@paystack/checkout-js 1.50.2-dev.6 → 1.51.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/checkout.js CHANGED
@@ -1110,35 +1110,35 @@ var createPropertyDescriptor$6 = function (bitmap, value) {
1110
1110
 
1111
1111
  var NATIVE_BIND$2 = functionBindNative;
1112
1112
 
1113
- var FunctionPrototype$2 = Function.prototype;
1114
- var bind$c = FunctionPrototype$2.bind;
1115
- var call$e = FunctionPrototype$2.call;
1116
- var uncurryThis$w = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1113
+ var FunctionPrototype$3 = Function.prototype;
1114
+ var bind$c = FunctionPrototype$3.bind;
1115
+ var call$e = FunctionPrototype$3.call;
1116
+ var uncurryThis$x = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1117
1117
 
1118
1118
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
1119
- return fn && uncurryThis$w(fn);
1119
+ return fn && uncurryThis$x(fn);
1120
1120
  } : function (fn) {
1121
1121
  return fn && function () {
1122
1122
  return call$e.apply(fn, arguments);
1123
1123
  };
1124
1124
  };
1125
1125
 
1126
- var uncurryThis$v = functionUncurryThis;
1126
+ var uncurryThis$w = functionUncurryThis;
1127
1127
 
1128
- var toString$b = uncurryThis$v({}.toString);
1129
- var stringSlice$4 = uncurryThis$v(''.slice);
1128
+ var toString$b = uncurryThis$w({}.toString);
1129
+ var stringSlice$4 = uncurryThis$w(''.slice);
1130
1130
 
1131
1131
  var classofRaw$1 = function (it) {
1132
1132
  return stringSlice$4(toString$b(it), 8, -1);
1133
1133
  };
1134
1134
 
1135
1135
  var global$S = global$T;
1136
- var uncurryThis$u = functionUncurryThis;
1136
+ var uncurryThis$v = functionUncurryThis;
1137
1137
  var fails$s = fails$v;
1138
1138
  var classof$a = classofRaw$1;
1139
1139
 
1140
1140
  var Object$5 = global$S.Object;
1141
- var split$4 = uncurryThis$u(''.split);
1141
+ var split$4 = uncurryThis$v(''.split);
1142
1142
 
