@paystack/checkout-js 1.10.1 → 1.11.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkout.js +2 -2
- package/es/checkout.js +538 -423
- package/lib/checkout.js +538 -423
- package/package.json +1 -1
package/lib/checkout.js
CHANGED
|
@@ -1129,7 +1129,7 @@ var check = function (it) {
|
|
|
1129
1129
|
};
|
|
1130
1130
|
|
|
1131
1131
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
1132
|
-
var global$
|
|
1132
|
+
var global$M =
|
|
1133
1133
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
1134
1134
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
1135
1135
|
check(typeof window == 'object' && window) ||
|
|
@@ -1203,32 +1203,32 @@ var NATIVE_BIND$2 = functionBindNative;
|
|
|
1203
1203
|
var FunctionPrototype$2 = Function.prototype;
|
|
1204
1204
|
var bind$9 = FunctionPrototype$2.bind;
|
|
1205
1205
|
var call$b = FunctionPrototype$2.call;
|
|
1206
|
-
var uncurryThis$
|
|
1206
|
+
var uncurryThis$r = NATIVE_BIND$2 && bind$9.bind(call$b, call$b);
|
|
1207
1207
|
|
|
1208
1208
|
var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
|
|
1209
|
-
return fn && uncurryThis$
|
|
1209
|
+
return fn && uncurryThis$r(fn);
|
|
1210
1210
|
} : function (fn) {
|
|
1211
1211
|
return fn && function () {
|
|
1212
1212
|
return call$b.apply(fn, arguments);
|
|
1213
1213
|
};
|
|
1214
1214
|
};
|
|
1215
1215
|
|
|
1216
|
-
var uncurryThis$
|
|
1216
|
+
var uncurryThis$q = functionUncurryThis;
|
|
1217
1217
|
|
|
1218
|
-
var toString$
|
|
1219
|
-
var stringSlice$1 = uncurryThis$
|
|
1218
|
+
var toString$9 = uncurryThis$q({}.toString);
|
|
1219
|
+
var stringSlice$1 = uncurryThis$q(''.slice);
|
|
1220
1220
|
|
|
1221
1221
|
var classofRaw$1 = function (it) {
|
|
1222
|
-
return stringSlice$1(toString$
|
|
1222
|
+
return stringSlice$1(toString$9(it), 8, -1);
|
|
1223
1223
|
};
|
|
1224
1224
|
|
|
1225
|
-
var global$
|
|
1226
|
-
var uncurryThis$
|
|
1225
|
+
var global$L = global$M;
|
|
1226
|
+
var uncurryThis$p = functionUncurryThis;
|
|
1227
1227
|
var fails$m = fails$p;
|
|
1228
|
-
var classof$
|
|
1228
|
+
var classof$a = classofRaw$1;
|
|
1229
1229
|
|
|
1230
|
-
var Object$4 = global$
|
|
1231
|
-
var split = uncurryThis$
|
|
1230
|
+
var Object$4 = global$L.Object;
|
|
1231
|
+
var split = uncurryThis$p(''.split);
|
|
1232
1232
|
|
|
1233
1233
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
1234
1234
|
var indexedObject = fails$m(function () {
|
|
@@ -1236,26 +1236,26 @@ var indexedObject = fails$m(function () {
|
|
|
1236
1236
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1237
1237
|
return !Object$4('z').propertyIsEnumerable(0);
|
|
1238
1238
|
}) ? function (it) {
|
|
1239
|
-
return classof$
|
|
1239
|
+
return classof$a(it) == 'String' ? split(it, '') : Object$4(it);
|
|
1240
1240
|
} : Object$4;
|
|
1241
1241
|
|
|
1242
|
-
var global$
|
|
1242
|
+
var global$K = global$M;
|
|
1243
1243
|
|
|
1244
|
-
var TypeError$
|
|
1244
|
+
var TypeError$h = global$K.TypeError;
|
|
1245
1245
|
|
|
1246
1246
|
// `RequireObjectCoercible` abstract operation
|
|
1247
1247
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
1248
|
-
var requireObjectCoercible$
|
|
1249
|
-
if (it == undefined) throw TypeError$
|
|
1248
|
+
var requireObjectCoercible$4 = function (it) {
|
|
1249
|
+
if (it == undefined) throw TypeError$h("Can't call method on " + it);
|
|
1250
1250
|
return it;
|
|
1251
1251
|
};
|
|
1252
1252
|
|
|
1253
1253
|
// toObject with fallback for non-array-like ES3 strings
|
|
1254
1254
|
var IndexedObject$3 = indexedObject;
|
|
1255
|
-
var requireObjectCoercible$
|
|
1255
|
+
var requireObjectCoercible$3 = requireObjectCoercible$4;
|
|
1256
1256
|
|
|
1257
1257
|
var toIndexedObject$7 = function (it) {
|
|
1258
|
-
return IndexedObject$3(requireObjectCoercible$
|
|
1258
|
+
return IndexedObject$3(requireObjectCoercible$3(it));
|
|
1259
1259
|
};
|
|
1260
1260
|
|
|
1261
1261
|
// `IsCallable` abstract operation
|
|
@@ -1266,11 +1266,11 @@ var isCallable$g = function (argument) {
|
|
|
1266
1266
|
|
|
1267
1267
|
var isCallable$f = isCallable$g;
|
|
1268
1268
|
|
|
1269
|
-
var isObject$
|
|
1269
|
+
var isObject$h = function (it) {
|
|
1270
1270
|
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
1271
1271
|
};
|
|
1272
1272
|
|
|
1273
|
-
var global$
|
|
1273
|
+
var global$J = global$M;
|
|
1274
1274
|
var isCallable$e = isCallable$g;
|
|
1275
1275
|
|
|
1276
1276
|
var aFunction = function (argument) {
|
|
@@ -1278,22 +1278,22 @@ var aFunction = function (argument) {
|
|
|
1278
1278
|
};
|
|
1279
1279
|
|
|
1280
1280
|
var getBuiltIn$9 = function (namespace, method) {
|
|
1281
|
-
return arguments.length < 2 ? aFunction(global$
|
|
1281
|
+
return arguments.length < 2 ? aFunction(global$J[namespace]) : global$J[namespace] && global$J[namespace][method];
|
|
1282
1282
|
};
|
|
1283
1283
|
|
|
1284
|
-
var uncurryThis$
|
|
1284
|
+
var uncurryThis$o = functionUncurryThis;
|
|
1285
1285
|
|
|
1286
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
1286
|
+
var objectIsPrototypeOf = uncurryThis$o({}.isPrototypeOf);
|
|
1287
1287
|
|
|
1288
1288
|
var getBuiltIn$8 = getBuiltIn$9;
|
|
1289
1289
|
|
|
1290
1290
|
var engineUserAgent = getBuiltIn$8('navigator', 'userAgent') || '';
|
|
1291
1291
|
|
|
1292
|
-
var global$
|
|
1292
|
+
var global$I = global$M;
|
|
1293
1293
|
var userAgent$5 = engineUserAgent;
|
|
1294
1294
|
|
|
1295
|
-
var process$4 = global$
|
|
1296
|
-
var Deno = global$
|
|
1295
|
+
var process$4 = global$I.process;
|
|
1296
|
+
var Deno = global$I.Deno;
|
|
1297
1297
|
var versions = process$4 && process$4.versions || Deno && Deno.version;
|
|
1298
1298
|
var v8 = versions && versions.v8;
|
|
1299
1299
|
var match, version$1;
|
|
@@ -1340,13 +1340,13 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
1340
1340
|
&& !Symbol.sham
|
|
1341
1341
|
&& typeof Symbol.iterator == 'symbol';
|
|
1342
1342
|
|
|
1343
|
-
var global$
|
|
1343
|
+
var global$H = global$M;
|
|
1344
1344
|
var getBuiltIn$7 = getBuiltIn$9;
|
|
1345
1345
|
var isCallable$d = isCallable$g;
|
|
1346
1346
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
1347
1347
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
1348
1348
|
|
|
1349
|
-
var Object$3 = global$
|
|
1349
|
+
var Object$3 = global$H.Object;
|
|
1350
1350
|
|
|
1351
1351
|
var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
1352
1352
|
return typeof it == 'symbol';
|
|
@@ -1355,9 +1355,9 @@ var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
1355
1355
|
return isCallable$d($Symbol) && isPrototypeOf$4($Symbol.prototype, Object$3(it));
|
|
1356
1356
|
};
|
|
1357
1357
|
|
|
1358
|
-
var global$
|
|
1358
|
+
var global$G = global$M;
|
|
1359
1359
|
|
|
1360
|
-
var String$5 = global$
|
|
1360
|
+
var String$5 = global$G.String;
|
|
1361
1361
|
|
|
1362
1362
|
var tryToString$4 = function (argument) {
|
|
1363
1363
|
try {
|
|
@@ -1367,16 +1367,16 @@ var tryToString$4 = function (argument) {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
};
|
|
1369
1369
|
|
|
1370
|
-
var global$
|
|
1370
|
+
var global$F = global$M;
|
|
1371
1371
|
var isCallable$c = isCallable$g;
|
|
1372
1372
|
var tryToString$3 = tryToString$4;
|
|
1373
1373
|
|
|
1374
|
-
var TypeError$
|
|
1374
|
+
var TypeError$g = global$F.TypeError;
|
|
1375
1375
|
|
|
1376
1376
|
// `Assert: IsCallable(argument) is true`
|
|
1377
1377
|
var aCallable$6 = function (argument) {
|
|
1378
1378
|
if (isCallable$c(argument)) return argument;
|
|
1379
|
-
throw TypeError$
|
|
1379
|
+
throw TypeError$g(tryToString$3(argument) + ' is not a function');
|
|
1380
1380
|
};
|
|
1381
1381
|
|
|
1382
1382
|
var aCallable$5 = aCallable$6;
|
|
@@ -1388,43 +1388,43 @@ var getMethod$3 = function (V, P) {
|
|
|
1388
1388
|
return func == null ? undefined : aCallable$5(func);
|
|
1389
1389
|
};
|
|
1390
1390
|
|
|
1391
|
-
var global$
|
|
1391
|
+
var global$E = global$M;
|
|
1392
1392
|
var call$a = functionCall;
|
|
1393
1393
|
var isCallable$b = isCallable$g;
|
|
1394
|
-
var isObject$
|
|
1394
|
+
var isObject$g = isObject$h;
|
|
1395
1395
|
|
|
1396
|
-
var TypeError$
|
|
1396
|
+
var TypeError$f = global$E.TypeError;
|
|
1397
1397
|
|
|
1398
1398
|
// `OrdinaryToPrimitive` abstract operation
|
|
1399
1399
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
1400
1400
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
1401
1401
|
var fn, val;
|
|
1402
|
-
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$
|
|
1403
|
-
if (isCallable$b(fn = input.valueOf) && !isObject$
|
|
1404
|
-
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$
|
|
1405
|
-
throw TypeError$
|
|
1402
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$g(val = call$a(fn, input))) return val;
|
|
1403
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$g(val = call$a(fn, input))) return val;
|
|
1404
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$g(val = call$a(fn, input))) return val;
|
|
1405
|
+
throw TypeError$f("Can't convert object to primitive value");
|
|
1406
1406
|
};
|
|
1407
1407
|
|
|
1408
1408
|
var shared$4 = {exports: {}};
|
|
1409
1409
|
|
|
1410
|
-
var global$
|
|
1410
|
+
var global$D = global$M;
|
|
1411
1411
|
|
|
1412
1412
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1413
1413
|
var defineProperty$4 = Object.defineProperty;
|
|
1414
1414
|
|
|
1415
1415
|
var setGlobal$3 = function (key, value) {
|
|
1416
1416
|
try {
|
|
1417
|
-
defineProperty$4(global$
|
|
1417
|
+
defineProperty$4(global$D, key, { value: value, configurable: true, writable: true });
|
|
1418
1418
|
} catch (error) {
|
|
1419
|
-
global$
|
|
1419
|
+
global$D[key] = value;
|
|
1420
1420
|
} return value;
|
|
1421
1421
|
};
|
|
1422
1422
|
|
|
1423
|
-
var global$
|
|
1423
|
+
var global$C = global$M;
|
|
1424
1424
|
var setGlobal$2 = setGlobal$3;
|
|
1425
1425
|
|
|
1426
1426
|
var SHARED = '__core-js_shared__';
|
|
1427
|
-
var store$3 = global$
|
|
1427
|
+
var store$3 = global$C[SHARED] || setGlobal$2(SHARED, {});
|
|
1428
1428
|
|
|
1429
1429
|
var sharedStore = store$3;
|
|
1430
1430
|
|
|
@@ -1440,21 +1440,21 @@ var store$2 = sharedStore;
|
|
|
1440
1440
|
source: 'https://github.com/zloirock/core-js'
|
|
1441
1441
|
});
|
|
1442
1442
|
|
|
1443
|
-
var global$
|
|
1444
|
-
var requireObjectCoercible$
|
|
1443
|
+
var global$B = global$M;
|
|
1444
|
+
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
1445
1445
|
|
|
1446
|
-
var Object$2 = global$
|
|
1446
|
+
var Object$2 = global$B.Object;
|
|
1447
1447
|
|
|
1448
1448
|
// `ToObject` abstract operation
|
|
1449
1449
|
// https://tc39.es/ecma262/#sec-toobject
|
|
1450
1450
|
var toObject$6 = function (argument) {
|
|
1451
|
-
return Object$2(requireObjectCoercible$
|
|
1451
|
+
return Object$2(requireObjectCoercible$2(argument));
|
|
1452
1452
|
};
|
|
1453
1453
|
|
|
1454
|
-
var uncurryThis$
|
|
1454
|
+
var uncurryThis$n = functionUncurryThis;
|
|
1455
1455
|
var toObject$5 = toObject$6;
|
|
1456
1456
|
|
|
1457
|
-
var hasOwnProperty = uncurryThis$
|
|
1457
|
+
var hasOwnProperty = uncurryThis$n({}.hasOwnProperty);
|
|
1458
1458
|
|
|
1459
1459
|
// `HasOwnProperty` abstract operation
|
|
1460
1460
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -1462,17 +1462,17 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
1462
1462
|
return hasOwnProperty(toObject$5(it), key);
|
|
1463
1463
|
};
|
|
1464
1464
|
|
|
1465
|
-
var uncurryThis$
|
|
1465
|
+
var uncurryThis$m = functionUncurryThis;
|
|
1466
1466
|
|
|
1467
1467
|
var id$1 = 0;
|
|
1468
1468
|
var postfix = Math.random();
|
|
1469
|
-
var toString$
|
|
1469
|
+
var toString$8 = uncurryThis$m(1.0.toString);
|
|
1470
1470
|
|
|
1471
1471
|
var uid$3 = function (key) {
|
|
1472
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
1472
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$8(++id$1 + postfix, 36);
|
|
1473
1473
|
};
|
|
1474
1474
|
|
|
1475
|
-
var global$
|
|
1475
|
+
var global$A = global$M;
|
|
1476
1476
|
var shared$3 = shared$4.exports;
|
|
1477
1477
|
var hasOwn$b = hasOwnProperty_1;
|
|
1478
1478
|
var uid$2 = uid$3;
|
|
@@ -1480,11 +1480,11 @@ var NATIVE_SYMBOL = nativeSymbol;
|
|
|
1480
1480
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
1481
1481
|
|
|
1482
1482
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
1483
|
-
var Symbol$1 = global$
|
|
1483
|
+
var Symbol$1 = global$A.Symbol;
|
|
1484
1484
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
1485
1485
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$2;
|
|
1486
1486
|
|
|
1487
|
-
var wellKnownSymbol$
|
|
1487
|
+
var wellKnownSymbol$g = function (name) {
|
|
1488
1488
|
if (!hasOwn$b(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
1489
1489
|
var description = 'Symbol.' + name;
|
|
1490
1490
|
if (NATIVE_SYMBOL && hasOwn$b(Symbol$1, name)) {
|
|
@@ -1497,28 +1497,28 @@ var wellKnownSymbol$e = function (name) {
|
|
|
1497
1497
|
} return WellKnownSymbolsStore[name];
|
|
1498
1498
|
};
|
|
1499
1499
|
|
|
1500
|
-
var global$
|
|
1500
|
+
var global$z = global$M;
|
|
1501
1501
|
var call$9 = functionCall;
|
|
1502
|
-
var isObject$
|
|
1502
|
+
var isObject$f = isObject$h;
|
|
1503
1503
|
var isSymbol$2 = isSymbol$3;
|
|
1504
1504
|
var getMethod$2 = getMethod$3;
|
|
1505
1505
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
1506
|
-
var wellKnownSymbol$
|
|
1506
|
+
var wellKnownSymbol$f = wellKnownSymbol$g;
|
|
1507
1507
|
|
|
1508
|
-
var TypeError$
|
|
1509
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
1508
|
+
var TypeError$e = global$z.TypeError;
|
|
1509
|
+
var TO_PRIMITIVE = wellKnownSymbol$f('toPrimitive');
|
|
1510
1510
|
|
|
1511
1511
|
// `ToPrimitive` abstract operation
|
|
1512
1512
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
1513
1513
|
var toPrimitive$2 = function (input, pref) {
|
|
1514
|
-
if (!isObject$
|
|
1514
|
+
if (!isObject$f(input) || isSymbol$2(input)) return input;
|
|
1515
1515
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
1516
1516
|
var result;
|
|
1517
1517
|
if (exoticToPrim) {
|
|
1518
1518
|
if (pref === undefined) pref = 'default';
|
|
1519
1519
|
result = call$9(exoticToPrim, input, pref);
|
|
1520
|
-
if (!isObject$
|
|
1521
|
-
throw TypeError$
|
|
1520
|
+
if (!isObject$f(result) || isSymbol$2(result)) return result;
|
|
1521
|
+
throw TypeError$e("Can't convert object to primitive value");
|
|
1522
1522
|
}
|
|
1523
1523
|
if (pref === undefined) pref = 'number';
|
|
1524
1524
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -1534,12 +1534,12 @@ var toPropertyKey$3 = function (argument) {
|
|
|
1534
1534
|
return isSymbol$1(key) ? key : key + '';
|
|
1535
1535
|
};
|
|
1536
1536
|
|
|
1537
|
-
var global$
|
|
1538
|
-
var isObject$
|
|
1537
|
+
var global$y = global$M;
|
|
1538
|
+
var isObject$e = isObject$h;
|
|
1539
1539
|
|
|
1540
|
-
var document$3 = global$
|
|
1540
|
+
var document$3 = global$y.document;
|
|
1541
1541
|
// typeof document.createElement is 'object' in old IE
|
|
1542
|
-
var EXISTS$1 = isObject$
|
|
1542
|
+
var EXISTS$1 = isObject$e(document$3) && isObject$e(document$3.createElement);
|
|
1543
1543
|
|
|
1544
1544
|
var documentCreateElement$2 = function (it) {
|
|
1545
1545
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
@@ -1595,26 +1595,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$j(function () {
|
|
|
1595
1595
|
}).prototype != 42;
|
|
1596
1596
|
});
|
|
1597
1597
|
|
|
1598
|
-
var global$
|
|
1599
|
-
var isObject$
|
|
1598
|
+
var global$x = global$M;
|
|
1599
|
+
var isObject$d = isObject$h;
|
|
1600
1600
|
|
|
1601
|
-
var String$4 = global$
|
|
1602
|
-
var TypeError$
|
|
1601
|
+
var String$4 = global$x.String;
|
|
1602
|
+
var TypeError$d = global$x.TypeError;
|
|
1603
1603
|
|
|
1604
1604
|
// `Assert: Type(argument) is Object`
|
|
1605
1605
|
var anObject$b = function (argument) {
|
|
1606
|
-
if (isObject$
|
|
1607
|
-
throw TypeError$
|
|
1606
|
+
if (isObject$d(argument)) return argument;
|
|
1607
|
+
throw TypeError$d(String$4(argument) + ' is not an object');
|
|
1608
1608
|
};
|
|
1609
1609
|
|
|
1610
|
-
var global$
|
|
1610
|
+
var global$w = global$M;
|
|
1611
1611
|
var DESCRIPTORS$7 = descriptors;
|
|
1612
1612
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1613
1613
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
1614
1614
|
var anObject$a = anObject$b;
|
|
1615
1615
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
1616
1616
|
|
|
1617
|
-
var TypeError$
|
|
1617
|
+
var TypeError$c = global$w.TypeError;
|
|
1618
1618
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1619
1619
|
var $defineProperty = Object.defineProperty;
|
|
1620
1620
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -1647,7 +1647,7 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
1647
1647
|
if (IE8_DOM_DEFINE) try {
|
|
1648
1648
|
return $defineProperty(O, P, Attributes);
|
|
1649
1649
|
} catch (error) { /* empty */ }
|
|
1650
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError$
|
|
1650
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$c('Accessors not supported');
|
|
1651
1651
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
1652
1652
|
return O;
|
|
1653
1653
|
};
|
|
@@ -1665,11 +1665,11 @@ var createNonEnumerableProperty$6 = DESCRIPTORS$6 ? function (object, key, value
|
|
|
1665
1665
|
|
|
1666
1666
|
var redefine$5 = {exports: {}};
|
|
1667
1667
|
|
|
1668
|
-
var uncurryThis$
|
|
1668
|
+
var uncurryThis$l = functionUncurryThis;
|
|
1669
1669
|
var isCallable$a = isCallable$g;
|
|
1670
1670
|
var store$1 = sharedStore;
|
|
1671
1671
|
|
|
1672
|
-
var functionToString = uncurryThis$
|
|
1672
|
+
var functionToString = uncurryThis$l(Function.toString);
|
|
1673
1673
|
|
|
1674
1674
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1675
1675
|
if (!isCallable$a(store$1.inspectSource)) {
|
|
@@ -1680,11 +1680,11 @@ if (!isCallable$a(store$1.inspectSource)) {
|
|
|
1680
1680
|
|
|
1681
1681
|
var inspectSource$4 = store$1.inspectSource;
|
|
1682
1682
|
|
|
1683
|
-
var global$
|
|
1683
|
+
var global$v = global$M;
|
|
1684
1684
|
var isCallable$9 = isCallable$g;
|
|
1685
1685
|
var inspectSource$3 = inspectSource$4;
|
|
1686
1686
|
|
|
1687
|
-
var WeakMap$1 = global$
|
|
1687
|
+
var WeakMap$1 = global$v.WeakMap;
|
|
1688
1688
|
|
|
1689
1689
|
var nativeWeakMap = isCallable$9(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
|
|
1690
1690
|
|
|
@@ -1700,9 +1700,9 @@ var sharedKey$2 = function (key) {
|
|
|
1700
1700
|
var hiddenKeys$5 = {};
|
|
1701
1701
|
|
|
1702
1702
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
1703
|
-
var global$
|
|
1704
|
-
var uncurryThis$
|
|
1705
|
-
var isObject$
|
|
1703
|
+
var global$u = global$M;
|
|
1704
|
+
var uncurryThis$k = functionUncurryThis;
|
|
1705
|
+
var isObject$c = isObject$h;
|
|
1706
1706
|
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
|
|
1707
1707
|
var hasOwn$9 = hasOwnProperty_1;
|
|
1708
1708
|
var shared$1 = sharedStore;
|
|
@@ -1710,8 +1710,8 @@ var sharedKey$1 = sharedKey$2;
|
|
|
1710
1710
|
var hiddenKeys$4 = hiddenKeys$5;
|
|
1711
1711
|
|
|
1712
1712
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1713
|
-
var TypeError$
|
|
1714
|
-
var WeakMap = global$
|
|
1713
|
+
var TypeError$b = global$u.TypeError;
|
|
1714
|
+
var WeakMap = global$u.WeakMap;
|
|
1715
1715
|
var set$1, get, has$3;
|
|
1716
1716
|
|
|
1717
1717
|
var enforce = function (it) {
|
|
@@ -1721,19 +1721,19 @@ var enforce = function (it) {
|
|
|
1721
1721
|
var getterFor = function (TYPE) {
|
|
1722
1722
|
return function (it) {
|
|
1723
1723
|
var state;
|
|
1724
|
-
if (!isObject$
|
|
1725
|
-
throw TypeError$
|
|
1724
|
+
if (!isObject$c(it) || (state = get(it)).type !== TYPE) {
|
|
1725
|
+
throw TypeError$b('Incompatible receiver, ' + TYPE + ' required');
|
|
1726
1726
|
} return state;
|
|
1727
1727
|
};
|
|
1728
1728
|
};
|
|
1729
1729
|
|
|
1730
1730
|
if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
1731
1731
|
var store = shared$1.state || (shared$1.state = new WeakMap());
|
|
1732
|
-
var wmget = uncurryThis$
|
|
1733
|
-
var wmhas = uncurryThis$
|
|
1734
|
-
var wmset = uncurryThis$
|
|
1732
|
+
var wmget = uncurryThis$k(store.get);
|
|
1733
|
+
var wmhas = uncurryThis$k(store.has);
|
|
1734
|
+
var wmset = uncurryThis$k(store.set);
|
|
1735
1735
|
set$1 = function (it, metadata) {
|
|
1736
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
1736
|
+
if (wmhas(store, it)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
|
|
1737
1737
|
metadata.facade = it;
|
|
1738
1738
|
wmset(store, it, metadata);
|
|
1739
1739
|
return metadata;
|
|
@@ -1748,7 +1748,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
1748
1748
|
var STATE = sharedKey$1('state');
|
|
1749
1749
|
hiddenKeys$4[STATE] = true;
|
|
1750
1750
|
set$1 = function (it, metadata) {
|
|
1751
|
-
if (hasOwn$9(it, STATE)) throw new TypeError$
|
|
1751
|
+
if (hasOwn$9(it, STATE)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
|
|
1752
1752
|
metadata.facade = it;
|
|
1753
1753
|
createNonEnumerableProperty$5(it, STATE, metadata);
|
|
1754
1754
|
return metadata;
|
|
@@ -1787,7 +1787,7 @@ var functionName = {
|
|
|
1787
1787
|
CONFIGURABLE: CONFIGURABLE
|
|
1788
1788
|
};
|
|
1789
1789
|
|
|
1790
|
-
var global$
|
|
1790
|
+
var global$t = global$M;
|
|
1791
1791
|
var isCallable$8 = isCallable$g;
|
|
1792
1792
|
var hasOwn$7 = hasOwnProperty_1;
|
|
1793
1793
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
@@ -1818,7 +1818,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
1818
1818
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
|
-
if (O === global$
|
|
1821
|
+
if (O === global$t) {
|
|
1822
1822
|
if (simple) O[key] = value;
|
|
1823
1823
|
else setGlobal$1(key, value);
|
|
1824
1824
|
return;
|
|
@@ -1911,13 +1911,13 @@ var arrayIncludes = {
|
|
|
1911
1911
|
indexOf: createMethod$3(false)
|
|
1912
1912
|
};
|
|
1913
1913
|
|
|
1914
|
-
var uncurryThis$
|
|
1914
|
+
var uncurryThis$j = functionUncurryThis;
|
|
1915
1915
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1916
1916
|
var toIndexedObject$4 = toIndexedObject$7;
|
|
1917
1917
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
1918
1918
|
var hiddenKeys$3 = hiddenKeys$5;
|
|
1919
1919
|
|
|
1920
|
-
var push$4 = uncurryThis$
|
|
1920
|
+
var push$4 = uncurryThis$j([].push);
|
|
1921
1921
|
|
|
1922
1922
|
var objectKeysInternal = function (object, names) {
|
|
1923
1923
|
var O = toIndexedObject$4(object);
|
|
@@ -1961,12 +1961,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1961
1961
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1962
1962
|
|
|
1963
1963
|
var getBuiltIn$6 = getBuiltIn$9;
|
|
1964
|
-
var uncurryThis$
|
|
1964
|
+
var uncurryThis$i = functionUncurryThis;
|
|
1965
1965
|
var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
1966
1966
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1967
1967
|
var anObject$9 = anObject$b;
|
|
1968
1968
|
|
|
1969
|
-
var concat$1 = uncurryThis$
|
|
1969
|
+
var concat$1 = uncurryThis$i([].concat);
|
|
1970
1970
|
|
|
1971
1971
|
// all object keys, includes non-enumerable and symbols
|
|
1972
1972
|
var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -2015,7 +2015,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
2015
2015
|
|
|
2016
2016
|
var isForced_1 = isForced$3;
|
|
2017
2017
|
|
|
2018
|
-
var global$
|
|
2018
|
+
var global$s = global$M;
|
|
2019
2019
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
2020
2020
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
|
|
2021
2021
|
var redefine$4 = redefine$5.exports;
|
|
@@ -2044,11 +2044,11 @@ var _export = function (options, source) {
|
|
|
2044
2044
|
var STATIC = options.stat;
|
|
2045
2045
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
2046
2046
|
if (GLOBAL) {
|
|
2047
|
-
target = global$
|
|
2047
|
+
target = global$s;
|
|
2048
2048
|
} else if (STATIC) {
|
|
2049
|
-
target = global$
|
|
2049
|
+
target = global$s[TARGET] || setGlobal(TARGET, {});
|
|
2050
2050
|
} else {
|
|
2051
|
-
target = (global$
|
|
2051
|
+
target = (global$s[TARGET] || {}).prototype;
|
|
2052
2052
|
}
|
|
2053
2053
|
if (target) for (key in source) {
|
|
2054
2054
|
sourceProperty = source[key];
|
|
@@ -2085,12 +2085,12 @@ var createProperty$2 = function (object, key, value) {
|
|
|
2085
2085
|
else object[propertyKey] = value;
|
|
2086
2086
|
};
|
|
2087
2087
|
|
|
2088
|
-
var global$
|
|
2088
|
+
var global$r = global$M;
|
|
2089
2089
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
2090
2090
|
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
2091
2091
|
var createProperty$1 = createProperty$2;
|
|
2092
2092
|
|
|
2093
|
-
var Array$3 = global$
|
|
2093
|
+
var Array$3 = global$r.Array;
|
|
2094
2094
|
var max$1 = Math.max;
|
|
2095
2095
|
|
|
2096
2096
|
var arraySliceSimple = function (O, start, end) {
|
|
@@ -2105,7 +2105,7 @@ var arraySliceSimple = function (O, start, end) {
|
|
|
2105
2105
|
|
|
2106
2106
|
/* eslint-disable es/no-object-getownpropertynames -- safe */
|
|
2107
2107
|
|
|
2108
|
-
var classof$
|
|
2108
|
+
var classof$9 = classofRaw$1;
|
|
2109
2109
|
var toIndexedObject$3 = toIndexedObject$7;
|
|
2110
2110
|
var $getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
2111
2111
|
var arraySlice$4 = arraySliceSimple;
|
|
@@ -2123,7 +2123,7 @@ var getWindowNames = function (it) {
|
|
|
2123
2123
|
|
|
2124
2124
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
2125
2125
|
objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
|
|
2126
|
-
return windowNames && classof$
|
|
2126
|
+
return windowNames && classof$9(it) == 'Window'
|
|
2127
2127
|
? getWindowNames(it)
|
|
2128
2128
|
: $getOwnPropertyNames(toIndexedObject$3(it));
|
|
2129
2129
|
};
|
|
@@ -2140,8 +2140,8 @@ var arrayBufferNonExtensible = fails$h(function () {
|
|
|
2140
2140
|
});
|
|
2141
2141
|
|
|
2142
2142
|
var fails$g = fails$p;
|
|
2143
|
-
var isObject$
|
|
2144
|
-
var classof$
|
|
2143
|
+
var isObject$b = isObject$h;
|
|
2144
|
+
var classof$8 = classofRaw$1;
|
|
2145
2145
|
var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
|
|
2146
2146
|
|
|
2147
2147
|
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
@@ -2151,8 +2151,8 @@ var FAILS_ON_PRIMITIVES$2 = fails$g(function () { $isExtensible(1); });
|
|
|
2151
2151
|
// `Object.isExtensible` method
|
|
2152
2152
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
2153
2153
|
var objectIsExtensible = (FAILS_ON_PRIMITIVES$2 || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
|
|
2154
|
-
if (!isObject$
|
|
2155
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$
|
|
2154
|
+
if (!isObject$b(it)) return false;
|
|
2155
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$8(it) == 'ArrayBuffer') return false;
|
|
2156
2156
|
return $isExtensible ? $isExtensible(it) : true;
|
|
2157
2157
|
} : $isExtensible;
|
|
2158
2158
|
|
|
@@ -2163,10 +2163,10 @@ var freezing = !fails$f(function () {
|
|
|
2163
2163
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
2164
2164
|
});
|
|
2165
2165
|
|
|
2166
|
-
var $$
|
|
2167
|
-
var uncurryThis$
|
|
2166
|
+
var $$h = _export;
|
|
2167
|
+
var uncurryThis$h = functionUncurryThis;
|
|
2168
2168
|
var hiddenKeys$1 = hiddenKeys$5;
|
|
2169
|
-
var isObject$
|
|
2169
|
+
var isObject$a = isObject$h;
|
|
2170
2170
|
var hasOwn$4 = hasOwnProperty_1;
|
|
2171
2171
|
var defineProperty$3 = objectDefineProperty.f;
|
|
2172
2172
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
@@ -2188,7 +2188,7 @@ var setMetadata = function (it) {
|
|
|
2188
2188
|
|
|
2189
2189
|
var fastKey = function (it, create) {
|
|
2190
2190
|
// return a primitive with prefix
|
|
2191
|
-
if (!isObject$
|
|
2191
|
+
if (!isObject$a(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
2192
2192
|
if (!hasOwn$4(it, METADATA)) {
|
|
2193
2193
|
// can't set metadata to uncaught frozen object
|
|
2194
2194
|
if (!isExtensible(it)) return 'F';
|
|
@@ -2222,7 +2222,7 @@ var enable = function () {
|
|
|
2222
2222
|
meta.enable = function () { /* empty */ };
|
|
2223
2223
|
REQUIRED = true;
|
|
2224
2224
|
var getOwnPropertyNames = getOwnPropertyNamesModule.f;
|
|
2225
|
-
var splice = uncurryThis$
|
|
2225
|
+
var splice = uncurryThis$h([].splice);
|
|
2226
2226
|
var test = {};
|
|
2227
2227
|
test[METADATA] = 1;
|
|
2228
2228
|
|
|
@@ -2238,7 +2238,7 @@ var enable = function () {
|
|
|
2238
2238
|
} return result;
|
|
2239
2239
|
};
|
|
2240
2240
|
|
|
2241
|
-
$$
|
|
2241
|
+
$$h({ target: 'Object', stat: true, forced: true }, {
|
|
2242
2242
|
getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
|
|
2243
2243
|
});
|
|
2244
2244
|
}
|
|
@@ -2253,8 +2253,8 @@ var meta = internalMetadata.exports = {
|
|
|
2253
2253
|
|
|
2254
2254
|
hiddenKeys$1[METADATA] = true;
|
|
2255
2255
|
|
|
2256
|
-
var $$
|
|
2257
|
-
var isObject$
|
|
2256
|
+
var $$g = _export;
|
|
2257
|
+
var isObject$9 = isObject$h;
|
|
2258
2258
|
var onFreeze = internalMetadata.exports.onFreeze;
|
|
2259
2259
|
var FREEZING = freezing;
|
|
2260
2260
|
var fails$e = fails$p;
|
|
@@ -2265,38 +2265,38 @@ var FAILS_ON_PRIMITIVES$1 = fails$e(function () { $seal(1); });
|
|
|
2265
2265
|
|
|
2266
2266
|
// `Object.seal` method
|
|
2267
2267
|
// https://tc39.es/ecma262/#sec-object.seal
|
|
2268
|
-
$$
|
|
2268
|
+
$$g({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZING }, {
|
|
2269
2269
|
seal: function seal(it) {
|
|
2270
|
-
return $seal && isObject$
|
|
2270
|
+
return $seal && isObject$9(it) ? $seal(onFreeze(it)) : it;
|
|
2271
2271
|
}
|
|
2272
2272
|
});
|
|
2273
2273
|
|
|
2274
|
-
var classof$
|
|
2274
|
+
var classof$7 = classofRaw$1;
|
|
2275
2275
|
|
|
2276
2276
|
// `IsArray` abstract operation
|
|
2277
2277
|
// https://tc39.es/ecma262/#sec-isarray
|
|
2278
2278
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2279
2279
|
var isArray$8 = Array.isArray || function isArray(argument) {
|
|
2280
|
-
return classof$
|
|
2280
|
+
return classof$7(argument) == 'Array';
|
|
2281
2281
|
};
|
|
2282
2282
|
|
|
2283
|
-
var wellKnownSymbol$
|
|
2283
|
+
var wellKnownSymbol$e = wellKnownSymbol$g;
|
|
2284
2284
|
|
|
2285
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
2285
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
|
|
2286
2286
|
var test$1 = {};
|
|
2287
2287
|
|
|
2288
2288
|
test$1[TO_STRING_TAG$2] = 'z';
|
|
2289
2289
|
|
|
2290
2290
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2291
2291
|
|
|
2292
|
-
var global$
|
|
2292
|
+
var global$q = global$M;
|
|
2293
2293
|
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
2294
2294
|
var isCallable$6 = isCallable$g;
|
|
2295
2295
|
var classofRaw = classofRaw$1;
|
|
2296
|
-
var wellKnownSymbol$
|
|
2296
|
+
var wellKnownSymbol$d = wellKnownSymbol$g;
|
|
2297
2297
|
|
|
2298
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
2299
|
-
var Object$1 = global$
|
|
2298
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$d('toStringTag');
|
|
2299
|
+
var Object$1 = global$q.Object;
|
|
2300
2300
|
|
|
2301
2301
|
// ES3 wrong here
|
|
2302
2302
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -2309,7 +2309,7 @@ var tryGet = function (it, key) {
|
|
|
2309
2309
|
};
|
|
2310
2310
|
|
|
2311
2311
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
2312
|
-
var classof$
|
|
2312
|
+
var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
2313
2313
|
var O, tag, result;
|
|
2314
2314
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2315
2315
|
// @@toStringTag case
|
|
@@ -2320,10 +2320,10 @@ var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
|
2320
2320
|
: (result = classofRaw(O)) == 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
2321
2321
|
};
|
|
2322
2322
|
|
|
2323
|
-
var uncurryThis$
|
|
2323
|
+
var uncurryThis$g = functionUncurryThis;
|
|
2324
2324
|
var fails$d = fails$p;
|
|
2325
2325
|
var isCallable$5 = isCallable$g;
|
|
2326
|
-
var classof$
|
|
2326
|
+
var classof$5 = classof$6;
|
|
2327
2327
|
var getBuiltIn$5 = getBuiltIn$9;
|
|
2328
2328
|
var inspectSource$1 = inspectSource$4;
|
|
2329
2329
|
|
|
@@ -2331,7 +2331,7 @@ var noop = function () { /* empty */ };
|
|
|
2331
2331
|
var empty = [];
|
|
2332
2332
|
var construct = getBuiltIn$5('Reflect', 'construct');
|
|
2333
2333
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2334
|
-
var exec$2 = uncurryThis$
|
|
2334
|
+
var exec$2 = uncurryThis$g(constructorRegExp.exec);
|
|
2335
2335
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
2336
2336
|
|
|
2337
2337
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -2346,7 +2346,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2346
2346
|
|
|
2347
2347
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2348
2348
|
if (!isCallable$5(argument)) return false;
|
|
2349
|
-
switch (classof$
|
|
2349
|
+
switch (classof$5(argument)) {
|
|
2350
2350
|
case 'AsyncFunction':
|
|
2351
2351
|
case 'GeneratorFunction':
|
|
2352
2352
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -2373,14 +2373,14 @@ var isConstructor$2 = !construct || fails$d(function () {
|
|
|
2373
2373
|
|| called;
|
|
2374
2374
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
2375
2375
|
|
|
2376
|
-
var global$
|
|
2376
|
+
var global$p = global$M;
|
|
2377
2377
|
var isArray$7 = isArray$8;
|
|
2378
2378
|
var isConstructor$1 = isConstructor$2;
|
|
2379
|
-
var isObject$
|
|
2380
|
-
var wellKnownSymbol$
|
|
2379
|
+
var isObject$8 = isObject$h;
|
|
2380
|
+
var wellKnownSymbol$c = wellKnownSymbol$g;
|
|
2381
2381
|
|
|
2382
|
-
var SPECIES$4 = wellKnownSymbol$
|
|
2383
|
-
var Array$2 = global$
|
|
2382
|
+
var SPECIES$4 = wellKnownSymbol$c('species');
|
|
2383
|
+
var Array$2 = global$p.Array;
|
|
2384
2384
|
|
|
2385
2385
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
2386
2386
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
@@ -2390,7 +2390,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
2390
2390
|
C = originalArray.constructor;
|
|
2391
2391
|
// cross-realm fallback
|
|
2392
2392
|
if (isConstructor$1(C) && (C === Array$2 || isArray$7(C.prototype))) C = undefined;
|
|
2393
|
-
else if (isObject$
|
|
2393
|
+
else if (isObject$8(C)) {
|
|
2394
2394
|
C = C[SPECIES$4];
|
|
2395
2395
|
if (C === null) C = undefined;
|
|
2396
2396
|
}
|
|
@@ -2406,10 +2406,10 @@ var arraySpeciesCreate$2 = function (originalArray, length) {
|
|
|
2406
2406
|
};
|
|
2407
2407
|
|
|
2408
2408
|
var fails$c = fails$p;
|
|
2409
|
-
var wellKnownSymbol$
|
|
2409
|
+
var wellKnownSymbol$b = wellKnownSymbol$g;
|
|
2410
2410
|
var V8_VERSION$2 = engineV8Version;
|
|
2411
2411
|
|
|
2412
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
2412
|
+
var SPECIES$3 = wellKnownSymbol$b('species');
|
|
2413
2413
|
|
|
2414
2414
|
var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
|
|
2415
2415
|
// We can't use this feature detection in V8 since it causes
|
|
@@ -2425,23 +2425,23 @@ var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
|
|
|
2425
2425
|
});
|
|
2426
2426
|
};
|
|
2427
2427
|
|
|
2428
|
-
var $$
|
|
2429
|
-
var global$
|
|
2428
|
+
var $$f = _export;
|
|
2429
|
+
var global$o = global$M;
|
|
2430
2430
|
var fails$b = fails$p;
|
|
2431
2431
|
var isArray$6 = isArray$8;
|
|
2432
|
-
var isObject$
|
|
2432
|
+
var isObject$7 = isObject$h;
|
|
2433
2433
|
var toObject$4 = toObject$6;
|
|
2434
2434
|
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
2435
2435
|
var createProperty = createProperty$2;
|
|
2436
2436
|
var arraySpeciesCreate$1 = arraySpeciesCreate$2;
|
|
2437
2437
|
var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3;
|
|
2438
|
-
var wellKnownSymbol$
|
|
2438
|
+
var wellKnownSymbol$a = wellKnownSymbol$g;
|
|
2439
2439
|
var V8_VERSION$1 = engineV8Version;
|
|
2440
2440
|
|
|
2441
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol$
|
|
2441
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol$a('isConcatSpreadable');
|
|
2442
2442
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
2443
2443
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
2444
|
-
var TypeError$
|
|
2444
|
+
var TypeError$a = global$o.TypeError;
|
|
2445
2445
|
|
|
2446
2446
|
// We can't use this feature detection in V8 since it causes
|
|
2447
2447
|
// deoptimization and serious performance degradation
|
|
@@ -2455,7 +2455,7 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$b(function () {
|
|
|
2455
2455
|
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$2('concat');
|
|
2456
2456
|
|
|
2457
2457
|
var isConcatSpreadable = function (O) {
|
|
2458
|
-
if (!isObject$
|
|
2458
|
+
if (!isObject$7(O)) return false;
|
|
2459
2459
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
2460
2460
|
return spreadable !== undefined ? !!spreadable : isArray$6(O);
|
|
2461
2461
|
};
|
|
@@ -2465,7 +2465,7 @@ var FORCED$4 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
|
2465
2465
|
// `Array.prototype.concat` method
|
|
2466
2466
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
2467
2467
|
// with adding support of @@isConcatSpreadable and @@species
|
|
2468
|
-
$$
|
|
2468
|
+
$$f({ target: 'Array', proto: true, forced: FORCED$4 }, {
|
|
2469
2469
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2470
2470
|
concat: function concat(arg) {
|
|
2471
2471
|
var O = toObject$4(this);
|
|
@@ -2476,10 +2476,10 @@ $$e({ target: 'Array', proto: true, forced: FORCED$4 }, {
|
|
|
2476
2476
|
E = i === -1 ? O : arguments[i];
|
|
2477
2477
|
if (isConcatSpreadable(E)) {
|
|
2478
2478
|
len = lengthOfArrayLike$3(E);
|
|
2479
|
-
if (n + len > MAX_SAFE_INTEGER) throw TypeError$
|
|
2479
|
+
if (n + len > MAX_SAFE_INTEGER) throw TypeError$a(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2480
2480
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
2481
2481
|
} else {
|
|
2482
|
-
if (n >= MAX_SAFE_INTEGER) throw TypeError$
|
|
2482
|
+
if (n >= MAX_SAFE_INTEGER) throw TypeError$a(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2483
2483
|
createProperty(A, n++, E);
|
|
2484
2484
|
}
|
|
2485
2485
|
}
|
|
@@ -2499,20 +2499,20 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
|
|
|
2499
2499
|
return call$7.apply(apply$3, arguments);
|
|
2500
2500
|
});
|
|
2501
2501
|
|
|
2502
|
-
var global$
|
|
2502
|
+
var global$n = global$M;
|
|
2503
2503
|
var isCallable$4 = isCallable$g;
|
|
2504
2504
|
|
|
2505
|
-
var String$3 = global$
|
|
2506
|
-
var TypeError$
|
|
2505
|
+
var String$3 = global$n.String;
|
|
2506
|
+
var TypeError$9 = global$n.TypeError;
|
|
2507
2507
|
|
|
2508
2508
|
var aPossiblePrototype$1 = function (argument) {
|
|
2509
2509
|
if (typeof argument == 'object' || isCallable$4(argument)) return argument;
|
|
2510
|
-
throw TypeError$
|
|
2510
|
+
throw TypeError$9("Can't set " + String$3(argument) + ' as a prototype');
|
|
2511
2511
|
};
|
|
2512
2512
|
|
|
2513
2513
|
/* eslint-disable no-proto -- safe */
|
|
2514
2514
|
|
|
2515
|
-
var uncurryThis$
|
|
2515
|
+
var uncurryThis$f = functionUncurryThis;
|
|
2516
2516
|
var anObject$8 = anObject$b;
|
|
2517
2517
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
2518
2518
|
|
|
@@ -2526,7 +2526,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2526
2526
|
var setter;
|
|
2527
2527
|
try {
|
|
2528
2528
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2529
|
-
setter = uncurryThis$
|
|
2529
|
+
setter = uncurryThis$f(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
2530
2530
|
setter(test, []);
|
|
2531
2531
|
CORRECT_SETTER = test instanceof Array;
|
|
2532
2532
|
} catch (error) { /* empty */ }
|
|
@@ -2540,7 +2540,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2540
2540
|
}() : undefined);
|
|
2541
2541
|
|
|
2542
2542
|
var isCallable$3 = isCallable$g;
|
|
2543
|
-
var isObject$
|
|
2543
|
+
var isObject$6 = isObject$h;
|
|
2544
2544
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
2545
2545
|
|
|
2546
2546
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -2552,42 +2552,42 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
|
|
|
2552
2552
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2553
2553
|
isCallable$3(NewTarget = dummy.constructor) &&
|
|
2554
2554
|
NewTarget !== Wrapper &&
|
|
2555
|
-
isObject$
|
|
2555
|
+
isObject$6(NewTargetPrototype = NewTarget.prototype) &&
|
|
2556
2556
|
NewTargetPrototype !== Wrapper.prototype
|
|
2557
2557
|
) setPrototypeOf$2($this, NewTargetPrototype);
|
|
2558
2558
|
return $this;
|
|
2559
2559
|
};
|
|
2560
2560
|
|
|
2561
|
-
var global$
|
|
2562
|
-
var classof$
|
|
2561
|
+
var global$m = global$M;
|
|
2562
|
+
var classof$4 = classof$6;
|
|
2563
2563
|
|
|
2564
|
-
var String$2 = global$
|
|
2564
|
+
var String$2 = global$m.String;
|
|
2565
2565
|
|
|
2566
|
-
var toString$
|
|
2567
|
-
if (classof$
|
|
2566
|
+
var toString$7 = function (argument) {
|
|
2567
|
+
if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
2568
2568
|
return String$2(argument);
|
|
2569
2569
|
};
|
|
2570
2570
|
|
|
2571
|
-
var toString$
|
|
2571
|
+
var toString$6 = toString$7;
|
|
2572
2572
|
|
|
2573
2573
|
var normalizeStringArgument$1 = function (argument, $default) {
|
|
2574
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$
|
|
2574
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$6(argument);
|
|
2575
2575
|
};
|
|
2576
2576
|
|
|
2577
|
-
var isObject$
|
|
2577
|
+
var isObject$5 = isObject$h;
|
|
2578
2578
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
|
|
2579
2579
|
|
|
2580
2580
|
// `InstallErrorCause` abstract operation
|
|
2581
2581
|
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
2582
2582
|
var installErrorCause$1 = function (O, options) {
|
|
2583
|
-
if (isObject$
|
|
2583
|
+
if (isObject$5(options) && 'cause' in options) {
|
|
2584
2584
|
createNonEnumerableProperty$2(O, 'cause', options.cause);
|
|
2585
2585
|
}
|
|
2586
2586
|
};
|
|
2587
2587
|
|
|
2588
|
-
var uncurryThis$
|
|
2588
|
+
var uncurryThis$e = functionUncurryThis;
|
|
2589
2589
|
|
|
2590
|
-
var replace$4 = uncurryThis$
|
|
2590
|
+
var replace$4 = uncurryThis$e(''.replace);
|
|
2591
2591
|
|
|
2592
2592
|
var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
|
|
2593
2593
|
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
@@ -2671,27 +2671,27 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
2671
2671
|
|
|
2672
2672
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
2673
2673
|
|
|
2674
|
-
var $$
|
|
2675
|
-
var global$
|
|
2674
|
+
var $$e = _export;
|
|
2675
|
+
var global$l = global$M;
|
|
2676
2676
|
var apply$2 = functionApply;
|
|
2677
2677
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
2678
2678
|
|
|
2679
2679
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
2680
|
-
var WebAssembly = global$
|
|
2680
|
+
var WebAssembly = global$l[WEB_ASSEMBLY];
|
|
2681
2681
|
|
|
2682
2682
|
var FORCED$3 = Error('e', { cause: 7 }).cause !== 7;
|
|
2683
2683
|
|
|
2684
2684
|
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2685
2685
|
var O = {};
|
|
2686
2686
|
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$3);
|
|
2687
|
-
$$
|
|
2687
|
+
$$e({ global: true, forced: FORCED$3 }, O);
|
|
2688
2688
|
};
|
|
2689
2689
|
|
|
2690
2690
|
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2691
2691
|
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2692
2692
|
var O = {};
|
|
2693
2693
|
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$3);
|
|
2694
|
-
$$
|
|
2694
|
+
$$e({ target: WEB_ASSEMBLY, stat: true, forced: FORCED$3 }, O);
|
|
2695
2695
|
}
|
|
2696
2696
|
};
|
|
2697
2697
|
|
|
@@ -2767,7 +2767,7 @@ var objectKeys$3 = Object.keys || function keys(O) {
|
|
|
2767
2767
|
};
|
|
2768
2768
|
|
|
2769
2769
|
var DESCRIPTORS$4 = descriptors;
|
|
2770
|
-
var uncurryThis$
|
|
2770
|
+
var uncurryThis$d = functionUncurryThis;
|
|
2771
2771
|
var call$6 = functionCall;
|
|
2772
2772
|
var fails$9 = fails$p;
|
|
2773
2773
|
var objectKeys$2 = objectKeys$3;
|
|
@@ -2780,7 +2780,7 @@ var IndexedObject$2 = indexedObject;
|
|
|
2780
2780
|
var $assign = Object.assign;
|
|
2781
2781
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2782
2782
|
var defineProperty$2 = Object.defineProperty;
|
|
2783
|
-
var concat = uncurryThis$
|
|
2783
|
+
var concat = uncurryThis$d([].concat);
|
|
2784
2784
|
|
|
2785
2785
|
// `Object.assign` method
|
|
2786
2786
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
@@ -2823,33 +2823,33 @@ var objectAssign = !$assign || fails$9(function () {
|
|
|
2823
2823
|
} return T;
|
|
2824
2824
|
} : $assign;
|
|
2825
2825
|
|
|
2826
|
-
var $$
|
|
2826
|
+
var $$d = _export;
|
|
2827
2827
|
var assign$1 = objectAssign;
|
|
2828
2828
|
|
|
2829
2829
|
// `Object.assign` method
|
|
2830
2830
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2831
2831
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2832
|
-
$$
|
|
2832
|
+
$$d({ target: 'Object', stat: true, forced: Object.assign !== assign$1 }, {
|
|
2833
2833
|
assign: assign$1
|
|
2834
2834
|
});
|
|
2835
2835
|
|
|
2836
2836
|
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
2837
|
-
var classof$
|
|
2837
|
+
var classof$3 = classof$6;
|
|
2838
2838
|
|
|
2839
2839
|
// `Object.prototype.toString` method implementation
|
|
2840
2840
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
2841
2841
|
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
2842
|
-
return '[object ' + classof$
|
|
2842
|
+
return '[object ' + classof$3(this) + ']';
|
|
2843
2843
|
};
|
|
2844
2844
|
|
|
2845
2845
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2846
2846
|
var redefine$3 = redefine$5.exports;
|
|
2847
|
-
var toString$
|
|
2847
|
+
var toString$5 = objectToString;
|
|
2848
2848
|
|
|
2849
2849
|
// `Object.prototype.toString` method
|
|
2850
2850
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
2851
2851
|
if (!TO_STRING_TAG_SUPPORT) {
|
|
2852
|
-
redefine$3(Object.prototype, 'toString', toString$
|
|
2852
|
+
redefine$3(Object.prototype, 'toString', toString$5, { unsafe: true });
|
|
2853
2853
|
}
|
|
2854
2854
|
|
|
2855
2855
|
// iterable DOM collections
|
|
@@ -2896,11 +2896,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
2896
2896
|
|
|
2897
2897
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
2898
2898
|
|
|
2899
|
-
var uncurryThis$
|
|
2899
|
+
var uncurryThis$c = functionUncurryThis;
|
|
2900
2900
|
var aCallable$4 = aCallable$6;
|
|
2901
2901
|
var NATIVE_BIND = functionBindNative;
|
|
2902
2902
|
|
|
2903
|
-
var bind$8 = uncurryThis$
|
|
2903
|
+
var bind$8 = uncurryThis$c(uncurryThis$c.bind);
|
|
2904
2904
|
|
|
2905
2905
|
// optional / simple context binding
|
|
2906
2906
|
var functionBindContext = function (fn, that) {
|
|
@@ -2911,13 +2911,13 @@ var functionBindContext = function (fn, that) {
|
|
|
2911
2911
|
};
|
|
2912
2912
|
|
|
2913
2913
|
var bind$7 = functionBindContext;
|
|
2914
|
-
var uncurryThis$
|
|
2914
|
+
var uncurryThis$b = functionUncurryThis;
|
|
2915
2915
|
var IndexedObject$1 = indexedObject;
|
|
2916
2916
|
var toObject$2 = toObject$6;
|
|
2917
2917
|
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
2918
2918
|
var arraySpeciesCreate = arraySpeciesCreate$2;
|
|
2919
2919
|
|
|
2920
|
-
var push$3 = uncurryThis$
|
|
2920
|
+
var push$3 = uncurryThis$b([].push);
|
|
2921
2921
|
|
|
2922
2922
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
2923
2923
|
var createMethod$2 = function (TYPE) {
|
|
@@ -3006,7 +3006,7 @@ var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg *
|
|
|
3006
3006
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
3007
3007
|
} : [].forEach;
|
|
3008
3008
|
|
|
3009
|
-
var global$
|
|
3009
|
+
var global$k = global$M;
|
|
3010
3010
|
var DOMIterables = domIterables;
|
|
3011
3011
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3012
3012
|
var forEach$1 = arrayForEach;
|
|
@@ -3023,13 +3023,221 @@ var handlePrototype = function (CollectionPrototype) {
|
|
|
3023
3023
|
|
|
3024
3024
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
3025
3025
|
if (DOMIterables[COLLECTION_NAME]) {
|
|
3026
|
-
handlePrototype(global$
|
|
3026
|
+
handlePrototype(global$k[COLLECTION_NAME] && global$k[COLLECTION_NAME].prototype);
|
|
3027
3027
|
}
|
|
3028
3028
|
}
|
|
3029
3029
|
|
|
3030
3030
|
handlePrototype(DOMTokenListPrototype);
|
|
3031
3031
|
|
|
3032
|
-
var
|
|
3032
|
+
var objectDefineProperties = {};
|
|
3033
|
+
|
|
3034
|
+
var DESCRIPTORS$3 = descriptors;
|
|
3035
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
3036
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
3037
|
+
var anObject$7 = anObject$b;
|
|
3038
|
+
var toIndexedObject$2 = toIndexedObject$7;
|
|
3039
|
+
var objectKeys$1 = objectKeys$3;
|
|
3040
|
+
|
|
3041
|
+
// `Object.defineProperties` method
|
|
3042
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
3043
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
3044
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
3045
|
+
anObject$7(O);
|
|
3046
|
+
var props = toIndexedObject$2(Properties);
|
|
3047
|
+
var keys = objectKeys$1(Properties);
|
|
3048
|
+
var length = keys.length;
|
|
3049
|
+
var index = 0;
|
|
3050
|
+
var key;
|
|
3051
|
+
while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
|
|
3052
|
+
return O;
|
|
3053
|
+
};
|
|
3054
|
+
|
|
3055
|
+
var getBuiltIn$3 = getBuiltIn$9;
|
|
3056
|
+
|
|
3057
|
+
var html$2 = getBuiltIn$3('document', 'documentElement');
|
|
3058
|
+
|
|
3059
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
3060
|
+
|
|
3061
|
+
var anObject$6 = anObject$b;
|
|
3062
|
+
var definePropertiesModule = objectDefineProperties;
|
|
3063
|
+
var enumBugKeys = enumBugKeys$3;
|
|
3064
|
+
var hiddenKeys = hiddenKeys$5;
|
|
3065
|
+
var html$1 = html$2;
|
|
3066
|
+
var documentCreateElement = documentCreateElement$2;
|
|
3067
|
+
var sharedKey = sharedKey$2;
|
|
3068
|
+
|
|
3069
|
+
var GT = '>';
|
|
3070
|
+
var LT = '<';
|
|
3071
|
+
var PROTOTYPE = 'prototype';
|
|
3072
|
+
var SCRIPT = 'script';
|
|
3073
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3074
|
+
|
|
3075
|
+
var EmptyConstructor = function () { /* empty */ };
|
|
3076
|
+
|
|
3077
|
+
var scriptTag = function (content) {
|
|
3078
|
+
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
3079
|
+
};
|
|
3080
|
+
|
|
3081
|
+
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
3082
|
+
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
3083
|
+
activeXDocument.write(scriptTag(''));
|
|
3084
|
+
activeXDocument.close();
|
|
3085
|
+
var temp = activeXDocument.parentWindow.Object;
|
|
3086
|
+
activeXDocument = null; // avoid memory leak
|
|
3087
|
+
return temp;
|
|
3088
|
+
};
|
|
3089
|
+
|
|
3090
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
3091
|
+
var NullProtoObjectViaIFrame = function () {
|
|
3092
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
3093
|
+
var iframe = documentCreateElement('iframe');
|
|
3094
|
+
var JS = 'java' + SCRIPT + ':';
|
|
3095
|
+
var iframeDocument;
|
|
3096
|
+
iframe.style.display = 'none';
|
|
3097
|
+
html$1.appendChild(iframe);
|
|
3098
|
+
// https://github.com/zloirock/core-js/issues/475
|
|
3099
|
+
iframe.src = String(JS);
|
|
3100
|
+
iframeDocument = iframe.contentWindow.document;
|
|
3101
|
+
iframeDocument.open();
|
|
3102
|
+
iframeDocument.write(scriptTag('document.F=Object'));
|
|
3103
|
+
iframeDocument.close();
|
|
3104
|
+
return iframeDocument.F;
|
|
3105
|
+
};
|
|
3106
|
+
|
|
3107
|
+
// Check for document.domain and active x support
|
|
3108
|
+
// No need to use active x approach when document.domain is not set
|
|
3109
|
+
// see https://github.com/es-shims/es5-shim/issues/150
|
|
3110
|
+
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
3111
|
+
// avoid IE GC bug
|
|
3112
|
+
var activeXDocument;
|
|
3113
|
+
var NullProtoObject = function () {
|
|
3114
|
+
try {
|
|
3115
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
|
3116
|
+
} catch (error) { /* ignore */ }
|
|
3117
|
+
NullProtoObject = typeof document != 'undefined'
|
|
3118
|
+
? document.domain && activeXDocument
|
|
3119
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
3120
|
+
: NullProtoObjectViaIFrame()
|
|
3121
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
3122
|
+
var length = enumBugKeys.length;
|
|
3123
|
+
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
3124
|
+
return NullProtoObject();
|
|
3125
|
+
};
|
|
3126
|
+
|
|
3127
|
+
hiddenKeys[IE_PROTO] = true;
|
|
3128
|
+
|
|
3129
|
+
// `Object.create` method
|
|
3130
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
3131
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
|
3132
|
+
var result;
|
|
3133
|
+
if (O !== null) {
|
|
3134
|
+
EmptyConstructor[PROTOTYPE] = anObject$6(O);
|
|
3135
|
+
result = new EmptyConstructor();
|
|
3136
|
+
EmptyConstructor[PROTOTYPE] = null;
|
|
3137
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3138
|
+
result[IE_PROTO] = O;
|
|
3139
|
+
} else result = NullProtoObject();
|
|
3140
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3141
|
+
};
|
|
3142
|
+
|
|
3143
|
+
var wellKnownSymbol$9 = wellKnownSymbol$g;
|
|
3144
|
+
var create$1 = objectCreate;
|
|
3145
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
3146
|
+
|
|
3147
|
+
var UNSCOPABLES = wellKnownSymbol$9('unscopables');
|
|
3148
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
3149
|
+
|
|
3150
|
+
// Array.prototype[@@unscopables]
|
|
3151
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3152
|
+
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
3153
|
+
definePropertyModule$1.f(ArrayPrototype$1, UNSCOPABLES, {
|
|
3154
|
+
configurable: true,
|
|
3155
|
+
value: create$1(null)
|
|
3156
|
+
});
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
// add a key to Array.prototype[@@unscopables]
|
|
3160
|
+
var addToUnscopables$2 = function (key) {
|
|
3161
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
3162
|
+
};
|
|
3163
|
+
|
|
3164
|
+
var $$c = _export;
|
|
3165
|
+
var $includes = arrayIncludes.includes;
|
|
3166
|
+
var addToUnscopables$1 = addToUnscopables$2;
|
|
3167
|
+
|
|
3168
|
+
// `Array.prototype.includes` method
|
|
3169
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
3170
|
+
$$c({ target: 'Array', proto: true }, {
|
|
3171
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
3172
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
3173
|
+
}
|
|
3174
|
+
});
|
|
3175
|
+
|
|
3176
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3177
|
+
addToUnscopables$1('includes');
|
|
3178
|
+
|
|
3179
|
+
var isObject$4 = isObject$h;
|
|
3180
|
+
var classof$2 = classofRaw$1;
|
|
3181
|
+
var wellKnownSymbol$8 = wellKnownSymbol$g;
|
|
3182
|
+
|
|
3183
|
+
var MATCH$1 = wellKnownSymbol$8('match');
|
|
3184
|
+
|
|
3185
|
+
// `IsRegExp` abstract operation
|
|
3186
|
+
// https://tc39.es/ecma262/#sec-isregexp
|
|
3187
|
+
var isRegexp = function (it) {
|
|
3188
|
+
var isRegExp;
|
|
3189
|
+
return isObject$4(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$2(it) == 'RegExp');
|
|
3190
|
+
};
|
|
3191
|
+
|
|
3192
|
+
var global$j = global$M;
|
|
3193
|
+
var isRegExp$1 = isRegexp;
|
|
3194
|
+
|
|
3195
|
+
var TypeError$8 = global$j.TypeError;
|
|
3196
|
+
|
|
3197
|
+
var notARegexp = function (it) {
|
|
3198
|
+
if (isRegExp$1(it)) {
|
|
3199
|
+
throw TypeError$8("The method doesn't accept regular expressions");
|
|
3200
|
+
} return it;
|
|
3201
|
+
};
|
|
3202
|
+
|
|
3203
|
+
var wellKnownSymbol$7 = wellKnownSymbol$g;
|
|
3204
|
+
|
|
3205
|
+
var MATCH = wellKnownSymbol$7('match');
|
|
3206
|
+
|
|
3207
|
+
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
3208
|
+
var regexp = /./;
|
|
3209
|
+
try {
|
|
3210
|
+
'/./'[METHOD_NAME](regexp);
|
|
3211
|
+
} catch (error1) {
|
|
3212
|
+
try {
|
|
3213
|
+
regexp[MATCH] = false;
|
|
3214
|
+
return '/./'[METHOD_NAME](regexp);
|
|
3215
|
+
} catch (error2) { /* empty */ }
|
|
3216
|
+
} return false;
|
|
3217
|
+
};
|
|
3218
|
+
|
|
3219
|
+
var $$b = _export;
|
|
3220
|
+
var uncurryThis$a = functionUncurryThis;
|
|
3221
|
+
var notARegExp = notARegexp;
|
|
3222
|
+
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
3223
|
+
var toString$4 = toString$7;
|
|
3224
|
+
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
3225
|
+
|
|
3226
|
+
var stringIndexOf = uncurryThis$a(''.indexOf);
|
|
3227
|
+
|
|
3228
|
+
// `String.prototype.includes` method
|
|
3229
|
+
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
3230
|
+
$$b({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
3231
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
3232
|
+
return !!~stringIndexOf(
|
|
3233
|
+
toString$4(requireObjectCoercible$1(this)),
|
|
3234
|
+
toString$4(notARegExp(searchString)),
|
|
3235
|
+
arguments.length > 1 ? arguments[1] : undefined
|
|
3236
|
+
);
|
|
3237
|
+
}
|
|
3238
|
+
});
|
|
3239
|
+
|
|
3240
|
+
var global$i = global$M;
|
|
3033
3241
|
|
|
3034
3242
|
var nativePromiseConstructor = global$i.Promise;
|
|
3035
3243
|
|
|
@@ -3042,9 +3250,9 @@ var redefineAll$1 = function (target, src, options) {
|
|
|
3042
3250
|
|
|
3043
3251
|
var defineProperty$1 = objectDefineProperty.f;
|
|
3044
3252
|
var hasOwn$2 = hasOwnProperty_1;
|
|
3045
|
-
var wellKnownSymbol$
|
|
3253
|
+
var wellKnownSymbol$6 = wellKnownSymbol$g;
|
|
3046
3254
|
|
|
3047
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
3255
|
+
var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');
|
|
3048
3256
|
|
|
3049
3257
|
var setToStringTag$1 = function (target, TAG, STATIC) {
|
|
3050
3258
|
if (target && !STATIC) target = target.prototype;
|
|
@@ -3053,18 +3261,18 @@ var setToStringTag$1 = function (target, TAG, STATIC) {
|
|
|
3053
3261
|
}
|
|
3054
3262
|
};
|
|
3055
3263
|
|
|
3056
|
-
var getBuiltIn$
|
|
3057
|
-
var definePropertyModule
|
|
3058
|
-
var wellKnownSymbol$
|
|
3059
|
-
var DESCRIPTORS$
|
|
3264
|
+
var getBuiltIn$2 = getBuiltIn$9;
|
|
3265
|
+
var definePropertyModule = objectDefineProperty;
|
|
3266
|
+
var wellKnownSymbol$5 = wellKnownSymbol$g;
|
|
3267
|
+
var DESCRIPTORS$2 = descriptors;
|
|
3060
3268
|
|
|
3061
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
3269
|
+
var SPECIES$2 = wellKnownSymbol$5('species');
|
|
3062
3270
|
|
|
3063
3271
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
3064
|
-
var Constructor = getBuiltIn$
|
|
3065
|
-
var defineProperty = definePropertyModule
|
|
3272
|
+
var Constructor = getBuiltIn$2(CONSTRUCTOR_NAME);
|
|
3273
|
+
var defineProperty = definePropertyModule.f;
|
|
3066
3274
|
|
|
3067
|
-
if (DESCRIPTORS$
|
|
3275
|
+
if (DESCRIPTORS$2 && Constructor && !Constructor[SPECIES$2]) {
|
|
3068
3276
|
defineProperty(Constructor, SPECIES$2, {
|
|
3069
3277
|
configurable: true,
|
|
3070
3278
|
get: function () { return this; }
|
|
@@ -3072,7 +3280,7 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
3072
3280
|
}
|
|
3073
3281
|
};
|
|
3074
3282
|
|
|
3075
|
-
var global$h = global$
|
|
3283
|
+
var global$h = global$M;
|
|
3076
3284
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
3077
3285
|
|
|
3078
3286
|
var TypeError$7 = global$h.TypeError;
|
|
@@ -3084,23 +3292,23 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
3084
3292
|
|
|
3085
3293
|
var iterators = {};
|
|
3086
3294
|
|
|
3087
|
-
var wellKnownSymbol$
|
|
3295
|
+
var wellKnownSymbol$4 = wellKnownSymbol$g;
|
|
3088
3296
|
var Iterators$1 = iterators;
|
|
3089
3297
|
|
|
3090
|
-
var ITERATOR$2 = wellKnownSymbol$
|
|
3091
|
-
var ArrayPrototype
|
|
3298
|
+
var ITERATOR$2 = wellKnownSymbol$4('iterator');
|
|
3299
|
+
var ArrayPrototype = Array.prototype;
|
|
3092
3300
|
|
|
3093
3301
|
// check on default Array iterator
|
|
3094
3302
|
var isArrayIteratorMethod$1 = function (it) {
|
|
3095
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype
|
|
3303
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
|
|
3096
3304
|
};
|
|
3097
3305
|
|
|
3098
|
-
var classof$1 = classof$
|
|
3306
|
+
var classof$1 = classof$6;
|
|
3099
3307
|
var getMethod$1 = getMethod$3;
|
|
3100
3308
|
var Iterators = iterators;
|
|
3101
|
-
var wellKnownSymbol$
|
|
3309
|
+
var wellKnownSymbol$3 = wellKnownSymbol$g;
|
|
3102
3310
|
|
|
3103
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
3311
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
3104
3312
|
|
|
3105
3313
|
var getIteratorMethod$2 = function (it) {
|
|
3106
3314
|
if (it != undefined) return getMethod$1(it, ITERATOR$1)
|
|
@@ -3108,10 +3316,10 @@ var getIteratorMethod$2 = function (it) {
|
|
|
3108
3316
|
|| Iterators[classof$1(it)];
|
|
3109
3317
|
};
|
|
3110
3318
|
|
|
3111
|
-
var global$g = global$
|
|
3319
|
+
var global$g = global$M;
|
|
3112
3320
|
var call$5 = functionCall;
|
|
3113
3321
|
var aCallable$3 = aCallable$6;
|
|
3114
|
-
var anObject$
|
|
3322
|
+
var anObject$5 = anObject$b;
|
|
3115
3323
|
var tryToString$2 = tryToString$4;
|
|
3116
3324
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3117
3325
|
|
|
@@ -3119,17 +3327,17 @@ var TypeError$6 = global$g.TypeError;
|
|
|
3119
3327
|
|
|
3120
3328
|
var getIterator$1 = function (argument, usingIterator) {
|
|
3121
3329
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3122
|
-
if (aCallable$3(iteratorMethod)) return anObject$
|
|
3330
|
+
if (aCallable$3(iteratorMethod)) return anObject$5(call$5(iteratorMethod, argument));
|
|
3123
3331
|
throw TypeError$6(tryToString$2(argument) + ' is not iterable');
|
|
3124
3332
|
};
|
|
3125
3333
|
|
|
3126
3334
|
var call$4 = functionCall;
|
|
3127
|
-
var anObject$
|
|
3335
|
+
var anObject$4 = anObject$b;
|
|
3128
3336
|
var getMethod = getMethod$3;
|
|
3129
3337
|
|
|
3130
3338
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
3131
3339
|
var innerResult, innerError;
|
|
3132
|
-
anObject$
|
|
3340
|
+
anObject$4(iterator);
|
|
3133
3341
|
try {
|
|
3134
3342
|
innerResult = getMethod(iterator, 'return');
|
|
3135
3343
|
if (!innerResult) {
|
|
@@ -3143,14 +3351,14 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
3143
3351
|
}
|
|
3144
3352
|
if (kind === 'throw') throw value;
|
|
3145
3353
|
if (innerError) throw innerResult;
|
|
3146
|
-
anObject$
|
|
3354
|
+
anObject$4(innerResult);
|
|
3147
3355
|
return value;
|
|
3148
3356
|
};
|
|
3149
3357
|
|
|
3150
|
-
var global$f = global$
|
|
3358
|
+
var global$f = global$M;
|
|
3151
3359
|
var bind$6 = functionBindContext;
|
|
3152
3360
|
var call$3 = functionCall;
|
|
3153
|
-
var anObject$
|
|
3361
|
+
var anObject$3 = anObject$b;
|
|
3154
3362
|
var tryToString$1 = tryToString$4;
|
|
3155
3363
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3156
3364
|
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
@@ -3183,7 +3391,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
|
|
|
3183
3391
|
|
|
3184
3392
|
var callFn = function (value) {
|
|
3185
3393
|
if (AS_ENTRIES) {
|
|
3186
|
-
anObject$
|
|
3394
|
+
anObject$3(value);
|
|
3187
3395
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3188
3396
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3189
3397
|
};
|
|
@@ -3214,9 +3422,9 @@ var iterate$1 = function (iterable, unboundFunction, options) {
|
|
|
3214
3422
|
} return new Result(false);
|
|
3215
3423
|
};
|
|
3216
3424
|
|
|
3217
|
-
var wellKnownSymbol$
|
|
3425
|
+
var wellKnownSymbol$2 = wellKnownSymbol$g;
|
|
3218
3426
|
|
|
3219
|
-
var ITERATOR = wellKnownSymbol$
|
|
3427
|
+
var ITERATOR = wellKnownSymbol$2('iterator');
|
|
3220
3428
|
var SAFE_CLOSING = false;
|
|
3221
3429
|
|
|
3222
3430
|
try {
|
|
@@ -3253,7 +3461,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
3253
3461
|
return ITERATION_SUPPORT;
|
|
3254
3462
|
};
|
|
3255
3463
|
|
|
3256
|
-
var global$e = global$
|
|
3464
|
+
var global$e = global$M;
|
|
3257
3465
|
var isConstructor = isConstructor$2;
|
|
3258
3466
|
var tryToString = tryToString$4;
|
|
3259
3467
|
|
|
@@ -3265,29 +3473,25 @@ var aConstructor$1 = function (argument) {
|
|
|
3265
3473
|
throw TypeError$4(tryToString(argument) + ' is not a constructor');
|
|
3266
3474
|
};
|
|
3267
3475
|
|
|
3268
|
-
var anObject$
|
|
3476
|
+
var anObject$2 = anObject$b;
|
|
3269
3477
|
var aConstructor = aConstructor$1;
|
|
3270
|
-
var wellKnownSymbol$
|
|
3478
|
+
var wellKnownSymbol$1 = wellKnownSymbol$g;
|
|
3271
3479
|
|
|
3272
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
3480
|
+
var SPECIES$1 = wellKnownSymbol$1('species');
|
|
3273
3481
|
|
|
3274
3482
|
// `SpeciesConstructor` abstract operation
|
|
3275
3483
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
3276
3484
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
3277
|
-
var C = anObject$
|
|
3485
|
+
var C = anObject$2(O).constructor;
|
|
3278
3486
|
var S;
|
|
3279
|
-
return C === undefined || (S = anObject$
|
|
3487
|
+
return C === undefined || (S = anObject$2(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
|
|
3280
3488
|
};
|
|
3281
3489
|
|
|
3282
|
-
var getBuiltIn$2 = getBuiltIn$9;
|
|
3283
|
-
|
|
3284
|
-
var html$2 = getBuiltIn$2('document', 'documentElement');
|
|
3285
|
-
|
|
3286
3490
|
var uncurryThis$9 = functionUncurryThis;
|
|
3287
3491
|
|
|
3288
3492
|
var arraySlice$3 = uncurryThis$9([].slice);
|
|
3289
3493
|
|
|
3290
|
-
var global$d = global$
|
|
3494
|
+
var global$d = global$M;
|
|
3291
3495
|
|
|
3292
3496
|
var TypeError$3 = global$d.TypeError;
|
|
3293
3497
|
|
|
@@ -3301,17 +3505,17 @@ var userAgent$4 = engineUserAgent;
|
|
|
3301
3505
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$4);
|
|
3302
3506
|
|
|
3303
3507
|
var classof = classofRaw$1;
|
|
3304
|
-
var global$c = global$
|
|
3508
|
+
var global$c = global$M;
|
|
3305
3509
|
|
|
3306
3510
|
var engineIsNode = classof(global$c.process) == 'process';
|
|
3307
3511
|
|
|
3308
|
-
var global$b = global$
|
|
3512
|
+
var global$b = global$M;
|
|
3309
3513
|
var apply$1 = functionApply;
|
|
3310
3514
|
var bind$5 = functionBindContext;
|
|
3311
3515
|
var isCallable$2 = isCallable$g;
|
|
3312
3516
|
var hasOwn$1 = hasOwnProperty_1;
|
|
3313
3517
|
var fails$7 = fails$p;
|
|
3314
|
-
var html
|
|
3518
|
+
var html = html$2;
|
|
3315
3519
|
var arraySlice$2 = arraySlice$3;
|
|
3316
3520
|
var createElement = documentCreateElement$2;
|
|
3317
3521
|
var validateArgumentsLength = validateArgumentsLength$1;
|
|
@@ -3404,8 +3608,8 @@ if (!set || !clear) {
|
|
|
3404
3608
|
// IE8-
|
|
3405
3609
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
3406
3610
|
defer = function (id) {
|
|
3407
|
-
html
|
|
3408
|
-
html
|
|
3611
|
+
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
|
|
3612
|
+
html.removeChild(this);
|
|
3409
3613
|
run(id);
|
|
3410
3614
|
};
|
|
3411
3615
|
};
|
|
@@ -3423,7 +3627,7 @@ var task$1 = {
|
|
|
3423
3627
|
};
|
|
3424
3628
|
|
|
3425
3629
|
var userAgent$3 = engineUserAgent;
|
|
3426
|
-
var global$a = global$
|
|
3630
|
+
var global$a = global$M;
|
|
3427
3631
|
|
|
3428
3632
|
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$3) && global$a.Pebble !== undefined;
|
|
3429
3633
|
|
|
@@ -3431,7 +3635,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
3431
3635
|
|
|
3432
3636
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent$2);
|
|
3433
3637
|
|
|
3434
|
-
var global$9 = global$
|
|
3638
|
+
var global$9 = global$M;
|
|
3435
3639
|
var bind$4 = functionBindContext;
|
|
3436
3640
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
3437
3641
|
var macrotask = task$1.set;
|
|
@@ -3538,12 +3742,12 @@ newPromiseCapability$2.f = function (C) {
|
|
|
3538
3742
|
return new PromiseCapability(C);
|
|
3539
3743
|
};
|
|
3540
3744
|
|
|
3541
|
-
var anObject$
|
|
3542
|
-
var isObject$3 = isObject$
|
|
3745
|
+
var anObject$1 = anObject$b;
|
|
3746
|
+
var isObject$3 = isObject$h;
|
|
3543
3747
|
var newPromiseCapability$1 = newPromiseCapability$2;
|
|
3544
3748
|
|
|
3545
3749
|
var promiseResolve$1 = function (C, x) {
|
|
3546
|
-
anObject$
|
|
3750
|
+
anObject$1(C);
|
|
3547
3751
|
if (isObject$3(x) && x.constructor === C) return x;
|
|
3548
3752
|
var promiseCapability = newPromiseCapability$1.f(C);
|
|
3549
3753
|
var resolve = promiseCapability.resolve;
|
|
@@ -3551,7 +3755,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
3551
3755
|
return promiseCapability.promise;
|
|
3552
3756
|
};
|
|
3553
3757
|
|
|
3554
|
-
var global$8 = global$
|
|
3758
|
+
var global$8 = global$M;
|
|
3555
3759
|
|
|
3556
3760
|
var hostReportErrors$1 = function (a, b) {
|
|
3557
3761
|
var console = global$8.console;
|
|
@@ -3594,8 +3798,8 @@ var queue = Queue$1;
|
|
|
3594
3798
|
|
|
3595
3799
|
var engineIsBrowser = typeof window == 'object';
|
|
3596
3800
|
|
|
3597
|
-
var $$
|
|
3598
|
-
var global$7 = global$
|
|
3801
|
+
var $$a = _export;
|
|
3802
|
+
var global$7 = global$M;
|
|
3599
3803
|
var getBuiltIn$1 = getBuiltIn$9;
|
|
3600
3804
|
var call$2 = functionCall;
|
|
3601
3805
|
var NativePromise = nativePromiseConstructor;
|
|
@@ -3606,7 +3810,7 @@ var setToStringTag = setToStringTag$1;
|
|
|
3606
3810
|
var setSpecies = setSpecies$1;
|
|
3607
3811
|
var aCallable$1 = aCallable$6;
|
|
3608
3812
|
var isCallable$1 = isCallable$g;
|
|
3609
|
-
var isObject$2 = isObject$
|
|
3813
|
+
var isObject$2 = isObject$h;
|
|
3610
3814
|
var anInstance = anInstance$1;
|
|
3611
3815
|
var inspectSource = inspectSource$4;
|
|
3612
3816
|
var iterate = iterate$1;
|
|
@@ -3621,12 +3825,12 @@ var perform = perform$1;
|
|
|
3621
3825
|
var Queue = queue;
|
|
3622
3826
|
var InternalStateModule = internalState;
|
|
3623
3827
|
var isForced$1 = isForced_1;
|
|
3624
|
-
var wellKnownSymbol
|
|
3828
|
+
var wellKnownSymbol = wellKnownSymbol$g;
|
|
3625
3829
|
var IS_BROWSER = engineIsBrowser;
|
|
3626
3830
|
var IS_NODE = engineIsNode;
|
|
3627
3831
|
var V8_VERSION = engineV8Version;
|
|
3628
3832
|
|
|
3629
|
-
var SPECIES = wellKnownSymbol
|
|
3833
|
+
var SPECIES = wellKnownSymbol('species');
|
|
3630
3834
|
var PROMISE = 'Promise';
|
|
3631
3835
|
|
|
3632
3836
|
var getInternalState$1 = InternalStateModule.getterFor(PROMISE);
|
|
@@ -3919,7 +4123,7 @@ if (FORCED$2) {
|
|
|
3919
4123
|
}
|
|
3920
4124
|
}
|
|
3921
4125
|
|
|
3922
|
-
$$
|
|
4126
|
+
$$a({ global: true, wrap: true, forced: FORCED$2 }, {
|
|
3923
4127
|
Promise: PromiseConstructor
|
|
3924
4128
|
});
|
|
3925
4129
|
|
|
@@ -3929,7 +4133,7 @@ setSpecies(PROMISE);
|
|
|
3929
4133
|
PromiseWrapper = getBuiltIn$1(PROMISE);
|
|
3930
4134
|
|
|
3931
4135
|
// statics
|
|
3932
|
-
$$
|
|
4136
|
+
$$a({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
3933
4137
|
// `Promise.reject` method
|
|
3934
4138
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3935
4139
|
reject: function reject(r) {
|
|
@@ -3939,7 +4143,7 @@ $$b({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
|
3939
4143
|
}
|
|
3940
4144
|
});
|
|
3941
4145
|
|
|
3942
|
-
$$
|
|
4146
|
+
$$a({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
3943
4147
|
// `Promise.resolve` method
|
|
3944
4148
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3945
4149
|
resolve: function resolve(x) {
|
|
@@ -3947,7 +4151,7 @@ $$b({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
|
3947
4151
|
}
|
|
3948
4152
|
});
|
|
3949
4153
|
|
|
3950
|
-
$$
|
|
4154
|
+
$$a({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
3951
4155
|
// `Promise.all` method
|
|
3952
4156
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
3953
4157
|
all: function all(iterable) {
|
|
@@ -6650,7 +6854,7 @@ var lib = {
|
|
|
6650
6854
|
stringify: stringify
|
|
6651
6855
|
};
|
|
6652
6856
|
|
|
6653
|
-
var $$
|
|
6857
|
+
var $$9 = _export;
|
|
6654
6858
|
var $filter = arrayIteration.filter;
|
|
6655
6859
|
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
|
|
6656
6860
|
|
|
@@ -6659,13 +6863,13 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('filter');
|
|
|
6659
6863
|
// `Array.prototype.filter` method
|
|
6660
6864
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
6661
6865
|
// with adding support of @@species
|
|
6662
|
-
$$
|
|
6866
|
+
$$9({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
|
6663
6867
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
6664
6868
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
6665
6869
|
}
|
|
6666
6870
|
});
|
|
6667
6871
|
|
|
6668
|
-
var $$
|
|
6872
|
+
var $$8 = _export;
|
|
6669
6873
|
var toObject$1 = toObject$6;
|
|
6670
6874
|
var nativeKeys = objectKeys$3;
|
|
6671
6875
|
var fails$6 = fails$p;
|
|
@@ -6674,155 +6878,12 @@ var FAILS_ON_PRIMITIVES = fails$6(function () { nativeKeys(1); });
|
|
|
6674
6878
|
|
|
6675
6879
|
// `Object.keys` method
|
|
6676
6880
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
6677
|
-
$$
|
|
6881
|
+
$$8({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
6678
6882
|
keys: function keys(it) {
|
|
6679
6883
|
return nativeKeys(toObject$1(it));
|
|
6680
6884
|
}
|
|
6681
6885
|
});
|
|
6682
6886
|
|
|
6683
|
-
var objectDefineProperties = {};
|
|
6684
|
-
|
|
6685
|
-
var DESCRIPTORS$2 = descriptors;
|
|
6686
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
6687
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
6688
|
-
var anObject$2 = anObject$b;
|
|
6689
|
-
var toIndexedObject$2 = toIndexedObject$7;
|
|
6690
|
-
var objectKeys$1 = objectKeys$3;
|
|
6691
|
-
|
|
6692
|
-
// `Object.defineProperties` method
|
|
6693
|
-
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
6694
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
6695
|
-
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
6696
|
-
anObject$2(O);
|
|
6697
|
-
var props = toIndexedObject$2(Properties);
|
|
6698
|
-
var keys = objectKeys$1(Properties);
|
|
6699
|
-
var length = keys.length;
|
|
6700
|
-
var index = 0;
|
|
6701
|
-
var key;
|
|
6702
|
-
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
6703
|
-
return O;
|
|
6704
|
-
};
|
|
6705
|
-
|
|
6706
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
6707
|
-
|
|
6708
|
-
var anObject$1 = anObject$b;
|
|
6709
|
-
var definePropertiesModule = objectDefineProperties;
|
|
6710
|
-
var enumBugKeys = enumBugKeys$3;
|
|
6711
|
-
var hiddenKeys = hiddenKeys$5;
|
|
6712
|
-
var html = html$2;
|
|
6713
|
-
var documentCreateElement = documentCreateElement$2;
|
|
6714
|
-
var sharedKey = sharedKey$2;
|
|
6715
|
-
|
|
6716
|
-
var GT = '>';
|
|
6717
|
-
var LT = '<';
|
|
6718
|
-
var PROTOTYPE = 'prototype';
|
|
6719
|
-
var SCRIPT = 'script';
|
|
6720
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
6721
|
-
|
|
6722
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
6723
|
-
|
|
6724
|
-
var scriptTag = function (content) {
|
|
6725
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
6726
|
-
};
|
|
6727
|
-
|
|
6728
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
6729
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
6730
|
-
activeXDocument.write(scriptTag(''));
|
|
6731
|
-
activeXDocument.close();
|
|
6732
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
6733
|
-
activeXDocument = null; // avoid memory leak
|
|
6734
|
-
return temp;
|
|
6735
|
-
};
|
|
6736
|
-
|
|
6737
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
6738
|
-
var NullProtoObjectViaIFrame = function () {
|
|
6739
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
6740
|
-
var iframe = documentCreateElement('iframe');
|
|
6741
|
-
var JS = 'java' + SCRIPT + ':';
|
|
6742
|
-
var iframeDocument;
|
|
6743
|
-
iframe.style.display = 'none';
|
|
6744
|
-
html.appendChild(iframe);
|
|
6745
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
6746
|
-
iframe.src = String(JS);
|
|
6747
|
-
iframeDocument = iframe.contentWindow.document;
|
|
6748
|
-
iframeDocument.open();
|
|
6749
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
6750
|
-
iframeDocument.close();
|
|
6751
|
-
return iframeDocument.F;
|
|
6752
|
-
};
|
|
6753
|
-
|
|
6754
|
-
// Check for document.domain and active x support
|
|
6755
|
-
// No need to use active x approach when document.domain is not set
|
|
6756
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
6757
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
6758
|
-
// avoid IE GC bug
|
|
6759
|
-
var activeXDocument;
|
|
6760
|
-
var NullProtoObject = function () {
|
|
6761
|
-
try {
|
|
6762
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
6763
|
-
} catch (error) { /* ignore */ }
|
|
6764
|
-
NullProtoObject = typeof document != 'undefined'
|
|
6765
|
-
? document.domain && activeXDocument
|
|
6766
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
6767
|
-
: NullProtoObjectViaIFrame()
|
|
6768
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
6769
|
-
var length = enumBugKeys.length;
|
|
6770
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
6771
|
-
return NullProtoObject();
|
|
6772
|
-
};
|
|
6773
|
-
|
|
6774
|
-
hiddenKeys[IE_PROTO] = true;
|
|
6775
|
-
|
|
6776
|
-
// `Object.create` method
|
|
6777
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
6778
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
|
6779
|
-
var result;
|
|
6780
|
-
if (O !== null) {
|
|
6781
|
-
EmptyConstructor[PROTOTYPE] = anObject$1(O);
|
|
6782
|
-
result = new EmptyConstructor();
|
|
6783
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
6784
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
6785
|
-
result[IE_PROTO] = O;
|
|
6786
|
-
} else result = NullProtoObject();
|
|
6787
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
6788
|
-
};
|
|
6789
|
-
|
|
6790
|
-
var wellKnownSymbol = wellKnownSymbol$e;
|
|
6791
|
-
var create$1 = objectCreate;
|
|
6792
|
-
var definePropertyModule = objectDefineProperty;
|
|
6793
|
-
|
|
6794
|
-
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
6795
|
-
var ArrayPrototype = Array.prototype;
|
|
6796
|
-
|
|
6797
|
-
// Array.prototype[@@unscopables]
|
|
6798
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6799
|
-
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
6800
|
-
definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
|
|
6801
|
-
configurable: true,
|
|
6802
|
-
value: create$1(null)
|
|
6803
|
-
});
|
|
6804
|
-
}
|
|
6805
|
-
|
|
6806
|
-
// add a key to Array.prototype[@@unscopables]
|
|
6807
|
-
var addToUnscopables$2 = function (key) {
|
|
6808
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
6809
|
-
};
|
|
6810
|
-
|
|
6811
|
-
var $$8 = _export;
|
|
6812
|
-
var $includes = arrayIncludes.includes;
|
|
6813
|
-
var addToUnscopables$1 = addToUnscopables$2;
|
|
6814
|
-
|
|
6815
|
-
// `Array.prototype.includes` method
|
|
6816
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
6817
|
-
$$8({ target: 'Array', proto: true }, {
|
|
6818
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
6819
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
6820
|
-
}
|
|
6821
|
-
});
|
|
6822
|
-
|
|
6823
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6824
|
-
addToUnscopables$1('includes');
|
|
6825
|
-
|
|
6826
6887
|
var sanitizeParams = function sanitizeParams() {
|
|
6827
6888
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
6828
6889
|
return Object.keys(params).filter(function (key) {
|
|
@@ -6899,10 +6960,14 @@ var ChargeResponses = {
|
|
|
6899
6960
|
return {
|
|
6900
6961
|
status: 'auth',
|
|
6901
6962
|
message: authMessage || 'Authentication required',
|
|
6902
|
-
data: _objectSpread2({
|
|
6963
|
+
data: _objectSpread2(_objectSpread2(_objectSpread2({
|
|
6903
6964
|
auth: response.auth
|
|
6904
6965
|
}, response.countryCode && {
|
|
6905
6966
|
countryCode: response.countryCode
|
|
6967
|
+
}), response.openInNewTab && {
|
|
6968
|
+
openInNewTab: response.openInNewTab
|
|
6969
|
+
}), response.length && {
|
|
6970
|
+
length: response.length
|
|
6906
6971
|
})
|
|
6907
6972
|
};
|
|
6908
6973
|
},
|
|
@@ -7033,6 +7098,16 @@ var PayWithTransferAPI = {
|
|
|
7033
7098
|
}).then(function (response) {
|
|
7034
7099
|
return ChargeResponses.parse(response.data);
|
|
7035
7100
|
});
|
|
7101
|
+
},
|
|
7102
|
+
submitPayerDetails: function submitPayerDetails(params, publicKey) {
|
|
7103
|
+
var headers = {
|
|
7104
|
+
Authorization: "Bearer ".concat(publicKey)
|
|
7105
|
+
};
|
|
7106
|
+
return axiosInstance.post("".concat(configToUse.paystackApiUrl, "managed_account/customer_claim"), params, {
|
|
7107
|
+
headers: headers
|
|
7108
|
+
}).then(function (response) {
|
|
7109
|
+
return ChargeResponses.parse(response.data);
|
|
7110
|
+
});
|
|
7036
7111
|
}
|
|
7037
7112
|
};
|
|
7038
7113
|
|
|
@@ -7053,6 +7128,25 @@ var PayWithTransferCharge = {
|
|
|
7053
7128
|
return response;
|
|
7054
7129
|
});
|
|
7055
7130
|
},
|
|
7131
|
+
submitPayerDetails: function submitPayerDetails(_ref2) {
|
|
7132
|
+
var email = _ref2.email,
|
|
7133
|
+
accountNumber = _ref2.accountNumber,
|
|
7134
|
+
bankId = _ref2.bankId,
|
|
7135
|
+
managedAccountNumber = _ref2.managedAccountNumber,
|
|
7136
|
+
providerSlug = _ref2.providerSlug,
|
|
7137
|
+
claimType = _ref2.claimType;
|
|
7138
|
+
var params = {
|
|
7139
|
+
reference_id: this.id,
|
|
7140
|
+
account_number: accountNumber,
|
|
7141
|
+
email: email,
|
|
7142
|
+
institution_id: bankId,
|
|
7143
|
+
institution_type: 'bank',
|
|
7144
|
+
claim_type: claimType,
|
|
7145
|
+
managed_account_number: managedAccountNumber,
|
|
7146
|
+
provider_slug: providerSlug
|
|
7147
|
+
};
|
|
7148
|
+
return PayWithTransferAPI.submitPayerDetails(params, this.merchant.key);
|
|
7149
|
+
},
|
|
7056
7150
|
listenForPayWithTransferCharge: function listenForPayWithTransferCharge(callback) {
|
|
7057
7151
|
var pusherChannel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
7058
7152
|
var data = this.bankTransfer.data;
|
|
@@ -14231,7 +14325,7 @@ var regexpFlags$1 = function () {
|
|
|
14231
14325
|
};
|
|
14232
14326
|
|
|
14233
14327
|
var fails$5 = fails$p;
|
|
14234
|
-
var global$6 = global$
|
|
14328
|
+
var global$6 = global$M;
|
|
14235
14329
|
|
|
14236
14330
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
14237
14331
|
var $RegExp$2 = global$6.RegExp;
|
|
@@ -14262,7 +14356,7 @@ var regexpStickyHelpers = {
|
|
|
14262
14356
|
};
|
|
14263
14357
|
|
|
14264
14358
|
var fails$4 = fails$p;
|
|
14265
|
-
var global$5 = global$
|
|
14359
|
+
var global$5 = global$M;
|
|
14266
14360
|
|
|
14267
14361
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
14268
14362
|
var $RegExp$1 = global$5.RegExp;
|
|
@@ -14273,7 +14367,7 @@ var regexpUnsupportedDotAll = fails$4(function () {
|
|
|
14273
14367
|
});
|
|
14274
14368
|
|
|
14275
14369
|
var fails$3 = fails$p;
|
|
14276
|
-
var global$4 = global$
|
|
14370
|
+
var global$4 = global$M;
|
|
14277
14371
|
|
|
14278
14372
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
14279
14373
|
var $RegExp = global$4.RegExp;
|
|
@@ -14288,7 +14382,7 @@ var regexpUnsupportedNcg = fails$3(function () {
|
|
|
14288
14382
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
14289
14383
|
var call$1 = functionCall;
|
|
14290
14384
|
var uncurryThis$6 = functionUncurryThis;
|
|
14291
|
-
var toString$2 = toString$
|
|
14385
|
+
var toString$2 = toString$7;
|
|
14292
14386
|
var regexpFlags = regexpFlags$1;
|
|
14293
14387
|
var stickyHelpers = regexpStickyHelpers;
|
|
14294
14388
|
var shared = shared$4.exports;
|
|
@@ -14413,11 +14507,11 @@ $$4({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
|
14413
14507
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
14414
14508
|
|
|
14415
14509
|
var $$3 = _export;
|
|
14416
|
-
var global$3 = global$
|
|
14510
|
+
var global$3 = global$M;
|
|
14417
14511
|
var call = functionCall;
|
|
14418
14512
|
var uncurryThis$5 = functionUncurryThis;
|
|
14419
14513
|
var isCallable = isCallable$g;
|
|
14420
|
-
var isObject = isObject$
|
|
14514
|
+
var isObject = isObject$h;
|
|
14421
14515
|
|
|
14422
14516
|
var DELEGATES_TO_EXEC = function () {
|
|
14423
14517
|
var execCalled = false;
|
|
@@ -14681,15 +14775,25 @@ var DigitalBankMandateAPI = {
|
|
|
14681
14775
|
var bankId = _ref.bankId,
|
|
14682
14776
|
transactionId = _ref.transactionId,
|
|
14683
14777
|
phoneNumber = _ref.phoneNumber,
|
|
14684
|
-
|
|
14778
|
+
token = _ref.token,
|
|
14779
|
+
accountNumber = _ref.accountNumber;
|
|
14685
14780
|
var url = "".concat(configToUse.paymentBaseUrl, "bank/digitalbankmandate/").concat(bankId, "/").concat(transactionId);
|
|
14781
|
+
var bankObject = {
|
|
14782
|
+
16: 'sterling-bank',
|
|
14783
|
+
62: 'kuda-bank'
|
|
14784
|
+
};
|
|
14686
14785
|
var headers = {
|
|
14687
14786
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
14688
14787
|
};
|
|
14689
|
-
|
|
14690
|
-
|
|
14691
|
-
|
|
14692
|
-
}
|
|
14788
|
+
|
|
14789
|
+
var params = _objectSpread2(_objectSpread2({}, bankObject[bankId] === 'sterling-bank' ? {
|
|
14790
|
+
account_number: accountNumber
|
|
14791
|
+
} : {
|
|
14792
|
+
phone_number: phoneNumber
|
|
14793
|
+
}), {}, {
|
|
14794
|
+
token: token
|
|
14795
|
+
});
|
|
14796
|
+
|
|
14693
14797
|
var urlEncodedParams = formUrlencoded(params);
|
|
14694
14798
|
return axiosInstance.post(url, urlEncodedParams, {
|
|
14695
14799
|
headers: headers
|
|
@@ -14705,13 +14809,15 @@ var DigitalBankMandate = {
|
|
|
14705
14809
|
var _this = this;
|
|
14706
14810
|
|
|
14707
14811
|
var phoneNumber = _ref.phoneNumber,
|
|
14708
|
-
|
|
14709
|
-
bankId = _ref.bankId
|
|
14812
|
+
token = _ref.token,
|
|
14813
|
+
bankId = _ref.bankId,
|
|
14814
|
+
accountNumber = _ref.accountNumber;
|
|
14710
14815
|
var params = {
|
|
14711
14816
|
transactionId: this.id,
|
|
14712
14817
|
phoneNumber: phoneNumber,
|
|
14713
|
-
|
|
14714
|
-
bankId: bankId
|
|
14818
|
+
token: token,
|
|
14819
|
+
bankId: bankId,
|
|
14820
|
+
accountNumber: accountNumber
|
|
14715
14821
|
};
|
|
14716
14822
|
return DigitalBankMandateAPI.charge(params).then(function (response) {
|
|
14717
14823
|
_this.logAPIResponse(response, paymentMethod$1);
|
|
@@ -15218,8 +15324,8 @@ var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
15218
15324
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
15219
15325
|
|
|
15220
15326
|
var uncurryThis$3 = functionUncurryThis;
|
|
15221
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
15222
|
-
var toString$1 = toString$
|
|
15327
|
+
var requireObjectCoercible = requireObjectCoercible$4;
|
|
15328
|
+
var toString$1 = toString$7;
|
|
15223
15329
|
var whitespaces = whitespaces$1;
|
|
15224
15330
|
|
|
15225
15331
|
var replace$1 = uncurryThis$3(''.replace);
|
|
@@ -15250,7 +15356,7 @@ var stringTrim = {
|
|
|
15250
15356
|
};
|
|
15251
15357
|
|
|
15252
15358
|
var DESCRIPTORS = descriptors;
|
|
15253
|
-
var global$2 = global$
|
|
15359
|
+
var global$2 = global$M;
|
|
15254
15360
|
var uncurryThis$2 = functionUncurryThis;
|
|
15255
15361
|
var isForced = isForced_1;
|
|
15256
15362
|
var redefine = redefine$5.exports;
|
|
@@ -15546,7 +15652,7 @@ function isMobile (ua) {
|
|
|
15546
15652
|
}
|
|
15547
15653
|
|
|
15548
15654
|
var $$2 = _export;
|
|
15549
|
-
var global$1 = global$
|
|
15655
|
+
var global$1 = global$M;
|
|
15550
15656
|
var getBuiltIn = getBuiltIn$9;
|
|
15551
15657
|
var apply = functionApply;
|
|
15552
15658
|
var uncurryThis$1 = functionUncurryThis;
|
|
@@ -15859,7 +15965,8 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
15859
15965
|
this.isTest = data.domain === 'test';
|
|
15860
15966
|
this.currency = data.currency;
|
|
15861
15967
|
this.id = data.id;
|
|
15862
|
-
this.channels = data.channels;
|
|
15968
|
+
this.channels = ['apple_pay'].concat(data.channels); // TODO: remove hardcoded channel
|
|
15969
|
+
|
|
15863
15970
|
this.label = data.label;
|
|
15864
15971
|
this.metadata = data.metadata || {};
|
|
15865
15972
|
this.cancel_action = data.cancel_action || null;
|
|
@@ -15900,7 +16007,11 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
15900
16007
|
this.channels.forEach(function (channel) {
|
|
15901
16008
|
var chargeFunctions = ChargeFunctions.get(channel);
|
|
15902
16009
|
Object.assign(_this, chargeFunctions);
|
|
15903
|
-
});
|
|
16010
|
+
}); // Bank transfer charge functions are required for some features on USSD.
|
|
16011
|
+
|
|
16012
|
+
if (this.channels.includes('ussd') && !this.channels.includes('bank_transfer')) {
|
|
16013
|
+
Object.assign(this, ChargeFunctions.get('bank_transfer'));
|
|
16014
|
+
}
|
|
15904
16015
|
}
|
|
15905
16016
|
|
|
15906
16017
|
_createClass(TransactionInstance, [{
|
|
@@ -16076,6 +16187,10 @@ var fields = {
|
|
|
16076
16187
|
required: false,
|
|
16077
16188
|
isValid: isString
|
|
16078
16189
|
},
|
|
16190
|
+
split_code: {
|
|
16191
|
+
required: false,
|
|
16192
|
+
isValid: isString
|
|
16193
|
+
},
|
|
16079
16194
|
hash: {
|
|
16080
16195
|
required: false,
|
|
16081
16196
|
isValid: isString
|
|
@@ -16206,7 +16321,7 @@ var uncurryThis = functionUncurryThis;
|
|
|
16206
16321
|
var aCallable = aCallable$6;
|
|
16207
16322
|
var toObject = toObject$6;
|
|
16208
16323
|
var lengthOfArrayLike = lengthOfArrayLike$6;
|
|
16209
|
-
var toString = toString$
|
|
16324
|
+
var toString = toString$7;
|
|
16210
16325
|
var fails = fails$p;
|
|
16211
16326
|
var internalSort = arraySort;
|
|
16212
16327
|
var arrayMethodIsStrict = arrayMethodIsStrict$3;
|