@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.cjs.js
CHANGED
|
@@ -12926,7 +12926,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12926
12926
|
*/
|
|
12927
12927
|
|
|
12928
12928
|
|
|
12929
|
-
var ButtonWithAction =
|
|
12929
|
+
var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
12930
12930
|
var _ref2$action = _ref2.action,
|
|
12931
12931
|
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12932
12932
|
_ref2$variant = _ref2.variant,
|
|
@@ -12957,7 +12957,6 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12957
12957
|
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 ");
|
|
12958
12958
|
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 ");
|
|
12959
12959
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
12960
|
-
ref: ref,
|
|
12961
12960
|
variant: variant,
|
|
12962
12961
|
padding: themeValues.padding,
|
|
12963
12962
|
minHeight: themeValues.height,
|
|
@@ -12986,7 +12985,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12986
12985
|
textWrap: textWrap,
|
|
12987
12986
|
extraStyles: textExtraStyles
|
|
12988
12987
|
}, text)));
|
|
12989
|
-
}
|
|
12988
|
+
};
|
|
12990
12989
|
|
|
12991
12990
|
var primaryColor = {
|
|
12992
12991
|
info: "".concat(WHITE),
|
|
@@ -15300,8 +15299,7 @@ var ShoppingCartIcon = function ShoppingCartIcon() {
|
|
|
15300
15299
|
};
|
|
15301
15300
|
|
|
15302
15301
|
var TrashIcon = function TrashIcon(_ref) {
|
|
15303
|
-
var themeValues = _ref.themeValues
|
|
15304
|
-
iconFill = _ref.iconFill;
|
|
15302
|
+
var themeValues = _ref.themeValues;
|
|
15305
15303
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15306
15304
|
width: "20px",
|
|
15307
15305
|
height: "20px",
|
|
@@ -15325,12 +15323,12 @@ var TrashIcon = function TrashIcon(_ref) {
|
|
|
15325
15323
|
xlinkHref: "#trash-path-1"
|
|
15326
15324
|
})), /*#__PURE__*/React__default.createElement("use", {
|
|
15327
15325
|
id: "trash-Mask",
|
|
15328
|
-
fill:
|
|
15326
|
+
fill: themeValues.singleIconColor,
|
|
15329
15327
|
fillRule: "nonzero",
|
|
15330
15328
|
xlinkHref: "#trash-path-1"
|
|
15331
15329
|
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
15332
15330
|
id: "trash-Path",
|
|
15333
|
-
fill:
|
|
15331
|
+
fill: themeValues.singleIconColor,
|
|
15334
15332
|
fillRule: "nonzero",
|
|
15335
15333
|
mask: "url(#trash-mask-2)",
|
|
15336
15334
|
points: "0 0 20 0 20 20 0 20"
|
|
@@ -18261,34 +18259,6 @@ var PlusCircleIcon = function PlusCircleIcon(_ref) {
|
|
|
18261
18259
|
}));
|
|
18262
18260
|
};
|
|
18263
18261
|
|
|
18264
|
-
var KebabMenuIcon = function KebabMenuIcon() {
|
|
18265
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
18266
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18267
|
-
width: "21",
|
|
18268
|
-
height: "32",
|
|
18269
|
-
viewBox: "0 0 21 32",
|
|
18270
|
-
fill: "none"
|
|
18271
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
18272
|
-
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",
|
|
18273
|
-
fill: "none"
|
|
18274
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
18275
|
-
fillRule: "evenodd",
|
|
18276
|
-
clipRule: "evenodd",
|
|
18277
|
-
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",
|
|
18278
|
-
fill: "#3B5BDB"
|
|
18279
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
18280
|
-
fillRule: "evenodd",
|
|
18281
|
-
clipRule: "evenodd",
|
|
18282
|
-
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",
|
|
18283
|
-
fill: "#3B5BDB"
|
|
18284
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
18285
|
-
fillRule: "evenodd",
|
|
18286
|
-
clipRule: "evenodd",
|
|
18287
|
-
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",
|
|
18288
|
-
fill: "#3B5BDB"
|
|
18289
|
-
}));
|
|
18290
|
-
};
|
|
18291
|
-
|
|
18292
18262
|
var color$2 = "#15749D";
|
|
18293
18263
|
var hoverColor$1 = "#116285";
|
|
18294
18264
|
var activeColor$1 = "#0E506D";
|
|
@@ -22475,18 +22445,17 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
22475
22445
|
};
|
|
22476
22446
|
|
|
22477
22447
|
var check = function (it) {
|
|
22478
|
-
return it && it.Math
|
|
22448
|
+
return it && it.Math == Math && it;
|
|
22479
22449
|
};
|
|
22480
22450
|
|
|
22481
22451
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
22482
22452
|
var global_1 =
|
|
22483
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
22453
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
22484
22454
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22485
22455
|
check(typeof window == 'object' && window) ||
|
|
22486
22456
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
22487
22457
|
check(typeof self == 'object' && self) ||
|
|
22488
22458
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22489
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
22490
22459
|
// eslint-disable-next-line no-new-func -- fallback
|
|
22491
22460
|
(function () { return this; })() || Function('return this')();
|
|
22492
22461
|
|
|
@@ -22500,12 +22469,12 @@ var fails = function (exec) {
|
|
|
22500
22469
|
|
|
22501
22470
|
// Detect IE8's incomplete defineProperty implementation
|
|
22502
22471
|
var descriptors = !fails(function () {
|
|
22503
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22504
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
|
22472
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22473
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
22505
22474
|
});
|
|
22506
22475
|
|
|
22507
22476
|
var functionBindNative = !fails(function () {
|
|
22508
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
22477
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
22509
22478
|
var test = (function () { /* empty */ }).bind();
|
|
22510
22479
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22511
22480
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -22518,7 +22487,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
|
|
|
22518
22487
|
};
|
|
22519
22488
|
|
|
22520
22489
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
22521
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22490
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22522
22491
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22523
22492
|
|
|
22524
22493
|
// Nashorn ~ JDK8 bug
|
|
@@ -22545,11 +22514,14 @@ var createPropertyDescriptor = function (bitmap, value) {
|
|
|
22545
22514
|
};
|
|
22546
22515
|
|
|
22547
22516
|
var FunctionPrototype = Function.prototype;
|
|
22517
|
+
var bind$1 = FunctionPrototype.bind;
|
|
22548
22518
|
var call$1 = FunctionPrototype.call;
|
|
22549
|
-
var
|
|
22519
|
+
var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
|
|
22550
22520
|
|
|
22551
|
-
var functionUncurryThis = functionBindNative ?
|
|
22552
|
-
return
|
|
22521
|
+
var functionUncurryThis = functionBindNative ? function (fn) {
|
|
22522
|
+
return fn && uncurryThis(fn);
|
|
22523
|
+
} : function (fn) {
|
|
22524
|
+
return fn && function () {
|
|
22553
22525
|
return call$1.apply(fn, arguments);
|
|
22554
22526
|
};
|
|
22555
22527
|
};
|
|
@@ -22570,21 +22542,15 @@ var indexedObject = fails(function () {
|
|
|
22570
22542
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22571
22543
|
return !$Object('z').propertyIsEnumerable(0);
|
|
22572
22544
|
}) ? function (it) {
|
|
22573
|
-
return classofRaw(it)
|
|
22545
|
+
return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
|
|
22574
22546
|
} : $Object;
|
|
22575
22547
|
|
|
22576
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
22577
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
22578
|
-
var isNullOrUndefined = function (it) {
|
|
22579
|
-
return it === null || it === undefined;
|
|
22580
|
-
};
|
|
22581
|
-
|
|
22582
22548
|
var $TypeError = TypeError;
|
|
22583
22549
|
|
|
22584
22550
|
// `RequireObjectCoercible` abstract operation
|
|
22585
22551
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
22586
22552
|
var requireObjectCoercible = function (it) {
|
|
22587
|
-
if (
|
|
22553
|
+
if (it == undefined) throw $TypeError("Can't call method on " + it);
|
|
22588
22554
|
return it;
|
|
22589
22555
|
};
|
|
22590
22556
|
|
|
@@ -22596,32 +22562,13 @@ var toIndexedObject = function (it) {
|
|
|
22596
22562
|
return indexedObject(requireObjectCoercible(it));
|
|
22597
22563
|
};
|
|
22598
22564
|
|
|
22599
|
-
var documentAll = typeof document == 'object' && document.all;
|
|
22600
|
-
|
|
22601
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
22602
|
-
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
22603
|
-
var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
|
|
22604
|
-
|
|
22605
|
-
var documentAll_1 = {
|
|
22606
|
-
all: documentAll,
|
|
22607
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
22608
|
-
};
|
|
22609
|
-
|
|
22610
|
-
var documentAll$1 = documentAll_1.all;
|
|
22611
|
-
|
|
22612
22565
|
// `IsCallable` abstract operation
|
|
22613
22566
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
22614
|
-
var isCallable =
|
|
22615
|
-
return typeof argument == 'function' || argument === documentAll$1;
|
|
22616
|
-
} : function (argument) {
|
|
22567
|
+
var isCallable = function (argument) {
|
|
22617
22568
|
return typeof argument == 'function';
|
|
22618
22569
|
};
|
|
22619
22570
|
|
|
22620
|
-
var
|
|
22621
|
-
|
|
22622
|
-
var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
|
|
22623
|
-
return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
|
|
22624
|
-
} : function (it) {
|
|
22571
|
+
var isObject = function (it) {
|
|
22625
22572
|
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
22626
22573
|
};
|
|
22627
22574
|
|
|
@@ -22635,7 +22582,7 @@ var getBuiltIn = function (namespace, method) {
|
|
|
22635
22582
|
|
|
22636
22583
|
var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
|
|
22637
22584
|
|
|
22638
|
-
var engineUserAgent =
|
|
22585
|
+
var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
|
|
22639
22586
|
|
|
22640
22587
|
var process$1 = global_1.process;
|
|
22641
22588
|
var Deno = global_1.Deno;
|
|
@@ -22662,29 +22609,24 @@ if (!version && engineUserAgent) {
|
|
|
22662
22609
|
|
|
22663
22610
|
var engineV8Version = version;
|
|
22664
22611
|
|
|
22665
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
22666
|
-
|
|
22612
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
22667
22613
|
|
|
22668
22614
|
|
|
22669
22615
|
|
|
22670
|
-
|
|
22671
|
-
|
|
22672
|
-
|
|
22673
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22674
|
-
var symbol = Symbol('symbol detection');
|
|
22616
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
22617
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
22618
|
+
var symbol = Symbol();
|
|
22675
22619
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
22676
22620
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
22677
|
-
|
|
22678
|
-
// of course, fail.
|
|
22679
|
-
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22621
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
22680
22622
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
22681
22623
|
!Symbol.sham && engineV8Version && engineV8Version < 41;
|
|
22682
22624
|
});
|
|
22683
22625
|
|
|
22684
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
22626
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
22685
22627
|
|
|
22686
22628
|
|
|
22687
|
-
var useSymbolAsUid =
|
|
22629
|
+
var useSymbolAsUid = nativeSymbol
|
|
22688
22630
|
&& !Symbol.sham
|
|
22689
22631
|
&& typeof Symbol.iterator == 'symbol';
|
|
22690
22632
|
|
|
@@ -22697,11 +22639,11 @@ var isSymbol = useSymbolAsUid ? function (it) {
|
|
|
22697
22639
|
return isCallable($Symbol) && objectIsPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
22698
22640
|
};
|
|
22699
22641
|
|
|
22700
|
-
var $String
|
|
22642
|
+
var $String = String;
|
|
22701
22643
|
|
|
22702
22644
|
var tryToString = function (argument) {
|
|
22703
22645
|
try {
|
|
22704
|
-
return $String
|
|
22646
|
+
return $String(argument);
|
|
22705
22647
|
} catch (error) {
|
|
22706
22648
|
return 'Object';
|
|
22707
22649
|
}
|
|
@@ -22712,14 +22654,14 @@ var $TypeError$1 = TypeError;
|
|
|
22712
22654
|
// `Assert: IsCallable(argument) is true`
|
|
22713
22655
|
var aCallable = function (argument) {
|
|
22714
22656
|
if (isCallable(argument)) return argument;
|
|
22715
|
-
throw
|
|
22657
|
+
throw $TypeError$1(tryToString(argument) + ' is not a function');
|
|
22716
22658
|
};
|
|
22717
22659
|
|
|
22718
22660
|
// `GetMethod` abstract operation
|
|
22719
22661
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
22720
22662
|
var getMethod = function (V, P) {
|
|
22721
22663
|
var func = V[P];
|
|
22722
|
-
return
|
|
22664
|
+
return func == null ? undefined : aCallable(func);
|
|
22723
22665
|
};
|
|
22724
22666
|
|
|
22725
22667
|
var $TypeError$2 = TypeError;
|
|
@@ -22731,10 +22673,10 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
22731
22673
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22732
22674
|
if (isCallable(fn = input.valueOf) && !isObject(val = functionCall(fn, input))) return val;
|
|
22733
22675
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = functionCall(fn, input))) return val;
|
|
22734
|
-
throw
|
|
22676
|
+
throw $TypeError$2("Can't convert object to primitive value");
|
|
22735
22677
|
};
|
|
22736
22678
|
|
|
22737
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22679
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
22738
22680
|
var defineProperty = Object.defineProperty;
|
|
22739
22681
|
|
|
22740
22682
|
var defineGlobalProperty = function (key, value) {
|
|
@@ -22751,16 +22693,13 @@ var store = global_1[SHARED] || defineGlobalProperty(SHARED, {});
|
|
|
22751
22693
|
var sharedStore = store;
|
|
22752
22694
|
|
|
22753
22695
|
var shared = createCommonjsModule(function (module) {
|
|
22754
|
-
|
|
22755
|
-
|
|
22756
|
-
|
|
22757
22696
|
(module.exports = function (key, value) {
|
|
22758
22697
|
return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
|
|
22759
22698
|
})('versions', []).push({
|
|
22760
|
-
version: '3.
|
|
22699
|
+
version: '3.24.1',
|
|
22761
22700
|
mode: 'global',
|
|
22762
|
-
copyright: '© 2014-
|
|
22763
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22701
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
22702
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
|
|
22764
22703
|
source: 'https://github.com/zloirock/core-js'
|
|
22765
22704
|
});
|
|
22766
22705
|
});
|
|
@@ -22777,7 +22716,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
|
|
|
22777
22716
|
|
|
22778
22717
|
// `HasOwnProperty` abstract operation
|
|
22779
22718
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
22780
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
22719
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
22781
22720
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
22782
22721
|
return hasOwnProperty(toObject(it), key);
|
|
22783
22722
|
};
|
|
@@ -22790,15 +22729,21 @@ var uid = function (key) {
|
|
|
22790
22729
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
|
22791
22730
|
};
|
|
22792
22731
|
|
|
22793
|
-
var Symbol$1 = global_1.Symbol;
|
|
22794
22732
|
var WellKnownSymbolsStore = shared('wks');
|
|
22795
|
-
var
|
|
22733
|
+
var Symbol$1 = global_1.Symbol;
|
|
22734
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
22735
|
+
var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
|
|
22796
22736
|
|
|
22797
22737
|
var wellKnownSymbol = function (name) {
|
|
22798
|
-
if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
|
|
22799
|
-
|
|
22800
|
-
|
|
22801
|
-
|
|
22738
|
+
if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
22739
|
+
var description = 'Symbol.' + name;
|
|
22740
|
+
if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
|
|
22741
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
22742
|
+
} else if (useSymbolAsUid && symbolFor) {
|
|
22743
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
22744
|
+
} else {
|
|
22745
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
22746
|
+
}
|
|
22802
22747
|
} return WellKnownSymbolsStore[name];
|
|
22803
22748
|
};
|
|
22804
22749
|
|
|
@@ -22815,7 +22760,7 @@ var toPrimitive = function (input, pref) {
|
|
|
22815
22760
|
if (pref === undefined) pref = 'default';
|
|
22816
22761
|
result = functionCall(exoticToPrim, input, pref);
|
|
22817
22762
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
22818
|
-
throw
|
|
22763
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
|
22819
22764
|
}
|
|
22820
22765
|
if (pref === undefined) pref = 'number';
|
|
22821
22766
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -22838,13 +22783,13 @@ var documentCreateElement = function (it) {
|
|
|
22838
22783
|
|
|
22839
22784
|
// Thanks to IE8 for its funny defineProperty
|
|
22840
22785
|
var ie8DomDefine = !descriptors && !fails(function () {
|
|
22841
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22786
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22842
22787
|
return Object.defineProperty(documentCreateElement('div'), 'a', {
|
|
22843
22788
|
get: function () { return 7; }
|
|
22844
|
-
}).a
|
|
22789
|
+
}).a != 7;
|
|
22845
22790
|
});
|
|
22846
22791
|
|
|
22847
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22792
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22848
22793
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
22849
22794
|
|
|
22850
22795
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -22865,26 +22810,26 @@ var objectGetOwnPropertyDescriptor = {
|
|
|
22865
22810
|
// V8 ~ Chrome 36-
|
|
22866
22811
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
22867
22812
|
var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
22868
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
22813
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
22869
22814
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
22870
22815
|
value: 42,
|
|
22871
22816
|
writable: false
|
|
22872
|
-
}).prototype
|
|
22817
|
+
}).prototype != 42;
|
|
22873
22818
|
});
|
|
22874
22819
|
|
|
22875
|
-
var $String$
|
|
22820
|
+
var $String$1 = String;
|
|
22876
22821
|
var $TypeError$4 = TypeError;
|
|
22877
22822
|
|
|
22878
22823
|
// `Assert: Type(argument) is Object`
|
|
22879
22824
|
var anObject = function (argument) {
|
|
22880
22825
|
if (isObject(argument)) return argument;
|
|
22881
|
-
throw
|
|
22826
|
+
throw $TypeError$4($String$1(argument) + ' is not an object');
|
|
22882
22827
|
};
|
|
22883
22828
|
|
|
22884
22829
|
var $TypeError$5 = TypeError;
|
|
22885
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22830
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
22886
22831
|
var $defineProperty = Object.defineProperty;
|
|
22887
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22832
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22888
22833
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
22889
22834
|
var ENUMERABLE = 'enumerable';
|
|
22890
22835
|
var CONFIGURABLE = 'configurable';
|
|
@@ -22914,7 +22859,7 @@ var f$2 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
22914
22859
|
if (ie8DomDefine) try {
|
|
22915
22860
|
return $defineProperty(O, P, Attributes);
|
|
22916
22861
|
} catch (error) { /* empty */ }
|
|
22917
|
-
if ('get' in Attributes || 'set' in Attributes) throw
|
|
22862
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
22918
22863
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
22919
22864
|
return O;
|
|
22920
22865
|
};
|
|
@@ -22931,7 +22876,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
|
|
|
22931
22876
|
};
|
|
22932
22877
|
|
|
22933
22878
|
var FunctionPrototype$1 = Function.prototype;
|
|
22934
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
22879
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
22935
22880
|
var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
|
|
22936
22881
|
|
|
22937
22882
|
var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
|
|
@@ -22958,7 +22903,7 @@ var inspectSource = sharedStore.inspectSource;
|
|
|
22958
22903
|
|
|
22959
22904
|
var WeakMap$1 = global_1.WeakMap;
|
|
22960
22905
|
|
|
22961
|
-
var
|
|
22906
|
+
var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
|
22962
22907
|
|
|
22963
22908
|
var keys$1 = shared('keys');
|
|
22964
22909
|
|
|
@@ -22981,29 +22926,27 @@ var getterFor = function (TYPE) {
|
|
|
22981
22926
|
return function (it) {
|
|
22982
22927
|
var state;
|
|
22983
22928
|
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
22984
|
-
throw
|
|
22929
|
+
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
22985
22930
|
} return state;
|
|
22986
22931
|
};
|
|
22987
22932
|
};
|
|
22988
22933
|
|
|
22989
|
-
if (
|
|
22934
|
+
if (nativeWeakMap || sharedStore.state) {
|
|
22990
22935
|
var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
|
|
22991
|
-
|
|
22992
|
-
|
|
22993
|
-
|
|
22994
|
-
store$1.set = store$1.set;
|
|
22995
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
22936
|
+
var wmget = functionUncurryThis(store$1.get);
|
|
22937
|
+
var wmhas = functionUncurryThis(store$1.has);
|
|
22938
|
+
var wmset = functionUncurryThis(store$1.set);
|
|
22996
22939
|
set = function (it, metadata) {
|
|
22997
|
-
if (store$1
|
|
22940
|
+
if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
22998
22941
|
metadata.facade = it;
|
|
22999
|
-
store$1
|
|
22942
|
+
wmset(store$1, it, metadata);
|
|
23000
22943
|
return metadata;
|
|
23001
22944
|
};
|
|
23002
22945
|
get = function (it) {
|
|
23003
|
-
return store$1
|
|
22946
|
+
return wmget(store$1, it) || {};
|
|
23004
22947
|
};
|
|
23005
22948
|
has = function (it) {
|
|
23006
|
-
return store$1
|
|
22949
|
+
return wmhas(store$1, it);
|
|
23007
22950
|
};
|
|
23008
22951
|
} else {
|
|
23009
22952
|
var STATE = sharedKey('state');
|
|
@@ -23031,23 +22974,14 @@ var internalState = {
|
|
|
23031
22974
|
};
|
|
23032
22975
|
|
|
23033
22976
|
var makeBuiltIn_1 = createCommonjsModule(function (module) {
|
|
23034
|
-
|
|
23035
|
-
|
|
23036
|
-
|
|
23037
|
-
|
|
23038
|
-
|
|
23039
22977
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
23040
22978
|
|
|
23041
22979
|
|
|
23042
22980
|
|
|
23043
22981
|
var enforceInternalState = internalState.enforce;
|
|
23044
22982
|
var getInternalState = internalState.get;
|
|
23045
|
-
|
|
23046
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
22983
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
23047
22984
|
var defineProperty = Object.defineProperty;
|
|
23048
|
-
var stringSlice = functionUncurryThis(''.slice);
|
|
23049
|
-
var replace = functionUncurryThis(''.replace);
|
|
23050
|
-
var join = functionUncurryThis([].join);
|
|
23051
22985
|
|
|
23052
22986
|
var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
23053
22987
|
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -23056,8 +22990,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
|
|
|
23056
22990
|
var TEMPLATE = String(String).split('String');
|
|
23057
22991
|
|
|
23058
22992
|
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
23059
|
-
if (
|
|
23060
|
-
name = '[' +
|
|
22993
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
22994
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
23061
22995
|
}
|
|
23062
22996
|
if (options && options.getter) name = 'get ' + name;
|
|
23063
22997
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -23076,7 +23010,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
|
|
|
23076
23010
|
} catch (error) { /* empty */ }
|
|
23077
23011
|
var state = enforceInternalState(value);
|
|
23078
23012
|
if (!hasOwnProperty_1(state, 'source')) {
|
|
23079
|
-
state.source = join(
|
|
23013
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
23080
23014
|
} return value;
|
|
23081
23015
|
};
|
|
23082
23016
|
|
|
@@ -23115,7 +23049,7 @@ var floor = Math.floor;
|
|
|
23115
23049
|
|
|
23116
23050
|
// `Math.trunc` method
|
|
23117
23051
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
23118
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
23052
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
23119
23053
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
23120
23054
|
var n = +x;
|
|
23121
23055
|
return (n > 0 ? floor : ceil)(n);
|
|
@@ -23163,10 +23097,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
23163
23097
|
var value;
|
|
23164
23098
|
// Array#includes uses SameValueZero equality algorithm
|
|
23165
23099
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23166
|
-
if (IS_INCLUDES && el
|
|
23100
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
23167
23101
|
value = O[index++];
|
|
23168
23102
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
23169
|
-
if (value
|
|
23103
|
+
if (value != value) return true;
|
|
23170
23104
|
// Array#indexOf ignores holes, Array#includes - not
|
|
23171
23105
|
} else for (;length > index; index++) {
|
|
23172
23106
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
@@ -23216,7 +23150,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
|
|
|
23216
23150
|
|
|
23217
23151
|
// `Object.getOwnPropertyNames` method
|
|
23218
23152
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
23219
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
23153
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
23220
23154
|
var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
23221
23155
|
return objectKeysInternal(O, hiddenKeys$1);
|
|
23222
23156
|
};
|
|
@@ -23225,7 +23159,7 @@ var objectGetOwnPropertyNames = {
|
|
|
23225
23159
|
f: f$3
|
|
23226
23160
|
};
|
|
23227
23161
|
|
|
23228
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
23162
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
23229
23163
|
var f$4 = Object.getOwnPropertySymbols;
|
|
23230
23164
|
|
|
23231
23165
|
var objectGetOwnPropertySymbols = {
|
|
@@ -23257,8 +23191,8 @@ var replacement = /#|\.prototype\./;
|
|
|
23257
23191
|
|
|
23258
23192
|
var isForced = function (feature, detection) {
|
|
23259
23193
|
var value = data[normalize(feature)];
|
|
23260
|
-
return value
|
|
23261
|
-
: value
|
|
23194
|
+
return value == POLYFILL ? true
|
|
23195
|
+
: value == NATIVE ? false
|
|
23262
23196
|
: isCallable(detection) ? fails(detection)
|
|
23263
23197
|
: !!detection;
|
|
23264
23198
|
};
|
|
@@ -23338,7 +23272,7 @@ var TO_STRING_TAG$1 = wellKnownSymbol('toStringTag');
|
|
|
23338
23272
|
var $Object$3 = Object;
|
|
23339
23273
|
|
|
23340
23274
|
// ES3 wrong here
|
|
23341
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }())
|
|
23275
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
23342
23276
|
|
|
23343
23277
|
// fallback for IE11 Script Access Denied error
|
|
23344
23278
|
var tryGet = function (it, key) {
|
|
@@ -23356,25 +23290,25 @@ var classof = toStringTagSupport ? classofRaw : function (it) {
|
|
|
23356
23290
|
// builtinTag case
|
|
23357
23291
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
23358
23292
|
// ES3 arguments fallback
|
|
23359
|
-
: (result = classofRaw(O))
|
|
23293
|
+
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
23360
23294
|
};
|
|
23361
23295
|
|
|
23362
|
-
var $String$
|
|
23296
|
+
var $String$2 = String;
|
|
23363
23297
|
|
|
23364
23298
|
var toString_1 = function (argument) {
|
|
23365
|
-
if (classof(argument) === 'Symbol') throw
|
|
23366
|
-
return $String$
|
|
23299
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
23300
|
+
return $String$2(argument);
|
|
23367
23301
|
};
|
|
23368
23302
|
|
|
23369
23303
|
var charAt = functionUncurryThis(''.charAt);
|
|
23370
23304
|
|
|
23371
23305
|
var FORCED = fails(function () {
|
|
23372
|
-
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
23306
|
+
// eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
|
|
23373
23307
|
return '𠮷'.at(-2) !== '\uD842';
|
|
23374
23308
|
});
|
|
23375
23309
|
|
|
23376
23310
|
// `String.prototype.at` method
|
|
23377
|
-
// https://
|
|
23311
|
+
// https://github.com/tc39/proposal-relative-indexing-method
|
|
23378
23312
|
_export({ target: 'String', proto: true, forced: FORCED }, {
|
|
23379
23313
|
at: function at(index) {
|
|
23380
23314
|
var S = toString_1(requireObjectCoercible(this));
|
|
@@ -23387,14 +23321,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
|
|
|
23387
23321
|
|
|
23388
23322
|
// `Object.keys` method
|
|
23389
23323
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
23390
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
23324
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
|
23391
23325
|
var objectKeys = Object.keys || function keys(O) {
|
|
23392
23326
|
return objectKeysInternal(O, enumBugKeys);
|
|
23393
23327
|
};
|
|
23394
23328
|
|
|
23395
23329
|
// `Object.defineProperties` method
|
|
23396
23330
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
23397
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
23331
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
|
23398
23332
|
var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
23399
23333
|
anObject(O);
|
|
23400
23334
|
var props = toIndexedObject(Properties);
|
|
@@ -23483,7 +23417,7 @@ hiddenKeys[IE_PROTO] = true;
|
|
|
23483
23417
|
|
|
23484
23418
|
// `Object.create` method
|
|
23485
23419
|
// https://tc39.es/ecma262/#sec-object.create
|
|
23486
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
23420
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
|
23487
23421
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
23488
23422
|
var result;
|
|
23489
23423
|
if (O !== null) {
|
|
@@ -23503,7 +23437,7 @@ var ArrayPrototype = Array.prototype;
|
|
|
23503
23437
|
|
|
23504
23438
|
// Array.prototype[@@unscopables]
|
|
23505
23439
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
23506
|
-
if (ArrayPrototype[UNSCOPABLES]
|
|
23440
|
+
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
23507
23441
|
defineProperty$1(ArrayPrototype, UNSCOPABLES, {
|
|
23508
23442
|
configurable: true,
|
|
23509
23443
|
value: objectCreate(null)
|
|
@@ -23516,7 +23450,7 @@ var addToUnscopables = function (key) {
|
|
|
23516
23450
|
};
|
|
23517
23451
|
|
|
23518
23452
|
// `Array.prototype.at` method
|
|
23519
|
-
// https://
|
|
23453
|
+
// https://github.com/tc39/proposal-relative-indexing-method
|
|
23520
23454
|
_export({ target: 'Array', proto: true }, {
|
|
23521
23455
|
at: function at(index) {
|
|
23522
23456
|
var O = toObject(this);
|
|
@@ -23529,19 +23463,13 @@ _export({ target: 'Array', proto: true }, {
|
|
|
23529
23463
|
|
|
23530
23464
|
addToUnscopables('at');
|
|
23531
23465
|
|
|
23532
|
-
// eslint-disable-next-line es/no-typed-arrays -- safe
|
|
23533
|
-
var
|
|
23534
|
-
|
|
23535
|
-
var defineBuiltInAccessor = function (target, name, descriptor) {
|
|
23536
|
-
if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
|
|
23537
|
-
if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
|
|
23538
|
-
return objectDefineProperty.f(target, name, descriptor);
|
|
23539
|
-
};
|
|
23466
|
+
// eslint-disable-next-line es-x/no-typed-arrays -- safe
|
|
23467
|
+
var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
|
|
23540
23468
|
|
|
23541
23469
|
var correctPrototypeGetter = !fails(function () {
|
|
23542
23470
|
function F() { /* empty */ }
|
|
23543
23471
|
F.prototype.constructor = null;
|
|
23544
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
23472
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
|
|
23545
23473
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
23546
23474
|
});
|
|
23547
23475
|
|
|
@@ -23551,7 +23479,7 @@ var ObjectPrototype = $Object$4.prototype;
|
|
|
23551
23479
|
|
|
23552
23480
|
// `Object.getPrototypeOf` method
|
|
23553
23481
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
23554
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
23482
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- safe
|
|
23555
23483
|
var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
|
|
23556
23484
|
var object = toObject(O);
|
|
23557
23485
|
if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
@@ -23561,19 +23489,12 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
|
|
|
23561
23489
|
} return object instanceof $Object$4 ? ObjectPrototype : null;
|
|
23562
23490
|
};
|
|
23563
23491
|
|
|
23564
|
-
var
|
|
23565
|
-
try {
|
|
23566
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
23567
|
-
return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
23568
|
-
} catch (error) { /* empty */ }
|
|
23569
|
-
};
|
|
23570
|
-
|
|
23571
|
-
var $String$4 = String;
|
|
23492
|
+
var $String$3 = String;
|
|
23572
23493
|
var $TypeError$6 = TypeError;
|
|
23573
23494
|
|
|
23574
23495
|
var aPossiblePrototype = function (argument) {
|
|
23575
23496
|
if (typeof argument == 'object' || isCallable(argument)) return argument;
|
|
23576
|
-
throw
|
|
23497
|
+
throw $TypeError$6("Can't set " + $String$3(argument) + ' as a prototype');
|
|
23577
23498
|
};
|
|
23578
23499
|
|
|
23579
23500
|
/* eslint-disable no-proto -- safe */
|
|
@@ -23584,13 +23505,14 @@ var aPossiblePrototype = function (argument) {
|
|
|
23584
23505
|
// `Object.setPrototypeOf` method
|
|
23585
23506
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
23586
23507
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
23587
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
23508
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
23588
23509
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
23589
23510
|
var CORRECT_SETTER = false;
|
|
23590
23511
|
var test = {};
|
|
23591
23512
|
var setter;
|
|
23592
23513
|
try {
|
|
23593
|
-
|
|
23514
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
23515
|
+
setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
23594
23516
|
setter(test, []);
|
|
23595
23517
|
CORRECT_SETTER = test instanceof Array;
|
|
23596
23518
|
} catch (error) { /* empty */ }
|
|
@@ -23603,6 +23525,14 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
23603
23525
|
};
|
|
23604
23526
|
}() : undefined);
|
|
23605
23527
|
|
|
23528
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
23529
|
+
|
|
23530
|
+
|
|
23531
|
+
|
|
23532
|
+
|
|
23533
|
+
|
|
23534
|
+
|
|
23535
|
+
|
|
23606
23536
|
var enforceInternalState = internalState.enforce;
|
|
23607
23537
|
var getInternalState = internalState.get;
|
|
23608
23538
|
var Int8Array = global_1.Int8Array;
|
|
@@ -23618,7 +23548,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
|
|
|
23618
23548
|
var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
|
|
23619
23549
|
var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
|
|
23620
23550
|
// Fixing native typed arrays in Opera Presto crashes the browser, see #595
|
|
23621
|
-
var NATIVE_ARRAY_BUFFER_VIEWS =
|
|
23551
|
+
var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
|
|
23622
23552
|
var TYPED_ARRAY_TAG_REQUIRED = false;
|
|
23623
23553
|
var NAME, Constructor, Prototype;
|
|
23624
23554
|
|
|
@@ -23663,12 +23593,12 @@ var isTypedArray = function (it) {
|
|
|
23663
23593
|
|
|
23664
23594
|
var aTypedArray = function (it) {
|
|
23665
23595
|
if (isTypedArray(it)) return it;
|
|
23666
|
-
throw
|
|
23596
|
+
throw TypeError$2('Target is not a typed array');
|
|
23667
23597
|
};
|
|
23668
23598
|
|
|
23669
23599
|
var aTypedArrayConstructor = function (C) {
|
|
23670
23600
|
if (isCallable(C) && (!objectSetPrototypeOf || objectIsPrototypeOf(TypedArray, C))) return C;
|
|
23671
|
-
throw
|
|
23601
|
+
throw TypeError$2(tryToString(C) + ' is not a typed array constructor');
|
|
23672
23602
|
};
|
|
23673
23603
|
|
|
23674
23604
|
var exportTypedArrayMethod = function (KEY, property, forced, options) {
|
|
@@ -23732,7 +23662,7 @@ for (NAME in BigIntArrayConstructorsList) {
|
|
|
23732
23662
|
if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {
|
|
23733
23663
|
// eslint-disable-next-line no-shadow -- safe
|
|
23734
23664
|
TypedArray = function TypedArray() {
|
|
23735
|
-
throw
|
|
23665
|
+
throw TypeError$2('Incorrect invocation');
|
|
23736
23666
|
};
|
|
23737
23667
|
if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {
|
|
23738
23668
|
if (global_1[NAME]) objectSetPrototypeOf(global_1[NAME], TypedArray);
|
|
@@ -23753,12 +23683,9 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
|
|
|
23753
23683
|
|
|
23754
23684
|
if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
|
|
23755
23685
|
TYPED_ARRAY_TAG_REQUIRED = true;
|
|
23756
|
-
|
|
23757
|
-
|
|
23758
|
-
|
|
23759
|
-
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23760
|
-
}
|
|
23761
|
-
});
|
|
23686
|
+
defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
|
|
23687
|
+
return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
|
|
23688
|
+
} });
|
|
23762
23689
|
for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
|
|
23763
23690
|
createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
|
|
23764
23691
|
}
|
|
@@ -23782,7 +23709,7 @@ var aTypedArray$1 = arrayBufferViewCore.aTypedArray;
|
|
|
23782
23709
|
var exportTypedArrayMethod$1 = arrayBufferViewCore.exportTypedArrayMethod;
|
|
23783
23710
|
|
|
23784
23711
|
// `%TypedArray%.prototype.at` method
|
|
23785
|
-
// https://
|
|
23712
|
+
// https://github.com/tc39/proposal-relative-indexing-method
|
|
23786
23713
|
exportTypedArrayMethod$1('at', function at(index) {
|
|
23787
23714
|
var O = aTypedArray$1(this);
|
|
23788
23715
|
var len = lengthOfArrayLike(O);
|
|
@@ -48761,7 +48688,8 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48761
48688
|
containerStyles = _ref$containerStyles === void 0 ? "" : _ref$containerStyles,
|
|
48762
48689
|
ariaDescribedBy = _ref.ariaDescribedBy,
|
|
48763
48690
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
48764
|
-
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire
|
|
48691
|
+
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
48692
|
+
_ref$legendText = _ref.legendText;
|
|
48765
48693
|
|
|
48766
48694
|
var handleKeyDown = function handleKeyDown(id, e) {
|
|
48767
48695
|
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13 || (e === null || e === void 0 ? void 0 : e.keyCode) === 32) {
|
|
@@ -48816,10 +48744,18 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48816
48744
|
borderRadius: "4px",
|
|
48817
48745
|
extraStyles: containerStyles
|
|
48818
48746
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
48819
|
-
childGap: "0"
|
|
48820
|
-
|
|
48821
|
-
"
|
|
48822
|
-
|
|
48747
|
+
childGap: "0"
|
|
48748
|
+
}, /*#__PURE__*/React__default.createElement("fieldset", {
|
|
48749
|
+
role: "radiogroup",
|
|
48750
|
+
tabIndex: "0",
|
|
48751
|
+
required: isSectionRequired
|
|
48752
|
+
}, /*#__PURE__*/React__default.createElement("legend", null, /*#__PURE__*/React__default.createElement(Box, {
|
|
48753
|
+
width: "0",
|
|
48754
|
+
srOnly: true,
|
|
48755
|
+
border: "0",
|
|
48756
|
+
padding: "0",
|
|
48757
|
+
margin: "0"
|
|
48758
|
+
})), sections.filter(function (section) {
|
|
48823
48759
|
return !section.hidden;
|
|
48824
48760
|
}).map(function (section) {
|
|
48825
48761
|
return /*#__PURE__*/React__default.createElement(Motion, {
|
|
@@ -48879,7 +48815,6 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48879
48815
|
toggleRadio: section.disabled ? noop : function () {
|
|
48880
48816
|
return toggleOpenSection(section.id);
|
|
48881
48817
|
},
|
|
48882
|
-
tabIndex: "-1",
|
|
48883
48818
|
isRequired: section === null || section === void 0 ? void 0 : section.required
|
|
48884
48819
|
})), section.titleIcon && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48885
48820
|
align: "center"
|
|
@@ -48915,7 +48850,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48915
48850
|
variants: wrapper,
|
|
48916
48851
|
extraStyles: "transform-origin: 100% 0;"
|
|
48917
48852
|
}, section.content))));
|
|
48918
|
-
})));
|
|
48853
|
+
}))));
|
|
48919
48854
|
};
|
|
48920
48855
|
|
|
48921
48856
|
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$Q);
|
|
@@ -49945,7 +49880,6 @@ exports.ImageBox = ImageBox;
|
|
|
49945
49880
|
exports.Imposter = Imposter;
|
|
49946
49881
|
exports.InternalLink = InternalLink;
|
|
49947
49882
|
exports.Jumbo = Jumbo$1;
|
|
49948
|
-
exports.KebabMenuIcon = KebabMenuIcon;
|
|
49949
49883
|
exports.KioskImage = KioskImage;
|
|
49950
49884
|
exports.LabeledAmount = LabeledAmount$1;
|
|
49951
49885
|
exports.LineItem = LineItem$1;
|