@darajs/components 1.2.3 → 1.2.4
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/common/input/input.d.ts.map +1 -1
- package/dist/common/input/input.js +10 -2
- package/dist/common/input/input.js.map +1 -1
- package/dist/common/radio-group/radio-group.js +2 -1
- package/dist/common/radio-group/radio-group.js.map +1 -1
- package/dist/dara_components-1.2.4-py3-none-any.whl +0 -0
- package/dist/plotting/plotly/plotly.d.ts.map +1 -1
- package/dist/plotting/plotly/plotly.js +3 -2
- package/dist/plotting/plotly/plotly.js.map +1 -1
- package/dist/umd/dara.components.umd.js +344 -662
- package/package.json +3 -3
- package/dist/dara_components-1.2.3-py3-none-any.whl +0 -0
|
@@ -212,18 +212,18 @@
|
|
|
212
212
|
}
|
|
213
213
|
})(jsxRuntime);
|
|
214
214
|
var Collapse$2 = {};
|
|
215
|
-
function _typeof$
|
|
215
|
+
function _typeof$9(obj) {
|
|
216
216
|
"@babel/helpers - typeof";
|
|
217
217
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
218
|
-
_typeof$
|
|
218
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
219
219
|
return typeof obj2;
|
|
220
220
|
};
|
|
221
221
|
} else {
|
|
222
|
-
_typeof$
|
|
222
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
223
223
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
return _typeof$
|
|
226
|
+
return _typeof$9(obj);
|
|
227
227
|
}
|
|
228
228
|
Object.defineProperty(Collapse$2, "__esModule", {
|
|
229
229
|
value: true
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
286
|
function _possibleConstructorReturn$3(self2, call2) {
|
|
287
|
-
if (call2 && (_typeof$
|
|
287
|
+
if (call2 && (_typeof$9(call2) === "object" || typeof call2 === "function")) {
|
|
288
288
|
return call2;
|
|
289
289
|
} else if (call2 !== void 0) {
|
|
290
290
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
};
|
|
319
319
|
return _getPrototypeOf$4(o2);
|
|
320
320
|
}
|
|
321
|
-
function _defineProperty$
|
|
321
|
+
function _defineProperty$s(obj, key, value) {
|
|
322
322
|
if (key in obj) {
|
|
323
323
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
324
324
|
} else {
|
|
@@ -333,10 +333,10 @@
|
|
|
333
333
|
var _this;
|
|
334
334
|
_classCallCheck$j(this, Collapse2);
|
|
335
335
|
_this = _super.call(this, props);
|
|
336
|
-
_defineProperty$
|
|
337
|
-
_defineProperty$
|
|
338
|
-
_defineProperty$
|
|
339
|
-
_defineProperty$
|
|
336
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "timeout", void 0);
|
|
337
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "container", void 0);
|
|
338
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "content", void 0);
|
|
339
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onResize", function() {
|
|
340
340
|
clearTimeout(_this.timeout);
|
|
341
341
|
if (!_this.container || !_this.content) {
|
|
342
342
|
return;
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
}, checkTimeout);
|
|
368
368
|
}
|
|
369
369
|
});
|
|
370
|
-
_defineProperty$
|
|
370
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onRest", function(_ref2) {
|
|
371
371
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
372
372
|
if (!_this.container || !_this.content) {
|
|
373
373
|
return;
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
|
-
_defineProperty$
|
|
392
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onWork", function(_ref2) {
|
|
393
393
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
394
394
|
if (!_this.container || !_this.content) {
|
|
395
395
|
return;
|
|
@@ -412,10 +412,10 @@
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
|
-
_defineProperty$
|
|
415
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onRefContainer", function(container) {
|
|
416
416
|
_this.container = container;
|
|
417
417
|
});
|
|
418
|
-
_defineProperty$
|
|
418
|
+
_defineProperty$s(_assertThisInitialized$5(_this), "onRefContent", function(content2) {
|
|
419
419
|
_this.content = content2;
|
|
420
420
|
});
|
|
421
421
|
if (props.initialStyle) {
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
return Collapse2;
|
|
485
485
|
}(_react$1["default"].Component);
|
|
486
486
|
Collapse$2.Collapse = Collapse$1;
|
|
487
|
-
_defineProperty$
|
|
487
|
+
_defineProperty$s(Collapse$1, "defaultProps", {
|
|
488
488
|
theme: {
|
|
489
489
|
collapse: "ReactCollapse--collapse",
|
|
490
490
|
content: "ReactCollapse--content"
|
|
@@ -495,18 +495,18 @@
|
|
|
495
495
|
checkTimeout: 50
|
|
496
496
|
});
|
|
497
497
|
var UnmountClosed$2 = {};
|
|
498
|
-
function _typeof$
|
|
498
|
+
function _typeof$8(obj) {
|
|
499
499
|
"@babel/helpers - typeof";
|
|
500
500
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
501
|
-
_typeof$
|
|
501
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
502
502
|
return typeof obj2;
|
|
503
503
|
};
|
|
504
504
|
} else {
|
|
505
|
-
_typeof$
|
|
505
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
506
506
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
return _typeof$
|
|
509
|
+
return _typeof$8(obj);
|
|
510
510
|
}
|
|
511
511
|
Object.defineProperty(UnmountClosed$2, "__esModule", {
|
|
512
512
|
value: true
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
};
|
|
533
533
|
return _extends$4.apply(this, arguments);
|
|
534
534
|
}
|
|
535
|
-
function ownKeys$
|
|
535
|
+
function ownKeys$9(object2, enumerableOnly) {
|
|
536
536
|
var keys2 = Object.keys(object2);
|
|
537
537
|
if (Object.getOwnPropertySymbols) {
|
|
538
538
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -549,23 +549,23 @@
|
|
|
549
549
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
550
550
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
551
551
|
if (i2 % 2) {
|
|
552
|
-
ownKeys$
|
|
553
|
-
_defineProperty$
|
|
552
|
+
ownKeys$9(Object(source), true).forEach(function(key) {
|
|
553
|
+
_defineProperty$r(target, key, source[key]);
|
|
554
554
|
});
|
|
555
555
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
556
556
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
557
557
|
} else {
|
|
558
|
-
ownKeys$
|
|
558
|
+
ownKeys$9(Object(source)).forEach(function(key) {
|
|
559
559
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
560
560
|
});
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
return target;
|
|
564
564
|
}
|
|
565
|
-
function _objectWithoutProperties$
|
|
565
|
+
function _objectWithoutProperties$3(source, excluded) {
|
|
566
566
|
if (source == null)
|
|
567
567
|
return {};
|
|
568
|
-
var target = _objectWithoutPropertiesLoose$
|
|
568
|
+
var target = _objectWithoutPropertiesLoose$6(source, excluded);
|
|
569
569
|
var key, i2;
|
|
570
570
|
if (Object.getOwnPropertySymbols) {
|
|
571
571
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
}
|
|
581
581
|
return target;
|
|
582
582
|
}
|
|
583
|
-
function _objectWithoutPropertiesLoose$
|
|
583
|
+
function _objectWithoutPropertiesLoose$6(source, excluded) {
|
|
584
584
|
if (source == null)
|
|
585
585
|
return {};
|
|
586
586
|
var target = {};
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
647
|
function _possibleConstructorReturn$2(self2, call2) {
|
|
648
|
-
if (call2 && (_typeof$
|
|
648
|
+
if (call2 && (_typeof$8(call2) === "object" || typeof call2 === "function")) {
|
|
649
649
|
return call2;
|
|
650
650
|
} else if (call2 !== void 0) {
|
|
651
651
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
};
|
|
680
680
|
return _getPrototypeOf$3(o2);
|
|
681
681
|
}
|
|
682
|
-
function _defineProperty$
|
|
682
|
+
function _defineProperty$r(obj, key, value) {
|
|
683
683
|
if (key in obj) {
|
|
684
684
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
685
685
|
} else {
|
|
@@ -694,8 +694,8 @@
|
|
|
694
694
|
var _this;
|
|
695
695
|
_classCallCheck$i(this, UnmountClosed2);
|
|
696
696
|
_this = _super.call(this, props);
|
|
697
|
-
_defineProperty$
|
|
698
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
697
|
+
_defineProperty$r(_assertThisInitialized$4(_this), "onWork", function(_ref2) {
|
|
698
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded$6);
|
|
699
699
|
_this.setState({
|
|
700
700
|
isResting: false,
|
|
701
701
|
isOpened
|
|
@@ -707,8 +707,8 @@
|
|
|
707
707
|
}, rest));
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
_defineProperty$
|
|
711
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
710
|
+
_defineProperty$r(_assertThisInitialized$4(_this), "onRest", function(_ref2) {
|
|
711
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded2$3);
|
|
712
712
|
_this.setState({
|
|
713
713
|
isResting: true,
|
|
714
714
|
isOpened,
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
}, rest));
|
|
722
722
|
}
|
|
723
723
|
});
|
|
724
|
-
_defineProperty$
|
|
724
|
+
_defineProperty$r(_assertThisInitialized$4(_this), "getInitialStyle", function() {
|
|
725
725
|
var _this$state = _this.state, isOpened = _this$state.isOpened, isInitialRender = _this$state.isInitialRender;
|
|
726
726
|
if (isInitialRender) {
|
|
727
727
|
return isOpened ? {
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
return UnmountClosed2;
|
|
771
771
|
}(_react["default"].PureComponent);
|
|
772
772
|
UnmountClosed$2.UnmountClosed = UnmountClosed$1;
|
|
773
|
-
_defineProperty$
|
|
773
|
+
_defineProperty$r(UnmountClosed$1, "defaultProps", {
|
|
774
774
|
onWork: void 0,
|
|
775
775
|
onRest: void 0
|
|
776
776
|
});
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
iconName: "check",
|
|
923
923
|
icon: [448, 512, [10003, 10004], "f00c", "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]
|
|
924
924
|
};
|
|
925
|
-
function ownKeys$
|
|
925
|
+
function ownKeys$8(object2, enumerableOnly) {
|
|
926
926
|
var keys2 = Object.keys(object2);
|
|
927
927
|
if (Object.getOwnPropertySymbols) {
|
|
928
928
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -932,24 +932,24 @@
|
|
|
932
932
|
}
|
|
933
933
|
return keys2;
|
|
934
934
|
}
|
|
935
|
-
function _objectSpread2$
|
|
935
|
+
function _objectSpread2$2(target) {
|
|
936
936
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
937
937
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
938
|
-
i2 % 2 ? ownKeys$
|
|
939
|
-
_defineProperty$
|
|
940
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
938
|
+
i2 % 2 ? ownKeys$8(Object(source), true).forEach(function(key) {
|
|
939
|
+
_defineProperty$q(target, key, source[key]);
|
|
940
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function(key) {
|
|
941
941
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
942
942
|
});
|
|
943
943
|
}
|
|
944
944
|
return target;
|
|
945
945
|
}
|
|
946
|
-
function _typeof$
|
|
946
|
+
function _typeof$7(obj) {
|
|
947
947
|
"@babel/helpers - typeof";
|
|
948
|
-
return _typeof$
|
|
948
|
+
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
949
949
|
return typeof obj2;
|
|
950
950
|
} : function(obj2) {
|
|
951
951
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
952
|
-
}, _typeof$
|
|
952
|
+
}, _typeof$7(obj);
|
|
953
953
|
}
|
|
954
954
|
function _classCallCheck$h(instance2, Constructor) {
|
|
955
955
|
if (!(instance2 instanceof Constructor)) {
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
});
|
|
977
977
|
return Constructor;
|
|
978
978
|
}
|
|
979
|
-
function _defineProperty$
|
|
979
|
+
function _defineProperty$q(obj, key, value) {
|
|
980
980
|
if (key in obj) {
|
|
981
981
|
Object.defineProperty(obj, key, {
|
|
982
982
|
value,
|
|
@@ -990,20 +990,20 @@
|
|
|
990
990
|
return obj;
|
|
991
991
|
}
|
|
992
992
|
function _slicedToArray$a(arr, i2) {
|
|
993
|
-
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$
|
|
993
|
+
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$b(arr, i2) || _nonIterableRest$a();
|
|
994
994
|
}
|
|
995
|
-
function _toConsumableArray$
|
|
996
|
-
return _arrayWithoutHoles$
|
|
995
|
+
function _toConsumableArray$4(arr) {
|
|
996
|
+
return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$b(arr) || _nonIterableSpread$4();
|
|
997
997
|
}
|
|
998
|
-
function _arrayWithoutHoles$
|
|
998
|
+
function _arrayWithoutHoles$4(arr) {
|
|
999
999
|
if (Array.isArray(arr))
|
|
1000
|
-
return _arrayLikeToArray$
|
|
1000
|
+
return _arrayLikeToArray$b(arr);
|
|
1001
1001
|
}
|
|
1002
1002
|
function _arrayWithHoles$a(arr) {
|
|
1003
1003
|
if (Array.isArray(arr))
|
|
1004
1004
|
return arr;
|
|
1005
1005
|
}
|
|
1006
|
-
function _iterableToArray$
|
|
1006
|
+
function _iterableToArray$4(iter2) {
|
|
1007
1007
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
1008
1008
|
return Array.from(iter2);
|
|
1009
1009
|
}
|
|
@@ -1035,27 +1035,27 @@
|
|
|
1035
1035
|
}
|
|
1036
1036
|
return _arr;
|
|
1037
1037
|
}
|
|
1038
|
-
function _unsupportedIterableToArray$
|
|
1038
|
+
function _unsupportedIterableToArray$b(o2, minLen) {
|
|
1039
1039
|
if (!o2)
|
|
1040
1040
|
return;
|
|
1041
1041
|
if (typeof o2 === "string")
|
|
1042
|
-
return _arrayLikeToArray$
|
|
1042
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1043
1043
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
1044
1044
|
if (n2 === "Object" && o2.constructor)
|
|
1045
1045
|
n2 = o2.constructor.name;
|
|
1046
1046
|
if (n2 === "Map" || n2 === "Set")
|
|
1047
1047
|
return Array.from(o2);
|
|
1048
1048
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
1049
|
-
return _arrayLikeToArray$
|
|
1049
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1050
1050
|
}
|
|
1051
|
-
function _arrayLikeToArray$
|
|
1051
|
+
function _arrayLikeToArray$b(arr, len) {
|
|
1052
1052
|
if (len == null || len > arr.length)
|
|
1053
1053
|
len = arr.length;
|
|
1054
1054
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
1055
1055
|
arr2[i2] = arr[i2];
|
|
1056
1056
|
return arr2;
|
|
1057
1057
|
}
|
|
1058
|
-
function _nonIterableSpread$
|
|
1058
|
+
function _nonIterableSpread$4() {
|
|
1059
1059
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1060
1060
|
}
|
|
1061
1061
|
function _nonIterableRest$a() {
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
var HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
|
|
1103
1103
|
var MUTATION_APPROACH_ASYNC = "async";
|
|
1104
1104
|
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
|
|
1105
|
-
var PRODUCTION$
|
|
1105
|
+
var PRODUCTION$1 = function() {
|
|
1106
1106
|
try {
|
|
1107
1107
|
return true;
|
|
1108
1108
|
} catch (e3) {
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
}
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
|
-
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$
|
|
1122
|
+
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$q(_familyProxy, FAMILY_CLASSIC, {
|
|
1123
1123
|
"fa": "solid",
|
|
1124
1124
|
"fas": "solid",
|
|
1125
1125
|
"fa-solid": "solid",
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
"fa-brands": "brands",
|
|
1136
1136
|
"fak": "kit",
|
|
1137
1137
|
"fa-kit": "kit"
|
|
1138
|
-
}), _defineProperty$
|
|
1138
|
+
}), _defineProperty$q(_familyProxy, FAMILY_SHARP, {
|
|
1139
1139
|
"fa": "solid",
|
|
1140
1140
|
"fass": "solid",
|
|
1141
1141
|
"fa-solid": "solid",
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
"fasl": "light",
|
|
1145
1145
|
"fa-light": "light"
|
|
1146
1146
|
}), _familyProxy));
|
|
1147
|
-
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$
|
|
1147
|
+
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$q(_familyProxy2, FAMILY_CLASSIC, {
|
|
1148
1148
|
"solid": "fas",
|
|
1149
1149
|
"regular": "far",
|
|
1150
1150
|
"light": "fal",
|
|
@@ -1152,12 +1152,12 @@
|
|
|
1152
1152
|
"duotone": "fad",
|
|
1153
1153
|
"brands": "fab",
|
|
1154
1154
|
"kit": "fak"
|
|
1155
|
-
}), _defineProperty$
|
|
1155
|
+
}), _defineProperty$q(_familyProxy2, FAMILY_SHARP, {
|
|
1156
1156
|
"solid": "fass",
|
|
1157
1157
|
"regular": "fasr",
|
|
1158
1158
|
"light": "fasl"
|
|
1159
1159
|
}), _familyProxy2));
|
|
1160
|
-
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$
|
|
1160
|
+
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$q(_familyProxy3, FAMILY_CLASSIC, {
|
|
1161
1161
|
"fab": "fa-brands",
|
|
1162
1162
|
"fad": "fa-duotone",
|
|
1163
1163
|
"fak": "fa-kit",
|
|
@@ -1165,12 +1165,12 @@
|
|
|
1165
1165
|
"far": "fa-regular",
|
|
1166
1166
|
"fas": "fa-solid",
|
|
1167
1167
|
"fat": "fa-thin"
|
|
1168
|
-
}), _defineProperty$
|
|
1168
|
+
}), _defineProperty$q(_familyProxy3, FAMILY_SHARP, {
|
|
1169
1169
|
"fass": "fa-solid",
|
|
1170
1170
|
"fasr": "fa-regular",
|
|
1171
1171
|
"fasl": "fa-light"
|
|
1172
1172
|
}), _familyProxy3));
|
|
1173
|
-
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$
|
|
1173
|
+
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$q(_familyProxy4, FAMILY_CLASSIC, {
|
|
1174
1174
|
"fa-brands": "fab",
|
|
1175
1175
|
"fa-duotone": "fad",
|
|
1176
1176
|
"fa-kit": "fak",
|
|
@@ -1178,7 +1178,7 @@
|
|
|
1178
1178
|
"fa-regular": "far",
|
|
1179
1179
|
"fa-solid": "fas",
|
|
1180
1180
|
"fa-thin": "fat"
|
|
1181
|
-
}), _defineProperty$
|
|
1181
|
+
}), _defineProperty$q(_familyProxy4, FAMILY_SHARP, {
|
|
1182
1182
|
"fa-solid": "fass",
|
|
1183
1183
|
"fa-regular": "fasr",
|
|
1184
1184
|
"fa-light": "fasl"
|
|
@@ -1186,13 +1186,13 @@
|
|
|
1186
1186
|
var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/;
|
|
1187
1187
|
var LAYERS_TEXT_CLASSNAME = "fa-layers-text";
|
|
1188
1188
|
var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i;
|
|
1189
|
-
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$
|
|
1189
|
+
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$q(_familyProxy5, FAMILY_CLASSIC, {
|
|
1190
1190
|
"900": "fas",
|
|
1191
1191
|
"400": "far",
|
|
1192
1192
|
"normal": "far",
|
|
1193
1193
|
"300": "fal",
|
|
1194
1194
|
"100": "fat"
|
|
1195
|
-
}), _defineProperty$
|
|
1195
|
+
}), _defineProperty$q(_familyProxy5, FAMILY_SHARP, {
|
|
1196
1196
|
"900": "fass",
|
|
1197
1197
|
"400": "fasr",
|
|
1198
1198
|
"300": "fasl"
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
var prefixes = /* @__PURE__ */ new Set();
|
|
1210
1210
|
Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
|
|
1211
1211
|
Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
|
|
1212
|
-
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$
|
|
1212
|
+
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$4(prefixes), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", DUOTONE_CLASSES.GROUP, DUOTONE_CLASSES.SWAP_OPACITY, DUOTONE_CLASSES.PRIMARY, DUOTONE_CLASSES.SECONDARY]).concat(oneToTen.map(function(n2) {
|
|
1213
1213
|
return "".concat(n2, "x");
|
|
1214
1214
|
})).concat(oneToTwenty.map(function(n2) {
|
|
1215
1215
|
return "w-".concat(n2);
|
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
if (initial.familyPrefix) {
|
|
1259
1259
|
initial.cssPrefix = initial.familyPrefix;
|
|
1260
1260
|
}
|
|
1261
|
-
var _config = _objectSpread2$
|
|
1261
|
+
var _config = _objectSpread2$2(_objectSpread2$2({}, _default$2), initial);
|
|
1262
1262
|
if (!_config.autoReplaceSvg)
|
|
1263
1263
|
_config.observeMutations = false;
|
|
1264
1264
|
var config$1 = {};
|
|
@@ -1562,7 +1562,7 @@
|
|
|
1562
1562
|
if (typeof namespace$1.hooks.addPack === "function" && !skipHooks) {
|
|
1563
1563
|
namespace$1.hooks.addPack(prefix, normalizeIcons(icons));
|
|
1564
1564
|
} else {
|
|
1565
|
-
namespace$1.styles[prefix] = _objectSpread2$
|
|
1565
|
+
namespace$1.styles[prefix] = _objectSpread2$2(_objectSpread2$2({}, namespace$1.styles[prefix] || {}), normalized);
|
|
1566
1566
|
}
|
|
1567
1567
|
if (prefix === "fas") {
|
|
1568
1568
|
defineIcons("fa", icons);
|
|
@@ -1570,14 +1570,14 @@
|
|
|
1570
1570
|
}
|
|
1571
1571
|
var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
|
|
1572
1572
|
var styles = namespace$1.styles, shims = namespace$1.shims;
|
|
1573
|
-
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$
|
|
1573
|
+
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$q(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_LONG_STYLE, FAMILY_SHARP, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _LONG_STYLE);
|
|
1574
1574
|
var _defaultUsablePrefix = null;
|
|
1575
1575
|
var _byUnicode = {};
|
|
1576
1576
|
var _byLigature = {};
|
|
1577
1577
|
var _byOldName = {};
|
|
1578
1578
|
var _byOldUnicode = {};
|
|
1579
1579
|
var _byAlias = {};
|
|
1580
|
-
var PREFIXES = (_PREFIXES = {}, _defineProperty$
|
|
1580
|
+
var PREFIXES = (_PREFIXES = {}, _defineProperty$q(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES, FAMILY_SHARP, Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP])), _PREFIXES);
|
|
1581
1581
|
function isReserved(name2) {
|
|
1582
1582
|
return ~RESERVED_CLASSES.indexOf(name2);
|
|
1583
1583
|
}
|
|
@@ -1713,12 +1713,12 @@
|
|
|
1713
1713
|
var defined = styleOrPrefix in namespace$1.styles ? styleOrPrefix : null;
|
|
1714
1714
|
return prefix || defined || null;
|
|
1715
1715
|
}
|
|
1716
|
-
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$
|
|
1716
|
+
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_SHARP, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _PREFIXES_FOR_FAMILY);
|
|
1717
1717
|
function getCanonicalIcon(values) {
|
|
1718
1718
|
var _famProps;
|
|
1719
1719
|
var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1720
1720
|
var _params$skipLookups = params.skipLookups, skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
|
|
1721
|
-
var famProps = (_famProps = {}, _defineProperty$
|
|
1721
|
+
var famProps = (_famProps = {}, _defineProperty$q(_famProps, FAMILY_CLASSIC, "".concat(config$1.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty$q(_famProps, FAMILY_SHARP, "".concat(config$1.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
|
|
1722
1722
|
var givenPrefix = null;
|
|
1723
1723
|
var family = FAMILY_CLASSIC;
|
|
1724
1724
|
if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function(v2) {
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
}
|
|
1791
1791
|
var additions = definitions2.reduce(this._pullDefinitions, {});
|
|
1792
1792
|
Object.keys(additions).forEach(function(key) {
|
|
1793
|
-
_this.definitions[key] = _objectSpread2$
|
|
1793
|
+
_this.definitions[key] = _objectSpread2$2(_objectSpread2$2({}, _this.definitions[key] || {}), additions[key]);
|
|
1794
1794
|
defineIcons(key, additions[key]);
|
|
1795
1795
|
var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
|
|
1796
1796
|
if (longPrefix)
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
if (typeof mixout[tk] === "function") {
|
|
1848
1848
|
obj[tk] = mixout[tk];
|
|
1849
1849
|
}
|
|
1850
|
-
if (_typeof$
|
|
1850
|
+
if (_typeof$7(mixout[tk]) === "object") {
|
|
1851
1851
|
Object.keys(mixout[tk]).forEach(function(sk) {
|
|
1852
1852
|
if (!obj[tk]) {
|
|
1853
1853
|
obj[tk] = {};
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
if (_icon === null) {
|
|
1945
1945
|
return null;
|
|
1946
1946
|
}
|
|
1947
|
-
if (_typeof$
|
|
1947
|
+
if (_typeof$7(_icon) === "object" && _icon.prefix && _icon.iconName) {
|
|
1948
1948
|
return {
|
|
1949
1949
|
prefix: _icon.prefix,
|
|
1950
1950
|
iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
|
|
@@ -2023,7 +2023,7 @@
|
|
|
2023
2023
|
x: width / height / 2,
|
|
2024
2024
|
y: 0.5
|
|
2025
2025
|
};
|
|
2026
|
-
attributes2["style"] = joinStyles(_objectSpread2$
|
|
2026
|
+
attributes2["style"] = joinStyles(_objectSpread2$2(_objectSpread2$2({}, styles2), {}, {
|
|
2027
2027
|
"transform-origin": "".concat(offset2.x + transform.x / 16, "em ").concat(offset2.y + transform.y / 16, "em")
|
|
2028
2028
|
}));
|
|
2029
2029
|
}
|
|
@@ -2043,7 +2043,7 @@
|
|
|
2043
2043
|
},
|
|
2044
2044
|
children: [{
|
|
2045
2045
|
tag: "symbol",
|
|
2046
|
-
attributes: _objectSpread2$
|
|
2046
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, attributes2), {}, {
|
|
2047
2047
|
id: id2
|
|
2048
2048
|
}),
|
|
2049
2049
|
children: children2
|
|
@@ -2061,7 +2061,7 @@
|
|
|
2061
2061
|
}).concat(extra.classes).join(" ");
|
|
2062
2062
|
var content2 = {
|
|
2063
2063
|
children: [],
|
|
2064
|
-
attributes: _objectSpread2$
|
|
2064
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, extra.attributes), {}, {
|
|
2065
2065
|
"data-prefix": prefix,
|
|
2066
2066
|
"data-icon": iconName,
|
|
2067
2067
|
"class": attrClass,
|
|
@@ -2086,7 +2086,7 @@
|
|
|
2086
2086
|
});
|
|
2087
2087
|
delete content2.attributes.title;
|
|
2088
2088
|
}
|
|
2089
|
-
var args = _objectSpread2$
|
|
2089
|
+
var args = _objectSpread2$2(_objectSpread2$2({}, content2), {}, {
|
|
2090
2090
|
prefix,
|
|
2091
2091
|
iconName,
|
|
2092
2092
|
main: main2,
|
|
@@ -2094,7 +2094,7 @@
|
|
|
2094
2094
|
maskId,
|
|
2095
2095
|
transform,
|
|
2096
2096
|
symbol,
|
|
2097
|
-
styles: _objectSpread2$
|
|
2097
|
+
styles: _objectSpread2$2(_objectSpread2$2({}, uploadedIconWidthStyle), extra.styles)
|
|
2098
2098
|
});
|
|
2099
2099
|
var _ref22 = mask.found && main2.found ? callProvided("generateAbstractMask", args) || {
|
|
2100
2100
|
children: [],
|
|
@@ -2113,7 +2113,7 @@
|
|
|
2113
2113
|
}
|
|
2114
2114
|
function makeLayersTextAbstract(params) {
|
|
2115
2115
|
var content2 = params.content, width = params.width, height = params.height, transform = params.transform, title = params.title, extra = params.extra, _params$watchable2 = params.watchable, watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
|
|
2116
|
-
var attributes2 = _objectSpread2$
|
|
2116
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2117
2117
|
"title": title
|
|
2118
2118
|
} : {}), {}, {
|
|
2119
2119
|
"class": extra.classes.join(" ")
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
if (watchable) {
|
|
2122
2122
|
attributes2[DATA_FA_I2SVG] = "";
|
|
2123
2123
|
}
|
|
2124
|
-
var styles2 = _objectSpread2$
|
|
2124
|
+
var styles2 = _objectSpread2$2({}, extra.styles);
|
|
2125
2125
|
if (transformIsMeaningful(transform)) {
|
|
2126
2126
|
styles2["transform"] = transformForCss({
|
|
2127
2127
|
transform,
|
|
@@ -2154,7 +2154,7 @@
|
|
|
2154
2154
|
}
|
|
2155
2155
|
function makeLayersCounterAbstract(params) {
|
|
2156
2156
|
var content2 = params.content, title = params.title, extra = params.extra;
|
|
2157
|
-
var attributes2 = _objectSpread2$
|
|
2157
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2158
2158
|
"title": title
|
|
2159
2159
|
} : {}), {}, {
|
|
2160
2160
|
"class": extra.classes.join(" ")
|
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
height: 512
|
|
2231
2231
|
};
|
|
2232
2232
|
function maybeNotifyMissing(iconName, prefix) {
|
|
2233
|
-
if (!PRODUCTION$
|
|
2233
|
+
if (!PRODUCTION$1 && !config$1.showMissingIcons && iconName) {
|
|
2234
2234
|
console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix, '" is missing.'));
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
@@ -2256,7 +2256,7 @@
|
|
|
2256
2256
|
return resolve2(asFoundIcon(icon2));
|
|
2257
2257
|
}
|
|
2258
2258
|
maybeNotifyMissing(iconName, prefix);
|
|
2259
|
-
resolve2(_objectSpread2$
|
|
2259
|
+
resolve2(_objectSpread2$2(_objectSpread2$2({}, missingIconResolutionMixin), {}, {
|
|
2260
2260
|
icon: config$1.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
|
|
2261
2261
|
}));
|
|
2262
2262
|
});
|
|
@@ -2545,7 +2545,7 @@
|
|
|
2545
2545
|
var extraAttributes = attributesParser(node2);
|
|
2546
2546
|
var pluginMeta = chainHooks("parseNodeAttributes", {}, node2);
|
|
2547
2547
|
var extraStyles = parser2.styleParser ? styleParser(node2) : [];
|
|
2548
|
-
return _objectSpread2$
|
|
2548
|
+
return _objectSpread2$2({
|
|
2549
2549
|
iconName,
|
|
2550
2550
|
title: node2.getAttribute("title"),
|
|
2551
2551
|
titleId: node2.getAttribute("data-fa-title-id"),
|
|
@@ -2582,7 +2582,7 @@
|
|
|
2582
2582
|
});
|
|
2583
2583
|
Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2584
2584
|
Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2585
|
-
knownPrefixes = _toConsumableArray$
|
|
2585
|
+
knownPrefixes = _toConsumableArray$4(knownPrefixes);
|
|
2586
2586
|
function onTree(root2) {
|
|
2587
2587
|
var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2588
2588
|
if (!IS_DOM)
|
|
@@ -2625,7 +2625,7 @@
|
|
|
2625
2625
|
acc.push(mutation);
|
|
2626
2626
|
}
|
|
2627
2627
|
} catch (e3) {
|
|
2628
|
-
if (!PRODUCTION$
|
|
2628
|
+
if (!PRODUCTION$1) {
|
|
2629
2629
|
if (e3.name === "MissingIcon") {
|
|
2630
2630
|
console.error(e3);
|
|
2631
2631
|
}
|
|
@@ -2666,7 +2666,7 @@
|
|
|
2666
2666
|
if (mask) {
|
|
2667
2667
|
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
|
2668
2668
|
}
|
|
2669
|
-
return next2(iconDefinition, _objectSpread2$
|
|
2669
|
+
return next2(iconDefinition, _objectSpread2$2(_objectSpread2$2({}, params), {}, {
|
|
2670
2670
|
mask
|
|
2671
2671
|
}));
|
|
2672
2672
|
};
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
if (!iconDefinition)
|
|
2678
2678
|
return;
|
|
2679
2679
|
var prefix = iconDefinition.prefix, iconName = iconDefinition.iconName, icon2 = iconDefinition.icon;
|
|
2680
|
-
return domVariants(_objectSpread2$
|
|
2680
|
+
return domVariants(_objectSpread2$2({
|
|
2681
2681
|
type: "icon"
|
|
2682
2682
|
}, iconDefinition), function() {
|
|
2683
2683
|
callHooks("beforeDOMElementCreation", {
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
},
|
|
2705
2705
|
prefix,
|
|
2706
2706
|
iconName,
|
|
2707
|
-
transform: _objectSpread2$
|
|
2707
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2708
2708
|
symbol,
|
|
2709
2709
|
title,
|
|
2710
2710
|
maskId,
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
return [{
|
|
2812
2812
|
tag: "span",
|
|
2813
2813
|
attributes: {
|
|
2814
|
-
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$
|
|
2814
|
+
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$4(classes)).join(" ")
|
|
2815
2815
|
},
|
|
2816
2816
|
children: children2
|
|
2817
2817
|
}];
|
|
@@ -2840,7 +2840,7 @@
|
|
|
2840
2840
|
extra: {
|
|
2841
2841
|
attributes: attributes2,
|
|
2842
2842
|
styles: styles2,
|
|
2843
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$
|
|
2843
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$4(classes))
|
|
2844
2844
|
}
|
|
2845
2845
|
});
|
|
2846
2846
|
});
|
|
@@ -2864,12 +2864,12 @@
|
|
|
2864
2864
|
});
|
|
2865
2865
|
return makeLayersTextAbstract({
|
|
2866
2866
|
content: content2,
|
|
2867
|
-
transform: _objectSpread2$
|
|
2867
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2868
2868
|
title,
|
|
2869
2869
|
extra: {
|
|
2870
2870
|
attributes: attributes2,
|
|
2871
2871
|
styles: styles2,
|
|
2872
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$
|
|
2872
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$4(classes))
|
|
2873
2873
|
}
|
|
2874
2874
|
});
|
|
2875
2875
|
});
|
|
@@ -2955,7 +2955,7 @@
|
|
|
2955
2955
|
var extra = meta2.extra;
|
|
2956
2956
|
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position2;
|
|
2957
2957
|
findIcon(iconName, prefix).then(function(main2) {
|
|
2958
|
-
var _abstract = makeInlineSvgAbstract(_objectSpread2$
|
|
2958
|
+
var _abstract = makeInlineSvgAbstract(_objectSpread2$2(_objectSpread2$2({}, meta2), {}, {
|
|
2959
2959
|
icons: {
|
|
2960
2960
|
main: main2,
|
|
2961
2961
|
mask: emptyCanonicalIcon()
|
|
@@ -3154,14 +3154,14 @@
|
|
|
3154
3154
|
};
|
|
3155
3155
|
return {
|
|
3156
3156
|
tag: "g",
|
|
3157
|
-
attributes: _objectSpread2$
|
|
3157
|
+
attributes: _objectSpread2$2({}, operations.outer),
|
|
3158
3158
|
children: [{
|
|
3159
3159
|
tag: "g",
|
|
3160
|
-
attributes: _objectSpread2$
|
|
3160
|
+
attributes: _objectSpread2$2({}, operations.inner),
|
|
3161
3161
|
children: [{
|
|
3162
3162
|
tag: main2.icon.tag,
|
|
3163
3163
|
children: main2.icon.children,
|
|
3164
|
-
attributes: _objectSpread2$
|
|
3164
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, main2.icon.attributes), operations.path)
|
|
3165
3165
|
}]
|
|
3166
3166
|
}]
|
|
3167
3167
|
};
|
|
@@ -3217,7 +3217,7 @@
|
|
|
3217
3217
|
});
|
|
3218
3218
|
var maskRect = {
|
|
3219
3219
|
tag: "rect",
|
|
3220
|
-
attributes: _objectSpread2$
|
|
3220
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3221
3221
|
fill: "white"
|
|
3222
3222
|
})
|
|
3223
3223
|
};
|
|
@@ -3226,22 +3226,22 @@
|
|
|
3226
3226
|
} : {};
|
|
3227
3227
|
var maskInnerGroup = {
|
|
3228
3228
|
tag: "g",
|
|
3229
|
-
attributes: _objectSpread2$
|
|
3230
|
-
children: [fillBlack(_objectSpread2$
|
|
3229
|
+
attributes: _objectSpread2$2({}, trans.inner),
|
|
3230
|
+
children: [fillBlack(_objectSpread2$2({
|
|
3231
3231
|
tag: mainPath.tag,
|
|
3232
|
-
attributes: _objectSpread2$
|
|
3232
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, mainPath.attributes), trans.path)
|
|
3233
3233
|
}, maskInnerGroupChildrenMixin))]
|
|
3234
3234
|
};
|
|
3235
3235
|
var maskOuterGroup = {
|
|
3236
3236
|
tag: "g",
|
|
3237
|
-
attributes: _objectSpread2$
|
|
3237
|
+
attributes: _objectSpread2$2({}, trans.outer),
|
|
3238
3238
|
children: [maskInnerGroup]
|
|
3239
3239
|
};
|
|
3240
3240
|
var maskId = "mask-".concat(explicitMaskId || nextUniqueId$1());
|
|
3241
3241
|
var clipId = "clip-".concat(explicitMaskId || nextUniqueId$1());
|
|
3242
3242
|
var maskTag = {
|
|
3243
3243
|
tag: "mask",
|
|
3244
|
-
attributes: _objectSpread2$
|
|
3244
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3245
3245
|
id: maskId,
|
|
3246
3246
|
maskUnits: "userSpaceOnUse",
|
|
3247
3247
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
};
|
|
3261
3261
|
children2.push(defs2, {
|
|
3262
3262
|
tag: "rect",
|
|
3263
|
-
attributes: _objectSpread2$
|
|
3263
|
+
attributes: _objectSpread2$2({
|
|
3264
3264
|
fill: "currentColor",
|
|
3265
3265
|
"clip-path": "url(#".concat(clipId, ")"),
|
|
3266
3266
|
mask: "url(#".concat(maskId, ")")
|
|
@@ -3291,16 +3291,16 @@
|
|
|
3291
3291
|
};
|
|
3292
3292
|
gChildren.push({
|
|
3293
3293
|
tag: "path",
|
|
3294
|
-
attributes: _objectSpread2$
|
|
3294
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3295
3295
|
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
3296
3296
|
})
|
|
3297
3297
|
});
|
|
3298
|
-
var OPACITY_ANIMATE = _objectSpread2$
|
|
3298
|
+
var OPACITY_ANIMATE = _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3299
3299
|
attributeName: "opacity"
|
|
3300
3300
|
});
|
|
3301
3301
|
var dot2 = {
|
|
3302
3302
|
tag: "circle",
|
|
3303
|
-
attributes: _objectSpread2$
|
|
3303
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3304
3304
|
cx: "256",
|
|
3305
3305
|
cy: "364",
|
|
3306
3306
|
r: "28"
|
|
@@ -3310,13 +3310,13 @@
|
|
|
3310
3310
|
if (!reduceMotion) {
|
|
3311
3311
|
dot2.children.push({
|
|
3312
3312
|
tag: "animate",
|
|
3313
|
-
attributes: _objectSpread2$
|
|
3313
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3314
3314
|
attributeName: "r",
|
|
3315
3315
|
values: "28;14;28;28;14;28;"
|
|
3316
3316
|
})
|
|
3317
3317
|
}, {
|
|
3318
3318
|
tag: "animate",
|
|
3319
|
-
attributes: _objectSpread2$
|
|
3319
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3320
3320
|
values: "1;0;1;1;0;1;"
|
|
3321
3321
|
})
|
|
3322
3322
|
});
|
|
@@ -3324,13 +3324,13 @@
|
|
|
3324
3324
|
gChildren.push(dot2);
|
|
3325
3325
|
gChildren.push({
|
|
3326
3326
|
tag: "path",
|
|
3327
|
-
attributes: _objectSpread2$
|
|
3327
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3328
3328
|
opacity: "1",
|
|
3329
3329
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
3330
3330
|
}),
|
|
3331
3331
|
children: reduceMotion ? [] : [{
|
|
3332
3332
|
tag: "animate",
|
|
3333
|
-
attributes: _objectSpread2$
|
|
3333
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3334
3334
|
values: "1;0;0;0;0;1;"
|
|
3335
3335
|
})
|
|
3336
3336
|
}]
|
|
@@ -3338,13 +3338,13 @@
|
|
|
3338
3338
|
if (!reduceMotion) {
|
|
3339
3339
|
gChildren.push({
|
|
3340
3340
|
tag: "path",
|
|
3341
|
-
attributes: _objectSpread2$
|
|
3341
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3342
3342
|
opacity: "0",
|
|
3343
3343
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
3344
3344
|
}),
|
|
3345
3345
|
children: [{
|
|
3346
3346
|
tag: "animate",
|
|
3347
|
-
attributes: _objectSpread2$
|
|
3347
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3348
3348
|
values: "0;0;1;1;0;0;"
|
|
3349
3349
|
})
|
|
3350
3350
|
}]
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
{
|
|
3441
3441
|
propTypes.exports = factoryWithThrowingShims();
|
|
3442
3442
|
}
|
|
3443
|
-
function ownKeys$
|
|
3443
|
+
function ownKeys$7(object2, enumerableOnly) {
|
|
3444
3444
|
var keys2 = Object.keys(object2);
|
|
3445
3445
|
if (Object.getOwnPropertySymbols) {
|
|
3446
3446
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -3450,26 +3450,26 @@
|
|
|
3450
3450
|
}
|
|
3451
3451
|
return keys2;
|
|
3452
3452
|
}
|
|
3453
|
-
function _objectSpread2$
|
|
3453
|
+
function _objectSpread2$1(target) {
|
|
3454
3454
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
3455
3455
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
3456
|
-
i2 % 2 ? ownKeys$
|
|
3457
|
-
_defineProperty$
|
|
3458
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
3456
|
+
i2 % 2 ? ownKeys$7(Object(source), true).forEach(function(key) {
|
|
3457
|
+
_defineProperty$p(target, key, source[key]);
|
|
3458
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function(key) {
|
|
3459
3459
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3460
3460
|
});
|
|
3461
3461
|
}
|
|
3462
3462
|
return target;
|
|
3463
3463
|
}
|
|
3464
|
-
function _typeof$
|
|
3464
|
+
function _typeof$6(obj) {
|
|
3465
3465
|
"@babel/helpers - typeof";
|
|
3466
|
-
return _typeof$
|
|
3466
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
3467
3467
|
return typeof obj2;
|
|
3468
3468
|
} : function(obj2) {
|
|
3469
3469
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
3470
|
-
}, _typeof$
|
|
3470
|
+
}, _typeof$6(obj);
|
|
3471
3471
|
}
|
|
3472
|
-
function _defineProperty$
|
|
3472
|
+
function _defineProperty$p(obj, key, value) {
|
|
3473
3473
|
if (key in obj) {
|
|
3474
3474
|
Object.defineProperty(obj, key, {
|
|
3475
3475
|
value,
|
|
@@ -3482,7 +3482,7 @@
|
|
|
3482
3482
|
}
|
|
3483
3483
|
return obj;
|
|
3484
3484
|
}
|
|
3485
|
-
function _objectWithoutPropertiesLoose$
|
|
3485
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
3486
3486
|
if (source == null)
|
|
3487
3487
|
return {};
|
|
3488
3488
|
var target = {};
|
|
@@ -3496,10 +3496,10 @@
|
|
|
3496
3496
|
}
|
|
3497
3497
|
return target;
|
|
3498
3498
|
}
|
|
3499
|
-
function _objectWithoutProperties$
|
|
3499
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
3500
3500
|
if (source == null)
|
|
3501
3501
|
return {};
|
|
3502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
3502
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
3503
3503
|
var key, i2;
|
|
3504
3504
|
if (Object.getOwnPropertySymbols) {
|
|
3505
3505
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -3514,41 +3514,41 @@
|
|
|
3514
3514
|
}
|
|
3515
3515
|
return target;
|
|
3516
3516
|
}
|
|
3517
|
-
function _toConsumableArray$
|
|
3518
|
-
return _arrayWithoutHoles$
|
|
3517
|
+
function _toConsumableArray$3(arr) {
|
|
3518
|
+
return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$a(arr) || _nonIterableSpread$3();
|
|
3519
3519
|
}
|
|
3520
|
-
function _arrayWithoutHoles$
|
|
3520
|
+
function _arrayWithoutHoles$3(arr) {
|
|
3521
3521
|
if (Array.isArray(arr))
|
|
3522
|
-
return _arrayLikeToArray$
|
|
3522
|
+
return _arrayLikeToArray$a(arr);
|
|
3523
3523
|
}
|
|
3524
|
-
function _iterableToArray$
|
|
3524
|
+
function _iterableToArray$3(iter2) {
|
|
3525
3525
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
3526
3526
|
return Array.from(iter2);
|
|
3527
3527
|
}
|
|
3528
|
-
function _unsupportedIterableToArray$
|
|
3528
|
+
function _unsupportedIterableToArray$a(o2, minLen) {
|
|
3529
3529
|
if (!o2)
|
|
3530
3530
|
return;
|
|
3531
3531
|
if (typeof o2 === "string")
|
|
3532
|
-
return _arrayLikeToArray$
|
|
3532
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3533
3533
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
3534
3534
|
if (n2 === "Object" && o2.constructor)
|
|
3535
3535
|
n2 = o2.constructor.name;
|
|
3536
3536
|
if (n2 === "Map" || n2 === "Set")
|
|
3537
3537
|
return Array.from(o2);
|
|
3538
3538
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
3539
|
-
return _arrayLikeToArray$
|
|
3539
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3540
3540
|
}
|
|
3541
|
-
function _arrayLikeToArray$
|
|
3541
|
+
function _arrayLikeToArray$a(arr, len) {
|
|
3542
3542
|
if (len == null || len > arr.length)
|
|
3543
3543
|
len = arr.length;
|
|
3544
3544
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
3545
3545
|
arr2[i2] = arr[i2];
|
|
3546
3546
|
return arr2;
|
|
3547
3547
|
}
|
|
3548
|
-
function _nonIterableSpread$
|
|
3548
|
+
function _nonIterableSpread$3() {
|
|
3549
3549
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3550
3550
|
}
|
|
3551
|
-
function classList$
|
|
3551
|
+
function classList$1(props) {
|
|
3552
3552
|
var _classes;
|
|
3553
3553
|
var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem2 = props.listItem, flip2 = props.flip, size = props.size, rotation2 = props.rotation, pull = props.pull;
|
|
3554
3554
|
var classes = (_classes = {
|
|
@@ -3569,19 +3569,19 @@
|
|
|
3569
3569
|
"fa-flip": flip2 === true,
|
|
3570
3570
|
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
3571
3571
|
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
3572
|
-
}, _defineProperty$
|
|
3572
|
+
}, _defineProperty$p(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$p(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$p(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$p(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
3573
3573
|
return Object.keys(classes).map(function(key) {
|
|
3574
3574
|
return classes[key] ? key : null;
|
|
3575
3575
|
}).filter(function(key) {
|
|
3576
3576
|
return key;
|
|
3577
3577
|
});
|
|
3578
3578
|
}
|
|
3579
|
-
function _isNumerical
|
|
3579
|
+
function _isNumerical(obj) {
|
|
3580
3580
|
obj = obj - 0;
|
|
3581
3581
|
return obj === obj;
|
|
3582
3582
|
}
|
|
3583
|
-
function camelize
|
|
3584
|
-
if (_isNumerical
|
|
3583
|
+
function camelize(string2) {
|
|
3584
|
+
if (_isNumerical(string2)) {
|
|
3585
3585
|
return string2;
|
|
3586
3586
|
}
|
|
3587
3587
|
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
@@ -3590,29 +3590,29 @@
|
|
|
3590
3590
|
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
3591
3591
|
}
|
|
3592
3592
|
var _excluded$5 = ["style"];
|
|
3593
|
-
function capitalize$
|
|
3593
|
+
function capitalize$1(val) {
|
|
3594
3594
|
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
3595
3595
|
}
|
|
3596
|
-
function styleToObject$
|
|
3596
|
+
function styleToObject$1(style2) {
|
|
3597
3597
|
return style2.split(";").map(function(s2) {
|
|
3598
3598
|
return s2.trim();
|
|
3599
3599
|
}).filter(function(s2) {
|
|
3600
3600
|
return s2;
|
|
3601
3601
|
}).reduce(function(acc, pair2) {
|
|
3602
3602
|
var i2 = pair2.indexOf(":");
|
|
3603
|
-
var prop = camelize
|
|
3603
|
+
var prop = camelize(pair2.slice(0, i2));
|
|
3604
3604
|
var value = pair2.slice(i2 + 1).trim();
|
|
3605
|
-
prop.startsWith("webkit") ? acc[capitalize$
|
|
3605
|
+
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
3606
3606
|
return acc;
|
|
3607
3607
|
}, {});
|
|
3608
3608
|
}
|
|
3609
|
-
function convert$
|
|
3609
|
+
function convert$1(createElement2, element2) {
|
|
3610
3610
|
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3611
3611
|
if (typeof element2 === "string") {
|
|
3612
3612
|
return element2;
|
|
3613
3613
|
}
|
|
3614
3614
|
var children2 = (element2.children || []).map(function(child) {
|
|
3615
|
-
return convert$
|
|
3615
|
+
return convert$1(createElement2, child);
|
|
3616
3616
|
});
|
|
3617
3617
|
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
3618
3618
|
var val = element2.attributes[key];
|
|
@@ -3622,36 +3622,36 @@
|
|
|
3622
3622
|
delete element2.attributes["class"];
|
|
3623
3623
|
break;
|
|
3624
3624
|
case "style":
|
|
3625
|
-
acc.attrs["style"] = styleToObject$
|
|
3625
|
+
acc.attrs["style"] = styleToObject$1(val);
|
|
3626
3626
|
break;
|
|
3627
3627
|
default:
|
|
3628
3628
|
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
3629
3629
|
acc.attrs[key.toLowerCase()] = val;
|
|
3630
3630
|
} else {
|
|
3631
|
-
acc.attrs[camelize
|
|
3631
|
+
acc.attrs[camelize(key)] = val;
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
return acc;
|
|
3635
3635
|
}, {
|
|
3636
3636
|
attrs: {}
|
|
3637
3637
|
});
|
|
3638
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$
|
|
3639
|
-
mixins.attrs["style"] = _objectSpread2$
|
|
3640
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2$
|
|
3638
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$2(extraProps, _excluded$5);
|
|
3639
|
+
mixins.attrs["style"] = _objectSpread2$1(_objectSpread2$1({}, mixins.attrs["style"]), existingStyle);
|
|
3640
|
+
return createElement2.apply(void 0, [element2.tag, _objectSpread2$1(_objectSpread2$1({}, mixins.attrs), remaining)].concat(_toConsumableArray$3(children2)));
|
|
3641
3641
|
}
|
|
3642
|
-
var PRODUCTION
|
|
3642
|
+
var PRODUCTION = false;
|
|
3643
3643
|
try {
|
|
3644
|
-
PRODUCTION
|
|
3644
|
+
PRODUCTION = true;
|
|
3645
3645
|
} catch (e3) {
|
|
3646
3646
|
}
|
|
3647
|
-
function log
|
|
3648
|
-
if (!PRODUCTION
|
|
3647
|
+
function log() {
|
|
3648
|
+
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
3649
3649
|
var _console;
|
|
3650
3650
|
(_console = console).error.apply(_console, arguments);
|
|
3651
3651
|
}
|
|
3652
3652
|
}
|
|
3653
|
-
function normalizeIconArgs
|
|
3654
|
-
if (icon2 && _typeof$
|
|
3653
|
+
function normalizeIconArgs(icon2) {
|
|
3654
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
3655
3655
|
return icon2;
|
|
3656
3656
|
}
|
|
3657
3657
|
if (parse$1$1.icon) {
|
|
@@ -3660,7 +3660,7 @@
|
|
|
3660
3660
|
if (icon2 === null) {
|
|
3661
3661
|
return null;
|
|
3662
3662
|
}
|
|
3663
|
-
if (icon2 && _typeof$
|
|
3663
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
3664
3664
|
return icon2;
|
|
3665
3665
|
}
|
|
3666
3666
|
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
@@ -3676,23 +3676,23 @@
|
|
|
3676
3676
|
};
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
|
-
function objectWithKey
|
|
3680
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$
|
|
3679
|
+
function objectWithKey(key, value) {
|
|
3680
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$p({}, key, value) : {};
|
|
3681
3681
|
}
|
|
3682
|
-
var FontAwesomeIcon
|
|
3682
|
+
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
3683
3683
|
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
3684
|
-
var iconLookup = normalizeIconArgs
|
|
3685
|
-
var classes = objectWithKey
|
|
3686
|
-
var transform = objectWithKey
|
|
3687
|
-
var mask = objectWithKey
|
|
3688
|
-
var renderedIcon = icon(iconLookup, _objectSpread2$
|
|
3684
|
+
var iconLookup = normalizeIconArgs(iconArgs);
|
|
3685
|
+
var classes = objectWithKey("classes", [].concat(_toConsumableArray$3(classList$1(props)), _toConsumableArray$3(className.split(" "))));
|
|
3686
|
+
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
3687
|
+
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
3688
|
+
var renderedIcon = icon(iconLookup, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, classes), transform), mask), {}, {
|
|
3689
3689
|
symbol,
|
|
3690
3690
|
title,
|
|
3691
3691
|
titleId,
|
|
3692
3692
|
maskId
|
|
3693
3693
|
}));
|
|
3694
3694
|
if (!renderedIcon) {
|
|
3695
|
-
log
|
|
3695
|
+
log("Could not find icon", iconLookup);
|
|
3696
3696
|
return null;
|
|
3697
3697
|
}
|
|
3698
3698
|
var abstract = renderedIcon.abstract;
|
|
@@ -3700,14 +3700,14 @@
|
|
|
3700
3700
|
ref
|
|
3701
3701
|
};
|
|
3702
3702
|
Object.keys(props).forEach(function(key) {
|
|
3703
|
-
if (!FontAwesomeIcon
|
|
3703
|
+
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
3704
3704
|
extraProps[key] = props[key];
|
|
3705
3705
|
}
|
|
3706
3706
|
});
|
|
3707
|
-
return convertCurry
|
|
3707
|
+
return convertCurry(abstract[0], extraProps);
|
|
3708
3708
|
});
|
|
3709
|
-
FontAwesomeIcon
|
|
3710
|
-
FontAwesomeIcon
|
|
3709
|
+
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
3710
|
+
FontAwesomeIcon.propTypes = {
|
|
3711
3711
|
beat: propTypes.exports.bool,
|
|
3712
3712
|
border: propTypes.exports.bool,
|
|
3713
3713
|
beatFade: propTypes.exports.bool,
|
|
@@ -3736,7 +3736,7 @@
|
|
|
3736
3736
|
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
3737
3737
|
swapOpacity: propTypes.exports.bool
|
|
3738
3738
|
};
|
|
3739
|
-
FontAwesomeIcon
|
|
3739
|
+
FontAwesomeIcon.defaultProps = {
|
|
3740
3740
|
border: false,
|
|
3741
3741
|
className: "",
|
|
3742
3742
|
mask: null,
|
|
@@ -3764,7 +3764,7 @@
|
|
|
3764
3764
|
transform: null,
|
|
3765
3765
|
swapOpacity: false
|
|
3766
3766
|
};
|
|
3767
|
-
var convertCurry
|
|
3767
|
+
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
3768
3768
|
var Icon$2 = function(e3) {
|
|
3769
3769
|
var t2 = {};
|
|
3770
3770
|
function r2(n2) {
|
|
@@ -3886,7 +3886,7 @@
|
|
|
3886
3886
|
t2.default = d2;
|
|
3887
3887
|
}]);
|
|
3888
3888
|
const shouldForwardProp$4 = (prop) => !["asButton"].includes(prop);
|
|
3889
|
-
const StyledFAIcon = styled__default.default(FontAwesomeIcon
|
|
3889
|
+
const StyledFAIcon = styled__default.default(FontAwesomeIcon).withConfig({ shouldForwardProp: shouldForwardProp$4 })`
|
|
3890
3890
|
cursor: ${(props) => props.asButton ? "pointer" : "inherit"};
|
|
3891
3891
|
color: inherit;
|
|
3892
3892
|
${(props) => props.asButton ? `:hover { color: ${props.theme.colors.grey6}; }` : ""}
|
|
@@ -7153,7 +7153,7 @@
|
|
|
7153
7153
|
setPreviousFilter(filterValue);
|
|
7154
7154
|
}, children: "Apply" })] });
|
|
7155
7155
|
}
|
|
7156
|
-
function _objectWithoutPropertiesLoose$
|
|
7156
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
7157
7157
|
if (source == null)
|
|
7158
7158
|
return {};
|
|
7159
7159
|
var target = {};
|
|
@@ -7910,7 +7910,7 @@
|
|
|
7910
7910
|
return noop$5;
|
|
7911
7911
|
};
|
|
7912
7912
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
7913
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
7913
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$3);
|
|
7914
7914
|
React.useEffect(function() {
|
|
7915
7915
|
if (isInitialMount || false) {
|
|
7916
7916
|
return;
|
|
@@ -8450,7 +8450,7 @@
|
|
|
8450
8450
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
8451
8451
|
_ref2.onKeyDown;
|
|
8452
8452
|
_ref2.onBlur;
|
|
8453
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8453
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$2);
|
|
8454
8454
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8455
8455
|
_ref22.suppressRefError;
|
|
8456
8456
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -8466,7 +8466,7 @@
|
|
|
8466
8466
|
var _extends3;
|
|
8467
8467
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
8468
8468
|
_ref3.onPress;
|
|
8469
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
8469
|
+
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$2);
|
|
8470
8470
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
8471
8471
|
_ref4.suppressRefError;
|
|
8472
8472
|
var latestState = latest.current.state;
|
|
@@ -8509,7 +8509,7 @@
|
|
|
8509
8509
|
var _extends4;
|
|
8510
8510
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
8511
8511
|
_ref5.onPress;
|
|
8512
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8512
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3$1);
|
|
8513
8513
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
8514
8514
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
8515
8515
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -8799,7 +8799,7 @@
|
|
|
8799
8799
|
}
|
|
8800
8800
|
return _extends$3({}, state, changes);
|
|
8801
8801
|
}
|
|
8802
|
-
var _excluded$1
|
|
8802
|
+
var _excluded$1 = ["onMouseLeave", "refKey", "ref"], _excluded2$1 = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], _excluded3 = ["onClick", "onPress", "refKey", "ref"], _excluded4 = ["onKeyDown", "onChange", "onInput", "onFocus", "onBlur", "onChangeText", "refKey", "ref"];
|
|
8803
8803
|
useCombobox.stateChangeTypes = stateChangeTypes$1$1;
|
|
8804
8804
|
function useCombobox(userProps) {
|
|
8805
8805
|
if (userProps === void 0) {
|
|
@@ -8971,7 +8971,7 @@
|
|
|
8971
8971
|
}, [elementIds]);
|
|
8972
8972
|
var getMenuProps = React.useCallback(function(_temp, _temp2) {
|
|
8973
8973
|
var _extends2;
|
|
8974
|
-
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8974
|
+
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey, ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$1);
|
|
8975
8975
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8976
8976
|
_ref22.suppressRefError;
|
|
8977
8977
|
return _extends$3((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
@@ -8986,7 +8986,7 @@
|
|
|
8986
8986
|
var _extends3, _ref4;
|
|
8987
8987
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, itemProp = _ref3.item, indexProp = _ref3.index, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onMouseMove = _ref3.onMouseMove, onMouseDown = _ref3.onMouseDown, onClick = _ref3.onClick;
|
|
8988
8988
|
_ref3.onPress;
|
|
8989
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8989
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$1);
|
|
8990
8990
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
8991
8991
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
8992
8992
|
var onSelectKey = "onClick";
|
|
@@ -9024,7 +9024,7 @@
|
|
|
9024
9024
|
var _extends4;
|
|
9025
9025
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
9026
9026
|
_ref5.onPress;
|
|
9027
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
9027
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3);
|
|
9028
9028
|
var latestState = latest.current.state;
|
|
9029
9029
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
9030
9030
|
dispatch2({
|
|
@@ -9041,7 +9041,7 @@
|
|
|
9041
9041
|
var _extends5;
|
|
9042
9042
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
9043
9043
|
_ref6.onChangeText;
|
|
9044
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
9044
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$4(_ref6, _excluded4);
|
|
9045
9045
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
9046
9046
|
_ref7.suppressRefError;
|
|
9047
9047
|
var latestState = latest.current.state;
|
|
@@ -9430,7 +9430,7 @@
|
|
|
9430
9430
|
}, [dispatch2, keyNavigationPrevious]);
|
|
9431
9431
|
var getSelectedItemProps = React.useCallback(function(_temp) {
|
|
9432
9432
|
var _extends2;
|
|
9433
|
-
var _ref3 = _temp === void 0 ? {} : _temp, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onClick = _ref3.onClick, onKeyDown = _ref3.onKeyDown, selectedItemProp = _ref3.selectedItem, indexProp = _ref3.index, rest = _objectWithoutPropertiesLoose$
|
|
9433
|
+
var _ref3 = _temp === void 0 ? {} : _temp, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, onClick = _ref3.onClick, onKeyDown = _ref3.onKeyDown, selectedItemProp = _ref3.selectedItem, indexProp = _ref3.index, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded$4);
|
|
9434
9434
|
var latestState = latest.current.state;
|
|
9435
9435
|
var _getItemAndIndex = getItemAndIndex(selectedItemProp, indexProp, latestState.selectedItems, "Pass either item or index to getSelectedItemProps!"), index2 = _getItemAndIndex[1];
|
|
9436
9436
|
var isFocusable = index2 > -1 && index2 === latestState.activeIndex;
|
|
@@ -9454,7 +9454,7 @@
|
|
|
9454
9454
|
}, [dispatch2, latest, selectedItemKeyDownHandlers]);
|
|
9455
9455
|
var getDropdownProps = React.useCallback(function(_temp2, _temp3) {
|
|
9456
9456
|
var _extends3;
|
|
9457
|
-
var _ref4 = _temp2 === void 0 ? {} : _temp2, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, ref = _ref4.ref, onKeyDown = _ref4.onKeyDown, onClick = _ref4.onClick, _ref4$preventKeyActio = _ref4.preventKeyAction, preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio, rest = _objectWithoutPropertiesLoose$
|
|
9457
|
+
var _ref4 = _temp2 === void 0 ? {} : _temp2, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, ref = _ref4.ref, onKeyDown = _ref4.onKeyDown, onClick = _ref4.onClick, _ref4$preventKeyActio = _ref4.preventKeyAction, preventKeyAction = _ref4$preventKeyActio === void 0 ? false : _ref4$preventKeyActio, rest = _objectWithoutPropertiesLoose$4(_ref4, _excluded2);
|
|
9458
9458
|
var _ref5 = _temp3 === void 0 ? {} : _temp3;
|
|
9459
9459
|
_ref5.suppressRefError;
|
|
9460
9460
|
var dropdownHandleKeyDown = function dropdownHandleKeyDown2(event2) {
|
|
@@ -13218,7 +13218,7 @@
|
|
|
13218
13218
|
tippy$1.setDefaultProps({
|
|
13219
13219
|
animation: false
|
|
13220
13220
|
});
|
|
13221
|
-
function _objectWithoutPropertiesLoose$
|
|
13221
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
13222
13222
|
if (source == null)
|
|
13223
13223
|
return {};
|
|
13224
13224
|
var target = {};
|
|
@@ -13315,7 +13315,7 @@
|
|
|
13315
13315
|
var children2 = _ref2.children, content2 = _ref2.content, visible = _ref2.visible, singleton = _ref2.singleton, render2 = _ref2.render, reference2 = _ref2.reference, _ref$disabled = _ref2.disabled, disabled2 = _ref$disabled === void 0 ? false : _ref$disabled, _ref$ignoreAttributes = _ref2.ignoreAttributes, ignoreAttributes = _ref$ignoreAttributes === void 0 ? true : _ref$ignoreAttributes;
|
|
13316
13316
|
_ref2.__source;
|
|
13317
13317
|
_ref2.__self;
|
|
13318
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
13318
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$3(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
13319
13319
|
var isControlledMode = visible !== void 0;
|
|
13320
13320
|
var isSingletonMode = singleton !== void 0;
|
|
13321
13321
|
var _useState = React.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -13460,7 +13460,7 @@
|
|
|
13460
13460
|
}
|
|
13461
13461
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
13462
13462
|
return /* @__PURE__ */ React.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
13463
|
-
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
13463
|
+
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$3(_ref2, ["children"]);
|
|
13464
13464
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children2 ? /* @__PURE__ */ React.cloneElement(children2, {
|
|
13465
13465
|
ref: function ref(node2) {
|
|
13466
13466
|
preserveRef(_ref22, node2);
|
|
@@ -23668,13 +23668,13 @@
|
|
|
23668
23668
|
})();
|
|
23669
23669
|
})(classnames);
|
|
23670
23670
|
const r$2 = classnames.exports;
|
|
23671
|
-
function _typeof$
|
|
23671
|
+
function _typeof$5(o2) {
|
|
23672
23672
|
"@babel/helpers - typeof";
|
|
23673
|
-
return _typeof$
|
|
23673
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
23674
23674
|
return typeof o3;
|
|
23675
23675
|
} : function(o3) {
|
|
23676
23676
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
23677
|
-
}, _typeof$
|
|
23677
|
+
}, _typeof$5(o2);
|
|
23678
23678
|
}
|
|
23679
23679
|
function requiredArgs(required2, args) {
|
|
23680
23680
|
if (args.length < required2) {
|
|
@@ -23683,12 +23683,12 @@
|
|
|
23683
23683
|
}
|
|
23684
23684
|
function isDate$1(value) {
|
|
23685
23685
|
requiredArgs(1, arguments);
|
|
23686
|
-
return value instanceof Date || _typeof$
|
|
23686
|
+
return value instanceof Date || _typeof$5(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
23687
23687
|
}
|
|
23688
23688
|
function toDate(argument) {
|
|
23689
23689
|
requiredArgs(1, arguments);
|
|
23690
23690
|
var argStr = Object.prototype.toString.call(argument);
|
|
23691
|
-
if (argument instanceof Date || _typeof$
|
|
23691
|
+
if (argument instanceof Date || _typeof$5(argument) === "object" && argStr === "[object Date]") {
|
|
23692
23692
|
return new Date(argument.getTime());
|
|
23693
23693
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
23694
23694
|
return new Date(argument);
|
|
@@ -25388,7 +25388,7 @@
|
|
|
25388
25388
|
var datesArray;
|
|
25389
25389
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25390
25390
|
datesArray = dirtyDatesArray;
|
|
25391
|
-
} else if (_typeof$
|
|
25391
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25392
25392
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25393
25393
|
} else {
|
|
25394
25394
|
return new Date(NaN);
|
|
@@ -25407,7 +25407,7 @@
|
|
|
25407
25407
|
var datesArray;
|
|
25408
25408
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25409
25409
|
datesArray = dirtyDatesArray;
|
|
25410
|
-
} else if (_typeof$
|
|
25410
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25411
25411
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25412
25412
|
} else {
|
|
25413
25413
|
return new Date(NaN);
|
|
@@ -25532,30 +25532,30 @@
|
|
|
25532
25532
|
}
|
|
25533
25533
|
return time >= startTime && time <= endTime;
|
|
25534
25534
|
}
|
|
25535
|
-
function _arrayLikeToArray$
|
|
25535
|
+
function _arrayLikeToArray$9(arr, len) {
|
|
25536
25536
|
if (len == null || len > arr.length)
|
|
25537
25537
|
len = arr.length;
|
|
25538
25538
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
25539
25539
|
arr2[i2] = arr[i2];
|
|
25540
25540
|
return arr2;
|
|
25541
25541
|
}
|
|
25542
|
-
function _unsupportedIterableToArray$
|
|
25542
|
+
function _unsupportedIterableToArray$9(o2, minLen) {
|
|
25543
25543
|
if (!o2)
|
|
25544
25544
|
return;
|
|
25545
25545
|
if (typeof o2 === "string")
|
|
25546
|
-
return _arrayLikeToArray$
|
|
25546
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25547
25547
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
25548
25548
|
if (n2 === "Object" && o2.constructor)
|
|
25549
25549
|
n2 = o2.constructor.name;
|
|
25550
25550
|
if (n2 === "Map" || n2 === "Set")
|
|
25551
25551
|
return Array.from(o2);
|
|
25552
25552
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
25553
|
-
return _arrayLikeToArray$
|
|
25553
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25554
25554
|
}
|
|
25555
25555
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
25556
25556
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
25557
25557
|
if (!it2) {
|
|
25558
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
25558
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$9(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
25559
25559
|
if (it2)
|
|
25560
25560
|
o2 = it2;
|
|
25561
25561
|
var i2 = 0;
|
|
@@ -25635,7 +25635,7 @@
|
|
|
25635
25635
|
_setPrototypeOf$3(subClass, superClass);
|
|
25636
25636
|
}
|
|
25637
25637
|
function _possibleConstructorReturn$1(self2, call2) {
|
|
25638
|
-
if (call2 && (_typeof$
|
|
25638
|
+
if (call2 && (_typeof$5(call2) === "object" || typeof call2 === "function")) {
|
|
25639
25639
|
return call2;
|
|
25640
25640
|
} else if (call2 !== void 0) {
|
|
25641
25641
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -25661,12 +25661,12 @@
|
|
|
25661
25661
|
}
|
|
25662
25662
|
}
|
|
25663
25663
|
function _toPrimitive(input, hint) {
|
|
25664
|
-
if (_typeof$
|
|
25664
|
+
if (_typeof$5(input) !== "object" || input === null)
|
|
25665
25665
|
return input;
|
|
25666
25666
|
var prim = input[Symbol.toPrimitive];
|
|
25667
25667
|
if (prim !== void 0) {
|
|
25668
25668
|
var res = prim.call(input, hint || "default");
|
|
25669
|
-
if (_typeof$
|
|
25669
|
+
if (_typeof$5(res) !== "object")
|
|
25670
25670
|
return res;
|
|
25671
25671
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25672
25672
|
}
|
|
@@ -25674,7 +25674,7 @@
|
|
|
25674
25674
|
}
|
|
25675
25675
|
function _toPropertyKey(arg) {
|
|
25676
25676
|
var key = _toPrimitive(arg, "string");
|
|
25677
|
-
return _typeof$
|
|
25677
|
+
return _typeof$5(key) === "symbol" ? key : String(key);
|
|
25678
25678
|
}
|
|
25679
25679
|
function _defineProperties$g(target, props) {
|
|
25680
25680
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -25696,7 +25696,7 @@
|
|
|
25696
25696
|
});
|
|
25697
25697
|
return Constructor;
|
|
25698
25698
|
}
|
|
25699
|
-
function _defineProperty$
|
|
25699
|
+
function _defineProperty$o(obj, key, value) {
|
|
25700
25700
|
key = _toPropertyKey(key);
|
|
25701
25701
|
if (key in obj) {
|
|
25702
25702
|
Object.defineProperty(obj, key, {
|
|
@@ -25714,8 +25714,8 @@
|
|
|
25714
25714
|
var Setter = /* @__PURE__ */ function() {
|
|
25715
25715
|
function Setter2() {
|
|
25716
25716
|
_classCallCheck$g(this, Setter2);
|
|
25717
|
-
_defineProperty$
|
|
25718
|
-
_defineProperty$
|
|
25717
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25718
|
+
_defineProperty$o(this, "subPriority", 0);
|
|
25719
25719
|
}
|
|
25720
25720
|
_createClass$g(Setter2, [{
|
|
25721
25721
|
key: "validate",
|
|
@@ -25764,8 +25764,8 @@
|
|
|
25764
25764
|
args[_key] = arguments[_key];
|
|
25765
25765
|
}
|
|
25766
25766
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
25767
|
-
_defineProperty$
|
|
25768
|
-
_defineProperty$
|
|
25767
|
+
_defineProperty$o(_assertThisInitialized$3(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
25768
|
+
_defineProperty$o(_assertThisInitialized$3(_this2), "subPriority", -1);
|
|
25769
25769
|
return _this2;
|
|
25770
25770
|
}
|
|
25771
25771
|
_createClass$g(DateToSystemTimezoneSetter2, [{
|
|
@@ -25785,9 +25785,9 @@
|
|
|
25785
25785
|
var Parser$2 = /* @__PURE__ */ function() {
|
|
25786
25786
|
function Parser2() {
|
|
25787
25787
|
_classCallCheck$g(this, Parser2);
|
|
25788
|
-
_defineProperty$
|
|
25789
|
-
_defineProperty$
|
|
25790
|
-
_defineProperty$
|
|
25788
|
+
_defineProperty$o(this, "incompatibleTokens", void 0);
|
|
25789
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25790
|
+
_defineProperty$o(this, "subPriority", void 0);
|
|
25791
25791
|
}
|
|
25792
25792
|
_createClass$g(Parser2, [{
|
|
25793
25793
|
key: "run",
|
|
@@ -25819,8 +25819,8 @@
|
|
|
25819
25819
|
args[_key] = arguments[_key];
|
|
25820
25820
|
}
|
|
25821
25821
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25822
|
-
_defineProperty$
|
|
25823
|
-
_defineProperty$
|
|
25822
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 140);
|
|
25823
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
25824
25824
|
return _this;
|
|
25825
25825
|
}
|
|
25826
25826
|
_createClass$g(EraParser2, [{
|
|
@@ -26006,8 +26006,8 @@
|
|
|
26006
26006
|
args[_key] = arguments[_key];
|
|
26007
26007
|
}
|
|
26008
26008
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26009
|
-
_defineProperty$
|
|
26010
|
-
_defineProperty$
|
|
26009
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26010
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26011
26011
|
return _this;
|
|
26012
26012
|
}
|
|
26013
26013
|
_createClass$g(YearParser2, [{
|
|
@@ -26063,8 +26063,8 @@
|
|
|
26063
26063
|
args[_key] = arguments[_key];
|
|
26064
26064
|
}
|
|
26065
26065
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26066
|
-
_defineProperty$
|
|
26067
|
-
_defineProperty$
|
|
26066
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26067
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26068
26068
|
return _this;
|
|
26069
26069
|
}
|
|
26070
26070
|
_createClass$g(LocalWeekYearParser2, [{
|
|
@@ -26120,8 +26120,8 @@
|
|
|
26120
26120
|
args[_key] = arguments[_key];
|
|
26121
26121
|
}
|
|
26122
26122
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26123
|
-
_defineProperty$
|
|
26124
|
-
_defineProperty$
|
|
26123
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26124
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26125
26125
|
return _this;
|
|
26126
26126
|
}
|
|
26127
26127
|
_createClass$g(ISOWeekYearParser2, [{
|
|
@@ -26153,8 +26153,8 @@
|
|
|
26153
26153
|
args[_key] = arguments[_key];
|
|
26154
26154
|
}
|
|
26155
26155
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26156
|
-
_defineProperty$
|
|
26157
|
-
_defineProperty$
|
|
26156
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 130);
|
|
26157
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26158
26158
|
return _this;
|
|
26159
26159
|
}
|
|
26160
26160
|
_createClass$g(ExtendedYearParser2, [{
|
|
@@ -26185,8 +26185,8 @@
|
|
|
26185
26185
|
args[_key] = arguments[_key];
|
|
26186
26186
|
}
|
|
26187
26187
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26188
|
-
_defineProperty$
|
|
26189
|
-
_defineProperty$
|
|
26188
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 120);
|
|
26189
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26190
26190
|
return _this;
|
|
26191
26191
|
}
|
|
26192
26192
|
_createClass$g(QuarterParser2, [{
|
|
@@ -26252,8 +26252,8 @@
|
|
|
26252
26252
|
args[_key] = arguments[_key];
|
|
26253
26253
|
}
|
|
26254
26254
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26255
|
-
_defineProperty$
|
|
26256
|
-
_defineProperty$
|
|
26255
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 120);
|
|
26256
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26257
26257
|
return _this;
|
|
26258
26258
|
}
|
|
26259
26259
|
_createClass$g(StandAloneQuarterParser2, [{
|
|
@@ -26319,8 +26319,8 @@
|
|
|
26319
26319
|
args[_key] = arguments[_key];
|
|
26320
26320
|
}
|
|
26321
26321
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26322
|
-
_defineProperty$
|
|
26323
|
-
_defineProperty$
|
|
26322
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26323
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 110);
|
|
26324
26324
|
return _this;
|
|
26325
26325
|
}
|
|
26326
26326
|
_createClass$g(MonthParser2, [{
|
|
@@ -26390,8 +26390,8 @@
|
|
|
26390
26390
|
args[_key] = arguments[_key];
|
|
26391
26391
|
}
|
|
26392
26392
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26393
|
-
_defineProperty$
|
|
26394
|
-
_defineProperty$
|
|
26393
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 110);
|
|
26394
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26395
26395
|
return _this;
|
|
26396
26396
|
}
|
|
26397
26397
|
_createClass$g(StandAloneMonthParser2, [{
|
|
@@ -26469,8 +26469,8 @@
|
|
|
26469
26469
|
args[_key] = arguments[_key];
|
|
26470
26470
|
}
|
|
26471
26471
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26472
|
-
_defineProperty$
|
|
26473
|
-
_defineProperty$
|
|
26472
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 100);
|
|
26473
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26474
26474
|
return _this;
|
|
26475
26475
|
}
|
|
26476
26476
|
_createClass$g(LocalWeekParser2, [{
|
|
@@ -26518,8 +26518,8 @@
|
|
|
26518
26518
|
args[_key] = arguments[_key];
|
|
26519
26519
|
}
|
|
26520
26520
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26521
|
-
_defineProperty$
|
|
26522
|
-
_defineProperty$
|
|
26521
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 100);
|
|
26522
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26523
26523
|
return _this;
|
|
26524
26524
|
}
|
|
26525
26525
|
_createClass$g(ISOWeekParser2, [{
|
|
@@ -26561,9 +26561,9 @@
|
|
|
26561
26561
|
args[_key] = arguments[_key];
|
|
26562
26562
|
}
|
|
26563
26563
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26564
|
-
_defineProperty$
|
|
26565
|
-
_defineProperty$
|
|
26566
|
-
_defineProperty$
|
|
26564
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26565
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "subPriority", 1);
|
|
26566
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26567
26567
|
return _this;
|
|
26568
26568
|
}
|
|
26569
26569
|
_createClass$g(DateParser2, [{
|
|
@@ -26612,9 +26612,9 @@
|
|
|
26612
26612
|
args[_key] = arguments[_key];
|
|
26613
26613
|
}
|
|
26614
26614
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26615
|
-
_defineProperty$
|
|
26616
|
-
_defineProperty$
|
|
26617
|
-
_defineProperty$
|
|
26615
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26616
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "subpriority", 1);
|
|
26617
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
26618
26618
|
return _this;
|
|
26619
26619
|
}
|
|
26620
26620
|
_createClass$g(DayOfYearParser2, [{
|
|
@@ -26680,8 +26680,8 @@
|
|
|
26680
26680
|
args[_key] = arguments[_key];
|
|
26681
26681
|
}
|
|
26682
26682
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26683
|
-
_defineProperty$
|
|
26684
|
-
_defineProperty$
|
|
26683
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26684
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
26685
26685
|
return _this;
|
|
26686
26686
|
}
|
|
26687
26687
|
_createClass$g(DayParser2, [{
|
|
@@ -26756,8 +26756,8 @@
|
|
|
26756
26756
|
args[_key] = arguments[_key];
|
|
26757
26757
|
}
|
|
26758
26758
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26759
|
-
_defineProperty$
|
|
26760
|
-
_defineProperty$
|
|
26759
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26760
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
26761
26761
|
return _this;
|
|
26762
26762
|
}
|
|
26763
26763
|
_createClass$g(LocalDayParser2, [{
|
|
@@ -26841,8 +26841,8 @@
|
|
|
26841
26841
|
args[_key] = arguments[_key];
|
|
26842
26842
|
}
|
|
26843
26843
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26844
|
-
_defineProperty$
|
|
26845
|
-
_defineProperty$
|
|
26844
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26845
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
26846
26846
|
return _this;
|
|
26847
26847
|
}
|
|
26848
26848
|
_createClass$g(StandAloneLocalDayParser2, [{
|
|
@@ -26941,8 +26941,8 @@
|
|
|
26941
26941
|
args[_key] = arguments[_key];
|
|
26942
26942
|
}
|
|
26943
26943
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26944
|
-
_defineProperty$
|
|
26945
|
-
_defineProperty$
|
|
26944
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 90);
|
|
26945
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
26946
26946
|
return _this;
|
|
26947
26947
|
}
|
|
26948
26948
|
_createClass$g(ISODayParser2, [{
|
|
@@ -27028,8 +27028,8 @@
|
|
|
27028
27028
|
args[_key] = arguments[_key];
|
|
27029
27029
|
}
|
|
27030
27030
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27031
|
-
_defineProperty$
|
|
27032
|
-
_defineProperty$
|
|
27031
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 80);
|
|
27032
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
27033
27033
|
return _this;
|
|
27034
27034
|
}
|
|
27035
27035
|
_createClass$g(AMPMParser2, [{
|
|
@@ -27084,8 +27084,8 @@
|
|
|
27084
27084
|
args[_key] = arguments[_key];
|
|
27085
27085
|
}
|
|
27086
27086
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27087
|
-
_defineProperty$
|
|
27088
|
-
_defineProperty$
|
|
27087
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 80);
|
|
27088
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
27089
27089
|
return _this;
|
|
27090
27090
|
}
|
|
27091
27091
|
_createClass$g(AMPMMidnightParser2, [{
|
|
@@ -27140,8 +27140,8 @@
|
|
|
27140
27140
|
args[_key] = arguments[_key];
|
|
27141
27141
|
}
|
|
27142
27142
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27143
|
-
_defineProperty$
|
|
27144
|
-
_defineProperty$
|
|
27143
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 80);
|
|
27144
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
27145
27145
|
return _this;
|
|
27146
27146
|
}
|
|
27147
27147
|
_createClass$g(DayPeriodParser2, [{
|
|
@@ -27196,8 +27196,8 @@
|
|
|
27196
27196
|
args[_key] = arguments[_key];
|
|
27197
27197
|
}
|
|
27198
27198
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27199
|
-
_defineProperty$
|
|
27200
|
-
_defineProperty$
|
|
27199
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27200
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
27201
27201
|
return _this;
|
|
27202
27202
|
}
|
|
27203
27203
|
_createClass$g(Hour1to12Parser2, [{
|
|
@@ -27245,8 +27245,8 @@
|
|
|
27245
27245
|
args[_key] = arguments[_key];
|
|
27246
27246
|
}
|
|
27247
27247
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27248
|
-
_defineProperty$
|
|
27249
|
-
_defineProperty$
|
|
27248
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27249
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
27250
27250
|
return _this;
|
|
27251
27251
|
}
|
|
27252
27252
|
_createClass$g(Hour0to23Parser2, [{
|
|
@@ -27287,8 +27287,8 @@
|
|
|
27287
27287
|
args[_key] = arguments[_key];
|
|
27288
27288
|
}
|
|
27289
27289
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27290
|
-
_defineProperty$
|
|
27291
|
-
_defineProperty$
|
|
27290
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27291
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
27292
27292
|
return _this;
|
|
27293
27293
|
}
|
|
27294
27294
|
_createClass$g(Hour0To11Parser2, [{
|
|
@@ -27334,8 +27334,8 @@
|
|
|
27334
27334
|
args[_key] = arguments[_key];
|
|
27335
27335
|
}
|
|
27336
27336
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27337
|
-
_defineProperty$
|
|
27338
|
-
_defineProperty$
|
|
27337
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 70);
|
|
27338
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
27339
27339
|
return _this;
|
|
27340
27340
|
}
|
|
27341
27341
|
_createClass$g(Hour1To24Parser2, [{
|
|
@@ -27377,8 +27377,8 @@
|
|
|
27377
27377
|
args[_key] = arguments[_key];
|
|
27378
27378
|
}
|
|
27379
27379
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27380
|
-
_defineProperty$
|
|
27381
|
-
_defineProperty$
|
|
27380
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 60);
|
|
27381
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
27382
27382
|
return _this;
|
|
27383
27383
|
}
|
|
27384
27384
|
_createClass$g(MinuteParser2, [{
|
|
@@ -27419,8 +27419,8 @@
|
|
|
27419
27419
|
args[_key] = arguments[_key];
|
|
27420
27420
|
}
|
|
27421
27421
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27422
|
-
_defineProperty$
|
|
27423
|
-
_defineProperty$
|
|
27422
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 50);
|
|
27423
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
27424
27424
|
return _this;
|
|
27425
27425
|
}
|
|
27426
27426
|
_createClass$g(SecondParser2, [{
|
|
@@ -27461,8 +27461,8 @@
|
|
|
27461
27461
|
args[_key] = arguments[_key];
|
|
27462
27462
|
}
|
|
27463
27463
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27464
|
-
_defineProperty$
|
|
27465
|
-
_defineProperty$
|
|
27464
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 30);
|
|
27465
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
27466
27466
|
return _this;
|
|
27467
27467
|
}
|
|
27468
27468
|
_createClass$g(FractionOfSecondParser2, [{
|
|
@@ -27492,8 +27492,8 @@
|
|
|
27492
27492
|
args[_key] = arguments[_key];
|
|
27493
27493
|
}
|
|
27494
27494
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27495
|
-
_defineProperty$
|
|
27496
|
-
_defineProperty$
|
|
27495
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 10);
|
|
27496
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
27497
27497
|
return _this;
|
|
27498
27498
|
}
|
|
27499
27499
|
_createClass$g(ISOTimezoneWithZParser2, [{
|
|
@@ -27534,8 +27534,8 @@
|
|
|
27534
27534
|
args[_key] = arguments[_key];
|
|
27535
27535
|
}
|
|
27536
27536
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27537
|
-
_defineProperty$
|
|
27538
|
-
_defineProperty$
|
|
27537
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 10);
|
|
27538
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
27539
27539
|
return _this;
|
|
27540
27540
|
}
|
|
27541
27541
|
_createClass$g(ISOTimezoneParser2, [{
|
|
@@ -27576,8 +27576,8 @@
|
|
|
27576
27576
|
args[_key] = arguments[_key];
|
|
27577
27577
|
}
|
|
27578
27578
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27579
|
-
_defineProperty$
|
|
27580
|
-
_defineProperty$
|
|
27579
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 40);
|
|
27580
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
27581
27581
|
return _this;
|
|
27582
27582
|
}
|
|
27583
27583
|
_createClass$g(TimestampSecondsParser2, [{
|
|
@@ -27605,8 +27605,8 @@
|
|
|
27605
27605
|
args[_key] = arguments[_key];
|
|
27606
27606
|
}
|
|
27607
27607
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27608
|
-
_defineProperty$
|
|
27609
|
-
_defineProperty$
|
|
27608
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "priority", 20);
|
|
27609
|
+
_defineProperty$o(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
27610
27610
|
return _this;
|
|
27611
27611
|
}
|
|
27612
27612
|
_createClass$g(TimestampMillisecondsParser2, [{
|
|
@@ -27759,7 +27759,7 @@
|
|
|
27759
27759
|
};
|
|
27760
27760
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
27761
27761
|
var _ret = _loop();
|
|
27762
|
-
if (_typeof$
|
|
27762
|
+
if (_typeof$5(_ret) === "object")
|
|
27763
27763
|
return _ret.v;
|
|
27764
27764
|
}
|
|
27765
27765
|
} catch (err) {
|
|
@@ -28009,7 +28009,7 @@
|
|
|
28009
28009
|
};
|
|
28010
28010
|
return _setPrototypeOf$2(o2, p2);
|
|
28011
28011
|
}
|
|
28012
|
-
function _objectWithoutPropertiesLoose$
|
|
28012
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
28013
28013
|
if (source == null)
|
|
28014
28014
|
return {};
|
|
28015
28015
|
var target = {};
|
|
@@ -28211,7 +28211,7 @@
|
|
|
28211
28211
|
_proto.render = function render2() {
|
|
28212
28212
|
var _this$props = this.props;
|
|
28213
28213
|
_this$props.excludeScrollbar;
|
|
28214
|
-
var props = _objectWithoutPropertiesLoose$
|
|
28214
|
+
var props = _objectWithoutPropertiesLoose$2(_this$props, ["excludeScrollbar"]);
|
|
28215
28215
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
28216
28216
|
props.ref = this.getRef;
|
|
28217
28217
|
} else {
|
|
@@ -31061,17 +31061,17 @@
|
|
|
31061
31061
|
});
|
|
31062
31062
|
};
|
|
31063
31063
|
}
|
|
31064
|
-
function _toConsumableArray$
|
|
31065
|
-
return _arrayWithoutHoles$
|
|
31064
|
+
function _toConsumableArray$2(arr) {
|
|
31065
|
+
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _nonIterableSpread$2();
|
|
31066
31066
|
}
|
|
31067
|
-
function _nonIterableSpread$
|
|
31067
|
+
function _nonIterableSpread$2() {
|
|
31068
31068
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
31069
31069
|
}
|
|
31070
|
-
function _iterableToArray$
|
|
31070
|
+
function _iterableToArray$2(iter2) {
|
|
31071
31071
|
if (Symbol.iterator in Object(iter2) || Object.prototype.toString.call(iter2) === "[object Arguments]")
|
|
31072
31072
|
return Array.from(iter2);
|
|
31073
31073
|
}
|
|
31074
|
-
function _arrayWithoutHoles$
|
|
31074
|
+
function _arrayWithoutHoles$2(arr) {
|
|
31075
31075
|
if (Array.isArray(arr)) {
|
|
31076
31076
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
31077
31077
|
arr2[i2] = arr[i2];
|
|
@@ -31117,7 +31117,7 @@
|
|
|
31117
31117
|
if (Array.isArray(arr))
|
|
31118
31118
|
return arr;
|
|
31119
31119
|
}
|
|
31120
|
-
function ownKeys$
|
|
31120
|
+
function ownKeys$6(object2, enumerableOnly) {
|
|
31121
31121
|
var keys2 = Object.keys(object2);
|
|
31122
31122
|
if (Object.getOwnPropertySymbols) {
|
|
31123
31123
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -31133,20 +31133,20 @@
|
|
|
31133
31133
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
31134
31134
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
31135
31135
|
if (i2 % 2) {
|
|
31136
|
-
ownKeys$
|
|
31137
|
-
_defineProperty$
|
|
31136
|
+
ownKeys$6(source, true).forEach(function(key) {
|
|
31137
|
+
_defineProperty$n(target, key, source[key]);
|
|
31138
31138
|
});
|
|
31139
31139
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
31140
31140
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
31141
31141
|
} else {
|
|
31142
|
-
ownKeys$
|
|
31142
|
+
ownKeys$6(source).forEach(function(key) {
|
|
31143
31143
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
31144
31144
|
});
|
|
31145
31145
|
}
|
|
31146
31146
|
}
|
|
31147
31147
|
return target;
|
|
31148
31148
|
}
|
|
31149
|
-
function _defineProperty$
|
|
31149
|
+
function _defineProperty$n(obj, key, value) {
|
|
31150
31150
|
if (key in obj) {
|
|
31151
31151
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
31152
31152
|
} else {
|
|
@@ -31154,10 +31154,10 @@
|
|
|
31154
31154
|
}
|
|
31155
31155
|
return obj;
|
|
31156
31156
|
}
|
|
31157
|
-
function _objectWithoutProperties$
|
|
31157
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
31158
31158
|
if (source == null)
|
|
31159
31159
|
return {};
|
|
31160
|
-
var target = _objectWithoutPropertiesLoose$
|
|
31160
|
+
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
31161
31161
|
var key, i2;
|
|
31162
31162
|
if (Object.getOwnPropertySymbols) {
|
|
31163
31163
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -31172,7 +31172,7 @@
|
|
|
31172
31172
|
}
|
|
31173
31173
|
return target;
|
|
31174
31174
|
}
|
|
31175
|
-
function _objectWithoutPropertiesLoose$
|
|
31175
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
31176
31176
|
if (source == null)
|
|
31177
31177
|
return {};
|
|
31178
31178
|
var target = {};
|
|
@@ -31187,8 +31187,8 @@
|
|
|
31187
31187
|
return target;
|
|
31188
31188
|
}
|
|
31189
31189
|
var Dropzone$1 = React.forwardRef(function(_ref2, ref) {
|
|
31190
|
-
var children2 = _ref2.children, params = _objectWithoutProperties$
|
|
31191
|
-
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$
|
|
31190
|
+
var children2 = _ref2.children, params = _objectWithoutProperties$1(_ref2, ["children"]);
|
|
31191
|
+
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$1(_useDropzone, ["open"]);
|
|
31192
31192
|
React.useImperativeHandle(ref, function() {
|
|
31193
31193
|
return {
|
|
31194
31194
|
open
|
|
@@ -31321,7 +31321,7 @@
|
|
|
31321
31321
|
event2.preventDefault();
|
|
31322
31322
|
event2.persist();
|
|
31323
31323
|
stopPropagation(event2);
|
|
31324
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
31324
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$2(dragTargetsRef.current), [event2.target]);
|
|
31325
31325
|
if (isEvtWithFiles(event2)) {
|
|
31326
31326
|
Promise.resolve(getFilesFromEvent(event2)).then(function(draggedFiles2) {
|
|
31327
31327
|
if (isPropagationStopped(event2) && !noDragEventsBubbling) {
|
|
@@ -31449,8 +31449,8 @@
|
|
|
31449
31449
|
};
|
|
31450
31450
|
var getRootProps = React.useMemo(function() {
|
|
31451
31451
|
return function() {
|
|
31452
|
-
var _ref3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, onKeyDown = _ref3.onKeyDown, onFocus = _ref3.onFocus, onBlur = _ref3.onBlur, onClick = _ref3.onClick, onDragEnter2 = _ref3.onDragEnter, onDragOver2 = _ref3.onDragOver, onDragLeave2 = _ref3.onDragLeave, onDrop2 = _ref3.onDrop, rest = _objectWithoutProperties$
|
|
31453
|
-
return _objectSpread$5(_defineProperty$
|
|
31452
|
+
var _ref3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, onKeyDown = _ref3.onKeyDown, onFocus = _ref3.onFocus, onBlur = _ref3.onBlur, onClick = _ref3.onClick, onDragEnter2 = _ref3.onDragEnter, onDragOver2 = _ref3.onDragOver, onDragLeave2 = _ref3.onDragLeave, onDrop2 = _ref3.onDrop, rest = _objectWithoutProperties$1(_ref3, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"]);
|
|
31453
|
+
return _objectSpread$5(_defineProperty$n({
|
|
31454
31454
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
31455
31455
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
31456
31456
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -31469,8 +31469,8 @@
|
|
|
31469
31469
|
}, []);
|
|
31470
31470
|
var getInputProps = React.useMemo(function() {
|
|
31471
31471
|
return function() {
|
|
31472
|
-
var _ref4 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, onChange2 = _ref4.onChange, onClick = _ref4.onClick, rest = _objectWithoutProperties$
|
|
31473
|
-
var inputProps = _defineProperty$
|
|
31472
|
+
var _ref4 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref4$refKey = _ref4.refKey, refKey = _ref4$refKey === void 0 ? "ref" : _ref4$refKey, onChange2 = _ref4.onChange, onClick = _ref4.onClick, rest = _objectWithoutProperties$1(_ref4, ["refKey", "onChange", "onClick"]);
|
|
31473
|
+
var inputProps = _defineProperty$n({
|
|
31474
31474
|
accept,
|
|
31475
31475
|
multiple,
|
|
31476
31476
|
type: "file",
|
|
@@ -33088,7 +33088,7 @@
|
|
|
33088
33088
|
_defineProperties$f(Constructor, staticProps);
|
|
33089
33089
|
return Constructor;
|
|
33090
33090
|
}
|
|
33091
|
-
function _defineProperty$
|
|
33091
|
+
function _defineProperty$m(obj, key, value) {
|
|
33092
33092
|
if (key in obj) {
|
|
33093
33093
|
Object.defineProperty(obj, key, {
|
|
33094
33094
|
value,
|
|
@@ -33101,7 +33101,7 @@
|
|
|
33101
33101
|
}
|
|
33102
33102
|
return obj;
|
|
33103
33103
|
}
|
|
33104
|
-
function ownKeys$
|
|
33104
|
+
function ownKeys$5(object2, enumerableOnly) {
|
|
33105
33105
|
var keys2 = Object.keys(object2);
|
|
33106
33106
|
if (Object.getOwnPropertySymbols) {
|
|
33107
33107
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -33113,17 +33113,17 @@
|
|
|
33113
33113
|
}
|
|
33114
33114
|
return keys2;
|
|
33115
33115
|
}
|
|
33116
|
-
function _objectSpread2
|
|
33116
|
+
function _objectSpread2(target) {
|
|
33117
33117
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
33118
33118
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
33119
33119
|
if (i2 % 2) {
|
|
33120
|
-
ownKeys$
|
|
33121
|
-
_defineProperty$
|
|
33120
|
+
ownKeys$5(Object(source), true).forEach(function(key) {
|
|
33121
|
+
_defineProperty$m(target, key, source[key]);
|
|
33122
33122
|
});
|
|
33123
33123
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
33124
33124
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
33125
33125
|
} else {
|
|
33126
|
-
ownKeys$
|
|
33126
|
+
ownKeys$5(Object(source)).forEach(function(key) {
|
|
33127
33127
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
33128
33128
|
});
|
|
33129
33129
|
}
|
|
@@ -33198,20 +33198,20 @@
|
|
|
33198
33198
|
};
|
|
33199
33199
|
}
|
|
33200
33200
|
function _slicedToArray$7(arr, i2) {
|
|
33201
|
-
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$
|
|
33201
|
+
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$8(arr, i2) || _nonIterableRest$7();
|
|
33202
33202
|
}
|
|
33203
|
-
function _toConsumableArray$
|
|
33204
|
-
return _arrayWithoutHoles$
|
|
33203
|
+
function _toConsumableArray$1(arr) {
|
|
33204
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
33205
33205
|
}
|
|
33206
|
-
function _arrayWithoutHoles$
|
|
33206
|
+
function _arrayWithoutHoles$1(arr) {
|
|
33207
33207
|
if (Array.isArray(arr))
|
|
33208
|
-
return _arrayLikeToArray$
|
|
33208
|
+
return _arrayLikeToArray$8(arr);
|
|
33209
33209
|
}
|
|
33210
33210
|
function _arrayWithHoles$7(arr) {
|
|
33211
33211
|
if (Array.isArray(arr))
|
|
33212
33212
|
return arr;
|
|
33213
33213
|
}
|
|
33214
|
-
function _iterableToArray$
|
|
33214
|
+
function _iterableToArray$1(iter2) {
|
|
33215
33215
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter2))
|
|
33216
33216
|
return Array.from(iter2);
|
|
33217
33217
|
}
|
|
@@ -33242,27 +33242,27 @@
|
|
|
33242
33242
|
}
|
|
33243
33243
|
return _arr;
|
|
33244
33244
|
}
|
|
33245
|
-
function _unsupportedIterableToArray$
|
|
33245
|
+
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
33246
33246
|
if (!o2)
|
|
33247
33247
|
return;
|
|
33248
33248
|
if (typeof o2 === "string")
|
|
33249
|
-
return _arrayLikeToArray$
|
|
33249
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33250
33250
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
33251
33251
|
if (n2 === "Object" && o2.constructor)
|
|
33252
33252
|
n2 = o2.constructor.name;
|
|
33253
33253
|
if (n2 === "Map" || n2 === "Set")
|
|
33254
33254
|
return Array.from(o2);
|
|
33255
33255
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
33256
|
-
return _arrayLikeToArray$
|
|
33256
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33257
33257
|
}
|
|
33258
|
-
function _arrayLikeToArray$
|
|
33258
|
+
function _arrayLikeToArray$8(arr, len) {
|
|
33259
33259
|
if (len == null || len > arr.length)
|
|
33260
33260
|
len = arr.length;
|
|
33261
33261
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
33262
33262
|
arr2[i2] = arr[i2];
|
|
33263
33263
|
return arr2;
|
|
33264
33264
|
}
|
|
33265
|
-
function _nonIterableSpread$
|
|
33265
|
+
function _nonIterableSpread$1() {
|
|
33266
33266
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33267
33267
|
}
|
|
33268
33268
|
function _nonIterableRest$7() {
|
|
@@ -33290,10 +33290,10 @@
|
|
|
33290
33290
|
if (val === updateValue) {
|
|
33291
33291
|
return handles;
|
|
33292
33292
|
}
|
|
33293
|
-
return [].concat(_toConsumableArray$
|
|
33293
|
+
return [].concat(_toConsumableArray$1(handles.slice(0, index2)), [{
|
|
33294
33294
|
key,
|
|
33295
33295
|
val: updateValue
|
|
33296
|
-
}], _toConsumableArray$
|
|
33296
|
+
}], _toConsumableArray$1(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
33297
33297
|
}
|
|
33298
33298
|
return handles;
|
|
33299
33299
|
}
|
|
@@ -33431,7 +33431,7 @@
|
|
|
33431
33431
|
_this.getRailProps = function() {
|
|
33432
33432
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
33433
33433
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33434
|
-
return _objectSpread2
|
|
33434
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33435
33435
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33436
33436
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33437
33437
|
});
|
|
@@ -33470,7 +33470,7 @@
|
|
|
33470
33470
|
_this.getHandleProps = function(id2) {
|
|
33471
33471
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
33472
33472
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33473
|
-
return _objectSpread2
|
|
33473
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33474
33474
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
33475
33475
|
return emitKeyboard && emitKeyboard(e3, id2);
|
|
33476
33476
|
}),
|
|
@@ -33633,7 +33633,7 @@
|
|
|
33633
33633
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
33634
33634
|
_this.getTrackProps = function(props) {
|
|
33635
33635
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33636
|
-
return _objectSpread2
|
|
33636
|
+
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
33637
33637
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33638
33638
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33639
33639
|
});
|
|
@@ -34036,11 +34036,11 @@
|
|
|
34036
34036
|
return child;
|
|
34037
34037
|
}
|
|
34038
34038
|
});
|
|
34039
|
-
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34039
|
+
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34040
34040
|
style: rootStyle,
|
|
34041
34041
|
className,
|
|
34042
34042
|
ref: this.slider
|
|
34043
|
-
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34043
|
+
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34044
34044
|
style: rootStyle,
|
|
34045
34045
|
className,
|
|
34046
34046
|
ref: this.slider
|
|
@@ -34417,331 +34417,6 @@
|
|
|
34417
34417
|
return jsxRuntime.exports.jsxs(SwitchWrapper, { className, "data-testid": "wrapper", enabled, onClick, ref, style: style2, children: [jsxRuntime.exports.jsx(SwitchHandle, { "data-testid": "handle", enabled }), jsxRuntime.exports.jsx("div", { style: { userSelect: "none" }, children: labelIconToShow })] });
|
|
34418
34418
|
}
|
|
34419
34419
|
const UISwitch = React.forwardRef(Switch$1);
|
|
34420
|
-
function ownKeys$5(object2, enumerableOnly) {
|
|
34421
|
-
var keys2 = Object.keys(object2);
|
|
34422
|
-
if (Object.getOwnPropertySymbols) {
|
|
34423
|
-
var symbols = Object.getOwnPropertySymbols(object2);
|
|
34424
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
34425
|
-
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
34426
|
-
})), keys2.push.apply(keys2, symbols);
|
|
34427
|
-
}
|
|
34428
|
-
return keys2;
|
|
34429
|
-
}
|
|
34430
|
-
function _objectSpread2(target) {
|
|
34431
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
34432
|
-
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
34433
|
-
i2 % 2 ? ownKeys$5(Object(source), true).forEach(function(key) {
|
|
34434
|
-
_defineProperty$m(target, key, source[key]);
|
|
34435
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
34436
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34437
|
-
});
|
|
34438
|
-
}
|
|
34439
|
-
return target;
|
|
34440
|
-
}
|
|
34441
|
-
function _typeof$5(obj) {
|
|
34442
|
-
"@babel/helpers - typeof";
|
|
34443
|
-
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
34444
|
-
return typeof obj2;
|
|
34445
|
-
} : function(obj2) {
|
|
34446
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
34447
|
-
}, _typeof$5(obj);
|
|
34448
|
-
}
|
|
34449
|
-
function _defineProperty$m(obj, key, value) {
|
|
34450
|
-
if (key in obj) {
|
|
34451
|
-
Object.defineProperty(obj, key, {
|
|
34452
|
-
value,
|
|
34453
|
-
enumerable: true,
|
|
34454
|
-
configurable: true,
|
|
34455
|
-
writable: true
|
|
34456
|
-
});
|
|
34457
|
-
} else {
|
|
34458
|
-
obj[key] = value;
|
|
34459
|
-
}
|
|
34460
|
-
return obj;
|
|
34461
|
-
}
|
|
34462
|
-
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
34463
|
-
if (source == null)
|
|
34464
|
-
return {};
|
|
34465
|
-
var target = {};
|
|
34466
|
-
var sourceKeys = Object.keys(source);
|
|
34467
|
-
var key, i2;
|
|
34468
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
34469
|
-
key = sourceKeys[i2];
|
|
34470
|
-
if (excluded.indexOf(key) >= 0)
|
|
34471
|
-
continue;
|
|
34472
|
-
target[key] = source[key];
|
|
34473
|
-
}
|
|
34474
|
-
return target;
|
|
34475
|
-
}
|
|
34476
|
-
function _objectWithoutProperties$1(source, excluded) {
|
|
34477
|
-
if (source == null)
|
|
34478
|
-
return {};
|
|
34479
|
-
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
34480
|
-
var key, i2;
|
|
34481
|
-
if (Object.getOwnPropertySymbols) {
|
|
34482
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
34483
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
34484
|
-
key = sourceSymbolKeys[i2];
|
|
34485
|
-
if (excluded.indexOf(key) >= 0)
|
|
34486
|
-
continue;
|
|
34487
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
34488
|
-
continue;
|
|
34489
|
-
target[key] = source[key];
|
|
34490
|
-
}
|
|
34491
|
-
}
|
|
34492
|
-
return target;
|
|
34493
|
-
}
|
|
34494
|
-
function _toConsumableArray$1(arr) {
|
|
34495
|
-
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
34496
|
-
}
|
|
34497
|
-
function _arrayWithoutHoles$1(arr) {
|
|
34498
|
-
if (Array.isArray(arr))
|
|
34499
|
-
return _arrayLikeToArray$8(arr);
|
|
34500
|
-
}
|
|
34501
|
-
function _iterableToArray$1(iter2) {
|
|
34502
|
-
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
34503
|
-
return Array.from(iter2);
|
|
34504
|
-
}
|
|
34505
|
-
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
34506
|
-
if (!o2)
|
|
34507
|
-
return;
|
|
34508
|
-
if (typeof o2 === "string")
|
|
34509
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34510
|
-
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
34511
|
-
if (n2 === "Object" && o2.constructor)
|
|
34512
|
-
n2 = o2.constructor.name;
|
|
34513
|
-
if (n2 === "Map" || n2 === "Set")
|
|
34514
|
-
return Array.from(o2);
|
|
34515
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
34516
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34517
|
-
}
|
|
34518
|
-
function _arrayLikeToArray$8(arr, len) {
|
|
34519
|
-
if (len == null || len > arr.length)
|
|
34520
|
-
len = arr.length;
|
|
34521
|
-
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
34522
|
-
arr2[i2] = arr[i2];
|
|
34523
|
-
return arr2;
|
|
34524
|
-
}
|
|
34525
|
-
function _nonIterableSpread$1() {
|
|
34526
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34527
|
-
}
|
|
34528
|
-
function classList$1(props) {
|
|
34529
|
-
var _classes;
|
|
34530
|
-
var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem2 = props.listItem, flip2 = props.flip, size = props.size, rotation2 = props.rotation, pull = props.pull;
|
|
34531
|
-
var classes = (_classes = {
|
|
34532
|
-
"fa-beat": beat,
|
|
34533
|
-
"fa-fade": fade,
|
|
34534
|
-
"fa-beat-fade": beatFade,
|
|
34535
|
-
"fa-bounce": bounce,
|
|
34536
|
-
"fa-shake": shake,
|
|
34537
|
-
"fa-flash": flash,
|
|
34538
|
-
"fa-spin": spin,
|
|
34539
|
-
"fa-spin-reverse": spinReverse,
|
|
34540
|
-
"fa-spin-pulse": spinPulse,
|
|
34541
|
-
"fa-pulse": pulse,
|
|
34542
|
-
"fa-fw": fixedWidth,
|
|
34543
|
-
"fa-inverse": inverse,
|
|
34544
|
-
"fa-border": border,
|
|
34545
|
-
"fa-li": listItem2,
|
|
34546
|
-
"fa-flip": flip2 === true,
|
|
34547
|
-
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
34548
|
-
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
34549
|
-
}, _defineProperty$m(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$m(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$m(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$m(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
34550
|
-
return Object.keys(classes).map(function(key) {
|
|
34551
|
-
return classes[key] ? key : null;
|
|
34552
|
-
}).filter(function(key) {
|
|
34553
|
-
return key;
|
|
34554
|
-
});
|
|
34555
|
-
}
|
|
34556
|
-
function _isNumerical(obj) {
|
|
34557
|
-
obj = obj - 0;
|
|
34558
|
-
return obj === obj;
|
|
34559
|
-
}
|
|
34560
|
-
function camelize(string2) {
|
|
34561
|
-
if (_isNumerical(string2)) {
|
|
34562
|
-
return string2;
|
|
34563
|
-
}
|
|
34564
|
-
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
34565
|
-
return chr ? chr.toUpperCase() : "";
|
|
34566
|
-
});
|
|
34567
|
-
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
34568
|
-
}
|
|
34569
|
-
var _excluded$1 = ["style"];
|
|
34570
|
-
function capitalize$1(val) {
|
|
34571
|
-
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
34572
|
-
}
|
|
34573
|
-
function styleToObject$1(style2) {
|
|
34574
|
-
return style2.split(";").map(function(s2) {
|
|
34575
|
-
return s2.trim();
|
|
34576
|
-
}).filter(function(s2) {
|
|
34577
|
-
return s2;
|
|
34578
|
-
}).reduce(function(acc, pair2) {
|
|
34579
|
-
var i2 = pair2.indexOf(":");
|
|
34580
|
-
var prop = camelize(pair2.slice(0, i2));
|
|
34581
|
-
var value = pair2.slice(i2 + 1).trim();
|
|
34582
|
-
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
34583
|
-
return acc;
|
|
34584
|
-
}, {});
|
|
34585
|
-
}
|
|
34586
|
-
function convert$1(createElement2, element2) {
|
|
34587
|
-
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
34588
|
-
if (typeof element2 === "string") {
|
|
34589
|
-
return element2;
|
|
34590
|
-
}
|
|
34591
|
-
var children2 = (element2.children || []).map(function(child) {
|
|
34592
|
-
return convert$1(createElement2, child);
|
|
34593
|
-
});
|
|
34594
|
-
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
34595
|
-
var val = element2.attributes[key];
|
|
34596
|
-
switch (key) {
|
|
34597
|
-
case "class":
|
|
34598
|
-
acc.attrs["className"] = val;
|
|
34599
|
-
delete element2.attributes["class"];
|
|
34600
|
-
break;
|
|
34601
|
-
case "style":
|
|
34602
|
-
acc.attrs["style"] = styleToObject$1(val);
|
|
34603
|
-
break;
|
|
34604
|
-
default:
|
|
34605
|
-
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
34606
|
-
acc.attrs[key.toLowerCase()] = val;
|
|
34607
|
-
} else {
|
|
34608
|
-
acc.attrs[camelize(key)] = val;
|
|
34609
|
-
}
|
|
34610
|
-
}
|
|
34611
|
-
return acc;
|
|
34612
|
-
}, {
|
|
34613
|
-
attrs: {}
|
|
34614
|
-
});
|
|
34615
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$1(extraProps, _excluded$1);
|
|
34616
|
-
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
34617
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray$1(children2)));
|
|
34618
|
-
}
|
|
34619
|
-
var PRODUCTION = false;
|
|
34620
|
-
try {
|
|
34621
|
-
PRODUCTION = true;
|
|
34622
|
-
} catch (e3) {
|
|
34623
|
-
}
|
|
34624
|
-
function log() {
|
|
34625
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
34626
|
-
var _console;
|
|
34627
|
-
(_console = console).error.apply(_console, arguments);
|
|
34628
|
-
}
|
|
34629
|
-
}
|
|
34630
|
-
function normalizeIconArgs(icon2) {
|
|
34631
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
34632
|
-
return icon2;
|
|
34633
|
-
}
|
|
34634
|
-
if (parse$1$1.icon) {
|
|
34635
|
-
return parse$1$1.icon(icon2);
|
|
34636
|
-
}
|
|
34637
|
-
if (icon2 === null) {
|
|
34638
|
-
return null;
|
|
34639
|
-
}
|
|
34640
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
34641
|
-
return icon2;
|
|
34642
|
-
}
|
|
34643
|
-
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
34644
|
-
return {
|
|
34645
|
-
prefix: icon2[0],
|
|
34646
|
-
iconName: icon2[1]
|
|
34647
|
-
};
|
|
34648
|
-
}
|
|
34649
|
-
if (typeof icon2 === "string") {
|
|
34650
|
-
return {
|
|
34651
|
-
prefix: "fas",
|
|
34652
|
-
iconName: icon2
|
|
34653
|
-
};
|
|
34654
|
-
}
|
|
34655
|
-
}
|
|
34656
|
-
function objectWithKey(key, value) {
|
|
34657
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$m({}, key, value) : {};
|
|
34658
|
-
}
|
|
34659
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
34660
|
-
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
34661
|
-
var iconLookup = normalizeIconArgs(iconArgs);
|
|
34662
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray$1(classList$1(props)), _toConsumableArray$1(className.split(" "))));
|
|
34663
|
-
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
34664
|
-
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
34665
|
-
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
34666
|
-
symbol,
|
|
34667
|
-
title,
|
|
34668
|
-
titleId,
|
|
34669
|
-
maskId
|
|
34670
|
-
}));
|
|
34671
|
-
if (!renderedIcon) {
|
|
34672
|
-
log("Could not find icon", iconLookup);
|
|
34673
|
-
return null;
|
|
34674
|
-
}
|
|
34675
|
-
var abstract = renderedIcon.abstract;
|
|
34676
|
-
var extraProps = {
|
|
34677
|
-
ref
|
|
34678
|
-
};
|
|
34679
|
-
Object.keys(props).forEach(function(key) {
|
|
34680
|
-
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
34681
|
-
extraProps[key] = props[key];
|
|
34682
|
-
}
|
|
34683
|
-
});
|
|
34684
|
-
return convertCurry(abstract[0], extraProps);
|
|
34685
|
-
});
|
|
34686
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
34687
|
-
FontAwesomeIcon.propTypes = {
|
|
34688
|
-
beat: propTypes.exports.bool,
|
|
34689
|
-
border: propTypes.exports.bool,
|
|
34690
|
-
beatFade: propTypes.exports.bool,
|
|
34691
|
-
bounce: propTypes.exports.bool,
|
|
34692
|
-
className: propTypes.exports.string,
|
|
34693
|
-
fade: propTypes.exports.bool,
|
|
34694
|
-
flash: propTypes.exports.bool,
|
|
34695
|
-
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34696
|
-
maskId: propTypes.exports.string,
|
|
34697
|
-
fixedWidth: propTypes.exports.bool,
|
|
34698
|
-
inverse: propTypes.exports.bool,
|
|
34699
|
-
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
34700
|
-
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34701
|
-
listItem: propTypes.exports.bool,
|
|
34702
|
-
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
34703
|
-
pulse: propTypes.exports.bool,
|
|
34704
|
-
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
34705
|
-
shake: propTypes.exports.bool,
|
|
34706
|
-
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
34707
|
-
spin: propTypes.exports.bool,
|
|
34708
|
-
spinPulse: propTypes.exports.bool,
|
|
34709
|
-
spinReverse: propTypes.exports.bool,
|
|
34710
|
-
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
34711
|
-
title: propTypes.exports.string,
|
|
34712
|
-
titleId: propTypes.exports.string,
|
|
34713
|
-
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
34714
|
-
swapOpacity: propTypes.exports.bool
|
|
34715
|
-
};
|
|
34716
|
-
FontAwesomeIcon.defaultProps = {
|
|
34717
|
-
border: false,
|
|
34718
|
-
className: "",
|
|
34719
|
-
mask: null,
|
|
34720
|
-
maskId: null,
|
|
34721
|
-
fixedWidth: false,
|
|
34722
|
-
inverse: false,
|
|
34723
|
-
flip: false,
|
|
34724
|
-
icon: null,
|
|
34725
|
-
listItem: false,
|
|
34726
|
-
pull: null,
|
|
34727
|
-
pulse: false,
|
|
34728
|
-
rotation: null,
|
|
34729
|
-
size: null,
|
|
34730
|
-
spin: false,
|
|
34731
|
-
spinPulse: false,
|
|
34732
|
-
spinReverse: false,
|
|
34733
|
-
beat: false,
|
|
34734
|
-
fade: false,
|
|
34735
|
-
beatFade: false,
|
|
34736
|
-
bounce: false,
|
|
34737
|
-
shake: false,
|
|
34738
|
-
symbol: false,
|
|
34739
|
-
title: "",
|
|
34740
|
-
titleId: null,
|
|
34741
|
-
transform: null,
|
|
34742
|
-
swapOpacity: false
|
|
34743
|
-
};
|
|
34744
|
-
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
34745
34420
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
34746
34421
|
return typeof value === "number" && value !== value;
|
|
34747
34422
|
};
|
|
@@ -37450,8 +37125,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37450
37125
|
return false;
|
|
37451
37126
|
}
|
|
37452
37127
|
function areEqual(prevProps, nextProps) {
|
|
37453
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
37454
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
37128
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$4(prevProps, ["style"]);
|
|
37129
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$4(nextProps, ["style"]);
|
|
37455
37130
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
37456
37131
|
}
|
|
37457
37132
|
const GlobalStyle = styled.createGlobalStyle`
|
|
@@ -43106,6 +42781,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43106
42781
|
}
|
|
43107
42782
|
const StyledInput$2 = core$2.injectCss(Input$3);
|
|
43108
42783
|
const StyledNumericInput = core$2.injectCss(NumericInput);
|
|
42784
|
+
function getNumericValue(value) {
|
|
42785
|
+
return value == null || Number.isNaN(Number(value)) ? null : Number(value);
|
|
42786
|
+
}
|
|
43109
42787
|
function Input(props) {
|
|
43110
42788
|
const formCtx2 = useFormContext(props);
|
|
43111
42789
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
@@ -43118,7 +42796,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43118
42796
|
function handleChange(val) {
|
|
43119
42797
|
let newValue = val;
|
|
43120
42798
|
if (props.type === "number") {
|
|
43121
|
-
newValue =
|
|
42799
|
+
newValue = getNumericValue(newValue);
|
|
43122
42800
|
}
|
|
43123
42801
|
setInternalValue(newValue);
|
|
43124
42802
|
debouncedSetValue(newValue);
|
|
@@ -43129,7 +42807,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43129
42807
|
debouncedAction.cancel();
|
|
43130
42808
|
debouncedSetValue.cancel();
|
|
43131
42809
|
debouncedUpdateForm.cancel();
|
|
43132
|
-
|
|
42810
|
+
let newValue = value;
|
|
42811
|
+
if (props.type === "number") {
|
|
42812
|
+
newValue = getNumericValue(newValue);
|
|
42813
|
+
}
|
|
42814
|
+
setInternalValue(newValue);
|
|
43133
42815
|
}, [value]);
|
|
43134
42816
|
if (props.type === "number") {
|
|
43135
42817
|
return /* @__PURE__ */ React__default.default.createElement(
|
|
@@ -61194,6 +60876,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
61194
60876
|
}
|
|
61195
60877
|
const StyledRadio = core$2.injectCss(RadioGroup$1);
|
|
61196
60878
|
function RadioGroup(props) {
|
|
60879
|
+
var _a3;
|
|
61197
60880
|
const formCtx2 = useFormContext(props);
|
|
61198
60881
|
const [items] = core$2.useVariable(props.items);
|
|
61199
60882
|
const [value, setValue] = core$2.useVariable(formCtx2.resolveInitialValue([]));
|
|
@@ -61217,7 +60900,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
61217
60900
|
items,
|
|
61218
60901
|
onChange: onChange2,
|
|
61219
60902
|
style: style2,
|
|
61220
|
-
value: items.find((item) => item.value === value)
|
|
60903
|
+
value: (_a3 = items.find((item) => item.value === value)) != null ? _a3 : null
|
|
61221
60904
|
}
|
|
61222
60905
|
);
|
|
61223
60906
|
}
|
|
@@ -283077,7 +282760,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
283077
282760
|
}
|
|
283078
282761
|
});
|
|
283079
282762
|
}
|
|
283080
|
-
const StyledPlotly = core$2.injectCss(
|
|
282763
|
+
const StyledPlotly = core$2.injectCss("div");
|
|
283081
282764
|
function Plotly(props) {
|
|
283082
282765
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
283083
282766
|
const [figure, setFigure] = React.useState(() => JSON.parse(props.figure));
|
|
@@ -283102,19 +282785,18 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
283102
282785
|
acc[eventHandlerName] = eventHandler;
|
|
283103
282786
|
return acc;
|
|
283104
282787
|
}, {});
|
|
283105
|
-
return /* @__PURE__ */ React__default.default.createElement(
|
|
283106
|
-
|
|
282788
|
+
return /* @__PURE__ */ React__default.default.createElement(StyledPlotly, { $rawCss: css2, style: { flex: "1 1 auto", minHeight: "350px", ...style2 } }, /* @__PURE__ */ React__default.default.createElement(AutoSizer, null, ({ height, width }) => /* @__PURE__ */ React__default.default.createElement(
|
|
282789
|
+
Plot,
|
|
283107
282790
|
{
|
|
283108
|
-
$rawCss: css2,
|
|
283109
282791
|
config: { responsive: true },
|
|
283110
282792
|
data: figure.data,
|
|
283111
282793
|
frames: figure.frames,
|
|
283112
282794
|
layout: figure.layout,
|
|
283113
282795
|
...eventHandlers,
|
|
283114
|
-
style: {
|
|
282796
|
+
style: { height, width },
|
|
283115
282797
|
useResizeHandler: true
|
|
283116
282798
|
}
|
|
283117
|
-
);
|
|
282799
|
+
)));
|
|
283118
282800
|
}
|
|
283119
282801
|
const StyledImg = core$2.injectCss("img");
|
|
283120
282802
|
function Matplotlib(props) {
|