@paystack/checkout-js 1.57.0-beta.6 → 1.57.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkout.js +1163 -661
- package/es/checkout.js +1163 -661
- package/lib/checkout.js +1163 -661
- package/package.json +1 -1
package/lib/checkout.js
CHANGED
|
@@ -1039,7 +1039,7 @@ var check = function (it) {
|
|
|
1039
1039
|
};
|
|
1040
1040
|
|
|
1041
1041
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
1042
|
-
var global$
|
|
1042
|
+
var global$V =
|
|
1043
1043
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
1044
1044
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
1045
1045
|
check(typeof window == 'object' && window) ||
|
|
@@ -1051,7 +1051,7 @@ var global$T =
|
|
|
1051
1051
|
|
|
1052
1052
|
var objectGetOwnPropertyDescriptor = {};
|
|
1053
1053
|
|
|
1054
|
-
var fails$
|
|
1054
|
+
var fails$x = function (exec) {
|
|
1055
1055
|
try {
|
|
1056
1056
|
return !!exec();
|
|
1057
1057
|
} catch (error) {
|
|
@@ -1059,17 +1059,17 @@ var fails$v = function (exec) {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
};
|
|
1061
1061
|
|
|
1062
|
-
var fails$
|
|
1062
|
+
var fails$w = fails$x;
|
|
1063
1063
|
|
|
1064
1064
|
// Detect IE8's incomplete defineProperty implementation
|
|
1065
|
-
var descriptors$1 = !fails$
|
|
1065
|
+
var descriptors$1 = !fails$w(function () {
|
|
1066
1066
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1067
1067
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
1068
1068
|
});
|
|
1069
1069
|
|
|
1070
|
-
var fails$
|
|
1070
|
+
var fails$v = fails$x;
|
|
1071
1071
|
|
|
1072
|
-
var functionBindNative = !fails$
|
|
1072
|
+
var functionBindNative = !fails$v(function () {
|
|
1073
1073
|
var test = (function () { /* empty */ }).bind();
|
|
1074
1074
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1075
1075
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -1113,35 +1113,35 @@ var NATIVE_BIND$2 = functionBindNative;
|
|
|
1113
1113
|
var FunctionPrototype$3 = Function.prototype;
|
|
1114
1114
|
var bind$c = FunctionPrototype$3.bind;
|
|
1115
1115
|
var call$e = FunctionPrototype$3.call;
|
|
1116
|
-
var uncurryThis$
|
|
1116
|
+
var uncurryThis$A = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
|
|
1117
1117
|
|
|
1118
1118
|
var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
|
|
1119
|
-
return fn && uncurryThis$
|
|
1119
|
+
return fn && uncurryThis$A(fn);
|
|
1120
1120
|
} : function (fn) {
|
|
1121
1121
|
return fn && function () {
|
|
1122
1122
|
return call$e.apply(fn, arguments);
|
|
1123
1123
|
};
|
|
1124
1124
|
};
|
|
1125
1125
|
|
|
1126
|
-
var uncurryThis$
|
|
1126
|
+
var uncurryThis$z = functionUncurryThis;
|
|
1127
1127
|
|
|
1128
|
-
var toString$b = uncurryThis$
|
|
1129
|
-
var stringSlice$4 = uncurryThis$
|
|
1128
|
+
var toString$b = uncurryThis$z({}.toString);
|
|
1129
|
+
var stringSlice$4 = uncurryThis$z(''.slice);
|
|
1130
1130
|
|
|
1131
1131
|
var classofRaw$1 = function (it) {
|
|
1132
1132
|
return stringSlice$4(toString$b(it), 8, -1);
|
|
1133
1133
|
};
|
|
1134
1134
|
|
|
1135
|
-
var global$
|
|
1136
|
-
var uncurryThis$
|
|
1137
|
-
var fails$
|
|
1135
|
+
var global$U = global$V;
|
|
1136
|
+
var uncurryThis$y = functionUncurryThis;
|
|
1137
|
+
var fails$u = fails$x;
|
|
1138
1138
|
var classof$a = classofRaw$1;
|
|
1139
1139
|
|
|
1140
|
-
var Object$5 = global$
|
|
1141
|
-
var split$4 = uncurryThis$
|
|
1140
|
+
var Object$5 = global$U.Object;
|
|
1141
|
+
var split$4 = uncurryThis$y(''.split);
|
|
1142
1142
|
|
|
1143
1143
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
1144
|
-
var indexedObject = fails$
|
|
1144
|
+
var indexedObject = fails$u(function () {
|
|
1145
1145
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
1146
1146
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1147
1147
|
return !Object$5('z').propertyIsEnumerable(0);
|
|
@@ -1149,9 +1149,9 @@ var indexedObject = fails$s(function () {
|
|
|
1149
1149
|
return classof$a(it) == 'String' ? split$4(it, '') : Object$5(it);
|
|
1150
1150
|
} : Object$5;
|
|
1151
1151
|
|
|
1152
|
-
var global$
|
|
1152
|
+
var global$T = global$V;
|
|
1153
1153
|
|
|
1154
|
-
var TypeError$j = global$
|
|
1154
|
+
var TypeError$j = global$T.TypeError;
|
|
1155
1155
|
|
|
1156
1156
|
// `RequireObjectCoercible` abstract operation
|
|
1157
1157
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
@@ -1170,40 +1170,40 @@ var toIndexedObject$8 = function (it) {
|
|
|
1170
1170
|
|
|
1171
1171
|
// `IsCallable` abstract operation
|
|
1172
1172
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
1173
|
-
var isCallable$
|
|
1173
|
+
var isCallable$l = function (argument) {
|
|
1174
1174
|
return typeof argument == 'function';
|
|
1175
1175
|
};
|
|
1176
1176
|
|
|
1177
|
-
var isCallable$
|
|
1177
|
+
var isCallable$k = isCallable$l;
|
|
1178
1178
|
|
|
1179
|
-
var isObject$
|
|
1180
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
1179
|
+
var isObject$l = function (it) {
|
|
1180
|
+
return typeof it == 'object' ? it !== null : isCallable$k(it);
|
|
1181
1181
|
};
|
|
1182
1182
|
|
|
1183
|
-
var global$
|
|
1184
|
-
var isCallable$
|
|
1183
|
+
var global$S = global$V;
|
|
1184
|
+
var isCallable$j = isCallable$l;
|
|
1185
1185
|
|
|
1186
1186
|
var aFunction = function (argument) {
|
|
1187
|
-
return isCallable$
|
|
1187
|
+
return isCallable$j(argument) ? argument : undefined;
|
|
1188
1188
|
};
|
|
1189
1189
|
|
|
1190
1190
|
var getBuiltIn$a = function (namespace, method) {
|
|
1191
|
-
return arguments.length < 2 ? aFunction(global$
|
|
1191
|
+
return arguments.length < 2 ? aFunction(global$S[namespace]) : global$S[namespace] && global$S[namespace][method];
|
|
1192
1192
|
};
|
|
1193
1193
|
|
|
1194
|
-
var uncurryThis$
|
|
1194
|
+
var uncurryThis$x = functionUncurryThis;
|
|
1195
1195
|
|
|
1196
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
1196
|
+
var objectIsPrototypeOf = uncurryThis$x({}.isPrototypeOf);
|
|
1197
1197
|
|
|
1198
1198
|
var getBuiltIn$9 = getBuiltIn$a;
|
|
1199
1199
|
|
|
1200
1200
|
var engineUserAgent = getBuiltIn$9('navigator', 'userAgent') || '';
|
|
1201
1201
|
|
|
1202
|
-
var global$
|
|
1202
|
+
var global$R = global$V;
|
|
1203
1203
|
var userAgent$5 = engineUserAgent;
|
|
1204
1204
|
|
|
1205
|
-
var process$4 = global$
|
|
1206
|
-
var Deno = global$
|
|
1205
|
+
var process$4 = global$R.process;
|
|
1206
|
+
var Deno = global$R.Deno;
|
|
1207
1207
|
var versions = process$4 && process$4.versions || Deno && Deno.version;
|
|
1208
1208
|
var v8 = versions && versions.v8;
|
|
1209
1209
|
var match, version;
|
|
@@ -1230,10 +1230,10 @@ var engineV8Version = version;
|
|
|
1230
1230
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
1231
1231
|
|
|
1232
1232
|
var V8_VERSION$3 = engineV8Version;
|
|
1233
|
-
var fails$
|
|
1233
|
+
var fails$t = fails$x;
|
|
1234
1234
|
|
|
1235
1235
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
1236
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$
|
|
1236
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$t(function () {
|
|
1237
1237
|
var symbol = Symbol();
|
|
1238
1238
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
1239
1239
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -1250,24 +1250,24 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
1250
1250
|
&& !Symbol.sham
|
|
1251
1251
|
&& typeof Symbol.iterator == 'symbol';
|
|
1252
1252
|
|
|
1253
|
-
var global$
|
|
1253
|
+
var global$Q = global$V;
|
|
1254
1254
|
var getBuiltIn$8 = getBuiltIn$a;
|
|
1255
|
-
var isCallable$
|
|
1255
|
+
var isCallable$i = isCallable$l;
|
|
1256
1256
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
1257
1257
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
1258
1258
|
|
|
1259
|
-
var Object$4 = global$
|
|
1259
|
+
var Object$4 = global$Q.Object;
|
|
1260
1260
|
|
|
1261
1261
|
var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
1262
1262
|
return typeof it == 'symbol';
|
|
1263
1263
|
} : function (it) {
|
|
1264
1264
|
var $Symbol = getBuiltIn$8('Symbol');
|
|
1265
|
-
return isCallable$
|
|
1265
|
+
return isCallable$i($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
|
|
1266
1266
|
};
|
|
1267
1267
|
|
|
1268
|
-
var global$
|
|
1268
|
+
var global$P = global$V;
|
|
1269
1269
|
|
|
1270
|
-
var String$5 = global$
|
|
1270
|
+
var String$5 = global$P.String;
|
|
1271
1271
|
|
|
1272
1272
|
var tryToString$4 = function (argument) {
|
|
1273
1273
|
try {
|
|
@@ -1277,15 +1277,15 @@ var tryToString$4 = function (argument) {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
};
|
|
1279
1279
|
|
|
1280
|
-
var global$
|
|
1281
|
-
var isCallable$
|
|
1280
|
+
var global$O = global$V;
|
|
1281
|
+
var isCallable$h = isCallable$l;
|
|
1282
1282
|
var tryToString$3 = tryToString$4;
|
|
1283
1283
|
|
|
1284
|
-
var TypeError$i = global$
|
|
1284
|
+
var TypeError$i = global$O.TypeError;
|
|
1285
1285
|
|
|
1286
1286
|
// `Assert: IsCallable(argument) is true`
|
|
1287
1287
|
var aCallable$7 = function (argument) {
|
|
1288
|
-
if (isCallable$
|
|
1288
|
+
if (isCallable$h(argument)) return argument;
|
|
1289
1289
|
throw TypeError$i(tryToString$3(argument) + ' is not a function');
|
|
1290
1290
|
};
|
|
1291
1291
|
|
|
@@ -1298,20 +1298,20 @@ var getMethod$3 = function (V, P) {
|
|
|
1298
1298
|
return func == null ? undefined : aCallable$6(func);
|
|
1299
1299
|
};
|
|
1300
1300
|
|
|
1301
|
-
var global$
|
|
1301
|
+
var global$N = global$V;
|
|
1302
1302
|
var call$d = functionCall;
|
|
1303
|
-
var isCallable$
|
|
1304
|
-
var isObject$
|
|
1303
|
+
var isCallable$g = isCallable$l;
|
|
1304
|
+
var isObject$k = isObject$l;
|
|
1305
1305
|
|
|
1306
|
-
var TypeError$h = global$
|
|
1306
|
+
var TypeError$h = global$N.TypeError;
|
|
1307
1307
|
|
|
1308
1308
|
// `OrdinaryToPrimitive` abstract operation
|
|
1309
1309
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
1310
1310
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
1311
1311
|
var fn, val;
|
|
1312
|
-
if (pref === 'string' && isCallable$
|
|
1313
|
-
if (isCallable$
|
|
1314
|
-
if (pref !== 'string' && isCallable$
|
|
1312
|
+
if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$k(val = call$d(fn, input))) return val;
|
|
1313
|
+
if (isCallable$g(fn = input.valueOf) && !isObject$k(val = call$d(fn, input))) return val;
|
|
1314
|
+
if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$k(val = call$d(fn, input))) return val;
|
|
1315
1315
|
throw TypeError$h("Can't convert object to primitive value");
|
|
1316
1316
|
};
|
|
1317
1317
|
|
|
@@ -1319,24 +1319,24 @@ var shared$4 = {exports: {}};
|
|
|
1319
1319
|
|
|
1320
1320
|
var isPure = false;
|
|
1321
1321
|
|
|
1322
|
-
var global$
|
|
1322
|
+
var global$M = global$V;
|
|
1323
1323
|
|
|
1324
1324
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1325
1325
|
var defineProperty$6 = Object.defineProperty;
|
|
1326
1326
|
|
|
1327
1327
|
var setGlobal$3 = function (key, value) {
|
|
1328
1328
|
try {
|
|
1329
|
-
defineProperty$6(global$
|
|
1329
|
+
defineProperty$6(global$M, key, { value: value, configurable: true, writable: true });
|
|
1330
1330
|
} catch (error) {
|
|
1331
|
-
global$
|
|
1331
|
+
global$M[key] = value;
|
|
1332
1332
|
} return value;
|
|
1333
1333
|
};
|
|
1334
1334
|
|
|
1335
|
-
var global$
|
|
1335
|
+
var global$L = global$V;
|
|
1336
1336
|
var setGlobal$2 = setGlobal$3;
|
|
1337
1337
|
|
|
1338
1338
|
var SHARED = '__core-js_shared__';
|
|
1339
|
-
var store$3 = global$
|
|
1339
|
+
var store$3 = global$L[SHARED] || setGlobal$2(SHARED, {});
|
|
1340
1340
|
|
|
1341
1341
|
var sharedStore = store$3;
|
|
1342
1342
|
|
|
@@ -1352,10 +1352,10 @@ var store$2 = sharedStore;
|
|
|
1352
1352
|
source: 'https://github.com/zloirock/core-js'
|
|
1353
1353
|
});
|
|
1354
1354
|
|
|
1355
|
-
var global$
|
|
1355
|
+
var global$K = global$V;
|
|
1356
1356
|
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
1357
1357
|
|
|
1358
|
-
var Object$3 = global$
|
|
1358
|
+
var Object$3 = global$K.Object;
|
|
1359
1359
|
|
|
1360
1360
|
// `ToObject` abstract operation
|
|
1361
1361
|
// https://tc39.es/ecma262/#sec-toobject
|
|
@@ -1363,10 +1363,10 @@ var toObject$9 = function (argument) {
|
|
|
1363
1363
|
return Object$3(requireObjectCoercible$2(argument));
|
|
1364
1364
|
};
|
|
1365
1365
|
|
|
1366
|
-
var uncurryThis$
|
|
1366
|
+
var uncurryThis$w = functionUncurryThis;
|
|
1367
1367
|
var toObject$8 = toObject$9;
|
|
1368
1368
|
|
|
1369
|
-
var hasOwnProperty$1 = uncurryThis$
|
|
1369
|
+
var hasOwnProperty$1 = uncurryThis$w({}.hasOwnProperty);
|
|
1370
1370
|
|
|
1371
1371
|
// `HasOwnProperty` abstract operation
|
|
1372
1372
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -1374,32 +1374,32 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
1374
1374
|
return hasOwnProperty$1(toObject$8(it), key);
|
|
1375
1375
|
};
|
|
1376
1376
|
|
|
1377
|
-
var uncurryThis$
|
|
1377
|
+
var uncurryThis$v = functionUncurryThis;
|
|
1378
1378
|
|
|
1379
|
-
var id$
|
|
1379
|
+
var id$2 = 0;
|
|
1380
1380
|
var postfix = Math.random();
|
|
1381
|
-
var toString$a = uncurryThis$
|
|
1381
|
+
var toString$a = uncurryThis$v(1.0.toString);
|
|
1382
1382
|
|
|
1383
1383
|
var uid$3 = function (key) {
|
|
1384
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$
|
|
1384
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$2 + postfix, 36);
|
|
1385
1385
|
};
|
|
1386
1386
|
|
|
1387
|
-
var global$
|
|
1387
|
+
var global$J = global$V;
|
|
1388
1388
|
var shared$3 = shared$4.exports;
|
|
1389
|
-
var hasOwn$
|
|
1389
|
+
var hasOwn$f = hasOwnProperty_1;
|
|
1390
1390
|
var uid$2 = uid$3;
|
|
1391
1391
|
var NATIVE_SYMBOL = nativeSymbol;
|
|
1392
1392
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
1393
1393
|
|
|
1394
1394
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
1395
|
-
var Symbol$2 = global$
|
|
1395
|
+
var Symbol$2 = global$J.Symbol;
|
|
1396
1396
|
var symbolFor = Symbol$2 && Symbol$2['for'];
|
|
1397
1397
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$2;
|
|
1398
1398
|
|
|
1399
1399
|
var wellKnownSymbol$j = function (name) {
|
|
1400
|
-
if (!hasOwn$
|
|
1400
|
+
if (!hasOwn$f(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
1401
1401
|
var description = 'Symbol.' + name;
|
|
1402
|
-
if (NATIVE_SYMBOL && hasOwn$
|
|
1402
|
+
if (NATIVE_SYMBOL && hasOwn$f(Symbol$2, name)) {
|
|
1403
1403
|
WellKnownSymbolsStore[name] = Symbol$2[name];
|
|
1404
1404
|
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
1405
1405
|
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
@@ -1409,27 +1409,27 @@ var wellKnownSymbol$j = function (name) {
|
|
|
1409
1409
|
} return WellKnownSymbolsStore[name];
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
1412
|
-
var global$
|
|
1412
|
+
var global$I = global$V;
|
|
1413
1413
|
var call$c = functionCall;
|
|
1414
|
-
var isObject$
|
|
1414
|
+
var isObject$j = isObject$l;
|
|
1415
1415
|
var isSymbol$2 = isSymbol$3;
|
|
1416
1416
|
var getMethod$2 = getMethod$3;
|
|
1417
1417
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
1418
1418
|
var wellKnownSymbol$i = wellKnownSymbol$j;
|
|
1419
1419
|
|
|
1420
|
-
var TypeError$g = global$
|
|
1420
|
+
var TypeError$g = global$I.TypeError;
|
|
1421
1421
|
var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive');
|
|
1422
1422
|
|
|
1423
1423
|
// `ToPrimitive` abstract operation
|
|
1424
1424
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
1425
1425
|
var toPrimitive$2 = function (input, pref) {
|
|
1426
|
-
if (!isObject$
|
|
1426
|
+
if (!isObject$j(input) || isSymbol$2(input)) return input;
|
|
1427
1427
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
1428
1428
|
var result;
|
|
1429
1429
|
if (exoticToPrim) {
|
|
1430
1430
|
if (pref === undefined) pref = 'default';
|
|
1431
1431
|
result = call$c(exoticToPrim, input, pref);
|
|
1432
|
-
if (!isObject$
|
|
1432
|
+
if (!isObject$j(result) || isSymbol$2(result)) return result;
|
|
1433
1433
|
throw TypeError$g("Can't convert object to primitive value");
|
|
1434
1434
|
}
|
|
1435
1435
|
if (pref === undefined) pref = 'number';
|
|
@@ -1446,23 +1446,23 @@ var toPropertyKey$3 = function (argument) {
|
|
|
1446
1446
|
return isSymbol$1(key) ? key : key + '';
|
|
1447
1447
|
};
|
|
1448
1448
|
|
|
1449
|
-
var global$
|
|
1450
|
-
var isObject$
|
|
1449
|
+
var global$H = global$V;
|
|
1450
|
+
var isObject$i = isObject$l;
|
|
1451
1451
|
|
|
1452
|
-
var document$3 = global$
|
|
1452
|
+
var document$3 = global$H.document;
|
|
1453
1453
|
// typeof document.createElement is 'object' in old IE
|
|
1454
|
-
var EXISTS$1 = isObject$
|
|
1454
|
+
var EXISTS$1 = isObject$i(document$3) && isObject$i(document$3.createElement);
|
|
1455
1455
|
|
|
1456
1456
|
var documentCreateElement$2 = function (it) {
|
|
1457
1457
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
1458
1458
|
};
|
|
1459
1459
|
|
|
1460
1460
|
var DESCRIPTORS$d = descriptors$1;
|
|
1461
|
-
var fails$
|
|
1461
|
+
var fails$s = fails$x;
|
|
1462
1462
|
var createElement$1 = documentCreateElement$2;
|
|
1463
1463
|
|
|
1464
1464
|
// Thanks to IE8 for its funny defineProperty
|
|
1465
|
-
var ie8DomDefine = !DESCRIPTORS$d && !fails$
|
|
1465
|
+
var ie8DomDefine = !DESCRIPTORS$d && !fails$s(function () {
|
|
1466
1466
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1467
1467
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
1468
1468
|
get: function () { return 7; }
|
|
@@ -1475,7 +1475,7 @@ var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
|
1475
1475
|
var createPropertyDescriptor$5 = createPropertyDescriptor$6;
|
|
1476
1476
|
var toIndexedObject$7 = toIndexedObject$8;
|
|
1477
1477
|
var toPropertyKey$2 = toPropertyKey$3;
|
|
1478
|
-
var hasOwn$
|
|
1478
|
+
var hasOwn$e = hasOwnProperty_1;
|
|
1479
1479
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
1480
1480
|
|
|
1481
1481
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -1489,17 +1489,17 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 :
|
|
|
1489
1489
|
if (IE8_DOM_DEFINE$1) try {
|
|
1490
1490
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
1491
1491
|
} catch (error) { /* empty */ }
|
|
1492
|
-
if (hasOwn$
|
|
1492
|
+
if (hasOwn$e(O, P)) return createPropertyDescriptor$5(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
1493
1493
|
};
|
|
1494
1494
|
|
|
1495
1495
|
var objectDefineProperty = {};
|
|
1496
1496
|
|
|
1497
1497
|
var DESCRIPTORS$b = descriptors$1;
|
|
1498
|
-
var fails$
|
|
1498
|
+
var fails$r = fails$x;
|
|
1499
1499
|
|
|
1500
1500
|
// V8 ~ Chrome 36-
|
|
1501
1501
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1502
|
-
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$
|
|
1502
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$r(function () {
|
|
1503
1503
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1504
1504
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1505
1505
|
value: 42,
|
|
@@ -1507,26 +1507,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$p(function () {
|
|
|
1507
1507
|
}).prototype != 42;
|
|
1508
1508
|
});
|
|
1509
1509
|
|
|
1510
|
-
var global$
|
|
1511
|
-
var isObject$
|
|
1510
|
+
var global$G = global$V;
|
|
1511
|
+
var isObject$h = isObject$l;
|
|
1512
1512
|
|
|
1513
|
-
var String$4 = global$
|
|
1514
|
-
var TypeError$f = global$
|
|
1513
|
+
var String$4 = global$G.String;
|
|
1514
|
+
var TypeError$f = global$G.TypeError;
|
|
1515
1515
|
|
|
1516
1516
|
// `Assert: Type(argument) is Object`
|
|
1517
|
-
var anObject$
|
|
1518
|
-
if (isObject$
|
|
1517
|
+
var anObject$f = function (argument) {
|
|
1518
|
+
if (isObject$h(argument)) return argument;
|
|
1519
1519
|
throw TypeError$f(String$4(argument) + ' is not an object');
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
var global$
|
|
1522
|
+
var global$F = global$V;
|
|
1523
1523
|
var DESCRIPTORS$a = descriptors$1;
|
|
1524
1524
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1525
1525
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
1526
|
-
var anObject$
|
|
1526
|
+
var anObject$e = anObject$f;
|
|
1527
1527
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
1528
1528
|
|
|
1529
|
-
var TypeError$e = global$
|
|
1529
|
+
var TypeError$e = global$F.TypeError;
|
|
1530
1530
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1531
1531
|
var $defineProperty = Object.defineProperty;
|
|
1532
1532
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -1538,9 +1538,9 @@ var WRITABLE = 'writable';
|
|
|
1538
1538
|
// `Object.defineProperty` method
|
|
1539
1539
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1540
1540
|
objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
1541
|
-
anObject$
|
|
1541
|
+
anObject$e(O);
|
|
1542
1542
|
P = toPropertyKey$1(P);
|
|
1543
|
-
anObject$
|
|
1543
|
+
anObject$e(Attributes);
|
|
1544
1544
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
1545
1545
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
1546
1546
|
if (current && current[WRITABLE]) {
|
|
@@ -1553,9 +1553,9 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
1553
1553
|
}
|
|
1554
1554
|
} return $defineProperty(O, P, Attributes);
|
|
1555
1555
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
1556
|
-
anObject$
|
|
1556
|
+
anObject$e(O);
|
|
1557
1557
|
P = toPropertyKey$1(P);
|
|
1558
|
-
anObject$
|
|
1558
|
+
anObject$e(Attributes);
|
|
1559
1559
|
if (IE8_DOM_DEFINE) try {
|
|
1560
1560
|
return $defineProperty(O, P, Attributes);
|
|
1561
1561
|
} catch (error) { /* empty */ }
|
|
@@ -1575,16 +1575,16 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$9 ? function (object, key, value
|
|
|
1575
1575
|
return object;
|
|
1576
1576
|
};
|
|
1577
1577
|
|
|
1578
|
-
var redefine$
|
|
1578
|
+
var redefine$b = {exports: {}};
|
|
1579
1579
|
|
|
1580
|
-
var uncurryThis$
|
|
1581
|
-
var isCallable$
|
|
1580
|
+
var uncurryThis$u = functionUncurryThis;
|
|
1581
|
+
var isCallable$f = isCallable$l;
|
|
1582
1582
|
var store$1 = sharedStore;
|
|
1583
1583
|
|
|
1584
|
-
var functionToString$1 = uncurryThis$
|
|
1584
|
+
var functionToString$1 = uncurryThis$u(Function.toString);
|
|
1585
1585
|
|
|
1586
1586
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1587
|
-
if (!isCallable$
|
|
1587
|
+
if (!isCallable$f(store$1.inspectSource)) {
|
|
1588
1588
|
store$1.inspectSource = function (it) {
|
|
1589
1589
|
return functionToString$1(it);
|
|
1590
1590
|
};
|
|
@@ -1592,13 +1592,13 @@ if (!isCallable$e(store$1.inspectSource)) {
|
|
|
1592
1592
|
|
|
1593
1593
|
var inspectSource$4 = store$1.inspectSource;
|
|
1594
1594
|
|
|
1595
|
-
var global$
|
|
1596
|
-
var isCallable$
|
|
1595
|
+
var global$E = global$V;
|
|
1596
|
+
var isCallable$e = isCallable$l;
|
|
1597
1597
|
var inspectSource$3 = inspectSource$4;
|
|
1598
1598
|
|
|
1599
|
-
var WeakMap$
|
|
1599
|
+
var WeakMap$2 = global$E.WeakMap;
|
|
1600
1600
|
|
|
1601
|
-
var nativeWeakMap = isCallable$
|
|
1601
|
+
var nativeWeakMap = isCallable$e(WeakMap$2) && /native code/.test(inspectSource$3(WeakMap$2));
|
|
1602
1602
|
|
|
1603
1603
|
var shared$2 = shared$4.exports;
|
|
1604
1604
|
var uid$1 = uid$3;
|
|
@@ -1611,19 +1611,19 @@ var sharedKey$3 = function (key) {
|
|
|
1611
1611
|
|
|
1612
1612
|
var hiddenKeys$5 = {};
|
|
1613
1613
|
|
|
1614
|
-
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
1615
|
-
var global$
|
|
1616
|
-
var uncurryThis$
|
|
1617
|
-
var isObject$
|
|
1614
|
+
var NATIVE_WEAK_MAP$1 = nativeWeakMap;
|
|
1615
|
+
var global$D = global$V;
|
|
1616
|
+
var uncurryThis$t = functionUncurryThis;
|
|
1617
|
+
var isObject$g = isObject$l;
|
|
1618
1618
|
var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
|
|
1619
|
-
var hasOwn$
|
|
1619
|
+
var hasOwn$d = hasOwnProperty_1;
|
|
1620
1620
|
var shared$1 = sharedStore;
|
|
1621
1621
|
var sharedKey$2 = sharedKey$3;
|
|
1622
1622
|
var hiddenKeys$4 = hiddenKeys$5;
|
|
1623
1623
|
|
|
1624
1624
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1625
|
-
var TypeError$d = global$
|
|
1626
|
-
var WeakMap = global$
|
|
1625
|
+
var TypeError$d = global$D.TypeError;
|
|
1626
|
+
var WeakMap$1 = global$D.WeakMap;
|
|
1627
1627
|
var set$1, get, has$3;
|
|
1628
1628
|
|
|
1629
1629
|
var enforce = function (it) {
|
|
@@ -1633,17 +1633,17 @@ var enforce = function (it) {
|
|
|
1633
1633
|
var getterFor = function (TYPE) {
|
|
1634
1634
|
return function (it) {
|
|
1635
1635
|
var state;
|
|
1636
|
-
if (!isObject$
|
|
1636
|
+
if (!isObject$g(it) || (state = get(it)).type !== TYPE) {
|
|
1637
1637
|
throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
|
|
1638
1638
|
} return state;
|
|
1639
1639
|
};
|
|
1640
1640
|
};
|
|
1641
1641
|
|
|
1642
|
-
if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
1643
|
-
var store = shared$1.state || (shared$1.state = new WeakMap());
|
|
1644
|
-
var wmget = uncurryThis$
|
|
1645
|
-
var wmhas = uncurryThis$
|
|
1646
|
-
var wmset = uncurryThis$
|
|
1642
|
+
if (NATIVE_WEAK_MAP$1 || shared$1.state) {
|
|
1643
|
+
var store = shared$1.state || (shared$1.state = new WeakMap$1());
|
|
1644
|
+
var wmget = uncurryThis$t(store.get);
|
|
1645
|
+
var wmhas = uncurryThis$t(store.has);
|
|
1646
|
+
var wmset = uncurryThis$t(store.set);
|
|
1647
1647
|
set$1 = function (it, metadata) {
|
|
1648
1648
|
if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
|
|
1649
1649
|
metadata.facade = it;
|
|
@@ -1660,16 +1660,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
1660
1660
|
var STATE = sharedKey$2('state');
|
|
1661
1661
|
hiddenKeys$4[STATE] = true;
|
|
1662
1662
|
set$1 = function (it, metadata) {
|
|
1663
|
-
if (hasOwn$
|
|
1663
|
+
if (hasOwn$d(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
|
|
1664
1664
|
metadata.facade = it;
|
|
1665
1665
|
createNonEnumerableProperty$7(it, STATE, metadata);
|
|
1666
1666
|
return metadata;
|
|
1667
1667
|
};
|
|
1668
1668
|
get = function (it) {
|
|
1669
|
-
return hasOwn$
|
|
1669
|
+
return hasOwn$d(it, STATE) ? it[STATE] : {};
|
|
1670
1670
|
};
|
|
1671
1671
|
has$3 = function (it) {
|
|
1672
|
-
return hasOwn$
|
|
1672
|
+
return hasOwn$d(it, STATE);
|
|
1673
1673
|
};
|
|
1674
1674
|
}
|
|
1675
1675
|
|
|
@@ -1682,13 +1682,13 @@ var internalState = {
|
|
|
1682
1682
|
};
|
|
1683
1683
|
|
|
1684
1684
|
var DESCRIPTORS$8 = descriptors$1;
|
|
1685
|
-
var hasOwn$
|
|
1685
|
+
var hasOwn$c = hasOwnProperty_1;
|
|
1686
1686
|
|
|
1687
1687
|
var FunctionPrototype$2 = Function.prototype;
|
|
1688
1688
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1689
1689
|
var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
|
|
1690
1690
|
|
|
1691
|
-
var EXISTS = hasOwn$
|
|
1691
|
+
var EXISTS = hasOwn$c(FunctionPrototype$2, 'name');
|
|
1692
1692
|
// additional protection from minified / mangled / dropped function names
|
|
1693
1693
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
1694
1694
|
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$2, 'name').configurable));
|
|
@@ -1699,38 +1699,38 @@ var functionName = {
|
|
|
1699
1699
|
CONFIGURABLE: CONFIGURABLE
|
|
1700
1700
|
};
|
|
1701
1701
|
|
|
1702
|
-
var global$
|
|
1703
|
-
var isCallable$
|
|
1704
|
-
var hasOwn$
|
|
1702
|
+
var global$C = global$V;
|
|
1703
|
+
var isCallable$d = isCallable$l;
|
|
1704
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
1705
1705
|
var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
|
|
1706
1706
|
var setGlobal$1 = setGlobal$3;
|
|
1707
1707
|
var inspectSource$2 = inspectSource$4;
|
|
1708
|
-
var InternalStateModule$
|
|
1708
|
+
var InternalStateModule$6 = internalState;
|
|
1709
1709
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
1710
1710
|
|
|
1711
|
-
var getInternalState$4 = InternalStateModule$
|
|
1712
|
-
var enforceInternalState = InternalStateModule$
|
|
1711
|
+
var getInternalState$4 = InternalStateModule$6.get;
|
|
1712
|
+
var enforceInternalState$1 = InternalStateModule$6.enforce;
|
|
1713
1713
|
var TEMPLATE = String(String).split('String');
|
|
1714
1714
|
|
|
1715
|
-
(redefine$
|
|
1715
|
+
(redefine$b.exports = function (O, key, value, options) {
|
|
1716
1716
|
var unsafe = options ? !!options.unsafe : false;
|
|
1717
1717
|
var simple = options ? !!options.enumerable : false;
|
|
1718
1718
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
1719
1719
|
var name = options && options.name !== undefined ? options.name : key;
|
|
1720
1720
|
var state;
|
|
1721
|
-
if (isCallable$
|
|
1721
|
+
if (isCallable$d(value)) {
|
|
1722
1722
|
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
1723
1723
|
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
1724
1724
|
}
|
|
1725
|
-
if (!hasOwn$
|
|
1725
|
+
if (!hasOwn$b(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
1726
1726
|
createNonEnumerableProperty$6(value, 'name', name);
|
|
1727
1727
|
}
|
|
1728
|
-
state = enforceInternalState(value);
|
|
1728
|
+
state = enforceInternalState$1(value);
|
|
1729
1729
|
if (!state.source) {
|
|
1730
1730
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
1733
|
-
if (O === global$
|
|
1733
|
+
if (O === global$C) {
|
|
1734
1734
|
if (simple) O[key] = value;
|
|
1735
1735
|
else setGlobal$1(key, value);
|
|
1736
1736
|
return;
|
|
@@ -1743,7 +1743,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
1743
1743
|
else createNonEnumerableProperty$6(O, key, value);
|
|
1744
1744
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1745
1745
|
})(Function.prototype, 'toString', function toString() {
|
|
1746
|
-
return isCallable$
|
|
1746
|
+
return isCallable$d(this) && getInternalState$4(this).source || inspectSource$2(this);
|
|
1747
1747
|
});
|
|
1748
1748
|
|
|
1749
1749
|
var objectGetOwnPropertyNames = {};
|
|
@@ -1823,22 +1823,22 @@ var arrayIncludes = {
|
|
|
1823
1823
|
indexOf: createMethod$5(false)
|
|
1824
1824
|
};
|
|
1825
1825
|
|
|
1826
|
-
var uncurryThis$
|
|
1827
|
-
var hasOwn$
|
|
1826
|
+
var uncurryThis$s = functionUncurryThis;
|
|
1827
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
1828
1828
|
var toIndexedObject$5 = toIndexedObject$8;
|
|
1829
1829
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
1830
1830
|
var hiddenKeys$3 = hiddenKeys$5;
|
|
1831
1831
|
|
|
1832
|
-
var push$7 = uncurryThis$
|
|
1832
|
+
var push$7 = uncurryThis$s([].push);
|
|
1833
1833
|
|
|
1834
1834
|
var objectKeysInternal = function (object, names) {
|
|
1835
1835
|
var O = toIndexedObject$5(object);
|
|
1836
1836
|
var i = 0;
|
|
1837
1837
|
var result = [];
|
|
1838
1838
|
var key;
|
|
1839
|
-
for (key in O) !hasOwn$
|
|
1839
|
+
for (key in O) !hasOwn$a(hiddenKeys$3, key) && hasOwn$a(O, key) && push$7(result, key);
|
|
1840
1840
|
// Don't enum bug & hidden keys
|
|
1841
|
-
while (names.length > i) if (hasOwn$
|
|
1841
|
+
while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
|
|
1842
1842
|
~indexOf$1(result, key) || push$7(result, key);
|
|
1843
1843
|
}
|
|
1844
1844
|
return result;
|
|
@@ -1873,21 +1873,21 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1873
1873
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1874
1874
|
|
|
1875
1875
|
var getBuiltIn$7 = getBuiltIn$a;
|
|
1876
|
-
var uncurryThis$
|
|
1876
|
+
var uncurryThis$r = functionUncurryThis;
|
|
1877
1877
|
var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
1878
1878
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1879
|
-
var anObject$
|
|
1879
|
+
var anObject$d = anObject$f;
|
|
1880
1880
|
|
|
1881
|
-
var concat$1 = uncurryThis$
|
|
1881
|
+
var concat$1 = uncurryThis$r([].concat);
|
|
1882
1882
|
|
|
1883
1883
|
// all object keys, includes non-enumerable and symbols
|
|
1884
1884
|
var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1885
|
-
var keys = getOwnPropertyNamesModule$1.f(anObject$
|
|
1885
|
+
var keys = getOwnPropertyNamesModule$1.f(anObject$d(it));
|
|
1886
1886
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1887
1887
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
1888
1888
|
};
|
|
1889
1889
|
|
|
1890
|
-
var hasOwn$
|
|
1890
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
1891
1891
|
var ownKeys = ownKeys$1;
|
|
1892
1892
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1893
1893
|
var definePropertyModule$4 = objectDefineProperty;
|
|
@@ -1898,42 +1898,42 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
|
1898
1898
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1899
1899
|
for (var i = 0; i < keys.length; i++) {
|
|
1900
1900
|
var key = keys[i];
|
|
1901
|
-
if (!hasOwn$
|
|
1901
|
+
if (!hasOwn$9(target, key) && !(exceptions && hasOwn$9(exceptions, key))) {
|
|
1902
1902
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
1905
|
};
|
|
1906
1906
|
|
|
1907
|
-
var fails$
|
|
1908
|
-
var isCallable$
|
|
1907
|
+
var fails$q = fails$x;
|
|
1908
|
+
var isCallable$c = isCallable$l;
|
|
1909
1909
|
|
|
1910
1910
|
var replacement = /#|\.prototype\./;
|
|
1911
1911
|
|
|
1912
|
-
var isForced$
|
|
1912
|
+
var isForced$4 = function (feature, detection) {
|
|
1913
1913
|
var value = data$1[normalize(feature)];
|
|
1914
1914
|
return value == POLYFILL ? true
|
|
1915
1915
|
: value == NATIVE ? false
|
|
1916
|
-
: isCallable$
|
|
1916
|
+
: isCallable$c(detection) ? fails$q(detection)
|
|
1917
1917
|
: !!detection;
|
|
1918
1918
|
};
|
|
1919
1919
|
|
|
1920
|
-
var normalize = isForced$
|
|
1920
|
+
var normalize = isForced$4.normalize = function (string) {
|
|
1921
1921
|
return String(string).replace(replacement, '.').toLowerCase();
|
|
1922
1922
|
};
|
|
1923
1923
|
|
|
1924
|
-
var data$1 = isForced$
|
|
1925
|
-
var NATIVE = isForced$
|
|
1926
|
-
var POLYFILL = isForced$
|
|
1924
|
+
var data$1 = isForced$4.data = {};
|
|
1925
|
+
var NATIVE = isForced$4.NATIVE = 'N';
|
|
1926
|
+
var POLYFILL = isForced$4.POLYFILL = 'P';
|
|
1927
1927
|
|
|
1928
|
-
var isForced_1 = isForced$
|
|
1928
|
+
var isForced_1 = isForced$4;
|
|
1929
1929
|
|
|
1930
|
-
var global$
|
|
1930
|
+
var global$B = global$V;
|
|
1931
1931
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
1932
1932
|
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
1933
|
-
var redefine$
|
|
1933
|
+
var redefine$a = redefine$b.exports;
|
|
1934
1934
|
var setGlobal = setGlobal$3;
|
|
1935
1935
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
1936
|
-
var isForced$
|
|
1936
|
+
var isForced$3 = isForced_1;
|
|
1937
1937
|
|
|
1938
1938
|
/*
|
|
1939
1939
|
options.target - name of the target object
|
|
@@ -1956,11 +1956,11 @@ var _export = function (options, source) {
|
|
|
1956
1956
|
var STATIC = options.stat;
|
|
1957
1957
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1958
1958
|
if (GLOBAL) {
|
|
1959
|
-
target = global$
|
|
1959
|
+
target = global$B;
|
|
1960
1960
|
} else if (STATIC) {
|
|
1961
|
-
target = global$
|
|
1961
|
+
target = global$B[TARGET] || setGlobal(TARGET, {});
|
|
1962
1962
|
} else {
|
|
1963
|
-
target = (global$
|
|
1963
|
+
target = (global$B[TARGET] || {}).prototype;
|
|
1964
1964
|
}
|
|
1965
1965
|
if (target) for (key in source) {
|
|
1966
1966
|
sourceProperty = source[key];
|
|
@@ -1968,7 +1968,7 @@ var _export = function (options, source) {
|
|
|
1968
1968
|
descriptor = getOwnPropertyDescriptor$2(target, key);
|
|
1969
1969
|
targetProperty = descriptor && descriptor.value;
|
|
1970
1970
|
} else targetProperty = target[key];
|
|
1971
|
-
FORCED = isForced$
|
|
1971
|
+
FORCED = isForced$3(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1972
1972
|
// contained in target
|
|
1973
1973
|
if (!FORCED && targetProperty !== undefined) {
|
|
1974
1974
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
@@ -1979,7 +1979,7 @@ var _export = function (options, source) {
|
|
|
1979
1979
|
createNonEnumerableProperty$5(sourceProperty, 'sham', true);
|
|
1980
1980
|
}
|
|
1981
1981
|
// extend global
|
|
1982
|
-
redefine$
|
|
1982
|
+
redefine$a(target, key, sourceProperty, options);
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
1985
1985
|
|
|
@@ -1997,12 +1997,12 @@ var createProperty$3 = function (object, key, value) {
|
|
|
1997
1997
|
else object[propertyKey] = value;
|
|
1998
1998
|
};
|
|
1999
1999
|
|
|
2000
|
-
var global$
|
|
2000
|
+
var global$A = global$V;
|
|
2001
2001
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
2002
2002
|
var lengthOfArrayLike$6 = lengthOfArrayLike$8;
|
|
2003
2003
|
var createProperty$2 = createProperty$3;
|
|
2004
2004
|
|
|
2005
|
-
var Array$4 = global$
|
|
2005
|
+
var Array$4 = global$A.Array;
|
|
2006
2006
|
var max$1 = Math.max;
|
|
2007
2007
|
|
|
2008
2008
|
var arraySliceSimple = function (O, start, end) {
|
|
@@ -2041,9 +2041,9 @@ objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
|
|
|
2041
2041
|
};
|
|
2042
2042
|
|
|
2043
2043
|
// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
|
|
2044
|
-
var fails$
|
|
2044
|
+
var fails$p = fails$x;
|
|
2045
2045
|
|
|
2046
|
-
var arrayBufferNonExtensible = fails$
|
|
2046
|
+
var arrayBufferNonExtensible = fails$p(function () {
|
|
2047
2047
|
if (typeof ArrayBuffer == 'function') {
|
|
2048
2048
|
var buffer = new ArrayBuffer(8);
|
|
2049
2049
|
// eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
|
|
@@ -2051,59 +2051,59 @@ var arrayBufferNonExtensible = fails$n(function () {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
});
|
|
2053
2053
|
|
|
2054
|
-
var fails$
|
|
2055
|
-
var isObject$
|
|
2054
|
+
var fails$o = fails$x;
|
|
2055
|
+
var isObject$f = isObject$l;
|
|
2056
2056
|
var classof$8 = classofRaw$1;
|
|
2057
2057
|
var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
|
|
2058
2058
|
|
|
2059
2059
|
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
2060
2060
|
var $isExtensible = Object.isExtensible;
|
|
2061
|
-
var FAILS_ON_PRIMITIVES$
|
|
2061
|
+
var FAILS_ON_PRIMITIVES$3 = fails$o(function () { $isExtensible(1); });
|
|
2062
2062
|
|
|
2063
2063
|
// `Object.isExtensible` method
|
|
2064
2064
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
2065
|
-
var objectIsExtensible = (FAILS_ON_PRIMITIVES$
|
|
2066
|
-
if (!isObject$
|
|
2065
|
+
var objectIsExtensible = (FAILS_ON_PRIMITIVES$3 || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
|
|
2066
|
+
if (!isObject$f(it)) return false;
|
|
2067
2067
|
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$8(it) == 'ArrayBuffer') return false;
|
|
2068
2068
|
return $isExtensible ? $isExtensible(it) : true;
|
|
2069
2069
|
} : $isExtensible;
|
|
2070
2070
|
|
|
2071
|
-
var fails$
|
|
2071
|
+
var fails$n = fails$x;
|
|
2072
2072
|
|
|
2073
|
-
var freezing = !fails$
|
|
2073
|
+
var freezing = !fails$n(function () {
|
|
2074
2074
|
// eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
|
|
2075
2075
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
2076
2076
|
});
|
|
2077
2077
|
|
|
2078
|
-
var $$
|
|
2079
|
-
var uncurryThis$
|
|
2078
|
+
var $$o = _export;
|
|
2079
|
+
var uncurryThis$q = functionUncurryThis;
|
|
2080
2080
|
var hiddenKeys$1 = hiddenKeys$5;
|
|
2081
|
-
var isObject$
|
|
2082
|
-
var hasOwn$
|
|
2081
|
+
var isObject$e = isObject$l;
|
|
2082
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
2083
2083
|
var defineProperty$5 = objectDefineProperty.f;
|
|
2084
2084
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
2085
2085
|
var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
|
|
2086
|
-
var isExtensible = objectIsExtensible;
|
|
2086
|
+
var isExtensible$1 = objectIsExtensible;
|
|
2087
2087
|
var uid = uid$3;
|
|
2088
|
-
var FREEZING$
|
|
2088
|
+
var FREEZING$2 = freezing;
|
|
2089
2089
|
|
|
2090
2090
|
var REQUIRED = false;
|
|
2091
2091
|
var METADATA = uid('meta');
|
|
2092
|
-
var id = 0;
|
|
2092
|
+
var id$1 = 0;
|
|
2093
2093
|
|
|
2094
2094
|
var setMetadata = function (it) {
|
|
2095
2095
|
defineProperty$5(it, METADATA, { value: {
|
|
2096
|
-
objectID: 'O' + id++, // object ID
|
|
2096
|
+
objectID: 'O' + id$1++, // object ID
|
|
2097
2097
|
weakData: {} // weak collections IDs
|
|
2098
2098
|
} });
|
|
2099
2099
|
};
|
|
2100
2100
|
|
|
2101
2101
|
var fastKey = function (it, create) {
|
|
2102
2102
|
// return a primitive with prefix
|
|
2103
|
-
if (!isObject$
|
|
2104
|
-
if (!hasOwn$
|
|
2103
|
+
if (!isObject$e(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
2104
|
+
if (!hasOwn$8(it, METADATA)) {
|
|
2105
2105
|
// can't set metadata to uncaught frozen object
|
|
2106
|
-
if (!isExtensible(it)) return 'F';
|
|
2106
|
+
if (!isExtensible$1(it)) return 'F';
|
|
2107
2107
|
// not necessary to add metadata
|
|
2108
2108
|
if (!create) return 'E';
|
|
2109
2109
|
// add missing metadata
|
|
@@ -2112,10 +2112,10 @@ var fastKey = function (it, create) {
|
|
|
2112
2112
|
} return it[METADATA].objectID;
|
|
2113
2113
|
};
|
|
2114
2114
|
|
|
2115
|
-
var getWeakData = function (it, create) {
|
|
2116
|
-
if (!hasOwn$
|
|
2115
|
+
var getWeakData$1 = function (it, create) {
|
|
2116
|
+
if (!hasOwn$8(it, METADATA)) {
|
|
2117
2117
|
// can't set metadata to uncaught frozen object
|
|
2118
|
-
if (!isExtensible(it)) return true;
|
|
2118
|
+
if (!isExtensible$1(it)) return true;
|
|
2119
2119
|
// not necessary to add metadata
|
|
2120
2120
|
if (!create) return false;
|
|
2121
2121
|
// add missing metadata
|
|
@@ -2125,8 +2125,8 @@ var getWeakData = function (it, create) {
|
|
|
2125
2125
|
};
|
|
2126
2126
|
|
|
2127
2127
|
// add metadata on freeze-family methods calling
|
|
2128
|
-
var onFreeze$
|
|
2129
|
-
if (FREEZING$
|
|
2128
|
+
var onFreeze$2 = function (it) {
|
|
2129
|
+
if (FREEZING$2 && REQUIRED && isExtensible$1(it) && !hasOwn$8(it, METADATA)) setMetadata(it);
|
|
2130
2130
|
return it;
|
|
2131
2131
|
};
|
|
2132
2132
|
|
|
@@ -2134,7 +2134,7 @@ var enable = function () {
|
|
|
2134
2134
|
meta.enable = function () { /* empty */ };
|
|
2135
2135
|
REQUIRED = true;
|
|
2136
2136
|
var getOwnPropertyNames = getOwnPropertyNamesModule.f;
|
|
2137
|
-
var splice = uncurryThis$
|
|
2137
|
+
var splice = uncurryThis$q([].splice);
|
|
2138
2138
|
var test = {};
|
|
2139
2139
|
test[METADATA] = 1;
|
|
2140
2140
|
|
|
@@ -2150,7 +2150,7 @@ var enable = function () {
|
|
|
2150
2150
|
} return result;
|
|
2151
2151
|
};
|
|
2152
2152
|
|
|
2153
|
-
$$
|
|
2153
|
+
$$o({ target: 'Object', stat: true, forced: true }, {
|
|
2154
2154
|
getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
|
|
2155
2155
|
});
|
|
2156
2156
|
}
|
|
@@ -2159,27 +2159,27 @@ var enable = function () {
|
|
|
2159
2159
|
var meta = internalMetadata.exports = {
|
|
2160
2160
|
enable: enable,
|
|
2161
2161
|
fastKey: fastKey,
|
|
2162
|
-
getWeakData: getWeakData,
|
|
2163
|
-
onFreeze: onFreeze$
|
|
2162
|
+
getWeakData: getWeakData$1,
|
|
2163
|
+
onFreeze: onFreeze$2
|
|
2164
2164
|
};
|
|
2165
2165
|
|
|
2166
2166
|
hiddenKeys$1[METADATA] = true;
|
|
2167
2167
|
|
|
2168
|
-
var $$
|
|
2169
|
-
var isObject$
|
|
2170
|
-
var onFreeze = internalMetadata.exports.onFreeze;
|
|
2171
|
-
var FREEZING = freezing;
|
|
2172
|
-
var fails$
|
|
2168
|
+
var $$n = _export;
|
|
2169
|
+
var isObject$d = isObject$l;
|
|
2170
|
+
var onFreeze$1 = internalMetadata.exports.onFreeze;
|
|
2171
|
+
var FREEZING$1 = freezing;
|
|
2172
|
+
var fails$m = fails$x;
|
|
2173
2173
|
|
|
2174
2174
|
// eslint-disable-next-line es/no-object-seal -- safe
|
|
2175
2175
|
var $seal = Object.seal;
|
|
2176
|
-
var FAILS_ON_PRIMITIVES$
|
|
2176
|
+
var FAILS_ON_PRIMITIVES$2 = fails$m(function () { $seal(1); });
|
|
2177
2177
|
|
|
2178
2178
|
// `Object.seal` method
|
|
2179
2179
|
// https://tc39.es/ecma262/#sec-object.seal
|
|
2180
|
-
$$
|
|
2180
|
+
$$n({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$2, sham: !FREEZING$1 }, {
|
|
2181
2181
|
seal: function seal(it) {
|
|
2182
|
-
return $seal && isObject$
|
|
2182
|
+
return $seal && isObject$d(it) ? $seal(onFreeze$1(it)) : it;
|
|
2183
2183
|
}
|
|
2184
2184
|
});
|
|
2185
2185
|
|
|
@@ -2194,21 +2194,21 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
|
|
|
2194
2194
|
return call$a.apply(apply$3, arguments);
|
|
2195
2195
|
});
|
|
2196
2196
|
|
|
2197
|
-
var global$
|
|
2198
|
-
var isCallable$
|
|
2197
|
+
var global$z = global$V;
|
|
2198
|
+
var isCallable$b = isCallable$l;
|
|
2199
2199
|
|
|
2200
|
-
var String$3 = global$
|
|
2201
|
-
var TypeError$c = global$
|
|
2200
|
+
var String$3 = global$z.String;
|
|
2201
|
+
var TypeError$c = global$z.TypeError;
|
|
2202
2202
|
|
|
2203
2203
|
var aPossiblePrototype$1 = function (argument) {
|
|
2204
|
-
if (typeof argument == 'object' || isCallable$
|
|
2204
|
+
if (typeof argument == 'object' || isCallable$b(argument)) return argument;
|
|
2205
2205
|
throw TypeError$c("Can't set " + String$3(argument) + ' as a prototype');
|
|
2206
2206
|
};
|
|
2207
2207
|
|
|
2208
2208
|
/* eslint-disable no-proto -- safe */
|
|
2209
2209
|
|
|
2210
|
-
var uncurryThis$
|
|
2211
|
-
var anObject$
|
|
2210
|
+
var uncurryThis$p = functionUncurryThis;
|
|
2211
|
+
var anObject$c = anObject$f;
|
|
2212
2212
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
2213
2213
|
|
|
2214
2214
|
// `Object.setPrototypeOf` method
|
|
@@ -2221,12 +2221,12 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2221
2221
|
var setter;
|
|
2222
2222
|
try {
|
|
2223
2223
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2224
|
-
setter = uncurryThis$
|
|
2224
|
+
setter = uncurryThis$p(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
2225
2225
|
setter(test, []);
|
|
2226
2226
|
CORRECT_SETTER = test instanceof Array;
|
|
2227
2227
|
} catch (error) { /* empty */ }
|
|
2228
2228
|
return function setPrototypeOf(O, proto) {
|
|
2229
|
-
anObject$
|
|
2229
|
+
anObject$c(O);
|
|
2230
2230
|
aPossiblePrototype(proto);
|
|
2231
2231
|
if (CORRECT_SETTER) setter(O, proto);
|
|
2232
2232
|
else O.__proto__ = proto;
|
|
@@ -2234,20 +2234,20 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2234
2234
|
};
|
|
2235
2235
|
}() : undefined);
|
|
2236
2236
|
|
|
2237
|
-
var isCallable$
|
|
2238
|
-
var isObject$
|
|
2237
|
+
var isCallable$a = isCallable$l;
|
|
2238
|
+
var isObject$c = isObject$l;
|
|
2239
2239
|
var setPrototypeOf$3 = objectSetPrototypeOf;
|
|
2240
2240
|
|
|
2241
2241
|
// makes subclassing work correct for wrapped built-ins
|
|
2242
|
-
var inheritIfRequired$
|
|
2242
|
+
var inheritIfRequired$3 = function ($this, dummy, Wrapper) {
|
|
2243
2243
|
var NewTarget, NewTargetPrototype;
|
|
2244
2244
|
if (
|
|
2245
2245
|
// it can work only with native `setPrototypeOf`
|
|
2246
2246
|
setPrototypeOf$3 &&
|
|
2247
2247
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2248
|
-
isCallable$
|
|
2248
|
+
isCallable$a(NewTarget = dummy.constructor) &&
|
|
2249
2249
|
NewTarget !== Wrapper &&
|
|
2250
|
-
isObject$
|
|
2250
|
+
isObject$c(NewTargetPrototype = NewTarget.prototype) &&
|
|
2251
2251
|
NewTargetPrototype !== Wrapper.prototype
|
|
2252
2252
|
) setPrototypeOf$3($this, NewTargetPrototype);
|
|
2253
2253
|
return $this;
|
|
@@ -2262,14 +2262,14 @@ test$1[TO_STRING_TAG$3] = 'z';
|
|
|
2262
2262
|
|
|
2263
2263
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2264
2264
|
|
|
2265
|
-
var global$
|
|
2265
|
+
var global$y = global$V;
|
|
2266
2266
|
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
2267
|
-
var isCallable$
|
|
2267
|
+
var isCallable$9 = isCallable$l;
|
|
2268
2268
|
var classofRaw = classofRaw$1;
|
|
2269
2269
|
var wellKnownSymbol$g = wellKnownSymbol$j;
|
|
2270
2270
|
|
|
2271
2271
|
var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');
|
|
2272
|
-
var Object$2 = global$
|
|
2272
|
+
var Object$2 = global$y.Object;
|
|
2273
2273
|
|
|
2274
2274
|
// ES3 wrong here
|
|
2275
2275
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -2290,13 +2290,13 @@ var classof$7 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
|
2290
2290
|
// builtinTag case
|
|
2291
2291
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
2292
2292
|
// ES3 arguments fallback
|
|
2293
|
-
: (result = classofRaw(O)) == 'Object' && isCallable$
|
|
2293
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
|
|
2294
2294
|
};
|
|
2295
2295
|
|
|
2296
|
-
var global$
|
|
2296
|
+
var global$x = global$V;
|
|
2297
2297
|
var classof$6 = classof$7;
|
|
2298
2298
|
|
|
2299
|
-
var String$2 = global$
|
|
2299
|
+
var String$2 = global$x.String;
|
|
2300
2300
|
|
|
2301
2301
|
var toString$9 = function (argument) {
|
|
2302
2302
|
if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
@@ -2309,20 +2309,20 @@ var normalizeStringArgument$1 = function (argument, $default) {
|
|
|
2309
2309
|
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$8(argument);
|
|
2310
2310
|
};
|
|
2311
2311
|
|
|
2312
|
-
var isObject$
|
|
2312
|
+
var isObject$b = isObject$l;
|
|
2313
2313
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
2314
2314
|
|
|
2315
2315
|
// `InstallErrorCause` abstract operation
|
|
2316
2316
|
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
2317
2317
|
var installErrorCause$1 = function (O, options) {
|
|
2318
|
-
if (isObject$
|
|
2318
|
+
if (isObject$b(options) && 'cause' in options) {
|
|
2319
2319
|
createNonEnumerableProperty$4(O, 'cause', options.cause);
|
|
2320
2320
|
}
|
|
2321
2321
|
};
|
|
2322
2322
|
|
|
2323
|
-
var uncurryThis$
|
|
2323
|
+
var uncurryThis$o = functionUncurryThis;
|
|
2324
2324
|
|
|
2325
|
-
var replace$7 = uncurryThis$
|
|
2325
|
+
var replace$7 = uncurryThis$o(''.replace);
|
|
2326
2326
|
|
|
2327
2327
|
var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
|
|
2328
2328
|
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
@@ -2334,10 +2334,10 @@ var clearErrorStack$1 = function (stack, dropEntries) {
|
|
|
2334
2334
|
} return stack;
|
|
2335
2335
|
};
|
|
2336
2336
|
|
|
2337
|
-
var fails$
|
|
2337
|
+
var fails$l = fails$x;
|
|
2338
2338
|
var createPropertyDescriptor$2 = createPropertyDescriptor$6;
|
|
2339
2339
|
|
|
2340
|
-
var errorStackInstallable = !fails$
|
|
2340
|
+
var errorStackInstallable = !fails$l(function () {
|
|
2341
2341
|
var error = Error('a');
|
|
2342
2342
|
if (!('stack' in error)) return true;
|
|
2343
2343
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -2346,12 +2346,12 @@ var errorStackInstallable = !fails$j(function () {
|
|
|
2346
2346
|
});
|
|
2347
2347
|
|
|
2348
2348
|
var getBuiltIn$6 = getBuiltIn$a;
|
|
2349
|
-
var hasOwn$
|
|
2349
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
2350
2350
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
2351
2351
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
2352
2352
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
2353
2353
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
2354
|
-
var inheritIfRequired$
|
|
2354
|
+
var inheritIfRequired$2 = inheritIfRequired$3;
|
|
2355
2355
|
var normalizeStringArgument = normalizeStringArgument$1;
|
|
2356
2356
|
var installErrorCause = installErrorCause$1;
|
|
2357
2357
|
var clearErrorStack = clearErrorStack$1;
|
|
@@ -2368,7 +2368,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
2368
2368
|
var OriginalErrorPrototype = OriginalError.prototype;
|
|
2369
2369
|
|
|
2370
2370
|
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
2371
|
-
if (hasOwn$
|
|
2371
|
+
if (hasOwn$7(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
2372
2372
|
|
|
2373
2373
|
if (!FORCED) return OriginalError;
|
|
2374
2374
|
|
|
@@ -2379,7 +2379,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
2379
2379
|
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
2380
2380
|
if (message !== undefined) createNonEnumerableProperty$3(result, 'message', message);
|
|
2381
2381
|
if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty$3(result, 'stack', clearErrorStack(result.stack, 2));
|
|
2382
|
-
if (this && isPrototypeOf$4(OriginalErrorPrototype, this)) inheritIfRequired$
|
|
2382
|
+
if (this && isPrototypeOf$4(OriginalErrorPrototype, this)) inheritIfRequired$2(result, this, WrappedError);
|
|
2383
2383
|
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
2384
2384
|
return result;
|
|
2385
2385
|
});
|
|
@@ -2406,27 +2406,27 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
2406
2406
|
|
|
2407
2407
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
2408
2408
|
|
|
2409
|
-
var $$
|
|
2410
|
-
var global$
|
|
2409
|
+
var $$m = _export;
|
|
2410
|
+
var global$w = global$V;
|
|
2411
2411
|
var apply$2 = functionApply;
|
|
2412
2412
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
2413
2413
|
|
|
2414
2414
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
2415
|
-
var WebAssembly = global$
|
|
2415
|
+
var WebAssembly = global$w[WEB_ASSEMBLY];
|
|
2416
2416
|
|
|
2417
2417
|
var FORCED$5 = Error('e', { cause: 7 }).cause !== 7;
|
|
2418
2418
|
|
|
2419
2419
|
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2420
2420
|
var O = {};
|
|
2421
2421
|
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$5);
|
|
2422
|
-
$$
|
|
2422
|
+
$$m({ global: true, forced: FORCED$5 }, O);
|
|
2423
2423
|
};
|
|
2424
2424
|
|
|
2425
2425
|
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2426
2426
|
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2427
2427
|
var O = {};
|
|
2428
2428
|
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$5);
|
|
2429
|
-
$$
|
|
2429
|
+
$$m({ target: WEB_ASSEMBLY, stat: true, forced: FORCED$5 }, O);
|
|
2430
2430
|
}
|
|
2431
2431
|
};
|
|
2432
2432
|
|
|
@@ -2471,9 +2471,9 @@ var isArray$9 = Array.isArray || function isArray(argument) {
|
|
|
2471
2471
|
return classof$5(argument) == 'Array';
|
|
2472
2472
|
};
|
|
2473
2473
|
|
|
2474
|
-
var uncurryThis$
|
|
2475
|
-
var fails$
|
|
2476
|
-
var isCallable$
|
|
2474
|
+
var uncurryThis$n = functionUncurryThis;
|
|
2475
|
+
var fails$k = fails$x;
|
|
2476
|
+
var isCallable$8 = isCallable$l;
|
|
2477
2477
|
var classof$4 = classof$7;
|
|
2478
2478
|
var getBuiltIn$5 = getBuiltIn$a;
|
|
2479
2479
|
var inspectSource$1 = inspectSource$4;
|
|
@@ -2482,11 +2482,11 @@ var noop = function () { /* empty */ };
|
|
|
2482
2482
|
var empty = [];
|
|
2483
2483
|
var construct = getBuiltIn$5('Reflect', 'construct');
|
|
2484
2484
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2485
|
-
var exec$5 = uncurryThis$
|
|
2485
|
+
var exec$5 = uncurryThis$n(constructorRegExp.exec);
|
|
2486
2486
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
2487
2487
|
|
|
2488
2488
|
var isConstructorModern = function isConstructor(argument) {
|
|
2489
|
-
if (!isCallable$
|
|
2489
|
+
if (!isCallable$8(argument)) return false;
|
|
2490
2490
|
try {
|
|
2491
2491
|
construct(noop, empty, argument);
|
|
2492
2492
|
return true;
|
|
@@ -2496,7 +2496,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2496
2496
|
};
|
|
2497
2497
|
|
|
2498
2498
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2499
|
-
if (!isCallable$
|
|
2499
|
+
if (!isCallable$8(argument)) return false;
|
|
2500
2500
|
switch (classof$4(argument)) {
|
|
2501
2501
|
case 'AsyncFunction':
|
|
2502
2502
|
case 'GeneratorFunction':
|
|
@@ -2516,7 +2516,7 @@ isConstructorLegacy.sham = true;
|
|
|
2516
2516
|
|
|
2517
2517
|
// `IsConstructor` abstract operation
|
|
2518
2518
|
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2519
|
-
var isConstructor$3 = !construct || fails$
|
|
2519
|
+
var isConstructor$3 = !construct || fails$k(function () {
|
|
2520
2520
|
var called;
|
|
2521
2521
|
return isConstructorModern(isConstructorModern.call)
|
|
2522
2522
|
|| !isConstructorModern(Object)
|
|
@@ -2524,14 +2524,14 @@ var isConstructor$3 = !construct || fails$i(function () {
|
|
|
2524
2524
|
|| called;
|
|
2525
2525
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
2526
2526
|
|
|
2527
|
-
var global$
|
|
2527
|
+
var global$v = global$V;
|
|
2528
2528
|
var isArray$8 = isArray$9;
|
|
2529
2529
|
var isConstructor$2 = isConstructor$3;
|
|
2530
|
-
var isObject$
|
|
2530
|
+
var isObject$a = isObject$l;
|
|
2531
2531
|
var wellKnownSymbol$f = wellKnownSymbol$j;
|
|
2532
2532
|
|
|
2533
2533
|
var SPECIES$4 = wellKnownSymbol$f('species');
|
|
2534
|
-
var Array$3 = global$
|
|
2534
|
+
var Array$3 = global$v.Array;
|
|
2535
2535
|
|
|
2536
2536
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
2537
2537
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
@@ -2541,7 +2541,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
2541
2541
|
C = originalArray.constructor;
|
|
2542
2542
|
// cross-realm fallback
|
|
2543
2543
|
if (isConstructor$2(C) && (C === Array$3 || isArray$8(C.prototype))) C = undefined;
|
|
2544
|
-
else if (isObject$
|
|
2544
|
+
else if (isObject$a(C)) {
|
|
2545
2545
|
C = C[SPECIES$4];
|
|
2546
2546
|
if (C === null) C = undefined;
|
|
2547
2547
|
}
|
|
@@ -2556,7 +2556,7 @@ var arraySpeciesCreate$2 = function (originalArray, length) {
|
|
|
2556
2556
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
2557
2557
|
};
|
|
2558
2558
|
|
|
2559
|
-
var fails$
|
|
2559
|
+
var fails$j = fails$x;
|
|
2560
2560
|
var wellKnownSymbol$e = wellKnownSymbol$j;
|
|
2561
2561
|
var V8_VERSION$2 = engineV8Version;
|
|
2562
2562
|
|
|
@@ -2566,7 +2566,7 @@ var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
|
|
|
2566
2566
|
// We can't use this feature detection in V8 since it causes
|
|
2567
2567
|
// deoptimization and serious performance degradation
|
|
2568
2568
|
// https://github.com/zloirock/core-js/issues/677
|
|
2569
|
-
return V8_VERSION$2 >= 51 || !fails$
|
|
2569
|
+
return V8_VERSION$2 >= 51 || !fails$j(function () {
|
|
2570
2570
|
var array = [];
|
|
2571
2571
|
var constructor = array.constructor = {};
|
|
2572
2572
|
constructor[SPECIES$3] = function () {
|
|
@@ -2576,11 +2576,11 @@ var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
|
|
|
2576
2576
|
});
|
|
2577
2577
|
};
|
|
2578
2578
|
|
|
2579
|
-
var $$
|
|
2580
|
-
var global$
|
|
2581
|
-
var fails$
|
|
2579
|
+
var $$l = _export;
|
|
2580
|
+
var global$u = global$V;
|
|
2581
|
+
var fails$i = fails$x;
|
|
2582
2582
|
var isArray$7 = isArray$9;
|
|
2583
|
-
var isObject$
|
|
2583
|
+
var isObject$9 = isObject$l;
|
|
2584
2584
|
var toObject$7 = toObject$9;
|
|
2585
2585
|
var lengthOfArrayLike$5 = lengthOfArrayLike$8;
|
|
2586
2586
|
var createProperty$1 = createProperty$3;
|
|
@@ -2592,12 +2592,12 @@ var V8_VERSION$1 = engineV8Version;
|
|
|
2592
2592
|
var IS_CONCAT_SPREADABLE = wellKnownSymbol$d('isConcatSpreadable');
|
|
2593
2593
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
2594
2594
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
2595
|
-
var TypeError$b = global$
|
|
2595
|
+
var TypeError$b = global$u.TypeError;
|
|
2596
2596
|
|
|
2597
2597
|
// We can't use this feature detection in V8 since it causes
|
|
2598
2598
|
// deoptimization and serious performance degradation
|
|
2599
2599
|
// https://github.com/zloirock/core-js/issues/679
|
|
2600
|
-
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$
|
|
2600
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$i(function () {
|
|
2601
2601
|
var array = [];
|
|
2602
2602
|
array[IS_CONCAT_SPREADABLE] = false;
|
|
2603
2603
|
return array.concat()[0] !== array;
|
|
@@ -2606,7 +2606,7 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$g(function () {
|
|
|
2606
2606
|
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$2('concat');
|
|
2607
2607
|
|
|
2608
2608
|
var isConcatSpreadable = function (O) {
|
|
2609
|
-
if (!isObject$
|
|
2609
|
+
if (!isObject$9(O)) return false;
|
|
2610
2610
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
2611
2611
|
return spreadable !== undefined ? !!spreadable : isArray$7(O);
|
|
2612
2612
|
};
|
|
@@ -2616,7 +2616,7 @@ var FORCED$4 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
|
2616
2616
|
// `Array.prototype.concat` method
|
|
2617
2617
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
2618
2618
|
// with adding support of @@isConcatSpreadable and @@species
|
|
2619
|
-
$$
|
|
2619
|
+
$$l({ target: 'Array', proto: true, forced: FORCED$4 }, {
|
|
2620
2620
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2621
2621
|
concat: function concat(arg) {
|
|
2622
2622
|
var O = toObject$7(this);
|
|
@@ -2673,13 +2673,13 @@ var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString()
|
|
|
2673
2673
|
};
|
|
2674
2674
|
|
|
2675
2675
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2676
|
-
var redefine$
|
|
2676
|
+
var redefine$9 = redefine$b.exports;
|
|
2677
2677
|
var toString$7 = objectToString;
|
|
2678
2678
|
|
|
2679
2679
|
// `Object.prototype.toString` method
|
|
2680
2680
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
2681
2681
|
if (!TO_STRING_TAG_SUPPORT) {
|
|
2682
|
-
redefine$
|
|
2682
|
+
redefine$9(Object.prototype, 'toString', toString$7, { unsafe: true });
|
|
2683
2683
|
}
|
|
2684
2684
|
|
|
2685
2685
|
// iterable DOM collections
|
|
@@ -2726,11 +2726,11 @@ var DOMTokenListPrototype$2 = classList && classList.constructor && classList.co
|
|
|
2726
2726
|
|
|
2727
2727
|
var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;
|
|
2728
2728
|
|
|
2729
|
-
var uncurryThis$
|
|
2729
|
+
var uncurryThis$m = functionUncurryThis;
|
|
2730
2730
|
var aCallable$5 = aCallable$7;
|
|
2731
2731
|
var NATIVE_BIND = functionBindNative;
|
|
2732
2732
|
|
|
2733
|
-
var bind$b = uncurryThis$
|
|
2733
|
+
var bind$b = uncurryThis$m(uncurryThis$m.bind);
|
|
2734
2734
|
|
|
2735
2735
|
// optional / simple context binding
|
|
2736
2736
|
var functionBindContext = function (fn, that) {
|
|
@@ -2741,13 +2741,13 @@ var functionBindContext = function (fn, that) {
|
|
|
2741
2741
|
};
|
|
2742
2742
|
|
|
2743
2743
|
var bind$a = functionBindContext;
|
|
2744
|
-
var uncurryThis$
|
|
2744
|
+
var uncurryThis$l = functionUncurryThis;
|
|
2745
2745
|
var IndexedObject$3 = indexedObject;
|
|
2746
2746
|
var toObject$6 = toObject$9;
|
|
2747
2747
|
var lengthOfArrayLike$4 = lengthOfArrayLike$8;
|
|
2748
2748
|
var arraySpeciesCreate = arraySpeciesCreate$2;
|
|
2749
2749
|
|
|
2750
|
-
var push$6 = uncurryThis$
|
|
2750
|
+
var push$6 = uncurryThis$l([].push);
|
|
2751
2751
|
|
|
2752
2752
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
2753
2753
|
var createMethod$4 = function (TYPE) {
|
|
@@ -2814,11 +2814,11 @@ var arrayIteration = {
|
|
|
2814
2814
|
filterReject: createMethod$4(7)
|
|
2815
2815
|
};
|
|
2816
2816
|
|
|
2817
|
-
var fails$
|
|
2817
|
+
var fails$h = fails$x;
|
|
2818
2818
|
|
|
2819
2819
|
var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {
|
|
2820
2820
|
var method = [][METHOD_NAME];
|
|
2821
|
-
return !!method && fails$
|
|
2821
|
+
return !!method && fails$h(function () {
|
|
2822
2822
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
2823
2823
|
method.call(null, argument || function () { return 1; }, 1);
|
|
2824
2824
|
});
|
|
@@ -2836,7 +2836,7 @@ var arrayForEach = !STRICT_METHOD$3 ? function forEach(callbackfn /* , thisArg *
|
|
|
2836
2836
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
2837
2837
|
} : [].forEach;
|
|
2838
2838
|
|
|
2839
|
-
var global$
|
|
2839
|
+
var global$t = global$V;
|
|
2840
2840
|
var DOMIterables$1 = domIterables;
|
|
2841
2841
|
var DOMTokenListPrototype$1 = domTokenListPrototype;
|
|
2842
2842
|
var forEach$1 = arrayForEach;
|
|
@@ -2853,7 +2853,7 @@ var handlePrototype$1 = function (CollectionPrototype) {
|
|
|
2853
2853
|
|
|
2854
2854
|
for (var COLLECTION_NAME$1 in DOMIterables$1) {
|
|
2855
2855
|
if (DOMIterables$1[COLLECTION_NAME$1]) {
|
|
2856
|
-
handlePrototype$1(global$
|
|
2856
|
+
handlePrototype$1(global$t[COLLECTION_NAME$1] && global$t[COLLECTION_NAME$1].prototype);
|
|
2857
2857
|
}
|
|
2858
2858
|
}
|
|
2859
2859
|
|
|
@@ -2869,27 +2869,27 @@ var objectKeys$3 = Object.keys || function keys(O) {
|
|
|
2869
2869
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
2870
2870
|
};
|
|
2871
2871
|
|
|
2872
|
-
var $$
|
|
2872
|
+
var $$k = _export;
|
|
2873
2873
|
var toObject$5 = toObject$9;
|
|
2874
2874
|
var nativeKeys = objectKeys$3;
|
|
2875
|
-
var fails$
|
|
2875
|
+
var fails$g = fails$x;
|
|
2876
2876
|
|
|
2877
|
-
var FAILS_ON_PRIMITIVES = fails$
|
|
2877
|
+
var FAILS_ON_PRIMITIVES$1 = fails$g(function () { nativeKeys(1); });
|
|
2878
2878
|
|
|
2879
2879
|
// `Object.keys` method
|
|
2880
2880
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
2881
|
-
$$
|
|
2881
|
+
$$k({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, {
|
|
2882
2882
|
keys: function keys(it) {
|
|
2883
2883
|
return nativeKeys(toObject$5(it));
|
|
2884
2884
|
}
|
|
2885
2885
|
});
|
|
2886
2886
|
|
|
2887
|
-
var anObject$
|
|
2887
|
+
var anObject$b = anObject$f;
|
|
2888
2888
|
|
|
2889
2889
|
// `RegExp.prototype.flags` getter implementation
|
|
2890
2890
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
2891
2891
|
var regexpFlags$1 = function () {
|
|
2892
|
-
var that = anObject$
|
|
2892
|
+
var that = anObject$b(this);
|
|
2893
2893
|
var result = '';
|
|
2894
2894
|
if (that.global) result += 'g';
|
|
2895
2895
|
if (that.ignoreCase) result += 'i';
|
|
@@ -2900,13 +2900,13 @@ var regexpFlags$1 = function () {
|
|
|
2900
2900
|
return result;
|
|
2901
2901
|
};
|
|
2902
2902
|
|
|
2903
|
-
var fails$
|
|
2904
|
-
var global$
|
|
2903
|
+
var fails$f = fails$x;
|
|
2904
|
+
var global$s = global$V;
|
|
2905
2905
|
|
|
2906
2906
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
2907
|
-
var $RegExp$2 = global$
|
|
2907
|
+
var $RegExp$2 = global$s.RegExp;
|
|
2908
2908
|
|
|
2909
|
-
var UNSUPPORTED_Y$1 = fails$
|
|
2909
|
+
var UNSUPPORTED_Y$1 = fails$f(function () {
|
|
2910
2910
|
var re = $RegExp$2('a', 'y');
|
|
2911
2911
|
re.lastIndex = 2;
|
|
2912
2912
|
return re.exec('abcd') != null;
|
|
@@ -2914,11 +2914,11 @@ var UNSUPPORTED_Y$1 = fails$d(function () {
|
|
|
2914
2914
|
|
|
2915
2915
|
// UC Browser bug
|
|
2916
2916
|
// https://github.com/zloirock/core-js/issues/1008
|
|
2917
|
-
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$
|
|
2917
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$f(function () {
|
|
2918
2918
|
return !$RegExp$2('a', 'y').sticky;
|
|
2919
2919
|
});
|
|
2920
2920
|
|
|
2921
|
-
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$
|
|
2921
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$f(function () {
|
|
2922
2922
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
2923
2923
|
var re = $RegExp$2('^r', 'gy');
|
|
2924
2924
|
re.lastIndex = 2;
|
|
@@ -2936,7 +2936,7 @@ var objectDefineProperties = {};
|
|
|
2936
2936
|
var DESCRIPTORS$7 = descriptors$1;
|
|
2937
2937
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
2938
2938
|
var definePropertyModule$2 = objectDefineProperty;
|
|
2939
|
-
var anObject$
|
|
2939
|
+
var anObject$a = anObject$f;
|
|
2940
2940
|
var toIndexedObject$3 = toIndexedObject$8;
|
|
2941
2941
|
var objectKeys$2 = objectKeys$3;
|
|
2942
2942
|
|
|
@@ -2944,7 +2944,7 @@ var objectKeys$2 = objectKeys$3;
|
|
|
2944
2944
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
2945
2945
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
2946
2946
|
objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
2947
|
-
anObject$
|
|
2947
|
+
anObject$a(O);
|
|
2948
2948
|
var props = toIndexedObject$3(Properties);
|
|
2949
2949
|
var keys = objectKeys$2(Properties);
|
|
2950
2950
|
var length = keys.length;
|
|
@@ -2960,7 +2960,7 @@ var html$2 = getBuiltIn$4('document', 'documentElement');
|
|
|
2960
2960
|
|
|
2961
2961
|
/* global ActiveXObject -- old IE, WSH */
|
|
2962
2962
|
|
|
2963
|
-
var anObject$
|
|
2963
|
+
var anObject$9 = anObject$f;
|
|
2964
2964
|
var definePropertiesModule = objectDefineProperties;
|
|
2965
2965
|
var enumBugKeys = enumBugKeys$3;
|
|
2966
2966
|
var hiddenKeys = hiddenKeys$5;
|
|
@@ -3033,7 +3033,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
3033
3033
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
3034
3034
|
var result;
|
|
3035
3035
|
if (O !== null) {
|
|
3036
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
3036
|
+
EmptyConstructor[PROTOTYPE] = anObject$9(O);
|
|
3037
3037
|
result = new EmptyConstructor();
|
|
3038
3038
|
EmptyConstructor[PROTOTYPE] = null;
|
|
3039
3039
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -3042,24 +3042,24 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
3042
3042
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3043
3043
|
};
|
|
3044
3044
|
|
|
3045
|
-
var fails$
|
|
3046
|
-
var global$
|
|
3045
|
+
var fails$e = fails$x;
|
|
3046
|
+
var global$r = global$V;
|
|
3047
3047
|
|
|
3048
3048
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
3049
|
-
var $RegExp$1 = global$
|
|
3049
|
+
var $RegExp$1 = global$r.RegExp;
|
|
3050
3050
|
|
|
3051
|
-
var regexpUnsupportedDotAll = fails$
|
|
3051
|
+
var regexpUnsupportedDotAll = fails$e(function () {
|
|
3052
3052
|
var re = $RegExp$1('.', 's');
|
|
3053
3053
|
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
|
3054
3054
|
});
|
|
3055
3055
|
|
|
3056
|
-
var fails$
|
|
3057
|
-
var global$
|
|
3056
|
+
var fails$d = fails$x;
|
|
3057
|
+
var global$q = global$V;
|
|
3058
3058
|
|
|
3059
3059
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
3060
|
-
var $RegExp = global$
|
|
3060
|
+
var $RegExp = global$q.RegExp;
|
|
3061
3061
|
|
|
3062
|
-
var regexpUnsupportedNcg = fails$
|
|
3062
|
+
var regexpUnsupportedNcg = fails$d(function () {
|
|
3063
3063
|
var re = $RegExp('(?<a>b)', 'g');
|
|
3064
3064
|
return re.exec('b').groups.a !== 'b' ||
|
|
3065
3065
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -3068,7 +3068,7 @@ var regexpUnsupportedNcg = fails$b(function () {
|
|
|
3068
3068
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
3069
3069
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
3070
3070
|
var call$9 = functionCall;
|
|
3071
|
-
var uncurryThis$
|
|
3071
|
+
var uncurryThis$k = functionUncurryThis;
|
|
3072
3072
|
var toString$6 = toString$9;
|
|
3073
3073
|
var regexpFlags = regexpFlags$1;
|
|
3074
3074
|
var stickyHelpers = regexpStickyHelpers;
|
|
@@ -3081,10 +3081,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
3081
3081
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
3082
3082
|
var nativeExec = RegExp.prototype.exec;
|
|
3083
3083
|
var patchedExec = nativeExec;
|
|
3084
|
-
var charAt$5 = uncurryThis$
|
|
3085
|
-
var indexOf = uncurryThis$
|
|
3086
|
-
var replace$6 = uncurryThis$
|
|
3087
|
-
var stringSlice$3 = uncurryThis$
|
|
3084
|
+
var charAt$5 = uncurryThis$k(''.charAt);
|
|
3085
|
+
var indexOf = uncurryThis$k(''.indexOf);
|
|
3086
|
+
var replace$6 = uncurryThis$k(''.replace);
|
|
3087
|
+
var stringSlice$3 = uncurryThis$k(''.slice);
|
|
3088
3088
|
|
|
3089
3089
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
3090
3090
|
var re1 = /a/;
|
|
@@ -3182,23 +3182,23 @@ if (PATCH) {
|
|
|
3182
3182
|
|
|
3183
3183
|
var regexpExec = patchedExec;
|
|
3184
3184
|
|
|
3185
|
-
var $$
|
|
3185
|
+
var $$j = _export;
|
|
3186
3186
|
var exec$4 = regexpExec;
|
|
3187
3187
|
|
|
3188
3188
|
// `RegExp.prototype.exec` method
|
|
3189
3189
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
3190
|
-
$$
|
|
3190
|
+
$$j({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {
|
|
3191
3191
|
exec: exec$4
|
|
3192
3192
|
});
|
|
3193
3193
|
|
|
3194
3194
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
3195
3195
|
|
|
3196
|
-
var $$
|
|
3197
|
-
var global$
|
|
3196
|
+
var $$i = _export;
|
|
3197
|
+
var global$p = global$V;
|
|
3198
3198
|
var call$8 = functionCall;
|
|
3199
|
-
var uncurryThis$
|
|
3200
|
-
var isCallable$
|
|
3201
|
-
var isObject$
|
|
3199
|
+
var uncurryThis$j = functionUncurryThis;
|
|
3200
|
+
var isCallable$7 = isCallable$l;
|
|
3201
|
+
var isObject$8 = isObject$l;
|
|
3202
3202
|
|
|
3203
3203
|
var DELEGATES_TO_EXEC = function () {
|
|
3204
3204
|
var execCalled = false;
|
|
@@ -3210,17 +3210,17 @@ var DELEGATES_TO_EXEC = function () {
|
|
|
3210
3210
|
return re.test('abc') === true && execCalled;
|
|
3211
3211
|
}();
|
|
3212
3212
|
|
|
3213
|
-
var Error$1 = global$
|
|
3214
|
-
var un$Test = uncurryThis$
|
|
3213
|
+
var Error$1 = global$p.Error;
|
|
3214
|
+
var un$Test = uncurryThis$j(/./.test);
|
|
3215
3215
|
|
|
3216
3216
|
// `RegExp.prototype.test` method
|
|
3217
3217
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
3218
|
-
$$
|
|
3218
|
+
$$i({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
3219
3219
|
test: function (str) {
|
|
3220
3220
|
var exec = this.exec;
|
|
3221
|
-
if (!isCallable$
|
|
3221
|
+
if (!isCallable$7(exec)) return un$Test(this, str);
|
|
3222
3222
|
var result = call$8(exec, this, str);
|
|
3223
|
-
if (result !== null && !isObject$
|
|
3223
|
+
if (result !== null && !isObject$8(result)) {
|
|
3224
3224
|
throw new Error$1('RegExp exec method returned something other than an Object or null');
|
|
3225
3225
|
}
|
|
3226
3226
|
return !!result;
|
|
@@ -3231,12 +3231,12 @@ $$g({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
|
3231
3231
|
var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
3232
3232
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
3233
3233
|
|
|
3234
|
-
var uncurryThis$
|
|
3234
|
+
var uncurryThis$i = functionUncurryThis;
|
|
3235
3235
|
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
3236
3236
|
var toString$5 = toString$9;
|
|
3237
3237
|
var whitespaces$2 = whitespaces$3;
|
|
3238
3238
|
|
|
3239
|
-
var replace$5 = uncurryThis$
|
|
3239
|
+
var replace$5 = uncurryThis$i(''.replace);
|
|
3240
3240
|
var whitespace = '[' + whitespaces$2 + ']';
|
|
3241
3241
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
3242
3242
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
@@ -3263,21 +3263,21 @@ var stringTrim = {
|
|
|
3263
3263
|
trim: createMethod$3(3)
|
|
3264
3264
|
};
|
|
3265
3265
|
|
|
3266
|
-
var global$
|
|
3267
|
-
var fails$
|
|
3268
|
-
var uncurryThis$
|
|
3266
|
+
var global$o = global$V;
|
|
3267
|
+
var fails$c = fails$x;
|
|
3268
|
+
var uncurryThis$h = functionUncurryThis;
|
|
3269
3269
|
var toString$4 = toString$9;
|
|
3270
3270
|
var trim$2 = stringTrim.trim;
|
|
3271
3271
|
var whitespaces$1 = whitespaces$3;
|
|
3272
3272
|
|
|
3273
|
-
var $parseInt$1 = global$
|
|
3274
|
-
var Symbol$1 = global$
|
|
3273
|
+
var $parseInt$1 = global$o.parseInt;
|
|
3274
|
+
var Symbol$1 = global$o.Symbol;
|
|
3275
3275
|
var ITERATOR$8 = Symbol$1 && Symbol$1.iterator;
|
|
3276
3276
|
var hex = /^[+-]?0x/i;
|
|
3277
|
-
var exec$3 = uncurryThis$
|
|
3277
|
+
var exec$3 = uncurryThis$h(hex.exec);
|
|
3278
3278
|
var FORCED$3 = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22
|
|
3279
3279
|
// MS Edge 18- broken with boxed symbols
|
|
3280
|
-
|| (ITERATOR$8 && !fails$
|
|
3280
|
+
|| (ITERATOR$8 && !fails$c(function () { $parseInt$1(Object(ITERATOR$8)); }));
|
|
3281
3281
|
|
|
3282
3282
|
// `parseInt` method
|
|
3283
3283
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
@@ -3286,32 +3286,32 @@ var numberParseInt = FORCED$3 ? function parseInt(string, radix) {
|
|
|
3286
3286
|
return $parseInt$1(S, (radix >>> 0) || (exec$3(hex, S) ? 16 : 10));
|
|
3287
3287
|
} : $parseInt$1;
|
|
3288
3288
|
|
|
3289
|
-
var $$
|
|
3289
|
+
var $$h = _export;
|
|
3290
3290
|
var $parseInt = numberParseInt;
|
|
3291
3291
|
|
|
3292
3292
|
// `parseInt` method
|
|
3293
3293
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
3294
|
-
$$
|
|
3294
|
+
$$h({ global: true, forced: parseInt != $parseInt }, {
|
|
3295
3295
|
parseInt: $parseInt
|
|
3296
3296
|
});
|
|
3297
3297
|
|
|
3298
|
-
var uncurryThis$
|
|
3298
|
+
var uncurryThis$g = functionUncurryThis;
|
|
3299
3299
|
|
|
3300
3300
|
// `thisNumberValue` abstract operation
|
|
3301
3301
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
3302
|
-
var thisNumberValue$1 = uncurryThis$
|
|
3302
|
+
var thisNumberValue$1 = uncurryThis$g(1.0.valueOf);
|
|
3303
3303
|
|
|
3304
3304
|
var DESCRIPTORS$6 = descriptors$1;
|
|
3305
|
-
var global$
|
|
3306
|
-
var uncurryThis$
|
|
3307
|
-
var isForced$
|
|
3308
|
-
var redefine$
|
|
3309
|
-
var hasOwn$
|
|
3310
|
-
var inheritIfRequired = inheritIfRequired$
|
|
3305
|
+
var global$n = global$V;
|
|
3306
|
+
var uncurryThis$f = functionUncurryThis;
|
|
3307
|
+
var isForced$2 = isForced_1;
|
|
3308
|
+
var redefine$8 = redefine$b.exports;
|
|
3309
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
3310
|
+
var inheritIfRequired$1 = inheritIfRequired$3;
|
|
3311
3311
|
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
3312
3312
|
var isSymbol = isSymbol$3;
|
|
3313
3313
|
var toPrimitive = toPrimitive$2;
|
|
3314
|
-
var fails$
|
|
3314
|
+
var fails$b = fails$x;
|
|
3315
3315
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
3316
3316
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
3317
3317
|
var defineProperty$4 = objectDefineProperty.f;
|
|
@@ -3319,11 +3319,11 @@ var thisNumberValue = thisNumberValue$1;
|
|
|
3319
3319
|
var trim$1 = stringTrim.trim;
|
|
3320
3320
|
|
|
3321
3321
|
var NUMBER = 'Number';
|
|
3322
|
-
var NativeNumber = global$
|
|
3322
|
+
var NativeNumber = global$n[NUMBER];
|
|
3323
3323
|
var NumberPrototype = NativeNumber.prototype;
|
|
3324
|
-
var TypeError$a = global$
|
|
3325
|
-
var arraySlice$4 = uncurryThis$
|
|
3326
|
-
var charCodeAt$3 = uncurryThis$
|
|
3324
|
+
var TypeError$a = global$n.TypeError;
|
|
3325
|
+
var arraySlice$4 = uncurryThis$f(''.slice);
|
|
3326
|
+
var charCodeAt$3 = uncurryThis$f(''.charCodeAt);
|
|
3327
3327
|
|
|
3328
3328
|
// `ToNumeric` abstract operation
|
|
3329
3329
|
// https://tc39.es/ecma262/#sec-tonumeric
|
|
@@ -3364,13 +3364,13 @@ var toNumber = function (argument) {
|
|
|
3364
3364
|
|
|
3365
3365
|
// `Number` constructor
|
|
3366
3366
|
// https://tc39.es/ecma262/#sec-number-constructor
|
|
3367
|
-
if (isForced$
|
|
3367
|
+
if (isForced$2(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
|
|
3368
3368
|
var NumberWrapper = function Number(value) {
|
|
3369
3369
|
var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
|
|
3370
3370
|
var dummy = this;
|
|
3371
3371
|
// check on 1..constructor(foo) case
|
|
3372
|
-
return isPrototypeOf$3(NumberPrototype, dummy) && fails$
|
|
3373
|
-
? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
|
|
3372
|
+
return isPrototypeOf$3(NumberPrototype, dummy) && fails$b(function () { thisNumberValue(dummy); })
|
|
3373
|
+
? inheritIfRequired$1(Object(n), dummy, NumberWrapper) : n;
|
|
3374
3374
|
};
|
|
3375
3375
|
for (var keys = DESCRIPTORS$6 ? getOwnPropertyNames(NativeNumber) : (
|
|
3376
3376
|
// ES3:
|
|
@@ -3380,13 +3380,13 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
|
|
|
3380
3380
|
// ESNext
|
|
3381
3381
|
'fromString,range'
|
|
3382
3382
|
).split(','), j = 0, key; keys.length > j; j++) {
|
|
3383
|
-
if (hasOwn$
|
|
3383
|
+
if (hasOwn$6(NativeNumber, key = keys[j]) && !hasOwn$6(NumberWrapper, key)) {
|
|
3384
3384
|
defineProperty$4(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
|
|
3385
3385
|
}
|
|
3386
3386
|
}
|
|
3387
3387
|
NumberWrapper.prototype = NumberPrototype;
|
|
3388
3388
|
NumberPrototype.constructor = NumberWrapper;
|
|
3389
|
-
redefine$
|
|
3389
|
+
redefine$8(global$n, NUMBER, NumberWrapper);
|
|
3390
3390
|
}
|
|
3391
3391
|
|
|
3392
3392
|
function isPublicKey(value) {
|
|
@@ -3542,7 +3542,7 @@ function ValidateTransactionParameters(data) {
|
|
|
3542
3542
|
return errors;
|
|
3543
3543
|
}
|
|
3544
3544
|
|
|
3545
|
-
var $$
|
|
3545
|
+
var $$g = _export;
|
|
3546
3546
|
var $map = arrayIteration.map;
|
|
3547
3547
|
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
|
|
3548
3548
|
|
|
@@ -3551,7 +3551,7 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('map');
|
|
|
3551
3551
|
// `Array.prototype.map` method
|
|
3552
3552
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
3553
3553
|
// with adding support of @@species
|
|
3554
|
-
$$
|
|
3554
|
+
$$g({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
|
3555
3555
|
map: function map(callbackfn /* , thisArg */) {
|
|
3556
3556
|
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3557
3557
|
}
|
|
@@ -3618,13 +3618,13 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
|
|
|
3618
3618
|
|
|
3619
3619
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
3620
3620
|
|
|
3621
|
-
var $$
|
|
3622
|
-
var uncurryThis$
|
|
3621
|
+
var $$f = _export;
|
|
3622
|
+
var uncurryThis$e = functionUncurryThis;
|
|
3623
3623
|
var aCallable$4 = aCallable$7;
|
|
3624
3624
|
var toObject$4 = toObject$9;
|
|
3625
3625
|
var lengthOfArrayLike$3 = lengthOfArrayLike$8;
|
|
3626
3626
|
var toString$3 = toString$9;
|
|
3627
|
-
var fails$
|
|
3627
|
+
var fails$a = fails$x;
|
|
3628
3628
|
var internalSort = arraySort$1;
|
|
3629
3629
|
var arrayMethodIsStrict$2 = arrayMethodIsStrict$4;
|
|
3630
3630
|
var FF = engineFfVersion;
|
|
@@ -3633,21 +3633,21 @@ var V8 = engineV8Version;
|
|
|
3633
3633
|
var WEBKIT = engineWebkitVersion;
|
|
3634
3634
|
|
|
3635
3635
|
var test = [];
|
|
3636
|
-
var un$Sort = uncurryThis$
|
|
3637
|
-
var push$5 = uncurryThis$
|
|
3636
|
+
var un$Sort = uncurryThis$e(test.sort);
|
|
3637
|
+
var push$5 = uncurryThis$e(test.push);
|
|
3638
3638
|
|
|
3639
3639
|
// IE8-
|
|
3640
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
3640
|
+
var FAILS_ON_UNDEFINED = fails$a(function () {
|
|
3641
3641
|
test.sort(undefined);
|
|
3642
3642
|
});
|
|
3643
3643
|
// V8 bug
|
|
3644
|
-
var FAILS_ON_NULL = fails$
|
|
3644
|
+
var FAILS_ON_NULL = fails$a(function () {
|
|
3645
3645
|
test.sort(null);
|
|
3646
3646
|
});
|
|
3647
3647
|
// Old WebKit
|
|
3648
3648
|
var STRICT_METHOD$2 = arrayMethodIsStrict$2('sort');
|
|
3649
3649
|
|
|
3650
|
-
var STABLE_SORT = !fails$
|
|
3650
|
+
var STABLE_SORT = !fails$a(function () {
|
|
3651
3651
|
// feature detection can be too slow, so check engines versions
|
|
3652
3652
|
if (V8) return V8 < 70;
|
|
3653
3653
|
if (FF && FF > 3) return;
|
|
@@ -3695,7 +3695,7 @@ var getSortCompare = function (comparefn) {
|
|
|
3695
3695
|
|
|
3696
3696
|
// `Array.prototype.sort` method
|
|
3697
3697
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
3698
|
-
$$
|
|
3698
|
+
$$f({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
3699
3699
|
sort: function sort(comparefn) {
|
|
3700
3700
|
if (comparefn !== undefined) aCallable$4(comparefn);
|
|
3701
3701
|
|
|
@@ -3723,7 +3723,7 @@ $$d({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
|
3723
3723
|
}
|
|
3724
3724
|
});
|
|
3725
3725
|
|
|
3726
|
-
var $$
|
|
3726
|
+
var $$e = _export;
|
|
3727
3727
|
var $filter = arrayIteration.filter;
|
|
3728
3728
|
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;
|
|
3729
3729
|
|
|
@@ -3732,26 +3732,26 @@ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
|
3732
3732
|
// `Array.prototype.filter` method
|
|
3733
3733
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
3734
3734
|
// with adding support of @@species
|
|
3735
|
-
$$
|
|
3735
|
+
$$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
3736
3736
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
3737
3737
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3738
3738
|
}
|
|
3739
3739
|
});
|
|
3740
3740
|
|
|
3741
|
-
var $$
|
|
3742
|
-
var uncurryThis$
|
|
3741
|
+
var $$d = _export;
|
|
3742
|
+
var uncurryThis$d = functionUncurryThis;
|
|
3743
3743
|
var IndexedObject$2 = indexedObject;
|
|
3744
3744
|
var toIndexedObject$2 = toIndexedObject$8;
|
|
3745
3745
|
var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
|
|
3746
3746
|
|
|
3747
|
-
var un$Join = uncurryThis$
|
|
3747
|
+
var un$Join = uncurryThis$d([].join);
|
|
3748
3748
|
|
|
3749
3749
|
var ES3_STRINGS = IndexedObject$2 != Object;
|
|
3750
3750
|
var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
|
|
3751
3751
|
|
|
3752
3752
|
// `Array.prototype.join` method
|
|
3753
3753
|
// https://tc39.es/ecma262/#sec-array.prototype.join
|
|
3754
|
-
$$
|
|
3754
|
+
$$d({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
|
|
3755
3755
|
join: function join(separator) {
|
|
3756
3756
|
return un$Join(toIndexedObject$2(this), separator === undefined ? ',' : separator);
|
|
3757
3757
|
}
|
|
@@ -5174,26 +5174,26 @@ var fingerprint2 = {exports: {}};
|
|
|
5174
5174
|
|
|
5175
5175
|
var Fingerprint2 = fingerprint2.exports;
|
|
5176
5176
|
|
|
5177
|
-
var global$
|
|
5177
|
+
var global$m = global$V;
|
|
5178
5178
|
|
|
5179
|
-
var nativePromiseConstructor = global$
|
|
5179
|
+
var nativePromiseConstructor = global$m.Promise;
|
|
5180
5180
|
|
|
5181
|
-
var redefine$
|
|
5181
|
+
var redefine$7 = redefine$b.exports;
|
|
5182
5182
|
|
|
5183
|
-
var redefineAll$
|
|
5184
|
-
for (var key in src) redefine$
|
|
5183
|
+
var redefineAll$4 = function (target, src, options) {
|
|
5184
|
+
for (var key in src) redefine$7(target, key, src[key], options);
|
|
5185
5185
|
return target;
|
|
5186
5186
|
};
|
|
5187
5187
|
|
|
5188
5188
|
var defineProperty$3 = objectDefineProperty.f;
|
|
5189
|
-
var hasOwn$
|
|
5189
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
5190
5190
|
var wellKnownSymbol$c = wellKnownSymbol$j;
|
|
5191
5191
|
|
|
5192
5192
|
var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
|
|
5193
5193
|
|
|
5194
|
-
var setToStringTag$
|
|
5194
|
+
var setToStringTag$6 = function (target, TAG, STATIC) {
|
|
5195
5195
|
if (target && !STATIC) target = target.prototype;
|
|
5196
|
-
if (target && !hasOwn$
|
|
5196
|
+
if (target && !hasOwn$5(target, TO_STRING_TAG$1)) {
|
|
5197
5197
|
defineProperty$3(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
|
|
5198
5198
|
}
|
|
5199
5199
|
};
|
|
@@ -5217,12 +5217,12 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
5217
5217
|
}
|
|
5218
5218
|
};
|
|
5219
5219
|
|
|
5220
|
-
var global$
|
|
5220
|
+
var global$l = global$V;
|
|
5221
5221
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
5222
5222
|
|
|
5223
|
-
var TypeError$9 = global$
|
|
5223
|
+
var TypeError$9 = global$l.TypeError;
|
|
5224
5224
|
|
|
5225
|
-
var anInstance$
|
|
5225
|
+
var anInstance$5 = function (it, Prototype) {
|
|
5226
5226
|
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
5227
5227
|
throw TypeError$9('Incorrect invocation');
|
|
5228
5228
|
};
|
|
@@ -5253,28 +5253,28 @@ var getIteratorMethod$4 = function (it) {
|
|
|
5253
5253
|
|| Iterators$3[classof$2(it)];
|
|
5254
5254
|
};
|
|
5255
5255
|
|
|
5256
|
-
var global$
|
|
5256
|
+
var global$k = global$V;
|
|
5257
5257
|
var call$7 = functionCall;
|
|
5258
5258
|
var aCallable$3 = aCallable$7;
|
|
5259
|
-
var anObject$
|
|
5259
|
+
var anObject$8 = anObject$f;
|
|
5260
5260
|
var tryToString$2 = tryToString$4;
|
|
5261
5261
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
5262
5262
|
|
|
5263
|
-
var TypeError$8 = global$
|
|
5263
|
+
var TypeError$8 = global$k.TypeError;
|
|
5264
5264
|
|
|
5265
5265
|
var getIterator$3 = function (argument, usingIterator) {
|
|
5266
5266
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
5267
|
-
if (aCallable$3(iteratorMethod)) return anObject$
|
|
5267
|
+
if (aCallable$3(iteratorMethod)) return anObject$8(call$7(iteratorMethod, argument));
|
|
5268
5268
|
throw TypeError$8(tryToString$2(argument) + ' is not iterable');
|
|
5269
5269
|
};
|
|
5270
5270
|
|
|
5271
5271
|
var call$6 = functionCall;
|
|
5272
|
-
var anObject$
|
|
5272
|
+
var anObject$7 = anObject$f;
|
|
5273
5273
|
var getMethod = getMethod$3;
|
|
5274
5274
|
|
|
5275
5275
|
var iteratorClose$2 = function (iterator, kind, value) {
|
|
5276
5276
|
var innerResult, innerError;
|
|
5277
|
-
anObject$
|
|
5277
|
+
anObject$7(iterator);
|
|
5278
5278
|
try {
|
|
5279
5279
|
innerResult = getMethod(iterator, 'return');
|
|
5280
5280
|
if (!innerResult) {
|
|
@@ -5288,14 +5288,14 @@ var iteratorClose$2 = function (iterator, kind, value) {
|
|
|
5288
5288
|
}
|
|
5289
5289
|
if (kind === 'throw') throw value;
|
|
5290
5290
|
if (innerError) throw innerResult;
|
|
5291
|
-
anObject$
|
|
5291
|
+
anObject$7(innerResult);
|
|
5292
5292
|
return value;
|
|
5293
5293
|
};
|
|
5294
5294
|
|
|
5295
|
-
var global$
|
|
5295
|
+
var global$j = global$V;
|
|
5296
5296
|
var bind$9 = functionBindContext;
|
|
5297
5297
|
var call$5 = functionCall;
|
|
5298
|
-
var anObject$
|
|
5298
|
+
var anObject$6 = anObject$f;
|
|
5299
5299
|
var tryToString$1 = tryToString$4;
|
|
5300
5300
|
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
5301
5301
|
var lengthOfArrayLike$2 = lengthOfArrayLike$8;
|
|
@@ -5304,7 +5304,7 @@ var getIterator$2 = getIterator$3;
|
|
|
5304
5304
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
5305
5305
|
var iteratorClose$1 = iteratorClose$2;
|
|
5306
5306
|
|
|
5307
|
-
var TypeError$7 = global$
|
|
5307
|
+
var TypeError$7 = global$j.TypeError;
|
|
5308
5308
|
|
|
5309
5309
|
var Result = function (stopped, result) {
|
|
5310
5310
|
this.stopped = stopped;
|
|
@@ -5313,7 +5313,7 @@ var Result = function (stopped, result) {
|
|
|
5313
5313
|
|
|
5314
5314
|
var ResultPrototype = Result.prototype;
|
|
5315
5315
|
|
|
5316
|
-
var iterate$
|
|
5316
|
+
var iterate$3 = function (iterable, unboundFunction, options) {
|
|
5317
5317
|
var that = options && options.that;
|
|
5318
5318
|
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
5319
5319
|
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
@@ -5328,7 +5328,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
|
|
|
5328
5328
|
|
|
5329
5329
|
var callFn = function (value) {
|
|
5330
5330
|
if (AS_ENTRIES) {
|
|
5331
|
-
anObject$
|
|
5331
|
+
anObject$6(value);
|
|
5332
5332
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
5333
5333
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
5334
5334
|
};
|
|
@@ -5381,7 +5381,7 @@ try {
|
|
|
5381
5381
|
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
5382
5382
|
} catch (error) { /* empty */ }
|
|
5383
5383
|
|
|
5384
|
-
var checkCorrectnessOfIteration$
|
|
5384
|
+
var checkCorrectnessOfIteration$2 = function (exec, SKIP_CLOSING) {
|
|
5385
5385
|
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
|
5386
5386
|
var ITERATION_SUPPORT = false;
|
|
5387
5387
|
try {
|
|
@@ -5398,11 +5398,11 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
5398
5398
|
return ITERATION_SUPPORT;
|
|
5399
5399
|
};
|
|
5400
5400
|
|
|
5401
|
-
var global$
|
|
5401
|
+
var global$i = global$V;
|
|
5402
5402
|
var isConstructor$1 = isConstructor$3;
|
|
5403
5403
|
var tryToString = tryToString$4;
|
|
5404
5404
|
|
|
5405
|
-
var TypeError$6 = global$
|
|
5405
|
+
var TypeError$6 = global$i.TypeError;
|
|
5406
5406
|
|
|
5407
5407
|
// `Assert: IsConstructor(argument) is true`
|
|
5408
5408
|
var aConstructor$1 = function (argument) {
|
|
@@ -5410,7 +5410,7 @@ var aConstructor$1 = function (argument) {
|
|
|
5410
5410
|
throw TypeError$6(tryToString(argument) + ' is not a constructor');
|
|
5411
5411
|
};
|
|
5412
5412
|
|
|
5413
|
-
var anObject$
|
|
5413
|
+
var anObject$5 = anObject$f;
|
|
5414
5414
|
var aConstructor = aConstructor$1;
|
|
5415
5415
|
var wellKnownSymbol$7 = wellKnownSymbol$j;
|
|
5416
5416
|
|
|
@@ -5419,18 +5419,18 @@ var SPECIES$1 = wellKnownSymbol$7('species');
|
|
|
5419
5419
|
// `SpeciesConstructor` abstract operation
|
|
5420
5420
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
5421
5421
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
5422
|
-
var C = anObject$
|
|
5422
|
+
var C = anObject$5(O).constructor;
|
|
5423
5423
|
var S;
|
|
5424
|
-
return C === undefined || (S = anObject$
|
|
5424
|
+
return C === undefined || (S = anObject$5(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
|
|
5425
5425
|
};
|
|
5426
5426
|
|
|
5427
|
-
var uncurryThis$
|
|
5427
|
+
var uncurryThis$c = functionUncurryThis;
|
|
5428
5428
|
|
|
5429
|
-
var arraySlice$2 = uncurryThis$
|
|
5429
|
+
var arraySlice$2 = uncurryThis$c([].slice);
|
|
5430
5430
|
|
|
5431
|
-
var global$
|
|
5431
|
+
var global$h = global$V;
|
|
5432
5432
|
|
|
5433
|
-
var TypeError$5 = global$
|
|
5433
|
+
var TypeError$5 = global$h.TypeError;
|
|
5434
5434
|
|
|
5435
5435
|
var validateArgumentsLength$3 = function (passed, required) {
|
|
5436
5436
|
if (passed < required) throw TypeError$5('Not enough arguments');
|
|
@@ -5442,16 +5442,16 @@ var userAgent$2 = engineUserAgent;
|
|
|
5442
5442
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
5443
5443
|
|
|
5444
5444
|
var classof$1 = classofRaw$1;
|
|
5445
|
-
var global$
|
|
5445
|
+
var global$g = global$V;
|
|
5446
5446
|
|
|
5447
|
-
var engineIsNode = classof$1(global$
|
|
5447
|
+
var engineIsNode = classof$1(global$g.process) == 'process';
|
|
5448
5448
|
|
|
5449
|
-
var global$
|
|
5449
|
+
var global$f = global$V;
|
|
5450
5450
|
var apply$1 = functionApply;
|
|
5451
5451
|
var bind$8 = functionBindContext;
|
|
5452
|
-
var isCallable$
|
|
5453
|
-
var hasOwn$
|
|
5454
|
-
var fails$
|
|
5452
|
+
var isCallable$6 = isCallable$l;
|
|
5453
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
5454
|
+
var fails$9 = fails$x;
|
|
5455
5455
|
var html = html$2;
|
|
5456
5456
|
var arraySlice$1 = arraySlice$2;
|
|
5457
5457
|
var createElement = documentCreateElement$2;
|
|
@@ -5459,13 +5459,13 @@ var validateArgumentsLength$2 = validateArgumentsLength$3;
|
|
|
5459
5459
|
var IS_IOS$1 = engineIsIos;
|
|
5460
5460
|
var IS_NODE$3 = engineIsNode;
|
|
5461
5461
|
|
|
5462
|
-
var set = global$
|
|
5463
|
-
var clear = global$
|
|
5464
|
-
var process$3 = global$
|
|
5465
|
-
var Dispatch = global$
|
|
5466
|
-
var Function$1 = global$
|
|
5467
|
-
var MessageChannel = global$
|
|
5468
|
-
var String$1 = global$
|
|
5462
|
+
var set = global$f.setImmediate;
|
|
5463
|
+
var clear = global$f.clearImmediate;
|
|
5464
|
+
var process$3 = global$f.process;
|
|
5465
|
+
var Dispatch = global$f.Dispatch;
|
|
5466
|
+
var Function$1 = global$f.Function;
|
|
5467
|
+
var MessageChannel = global$f.MessageChannel;
|
|
5468
|
+
var String$1 = global$f.String;
|
|
5469
5469
|
var counter = 0;
|
|
5470
5470
|
var queue$1 = {};
|
|
5471
5471
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -5473,11 +5473,11 @@ var location, defer, channel, port;
|
|
|
5473
5473
|
|
|
5474
5474
|
try {
|
|
5475
5475
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
5476
|
-
location = global$
|
|
5476
|
+
location = global$f.location;
|
|
5477
5477
|
} catch (error) { /* empty */ }
|
|
5478
5478
|
|
|
5479
5479
|
var run = function (id) {
|
|
5480
|
-
if (hasOwn$
|
|
5480
|
+
if (hasOwn$4(queue$1, id)) {
|
|
5481
5481
|
var fn = queue$1[id];
|
|
5482
5482
|
delete queue$1[id];
|
|
5483
5483
|
fn();
|
|
@@ -5496,14 +5496,14 @@ var listener = function (event) {
|
|
|
5496
5496
|
|
|
5497
5497
|
var post = function (id) {
|
|
5498
5498
|
// old engines have not location.origin
|
|
5499
|
-
global$
|
|
5499
|
+
global$f.postMessage(String$1(id), location.protocol + '//' + location.host);
|
|
5500
5500
|
};
|
|
5501
5501
|
|
|
5502
5502
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
5503
5503
|
if (!set || !clear) {
|
|
5504
5504
|
set = function setImmediate(handler) {
|
|
5505
5505
|
validateArgumentsLength$2(arguments.length, 1);
|
|
5506
|
-
var fn = isCallable$
|
|
5506
|
+
var fn = isCallable$6(handler) ? handler : Function$1(handler);
|
|
5507
5507
|
var args = arraySlice$1(arguments, 1);
|
|
5508
5508
|
queue$1[++counter] = function () {
|
|
5509
5509
|
apply$1(fn, undefined, args);
|
|
@@ -5534,14 +5534,14 @@ if (!set || !clear) {
|
|
|
5534
5534
|
// Browsers with postMessage, skip WebWorkers
|
|
5535
5535
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
5536
5536
|
} else if (
|
|
5537
|
-
global$
|
|
5538
|
-
isCallable$
|
|
5539
|
-
!global$
|
|
5537
|
+
global$f.addEventListener &&
|
|
5538
|
+
isCallable$6(global$f.postMessage) &&
|
|
5539
|
+
!global$f.importScripts &&
|
|
5540
5540
|
location && location.protocol !== 'file:' &&
|
|
5541
|
-
!fails$
|
|
5541
|
+
!fails$9(post)
|
|
5542
5542
|
) {
|
|
5543
5543
|
defer = post;
|
|
5544
|
-
global$
|
|
5544
|
+
global$f.addEventListener('message', listener, false);
|
|
5545
5545
|
// IE8-
|
|
5546
5546
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
5547
5547
|
defer = function (id) {
|
|
@@ -5564,15 +5564,15 @@ var task$1 = {
|
|
|
5564
5564
|
};
|
|
5565
5565
|
|
|
5566
5566
|
var userAgent$1 = engineUserAgent;
|
|
5567
|
-
var global$
|
|
5567
|
+
var global$e = global$V;
|
|
5568
5568
|
|
|
5569
|
-
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$
|
|
5569
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$e.Pebble !== undefined;
|
|
5570
5570
|
|
|
5571
5571
|
var userAgent = engineUserAgent;
|
|
5572
5572
|
|
|
5573
5573
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
5574
5574
|
|
|
5575
|
-
var global$
|
|
5575
|
+
var global$d = global$V;
|
|
5576
5576
|
var bind$7 = functionBindContext;
|
|
5577
5577
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
5578
5578
|
var macrotask = task$1.set;
|
|
@@ -5581,12 +5581,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
5581
5581
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
5582
5582
|
var IS_NODE$2 = engineIsNode;
|
|
5583
5583
|
|
|
5584
|
-
var MutationObserver = global$
|
|
5585
|
-
var document$2 = global$
|
|
5586
|
-
var process$2 = global$
|
|
5587
|
-
var Promise$1 = global$
|
|
5584
|
+
var MutationObserver = global$d.MutationObserver || global$d.WebKitMutationObserver;
|
|
5585
|
+
var document$2 = global$d.document;
|
|
5586
|
+
var process$2 = global$d.process;
|
|
5587
|
+
var Promise$1 = global$d.Promise;
|
|
5588
5588
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5589
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$
|
|
5589
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$d, 'queueMicrotask');
|
|
5590
5590
|
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5591
5591
|
|
|
5592
5592
|
var flush, head, last, notify$1, toggle, node, promise, then;
|
|
@@ -5642,7 +5642,7 @@ if (!queueMicrotask) {
|
|
|
5642
5642
|
// - setTimeout
|
|
5643
5643
|
} else {
|
|
5644
5644
|
// strange IE + webpack dev server bug - use .bind(global)
|
|
5645
|
-
macrotask = bind$7(macrotask, global$
|
|
5645
|
+
macrotask = bind$7(macrotask, global$d);
|
|
5646
5646
|
notify$1 = function () {
|
|
5647
5647
|
macrotask(flush);
|
|
5648
5648
|
};
|
|
@@ -5679,23 +5679,23 @@ newPromiseCapability$2.f = function (C) {
|
|
|
5679
5679
|
return new PromiseCapability(C);
|
|
5680
5680
|
};
|
|
5681
5681
|
|
|
5682
|
-
var anObject$
|
|
5683
|
-
var isObject$
|
|
5682
|
+
var anObject$4 = anObject$f;
|
|
5683
|
+
var isObject$7 = isObject$l;
|
|
5684
5684
|
var newPromiseCapability$1 = newPromiseCapability$2;
|
|
5685
5685
|
|
|
5686
5686
|
var promiseResolve$1 = function (C, x) {
|
|
5687
|
-
anObject$
|
|
5688
|
-
if (isObject$
|
|
5687
|
+
anObject$4(C);
|
|
5688
|
+
if (isObject$7(x) && x.constructor === C) return x;
|
|
5689
5689
|
var promiseCapability = newPromiseCapability$1.f(C);
|
|
5690
5690
|
var resolve = promiseCapability.resolve;
|
|
5691
5691
|
resolve(x);
|
|
5692
5692
|
return promiseCapability.promise;
|
|
5693
5693
|
};
|
|
5694
5694
|
|
|
5695
|
-
var global$
|
|
5695
|
+
var global$c = global$V;
|
|
5696
5696
|
|
|
5697
5697
|
var hostReportErrors$1 = function (a, b) {
|
|
5698
|
-
var console = global$
|
|
5698
|
+
var console = global$c.console;
|
|
5699
5699
|
if (console && console.error) {
|
|
5700
5700
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
5701
5701
|
}
|
|
@@ -5735,23 +5735,23 @@ var queue = Queue$1;
|
|
|
5735
5735
|
|
|
5736
5736
|
var engineIsBrowser = typeof window == 'object';
|
|
5737
5737
|
|
|
5738
|
-
var $$
|
|
5739
|
-
var global$
|
|
5738
|
+
var $$c = _export;
|
|
5739
|
+
var global$b = global$V;
|
|
5740
5740
|
var getBuiltIn$2 = getBuiltIn$a;
|
|
5741
5741
|
var call$4 = functionCall;
|
|
5742
5742
|
var NativePromise = nativePromiseConstructor;
|
|
5743
|
-
var redefine$
|
|
5744
|
-
var redefineAll$
|
|
5743
|
+
var redefine$6 = redefine$b.exports;
|
|
5744
|
+
var redefineAll$3 = redefineAll$4;
|
|
5745
5745
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
5746
|
-
var setToStringTag$
|
|
5746
|
+
var setToStringTag$5 = setToStringTag$6;
|
|
5747
5747
|
var setSpecies = setSpecies$1;
|
|
5748
5748
|
var aCallable$1 = aCallable$7;
|
|
5749
|
-
var isCallable$
|
|
5750
|
-
var isObject$
|
|
5751
|
-
var anInstance$
|
|
5749
|
+
var isCallable$5 = isCallable$l;
|
|
5750
|
+
var isObject$6 = isObject$l;
|
|
5751
|
+
var anInstance$4 = anInstance$5;
|
|
5752
5752
|
var inspectSource = inspectSource$4;
|
|
5753
|
-
var iterate = iterate$
|
|
5754
|
-
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$
|
|
5753
|
+
var iterate$2 = iterate$3;
|
|
5754
|
+
var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$2;
|
|
5755
5755
|
var speciesConstructor = speciesConstructor$1;
|
|
5756
5756
|
var task = task$1.set;
|
|
5757
5757
|
var microtask = microtask$1;
|
|
@@ -5760,8 +5760,8 @@ var hostReportErrors = hostReportErrors$1;
|
|
|
5760
5760
|
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
5761
5761
|
var perform = perform$1;
|
|
5762
5762
|
var Queue = queue;
|
|
5763
|
-
var InternalStateModule$
|
|
5764
|
-
var isForced = isForced_1;
|
|
5763
|
+
var InternalStateModule$5 = internalState;
|
|
5764
|
+
var isForced$1 = isForced_1;
|
|
5765
5765
|
var wellKnownSymbol$6 = wellKnownSymbol$j;
|
|
5766
5766
|
var IS_BROWSER = engineIsBrowser;
|
|
5767
5767
|
var IS_NODE$1 = engineIsNode;
|
|
@@ -5770,20 +5770,20 @@ var V8_VERSION = engineV8Version;
|
|
|
5770
5770
|
var SPECIES = wellKnownSymbol$6('species');
|
|
5771
5771
|
var PROMISE = 'Promise';
|
|
5772
5772
|
|
|
5773
|
-
var getInternalState$2 = InternalStateModule$
|
|
5774
|
-
var setInternalState$
|
|
5775
|
-
var getInternalPromiseState = InternalStateModule$
|
|
5773
|
+
var getInternalState$2 = InternalStateModule$5.getterFor(PROMISE);
|
|
5774
|
+
var setInternalState$5 = InternalStateModule$5.set;
|
|
5775
|
+
var getInternalPromiseState = InternalStateModule$5.getterFor(PROMISE);
|
|
5776
5776
|
var NativePromisePrototype = NativePromise && NativePromise.prototype;
|
|
5777
5777
|
var PromiseConstructor = NativePromise;
|
|
5778
5778
|
var PromisePrototype = NativePromisePrototype;
|
|
5779
|
-
var TypeError$4 = global$
|
|
5780
|
-
var document$1 = global$
|
|
5781
|
-
var process$1 = global$
|
|
5779
|
+
var TypeError$4 = global$b.TypeError;
|
|
5780
|
+
var document$1 = global$b.document;
|
|
5781
|
+
var process$1 = global$b.process;
|
|
5782
5782
|
var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
5783
5783
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
5784
5784
|
|
|
5785
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
5786
|
-
var NATIVE_REJECTION_EVENT = isCallable$
|
|
5785
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$b.dispatchEvent);
|
|
5786
|
+
var NATIVE_REJECTION_EVENT = isCallable$5(global$b.PromiseRejectionEvent);
|
|
5787
5787
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
5788
5788
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
5789
5789
|
var PENDING = 0;
|
|
@@ -5795,7 +5795,7 @@ var SUBCLASSING = false;
|
|
|
5795
5795
|
|
|
5796
5796
|
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
5797
5797
|
|
|
5798
|
-
var FORCED$1 = isForced(PROMISE, function () {
|
|
5798
|
+
var FORCED$1 = isForced$1(PROMISE, function () {
|
|
5799
5799
|
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
|
|
5800
5800
|
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
|
|
5801
5801
|
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
@@ -5819,14 +5819,14 @@ var FORCED$1 = isForced(PROMISE, function () {
|
|
|
5819
5819
|
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
|
|
5820
5820
|
});
|
|
5821
5821
|
|
|
5822
|
-
var INCORRECT_ITERATION = FORCED$1 || !checkCorrectnessOfIteration(function (iterable) {
|
|
5822
|
+
var INCORRECT_ITERATION = FORCED$1 || !checkCorrectnessOfIteration$1(function (iterable) {
|
|
5823
5823
|
PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
|
|
5824
5824
|
});
|
|
5825
5825
|
|
|
5826
5826
|
// helpers
|
|
5827
5827
|
var isThenable = function (it) {
|
|
5828
5828
|
var then;
|
|
5829
|
-
return isObject$
|
|
5829
|
+
return isObject$6(it) && isCallable$5(then = it.then) ? then : false;
|
|
5830
5830
|
};
|
|
5831
5831
|
|
|
5832
5832
|
var callReaction = function (reaction, state) {
|
|
@@ -5885,14 +5885,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
5885
5885
|
event.promise = promise;
|
|
5886
5886
|
event.reason = reason;
|
|
5887
5887
|
event.initEvent(name, false, true);
|
|
5888
|
-
global$
|
|
5888
|
+
global$b.dispatchEvent(event);
|
|
5889
5889
|
} else event = { promise: promise, reason: reason };
|
|
5890
|
-
if (!NATIVE_REJECTION_EVENT && (handler = global$
|
|
5890
|
+
if (!NATIVE_REJECTION_EVENT && (handler = global$b['on' + name])) handler(event);
|
|
5891
5891
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
5892
5892
|
};
|
|
5893
5893
|
|
|
5894
5894
|
var onUnhandled = function (state) {
|
|
5895
|
-
call$4(task, global$
|
|
5895
|
+
call$4(task, global$b, function () {
|
|
5896
5896
|
var promise = state.facade;
|
|
5897
5897
|
var value = state.value;
|
|
5898
5898
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -5915,7 +5915,7 @@ var isUnhandled = function (state) {
|
|
|
5915
5915
|
};
|
|
5916
5916
|
|
|
5917
5917
|
var onHandleUnhandled = function (state) {
|
|
5918
|
-
call$4(task, global$
|
|
5918
|
+
call$4(task, global$b, function () {
|
|
5919
5919
|
var promise = state.facade;
|
|
5920
5920
|
if (IS_NODE$1) {
|
|
5921
5921
|
process$1.emit('rejectionHandled', promise);
|
|
@@ -5971,7 +5971,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
5971
5971
|
if (FORCED$1) {
|
|
5972
5972
|
// 25.4.3.1 Promise(executor)
|
|
5973
5973
|
PromiseConstructor = function Promise(executor) {
|
|
5974
|
-
anInstance$
|
|
5974
|
+
anInstance$4(this, PromisePrototype);
|
|
5975
5975
|
aCallable$1(executor);
|
|
5976
5976
|
call$4(Internal, this);
|
|
5977
5977
|
var state = getInternalState$2(this);
|
|
@@ -5984,7 +5984,7 @@ if (FORCED$1) {
|
|
|
5984
5984
|
PromisePrototype = PromiseConstructor.prototype;
|
|
5985
5985
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
5986
5986
|
Internal = function Promise(executor) {
|
|
5987
|
-
setInternalState$
|
|
5987
|
+
setInternalState$5(this, {
|
|
5988
5988
|
type: PROMISE,
|
|
5989
5989
|
done: false,
|
|
5990
5990
|
notified: false,
|
|
@@ -5995,7 +5995,7 @@ if (FORCED$1) {
|
|
|
5995
5995
|
value: undefined
|
|
5996
5996
|
});
|
|
5997
5997
|
};
|
|
5998
|
-
Internal.prototype = redefineAll$
|
|
5998
|
+
Internal.prototype = redefineAll$3(PromisePrototype, {
|
|
5999
5999
|
// `Promise.prototype.then` method
|
|
6000
6000
|
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
6001
6001
|
// eslint-disable-next-line unicorn/no-thenable -- safe
|
|
@@ -6003,8 +6003,8 @@ if (FORCED$1) {
|
|
|
6003
6003
|
var state = getInternalPromiseState(this);
|
|
6004
6004
|
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
6005
6005
|
state.parent = true;
|
|
6006
|
-
reaction.ok = isCallable$
|
|
6007
|
-
reaction.fail = isCallable$
|
|
6006
|
+
reaction.ok = isCallable$5(onFulfilled) ? onFulfilled : true;
|
|
6007
|
+
reaction.fail = isCallable$5(onRejected) && onRejected;
|
|
6008
6008
|
reaction.domain = IS_NODE$1 ? process$1.domain : undefined;
|
|
6009
6009
|
if (state.state == PENDING) state.reactions.add(reaction);
|
|
6010
6010
|
else microtask(function () {
|
|
@@ -6031,12 +6031,12 @@ if (FORCED$1) {
|
|
|
6031
6031
|
: newGenericPromiseCapability(C);
|
|
6032
6032
|
};
|
|
6033
6033
|
|
|
6034
|
-
if (isCallable$
|
|
6034
|
+
if (isCallable$5(NativePromise) && NativePromisePrototype !== Object.prototype) {
|
|
6035
6035
|
nativeThen = NativePromisePrototype.then;
|
|
6036
6036
|
|
|
6037
6037
|
if (!SUBCLASSING) {
|
|
6038
6038
|
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
6039
|
-
redefine$
|
|
6039
|
+
redefine$6(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
6040
6040
|
var that = this;
|
|
6041
6041
|
return new PromiseConstructor(function (resolve, reject) {
|
|
6042
6042
|
call$4(nativeThen, that, resolve, reject);
|
|
@@ -6045,7 +6045,7 @@ if (FORCED$1) {
|
|
|
6045
6045
|
}, { unsafe: true });
|
|
6046
6046
|
|
|
6047
6047
|
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
6048
|
-
redefine$
|
|
6048
|
+
redefine$6(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
|
|
6049
6049
|
}
|
|
6050
6050
|
|
|
6051
6051
|
// make `.constructor === Promise` work for native promise-based APIs
|
|
@@ -6060,17 +6060,17 @@ if (FORCED$1) {
|
|
|
6060
6060
|
}
|
|
6061
6061
|
}
|
|
6062
6062
|
|
|
6063
|
-
$$
|
|
6063
|
+
$$c({ global: true, wrap: true, forced: FORCED$1 }, {
|
|
6064
6064
|
Promise: PromiseConstructor
|
|
6065
6065
|
});
|
|
6066
6066
|
|
|
6067
|
-
setToStringTag$
|
|
6067
|
+
setToStringTag$5(PromiseConstructor, PROMISE, false);
|
|
6068
6068
|
setSpecies(PROMISE);
|
|
6069
6069
|
|
|
6070
6070
|
PromiseWrapper = getBuiltIn$2(PROMISE);
|
|
6071
6071
|
|
|
6072
6072
|
// statics
|
|
6073
|
-
$$
|
|
6073
|
+
$$c({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
6074
6074
|
// `Promise.reject` method
|
|
6075
6075
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
6076
6076
|
reject: function reject(r) {
|
|
@@ -6080,7 +6080,7 @@ $$a({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
|
6080
6080
|
}
|
|
6081
6081
|
});
|
|
6082
6082
|
|
|
6083
|
-
$$
|
|
6083
|
+
$$c({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
6084
6084
|
// `Promise.resolve` method
|
|
6085
6085
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
6086
6086
|
resolve: function resolve(x) {
|
|
@@ -6088,7 +6088,7 @@ $$a({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
|
6088
6088
|
}
|
|
6089
6089
|
});
|
|
6090
6090
|
|
|
6091
|
-
$$
|
|
6091
|
+
$$c({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
6092
6092
|
// `Promise.all` method
|
|
6093
6093
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
6094
6094
|
all: function all(iterable) {
|
|
@@ -6101,7 +6101,7 @@ $$a({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6101
6101
|
var values = [];
|
|
6102
6102
|
var counter = 0;
|
|
6103
6103
|
var remaining = 1;
|
|
6104
|
-
iterate(iterable, function (promise) {
|
|
6104
|
+
iterate$2(iterable, function (promise) {
|
|
6105
6105
|
var index = counter++;
|
|
6106
6106
|
var alreadyCalled = false;
|
|
6107
6107
|
remaining++;
|
|
@@ -6125,7 +6125,7 @@ $$a({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
6125
6125
|
var reject = capability.reject;
|
|
6126
6126
|
var result = perform(function () {
|
|
6127
6127
|
var $promiseResolve = aCallable$1(C.resolve);
|
|
6128
|
-
iterate(iterable, function (promise) {
|
|
6128
|
+
iterate$2(iterable, function (promise) {
|
|
6129
6129
|
call$4($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
6130
6130
|
});
|
|
6131
6131
|
});
|
|
@@ -6244,9 +6244,9 @@ var getDeviceFingerprint = /*#__PURE__*/function () {
|
|
|
6244
6244
|
}();
|
|
6245
6245
|
|
|
6246
6246
|
var DESCRIPTORS$4 = descriptors$1;
|
|
6247
|
-
var uncurryThis$
|
|
6247
|
+
var uncurryThis$b = functionUncurryThis;
|
|
6248
6248
|
var call$3 = functionCall;
|
|
6249
|
-
var fails$
|
|
6249
|
+
var fails$8 = fails$x;
|
|
6250
6250
|
var objectKeys$1 = objectKeys$3;
|
|
6251
6251
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
6252
6252
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -6257,11 +6257,11 @@ var IndexedObject$1 = indexedObject;
|
|
|
6257
6257
|
var $assign = Object.assign;
|
|
6258
6258
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
6259
6259
|
var defineProperty$2 = Object.defineProperty;
|
|
6260
|
-
var concat = uncurryThis$
|
|
6260
|
+
var concat = uncurryThis$b([].concat);
|
|
6261
6261
|
|
|
6262
6262
|
// `Object.assign` method
|
|
6263
6263
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
6264
|
-
var objectAssign = !$assign || fails$
|
|
6264
|
+
var objectAssign = !$assign || fails$8(function () {
|
|
6265
6265
|
// should have correct order of operations (Edge bug)
|
|
6266
6266
|
if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
|
|
6267
6267
|
enumerable: true,
|
|
@@ -6300,16 +6300,34 @@ var objectAssign = !$assign || fails$6(function () {
|
|
|
6300
6300
|
} return T;
|
|
6301
6301
|
} : $assign;
|
|
6302
6302
|
|
|
6303
|
-
var $$
|
|
6303
|
+
var $$b = _export;
|
|
6304
6304
|
var assign$2 = objectAssign;
|
|
6305
6305
|
|
|
6306
6306
|
// `Object.assign` method
|
|
6307
6307
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
6308
6308
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
6309
|
-
$$
|
|
6309
|
+
$$b({ target: 'Object', stat: true, forced: Object.assign !== assign$2 }, {
|
|
6310
6310
|
assign: assign$2
|
|
6311
6311
|
});
|
|
6312
6312
|
|
|
6313
|
+
var $$a = _export;
|
|
6314
|
+
var FREEZING = freezing;
|
|
6315
|
+
var fails$7 = fails$x;
|
|
6316
|
+
var isObject$5 = isObject$l;
|
|
6317
|
+
var onFreeze = internalMetadata.exports.onFreeze;
|
|
6318
|
+
|
|
6319
|
+
// eslint-disable-next-line es/no-object-freeze -- safe
|
|
6320
|
+
var $freeze = Object.freeze;
|
|
6321
|
+
var FAILS_ON_PRIMITIVES = fails$7(function () { $freeze(1); });
|
|
6322
|
+
|
|
6323
|
+
// `Object.freeze` method
|
|
6324
|
+
// https://tc39.es/ecma262/#sec-object.freeze
|
|
6325
|
+
$$a({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
|
|
6326
|
+
freeze: function freeze(it) {
|
|
6327
|
+
return $freeze && isObject$5(it) ? $freeze(onFreeze(it)) : it;
|
|
6328
|
+
}
|
|
6329
|
+
});
|
|
6330
|
+
|
|
6313
6331
|
var config = {
|
|
6314
6332
|
cookieTestUrl: 'https://legacy-staging.paystack.co/test-iframe/start.html',
|
|
6315
6333
|
publishableKey: 'uFmz/uE/SDT6GupOrSEXIZXGByjQ0zFkPyc9LqKHFqnTI0WPN3JS5kQPo/j9or0TOXlqMQj2lzHn/UGsQT4XeQ==',
|
|
@@ -6367,13 +6385,13 @@ var addToUnscopables$3 = function (key) {
|
|
|
6367
6385
|
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
6368
6386
|
};
|
|
6369
6387
|
|
|
6370
|
-
var $$
|
|
6388
|
+
var $$9 = _export;
|
|
6371
6389
|
var $includes = arrayIncludes.includes;
|
|
6372
6390
|
var addToUnscopables$2 = addToUnscopables$3;
|
|
6373
6391
|
|
|
6374
6392
|
// `Array.prototype.includes` method
|
|
6375
6393
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
6376
|
-
$$
|
|
6394
|
+
$$9({ target: 'Array', proto: true }, {
|
|
6377
6395
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
6378
6396
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
6379
6397
|
}
|
|
@@ -6483,7 +6501,7 @@ var ChargeResponses = {
|
|
|
6483
6501
|
return error;
|
|
6484
6502
|
},
|
|
6485
6503
|
parse: function parse(apiResponse) {
|
|
6486
|
-
var response = _typeof$1(apiResponse) === 'object' ? apiResponse : {};
|
|
6504
|
+
var response = apiResponse && _typeof$1(apiResponse) === 'object' ? apiResponse : {};
|
|
6487
6505
|
if (response.data && _typeof$1(response.data) === 'object') {
|
|
6488
6506
|
Object.assign(response, response.data);
|
|
6489
6507
|
delete response.data;
|
|
@@ -6515,20 +6533,28 @@ var ChargeResponses = {
|
|
|
6515
6533
|
if (response.auth && response.auth !== 'none') {
|
|
6516
6534
|
return this.auth(response);
|
|
6517
6535
|
}
|
|
6536
|
+
// Below the auth check and gated on `url`: an open_url hand-off is only actionable with an
|
|
6537
|
+
// address, and anything still carrying `auth` is an authentication response first.
|
|
6538
|
+
if (response.status === 'open_url' && response.url) {
|
|
6539
|
+
return this.getCleanResponse(response, 'Continue at the payment provider');
|
|
6540
|
+
}
|
|
6518
6541
|
return this.error(response);
|
|
6519
6542
|
}
|
|
6520
6543
|
};
|
|
6521
6544
|
|
|
6522
|
-
|
|
6545
|
+
// Module-scope singletons rather than per-call objects, and frozen so a consumer
|
|
6546
|
+
// that mutates what it was handed cannot corrupt the next call -- throwing under
|
|
6547
|
+
// the strict mode an ES module gets, silently ignored otherwise. Nothing in this
|
|
6548
|
+
// repo or in checkout-ui-vue3 mutates them today.
|
|
6523
6549
|
var LISTEN_ERRORS = {
|
|
6524
|
-
unavailable: {
|
|
6550
|
+
unavailable: Object.freeze({
|
|
6525
6551
|
status: 'error',
|
|
6526
6552
|
message: 'We could not listen for charge response.'
|
|
6527
|
-
},
|
|
6528
|
-
subscriptionFailed: {
|
|
6553
|
+
}),
|
|
6554
|
+
subscriptionFailed: Object.freeze({
|
|
6529
6555
|
status: 'error',
|
|
6530
6556
|
message: 'We could not listen for charge response. Use transaction.requery() to check the status.'
|
|
6531
|
-
}
|
|
6557
|
+
})
|
|
6532
6558
|
};
|
|
6533
6559
|
|
|
6534
6560
|
// Returns null rather than throwing when Pusher is not on the page, so each
|
|
@@ -6624,29 +6650,29 @@ var subscribeToConfirmationEvents = function subscribeToConfirmationEvents(optio
|
|
|
6624
6650
|
return unsubscribe;
|
|
6625
6651
|
};
|
|
6626
6652
|
|
|
6627
|
-
var uncurryThis$
|
|
6653
|
+
var uncurryThis$a = functionUncurryThis;
|
|
6628
6654
|
var PROPER_FUNCTION_NAME$2 = functionName.PROPER;
|
|
6629
|
-
var redefine$
|
|
6630
|
-
var anObject$
|
|
6655
|
+
var redefine$5 = redefine$b.exports;
|
|
6656
|
+
var anObject$3 = anObject$f;
|
|
6631
6657
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
6632
6658
|
var $toString$2 = toString$9;
|
|
6633
|
-
var fails$
|
|
6659
|
+
var fails$6 = fails$x;
|
|
6634
6660
|
var regExpFlags = regexpFlags$1;
|
|
6635
6661
|
|
|
6636
6662
|
var TO_STRING = 'toString';
|
|
6637
6663
|
var RegExpPrototype = RegExp.prototype;
|
|
6638
6664
|
var n$ToString = RegExpPrototype[TO_STRING];
|
|
6639
|
-
var getFlags = uncurryThis$
|
|
6665
|
+
var getFlags = uncurryThis$a(regExpFlags);
|
|
6640
6666
|
|
|
6641
|
-
var NOT_GENERIC = fails$
|
|
6667
|
+
var NOT_GENERIC = fails$6(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
6642
6668
|
// FF44- RegExp#toString has a wrong name
|
|
6643
6669
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME$2 && n$ToString.name != TO_STRING;
|
|
6644
6670
|
|
|
6645
6671
|
// `RegExp.prototype.toString` method
|
|
6646
6672
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
6647
6673
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
6648
|
-
redefine$
|
|
6649
|
-
var R = anObject$
|
|
6674
|
+
redefine$5(RegExp.prototype, TO_STRING, function toString() {
|
|
6675
|
+
var R = anObject$3(this);
|
|
6650
6676
|
var p = $toString$2(R.source);
|
|
6651
6677
|
var rf = R.flags;
|
|
6652
6678
|
var f = $toString$2(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);
|
|
@@ -6654,41 +6680,41 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
6654
6680
|
}, { unsafe: true });
|
|
6655
6681
|
}
|
|
6656
6682
|
|
|
6657
|
-
var fails$
|
|
6683
|
+
var fails$5 = fails$x;
|
|
6658
6684
|
|
|
6659
|
-
var correctPrototypeGetter = !fails$
|
|
6685
|
+
var correctPrototypeGetter = !fails$5(function () {
|
|
6660
6686
|
function F() { /* empty */ }
|
|
6661
6687
|
F.prototype.constructor = null;
|
|
6662
6688
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
6663
6689
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
6664
6690
|
});
|
|
6665
6691
|
|
|
6666
|
-
var global$
|
|
6667
|
-
var hasOwn$
|
|
6668
|
-
var isCallable$
|
|
6692
|
+
var global$a = global$V;
|
|
6693
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
6694
|
+
var isCallable$4 = isCallable$l;
|
|
6669
6695
|
var toObject$2 = toObject$9;
|
|
6670
6696
|
var sharedKey = sharedKey$3;
|
|
6671
6697
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
6672
6698
|
|
|
6673
6699
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
6674
|
-
var Object$1 = global$
|
|
6700
|
+
var Object$1 = global$a.Object;
|
|
6675
6701
|
var ObjectPrototype = Object$1.prototype;
|
|
6676
6702
|
|
|
6677
6703
|
// `Object.getPrototypeOf` method
|
|
6678
6704
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
6679
6705
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
|
|
6680
6706
|
var object = toObject$2(O);
|
|
6681
|
-
if (hasOwn$
|
|
6707
|
+
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
6682
6708
|
var constructor = object.constructor;
|
|
6683
|
-
if (isCallable$
|
|
6709
|
+
if (isCallable$4(constructor) && object instanceof constructor) {
|
|
6684
6710
|
return constructor.prototype;
|
|
6685
6711
|
} return object instanceof Object$1 ? ObjectPrototype : null;
|
|
6686
6712
|
};
|
|
6687
6713
|
|
|
6688
|
-
var fails$
|
|
6689
|
-
var isCallable$
|
|
6714
|
+
var fails$4 = fails$x;
|
|
6715
|
+
var isCallable$3 = isCallable$l;
|
|
6690
6716
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
6691
|
-
var redefine$
|
|
6717
|
+
var redefine$4 = redefine$b.exports;
|
|
6692
6718
|
var wellKnownSymbol$4 = wellKnownSymbol$j;
|
|
6693
6719
|
|
|
6694
6720
|
var ITERATOR$4 = wellKnownSymbol$4('iterator');
|
|
@@ -6709,7 +6735,7 @@ if ([].keys) {
|
|
|
6709
6735
|
}
|
|
6710
6736
|
}
|
|
6711
6737
|
|
|
6712
|
-
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$
|
|
6738
|
+
var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$4(function () {
|
|
6713
6739
|
var test = {};
|
|
6714
6740
|
// FF44- legacy iterators case
|
|
6715
6741
|
return IteratorPrototype$2[ITERATOR$4].call(test) !== test;
|
|
@@ -6719,8 +6745,8 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
|
6719
6745
|
|
|
6720
6746
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
6721
6747
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
6722
|
-
if (!isCallable$
|
|
6723
|
-
redefine$
|
|
6748
|
+
if (!isCallable$3(IteratorPrototype$2[ITERATOR$4])) {
|
|
6749
|
+
redefine$4(IteratorPrototype$2, ITERATOR$4, function () {
|
|
6724
6750
|
return this;
|
|
6725
6751
|
});
|
|
6726
6752
|
}
|
|
@@ -6733,7 +6759,7 @@ var iteratorsCore = {
|
|
|
6733
6759
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
6734
6760
|
var create$1 = objectCreate;
|
|
6735
6761
|
var createPropertyDescriptor$1 = createPropertyDescriptor$6;
|
|
6736
|
-
var setToStringTag$
|
|
6762
|
+
var setToStringTag$4 = setToStringTag$6;
|
|
6737
6763
|
var Iterators$2 = iterators;
|
|
6738
6764
|
|
|
6739
6765
|
var returnThis$1 = function () { return this; };
|
|
@@ -6741,21 +6767,21 @@ var returnThis$1 = function () { return this; };
|
|
|
6741
6767
|
var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
6742
6768
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
6743
6769
|
IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
6744
|
-
setToStringTag$
|
|
6770
|
+
setToStringTag$4(IteratorConstructor, TO_STRING_TAG, false);
|
|
6745
6771
|
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
6746
6772
|
return IteratorConstructor;
|
|
6747
6773
|
};
|
|
6748
6774
|
|
|
6749
|
-
var $$
|
|
6775
|
+
var $$8 = _export;
|
|
6750
6776
|
var call$2 = functionCall;
|
|
6751
6777
|
var FunctionName = functionName;
|
|
6752
|
-
var isCallable$
|
|
6778
|
+
var isCallable$2 = isCallable$l;
|
|
6753
6779
|
var createIteratorConstructor$1 = createIteratorConstructor$2;
|
|
6754
6780
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
6755
6781
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
6756
|
-
var setToStringTag$
|
|
6782
|
+
var setToStringTag$3 = setToStringTag$6;
|
|
6757
6783
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
6758
|
-
var redefine$
|
|
6784
|
+
var redefine$3 = redefine$b.exports;
|
|
6759
6785
|
var wellKnownSymbol$3 = wellKnownSymbol$j;
|
|
6760
6786
|
var Iterators$1 = iterators;
|
|
6761
6787
|
var IteratorsCore = iteratorsCore;
|
|
@@ -6801,12 +6827,12 @@ var defineIterator$2 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
6801
6827
|
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
6802
6828
|
if (setPrototypeOf) {
|
|
6803
6829
|
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
6804
|
-
} else if (!isCallable$
|
|
6805
|
-
redefine$
|
|
6830
|
+
} else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$3])) {
|
|
6831
|
+
redefine$3(CurrentIteratorPrototype, ITERATOR$3, returnThis);
|
|
6806
6832
|
}
|
|
6807
6833
|
}
|
|
6808
6834
|
// Set @@toStringTag to native iterators
|
|
6809
|
-
setToStringTag$
|
|
6835
|
+
setToStringTag$3(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
6810
6836
|
}
|
|
6811
6837
|
}
|
|
6812
6838
|
|
|
@@ -6829,14 +6855,14 @@ var defineIterator$2 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
6829
6855
|
};
|
|
6830
6856
|
if (FORCED) for (KEY in methods) {
|
|
6831
6857
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
6832
|
-
redefine$
|
|
6858
|
+
redefine$3(IterablePrototype, KEY, methods[KEY]);
|
|
6833
6859
|
}
|
|
6834
|
-
} else $$
|
|
6860
|
+
} else $$8({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
6835
6861
|
}
|
|
6836
6862
|
|
|
6837
6863
|
// define iterator
|
|
6838
6864
|
if (IterablePrototype[ITERATOR$3] !== defaultIterator) {
|
|
6839
|
-
redefine$
|
|
6865
|
+
redefine$3(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT });
|
|
6840
6866
|
}
|
|
6841
6867
|
Iterators$1[NAME] = defaultIterator;
|
|
6842
6868
|
|
|
@@ -6846,14 +6872,14 @@ var defineIterator$2 = function (Iterable, NAME, IteratorConstructor, next, DEFA
|
|
|
6846
6872
|
var toIndexedObject$1 = toIndexedObject$8;
|
|
6847
6873
|
var addToUnscopables$1 = addToUnscopables$3;
|
|
6848
6874
|
var Iterators = iterators;
|
|
6849
|
-
var InternalStateModule$
|
|
6875
|
+
var InternalStateModule$4 = internalState;
|
|
6850
6876
|
var defineProperty$1 = objectDefineProperty.f;
|
|
6851
6877
|
var defineIterator$1 = defineIterator$2;
|
|
6852
6878
|
var DESCRIPTORS$3 = descriptors$1;
|
|
6853
6879
|
|
|
6854
6880
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
6855
|
-
var setInternalState$
|
|
6856
|
-
var getInternalState$1 = InternalStateModule$
|
|
6881
|
+
var setInternalState$4 = InternalStateModule$4.set;
|
|
6882
|
+
var getInternalState$1 = InternalStateModule$4.getterFor(ARRAY_ITERATOR);
|
|
6857
6883
|
|
|
6858
6884
|
// `Array.prototype.entries` method
|
|
6859
6885
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -6866,7 +6892,7 @@ var getInternalState$1 = InternalStateModule$3.getterFor(ARRAY_ITERATOR);
|
|
|
6866
6892
|
// `CreateArrayIterator` internal method
|
|
6867
6893
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
6868
6894
|
var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kind) {
|
|
6869
|
-
setInternalState$
|
|
6895
|
+
setInternalState$4(this, {
|
|
6870
6896
|
type: ARRAY_ITERATOR,
|
|
6871
6897
|
target: toIndexedObject$1(iterated), // target
|
|
6872
6898
|
index: 0, // next index
|
|
@@ -6903,14 +6929,14 @@ if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
|
6903
6929
|
defineProperty$1(values, 'name', { value: 'values' });
|
|
6904
6930
|
} catch (error) { /* empty */ }
|
|
6905
6931
|
|
|
6906
|
-
var uncurryThis$
|
|
6932
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
6907
6933
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
6908
6934
|
var toString$2 = toString$9;
|
|
6909
6935
|
var requireObjectCoercible = requireObjectCoercible$4;
|
|
6910
6936
|
|
|
6911
|
-
var charAt$4 = uncurryThis$
|
|
6912
|
-
var charCodeAt$2 = uncurryThis$
|
|
6913
|
-
var stringSlice$2 = uncurryThis$
|
|
6937
|
+
var charAt$4 = uncurryThis$9(''.charAt);
|
|
6938
|
+
var charCodeAt$2 = uncurryThis$9(''.charCodeAt);
|
|
6939
|
+
var stringSlice$2 = uncurryThis$9(''.slice);
|
|
6914
6940
|
|
|
6915
6941
|
var createMethod$2 = function (CONVERT_TO_STRING) {
|
|
6916
6942
|
return function ($this, pos) {
|
|
@@ -6942,17 +6968,17 @@ var stringMultibyte = {
|
|
|
6942
6968
|
|
|
6943
6969
|
var charAt$3 = stringMultibyte.charAt;
|
|
6944
6970
|
var toString$1 = toString$9;
|
|
6945
|
-
var InternalStateModule$
|
|
6971
|
+
var InternalStateModule$3 = internalState;
|
|
6946
6972
|
var defineIterator = defineIterator$2;
|
|
6947
6973
|
|
|
6948
6974
|
var STRING_ITERATOR = 'String Iterator';
|
|
6949
|
-
var setInternalState$
|
|
6950
|
-
var getInternalState = InternalStateModule$
|
|
6975
|
+
var setInternalState$3 = InternalStateModule$3.set;
|
|
6976
|
+
var getInternalState = InternalStateModule$3.getterFor(STRING_ITERATOR);
|
|
6951
6977
|
|
|
6952
6978
|
// `String.prototype[@@iterator]` method
|
|
6953
6979
|
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
|
|
6954
6980
|
defineIterator(String, 'String', function (iterated) {
|
|
6955
|
-
setInternalState$
|
|
6981
|
+
setInternalState$3(this, {
|
|
6956
6982
|
type: STRING_ITERATOR,
|
|
6957
6983
|
string: toString$1(iterated),
|
|
6958
6984
|
index: 0
|
|
@@ -6970,7 +6996,7 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
6970
6996
|
return { value: point, done: false };
|
|
6971
6997
|
});
|
|
6972
6998
|
|
|
6973
|
-
var global$
|
|
6999
|
+
var global$9 = global$V;
|
|
6974
7000
|
var DOMIterables = domIterables;
|
|
6975
7001
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
6976
7002
|
var ArrayIteratorMethods = es_array_iterator;
|
|
@@ -7004,18 +7030,18 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
7004
7030
|
};
|
|
7005
7031
|
|
|
7006
7032
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
7007
|
-
handlePrototype(global$
|
|
7033
|
+
handlePrototype(global$9[COLLECTION_NAME] && global$9[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
7008
7034
|
}
|
|
7009
7035
|
|
|
7010
7036
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
7011
7037
|
|
|
7012
|
-
var fails$
|
|
7038
|
+
var fails$3 = fails$x;
|
|
7013
7039
|
var wellKnownSymbol$1 = wellKnownSymbol$j;
|
|
7014
7040
|
var IS_PURE = isPure;
|
|
7015
7041
|
|
|
7016
7042
|
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
7017
7043
|
|
|
7018
|
-
var nativeUrl = !fails$
|
|
7044
|
+
var nativeUrl = !fails$3(function () {
|
|
7019
7045
|
// eslint-disable-next-line unicorn/relative-url-style -- required for testing
|
|
7020
7046
|
var url = new URL('b?a=1&b=2&c=3', 'http://a');
|
|
7021
7047
|
var searchParams = url.searchParams;
|
|
@@ -7044,19 +7070,19 @@ var nativeUrl = !fails$2(function () {
|
|
|
7044
7070
|
|| new URL('http://x', undefined).host !== 'x';
|
|
7045
7071
|
});
|
|
7046
7072
|
|
|
7047
|
-
var anObject$
|
|
7073
|
+
var anObject$2 = anObject$f;
|
|
7048
7074
|
var iteratorClose = iteratorClose$2;
|
|
7049
7075
|
|
|
7050
7076
|
// call something on iterator step with safe closing on error
|
|
7051
7077
|
var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
7052
7078
|
try {
|
|
7053
|
-
return ENTRIES ? fn(anObject$
|
|
7079
|
+
return ENTRIES ? fn(anObject$2(value)[0], value[1]) : fn(value);
|
|
7054
7080
|
} catch (error) {
|
|
7055
7081
|
iteratorClose(iterator, 'throw', error);
|
|
7056
7082
|
}
|
|
7057
7083
|
};
|
|
7058
7084
|
|
|
7059
|
-
var global$
|
|
7085
|
+
var global$8 = global$V;
|
|
7060
7086
|
var bind$5 = functionBindContext;
|
|
7061
7087
|
var call$1 = functionCall;
|
|
7062
7088
|
var toObject$1 = toObject$9;
|
|
@@ -7068,7 +7094,7 @@ var createProperty = createProperty$3;
|
|
|
7068
7094
|
var getIterator$1 = getIterator$3;
|
|
7069
7095
|
var getIteratorMethod$1 = getIteratorMethod$4;
|
|
7070
7096
|
|
|
7071
|
-
var Array$2 = global$
|
|
7097
|
+
var Array$2 = global$8.Array;
|
|
7072
7098
|
|
|
7073
7099
|
// `Array.from` method implementation
|
|
7074
7100
|
// https://tc39.es/ecma262/#sec-array.from
|
|
@@ -7104,8 +7130,8 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
7104
7130
|
};
|
|
7105
7131
|
|
|
7106
7132
|
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
|
|
7107
|
-
var global$
|
|
7108
|
-
var uncurryThis$
|
|
7133
|
+
var global$7 = global$V;
|
|
7134
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
7109
7135
|
|
|
7110
7136
|
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
7111
7137
|
var base = 36;
|
|
@@ -7121,16 +7147,16 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
|
|
|
7121
7147
|
var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
|
|
7122
7148
|
var baseMinusTMin = base - tMin;
|
|
7123
7149
|
|
|
7124
|
-
var RangeError = global$
|
|
7125
|
-
var exec$2 = uncurryThis$
|
|
7150
|
+
var RangeError = global$7.RangeError;
|
|
7151
|
+
var exec$2 = uncurryThis$8(regexSeparators.exec);
|
|
7126
7152
|
var floor$1 = Math.floor;
|
|
7127
7153
|
var fromCharCode = String.fromCharCode;
|
|
7128
|
-
var charCodeAt$1 = uncurryThis$
|
|
7129
|
-
var join$2 = uncurryThis$
|
|
7130
|
-
var push$4 = uncurryThis$
|
|
7131
|
-
var replace$4 = uncurryThis$
|
|
7132
|
-
var split$3 = uncurryThis$
|
|
7133
|
-
var toLowerCase$1 = uncurryThis$
|
|
7154
|
+
var charCodeAt$1 = uncurryThis$8(''.charCodeAt);
|
|
7155
|
+
var join$2 = uncurryThis$8([].join);
|
|
7156
|
+
var push$4 = uncurryThis$8([].push);
|
|
7157
|
+
var replace$4 = uncurryThis$8(''.replace);
|
|
7158
|
+
var split$3 = uncurryThis$8(''.split);
|
|
7159
|
+
var toLowerCase$1 = uncurryThis$8(''.toLowerCase);
|
|
7134
7160
|
|
|
7135
7161
|
/**
|
|
7136
7162
|
* Creates an array containing the numeric code points of each Unicode
|
|
@@ -7287,24 +7313,24 @@ var stringPunycodeToAscii = function (input) {
|
|
|
7287
7313
|
|
|
7288
7314
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
7289
7315
|
|
|
7290
|
-
var $$
|
|
7291
|
-
var global$
|
|
7316
|
+
var $$7 = _export;
|
|
7317
|
+
var global$6 = global$V;
|
|
7292
7318
|
var getBuiltIn$1 = getBuiltIn$a;
|
|
7293
7319
|
var call = functionCall;
|
|
7294
|
-
var uncurryThis$
|
|
7320
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
7295
7321
|
var USE_NATIVE_URL$1 = nativeUrl;
|
|
7296
|
-
var redefine$
|
|
7297
|
-
var redefineAll = redefineAll$
|
|
7298
|
-
var setToStringTag$
|
|
7322
|
+
var redefine$2 = redefine$b.exports;
|
|
7323
|
+
var redefineAll$2 = redefineAll$4;
|
|
7324
|
+
var setToStringTag$2 = setToStringTag$6;
|
|
7299
7325
|
var createIteratorConstructor = createIteratorConstructor$2;
|
|
7300
|
-
var InternalStateModule$
|
|
7301
|
-
var anInstance$
|
|
7302
|
-
var isCallable = isCallable$
|
|
7303
|
-
var hasOwn$
|
|
7326
|
+
var InternalStateModule$2 = internalState;
|
|
7327
|
+
var anInstance$3 = anInstance$5;
|
|
7328
|
+
var isCallable$1 = isCallable$l;
|
|
7329
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
7304
7330
|
var bind$4 = functionBindContext;
|
|
7305
7331
|
var classof = classof$7;
|
|
7306
|
-
var anObject = anObject$
|
|
7307
|
-
var isObject$
|
|
7332
|
+
var anObject$1 = anObject$f;
|
|
7333
|
+
var isObject$4 = isObject$l;
|
|
7308
7334
|
var $toString$1 = toString$9;
|
|
7309
7335
|
var create = objectCreate;
|
|
7310
7336
|
var createPropertyDescriptor = createPropertyDescriptor$6;
|
|
@@ -7317,27 +7343,27 @@ var arraySort = arraySort$1;
|
|
|
7317
7343
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
7318
7344
|
var URL_SEARCH_PARAMS = 'URLSearchParams';
|
|
7319
7345
|
var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
|
|
7320
|
-
var setInternalState$
|
|
7321
|
-
var getInternalParamsState = InternalStateModule$
|
|
7322
|
-
var getInternalIteratorState = InternalStateModule$
|
|
7346
|
+
var setInternalState$2 = InternalStateModule$2.set;
|
|
7347
|
+
var getInternalParamsState = InternalStateModule$2.getterFor(URL_SEARCH_PARAMS);
|
|
7348
|
+
var getInternalIteratorState = InternalStateModule$2.getterFor(URL_SEARCH_PARAMS_ITERATOR);
|
|
7323
7349
|
|
|
7324
7350
|
var n$Fetch = getBuiltIn$1('fetch');
|
|
7325
7351
|
var N$Request = getBuiltIn$1('Request');
|
|
7326
7352
|
var Headers = getBuiltIn$1('Headers');
|
|
7327
7353
|
var RequestPrototype = N$Request && N$Request.prototype;
|
|
7328
7354
|
var HeadersPrototype = Headers && Headers.prototype;
|
|
7329
|
-
var RegExp$1 = global$
|
|
7330
|
-
var TypeError$3 = global$
|
|
7331
|
-
var decodeURIComponent$1 = global$
|
|
7332
|
-
var encodeURIComponent$1 = global$
|
|
7333
|
-
var charAt$2 = uncurryThis$
|
|
7334
|
-
var join$1 = uncurryThis$
|
|
7335
|
-
var push$3 = uncurryThis$
|
|
7336
|
-
var replace$3 = uncurryThis$
|
|
7337
|
-
var shift$1 = uncurryThis$
|
|
7338
|
-
var splice = uncurryThis$
|
|
7339
|
-
var split$2 = uncurryThis$
|
|
7340
|
-
var stringSlice$1 = uncurryThis$
|
|
7355
|
+
var RegExp$1 = global$6.RegExp;
|
|
7356
|
+
var TypeError$3 = global$6.TypeError;
|
|
7357
|
+
var decodeURIComponent$1 = global$6.decodeURIComponent;
|
|
7358
|
+
var encodeURIComponent$1 = global$6.encodeURIComponent;
|
|
7359
|
+
var charAt$2 = uncurryThis$7(''.charAt);
|
|
7360
|
+
var join$1 = uncurryThis$7([].join);
|
|
7361
|
+
var push$3 = uncurryThis$7([].push);
|
|
7362
|
+
var replace$3 = uncurryThis$7(''.replace);
|
|
7363
|
+
var shift$1 = uncurryThis$7([].shift);
|
|
7364
|
+
var splice$1 = uncurryThis$7([].splice);
|
|
7365
|
+
var split$2 = uncurryThis$7(''.split);
|
|
7366
|
+
var stringSlice$1 = uncurryThis$7(''.slice);
|
|
7341
7367
|
|
|
7342
7368
|
var plus = /\+/g;
|
|
7343
7369
|
var sequences = Array(4);
|
|
@@ -7367,7 +7393,7 @@ var deserialize = function (it) {
|
|
|
7367
7393
|
}
|
|
7368
7394
|
};
|
|
7369
7395
|
|
|
7370
|
-
var find = /[!'()~]|%20/g;
|
|
7396
|
+
var find$1 = /[!'()~]|%20/g;
|
|
7371
7397
|
|
|
7372
7398
|
var replacements = {
|
|
7373
7399
|
'!': '%21',
|
|
@@ -7383,11 +7409,11 @@ var replacer = function (match) {
|
|
|
7383
7409
|
};
|
|
7384
7410
|
|
|
7385
7411
|
var serialize = function (it) {
|
|
7386
|
-
return replace$3(encodeURIComponent$1(it), find, replacer);
|
|
7412
|
+
return replace$3(encodeURIComponent$1(it), find$1, replacer);
|
|
7387
7413
|
};
|
|
7388
7414
|
|
|
7389
7415
|
var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
|
|
7390
|
-
setInternalState$
|
|
7416
|
+
setInternalState$2(this, {
|
|
7391
7417
|
type: URL_SEARCH_PARAMS_ITERATOR,
|
|
7392
7418
|
iterator: getIterator(getInternalParamsState(params).entries),
|
|
7393
7419
|
kind: kind
|
|
@@ -7407,7 +7433,7 @@ var URLSearchParamsState = function (init) {
|
|
|
7407
7433
|
this.url = null;
|
|
7408
7434
|
|
|
7409
7435
|
if (init !== undefined) {
|
|
7410
|
-
if (isObject$
|
|
7436
|
+
if (isObject$4(init)) this.parseObject(init);
|
|
7411
7437
|
else this.parseQuery(typeof init == 'string' ? charAt$2(init, 0) === '?' ? stringSlice$1(init, 1) : init : $toString$1(init));
|
|
7412
7438
|
}
|
|
7413
7439
|
};
|
|
@@ -7426,7 +7452,7 @@ URLSearchParamsState.prototype = {
|
|
|
7426
7452
|
iterator = getIterator(object, iteratorMethod);
|
|
7427
7453
|
next = iterator.next;
|
|
7428
7454
|
while (!(step = call(next, iterator)).done) {
|
|
7429
|
-
entryIterator = getIterator(anObject(step.value));
|
|
7455
|
+
entryIterator = getIterator(anObject$1(step.value));
|
|
7430
7456
|
entryNext = entryIterator.next;
|
|
7431
7457
|
if (
|
|
7432
7458
|
(first = call(entryNext, entryIterator)).done ||
|
|
@@ -7435,7 +7461,7 @@ URLSearchParamsState.prototype = {
|
|
|
7435
7461
|
) throw TypeError$3('Expected sequence with length 2');
|
|
7436
7462
|
push$3(this.entries, { key: $toString$1(first.value), value: $toString$1(second.value) });
|
|
7437
7463
|
}
|
|
7438
|
-
} else for (var key in object) if (hasOwn$
|
|
7464
|
+
} else for (var key in object) if (hasOwn$2(object, key)) {
|
|
7439
7465
|
push$3(this.entries, { key: key, value: $toString$1(object[key]) });
|
|
7440
7466
|
}
|
|
7441
7467
|
},
|
|
@@ -7478,14 +7504,14 @@ URLSearchParamsState.prototype = {
|
|
|
7478
7504
|
// `URLSearchParams` constructor
|
|
7479
7505
|
// https://url.spec.whatwg.org/#interface-urlsearchparams
|
|
7480
7506
|
var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
|
|
7481
|
-
anInstance$
|
|
7507
|
+
anInstance$3(this, URLSearchParamsPrototype);
|
|
7482
7508
|
var init = arguments.length > 0 ? arguments[0] : undefined;
|
|
7483
|
-
setInternalState$
|
|
7509
|
+
setInternalState$2(this, new URLSearchParamsState(init));
|
|
7484
7510
|
};
|
|
7485
7511
|
|
|
7486
7512
|
var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
|
|
7487
7513
|
|
|
7488
|
-
redefineAll(URLSearchParamsPrototype, {
|
|
7514
|
+
redefineAll$2(URLSearchParamsPrototype, {
|
|
7489
7515
|
// `URLSearchParams.prototype.append` method
|
|
7490
7516
|
// https://url.spec.whatwg.org/#dom-urlsearchparams-append
|
|
7491
7517
|
append: function append(name, value) {
|
|
@@ -7503,7 +7529,7 @@ redefineAll(URLSearchParamsPrototype, {
|
|
|
7503
7529
|
var key = $toString$1(name);
|
|
7504
7530
|
var index = 0;
|
|
7505
7531
|
while (index < entries.length) {
|
|
7506
|
-
if (entries[index].key === key) splice(entries, index, 1);
|
|
7532
|
+
if (entries[index].key === key) splice$1(entries, index, 1);
|
|
7507
7533
|
else index++;
|
|
7508
7534
|
}
|
|
7509
7535
|
state.updateURL();
|
|
@@ -7559,7 +7585,7 @@ redefineAll(URLSearchParamsPrototype, {
|
|
|
7559
7585
|
for (; index < entries.length; index++) {
|
|
7560
7586
|
entry = entries[index];
|
|
7561
7587
|
if (entry.key === key) {
|
|
7562
|
-
if (found) splice(entries, index--, 1);
|
|
7588
|
+
if (found) splice$1(entries, index--, 1);
|
|
7563
7589
|
else {
|
|
7564
7590
|
found = true;
|
|
7565
7591
|
entry.value = val;
|
|
@@ -7604,27 +7630,27 @@ redefineAll(URLSearchParamsPrototype, {
|
|
|
7604
7630
|
}, { enumerable: true });
|
|
7605
7631
|
|
|
7606
7632
|
// `URLSearchParams.prototype[@@iterator]` method
|
|
7607
|
-
redefine$
|
|
7633
|
+
redefine$2(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });
|
|
7608
7634
|
|
|
7609
7635
|
// `URLSearchParams.prototype.toString` method
|
|
7610
7636
|
// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
|
|
7611
|
-
redefine$
|
|
7637
|
+
redefine$2(URLSearchParamsPrototype, 'toString', function toString() {
|
|
7612
7638
|
return getInternalParamsState(this).serialize();
|
|
7613
7639
|
}, { enumerable: true });
|
|
7614
7640
|
|
|
7615
|
-
setToStringTag$
|
|
7641
|
+
setToStringTag$2(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
|
|
7616
7642
|
|
|
7617
|
-
$$
|
|
7643
|
+
$$7({ global: true, forced: !USE_NATIVE_URL$1 }, {
|
|
7618
7644
|
URLSearchParams: URLSearchParamsConstructor
|
|
7619
7645
|
});
|
|
7620
7646
|
|
|
7621
7647
|
// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
|
|
7622
|
-
if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
7623
|
-
var headersHas = uncurryThis$
|
|
7624
|
-
var headersSet = uncurryThis$
|
|
7648
|
+
if (!USE_NATIVE_URL$1 && isCallable$1(Headers)) {
|
|
7649
|
+
var headersHas = uncurryThis$7(HeadersPrototype.has);
|
|
7650
|
+
var headersSet = uncurryThis$7(HeadersPrototype.set);
|
|
7625
7651
|
|
|
7626
7652
|
var wrapRequestOptions = function (init) {
|
|
7627
|
-
if (isObject$
|
|
7653
|
+
if (isObject$4(init)) {
|
|
7628
7654
|
var body = init.body;
|
|
7629
7655
|
var headers;
|
|
7630
7656
|
if (classof(body) === URL_SEARCH_PARAMS) {
|
|
@@ -7640,24 +7666,24 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
7640
7666
|
} return init;
|
|
7641
7667
|
};
|
|
7642
7668
|
|
|
7643
|
-
if (isCallable(n$Fetch)) {
|
|
7644
|
-
$$
|
|
7669
|
+
if (isCallable$1(n$Fetch)) {
|
|
7670
|
+
$$7({ global: true, enumerable: true, forced: true }, {
|
|
7645
7671
|
fetch: function fetch(input /* , init */) {
|
|
7646
7672
|
return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
7647
7673
|
}
|
|
7648
7674
|
});
|
|
7649
7675
|
}
|
|
7650
7676
|
|
|
7651
|
-
if (isCallable(N$Request)) {
|
|
7677
|
+
if (isCallable$1(N$Request)) {
|
|
7652
7678
|
var RequestConstructor = function Request(input /* , init */) {
|
|
7653
|
-
anInstance$
|
|
7679
|
+
anInstance$3(this, RequestPrototype);
|
|
7654
7680
|
return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
7655
7681
|
};
|
|
7656
7682
|
|
|
7657
7683
|
RequestPrototype.constructor = RequestConstructor;
|
|
7658
7684
|
RequestConstructor.prototype = RequestPrototype;
|
|
7659
7685
|
|
|
7660
|
-
$$
|
|
7686
|
+
$$7({ global: true, forced: true }, {
|
|
7661
7687
|
Request: RequestConstructor
|
|
7662
7688
|
});
|
|
7663
7689
|
}
|
|
@@ -7670,49 +7696,49 @@ var web_urlSearchParams = {
|
|
|
7670
7696
|
|
|
7671
7697
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
7672
7698
|
|
|
7673
|
-
var $$
|
|
7699
|
+
var $$6 = _export;
|
|
7674
7700
|
var DESCRIPTORS$2 = descriptors$1;
|
|
7675
7701
|
var USE_NATIVE_URL = nativeUrl;
|
|
7676
|
-
var global$
|
|
7702
|
+
var global$5 = global$V;
|
|
7677
7703
|
var bind$3 = functionBindContext;
|
|
7678
|
-
var uncurryThis$
|
|
7704
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
7679
7705
|
var defineProperties = objectDefineProperties.f;
|
|
7680
|
-
var redefine = redefine$
|
|
7681
|
-
var anInstance = anInstance$
|
|
7682
|
-
var hasOwn = hasOwnProperty_1;
|
|
7706
|
+
var redefine$1 = redefine$b.exports;
|
|
7707
|
+
var anInstance$2 = anInstance$5;
|
|
7708
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
7683
7709
|
var assign$1 = objectAssign;
|
|
7684
7710
|
var arrayFrom = arrayFrom$1;
|
|
7685
7711
|
var arraySlice = arraySliceSimple;
|
|
7686
7712
|
var codeAt = stringMultibyte.codeAt;
|
|
7687
7713
|
var toASCII = stringPunycodeToAscii;
|
|
7688
7714
|
var $toString = toString$9;
|
|
7689
|
-
var setToStringTag = setToStringTag$
|
|
7715
|
+
var setToStringTag$1 = setToStringTag$6;
|
|
7690
7716
|
var validateArgumentsLength = validateArgumentsLength$3;
|
|
7691
7717
|
var URLSearchParamsModule = web_urlSearchParams;
|
|
7692
|
-
var InternalStateModule = internalState;
|
|
7718
|
+
var InternalStateModule$1 = internalState;
|
|
7693
7719
|
|
|
7694
|
-
var setInternalState = InternalStateModule.set;
|
|
7695
|
-
var getInternalURLState = InternalStateModule.getterFor('URL');
|
|
7720
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
7721
|
+
var getInternalURLState = InternalStateModule$1.getterFor('URL');
|
|
7696
7722
|
var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams;
|
|
7697
7723
|
var getInternalSearchParamsState = URLSearchParamsModule.getState;
|
|
7698
7724
|
|
|
7699
|
-
var NativeURL = global$
|
|
7700
|
-
var TypeError$2 = global$
|
|
7701
|
-
var parseInt$1 = global$
|
|
7725
|
+
var NativeURL = global$5.URL;
|
|
7726
|
+
var TypeError$2 = global$5.TypeError;
|
|
7727
|
+
var parseInt$1 = global$5.parseInt;
|
|
7702
7728
|
var floor = Math.floor;
|
|
7703
7729
|
var pow = Math.pow;
|
|
7704
|
-
var charAt$1 = uncurryThis$
|
|
7705
|
-
var exec$1 = uncurryThis$
|
|
7706
|
-
var join = uncurryThis$
|
|
7707
|
-
var numberToString$1 = uncurryThis$
|
|
7708
|
-
var pop = uncurryThis$
|
|
7709
|
-
var push$2 = uncurryThis$
|
|
7710
|
-
var replace$2 = uncurryThis$
|
|
7711
|
-
var shift = uncurryThis$
|
|
7712
|
-
var split$1 = uncurryThis$
|
|
7713
|
-
var stringSlice = uncurryThis$
|
|
7714
|
-
var toLowerCase = uncurryThis$
|
|
7715
|
-
var unshift = uncurryThis$
|
|
7730
|
+
var charAt$1 = uncurryThis$6(''.charAt);
|
|
7731
|
+
var exec$1 = uncurryThis$6(/./.exec);
|
|
7732
|
+
var join = uncurryThis$6([].join);
|
|
7733
|
+
var numberToString$1 = uncurryThis$6(1.0.toString);
|
|
7734
|
+
var pop = uncurryThis$6([].pop);
|
|
7735
|
+
var push$2 = uncurryThis$6([].push);
|
|
7736
|
+
var replace$2 = uncurryThis$6(''.replace);
|
|
7737
|
+
var shift = uncurryThis$6([].shift);
|
|
7738
|
+
var split$1 = uncurryThis$6(''.split);
|
|
7739
|
+
var stringSlice = uncurryThis$6(''.slice);
|
|
7740
|
+
var toLowerCase = uncurryThis$6(''.toLowerCase);
|
|
7741
|
+
var unshift = uncurryThis$6([].unshift);
|
|
7716
7742
|
|
|
7717
7743
|
var INVALID_AUTHORITY = 'Invalid authority';
|
|
7718
7744
|
var INVALID_SCHEME = 'Invalid scheme';
|
|
@@ -7920,7 +7946,7 @@ var userinfoPercentEncodeSet = assign$1({}, pathPercentEncodeSet, {
|
|
|
7920
7946
|
|
|
7921
7947
|
var percentEncode = function (chr, set) {
|
|
7922
7948
|
var code = codeAt(chr, 0);
|
|
7923
|
-
return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);
|
|
7949
|
+
return code > 0x20 && code < 0x7F && !hasOwn$1(set, chr) ? chr : encodeURIComponent(chr);
|
|
7924
7950
|
};
|
|
7925
7951
|
|
|
7926
7952
|
// https://url.spec.whatwg.org/#special-scheme
|
|
@@ -8051,7 +8077,7 @@ URLState.prototype = {
|
|
|
8051
8077
|
buffer += toLowerCase(chr);
|
|
8052
8078
|
} else if (chr == ':') {
|
|
8053
8079
|
if (stateOverride && (
|
|
8054
|
-
(url.isSpecial() != hasOwn(specialSchemes, buffer)) ||
|
|
8080
|
+
(url.isSpecial() != hasOwn$1(specialSchemes, buffer)) ||
|
|
8055
8081
|
(buffer == 'file' && (url.includesCredentials() || url.port !== null)) ||
|
|
8056
8082
|
(url.scheme == 'file' && !url.host)
|
|
8057
8083
|
)) return;
|
|
@@ -8439,7 +8465,7 @@ URLState.prototype = {
|
|
|
8439
8465
|
},
|
|
8440
8466
|
// https://url.spec.whatwg.org/#is-special
|
|
8441
8467
|
isSpecial: function () {
|
|
8442
|
-
return hasOwn(specialSchemes, this.scheme);
|
|
8468
|
+
return hasOwn$1(specialSchemes, this.scheme);
|
|
8443
8469
|
},
|
|
8444
8470
|
// https://url.spec.whatwg.org/#shorten-a-urls-path
|
|
8445
8471
|
shortenPath: function () {
|
|
@@ -8608,9 +8634,9 @@ URLState.prototype = {
|
|
|
8608
8634
|
// `URL` constructor
|
|
8609
8635
|
// https://url.spec.whatwg.org/#url-class
|
|
8610
8636
|
var URLConstructor = function URL(url /* , base */) {
|
|
8611
|
-
var that = anInstance(this, URLPrototype);
|
|
8637
|
+
var that = anInstance$2(this, URLPrototype);
|
|
8612
8638
|
var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
|
|
8613
|
-
var state = setInternalState(that, new URLState(url, false, base));
|
|
8639
|
+
var state = setInternalState$1(that, new URLState(url, false, base));
|
|
8614
8640
|
if (!DESCRIPTORS$2) {
|
|
8615
8641
|
that.href = state.serialize();
|
|
8616
8642
|
that.origin = state.getOrigin();
|
|
@@ -8685,13 +8711,13 @@ if (DESCRIPTORS$2) {
|
|
|
8685
8711
|
|
|
8686
8712
|
// `URL.prototype.toJSON` method
|
|
8687
8713
|
// https://url.spec.whatwg.org/#dom-url-tojson
|
|
8688
|
-
redefine(URLPrototype, 'toJSON', function toJSON() {
|
|
8714
|
+
redefine$1(URLPrototype, 'toJSON', function toJSON() {
|
|
8689
8715
|
return getInternalURLState(this).serialize();
|
|
8690
8716
|
}, { enumerable: true });
|
|
8691
8717
|
|
|
8692
8718
|
// `URL.prototype.toString` method
|
|
8693
8719
|
// https://url.spec.whatwg.org/#URL-stringification-behavior
|
|
8694
|
-
redefine(URLPrototype, 'toString', function toString() {
|
|
8720
|
+
redefine$1(URLPrototype, 'toString', function toString() {
|
|
8695
8721
|
return getInternalURLState(this).serialize();
|
|
8696
8722
|
}, { enumerable: true });
|
|
8697
8723
|
|
|
@@ -8700,15 +8726,15 @@ if (NativeURL) {
|
|
|
8700
8726
|
var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
|
|
8701
8727
|
// `URL.createObjectURL` method
|
|
8702
8728
|
// https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
|
|
8703
|
-
if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', bind$3(nativeCreateObjectURL, NativeURL));
|
|
8729
|
+
if (nativeCreateObjectURL) redefine$1(URLConstructor, 'createObjectURL', bind$3(nativeCreateObjectURL, NativeURL));
|
|
8704
8730
|
// `URL.revokeObjectURL` method
|
|
8705
8731
|
// https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
|
|
8706
|
-
if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', bind$3(nativeRevokeObjectURL, NativeURL));
|
|
8732
|
+
if (nativeRevokeObjectURL) redefine$1(URLConstructor, 'revokeObjectURL', bind$3(nativeRevokeObjectURL, NativeURL));
|
|
8707
8733
|
}
|
|
8708
8734
|
|
|
8709
|
-
setToStringTag(URLConstructor, 'URL');
|
|
8735
|
+
setToStringTag$1(URLConstructor, 'URL');
|
|
8710
8736
|
|
|
8711
|
-
$$
|
|
8737
|
+
$$6({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
|
|
8712
8738
|
URL: URLConstructor
|
|
8713
8739
|
});
|
|
8714
8740
|
|
|
@@ -8825,7 +8851,7 @@ function isNumber(val) {
|
|
|
8825
8851
|
* @param {Object} val The value to test
|
|
8826
8852
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
8827
8853
|
*/
|
|
8828
|
-
function isObject(val) {
|
|
8854
|
+
function isObject$3(val) {
|
|
8829
8855
|
return val !== null && typeof val === 'object';
|
|
8830
8856
|
}
|
|
8831
8857
|
|
|
@@ -8907,7 +8933,7 @@ function isFunction(val) {
|
|
|
8907
8933
|
* @returns {boolean} True if value is a Stream, otherwise false
|
|
8908
8934
|
*/
|
|
8909
8935
|
function isStream(val) {
|
|
8910
|
-
return isObject(val) && isFunction(val.pipe);
|
|
8936
|
+
return isObject$3(val) && isFunction(val.pipe);
|
|
8911
8937
|
}
|
|
8912
8938
|
|
|
8913
8939
|
/**
|
|
@@ -9211,7 +9237,7 @@ var utils$m = {
|
|
|
9211
9237
|
isArrayBufferView: isArrayBufferView,
|
|
9212
9238
|
isString: isString,
|
|
9213
9239
|
isNumber: isNumber,
|
|
9214
|
-
isObject: isObject,
|
|
9240
|
+
isObject: isObject$3,
|
|
9215
9241
|
isPlainObject: isPlainObject,
|
|
9216
9242
|
isEmptyObject: isEmptyObject,
|
|
9217
9243
|
isUndefined: isUndefined,
|
|
@@ -11994,13 +12020,13 @@ var lib = {
|
|
|
11994
12020
|
stringify: stringify
|
|
11995
12021
|
};
|
|
11996
12022
|
|
|
11997
|
-
var global$
|
|
12023
|
+
var global$4 = global$V;
|
|
11998
12024
|
var aCallable = aCallable$7;
|
|
11999
12025
|
var toObject = toObject$9;
|
|
12000
12026
|
var IndexedObject = indexedObject;
|
|
12001
12027
|
var lengthOfArrayLike = lengthOfArrayLike$8;
|
|
12002
12028
|
|
|
12003
|
-
var TypeError$1 = global$
|
|
12029
|
+
var TypeError$1 = global$4.TypeError;
|
|
12004
12030
|
|
|
12005
12031
|
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
12006
12032
|
var createMethod$1 = function (IS_RIGHT) {
|
|
@@ -12038,7 +12064,7 @@ var arrayReduce = {
|
|
|
12038
12064
|
right: createMethod$1(true)
|
|
12039
12065
|
};
|
|
12040
12066
|
|
|
12041
|
-
var $$
|
|
12067
|
+
var $$5 = _export;
|
|
12042
12068
|
var $reduce = arrayReduce.left;
|
|
12043
12069
|
var arrayMethodIsStrict = arrayMethodIsStrict$4;
|
|
12044
12070
|
var CHROME_VERSION = engineV8Version;
|
|
@@ -12051,7 +12077,7 @@ var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
|
|
|
12051
12077
|
|
|
12052
12078
|
// `Array.prototype.reduce` method
|
|
12053
12079
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
12054
|
-
$$
|
|
12080
|
+
$$5({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
|
|
12055
12081
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
12056
12082
|
var length = arguments.length;
|
|
12057
12083
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
@@ -12555,13 +12581,13 @@ var PayPalCharge = {
|
|
|
12555
12581
|
|
|
12556
12582
|
var DESCRIPTORS$1 = descriptors$1;
|
|
12557
12583
|
var FUNCTION_NAME_EXISTS = functionName.EXISTS;
|
|
12558
|
-
var uncurryThis$
|
|
12584
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
12559
12585
|
var defineProperty = objectDefineProperty.f;
|
|
12560
12586
|
|
|
12561
12587
|
var FunctionPrototype = Function.prototype;
|
|
12562
|
-
var functionToString = uncurryThis$
|
|
12588
|
+
var functionToString = uncurryThis$5(FunctionPrototype.toString);
|
|
12563
12589
|
var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
|
|
12564
|
-
var regExpExec = uncurryThis$
|
|
12590
|
+
var regExpExec = uncurryThis$5(nameRE.exec);
|
|
12565
12591
|
var NAME = 'name';
|
|
12566
12592
|
|
|
12567
12593
|
// Function instances `.name` property
|
|
@@ -17955,13 +17981,13 @@ function encrypt(toEncrypt) {
|
|
|
17955
17981
|
}
|
|
17956
17982
|
|
|
17957
17983
|
var DESCRIPTORS = descriptors$1;
|
|
17958
|
-
var uncurryThis$
|
|
17984
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
17959
17985
|
var objectKeys = objectKeys$3;
|
|
17960
17986
|
var toIndexedObject = toIndexedObject$8;
|
|
17961
17987
|
var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
|
|
17962
17988
|
|
|
17963
|
-
var propertyIsEnumerable = uncurryThis$
|
|
17964
|
-
var push = uncurryThis$
|
|
17989
|
+
var propertyIsEnumerable = uncurryThis$4($propertyIsEnumerable);
|
|
17990
|
+
var push = uncurryThis$4([].push);
|
|
17965
17991
|
|
|
17966
17992
|
// `Object.{ entries, values }` methods implementation
|
|
17967
17993
|
var createMethod = function (TO_ENTRIES) {
|
|
@@ -17991,18 +18017,18 @@ var objectToArray = {
|
|
|
17991
18017
|
values: createMethod(false)
|
|
17992
18018
|
};
|
|
17993
18019
|
|
|
17994
|
-
var $$
|
|
18020
|
+
var $$4 = _export;
|
|
17995
18021
|
var $values = objectToArray.values;
|
|
17996
18022
|
|
|
17997
18023
|
// `Object.values` method
|
|
17998
18024
|
// https://tc39.es/ecma262/#sec-object.values
|
|
17999
|
-
$$
|
|
18025
|
+
$$4({ target: 'Object', stat: true }, {
|
|
18000
18026
|
values: function values(O) {
|
|
18001
18027
|
return $values(O);
|
|
18002
18028
|
}
|
|
18003
18029
|
});
|
|
18004
18030
|
|
|
18005
|
-
var $$
|
|
18031
|
+
var $$3 = _export;
|
|
18006
18032
|
var $find = arrayIteration.find;
|
|
18007
18033
|
var addToUnscopables = addToUnscopables$3;
|
|
18008
18034
|
|
|
@@ -18014,7 +18040,7 @@ if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
|
18014
18040
|
|
|
18015
18041
|
// `Array.prototype.find` method
|
|
18016
18042
|
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
18017
|
-
$$
|
|
18043
|
+
$$3({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
18018
18044
|
find: function find(callbackfn /* , that = undefined */) {
|
|
18019
18045
|
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
18020
18046
|
}
|
|
@@ -20493,9 +20519,9 @@ var MobileMoneyCharge = {
|
|
|
20493
20519
|
return MobileMoneyAPI.charge(params).then(function (response) {
|
|
20494
20520
|
if (LISTENABLE_CHARGE_STATUSES.includes(response.status)) {
|
|
20495
20521
|
_this.mobileMoney = response;
|
|
20496
|
-
|
|
20497
|
-
|
|
20498
|
-
|
|
20522
|
+
if (response.status === 'success' && response.data && response.data.display && response.data.display.otpSentCount === 1) {
|
|
20523
|
+
_this.logTokenRequest('mobile money');
|
|
20524
|
+
}
|
|
20499
20525
|
}
|
|
20500
20526
|
return response;
|
|
20501
20527
|
});
|
|
@@ -20581,6 +20607,9 @@ var MobileMoneyCharge = {
|
|
|
20581
20607
|
};
|
|
20582
20608
|
return this.listenForCharge(listenerOptions, callback);
|
|
20583
20609
|
},
|
|
20610
|
+
// Unlike every sibling listener, this returns a teardown function rather than a
|
|
20611
|
+
// promise, so it throws synchronously instead of rejecting. A caller in a
|
|
20612
|
+
// non-async event handler gets an uncaught throw, not an unhandled rejection.
|
|
20584
20613
|
listenForMobileMoneyConfirmation: function listenForMobileMoneyConfirmation(callback, pusherChannel) {
|
|
20585
20614
|
var data = this.mobileMoney.data;
|
|
20586
20615
|
var confirmationChannel = pusherChannel || data && data.confirm_channel_name;
|
|
@@ -20752,7 +20781,7 @@ var DirectDebitCharge = {
|
|
|
20752
20781
|
};
|
|
20753
20782
|
|
|
20754
20783
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
20755
|
-
var fails$
|
|
20784
|
+
var fails$2 = fails$x;
|
|
20756
20785
|
var whitespaces = whitespaces$3;
|
|
20757
20786
|
|
|
20758
20787
|
var non = '\u200B\u0085\u180E';
|
|
@@ -20760,20 +20789,20 @@ var non = '\u200B\u0085\u180E';
|
|
|
20760
20789
|
// check that a method works with the correct list
|
|
20761
20790
|
// of whitespaces and has a correct name
|
|
20762
20791
|
var stringTrimForced = function (METHOD_NAME) {
|
|
20763
|
-
return fails$
|
|
20792
|
+
return fails$2(function () {
|
|
20764
20793
|
return !!whitespaces[METHOD_NAME]()
|
|
20765
20794
|
|| non[METHOD_NAME]() !== non
|
|
20766
20795
|
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
|
|
20767
20796
|
});
|
|
20768
20797
|
};
|
|
20769
20798
|
|
|
20770
|
-
var $$
|
|
20799
|
+
var $$2 = _export;
|
|
20771
20800
|
var $trim = stringTrim.trim;
|
|
20772
20801
|
var forcedStringTrimMethod = stringTrimForced;
|
|
20773
20802
|
|
|
20774
20803
|
// `String.prototype.trim` method
|
|
20775
20804
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
20776
|
-
$$
|
|
20805
|
+
$$2({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
20777
20806
|
trim: function trim() {
|
|
20778
20807
|
return $trim(this);
|
|
20779
20808
|
}
|
|
@@ -21012,6 +21041,449 @@ var InstalmentsCharge = {
|
|
|
21012
21041
|
}
|
|
21013
21042
|
};
|
|
21014
21043
|
|
|
21044
|
+
var $$1 = _export;
|
|
21045
|
+
var global$3 = global$V;
|
|
21046
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
21047
|
+
var isForced = isForced_1;
|
|
21048
|
+
var redefine = redefine$b.exports;
|
|
21049
|
+
var InternalMetadataModule$1 = internalMetadata.exports;
|
|
21050
|
+
var iterate$1 = iterate$3;
|
|
21051
|
+
var anInstance$1 = anInstance$5;
|
|
21052
|
+
var isCallable = isCallable$l;
|
|
21053
|
+
var isObject$2 = isObject$l;
|
|
21054
|
+
var fails$1 = fails$x;
|
|
21055
|
+
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
|
|
21056
|
+
var setToStringTag = setToStringTag$6;
|
|
21057
|
+
var inheritIfRequired = inheritIfRequired$3;
|
|
21058
|
+
|
|
21059
|
+
var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
|
|
21060
|
+
var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
|
|
21061
|
+
var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
|
|
21062
|
+
var ADDER = IS_MAP ? 'set' : 'add';
|
|
21063
|
+
var NativeConstructor = global$3[CONSTRUCTOR_NAME];
|
|
21064
|
+
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
|
|
21065
|
+
var Constructor = NativeConstructor;
|
|
21066
|
+
var exported = {};
|
|
21067
|
+
|
|
21068
|
+
var fixMethod = function (KEY) {
|
|
21069
|
+
var uncurriedNativeMethod = uncurryThis$3(NativePrototype[KEY]);
|
|
21070
|
+
redefine(NativePrototype, KEY,
|
|
21071
|
+
KEY == 'add' ? function add(value) {
|
|
21072
|
+
uncurriedNativeMethod(this, value === 0 ? 0 : value);
|
|
21073
|
+
return this;
|
|
21074
|
+
} : KEY == 'delete' ? function (key) {
|
|
21075
|
+
return IS_WEAK && !isObject$2(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
21076
|
+
} : KEY == 'get' ? function get(key) {
|
|
21077
|
+
return IS_WEAK && !isObject$2(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
21078
|
+
} : KEY == 'has' ? function has(key) {
|
|
21079
|
+
return IS_WEAK && !isObject$2(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
|
|
21080
|
+
} : function set(key, value) {
|
|
21081
|
+
uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
|
|
21082
|
+
return this;
|
|
21083
|
+
}
|
|
21084
|
+
);
|
|
21085
|
+
};
|
|
21086
|
+
|
|
21087
|
+
var REPLACE = isForced(
|
|
21088
|
+
CONSTRUCTOR_NAME,
|
|
21089
|
+
!isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$1(function () {
|
|
21090
|
+
new NativeConstructor().entries().next();
|
|
21091
|
+
}))
|
|
21092
|
+
);
|
|
21093
|
+
|
|
21094
|
+
if (REPLACE) {
|
|
21095
|
+
// create collection constructor
|
|
21096
|
+
Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
|
|
21097
|
+
InternalMetadataModule$1.enable();
|
|
21098
|
+
} else if (isForced(CONSTRUCTOR_NAME, true)) {
|
|
21099
|
+
var instance = new Constructor();
|
|
21100
|
+
// early implementations not supports chaining
|
|
21101
|
+
var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
|
|
21102
|
+
// V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
|
|
21103
|
+
var THROWS_ON_PRIMITIVES = fails$1(function () { instance.has(1); });
|
|
21104
|
+
// most early implementations doesn't supports iterables, most modern - not close it correctly
|
|
21105
|
+
// eslint-disable-next-line no-new -- required for testing
|
|
21106
|
+
var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });
|
|
21107
|
+
// for early implementations -0 and +0 not the same
|
|
21108
|
+
var BUGGY_ZERO = !IS_WEAK && fails$1(function () {
|
|
21109
|
+
// V8 ~ Chromium 42- fails only with 5+ elements
|
|
21110
|
+
var $instance = new NativeConstructor();
|
|
21111
|
+
var index = 5;
|
|
21112
|
+
while (index--) $instance[ADDER](index, index);
|
|
21113
|
+
return !$instance.has(-0);
|
|
21114
|
+
});
|
|
21115
|
+
|
|
21116
|
+
if (!ACCEPT_ITERABLES) {
|
|
21117
|
+
Constructor = wrapper(function (dummy, iterable) {
|
|
21118
|
+
anInstance$1(dummy, NativePrototype);
|
|
21119
|
+
var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
|
|
21120
|
+
if (iterable != undefined) iterate$1(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
|
|
21121
|
+
return that;
|
|
21122
|
+
});
|
|
21123
|
+
Constructor.prototype = NativePrototype;
|
|
21124
|
+
NativePrototype.constructor = Constructor;
|
|
21125
|
+
}
|
|
21126
|
+
|
|
21127
|
+
if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
|
|
21128
|
+
fixMethod('delete');
|
|
21129
|
+
fixMethod('has');
|
|
21130
|
+
IS_MAP && fixMethod('get');
|
|
21131
|
+
}
|
|
21132
|
+
|
|
21133
|
+
if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
|
|
21134
|
+
|
|
21135
|
+
// weak collections should not contains .clear method
|
|
21136
|
+
if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;
|
|
21137
|
+
}
|
|
21138
|
+
|
|
21139
|
+
exported[CONSTRUCTOR_NAME] = Constructor;
|
|
21140
|
+
$$1({ global: true, forced: Constructor != NativeConstructor }, exported);
|
|
21141
|
+
|
|
21142
|
+
setToStringTag(Constructor, CONSTRUCTOR_NAME);
|
|
21143
|
+
|
|
21144
|
+
if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
|
|
21145
|
+
|
|
21146
|
+
return Constructor;
|
|
21147
|
+
};
|
|
21148
|
+
|
|
21149
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
21150
|
+
var redefineAll$1 = redefineAll$4;
|
|
21151
|
+
var getWeakData = internalMetadata.exports.getWeakData;
|
|
21152
|
+
var anObject = anObject$f;
|
|
21153
|
+
var isObject$1 = isObject$l;
|
|
21154
|
+
var anInstance = anInstance$5;
|
|
21155
|
+
var iterate = iterate$3;
|
|
21156
|
+
var ArrayIterationModule = arrayIteration;
|
|
21157
|
+
var hasOwn = hasOwnProperty_1;
|
|
21158
|
+
var InternalStateModule = internalState;
|
|
21159
|
+
|
|
21160
|
+
var setInternalState = InternalStateModule.set;
|
|
21161
|
+
var internalStateGetterFor = InternalStateModule.getterFor;
|
|
21162
|
+
var find = ArrayIterationModule.find;
|
|
21163
|
+
var findIndex = ArrayIterationModule.findIndex;
|
|
21164
|
+
var splice = uncurryThis$2([].splice);
|
|
21165
|
+
var id = 0;
|
|
21166
|
+
|
|
21167
|
+
// fallback for uncaught frozen keys
|
|
21168
|
+
var uncaughtFrozenStore = function (store) {
|
|
21169
|
+
return store.frozen || (store.frozen = new UncaughtFrozenStore());
|
|
21170
|
+
};
|
|
21171
|
+
|
|
21172
|
+
var UncaughtFrozenStore = function () {
|
|
21173
|
+
this.entries = [];
|
|
21174
|
+
};
|
|
21175
|
+
|
|
21176
|
+
var findUncaughtFrozen = function (store, key) {
|
|
21177
|
+
return find(store.entries, function (it) {
|
|
21178
|
+
return it[0] === key;
|
|
21179
|
+
});
|
|
21180
|
+
};
|
|
21181
|
+
|
|
21182
|
+
UncaughtFrozenStore.prototype = {
|
|
21183
|
+
get: function (key) {
|
|
21184
|
+
var entry = findUncaughtFrozen(this, key);
|
|
21185
|
+
if (entry) return entry[1];
|
|
21186
|
+
},
|
|
21187
|
+
has: function (key) {
|
|
21188
|
+
return !!findUncaughtFrozen(this, key);
|
|
21189
|
+
},
|
|
21190
|
+
set: function (key, value) {
|
|
21191
|
+
var entry = findUncaughtFrozen(this, key);
|
|
21192
|
+
if (entry) entry[1] = value;
|
|
21193
|
+
else this.entries.push([key, value]);
|
|
21194
|
+
},
|
|
21195
|
+
'delete': function (key) {
|
|
21196
|
+
var index = findIndex(this.entries, function (it) {
|
|
21197
|
+
return it[0] === key;
|
|
21198
|
+
});
|
|
21199
|
+
if (~index) splice(this.entries, index, 1);
|
|
21200
|
+
return !!~index;
|
|
21201
|
+
}
|
|
21202
|
+
};
|
|
21203
|
+
|
|
21204
|
+
var collectionWeak$1 = {
|
|
21205
|
+
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
|
|
21206
|
+
var Constructor = wrapper(function (that, iterable) {
|
|
21207
|
+
anInstance(that, Prototype);
|
|
21208
|
+
setInternalState(that, {
|
|
21209
|
+
type: CONSTRUCTOR_NAME,
|
|
21210
|
+
id: id++,
|
|
21211
|
+
frozen: undefined
|
|
21212
|
+
});
|
|
21213
|
+
if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
|
|
21214
|
+
});
|
|
21215
|
+
|
|
21216
|
+
var Prototype = Constructor.prototype;
|
|
21217
|
+
|
|
21218
|
+
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
21219
|
+
|
|
21220
|
+
var define = function (that, key, value) {
|
|
21221
|
+
var state = getInternalState(that);
|
|
21222
|
+
var data = getWeakData(anObject(key), true);
|
|
21223
|
+
if (data === true) uncaughtFrozenStore(state).set(key, value);
|
|
21224
|
+
else data[state.id] = value;
|
|
21225
|
+
return that;
|
|
21226
|
+
};
|
|
21227
|
+
|
|
21228
|
+
redefineAll$1(Prototype, {
|
|
21229
|
+
// `{ WeakMap, WeakSet }.prototype.delete(key)` methods
|
|
21230
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.delete
|
|
21231
|
+
// https://tc39.es/ecma262/#sec-weakset.prototype.delete
|
|
21232
|
+
'delete': function (key) {
|
|
21233
|
+
var state = getInternalState(this);
|
|
21234
|
+
if (!isObject$1(key)) return false;
|
|
21235
|
+
var data = getWeakData(key);
|
|
21236
|
+
if (data === true) return uncaughtFrozenStore(state)['delete'](key);
|
|
21237
|
+
return data && hasOwn(data, state.id) && delete data[state.id];
|
|
21238
|
+
},
|
|
21239
|
+
// `{ WeakMap, WeakSet }.prototype.has(key)` methods
|
|
21240
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.has
|
|
21241
|
+
// https://tc39.es/ecma262/#sec-weakset.prototype.has
|
|
21242
|
+
has: function has(key) {
|
|
21243
|
+
var state = getInternalState(this);
|
|
21244
|
+
if (!isObject$1(key)) return false;
|
|
21245
|
+
var data = getWeakData(key);
|
|
21246
|
+
if (data === true) return uncaughtFrozenStore(state).has(key);
|
|
21247
|
+
return data && hasOwn(data, state.id);
|
|
21248
|
+
}
|
|
21249
|
+
});
|
|
21250
|
+
|
|
21251
|
+
redefineAll$1(Prototype, IS_MAP ? {
|
|
21252
|
+
// `WeakMap.prototype.get(key)` method
|
|
21253
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.get
|
|
21254
|
+
get: function get(key) {
|
|
21255
|
+
var state = getInternalState(this);
|
|
21256
|
+
if (isObject$1(key)) {
|
|
21257
|
+
var data = getWeakData(key);
|
|
21258
|
+
if (data === true) return uncaughtFrozenStore(state).get(key);
|
|
21259
|
+
return data ? data[state.id] : undefined;
|
|
21260
|
+
}
|
|
21261
|
+
},
|
|
21262
|
+
// `WeakMap.prototype.set(key, value)` method
|
|
21263
|
+
// https://tc39.es/ecma262/#sec-weakmap.prototype.set
|
|
21264
|
+
set: function set(key, value) {
|
|
21265
|
+
return define(this, key, value);
|
|
21266
|
+
}
|
|
21267
|
+
} : {
|
|
21268
|
+
// `WeakSet.prototype.add(value)` method
|
|
21269
|
+
// https://tc39.es/ecma262/#sec-weakset.prototype.add
|
|
21270
|
+
add: function add(value) {
|
|
21271
|
+
return define(this, value, true);
|
|
21272
|
+
}
|
|
21273
|
+
});
|
|
21274
|
+
|
|
21275
|
+
return Constructor;
|
|
21276
|
+
}
|
|
21277
|
+
};
|
|
21278
|
+
|
|
21279
|
+
var global$2 = global$V;
|
|
21280
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
21281
|
+
var redefineAll = redefineAll$4;
|
|
21282
|
+
var InternalMetadataModule = internalMetadata.exports;
|
|
21283
|
+
var collection = collection$1;
|
|
21284
|
+
var collectionWeak = collectionWeak$1;
|
|
21285
|
+
var isObject = isObject$l;
|
|
21286
|
+
var isExtensible = objectIsExtensible;
|
|
21287
|
+
var enforceInternalState = internalState.enforce;
|
|
21288
|
+
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
21289
|
+
|
|
21290
|
+
var IS_IE11 = !global$2.ActiveXObject && 'ActiveXObject' in global$2;
|
|
21291
|
+
var InternalWeakMap;
|
|
21292
|
+
|
|
21293
|
+
var wrapper = function (init) {
|
|
21294
|
+
return function WeakMap() {
|
|
21295
|
+
return init(this, arguments.length ? arguments[0] : undefined);
|
|
21296
|
+
};
|
|
21297
|
+
};
|
|
21298
|
+
|
|
21299
|
+
// `WeakMap` constructor
|
|
21300
|
+
// https://tc39.es/ecma262/#sec-weakmap-constructor
|
|
21301
|
+
var $WeakMap = collection('WeakMap', wrapper, collectionWeak);
|
|
21302
|
+
|
|
21303
|
+
// IE11 WeakMap frozen keys fix
|
|
21304
|
+
// We can't use feature detection because it crash some old IE builds
|
|
21305
|
+
// https://github.com/zloirock/core-js/issues/485
|
|
21306
|
+
if (NATIVE_WEAK_MAP && IS_IE11) {
|
|
21307
|
+
InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
|
|
21308
|
+
InternalMetadataModule.enable();
|
|
21309
|
+
var WeakMapPrototype = $WeakMap.prototype;
|
|
21310
|
+
var nativeDelete = uncurryThis$1(WeakMapPrototype['delete']);
|
|
21311
|
+
var nativeHas = uncurryThis$1(WeakMapPrototype.has);
|
|
21312
|
+
var nativeGet = uncurryThis$1(WeakMapPrototype.get);
|
|
21313
|
+
var nativeSet = uncurryThis$1(WeakMapPrototype.set);
|
|
21314
|
+
redefineAll(WeakMapPrototype, {
|
|
21315
|
+
'delete': function (key) {
|
|
21316
|
+
if (isObject(key) && !isExtensible(key)) {
|
|
21317
|
+
var state = enforceInternalState(this);
|
|
21318
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
21319
|
+
return nativeDelete(this, key) || state.frozen['delete'](key);
|
|
21320
|
+
} return nativeDelete(this, key);
|
|
21321
|
+
},
|
|
21322
|
+
has: function has(key) {
|
|
21323
|
+
if (isObject(key) && !isExtensible(key)) {
|
|
21324
|
+
var state = enforceInternalState(this);
|
|
21325
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
21326
|
+
return nativeHas(this, key) || state.frozen.has(key);
|
|
21327
|
+
} return nativeHas(this, key);
|
|
21328
|
+
},
|
|
21329
|
+
get: function get(key) {
|
|
21330
|
+
if (isObject(key) && !isExtensible(key)) {
|
|
21331
|
+
var state = enforceInternalState(this);
|
|
21332
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
21333
|
+
return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);
|
|
21334
|
+
} return nativeGet(this, key);
|
|
21335
|
+
},
|
|
21336
|
+
set: function set(key, value) {
|
|
21337
|
+
if (isObject(key) && !isExtensible(key)) {
|
|
21338
|
+
var state = enforceInternalState(this);
|
|
21339
|
+
if (!state.frozen) state.frozen = new InternalWeakMap();
|
|
21340
|
+
nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);
|
|
21341
|
+
} else nativeSet(this, key, value);
|
|
21342
|
+
return this;
|
|
21343
|
+
}
|
|
21344
|
+
});
|
|
21345
|
+
}
|
|
21346
|
+
|
|
21347
|
+
// A 4xx is the server refusing the charge, and its body carries the merchant-safe reason, so parse
|
|
21348
|
+
// it rather than let axios discard it. A 5xx is not a refusal — it answers "try again later" and
|
|
21349
|
+
// may even land after the order was created — so it rethrows, same as the status poll below.
|
|
21350
|
+
var parseChargeRefusal = function parseChargeRefusal(error) {
|
|
21351
|
+
if (!error.response || error.response.status >= 500) throw error;
|
|
21352
|
+
return ChargeResponses.parse(error.response.data);
|
|
21353
|
+
};
|
|
21354
|
+
var PayflexAPI = {
|
|
21355
|
+
charge: function charge(_ref) {
|
|
21356
|
+
var accessCode = _ref.accessCode,
|
|
21357
|
+
publicKey = _ref.publicKey,
|
|
21358
|
+
deviceFingerprint = _ref.deviceFingerprint,
|
|
21359
|
+
checkoutMode = _ref.checkoutMode,
|
|
21360
|
+
successUrl = _ref.successUrl,
|
|
21361
|
+
cancelUrl = _ref.cancelUrl;
|
|
21362
|
+
var url = new URL('transaction/charge', configToUse.paystackApiUrl).toString();
|
|
21363
|
+
var language = getLanguage();
|
|
21364
|
+
var headers = _objectSpread2({
|
|
21365
|
+
Authorization: "Bearer ".concat(publicKey)
|
|
21366
|
+
}, language && {
|
|
21367
|
+
'Accept-Language': language
|
|
21368
|
+
});
|
|
21369
|
+
var params = _objectSpread2(_objectSpread2({
|
|
21370
|
+
access_code: accessCode
|
|
21371
|
+
}, deviceFingerprint && {
|
|
21372
|
+
device_id: deviceFingerprint
|
|
21373
|
+
}), {}, {
|
|
21374
|
+
payflex: _objectSpread2(_objectSpread2(_objectSpread2({}, checkoutMode && {
|
|
21375
|
+
checkout_mode: checkoutMode
|
|
21376
|
+
}), successUrl && {
|
|
21377
|
+
success_url: successUrl
|
|
21378
|
+
}), cancelUrl && {
|
|
21379
|
+
cancel_url: cancelUrl
|
|
21380
|
+
})
|
|
21381
|
+
});
|
|
21382
|
+
return axiosInstance.post(url, params, {
|
|
21383
|
+
headers: headers
|
|
21384
|
+
}).then(function (response) {
|
|
21385
|
+
return ChargeResponses.parse(response.data);
|
|
21386
|
+
}).catch(parseChargeRefusal);
|
|
21387
|
+
},
|
|
21388
|
+
// Deliberately has no error branch. Only a 2xx body is an answer about the payment; a 404, a
|
|
21389
|
+
// proxy 5xx or an expired key is the poll failing to reach a verdict, and resolving those to
|
|
21390
|
+
// `failed` would have checkout conclude an outcome the server never gave it.
|
|
21391
|
+
requery: function requery(_ref2) {
|
|
21392
|
+
var transactionReference = _ref2.transactionReference,
|
|
21393
|
+
publicKey = _ref2.publicKey;
|
|
21394
|
+
var url = new URL("payflex/requery/".concat(encodeURIComponent(transactionReference)), configToUse.paystackApiUrl).toString();
|
|
21395
|
+
var language = getLanguage();
|
|
21396
|
+
var headers = _objectSpread2({
|
|
21397
|
+
Authorization: "Bearer ".concat(publicKey)
|
|
21398
|
+
}, language && {
|
|
21399
|
+
'Accept-Language': language
|
|
21400
|
+
});
|
|
21401
|
+
return axiosInstance.get(url, {
|
|
21402
|
+
headers: headers
|
|
21403
|
+
}).then(function (response) {
|
|
21404
|
+
return ChargeResponses.parse(response.data);
|
|
21405
|
+
});
|
|
21406
|
+
}
|
|
21407
|
+
};
|
|
21408
|
+
|
|
21409
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
21410
|
+
var PAYFLEX_CHANNEL = 'payflex';
|
|
21411
|
+
|
|
21412
|
+
// Checkout may never conclude failure on a timer, so the poll runs long and overlaps: a timer, a
|
|
21413
|
+
// window-focus re-check and a Pusher event can all be in flight together. saveLog() re-POSTs the
|
|
21414
|
+
// whole history per entry, so a run gets one pending entry. A hand-off starts a run; success or
|
|
21415
|
+
// failure ends it; a straggler resolving after either is dropped. The hand-off has to reset on its
|
|
21416
|
+
// own because a Pusher outcome concludes without passing through requeryPayflex.
|
|
21417
|
+
var pollRuns = new WeakMap();
|
|
21418
|
+
var runFor = function runFor(transaction) {
|
|
21419
|
+
if (!pollRuns.has(transaction)) {
|
|
21420
|
+
pollRuns.set(transaction, {
|
|
21421
|
+
pendingLogged: false,
|
|
21422
|
+
concluded: false
|
|
21423
|
+
});
|
|
21424
|
+
}
|
|
21425
|
+
return pollRuns.get(transaction);
|
|
21426
|
+
};
|
|
21427
|
+
var PayflexCharge = {
|
|
21428
|
+
chargePayflex: function chargePayflex() {
|
|
21429
|
+
var _this = this;
|
|
21430
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
21431
|
+
checkoutMode = _ref.checkoutMode,
|
|
21432
|
+
successUrl = _ref.successUrl,
|
|
21433
|
+
cancelUrl = _ref.cancelUrl;
|
|
21434
|
+
pollRuns.delete(this);
|
|
21435
|
+
this.logAttempt(PAYFLEX_CHANNEL);
|
|
21436
|
+
if (checkoutMode) {
|
|
21437
|
+
this.logPayflexPresentationMode(checkoutMode);
|
|
21438
|
+
}
|
|
21439
|
+
return PayflexAPI.charge({
|
|
21440
|
+
accessCode: this.accessCode,
|
|
21441
|
+
publicKey: this.merchant.key,
|
|
21442
|
+
deviceFingerprint: this.deviceFingerprint,
|
|
21443
|
+
checkoutMode: checkoutMode,
|
|
21444
|
+
successUrl: successUrl,
|
|
21445
|
+
cancelUrl: cancelUrl
|
|
21446
|
+
}).then(function (response) {
|
|
21447
|
+
var usedMode = response.data && response.data.checkout_mode;
|
|
21448
|
+
if (checkoutMode && usedMode && usedMode !== checkoutMode) {
|
|
21449
|
+
_this.logPayflexPresentationModeMismatch({
|
|
21450
|
+
requested: checkoutMode,
|
|
21451
|
+
used: usedMode
|
|
21452
|
+
});
|
|
21453
|
+
}
|
|
21454
|
+
_this.logAPIResponse(response, PAYFLEX_CHANNEL);
|
|
21455
|
+
return response;
|
|
21456
|
+
});
|
|
21457
|
+
},
|
|
21458
|
+
requeryPayflex: function requeryPayflex() {
|
|
21459
|
+
var _this2 = this;
|
|
21460
|
+
return PayflexAPI.requery({
|
|
21461
|
+
transactionReference: this.reference,
|
|
21462
|
+
publicKey: this.merchant.key
|
|
21463
|
+
}).then(function (response) {
|
|
21464
|
+
var run = runFor(_this2);
|
|
21465
|
+
if (response.status === 'success' || response.status === 'failed') {
|
|
21466
|
+
run.concluded = true;
|
|
21467
|
+
run.pendingLogged = false;
|
|
21468
|
+
_this2.logAPIResponse(response, PAYFLEX_CHANNEL);
|
|
21469
|
+
} else if (response.status !== 'pending') {
|
|
21470
|
+
_this2.logAPIResponse(response, PAYFLEX_CHANNEL);
|
|
21471
|
+
} else if (!run.pendingLogged && !run.concluded) {
|
|
21472
|
+
run.pendingLogged = true;
|
|
21473
|
+
_this2.logAPIResponse(response, PAYFLEX_CHANNEL);
|
|
21474
|
+
}
|
|
21475
|
+
return response;
|
|
21476
|
+
});
|
|
21477
|
+
},
|
|
21478
|
+
listenForPayflexCharge: function listenForPayflexCharge(callback) {
|
|
21479
|
+
var listenerOptions = {
|
|
21480
|
+
paymentMethod: PAYFLEX_CHANNEL,
|
|
21481
|
+
channel: "PAYFLEX_".concat(this.id)
|
|
21482
|
+
};
|
|
21483
|
+
return this.listenForCharge(listenerOptions, callback);
|
|
21484
|
+
}
|
|
21485
|
+
};
|
|
21486
|
+
|
|
21015
21487
|
var ChargeFunctions = {
|
|
21016
21488
|
get: function get(channel) {
|
|
21017
21489
|
var chargeFunctions = {
|
|
@@ -21029,7 +21501,8 @@ var ChargeFunctions = {
|
|
|
21029
21501
|
paypal: PayPalCharge,
|
|
21030
21502
|
capitec_pay: CapitecPayCharge,
|
|
21031
21503
|
union_pay: ChinaUnionPayCharge,
|
|
21032
|
-
instalments: InstalmentsCharge
|
|
21504
|
+
instalments: InstalmentsCharge,
|
|
21505
|
+
payflex: PayflexCharge
|
|
21033
21506
|
};
|
|
21034
21507
|
return chargeFunctions[channel];
|
|
21035
21508
|
}
|
|
@@ -21073,11 +21546,11 @@ var AnalyticsUtils = {
|
|
|
21073
21546
|
};
|
|
21074
21547
|
|
|
21075
21548
|
var $ = _export;
|
|
21076
|
-
var global$1 = global$
|
|
21549
|
+
var global$1 = global$V;
|
|
21077
21550
|
var getBuiltIn = getBuiltIn$a;
|
|
21078
21551
|
var apply = functionApply;
|
|
21079
21552
|
var uncurryThis = functionUncurryThis;
|
|
21080
|
-
var fails = fails$
|
|
21553
|
+
var fails = fails$x;
|
|
21081
21554
|
|
|
21082
21555
|
var Array$1 = global$1.Array;
|
|
21083
21556
|
var $stringify = getBuiltIn('JSON', 'stringify');
|
|
@@ -21242,7 +21715,36 @@ var CapitecPayAnalytics = {
|
|
|
21242
21715
|
}
|
|
21243
21716
|
};
|
|
21244
21717
|
|
|
21245
|
-
var
|
|
21718
|
+
var PayflexAnalytics = {
|
|
21719
|
+
logPayflexPresentationMode: function logPayflexPresentationMode(checkoutMode) {
|
|
21720
|
+
return this.logHistoryEntry({
|
|
21721
|
+
type: 'action',
|
|
21722
|
+
message: "Opening Payflex as: ".concat(checkoutMode),
|
|
21723
|
+
channel: PAYFLEX_CHANNEL,
|
|
21724
|
+
time: this.getTimeSpent()
|
|
21725
|
+
});
|
|
21726
|
+
},
|
|
21727
|
+
logPayflexPresentationModeMismatch: function logPayflexPresentationModeMismatch(_ref) {
|
|
21728
|
+
var requested = _ref.requested,
|
|
21729
|
+
used = _ref.used;
|
|
21730
|
+
return this.logHistoryEntry({
|
|
21731
|
+
type: 'action',
|
|
21732
|
+
message: "Payflex opened as ".concat(used, " after requesting ").concat(requested),
|
|
21733
|
+
channel: PAYFLEX_CHANNEL,
|
|
21734
|
+
time: this.getTimeSpent()
|
|
21735
|
+
});
|
|
21736
|
+
},
|
|
21737
|
+
logPayflexStatusRecheck: function logPayflexStatusRecheck() {
|
|
21738
|
+
return this.logHistoryEntry({
|
|
21739
|
+
type: 'action',
|
|
21740
|
+
message: 'Selected check payment status again',
|
|
21741
|
+
channel: PAYFLEX_CHANNEL,
|
|
21742
|
+
time: this.getTimeSpent()
|
|
21743
|
+
});
|
|
21744
|
+
}
|
|
21745
|
+
};
|
|
21746
|
+
|
|
21747
|
+
var AnalyticsFunctions$1 = _objectSpread2(_objectSpread2(_objectSpread2({}, CapitecPayAnalytics), PayflexAnalytics), {}, {
|
|
21246
21748
|
initializeLog: function initializeLog(log) {
|
|
21247
21749
|
this.log = AnalyticsUtils.initializeLog(log);
|
|
21248
21750
|
},
|