@thecb/components 9.1.2-beta.2 → 9.1.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +176 -145
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +176 -145
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/payment-button-bar/PaymentButtonBar.js +0 -10
- package/src/components/templates/center-single/CenterSingle.js +2 -6
- package/src/components/templates/center-stack/CenterStack.js +4 -2
- package/src/components/templates/default-page-template/DefaultPageTemplate.js +1 -2
- package/src/util/general.js +0 -4
package/dist/index.cjs.js
CHANGED
|
@@ -6364,9 +6364,6 @@ var titleCaseString = function titleCaseString(string) {
|
|
|
6364
6364
|
return index === 0 || index === string.length - 1 || word.length > 3 ? titleCaseWord(word.toLowerCase()) : word;
|
|
6365
6365
|
}).join(" ");
|
|
6366
6366
|
};
|
|
6367
|
-
var kebabCaseString = function kebabCaseString(string) {
|
|
6368
|
-
return string === null || string === void 0 ? void 0 : string.replaceAll(" ", "-").toLowerCase();
|
|
6369
|
-
};
|
|
6370
6367
|
|
|
6371
6368
|
var general = /*#__PURE__*/Object.freeze({
|
|
6372
6369
|
__proto__: null,
|
|
@@ -6386,8 +6383,7 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
6386
6383
|
MOBILE_WIDTH: MOBILE_WIDTH,
|
|
6387
6384
|
throttle: throttle,
|
|
6388
6385
|
titleCaseWord: titleCaseWord,
|
|
6389
|
-
titleCaseString: titleCaseString
|
|
6390
|
-
kebabCaseString: kebabCaseString
|
|
6386
|
+
titleCaseString: titleCaseString
|
|
6391
6387
|
});
|
|
6392
6388
|
|
|
6393
6389
|
var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
|
|
@@ -22423,17 +22419,18 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22423
22419
|
};
|
|
22424
22420
|
|
|
22425
22421
|
var check = function (it) {
|
|
22426
|
-
return it && it.Math
|
|
22422
|
+
return it && it.Math === Math && it;
|
|
22427
22423
|
};
|
|
22428
22424
|
|
|
22429
22425
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22430
22426
|
var global_1 =
|
|
22431
|
-
// eslint-disable-next-line es
|
|
22427
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22432
22428
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22433
22429
|
check(typeof window == 'object' && window) ||
|
|
22434
22430
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22435
22431
|
check(typeof self == 'object' && self) ||
|
|
22436
22432
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22433
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22437
22434
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22438
22435
|
(function () { return this; })() || Function('return this')();
|
|
22439
22436
|
|
|
@@ -22447,12 +22444,12 @@ var fails = function (exec) {
|
|
|
22447
22444
|
|
|
22448
22445
|
// Detect IE8's incomplete defineProperty implementation
|
|
22449
22446
|
var descriptors = !fails(function () {
|
|
22450
|
-
// eslint-disable-next-line es
|
|
22451
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22447
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22448
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
22452
22449
|
});
|
|
22453
22450
|
|
|
22454
22451
|
var functionBindNative = !fails(function () {
|
|
22455
|
-
// eslint-disable-next-line es
|
|
22452
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22456
22453
|
var test = (function () { /* empty */ }).bind();
|
|
22457
22454
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22458
22455
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22465,7 +22462,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22465
22462
|
};
|
|
22466
22463
|
|
|
22467
22464
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22468
|
-
// eslint-disable-next-line es
|
|
22465
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22469
22466
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22470
22467
|
|
|
22471
22468
|
// Nashorn ~ JDK8 bug
|
|
@@ -22492,14 +22489,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22492
22489
|
};
|
|
22493
22490
|
|
|
22494
22491
|
var FunctionPrototype = Function.prototype;
|
|
22495
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22496
22492
|
var call$1 = FunctionPrototype.call;
|
|
22497
|
-
var
|
|
22493
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22498
22494
|
|
|
22499
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22500
|
-
return
|
|
22501
|
-
} : function (fn) {
|
|
22502
|
-
return fn && function () {
|
|
22495
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22496
|
+
return function () {
|
|
22503
22497
|
return call$1.apply(fn, arguments);
|
|
22504
22498
|
};
|
|
22505
22499
|
};
|
|
@@ -22520,15 +22514,21 @@ var indexedObject = fails(function () {
|
|
|
22520
22514
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22521
22515
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22522
22516
|
}) ? function (it) {
|
|
22523
|
-
return classofRaw(it)
|
|
22517
|
+
return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
|
|
22524
22518
|
} : $Object;
|
|
22525
22519
|
|
|
22520
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22521
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22522
|
+
var isNullOrUndefined = function (it) {
|
|
22523
|
+
return it === null || it === undefined;
|
|
22524
|
+
};
|
|
22525
|
+
|
|
22526
22526
|
var $TypeError = TypeError;
|
|
22527
22527
|
|
|
22528
22528
|
// `RequireObjectCoercible` abstract operation
|
|
22529
22529
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22530
22530
|
var requireObjectCoercible = function (it) {
|
|
22531
|
-
if (it
|
|
22531
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
22532
22532
|
return it;
|
|
22533
22533
|
};
|
|
22534
22534
|
|
|
@@ -22540,13 +22540,32 @@ var toIndexedObject = function (it) {
|
|
|
22540
22540
|
return indexedObject(requireObjectCoercible(it));
|
|
22541
22541
|
};
|
|
22542
22542
|
|
|
22543
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22544
|
+
|
|
22545
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22546
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22547
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22548
|
+
|
|
22549
|
+
var documentAll_1 = {
|
|
22550
|
+
all: documentAll,
|
|
22551
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22552
|
+
};
|
|
22553
|
+
|
|
22554
|
+
var documentAll$1 = documentAll_1.all;
|
|
22555
|
+
|
|
22543
22556
|
// `IsCallable` abstract operation
|
|
22544
22557
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22545
|
-
var isCallable = function (argument) {
|
|
22558
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22559
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22560
|
+
} : function (argument) {
|
|
22546
22561
|
return typeof argument == 'function';
|
|
22547
22562
|
};
|
|
22548
22563
|
|
|
22549
|
-
var
|
|
22564
|
+
var documentAll$2 = documentAll_1.all;
|
|
22565
|
+
|
|
22566
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22567
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22568
|
+
} : function (it) {
|
|
22550
22569
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22551
22570
|
};
|
|
22552
22571
|
|
|
@@ -22560,7 +22579,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22560
22579
|
|
|
22561
22580
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22562
22581
|
|
|
22563
|
-
var engineUserAgent =
|
|
22582
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22564
22583
|
|
|
22565
22584
|
var process$1 = global_1.process;
|
|
22566
22585
|
var Deno = global_1.Deno;
|
|
@@ -22587,24 +22606,29 @@ if (!version && engineUserAgent) {
|
|
|
22587
22606
|
|
|
22588
22607
|
var engineV8Version = version;
|
|
22589
22608
|
|
|
22590
|
-
/* eslint-disable es
|
|
22609
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22591
22610
|
|
|
22592
22611
|
|
|
22593
22612
|
|
|
22594
|
-
|
|
22595
|
-
var
|
|
22596
|
-
|
|
22613
|
+
|
|
22614
|
+
var $String = global_1.String;
|
|
22615
|
+
|
|
22616
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22617
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22618
|
+
var symbol = Symbol('symbol detection');
|
|
22597
22619
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22598
22620
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22599
|
-
|
|
22621
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
22622
|
+
// of course, fail.
|
|
22623
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22600
22624
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22601
22625
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22602
22626
|
});
|
|
22603
22627
|
|
|
22604
|
-
/* eslint-disable es
|
|
22628
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22605
22629
|
|
|
22606
22630
|
|
|
22607
|
-
var useSymbolAsUid =
|
|
22631
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22608
22632
|
&& !Symbol.sham
|
|
22609
22633
|
&& typeof Symbol.iterator == 'symbol';
|
|
22610
22634
|
|
|
@@ -22617,11 +22641,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22617
22641
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22618
22642
|
};
|
|
22619
22643
|
|
|
22620
|
-
var $String = String;
|
|
22644
|
+
var $String$1 = String;
|
|
22621
22645
|
|
|
22622
22646
|
var tryToString = function (argument) {
|
|
22623
22647
|
try {
|
|
22624
|
-
return $String(argument);
|
|
22648
|
+
return $String$1(argument);
|
|
22625
22649
|
} catch (error) {
|
|
22626
22650
|
return 'Object';
|
|
22627
22651
|
}
|
|
@@ -22632,14 +22656,14 @@ var $TypeError$1 = TypeError;
|
|
|
22632
22656
|
// `Assert: IsCallable(argument) is true`
|
|
22633
22657
|
var aCallable = function (argument) {
|
|
22634
22658
|
if (isCallable(argument)) return argument;
|
|
22635
|
-
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22659
|
+
throw new $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22636
22660
|
};
|
|
22637
22661
|
|
|
22638
22662
|
// `GetMethod` abstract operation
|
|
22639
22663
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22640
22664
|
var getMethod = function (V, P) {
|
|
22641
22665
|
var func = V[P];
|
|
22642
|
-
return func
|
|
22666
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22643
22667
|
};
|
|
22644
22668
|
|
|
22645
22669
|
var $TypeError$2 = TypeError;
|
|
@@ -22651,10 +22675,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22651
22675
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22652
22676
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22653
22677
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22654
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
22678
|
+
throw new $TypeError$2("Can't convert object to primitive value");
|
|
22655
22679
|
};
|
|
22656
22680
|
|
|
22657
|
-
// eslint-disable-next-line es
|
|
22681
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22658
22682
|
var defineProperty = Object.defineProperty;
|
|
22659
22683
|
|
|
22660
22684
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22671,13 +22695,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22671
22695
|
var sharedStore = store;
|
|
22672
22696
|
|
|
22673
22697
|
var shared = createCommonjsModule(function (module) {
|
|
22698
|
+
|
|
22699
|
+
|
|
22700
|
+
|
|
22674
22701
|
(module.exports = function (key, value) {
|
|
22675
22702
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22676
22703
|
})('versions', []).push({
|
|
22677
|
-
version: '3.
|
|
22704
|
+
version: '3.34.0',
|
|
22678
22705
|
mode: 'global',
|
|
22679
|
-
copyright: '© 2014-
|
|
22680
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22706
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22707
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE',
|
|
22681
22708
|
source: 'https://github.com/zloirock/core-js'
|
|
22682
22709
|
});
|
|
22683
22710
|
});
|
|
@@ -22694,7 +22721,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22694
22721
|
|
|
22695
22722
|
// `HasOwnProperty` abstract operation
|
|
22696
22723
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22697
|
-
// eslint-disable-next-line es
|
|
22724
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22698
22725
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22699
22726
|
return hasOwnProperty(toObject(it), key);
|
|
22700
22727
|
};
|
|
@@ -22707,21 +22734,15 @@ var uid = function (key) {
|
|
|
22707
22734
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22708
22735
|
};
|
|
22709
22736
|
|
|
22710
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22711
22737
|
var Symbol$1 = global_1.Symbol;
|
|
22712
|
-
var
|
|
22713
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22738
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22739
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22714
22740
|
|
|
22715
22741
|
var wellKnownSymbol = function (name) {
|
|
22716
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22717
|
-
|
|
22718
|
-
|
|
22719
|
-
|
|
22720
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22721
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22722
|
-
} else {
|
|
22723
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22724
|
-
}
|
|
22742
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22743
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22744
|
+
? Symbol$1[name]
|
|
22745
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22725
22746
|
} return WellKnownSymbolsStore[name];
|
|
22726
22747
|
};
|
|
22727
22748
|
|
|
@@ -22738,7 +22759,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22738
22759
|
if (pref === undefined) pref = 'default';
|
|
22739
22760
|
result = functionCall(exoticToPrim, input, pref);
|
|
22740
22761
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22741
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
22762
|
+
throw new $TypeError$3("Can't convert object to primitive value");
|
|
22742
22763
|
}
|
|
22743
22764
|
if (pref === undefined) pref = 'number';
|
|
22744
22765
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22761,13 +22782,13 @@ var documentCreateElement = function (it) {
|
|
|
22761
22782
|
|
|
22762
22783
|
// Thanks to IE8 for its funny defineProperty
|
|
22763
22784
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22764
|
-
// eslint-disable-next-line es
|
|
22785
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22765
22786
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22766
22787
|
get: function () { return 7; }
|
|
22767
|
-
}).a
|
|
22788
|
+
}).a !== 7;
|
|
22768
22789
|
});
|
|
22769
22790
|
|
|
22770
|
-
// eslint-disable-next-line es
|
|
22791
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22771
22792
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22772
22793
|
|
|
22773
22794
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22788,26 +22809,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22788
22809
|
// V8 ~ Chrome 36-
|
|
22789
22810
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22790
22811
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22791
|
-
// eslint-disable-next-line es
|
|
22812
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22792
22813
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22793
22814
|
value: 42,
|
|
22794
22815
|
writable: false
|
|
22795
|
-
}).prototype
|
|
22816
|
+
}).prototype !== 42;
|
|
22796
22817
|
});
|
|
22797
22818
|
|
|
22798
|
-
var $String$
|
|
22819
|
+
var $String$2 = String;
|
|
22799
22820
|
var $TypeError$4 = TypeError;
|
|
22800
22821
|
|
|
22801
22822
|
// `Assert: Type(argument) is Object`
|
|
22802
22823
|
var anObject = function (argument) {
|
|
22803
22824
|
if (isObject(argument)) return argument;
|
|
22804
|
-
throw $TypeError$4($String$
|
|
22825
|
+
throw new $TypeError$4($String$2(argument) + ' is not an object');
|
|
22805
22826
|
};
|
|
22806
22827
|
|
|
22807
22828
|
var $TypeError$5 = TypeError;
|
|
22808
|
-
// eslint-disable-next-line es
|
|
22829
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22809
22830
|
var $defineProperty = Object.defineProperty;
|
|
22810
|
-
// eslint-disable-next-line es
|
|
22831
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22811
22832
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22812
22833
|
var ENUMERABLE = 'enumerable';
|
|
22813
22834
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22837,7 +22858,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22837
22858
|
if (ie8DomDefine) try {
|
|
22838
22859
|
return $defineProperty(O, P, Attributes);
|
|
22839
22860
|
} catch (error) { /* empty */ }
|
|
22840
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22861
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
22841
22862
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22842
22863
|
return O;
|
|
22843
22864
|
};
|
|
@@ -22854,7 +22875,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22854
22875
|
};
|
|
22855
22876
|
|
|
22856
22877
|
var FunctionPrototype$1 = Function.prototype;
|
|
22857
|
-
// eslint-disable-next-line es
|
|
22878
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22858
22879
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22859
22880
|
|
|
22860
22881
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22881,7 +22902,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22881
22902
|
|
|
22882
22903
|
var WeakMap$1 = global_1.WeakMap;
|
|
22883
22904
|
|
|
22884
|
-
var
|
|
22905
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22885
22906
|
|
|
22886
22907
|
var keys$1 = shared('keys');
|
|
22887
22908
|
|
|
@@ -22904,27 +22925,29 @@ var getterFor = function (TYPE) {
|
|
|
22904
22925
|
return function (it) {
|
|
22905
22926
|
var state;
|
|
22906
22927
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22907
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22928
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22908
22929
|
} return state;
|
|
22909
22930
|
};
|
|
22910
22931
|
};
|
|
22911
22932
|
|
|
22912
|
-
if (
|
|
22933
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22913
22934
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22914
|
-
|
|
22915
|
-
|
|
22916
|
-
|
|
22935
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
22936
|
+
store$1.get = store$1.get;
|
|
22937
|
+
store$1.has = store$1.has;
|
|
22938
|
+
store$1.set = store$1.set;
|
|
22939
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22917
22940
|
set = function (it, metadata) {
|
|
22918
|
-
if (
|
|
22941
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22919
22942
|
metadata.facade = it;
|
|
22920
|
-
|
|
22943
|
+
store$1.set(it, metadata);
|
|
22921
22944
|
return metadata;
|
|
22922
22945
|
};
|
|
22923
22946
|
get = function (it) {
|
|
22924
|
-
return
|
|
22947
|
+
return store$1.get(it) || {};
|
|
22925
22948
|
};
|
|
22926
22949
|
has = function (it) {
|
|
22927
|
-
return
|
|
22950
|
+
return store$1.has(it);
|
|
22928
22951
|
};
|
|
22929
22952
|
} else {
|
|
22930
22953
|
var STATE = sharedKey('state');
|
|
@@ -22952,14 +22975,23 @@ var internalState = {
|
|
|
22952
22975
|
};
|
|
22953
22976
|
|
|
22954
22977
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
22978
|
+
|
|
22979
|
+
|
|
22980
|
+
|
|
22981
|
+
|
|
22982
|
+
|
|
22955
22983
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
22956
22984
|
|
|
22957
22985
|
|
|
22958
22986
|
|
|
22959
22987
|
var enforceInternalState = internalState.enforce;
|
|
22960
22988
|
var getInternalState = internalState.get;
|
|
22961
|
-
|
|
22989
|
+
var $String = String;
|
|
22990
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22962
22991
|
var defineProperty = Object.defineProperty;
|
|
22992
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
22993
|
+
var replace = functionUncurryThis(''.replace);
|
|
22994
|
+
var join = functionUncurryThis([].join);
|
|
22963
22995
|
|
|
22964
22996
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
22965
22997
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -22968,8 +23000,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
22968
23000
|
var TEMPLATE = String(String).split('String');
|
|
22969
23001
|
|
|
22970
23002
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
22971
|
-
if (String(name)
|
|
22972
|
-
name = '[' + String(name)
|
|
23003
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
23004
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
22973
23005
|
}
|
|
22974
23006
|
if (options && options.getter) name = 'get ' + name;
|
|
22975
23007
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -22988,7 +23020,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
22988
23020
|
} catch (error) { /* empty */ }
|
|
22989
23021
|
var state = enforceInternalState(value);
|
|
22990
23022
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
22991
|
-
state.source =
|
|
23023
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
22992
23024
|
} return value;
|
|
22993
23025
|
};
|
|
22994
23026
|
|
|
@@ -23027,7 +23059,7 @@ var floor = Math.floor;
|
|
|
23027
23059
|
|
|
23028
23060
|
// `Math.trunc` method
|
|
23029
23061
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23030
|
-
// eslint-disable-next-line es
|
|
23062
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23031
23063
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23032
23064
|
var n = +x;
|
|
23033
23065
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23075,10 +23107,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23075
23107
|
var value;
|
|
23076
23108
|
// Array#includes uses SameValueZero equality algorithm
|
|
23077
23109
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23078
|
-
if (IS_INCLUDES && el
|
|
23110
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
23079
23111
|
value = O[index++];
|
|
23080
23112
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23081
|
-
if (value
|
|
23113
|
+
if (value !== value) return true;
|
|
23082
23114
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23083
23115
|
} else for (;length > index; index++) {
|
|
23084
23116
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23128,7 +23160,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23128
23160
|
|
|
23129
23161
|
// `Object.getOwnPropertyNames` method
|
|
23130
23162
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23131
|
-
// eslint-disable-next-line es
|
|
23163
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23132
23164
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23133
23165
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23134
23166
|
};
|
|
@@ -23137,7 +23169,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23137
23169
|
f: f$3
|
|
23138
23170
|
};
|
|
23139
23171
|
|
|
23140
|
-
// eslint-disable-next-line es
|
|
23172
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23141
23173
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23142
23174
|
|
|
23143
23175
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23169,8 +23201,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23169
23201
|
|
|
23170
23202
|
var isForced = function (feature, detection) {
|
|
23171
23203
|
var value = data[normalize(feature)];
|
|
23172
|
-
return value
|
|
23173
|
-
: value
|
|
23204
|
+
return value === POLYFILL ? true
|
|
23205
|
+
: value === NATIVE ? false
|
|
23174
23206
|
: isCallable(detection) ? fails(detection)
|
|
23175
23207
|
: !!detection;
|
|
23176
23208
|
};
|
|
@@ -23250,7 +23282,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23250
23282
|
var $Object$3 = Object;
|
|
23251
23283
|
|
|
23252
23284
|
// ES3 wrong here
|
|
23253
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23285
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
23254
23286
|
|
|
23255
23287
|
// fallback for IE11 Script Access Denied error
|
|
23256
23288
|
var tryGet = function (it, key) {
|
|
@@ -23268,25 +23300,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23268
23300
|
// builtinTag case
|
|
23269
23301
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23270
23302
|
// ES3 arguments fallback
|
|
23271
|
-
: (result = classofRaw(O))
|
|
23303
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23272
23304
|
};
|
|
23273
23305
|
|
|
23274
|
-
var $String$
|
|
23306
|
+
var $String$3 = String;
|
|
23275
23307
|
|
|
23276
23308
|
var toString_1 = function (argument) {
|
|
23277
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23278
|
-
return $String$
|
|
23309
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
23310
|
+
return $String$3(argument);
|
|
23279
23311
|
};
|
|
23280
23312
|
|
|
23281
23313
|
var charAt = functionUncurryThis(''.charAt);
|
|
23282
23314
|
|
|
23283
23315
|
var FORCED = fails(function () {
|
|
23284
|
-
// eslint-disable-next-line es
|
|
23316
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23285
23317
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23286
23318
|
});
|
|
23287
23319
|
|
|
23288
23320
|
// `String.prototype.at` method
|
|
23289
|
-
// https://
|
|
23321
|
+
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
23290
23322
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23291
23323
|
at: function at(index) {
|
|
23292
23324
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23299,14 +23331,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23299
23331
|
|
|
23300
23332
|
// `Object.keys` method
|
|
23301
23333
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23302
|
-
// eslint-disable-next-line es
|
|
23334
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23303
23335
|
var objectKeys = Object.keys || function keys(O) {
|
|
23304
23336
|
return objectKeysInternal(O, enumBugKeys);
|
|
23305
23337
|
};
|
|
23306
23338
|
|
|
23307
23339
|
// `Object.defineProperties` method
|
|
23308
23340
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23309
|
-
// eslint-disable-next-line es
|
|
23341
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23310
23342
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23311
23343
|
anObject(O);
|
|
23312
23344
|
var props = toIndexedObject(Properties);
|
|
@@ -23395,7 +23427,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23395
23427
|
|
|
23396
23428
|
// `Object.create` method
|
|
23397
23429
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23398
|
-
// eslint-disable-next-line es
|
|
23430
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23399
23431
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23400
23432
|
var result;
|
|
23401
23433
|
if (O !== null) {
|
|
@@ -23415,7 +23447,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23415
23447
|
|
|
23416
23448
|
// Array.prototype[@@unscopables]
|
|
23417
23449
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23418
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23450
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
23419
23451
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23420
23452
|
configurable: true,
|
|
23421
23453
|
value: objectCreate(null)
|
|
@@ -23428,7 +23460,7 @@ var addToUnscopables = function (key) {
|
|
|
23428
23460
|
};
|
|
23429
23461
|
|
|
23430
23462
|
// `Array.prototype.at` method
|
|
23431
|
-
// https://
|
|
23463
|
+
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
23432
23464
|
_export({ target: 'Array', proto: true }, {
|
|
23433
23465
|
at: function at(index) {
|
|
23434
23466
|
var O = toObject(this);
|
|
@@ -23441,13 +23473,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23441
23473
|
|
|
23442
23474
|
addToUnscopables('at');
|
|
23443
23475
|
|
|
23444
|
-
// eslint-disable-next-line es
|
|
23445
|
-
var
|
|
23476
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23477
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23478
|
+
|
|
23479
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23480
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23481
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23482
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23483
|
+
};
|
|
23446
23484
|
|
|
23447
23485
|
var correctPrototypeGetter = !fails(function () {
|
|
23448
23486
|
function F() { /* empty */ }
|
|
23449
23487
|
F.prototype.constructor = null;
|
|
23450
|
-
// eslint-disable-next-line es
|
|
23488
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23451
23489
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23452
23490
|
});
|
|
23453
23491
|
|
|
@@ -23457,7 +23495,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23457
23495
|
|
|
23458
23496
|
// `Object.getPrototypeOf` method
|
|
23459
23497
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23460
|
-
// eslint-disable-next-line es
|
|
23498
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23461
23499
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23462
23500
|
var object = toObject(O);
|
|
23463
23501
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23467,12 +23505,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23467
23505
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23468
23506
|
};
|
|
23469
23507
|
|
|
23470
|
-
var
|
|
23508
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23509
|
+
try {
|
|
23510
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23511
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23512
|
+
} catch (error) { /* empty */ }
|
|
23513
|
+
};
|
|
23514
|
+
|
|
23515
|
+
var $String$4 = String;
|
|
23471
23516
|
var $TypeError$6 = TypeError;
|
|
23472
23517
|
|
|
23473
23518
|
var aPossiblePrototype = function (argument) {
|
|
23474
23519
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23475
|
-
throw $TypeError$6("Can't set " + $String$
|
|
23520
|
+
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
23476
23521
|
};
|
|
23477
23522
|
|
|
23478
23523
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23483,14 +23528,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23483
23528
|
// `Object.setPrototypeOf` method
|
|
23484
23529
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23485
23530
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23486
|
-
// eslint-disable-next-line es
|
|
23531
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23487
23532
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23488
23533
|
var CORRECT_SETTER = false;
|
|
23489
23534
|
var test = {};
|
|
23490
23535
|
var setter;
|
|
23491
23536
|
try {
|
|
23492
|
-
|
|
23493
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23537
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23494
23538
|
setter(test, []);
|
|
23495
23539
|
CORRECT_SETTER = test instanceof Array;
|
|
23496
23540
|
} catch (error) { /* empty */ }
|
|
@@ -23503,14 +23547,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23503
23547
|
};
|
|
23504
23548
|
}() : undefined);
|
|
23505
23549
|
|
|
23506
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23507
|
-
|
|
23508
|
-
|
|
23509
|
-
|
|
23510
|
-
|
|
23511
|
-
|
|
23512
|
-
|
|
23513
|
-
|
|
23514
23550
|
var enforceInternalState = internalState.enforce;
|
|
23515
23551
|
var getInternalState = internalState.get;
|
|
23516
23552
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23526,7 +23562,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23526
23562
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23527
23563
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23528
23564
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23529
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23565
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23530
23566
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23531
23567
|
var NAME, Constructor, Prototype;
|
|
23532
23568
|
|
|
@@ -23571,12 +23607,12 @@ var isTypedArray = function (it) {
|
|
|
23571
23607
|
|
|
23572
23608
|
var aTypedArray = function (it) {
|
|
23573
23609
|
if (isTypedArray(it)) return it;
|
|
23574
|
-
throw TypeError$2('Target is not a typed array');
|
|
23610
|
+
throw new TypeError$2('Target is not a typed array');
|
|
23575
23611
|
};
|
|
23576
23612
|
|
|
23577
23613
|
var aTypedArrayConstructor = function (C) {
|
|
23578
23614
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23579
|
-
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23615
|
+
throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23580
23616
|
};
|
|
23581
23617
|
|
|
23582
23618
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23640,7 +23676,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23640
23676
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23641
23677
|
// eslint-disable-next-line no-shadow -- safe
|
|
23642
23678
|
TypedArray = function TypedArray() {
|
|
23643
|
-
throw TypeError$2('Incorrect invocation');
|
|
23679
|
+
throw new TypeError$2('Incorrect invocation');
|
|
23644
23680
|
};
|
|
23645
23681
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23646
23682
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23661,9 +23697,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23661
23697
|
|
|
23662
23698
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23663
23699
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23664
|
-
|
|
23665
|
-
|
|
23666
|
-
|
|
23700
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23701
|
+
configurable: true,
|
|
23702
|
+
get: function () {
|
|
23703
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23704
|
+
}
|
|
23705
|
+
});
|
|
23667
23706
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23668
23707
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23669
23708
|
}
|
|
@@ -23687,7 +23726,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23687
23726
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23688
23727
|
|
|
23689
23728
|
// `%TypedArray%.prototype.at` method
|
|
23690
|
-
// https://
|
|
23729
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
23691
23730
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23692
23731
|
var O = aTypedArray$1(this);
|
|
23693
23732
|
var len = lengthOfArrayLike(O);
|
|
@@ -47070,8 +47109,6 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47070
47109
|
forwardButtonLoading = _ref.forwardButtonLoading,
|
|
47071
47110
|
_ref$forwardButtonVar = _ref.forwardButtonVariant,
|
|
47072
47111
|
forwardButtonVariant = _ref$forwardButtonVar === void 0 ? "primary" : _ref$forwardButtonVar,
|
|
47073
|
-
_ref$forwardButtonAri = _ref.forwardButtonAriaRole,
|
|
47074
|
-
forwardButtonAriaRole = _ref$forwardButtonAri === void 0 ? "button" : _ref$forwardButtonAri,
|
|
47075
47112
|
_ref$backButtonVarian = _ref.backButtonVariant,
|
|
47076
47113
|
backButtonVariant = _ref$backButtonVarian === void 0 ? "secondary" : _ref$backButtonVarian,
|
|
47077
47114
|
backButtonAction = _ref.backButtonAction,
|
|
@@ -47095,17 +47132,13 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47095
47132
|
url: cancelURL,
|
|
47096
47133
|
variant: backButtonVariant,
|
|
47097
47134
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47098
|
-
dataQa: cancelText
|
|
47099
|
-
"aria-labelledby": "".concat(kebabCaseString(cancelText), "-button"),
|
|
47100
|
-
role: "link"
|
|
47135
|
+
dataQa: cancelText
|
|
47101
47136
|
}) : backButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47102
47137
|
text: "Back",
|
|
47103
47138
|
variant: backButtonVariant,
|
|
47104
47139
|
action: backButtonAction,
|
|
47105
47140
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47106
|
-
dataQa: "Back"
|
|
47107
|
-
"aria-labelledby": "back-button",
|
|
47108
|
-
role: "link"
|
|
47141
|
+
dataQa: "Back"
|
|
47109
47142
|
});
|
|
47110
47143
|
var forwardButton = !!redirectURL ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
|
|
47111
47144
|
url: redirectURL,
|
|
@@ -47113,9 +47146,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47113
47146
|
variant: forwardButtonVariant,
|
|
47114
47147
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47115
47148
|
dataQa: redirectText,
|
|
47116
|
-
disabled: isForwardButtonDisabled
|
|
47117
|
-
"aria-labelledby": "".concat(kebabCaseString(redirectText), "-button"),
|
|
47118
|
-
role: forwardButtonAriaRole
|
|
47149
|
+
disabled: isForwardButtonDisabled
|
|
47119
47150
|
}) : forwardButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47120
47151
|
text: forwardButtonText,
|
|
47121
47152
|
variant: forwardButtonVariant,
|
|
@@ -47123,9 +47154,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47123
47154
|
isLoading: forwardButtonLoading,
|
|
47124
47155
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47125
47156
|
dataQa: forwardButtonText,
|
|
47126
|
-
disabled: isForwardButtonDisabled
|
|
47127
|
-
"aria-labelledby": "".concat(kebabCaseString(forwardButtonText), "-button"),
|
|
47128
|
-
role: forwardButtonAriaRole
|
|
47157
|
+
disabled: isForwardButtonDisabled
|
|
47129
47158
|
});
|
|
47130
47159
|
return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
47131
47160
|
padding: "1.25rem 0"
|
|
@@ -49333,11 +49362,11 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
49333
49362
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
49334
49363
|
padding: "0",
|
|
49335
49364
|
minWidth: "100%",
|
|
49336
|
-
extraStyles: "z-index: 1;"
|
|
49337
|
-
role: "main"
|
|
49365
|
+
extraStyles: "z-index: 1;"
|
|
49338
49366
|
}, subHeader && !(isMobile && hideMobileSubHeader) ? subHeader : /*#__PURE__*/React__default.createElement(React.Fragment, null), /*#__PURE__*/React__default.createElement(Center, {
|
|
49339
49367
|
maxWidth: isMobile && fullWidthMobile ? "100%" : maxContentWidth,
|
|
49340
|
-
intrinsic: !isMobile
|
|
49368
|
+
intrinsic: !isMobile,
|
|
49369
|
+
role: "main"
|
|
49341
49370
|
}, centeredMobileContent ? /*#__PURE__*/React__default.createElement(Cover, {
|
|
49342
49371
|
minHeight: "100%",
|
|
49343
49372
|
singleChild: true
|
|
@@ -49363,7 +49392,9 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
49363
49392
|
_ref$fullWidthMobile = _ref.fullWidthMobile,
|
|
49364
49393
|
fullWidthMobile = _ref$fullWidthMobile === void 0 ? true : _ref$fullWidthMobile,
|
|
49365
49394
|
content = _ref.content,
|
|
49366
|
-
themeValues = _ref.themeValues
|
|
49395
|
+
themeValues = _ref.themeValues,
|
|
49396
|
+
_ref$role = _ref.role,
|
|
49397
|
+
role = _ref$role === void 0 ? "main" : _ref$role;
|
|
49367
49398
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
49368
49399
|
var isMobile = themeContext.isMobile;
|
|
49369
49400
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -49375,11 +49406,11 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
49375
49406
|
padding: "0"
|
|
49376
49407
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
49377
49408
|
padding: "0",
|
|
49378
|
-
minWidth: "100%"
|
|
49379
|
-
role: "main"
|
|
49409
|
+
minWidth: "100%"
|
|
49380
49410
|
}, subHeader && !(isMobile && hideMobileSubHeader) ? subHeader : /*#__PURE__*/React__default.createElement(React.Fragment, null), /*#__PURE__*/React__default.createElement(Center, {
|
|
49381
49411
|
maxWidth: isMobile && fullWidthMobile ? "100%" : maxContentWidth,
|
|
49382
|
-
intrinsic: !isMobile
|
|
49412
|
+
intrinsic: !isMobile,
|
|
49413
|
+
role: role
|
|
49383
49414
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
49384
49415
|
minHeight: "100%",
|
|
49385
49416
|
singleChild: true
|
|
@@ -49425,11 +49456,11 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49425
49456
|
padding: "0",
|
|
49426
49457
|
minWidth: "100%",
|
|
49427
49458
|
minHeight: "100%",
|
|
49428
|
-
extraStyles: "z-index: 1;"
|
|
49429
|
-
role: "main"
|
|
49459
|
+
extraStyles: "z-index: 1;"
|
|
49430
49460
|
}, subHeader && !(isMobile && hideMobileSubHeader) ? subHeader : /*#__PURE__*/React__default.createElement(React.Fragment, null), /*#__PURE__*/React__default.createElement(Center, {
|
|
49431
49461
|
maxWidth: maxWidth,
|
|
49432
|
-
gutters: gutters
|
|
49462
|
+
gutters: gutters,
|
|
49463
|
+
role: "main"
|
|
49433
49464
|
}, content)), footer ? footer : /*#__PURE__*/React__default.createElement(Box, {
|
|
49434
49465
|
padding: "0"
|
|
49435
49466
|
})));
|