1143
1143
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1144
1144
  var indexedObject = fails$s(function () {
@@ -1191,9 +1191,9 @@ var getBuiltIn$a = function (namespace, method) {
1191
1191
  return arguments.length < 2 ? aFunction(global$Q[namespace]) : global$Q[namespace] && global$Q[namespace][method];
1192
1192
  };
1193
1193
 
1194
- var uncurryThis$t = functionUncurryThis;
1194
+ var uncurryThis$u = functionUncurryThis;
1195
1195
 
1196
- var objectIsPrototypeOf = uncurryThis$t({}.isPrototypeOf);
1196
+ var objectIsPrototypeOf = uncurryThis$u({}.isPrototypeOf);
1197
1197
 
1198
1198
  var getBuiltIn$9 = getBuiltIn$a;
1199
1199
 
@@ -1322,11 +1322,11 @@ var isPure = false;
1322
1322
  var global$K = global$T;
1323
1323
 
1324
1324
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1325
- var defineProperty$5 = Object.defineProperty;
1325
+ var defineProperty$6 = Object.defineProperty;
1326
1326
 
1327
1327
  var setGlobal$3 = function (key, value) {
1328
1328
  try {
1329
- defineProperty$5(global$K, key, { value: value, configurable: true, writable: true });
1329
+ defineProperty$6(global$K, key, { value: value, configurable: true, writable: true });
1330
1330
  } catch (error) {
1331
1331
  global$K[key] = value;
1332
1332
  } return value;
@@ -1363,10 +1363,10 @@ var toObject$9 = function (argument) {
1363
1363
  return Object$3(requireObjectCoercible$2(argument));
1364
1364
  };
1365
1365
 
1366
- var uncurryThis$s = functionUncurryThis;
1366
+ var uncurryThis$t = functionUncurryThis;
1367
1367
  var toObject$8 = toObject$9;
1368
1368
 
1369
- var hasOwnProperty$1 = uncurryThis$s({}.hasOwnProperty);
1369
+ var hasOwnProperty$1 = uncurryThis$t({}.hasOwnProperty);
1370
1370
 
1371
1371
  // `HasOwnProperty` abstract operation
1372
1372
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -1374,11 +1374,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
1374
1374
  return hasOwnProperty$1(toObject$8(it), key);
1375
1375
  };
1376
1376
 
1377
- var uncurryThis$r = functionUncurryThis;
1377
+ var uncurryThis$s = functionUncurryThis;
1378
1378
 
1379
1379
  var id$1 = 0;
1380
1380
  var postfix = Math.random();
1381
- var toString$a = uncurryThis$r(1.0.toString);
1381
+ var toString$a = uncurryThis$s(1.0.toString);
1382
1382
 
1383
1383
  var uid$3 = function (key) {
1384
1384
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$1 + postfix, 36);
@@ -1457,19 +1457,19 @@ var documentCreateElement$2 = function (it) {
1457
1457
  return EXISTS$1 ? document$3.createElement(it) : {};
1458
1458
  };
1459
1459
 
1460
- var DESCRIPTORS$c = descriptors$1;
1460
+ var DESCRIPTORS$d = descriptors$1;
1461
1461
  var fails$q = fails$v;
1462
1462
  var createElement$1 = documentCreateElement$2;
1463
1463
 
1464
1464
  // Thanks to IE8 for its funny defineProperty
1465
- var ie8DomDefine = !DESCRIPTORS$c && !fails$q(function () {
1465
+ var ie8DomDefine = !DESCRIPTORS$d && !fails$q(function () {
1466
1466
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1467
1467
  return Object.defineProperty(createElement$1('div'), 'a', {
1468
1468
  get: function () { return 7; }
1469
1469
  }).a != 7;
1470
1470
  });
1471
1471
 
1472
- var DESCRIPTORS$b = descriptors$1;
1472
+ var DESCRIPTORS$c = descriptors$1;
1473
1473
  var call$b = functionCall;
1474
1474
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
1475
1475
  var createPropertyDescriptor$5 = createPropertyDescriptor$6;
@@ -1483,7 +1483,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
1483
1483
 
1484
1484
  // `Object.getOwnPropertyDescriptor` method
1485
1485
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1486
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1486
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1487
1487
  O = toIndexedObject$7(O);
1488
1488
  P = toPropertyKey$2(P);
1489
1489
  if (IE8_DOM_DEFINE$1) try {
@@ -1494,12 +1494,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 :
1494
1494
 
1495
1495
  var objectDefineProperty = {};
1496
1496
 
1497
- var DESCRIPTORS$a = descriptors$1;
1497
+ var DESCRIPTORS$b = descriptors$1;
1498
1498
  var fails$p = fails$v;
1499
1499
 
1500
1500
  // V8 ~ Chrome 36-
1501
1501
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1502
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$p(function () {
1502
+ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$p(function () {
1503
1503
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1504
1504
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1505
1505
  value: 42,
@@ -1520,7 +1520,7 @@ var anObject$e = function (argument) {
1520
1520
  };
1521
1521
 
1522
1522
  var global$D = global$T;
1523
- var DESCRIPTORS$9 = descriptors$1;
1523
+ var DESCRIPTORS$a = descriptors$1;
1524
1524
  var IE8_DOM_DEFINE = ie8DomDefine;
1525
1525
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
1526
1526
  var anObject$d = anObject$e;
@@ -1537,7 +1537,7 @@ var WRITABLE = 'writable';
1537
1537
 
1538
1538
  // `Object.defineProperty` method
1539
1539
  // https://tc39.es/ecma262/#sec-object.defineproperty
1540
- objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1540
+ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1541
1541
  anObject$d(O);
1542
1542
  P = toPropertyKey$1(P);
1543
1543
  anObject$d(Attributes);
@@ -1564,11 +1564,11 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
1564
1564
  return O;
1565
1565
  };
1566
1566
 
1567
- var DESCRIPTORS$8 = descriptors$1;
1567
+ var DESCRIPTORS$9 = descriptors$1;
1568
1568
  var definePropertyModule$5 = objectDefineProperty;
1569
1569
  var createPropertyDescriptor$4 = createPropertyDescriptor$6;
1570
1570
 
1571
- var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value) {
1571
+ var createNonEnumerableProperty$8 = DESCRIPTORS$9 ? function (object, key, value) {
1572
1572
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$4(1, value));
1573
1573
  } : function (object, key, value) {
1574
1574
  object[key] = value;
@@ -1577,16 +1577,16 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value
1577
1577
 
1578
1578
  var redefine$a = {exports: {}};
1579
1579
 
1580
- var uncurryThis$q = functionUncurryThis;
1580
+ var uncurryThis$r = functionUncurryThis;
1581
1581
  var isCallable$e = isCallable$k;
1582
1582
  var store$1 = sharedStore;
1583
1583
 
1584
- var functionToString = uncurryThis$q(Function.toString);
1584
+ var functionToString$1 = uncurryThis$r(Function.toString);
1585
1585
 
1586
1586
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1587
1587
  if (!isCallable$e(store$1.inspectSource)) {
1588
1588
  store$1.inspectSource = function (it) {
1589
- return functionToString(it);
1589
+ return functionToString$1(it);
1590
1590
  };
1591
1591
  }
1592
1592
 
@@ -1613,7 +1613,7 @@ var hiddenKeys$5 = {};
1613
1613
 
1614
1614
  var NATIVE_WEAK_MAP = nativeWeakMap;
1615
1615
  var global$B = global$T;
1616
- var uncurryThis$p = functionUncurryThis;
1616
+ var uncurryThis$q = functionUncurryThis;
1617
1617
  var isObject$c = isObject$h;
1618
1618
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
1619
1619
  var hasOwn$c = hasOwnProperty_1;
@@ -1641,9 +1641,9 @@ var getterFor = function (TYPE) {
1641
1641
 
1642
1642
  if (NATIVE_WEAK_MAP || shared$1.state) {
1643
1643
  var store = shared$1.state || (shared$1.state = new WeakMap());
1644
- var wmget = uncurryThis$p(store.get);
1645
- var wmhas = uncurryThis$p(store.has);
1646
- var wmset = uncurryThis$p(store.set);
1644
+ var wmget = uncurryThis$q(store.get);
1645
+ var wmhas = uncurryThis$q(store.has);
1646
+ var wmset = uncurryThis$q(store.set);
1647
1647
  set$1 = function (it, metadata) {
1648
1648
  if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1649
1649
  metadata.facade = it;
@@ -1681,17 +1681,17 @@ var internalState = {
1681
1681
  getterFor: getterFor
1682
1682
  };
1683
1683
 
1684
- var DESCRIPTORS$7 = descriptors$1;
1684
+ var DESCRIPTORS$8 = descriptors$1;
1685
1685
  var hasOwn$b = hasOwnProperty_1;
1686
1686
 
1687
- var FunctionPrototype$1 = Function.prototype;
1687
+ var FunctionPrototype$2 = Function.prototype;
1688
1688
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1689
- var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
1689
+ var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
1690
1690
 
1691
- var EXISTS = hasOwn$b(FunctionPrototype$1, 'name');
1691
+ var EXISTS = hasOwn$b(FunctionPrototype$2, 'name');
1692
1692
  // additional protection from minified / mangled / dropped function names
1693
1693
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
1694
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype$1, 'name').configurable));
1694
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$2, 'name').configurable));
1695
1695
 
1696
1696
  var functionName = {
1697
1697
  EXISTS: EXISTS,
@@ -1823,13 +1823,13 @@ var arrayIncludes = {
1823
1823
  indexOf: createMethod$5(false)
1824
1824
  };
1825
1825
 
1826
- var uncurryThis$o = functionUncurryThis;
1826
+ var uncurryThis$p = functionUncurryThis;
1827
1827
  var hasOwn$9 = hasOwnProperty_1;
1828
1828
  var toIndexedObject$5 = toIndexedObject$8;
1829
1829
  var indexOf$1 = arrayIncludes.indexOf;
1830
1830
  var hiddenKeys$3 = hiddenKeys$5;
1831
1831
 
1832
- var push$7 = uncurryThis$o([].push);
1832
+ var push$7 = uncurryThis$p([].push);
1833
1833
 
1834
1834
  var objectKeysInternal = function (object, names) {
1835
1835
  var O = toIndexedObject$5(object);
@@ -1873,12 +1873,12 @@ var objectGetOwnPropertySymbols = {};
1873
1873
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1874
1874
 
1875
1875
  var getBuiltIn$7 = getBuiltIn$a;
1876
- var uncurryThis$n = functionUncurryThis;
1876
+ var uncurryThis$o = functionUncurryThis;
1877
1877
  var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
1878
1878
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1879
1879
  var anObject$c = anObject$e;
1880
1880
 
1881
- var concat$1 = uncurryThis$n([].concat);
1881
+ var concat$1 = uncurryThis$o([].concat);
1882
1882
 
1883
1883
  // all object keys, includes non-enumerable and symbols
1884
1884
  var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -2076,11 +2076,11 @@ var freezing = !fails$l(function () {
2076
2076
  });
2077
2077
 
2078
2078
  var $$m = _export;
2079
- var uncurryThis$m = functionUncurryThis;
2079
+ var uncurryThis$n = functionUncurryThis;
2080
2080
  var hiddenKeys$1 = hiddenKeys$5;
2081
2081
  var isObject$a = isObject$h;
2082
2082
  var hasOwn$7 = hasOwnProperty_1;
2083
- var defineProperty$4 = objectDefineProperty.f;
2083
+ var defineProperty$5 = objectDefineProperty.f;
2084
2084
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
2085
2085
  var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
2086
2086
  var isExtensible = objectIsExtensible;
@@ -2092,7 +2092,7 @@ var METADATA = uid('meta');
2092
2092
  var id = 0;
2093
2093
 
2094
2094
  var setMetadata = function (it) {
2095
- defineProperty$4(it, METADATA, { value: {
2095
+ defineProperty$5(it, METADATA, { value: {
2096
2096
  objectID: 'O' + id++, // object ID
2097
2097
  weakData: {} // weak collections IDs
2098
2098
  } });
@@ -2134,7 +2134,7 @@ var enable = function () {
2134
2134
  meta.enable = function () { /* empty */ };
2135
2135
  REQUIRED = true;
2136
2136
  var getOwnPropertyNames = getOwnPropertyNamesModule.f;
2137
- var splice = uncurryThis$m([].splice);
2137
+ var splice = uncurryThis$n([].splice);
2138
2138
  var test = {};
2139
2139
  test[METADATA] = 1;
2140
2140
 
@@ -2185,9 +2185,9 @@ $$l({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZI
2185
2185
 
2186
2186
  var NATIVE_BIND$1 = functionBindNative;
2187
2187
 
2188
- var FunctionPrototype = Function.prototype;
2189
- var apply$3 = FunctionPrototype.apply;
2190
- var call$a = FunctionPrototype.call;
2188
+ var FunctionPrototype$1 = Function.prototype;
2189
+ var apply$3 = FunctionPrototype$1.apply;
2190
+ var call$a = FunctionPrototype$1.call;
2191
2191
 
2192
2192
  // eslint-disable-next-line es/no-reflect -- safe
2193
2193
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$3) : function () {
@@ -2207,7 +2207,7 @@ var aPossiblePrototype$1 = function (argument) {
2207
2207
 
2208
2208
  /* eslint-disable no-proto -- safe */
2209
2209
 
2210
- var uncurryThis$l = functionUncurryThis;
2210
+ var uncurryThis$m = functionUncurryThis;
2211
2211
  var anObject$b = anObject$e;
2212
2212
  var aPossiblePrototype = aPossiblePrototype$1;
2213
2213
 
@@ -2221,7 +2221,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2221
2221
  var setter;
2222
2222
  try {
2223
2223
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2224
- setter = uncurryThis$l(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2224
+ setter = uncurryThis$m(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2225
2225
  setter(test, []);
2226
2226
  CORRECT_SETTER = test instanceof Array;
2227
2227
  } catch (error) { /* empty */ }
@@ -2320,9 +2320,9 @@ var installErrorCause$1 = function (O, options) {
2320
2320
  }
2321
2321
  };
2322
2322
 
2323
- var uncurryThis$k = functionUncurryThis;
2323
+ var uncurryThis$l = functionUncurryThis;
2324
2324
 
2325
- var replace$7 = uncurryThis$k(''.replace);
2325
+ var replace$7 = uncurryThis$l(''.replace);
2326
2326
 
2327
2327
  var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
2328
2328
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
@@ -2471,7 +2471,7 @@ var isArray$9 = Array.isArray || function isArray(argument) {
2471
2471
  return classof$5(argument) == 'Array';
2472
2472
  };
2473
2473
 
2474
- var uncurryThis$j = functionUncurryThis;
2474
+ var uncurryThis$k = functionUncurryThis;
2475
2475
  var fails$i = fails$v;
2476
2476
  var isCallable$7 = isCallable$k;
2477
2477
  var classof$4 = classof$7;
@@ -2482,7 +2482,7 @@ var noop = function () { /* empty */ };
2482
2482
  var empty = [];
2483
2483
  var construct = getBuiltIn$5('Reflect', 'construct');
2484
2484
  var constructorRegExp = /^\s*(?:class|function)\b/;
2485
- var exec$5 = uncurryThis$j(constructorRegExp.exec);
2485
+ var exec$5 = uncurryThis$k(constructorRegExp.exec);
2486
2486
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
2487
2487
 
2488
2488
  var isConstructorModern = function isConstructor(argument) {
@@ -2726,11 +2726,11 @@ var DOMTokenListPrototype$2 = classList && classList.constructor && classList.co
2726
2726
 
2727
2727
  var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;
2728
2728
 
2729
- var uncurryThis$i = functionUncurryThis;
2729
+ var uncurryThis$j = functionUncurryThis;
2730
2730
  var aCallable$5 = aCallable$7;
2731
2731
  var NATIVE_BIND = functionBindNative;
2732
2732
 
2733
- var bind$b = uncurryThis$i(uncurryThis$i.bind);
2733
+ var bind$b = uncurryThis$j(uncurryThis$j.bind);
2734
2734
 
2735
2735
  // optional / simple context binding
2736
2736
  var functionBindContext = function (fn, that) {
@@ -2741,13 +2741,13 @@ var functionBindContext = function (fn, that) {
2741
2741
  };
2742
2742
 
2743
2743
  var bind$a = functionBindContext;
2744
- var uncurryThis$h = functionUncurryThis;
2744
+ var uncurryThis$i = functionUncurryThis;
2745
2745
  var IndexedObject$3 = indexedObject;
2746
2746
  var toObject$6 = toObject$9;
2747
2747
  var lengthOfArrayLike$4 = lengthOfArrayLike$8;
2748
2748
  var arraySpeciesCreate = arraySpeciesCreate$2;
2749
2749
 
2750
- var push$6 = uncurryThis$h([].push);
2750
+ var push$6 = uncurryThis$i([].push);
2751
2751
 
2752
2752
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2753
2753
  var createMethod$4 = function (TYPE) {
@@ -2933,7 +2933,7 @@ var regexpStickyHelpers = {
2933
2933
 
2934
2934
  var objectDefineProperties = {};
2935
2935
 
2936
- var DESCRIPTORS$6 = descriptors$1;
2936
+ var DESCRIPTORS$7 = descriptors$1;
2937
2937
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
2938
2938
  var definePropertyModule$2 = objectDefineProperty;
2939
2939
  var anObject$9 = anObject$e;
@@ -2943,7 +2943,7 @@ var objectKeys$2 = objectKeys$3;
2943
2943
  // `Object.defineProperties` method
2944
2944
  // https://tc39.es/ecma262/#sec-object.defineproperties
2945
2945
  // eslint-disable-next-line es/no-object-defineproperties -- safe
2946
- objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2946
+ objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2947
2947
  anObject$9(O);
2948
2948
  var props = toIndexedObject$3(Properties);
2949
2949
  var keys = objectKeys$2(Properties);
@@ -3068,7 +3068,7 @@ var regexpUnsupportedNcg = fails$b(function () {
3068
3068
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
3069
3069
  /* eslint-disable regexp/no-useless-quantifier -- testing */
3070
3070
  var call$9 = functionCall;
3071
- var uncurryThis$g = functionUncurryThis;
3071
+ var uncurryThis$h = functionUncurryThis;
3072
3072
  var toString$6 = toString$9;
3073
3073
  var regexpFlags = regexpFlags$1;
3074
3074
  var stickyHelpers = regexpStickyHelpers;
@@ -3081,10 +3081,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
3081
3081
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
3082
3082
  var nativeExec = RegExp.prototype.exec;
3083
3083
  var patchedExec = nativeExec;
3084
- var charAt$5 = uncurryThis$g(''.charAt);
3085
- var indexOf = uncurryThis$g(''.indexOf);
3086
- var replace$6 = uncurryThis$g(''.replace);
3087
- var stringSlice$3 = uncurryThis$g(''.slice);
3084
+ var charAt$5 = uncurryThis$h(''.charAt);
3085
+ var indexOf = uncurryThis$h(''.indexOf);
3086
+ var replace$6 = uncurryThis$h(''.replace);
3087
+ var stringSlice$3 = uncurryThis$h(''.slice);
3088
3088
 
3089
3089
  var UPDATES_LAST_INDEX_WRONG = (function () {
3090
3090
  var re1 = /a/;
@@ -3196,7 +3196,7 @@ $$h({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {
3196
3196
  var $$g = _export;
3197
3197
  var global$n = global$T;
3198
3198
  var call$8 = functionCall;
3199
- var uncurryThis$f = functionUncurryThis;
3199
+ var uncurryThis$g = functionUncurryThis;
3200
3200
  var isCallable$6 = isCallable$k;
3201
3201
  var isObject$4 = isObject$h;
3202
3202
 
@@ -3211,7 +3211,7 @@ var DELEGATES_TO_EXEC = function () {
3211
3211
  }();
3212
3212
 
3213
3213
  var Error$1 = global$n.Error;
3214
- var un$Test = uncurryThis$f(/./.test);
3214
+ var un$Test = uncurryThis$g(/./.test);
3215
3215
 
3216
3216
  // `RegExp.prototype.test` method
3217
3217
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
@@ -3231,12 +3231,12 @@ $$g({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
3231
3231
  var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
3232
3232
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
3233
3233
 
3234
- var uncurryThis$e = functionUncurryThis;
3234
+ var uncurryThis$f = functionUncurryThis;
3235
3235
  var requireObjectCoercible$1 = requireObjectCoercible$4;
3236
3236
  var toString$5 = toString$9;
3237
3237
  var whitespaces$2 = whitespaces$3;
3238
3238
 
3239
- var replace$5 = uncurryThis$e(''.replace);
3239
+ var replace$5 = uncurryThis$f(''.replace);
3240
3240
  var whitespace = '[' + whitespaces$2 + ']';
3241
3241
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
3242
3242
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -3265,7 +3265,7 @@ var stringTrim = {
3265
3265
 
3266
3266
  var global$m = global$T;
3267
3267
  var fails$a = fails$v;
3268
- var uncurryThis$d = functionUncurryThis;
3268
+ var uncurryThis$e = functionUncurryThis;
3269
3269
  var toString$4 = toString$9;
3270
3270
  var trim$2 = stringTrim.trim;
3271
3271
  var whitespaces$1 = whitespaces$3;
@@ -3274,7 +3274,7 @@ var $parseInt$1 = global$m.parseInt;
3274
3274
  var Symbol$1 = global$m.Symbol;
3275
3275
  var ITERATOR$8 = Symbol$1 && Symbol$1.iterator;
3276
3276
  var hex = /^[+-]?0x/i;
3277
- var exec$3 = uncurryThis$d(hex.exec);
3277
+ var exec$3 = uncurryThis$e(hex.exec);
3278
3278
  var FORCED$3 = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22
3279
3279
  // MS Edge 18- broken with boxed symbols
3280
3280
  || (ITERATOR$8 && !fails$a(function () { $parseInt$1(Object(ITERATOR$8)); }));
@@ -3295,15 +3295,15 @@ $$f({ global: true, forced: parseInt != $parseInt }, {
3295
3295
  parseInt: $parseInt
3296
3296
  });
3297
3297
 
3298
- var uncurryThis$c = functionUncurryThis;
3298
+ var uncurryThis$d = functionUncurryThis;
3299
3299
 
3300
3300
  // `thisNumberValue` abstract operation
3301
3301
  // https://tc39.es/ecma262/#sec-thisnumbervalue
3302
- var thisNumberValue$1 = uncurryThis$c(1.0.valueOf);
3302
+ var thisNumberValue$1 = uncurryThis$d(1.0.valueOf);
3303
3303
 
3304
- var DESCRIPTORS$5 = descriptors$1;
3304
+ var DESCRIPTORS$6 = descriptors$1;
3305
3305
  var global$l = global$T;
3306
- var uncurryThis$b = functionUncurryThis;
3306
+ var uncurryThis$c = functionUncurryThis;
3307
3307
  var isForced$1 = isForced_1;
3308
3308
  var redefine$7 = redefine$a.exports;
3309
3309
  var hasOwn$5 = hasOwnProperty_1;
@@ -3314,7 +3314,7 @@ var toPrimitive = toPrimitive$2;
3314
3314
  var fails$9 = fails$v;
3315
3315
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3316
3316
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
3317
- var defineProperty$3 = objectDefineProperty.f;
3317
+ var defineProperty$4 = objectDefineProperty.f;
3318
3318
  var thisNumberValue = thisNumberValue$1;
3319
3319
  var trim$1 = stringTrim.trim;
3320
3320
 
@@ -3322,8 +3322,8 @@ var NUMBER = 'Number';
3322
3322
  var NativeNumber = global$l[NUMBER];
3323
3323
  var NumberPrototype = NativeNumber.prototype;
3324
3324
  var TypeError$a = global$l.TypeError;
3325
- var arraySlice$4 = uncurryThis$b(''.slice);
3326
- var charCodeAt$3 = uncurryThis$b(''.charCodeAt);
3325
+ var arraySlice$4 = uncurryThis$c(''.slice);
3326
+ var charCodeAt$3 = uncurryThis$c(''.charCodeAt);
3327
3327
 
3328
3328
  // `ToNumeric` abstract operation
3329
3329
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -3372,7 +3372,7 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
3372
3372
  return isPrototypeOf$3(NumberPrototype, dummy) && fails$9(function () { thisNumberValue(dummy); })
3373
3373
  ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
3374
3374
  };
3375
- for (var keys = DESCRIPTORS$5 ? getOwnPropertyNames(NativeNumber) : (
3375
+ for (var keys = DESCRIPTORS$6 ? getOwnPropertyNames(NativeNumber) : (
3376
3376
  // ES3:
3377
3377
  'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
3378
3378
  // ES2015 (in case, if modules with ES2015 Number statics required before):
@@ -3381,7 +3381,7 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
3381
3381
  'fromString,range'
3382
3382
  ).split(','), j = 0, key; keys.length > j; j++) {
3383
3383
  if (hasOwn$5(NativeNumber, key = keys[j]) && !hasOwn$5(NumberWrapper, key)) {
3384
- defineProperty$3(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
3384
+ defineProperty$4(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
3385
3385
  }
3386
3386
  }
3387
3387
  NumberWrapper.prototype = NumberPrototype;
@@ -3619,7 +3619,7 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
3619
3619
  var engineWebkitVersion = !!webkit && +webkit[1];
3620
3620
 
3621
3621
  var $$d = _export;
3622
- var uncurryThis$a = functionUncurryThis;
3622
+ var uncurryThis$b = functionUncurryThis;
3623
3623
  var aCallable$4 = aCallable$7;
3624
3624
  var toObject$4 = toObject$9;
3625
3625
  var lengthOfArrayLike$3 = lengthOfArrayLike$8;
@@ -3633,8 +3633,8 @@ var V8 = engineV8Version;
3633
3633
  var WEBKIT = engineWebkitVersion;
3634
3634
 
3635
3635
  var test = [];
3636
- var un$Sort = uncurryThis$a(test.sort);
3637
- var push$5 = uncurryThis$a(test.push);
3636
+ var un$Sort = uncurryThis$b(test.sort);
3637
+ var push$5 = uncurryThis$b(test.push);
3638
3638
 
3639
3639
  // IE8-
3640
3640
  var FAILS_ON_UNDEFINED = fails$8(function () {
@@ -3739,12 +3739,12 @@ $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
3739
3739
  });
3740
3740
 
3741
3741
  var $$b = _export;
3742
- var uncurryThis$9 = functionUncurryThis;
3742
+ var uncurryThis$a = functionUncurryThis;
3743
3743
  var IndexedObject$2 = indexedObject;
3744
3744
  var toIndexedObject$2 = toIndexedObject$8;
3745
3745
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
3746
3746
 
3747
- var un$Join = uncurryThis$9([].join);
3747
+ var un$Join = uncurryThis$a([].join);
3748
3748
 
3749
3749
  var ES3_STRINGS = IndexedObject$2 != Object;
3750
3750
  var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
@@ -5185,7 +5185,7 @@ var redefineAll$2 = function (target, src, options) {
5185
5185
  return target;
5186
5186
  };
5187
5187
 
5188
- var defineProperty$2 = objectDefineProperty.f;
5188
+ var defineProperty$3 = objectDefineProperty.f;
5189
5189
  var hasOwn$4 = hasOwnProperty_1;
5190
5190
  var wellKnownSymbol$c = wellKnownSymbol$j;
5191
5191
 
@@ -5194,14 +5194,14 @@ var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
5194
5194
  var setToStringTag$5 = function (target, TAG, STATIC) {
5195
5195
  if (target && !STATIC) target = target.prototype;
5196
5196
  if (target && !hasOwn$4(target, TO_STRING_TAG$1)) {
5197
- defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
5197
+ defineProperty$3(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
5198
5198
  }
5199
5199
  };
5200
5200
 
5201
5201
  var getBuiltIn$3 = getBuiltIn$a;
5202
5202
  var definePropertyModule$1 = objectDefineProperty;
5203
5203
  var wellKnownSymbol$b = wellKnownSymbol$j;
5204
- var DESCRIPTORS$4 = descriptors$1;
5204
+ var DESCRIPTORS$5 = descriptors$1;
5205
5205
 
5206
5206
  var SPECIES$2 = wellKnownSymbol$b('species');
5207
5207
 
@@ -5209,7 +5209,7 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
5209
5209
  var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
5210
5210
  var defineProperty = definePropertyModule$1.f;
5211
5211
 
5212
- if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$2]) {
5212
+ if (DESCRIPTORS$5 && Constructor && !Constructor[SPECIES$2]) {
5213
5213
  defineProperty(Constructor, SPECIES$2, {
5214
5214
  configurable: true,
5215
5215
  get: function () { return this; }
@@ -5424,9 +5424,9 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
5424
5424
  return C === undefined || (S = anObject$4(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
5425
5425
  };
5426
5426
 
5427
- var uncurryThis$8 = functionUncurryThis;
5427
+ var uncurryThis$9 = functionUncurryThis;
5428
5428
 
5429
- var arraySlice$2 = uncurryThis$8([].slice);
5429
+ var arraySlice$2 = uncurryThis$9([].slice);
5430
5430
 
5431
5431
  var global$f = global$T;
5432
5432
 
@@ -6243,8 +6243,8 @@ var getDeviceFingerprint = /*#__PURE__*/function () {
6243
6243
  };
6244
6244
  }();
6245
6245
 
6246
- var DESCRIPTORS$3 = descriptors$1;
6247
- var uncurryThis$7 = functionUncurryThis;
6246
+ var DESCRIPTORS$4 = descriptors$1;
6247
+ var uncurryThis$8 = functionUncurryThis;
6248
6248
  var call$3 = functionCall;
6249
6249
  var fails$6 = fails$v;
6250
6250
  var objectKeys$1 = objectKeys$3;
@@ -6256,17 +6256,17 @@ var IndexedObject$1 = indexedObject;
6256
6256
  // eslint-disable-next-line es/no-object-assign -- safe
6257
6257
  var $assign = Object.assign;
6258
6258
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
6259
- var defineProperty$1 = Object.defineProperty;
6260
- var concat = uncurryThis$7([].concat);
6259
+ var defineProperty$2 = Object.defineProperty;
6260
+ var concat = uncurryThis$8([].concat);
6261
6261
 
6262
6262
  // `Object.assign` method
6263
6263
  // https://tc39.es/ecma262/#sec-object.assign
6264
6264
  var objectAssign = !$assign || fails$6(function () {
6265
6265
  // should have correct order of operations (Edge bug)
6266
- if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
6266
+ if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
6267
6267
  enumerable: true,
6268
6268
  get: function () {
6269
- defineProperty$1(this, 'b', {
6269
+ defineProperty$2(this, 'b', {
6270
6270
  value: 3,
6271
6271
  enumerable: false
6272
6272
  });
@@ -6295,7 +6295,7 @@ var objectAssign = !$assign || fails$6(function () {
6295
6295
  var key;
6296
6296
  while (length > j) {
6297
6297
  key = keys[j++];
6298
- if (!DESCRIPTORS$3 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
6298
+ if (!DESCRIPTORS$4 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
6299
6299
  }
6300
6300
  } return T;
6301
6301
  } : $assign;
@@ -6559,7 +6559,7 @@ var subscribeToChargeEvents = function subscribeToChargeEvents(options, context,
6559
6559
  });
6560
6560
  };
6561
6561
 
6562
- var uncurryThis$6 = functionUncurryThis;
6562
+ var uncurryThis$7 = functionUncurryThis;
6563
6563
  var PROPER_FUNCTION_NAME$2 = functionName.PROPER;
6564
6564
  var redefine$4 = redefine$a.exports;
6565
6565
  var anObject$2 = anObject$e;
@@ -6571,7 +6571,7 @@ var regExpFlags = regexpFlags$1;
6571
6571
  var TO_STRING = 'toString';
6572
6572
  var RegExpPrototype = RegExp.prototype;
6573
6573
  var n$ToString = RegExpPrototype[TO_STRING];
6574
- var getFlags = uncurryThis$6(regExpFlags);
6574
+ var getFlags = uncurryThis$7(regExpFlags);
6575
6575
 
6576
6576
  var NOT_GENERIC = fails$5(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
6577
6577
  // FF44- RegExp#toString has a wrong name
@@ -6782,9 +6782,9 @@ var toIndexedObject$1 = toIndexedObject$8;
6782
6782
  var addToUnscopables$1 = addToUnscopables$3;
6783
6783
  var Iterators = iterators;
6784
6784
  var InternalStateModule$3 = internalState;
6785
- var defineProperty = objectDefineProperty.f;
6785
+ var defineProperty$1 = objectDefineProperty.f;
6786
6786
  var defineIterator$1 = defineIterator$2;
6787
- var DESCRIPTORS$2 = descriptors$1;
6787
+ var DESCRIPTORS$3 = descriptors$1;
6788
6788
 
6789
6789
  var ARRAY_ITERATOR = 'Array Iterator';
6790
6790
  var setInternalState$3 = InternalStateModule$3.set;
@@ -6834,18 +6834,18 @@ addToUnscopables$1('values');
6834
6834
  addToUnscopables$1('entries');
6835
6835
 
6836
6836
  // V8 ~ Chrome 45- bug
6837
- if (DESCRIPTORS$2 && values.name !== 'values') try {
6838
- defineProperty(values, 'name', { value: 'values' });
6837
+ if (DESCRIPTORS$3 && values.name !== 'values') try {
6838
+ defineProperty$1(values, 'name', { value: 'values' });
6839
6839
  } catch (error) { /* empty */ }
6840
6840
 
6841
- var uncurryThis$5 = functionUncurryThis;
6841
+ var uncurryThis$6 = functionUncurryThis;
6842
6842
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
6843
6843
  var toString$2 = toString$9;
6844
6844
  var requireObjectCoercible = requireObjectCoercible$4;
6845
6845
 
6846
- var charAt$4 = uncurryThis$5(''.charAt);
6847
- var charCodeAt$2 = uncurryThis$5(''.charCodeAt);
6848
- var stringSlice$2 = uncurryThis$5(''.slice);
6846
+ var charAt$4 = uncurryThis$6(''.charAt);
6847
+ var charCodeAt$2 = uncurryThis$6(''.charCodeAt);
6848
+ var stringSlice$2 = uncurryThis$6(''.slice);
6849
6849
 
6850
6850
  var createMethod$2 = function (CONVERT_TO_STRING) {
6851
6851
  return function ($this, pos) {
@@ -7040,7 +7040,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
7040
7040
 
7041
7041
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
7042
7042
  var global$5 = global$T;
7043
- var uncurryThis$4 = functionUncurryThis;
7043
+ var uncurryThis$5 = functionUncurryThis;
7044
7044
 
7045
7045
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
7046
7046
  var base = 36;
@@ -7057,15 +7057,15 @@ var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
7057
7057
  var baseMinusTMin = base - tMin;
7058
7058
 
7059
7059
  var RangeError = global$5.RangeError;
7060
- var exec$2 = uncurryThis$4(regexSeparators.exec);
7060
+ var exec$2 = uncurryThis$5(regexSeparators.exec);
7061
7061
  var floor$1 = Math.floor;
7062
7062
  var fromCharCode = String.fromCharCode;
7063
- var charCodeAt$1 = uncurryThis$4(''.charCodeAt);
7064
- var join$2 = uncurryThis$4([].join);
7065
- var push$4 = uncurryThis$4([].push);
7066
- var replace$4 = uncurryThis$4(''.replace);
7067
- var split$3 = uncurryThis$4(''.split);
7068
- var toLowerCase$1 = uncurryThis$4(''.toLowerCase);
7063
+ var charCodeAt$1 = uncurryThis$5(''.charCodeAt);
7064
+ var join$2 = uncurryThis$5([].join);
7065
+ var push$4 = uncurryThis$5([].push);
7066
+ var replace$4 = uncurryThis$5(''.replace);
7067
+ var split$3 = uncurryThis$5(''.split);
7068
+ var toLowerCase$1 = uncurryThis$5(''.toLowerCase);
7069
7069
 
7070
7070
  /**
7071
7071
  * Creates an array containing the numeric code points of each Unicode
@@ -7226,7 +7226,7 @@ var $$6 = _export;
7226
7226
  var global$4 = global$T;
7227
7227
  var getBuiltIn$1 = getBuiltIn$a;
7228
7228
  var call = functionCall;
7229
- var uncurryThis$3 = functionUncurryThis;
7229
+ var uncurryThis$4 = functionUncurryThis;
7230
7230
  var USE_NATIVE_URL$1 = nativeUrl;
7231
7231
  var redefine$1 = redefine$a.exports;
7232
7232
  var redefineAll = redefineAll$2;
@@ -7265,14 +7265,14 @@ var RegExp$1 = global$4.RegExp;
7265
7265
  var TypeError$3 = global$4.TypeError;
7266
7266
  var decodeURIComponent$1 = global$4.decodeURIComponent;
7267
7267
  var encodeURIComponent$1 = global$4.encodeURIComponent;
7268
- var charAt$2 = uncurryThis$3(''.charAt);
7269
- var join$1 = uncurryThis$3([].join);
7270
- var push$3 = uncurryThis$3([].push);
7271
- var replace$3 = uncurryThis$3(''.replace);
7272
- var shift$1 = uncurryThis$3([].shift);
7273
- var splice = uncurryThis$3([].splice);
7274
- var split$2 = uncurryThis$3(''.split);
7275
- var stringSlice$1 = uncurryThis$3(''.slice);
7268
+ var charAt$2 = uncurryThis$4(''.charAt);
7269
+ var join$1 = uncurryThis$4([].join);
7270
+ var push$3 = uncurryThis$4([].push);
7271
+ var replace$3 = uncurryThis$4(''.replace);
7272
+ var shift$1 = uncurryThis$4([].shift);
7273
+ var splice = uncurryThis$4([].splice);
7274
+ var split$2 = uncurryThis$4(''.split);
7275
+ var stringSlice$1 = uncurryThis$4(''.slice);
7276
7276
 
7277
7277
  var plus = /\+/g;
7278
7278
  var sequences = Array(4);
@@ -7555,8 +7555,8 @@ $$6({ global: true, forced: !USE_NATIVE_URL$1 }, {
7555
7555
 
7556
7556
  // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
7557
7557
  if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
7558
- var headersHas = uncurryThis$3(HeadersPrototype.has);
7559
- var headersSet = uncurryThis$3(HeadersPrototype.set);
7558
+ var headersHas = uncurryThis$4(HeadersPrototype.has);
7559
+ var headersSet = uncurryThis$4(HeadersPrototype.set);
7560
7560
 
7561
7561
  var wrapRequestOptions = function (init) {
7562
7562
  if (isObject$1(init)) {
@@ -7606,11 +7606,11 @@ var web_urlSearchParams = {
7606
7606
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
7607
7607
 
7608
7608
  var $$5 = _export;
7609
- var DESCRIPTORS$1 = descriptors$1;
7609
+ var DESCRIPTORS$2 = descriptors$1;
7610
7610
  var USE_NATIVE_URL = nativeUrl;
7611
7611
  var global$3 = global$T;
7612
7612
  var bind$3 = functionBindContext;
7613
- var uncurryThis$2 = functionUncurryThis;
7613
+ var uncurryThis$3 = functionUncurryThis;
7614
7614
  var defineProperties = objectDefineProperties.f;
7615
7615
  var redefine = redefine$a.exports;
7616
7616
  var anInstance = anInstance$3;
@@ -7636,18 +7636,18 @@ var TypeError$2 = global$3.TypeError;
7636
7636
  var parseInt$1 = global$3.parseInt;
7637
7637
  var floor = Math.floor;
7638
7638
  var pow = Math.pow;
7639
- var charAt$1 = uncurryThis$2(''.charAt);
7640
- var exec$1 = uncurryThis$2(/./.exec);
7641
- var join = uncurryThis$2([].join);
7642
- var numberToString$1 = uncurryThis$2(1.0.toString);
7643
- var pop = uncurryThis$2([].pop);
7644
- var push$2 = uncurryThis$2([].push);
7645
- var replace$2 = uncurryThis$2(''.replace);
7646
- var shift = uncurryThis$2([].shift);
7647
- var split$1 = uncurryThis$2(''.split);
7648
- var stringSlice = uncurryThis$2(''.slice);
7649
- var toLowerCase = uncurryThis$2(''.toLowerCase);
7650
- var unshift = uncurryThis$2([].unshift);
7639
+ var charAt$1 = uncurryThis$3(''.charAt);
7640
+ var exec$1 = uncurryThis$3(/./.exec);
7641
+ var join = uncurryThis$3([].join);
7642
+ var numberToString$1 = uncurryThis$3(1.0.toString);
7643
+ var pop = uncurryThis$3([].pop);
7644
+ var push$2 = uncurryThis$3([].push);
7645
+ var replace$2 = uncurryThis$3(''.replace);
7646
+ var shift = uncurryThis$3([].shift);
7647
+ var split$1 = uncurryThis$3(''.split);
7648
+ var stringSlice = uncurryThis$3(''.slice);
7649
+ var toLowerCase = uncurryThis$3(''.toLowerCase);
7650
+ var unshift = uncurryThis$3([].unshift);
7651
7651
 
7652
7652
  var INVALID_AUTHORITY = 'Invalid authority';
7653
7653
  var INVALID_SCHEME = 'Invalid scheme';
@@ -8546,7 +8546,7 @@ var URLConstructor = function URL(url /* , base */) {
8546
8546
  var that = anInstance(this, URLPrototype);
8547
8547
  var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
8548
8548
  var state = setInternalState(that, new URLState(url, false, base));
8549
- if (!DESCRIPTORS$1) {
8549
+ if (!DESCRIPTORS$2) {
8550
8550
  that.href = state.serialize();
8551
8551
  that.origin = state.getOrigin();
8552
8552
  that.protocol = state.getProtocol();
@@ -8577,7 +8577,7 @@ var accessorDescriptor = function (getter, setter) {
8577
8577
  };
8578
8578
  };
8579
8579
 
8580
- if (DESCRIPTORS$1) {
8580
+ if (DESCRIPTORS$2) {
8581
8581
  defineProperties(URLPrototype, {
8582
8582
  // `URL.prototype.href` accessors pair
8583
8583
  // https://url.spec.whatwg.org/#dom-url-href
@@ -8643,7 +8643,7 @@ if (NativeURL) {
8643
8643
 
8644
8644
  setToStringTag(URLConstructor, 'URL');
8645
8645
 
8646
- $$5({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$1 }, {
8646
+ $$5({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
8647
8647
  URL: URLConstructor
8648
8648
  });
8649
8649
 
@@ -12445,6 +12445,32 @@ var PayPalCharge = {
12445
12445
  }
12446
12446
  };
12447
12447
 
12448
+ var DESCRIPTORS$1 = descriptors$1;
12449
+ var FUNCTION_NAME_EXISTS = functionName.EXISTS;
12450
+ var uncurryThis$2 = functionUncurryThis;
12451
+ var defineProperty = objectDefineProperty.f;
12452
+
12453
+ var FunctionPrototype = Function.prototype;
12454
+ var functionToString = uncurryThis$2(FunctionPrototype.toString);
12455
+ var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
12456
+ var regExpExec = uncurryThis$2(nameRE.exec);
12457
+ var NAME = 'name';
12458
+
12459
+ // Function instances `.name` property
12460
+ // https://tc39.es/ecma262/#sec-function-instances-name
12461
+ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
12462
+ defineProperty(FunctionPrototype, NAME, {
12463
+ configurable: true,
12464
+ get: function () {
12465
+ try {
12466
+ return regExpExec(nameRE, functionToString(this))[1];
12467
+ } catch (error) {
12468
+ return '';
12469
+ }
12470
+ }
12471
+ });
12472
+ }
12473
+
12448
12474
  var jsencrypt = {exports: {}};
12449
12475
 
12450
12476
  (function (module, exports) {
@@ -18993,13 +19019,15 @@ var Card$1 = /*#__PURE__*/function () {
18993
19019
  cvv = _ref.cvv,
18994
19020
  month = _ref.month,
18995
19021
  year = _ref.year,
18996
- pin = _ref.pin;
19022
+ pin = _ref.pin,
19023
+ name = _ref.name;
18997
19024
  _classCallCheck(this, Card);
18998
19025
  this.number = number;
18999
19026
  this.cvv = cvv;
19000
19027
  this.month = month;
19001
19028
  this.year = year;
19002
19029
  this.pin = pin;
19030
+ this.name = name;
19003
19031
  }
19004
19032
  _createClass(Card, [{
19005
19033
  key: "getEncryptedPin",
@@ -19087,6 +19115,7 @@ var CardAPI$1 = {
19087
19115
  trans = _ref.trans,
19088
19116
  device = _ref.device,
19089
19117
  rememberCard = _ref.rememberCard,
19118
+ cardHolderName = _ref.cardHolderName,
19090
19119
  transactionType = _ref.transactionType,
19091
19120
  subscription = _ref.subscription,
19092
19121
  customFields = _ref.customFields;
@@ -19097,14 +19126,16 @@ var CardAPI$1 = {
19097
19126
  }, language && {
19098
19127
  'Accept-Language': language
19099
19128
  });
19100
- var chargeParams = _objectSpread2(_objectSpread2(_objectSpread2({
19129
+ var chargeParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
19101
19130
  clientdata: clientdata,
19102
19131
  last4: last4,
19103
19132
  trans: trans,
19104
19133
  device: device,
19105
19134
  offset: new Date().getTimezoneOffset(),
19106
19135
  remember_card: rememberCard
19107
- }, transactionType && {
19136
+ }, cardHolderName && {
19137
+ card_holder_name: cardHolderName
19138
+ }), transactionType && {
19108
19139
  transaction_type: transactionType
19109
19140
  }), subscription && {
19110
19141
  subscription: subscription
@@ -19410,6 +19441,46 @@ var CardAPI$1 = {
19410
19441
  }
19411
19442
  }, _callee5);
19412
19443
  }))();
19444
+ },
19445
+ getReachTaxQuote: function getReachTaxQuote(_ref11) {
19446
+ return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
19447
+ var transaction, address, merchantKey, _ref11$gateway, gateway, url, language, headers, params, response;
19448
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
19449
+ while (1) {
19450
+ switch (_context6.prev = _context6.next) {
19451
+ case 0:
19452
+ transaction = _ref11.transaction, address = _ref11.address, merchantKey = _ref11.merchantKey, _ref11$gateway = _ref11.gateway, gateway = _ref11$gateway === void 0 ? 'REACH' : _ref11$gateway;
19453
+ url = new URL('/transaction/tax_quote', configToUse.paystackApiUrl).toString();
19454
+ language = getLanguage();
19455
+ headers = _objectSpread2({
19456
+ Authorization: "Bearer ".concat(merchantKey)
19457
+ }, language && {
19458
+ 'Accept-Language': language
19459
+ });
19460
+ params = {
19461
+ transaction_id: transaction,
19462
+ address_street: address.street,
19463
+ address_city: address.city,
19464
+ address_region: address.state,
19465
+ address_postcode: address.postCode,
19466
+ address_country: address.country,
19467
+ gateway: gateway
19468
+ };
19469
+ _context6.next = 7;
19470
+ return axiosInstance.get(url, {
19471
+ params: params,
19472
+ headers: headers
19473
+ });
19474
+ case 7:
19475
+ response = _context6.sent;
19476
+ return _context6.abrupt("return", response.data);
19477
+ case 9:
19478
+ case "end":
19479
+ return _context6.stop();
19480
+ }
19481
+ }
19482
+ }, _callee6);
19483
+ }))();
19413
19484
  }
19414
19485
  };
19415
19486
 
@@ -19457,6 +19528,7 @@ var CardCharge = {
19457
19528
  trans: _this2.id,
19458
19529
  device: _this2.deviceFingerprint,
19459
19530
  rememberCard: _this2.remember_card,
19531
+ cardHolderName: _this2.card.name,
19460
19532
  transactionType: _this2.transactionType,
19461
19533
  subscription: _this2.subscription,
19462
19534
  customFields: customFields
@@ -19665,6 +19737,24 @@ var CardCharge = {
19665
19737
  device: this.deviceFingerprint,
19666
19738
  selectedCurrency: selectedCurrency
19667
19739
  });
19740
+ },
19741
+ getReachTaxQuote: function getReachTaxQuote(_ref7) {
19742
+ var street = _ref7.street,
19743
+ city = _ref7.city,
19744
+ state = _ref7.state,
19745
+ postCode = _ref7.postCode,
19746
+ country = _ref7.country;
19747
+ return CardAPI$1.getReachTaxQuote({
19748
+ transaction: this.id,
19749
+ address: {
19750
+ street: street,
19751
+ city: city,
19752
+ state: state,
19753
+ postCode: postCode,
19754
+ country: country
19755
+ },
19756
+ merchantKey: this.merchant.key
19757
+ });
19668
19758
  }
19669
19759
  };
19670
19760
 
@@ -21508,6 +21598,7 @@ var TransactionInstance = /*#__PURE__*/function () {
21508
21598
  channelSettings: data.merchant_channel_settings || {}
21509
21599
  };
21510
21600
  this.status = data.transaction_status || data.status;
21601
+ this.channelSettings = data.channel_settings || {};
21511
21602
  this.accessCode = data.access_code;
21512
21603
  this.amount = data.amount;
21513
21604
  this.domain = data.domain;
@@ -21833,6 +21924,42 @@ var ToolkitAPI = {
21833
21924
  resolvedCardBins[bin] = data;
21834
21925
  return data;
21835
21926
  });
21927
+ },
21928
+ fetchCountries: function fetchCountries(_ref2) {
21929
+ var scope = _ref2.scope,
21930
+ merchantKey = _ref2.merchantKey;
21931
+ var url = new URL('/address/country', configToUse.paystackApiUrl).toString();
21932
+ var language = getLanguage();
21933
+ var headers = _objectSpread2({
21934
+ Authorization: "Bearer ".concat(merchantKey)
21935
+ }, language && {
21936
+ 'Accept-Language': language
21937
+ });
21938
+ var params = scope ? {
21939
+ scope: scope
21940
+ } : undefined;
21941
+ return axiosInstance.get(url, {
21942
+ params: params,
21943
+ headers: headers
21944
+ }).then(function (response) {
21945
+ return response.data;
21946
+ });
21947
+ },
21948
+ fetchReachStates: function fetchReachStates(_ref3) {
21949
+ var country = _ref3.country,
21950
+ merchantKey = _ref3.merchantKey;
21951
+ var url = new URL("/address/country/".concat(country, "/state"), configToUse.paystackApiUrl).toString();
21952
+ var language = getLanguage();
21953
+ var headers = _objectSpread2({
21954
+ Authorization: "Bearer ".concat(merchantKey)
21955
+ }, language && {
21956
+ 'Accept-Language': language
21957
+ });
21958
+ return axiosInstance.get(url, {
21959
+ headers: headers
21960
+ }).then(function (response) {
21961
+ return response.data;
21962
+ });
21836
21963
  }
21837
21964
  };
21838
21965
 
@@ -21855,6 +21982,12 @@ var Toolkit = /*#__PURE__*/function () {
21855
21982
  }, {
21856
21983
  key: 'states',
21857
21984
  usage: 'Returns a list of states for a particular country'
21985
+ }, {
21986
+ key: 'countries',
21987
+ usage: 'Returns a list of countries that can be scoped to specific use cases'
21988
+ }, {
21989
+ key: 'reachStates',
21990
+ usage: 'Returns a list of states for reach address verification for a particular country'
21858
21991
  }];
21859
21992
  }
21860
21993
  }, {
@@ -21882,6 +22015,12 @@ var Toolkit = /*#__PURE__*/function () {
21882
22015
  case 'states':
21883
22016
  data = ToolkitAPI.fetchStates(params);
21884
22017
  break;
22018
+ case 'countries':
22019
+ data = ToolkitAPI.fetchCountries(params);
22020
+ break;
22021
+ case 'reachStates':
22022
+ data = ToolkitAPI.fetchReachStates(params);
22023
+ break;
21885
22024
  }
21886
22025
  return data;
21887
22026
  }