@bigbinary/neeto-commons-frontend 2.0.16 → 2.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -3
- package/react-utils.cjs.js +250 -244
- package/react-utils.js +251 -245
package/react-utils.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Dropdown, Input, Label, Checkbox, Toastr, Tag, Typography, Button, Pane
|
|
|
5
5
|
import { curryN, isNil, complement as complement$1, isEmpty, either as either$1, curry, includes, __, filter, trim, toLower, identity, without, append, fromPairs, keys, values, last, pluck, any, uniq, intersection, difference, pick, assoc, mergeLeft, not as not$2, toPairs } from 'ramda';
|
|
6
6
|
import { Container, Header as Header$1, SubHeader, Sidebar as Sidebar$1, AppSwitcher } from '@bigbinary/neetoui/layouts';
|
|
7
7
|
import { useTranslation, Trans } from 'react-i18next';
|
|
8
|
-
import { Input as Input$1,
|
|
8
|
+
import { Input as Input$1, MultiEmailInput, Select, Checkbox as Checkbox$1, Button as Button$1 } from '@bigbinary/neetoui/formik';
|
|
9
9
|
import { Formik, Form as Form$1, FieldArray, ErrorMessage, useFormikContext } from 'formik';
|
|
10
10
|
import i18next, { t } from 'i18next';
|
|
11
11
|
import * as yup from 'yup';
|
|
@@ -20,6 +20,7 @@ import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
|
20
20
|
import timezone from 'dayjs/plugin/timezone';
|
|
21
21
|
import utc from 'dayjs/plugin/utc';
|
|
22
22
|
import weekday from 'dayjs/plugin/weekday';
|
|
23
|
+
import { Helmet } from 'react-helmet';
|
|
23
24
|
|
|
24
25
|
function _mergeNamespaces(n, m) {
|
|
25
26
|
m.forEach(function (e) {
|
|
@@ -2239,6 +2240,9 @@ var ENV_BRANCH = {
|
|
|
2239
2240
|
};
|
|
2240
2241
|
var NEETO_WIDGET_USER_IDENTITY_KEY = "NeetoWidgetUserIdentity";
|
|
2241
2242
|
var SESSION_CONTEXT_KEY = "NeetoReplayWidgetSessionContext";
|
|
2243
|
+
var ENABLE_NEETO_CHAT = "enableNeetoChat: true,";
|
|
2244
|
+
var ENABLE_NEETO_CHANGELOG = "enableNeetoChangelog: true,";
|
|
2245
|
+
var ENABLE_NEETO_REPLAY = "enableNeetoReplay: true,";
|
|
2242
2246
|
var DISABLE_NEETO_CHAT = "enableNeetoChat: false,";
|
|
2243
2247
|
var DISABLE_NEETO_CHANGELOG = "enableNeetoChangelog: false,";
|
|
2244
2248
|
var DISABLE_NEETO_REPLAY = "enableNeetoReplay: false,";
|
|
@@ -8408,11 +8412,11 @@ function requireApache () {
|
|
|
8408
8412
|
* */
|
|
8409
8413
|
|
|
8410
8414
|
var applescript_1$1;
|
|
8411
|
-
var hasRequiredApplescript
|
|
8415
|
+
var hasRequiredApplescript;
|
|
8412
8416
|
|
|
8413
|
-
function requireApplescript
|
|
8414
|
-
if (hasRequiredApplescript
|
|
8415
|
-
hasRequiredApplescript
|
|
8417
|
+
function requireApplescript () {
|
|
8418
|
+
if (hasRequiredApplescript) return applescript_1$1;
|
|
8419
|
+
hasRequiredApplescript = 1;
|
|
8416
8420
|
/**
|
|
8417
8421
|
* @param {RegExp | string } re
|
|
8418
8422
|
* @returns {string}
|
|
@@ -51676,7 +51680,7 @@ low.registerLanguage(
|
|
|
51676
51680
|
low.registerLanguage('apache', requireApache());
|
|
51677
51681
|
low.registerLanguage(
|
|
51678
51682
|
'applescript',
|
|
51679
|
-
requireApplescript
|
|
51683
|
+
requireApplescript()
|
|
51680
51684
|
);
|
|
51681
51685
|
low.registerLanguage('arcade', requireArcade());
|
|
51682
51686
|
low.registerLanguage('arduino', requireArduino());
|
|
@@ -52641,7 +52645,7 @@ var languageLoaders$1 = {
|
|
|
52641
52645
|
return Promise.resolve().then(function () { return apache; });
|
|
52642
52646
|
}),
|
|
52643
52647
|
applescript: createLanguageAsyncLoader("applescript", function () {
|
|
52644
|
-
return Promise.resolve().then(function () { return applescript
|
|
52648
|
+
return Promise.resolve().then(function () { return applescript; });
|
|
52645
52649
|
}),
|
|
52646
52650
|
arcade: createLanguageAsyncLoader("arcade", function () {
|
|
52647
52651
|
return Promise.resolve().then(function () { return arcade; });
|
|
@@ -53245,7 +53249,7 @@ var languageLoaders = {
|
|
|
53245
53249
|
return Promise.resolve().then(function () { return apl$1; });
|
|
53246
53250
|
}),
|
|
53247
53251
|
applescript: createLanguageAsyncLoader("applescript", function () {
|
|
53248
|
-
return Promise.resolve().then(function () { return applescript; });
|
|
53252
|
+
return Promise.resolve().then(function () { return applescript$2; });
|
|
53249
53253
|
}),
|
|
53250
53254
|
aql: createLanguageAsyncLoader("aql", function () {
|
|
53251
53255
|
return Promise.resolve().then(function () { return aql$1; });
|
|
@@ -53275,7 +53279,7 @@ var languageLoaders = {
|
|
|
53275
53279
|
return Promise.resolve().then(function () { return autoit$2; });
|
|
53276
53280
|
}),
|
|
53277
53281
|
avisynth: createLanguageAsyncLoader("avisynth", function () {
|
|
53278
|
-
return Promise.resolve().then(function () { return avisynth
|
|
53282
|
+
return Promise.resolve().then(function () { return avisynth; });
|
|
53279
53283
|
}),
|
|
53280
53284
|
avroIdl: createLanguageAsyncLoader("avroIdl", function () {
|
|
53281
53285
|
return Promise.resolve().then(function () { return avroIdl; });
|
|
@@ -63103,40 +63107,36 @@ var apl$1 = /*#__PURE__*/_mergeNamespaces({
|
|
|
63103
63107
|
'default': apl_1
|
|
63104
63108
|
}, [apl_1]);
|
|
63105
63109
|
|
|
63106
|
-
var applescript_1;
|
|
63107
|
-
|
|
63108
|
-
|
|
63109
|
-
function
|
|
63110
|
-
|
|
63111
|
-
|
|
63112
|
-
|
|
63113
|
-
|
|
63114
|
-
|
|
63115
|
-
|
|
63116
|
-
|
|
63117
|
-
|
|
63118
|
-
|
|
63119
|
-
|
|
63120
|
-
|
|
63121
|
-
|
|
63122
|
-
|
|
63123
|
-
|
|
63124
|
-
|
|
63125
|
-
|
|
63126
|
-
|
|
63127
|
-
|
|
63128
|
-
|
|
63129
|
-
],
|
|
63130
|
-
keyword:
|
|
63131
|
-
/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,
|
|
63132
|
-
'class-name':
|
|
63133
|
-
/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,
|
|
63134
|
-
punctuation: /[{}():,¬«»《》]/
|
|
63135
|
-
};
|
|
63136
|
-
}
|
|
63137
|
-
return applescript_1;
|
|
63110
|
+
var applescript_1 = applescript$1;
|
|
63111
|
+
applescript$1.displayName = 'applescript';
|
|
63112
|
+
applescript$1.aliases = [];
|
|
63113
|
+
function applescript$1(Prism) {
|
|
63114
|
+
Prism.languages.applescript = {
|
|
63115
|
+
comment: [
|
|
63116
|
+
// Allow one level of nesting
|
|
63117
|
+
/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,
|
|
63118
|
+
/--.+/,
|
|
63119
|
+
/#.+/
|
|
63120
|
+
],
|
|
63121
|
+
string: /"(?:\\.|[^"\\\r\n])*"/,
|
|
63122
|
+
number: /(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,
|
|
63123
|
+
operator: [
|
|
63124
|
+
/[&=≠≤≥*+\-\/÷^]|[<>]=?/,
|
|
63125
|
+
/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/
|
|
63126
|
+
],
|
|
63127
|
+
keyword:
|
|
63128
|
+
/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,
|
|
63129
|
+
'class-name':
|
|
63130
|
+
/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,
|
|
63131
|
+
punctuation: /[{}():,¬«»《》]/
|
|
63132
|
+
};
|
|
63138
63133
|
}
|
|
63139
63134
|
|
|
63135
|
+
var applescript$2 = /*#__PURE__*/_mergeNamespaces({
|
|
63136
|
+
__proto__: null,
|
|
63137
|
+
'default': applescript_1
|
|
63138
|
+
}, [applescript_1]);
|
|
63139
|
+
|
|
63140
63140
|
var aql_1 = aql;
|
|
63141
63141
|
aql.displayName = 'aql';
|
|
63142
63142
|
aql.aliases = [];
|
|
@@ -64427,179 +64427,183 @@ var autoit$2 = /*#__PURE__*/_mergeNamespaces({
|
|
|
64427
64427
|
'default': autoit_1
|
|
64428
64428
|
}, [autoit_1]);
|
|
64429
64429
|
|
|
64430
|
-
var avisynth_1
|
|
64431
|
-
|
|
64432
|
-
|
|
64433
|
-
function
|
|
64430
|
+
var avisynth_1;
|
|
64431
|
+
var hasRequiredAvisynth;
|
|
64432
|
+
|
|
64433
|
+
function requireAvisynth () {
|
|
64434
|
+
if (hasRequiredAvisynth) return avisynth_1;
|
|
64435
|
+
hasRequiredAvisynth = 1;
|
|
64436
|
+
|
|
64437
|
+
avisynth_1 = avisynth;
|
|
64438
|
+
avisynth.displayName = 'avisynth';
|
|
64439
|
+
avisynth.aliases = ['avs'];
|
|
64440
|
+
function avisynth(Prism) {
|
|
64434
64441
|
(function (Prism) {
|
|
64435
|
-
|
|
64436
|
-
|
|
64437
|
-
|
|
64438
|
-
|
|
64439
|
-
|
|
64440
|
-
|
|
64441
|
-
|
|
64442
|
-
|
|
64443
|
-
|
|
64444
|
-
|
|
64445
|
-
|
|
64446
|
-
|
|
64447
|
-
|
|
64448
|
-
|
|
64449
|
-
|
|
64450
|
-
|
|
64451
|
-
|
|
64452
|
-
|
|
64453
|
-
|
|
64454
|
-
|
|
64455
|
-
|
|
64456
|
-
|
|
64457
|
-
|
|
64458
|
-
|
|
64459
|
-
|
|
64460
|
-
|
|
64461
|
-
|
|
64462
|
-
|
|
64463
|
-
|
|
64464
|
-
|
|
64465
|
-
|
|
64466
|
-
|
|
64467
|
-
|
|
64468
|
-
|
|
64469
|
-
|
|
64470
|
-
|
|
64471
|
-
|
|
64472
|
-
|
|
64473
|
-
|
|
64474
|
-
|
|
64475
|
-
|
|
64476
|
-
|
|
64477
|
-
|
|
64478
|
-
|
|
64479
|
-
|
|
64480
|
-
|
|
64481
|
-
|
|
64482
|
-
|
|
64483
|
-
|
|
64484
|
-
|
|
64485
|
-
|
|
64486
|
-
|
|
64487
|
-
|
|
64488
|
-
|
|
64489
|
-
|
|
64490
|
-
|
|
64491
|
-
|
|
64492
|
-
|
|
64493
|
-
|
|
64494
|
-
|
|
64495
|
-
|
|
64496
|
-
|
|
64497
|
-
|
|
64498
|
-
|
|
64499
|
-
|
|
64500
|
-
|
|
64501
|
-
|
|
64502
|
-
|
|
64503
|
-
|
|
64504
|
-
|
|
64505
|
-
|
|
64506
|
-
|
|
64507
|
-
|
|
64508
|
-
|
|
64509
|
-
|
|
64510
|
-
|
|
64511
|
-
|
|
64512
|
-
|
|
64513
|
-
|
|
64514
|
-
|
|
64515
|
-
|
|
64516
|
-
|
|
64517
|
-
|
|
64518
|
-
|
|
64519
|
-
|
|
64520
|
-
|
|
64521
|
-
|
|
64522
|
-
|
|
64523
|
-
|
|
64524
|
-
|
|
64525
|
-
|
|
64526
|
-
|
|
64527
|
-
|
|
64528
|
-
|
|
64529
|
-
|
|
64530
|
-
|
|
64531
|
-
|
|
64532
|
-
|
|
64533
|
-
|
|
64534
|
-
|
|
64535
|
-
|
|
64536
|
-
|
|
64537
|
-
|
|
64538
|
-
|
|
64539
|
-
|
|
64540
|
-
|
|
64541
|
-
|
|
64542
|
-
|
|
64543
|
-
|
|
64544
|
-
|
|
64545
|
-
|
|
64546
|
-
|
|
64547
|
-
|
|
64548
|
-
|
|
64549
|
-
|
|
64550
|
-
|
|
64551
|
-
|
|
64552
|
-
|
|
64553
|
-
|
|
64554
|
-
|
|
64555
|
-
|
|
64556
|
-
|
|
64557
|
-
|
|
64558
|
-
|
|
64559
|
-
|
|
64560
|
-
|
|
64561
|
-
|
|
64562
|
-
|
|
64563
|
-
|
|
64564
|
-
|
|
64565
|
-
|
|
64566
|
-
|
|
64567
|
-
|
|
64568
|
-
|
|
64569
|
-
|
|
64570
|
-
|
|
64571
|
-
|
|
64572
|
-
|
|
64573
|
-
|
|
64574
|
-
|
|
64575
|
-
|
|
64576
|
-
|
|
64577
|
-
|
|
64578
|
-
|
|
64579
|
-
|
|
64580
|
-
|
|
64581
|
-
|
|
64582
|
-
|
|
64583
|
-
|
|
64584
|
-
|
|
64585
|
-
|
|
64586
|
-
|
|
64587
|
-
|
|
64588
|
-
|
|
64589
|
-
|
|
64590
|
-
|
|
64591
|
-
|
|
64592
|
-
|
|
64593
|
-
|
|
64594
|
-
|
|
64595
|
-
|
|
64442
|
+
function replace(pattern, replacements) {
|
|
64443
|
+
return pattern.replace(/<<(\d+)>>/g, function (m, index) {
|
|
64444
|
+
return replacements[+index]
|
|
64445
|
+
})
|
|
64446
|
+
}
|
|
64447
|
+
function re(pattern, replacements, flags) {
|
|
64448
|
+
return RegExp(replace(pattern, replacements), flags || '')
|
|
64449
|
+
}
|
|
64450
|
+
var types = /bool|clip|float|int|string|val/.source;
|
|
64451
|
+
var internals = [
|
|
64452
|
+
// bools
|
|
64453
|
+
/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/
|
|
64454
|
+
.source, // control
|
|
64455
|
+
/apply|assert|default|eval|import|nop|select|undefined/.source, // global
|
|
64456
|
+
/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/
|
|
64457
|
+
.source, // conv
|
|
64458
|
+
/hex(?:value)?|value/.source, // numeric
|
|
64459
|
+
/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/
|
|
64460
|
+
.source, // trig
|
|
64461
|
+
/a?sinh?|a?cosh?|a?tan[2h]?/.source, // bit
|
|
64462
|
+
/(?: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?))/
|
|
64463
|
+
.source, // runtime
|
|
64464
|
+
/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/
|
|
64465
|
+
.source, // script
|
|
64466
|
+
/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/
|
|
64467
|
+
.source, // string
|
|
64468
|
+
/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/
|
|
64469
|
+
.source, // version
|
|
64470
|
+
/isversionorgreater|version(?:number|string)/.source, // helper
|
|
64471
|
+
/buildpixeltype|colorspacenametopixeltype/.source, // avsplus
|
|
64472
|
+
/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
|
|
64473
|
+
].join('|');
|
|
64474
|
+
var properties = [
|
|
64475
|
+
// content
|
|
64476
|
+
/has(?:audio|video)/.source, // resolution
|
|
64477
|
+
/height|width/.source, // framerate
|
|
64478
|
+
/frame(?:count|rate)|framerate(?:denominator|numerator)/.source, // interlacing
|
|
64479
|
+
/getparity|is(?:field|frame)based/.source, // color format
|
|
64480
|
+
/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/
|
|
64481
|
+
.source, // audio
|
|
64482
|
+
/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/
|
|
64483
|
+
.source
|
|
64484
|
+
].join('|');
|
|
64485
|
+
var filters = [
|
|
64486
|
+
// source
|
|
64487
|
+
/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/
|
|
64488
|
+
.source, // color
|
|
64489
|
+
/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/
|
|
64490
|
+
.source, // overlay
|
|
64491
|
+
/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source, // geometry
|
|
64492
|
+
/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)/
|
|
64493
|
+
.source, // pixel
|
|
64494
|
+
/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/
|
|
64495
|
+
.source, // timeline
|
|
64496
|
+
/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)/
|
|
64497
|
+
.source, // interlace
|
|
64498
|
+
/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/
|
|
64499
|
+
.source, // audio
|
|
64500
|
+
/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/
|
|
64501
|
+
.source, // conditional
|
|
64502
|
+
/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/
|
|
64503
|
+
.source, // export
|
|
64504
|
+
/imagewriter/.source, // debug
|
|
64505
|
+
/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/
|
|
64506
|
+
.source
|
|
64507
|
+
].join('|');
|
|
64508
|
+
var allinternals = [internals, properties, filters].join('|');
|
|
64509
|
+
Prism.languages.avisynth = {
|
|
64510
|
+
comment: [
|
|
64511
|
+
{
|
|
64512
|
+
// Matches [* *] nestable block comments, but only supports 1 level of nested comments
|
|
64513
|
+
// /\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|<self>)*\*\]/
|
|
64514
|
+
pattern:
|
|
64515
|
+
/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,
|
|
64516
|
+
lookbehind: true,
|
|
64517
|
+
greedy: true
|
|
64518
|
+
},
|
|
64519
|
+
{
|
|
64520
|
+
// Matches /* */ block comments
|
|
64521
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
64522
|
+
lookbehind: true,
|
|
64523
|
+
greedy: true
|
|
64524
|
+
},
|
|
64525
|
+
{
|
|
64526
|
+
// Matches # comments
|
|
64527
|
+
pattern: /(^|[^\\$])#.*/,
|
|
64528
|
+
lookbehind: true,
|
|
64529
|
+
greedy: true
|
|
64530
|
+
}
|
|
64531
|
+
],
|
|
64532
|
+
// Handle before strings because optional arguments are surrounded by double quotes
|
|
64533
|
+
argument: {
|
|
64534
|
+
pattern: re(/\b(?:<<0>>)\s+("?)\w+\1/.source, [types], 'i'),
|
|
64535
|
+
inside: {
|
|
64536
|
+
keyword: /^\w+/
|
|
64537
|
+
}
|
|
64538
|
+
},
|
|
64539
|
+
// Optional argument assignment
|
|
64540
|
+
'argument-label': {
|
|
64541
|
+
pattern: /([,(][\s\\]*)\w+\s*=(?!=)/,
|
|
64542
|
+
lookbehind: true,
|
|
64543
|
+
inside: {
|
|
64544
|
+
'argument-name': {
|
|
64545
|
+
pattern: /^\w+/,
|
|
64546
|
+
alias: 'punctuation'
|
|
64547
|
+
},
|
|
64548
|
+
punctuation: /=$/
|
|
64549
|
+
}
|
|
64550
|
+
},
|
|
64551
|
+
string: [
|
|
64552
|
+
{
|
|
64553
|
+
// triple double-quoted
|
|
64554
|
+
pattern: /"""[\s\S]*?"""/,
|
|
64555
|
+
greedy: true
|
|
64556
|
+
},
|
|
64557
|
+
{
|
|
64558
|
+
// single double-quoted
|
|
64559
|
+
pattern: /"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
|
64560
|
+
greedy: true,
|
|
64561
|
+
inside: {
|
|
64562
|
+
constant: {
|
|
64563
|
+
// These *are* case-sensitive!
|
|
64564
|
+
pattern:
|
|
64565
|
+
/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/
|
|
64566
|
+
}
|
|
64567
|
+
}
|
|
64568
|
+
}
|
|
64569
|
+
],
|
|
64570
|
+
// The special "last" variable that takes the value of the last implicitly returned clip
|
|
64571
|
+
variable: /\b(?:last)\b/i,
|
|
64572
|
+
boolean: /\b(?:false|no|true|yes)\b/i,
|
|
64573
|
+
keyword:
|
|
64574
|
+
/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,
|
|
64575
|
+
constant: /\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,
|
|
64576
|
+
// AviSynth's internal functions, filters, and properties
|
|
64577
|
+
'builtin-function': {
|
|
64578
|
+
pattern: re(/\b(?:<<0>>)\b/.source, [allinternals], 'i'),
|
|
64579
|
+
alias: 'function'
|
|
64580
|
+
},
|
|
64581
|
+
'type-cast': {
|
|
64582
|
+
pattern: re(/\b(?:<<0>>)(?=\s*\()/.source, [types], 'i'),
|
|
64583
|
+
alias: 'keyword'
|
|
64584
|
+
},
|
|
64585
|
+
// External/user-defined filters
|
|
64586
|
+
function: {
|
|
64587
|
+
pattern: /\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,
|
|
64588
|
+
lookbehind: true
|
|
64589
|
+
},
|
|
64590
|
+
// Matches a \ as the first or last character on a line
|
|
64591
|
+
'line-continuation': {
|
|
64592
|
+
pattern: /(^[ \t]*)\\|\\(?=[ \t]*$)/m,
|
|
64593
|
+
lookbehind: true,
|
|
64594
|
+
alias: 'punctuation'
|
|
64595
|
+
},
|
|
64596
|
+
number:
|
|
64597
|
+
/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,
|
|
64598
|
+
operator: /\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,
|
|
64599
|
+
punctuation: /[{}\[\]();,.]/
|
|
64600
|
+
};
|
|
64601
|
+
Prism.languages.avs = Prism.languages.avisynth;
|
|
64602
|
+
})(Prism);
|
|
64603
|
+
}
|
|
64604
|
+
return avisynth_1;
|
|
64596
64605
|
}
|
|
64597
64606
|
|
|
64598
|
-
var avisynth$1 = /*#__PURE__*/_mergeNamespaces({
|
|
64599
|
-
__proto__: null,
|
|
64600
|
-
'default': avisynth_1
|
|
64601
|
-
}, [avisynth_1]);
|
|
64602
|
-
|
|
64603
64607
|
var avroIdl_1;
|
|
64604
64608
|
var hasRequiredAvroIdl;
|
|
64605
64609
|
|
|
@@ -85834,7 +85838,7 @@ refractor.register(antlr4_1);
|
|
|
85834
85838
|
refractor.register(apacheconf_1);
|
|
85835
85839
|
refractor.register(apex_1);
|
|
85836
85840
|
refractor.register(apl_1);
|
|
85837
|
-
refractor.register(
|
|
85841
|
+
refractor.register(applescript_1);
|
|
85838
85842
|
refractor.register(aql_1);
|
|
85839
85843
|
refractor.register(arduino_1);
|
|
85840
85844
|
refractor.register(arff_1);
|
|
@@ -85844,7 +85848,7 @@ refractor.register(asmatmel_1);
|
|
|
85844
85848
|
refractor.register(aspnet_1);
|
|
85845
85849
|
refractor.register(autohotkey_1);
|
|
85846
85850
|
refractor.register(autoit_1);
|
|
85847
|
-
refractor.register(
|
|
85851
|
+
refractor.register(requireAvisynth());
|
|
85848
85852
|
refractor.register(requireAvroIdl());
|
|
85849
85853
|
refractor.register(requireBash());
|
|
85850
85854
|
refractor.register(requireBasic());
|
|
@@ -86375,15 +86379,7 @@ var indentAndFormat = function indentAndFormat(str) {
|
|
|
86375
86379
|
};
|
|
86376
86380
|
|
|
86377
86381
|
var getCommentedCommand = function getCommentedCommand(command, isEnabled) {
|
|
86378
|
-
|
|
86379
|
-
|
|
86380
|
-
if (isEnabled) {
|
|
86381
|
-
return command;
|
|
86382
|
-
} else if (withFilterMark) {
|
|
86383
|
-
return "/// ".concat(command);
|
|
86384
|
-
}
|
|
86385
|
-
|
|
86386
|
-
return "// ".concat(command);
|
|
86382
|
+
return isEnabled ? command : "/// ".concat(command);
|
|
86387
86383
|
};
|
|
86388
86384
|
|
|
86389
86385
|
var embedWidgetEnvironment = function embedWidgetEnvironment() {
|
|
@@ -86406,16 +86402,12 @@ var embedWidgetApiKey = function embedWidgetApiKey(apiKey) {
|
|
|
86406
86402
|
return "apiKey: \"".concat(apiKey, "\",");
|
|
86407
86403
|
};
|
|
86408
86404
|
|
|
86409
|
-
var
|
|
86410
|
-
return
|
|
86411
|
-
};
|
|
86412
|
-
|
|
86413
|
-
var addDisableComments = function addDisableComments(enabledWidgets) {
|
|
86414
|
-
return "\n".concat(getDisableComment(DISABLE_NEETO_CHANGELOG, enabledWidgets.changelog), "\n").concat(getDisableComment(DISABLE_NEETO_CHAT, enabledWidgets.chat), "\n").concat(getDisableComment(DISABLE_NEETO_REPLAY, enabledWidgets.replay));
|
|
86405
|
+
var addEnableFlags = function addEnableFlags(enabledWidgets) {
|
|
86406
|
+
return "\n".concat(enabledWidgets.changelog ? ENABLE_NEETO_CHANGELOG : DISABLE_NEETO_CHANGELOG, "\n").concat(enabledWidgets.chat ? ENABLE_NEETO_CHAT : DISABLE_NEETO_CHAT, "\n").concat(enabledWidgets.replay ? ENABLE_NEETO_REPLAY : DISABLE_NEETO_REPLAY);
|
|
86415
86407
|
};
|
|
86416
86408
|
|
|
86417
86409
|
var addChangelogOptions = function addChangelogOptions() {
|
|
86418
|
-
return "neetoChangelogOptions: {\n
|
|
86410
|
+
return "neetoChangelogOptions: {\n elementId: \"custom-trigger-id\",\n},";
|
|
86419
86411
|
};
|
|
86420
86412
|
|
|
86421
86413
|
var wrapBlockInOnLoad = function wrapBlockInOnLoad(codeBlock) {
|
|
@@ -86423,8 +86415,8 @@ var wrapBlockInOnLoad = function wrapBlockInOnLoad(codeBlock) {
|
|
|
86423
86415
|
};
|
|
86424
86416
|
|
|
86425
86417
|
var embedWidgetFunctionCall = function embedWidgetFunctionCall(enabledWidgets, apiKey) {
|
|
86426
|
-
return "embedNeetoWidget({\n ".concat(embedWidgetEnvironment(), "\n ").concat(indentAndFormat(embedWidgetApiKey(apiKey)), "\n ").concat(indentAndFormat(
|
|
86427
|
-
return getCommentedCommand(cmd, enabledWidgets.changelog
|
|
86418
|
+
return "embedNeetoWidget({\n ".concat(embedWidgetEnvironment(), "\n ").concat(indentAndFormat(embedWidgetApiKey(apiKey)), "\n ").concat(indentAndFormat(addEnableFlags(enabledWidgets)), "\n ").concat(indentAndFormat(addChangelogOptions(), function (cmd) {
|
|
86419
|
+
return getCommentedCommand(cmd, enabledWidgets.changelog);
|
|
86428
86420
|
}), "\n})");
|
|
86429
86421
|
};
|
|
86430
86422
|
|
|
@@ -86437,7 +86429,7 @@ var filterMarkedCommands = function filterMarkedCommands(queryString) {
|
|
|
86437
86429
|
var getSampleUserIdentity = function getSampleUserIdentity(enabledWidgets) {
|
|
86438
86430
|
return filterMarkedCommands(SAMPLE_USER_IDENTITY_CODE_STRING.split("\n").map(function (cmd) {
|
|
86439
86431
|
if (!enabledWidgets.chat && !cmd.includes("email") && !cmd.includes("{") && !cmd.includes("}") || !enabledWidgets.chat && !enabledWidgets.replay) {
|
|
86440
|
-
return getCommentedCommand(cmd, false
|
|
86432
|
+
return getCommentedCommand(cmd, false);
|
|
86441
86433
|
}
|
|
86442
86434
|
|
|
86443
86435
|
return cmd;
|
|
@@ -86536,7 +86528,7 @@ var CodeSnippet = function CodeSnippet(_ref) {
|
|
|
86536
86528
|
style: "h2"
|
|
86537
86529
|
}, t("neetoCommons.widget.email.title"))), /*#__PURE__*/React__default.createElement(Modal.Body, null, /*#__PURE__*/React__default.createElement("div", {
|
|
86538
86530
|
className: "flex flex-col gap-4 py-6"
|
|
86539
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
86531
|
+
}, /*#__PURE__*/React__default.createElement(MultiEmailInput, {
|
|
86540
86532
|
label: "".concat(t("neetoCommons.widget.email.fields.emails.label"), "*"),
|
|
86541
86533
|
name: "emails",
|
|
86542
86534
|
placeholder: t("neetoCommons.widget.email.fields.emails.placeholder"),
|
|
@@ -87776,10 +87768,24 @@ var resetAuthTokens = function resetAuthTokens() {
|
|
|
87776
87768
|
});
|
|
87777
87769
|
};
|
|
87778
87770
|
|
|
87771
|
+
var ChangelogWidget = function ChangelogWidget() {
|
|
87772
|
+
return /*#__PURE__*/React__default.createElement(Helmet, {
|
|
87773
|
+
defer: false,
|
|
87774
|
+
script: [{
|
|
87775
|
+
type: "text/javascript",
|
|
87776
|
+
innerHTML: "window.neetoChangelogConfig = {\n baseUrl : \"https://neetoinvisiblehelp.neetochangelog.com\",\n authToken : \"HomvRiaNYgwbzfXErJ5TRq1Y\",\n productId : \"5e72d907-f695-446f-afa0-7ca84bd8ecf2\",\n triggerId: \"neetochangelog-trigger\"\n };"
|
|
87777
|
+
}, {
|
|
87778
|
+
type: "text/javascript",
|
|
87779
|
+
src: "https://da8zs6hfu4bc2.cloudfront.net/neetochangelog-widget.min.js"
|
|
87780
|
+
}]
|
|
87781
|
+
});
|
|
87782
|
+
};
|
|
87783
|
+
|
|
87779
87784
|
var MY_PROFILE_URL = "/auth/profile/edit";
|
|
87780
87785
|
var MY_ORGANIZATION_URL = "/auth/organization/edit";
|
|
87781
87786
|
var PERMITTED_DOMAINS = ["@bigbinary.com", "@example.com"];
|
|
87782
87787
|
var CHANGELOG_WIDGET_TRIGGER_ID = "neetochangelog-trigger";
|
|
87788
|
+
var NEETO_CHANGELOG_ENVS = ["staging"];
|
|
87783
87789
|
|
|
87784
87790
|
var getTopLinks = function getTopLinks() {
|
|
87785
87791
|
var topLinks = [{
|
|
@@ -87827,9 +87833,9 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
87827
87833
|
window.location.href = "/logout";
|
|
87828
87834
|
};
|
|
87829
87835
|
|
|
87830
|
-
var
|
|
87836
|
+
var showNeetoChangelog = PERMITTED_DOMAINS.some(function (domain) {
|
|
87831
87837
|
return globalProps.user.email.includes(domain);
|
|
87832
|
-
});
|
|
87838
|
+
}) && NEETO_CHANGELOG_ENVS.includes(process.env.RAILS_ENV);
|
|
87833
87839
|
var profileInfo = mergeLeft(profileInfoOverrides, {
|
|
87834
87840
|
name: "".concat(globalProps.user.firstName, " ").concat(globalProps.user.lastName),
|
|
87835
87841
|
imageUrl: globalProps.user.profileImageUrl,
|
|
@@ -87848,11 +87854,11 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
87848
87854
|
return window.open("https://neeto".concat(toLower(appName), "help.neetokb.com/"), "_blank");
|
|
87849
87855
|
}
|
|
87850
87856
|
},
|
|
87851
|
-
changelogProps:
|
|
87857
|
+
changelogProps: showNeetoChangelog ? {
|
|
87852
87858
|
id: CHANGELOG_WIDGET_TRIGGER_ID
|
|
87853
87859
|
} : undefined
|
|
87854
87860
|
});
|
|
87855
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Sidebar$1, {
|
|
87861
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, showNeetoChangelog && /*#__PURE__*/React__default.createElement(ChangelogWidget, null), /*#__PURE__*/React__default.createElement(Sidebar$1, {
|
|
87856
87862
|
isCollapsed: true,
|
|
87857
87863
|
appName: "neeto".concat(capitalize(appName)),
|
|
87858
87864
|
navLinks: navLinks,
|
|
@@ -88283,12 +88289,12 @@ var apache = /*#__PURE__*/_mergeNamespaces({
|
|
|
88283
88289
|
'default': apacheExports
|
|
88284
88290
|
}, [apacheExports]);
|
|
88285
88291
|
|
|
88286
|
-
var applescriptExports
|
|
88292
|
+
var applescriptExports = requireApplescript();
|
|
88287
88293
|
|
|
88288
|
-
var applescript
|
|
88294
|
+
var applescript = /*#__PURE__*/_mergeNamespaces({
|
|
88289
88295
|
__proto__: null,
|
|
88290
|
-
'default': applescriptExports
|
|
88291
|
-
}, [applescriptExports
|
|
88296
|
+
'default': applescriptExports
|
|
88297
|
+
}, [applescriptExports]);
|
|
88292
88298
|
|
|
88293
88299
|
var arcadeExports = requireArcade();
|
|
88294
88300
|
|
|
@@ -89571,12 +89577,12 @@ var zephir = /*#__PURE__*/_mergeNamespaces({
|
|
|
89571
89577
|
'default': zephirExports
|
|
89572
89578
|
}, [zephirExports]);
|
|
89573
89579
|
|
|
89574
|
-
var
|
|
89580
|
+
var avisynthExports = requireAvisynth();
|
|
89575
89581
|
|
|
89576
|
-
var
|
|
89582
|
+
var avisynth = /*#__PURE__*/_mergeNamespaces({
|
|
89577
89583
|
__proto__: null,
|
|
89578
|
-
'default':
|
|
89579
|
-
}, [
|
|
89584
|
+
'default': avisynthExports
|
|
89585
|
+
}, [avisynthExports]);
|
|
89580
89586
|
|
|
89581
89587
|
var avroIdlExports = requireAvroIdl();
|
|
89582
89588
|
|