@bigbinary/neeto-commons-frontend 2.0.21 → 2.0.22
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/README.md +1 -1
- package/package.json +2 -2
- package/react-utils.cjs.js +479 -473
- package/react-utils.d.ts +1 -0
- package/react-utils.js +479 -473
package/react-utils.js
CHANGED
|
@@ -1290,6 +1290,7 @@ var platform = platform$1.exports;
|
|
|
1290
1290
|
|
|
1291
1291
|
var DEFAULT_MINIMUM_SUPPORTED_BROWSER_VERSIONS = {
|
|
1292
1292
|
Chrome: 79,
|
|
1293
|
+
MicrosoftEdge: 104,
|
|
1293
1294
|
Firefox: 91,
|
|
1294
1295
|
IE: 11,
|
|
1295
1296
|
Opera: 73,
|
|
@@ -1303,6 +1304,7 @@ var DEFAULT_MINIMUM_SUPPORTED_BROWSER_VERSIONS = {
|
|
|
1303
1304
|
};
|
|
1304
1305
|
var BROWSER_UPGRADE_PAGE_LINKS = {
|
|
1305
1306
|
Chrome: "https://www.google.com/chrome/update",
|
|
1307
|
+
MicrosoftEdge: "https://support.microsoft.com/en-us/topic/microsoft-edge-update-settings-af8aaca2-1b69-4870-94fe-18822dbb7ef1#:~:text=Update%20once,Download%20and%20install%20to%20proceed",
|
|
1306
1308
|
Firefox: "https://support.mozilla.org/en-US/kb/update-firefox-latest-release",
|
|
1307
1309
|
IE: "https://support.microsoft.com/en-us/topic/microsoft-edge-update-settings-af8aaca2-1b69-4870-94fe-18822dbb7ef1#:~:text=Update%20once,Download%20and%20install%20to%20proceed",
|
|
1308
1310
|
Opera: "https://help.opera.com/en/latest/crashes-and-issues/#updateBrowser",
|
|
@@ -1324,65 +1326,16 @@ var ContactUs = function ContactUs() {
|
|
|
1324
1326
|
label: t("neetoCommons.browserSupport.contactUs.buttonLabel"),
|
|
1325
1327
|
style: "link",
|
|
1326
1328
|
onClick: function onClick() {
|
|
1327
|
-
var _window, _window$NeetoChat;
|
|
1329
|
+
var _window, _window$NeetoChat, _window2, _window2$NeetoChat;
|
|
1328
1330
|
|
|
1329
|
-
|
|
1331
|
+
(_window = window) === null || _window === void 0 ? void 0 : (_window$NeetoChat = _window.NeetoChat) === null || _window$NeetoChat === void 0 ? void 0 : _window$NeetoChat.contextualHelp.openWidget();
|
|
1332
|
+
(_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$NeetoChat = _window2.NeetoChat) === null || _window2$NeetoChat === void 0 ? void 0 : _window2$NeetoChat.contextualHelp.maximizeWidget();
|
|
1330
1333
|
}
|
|
1331
1334
|
})
|
|
1332
1335
|
}
|
|
1333
1336
|
});
|
|
1334
1337
|
};
|
|
1335
1338
|
|
|
1336
|
-
var UnsupportedBrowser = function UnsupportedBrowser(_ref) {
|
|
1337
|
-
var browserName = _ref.browserName,
|
|
1338
|
-
browserVersion = _ref.browserVersion;
|
|
1339
|
-
return /*#__PURE__*/React__default$1.createElement(Trans, {
|
|
1340
|
-
i18nKey: "neetoCommons.browserSupport.unsupportedBrowser",
|
|
1341
|
-
components: {
|
|
1342
|
-
contactUs: /*#__PURE__*/React__default$1.createElement(ContactUs, null)
|
|
1343
|
-
},
|
|
1344
|
-
values: {
|
|
1345
|
-
browserName: browserName,
|
|
1346
|
-
browserVersion: browserVersion
|
|
1347
|
-
}
|
|
1348
|
-
});
|
|
1349
|
-
};
|
|
1350
|
-
|
|
1351
|
-
var DownloadLink = function DownloadLink(_ref) {
|
|
1352
|
-
var link = _ref.link;
|
|
1353
|
-
return /*#__PURE__*/React__default$1.createElement(Trans, {
|
|
1354
|
-
i18nKey: "neetoCommons.browserSupport.downloadLink.main",
|
|
1355
|
-
components: {
|
|
1356
|
-
button: /*#__PURE__*/React__default$1.createElement(Button, {
|
|
1357
|
-
label: t("neetoCommons.browserSupport.downloadLink.buttonLabel"),
|
|
1358
|
-
style: "link",
|
|
1359
|
-
href: link
|
|
1360
|
-
})
|
|
1361
|
-
}
|
|
1362
|
-
});
|
|
1363
|
-
};
|
|
1364
|
-
|
|
1365
|
-
var UnsupportedBrowserVersion = function UnsupportedBrowserVersion(_ref) {
|
|
1366
|
-
var browserName = _ref.browserName,
|
|
1367
|
-
browserVersion = _ref.browserVersion,
|
|
1368
|
-
requiredMinBrowserVersion = _ref.requiredMinBrowserVersion,
|
|
1369
|
-
downloadPageLink = _ref.downloadPageLink;
|
|
1370
|
-
return /*#__PURE__*/React__default$1.createElement(Trans, {
|
|
1371
|
-
i18nKey: "neetoCommons.browserSupport.unsupportedBrowserVersion",
|
|
1372
|
-
components: {
|
|
1373
|
-
downloadLink: /*#__PURE__*/React__default$1.createElement(DownloadLink, {
|
|
1374
|
-
link: downloadPageLink
|
|
1375
|
-
}),
|
|
1376
|
-
contactUs: /*#__PURE__*/React__default$1.createElement(ContactUs, null)
|
|
1377
|
-
},
|
|
1378
|
-
values: {
|
|
1379
|
-
browserName: browserName,
|
|
1380
|
-
browserVersion: browserVersion,
|
|
1381
|
-
requiredMinBrowserVersion: requiredMinBrowserVersion
|
|
1382
|
-
}
|
|
1383
|
-
});
|
|
1384
|
-
};
|
|
1385
|
-
|
|
1386
1339
|
function _arrayWithHoles(arr) {
|
|
1387
1340
|
if (Array.isArray(arr)) return arr;
|
|
1388
1341
|
}
|
|
@@ -1467,6 +1420,59 @@ var buildDownloadPageLink = function buildDownloadPageLink(browserName) {
|
|
|
1467
1420
|
var isBrowserNameInTheSupportedList = function isBrowserNameInTheSupportedList(browserName, supportedBrowserVersionsMap) {
|
|
1468
1421
|
return !!supportedBrowserVersionsMap[convertToPlatformBrowserName(browserName)];
|
|
1469
1422
|
};
|
|
1423
|
+
var getBrowserMajorVersion = function getBrowserMajorVersion(browserVersion) {
|
|
1424
|
+
return String(browserVersion).split(".")[0];
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
var UnsupportedBrowser = function UnsupportedBrowser(_ref) {
|
|
1428
|
+
var browserName = _ref.browserName,
|
|
1429
|
+
browserVersion = _ref.browserVersion;
|
|
1430
|
+
return /*#__PURE__*/React__default$1.createElement(Trans, {
|
|
1431
|
+
i18nKey: "neetoCommons.browserSupport.unsupportedBrowser",
|
|
1432
|
+
components: {
|
|
1433
|
+
contactUs: /*#__PURE__*/React__default$1.createElement(ContactUs, null)
|
|
1434
|
+
},
|
|
1435
|
+
values: {
|
|
1436
|
+
browserName: browserName,
|
|
1437
|
+
browserVersion: getBrowserMajorVersion(browserVersion)
|
|
1438
|
+
}
|
|
1439
|
+
});
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
var DownloadLink = function DownloadLink(_ref) {
|
|
1443
|
+
var link = _ref.link;
|
|
1444
|
+
return /*#__PURE__*/React__default$1.createElement(Trans, {
|
|
1445
|
+
i18nKey: "neetoCommons.browserSupport.downloadLink.main",
|
|
1446
|
+
components: {
|
|
1447
|
+
button: /*#__PURE__*/React__default$1.createElement(Button, {
|
|
1448
|
+
label: t("neetoCommons.browserSupport.downloadLink.buttonLabel"),
|
|
1449
|
+
style: "link",
|
|
1450
|
+
href: link
|
|
1451
|
+
})
|
|
1452
|
+
}
|
|
1453
|
+
});
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
var UnsupportedBrowserVersion = function UnsupportedBrowserVersion(_ref) {
|
|
1457
|
+
var browserName = _ref.browserName,
|
|
1458
|
+
browserVersion = _ref.browserVersion,
|
|
1459
|
+
requiredMinBrowserVersion = _ref.requiredMinBrowserVersion,
|
|
1460
|
+
downloadPageLink = _ref.downloadPageLink;
|
|
1461
|
+
return /*#__PURE__*/React__default$1.createElement(Trans, {
|
|
1462
|
+
i18nKey: "neetoCommons.browserSupport.unsupportedBrowserVersion",
|
|
1463
|
+
components: {
|
|
1464
|
+
downloadLink: /*#__PURE__*/React__default$1.createElement(DownloadLink, {
|
|
1465
|
+
link: downloadPageLink
|
|
1466
|
+
}),
|
|
1467
|
+
contactUs: /*#__PURE__*/React__default$1.createElement(ContactUs, null)
|
|
1468
|
+
},
|
|
1469
|
+
values: {
|
|
1470
|
+
browserName: browserName,
|
|
1471
|
+
browserVersion: getBrowserMajorVersion(browserVersion),
|
|
1472
|
+
requiredMinBrowserVersion: getBrowserMajorVersion(requiredMinBrowserVersion)
|
|
1473
|
+
}
|
|
1474
|
+
});
|
|
1475
|
+
};
|
|
1470
1476
|
|
|
1471
1477
|
var BrowserSupport = function BrowserSupport(_ref) {
|
|
1472
1478
|
var _ref$overrides = _ref.overrides,
|
|
@@ -11890,11 +11896,11 @@ function requireXml () {
|
|
|
11890
11896
|
* */
|
|
11891
11897
|
|
|
11892
11898
|
var asciidoc_1$1;
|
|
11893
|
-
var hasRequiredAsciidoc;
|
|
11899
|
+
var hasRequiredAsciidoc$1;
|
|
11894
11900
|
|
|
11895
|
-
function requireAsciidoc () {
|
|
11896
|
-
if (hasRequiredAsciidoc) return asciidoc_1$1;
|
|
11897
|
-
hasRequiredAsciidoc = 1;
|
|
11901
|
+
function requireAsciidoc$1 () {
|
|
11902
|
+
if (hasRequiredAsciidoc$1) return asciidoc_1$1;
|
|
11903
|
+
hasRequiredAsciidoc$1 = 1;
|
|
11898
11904
|
/**
|
|
11899
11905
|
* @param {RegExp | string } re
|
|
11900
11906
|
* @returns {string}
|
|
@@ -53771,7 +53777,7 @@ low.registerLanguage('arcade', requireArcade());
|
|
|
53771
53777
|
low.registerLanguage('arduino', requireArduino());
|
|
53772
53778
|
low.registerLanguage('armasm', requireArmasm());
|
|
53773
53779
|
low.registerLanguage('xml', requireXml());
|
|
53774
|
-
low.registerLanguage('asciidoc', requireAsciidoc());
|
|
53780
|
+
low.registerLanguage('asciidoc', requireAsciidoc$1());
|
|
53775
53781
|
low.registerLanguage('aspectj', requireAspectj());
|
|
53776
53782
|
low.registerLanguage(
|
|
53777
53783
|
'autohotkey',
|
|
@@ -54742,7 +54748,7 @@ var languageLoaders$1 = {
|
|
|
54742
54748
|
return Promise.resolve().then(function () { return armasm; });
|
|
54743
54749
|
}),
|
|
54744
54750
|
asciidoc: createLanguageAsyncLoader("asciidoc", function () {
|
|
54745
|
-
return Promise.resolve().then(function () { return asciidoc; });
|
|
54751
|
+
return Promise.resolve().then(function () { return asciidoc$1; });
|
|
54746
54752
|
}),
|
|
54747
54753
|
aspectj: createLanguageAsyncLoader("aspectj", function () {
|
|
54748
54754
|
return Promise.resolve().then(function () { return aspectj; });
|
|
@@ -55346,7 +55352,7 @@ var languageLoaders = {
|
|
|
55346
55352
|
return Promise.resolve().then(function () { return arff$1; });
|
|
55347
55353
|
}),
|
|
55348
55354
|
asciidoc: createLanguageAsyncLoader("asciidoc", function () {
|
|
55349
|
-
return Promise.resolve().then(function () { return asciidoc
|
|
55355
|
+
return Promise.resolve().then(function () { return asciidoc; });
|
|
55350
55356
|
}),
|
|
55351
55357
|
asm6502: createLanguageAsyncLoader("asm6502", function () {
|
|
55352
55358
|
return Promise.resolve().then(function () { return asm6502$1; });
|
|
@@ -55364,7 +55370,7 @@ var languageLoaders = {
|
|
|
55364
55370
|
return Promise.resolve().then(function () { return autoit$2; });
|
|
55365
55371
|
}),
|
|
55366
55372
|
avisynth: createLanguageAsyncLoader("avisynth", function () {
|
|
55367
|
-
return Promise.resolve().then(function () { return avisynth; });
|
|
55373
|
+
return Promise.resolve().then(function () { return avisynth$1; });
|
|
55368
55374
|
}),
|
|
55369
55375
|
avroIdl: createLanguageAsyncLoader("avroIdl", function () {
|
|
55370
55376
|
return Promise.resolve().then(function () { return avroIdl; });
|
|
@@ -65549,238 +65555,242 @@ var arff$1 = /*#__PURE__*/_mergeNamespaces({
|
|
|
65549
65555
|
'default': arff_1
|
|
65550
65556
|
}, [arff_1]);
|
|
65551
65557
|
|
|
65552
|
-
var asciidoc_1
|
|
65553
|
-
|
|
65554
|
-
|
|
65555
|
-
function
|
|
65558
|
+
var asciidoc_1;
|
|
65559
|
+
var hasRequiredAsciidoc;
|
|
65560
|
+
|
|
65561
|
+
function requireAsciidoc () {
|
|
65562
|
+
if (hasRequiredAsciidoc) return asciidoc_1;
|
|
65563
|
+
hasRequiredAsciidoc = 1;
|
|
65564
|
+
|
|
65565
|
+
asciidoc_1 = asciidoc;
|
|
65566
|
+
asciidoc.displayName = 'asciidoc';
|
|
65567
|
+
asciidoc.aliases = ['adoc'];
|
|
65568
|
+
function asciidoc(Prism) {
|
|
65556
65569
|
(function (Prism) {
|
|
65557
|
-
|
|
65558
|
-
|
|
65559
|
-
|
|
65560
|
-
|
|
65561
|
-
|
|
65562
|
-
|
|
65563
|
-
|
|
65564
|
-
|
|
65565
|
-
|
|
65566
|
-
|
|
65567
|
-
|
|
65568
|
-
|
|
65569
|
-
|
|
65570
|
-
|
|
65571
|
-
|
|
65572
|
-
|
|
65573
|
-
|
|
65574
|
-
|
|
65575
|
-
|
|
65576
|
-
|
|
65577
|
-
|
|
65578
|
-
|
|
65579
|
-
|
|
65580
|
-
|
|
65581
|
-
|
|
65582
|
-
|
|
65583
|
-
|
|
65584
|
-
|
|
65585
|
-
|
|
65586
|
-
|
|
65587
|
-
|
|
65588
|
-
|
|
65589
|
-
|
|
65590
|
-
|
|
65591
|
-
|
|
65592
|
-
|
|
65593
|
-
|
|
65594
|
-
|
|
65595
|
-
|
|
65596
|
-
|
|
65597
|
-
|
|
65598
|
-
|
|
65599
|
-
|
|
65600
|
-
|
|
65601
|
-
|
|
65602
|
-
|
|
65603
|
-
|
|
65604
|
-
|
|
65605
|
-
|
|
65606
|
-
|
|
65607
|
-
|
|
65608
|
-
|
|
65609
|
-
|
|
65610
|
-
|
|
65611
|
-
|
|
65612
|
-
|
|
65613
|
-
|
|
65614
|
-
|
|
65615
|
-
|
|
65616
|
-
|
|
65617
|
-
|
|
65618
|
-
|
|
65619
|
-
|
|
65620
|
-
|
|
65621
|
-
|
|
65622
|
-
|
|
65623
|
-
|
|
65624
|
-
|
|
65625
|
-
|
|
65626
|
-
|
|
65627
|
-
|
|
65628
|
-
|
|
65629
|
-
|
|
65630
|
-
|
|
65631
|
-
|
|
65632
|
-
|
|
65633
|
-
|
|
65634
|
-
|
|
65635
|
-
|
|
65636
|
-
|
|
65637
|
-
|
|
65638
|
-
|
|
65639
|
-
|
|
65640
|
-
|
|
65641
|
-
|
|
65642
|
-
|
|
65643
|
-
|
|
65644
|
-
|
|
65645
|
-
|
|
65646
|
-
|
|
65647
|
-
|
|
65648
|
-
|
|
65649
|
-
|
|
65650
|
-
|
|
65651
|
-
|
|
65652
|
-
|
|
65653
|
-
|
|
65654
|
-
|
|
65655
|
-
|
|
65656
|
-
|
|
65657
|
-
|
|
65658
|
-
|
|
65659
|
-
|
|
65660
|
-
|
|
65661
|
-
|
|
65662
|
-
|
|
65663
|
-
|
|
65664
|
-
|
|
65665
|
-
|
|
65666
|
-
|
|
65667
|
-
|
|
65668
|
-
|
|
65669
|
-
|
|
65670
|
-
|
|
65671
|
-
|
|
65672
|
-
|
|
65673
|
-
|
|
65674
|
-
|
|
65675
|
-
|
|
65676
|
-
|
|
65677
|
-
|
|
65678
|
-
|
|
65679
|
-
|
|
65680
|
-
|
|
65681
|
-
|
|
65682
|
-
|
|
65683
|
-
|
|
65684
|
-
|
|
65685
|
-
|
|
65686
|
-
|
|
65687
|
-
|
|
65688
|
-
|
|
65689
|
-
The initial look-behind prevents the highlighting of escaped quoted text.
|
|
65690
|
-
Quoted text can be multi-line but cannot span an empty line.
|
|
65691
|
-
All quoted text can have attributes before [foobar, 'foobar', baz="bar"].
|
|
65692
|
-
First, we handle the constrained quotes.
|
|
65693
|
-
Those must be bounded by non-word chars and cannot have spaces between the delimiter and the first char.
|
|
65694
|
-
They are, in order: _emphasis_, ``double quotes'', `single quotes', `monospace`, 'emphasis', *strong*, +monospace+ and #unquoted#
|
|
65695
|
-
Then we handle the unconstrained quotes.
|
|
65696
|
-
Those do not have the restrictions of the constrained quotes.
|
|
65697
|
-
They are, in order: __emphasis__, **strong**, ++monospace++, +++passthrough+++, ##unquoted##, $$passthrough$$, ~subscript~, ^superscript^, {attribute-reference}, [[anchor]], [[[bibliography anchor]]], <<xref>>, (((indexes))) and ((indexes))
|
|
65698
|
-
*/
|
|
65699
|
-
|
|
65700
|
-
|
|
65701
|
-
|
|
65702
|
-
|
|
65703
|
-
|
|
65704
|
-
|
|
65705
|
-
|
|
65706
|
-
|
|
65707
|
-
|
|
65708
|
-
|
|
65709
|
-
|
|
65710
|
-
|
|
65711
|
-
|
|
65712
|
-
|
|
65713
|
-
|
|
65714
|
-
|
|
65715
|
-
|
|
65716
|
-
|
|
65717
|
-
|
|
65718
|
-
|
|
65719
|
-
|
|
65720
|
-
|
|
65721
|
-
|
|
65722
|
-
|
|
65723
|
-
|
|
65724
|
-
|
|
65725
|
-
|
|
65726
|
-
|
|
65727
|
-
|
|
65728
|
-
|
|
65729
|
-
|
|
65730
|
-
|
|
65731
|
-
|
|
65732
|
-
|
|
65733
|
-
|
|
65734
|
-
|
|
65735
|
-
|
|
65736
|
-
|
|
65737
|
-
|
|
65738
|
-
|
|
65739
|
-
|
|
65740
|
-
|
|
65741
|
-
|
|
65742
|
-
|
|
65743
|
-
|
|
65744
|
-
|
|
65745
|
-
|
|
65746
|
-
|
|
65747
|
-
|
|
65748
|
-
|
|
65749
|
-
|
|
65750
|
-
|
|
65751
|
-
|
|
65752
|
-
|
|
65753
|
-
|
|
65754
|
-
|
|
65755
|
-
|
|
65756
|
-
|
|
65757
|
-
|
|
65758
|
-
|
|
65759
|
-
|
|
65760
|
-
|
|
65761
|
-
|
|
65762
|
-
|
|
65763
|
-
|
|
65764
|
-
|
|
65765
|
-
|
|
65766
|
-
|
|
65767
|
-
|
|
65768
|
-
|
|
65769
|
-
|
|
65770
|
-
|
|
65771
|
-
|
|
65772
|
-
|
|
65773
|
-
|
|
65774
|
-
|
|
65775
|
-
|
|
65776
|
-
|
|
65570
|
+
var attributes = {
|
|
65571
|
+
pattern:
|
|
65572
|
+
/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,
|
|
65573
|
+
lookbehind: true,
|
|
65574
|
+
inside: {
|
|
65575
|
+
quoted: {
|
|
65576
|
+
pattern: /([$`])(?:(?!\1)[^\\]|\\.)*\1/,
|
|
65577
|
+
inside: {
|
|
65578
|
+
punctuation: /^[$`]|[$`]$/
|
|
65579
|
+
}
|
|
65580
|
+
},
|
|
65581
|
+
interpreted: {
|
|
65582
|
+
pattern: /'(?:[^'\\]|\\.)*'/,
|
|
65583
|
+
inside: {
|
|
65584
|
+
punctuation: /^'|'$/ // See rest below
|
|
65585
|
+
}
|
|
65586
|
+
},
|
|
65587
|
+
string: /"(?:[^"\\]|\\.)*"/,
|
|
65588
|
+
variable: /\w+(?==)/,
|
|
65589
|
+
punctuation: /^\[|\]$|,/,
|
|
65590
|
+
operator: /=/,
|
|
65591
|
+
// The negative look-ahead prevents blank matches
|
|
65592
|
+
'attr-value': /(?!^\s+$).+/
|
|
65593
|
+
}
|
|
65594
|
+
};
|
|
65595
|
+
var asciidoc = (Prism.languages.asciidoc = {
|
|
65596
|
+
'comment-block': {
|
|
65597
|
+
pattern: /^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,
|
|
65598
|
+
alias: 'comment'
|
|
65599
|
+
},
|
|
65600
|
+
table: {
|
|
65601
|
+
pattern: /^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,
|
|
65602
|
+
inside: {
|
|
65603
|
+
specifiers: {
|
|
65604
|
+
pattern:
|
|
65605
|
+
/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,
|
|
65606
|
+
alias: 'attr-value'
|
|
65607
|
+
},
|
|
65608
|
+
punctuation: {
|
|
65609
|
+
pattern: /(^|[^\\])[|!]=*/,
|
|
65610
|
+
lookbehind: true
|
|
65611
|
+
} // See rest below
|
|
65612
|
+
}
|
|
65613
|
+
},
|
|
65614
|
+
'passthrough-block': {
|
|
65615
|
+
pattern: /^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
|
|
65616
|
+
inside: {
|
|
65617
|
+
punctuation: /^\++|\++$/ // See rest below
|
|
65618
|
+
}
|
|
65619
|
+
},
|
|
65620
|
+
// Literal blocks and listing blocks
|
|
65621
|
+
'literal-block': {
|
|
65622
|
+
pattern: /^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
|
|
65623
|
+
inside: {
|
|
65624
|
+
punctuation: /^(?:-+|\.+)|(?:-+|\.+)$/ // See rest below
|
|
65625
|
+
}
|
|
65626
|
+
},
|
|
65627
|
+
// Sidebar blocks, quote blocks, example blocks and open blocks
|
|
65628
|
+
'other-block': {
|
|
65629
|
+
pattern:
|
|
65630
|
+
/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,
|
|
65631
|
+
inside: {
|
|
65632
|
+
punctuation: /^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/ // See rest below
|
|
65633
|
+
}
|
|
65634
|
+
},
|
|
65635
|
+
// list-punctuation and list-label must appear before indented-block
|
|
65636
|
+
'list-punctuation': {
|
|
65637
|
+
pattern:
|
|
65638
|
+
/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,
|
|
65639
|
+
lookbehind: true,
|
|
65640
|
+
alias: 'punctuation'
|
|
65641
|
+
},
|
|
65642
|
+
'list-label': {
|
|
65643
|
+
pattern: /(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,
|
|
65644
|
+
lookbehind: true,
|
|
65645
|
+
alias: 'symbol'
|
|
65646
|
+
},
|
|
65647
|
+
'indented-block': {
|
|
65648
|
+
pattern: /((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,
|
|
65649
|
+
lookbehind: true
|
|
65650
|
+
},
|
|
65651
|
+
comment: /^\/\/.*/m,
|
|
65652
|
+
title: {
|
|
65653
|
+
pattern:
|
|
65654
|
+
/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,
|
|
65655
|
+
alias: 'important',
|
|
65656
|
+
inside: {
|
|
65657
|
+
punctuation: /^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/ // See rest below
|
|
65658
|
+
}
|
|
65659
|
+
},
|
|
65660
|
+
'attribute-entry': {
|
|
65661
|
+
pattern: /^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,
|
|
65662
|
+
alias: 'tag'
|
|
65663
|
+
},
|
|
65664
|
+
attributes: attributes,
|
|
65665
|
+
hr: {
|
|
65666
|
+
pattern: /^'{3,}$/m,
|
|
65667
|
+
alias: 'punctuation'
|
|
65668
|
+
},
|
|
65669
|
+
'page-break': {
|
|
65670
|
+
pattern: /^<{3,}$/m,
|
|
65671
|
+
alias: 'punctuation'
|
|
65672
|
+
},
|
|
65673
|
+
admonition: {
|
|
65674
|
+
pattern: /^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,
|
|
65675
|
+
alias: 'keyword'
|
|
65676
|
+
},
|
|
65677
|
+
callout: [
|
|
65678
|
+
{
|
|
65679
|
+
pattern: /(^[ \t]*)<?\d*>/m,
|
|
65680
|
+
lookbehind: true,
|
|
65681
|
+
alias: 'symbol'
|
|
65682
|
+
},
|
|
65683
|
+
{
|
|
65684
|
+
pattern: /<\d+>/,
|
|
65685
|
+
alias: 'symbol'
|
|
65686
|
+
}
|
|
65687
|
+
],
|
|
65688
|
+
macro: {
|
|
65689
|
+
pattern:
|
|
65690
|
+
/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
|
|
65691
|
+
inside: {
|
|
65692
|
+
function: /^[a-z\d-]+(?=:)/,
|
|
65693
|
+
punctuation: /^::?/,
|
|
65694
|
+
attributes: {
|
|
65695
|
+
pattern: /(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,
|
|
65696
|
+
inside: attributes.inside
|
|
65697
|
+
}
|
|
65698
|
+
}
|
|
65699
|
+
},
|
|
65700
|
+
inline: {
|
|
65701
|
+
/*
|
|
65702
|
+
The initial look-behind prevents the highlighting of escaped quoted text.
|
|
65703
|
+
Quoted text can be multi-line but cannot span an empty line.
|
|
65704
|
+
All quoted text can have attributes before [foobar, 'foobar', baz="bar"].
|
|
65705
|
+
First, we handle the constrained quotes.
|
|
65706
|
+
Those must be bounded by non-word chars and cannot have spaces between the delimiter and the first char.
|
|
65707
|
+
They are, in order: _emphasis_, ``double quotes'', `single quotes', `monospace`, 'emphasis', *strong*, +monospace+ and #unquoted#
|
|
65708
|
+
Then we handle the unconstrained quotes.
|
|
65709
|
+
Those do not have the restrictions of the constrained quotes.
|
|
65710
|
+
They are, in order: __emphasis__, **strong**, ++monospace++, +++passthrough+++, ##unquoted##, $$passthrough$$, ~subscript~, ^superscript^, {attribute-reference}, [[anchor]], [[[bibliography anchor]]], <<xref>>, (((indexes))) and ((indexes))
|
|
65711
|
+
*/
|
|
65712
|
+
pattern:
|
|
65713
|
+
/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,
|
|
65714
|
+
lookbehind: true,
|
|
65715
|
+
inside: {
|
|
65716
|
+
attributes: attributes,
|
|
65717
|
+
url: {
|
|
65718
|
+
pattern: /^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,
|
|
65719
|
+
inside: {
|
|
65720
|
+
punctuation: /^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/
|
|
65721
|
+
}
|
|
65722
|
+
},
|
|
65723
|
+
'attribute-ref': {
|
|
65724
|
+
pattern: /^\{.+\}$/,
|
|
65725
|
+
inside: {
|
|
65726
|
+
variable: {
|
|
65727
|
+
pattern: /(^\{)[a-z\d,+_-]+/,
|
|
65728
|
+
lookbehind: true
|
|
65729
|
+
},
|
|
65730
|
+
operator: /^[=?!#%@$]|!(?=[:}])/,
|
|
65731
|
+
punctuation: /^\{|\}$|::?/
|
|
65732
|
+
}
|
|
65733
|
+
},
|
|
65734
|
+
italic: {
|
|
65735
|
+
pattern: /^(['_])[\s\S]+\1$/,
|
|
65736
|
+
inside: {
|
|
65737
|
+
punctuation: /^(?:''?|__?)|(?:''?|__?)$/
|
|
65738
|
+
}
|
|
65739
|
+
},
|
|
65740
|
+
bold: {
|
|
65741
|
+
pattern: /^\*[\s\S]+\*$/,
|
|
65742
|
+
inside: {
|
|
65743
|
+
punctuation: /^\*\*?|\*\*?$/
|
|
65744
|
+
}
|
|
65745
|
+
},
|
|
65746
|
+
punctuation:
|
|
65747
|
+
/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/
|
|
65748
|
+
}
|
|
65749
|
+
},
|
|
65750
|
+
replacement: {
|
|
65751
|
+
pattern: /\((?:C|R|TM)\)/,
|
|
65752
|
+
alias: 'builtin'
|
|
65753
|
+
},
|
|
65754
|
+
entity: /&#?[\da-z]{1,8};/i,
|
|
65755
|
+
'line-continuation': {
|
|
65756
|
+
pattern: /(^| )\+$/m,
|
|
65757
|
+
lookbehind: true,
|
|
65758
|
+
alias: 'punctuation'
|
|
65759
|
+
}
|
|
65760
|
+
}); // Allow some nesting. There is no recursion though, so cloning should not be needed.
|
|
65761
|
+
function copyFromAsciiDoc(keys) {
|
|
65762
|
+
keys = keys.split(' ');
|
|
65763
|
+
var o = {};
|
|
65764
|
+
for (var i = 0, l = keys.length; i < l; i++) {
|
|
65765
|
+
o[keys[i]] = asciidoc[keys[i]];
|
|
65766
|
+
}
|
|
65767
|
+
return o
|
|
65768
|
+
}
|
|
65769
|
+
attributes.inside['interpreted'].inside.rest = copyFromAsciiDoc(
|
|
65770
|
+
'macro inline replacement entity'
|
|
65771
|
+
);
|
|
65772
|
+
asciidoc['passthrough-block'].inside.rest = copyFromAsciiDoc('macro');
|
|
65773
|
+
asciidoc['literal-block'].inside.rest = copyFromAsciiDoc('callout');
|
|
65774
|
+
asciidoc['table'].inside.rest = copyFromAsciiDoc(
|
|
65775
|
+
'comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation'
|
|
65776
|
+
);
|
|
65777
|
+
asciidoc['other-block'].inside.rest = copyFromAsciiDoc(
|
|
65778
|
+
'table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation'
|
|
65779
|
+
);
|
|
65780
|
+
asciidoc['title'].inside.rest = copyFromAsciiDoc(
|
|
65781
|
+
'macro inline replacement entity'
|
|
65782
|
+
); // Plugin to make entity title show the real entity, idea by Roman Komarov
|
|
65783
|
+
Prism.hooks.add('wrap', function (env) {
|
|
65784
|
+
if (env.type === 'entity') {
|
|
65785
|
+
env.attributes['title'] = env.content.value.replace(/&/, '&');
|
|
65786
|
+
}
|
|
65787
|
+
});
|
|
65788
|
+
Prism.languages.adoc = Prism.languages.asciidoc;
|
|
65789
|
+
})(Prism);
|
|
65790
|
+
}
|
|
65791
|
+
return asciidoc_1;
|
|
65777
65792
|
}
|
|
65778
65793
|
|
|
65779
|
-
var asciidoc$2 = /*#__PURE__*/_mergeNamespaces({
|
|
65780
|
-
__proto__: null,
|
|
65781
|
-
'default': asciidoc_1
|
|
65782
|
-
}, [asciidoc_1]);
|
|
65783
|
-
|
|
65784
65794
|
var asm6502_1 = asm6502;
|
|
65785
65795
|
asm6502.displayName = 'asm6502';
|
|
65786
65796
|
asm6502.aliases = [];
|
|
@@ -66512,183 +66522,179 @@ var autoit$2 = /*#__PURE__*/_mergeNamespaces({
|
|
|
66512
66522
|
'default': autoit_1
|
|
66513
66523
|
}, [autoit_1]);
|
|
66514
66524
|
|
|
66515
|
-
var avisynth_1;
|
|
66516
|
-
|
|
66517
|
-
|
|
66518
|
-
function
|
|
66519
|
-
if (hasRequiredAvisynth) return avisynth_1;
|
|
66520
|
-
hasRequiredAvisynth = 1;
|
|
66521
|
-
|
|
66522
|
-
avisynth_1 = avisynth;
|
|
66523
|
-
avisynth.displayName = 'avisynth';
|
|
66524
|
-
avisynth.aliases = ['avs'];
|
|
66525
|
-
function avisynth(Prism) {
|
|
66525
|
+
var avisynth_1 = avisynth;
|
|
66526
|
+
avisynth.displayName = 'avisynth';
|
|
66527
|
+
avisynth.aliases = ['avs'];
|
|
66528
|
+
function avisynth(Prism) {
|
|
66526
66529
|
(function (Prism) {
|
|
66527
|
-
|
|
66528
|
-
|
|
66529
|
-
|
|
66530
|
-
|
|
66531
|
-
|
|
66532
|
-
|
|
66533
|
-
|
|
66534
|
-
|
|
66535
|
-
|
|
66536
|
-
|
|
66537
|
-
|
|
66538
|
-
|
|
66539
|
-
|
|
66540
|
-
|
|
66541
|
-
|
|
66542
|
-
|
|
66543
|
-
|
|
66544
|
-
|
|
66545
|
-
|
|
66546
|
-
|
|
66547
|
-
|
|
66548
|
-
|
|
66549
|
-
|
|
66550
|
-
|
|
66551
|
-
|
|
66552
|
-
|
|
66553
|
-
|
|
66554
|
-
|
|
66555
|
-
|
|
66556
|
-
|
|
66557
|
-
|
|
66558
|
-
|
|
66559
|
-
|
|
66560
|
-
|
|
66561
|
-
|
|
66562
|
-
|
|
66563
|
-
|
|
66564
|
-
|
|
66565
|
-
|
|
66566
|
-
|
|
66567
|
-
|
|
66568
|
-
|
|
66569
|
-
|
|
66570
|
-
|
|
66571
|
-
|
|
66572
|
-
|
|
66573
|
-
|
|
66574
|
-
|
|
66575
|
-
|
|
66576
|
-
|
|
66577
|
-
|
|
66578
|
-
|
|
66579
|
-
|
|
66580
|
-
|
|
66581
|
-
|
|
66582
|
-
|
|
66583
|
-
|
|
66584
|
-
|
|
66585
|
-
|
|
66586
|
-
|
|
66587
|
-
|
|
66588
|
-
|
|
66589
|
-
|
|
66590
|
-
|
|
66591
|
-
|
|
66592
|
-
|
|
66593
|
-
|
|
66594
|
-
|
|
66595
|
-
|
|
66596
|
-
|
|
66597
|
-
|
|
66598
|
-
|
|
66599
|
-
|
|
66600
|
-
|
|
66601
|
-
|
|
66602
|
-
|
|
66603
|
-
|
|
66604
|
-
|
|
66605
|
-
|
|
66606
|
-
|
|
66607
|
-
|
|
66608
|
-
|
|
66609
|
-
|
|
66610
|
-
|
|
66611
|
-
|
|
66612
|
-
|
|
66613
|
-
|
|
66614
|
-
|
|
66615
|
-
|
|
66616
|
-
|
|
66617
|
-
|
|
66618
|
-
|
|
66619
|
-
|
|
66620
|
-
|
|
66621
|
-
|
|
66622
|
-
|
|
66623
|
-
|
|
66624
|
-
|
|
66625
|
-
|
|
66626
|
-
|
|
66627
|
-
|
|
66628
|
-
|
|
66629
|
-
|
|
66630
|
-
|
|
66631
|
-
|
|
66632
|
-
|
|
66633
|
-
|
|
66634
|
-
|
|
66635
|
-
|
|
66636
|
-
|
|
66637
|
-
|
|
66638
|
-
|
|
66639
|
-
|
|
66640
|
-
|
|
66641
|
-
|
|
66642
|
-
|
|
66643
|
-
|
|
66644
|
-
|
|
66645
|
-
|
|
66646
|
-
|
|
66647
|
-
|
|
66648
|
-
|
|
66649
|
-
|
|
66650
|
-
|
|
66651
|
-
|
|
66652
|
-
|
|
66653
|
-
|
|
66654
|
-
|
|
66655
|
-
|
|
66656
|
-
|
|
66657
|
-
|
|
66658
|
-
|
|
66659
|
-
|
|
66660
|
-
|
|
66661
|
-
|
|
66662
|
-
|
|
66663
|
-
|
|
66664
|
-
|
|
66665
|
-
|
|
66666
|
-
|
|
66667
|
-
|
|
66668
|
-
|
|
66669
|
-
|
|
66670
|
-
|
|
66671
|
-
|
|
66672
|
-
|
|
66673
|
-
|
|
66674
|
-
|
|
66675
|
-
|
|
66676
|
-
|
|
66677
|
-
|
|
66678
|
-
|
|
66679
|
-
|
|
66680
|
-
|
|
66681
|
-
|
|
66682
|
-
|
|
66683
|
-
|
|
66684
|
-
|
|
66685
|
-
|
|
66686
|
-
|
|
66687
|
-
|
|
66688
|
-
}
|
|
66689
|
-
return avisynth_1;
|
|
66530
|
+
function replace(pattern, replacements) {
|
|
66531
|
+
return pattern.replace(/<<(\d+)>>/g, function (m, index) {
|
|
66532
|
+
return replacements[+index]
|
|
66533
|
+
})
|
|
66534
|
+
}
|
|
66535
|
+
function re(pattern, replacements, flags) {
|
|
66536
|
+
return RegExp(replace(pattern, replacements), flags || '')
|
|
66537
|
+
}
|
|
66538
|
+
var types = /bool|clip|float|int|string|val/.source;
|
|
66539
|
+
var internals = [
|
|
66540
|
+
// bools
|
|
66541
|
+
/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
|
|
66542
|
+
.source, // control
|
|
66543
|
+
/apply|assert|default|eval|import|nop|select|undefined/.source, // global
|
|
66544
|
+
/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
|
|
66545
|
+
.source, // conv
|
|
66546
|
+
/hex(?:value)?|value/.source, // numeric
|
|
66547
|
+
/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
|
|
66548
|
+
.source, // trig
|
|
66549
|
+
/a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
|
|
66550
|
+
/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/
|
|
66551
|
+
.source, // runtime
|
|
66552
|
+
/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
|
|
66553
|
+
.source, // script
|
|
66554
|
+
/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
|
|
66555
|
+
.source, // string
|
|
66556
|
+
/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
|
|
66557
|
+
.source, // version
|
|
66558
|
+
/isversionorgreater|version(?:number|string)/.source, // helper
|
|
66559
|
+
/buildpixeltype|colorspacenametopixeltype/.source, // avsplus
|
|
66560
|
+
/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
|
|
66561
|
+
].join('|');
|
|
66562
|
+
var properties = [
|
|
66563
|
+
// content
|
|
66564
|
+
/has(?:audio|video)/.source, // resolution
|
|
66565
|
+
/height|width/.source, // framerate
|
|
66566
|
+
/frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
|
|
66567
|
+
/getparity|is(?:field|frame)based/.source, // color format
|
|
66568
|
+
/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/
|
|
66569
|
+
.source, // audio
|
|
66570
|
+
/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
|
|
66571
|
+
.source
|
|
66572
|
+
].join('|');
|
|
66573
|
+
var filters = [
|
|
66574
|
+
// source
|
|
66575
|
+
/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
|
|
66576
|
+
.source, // color
|
|
66577
|
+
/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/
|
|
66578
|
+
.source, // overlay
|
|
66579
|
+
/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
|
|
66580
|
+
/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/
|
|
66581
|
+
.source, // pixel
|
|
66582
|
+
/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
|
|
66583
|
+
.source, // timeline
|
|
66584
|
+
/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/
|
|
66585
|
+
.source, // interlace
|
|
66586
|
+
/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
|
|
66587
|
+
.source, // audio
|
|
66588
|
+
/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/
|
|
66589
|
+
.source, // conditional
|
|
66590
|
+
/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
|
|
66591
|
+
.source, // export
|
|
66592
|
+
/imagewriter/.source, // debug
|
|
66593
|
+
/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
|
|
66594
|
+
.source
|
|
66595
|
+
].join('|');
|
|
66596
|
+
var allinternals = [internals, properties, filters].join('|');
|
|
66597
|
+
Prism.languages.avisynth = {
|
|
66598
|
+
comment: [
|
|
66599
|
+
{
|
|
66600
|
+
// Matches [* *] nestable block comments, but only supports 1 level of nested comments
|
|
66601
|
+
// /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
|
|
66602
|
+
pattern:
|
|
66603
|
+
/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
|
|
66604
|
+
lookbehind: true,
|
|
66605
|
+
greedy: true
|
|
66606
|
+
},
|
|
66607
|
+
{
|
|
66608
|
+
// Matches /* */ block comments
|
|
66609
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
66610
|
+
lookbehind: true,
|
|
66611
|
+
greedy: true
|
|
66612
|
+
},
|
|
66613
|
+
{
|
|
66614
|
+
// Matches # comments
|
|
66615
|
+
pattern: /(^|[^\\$])#.*/,
|
|
66616
|
+
lookbehind: true,
|
|
66617
|
+
greedy: true
|
|
66618
|
+
}
|
|
66619
|
+
],
|
|
66620
|
+
// Handle before strings because optional arguments are surrounded by double quotes
|
|
66621
|
+
argument: {
|
|
66622
|
+
pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
|
|
66623
|
+
inside: {
|
|
66624
|
+
keyword: /^\w+/
|
|
66625
|
+
}
|
|
66626
|
+
},
|
|
66627
|
+
// Optional argument assignment
|
|
66628
|
+
'argument-label': {
|
|
66629
|
+
pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
|
|
66630
|
+
lookbehind: true,
|
|
66631
|
+
inside: {
|
|
66632
|
+
'argument-name': {
|
|
66633
|
+
pattern: /^\w+/,
|
|
66634
|
+
alias: 'punctuation'
|
|
66635
|
+
},
|
|
66636
|
+
punctuation: /=$/
|
|
66637
|
+
}
|
|
66638
|
+
},
|
|
66639
|
+
string: [
|
|
66640
|
+
{
|
|
66641
|
+
// triple double-quoted
|
|
66642
|
+
pattern: /"""[\s\S]*?"""/,
|
|
66643
|
+
greedy: true
|
|
66644
|
+
},
|
|
66645
|
+
{
|
|
66646
|
+
// single double-quoted
|
|
66647
|
+
pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
66648
|
+
greedy: true,
|
|
66649
|
+
inside: {
|
|
66650
|
+
constant: {
|
|
66651
|
+
// These *are* case-sensitive!
|
|
66652
|
+
pattern:
|
|
66653
|
+
/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
|
|
66654
|
+
}
|
|
66655
|
+
}
|
|
66656
|
+
}
|
|
66657
|
+
],
|
|
66658
|
+
// The special "last" variable that takes the value of the last implicitly returned clip
|
|
66659
|
+
variable: /\b(?:last)\b/i,
|
|
66660
|
+
boolean: /\b(?:false|no|true|yes)\b/i,
|
|
66661
|
+
keyword:
|
|
66662
|
+
/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
|
|
66663
|
+
constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
|
|
66664
|
+
// AviSynth's internal functions, filters, and properties
|
|
66665
|
+
'builtin-function': {
|
|
66666
|
+
pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
|
|
66667
|
+
alias: 'function'
|
|
66668
|
+
},
|
|
66669
|
+
'type-cast': {
|
|
66670
|
+
pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
|
|
66671
|
+
alias: 'keyword'
|
|
66672
|
+
},
|
|
66673
|
+
// External/user-defined filters
|
|
66674
|
+
function: {
|
|
66675
|
+
pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
|
|
66676
|
+
lookbehind: true
|
|
66677
|
+
},
|
|
66678
|
+
// Matches a \ as the first or last character on a line
|
|
66679
|
+
'line-continuation': {
|
|
66680
|
+
pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
|
|
66681
|
+
lookbehind: true,
|
|
66682
|
+
alias: 'punctuation'
|
|
66683
|
+
},
|
|
66684
|
+
number:
|
|
66685
|
+
/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
|
|
66686
|
+
operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
|
|
66687
|
+
punctuation: /[{}\[\]();,.]/
|
|
66688
|
+
};
|
|
66689
|
+
Prism.languages.avs = Prism.languages.avisynth;
|
|
66690
|
+
})(Prism);
|
|
66690
66691
|
}
|
|
66691
66692
|
|
|
66693
|
+
var avisynth$1 = /*#__PURE__*/_mergeNamespaces({
|
|
66694
|
+
__proto__: null,
|
|
66695
|
+
'default': avisynth_1
|
|
66696
|
+
}, [avisynth_1]);
|
|
66697
|
+
|
|
66692
66698
|
var avroIdl_1;
|
|
66693
66699
|
var hasRequiredAvroIdl;
|
|
66694
66700
|
|
|
@@ -87927,13 +87933,13 @@ refractor.register(applescript_1);
|
|
|
87927
87933
|
refractor.register(aql_1);
|
|
87928
87934
|
refractor.register(arduino_1);
|
|
87929
87935
|
refractor.register(arff_1);
|
|
87930
|
-
refractor.register(
|
|
87936
|
+
refractor.register(requireAsciidoc());
|
|
87931
87937
|
refractor.register(asm6502_1);
|
|
87932
87938
|
refractor.register(asmatmel_1);
|
|
87933
87939
|
refractor.register(aspnet_1);
|
|
87934
87940
|
refractor.register(autohotkey_1);
|
|
87935
87941
|
refractor.register(autoit_1);
|
|
87936
|
-
refractor.register(
|
|
87942
|
+
refractor.register(avisynth_1);
|
|
87937
87943
|
refractor.register(requireAvroIdl());
|
|
87938
87944
|
refractor.register(requireBash());
|
|
87939
87945
|
refractor.register(requireBasic());
|
|
@@ -91535,12 +91541,12 @@ var armasm = /*#__PURE__*/_mergeNamespaces({
|
|
|
91535
91541
|
'default': armasmExports
|
|
91536
91542
|
}, [armasmExports]);
|
|
91537
91543
|
|
|
91538
|
-
var asciidocExports = requireAsciidoc();
|
|
91544
|
+
var asciidocExports$1 = requireAsciidoc$1();
|
|
91539
91545
|
|
|
91540
|
-
var asciidoc = /*#__PURE__*/_mergeNamespaces({
|
|
91546
|
+
var asciidoc$1 = /*#__PURE__*/_mergeNamespaces({
|
|
91541
91547
|
__proto__: null,
|
|
91542
|
-
'default': asciidocExports
|
|
91543
|
-
}, [asciidocExports]);
|
|
91548
|
+
'default': asciidocExports$1
|
|
91549
|
+
}, [asciidocExports$1]);
|
|
91544
91550
|
|
|
91545
91551
|
var aspectjExports = requireAspectj();
|
|
91546
91552
|
|
|
@@ -92795,12 +92801,12 @@ var zephir = /*#__PURE__*/_mergeNamespaces({
|
|
|
92795
92801
|
'default': zephirExports
|
|
92796
92802
|
}, [zephirExports]);
|
|
92797
92803
|
|
|
92798
|
-
var
|
|
92804
|
+
var asciidocExports = requireAsciidoc();
|
|
92799
92805
|
|
|
92800
|
-
var
|
|
92806
|
+
var asciidoc = /*#__PURE__*/_mergeNamespaces({
|
|
92801
92807
|
__proto__: null,
|
|
92802
|
-
'default':
|
|
92803
|
-
}, [
|
|
92808
|
+
'default': asciidocExports
|
|
92809
|
+
}, [asciidocExports]);
|
|
92804
92810
|
|
|
92805
92811
|
var avroIdlExports = requireAvroIdl();
|
|
92806
92812
|
|