@thecb/components 9.3.5-beta.0 → 9.3.6-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 +216 -203
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +216 -203
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/icons/ShoppingCartIcon.js +2 -3
- package/src/components/atoms/jumbo/Jumbo.js +3 -1
- package/src/components/atoms/labeled-amount/LabeledAmount.js +32 -7
- package/src/components/atoms/labeled-amount/LabeledAmount.stories.js +0 -13
- package/src/components/atoms/labeled-amount/LabeledAmount.theme.js +1 -5
- package/src/components/atoms/line-item/LineItem.js +35 -21
- package/src/components/atoms/line-item/LineItem.theme.js +2 -2
- package/src/components/molecules/modal/Modal.js +3 -3
- package/src/components/molecules/payment-details/PaymentDetails.js +13 -14
- package/src/components/molecules/payment-details/PaymentDetails.stories.js +0 -36
- package/src/components/molecules/payment-details/PaymentDetails.theme.js +2 -2
- package/src/components/atoms/labeled-amount/LabeledAmountV1.js +0 -37
- package/src/components/atoms/labeled-amount/LabeledAmountV2.js +0 -25
package/dist/index.cjs.js
CHANGED
|
@@ -15277,7 +15277,8 @@ var EmptyCartIcon = function EmptyCartIcon(_ref) {
|
|
|
15277
15277
|
|
|
15278
15278
|
var EmptyCartIcon$1 = themeComponent(EmptyCartIcon, "Icons", fallbackValues$2, "info");
|
|
15279
15279
|
|
|
15280
|
-
var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
15280
|
+
var ShoppingCartIcon = function ShoppingCartIcon(_ref) {
|
|
15281
|
+
var iconFill = _ref.iconFill;
|
|
15281
15282
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15282
15283
|
width: "32px",
|
|
15283
15284
|
height: "32px",
|
|
@@ -15305,8 +15306,7 @@ var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
|
15305
15306
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15306
15307
|
d: "M18.7499553,20.499994 C19.348912,20.499994 19.8632339,20.2851508 20.2929204,19.8554643 C20.7226068,19.4257779 20.9374501,18.911456 20.9374501,18.3124993 C20.9374501,17.8958334 20.8267735,17.5117199 20.6054196,17.1601583 C20.3840658,16.8085966 20.0780771,16.5416703 19.6874531,16.3593789 L19.6874531,16.3593789 L19.9218275,15.3828187 C19.9739105,15.0963613 19.9088069,14.835945 19.7265155,14.6015706 C19.544224,14.3671962 19.3098496,14.2500089 19.0233921,14.2500089 L19.0233921,14.2500089 L8.5156047,14.2500089 L8.28123026,13.0000119 L19.7265155,13.0000119 C19.9348481,13.0000119 20.1236501,12.9349077 20.2929204,12.8046999 C20.4621906,12.6744921 20.5728678,12.4922006 20.6249508,12.2578262 L20.6249508,12.2578262 L22.4608839,4.13284556 C22.5390088,3.84638811 22.4869258,3.58597187 22.3046343,3.35159742 C22.1223429,3.11722298 21.8749478,3.00004172 21.5624486,3.00004172 L21.5624486,3.00004172 L6.21092269,3.00004172 L5.85936103,1.24222745 C5.80727802,1.03389482 5.6966008,0.858113985 5.52733057,0.714884961 C5.35806034,0.571655937 5.16925831,0.500041723 4.96092567,0.500041723 L4.96092567,0.500041723 L0.937497765,0.500041723 C0.67708152,0.500041723 0.455728279,0.591187141 0.273436848,0.773478571 C0.0911454173,0.955770002 0,1.17712324 0,1.43753949 L0,1.43753949 L0,2.062538 C0,2.32295424 0.0911454173,2.54430748 0.273436848,2.72659891 C0.455728279,2.90889035 0.67708152,3.00004172 0.937497765,3.00004172 L0.937497765,3.00004172 L3.67186625,3.00004172 L6.40623473,16.3984413 C6.06769367,16.606774 5.80076742,16.8802108 5.60545539,17.2187519 C5.41014335,17.5572929 5.31248733,17.9218752 5.31248733,18.3124993 C5.31248733,18.911456 5.52733057,19.4257779 5.95701705,19.8554643 C6.38670352,20.2851508 6.90102541,20.499994 7.49998212,20.499994 C8.09893883,20.499994 8.61326071,20.2851508 9.04294719,19.8554643 C9.47263367,19.4257779 9.6874769,18.904946 9.6874769,18.2929681 C9.6874769,17.6809901 9.46612307,17.1666689 9.02341599,16.750003 L9.02341599,16.750003 L17.2265214,16.750003 C16.7838143,17.1666689 16.5624605,17.6809901 16.5624605,18.2929681 C16.5624605,18.904946 16.7773037,19.4257779 17.2069902,19.8554643 C17.6366767,20.2851508 18.1509986,20.499994 18.7499553,20.499994 Z",
|
|
15307
15308
|
id: "cart-badge-shopping-cart",
|
|
15308
|
-
fill: "#FFFFFF"
|
|
15309
|
-
fillRule: "nonzero"
|
|
15309
|
+
fill: iconFill !== null && iconFill !== void 0 ? iconFill : "#FFFFFF"
|
|
15310
15310
|
})))));
|
|
15311
15311
|
};
|
|
15312
15312
|
|
|
@@ -22494,17 +22494,18 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22494
22494
|
};
|
|
22495
22495
|
|
|
22496
22496
|
var check = function (it) {
|
|
22497
|
-
return it && it.Math
|
|
22497
|
+
return it && it.Math === Math && it;
|
|
22498
22498
|
};
|
|
22499
22499
|
|
|
22500
22500
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22501
22501
|
var global_1 =
|
|
22502
|
-
// eslint-disable-next-line es
|
|
22502
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
22503
22503
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22504
22504
|
check(typeof window == 'object' && window) ||
|
|
22505
22505
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22506
22506
|
check(typeof self == 'object' && self) ||
|
|
22507
22507
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22508
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22508
22509
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22509
22510
|
(function () { return this; })() || Function('return this')();
|
|
22510
22511
|
|
|
@@ -22518,12 +22519,12 @@ var fails = function (exec) {
|
|
|
22518
22519
|
|
|
22519
22520
|
// Detect IE8's incomplete defineProperty implementation
|
|
22520
22521
|
var descriptors = !fails(function () {
|
|
22521
|
-
// eslint-disable-next-line es
|
|
22522
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22522
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22523
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
22523
22524
|
});
|
|
22524
22525
|
|
|
22525
22526
|
var functionBindNative = !fails(function () {
|
|
22526
|
-
// eslint-disable-next-line es
|
|
22527
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22527
22528
|
var test = (function () { /* empty */ }).bind();
|
|
22528
22529
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22529
22530
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22536,7 +22537,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22536
22537
|
};
|
|
22537
22538
|
|
|
22538
22539
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22539
|
-
// eslint-disable-next-line es
|
|
22540
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22540
22541
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22541
22542
|
|
|
22542
22543
|
// Nashorn ~ JDK8 bug
|
|
@@ -22563,14 +22564,11 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22563
22564
|
};
|
|
22564
22565
|
|
|
22565
22566
|
var FunctionPrototype = Function.prototype;
|
|
22566
|
-
var bind$1 = FunctionPrototype.bind;
|
|
22567
22567
|
var call$1 = FunctionPrototype.call;
|
|
22568
|
-
var
|
|
22568
|
+
var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
|
|
22569
22569
|
|
|
22570
|
-
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22571
|
-
return
|
|
22572
|
-
} : function (fn) {
|
|
22573
|
-
return fn && function () {
|
|
22570
|
+
var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
|
|
22571
|
+
return function () {
|
|
22574
22572
|
return call$1.apply(fn, arguments);
|
|
22575
22573
|
};
|
|
22576
22574
|
};
|
|
@@ -22591,15 +22589,21 @@ var indexedObject = fails(function () {
|
|
|
22591
22589
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22592
22590
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22593
22591
|
}) ? function (it) {
|
|
22594
|
-
return classofRaw(it)
|
|
22592
|
+
return classofRaw(it) === 'String' ? split(it, '') : $Object(it);
|
|
22595
22593
|
} : $Object;
|
|
22596
22594
|
|
|
22595
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
22596
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22597
|
+
var isNullOrUndefined = function (it) {
|
|
22598
|
+
return it === null || it === undefined;
|
|
22599
|
+
};
|
|
22600
|
+
|
|
22597
22601
|
var $TypeError = TypeError;
|
|
22598
22602
|
|
|
22599
22603
|
// `RequireObjectCoercible` abstract operation
|
|
22600
22604
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22601
22605
|
var requireObjectCoercible = function (it) {
|
|
22602
|
-
if (it
|
|
22606
|
+
if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
|
|
22603
22607
|
return it;
|
|
22604
22608
|
};
|
|
22605
22609
|
|
|
@@ -22611,13 +22615,32 @@ var toIndexedObject = function (it) {
|
|
|
22611
22615
|
return indexedObject(requireObjectCoercible(it));
|
|
22612
22616
|
};
|
|
22613
22617
|
|
|
22618
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
22619
|
+
|
|
22620
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22621
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22622
|
+
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22623
|
+
|
|
22624
|
+
var documentAll_1 = {
|
|
22625
|
+
all: documentAll,
|
|
22626
|
+
IS_HTMLDDA: IS_HTMLDDA
|
|
22627
|
+
};
|
|
22628
|
+
|
|
22629
|
+
var documentAll$1 = documentAll_1.all;
|
|
22630
|
+
|
|
22614
22631
|
// `IsCallable` abstract operation
|
|
22615
22632
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22616
|
-
var isCallable = function (argument) {
|
|
22633
|
+
var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
|
|
22634
|
+
return typeof argument == 'function' || argument === documentAll$1;
|
|
22635
|
+
} : function (argument) {
|
|
22617
22636
|
return typeof argument == 'function';
|
|
22618
22637
|
};
|
|
22619
22638
|
|
|
22620
|
-
var
|
|
22639
|
+
var documentAll$2 = documentAll_1.all;
|
|
22640
|
+
|
|
22641
|
+
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22642
|
+
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22643
|
+
} : function (it) {
|
|
22621
22644
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22622
22645
|
};
|
|
22623
22646
|
|
|
@@ -22631,7 +22654,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22631
22654
|
|
|
22632
22655
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22633
22656
|
|
|
22634
|
-
var engineUserAgent =
|
|
22657
|
+
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
22635
22658
|
|
|
22636
22659
|
var process$1 = global_1.process;
|
|
22637
22660
|
var Deno = global_1.Deno;
|
|
@@ -22658,24 +22681,29 @@ if (!version && engineUserAgent) {
|
|
|
22658
22681
|
|
|
22659
22682
|
var engineV8Version = version;
|
|
22660
22683
|
|
|
22661
|
-
/* eslint-disable es
|
|
22684
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22685
|
+
|
|
22662
22686
|
|
|
22663
22687
|
|
|
22664
22688
|
|
|
22665
|
-
|
|
22666
|
-
|
|
22667
|
-
|
|
22689
|
+
var $String = global_1.String;
|
|
22690
|
+
|
|
22691
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
22692
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22693
|
+
var symbol = Symbol('symbol detection');
|
|
22668
22694
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22669
22695
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22670
|
-
|
|
22696
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
22697
|
+
// of course, fail.
|
|
22698
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22671
22699
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22672
22700
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22673
22701
|
});
|
|
22674
22702
|
|
|
22675
|
-
/* eslint-disable es
|
|
22703
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
22676
22704
|
|
|
22677
22705
|
|
|
22678
|
-
var useSymbolAsUid =
|
|
22706
|
+
var useSymbolAsUid = symbolConstructorDetection
|
|
22679
22707
|
&& !Symbol.sham
|
|
22680
22708
|
&& typeof Symbol.iterator == 'symbol';
|
|
22681
22709
|
|
|
@@ -22688,11 +22716,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22688
22716
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22689
22717
|
};
|
|
22690
22718
|
|
|
22691
|
-
var $String = String;
|
|
22719
|
+
var $String$1 = String;
|
|
22692
22720
|
|
|
22693
22721
|
var tryToString = function (argument) {
|
|
22694
22722
|
try {
|
|
22695
|
-
return $String(argument);
|
|
22723
|
+
return $String$1(argument);
|
|
22696
22724
|
} catch (error) {
|
|
22697
22725
|
return 'Object';
|
|
22698
22726
|
}
|
|
@@ -22703,14 +22731,14 @@ var $TypeError$1 = TypeError;
|
|
|
22703
22731
|
// `Assert: IsCallable(argument) is true`
|
|
22704
22732
|
var aCallable = function (argument) {
|
|
22705
22733
|
if (isCallable(argument)) return argument;
|
|
22706
|
-
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22734
|
+
throw new $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22707
22735
|
};
|
|
22708
22736
|
|
|
22709
22737
|
// `GetMethod` abstract operation
|
|
22710
22738
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22711
22739
|
var getMethod = function (V, P) {
|
|
22712
22740
|
var func = V[P];
|
|
22713
|
-
return func
|
|
22741
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
22714
22742
|
};
|
|
22715
22743
|
|
|
22716
22744
|
var $TypeError$2 = TypeError;
|
|
@@ -22722,10 +22750,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22722
22750
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22723
22751
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22724
22752
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22725
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
22753
|
+
throw new $TypeError$2("Can't convert object to primitive value");
|
|
22726
22754
|
};
|
|
22727
22755
|
|
|
22728
|
-
// eslint-disable-next-line es
|
|
22756
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22729
22757
|
var defineProperty = Object.defineProperty;
|
|
22730
22758
|
|
|
22731
22759
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22742,13 +22770,16 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22742
22770
|
var sharedStore = store;
|
|
22743
22771
|
|
|
22744
22772
|
var shared = createCommonjsModule(function (module) {
|
|
22773
|
+
|
|
22774
|
+
|
|
22775
|
+
|
|
22745
22776
|
(module.exports = function (key, value) {
|
|
22746
22777
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22747
22778
|
})('versions', []).push({
|
|
22748
|
-
version: '3.
|
|
22779
|
+
version: '3.33.3',
|
|
22749
22780
|
mode: 'global',
|
|
22750
|
-
copyright: '© 2014-
|
|
22751
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22781
|
+
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
22782
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
22752
22783
|
source: 'https://github.com/zloirock/core-js'
|
|
22753
22784
|
});
|
|
22754
22785
|
});
|
|
@@ -22765,7 +22796,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22765
22796
|
|
|
22766
22797
|
// `HasOwnProperty` abstract operation
|
|
22767
22798
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22768
|
-
// eslint-disable-next-line es
|
|
22799
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22769
22800
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22770
22801
|
return hasOwnProperty(toObject(it), key);
|
|
22771
22802
|
};
|
|
@@ -22778,21 +22809,15 @@ var uid = function (key) {
|
|
|
22778
22809
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22779
22810
|
};
|
|
22780
22811
|
|
|
22781
|
-
var WellKnownSymbolsStore = shared('wks');
|
|
22782
22812
|
var Symbol$1 = global_1.Symbol;
|
|
22783
|
-
var
|
|
22784
|
-
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22813
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
22814
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22785
22815
|
|
|
22786
22816
|
var wellKnownSymbol = function (name) {
|
|
22787
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)
|
|
22788
|
-
|
|
22789
|
-
|
|
22790
|
-
|
|
22791
|
-
} else if (useSymbolAsUid && symbolFor) {
|
|
22792
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22793
|
-
} else {
|
|
22794
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22795
|
-
}
|
|
22817
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22818
|
+
WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
|
|
22819
|
+
? Symbol$1[name]
|
|
22820
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
22796
22821
|
} return WellKnownSymbolsStore[name];
|
|
22797
22822
|
};
|
|
22798
22823
|
|
|
@@ -22809,7 +22834,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22809
22834
|
if (pref === undefined) pref = 'default';
|
|
22810
22835
|
result = functionCall(exoticToPrim, input, pref);
|
|
22811
22836
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22812
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
22837
|
+
throw new $TypeError$3("Can't convert object to primitive value");
|
|
22813
22838
|
}
|
|
22814
22839
|
if (pref === undefined) pref = 'number';
|
|
22815
22840
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22832,13 +22857,13 @@ var documentCreateElement = function (it) {
|
|
|
22832
22857
|
|
|
22833
22858
|
// Thanks to IE8 for its funny defineProperty
|
|
22834
22859
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22835
|
-
// eslint-disable-next-line es
|
|
22860
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22836
22861
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22837
22862
|
get: function () { return 7; }
|
|
22838
|
-
}).a
|
|
22863
|
+
}).a !== 7;
|
|
22839
22864
|
});
|
|
22840
22865
|
|
|
22841
|
-
// eslint-disable-next-line es
|
|
22866
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22842
22867
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22843
22868
|
|
|
22844
22869
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22859,26 +22884,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22859
22884
|
// V8 ~ Chrome 36-
|
|
22860
22885
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22861
22886
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22862
|
-
// eslint-disable-next-line es
|
|
22887
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22863
22888
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22864
22889
|
value: 42,
|
|
22865
22890
|
writable: false
|
|
22866
|
-
}).prototype
|
|
22891
|
+
}).prototype !== 42;
|
|
22867
22892
|
});
|
|
22868
22893
|
|
|
22869
|
-
var $String$
|
|
22894
|
+
var $String$2 = String;
|
|
22870
22895
|
var $TypeError$4 = TypeError;
|
|
22871
22896
|
|
|
22872
22897
|
// `Assert: Type(argument) is Object`
|
|
22873
22898
|
var anObject = function (argument) {
|
|
22874
22899
|
if (isObject(argument)) return argument;
|
|
22875
|
-
throw $TypeError$4($String$
|
|
22900
|
+
throw new $TypeError$4($String$2(argument) + ' is not an object');
|
|
22876
22901
|
};
|
|
22877
22902
|
|
|
22878
22903
|
var $TypeError$5 = TypeError;
|
|
22879
|
-
// eslint-disable-next-line es
|
|
22904
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22880
22905
|
var $defineProperty = Object.defineProperty;
|
|
22881
|
-
// eslint-disable-next-line es
|
|
22906
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22882
22907
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22883
22908
|
var ENUMERABLE = 'enumerable';
|
|
22884
22909
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22908,7 +22933,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22908
22933
|
if (ie8DomDefine) try {
|
|
22909
22934
|
return $defineProperty(O, P, Attributes);
|
|
22910
22935
|
} catch (error) { /* empty */ }
|
|
22911
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22936
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
22912
22937
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22913
22938
|
return O;
|
|
22914
22939
|
};
|
|
@@ -22925,7 +22950,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22925
22950
|
};
|
|
22926
22951
|
|
|
22927
22952
|
var FunctionPrototype$1 = Function.prototype;
|
|
22928
|
-
// eslint-disable-next-line es
|
|
22953
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22929
22954
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22930
22955
|
|
|
22931
22956
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22952,7 +22977,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22952
22977
|
|
|
22953
22978
|
var WeakMap$1 = global_1.WeakMap;
|
|
22954
22979
|
|
|
22955
|
-
var
|
|
22980
|
+
var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
22956
22981
|
|
|
22957
22982
|
var keys$1 = shared('keys');
|
|
22958
22983
|
|
|
@@ -22975,27 +23000,29 @@ var getterFor = function (TYPE) {
|
|
|
22975
23000
|
return function (it) {
|
|
22976
23001
|
var state;
|
|
22977
23002
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22978
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
23003
|
+
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22979
23004
|
} return state;
|
|
22980
23005
|
};
|
|
22981
23006
|
};
|
|
22982
23007
|
|
|
22983
|
-
if (
|
|
23008
|
+
if (weakMapBasicDetection || sharedStore.state) {
|
|
22984
23009
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22985
|
-
|
|
22986
|
-
|
|
22987
|
-
|
|
23010
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
23011
|
+
store$1.get = store$1.get;
|
|
23012
|
+
store$1.has = store$1.has;
|
|
23013
|
+
store$1.set = store$1.set;
|
|
23014
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22988
23015
|
set = function (it, metadata) {
|
|
22989
|
-
if (
|
|
23016
|
+
if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22990
23017
|
metadata.facade = it;
|
|
22991
|
-
|
|
23018
|
+
store$1.set(it, metadata);
|
|
22992
23019
|
return metadata;
|
|
22993
23020
|
};
|
|
22994
23021
|
get = function (it) {
|
|
22995
|
-
return
|
|
23022
|
+
return store$1.get(it) || {};
|
|
22996
23023
|
};
|
|
22997
23024
|
has = function (it) {
|
|
22998
|
-
return
|
|
23025
|
+
return store$1.has(it);
|
|
22999
23026
|
};
|
|
23000
23027
|
} else {
|
|
23001
23028
|
var STATE = sharedKey('state');
|
|
@@ -23023,14 +23050,23 @@ var internalState = {
|
|
|
23023
23050
|
};
|
|
23024
23051
|
|
|
23025
23052
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
23053
|
+
|
|
23054
|
+
|
|
23055
|
+
|
|
23056
|
+
|
|
23057
|
+
|
|
23026
23058
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
23027
23059
|
|
|
23028
23060
|
|
|
23029
23061
|
|
|
23030
23062
|
var enforceInternalState = internalState.enforce;
|
|
23031
23063
|
var getInternalState = internalState.get;
|
|
23032
|
-
|
|
23064
|
+
var $String = String;
|
|
23065
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
23033
23066
|
var defineProperty = Object.defineProperty;
|
|
23067
|
+
var stringSlice = functionUncurryThis(''.slice);
|
|
23068
|
+
var replace = functionUncurryThis(''.replace);
|
|
23069
|
+
var join = functionUncurryThis([].join);
|
|
23034
23070
|
|
|
23035
23071
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
23036
23072
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -23039,8 +23075,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
23039
23075
|
var TEMPLATE = String(String).split('String');
|
|
23040
23076
|
|
|
23041
23077
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
23042
|
-
if (String(name)
|
|
23043
|
-
name = '[' + String(name)
|
|
23078
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
23079
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
23044
23080
|
}
|
|
23045
23081
|
if (options && options.getter) name = 'get ' + name;
|
|
23046
23082
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -23059,7 +23095,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
23059
23095
|
} catch (error) { /* empty */ }
|
|
23060
23096
|
var state = enforceInternalState(value);
|
|
23061
23097
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
23062
|
-
state.source =
|
|
23098
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
23063
23099
|
} return value;
|
|
23064
23100
|
};
|
|
23065
23101
|
|
|
@@ -23098,7 +23134,7 @@ var floor = Math.floor;
|
|
|
23098
23134
|
|
|
23099
23135
|
// `Math.trunc` method
|
|
23100
23136
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23101
|
-
// eslint-disable-next-line es
|
|
23137
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23102
23138
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23103
23139
|
var n = +x;
|
|
23104
23140
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23146,10 +23182,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23146
23182
|
var value;
|
|
23147
23183
|
// Array#includes uses SameValueZero equality algorithm
|
|
23148
23184
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23149
|
-
if (IS_INCLUDES && el
|
|
23185
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
23150
23186
|
value = O[index++];
|
|
23151
23187
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23152
|
-
if (value
|
|
23188
|
+
if (value !== value) return true;
|
|
23153
23189
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23154
23190
|
} else for (;length > index; index++) {
|
|
23155
23191
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23199,7 +23235,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23199
23235
|
|
|
23200
23236
|
// `Object.getOwnPropertyNames` method
|
|
23201
23237
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23202
|
-
// eslint-disable-next-line es
|
|
23238
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23203
23239
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23204
23240
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23205
23241
|
};
|
|
@@ -23208,7 +23244,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23208
23244
|
f: f$3
|
|
23209
23245
|
};
|
|
23210
23246
|
|
|
23211
|
-
// eslint-disable-next-line es
|
|
23247
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23212
23248
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23213
23249
|
|
|
23214
23250
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23240,8 +23276,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23240
23276
|
|
|
23241
23277
|
var isForced = function (feature, detection) {
|
|
23242
23278
|
var value = data[normalize(feature)];
|
|
23243
|
-
return value
|
|
23244
|
-
: value
|
|
23279
|
+
return value === POLYFILL ? true
|
|
23280
|
+
: value === NATIVE ? false
|
|
23245
23281
|
: isCallable(detection) ? fails(detection)
|
|
23246
23282
|
: !!detection;
|
|
23247
23283
|
};
|
|
@@ -23321,7 +23357,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23321
23357
|
var $Object$3 = Object;
|
|
23322
23358
|
|
|
23323
23359
|
// ES3 wrong here
|
|
23324
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23360
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
23325
23361
|
|
|
23326
23362
|
// fallback for IE11 Script Access Denied error
|
|
23327
23363
|
var tryGet = function (it, key) {
|
|
@@ -23339,25 +23375,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23339
23375
|
// builtinTag case
|
|
23340
23376
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23341
23377
|
// ES3 arguments fallback
|
|
23342
|
-
: (result = classofRaw(O))
|
|
23378
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23343
23379
|
};
|
|
23344
23380
|
|
|
23345
|
-
var $String$
|
|
23381
|
+
var $String$3 = String;
|
|
23346
23382
|
|
|
23347
23383
|
var toString_1 = function (argument) {
|
|
23348
|
-
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23349
|
-
return $String$
|
|
23384
|
+
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
23385
|
+
return $String$3(argument);
|
|
23350
23386
|
};
|
|
23351
23387
|
|
|
23352
23388
|
var charAt = functionUncurryThis(''.charAt);
|
|
23353
23389
|
|
|
23354
23390
|
var FORCED = fails(function () {
|
|
23355
|
-
// eslint-disable-next-line es
|
|
23391
|
+
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23356
23392
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23357
23393
|
});
|
|
23358
23394
|
|
|
23359
23395
|
// `String.prototype.at` method
|
|
23360
|
-
// https://
|
|
23396
|
+
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
23361
23397
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23362
23398
|
at: function at(index) {
|
|
23363
23399
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23370,14 +23406,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23370
23406
|
|
|
23371
23407
|
// `Object.keys` method
|
|
23372
23408
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23373
|
-
// eslint-disable-next-line es
|
|
23409
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23374
23410
|
var objectKeys = Object.keys || function keys(O) {
|
|
23375
23411
|
return objectKeysInternal(O, enumBugKeys);
|
|
23376
23412
|
};
|
|
23377
23413
|
|
|
23378
23414
|
// `Object.defineProperties` method
|
|
23379
23415
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23380
|
-
// eslint-disable-next-line es
|
|
23416
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23381
23417
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23382
23418
|
anObject(O);
|
|
23383
23419
|
var props = toIndexedObject(Properties);
|
|
@@ -23466,7 +23502,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23466
23502
|
|
|
23467
23503
|
// `Object.create` method
|
|
23468
23504
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23469
|
-
// eslint-disable-next-line es
|
|
23505
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
23470
23506
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23471
23507
|
var result;
|
|
23472
23508
|
if (O !== null) {
|
|
@@ -23486,7 +23522,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23486
23522
|
|
|
23487
23523
|
// Array.prototype[@@unscopables]
|
|
23488
23524
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23489
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23525
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
23490
23526
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23491
23527
|
configurable: true,
|
|
23492
23528
|
value: objectCreate(null)
|
|
@@ -23499,7 +23535,7 @@ var addToUnscopables = function (key) {
|
|
|
23499
23535
|
};
|
|
23500
23536
|
|
|
23501
23537
|
// `Array.prototype.at` method
|
|
23502
|
-
// https://
|
|
23538
|
+
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
23503
23539
|
_export({ target: 'Array', proto: true }, {
|
|
23504
23540
|
at: function at(index) {
|
|
23505
23541
|
var O = toObject(this);
|
|
@@ -23512,13 +23548,19 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23512
23548
|
|
|
23513
23549
|
addToUnscopables('at');
|
|
23514
23550
|
|
|
23515
|
-
// eslint-disable-next-line es
|
|
23516
|
-
var
|
|
23551
|
+
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23552
|
+
var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23553
|
+
|
|
23554
|
+
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23555
|
+
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23556
|
+
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23557
|
+
return objectDefineProperty.f(target, name, descriptor);
|
|
23558
|
+
};
|
|
23517
23559
|
|
|
23518
23560
|
var correctPrototypeGetter = !fails(function () {
|
|
23519
23561
|
function F() { /* empty */ }
|
|
23520
23562
|
F.prototype.constructor = null;
|
|
23521
|
-
// eslint-disable-next-line es
|
|
23563
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23522
23564
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23523
23565
|
});
|
|
23524
23566
|
|
|
@@ -23528,7 +23570,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23528
23570
|
|
|
23529
23571
|
// `Object.getPrototypeOf` method
|
|
23530
23572
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23531
|
-
// eslint-disable-next-line es
|
|
23573
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23532
23574
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23533
23575
|
var object = toObject(O);
|
|
23534
23576
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23538,12 +23580,19 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23538
23580
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23539
23581
|
};
|
|
23540
23582
|
|
|
23541
|
-
var
|
|
23583
|
+
var functionUncurryThisAccessor = function (object, key, method) {
|
|
23584
|
+
try {
|
|
23585
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23586
|
+
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23587
|
+
} catch (error) { /* empty */ }
|
|
23588
|
+
};
|
|
23589
|
+
|
|
23590
|
+
var $String$4 = String;
|
|
23542
23591
|
var $TypeError$6 = TypeError;
|
|
23543
23592
|
|
|
23544
23593
|
var aPossiblePrototype = function (argument) {
|
|
23545
23594
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23546
|
-
throw $TypeError$6("Can't set " + $String$
|
|
23595
|
+
throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
|
|
23547
23596
|
};
|
|
23548
23597
|
|
|
23549
23598
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23554,14 +23603,13 @@ var aPossiblePrototype = function (argument) {
|
|
|
23554
23603
|
// `Object.setPrototypeOf` method
|
|
23555
23604
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23556
23605
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23557
|
-
// eslint-disable-next-line es
|
|
23606
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23558
23607
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23559
23608
|
var CORRECT_SETTER = false;
|
|
23560
23609
|
var test = {};
|
|
23561
23610
|
var setter;
|
|
23562
23611
|
try {
|
|
23563
|
-
|
|
23564
|
-
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23612
|
+
setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
23565
23613
|
setter(test, []);
|
|
23566
23614
|
CORRECT_SETTER = test instanceof Array;
|
|
23567
23615
|
} catch (error) { /* empty */ }
|
|
@@ -23574,14 +23622,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23574
23622
|
};
|
|
23575
23623
|
}() : undefined);
|
|
23576
23624
|
|
|
23577
|
-
var defineProperty$2 = objectDefineProperty.f;
|
|
23578
|
-
|
|
23579
|
-
|
|
23580
|
-
|
|
23581
|
-
|
|
23582
|
-
|
|
23583
|
-
|
|
23584
|
-
|
|
23585
23625
|
var enforceInternalState = internalState.enforce;
|
|
23586
23626
|
var getInternalState = internalState.get;
|
|
23587
23627
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23597,7 +23637,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23597
23637
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23598
23638
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23599
23639
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23600
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23640
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23601
23641
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23602
23642
|
var NAME, Constructor, Prototype;
|
|
23603
23643
|
|
|
@@ -23642,12 +23682,12 @@ var isTypedArray = function (it) {
|
|
|
23642
23682
|
|
|
23643
23683
|
var aTypedArray = function (it) {
|
|
23644
23684
|
if (isTypedArray(it)) return it;
|
|
23645
|
-
throw TypeError$2('Target is not a typed array');
|
|
23685
|
+
throw new TypeError$2('Target is not a typed array');
|
|
23646
23686
|
};
|
|
23647
23687
|
|
|
23648
23688
|
var aTypedArrayConstructor = function (C) {
|
|
23649
23689
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23650
|
-
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23690
|
+
throw new TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23651
23691
|
};
|
|
23652
23692
|
|
|
23653
23693
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23711,7 +23751,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23711
23751
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23712
23752
|
// eslint-disable-next-line no-shadow -- safe
|
|
23713
23753
|
TypedArray = function TypedArray() {
|
|
23714
|
-
throw TypeError$2('Incorrect invocation');
|
|
23754
|
+
throw new TypeError$2('Incorrect invocation');
|
|
23715
23755
|
};
|
|
23716
23756
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23717
23757
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23732,9 +23772,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23732
23772
|
|
|
23733
23773
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23734
23774
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23735
|
-
|
|
23736
|
-
|
|
23737
|
-
|
|
23775
|
+
defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
|
|
23776
|
+
configurable: true,
|
|
23777
|
+
get: function () {
|
|
23778
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23779
|
+
}
|
|
23780
|
+
});
|
|
23738
23781
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23739
23782
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23740
23783
|
}
|
|
@@ -23758,7 +23801,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23758
23801
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23759
23802
|
|
|
23760
23803
|
// `%TypedArray%.prototype.at` method
|
|
23761
|
-
// https://
|
|
23804
|
+
// https://tc39.es/ecma262/#sec-%typedarray%.prototype.at
|
|
23762
23805
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23763
23806
|
var O = aTypedArray$1(this);
|
|
23764
23807
|
var len = lengthOfArrayLike(O);
|
|
@@ -26697,7 +26740,8 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26697
26740
|
itemsCount = _ref.itemsCount,
|
|
26698
26741
|
_ref$showCartStatus = _ref.showCartStatus,
|
|
26699
26742
|
showCartStatus = _ref$showCartStatus === void 0 ? false : _ref$showCartStatus,
|
|
26700
|
-
openCartSlider = _ref.openCartSlider
|
|
26743
|
+
openCartSlider = _ref.openCartSlider,
|
|
26744
|
+
extraStyles = _ref.extraStyles;
|
|
26701
26745
|
|
|
26702
26746
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
26703
26747
|
isMobile = _useContext.isMobile;
|
|
@@ -26706,7 +26750,8 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
26706
26750
|
padding: "0 20px",
|
|
26707
26751
|
minHeight: "65px",
|
|
26708
26752
|
id: "heroImage-".concat(slug),
|
|
26709
|
-
className: "themeJumboBackground"
|
|
26753
|
+
className: "themeJumboBackground",
|
|
26754
|
+
extraStyles: extraStyles
|
|
26710
26755
|
}, /*#__PURE__*/React__default.createElement(Center, {
|
|
26711
26756
|
maxWidth: "76.5rem"
|
|
26712
26757
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
@@ -26751,17 +26796,13 @@ var fontWeight$4 = {
|
|
|
26751
26796
|
pS: "600",
|
|
26752
26797
|
p: "600",
|
|
26753
26798
|
pL: "600",
|
|
26754
|
-
h6: "700"
|
|
26755
|
-
regular: "600",
|
|
26756
|
-
extraSmall: "600",
|
|
26757
|
-
small: "600",
|
|
26758
|
-
large: "600"
|
|
26799
|
+
h6: "700"
|
|
26759
26800
|
};
|
|
26760
26801
|
var fallbackValues$p = {
|
|
26761
26802
|
fontWeight: fontWeight$4
|
|
26762
26803
|
};
|
|
26763
26804
|
|
|
26764
|
-
var
|
|
26805
|
+
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26765
26806
|
var _ref$variant = _ref.variant,
|
|
26766
26807
|
variant = _ref$variant === void 0 ? "pL" : _ref$variant,
|
|
26767
26808
|
label = _ref.label,
|
|
@@ -26785,46 +26826,19 @@ var LabeledAmountV1 = function LabeledAmountV1(_ref) {
|
|
|
26785
26826
|
}, amount));
|
|
26786
26827
|
};
|
|
26787
26828
|
|
|
26788
|
-
var LabeledAmountV2 = function LabeledAmountV2(_ref) {
|
|
26789
|
-
var _ref$variant = _ref.variant,
|
|
26790
|
-
variant = _ref$variant === void 0 ? "regular" : _ref$variant,
|
|
26791
|
-
label = _ref.label,
|
|
26792
|
-
amount = _ref.amount,
|
|
26793
|
-
themeValues = _ref.themeValues,
|
|
26794
|
-
as = _ref.as,
|
|
26795
|
-
extraStyles = _ref.extraStyles;
|
|
26796
|
-
return /*#__PURE__*/React__default.createElement(Detail$1, {
|
|
26797
|
-
variant: variant,
|
|
26798
|
-
as: as,
|
|
26799
|
-
weight: themeValues.fontWeight,
|
|
26800
|
-
extraStyles: "display: flex; justify-content: space-between; ".concat(extraStyles)
|
|
26801
|
-
}, /*#__PURE__*/React__default.createElement("span", null, label), /*#__PURE__*/React__default.createElement("span", null, amount));
|
|
26802
|
-
};
|
|
26803
|
-
|
|
26804
|
-
var _excluded$u = ["version"];
|
|
26805
|
-
|
|
26806
|
-
var LabeledAmount = function LabeledAmount(_ref) {
|
|
26807
|
-
var _ref$version = _ref.version,
|
|
26808
|
-
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
26809
|
-
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26810
|
-
|
|
26811
|
-
var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
|
|
26812
|
-
return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
|
|
26813
|
-
};
|
|
26814
|
-
|
|
26815
26829
|
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$p, "default");
|
|
26816
26830
|
|
|
26817
26831
|
var weightTitle = {
|
|
26818
26832
|
"default": "600",
|
|
26819
26833
|
small: "400"
|
|
26820
26834
|
};
|
|
26821
|
-
var
|
|
26822
|
-
"default": "
|
|
26823
|
-
small: "
|
|
26835
|
+
var paragraphVariant = {
|
|
26836
|
+
"default": "pL",
|
|
26837
|
+
small: "pS"
|
|
26824
26838
|
};
|
|
26825
26839
|
var fallbackValues$q = {
|
|
26826
26840
|
weightTitle: weightTitle,
|
|
26827
|
-
|
|
26841
|
+
paragraphVariant: paragraphVariant
|
|
26828
26842
|
};
|
|
26829
26843
|
|
|
26830
26844
|
var LineItem = function LineItem(_ref) {
|
|
@@ -26851,27 +26865,35 @@ var LineItem = function LineItem(_ref) {
|
|
|
26851
26865
|
var visibleCustomAttrs = customAttributes === null || customAttributes === void 0 ? void 0 : (_customAttributes$fil = customAttributes.filter(function (attr) {
|
|
26852
26866
|
return (visibleFields === null || visibleFields === void 0 ? void 0 : visibleFields.includes(attr.key)) && attr.key !== "description";
|
|
26853
26867
|
})) === null || _customAttributes$fil === void 0 ? void 0 : _customAttributes$fil.map(function (attr) {
|
|
26854
|
-
return /*#__PURE__*/React__default.createElement(
|
|
26855
|
-
variant: "
|
|
26868
|
+
return /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
26869
|
+
variant: "pS",
|
|
26856
26870
|
weight: "400",
|
|
26857
26871
|
key: attr.key,
|
|
26858
26872
|
color: STORM_GREY
|
|
26859
26873
|
}, "".concat(formatAttrKeys(attr.key), ": ").concat(attr.value));
|
|
26860
26874
|
});
|
|
26861
|
-
return /*#__PURE__*/React__default.createElement(
|
|
26875
|
+
return /*#__PURE__*/React__default.createElement(Cluster, {
|
|
26876
|
+
nowrap: true,
|
|
26877
|
+
justify: "space-between",
|
|
26878
|
+
align: "start"
|
|
26879
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
26862
26880
|
childGap: "0px"
|
|
26863
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
26864
|
-
|
|
26865
|
-
|
|
26866
|
-
|
|
26867
|
-
|
|
26868
|
-
}, /*#__PURE__*/React__default.createElement("span", null, description), /*#__PURE__*/React__default.createElement("span", null, !!displayQuantity && "x".concat(displayQuantity)), /*#__PURE__*/React__default.createElement("span", null, amount)), /*#__PURE__*/React__default.createElement(Detail$1, {
|
|
26869
|
-
as: "p",
|
|
26870
|
-
variant: themeValues.detailVariant,
|
|
26881
|
+
}, /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
26882
|
+
variant: themeValues.paragraphVariant,
|
|
26883
|
+
weight: themeValues.weightTitle
|
|
26884
|
+
}, description), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
26885
|
+
variant: themeValues.paragraphVariant,
|
|
26871
26886
|
weight: "400"
|
|
26872
26887
|
}, subDescription), visibleCustomAttrs && /*#__PURE__*/React__default.createElement(Stack, {
|
|
26873
26888
|
childGap: "0.25rem"
|
|
26874
|
-
}, visibleCustomAttrs))
|
|
26889
|
+
}, visibleCustomAttrs)), !!displayQuantity && /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
26890
|
+
variant: themeValues.paragraphVariant,
|
|
26891
|
+
weight: themeValues.weightTitle
|
|
26892
|
+
}, "x".concat(displayQuantity)), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
26893
|
+
variant: themeValues.paragraphVariant,
|
|
26894
|
+
weight: "600",
|
|
26895
|
+
extraStyles: "margin: 0; text-align: end; min-width: fit-content; padding-left: 32px;"
|
|
26896
|
+
}, amount));
|
|
26875
26897
|
};
|
|
26876
26898
|
|
|
26877
26899
|
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$q, "default");
|
|
@@ -26949,7 +26971,7 @@ var Loading = function Loading() {
|
|
|
26949
26971
|
})))));
|
|
26950
26972
|
};
|
|
26951
26973
|
|
|
26952
|
-
var _excluded$
|
|
26974
|
+
var _excluded$u = ["leftContent", "rightContent", "footerMinHeight", "backgroundColor", "largeSide", "largeSideSize", "footerPadding", "isMobile", "footerWidth"];
|
|
26953
26975
|
|
|
26954
26976
|
var NavFooter = function NavFooter(_ref) {
|
|
26955
26977
|
var leftContent = _ref.leftContent,
|
|
@@ -26965,7 +26987,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26965
26987
|
footerPadding = _ref$footerPadding === void 0 ? "1.5rem 1rem" : _ref$footerPadding,
|
|
26966
26988
|
isMobile = _ref.isMobile,
|
|
26967
26989
|
footerWidth = _ref.footerWidth,
|
|
26968
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
26990
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
26969
26991
|
|
|
26970
26992
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
26971
26993
|
padding: footerPadding,
|
|
@@ -26997,7 +27019,7 @@ var NavFooter = function NavFooter(_ref) {
|
|
|
26997
27019
|
}, rightContent)))))));
|
|
26998
27020
|
};
|
|
26999
27021
|
|
|
27000
|
-
var _excluded$
|
|
27022
|
+
var _excluded$v = ["leftContent", "rightContent", "headerHeight", "isMobile", "backgroundColor", "headerWidth"];
|
|
27001
27023
|
|
|
27002
27024
|
var NavHeader = function NavHeader(_ref) {
|
|
27003
27025
|
var leftContent = _ref.leftContent,
|
|
@@ -27007,7 +27029,7 @@ var NavHeader = function NavHeader(_ref) {
|
|
|
27007
27029
|
isMobile = _ref.isMobile,
|
|
27008
27030
|
backgroundColor = _ref.backgroundColor,
|
|
27009
27031
|
headerWidth = _ref.headerWidth,
|
|
27010
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
27032
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
27011
27033
|
|
|
27012
27034
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
27013
27035
|
padding: "0 16px 4px",
|
|
@@ -38802,7 +38824,7 @@ var TableRowWrapper = styled__default.tr.withConfig({
|
|
|
38802
38824
|
return extraStyles;
|
|
38803
38825
|
});
|
|
38804
38826
|
|
|
38805
|
-
var _excluded$
|
|
38827
|
+
var _excluded$w = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
38806
38828
|
|
|
38807
38829
|
var TableRow = function TableRow(_ref) {
|
|
38808
38830
|
var children = _ref.children,
|
|
@@ -38812,7 +38834,7 @@ var TableRow = function TableRow(_ref) {
|
|
|
38812
38834
|
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
38813
38835
|
onClick = _ref.onClick,
|
|
38814
38836
|
themeValues = _ref.themeValues,
|
|
38815
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
38837
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
38816
38838
|
|
|
38817
38839
|
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
38818
38840
|
onClick: onClick,
|
|
@@ -45885,10 +45907,9 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45885
45907
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
45886
45908
|
justify: "flex-start",
|
|
45887
45909
|
align: "center"
|
|
45888
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
45889
|
-
|
|
45890
|
-
weight: FONT_WEIGHT_SEMIBOLD
|
|
45891
|
-
fontSize: "1.25rem"
|
|
45910
|
+
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
45911
|
+
variant: "h6",
|
|
45912
|
+
weight: FONT_WEIGHT_SEMIBOLD
|
|
45892
45913
|
}, modalHeaderText))), /*#__PURE__*/React__default.createElement(Box, {
|
|
45893
45914
|
background: modalBodyBg,
|
|
45894
45915
|
padding: "1.5rem"
|
|
@@ -47380,12 +47401,12 @@ var lineItem = {
|
|
|
47380
47401
|
small: "small"
|
|
47381
47402
|
};
|
|
47382
47403
|
var labeledAmountSubtotal = {
|
|
47383
|
-
"default": "
|
|
47384
|
-
small: "
|
|
47404
|
+
"default": "pL",
|
|
47405
|
+
small: "pS"
|
|
47385
47406
|
};
|
|
47386
47407
|
var labeledAmountTotal = {
|
|
47387
|
-
"default": "
|
|
47388
|
-
small: "
|
|
47408
|
+
"default": "h6",
|
|
47409
|
+
small: "p"
|
|
47389
47410
|
};
|
|
47390
47411
|
var fallbackValues$N = {
|
|
47391
47412
|
backgroundColor: backgroundColor$c,
|
|
@@ -47394,7 +47415,7 @@ var fallbackValues$N = {
|
|
|
47394
47415
|
labeledAmountTotal: labeledAmountTotal
|
|
47395
47416
|
};
|
|
47396
47417
|
|
|
47397
|
-
var _excluded$
|
|
47418
|
+
var _excluded$x = ["amount"],
|
|
47398
47419
|
_excluded2$1 = ["amount"];
|
|
47399
47420
|
|
|
47400
47421
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47445,9 +47466,6 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
47445
47466
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
47446
47467
|
padding: "16px 0px"
|
|
47447
47468
|
}, /*#__PURE__*/React__default.createElement(SolidDivider$1, null)), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
47448
|
-
version: "v2",
|
|
47449
|
-
as: "h3",
|
|
47450
|
-
variant: "small",
|
|
47451
47469
|
extraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size: 14px;"),
|
|
47452
47470
|
label: "Amount paid",
|
|
47453
47471
|
amount: displayCurrency(voidableAmountPaid)
|
|
@@ -47455,18 +47473,15 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
47455
47473
|
, subtotal ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
47456
47474
|
padding: "0.5rem 0"
|
|
47457
47475
|
}, /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
47458
|
-
version: "v2",
|
|
47459
47476
|
variant: themeValues.labeledAmountSubtotal,
|
|
47460
47477
|
label: "Subtotal",
|
|
47461
|
-
amount: displayCurrency(subtotal)
|
|
47462
|
-
as: "h3"
|
|
47478
|
+
amount: displayCurrency(subtotal)
|
|
47463
47479
|
}), feeElems), /*#__PURE__*/React__default.createElement(SolidDivider$1, null)) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
47464
|
-
|
|
47465
|
-
as: "h3",
|
|
47480
|
+
as: "p",
|
|
47466
47481
|
variant: themeValues.labeledAmountTotal,
|
|
47467
47482
|
label: hasVoidablePaymentsSection ? "Remaining amount due" : "Total",
|
|
47468
47483
|
amount: displayCurrency(typeof remainingBalance === "number" ? remainingBalance : total),
|
|
47469
|
-
extraStyles: "
|
|
47484
|
+
extraStyles: variant === "small" && "font-weight: ".concat(FONT_WEIGHT_BOLD, ";")
|
|
47470
47485
|
}));
|
|
47471
47486
|
};
|
|
47472
47487
|
|
|
@@ -47645,7 +47660,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47645
47660
|
return fee.amount > 0;
|
|
47646
47661
|
}).map(function (_ref5) {
|
|
47647
47662
|
var amount = _ref5.amount,
|
|
47648
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47663
|
+
rest = _objectWithoutProperties(_ref5, _excluded$x);
|
|
47649
47664
|
|
|
47650
47665
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47651
47666
|
amount: displayCurrency(amount)
|
|
@@ -47674,8 +47689,6 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47674
47689
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
47675
47690
|
padding: "4px 0"
|
|
47676
47691
|
}), /*#__PURE__*/React__default.createElement(LabeledAmount$1, _extends({
|
|
47677
|
-
version: "v2",
|
|
47678
|
-
as: "h3",
|
|
47679
47692
|
key: fee.label,
|
|
47680
47693
|
variant: themeValues.labeledAmountSubtotal
|
|
47681
47694
|
}, fee)));
|
|
@@ -47719,7 +47732,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47719
47732
|
align: "center"
|
|
47720
47733
|
}, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
47721
47734
|
weight: FONT_WEIGHT_BOLD,
|
|
47722
|
-
as: "
|
|
47735
|
+
as: "h1",
|
|
47723
47736
|
extraStyles: "font-size: 1.375rem;",
|
|
47724
47737
|
id: "payment-details-title"
|
|
47725
47738
|
}, titleText), /*#__PURE__*/React__default.createElement(Title$1, {
|
|
@@ -47727,7 +47740,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47727
47740
|
as: "p",
|
|
47728
47741
|
extraStyles: "font-size: 1.375rem;"
|
|
47729
47742
|
}, displayCurrency(total)))) : /*#__PURE__*/React__default.createElement(Title$1, {
|
|
47730
|
-
as: "
|
|
47743
|
+
as: "h1",
|
|
47731
47744
|
weight: FONT_WEIGHT_BOLD,
|
|
47732
47745
|
margin: "1rem 0 0 0",
|
|
47733
47746
|
extraStyles: "font-size: 1.75rem;",
|
|
@@ -48069,12 +48082,12 @@ var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
|
48069
48082
|
}, errorMessage))))));
|
|
48070
48083
|
};
|
|
48071
48084
|
|
|
48072
|
-
var _excluded$
|
|
48085
|
+
var _excluded$y = ["version"];
|
|
48073
48086
|
|
|
48074
48087
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
48075
48088
|
var _ref$version = _ref.version,
|
|
48076
48089
|
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
48077
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48090
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
48078
48091
|
|
|
48079
48092
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
48080
48093
|
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
@@ -48753,7 +48766,7 @@ var fallbackValues$Q = {
|
|
|
48753
48766
|
focusStyles: focusStyles
|
|
48754
48767
|
};
|
|
48755
48768
|
|
|
48756
|
-
var _excluded$
|
|
48769
|
+
var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired"];
|
|
48757
48770
|
/*
|
|
48758
48771
|
Takes an array of section objects, each object should look like:
|
|
48759
48772
|
{
|
|
@@ -48801,7 +48814,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48801
48814
|
ariaDescribedBy = _ref.ariaDescribedBy,
|
|
48802
48815
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
48803
48816
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
48804
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
48817
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
48805
48818
|
|
|
48806
48819
|
var _useState = React.useState(null),
|
|
48807
48820
|
_useState2 = _slicedToArray(_useState, 2),
|