@fluxo-dev/shell 1.0.0 → 25.1.1
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/index.esm.js +658 -646
- package/package.json +12 -12
- package/src/lib/app.d.ts +4 -1
package/index.esm.js
CHANGED
|
@@ -3121,6 +3121,534 @@ if (isCallable$6(NativePromiseConstructor)) {
|
|
|
3121
3121
|
}
|
|
3122
3122
|
}
|
|
3123
3123
|
|
|
3124
|
+
var anObject$e = anObject$o;
|
|
3125
|
+
|
|
3126
|
+
// `RegExp.prototype.flags` getter implementation
|
|
3127
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
3128
|
+
var regexpFlags$1 = function () {
|
|
3129
|
+
var that = anObject$e(this);
|
|
3130
|
+
var result = '';
|
|
3131
|
+
if (that.hasIndices) result += 'd';
|
|
3132
|
+
if (that.global) result += 'g';
|
|
3133
|
+
if (that.ignoreCase) result += 'i';
|
|
3134
|
+
if (that.multiline) result += 'm';
|
|
3135
|
+
if (that.dotAll) result += 's';
|
|
3136
|
+
if (that.unicode) result += 'u';
|
|
3137
|
+
if (that.unicodeSets) result += 'v';
|
|
3138
|
+
if (that.sticky) result += 'y';
|
|
3139
|
+
return result;
|
|
3140
|
+
};
|
|
3141
|
+
|
|
3142
|
+
var fails$c = fails$t;
|
|
3143
|
+
var global$7 = global$q;
|
|
3144
|
+
|
|
3145
|
+
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
3146
|
+
var $RegExp$2 = global$7.RegExp;
|
|
3147
|
+
|
|
3148
|
+
var UNSUPPORTED_Y$1 = fails$c(function () {
|
|
3149
|
+
var re = $RegExp$2('a', 'y');
|
|
3150
|
+
re.lastIndex = 2;
|
|
3151
|
+
return re.exec('abcd') !== null;
|
|
3152
|
+
});
|
|
3153
|
+
|
|
3154
|
+
// UC Browser bug
|
|
3155
|
+
// https://github.com/zloirock/core-js/issues/1008
|
|
3156
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$c(function () {
|
|
3157
|
+
return !$RegExp$2('a', 'y').sticky;
|
|
3158
|
+
});
|
|
3159
|
+
|
|
3160
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$c(function () {
|
|
3161
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
3162
|
+
var re = $RegExp$2('^r', 'gy');
|
|
3163
|
+
re.lastIndex = 2;
|
|
3164
|
+
return re.exec('str') !== null;
|
|
3165
|
+
});
|
|
3166
|
+
|
|
3167
|
+
var regexpStickyHelpers = {
|
|
3168
|
+
BROKEN_CARET: BROKEN_CARET,
|
|
3169
|
+
MISSED_STICKY: MISSED_STICKY,
|
|
3170
|
+
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
3171
|
+
};
|
|
3172
|
+
|
|
3173
|
+
var fails$b = fails$t;
|
|
3174
|
+
var global$6 = global$q;
|
|
3175
|
+
|
|
3176
|
+
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
3177
|
+
var $RegExp$1 = global$6.RegExp;
|
|
3178
|
+
|
|
3179
|
+
var regexpUnsupportedDotAll = fails$b(function () {
|
|
3180
|
+
var re = $RegExp$1('.', 's');
|
|
3181
|
+
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
3182
|
+
});
|
|
3183
|
+
|
|
3184
|
+
var fails$a = fails$t;
|
|
3185
|
+
var global$5 = global$q;
|
|
3186
|
+
|
|
3187
|
+
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
3188
|
+
var $RegExp = global$5.RegExp;
|
|
3189
|
+
|
|
3190
|
+
var regexpUnsupportedNcg = fails$a(function () {
|
|
3191
|
+
var re = $RegExp('(?<a>b)', 'g');
|
|
3192
|
+
return re.exec('b').groups.a !== 'b' ||
|
|
3193
|
+
'b'.replace(re, '$<a>c') !== 'bc';
|
|
3194
|
+
});
|
|
3195
|
+
|
|
3196
|
+
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
3197
|
+
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
3198
|
+
var call$b = functionCall;
|
|
3199
|
+
var uncurryThis$c = functionUncurryThis;
|
|
3200
|
+
var toString$9 = toString$c;
|
|
3201
|
+
var regexpFlags = regexpFlags$1;
|
|
3202
|
+
var stickyHelpers = regexpStickyHelpers;
|
|
3203
|
+
var shared$1 = shared$5;
|
|
3204
|
+
var create$2 = objectCreate;
|
|
3205
|
+
var getInternalState = internalState.get;
|
|
3206
|
+
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
3207
|
+
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
3208
|
+
|
|
3209
|
+
var nativeReplace = shared$1('native-string-replace', String.prototype.replace);
|
|
3210
|
+
var nativeExec = RegExp.prototype.exec;
|
|
3211
|
+
var patchedExec = nativeExec;
|
|
3212
|
+
var charAt$4 = uncurryThis$c(''.charAt);
|
|
3213
|
+
var indexOf = uncurryThis$c(''.indexOf);
|
|
3214
|
+
var replace$3 = uncurryThis$c(''.replace);
|
|
3215
|
+
var stringSlice$4 = uncurryThis$c(''.slice);
|
|
3216
|
+
|
|
3217
|
+
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
3218
|
+
var re1 = /a/;
|
|
3219
|
+
var re2 = /b*/g;
|
|
3220
|
+
call$b(nativeExec, re1, 'a');
|
|
3221
|
+
call$b(nativeExec, re2, 'a');
|
|
3222
|
+
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
3223
|
+
})();
|
|
3224
|
+
|
|
3225
|
+
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
|
3226
|
+
|
|
3227
|
+
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
3228
|
+
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
3229
|
+
|
|
3230
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
3231
|
+
|
|
3232
|
+
if (PATCH) {
|
|
3233
|
+
patchedExec = function exec(string) {
|
|
3234
|
+
var re = this;
|
|
3235
|
+
var state = getInternalState(re);
|
|
3236
|
+
var str = toString$9(string);
|
|
3237
|
+
var raw = state.raw;
|
|
3238
|
+
var result, reCopy, lastIndex, match, i, object, group;
|
|
3239
|
+
|
|
3240
|
+
if (raw) {
|
|
3241
|
+
raw.lastIndex = re.lastIndex;
|
|
3242
|
+
result = call$b(patchedExec, raw, str);
|
|
3243
|
+
re.lastIndex = raw.lastIndex;
|
|
3244
|
+
return result;
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
var groups = state.groups;
|
|
3248
|
+
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
3249
|
+
var flags = call$b(regexpFlags, re);
|
|
3250
|
+
var source = re.source;
|
|
3251
|
+
var charsAdded = 0;
|
|
3252
|
+
var strCopy = str;
|
|
3253
|
+
|
|
3254
|
+
if (sticky) {
|
|
3255
|
+
flags = replace$3(flags, 'y', '');
|
|
3256
|
+
if (indexOf(flags, 'g') === -1) {
|
|
3257
|
+
flags += 'g';
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
strCopy = stringSlice$4(str, re.lastIndex);
|
|
3261
|
+
// Support anchored sticky behavior.
|
|
3262
|
+
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$4(str, re.lastIndex - 1) !== '\n')) {
|
|
3263
|
+
source = '(?: ' + source + ')';
|
|
3264
|
+
strCopy = ' ' + strCopy;
|
|
3265
|
+
charsAdded++;
|
|
3266
|
+
}
|
|
3267
|
+
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
|
3268
|
+
// simulate the 'y' flag.
|
|
3269
|
+
reCopy = new RegExp('^(?:' + source + ')', flags);
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
if (NPCG_INCLUDED) {
|
|
3273
|
+
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
|
3274
|
+
}
|
|
3275
|
+
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
3276
|
+
|
|
3277
|
+
match = call$b(nativeExec, sticky ? reCopy : re, strCopy);
|
|
3278
|
+
|
|
3279
|
+
if (sticky) {
|
|
3280
|
+
if (match) {
|
|
3281
|
+
match.input = stringSlice$4(match.input, charsAdded);
|
|
3282
|
+
match[0] = stringSlice$4(match[0], charsAdded);
|
|
3283
|
+
match.index = re.lastIndex;
|
|
3284
|
+
re.lastIndex += match[0].length;
|
|
3285
|
+
} else re.lastIndex = 0;
|
|
3286
|
+
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
3287
|
+
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
|
3288
|
+
}
|
|
3289
|
+
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
3290
|
+
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
3291
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
3292
|
+
call$b(nativeReplace, match[0], reCopy, function () {
|
|
3293
|
+
for (i = 1; i < arguments.length - 2; i++) {
|
|
3294
|
+
if (arguments[i] === undefined) match[i] = undefined;
|
|
3295
|
+
}
|
|
3296
|
+
});
|
|
3297
|
+
}
|
|
3298
|
+
|
|
3299
|
+
if (match && groups) {
|
|
3300
|
+
match.groups = object = create$2(null);
|
|
3301
|
+
for (i = 0; i < groups.length; i++) {
|
|
3302
|
+
group = groups[i];
|
|
3303
|
+
object[group[0]] = match[group[1]];
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
return match;
|
|
3308
|
+
};
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
var regexpExec$2 = patchedExec;
|
|
3312
|
+
|
|
3313
|
+
var $$p = _export;
|
|
3314
|
+
var exec$2 = regexpExec$2;
|
|
3315
|
+
|
|
3316
|
+
// `RegExp.prototype.exec` method
|
|
3317
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
3318
|
+
$$p({ target: 'RegExp', proto: true, forced: /./.exec !== exec$2 }, {
|
|
3319
|
+
exec: exec$2
|
|
3320
|
+
});
|
|
3321
|
+
|
|
3322
|
+
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
3323
|
+
|
|
3324
|
+
var call$a = functionCall;
|
|
3325
|
+
var defineBuiltIn$2 = defineBuiltIn$9;
|
|
3326
|
+
var regexpExec$1 = regexpExec$2;
|
|
3327
|
+
var fails$9 = fails$t;
|
|
3328
|
+
var wellKnownSymbol$7 = wellKnownSymbol$l;
|
|
3329
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$9;
|
|
3330
|
+
|
|
3331
|
+
var SPECIES$1 = wellKnownSymbol$7('species');
|
|
3332
|
+
var RegExpPrototype$2 = RegExp.prototype;
|
|
3333
|
+
|
|
3334
|
+
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
3335
|
+
var SYMBOL = wellKnownSymbol$7(KEY);
|
|
3336
|
+
|
|
3337
|
+
var DELEGATES_TO_SYMBOL = !fails$9(function () {
|
|
3338
|
+
// String methods call symbol-named RegExp methods
|
|
3339
|
+
var O = {};
|
|
3340
|
+
O[SYMBOL] = function () { return 7; };
|
|
3341
|
+
return ''[KEY](O) !== 7;
|
|
3342
|
+
});
|
|
3343
|
+
|
|
3344
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$9(function () {
|
|
3345
|
+
// Symbol-named RegExp methods call .exec
|
|
3346
|
+
var execCalled = false;
|
|
3347
|
+
var re = /a/;
|
|
3348
|
+
|
|
3349
|
+
if (KEY === 'split') {
|
|
3350
|
+
// We can't use real regex here since it causes deoptimization
|
|
3351
|
+
// and serious performance degradation in V8
|
|
3352
|
+
// https://github.com/zloirock/core-js/issues/306
|
|
3353
|
+
re = {};
|
|
3354
|
+
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
3355
|
+
// a new one. We need to return the patched regex when creating the new one.
|
|
3356
|
+
re.constructor = {};
|
|
3357
|
+
re.constructor[SPECIES$1] = function () { return re; };
|
|
3358
|
+
re.flags = '';
|
|
3359
|
+
re[SYMBOL] = /./[SYMBOL];
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
re.exec = function () {
|
|
3363
|
+
execCalled = true;
|
|
3364
|
+
return null;
|
|
3365
|
+
};
|
|
3366
|
+
|
|
3367
|
+
re[SYMBOL]('');
|
|
3368
|
+
return !execCalled;
|
|
3369
|
+
});
|
|
3370
|
+
|
|
3371
|
+
if (
|
|
3372
|
+
!DELEGATES_TO_SYMBOL ||
|
|
3373
|
+
!DELEGATES_TO_EXEC ||
|
|
3374
|
+
FORCED
|
|
3375
|
+
) {
|
|
3376
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
3377
|
+
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
3378
|
+
var $exec = regexp.exec;
|
|
3379
|
+
if ($exec === regexpExec$1 || $exec === RegExpPrototype$2.exec) {
|
|
3380
|
+
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
3381
|
+
// The native String method already delegates to @@method (this
|
|
3382
|
+
// polyfilled function), leasing to infinite recursion.
|
|
3383
|
+
// We avoid it by directly calling the native @@method method.
|
|
3384
|
+
return { done: true, value: call$a(nativeRegExpMethod, regexp, str, arg2) };
|
|
3385
|
+
}
|
|
3386
|
+
return { done: true, value: call$a(nativeMethod, str, regexp, arg2) };
|
|
3387
|
+
}
|
|
3388
|
+
return { done: false };
|
|
3389
|
+
});
|
|
3390
|
+
|
|
3391
|
+
defineBuiltIn$2(String.prototype, KEY, methods[0]);
|
|
3392
|
+
defineBuiltIn$2(RegExpPrototype$2, SYMBOL, methods[1]);
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
if (SHAM) createNonEnumerableProperty$2(RegExpPrototype$2[SYMBOL], 'sham', true);
|
|
3396
|
+
};
|
|
3397
|
+
|
|
3398
|
+
var uncurryThis$b = functionUncurryThis;
|
|
3399
|
+
var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
|
|
3400
|
+
var toString$8 = toString$c;
|
|
3401
|
+
var requireObjectCoercible$4 = requireObjectCoercible$8;
|
|
3402
|
+
|
|
3403
|
+
var charAt$3 = uncurryThis$b(''.charAt);
|
|
3404
|
+
var charCodeAt$1 = uncurryThis$b(''.charCodeAt);
|
|
3405
|
+
var stringSlice$3 = uncurryThis$b(''.slice);
|
|
3406
|
+
|
|
3407
|
+
var createMethod$2 = function (CONVERT_TO_STRING) {
|
|
3408
|
+
return function ($this, pos) {
|
|
3409
|
+
var S = toString$8(requireObjectCoercible$4($this));
|
|
3410
|
+
var position = toIntegerOrInfinity$3(pos);
|
|
3411
|
+
var size = S.length;
|
|
3412
|
+
var first, second;
|
|
3413
|
+
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
3414
|
+
first = charCodeAt$1(S, position);
|
|
3415
|
+
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
3416
|
+
|| (second = charCodeAt$1(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
3417
|
+
? CONVERT_TO_STRING
|
|
3418
|
+
? charAt$3(S, position)
|
|
3419
|
+
: first
|
|
3420
|
+
: CONVERT_TO_STRING
|
|
3421
|
+
? stringSlice$3(S, position, position + 2)
|
|
3422
|
+
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
3423
|
+
};
|
|
3424
|
+
};
|
|
3425
|
+
|
|
3426
|
+
var stringMultibyte = {
|
|
3427
|
+
// `String.prototype.codePointAt` method
|
|
3428
|
+
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
3429
|
+
codeAt: createMethod$2(false),
|
|
3430
|
+
// `String.prototype.at` method
|
|
3431
|
+
// https://github.com/mathiasbynens/String.prototype.at
|
|
3432
|
+
charAt: createMethod$2(true)
|
|
3433
|
+
};
|
|
3434
|
+
|
|
3435
|
+
var charAt$2 = stringMultibyte.charAt;
|
|
3436
|
+
|
|
3437
|
+
// `AdvanceStringIndex` abstract operation
|
|
3438
|
+
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
3439
|
+
var advanceStringIndex$1 = function (S, index, unicode) {
|
|
3440
|
+
return index + (unicode ? charAt$2(S, index).length : 1);
|
|
3441
|
+
};
|
|
3442
|
+
|
|
3443
|
+
var uncurryThis$a = functionUncurryThis;
|
|
3444
|
+
var toObject$3 = toObject$8;
|
|
3445
|
+
|
|
3446
|
+
var floor$1 = Math.floor;
|
|
3447
|
+
var charAt$1 = uncurryThis$a(''.charAt);
|
|
3448
|
+
var replace$2 = uncurryThis$a(''.replace);
|
|
3449
|
+
var stringSlice$2 = uncurryThis$a(''.slice);
|
|
3450
|
+
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
3451
|
+
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
3452
|
+
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
3453
|
+
|
|
3454
|
+
// `GetSubstitution` abstract operation
|
|
3455
|
+
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
3456
|
+
var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
3457
|
+
var tailPos = position + matched.length;
|
|
3458
|
+
var m = captures.length;
|
|
3459
|
+
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
3460
|
+
if (namedCaptures !== undefined) {
|
|
3461
|
+
namedCaptures = toObject$3(namedCaptures);
|
|
3462
|
+
symbols = SUBSTITUTION_SYMBOLS;
|
|
3463
|
+
}
|
|
3464
|
+
return replace$2(replacement, symbols, function (match, ch) {
|
|
3465
|
+
var capture;
|
|
3466
|
+
switch (charAt$1(ch, 0)) {
|
|
3467
|
+
case '$': return '$';
|
|
3468
|
+
case '&': return matched;
|
|
3469
|
+
case '`': return stringSlice$2(str, 0, position);
|
|
3470
|
+
case "'": return stringSlice$2(str, tailPos);
|
|
3471
|
+
case '<':
|
|
3472
|
+
capture = namedCaptures[stringSlice$2(ch, 1, -1)];
|
|
3473
|
+
break;
|
|
3474
|
+
default: // \d\d?
|
|
3475
|
+
var n = +ch;
|
|
3476
|
+
if (n === 0) return match;
|
|
3477
|
+
if (n > m) {
|
|
3478
|
+
var f = floor$1(n / 10);
|
|
3479
|
+
if (f === 0) return match;
|
|
3480
|
+
if (f <= m) return captures[f - 1] === undefined ? charAt$1(ch, 1) : captures[f - 1] + charAt$1(ch, 1);
|
|
3481
|
+
return match;
|
|
3482
|
+
}
|
|
3483
|
+
capture = captures[n - 1];
|
|
3484
|
+
}
|
|
3485
|
+
return capture === undefined ? '' : capture;
|
|
3486
|
+
});
|
|
3487
|
+
};
|
|
3488
|
+
|
|
3489
|
+
var call$9 = functionCall;
|
|
3490
|
+
var anObject$d = anObject$o;
|
|
3491
|
+
var isCallable$5 = isCallable$s;
|
|
3492
|
+
var classof$2 = classofRaw$2;
|
|
3493
|
+
var regexpExec = regexpExec$2;
|
|
3494
|
+
|
|
3495
|
+
var $TypeError$6 = TypeError;
|
|
3496
|
+
|
|
3497
|
+
// `RegExpExec` abstract operation
|
|
3498
|
+
// https://tc39.es/ecma262/#sec-regexpexec
|
|
3499
|
+
var regexpExecAbstract = function (R, S) {
|
|
3500
|
+
var exec = R.exec;
|
|
3501
|
+
if (isCallable$5(exec)) {
|
|
3502
|
+
var result = call$9(exec, R, S);
|
|
3503
|
+
if (result !== null) anObject$d(result);
|
|
3504
|
+
return result;
|
|
3505
|
+
}
|
|
3506
|
+
if (classof$2(R) === 'RegExp') return call$9(regexpExec, R, S);
|
|
3507
|
+
throw new $TypeError$6('RegExp#exec called on incompatible receiver');
|
|
3508
|
+
};
|
|
3509
|
+
|
|
3510
|
+
var apply$2 = functionApply;
|
|
3511
|
+
var call$8 = functionCall;
|
|
3512
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
3513
|
+
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
3514
|
+
var fails$8 = fails$t;
|
|
3515
|
+
var anObject$c = anObject$o;
|
|
3516
|
+
var isCallable$4 = isCallable$s;
|
|
3517
|
+
var isNullOrUndefined = isNullOrUndefined$5;
|
|
3518
|
+
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
3519
|
+
var toLength$1 = toLength$3;
|
|
3520
|
+
var toString$7 = toString$c;
|
|
3521
|
+
var requireObjectCoercible$3 = requireObjectCoercible$8;
|
|
3522
|
+
var advanceStringIndex = advanceStringIndex$1;
|
|
3523
|
+
var getMethod$1 = getMethod$5;
|
|
3524
|
+
var getSubstitution = getSubstitution$1;
|
|
3525
|
+
var regExpExec = regexpExecAbstract;
|
|
3526
|
+
var wellKnownSymbol$6 = wellKnownSymbol$l;
|
|
3527
|
+
|
|
3528
|
+
var REPLACE = wellKnownSymbol$6('replace');
|
|
3529
|
+
var max$1 = Math.max;
|
|
3530
|
+
var min$1 = Math.min;
|
|
3531
|
+
var concat = uncurryThis$9([].concat);
|
|
3532
|
+
var push$2 = uncurryThis$9([].push);
|
|
3533
|
+
var stringIndexOf$1 = uncurryThis$9(''.indexOf);
|
|
3534
|
+
var stringSlice$1 = uncurryThis$9(''.slice);
|
|
3535
|
+
|
|
3536
|
+
var maybeToString = function (it) {
|
|
3537
|
+
return it === undefined ? it : String(it);
|
|
3538
|
+
};
|
|
3539
|
+
|
|
3540
|
+
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
3541
|
+
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
3542
|
+
var REPLACE_KEEPS_$0 = (function () {
|
|
3543
|
+
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
3544
|
+
return 'a'.replace(/./, '$0') === '$0';
|
|
3545
|
+
})();
|
|
3546
|
+
|
|
3547
|
+
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
3548
|
+
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
3549
|
+
if (/./[REPLACE]) {
|
|
3550
|
+
return /./[REPLACE]('a', '$0') === '';
|
|
3551
|
+
}
|
|
3552
|
+
return false;
|
|
3553
|
+
})();
|
|
3554
|
+
|
|
3555
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$8(function () {
|
|
3556
|
+
var re = /./;
|
|
3557
|
+
re.exec = function () {
|
|
3558
|
+
var result = [];
|
|
3559
|
+
result.groups = { a: '7' };
|
|
3560
|
+
return result;
|
|
3561
|
+
};
|
|
3562
|
+
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
3563
|
+
return ''.replace(re, '$<a>') !== '7';
|
|
3564
|
+
});
|
|
3565
|
+
|
|
3566
|
+
// @@replace logic
|
|
3567
|
+
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
3568
|
+
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
3569
|
+
|
|
3570
|
+
return [
|
|
3571
|
+
// `String.prototype.replace` method
|
|
3572
|
+
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
3573
|
+
function replace(searchValue, replaceValue) {
|
|
3574
|
+
var O = requireObjectCoercible$3(this);
|
|
3575
|
+
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod$1(searchValue, REPLACE);
|
|
3576
|
+
return replacer
|
|
3577
|
+
? call$8(replacer, searchValue, O, replaceValue)
|
|
3578
|
+
: call$8(nativeReplace, toString$7(O), searchValue, replaceValue);
|
|
3579
|
+
},
|
|
3580
|
+
// `RegExp.prototype[@@replace]` method
|
|
3581
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
3582
|
+
function (string, replaceValue) {
|
|
3583
|
+
var rx = anObject$c(this);
|
|
3584
|
+
var S = toString$7(string);
|
|
3585
|
+
|
|
3586
|
+
if (
|
|
3587
|
+
typeof replaceValue == 'string' &&
|
|
3588
|
+
stringIndexOf$1(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
|
|
3589
|
+
stringIndexOf$1(replaceValue, '$<') === -1
|
|
3590
|
+
) {
|
|
3591
|
+
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
3592
|
+
if (res.done) return res.value;
|
|
3593
|
+
}
|
|
3594
|
+
|
|
3595
|
+
var functionalReplace = isCallable$4(replaceValue);
|
|
3596
|
+
if (!functionalReplace) replaceValue = toString$7(replaceValue);
|
|
3597
|
+
|
|
3598
|
+
var global = rx.global;
|
|
3599
|
+
var fullUnicode;
|
|
3600
|
+
if (global) {
|
|
3601
|
+
fullUnicode = rx.unicode;
|
|
3602
|
+
rx.lastIndex = 0;
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3605
|
+
var results = [];
|
|
3606
|
+
var result;
|
|
3607
|
+
while (true) {
|
|
3608
|
+
result = regExpExec(rx, S);
|
|
3609
|
+
if (result === null) break;
|
|
3610
|
+
|
|
3611
|
+
push$2(results, result);
|
|
3612
|
+
if (!global) break;
|
|
3613
|
+
|
|
3614
|
+
var matchStr = toString$7(result[0]);
|
|
3615
|
+
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$1(rx.lastIndex), fullUnicode);
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
var accumulatedResult = '';
|
|
3619
|
+
var nextSourcePosition = 0;
|
|
3620
|
+
for (var i = 0; i < results.length; i++) {
|
|
3621
|
+
result = results[i];
|
|
3622
|
+
|
|
3623
|
+
var matched = toString$7(result[0]);
|
|
3624
|
+
var position = max$1(min$1(toIntegerOrInfinity$2(result.index), S.length), 0);
|
|
3625
|
+
var captures = [];
|
|
3626
|
+
var replacement;
|
|
3627
|
+
// NOTE: This is equivalent to
|
|
3628
|
+
// captures = result.slice(1).map(maybeToString)
|
|
3629
|
+
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
3630
|
+
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
3631
|
+
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
3632
|
+
for (var j = 1; j < result.length; j++) push$2(captures, maybeToString(result[j]));
|
|
3633
|
+
var namedCaptures = result.groups;
|
|
3634
|
+
if (functionalReplace) {
|
|
3635
|
+
var replacerArgs = concat([matched], captures, position, S);
|
|
3636
|
+
if (namedCaptures !== undefined) push$2(replacerArgs, namedCaptures);
|
|
3637
|
+
replacement = toString$7(apply$2(replaceValue, undefined, replacerArgs));
|
|
3638
|
+
} else {
|
|
3639
|
+
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
3640
|
+
}
|
|
3641
|
+
if (position >= nextSourcePosition) {
|
|
3642
|
+
accumulatedResult += stringSlice$1(S, nextSourcePosition, position) + replacement;
|
|
3643
|
+
nextSourcePosition = position + matched.length;
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
return accumulatedResult + stringSlice$1(S, nextSourcePosition);
|
|
3648
|
+
}
|
|
3649
|
+
];
|
|
3650
|
+
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
3651
|
+
|
|
3124
3652
|
var DESCRIPTORS$1 = descriptors;
|
|
3125
3653
|
var definePropertyModule = objectDefineProperty;
|
|
3126
3654
|
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
@@ -3130,36 +3658,36 @@ var createProperty$1 = function (object, key, value) {
|
|
|
3130
3658
|
else object[key] = value;
|
|
3131
3659
|
};
|
|
3132
3660
|
|
|
3133
|
-
var $$
|
|
3134
|
-
var global$
|
|
3661
|
+
var $$o = _export;
|
|
3662
|
+
var global$4 = global$q;
|
|
3135
3663
|
var anInstance = anInstance$2;
|
|
3136
|
-
var anObject$
|
|
3137
|
-
var isCallable$
|
|
3664
|
+
var anObject$b = anObject$o;
|
|
3665
|
+
var isCallable$3 = isCallable$s;
|
|
3138
3666
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
3139
3667
|
var defineBuiltInAccessor = defineBuiltInAccessor$3;
|
|
3140
3668
|
var createProperty = createProperty$1;
|
|
3141
|
-
var fails$
|
|
3669
|
+
var fails$7 = fails$t;
|
|
3142
3670
|
var hasOwn$1 = hasOwnProperty_1;
|
|
3143
|
-
var wellKnownSymbol$
|
|
3671
|
+
var wellKnownSymbol$5 = wellKnownSymbol$l;
|
|
3144
3672
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
3145
3673
|
var DESCRIPTORS = descriptors;
|
|
3146
3674
|
|
|
3147
3675
|
var CONSTRUCTOR = 'constructor';
|
|
3148
3676
|
var ITERATOR$2 = 'Iterator';
|
|
3149
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
3677
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
|
|
3150
3678
|
|
|
3151
|
-
var $TypeError$
|
|
3152
|
-
var NativeIterator = global$
|
|
3679
|
+
var $TypeError$5 = TypeError;
|
|
3680
|
+
var NativeIterator = global$4[ITERATOR$2];
|
|
3153
3681
|
|
|
3154
3682
|
// FF56- have non-standard global helper `Iterator`
|
|
3155
|
-
var FORCED$3 = !isCallable$
|
|
3683
|
+
var FORCED$3 = !isCallable$3(NativeIterator)
|
|
3156
3684
|
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
3157
3685
|
// FF44- non-standard `Iterator` passes previous tests
|
|
3158
|
-
|| !fails$
|
|
3686
|
+
|| !fails$7(function () { NativeIterator({}); });
|
|
3159
3687
|
|
|
3160
3688
|
var IteratorConstructor = function Iterator() {
|
|
3161
3689
|
anInstance(this, IteratorPrototype$1);
|
|
3162
|
-
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$
|
|
3690
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$5('Abstract class Iterator not directly constructable');
|
|
3163
3691
|
};
|
|
3164
3692
|
|
|
3165
3693
|
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
@@ -3170,8 +3698,8 @@ var defineIteratorPrototypeAccessor = function (key, value) {
|
|
|
3170
3698
|
return value;
|
|
3171
3699
|
},
|
|
3172
3700
|
set: function (replacement) {
|
|
3173
|
-
anObject$
|
|
3174
|
-
if (this === IteratorPrototype$1) throw new $TypeError$
|
|
3701
|
+
anObject$b(this);
|
|
3702
|
+
if (this === IteratorPrototype$1) throw new $TypeError$5("You can't redefine this property");
|
|
3175
3703
|
if (hasOwn$1(this, key)) this[key] = replacement;
|
|
3176
3704
|
else createProperty(this, key, replacement);
|
|
3177
3705
|
}
|
|
@@ -3189,7 +3717,7 @@ IteratorConstructor.prototype = IteratorPrototype$1;
|
|
|
3189
3717
|
|
|
3190
3718
|
// `Iterator` constructor
|
|
3191
3719
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
3192
|
-
$$
|
|
3720
|
+
$$o({ global: true, constructor: true, forced: FORCED$3 }, {
|
|
3193
3721
|
Iterator: IteratorConstructor
|
|
3194
3722
|
});
|
|
3195
3723
|
|
|
@@ -3203,25 +3731,25 @@ var getIteratorDirect$8 = function (obj) {
|
|
|
3203
3731
|
};
|
|
3204
3732
|
};
|
|
3205
3733
|
|
|
3206
|
-
var defineBuiltIn$
|
|
3734
|
+
var defineBuiltIn$1 = defineBuiltIn$9;
|
|
3207
3735
|
|
|
3208
3736
|
var defineBuiltIns$1 = function (target, src, options) {
|
|
3209
|
-
for (var key in src) defineBuiltIn$
|
|
3737
|
+
for (var key in src) defineBuiltIn$1(target, key, src[key], options);
|
|
3210
3738
|
return target;
|
|
3211
3739
|
};
|
|
3212
3740
|
|
|
3213
|
-
var call$
|
|
3214
|
-
var create$
|
|
3215
|
-
var createNonEnumerableProperty$
|
|
3741
|
+
var call$7 = functionCall;
|
|
3742
|
+
var create$1 = objectCreate;
|
|
3743
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$9;
|
|
3216
3744
|
var defineBuiltIns = defineBuiltIns$1;
|
|
3217
|
-
var wellKnownSymbol$
|
|
3745
|
+
var wellKnownSymbol$4 = wellKnownSymbol$l;
|
|
3218
3746
|
var InternalStateModule = internalState;
|
|
3219
|
-
var getMethod
|
|
3747
|
+
var getMethod = getMethod$5;
|
|
3220
3748
|
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3221
3749
|
var createIterResultObject = createIterResultObject$2;
|
|
3222
3750
|
var iteratorClose$3 = iteratorClose$5;
|
|
3223
3751
|
|
|
3224
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
3752
|
+
var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');
|
|
3225
3753
|
var ITERATOR_HELPER = 'IteratorHelper';
|
|
3226
3754
|
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
3227
3755
|
var setInternalState = InternalStateModule.set;
|
|
@@ -3229,7 +3757,7 @@ var setInternalState = InternalStateModule.set;
|
|
|
3229
3757
|
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
3230
3758
|
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
3231
3759
|
|
|
3232
|
-
return defineBuiltIns(create$
|
|
3760
|
+
return defineBuiltIns(create$1(IteratorPrototype), {
|
|
3233
3761
|
next: function next() {
|
|
3234
3762
|
var state = getInternalState(this);
|
|
3235
3763
|
// for simplification:
|
|
@@ -3249,8 +3777,8 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
3249
3777
|
var iterator = state.iterator;
|
|
3250
3778
|
state.done = true;
|
|
3251
3779
|
if (IS_ITERATOR) {
|
|
3252
|
-
var returnMethod = getMethod
|
|
3253
|
-
return returnMethod ? call$
|
|
3780
|
+
var returnMethod = getMethod(iterator, 'return');
|
|
3781
|
+
return returnMethod ? call$7(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
3254
3782
|
}
|
|
3255
3783
|
if (state.inner) try {
|
|
3256
3784
|
iteratorClose$3(state.inner.iterator, 'normal');
|
|
@@ -3266,7 +3794,7 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
|
3266
3794
|
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
3267
3795
|
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
3268
3796
|
|
|
3269
|
-
createNonEnumerableProperty$
|
|
3797
|
+
createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
3270
3798
|
|
|
3271
3799
|
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
3272
3800
|
var IteratorProxy = function Iterator(record, state) {
|
|
@@ -3286,22 +3814,22 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
|
3286
3814
|
return IteratorProxy;
|
|
3287
3815
|
};
|
|
3288
3816
|
|
|
3289
|
-
var anObject$
|
|
3817
|
+
var anObject$a = anObject$o;
|
|
3290
3818
|
var iteratorClose$2 = iteratorClose$5;
|
|
3291
3819
|
|
|
3292
3820
|
// call something on iterator step with safe closing on error
|
|
3293
3821
|
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
3294
3822
|
try {
|
|
3295
|
-
return ENTRIES ? fn(anObject$
|
|
3823
|
+
return ENTRIES ? fn(anObject$a(value)[0], value[1]) : fn(value);
|
|
3296
3824
|
} catch (error) {
|
|
3297
3825
|
iteratorClose$2(iterator, 'throw', error);
|
|
3298
3826
|
}
|
|
3299
3827
|
};
|
|
3300
3828
|
|
|
3301
|
-
var $$
|
|
3302
|
-
var call$
|
|
3829
|
+
var $$n = _export;
|
|
3830
|
+
var call$6 = functionCall;
|
|
3303
3831
|
var aCallable$9 = aCallable$i;
|
|
3304
|
-
var anObject$
|
|
3832
|
+
var anObject$9 = anObject$o;
|
|
3305
3833
|
var getIteratorDirect$7 = getIteratorDirect$8;
|
|
3306
3834
|
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
3307
3835
|
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
@@ -3313,7 +3841,7 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
3313
3841
|
var next = this.next;
|
|
3314
3842
|
var result, done, value;
|
|
3315
3843
|
while (true) {
|
|
3316
|
-
result = anObject$
|
|
3844
|
+
result = anObject$9(call$6(next, iterator));
|
|
3317
3845
|
done = this.done = !!result.done;
|
|
3318
3846
|
if (done) return;
|
|
3319
3847
|
value = result.value;
|
|
@@ -3323,9 +3851,9 @@ var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
|
3323
3851
|
|
|
3324
3852
|
// `Iterator.prototype.filter` method
|
|
3325
3853
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
3326
|
-
$$
|
|
3854
|
+
$$n({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
3327
3855
|
filter: function filter(predicate) {
|
|
3328
|
-
anObject$
|
|
3856
|
+
anObject$9(this);
|
|
3329
3857
|
aCallable$9(predicate);
|
|
3330
3858
|
return new IteratorProxy$1(getIteratorDirect$7(this), {
|
|
3331
3859
|
predicate: predicate
|
|
@@ -3333,17 +3861,17 @@ $$o({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
|
3333
3861
|
}
|
|
3334
3862
|
});
|
|
3335
3863
|
|
|
3336
|
-
var $$
|
|
3864
|
+
var $$m = _export;
|
|
3337
3865
|
var iterate$6 = iterate$9;
|
|
3338
3866
|
var aCallable$8 = aCallable$i;
|
|
3339
|
-
var anObject$
|
|
3867
|
+
var anObject$8 = anObject$o;
|
|
3340
3868
|
var getIteratorDirect$6 = getIteratorDirect$8;
|
|
3341
3869
|
|
|
3342
3870
|
// `Iterator.prototype.find` method
|
|
3343
3871
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
3344
|
-
$$
|
|
3872
|
+
$$m({ target: 'Iterator', proto: true, real: true }, {
|
|
3345
3873
|
find: function find(predicate) {
|
|
3346
|
-
anObject$
|
|
3874
|
+
anObject$8(this);
|
|
3347
3875
|
aCallable$8(predicate);
|
|
3348
3876
|
var record = getIteratorDirect$6(this);
|
|
3349
3877
|
var counter = 0;
|
|
@@ -3353,17 +3881,17 @@ $$n({ target: 'Iterator', proto: true, real: true }, {
|
|
|
3353
3881
|
}
|
|
3354
3882
|
});
|
|
3355
3883
|
|
|
3356
|
-
var $$
|
|
3884
|
+
var $$l = _export;
|
|
3357
3885
|
var iterate$5 = iterate$9;
|
|
3358
3886
|
var aCallable$7 = aCallable$i;
|
|
3359
|
-
var anObject$
|
|
3887
|
+
var anObject$7 = anObject$o;
|
|
3360
3888
|
var getIteratorDirect$5 = getIteratorDirect$8;
|
|
3361
3889
|
|
|
3362
3890
|
// `Iterator.prototype.forEach` method
|
|
3363
3891
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
3364
|
-
$$
|
|
3892
|
+
$$l({ target: 'Iterator', proto: true, real: true }, {
|
|
3365
3893
|
forEach: function forEach(fn) {
|
|
3366
|
-
anObject$
|
|
3894
|
+
anObject$7(this);
|
|
3367
3895
|
aCallable$7(fn);
|
|
3368
3896
|
var record = getIteratorDirect$5(this);
|
|
3369
3897
|
var counter = 0;
|
|
@@ -3373,16 +3901,16 @@ $$m({ target: 'Iterator', proto: true, real: true }, {
|
|
|
3373
3901
|
}
|
|
3374
3902
|
});
|
|
3375
3903
|
|
|
3376
|
-
var call$
|
|
3904
|
+
var call$5 = functionCall;
|
|
3377
3905
|
var aCallable$6 = aCallable$i;
|
|
3378
|
-
var anObject$
|
|
3906
|
+
var anObject$6 = anObject$o;
|
|
3379
3907
|
var getIteratorDirect$4 = getIteratorDirect$8;
|
|
3380
3908
|
var createIteratorProxy = iteratorCreateProxy;
|
|
3381
3909
|
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
3382
3910
|
|
|
3383
3911
|
var IteratorProxy = createIteratorProxy(function () {
|
|
3384
3912
|
var iterator = this.iterator;
|
|
3385
|
-
var result = anObject$
|
|
3913
|
+
var result = anObject$6(call$5(this.next, iterator));
|
|
3386
3914
|
var done = this.done = !!result.done;
|
|
3387
3915
|
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
3388
3916
|
});
|
|
@@ -3390,20 +3918,20 @@ var IteratorProxy = createIteratorProxy(function () {
|
|
|
3390
3918
|
// `Iterator.prototype.map` method
|
|
3391
3919
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
3392
3920
|
var iteratorMap = function map(mapper) {
|
|
3393
|
-
anObject$
|
|
3921
|
+
anObject$6(this);
|
|
3394
3922
|
aCallable$6(mapper);
|
|
3395
3923
|
return new IteratorProxy(getIteratorDirect$4(this), {
|
|
3396
3924
|
mapper: mapper
|
|
3397
3925
|
});
|
|
3398
3926
|
};
|
|
3399
3927
|
|
|
3400
|
-
var $$
|
|
3928
|
+
var $$k = _export;
|
|
3401
3929
|
var map = iteratorMap;
|
|
3402
3930
|
var IS_PURE = isPure;
|
|
3403
3931
|
|
|
3404
3932
|
// `Iterator.prototype.map` method
|
|
3405
3933
|
// https://github.com/tc39/proposal-iterator-helpers
|
|
3406
|
-
$$
|
|
3934
|
+
$$k({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
3407
3935
|
map: map
|
|
3408
3936
|
});
|
|
3409
3937
|
|
|
@@ -3451,22 +3979,22 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
3451
3979
|
|
|
3452
3980
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
3453
3981
|
|
|
3454
|
-
var global$
|
|
3982
|
+
var global$3 = global$q;
|
|
3455
3983
|
var DOMIterables = domIterables;
|
|
3456
3984
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3457
3985
|
var ArrayIteratorMethods = es_array_iterator;
|
|
3458
|
-
var createNonEnumerableProperty
|
|
3986
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$9;
|
|
3459
3987
|
var setToStringTag = setToStringTag$4;
|
|
3460
|
-
var wellKnownSymbol$
|
|
3988
|
+
var wellKnownSymbol$3 = wellKnownSymbol$l;
|
|
3461
3989
|
|
|
3462
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
3990
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
3463
3991
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
3464
3992
|
|
|
3465
3993
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
3466
3994
|
if (CollectionPrototype) {
|
|
3467
3995
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3468
3996
|
if (CollectionPrototype[ITERATOR$1] !== ArrayValues) try {
|
|
3469
|
-
createNonEnumerableProperty
|
|
3997
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$1, ArrayValues);
|
|
3470
3998
|
} catch (error) {
|
|
3471
3999
|
CollectionPrototype[ITERATOR$1] = ArrayValues;
|
|
3472
4000
|
}
|
|
@@ -3474,7 +4002,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
3474
4002
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
3475
4003
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3476
4004
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
3477
|
-
createNonEnumerableProperty
|
|
4005
|
+
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
3478
4006
|
} catch (error) {
|
|
3479
4007
|
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
3480
4008
|
}
|
|
@@ -3483,7 +4011,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
3483
4011
|
};
|
|
3484
4012
|
|
|
3485
4013
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
3486
|
-
handlePrototype(global$
|
|
4014
|
+
handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
3487
4015
|
}
|
|
3488
4016
|
|
|
3489
4017
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -9924,23 +10452,23 @@ function SearchBar(props) {
|
|
|
9924
10452
|
});
|
|
9925
10453
|
}
|
|
9926
10454
|
|
|
9927
|
-
var uncurryThis$
|
|
10455
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
9928
10456
|
var isArray$2 = isArray$4;
|
|
9929
|
-
var isCallable$
|
|
9930
|
-
var classof$
|
|
9931
|
-
var toString$
|
|
10457
|
+
var isCallable$2 = isCallable$s;
|
|
10458
|
+
var classof$1 = classofRaw$2;
|
|
10459
|
+
var toString$6 = toString$c;
|
|
9932
10460
|
|
|
9933
|
-
var push$
|
|
10461
|
+
var push$1 = uncurryThis$8([].push);
|
|
9934
10462
|
|
|
9935
10463
|
var getJsonReplacerFunction = function (replacer) {
|
|
9936
|
-
if (isCallable$
|
|
10464
|
+
if (isCallable$2(replacer)) return replacer;
|
|
9937
10465
|
if (!isArray$2(replacer)) return;
|
|
9938
10466
|
var rawLength = replacer.length;
|
|
9939
10467
|
var keys = [];
|
|
9940
10468
|
for (var i = 0; i < rawLength; i++) {
|
|
9941
10469
|
var element = replacer[i];
|
|
9942
|
-
if (typeof element == 'string') push$
|
|
9943
|
-
else if (typeof element == 'number' || classof$
|
|
10470
|
+
if (typeof element == 'string') push$1(keys, element);
|
|
10471
|
+
else if (typeof element == 'number' || classof$1(element) === 'Number' || classof$1(element) === 'String') push$1(keys, toString$6(element));
|
|
9944
10472
|
}
|
|
9945
10473
|
var keysLength = keys.length;
|
|
9946
10474
|
var root = true;
|
|
@@ -9954,13 +10482,13 @@ var getJsonReplacerFunction = function (replacer) {
|
|
|
9954
10482
|
};
|
|
9955
10483
|
};
|
|
9956
10484
|
|
|
9957
|
-
var $$
|
|
10485
|
+
var $$j = _export;
|
|
9958
10486
|
var getBuiltIn$1 = getBuiltIn$b;
|
|
9959
|
-
var apply$
|
|
9960
|
-
var call$
|
|
9961
|
-
var uncurryThis$
|
|
9962
|
-
var fails$
|
|
9963
|
-
var isCallable$
|
|
10487
|
+
var apply$1 = functionApply;
|
|
10488
|
+
var call$4 = functionCall;
|
|
10489
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
10490
|
+
var fails$6 = fails$t;
|
|
10491
|
+
var isCallable$1 = isCallable$s;
|
|
9964
10492
|
var isSymbol = isSymbol$3;
|
|
9965
10493
|
var arraySlice$1 = arraySlice$3;
|
|
9966
10494
|
var getReplacerFunction = getJsonReplacerFunction;
|
|
@@ -9968,17 +10496,17 @@ var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
|
9968
10496
|
|
|
9969
10497
|
var $String = String;
|
|
9970
10498
|
var $stringify = getBuiltIn$1('JSON', 'stringify');
|
|
9971
|
-
var exec$
|
|
9972
|
-
var charAt
|
|
9973
|
-
var charCodeAt
|
|
9974
|
-
var replace$
|
|
9975
|
-
var numberToString = uncurryThis$
|
|
10499
|
+
var exec$1 = uncurryThis$7(/./.exec);
|
|
10500
|
+
var charAt = uncurryThis$7(''.charAt);
|
|
10501
|
+
var charCodeAt = uncurryThis$7(''.charCodeAt);
|
|
10502
|
+
var replace$1 = uncurryThis$7(''.replace);
|
|
10503
|
+
var numberToString = uncurryThis$7(1.0.toString);
|
|
9976
10504
|
|
|
9977
10505
|
var tester = /[\uD800-\uDFFF]/g;
|
|
9978
10506
|
var low = /^[\uD800-\uDBFF]$/;
|
|
9979
10507
|
var hi = /^[\uDC00-\uDFFF]$/;
|
|
9980
10508
|
|
|
9981
|
-
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$
|
|
10509
|
+
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$6(function () {
|
|
9982
10510
|
var symbol = getBuiltIn$1('Symbol')('stringify detection');
|
|
9983
10511
|
// MS Edge converts symbol values to JSON as {}
|
|
9984
10512
|
return $stringify([symbol]) !== '[null]'
|
|
@@ -9989,7 +10517,7 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$b(function () {
|
|
|
9989
10517
|
});
|
|
9990
10518
|
|
|
9991
10519
|
// https://github.com/tc39/proposal-well-formed-stringify
|
|
9992
|
-
var ILL_FORMED_UNICODE = fails$
|
|
10520
|
+
var ILL_FORMED_UNICODE = fails$6(function () {
|
|
9993
10521
|
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|
|
9994
10522
|
|| $stringify('\uDEAD') !== '"\\udead"';
|
|
9995
10523
|
});
|
|
@@ -9997,32 +10525,32 @@ var ILL_FORMED_UNICODE = fails$b(function () {
|
|
|
9997
10525
|
var stringifyWithSymbolsFix = function (it, replacer) {
|
|
9998
10526
|
var args = arraySlice$1(arguments);
|
|
9999
10527
|
var $replacer = getReplacerFunction(replacer);
|
|
10000
|
-
if (!isCallable$
|
|
10528
|
+
if (!isCallable$1($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
|
|
10001
10529
|
args[1] = function (key, value) {
|
|
10002
10530
|
// some old implementations (like WebKit) could pass numbers as keys
|
|
10003
|
-
if (isCallable$
|
|
10531
|
+
if (isCallable$1($replacer)) value = call$4($replacer, this, $String(key), value);
|
|
10004
10532
|
if (!isSymbol(value)) return value;
|
|
10005
10533
|
};
|
|
10006
|
-
return apply$
|
|
10534
|
+
return apply$1($stringify, null, args);
|
|
10007
10535
|
};
|
|
10008
10536
|
|
|
10009
10537
|
var fixIllFormed = function (match, offset, string) {
|
|
10010
|
-
var prev = charAt
|
|
10011
|
-
var next = charAt
|
|
10012
|
-
if ((exec$
|
|
10013
|
-
return '\\u' + numberToString(charCodeAt
|
|
10538
|
+
var prev = charAt(string, offset - 1);
|
|
10539
|
+
var next = charAt(string, offset + 1);
|
|
10540
|
+
if ((exec$1(low, match) && !exec$1(hi, next)) || (exec$1(hi, match) && !exec$1(low, prev))) {
|
|
10541
|
+
return '\\u' + numberToString(charCodeAt(match, 0), 16);
|
|
10014
10542
|
} return match;
|
|
10015
10543
|
};
|
|
10016
10544
|
|
|
10017
10545
|
if ($stringify) {
|
|
10018
10546
|
// `JSON.stringify` method
|
|
10019
10547
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
10020
|
-
$$
|
|
10548
|
+
$$j({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
10021
10549
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
10022
10550
|
stringify: function stringify(it, replacer, space) {
|
|
10023
10551
|
var args = arraySlice$1(arguments);
|
|
10024
|
-
var result = apply$
|
|
10025
|
-
return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$
|
|
10552
|
+
var result = apply$1(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
|
|
10553
|
+
return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$1(result, tester, fixIllFormed) : result;
|
|
10026
10554
|
}
|
|
10027
10555
|
});
|
|
10028
10556
|
}
|
|
@@ -10527,31 +11055,31 @@ function FooterBar(props) {
|
|
|
10527
11055
|
}
|
|
10528
11056
|
|
|
10529
11057
|
var isObject$2 = isObject$g;
|
|
10530
|
-
var classof
|
|
10531
|
-
var wellKnownSymbol$
|
|
11058
|
+
var classof = classofRaw$2;
|
|
11059
|
+
var wellKnownSymbol$2 = wellKnownSymbol$l;
|
|
10532
11060
|
|
|
10533
|
-
var MATCH$1 = wellKnownSymbol$
|
|
11061
|
+
var MATCH$1 = wellKnownSymbol$2('match');
|
|
10534
11062
|
|
|
10535
11063
|
// `IsRegExp` abstract operation
|
|
10536
11064
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
10537
11065
|
var isRegexp = function (it) {
|
|
10538
11066
|
var isRegExp;
|
|
10539
|
-
return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof
|
|
11067
|
+
return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');
|
|
10540
11068
|
};
|
|
10541
11069
|
|
|
10542
11070
|
var isRegExp = isRegexp;
|
|
10543
11071
|
|
|
10544
|
-
var $TypeError$
|
|
11072
|
+
var $TypeError$4 = TypeError;
|
|
10545
11073
|
|
|
10546
11074
|
var notARegexp = function (it) {
|
|
10547
11075
|
if (isRegExp(it)) {
|
|
10548
|
-
throw new $TypeError$
|
|
11076
|
+
throw new $TypeError$4("The method doesn't accept regular expressions");
|
|
10549
11077
|
} return it;
|
|
10550
11078
|
};
|
|
10551
11079
|
|
|
10552
|
-
var wellKnownSymbol$
|
|
11080
|
+
var wellKnownSymbol$1 = wellKnownSymbol$l;
|
|
10553
11081
|
|
|
10554
|
-
var MATCH = wellKnownSymbol$
|
|
11082
|
+
var MATCH = wellKnownSymbol$1('match');
|
|
10555
11083
|
|
|
10556
11084
|
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
10557
11085
|
var regexp = /./;
|
|
@@ -10565,17 +11093,17 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
10565
11093
|
} return false;
|
|
10566
11094
|
};
|
|
10567
11095
|
|
|
10568
|
-
var $$
|
|
10569
|
-
var uncurryThis$
|
|
11096
|
+
var $$i = _export;
|
|
11097
|
+
var uncurryThis$6 = functionUncurryThisClause;
|
|
10570
11098
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
10571
|
-
var toLength
|
|
10572
|
-
var toString$
|
|
11099
|
+
var toLength = toLength$3;
|
|
11100
|
+
var toString$5 = toString$c;
|
|
10573
11101
|
var notARegExp$1 = notARegexp;
|
|
10574
|
-
var requireObjectCoercible$
|
|
11102
|
+
var requireObjectCoercible$2 = requireObjectCoercible$8;
|
|
10575
11103
|
var correctIsRegExpLogic$1 = correctIsRegexpLogic;
|
|
10576
11104
|
|
|
10577
|
-
var stringSlice
|
|
10578
|
-
var min
|
|
11105
|
+
var stringSlice = uncurryThis$6(''.slice);
|
|
11106
|
+
var min = Math.min;
|
|
10579
11107
|
|
|
10580
11108
|
var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic$1('startsWith');
|
|
10581
11109
|
// https://github.com/zloirock/core-js/pull/702
|
|
@@ -10586,13 +11114,13 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
|
10586
11114
|
|
|
10587
11115
|
// `String.prototype.startsWith` method
|
|
10588
11116
|
// https://tc39.es/ecma262/#sec-string.prototype.startswith
|
|
10589
|
-
$$
|
|
11117
|
+
$$i({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
10590
11118
|
startsWith: function startsWith(searchString /* , position = 0 */) {
|
|
10591
|
-
var that = toString$
|
|
11119
|
+
var that = toString$5(requireObjectCoercible$2(this));
|
|
10592
11120
|
notARegExp$1(searchString);
|
|
10593
|
-
var index = toLength
|
|
10594
|
-
var search = toString$
|
|
10595
|
-
return stringSlice
|
|
11121
|
+
var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
|
|
11122
|
+
var search = toString$5(searchString);
|
|
11123
|
+
return stringSlice(that, index, index + search.length) === search;
|
|
10596
11124
|
}
|
|
10597
11125
|
});
|
|
10598
11126
|
|
|
@@ -12836,9 +13364,9 @@ var flattenIntoArray_1 = flattenIntoArray$1;
|
|
|
12836
13364
|
var isArray = isArray$4;
|
|
12837
13365
|
var isConstructor = isConstructor$2;
|
|
12838
13366
|
var isObject$1 = isObject$g;
|
|
12839
|
-
var wellKnownSymbol
|
|
13367
|
+
var wellKnownSymbol = wellKnownSymbol$l;
|
|
12840
13368
|
|
|
12841
|
-
var SPECIES
|
|
13369
|
+
var SPECIES = wellKnownSymbol('species');
|
|
12842
13370
|
var $Array = Array;
|
|
12843
13371
|
|
|
12844
13372
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
@@ -12850,7 +13378,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
12850
13378
|
// cross-realm fallback
|
|
12851
13379
|
if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;
|
|
12852
13380
|
else if (isObject$1(C)) {
|
|
12853
|
-
C = C[SPECIES
|
|
13381
|
+
C = C[SPECIES];
|
|
12854
13382
|
if (C === null) C = undefined;
|
|
12855
13383
|
}
|
|
12856
13384
|
} return C === undefined ? $Array : C;
|
|
@@ -12864,22 +13392,22 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
|
12864
13392
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
12865
13393
|
};
|
|
12866
13394
|
|
|
12867
|
-
var $$
|
|
13395
|
+
var $$h = _export;
|
|
12868
13396
|
var flattenIntoArray = flattenIntoArray_1;
|
|
12869
|
-
var toObject$
|
|
13397
|
+
var toObject$2 = toObject$8;
|
|
12870
13398
|
var lengthOfArrayLike$2 = lengthOfArrayLike$7;
|
|
12871
|
-
var toIntegerOrInfinity$
|
|
13399
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
|
|
12872
13400
|
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
12873
13401
|
|
|
12874
13402
|
// `Array.prototype.flat` method
|
|
12875
13403
|
// https://tc39.es/ecma262/#sec-array.prototype.flat
|
|
12876
|
-
$$
|
|
13404
|
+
$$h({ target: 'Array', proto: true }, {
|
|
12877
13405
|
flat: function flat(/* depthArg = 1 */) {
|
|
12878
13406
|
var depthArg = arguments.length ? arguments[0] : undefined;
|
|
12879
|
-
var O = toObject$
|
|
13407
|
+
var O = toObject$2(this);
|
|
12880
13408
|
var sourceLen = lengthOfArrayLike$2(O);
|
|
12881
13409
|
var A = arraySpeciesCreate(O, 0);
|
|
12882
|
-
A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity$
|
|
13410
|
+
A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity$1(depthArg));
|
|
12883
13411
|
return A;
|
|
12884
13412
|
}
|
|
12885
13413
|
});
|
|
@@ -12891,534 +13419,6 @@ var addToUnscopables$1 = addToUnscopables$3;
|
|
|
12891
13419
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
12892
13420
|
addToUnscopables$1('flat');
|
|
12893
13421
|
|
|
12894
|
-
var anObject$8 = anObject$o;
|
|
12895
|
-
|
|
12896
|
-
// `RegExp.prototype.flags` getter implementation
|
|
12897
|
-
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
12898
|
-
var regexpFlags$1 = function () {
|
|
12899
|
-
var that = anObject$8(this);
|
|
12900
|
-
var result = '';
|
|
12901
|
-
if (that.hasIndices) result += 'd';
|
|
12902
|
-
if (that.global) result += 'g';
|
|
12903
|
-
if (that.ignoreCase) result += 'i';
|
|
12904
|
-
if (that.multiline) result += 'm';
|
|
12905
|
-
if (that.dotAll) result += 's';
|
|
12906
|
-
if (that.unicode) result += 'u';
|
|
12907
|
-
if (that.unicodeSets) result += 'v';
|
|
12908
|
-
if (that.sticky) result += 'y';
|
|
12909
|
-
return result;
|
|
12910
|
-
};
|
|
12911
|
-
|
|
12912
|
-
var fails$a = fails$t;
|
|
12913
|
-
var global$5 = global$q;
|
|
12914
|
-
|
|
12915
|
-
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
12916
|
-
var $RegExp$2 = global$5.RegExp;
|
|
12917
|
-
|
|
12918
|
-
var UNSUPPORTED_Y$1 = fails$a(function () {
|
|
12919
|
-
var re = $RegExp$2('a', 'y');
|
|
12920
|
-
re.lastIndex = 2;
|
|
12921
|
-
return re.exec('abcd') !== null;
|
|
12922
|
-
});
|
|
12923
|
-
|
|
12924
|
-
// UC Browser bug
|
|
12925
|
-
// https://github.com/zloirock/core-js/issues/1008
|
|
12926
|
-
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
12927
|
-
return !$RegExp$2('a', 'y').sticky;
|
|
12928
|
-
});
|
|
12929
|
-
|
|
12930
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
12931
|
-
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
12932
|
-
var re = $RegExp$2('^r', 'gy');
|
|
12933
|
-
re.lastIndex = 2;
|
|
12934
|
-
return re.exec('str') !== null;
|
|
12935
|
-
});
|
|
12936
|
-
|
|
12937
|
-
var regexpStickyHelpers = {
|
|
12938
|
-
BROKEN_CARET: BROKEN_CARET,
|
|
12939
|
-
MISSED_STICKY: MISSED_STICKY,
|
|
12940
|
-
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
|
12941
|
-
};
|
|
12942
|
-
|
|
12943
|
-
var fails$9 = fails$t;
|
|
12944
|
-
var global$4 = global$q;
|
|
12945
|
-
|
|
12946
|
-
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
12947
|
-
var $RegExp$1 = global$4.RegExp;
|
|
12948
|
-
|
|
12949
|
-
var regexpUnsupportedDotAll = fails$9(function () {
|
|
12950
|
-
var re = $RegExp$1('.', 's');
|
|
12951
|
-
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
12952
|
-
});
|
|
12953
|
-
|
|
12954
|
-
var fails$8 = fails$t;
|
|
12955
|
-
var global$3 = global$q;
|
|
12956
|
-
|
|
12957
|
-
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
12958
|
-
var $RegExp = global$3.RegExp;
|
|
12959
|
-
|
|
12960
|
-
var regexpUnsupportedNcg = fails$8(function () {
|
|
12961
|
-
var re = $RegExp('(?<a>b)', 'g');
|
|
12962
|
-
return re.exec('b').groups.a !== 'b' ||
|
|
12963
|
-
'b'.replace(re, '$<a>c') !== 'bc';
|
|
12964
|
-
});
|
|
12965
|
-
|
|
12966
|
-
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
12967
|
-
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
12968
|
-
var call$7 = functionCall;
|
|
12969
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
12970
|
-
var toString$7 = toString$c;
|
|
12971
|
-
var regexpFlags = regexpFlags$1;
|
|
12972
|
-
var stickyHelpers = regexpStickyHelpers;
|
|
12973
|
-
var shared$1 = shared$5;
|
|
12974
|
-
var create$1 = objectCreate;
|
|
12975
|
-
var getInternalState = internalState.get;
|
|
12976
|
-
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
12977
|
-
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
12978
|
-
|
|
12979
|
-
var nativeReplace = shared$1('native-string-replace', String.prototype.replace);
|
|
12980
|
-
var nativeExec = RegExp.prototype.exec;
|
|
12981
|
-
var patchedExec = nativeExec;
|
|
12982
|
-
var charAt$3 = uncurryThis$9(''.charAt);
|
|
12983
|
-
var indexOf = uncurryThis$9(''.indexOf);
|
|
12984
|
-
var replace$2 = uncurryThis$9(''.replace);
|
|
12985
|
-
var stringSlice$3 = uncurryThis$9(''.slice);
|
|
12986
|
-
|
|
12987
|
-
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
12988
|
-
var re1 = /a/;
|
|
12989
|
-
var re2 = /b*/g;
|
|
12990
|
-
call$7(nativeExec, re1, 'a');
|
|
12991
|
-
call$7(nativeExec, re2, 'a');
|
|
12992
|
-
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
12993
|
-
})();
|
|
12994
|
-
|
|
12995
|
-
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
|
12996
|
-
|
|
12997
|
-
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
|
12998
|
-
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
|
12999
|
-
|
|
13000
|
-
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
|
13001
|
-
|
|
13002
|
-
if (PATCH) {
|
|
13003
|
-
patchedExec = function exec(string) {
|
|
13004
|
-
var re = this;
|
|
13005
|
-
var state = getInternalState(re);
|
|
13006
|
-
var str = toString$7(string);
|
|
13007
|
-
var raw = state.raw;
|
|
13008
|
-
var result, reCopy, lastIndex, match, i, object, group;
|
|
13009
|
-
|
|
13010
|
-
if (raw) {
|
|
13011
|
-
raw.lastIndex = re.lastIndex;
|
|
13012
|
-
result = call$7(patchedExec, raw, str);
|
|
13013
|
-
re.lastIndex = raw.lastIndex;
|
|
13014
|
-
return result;
|
|
13015
|
-
}
|
|
13016
|
-
|
|
13017
|
-
var groups = state.groups;
|
|
13018
|
-
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
13019
|
-
var flags = call$7(regexpFlags, re);
|
|
13020
|
-
var source = re.source;
|
|
13021
|
-
var charsAdded = 0;
|
|
13022
|
-
var strCopy = str;
|
|
13023
|
-
|
|
13024
|
-
if (sticky) {
|
|
13025
|
-
flags = replace$2(flags, 'y', '');
|
|
13026
|
-
if (indexOf(flags, 'g') === -1) {
|
|
13027
|
-
flags += 'g';
|
|
13028
|
-
}
|
|
13029
|
-
|
|
13030
|
-
strCopy = stringSlice$3(str, re.lastIndex);
|
|
13031
|
-
// Support anchored sticky behavior.
|
|
13032
|
-
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {
|
|
13033
|
-
source = '(?: ' + source + ')';
|
|
13034
|
-
strCopy = ' ' + strCopy;
|
|
13035
|
-
charsAdded++;
|
|
13036
|
-
}
|
|
13037
|
-
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
|
13038
|
-
// simulate the 'y' flag.
|
|
13039
|
-
reCopy = new RegExp('^(?:' + source + ')', flags);
|
|
13040
|
-
}
|
|
13041
|
-
|
|
13042
|
-
if (NPCG_INCLUDED) {
|
|
13043
|
-
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
|
13044
|
-
}
|
|
13045
|
-
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
13046
|
-
|
|
13047
|
-
match = call$7(nativeExec, sticky ? reCopy : re, strCopy);
|
|
13048
|
-
|
|
13049
|
-
if (sticky) {
|
|
13050
|
-
if (match) {
|
|
13051
|
-
match.input = stringSlice$3(match.input, charsAdded);
|
|
13052
|
-
match[0] = stringSlice$3(match[0], charsAdded);
|
|
13053
|
-
match.index = re.lastIndex;
|
|
13054
|
-
re.lastIndex += match[0].length;
|
|
13055
|
-
} else re.lastIndex = 0;
|
|
13056
|
-
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
|
13057
|
-
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
|
13058
|
-
}
|
|
13059
|
-
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
13060
|
-
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
13061
|
-
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
13062
|
-
call$7(nativeReplace, match[0], reCopy, function () {
|
|
13063
|
-
for (i = 1; i < arguments.length - 2; i++) {
|
|
13064
|
-
if (arguments[i] === undefined) match[i] = undefined;
|
|
13065
|
-
}
|
|
13066
|
-
});
|
|
13067
|
-
}
|
|
13068
|
-
|
|
13069
|
-
if (match && groups) {
|
|
13070
|
-
match.groups = object = create$1(null);
|
|
13071
|
-
for (i = 0; i < groups.length; i++) {
|
|
13072
|
-
group = groups[i];
|
|
13073
|
-
object[group[0]] = match[group[1]];
|
|
13074
|
-
}
|
|
13075
|
-
}
|
|
13076
|
-
|
|
13077
|
-
return match;
|
|
13078
|
-
};
|
|
13079
|
-
}
|
|
13080
|
-
|
|
13081
|
-
var regexpExec$2 = patchedExec;
|
|
13082
|
-
|
|
13083
|
-
var $$h = _export;
|
|
13084
|
-
var exec$1 = regexpExec$2;
|
|
13085
|
-
|
|
13086
|
-
// `RegExp.prototype.exec` method
|
|
13087
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
13088
|
-
$$h({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
13089
|
-
exec: exec$1
|
|
13090
|
-
});
|
|
13091
|
-
|
|
13092
|
-
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
13093
|
-
|
|
13094
|
-
var call$6 = functionCall;
|
|
13095
|
-
var defineBuiltIn$1 = defineBuiltIn$9;
|
|
13096
|
-
var regexpExec$1 = regexpExec$2;
|
|
13097
|
-
var fails$7 = fails$t;
|
|
13098
|
-
var wellKnownSymbol$1 = wellKnownSymbol$l;
|
|
13099
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$9;
|
|
13100
|
-
|
|
13101
|
-
var SPECIES = wellKnownSymbol$1('species');
|
|
13102
|
-
var RegExpPrototype$2 = RegExp.prototype;
|
|
13103
|
-
|
|
13104
|
-
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
13105
|
-
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
13106
|
-
|
|
13107
|
-
var DELEGATES_TO_SYMBOL = !fails$7(function () {
|
|
13108
|
-
// String methods call symbol-named RegExp methods
|
|
13109
|
-
var O = {};
|
|
13110
|
-
O[SYMBOL] = function () { return 7; };
|
|
13111
|
-
return ''[KEY](O) !== 7;
|
|
13112
|
-
});
|
|
13113
|
-
|
|
13114
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$7(function () {
|
|
13115
|
-
// Symbol-named RegExp methods call .exec
|
|
13116
|
-
var execCalled = false;
|
|
13117
|
-
var re = /a/;
|
|
13118
|
-
|
|
13119
|
-
if (KEY === 'split') {
|
|
13120
|
-
// We can't use real regex here since it causes deoptimization
|
|
13121
|
-
// and serious performance degradation in V8
|
|
13122
|
-
// https://github.com/zloirock/core-js/issues/306
|
|
13123
|
-
re = {};
|
|
13124
|
-
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
|
13125
|
-
// a new one. We need to return the patched regex when creating the new one.
|
|
13126
|
-
re.constructor = {};
|
|
13127
|
-
re.constructor[SPECIES] = function () { return re; };
|
|
13128
|
-
re.flags = '';
|
|
13129
|
-
re[SYMBOL] = /./[SYMBOL];
|
|
13130
|
-
}
|
|
13131
|
-
|
|
13132
|
-
re.exec = function () {
|
|
13133
|
-
execCalled = true;
|
|
13134
|
-
return null;
|
|
13135
|
-
};
|
|
13136
|
-
|
|
13137
|
-
re[SYMBOL]('');
|
|
13138
|
-
return !execCalled;
|
|
13139
|
-
});
|
|
13140
|
-
|
|
13141
|
-
if (
|
|
13142
|
-
!DELEGATES_TO_SYMBOL ||
|
|
13143
|
-
!DELEGATES_TO_EXEC ||
|
|
13144
|
-
FORCED
|
|
13145
|
-
) {
|
|
13146
|
-
var nativeRegExpMethod = /./[SYMBOL];
|
|
13147
|
-
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
13148
|
-
var $exec = regexp.exec;
|
|
13149
|
-
if ($exec === regexpExec$1 || $exec === RegExpPrototype$2.exec) {
|
|
13150
|
-
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
13151
|
-
// The native String method already delegates to @@method (this
|
|
13152
|
-
// polyfilled function), leasing to infinite recursion.
|
|
13153
|
-
// We avoid it by directly calling the native @@method method.
|
|
13154
|
-
return { done: true, value: call$6(nativeRegExpMethod, regexp, str, arg2) };
|
|
13155
|
-
}
|
|
13156
|
-
return { done: true, value: call$6(nativeMethod, str, regexp, arg2) };
|
|
13157
|
-
}
|
|
13158
|
-
return { done: false };
|
|
13159
|
-
});
|
|
13160
|
-
|
|
13161
|
-
defineBuiltIn$1(String.prototype, KEY, methods[0]);
|
|
13162
|
-
defineBuiltIn$1(RegExpPrototype$2, SYMBOL, methods[1]);
|
|
13163
|
-
}
|
|
13164
|
-
|
|
13165
|
-
if (SHAM) createNonEnumerableProperty(RegExpPrototype$2[SYMBOL], 'sham', true);
|
|
13166
|
-
};
|
|
13167
|
-
|
|
13168
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
13169
|
-
var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
|
|
13170
|
-
var toString$6 = toString$c;
|
|
13171
|
-
var requireObjectCoercible$3 = requireObjectCoercible$8;
|
|
13172
|
-
|
|
13173
|
-
var charAt$2 = uncurryThis$8(''.charAt);
|
|
13174
|
-
var charCodeAt = uncurryThis$8(''.charCodeAt);
|
|
13175
|
-
var stringSlice$2 = uncurryThis$8(''.slice);
|
|
13176
|
-
|
|
13177
|
-
var createMethod$2 = function (CONVERT_TO_STRING) {
|
|
13178
|
-
return function ($this, pos) {
|
|
13179
|
-
var S = toString$6(requireObjectCoercible$3($this));
|
|
13180
|
-
var position = toIntegerOrInfinity$2(pos);
|
|
13181
|
-
var size = S.length;
|
|
13182
|
-
var first, second;
|
|
13183
|
-
if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
|
|
13184
|
-
first = charCodeAt(S, position);
|
|
13185
|
-
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
13186
|
-
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
13187
|
-
? CONVERT_TO_STRING
|
|
13188
|
-
? charAt$2(S, position)
|
|
13189
|
-
: first
|
|
13190
|
-
: CONVERT_TO_STRING
|
|
13191
|
-
? stringSlice$2(S, position, position + 2)
|
|
13192
|
-
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
13193
|
-
};
|
|
13194
|
-
};
|
|
13195
|
-
|
|
13196
|
-
var stringMultibyte = {
|
|
13197
|
-
// `String.prototype.codePointAt` method
|
|
13198
|
-
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
13199
|
-
codeAt: createMethod$2(false),
|
|
13200
|
-
// `String.prototype.at` method
|
|
13201
|
-
// https://github.com/mathiasbynens/String.prototype.at
|
|
13202
|
-
charAt: createMethod$2(true)
|
|
13203
|
-
};
|
|
13204
|
-
|
|
13205
|
-
var charAt$1 = stringMultibyte.charAt;
|
|
13206
|
-
|
|
13207
|
-
// `AdvanceStringIndex` abstract operation
|
|
13208
|
-
// https://tc39.es/ecma262/#sec-advancestringindex
|
|
13209
|
-
var advanceStringIndex$1 = function (S, index, unicode) {
|
|
13210
|
-
return index + (unicode ? charAt$1(S, index).length : 1);
|
|
13211
|
-
};
|
|
13212
|
-
|
|
13213
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
13214
|
-
var toObject$2 = toObject$8;
|
|
13215
|
-
|
|
13216
|
-
var floor$1 = Math.floor;
|
|
13217
|
-
var charAt = uncurryThis$7(''.charAt);
|
|
13218
|
-
var replace$1 = uncurryThis$7(''.replace);
|
|
13219
|
-
var stringSlice$1 = uncurryThis$7(''.slice);
|
|
13220
|
-
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
13221
|
-
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
13222
|
-
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
13223
|
-
|
|
13224
|
-
// `GetSubstitution` abstract operation
|
|
13225
|
-
// https://tc39.es/ecma262/#sec-getsubstitution
|
|
13226
|
-
var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
|
|
13227
|
-
var tailPos = position + matched.length;
|
|
13228
|
-
var m = captures.length;
|
|
13229
|
-
var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
|
|
13230
|
-
if (namedCaptures !== undefined) {
|
|
13231
|
-
namedCaptures = toObject$2(namedCaptures);
|
|
13232
|
-
symbols = SUBSTITUTION_SYMBOLS;
|
|
13233
|
-
}
|
|
13234
|
-
return replace$1(replacement, symbols, function (match, ch) {
|
|
13235
|
-
var capture;
|
|
13236
|
-
switch (charAt(ch, 0)) {
|
|
13237
|
-
case '$': return '$';
|
|
13238
|
-
case '&': return matched;
|
|
13239
|
-
case '`': return stringSlice$1(str, 0, position);
|
|
13240
|
-
case "'": return stringSlice$1(str, tailPos);
|
|
13241
|
-
case '<':
|
|
13242
|
-
capture = namedCaptures[stringSlice$1(ch, 1, -1)];
|
|
13243
|
-
break;
|
|
13244
|
-
default: // \d\d?
|
|
13245
|
-
var n = +ch;
|
|
13246
|
-
if (n === 0) return match;
|
|
13247
|
-
if (n > m) {
|
|
13248
|
-
var f = floor$1(n / 10);
|
|
13249
|
-
if (f === 0) return match;
|
|
13250
|
-
if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
|
|
13251
|
-
return match;
|
|
13252
|
-
}
|
|
13253
|
-
capture = captures[n - 1];
|
|
13254
|
-
}
|
|
13255
|
-
return capture === undefined ? '' : capture;
|
|
13256
|
-
});
|
|
13257
|
-
};
|
|
13258
|
-
|
|
13259
|
-
var call$5 = functionCall;
|
|
13260
|
-
var anObject$7 = anObject$o;
|
|
13261
|
-
var isCallable$2 = isCallable$s;
|
|
13262
|
-
var classof = classofRaw$2;
|
|
13263
|
-
var regexpExec = regexpExec$2;
|
|
13264
|
-
|
|
13265
|
-
var $TypeError$4 = TypeError;
|
|
13266
|
-
|
|
13267
|
-
// `RegExpExec` abstract operation
|
|
13268
|
-
// https://tc39.es/ecma262/#sec-regexpexec
|
|
13269
|
-
var regexpExecAbstract = function (R, S) {
|
|
13270
|
-
var exec = R.exec;
|
|
13271
|
-
if (isCallable$2(exec)) {
|
|
13272
|
-
var result = call$5(exec, R, S);
|
|
13273
|
-
if (result !== null) anObject$7(result);
|
|
13274
|
-
return result;
|
|
13275
|
-
}
|
|
13276
|
-
if (classof(R) === 'RegExp') return call$5(regexpExec, R, S);
|
|
13277
|
-
throw new $TypeError$4('RegExp#exec called on incompatible receiver');
|
|
13278
|
-
};
|
|
13279
|
-
|
|
13280
|
-
var apply$1 = functionApply;
|
|
13281
|
-
var call$4 = functionCall;
|
|
13282
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
13283
|
-
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
13284
|
-
var fails$6 = fails$t;
|
|
13285
|
-
var anObject$6 = anObject$o;
|
|
13286
|
-
var isCallable$1 = isCallable$s;
|
|
13287
|
-
var isNullOrUndefined = isNullOrUndefined$5;
|
|
13288
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$6;
|
|
13289
|
-
var toLength = toLength$3;
|
|
13290
|
-
var toString$5 = toString$c;
|
|
13291
|
-
var requireObjectCoercible$2 = requireObjectCoercible$8;
|
|
13292
|
-
var advanceStringIndex = advanceStringIndex$1;
|
|
13293
|
-
var getMethod = getMethod$5;
|
|
13294
|
-
var getSubstitution = getSubstitution$1;
|
|
13295
|
-
var regExpExec = regexpExecAbstract;
|
|
13296
|
-
var wellKnownSymbol = wellKnownSymbol$l;
|
|
13297
|
-
|
|
13298
|
-
var REPLACE = wellKnownSymbol('replace');
|
|
13299
|
-
var max$1 = Math.max;
|
|
13300
|
-
var min = Math.min;
|
|
13301
|
-
var concat = uncurryThis$6([].concat);
|
|
13302
|
-
var push$1 = uncurryThis$6([].push);
|
|
13303
|
-
var stringIndexOf$1 = uncurryThis$6(''.indexOf);
|
|
13304
|
-
var stringSlice = uncurryThis$6(''.slice);
|
|
13305
|
-
|
|
13306
|
-
var maybeToString = function (it) {
|
|
13307
|
-
return it === undefined ? it : String(it);
|
|
13308
|
-
};
|
|
13309
|
-
|
|
13310
|
-
// IE <= 11 replaces $0 with the whole match, as if it was $&
|
|
13311
|
-
// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
|
|
13312
|
-
var REPLACE_KEEPS_$0 = (function () {
|
|
13313
|
-
// eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
|
|
13314
|
-
return 'a'.replace(/./, '$0') === '$0';
|
|
13315
|
-
})();
|
|
13316
|
-
|
|
13317
|
-
// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
|
|
13318
|
-
var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
13319
|
-
if (/./[REPLACE]) {
|
|
13320
|
-
return /./[REPLACE]('a', '$0') === '';
|
|
13321
|
-
}
|
|
13322
|
-
return false;
|
|
13323
|
-
})();
|
|
13324
|
-
|
|
13325
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$6(function () {
|
|
13326
|
-
var re = /./;
|
|
13327
|
-
re.exec = function () {
|
|
13328
|
-
var result = [];
|
|
13329
|
-
result.groups = { a: '7' };
|
|
13330
|
-
return result;
|
|
13331
|
-
};
|
|
13332
|
-
// eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
|
|
13333
|
-
return ''.replace(re, '$<a>') !== '7';
|
|
13334
|
-
});
|
|
13335
|
-
|
|
13336
|
-
// @@replace logic
|
|
13337
|
-
fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
|
|
13338
|
-
var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
|
|
13339
|
-
|
|
13340
|
-
return [
|
|
13341
|
-
// `String.prototype.replace` method
|
|
13342
|
-
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
13343
|
-
function replace(searchValue, replaceValue) {
|
|
13344
|
-
var O = requireObjectCoercible$2(this);
|
|
13345
|
-
var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
|
|
13346
|
-
return replacer
|
|
13347
|
-
? call$4(replacer, searchValue, O, replaceValue)
|
|
13348
|
-
: call$4(nativeReplace, toString$5(O), searchValue, replaceValue);
|
|
13349
|
-
},
|
|
13350
|
-
// `RegExp.prototype[@@replace]` method
|
|
13351
|
-
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
13352
|
-
function (string, replaceValue) {
|
|
13353
|
-
var rx = anObject$6(this);
|
|
13354
|
-
var S = toString$5(string);
|
|
13355
|
-
|
|
13356
|
-
if (
|
|
13357
|
-
typeof replaceValue == 'string' &&
|
|
13358
|
-
stringIndexOf$1(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
|
|
13359
|
-
stringIndexOf$1(replaceValue, '$<') === -1
|
|
13360
|
-
) {
|
|
13361
|
-
var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
|
|
13362
|
-
if (res.done) return res.value;
|
|
13363
|
-
}
|
|
13364
|
-
|
|
13365
|
-
var functionalReplace = isCallable$1(replaceValue);
|
|
13366
|
-
if (!functionalReplace) replaceValue = toString$5(replaceValue);
|
|
13367
|
-
|
|
13368
|
-
var global = rx.global;
|
|
13369
|
-
var fullUnicode;
|
|
13370
|
-
if (global) {
|
|
13371
|
-
fullUnicode = rx.unicode;
|
|
13372
|
-
rx.lastIndex = 0;
|
|
13373
|
-
}
|
|
13374
|
-
|
|
13375
|
-
var results = [];
|
|
13376
|
-
var result;
|
|
13377
|
-
while (true) {
|
|
13378
|
-
result = regExpExec(rx, S);
|
|
13379
|
-
if (result === null) break;
|
|
13380
|
-
|
|
13381
|
-
push$1(results, result);
|
|
13382
|
-
if (!global) break;
|
|
13383
|
-
|
|
13384
|
-
var matchStr = toString$5(result[0]);
|
|
13385
|
-
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
13386
|
-
}
|
|
13387
|
-
|
|
13388
|
-
var accumulatedResult = '';
|
|
13389
|
-
var nextSourcePosition = 0;
|
|
13390
|
-
for (var i = 0; i < results.length; i++) {
|
|
13391
|
-
result = results[i];
|
|
13392
|
-
|
|
13393
|
-
var matched = toString$5(result[0]);
|
|
13394
|
-
var position = max$1(min(toIntegerOrInfinity$1(result.index), S.length), 0);
|
|
13395
|
-
var captures = [];
|
|
13396
|
-
var replacement;
|
|
13397
|
-
// NOTE: This is equivalent to
|
|
13398
|
-
// captures = result.slice(1).map(maybeToString)
|
|
13399
|
-
// but for some reason `nativeSlice.call(result, 1, result.length)` (called in
|
|
13400
|
-
// the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
|
|
13401
|
-
// causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
|
|
13402
|
-
for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j]));
|
|
13403
|
-
var namedCaptures = result.groups;
|
|
13404
|
-
if (functionalReplace) {
|
|
13405
|
-
var replacerArgs = concat([matched], captures, position, S);
|
|
13406
|
-
if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
|
|
13407
|
-
replacement = toString$5(apply$1(replaceValue, undefined, replacerArgs));
|
|
13408
|
-
} else {
|
|
13409
|
-
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
13410
|
-
}
|
|
13411
|
-
if (position >= nextSourcePosition) {
|
|
13412
|
-
accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
|
|
13413
|
-
nextSourcePosition = position + matched.length;
|
|
13414
|
-
}
|
|
13415
|
-
}
|
|
13416
|
-
|
|
13417
|
-
return accumulatedResult + stringSlice(S, nextSourcePosition);
|
|
13418
|
-
}
|
|
13419
|
-
];
|
|
13420
|
-
}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
|
|
13421
|
-
|
|
13422
13422
|
var call$3 = functionCall;
|
|
13423
13423
|
var hasOwn = hasOwnProperty_1;
|
|
13424
13424
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
@@ -53765,9 +53765,21 @@ const culture = "it";
|
|
|
53765
53765
|
ResourceManager.setLocalizationMessages(Object.assign(Object.assign({}, dxDashboardIt), dxAnalyticsCoreIt));
|
|
53766
53766
|
locale(culture);
|
|
53767
53767
|
function FluxoShell(props) {
|
|
53768
|
+
var _a;
|
|
53768
53769
|
const [initialOperationsFinished, setInitialOperationsFinished] = useState(false);
|
|
53769
53770
|
const [router, setRouter] = useState();
|
|
53770
53771
|
const [brandColors, setBrandColors] = useState(["#e9f4ff", "#c2d8ef", "#9bbae1", "#749ad6", "#4d7aca", "#355db2", "#29458a", "#1d2e63", "#101b3d", "#030a18"]);
|
|
53772
|
+
const generateFluxoAppPrefix = useCallback$1(() => {
|
|
53773
|
+
var _a, _b;
|
|
53774
|
+
let prefix = '/';
|
|
53775
|
+
if (typeof window !== 'undefined' && window.__FLUXO_APP_PREFIX) {
|
|
53776
|
+
prefix = window.__FLUXO_APP_PREFIX;
|
|
53777
|
+
} else {
|
|
53778
|
+
prefix = (_b = (_a = props.routing) === null || _a === void 0 ? void 0 : _a.basename) !== null && _b !== void 0 ? _b : '/';
|
|
53779
|
+
}
|
|
53780
|
+
if (window.location.pathname === '/' && prefix !== '/') window.location.replace(prefix);
|
|
53781
|
+
return prefix;
|
|
53782
|
+
}, [(_a = props.routing) === null || _a === void 0 ? void 0 : _a.basename]);
|
|
53771
53783
|
const generateRoutesFromEmbeddedModules = (frontend, routeType) => {
|
|
53772
53784
|
const embeddedModules = [...frontend.modules, reportsModule, biModule, workflowModule];
|
|
53773
53785
|
const rObjs = [];
|
|
@@ -53927,7 +53939,7 @@ function FluxoShell(props) {
|
|
|
53927
53939
|
})
|
|
53928
53940
|
})
|
|
53929
53941
|
}], {
|
|
53930
|
-
basename:
|
|
53942
|
+
basename: generateFluxoAppPrefix()
|
|
53931
53943
|
}));
|
|
53932
53944
|
setBrandColors(res.ui.colors);
|
|
53933
53945
|
return;
|
|
@@ -54004,7 +54016,7 @@ function FluxoShell(props) {
|
|
|
54004
54016
|
element: jsx(ErrorPage, {})
|
|
54005
54017
|
}];
|
|
54006
54018
|
const router1 = createBrowserRouter(rObjs, {
|
|
54007
|
-
basename:
|
|
54019
|
+
basename: generateFluxoAppPrefix()
|
|
54008
54020
|
});
|
|
54009
54021
|
setRouter(router1);
|
|
54010
54022
|
setBrandColors(res.ui.colors);
|