@thecb/components 9.3.0 → 9.3.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +136 -202
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +137 -202
- package/dist/index.esm.js.map +1 -1
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +49322 -0
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/button-with-action/ButtonWithAction.js +70 -76
- package/src/components/atoms/icons/.DS_Store +0 -0
- package/src/components/atoms/icons/TrashIcon.js +40 -42
- package/src/components/atoms/icons/icons.stories.js +1 -3
- package/src/components/atoms/icons/index.d.ts +0 -1
- package/src/components/atoms/icons/index.js +1 -3
- package/src/components/molecules/radio-section/RadioSection.js +140 -131
- package/src/components/molecules/radio-section/RadioSection.stories.js +1 -0
- package/src/components/atoms/icons/KebabMenuIcon.d.ts +0 -1
- package/src/components/atoms/icons/KebabMenuIcon.js +0 -38
- package/src/components/molecules/popup-menu/PopupMenu.js +0 -152
- package/src/components/molecules/popup-menu/PopupMenu.stories.js +0 -40
- package/src/components/molecules/popup-menu/PopupMenu.styled.js +0 -20
- package/src/components/molecules/popup-menu/PopupMenu.theme.js +0 -11
- package/src/components/molecules/popup-menu/index.d.ts +0 -25
- package/src/components/molecules/popup-menu/index.js +0 -3
- package/src/components/molecules/popup-menu/popup-menu-item/PopupMenuItem.js +0 -79
- package/src/components/molecules/popup-menu/popup-menu-item/PopupMenuItem.styled.js +0 -27
- package/src/components/molecules/popup-menu/popup-menu-item/PopupMenuItem.theme.js +0 -23
package/dist/index.esm.js
CHANGED
|
@@ -12918,7 +12918,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12918
12918
|
*/
|
|
12919
12919
|
|
|
12920
12920
|
|
|
12921
|
-
var ButtonWithAction =
|
|
12921
|
+
var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
12922
12922
|
var _ref2$action = _ref2.action,
|
|
12923
12923
|
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12924
12924
|
_ref2$variant = _ref2.variant,
|
|
@@ -12949,7 +12949,6 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12949
12949
|
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12950
12950
|
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ".concat(extraDisabledStyles, "\n ");
|
|
12951
12951
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12952
|
-
ref: ref,
|
|
12953
12952
|
variant: variant,
|
|
12954
12953
|
padding: themeValues.padding,
|
|
12955
12954
|
minHeight: themeValues.height,
|
|
@@ -12978,7 +12977,7 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12978
12977
|
textWrap: textWrap,
|
|
12979
12978
|
extraStyles: textExtraStyles
|
|
12980
12979
|
}, text)));
|
|
12981
|
-
}
|
|
12980
|
+
};
|
|
12982
12981
|
|
|
12983
12982
|
var primaryColor = {
|
|
12984
12983
|
info: "".concat(WHITE),
|
|
@@ -15292,8 +15291,7 @@ var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
|
15292
15291
|
};
|
|
15293
15292
|
|
|
15294
15293
|
var TrashIcon = function TrashIcon(_ref) {
|
|
15295
|
-
var themeValues = _ref.themeValues
|
|
15296
|
-
iconFill = _ref.iconFill;
|
|
15294
|
+
var themeValues = _ref.themeValues;
|
|
15297
15295
|
return /*#__PURE__*/React.createElement("svg", {
|
|
15298
15296
|
width: "20px",
|
|
15299
15297
|
height: "20px",
|
|
@@ -15317,12 +15315,12 @@ var TrashIcon = function TrashIcon(_ref) {
|
|
|
15317
15315
|
xlinkHref: "#trash-path-1"
|
|
15318
15316
|
})), /*#__PURE__*/React.createElement("use", {
|
|
15319
15317
|
id: "trash-Mask",
|
|
15320
|
-
fill:
|
|
15318
|
+
fill: themeValues.singleIconColor,
|
|
15321
15319
|
fillRule: "nonzero",
|
|
15322
15320
|
xlinkHref: "#trash-path-1"
|
|
15323
15321
|
}), /*#__PURE__*/React.createElement("polygon", {
|
|
15324
15322
|
id: "trash-Path",
|
|
15325
|
-
fill:
|
|
15323
|
+
fill: themeValues.singleIconColor,
|
|
15326
15324
|
fillRule: "nonzero",
|
|
15327
15325
|
mask: "url(#trash-mask-2)",
|
|
15328
15326
|
points: "0 0 20 0 20 20 0 20"
|
|
@@ -18253,34 +18251,6 @@ var PlusCircleIcon = function PlusCircleIcon(_ref) {
|
|
|
18253
18251
|
}));
|
|
18254
18252
|
};
|
|
18255
18253
|
|
|
18256
|
-
var KebabMenuIcon = function KebabMenuIcon() {
|
|
18257
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
18258
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18259
|
-
width: "21",
|
|
18260
|
-
height: "32",
|
|
18261
|
-
viewBox: "0 0 21 32",
|
|
18262
|
-
fill: "none"
|
|
18263
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
18264
|
-
d: "M0 4C0 1.79086 1.79086 0 4 0L17 0C19.2091 0 21 1.79086 21 4V28C21 30.2091 19.2091 32 17 32H4C1.79086 32 0 30.2091 0 28L0 4Z",
|
|
18265
|
-
fill: "none"
|
|
18266
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
18267
|
-
fillRule: "evenodd",
|
|
18268
|
-
clipRule: "evenodd",
|
|
18269
|
-
d: "M10.5 6C9.39333 6 8.5 6.89333 8.5 8C8.5 9.10667 9.39333 10 10.5 10C11.6067 10 12.5 9.10667 12.5 8C12.5 6.89333 11.6067 6 10.5 6Z",
|
|
18270
|
-
fill: "#3B5BDB"
|
|
18271
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
18272
|
-
fillRule: "evenodd",
|
|
18273
|
-
clipRule: "evenodd",
|
|
18274
|
-
d: "M10.5 14C9.39333 14 8.5 14.8933 8.5 16C8.5 17.1067 9.39333 18 10.5 18C11.6067 18 12.5 17.1067 12.5 16C12.5 14.8933 11.6067 14 10.5 14Z",
|
|
18275
|
-
fill: "#3B5BDB"
|
|
18276
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
18277
|
-
fillRule: "evenodd",
|
|
18278
|
-
clipRule: "evenodd",
|
|
18279
|
-
d: "M10.5 22C9.39333 22 8.5 22.9067 8.5 24C8.5 25.0933 9.40667 26 10.5 26C11.5933 26 12.5 25.0933 12.5 24C12.5 22.9067 11.6067 22 10.5 22Z",
|
|
18280
|
-
fill: "#3B5BDB"
|
|
18281
|
-
}));
|
|
18282
|
-
};
|
|
18283
|
-
|
|
18284
18254
|
var color$2 = "#15749D";
|
|
18285
18255
|
var hoverColor$1 = "#116285";
|
|
18286
18256
|
var activeColor$1 = "#0E506D";
|
|
@@ -22467,18 +22437,17 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22467
22437
|
};
|
|
22468
22438
|
|
|
22469
22439
|
var check = function (it) {
|
|
22470
|
-
return it && it.Math
|
|
22440
|
+
return it && it.Math == Math && it;
|
|
22471
22441
|
};
|
|
22472
22442
|
|
|
22473
22443
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22474
22444
|
var global_1 =
|
|
22475
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
22445
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
22476
22446
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22477
22447
|
check(typeof window == 'object' && window) ||
|
|
22478
22448
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22479
22449
|
check(typeof self == 'object' && self) ||
|
|
22480
22450
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22481
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22482
22451
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22483
22452
|
(function () { return this; })() || Function('return this')();
|
|
22484
22453
|
|
|
@@ -22492,12 +22461,12 @@ var fails = function (exec) {
|
|
|
22492
22461
|
|
|
22493
22462
|
// Detect IE8's incomplete defineProperty implementation
|
|
22494
22463
|
var descriptors = !fails(function () {
|
|
22495
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22496
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22464
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22465
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
22497
22466
|
});
|
|
22498
22467
|
|
|
22499
22468
|
var functionBindNative = !fails(function () {
|
|
22500
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22469
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
22501
22470
|
var test = (function () { /* empty */ }).bind();
|
|
22502
22471
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22503
22472
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22510,7 +22479,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22510
22479
|
};
|
|
22511
22480
|
|
|
22512
22481
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22513
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22482
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22514
22483
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22515
22484
|
|
|
22516
22485
|
// Nashorn ~ JDK8 bug
|
|
@@ -22537,11 +22506,14 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22537
22506
|
};
|
|
22538
22507
|
|
|
22539
22508
|
var FunctionPrototype = Function.prototype;
|
|
22509
|
+
var bind$1 = FunctionPrototype.bind;
|
|
22540
22510
|
var call$1 = FunctionPrototype.call;
|
|
22541
|
-
var
|
|
22511
|
+
var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
|
|
22542
22512
|
|
|
22543
|
-
var functionUncurryThis = functionBindNative ?
|
|
22544
|
-
return
|
|
22513
|
+
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22514
|
+
return fn && uncurryThis(fn);
|
|
22515
|
+
} : function (fn) {
|
|
22516
|
+
return fn && function () {
|
|
22545
22517
|
return call$1.apply(fn, arguments);
|
|
22546
22518
|
};
|
|
22547
22519
|
};
|
|
@@ -22562,21 +22534,15 @@ var indexedObject = fails(function () {
|
|
|
22562
22534
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22563
22535
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22564
22536
|
}) ? function (it) {
|
|
22565
|
-
return classofRaw(it)
|
|
22537
|
+
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
22566
22538
|
} : $Object;
|
|
22567
22539
|
|
|
22568
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
22569
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22570
|
-
var isNullOrUndefined = function (it) {
|
|
22571
|
-
return it === null || it === undefined;
|
|
22572
|
-
};
|
|
22573
|
-
|
|
22574
22540
|
var $TypeError = TypeError;
|
|
22575
22541
|
|
|
22576
22542
|
// `RequireObjectCoercible` abstract operation
|
|
22577
22543
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22578
22544
|
var requireObjectCoercible = function (it) {
|
|
22579
|
-
if (
|
|
22545
|
+
if (it == undefined) throw $TypeError("Can't call method on " + it);
|
|
22580
22546
|
return it;
|
|
22581
22547
|
};
|
|
22582
22548
|
|
|
@@ -22588,32 +22554,13 @@ var toIndexedObject = function (it) {
|
|
|
22588
22554
|
return indexedObject(requireObjectCoercible(it));
|
|
22589
22555
|
};
|
|
22590
22556
|
|
|
22591
|
-
var documentAll = typeof document == 'object' && document.all;
|
|
22592
|
-
|
|
22593
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22594
|
-
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22595
|
-
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22596
|
-
|
|
22597
|
-
var documentAll_1 = {
|
|
22598
|
-
all: documentAll,
|
|
22599
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
22600
|
-
};
|
|
22601
|
-
|
|
22602
|
-
var documentAll$1 = documentAll_1.all;
|
|
22603
|
-
|
|
22604
22557
|
// `IsCallable` abstract operation
|
|
22605
22558
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22606
|
-
var isCallable =
|
|
22607
|
-
return typeof argument == 'function' || argument === documentAll$1;
|
|
22608
|
-
} : function (argument) {
|
|
22559
|
+
var isCallable = function (argument) {
|
|
22609
22560
|
return typeof argument == 'function';
|
|
22610
22561
|
};
|
|
22611
22562
|
|
|
22612
|
-
var
|
|
22613
|
-
|
|
22614
|
-
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22615
|
-
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22616
|
-
} : function (it) {
|
|
22563
|
+
var isObject = function (it) {
|
|
22617
22564
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22618
22565
|
};
|
|
22619
22566
|
|
|
@@ -22627,7 +22574,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22627
22574
|
|
|
22628
22575
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22629
22576
|
|
|
22630
|
-
var engineUserAgent =
|
|
22577
|
+
var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
|
22631
22578
|
|
|
22632
22579
|
var process$1 = global_1.process;
|
|
22633
22580
|
var Deno = global_1.Deno;
|
|
@@ -22654,29 +22601,24 @@ if (!version && engineUserAgent) {
|
|
|
22654
22601
|
|
|
22655
22602
|
var engineV8Version = version;
|
|
22656
22603
|
|
|
22657
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
22658
|
-
|
|
22604
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
22659
22605
|
|
|
22660
22606
|
|
|
22661
22607
|
|
|
22662
|
-
|
|
22663
|
-
|
|
22664
|
-
|
|
22665
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22666
|
-
var symbol = Symbol('symbol detection');
|
|
22608
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
22609
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22610
|
+
var symbol = Symbol();
|
|
22667
22611
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22668
22612
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22669
|
-
|
|
22670
|
-
// of course, fail.
|
|
22671
|
-
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22613
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22672
22614
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22673
22615
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22674
22616
|
});
|
|
22675
22617
|
|
|
22676
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
22618
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
22677
22619
|
|
|
22678
22620
|
|
|
22679
|
-
var useSymbolAsUid =
|
|
22621
|
+
var useSymbolAsUid = nativeSymbol
|
|
22680
22622
|
&& !Symbol.sham
|
|
22681
22623
|
&& typeof Symbol.iterator == 'symbol';
|
|
22682
22624
|
|
|
@@ -22689,11 +22631,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22689
22631
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22690
22632
|
};
|
|
22691
22633
|
|
|
22692
|
-
var $String
|
|
22634
|
+
var $String = String;
|
|
22693
22635
|
|
|
22694
22636
|
var tryToString = function (argument) {
|
|
22695
22637
|
try {
|
|
22696
|
-
return $String
|
|
22638
|
+
return $String(argument);
|
|
22697
22639
|
} catch (error) {
|
|
22698
22640
|
return 'Object';
|
|
22699
22641
|
}
|
|
@@ -22704,14 +22646,14 @@ var $TypeError$1 = TypeError;
|
|
|
22704
22646
|
// `Assert: IsCallable(argument) is true`
|
|
22705
22647
|
var aCallable = function (argument) {
|
|
22706
22648
|
if (isCallable(argument)) return argument;
|
|
22707
|
-
throw
|
|
22649
|
+
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22708
22650
|
};
|
|
22709
22651
|
|
|
22710
22652
|
// `GetMethod` abstract operation
|
|
22711
22653
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22712
22654
|
var getMethod = function (V, P) {
|
|
22713
22655
|
var func = V[P];
|
|
22714
|
-
return
|
|
22656
|
+
return func == null ? undefined : aCallable(func);
|
|
22715
22657
|
};
|
|
22716
22658
|
|
|
22717
22659
|
var $TypeError$2 = TypeError;
|
|
@@ -22723,10 +22665,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22723
22665
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22724
22666
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22725
22667
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22726
|
-
throw
|
|
22668
|
+
throw $TypeError$2("Can't convert object to primitive value");
|
|
22727
22669
|
};
|
|
22728
22670
|
|
|
22729
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22671
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
22730
22672
|
var defineProperty = Object.defineProperty;
|
|
22731
22673
|
|
|
22732
22674
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22743,16 +22685,13 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22743
22685
|
var sharedStore = store;
|
|
22744
22686
|
|
|
22745
22687
|
var shared = createCommonjsModule(function (module) {
|
|
22746
|
-
|
|
22747
|
-
|
|
22748
|
-
|
|
22749
22688
|
(module.exports = function (key, value) {
|
|
22750
22689
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22751
22690
|
})('versions', []).push({
|
|
22752
|
-
version: '3.
|
|
22691
|
+
version: '3.24.1',
|
|
22753
22692
|
mode: 'global',
|
|
22754
|
-
copyright: '© 2014-
|
|
22755
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22693
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
22694
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
|
|
22756
22695
|
source: 'https://github.com/zloirock/core-js'
|
|
22757
22696
|
});
|
|
22758
22697
|
});
|
|
@@ -22769,7 +22708,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22769
22708
|
|
|
22770
22709
|
// `HasOwnProperty` abstract operation
|
|
22771
22710
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22772
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22711
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
22773
22712
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22774
22713
|
return hasOwnProperty(toObject(it), key);
|
|
22775
22714
|
};
|
|
@@ -22782,15 +22721,21 @@ var uid = function (key) {
|
|
|
22782
22721
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22783
22722
|
};
|
|
22784
22723
|
|
|
22785
|
-
var Symbol$1 = global_1.Symbol;
|
|
22786
22724
|
var WellKnownSymbolsStore = shared('wks');
|
|
22787
|
-
var
|
|
22725
|
+
var Symbol$1 = global_1.Symbol;
|
|
22726
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
22727
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22788
22728
|
|
|
22789
22729
|
var wellKnownSymbol = function (name) {
|
|
22790
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22791
|
-
|
|
22792
|
-
|
|
22793
|
-
|
|
22730
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
22731
|
+
var description = 'Symbol.' + name;
|
|
22732
|
+
if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
|
|
22733
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
22734
|
+
} else if (useSymbolAsUid && symbolFor) {
|
|
22735
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22736
|
+
} else {
|
|
22737
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22738
|
+
}
|
|
22794
22739
|
} return WellKnownSymbolsStore[name];
|
|
22795
22740
|
};
|
|
22796
22741
|
|
|
@@ -22807,7 +22752,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22807
22752
|
if (pref === undefined) pref = 'default';
|
|
22808
22753
|
result = functionCall(exoticToPrim, input, pref);
|
|
22809
22754
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22810
|
-
throw
|
|
22755
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
|
22811
22756
|
}
|
|
22812
22757
|
if (pref === undefined) pref = 'number';
|
|
22813
22758
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22830,13 +22775,13 @@ var documentCreateElement = function (it) {
|
|
|
22830
22775
|
|
|
22831
22776
|
// Thanks to IE8 for its funny defineProperty
|
|
22832
22777
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22833
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22778
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22834
22779
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22835
22780
|
get: function () { return 7; }
|
|
22836
|
-
}).a
|
|
22781
|
+
}).a != 7;
|
|
22837
22782
|
});
|
|
22838
22783
|
|
|
22839
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22784
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22840
22785
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22841
22786
|
|
|
22842
22787
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22857,26 +22802,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22857
22802
|
// V8 ~ Chrome 36-
|
|
22858
22803
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22859
22804
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22860
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22805
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22861
22806
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22862
22807
|
value: 42,
|
|
22863
22808
|
writable: false
|
|
22864
|
-
}).prototype
|
|
22809
|
+
}).prototype != 42;
|
|
22865
22810
|
});
|
|
22866
22811
|
|
|
22867
|
-
var $String$
|
|
22812
|
+
var $String$1 = String;
|
|
22868
22813
|
var $TypeError$4 = TypeError;
|
|
22869
22814
|
|
|
22870
22815
|
// `Assert: Type(argument) is Object`
|
|
22871
22816
|
var anObject = function (argument) {
|
|
22872
22817
|
if (isObject(argument)) return argument;
|
|
22873
|
-
throw
|
|
22818
|
+
throw $TypeError$4($String$1(argument) + ' is not an object');
|
|
22874
22819
|
};
|
|
22875
22820
|
|
|
22876
22821
|
var $TypeError$5 = TypeError;
|
|
22877
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22822
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
22878
22823
|
var $defineProperty = Object.defineProperty;
|
|
22879
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22824
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22880
22825
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22881
22826
|
var ENUMERABLE = 'enumerable';
|
|
22882
22827
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22906,7 +22851,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22906
22851
|
if (ie8DomDefine) try {
|
|
22907
22852
|
return $defineProperty(O, P, Attributes);
|
|
22908
22853
|
} catch (error) { /* empty */ }
|
|
22909
|
-
if ('get' in Attributes || 'set' in Attributes) throw
|
|
22854
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22910
22855
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22911
22856
|
return O;
|
|
22912
22857
|
};
|
|
@@ -22923,7 +22868,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22923
22868
|
};
|
|
22924
22869
|
|
|
22925
22870
|
var FunctionPrototype$1 = Function.prototype;
|
|
22926
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22871
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22927
22872
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22928
22873
|
|
|
22929
22874
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22950,7 +22895,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22950
22895
|
|
|
22951
22896
|
var WeakMap$1 = global_1.WeakMap;
|
|
22952
22897
|
|
|
22953
|
-
var
|
|
22898
|
+
var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
|
22954
22899
|
|
|
22955
22900
|
var keys$1 = shared('keys');
|
|
22956
22901
|
|
|
@@ -22973,29 +22918,27 @@ var getterFor = function (TYPE) {
|
|
|
22973
22918
|
return function (it) {
|
|
22974
22919
|
var state;
|
|
22975
22920
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22976
|
-
throw
|
|
22921
|
+
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22977
22922
|
} return state;
|
|
22978
22923
|
};
|
|
22979
22924
|
};
|
|
22980
22925
|
|
|
22981
|
-
if (
|
|
22926
|
+
if (nativeWeakMap || sharedStore.state) {
|
|
22982
22927
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22983
|
-
|
|
22984
|
-
|
|
22985
|
-
|
|
22986
|
-
store$1.set = store$1.set;
|
|
22987
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22928
|
+
var wmget = functionUncurryThis(store$1.get);
|
|
22929
|
+
var wmhas = functionUncurryThis(store$1.has);
|
|
22930
|
+
var wmset = functionUncurryThis(store$1.set);
|
|
22988
22931
|
set = function (it, metadata) {
|
|
22989
|
-
if (store$1
|
|
22932
|
+
if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22990
22933
|
metadata.facade = it;
|
|
22991
|
-
store$1
|
|
22934
|
+
wmset(store$1, it, metadata);
|
|
22992
22935
|
return metadata;
|
|
22993
22936
|
};
|
|
22994
22937
|
get = function (it) {
|
|
22995
|
-
return store$1
|
|
22938
|
+
return wmget(store$1, it) || {};
|
|
22996
22939
|
};
|
|
22997
22940
|
has = function (it) {
|
|
22998
|
-
return store$1
|
|
22941
|
+
return wmhas(store$1, it);
|
|
22999
22942
|
};
|
|
23000
22943
|
} else {
|
|
23001
22944
|
var STATE = sharedKey('state');
|
|
@@ -23023,23 +22966,14 @@ var internalState = {
|
|
|
23023
22966
|
};
|
|
23024
22967
|
|
|
23025
22968
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
23026
|
-
|
|
23027
|
-
|
|
23028
|
-
|
|
23029
|
-
|
|
23030
|
-
|
|
23031
22969
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
23032
22970
|
|
|
23033
22971
|
|
|
23034
22972
|
|
|
23035
22973
|
var enforceInternalState = internalState.enforce;
|
|
23036
22974
|
var getInternalState = internalState.get;
|
|
23037
|
-
|
|
23038
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22975
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
23039
22976
|
var defineProperty = Object.defineProperty;
|
|
23040
|
-
var stringSlice = functionUncurryThis(''.slice);
|
|
23041
|
-
var replace = functionUncurryThis(''.replace);
|
|
23042
|
-
var join = functionUncurryThis([].join);
|
|
23043
22977
|
|
|
23044
22978
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
23045
22979
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -23048,8 +22982,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
23048
22982
|
var TEMPLATE = String(String).split('String');
|
|
23049
22983
|
|
|
23050
22984
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
23051
|
-
if (
|
|
23052
|
-
name = '[' +
|
|
22985
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
22986
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
23053
22987
|
}
|
|
23054
22988
|
if (options && options.getter) name = 'get ' + name;
|
|
23055
22989
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -23068,7 +23002,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
23068
23002
|
} catch (error) { /* empty */ }
|
|
23069
23003
|
var state = enforceInternalState(value);
|
|
23070
23004
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
23071
|
-
state.source = join(
|
|
23005
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
23072
23006
|
} return value;
|
|
23073
23007
|
};
|
|
23074
23008
|
|
|
@@ -23107,7 +23041,7 @@ var floor = Math.floor;
|
|
|
23107
23041
|
|
|
23108
23042
|
// `Math.trunc` method
|
|
23109
23043
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23110
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23044
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
23111
23045
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23112
23046
|
var n = +x;
|
|
23113
23047
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23155,10 +23089,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23155
23089
|
var value;
|
|
23156
23090
|
// Array#includes uses SameValueZero equality algorithm
|
|
23157
23091
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23158
|
-
if (IS_INCLUDES && el
|
|
23092
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
23159
23093
|
value = O[index++];
|
|
23160
23094
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23161
|
-
if (value
|
|
23095
|
+
if (value != value) return true;
|
|
23162
23096
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23163
23097
|
} else for (;length > index; index++) {
|
|
23164
23098
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23208,7 +23142,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23208
23142
|
|
|
23209
23143
|
// `Object.getOwnPropertyNames` method
|
|
23210
23144
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23211
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23145
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
23212
23146
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23213
23147
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23214
23148
|
};
|
|
@@ -23217,7 +23151,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23217
23151
|
f: f$3
|
|
23218
23152
|
};
|
|
23219
23153
|
|
|
23220
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23154
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
23221
23155
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23222
23156
|
|
|
23223
23157
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23249,8 +23183,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23249
23183
|
|
|
23250
23184
|
var isForced = function (feature, detection) {
|
|
23251
23185
|
var value = data[normalize(feature)];
|
|
23252
|
-
return value
|
|
23253
|
-
: value
|
|
23186
|
+
return value == POLYFILL ? true
|
|
23187
|
+
: value == NATIVE ? false
|
|
23254
23188
|
: isCallable(detection) ? fails(detection)
|
|
23255
23189
|
: !!detection;
|
|
23256
23190
|
};
|
|
@@ -23330,7 +23264,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23330
23264
|
var $Object$3 = Object;
|
|
23331
23265
|
|
|
23332
23266
|
// ES3 wrong here
|
|
23333
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23267
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
23334
23268
|
|
|
23335
23269
|
// fallback for IE11 Script Access Denied error
|
|
23336
23270
|
var tryGet = function (it, key) {
|
|
@@ -23348,25 +23282,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23348
23282
|
// builtinTag case
|
|
23349
23283
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23350
23284
|
// ES3 arguments fallback
|
|
23351
|
-
: (result = classofRaw(O))
|
|
23285
|
+
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23352
23286
|
};
|
|
23353
23287
|
|
|
23354
|
-
var $String$
|
|
23288
|
+
var $String$2 = String;
|
|
23355
23289
|
|
|
23356
23290
|
var toString_1 = function (argument) {
|
|
23357
|
-
if (classof(argument) === 'Symbol') throw
|
|
23358
|
-
return $String$
|
|
23291
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23292
|
+
return $String$2(argument);
|
|
23359
23293
|
};
|
|
23360
23294
|
|
|
23361
23295
|
var charAt = functionUncurryThis(''.charAt);
|
|
23362
23296
|
|
|
23363
23297
|
var FORCED = fails(function () {
|
|
23364
|
-
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23298
|
+
// eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
|
|
23365
23299
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23366
23300
|
});
|
|
23367
23301
|
|
|
23368
23302
|
// `String.prototype.at` method
|
|
23369
|
-
// https://
|
|
23303
|
+
// https://github.com/tc39/proposal-relative-indexing-method
|
|
23370
23304
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23371
23305
|
at: function at(index) {
|
|
23372
23306
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23379,14 +23313,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23379
23313
|
|
|
23380
23314
|
// `Object.keys` method
|
|
23381
23315
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23382
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23316
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
|
23383
23317
|
var objectKeys = Object.keys || function keys(O) {
|
|
23384
23318
|
return objectKeysInternal(O, enumBugKeys);
|
|
23385
23319
|
};
|
|
23386
23320
|
|
|
23387
23321
|
// `Object.defineProperties` method
|
|
23388
23322
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23389
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23323
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
|
23390
23324
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23391
23325
|
anObject(O);
|
|
23392
23326
|
var props = toIndexedObject(Properties);
|
|
@@ -23475,7 +23409,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23475
23409
|
|
|
23476
23410
|
// `Object.create` method
|
|
23477
23411
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23478
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
23412
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
|
23479
23413
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23480
23414
|
var result;
|
|
23481
23415
|
if (O !== null) {
|
|
@@ -23495,7 +23429,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23495
23429
|
|
|
23496
23430
|
// Array.prototype[@@unscopables]
|
|
23497
23431
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23498
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23432
|
+
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
23499
23433
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23500
23434
|
configurable: true,
|
|
23501
23435
|
value: objectCreate(null)
|
|
@@ -23508,7 +23442,7 @@ var addToUnscopables = function (key) {
|
|
|
23508
23442
|
};
|
|
23509
23443
|
|
|
23510
23444
|
// `Array.prototype.at` method
|
|
23511
|
-
// https://
|
|
23445
|
+
// https://github.com/tc39/proposal-relative-indexing-method
|
|
23512
23446
|
_export({ target: 'Array', proto: true }, {
|
|
23513
23447
|
at: function at(index) {
|
|
23514
23448
|
var O = toObject(this);
|
|
@@ -23521,19 +23455,13 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23521
23455
|
|
|
23522
23456
|
addToUnscopables('at');
|
|
23523
23457
|
|
|
23524
|
-
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23525
|
-
var
|
|
23526
|
-
|
|
23527
|
-
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23528
|
-
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23529
|
-
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23530
|
-
return objectDefineProperty.f(target, name, descriptor);
|
|
23531
|
-
};
|
|
23458
|
+
// eslint-disable-next-line es-x/no-typed-arrays -- safe
|
|
23459
|
+
var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23532
23460
|
|
|
23533
23461
|
var correctPrototypeGetter = !fails(function () {
|
|
23534
23462
|
function F() { /* empty */ }
|
|
23535
23463
|
F.prototype.constructor = null;
|
|
23536
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23464
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
|
|
23537
23465
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23538
23466
|
});
|
|
23539
23467
|
|
|
@@ -23543,7 +23471,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23543
23471
|
|
|
23544
23472
|
// `Object.getPrototypeOf` method
|
|
23545
23473
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23546
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23474
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
|
|
23547
23475
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23548
23476
|
var object = toObject(O);
|
|
23549
23477
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23553,19 +23481,12 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23553
23481
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23554
23482
|
};
|
|
23555
23483
|
|
|
23556
|
-
var
|
|
23557
|
-
try {
|
|
23558
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23559
|
-
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23560
|
-
} catch (error) { /* empty */ }
|
|
23561
|
-
};
|
|
23562
|
-
|
|
23563
|
-
var $String$4 = String;
|
|
23484
|
+
var $String$3 = String;
|
|
23564
23485
|
var $TypeError$6 = TypeError;
|
|
23565
23486
|
|
|
23566
23487
|
var aPossiblePrototype = function (argument) {
|
|
23567
23488
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23568
|
-
throw
|
|
23489
|
+
throw $TypeError$6("Can't set " + $String$3(argument) + ' as a prototype');
|
|
23569
23490
|
};
|
|
23570
23491
|
|
|
23571
23492
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23576,13 +23497,14 @@ var aPossiblePrototype = function (argument) {
|
|
|
23576
23497
|
// `Object.setPrototypeOf` method
|
|
23577
23498
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23578
23499
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23579
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23500
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
23580
23501
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23581
23502
|
var CORRECT_SETTER = false;
|
|
23582
23503
|
var test = {};
|
|
23583
23504
|
var setter;
|
|
23584
23505
|
try {
|
|
23585
|
-
|
|
23506
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
23507
|
+
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23586
23508
|
setter(test, []);
|
|
23587
23509
|
CORRECT_SETTER = test instanceof Array;
|
|
23588
23510
|
} catch (error) { /* empty */ }
|
|
@@ -23595,6 +23517,14 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23595
23517
|
};
|
|
23596
23518
|
}() : undefined);
|
|
23597
23519
|
|
|
23520
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
23521
|
+
|
|
23522
|
+
|
|
23523
|
+
|
|
23524
|
+
|
|
23525
|
+
|
|
23526
|
+
|
|
23527
|
+
|
|
23598
23528
|
var enforceInternalState = internalState.enforce;
|
|
23599
23529
|
var getInternalState = internalState.get;
|
|
23600
23530
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23610,7 +23540,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23610
23540
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23611
23541
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23612
23542
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23613
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23543
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23614
23544
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23615
23545
|
var NAME, Constructor, Prototype;
|
|
23616
23546
|
|
|
@@ -23655,12 +23585,12 @@ var isTypedArray = function (it) {
|
|
|
23655
23585
|
|
|
23656
23586
|
var aTypedArray = function (it) {
|
|
23657
23587
|
if (isTypedArray(it)) return it;
|
|
23658
|
-
throw
|
|
23588
|
+
throw TypeError$2('Target is not a typed array');
|
|
23659
23589
|
};
|
|
23660
23590
|
|
|
23661
23591
|
var aTypedArrayConstructor = function (C) {
|
|
23662
23592
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23663
|
-
throw
|
|
23593
|
+
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23664
23594
|
};
|
|
23665
23595
|
|
|
23666
23596
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23724,7 +23654,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23724
23654
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23725
23655
|
// eslint-disable-next-line no-shadow -- safe
|
|
23726
23656
|
TypedArray = function TypedArray() {
|
|
23727
|
-
throw
|
|
23657
|
+
throw TypeError$2('Incorrect invocation');
|
|
23728
23658
|
};
|
|
23729
23659
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23730
23660
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23745,12 +23675,9 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23745
23675
|
|
|
23746
23676
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23747
23677
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23748
|
-
|
|
23749
|
-
|
|
23750
|
-
|
|
23751
|
-
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23752
|
-
}
|
|
23753
|
-
});
|
|
23678
|
+
defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
|
|
23679
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23680
|
+
} });
|
|
23754
23681
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23755
23682
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23756
23683
|
}
|
|
@@ -23774,7 +23701,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23774
23701
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23775
23702
|
|
|
23776
23703
|
// `%TypedArray%.prototype.at` method
|
|
23777
|
-
// https://
|
|
23704
|
+
// https://github.com/tc39/proposal-relative-indexing-method
|
|
23778
23705
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23779
23706
|
var O = aTypedArray$1(this);
|
|
23780
23707
|
var len = lengthOfArrayLike(O);
|
|
@@ -48753,7 +48680,8 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48753
48680
|
containerStyles = _ref$containerStyles === void 0 ? "" : _ref$containerStyles,
|
|
48754
48681
|
ariaDescribedBy = _ref.ariaDescribedBy,
|
|
48755
48682
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
48756
|
-
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire
|
|
48683
|
+
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
48684
|
+
_ref$legendText = _ref.legendText;
|
|
48757
48685
|
|
|
48758
48686
|
var handleKeyDown = function handleKeyDown(id, e) {
|
|
48759
48687
|
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13 || (e === null || e === void 0 ? void 0 : e.keyCode) === 32) {
|
|
@@ -48808,10 +48736,18 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48808
48736
|
borderRadius: "4px",
|
|
48809
48737
|
extraStyles: containerStyles
|
|
48810
48738
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
48811
|
-
childGap: "0"
|
|
48812
|
-
|
|
48813
|
-
"
|
|
48814
|
-
|
|
48739
|
+
childGap: "0"
|
|
48740
|
+
}, /*#__PURE__*/React.createElement("fieldset", {
|
|
48741
|
+
role: "radiogroup",
|
|
48742
|
+
tabIndex: "0",
|
|
48743
|
+
required: isSectionRequired
|
|
48744
|
+
}, /*#__PURE__*/React.createElement("legend", null, /*#__PURE__*/React.createElement(Box, {
|
|
48745
|
+
width: "0",
|
|
48746
|
+
srOnly: true,
|
|
48747
|
+
border: "0",
|
|
48748
|
+
padding: "0",
|
|
48749
|
+
margin: "0"
|
|
48750
|
+
})), sections.filter(function (section) {
|
|
48815
48751
|
return !section.hidden;
|
|
48816
48752
|
}).map(function (section) {
|
|
48817
48753
|
return /*#__PURE__*/React.createElement(Motion, {
|
|
@@ -48871,7 +48807,6 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48871
48807
|
toggleRadio: section.disabled ? noop : function () {
|
|
48872
48808
|
return toggleOpenSection(section.id);
|
|
48873
48809
|
},
|
|
48874
|
-
tabIndex: "-1",
|
|
48875
48810
|
isRequired: section === null || section === void 0 ? void 0 : section.required
|
|
48876
48811
|
})), section.titleIcon && /*#__PURE__*/React.createElement(Cluster, {
|
|
48877
48812
|
align: "center"
|
|
@@ -48907,7 +48842,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48907
48842
|
variants: wrapper,
|
|
48908
48843
|
extraStyles: "transform-origin: 100% 0;"
|
|
48909
48844
|
}, section.content))));
|
|
48910
|
-
})));
|
|
48845
|
+
}))));
|
|
48911
48846
|
};
|
|
48912
48847
|
|
|
48913
48848
|
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$Q);
|
|
@@ -49840,5 +49775,5 @@ var index$6 = /*#__PURE__*/Object.freeze({
|
|
|
49840
49775
|
useToastNotification: useToastNotification
|
|
49841
49776
|
});
|
|
49842
49777
|
|
|
49843
|
-
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo,
|
|
49778
|
+
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$5 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$4 as hooks, index$6 as util, withWindowSize };
|
|
49844
49779
|
//# sourceMappingURL=index.esm.js.map
|