@darajs/components 1.3.0 → 1.3.2
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 -2
- package/dist/common/input/input.js.map +1 -1
- package/dist/common/label/label.js +1 -1
- package/dist/common/label/label.js.map +1 -1
- package/dist/common/paragraph/paragraph.js +1 -1
- package/dist/common/paragraph/paragraph.js.map +1 -1
- package/dist/common/table/table.d.ts.map +1 -1
- package/dist/common/table/table.js +1 -0
- package/dist/common/table/table.js.map +1 -1
- package/dist/common/text/text.js +2 -2
- package/dist/common/text/text.js.map +1 -1
- package/dist/dara_components-1.3.2-py3-none-any.whl +0 -0
- package/dist/umd/dara.components.umd.js +734 -1104
- package/package.json +13 -13
- package/dist/dara_components-1.3.0-py3-none-any.whl +0 -0
|
@@ -212,18 +212,18 @@
|
|
|
212
212
|
}
|
|
213
213
|
})(jsxRuntime);
|
|
214
214
|
var Collapse$2 = {};
|
|
215
|
-
function _typeof$
|
|
215
|
+
function _typeof$9(obj) {
|
|
216
216
|
"@babel/helpers - typeof";
|
|
217
217
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
218
|
-
_typeof$
|
|
218
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
219
219
|
return typeof obj2;
|
|
220
220
|
};
|
|
221
221
|
} else {
|
|
222
|
-
_typeof$
|
|
222
|
+
_typeof$9 = function _typeof2(obj2) {
|
|
223
223
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
return _typeof$
|
|
226
|
+
return _typeof$9(obj);
|
|
227
227
|
}
|
|
228
228
|
Object.defineProperty(Collapse$2, "__esModule", {
|
|
229
229
|
value: true
|
|
@@ -261,21 +261,21 @@
|
|
|
261
261
|
}
|
|
262
262
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
263
263
|
if (superClass)
|
|
264
|
-
_setPrototypeOf$
|
|
264
|
+
_setPrototypeOf$4(subClass, superClass);
|
|
265
265
|
}
|
|
266
|
-
function _setPrototypeOf$
|
|
267
|
-
_setPrototypeOf$
|
|
266
|
+
function _setPrototypeOf$4(o2, p2) {
|
|
267
|
+
_setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
268
268
|
o3.__proto__ = p3;
|
|
269
269
|
return o3;
|
|
270
270
|
};
|
|
271
|
-
return _setPrototypeOf$
|
|
271
|
+
return _setPrototypeOf$4(o2, p2);
|
|
272
272
|
}
|
|
273
273
|
function _createSuper$3(Derived) {
|
|
274
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
274
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$3();
|
|
275
275
|
return function _createSuperInternal() {
|
|
276
|
-
var Super = _getPrototypeOf$
|
|
276
|
+
var Super = _getPrototypeOf$3(Derived), result;
|
|
277
277
|
if (hasNativeReflectConstruct) {
|
|
278
|
-
var NewTarget = _getPrototypeOf$
|
|
278
|
+
var NewTarget = _getPrototypeOf$3(this).constructor;
|
|
279
279
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
280
280
|
} else {
|
|
281
281
|
result = Super.apply(this, arguments);
|
|
@@ -283,21 +283,21 @@
|
|
|
283
283
|
return _possibleConstructorReturn$3(this, result);
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
-
function _possibleConstructorReturn$3(self2,
|
|
287
|
-
if (
|
|
288
|
-
return
|
|
289
|
-
} else if (
|
|
286
|
+
function _possibleConstructorReturn$3(self2, call2) {
|
|
287
|
+
if (call2 && (_typeof$9(call2) === "object" || typeof call2 === "function")) {
|
|
288
|
+
return call2;
|
|
289
|
+
} else if (call2 !== void 0) {
|
|
290
290
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
291
291
|
}
|
|
292
|
-
return _assertThisInitialized$
|
|
292
|
+
return _assertThisInitialized$4(self2);
|
|
293
293
|
}
|
|
294
|
-
function _assertThisInitialized$
|
|
294
|
+
function _assertThisInitialized$4(self2) {
|
|
295
295
|
if (self2 === void 0) {
|
|
296
296
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
297
297
|
}
|
|
298
298
|
return self2;
|
|
299
299
|
}
|
|
300
|
-
function _isNativeReflectConstruct$
|
|
300
|
+
function _isNativeReflectConstruct$3() {
|
|
301
301
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
302
302
|
return false;
|
|
303
303
|
if (Reflect.construct.sham)
|
|
@@ -312,13 +312,13 @@
|
|
|
312
312
|
return false;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
function _getPrototypeOf$
|
|
316
|
-
_getPrototypeOf$
|
|
315
|
+
function _getPrototypeOf$3(o2) {
|
|
316
|
+
_getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
317
317
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
318
318
|
};
|
|
319
|
-
return _getPrototypeOf$
|
|
319
|
+
return _getPrototypeOf$3(o2);
|
|
320
320
|
}
|
|
321
|
-
function _defineProperty$
|
|
321
|
+
function _defineProperty$s(obj, key, value) {
|
|
322
322
|
if (key in obj) {
|
|
323
323
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
324
324
|
} else {
|
|
@@ -333,10 +333,10 @@
|
|
|
333
333
|
var _this;
|
|
334
334
|
_classCallCheck$j(this, Collapse2);
|
|
335
335
|
_this = _super.call(this, props);
|
|
336
|
-
_defineProperty$
|
|
337
|
-
_defineProperty$
|
|
338
|
-
_defineProperty$
|
|
339
|
-
_defineProperty$
|
|
336
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "timeout", void 0);
|
|
337
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "container", void 0);
|
|
338
|
+
_defineProperty$s(_assertThisInitialized$4(_this), "content", void 0);
|
|
339
|
+
_defineProperty$s(_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$s(_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$s(_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$s(_assertThisInitialized$4(_this), "onRefContainer", function(container) {
|
|
416
416
|
_this.container = container;
|
|
417
417
|
});
|
|
418
|
-
_defineProperty$
|
|
418
|
+
_defineProperty$s(_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$s(Collapse$1, "defaultProps", {
|
|
488
488
|
theme: {
|
|
489
489
|
collapse: "ReactCollapse--collapse",
|
|
490
490
|
content: "ReactCollapse--content"
|
|
@@ -495,18 +495,18 @@
|
|
|
495
495
|
checkTimeout: 50
|
|
496
496
|
});
|
|
497
497
|
var UnmountClosed$2 = {};
|
|
498
|
-
function _typeof$
|
|
498
|
+
function _typeof$8(obj) {
|
|
499
499
|
"@babel/helpers - typeof";
|
|
500
500
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
501
|
-
_typeof$
|
|
501
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
502
502
|
return typeof obj2;
|
|
503
503
|
};
|
|
504
504
|
} else {
|
|
505
|
-
_typeof$
|
|
505
|
+
_typeof$8 = function _typeof2(obj2) {
|
|
506
506
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
return _typeof$
|
|
509
|
+
return _typeof$8(obj);
|
|
510
510
|
}
|
|
511
511
|
Object.defineProperty(UnmountClosed$2, "__esModule", {
|
|
512
512
|
value: true
|
|
@@ -518,8 +518,8 @@
|
|
|
518
518
|
function _interopRequireDefault(obj) {
|
|
519
519
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
520
520
|
}
|
|
521
|
-
function _extends$
|
|
522
|
-
_extends$
|
|
521
|
+
function _extends$3() {
|
|
522
|
+
_extends$3 = Object.assign || function(target) {
|
|
523
523
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
524
524
|
var source = arguments[i2];
|
|
525
525
|
for (var key in source) {
|
|
@@ -530,9 +530,9 @@
|
|
|
530
530
|
}
|
|
531
531
|
return target;
|
|
532
532
|
};
|
|
533
|
-
return _extends$
|
|
533
|
+
return _extends$3.apply(this, arguments);
|
|
534
534
|
}
|
|
535
|
-
function ownKeys$
|
|
535
|
+
function ownKeys$9(object2, enumerableOnly) {
|
|
536
536
|
var keys2 = Object.keys(object2);
|
|
537
537
|
if (Object.getOwnPropertySymbols) {
|
|
538
538
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -549,23 +549,23 @@
|
|
|
549
549
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
550
550
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
551
551
|
if (i2 % 2) {
|
|
552
|
-
ownKeys$
|
|
553
|
-
_defineProperty$
|
|
552
|
+
ownKeys$9(Object(source), true).forEach(function(key) {
|
|
553
|
+
_defineProperty$r(target, key, source[key]);
|
|
554
554
|
});
|
|
555
555
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
556
556
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
557
557
|
} else {
|
|
558
|
-
ownKeys$
|
|
558
|
+
ownKeys$9(Object(source)).forEach(function(key) {
|
|
559
559
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
560
560
|
});
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
return target;
|
|
564
564
|
}
|
|
565
|
-
function _objectWithoutProperties$
|
|
565
|
+
function _objectWithoutProperties$3(source, excluded) {
|
|
566
566
|
if (source == null)
|
|
567
567
|
return {};
|
|
568
|
-
var target = _objectWithoutPropertiesLoose$
|
|
568
|
+
var target = _objectWithoutPropertiesLoose$6(source, excluded);
|
|
569
569
|
var key, i2;
|
|
570
570
|
if (Object.getOwnPropertySymbols) {
|
|
571
571
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
}
|
|
581
581
|
return target;
|
|
582
582
|
}
|
|
583
|
-
function _objectWithoutPropertiesLoose$
|
|
583
|
+
function _objectWithoutPropertiesLoose$6(source, excluded) {
|
|
584
584
|
if (source == null)
|
|
585
585
|
return {};
|
|
586
586
|
var target = {};
|
|
@@ -622,21 +622,21 @@
|
|
|
622
622
|
}
|
|
623
623
|
subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } });
|
|
624
624
|
if (superClass)
|
|
625
|
-
_setPrototypeOf$
|
|
625
|
+
_setPrototypeOf$3(subClass, superClass);
|
|
626
626
|
}
|
|
627
|
-
function _setPrototypeOf$
|
|
628
|
-
_setPrototypeOf$
|
|
627
|
+
function _setPrototypeOf$3(o2, p2) {
|
|
628
|
+
_setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
629
629
|
o3.__proto__ = p3;
|
|
630
630
|
return o3;
|
|
631
631
|
};
|
|
632
|
-
return _setPrototypeOf$
|
|
632
|
+
return _setPrototypeOf$3(o2, p2);
|
|
633
633
|
}
|
|
634
634
|
function _createSuper$2(Derived) {
|
|
635
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
635
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$2();
|
|
636
636
|
return function _createSuperInternal() {
|
|
637
|
-
var Super = _getPrototypeOf$
|
|
637
|
+
var Super = _getPrototypeOf$2(Derived), result;
|
|
638
638
|
if (hasNativeReflectConstruct) {
|
|
639
|
-
var NewTarget = _getPrototypeOf$
|
|
639
|
+
var NewTarget = _getPrototypeOf$2(this).constructor;
|
|
640
640
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
641
641
|
} else {
|
|
642
642
|
result = Super.apply(this, arguments);
|
|
@@ -644,21 +644,21 @@
|
|
|
644
644
|
return _possibleConstructorReturn$2(this, result);
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
|
-
function _possibleConstructorReturn$2(self2,
|
|
648
|
-
if (
|
|
649
|
-
return
|
|
650
|
-
} else if (
|
|
647
|
+
function _possibleConstructorReturn$2(self2, call2) {
|
|
648
|
+
if (call2 && (_typeof$8(call2) === "object" || typeof call2 === "function")) {
|
|
649
|
+
return call2;
|
|
650
|
+
} else if (call2 !== void 0) {
|
|
651
651
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
652
652
|
}
|
|
653
|
-
return _assertThisInitialized$
|
|
653
|
+
return _assertThisInitialized$3(self2);
|
|
654
654
|
}
|
|
655
|
-
function _assertThisInitialized$
|
|
655
|
+
function _assertThisInitialized$3(self2) {
|
|
656
656
|
if (self2 === void 0) {
|
|
657
657
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
658
658
|
}
|
|
659
659
|
return self2;
|
|
660
660
|
}
|
|
661
|
-
function _isNativeReflectConstruct$
|
|
661
|
+
function _isNativeReflectConstruct$2() {
|
|
662
662
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
663
663
|
return false;
|
|
664
664
|
if (Reflect.construct.sham)
|
|
@@ -673,13 +673,13 @@
|
|
|
673
673
|
return false;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
function _getPrototypeOf$
|
|
677
|
-
_getPrototypeOf$
|
|
676
|
+
function _getPrototypeOf$2(o2) {
|
|
677
|
+
_getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
678
678
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
679
679
|
};
|
|
680
|
-
return _getPrototypeOf$
|
|
680
|
+
return _getPrototypeOf$2(o2);
|
|
681
681
|
}
|
|
682
|
-
function _defineProperty$
|
|
682
|
+
function _defineProperty$r(obj, key, value) {
|
|
683
683
|
if (key in obj) {
|
|
684
684
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
685
685
|
} else {
|
|
@@ -694,8 +694,8 @@
|
|
|
694
694
|
var _this;
|
|
695
695
|
_classCallCheck$i(this, UnmountClosed2);
|
|
696
696
|
_this = _super.call(this, props);
|
|
697
|
-
_defineProperty$
|
|
698
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
697
|
+
_defineProperty$r(_assertThisInitialized$3(_this), "onWork", function(_ref2) {
|
|
698
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded$6);
|
|
699
699
|
_this.setState({
|
|
700
700
|
isResting: false,
|
|
701
701
|
isOpened
|
|
@@ -707,8 +707,8 @@
|
|
|
707
707
|
}, rest));
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
_defineProperty$
|
|
711
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
710
|
+
_defineProperty$r(_assertThisInitialized$3(_this), "onRest", function(_ref2) {
|
|
711
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded2$3);
|
|
712
712
|
_this.setState({
|
|
713
713
|
isResting: true,
|
|
714
714
|
isOpened,
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
}, rest));
|
|
722
722
|
}
|
|
723
723
|
});
|
|
724
|
-
_defineProperty$
|
|
724
|
+
_defineProperty$r(_assertThisInitialized$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 ? {
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
key: "render",
|
|
761
761
|
value: function render2() {
|
|
762
762
|
var _this$state2 = this.state, isResting = _this$state2.isResting, isOpened = _this$state2.isOpened;
|
|
763
|
-
return isResting && !isOpened ? null : /* @__PURE__ */ _react["default"].createElement(_Collapse.Collapse, _extends$
|
|
763
|
+
return isResting && !isOpened ? null : /* @__PURE__ */ _react["default"].createElement(_Collapse.Collapse, _extends$3({}, this.props, {
|
|
764
764
|
initialStyle: this.getInitialStyle(),
|
|
765
765
|
onWork: this.onWork,
|
|
766
766
|
onRest: this.onRest
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
return UnmountClosed2;
|
|
771
771
|
}(_react["default"].PureComponent);
|
|
772
772
|
UnmountClosed$2.UnmountClosed = UnmountClosed$1;
|
|
773
|
-
_defineProperty$
|
|
773
|
+
_defineProperty$r(UnmountClosed$1, "defaultProps", {
|
|
774
774
|
onWork: void 0,
|
|
775
775
|
onRest: void 0
|
|
776
776
|
});
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
iconName: "check",
|
|
923
923
|
icon: [448, 512, [10003, 10004], "f00c", "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]
|
|
924
924
|
};
|
|
925
|
-
function ownKeys$
|
|
925
|
+
function ownKeys$8(object2, enumerableOnly) {
|
|
926
926
|
var keys2 = Object.keys(object2);
|
|
927
927
|
if (Object.getOwnPropertySymbols) {
|
|
928
928
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -932,24 +932,24 @@
|
|
|
932
932
|
}
|
|
933
933
|
return keys2;
|
|
934
934
|
}
|
|
935
|
-
function _objectSpread2$
|
|
935
|
+
function _objectSpread2$2(target) {
|
|
936
936
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
937
937
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
938
|
-
i2 % 2 ? ownKeys$
|
|
939
|
-
_defineProperty$
|
|
940
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
938
|
+
i2 % 2 ? ownKeys$8(Object(source), true).forEach(function(key) {
|
|
939
|
+
_defineProperty$q(target, key, source[key]);
|
|
940
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function(key) {
|
|
941
941
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
942
942
|
});
|
|
943
943
|
}
|
|
944
944
|
return target;
|
|
945
945
|
}
|
|
946
|
-
function _typeof$
|
|
946
|
+
function _typeof$7(obj) {
|
|
947
947
|
"@babel/helpers - typeof";
|
|
948
|
-
return _typeof$
|
|
948
|
+
return _typeof$7 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
949
949
|
return typeof obj2;
|
|
950
950
|
} : function(obj2) {
|
|
951
951
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
952
|
-
}, _typeof$
|
|
952
|
+
}, _typeof$7(obj);
|
|
953
953
|
}
|
|
954
954
|
function _classCallCheck$h(instance2, Constructor) {
|
|
955
955
|
if (!(instance2 instanceof Constructor)) {
|
|
@@ -976,7 +976,7 @@
|
|
|
976
976
|
});
|
|
977
977
|
return Constructor;
|
|
978
978
|
}
|
|
979
|
-
function _defineProperty$
|
|
979
|
+
function _defineProperty$q(obj, key, value) {
|
|
980
980
|
if (key in obj) {
|
|
981
981
|
Object.defineProperty(obj, key, {
|
|
982
982
|
value,
|
|
@@ -990,20 +990,20 @@
|
|
|
990
990
|
return obj;
|
|
991
991
|
}
|
|
992
992
|
function _slicedToArray$a(arr, i2) {
|
|
993
|
-
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$
|
|
993
|
+
return _arrayWithHoles$a(arr) || _iterableToArrayLimit$a(arr, i2) || _unsupportedIterableToArray$b(arr, i2) || _nonIterableRest$a();
|
|
994
994
|
}
|
|
995
|
-
function _toConsumableArray$
|
|
996
|
-
return _arrayWithoutHoles$
|
|
995
|
+
function _toConsumableArray$4(arr) {
|
|
996
|
+
return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$b(arr) || _nonIterableSpread$4();
|
|
997
997
|
}
|
|
998
|
-
function _arrayWithoutHoles$
|
|
998
|
+
function _arrayWithoutHoles$4(arr) {
|
|
999
999
|
if (Array.isArray(arr))
|
|
1000
|
-
return _arrayLikeToArray$
|
|
1000
|
+
return _arrayLikeToArray$b(arr);
|
|
1001
1001
|
}
|
|
1002
1002
|
function _arrayWithHoles$a(arr) {
|
|
1003
1003
|
if (Array.isArray(arr))
|
|
1004
1004
|
return arr;
|
|
1005
1005
|
}
|
|
1006
|
-
function _iterableToArray$
|
|
1006
|
+
function _iterableToArray$4(iter2) {
|
|
1007
1007
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
1008
1008
|
return Array.from(iter2);
|
|
1009
1009
|
}
|
|
@@ -1035,27 +1035,27 @@
|
|
|
1035
1035
|
}
|
|
1036
1036
|
return _arr;
|
|
1037
1037
|
}
|
|
1038
|
-
function _unsupportedIterableToArray$
|
|
1038
|
+
function _unsupportedIterableToArray$b(o2, minLen) {
|
|
1039
1039
|
if (!o2)
|
|
1040
1040
|
return;
|
|
1041
1041
|
if (typeof o2 === "string")
|
|
1042
|
-
return _arrayLikeToArray$
|
|
1042
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1043
1043
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
1044
1044
|
if (n2 === "Object" && o2.constructor)
|
|
1045
1045
|
n2 = o2.constructor.name;
|
|
1046
1046
|
if (n2 === "Map" || n2 === "Set")
|
|
1047
1047
|
return Array.from(o2);
|
|
1048
1048
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
1049
|
-
return _arrayLikeToArray$
|
|
1049
|
+
return _arrayLikeToArray$b(o2, minLen);
|
|
1050
1050
|
}
|
|
1051
|
-
function _arrayLikeToArray$
|
|
1051
|
+
function _arrayLikeToArray$b(arr, len) {
|
|
1052
1052
|
if (len == null || len > arr.length)
|
|
1053
1053
|
len = arr.length;
|
|
1054
1054
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
1055
1055
|
arr2[i2] = arr[i2];
|
|
1056
1056
|
return arr2;
|
|
1057
1057
|
}
|
|
1058
|
-
function _nonIterableSpread$
|
|
1058
|
+
function _nonIterableSpread$4() {
|
|
1059
1059
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1060
1060
|
}
|
|
1061
1061
|
function _nonIterableRest$a() {
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
var HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
|
|
1103
1103
|
var MUTATION_APPROACH_ASYNC = "async";
|
|
1104
1104
|
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
|
|
1105
|
-
var PRODUCTION$
|
|
1105
|
+
var PRODUCTION$1 = function() {
|
|
1106
1106
|
try {
|
|
1107
1107
|
return true;
|
|
1108
1108
|
} catch (e3) {
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
}
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
|
-
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$
|
|
1122
|
+
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$q(_familyProxy, FAMILY_CLASSIC, {
|
|
1123
1123
|
"fa": "solid",
|
|
1124
1124
|
"fas": "solid",
|
|
1125
1125
|
"fa-solid": "solid",
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
"fa-brands": "brands",
|
|
1136
1136
|
"fak": "kit",
|
|
1137
1137
|
"fa-kit": "kit"
|
|
1138
|
-
}), _defineProperty$
|
|
1138
|
+
}), _defineProperty$q(_familyProxy, FAMILY_SHARP, {
|
|
1139
1139
|
"fa": "solid",
|
|
1140
1140
|
"fass": "solid",
|
|
1141
1141
|
"fa-solid": "solid",
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
"fasl": "light",
|
|
1145
1145
|
"fa-light": "light"
|
|
1146
1146
|
}), _familyProxy));
|
|
1147
|
-
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$
|
|
1147
|
+
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$q(_familyProxy2, FAMILY_CLASSIC, {
|
|
1148
1148
|
"solid": "fas",
|
|
1149
1149
|
"regular": "far",
|
|
1150
1150
|
"light": "fal",
|
|
@@ -1152,12 +1152,12 @@
|
|
|
1152
1152
|
"duotone": "fad",
|
|
1153
1153
|
"brands": "fab",
|
|
1154
1154
|
"kit": "fak"
|
|
1155
|
-
}), _defineProperty$
|
|
1155
|
+
}), _defineProperty$q(_familyProxy2, FAMILY_SHARP, {
|
|
1156
1156
|
"solid": "fass",
|
|
1157
1157
|
"regular": "fasr",
|
|
1158
1158
|
"light": "fasl"
|
|
1159
1159
|
}), _familyProxy2));
|
|
1160
|
-
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$
|
|
1160
|
+
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$q(_familyProxy3, FAMILY_CLASSIC, {
|
|
1161
1161
|
"fab": "fa-brands",
|
|
1162
1162
|
"fad": "fa-duotone",
|
|
1163
1163
|
"fak": "fa-kit",
|
|
@@ -1165,12 +1165,12 @@
|
|
|
1165
1165
|
"far": "fa-regular",
|
|
1166
1166
|
"fas": "fa-solid",
|
|
1167
1167
|
"fat": "fa-thin"
|
|
1168
|
-
}), _defineProperty$
|
|
1168
|
+
}), _defineProperty$q(_familyProxy3, FAMILY_SHARP, {
|
|
1169
1169
|
"fass": "fa-solid",
|
|
1170
1170
|
"fasr": "fa-regular",
|
|
1171
1171
|
"fasl": "fa-light"
|
|
1172
1172
|
}), _familyProxy3));
|
|
1173
|
-
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$
|
|
1173
|
+
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$q(_familyProxy4, FAMILY_CLASSIC, {
|
|
1174
1174
|
"fa-brands": "fab",
|
|
1175
1175
|
"fa-duotone": "fad",
|
|
1176
1176
|
"fa-kit": "fak",
|
|
@@ -1178,7 +1178,7 @@
|
|
|
1178
1178
|
"fa-regular": "far",
|
|
1179
1179
|
"fa-solid": "fas",
|
|
1180
1180
|
"fa-thin": "fat"
|
|
1181
|
-
}), _defineProperty$
|
|
1181
|
+
}), _defineProperty$q(_familyProxy4, FAMILY_SHARP, {
|
|
1182
1182
|
"fa-solid": "fass",
|
|
1183
1183
|
"fa-regular": "fasr",
|
|
1184
1184
|
"fa-light": "fasl"
|
|
@@ -1186,13 +1186,13 @@
|
|
|
1186
1186
|
var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/;
|
|
1187
1187
|
var LAYERS_TEXT_CLASSNAME = "fa-layers-text";
|
|
1188
1188
|
var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i;
|
|
1189
|
-
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$
|
|
1189
|
+
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$q(_familyProxy5, FAMILY_CLASSIC, {
|
|
1190
1190
|
"900": "fas",
|
|
1191
1191
|
"400": "far",
|
|
1192
1192
|
"normal": "far",
|
|
1193
1193
|
"300": "fal",
|
|
1194
1194
|
"100": "fat"
|
|
1195
|
-
}), _defineProperty$
|
|
1195
|
+
}), _defineProperty$q(_familyProxy5, FAMILY_SHARP, {
|
|
1196
1196
|
"900": "fass",
|
|
1197
1197
|
"400": "fasr",
|
|
1198
1198
|
"300": "fasl"
|
|
@@ -1209,7 +1209,7 @@
|
|
|
1209
1209
|
var prefixes = /* @__PURE__ */ new Set();
|
|
1210
1210
|
Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
|
|
1211
1211
|
Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
|
|
1212
|
-
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$
|
|
1212
|
+
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$4(prefixes), ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "fw", "inverse", "layers-counter", "layers-text", "layers", "li", "pull-left", "pull-right", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", DUOTONE_CLASSES.GROUP, DUOTONE_CLASSES.SWAP_OPACITY, DUOTONE_CLASSES.PRIMARY, DUOTONE_CLASSES.SECONDARY]).concat(oneToTen.map(function(n2) {
|
|
1213
1213
|
return "".concat(n2, "x");
|
|
1214
1214
|
})).concat(oneToTwenty.map(function(n2) {
|
|
1215
1215
|
return "w-".concat(n2);
|
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
if (initial.familyPrefix) {
|
|
1259
1259
|
initial.cssPrefix = initial.familyPrefix;
|
|
1260
1260
|
}
|
|
1261
|
-
var _config = _objectSpread2$
|
|
1261
|
+
var _config = _objectSpread2$2(_objectSpread2$2({}, _default$2), initial);
|
|
1262
1262
|
if (!_config.autoReplaceSvg)
|
|
1263
1263
|
_config.observeMutations = false;
|
|
1264
1264
|
var config$1 = {};
|
|
@@ -1562,7 +1562,7 @@
|
|
|
1562
1562
|
if (typeof namespace$1.hooks.addPack === "function" && !skipHooks) {
|
|
1563
1563
|
namespace$1.hooks.addPack(prefix, normalizeIcons(icons));
|
|
1564
1564
|
} else {
|
|
1565
|
-
namespace$1.styles[prefix] = _objectSpread2$
|
|
1565
|
+
namespace$1.styles[prefix] = _objectSpread2$2(_objectSpread2$2({}, namespace$1.styles[prefix] || {}), normalized);
|
|
1566
1566
|
}
|
|
1567
1567
|
if (prefix === "fas") {
|
|
1568
1568
|
defineIcons("fa", icons);
|
|
@@ -1570,14 +1570,14 @@
|
|
|
1570
1570
|
}
|
|
1571
1571
|
var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
|
|
1572
1572
|
var styles = namespace$1.styles, shims = namespace$1.shims;
|
|
1573
|
-
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$
|
|
1573
|
+
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$q(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_LONG_STYLE, FAMILY_SHARP, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _LONG_STYLE);
|
|
1574
1574
|
var _defaultUsablePrefix = null;
|
|
1575
1575
|
var _byUnicode = {};
|
|
1576
1576
|
var _byLigature = {};
|
|
1577
1577
|
var _byOldName = {};
|
|
1578
1578
|
var _byOldUnicode = {};
|
|
1579
1579
|
var _byAlias = {};
|
|
1580
|
-
var PREFIXES = (_PREFIXES = {}, _defineProperty$
|
|
1580
|
+
var PREFIXES = (_PREFIXES = {}, _defineProperty$q(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES, FAMILY_SHARP, Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP])), _PREFIXES);
|
|
1581
1581
|
function isReserved(name2) {
|
|
1582
1582
|
return ~RESERVED_CLASSES.indexOf(name2);
|
|
1583
1583
|
}
|
|
@@ -1713,12 +1713,12 @@
|
|
|
1713
1713
|
var defined = styleOrPrefix in namespace$1.styles ? styleOrPrefix : null;
|
|
1714
1714
|
return prefix || defined || null;
|
|
1715
1715
|
}
|
|
1716
|
-
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$
|
|
1716
|
+
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$q(_PREFIXES_FOR_FAMILY, FAMILY_SHARP, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _PREFIXES_FOR_FAMILY);
|
|
1717
1717
|
function getCanonicalIcon(values) {
|
|
1718
1718
|
var _famProps;
|
|
1719
1719
|
var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1720
1720
|
var _params$skipLookups = params.skipLookups, skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
|
|
1721
|
-
var famProps = (_famProps = {}, _defineProperty$
|
|
1721
|
+
var famProps = (_famProps = {}, _defineProperty$q(_famProps, FAMILY_CLASSIC, "".concat(config$1.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty$q(_famProps, FAMILY_SHARP, "".concat(config$1.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
|
|
1722
1722
|
var givenPrefix = null;
|
|
1723
1723
|
var family = FAMILY_CLASSIC;
|
|
1724
1724
|
if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function(v2) {
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
}
|
|
1791
1791
|
var additions = definitions2.reduce(this._pullDefinitions, {});
|
|
1792
1792
|
Object.keys(additions).forEach(function(key) {
|
|
1793
|
-
_this.definitions[key] = _objectSpread2$
|
|
1793
|
+
_this.definitions[key] = _objectSpread2$2(_objectSpread2$2({}, _this.definitions[key] || {}), additions[key]);
|
|
1794
1794
|
defineIcons(key, additions[key]);
|
|
1795
1795
|
var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
|
|
1796
1796
|
if (longPrefix)
|
|
@@ -1847,7 +1847,7 @@
|
|
|
1847
1847
|
if (typeof mixout[tk] === "function") {
|
|
1848
1848
|
obj[tk] = mixout[tk];
|
|
1849
1849
|
}
|
|
1850
|
-
if (_typeof$
|
|
1850
|
+
if (_typeof$7(mixout[tk]) === "object") {
|
|
1851
1851
|
Object.keys(mixout[tk]).forEach(function(sk) {
|
|
1852
1852
|
if (!obj[tk]) {
|
|
1853
1853
|
obj[tk] = {};
|
|
@@ -1944,7 +1944,7 @@
|
|
|
1944
1944
|
if (_icon === null) {
|
|
1945
1945
|
return null;
|
|
1946
1946
|
}
|
|
1947
|
-
if (_typeof$
|
|
1947
|
+
if (_typeof$7(_icon) === "object" && _icon.prefix && _icon.iconName) {
|
|
1948
1948
|
return {
|
|
1949
1949
|
prefix: _icon.prefix,
|
|
1950
1950
|
iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
|
|
@@ -2023,7 +2023,7 @@
|
|
|
2023
2023
|
x: width / height / 2,
|
|
2024
2024
|
y: 0.5
|
|
2025
2025
|
};
|
|
2026
|
-
attributes2["style"] = joinStyles(_objectSpread2$
|
|
2026
|
+
attributes2["style"] = joinStyles(_objectSpread2$2(_objectSpread2$2({}, styles2), {}, {
|
|
2027
2027
|
"transform-origin": "".concat(offset2.x + transform.x / 16, "em ").concat(offset2.y + transform.y / 16, "em")
|
|
2028
2028
|
}));
|
|
2029
2029
|
}
|
|
@@ -2043,7 +2043,7 @@
|
|
|
2043
2043
|
},
|
|
2044
2044
|
children: [{
|
|
2045
2045
|
tag: "symbol",
|
|
2046
|
-
attributes: _objectSpread2$
|
|
2046
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, attributes2), {}, {
|
|
2047
2047
|
id: id2
|
|
2048
2048
|
}),
|
|
2049
2049
|
children: children2
|
|
@@ -2061,7 +2061,7 @@
|
|
|
2061
2061
|
}).concat(extra.classes).join(" ");
|
|
2062
2062
|
var content2 = {
|
|
2063
2063
|
children: [],
|
|
2064
|
-
attributes: _objectSpread2$
|
|
2064
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, extra.attributes), {}, {
|
|
2065
2065
|
"data-prefix": prefix,
|
|
2066
2066
|
"data-icon": iconName,
|
|
2067
2067
|
"class": attrClass,
|
|
@@ -2086,7 +2086,7 @@
|
|
|
2086
2086
|
});
|
|
2087
2087
|
delete content2.attributes.title;
|
|
2088
2088
|
}
|
|
2089
|
-
var args = _objectSpread2$
|
|
2089
|
+
var args = _objectSpread2$2(_objectSpread2$2({}, content2), {}, {
|
|
2090
2090
|
prefix,
|
|
2091
2091
|
iconName,
|
|
2092
2092
|
main: main2,
|
|
@@ -2094,7 +2094,7 @@
|
|
|
2094
2094
|
maskId,
|
|
2095
2095
|
transform,
|
|
2096
2096
|
symbol,
|
|
2097
|
-
styles: _objectSpread2$
|
|
2097
|
+
styles: _objectSpread2$2(_objectSpread2$2({}, uploadedIconWidthStyle), extra.styles)
|
|
2098
2098
|
});
|
|
2099
2099
|
var _ref22 = mask.found && main2.found ? callProvided("generateAbstractMask", args) || {
|
|
2100
2100
|
children: [],
|
|
@@ -2113,7 +2113,7 @@
|
|
|
2113
2113
|
}
|
|
2114
2114
|
function makeLayersTextAbstract(params) {
|
|
2115
2115
|
var content2 = params.content, width = params.width, height = params.height, transform = params.transform, title = params.title, extra = params.extra, _params$watchable2 = params.watchable, watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
|
|
2116
|
-
var attributes2 = _objectSpread2$
|
|
2116
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2117
2117
|
"title": title
|
|
2118
2118
|
} : {}), {}, {
|
|
2119
2119
|
"class": extra.classes.join(" ")
|
|
@@ -2121,7 +2121,7 @@
|
|
|
2121
2121
|
if (watchable) {
|
|
2122
2122
|
attributes2[DATA_FA_I2SVG] = "";
|
|
2123
2123
|
}
|
|
2124
|
-
var styles2 = _objectSpread2$
|
|
2124
|
+
var styles2 = _objectSpread2$2({}, extra.styles);
|
|
2125
2125
|
if (transformIsMeaningful(transform)) {
|
|
2126
2126
|
styles2["transform"] = transformForCss({
|
|
2127
2127
|
transform,
|
|
@@ -2154,7 +2154,7 @@
|
|
|
2154
2154
|
}
|
|
2155
2155
|
function makeLayersCounterAbstract(params) {
|
|
2156
2156
|
var content2 = params.content, title = params.title, extra = params.extra;
|
|
2157
|
-
var attributes2 = _objectSpread2$
|
|
2157
|
+
var attributes2 = _objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, extra.attributes), title ? {
|
|
2158
2158
|
"title": title
|
|
2159
2159
|
} : {}), {}, {
|
|
2160
2160
|
"class": extra.classes.join(" ")
|
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
height: 512
|
|
2231
2231
|
};
|
|
2232
2232
|
function maybeNotifyMissing(iconName, prefix) {
|
|
2233
|
-
if (!PRODUCTION$
|
|
2233
|
+
if (!PRODUCTION$1 && !config$1.showMissingIcons && iconName) {
|
|
2234
2234
|
console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix, '" is missing.'));
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
@@ -2256,7 +2256,7 @@
|
|
|
2256
2256
|
return resolve2(asFoundIcon(icon2));
|
|
2257
2257
|
}
|
|
2258
2258
|
maybeNotifyMissing(iconName, prefix);
|
|
2259
|
-
resolve2(_objectSpread2$
|
|
2259
|
+
resolve2(_objectSpread2$2(_objectSpread2$2({}, missingIconResolutionMixin), {}, {
|
|
2260
2260
|
icon: config$1.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
|
|
2261
2261
|
}));
|
|
2262
2262
|
});
|
|
@@ -2545,7 +2545,7 @@
|
|
|
2545
2545
|
var extraAttributes = attributesParser(node2);
|
|
2546
2546
|
var pluginMeta = chainHooks("parseNodeAttributes", {}, node2);
|
|
2547
2547
|
var extraStyles = parser2.styleParser ? styleParser(node2) : [];
|
|
2548
|
-
return _objectSpread2$
|
|
2548
|
+
return _objectSpread2$2({
|
|
2549
2549
|
iconName,
|
|
2550
2550
|
title: node2.getAttribute("title"),
|
|
2551
2551
|
titleId: node2.getAttribute("data-fa-title-id"),
|
|
@@ -2582,7 +2582,7 @@
|
|
|
2582
2582
|
});
|
|
2583
2583
|
Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2584
2584
|
Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
2585
|
-
knownPrefixes = _toConsumableArray$
|
|
2585
|
+
knownPrefixes = _toConsumableArray$4(knownPrefixes);
|
|
2586
2586
|
function onTree(root2) {
|
|
2587
2587
|
var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2588
2588
|
if (!IS_DOM)
|
|
@@ -2625,7 +2625,7 @@
|
|
|
2625
2625
|
acc.push(mutation);
|
|
2626
2626
|
}
|
|
2627
2627
|
} catch (e3) {
|
|
2628
|
-
if (!PRODUCTION$
|
|
2628
|
+
if (!PRODUCTION$1) {
|
|
2629
2629
|
if (e3.name === "MissingIcon") {
|
|
2630
2630
|
console.error(e3);
|
|
2631
2631
|
}
|
|
@@ -2666,7 +2666,7 @@
|
|
|
2666
2666
|
if (mask) {
|
|
2667
2667
|
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
|
2668
2668
|
}
|
|
2669
|
-
return next2(iconDefinition, _objectSpread2$
|
|
2669
|
+
return next2(iconDefinition, _objectSpread2$2(_objectSpread2$2({}, params), {}, {
|
|
2670
2670
|
mask
|
|
2671
2671
|
}));
|
|
2672
2672
|
};
|
|
@@ -2677,7 +2677,7 @@
|
|
|
2677
2677
|
if (!iconDefinition)
|
|
2678
2678
|
return;
|
|
2679
2679
|
var prefix = iconDefinition.prefix, iconName = iconDefinition.iconName, icon2 = iconDefinition.icon;
|
|
2680
|
-
return domVariants(_objectSpread2$
|
|
2680
|
+
return domVariants(_objectSpread2$2({
|
|
2681
2681
|
type: "icon"
|
|
2682
2682
|
}, iconDefinition), function() {
|
|
2683
2683
|
callHooks("beforeDOMElementCreation", {
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
},
|
|
2705
2705
|
prefix,
|
|
2706
2706
|
iconName,
|
|
2707
|
-
transform: _objectSpread2$
|
|
2707
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2708
2708
|
symbol,
|
|
2709
2709
|
title,
|
|
2710
2710
|
maskId,
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
return [{
|
|
2812
2812
|
tag: "span",
|
|
2813
2813
|
attributes: {
|
|
2814
|
-
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$
|
|
2814
|
+
class: ["".concat(config$1.cssPrefix, "-layers")].concat(_toConsumableArray$4(classes)).join(" ")
|
|
2815
2815
|
},
|
|
2816
2816
|
children: children2
|
|
2817
2817
|
}];
|
|
@@ -2840,7 +2840,7 @@
|
|
|
2840
2840
|
extra: {
|
|
2841
2841
|
attributes: attributes2,
|
|
2842
2842
|
styles: styles2,
|
|
2843
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$
|
|
2843
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-counter")].concat(_toConsumableArray$4(classes))
|
|
2844
2844
|
}
|
|
2845
2845
|
});
|
|
2846
2846
|
});
|
|
@@ -2864,12 +2864,12 @@
|
|
|
2864
2864
|
});
|
|
2865
2865
|
return makeLayersTextAbstract({
|
|
2866
2866
|
content: content2,
|
|
2867
|
-
transform: _objectSpread2$
|
|
2867
|
+
transform: _objectSpread2$2(_objectSpread2$2({}, meaninglessTransform), transform),
|
|
2868
2868
|
title,
|
|
2869
2869
|
extra: {
|
|
2870
2870
|
attributes: attributes2,
|
|
2871
2871
|
styles: styles2,
|
|
2872
|
-
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$
|
|
2872
|
+
classes: ["".concat(config$1.cssPrefix, "-layers-text")].concat(_toConsumableArray$4(classes))
|
|
2873
2873
|
}
|
|
2874
2874
|
});
|
|
2875
2875
|
});
|
|
@@ -2955,7 +2955,7 @@
|
|
|
2955
2955
|
var extra = meta2.extra;
|
|
2956
2956
|
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position2;
|
|
2957
2957
|
findIcon(iconName, prefix).then(function(main2) {
|
|
2958
|
-
var _abstract = makeInlineSvgAbstract(_objectSpread2$
|
|
2958
|
+
var _abstract = makeInlineSvgAbstract(_objectSpread2$2(_objectSpread2$2({}, meta2), {}, {
|
|
2959
2959
|
icons: {
|
|
2960
2960
|
main: main2,
|
|
2961
2961
|
mask: emptyCanonicalIcon()
|
|
@@ -3154,14 +3154,14 @@
|
|
|
3154
3154
|
};
|
|
3155
3155
|
return {
|
|
3156
3156
|
tag: "g",
|
|
3157
|
-
attributes: _objectSpread2$
|
|
3157
|
+
attributes: _objectSpread2$2({}, operations.outer),
|
|
3158
3158
|
children: [{
|
|
3159
3159
|
tag: "g",
|
|
3160
|
-
attributes: _objectSpread2$
|
|
3160
|
+
attributes: _objectSpread2$2({}, operations.inner),
|
|
3161
3161
|
children: [{
|
|
3162
3162
|
tag: main2.icon.tag,
|
|
3163
3163
|
children: main2.icon.children,
|
|
3164
|
-
attributes: _objectSpread2$
|
|
3164
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, main2.icon.attributes), operations.path)
|
|
3165
3165
|
}]
|
|
3166
3166
|
}]
|
|
3167
3167
|
};
|
|
@@ -3217,7 +3217,7 @@
|
|
|
3217
3217
|
});
|
|
3218
3218
|
var maskRect = {
|
|
3219
3219
|
tag: "rect",
|
|
3220
|
-
attributes: _objectSpread2$
|
|
3220
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3221
3221
|
fill: "white"
|
|
3222
3222
|
})
|
|
3223
3223
|
};
|
|
@@ -3226,22 +3226,22 @@
|
|
|
3226
3226
|
} : {};
|
|
3227
3227
|
var maskInnerGroup = {
|
|
3228
3228
|
tag: "g",
|
|
3229
|
-
attributes: _objectSpread2$
|
|
3230
|
-
children: [fillBlack(_objectSpread2$
|
|
3229
|
+
attributes: _objectSpread2$2({}, trans.inner),
|
|
3230
|
+
children: [fillBlack(_objectSpread2$2({
|
|
3231
3231
|
tag: mainPath.tag,
|
|
3232
|
-
attributes: _objectSpread2$
|
|
3232
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, mainPath.attributes), trans.path)
|
|
3233
3233
|
}, maskInnerGroupChildrenMixin))]
|
|
3234
3234
|
};
|
|
3235
3235
|
var maskOuterGroup = {
|
|
3236
3236
|
tag: "g",
|
|
3237
|
-
attributes: _objectSpread2$
|
|
3237
|
+
attributes: _objectSpread2$2({}, trans.outer),
|
|
3238
3238
|
children: [maskInnerGroup]
|
|
3239
3239
|
};
|
|
3240
3240
|
var maskId = "mask-".concat(explicitMaskId || nextUniqueId$1());
|
|
3241
3241
|
var clipId = "clip-".concat(explicitMaskId || nextUniqueId$1());
|
|
3242
3242
|
var maskTag = {
|
|
3243
3243
|
tag: "mask",
|
|
3244
|
-
attributes: _objectSpread2$
|
|
3244
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ALL_SPACE), {}, {
|
|
3245
3245
|
id: maskId,
|
|
3246
3246
|
maskUnits: "userSpaceOnUse",
|
|
3247
3247
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
};
|
|
3261
3261
|
children2.push(defs2, {
|
|
3262
3262
|
tag: "rect",
|
|
3263
|
-
attributes: _objectSpread2$
|
|
3263
|
+
attributes: _objectSpread2$2({
|
|
3264
3264
|
fill: "currentColor",
|
|
3265
3265
|
"clip-path": "url(#".concat(clipId, ")"),
|
|
3266
3266
|
mask: "url(#".concat(maskId, ")")
|
|
@@ -3291,16 +3291,16 @@
|
|
|
3291
3291
|
};
|
|
3292
3292
|
gChildren.push({
|
|
3293
3293
|
tag: "path",
|
|
3294
|
-
attributes: _objectSpread2$
|
|
3294
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3295
3295
|
d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
|
|
3296
3296
|
})
|
|
3297
3297
|
});
|
|
3298
|
-
var OPACITY_ANIMATE = _objectSpread2$
|
|
3298
|
+
var OPACITY_ANIMATE = _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3299
3299
|
attributeName: "opacity"
|
|
3300
3300
|
});
|
|
3301
3301
|
var dot2 = {
|
|
3302
3302
|
tag: "circle",
|
|
3303
|
-
attributes: _objectSpread2$
|
|
3303
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3304
3304
|
cx: "256",
|
|
3305
3305
|
cy: "364",
|
|
3306
3306
|
r: "28"
|
|
@@ -3310,13 +3310,13 @@
|
|
|
3310
3310
|
if (!reduceMotion) {
|
|
3311
3311
|
dot2.children.push({
|
|
3312
3312
|
tag: "animate",
|
|
3313
|
-
attributes: _objectSpread2$
|
|
3313
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, ANIMATION_BASE), {}, {
|
|
3314
3314
|
attributeName: "r",
|
|
3315
3315
|
values: "28;14;28;28;14;28;"
|
|
3316
3316
|
})
|
|
3317
3317
|
}, {
|
|
3318
3318
|
tag: "animate",
|
|
3319
|
-
attributes: _objectSpread2$
|
|
3319
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3320
3320
|
values: "1;0;1;1;0;1;"
|
|
3321
3321
|
})
|
|
3322
3322
|
});
|
|
@@ -3324,13 +3324,13 @@
|
|
|
3324
3324
|
gChildren.push(dot2);
|
|
3325
3325
|
gChildren.push({
|
|
3326
3326
|
tag: "path",
|
|
3327
|
-
attributes: _objectSpread2$
|
|
3327
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3328
3328
|
opacity: "1",
|
|
3329
3329
|
d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
|
|
3330
3330
|
}),
|
|
3331
3331
|
children: reduceMotion ? [] : [{
|
|
3332
3332
|
tag: "animate",
|
|
3333
|
-
attributes: _objectSpread2$
|
|
3333
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3334
3334
|
values: "1;0;0;0;0;1;"
|
|
3335
3335
|
})
|
|
3336
3336
|
}]
|
|
@@ -3338,13 +3338,13 @@
|
|
|
3338
3338
|
if (!reduceMotion) {
|
|
3339
3339
|
gChildren.push({
|
|
3340
3340
|
tag: "path",
|
|
3341
|
-
attributes: _objectSpread2$
|
|
3341
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, FILL), {}, {
|
|
3342
3342
|
opacity: "0",
|
|
3343
3343
|
d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
|
|
3344
3344
|
}),
|
|
3345
3345
|
children: [{
|
|
3346
3346
|
tag: "animate",
|
|
3347
|
-
attributes: _objectSpread2$
|
|
3347
|
+
attributes: _objectSpread2$2(_objectSpread2$2({}, OPACITY_ANIMATE), {}, {
|
|
3348
3348
|
values: "0;0;1;1;0;0;"
|
|
3349
3349
|
})
|
|
3350
3350
|
}]
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
{
|
|
3441
3441
|
propTypes.exports = factoryWithThrowingShims();
|
|
3442
3442
|
}
|
|
3443
|
-
function ownKeys$
|
|
3443
|
+
function ownKeys$7(object2, enumerableOnly) {
|
|
3444
3444
|
var keys2 = Object.keys(object2);
|
|
3445
3445
|
if (Object.getOwnPropertySymbols) {
|
|
3446
3446
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -3450,26 +3450,26 @@
|
|
|
3450
3450
|
}
|
|
3451
3451
|
return keys2;
|
|
3452
3452
|
}
|
|
3453
|
-
function _objectSpread2$
|
|
3453
|
+
function _objectSpread2$1(target) {
|
|
3454
3454
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
3455
3455
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
3456
|
-
i2 % 2 ? ownKeys$
|
|
3457
|
-
_defineProperty$
|
|
3458
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
3456
|
+
i2 % 2 ? ownKeys$7(Object(source), true).forEach(function(key) {
|
|
3457
|
+
_defineProperty$p(target, key, source[key]);
|
|
3458
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function(key) {
|
|
3459
3459
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
3460
3460
|
});
|
|
3461
3461
|
}
|
|
3462
3462
|
return target;
|
|
3463
3463
|
}
|
|
3464
|
-
function _typeof$
|
|
3464
|
+
function _typeof$6(obj) {
|
|
3465
3465
|
"@babel/helpers - typeof";
|
|
3466
|
-
return _typeof$
|
|
3466
|
+
return _typeof$6 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
3467
3467
|
return typeof obj2;
|
|
3468
3468
|
} : function(obj2) {
|
|
3469
3469
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
3470
|
-
}, _typeof$
|
|
3470
|
+
}, _typeof$6(obj);
|
|
3471
3471
|
}
|
|
3472
|
-
function _defineProperty$
|
|
3472
|
+
function _defineProperty$p(obj, key, value) {
|
|
3473
3473
|
if (key in obj) {
|
|
3474
3474
|
Object.defineProperty(obj, key, {
|
|
3475
3475
|
value,
|
|
@@ -3482,7 +3482,7 @@
|
|
|
3482
3482
|
}
|
|
3483
3483
|
return obj;
|
|
3484
3484
|
}
|
|
3485
|
-
function _objectWithoutPropertiesLoose$
|
|
3485
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
3486
3486
|
if (source == null)
|
|
3487
3487
|
return {};
|
|
3488
3488
|
var target = {};
|
|
@@ -3496,10 +3496,10 @@
|
|
|
3496
3496
|
}
|
|
3497
3497
|
return target;
|
|
3498
3498
|
}
|
|
3499
|
-
function _objectWithoutProperties$
|
|
3499
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
3500
3500
|
if (source == null)
|
|
3501
3501
|
return {};
|
|
3502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
3502
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
3503
3503
|
var key, i2;
|
|
3504
3504
|
if (Object.getOwnPropertySymbols) {
|
|
3505
3505
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -3514,41 +3514,41 @@
|
|
|
3514
3514
|
}
|
|
3515
3515
|
return target;
|
|
3516
3516
|
}
|
|
3517
|
-
function _toConsumableArray$
|
|
3518
|
-
return _arrayWithoutHoles$
|
|
3517
|
+
function _toConsumableArray$3(arr) {
|
|
3518
|
+
return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$a(arr) || _nonIterableSpread$3();
|
|
3519
3519
|
}
|
|
3520
|
-
function _arrayWithoutHoles$
|
|
3520
|
+
function _arrayWithoutHoles$3(arr) {
|
|
3521
3521
|
if (Array.isArray(arr))
|
|
3522
|
-
return _arrayLikeToArray$
|
|
3522
|
+
return _arrayLikeToArray$a(arr);
|
|
3523
3523
|
}
|
|
3524
|
-
function _iterableToArray$
|
|
3524
|
+
function _iterableToArray$3(iter2) {
|
|
3525
3525
|
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
3526
3526
|
return Array.from(iter2);
|
|
3527
3527
|
}
|
|
3528
|
-
function _unsupportedIterableToArray$
|
|
3528
|
+
function _unsupportedIterableToArray$a(o2, minLen) {
|
|
3529
3529
|
if (!o2)
|
|
3530
3530
|
return;
|
|
3531
3531
|
if (typeof o2 === "string")
|
|
3532
|
-
return _arrayLikeToArray$
|
|
3532
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3533
3533
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
3534
3534
|
if (n2 === "Object" && o2.constructor)
|
|
3535
3535
|
n2 = o2.constructor.name;
|
|
3536
3536
|
if (n2 === "Map" || n2 === "Set")
|
|
3537
3537
|
return Array.from(o2);
|
|
3538
3538
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
3539
|
-
return _arrayLikeToArray$
|
|
3539
|
+
return _arrayLikeToArray$a(o2, minLen);
|
|
3540
3540
|
}
|
|
3541
|
-
function _arrayLikeToArray$
|
|
3541
|
+
function _arrayLikeToArray$a(arr, len) {
|
|
3542
3542
|
if (len == null || len > arr.length)
|
|
3543
3543
|
len = arr.length;
|
|
3544
3544
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
3545
3545
|
arr2[i2] = arr[i2];
|
|
3546
3546
|
return arr2;
|
|
3547
3547
|
}
|
|
3548
|
-
function _nonIterableSpread$
|
|
3548
|
+
function _nonIterableSpread$3() {
|
|
3549
3549
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
3550
3550
|
}
|
|
3551
|
-
function classList$
|
|
3551
|
+
function classList$1(props) {
|
|
3552
3552
|
var _classes;
|
|
3553
3553
|
var beat = props.beat, fade = props.fade, beatFade = props.beatFade, bounce = props.bounce, shake = props.shake, flash = props.flash, spin = props.spin, spinPulse = props.spinPulse, spinReverse = props.spinReverse, pulse = props.pulse, fixedWidth = props.fixedWidth, inverse = props.inverse, border = props.border, listItem2 = props.listItem, flip2 = props.flip, size = props.size, rotation2 = props.rotation, pull = props.pull;
|
|
3554
3554
|
var classes = (_classes = {
|
|
@@ -3569,19 +3569,19 @@
|
|
|
3569
3569
|
"fa-flip": flip2 === true,
|
|
3570
3570
|
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
3571
3571
|
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
3572
|
-
}, _defineProperty$
|
|
3572
|
+
}, _defineProperty$p(_classes, "fa-".concat(size), typeof size !== "undefined" && size !== null), _defineProperty$p(_classes, "fa-rotate-".concat(rotation2), typeof rotation2 !== "undefined" && rotation2 !== null && rotation2 !== 0), _defineProperty$p(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$p(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
3573
3573
|
return Object.keys(classes).map(function(key) {
|
|
3574
3574
|
return classes[key] ? key : null;
|
|
3575
3575
|
}).filter(function(key) {
|
|
3576
3576
|
return key;
|
|
3577
3577
|
});
|
|
3578
3578
|
}
|
|
3579
|
-
function _isNumerical
|
|
3579
|
+
function _isNumerical(obj) {
|
|
3580
3580
|
obj = obj - 0;
|
|
3581
3581
|
return obj === obj;
|
|
3582
3582
|
}
|
|
3583
|
-
function camelize
|
|
3584
|
-
if (_isNumerical
|
|
3583
|
+
function camelize(string2) {
|
|
3584
|
+
if (_isNumerical(string2)) {
|
|
3585
3585
|
return string2;
|
|
3586
3586
|
}
|
|
3587
3587
|
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
@@ -3590,29 +3590,29 @@
|
|
|
3590
3590
|
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
3591
3591
|
}
|
|
3592
3592
|
var _excluded$5 = ["style"];
|
|
3593
|
-
function capitalize$
|
|
3593
|
+
function capitalize$1(val) {
|
|
3594
3594
|
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
3595
3595
|
}
|
|
3596
|
-
function styleToObject$
|
|
3596
|
+
function styleToObject$1(style2) {
|
|
3597
3597
|
return style2.split(";").map(function(s2) {
|
|
3598
3598
|
return s2.trim();
|
|
3599
3599
|
}).filter(function(s2) {
|
|
3600
3600
|
return s2;
|
|
3601
3601
|
}).reduce(function(acc, pair2) {
|
|
3602
3602
|
var i2 = pair2.indexOf(":");
|
|
3603
|
-
var prop = camelize
|
|
3603
|
+
var prop = camelize(pair2.slice(0, i2));
|
|
3604
3604
|
var value = pair2.slice(i2 + 1).trim();
|
|
3605
|
-
prop.startsWith("webkit") ? acc[capitalize$
|
|
3605
|
+
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
3606
3606
|
return acc;
|
|
3607
3607
|
}, {});
|
|
3608
3608
|
}
|
|
3609
|
-
function convert$
|
|
3609
|
+
function convert$1(createElement2, element2) {
|
|
3610
3610
|
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3611
3611
|
if (typeof element2 === "string") {
|
|
3612
3612
|
return element2;
|
|
3613
3613
|
}
|
|
3614
3614
|
var children2 = (element2.children || []).map(function(child) {
|
|
3615
|
-
return convert$
|
|
3615
|
+
return convert$1(createElement2, child);
|
|
3616
3616
|
});
|
|
3617
3617
|
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
3618
3618
|
var val = element2.attributes[key];
|
|
@@ -3622,36 +3622,36 @@
|
|
|
3622
3622
|
delete element2.attributes["class"];
|
|
3623
3623
|
break;
|
|
3624
3624
|
case "style":
|
|
3625
|
-
acc.attrs["style"] = styleToObject$
|
|
3625
|
+
acc.attrs["style"] = styleToObject$1(val);
|
|
3626
3626
|
break;
|
|
3627
3627
|
default:
|
|
3628
3628
|
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
3629
3629
|
acc.attrs[key.toLowerCase()] = val;
|
|
3630
3630
|
} else {
|
|
3631
|
-
acc.attrs[camelize
|
|
3631
|
+
acc.attrs[camelize(key)] = val;
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
return acc;
|
|
3635
3635
|
}, {
|
|
3636
3636
|
attrs: {}
|
|
3637
3637
|
});
|
|
3638
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$
|
|
3639
|
-
mixins.attrs["style"] = _objectSpread2$
|
|
3640
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2$
|
|
3638
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$2(extraProps, _excluded$5);
|
|
3639
|
+
mixins.attrs["style"] = _objectSpread2$1(_objectSpread2$1({}, mixins.attrs["style"]), existingStyle);
|
|
3640
|
+
return createElement2.apply(void 0, [element2.tag, _objectSpread2$1(_objectSpread2$1({}, mixins.attrs), remaining)].concat(_toConsumableArray$3(children2)));
|
|
3641
3641
|
}
|
|
3642
|
-
var PRODUCTION
|
|
3642
|
+
var PRODUCTION = false;
|
|
3643
3643
|
try {
|
|
3644
|
-
PRODUCTION
|
|
3644
|
+
PRODUCTION = true;
|
|
3645
3645
|
} catch (e3) {
|
|
3646
3646
|
}
|
|
3647
|
-
function log
|
|
3648
|
-
if (!PRODUCTION
|
|
3647
|
+
function log() {
|
|
3648
|
+
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
3649
3649
|
var _console;
|
|
3650
3650
|
(_console = console).error.apply(_console, arguments);
|
|
3651
3651
|
}
|
|
3652
3652
|
}
|
|
3653
|
-
function normalizeIconArgs
|
|
3654
|
-
if (icon2 && _typeof$
|
|
3653
|
+
function normalizeIconArgs(icon2) {
|
|
3654
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
3655
3655
|
return icon2;
|
|
3656
3656
|
}
|
|
3657
3657
|
if (parse$1$1.icon) {
|
|
@@ -3660,7 +3660,7 @@
|
|
|
3660
3660
|
if (icon2 === null) {
|
|
3661
3661
|
return null;
|
|
3662
3662
|
}
|
|
3663
|
-
if (icon2 && _typeof$
|
|
3663
|
+
if (icon2 && _typeof$6(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
3664
3664
|
return icon2;
|
|
3665
3665
|
}
|
|
3666
3666
|
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
@@ -3676,23 +3676,23 @@
|
|
|
3676
3676
|
};
|
|
3677
3677
|
}
|
|
3678
3678
|
}
|
|
3679
|
-
function objectWithKey
|
|
3680
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$
|
|
3679
|
+
function objectWithKey(key, value) {
|
|
3680
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$p({}, key, value) : {};
|
|
3681
3681
|
}
|
|
3682
|
-
var FontAwesomeIcon
|
|
3682
|
+
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
3683
3683
|
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
3684
|
-
var iconLookup = normalizeIconArgs
|
|
3685
|
-
var classes = objectWithKey
|
|
3686
|
-
var transform = objectWithKey
|
|
3687
|
-
var mask = objectWithKey
|
|
3688
|
-
var renderedIcon = icon(iconLookup, _objectSpread2$
|
|
3684
|
+
var iconLookup = normalizeIconArgs(iconArgs);
|
|
3685
|
+
var classes = objectWithKey("classes", [].concat(_toConsumableArray$3(classList$1(props)), _toConsumableArray$3(className.split(" "))));
|
|
3686
|
+
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
3687
|
+
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
3688
|
+
var renderedIcon = icon(iconLookup, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, classes), transform), mask), {}, {
|
|
3689
3689
|
symbol,
|
|
3690
3690
|
title,
|
|
3691
3691
|
titleId,
|
|
3692
3692
|
maskId
|
|
3693
3693
|
}));
|
|
3694
3694
|
if (!renderedIcon) {
|
|
3695
|
-
log
|
|
3695
|
+
log("Could not find icon", iconLookup);
|
|
3696
3696
|
return null;
|
|
3697
3697
|
}
|
|
3698
3698
|
var abstract = renderedIcon.abstract;
|
|
@@ -3700,14 +3700,14 @@
|
|
|
3700
3700
|
ref
|
|
3701
3701
|
};
|
|
3702
3702
|
Object.keys(props).forEach(function(key) {
|
|
3703
|
-
if (!FontAwesomeIcon
|
|
3703
|
+
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
3704
3704
|
extraProps[key] = props[key];
|
|
3705
3705
|
}
|
|
3706
3706
|
});
|
|
3707
|
-
return convertCurry
|
|
3707
|
+
return convertCurry(abstract[0], extraProps);
|
|
3708
3708
|
});
|
|
3709
|
-
FontAwesomeIcon
|
|
3710
|
-
FontAwesomeIcon
|
|
3709
|
+
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
3710
|
+
FontAwesomeIcon.propTypes = {
|
|
3711
3711
|
beat: propTypes.exports.bool,
|
|
3712
3712
|
border: propTypes.exports.bool,
|
|
3713
3713
|
beatFade: propTypes.exports.bool,
|
|
@@ -3736,7 +3736,7 @@
|
|
|
3736
3736
|
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
3737
3737
|
swapOpacity: propTypes.exports.bool
|
|
3738
3738
|
};
|
|
3739
|
-
FontAwesomeIcon
|
|
3739
|
+
FontAwesomeIcon.defaultProps = {
|
|
3740
3740
|
border: false,
|
|
3741
3741
|
className: "",
|
|
3742
3742
|
mask: null,
|
|
@@ -3764,7 +3764,7 @@
|
|
|
3764
3764
|
transform: null,
|
|
3765
3765
|
swapOpacity: false
|
|
3766
3766
|
};
|
|
3767
|
-
var convertCurry
|
|
3767
|
+
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
3768
3768
|
var Icon$2 = function(e3) {
|
|
3769
3769
|
var t2 = {};
|
|
3770
3770
|
function r2(n2) {
|
|
@@ -3886,7 +3886,7 @@
|
|
|
3886
3886
|
t2.default = d2;
|
|
3887
3887
|
}]);
|
|
3888
3888
|
const shouldForwardProp$4 = (prop) => !["asButton"].includes(prop);
|
|
3889
|
-
const StyledFAIcon = styled__default.default(FontAwesomeIcon
|
|
3889
|
+
const StyledFAIcon = styled__default.default(FontAwesomeIcon).withConfig({ shouldForwardProp: shouldForwardProp$4 })`
|
|
3890
3890
|
cursor: ${(props) => props.asButton ? "pointer" : "inherit"};
|
|
3891
3891
|
color: inherit;
|
|
3892
3892
|
${(props) => props.asButton ? `:hover { color: ${props.theme.colors.grey6}; }` : ""}
|
|
@@ -4507,11 +4507,11 @@
|
|
|
4507
4507
|
var _Symbol = Symbol$6;
|
|
4508
4508
|
var Symbol$5 = _Symbol;
|
|
4509
4509
|
var objectProto$e = Object.prototype;
|
|
4510
|
-
var hasOwnProperty$
|
|
4510
|
+
var hasOwnProperty$e = objectProto$e.hasOwnProperty;
|
|
4511
4511
|
var nativeObjectToString$1 = objectProto$e.toString;
|
|
4512
4512
|
var symToStringTag$1 = Symbol$5 ? Symbol$5.toStringTag : void 0;
|
|
4513
4513
|
function getRawTag$1(value) {
|
|
4514
|
-
var isOwn = hasOwnProperty$
|
|
4514
|
+
var isOwn = hasOwnProperty$e.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
4515
4515
|
try {
|
|
4516
4516
|
value[symToStringTag$1] = void 0;
|
|
4517
4517
|
var unmasked = true;
|
|
@@ -4592,9 +4592,9 @@
|
|
|
4592
4592
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
4593
4593
|
var funcProto = Function.prototype, objectProto$c = Object.prototype;
|
|
4594
4594
|
var funcToString = funcProto.toString;
|
|
4595
|
-
var hasOwnProperty$
|
|
4595
|
+
var hasOwnProperty$d = objectProto$c.hasOwnProperty;
|
|
4596
4596
|
var reIsNative = RegExp(
|
|
4597
|
-
"^" + funcToString.call(hasOwnProperty$
|
|
4597
|
+
"^" + funcToString.call(hasOwnProperty$d).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
4598
4598
|
);
|
|
4599
4599
|
function baseIsNative$1(value) {
|
|
4600
4600
|
if (!isObject$8(value) || isMasked(value)) {
|
|
@@ -4635,22 +4635,22 @@
|
|
|
4635
4635
|
var nativeCreate$2 = _nativeCreate;
|
|
4636
4636
|
var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
|
|
4637
4637
|
var objectProto$b = Object.prototype;
|
|
4638
|
-
var hasOwnProperty$
|
|
4638
|
+
var hasOwnProperty$c = objectProto$b.hasOwnProperty;
|
|
4639
4639
|
function hashGet$1(key) {
|
|
4640
4640
|
var data2 = this.__data__;
|
|
4641
4641
|
if (nativeCreate$2) {
|
|
4642
4642
|
var result = data2[key];
|
|
4643
4643
|
return result === HASH_UNDEFINED$2 ? void 0 : result;
|
|
4644
4644
|
}
|
|
4645
|
-
return hasOwnProperty$
|
|
4645
|
+
return hasOwnProperty$c.call(data2, key) ? data2[key] : void 0;
|
|
4646
4646
|
}
|
|
4647
4647
|
var _hashGet = hashGet$1;
|
|
4648
4648
|
var nativeCreate$1 = _nativeCreate;
|
|
4649
4649
|
var objectProto$a = Object.prototype;
|
|
4650
|
-
var hasOwnProperty$
|
|
4650
|
+
var hasOwnProperty$b = objectProto$a.hasOwnProperty;
|
|
4651
4651
|
function hashHas$1(key) {
|
|
4652
4652
|
var data2 = this.__data__;
|
|
4653
|
-
return nativeCreate$1 ? data2[key] !== void 0 : hasOwnProperty$
|
|
4653
|
+
return nativeCreate$1 ? data2[key] !== void 0 : hasOwnProperty$b.call(data2, key);
|
|
4654
4654
|
}
|
|
4655
4655
|
var _hashHas = hashHas$1;
|
|
4656
4656
|
var nativeCreate = _nativeCreate;
|
|
@@ -4984,12 +4984,12 @@
|
|
|
4984
4984
|
var _baseIsArguments = baseIsArguments$1;
|
|
4985
4985
|
var baseIsArguments = _baseIsArguments, isObjectLike$5 = isObjectLike_1;
|
|
4986
4986
|
var objectProto$8 = Object.prototype;
|
|
4987
|
-
var hasOwnProperty$
|
|
4987
|
+
var hasOwnProperty$a = objectProto$8.hasOwnProperty;
|
|
4988
4988
|
var propertyIsEnumerable = objectProto$8.propertyIsEnumerable;
|
|
4989
4989
|
var isArguments$1 = baseIsArguments(function() {
|
|
4990
4990
|
return arguments;
|
|
4991
4991
|
}()) ? baseIsArguments : function(value) {
|
|
4992
|
-
return isObjectLike$5(value) && hasOwnProperty$
|
|
4992
|
+
return isObjectLike$5(value) && hasOwnProperty$a.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
|
4993
4993
|
};
|
|
4994
4994
|
var isArguments_1 = isArguments$1;
|
|
4995
4995
|
var isBuffer$5 = { exports: {} };
|
|
@@ -5061,11 +5061,11 @@
|
|
|
5061
5061
|
var isTypedArray_1 = isTypedArray$2;
|
|
5062
5062
|
var baseTimes = _baseTimes, isArguments = isArguments_1, isArray$c = isArray_1, isBuffer$4 = isBuffer$5.exports, isIndex$1 = _isIndex, isTypedArray$1 = isTypedArray_1;
|
|
5063
5063
|
var objectProto$7 = Object.prototype;
|
|
5064
|
-
var hasOwnProperty$
|
|
5064
|
+
var hasOwnProperty$9 = objectProto$7.hasOwnProperty;
|
|
5065
5065
|
function arrayLikeKeys$2(value, inherited) {
|
|
5066
5066
|
var isArr = isArray$c(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer$4(value), isType2 = !isArr && !isArg && !isBuff && isTypedArray$1(value), skipIndexes = isArr || isArg || isBuff || isType2, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
|
|
5067
5067
|
for (var key in value) {
|
|
5068
|
-
if ((inherited || hasOwnProperty$
|
|
5068
|
+
if ((inherited || hasOwnProperty$9.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType2 && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex$1(key, length2)))) {
|
|
5069
5069
|
result.push(key);
|
|
5070
5070
|
}
|
|
5071
5071
|
}
|
|
@@ -5089,14 +5089,14 @@
|
|
|
5089
5089
|
var _nativeKeys = nativeKeys$1;
|
|
5090
5090
|
var isPrototype$2 = _isPrototype, nativeKeys = _nativeKeys;
|
|
5091
5091
|
var objectProto$5 = Object.prototype;
|
|
5092
|
-
var hasOwnProperty$
|
|
5092
|
+
var hasOwnProperty$8 = objectProto$5.hasOwnProperty;
|
|
5093
5093
|
function baseKeys$1(object2) {
|
|
5094
5094
|
if (!isPrototype$2(object2)) {
|
|
5095
5095
|
return nativeKeys(object2);
|
|
5096
5096
|
}
|
|
5097
5097
|
var result = [];
|
|
5098
5098
|
for (var key in Object(object2)) {
|
|
5099
|
-
if (hasOwnProperty$
|
|
5099
|
+
if (hasOwnProperty$8.call(object2, key) && key != "constructor") {
|
|
5100
5100
|
result.push(key);
|
|
5101
5101
|
}
|
|
5102
5102
|
}
|
|
@@ -5121,7 +5121,7 @@
|
|
|
5121
5121
|
var getAllKeys$1 = _getAllKeys;
|
|
5122
5122
|
var COMPARE_PARTIAL_FLAG$1 = 1;
|
|
5123
5123
|
var objectProto$4 = Object.prototype;
|
|
5124
|
-
var hasOwnProperty$
|
|
5124
|
+
var hasOwnProperty$7 = objectProto$4.hasOwnProperty;
|
|
5125
5125
|
function equalObjects$1(object2, other, bitmask, customizer, equalFunc, stack) {
|
|
5126
5126
|
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1, objProps = getAllKeys$1(object2), objLength = objProps.length, othProps = getAllKeys$1(other), othLength = othProps.length;
|
|
5127
5127
|
if (objLength != othLength && !isPartial) {
|
|
@@ -5130,7 +5130,7 @@
|
|
|
5130
5130
|
var index2 = objLength;
|
|
5131
5131
|
while (index2--) {
|
|
5132
5132
|
var key = objProps[index2];
|
|
5133
|
-
if (!(isPartial ? key in other : hasOwnProperty$
|
|
5133
|
+
if (!(isPartial ? key in other : hasOwnProperty$7.call(other, key))) {
|
|
5134
5134
|
return false;
|
|
5135
5135
|
}
|
|
5136
5136
|
}
|
|
@@ -5208,7 +5208,7 @@
|
|
|
5208
5208
|
var COMPARE_PARTIAL_FLAG = 1;
|
|
5209
5209
|
var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", objectTag$1 = "[object Object]";
|
|
5210
5210
|
var objectProto$3 = Object.prototype;
|
|
5211
|
-
var hasOwnProperty$
|
|
5211
|
+
var hasOwnProperty$6 = objectProto$3.hasOwnProperty;
|
|
5212
5212
|
function baseIsEqualDeep$1(object2, other, bitmask, customizer, equalFunc, stack) {
|
|
5213
5213
|
var objIsArr = isArray$b(object2), othIsArr = isArray$b(other), objTag = objIsArr ? arrayTag$1 : getTag$3(object2), othTag = othIsArr ? arrayTag$1 : getTag$3(other);
|
|
5214
5214
|
objTag = objTag == argsTag$1 ? objectTag$1 : objTag;
|
|
@@ -5226,7 +5226,7 @@
|
|
|
5226
5226
|
return objIsArr || isTypedArray(object2) ? equalArrays(object2, other, bitmask, customizer, equalFunc, stack) : equalByTag(object2, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
5227
5227
|
}
|
|
5228
5228
|
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
5229
|
-
var objIsWrapped = objIsObj && hasOwnProperty$
|
|
5229
|
+
var objIsWrapped = objIsObj && hasOwnProperty$6.call(object2, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$6.call(other, "__wrapped__");
|
|
5230
5230
|
if (objIsWrapped || othIsWrapped) {
|
|
5231
5231
|
var objUnwrapped = objIsWrapped ? object2.value() : object2, othUnwrapped = othIsWrapped ? other.value() : other;
|
|
5232
5232
|
stack || (stack = new Stack$4());
|
|
@@ -5488,6 +5488,55 @@
|
|
|
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
|
+
}
|
|
5491
5540
|
function useIntersectionObserver(ref, rootMargin = "0px", threshold = 1) {
|
|
5492
5541
|
const [isIntersecting, setIntersecting] = React.useState(false);
|
|
5493
5542
|
React.useEffect(() => {
|
|
@@ -5769,8 +5818,8 @@
|
|
|
5769
5818
|
border: 1px solid ${(props) => props.color};
|
|
5770
5819
|
border-radius: ${(props) => props.height ? `${props.height / 2}px` : "1rem"};
|
|
5771
5820
|
`;
|
|
5772
|
-
function _extends$
|
|
5773
|
-
_extends$
|
|
5821
|
+
function _extends$2() {
|
|
5822
|
+
_extends$2 = Object.assign ? Object.assign.bind() : function(target) {
|
|
5774
5823
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
5775
5824
|
var source = arguments[i2];
|
|
5776
5825
|
for (var key in source) {
|
|
@@ -5781,36 +5830,40 @@
|
|
|
5781
5830
|
}
|
|
5782
5831
|
return target;
|
|
5783
5832
|
};
|
|
5784
|
-
return _extends$
|
|
5833
|
+
return _extends$2.apply(this, arguments);
|
|
5785
5834
|
}
|
|
5786
|
-
function _assertThisInitialized$
|
|
5835
|
+
function _assertThisInitialized$2(self2) {
|
|
5787
5836
|
if (self2 === void 0) {
|
|
5788
5837
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5789
5838
|
}
|
|
5790
5839
|
return self2;
|
|
5791
5840
|
}
|
|
5792
|
-
function _setPrototypeOf$
|
|
5793
|
-
_setPrototypeOf$
|
|
5841
|
+
function _setPrototypeOf$2(o2, p2) {
|
|
5842
|
+
_setPrototypeOf$2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
|
|
5794
5843
|
o3.__proto__ = p3;
|
|
5795
5844
|
return o3;
|
|
5796
5845
|
};
|
|
5797
|
-
return _setPrototypeOf$
|
|
5846
|
+
return _setPrototypeOf$2(o2, p2);
|
|
5798
5847
|
}
|
|
5799
|
-
function _inheritsLoose$
|
|
5848
|
+
function _inheritsLoose$1(subClass, superClass) {
|
|
5800
5849
|
subClass.prototype = Object.create(superClass.prototype);
|
|
5801
5850
|
subClass.prototype.constructor = subClass;
|
|
5802
|
-
_setPrototypeOf$
|
|
5851
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
5803
5852
|
}
|
|
5804
|
-
function _getPrototypeOf$
|
|
5805
|
-
_getPrototypeOf$
|
|
5853
|
+
function _getPrototypeOf$1(o2) {
|
|
5854
|
+
_getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
|
|
5806
5855
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
5807
5856
|
};
|
|
5808
|
-
return _getPrototypeOf$
|
|
5857
|
+
return _getPrototypeOf$1(o2);
|
|
5809
5858
|
}
|
|
5810
|
-
function _isNativeFunction
|
|
5811
|
-
|
|
5859
|
+
function _isNativeFunction(fn2) {
|
|
5860
|
+
try {
|
|
5861
|
+
return Function.toString.call(fn2).indexOf("[native code]") !== -1;
|
|
5862
|
+
} catch (e3) {
|
|
5863
|
+
return typeof fn2 === "function";
|
|
5864
|
+
}
|
|
5812
5865
|
}
|
|
5813
|
-
function _isNativeReflectConstruct$
|
|
5866
|
+
function _isNativeReflectConstruct$1() {
|
|
5814
5867
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
5815
5868
|
return false;
|
|
5816
5869
|
if (Reflect.construct.sham)
|
|
@@ -5825,26 +5878,26 @@
|
|
|
5825
5878
|
return false;
|
|
5826
5879
|
}
|
|
5827
5880
|
}
|
|
5828
|
-
function _construct
|
|
5829
|
-
if (_isNativeReflectConstruct$
|
|
5830
|
-
_construct
|
|
5881
|
+
function _construct(Parent, args, Class) {
|
|
5882
|
+
if (_isNativeReflectConstruct$1()) {
|
|
5883
|
+
_construct = Reflect.construct.bind();
|
|
5831
5884
|
} else {
|
|
5832
|
-
_construct
|
|
5885
|
+
_construct = function _construct2(Parent2, args2, Class2) {
|
|
5833
5886
|
var a2 = [null];
|
|
5834
5887
|
a2.push.apply(a2, args2);
|
|
5835
5888
|
var Constructor = Function.bind.apply(Parent2, a2);
|
|
5836
5889
|
var instance2 = new Constructor();
|
|
5837
5890
|
if (Class2)
|
|
5838
|
-
_setPrototypeOf$
|
|
5891
|
+
_setPrototypeOf$2(instance2, Class2.prototype);
|
|
5839
5892
|
return instance2;
|
|
5840
5893
|
};
|
|
5841
5894
|
}
|
|
5842
|
-
return _construct
|
|
5895
|
+
return _construct.apply(null, arguments);
|
|
5843
5896
|
}
|
|
5844
|
-
function _wrapNativeSuper
|
|
5897
|
+
function _wrapNativeSuper(Class) {
|
|
5845
5898
|
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
5846
|
-
_wrapNativeSuper
|
|
5847
|
-
if (Class2 === null || !_isNativeFunction
|
|
5899
|
+
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
5900
|
+
if (Class2 === null || !_isNativeFunction(Class2))
|
|
5848
5901
|
return Class2;
|
|
5849
5902
|
if (typeof Class2 !== "function") {
|
|
5850
5903
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -5855,7 +5908,7 @@
|
|
|
5855
5908
|
_cache.set(Class2, Wrapper2);
|
|
5856
5909
|
}
|
|
5857
5910
|
function Wrapper2() {
|
|
5858
|
-
return _construct
|
|
5911
|
+
return _construct(Class2, arguments, _getPrototypeOf$1(this).constructor);
|
|
5859
5912
|
}
|
|
5860
5913
|
Wrapper2.prototype = Object.create(Class2.prototype, {
|
|
5861
5914
|
constructor: {
|
|
@@ -5865,21 +5918,21 @@
|
|
|
5865
5918
|
configurable: true
|
|
5866
5919
|
}
|
|
5867
5920
|
});
|
|
5868
|
-
return _setPrototypeOf$
|
|
5921
|
+
return _setPrototypeOf$2(Wrapper2, Class2);
|
|
5869
5922
|
};
|
|
5870
|
-
return _wrapNativeSuper
|
|
5923
|
+
return _wrapNativeSuper(Class);
|
|
5871
5924
|
}
|
|
5872
5925
|
var PolishedError$1 = /* @__PURE__ */ function(_Error) {
|
|
5873
|
-
_inheritsLoose$
|
|
5926
|
+
_inheritsLoose$1(PolishedError2, _Error);
|
|
5874
5927
|
function PolishedError2(code2) {
|
|
5875
5928
|
var _this;
|
|
5876
5929
|
{
|
|
5877
5930
|
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/master/src/internalHelpers/errors.md#" + code2 + " for more information.") || this;
|
|
5878
5931
|
}
|
|
5879
|
-
return _assertThisInitialized$
|
|
5932
|
+
return _assertThisInitialized$2(_this);
|
|
5880
5933
|
}
|
|
5881
5934
|
return PolishedError2;
|
|
5882
|
-
}(/* @__PURE__ */ _wrapNativeSuper
|
|
5935
|
+
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
5883
5936
|
function colorToInt$1(color2) {
|
|
5884
5937
|
return Math.round(color2 * 255);
|
|
5885
5938
|
}
|
|
@@ -6223,7 +6276,7 @@
|
|
|
6223
6276
|
return color2;
|
|
6224
6277
|
var parsedColor = parseToRgb$1(color2);
|
|
6225
6278
|
var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
6226
|
-
var colorWithAlpha = _extends$
|
|
6279
|
+
var colorWithAlpha = _extends$2({}, parsedColor, {
|
|
6227
6280
|
alpha: guard$1(0, 1, (alpha * 100 - parseFloat(amount) * 100) / 100)
|
|
6228
6281
|
});
|
|
6229
6282
|
return rgba$3(colorWithAlpha);
|
|
@@ -7149,7 +7202,7 @@
|
|
|
7149
7202
|
setPreviousFilter(filterValue);
|
|
7150
7203
|
}, children: "Apply" })] });
|
|
7151
7204
|
}
|
|
7152
|
-
function _objectWithoutPropertiesLoose$
|
|
7205
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
7153
7206
|
if (source == null)
|
|
7154
7207
|
return {};
|
|
7155
7208
|
var target = {};
|
|
@@ -7693,7 +7746,7 @@
|
|
|
7693
7746
|
}
|
|
7694
7747
|
});
|
|
7695
7748
|
if (props.onStateChange && Object.keys(changes).length) {
|
|
7696
|
-
props.onStateChange(_extends$
|
|
7749
|
+
props.onStateChange(_extends$2({
|
|
7697
7750
|
type
|
|
7698
7751
|
}, changes));
|
|
7699
7752
|
}
|
|
@@ -7702,7 +7755,7 @@
|
|
|
7702
7755
|
var props = action.props, type = action.type;
|
|
7703
7756
|
var handler = "on" + capitalizeString(key) + "Change";
|
|
7704
7757
|
if (props[handler] && newState[key] !== void 0 && newState[key] !== state[key]) {
|
|
7705
|
-
props[handler](_extends$
|
|
7758
|
+
props[handler](_extends$2({
|
|
7706
7759
|
type
|
|
7707
7760
|
}, newState));
|
|
7708
7761
|
}
|
|
@@ -7766,7 +7819,7 @@
|
|
|
7766
7819
|
actionRef.current = action2;
|
|
7767
7820
|
state2 = getState(state2, action2.props);
|
|
7768
7821
|
var changes = reducer2(state2, action2);
|
|
7769
|
-
var newState = action2.props.stateReducer(state2, _extends$
|
|
7822
|
+
var newState = action2.props.stateReducer(state2, _extends$2({}, action2, {
|
|
7770
7823
|
changes
|
|
7771
7824
|
}));
|
|
7772
7825
|
return newState;
|
|
@@ -7774,7 +7827,7 @@
|
|
|
7774
7827
|
var _useReducer = React.useReducer(enhancedReducer, initialState2), state = _useReducer[0], dispatch2 = _useReducer[1];
|
|
7775
7828
|
var propsRef = useLatestRef(props);
|
|
7776
7829
|
var dispatchWithProps = React.useCallback(function(action2) {
|
|
7777
|
-
return dispatch2(_extends$
|
|
7830
|
+
return dispatch2(_extends$2({
|
|
7778
7831
|
props: propsRef.current
|
|
7779
7832
|
}, action2));
|
|
7780
7833
|
}, [propsRef]);
|
|
@@ -7906,13 +7959,13 @@
|
|
|
7906
7959
|
return noop$5;
|
|
7907
7960
|
};
|
|
7908
7961
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
7909
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
7962
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$3);
|
|
7910
7963
|
React.useEffect(function() {
|
|
7911
7964
|
if (isInitialMount || false) {
|
|
7912
7965
|
return;
|
|
7913
7966
|
}
|
|
7914
7967
|
updateA11yStatus(function() {
|
|
7915
|
-
return getA11yMessage(_extends$
|
|
7968
|
+
return getA11yMessage(_extends$2({
|
|
7916
7969
|
highlightedIndex,
|
|
7917
7970
|
highlightedItem: items[highlightedIndex],
|
|
7918
7971
|
resultCount: items.length
|
|
@@ -7942,10 +7995,10 @@
|
|
|
7942
7995
|
inputValue = true;
|
|
7943
7996
|
}
|
|
7944
7997
|
var shouldSelect = ((_props$items = props.items) == null ? void 0 : _props$items.length) && highlightedIndex >= 0;
|
|
7945
|
-
return _extends$
|
|
7998
|
+
return _extends$2({
|
|
7946
7999
|
isOpen: false,
|
|
7947
8000
|
highlightedIndex: -1
|
|
7948
|
-
}, shouldSelect && _extends$
|
|
8001
|
+
}, shouldSelect && _extends$2({
|
|
7949
8002
|
selectedItem: props.items[highlightedIndex],
|
|
7950
8003
|
isOpen: getDefaultValue$1(props, "isOpen"),
|
|
7951
8004
|
highlightedIndex: getDefaultValue$1(props, "highlightedIndex")
|
|
@@ -8006,7 +8059,7 @@
|
|
|
8006
8059
|
default:
|
|
8007
8060
|
throw new Error("Reducer called without proper action type.");
|
|
8008
8061
|
}
|
|
8009
|
-
return _extends$
|
|
8062
|
+
return _extends$2({}, state, changes);
|
|
8010
8063
|
}
|
|
8011
8064
|
function getItemIndexByCharacterKey(_a3) {
|
|
8012
8065
|
var keysSoFar = _a3.keysSoFar, highlightedIndex = _a3.highlightedIndex, items = _a3.items, itemToString2 = _a3.itemToString, getItemNodeFromIndex = _a3.getItemNodeFromIndex;
|
|
@@ -8202,7 +8255,7 @@
|
|
|
8202
8255
|
};
|
|
8203
8256
|
break;
|
|
8204
8257
|
case ToggleButtonBlur:
|
|
8205
|
-
changes = _extends$
|
|
8258
|
+
changes = _extends$2({
|
|
8206
8259
|
isOpen: false,
|
|
8207
8260
|
highlightedIndex: -1
|
|
8208
8261
|
}, state.highlightedIndex >= 0 && ((_props$items = props.items) == null ? void 0 : _props$items.length) && {
|
|
@@ -8217,7 +8270,7 @@
|
|
|
8217
8270
|
default:
|
|
8218
8271
|
return downshiftCommonReducer(state, action, stateChangeTypes$2$1);
|
|
8219
8272
|
}
|
|
8220
|
-
return _extends$
|
|
8273
|
+
return _extends$2({}, state, changes);
|
|
8221
8274
|
}
|
|
8222
8275
|
var _excluded$2 = ["onMouseLeave", "refKey", "onKeyDown", "onBlur", "ref"], _excluded2$2 = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], _excluded3$1 = ["item", "index", "onMouseMove", "onClick", "onPress", "refKey", "ref", "disabled"];
|
|
8223
8276
|
useSelect.stateChangeTypes = stateChangeTypes$2$1;
|
|
@@ -8225,7 +8278,7 @@
|
|
|
8225
8278
|
if (userProps === void 0) {
|
|
8226
8279
|
userProps = {};
|
|
8227
8280
|
}
|
|
8228
|
-
var props = _extends$
|
|
8281
|
+
var props = _extends$2({}, defaultProps$2$1, userProps);
|
|
8229
8282
|
var items = props.items, scrollIntoView2 = props.scrollIntoView, environment = props.environment, itemToString2 = props.itemToString, getA11ySelectionMessage2 = props.getA11ySelectionMessage, getA11yStatusMessage2 = props.getA11yStatusMessage;
|
|
8230
8283
|
var initialState2 = getInitialState$2(props);
|
|
8231
8284
|
var _useControlledReducer = useControlledReducer$1(downshiftSelectReducer, initialState2, props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
@@ -8244,14 +8297,14 @@
|
|
|
8244
8297
|
var getItemNodeFromIndex = React.useCallback(function(index2) {
|
|
8245
8298
|
return itemRefs.current[elementIds.getItemId(index2)];
|
|
8246
8299
|
}, [elementIds]);
|
|
8247
|
-
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$
|
|
8300
|
+
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$2({
|
|
8248
8301
|
isInitialMount: isInitialMountRef.current,
|
|
8249
8302
|
previousResultCount: previousResultCountRef.current,
|
|
8250
8303
|
items,
|
|
8251
8304
|
environment,
|
|
8252
8305
|
itemToString: itemToString2
|
|
8253
8306
|
}, state));
|
|
8254
|
-
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$
|
|
8307
|
+
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$2({
|
|
8255
8308
|
isInitialMount: isInitialMountRef.current,
|
|
8256
8309
|
previousResultCount: previousResultCountRef.current,
|
|
8257
8310
|
items,
|
|
@@ -8436,7 +8489,7 @@
|
|
|
8436
8489
|
});
|
|
8437
8490
|
}, [dispatch2]);
|
|
8438
8491
|
var getLabelProps = React.useCallback(function(labelProps) {
|
|
8439
|
-
return _extends$
|
|
8492
|
+
return _extends$2({
|
|
8440
8493
|
id: elementIds.labelId,
|
|
8441
8494
|
htmlFor: elementIds.toggleButtonId
|
|
8442
8495
|
}, labelProps);
|
|
@@ -8446,7 +8499,7 @@
|
|
|
8446
8499
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
8447
8500
|
_ref2.onKeyDown;
|
|
8448
8501
|
_ref2.onBlur;
|
|
8449
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
8502
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$2);
|
|
8450
8503
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8451
8504
|
_ref22.suppressRefError;
|
|
8452
8505
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -8454,7 +8507,7 @@
|
|
|
8454
8507
|
type: MenuMouseLeave$1
|
|
8455
8508
|
});
|
|
8456
8509
|
};
|
|
8457
|
-
return _extends$
|
|
8510
|
+
return _extends$2((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
8458
8511
|
menuRef.current = menuNode;
|
|
8459
8512
|
}), _extends2.id = elementIds.menuId, _extends2.role = "listbox", _extends2["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, menuHandleMouseLeave), _extends2), rest);
|
|
8460
8513
|
}, [dispatch2, setGetterPropCallInfo, elementIds]);
|
|
@@ -8462,7 +8515,7 @@
|
|
|
8462
8515
|
var _extends3;
|
|
8463
8516
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
8464
8517
|
_ref3.onPress;
|
|
8465
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
8518
|
+
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$2);
|
|
8466
8519
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
8467
8520
|
_ref4.suppressRefError;
|
|
8468
8521
|
var latestState = latest.current.state;
|
|
@@ -8490,7 +8543,7 @@
|
|
|
8490
8543
|
});
|
|
8491
8544
|
}
|
|
8492
8545
|
};
|
|
8493
|
-
var toggleProps = _extends$
|
|
8546
|
+
var toggleProps = _extends$2((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(toggleButtonNode) {
|
|
8494
8547
|
toggleButtonRef.current = toggleButtonNode;
|
|
8495
8548
|
}), _extends3["aria-activedescendant"] = latestState.isOpen && latestState.highlightedIndex > -1 ? elementIds.getItemId(latestState.highlightedIndex) : "", _extends3["aria-controls"] = elementIds.menuId, _extends3["aria-expanded"] = latest.current.state.isOpen, _extends3["aria-haspopup"] = "listbox", _extends3["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends3.id = elementIds.toggleButtonId, _extends3.role = "combobox", _extends3.tabIndex = 0, _extends3.onBlur = callAllEventHandlers(onBlur, toggleButtonHandleBlur), _extends3), rest);
|
|
8496
8549
|
if (!rest.disabled) {
|
|
@@ -8505,7 +8558,7 @@
|
|
|
8505
8558
|
var _extends4;
|
|
8506
8559
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
8507
8560
|
_ref5.onPress;
|
|
8508
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
8561
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3$1);
|
|
8509
8562
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
8510
8563
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
8511
8564
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -8525,7 +8578,7 @@
|
|
|
8525
8578
|
index: index2
|
|
8526
8579
|
});
|
|
8527
8580
|
};
|
|
8528
|
-
var itemProps = _extends$
|
|
8581
|
+
var itemProps = _extends$2((_extends4 = {
|
|
8529
8582
|
disabled: disabled2,
|
|
8530
8583
|
role: "option",
|
|
8531
8584
|
"aria-selected": "" + (item === selectedItem),
|
|
@@ -8617,7 +8670,7 @@
|
|
|
8617
8670
|
if (inputValue === "" && selectedItem && props.defaultInputValue === void 0 && props.initialInputValue === void 0 && props.inputValue === void 0) {
|
|
8618
8671
|
inputValue = props.itemToString(selectedItem);
|
|
8619
8672
|
}
|
|
8620
|
-
return _extends$
|
|
8673
|
+
return _extends$2({}, initialState2, {
|
|
8621
8674
|
inputValue
|
|
8622
8675
|
});
|
|
8623
8676
|
}
|
|
@@ -8678,7 +8731,7 @@
|
|
|
8678
8731
|
}, [state.selectedItem, props.selectedItem]);
|
|
8679
8732
|
return [getState(state, props), dispatch2];
|
|
8680
8733
|
}
|
|
8681
|
-
var defaultProps$1$1 = _extends$
|
|
8734
|
+
var defaultProps$1$1 = _extends$2({}, defaultProps$3, {
|
|
8682
8735
|
selectedItemChanged: function selectedItemChanged(prevItem, item) {
|
|
8683
8736
|
return prevItem !== item;
|
|
8684
8737
|
},
|
|
@@ -8729,7 +8782,7 @@
|
|
|
8729
8782
|
changes = getChangesOnSelection(props, state.highlightedIndex);
|
|
8730
8783
|
break;
|
|
8731
8784
|
case InputKeyDownEscape:
|
|
8732
|
-
changes = _extends$
|
|
8785
|
+
changes = _extends$2({
|
|
8733
8786
|
isOpen: false,
|
|
8734
8787
|
highlightedIndex: -1
|
|
8735
8788
|
}, !state.isOpen && {
|
|
@@ -8758,7 +8811,7 @@
|
|
|
8758
8811
|
};
|
|
8759
8812
|
break;
|
|
8760
8813
|
case InputBlur:
|
|
8761
|
-
changes = _extends$
|
|
8814
|
+
changes = _extends$2({
|
|
8762
8815
|
isOpen: false,
|
|
8763
8816
|
highlightedIndex: -1
|
|
8764
8817
|
}, state.highlightedIndex >= 0 && ((_props$items = props.items) == null ? void 0 : _props$items.length) && action.selectItem && {
|
|
@@ -8793,15 +8846,15 @@
|
|
|
8793
8846
|
default:
|
|
8794
8847
|
return downshiftCommonReducer(state, action, stateChangeTypes$1$1);
|
|
8795
8848
|
}
|
|
8796
|
-
return _extends$
|
|
8849
|
+
return _extends$2({}, state, changes);
|
|
8797
8850
|
}
|
|
8798
|
-
var _excluded$1
|
|
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"];
|
|
8799
8852
|
useCombobox.stateChangeTypes = stateChangeTypes$1$1;
|
|
8800
8853
|
function useCombobox(userProps) {
|
|
8801
8854
|
if (userProps === void 0) {
|
|
8802
8855
|
userProps = {};
|
|
8803
8856
|
}
|
|
8804
|
-
var props = _extends$
|
|
8857
|
+
var props = _extends$2({}, defaultProps$1$1, userProps);
|
|
8805
8858
|
var initialIsOpen = props.initialIsOpen, defaultIsOpen = props.defaultIsOpen, items = props.items, scrollIntoView2 = props.scrollIntoView, environment = props.environment, getA11yStatusMessage2 = props.getA11yStatusMessage, getA11ySelectionMessage2 = props.getA11ySelectionMessage, itemToString2 = props.itemToString;
|
|
8806
8859
|
var initialState2 = getInitialState$1(props);
|
|
8807
8860
|
var _useControlledReducer = useControlledReducer(downshiftUseComboboxReducer, initialState2, props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
@@ -8820,14 +8873,14 @@
|
|
|
8820
8873
|
var getItemNodeFromIndex = React.useCallback(function(index2) {
|
|
8821
8874
|
return itemRefs.current[elementIds.getItemId(index2)];
|
|
8822
8875
|
}, [elementIds]);
|
|
8823
|
-
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$
|
|
8876
|
+
useA11yMessageSetter(getA11yStatusMessage2, [isOpen, highlightedIndex, inputValue, items], _extends$2({
|
|
8824
8877
|
isInitialMount: isInitialMountRef.current,
|
|
8825
8878
|
previousResultCount: previousResultCountRef.current,
|
|
8826
8879
|
items,
|
|
8827
8880
|
environment,
|
|
8828
8881
|
itemToString: itemToString2
|
|
8829
8882
|
}, state));
|
|
8830
|
-
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$
|
|
8883
|
+
useA11yMessageSetter(getA11ySelectionMessage2, [selectedItem], _extends$2({
|
|
8831
8884
|
isInitialMount: isInitialMountRef.current,
|
|
8832
8885
|
previousResultCount: previousResultCountRef.current,
|
|
8833
8886
|
items,
|
|
@@ -8960,17 +9013,17 @@
|
|
|
8960
9013
|
};
|
|
8961
9014
|
}, [dispatch2, latest, getItemNodeFromIndex]);
|
|
8962
9015
|
var getLabelProps = React.useCallback(function(labelProps) {
|
|
8963
|
-
return _extends$
|
|
9016
|
+
return _extends$2({
|
|
8964
9017
|
id: elementIds.labelId,
|
|
8965
9018
|
htmlFor: elementIds.inputId
|
|
8966
9019
|
}, labelProps);
|
|
8967
9020
|
}, [elementIds]);
|
|
8968
9021
|
var getMenuProps = React.useCallback(function(_temp, _temp2) {
|
|
8969
9022
|
var _extends2;
|
|
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$
|
|
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$4(_ref2, _excluded$1);
|
|
8971
9024
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
8972
9025
|
_ref22.suppressRefError;
|
|
8973
|
-
return _extends$
|
|
9026
|
+
return _extends$2((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
8974
9027
|
menuRef.current = menuNode;
|
|
8975
9028
|
}), _extends2.id = elementIds.menuId, _extends2.role = "listbox", _extends2["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends2.onMouseLeave = callAllEventHandlers(onMouseLeave, function() {
|
|
8976
9029
|
dispatch2({
|
|
@@ -8982,7 +9035,7 @@
|
|
|
8982
9035
|
var _extends3, _ref4;
|
|
8983
9036
|
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;
|
|
8984
9037
|
_ref3.onPress;
|
|
8985
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
9038
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$1);
|
|
8986
9039
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
8987
9040
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
8988
9041
|
var onSelectKey = "onClick";
|
|
@@ -9007,7 +9060,7 @@
|
|
|
9007
9060
|
var itemHandleMouseDown = function itemHandleMouseDown2(e3) {
|
|
9008
9061
|
return e3.preventDefault();
|
|
9009
9062
|
};
|
|
9010
|
-
return _extends$
|
|
9063
|
+
return _extends$2((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(itemNode) {
|
|
9011
9064
|
if (itemNode) {
|
|
9012
9065
|
itemRefs.current[elementIds.getItemId(index2)] = itemNode;
|
|
9013
9066
|
}
|
|
@@ -9020,16 +9073,16 @@
|
|
|
9020
9073
|
var _extends4;
|
|
9021
9074
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
9022
9075
|
_ref5.onPress;
|
|
9023
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
9076
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3);
|
|
9024
9077
|
var latestState = latest.current.state;
|
|
9025
9078
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
9026
9079
|
dispatch2({
|
|
9027
9080
|
type: ToggleButtonClick
|
|
9028
9081
|
});
|
|
9029
9082
|
};
|
|
9030
|
-
return _extends$
|
|
9083
|
+
return _extends$2((_extends4 = {}, _extends4[refKey] = handleRefs(ref, function(toggleButtonNode) {
|
|
9031
9084
|
toggleButtonRef.current = toggleButtonNode;
|
|
9032
|
-
}), _extends4["aria-controls"] = elementIds.menuId, _extends4["aria-expanded"] = latestState.isOpen, _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$
|
|
9085
|
+
}), _extends4["aria-controls"] = elementIds.menuId, _extends4["aria-expanded"] = latestState.isOpen, _extends4.id = elementIds.toggleButtonId, _extends4.tabIndex = -1, _extends4), !rest.disabled && _extends$2({}, {
|
|
9033
9086
|
onClick: callAllEventHandlers(onClick, toggleButtonHandleClick)
|
|
9034
9087
|
}), rest);
|
|
9035
9088
|
}, [dispatch2, latest, elementIds]);
|
|
@@ -9037,7 +9090,7 @@
|
|
|
9037
9090
|
var _extends5;
|
|
9038
9091
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
9039
9092
|
_ref6.onChangeText;
|
|
9040
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
9093
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$4(_ref6, _excluded4);
|
|
9041
9094
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
9042
9095
|
_ref7.suppressRefError;
|
|
9043
9096
|
var latestState = latest.current.state;
|
|
@@ -9075,7 +9128,7 @@
|
|
|
9075
9128
|
var _eventHandlers;
|
|
9076
9129
|
eventHandlers = (_eventHandlers = {}, _eventHandlers[onChangeKey] = callAllEventHandlers(onChange2, onInput, inputHandleChange), _eventHandlers.onKeyDown = callAllEventHandlers(onKeyDown, inputHandleKeyDown), _eventHandlers.onBlur = callAllEventHandlers(onBlur, inputHandleBlur), _eventHandlers.onFocus = callAllEventHandlers(onFocus, inputHandleFocus), _eventHandlers);
|
|
9077
9130
|
}
|
|
9078
|
-
return _extends$
|
|
9131
|
+
return _extends$2((_extends5 = {}, _extends5[refKey] = handleRefs(ref, function(inputNode) {
|
|
9079
9132
|
inputRef.current = inputNode;
|
|
9080
9133
|
}), _extends5["aria-activedescendant"] = latestState.isOpen && latestState.highlightedIndex > -1 ? elementIds.getItemId(latestState.highlightedIndex) : "", _extends5["aria-autocomplete"] = "list", _extends5["aria-controls"] = elementIds.menuId, _extends5["aria-expanded"] = latestState.isOpen, _extends5["aria-labelledby"] = rest && rest["aria-label"] ? void 0 : "" + elementIds.labelId, _extends5.autoComplete = "off", _extends5.id = elementIds.inputId, _extends5.role = "combobox", _extends5.value = latestState.inputValue, _extends5), eventHandlers, rest);
|
|
9081
9134
|
}, [setGetterPropCallInfo, latest, elementIds, inputKeyDownHandlers, dispatch2, mouseAndTouchTrackersRef, environment]);
|
|
@@ -9260,7 +9313,7 @@
|
|
|
9260
9313
|
} else if (activeIndex === selectedItems.length - 1) {
|
|
9261
9314
|
newActiveIndex = selectedItems.length - 2;
|
|
9262
9315
|
}
|
|
9263
|
-
changes = _extends$
|
|
9316
|
+
changes = _extends$2({
|
|
9264
9317
|
selectedItems: [].concat(selectedItems.slice(0, activeIndex), selectedItems.slice(activeIndex + 1))
|
|
9265
9318
|
}, {
|
|
9266
9319
|
activeIndex: newActiveIndex
|
|
@@ -9327,7 +9380,7 @@
|
|
|
9327
9380
|
default:
|
|
9328
9381
|
throw new Error("Reducer called without proper action type.");
|
|
9329
9382
|
}
|
|
9330
|
-
return _extends$
|
|
9383
|
+
return _extends$2({}, state, changes);
|
|
9331
9384
|
}
|
|
9332
9385
|
var _excluded$4 = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"], _excluded2 = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"];
|
|
9333
9386
|
useMultipleSelection.stateChangeTypes = stateChangeTypes$4;
|
|
@@ -9335,7 +9388,7 @@
|
|
|
9335
9388
|
if (userProps === void 0) {
|
|
9336
9389
|
userProps = {};
|
|
9337
9390
|
}
|
|
9338
|
-
var props = _extends$
|
|
9391
|
+
var props = _extends$2({}, defaultProps$4, userProps);
|
|
9339
9392
|
var getA11yRemovalMessage2 = props.getA11yRemovalMessage, itemToString2 = props.itemToString, environment = props.environment, keyNavigationNext = props.keyNavigationNext, keyNavigationPrevious = props.keyNavigationPrevious;
|
|
9340
9393
|
var _useControlledReducer = useControlledReducer$1(downshiftMultipleSelectionReducer, getInitialState(props), props), state = _useControlledReducer[0], dispatch2 = _useControlledReducer[1];
|
|
9341
9394
|
var activeIndex = state.activeIndex, selectedItems = state.selectedItems;
|
|
@@ -9426,7 +9479,7 @@
|
|
|
9426
9479
|
}, [dispatch2, keyNavigationPrevious]);
|
|
9427
9480
|
var getSelectedItemProps = React.useCallback(function(_temp) {
|
|
9428
9481
|
var _extends2;
|
|
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$
|
|
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$4(_ref3, _excluded$4);
|
|
9430
9483
|
var latestState = latest.current.state;
|
|
9431
9484
|
var _getItemAndIndex = getItemAndIndex(selectedItemProp, indexProp, latestState.selectedItems, "Pass either item or index to getSelectedItemProps!"), index2 = _getItemAndIndex[1];
|
|
9432
9485
|
var isFocusable = index2 > -1 && index2 === latestState.activeIndex;
|
|
@@ -9442,7 +9495,7 @@
|
|
|
9442
9495
|
selectedItemKeyDownHandlers[key](event2);
|
|
9443
9496
|
}
|
|
9444
9497
|
};
|
|
9445
|
-
return _extends$
|
|
9498
|
+
return _extends$2((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(selectedItemNode) {
|
|
9446
9499
|
if (selectedItemNode) {
|
|
9447
9500
|
selectedItemRefs.current.push(selectedItemNode);
|
|
9448
9501
|
}
|
|
@@ -9450,7 +9503,7 @@
|
|
|
9450
9503
|
}, [dispatch2, latest, selectedItemKeyDownHandlers]);
|
|
9451
9504
|
var getDropdownProps = React.useCallback(function(_temp2, _temp3) {
|
|
9452
9505
|
var _extends3;
|
|
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$
|
|
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$4(_ref4, _excluded2);
|
|
9454
9507
|
var _ref5 = _temp3 === void 0 ? {} : _temp3;
|
|
9455
9508
|
_ref5.suppressRefError;
|
|
9456
9509
|
var dropdownHandleKeyDown = function dropdownHandleKeyDown2(event2) {
|
|
@@ -9464,7 +9517,7 @@
|
|
|
9464
9517
|
type: DropdownClick
|
|
9465
9518
|
});
|
|
9466
9519
|
};
|
|
9467
|
-
return _extends$
|
|
9520
|
+
return _extends$2((_extends3 = {}, _extends3[refKey] = handleRefs(ref, function(dropdownNode) {
|
|
9468
9521
|
if (dropdownNode) {
|
|
9469
9522
|
dropdownRef.current = dropdownNode;
|
|
9470
9523
|
}
|
|
@@ -11003,7 +11056,7 @@
|
|
|
11003
11056
|
function getBasePlacement$2(placement) {
|
|
11004
11057
|
return placement.split("-")[0];
|
|
11005
11058
|
}
|
|
11006
|
-
var max$
|
|
11059
|
+
var max$4 = Math.max;
|
|
11007
11060
|
var min$3 = Math.min;
|
|
11008
11061
|
var round$2 = Math.round;
|
|
11009
11062
|
function getUAString() {
|
|
@@ -11140,7 +11193,7 @@
|
|
|
11140
11193
|
return ["top", "bottom"].indexOf(placement) >= 0 ? "x" : "y";
|
|
11141
11194
|
}
|
|
11142
11195
|
function within(min2, value, max2) {
|
|
11143
|
-
return max$
|
|
11196
|
+
return max$4(min2, min$3(value, max2));
|
|
11144
11197
|
}
|
|
11145
11198
|
function withinMaxClamp(min2, value, max2) {
|
|
11146
11199
|
var v2 = within(min2, value, max2);
|
|
@@ -11436,12 +11489,12 @@
|
|
|
11436
11489
|
var html2 = getDocumentElement(element2);
|
|
11437
11490
|
var winScroll = getWindowScroll(element2);
|
|
11438
11491
|
var body = (_element$ownerDocumen = element2.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
11439
|
-
var width = max$
|
|
11440
|
-
var height = max$
|
|
11492
|
+
var width = max$4(html2.scrollWidth, html2.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
11493
|
+
var height = max$4(html2.scrollHeight, html2.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
11441
11494
|
var x2 = -winScroll.scrollLeft + getWindowScrollBarX(element2);
|
|
11442
11495
|
var y2 = -winScroll.scrollTop;
|
|
11443
11496
|
if (getComputedStyle$1(body || html2).direction === "rtl") {
|
|
11444
|
-
x2 += max$
|
|
11497
|
+
x2 += max$4(html2.clientWidth, body ? body.clientWidth : 0) - width;
|
|
11445
11498
|
}
|
|
11446
11499
|
return {
|
|
11447
11500
|
width,
|
|
@@ -11515,10 +11568,10 @@
|
|
|
11515
11568
|
var firstClippingParent = clippingParents2[0];
|
|
11516
11569
|
var clippingRect = clippingParents2.reduce(function(accRect, clippingParent) {
|
|
11517
11570
|
var rect = getClientRectFromMixedType(element2, clippingParent, strategy);
|
|
11518
|
-
accRect.top = max$
|
|
11571
|
+
accRect.top = max$4(rect.top, accRect.top);
|
|
11519
11572
|
accRect.right = min$3(rect.right, accRect.right);
|
|
11520
11573
|
accRect.bottom = min$3(rect.bottom, accRect.bottom);
|
|
11521
|
-
accRect.left = max$
|
|
11574
|
+
accRect.left = max$4(rect.left, accRect.left);
|
|
11522
11575
|
return accRect;
|
|
11523
11576
|
}, getClientRectFromMixedType(element2, firstClippingParent, strategy));
|
|
11524
11577
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
@@ -11917,7 +11970,7 @@
|
|
|
11917
11970
|
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
11918
11971
|
var tetherMin = offset2 + minOffset - offsetModifierValue - clientOffset;
|
|
11919
11972
|
var tetherMax = offset2 + maxOffset2 - offsetModifierValue;
|
|
11920
|
-
var preventedOffset = within(tether ? min$3(min2, tetherMin) : min2, offset2, tether ? max$
|
|
11973
|
+
var preventedOffset = within(tether ? min$3(min2, tetherMin) : min2, offset2, tether ? max$4(max2, tetherMax) : max2);
|
|
11921
11974
|
popperOffsets2[mainAxis] = preventedOffset;
|
|
11922
11975
|
data2[mainAxis] = preventedOffset - offset2;
|
|
11923
11976
|
}
|
|
@@ -13214,7 +13267,7 @@
|
|
|
13214
13267
|
tippy$1.setDefaultProps({
|
|
13215
13268
|
animation: false
|
|
13216
13269
|
});
|
|
13217
|
-
function _objectWithoutPropertiesLoose$
|
|
13270
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
13218
13271
|
if (source == null)
|
|
13219
13272
|
return {};
|
|
13220
13273
|
var target = {};
|
|
@@ -13311,7 +13364,7 @@
|
|
|
13311
13364
|
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;
|
|
13312
13365
|
_ref2.__source;
|
|
13313
13366
|
_ref2.__self;
|
|
13314
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
13367
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$3(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
13315
13368
|
var isControlledMode = visible !== void 0;
|
|
13316
13369
|
var isSingletonMode = singleton !== void 0;
|
|
13317
13370
|
var _useState = React.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -13456,7 +13509,7 @@
|
|
|
13456
13509
|
}
|
|
13457
13510
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
13458
13511
|
return /* @__PURE__ */ React.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
13459
|
-
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
13512
|
+
var children2 = _ref2.children, props = _objectWithoutPropertiesLoose$3(_ref2, ["children"]);
|
|
13460
13513
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children2 ? /* @__PURE__ */ React.cloneElement(children2, {
|
|
13461
13514
|
ref: function ref(node2) {
|
|
13462
13515
|
preserveRef(_ref22, node2);
|
|
@@ -23664,13 +23717,13 @@
|
|
|
23664
23717
|
})();
|
|
23665
23718
|
})(classnames);
|
|
23666
23719
|
const r$2 = classnames.exports;
|
|
23667
|
-
function _typeof$
|
|
23720
|
+
function _typeof$5(o2) {
|
|
23668
23721
|
"@babel/helpers - typeof";
|
|
23669
|
-
return _typeof$
|
|
23722
|
+
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
23670
23723
|
return typeof o3;
|
|
23671
23724
|
} : function(o3) {
|
|
23672
23725
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
23673
|
-
}, _typeof$
|
|
23726
|
+
}, _typeof$5(o2);
|
|
23674
23727
|
}
|
|
23675
23728
|
function requiredArgs(required2, args) {
|
|
23676
23729
|
if (args.length < required2) {
|
|
@@ -23679,12 +23732,12 @@
|
|
|
23679
23732
|
}
|
|
23680
23733
|
function isDate$1(value) {
|
|
23681
23734
|
requiredArgs(1, arguments);
|
|
23682
|
-
return value instanceof Date || _typeof$
|
|
23735
|
+
return value instanceof Date || _typeof$5(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
23683
23736
|
}
|
|
23684
23737
|
function toDate(argument) {
|
|
23685
23738
|
requiredArgs(1, arguments);
|
|
23686
23739
|
var argStr = Object.prototype.toString.call(argument);
|
|
23687
|
-
if (argument instanceof Date || _typeof$
|
|
23740
|
+
if (argument instanceof Date || _typeof$5(argument) === "object" && argStr === "[object Date]") {
|
|
23688
23741
|
return new Date(argument.getTime());
|
|
23689
23742
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
23690
23743
|
return new Date(argument);
|
|
@@ -25384,7 +25437,7 @@
|
|
|
25384
25437
|
var datesArray;
|
|
25385
25438
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25386
25439
|
datesArray = dirtyDatesArray;
|
|
25387
|
-
} else if (_typeof$
|
|
25440
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25388
25441
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25389
25442
|
} else {
|
|
25390
25443
|
return new Date(NaN);
|
|
@@ -25398,12 +25451,12 @@
|
|
|
25398
25451
|
});
|
|
25399
25452
|
return result || new Date(NaN);
|
|
25400
25453
|
}
|
|
25401
|
-
function max$
|
|
25454
|
+
function max$3(dirtyDatesArray) {
|
|
25402
25455
|
requiredArgs(1, arguments);
|
|
25403
25456
|
var datesArray;
|
|
25404
25457
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
25405
25458
|
datesArray = dirtyDatesArray;
|
|
25406
|
-
} else if (_typeof$
|
|
25459
|
+
} else if (_typeof$5(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
25407
25460
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
25408
25461
|
} else {
|
|
25409
25462
|
return new Date(NaN);
|
|
@@ -25528,30 +25581,30 @@
|
|
|
25528
25581
|
}
|
|
25529
25582
|
return time >= startTime && time <= endTime;
|
|
25530
25583
|
}
|
|
25531
|
-
function _arrayLikeToArray$
|
|
25584
|
+
function _arrayLikeToArray$9(arr, len) {
|
|
25532
25585
|
if (len == null || len > arr.length)
|
|
25533
25586
|
len = arr.length;
|
|
25534
25587
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
25535
25588
|
arr2[i2] = arr[i2];
|
|
25536
25589
|
return arr2;
|
|
25537
25590
|
}
|
|
25538
|
-
function _unsupportedIterableToArray$
|
|
25591
|
+
function _unsupportedIterableToArray$9(o2, minLen) {
|
|
25539
25592
|
if (!o2)
|
|
25540
25593
|
return;
|
|
25541
25594
|
if (typeof o2 === "string")
|
|
25542
|
-
return _arrayLikeToArray$
|
|
25595
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25543
25596
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
25544
25597
|
if (n2 === "Object" && o2.constructor)
|
|
25545
25598
|
n2 = o2.constructor.name;
|
|
25546
25599
|
if (n2 === "Map" || n2 === "Set")
|
|
25547
25600
|
return Array.from(o2);
|
|
25548
25601
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
25549
|
-
return _arrayLikeToArray$
|
|
25602
|
+
return _arrayLikeToArray$9(o2, minLen);
|
|
25550
25603
|
}
|
|
25551
25604
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
25552
25605
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
25553
25606
|
if (!it2) {
|
|
25554
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
25607
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$9(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
25555
25608
|
if (it2)
|
|
25556
25609
|
o2 = it2;
|
|
25557
25610
|
var i2 = 0;
|
|
@@ -25628,22 +25681,22 @@
|
|
|
25628
25681
|
writable: false
|
|
25629
25682
|
});
|
|
25630
25683
|
if (superClass)
|
|
25631
|
-
_setPrototypeOf$
|
|
25684
|
+
_setPrototypeOf$2(subClass, superClass);
|
|
25632
25685
|
}
|
|
25633
|
-
function _possibleConstructorReturn$1(self2,
|
|
25634
|
-
if (
|
|
25635
|
-
return
|
|
25636
|
-
} else if (
|
|
25686
|
+
function _possibleConstructorReturn$1(self2, call2) {
|
|
25687
|
+
if (call2 && (_typeof$5(call2) === "object" || typeof call2 === "function")) {
|
|
25688
|
+
return call2;
|
|
25689
|
+
} else if (call2 !== void 0) {
|
|
25637
25690
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
25638
25691
|
}
|
|
25639
|
-
return _assertThisInitialized$
|
|
25692
|
+
return _assertThisInitialized$2(self2);
|
|
25640
25693
|
}
|
|
25641
25694
|
function _createSuper$1(Derived) {
|
|
25642
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct$
|
|
25695
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct$1();
|
|
25643
25696
|
return function _createSuperInternal() {
|
|
25644
|
-
var Super = _getPrototypeOf$
|
|
25697
|
+
var Super = _getPrototypeOf$1(Derived), result;
|
|
25645
25698
|
if (hasNativeReflectConstruct) {
|
|
25646
|
-
var NewTarget = _getPrototypeOf$
|
|
25699
|
+
var NewTarget = _getPrototypeOf$1(this).constructor;
|
|
25647
25700
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
25648
25701
|
} else {
|
|
25649
25702
|
result = Super.apply(this, arguments);
|
|
@@ -25657,12 +25710,12 @@
|
|
|
25657
25710
|
}
|
|
25658
25711
|
}
|
|
25659
25712
|
function _toPrimitive(input, hint) {
|
|
25660
|
-
if (_typeof$
|
|
25713
|
+
if (_typeof$5(input) !== "object" || input === null)
|
|
25661
25714
|
return input;
|
|
25662
25715
|
var prim = input[Symbol.toPrimitive];
|
|
25663
25716
|
if (prim !== void 0) {
|
|
25664
25717
|
var res = prim.call(input, hint || "default");
|
|
25665
|
-
if (_typeof$
|
|
25718
|
+
if (_typeof$5(res) !== "object")
|
|
25666
25719
|
return res;
|
|
25667
25720
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25668
25721
|
}
|
|
@@ -25670,7 +25723,7 @@
|
|
|
25670
25723
|
}
|
|
25671
25724
|
function _toPropertyKey(arg) {
|
|
25672
25725
|
var key = _toPrimitive(arg, "string");
|
|
25673
|
-
return _typeof$
|
|
25726
|
+
return _typeof$5(key) === "symbol" ? key : String(key);
|
|
25674
25727
|
}
|
|
25675
25728
|
function _defineProperties$g(target, props) {
|
|
25676
25729
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -25692,7 +25745,7 @@
|
|
|
25692
25745
|
});
|
|
25693
25746
|
return Constructor;
|
|
25694
25747
|
}
|
|
25695
|
-
function _defineProperty$
|
|
25748
|
+
function _defineProperty$o(obj, key, value) {
|
|
25696
25749
|
key = _toPropertyKey(key);
|
|
25697
25750
|
if (key in obj) {
|
|
25698
25751
|
Object.defineProperty(obj, key, {
|
|
@@ -25710,8 +25763,8 @@
|
|
|
25710
25763
|
var Setter = /* @__PURE__ */ function() {
|
|
25711
25764
|
function Setter2() {
|
|
25712
25765
|
_classCallCheck$g(this, Setter2);
|
|
25713
|
-
_defineProperty$
|
|
25714
|
-
_defineProperty$
|
|
25766
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25767
|
+
_defineProperty$o(this, "subPriority", 0);
|
|
25715
25768
|
}
|
|
25716
25769
|
_createClass$g(Setter2, [{
|
|
25717
25770
|
key: "validate",
|
|
@@ -25760,8 +25813,8 @@
|
|
|
25760
25813
|
args[_key] = arguments[_key];
|
|
25761
25814
|
}
|
|
25762
25815
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
25763
|
-
_defineProperty$
|
|
25764
|
-
_defineProperty$
|
|
25816
|
+
_defineProperty$o(_assertThisInitialized$2(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
25817
|
+
_defineProperty$o(_assertThisInitialized$2(_this2), "subPriority", -1);
|
|
25765
25818
|
return _this2;
|
|
25766
25819
|
}
|
|
25767
25820
|
_createClass$g(DateToSystemTimezoneSetter2, [{
|
|
@@ -25781,9 +25834,9 @@
|
|
|
25781
25834
|
var Parser$2 = /* @__PURE__ */ function() {
|
|
25782
25835
|
function Parser2() {
|
|
25783
25836
|
_classCallCheck$g(this, Parser2);
|
|
25784
|
-
_defineProperty$
|
|
25785
|
-
_defineProperty$
|
|
25786
|
-
_defineProperty$
|
|
25837
|
+
_defineProperty$o(this, "incompatibleTokens", void 0);
|
|
25838
|
+
_defineProperty$o(this, "priority", void 0);
|
|
25839
|
+
_defineProperty$o(this, "subPriority", void 0);
|
|
25787
25840
|
}
|
|
25788
25841
|
_createClass$g(Parser2, [{
|
|
25789
25842
|
key: "run",
|
|
@@ -25815,8 +25868,8 @@
|
|
|
25815
25868
|
args[_key] = arguments[_key];
|
|
25816
25869
|
}
|
|
25817
25870
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
25818
|
-
_defineProperty$
|
|
25819
|
-
_defineProperty$
|
|
25871
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 140);
|
|
25872
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
25820
25873
|
return _this;
|
|
25821
25874
|
}
|
|
25822
25875
|
_createClass$g(EraParser2, [{
|
|
@@ -26002,8 +26055,8 @@
|
|
|
26002
26055
|
args[_key] = arguments[_key];
|
|
26003
26056
|
}
|
|
26004
26057
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26005
|
-
_defineProperty$
|
|
26006
|
-
_defineProperty$
|
|
26058
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26059
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26007
26060
|
return _this;
|
|
26008
26061
|
}
|
|
26009
26062
|
_createClass$g(YearParser2, [{
|
|
@@ -26059,8 +26112,8 @@
|
|
|
26059
26112
|
args[_key] = arguments[_key];
|
|
26060
26113
|
}
|
|
26061
26114
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26062
|
-
_defineProperty$
|
|
26063
|
-
_defineProperty$
|
|
26115
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26116
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26064
26117
|
return _this;
|
|
26065
26118
|
}
|
|
26066
26119
|
_createClass$g(LocalWeekYearParser2, [{
|
|
@@ -26116,8 +26169,8 @@
|
|
|
26116
26169
|
args[_key] = arguments[_key];
|
|
26117
26170
|
}
|
|
26118
26171
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26119
|
-
_defineProperty$
|
|
26120
|
-
_defineProperty$
|
|
26172
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26173
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26121
26174
|
return _this;
|
|
26122
26175
|
}
|
|
26123
26176
|
_createClass$g(ISOWeekYearParser2, [{
|
|
@@ -26149,8 +26202,8 @@
|
|
|
26149
26202
|
args[_key] = arguments[_key];
|
|
26150
26203
|
}
|
|
26151
26204
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26152
|
-
_defineProperty$
|
|
26153
|
-
_defineProperty$
|
|
26205
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 130);
|
|
26206
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
26154
26207
|
return _this;
|
|
26155
26208
|
}
|
|
26156
26209
|
_createClass$g(ExtendedYearParser2, [{
|
|
@@ -26181,8 +26234,8 @@
|
|
|
26181
26234
|
args[_key] = arguments[_key];
|
|
26182
26235
|
}
|
|
26183
26236
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26184
|
-
_defineProperty$
|
|
26185
|
-
_defineProperty$
|
|
26237
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 120);
|
|
26238
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26186
26239
|
return _this;
|
|
26187
26240
|
}
|
|
26188
26241
|
_createClass$g(QuarterParser2, [{
|
|
@@ -26248,8 +26301,8 @@
|
|
|
26248
26301
|
args[_key] = arguments[_key];
|
|
26249
26302
|
}
|
|
26250
26303
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26251
|
-
_defineProperty$
|
|
26252
|
-
_defineProperty$
|
|
26304
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 120);
|
|
26305
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
26253
26306
|
return _this;
|
|
26254
26307
|
}
|
|
26255
26308
|
_createClass$g(StandAloneQuarterParser2, [{
|
|
@@ -26315,8 +26368,8 @@
|
|
|
26315
26368
|
args[_key] = arguments[_key];
|
|
26316
26369
|
}
|
|
26317
26370
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26318
|
-
_defineProperty$
|
|
26319
|
-
_defineProperty$
|
|
26371
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26372
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 110);
|
|
26320
26373
|
return _this;
|
|
26321
26374
|
}
|
|
26322
26375
|
_createClass$g(MonthParser2, [{
|
|
@@ -26386,8 +26439,8 @@
|
|
|
26386
26439
|
args[_key] = arguments[_key];
|
|
26387
26440
|
}
|
|
26388
26441
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26389
|
-
_defineProperty$
|
|
26390
|
-
_defineProperty$
|
|
26442
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 110);
|
|
26443
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26391
26444
|
return _this;
|
|
26392
26445
|
}
|
|
26393
26446
|
_createClass$g(StandAloneMonthParser2, [{
|
|
@@ -26465,8 +26518,8 @@
|
|
|
26465
26518
|
args[_key] = arguments[_key];
|
|
26466
26519
|
}
|
|
26467
26520
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26468
|
-
_defineProperty$
|
|
26469
|
-
_defineProperty$
|
|
26521
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 100);
|
|
26522
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
26470
26523
|
return _this;
|
|
26471
26524
|
}
|
|
26472
26525
|
_createClass$g(LocalWeekParser2, [{
|
|
@@ -26514,8 +26567,8 @@
|
|
|
26514
26567
|
args[_key] = arguments[_key];
|
|
26515
26568
|
}
|
|
26516
26569
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26517
|
-
_defineProperty$
|
|
26518
|
-
_defineProperty$
|
|
26570
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 100);
|
|
26571
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
26519
26572
|
return _this;
|
|
26520
26573
|
}
|
|
26521
26574
|
_createClass$g(ISOWeekParser2, [{
|
|
@@ -26557,9 +26610,9 @@
|
|
|
26557
26610
|
args[_key] = arguments[_key];
|
|
26558
26611
|
}
|
|
26559
26612
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26560
|
-
_defineProperty$
|
|
26561
|
-
_defineProperty$
|
|
26562
|
-
_defineProperty$
|
|
26613
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26614
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "subPriority", 1);
|
|
26615
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
26563
26616
|
return _this;
|
|
26564
26617
|
}
|
|
26565
26618
|
_createClass$g(DateParser2, [{
|
|
@@ -26608,9 +26661,9 @@
|
|
|
26608
26661
|
args[_key] = arguments[_key];
|
|
26609
26662
|
}
|
|
26610
26663
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26611
|
-
_defineProperty$
|
|
26612
|
-
_defineProperty$
|
|
26613
|
-
_defineProperty$
|
|
26664
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26665
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "subpriority", 1);
|
|
26666
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
26614
26667
|
return _this;
|
|
26615
26668
|
}
|
|
26616
26669
|
_createClass$g(DayOfYearParser2, [{
|
|
@@ -26676,8 +26729,8 @@
|
|
|
26676
26729
|
args[_key] = arguments[_key];
|
|
26677
26730
|
}
|
|
26678
26731
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26679
|
-
_defineProperty$
|
|
26680
|
-
_defineProperty$
|
|
26732
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26733
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
26681
26734
|
return _this;
|
|
26682
26735
|
}
|
|
26683
26736
|
_createClass$g(DayParser2, [{
|
|
@@ -26752,8 +26805,8 @@
|
|
|
26752
26805
|
args[_key] = arguments[_key];
|
|
26753
26806
|
}
|
|
26754
26807
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26755
|
-
_defineProperty$
|
|
26756
|
-
_defineProperty$
|
|
26808
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26809
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
26757
26810
|
return _this;
|
|
26758
26811
|
}
|
|
26759
26812
|
_createClass$g(LocalDayParser2, [{
|
|
@@ -26837,8 +26890,8 @@
|
|
|
26837
26890
|
args[_key] = arguments[_key];
|
|
26838
26891
|
}
|
|
26839
26892
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26840
|
-
_defineProperty$
|
|
26841
|
-
_defineProperty$
|
|
26893
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26894
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
26842
26895
|
return _this;
|
|
26843
26896
|
}
|
|
26844
26897
|
_createClass$g(StandAloneLocalDayParser2, [{
|
|
@@ -26937,8 +26990,8 @@
|
|
|
26937
26990
|
args[_key] = arguments[_key];
|
|
26938
26991
|
}
|
|
26939
26992
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
26940
|
-
_defineProperty$
|
|
26941
|
-
_defineProperty$
|
|
26993
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 90);
|
|
26994
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
26942
26995
|
return _this;
|
|
26943
26996
|
}
|
|
26944
26997
|
_createClass$g(ISODayParser2, [{
|
|
@@ -27024,8 +27077,8 @@
|
|
|
27024
27077
|
args[_key] = arguments[_key];
|
|
27025
27078
|
}
|
|
27026
27079
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27027
|
-
_defineProperty$
|
|
27028
|
-
_defineProperty$
|
|
27080
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 80);
|
|
27081
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
27029
27082
|
return _this;
|
|
27030
27083
|
}
|
|
27031
27084
|
_createClass$g(AMPMParser2, [{
|
|
@@ -27080,8 +27133,8 @@
|
|
|
27080
27133
|
args[_key] = arguments[_key];
|
|
27081
27134
|
}
|
|
27082
27135
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27083
|
-
_defineProperty$
|
|
27084
|
-
_defineProperty$
|
|
27136
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 80);
|
|
27137
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
27085
27138
|
return _this;
|
|
27086
27139
|
}
|
|
27087
27140
|
_createClass$g(AMPMMidnightParser2, [{
|
|
@@ -27136,8 +27189,8 @@
|
|
|
27136
27189
|
args[_key] = arguments[_key];
|
|
27137
27190
|
}
|
|
27138
27191
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27139
|
-
_defineProperty$
|
|
27140
|
-
_defineProperty$
|
|
27192
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 80);
|
|
27193
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
27141
27194
|
return _this;
|
|
27142
27195
|
}
|
|
27143
27196
|
_createClass$g(DayPeriodParser2, [{
|
|
@@ -27192,8 +27245,8 @@
|
|
|
27192
27245
|
args[_key] = arguments[_key];
|
|
27193
27246
|
}
|
|
27194
27247
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27195
|
-
_defineProperty$
|
|
27196
|
-
_defineProperty$
|
|
27248
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27249
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
27197
27250
|
return _this;
|
|
27198
27251
|
}
|
|
27199
27252
|
_createClass$g(Hour1to12Parser2, [{
|
|
@@ -27241,8 +27294,8 @@
|
|
|
27241
27294
|
args[_key] = arguments[_key];
|
|
27242
27295
|
}
|
|
27243
27296
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27244
|
-
_defineProperty$
|
|
27245
|
-
_defineProperty$
|
|
27297
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27298
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
27246
27299
|
return _this;
|
|
27247
27300
|
}
|
|
27248
27301
|
_createClass$g(Hour0to23Parser2, [{
|
|
@@ -27283,8 +27336,8 @@
|
|
|
27283
27336
|
args[_key] = arguments[_key];
|
|
27284
27337
|
}
|
|
27285
27338
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27286
|
-
_defineProperty$
|
|
27287
|
-
_defineProperty$
|
|
27339
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27340
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
27288
27341
|
return _this;
|
|
27289
27342
|
}
|
|
27290
27343
|
_createClass$g(Hour0To11Parser2, [{
|
|
@@ -27330,8 +27383,8 @@
|
|
|
27330
27383
|
args[_key] = arguments[_key];
|
|
27331
27384
|
}
|
|
27332
27385
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27333
|
-
_defineProperty$
|
|
27334
|
-
_defineProperty$
|
|
27386
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 70);
|
|
27387
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
27335
27388
|
return _this;
|
|
27336
27389
|
}
|
|
27337
27390
|
_createClass$g(Hour1To24Parser2, [{
|
|
@@ -27373,8 +27426,8 @@
|
|
|
27373
27426
|
args[_key] = arguments[_key];
|
|
27374
27427
|
}
|
|
27375
27428
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27376
|
-
_defineProperty$
|
|
27377
|
-
_defineProperty$
|
|
27429
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 60);
|
|
27430
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27378
27431
|
return _this;
|
|
27379
27432
|
}
|
|
27380
27433
|
_createClass$g(MinuteParser2, [{
|
|
@@ -27415,8 +27468,8 @@
|
|
|
27415
27468
|
args[_key] = arguments[_key];
|
|
27416
27469
|
}
|
|
27417
27470
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27418
|
-
_defineProperty$
|
|
27419
|
-
_defineProperty$
|
|
27471
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 50);
|
|
27472
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27420
27473
|
return _this;
|
|
27421
27474
|
}
|
|
27422
27475
|
_createClass$g(SecondParser2, [{
|
|
@@ -27457,8 +27510,8 @@
|
|
|
27457
27510
|
args[_key] = arguments[_key];
|
|
27458
27511
|
}
|
|
27459
27512
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27460
|
-
_defineProperty$
|
|
27461
|
-
_defineProperty$
|
|
27513
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 30);
|
|
27514
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T"]);
|
|
27462
27515
|
return _this;
|
|
27463
27516
|
}
|
|
27464
27517
|
_createClass$g(FractionOfSecondParser2, [{
|
|
@@ -27488,8 +27541,8 @@
|
|
|
27488
27541
|
args[_key] = arguments[_key];
|
|
27489
27542
|
}
|
|
27490
27543
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27491
|
-
_defineProperty$
|
|
27492
|
-
_defineProperty$
|
|
27544
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 10);
|
|
27545
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
27493
27546
|
return _this;
|
|
27494
27547
|
}
|
|
27495
27548
|
_createClass$g(ISOTimezoneWithZParser2, [{
|
|
@@ -27530,8 +27583,8 @@
|
|
|
27530
27583
|
args[_key] = arguments[_key];
|
|
27531
27584
|
}
|
|
27532
27585
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27533
|
-
_defineProperty$
|
|
27534
|
-
_defineProperty$
|
|
27586
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 10);
|
|
27587
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
27535
27588
|
return _this;
|
|
27536
27589
|
}
|
|
27537
27590
|
_createClass$g(ISOTimezoneParser2, [{
|
|
@@ -27572,8 +27625,8 @@
|
|
|
27572
27625
|
args[_key] = arguments[_key];
|
|
27573
27626
|
}
|
|
27574
27627
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27575
|
-
_defineProperty$
|
|
27576
|
-
_defineProperty$
|
|
27628
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 40);
|
|
27629
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
|
|
27577
27630
|
return _this;
|
|
27578
27631
|
}
|
|
27579
27632
|
_createClass$g(TimestampSecondsParser2, [{
|
|
@@ -27601,8 +27654,8 @@
|
|
|
27601
27654
|
args[_key] = arguments[_key];
|
|
27602
27655
|
}
|
|
27603
27656
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
27604
|
-
_defineProperty$
|
|
27605
|
-
_defineProperty$
|
|
27657
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "priority", 20);
|
|
27658
|
+
_defineProperty$o(_assertThisInitialized$2(_this), "incompatibleTokens", "*");
|
|
27606
27659
|
return _this;
|
|
27607
27660
|
}
|
|
27608
27661
|
_createClass$g(TimestampMillisecondsParser2, [{
|
|
@@ -27755,7 +27808,7 @@
|
|
|
27755
27808
|
};
|
|
27756
27809
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
27757
27810
|
var _ret = _loop();
|
|
27758
|
-
if (_typeof$
|
|
27811
|
+
if (_typeof$5(_ret) === "object")
|
|
27759
27812
|
return _ret.v;
|
|
27760
27813
|
}
|
|
27761
27814
|
} catch (err) {
|
|
@@ -27993,19 +28046,19 @@
|
|
|
27993
28046
|
function validateTimezone(_hours, minutes) {
|
|
27994
28047
|
return minutes >= 0 && minutes <= 59;
|
|
27995
28048
|
}
|
|
27996
|
-
function _inheritsLoose
|
|
28049
|
+
function _inheritsLoose(subClass, superClass) {
|
|
27997
28050
|
subClass.prototype = Object.create(superClass.prototype);
|
|
27998
28051
|
subClass.prototype.constructor = subClass;
|
|
27999
|
-
_setPrototypeOf$
|
|
28052
|
+
_setPrototypeOf$1(subClass, superClass);
|
|
28000
28053
|
}
|
|
28001
|
-
function _setPrototypeOf$
|
|
28002
|
-
_setPrototypeOf$
|
|
28054
|
+
function _setPrototypeOf$1(o2, p2) {
|
|
28055
|
+
_setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
28003
28056
|
o3.__proto__ = p3;
|
|
28004
28057
|
return o3;
|
|
28005
28058
|
};
|
|
28006
|
-
return _setPrototypeOf$
|
|
28059
|
+
return _setPrototypeOf$1(o2, p2);
|
|
28007
28060
|
}
|
|
28008
|
-
function _objectWithoutPropertiesLoose$
|
|
28061
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
28009
28062
|
if (source == null)
|
|
28010
28063
|
return {};
|
|
28011
28064
|
var target = {};
|
|
@@ -28019,7 +28072,7 @@
|
|
|
28019
28072
|
}
|
|
28020
28073
|
return target;
|
|
28021
28074
|
}
|
|
28022
|
-
function _assertThisInitialized$
|
|
28075
|
+
function _assertThisInitialized$1(self2) {
|
|
28023
28076
|
if (self2 === void 0) {
|
|
28024
28077
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
28025
28078
|
}
|
|
@@ -28091,7 +28144,7 @@
|
|
|
28091
28144
|
var _class, _temp;
|
|
28092
28145
|
var componentName = WrappedComponent.displayName || WrappedComponent.name || "Component";
|
|
28093
28146
|
return _temp = _class = /* @__PURE__ */ function(_Component) {
|
|
28094
|
-
_inheritsLoose
|
|
28147
|
+
_inheritsLoose(onClickOutside, _Component);
|
|
28095
28148
|
function onClickOutside(props) {
|
|
28096
28149
|
var _this;
|
|
28097
28150
|
_this = _Component.call(this, props) || this;
|
|
@@ -28151,7 +28204,7 @@
|
|
|
28151
28204
|
_this.__outsideClickHandler(event2);
|
|
28152
28205
|
};
|
|
28153
28206
|
events2.forEach(function(eventName) {
|
|
28154
|
-
document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$
|
|
28207
|
+
document.addEventListener(eventName, handlersMap[_this._uid], getEventHandlerOptions(_assertThisInitialized$1(_this), eventName));
|
|
28155
28208
|
});
|
|
28156
28209
|
};
|
|
28157
28210
|
_this.disableOnClickOutside = function() {
|
|
@@ -28163,7 +28216,7 @@
|
|
|
28163
28216
|
events2 = [events2];
|
|
28164
28217
|
}
|
|
28165
28218
|
events2.forEach(function(eventName) {
|
|
28166
|
-
return document.removeEventListener(eventName, fn2, getEventHandlerOptions(_assertThisInitialized$
|
|
28219
|
+
return document.removeEventListener(eventName, fn2, getEventHandlerOptions(_assertThisInitialized$1(_this), eventName));
|
|
28167
28220
|
});
|
|
28168
28221
|
delete handlersMap[_this._uid];
|
|
28169
28222
|
}
|
|
@@ -28207,7 +28260,7 @@
|
|
|
28207
28260
|
_proto.render = function render2() {
|
|
28208
28261
|
var _this$props = this.props;
|
|
28209
28262
|
_this$props.excludeScrollbar;
|
|
28210
|
-
var props = _objectWithoutPropertiesLoose$
|
|
28263
|
+
var props = _objectWithoutPropertiesLoose$2(_this$props, ["excludeScrollbar"]);
|
|
28211
28264
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
28212
28265
|
props.ref = this.getRef;
|
|
28213
28266
|
} else {
|
|
@@ -28822,9 +28875,9 @@
|
|
|
28822
28875
|
var n2 = r2.filter(function(e4) {
|
|
28823
28876
|
return differenceInCalendarDays(e4, t2) <= 0;
|
|
28824
28877
|
});
|
|
28825
|
-
return max$
|
|
28878
|
+
return max$3(n2);
|
|
28826
28879
|
}
|
|
28827
|
-
return r2 ? max$
|
|
28880
|
+
return r2 ? max$3(r2) : t2;
|
|
28828
28881
|
}
|
|
28829
28882
|
function mt() {
|
|
28830
28883
|
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++) {
|
|
@@ -30187,6 +30240,9 @@
|
|
|
30187
30240
|
display: flex;
|
|
30188
30241
|
flex-direction: ${(props) => props.inline ? "column" : "row"};
|
|
30189
30242
|
align-items: ${(props) => props.inline ? "baseline" : "center"};
|
|
30243
|
+
|
|
30244
|
+
width: 8.5rem;
|
|
30245
|
+
|
|
30190
30246
|
color: ${(props) => props.theme.colors.text};
|
|
30191
30247
|
|
|
30192
30248
|
.react-datepicker-popper {
|
|
@@ -31054,17 +31110,17 @@
|
|
|
31054
31110
|
});
|
|
31055
31111
|
};
|
|
31056
31112
|
}
|
|
31057
|
-
function _toConsumableArray$
|
|
31058
|
-
return _arrayWithoutHoles$
|
|
31113
|
+
function _toConsumableArray$2(arr) {
|
|
31114
|
+
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _nonIterableSpread$2();
|
|
31059
31115
|
}
|
|
31060
|
-
function _nonIterableSpread$
|
|
31116
|
+
function _nonIterableSpread$2() {
|
|
31061
31117
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
31062
31118
|
}
|
|
31063
|
-
function _iterableToArray$
|
|
31119
|
+
function _iterableToArray$2(iter2) {
|
|
31064
31120
|
if (Symbol.iterator in Object(iter2) || Object.prototype.toString.call(iter2) === "[object Arguments]")
|
|
31065
31121
|
return Array.from(iter2);
|
|
31066
31122
|
}
|
|
31067
|
-
function _arrayWithoutHoles$
|
|
31123
|
+
function _arrayWithoutHoles$2(arr) {
|
|
31068
31124
|
if (Array.isArray(arr)) {
|
|
31069
31125
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
31070
31126
|
arr2[i2] = arr[i2];
|
|
@@ -31110,7 +31166,7 @@
|
|
|
31110
31166
|
if (Array.isArray(arr))
|
|
31111
31167
|
return arr;
|
|
31112
31168
|
}
|
|
31113
|
-
function ownKeys$
|
|
31169
|
+
function ownKeys$6(object2, enumerableOnly) {
|
|
31114
31170
|
var keys2 = Object.keys(object2);
|
|
31115
31171
|
if (Object.getOwnPropertySymbols) {
|
|
31116
31172
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -31126,20 +31182,20 @@
|
|
|
31126
31182
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
31127
31183
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
31128
31184
|
if (i2 % 2) {
|
|
31129
|
-
ownKeys$
|
|
31130
|
-
_defineProperty$
|
|
31185
|
+
ownKeys$6(source, true).forEach(function(key) {
|
|
31186
|
+
_defineProperty$n(target, key, source[key]);
|
|
31131
31187
|
});
|
|
31132
31188
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
31133
31189
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
31134
31190
|
} else {
|
|
31135
|
-
ownKeys$
|
|
31191
|
+
ownKeys$6(source).forEach(function(key) {
|
|
31136
31192
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
31137
31193
|
});
|
|
31138
31194
|
}
|
|
31139
31195
|
}
|
|
31140
31196
|
return target;
|
|
31141
31197
|
}
|
|
31142
|
-
function _defineProperty$
|
|
31198
|
+
function _defineProperty$n(obj, key, value) {
|
|
31143
31199
|
if (key in obj) {
|
|
31144
31200
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
31145
31201
|
} else {
|
|
@@ -31147,10 +31203,10 @@
|
|
|
31147
31203
|
}
|
|
31148
31204
|
return obj;
|
|
31149
31205
|
}
|
|
31150
|
-
function _objectWithoutProperties$
|
|
31206
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
31151
31207
|
if (source == null)
|
|
31152
31208
|
return {};
|
|
31153
|
-
var target = _objectWithoutPropertiesLoose$
|
|
31209
|
+
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
31154
31210
|
var key, i2;
|
|
31155
31211
|
if (Object.getOwnPropertySymbols) {
|
|
31156
31212
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -31165,7 +31221,7 @@
|
|
|
31165
31221
|
}
|
|
31166
31222
|
return target;
|
|
31167
31223
|
}
|
|
31168
|
-
function _objectWithoutPropertiesLoose$
|
|
31224
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
31169
31225
|
if (source == null)
|
|
31170
31226
|
return {};
|
|
31171
31227
|
var target = {};
|
|
@@ -31180,8 +31236,8 @@
|
|
|
31180
31236
|
return target;
|
|
31181
31237
|
}
|
|
31182
31238
|
var Dropzone$1 = React.forwardRef(function(_ref2, ref) {
|
|
31183
|
-
var children2 = _ref2.children, params = _objectWithoutProperties$
|
|
31184
|
-
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$
|
|
31239
|
+
var children2 = _ref2.children, params = _objectWithoutProperties$1(_ref2, ["children"]);
|
|
31240
|
+
var _useDropzone = useDropzone(params), open = _useDropzone.open, props = _objectWithoutProperties$1(_useDropzone, ["open"]);
|
|
31185
31241
|
React.useImperativeHandle(ref, function() {
|
|
31186
31242
|
return {
|
|
31187
31243
|
open
|
|
@@ -31314,7 +31370,7 @@
|
|
|
31314
31370
|
event2.preventDefault();
|
|
31315
31371
|
event2.persist();
|
|
31316
31372
|
stopPropagation(event2);
|
|
31317
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
31373
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$2(dragTargetsRef.current), [event2.target]);
|
|
31318
31374
|
if (isEvtWithFiles(event2)) {
|
|
31319
31375
|
Promise.resolve(getFilesFromEvent(event2)).then(function(draggedFiles2) {
|
|
31320
31376
|
if (isPropagationStopped(event2) && !noDragEventsBubbling) {
|
|
@@ -31442,8 +31498,8 @@
|
|
|
31442
31498
|
};
|
|
31443
31499
|
var getRootProps = React.useMemo(function() {
|
|
31444
31500
|
return function() {
|
|
31445
|
-
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$
|
|
31446
|
-
return _objectSpread$5(_defineProperty$
|
|
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$1(_ref3, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"]);
|
|
31502
|
+
return _objectSpread$5(_defineProperty$n({
|
|
31447
31503
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
31448
31504
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
31449
31505
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -31462,8 +31518,8 @@
|
|
|
31462
31518
|
}, []);
|
|
31463
31519
|
var getInputProps = React.useMemo(function() {
|
|
31464
31520
|
return function() {
|
|
31465
|
-
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$
|
|
31466
|
-
var inputProps = _defineProperty$
|
|
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$1(_ref4, ["refKey", "onChange", "onClick"]);
|
|
31522
|
+
var inputProps = _defineProperty$n({
|
|
31467
31523
|
accept,
|
|
31468
31524
|
multiple,
|
|
31469
31525
|
type: "file",
|
|
@@ -32079,7 +32135,7 @@
|
|
|
32079
32135
|
return jsxRuntime.exports.jsxs(Wrapper$7, { className: props.className, isDisabled: props.disabled, isOpen, maxRows, maxWidth, style: props.style, children: [jsxRuntime.exports.jsx(Tooltip$1, { content: props.errorMsg, disabled: !props.errorMsg, styling: "error", children: jsxRuntime.exports.jsxs(InputWrapper$3, { isDisabled: props.disabled, isOpen, ref: referenceElement, children: [jsxRuntime.exports.jsxs(TagWrapper, { maxRows, children: [selectedItems.map((selectedItem, index2) => jsxRuntime.exports.jsxs(Tag$1, Object.assign({ disabled: props.disabled }, getSelectedItemProps({ index: index2, selectedItem }), { children: [jsxRuntime.exports.jsx(TagText, { children: selectedItem.label }), jsxRuntime.exports.jsx(Cross$1, { asButton: true, onClick: (e3) => {
|
|
32080
32136
|
e3.stopPropagation();
|
|
32081
32137
|
return removeSelectedItem(selectedItem);
|
|
32082
|
-
} })] }), selectedItem.value)), jsxRuntime.exports.jsx(Input$1, Object.assign({}, getInputProps(getDropdownProps({ preventKeyAction: isOpen })), { disabled: props.disabled, onFocus: openMenu, placeholder: props.placeholder, size: props.size }))] }), jsxRuntime.exports.jsx(ChevronButton, Object.assign({}, getToggleButtonProps(), { children: jsxRuntime.exports.jsx(Chevron$2, { disabled: props.disabled, isOpen }) }))] }) }), ReactDOM__default.default.createPortal(jsxRuntime.exports.jsxs(DropdownList$1, Object.assign({}, menuProps, attributes2.popper, { isOpen, ref: setMenuReference, style: Object.assign(Object.assign({}, styles2.popper), { width: parseFloat((_c = styles2.popper) === null || _c === void 0 ? void 0 : _c.width), zIndex: 9999 }), children: [filteredItems.length > 0 && filteredItems.map((item, index2) => React.createElement(ListItem, Object.assign({}, getItemProps({ index: index2, item }), { hovered: index2 === highlightedIndex, key: `item-${index2}`, size: props.size, title: item.label }), item.label)), filteredItems.length === 0 && jsxRuntime.exports.jsx(NoItemsLabel, { children: "No Items" })] })), document.body)] });
|
|
32138
|
+
} })] }), selectedItem.value)), jsxRuntime.exports.jsx(Input$1, Object.assign({}, getInputProps(getDropdownProps({ preventKeyAction: isOpen })), { disabled: props.disabled, onFocus: openMenu, placeholder: props.placeholder, size: props.size, style: { flex: "1 1 5ch" } }))] }), jsxRuntime.exports.jsx(ChevronButton, Object.assign({}, getToggleButtonProps(), { children: jsxRuntime.exports.jsx(Chevron$2, { disabled: props.disabled, isOpen }) }))] }) }), ReactDOM__default.default.createPortal(jsxRuntime.exports.jsxs(DropdownList$1, Object.assign({}, menuProps, attributes2.popper, { isOpen, ref: setMenuReference, style: Object.assign(Object.assign({}, styles2.popper), { width: parseFloat((_c = styles2.popper) === null || _c === void 0 ? void 0 : _c.width), zIndex: 9999 }), children: [filteredItems.length > 0 && filteredItems.map((item, index2) => React.createElement(ListItem, Object.assign({}, getItemProps({ index: index2, item }), { hovered: index2 === highlightedIndex, key: `item-${index2}`, size: props.size, title: item.label }), item.label)), filteredItems.length === 0 && jsxRuntime.exports.jsx(NoItemsLabel, { children: "No Items" })] })), document.body)] });
|
|
32083
32139
|
}
|
|
32084
32140
|
var __rest$7 = globalThis && globalThis.__rest || function(s2, e3) {
|
|
32085
32141
|
var t2 = {};
|
|
@@ -32411,7 +32467,6 @@
|
|
|
32411
32467
|
}
|
|
32412
32468
|
|
|
32413
32469
|
input {
|
|
32414
|
-
width: calc(100% - 1.25rem);
|
|
32415
32470
|
height: calc(2.5rem - 2px);
|
|
32416
32471
|
border: none;
|
|
32417
32472
|
border-radius: 0.25rem;
|
|
@@ -32451,6 +32506,7 @@
|
|
|
32451
32506
|
// Fix: Overrides the 22ch default width of the nested regular input
|
|
32452
32507
|
> div:first-child {
|
|
32453
32508
|
width: 100%;
|
|
32509
|
+
height: auto;
|
|
32454
32510
|
}
|
|
32455
32511
|
`;
|
|
32456
32512
|
const numericFilter = (integerOnly) => (e3) => {
|
|
@@ -32540,7 +32596,7 @@
|
|
|
32540
32596
|
React.useEffect(() => {
|
|
32541
32597
|
setInput(getInitialValue(props.value, props.initialValue));
|
|
32542
32598
|
}, [props.value]);
|
|
32543
|
-
return jsxRuntime.exports.jsxs("div", { children: [jsxRuntime.exports.jsxs(InputWrapper$2, { disabled: props.disabled, errorMsg: props.errorMsg, stepper: props.stepper, children: [jsxRuntime.exports.jsx(Input$3, { autoFocus: props.autoFocus, className: props.className, disabled: props.disabled, keydownFilter, maxValue: props.maxValue, minValue: props.minValue, onBlur: props.onBlur, onChange: onChange2, onComplete: props.onComplete, onKeyDown, placeholder: props.placeholder, ref,
|
|
32599
|
+
return jsxRuntime.exports.jsxs("div", { children: [jsxRuntime.exports.jsxs(InputWrapper$2, { disabled: props.disabled, errorMsg: props.errorMsg, stepper: props.stepper, style: props.style, children: [jsxRuntime.exports.jsx(Input$3, { autoFocus: props.autoFocus, className: props.className, disabled: props.disabled, keydownFilter, maxValue: props.maxValue, minValue: props.minValue, onBlur: props.onBlur, onChange: onChange2, onComplete: props.onComplete, onKeyDown, placeholder: props.placeholder, ref, value: input }), props.stepper && jsxRuntime.exports.jsx(InputStepper, { disabled: props.disabled, step: step2, stepSkip: props.stepSkip })] }), props.errorMsg && jsxRuntime.exports.jsx(ErrorMessage$2, { children: props.errorMsg })] });
|
|
32544
32600
|
});
|
|
32545
32601
|
Input$3.displayName = "NumericInput";
|
|
32546
32602
|
var isArray$a = isArray_1;
|
|
@@ -33081,7 +33137,7 @@
|
|
|
33081
33137
|
_defineProperties$f(Constructor, staticProps);
|
|
33082
33138
|
return Constructor;
|
|
33083
33139
|
}
|
|
33084
|
-
function _defineProperty$
|
|
33140
|
+
function _defineProperty$m(obj, key, value) {
|
|
33085
33141
|
if (key in obj) {
|
|
33086
33142
|
Object.defineProperty(obj, key, {
|
|
33087
33143
|
value,
|
|
@@ -33094,7 +33150,7 @@
|
|
|
33094
33150
|
}
|
|
33095
33151
|
return obj;
|
|
33096
33152
|
}
|
|
33097
|
-
function ownKeys$
|
|
33153
|
+
function ownKeys$5(object2, enumerableOnly) {
|
|
33098
33154
|
var keys2 = Object.keys(object2);
|
|
33099
33155
|
if (Object.getOwnPropertySymbols) {
|
|
33100
33156
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -33106,17 +33162,17 @@
|
|
|
33106
33162
|
}
|
|
33107
33163
|
return keys2;
|
|
33108
33164
|
}
|
|
33109
|
-
function _objectSpread2
|
|
33165
|
+
function _objectSpread2(target) {
|
|
33110
33166
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
33111
33167
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
33112
33168
|
if (i2 % 2) {
|
|
33113
|
-
ownKeys$
|
|
33114
|
-
_defineProperty$
|
|
33169
|
+
ownKeys$5(Object(source), true).forEach(function(key) {
|
|
33170
|
+
_defineProperty$m(target, key, source[key]);
|
|
33115
33171
|
});
|
|
33116
33172
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
33117
33173
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
33118
33174
|
} else {
|
|
33119
|
-
ownKeys$
|
|
33175
|
+
ownKeys$5(Object(source)).forEach(function(key) {
|
|
33120
33176
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
33121
33177
|
});
|
|
33122
33178
|
}
|
|
@@ -33135,22 +33191,22 @@
|
|
|
33135
33191
|
}
|
|
33136
33192
|
});
|
|
33137
33193
|
if (superClass)
|
|
33138
|
-
_setPrototypeOf
|
|
33194
|
+
_setPrototypeOf(subClass, superClass);
|
|
33139
33195
|
}
|
|
33140
|
-
function _getPrototypeOf
|
|
33141
|
-
_getPrototypeOf
|
|
33196
|
+
function _getPrototypeOf(o2) {
|
|
33197
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf2(o3) {
|
|
33142
33198
|
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
33143
33199
|
};
|
|
33144
|
-
return _getPrototypeOf
|
|
33200
|
+
return _getPrototypeOf(o2);
|
|
33145
33201
|
}
|
|
33146
|
-
function _setPrototypeOf
|
|
33147
|
-
_setPrototypeOf
|
|
33202
|
+
function _setPrototypeOf(o2, p2) {
|
|
33203
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf2(o3, p3) {
|
|
33148
33204
|
o3.__proto__ = p3;
|
|
33149
33205
|
return o3;
|
|
33150
33206
|
};
|
|
33151
|
-
return _setPrototypeOf
|
|
33207
|
+
return _setPrototypeOf(o2, p2);
|
|
33152
33208
|
}
|
|
33153
|
-
function _isNativeReflectConstruct
|
|
33209
|
+
function _isNativeReflectConstruct() {
|
|
33154
33210
|
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
33155
33211
|
return false;
|
|
33156
33212
|
if (Reflect.construct.sham)
|
|
@@ -33165,24 +33221,24 @@
|
|
|
33165
33221
|
return false;
|
|
33166
33222
|
}
|
|
33167
33223
|
}
|
|
33168
|
-
function _assertThisInitialized
|
|
33224
|
+
function _assertThisInitialized(self2) {
|
|
33169
33225
|
if (self2 === void 0) {
|
|
33170
33226
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
33171
33227
|
}
|
|
33172
33228
|
return self2;
|
|
33173
33229
|
}
|
|
33174
|
-
function _possibleConstructorReturn(self2,
|
|
33175
|
-
if (
|
|
33176
|
-
return
|
|
33230
|
+
function _possibleConstructorReturn(self2, call2) {
|
|
33231
|
+
if (call2 && (typeof call2 === "object" || typeof call2 === "function")) {
|
|
33232
|
+
return call2;
|
|
33177
33233
|
}
|
|
33178
|
-
return _assertThisInitialized
|
|
33234
|
+
return _assertThisInitialized(self2);
|
|
33179
33235
|
}
|
|
33180
33236
|
function _createSuper(Derived) {
|
|
33181
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct
|
|
33237
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
33182
33238
|
return function _createSuperInternal() {
|
|
33183
|
-
var Super = _getPrototypeOf
|
|
33239
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
33184
33240
|
if (hasNativeReflectConstruct) {
|
|
33185
|
-
var NewTarget = _getPrototypeOf
|
|
33241
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
33186
33242
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
33187
33243
|
} else {
|
|
33188
33244
|
result = Super.apply(this, arguments);
|
|
@@ -33191,20 +33247,20 @@
|
|
|
33191
33247
|
};
|
|
33192
33248
|
}
|
|
33193
33249
|
function _slicedToArray$7(arr, i2) {
|
|
33194
|
-
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$
|
|
33250
|
+
return _arrayWithHoles$7(arr) || _iterableToArrayLimit$7(arr, i2) || _unsupportedIterableToArray$8(arr, i2) || _nonIterableRest$7();
|
|
33195
33251
|
}
|
|
33196
|
-
function _toConsumableArray$
|
|
33197
|
-
return _arrayWithoutHoles$
|
|
33252
|
+
function _toConsumableArray$1(arr) {
|
|
33253
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
33198
33254
|
}
|
|
33199
|
-
function _arrayWithoutHoles$
|
|
33255
|
+
function _arrayWithoutHoles$1(arr) {
|
|
33200
33256
|
if (Array.isArray(arr))
|
|
33201
|
-
return _arrayLikeToArray$
|
|
33257
|
+
return _arrayLikeToArray$8(arr);
|
|
33202
33258
|
}
|
|
33203
33259
|
function _arrayWithHoles$7(arr) {
|
|
33204
33260
|
if (Array.isArray(arr))
|
|
33205
33261
|
return arr;
|
|
33206
33262
|
}
|
|
33207
|
-
function _iterableToArray$
|
|
33263
|
+
function _iterableToArray$1(iter2) {
|
|
33208
33264
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter2))
|
|
33209
33265
|
return Array.from(iter2);
|
|
33210
33266
|
}
|
|
@@ -33235,27 +33291,27 @@
|
|
|
33235
33291
|
}
|
|
33236
33292
|
return _arr;
|
|
33237
33293
|
}
|
|
33238
|
-
function _unsupportedIterableToArray$
|
|
33294
|
+
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
33239
33295
|
if (!o2)
|
|
33240
33296
|
return;
|
|
33241
33297
|
if (typeof o2 === "string")
|
|
33242
|
-
return _arrayLikeToArray$
|
|
33298
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33243
33299
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
33244
33300
|
if (n2 === "Object" && o2.constructor)
|
|
33245
33301
|
n2 = o2.constructor.name;
|
|
33246
33302
|
if (n2 === "Map" || n2 === "Set")
|
|
33247
33303
|
return Array.from(o2);
|
|
33248
33304
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
33249
|
-
return _arrayLikeToArray$
|
|
33305
|
+
return _arrayLikeToArray$8(o2, minLen);
|
|
33250
33306
|
}
|
|
33251
|
-
function _arrayLikeToArray$
|
|
33307
|
+
function _arrayLikeToArray$8(arr, len) {
|
|
33252
33308
|
if (len == null || len > arr.length)
|
|
33253
33309
|
len = arr.length;
|
|
33254
33310
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
33255
33311
|
arr2[i2] = arr[i2];
|
|
33256
33312
|
return arr2;
|
|
33257
33313
|
}
|
|
33258
|
-
function _nonIterableSpread$
|
|
33314
|
+
function _nonIterableSpread$1() {
|
|
33259
33315
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
33260
33316
|
}
|
|
33261
33317
|
function _nonIterableRest$7() {
|
|
@@ -33283,10 +33339,10 @@
|
|
|
33283
33339
|
if (val === updateValue) {
|
|
33284
33340
|
return handles;
|
|
33285
33341
|
}
|
|
33286
|
-
return [].concat(_toConsumableArray$
|
|
33342
|
+
return [].concat(_toConsumableArray$1(handles.slice(0, index2)), [{
|
|
33287
33343
|
key,
|
|
33288
33344
|
val: updateValue
|
|
33289
|
-
}], _toConsumableArray$
|
|
33345
|
+
}], _toConsumableArray$1(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
33290
33346
|
}
|
|
33291
33347
|
return handles;
|
|
33292
33348
|
}
|
|
@@ -33424,7 +33480,7 @@
|
|
|
33424
33480
|
_this.getRailProps = function() {
|
|
33425
33481
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
33426
33482
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33427
|
-
return _objectSpread2
|
|
33483
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33428
33484
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33429
33485
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33430
33486
|
});
|
|
@@ -33463,7 +33519,7 @@
|
|
|
33463
33519
|
_this.getHandleProps = function(id2) {
|
|
33464
33520
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
33465
33521
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33466
|
-
return _objectSpread2
|
|
33522
|
+
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
33467
33523
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
33468
33524
|
return emitKeyboard && emitKeyboard(e3, id2);
|
|
33469
33525
|
}),
|
|
@@ -33626,7 +33682,7 @@
|
|
|
33626
33682
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
33627
33683
|
_this.getTrackProps = function(props) {
|
|
33628
33684
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
33629
|
-
return _objectSpread2
|
|
33685
|
+
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
33630
33686
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
33631
33687
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
33632
33688
|
});
|
|
@@ -33754,7 +33810,7 @@
|
|
|
33754
33810
|
_this.onKeyDown = function(e3, handleID) {
|
|
33755
33811
|
var validUpKeys = ["ArrowRight", "ArrowUp"];
|
|
33756
33812
|
var validDownKeys = ["ArrowDown", "ArrowLeft"];
|
|
33757
|
-
var _assertThisInitialize = _assertThisInitialized
|
|
33813
|
+
var _assertThisInitialize = _assertThisInitialized(_this), handles = _assertThisInitialize.state.handles, _assertThisInitialize2 = _assertThisInitialize.props, _assertThisInitialize3 = _assertThisInitialize2.step, step2 = _assertThisInitialize3 === void 0 ? 0.1 : _assertThisInitialize3, _assertThisInitialize4 = _assertThisInitialize2.reversed, reversed = _assertThisInitialize4 === void 0 ? false : _assertThisInitialize4, _assertThisInitialize5 = _assertThisInitialize2.vertical, vertical = _assertThisInitialize5 === void 0 ? false : _assertThisInitialize5, _assertThisInitialize6 = _assertThisInitialize2.domain, domain2 = _assertThisInitialize6 === void 0 ? [0, 100] : _assertThisInitialize6;
|
|
33758
33814
|
var key = e3.key || "".concat(e3.keyCode);
|
|
33759
33815
|
if (!validUpKeys.concat(validDownKeys).includes(key)) {
|
|
33760
33816
|
return;
|
|
@@ -33797,7 +33853,7 @@
|
|
|
33797
33853
|
_this.onStart(e3, handleID, true);
|
|
33798
33854
|
};
|
|
33799
33855
|
_this.getEventData = function(e3, isTouch) {
|
|
33800
|
-
var _assertThisInitialize7 = _assertThisInitialized
|
|
33856
|
+
var _assertThisInitialize7 = _assertThisInitialized(_this), _assertThisInitialize8 = _assertThisInitialize7.state, pixelToStep = _assertThisInitialize8.pixelToStep, valueToPerc = _assertThisInitialize8.valueToPerc, vertical = _assertThisInitialize7.props.vertical;
|
|
33801
33857
|
pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
|
|
33802
33858
|
var value;
|
|
33803
33859
|
if (isTouch && e3 instanceof TouchEvent) {
|
|
@@ -33811,14 +33867,14 @@
|
|
|
33811
33867
|
};
|
|
33812
33868
|
};
|
|
33813
33869
|
_this.onMouseMove = function(e3) {
|
|
33814
|
-
var _assertThisInitialize9 = _assertThisInitialized
|
|
33870
|
+
var _assertThisInitialize9 = _assertThisInitialized(_this), _assertThisInitialize10 = _assertThisInitialize9.state, curr = _assertThisInitialize10.handles, pixelToStep = _assertThisInitialize10.pixelToStep, _assertThisInitialize11 = _assertThisInitialize10.activeHandleID, activeHandleID = _assertThisInitialize11 === void 0 ? "" : _assertThisInitialize11, _assertThisInitialize12 = _assertThisInitialize9.props, vertical = _assertThisInitialize12.vertical, _assertThisInitialize13 = _assertThisInitialize12.reversed, reversed = _assertThisInitialize13 === void 0 ? false : _assertThisInitialize13;
|
|
33815
33871
|
pixelToStep.setDomain(getSliderDomain(_this.slider.current, vertical));
|
|
33816
33872
|
var updateValue = pixelToStep.getValue(vertical ? e3.clientY : e3.pageX);
|
|
33817
33873
|
var nextHandles = getUpdatedHandles(curr, activeHandleID, updateValue, reversed);
|
|
33818
33874
|
_this.submitUpdate(nextHandles);
|
|
33819
33875
|
};
|
|
33820
33876
|
_this.onTouchMove = function(e3) {
|
|
33821
|
-
var _assertThisInitialize14 = _assertThisInitialized
|
|
33877
|
+
var _assertThisInitialize14 = _assertThisInitialized(_this), _assertThisInitialize15 = _assertThisInitialize14.state, curr = _assertThisInitialize15.handles, pixelToStep = _assertThisInitialize15.pixelToStep, activeHandleID = _assertThisInitialize15.activeHandleID, _assertThisInitialize16 = _assertThisInitialize14.props, vertical = _assertThisInitialize16.vertical, reversed = _assertThisInitialize16.reversed;
|
|
33822
33878
|
if (pixelToStep === null || isNotValidTouch(e3)) {
|
|
33823
33879
|
return;
|
|
33824
33880
|
}
|
|
@@ -33828,7 +33884,7 @@
|
|
|
33828
33884
|
_this.submitUpdate(nextHandles);
|
|
33829
33885
|
};
|
|
33830
33886
|
_this.onMouseUp = function() {
|
|
33831
|
-
var _assertThisInitialize17 = _assertThisInitialized
|
|
33887
|
+
var _assertThisInitialize17 = _assertThisInitialized(_this), _assertThisInitialize18 = _assertThisInitialize17.state, _assertThisInitialize19 = _assertThisInitialize18.handles, handles = _assertThisInitialize19 === void 0 ? [] : _assertThisInitialize19, activeHandleID = _assertThisInitialize18.activeHandleID, _assertThisInitialize20 = _assertThisInitialize17.props, _assertThisInitialize21 = _assertThisInitialize20.onChange, onChange2 = _assertThisInitialize21 === void 0 ? noop$4 : _assertThisInitialize21, _assertThisInitialize22 = _assertThisInitialize20.onSlideEnd, onSlideEnd = _assertThisInitialize22 === void 0 ? noop$4 : _assertThisInitialize22;
|
|
33832
33888
|
onChange2(handles.map(function(d2) {
|
|
33833
33889
|
return d2.val;
|
|
33834
33890
|
}));
|
|
@@ -33846,7 +33902,7 @@
|
|
|
33846
33902
|
}
|
|
33847
33903
|
};
|
|
33848
33904
|
_this.onTouchEnd = function() {
|
|
33849
|
-
var _assertThisInitialize23 = _assertThisInitialized
|
|
33905
|
+
var _assertThisInitialize23 = _assertThisInitialized(_this), _assertThisInitialize24 = _assertThisInitialize23.state, handles = _assertThisInitialize24.handles, activeHandleID = _assertThisInitialize24.activeHandleID, _assertThisInitialize25 = _assertThisInitialize23.props, _assertThisInitialize26 = _assertThisInitialize25.onChange, onChange2 = _assertThisInitialize26 === void 0 ? noop$4 : _assertThisInitialize26, _assertThisInitialize27 = _assertThisInitialize25.onSlideEnd, onSlideEnd = _assertThisInitialize27 === void 0 ? noop$4 : _assertThisInitialize27;
|
|
33850
33906
|
onChange2(handles.map(function(d2) {
|
|
33851
33907
|
return d2.val;
|
|
33852
33908
|
}));
|
|
@@ -34029,11 +34085,11 @@
|
|
|
34029
34085
|
return child;
|
|
34030
34086
|
}
|
|
34031
34087
|
});
|
|
34032
|
-
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34088
|
+
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34033
34089
|
style: rootStyle,
|
|
34034
34090
|
className,
|
|
34035
34091
|
ref: this.slider
|
|
34036
|
-
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2
|
|
34092
|
+
})), children2) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
34037
34093
|
style: rootStyle,
|
|
34038
34094
|
className,
|
|
34039
34095
|
ref: this.slider
|
|
@@ -34410,331 +34466,6 @@
|
|
|
34410
34466
|
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 })] });
|
|
34411
34467
|
}
|
|
34412
34468
|
const UISwitch = React.forwardRef(Switch$1);
|
|
34413
|
-
function ownKeys$5(object2, enumerableOnly) {
|
|
34414
|
-
var keys2 = Object.keys(object2);
|
|
34415
|
-
if (Object.getOwnPropertySymbols) {
|
|
34416
|
-
var symbols = Object.getOwnPropertySymbols(object2);
|
|
34417
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
34418
|
-
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
34419
|
-
})), keys2.push.apply(keys2, symbols);
|
|
34420
|
-
}
|
|
34421
|
-
return keys2;
|
|
34422
|
-
}
|
|
34423
|
-
function _objectSpread2(target) {
|
|
34424
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
34425
|
-
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
34426
|
-
i2 % 2 ? ownKeys$5(Object(source), true).forEach(function(key) {
|
|
34427
|
-
_defineProperty$m(target, key, source[key]);
|
|
34428
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function(key) {
|
|
34429
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34430
|
-
});
|
|
34431
|
-
}
|
|
34432
|
-
return target;
|
|
34433
|
-
}
|
|
34434
|
-
function _typeof$5(obj) {
|
|
34435
|
-
"@babel/helpers - typeof";
|
|
34436
|
-
return _typeof$5 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
34437
|
-
return typeof obj2;
|
|
34438
|
-
} : function(obj2) {
|
|
34439
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
34440
|
-
}, _typeof$5(obj);
|
|
34441
|
-
}
|
|
34442
|
-
function _defineProperty$m(obj, key, value) {
|
|
34443
|
-
if (key in obj) {
|
|
34444
|
-
Object.defineProperty(obj, key, {
|
|
34445
|
-
value,
|
|
34446
|
-
enumerable: true,
|
|
34447
|
-
configurable: true,
|
|
34448
|
-
writable: true
|
|
34449
|
-
});
|
|
34450
|
-
} else {
|
|
34451
|
-
obj[key] = value;
|
|
34452
|
-
}
|
|
34453
|
-
return obj;
|
|
34454
|
-
}
|
|
34455
|
-
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
34456
|
-
if (source == null)
|
|
34457
|
-
return {};
|
|
34458
|
-
var target = {};
|
|
34459
|
-
var sourceKeys = Object.keys(source);
|
|
34460
|
-
var key, i2;
|
|
34461
|
-
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
34462
|
-
key = sourceKeys[i2];
|
|
34463
|
-
if (excluded.indexOf(key) >= 0)
|
|
34464
|
-
continue;
|
|
34465
|
-
target[key] = source[key];
|
|
34466
|
-
}
|
|
34467
|
-
return target;
|
|
34468
|
-
}
|
|
34469
|
-
function _objectWithoutProperties$1(source, excluded) {
|
|
34470
|
-
if (source == null)
|
|
34471
|
-
return {};
|
|
34472
|
-
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
34473
|
-
var key, i2;
|
|
34474
|
-
if (Object.getOwnPropertySymbols) {
|
|
34475
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
34476
|
-
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
34477
|
-
key = sourceSymbolKeys[i2];
|
|
34478
|
-
if (excluded.indexOf(key) >= 0)
|
|
34479
|
-
continue;
|
|
34480
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
34481
|
-
continue;
|
|
34482
|
-
target[key] = source[key];
|
|
34483
|
-
}
|
|
34484
|
-
}
|
|
34485
|
-
return target;
|
|
34486
|
-
}
|
|
34487
|
-
function _toConsumableArray$1(arr) {
|
|
34488
|
-
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$8(arr) || _nonIterableSpread$1();
|
|
34489
|
-
}
|
|
34490
|
-
function _arrayWithoutHoles$1(arr) {
|
|
34491
|
-
if (Array.isArray(arr))
|
|
34492
|
-
return _arrayLikeToArray$8(arr);
|
|
34493
|
-
}
|
|
34494
|
-
function _iterableToArray$1(iter2) {
|
|
34495
|
-
if (typeof Symbol !== "undefined" && iter2[Symbol.iterator] != null || iter2["@@iterator"] != null)
|
|
34496
|
-
return Array.from(iter2);
|
|
34497
|
-
}
|
|
34498
|
-
function _unsupportedIterableToArray$8(o2, minLen) {
|
|
34499
|
-
if (!o2)
|
|
34500
|
-
return;
|
|
34501
|
-
if (typeof o2 === "string")
|
|
34502
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34503
|
-
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
34504
|
-
if (n2 === "Object" && o2.constructor)
|
|
34505
|
-
n2 = o2.constructor.name;
|
|
34506
|
-
if (n2 === "Map" || n2 === "Set")
|
|
34507
|
-
return Array.from(o2);
|
|
34508
|
-
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
34509
|
-
return _arrayLikeToArray$8(o2, minLen);
|
|
34510
|
-
}
|
|
34511
|
-
function _arrayLikeToArray$8(arr, len) {
|
|
34512
|
-
if (len == null || len > arr.length)
|
|
34513
|
-
len = arr.length;
|
|
34514
|
-
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
34515
|
-
arr2[i2] = arr[i2];
|
|
34516
|
-
return arr2;
|
|
34517
|
-
}
|
|
34518
|
-
function _nonIterableSpread$1() {
|
|
34519
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
34520
|
-
}
|
|
34521
|
-
function classList$1(props) {
|
|
34522
|
-
var _classes;
|
|
34523
|
-
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;
|
|
34524
|
-
var classes = (_classes = {
|
|
34525
|
-
"fa-beat": beat,
|
|
34526
|
-
"fa-fade": fade,
|
|
34527
|
-
"fa-beat-fade": beatFade,
|
|
34528
|
-
"fa-bounce": bounce,
|
|
34529
|
-
"fa-shake": shake,
|
|
34530
|
-
"fa-flash": flash,
|
|
34531
|
-
"fa-spin": spin,
|
|
34532
|
-
"fa-spin-reverse": spinReverse,
|
|
34533
|
-
"fa-spin-pulse": spinPulse,
|
|
34534
|
-
"fa-pulse": pulse,
|
|
34535
|
-
"fa-fw": fixedWidth,
|
|
34536
|
-
"fa-inverse": inverse,
|
|
34537
|
-
"fa-border": border,
|
|
34538
|
-
"fa-li": listItem2,
|
|
34539
|
-
"fa-flip": flip2 === true,
|
|
34540
|
-
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
34541
|
-
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
34542
|
-
}, _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);
|
|
34543
|
-
return Object.keys(classes).map(function(key) {
|
|
34544
|
-
return classes[key] ? key : null;
|
|
34545
|
-
}).filter(function(key) {
|
|
34546
|
-
return key;
|
|
34547
|
-
});
|
|
34548
|
-
}
|
|
34549
|
-
function _isNumerical(obj) {
|
|
34550
|
-
obj = obj - 0;
|
|
34551
|
-
return obj === obj;
|
|
34552
|
-
}
|
|
34553
|
-
function camelize(string2) {
|
|
34554
|
-
if (_isNumerical(string2)) {
|
|
34555
|
-
return string2;
|
|
34556
|
-
}
|
|
34557
|
-
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
34558
|
-
return chr ? chr.toUpperCase() : "";
|
|
34559
|
-
});
|
|
34560
|
-
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
34561
|
-
}
|
|
34562
|
-
var _excluded$1 = ["style"];
|
|
34563
|
-
function capitalize$1(val) {
|
|
34564
|
-
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
34565
|
-
}
|
|
34566
|
-
function styleToObject$1(style2) {
|
|
34567
|
-
return style2.split(";").map(function(s2) {
|
|
34568
|
-
return s2.trim();
|
|
34569
|
-
}).filter(function(s2) {
|
|
34570
|
-
return s2;
|
|
34571
|
-
}).reduce(function(acc, pair2) {
|
|
34572
|
-
var i2 = pair2.indexOf(":");
|
|
34573
|
-
var prop = camelize(pair2.slice(0, i2));
|
|
34574
|
-
var value = pair2.slice(i2 + 1).trim();
|
|
34575
|
-
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
34576
|
-
return acc;
|
|
34577
|
-
}, {});
|
|
34578
|
-
}
|
|
34579
|
-
function convert$1(createElement2, element2) {
|
|
34580
|
-
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
34581
|
-
if (typeof element2 === "string") {
|
|
34582
|
-
return element2;
|
|
34583
|
-
}
|
|
34584
|
-
var children2 = (element2.children || []).map(function(child) {
|
|
34585
|
-
return convert$1(createElement2, child);
|
|
34586
|
-
});
|
|
34587
|
-
var mixins = Object.keys(element2.attributes || {}).reduce(function(acc, key) {
|
|
34588
|
-
var val = element2.attributes[key];
|
|
34589
|
-
switch (key) {
|
|
34590
|
-
case "class":
|
|
34591
|
-
acc.attrs["className"] = val;
|
|
34592
|
-
delete element2.attributes["class"];
|
|
34593
|
-
break;
|
|
34594
|
-
case "style":
|
|
34595
|
-
acc.attrs["style"] = styleToObject$1(val);
|
|
34596
|
-
break;
|
|
34597
|
-
default:
|
|
34598
|
-
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
34599
|
-
acc.attrs[key.toLowerCase()] = val;
|
|
34600
|
-
} else {
|
|
34601
|
-
acc.attrs[camelize(key)] = val;
|
|
34602
|
-
}
|
|
34603
|
-
}
|
|
34604
|
-
return acc;
|
|
34605
|
-
}, {
|
|
34606
|
-
attrs: {}
|
|
34607
|
-
});
|
|
34608
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$1(extraProps, _excluded$1);
|
|
34609
|
-
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
34610
|
-
return createElement2.apply(void 0, [element2.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray$1(children2)));
|
|
34611
|
-
}
|
|
34612
|
-
var PRODUCTION = false;
|
|
34613
|
-
try {
|
|
34614
|
-
PRODUCTION = true;
|
|
34615
|
-
} catch (e3) {
|
|
34616
|
-
}
|
|
34617
|
-
function log() {
|
|
34618
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
34619
|
-
var _console;
|
|
34620
|
-
(_console = console).error.apply(_console, arguments);
|
|
34621
|
-
}
|
|
34622
|
-
}
|
|
34623
|
-
function normalizeIconArgs(icon2) {
|
|
34624
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
34625
|
-
return icon2;
|
|
34626
|
-
}
|
|
34627
|
-
if (parse$1$1.icon) {
|
|
34628
|
-
return parse$1$1.icon(icon2);
|
|
34629
|
-
}
|
|
34630
|
-
if (icon2 === null) {
|
|
34631
|
-
return null;
|
|
34632
|
-
}
|
|
34633
|
-
if (icon2 && _typeof$5(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
34634
|
-
return icon2;
|
|
34635
|
-
}
|
|
34636
|
-
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
34637
|
-
return {
|
|
34638
|
-
prefix: icon2[0],
|
|
34639
|
-
iconName: icon2[1]
|
|
34640
|
-
};
|
|
34641
|
-
}
|
|
34642
|
-
if (typeof icon2 === "string") {
|
|
34643
|
-
return {
|
|
34644
|
-
prefix: "fas",
|
|
34645
|
-
iconName: icon2
|
|
34646
|
-
};
|
|
34647
|
-
}
|
|
34648
|
-
}
|
|
34649
|
-
function objectWithKey(key, value) {
|
|
34650
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$m({}, key, value) : {};
|
|
34651
|
-
}
|
|
34652
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
34653
|
-
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
34654
|
-
var iconLookup = normalizeIconArgs(iconArgs);
|
|
34655
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray$1(classList$1(props)), _toConsumableArray$1(className.split(" "))));
|
|
34656
|
-
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
34657
|
-
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
34658
|
-
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
34659
|
-
symbol,
|
|
34660
|
-
title,
|
|
34661
|
-
titleId,
|
|
34662
|
-
maskId
|
|
34663
|
-
}));
|
|
34664
|
-
if (!renderedIcon) {
|
|
34665
|
-
log("Could not find icon", iconLookup);
|
|
34666
|
-
return null;
|
|
34667
|
-
}
|
|
34668
|
-
var abstract = renderedIcon.abstract;
|
|
34669
|
-
var extraProps = {
|
|
34670
|
-
ref
|
|
34671
|
-
};
|
|
34672
|
-
Object.keys(props).forEach(function(key) {
|
|
34673
|
-
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
34674
|
-
extraProps[key] = props[key];
|
|
34675
|
-
}
|
|
34676
|
-
});
|
|
34677
|
-
return convertCurry(abstract[0], extraProps);
|
|
34678
|
-
});
|
|
34679
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
34680
|
-
FontAwesomeIcon.propTypes = {
|
|
34681
|
-
beat: propTypes.exports.bool,
|
|
34682
|
-
border: propTypes.exports.bool,
|
|
34683
|
-
beatFade: propTypes.exports.bool,
|
|
34684
|
-
bounce: propTypes.exports.bool,
|
|
34685
|
-
className: propTypes.exports.string,
|
|
34686
|
-
fade: propTypes.exports.bool,
|
|
34687
|
-
flash: propTypes.exports.bool,
|
|
34688
|
-
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34689
|
-
maskId: propTypes.exports.string,
|
|
34690
|
-
fixedWidth: propTypes.exports.bool,
|
|
34691
|
-
inverse: propTypes.exports.bool,
|
|
34692
|
-
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
34693
|
-
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
34694
|
-
listItem: propTypes.exports.bool,
|
|
34695
|
-
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
34696
|
-
pulse: propTypes.exports.bool,
|
|
34697
|
-
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
34698
|
-
shake: propTypes.exports.bool,
|
|
34699
|
-
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
34700
|
-
spin: propTypes.exports.bool,
|
|
34701
|
-
spinPulse: propTypes.exports.bool,
|
|
34702
|
-
spinReverse: propTypes.exports.bool,
|
|
34703
|
-
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
34704
|
-
title: propTypes.exports.string,
|
|
34705
|
-
titleId: propTypes.exports.string,
|
|
34706
|
-
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
34707
|
-
swapOpacity: propTypes.exports.bool
|
|
34708
|
-
};
|
|
34709
|
-
FontAwesomeIcon.defaultProps = {
|
|
34710
|
-
border: false,
|
|
34711
|
-
className: "",
|
|
34712
|
-
mask: null,
|
|
34713
|
-
maskId: null,
|
|
34714
|
-
fixedWidth: false,
|
|
34715
|
-
inverse: false,
|
|
34716
|
-
flip: false,
|
|
34717
|
-
icon: null,
|
|
34718
|
-
listItem: false,
|
|
34719
|
-
pull: null,
|
|
34720
|
-
pulse: false,
|
|
34721
|
-
rotation: null,
|
|
34722
|
-
size: null,
|
|
34723
|
-
spin: false,
|
|
34724
|
-
spinPulse: false,
|
|
34725
|
-
spinReverse: false,
|
|
34726
|
-
beat: false,
|
|
34727
|
-
fade: false,
|
|
34728
|
-
beatFade: false,
|
|
34729
|
-
bounce: false,
|
|
34730
|
-
shake: false,
|
|
34731
|
-
symbol: false,
|
|
34732
|
-
title: "",
|
|
34733
|
-
titleId: null,
|
|
34734
|
-
transform: null,
|
|
34735
|
-
swapOpacity: false
|
|
34736
|
-
};
|
|
34737
|
-
var convertCurry = convert$1.bind(null, React__default.default.createElement);
|
|
34738
34469
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
34739
34470
|
return typeof value === "number" && value !== value;
|
|
34740
34471
|
};
|
|
@@ -36613,7 +36344,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
36613
36344
|
return Constructor;
|
|
36614
36345
|
};
|
|
36615
36346
|
}();
|
|
36616
|
-
var _extends$
|
|
36347
|
+
var _extends$1 = Object.assign || function(target) {
|
|
36617
36348
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
36618
36349
|
var source = arguments[i2];
|
|
36619
36350
|
for (var key in source) {
|
|
@@ -36639,11 +36370,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
36639
36370
|
if (superClass)
|
|
36640
36371
|
Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
|
|
36641
36372
|
};
|
|
36642
|
-
var possibleConstructorReturn = function(self2,
|
|
36373
|
+
var possibleConstructorReturn = function(self2, call2) {
|
|
36643
36374
|
if (!self2) {
|
|
36644
36375
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36645
36376
|
}
|
|
36646
|
-
return
|
|
36377
|
+
return call2 && (typeof call2 === "object" || typeof call2 === "function") ? call2 : self2;
|
|
36647
36378
|
};
|
|
36648
36379
|
var slicedToArray = function() {
|
|
36649
36380
|
function sliceIterator(arr, i2) {
|
|
@@ -36943,7 +36674,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
36943
36674
|
{
|
|
36944
36675
|
className,
|
|
36945
36676
|
ref: this._setRef,
|
|
36946
|
-
style: _extends$
|
|
36677
|
+
style: _extends$1({}, outerStyle, style2)
|
|
36947
36678
|
},
|
|
36948
36679
|
!bailoutOnChildren && children2(childParams)
|
|
36949
36680
|
);
|
|
@@ -37069,15 +36800,15 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37069
36800
|
var _class, _temp;
|
|
37070
36801
|
var getItemOffset = _ref2.getItemOffset, getEstimatedTotalSize = _ref2.getEstimatedTotalSize, getItemSize = _ref2.getItemSize, getOffsetForIndexAndAlignment = _ref2.getOffsetForIndexAndAlignment, getStartIndexForOffset = _ref2.getStartIndexForOffset, getStopIndexForStartIndex = _ref2.getStopIndexForStartIndex, initInstanceProps = _ref2.initInstanceProps, shouldResetStyleCacheOnItemSizeChange = _ref2.shouldResetStyleCacheOnItemSizeChange, validateProps = _ref2.validateProps;
|
|
37071
36802
|
return _temp = _class = /* @__PURE__ */ function(_PureComponent) {
|
|
37072
|
-
_inheritsLoose$
|
|
36803
|
+
_inheritsLoose$1(List2, _PureComponent);
|
|
37073
36804
|
function List2(props) {
|
|
37074
36805
|
var _this;
|
|
37075
36806
|
_this = _PureComponent.call(this, props) || this;
|
|
37076
|
-
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized$
|
|
36807
|
+
_this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized$2(_assertThisInitialized$2(_this)));
|
|
37077
36808
|
_this._outerRef = void 0;
|
|
37078
36809
|
_this._resetIsScrollingTimeoutId = null;
|
|
37079
36810
|
_this.state = {
|
|
37080
|
-
instance: _assertThisInitialized$
|
|
36811
|
+
instance: _assertThisInitialized$2(_assertThisInitialized$2(_this)),
|
|
37081
36812
|
isScrolling: false,
|
|
37082
36813
|
scrollDirection: "forward",
|
|
37083
36814
|
scrollOffset: typeof _this.props.initialScrollOffset === "number" ? _this.props.initialScrollOffset : 0,
|
|
@@ -37291,7 +37022,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37291
37022
|
className,
|
|
37292
37023
|
onScroll,
|
|
37293
37024
|
ref: this._outerRefSetter,
|
|
37294
|
-
style: _extends$
|
|
37025
|
+
style: _extends$2({
|
|
37295
37026
|
position: "relative",
|
|
37296
37027
|
height,
|
|
37297
37028
|
width,
|
|
@@ -37443,8 +37174,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
37443
37174
|
return false;
|
|
37444
37175
|
}
|
|
37445
37176
|
function areEqual(prevProps, nextProps) {
|
|
37446
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
37447
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
37177
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$4(prevProps, ["style"]);
|
|
37178
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$4(nextProps, ["style"]);
|
|
37448
37179
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
37449
37180
|
}
|
|
37450
37181
|
const GlobalStyle = styled.createGlobalStyle`
|
|
@@ -38842,114 +38573,14 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
38842
38573
|
}
|
|
38843
38574
|
);
|
|
38844
38575
|
}
|
|
38845
|
-
function _extends$1() {
|
|
38846
|
-
_extends$1 = Object.assign ? Object.assign.bind() : function(target) {
|
|
38847
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
38848
|
-
var source = arguments[i2];
|
|
38849
|
-
for (var key in source) {
|
|
38850
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
38851
|
-
target[key] = source[key];
|
|
38852
|
-
}
|
|
38853
|
-
}
|
|
38854
|
-
}
|
|
38855
|
-
return target;
|
|
38856
|
-
};
|
|
38857
|
-
return _extends$1.apply(this, arguments);
|
|
38858
|
-
}
|
|
38859
|
-
function _assertThisInitialized(self2) {
|
|
38860
|
-
if (self2 === void 0) {
|
|
38861
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
38862
|
-
}
|
|
38863
|
-
return self2;
|
|
38864
|
-
}
|
|
38865
|
-
function _setPrototypeOf(o2, p2) {
|
|
38866
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
|
|
38867
|
-
o3.__proto__ = p3;
|
|
38868
|
-
return o3;
|
|
38869
|
-
};
|
|
38870
|
-
return _setPrototypeOf(o2, p2);
|
|
38871
|
-
}
|
|
38872
|
-
function _inheritsLoose(subClass, superClass) {
|
|
38873
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
38874
|
-
subClass.prototype.constructor = subClass;
|
|
38875
|
-
_setPrototypeOf(subClass, superClass);
|
|
38876
|
-
}
|
|
38877
|
-
function _getPrototypeOf(o2) {
|
|
38878
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
|
|
38879
|
-
return o3.__proto__ || Object.getPrototypeOf(o3);
|
|
38880
|
-
};
|
|
38881
|
-
return _getPrototypeOf(o2);
|
|
38882
|
-
}
|
|
38883
|
-
function _isNativeFunction(fn2) {
|
|
38884
|
-
return Function.toString.call(fn2).indexOf("[native code]") !== -1;
|
|
38885
|
-
}
|
|
38886
|
-
function _isNativeReflectConstruct() {
|
|
38887
|
-
if (typeof Reflect === "undefined" || !Reflect.construct)
|
|
38888
|
-
return false;
|
|
38889
|
-
if (Reflect.construct.sham)
|
|
38890
|
-
return false;
|
|
38891
|
-
if (typeof Proxy === "function")
|
|
38892
|
-
return true;
|
|
38893
|
-
try {
|
|
38894
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
38895
|
-
}));
|
|
38896
|
-
return true;
|
|
38897
|
-
} catch (e3) {
|
|
38898
|
-
return false;
|
|
38899
|
-
}
|
|
38900
|
-
}
|
|
38901
|
-
function _construct(Parent, args, Class) {
|
|
38902
|
-
if (_isNativeReflectConstruct()) {
|
|
38903
|
-
_construct = Reflect.construct.bind();
|
|
38904
|
-
} else {
|
|
38905
|
-
_construct = function _construct2(Parent2, args2, Class2) {
|
|
38906
|
-
var a2 = [null];
|
|
38907
|
-
a2.push.apply(a2, args2);
|
|
38908
|
-
var Constructor = Function.bind.apply(Parent2, a2);
|
|
38909
|
-
var instance2 = new Constructor();
|
|
38910
|
-
if (Class2)
|
|
38911
|
-
_setPrototypeOf(instance2, Class2.prototype);
|
|
38912
|
-
return instance2;
|
|
38913
|
-
};
|
|
38914
|
-
}
|
|
38915
|
-
return _construct.apply(null, arguments);
|
|
38916
|
-
}
|
|
38917
|
-
function _wrapNativeSuper(Class) {
|
|
38918
|
-
var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
38919
|
-
_wrapNativeSuper = function _wrapNativeSuper2(Class2) {
|
|
38920
|
-
if (Class2 === null || !_isNativeFunction(Class2))
|
|
38921
|
-
return Class2;
|
|
38922
|
-
if (typeof Class2 !== "function") {
|
|
38923
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
38924
|
-
}
|
|
38925
|
-
if (typeof _cache !== "undefined") {
|
|
38926
|
-
if (_cache.has(Class2))
|
|
38927
|
-
return _cache.get(Class2);
|
|
38928
|
-
_cache.set(Class2, Wrapper2);
|
|
38929
|
-
}
|
|
38930
|
-
function Wrapper2() {
|
|
38931
|
-
return _construct(Class2, arguments, _getPrototypeOf(this).constructor);
|
|
38932
|
-
}
|
|
38933
|
-
Wrapper2.prototype = Object.create(Class2.prototype, {
|
|
38934
|
-
constructor: {
|
|
38935
|
-
value: Wrapper2,
|
|
38936
|
-
enumerable: false,
|
|
38937
|
-
writable: true,
|
|
38938
|
-
configurable: true
|
|
38939
|
-
}
|
|
38940
|
-
});
|
|
38941
|
-
return _setPrototypeOf(Wrapper2, Class2);
|
|
38942
|
-
};
|
|
38943
|
-
return _wrapNativeSuper(Class);
|
|
38944
|
-
}
|
|
38945
38576
|
var PolishedError = /* @__PURE__ */ function(_Error) {
|
|
38946
|
-
_inheritsLoose(PolishedError2, _Error);
|
|
38577
|
+
_inheritsLoose$1(PolishedError2, _Error);
|
|
38947
38578
|
function PolishedError2(code2) {
|
|
38948
38579
|
var _this;
|
|
38949
38580
|
{
|
|
38950
38581
|
_this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code2 + " for more information.") || this;
|
|
38951
38582
|
}
|
|
38952
|
-
return _assertThisInitialized(_this);
|
|
38583
|
+
return _assertThisInitialized$2(_this);
|
|
38953
38584
|
}
|
|
38954
38585
|
return PolishedError2;
|
|
38955
38586
|
}(/* @__PURE__ */ _wrapNativeSuper(Error));
|
|
@@ -39297,7 +38928,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
39297
38928
|
return color2;
|
|
39298
38929
|
var parsedColor = parseToRgb(color2);
|
|
39299
38930
|
var alpha = typeof parsedColor.alpha === "number" ? parsedColor.alpha : 1;
|
|
39300
|
-
var colorWithAlpha = _extends$
|
|
38931
|
+
var colorWithAlpha = _extends$2({}, parsedColor, {
|
|
39301
38932
|
alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
|
|
39302
38933
|
});
|
|
39303
38934
|
return rgba$2(colorWithAlpha);
|
|
@@ -43109,8 +42740,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43109
42740
|
const debouncedSetValue = React.useMemo(() => debounce_1(setValue, 500), [setValue]);
|
|
43110
42741
|
const debouncedUpdateForm = React.useMemo(() => debounce_1(formCtx2.updateForm, 500), [formCtx2.updateForm]);
|
|
43111
42742
|
function handleChange(val) {
|
|
43112
|
-
|
|
43113
|
-
|
|
42743
|
+
let newValue = val;
|
|
42744
|
+
if (props.type === "number") {
|
|
42745
|
+
newValue = Number.isNaN(Number(newValue)) ? null : Number(newValue);
|
|
42746
|
+
}
|
|
42747
|
+
setInternalValue(newValue);
|
|
42748
|
+
debouncedSetValue(newValue);
|
|
43114
42749
|
debouncedAction(val);
|
|
43115
42750
|
debouncedUpdateForm(val);
|
|
43116
42751
|
}
|
|
@@ -43164,8 +42799,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
43164
42799
|
$rawCss: css2,
|
|
43165
42800
|
className: props.className,
|
|
43166
42801
|
style: {
|
|
43167
|
-
|
|
43168
|
-
|
|
42802
|
+
flexDirection: props.direction === "horizontal" ? "row" : "column",
|
|
42803
|
+
...style2
|
|
43169
42804
|
}
|
|
43170
42805
|
},
|
|
43171
42806
|
typeof props.value === "string" ? /* @__PURE__ */ React__default.default.createElement(
|
|
@@ -44238,7 +43873,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
44238
43873
|
}
|
|
44239
43874
|
return items;
|
|
44240
43875
|
}
|
|
44241
|
-
const hasOwnProperty$
|
|
43876
|
+
const hasOwnProperty$5 = {}.hasOwnProperty;
|
|
44242
43877
|
function combineExtensions(extensions2) {
|
|
44243
43878
|
const all2 = {};
|
|
44244
43879
|
let index2 = -1;
|
|
@@ -44250,13 +43885,13 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
44250
43885
|
function syntaxExtension(all2, extension2) {
|
|
44251
43886
|
let hook;
|
|
44252
43887
|
for (hook in extension2) {
|
|
44253
|
-
const maybe = hasOwnProperty$
|
|
43888
|
+
const maybe = hasOwnProperty$5.call(all2, hook) ? all2[hook] : void 0;
|
|
44254
43889
|
const left2 = maybe || (all2[hook] = {});
|
|
44255
43890
|
const right2 = extension2[hook];
|
|
44256
43891
|
let code2;
|
|
44257
43892
|
if (right2) {
|
|
44258
43893
|
for (code2 in right2) {
|
|
44259
|
-
if (!hasOwnProperty$
|
|
43894
|
+
if (!hasOwnProperty$5.call(left2, code2))
|
|
44260
43895
|
left2[code2] = [];
|
|
44261
43896
|
const value = right2[code2];
|
|
44262
43897
|
constructs(
|
|
@@ -50005,6 +49640,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50005
49640
|
autoComplete: spaceSeparated,
|
|
50006
49641
|
autoFocus: boolean,
|
|
50007
49642
|
autoPlay: boolean,
|
|
49643
|
+
blocking: spaceSeparated,
|
|
50008
49644
|
capture: boolean,
|
|
50009
49645
|
charSet: null,
|
|
50010
49646
|
checked: boolean,
|
|
@@ -50030,6 +49666,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50030
49666
|
draggable: booleanish,
|
|
50031
49667
|
encType: null,
|
|
50032
49668
|
enterKeyHint: null,
|
|
49669
|
+
fetchPriority: null,
|
|
50033
49670
|
form: null,
|
|
50034
49671
|
formAction: null,
|
|
50035
49672
|
formEncType: null,
|
|
@@ -50047,6 +49684,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50047
49684
|
id: null,
|
|
50048
49685
|
imageSizes: null,
|
|
50049
49686
|
imageSrcSet: null,
|
|
49687
|
+
inert: boolean,
|
|
50050
49688
|
inputMode: null,
|
|
50051
49689
|
integrity: null,
|
|
50052
49690
|
is: null,
|
|
@@ -50170,6 +49808,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50170
49808
|
ping: spaceSeparated,
|
|
50171
49809
|
placeholder: null,
|
|
50172
49810
|
playsInline: boolean,
|
|
49811
|
+
popover: null,
|
|
49812
|
+
popoverTarget: null,
|
|
49813
|
+
popoverTargetAction: null,
|
|
50173
49814
|
poster: null,
|
|
50174
49815
|
preload: null,
|
|
50175
49816
|
readOnly: boolean,
|
|
@@ -50427,6 +50068,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50427
50068
|
textAnchor: "text-anchor",
|
|
50428
50069
|
textDecoration: "text-decoration",
|
|
50429
50070
|
textRendering: "text-rendering",
|
|
50071
|
+
transformOrigin: "transform-origin",
|
|
50430
50072
|
typeOf: "typeof",
|
|
50431
50073
|
underlinePosition: "underline-position",
|
|
50432
50074
|
underlineThickness: "underline-thickness",
|
|
@@ -50788,6 +50430,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
50788
50430
|
typeOf: commaOrSpaceSeparated,
|
|
50789
50431
|
to: null,
|
|
50790
50432
|
transform: null,
|
|
50433
|
+
transformOrigin: null,
|
|
50791
50434
|
u1: null,
|
|
50792
50435
|
u2: null,
|
|
50793
50436
|
underlinePosition: number$4,
|
|
@@ -58773,7 +58416,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
58773
58416
|
}
|
|
58774
58417
|
events2[index2 + 1][1].type = "data";
|
|
58775
58418
|
events2[index2 + 3][1].type = "gfmFootnoteCallLabelMarker";
|
|
58776
|
-
const
|
|
58419
|
+
const call2 = {
|
|
58777
58420
|
type: "gfmFootnoteCall",
|
|
58778
58421
|
start: Object.assign({}, events2[index2 + 3][1].start),
|
|
58779
58422
|
end: Object.assign({}, events2[events2.length - 1][1].end)
|
|
@@ -58800,7 +58443,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
58800
58443
|
const replacement = [
|
|
58801
58444
|
events2[index2 + 1],
|
|
58802
58445
|
events2[index2 + 2],
|
|
58803
|
-
["enter",
|
|
58446
|
+
["enter", call2, context2],
|
|
58804
58447
|
events2[index2 + 3],
|
|
58805
58448
|
events2[index2 + 4],
|
|
58806
58449
|
["enter", marker, context2],
|
|
@@ -58811,7 +58454,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
58811
58454
|
["exit", string2, context2],
|
|
58812
58455
|
events2[events2.length - 2],
|
|
58813
58456
|
events2[events2.length - 1],
|
|
58814
|
-
["exit",
|
|
58457
|
+
["exit", call2, context2]
|
|
58815
58458
|
];
|
|
58816
58459
|
events2.splice(index2, events2.length - index2 + 1, ...replacement);
|
|
58817
58460
|
return events2;
|
|
@@ -60987,7 +60630,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
60987
60630
|
const StyledP = core$2.injectCss("p");
|
|
60988
60631
|
function Paragraph(props) {
|
|
60989
60632
|
const [style2, css2] = core$2.useComponentStyles(props);
|
|
60990
|
-
return /* @__PURE__ */ React__default.default.createElement(StyledP, { $rawCss: css2, className: props.className, style: {
|
|
60633
|
+
return /* @__PURE__ */ React__default.default.createElement(StyledP, { $rawCss: css2, className: props.className, style: { textAlign: props.align, ...style2 } }, /* @__PURE__ */ React__default.default.createElement(core$2.DisplayCtx.Provider, { value: { component: ComponentType.PARAGRAPH, direction: "horizontal" } }, props.children.map((child, idx) => /* @__PURE__ */ React__default.default.createElement(core$2.DynamicComponent, { component: child, key: `stack-${idx}-${child.name}` }))));
|
|
60991
60634
|
}
|
|
60992
60635
|
const ProgressBarWrapper = styled__default.default.div`
|
|
60993
60636
|
display: flex;
|
|
@@ -61995,7 +61638,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
61995
61638
|
paddingBottom: "1.1rem",
|
|
61996
61639
|
position: "absolute",
|
|
61997
61640
|
right: 0,
|
|
61998
|
-
top: props.searchable ? "3rem" : 0
|
|
61641
|
+
top: props.searchable ? "3rem" : 0,
|
|
61642
|
+
width: "calc(100% - 1px)"
|
|
61999
61643
|
}
|
|
62000
61644
|
},
|
|
62001
61645
|
/* @__PURE__ */ React__default.default.createElement(
|
|
@@ -62032,14 +61676,14 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
62032
61676
|
$rawCss: css2,
|
|
62033
61677
|
className: props.className,
|
|
62034
61678
|
style: {
|
|
62035
|
-
...style2,
|
|
62036
61679
|
border: (_a3 = props == null ? void 0 : props.border) != null ? _a3 : "none",
|
|
62037
61680
|
color: color2,
|
|
62038
61681
|
fontStyle: props.italic ? "italic" : "normal",
|
|
62039
61682
|
fontWeight: props.bold ? "bold" : "normal",
|
|
62040
61683
|
marginRight: "0.1em",
|
|
62041
61684
|
textAlign: props.align,
|
|
62042
|
-
textDecoration: props.underline ? "underline" : ""
|
|
61685
|
+
textDecoration: props.underline ? "underline" : "",
|
|
61686
|
+
...style2
|
|
62043
61687
|
}
|
|
62044
61688
|
},
|
|
62045
61689
|
`${typeof text2 === "string" ? text2.trimEnd() : text2} `
|
|
@@ -62053,10 +61697,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
62053
61697
|
as: tag,
|
|
62054
61698
|
className: props.className,
|
|
62055
61699
|
style: {
|
|
62056
|
-
...style2,
|
|
62057
61700
|
color: color2,
|
|
62058
61701
|
margin: "0",
|
|
62059
|
-
textAlign: props.align
|
|
61702
|
+
textAlign: props.align,
|
|
61703
|
+
...style2
|
|
62060
61704
|
}
|
|
62061
61705
|
},
|
|
62062
61706
|
text2
|
|
@@ -62318,10 +61962,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
62318
61962
|
return _possibleConstructorReturn2(this, result);
|
|
62319
61963
|
};
|
|
62320
61964
|
}
|
|
62321
|
-
function _possibleConstructorReturn2(self2,
|
|
62322
|
-
if (
|
|
62323
|
-
return
|
|
62324
|
-
} else if (
|
|
61965
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
61966
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
61967
|
+
return call2;
|
|
61968
|
+
} else if (call2 !== void 0) {
|
|
62325
61969
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
62326
61970
|
}
|
|
62327
61971
|
return _assertThisInitialized2(self2);
|
|
@@ -155287,10 +154931,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
155287
154931
|
return _possibleConstructorReturn2(this, result);
|
|
155288
154932
|
};
|
|
155289
154933
|
}
|
|
155290
|
-
function _possibleConstructorReturn2(self2,
|
|
155291
|
-
if (
|
|
155292
|
-
return
|
|
155293
|
-
} else if (
|
|
154934
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
154935
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
154936
|
+
return call2;
|
|
154937
|
+
} else if (call2 !== void 0) {
|
|
155294
154938
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
155295
154939
|
}
|
|
155296
154940
|
return _assertThisInitialized2(self2);
|
|
@@ -185136,10 +184780,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
185136
184780
|
return _possibleConstructorReturn2(this, result);
|
|
185137
184781
|
};
|
|
185138
184782
|
}
|
|
185139
|
-
function _possibleConstructorReturn2(self2,
|
|
185140
|
-
if (
|
|
185141
|
-
return
|
|
185142
|
-
} else if (
|
|
184783
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
184784
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
184785
|
+
return call2;
|
|
184786
|
+
} else if (call2 !== void 0) {
|
|
185143
184787
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
185144
184788
|
}
|
|
185145
184789
|
return _assertThisInitialized2(self2);
|
|
@@ -199454,9 +199098,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
199454
199098
|
_defineProperties2(Constructor, staticProps);
|
|
199455
199099
|
return Constructor;
|
|
199456
199100
|
}
|
|
199457
|
-
function _possibleConstructorReturn2(self2,
|
|
199458
|
-
if (
|
|
199459
|
-
return
|
|
199101
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
199102
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
199103
|
+
return call2;
|
|
199460
199104
|
}
|
|
199461
199105
|
return _assertThisInitialized2(self2);
|
|
199462
199106
|
}
|
|
@@ -199890,9 +199534,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
199890
199534
|
throw new TypeError("Cannot call a class as a function");
|
|
199891
199535
|
}
|
|
199892
199536
|
}
|
|
199893
|
-
function _possibleConstructorReturn2(self2,
|
|
199894
|
-
if (
|
|
199895
|
-
return
|
|
199537
|
+
function _possibleConstructorReturn2(self2, call2) {
|
|
199538
|
+
if (call2 && (_typeof2(call2) === "object" || typeof call2 === "function")) {
|
|
199539
|
+
return call2;
|
|
199896
199540
|
}
|
|
199897
199541
|
return _assertThisInitialized2(self2);
|
|
199898
199542
|
}
|
|
@@ -213755,7 +213399,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213755
213399
|
};
|
|
213756
213400
|
},
|
|
213757
213401
|
49441: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
213758
|
-
var iteratorSymbol = __webpack_require__2(8260).iterator, isArguments2 = __webpack_require__2(73051), isFunction2 = __webpack_require__2(33717), toPosInt = __webpack_require__2(35976), callable = __webpack_require__2(78513), validValue = __webpack_require__2(36672), isValue = __webpack_require__2(95296), isString2 = __webpack_require__2(87963), isArray2 = Array.isArray,
|
|
213402
|
+
var iteratorSymbol = __webpack_require__2(8260).iterator, isArguments2 = __webpack_require__2(73051), isFunction2 = __webpack_require__2(33717), toPosInt = __webpack_require__2(35976), callable = __webpack_require__2(78513), validValue = __webpack_require__2(36672), isValue = __webpack_require__2(95296), isString2 = __webpack_require__2(87963), isArray2 = Array.isArray, call2 = Function.prototype.call, desc = { configurable: true, enumerable: true, writable: true, value: null }, defineProperty2 = Object.defineProperty;
|
|
213759
213403
|
module3.exports = function(arrayLike) {
|
|
213760
213404
|
var mapFn = arguments[1], thisArg = arguments[2], Context, i2, j2, arr, length2, code2, iterator2, result, getIterator, value;
|
|
213761
213405
|
arrayLike = Object(validValue(arrayLike));
|
|
@@ -213790,7 +213434,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213790
213434
|
result = iterator2.next();
|
|
213791
213435
|
i2 = 0;
|
|
213792
213436
|
while (!result.done) {
|
|
213793
|
-
value = mapFn ?
|
|
213437
|
+
value = mapFn ? call2.call(mapFn, thisArg, result.value, i2) : result.value;
|
|
213794
213438
|
if (Context) {
|
|
213795
213439
|
desc.value = value;
|
|
213796
213440
|
defineProperty2(arr, i2, desc);
|
|
@@ -213812,7 +213456,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213812
213456
|
if (code2 >= 55296 && code2 <= 56319)
|
|
213813
213457
|
value += arrayLike[++i2];
|
|
213814
213458
|
}
|
|
213815
|
-
value = mapFn ?
|
|
213459
|
+
value = mapFn ? call2.call(mapFn, thisArg, value, j2) : value;
|
|
213816
213460
|
if (Context) {
|
|
213817
213461
|
desc.value = value;
|
|
213818
213462
|
defineProperty2(arr, j2, desc);
|
|
@@ -213829,7 +213473,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213829
213473
|
if (Context)
|
|
213830
213474
|
arr = new Context(length2);
|
|
213831
213475
|
for (i2 = 0; i2 < length2; ++i2) {
|
|
213832
|
-
value = mapFn ?
|
|
213476
|
+
value = mapFn ? call2.call(mapFn, thisArg, arrayLike[i2], i2) : arrayLike[i2];
|
|
213833
213477
|
if (Context) {
|
|
213834
213478
|
desc.value = value;
|
|
213835
213479
|
defineProperty2(arr, i2, desc);
|
|
@@ -213900,7 +213544,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213900
213544
|
};
|
|
213901
213545
|
},
|
|
213902
213546
|
67260: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
213903
|
-
var callable = __webpack_require__2(78513), value = __webpack_require__2(36672), bind2 = Function.prototype.bind,
|
|
213547
|
+
var callable = __webpack_require__2(78513), value = __webpack_require__2(36672), bind2 = Function.prototype.bind, call2 = Function.prototype.call, keys2 = Object.keys, objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
213904
213548
|
module3.exports = function(method, defVal) {
|
|
213905
213549
|
return function(obj, cb) {
|
|
213906
213550
|
var list2, thisArg = arguments[2], compareFn = arguments[3];
|
|
@@ -213912,10 +213556,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
213912
213556
|
}
|
|
213913
213557
|
if (typeof method !== "function")
|
|
213914
213558
|
method = list2[method];
|
|
213915
|
-
return
|
|
213559
|
+
return call2.call(method, list2, function(key, index2) {
|
|
213916
213560
|
if (!objPropertyIsEnumerable.call(obj, key))
|
|
213917
213561
|
return defVal;
|
|
213918
|
-
return
|
|
213562
|
+
return call2.call(cb, thisArg, obj[key], key, obj, index2);
|
|
213919
213563
|
});
|
|
213920
213564
|
};
|
|
213921
213565
|
};
|
|
@@ -214048,12 +213692,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214048
213692
|
};
|
|
214049
213693
|
},
|
|
214050
213694
|
16906: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
214051
|
-
var callable = __webpack_require__2(78513), forEach = __webpack_require__2(96437),
|
|
213695
|
+
var callable = __webpack_require__2(78513), forEach = __webpack_require__2(96437), call2 = Function.prototype.call;
|
|
214052
213696
|
module3.exports = function(obj, cb) {
|
|
214053
213697
|
var result = {}, thisArg = arguments[2];
|
|
214054
213698
|
callable(cb);
|
|
214055
213699
|
forEach(obj, function(value, key, targetObj, index2) {
|
|
214056
|
-
result[key] =
|
|
213700
|
+
result[key] = call2.call(cb, thisArg, value, key, targetObj, index2);
|
|
214057
213701
|
});
|
|
214058
213702
|
return result;
|
|
214059
213703
|
};
|
|
@@ -214247,7 +213891,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214247
213891
|
},
|
|
214248
213892
|
27515: function(module3, __unused_webpack_exports, __webpack_require__2) {
|
|
214249
213893
|
var isArguments2 = __webpack_require__2(73051), callable = __webpack_require__2(78513), isString2 = __webpack_require__2(87963), get2 = __webpack_require__2(66661);
|
|
214250
|
-
var isArray2 = Array.isArray,
|
|
213894
|
+
var isArray2 = Array.isArray, call2 = Function.prototype.call, some2 = Array.prototype.some;
|
|
214251
213895
|
module3.exports = function(iterable, cb) {
|
|
214252
213896
|
var mode, thisArg = arguments[2], result, doBreak, broken, i2, length2, char, code2;
|
|
214253
213897
|
if (isArray2(iterable) || isArguments2(iterable))
|
|
@@ -214262,7 +213906,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214262
213906
|
};
|
|
214263
213907
|
if (mode === "array") {
|
|
214264
213908
|
some2.call(iterable, function(value) {
|
|
214265
|
-
|
|
213909
|
+
call2.call(cb, thisArg, value, doBreak);
|
|
214266
213910
|
return broken;
|
|
214267
213911
|
});
|
|
214268
213912
|
return;
|
|
@@ -214276,7 +213920,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214276
213920
|
if (code2 >= 55296 && code2 <= 56319)
|
|
214277
213921
|
char += iterable[++i2];
|
|
214278
213922
|
}
|
|
214279
|
-
|
|
213923
|
+
call2.call(cb, thisArg, char, doBreak);
|
|
214280
213924
|
if (broken)
|
|
214281
213925
|
break;
|
|
214282
213926
|
}
|
|
@@ -214284,7 +213928,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
214284
213928
|
}
|
|
214285
213929
|
result = iterable.next();
|
|
214286
213930
|
while (!result.done) {
|
|
214287
|
-
|
|
213931
|
+
call2.call(cb, thisArg, result.value, doBreak);
|
|
214288
213932
|
if (broken)
|
|
214289
213933
|
return;
|
|
214290
213934
|
result = iterable.next();
|
|
@@ -272571,7 +272215,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
272571
272215
|
callback(err || new ERR_STREAM_DESTROYED("pipe"));
|
|
272572
272216
|
};
|
|
272573
272217
|
}
|
|
272574
|
-
function
|
|
272218
|
+
function call2(fn2) {
|
|
272575
272219
|
fn2();
|
|
272576
272220
|
}
|
|
272577
272221
|
function pipe(from, to) {
|
|
@@ -272602,10 +272246,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
272602
272246
|
if (!error2)
|
|
272603
272247
|
error2 = err;
|
|
272604
272248
|
if (err)
|
|
272605
|
-
destroys.forEach(
|
|
272249
|
+
destroys.forEach(call2);
|
|
272606
272250
|
if (reading)
|
|
272607
272251
|
return;
|
|
272608
|
-
destroys.forEach(
|
|
272252
|
+
destroys.forEach(call2);
|
|
272609
272253
|
callback(error2);
|
|
272610
272254
|
});
|
|
272611
272255
|
});
|
|
@@ -286931,55 +286575,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
286931
286575
|
};
|
|
286932
286576
|
return treemap;
|
|
286933
286577
|
}
|
|
286934
|
-
function initRange(domain2, range2) {
|
|
286935
|
-
switch (arguments.length) {
|
|
286936
|
-
case 0:
|
|
286937
|
-
break;
|
|
286938
|
-
case 1:
|
|
286939
|
-
this.range(domain2);
|
|
286940
|
-
break;
|
|
286941
|
-
default:
|
|
286942
|
-
this.range(range2).domain(domain2);
|
|
286943
|
-
break;
|
|
286944
|
-
}
|
|
286945
|
-
return this;
|
|
286946
|
-
}
|
|
286947
|
-
const implicit = Symbol("implicit");
|
|
286948
|
-
function ordinal() {
|
|
286949
|
-
var index2 = /* @__PURE__ */ new Map(), domain2 = [], range2 = [], unknown2 = implicit;
|
|
286950
|
-
function scale(d2) {
|
|
286951
|
-
var key = d2 + "", i2 = index2.get(key);
|
|
286952
|
-
if (!i2) {
|
|
286953
|
-
if (unknown2 !== implicit)
|
|
286954
|
-
return unknown2;
|
|
286955
|
-
index2.set(key, i2 = domain2.push(d2));
|
|
286956
|
-
}
|
|
286957
|
-
return range2[(i2 - 1) % range2.length];
|
|
286958
|
-
}
|
|
286959
|
-
scale.domain = function(_2) {
|
|
286960
|
-
if (!arguments.length)
|
|
286961
|
-
return domain2.slice();
|
|
286962
|
-
domain2 = [], index2 = /* @__PURE__ */ new Map();
|
|
286963
|
-
for (const value of _2) {
|
|
286964
|
-
const key = value + "";
|
|
286965
|
-
if (index2.has(key))
|
|
286966
|
-
continue;
|
|
286967
|
-
index2.set(key, domain2.push(value));
|
|
286968
|
-
}
|
|
286969
|
-
return scale;
|
|
286970
|
-
};
|
|
286971
|
-
scale.range = function(_2) {
|
|
286972
|
-
return arguments.length ? (range2 = Array.from(_2), scale) : range2.slice();
|
|
286973
|
-
};
|
|
286974
|
-
scale.unknown = function(_2) {
|
|
286975
|
-
return arguments.length ? (unknown2 = _2, scale) : unknown2;
|
|
286976
|
-
};
|
|
286977
|
-
scale.copy = function() {
|
|
286978
|
-
return ordinal(domain2, range2).unknown(unknown2);
|
|
286979
|
-
};
|
|
286980
|
-
initRange.apply(scale, arguments);
|
|
286981
|
-
return scale;
|
|
286982
|
-
}
|
|
286983
286578
|
function Transform$1(k2, x2, y2) {
|
|
286984
286579
|
this.k = k2;
|
|
286985
286580
|
this.x = x2;
|
|
@@ -288112,24 +287707,24 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
288112
287707
|
this.flags = flags;
|
|
288113
287708
|
}
|
|
288114
287709
|
get anchor() {
|
|
288115
|
-
return this.flags &
|
|
287710
|
+
return this.flags & 32 ? this.to : this.from;
|
|
288116
287711
|
}
|
|
288117
287712
|
get head() {
|
|
288118
|
-
return this.flags &
|
|
287713
|
+
return this.flags & 32 ? this.from : this.to;
|
|
288119
287714
|
}
|
|
288120
287715
|
get empty() {
|
|
288121
287716
|
return this.from == this.to;
|
|
288122
287717
|
}
|
|
288123
287718
|
get assoc() {
|
|
288124
|
-
return this.flags &
|
|
287719
|
+
return this.flags & 8 ? -1 : this.flags & 16 ? 1 : 0;
|
|
288125
287720
|
}
|
|
288126
287721
|
get bidiLevel() {
|
|
288127
|
-
let level = this.flags &
|
|
288128
|
-
return level ==
|
|
287722
|
+
let level = this.flags & 7;
|
|
287723
|
+
return level == 7 ? null : level;
|
|
288129
287724
|
}
|
|
288130
287725
|
get goalColumn() {
|
|
288131
|
-
let value = this.flags >>
|
|
288132
|
-
return value ==
|
|
287726
|
+
let value = this.flags >> 6;
|
|
287727
|
+
return value == 16777215 ? void 0 : value;
|
|
288133
287728
|
}
|
|
288134
287729
|
map(change, assoc = -1) {
|
|
288135
287730
|
let from, to;
|
|
@@ -288217,11 +287812,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
288217
287812
|
return new EditorSelection(ranges, mainIndex);
|
|
288218
287813
|
}
|
|
288219
287814
|
static cursor(pos, assoc = 0, bidiLevel, goalColumn) {
|
|
288220
|
-
return SelectionRange.create(pos, pos, (assoc == 0 ? 0 : assoc < 0 ?
|
|
287815
|
+
return SelectionRange.create(pos, pos, (assoc == 0 ? 0 : assoc < 0 ? 8 : 16) | (bidiLevel == null ? 7 : Math.min(6, bidiLevel)) | (goalColumn !== null && goalColumn !== void 0 ? goalColumn : 16777215) << 6);
|
|
288221
287816
|
}
|
|
288222
287817
|
static range(anchor, head, goalColumn, bidiLevel) {
|
|
288223
|
-
let flags = (goalColumn !== null && goalColumn !== void 0 ? goalColumn :
|
|
288224
|
-
return head < anchor ? SelectionRange.create(head, anchor,
|
|
287818
|
+
let flags = (goalColumn !== null && goalColumn !== void 0 ? goalColumn : 16777215) << 6 | (bidiLevel == null ? 7 : Math.min(6, bidiLevel));
|
|
287819
|
+
return head < anchor ? SelectionRange.create(head, anchor, 32 | 16 | flags) : SelectionRange.create(anchor, head, (head > anchor ? 8 : 0) | flags);
|
|
288225
287820
|
}
|
|
288226
287821
|
static normalized(ranges, mainIndex = 0) {
|
|
288227
287822
|
let main2 = ranges[mainIndex];
|
|
@@ -288255,6 +287850,9 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
288255
287850
|
this.default = combine2([]);
|
|
288256
287851
|
this.extensions = typeof enables == "function" ? enables(this) : enables;
|
|
288257
287852
|
}
|
|
287853
|
+
get reader() {
|
|
287854
|
+
return this;
|
|
287855
|
+
}
|
|
288258
287856
|
static define(config2 = {}) {
|
|
288259
287857
|
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);
|
|
288260
287858
|
}
|
|
@@ -290574,7 +290172,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
290574
290172
|
if (!breakAtEnd && last && after.merge(0, toOff, last, true, 0, openEnd)) {
|
|
290575
290173
|
insert2[insert2.length - 1] = after;
|
|
290576
290174
|
} else {
|
|
290577
|
-
if (toOff)
|
|
290175
|
+
if (toOff || after.children.length && !after.children[0].length)
|
|
290578
290176
|
after.merge(0, toOff, null, false, 0, openEnd);
|
|
290579
290177
|
insert2.push(after);
|
|
290580
290178
|
}
|
|
@@ -291510,7 +291108,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
291510
291108
|
this.flushBuffer();
|
|
291511
291109
|
else
|
|
291512
291110
|
this.pendingBuffer = 0;
|
|
291513
|
-
if (!openEnd &&
|
|
291111
|
+
if (!this.posCovered() && !(openEnd && this.content.length && this.content[this.content.length - 1] instanceof BlockWidgetView))
|
|
291514
291112
|
this.getLine();
|
|
291515
291113
|
}
|
|
291516
291114
|
buildText(length2, active, openStart) {
|
|
@@ -292555,7 +292153,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
292555
292153
|
if (end2 == off)
|
|
292556
292154
|
return null;
|
|
292557
292155
|
let rects = textRange(child.dom, off, end2).getClientRects();
|
|
292558
|
-
|
|
292156
|
+
for (let i3 = 0; i3 < rects.length; i3++) {
|
|
292157
|
+
let rect = rects[i3];
|
|
292158
|
+
if (i3 == rects.length - 1 || rect.top < rect.bottom && rect.left < rect.right)
|
|
292159
|
+
return rect;
|
|
292160
|
+
}
|
|
292161
|
+
return null;
|
|
292559
292162
|
}
|
|
292560
292163
|
measureVisibleLineHeights(viewport2) {
|
|
292561
292164
|
let result = [], { from, to } = viewport2;
|
|
@@ -293160,20 +292763,6 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
293160
292763
|
this.compositionPendingChange = false;
|
|
293161
292764
|
this.mouseSelection = null;
|
|
293162
292765
|
this.handleEvent = this.handleEvent.bind(this);
|
|
293163
|
-
view.scrollDOM.addEventListener("mousedown", (event2) => {
|
|
293164
|
-
if (event2.target == view.scrollDOM && event2.clientY > view.contentDOM.getBoundingClientRect().bottom) {
|
|
293165
|
-
this.runHandlers("mousedown", event2);
|
|
293166
|
-
if (!event2.defaultPrevented && event2.button == 2) {
|
|
293167
|
-
let start2 = view.contentDOM.style.minHeight;
|
|
293168
|
-
view.contentDOM.style.minHeight = "100%";
|
|
293169
|
-
setTimeout(() => view.contentDOM.style.minHeight = start2, 200);
|
|
293170
|
-
}
|
|
293171
|
-
}
|
|
293172
|
-
});
|
|
293173
|
-
view.scrollDOM.addEventListener("drop", (event2) => {
|
|
293174
|
-
if (event2.target == view.scrollDOM && event2.clientY > view.contentDOM.getBoundingClientRect().bottom)
|
|
293175
|
-
this.runHandlers("drop", event2);
|
|
293176
|
-
});
|
|
293177
292766
|
this.notifiedFocused = view.hasFocus;
|
|
293178
292767
|
if (browser.safari)
|
|
293179
292768
|
view.contentDOM.addEventListener("input", () => null);
|
|
@@ -293558,7 +293147,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
293558
293147
|
let mouseSel = view.inputState.mouseSelection;
|
|
293559
293148
|
if (mouseSel) {
|
|
293560
293149
|
mouseSel.start(event2);
|
|
293561
|
-
return
|
|
293150
|
+
return mouseSel.dragging === false;
|
|
293562
293151
|
}
|
|
293563
293152
|
}
|
|
293564
293153
|
return false;
|
|
@@ -295109,6 +294698,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
295109
294698
|
whiteSpace: "pre",
|
|
295110
294699
|
wordWrap: "normal",
|
|
295111
294700
|
boxSizing: "border-box",
|
|
294701
|
+
minHeight: "100%",
|
|
295112
294702
|
padding: "4px 0",
|
|
295113
294703
|
outline: "none",
|
|
295114
294704
|
"&[contenteditable=true]": {
|
|
@@ -295903,8 +295493,10 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
295903
295493
|
if (readSelection)
|
|
295904
295494
|
this.readSelectionRange();
|
|
295905
295495
|
let domChange = this.readChange();
|
|
295906
|
-
if (!domChange)
|
|
295496
|
+
if (!domChange) {
|
|
295497
|
+
this.view.requestMeasure();
|
|
295907
295498
|
return false;
|
|
295499
|
+
}
|
|
295908
295500
|
let startState = this.view.state;
|
|
295909
295501
|
let handled = applyDOMChange(this.view, domChange);
|
|
295910
295502
|
if (this.view.state == startState)
|
|
@@ -301091,10 +300683,13 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301091
300683
|
const selectParentSyntax = ({ state, dispatch: dispatch2 }) => {
|
|
301092
300684
|
let selection2 = updateSel(state.selection, (range2) => {
|
|
301093
300685
|
var _a3;
|
|
301094
|
-
let
|
|
301095
|
-
|
|
301096
|
-
|
|
301097
|
-
|
|
300686
|
+
let stack = syntaxTree(state).resolveStack(range2.from, 1);
|
|
300687
|
+
for (let cur = stack; cur; cur = cur.next) {
|
|
300688
|
+
let { node: node2 } = cur;
|
|
300689
|
+
if ((node2.from < range2.from && node2.to >= range2.to || node2.to > range2.to && node2.from <= range2.from) && ((_a3 = node2.parent) === null || _a3 === void 0 ? void 0 : _a3.parent))
|
|
300690
|
+
return EditorSelection.range(node2.to, node2.from);
|
|
300691
|
+
}
|
|
300692
|
+
return range2;
|
|
301098
300693
|
});
|
|
301099
300694
|
dispatch2(setSel(state, selection2));
|
|
301100
300695
|
return true;
|
|
@@ -301117,7 +300712,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301117
300712
|
let changes = state.changeByRange((range2) => {
|
|
301118
300713
|
let { from, to } = range2;
|
|
301119
300714
|
if (from == to) {
|
|
301120
|
-
let towards = by(
|
|
300715
|
+
let towards = by(range2);
|
|
301121
300716
|
if (towards < from) {
|
|
301122
300717
|
event2 = "delete.backward";
|
|
301123
300718
|
towards = skipAtomic(target, towards, false);
|
|
@@ -301131,7 +300726,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301131
300726
|
from = skipAtomic(target, from, false);
|
|
301132
300727
|
to = skipAtomic(target, to, true);
|
|
301133
300728
|
}
|
|
301134
|
-
return from == to ? { range: range2 } : { changes: { from, to }, range: EditorSelection.cursor(from) };
|
|
300729
|
+
return from == to ? { range: range2 } : { changes: { from, to }, range: EditorSelection.cursor(from, from < range2.head ? -1 : 1) };
|
|
301135
300730
|
});
|
|
301136
300731
|
if (changes.changes.empty)
|
|
301137
300732
|
return false;
|
|
@@ -301151,8 +300746,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301151
300746
|
});
|
|
301152
300747
|
return pos;
|
|
301153
300748
|
}
|
|
301154
|
-
const deleteByChar = (target, forward) => deleteBy(target, (
|
|
301155
|
-
let { state } = target, line = state.doc.lineAt(pos), before, targetPos;
|
|
300749
|
+
const deleteByChar = (target, forward) => deleteBy(target, (range2) => {
|
|
300750
|
+
let pos = range2.from, { state } = target, line = state.doc.lineAt(pos), before, targetPos;
|
|
301156
300751
|
if (!forward && pos > line.from && pos < line.from + 200 && !/[^ \t]/.test(before = line.text.slice(0, pos - line.from))) {
|
|
301157
300752
|
if (before[before.length - 1] == " ")
|
|
301158
300753
|
return pos - 1;
|
|
@@ -301169,12 +300764,12 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301169
300764
|
});
|
|
301170
300765
|
const deleteCharBackward = (view) => deleteByChar(view, false);
|
|
301171
300766
|
const deleteCharForward = (view) => deleteByChar(view, true);
|
|
301172
|
-
const deleteByGroup = (target, forward) => deleteBy(target, (
|
|
301173
|
-
let pos =
|
|
300767
|
+
const deleteByGroup = (target, forward) => deleteBy(target, (range2) => {
|
|
300768
|
+
let pos = range2.head, { state } = target, line = state.doc.lineAt(pos);
|
|
301174
300769
|
let categorize = state.charCategorizer(pos);
|
|
301175
300770
|
for (let cat = null; ; ) {
|
|
301176
300771
|
if (pos == (forward ? line.to : line.from)) {
|
|
301177
|
-
if (pos ==
|
|
300772
|
+
if (pos == range2.head && line.number != (forward ? state.doc.lines : 1))
|
|
301178
300773
|
pos += forward ? 1 : -1;
|
|
301179
300774
|
break;
|
|
301180
300775
|
}
|
|
@@ -301183,7 +300778,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301183
300778
|
let nextCat = categorize(nextChar2);
|
|
301184
300779
|
if (cat != null && nextCat != cat)
|
|
301185
300780
|
break;
|
|
301186
|
-
if (nextChar2 != " " || pos !=
|
|
300781
|
+
if (nextChar2 != " " || pos != range2.head)
|
|
301187
300782
|
cat = nextCat;
|
|
301188
300783
|
pos = next2;
|
|
301189
300784
|
}
|
|
@@ -301191,13 +300786,17 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301191
300786
|
});
|
|
301192
300787
|
const deleteGroupBackward = (target) => deleteByGroup(target, false);
|
|
301193
300788
|
const deleteGroupForward = (target) => deleteByGroup(target, true);
|
|
301194
|
-
const deleteToLineEnd = (view) => deleteBy(view, (
|
|
301195
|
-
let lineEnd = view.lineBlockAt(
|
|
301196
|
-
return
|
|
300789
|
+
const deleteToLineEnd = (view) => deleteBy(view, (range2) => {
|
|
300790
|
+
let lineEnd = view.lineBlockAt(range2.head).to;
|
|
300791
|
+
return range2.head < lineEnd ? lineEnd : Math.min(view.state.doc.length, range2.head + 1);
|
|
300792
|
+
});
|
|
300793
|
+
const deleteLineBoundaryBackward = (view) => deleteBy(view, (range2) => {
|
|
300794
|
+
let lineStart = view.moveToLineBoundary(range2, false).head;
|
|
300795
|
+
return range2.head > lineStart ? lineStart : Math.max(0, range2.head - 1);
|
|
301197
300796
|
});
|
|
301198
|
-
const
|
|
301199
|
-
let lineStart = view.
|
|
301200
|
-
return
|
|
300797
|
+
const deleteLineBoundaryForward = (view) => deleteBy(view, (range2) => {
|
|
300798
|
+
let lineStart = view.moveToLineBoundary(range2, true).head;
|
|
300799
|
+
return range2.head < lineStart ? lineStart : Math.min(view.state.doc.length, range2.head + 1);
|
|
301201
300800
|
});
|
|
301202
300801
|
const splitLine = ({ state, dispatch: dispatch2 }) => {
|
|
301203
300802
|
if (state.readOnly)
|
|
@@ -301456,8 +301055,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301456
301055
|
{ key: "Delete", run: deleteCharForward },
|
|
301457
301056
|
{ key: "Mod-Backspace", mac: "Alt-Backspace", run: deleteGroupBackward },
|
|
301458
301057
|
{ key: "Mod-Delete", mac: "Alt-Delete", run: deleteGroupForward },
|
|
301459
|
-
{ mac: "Mod-Backspace", run:
|
|
301460
|
-
{ mac: "Mod-Delete", run:
|
|
301058
|
+
{ mac: "Mod-Backspace", run: deleteLineBoundaryBackward },
|
|
301059
|
+
{ mac: "Mod-Delete", run: deleteLineBoundaryForward }
|
|
301461
301060
|
].concat(/* @__PURE__ */ emacsStyleKeymap.map((b2) => ({ mac: b2.key, run: b2.run, shift: b2.shift })));
|
|
301462
301061
|
const defaultKeymap = /* @__PURE__ */ [
|
|
301463
301062
|
{ key: "Alt-ArrowLeft", mac: "Ctrl-ArrowLeft", run: cursorSyntaxLeft, shift: selectSyntaxLeft },
|
|
@@ -301679,6 +301278,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301679
301278
|
stack.pushState(s2, this.pos);
|
|
301680
301279
|
stack.storeNode(0, stack.pos, stack.pos, 4, true);
|
|
301681
301280
|
stack.shiftContext(nextStates[i2], this.pos);
|
|
301281
|
+
stack.reducePos = this.pos;
|
|
301682
301282
|
stack.score -= 200;
|
|
301683
301283
|
result.push(stack);
|
|
301684
301284
|
}
|
|
@@ -301746,6 +301346,7 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
301746
301346
|
return parser2.data[parser2.stateSlot(this.state, 1)] == 65535 && !parser2.stateSlot(this.state, 4);
|
|
301747
301347
|
}
|
|
301748
301348
|
restart() {
|
|
301349
|
+
this.storeNode(0, this.pos, this.pos, 4, true);
|
|
301749
301350
|
this.state = this.stack[0];
|
|
301750
301351
|
this.stack.length = 0;
|
|
301751
301352
|
}
|
|
@@ -307825,39 +307426,65 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
307825
307426
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
307826
307427
|
};
|
|
307827
307428
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
307828
|
-
var slice$1 = Array.prototype.slice;
|
|
307829
307429
|
var toStr$1 = Object.prototype.toString;
|
|
307430
|
+
var max$2 = Math.max;
|
|
307830
307431
|
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
|
+
};
|
|
307831
307459
|
var implementation$1 = function bind2(that) {
|
|
307832
307460
|
var target = this;
|
|
307833
|
-
if (typeof target !== "function" || toStr$1.
|
|
307461
|
+
if (typeof target !== "function" || toStr$1.apply(target) !== funcType) {
|
|
307834
307462
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
307835
307463
|
}
|
|
307836
|
-
var args =
|
|
307464
|
+
var args = slicy(arguments, 1);
|
|
307837
307465
|
var bound2;
|
|
307838
307466
|
var binder = function() {
|
|
307839
307467
|
if (this instanceof bound2) {
|
|
307840
307468
|
var result = target.apply(
|
|
307841
307469
|
this,
|
|
307842
|
-
args
|
|
307470
|
+
concatty(args, arguments)
|
|
307843
307471
|
);
|
|
307844
307472
|
if (Object(result) === result) {
|
|
307845
307473
|
return result;
|
|
307846
307474
|
}
|
|
307847
307475
|
return this;
|
|
307848
|
-
} else {
|
|
307849
|
-
return target.apply(
|
|
307850
|
-
that,
|
|
307851
|
-
args.concat(slice$1.call(arguments))
|
|
307852
|
-
);
|
|
307853
307476
|
}
|
|
307477
|
+
return target.apply(
|
|
307478
|
+
that,
|
|
307479
|
+
concatty(args, arguments)
|
|
307480
|
+
);
|
|
307854
307481
|
};
|
|
307855
|
-
var boundLength =
|
|
307482
|
+
var boundLength = max$2(0, target.length - args.length);
|
|
307856
307483
|
var boundArgs = [];
|
|
307857
307484
|
for (var i2 = 0; i2 < boundLength; i2++) {
|
|
307858
|
-
boundArgs
|
|
307485
|
+
boundArgs[i2] = "$" + i2;
|
|
307859
307486
|
}
|
|
307860
|
-
bound2 = Function("binder", "return function (" + boundArgs
|
|
307487
|
+
bound2 = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
307861
307488
|
if (target.prototype) {
|
|
307862
307489
|
var Empty = function Empty2() {
|
|
307863
307490
|
};
|
|
@@ -307869,8 +307496,11 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
307869
307496
|
};
|
|
307870
307497
|
var implementation = implementation$1;
|
|
307871
307498
|
var functionBind = Function.prototype.bind || implementation;
|
|
307872
|
-
var
|
|
307873
|
-
var
|
|
307499
|
+
var hasOwnProperty$4 = {}.hasOwnProperty;
|
|
307500
|
+
var call = Function.prototype.call;
|
|
307501
|
+
var src$1 = call.bind ? call.bind(hasOwnProperty$4) : function(O2, P2) {
|
|
307502
|
+
return call.call(hasOwnProperty$4, O2, P2);
|
|
307503
|
+
};
|
|
307874
307504
|
var undefined$1;
|
|
307875
307505
|
var $SyntaxError = SyntaxError;
|
|
307876
307506
|
var $Function = Function;
|
|
@@ -332505,7 +332135,7 @@ ${e3}`);
|
|
|
332505
332135
|
}
|
|
332506
332136
|
reduce(callback, initialValue) {
|
|
332507
332137
|
if (initialValue === void 0) {
|
|
332508
|
-
const
|
|
332138
|
+
const call2 = callback;
|
|
332509
332139
|
let first = true;
|
|
332510
332140
|
let accumulator = void 0;
|
|
332511
332141
|
for (const [index2, element2] of this.entries()) {
|
|
@@ -332513,7 +332143,7 @@ ${e3}`);
|
|
|
332513
332143
|
accumulator = element2;
|
|
332514
332144
|
first = false;
|
|
332515
332145
|
} else {
|
|
332516
|
-
accumulator =
|
|
332146
|
+
accumulator = call2(accumulator, element2, index2);
|
|
332517
332147
|
}
|
|
332518
332148
|
}
|
|
332519
332149
|
if (first) {
|
|
@@ -332521,10 +332151,10 @@ ${e3}`);
|
|
|
332521
332151
|
}
|
|
332522
332152
|
return accumulator;
|
|
332523
332153
|
} else {
|
|
332524
|
-
const
|
|
332154
|
+
const call2 = callback;
|
|
332525
332155
|
let accumulator = initialValue;
|
|
332526
332156
|
for (const [index2, element2] of this.entries()) {
|
|
332527
|
-
accumulator =
|
|
332157
|
+
accumulator = call2(accumulator, element2, index2);
|
|
332528
332158
|
}
|
|
332529
332159
|
return accumulator;
|
|
332530
332160
|
}
|