@paystack/checkout-js 1.57.0-beta.1 → 1.57.0-beta.11

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/es/checkout.js CHANGED
@@ -1035,7 +1035,7 @@ var check = function (it) {
1035
1035
  };
1036
1036
 
1037
1037
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1038
- var global$T =
1038
+ var global$V =
1039
1039
  // eslint-disable-next-line es/no-global-this -- safe
1040
1040
  check(typeof globalThis == 'object' && globalThis) ||
1041
1041
  check(typeof window == 'object' && window) ||
@@ -1047,7 +1047,7 @@ var global$T =
1047
1047
 
1048
1048
  var objectGetOwnPropertyDescriptor = {};
1049
1049
 
1050
- var fails$v = function (exec) {
1050
+ var fails$x = function (exec) {
1051
1051
  try {
1052
1052
  return !!exec();
1053
1053
  } catch (error) {
@@ -1055,17 +1055,17 @@ var fails$v = function (exec) {
1055
1055
  }
1056
1056
  };
1057
1057
 
1058
- var fails$u = fails$v;
1058
+ var fails$w = fails$x;
1059
1059
 
1060
1060
  // Detect IE8's incomplete defineProperty implementation
1061
- var descriptors$1 = !fails$u(function () {
1061
+ var descriptors$1 = !fails$w(function () {
1062
1062
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1063
1063
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
1064
1064
  });
1065
1065
 
1066
- var fails$t = fails$v;
1066
+ var fails$v = fails$x;
1067
1067
 
1068
- var functionBindNative = !fails$t(function () {
1068
+ var functionBindNative = !fails$v(function () {
1069
1069
  var test = (function () { /* empty */ }).bind();
1070
1070
  // eslint-disable-next-line no-prototype-builtins -- safe
1071
1071
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -1109,35 +1109,35 @@ var NATIVE_BIND$2 = functionBindNative;
1109
1109
  var FunctionPrototype$3 = Function.prototype;
1110
1110
  var bind$c = FunctionPrototype$3.bind;
1111
1111
  var call$e = FunctionPrototype$3.call;
1112
- var uncurryThis$x = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1112
+ var uncurryThis$A = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1113
1113
 
1114
1114
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
1115
- return fn && uncurryThis$x(fn);
1115
+ return fn && uncurryThis$A(fn);
1116
1116
  } : function (fn) {
1117
1117
  return fn && function () {
1118
1118
  return call$e.apply(fn, arguments);
1119
1119
  };
1120
1120
  };
1121
1121
 
1122
- var uncurryThis$w = functionUncurryThis;
1122
+ var uncurryThis$z = functionUncurryThis;
1123
1123
 
1124
- var toString$b = uncurryThis$w({}.toString);
1125
- var stringSlice$4 = uncurryThis$w(''.slice);
1124
+ var toString$b = uncurryThis$z({}.toString);
1125
+ var stringSlice$4 = uncurryThis$z(''.slice);
1126
1126
 
1127
1127
  var classofRaw$1 = function (it) {
1128
1128
  return stringSlice$4(toString$b(it), 8, -1);
1129
1129
  };
1130
1130
 
1131
- var global$S = global$T;
1132
- var uncurryThis$v = functionUncurryThis;
1133
- var fails$s = fails$v;
1131
+ var global$U = global$V;
1132
+ var uncurryThis$y = functionUncurryThis;
1133
+ var fails$u = fails$x;
1134
1134
  var classof$a = classofRaw$1;
1135
1135
 
1136
- var Object$5 = global$S.Object;
1137
- var split$4 = uncurryThis$v(''.split);
1136
+ var Object$5 = global$U.Object;
1137
+ var split$4 = uncurryThis$y(''.split);
1138
1138
 
1139
1139
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1140
- var indexedObject = fails$s(function () {
1140
+ var indexedObject = fails$u(function () {
1141
1141
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
1142
1142
  // eslint-disable-next-line no-prototype-builtins -- safe
1143
1143
  return !Object$5('z').propertyIsEnumerable(0);
@@ -1145,9 +1145,9 @@ var indexedObject = fails$s(function () {
1145
1145
  return classof$a(it) == 'String' ? split$4(it, '') : Object$5(it);
1146
1146
  } : Object$5;
1147
1147
 
1148
- var global$R = global$T;
1148
+ var global$T = global$V;
1149
1149
 
1150
- var TypeError$j = global$R.TypeError;
1150
+ var TypeError$j = global$T.TypeError;
1151
1151
 
1152
1152
  // `RequireObjectCoercible` abstract operation
1153
1153
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
@@ -1166,40 +1166,40 @@ var toIndexedObject$8 = function (it) {
1166
1166
 
1167
1167
  // `IsCallable` abstract operation
1168
1168
  // https://tc39.es/ecma262/#sec-iscallable
1169
- var isCallable$k = function (argument) {
1169
+ var isCallable$l = function (argument) {
1170
1170
  return typeof argument == 'function';
1171
1171
  };
1172
1172
 
1173
- var isCallable$j = isCallable$k;
1173
+ var isCallable$k = isCallable$l;
1174
1174
 
1175
- var isObject$h = function (it) {
1176
- return typeof it == 'object' ? it !== null : isCallable$j(it);
1175
+ var isObject$l = function (it) {
1176
+ return typeof it == 'object' ? it !== null : isCallable$k(it);
1177
1177
  };
1178
1178
 
1179
- var global$Q = global$T;
1180
- var isCallable$i = isCallable$k;
1179
+ var global$S = global$V;
1180
+ var isCallable$j = isCallable$l;
1181
1181
 
1182
1182
  var aFunction = function (argument) {
1183
- return isCallable$i(argument) ? argument : undefined;
1183
+ return isCallable$j(argument) ? argument : undefined;
1184
1184
  };
1185
1185
 
1186
1186
  var getBuiltIn$a = function (namespace, method) {
1187
- return arguments.length < 2 ? aFunction(global$Q[namespace]) : global$Q[namespace] && global$Q[namespace][method];
1187
+ return arguments.length < 2 ? aFunction(global$S[namespace]) : global$S[namespace] && global$S[namespace][method];
1188
1188
  };
1189
1189
 
1190
- var uncurryThis$u = functionUncurryThis;
1190
+ var uncurryThis$x = functionUncurryThis;
1191
1191
 
1192
- var objectIsPrototypeOf = uncurryThis$u({}.isPrototypeOf);
1192
+ var objectIsPrototypeOf = uncurryThis$x({}.isPrototypeOf);
1193
1193
 
1194
1194
  var getBuiltIn$9 = getBuiltIn$a;
1195
1195
 
1196
1196
  var engineUserAgent = getBuiltIn$9('navigator', 'userAgent') || '';
1197
1197
 
1198
- var global$P = global$T;
1198
+ var global$R = global$V;
1199
1199
  var userAgent$5 = engineUserAgent;
1200
1200
 
1201
- var process$4 = global$P.process;
1202
- var Deno = global$P.Deno;
1201
+ var process$4 = global$R.process;
1202
+ var Deno = global$R.Deno;
1203
1203
  var versions = process$4 && process$4.versions || Deno && Deno.version;
1204
1204
  var v8 = versions && versions.v8;
1205
1205
  var match, version;
@@ -1226,10 +1226,10 @@ var engineV8Version = version;
1226
1226
  /* eslint-disable es/no-symbol -- required for testing */
1227
1227
 
1228
1228
  var V8_VERSION$3 = engineV8Version;
1229
- var fails$r = fails$v;
1229
+ var fails$t = fails$x;
1230
1230
 
1231
1231
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1232
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$r(function () {
1232
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$t(function () {
1233
1233
  var symbol = Symbol();
1234
1234
  // Chrome 38 Symbol has incorrect toString conversion
1235
1235
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -1246,24 +1246,24 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
1246
1246
  && !Symbol.sham
1247
1247
  && typeof Symbol.iterator == 'symbol';
1248
1248
 
1249
- var global$O = global$T;
1249
+ var global$Q = global$V;
1250
1250
  var getBuiltIn$8 = getBuiltIn$a;
1251
- var isCallable$h = isCallable$k;
1251
+ var isCallable$i = isCallable$l;
1252
1252
  var isPrototypeOf$5 = objectIsPrototypeOf;
1253
1253
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
1254
1254
 
1255
- var Object$4 = global$O.Object;
1255
+ var Object$4 = global$Q.Object;
1256
1256
 
1257
1257
  var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
1258
1258
  return typeof it == 'symbol';
1259
1259
  } : function (it) {
1260
1260
  var $Symbol = getBuiltIn$8('Symbol');
1261
- return isCallable$h($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
1261
+ return isCallable$i($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
1262
1262
  };
1263
1263
 
1264
- var global$N = global$T;
1264
+ var global$P = global$V;
1265
1265
 
1266
- var String$5 = global$N.String;
1266
+ var String$5 = global$P.String;
1267
1267
 
1268
1268
  var tryToString$4 = function (argument) {
1269
1269
  try {
@@ -1273,15 +1273,15 @@ var tryToString$4 = function (argument) {
1273
1273
  }
1274
1274
  };
1275
1275
 
1276
- var global$M = global$T;
1277
- var isCallable$g = isCallable$k;
1276
+ var global$O = global$V;
1277
+ var isCallable$h = isCallable$l;
1278
1278
  var tryToString$3 = tryToString$4;
1279
1279
 
1280
- var TypeError$i = global$M.TypeError;
1280
+ var TypeError$i = global$O.TypeError;
1281
1281
 
1282
1282
  // `Assert: IsCallable(argument) is true`
1283
1283
  var aCallable$7 = function (argument) {
1284
- if (isCallable$g(argument)) return argument;
1284
+ if (isCallable$h(argument)) return argument;
1285
1285
  throw TypeError$i(tryToString$3(argument) + ' is not a function');
1286
1286
  };
1287
1287
 
@@ -1294,20 +1294,20 @@ var getMethod$3 = function (V, P) {
1294
1294
  return func == null ? undefined : aCallable$6(func);
1295
1295
  };
1296
1296
 
1297
- var global$L = global$T;
1297
+ var global$N = global$V;
1298
1298
  var call$d = functionCall;
1299
- var isCallable$f = isCallable$k;
1300
- var isObject$g = isObject$h;
1299
+ var isCallable$g = isCallable$l;
1300
+ var isObject$k = isObject$l;
1301
1301
 
1302
- var TypeError$h = global$L.TypeError;
1302
+ var TypeError$h = global$N.TypeError;
1303
1303
 
1304
1304
  // `OrdinaryToPrimitive` abstract operation
1305
1305
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
1306
1306
  var ordinaryToPrimitive$1 = function (input, pref) {
1307
1307
  var fn, val;
1308
- if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$g(val = call$d(fn, input))) return val;
1309
- if (isCallable$f(fn = input.valueOf) && !isObject$g(val = call$d(fn, input))) return val;
1310
- if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$g(val = call$d(fn, input))) return val;
1308
+ if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$k(val = call$d(fn, input))) return val;
1309
+ if (isCallable$g(fn = input.valueOf) && !isObject$k(val = call$d(fn, input))) return val;
1310
+ if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$k(val = call$d(fn, input))) return val;
1311
1311
  throw TypeError$h("Can't convert object to primitive value");
1312
1312
  };
1313
1313
 
@@ -1315,24 +1315,24 @@ var shared$4 = {exports: {}};
1315
1315
 
1316
1316
  var isPure = false;
1317
1317
 
1318
- var global$K = global$T;
1318
+ var global$M = global$V;
1319
1319
 
1320
1320
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1321
1321
  var defineProperty$6 = Object.defineProperty;
1322
1322
 
1323
1323
  var setGlobal$3 = function (key, value) {
1324
1324
  try {
1325
- defineProperty$6(global$K, key, { value: value, configurable: true, writable: true });
1325
+ defineProperty$6(global$M, key, { value: value, configurable: true, writable: true });
1326
1326
  } catch (error) {
1327
- global$K[key] = value;
1327
+ global$M[key] = value;
1328
1328
  } return value;
1329
1329
  };
1330
1330
 
1331
- var global$J = global$T;
1331
+ var global$L = global$V;
1332
1332
  var setGlobal$2 = setGlobal$3;
1333
1333
 
1334
1334
  var SHARED = '__core-js_shared__';
1335
- var store$3 = global$J[SHARED] || setGlobal$2(SHARED, {});
1335
+ var store$3 = global$L[SHARED] || setGlobal$2(SHARED, {});
1336
1336
 
1337
1337
  var sharedStore = store$3;
1338
1338
 
@@ -1348,10 +1348,10 @@ var store$2 = sharedStore;
1348
1348
  source: 'https://github.com/zloirock/core-js'
1349
1349
  });
1350
1350
 
1351
- var global$I = global$T;
1351
+ var global$K = global$V;
1352
1352
  var requireObjectCoercible$2 = requireObjectCoercible$4;
1353
1353
 
1354
- var Object$3 = global$I.Object;
1354
+ var Object$3 = global$K.Object;
1355
1355
 
1356
1356
  // `ToObject` abstract operation
1357
1357
  // https://tc39.es/ecma262/#sec-toobject
@@ -1359,10 +1359,10 @@ var toObject$9 = function (argument) {
1359
1359
  return Object$3(requireObjectCoercible$2(argument));
1360
1360
  };
1361
1361
 
1362
- var uncurryThis$t = functionUncurryThis;
1362
+ var uncurryThis$w = functionUncurryThis;
1363
1363
  var toObject$8 = toObject$9;
1364
1364
 
1365
- var hasOwnProperty$1 = uncurryThis$t({}.hasOwnProperty);
1365
+ var hasOwnProperty$1 = uncurryThis$w({}.hasOwnProperty);
1366
1366
 
1367
1367
  // `HasOwnProperty` abstract operation
1368
1368
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -1370,32 +1370,32 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
1370
1370
  return hasOwnProperty$1(toObject$8(it), key);
1371
1371
  };
1372
1372
 
1373
- var uncurryThis$s = functionUncurryThis;
1373
+ var uncurryThis$v = functionUncurryThis;
1374
1374
 
1375
- var id$1 = 0;
1375
+ var id$2 = 0;
1376
1376
  var postfix = Math.random();
1377
- var toString$a = uncurryThis$s(1.0.toString);
1377
+ var toString$a = uncurryThis$v(1.0.toString);
1378
1378
 
1379
1379
  var uid$3 = function (key) {
1380
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$1 + postfix, 36);
1380
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$2 + postfix, 36);
1381
1381
  };
1382
1382
 
1383
- var global$H = global$T;
1383
+ var global$J = global$V;
1384
1384
  var shared$3 = shared$4.exports;
1385
- var hasOwn$e = hasOwnProperty_1;
1385
+ var hasOwn$f = hasOwnProperty_1;
1386
1386
  var uid$2 = uid$3;
1387
1387
  var NATIVE_SYMBOL = nativeSymbol;
1388
1388
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
1389
1389
 
1390
1390
  var WellKnownSymbolsStore = shared$3('wks');
1391
- var Symbol$2 = global$H.Symbol;
1391
+ var Symbol$2 = global$J.Symbol;
1392
1392
  var symbolFor = Symbol$2 && Symbol$2['for'];
1393
1393
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$2;
1394
1394
 
1395
1395
  var wellKnownSymbol$j = function (name) {
1396
- if (!hasOwn$e(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
1396
+ if (!hasOwn$f(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
1397
1397
  var description = 'Symbol.' + name;
1398
- if (NATIVE_SYMBOL && hasOwn$e(Symbol$2, name)) {
1398
+ if (NATIVE_SYMBOL && hasOwn$f(Symbol$2, name)) {
1399
1399
  WellKnownSymbolsStore[name] = Symbol$2[name];
1400
1400
  } else if (USE_SYMBOL_AS_UID && symbolFor) {
1401
1401
  WellKnownSymbolsStore[name] = symbolFor(description);
@@ -1405,27 +1405,27 @@ var wellKnownSymbol$j = function (name) {
1405
1405
  } return WellKnownSymbolsStore[name];
1406
1406
  };
1407
1407
 
1408
- var global$G = global$T;
1408
+ var global$I = global$V;
1409
1409
  var call$c = functionCall;
1410
- var isObject$f = isObject$h;
1410
+ var isObject$j = isObject$l;
1411
1411
  var isSymbol$2 = isSymbol$3;
1412
1412
  var getMethod$2 = getMethod$3;
1413
1413
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
1414
1414
  var wellKnownSymbol$i = wellKnownSymbol$j;
1415
1415
 
1416
- var TypeError$g = global$G.TypeError;
1416
+ var TypeError$g = global$I.TypeError;
1417
1417
  var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive');
1418
1418
 
1419
1419
  // `ToPrimitive` abstract operation
1420
1420
  // https://tc39.es/ecma262/#sec-toprimitive
1421
1421
  var toPrimitive$2 = function (input, pref) {
1422
- if (!isObject$f(input) || isSymbol$2(input)) return input;
1422
+ if (!isObject$j(input) || isSymbol$2(input)) return input;
1423
1423
  var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
1424
1424
  var result;
1425
1425
  if (exoticToPrim) {
1426
1426
  if (pref === undefined) pref = 'default';
1427
1427
  result = call$c(exoticToPrim, input, pref);
1428
- if (!isObject$f(result) || isSymbol$2(result)) return result;
1428
+ if (!isObject$j(result) || isSymbol$2(result)) return result;
1429
1429
  throw TypeError$g("Can't convert object to primitive value");
1430
1430
  }
1431
1431
  if (pref === undefined) pref = 'number';
@@ -1442,23 +1442,23 @@ var toPropertyKey$3 = function (argument) {
1442
1442
  return isSymbol$1(key) ? key : key + '';
1443
1443
  };
1444
1444
 
1445
- var global$F = global$T;
1446
- var isObject$e = isObject$h;
1445
+ var global$H = global$V;
1446
+ var isObject$i = isObject$l;
1447
1447
 
1448
- var document$3 = global$F.document;
1448
+ var document$3 = global$H.document;
1449
1449
  // typeof document.createElement is 'object' in old IE
1450
- var EXISTS$1 = isObject$e(document$3) && isObject$e(document$3.createElement);
1450
+ var EXISTS$1 = isObject$i(document$3) && isObject$i(document$3.createElement);
1451
1451
 
1452
1452
  var documentCreateElement$2 = function (it) {
1453
1453
  return EXISTS$1 ? document$3.createElement(it) : {};
1454
1454
  };
1455
1455
 
1456
1456
  var DESCRIPTORS$d = descriptors$1;
1457
- var fails$q = fails$v;
1457
+ var fails$s = fails$x;
1458
1458
  var createElement$1 = documentCreateElement$2;
1459
1459
 
1460
1460
  // Thanks to IE8 for its funny defineProperty
1461
- var ie8DomDefine = !DESCRIPTORS$d && !fails$q(function () {
1461
+ var ie8DomDefine = !DESCRIPTORS$d && !fails$s(function () {
1462
1462
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1463
1463
  return Object.defineProperty(createElement$1('div'), 'a', {
1464
1464
  get: function () { return 7; }
@@ -1471,7 +1471,7 @@ var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
1471
1471
  var createPropertyDescriptor$5 = createPropertyDescriptor$6;
1472
1472
  var toIndexedObject$7 = toIndexedObject$8;
1473
1473
  var toPropertyKey$2 = toPropertyKey$3;
1474
- var hasOwn$d = hasOwnProperty_1;
1474
+ var hasOwn$e = hasOwnProperty_1;
1475
1475
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
1476
1476
 
1477
1477
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -1485,17 +1485,17 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 :
1485
1485
  if (IE8_DOM_DEFINE$1) try {
1486
1486
  return $getOwnPropertyDescriptor$1(O, P);
1487
1487
  } catch (error) { /* empty */ }
1488
- if (hasOwn$d(O, P)) return createPropertyDescriptor$5(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
1488
+ if (hasOwn$e(O, P)) return createPropertyDescriptor$5(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
1489
1489
  };
1490
1490
 
1491
1491
  var objectDefineProperty = {};
1492
1492
 
1493
1493
  var DESCRIPTORS$b = descriptors$1;
1494
- var fails$p = fails$v;
1494
+ var fails$r = fails$x;
1495
1495
 
1496
1496
  // V8 ~ Chrome 36-
1497
1497
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1498
- var v8PrototypeDefineBug = DESCRIPTORS$b && fails$p(function () {
1498
+ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$r(function () {
1499
1499
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1500
1500
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1501
1501
  value: 42,
@@ -1503,26 +1503,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$p(function () {
1503
1503
  }).prototype != 42;
1504
1504
  });
1505
1505
 
1506
- var global$E = global$T;
1507
- var isObject$d = isObject$h;
1506
+ var global$G = global$V;
1507
+ var isObject$h = isObject$l;
1508
1508
 
1509
- var String$4 = global$E.String;
1510
- var TypeError$f = global$E.TypeError;
1509
+ var String$4 = global$G.String;
1510
+ var TypeError$f = global$G.TypeError;
1511
1511
 
1512
1512
  // `Assert: Type(argument) is Object`
1513
- var anObject$e = function (argument) {
1514
- if (isObject$d(argument)) return argument;
1513
+ var anObject$f = function (argument) {
1514
+ if (isObject$h(argument)) return argument;
1515
1515
  throw TypeError$f(String$4(argument) + ' is not an object');
1516
1516
  };
1517
1517
 
1518
- var global$D = global$T;
1518
+ var global$F = global$V;
1519
1519
  var DESCRIPTORS$a = descriptors$1;
1520
1520
  var IE8_DOM_DEFINE = ie8DomDefine;
1521
1521
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
1522
- var anObject$d = anObject$e;
1522
+ var anObject$e = anObject$f;
1523
1523
  var toPropertyKey$1 = toPropertyKey$3;
1524
1524
 
1525
- var TypeError$e = global$D.TypeError;
1525
+ var TypeError$e = global$F.TypeError;
1526
1526
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1527
1527
  var $defineProperty = Object.defineProperty;
1528
1528
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -1534,9 +1534,9 @@ var WRITABLE = 'writable';
1534
1534
  // `Object.defineProperty` method
1535
1535
  // https://tc39.es/ecma262/#sec-object.defineproperty
1536
1536
  objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1537
- anObject$d(O);
1537
+ anObject$e(O);
1538
1538
  P = toPropertyKey$1(P);
1539
- anObject$d(Attributes);
1539
+ anObject$e(Attributes);
1540
1540
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
1541
1541
  var current = $getOwnPropertyDescriptor(O, P);
1542
1542
  if (current && current[WRITABLE]) {
@@ -1549,9 +1549,9 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
1549
1549
  }
1550
1550
  } return $defineProperty(O, P, Attributes);
1551
1551
  } : $defineProperty : function defineProperty(O, P, Attributes) {
1552
- anObject$d(O);
1552
+ anObject$e(O);
1553
1553
  P = toPropertyKey$1(P);
1554
- anObject$d(Attributes);
1554
+ anObject$e(Attributes);
1555
1555
  if (IE8_DOM_DEFINE) try {
1556
1556
  return $defineProperty(O, P, Attributes);
1557
1557
  } catch (error) { /* empty */ }
@@ -1571,16 +1571,16 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$9 ? function (object, key, value
1571
1571
  return object;
1572
1572
  };
1573
1573
 
1574
- var redefine$a = {exports: {}};
1574
+ var redefine$b = {exports: {}};
1575
1575
 
1576
- var uncurryThis$r = functionUncurryThis;
1577
- var isCallable$e = isCallable$k;
1576
+ var uncurryThis$u = functionUncurryThis;
1577
+ var isCallable$f = isCallable$l;
1578
1578
  var store$1 = sharedStore;
1579
1579
 
1580
- var functionToString$1 = uncurryThis$r(Function.toString);
1580
+ var functionToString$1 = uncurryThis$u(Function.toString);
1581
1581
 
1582
1582
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1583
- if (!isCallable$e(store$1.inspectSource)) {
1583
+ if (!isCallable$f(store$1.inspectSource)) {
1584
1584
  store$1.inspectSource = function (it) {
1585
1585
  return functionToString$1(it);
1586
1586
  };
@@ -1588,13 +1588,13 @@ if (!isCallable$e(store$1.inspectSource)) {
1588
1588
 
1589
1589
  var inspectSource$4 = store$1.inspectSource;
1590
1590
 
1591
- var global$C = global$T;
1592
- var isCallable$d = isCallable$k;
1591
+ var global$E = global$V;
1592
+ var isCallable$e = isCallable$l;
1593
1593
  var inspectSource$3 = inspectSource$4;
1594
1594
 
1595
- var WeakMap$1 = global$C.WeakMap;
1595
+ var WeakMap$2 = global$E.WeakMap;
1596
1596
 
1597
- var nativeWeakMap = isCallable$d(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
1597
+ var nativeWeakMap = isCallable$e(WeakMap$2) && /native code/.test(inspectSource$3(WeakMap$2));
1598
1598
 
1599
1599
  var shared$2 = shared$4.exports;
1600
1600
  var uid$1 = uid$3;
@@ -1607,19 +1607,19 @@ var sharedKey$3 = function (key) {
1607
1607
 
1608
1608
  var hiddenKeys$5 = {};
1609
1609
 
1610
- var NATIVE_WEAK_MAP = nativeWeakMap;
1611
- var global$B = global$T;
1612
- var uncurryThis$q = functionUncurryThis;
1613
- var isObject$c = isObject$h;
1610
+ var NATIVE_WEAK_MAP$1 = nativeWeakMap;
1611
+ var global$D = global$V;
1612
+ var uncurryThis$t = functionUncurryThis;
1613
+ var isObject$g = isObject$l;
1614
1614
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
1615
- var hasOwn$c = hasOwnProperty_1;
1615
+ var hasOwn$d = hasOwnProperty_1;
1616
1616
  var shared$1 = sharedStore;
1617
1617
  var sharedKey$2 = sharedKey$3;
1618
1618
  var hiddenKeys$4 = hiddenKeys$5;
1619
1619
 
1620
1620
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
1621
- var TypeError$d = global$B.TypeError;
1622
- var WeakMap = global$B.WeakMap;
1621
+ var TypeError$d = global$D.TypeError;
1622
+ var WeakMap$1 = global$D.WeakMap;
1623
1623
  var set$1, get, has$3;
1624
1624
 
1625
1625
  var enforce = function (it) {
@@ -1629,17 +1629,17 @@ var enforce = function (it) {
1629
1629
  var getterFor = function (TYPE) {
1630
1630
  return function (it) {
1631
1631
  var state;
1632
- if (!isObject$c(it) || (state = get(it)).type !== TYPE) {
1632
+ if (!isObject$g(it) || (state = get(it)).type !== TYPE) {
1633
1633
  throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
1634
1634
  } return state;
1635
1635
  };
1636
1636
  };
1637
1637
 
1638
- if (NATIVE_WEAK_MAP || shared$1.state) {
1639
- var store = shared$1.state || (shared$1.state = new WeakMap());
1640
- var wmget = uncurryThis$q(store.get);
1641
- var wmhas = uncurryThis$q(store.has);
1642
- var wmset = uncurryThis$q(store.set);
1638
+ if (NATIVE_WEAK_MAP$1 || shared$1.state) {
1639
+ var store = shared$1.state || (shared$1.state = new WeakMap$1());
1640
+ var wmget = uncurryThis$t(store.get);
1641
+ var wmhas = uncurryThis$t(store.has);
1642
+ var wmset = uncurryThis$t(store.set);
1643
1643
  set$1 = function (it, metadata) {
1644
1644
  if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1645
1645
  metadata.facade = it;
@@ -1656,16 +1656,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
1656
1656
  var STATE = sharedKey$2('state');
1657
1657
  hiddenKeys$4[STATE] = true;
1658
1658
  set$1 = function (it, metadata) {
1659
- if (hasOwn$c(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1659
+ if (hasOwn$d(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1660
1660
  metadata.facade = it;
1661
1661
  createNonEnumerableProperty$7(it, STATE, metadata);
1662
1662
  return metadata;
1663
1663
  };
1664
1664
  get = function (it) {
1665
- return hasOwn$c(it, STATE) ? it[STATE] : {};
1665
+ return hasOwn$d(it, STATE) ? it[STATE] : {};
1666
1666
  };
1667
1667
  has$3 = function (it) {
1668
- return hasOwn$c(it, STATE);
1668
+ return hasOwn$d(it, STATE);
1669
1669
  };
1670
1670
  }
1671
1671
 
@@ -1678,13 +1678,13 @@ var internalState = {
1678
1678
  };
1679
1679
 
1680
1680
  var DESCRIPTORS$8 = descriptors$1;
1681
- var hasOwn$b = hasOwnProperty_1;
1681
+ var hasOwn$c = hasOwnProperty_1;
1682
1682
 
1683
1683
  var FunctionPrototype$2 = Function.prototype;
1684
1684
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1685
1685
  var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
1686
1686
 
1687
- var EXISTS = hasOwn$b(FunctionPrototype$2, 'name');
1687
+ var EXISTS = hasOwn$c(FunctionPrototype$2, 'name');
1688
1688
  // additional protection from minified / mangled / dropped function names
1689
1689
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
1690
1690
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$2, 'name').configurable));
@@ -1695,38 +1695,38 @@ var functionName = {
1695
1695
  CONFIGURABLE: CONFIGURABLE
1696
1696
  };
1697
1697
 
1698
- var global$A = global$T;
1699
- var isCallable$c = isCallable$k;
1700
- var hasOwn$a = hasOwnProperty_1;
1698
+ var global$C = global$V;
1699
+ var isCallable$d = isCallable$l;
1700
+ var hasOwn$b = hasOwnProperty_1;
1701
1701
  var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
1702
1702
  var setGlobal$1 = setGlobal$3;
1703
1703
  var inspectSource$2 = inspectSource$4;
1704
- var InternalStateModule$5 = internalState;
1704
+ var InternalStateModule$6 = internalState;
1705
1705
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
1706
1706
 
1707
- var getInternalState$4 = InternalStateModule$5.get;
1708
- var enforceInternalState = InternalStateModule$5.enforce;
1707
+ var getInternalState$4 = InternalStateModule$6.get;
1708
+ var enforceInternalState$1 = InternalStateModule$6.enforce;
1709
1709
  var TEMPLATE = String(String).split('String');
1710
1710
 
1711
- (redefine$a.exports = function (O, key, value, options) {
1711
+ (redefine$b.exports = function (O, key, value, options) {
1712
1712
  var unsafe = options ? !!options.unsafe : false;
1713
1713
  var simple = options ? !!options.enumerable : false;
1714
1714
  var noTargetGet = options ? !!options.noTargetGet : false;
1715
1715
  var name = options && options.name !== undefined ? options.name : key;
1716
1716
  var state;
1717
- if (isCallable$c(value)) {
1717
+ if (isCallable$d(value)) {
1718
1718
  if (String(name).slice(0, 7) === 'Symbol(') {
1719
1719
  name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
1720
1720
  }
1721
- if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
1721
+ if (!hasOwn$b(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
1722
1722
  createNonEnumerableProperty$6(value, 'name', name);
1723
1723
  }
1724
- state = enforceInternalState(value);
1724
+ state = enforceInternalState$1(value);
1725
1725
  if (!state.source) {
1726
1726
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
1727
1727
  }
1728
1728
  }
1729
- if (O === global$A) {
1729
+ if (O === global$C) {
1730
1730
  if (simple) O[key] = value;
1731
1731
  else setGlobal$1(key, value);
1732
1732
  return;
@@ -1739,7 +1739,7 @@ var TEMPLATE = String(String).split('String');
1739
1739
  else createNonEnumerableProperty$6(O, key, value);
1740
1740
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1741
1741
  })(Function.prototype, 'toString', function toString() {
1742
- return isCallable$c(this) && getInternalState$4(this).source || inspectSource$2(this);
1742
+ return isCallable$d(this) && getInternalState$4(this).source || inspectSource$2(this);
1743
1743
  });
1744
1744
 
1745
1745
  var objectGetOwnPropertyNames = {};
@@ -1819,22 +1819,22 @@ var arrayIncludes = {
1819
1819
  indexOf: createMethod$5(false)
1820
1820
  };
1821
1821
 
1822
- var uncurryThis$p = functionUncurryThis;
1823
- var hasOwn$9 = hasOwnProperty_1;
1822
+ var uncurryThis$s = functionUncurryThis;
1823
+ var hasOwn$a = hasOwnProperty_1;
1824
1824
  var toIndexedObject$5 = toIndexedObject$8;
1825
1825
  var indexOf$1 = arrayIncludes.indexOf;
1826
1826
  var hiddenKeys$3 = hiddenKeys$5;
1827
1827
 
1828
- var push$7 = uncurryThis$p([].push);
1828
+ var push$7 = uncurryThis$s([].push);
1829
1829
 
1830
1830
  var objectKeysInternal = function (object, names) {
1831
1831
  var O = toIndexedObject$5(object);
1832
1832
  var i = 0;
1833
1833
  var result = [];
1834
1834
  var key;
1835
- for (key in O) !hasOwn$9(hiddenKeys$3, key) && hasOwn$9(O, key) && push$7(result, key);
1835
+ for (key in O) !hasOwn$a(hiddenKeys$3, key) && hasOwn$a(O, key) && push$7(result, key);
1836
1836
  // Don't enum bug & hidden keys
1837
- while (names.length > i) if (hasOwn$9(O, key = names[i++])) {
1837
+ while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
1838
1838
  ~indexOf$1(result, key) || push$7(result, key);
1839
1839
  }
1840
1840
  return result;
@@ -1869,21 +1869,21 @@ var objectGetOwnPropertySymbols = {};
1869
1869
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1870
1870
 
1871
1871
  var getBuiltIn$7 = getBuiltIn$a;
1872
- var uncurryThis$o = functionUncurryThis;
1872
+ var uncurryThis$r = functionUncurryThis;
1873
1873
  var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
1874
1874
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1875
- var anObject$c = anObject$e;
1875
+ var anObject$d = anObject$f;
1876
1876
 
1877
- var concat$1 = uncurryThis$o([].concat);
1877
+ var concat$1 = uncurryThis$r([].concat);
1878
1878
 
1879
1879
  // all object keys, includes non-enumerable and symbols
1880
1880
  var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
1881
- var keys = getOwnPropertyNamesModule$1.f(anObject$c(it));
1881
+ var keys = getOwnPropertyNamesModule$1.f(anObject$d(it));
1882
1882
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1883
1883
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1884
1884
  };
1885
1885
 
1886
- var hasOwn$8 = hasOwnProperty_1;
1886
+ var hasOwn$9 = hasOwnProperty_1;
1887
1887
  var ownKeys = ownKeys$1;
1888
1888
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1889
1889
  var definePropertyModule$4 = objectDefineProperty;
@@ -1894,42 +1894,42 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
1894
1894
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1895
1895
  for (var i = 0; i < keys.length; i++) {
1896
1896
  var key = keys[i];
1897
- if (!hasOwn$8(target, key) && !(exceptions && hasOwn$8(exceptions, key))) {
1897
+ if (!hasOwn$9(target, key) && !(exceptions && hasOwn$9(exceptions, key))) {
1898
1898
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1899
1899
  }
1900
1900
  }
1901
1901
  };
1902
1902
 
1903
- var fails$o = fails$v;
1904
- var isCallable$b = isCallable$k;
1903
+ var fails$q = fails$x;
1904
+ var isCallable$c = isCallable$l;
1905
1905
 
1906
1906
  var replacement = /#|\.prototype\./;
1907
1907
 
1908
- var isForced$3 = function (feature, detection) {
1908
+ var isForced$4 = function (feature, detection) {
1909
1909
  var value = data$1[normalize(feature)];
1910
1910
  return value == POLYFILL ? true
1911
1911
  : value == NATIVE ? false
1912
- : isCallable$b(detection) ? fails$o(detection)
1912
+ : isCallable$c(detection) ? fails$q(detection)
1913
1913
  : !!detection;
1914
1914
  };
1915
1915
 
1916
- var normalize = isForced$3.normalize = function (string) {
1916
+ var normalize = isForced$4.normalize = function (string) {
1917
1917
  return String(string).replace(replacement, '.').toLowerCase();
1918
1918
  };
1919
1919
 
1920
- var data$1 = isForced$3.data = {};
1921
- var NATIVE = isForced$3.NATIVE = 'N';
1922
- var POLYFILL = isForced$3.POLYFILL = 'P';
1920
+ var data$1 = isForced$4.data = {};
1921
+ var NATIVE = isForced$4.NATIVE = 'N';
1922
+ var POLYFILL = isForced$4.POLYFILL = 'P';
1923
1923
 
1924
- var isForced_1 = isForced$3;
1924
+ var isForced_1 = isForced$4;
1925
1925
 
1926
- var global$z = global$T;
1926
+ var global$B = global$V;
1927
1927
  var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
1928
1928
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
1929
- var redefine$9 = redefine$a.exports;
1929
+ var redefine$a = redefine$b.exports;
1930
1930
  var setGlobal = setGlobal$3;
1931
1931
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1932
- var isForced$2 = isForced_1;
1932
+ var isForced$3 = isForced_1;
1933
1933
 
1934
1934
  /*
1935
1935
  options.target - name of the target object
@@ -1952,11 +1952,11 @@ var _export = function (options, source) {
1952
1952
  var STATIC = options.stat;
1953
1953
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1954
1954
  if (GLOBAL) {
1955
- target = global$z;
1955
+ target = global$B;
1956
1956
  } else if (STATIC) {
1957
- target = global$z[TARGET] || setGlobal(TARGET, {});
1957
+ target = global$B[TARGET] || setGlobal(TARGET, {});
1958
1958
  } else {
1959
- target = (global$z[TARGET] || {}).prototype;
1959
+ target = (global$B[TARGET] || {}).prototype;
1960
1960
  }
1961
1961
  if (target) for (key in source) {
1962
1962
  sourceProperty = source[key];
@@ -1964,7 +1964,7 @@ var _export = function (options, source) {
1964
1964
  descriptor = getOwnPropertyDescriptor$2(target, key);
1965
1965
  targetProperty = descriptor && descriptor.value;
1966
1966
  } else targetProperty = target[key];
1967
- FORCED = isForced$2(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1967
+ FORCED = isForced$3(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1968
1968
  // contained in target
1969
1969
  if (!FORCED && targetProperty !== undefined) {
1970
1970
  if (typeof sourceProperty == typeof targetProperty) continue;
@@ -1975,7 +1975,7 @@ var _export = function (options, source) {
1975
1975
  createNonEnumerableProperty$5(sourceProperty, 'sham', true);
1976
1976
  }
1977
1977
  // extend global
1978
- redefine$9(target, key, sourceProperty, options);
1978
+ redefine$a(target, key, sourceProperty, options);
1979
1979
  }
1980
1980
  };
1981
1981
 
@@ -1993,12 +1993,12 @@ var createProperty$3 = function (object, key, value) {
1993
1993
  else object[propertyKey] = value;
1994
1994
  };
1995
1995
 
1996
- var global$y = global$T;
1996
+ var global$A = global$V;
1997
1997
  var toAbsoluteIndex = toAbsoluteIndex$2;
1998
1998
  var lengthOfArrayLike$6 = lengthOfArrayLike$8;
1999
1999
  var createProperty$2 = createProperty$3;
2000
2000
 
2001
- var Array$4 = global$y.Array;
2001
+ var Array$4 = global$A.Array;
2002
2002
  var max$1 = Math.max;
2003
2003
 
2004
2004
  var arraySliceSimple = function (O, start, end) {
@@ -2037,9 +2037,9 @@ objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
2037
2037
  };
2038
2038
 
2039
2039
  // FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it
2040
- var fails$n = fails$v;
2040
+ var fails$p = fails$x;
2041
2041
 
2042
- var arrayBufferNonExtensible = fails$n(function () {
2042
+ var arrayBufferNonExtensible = fails$p(function () {
2043
2043
  if (typeof ArrayBuffer == 'function') {
2044
2044
  var buffer = new ArrayBuffer(8);
2045
2045
  // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe
@@ -2047,59 +2047,59 @@ var arrayBufferNonExtensible = fails$n(function () {
2047
2047
  }
2048
2048
  });
2049
2049
 
2050
- var fails$m = fails$v;
2051
- var isObject$b = isObject$h;
2050
+ var fails$o = fails$x;
2051
+ var isObject$f = isObject$l;
2052
2052
  var classof$8 = classofRaw$1;
2053
2053
  var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
2054
2054
 
2055
2055
  // eslint-disable-next-line es/no-object-isextensible -- safe
2056
2056
  var $isExtensible = Object.isExtensible;
2057
- var FAILS_ON_PRIMITIVES$2 = fails$m(function () { $isExtensible(1); });
2057
+ var FAILS_ON_PRIMITIVES$3 = fails$o(function () { $isExtensible(1); });
2058
2058
 
2059
2059
  // `Object.isExtensible` method
2060
2060
  // https://tc39.es/ecma262/#sec-object.isextensible
2061
- var objectIsExtensible = (FAILS_ON_PRIMITIVES$2 || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
2062
- if (!isObject$b(it)) return false;
2061
+ var objectIsExtensible = (FAILS_ON_PRIMITIVES$3 || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
2062
+ if (!isObject$f(it)) return false;
2063
2063
  if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$8(it) == 'ArrayBuffer') return false;
2064
2064
  return $isExtensible ? $isExtensible(it) : true;
2065
2065
  } : $isExtensible;
2066
2066
 
2067
- var fails$l = fails$v;
2067
+ var fails$n = fails$x;
2068
2068
 
2069
- var freezing = !fails$l(function () {
2069
+ var freezing = !fails$n(function () {
2070
2070
  // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing
2071
2071
  return Object.isExtensible(Object.preventExtensions({}));
2072
2072
  });
2073
2073
 
2074
- var $$m = _export;
2075
- var uncurryThis$n = functionUncurryThis;
2074
+ var $$o = _export;
2075
+ var uncurryThis$q = functionUncurryThis;
2076
2076
  var hiddenKeys$1 = hiddenKeys$5;
2077
- var isObject$a = isObject$h;
2078
- var hasOwn$7 = hasOwnProperty_1;
2077
+ var isObject$e = isObject$l;
2078
+ var hasOwn$8 = hasOwnProperty_1;
2079
2079
  var defineProperty$5 = objectDefineProperty.f;
2080
2080
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
2081
2081
  var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
2082
- var isExtensible = objectIsExtensible;
2082
+ var isExtensible$1 = objectIsExtensible;
2083
2083
  var uid = uid$3;
2084
- var FREEZING$1 = freezing;
2084
+ var FREEZING$2 = freezing;
2085
2085
 
2086
2086
  var REQUIRED = false;
2087
2087
  var METADATA = uid('meta');
2088
- var id = 0;
2088
+ var id$1 = 0;
2089
2089
 
2090
2090
  var setMetadata = function (it) {
2091
2091
  defineProperty$5(it, METADATA, { value: {
2092
- objectID: 'O' + id++, // object ID
2092
+ objectID: 'O' + id$1++, // object ID
2093
2093
  weakData: {} // weak collections IDs
2094
2094
  } });
2095
2095
  };
2096
2096
 
2097
2097
  var fastKey = function (it, create) {
2098
2098
  // return a primitive with prefix
2099
- if (!isObject$a(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
2100
- if (!hasOwn$7(it, METADATA)) {
2099
+ if (!isObject$e(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
2100
+ if (!hasOwn$8(it, METADATA)) {
2101
2101
  // can't set metadata to uncaught frozen object
2102
- if (!isExtensible(it)) return 'F';
2102
+ if (!isExtensible$1(it)) return 'F';
2103
2103
  // not necessary to add metadata
2104
2104
  if (!create) return 'E';
2105
2105
  // add missing metadata
@@ -2108,10 +2108,10 @@ var fastKey = function (it, create) {
2108
2108
  } return it[METADATA].objectID;
2109
2109
  };
2110
2110
 
2111
- var getWeakData = function (it, create) {
2112
- if (!hasOwn$7(it, METADATA)) {
2111
+ var getWeakData$1 = function (it, create) {
2112
+ if (!hasOwn$8(it, METADATA)) {
2113
2113
  // can't set metadata to uncaught frozen object
2114
- if (!isExtensible(it)) return true;
2114
+ if (!isExtensible$1(it)) return true;
2115
2115
  // not necessary to add metadata
2116
2116
  if (!create) return false;
2117
2117
  // add missing metadata
@@ -2121,8 +2121,8 @@ var getWeakData = function (it, create) {
2121
2121
  };
2122
2122
 
2123
2123
  // add metadata on freeze-family methods calling
2124
- var onFreeze$1 = function (it) {
2125
- if (FREEZING$1 && REQUIRED && isExtensible(it) && !hasOwn$7(it, METADATA)) setMetadata(it);
2124
+ var onFreeze$2 = function (it) {
2125
+ if (FREEZING$2 && REQUIRED && isExtensible$1(it) && !hasOwn$8(it, METADATA)) setMetadata(it);
2126
2126
  return it;
2127
2127
  };
2128
2128
 
@@ -2130,7 +2130,7 @@ var enable = function () {
2130
2130
  meta.enable = function () { /* empty */ };
2131
2131
  REQUIRED = true;
2132
2132
  var getOwnPropertyNames = getOwnPropertyNamesModule.f;
2133
- var splice = uncurryThis$n([].splice);
2133
+ var splice = uncurryThis$q([].splice);
2134
2134
  var test = {};
2135
2135
  test[METADATA] = 1;
2136
2136
 
@@ -2146,7 +2146,7 @@ var enable = function () {
2146
2146
  } return result;
2147
2147
  };
2148
2148
 
2149
- $$m({ target: 'Object', stat: true, forced: true }, {
2149
+ $$o({ target: 'Object', stat: true, forced: true }, {
2150
2150
  getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
2151
2151
  });
2152
2152
  }
@@ -2155,27 +2155,27 @@ var enable = function () {
2155
2155
  var meta = internalMetadata.exports = {
2156
2156
  enable: enable,
2157
2157
  fastKey: fastKey,
2158
- getWeakData: getWeakData,
2159
- onFreeze: onFreeze$1
2158
+ getWeakData: getWeakData$1,
2159
+ onFreeze: onFreeze$2
2160
2160
  };
2161
2161
 
2162
2162
  hiddenKeys$1[METADATA] = true;
2163
2163
 
2164
- var $$l = _export;
2165
- var isObject$9 = isObject$h;
2166
- var onFreeze = internalMetadata.exports.onFreeze;
2167
- var FREEZING = freezing;
2168
- var fails$k = fails$v;
2164
+ var $$n = _export;
2165
+ var isObject$d = isObject$l;
2166
+ var onFreeze$1 = internalMetadata.exports.onFreeze;
2167
+ var FREEZING$1 = freezing;
2168
+ var fails$m = fails$x;
2169
2169
 
2170
2170
  // eslint-disable-next-line es/no-object-seal -- safe
2171
2171
  var $seal = Object.seal;
2172
- var FAILS_ON_PRIMITIVES$1 = fails$k(function () { $seal(1); });
2172
+ var FAILS_ON_PRIMITIVES$2 = fails$m(function () { $seal(1); });
2173
2173
 
2174
2174
  // `Object.seal` method
2175
2175
  // https://tc39.es/ecma262/#sec-object.seal
2176
- $$l({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZING }, {
2176
+ $$n({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$2, sham: !FREEZING$1 }, {
2177
2177
  seal: function seal(it) {
2178
- return $seal && isObject$9(it) ? $seal(onFreeze(it)) : it;
2178
+ return $seal && isObject$d(it) ? $seal(onFreeze$1(it)) : it;
2179
2179
  }
2180
2180
  });
2181
2181
 
@@ -2190,21 +2190,21 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
2190
2190
  return call$a.apply(apply$3, arguments);
2191
2191
  });
2192
2192
 
2193
- var global$x = global$T;
2194
- var isCallable$a = isCallable$k;
2193
+ var global$z = global$V;
2194
+ var isCallable$b = isCallable$l;
2195
2195
 
2196
- var String$3 = global$x.String;
2197
- var TypeError$c = global$x.TypeError;
2196
+ var String$3 = global$z.String;
2197
+ var TypeError$c = global$z.TypeError;
2198
2198
 
2199
2199
  var aPossiblePrototype$1 = function (argument) {
2200
- if (typeof argument == 'object' || isCallable$a(argument)) return argument;
2200
+ if (typeof argument == 'object' || isCallable$b(argument)) return argument;
2201
2201
  throw TypeError$c("Can't set " + String$3(argument) + ' as a prototype');
2202
2202
  };
2203
2203
 
2204
2204
  /* eslint-disable no-proto -- safe */
2205
2205
 
2206
- var uncurryThis$m = functionUncurryThis;
2207
- var anObject$b = anObject$e;
2206
+ var uncurryThis$p = functionUncurryThis;
2207
+ var anObject$c = anObject$f;
2208
2208
  var aPossiblePrototype = aPossiblePrototype$1;
2209
2209
 
2210
2210
  // `Object.setPrototypeOf` method
@@ -2217,12 +2217,12 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2217
2217
  var setter;
2218
2218
  try {
2219
2219
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2220
- setter = uncurryThis$m(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2220
+ setter = uncurryThis$p(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2221
2221
  setter(test, []);
2222
2222
  CORRECT_SETTER = test instanceof Array;
2223
2223
  } catch (error) { /* empty */ }
2224
2224
  return function setPrototypeOf(O, proto) {
2225
- anObject$b(O);
2225
+ anObject$c(O);
2226
2226
  aPossiblePrototype(proto);
2227
2227
  if (CORRECT_SETTER) setter(O, proto);
2228
2228
  else O.__proto__ = proto;
@@ -2230,20 +2230,20 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2230
2230
  };
2231
2231
  }() : undefined);
2232
2232
 
2233
- var isCallable$9 = isCallable$k;
2234
- var isObject$8 = isObject$h;
2233
+ var isCallable$a = isCallable$l;
2234
+ var isObject$c = isObject$l;
2235
2235
  var setPrototypeOf$3 = objectSetPrototypeOf;
2236
2236
 
2237
2237
  // makes subclassing work correct for wrapped built-ins
2238
- var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
2238
+ var inheritIfRequired$3 = function ($this, dummy, Wrapper) {
2239
2239
  var NewTarget, NewTargetPrototype;
2240
2240
  if (
2241
2241
  // it can work only with native `setPrototypeOf`
2242
2242
  setPrototypeOf$3 &&
2243
2243
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
2244
- isCallable$9(NewTarget = dummy.constructor) &&
2244
+ isCallable$a(NewTarget = dummy.constructor) &&
2245
2245
  NewTarget !== Wrapper &&
2246
- isObject$8(NewTargetPrototype = NewTarget.prototype) &&
2246
+ isObject$c(NewTargetPrototype = NewTarget.prototype) &&
2247
2247
  NewTargetPrototype !== Wrapper.prototype
2248
2248
  ) setPrototypeOf$3($this, NewTargetPrototype);
2249
2249
  return $this;
@@ -2258,14 +2258,14 @@ test$1[TO_STRING_TAG$3] = 'z';
2258
2258
 
2259
2259
  var toStringTagSupport = String(test$1) === '[object z]';
2260
2260
 
2261
- var global$w = global$T;
2261
+ var global$y = global$V;
2262
2262
  var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
2263
- var isCallable$8 = isCallable$k;
2263
+ var isCallable$9 = isCallable$l;
2264
2264
  var classofRaw = classofRaw$1;
2265
2265
  var wellKnownSymbol$g = wellKnownSymbol$j;
2266
2266
 
2267
2267
  var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');
2268
- var Object$2 = global$w.Object;
2268
+ var Object$2 = global$y.Object;
2269
2269
 
2270
2270
  // ES3 wrong here
2271
2271
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -2286,13 +2286,13 @@ var classof$7 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2286
2286
  // builtinTag case
2287
2287
  : CORRECT_ARGUMENTS ? classofRaw(O)
2288
2288
  // ES3 arguments fallback
2289
- : (result = classofRaw(O)) == 'Object' && isCallable$8(O.callee) ? 'Arguments' : result;
2289
+ : (result = classofRaw(O)) == 'Object' && isCallable$9(O.callee) ? 'Arguments' : result;
2290
2290
  };
2291
2291
 
2292
- var global$v = global$T;
2292
+ var global$x = global$V;
2293
2293
  var classof$6 = classof$7;
2294
2294
 
2295
- var String$2 = global$v.String;
2295
+ var String$2 = global$x.String;
2296
2296
 
2297
2297
  var toString$9 = function (argument) {
2298
2298
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
@@ -2305,20 +2305,20 @@ var normalizeStringArgument$1 = function (argument, $default) {
2305
2305
  return argument === undefined ? arguments.length < 2 ? '' : $default : toString$8(argument);
2306
2306
  };
2307
2307
 
2308
- var isObject$7 = isObject$h;
2308
+ var isObject$b = isObject$l;
2309
2309
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
2310
2310
 
2311
2311
  // `InstallErrorCause` abstract operation
2312
2312
  // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
2313
2313
  var installErrorCause$1 = function (O, options) {
2314
- if (isObject$7(options) && 'cause' in options) {
2314
+ if (isObject$b(options) && 'cause' in options) {
2315
2315
  createNonEnumerableProperty$4(O, 'cause', options.cause);
2316
2316
  }
2317
2317
  };
2318
2318
 
2319
- var uncurryThis$l = functionUncurryThis;
2319
+ var uncurryThis$o = functionUncurryThis;
2320
2320
 
2321
- var replace$7 = uncurryThis$l(''.replace);
2321
+ var replace$7 = uncurryThis$o(''.replace);
2322
2322
 
2323
2323
  var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
2324
2324
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
@@ -2330,10 +2330,10 @@ var clearErrorStack$1 = function (stack, dropEntries) {
2330
2330
  } return stack;
2331
2331
  };
2332
2332
 
2333
- var fails$j = fails$v;
2333
+ var fails$l = fails$x;
2334
2334
  var createPropertyDescriptor$2 = createPropertyDescriptor$6;
2335
2335
 
2336
- var errorStackInstallable = !fails$j(function () {
2336
+ var errorStackInstallable = !fails$l(function () {
2337
2337
  var error = Error('a');
2338
2338
  if (!('stack' in error)) return true;
2339
2339
  // eslint-disable-next-line es/no-object-defineproperty -- safe
@@ -2342,12 +2342,12 @@ var errorStackInstallable = !fails$j(function () {
2342
2342
  });
2343
2343
 
2344
2344
  var getBuiltIn$6 = getBuiltIn$a;
2345
- var hasOwn$6 = hasOwnProperty_1;
2345
+ var hasOwn$7 = hasOwnProperty_1;
2346
2346
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
2347
2347
  var isPrototypeOf$4 = objectIsPrototypeOf;
2348
2348
  var setPrototypeOf$2 = objectSetPrototypeOf;
2349
2349
  var copyConstructorProperties = copyConstructorProperties$2;
2350
- var inheritIfRequired$1 = inheritIfRequired$2;
2350
+ var inheritIfRequired$2 = inheritIfRequired$3;
2351
2351
  var normalizeStringArgument = normalizeStringArgument$1;
2352
2352
  var installErrorCause = installErrorCause$1;
2353
2353
  var clearErrorStack = clearErrorStack$1;
@@ -2364,7 +2364,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
2364
2364
  var OriginalErrorPrototype = OriginalError.prototype;
2365
2365
 
2366
2366
  // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
2367
- if (hasOwn$6(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
2367
+ if (hasOwn$7(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
2368
2368
 
2369
2369
  if (!FORCED) return OriginalError;
2370
2370
 
@@ -2375,7 +2375,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
2375
2375
  var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
2376
2376
  if (message !== undefined) createNonEnumerableProperty$3(result, 'message', message);
2377
2377
  if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty$3(result, 'stack', clearErrorStack(result.stack, 2));
2378
- if (this && isPrototypeOf$4(OriginalErrorPrototype, this)) inheritIfRequired$1(result, this, WrappedError);
2378
+ if (this && isPrototypeOf$4(OriginalErrorPrototype, this)) inheritIfRequired$2(result, this, WrappedError);
2379
2379
  if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
2380
2380
  return result;
2381
2381
  });
@@ -2402,27 +2402,27 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
2402
2402
 
2403
2403
  /* eslint-disable no-unused-vars -- required for functions `.length` */
2404
2404
 
2405
- var $$k = _export;
2406
- var global$u = global$T;
2405
+ var $$m = _export;
2406
+ var global$w = global$V;
2407
2407
  var apply$2 = functionApply;
2408
2408
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
2409
2409
 
2410
2410
  var WEB_ASSEMBLY = 'WebAssembly';
2411
- var WebAssembly = global$u[WEB_ASSEMBLY];
2411
+ var WebAssembly = global$w[WEB_ASSEMBLY];
2412
2412
 
2413
2413
  var FORCED$5 = Error('e', { cause: 7 }).cause !== 7;
2414
2414
 
2415
2415
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
2416
2416
  var O = {};
2417
2417
  O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$5);
2418
- $$k({ global: true, forced: FORCED$5 }, O);
2418
+ $$m({ global: true, forced: FORCED$5 }, O);
2419
2419
  };
2420
2420
 
2421
2421
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
2422
2422
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
2423
2423
  var O = {};
2424
2424
  O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$5);
2425
- $$k({ target: WEB_ASSEMBLY, stat: true, forced: FORCED$5 }, O);
2425
+ $$m({ target: WEB_ASSEMBLY, stat: true, forced: FORCED$5 }, O);
2426
2426
  }
2427
2427
  };
2428
2428
 
@@ -2467,9 +2467,9 @@ var isArray$9 = Array.isArray || function isArray(argument) {
2467
2467
  return classof$5(argument) == 'Array';
2468
2468
  };
2469
2469
 
2470
- var uncurryThis$k = functionUncurryThis;
2471
- var fails$i = fails$v;
2472
- var isCallable$7 = isCallable$k;
2470
+ var uncurryThis$n = functionUncurryThis;
2471
+ var fails$k = fails$x;
2472
+ var isCallable$8 = isCallable$l;
2473
2473
  var classof$4 = classof$7;
2474
2474
  var getBuiltIn$5 = getBuiltIn$a;
2475
2475
  var inspectSource$1 = inspectSource$4;
@@ -2478,11 +2478,11 @@ var noop = function () { /* empty */ };
2478
2478
  var empty = [];
2479
2479
  var construct = getBuiltIn$5('Reflect', 'construct');
2480
2480
  var constructorRegExp = /^\s*(?:class|function)\b/;
2481
- var exec$5 = uncurryThis$k(constructorRegExp.exec);
2481
+ var exec$5 = uncurryThis$n(constructorRegExp.exec);
2482
2482
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
2483
2483
 
2484
2484
  var isConstructorModern = function isConstructor(argument) {
2485
- if (!isCallable$7(argument)) return false;
2485
+ if (!isCallable$8(argument)) return false;
2486
2486
  try {
2487
2487
  construct(noop, empty, argument);
2488
2488
  return true;
@@ -2492,7 +2492,7 @@ var isConstructorModern = function isConstructor(argument) {
2492
2492
  };
2493
2493
 
2494
2494
  var isConstructorLegacy = function isConstructor(argument) {
2495
- if (!isCallable$7(argument)) return false;
2495
+ if (!isCallable$8(argument)) return false;
2496
2496
  switch (classof$4(argument)) {
2497
2497
  case 'AsyncFunction':
2498
2498
  case 'GeneratorFunction':
@@ -2512,7 +2512,7 @@ isConstructorLegacy.sham = true;
2512
2512
 
2513
2513
  // `IsConstructor` abstract operation
2514
2514
  // https://tc39.es/ecma262/#sec-isconstructor
2515
- var isConstructor$3 = !construct || fails$i(function () {
2515
+ var isConstructor$3 = !construct || fails$k(function () {
2516
2516
  var called;
2517
2517
  return isConstructorModern(isConstructorModern.call)
2518
2518
  || !isConstructorModern(Object)
@@ -2520,14 +2520,14 @@ var isConstructor$3 = !construct || fails$i(function () {
2520
2520
  || called;
2521
2521
  }) ? isConstructorLegacy : isConstructorModern;
2522
2522
 
2523
- var global$t = global$T;
2523
+ var global$v = global$V;
2524
2524
  var isArray$8 = isArray$9;
2525
2525
  var isConstructor$2 = isConstructor$3;
2526
- var isObject$6 = isObject$h;
2526
+ var isObject$a = isObject$l;
2527
2527
  var wellKnownSymbol$f = wellKnownSymbol$j;
2528
2528
 
2529
2529
  var SPECIES$4 = wellKnownSymbol$f('species');
2530
- var Array$3 = global$t.Array;
2530
+ var Array$3 = global$v.Array;
2531
2531
 
2532
2532
  // a part of `ArraySpeciesCreate` abstract operation
2533
2533
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -2537,7 +2537,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
2537
2537
  C = originalArray.constructor;
2538
2538
  // cross-realm fallback
2539
2539
  if (isConstructor$2(C) && (C === Array$3 || isArray$8(C.prototype))) C = undefined;
2540
- else if (isObject$6(C)) {
2540
+ else if (isObject$a(C)) {
2541
2541
  C = C[SPECIES$4];
2542
2542
  if (C === null) C = undefined;
2543
2543
  }
@@ -2552,7 +2552,7 @@ var arraySpeciesCreate$2 = function (originalArray, length) {
2552
2552
  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
2553
2553
  };
2554
2554
 
2555
- var fails$h = fails$v;
2555
+ var fails$j = fails$x;
2556
2556
  var wellKnownSymbol$e = wellKnownSymbol$j;
2557
2557
  var V8_VERSION$2 = engineV8Version;
2558
2558
 
@@ -2562,7 +2562,7 @@ var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
2562
2562
  // We can't use this feature detection in V8 since it causes
2563
2563
  // deoptimization and serious performance degradation
2564
2564
  // https://github.com/zloirock/core-js/issues/677
2565
- return V8_VERSION$2 >= 51 || !fails$h(function () {
2565
+ return V8_VERSION$2 >= 51 || !fails$j(function () {
2566
2566
  var array = [];
2567
2567
  var constructor = array.constructor = {};
2568
2568
  constructor[SPECIES$3] = function () {
@@ -2572,11 +2572,11 @@ var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
2572
2572
  });
2573
2573
  };
2574
2574
 
2575
- var $$j = _export;
2576
- var global$s = global$T;
2577
- var fails$g = fails$v;
2575
+ var $$l = _export;
2576
+ var global$u = global$V;
2577
+ var fails$i = fails$x;
2578
2578
  var isArray$7 = isArray$9;
2579
- var isObject$5 = isObject$h;
2579
+ var isObject$9 = isObject$l;
2580
2580
  var toObject$7 = toObject$9;
2581
2581
  var lengthOfArrayLike$5 = lengthOfArrayLike$8;
2582
2582
  var createProperty$1 = createProperty$3;
@@ -2588,12 +2588,12 @@ var V8_VERSION$1 = engineV8Version;
2588
2588
  var IS_CONCAT_SPREADABLE = wellKnownSymbol$d('isConcatSpreadable');
2589
2589
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
2590
2590
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
2591
- var TypeError$b = global$s.TypeError;
2591
+ var TypeError$b = global$u.TypeError;
2592
2592
 
2593
2593
  // We can't use this feature detection in V8 since it causes
2594
2594
  // deoptimization and serious performance degradation
2595
2595
  // https://github.com/zloirock/core-js/issues/679
2596
- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$g(function () {
2596
+ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$i(function () {
2597
2597
  var array = [];
2598
2598
  array[IS_CONCAT_SPREADABLE] = false;
2599
2599
  return array.concat()[0] !== array;
@@ -2602,7 +2602,7 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$g(function () {
2602
2602
  var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$2('concat');
2603
2603
 
2604
2604
  var isConcatSpreadable = function (O) {
2605
- if (!isObject$5(O)) return false;
2605
+ if (!isObject$9(O)) return false;
2606
2606
  var spreadable = O[IS_CONCAT_SPREADABLE];
2607
2607
  return spreadable !== undefined ? !!spreadable : isArray$7(O);
2608
2608
  };
@@ -2612,7 +2612,7 @@ var FORCED$4 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
2612
2612
  // `Array.prototype.concat` method
2613
2613
  // https://tc39.es/ecma262/#sec-array.prototype.concat
2614
2614
  // with adding support of @@isConcatSpreadable and @@species
2615
- $$j({ target: 'Array', proto: true, forced: FORCED$4 }, {
2615
+ $$l({ target: 'Array', proto: true, forced: FORCED$4 }, {
2616
2616
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2617
2617
  concat: function concat(arg) {
2618
2618
  var O = toObject$7(this);
@@ -2669,13 +2669,13 @@ var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString()
2669
2669
  };
2670
2670
 
2671
2671
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2672
- var redefine$8 = redefine$a.exports;
2672
+ var redefine$9 = redefine$b.exports;
2673
2673
  var toString$7 = objectToString;
2674
2674
 
2675
2675
  // `Object.prototype.toString` method
2676
2676
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
2677
2677
  if (!TO_STRING_TAG_SUPPORT) {
2678
- redefine$8(Object.prototype, 'toString', toString$7, { unsafe: true });
2678
+ redefine$9(Object.prototype, 'toString', toString$7, { unsafe: true });
2679
2679
  }
2680
2680
 
2681
2681
  // iterable DOM collections
@@ -2722,11 +2722,11 @@ var DOMTokenListPrototype$2 = classList && classList.constructor && classList.co
2722
2722
 
2723
2723
  var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;
2724
2724
 
2725
- var uncurryThis$j = functionUncurryThis;
2725
+ var uncurryThis$m = functionUncurryThis;
2726
2726
  var aCallable$5 = aCallable$7;
2727
2727
  var NATIVE_BIND = functionBindNative;
2728
2728
 
2729
- var bind$b = uncurryThis$j(uncurryThis$j.bind);
2729
+ var bind$b = uncurryThis$m(uncurryThis$m.bind);
2730
2730
 
2731
2731
  // optional / simple context binding
2732
2732
  var functionBindContext = function (fn, that) {
@@ -2737,13 +2737,13 @@ var functionBindContext = function (fn, that) {
2737
2737
  };
2738
2738
 
2739
2739
  var bind$a = functionBindContext;
2740
- var uncurryThis$i = functionUncurryThis;
2740
+ var uncurryThis$l = functionUncurryThis;
2741
2741
  var IndexedObject$3 = indexedObject;
2742
2742
  var toObject$6 = toObject$9;
2743
2743
  var lengthOfArrayLike$4 = lengthOfArrayLike$8;
2744
2744
  var arraySpeciesCreate = arraySpeciesCreate$2;
2745
2745
 
2746
- var push$6 = uncurryThis$i([].push);
2746
+ var push$6 = uncurryThis$l([].push);
2747
2747
 
2748
2748
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2749
2749
  var createMethod$4 = function (TYPE) {
@@ -2810,11 +2810,11 @@ var arrayIteration = {
2810
2810
  filterReject: createMethod$4(7)
2811
2811
  };
2812
2812
 
2813
- var fails$f = fails$v;
2813
+ var fails$h = fails$x;
2814
2814
 
2815
2815
  var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {
2816
2816
  var method = [][METHOD_NAME];
2817
- return !!method && fails$f(function () {
2817
+ return !!method && fails$h(function () {
2818
2818
  // eslint-disable-next-line no-useless-call -- required for testing
2819
2819
  method.call(null, argument || function () { return 1; }, 1);
2820
2820
  });
@@ -2832,7 +2832,7 @@ var arrayForEach = !STRICT_METHOD$3 ? function forEach(callbackfn /* , thisArg *
2832
2832
  // eslint-disable-next-line es/no-array-prototype-foreach -- safe
2833
2833
  } : [].forEach;
2834
2834
 
2835
- var global$r = global$T;
2835
+ var global$t = global$V;
2836
2836
  var DOMIterables$1 = domIterables;
2837
2837
  var DOMTokenListPrototype$1 = domTokenListPrototype;
2838
2838
  var forEach$1 = arrayForEach;
@@ -2849,7 +2849,7 @@ var handlePrototype$1 = function (CollectionPrototype) {
2849
2849
 
2850
2850
  for (var COLLECTION_NAME$1 in DOMIterables$1) {
2851
2851
  if (DOMIterables$1[COLLECTION_NAME$1]) {
2852
- handlePrototype$1(global$r[COLLECTION_NAME$1] && global$r[COLLECTION_NAME$1].prototype);
2852
+ handlePrototype$1(global$t[COLLECTION_NAME$1] && global$t[COLLECTION_NAME$1].prototype);
2853
2853
  }
2854
2854
  }
2855
2855
 
@@ -2865,27 +2865,27 @@ var objectKeys$3 = Object.keys || function keys(O) {
2865
2865
  return internalObjectKeys(O, enumBugKeys$1);
2866
2866
  };
2867
2867
 
2868
- var $$i = _export;
2868
+ var $$k = _export;
2869
2869
  var toObject$5 = toObject$9;
2870
2870
  var nativeKeys = objectKeys$3;
2871
- var fails$e = fails$v;
2871
+ var fails$g = fails$x;
2872
2872
 
2873
- var FAILS_ON_PRIMITIVES = fails$e(function () { nativeKeys(1); });
2873
+ var FAILS_ON_PRIMITIVES$1 = fails$g(function () { nativeKeys(1); });
2874
2874
 
2875
2875
  // `Object.keys` method
2876
2876
  // https://tc39.es/ecma262/#sec-object.keys
2877
- $$i({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
2877
+ $$k({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, {
2878
2878
  keys: function keys(it) {
2879
2879
  return nativeKeys(toObject$5(it));
2880
2880
  }
2881
2881
  });
2882
2882
 
2883
- var anObject$a = anObject$e;
2883
+ var anObject$b = anObject$f;
2884
2884
 
2885
2885
  // `RegExp.prototype.flags` getter implementation
2886
2886
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
2887
2887
  var regexpFlags$1 = function () {
2888
- var that = anObject$a(this);
2888
+ var that = anObject$b(this);
2889
2889
  var result = '';
2890
2890
  if (that.global) result += 'g';
2891
2891
  if (that.ignoreCase) result += 'i';
@@ -2896,13 +2896,13 @@ var regexpFlags$1 = function () {
2896
2896
  return result;
2897
2897
  };
2898
2898
 
2899
- var fails$d = fails$v;
2900
- var global$q = global$T;
2899
+ var fails$f = fails$x;
2900
+ var global$s = global$V;
2901
2901
 
2902
2902
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
2903
- var $RegExp$2 = global$q.RegExp;
2903
+ var $RegExp$2 = global$s.RegExp;
2904
2904
 
2905
- var UNSUPPORTED_Y$1 = fails$d(function () {
2905
+ var UNSUPPORTED_Y$1 = fails$f(function () {
2906
2906
  var re = $RegExp$2('a', 'y');
2907
2907
  re.lastIndex = 2;
2908
2908
  return re.exec('abcd') != null;
@@ -2910,11 +2910,11 @@ var UNSUPPORTED_Y$1 = fails$d(function () {
2910
2910
 
2911
2911
  // UC Browser bug
2912
2912
  // https://github.com/zloirock/core-js/issues/1008
2913
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$d(function () {
2913
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$f(function () {
2914
2914
  return !$RegExp$2('a', 'y').sticky;
2915
2915
  });
2916
2916
 
2917
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$d(function () {
2917
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$f(function () {
2918
2918
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
2919
2919
  var re = $RegExp$2('^r', 'gy');
2920
2920
  re.lastIndex = 2;
@@ -2932,7 +2932,7 @@ var objectDefineProperties = {};
2932
2932
  var DESCRIPTORS$7 = descriptors$1;
2933
2933
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
2934
2934
  var definePropertyModule$2 = objectDefineProperty;
2935
- var anObject$9 = anObject$e;
2935
+ var anObject$a = anObject$f;
2936
2936
  var toIndexedObject$3 = toIndexedObject$8;
2937
2937
  var objectKeys$2 = objectKeys$3;
2938
2938
 
@@ -2940,7 +2940,7 @@ var objectKeys$2 = objectKeys$3;
2940
2940
  // https://tc39.es/ecma262/#sec-object.defineproperties
2941
2941
  // eslint-disable-next-line es/no-object-defineproperties -- safe
2942
2942
  objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2943
- anObject$9(O);
2943
+ anObject$a(O);
2944
2944
  var props = toIndexedObject$3(Properties);
2945
2945
  var keys = objectKeys$2(Properties);
2946
2946
  var length = keys.length;
@@ -2956,7 +2956,7 @@ var html$2 = getBuiltIn$4('document', 'documentElement');
2956
2956
 
2957
2957
  /* global ActiveXObject -- old IE, WSH */
2958
2958
 
2959
- var anObject$8 = anObject$e;
2959
+ var anObject$9 = anObject$f;
2960
2960
  var definePropertiesModule = objectDefineProperties;
2961
2961
  var enumBugKeys = enumBugKeys$3;
2962
2962
  var hiddenKeys = hiddenKeys$5;
@@ -3029,7 +3029,7 @@ hiddenKeys[IE_PROTO$1] = true;
3029
3029
  var objectCreate = Object.create || function create(O, Properties) {
3030
3030
  var result;
3031
3031
  if (O !== null) {
3032
- EmptyConstructor[PROTOTYPE] = anObject$8(O);
3032
+ EmptyConstructor[PROTOTYPE] = anObject$9(O);
3033
3033
  result = new EmptyConstructor();
3034
3034
  EmptyConstructor[PROTOTYPE] = null;
3035
3035
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -3038,24 +3038,24 @@ var objectCreate = Object.create || function create(O, Properties) {
3038
3038
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
3039
3039
  };
3040
3040
 
3041
- var fails$c = fails$v;
3042
- var global$p = global$T;
3041
+ var fails$e = fails$x;
3042
+ var global$r = global$V;
3043
3043
 
3044
3044
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
3045
- var $RegExp$1 = global$p.RegExp;
3045
+ var $RegExp$1 = global$r.RegExp;
3046
3046
 
3047
- var regexpUnsupportedDotAll = fails$c(function () {
3047
+ var regexpUnsupportedDotAll = fails$e(function () {
3048
3048
  var re = $RegExp$1('.', 's');
3049
3049
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
3050
3050
  });
3051
3051
 
3052
- var fails$b = fails$v;
3053
- var global$o = global$T;
3052
+ var fails$d = fails$x;
3053
+ var global$q = global$V;
3054
3054
 
3055
3055
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
3056
- var $RegExp = global$o.RegExp;
3056
+ var $RegExp = global$q.RegExp;
3057
3057
 
3058
- var regexpUnsupportedNcg = fails$b(function () {
3058
+ var regexpUnsupportedNcg = fails$d(function () {
3059
3059
  var re = $RegExp('(?<a>b)', 'g');
3060
3060
  return re.exec('b').groups.a !== 'b' ||
3061
3061
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -3064,7 +3064,7 @@ var regexpUnsupportedNcg = fails$b(function () {
3064
3064
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
3065
3065
  /* eslint-disable regexp/no-useless-quantifier -- testing */
3066
3066
  var call$9 = functionCall;
3067
- var uncurryThis$h = functionUncurryThis;
3067
+ var uncurryThis$k = functionUncurryThis;
3068
3068
  var toString$6 = toString$9;
3069
3069
  var regexpFlags = regexpFlags$1;
3070
3070
  var stickyHelpers = regexpStickyHelpers;
@@ -3077,10 +3077,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
3077
3077
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
3078
3078
  var nativeExec = RegExp.prototype.exec;
3079
3079
  var patchedExec = nativeExec;
3080
- var charAt$5 = uncurryThis$h(''.charAt);
3081
- var indexOf = uncurryThis$h(''.indexOf);
3082
- var replace$6 = uncurryThis$h(''.replace);
3083
- var stringSlice$3 = uncurryThis$h(''.slice);
3080
+ var charAt$5 = uncurryThis$k(''.charAt);
3081
+ var indexOf = uncurryThis$k(''.indexOf);
3082
+ var replace$6 = uncurryThis$k(''.replace);
3083
+ var stringSlice$3 = uncurryThis$k(''.slice);
3084
3084
 
3085
3085
  var UPDATES_LAST_INDEX_WRONG = (function () {
3086
3086
  var re1 = /a/;
@@ -3178,23 +3178,23 @@ if (PATCH) {
3178
3178
 
3179
3179
  var regexpExec = patchedExec;
3180
3180
 
3181
- var $$h = _export;
3181
+ var $$j = _export;
3182
3182
  var exec$4 = regexpExec;
3183
3183
 
3184
3184
  // `RegExp.prototype.exec` method
3185
3185
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
3186
- $$h({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {
3186
+ $$j({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {
3187
3187
  exec: exec$4
3188
3188
  });
3189
3189
 
3190
3190
  // TODO: Remove from `core-js@4` since it's moved to entry points
3191
3191
 
3192
- var $$g = _export;
3193
- var global$n = global$T;
3192
+ var $$i = _export;
3193
+ var global$p = global$V;
3194
3194
  var call$8 = functionCall;
3195
- var uncurryThis$g = functionUncurryThis;
3196
- var isCallable$6 = isCallable$k;
3197
- var isObject$4 = isObject$h;
3195
+ var uncurryThis$j = functionUncurryThis;
3196
+ var isCallable$7 = isCallable$l;
3197
+ var isObject$8 = isObject$l;
3198
3198
 
3199
3199
  var DELEGATES_TO_EXEC = function () {
3200
3200
  var execCalled = false;
@@ -3206,17 +3206,17 @@ var DELEGATES_TO_EXEC = function () {
3206
3206
  return re.test('abc') === true && execCalled;
3207
3207
  }();
3208
3208
 
3209
- var Error$1 = global$n.Error;
3210
- var un$Test = uncurryThis$g(/./.test);
3209
+ var Error$1 = global$p.Error;
3210
+ var un$Test = uncurryThis$j(/./.test);
3211
3211
 
3212
3212
  // `RegExp.prototype.test` method
3213
3213
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
3214
- $$g({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
3214
+ $$i({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
3215
3215
  test: function (str) {
3216
3216
  var exec = this.exec;
3217
- if (!isCallable$6(exec)) return un$Test(this, str);
3217
+ if (!isCallable$7(exec)) return un$Test(this, str);
3218
3218
  var result = call$8(exec, this, str);
3219
- if (result !== null && !isObject$4(result)) {
3219
+ if (result !== null && !isObject$8(result)) {
3220
3220
  throw new Error$1('RegExp exec method returned something other than an Object or null');
3221
3221
  }
3222
3222
  return !!result;
@@ -3227,12 +3227,12 @@ $$g({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
3227
3227
  var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
3228
3228
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
3229
3229
 
3230
- var uncurryThis$f = functionUncurryThis;
3230
+ var uncurryThis$i = functionUncurryThis;
3231
3231
  var requireObjectCoercible$1 = requireObjectCoercible$4;
3232
3232
  var toString$5 = toString$9;
3233
3233
  var whitespaces$2 = whitespaces$3;
3234
3234
 
3235
- var replace$5 = uncurryThis$f(''.replace);
3235
+ var replace$5 = uncurryThis$i(''.replace);
3236
3236
  var whitespace = '[' + whitespaces$2 + ']';
3237
3237
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
3238
3238
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -3259,21 +3259,21 @@ var stringTrim = {
3259
3259
  trim: createMethod$3(3)
3260
3260
  };
3261
3261
 
3262
- var global$m = global$T;
3263
- var fails$a = fails$v;
3264
- var uncurryThis$e = functionUncurryThis;
3262
+ var global$o = global$V;
3263
+ var fails$c = fails$x;
3264
+ var uncurryThis$h = functionUncurryThis;
3265
3265
  var toString$4 = toString$9;
3266
3266
  var trim$2 = stringTrim.trim;
3267
3267
  var whitespaces$1 = whitespaces$3;
3268
3268
 
3269
- var $parseInt$1 = global$m.parseInt;
3270
- var Symbol$1 = global$m.Symbol;
3269
+ var $parseInt$1 = global$o.parseInt;
3270
+ var Symbol$1 = global$o.Symbol;
3271
3271
  var ITERATOR$8 = Symbol$1 && Symbol$1.iterator;
3272
3272
  var hex = /^[+-]?0x/i;
3273
- var exec$3 = uncurryThis$e(hex.exec);
3273
+ var exec$3 = uncurryThis$h(hex.exec);
3274
3274
  var FORCED$3 = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22
3275
3275
  // MS Edge 18- broken with boxed symbols
3276
- || (ITERATOR$8 && !fails$a(function () { $parseInt$1(Object(ITERATOR$8)); }));
3276
+ || (ITERATOR$8 && !fails$c(function () { $parseInt$1(Object(ITERATOR$8)); }));
3277
3277
 
3278
3278
  // `parseInt` method
3279
3279
  // https://tc39.es/ecma262/#sec-parseint-string-radix
@@ -3282,32 +3282,32 @@ var numberParseInt = FORCED$3 ? function parseInt(string, radix) {
3282
3282
  return $parseInt$1(S, (radix >>> 0) || (exec$3(hex, S) ? 16 : 10));
3283
3283
  } : $parseInt$1;
3284
3284
 
3285
- var $$f = _export;
3285
+ var $$h = _export;
3286
3286
  var $parseInt = numberParseInt;
3287
3287
 
3288
3288
  // `parseInt` method
3289
3289
  // https://tc39.es/ecma262/#sec-parseint-string-radix
3290
- $$f({ global: true, forced: parseInt != $parseInt }, {
3290
+ $$h({ global: true, forced: parseInt != $parseInt }, {
3291
3291
  parseInt: $parseInt
3292
3292
  });
3293
3293
 
3294
- var uncurryThis$d = functionUncurryThis;
3294
+ var uncurryThis$g = functionUncurryThis;
3295
3295
 
3296
3296
  // `thisNumberValue` abstract operation
3297
3297
  // https://tc39.es/ecma262/#sec-thisnumbervalue
3298
- var thisNumberValue$1 = uncurryThis$d(1.0.valueOf);
3298
+ var thisNumberValue$1 = uncurryThis$g(1.0.valueOf);
3299
3299
 
3300
3300
  var DESCRIPTORS$6 = descriptors$1;
3301
- var global$l = global$T;
3302
- var uncurryThis$c = functionUncurryThis;
3303
- var isForced$1 = isForced_1;
3304
- var redefine$7 = redefine$a.exports;
3305
- var hasOwn$5 = hasOwnProperty_1;
3306
- var inheritIfRequired = inheritIfRequired$2;
3301
+ var global$n = global$V;
3302
+ var uncurryThis$f = functionUncurryThis;
3303
+ var isForced$2 = isForced_1;
3304
+ var redefine$8 = redefine$b.exports;
3305
+ var hasOwn$6 = hasOwnProperty_1;
3306
+ var inheritIfRequired$1 = inheritIfRequired$3;
3307
3307
  var isPrototypeOf$3 = objectIsPrototypeOf;
3308
3308
  var isSymbol = isSymbol$3;
3309
3309
  var toPrimitive = toPrimitive$2;
3310
- var fails$9 = fails$v;
3310
+ var fails$b = fails$x;
3311
3311
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3312
3312
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
3313
3313
  var defineProperty$4 = objectDefineProperty.f;
@@ -3315,11 +3315,11 @@ var thisNumberValue = thisNumberValue$1;
3315
3315
  var trim$1 = stringTrim.trim;
3316
3316
 
3317
3317
  var NUMBER = 'Number';
3318
- var NativeNumber = global$l[NUMBER];
3318
+ var NativeNumber = global$n[NUMBER];
3319
3319
  var NumberPrototype = NativeNumber.prototype;
3320
- var TypeError$a = global$l.TypeError;
3321
- var arraySlice$4 = uncurryThis$c(''.slice);
3322
- var charCodeAt$3 = uncurryThis$c(''.charCodeAt);
3320
+ var TypeError$a = global$n.TypeError;
3321
+ var arraySlice$4 = uncurryThis$f(''.slice);
3322
+ var charCodeAt$3 = uncurryThis$f(''.charCodeAt);
3323
3323
 
3324
3324
  // `ToNumeric` abstract operation
3325
3325
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -3360,13 +3360,13 @@ var toNumber = function (argument) {
3360
3360
 
3361
3361
  // `Number` constructor
3362
3362
  // https://tc39.es/ecma262/#sec-number-constructor
3363
- if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
3363
+ if (isForced$2(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {
3364
3364
  var NumberWrapper = function Number(value) {
3365
3365
  var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));
3366
3366
  var dummy = this;
3367
3367
  // check on 1..constructor(foo) case
3368
- return isPrototypeOf$3(NumberPrototype, dummy) && fails$9(function () { thisNumberValue(dummy); })
3369
- ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
3368
+ return isPrototypeOf$3(NumberPrototype, dummy) && fails$b(function () { thisNumberValue(dummy); })
3369
+ ? inheritIfRequired$1(Object(n), dummy, NumberWrapper) : n;
3370
3370
  };
3371
3371
  for (var keys = DESCRIPTORS$6 ? getOwnPropertyNames(NativeNumber) : (
3372
3372
  // ES3:
@@ -3376,13 +3376,13 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
3376
3376
  // ESNext
3377
3377
  'fromString,range'
3378
3378
  ).split(','), j = 0, key; keys.length > j; j++) {
3379
- if (hasOwn$5(NativeNumber, key = keys[j]) && !hasOwn$5(NumberWrapper, key)) {
3379
+ if (hasOwn$6(NativeNumber, key = keys[j]) && !hasOwn$6(NumberWrapper, key)) {
3380
3380
  defineProperty$4(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
3381
3381
  }
3382
3382
  }
3383
3383
  NumberWrapper.prototype = NumberPrototype;
3384
3384
  NumberPrototype.constructor = NumberWrapper;
3385
- redefine$7(global$l, NUMBER, NumberWrapper);
3385
+ redefine$8(global$n, NUMBER, NumberWrapper);
3386
3386
  }
3387
3387
 
3388
3388
  function isPublicKey(value) {
@@ -3538,7 +3538,7 @@ function ValidateTransactionParameters(data) {
3538
3538
  return errors;
3539
3539
  }
3540
3540
 
3541
- var $$e = _export;
3541
+ var $$g = _export;
3542
3542
  var $map = arrayIteration.map;
3543
3543
  var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
3544
3544
 
@@ -3547,7 +3547,7 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('map');
3547
3547
  // `Array.prototype.map` method
3548
3548
  // https://tc39.es/ecma262/#sec-array.prototype.map
3549
3549
  // with adding support of @@species
3550
- $$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
3550
+ $$g({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
3551
3551
  map: function map(callbackfn /* , thisArg */) {
3552
3552
  return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3553
3553
  }
@@ -3614,13 +3614,13 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
3614
3614
 
3615
3615
  var engineWebkitVersion = !!webkit && +webkit[1];
3616
3616
 
3617
- var $$d = _export;
3618
- var uncurryThis$b = functionUncurryThis;
3617
+ var $$f = _export;
3618
+ var uncurryThis$e = functionUncurryThis;
3619
3619
  var aCallable$4 = aCallable$7;
3620
3620
  var toObject$4 = toObject$9;
3621
3621
  var lengthOfArrayLike$3 = lengthOfArrayLike$8;
3622
3622
  var toString$3 = toString$9;
3623
- var fails$8 = fails$v;
3623
+ var fails$a = fails$x;
3624
3624
  var internalSort = arraySort$1;
3625
3625
  var arrayMethodIsStrict$2 = arrayMethodIsStrict$4;
3626
3626
  var FF = engineFfVersion;
@@ -3629,21 +3629,21 @@ var V8 = engineV8Version;
3629
3629
  var WEBKIT = engineWebkitVersion;
3630
3630
 
3631
3631
  var test = [];
3632
- var un$Sort = uncurryThis$b(test.sort);
3633
- var push$5 = uncurryThis$b(test.push);
3632
+ var un$Sort = uncurryThis$e(test.sort);
3633
+ var push$5 = uncurryThis$e(test.push);
3634
3634
 
3635
3635
  // IE8-
3636
- var FAILS_ON_UNDEFINED = fails$8(function () {
3636
+ var FAILS_ON_UNDEFINED = fails$a(function () {
3637
3637
  test.sort(undefined);
3638
3638
  });
3639
3639
  // V8 bug
3640
- var FAILS_ON_NULL = fails$8(function () {
3640
+ var FAILS_ON_NULL = fails$a(function () {
3641
3641
  test.sort(null);
3642
3642
  });
3643
3643
  // Old WebKit
3644
3644
  var STRICT_METHOD$2 = arrayMethodIsStrict$2('sort');
3645
3645
 
3646
- var STABLE_SORT = !fails$8(function () {
3646
+ var STABLE_SORT = !fails$a(function () {
3647
3647
  // feature detection can be too slow, so check engines versions
3648
3648
  if (V8) return V8 < 70;
3649
3649
  if (FF && FF > 3) return;
@@ -3691,7 +3691,7 @@ var getSortCompare = function (comparefn) {
3691
3691
 
3692
3692
  // `Array.prototype.sort` method
3693
3693
  // https://tc39.es/ecma262/#sec-array.prototype.sort
3694
- $$d({ target: 'Array', proto: true, forced: FORCED$2 }, {
3694
+ $$f({ target: 'Array', proto: true, forced: FORCED$2 }, {
3695
3695
  sort: function sort(comparefn) {
3696
3696
  if (comparefn !== undefined) aCallable$4(comparefn);
3697
3697
 
@@ -3719,7 +3719,7 @@ $$d({ target: 'Array', proto: true, forced: FORCED$2 }, {
3719
3719
  }
3720
3720
  });
3721
3721
 
3722
- var $$c = _export;
3722
+ var $$e = _export;
3723
3723
  var $filter = arrayIteration.filter;
3724
3724
  var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;
3725
3725
 
@@ -3728,26 +3728,26 @@ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
3728
3728
  // `Array.prototype.filter` method
3729
3729
  // https://tc39.es/ecma262/#sec-array.prototype.filter
3730
3730
  // with adding support of @@species
3731
- $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
3731
+ $$e({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
3732
3732
  filter: function filter(callbackfn /* , thisArg */) {
3733
3733
  return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3734
3734
  }
3735
3735
  });
3736
3736
 
3737
- var $$b = _export;
3738
- var uncurryThis$a = functionUncurryThis;
3737
+ var $$d = _export;
3738
+ var uncurryThis$d = functionUncurryThis;
3739
3739
  var IndexedObject$2 = indexedObject;
3740
3740
  var toIndexedObject$2 = toIndexedObject$8;
3741
3741
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
3742
3742
 
3743
- var un$Join = uncurryThis$a([].join);
3743
+ var un$Join = uncurryThis$d([].join);
3744
3744
 
3745
3745
  var ES3_STRINGS = IndexedObject$2 != Object;
3746
3746
  var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
3747
3747
 
3748
3748
  // `Array.prototype.join` method
3749
3749
  // https://tc39.es/ecma262/#sec-array.prototype.join
3750
- $$b({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
3750
+ $$d({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$1 }, {
3751
3751
  join: function join(separator) {
3752
3752
  return un$Join(toIndexedObject$2(this), separator === undefined ? ',' : separator);
3753
3753
  }
@@ -5170,26 +5170,26 @@ var fingerprint2 = {exports: {}};
5170
5170
 
5171
5171
  var Fingerprint2 = fingerprint2.exports;
5172
5172
 
5173
- var global$k = global$T;
5173
+ var global$m = global$V;
5174
5174
 
5175
- var nativePromiseConstructor = global$k.Promise;
5175
+ var nativePromiseConstructor = global$m.Promise;
5176
5176
 
5177
- var redefine$6 = redefine$a.exports;
5177
+ var redefine$7 = redefine$b.exports;
5178
5178
 
5179
- var redefineAll$2 = function (target, src, options) {
5180
- for (var key in src) redefine$6(target, key, src[key], options);
5179
+ var redefineAll$4 = function (target, src, options) {
5180
+ for (var key in src) redefine$7(target, key, src[key], options);
5181
5181
  return target;
5182
5182
  };
5183
5183
 
5184
5184
  var defineProperty$3 = objectDefineProperty.f;
5185
- var hasOwn$4 = hasOwnProperty_1;
5185
+ var hasOwn$5 = hasOwnProperty_1;
5186
5186
  var wellKnownSymbol$c = wellKnownSymbol$j;
5187
5187
 
5188
5188
  var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
5189
5189
 
5190
- var setToStringTag$5 = function (target, TAG, STATIC) {
5190
+ var setToStringTag$6 = function (target, TAG, STATIC) {
5191
5191
  if (target && !STATIC) target = target.prototype;
5192
- if (target && !hasOwn$4(target, TO_STRING_TAG$1)) {
5192
+ if (target && !hasOwn$5(target, TO_STRING_TAG$1)) {
5193
5193
  defineProperty$3(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
5194
5194
  }
5195
5195
  };
@@ -5213,12 +5213,12 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
5213
5213
  }
5214
5214
  };
5215
5215
 
5216
- var global$j = global$T;
5216
+ var global$l = global$V;
5217
5217
  var isPrototypeOf$2 = objectIsPrototypeOf;
5218
5218
 
5219
- var TypeError$9 = global$j.TypeError;
5219
+ var TypeError$9 = global$l.TypeError;
5220
5220
 
5221
- var anInstance$3 = function (it, Prototype) {
5221
+ var anInstance$5 = function (it, Prototype) {
5222
5222
  if (isPrototypeOf$2(Prototype, it)) return it;
5223
5223
  throw TypeError$9('Incorrect invocation');
5224
5224
  };
@@ -5249,28 +5249,28 @@ var getIteratorMethod$4 = function (it) {
5249
5249
  || Iterators$3[classof$2(it)];
5250
5250
  };
5251
5251
 
5252
- var global$i = global$T;
5252
+ var global$k = global$V;
5253
5253
  var call$7 = functionCall;
5254
5254
  var aCallable$3 = aCallable$7;
5255
- var anObject$7 = anObject$e;
5255
+ var anObject$8 = anObject$f;
5256
5256
  var tryToString$2 = tryToString$4;
5257
5257
  var getIteratorMethod$3 = getIteratorMethod$4;
5258
5258
 
5259
- var TypeError$8 = global$i.TypeError;
5259
+ var TypeError$8 = global$k.TypeError;
5260
5260
 
5261
5261
  var getIterator$3 = function (argument, usingIterator) {
5262
5262
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
5263
- if (aCallable$3(iteratorMethod)) return anObject$7(call$7(iteratorMethod, argument));
5263
+ if (aCallable$3(iteratorMethod)) return anObject$8(call$7(iteratorMethod, argument));
5264
5264
  throw TypeError$8(tryToString$2(argument) + ' is not iterable');
5265
5265
  };
5266
5266
 
5267
5267
  var call$6 = functionCall;
5268
- var anObject$6 = anObject$e;
5268
+ var anObject$7 = anObject$f;
5269
5269
  var getMethod = getMethod$3;
5270
5270
 
5271
5271
  var iteratorClose$2 = function (iterator, kind, value) {
5272
5272
  var innerResult, innerError;
5273
- anObject$6(iterator);
5273
+ anObject$7(iterator);
5274
5274
  try {
5275
5275
  innerResult = getMethod(iterator, 'return');
5276
5276
  if (!innerResult) {
@@ -5284,14 +5284,14 @@ var iteratorClose$2 = function (iterator, kind, value) {
5284
5284
  }
5285
5285
  if (kind === 'throw') throw value;
5286
5286
  if (innerError) throw innerResult;
5287
- anObject$6(innerResult);
5287
+ anObject$7(innerResult);
5288
5288
  return value;
5289
5289
  };
5290
5290
 
5291
- var global$h = global$T;
5291
+ var global$j = global$V;
5292
5292
  var bind$9 = functionBindContext;
5293
5293
  var call$5 = functionCall;
5294
- var anObject$5 = anObject$e;
5294
+ var anObject$6 = anObject$f;
5295
5295
  var tryToString$1 = tryToString$4;
5296
5296
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
5297
5297
  var lengthOfArrayLike$2 = lengthOfArrayLike$8;
@@ -5300,7 +5300,7 @@ var getIterator$2 = getIterator$3;
5300
5300
  var getIteratorMethod$2 = getIteratorMethod$4;
5301
5301
  var iteratorClose$1 = iteratorClose$2;
5302
5302
 
5303
- var TypeError$7 = global$h.TypeError;
5303
+ var TypeError$7 = global$j.TypeError;
5304
5304
 
5305
5305
  var Result = function (stopped, result) {
5306
5306
  this.stopped = stopped;
@@ -5309,7 +5309,7 @@ var Result = function (stopped, result) {
5309
5309
 
5310
5310
  var ResultPrototype = Result.prototype;
5311
5311
 
5312
- var iterate$1 = function (iterable, unboundFunction, options) {
5312
+ var iterate$3 = function (iterable, unboundFunction, options) {
5313
5313
  var that = options && options.that;
5314
5314
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
5315
5315
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
@@ -5324,7 +5324,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
5324
5324
 
5325
5325
  var callFn = function (value) {
5326
5326
  if (AS_ENTRIES) {
5327
- anObject$5(value);
5327
+ anObject$6(value);
5328
5328
  return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
5329
5329
  } return INTERRUPTED ? fn(value, stop) : fn(value);
5330
5330
  };
@@ -5377,7 +5377,7 @@ try {
5377
5377
  Array.from(iteratorWithReturn, function () { throw 2; });
5378
5378
  } catch (error) { /* empty */ }
5379
5379
 
5380
- var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
5380
+ var checkCorrectnessOfIteration$2 = function (exec, SKIP_CLOSING) {
5381
5381
  if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
5382
5382
  var ITERATION_SUPPORT = false;
5383
5383
  try {
@@ -5394,11 +5394,11 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
5394
5394
  return ITERATION_SUPPORT;
5395
5395
  };
5396
5396
 
5397
- var global$g = global$T;
5397
+ var global$i = global$V;
5398
5398
  var isConstructor$1 = isConstructor$3;
5399
5399
  var tryToString = tryToString$4;
5400
5400
 
5401
- var TypeError$6 = global$g.TypeError;
5401
+ var TypeError$6 = global$i.TypeError;
5402
5402
 
5403
5403
  // `Assert: IsConstructor(argument) is true`
5404
5404
  var aConstructor$1 = function (argument) {
@@ -5406,7 +5406,7 @@ var aConstructor$1 = function (argument) {
5406
5406
  throw TypeError$6(tryToString(argument) + ' is not a constructor');
5407
5407
  };
5408
5408
 
5409
- var anObject$4 = anObject$e;
5409
+ var anObject$5 = anObject$f;
5410
5410
  var aConstructor = aConstructor$1;
5411
5411
  var wellKnownSymbol$7 = wellKnownSymbol$j;
5412
5412
 
@@ -5415,18 +5415,18 @@ var SPECIES$1 = wellKnownSymbol$7('species');
5415
5415
  // `SpeciesConstructor` abstract operation
5416
5416
  // https://tc39.es/ecma262/#sec-speciesconstructor
5417
5417
  var speciesConstructor$1 = function (O, defaultConstructor) {
5418
- var C = anObject$4(O).constructor;
5418
+ var C = anObject$5(O).constructor;
5419
5419
  var S;
5420
- return C === undefined || (S = anObject$4(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
5420
+ return C === undefined || (S = anObject$5(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
5421
5421
  };
5422
5422
 
5423
- var uncurryThis$9 = functionUncurryThis;
5423
+ var uncurryThis$c = functionUncurryThis;
5424
5424
 
5425
- var arraySlice$2 = uncurryThis$9([].slice);
5425
+ var arraySlice$2 = uncurryThis$c([].slice);
5426
5426
 
5427
- var global$f = global$T;
5427
+ var global$h = global$V;
5428
5428
 
5429
- var TypeError$5 = global$f.TypeError;
5429
+ var TypeError$5 = global$h.TypeError;
5430
5430
 
5431
5431
  var validateArgumentsLength$3 = function (passed, required) {
5432
5432
  if (passed < required) throw TypeError$5('Not enough arguments');
@@ -5438,16 +5438,16 @@ var userAgent$2 = engineUserAgent;
5438
5438
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
5439
5439
 
5440
5440
  var classof$1 = classofRaw$1;
5441
- var global$e = global$T;
5441
+ var global$g = global$V;
5442
5442
 
5443
- var engineIsNode = classof$1(global$e.process) == 'process';
5443
+ var engineIsNode = classof$1(global$g.process) == 'process';
5444
5444
 
5445
- var global$d = global$T;
5445
+ var global$f = global$V;
5446
5446
  var apply$1 = functionApply;
5447
5447
  var bind$8 = functionBindContext;
5448
- var isCallable$5 = isCallable$k;
5449
- var hasOwn$3 = hasOwnProperty_1;
5450
- var fails$7 = fails$v;
5448
+ var isCallable$6 = isCallable$l;
5449
+ var hasOwn$4 = hasOwnProperty_1;
5450
+ var fails$9 = fails$x;
5451
5451
  var html = html$2;
5452
5452
  var arraySlice$1 = arraySlice$2;
5453
5453
  var createElement = documentCreateElement$2;
@@ -5455,13 +5455,13 @@ var validateArgumentsLength$2 = validateArgumentsLength$3;
5455
5455
  var IS_IOS$1 = engineIsIos;
5456
5456
  var IS_NODE$3 = engineIsNode;
5457
5457
 
5458
- var set = global$d.setImmediate;
5459
- var clear = global$d.clearImmediate;
5460
- var process$3 = global$d.process;
5461
- var Dispatch = global$d.Dispatch;
5462
- var Function$1 = global$d.Function;
5463
- var MessageChannel = global$d.MessageChannel;
5464
- var String$1 = global$d.String;
5458
+ var set = global$f.setImmediate;
5459
+ var clear = global$f.clearImmediate;
5460
+ var process$3 = global$f.process;
5461
+ var Dispatch = global$f.Dispatch;
5462
+ var Function$1 = global$f.Function;
5463
+ var MessageChannel = global$f.MessageChannel;
5464
+ var String$1 = global$f.String;
5465
5465
  var counter = 0;
5466
5466
  var queue$1 = {};
5467
5467
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -5469,11 +5469,11 @@ var location, defer, channel, port;
5469
5469
 
5470
5470
  try {
5471
5471
  // Deno throws a ReferenceError on `location` access without `--location` flag
5472
- location = global$d.location;
5472
+ location = global$f.location;
5473
5473
  } catch (error) { /* empty */ }
5474
5474
 
5475
5475
  var run = function (id) {
5476
- if (hasOwn$3(queue$1, id)) {
5476
+ if (hasOwn$4(queue$1, id)) {
5477
5477
  var fn = queue$1[id];
5478
5478
  delete queue$1[id];
5479
5479
  fn();
@@ -5492,14 +5492,14 @@ var listener = function (event) {
5492
5492
 
5493
5493
  var post = function (id) {
5494
5494
  // old engines have not location.origin
5495
- global$d.postMessage(String$1(id), location.protocol + '//' + location.host);
5495
+ global$f.postMessage(String$1(id), location.protocol + '//' + location.host);
5496
5496
  };
5497
5497
 
5498
5498
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
5499
5499
  if (!set || !clear) {
5500
5500
  set = function setImmediate(handler) {
5501
5501
  validateArgumentsLength$2(arguments.length, 1);
5502
- var fn = isCallable$5(handler) ? handler : Function$1(handler);
5502
+ var fn = isCallable$6(handler) ? handler : Function$1(handler);
5503
5503
  var args = arraySlice$1(arguments, 1);
5504
5504
  queue$1[++counter] = function () {
5505
5505
  apply$1(fn, undefined, args);
@@ -5530,14 +5530,14 @@ if (!set || !clear) {
5530
5530
  // Browsers with postMessage, skip WebWorkers
5531
5531
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
5532
5532
  } else if (
5533
- global$d.addEventListener &&
5534
- isCallable$5(global$d.postMessage) &&
5535
- !global$d.importScripts &&
5533
+ global$f.addEventListener &&
5534
+ isCallable$6(global$f.postMessage) &&
5535
+ !global$f.importScripts &&
5536
5536
  location && location.protocol !== 'file:' &&
5537
- !fails$7(post)
5537
+ !fails$9(post)
5538
5538
  ) {
5539
5539
  defer = post;
5540
- global$d.addEventListener('message', listener, false);
5540
+ global$f.addEventListener('message', listener, false);
5541
5541
  // IE8-
5542
5542
  } else if (ONREADYSTATECHANGE in createElement('script')) {
5543
5543
  defer = function (id) {
@@ -5560,15 +5560,15 @@ var task$1 = {
5560
5560
  };
5561
5561
 
5562
5562
  var userAgent$1 = engineUserAgent;
5563
- var global$c = global$T;
5563
+ var global$e = global$V;
5564
5564
 
5565
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$c.Pebble !== undefined;
5565
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$e.Pebble !== undefined;
5566
5566
 
5567
5567
  var userAgent = engineUserAgent;
5568
5568
 
5569
5569
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
5570
5570
 
5571
- var global$b = global$T;
5571
+ var global$d = global$V;
5572
5572
  var bind$7 = functionBindContext;
5573
5573
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
5574
5574
  var macrotask = task$1.set;
@@ -5577,12 +5577,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
5577
5577
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
5578
5578
  var IS_NODE$2 = engineIsNode;
5579
5579
 
5580
- var MutationObserver = global$b.MutationObserver || global$b.WebKitMutationObserver;
5581
- var document$2 = global$b.document;
5582
- var process$2 = global$b.process;
5583
- var Promise$1 = global$b.Promise;
5580
+ var MutationObserver = global$d.MutationObserver || global$d.WebKitMutationObserver;
5581
+ var document$2 = global$d.document;
5582
+ var process$2 = global$d.process;
5583
+ var Promise$1 = global$d.Promise;
5584
5584
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
5585
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$b, 'queueMicrotask');
5585
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$d, 'queueMicrotask');
5586
5586
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
5587
5587
 
5588
5588
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -5638,7 +5638,7 @@ if (!queueMicrotask) {
5638
5638
  // - setTimeout
5639
5639
  } else {
5640
5640
  // strange IE + webpack dev server bug - use .bind(global)
5641
- macrotask = bind$7(macrotask, global$b);
5641
+ macrotask = bind$7(macrotask, global$d);
5642
5642
  notify$1 = function () {
5643
5643
  macrotask(flush);
5644
5644
  };
@@ -5675,23 +5675,23 @@ newPromiseCapability$2.f = function (C) {
5675
5675
  return new PromiseCapability(C);
5676
5676
  };
5677
5677
 
5678
- var anObject$3 = anObject$e;
5679
- var isObject$3 = isObject$h;
5678
+ var anObject$4 = anObject$f;
5679
+ var isObject$7 = isObject$l;
5680
5680
  var newPromiseCapability$1 = newPromiseCapability$2;
5681
5681
 
5682
5682
  var promiseResolve$1 = function (C, x) {
5683
- anObject$3(C);
5684
- if (isObject$3(x) && x.constructor === C) return x;
5683
+ anObject$4(C);
5684
+ if (isObject$7(x) && x.constructor === C) return x;
5685
5685
  var promiseCapability = newPromiseCapability$1.f(C);
5686
5686
  var resolve = promiseCapability.resolve;
5687
5687
  resolve(x);
5688
5688
  return promiseCapability.promise;
5689
5689
  };
5690
5690
 
5691
- var global$a = global$T;
5691
+ var global$c = global$V;
5692
5692
 
5693
5693
  var hostReportErrors$1 = function (a, b) {
5694
- var console = global$a.console;
5694
+ var console = global$c.console;
5695
5695
  if (console && console.error) {
5696
5696
  arguments.length == 1 ? console.error(a) : console.error(a, b);
5697
5697
  }
@@ -5731,23 +5731,23 @@ var queue = Queue$1;
5731
5731
 
5732
5732
  var engineIsBrowser = typeof window == 'object';
5733
5733
 
5734
- var $$a = _export;
5735
- var global$9 = global$T;
5734
+ var $$c = _export;
5735
+ var global$b = global$V;
5736
5736
  var getBuiltIn$2 = getBuiltIn$a;
5737
5737
  var call$4 = functionCall;
5738
5738
  var NativePromise = nativePromiseConstructor;
5739
- var redefine$5 = redefine$a.exports;
5740
- var redefineAll$1 = redefineAll$2;
5739
+ var redefine$6 = redefine$b.exports;
5740
+ var redefineAll$3 = redefineAll$4;
5741
5741
  var setPrototypeOf$1 = objectSetPrototypeOf;
5742
- var setToStringTag$4 = setToStringTag$5;
5742
+ var setToStringTag$5 = setToStringTag$6;
5743
5743
  var setSpecies = setSpecies$1;
5744
5744
  var aCallable$1 = aCallable$7;
5745
- var isCallable$4 = isCallable$k;
5746
- var isObject$2 = isObject$h;
5747
- var anInstance$2 = anInstance$3;
5745
+ var isCallable$5 = isCallable$l;
5746
+ var isObject$6 = isObject$l;
5747
+ var anInstance$4 = anInstance$5;
5748
5748
  var inspectSource = inspectSource$4;
5749
- var iterate = iterate$1;
5750
- var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
5749
+ var iterate$2 = iterate$3;
5750
+ var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$2;
5751
5751
  var speciesConstructor = speciesConstructor$1;
5752
5752
  var task = task$1.set;
5753
5753
  var microtask = microtask$1;
@@ -5756,8 +5756,8 @@ var hostReportErrors = hostReportErrors$1;
5756
5756
  var newPromiseCapabilityModule = newPromiseCapability$2;
5757
5757
  var perform = perform$1;
5758
5758
  var Queue = queue;
5759
- var InternalStateModule$4 = internalState;
5760
- var isForced = isForced_1;
5759
+ var InternalStateModule$5 = internalState;
5760
+ var isForced$1 = isForced_1;
5761
5761
  var wellKnownSymbol$6 = wellKnownSymbol$j;
5762
5762
  var IS_BROWSER = engineIsBrowser;
5763
5763
  var IS_NODE$1 = engineIsNode;
@@ -5766,20 +5766,20 @@ var V8_VERSION = engineV8Version;
5766
5766
  var SPECIES = wellKnownSymbol$6('species');
5767
5767
  var PROMISE = 'Promise';
5768
5768
 
5769
- var getInternalState$2 = InternalStateModule$4.getterFor(PROMISE);
5770
- var setInternalState$4 = InternalStateModule$4.set;
5771
- var getInternalPromiseState = InternalStateModule$4.getterFor(PROMISE);
5769
+ var getInternalState$2 = InternalStateModule$5.getterFor(PROMISE);
5770
+ var setInternalState$5 = InternalStateModule$5.set;
5771
+ var getInternalPromiseState = InternalStateModule$5.getterFor(PROMISE);
5772
5772
  var NativePromisePrototype = NativePromise && NativePromise.prototype;
5773
5773
  var PromiseConstructor = NativePromise;
5774
5774
  var PromisePrototype = NativePromisePrototype;
5775
- var TypeError$4 = global$9.TypeError;
5776
- var document$1 = global$9.document;
5777
- var process$1 = global$9.process;
5775
+ var TypeError$4 = global$b.TypeError;
5776
+ var document$1 = global$b.document;
5777
+ var process$1 = global$b.process;
5778
5778
  var newPromiseCapability = newPromiseCapabilityModule.f;
5779
5779
  var newGenericPromiseCapability = newPromiseCapability;
5780
5780
 
5781
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$9.dispatchEvent);
5782
- var NATIVE_REJECTION_EVENT = isCallable$4(global$9.PromiseRejectionEvent);
5781
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$b.dispatchEvent);
5782
+ var NATIVE_REJECTION_EVENT = isCallable$5(global$b.PromiseRejectionEvent);
5783
5783
  var UNHANDLED_REJECTION = 'unhandledrejection';
5784
5784
  var REJECTION_HANDLED = 'rejectionhandled';
5785
5785
  var PENDING = 0;
@@ -5791,7 +5791,7 @@ var SUBCLASSING = false;
5791
5791
 
5792
5792
  var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
5793
5793
 
5794
- var FORCED$1 = isForced(PROMISE, function () {
5794
+ var FORCED$1 = isForced$1(PROMISE, function () {
5795
5795
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
5796
5796
  var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
5797
5797
  // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
@@ -5815,14 +5815,14 @@ var FORCED$1 = isForced(PROMISE, function () {
5815
5815
  return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
5816
5816
  });
5817
5817
 
5818
- var INCORRECT_ITERATION = FORCED$1 || !checkCorrectnessOfIteration(function (iterable) {
5818
+ var INCORRECT_ITERATION = FORCED$1 || !checkCorrectnessOfIteration$1(function (iterable) {
5819
5819
  PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
5820
5820
  });
5821
5821
 
5822
5822
  // helpers
5823
5823
  var isThenable = function (it) {
5824
5824
  var then;
5825
- return isObject$2(it) && isCallable$4(then = it.then) ? then : false;
5825
+ return isObject$6(it) && isCallable$5(then = it.then) ? then : false;
5826
5826
  };
5827
5827
 
5828
5828
  var callReaction = function (reaction, state) {
@@ -5881,14 +5881,14 @@ var dispatchEvent = function (name, promise, reason) {
5881
5881
  event.promise = promise;
5882
5882
  event.reason = reason;
5883
5883
  event.initEvent(name, false, true);
5884
- global$9.dispatchEvent(event);
5884
+ global$b.dispatchEvent(event);
5885
5885
  } else event = { promise: promise, reason: reason };
5886
- if (!NATIVE_REJECTION_EVENT && (handler = global$9['on' + name])) handler(event);
5886
+ if (!NATIVE_REJECTION_EVENT && (handler = global$b['on' + name])) handler(event);
5887
5887
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
5888
5888
  };
5889
5889
 
5890
5890
  var onUnhandled = function (state) {
5891
- call$4(task, global$9, function () {
5891
+ call$4(task, global$b, function () {
5892
5892
  var promise = state.facade;
5893
5893
  var value = state.value;
5894
5894
  var IS_UNHANDLED = isUnhandled(state);
@@ -5911,7 +5911,7 @@ var isUnhandled = function (state) {
5911
5911
  };
5912
5912
 
5913
5913
  var onHandleUnhandled = function (state) {
5914
- call$4(task, global$9, function () {
5914
+ call$4(task, global$b, function () {
5915
5915
  var promise = state.facade;
5916
5916
  if (IS_NODE$1) {
5917
5917
  process$1.emit('rejectionHandled', promise);
@@ -5967,7 +5967,7 @@ var internalResolve = function (state, value, unwrap) {
5967
5967
  if (FORCED$1) {
5968
5968
  // 25.4.3.1 Promise(executor)
5969
5969
  PromiseConstructor = function Promise(executor) {
5970
- anInstance$2(this, PromisePrototype);
5970
+ anInstance$4(this, PromisePrototype);
5971
5971
  aCallable$1(executor);
5972
5972
  call$4(Internal, this);
5973
5973
  var state = getInternalState$2(this);
@@ -5980,7 +5980,7 @@ if (FORCED$1) {
5980
5980
  PromisePrototype = PromiseConstructor.prototype;
5981
5981
  // eslint-disable-next-line no-unused-vars -- required for `.length`
5982
5982
  Internal = function Promise(executor) {
5983
- setInternalState$4(this, {
5983
+ setInternalState$5(this, {
5984
5984
  type: PROMISE,
5985
5985
  done: false,
5986
5986
  notified: false,
@@ -5991,7 +5991,7 @@ if (FORCED$1) {
5991
5991
  value: undefined
5992
5992
  });
5993
5993
  };
5994
- Internal.prototype = redefineAll$1(PromisePrototype, {
5994
+ Internal.prototype = redefineAll$3(PromisePrototype, {
5995
5995
  // `Promise.prototype.then` method
5996
5996
  // https://tc39.es/ecma262/#sec-promise.prototype.then
5997
5997
  // eslint-disable-next-line unicorn/no-thenable -- safe
@@ -5999,8 +5999,8 @@ if (FORCED$1) {
5999
5999
  var state = getInternalPromiseState(this);
6000
6000
  var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
6001
6001
  state.parent = true;
6002
- reaction.ok = isCallable$4(onFulfilled) ? onFulfilled : true;
6003
- reaction.fail = isCallable$4(onRejected) && onRejected;
6002
+ reaction.ok = isCallable$5(onFulfilled) ? onFulfilled : true;
6003
+ reaction.fail = isCallable$5(onRejected) && onRejected;
6004
6004
  reaction.domain = IS_NODE$1 ? process$1.domain : undefined;
6005
6005
  if (state.state == PENDING) state.reactions.add(reaction);
6006
6006
  else microtask(function () {
@@ -6027,12 +6027,12 @@ if (FORCED$1) {
6027
6027
  : newGenericPromiseCapability(C);
6028
6028
  };
6029
6029
 
6030
- if (isCallable$4(NativePromise) && NativePromisePrototype !== Object.prototype) {
6030
+ if (isCallable$5(NativePromise) && NativePromisePrototype !== Object.prototype) {
6031
6031
  nativeThen = NativePromisePrototype.then;
6032
6032
 
6033
6033
  if (!SUBCLASSING) {
6034
6034
  // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
6035
- redefine$5(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
6035
+ redefine$6(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
6036
6036
  var that = this;
6037
6037
  return new PromiseConstructor(function (resolve, reject) {
6038
6038
  call$4(nativeThen, that, resolve, reject);
@@ -6041,7 +6041,7 @@ if (FORCED$1) {
6041
6041
  }, { unsafe: true });
6042
6042
 
6043
6043
  // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
6044
- redefine$5(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
6044
+ redefine$6(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
6045
6045
  }
6046
6046
 
6047
6047
  // make `.constructor === Promise` work for native promise-based APIs
@@ -6056,17 +6056,17 @@ if (FORCED$1) {
6056
6056
  }
6057
6057
  }
6058
6058
 
6059
- $$a({ global: true, wrap: true, forced: FORCED$1 }, {
6059
+ $$c({ global: true, wrap: true, forced: FORCED$1 }, {
6060
6060
  Promise: PromiseConstructor
6061
6061
  });
6062
6062
 
6063
- setToStringTag$4(PromiseConstructor, PROMISE, false);
6063
+ setToStringTag$5(PromiseConstructor, PROMISE, false);
6064
6064
  setSpecies(PROMISE);
6065
6065
 
6066
6066
  PromiseWrapper = getBuiltIn$2(PROMISE);
6067
6067
 
6068
6068
  // statics
6069
- $$a({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6069
+ $$c({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6070
6070
  // `Promise.reject` method
6071
6071
  // https://tc39.es/ecma262/#sec-promise.reject
6072
6072
  reject: function reject(r) {
@@ -6076,7 +6076,7 @@ $$a({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6076
6076
  }
6077
6077
  });
6078
6078
 
6079
- $$a({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6079
+ $$c({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6080
6080
  // `Promise.resolve` method
6081
6081
  // https://tc39.es/ecma262/#sec-promise.resolve
6082
6082
  resolve: function resolve(x) {
@@ -6084,7 +6084,7 @@ $$a({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6084
6084
  }
6085
6085
  });
6086
6086
 
6087
- $$a({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
6087
+ $$c({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
6088
6088
  // `Promise.all` method
6089
6089
  // https://tc39.es/ecma262/#sec-promise.all
6090
6090
  all: function all(iterable) {
@@ -6097,7 +6097,7 @@ $$a({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
6097
6097
  var values = [];
6098
6098
  var counter = 0;
6099
6099
  var remaining = 1;
6100
- iterate(iterable, function (promise) {
6100
+ iterate$2(iterable, function (promise) {
6101
6101
  var index = counter++;
6102
6102
  var alreadyCalled = false;
6103
6103
  remaining++;
@@ -6121,7 +6121,7 @@ $$a({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
6121
6121
  var reject = capability.reject;
6122
6122
  var result = perform(function () {
6123
6123
  var $promiseResolve = aCallable$1(C.resolve);
6124
- iterate(iterable, function (promise) {
6124
+ iterate$2(iterable, function (promise) {
6125
6125
  call$4($promiseResolve, C, promise).then(capability.resolve, reject);
6126
6126
  });
6127
6127
  });
@@ -6240,9 +6240,9 @@ var getDeviceFingerprint = /*#__PURE__*/function () {
6240
6240
  }();
6241
6241
 
6242
6242
  var DESCRIPTORS$4 = descriptors$1;
6243
- var uncurryThis$8 = functionUncurryThis;
6243
+ var uncurryThis$b = functionUncurryThis;
6244
6244
  var call$3 = functionCall;
6245
- var fails$6 = fails$v;
6245
+ var fails$8 = fails$x;
6246
6246
  var objectKeys$1 = objectKeys$3;
6247
6247
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
6248
6248
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -6253,11 +6253,11 @@ var IndexedObject$1 = indexedObject;
6253
6253
  var $assign = Object.assign;
6254
6254
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
6255
6255
  var defineProperty$2 = Object.defineProperty;
6256
- var concat = uncurryThis$8([].concat);
6256
+ var concat = uncurryThis$b([].concat);
6257
6257
 
6258
6258
  // `Object.assign` method
6259
6259
  // https://tc39.es/ecma262/#sec-object.assign
6260
- var objectAssign = !$assign || fails$6(function () {
6260
+ var objectAssign = !$assign || fails$8(function () {
6261
6261
  // should have correct order of operations (Edge bug)
6262
6262
  if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
6263
6263
  enumerable: true,
@@ -6296,16 +6296,34 @@ var objectAssign = !$assign || fails$6(function () {
6296
6296
  } return T;
6297
6297
  } : $assign;
6298
6298
 
6299
- var $$9 = _export;
6299
+ var $$b = _export;
6300
6300
  var assign$2 = objectAssign;
6301
6301
 
6302
6302
  // `Object.assign` method
6303
6303
  // https://tc39.es/ecma262/#sec-object.assign
6304
6304
  // eslint-disable-next-line es/no-object-assign -- required for testing
6305
- $$9({ target: 'Object', stat: true, forced: Object.assign !== assign$2 }, {
6305
+ $$b({ target: 'Object', stat: true, forced: Object.assign !== assign$2 }, {
6306
6306
  assign: assign$2
6307
6307
  });
6308
6308
 
6309
+ var $$a = _export;
6310
+ var FREEZING = freezing;
6311
+ var fails$7 = fails$x;
6312
+ var isObject$5 = isObject$l;
6313
+ var onFreeze = internalMetadata.exports.onFreeze;
6314
+
6315
+ // eslint-disable-next-line es/no-object-freeze -- safe
6316
+ var $freeze = Object.freeze;
6317
+ var FAILS_ON_PRIMITIVES = fails$7(function () { $freeze(1); });
6318
+
6319
+ // `Object.freeze` method
6320
+ // https://tc39.es/ecma262/#sec-object.freeze
6321
+ $$a({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {
6322
+ freeze: function freeze(it) {
6323
+ return $freeze && isObject$5(it) ? $freeze(onFreeze(it)) : it;
6324
+ }
6325
+ });
6326
+
6309
6327
  var config = {
6310
6328
  cookieTestUrl: 'https://legacy-staging.paystack.co/test-iframe/start.html',
6311
6329
  publishableKey: 'uFmz/uE/SDT6GupOrSEXIZXGByjQ0zFkPyc9LqKHFqnTI0WPN3JS5kQPo/j9or0TOXlqMQj2lzHn/UGsQT4XeQ==',
@@ -6363,13 +6381,13 @@ var addToUnscopables$3 = function (key) {
6363
6381
  ArrayPrototype[UNSCOPABLES][key] = true;
6364
6382
  };
6365
6383
 
6366
- var $$8 = _export;
6384
+ var $$9 = _export;
6367
6385
  var $includes = arrayIncludes.includes;
6368
6386
  var addToUnscopables$2 = addToUnscopables$3;
6369
6387
 
6370
6388
  // `Array.prototype.includes` method
6371
6389
  // https://tc39.es/ecma262/#sec-array.prototype.includes
6372
- $$8({ target: 'Array', proto: true }, {
6390
+ $$9({ target: 'Array', proto: true }, {
6373
6391
  includes: function includes(el /* , fromIndex = 0 */) {
6374
6392
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
6375
6393
  }
@@ -6382,7 +6400,7 @@ var _excluded = ["message", "status", "errors"],
6382
6400
  _excluded2 = ["message", "status", "errors"],
6383
6401
  _excluded3 = ["message", "status", "errors"],
6384
6402
  _excluded4 = ["message", "status", "errors"],
6385
- _excluded5 = ["status", "message", "otpmessage"];
6403
+ _excluded5 = ["status", "message", "otpmessage", "redirectUrl"];
6386
6404
  var PREAUTHORIZATION_STATE_AUTHORIZED = 'authorized';
6387
6405
  var ChargeResponses = {
6388
6406
  authorized: function authorized(response) {
@@ -6433,8 +6451,9 @@ var ChargeResponses = {
6433
6451
  response.status;
6434
6452
  var message = response.message,
6435
6453
  otpmessage = response.otpmessage,
6454
+ redirectUrl = response.redirectUrl,
6436
6455
  cleanResponse = _objectWithoutProperties(response, _excluded5);
6437
- var authMessage = otpmessage || message;
6456
+ var authMessage = redirectUrl || otpmessage || message;
6438
6457
  return {
6439
6458
  status: 'auth',
6440
6459
  message: authMessage || 'Authentication required',
@@ -6478,7 +6497,7 @@ var ChargeResponses = {
6478
6497
  return error;
6479
6498
  },
6480
6499
  parse: function parse(apiResponse) {
6481
- var response = _typeof$1(apiResponse) === 'object' ? apiResponse : {};
6500
+ var response = apiResponse && _typeof$1(apiResponse) === 'object' ? apiResponse : {};
6482
6501
  if (response.data && _typeof$1(response.data) === 'object') {
6483
6502
  Object.assign(response, response.data);
6484
6503
  delete response.data;
@@ -6504,83 +6523,148 @@ var ChargeResponses = {
6504
6523
  if (response.status === 'incorrect-amount-sent' || response.message_type === 'INCORRECT_AMOUNT') {
6505
6524
  return this.getCleanResponse(response, 'Incorrect amount sent');
6506
6525
  }
6507
- if (response.status === 'awaiting_registration_token') {
6526
+ if (['awaiting_registration_token', 'awaiting_ussd_confirmation'].includes(response.status)) {
6508
6527
  return this.getCleanResponse(response);
6509
6528
  }
6510
6529
  if (response.auth && response.auth !== 'none') {
6511
6530
  return this.auth(response);
6512
6531
  }
6532
+ if (response.status === 'open_url' && response.url) {
6533
+ return this.getCleanResponse(response, 'Continue at the payment provider');
6534
+ }
6513
6535
  return this.error(response);
6514
6536
  }
6515
6537
  };
6516
6538
 
6517
- /* eslint-env browser */
6518
-
6519
- // `context` is passed through to set the class property of `isListening` to true/false
6520
- // and provide the logAPIResponse analytics function
6521
- // eslint-disable-next-line consistent-return, import/prefer-default-export
6522
- var subscribeToChargeEvents = function subscribeToChargeEvents(options, context, callback) {
6523
- var channel = options.channel,
6524
- paymentMethod = options.paymentMethod;
6525
- var pusher;
6526
- if (window && window.Pusher) {
6527
- pusher = new window.Pusher(configToUse.pusherKey, {
6528
- cluster: 'eu',
6529
- disableStats: true
6530
- });
6531
- }
6532
- var pusherUndefinedError = {
6539
+ // Frozen singletons: a consumer that mutates what it was handed cannot corrupt
6540
+ // the next call.
6541
+ var LISTEN_ERRORS = {
6542
+ unavailable: Object.freeze({
6533
6543
  status: 'error',
6534
6544
  message: 'We could not listen for charge response.'
6535
- };
6536
- var pusherSubscriptionError = {
6545
+ }),
6546
+ subscriptionFailed: Object.freeze({
6537
6547
  status: 'error',
6538
6548
  message: 'We could not listen for charge response. Use transaction.requery() to check the status.'
6549
+ })
6550
+ };
6551
+
6552
+ // Returns null so each listener can choose what to hand its caller back. The
6553
+ // `!window` half only guards window being declared and assigned undefined; with
6554
+ // window genuinely absent this throws, as it always has.
6555
+ var createPusherClient = function createPusherClient() {
6556
+ if (!window || !window.Pusher) {
6557
+ return null;
6558
+ }
6559
+ return new window.Pusher(configToUse.pusherKey, {
6560
+ cluster: 'eu',
6561
+ disableStats: true
6562
+ });
6563
+ };
6564
+
6565
+ // Analytics are logged before the consumer callback runs, so a throwing
6566
+ // callback cannot lose the event.
6567
+ var buildResponseHandler = function buildResponseHandler(_ref) {
6568
+ var context = _ref.context,
6569
+ paymentMethod = _ref.paymentMethod,
6570
+ callback = _ref.callback,
6571
+ teardown = _ref.teardown;
6572
+ return function (response) {
6573
+ var formattedResponse = ChargeResponses.parse(response);
6574
+ context.logAPIResponse(formattedResponse, paymentMethod);
6575
+ callback(formattedResponse, teardown);
6539
6576
  };
6577
+ };
6578
+
6579
+ // The shared listening path for every channel and market. `context` carries
6580
+ // logAPIResponse and the isListening flag this path owns.
6581
+ // eslint-disable-next-line consistent-return
6582
+ var subscribeToChargeEvents = function subscribeToChargeEvents(options, context, callback) {
6583
+ var channel = options.channel,
6584
+ paymentMethod = options.paymentMethod;
6585
+ var pusher = createPusherClient();
6586
+ if (!pusher) {
6587
+ return callback(LISTEN_ERRORS.unavailable, noOp);
6588
+ }
6540
6589
  var unsubscribeFromPusher = function unsubscribeFromPusher() {
6541
6590
  pusher.unsubscribe(channel);
6542
6591
  };
6543
- if (!pusher) {
6544
- return callback(pusherUndefinedError, noOp);
6545
- }
6546
6592
  var pusherSubscription = pusher.subscribe(channel);
6547
6593
  pusherSubscription.bind('pusher:subscription_succeeded', function () {
6548
6594
  context.isListening = true;
6549
6595
  });
6550
6596
  pusherSubscription.bind('pusher:subscription_error', function () {
6551
6597
  context.isListening = false;
6552
- callback(pusherSubscriptionError, noOp);
6598
+ callback(LISTEN_ERRORS.subscriptionFailed, noOp);
6553
6599
  });
6554
- pusherSubscription.bind('response', function (response) {
6555
- var formattedResponse = ChargeResponses.parse(response);
6556
- context.logAPIResponse(formattedResponse, paymentMethod);
6557
- callback(formattedResponse, unsubscribeFromPusher);
6600
+ pusherSubscription.bind('response', buildResponseHandler({
6601
+ context: context,
6602
+ paymentMethod: paymentMethod,
6603
+ callback: callback,
6604
+ teardown: unsubscribeFromPusher
6605
+ }));
6606
+ };
6607
+
6608
+ // Dedicated listener for the Ghana mobile money USSD confirmation channel. Kept
6609
+ // separate because this flow needs an unsubscribe before any event arrives, and
6610
+ // must not write context.isListening: it runs alongside the main charge
6611
+ // subscription and the two would fight over one flag.
6612
+ var subscribeToConfirmationEvents = function subscribeToConfirmationEvents(options, context, callback) {
6613
+ var channel = options.channel,
6614
+ paymentMethod = options.paymentMethod;
6615
+ var pusher = createPusherClient();
6616
+ if (!pusher) {
6617
+ callback(LISTEN_ERRORS.unavailable, noOp);
6618
+ return noOp;
6619
+ }
6620
+ var hasUnsubscribed = false;
6621
+ var unsubscribe = function unsubscribe() {
6622
+ if (hasUnsubscribed) {
6623
+ return;
6624
+ }
6625
+ hasUnsubscribed = true;
6626
+ pusher.unsubscribe(channel);
6627
+ pusher.disconnect();
6628
+ };
6629
+ var pusherSubscription = pusher.subscribe(channel);
6630
+ // Deliberately does not tear down: a subscription_error can be transient, and
6631
+ // disconnecting stops pusher-js re-subscribing on recovery. The teardown handed
6632
+ // over stays live for a consumer that would rather give up.
6633
+ pusherSubscription.bind('pusher:subscription_error', function () {
6634
+ callback(LISTEN_ERRORS.subscriptionFailed, unsubscribe);
6558
6635
  });
6636
+ pusherSubscription.bind('response', buildResponseHandler({
6637
+ context: context,
6638
+ paymentMethod: paymentMethod,
6639
+ callback: callback,
6640
+ teardown: unsubscribe
6641
+ }));
6642
+ return unsubscribe;
6559
6643
  };
6560
6644
 
6561
- var uncurryThis$7 = functionUncurryThis;
6645
+ var uncurryThis$a = functionUncurryThis;
6562
6646
  var PROPER_FUNCTION_NAME$2 = functionName.PROPER;
6563
- var redefine$4 = redefine$a.exports;
6564
- var anObject$2 = anObject$e;
6647
+ var redefine$5 = redefine$b.exports;
6648
+ var anObject$3 = anObject$f;
6565
6649
  var isPrototypeOf = objectIsPrototypeOf;
6566
6650
  var $toString$2 = toString$9;
6567
- var fails$5 = fails$v;
6651
+ var fails$6 = fails$x;
6568
6652
  var regExpFlags = regexpFlags$1;
6569
6653
 
6570
6654
  var TO_STRING = 'toString';
6571
6655
  var RegExpPrototype = RegExp.prototype;
6572
6656
  var n$ToString = RegExpPrototype[TO_STRING];
6573
- var getFlags = uncurryThis$7(regExpFlags);
6657
+ var getFlags = uncurryThis$a(regExpFlags);
6574
6658
 
6575
- var NOT_GENERIC = fails$5(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
6659
+ var NOT_GENERIC = fails$6(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
6576
6660
  // FF44- RegExp#toString has a wrong name
6577
6661
  var INCORRECT_NAME = PROPER_FUNCTION_NAME$2 && n$ToString.name != TO_STRING;
6578
6662
 
6579
6663
  // `RegExp.prototype.toString` method
6580
6664
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
6581
6665
  if (NOT_GENERIC || INCORRECT_NAME) {
6582
- redefine$4(RegExp.prototype, TO_STRING, function toString() {
6583
- var R = anObject$2(this);
6666
+ redefine$5(RegExp.prototype, TO_STRING, function toString() {
6667
+ var R = anObject$3(this);
6584
6668
  var p = $toString$2(R.source);
6585
6669
  var rf = R.flags;
6586
6670
  var f = $toString$2(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);
@@ -6588,41 +6672,41 @@ if (NOT_GENERIC || INCORRECT_NAME) {
6588
6672
  }, { unsafe: true });
6589
6673
  }
6590
6674
 
6591
- var fails$4 = fails$v;
6675
+ var fails$5 = fails$x;
6592
6676
 
6593
- var correctPrototypeGetter = !fails$4(function () {
6677
+ var correctPrototypeGetter = !fails$5(function () {
6594
6678
  function F() { /* empty */ }
6595
6679
  F.prototype.constructor = null;
6596
6680
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
6597
6681
  return Object.getPrototypeOf(new F()) !== F.prototype;
6598
6682
  });
6599
6683
 
6600
- var global$8 = global$T;
6601
- var hasOwn$2 = hasOwnProperty_1;
6602
- var isCallable$3 = isCallable$k;
6684
+ var global$a = global$V;
6685
+ var hasOwn$3 = hasOwnProperty_1;
6686
+ var isCallable$4 = isCallable$l;
6603
6687
  var toObject$2 = toObject$9;
6604
6688
  var sharedKey = sharedKey$3;
6605
6689
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
6606
6690
 
6607
6691
  var IE_PROTO = sharedKey('IE_PROTO');
6608
- var Object$1 = global$8.Object;
6692
+ var Object$1 = global$a.Object;
6609
6693
  var ObjectPrototype = Object$1.prototype;
6610
6694
 
6611
6695
  // `Object.getPrototypeOf` method
6612
6696
  // https://tc39.es/ecma262/#sec-object.getprototypeof
6613
6697
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
6614
6698
  var object = toObject$2(O);
6615
- if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
6699
+ if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
6616
6700
  var constructor = object.constructor;
6617
- if (isCallable$3(constructor) && object instanceof constructor) {
6701
+ if (isCallable$4(constructor) && object instanceof constructor) {
6618
6702
  return constructor.prototype;
6619
6703
  } return object instanceof Object$1 ? ObjectPrototype : null;
6620
6704
  };
6621
6705
 
6622
- var fails$3 = fails$v;
6623
- var isCallable$2 = isCallable$k;
6706
+ var fails$4 = fails$x;
6707
+ var isCallable$3 = isCallable$l;
6624
6708
  var getPrototypeOf$1 = objectGetPrototypeOf;
6625
- var redefine$3 = redefine$a.exports;
6709
+ var redefine$4 = redefine$b.exports;
6626
6710
  var wellKnownSymbol$4 = wellKnownSymbol$j;
6627
6711
 
6628
6712
  var ITERATOR$4 = wellKnownSymbol$4('iterator');
@@ -6643,7 +6727,7 @@ if ([].keys) {
6643
6727
  }
6644
6728
  }
6645
6729
 
6646
- var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$3(function () {
6730
+ var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails$4(function () {
6647
6731
  var test = {};
6648
6732
  // FF44- legacy iterators case
6649
6733
  return IteratorPrototype$2[ITERATOR$4].call(test) !== test;
@@ -6653,8 +6737,8 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
6653
6737
 
6654
6738
  // `%IteratorPrototype%[@@iterator]()` method
6655
6739
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
6656
- if (!isCallable$2(IteratorPrototype$2[ITERATOR$4])) {
6657
- redefine$3(IteratorPrototype$2, ITERATOR$4, function () {
6740
+ if (!isCallable$3(IteratorPrototype$2[ITERATOR$4])) {
6741
+ redefine$4(IteratorPrototype$2, ITERATOR$4, function () {
6658
6742
  return this;
6659
6743
  });
6660
6744
  }
@@ -6667,7 +6751,7 @@ var iteratorsCore = {
6667
6751
  var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
6668
6752
  var create$1 = objectCreate;
6669
6753
  var createPropertyDescriptor$1 = createPropertyDescriptor$6;
6670
- var setToStringTag$3 = setToStringTag$5;
6754
+ var setToStringTag$4 = setToStringTag$6;
6671
6755
  var Iterators$2 = iterators;
6672
6756
 
6673
6757
  var returnThis$1 = function () { return this; };
@@ -6675,21 +6759,21 @@ var returnThis$1 = function () { return this; };
6675
6759
  var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
6676
6760
  var TO_STRING_TAG = NAME + ' Iterator';
6677
6761
  IteratorConstructor.prototype = create$1(IteratorPrototype$1, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
6678
- setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
6762
+ setToStringTag$4(IteratorConstructor, TO_STRING_TAG, false);
6679
6763
  Iterators$2[TO_STRING_TAG] = returnThis$1;
6680
6764
  return IteratorConstructor;
6681
6765
  };
6682
6766
 
6683
- var $$7 = _export;
6767
+ var $$8 = _export;
6684
6768
  var call$2 = functionCall;
6685
6769
  var FunctionName = functionName;
6686
- var isCallable$1 = isCallable$k;
6770
+ var isCallable$2 = isCallable$l;
6687
6771
  var createIteratorConstructor$1 = createIteratorConstructor$2;
6688
6772
  var getPrototypeOf = objectGetPrototypeOf;
6689
6773
  var setPrototypeOf = objectSetPrototypeOf;
6690
- var setToStringTag$2 = setToStringTag$5;
6774
+ var setToStringTag$3 = setToStringTag$6;
6691
6775
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
6692
- var redefine$2 = redefine$a.exports;
6776
+ var redefine$3 = redefine$b.exports;
6693
6777
  var wellKnownSymbol$3 = wellKnownSymbol$j;
6694
6778
  var Iterators$1 = iterators;
6695
6779
  var IteratorsCore = iteratorsCore;
@@ -6735,12 +6819,12 @@ var defineIterator$2 = function (Iterable, NAME, IteratorConstructor, next, DEFA
6735
6819
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
6736
6820
  if (setPrototypeOf) {
6737
6821
  setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
6738
- } else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$3])) {
6739
- redefine$2(CurrentIteratorPrototype, ITERATOR$3, returnThis);
6822
+ } else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$3])) {
6823
+ redefine$3(CurrentIteratorPrototype, ITERATOR$3, returnThis);
6740
6824
  }
6741
6825
  }
6742
6826
  // Set @@toStringTag to native iterators
6743
- setToStringTag$2(CurrentIteratorPrototype, TO_STRING_TAG, true);
6827
+ setToStringTag$3(CurrentIteratorPrototype, TO_STRING_TAG, true);
6744
6828
  }
6745
6829
  }
6746
6830
 
@@ -6763,14 +6847,14 @@ var defineIterator$2 = function (Iterable, NAME, IteratorConstructor, next, DEFA
6763
6847
  };
6764
6848
  if (FORCED) for (KEY in methods) {
6765
6849
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
6766
- redefine$2(IterablePrototype, KEY, methods[KEY]);
6850
+ redefine$3(IterablePrototype, KEY, methods[KEY]);
6767
6851
  }
6768
- } else $$7({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
6852
+ } else $$8({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
6769
6853
  }
6770
6854
 
6771
6855
  // define iterator
6772
6856
  if (IterablePrototype[ITERATOR$3] !== defaultIterator) {
6773
- redefine$2(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT });
6857
+ redefine$3(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT });
6774
6858
  }
6775
6859
  Iterators$1[NAME] = defaultIterator;
6776
6860
 
@@ -6780,14 +6864,14 @@ var defineIterator$2 = function (Iterable, NAME, IteratorConstructor, next, DEFA
6780
6864
  var toIndexedObject$1 = toIndexedObject$8;
6781
6865
  var addToUnscopables$1 = addToUnscopables$3;
6782
6866
  var Iterators = iterators;
6783
- var InternalStateModule$3 = internalState;
6867
+ var InternalStateModule$4 = internalState;
6784
6868
  var defineProperty$1 = objectDefineProperty.f;
6785
6869
  var defineIterator$1 = defineIterator$2;
6786
6870
  var DESCRIPTORS$3 = descriptors$1;
6787
6871
 
6788
6872
  var ARRAY_ITERATOR = 'Array Iterator';
6789
- var setInternalState$3 = InternalStateModule$3.set;
6790
- var getInternalState$1 = InternalStateModule$3.getterFor(ARRAY_ITERATOR);
6873
+ var setInternalState$4 = InternalStateModule$4.set;
6874
+ var getInternalState$1 = InternalStateModule$4.getterFor(ARRAY_ITERATOR);
6791
6875
 
6792
6876
  // `Array.prototype.entries` method
6793
6877
  // https://tc39.es/ecma262/#sec-array.prototype.entries
@@ -6800,7 +6884,7 @@ var getInternalState$1 = InternalStateModule$3.getterFor(ARRAY_ITERATOR);
6800
6884
  // `CreateArrayIterator` internal method
6801
6885
  // https://tc39.es/ecma262/#sec-createarrayiterator
6802
6886
  var es_array_iterator = defineIterator$1(Array, 'Array', function (iterated, kind) {
6803
- setInternalState$3(this, {
6887
+ setInternalState$4(this, {
6804
6888
  type: ARRAY_ITERATOR,
6805
6889
  target: toIndexedObject$1(iterated), // target
6806
6890
  index: 0, // next index
@@ -6837,14 +6921,14 @@ if (DESCRIPTORS$3 && values.name !== 'values') try {
6837
6921
  defineProperty$1(values, 'name', { value: 'values' });
6838
6922
  } catch (error) { /* empty */ }
6839
6923
 
6840
- var uncurryThis$6 = functionUncurryThis;
6924
+ var uncurryThis$9 = functionUncurryThis;
6841
6925
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
6842
6926
  var toString$2 = toString$9;
6843
6927
  var requireObjectCoercible = requireObjectCoercible$4;
6844
6928
 
6845
- var charAt$4 = uncurryThis$6(''.charAt);
6846
- var charCodeAt$2 = uncurryThis$6(''.charCodeAt);
6847
- var stringSlice$2 = uncurryThis$6(''.slice);
6929
+ var charAt$4 = uncurryThis$9(''.charAt);
6930
+ var charCodeAt$2 = uncurryThis$9(''.charCodeAt);
6931
+ var stringSlice$2 = uncurryThis$9(''.slice);
6848
6932
 
6849
6933
  var createMethod$2 = function (CONVERT_TO_STRING) {
6850
6934
  return function ($this, pos) {
@@ -6876,17 +6960,17 @@ var stringMultibyte = {
6876
6960
 
6877
6961
  var charAt$3 = stringMultibyte.charAt;
6878
6962
  var toString$1 = toString$9;
6879
- var InternalStateModule$2 = internalState;
6963
+ var InternalStateModule$3 = internalState;
6880
6964
  var defineIterator = defineIterator$2;
6881
6965
 
6882
6966
  var STRING_ITERATOR = 'String Iterator';
6883
- var setInternalState$2 = InternalStateModule$2.set;
6884
- var getInternalState = InternalStateModule$2.getterFor(STRING_ITERATOR);
6967
+ var setInternalState$3 = InternalStateModule$3.set;
6968
+ var getInternalState = InternalStateModule$3.getterFor(STRING_ITERATOR);
6885
6969
 
6886
6970
  // `String.prototype[@@iterator]` method
6887
6971
  // https://tc39.es/ecma262/#sec-string.prototype-@@iterator
6888
6972
  defineIterator(String, 'String', function (iterated) {
6889
- setInternalState$2(this, {
6973
+ setInternalState$3(this, {
6890
6974
  type: STRING_ITERATOR,
6891
6975
  string: toString$1(iterated),
6892
6976
  index: 0
@@ -6904,7 +6988,7 @@ defineIterator(String, 'String', function (iterated) {
6904
6988
  return { value: point, done: false };
6905
6989
  });
6906
6990
 
6907
- var global$7 = global$T;
6991
+ var global$9 = global$V;
6908
6992
  var DOMIterables = domIterables;
6909
6993
  var DOMTokenListPrototype = domTokenListPrototype;
6910
6994
  var ArrayIteratorMethods = es_array_iterator;
@@ -6938,18 +7022,18 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
6938
7022
  };
6939
7023
 
6940
7024
  for (var COLLECTION_NAME in DOMIterables) {
6941
- handlePrototype(global$7[COLLECTION_NAME] && global$7[COLLECTION_NAME].prototype, COLLECTION_NAME);
7025
+ handlePrototype(global$9[COLLECTION_NAME] && global$9[COLLECTION_NAME].prototype, COLLECTION_NAME);
6942
7026
  }
6943
7027
 
6944
7028
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
6945
7029
 
6946
- var fails$2 = fails$v;
7030
+ var fails$3 = fails$x;
6947
7031
  var wellKnownSymbol$1 = wellKnownSymbol$j;
6948
7032
  var IS_PURE = isPure;
6949
7033
 
6950
7034
  var ITERATOR$1 = wellKnownSymbol$1('iterator');
6951
7035
 
6952
- var nativeUrl = !fails$2(function () {
7036
+ var nativeUrl = !fails$3(function () {
6953
7037
  // eslint-disable-next-line unicorn/relative-url-style -- required for testing
6954
7038
  var url = new URL('b?a=1&b=2&c=3', 'http://a');
6955
7039
  var searchParams = url.searchParams;
@@ -6978,19 +7062,19 @@ var nativeUrl = !fails$2(function () {
6978
7062
  || new URL('http://x', undefined).host !== 'x';
6979
7063
  });
6980
7064
 
6981
- var anObject$1 = anObject$e;
7065
+ var anObject$2 = anObject$f;
6982
7066
  var iteratorClose = iteratorClose$2;
6983
7067
 
6984
7068
  // call something on iterator step with safe closing on error
6985
7069
  var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
6986
7070
  try {
6987
- return ENTRIES ? fn(anObject$1(value)[0], value[1]) : fn(value);
7071
+ return ENTRIES ? fn(anObject$2(value)[0], value[1]) : fn(value);
6988
7072
  } catch (error) {
6989
7073
  iteratorClose(iterator, 'throw', error);
6990
7074
  }
6991
7075
  };
6992
7076
 
6993
- var global$6 = global$T;
7077
+ var global$8 = global$V;
6994
7078
  var bind$5 = functionBindContext;
6995
7079
  var call$1 = functionCall;
6996
7080
  var toObject$1 = toObject$9;
@@ -7002,7 +7086,7 @@ var createProperty = createProperty$3;
7002
7086
  var getIterator$1 = getIterator$3;
7003
7087
  var getIteratorMethod$1 = getIteratorMethod$4;
7004
7088
 
7005
- var Array$2 = global$6.Array;
7089
+ var Array$2 = global$8.Array;
7006
7090
 
7007
7091
  // `Array.from` method implementation
7008
7092
  // https://tc39.es/ecma262/#sec-array.from
@@ -7038,8 +7122,8 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
7038
7122
  };
7039
7123
 
7040
7124
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
7041
- var global$5 = global$T;
7042
- var uncurryThis$5 = functionUncurryThis;
7125
+ var global$7 = global$V;
7126
+ var uncurryThis$8 = functionUncurryThis;
7043
7127
 
7044
7128
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
7045
7129
  var base = 36;
@@ -7055,16 +7139,16 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
7055
7139
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
7056
7140
  var baseMinusTMin = base - tMin;
7057
7141
 
7058
- var RangeError = global$5.RangeError;
7059
- var exec$2 = uncurryThis$5(regexSeparators.exec);
7142
+ var RangeError = global$7.RangeError;
7143
+ var exec$2 = uncurryThis$8(regexSeparators.exec);
7060
7144
  var floor$1 = Math.floor;
7061
7145
  var fromCharCode = String.fromCharCode;
7062
- var charCodeAt$1 = uncurryThis$5(''.charCodeAt);
7063
- var join$2 = uncurryThis$5([].join);
7064
- var push$4 = uncurryThis$5([].push);
7065
- var replace$4 = uncurryThis$5(''.replace);
7066
- var split$3 = uncurryThis$5(''.split);
7067
- var toLowerCase$1 = uncurryThis$5(''.toLowerCase);
7146
+ var charCodeAt$1 = uncurryThis$8(''.charCodeAt);
7147
+ var join$2 = uncurryThis$8([].join);
7148
+ var push$4 = uncurryThis$8([].push);
7149
+ var replace$4 = uncurryThis$8(''.replace);
7150
+ var split$3 = uncurryThis$8(''.split);
7151
+ var toLowerCase$1 = uncurryThis$8(''.toLowerCase);
7068
7152
 
7069
7153
  /**
7070
7154
  * Creates an array containing the numeric code points of each Unicode
@@ -7221,24 +7305,24 @@ var stringPunycodeToAscii = function (input) {
7221
7305
 
7222
7306
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
7223
7307
 
7224
- var $$6 = _export;
7225
- var global$4 = global$T;
7308
+ var $$7 = _export;
7309
+ var global$6 = global$V;
7226
7310
  var getBuiltIn$1 = getBuiltIn$a;
7227
7311
  var call = functionCall;
7228
- var uncurryThis$4 = functionUncurryThis;
7312
+ var uncurryThis$7 = functionUncurryThis;
7229
7313
  var USE_NATIVE_URL$1 = nativeUrl;
7230
- var redefine$1 = redefine$a.exports;
7231
- var redefineAll = redefineAll$2;
7232
- var setToStringTag$1 = setToStringTag$5;
7314
+ var redefine$2 = redefine$b.exports;
7315
+ var redefineAll$2 = redefineAll$4;
7316
+ var setToStringTag$2 = setToStringTag$6;
7233
7317
  var createIteratorConstructor = createIteratorConstructor$2;
7234
- var InternalStateModule$1 = internalState;
7235
- var anInstance$1 = anInstance$3;
7236
- var isCallable = isCallable$k;
7237
- var hasOwn$1 = hasOwnProperty_1;
7318
+ var InternalStateModule$2 = internalState;
7319
+ var anInstance$3 = anInstance$5;
7320
+ var isCallable$1 = isCallable$l;
7321
+ var hasOwn$2 = hasOwnProperty_1;
7238
7322
  var bind$4 = functionBindContext;
7239
7323
  var classof = classof$7;
7240
- var anObject = anObject$e;
7241
- var isObject$1 = isObject$h;
7324
+ var anObject$1 = anObject$f;
7325
+ var isObject$4 = isObject$l;
7242
7326
  var $toString$1 = toString$9;
7243
7327
  var create = objectCreate;
7244
7328
  var createPropertyDescriptor = createPropertyDescriptor$6;
@@ -7251,27 +7335,27 @@ var arraySort = arraySort$1;
7251
7335
  var ITERATOR = wellKnownSymbol('iterator');
7252
7336
  var URL_SEARCH_PARAMS = 'URLSearchParams';
7253
7337
  var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
7254
- var setInternalState$1 = InternalStateModule$1.set;
7255
- var getInternalParamsState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS);
7256
- var getInternalIteratorState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR);
7338
+ var setInternalState$2 = InternalStateModule$2.set;
7339
+ var getInternalParamsState = InternalStateModule$2.getterFor(URL_SEARCH_PARAMS);
7340
+ var getInternalIteratorState = InternalStateModule$2.getterFor(URL_SEARCH_PARAMS_ITERATOR);
7257
7341
 
7258
7342
  var n$Fetch = getBuiltIn$1('fetch');
7259
7343
  var N$Request = getBuiltIn$1('Request');
7260
7344
  var Headers = getBuiltIn$1('Headers');
7261
7345
  var RequestPrototype = N$Request && N$Request.prototype;
7262
7346
  var HeadersPrototype = Headers && Headers.prototype;
7263
- var RegExp$1 = global$4.RegExp;
7264
- var TypeError$3 = global$4.TypeError;
7265
- var decodeURIComponent$1 = global$4.decodeURIComponent;
7266
- var encodeURIComponent$1 = global$4.encodeURIComponent;
7267
- var charAt$2 = uncurryThis$4(''.charAt);
7268
- var join$1 = uncurryThis$4([].join);
7269
- var push$3 = uncurryThis$4([].push);
7270
- var replace$3 = uncurryThis$4(''.replace);
7271
- var shift$1 = uncurryThis$4([].shift);
7272
- var splice = uncurryThis$4([].splice);
7273
- var split$2 = uncurryThis$4(''.split);
7274
- var stringSlice$1 = uncurryThis$4(''.slice);
7347
+ var RegExp$1 = global$6.RegExp;
7348
+ var TypeError$3 = global$6.TypeError;
7349
+ var decodeURIComponent$1 = global$6.decodeURIComponent;
7350
+ var encodeURIComponent$1 = global$6.encodeURIComponent;
7351
+ var charAt$2 = uncurryThis$7(''.charAt);
7352
+ var join$1 = uncurryThis$7([].join);
7353
+ var push$3 = uncurryThis$7([].push);
7354
+ var replace$3 = uncurryThis$7(''.replace);
7355
+ var shift$1 = uncurryThis$7([].shift);
7356
+ var splice$1 = uncurryThis$7([].splice);
7357
+ var split$2 = uncurryThis$7(''.split);
7358
+ var stringSlice$1 = uncurryThis$7(''.slice);
7275
7359
 
7276
7360
  var plus = /\+/g;
7277
7361
  var sequences = Array(4);
@@ -7301,7 +7385,7 @@ var deserialize = function (it) {
7301
7385
  }
7302
7386
  };
7303
7387
 
7304
- var find = /[!'()~]|%20/g;
7388
+ var find$1 = /[!'()~]|%20/g;
7305
7389
 
7306
7390
  var replacements = {
7307
7391
  '!': '%21',
@@ -7317,11 +7401,11 @@ var replacer = function (match) {
7317
7401
  };
7318
7402
 
7319
7403
  var serialize = function (it) {
7320
- return replace$3(encodeURIComponent$1(it), find, replacer);
7404
+ return replace$3(encodeURIComponent$1(it), find$1, replacer);
7321
7405
  };
7322
7406
 
7323
7407
  var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
7324
- setInternalState$1(this, {
7408
+ setInternalState$2(this, {
7325
7409
  type: URL_SEARCH_PARAMS_ITERATOR,
7326
7410
  iterator: getIterator(getInternalParamsState(params).entries),
7327
7411
  kind: kind
@@ -7341,7 +7425,7 @@ var URLSearchParamsState = function (init) {
7341
7425
  this.url = null;
7342
7426
 
7343
7427
  if (init !== undefined) {
7344
- if (isObject$1(init)) this.parseObject(init);
7428
+ if (isObject$4(init)) this.parseObject(init);
7345
7429
  else this.parseQuery(typeof init == 'string' ? charAt$2(init, 0) === '?' ? stringSlice$1(init, 1) : init : $toString$1(init));
7346
7430
  }
7347
7431
  };
@@ -7360,7 +7444,7 @@ URLSearchParamsState.prototype = {
7360
7444
  iterator = getIterator(object, iteratorMethod);
7361
7445
  next = iterator.next;
7362
7446
  while (!(step = call(next, iterator)).done) {
7363
- entryIterator = getIterator(anObject(step.value));
7447
+ entryIterator = getIterator(anObject$1(step.value));
7364
7448
  entryNext = entryIterator.next;
7365
7449
  if (
7366
7450
  (first = call(entryNext, entryIterator)).done ||
@@ -7369,7 +7453,7 @@ URLSearchParamsState.prototype = {
7369
7453
  ) throw TypeError$3('Expected sequence with length 2');
7370
7454
  push$3(this.entries, { key: $toString$1(first.value), value: $toString$1(second.value) });
7371
7455
  }
7372
- } else for (var key in object) if (hasOwn$1(object, key)) {
7456
+ } else for (var key in object) if (hasOwn$2(object, key)) {
7373
7457
  push$3(this.entries, { key: key, value: $toString$1(object[key]) });
7374
7458
  }
7375
7459
  },
@@ -7412,14 +7496,14 @@ URLSearchParamsState.prototype = {
7412
7496
  // `URLSearchParams` constructor
7413
7497
  // https://url.spec.whatwg.org/#interface-urlsearchparams
7414
7498
  var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
7415
- anInstance$1(this, URLSearchParamsPrototype);
7499
+ anInstance$3(this, URLSearchParamsPrototype);
7416
7500
  var init = arguments.length > 0 ? arguments[0] : undefined;
7417
- setInternalState$1(this, new URLSearchParamsState(init));
7501
+ setInternalState$2(this, new URLSearchParamsState(init));
7418
7502
  };
7419
7503
 
7420
7504
  var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
7421
7505
 
7422
- redefineAll(URLSearchParamsPrototype, {
7506
+ redefineAll$2(URLSearchParamsPrototype, {
7423
7507
  // `URLSearchParams.prototype.append` method
7424
7508
  // https://url.spec.whatwg.org/#dom-urlsearchparams-append
7425
7509
  append: function append(name, value) {
@@ -7437,7 +7521,7 @@ redefineAll(URLSearchParamsPrototype, {
7437
7521
  var key = $toString$1(name);
7438
7522
  var index = 0;
7439
7523
  while (index < entries.length) {
7440
- if (entries[index].key === key) splice(entries, index, 1);
7524
+ if (entries[index].key === key) splice$1(entries, index, 1);
7441
7525
  else index++;
7442
7526
  }
7443
7527
  state.updateURL();
@@ -7493,7 +7577,7 @@ redefineAll(URLSearchParamsPrototype, {
7493
7577
  for (; index < entries.length; index++) {
7494
7578
  entry = entries[index];
7495
7579
  if (entry.key === key) {
7496
- if (found) splice(entries, index--, 1);
7580
+ if (found) splice$1(entries, index--, 1);
7497
7581
  else {
7498
7582
  found = true;
7499
7583
  entry.value = val;
@@ -7538,27 +7622,27 @@ redefineAll(URLSearchParamsPrototype, {
7538
7622
  }, { enumerable: true });
7539
7623
 
7540
7624
  // `URLSearchParams.prototype[@@iterator]` method
7541
- redefine$1(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });
7625
+ redefine$2(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });
7542
7626
 
7543
7627
  // `URLSearchParams.prototype.toString` method
7544
7628
  // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
7545
- redefine$1(URLSearchParamsPrototype, 'toString', function toString() {
7629
+ redefine$2(URLSearchParamsPrototype, 'toString', function toString() {
7546
7630
  return getInternalParamsState(this).serialize();
7547
7631
  }, { enumerable: true });
7548
7632
 
7549
- setToStringTag$1(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
7633
+ setToStringTag$2(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
7550
7634
 
7551
- $$6({ global: true, forced: !USE_NATIVE_URL$1 }, {
7635
+ $$7({ global: true, forced: !USE_NATIVE_URL$1 }, {
7552
7636
  URLSearchParams: URLSearchParamsConstructor
7553
7637
  });
7554
7638
 
7555
7639
  // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
7556
- if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
7557
- var headersHas = uncurryThis$4(HeadersPrototype.has);
7558
- var headersSet = uncurryThis$4(HeadersPrototype.set);
7640
+ if (!USE_NATIVE_URL$1 && isCallable$1(Headers)) {
7641
+ var headersHas = uncurryThis$7(HeadersPrototype.has);
7642
+ var headersSet = uncurryThis$7(HeadersPrototype.set);
7559
7643
 
7560
7644
  var wrapRequestOptions = function (init) {
7561
- if (isObject$1(init)) {
7645
+ if (isObject$4(init)) {
7562
7646
  var body = init.body;
7563
7647
  var headers;
7564
7648
  if (classof(body) === URL_SEARCH_PARAMS) {
@@ -7574,24 +7658,24 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
7574
7658
  } return init;
7575
7659
  };
7576
7660
 
7577
- if (isCallable(n$Fetch)) {
7578
- $$6({ global: true, enumerable: true, forced: true }, {
7661
+ if (isCallable$1(n$Fetch)) {
7662
+ $$7({ global: true, enumerable: true, forced: true }, {
7579
7663
  fetch: function fetch(input /* , init */) {
7580
7664
  return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
7581
7665
  }
7582
7666
  });
7583
7667
  }
7584
7668
 
7585
- if (isCallable(N$Request)) {
7669
+ if (isCallable$1(N$Request)) {
7586
7670
  var RequestConstructor = function Request(input /* , init */) {
7587
- anInstance$1(this, RequestPrototype);
7671
+ anInstance$3(this, RequestPrototype);
7588
7672
  return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
7589
7673
  };
7590
7674
 
7591
7675
  RequestPrototype.constructor = RequestConstructor;
7592
7676
  RequestConstructor.prototype = RequestPrototype;
7593
7677
 
7594
- $$6({ global: true, forced: true }, {
7678
+ $$7({ global: true, forced: true }, {
7595
7679
  Request: RequestConstructor
7596
7680
  });
7597
7681
  }
@@ -7604,49 +7688,49 @@ var web_urlSearchParams = {
7604
7688
 
7605
7689
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
7606
7690
 
7607
- var $$5 = _export;
7691
+ var $$6 = _export;
7608
7692
  var DESCRIPTORS$2 = descriptors$1;
7609
7693
  var USE_NATIVE_URL = nativeUrl;
7610
- var global$3 = global$T;
7694
+ var global$5 = global$V;
7611
7695
  var bind$3 = functionBindContext;
7612
- var uncurryThis$3 = functionUncurryThis;
7696
+ var uncurryThis$6 = functionUncurryThis;
7613
7697
  var defineProperties = objectDefineProperties.f;
7614
- var redefine = redefine$a.exports;
7615
- var anInstance = anInstance$3;
7616
- var hasOwn = hasOwnProperty_1;
7698
+ var redefine$1 = redefine$b.exports;
7699
+ var anInstance$2 = anInstance$5;
7700
+ var hasOwn$1 = hasOwnProperty_1;
7617
7701
  var assign$1 = objectAssign;
7618
7702
  var arrayFrom = arrayFrom$1;
7619
7703
  var arraySlice = arraySliceSimple;
7620
7704
  var codeAt = stringMultibyte.codeAt;
7621
7705
  var toASCII = stringPunycodeToAscii;
7622
7706
  var $toString = toString$9;
7623
- var setToStringTag = setToStringTag$5;
7707
+ var setToStringTag$1 = setToStringTag$6;
7624
7708
  var validateArgumentsLength = validateArgumentsLength$3;
7625
7709
  var URLSearchParamsModule = web_urlSearchParams;
7626
- var InternalStateModule = internalState;
7710
+ var InternalStateModule$1 = internalState;
7627
7711
 
7628
- var setInternalState = InternalStateModule.set;
7629
- var getInternalURLState = InternalStateModule.getterFor('URL');
7712
+ var setInternalState$1 = InternalStateModule$1.set;
7713
+ var getInternalURLState = InternalStateModule$1.getterFor('URL');
7630
7714
  var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams;
7631
7715
  var getInternalSearchParamsState = URLSearchParamsModule.getState;
7632
7716
 
7633
- var NativeURL = global$3.URL;
7634
- var TypeError$2 = global$3.TypeError;
7635
- var parseInt$1 = global$3.parseInt;
7717
+ var NativeURL = global$5.URL;
7718
+ var TypeError$2 = global$5.TypeError;
7719
+ var parseInt$1 = global$5.parseInt;
7636
7720
  var floor = Math.floor;
7637
7721
  var pow = Math.pow;
7638
- var charAt$1 = uncurryThis$3(''.charAt);
7639
- var exec$1 = uncurryThis$3(/./.exec);
7640
- var join = uncurryThis$3([].join);
7641
- var numberToString$1 = uncurryThis$3(1.0.toString);
7642
- var pop = uncurryThis$3([].pop);
7643
- var push$2 = uncurryThis$3([].push);
7644
- var replace$2 = uncurryThis$3(''.replace);
7645
- var shift = uncurryThis$3([].shift);
7646
- var split$1 = uncurryThis$3(''.split);
7647
- var stringSlice = uncurryThis$3(''.slice);
7648
- var toLowerCase = uncurryThis$3(''.toLowerCase);
7649
- var unshift = uncurryThis$3([].unshift);
7722
+ var charAt$1 = uncurryThis$6(''.charAt);
7723
+ var exec$1 = uncurryThis$6(/./.exec);
7724
+ var join = uncurryThis$6([].join);
7725
+ var numberToString$1 = uncurryThis$6(1.0.toString);
7726
+ var pop = uncurryThis$6([].pop);
7727
+ var push$2 = uncurryThis$6([].push);
7728
+ var replace$2 = uncurryThis$6(''.replace);
7729
+ var shift = uncurryThis$6([].shift);
7730
+ var split$1 = uncurryThis$6(''.split);
7731
+ var stringSlice = uncurryThis$6(''.slice);
7732
+ var toLowerCase = uncurryThis$6(''.toLowerCase);
7733
+ var unshift = uncurryThis$6([].unshift);
7650
7734
 
7651
7735
  var INVALID_AUTHORITY = 'Invalid authority';
7652
7736
  var INVALID_SCHEME = 'Invalid scheme';
@@ -7854,7 +7938,7 @@ var userinfoPercentEncodeSet = assign$1({}, pathPercentEncodeSet, {
7854
7938
 
7855
7939
  var percentEncode = function (chr, set) {
7856
7940
  var code = codeAt(chr, 0);
7857
- return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);
7941
+ return code > 0x20 && code < 0x7F && !hasOwn$1(set, chr) ? chr : encodeURIComponent(chr);
7858
7942
  };
7859
7943
 
7860
7944
  // https://url.spec.whatwg.org/#special-scheme
@@ -7985,7 +8069,7 @@ URLState.prototype = {
7985
8069
  buffer += toLowerCase(chr);
7986
8070
  } else if (chr == ':') {
7987
8071
  if (stateOverride && (
7988
- (url.isSpecial() != hasOwn(specialSchemes, buffer)) ||
8072
+ (url.isSpecial() != hasOwn$1(specialSchemes, buffer)) ||
7989
8073
  (buffer == 'file' && (url.includesCredentials() || url.port !== null)) ||
7990
8074
  (url.scheme == 'file' && !url.host)
7991
8075
  )) return;
@@ -8373,7 +8457,7 @@ URLState.prototype = {
8373
8457
  },
8374
8458
  // https://url.spec.whatwg.org/#is-special
8375
8459
  isSpecial: function () {
8376
- return hasOwn(specialSchemes, this.scheme);
8460
+ return hasOwn$1(specialSchemes, this.scheme);
8377
8461
  },
8378
8462
  // https://url.spec.whatwg.org/#shorten-a-urls-path
8379
8463
  shortenPath: function () {
@@ -8542,9 +8626,9 @@ URLState.prototype = {
8542
8626
  // `URL` constructor
8543
8627
  // https://url.spec.whatwg.org/#url-class
8544
8628
  var URLConstructor = function URL(url /* , base */) {
8545
- var that = anInstance(this, URLPrototype);
8629
+ var that = anInstance$2(this, URLPrototype);
8546
8630
  var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
8547
- var state = setInternalState(that, new URLState(url, false, base));
8631
+ var state = setInternalState$1(that, new URLState(url, false, base));
8548
8632
  if (!DESCRIPTORS$2) {
8549
8633
  that.href = state.serialize();
8550
8634
  that.origin = state.getOrigin();
@@ -8619,13 +8703,13 @@ if (DESCRIPTORS$2) {
8619
8703
 
8620
8704
  // `URL.prototype.toJSON` method
8621
8705
  // https://url.spec.whatwg.org/#dom-url-tojson
8622
- redefine(URLPrototype, 'toJSON', function toJSON() {
8706
+ redefine$1(URLPrototype, 'toJSON', function toJSON() {
8623
8707
  return getInternalURLState(this).serialize();
8624
8708
  }, { enumerable: true });
8625
8709
 
8626
8710
  // `URL.prototype.toString` method
8627
8711
  // https://url.spec.whatwg.org/#URL-stringification-behavior
8628
- redefine(URLPrototype, 'toString', function toString() {
8712
+ redefine$1(URLPrototype, 'toString', function toString() {
8629
8713
  return getInternalURLState(this).serialize();
8630
8714
  }, { enumerable: true });
8631
8715
 
@@ -8634,15 +8718,15 @@ if (NativeURL) {
8634
8718
  var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
8635
8719
  // `URL.createObjectURL` method
8636
8720
  // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
8637
- if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', bind$3(nativeCreateObjectURL, NativeURL));
8721
+ if (nativeCreateObjectURL) redefine$1(URLConstructor, 'createObjectURL', bind$3(nativeCreateObjectURL, NativeURL));
8638
8722
  // `URL.revokeObjectURL` method
8639
8723
  // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
8640
- if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', bind$3(nativeRevokeObjectURL, NativeURL));
8724
+ if (nativeRevokeObjectURL) redefine$1(URLConstructor, 'revokeObjectURL', bind$3(nativeRevokeObjectURL, NativeURL));
8641
8725
  }
8642
8726
 
8643
- setToStringTag(URLConstructor, 'URL');
8727
+ setToStringTag$1(URLConstructor, 'URL');
8644
8728
 
8645
- $$5({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
8729
+ $$6({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
8646
8730
  URL: URLConstructor
8647
8731
  });
8648
8732
 
@@ -8759,7 +8843,7 @@ function isNumber(val) {
8759
8843
  * @param {Object} val The value to test
8760
8844
  * @returns {boolean} True if value is an Object, otherwise false
8761
8845
  */
8762
- function isObject(val) {
8846
+ function isObject$3(val) {
8763
8847
  return val !== null && typeof val === 'object';
8764
8848
  }
8765
8849
 
@@ -8841,7 +8925,7 @@ function isFunction(val) {
8841
8925
  * @returns {boolean} True if value is a Stream, otherwise false
8842
8926
  */
8843
8927
  function isStream(val) {
8844
- return isObject(val) && isFunction(val.pipe);
8928
+ return isObject$3(val) && isFunction(val.pipe);
8845
8929
  }
8846
8930
 
8847
8931
  /**
@@ -9145,7 +9229,7 @@ var utils$m = {
9145
9229
  isArrayBufferView: isArrayBufferView,
9146
9230
  isString: isString,
9147
9231
  isNumber: isNumber,
9148
- isObject: isObject,
9232
+ isObject: isObject$3,
9149
9233
  isPlainObject: isPlainObject,
9150
9234
  isEmptyObject: isEmptyObject,
9151
9235
  isUndefined: isUndefined,
@@ -11928,13 +12012,13 @@ var lib = {
11928
12012
  stringify: stringify
11929
12013
  };
11930
12014
 
11931
- var global$2 = global$T;
12015
+ var global$4 = global$V;
11932
12016
  var aCallable = aCallable$7;
11933
12017
  var toObject = toObject$9;
11934
12018
  var IndexedObject = indexedObject;
11935
12019
  var lengthOfArrayLike = lengthOfArrayLike$8;
11936
12020
 
11937
- var TypeError$1 = global$2.TypeError;
12021
+ var TypeError$1 = global$4.TypeError;
11938
12022
 
11939
12023
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
11940
12024
  var createMethod$1 = function (IS_RIGHT) {
@@ -11972,7 +12056,7 @@ var arrayReduce = {
11972
12056
  right: createMethod$1(true)
11973
12057
  };
11974
12058
 
11975
- var $$4 = _export;
12059
+ var $$5 = _export;
11976
12060
  var $reduce = arrayReduce.left;
11977
12061
  var arrayMethodIsStrict = arrayMethodIsStrict$4;
11978
12062
  var CHROME_VERSION = engineV8Version;
@@ -11985,7 +12069,7 @@ var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;
11985
12069
 
11986
12070
  // `Array.prototype.reduce` method
11987
12071
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
11988
- $$4({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
12072
+ $$5({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
11989
12073
  reduce: function reduce(callbackfn /* , initialValue */) {
11990
12074
  var length = arguments.length;
11991
12075
  return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
@@ -12390,20 +12474,7 @@ var GooglePayAPI = {
12390
12474
  return axiosInstance.post(url, urlEncodedParams, {
12391
12475
  headers: headers
12392
12476
  }).then(function (response) {
12393
- var _raw$data;
12394
- var raw = response.data;
12395
- /*
12396
- * A googlepay step-up is always 3DS, but the charge response can omit
12397
- * the `auth` field the shared parser routes on — without it an auth
12398
- * response falls through to error(). Default it so the response
12399
- * normalizes through auth() exactly like card's.
12400
- */
12401
- if ((raw === null || raw === void 0 ? void 0 : raw.status) === 'auth' && !raw.auth && !((_raw$data = raw.data) !== null && _raw$data !== void 0 && _raw$data.auth)) {
12402
- return ChargeResponses.parse(_objectSpread2(_objectSpread2({}, raw), {}, {
12403
- auth: '3DS'
12404
- }));
12405
- }
12406
- return ChargeResponses.parse(raw);
12477
+ return ChargeResponses.parse(response.data);
12407
12478
  });
12408
12479
  }
12409
12480
  };
@@ -12502,13 +12573,13 @@ var PayPalCharge = {
12502
12573
 
12503
12574
  var DESCRIPTORS$1 = descriptors$1;
12504
12575
  var FUNCTION_NAME_EXISTS = functionName.EXISTS;
12505
- var uncurryThis$2 = functionUncurryThis;
12576
+ var uncurryThis$5 = functionUncurryThis;
12506
12577
  var defineProperty = objectDefineProperty.f;
12507
12578
 
12508
12579
  var FunctionPrototype = Function.prototype;
12509
- var functionToString = uncurryThis$2(FunctionPrototype.toString);
12580
+ var functionToString = uncurryThis$5(FunctionPrototype.toString);
12510
12581
  var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
12511
- var regExpExec = uncurryThis$2(nameRE.exec);
12582
+ var regExpExec = uncurryThis$5(nameRE.exec);
12512
12583
  var NAME = 'name';
12513
12584
 
12514
12585
  // Function instances `.name` property
@@ -17902,13 +17973,13 @@ function encrypt(toEncrypt) {
17902
17973
  }
17903
17974
 
17904
17975
  var DESCRIPTORS = descriptors$1;
17905
- var uncurryThis$1 = functionUncurryThis;
17976
+ var uncurryThis$4 = functionUncurryThis;
17906
17977
  var objectKeys = objectKeys$3;
17907
17978
  var toIndexedObject = toIndexedObject$8;
17908
17979
  var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
17909
17980
 
17910
- var propertyIsEnumerable = uncurryThis$1($propertyIsEnumerable);
17911
- var push = uncurryThis$1([].push);
17981
+ var propertyIsEnumerable = uncurryThis$4($propertyIsEnumerable);
17982
+ var push = uncurryThis$4([].push);
17912
17983
 
17913
17984
  // `Object.{ entries, values }` methods implementation
17914
17985
  var createMethod = function (TO_ENTRIES) {
@@ -17938,18 +18009,18 @@ var objectToArray = {
17938
18009
  values: createMethod(false)
17939
18010
  };
17940
18011
 
17941
- var $$3 = _export;
18012
+ var $$4 = _export;
17942
18013
  var $values = objectToArray.values;
17943
18014
 
17944
18015
  // `Object.values` method
17945
18016
  // https://tc39.es/ecma262/#sec-object.values
17946
- $$3({ target: 'Object', stat: true }, {
18017
+ $$4({ target: 'Object', stat: true }, {
17947
18018
  values: function values(O) {
17948
18019
  return $values(O);
17949
18020
  }
17950
18021
  });
17951
18022
 
17952
- var $$2 = _export;
18023
+ var $$3 = _export;
17953
18024
  var $find = arrayIteration.find;
17954
18025
  var addToUnscopables = addToUnscopables$3;
17955
18026
 
@@ -17961,7 +18032,7 @@ if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
17961
18032
 
17962
18033
  // `Array.prototype.find` method
17963
18034
  // https://tc39.es/ecma262/#sec-array.prototype.find
17964
- $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
18035
+ $$3({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
17965
18036
  find: function find(callbackfn /* , that = undefined */) {
17966
18037
  return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
17967
18038
  }
@@ -20395,6 +20466,10 @@ var MobileMoneyAPI = {
20395
20466
  }
20396
20467
  };
20397
20468
 
20469
+ // Statuses that leave the transaction with a Pusher channel worth listening on.
20470
+ // `awaiting_ussd_confirmation` is mid-flight, not settled, but still carries the
20471
+ // `channel_name` the outcome arrives on.
20472
+ var LISTENABLE_CHARGE_STATUSES = ['success', 'awaiting_ussd_confirmation'];
20398
20473
  function validate$1(phoneNumber) {
20399
20474
  return new Promise(function (resolve, reject) {
20400
20475
  var validation = PhoneNumber.validate(phoneNumber);
@@ -20433,10 +20508,14 @@ function buildMobileMoneyParams(payload) {
20433
20508
  var MobileMoneyCharge = {
20434
20509
  mobileMoneyChargeAPI: function mobileMoneyChargeAPI(params) {
20435
20510
  var _this = this;
20511
+ // Cleared before the request, not in the handler: the API layer's .catch
20512
+ // destructures `response`, which a network error lacks, so it throws and no
20513
+ // handler runs.
20514
+ this.mobileMoney = {};
20436
20515
  return MobileMoneyAPI.charge(params).then(function (response) {
20437
- if (response.status === 'success') {
20516
+ if (LISTENABLE_CHARGE_STATUSES.includes(response.status)) {
20438
20517
  _this.mobileMoney = response;
20439
- if (response.data && response.data.display && response.data.display.otpSentCount === 1) {
20518
+ if (response.status === 'success' && response.data && response.data.display && response.data.display.otpSentCount === 1) {
20440
20519
  _this.logTokenRequest('mobile money');
20441
20520
  }
20442
20521
  }
@@ -20485,10 +20564,13 @@ var MobileMoneyCharge = {
20485
20564
  id: _this3.id,
20486
20565
  deviceFingerprint: _this3.deviceFingerprint
20487
20566
  });
20567
+
20568
+ // Cleared before the request, as in mobileMoneyChargeAPI above.
20569
+ _this3.mobileMoney = {};
20488
20570
  return MobileMoneyAPI.charge(params).then(function (response) {
20489
- if (response.status === 'success') {
20571
+ if (LISTENABLE_CHARGE_STATUSES.includes(response.status)) {
20490
20572
  _this3.mobileMoney = response;
20491
- if (response.data && response.data.display && response.data.display.otpSentCount === 1) {
20573
+ if (response.status === 'success' && response.data && response.data.display && response.data.display.otpSentCount === 1) {
20492
20574
  _this3.logTokenRequest('mobile money');
20493
20575
  }
20494
20576
  } else if (response.errors && response.errors.data && response.errors.data.status === 'awaiting_registration_token') {
@@ -20511,17 +20593,33 @@ var MobileMoneyCharge = {
20511
20593
  });
20512
20594
  },
20513
20595
  listenForMobileMoneyCharge: function listenForMobileMoneyCharge(callback) {
20514
- if (this.mobileMoney.status !== 'success') {
20596
+ var _ref2 = this.mobileMoney.data || {},
20597
+ channel = _ref2.channel,
20598
+ channelName = _ref2.channel_name;
20599
+ var listenerChannel = channel || channelName;
20600
+ if (!LISTENABLE_CHARGE_STATUSES.includes(this.mobileMoney.status) || !listenerChannel) {
20515
20601
  return Promise.reject(Error('Please start a mobile money charge with Transaction.chargeMobileMoney()'));
20516
20602
  }
20517
- var _this$mobileMoney$dat = this.mobileMoney.data,
20518
- channel = _this$mobileMoney$dat.channel,
20519
- channelName = _this$mobileMoney$dat.channel_name;
20520
20603
  var listenerOptions = {
20521
- channel: channel || channelName,
20604
+ channel: listenerChannel,
20522
20605
  paymentMethod: 'mobile_money'
20523
20606
  };
20524
20607
  return this.listenForCharge(listenerOptions, callback);
20608
+ },
20609
+ // Unlike every sibling listener, this returns a teardown function rather than a
20610
+ // promise, so it throws synchronously instead of rejecting. A caller in a
20611
+ // non-async event handler gets an uncaught throw, not an unhandled rejection.
20612
+ listenForMobileMoneyConfirmation: function listenForMobileMoneyConfirmation(callback, pusherChannel) {
20613
+ var data = this.mobileMoney.data;
20614
+ var confirmationChannel = pusherChannel || data && data.confirm_channel_name;
20615
+ if (!confirmationChannel) {
20616
+ throw new Error('Please provide the confirm_channel_name returned by Transaction.chargeMobileMoney()');
20617
+ }
20618
+ var listenerOptions = {
20619
+ channel: confirmationChannel,
20620
+ paymentMethod: 'mobile_money'
20621
+ };
20622
+ return subscribeToConfirmationEvents(listenerOptions, this, callback);
20525
20623
  }
20526
20624
  };
20527
20625
 
@@ -20682,7 +20780,7 @@ var DirectDebitCharge = {
20682
20780
  };
20683
20781
 
20684
20782
  var PROPER_FUNCTION_NAME = functionName.PROPER;
20685
- var fails$1 = fails$v;
20783
+ var fails$2 = fails$x;
20686
20784
  var whitespaces = whitespaces$3;
20687
20785
 
20688
20786
  var non = '\u200B\u0085\u180E';
@@ -20690,20 +20788,20 @@ var non = '\u200B\u0085\u180E';
20690
20788
  // check that a method works with the correct list
20691
20789
  // of whitespaces and has a correct name
20692
20790
  var stringTrimForced = function (METHOD_NAME) {
20693
- return fails$1(function () {
20791
+ return fails$2(function () {
20694
20792
  return !!whitespaces[METHOD_NAME]()
20695
20793
  || non[METHOD_NAME]() !== non
20696
20794
  || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
20697
20795
  });
20698
20796
  };
20699
20797
 
20700
- var $$1 = _export;
20798
+ var $$2 = _export;
20701
20799
  var $trim = stringTrim.trim;
20702
20800
  var forcedStringTrimMethod = stringTrimForced;
20703
20801
 
20704
20802
  // `String.prototype.trim` method
20705
20803
  // https://tc39.es/ecma262/#sec-string.prototype.trim
20706
- $$1({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
20804
+ $$2({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
20707
20805
  trim: function trim() {
20708
20806
  return $trim(this);
20709
20807
  }
@@ -20942,6 +21040,456 @@ var InstalmentsCharge = {
20942
21040
  }
20943
21041
  };
20944
21042
 
21043
+ var $$1 = _export;
21044
+ var global$3 = global$V;
21045
+ var uncurryThis$3 = functionUncurryThis;
21046
+ var isForced = isForced_1;
21047
+ var redefine = redefine$b.exports;
21048
+ var InternalMetadataModule$1 = internalMetadata.exports;
21049
+ var iterate$1 = iterate$3;
21050
+ var anInstance$1 = anInstance$5;
21051
+ var isCallable = isCallable$l;
21052
+ var isObject$2 = isObject$l;
21053
+ var fails$1 = fails$x;
21054
+ var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
21055
+ var setToStringTag = setToStringTag$6;
21056
+ var inheritIfRequired = inheritIfRequired$3;
21057
+
21058
+ var collection$1 = function (CONSTRUCTOR_NAME, wrapper, common) {
21059
+ var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
21060
+ var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
21061
+ var ADDER = IS_MAP ? 'set' : 'add';
21062
+ var NativeConstructor = global$3[CONSTRUCTOR_NAME];
21063
+ var NativePrototype = NativeConstructor && NativeConstructor.prototype;
21064
+ var Constructor = NativeConstructor;
21065
+ var exported = {};
21066
+
21067
+ var fixMethod = function (KEY) {
21068
+ var uncurriedNativeMethod = uncurryThis$3(NativePrototype[KEY]);
21069
+ redefine(NativePrototype, KEY,
21070
+ KEY == 'add' ? function add(value) {
21071
+ uncurriedNativeMethod(this, value === 0 ? 0 : value);
21072
+ return this;
21073
+ } : KEY == 'delete' ? function (key) {
21074
+ return IS_WEAK && !isObject$2(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
21075
+ } : KEY == 'get' ? function get(key) {
21076
+ return IS_WEAK && !isObject$2(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
21077
+ } : KEY == 'has' ? function has(key) {
21078
+ return IS_WEAK && !isObject$2(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
21079
+ } : function set(key, value) {
21080
+ uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
21081
+ return this;
21082
+ }
21083
+ );
21084
+ };
21085
+
21086
+ var REPLACE = isForced(
21087
+ CONSTRUCTOR_NAME,
21088
+ !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$1(function () {
21089
+ new NativeConstructor().entries().next();
21090
+ }))
21091
+ );
21092
+
21093
+ if (REPLACE) {
21094
+ // create collection constructor
21095
+ Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
21096
+ InternalMetadataModule$1.enable();
21097
+ } else if (isForced(CONSTRUCTOR_NAME, true)) {
21098
+ var instance = new Constructor();
21099
+ // early implementations not supports chaining
21100
+ var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
21101
+ // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
21102
+ var THROWS_ON_PRIMITIVES = fails$1(function () { instance.has(1); });
21103
+ // most early implementations doesn't supports iterables, most modern - not close it correctly
21104
+ // eslint-disable-next-line no-new -- required for testing
21105
+ var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });
21106
+ // for early implementations -0 and +0 not the same
21107
+ var BUGGY_ZERO = !IS_WEAK && fails$1(function () {
21108
+ // V8 ~ Chromium 42- fails only with 5+ elements
21109
+ var $instance = new NativeConstructor();
21110
+ var index = 5;
21111
+ while (index--) $instance[ADDER](index, index);
21112
+ return !$instance.has(-0);
21113
+ });
21114
+
21115
+ if (!ACCEPT_ITERABLES) {
21116
+ Constructor = wrapper(function (dummy, iterable) {
21117
+ anInstance$1(dummy, NativePrototype);
21118
+ var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
21119
+ if (iterable != undefined) iterate$1(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
21120
+ return that;
21121
+ });
21122
+ Constructor.prototype = NativePrototype;
21123
+ NativePrototype.constructor = Constructor;
21124
+ }
21125
+
21126
+ if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
21127
+ fixMethod('delete');
21128
+ fixMethod('has');
21129
+ IS_MAP && fixMethod('get');
21130
+ }
21131
+
21132
+ if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
21133
+
21134
+ // weak collections should not contains .clear method
21135
+ if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;
21136
+ }
21137
+
21138
+ exported[CONSTRUCTOR_NAME] = Constructor;
21139
+ $$1({ global: true, forced: Constructor != NativeConstructor }, exported);
21140
+
21141
+ setToStringTag(Constructor, CONSTRUCTOR_NAME);
21142
+
21143
+ if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);
21144
+
21145
+ return Constructor;
21146
+ };
21147
+
21148
+ var uncurryThis$2 = functionUncurryThis;
21149
+ var redefineAll$1 = redefineAll$4;
21150
+ var getWeakData = internalMetadata.exports.getWeakData;
21151
+ var anObject = anObject$f;
21152
+ var isObject$1 = isObject$l;
21153
+ var anInstance = anInstance$5;
21154
+ var iterate = iterate$3;
21155
+ var ArrayIterationModule = arrayIteration;
21156
+ var hasOwn = hasOwnProperty_1;
21157
+ var InternalStateModule = internalState;
21158
+
21159
+ var setInternalState = InternalStateModule.set;
21160
+ var internalStateGetterFor = InternalStateModule.getterFor;
21161
+ var find = ArrayIterationModule.find;
21162
+ var findIndex = ArrayIterationModule.findIndex;
21163
+ var splice = uncurryThis$2([].splice);
21164
+ var id = 0;
21165
+
21166
+ // fallback for uncaught frozen keys
21167
+ var uncaughtFrozenStore = function (store) {
21168
+ return store.frozen || (store.frozen = new UncaughtFrozenStore());
21169
+ };
21170
+
21171
+ var UncaughtFrozenStore = function () {
21172
+ this.entries = [];
21173
+ };
21174
+
21175
+ var findUncaughtFrozen = function (store, key) {
21176
+ return find(store.entries, function (it) {
21177
+ return it[0] === key;
21178
+ });
21179
+ };
21180
+
21181
+ UncaughtFrozenStore.prototype = {
21182
+ get: function (key) {
21183
+ var entry = findUncaughtFrozen(this, key);
21184
+ if (entry) return entry[1];
21185
+ },
21186
+ has: function (key) {
21187
+ return !!findUncaughtFrozen(this, key);
21188
+ },
21189
+ set: function (key, value) {
21190
+ var entry = findUncaughtFrozen(this, key);
21191
+ if (entry) entry[1] = value;
21192
+ else this.entries.push([key, value]);
21193
+ },
21194
+ 'delete': function (key) {
21195
+ var index = findIndex(this.entries, function (it) {
21196
+ return it[0] === key;
21197
+ });
21198
+ if (~index) splice(this.entries, index, 1);
21199
+ return !!~index;
21200
+ }
21201
+ };
21202
+
21203
+ var collectionWeak$1 = {
21204
+ getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
21205
+ var Constructor = wrapper(function (that, iterable) {
21206
+ anInstance(that, Prototype);
21207
+ setInternalState(that, {
21208
+ type: CONSTRUCTOR_NAME,
21209
+ id: id++,
21210
+ frozen: undefined
21211
+ });
21212
+ if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
21213
+ });
21214
+
21215
+ var Prototype = Constructor.prototype;
21216
+
21217
+ var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
21218
+
21219
+ var define = function (that, key, value) {
21220
+ var state = getInternalState(that);
21221
+ var data = getWeakData(anObject(key), true);
21222
+ if (data === true) uncaughtFrozenStore(state).set(key, value);
21223
+ else data[state.id] = value;
21224
+ return that;
21225
+ };
21226
+
21227
+ redefineAll$1(Prototype, {
21228
+ // `{ WeakMap, WeakSet }.prototype.delete(key)` methods
21229
+ // https://tc39.es/ecma262/#sec-weakmap.prototype.delete
21230
+ // https://tc39.es/ecma262/#sec-weakset.prototype.delete
21231
+ 'delete': function (key) {
21232
+ var state = getInternalState(this);
21233
+ if (!isObject$1(key)) return false;
21234
+ var data = getWeakData(key);
21235
+ if (data === true) return uncaughtFrozenStore(state)['delete'](key);
21236
+ return data && hasOwn(data, state.id) && delete data[state.id];
21237
+ },
21238
+ // `{ WeakMap, WeakSet }.prototype.has(key)` methods
21239
+ // https://tc39.es/ecma262/#sec-weakmap.prototype.has
21240
+ // https://tc39.es/ecma262/#sec-weakset.prototype.has
21241
+ has: function has(key) {
21242
+ var state = getInternalState(this);
21243
+ if (!isObject$1(key)) return false;
21244
+ var data = getWeakData(key);
21245
+ if (data === true) return uncaughtFrozenStore(state).has(key);
21246
+ return data && hasOwn(data, state.id);
21247
+ }
21248
+ });
21249
+
21250
+ redefineAll$1(Prototype, IS_MAP ? {
21251
+ // `WeakMap.prototype.get(key)` method
21252
+ // https://tc39.es/ecma262/#sec-weakmap.prototype.get
21253
+ get: function get(key) {
21254
+ var state = getInternalState(this);
21255
+ if (isObject$1(key)) {
21256
+ var data = getWeakData(key);
21257
+ if (data === true) return uncaughtFrozenStore(state).get(key);
21258
+ return data ? data[state.id] : undefined;
21259
+ }
21260
+ },
21261
+ // `WeakMap.prototype.set(key, value)` method
21262
+ // https://tc39.es/ecma262/#sec-weakmap.prototype.set
21263
+ set: function set(key, value) {
21264
+ return define(this, key, value);
21265
+ }
21266
+ } : {
21267
+ // `WeakSet.prototype.add(value)` method
21268
+ // https://tc39.es/ecma262/#sec-weakset.prototype.add
21269
+ add: function add(value) {
21270
+ return define(this, value, true);
21271
+ }
21272
+ });
21273
+
21274
+ return Constructor;
21275
+ }
21276
+ };
21277
+
21278
+ var global$2 = global$V;
21279
+ var uncurryThis$1 = functionUncurryThis;
21280
+ var redefineAll = redefineAll$4;
21281
+ var InternalMetadataModule = internalMetadata.exports;
21282
+ var collection = collection$1;
21283
+ var collectionWeak = collectionWeak$1;
21284
+ var isObject = isObject$l;
21285
+ var isExtensible = objectIsExtensible;
21286
+ var enforceInternalState = internalState.enforce;
21287
+ var NATIVE_WEAK_MAP = nativeWeakMap;
21288
+
21289
+ var IS_IE11 = !global$2.ActiveXObject && 'ActiveXObject' in global$2;
21290
+ var InternalWeakMap;
21291
+
21292
+ var wrapper = function (init) {
21293
+ return function WeakMap() {
21294
+ return init(this, arguments.length ? arguments[0] : undefined);
21295
+ };
21296
+ };
21297
+
21298
+ // `WeakMap` constructor
21299
+ // https://tc39.es/ecma262/#sec-weakmap-constructor
21300
+ var $WeakMap = collection('WeakMap', wrapper, collectionWeak);
21301
+
21302
+ // IE11 WeakMap frozen keys fix
21303
+ // We can't use feature detection because it crash some old IE builds
21304
+ // https://github.com/zloirock/core-js/issues/485
21305
+ if (NATIVE_WEAK_MAP && IS_IE11) {
21306
+ InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);
21307
+ InternalMetadataModule.enable();
21308
+ var WeakMapPrototype = $WeakMap.prototype;
21309
+ var nativeDelete = uncurryThis$1(WeakMapPrototype['delete']);
21310
+ var nativeHas = uncurryThis$1(WeakMapPrototype.has);
21311
+ var nativeGet = uncurryThis$1(WeakMapPrototype.get);
21312
+ var nativeSet = uncurryThis$1(WeakMapPrototype.set);
21313
+ redefineAll(WeakMapPrototype, {
21314
+ 'delete': function (key) {
21315
+ if (isObject(key) && !isExtensible(key)) {
21316
+ var state = enforceInternalState(this);
21317
+ if (!state.frozen) state.frozen = new InternalWeakMap();
21318
+ return nativeDelete(this, key) || state.frozen['delete'](key);
21319
+ } return nativeDelete(this, key);
21320
+ },
21321
+ has: function has(key) {
21322
+ if (isObject(key) && !isExtensible(key)) {
21323
+ var state = enforceInternalState(this);
21324
+ if (!state.frozen) state.frozen = new InternalWeakMap();
21325
+ return nativeHas(this, key) || state.frozen.has(key);
21326
+ } return nativeHas(this, key);
21327
+ },
21328
+ get: function get(key) {
21329
+ if (isObject(key) && !isExtensible(key)) {
21330
+ var state = enforceInternalState(this);
21331
+ if (!state.frozen) state.frozen = new InternalWeakMap();
21332
+ return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);
21333
+ } return nativeGet(this, key);
21334
+ },
21335
+ set: function set(key, value) {
21336
+ if (isObject(key) && !isExtensible(key)) {
21337
+ var state = enforceInternalState(this);
21338
+ if (!state.frozen) state.frozen = new InternalWeakMap();
21339
+ nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);
21340
+ } else nativeSet(this, key, value);
21341
+ return this;
21342
+ }
21343
+ });
21344
+ }
21345
+
21346
+ var parseChargeRefusal = function parseChargeRefusal(error) {
21347
+ if (!error.response || error.response.status >= 500) throw error;
21348
+ return ChargeResponses.parse(error.response.data);
21349
+ };
21350
+ var PayflexAPI = {
21351
+ charge: function charge(_ref) {
21352
+ var accessCode = _ref.accessCode,
21353
+ publicKey = _ref.publicKey,
21354
+ deviceFingerprint = _ref.deviceFingerprint,
21355
+ returnUrl = _ref.returnUrl,
21356
+ checkoutMode = _ref.checkoutMode,
21357
+ successUrl = _ref.successUrl,
21358
+ cancelUrl = _ref.cancelUrl;
21359
+ var url = new URL('transaction/charge', configToUse.paystackApiUrl).toString();
21360
+ var language = getLanguage();
21361
+ var headers = _objectSpread2({
21362
+ Authorization: "Bearer ".concat(publicKey)
21363
+ }, language && {
21364
+ 'Accept-Language': language
21365
+ });
21366
+ var params = _objectSpread2(_objectSpread2({
21367
+ access_code: accessCode
21368
+ }, deviceFingerprint && {
21369
+ device_id: deviceFingerprint
21370
+ }), {}, {
21371
+ payflex: _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, returnUrl && {
21372
+ return_url: returnUrl
21373
+ }), checkoutMode && {
21374
+ checkout_mode: checkoutMode
21375
+ }), successUrl && {
21376
+ success_url: successUrl
21377
+ }), cancelUrl && {
21378
+ cancel_url: cancelUrl
21379
+ })
21380
+ });
21381
+ return axiosInstance.post(url, params, {
21382
+ headers: headers
21383
+ }).then(function (response) {
21384
+ return ChargeResponses.parse(response.data);
21385
+ }).catch(parseChargeRefusal);
21386
+ },
21387
+ requery: function requery(_ref2) {
21388
+ var transactionReference = _ref2.transactionReference,
21389
+ publicKey = _ref2.publicKey;
21390
+ var url = new URL("payflex/requery/".concat(encodeURIComponent(transactionReference)), configToUse.paystackApiUrl).toString();
21391
+ var language = getLanguage();
21392
+ var headers = _objectSpread2({
21393
+ Authorization: "Bearer ".concat(publicKey)
21394
+ }, language && {
21395
+ 'Accept-Language': language
21396
+ });
21397
+ return axiosInstance.get(url, {
21398
+ headers: headers
21399
+ }).then(function (response) {
21400
+ return ChargeResponses.parse(response.data);
21401
+ });
21402
+ }
21403
+ };
21404
+
21405
+ var PAYFLEX_CHANNEL = 'payflex';
21406
+
21407
+ var pollRuns = new WeakMap();
21408
+ var runFor = function runFor(transaction) {
21409
+ if (!pollRuns.has(transaction)) {
21410
+ pollRuns.set(transaction, {
21411
+ pendingLogged: false,
21412
+ concluded: false,
21413
+ lastOutcome: null
21414
+ });
21415
+ }
21416
+ return pollRuns.get(transaction);
21417
+ };
21418
+ var isTerminal = function isTerminal(status) {
21419
+ return status === 'success' || status === 'failed';
21420
+ };
21421
+ var recordOutcome = function recordOutcome(transaction, response) {
21422
+ var run = runFor(transaction);
21423
+ if (isTerminal(response.status)) {
21424
+ if (run.lastOutcome === response.status) return false;
21425
+ run.concluded = true;
21426
+ run.pendingLogged = false;
21427
+ run.lastOutcome = response.status;
21428
+ return true;
21429
+ }
21430
+ if (response.status !== 'pending') return true;
21431
+ if (run.pendingLogged || run.concluded) return false;
21432
+ run.pendingLogged = true;
21433
+ return true;
21434
+ };
21435
+ var PayflexCharge = {
21436
+ chargePayflex: function chargePayflex() {
21437
+ var _this = this;
21438
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
21439
+ returnUrl = _ref.returnUrl,
21440
+ checkoutMode = _ref.checkoutMode,
21441
+ successUrl = _ref.successUrl,
21442
+ cancelUrl = _ref.cancelUrl;
21443
+ pollRuns.delete(this);
21444
+ this.logAttempt(PAYFLEX_CHANNEL);
21445
+ if (checkoutMode) {
21446
+ this.logPayflexPresentationMode(checkoutMode);
21447
+ }
21448
+ return PayflexAPI.charge({
21449
+ accessCode: this.accessCode,
21450
+ publicKey: this.merchant.key,
21451
+ deviceFingerprint: this.deviceFingerprint,
21452
+ returnUrl: returnUrl,
21453
+ checkoutMode: checkoutMode,
21454
+ successUrl: successUrl,
21455
+ cancelUrl: cancelUrl
21456
+ }).then(function (response) {
21457
+ var usedMode = response.data && response.data.checkout_mode;
21458
+ if (checkoutMode && usedMode && usedMode !== checkoutMode) {
21459
+ _this.logPayflexPresentationModeMismatch({
21460
+ requested: checkoutMode,
21461
+ used: usedMode
21462
+ });
21463
+ }
21464
+ _this.logAPIResponse(response, PAYFLEX_CHANNEL);
21465
+ return response;
21466
+ });
21467
+ },
21468
+ requeryPayflex: function requeryPayflex() {
21469
+ var _this2 = this;
21470
+ return PayflexAPI.requery({
21471
+ transactionReference: this.reference,
21472
+ publicKey: this.merchant.key
21473
+ }).then(function (response) {
21474
+ if (recordOutcome(_this2, response)) {
21475
+ _this2.logAPIResponse(response, PAYFLEX_CHANNEL);
21476
+ }
21477
+ return response;
21478
+ });
21479
+ },
21480
+ listenForPayflexCharge: function listenForPayflexCharge(callback) {
21481
+ var _this3 = this;
21482
+ var listenerOptions = {
21483
+ paymentMethod: PAYFLEX_CHANNEL,
21484
+ channel: "PAYFLEX_".concat(this.id)
21485
+ };
21486
+ return this.listenForCharge(listenerOptions, function (response, unsubscribe) {
21487
+ recordOutcome(_this3, response);
21488
+ callback(response, unsubscribe);
21489
+ });
21490
+ }
21491
+ };
21492
+
20945
21493
  var ChargeFunctions = {
20946
21494
  get: function get(channel) {
20947
21495
  var chargeFunctions = {
@@ -20959,7 +21507,8 @@ var ChargeFunctions = {
20959
21507
  paypal: PayPalCharge,
20960
21508
  capitec_pay: CapitecPayCharge,
20961
21509
  union_pay: ChinaUnionPayCharge,
20962
- instalments: InstalmentsCharge
21510
+ instalments: InstalmentsCharge,
21511
+ payflex: PayflexCharge
20963
21512
  };
20964
21513
  return chargeFunctions[channel];
20965
21514
  }
@@ -21003,11 +21552,11 @@ var AnalyticsUtils = {
21003
21552
  };
21004
21553
 
21005
21554
  var $ = _export;
21006
- var global$1 = global$T;
21555
+ var global$1 = global$V;
21007
21556
  var getBuiltIn = getBuiltIn$a;
21008
21557
  var apply = functionApply;
21009
21558
  var uncurryThis = functionUncurryThis;
21010
- var fails = fails$v;
21559
+ var fails = fails$x;
21011
21560
 
21012
21561
  var Array$1 = global$1.Array;
21013
21562
  var $stringify = getBuiltIn('JSON', 'stringify');
@@ -21172,7 +21721,36 @@ var CapitecPayAnalytics = {
21172
21721
  }
21173
21722
  };
21174
21723
 
21175
- var AnalyticsFunctions$1 = _objectSpread2(_objectSpread2({}, CapitecPayAnalytics), {}, {
21724
+ var PayflexAnalytics = {
21725
+ logPayflexPresentationMode: function logPayflexPresentationMode(checkoutMode) {
21726
+ return this.logHistoryEntry({
21727
+ type: 'action',
21728
+ message: "Opening Payflex as: ".concat(checkoutMode),
21729
+ channel: PAYFLEX_CHANNEL,
21730
+ time: this.getTimeSpent()
21731
+ });
21732
+ },
21733
+ logPayflexPresentationModeMismatch: function logPayflexPresentationModeMismatch(_ref) {
21734
+ var requested = _ref.requested,
21735
+ used = _ref.used;
21736
+ return this.logHistoryEntry({
21737
+ type: 'action',
21738
+ message: "Payflex opened as ".concat(used, " after requesting ").concat(requested),
21739
+ channel: PAYFLEX_CHANNEL,
21740
+ time: this.getTimeSpent()
21741
+ });
21742
+ },
21743
+ logPayflexStatusRecheck: function logPayflexStatusRecheck() {
21744
+ return this.logHistoryEntry({
21745
+ type: 'action',
21746
+ message: 'Selected check payment status again',
21747
+ channel: PAYFLEX_CHANNEL,
21748
+ time: this.getTimeSpent()
21749
+ });
21750
+ }
21751
+ };
21752
+
21753
+ var AnalyticsFunctions$1 = _objectSpread2(_objectSpread2(_objectSpread2({}, CapitecPayAnalytics), PayflexAnalytics), {}, {
21176
21754
  initializeLog: function initializeLog(log) {
21177
21755
  this.log = AnalyticsUtils.initializeLog(log);
21178
21756
  },
@@ -21264,6 +21842,11 @@ var AnalyticsFunctions$1 = _objectSpread2(_objectSpread2({}, CapitecPayAnalytics
21264
21842
  return this.logError(response.message);
21265
21843
  case 'auth':
21266
21844
  return this.logAuth(response.data.auth);
21845
+ case 'awaiting_ussd_confirmation':
21846
+ // The customer has been shown the USSD prompt but has not paid yet. Recording
21847
+ // it keeps the step in the transaction log instead of dropping through to
21848
+ // `default`, which is what tells us how many customers reach the prompt.
21849
+ return this.logAPIResponseMessage(response.message);
21267
21850
  default:
21268
21851
  return false;
21269
21852
  }