@darajs/components 1.3.2 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/input/input.d.ts.map +1 -1
- package/dist/common/input/input.js +6 -1
- package/dist/common/input/input.js.map +1 -1
- package/dist/common/select/select.d.ts.map +1 -1
- package/dist/common/select/select.js +10 -3
- package/dist/common/select/select.js.map +1 -1
- package/dist/dara_components-1.4.1-py3-none-any.whl +0 -0
- package/dist/umd/dara.components.umd.js +752 -448
- package/package.json +4 -3
- package/dist/dara_components-1.3.2-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$a(obj) {
|
|
216
216
|
"@babel/helpers - typeof";
|
|
217
217
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
218
|
-
_typeof$
|
|
218
|
+
_typeof$a = function _typeof2(obj2) {
|
|
219
219
|
return typeof obj2;
|
|
220
220
|
};
|
|
221
221
|
} else {
|
|
222
|
-
_typeof$
|
|
222
|
+
_typeof$a = 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$a(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$a(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$3(o2);
|
|
320
320
|
}
|
|
321
|
-
function _defineProperty$
|
|
321
|
+
function _defineProperty$t(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$t(_assertThisInitialized$4(_this), "timeout", void 0);
|
|
337
|
+
_defineProperty$t(_assertThisInitialized$4(_this), "container", void 0);
|
|
338
|
+
_defineProperty$t(_assertThisInitialized$4(_this), "content", void 0);
|
|
339
|
+
_defineProperty$t(_assertThisInitialized$4(_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$t(_assertThisInitialized$4(_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$t(_assertThisInitialized$4(_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$t(_assertThisInitialized$4(_this), "onRefContainer", function(container) {
|
|
416
416
|
_this.container = container;
|
|
417
417
|
});
|
|
418
|
-
_defineProperty$
|
|
418
|
+
_defineProperty$t(_assertThisInitialized$4(_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$t(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$9(obj) {
|
|
499
499
|
"@babel/helpers - typeof";
|
|
500
500
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
501
|
-
_typeof$
|
|
501
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
502
502
|
return typeof obj2;
|
|
503
503
|
};
|
|
504
504
|
} else {
|
|
505
|
-
_typeof$
|
|
505
|
+
_typeof$9 = 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$9(obj);
|
|
510
510
|
}
|
|
511
511
|
Object.defineProperty(UnmountClosed$2, "__esModule", {
|
|
512
512
|
value: true
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
};
|
|
533
533
|
return _extends$3.apply(this, arguments);
|
|
534
534
|
}
|
|
535
|
-
function ownKeys$
|
|
535
|
+
function ownKeys$a(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$a(Object(source), true).forEach(function(key) {
|
|
553
|
+
_defineProperty$s(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$a(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$4(source, excluded) {
|
|
566
566
|
if (source == null)
|
|
567
567
|
return {};
|
|
568
|
-
var target = _objectWithoutPropertiesLoose$
|
|
568
|
+
var target = _objectWithoutPropertiesLoose$7(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$7(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$9(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$2(o2);
|
|
681
681
|
}
|
|
682
|
-
function _defineProperty$
|
|
682
|
+
function _defineProperty$s(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$s(_assertThisInitialized$3(_this), "onWork", function(_ref2) {
|
|
698
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$4(_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$s(_assertThisInitialized$3(_this), "onRest", function(_ref2) {
|
|
711
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$4(_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$s(_assertThisInitialized$3(_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$s(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$9(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$3(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$9(Object(source), true).forEach(function(key) {
|
|
939
|
+
_defineProperty$r(target, key, source[key]);
|
|
940
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(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$8(obj) {
|
|
947
947
|
"@babel/helpers - typeof";
|
|
948
|
-
return _typeof$
|
|
948
|
+
return _typeof$8 = "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$8(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$r(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$c(arr, i2) || _nonIterableRest$a();
|
|
994
994
|
}
|
|
995
|
-
function _toConsumableArray$
|
|
996
|
-
return _arrayWithoutHoles$
|
|
995
|
+
function _toConsumableArray$5(arr) {
|
|
996
|
+
return _arrayWithoutHoles$5(arr) || _iterableToArray$5(arr) || _unsupportedIterableToArray$c(arr) || _nonIterableSpread$5();
|
|
997
997
|
}
|
|
998
|
-
function _arrayWithoutHoles$
|
|
998
|
+
function _arrayWithoutHoles$5(arr) {
|
|
999
999
|
if (Array.isArray(arr))
|
|
1000
|
-
return _arrayLikeToArray$
|
|
1000
|
+
return _arrayLikeToArray$c(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$5(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$c(o2, minLen) {
|
|
1039
1039
|
if (!o2)
|
|
1040
1040
|
return;
|
|
1041
1041
|
if (typeof o2 === "string")
|
|
1042
|
-
return _arrayLikeToArray$
|
|
1042
|
+
return _arrayLikeToArray$c(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$c(o2, minLen);
|
|
1050
1050
|
}
|
|
1051
|
-
function _arrayLikeToArray$
|
|
1051
|
+
function _arrayLikeToArray$c(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$5() {
|
|
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$2 = 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$r(_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$r(_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$r(_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$r(_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$r(_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$r(_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$r(_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$r(_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$r(_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$r(_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$5(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$3(_objectSpread2$3({}, _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$3(_objectSpread2$3({}, 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$r(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$r(_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$r(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty$r(_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$r(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$r(_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$r(_famProps, FAMILY_CLASSIC, "".concat(config$1.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty$r(_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$3(_objectSpread2$3({}, _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$8(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$8(_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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3(_objectSpread2$3({}, 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$3({}, 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$3(_objectSpread2$3(_objectSpread2$3({}, 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$2 && !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$3(_objectSpread2$3({}, 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$3({
|
|
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$5(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$2) {
|
|
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$3(_objectSpread2$3({}, 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$3({
|
|
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$3(_objectSpread2$3({}, 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$5(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$5(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$3(_objectSpread2$3({}, 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$5(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$3(_objectSpread2$3({}, 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$3({}, operations.outer),
|
|
3158
3158
|
children: [{
|
|
3159
3159
|
tag: "g",
|
|
3160
|
-
attributes: _objectSpread2$
|
|
3160
|
+
attributes: _objectSpread2$3({}, operations.inner),
|
|
3161
3161
|
children: [{
|
|
3162
3162
|
tag: main2.icon.tag,
|
|
3163
3163
|
children: main2.icon.children,
|
|
3164
|
-
attributes: _objectSpread2$
|
|
3164
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3({}, trans.inner),
|
|
3230
|
+
children: [fillBlack(_objectSpread2$3({
|
|
3231
3231
|
tag: mainPath.tag,
|
|
3232
|
-
attributes: _objectSpread2$
|
|
3232
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, mainPath.attributes), trans.path)
|
|
3233
3233
|
}, maskInnerGroupChildrenMixin))]
|
|
3234
3234
|
};
|
|
3235
3235
|
var maskOuterGroup = {
|
|
3236
3236
|
tag: "g",
|
|
3237
|
-
attributes: _objectSpread2$
|
|
3237
|
+
attributes: _objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3({
|
|
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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, ANIMATION_BASE), {}, {
|
|
3299
3299
|
attributeName: "opacity"
|
|
3300
3300
|
});
|
|
3301
3301
|
var dot2 = {
|
|
3302
3302
|
tag: "circle",
|
|
3303
|
-
attributes: _objectSpread2$
|
|
3303
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$3(_objectSpread2$3({}, 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$8(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$2(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$8(Object(source), true).forEach(function(key) {
|
|
3457
|
+
_defineProperty$q(target, key, source[key]);
|
|
3458
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(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$7(obj) {
|
|
3465
3465
|
"@babel/helpers - typeof";
|
|
3466
|
-
return _typeof$
|
|
3466
|
+
return _typeof$7 = "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$7(obj);
|
|
3471
3471
|
}
|
|
3472
|
-
function _defineProperty$
|
|
3472
|
+
function _defineProperty$q(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$6(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$3(source, excluded) {
|
|
3500
3500
|
if (source == null)
|
|
3501
3501
|
return {};
|
|
3502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
3502
|
+
var target = _objectWithoutPropertiesLoose$6(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$4(arr) {
|
|
3518
|
+
return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$b(arr) || _nonIterableSpread$4();
|
|
3519
3519
|
}
|
|
3520
|
-
function _arrayWithoutHoles$
|
|
3520
|
+
function _arrayWithoutHoles$4(arr) {
|
|
3521
3521
|
if (Array.isArray(arr))
|
|
3522
|
-
return _arrayLikeToArray$
|
|
3522
|
+
return _arrayLikeToArray$b(arr);
|
|
3523
3523
|
}
|
|
3524
|
-
function _iterableToArray$
|
|
3524
|
+
function _iterableToArray$4(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$b(o2, minLen) {
|
|
3529
3529
|
if (!o2)
|
|
3530
3530
|
return;
|
|
3531
3531
|
if (typeof o2 === "string")
|
|
3532
|
-
return _arrayLikeToArray$
|
|
3532
|
+
return _arrayLikeToArray$b(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$b(o2, minLen);
|
|
3540
3540
|
}
|
|
3541
|
-
function _arrayLikeToArray$
|
|
3541
|
+
function _arrayLikeToArray$b(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$4() {
|
|
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$2(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$q(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$q(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$q(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$q(_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(obj) {
|
|
3579
|
+
function _isNumerical$1(obj) {
|
|
3580
3580
|
obj = obj - 0;
|
|
3581
3581
|
return obj === obj;
|
|
3582
3582
|
}
|
|
3583
|
-
function camelize(string2) {
|
|
3584
|
-
if (_isNumerical(string2)) {
|
|
3583
|
+
function camelize$1(string2) {
|
|
3584
|
+
if (_isNumerical$1(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$2(val) {
|
|
3594
3594
|
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
3595
3595
|
}
|
|
3596
|
-
function styleToObject$
|
|
3596
|
+
function styleToObject$2(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(pair2.slice(0, i2));
|
|
3603
|
+
var prop = camelize$1(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$2(prop)] = value : acc[prop] = value;
|
|
3606
3606
|
return acc;
|
|
3607
3607
|
}, {});
|
|
3608
3608
|
}
|
|
3609
|
-
function convert$
|
|
3609
|
+
function convert$2(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$2(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$2(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(key)] = val;
|
|
3631
|
+
acc.attrs[camelize$1(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$3(extraProps, _excluded$5);
|
|
3639
|
+
mixins.attrs["style"] = _objectSpread2$2(_objectSpread2$2({}, mixins.attrs["style"]), existingStyle);
|
|
3640
|
+
return createElement2.apply(void 0, [element2.tag, _objectSpread2$2(_objectSpread2$2({}, mixins.attrs), remaining)].concat(_toConsumableArray$4(children2)));
|
|
3641
3641
|
}
|
|
3642
|
-
var PRODUCTION = false;
|
|
3642
|
+
var PRODUCTION$1 = false;
|
|
3643
3643
|
try {
|
|
3644
|
-
PRODUCTION = true;
|
|
3644
|
+
PRODUCTION$1 = true;
|
|
3645
3645
|
} catch (e3) {
|
|
3646
3646
|
}
|
|
3647
|
-
function log() {
|
|
3648
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
3647
|
+
function log$1() {
|
|
3648
|
+
if (!PRODUCTION$1 && console && typeof console.error === "function") {
|
|
3649
3649
|
var _console;
|
|
3650
3650
|
(_console = console).error.apply(_console, arguments);
|
|
3651
3651
|
}
|
|
3652
3652
|
}
|
|
3653
|
-
function normalizeIconArgs(icon2) {
|
|
3654
|
-
if (icon2 && _typeof$
|
|
3653
|
+
function normalizeIconArgs$1(icon2) {
|
|
3654
|
+
if (icon2 && _typeof$7(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$7(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(key, value) {
|
|
3680
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$
|
|
3679
|
+
function objectWithKey$1(key, value) {
|
|
3680
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$q({}, key, value) : {};
|
|
3681
3681
|
}
|
|
3682
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
3682
|
+
var FontAwesomeIcon$1 = /* @__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(iconArgs);
|
|
3685
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray$
|
|
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$
|
|
3684
|
+
var iconLookup = normalizeIconArgs$1(iconArgs);
|
|
3685
|
+
var classes = objectWithKey$1("classes", [].concat(_toConsumableArray$4(classList$2(props)), _toConsumableArray$4(className.split(" "))));
|
|
3686
|
+
var transform = objectWithKey$1("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
3687
|
+
var mask = objectWithKey$1("mask", normalizeIconArgs$1(maskArgs));
|
|
3688
|
+
var renderedIcon = icon(iconLookup, _objectSpread2$2(_objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, classes), transform), mask), {}, {
|
|
3689
3689
|
symbol,
|
|
3690
3690
|
title,
|
|
3691
3691
|
titleId,
|
|
3692
3692
|
maskId
|
|
3693
3693
|
}));
|
|
3694
3694
|
if (!renderedIcon) {
|
|
3695
|
-
log("Could not find icon", iconLookup);
|
|
3695
|
+
log$1("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.defaultProps.hasOwnProperty(key)) {
|
|
3703
|
+
if (!FontAwesomeIcon$1.defaultProps.hasOwnProperty(key)) {
|
|
3704
3704
|
extraProps[key] = props[key];
|
|
3705
3705
|
}
|
|
3706
3706
|
});
|
|
3707
|
-
return convertCurry(abstract[0], extraProps);
|
|
3707
|
+
return convertCurry$1(abstract[0], extraProps);
|
|
3708
3708
|
});
|
|
3709
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
3710
|
-
FontAwesomeIcon.propTypes = {
|
|
3709
|
+
FontAwesomeIcon$1.displayName = "FontAwesomeIcon";
|
|
3710
|
+
FontAwesomeIcon$1.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.defaultProps = {
|
|
3739
|
+
FontAwesomeIcon$1.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 = convert$
|
|
3767
|
+
var convertCurry$1 = convert$2.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).withConfig({ shouldForwardProp: shouldForwardProp$4 })`
|
|
3889
|
+
const StyledFAIcon = styled__default.default(FontAwesomeIcon$1).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}; }` : ""}
|
|
@@ -5488,55 +5488,6 @@
|
|
|
5488
5488
|
var step2 = (stop - start2) / Math.max(0, count2), power = Math.floor(Math.log(step2) / Math.LN10), error2 = step2 / Math.pow(10, power);
|
|
5489
5489
|
return power >= 0 ? (error2 >= e10$1 ? 10 : error2 >= e5$1 ? 5 : error2 >= e2$1 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error2 >= e10$1 ? 10 : error2 >= e5$1 ? 5 : error2 >= e2$1 ? 2 : 1);
|
|
5490
5490
|
}
|
|
5491
|
-
function initRange(domain2, range2) {
|
|
5492
|
-
switch (arguments.length) {
|
|
5493
|
-
case 0:
|
|
5494
|
-
break;
|
|
5495
|
-
case 1:
|
|
5496
|
-
this.range(domain2);
|
|
5497
|
-
break;
|
|
5498
|
-
default:
|
|
5499
|
-
this.range(range2).domain(domain2);
|
|
5500
|
-
break;
|
|
5501
|
-
}
|
|
5502
|
-
return this;
|
|
5503
|
-
}
|
|
5504
|
-
const implicit = Symbol("implicit");
|
|
5505
|
-
function ordinal() {
|
|
5506
|
-
var index2 = /* @__PURE__ */ new Map(), domain2 = [], range2 = [], unknown2 = implicit;
|
|
5507
|
-
function scale(d2) {
|
|
5508
|
-
var key = d2 + "", i2 = index2.get(key);
|
|
5509
|
-
if (!i2) {
|
|
5510
|
-
if (unknown2 !== implicit)
|
|
5511
|
-
return unknown2;
|
|
5512
|
-
index2.set(key, i2 = domain2.push(d2));
|
|
5513
|
-
}
|
|
5514
|
-
return range2[(i2 - 1) % range2.length];
|
|
5515
|
-
}
|
|
5516
|
-
scale.domain = function(_2) {
|
|
5517
|
-
if (!arguments.length)
|
|
5518
|
-
return domain2.slice();
|
|
5519
|
-
domain2 = [], index2 = /* @__PURE__ */ new Map();
|
|
5520
|
-
for (const value of _2) {
|
|
5521
|
-
const key = value + "";
|
|
5522
|
-
if (index2.has(key))
|
|
5523
|
-
continue;
|
|
5524
|
-
index2.set(key, domain2.push(value));
|
|
5525
|
-
}
|
|
5526
|
-
return scale;
|
|
5527
|
-
};
|
|
5528
|
-
scale.range = function(_2) {
|
|
5529
|
-
return arguments.length ? (range2 = Array.from(_2), scale) : range2.slice();
|
|
5530
|
-
};
|
|
5531
|
-
scale.unknown = function(_2) {
|
|
5532
|
-
return arguments.length ? (unknown2 = _2, scale) : unknown2;
|
|
5533
|
-
};
|
|
5534
|
-
scale.copy = function() {
|
|
5535
|
-
return ordinal(domain2, range2).unknown(unknown2);
|
|
5536
|
-
};
|
|
5537
|
-
initRange.apply(scale, arguments);
|
|
5538
|
-
return scale;
|
|
5539
|
-
}
|
|
5540
5491
|
function useIntersectionObserver(ref, rootMargin = "0px", threshold = 1) {
|
|
5541
5492
|
const [isIntersecting, setIntersecting] = React.useState(false);
|
|
5542
5493
|
React.useEffect(() => {
|
|
@@ -5857,11 +5808,7 @@
|
|
|
5857
5808
|
return _getPrototypeOf$1(o2);
|
|
5858
5809
|
}
|
|
5859
5810
|
function _isNativeFunction(fn2) {
|
|
5860
|
-
|
|
5861
|
-
return Function.toString.call(fn2).indexOf("[native code]") !== -1;
|
|
5862
|
-
} catch (e3) {
|
|
5863
|
-
return typeof fn2 === "function";
|
|
5864
|
-
}
|
|
5811
|
+
return Function.toString.call(fn2).indexOf("[native code]") !== -1;
|
|
5865
5812
|
}
|
|
5866
5813
|
function _isNativeReflectConstruct$1() {
|
|
5867
5814
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
@@ -7202,7 +7149,7 @@
|
|
|
7202
7149
|
setPreviousFilter(filterValue);
|
|
7203
7150
|
}, children: "Apply" })] });
|
|
7204
7151
|
}
|
|
7205
|
-
function _objectWithoutPropertiesLoose$
|
|
7152
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
7206
7153
|
if (source == null)
|
|
7207
7154
|
return {};
|
|
7208
7155
|
var target = {};
|
|
@@ -7959,7 +7906,7 @@
|
|
|
7959
7906
|
return noop$5;
|
|
7960
7907
|
};
|
|
7961
7908
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
7962
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
7909
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$5(_ref2, _excluded$3);
|
|
7963
7910
|
React.useEffect(function() {
|
|
7964
7911
|
if (isInitialMount || false) {
|
|
7965
7912
|
return;
|
|
@@ -8499,7 +8446,7 @@
|
|
|
8499
8446
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
8500
8447
|
_ref2.onKeyDown;
|
|
8501
8448
|
_ref2.onBlur;
|
|
8502
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8449
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$5(_ref2, _excluded$2);
|
|
8503
8450
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8504
8451
|
_ref22.suppressRefError;
|
|
8505
8452
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -8515,7 +8462,7 @@
|
|
|
8515
8462
|
var _extends3;
|
|
8516
8463
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
8517
8464
|
_ref3.onPress;
|
|
8518
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
8465
|
+
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$5(_ref3, _excluded2$2);
|
|
8519
8466
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
8520
8467
|
_ref4.suppressRefError;
|
|
8521
8468
|
var latestState = latest.current.state;
|
|
@@ -8558,7 +8505,7 @@
|
|
|
8558
8505
|
var _extends4;
|
|
8559
8506
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
8560
8507
|
_ref5.onPress;
|
|
8561
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8508
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$5(_ref5, _excluded3$1);
|
|
8562
8509
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
8563
8510
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
8564
8511
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -8848,7 +8795,7 @@
|
|
|
8848
8795
|
}
|
|
8849
8796
|
return _extends$2({}, state, changes);
|
|
8850
8797
|
}
|
|
8851
|
-
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"];
|
|
8798
|
+
var _excluded$1$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"];
|
|
8852
8799
|
useCombobox.stateChangeTypes = stateChangeTypes$1$1;
|
|
8853
8800
|
function useCombobox(userProps) {
|
|
8854
8801
|
if (userProps === void 0) {
|
|
@@ -9020,7 +8967,7 @@
|
|
|
9020
8967
|
}, [elementIds]);
|
|
9021
8968
|
var getMenuProps = React.useCallback(function(_temp, _temp2) {
|
|
9022
8969
|
var _extends2;
|
|
9023
|
-
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$
|
|
8970
|
+
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$5(_ref2, _excluded$1$1);
|
|
9024
8971
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
9025
8972
|
_ref22.suppressRefError;
|
|
9026
8973
|
return _extends$2((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
@@ -9035,7 +8982,7 @@
|
|
|
9035
8982
|
var _extends3, _ref4;
|
|
9036
8983
|
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;
|
|
9037
8984
|
_ref3.onPress;
|
|
9038
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8985
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$5(_ref3, _excluded2$1);
|
|
9039
8986
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
9040
8987
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
9041
8988
|
var onSelectKey = "onClick";
|
|
@@ -9073,7 +9020,7 @@
|
|
|
9073
9020
|
var _extends4;
|
|
9074
9021
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
9075
9022
|
_ref5.onPress;
|
|
9076
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
9023
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$5(_ref5, _excluded3);
|
|
9077
9024
|
var latestState = latest.current.state;
|
|
9078
9025
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
9079
9026
|
dispatch2({
|
|
@@ -9090,7 +9037,7 @@
|
|
|
9090
9037
|
var _extends5;
|
|
9091
9038
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
9092
9039
|
_ref6.onChangeText;
|
|
9093
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
9040
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$5(_ref6, _excluded4);
|
|
9094
9041
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
9095
9042
|
_ref7.suppressRefError;
|
|
9096
9043
|
var latestState = latest.current.state;
|
|
@@ -9479,7 +9426,7 @@
|
|
|
9479
9426
|
}, [dispatch2, keyNavigationPrevious]);
|
|
9480
9427
|
var getSelectedItemProps = React.useCallback(function(_temp) {
|
|
9481
9428
|
var _extends2;
|
|
9482
|
-
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$
|
|
9429
|
+
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$5(_ref3, _excluded$4);
|
|
9483
9430
|
var latestState = latest.current.state;
|
|
9484
9431
|
var _getItemAndIndex = getItemAndIndex(selectedItemProp, indexProp, latestState.selectedItems, "Pass either item or index to getSelectedItemProps!"), index2 = _getItemAndIndex[1];
|
|
9485
9432
|
var isFocusable = index2 > -1 && index2 === latestState.activeIndex;
|
|
@@ -9503,7 +9450,7 @@
|
|
|
9503
9450
|
}, [dispatch2, latest, selectedItemKeyDownHandlers]);
|
|
9504
9451
|
var getDropdownProps = React.useCallback(function(_temp2, _temp3) {
|
|
9505
9452
|
var _extends3;
|
|
9506
|
-
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$
|
|
9453
|
+
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$5(_ref4, _excluded2);
|
|
9507
9454
|
var _ref5 = _temp3 === void 0 ? {} : _temp3;
|
|
9508
9455
|
_ref5.suppressRefError;
|
|
9509
9456
|
var dropdownHandleKeyDown = function dropdownHandleKeyDown2(event2) {
|
|
@@ -11056,7 +11003,7 @@
|
|
|
11056
11003
|
function getBasePlacement$2(placement) {
|
|
11057
11004
|
return placement.split("-")[0];
|
|
11058
11005
|
}
|
|
11059
|
-
var max$
|
|
11006
|
+
var max$3 = Math.max;
|
|
11060
11007
|
var min$3 = Math.min;
|
|
11061
11008
|
var round$2 = Math.round;
|
|
11062
11009
|
function getUAString() {
|
|
@@ -11193,7 +11140,7 @@
|
|
|
11193
11140
|
return ["top", "bottom"].indexOf(placement) >= 0 ? "x" : "y";
|
|
11194
11141
|
}
|
|
11195
11142
|
function within(min2, value, max2) {
|
|
11196
|
-
return max$
|
|
11143
|
+
return max$3(min2, min$3(value, max2));
|
|
11197
11144
|
}
|
|
11198
11145
|
function withinMaxClamp(min2, value, max2) {
|
|
11199
11146
|
var v2 = within(min2, value, max2);
|
|
@@ -11489,12 +11436,12 @@
|
|
|
11489
11436
|
var html2 = getDocumentElement(element2);
|
|
11490
11437
|
var winScroll = getWindowScroll(element2);
|
|
11491
11438
|
var body = (_element$ownerDocumen = element2.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
11492
|
-
var width = max$
|
|
11493
|
-
var height = max$
|
|
11439
|
+
var width = max$3(html2.scrollWidth, html2.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
11440
|
+
var height = max$3(html2.scrollHeight, html2.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
11494
11441
|
var x2 = -winScroll.scrollLeft + getWindowScrollBarX(element2);
|
|
11495
11442
|
var y2 = -winScroll.scrollTop;
|
|
11496
11443
|
if (getComputedStyle$1(body || html2).direction === "rtl") {
|
|
11497
|
-
x2 += max$
|
|
11444
|
+
x2 += max$3(html2.clientWidth, body ? body.clientWidth : 0) - width;
|
|
11498
11445
|
}
|
|
11499
11446
|
return {
|
|
11500
11447
|
width,
|
|
@@ -11568,10 +11515,10 @@
|
|
|
11568
11515
|
var firstClippingParent = clippingParents2[0];
|
|
11569
11516
|
var clippingRect = clippingParents2.reduce(function(accRect, clippingParent) {
|
|
11570
11517
|
var rect = getClientRectFromMixedType(element2, clippingParent, strategy);
|
|
11571
|
-
accRect.top = max$
|
|
11518
|
+
accRect.top = max$3(rect.top, accRect.top);
|
|
11572
11519
|
accRect.right = min$3(rect.right, accRect.right);
|
|
11573
11520
|
accRect.bottom = min$3(rect.bottom, accRect.bottom);
|
|
11574
|
-
accRect.left = max$
|
|
11521
|
+
accRect.left = max$3(rect.left, accRect.left);
|
|
11575
11522
|
return accRect;
|
|
11576
11523
|
}, getClientRectFromMixedType(element2, firstClippingParent, strategy));
|
|
11577
11524
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
@@ -11970,7 +11917,7 @@
|
|
|
11970
11917
|
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
11971
11918
|
var tetherMin = offset2 + minOffset - offsetModifierValue - clientOffset;
|
|
11972
11919
|
var tetherMax = offset2 + maxOffset2 - offsetModifierValue;
|
|
11973
|
-
var preventedOffset = within(tether ? min$3(min2, tetherMin) : min2, offset2, tether ? max$
|
|
11920
|
+
var preventedOffset = within(tether ? min$3(min2, tetherMin) : min2, offset2, tether ? max$3(max2, tetherMax) : max2);
|
|
11974
11921
|
popperOffsets2[mainAxis] = preventedOffset;
|
|
11975
11922
|
data2[mainAxis] = preventedOffset - offset2;
|
|
11976
11923
|
}
|
|
@@ -13267,7 +13214,7 @@
|
|
|
13267
13214
|
tippy$1.setDefaultProps({
|
|
13268
13215
|
animation: false
|
|
13269
13216
|
});
|
|
13270
|
-
function _objectWithoutPropertiesLoose$
|
|
13217
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
13271
13218
|
if (source == null)
|
|
13272
13219
|
return {};
|
|
13273
13220
|
var target = {};
|
|
@@ -13364,7 +13311,7 @@
|
|
|
13364
13311
|
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;
|
|
13365
13312
|
_ref2.__source;
|
|
13366
13313
|
_ref2.__self;
|
|
13367
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
13314
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$4(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
13368
13315
|
var isControlledMode = visible !== void 0;
|
|
13369
13316
|
var isSingletonMode = singleton !== void 0;
|
|
13370
13317
|
var _useState = React.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -13509,7 +13456,7 @@
|
|
|
13509
13456
|
}
|
|
13510
13457
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
13511
13458
|
return /* @__PURE__ */ React.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
13512
|
-
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
13459
|
+
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$4(_ref2, ["children"]);
|
|
13513
13460
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children2 ? /* @__PURE__ */ React.cloneElement(children2, {
|
|
13514
13461
|
ref: function ref(node2) {
|
|
13515
13462
|
preserveRef(_ref22, node2);
|
|
@@ -23717,13 +23664,13 @@
|
|
|
23717
23664
|
})();
|
|
23718
23665
|
})(classnames);
|
|
23719
23666
|
const r$2 = classnames.exports;
|
|
23720
|
-
function _typeof$
|
|
23667
|
+
function _typeof$6(o2) {
|
|
23721
23668
|
"@babel/helpers - typeof";
|
|
23722
|
-
return _typeof$
|
|
23669
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
23723
23670
|
return typeof o3;
|
|
23724
23671
|
} : function(o3) {
|
|
23725
23672
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
23726
|
-
}, _typeof$
|
|
23673
|
+
}, _typeof$6(o2);
|
|
23727
23674
|
}
|
|
23728
23675
|
function requiredArgs(required2, args) {
|
|
23729
23676
|
if (args.length < required2) {
|
|
@@ -23732,12 +23679,12 @@
|
|
|
23732
23679
|
}
|
|
23733
23680
|
function isDate$1(value) {
|
|
23734
23681
|
requiredArgs(1, arguments);
|
|
23735
|
-
return value instanceof Date || _typeof$
|
|
23682
|
+
return value instanceof Date || _typeof$6(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
23736
23683
|
}
|
|
23737
23684
|
function toDate(argument) {
|
|
23738
23685
|
requiredArgs(1, arguments);
|
|
23739
23686
|
var argStr = Object.prototype.toString.call(argument);
|
|
23740
|
-
if (argument instanceof Date || _typeof$
|
|
23687
|
+
if (argument instanceof Date || _typeof$6(argument) === "object" && argStr === "[object Date]") {
|
|
23741
23688
|
return new Date(argument.getTime());
|
|
23742
23689
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
23743
23690
|
return new Date(argument);
|
|
@@ -25437,7 +25384,7 @@
|
|
|
25437
25384
|
var datesArray;
|
|
25438
25385
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25439
25386
|
datesArray = dirtyDatesArray;
|
|
25440
|
-
} else if (_typeof$
|
|
25387
|
+
} else if (_typeof$6(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25441
25388
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25442
25389
|
} else {
|
|
25443
25390
|
return new Date(NaN);
|
|
@@ -25451,12 +25398,12 @@
|
|
|
25451
25398
|
});
|
|
25452
25399
|
return result || new Date(NaN);
|
|
25453
25400
|
}
|
|
25454
|
-
function max$
|
|
25401
|
+
function max$2(dirtyDatesArray) {
|
|
25455
25402
|
requiredArgs(1, arguments);
|
|
25456
25403
|
var datesArray;
|
|
25457
25404
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25458
25405
|
datesArray = dirtyDatesArray;
|
|
25459
|
-
} else if (_typeof$
|
|
25406
|
+
} else if (_typeof$6(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25460
25407
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25461
25408
|
} else {
|
|
25462
25409
|
return new Date(NaN);
|
|
@@ -25581,30 +25528,30 @@
|
|
|
25581
25528
|
}
|
|
25582
25529
|
return time >= startTime && time <= endTime;
|
|
25583
25530
|
}
|
|
25584
|
-
function _arrayLikeToArray$
|
|
25531
|
+
function _arrayLikeToArray$a(arr, len) {
|
|
25585
25532
|
if (len == null || len > arr.length)
|
|
25586
25533
|
len = arr.length;
|
|
25587
25534
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
25588
25535
|
arr2[i2] = arr[i2];
|
|
25589
25536
|
return arr2;
|
|
25590
25537
|
}
|
|
25591
|
-
function _unsupportedIterableToArray$
|
|
25538
|
+
function _unsupportedIterableToArray$a(o2, minLen) {
|
|
25592
25539
|
if (!o2)
|
|
25593
25540
|
return;
|
|
25594
25541
|
if (typeof o2 === "string")
|
|
25595
|
-
return _arrayLikeToArray$
|
|
25542
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
25596
25543
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
25597
25544
|
if (n2 === "Object" && o2.constructor)
|
|
25598
25545
|
n2 = o2.constructor.name;
|
|
25599
25546
|
if (n2 === "Map" || n2 === "Set")
|
|
25600
25547
|
return Array.from(o2);
|
|
25601
25548
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
25602
|
-
return _arrayLikeToArray$
|
|
25549
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
25603
25550
|
}
|
|
25604
25551
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
25605
25552
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
25606
25553
|
if (!it2) {
|
|
25607
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
25554
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$a(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
25608
25555
|
if (it2)
|
|
25609
25556
|
o2 = it2;
|
|
25610
25557
|
var i2 = 0;
|
|
@@ -25684,7 +25631,7 @@
|
|
|
25684
25631
|
_setPrototypeOf$2(subClass, superClass);
|
|
25685
25632
|
}
|
|
25686
25633
|
function _possibleConstructorReturn$1(self2, call2) {
|
|
25687
|
-
if (call2 && (_typeof$
|
|
25634
|
+
if (call2 && (_typeof$6(call2) === "object" || typeof call2 === "function")) {
|
|
25688
25635
|
return call2;
|
|
25689
25636
|
} else if (call2 !== void 0) {
|
|
25690
25637
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -25710,12 +25657,12 @@
|
|
|
25710
25657
|
}
|
|
25711
25658
|
}
|
|
25712
25659
|
function _toPrimitive(input, hint) {
|
|
25713
|
-
if (_typeof$
|
|
25660
|
+
if (_typeof$6(input) !== "object" || input === null)
|
|
25714
25661
|
return input;
|
|
25715
25662
|
var prim = input[Symbol.toPrimitive];
|
|
25716
25663
|
if (prim !== void 0) {
|
|
25717
25664
|
var res = prim.call(input, hint || "default");
|
|
25718
|
-
if (_typeof$
|
|
25665
|
+
if (_typeof$6(res) !== "object")
|
|
25719
25666
|
return res;
|
|
25720
25667
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25721
25668
|
}
|
|
@@ -25723,7 +25670,7 @@
|
|
|
25723
25670
|
}
|
|
25724
25671
|
function _toPropertyKey(arg) {
|
|
25725
25672
|
var key = _toPrimitive(arg, "string");
|
|
25726
|
-
return _typeof$
|
|
25673
|
+
return _typeof$6(key) === "symbol" ? key : String(key);
|
|
25727
25674
|
}
|
|
25728
25675
|
function _defineProperties$g(target, props) {
|
|
25729
25676
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -25745,7 +25692,7 @@
|
|
|
25745
25692
|
});
|
|
25746
25693
|
return Constructor;
|
|
25747
25694
|
}
|
|
25748
|
-
function _defineProperty$
|
|
25695
|
+
function _defineProperty$p(obj, key, value) {
|
|
25749
25696
|
key = _toPropertyKey(key);
|
|
25750
25697
|
if (key in obj) {
|
|
25751
25698
|
Object.defineProperty(obj, key, {
|
|
@@ -25763,8 +25710,8 @@
|
|
|
25763
25710
|
var Setter = /* @__PURE__ */ function() {
|
|
25764
25711
|
function Setter2() {
|
|
25765
25712
|
_classCallCheck$g(this, Setter2);
|
|
25766
|
-
_defineProperty$
|
|
25767
|
-
_defineProperty$
|
|
25713
|
+
_defineProperty$p(this, "priority", void 0);
|
|
25714
|
+
_defineProperty$p(this, "subPriority", 0);
|
|
25768
25715
|
}
|
|
25769
25716
|
_createClass$g(Setter2, [{
|
|
25770
25717
|
key: "validate",
|
|
@@ -25813,8 +25760,8 @@
|
|
|
25813
25760
|
args[_key] = arguments[_key];
|
|
25814
25761
|
}
|
|
25815
25762
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
25816
|
-
_defineProperty$
|
|
25817
|
-
_defineProperty$
|
|
25763
|
+
_defineProperty$p(_assertThisInitialized$2(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
25764
|
+
_defineProperty$p(_assertThisInitialized$2(_this2), "subPriority", -1);
|
|
25818
25765
|
return _this2;
|
|
25819
25766
|
}
|
|
25820
25767
|
_createClass$g(DateToSystemTimezoneSetter2, [{
|
|
@@ -25834,9 +25781,9 @@
|
|
|
25834
25781
|
var Parser$2 = /* @__PURE__ */ function() {
|
|
25835
25782
|
function Parser2() {
|
|
25836
25783
|
_classCallCheck$g(this, Parser2);
|
|
25837
|
-
_defineProperty$
|
|
25838
|
-
_defineProperty$
|
|
25839
|
-
_defineProperty$
|
|
25784
|
+
_defineProperty$p(this, "incompatibleTokens", void 0);
|
|
25785
|
+
_defineProperty$p(this, "priority", void 0);
|
|
25786
|
+
_defineProperty$p(this, "subPriority", void 0);
|
|
25840
25787
|
}
|
|
25841
25788
|
_createClass$g(Parser2, [{
|
|
25842
25789
|
key: "run",
|
|
@@ -25868,8 +25815,8 @@
|
|
|
25868
25815
|
args[_key] = arguments[_key];
|
|
25869
25816
|
}
|
|
25870
25817
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25871
|
-
_defineProperty$
|
|
25872
|
-
_defineProperty$
|
|
25818
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 140);
|
|
25819
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
25873
25820
|
return _this;
|
|
25874
25821
|
}
|
|
25875
25822
|
_createClass$g(EraParser2, [{
|
|
@@ -26055,8 +26002,8 @@
|
|
|
26055
26002
|
args[_key] = arguments[_key];
|
|
26056
26003
|
}
|
|
26057
26004
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26058
|
-
_defineProperty$
|
|
26059
|
-
_defineProperty$
|
|
26005
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 130);
|
|
26006
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26060
26007
|
return _this;
|
|
26061
26008
|
}
|
|
26062
26009
|
_createClass$g(YearParser2, [{
|
|
@@ -26112,8 +26059,8 @@
|
|
|
26112
26059
|
args[_key] = arguments[_key];
|
|
26113
26060
|
}
|
|
26114
26061
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26115
|
-
_defineProperty$
|
|
26116
|
-
_defineProperty$
|
|
26062
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 130);
|
|
26063
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26117
26064
|
return _this;
|
|
26118
26065
|
}
|
|
26119
26066
|
_createClass$g(LocalWeekYearParser2, [{
|
|
@@ -26169,8 +26116,8 @@
|
|
|
26169
26116
|
args[_key] = arguments[_key];
|
|
26170
26117
|
}
|
|
26171
26118
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26172
|
-
_defineProperty$
|
|
26173
|
-
_defineProperty$
|
|
26119
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 130);
|
|
26120
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26174
26121
|
return _this;
|
|
26175
26122
|
}
|
|
26176
26123
|
_createClass$g(ISOWeekYearParser2, [{
|
|
@@ -26202,8 +26149,8 @@
|
|
|
26202
26149
|
args[_key] = arguments[_key];
|
|
26203
26150
|
}
|
|
26204
26151
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26205
|
-
_defineProperty$
|
|
26206
|
-
_defineProperty$
|
|
26152
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 130);
|
|
26153
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26207
26154
|
return _this;
|
|
26208
26155
|
}
|
|
26209
26156
|
_createClass$g(ExtendedYearParser2, [{
|
|
@@ -26234,8 +26181,8 @@
|
|
|
26234
26181
|
args[_key] = arguments[_key];
|
|
26235
26182
|
}
|
|
26236
26183
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26237
|
-
_defineProperty$
|
|
26238
|
-
_defineProperty$
|
|
26184
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 120);
|
|
26185
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26239
26186
|
return _this;
|
|
26240
26187
|
}
|
|
26241
26188
|
_createClass$g(QuarterParser2, [{
|
|
@@ -26301,8 +26248,8 @@
|
|
|
26301
26248
|
args[_key] = arguments[_key];
|
|
26302
26249
|
}
|
|
26303
26250
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26304
|
-
_defineProperty$
|
|
26305
|
-
_defineProperty$
|
|
26251
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 120);
|
|
26252
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26306
26253
|
return _this;
|
|
26307
26254
|
}
|
|
26308
26255
|
_createClass$g(StandAloneQuarterParser2, [{
|
|
@@ -26368,8 +26315,8 @@
|
|
|
26368
26315
|
args[_key] = arguments[_key];
|
|
26369
26316
|
}
|
|
26370
26317
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26371
|
-
_defineProperty$
|
|
26372
|
-
_defineProperty$
|
|
26318
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26319
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 110);
|
|
26373
26320
|
return _this;
|
|
26374
26321
|
}
|
|
26375
26322
|
_createClass$g(MonthParser2, [{
|
|
@@ -26439,8 +26386,8 @@
|
|
|
26439
26386
|
args[_key] = arguments[_key];
|
|
26440
26387
|
}
|
|
26441
26388
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26442
|
-
_defineProperty$
|
|
26443
|
-
_defineProperty$
|
|
26389
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 110);
|
|
26390
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26444
26391
|
return _this;
|
|
26445
26392
|
}
|
|
26446
26393
|
_createClass$g(StandAloneMonthParser2, [{
|
|
@@ -26518,8 +26465,8 @@
|
|
|
26518
26465
|
args[_key] = arguments[_key];
|
|
26519
26466
|
}
|
|
26520
26467
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26521
|
-
_defineProperty$
|
|
26522
|
-
_defineProperty$
|
|
26468
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 100);
|
|
26469
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26523
26470
|
return _this;
|
|
26524
26471
|
}
|
|
26525
26472
|
_createClass$g(LocalWeekParser2, [{
|
|
@@ -26567,8 +26514,8 @@
|
|
|
26567
26514
|
args[_key] = arguments[_key];
|
|
26568
26515
|
}
|
|
26569
26516
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26570
|
-
_defineProperty$
|
|
26571
|
-
_defineProperty$
|
|
26517
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 100);
|
|
26518
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26572
26519
|
return _this;
|
|
26573
26520
|
}
|
|
26574
26521
|
_createClass$g(ISOWeekParser2, [{
|
|
@@ -26610,9 +26557,9 @@
|
|
|
26610
26557
|
args[_key] = arguments[_key];
|
|
26611
26558
|
}
|
|
26612
26559
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26613
|
-
_defineProperty$
|
|
26614
|
-
_defineProperty$
|
|
26615
|
-
_defineProperty$
|
|
26560
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 90);
|
|
26561
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "subPriority", 1);
|
|
26562
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26616
26563
|
return _this;
|
|
26617
26564
|
}
|
|
26618
26565
|
_createClass$g(DateParser2, [{
|
|
@@ -26661,9 +26608,9 @@
|
|
|
26661
26608
|
args[_key] = arguments[_key];
|
|
26662
26609
|
}
|
|
26663
26610
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26664
|
-
_defineProperty$
|
|
26665
|
-
_defineProperty$
|
|
26666
|
-
_defineProperty$
|
|
26611
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 90);
|
|
26612
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "subpriority", 1);
|
|
26613
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
26667
26614
|
return _this;
|
|
26668
26615
|
}
|
|
26669
26616
|
_createClass$g(DayOfYearParser2, [{
|
|
@@ -26729,8 +26676,8 @@
|
|
|
26729
26676
|
args[_key] = arguments[_key];
|
|
26730
26677
|
}
|
|
26731
26678
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26732
|
-
_defineProperty$
|
|
26733
|
-
_defineProperty$
|
|
26679
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 90);
|
|
26680
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
26734
26681
|
return _this;
|
|
26735
26682
|
}
|
|
26736
26683
|
_createClass$g(DayParser2, [{
|
|
@@ -26805,8 +26752,8 @@
|
|
|
26805
26752
|
args[_key] = arguments[_key];
|
|
26806
26753
|
}
|
|
26807
26754
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26808
|
-
_defineProperty$
|
|
26809
|
-
_defineProperty$
|
|
26755
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 90);
|
|
26756
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
26810
26757
|
return _this;
|
|
26811
26758
|
}
|
|
26812
26759
|
_createClass$g(LocalDayParser2, [{
|
|
@@ -26890,8 +26837,8 @@
|
|
|
26890
26837
|
args[_key] = arguments[_key];
|
|
26891
26838
|
}
|
|
26892
26839
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26893
|
-
_defineProperty$
|
|
26894
|
-
_defineProperty$
|
|
26840
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 90);
|
|
26841
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
26895
26842
|
return _this;
|
|
26896
26843
|
}
|
|
26897
26844
|
_createClass$g(StandAloneLocalDayParser2, [{
|
|
@@ -26990,8 +26937,8 @@
|
|
|
26990
26937
|
args[_key] = arguments[_key];
|
|
26991
26938
|
}
|
|
26992
26939
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26993
|
-
_defineProperty$
|
|
26994
|
-
_defineProperty$
|
|
26940
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 90);
|
|
26941
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
26995
26942
|
return _this;
|
|
26996
26943
|
}
|
|
26997
26944
|
_createClass$g(ISODayParser2, [{
|
|
@@ -27077,8 +27024,8 @@
|
|
|
27077
27024
|
args[_key] = arguments[_key];
|
|
27078
27025
|
}
|
|
27079
27026
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27080
|
-
_defineProperty$
|
|
27081
|
-
_defineProperty$
|
|
27027
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 80);
|
|
27028
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
27082
27029
|
return _this;
|
|
27083
27030
|
}
|
|
27084
27031
|
_createClass$g(AMPMParser2, [{
|
|
@@ -27133,8 +27080,8 @@
|
|
|
27133
27080
|
args[_key] = arguments[_key];
|
|
27134
27081
|
}
|
|
27135
27082
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27136
|
-
_defineProperty$
|
|
27137
|
-
_defineProperty$
|
|
27083
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 80);
|
|
27084
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
27138
27085
|
return _this;
|
|
27139
27086
|
}
|
|
27140
27087
|
_createClass$g(AMPMMidnightParser2, [{
|
|
@@ -27189,8 +27136,8 @@
|
|
|
27189
27136
|
args[_key] = arguments[_key];
|
|
27190
27137
|
}
|
|
27191
27138
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27192
|
-
_defineProperty$
|
|
27193
|
-
_defineProperty$
|
|
27139
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 80);
|
|
27140
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
27194
27141
|
return _this;
|
|
27195
27142
|
}
|
|
27196
27143
|
_createClass$g(DayPeriodParser2, [{
|
|
@@ -27245,8 +27192,8 @@
|
|
|
27245
27192
|
args[_key] = arguments[_key];
|
|
27246
27193
|
}
|
|
27247
27194
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27248
|
-
_defineProperty$
|
|
27249
|
-
_defineProperty$
|
|
27195
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 70);
|
|
27196
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
27250
27197
|
return _this;
|
|
27251
27198
|
}
|
|
27252
27199
|
_createClass$g(Hour1to12Parser2, [{
|
|
@@ -27294,8 +27241,8 @@
|
|
|
27294
27241
|
args[_key] = arguments[_key];
|
|
27295
27242
|
}
|
|
27296
27243
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27297
|
-
_defineProperty$
|
|
27298
|
-
_defineProperty$
|
|
27244
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 70);
|
|
27245
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
27299
27246
|
return _this;
|
|
27300
27247
|
}
|
|
27301
27248
|
_createClass$g(Hour0to23Parser2, [{
|
|
@@ -27336,8 +27283,8 @@
|
|
|
27336
27283
|
args[_key] = arguments[_key];
|
|
27337
27284
|
}
|
|
27338
27285
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27339
|
-
_defineProperty$
|
|
27340
|
-
_defineProperty$
|
|
27286
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 70);
|
|
27287
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
27341
27288
|
return _this;
|
|
27342
27289
|
}
|
|
27343
27290
|
_createClass$g(Hour0To11Parser2, [{
|
|
@@ -27383,8 +27330,8 @@
|
|
|
27383
27330
|
args[_key] = arguments[_key];
|
|
27384
27331
|
}
|
|
27385
27332
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27386
|
-
_defineProperty$
|
|
27387
|
-
_defineProperty$
|
|
27333
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 70);
|
|
27334
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
27388
27335
|
return _this;
|
|
27389
27336
|
}
|
|
27390
27337
|
_createClass$g(Hour1To24Parser2, [{
|
|
@@ -27426,8 +27373,8 @@
|
|
|
27426
27373
|
args[_key] = arguments[_key];
|
|
27427
27374
|
}
|
|
27428
27375
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27429
|
-
_defineProperty$
|
|
27430
|
-
_defineProperty$
|
|
27376
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 60);
|
|
27377
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27431
27378
|
return _this;
|
|
27432
27379
|
}
|
|
27433
27380
|
_createClass$g(MinuteParser2, [{
|
|
@@ -27468,8 +27415,8 @@
|
|
|
27468
27415
|
args[_key] = arguments[_key];
|
|
27469
27416
|
}
|
|
27470
27417
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27471
|
-
_defineProperty$
|
|
27472
|
-
_defineProperty$
|
|
27418
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 50);
|
|
27419
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27473
27420
|
return _this;
|
|
27474
27421
|
}
|
|
27475
27422
|
_createClass$g(SecondParser2, [{
|
|
@@ -27510,8 +27457,8 @@
|
|
|
27510
27457
|
args[_key] = arguments[_key];
|
|
27511
27458
|
}
|
|
27512
27459
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27513
|
-
_defineProperty$
|
|
27514
|
-
_defineProperty$
|
|
27460
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 30);
|
|
27461
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27515
27462
|
return _this;
|
|
27516
27463
|
}
|
|
27517
27464
|
_createClass$g(FractionOfSecondParser2, [{
|
|
@@ -27541,8 +27488,8 @@
|
|
|
27541
27488
|
args[_key] = arguments[_key];
|
|
27542
27489
|
}
|
|
27543
27490
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27544
|
-
_defineProperty$
|
|
27545
|
-
_defineProperty$
|
|
27491
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 10);
|
|
27492
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
27546
27493
|
return _this;
|
|
27547
27494
|
}
|
|
27548
27495
|
_createClass$g(ISOTimezoneWithZParser2, [{
|
|
@@ -27583,8 +27530,8 @@
|
|
|
27583
27530
|
args[_key] = arguments[_key];
|
|
27584
27531
|
}
|
|
27585
27532
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27586
|
-
_defineProperty$
|
|
27587
|
-
_defineProperty$
|
|
27533
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 10);
|
|
27534
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
27588
27535
|
return _this;
|
|
27589
27536
|
}
|
|
27590
27537
|
_createClass$g(ISOTimezoneParser2, [{
|
|
@@ -27625,8 +27572,8 @@
|
|
|
27625
27572
|
args[_key] = arguments[_key];
|
|
27626
27573
|
}
|
|
27627
27574
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27628
|
-
_defineProperty$
|
|
27629
|
-
_defineProperty$
|
|
27575
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 40);
|
|
27576
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
|
|
27630
27577
|
return _this;
|
|
27631
27578
|
}
|
|
27632
27579
|
_createClass$g(TimestampSecondsParser2, [{
|
|
@@ -27654,8 +27601,8 @@
|
|
|
27654
27601
|
args[_key] = arguments[_key];
|
|
27655
27602
|
}
|
|
27656
27603
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27657
|
-
_defineProperty$
|
|
27658
|
-
_defineProperty$
|
|
27604
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "priority", 20);
|
|
27605
|
+
_defineProperty$p(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
|
|
27659
27606
|
return _this;
|
|
27660
27607
|
}
|
|
27661
27608
|
_createClass$g(TimestampMillisecondsParser2, [{
|
|
@@ -27808,7 +27755,7 @@
|
|
|
27808
27755
|
};
|
|
27809
27756
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
27810
27757
|
var _ret = _loop();
|
|
27811
|
-
if (_typeof$
|
|
27758
|
+
if (_typeof$6(_ret) === "object")
|
|
27812
27759
|
return _ret.v;
|
|
27813
27760
|
}
|
|
27814
27761
|
} catch (err) {
|
|
@@ -28058,7 +28005,7 @@
|
|
|
28058
28005
|
};
|
|
28059
28006
|
return _setPrototypeOf$1(o2, p2);
|
|
28060
28007
|
}
|
|
28061
|
-
function _objectWithoutPropertiesLoose$
|
|
28008
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
28062
28009
|
if (source == null)
|
|
28063
28010
|
return {};
|
|
28064
28011
|
var target = {};
|
|
@@ -28260,7 +28207,7 @@
|
|
|
28260
28207
|
_proto.render = function render2() {
|
|
28261
28208
|
var _this$props = this.props;
|
|
28262
28209
|
_this$props.excludeScrollbar;
|
|
28263
|
-
var props = _objectWithoutPropertiesLoose$
|
|
28210
|
+
var props = _objectWithoutPropertiesLoose$3(_this$props, ["excludeScrollbar"]);
|
|
28264
28211
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
28265
28212
|
props.ref = this.getRef;
|
|
28266
28213
|
} else {
|
|
@@ -28875,9 +28822,9 @@
|
|
|
28875
28822
|
var n2 = r2.filter(function(e4) {
|
|
28876
28823
|
return differenceInCalendarDays(e4, t2) <= 0;
|
|
28877
28824
|
});
|
|
28878
|
-
return max$
|
|
28825
|
+
return max$2(n2);
|
|
28879
28826
|
}
|
|
28880
|
-
return r2 ? max$
|
|
28827
|
+
return r2 ? max$2(r2) : t2;
|
|
28881
28828
|
}
|
|
28882
28829
|
function mt() {
|
|
28883
28830
|
for (var e3 = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], t2 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "react-datepicker__day--highlighted", r2 = /* @__PURE__ */ new Map(), o2 = 0, a2 = e3.length; o2 < a2; o2++) {
|
|
@@ -31110,17 +31057,17 @@
|
|
|
31110
31057
|
});
|
|
31111
31058
|
};
|
|
31112
31059
|
}
|
|
31113
|
-
function _toConsumableArray$
|
|
31114
|
-
return _arrayWithoutHoles$
|
|
31060
|
+
function _toConsumableArray$3(arr) {
|
|
31061
|
+
return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _nonIterableSpread$3();
|
|
31115
31062
|
}
|
|
31116
|
-
function _nonIterableSpread$
|
|
31063
|
+
function _nonIterableSpread$3() {
|
|
31117
31064
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
31118
31065
|
}
|
|
31119
|
-
function _iterableToArray$
|
|
31066
|
+
function _iterableToArray$3(iter2) {
|
|
31120
31067
|
if (Symbol.iterator in Object(iter2) || Object.prototype.toString.call(iter2) === "[object Arguments]")
|
|
31121
31068
|
return Array.from(iter2);
|
|
31122
31069
|
}
|
|
31123
|
-
function _arrayWithoutHoles$
|
|
31070
|
+
function _arrayWithoutHoles$3(arr) {
|
|
31124
31071
|
if (Array.isArray(arr)) {
|
|
31125
31072
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
31126
31073
|
arr2[i2] = arr[i2];
|
|
@@ -31166,7 +31113,7 @@
|
|
|
31166
31113
|
if (Array.isArray(arr))
|
|
31167
31114
|
return arr;
|
|
31168
31115
|
}
|
|
31169
|
-
function ownKeys$
|
|
31116
|
+
function ownKeys$7(object2, enumerableOnly) {
|
|
31170
31117
|
var keys2 = Object.keys(object2);
|
|
31171
31118
|
if (Object.getOwnPropertySymbols) {
|
|
31172
31119
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -31182,20 +31129,20 @@
|
|
|
31182
31129
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
31183
31130
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
31184
31131
|
if (i2 % 2) {
|
|
31185
|
-
ownKeys$
|
|
31186
|
-
_defineProperty$
|
|
31132
|
+
ownKeys$7(source, true).forEach(function(key) {
|
|
31133
|
+
_defineProperty$o(target, key, source[key]);
|
|
31187
31134
|
});
|
|
31188
31135
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
31189
31136
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
31190
31137
|
} else {
|
|
31191
|
-
ownKeys$
|
|
31138
|
+
ownKeys$7(source).forEach(function(key) {
|
|
31192
31139
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
31193
31140
|
});
|
|
31194
31141
|
}
|
|
31195
31142
|
}
|
|
31196
31143
|
return target;
|
|
31197
31144
|
}
|
|
31198
|
-
function _defineProperty$
|
|
31145
|
+
function _defineProperty$o(obj, key, value) {
|
|
31199
31146
|
if (key in obj) {
|
|
31200
31147
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
31201
31148
|
} else {
|
|
@@ -31203,10 +31150,10 @@
|
|
|
31203
31150
|
}
|
|
31204
31151
|
return obj;
|
|
31205
31152
|
}
|
|
31206
|
-
function _objectWithoutProperties$
|
|
31153
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
31207
31154
|
if (source == null)
|
|
31208
31155
|
return {};
|
|
31209
|
-
var target = _objectWithoutPropertiesLoose$
|
|
31156
|
+
var target = _objectWithoutPropertiesLoose$2(source, excluded);
|
|
31210
31157
|
var key, i2;
|
|
31211
31158
|
if (Object.getOwnPropertySymbols) {
|
|
31212
31159
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -31221,7 +31168,7 @@
|
|
|
31221
31168
|
}
|
|
31222
31169
|
return target;
|
|
31223
31170
|
}
|
|
31224
|
-
function _objectWithoutPropertiesLoose$
|
|
31171
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
31225
31172
|
if (source == null)
|
|
31226
31173
|
return {};
|
|
31227
31174
|
var target = {};
|
|
@@ -31236,8 +31183,8 @@
|
|
|
31236
31183
|
return target;
|
|
31237
31184
|
}
|
|
31238
31185
|
var Dropzone$1 = React.forwardRef(function(_ref2, ref) {
|
|
31239
|
-
var children2 = _ref2.children, params = _objectWithoutProperties$
|
|
31240
|
-
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$
|
|
31186
|
+
var children2 = _ref2.children, params = _objectWithoutProperties$2(_ref2, ["children"]);
|
|
31187
|
+
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$2(_useDropzone, ["open"]);
|
|
31241
31188
|
React.useImperativeHandle(ref, function() {
|
|
31242
31189
|
return {
|
|
31243
31190
|
open
|
|
@@ -31370,7 +31317,7 @@
|
|
|
31370
31317
|
event2.preventDefault();
|
|
31371
31318
|
event2.persist();
|
|
31372
31319
|
stopPropagation(event2);
|
|
31373
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
31320
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$3(dragTargetsRef.current), [event2.target]);
|
|
31374
31321
|
if (isEvtWithFiles(event2)) {
|
|
31375
31322
|
Promise.resolve(getFilesFromEvent(event2)).then(function(draggedFiles2) {
|
|
31376
31323
|
if (isPropagationStopped(event2) && !noDragEventsBubbling) {
|
|
@@ -31498,8 +31445,8 @@
|
|
|
31498
31445
|
};
|
|
31499
31446
|
var getRootProps = React.useMemo(function() {
|
|
31500
31447
|
return function() {
|
|
31501
|
-
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$
|
|
31502
|
-
return _objectSpread$5(_defineProperty$
|
|
31448
|
+
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$2(_ref3, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"]);
|
|
31449
|
+
return _objectSpread$5(_defineProperty$o({
|
|
31503
31450
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
31504
31451
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
31505
31452
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -31518,8 +31465,8 @@
|
|
|
31518
31465
|
}, []);
|
|
31519
31466
|
var getInputProps = React.useMemo(function() {
|
|
31520
31467
|
return function() {
|
|
31521
|
-
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$
|
|
31522
|
-
var inputProps = _defineProperty$
|
|
31468
|
+
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$2(_ref4, ["refKey", "onChange", "onClick"]);
|
|
31469
|
+
var inputProps = _defineProperty$o({
|
|
31523
31470
|
accept,
|
|
31524
31471
|
multiple,
|
|
31525
31472
|
type: "file",
|
|
@@ -33137,7 +33084,7 @@
|
|
|
33137
33084
|
_defineProperties$f(Constructor, staticProps);
|
|
33138
33085
|
return Constructor;
|
|
33139
33086
|
}
|
|
33140
|
-
function _defineProperty$
|
|
33087
|
+
function _defineProperty$n(obj, key, value) {
|
|
33141
33088
|
if (key in obj) {
|
|
33142
33089
|
Object.defineProperty(obj, key, {
|
|
33143
33090
|
value,
|
|
@@ -33150,7 +33097,7 @@
|
|
|
33150
33097
|
}
|
|
33151
33098
|
return obj;
|
|
33152
33099
|
}
|
|
33153
|
-
function ownKeys$
|
|
33100
|
+
function ownKeys$6(object2, enumerableOnly) {
|
|
33154
33101
|
var keys2 = Object.keys(object2);
|
|
33155
33102
|
if (Object.getOwnPropertySymbols) {
|
|
33156
33103
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -33162,17 +33109,17 @@
|
|
|
33162
33109
|
}
|
|
33163
33110
|
return keys2;
|
|
33164
33111
|
}
|
|
33165
|
-
function _objectSpread2(target) {
|
|
33112
|
+
function _objectSpread2$1(target) {
|
|
33166
33113
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
33167
33114
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
33168
33115
|
if (i2 % 2) {
|
|
33169
|
-
ownKeys$
|
|
33170
|
-
_defineProperty$
|
|
33116
|
+
ownKeys$6(Object(source), true).forEach(function(key) {
|
|
33117
|
+
_defineProperty$n(target, key, source[key]);
|
|
33171
33118
|
});
|
|
33172
33119
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
33173
33120
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
33174
33121
|
} else {
|
|
33175
|
-
ownKeys$
|
|
33122
|
+
ownKeys$6(Object(source)).forEach(function(key) {
|
|
33176
33123
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
33177
33124
|
});
|
|
33178
33125
|
}
|
|
@@ -33247,20 +33194,20 @@
|
|
|
33247
33194
|
};
|
|
33248
33195
|
}
|
|
33249
33196
|
function _slicedToArray$7(arr, i2) {
|
|
33250
|
-
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$
|
|
33197
|
+
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$9(arr, i2) || _nonIterableRest$7();
|
|
33251
33198
|
}
|
|
33252
|
-
function _toConsumableArray$
|
|
33253
|
-
return _arrayWithoutHoles$
|
|
33199
|
+
function _toConsumableArray$2(arr) {
|
|
33200
|
+
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _unsupportedIterableToArray$9(arr) || _nonIterableSpread$2();
|
|
33254
33201
|
}
|
|
33255
|
-
function _arrayWithoutHoles$
|
|
33202
|
+
function _arrayWithoutHoles$2(arr) {
|
|
33256
33203
|
if (Array.isArray(arr))
|
|
33257
|
-
return _arrayLikeToArray$
|
|
33204
|
+
return _arrayLikeToArray$9(arr);
|
|
33258
33205
|
}
|
|
33259
33206
|
function _arrayWithHoles$7(arr) {
|
|
33260
33207
|
if (Array.isArray(arr))
|
|
33261
33208
|
return arr;
|
|
33262
33209
|
}
|
|
33263
|
-
function _iterableToArray$
|
|
33210
|
+
function _iterableToArray$2(iter2) {
|
|
33264
33211
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter2))
|
|
33265
33212
|
return Array.from(iter2);
|
|
33266
33213
|
}
|
|
@@ -33291,27 +33238,27 @@
|
|
|
33291
33238
|
}
|
|
33292
33239
|
return _arr;
|
|
33293
33240
|
}
|
|
33294
|
-
function _unsupportedIterableToArray$
|
|
33241
|
+
function _unsupportedIterableToArray$9(o2, minLen) {
|
|
33295
33242
|
if (!o2)
|
|
33296
33243
|
return;
|
|
33297
33244
|
if (typeof o2 === "string")
|
|
33298
|
-
return _arrayLikeToArray$
|
|
33245
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
33299
33246
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
33300
33247
|
if (n2 === "Object" && o2.constructor)
|
|
33301
33248
|
n2 = o2.constructor.name;
|
|
33302
33249
|
if (n2 === "Map" || n2 === "Set")
|
|
33303
33250
|
return Array.from(o2);
|
|
33304
33251
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
33305
|
-
return _arrayLikeToArray$
|
|
33252
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
33306
33253
|
}
|
|
33307
|
-
function _arrayLikeToArray$
|
|
33254
|
+
function _arrayLikeToArray$9(arr, len) {
|
|
33308
33255
|
if (len == null || len > arr.length)
|
|
33309
33256
|
len = arr.length;
|
|
33310
33257
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
33311
33258
|
arr2[i2] = arr[i2];
|
|
33312
33259
|
return arr2;
|
|
33313
33260
|
}
|
|
33314
|
-
function _nonIterableSpread$
|
|
33261
|
+
function _nonIterableSpread$2() {
|
|
33315
33262
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33316
33263
|
}
|
|
33317
33264
|
function _nonIterableRest$7() {
|
|
@@ -33339,10 +33286,10 @@
|
|
|
33339
33286
|
if (val === updateValue) {
|
|
33340
33287
|
return handles;
|
|
33341
33288
|
}
|
|
33342
|
-
return [].concat(_toConsumableArray$
|
|
33289
|
+
return [].concat(_toConsumableArray$2(handles.slice(0, index2)), [{
|
|
33343
33290
|
key,
|
|
33344
33291
|
val: updateValue
|
|
33345
|
-
}], _toConsumableArray$
|
|
33292
|
+
}], _toConsumableArray$2(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
33346
33293
|
}
|
|
33347
33294
|
return handles;
|
|
33348
33295
|
}
|
|
@@ -33480,7 +33427,7 @@
|
|
|
33480
33427
|
_this.getRailProps = function() {
|
|
33481
33428
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
33482
33429
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33483
|
-
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33430
|
+
return _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
|
33484
33431
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33485
33432
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33486
33433
|
});
|
|
@@ -33519,7 +33466,7 @@
|
|
|
33519
33466
|
_this.getHandleProps = function(id2) {
|
|
33520
33467
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
33521
33468
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33522
|
-
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33469
|
+
return _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
|
33523
33470
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
33524
33471
|
return emitKeyboard && emitKeyboard(e3, id2);
|
|
33525
33472
|
}),
|
|
@@ -33682,7 +33629,7 @@
|
|
|
33682
33629
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
33683
33630
|
_this.getTrackProps = function(props) {
|
|
33684
33631
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33685
|
-
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
33632
|
+
return _objectSpread2$1(_objectSpread2$1({}, props || {}), {}, {
|
|
33686
33633
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33687
33634
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33688
33635
|
});
|
|
@@ -34085,11 +34032,11 @@
|
|
|
34085
34032
|
return child;
|
|
34086
34033
|
}
|
|
34087
34034
|
});
|
|
34088
|
-
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34035
|
+
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2$1(_objectSpread2$1({}, rootProps), {}, {
|
|
34089
34036
|
style: rootStyle,
|
|
34090
34037
|
className,
|
|
34091
34038
|
ref: this.slider
|
|
34092
|
-
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34039
|
+
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2$1(_objectSpread2$1({}, rootProps), {}, {
|
|
34093
34040
|
style: rootStyle,
|
|
34094
34041
|
className,
|
|
34095
34042
|
ref: this.slider
|
|
@@ -34466,6 +34413,331 @@
|
|
|
34466
34413
|
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 })] });
|
|
34467
34414
|
}
|
|
34468
34415
|
const UISwitch = React.forwardRef(Switch$1);
|
|
34416
|
+
function ownKeys$5(object2, enumerableOnly) {
|
|
34417
|
+
var keys2 = Object.keys(object2);
|
|
34418
|
+
if (Object.getOwnPropertySymbols) {
|
|
34419
|
+
var symbols = Object.getOwnPropertySymbols(object2);
|
|
34420
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
34421
|
+
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
34422
|
+
})), keys2.push.apply(keys2, symbols);
|
|
34423
|
+
}
|
|
34424
|
+
return keys2;
|
|
34425
|
+
}
|
|
34426
|
+
function _objectSpread2(target) {
|
|
34427
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
34428
|
+
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
34429
|
+
i2 % 2 ? ownKeys$5(Object(source), true).forEach(function(key) {
|
|
34430
|
+
_defineProperty$m(target, key, source[key]);
|
|
34431
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
34432
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34433
|
+
});
|
|
34434
|
+
}
|
|
34435
|
+
return target;
|
|
34436
|
+
}
|
|
34437
|
+
function _typeof$5(obj) {
|
|
34438
|
+
"@babel/helpers - typeof";
|
|
34439
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
34440
|
+
return typeof obj2;
|
|
34441
|
+
} : function(obj2) {
|
|
34442
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
34443
|
+
}, _typeof$5(obj);
|
|
34444
|
+
}
|
|
34445
|
+
function _defineProperty$m(obj, key, value) {
|
|
34446
|
+
if (key in obj) {
|
|
34447
|
+
Object.defineProperty(obj, key, {
|
|
34448
|
+
value,
|
|
34449
|
+
enumerable: true,
|
|
34450
|
+
configurable: true,
|
|
34451
|
+
writable: true
|
|
34452
|
+
});
|
|
34453
|
+
} else {
|
|
34454
|
+
obj[key] = value;
|
|
34455
|
+
}
|
|
34456
|
+
return obj;
|
|
34457
|
+
}
|
|
34458
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
34459
|
+
if (source == null)
|
|
34460
|
+
return {};
|
|
34461
|
+
var target = {};
|
|
34462
|
+
var sourceKeys = Object.keys(source);
|
|
34463
|
+
var key, i2;
|
|
34464
|
+
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
34465
|
+
key = sourceKeys[i2];
|
|
34466
|
+
if (excluded.indexOf(key) >= 0)
|
|
34467
|
+
continue;
|
|
34468
|
+
target[key] = source[key];
|
|
34469
|
+
}
|
|
34470
|
+
return target;
|
|
34471
|
+
}
|
|
34472
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
34473
|
+
if (source == null)
|
|
34474
|
+
return {};
|
|
34475
|
+
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
34476
|
+
var key, i2;
|
|
34477
|
+
if (Object.getOwnPropertySymbols) {
|
|
34478
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
34479
|
+
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
34480
|
+
key = sourceSymbolKeys[i2];
|
|
34481
|
+
if (excluded.indexOf(key) >= 0)
|
|
34482
|
+
continue;
|
|
34483
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
34484
|
+
continue;
|
|
34485
|
+
target[key] = source[key];
|
|
34486
|
+
}
|
|
34487
|
+
}
|
|
34488
|
+
return target;
|
|
34489
|
+
}
|
|
34490
|
+
function _toConsumableArray$1(arr) {
|
|
34491
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
34492
|
+
}
|
|
34493
|
+
function _arrayWithoutHoles$1(arr) {
|
|
34494
|
+
if (Array.isArray(arr))
|
|
34495
|
+
return _arrayLikeToArray$8(arr);
|
|
34496
|
+
}
|
|
34497
|
+
function _iterableToArray$1(iter2) {
|
|
34498
|
+
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
34499
|
+
return Array.from(iter2);
|
|
34500
|
+
}
|
|
34501
|
+
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
34502
|
+
if (!o2)
|
|
34503
|
+
return;
|
|
34504
|
+
if (typeof o2 === "string")
|
|
34505
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
34506
|
+
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
34507
|
+
if (n2 === "Object" && o2.constructor)
|
|
34508
|
+
n2 = o2.constructor.name;
|
|
34509
|
+
if (n2 === "Map" || n2 === "Set")
|
|
34510
|
+
return Array.from(o2);
|
|
34511
|
+
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
34512
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
34513
|
+
}
|
|
34514
|
+
function _arrayLikeToArray$8(arr, len) {
|
|
34515
|
+
if (len == null || len > arr.length)
|
|
34516
|
+
len = arr.length;
|
|
34517
|
+
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
34518
|
+
arr2[i2] = arr[i2];
|
|
34519
|
+
return arr2;
|
|
34520
|
+
}
|
|
34521
|
+
function _nonIterableSpread$1() {
|
|
34522
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34523
|
+
}
|
|
34524
|
+
function classList$1(props) {
|
|
34525
|
+
var _classes;
|
|
34526
|
+
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;
|
|
34527
|
+
var classes = (_classes = {
|
|
34528
|
+
"fa-beat": beat,
|
|
34529
|
+
"fa-fade": fade,
|
|
34530
|
+
"fa-beat-fade": beatFade,
|
|
34531
|
+
"fa-bounce": bounce,
|
|
34532
|
+
"fa-shake": shake,
|
|
34533
|
+
"fa-flash": flash,
|
|
34534
|
+
"fa-spin": spin,
|
|
34535
|
+
"fa-spin-reverse": spinReverse,
|
|
34536
|
+
"fa-spin-pulse": spinPulse,
|
|
34537
|
+
"fa-pulse": pulse,
|
|
34538
|
+
"fa-fw": fixedWidth,
|
|
34539
|
+
"fa-inverse": inverse,
|
|
34540
|
+
"fa-border": border,
|
|
34541
|
+
"fa-li": listItem2,
|
|
34542
|
+
"fa-flip": flip2 === true,
|
|
34543
|
+
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
34544
|
+
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
34545
|
+
}, _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);
|
|
34546
|
+
return Object.keys(classes).map(function(key) {
|
|
34547
|
+
return classes[key] ? key : null;
|
|
34548
|
+
}).filter(function(key) {
|
|
34549
|
+
return key;
|
|
34550
|
+
});
|
|
34551
|
+
}
|
|
34552
|
+
function _isNumerical(obj) {
|
|
34553
|
+
obj = obj - 0;
|
|
34554
|
+
return obj === obj;
|
|
34555
|
+
}
|
|
34556
|
+
function camelize(string2) {
|
|
34557
|
+
if (_isNumerical(string2)) {
|
|
34558
|
+
return string2;
|
|
34559
|
+
}
|
|
34560
|
+
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
34561
|
+
return chr ? chr.toUpperCase() : "";
|
|
34562
|
+
});
|
|
34563
|
+
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
34564
|
+
}
|
|
34565
|
+
var _excluded$1 = ["style"];
|
|
34566
|
+
function capitalize$1(val) {
|
|
34567
|
+
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
34568
|
+
}
|
|
34569
|
+
function styleToObject$1(style2) {
|
|
34570
|
+
return style2.split(";").map(function(s2) {
|
|
34571
|
+
return s2.trim();
|
|
34572
|
+
}).filter(function(s2) {
|
|
34573
|
+
return s2;
|
|
34574
|
+
}).reduce(function(acc, pair2) {
|
|
34575
|
+
var i2 = pair2.indexOf(":");
|
|
34576
|
+
var prop = camelize(pair2.slice(0, i2));
|
|
34577
|
+
var value = pair2.slice(i2 + 1).trim();
|
|
34578
|
+
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
34579
|
+
return acc;
|
|
34580
|
+
}, {});
|
|
34581
|
+
}
|
|
34582
|
+
function convert$1(createElement2, element2) {
|
|
34583
|
+
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
34584
|
+
if (typeof element2 === "string") {
|
|
34585
|
+
return element2;
|
|
34586
|
+
}
|
|
34587
|
+
var children2 = (element2.children || []).map(function(child) {
|
|
34588
|
+
return convert$1(createElement2, child);
|
|
34589
|
+
});
|
|
34590
|
+
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
34591
|
+
var val = element2.attributes[key];
|
|
34592
|
+
switch (key) {
|
|
34593
|
+
case "class":
|
|
34594
|
+
acc.attrs["className"] = val;
|
|
34595
|
+
delete element2.attributes["class"];
|
|
34596
|
+
break;
|
|
34597
|
+
case "style":
|
|
34598
|
+
acc.attrs["style"] = styleToObject$1(val);
|
|
34599
|
+
break;
|
|
34600
|
+
default:
|
|
34601
|
+
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
34602
|
+
acc.attrs[key.toLowerCase()] = val;
|
|
34603
|
+
} else {
|
|
34604
|
+
acc.attrs[camelize(key)] = val;
|
|
34605
|
+
}
|
|
34606
|
+
}
|
|
34607
|
+
return acc;
|
|
34608
|
+
}, {
|
|
34609
|
+
attrs: {}
|
|
34610
|
+
});
|
|
34611
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$1(extraProps, _excluded$1);
|
|
34612
|
+
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
34613
|
+
return createElement2.apply(void 0, [element2.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray$1(children2)));
|
|
34614
|
+
}
|
|
34615
|
+
var PRODUCTION = false;
|
|
34616
|
+
try {
|
|
34617
|
+
PRODUCTION = true;
|
|
34618
|
+
} catch (e3) {
|
|
34619
|
+
}
|
|
34620
|
+
function log() {
|
|
34621
|
+
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
34622
|
+
var _console;
|
|
34623
|
+
(_console = console).error.apply(_console, arguments);
|
|
34624
|
+
}
|
|
34625
|
+
}
|
|
34626
|
+
function normalizeIconArgs(icon2) {
|
|
34627
|
+
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
34628
|
+
return icon2;
|
|
34629
|
+
}
|
|
34630
|
+
if (parse$1$1.icon) {
|
|
34631
|
+
return parse$1$1.icon(icon2);
|
|
34632
|
+
}
|
|
34633
|
+
if (icon2 === null) {
|
|
34634
|
+
return null;
|
|
34635
|
+
}
|
|
34636
|
+
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
34637
|
+
return icon2;
|
|
34638
|
+
}
|
|
34639
|
+
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
34640
|
+
return {
|
|
34641
|
+
prefix: icon2[0],
|
|
34642
|
+
iconName: icon2[1]
|
|
34643
|
+
};
|
|
34644
|
+
}
|
|
34645
|
+
if (typeof icon2 === "string") {
|
|
34646
|
+
return {
|
|
34647
|
+
prefix: "fas",
|
|
34648
|
+
iconName: icon2
|
|
34649
|
+
};
|
|
34650
|
+
}
|
|
34651
|
+
}
|
|
34652
|
+
function objectWithKey(key, value) {
|
|
34653
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$m({}, key, value) : {};
|
|
34654
|
+
}
|
|
34655
|
+
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
34656
|
+
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
34657
|
+
var iconLookup = normalizeIconArgs(iconArgs);
|
|
34658
|
+
var classes = objectWithKey("classes", [].concat(_toConsumableArray$1(classList$1(props)), _toConsumableArray$1(className.split(" "))));
|
|
34659
|
+
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
34660
|
+
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
34661
|
+
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
34662
|
+
symbol,
|
|
34663
|
+
title,
|
|
34664
|
+
titleId,
|
|
34665
|
+
maskId
|
|
34666
|
+
}));
|
|
34667
|
+
if (!renderedIcon) {
|
|
34668
|
+
log("Could not find icon", iconLookup);
|
|
34669
|
+
return null;
|
|
34670
|
+
}
|
|
34671
|
+
var abstract = renderedIcon.abstract;
|
|
34672
|
+
var extraProps = {
|
|
34673
|
+
ref
|
|
34674
|
+
};
|
|
34675
|
+
Object.keys(props).forEach(function(key) {
|
|
34676
|
+
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
34677
|
+
extraProps[key] = props[key];
|
|
34678
|
+
}
|
|
34679
|
+
});
|
|
34680
|
+
return convertCurry(abstract[0], extraProps);
|
|
34681
|
+
});
|
|
34682
|
+
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
34683
|
+
FontAwesomeIcon.propTypes = {
|
|
34684
|
+
beat: propTypes.exports.bool,
|
|
34685
|
+
border: propTypes.exports.bool,
|
|
34686
|
+
beatFade: propTypes.exports.bool,
|
|
34687
|
+
bounce: propTypes.exports.bool,
|
|
34688
|
+
className: propTypes.exports.string,
|
|
34689
|
+
fade: propTypes.exports.bool,
|
|
34690
|
+
flash: propTypes.exports.bool,
|
|
34691
|
+
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34692
|
+
maskId: propTypes.exports.string,
|
|
34693
|
+
fixedWidth: propTypes.exports.bool,
|
|
34694
|
+
inverse: propTypes.exports.bool,
|
|
34695
|
+
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
34696
|
+
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34697
|
+
listItem: propTypes.exports.bool,
|
|
34698
|
+
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
34699
|
+
pulse: propTypes.exports.bool,
|
|
34700
|
+
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
34701
|
+
shake: propTypes.exports.bool,
|
|
34702
|
+
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
34703
|
+
spin: propTypes.exports.bool,
|
|
34704
|
+
spinPulse: propTypes.exports.bool,
|
|
34705
|
+
spinReverse: propTypes.exports.bool,
|
|
34706
|
+
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
34707
|
+
title: propTypes.exports.string,
|
|
34708
|
+
titleId: propTypes.exports.string,
|
|
34709
|
+
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
34710
|
+
swapOpacity: propTypes.exports.bool
|
|
34711
|
+
};
|
|
34712
|
+
FontAwesomeIcon.defaultProps = {
|
|
34713
|
+
border: false,
|
|
34714
|
+
className: "",
|
|
34715
|
+
mask: null,
|
|
34716
|
+
maskId: null,
|
|
34717
|
+
fixedWidth: false,
|
|
34718
|
+
inverse: false,
|
|
34719
|
+
flip: false,
|
|
34720
|
+
icon: null,
|
|
34721
|
+
listItem: false,
|
|
34722
|
+
pull: null,
|
|
34723
|
+
pulse: false,
|
|
34724
|
+
rotation: null,
|
|
34725
|
+
size: null,
|
|
34726
|
+
spin: false,
|
|
34727
|
+
spinPulse: false,
|
|
34728
|
+
spinReverse: false,
|
|
34729
|
+
beat: false,
|
|
34730
|
+
fade: false,
|
|
34731
|
+
beatFade: false,
|
|
34732
|
+
bounce: false,
|
|
34733
|
+
shake: false,
|
|
34734
|
+
symbol: false,
|
|
34735
|
+
title: "",
|
|
34736
|
+
titleId: null,
|
|
34737
|
+
transform: null,
|
|
34738
|
+
swapOpacity: false
|
|
34739
|
+
};
|
|
34740
|
+
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
34469
34741
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
34470
34742
|
return typeof value === "number" && value !== value;
|
|
34471
34743
|
};
|
|
@@ -37174,8 +37446,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37174
37446
|
return false;
|
|
37175
37447
|
}
|
|
37176
37448
|
function areEqual(prevProps, nextProps) {
|
|
37177
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
37178
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
37449
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$5(prevProps, ["style"]);
|
|
37450
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$5(nextProps, ["style"]);
|
|
37179
37451
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
37180
37452
|
}
|
|
37181
37453
|
const GlobalStyle = styled.createGlobalStyle`
|
|
@@ -42753,7 +43025,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
42753
43025
|
debouncedAction.cancel();
|
|
42754
43026
|
debouncedSetValue.cancel();
|
|
42755
43027
|
debouncedUpdateForm.cancel();
|
|
42756
|
-
|
|
43028
|
+
let newValue = value;
|
|
43029
|
+
if (props.type === "number") {
|
|
43030
|
+
newValue = Number.isNaN(Number(newValue)) ? null : Number(newValue);
|
|
43031
|
+
}
|
|
43032
|
+
setInternalValue(newValue);
|
|
42757
43033
|
}, [value]);
|
|
42758
43034
|
if (props.type === "number") {
|
|
42759
43035
|
return /* @__PURE__ */ React__default.default.createElement(
|
|
@@ -60857,6 +61133,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
60857
61133
|
return acc;
|
|
60858
61134
|
}, []);
|
|
60859
61135
|
}
|
|
61136
|
+
const toItem = (value) => typeof value === "string" || typeof value === "number" ? { label: String(value), value } : value;
|
|
60860
61137
|
const StyledSelect = core$2.injectCss(Select$1);
|
|
60861
61138
|
const StyledMultiSelect = core$2.injectCss(MultiSelect);
|
|
60862
61139
|
const StyledComboBox = core$2.injectCss(ComboBox);
|
|
@@ -60868,6 +61145,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
60868
61145
|
return Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
60869
61146
|
}
|
|
60870
61147
|
function Select(props) {
|
|
61148
|
+
var _a3;
|
|
60871
61149
|
const formCtx2 = useFormContext(props);
|
|
60872
61150
|
const [items] = core$2.useVariable(props.items);
|
|
60873
61151
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
@@ -60915,7 +61193,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
60915
61193
|
}
|
|
60916
61194
|
const itemArray = formattedItems;
|
|
60917
61195
|
if (props.multiselect) {
|
|
60918
|
-
const
|
|
61196
|
+
const explicitValues = lodash.exports.isArray(value) ? value.map(toItem) : value;
|
|
61197
|
+
const foundItems = getMultiselectItems(value, itemArray);
|
|
61198
|
+
const [selectedItems, setSelectedItems] = React.useState(lodash.exports.isEmpty(foundItems) ? explicitValues : foundItems);
|
|
60919
61199
|
const onSelect2 = React.useCallback(
|
|
60920
61200
|
(_items) => {
|
|
60921
61201
|
const currentSelection = _items.map((item) => item.value);
|
|
@@ -60943,7 +61223,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
60943
61223
|
}
|
|
60944
61224
|
);
|
|
60945
61225
|
}
|
|
60946
|
-
const
|
|
61226
|
+
const explicitValue = toItem(value);
|
|
61227
|
+
const [selectedItem, setSelectedItem] = React.useState(
|
|
61228
|
+
(_a3 = itemArray.find((item) => String(item.value) === String(value))) != null ? _a3 : explicitValue
|
|
61229
|
+
);
|
|
60947
61230
|
const onSelect = React.useCallback(
|
|
60948
61231
|
(item) => {
|
|
60949
61232
|
if (item) {
|
|
@@ -60956,7 +61239,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
60956
61239
|
[setValue, onChangeAction]
|
|
60957
61240
|
);
|
|
60958
61241
|
React.useEffect(() => {
|
|
60959
|
-
|
|
61242
|
+
var _a4;
|
|
61243
|
+
const selected = (_a4 = itemArray.find((item) => item.value === value)) != null ? _a4 : explicitValue;
|
|
60960
61244
|
setSelectedItem(selected !== void 0 ? selected : null);
|
|
60961
61245
|
}, [formattedItems, value]);
|
|
60962
61246
|
if (props.searchable) {
|
|
@@ -286575,6 +286859,55 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
286575
286859
|
};
|
|
286576
286860
|
return treemap;
|
|
286577
286861
|
}
|
|
286862
|
+
function initRange(domain2, range2) {
|
|
286863
|
+
switch (arguments.length) {
|
|
286864
|
+
case 0:
|
|
286865
|
+
break;
|
|
286866
|
+
case 1:
|
|
286867
|
+
this.range(domain2);
|
|
286868
|
+
break;
|
|
286869
|
+
default:
|
|
286870
|
+
this.range(range2).domain(domain2);
|
|
286871
|
+
break;
|
|
286872
|
+
}
|
|
286873
|
+
return this;
|
|
286874
|
+
}
|
|
286875
|
+
const implicit = Symbol("implicit");
|
|
286876
|
+
function ordinal() {
|
|
286877
|
+
var index2 = /* @__PURE__ */ new Map(), domain2 = [], range2 = [], unknown2 = implicit;
|
|
286878
|
+
function scale(d2) {
|
|
286879
|
+
var key = d2 + "", i2 = index2.get(key);
|
|
286880
|
+
if (!i2) {
|
|
286881
|
+
if (unknown2 !== implicit)
|
|
286882
|
+
return unknown2;
|
|
286883
|
+
index2.set(key, i2 = domain2.push(d2));
|
|
286884
|
+
}
|
|
286885
|
+
return range2[(i2 - 1) % range2.length];
|
|
286886
|
+
}
|
|
286887
|
+
scale.domain = function(_2) {
|
|
286888
|
+
if (!arguments.length)
|
|
286889
|
+
return domain2.slice();
|
|
286890
|
+
domain2 = [], index2 = /* @__PURE__ */ new Map();
|
|
286891
|
+
for (const value of _2) {
|
|
286892
|
+
const key = value + "";
|
|
286893
|
+
if (index2.has(key))
|
|
286894
|
+
continue;
|
|
286895
|
+
index2.set(key, domain2.push(value));
|
|
286896
|
+
}
|
|
286897
|
+
return scale;
|
|
286898
|
+
};
|
|
286899
|
+
scale.range = function(_2) {
|
|
286900
|
+
return arguments.length ? (range2 = Array.from(_2), scale) : range2.slice();
|
|
286901
|
+
};
|
|
286902
|
+
scale.unknown = function(_2) {
|
|
286903
|
+
return arguments.length ? (unknown2 = _2, scale) : unknown2;
|
|
286904
|
+
};
|
|
286905
|
+
scale.copy = function() {
|
|
286906
|
+
return ordinal(domain2, range2).unknown(unknown2);
|
|
286907
|
+
};
|
|
286908
|
+
initRange.apply(scale, arguments);
|
|
286909
|
+
return scale;
|
|
286910
|
+
}
|
|
286578
286911
|
function Transform$1(k2, x2, y2) {
|
|
286579
286912
|
this.k = k2;
|
|
286580
286913
|
this.x = x2;
|
|
@@ -287707,24 +288040,24 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287707
288040
|
this.flags = flags;
|
|
287708
288041
|
}
|
|
287709
288042
|
get anchor() {
|
|
287710
|
-
return this.flags &
|
|
288043
|
+
return this.flags & 16 ? this.to : this.from;
|
|
287711
288044
|
}
|
|
287712
288045
|
get head() {
|
|
287713
|
-
return this.flags &
|
|
288046
|
+
return this.flags & 16 ? this.from : this.to;
|
|
287714
288047
|
}
|
|
287715
288048
|
get empty() {
|
|
287716
288049
|
return this.from == this.to;
|
|
287717
288050
|
}
|
|
287718
288051
|
get assoc() {
|
|
287719
|
-
return this.flags &
|
|
288052
|
+
return this.flags & 4 ? -1 : this.flags & 8 ? 1 : 0;
|
|
287720
288053
|
}
|
|
287721
288054
|
get bidiLevel() {
|
|
287722
|
-
let level = this.flags &
|
|
287723
|
-
return level ==
|
|
288055
|
+
let level = this.flags & 3;
|
|
288056
|
+
return level == 3 ? null : level;
|
|
287724
288057
|
}
|
|
287725
288058
|
get goalColumn() {
|
|
287726
|
-
let value = this.flags >>
|
|
287727
|
-
return value ==
|
|
288059
|
+
let value = this.flags >> 5;
|
|
288060
|
+
return value == 33554431 ? void 0 : value;
|
|
287728
288061
|
}
|
|
287729
288062
|
map(change, assoc = -1) {
|
|
287730
288063
|
let from, to;
|
|
@@ -287812,11 +288145,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287812
288145
|
return new EditorSelection(ranges, mainIndex);
|
|
287813
288146
|
}
|
|
287814
288147
|
static cursor(pos, assoc = 0, bidiLevel, goalColumn) {
|
|
287815
|
-
return SelectionRange.create(pos, pos, (assoc == 0 ? 0 : assoc < 0 ?
|
|
288148
|
+
return SelectionRange.create(pos, pos, (assoc == 0 ? 0 : assoc < 0 ? 4 : 8) | (bidiLevel == null ? 3 : Math.min(2, bidiLevel)) | (goalColumn !== null && goalColumn !== void 0 ? goalColumn : 33554431) << 5);
|
|
287816
288149
|
}
|
|
287817
288150
|
static range(anchor, head, goalColumn, bidiLevel) {
|
|
287818
|
-
let flags = (goalColumn !== null && goalColumn !== void 0 ? goalColumn :
|
|
287819
|
-
return head < anchor ? SelectionRange.create(head, anchor,
|
|
288151
|
+
let flags = (goalColumn !== null && goalColumn !== void 0 ? goalColumn : 33554431) << 5 | (bidiLevel == null ? 3 : Math.min(2, bidiLevel));
|
|
288152
|
+
return head < anchor ? SelectionRange.create(head, anchor, 16 | 8 | flags) : SelectionRange.create(anchor, head, (head > anchor ? 4 : 0) | flags);
|
|
287820
288153
|
}
|
|
287821
288154
|
static normalized(ranges, mainIndex = 0) {
|
|
287822
288155
|
let main2 = ranges[mainIndex];
|
|
@@ -287850,9 +288183,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
287850
288183
|
this.default = combine2([]);
|
|
287851
288184
|
this.extensions = typeof enables == "function" ? enables(this) : enables;
|
|
287852
288185
|
}
|
|
287853
|
-
get reader() {
|
|
287854
|
-
return this;
|
|
287855
|
-
}
|
|
287856
288186
|
static define(config2 = {}) {
|
|
287857
288187
|
return new Facet(config2.combine || ((a2) => a2), config2.compareInput || ((a2, b2) => a2 === b2), config2.compare || (!config2.combine ? sameArray$1 : (a2, b2) => a2 === b2), !!config2.static, config2.enables);
|
|
287858
288188
|
}
|
|
@@ -307426,65 +307756,39 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
307426
307756
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
307427
307757
|
};
|
|
307428
307758
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
307759
|
+
var slice$1 = Array.prototype.slice;
|
|
307429
307760
|
var toStr$1 = Object.prototype.toString;
|
|
307430
|
-
var max$2 = Math.max;
|
|
307431
307761
|
var funcType = "[object Function]";
|
|
307432
|
-
var concatty = function concatty2(a2, b2) {
|
|
307433
|
-
var arr = [];
|
|
307434
|
-
for (var i2 = 0; i2 < a2.length; i2 += 1) {
|
|
307435
|
-
arr[i2] = a2[i2];
|
|
307436
|
-
}
|
|
307437
|
-
for (var j2 = 0; j2 < b2.length; j2 += 1) {
|
|
307438
|
-
arr[j2 + a2.length] = b2[j2];
|
|
307439
|
-
}
|
|
307440
|
-
return arr;
|
|
307441
|
-
};
|
|
307442
|
-
var slicy = function slicy2(arrLike, offset2) {
|
|
307443
|
-
var arr = [];
|
|
307444
|
-
for (var i2 = offset2 || 0, j2 = 0; i2 < arrLike.length; i2 += 1, j2 += 1) {
|
|
307445
|
-
arr[j2] = arrLike[i2];
|
|
307446
|
-
}
|
|
307447
|
-
return arr;
|
|
307448
|
-
};
|
|
307449
|
-
var joiny = function(arr, joiner) {
|
|
307450
|
-
var str = "";
|
|
307451
|
-
for (var i2 = 0; i2 < arr.length; i2 += 1) {
|
|
307452
|
-
str += arr[i2];
|
|
307453
|
-
if (i2 + 1 < arr.length) {
|
|
307454
|
-
str += joiner;
|
|
307455
|
-
}
|
|
307456
|
-
}
|
|
307457
|
-
return str;
|
|
307458
|
-
};
|
|
307459
307762
|
var implementation$1 = function bind2(that) {
|
|
307460
307763
|
var target = this;
|
|
307461
|
-
if (typeof target !== "function" || toStr$1.
|
|
307764
|
+
if (typeof target !== "function" || toStr$1.call(target) !== funcType) {
|
|
307462
307765
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
307463
307766
|
}
|
|
307464
|
-
var args =
|
|
307767
|
+
var args = slice$1.call(arguments, 1);
|
|
307465
307768
|
var bound2;
|
|
307466
307769
|
var binder = function() {
|
|
307467
307770
|
if (this instanceof bound2) {
|
|
307468
307771
|
var result = target.apply(
|
|
307469
307772
|
this,
|
|
307470
|
-
|
|
307773
|
+
args.concat(slice$1.call(arguments))
|
|
307471
307774
|
);
|
|
307472
307775
|
if (Object(result) === result) {
|
|
307473
307776
|
return result;
|
|
307474
307777
|
}
|
|
307475
307778
|
return this;
|
|
307779
|
+
} else {
|
|
307780
|
+
return target.apply(
|
|
307781
|
+
that,
|
|
307782
|
+
args.concat(slice$1.call(arguments))
|
|
307783
|
+
);
|
|
307476
307784
|
}
|
|
307477
|
-
return target.apply(
|
|
307478
|
-
that,
|
|
307479
|
-
concatty(args, arguments)
|
|
307480
|
-
);
|
|
307481
307785
|
};
|
|
307482
|
-
var boundLength = max
|
|
307786
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
307483
307787
|
var boundArgs = [];
|
|
307484
307788
|
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
307485
|
-
boundArgs
|
|
307789
|
+
boundArgs.push("$" + i2);
|
|
307486
307790
|
}
|
|
307487
|
-
bound2 = Function("binder", "return function (" +
|
|
307791
|
+
bound2 = Function("binder", "return function (" + boundArgs.join(",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
307488
307792
|
if (target.prototype) {
|
|
307489
307793
|
var Empty = function Empty2() {
|
|
307490
307794
|
};
|