@bcrumbs.net/bc-api 0.0.22 → 0.0.24
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.cjs.js +712 -463
- package/index.esm.js +712 -463
- package/package.json +1 -1
- package/src/lib/models/content.d.ts +1 -0
- package/src/lib/services/auth/index.d.ts +2 -2
package/index.esm.js
CHANGED
|
@@ -3598,7 +3598,7 @@ var check = function (it) {
|
|
|
3598
3598
|
};
|
|
3599
3599
|
|
|
3600
3600
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
3601
|
-
var global$
|
|
3601
|
+
var global$n =
|
|
3602
3602
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
3603
3603
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
3604
3604
|
check(typeof window == 'object' && window) ||
|
|
@@ -3611,7 +3611,7 @@ var global$m =
|
|
|
3611
3611
|
|
|
3612
3612
|
var objectGetOwnPropertyDescriptor = {};
|
|
3613
3613
|
|
|
3614
|
-
var fails$
|
|
3614
|
+
var fails$m = function (exec) {
|
|
3615
3615
|
try {
|
|
3616
3616
|
return !!exec();
|
|
3617
3617
|
} catch (error) {
|
|
@@ -3619,17 +3619,17 @@ var fails$l = function (exec) {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
};
|
|
3621
3621
|
|
|
3622
|
-
var fails$
|
|
3622
|
+
var fails$l = fails$m;
|
|
3623
3623
|
|
|
3624
3624
|
// Detect IE8's incomplete defineProperty implementation
|
|
3625
|
-
var descriptors = !fails$
|
|
3625
|
+
var descriptors = !fails$l(function () {
|
|
3626
3626
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
3627
3627
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
3628
3628
|
});
|
|
3629
3629
|
|
|
3630
|
-
var fails$
|
|
3630
|
+
var fails$k = fails$m;
|
|
3631
3631
|
|
|
3632
|
-
var functionBindNative = !fails$
|
|
3632
|
+
var functionBindNative = !fails$k(function () {
|
|
3633
3633
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
3634
3634
|
var test = (function () { /* empty */ }).bind();
|
|
3635
3635
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -3660,7 +3660,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
3660
3660
|
return !!descriptor && descriptor.enumerable;
|
|
3661
3661
|
} : $propertyIsEnumerable;
|
|
3662
3662
|
|
|
3663
|
-
var createPropertyDescriptor$
|
|
3663
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
3664
3664
|
return {
|
|
3665
3665
|
enumerable: !(bitmap & 1),
|
|
3666
3666
|
configurable: !(bitmap & 2),
|
|
@@ -3681,24 +3681,24 @@ var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
|
|
|
3681
3681
|
};
|
|
3682
3682
|
};
|
|
3683
3683
|
|
|
3684
|
-
var uncurryThis$
|
|
3684
|
+
var uncurryThis$o = functionUncurryThis;
|
|
3685
3685
|
|
|
3686
|
-
var toString$
|
|
3687
|
-
var stringSlice$5 = uncurryThis$
|
|
3686
|
+
var toString$b = uncurryThis$o({}.toString);
|
|
3687
|
+
var stringSlice$5 = uncurryThis$o(''.slice);
|
|
3688
3688
|
|
|
3689
3689
|
var classofRaw$2 = function (it) {
|
|
3690
|
-
return stringSlice$5(toString$
|
|
3690
|
+
return stringSlice$5(toString$b(it), 8, -1);
|
|
3691
3691
|
};
|
|
3692
3692
|
|
|
3693
|
-
var uncurryThis$
|
|
3694
|
-
var fails$
|
|
3693
|
+
var uncurryThis$n = functionUncurryThis;
|
|
3694
|
+
var fails$j = fails$m;
|
|
3695
3695
|
var classof$9 = classofRaw$2;
|
|
3696
3696
|
|
|
3697
3697
|
var $Object$4 = Object;
|
|
3698
|
-
var split = uncurryThis$
|
|
3698
|
+
var split = uncurryThis$n(''.split);
|
|
3699
3699
|
|
|
3700
3700
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
3701
|
-
var indexedObject = fails$
|
|
3701
|
+
var indexedObject = fails$j(function () {
|
|
3702
3702
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
3703
3703
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
3704
3704
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -3737,40 +3737,40 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
3737
3737
|
// `IsCallable` abstract operation
|
|
3738
3738
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
3739
3739
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
3740
|
-
var isCallable$
|
|
3740
|
+
var isCallable$o = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
3741
3741
|
return typeof argument == 'function' || argument === documentAll;
|
|
3742
3742
|
} : function (argument) {
|
|
3743
3743
|
return typeof argument == 'function';
|
|
3744
3744
|
};
|
|
3745
3745
|
|
|
3746
|
-
var isCallable$
|
|
3746
|
+
var isCallable$n = isCallable$o;
|
|
3747
3747
|
|
|
3748
|
-
var isObject$
|
|
3749
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
3748
|
+
var isObject$d = function (it) {
|
|
3749
|
+
return typeof it == 'object' ? it !== null : isCallable$n(it);
|
|
3750
3750
|
};
|
|
3751
3751
|
|
|
3752
|
-
var global$
|
|
3753
|
-
var isCallable$
|
|
3752
|
+
var global$m = global$n;
|
|
3753
|
+
var isCallable$m = isCallable$o;
|
|
3754
3754
|
|
|
3755
3755
|
var aFunction = function (argument) {
|
|
3756
|
-
return isCallable$
|
|
3756
|
+
return isCallable$m(argument) ? argument : undefined;
|
|
3757
3757
|
};
|
|
3758
3758
|
|
|
3759
|
-
var getBuiltIn$
|
|
3760
|
-
return arguments.length < 2 ? aFunction(global$
|
|
3759
|
+
var getBuiltIn$9 = function (namespace, method) {
|
|
3760
|
+
return arguments.length < 2 ? aFunction(global$m[namespace]) : global$m[namespace] && global$m[namespace][method];
|
|
3761
3761
|
};
|
|
3762
3762
|
|
|
3763
|
-
var uncurryThis$
|
|
3763
|
+
var uncurryThis$m = functionUncurryThis;
|
|
3764
3764
|
|
|
3765
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
3765
|
+
var objectIsPrototypeOf = uncurryThis$m({}.isPrototypeOf);
|
|
3766
3766
|
|
|
3767
3767
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
3768
3768
|
|
|
3769
|
-
var global$
|
|
3769
|
+
var global$l = global$n;
|
|
3770
3770
|
var userAgent$3 = engineUserAgent;
|
|
3771
3771
|
|
|
3772
|
-
var process$4 = global$
|
|
3773
|
-
var Deno$1 = global$
|
|
3772
|
+
var process$4 = global$l.process;
|
|
3773
|
+
var Deno$1 = global$l.Deno;
|
|
3774
3774
|
var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
|
|
3775
3775
|
var v8 = versions && versions.v8;
|
|
3776
3776
|
var match, version;
|
|
@@ -3796,13 +3796,13 @@ var engineV8Version = version;
|
|
|
3796
3796
|
|
|
3797
3797
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
3798
3798
|
var V8_VERSION$1 = engineV8Version;
|
|
3799
|
-
var fails$
|
|
3800
|
-
var global$
|
|
3799
|
+
var fails$i = fails$m;
|
|
3800
|
+
var global$k = global$n;
|
|
3801
3801
|
|
|
3802
|
-
var $String$6 = global$
|
|
3802
|
+
var $String$6 = global$k.String;
|
|
3803
3803
|
|
|
3804
3804
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
3805
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
3805
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(function () {
|
|
3806
3806
|
var symbol = Symbol('symbol detection');
|
|
3807
3807
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
3808
3808
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -3820,9 +3820,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
|
3820
3820
|
&& !Symbol.sham
|
|
3821
3821
|
&& typeof Symbol.iterator == 'symbol';
|
|
3822
3822
|
|
|
3823
|
-
var getBuiltIn$
|
|
3824
|
-
var isCallable$
|
|
3825
|
-
var isPrototypeOf$
|
|
3823
|
+
var getBuiltIn$8 = getBuiltIn$9;
|
|
3824
|
+
var isCallable$l = isCallable$o;
|
|
3825
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
3826
3826
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
3827
3827
|
|
|
3828
3828
|
var $Object$3 = Object;
|
|
@@ -3830,8 +3830,8 @@ var $Object$3 = Object;
|
|
|
3830
3830
|
var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
3831
3831
|
return typeof it == 'symbol';
|
|
3832
3832
|
} : function (it) {
|
|
3833
|
-
var $Symbol = getBuiltIn$
|
|
3834
|
-
return isCallable$
|
|
3833
|
+
var $Symbol = getBuiltIn$8('Symbol');
|
|
3834
|
+
return isCallable$l($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
|
|
3835
3835
|
};
|
|
3836
3836
|
|
|
3837
3837
|
var $String$5 = String;
|
|
@@ -3844,14 +3844,14 @@ var tryToString$4 = function (argument) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
};
|
|
3846
3846
|
|
|
3847
|
-
var isCallable$
|
|
3847
|
+
var isCallable$k = isCallable$o;
|
|
3848
3848
|
var tryToString$3 = tryToString$4;
|
|
3849
3849
|
|
|
3850
3850
|
var $TypeError$d = TypeError;
|
|
3851
3851
|
|
|
3852
3852
|
// `Assert: IsCallable(argument) is true`
|
|
3853
3853
|
var aCallable$8 = function (argument) {
|
|
3854
|
-
if (isCallable$
|
|
3854
|
+
if (isCallable$k(argument)) return argument;
|
|
3855
3855
|
throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
|
|
3856
3856
|
};
|
|
3857
3857
|
|
|
@@ -3866,8 +3866,8 @@ var getMethod$5 = function (V, P) {
|
|
|
3866
3866
|
};
|
|
3867
3867
|
|
|
3868
3868
|
var call$h = functionCall;
|
|
3869
|
-
var isCallable$
|
|
3870
|
-
var isObject$
|
|
3869
|
+
var isCallable$j = isCallable$o;
|
|
3870
|
+
var isObject$c = isObject$d;
|
|
3871
3871
|
|
|
3872
3872
|
var $TypeError$c = TypeError;
|
|
3873
3873
|
|
|
@@ -3875,28 +3875,28 @@ var $TypeError$c = TypeError;
|
|
|
3875
3875
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
3876
3876
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
3877
3877
|
var fn, val;
|
|
3878
|
-
if (pref === 'string' && isCallable$
|
|
3879
|
-
if (isCallable$
|
|
3880
|
-
if (pref !== 'string' && isCallable$
|
|
3878
|
+
if (pref === 'string' && isCallable$j(fn = input.toString) && !isObject$c(val = call$h(fn, input))) return val;
|
|
3879
|
+
if (isCallable$j(fn = input.valueOf) && !isObject$c(val = call$h(fn, input))) return val;
|
|
3880
|
+
if (pref !== 'string' && isCallable$j(fn = input.toString) && !isObject$c(val = call$h(fn, input))) return val;
|
|
3881
3881
|
throw new $TypeError$c("Can't convert object to primitive value");
|
|
3882
3882
|
};
|
|
3883
3883
|
|
|
3884
3884
|
var sharedStore = {exports: {}};
|
|
3885
3885
|
|
|
3886
|
-
var global$
|
|
3886
|
+
var global$j = global$n;
|
|
3887
3887
|
|
|
3888
3888
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3889
|
-
var defineProperty$
|
|
3889
|
+
var defineProperty$7 = Object.defineProperty;
|
|
3890
3890
|
|
|
3891
3891
|
var defineGlobalProperty$3 = function (key, value) {
|
|
3892
3892
|
try {
|
|
3893
|
-
defineProperty$
|
|
3893
|
+
defineProperty$7(global$j, key, { value: value, configurable: true, writable: true });
|
|
3894
3894
|
} catch (error) {
|
|
3895
|
-
global$
|
|
3895
|
+
global$j[key] = value;
|
|
3896
3896
|
} return value;
|
|
3897
3897
|
};
|
|
3898
3898
|
|
|
3899
|
-
var globalThis$1 = global$
|
|
3899
|
+
var globalThis$1 = global$n;
|
|
3900
3900
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
3901
3901
|
|
|
3902
3902
|
var SHARED = '__core-js_shared__';
|
|
@@ -3928,10 +3928,10 @@ var toObject$4 = function (argument) {
|
|
|
3928
3928
|
return $Object$2(requireObjectCoercible$6(argument));
|
|
3929
3929
|
};
|
|
3930
3930
|
|
|
3931
|
-
var uncurryThis$
|
|
3931
|
+
var uncurryThis$l = functionUncurryThis;
|
|
3932
3932
|
var toObject$3 = toObject$4;
|
|
3933
3933
|
|
|
3934
|
-
var hasOwnProperty = uncurryThis$
|
|
3934
|
+
var hasOwnProperty = uncurryThis$l({}.hasOwnProperty);
|
|
3935
3935
|
|
|
3936
3936
|
// `HasOwnProperty` abstract operation
|
|
3937
3937
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -3940,37 +3940,37 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
3940
3940
|
return hasOwnProperty(toObject$3(it), key);
|
|
3941
3941
|
};
|
|
3942
3942
|
|
|
3943
|
-
var uncurryThis$
|
|
3943
|
+
var uncurryThis$k = functionUncurryThis;
|
|
3944
3944
|
|
|
3945
3945
|
var id = 0;
|
|
3946
3946
|
var postfix = Math.random();
|
|
3947
|
-
var toString$
|
|
3947
|
+
var toString$a = uncurryThis$k(1.0.toString);
|
|
3948
3948
|
|
|
3949
3949
|
var uid$2 = function (key) {
|
|
3950
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
3950
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id + postfix, 36);
|
|
3951
3951
|
};
|
|
3952
3952
|
|
|
3953
|
-
var global$
|
|
3953
|
+
var global$i = global$n;
|
|
3954
3954
|
var shared$3 = shared$4;
|
|
3955
|
-
var hasOwn$
|
|
3955
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
3956
3956
|
var uid$1 = uid$2;
|
|
3957
3957
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
3958
3958
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
3959
3959
|
|
|
3960
|
-
var Symbol$2 = global$
|
|
3960
|
+
var Symbol$2 = global$i.Symbol;
|
|
3961
3961
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
3962
3962
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
3963
3963
|
|
|
3964
3964
|
var wellKnownSymbol$i = function (name) {
|
|
3965
|
-
if (!hasOwn$
|
|
3966
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$
|
|
3965
|
+
if (!hasOwn$a(WellKnownSymbolsStore, name)) {
|
|
3966
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$a(Symbol$2, name)
|
|
3967
3967
|
? Symbol$2[name]
|
|
3968
3968
|
: createWellKnownSymbol('Symbol.' + name);
|
|
3969
3969
|
} return WellKnownSymbolsStore[name];
|
|
3970
3970
|
};
|
|
3971
3971
|
|
|
3972
3972
|
var call$g = functionCall;
|
|
3973
|
-
var isObject$
|
|
3973
|
+
var isObject$b = isObject$d;
|
|
3974
3974
|
var isSymbol$2 = isSymbol$3;
|
|
3975
3975
|
var getMethod$4 = getMethod$5;
|
|
3976
3976
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
@@ -3982,13 +3982,13 @@ var TO_PRIMITIVE = wellKnownSymbol$h('toPrimitive');
|
|
|
3982
3982
|
// `ToPrimitive` abstract operation
|
|
3983
3983
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
3984
3984
|
var toPrimitive$1 = function (input, pref) {
|
|
3985
|
-
if (!isObject$
|
|
3985
|
+
if (!isObject$b(input) || isSymbol$2(input)) return input;
|
|
3986
3986
|
var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
|
|
3987
3987
|
var result;
|
|
3988
3988
|
if (exoticToPrim) {
|
|
3989
3989
|
if (pref === undefined) pref = 'default';
|
|
3990
3990
|
result = call$g(exoticToPrim, input, pref);
|
|
3991
|
-
if (!isObject$
|
|
3991
|
+
if (!isObject$b(result) || isSymbol$2(result)) return result;
|
|
3992
3992
|
throw new $TypeError$b("Can't convert object to primitive value");
|
|
3993
3993
|
}
|
|
3994
3994
|
if (pref === undefined) pref = 'number';
|
|
@@ -4005,36 +4005,36 @@ var toPropertyKey$2 = function (argument) {
|
|
|
4005
4005
|
return isSymbol$1(key) ? key : key + '';
|
|
4006
4006
|
};
|
|
4007
4007
|
|
|
4008
|
-
var global$
|
|
4009
|
-
var isObject$
|
|
4008
|
+
var global$h = global$n;
|
|
4009
|
+
var isObject$a = isObject$d;
|
|
4010
4010
|
|
|
4011
|
-
var document$3 = global$
|
|
4011
|
+
var document$3 = global$h.document;
|
|
4012
4012
|
// typeof document.createElement is 'object' in old IE
|
|
4013
|
-
var EXISTS$1 = isObject$
|
|
4013
|
+
var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
|
|
4014
4014
|
|
|
4015
4015
|
var documentCreateElement$2 = function (it) {
|
|
4016
4016
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
4017
4017
|
};
|
|
4018
4018
|
|
|
4019
|
-
var DESCRIPTORS$
|
|
4020
|
-
var fails$
|
|
4019
|
+
var DESCRIPTORS$c = descriptors;
|
|
4020
|
+
var fails$h = fails$m;
|
|
4021
4021
|
var createElement$1 = documentCreateElement$2;
|
|
4022
4022
|
|
|
4023
4023
|
// Thanks to IE8 for its funny defineProperty
|
|
4024
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
4024
|
+
var ie8DomDefine = !DESCRIPTORS$c && !fails$h(function () {
|
|
4025
4025
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4026
4026
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
4027
4027
|
get: function () { return 7; }
|
|
4028
4028
|
}).a !== 7;
|
|
4029
4029
|
});
|
|
4030
4030
|
|
|
4031
|
-
var DESCRIPTORS$
|
|
4031
|
+
var DESCRIPTORS$b = descriptors;
|
|
4032
4032
|
var call$f = functionCall;
|
|
4033
4033
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
4034
|
-
var createPropertyDescriptor$
|
|
4034
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
4035
4035
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
4036
4036
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
4037
|
-
var hasOwn$
|
|
4037
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
4038
4038
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
4039
4039
|
|
|
4040
4040
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -4042,23 +4042,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
4042
4042
|
|
|
4043
4043
|
// `Object.getOwnPropertyDescriptor` method
|
|
4044
4044
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
4045
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
4045
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
4046
4046
|
O = toIndexedObject$4(O);
|
|
4047
4047
|
P = toPropertyKey$1(P);
|
|
4048
4048
|
if (IE8_DOM_DEFINE$1) try {
|
|
4049
4049
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
4050
4050
|
} catch (error) { /* empty */ }
|
|
4051
|
-
if (hasOwn$
|
|
4051
|
+
if (hasOwn$9(O, P)) return createPropertyDescriptor$3(!call$f(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
4052
4052
|
};
|
|
4053
4053
|
|
|
4054
4054
|
var objectDefineProperty = {};
|
|
4055
4055
|
|
|
4056
|
-
var DESCRIPTORS$
|
|
4057
|
-
var fails$
|
|
4056
|
+
var DESCRIPTORS$a = descriptors;
|
|
4057
|
+
var fails$g = fails$m;
|
|
4058
4058
|
|
|
4059
4059
|
// V8 ~ Chrome 36-
|
|
4060
4060
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
4061
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
4061
|
+
var v8PrototypeDefineBug = DESCRIPTORS$a && fails$g(function () {
|
|
4062
4062
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4063
4063
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
4064
4064
|
value: 42,
|
|
@@ -4066,18 +4066,18 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$f(function () {
|
|
|
4066
4066
|
}).prototype !== 42;
|
|
4067
4067
|
});
|
|
4068
4068
|
|
|
4069
|
-
var isObject$
|
|
4069
|
+
var isObject$9 = isObject$d;
|
|
4070
4070
|
|
|
4071
4071
|
var $String$4 = String;
|
|
4072
4072
|
var $TypeError$a = TypeError;
|
|
4073
4073
|
|
|
4074
4074
|
// `Assert: Type(argument) is Object`
|
|
4075
4075
|
var anObject$d = function (argument) {
|
|
4076
|
-
if (isObject$
|
|
4076
|
+
if (isObject$9(argument)) return argument;
|
|
4077
4077
|
throw new $TypeError$a($String$4(argument) + ' is not an object');
|
|
4078
4078
|
};
|
|
4079
4079
|
|
|
4080
|
-
var DESCRIPTORS$
|
|
4080
|
+
var DESCRIPTORS$9 = descriptors;
|
|
4081
4081
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
4082
4082
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
4083
4083
|
var anObject$c = anObject$d;
|
|
@@ -4094,7 +4094,7 @@ var WRITABLE = 'writable';
|
|
|
4094
4094
|
|
|
4095
4095
|
// `Object.defineProperty` method
|
|
4096
4096
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
4097
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
4097
|
+
objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
4098
4098
|
anObject$c(O);
|
|
4099
4099
|
P = toPropertyKey(P);
|
|
4100
4100
|
anObject$c(Attributes);
|
|
@@ -4121,12 +4121,12 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
4121
4121
|
return O;
|
|
4122
4122
|
};
|
|
4123
4123
|
|
|
4124
|
-
var DESCRIPTORS$
|
|
4124
|
+
var DESCRIPTORS$8 = descriptors;
|
|
4125
4125
|
var definePropertyModule$3 = objectDefineProperty;
|
|
4126
|
-
var createPropertyDescriptor$
|
|
4126
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
4127
4127
|
|
|
4128
|
-
var createNonEnumerableProperty$
|
|
4129
|
-
return definePropertyModule$3.f(object, key, createPropertyDescriptor$
|
|
4128
|
+
var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value) {
|
|
4129
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor$2(1, value));
|
|
4130
4130
|
} : function (object, key, value) {
|
|
4131
4131
|
object[key] = value;
|
|
4132
4132
|
return object;
|
|
@@ -4134,17 +4134,17 @@ var createNonEnumerableProperty$5 = DESCRIPTORS$7 ? function (object, key, value
|
|
|
4134
4134
|
|
|
4135
4135
|
var makeBuiltIn$3 = {exports: {}};
|
|
4136
4136
|
|
|
4137
|
-
var DESCRIPTORS$
|
|
4138
|
-
var hasOwn$
|
|
4137
|
+
var DESCRIPTORS$7 = descriptors;
|
|
4138
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
4139
4139
|
|
|
4140
4140
|
var FunctionPrototype$1 = Function.prototype;
|
|
4141
4141
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
4142
|
-
var getDescriptor = DESCRIPTORS$
|
|
4142
|
+
var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
|
|
4143
4143
|
|
|
4144
|
-
var EXISTS = hasOwn$
|
|
4144
|
+
var EXISTS = hasOwn$8(FunctionPrototype$1, 'name');
|
|
4145
4145
|
// additional protection from minified / mangled / dropped function names
|
|
4146
4146
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
4147
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
4147
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
4148
4148
|
|
|
4149
4149
|
var functionName = {
|
|
4150
4150
|
EXISTS: EXISTS,
|
|
@@ -4152,14 +4152,14 @@ var functionName = {
|
|
|
4152
4152
|
CONFIGURABLE: CONFIGURABLE
|
|
4153
4153
|
};
|
|
4154
4154
|
|
|
4155
|
-
var uncurryThis$
|
|
4156
|
-
var isCallable$
|
|
4155
|
+
var uncurryThis$j = functionUncurryThis;
|
|
4156
|
+
var isCallable$i = isCallable$o;
|
|
4157
4157
|
var store$1 = sharedStoreExports;
|
|
4158
4158
|
|
|
4159
|
-
var functionToString = uncurryThis$
|
|
4159
|
+
var functionToString = uncurryThis$j(Function.toString);
|
|
4160
4160
|
|
|
4161
4161
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
4162
|
-
if (!isCallable$
|
|
4162
|
+
if (!isCallable$i(store$1.inspectSource)) {
|
|
4163
4163
|
store$1.inspectSource = function (it) {
|
|
4164
4164
|
return functionToString(it);
|
|
4165
4165
|
};
|
|
@@ -4167,12 +4167,12 @@ if (!isCallable$h(store$1.inspectSource)) {
|
|
|
4167
4167
|
|
|
4168
4168
|
var inspectSource$3 = store$1.inspectSource;
|
|
4169
4169
|
|
|
4170
|
-
var global$
|
|
4171
|
-
var isCallable$
|
|
4170
|
+
var global$g = global$n;
|
|
4171
|
+
var isCallable$h = isCallable$o;
|
|
4172
4172
|
|
|
4173
|
-
var WeakMap$1 = global$
|
|
4173
|
+
var WeakMap$1 = global$g.WeakMap;
|
|
4174
4174
|
|
|
4175
|
-
var weakMapBasicDetection = isCallable$
|
|
4175
|
+
var weakMapBasicDetection = isCallable$h(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
4176
4176
|
|
|
4177
4177
|
var shared$2 = shared$4;
|
|
4178
4178
|
var uid = uid$2;
|
|
@@ -4186,17 +4186,17 @@ var sharedKey$3 = function (key) {
|
|
|
4186
4186
|
var hiddenKeys$4 = {};
|
|
4187
4187
|
|
|
4188
4188
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
4189
|
-
var global$
|
|
4190
|
-
var isObject$
|
|
4191
|
-
var createNonEnumerableProperty$
|
|
4192
|
-
var hasOwn$
|
|
4189
|
+
var global$f = global$n;
|
|
4190
|
+
var isObject$8 = isObject$d;
|
|
4191
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
|
|
4192
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
4193
4193
|
var shared$1 = sharedStoreExports;
|
|
4194
4194
|
var sharedKey$2 = sharedKey$3;
|
|
4195
4195
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
4196
4196
|
|
|
4197
4197
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
4198
|
-
var TypeError$2 = global$
|
|
4199
|
-
var WeakMap = global$
|
|
4198
|
+
var TypeError$2 = global$f.TypeError;
|
|
4199
|
+
var WeakMap = global$f.WeakMap;
|
|
4200
4200
|
var set$1, get, has;
|
|
4201
4201
|
|
|
4202
4202
|
var enforce = function (it) {
|
|
@@ -4206,7 +4206,7 @@ var enforce = function (it) {
|
|
|
4206
4206
|
var getterFor = function (TYPE) {
|
|
4207
4207
|
return function (it) {
|
|
4208
4208
|
var state;
|
|
4209
|
-
if (!isObject$
|
|
4209
|
+
if (!isObject$8(it) || (state = get(it)).type !== TYPE) {
|
|
4210
4210
|
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
4211
4211
|
} return state;
|
|
4212
4212
|
};
|
|
@@ -4235,16 +4235,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
4235
4235
|
var STATE = sharedKey$2('state');
|
|
4236
4236
|
hiddenKeys$3[STATE] = true;
|
|
4237
4237
|
set$1 = function (it, metadata) {
|
|
4238
|
-
if (hasOwn$
|
|
4238
|
+
if (hasOwn$7(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
4239
4239
|
metadata.facade = it;
|
|
4240
|
-
createNonEnumerableProperty$
|
|
4240
|
+
createNonEnumerableProperty$7(it, STATE, metadata);
|
|
4241
4241
|
return metadata;
|
|
4242
4242
|
};
|
|
4243
4243
|
get = function (it) {
|
|
4244
|
-
return hasOwn$
|
|
4244
|
+
return hasOwn$7(it, STATE) ? it[STATE] : {};
|
|
4245
4245
|
};
|
|
4246
4246
|
has = function (it) {
|
|
4247
|
-
return hasOwn$
|
|
4247
|
+
return hasOwn$7(it, STATE);
|
|
4248
4248
|
};
|
|
4249
4249
|
}
|
|
4250
4250
|
|
|
@@ -4256,11 +4256,11 @@ var internalState = {
|
|
|
4256
4256
|
getterFor: getterFor
|
|
4257
4257
|
};
|
|
4258
4258
|
|
|
4259
|
-
var uncurryThis$
|
|
4260
|
-
var fails$
|
|
4261
|
-
var isCallable$
|
|
4262
|
-
var hasOwn$
|
|
4263
|
-
var DESCRIPTORS$
|
|
4259
|
+
var uncurryThis$i = functionUncurryThis;
|
|
4260
|
+
var fails$f = fails$m;
|
|
4261
|
+
var isCallable$g = isCallable$o;
|
|
4262
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
4263
|
+
var DESCRIPTORS$6 = descriptors;
|
|
4264
4264
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
4265
4265
|
var inspectSource$2 = inspectSource$3;
|
|
4266
4266
|
var InternalStateModule$2 = internalState;
|
|
@@ -4269,38 +4269,38 @@ var enforceInternalState = InternalStateModule$2.enforce;
|
|
|
4269
4269
|
var getInternalState$2 = InternalStateModule$2.get;
|
|
4270
4270
|
var $String$3 = String;
|
|
4271
4271
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
4272
|
-
var defineProperty$
|
|
4273
|
-
var stringSlice$4 = uncurryThis$
|
|
4274
|
-
var replace$
|
|
4275
|
-
var join = uncurryThis$
|
|
4272
|
+
var defineProperty$6 = Object.defineProperty;
|
|
4273
|
+
var stringSlice$4 = uncurryThis$i(''.slice);
|
|
4274
|
+
var replace$5 = uncurryThis$i(''.replace);
|
|
4275
|
+
var join = uncurryThis$i([].join);
|
|
4276
4276
|
|
|
4277
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
4278
|
-
return defineProperty$
|
|
4277
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$f(function () {
|
|
4278
|
+
return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
4279
4279
|
});
|
|
4280
4280
|
|
|
4281
4281
|
var TEMPLATE = String(String).split('String');
|
|
4282
4282
|
|
|
4283
4283
|
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
4284
4284
|
if (stringSlice$4($String$3(name), 0, 7) === 'Symbol(') {
|
|
4285
|
-
name = '[' + replace$
|
|
4285
|
+
name = '[' + replace$5($String$3(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
4286
4286
|
}
|
|
4287
4287
|
if (options && options.getter) name = 'get ' + name;
|
|
4288
4288
|
if (options && options.setter) name = 'set ' + name;
|
|
4289
|
-
if (!hasOwn$
|
|
4290
|
-
if (DESCRIPTORS$
|
|
4289
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
4290
|
+
if (DESCRIPTORS$6) defineProperty$6(value, 'name', { value: name, configurable: true });
|
|
4291
4291
|
else value.name = name;
|
|
4292
4292
|
}
|
|
4293
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
4294
|
-
defineProperty$
|
|
4293
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
4294
|
+
defineProperty$6(value, 'length', { value: options.arity });
|
|
4295
4295
|
}
|
|
4296
4296
|
try {
|
|
4297
|
-
if (options && hasOwn$
|
|
4298
|
-
if (DESCRIPTORS$
|
|
4297
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
4298
|
+
if (DESCRIPTORS$6) defineProperty$6(value, 'prototype', { writable: false });
|
|
4299
4299
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
4300
4300
|
} else if (value.prototype) value.prototype = undefined;
|
|
4301
4301
|
} catch (error) { /* empty */ }
|
|
4302
4302
|
var state = enforceInternalState(value);
|
|
4303
|
-
if (!hasOwn$
|
|
4303
|
+
if (!hasOwn$6(state, 'source')) {
|
|
4304
4304
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
4305
4305
|
} return value;
|
|
4306
4306
|
};
|
|
@@ -4308,12 +4308,12 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
4308
4308
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
4309
4309
|
// eslint-disable-next-line no-extend-native -- required
|
|
4310
4310
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
4311
|
-
return isCallable$
|
|
4311
|
+
return isCallable$g(this) && getInternalState$2(this).source || inspectSource$2(this);
|
|
4312
4312
|
}, 'toString');
|
|
4313
4313
|
|
|
4314
4314
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
4315
4315
|
|
|
4316
|
-
var isCallable$
|
|
4316
|
+
var isCallable$f = isCallable$o;
|
|
4317
4317
|
var definePropertyModule$2 = objectDefineProperty;
|
|
4318
4318
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
4319
4319
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -4322,7 +4322,7 @@ var defineBuiltIn$6 = function (O, key, value, options) {
|
|
|
4322
4322
|
if (!options) options = {};
|
|
4323
4323
|
var simple = options.enumerable;
|
|
4324
4324
|
var name = options.name !== undefined ? options.name : key;
|
|
4325
|
-
if (isCallable$
|
|
4325
|
+
if (isCallable$f(value)) makeBuiltIn$1(value, name, options);
|
|
4326
4326
|
if (options.global) {
|
|
4327
4327
|
if (simple) O[key] = value;
|
|
4328
4328
|
else defineGlobalProperty$1(key, value);
|
|
@@ -4430,22 +4430,22 @@ var arrayIncludes = {
|
|
|
4430
4430
|
indexOf: createMethod$2(false)
|
|
4431
4431
|
};
|
|
4432
4432
|
|
|
4433
|
-
var uncurryThis$
|
|
4434
|
-
var hasOwn$
|
|
4433
|
+
var uncurryThis$h = functionUncurryThis;
|
|
4434
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
4435
4435
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
4436
4436
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
4437
4437
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
4438
4438
|
|
|
4439
|
-
var push$2 = uncurryThis$
|
|
4439
|
+
var push$2 = uncurryThis$h([].push);
|
|
4440
4440
|
|
|
4441
4441
|
var objectKeysInternal = function (object, names) {
|
|
4442
4442
|
var O = toIndexedObject$2(object);
|
|
4443
4443
|
var i = 0;
|
|
4444
4444
|
var result = [];
|
|
4445
4445
|
var key;
|
|
4446
|
-
for (key in O) !hasOwn$
|
|
4446
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push$2(result, key);
|
|
4447
4447
|
// Don't enum bug & hidden keys
|
|
4448
|
-
while (names.length > i) if (hasOwn$
|
|
4448
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
4449
4449
|
~indexOf$1(result, key) || push$2(result, key);
|
|
4450
4450
|
}
|
|
4451
4451
|
return result;
|
|
@@ -4479,40 +4479,40 @@ var objectGetOwnPropertySymbols = {};
|
|
|
4479
4479
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
4480
4480
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
4481
4481
|
|
|
4482
|
-
var getBuiltIn$
|
|
4483
|
-
var uncurryThis$
|
|
4482
|
+
var getBuiltIn$7 = getBuiltIn$9;
|
|
4483
|
+
var uncurryThis$g = functionUncurryThis;
|
|
4484
4484
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
4485
4485
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
4486
4486
|
var anObject$b = anObject$d;
|
|
4487
4487
|
|
|
4488
|
-
var concat$2 = uncurryThis$
|
|
4488
|
+
var concat$2 = uncurryThis$g([].concat);
|
|
4489
4489
|
|
|
4490
4490
|
// all object keys, includes non-enumerable and symbols
|
|
4491
|
-
var ownKeys$1 = getBuiltIn$
|
|
4491
|
+
var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
4492
4492
|
var keys = getOwnPropertyNamesModule.f(anObject$b(it));
|
|
4493
4493
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
4494
4494
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
4495
4495
|
};
|
|
4496
4496
|
|
|
4497
|
-
var hasOwn$
|
|
4497
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
4498
4498
|
var ownKeys = ownKeys$1;
|
|
4499
4499
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
4500
4500
|
var definePropertyModule$1 = objectDefineProperty;
|
|
4501
4501
|
|
|
4502
|
-
var copyConstructorProperties$
|
|
4502
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
4503
4503
|
var keys = ownKeys(source);
|
|
4504
4504
|
var defineProperty = definePropertyModule$1.f;
|
|
4505
4505
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4506
4506
|
for (var i = 0; i < keys.length; i++) {
|
|
4507
4507
|
var key = keys[i];
|
|
4508
|
-
if (!hasOwn$
|
|
4508
|
+
if (!hasOwn$4(target, key) && !(exceptions && hasOwn$4(exceptions, key))) {
|
|
4509
4509
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
4510
4510
|
}
|
|
4511
4511
|
}
|
|
4512
4512
|
};
|
|
4513
4513
|
|
|
4514
|
-
var fails$
|
|
4515
|
-
var isCallable$
|
|
4514
|
+
var fails$e = fails$m;
|
|
4515
|
+
var isCallable$e = isCallable$o;
|
|
4516
4516
|
|
|
4517
4517
|
var replacement = /#|\.prototype\./;
|
|
4518
4518
|
|
|
@@ -4520,7 +4520,7 @@ var isForced$2 = function (feature, detection) {
|
|
|
4520
4520
|
var value = data[normalize$1(feature)];
|
|
4521
4521
|
return value === POLYFILL ? true
|
|
4522
4522
|
: value === NATIVE ? false
|
|
4523
|
-
: isCallable$
|
|
4523
|
+
: isCallable$e(detection) ? fails$e(detection)
|
|
4524
4524
|
: !!detection;
|
|
4525
4525
|
};
|
|
4526
4526
|
|
|
@@ -4534,12 +4534,12 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
|
4534
4534
|
|
|
4535
4535
|
var isForced_1 = isForced$2;
|
|
4536
4536
|
|
|
4537
|
-
var global$
|
|
4537
|
+
var global$e = global$n;
|
|
4538
4538
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
4539
|
-
var createNonEnumerableProperty$
|
|
4539
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
|
|
4540
4540
|
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
4541
4541
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
4542
|
-
var copyConstructorProperties = copyConstructorProperties$
|
|
4542
|
+
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
4543
4543
|
var isForced$1 = isForced_1;
|
|
4544
4544
|
|
|
4545
4545
|
/*
|
|
@@ -4563,11 +4563,11 @@ var _export = function (options, source) {
|
|
|
4563
4563
|
var STATIC = options.stat;
|
|
4564
4564
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
4565
4565
|
if (GLOBAL) {
|
|
4566
|
-
target = global$
|
|
4566
|
+
target = global$e;
|
|
4567
4567
|
} else if (STATIC) {
|
|
4568
|
-
target = global$
|
|
4568
|
+
target = global$e[TARGET] || defineGlobalProperty(TARGET, {});
|
|
4569
4569
|
} else {
|
|
4570
|
-
target = global$
|
|
4570
|
+
target = global$e[TARGET] && global$e[TARGET].prototype;
|
|
4571
4571
|
}
|
|
4572
4572
|
if (target) for (key in source) {
|
|
4573
4573
|
sourceProperty = source[key];
|
|
@@ -4579,11 +4579,11 @@ var _export = function (options, source) {
|
|
|
4579
4579
|
// contained in target
|
|
4580
4580
|
if (!FORCED && targetProperty !== undefined) {
|
|
4581
4581
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
4582
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
4582
|
+
copyConstructorProperties$1(sourceProperty, targetProperty);
|
|
4583
4583
|
}
|
|
4584
4584
|
// add a flag to not completely full polyfills
|
|
4585
4585
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
4586
|
-
createNonEnumerableProperty$
|
|
4586
|
+
createNonEnumerableProperty$6(sourceProperty, 'sham', true);
|
|
4587
4587
|
}
|
|
4588
4588
|
defineBuiltIn$5(target, key, sourceProperty, options);
|
|
4589
4589
|
}
|
|
@@ -4599,10 +4599,10 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
4599
4599
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
4600
4600
|
};
|
|
4601
4601
|
|
|
4602
|
-
var DESCRIPTORS$
|
|
4603
|
-
var uncurryThis$
|
|
4602
|
+
var DESCRIPTORS$5 = descriptors;
|
|
4603
|
+
var uncurryThis$f = functionUncurryThis;
|
|
4604
4604
|
var call$e = functionCall;
|
|
4605
|
-
var fails$
|
|
4605
|
+
var fails$d = fails$m;
|
|
4606
4606
|
var objectKeys$1 = objectKeys$2;
|
|
4607
4607
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
4608
4608
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -4612,17 +4612,17 @@ var IndexedObject = indexedObject;
|
|
|
4612
4612
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
4613
4613
|
var $assign = Object.assign;
|
|
4614
4614
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4615
|
-
var defineProperty$
|
|
4616
|
-
var concat$1 = uncurryThis$
|
|
4615
|
+
var defineProperty$5 = Object.defineProperty;
|
|
4616
|
+
var concat$1 = uncurryThis$f([].concat);
|
|
4617
4617
|
|
|
4618
4618
|
// `Object.assign` method
|
|
4619
4619
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
4620
|
-
var objectAssign = !$assign || fails$
|
|
4620
|
+
var objectAssign = !$assign || fails$d(function () {
|
|
4621
4621
|
// should have correct order of operations (Edge bug)
|
|
4622
|
-
if (DESCRIPTORS$
|
|
4622
|
+
if (DESCRIPTORS$5 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
|
|
4623
4623
|
enumerable: true,
|
|
4624
4624
|
get: function () {
|
|
4625
|
-
defineProperty$
|
|
4625
|
+
defineProperty$5(this, 'b', {
|
|
4626
4626
|
value: 3,
|
|
4627
4627
|
enumerable: false
|
|
4628
4628
|
});
|
|
@@ -4651,40 +4651,40 @@ var objectAssign = !$assign || fails$c(function () {
|
|
|
4651
4651
|
var key;
|
|
4652
4652
|
while (length > j) {
|
|
4653
4653
|
key = keys[j++];
|
|
4654
|
-
if (!DESCRIPTORS$
|
|
4654
|
+
if (!DESCRIPTORS$5 || call$e(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
4655
4655
|
}
|
|
4656
4656
|
} return T;
|
|
4657
4657
|
} : $assign;
|
|
4658
4658
|
|
|
4659
|
-
var $$
|
|
4659
|
+
var $$d = _export;
|
|
4660
4660
|
var assign = objectAssign;
|
|
4661
4661
|
|
|
4662
4662
|
// `Object.assign` method
|
|
4663
4663
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
4664
4664
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
4665
|
-
$$
|
|
4665
|
+
$$d({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
4666
4666
|
assign: assign
|
|
4667
4667
|
});
|
|
4668
4668
|
|
|
4669
|
-
var global$
|
|
4669
|
+
var global$d = global$n;
|
|
4670
4670
|
var classof$8 = classofRaw$2;
|
|
4671
4671
|
|
|
4672
|
-
var engineIsNode = classof$8(global$
|
|
4672
|
+
var engineIsNode = classof$8(global$d.process) === 'process';
|
|
4673
4673
|
|
|
4674
|
-
var uncurryThis$
|
|
4674
|
+
var uncurryThis$e = functionUncurryThis;
|
|
4675
4675
|
var aCallable$6 = aCallable$8;
|
|
4676
4676
|
|
|
4677
4677
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
4678
4678
|
try {
|
|
4679
4679
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
4680
|
-
return uncurryThis$
|
|
4680
|
+
return uncurryThis$e(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
4681
4681
|
} catch (error) { /* empty */ }
|
|
4682
4682
|
};
|
|
4683
4683
|
|
|
4684
|
-
var isObject$
|
|
4684
|
+
var isObject$7 = isObject$d;
|
|
4685
4685
|
|
|
4686
4686
|
var isPossiblePrototype$1 = function (argument) {
|
|
4687
|
-
return isObject$
|
|
4687
|
+
return isObject$7(argument) || argument === null;
|
|
4688
4688
|
};
|
|
4689
4689
|
|
|
4690
4690
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
@@ -4699,7 +4699,7 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
4699
4699
|
|
|
4700
4700
|
/* eslint-disable no-proto -- safe */
|
|
4701
4701
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
4702
|
-
var isObject$
|
|
4702
|
+
var isObject$6 = isObject$d;
|
|
4703
4703
|
var requireObjectCoercible$5 = requireObjectCoercible$8;
|
|
4704
4704
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
4705
4705
|
|
|
@@ -4719,46 +4719,46 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
4719
4719
|
return function setPrototypeOf(O, proto) {
|
|
4720
4720
|
requireObjectCoercible$5(O);
|
|
4721
4721
|
aPossiblePrototype(proto);
|
|
4722
|
-
if (!isObject$
|
|
4722
|
+
if (!isObject$6(O)) return O;
|
|
4723
4723
|
if (CORRECT_SETTER) setter(O, proto);
|
|
4724
4724
|
else O.__proto__ = proto;
|
|
4725
4725
|
return O;
|
|
4726
4726
|
};
|
|
4727
4727
|
}() : undefined);
|
|
4728
4728
|
|
|
4729
|
-
var defineProperty$
|
|
4730
|
-
var hasOwn$
|
|
4729
|
+
var defineProperty$4 = objectDefineProperty.f;
|
|
4730
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
4731
4731
|
var wellKnownSymbol$g = wellKnownSymbol$i;
|
|
4732
4732
|
|
|
4733
4733
|
var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');
|
|
4734
4734
|
|
|
4735
4735
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
4736
4736
|
if (target && !STATIC) target = target.prototype;
|
|
4737
|
-
if (target && !hasOwn$
|
|
4738
|
-
defineProperty$
|
|
4737
|
+
if (target && !hasOwn$3(target, TO_STRING_TAG$2)) {
|
|
4738
|
+
defineProperty$4(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
|
|
4739
4739
|
}
|
|
4740
4740
|
};
|
|
4741
4741
|
|
|
4742
4742
|
var makeBuiltIn = makeBuiltInExports;
|
|
4743
|
-
var defineProperty$
|
|
4743
|
+
var defineProperty$3 = objectDefineProperty;
|
|
4744
4744
|
|
|
4745
4745
|
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
4746
4746
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
4747
4747
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
4748
|
-
return defineProperty$
|
|
4748
|
+
return defineProperty$3.f(target, name, descriptor);
|
|
4749
4749
|
};
|
|
4750
4750
|
|
|
4751
|
-
var getBuiltIn$
|
|
4751
|
+
var getBuiltIn$6 = getBuiltIn$9;
|
|
4752
4752
|
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
4753
4753
|
var wellKnownSymbol$f = wellKnownSymbol$i;
|
|
4754
|
-
var DESCRIPTORS$
|
|
4754
|
+
var DESCRIPTORS$4 = descriptors;
|
|
4755
4755
|
|
|
4756
4756
|
var SPECIES$3 = wellKnownSymbol$f('species');
|
|
4757
4757
|
|
|
4758
4758
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
4759
|
-
var Constructor = getBuiltIn$
|
|
4759
|
+
var Constructor = getBuiltIn$6(CONSTRUCTOR_NAME);
|
|
4760
4760
|
|
|
4761
|
-
if (DESCRIPTORS$
|
|
4761
|
+
if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$3]) {
|
|
4762
4762
|
defineBuiltInAccessor(Constructor, SPECIES$3, {
|
|
4763
4763
|
configurable: true,
|
|
4764
4764
|
get: function () { return this; }
|
|
@@ -4766,12 +4766,12 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
4766
4766
|
}
|
|
4767
4767
|
};
|
|
4768
4768
|
|
|
4769
|
-
var isPrototypeOf$
|
|
4769
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
4770
4770
|
|
|
4771
4771
|
var $TypeError$7 = TypeError;
|
|
4772
4772
|
|
|
4773
4773
|
var anInstance$1 = function (it, Prototype) {
|
|
4774
|
-
if (isPrototypeOf$
|
|
4774
|
+
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
4775
4775
|
throw new $TypeError$7('Incorrect invocation');
|
|
4776
4776
|
};
|
|
4777
4777
|
|
|
@@ -4785,7 +4785,7 @@ test[TO_STRING_TAG$1] = 'z';
|
|
|
4785
4785
|
var toStringTagSupport = String(test) === '[object z]';
|
|
4786
4786
|
|
|
4787
4787
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
4788
|
-
var isCallable$
|
|
4788
|
+
var isCallable$d = isCallable$o;
|
|
4789
4789
|
var classofRaw$1 = classofRaw$2;
|
|
4790
4790
|
var wellKnownSymbol$d = wellKnownSymbol$i;
|
|
4791
4791
|
|
|
@@ -4811,24 +4811,24 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
4811
4811
|
// builtinTag case
|
|
4812
4812
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
4813
4813
|
// ES3 arguments fallback
|
|
4814
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
4814
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$d(O.callee) ? 'Arguments' : result;
|
|
4815
4815
|
};
|
|
4816
4816
|
|
|
4817
|
-
var uncurryThis$
|
|
4818
|
-
var fails$
|
|
4819
|
-
var isCallable$
|
|
4817
|
+
var uncurryThis$d = functionUncurryThis;
|
|
4818
|
+
var fails$c = fails$m;
|
|
4819
|
+
var isCallable$c = isCallable$o;
|
|
4820
4820
|
var classof$6 = classof$7;
|
|
4821
|
-
var getBuiltIn$
|
|
4821
|
+
var getBuiltIn$5 = getBuiltIn$9;
|
|
4822
4822
|
var inspectSource$1 = inspectSource$3;
|
|
4823
4823
|
|
|
4824
4824
|
var noop = function () { /* empty */ };
|
|
4825
|
-
var construct = getBuiltIn$
|
|
4825
|
+
var construct = getBuiltIn$5('Reflect', 'construct');
|
|
4826
4826
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
4827
|
-
var exec$3 = uncurryThis$
|
|
4827
|
+
var exec$3 = uncurryThis$d(constructorRegExp.exec);
|
|
4828
4828
|
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
4829
4829
|
|
|
4830
4830
|
var isConstructorModern = function isConstructor(argument) {
|
|
4831
|
-
if (!isCallable$
|
|
4831
|
+
if (!isCallable$c(argument)) return false;
|
|
4832
4832
|
try {
|
|
4833
4833
|
construct(noop, [], argument);
|
|
4834
4834
|
return true;
|
|
@@ -4838,7 +4838,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
4838
4838
|
};
|
|
4839
4839
|
|
|
4840
4840
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
4841
|
-
if (!isCallable$
|
|
4841
|
+
if (!isCallable$c(argument)) return false;
|
|
4842
4842
|
switch (classof$6(argument)) {
|
|
4843
4843
|
case 'AsyncFunction':
|
|
4844
4844
|
case 'GeneratorFunction':
|
|
@@ -4858,7 +4858,7 @@ isConstructorLegacy.sham = true;
|
|
|
4858
4858
|
|
|
4859
4859
|
// `IsConstructor` abstract operation
|
|
4860
4860
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
4861
|
-
var isConstructor$1 = !construct || fails$
|
|
4861
|
+
var isConstructor$1 = !construct || fails$c(function () {
|
|
4862
4862
|
var called;
|
|
4863
4863
|
return isConstructorModern(isConstructorModern.call)
|
|
4864
4864
|
|| !isConstructorModern(Object)
|
|
@@ -4895,29 +4895,29 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
|
4895
4895
|
var NATIVE_BIND$1 = functionBindNative;
|
|
4896
4896
|
|
|
4897
4897
|
var FunctionPrototype = Function.prototype;
|
|
4898
|
-
var apply$
|
|
4898
|
+
var apply$4 = FunctionPrototype.apply;
|
|
4899
4899
|
var call$d = FunctionPrototype.call;
|
|
4900
4900
|
|
|
4901
4901
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
4902
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$d.bind(apply$
|
|
4903
|
-
return call$d.apply(apply$
|
|
4902
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$d.bind(apply$4) : function () {
|
|
4903
|
+
return call$d.apply(apply$4, arguments);
|
|
4904
4904
|
});
|
|
4905
4905
|
|
|
4906
4906
|
var classofRaw = classofRaw$2;
|
|
4907
|
-
var uncurryThis$
|
|
4907
|
+
var uncurryThis$c = functionUncurryThis;
|
|
4908
4908
|
|
|
4909
4909
|
var functionUncurryThisClause = function (fn) {
|
|
4910
4910
|
// Nashorn bug:
|
|
4911
4911
|
// https://github.com/zloirock/core-js/issues/1128
|
|
4912
4912
|
// https://github.com/zloirock/core-js/issues/1130
|
|
4913
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$
|
|
4913
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$c(fn);
|
|
4914
4914
|
};
|
|
4915
4915
|
|
|
4916
|
-
var uncurryThis$
|
|
4916
|
+
var uncurryThis$b = functionUncurryThisClause;
|
|
4917
4917
|
var aCallable$5 = aCallable$8;
|
|
4918
4918
|
var NATIVE_BIND = functionBindNative;
|
|
4919
4919
|
|
|
4920
|
-
var bind$4 = uncurryThis$
|
|
4920
|
+
var bind$4 = uncurryThis$b(uncurryThis$b.bind);
|
|
4921
4921
|
|
|
4922
4922
|
// optional / simple context binding
|
|
4923
4923
|
var functionBindContext = function (fn, that) {
|
|
@@ -4927,13 +4927,13 @@ var functionBindContext = function (fn, that) {
|
|
|
4927
4927
|
};
|
|
4928
4928
|
};
|
|
4929
4929
|
|
|
4930
|
-
var getBuiltIn$
|
|
4930
|
+
var getBuiltIn$4 = getBuiltIn$9;
|
|
4931
4931
|
|
|
4932
|
-
var html$2 = getBuiltIn$
|
|
4932
|
+
var html$2 = getBuiltIn$4('document', 'documentElement');
|
|
4933
4933
|
|
|
4934
|
-
var uncurryThis$
|
|
4934
|
+
var uncurryThis$a = functionUncurryThis;
|
|
4935
4935
|
|
|
4936
|
-
var arraySlice$2 = uncurryThis$
|
|
4936
|
+
var arraySlice$2 = uncurryThis$a([].slice);
|
|
4937
4937
|
|
|
4938
4938
|
var $TypeError$5 = TypeError;
|
|
4939
4939
|
|
|
@@ -4947,12 +4947,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
4947
4947
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
4948
4948
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
4949
4949
|
|
|
4950
|
-
var global$
|
|
4951
|
-
var apply$
|
|
4950
|
+
var global$c = global$n;
|
|
4951
|
+
var apply$3 = functionApply;
|
|
4952
4952
|
var bind$3 = functionBindContext;
|
|
4953
|
-
var isCallable$
|
|
4954
|
-
var hasOwn$
|
|
4955
|
-
var fails$
|
|
4953
|
+
var isCallable$b = isCallable$o;
|
|
4954
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
4955
|
+
var fails$b = fails$m;
|
|
4956
4956
|
var html$1 = html$2;
|
|
4957
4957
|
var arraySlice$1 = arraySlice$2;
|
|
4958
4958
|
var createElement = documentCreateElement$2;
|
|
@@ -4960,25 +4960,25 @@ var validateArgumentsLength = validateArgumentsLength$1;
|
|
|
4960
4960
|
var IS_IOS$1 = engineIsIos;
|
|
4961
4961
|
var IS_NODE$3 = engineIsNode;
|
|
4962
4962
|
|
|
4963
|
-
var set = global$
|
|
4964
|
-
var clear = global$
|
|
4965
|
-
var process$3 = global$
|
|
4966
|
-
var Dispatch = global$
|
|
4967
|
-
var Function$1 = global$
|
|
4968
|
-
var MessageChannel = global$
|
|
4969
|
-
var String$1 = global$
|
|
4963
|
+
var set = global$c.setImmediate;
|
|
4964
|
+
var clear = global$c.clearImmediate;
|
|
4965
|
+
var process$3 = global$c.process;
|
|
4966
|
+
var Dispatch = global$c.Dispatch;
|
|
4967
|
+
var Function$1 = global$c.Function;
|
|
4968
|
+
var MessageChannel = global$c.MessageChannel;
|
|
4969
|
+
var String$1 = global$c.String;
|
|
4970
4970
|
var counter = 0;
|
|
4971
4971
|
var queue$2 = {};
|
|
4972
4972
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
4973
4973
|
var $location, defer, channel, port;
|
|
4974
4974
|
|
|
4975
|
-
fails$
|
|
4975
|
+
fails$b(function () {
|
|
4976
4976
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
4977
|
-
$location = global$
|
|
4977
|
+
$location = global$c.location;
|
|
4978
4978
|
});
|
|
4979
4979
|
|
|
4980
4980
|
var run = function (id) {
|
|
4981
|
-
if (hasOwn$
|
|
4981
|
+
if (hasOwn$2(queue$2, id)) {
|
|
4982
4982
|
var fn = queue$2[id];
|
|
4983
4983
|
delete queue$2[id];
|
|
4984
4984
|
fn();
|
|
@@ -4997,17 +4997,17 @@ var eventListener = function (event) {
|
|
|
4997
4997
|
|
|
4998
4998
|
var globalPostMessageDefer = function (id) {
|
|
4999
4999
|
// old engines have not location.origin
|
|
5000
|
-
global$
|
|
5000
|
+
global$c.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
5001
5001
|
};
|
|
5002
5002
|
|
|
5003
5003
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
5004
5004
|
if (!set || !clear) {
|
|
5005
5005
|
set = function setImmediate(handler) {
|
|
5006
5006
|
validateArgumentsLength(arguments.length, 1);
|
|
5007
|
-
var fn = isCallable$
|
|
5007
|
+
var fn = isCallable$b(handler) ? handler : Function$1(handler);
|
|
5008
5008
|
var args = arraySlice$1(arguments, 1);
|
|
5009
5009
|
queue$2[++counter] = function () {
|
|
5010
|
-
apply$
|
|
5010
|
+
apply$3(fn, undefined, args);
|
|
5011
5011
|
};
|
|
5012
5012
|
defer(counter);
|
|
5013
5013
|
return counter;
|
|
@@ -5035,14 +5035,14 @@ if (!set || !clear) {
|
|
|
5035
5035
|
// Browsers with postMessage, skip WebWorkers
|
|
5036
5036
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
5037
5037
|
} else if (
|
|
5038
|
-
global$
|
|
5039
|
-
isCallable$
|
|
5040
|
-
!global$
|
|
5038
|
+
global$c.addEventListener &&
|
|
5039
|
+
isCallable$b(global$c.postMessage) &&
|
|
5040
|
+
!global$c.importScripts &&
|
|
5041
5041
|
$location && $location.protocol !== 'file:' &&
|
|
5042
|
-
!fails$
|
|
5042
|
+
!fails$b(globalPostMessageDefer)
|
|
5043
5043
|
) {
|
|
5044
5044
|
defer = globalPostMessageDefer;
|
|
5045
|
-
global$
|
|
5045
|
+
global$c.addEventListener('message', eventListener, false);
|
|
5046
5046
|
// IE8-
|
|
5047
5047
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
5048
5048
|
defer = function (id) {
|
|
@@ -5064,16 +5064,16 @@ var task$1 = {
|
|
|
5064
5064
|
clear: clear
|
|
5065
5065
|
};
|
|
5066
5066
|
|
|
5067
|
-
var global$
|
|
5068
|
-
var DESCRIPTORS$
|
|
5067
|
+
var global$b = global$n;
|
|
5068
|
+
var DESCRIPTORS$3 = descriptors;
|
|
5069
5069
|
|
|
5070
5070
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
5071
5071
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
5072
5072
|
|
|
5073
5073
|
// Avoid NodeJS experimental warning
|
|
5074
5074
|
var safeGetBuiltIn$1 = function (name) {
|
|
5075
|
-
if (!DESCRIPTORS$
|
|
5076
|
-
var descriptor = getOwnPropertyDescriptor(global$
|
|
5075
|
+
if (!DESCRIPTORS$3) return global$b[name];
|
|
5076
|
+
var descriptor = getOwnPropertyDescriptor(global$b, name);
|
|
5077
5077
|
return descriptor && descriptor.value;
|
|
5078
5078
|
};
|
|
5079
5079
|
|
|
@@ -5110,7 +5110,7 @@ var userAgent = engineUserAgent;
|
|
|
5110
5110
|
|
|
5111
5111
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
5112
5112
|
|
|
5113
|
-
var global$
|
|
5113
|
+
var global$a = global$n;
|
|
5114
5114
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
5115
5115
|
var bind$2 = functionBindContext;
|
|
5116
5116
|
var macrotask = task$1.set;
|
|
@@ -5120,10 +5120,10 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
5120
5120
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
5121
5121
|
var IS_NODE$2 = engineIsNode;
|
|
5122
5122
|
|
|
5123
|
-
var MutationObserver = global$
|
|
5124
|
-
var document$2 = global$
|
|
5125
|
-
var process$2 = global$
|
|
5126
|
-
var Promise$1 = global$
|
|
5123
|
+
var MutationObserver = global$a.MutationObserver || global$a.WebKitMutationObserver;
|
|
5124
|
+
var document$2 = global$a.document;
|
|
5125
|
+
var process$2 = global$a.process;
|
|
5126
|
+
var Promise$1 = global$a.Promise;
|
|
5127
5127
|
var microtask$1 = safeGetBuiltIn('queueMicrotask');
|
|
5128
5128
|
var notify$1, toggle, node, promise, then;
|
|
5129
5129
|
|
|
@@ -5175,7 +5175,7 @@ if (!microtask$1) {
|
|
|
5175
5175
|
// - setTimeout
|
|
5176
5176
|
} else {
|
|
5177
5177
|
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
5178
|
-
macrotask = bind$2(macrotask, global$
|
|
5178
|
+
macrotask = bind$2(macrotask, global$a);
|
|
5179
5179
|
notify$1 = function () {
|
|
5180
5180
|
macrotask(flush);
|
|
5181
5181
|
};
|
|
@@ -5204,9 +5204,9 @@ var perform$3 = function (exec) {
|
|
|
5204
5204
|
}
|
|
5205
5205
|
};
|
|
5206
5206
|
|
|
5207
|
-
var global$
|
|
5207
|
+
var global$9 = global$n;
|
|
5208
5208
|
|
|
5209
|
-
var promiseNativeConstructor = global$
|
|
5209
|
+
var promiseNativeConstructor = global$9.Promise;
|
|
5210
5210
|
|
|
5211
5211
|
/* global Deno -- Deno case */
|
|
5212
5212
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
@@ -5218,9 +5218,9 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
5218
5218
|
&& typeof window == 'object'
|
|
5219
5219
|
&& typeof document == 'object';
|
|
5220
5220
|
|
|
5221
|
-
var global$
|
|
5221
|
+
var global$8 = global$n;
|
|
5222
5222
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
5223
|
-
var isCallable$
|
|
5223
|
+
var isCallable$a = isCallable$o;
|
|
5224
5224
|
var isForced = isForced_1;
|
|
5225
5225
|
var inspectSource = inspectSource$3;
|
|
5226
5226
|
var wellKnownSymbol$b = wellKnownSymbol$i;
|
|
@@ -5231,7 +5231,7 @@ var V8_VERSION = engineV8Version;
|
|
|
5231
5231
|
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
5232
5232
|
var SPECIES$1 = wellKnownSymbol$b('species');
|
|
5233
5233
|
var SUBCLASSING = false;
|
|
5234
|
-
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$
|
|
5234
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$a(global$8.PromiseRejectionEvent);
|
|
5235
5235
|
|
|
5236
5236
|
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
5237
5237
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
@@ -5286,17 +5286,17 @@ newPromiseCapability$2.f = function (C) {
|
|
|
5286
5286
|
return new PromiseCapability(C);
|
|
5287
5287
|
};
|
|
5288
5288
|
|
|
5289
|
-
var $$
|
|
5289
|
+
var $$c = _export;
|
|
5290
5290
|
var IS_NODE = engineIsNode;
|
|
5291
|
-
var global$
|
|
5291
|
+
var global$7 = global$n;
|
|
5292
5292
|
var call$c = functionCall;
|
|
5293
5293
|
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
5294
|
-
var setPrototypeOf$
|
|
5294
|
+
var setPrototypeOf$3 = objectSetPrototypeOf;
|
|
5295
5295
|
var setToStringTag$3 = setToStringTag$4;
|
|
5296
5296
|
var setSpecies = setSpecies$1;
|
|
5297
5297
|
var aCallable$3 = aCallable$8;
|
|
5298
|
-
var isCallable$
|
|
5299
|
-
var isObject$
|
|
5298
|
+
var isCallable$9 = isCallable$o;
|
|
5299
|
+
var isObject$5 = isObject$d;
|
|
5300
5300
|
var anInstance = anInstance$1;
|
|
5301
5301
|
var speciesConstructor = speciesConstructor$1;
|
|
5302
5302
|
var task = task$1.set;
|
|
@@ -5318,13 +5318,13 @@ var setInternalState$1 = InternalStateModule$1.set;
|
|
|
5318
5318
|
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
5319
5319
|
var PromiseConstructor = NativePromiseConstructor$2;
|
|
5320
5320
|
var PromisePrototype = NativePromisePrototype$1;
|
|
5321
|
-
var TypeError$1 = global$
|
|
5322
|
-
var document$1 = global$
|
|
5323
|
-
var process$1 = global$
|
|
5321
|
+
var TypeError$1 = global$7.TypeError;
|
|
5322
|
+
var document$1 = global$7.document;
|
|
5323
|
+
var process$1 = global$7.process;
|
|
5324
5324
|
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
5325
5325
|
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
5326
5326
|
|
|
5327
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
5327
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$7.dispatchEvent);
|
|
5328
5328
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
5329
5329
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
5330
5330
|
var PENDING = 0;
|
|
@@ -5338,7 +5338,7 @@ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
|
5338
5338
|
// helpers
|
|
5339
5339
|
var isThenable = function (it) {
|
|
5340
5340
|
var then;
|
|
5341
|
-
return isObject$
|
|
5341
|
+
return isObject$5(it) && isCallable$9(then = it.then) ? then : false;
|
|
5342
5342
|
};
|
|
5343
5343
|
|
|
5344
5344
|
var callReaction = function (reaction, state) {
|
|
@@ -5397,14 +5397,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
5397
5397
|
event.promise = promise;
|
|
5398
5398
|
event.reason = reason;
|
|
5399
5399
|
event.initEvent(name, false, true);
|
|
5400
|
-
global$
|
|
5400
|
+
global$7.dispatchEvent(event);
|
|
5401
5401
|
} else event = { promise: promise, reason: reason };
|
|
5402
|
-
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$
|
|
5402
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$7['on' + name])) handler(event);
|
|
5403
5403
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
5404
5404
|
};
|
|
5405
5405
|
|
|
5406
5406
|
var onUnhandled = function (state) {
|
|
5407
|
-
call$c(task, global$
|
|
5407
|
+
call$c(task, global$7, function () {
|
|
5408
5408
|
var promise = state.facade;
|
|
5409
5409
|
var value = state.value;
|
|
5410
5410
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -5427,7 +5427,7 @@ var isUnhandled = function (state) {
|
|
|
5427
5427
|
};
|
|
5428
5428
|
|
|
5429
5429
|
var onHandleUnhandled = function (state) {
|
|
5430
|
-
call$c(task, global$
|
|
5430
|
+
call$c(task, global$7, function () {
|
|
5431
5431
|
var promise = state.facade;
|
|
5432
5432
|
if (IS_NODE) {
|
|
5433
5433
|
process$1.emit('rejectionHandled', promise);
|
|
@@ -5516,8 +5516,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
5516
5516
|
var state = getInternalPromiseState(this);
|
|
5517
5517
|
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
5518
5518
|
state.parent = true;
|
|
5519
|
-
reaction.ok = isCallable$
|
|
5520
|
-
reaction.fail = isCallable$
|
|
5519
|
+
reaction.ok = isCallable$9(onFulfilled) ? onFulfilled : true;
|
|
5520
|
+
reaction.fail = isCallable$9(onRejected) && onRejected;
|
|
5521
5521
|
reaction.domain = IS_NODE ? process$1.domain : undefined;
|
|
5522
5522
|
if (state.state === PENDING) state.reactions.add(reaction);
|
|
5523
5523
|
else microtask(function () {
|
|
@@ -5540,7 +5540,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
5540
5540
|
: newGenericPromiseCapability(C);
|
|
5541
5541
|
};
|
|
5542
5542
|
|
|
5543
|
-
if (isCallable$
|
|
5543
|
+
if (isCallable$9(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
5544
5544
|
nativeThen = NativePromisePrototype$1.then;
|
|
5545
5545
|
|
|
5546
5546
|
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
@@ -5560,13 +5560,13 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
|
5560
5560
|
} catch (error) { /* empty */ }
|
|
5561
5561
|
|
|
5562
5562
|
// make `instanceof Promise` work for native promise-based APIs
|
|
5563
|
-
if (setPrototypeOf$
|
|
5564
|
-
setPrototypeOf$
|
|
5563
|
+
if (setPrototypeOf$3) {
|
|
5564
|
+
setPrototypeOf$3(NativePromisePrototype$1, PromisePrototype);
|
|
5565
5565
|
}
|
|
5566
5566
|
}
|
|
5567
5567
|
}
|
|
5568
5568
|
|
|
5569
|
-
$$
|
|
5569
|
+
$$c({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
5570
5570
|
Promise: PromiseConstructor
|
|
5571
5571
|
});
|
|
5572
5572
|
|
|
@@ -5644,7 +5644,7 @@ var anObject$7 = anObject$d;
|
|
|
5644
5644
|
var tryToString = tryToString$4;
|
|
5645
5645
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
5646
5646
|
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
5647
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
5647
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
5648
5648
|
var getIterator = getIterator$1;
|
|
5649
5649
|
var getIteratorMethod = getIteratorMethod$2;
|
|
5650
5650
|
var iteratorClose = iteratorClose$1;
|
|
@@ -5690,7 +5690,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
5690
5690
|
if (isArrayIteratorMethod(iterFn)) {
|
|
5691
5691
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
5692
5692
|
result = callFn(iterable[index]);
|
|
5693
|
-
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5693
|
+
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
5694
5694
|
} return new Result(false);
|
|
5695
5695
|
}
|
|
5696
5696
|
iterator = getIterator(iterable, iterFn);
|
|
@@ -5703,7 +5703,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
|
5703
5703
|
} catch (error) {
|
|
5704
5704
|
iteratorClose(iterator, 'throw', error);
|
|
5705
5705
|
}
|
|
5706
|
-
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
5706
|
+
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
5707
5707
|
} return new Result(false);
|
|
5708
5708
|
};
|
|
5709
5709
|
|
|
@@ -5756,7 +5756,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
5756
5756
|
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
5757
5757
|
});
|
|
5758
5758
|
|
|
5759
|
-
var $$
|
|
5759
|
+
var $$b = _export;
|
|
5760
5760
|
var call$8 = functionCall;
|
|
5761
5761
|
var aCallable$1 = aCallable$8;
|
|
5762
5762
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
@@ -5766,7 +5766,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
|
5766
5766
|
|
|
5767
5767
|
// `Promise.all` method
|
|
5768
5768
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
5769
|
-
$$
|
|
5769
|
+
$$b({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
5770
5770
|
all: function all(iterable) {
|
|
5771
5771
|
var C = this;
|
|
5772
5772
|
var capability = newPromiseCapabilityModule$2.f(C);
|
|
@@ -5795,32 +5795,32 @@ $$a({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
5795
5795
|
}
|
|
5796
5796
|
});
|
|
5797
5797
|
|
|
5798
|
-
var $$
|
|
5798
|
+
var $$a = _export;
|
|
5799
5799
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
5800
5800
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
5801
|
-
var getBuiltIn$
|
|
5802
|
-
var isCallable$
|
|
5801
|
+
var getBuiltIn$3 = getBuiltIn$9;
|
|
5802
|
+
var isCallable$8 = isCallable$o;
|
|
5803
5803
|
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
5804
5804
|
|
|
5805
5805
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
5806
5806
|
|
|
5807
5807
|
// `Promise.prototype.catch` method
|
|
5808
5808
|
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
5809
|
-
$$
|
|
5809
|
+
$$a({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
5810
5810
|
'catch': function (onRejected) {
|
|
5811
5811
|
return this.then(undefined, onRejected);
|
|
5812
5812
|
}
|
|
5813
5813
|
});
|
|
5814
5814
|
|
|
5815
5815
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
5816
|
-
if (isCallable$
|
|
5817
|
-
var method = getBuiltIn$
|
|
5816
|
+
if (isCallable$8(NativePromiseConstructor)) {
|
|
5817
|
+
var method = getBuiltIn$3('Promise').prototype['catch'];
|
|
5818
5818
|
if (NativePromisePrototype['catch'] !== method) {
|
|
5819
5819
|
defineBuiltIn$3(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
5820
5820
|
}
|
|
5821
5821
|
}
|
|
5822
5822
|
|
|
5823
|
-
var $$
|
|
5823
|
+
var $$9 = _export;
|
|
5824
5824
|
var call$7 = functionCall;
|
|
5825
5825
|
var aCallable = aCallable$8;
|
|
5826
5826
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
@@ -5830,7 +5830,7 @@ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
|
5830
5830
|
|
|
5831
5831
|
// `Promise.race` method
|
|
5832
5832
|
// https://tc39.es/ecma262/#sec-promise.race
|
|
5833
|
-
$$
|
|
5833
|
+
$$9({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
5834
5834
|
race: function race(iterable) {
|
|
5835
5835
|
var C = this;
|
|
5836
5836
|
var capability = newPromiseCapabilityModule$1.f(C);
|
|
@@ -5846,13 +5846,13 @@ $$8({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
|
5846
5846
|
}
|
|
5847
5847
|
});
|
|
5848
5848
|
|
|
5849
|
-
var $$
|
|
5849
|
+
var $$8 = _export;
|
|
5850
5850
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
5851
5851
|
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
5852
5852
|
|
|
5853
5853
|
// `Promise.reject` method
|
|
5854
5854
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
5855
|
-
$$
|
|
5855
|
+
$$8({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
5856
5856
|
reject: function reject(r) {
|
|
5857
5857
|
var capability = newPromiseCapabilityModule.f(this);
|
|
5858
5858
|
var capabilityReject = capability.reject;
|
|
@@ -5862,28 +5862,28 @@ $$7({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
5862
5862
|
});
|
|
5863
5863
|
|
|
5864
5864
|
var anObject$6 = anObject$d;
|
|
5865
|
-
var isObject$
|
|
5865
|
+
var isObject$4 = isObject$d;
|
|
5866
5866
|
var newPromiseCapability = newPromiseCapability$2;
|
|
5867
5867
|
|
|
5868
5868
|
var promiseResolve$1 = function (C, x) {
|
|
5869
5869
|
anObject$6(C);
|
|
5870
|
-
if (isObject$
|
|
5870
|
+
if (isObject$4(x) && x.constructor === C) return x;
|
|
5871
5871
|
var promiseCapability = newPromiseCapability.f(C);
|
|
5872
5872
|
var resolve = promiseCapability.resolve;
|
|
5873
5873
|
resolve(x);
|
|
5874
5874
|
return promiseCapability.promise;
|
|
5875
5875
|
};
|
|
5876
5876
|
|
|
5877
|
-
var $$
|
|
5878
|
-
var getBuiltIn$
|
|
5877
|
+
var $$7 = _export;
|
|
5878
|
+
var getBuiltIn$2 = getBuiltIn$9;
|
|
5879
5879
|
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
5880
5880
|
var promiseResolve = promiseResolve$1;
|
|
5881
5881
|
|
|
5882
|
-
getBuiltIn$
|
|
5882
|
+
getBuiltIn$2('Promise');
|
|
5883
5883
|
|
|
5884
5884
|
// `Promise.resolve` method
|
|
5885
5885
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
5886
|
-
$$
|
|
5886
|
+
$$7({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
5887
5887
|
resolve: function resolve(x) {
|
|
5888
5888
|
return promiseResolve(this, x);
|
|
5889
5889
|
}
|
|
@@ -5893,7 +5893,7 @@ var classof$4 = classof$7;
|
|
|
5893
5893
|
|
|
5894
5894
|
var $String$1 = String;
|
|
5895
5895
|
|
|
5896
|
-
var toString$
|
|
5896
|
+
var toString$9 = function (argument) {
|
|
5897
5897
|
if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
5898
5898
|
return $String$1(argument);
|
|
5899
5899
|
};
|
|
@@ -5916,13 +5916,13 @@ var regexpFlags$1 = function () {
|
|
|
5916
5916
|
return result;
|
|
5917
5917
|
};
|
|
5918
5918
|
|
|
5919
|
-
var fails$
|
|
5920
|
-
var global$
|
|
5919
|
+
var fails$a = fails$m;
|
|
5920
|
+
var global$6 = global$n;
|
|
5921
5921
|
|
|
5922
5922
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
5923
|
-
var $RegExp$2 = global$
|
|
5923
|
+
var $RegExp$2 = global$6.RegExp;
|
|
5924
5924
|
|
|
5925
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
5925
|
+
var UNSUPPORTED_Y$1 = fails$a(function () {
|
|
5926
5926
|
var re = $RegExp$2('a', 'y');
|
|
5927
5927
|
re.lastIndex = 2;
|
|
5928
5928
|
return re.exec('abcd') !== null;
|
|
@@ -5930,11 +5930,11 @@ var UNSUPPORTED_Y$1 = fails$9(function () {
|
|
|
5930
5930
|
|
|
5931
5931
|
// UC Browser bug
|
|
5932
5932
|
// https://github.com/zloirock/core-js/issues/1008
|
|
5933
|
-
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$
|
|
5933
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
5934
5934
|
return !$RegExp$2('a', 'y').sticky;
|
|
5935
5935
|
});
|
|
5936
5936
|
|
|
5937
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
5937
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$a(function () {
|
|
5938
5938
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
5939
5939
|
var re = $RegExp$2('^r', 'gy');
|
|
5940
5940
|
re.lastIndex = 2;
|
|
@@ -5949,7 +5949,7 @@ var regexpStickyHelpers = {
|
|
|
5949
5949
|
|
|
5950
5950
|
var objectDefineProperties = {};
|
|
5951
5951
|
|
|
5952
|
-
var DESCRIPTORS$
|
|
5952
|
+
var DESCRIPTORS$2 = descriptors;
|
|
5953
5953
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
5954
5954
|
var definePropertyModule = objectDefineProperty;
|
|
5955
5955
|
var anObject$4 = anObject$d;
|
|
@@ -5959,7 +5959,7 @@ var objectKeys = objectKeys$2;
|
|
|
5959
5959
|
// `Object.defineProperties` method
|
|
5960
5960
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
5961
5961
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
5962
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
5962
|
+
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
5963
5963
|
anObject$4(O);
|
|
5964
5964
|
var props = toIndexedObject$1(Properties);
|
|
5965
5965
|
var keys = objectKeys(Properties);
|
|
@@ -6054,24 +6054,24 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
6054
6054
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
6055
6055
|
};
|
|
6056
6056
|
|
|
6057
|
-
var fails$
|
|
6058
|
-
var global$
|
|
6057
|
+
var fails$9 = fails$m;
|
|
6058
|
+
var global$5 = global$n;
|
|
6059
6059
|
|
|
6060
6060
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
6061
|
-
var $RegExp$1 = global$
|
|
6061
|
+
var $RegExp$1 = global$5.RegExp;
|
|
6062
6062
|
|
|
6063
|
-
var regexpUnsupportedDotAll = fails$
|
|
6063
|
+
var regexpUnsupportedDotAll = fails$9(function () {
|
|
6064
6064
|
var re = $RegExp$1('.', 's');
|
|
6065
6065
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
6066
6066
|
});
|
|
6067
6067
|
|
|
6068
|
-
var fails$
|
|
6069
|
-
var global$
|
|
6068
|
+
var fails$8 = fails$m;
|
|
6069
|
+
var global$4 = global$n;
|
|
6070
6070
|
|
|
6071
6071
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
6072
|
-
var $RegExp = global$
|
|
6072
|
+
var $RegExp = global$4.RegExp;
|
|
6073
6073
|
|
|
6074
|
-
var regexpUnsupportedNcg = fails$
|
|
6074
|
+
var regexpUnsupportedNcg = fails$8(function () {
|
|
6075
6075
|
var re = $RegExp('(?<a>b)', 'g');
|
|
6076
6076
|
return re.exec('b').groups.a !== 'b' ||
|
|
6077
6077
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -6080,8 +6080,8 @@ var regexpUnsupportedNcg = fails$7(function () {
|
|
|
6080
6080
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
6081
6081
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
6082
6082
|
var call$6 = functionCall;
|
|
6083
|
-
var uncurryThis$
|
|
6084
|
-
var toString$
|
|
6083
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
6084
|
+
var toString$8 = toString$9;
|
|
6085
6085
|
var regexpFlags = regexpFlags$1;
|
|
6086
6086
|
var stickyHelpers = regexpStickyHelpers;
|
|
6087
6087
|
var shared = shared$4;
|
|
@@ -6093,10 +6093,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
6093
6093
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
6094
6094
|
var nativeExec = RegExp.prototype.exec;
|
|
6095
6095
|
var patchedExec = nativeExec;
|
|
6096
|
-
var charAt$4 = uncurryThis$
|
|
6097
|
-
var indexOf = uncurryThis$
|
|
6098
|
-
var replace$
|
|
6099
|
-
var stringSlice$3 = uncurryThis$
|
|
6096
|
+
var charAt$4 = uncurryThis$9(''.charAt);
|
|
6097
|
+
var indexOf = uncurryThis$9(''.indexOf);
|
|
6098
|
+
var replace$4 = uncurryThis$9(''.replace);
|
|
6099
|
+
var stringSlice$3 = uncurryThis$9(''.slice);
|
|
6100
6100
|
|
|
6101
6101
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
6102
6102
|
var re1 = /a/;
|
|
@@ -6117,7 +6117,7 @@ if (PATCH) {
|
|
|
6117
6117
|
patchedExec = function exec(string) {
|
|
6118
6118
|
var re = this;
|
|
6119
6119
|
var state = getInternalState$1(re);
|
|
6120
|
-
var str = toString$
|
|
6120
|
+
var str = toString$8(string);
|
|
6121
6121
|
var raw = state.raw;
|
|
6122
6122
|
var result, reCopy, lastIndex, match, i, object, group;
|
|
6123
6123
|
|
|
@@ -6136,7 +6136,7 @@ if (PATCH) {
|
|
|
6136
6136
|
var strCopy = str;
|
|
6137
6137
|
|
|
6138
6138
|
if (sticky) {
|
|
6139
|
-
flags = replace$
|
|
6139
|
+
flags = replace$4(flags, 'y', '');
|
|
6140
6140
|
if (indexOf(flags, 'g') === -1) {
|
|
6141
6141
|
flags += 'g';
|
|
6142
6142
|
}
|
|
@@ -6194,12 +6194,12 @@ if (PATCH) {
|
|
|
6194
6194
|
|
|
6195
6195
|
var regexpExec$2 = patchedExec;
|
|
6196
6196
|
|
|
6197
|
-
var $$
|
|
6197
|
+
var $$6 = _export;
|
|
6198
6198
|
var exec$2 = regexpExec$2;
|
|
6199
6199
|
|
|
6200
6200
|
// `RegExp.prototype.exec` method
|
|
6201
6201
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
6202
|
-
$$
|
|
6202
|
+
$$6({ target: 'RegExp', proto: true, forced: /./.exec !== exec$2 }, {
|
|
6203
6203
|
exec: exec$2
|
|
6204
6204
|
});
|
|
6205
6205
|
|
|
@@ -6208,9 +6208,9 @@ $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec$2 }, {
|
|
|
6208
6208
|
var call$5 = functionCall;
|
|
6209
6209
|
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
6210
6210
|
var regexpExec$1 = regexpExec$2;
|
|
6211
|
-
var fails$
|
|
6211
|
+
var fails$7 = fails$m;
|
|
6212
6212
|
var wellKnownSymbol$7 = wellKnownSymbol$i;
|
|
6213
|
-
var createNonEnumerableProperty$
|
|
6213
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
6214
6214
|
|
|
6215
6215
|
var SPECIES = wellKnownSymbol$7('species');
|
|
6216
6216
|
var RegExpPrototype = RegExp.prototype;
|
|
@@ -6218,14 +6218,14 @@ var RegExpPrototype = RegExp.prototype;
|
|
|
6218
6218
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
6219
6219
|
var SYMBOL = wellKnownSymbol$7(KEY);
|
|
6220
6220
|
|
|
6221
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
6221
|
+
var DELEGATES_TO_SYMBOL = !fails$7(function () {
|
|
6222
6222
|
// String methods call symbol-named RegExp methods
|
|
6223
6223
|
var O = {};
|
|
6224
6224
|
O[SYMBOL] = function () { return 7; };
|
|
6225
6225
|
return ''[KEY](O) !== 7;
|
|
6226
6226
|
});
|
|
6227
6227
|
|
|
6228
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
6228
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$7(function () {
|
|
6229
6229
|
// Symbol-named RegExp methods call .exec
|
|
6230
6230
|
var execCalled = false;
|
|
6231
6231
|
var re = /a/;
|
|
@@ -6276,21 +6276,21 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
6276
6276
|
defineBuiltIn$2(RegExpPrototype, SYMBOL, methods[1]);
|
|
6277
6277
|
}
|
|
6278
6278
|
|
|
6279
|
-
if (SHAM) createNonEnumerableProperty$
|
|
6279
|
+
if (SHAM) createNonEnumerableProperty$5(RegExpPrototype[SYMBOL], 'sham', true);
|
|
6280
6280
|
};
|
|
6281
6281
|
|
|
6282
|
-
var uncurryThis$
|
|
6282
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
6283
6283
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
|
|
6284
|
-
var toString$
|
|
6284
|
+
var toString$7 = toString$9;
|
|
6285
6285
|
var requireObjectCoercible$4 = requireObjectCoercible$8;
|
|
6286
6286
|
|
|
6287
|
-
var charAt$3 = uncurryThis$
|
|
6288
|
-
var charCodeAt$1 = uncurryThis$
|
|
6289
|
-
var stringSlice$2 = uncurryThis$
|
|
6287
|
+
var charAt$3 = uncurryThis$8(''.charAt);
|
|
6288
|
+
var charCodeAt$1 = uncurryThis$8(''.charCodeAt);
|
|
6289
|
+
var stringSlice$2 = uncurryThis$8(''.slice);
|
|
6290
6290
|
|
|
6291
6291
|
var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
6292
6292
|
return function ($this, pos) {
|
|
6293
|
-
var S = toString$
|
|
6293
|
+
var S = toString$7(requireObjectCoercible$4($this));
|
|
6294
6294
|
var position = toIntegerOrInfinity$1(pos);
|
|
6295
6295
|
var size = S.length;
|
|
6296
6296
|
var first, second;
|
|
@@ -6324,13 +6324,13 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
6324
6324
|
return index + (unicode ? charAt$2(S, index).length : 1);
|
|
6325
6325
|
};
|
|
6326
6326
|
|
|
6327
|
-
var uncurryThis$
|
|
6327
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
6328
6328
|
var toObject$1 = toObject$4;
|
|
6329
6329
|
|
|
6330
6330
|
var floor = Math.floor;
|
|
6331
|
-
var charAt$1 = uncurryThis$
|
|
6332
|
-
var replace$
|
|
6333
|
-
var stringSlice$1 = uncurryThis$
|
|
6331
|
+
var charAt$1 = uncurryThis$7(''.charAt);
|
|
6332
|
+
var replace$3 = uncurryThis$7(''.replace);
|
|
6333
|
+
var stringSlice$1 = uncurryThis$7(''.slice);
|
|
6334
6334
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
6335
6335
|
var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
|
|
6336
6336
|
var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
|
|
@@ -6345,7 +6345,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
6345
6345
|
namedCaptures = toObject$1(namedCaptures);
|
|
6346
6346
|
symbols = SUBSTITUTION_SYMBOLS;
|
|
6347
6347
|
}
|
|
6348
|
-
return replace$
|
|
6348
|
+
return replace$3(replacement, symbols, function (match, ch) {
|
|
6349
6349
|
var capture;
|
|
6350
6350
|
switch (charAt$1(ch, 0)) {
|
|
6351
6351
|
case '$': return '$';
|
|
@@ -6372,7 +6372,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
6372
6372
|
|
|
6373
6373
|
var call$4 = functionCall;
|
|
6374
6374
|
var anObject$2 = anObject$d;
|
|
6375
|
-
var isCallable$
|
|
6375
|
+
var isCallable$7 = isCallable$o;
|
|
6376
6376
|
var classof$3 = classofRaw$2;
|
|
6377
6377
|
var regexpExec = regexpExec$2;
|
|
6378
6378
|
|
|
@@ -6382,7 +6382,7 @@ var $TypeError$1 = TypeError;
|
|
|
6382
6382
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
6383
6383
|
var regexpExecAbstract = function (R, S) {
|
|
6384
6384
|
var exec = R.exec;
|
|
6385
|
-
if (isCallable$
|
|
6385
|
+
if (isCallable$7(exec)) {
|
|
6386
6386
|
var result = call$4(exec, R, S);
|
|
6387
6387
|
if (result !== null) anObject$2(result);
|
|
6388
6388
|
return result;
|
|
@@ -6391,17 +6391,17 @@ var regexpExecAbstract = function (R, S) {
|
|
|
6391
6391
|
throw new $TypeError$1('RegExp#exec called on incompatible receiver');
|
|
6392
6392
|
};
|
|
6393
6393
|
|
|
6394
|
-
var apply$
|
|
6394
|
+
var apply$2 = functionApply;
|
|
6395
6395
|
var call$3 = functionCall;
|
|
6396
|
-
var uncurryThis$
|
|
6396
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
6397
6397
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
6398
|
-
var fails$
|
|
6398
|
+
var fails$6 = fails$m;
|
|
6399
6399
|
var anObject$1 = anObject$d;
|
|
6400
|
-
var isCallable$
|
|
6400
|
+
var isCallable$6 = isCallable$o;
|
|
6401
6401
|
var isNullOrUndefined$1 = isNullOrUndefined$6;
|
|
6402
6402
|
var toIntegerOrInfinity = toIntegerOrInfinity$4;
|
|
6403
6403
|
var toLength = toLength$2;
|
|
6404
|
-
var toString$
|
|
6404
|
+
var toString$6 = toString$9;
|
|
6405
6405
|
var requireObjectCoercible$3 = requireObjectCoercible$8;
|
|
6406
6406
|
var advanceStringIndex = advanceStringIndex$1;
|
|
6407
6407
|
var getMethod$1 = getMethod$5;
|
|
@@ -6412,10 +6412,10 @@ var wellKnownSymbol$6 = wellKnownSymbol$i;
|
|
|
6412
6412
|
var REPLACE = wellKnownSymbol$6('replace');
|
|
6413
6413
|
var max = Math.max;
|
|
6414
6414
|
var min = Math.min;
|
|
6415
|
-
var concat = uncurryThis$
|
|
6416
|
-
var push$1 = uncurryThis$
|
|
6417
|
-
var stringIndexOf$1 = uncurryThis$
|
|
6418
|
-
var stringSlice = uncurryThis$
|
|
6415
|
+
var concat = uncurryThis$6([].concat);
|
|
6416
|
+
var push$1 = uncurryThis$6([].push);
|
|
6417
|
+
var stringIndexOf$1 = uncurryThis$6(''.indexOf);
|
|
6418
|
+
var stringSlice = uncurryThis$6(''.slice);
|
|
6419
6419
|
|
|
6420
6420
|
var maybeToString = function (it) {
|
|
6421
6421
|
return it === undefined ? it : String(it);
|
|
@@ -6436,7 +6436,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
6436
6436
|
return false;
|
|
6437
6437
|
})();
|
|
6438
6438
|
|
|
6439
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
6439
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$6(function () {
|
|
6440
6440
|
var re = /./;
|
|
6441
6441
|
re.exec = function () {
|
|
6442
6442
|
var result = [];
|
|
@@ -6459,13 +6459,13 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
6459
6459
|
var replacer = isNullOrUndefined$1(searchValue) ? undefined : getMethod$1(searchValue, REPLACE);
|
|
6460
6460
|
return replacer
|
|
6461
6461
|
? call$3(replacer, searchValue, O, replaceValue)
|
|
6462
|
-
: call$3(nativeReplace, toString$
|
|
6462
|
+
: call$3(nativeReplace, toString$6(O), searchValue, replaceValue);
|
|
6463
6463
|
},
|
|
6464
6464
|
// `RegExp.prototype[@@replace]` method
|
|
6465
6465
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
6466
6466
|
function (string, replaceValue) {
|
|
6467
6467
|
var rx = anObject$1(this);
|
|
6468
|
-
var S = toString$
|
|
6468
|
+
var S = toString$6(string);
|
|
6469
6469
|
|
|
6470
6470
|
if (
|
|
6471
6471
|
typeof replaceValue == 'string' &&
|
|
@@ -6476,8 +6476,8 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
6476
6476
|
if (res.done) return res.value;
|
|
6477
6477
|
}
|
|
6478
6478
|
|
|
6479
|
-
var functionalReplace = isCallable$
|
|
6480
|
-
if (!functionalReplace) replaceValue = toString$
|
|
6479
|
+
var functionalReplace = isCallable$6(replaceValue);
|
|
6480
|
+
if (!functionalReplace) replaceValue = toString$6(replaceValue);
|
|
6481
6481
|
|
|
6482
6482
|
var global = rx.global;
|
|
6483
6483
|
var fullUnicode;
|
|
@@ -6495,7 +6495,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
6495
6495
|
push$1(results, result);
|
|
6496
6496
|
if (!global) break;
|
|
6497
6497
|
|
|
6498
|
-
var matchStr = toString$
|
|
6498
|
+
var matchStr = toString$6(result[0]);
|
|
6499
6499
|
if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
|
|
6500
6500
|
}
|
|
6501
6501
|
|
|
@@ -6504,7 +6504,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
6504
6504
|
for (var i = 0; i < results.length; i++) {
|
|
6505
6505
|
result = results[i];
|
|
6506
6506
|
|
|
6507
|
-
var matched = toString$
|
|
6507
|
+
var matched = toString$6(result[0]);
|
|
6508
6508
|
var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);
|
|
6509
6509
|
var captures = [];
|
|
6510
6510
|
var replacement;
|
|
@@ -6518,7 +6518,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
6518
6518
|
if (functionalReplace) {
|
|
6519
6519
|
var replacerArgs = concat([matched], captures, position, S);
|
|
6520
6520
|
if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);
|
|
6521
|
-
replacement = toString$
|
|
6521
|
+
replacement = toString$6(apply$2(replaceValue, undefined, replacerArgs));
|
|
6522
6522
|
} else {
|
|
6523
6523
|
replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
|
|
6524
6524
|
}
|
|
@@ -6547,7 +6547,7 @@ var anObject = anObject$d;
|
|
|
6547
6547
|
var isNullOrUndefined = isNullOrUndefined$6;
|
|
6548
6548
|
var requireObjectCoercible$2 = requireObjectCoercible$8;
|
|
6549
6549
|
var sameValue = sameValue$1;
|
|
6550
|
-
var toString$
|
|
6550
|
+
var toString$5 = toString$9;
|
|
6551
6551
|
var getMethod = getMethod$5;
|
|
6552
6552
|
var regExpExec = regexpExecAbstract;
|
|
6553
6553
|
|
|
@@ -6559,13 +6559,13 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
6559
6559
|
function search(regexp) {
|
|
6560
6560
|
var O = requireObjectCoercible$2(this);
|
|
6561
6561
|
var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
|
|
6562
|
-
return searcher ? call$2(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$
|
|
6562
|
+
return searcher ? call$2(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$5(O));
|
|
6563
6563
|
},
|
|
6564
6564
|
// `RegExp.prototype[@@search]` method
|
|
6565
6565
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
|
6566
6566
|
function (string) {
|
|
6567
6567
|
var rx = anObject(this);
|
|
6568
|
-
var S = toString$
|
|
6568
|
+
var S = toString$5(string);
|
|
6569
6569
|
var res = maybeCallNative(nativeSearch, rx, S);
|
|
6570
6570
|
|
|
6571
6571
|
if (res.done) return res.value;
|
|
@@ -6580,75 +6580,74 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
|
6580
6580
|
});
|
|
6581
6581
|
|
|
6582
6582
|
function loadParams() {
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6583
|
+
if (typeof window !== 'undefined') {
|
|
6584
|
+
const list = window.location.search.substring(1).split('&');
|
|
6585
|
+
const m = {};
|
|
6586
|
+
for (let i = 0; i < list.length; i++) {
|
|
6587
|
+
const indexOf = list[i].indexOf('=');
|
|
6588
|
+
if (indexOf >= 0) {
|
|
6589
|
+
m[list[i].substring(0, indexOf)] = decodeURIComponent(list[i].substring(indexOf + 1));
|
|
6590
|
+
}
|
|
6589
6591
|
}
|
|
6592
|
+
return m;
|
|
6590
6593
|
}
|
|
6591
|
-
return
|
|
6594
|
+
return {};
|
|
6592
6595
|
}
|
|
6593
6596
|
function initBackendsLocations() {
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6597
|
+
params = loadParams();
|
|
6598
|
+
api = params['api'];
|
|
6599
|
+
if (typeof window !== 'undefined' && window.location) {
|
|
6600
|
+
currentUrl = window.location.href;
|
|
6601
|
+
}
|
|
6602
|
+
switch (api) {
|
|
6603
|
+
case 'prod':
|
|
6604
|
+
dBackend = 'https://query.bcrumbs.net';
|
|
6605
|
+
frontend = 'https://app.bcrumbs.net';
|
|
6606
|
+
apiBackend = 'https://api.bcrumbs.net';
|
|
6607
|
+
apiV2Backend = 'https://apiv2.bcrumbs.net';
|
|
6608
|
+
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6609
|
+
break;
|
|
6610
|
+
case 'test':
|
|
6611
|
+
dBackend = 'https://query.bcrumbs.net';
|
|
6612
|
+
frontend = 'https://dev.bcrumbs.net';
|
|
6613
|
+
apiBackend = 'https://api.bcrumbs.net';
|
|
6614
|
+
apiV2Backend = 'apiv2-dev.bcrumbs.net';
|
|
6615
|
+
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6616
|
+
break;
|
|
6617
|
+
case 'local':
|
|
6618
|
+
dBackend = 'https://localhost:44322';
|
|
6619
|
+
frontend = 'http://localhost:4200';
|
|
6620
|
+
apiBackend = 'http://localhost:6085';
|
|
6621
|
+
apiV2Backend = 'https://apiv2-dev.bcrumbs.net';
|
|
6622
|
+
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6623
|
+
break;
|
|
6624
|
+
default:
|
|
6625
|
+
if (currentUrl && currentUrl.indexOf('localhost') > -1) {
|
|
6626
|
+
dBackend = 'https://query.bcrumbs.net';
|
|
6627
|
+
frontend = 'http://localhost:4200';
|
|
6628
|
+
apiBackend = 'https://api.bcrumbs.net';
|
|
6629
|
+
apiV2Backend = 'https://apiv2-dev.bcrumbs.net';
|
|
6630
|
+
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6631
|
+
} else if (currentUrl && currentUrl.indexOf('dconfig.com') > -1) {
|
|
6602
6632
|
dBackend = 'https://query.bcrumbs.net';
|
|
6603
6633
|
frontend = 'https://app.bcrumbs.net';
|
|
6604
6634
|
apiBackend = 'https://api.bcrumbs.net';
|
|
6605
6635
|
apiV2Backend = 'https://apiv2.bcrumbs.net';
|
|
6606
6636
|
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6607
|
-
|
|
6608
|
-
case 'test':
|
|
6637
|
+
} else if (currentUrl && currentUrl.indexOf('dev.bcrumbs.net') > -1) {
|
|
6609
6638
|
dBackend = 'https://query.bcrumbs.net';
|
|
6610
6639
|
frontend = 'https://dev.bcrumbs.net';
|
|
6611
6640
|
apiBackend = 'https://api.bcrumbs.net';
|
|
6612
|
-
apiV2Backend = 'apiv2
|
|
6641
|
+
apiV2Backend = 'https://apiv2.bcrumbs.net';
|
|
6613
6642
|
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
apiV2Backend = 'https://apiv2-dev.bcrumbs.net';
|
|
6643
|
+
} else {
|
|
6644
|
+
dBackend = 'https://query.bcrumbs.net';
|
|
6645
|
+
frontend = 'https://app.bcrumbs.net';
|
|
6646
|
+
apiBackend = 'https://api.bcrumbs.net';
|
|
6647
|
+
apiV2Backend = 'https://apiv2.bcrumbs.net';
|
|
6620
6648
|
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
if (currentUrl) {
|
|
6624
|
-
if (currentUrl.indexOf('localhost') > -1) {
|
|
6625
|
-
dBackend = 'https://query.bcrumbs.net';
|
|
6626
|
-
frontend = 'http://localhost:4200';
|
|
6627
|
-
apiBackend = 'https://api.bcrumbs.net';
|
|
6628
|
-
apiV2Backend = 'https://apiv2-dev.bcrumbs.net';
|
|
6629
|
-
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6630
|
-
} else if (currentUrl.indexOf('dconfig.com') > -1) {
|
|
6631
|
-
dBackend = 'https://query.bcrumbs.net';
|
|
6632
|
-
frontend = 'https://app.bcrumbs.net';
|
|
6633
|
-
apiBackend = 'https://api.bcrumbs.net';
|
|
6634
|
-
apiV2Backend = 'https://apiv2.bcrumbs.net';
|
|
6635
|
-
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6636
|
-
} else if (currentUrl.indexOf('dev.bcrumbs.net') > -1) {
|
|
6637
|
-
dBackend = 'https://query.bcrumbs.net';
|
|
6638
|
-
frontend = 'https://dev.bcrumbs.net';
|
|
6639
|
-
apiBackend = 'https://api.bcrumbs.net';
|
|
6640
|
-
apiV2Backend = 'https://apiv2.bcrumbs.net';
|
|
6641
|
-
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6642
|
-
} else {
|
|
6643
|
-
dBackend = 'https://query.bcrumbs.net';
|
|
6644
|
-
frontend = 'https://app.bcrumbs.net';
|
|
6645
|
-
apiBackend = 'https://api.bcrumbs.net';
|
|
6646
|
-
apiV2Backend = 'https://apiv2.bcrumbs.net';
|
|
6647
|
-
showcaseRenderer = 'https://test-showcase.bcrumbs.net';
|
|
6648
|
-
}
|
|
6649
|
-
}
|
|
6650
|
-
break;
|
|
6651
|
-
}
|
|
6649
|
+
}
|
|
6650
|
+
break;
|
|
6652
6651
|
}
|
|
6653
6652
|
}
|
|
6654
6653
|
let params;
|
|
@@ -6685,16 +6684,22 @@ const {
|
|
|
6685
6684
|
function getUserToken() {
|
|
6686
6685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6687
6686
|
return new Promise(resolve => {
|
|
6688
|
-
|
|
6689
|
-
|
|
6687
|
+
if (typeof window !== 'undefined') {
|
|
6688
|
+
const storedToken = window.localStorage.getItem('token');
|
|
6689
|
+
resolve(storedToken);
|
|
6690
|
+
}
|
|
6691
|
+
resolve(undefined);
|
|
6690
6692
|
});
|
|
6691
6693
|
});
|
|
6692
6694
|
}
|
|
6693
6695
|
function getUserContext() {
|
|
6694
6696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6695
6697
|
return new Promise(resolve => {
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
+
if (typeof window !== 'undefined') {
|
|
6699
|
+
const storedContext = window.localStorage.getItem('ContextId');
|
|
6700
|
+
resolve(storedContext);
|
|
6701
|
+
}
|
|
6702
|
+
resolve(undefined);
|
|
6698
6703
|
});
|
|
6699
6704
|
});
|
|
6700
6705
|
}
|
|
@@ -6728,11 +6733,17 @@ const errorLink$1 = onError(({
|
|
|
6728
6733
|
}) => {
|
|
6729
6734
|
if (networkError && networkError.statusCode === 401) {
|
|
6730
6735
|
// redirect to login page
|
|
6731
|
-
|
|
6736
|
+
if (typeof window !== 'undefined') {
|
|
6737
|
+
return window.location.replace('/account/login');
|
|
6738
|
+
}
|
|
6732
6739
|
} else if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
|
|
6733
|
-
|
|
6740
|
+
if (typeof window !== 'undefined') {
|
|
6741
|
+
return window.location.replace('/account/error?message=' + networkError.message);
|
|
6742
|
+
}
|
|
6734
6743
|
} else {
|
|
6735
|
-
|
|
6744
|
+
if (typeof window !== 'undefined') {
|
|
6745
|
+
return window.location.replace('/account/error?message=Cannot connect to the server, please make sure you have an active internet connection');
|
|
6746
|
+
}
|
|
6736
6747
|
}
|
|
6737
6748
|
});
|
|
6738
6749
|
/* eslint-disable no-process-env */
|
|
@@ -6890,9 +6901,13 @@ const errorLink = onError(({
|
|
|
6890
6901
|
}) => {
|
|
6891
6902
|
if (networkError && networkError.statusCode === 401) {
|
|
6892
6903
|
// redirect to login page
|
|
6893
|
-
|
|
6904
|
+
if (typeof window !== 'undefined') {
|
|
6905
|
+
return window.location.replace('/account/login');
|
|
6906
|
+
}
|
|
6894
6907
|
} else if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
|
|
6895
|
-
|
|
6908
|
+
if (typeof window !== 'undefined') {
|
|
6909
|
+
return window.location.replace('/error?message=' + networkError.message);
|
|
6910
|
+
}
|
|
6896
6911
|
}
|
|
6897
6912
|
});
|
|
6898
6913
|
/* eslint-disable no-process-env */
|
|
@@ -6921,6 +6936,215 @@ new ApolloClient({
|
|
|
6921
6936
|
.restore(initialState || {})
|
|
6922
6937
|
}));
|
|
6923
6938
|
|
|
6939
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
6940
|
+
|
|
6941
|
+
var proxyAccessor$1 = function (Target, Source, key) {
|
|
6942
|
+
key in Target || defineProperty$2(Target, key, {
|
|
6943
|
+
configurable: true,
|
|
6944
|
+
get: function () { return Source[key]; },
|
|
6945
|
+
set: function (it) { Source[key] = it; }
|
|
6946
|
+
});
|
|
6947
|
+
};
|
|
6948
|
+
|
|
6949
|
+
var isCallable$5 = isCallable$o;
|
|
6950
|
+
var isObject$3 = isObject$d;
|
|
6951
|
+
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
6952
|
+
|
|
6953
|
+
// makes subclassing work correct for wrapped built-ins
|
|
6954
|
+
var inheritIfRequired$1 = function ($this, dummy, Wrapper) {
|
|
6955
|
+
var NewTarget, NewTargetPrototype;
|
|
6956
|
+
if (
|
|
6957
|
+
// it can work only with native `setPrototypeOf`
|
|
6958
|
+
setPrototypeOf$2 &&
|
|
6959
|
+
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
6960
|
+
isCallable$5(NewTarget = dummy.constructor) &&
|
|
6961
|
+
NewTarget !== Wrapper &&
|
|
6962
|
+
isObject$3(NewTargetPrototype = NewTarget.prototype) &&
|
|
6963
|
+
NewTargetPrototype !== Wrapper.prototype
|
|
6964
|
+
) setPrototypeOf$2($this, NewTargetPrototype);
|
|
6965
|
+
return $this;
|
|
6966
|
+
};
|
|
6967
|
+
|
|
6968
|
+
var toString$4 = toString$9;
|
|
6969
|
+
|
|
6970
|
+
var normalizeStringArgument$1 = function (argument, $default) {
|
|
6971
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$4(argument);
|
|
6972
|
+
};
|
|
6973
|
+
|
|
6974
|
+
var isObject$2 = isObject$d;
|
|
6975
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
6976
|
+
|
|
6977
|
+
// `InstallErrorCause` abstract operation
|
|
6978
|
+
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
6979
|
+
var installErrorCause$1 = function (O, options) {
|
|
6980
|
+
if (isObject$2(options) && 'cause' in options) {
|
|
6981
|
+
createNonEnumerableProperty$4(O, 'cause', options.cause);
|
|
6982
|
+
}
|
|
6983
|
+
};
|
|
6984
|
+
|
|
6985
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
6986
|
+
|
|
6987
|
+
var $Error = Error;
|
|
6988
|
+
var replace$2 = uncurryThis$5(''.replace);
|
|
6989
|
+
|
|
6990
|
+
var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');
|
|
6991
|
+
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
6992
|
+
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
6993
|
+
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
6994
|
+
|
|
6995
|
+
var errorStackClear = function (stack, dropEntries) {
|
|
6996
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
|
|
6997
|
+
while (dropEntries--) stack = replace$2(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
|
|
6998
|
+
} return stack;
|
|
6999
|
+
};
|
|
7000
|
+
|
|
7001
|
+
var fails$5 = fails$m;
|
|
7002
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
7003
|
+
|
|
7004
|
+
var errorStackInstallable = !fails$5(function () {
|
|
7005
|
+
var error = new Error('a');
|
|
7006
|
+
if (!('stack' in error)) return true;
|
|
7007
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
7008
|
+
Object.defineProperty(error, 'stack', createPropertyDescriptor$1(1, 7));
|
|
7009
|
+
return error.stack !== 7;
|
|
7010
|
+
});
|
|
7011
|
+
|
|
7012
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
7013
|
+
var clearErrorStack = errorStackClear;
|
|
7014
|
+
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
7015
|
+
|
|
7016
|
+
// non-standard V8
|
|
7017
|
+
var captureStackTrace = Error.captureStackTrace;
|
|
7018
|
+
|
|
7019
|
+
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
7020
|
+
if (ERROR_STACK_INSTALLABLE) {
|
|
7021
|
+
if (captureStackTrace) captureStackTrace(error, C);
|
|
7022
|
+
else createNonEnumerableProperty$3(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
7023
|
+
}
|
|
7024
|
+
};
|
|
7025
|
+
|
|
7026
|
+
var getBuiltIn$1 = getBuiltIn$9;
|
|
7027
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
7028
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
|
|
7029
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
7030
|
+
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
7031
|
+
var copyConstructorProperties = copyConstructorProperties$2;
|
|
7032
|
+
var proxyAccessor = proxyAccessor$1;
|
|
7033
|
+
var inheritIfRequired = inheritIfRequired$1;
|
|
7034
|
+
var normalizeStringArgument = normalizeStringArgument$1;
|
|
7035
|
+
var installErrorCause = installErrorCause$1;
|
|
7036
|
+
var installErrorStack = errorStackInstall;
|
|
7037
|
+
var DESCRIPTORS$1 = descriptors;
|
|
7038
|
+
|
|
7039
|
+
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
7040
|
+
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
7041
|
+
var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;
|
|
7042
|
+
var path = FULL_NAME.split('.');
|
|
7043
|
+
var ERROR_NAME = path[path.length - 1];
|
|
7044
|
+
var OriginalError = getBuiltIn$1.apply(null, path);
|
|
7045
|
+
|
|
7046
|
+
if (!OriginalError) return;
|
|
7047
|
+
|
|
7048
|
+
var OriginalErrorPrototype = OriginalError.prototype;
|
|
7049
|
+
|
|
7050
|
+
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
7051
|
+
if (hasOwn$1(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
7052
|
+
|
|
7053
|
+
if (!FORCED) return OriginalError;
|
|
7054
|
+
|
|
7055
|
+
var BaseError = getBuiltIn$1('Error');
|
|
7056
|
+
|
|
7057
|
+
var WrappedError = wrapper(function (a, b) {
|
|
7058
|
+
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
7059
|
+
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
7060
|
+
if (message !== undefined) createNonEnumerableProperty$2(result, 'message', message);
|
|
7061
|
+
installErrorStack(result, WrappedError, result.stack, 2);
|
|
7062
|
+
if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);
|
|
7063
|
+
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
7064
|
+
return result;
|
|
7065
|
+
});
|
|
7066
|
+
|
|
7067
|
+
WrappedError.prototype = OriginalErrorPrototype;
|
|
7068
|
+
|
|
7069
|
+
if (ERROR_NAME !== 'Error') {
|
|
7070
|
+
if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
|
|
7071
|
+
else copyConstructorProperties(WrappedError, BaseError, { name: true });
|
|
7072
|
+
} else if (DESCRIPTORS$1 && STACK_TRACE_LIMIT in OriginalError) {
|
|
7073
|
+
proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
7074
|
+
proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');
|
|
7075
|
+
}
|
|
7076
|
+
|
|
7077
|
+
copyConstructorProperties(WrappedError, OriginalError);
|
|
7078
|
+
|
|
7079
|
+
try {
|
|
7080
|
+
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
7081
|
+
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
7082
|
+
createNonEnumerableProperty$2(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
7083
|
+
}
|
|
7084
|
+
OriginalErrorPrototype.constructor = WrappedError;
|
|
7085
|
+
} catch (error) { /* empty */ }
|
|
7086
|
+
|
|
7087
|
+
return WrappedError;
|
|
7088
|
+
};
|
|
7089
|
+
|
|
7090
|
+
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
7091
|
+
var $$5 = _export;
|
|
7092
|
+
var global$3 = global$n;
|
|
7093
|
+
var apply$1 = functionApply;
|
|
7094
|
+
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
7095
|
+
|
|
7096
|
+
var WEB_ASSEMBLY = 'WebAssembly';
|
|
7097
|
+
var WebAssembly = global$3[WEB_ASSEMBLY];
|
|
7098
|
+
|
|
7099
|
+
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
7100
|
+
var FORCED$1 = new Error('e', { cause: 7 }).cause !== 7;
|
|
7101
|
+
|
|
7102
|
+
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
7103
|
+
var O = {};
|
|
7104
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$1);
|
|
7105
|
+
$$5({ global: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
|
|
7106
|
+
};
|
|
7107
|
+
|
|
7108
|
+
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
7109
|
+
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
7110
|
+
var O = {};
|
|
7111
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$1);
|
|
7112
|
+
$$5({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$1 }, O);
|
|
7113
|
+
}
|
|
7114
|
+
};
|
|
7115
|
+
|
|
7116
|
+
// https://tc39.es/ecma262/#sec-nativeerror
|
|
7117
|
+
exportGlobalErrorCauseWrapper('Error', function (init) {
|
|
7118
|
+
return function Error(message) { return apply$1(init, this, arguments); };
|
|
7119
|
+
});
|
|
7120
|
+
exportGlobalErrorCauseWrapper('EvalError', function (init) {
|
|
7121
|
+
return function EvalError(message) { return apply$1(init, this, arguments); };
|
|
7122
|
+
});
|
|
7123
|
+
exportGlobalErrorCauseWrapper('RangeError', function (init) {
|
|
7124
|
+
return function RangeError(message) { return apply$1(init, this, arguments); };
|
|
7125
|
+
});
|
|
7126
|
+
exportGlobalErrorCauseWrapper('ReferenceError', function (init) {
|
|
7127
|
+
return function ReferenceError(message) { return apply$1(init, this, arguments); };
|
|
7128
|
+
});
|
|
7129
|
+
exportGlobalErrorCauseWrapper('SyntaxError', function (init) {
|
|
7130
|
+
return function SyntaxError(message) { return apply$1(init, this, arguments); };
|
|
7131
|
+
});
|
|
7132
|
+
exportGlobalErrorCauseWrapper('TypeError', function (init) {
|
|
7133
|
+
return function TypeError(message) { return apply$1(init, this, arguments); };
|
|
7134
|
+
});
|
|
7135
|
+
exportGlobalErrorCauseWrapper('URIError', function (init) {
|
|
7136
|
+
return function URIError(message) { return apply$1(init, this, arguments); };
|
|
7137
|
+
});
|
|
7138
|
+
exportWebAssemblyErrorCauseWrapper('CompileError', function (init) {
|
|
7139
|
+
return function CompileError(message) { return apply$1(init, this, arguments); };
|
|
7140
|
+
});
|
|
7141
|
+
exportWebAssemblyErrorCauseWrapper('LinkError', function (init) {
|
|
7142
|
+
return function LinkError(message) { return apply$1(init, this, arguments); };
|
|
7143
|
+
});
|
|
7144
|
+
exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
7145
|
+
return function RuntimeError(message) { return apply$1(init, this, arguments); };
|
|
7146
|
+
});
|
|
7147
|
+
|
|
6924
7148
|
var classof$2 = classofRaw$2;
|
|
6925
7149
|
|
|
6926
7150
|
// `IsArray` abstract operation
|
|
@@ -6932,9 +7156,9 @@ var isArray$1 = Array.isArray || function isArray(argument) {
|
|
|
6932
7156
|
|
|
6933
7157
|
var uncurryThis$4 = functionUncurryThis;
|
|
6934
7158
|
var isArray = isArray$1;
|
|
6935
|
-
var isCallable$4 = isCallable$
|
|
7159
|
+
var isCallable$4 = isCallable$o;
|
|
6936
7160
|
var classof$1 = classofRaw$2;
|
|
6937
|
-
var toString$3 = toString$
|
|
7161
|
+
var toString$3 = toString$9;
|
|
6938
7162
|
|
|
6939
7163
|
var push = uncurryThis$4([].push);
|
|
6940
7164
|
|
|
@@ -6961,12 +7185,12 @@ var getJsonReplacerFunction = function (replacer) {
|
|
|
6961
7185
|
};
|
|
6962
7186
|
|
|
6963
7187
|
var $$4 = _export;
|
|
6964
|
-
var getBuiltIn = getBuiltIn$
|
|
7188
|
+
var getBuiltIn = getBuiltIn$9;
|
|
6965
7189
|
var apply = functionApply;
|
|
6966
7190
|
var call$1 = functionCall;
|
|
6967
7191
|
var uncurryThis$3 = functionUncurryThis;
|
|
6968
|
-
var fails$4 = fails$
|
|
6969
|
-
var isCallable$3 = isCallable$
|
|
7192
|
+
var fails$4 = fails$m;
|
|
7193
|
+
var isCallable$3 = isCallable$o;
|
|
6970
7194
|
var isSymbol = isSymbol$3;
|
|
6971
7195
|
var arraySlice = arraySlice$2;
|
|
6972
7196
|
var getReplacerFunction = getJsonReplacerFunction;
|
|
@@ -7039,7 +7263,7 @@ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
7039
7263
|
|
|
7040
7264
|
var uncurryThis$2 = functionUncurryThis;
|
|
7041
7265
|
var requireObjectCoercible$1 = requireObjectCoercible$8;
|
|
7042
|
-
var toString$2 = toString$
|
|
7266
|
+
var toString$2 = toString$9;
|
|
7043
7267
|
var whitespaces$1 = whitespaces$2;
|
|
7044
7268
|
|
|
7045
7269
|
var replace = uncurryThis$2(''.replace);
|
|
@@ -7068,10 +7292,10 @@ var stringTrim = {
|
|
|
7068
7292
|
trim: createMethod(3)
|
|
7069
7293
|
};
|
|
7070
7294
|
|
|
7071
|
-
var global$2 = global$
|
|
7072
|
-
var fails$3 = fails$
|
|
7295
|
+
var global$2 = global$n;
|
|
7296
|
+
var fails$3 = fails$m;
|
|
7073
7297
|
var uncurryThis$1 = functionUncurryThis;
|
|
7074
|
-
var toString$1 = toString$
|
|
7298
|
+
var toString$1 = toString$9;
|
|
7075
7299
|
var trim = stringTrim.trim;
|
|
7076
7300
|
var whitespaces = whitespaces$2;
|
|
7077
7301
|
|
|
@@ -7124,13 +7348,16 @@ const auth = {
|
|
|
7124
7348
|
* @returns {string} token value
|
|
7125
7349
|
*/
|
|
7126
7350
|
getToken(fromStorage = APP_PERSIST_STORES_TYPES[0], tokenKey = TOKEN_KEY) {
|
|
7351
|
+
if (typeof window === 'undefined') {
|
|
7352
|
+
return null;
|
|
7353
|
+
}
|
|
7127
7354
|
// localStorage:
|
|
7128
7355
|
if (fromStorage === APP_PERSIST_STORES_TYPES[0]) {
|
|
7129
|
-
return window
|
|
7356
|
+
return window.localStorage && window.localStorage.getItem(tokenKey) || null;
|
|
7130
7357
|
}
|
|
7131
7358
|
// sessionStorage:
|
|
7132
7359
|
if (fromStorage === APP_PERSIST_STORES_TYPES[1]) {
|
|
7133
|
-
return window
|
|
7360
|
+
return window.sessionStorage && window.sessionStorage.getItem(tokenKey) || null;
|
|
7134
7361
|
}
|
|
7135
7362
|
// default:
|
|
7136
7363
|
return null;
|
|
@@ -7144,18 +7371,21 @@ const auth = {
|
|
|
7144
7371
|
* @returns {boolean} success/failure flag
|
|
7145
7372
|
*/
|
|
7146
7373
|
setToken(value = '', toStorage = APP_PERSIST_STORES_TYPES[0], tokenKey = TOKEN_KEY) {
|
|
7374
|
+
if (typeof window === 'undefined') {
|
|
7375
|
+
throw Error('Token should not be set from backend side.');
|
|
7376
|
+
}
|
|
7147
7377
|
if (!value || value.length <= 0) {
|
|
7148
7378
|
return;
|
|
7149
7379
|
}
|
|
7150
7380
|
// localStorage:
|
|
7151
7381
|
if (toStorage === APP_PERSIST_STORES_TYPES[0]) {
|
|
7152
|
-
if (window
|
|
7382
|
+
if (window.localStorage) {
|
|
7153
7383
|
window.localStorage.setItem(tokenKey, value);
|
|
7154
7384
|
}
|
|
7155
7385
|
}
|
|
7156
7386
|
// sessionStorage:
|
|
7157
7387
|
if (toStorage === APP_PERSIST_STORES_TYPES[1]) {
|
|
7158
|
-
if (window
|
|
7388
|
+
if (window.sessionStorage) {
|
|
7159
7389
|
window.sessionStorage.setItem(tokenKey, value);
|
|
7160
7390
|
}
|
|
7161
7391
|
}
|
|
@@ -7182,9 +7412,12 @@ const auth = {
|
|
|
7182
7412
|
* @returns {bool} is authenticed response
|
|
7183
7413
|
*/
|
|
7184
7414
|
isAuthenticated(fromStorage = APP_PERSIST_STORES_TYPES[0], tokenKey = TOKEN_KEY) {
|
|
7415
|
+
if (typeof window === 'undefined') {
|
|
7416
|
+
return false;
|
|
7417
|
+
}
|
|
7185
7418
|
// localStorage:
|
|
7186
7419
|
if (fromStorage === APP_PERSIST_STORES_TYPES[0]) {
|
|
7187
|
-
if (window
|
|
7420
|
+
if (window.localStorage && window.localStorage.getItem(tokenKey)) {
|
|
7188
7421
|
return true;
|
|
7189
7422
|
} else {
|
|
7190
7423
|
return false;
|
|
@@ -7192,7 +7425,7 @@ const auth = {
|
|
|
7192
7425
|
}
|
|
7193
7426
|
// sessionStorage:
|
|
7194
7427
|
if (fromStorage === APP_PERSIST_STORES_TYPES[1]) {
|
|
7195
|
-
if (window
|
|
7428
|
+
if (window.sessionStorage && window.sessionStorage.getItem(tokenKey)) {
|
|
7196
7429
|
return true;
|
|
7197
7430
|
} else {
|
|
7198
7431
|
return false;
|
|
@@ -7208,13 +7441,16 @@ const auth = {
|
|
|
7208
7441
|
* @returns {bool} success/failure flag
|
|
7209
7442
|
*/
|
|
7210
7443
|
clearToken(storage = APP_PERSIST_STORES_TYPES[0], tokenKey = TOKEN_KEY) {
|
|
7444
|
+
if (typeof window === 'undefined') {
|
|
7445
|
+
return false;
|
|
7446
|
+
}
|
|
7211
7447
|
// localStorage:
|
|
7212
|
-
if (window
|
|
7448
|
+
if (window.localStorage && window.localStorage[tokenKey]) {
|
|
7213
7449
|
window.localStorage.removeItem(tokenKey);
|
|
7214
7450
|
return true;
|
|
7215
7451
|
}
|
|
7216
7452
|
// sessionStorage:
|
|
7217
|
-
if (window
|
|
7453
|
+
if (window.sessionStorage && window.sessionStorage[tokenKey]) {
|
|
7218
7454
|
window.sessionStorage.removeItem(tokenKey);
|
|
7219
7455
|
return true;
|
|
7220
7456
|
}
|
|
@@ -7228,6 +7464,9 @@ const auth = {
|
|
|
7228
7464
|
* @returns {date | null} returns expiration date or null id expired props not found in decoded token
|
|
7229
7465
|
*/
|
|
7230
7466
|
getTokenExpirationDate(encodedToken) {
|
|
7467
|
+
if (typeof window === 'undefined') {
|
|
7468
|
+
return new Date(0);
|
|
7469
|
+
}
|
|
7231
7470
|
if (!encodedToken) {
|
|
7232
7471
|
return new Date(0); // is expired
|
|
7233
7472
|
}
|
|
@@ -7263,8 +7502,8 @@ const auth = {
|
|
|
7263
7502
|
* @returns {string} token value
|
|
7264
7503
|
*/
|
|
7265
7504
|
getUserInfo(fromStorage = APP_PERSIST_STORES_TYPES[0], userInfoKey = USER_INFO) {
|
|
7266
|
-
if (
|
|
7267
|
-
return
|
|
7505
|
+
if (typeof window === 'undefined') {
|
|
7506
|
+
return undefined;
|
|
7268
7507
|
}
|
|
7269
7508
|
// localStorage:
|
|
7270
7509
|
if (fromStorage === APP_PERSIST_STORES_TYPES[0]) {
|
|
@@ -7288,18 +7527,21 @@ const auth = {
|
|
|
7288
7527
|
* @returns {boolean} success/failure flag
|
|
7289
7528
|
*/
|
|
7290
7529
|
setUserInfo(value, toStorage = APP_PERSIST_STORES_TYPES[0], userInfoKey = USER_INFO) {
|
|
7530
|
+
if (typeof window === 'undefined') {
|
|
7531
|
+
throw Error('User info should not be set from backend side.');
|
|
7532
|
+
}
|
|
7291
7533
|
if (!value) {
|
|
7292
7534
|
return;
|
|
7293
7535
|
}
|
|
7294
7536
|
// localStorage:
|
|
7295
7537
|
if (toStorage === APP_PERSIST_STORES_TYPES[0]) {
|
|
7296
|
-
if (window
|
|
7538
|
+
if (window.localStorage) {
|
|
7297
7539
|
window.localStorage.setItem(userInfoKey, stringify(value));
|
|
7298
7540
|
}
|
|
7299
7541
|
}
|
|
7300
7542
|
// sessionStorage:
|
|
7301
7543
|
if (toStorage === APP_PERSIST_STORES_TYPES[1]) {
|
|
7302
|
-
if (window
|
|
7544
|
+
if (window.sessionStorage) {
|
|
7303
7545
|
window.sessionStorage.setItem(userInfoKey, stringify(value));
|
|
7304
7546
|
}
|
|
7305
7547
|
}
|
|
@@ -7317,12 +7559,15 @@ const auth = {
|
|
|
7317
7559
|
* @returns {bool} success/failure flag
|
|
7318
7560
|
*/
|
|
7319
7561
|
clearUserInfo(userInfoKey = USER_INFO) {
|
|
7562
|
+
if (typeof window === 'undefined') {
|
|
7563
|
+
throw Error('User info should not be cleared from backend side.');
|
|
7564
|
+
}
|
|
7320
7565
|
// localStorage:
|
|
7321
|
-
if (window
|
|
7566
|
+
if (window.localStorage && window.localStorage[userInfoKey]) {
|
|
7322
7567
|
window.localStorage.removeItem(userInfoKey);
|
|
7323
7568
|
}
|
|
7324
7569
|
// sessionStorage:
|
|
7325
|
-
if (window
|
|
7570
|
+
if (window.sessionStorage && window.sessionStorage[userInfoKey]) {
|
|
7326
7571
|
window.sessionStorage.removeItem(userInfoKey);
|
|
7327
7572
|
}
|
|
7328
7573
|
},
|
|
@@ -7334,10 +7579,13 @@ const auth = {
|
|
|
7334
7579
|
* @returns {bool} success/failure flag
|
|
7335
7580
|
*/
|
|
7336
7581
|
clearAllAppStorage() {
|
|
7337
|
-
if (window
|
|
7582
|
+
if (typeof window === 'undefined') {
|
|
7583
|
+
throw Error('App storage should not be cleared from backend side.');
|
|
7584
|
+
}
|
|
7585
|
+
if (window.localStorage) {
|
|
7338
7586
|
window.localStorage.clear();
|
|
7339
7587
|
}
|
|
7340
|
-
if (window
|
|
7588
|
+
if (window.sessionStorage) {
|
|
7341
7589
|
window.sessionStorage.clear();
|
|
7342
7590
|
}
|
|
7343
7591
|
dconfigClient.clearStore();
|
|
@@ -7354,18 +7602,21 @@ const auth = {
|
|
|
7354
7602
|
* @returns {boolean} success/failure flag
|
|
7355
7603
|
*/
|
|
7356
7604
|
setContext(value = '', toStorage = APP_PERSIST_STORES_TYPES[0], contextKey = CONTEXT_KEY) {
|
|
7605
|
+
if (typeof window === 'undefined') {
|
|
7606
|
+
throw Error('Context should not be set from backend side.');
|
|
7607
|
+
}
|
|
7357
7608
|
if (!value || value.length <= 0) {
|
|
7358
7609
|
return;
|
|
7359
7610
|
}
|
|
7360
7611
|
// localStorage:
|
|
7361
7612
|
if (toStorage === APP_PERSIST_STORES_TYPES[0]) {
|
|
7362
|
-
if (window
|
|
7613
|
+
if (window.localStorage) {
|
|
7363
7614
|
window.localStorage.setItem(contextKey, value);
|
|
7364
7615
|
}
|
|
7365
7616
|
}
|
|
7366
7617
|
// sessionStorage:
|
|
7367
7618
|
if (toStorage === APP_PERSIST_STORES_TYPES[1]) {
|
|
7368
|
-
if (window
|
|
7619
|
+
if (window.sessionStorage) {
|
|
7369
7620
|
window.sessionStorage.setItem(contextKey, value);
|
|
7370
7621
|
}
|
|
7371
7622
|
}
|
|
@@ -7378,13 +7629,16 @@ const auth = {
|
|
|
7378
7629
|
* @returns {number} token value
|
|
7379
7630
|
*/
|
|
7380
7631
|
getContext(fromStorage = APP_PERSIST_STORES_TYPES[0], contextKey = CONTEXT_KEY) {
|
|
7632
|
+
if (typeof window === 'undefined') {
|
|
7633
|
+
return undefined;
|
|
7634
|
+
}
|
|
7381
7635
|
// localStorage:
|
|
7382
7636
|
if (fromStorage === APP_PERSIST_STORES_TYPES[0]) {
|
|
7383
|
-
return parseInt(window
|
|
7637
|
+
return parseInt(window.localStorage && window.localStorage.getItem(contextKey) || '');
|
|
7384
7638
|
}
|
|
7385
7639
|
// sessionStorage:
|
|
7386
7640
|
if (fromStorage === APP_PERSIST_STORES_TYPES[1]) {
|
|
7387
|
-
return parseInt(window
|
|
7641
|
+
return parseInt(window.sessionStorage && window.sessionStorage.getItem(contextKey) || '');
|
|
7388
7642
|
}
|
|
7389
7643
|
// default:
|
|
7390
7644
|
return null;
|
|
@@ -90744,7 +90998,7 @@ var addToUnscopables$2 = function (key) {
|
|
|
90744
90998
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
90745
90999
|
};
|
|
90746
91000
|
|
|
90747
|
-
var fails$2 = fails$
|
|
91001
|
+
var fails$2 = fails$m;
|
|
90748
91002
|
|
|
90749
91003
|
var correctPrototypeGetter = !fails$2(function () {
|
|
90750
91004
|
function F() { /* empty */ }
|
|
@@ -90754,7 +91008,7 @@ var correctPrototypeGetter = !fails$2(function () {
|
|
|
90754
91008
|
});
|
|
90755
91009
|
|
|
90756
91010
|
var hasOwn = hasOwnProperty_1;
|
|
90757
|
-
var isCallable$2 = isCallable$
|
|
91011
|
+
var isCallable$2 = isCallable$o;
|
|
90758
91012
|
var toObject = toObject$4;
|
|
90759
91013
|
var sharedKey = sharedKey$3;
|
|
90760
91014
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -90775,9 +91029,9 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
|
|
|
90775
91029
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
90776
91030
|
};
|
|
90777
91031
|
|
|
90778
|
-
var fails$1 = fails$
|
|
90779
|
-
var isCallable$1 = isCallable$
|
|
90780
|
-
var isObject$1 = isObject$
|
|
91032
|
+
var fails$1 = fails$m;
|
|
91033
|
+
var isCallable$1 = isCallable$o;
|
|
91034
|
+
var isObject$1 = isObject$d;
|
|
90781
91035
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
90782
91036
|
var defineBuiltIn$1 = defineBuiltIn$6;
|
|
90783
91037
|
var wellKnownSymbol$4 = wellKnownSymbol$i;
|
|
@@ -90823,7 +91077,7 @@ var iteratorsCore = {
|
|
|
90823
91077
|
|
|
90824
91078
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
90825
91079
|
var create = objectCreate;
|
|
90826
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
91080
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
90827
91081
|
var setToStringTag$2 = setToStringTag$4;
|
|
90828
91082
|
var Iterators$2 = iterators;
|
|
90829
91083
|
|
|
@@ -90840,12 +91094,12 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
|
90840
91094
|
var $$2 = _export;
|
|
90841
91095
|
var call = functionCall;
|
|
90842
91096
|
var FunctionName = functionName;
|
|
90843
|
-
var isCallable = isCallable$
|
|
91097
|
+
var isCallable = isCallable$o;
|
|
90844
91098
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
90845
91099
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
90846
91100
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
90847
91101
|
var setToStringTag$1 = setToStringTag$4;
|
|
90848
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$
|
|
91102
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
90849
91103
|
var defineBuiltIn = defineBuiltIn$6;
|
|
90850
91104
|
var wellKnownSymbol$3 = wellKnownSymbol$i;
|
|
90851
91105
|
var Iterators$1 = iterators;
|
|
@@ -91048,11 +91302,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
91048
91302
|
|
|
91049
91303
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
91050
91304
|
|
|
91051
|
-
var global$1 = global$
|
|
91305
|
+
var global$1 = global$n;
|
|
91052
91306
|
var DOMIterables = domIterables;
|
|
91053
91307
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
91054
91308
|
var ArrayIteratorMethods = es_array_iterator;
|
|
91055
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
91309
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$8;
|
|
91056
91310
|
var setToStringTag = setToStringTag$4;
|
|
91057
91311
|
var wellKnownSymbol$2 = wellKnownSymbol$i;
|
|
91058
91312
|
|
|
@@ -91503,7 +91757,7 @@ const HttpStatusCodeName = {
|
|
|
91503
91757
|
|
|
91504
91758
|
var $$1 = _export;
|
|
91505
91759
|
var $includes = arrayIncludes.includes;
|
|
91506
|
-
var fails = fails$
|
|
91760
|
+
var fails = fails$m;
|
|
91507
91761
|
var addToUnscopables = addToUnscopables$2;
|
|
91508
91762
|
|
|
91509
91763
|
// FF99+ bug
|
|
@@ -91523,7 +91777,7 @@ $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
|
91523
91777
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
91524
91778
|
addToUnscopables('includes');
|
|
91525
91779
|
|
|
91526
|
-
var isObject = isObject$
|
|
91780
|
+
var isObject = isObject$d;
|
|
91527
91781
|
var classof = classofRaw$2;
|
|
91528
91782
|
var wellKnownSymbol$1 = wellKnownSymbol$i;
|
|
91529
91783
|
|
|
@@ -91566,7 +91820,7 @@ var $ = _export;
|
|
|
91566
91820
|
var uncurryThis = functionUncurryThis;
|
|
91567
91821
|
var notARegExp = notARegexp;
|
|
91568
91822
|
var requireObjectCoercible = requireObjectCoercible$8;
|
|
91569
|
-
var toString = toString$
|
|
91823
|
+
var toString = toString$9;
|
|
91570
91824
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
91571
91825
|
|
|
91572
91826
|
var stringIndexOf = uncurryThis(''.indexOf);
|
|
@@ -91638,9 +91892,4 @@ class StringsUtils {
|
|
|
91638
91892
|
}
|
|
91639
91893
|
}
|
|
91640
91894
|
|
|
91641
|
-
// Add global to window, assigning the value of window itself.
|
|
91642
|
-
if (typeof window !== 'undefined') {
|
|
91643
|
-
window.global = window;
|
|
91644
|
-
}
|
|
91645
|
-
|
|
91646
91895
|
export { CreateCheckoutSessionUri, CreatePortalSessionUri, HttpStatusCode, HttpStatusCodeName, LOCAL_STORAGE_I18N_STRING, LangService, Languages, ModelFieldsTypes, ModelUtilities, StringsUtils, VALIDATE_COMPANY_NAME, addDomain, addDomainOptions, apiBackend, apiV2Backend, appConfig, auth, companyUsersQuery, contentInstancesQuery, createCompany, createCompanyOptions, createContentInstanceMutation, createContentInstanceMutationOptions, createContentMutation, createContentMutationOptions, createFileMutation, createFolderMutation, dconfigClient, deleteFileMutation, deleteFolderMutation, dqueryClient, filesQuery, foldersTreeQuery, forgetPassword, forgetPasswordOptions, frontend, inviteUser, inviteUserOptions, login, loginOptions, querySectionThumb, queryUsage, registeUsage, register, registerOptions, removeContentMutation, removeDomain, removeDomainOptions, removeUserFromCompany, removeUserFromCompanyOptions, resetPassword, resetPasswordOptions, showcaseClient, showcaseConfig, showcaseConfigById, showcaseConfigurationQuery, showcaseConfigurationQueryOptions, showcaseContentsQuery, showcaseDomainsQuery, showcaseDomainsQueryOptions, showcasePagesQuery, showcasePagesQueryOptions, showcaseSectionQuery, showcaseSectionsQuery, showcaseSectionsQueryOptions, showcaseTemplateSectionsThumbsMap, showcaseTemplatesQuery, showcaseTemplatesQueryOptions, subscriptionConfigurationQuery, subscriptionConfigurationQueryOptions, tokenClient, updateCompany, updateCompanyOptions, updateContentInstanceFieldValuesMutation, updateContentInstanceFieldValuesMutationOptions, updateContentsOrderingMutation, updateContentsOrderingMutationOptions, updateTemplateSectionThumb, updateUserPassword, updateUserPasswordOptions, updateUserProfile, updateUserProfileOptions, useContentInstancesQuery, useCreateContentInstanceMutation, useCreateContentMutation, useCreateFileMutation, useCreateFolderMutation, useDeleteContentMutation, useDeleteFileMutation, useDeleteFolderMutation, useDomainsQuery, useFilesQuery, useFoldersTreeQuery, useModelChildrenQuery, useModelsQuery, useQuerySectionThumb, useQueryUsage, useRegisterUsage, useShowcaseConfig, useShowcaseConfigById, useShowcaseConfigurationQuery, useShowcaseContentsQuery, useShowcasePagesQuery, useShowcaseSectionQuery, useShowcaseTemplate, useShowcaseTemplateOptions, useShowcaseTemplateProgress, useShowcaseTemplateProgressQuery, useTemplateSectionsThumbsMap, useUpdateContentInstanceFieldValuesMutation, useUpdateContentsOrderingMutation, useUserCompaniesQuery, useValidateCompanyName, userCompaniesQuery, userCompaniesQueryOptions, userInfoQuery, userInfoQueryOptions, viewTypeChildrenQuery, viewTypeChildrenQueryOptions, viewTypesQuery, viewTypesQueryOptions, withDQueryClient, withShowcaseClient };
|