@darajs/core 1.1.10 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1265,7 +1265,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1265
1265
|
module2.exports = reactIs_production_min$1;
|
|
1266
1266
|
}
|
|
1267
1267
|
})(reactIs$2);
|
|
1268
|
-
function _objectWithoutPropertiesLoose$
|
|
1268
|
+
function _objectWithoutPropertiesLoose$7(source, excluded) {
|
|
1269
1269
|
if (source == null)
|
|
1270
1270
|
return {};
|
|
1271
1271
|
var target = {};
|
|
@@ -1843,7 +1843,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1843
1843
|
context2.url = createURL(context2.location);
|
|
1844
1844
|
};
|
|
1845
1845
|
_proto.render = function render2() {
|
|
1846
|
-
var _this$props2 = this.props, _this$props2$basename = _this$props2.basename, basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, _this$props2$context = _this$props2.context, context2 = _this$props2$context === void 0 ? {} : _this$props2$context, _this$props2$location = _this$props2.location, location2 = _this$props2$location === void 0 ? "/" : _this$props2$location, rest = _objectWithoutPropertiesLoose$
|
|
1846
|
+
var _this$props2 = this.props, _this$props2$basename = _this$props2.basename, basename = _this$props2$basename === void 0 ? "" : _this$props2$basename, _this$props2$context = _this$props2.context, context2 = _this$props2$context === void 0 ? {} : _this$props2$context, _this$props2$location = _this$props2.location, location2 = _this$props2$location === void 0 ? "/" : _this$props2$location, rest = _objectWithoutPropertiesLoose$7(_this$props2, ["basename", "context", "location"]);
|
|
1847
1847
|
var history2 = {
|
|
1848
1848
|
createHref: function createHref(path) {
|
|
1849
1849
|
return addLeadingSlash(basename + createURL(path));
|
|
@@ -1897,7 +1897,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1897
1897
|
function withRouter(Component) {
|
|
1898
1898
|
var displayName = "withRouter(" + (Component.displayName || Component.name) + ")";
|
|
1899
1899
|
var C2 = function C3(props) {
|
|
1900
|
-
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose$
|
|
1900
|
+
var wrappedComponentRef = props.wrappedComponentRef, remainingProps = _objectWithoutPropertiesLoose$7(props, ["wrappedComponentRef"]);
|
|
1901
1901
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
1902
1902
|
!context2 ? invariant$1(false) : void 0;
|
|
1903
1903
|
return /* @__PURE__ */ React__default.default.createElement(Component, _extends$4({}, remainingProps, context2, {
|
|
@@ -1982,7 +1982,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1982
1982
|
return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
|
|
1983
1983
|
}
|
|
1984
1984
|
var LinkAnchor = forwardRef$1(function(_ref2, forwardedRef) {
|
|
1985
|
-
var innerRef = _ref2.innerRef, navigate = _ref2.navigate, _onClick = _ref2.onClick, rest = _objectWithoutPropertiesLoose$
|
|
1985
|
+
var innerRef = _ref2.innerRef, navigate = _ref2.navigate, _onClick = _ref2.onClick, rest = _objectWithoutPropertiesLoose$7(_ref2, ["innerRef", "navigate", "onClick"]);
|
|
1986
1986
|
var target = rest.target;
|
|
1987
1987
|
var props = _extends$4({}, rest, {
|
|
1988
1988
|
onClick: function onClick(event) {
|
|
@@ -2007,7 +2007,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2007
2007
|
return /* @__PURE__ */ React__default.default.createElement("a", props);
|
|
2008
2008
|
});
|
|
2009
2009
|
var Link = forwardRef$1(function(_ref2, forwardedRef) {
|
|
2010
|
-
var _ref2$component = _ref2.component, component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, replace2 = _ref2.replace, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$
|
|
2010
|
+
var _ref2$component = _ref2.component, component = _ref2$component === void 0 ? LinkAnchor : _ref2$component, replace2 = _ref2.replace, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$7(_ref2, ["component", "replace", "to", "innerRef"]);
|
|
2011
2011
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
2012
2012
|
!context2 ? invariant$1(false) : void 0;
|
|
2013
2013
|
var history2 = context2.history;
|
|
@@ -2046,7 +2046,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2046
2046
|
}).join(" ");
|
|
2047
2047
|
}
|
|
2048
2048
|
var NavLink = forwardRef$1$1(function(_ref2, forwardedRef) {
|
|
2049
|
-
var _ref$ariaCurrent = _ref2["aria-current"], ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, _ref$activeClassName = _ref2.activeClassName, activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, activeStyle = _ref2.activeStyle, classNameProp = _ref2.className, exact = _ref2.exact, isActiveProp = _ref2.isActive, locationProp = _ref2.location, sensitive = _ref2.sensitive, strict = _ref2.strict, styleProp = _ref2.style, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$
|
|
2049
|
+
var _ref$ariaCurrent = _ref2["aria-current"], ariaCurrent = _ref$ariaCurrent === void 0 ? "page" : _ref$ariaCurrent, _ref$activeClassName = _ref2.activeClassName, activeClassName = _ref$activeClassName === void 0 ? "active" : _ref$activeClassName, activeStyle = _ref2.activeStyle, classNameProp = _ref2.className, exact = _ref2.exact, isActiveProp = _ref2.isActive, locationProp = _ref2.location, sensitive = _ref2.sensitive, strict = _ref2.strict, styleProp = _ref2.style, to = _ref2.to, innerRef = _ref2.innerRef, rest = _objectWithoutPropertiesLoose$7(_ref2, ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive", "location", "sensitive", "strict", "style", "to", "innerRef"]);
|
|
2050
2050
|
return /* @__PURE__ */ React__default.default.createElement(context.Consumer, null, function(context2) {
|
|
2051
2051
|
!context2 ? invariant$1(false) : void 0;
|
|
2052
2052
|
var currentLocation = locationProp || context2.location;
|
|
@@ -2124,7 +2124,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2124
2124
|
throw Recoil_err$2(message !== null && message !== void 0 ? message : "Got unexpected null or undefined");
|
|
2125
2125
|
}
|
|
2126
2126
|
var Recoil_nullthrows$1 = nullthrows$1;
|
|
2127
|
-
function _defineProperty$
|
|
2127
|
+
function _defineProperty$b(obj, key, value) {
|
|
2128
2128
|
if (key in obj) {
|
|
2129
2129
|
Object.defineProperty(obj, key, {
|
|
2130
2130
|
value,
|
|
@@ -2172,8 +2172,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2172
2172
|
class ValueLoadable extends BaseLoadable {
|
|
2173
2173
|
constructor(value) {
|
|
2174
2174
|
super();
|
|
2175
|
-
_defineProperty$
|
|
2176
|
-
_defineProperty$
|
|
2175
|
+
_defineProperty$b(this, "state", "hasValue");
|
|
2176
|
+
_defineProperty$b(this, "contents", void 0);
|
|
2177
2177
|
this.contents = value;
|
|
2178
2178
|
}
|
|
2179
2179
|
getValue() {
|
|
@@ -2206,8 +2206,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2206
2206
|
class ErrorLoadable extends BaseLoadable {
|
|
2207
2207
|
constructor(error) {
|
|
2208
2208
|
super();
|
|
2209
|
-
_defineProperty$
|
|
2210
|
-
_defineProperty$
|
|
2209
|
+
_defineProperty$b(this, "state", "hasError");
|
|
2210
|
+
_defineProperty$b(this, "contents", void 0);
|
|
2211
2211
|
this.contents = error;
|
|
2212
2212
|
}
|
|
2213
2213
|
getValue() {
|
|
@@ -2235,8 +2235,8 @@ var __publicField = (obj, key, value) => {
|
|
|
2235
2235
|
class LoadingLoadable extends BaseLoadable {
|
|
2236
2236
|
constructor(promise) {
|
|
2237
2237
|
super();
|
|
2238
|
-
_defineProperty$
|
|
2239
|
-
_defineProperty$
|
|
2238
|
+
_defineProperty$b(this, "state", "loading");
|
|
2239
|
+
_defineProperty$b(this, "contents", void 0);
|
|
2240
2240
|
this.contents = promise;
|
|
2241
2241
|
}
|
|
2242
2242
|
getValue() {
|
|
@@ -2470,7 +2470,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2470
2470
|
};
|
|
2471
2471
|
class AbstractRecoilValue {
|
|
2472
2472
|
constructor(newKey) {
|
|
2473
|
-
_defineProperty$
|
|
2473
|
+
_defineProperty$b(this, "key", void 0);
|
|
2474
2474
|
this.key = newKey;
|
|
2475
2475
|
}
|
|
2476
2476
|
toJSON() {
|
|
@@ -3208,7 +3208,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3208
3208
|
});
|
|
3209
3209
|
class BuiltInMap {
|
|
3210
3210
|
constructor(existing) {
|
|
3211
|
-
_defineProperty$
|
|
3211
|
+
_defineProperty$b(this, "_map", void 0);
|
|
3212
3212
|
this._map = new Map(existing === null || existing === void 0 ? void 0 : existing.entries());
|
|
3213
3213
|
}
|
|
3214
3214
|
keys() {
|
|
@@ -3240,7 +3240,7 @@ var __publicField = (obj, key, value) => {
|
|
|
3240
3240
|
}
|
|
3241
3241
|
class HashArrayMappedTrieMap {
|
|
3242
3242
|
constructor(existing) {
|
|
3243
|
-
_defineProperty$
|
|
3243
|
+
_defineProperty$b(this, "_hamt", hamt_1.empty.beginMutation());
|
|
3244
3244
|
if (existing instanceof HashArrayMappedTrieMap) {
|
|
3245
3245
|
const h2 = existing._hamt.endMutation();
|
|
3246
3246
|
existing._hamt = h2.beginMutation();
|
|
@@ -4305,17 +4305,17 @@ var __publicField = (obj, key, value) => {
|
|
|
4305
4305
|
} = Recoil_Memoize;
|
|
4306
4306
|
class Snapshot {
|
|
4307
4307
|
constructor(storeState, parentStoreID) {
|
|
4308
|
-
_defineProperty$
|
|
4309
|
-
_defineProperty$
|
|
4310
|
-
_defineProperty$
|
|
4308
|
+
_defineProperty$b(this, "_store", void 0);
|
|
4309
|
+
_defineProperty$b(this, "_refCount", 1);
|
|
4310
|
+
_defineProperty$b(this, "getLoadable", (recoilValue) => {
|
|
4311
4311
|
this.checkRefCount_INTERNAL();
|
|
4312
4312
|
return getRecoilValueAsLoadable$1(this._store, recoilValue);
|
|
4313
4313
|
});
|
|
4314
|
-
_defineProperty$
|
|
4314
|
+
_defineProperty$b(this, "getPromise", (recoilValue) => {
|
|
4315
4315
|
this.checkRefCount_INTERNAL();
|
|
4316
4316
|
return this.getLoadable(recoilValue).toPromise();
|
|
4317
4317
|
});
|
|
4318
|
-
_defineProperty$
|
|
4318
|
+
_defineProperty$b(this, "getNodes_UNSTABLE", (opt) => {
|
|
4319
4319
|
this.checkRefCount_INTERNAL();
|
|
4320
4320
|
if ((opt === null || opt === void 0 ? void 0 : opt.isModified) === true) {
|
|
4321
4321
|
if ((opt === null || opt === void 0 ? void 0 : opt.isInitialized) === false) {
|
|
@@ -4330,19 +4330,19 @@ var __publicField = (obj, key, value) => {
|
|
|
4330
4330
|
key
|
|
4331
4331
|
}) => !knownAtoms.has(key) && !knownSelectors.has(key));
|
|
4332
4332
|
});
|
|
4333
|
-
_defineProperty$
|
|
4333
|
+
_defineProperty$b(this, "getInfo_UNSTABLE", ({
|
|
4334
4334
|
key
|
|
4335
4335
|
}) => {
|
|
4336
4336
|
this.checkRefCount_INTERNAL();
|
|
4337
4337
|
return peekNodeInfo$1(this._store, this._store.getState().currentTree, key);
|
|
4338
4338
|
});
|
|
4339
|
-
_defineProperty$
|
|
4339
|
+
_defineProperty$b(this, "map", (mapper) => {
|
|
4340
4340
|
this.checkRefCount_INTERNAL();
|
|
4341
4341
|
const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);
|
|
4342
4342
|
mapper(mutableSnapshot);
|
|
4343
4343
|
return mutableSnapshot;
|
|
4344
4344
|
});
|
|
4345
|
-
_defineProperty$
|
|
4345
|
+
_defineProperty$b(this, "asyncMap", async (mapper) => {
|
|
4346
4346
|
this.checkRefCount_INTERNAL();
|
|
4347
4347
|
const mutableSnapshot = new MutableSnapshot(this, batchUpdates$1);
|
|
4348
4348
|
mutableSnapshot.retain();
|
|
@@ -4490,8 +4490,8 @@ var __publicField = (obj, key, value) => {
|
|
|
4490
4490
|
class MutableSnapshot extends Snapshot {
|
|
4491
4491
|
constructor(snapshot, batch) {
|
|
4492
4492
|
super(cloneStoreState(snapshot.getStore_INTERNAL(), snapshot.getStore_INTERNAL().getState().currentTree, true), snapshot.getStoreID());
|
|
4493
|
-
_defineProperty$
|
|
4494
|
-
_defineProperty$
|
|
4493
|
+
_defineProperty$b(this, "_batch", void 0);
|
|
4494
|
+
_defineProperty$b(this, "set", (recoilState, newValueOrUpdater) => {
|
|
4495
4495
|
this.checkRefCount_INTERNAL();
|
|
4496
4496
|
const store = this.getStore_INTERNAL();
|
|
4497
4497
|
this._batch(() => {
|
|
@@ -4499,7 +4499,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4499
4499
|
setRecoilValue$1(this.getStore_INTERNAL(), recoilState, newValueOrUpdater);
|
|
4500
4500
|
});
|
|
4501
4501
|
});
|
|
4502
|
-
_defineProperty$
|
|
4502
|
+
_defineProperty$b(this, "reset", (recoilState) => {
|
|
4503
4503
|
this.checkRefCount_INTERNAL();
|
|
4504
4504
|
const store = this.getStore_INTERNAL();
|
|
4505
4505
|
this._batch(() => {
|
|
@@ -4507,7 +4507,7 @@ var __publicField = (obj, key, value) => {
|
|
|
4507
4507
|
setRecoilValue$1(this.getStore_INTERNAL(), recoilState, DEFAULT_VALUE$1$1);
|
|
4508
4508
|
});
|
|
4509
4509
|
});
|
|
4510
|
-
_defineProperty$
|
|
4510
|
+
_defineProperty$b(this, "setUnvalidatedAtomValues_DEPRECATED", (values) => {
|
|
4511
4511
|
this.checkRefCount_INTERNAL();
|
|
4512
4512
|
const store = this.getStore_INTERNAL();
|
|
4513
4513
|
batchUpdates$1(() => {
|
|
@@ -5622,10 +5622,10 @@ var __publicField = (obj, key, value) => {
|
|
|
5622
5622
|
}
|
|
5623
5623
|
class TransactionInterfaceImpl {
|
|
5624
5624
|
constructor(store, treeState) {
|
|
5625
|
-
_defineProperty$
|
|
5626
|
-
_defineProperty$
|
|
5627
|
-
_defineProperty$
|
|
5628
|
-
_defineProperty$
|
|
5625
|
+
_defineProperty$b(this, "_store", void 0);
|
|
5626
|
+
_defineProperty$b(this, "_treeState", void 0);
|
|
5627
|
+
_defineProperty$b(this, "_changes", void 0);
|
|
5628
|
+
_defineProperty$b(this, "get", (recoilValue) => {
|
|
5629
5629
|
if (this._changes.has(recoilValue.key)) {
|
|
5630
5630
|
return this._changes.get(recoilValue.key);
|
|
5631
5631
|
}
|
|
@@ -5641,7 +5641,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5641
5641
|
throw Recoil_err$2(`Expected Recoil atom ${recoilValue.key} to have a value, but it is in a loading state.`);
|
|
5642
5642
|
}
|
|
5643
5643
|
});
|
|
5644
|
-
_defineProperty$
|
|
5644
|
+
_defineProperty$b(this, "set", (recoilState, valueOrUpdater) => {
|
|
5645
5645
|
if (!isAtom(recoilState)) {
|
|
5646
5646
|
throw Recoil_err$2("Setting selectors within atomicUpdate is not supported");
|
|
5647
5647
|
}
|
|
@@ -5653,7 +5653,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5653
5653
|
this._changes.set(recoilState.key, valueOrUpdater);
|
|
5654
5654
|
}
|
|
5655
5655
|
});
|
|
5656
|
-
_defineProperty$
|
|
5656
|
+
_defineProperty$b(this, "reset", (recoilState) => {
|
|
5657
5657
|
this.set(recoilState, DEFAULT_VALUE$4);
|
|
5658
5658
|
});
|
|
5659
5659
|
this._store = store;
|
|
@@ -5818,7 +5818,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5818
5818
|
var Recoil_useRecoilTransaction = useRecoilTransaction;
|
|
5819
5819
|
class WrappedValue {
|
|
5820
5820
|
constructor(value) {
|
|
5821
|
-
_defineProperty$
|
|
5821
|
+
_defineProperty$b(this, "value", void 0);
|
|
5822
5822
|
this.value = value;
|
|
5823
5823
|
}
|
|
5824
5824
|
}
|
|
@@ -5838,12 +5838,12 @@ var __publicField = (obj, key, value) => {
|
|
|
5838
5838
|
class TreeCache {
|
|
5839
5839
|
constructor(options) {
|
|
5840
5840
|
var _options$onHit, _options$onSet, _options$mapNodeValue;
|
|
5841
|
-
_defineProperty$
|
|
5842
|
-
_defineProperty$
|
|
5843
|
-
_defineProperty$
|
|
5844
|
-
_defineProperty$
|
|
5845
|
-
_defineProperty$
|
|
5846
|
-
_defineProperty$
|
|
5841
|
+
_defineProperty$b(this, "_name", void 0);
|
|
5842
|
+
_defineProperty$b(this, "_numLeafs", void 0);
|
|
5843
|
+
_defineProperty$b(this, "_root", void 0);
|
|
5844
|
+
_defineProperty$b(this, "_onHit", void 0);
|
|
5845
|
+
_defineProperty$b(this, "_onSet", void 0);
|
|
5846
|
+
_defineProperty$b(this, "_mapNodeValue", void 0);
|
|
5847
5847
|
this._name = options === null || options === void 0 ? void 0 : options.name;
|
|
5848
5848
|
this._numLeafs = 0;
|
|
5849
5849
|
this._root = null;
|
|
@@ -5993,12 +5993,12 @@ var __publicField = (obj, key, value) => {
|
|
|
5993
5993
|
class LRUCache {
|
|
5994
5994
|
constructor(options) {
|
|
5995
5995
|
var _options$mapKey;
|
|
5996
|
-
_defineProperty$
|
|
5997
|
-
_defineProperty$
|
|
5998
|
-
_defineProperty$
|
|
5999
|
-
_defineProperty$
|
|
6000
|
-
_defineProperty$
|
|
6001
|
-
_defineProperty$
|
|
5996
|
+
_defineProperty$b(this, "_maxSize", void 0);
|
|
5997
|
+
_defineProperty$b(this, "_size", void 0);
|
|
5998
|
+
_defineProperty$b(this, "_head", void 0);
|
|
5999
|
+
_defineProperty$b(this, "_tail", void 0);
|
|
6000
|
+
_defineProperty$b(this, "_map", void 0);
|
|
6001
|
+
_defineProperty$b(this, "_keyMapper", void 0);
|
|
6002
6002
|
this._maxSize = options.maxSize;
|
|
6003
6003
|
this._size = 0;
|
|
6004
6004
|
this._head = null;
|
|
@@ -7087,8 +7087,8 @@ var __publicField = (obj, key, value) => {
|
|
|
7087
7087
|
class MapCache$4 {
|
|
7088
7088
|
constructor(options) {
|
|
7089
7089
|
var _options$mapKey;
|
|
7090
|
-
_defineProperty$
|
|
7091
|
-
_defineProperty$
|
|
7090
|
+
_defineProperty$b(this, "_map", void 0);
|
|
7091
|
+
_defineProperty$b(this, "_keyMapper", void 0);
|
|
7092
7092
|
this._map = /* @__PURE__ */ new Map();
|
|
7093
7093
|
this._keyMapper = (_options$mapKey = options === null || options === void 0 ? void 0 : options.mapKey) !== null && _options$mapKey !== void 0 ? _options$mapKey : (v2) => v2;
|
|
7094
7094
|
}
|
|
@@ -10566,7 +10566,7 @@ var __publicField = (obj, key, value) => {
|
|
|
10566
10566
|
return proxy;
|
|
10567
10567
|
}
|
|
10568
10568
|
var Recoil_lazyProxy = lazyProxy;
|
|
10569
|
-
function _defineProperty$
|
|
10569
|
+
function _defineProperty$a(obj, key, value) {
|
|
10570
10570
|
if (key in obj) {
|
|
10571
10571
|
Object.defineProperty(obj, key, {
|
|
10572
10572
|
value,
|
|
@@ -10624,9 +10624,9 @@ var __publicField = (obj, key, value) => {
|
|
|
10624
10624
|
}
|
|
10625
10625
|
class Registries {
|
|
10626
10626
|
constructor() {
|
|
10627
|
-
_defineProperty$
|
|
10628
|
-
_defineProperty$
|
|
10629
|
-
_defineProperty$
|
|
10627
|
+
_defineProperty$a(this, "atomRegistries", /* @__PURE__ */ new Map());
|
|
10628
|
+
_defineProperty$a(this, "nextEffectKey", 0);
|
|
10629
|
+
_defineProperty$a(this, "storageRegistries", /* @__PURE__ */ new Map());
|
|
10630
10630
|
}
|
|
10631
10631
|
getAtomRegistry(recoilStoreID, externalStoreKey) {
|
|
10632
10632
|
if (!this.atomRegistries.has(recoilStoreID)) {
|
|
@@ -11011,8 +11011,8 @@ var __publicField = (obj, key, value) => {
|
|
|
11011
11011
|
};
|
|
11012
11012
|
class Path$5 {
|
|
11013
11013
|
constructor(parent = null, field = "<root>") {
|
|
11014
|
-
_defineProperty$
|
|
11015
|
-
_defineProperty$
|
|
11014
|
+
_defineProperty$a(this, "parent", void 0);
|
|
11015
|
+
_defineProperty$a(this, "field", void 0);
|
|
11016
11016
|
this.parent = parent;
|
|
11017
11017
|
this.field = field;
|
|
11018
11018
|
}
|
|
@@ -11147,7 +11147,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11147
11147
|
}
|
|
11148
11148
|
class OptionalProperty$1 {
|
|
11149
11149
|
constructor(checker) {
|
|
11150
|
-
_defineProperty$
|
|
11150
|
+
_defineProperty$a(this, "checker", void 0);
|
|
11151
11151
|
this.checker = checker;
|
|
11152
11152
|
}
|
|
11153
11153
|
}
|
|
@@ -12146,18 +12146,18 @@ var __publicField = (obj, key, value) => {
|
|
|
12146
12146
|
}
|
|
12147
12147
|
})(jsxRuntime);
|
|
12148
12148
|
var Collapse$2 = {};
|
|
12149
|
-
function _typeof$
|
|
12149
|
+
function _typeof$5(obj) {
|
|
12150
12150
|
"@babel/helpers - typeof";
|
|
12151
12151
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
12152
|
-
_typeof$
|
|
12152
|
+
_typeof$5 = function _typeof2(obj2) {
|
|
12153
12153
|
return typeof obj2;
|
|
12154
12154
|
};
|
|
12155
12155
|
} else {
|
|
12156
|
-
_typeof$
|
|
12156
|
+
_typeof$5 = function _typeof2(obj2) {
|
|
12157
12157
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
12158
12158
|
};
|
|
12159
12159
|
}
|
|
12160
|
-
return _typeof$
|
|
12160
|
+
return _typeof$5(obj);
|
|
12161
12161
|
}
|
|
12162
12162
|
Object.defineProperty(Collapse$2, "__esModule", {
|
|
12163
12163
|
value: true
|
|
@@ -12218,7 +12218,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12218
12218
|
};
|
|
12219
12219
|
}
|
|
12220
12220
|
function _possibleConstructorReturn$3(self2, call) {
|
|
12221
|
-
if (call && (_typeof$
|
|
12221
|
+
if (call && (_typeof$5(call) === "object" || typeof call === "function")) {
|
|
12222
12222
|
return call;
|
|
12223
12223
|
} else if (call !== void 0) {
|
|
12224
12224
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -12252,7 +12252,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12252
12252
|
};
|
|
12253
12253
|
return _getPrototypeOf$4(o2);
|
|
12254
12254
|
}
|
|
12255
|
-
function _defineProperty$
|
|
12255
|
+
function _defineProperty$9(obj, key, value) {
|
|
12256
12256
|
if (key in obj) {
|
|
12257
12257
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
12258
12258
|
} else {
|
|
@@ -12267,10 +12267,10 @@ var __publicField = (obj, key, value) => {
|
|
|
12267
12267
|
var _this;
|
|
12268
12268
|
_classCallCheck$4(this, Collapse2);
|
|
12269
12269
|
_this = _super.call(this, props);
|
|
12270
|
-
_defineProperty$
|
|
12271
|
-
_defineProperty$
|
|
12272
|
-
_defineProperty$
|
|
12273
|
-
_defineProperty$
|
|
12270
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "timeout", void 0);
|
|
12271
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "container", void 0);
|
|
12272
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "content", void 0);
|
|
12273
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onResize", function() {
|
|
12274
12274
|
clearTimeout(_this.timeout);
|
|
12275
12275
|
if (!_this.container || !_this.content) {
|
|
12276
12276
|
return;
|
|
@@ -12301,7 +12301,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12301
12301
|
}, checkTimeout);
|
|
12302
12302
|
}
|
|
12303
12303
|
});
|
|
12304
|
-
_defineProperty$
|
|
12304
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onRest", function(_ref2) {
|
|
12305
12305
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
12306
12306
|
if (!_this.container || !_this.content) {
|
|
12307
12307
|
return;
|
|
@@ -12323,7 +12323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12323
12323
|
}
|
|
12324
12324
|
}
|
|
12325
12325
|
});
|
|
12326
|
-
_defineProperty$
|
|
12326
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onWork", function(_ref2) {
|
|
12327
12327
|
var isFullyOpened = _ref2.isFullyOpened, isFullyClosed = _ref2.isFullyClosed, isOpened = _ref2.isOpened, containerHeight = _ref2.containerHeight, contentHeight = _ref2.contentHeight;
|
|
12328
12328
|
if (!_this.container || !_this.content) {
|
|
12329
12329
|
return;
|
|
@@ -12346,10 +12346,10 @@ var __publicField = (obj, key, value) => {
|
|
|
12346
12346
|
});
|
|
12347
12347
|
}
|
|
12348
12348
|
});
|
|
12349
|
-
_defineProperty$
|
|
12349
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onRefContainer", function(container) {
|
|
12350
12350
|
_this.container = container;
|
|
12351
12351
|
});
|
|
12352
|
-
_defineProperty$
|
|
12352
|
+
_defineProperty$9(_assertThisInitialized$5(_this), "onRefContent", function(content) {
|
|
12353
12353
|
_this.content = content;
|
|
12354
12354
|
});
|
|
12355
12355
|
if (props.initialStyle) {
|
|
@@ -12418,7 +12418,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12418
12418
|
return Collapse2;
|
|
12419
12419
|
}(_react$1["default"].Component);
|
|
12420
12420
|
Collapse$2.Collapse = Collapse$1;
|
|
12421
|
-
_defineProperty$
|
|
12421
|
+
_defineProperty$9(Collapse$1, "defaultProps", {
|
|
12422
12422
|
theme: {
|
|
12423
12423
|
collapse: "ReactCollapse--collapse",
|
|
12424
12424
|
content: "ReactCollapse--content"
|
|
@@ -12429,18 +12429,18 @@ var __publicField = (obj, key, value) => {
|
|
|
12429
12429
|
checkTimeout: 50
|
|
12430
12430
|
});
|
|
12431
12431
|
var UnmountClosed$2 = {};
|
|
12432
|
-
function _typeof$
|
|
12432
|
+
function _typeof$4(obj) {
|
|
12433
12433
|
"@babel/helpers - typeof";
|
|
12434
12434
|
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
12435
|
-
_typeof$
|
|
12435
|
+
_typeof$4 = function _typeof2(obj2) {
|
|
12436
12436
|
return typeof obj2;
|
|
12437
12437
|
};
|
|
12438
12438
|
} else {
|
|
12439
|
-
_typeof$
|
|
12439
|
+
_typeof$4 = function _typeof2(obj2) {
|
|
12440
12440
|
return obj2 && typeof Symbol === "function" && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
12441
12441
|
};
|
|
12442
12442
|
}
|
|
12443
|
-
return _typeof$
|
|
12443
|
+
return _typeof$4(obj);
|
|
12444
12444
|
}
|
|
12445
12445
|
Object.defineProperty(UnmountClosed$2, "__esModule", {
|
|
12446
12446
|
value: true
|
|
@@ -12448,7 +12448,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12448
12448
|
UnmountClosed$2.UnmountClosed = void 0;
|
|
12449
12449
|
var _react = _interopRequireDefault(React__default.default);
|
|
12450
12450
|
var _Collapse = Collapse$2;
|
|
12451
|
-
var _excluded$
|
|
12451
|
+
var _excluded$5 = ["isOpened"], _excluded2 = ["isOpened"];
|
|
12452
12452
|
function _interopRequireDefault(obj) {
|
|
12453
12453
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
12454
12454
|
}
|
|
@@ -12466,7 +12466,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12466
12466
|
};
|
|
12467
12467
|
return _extends$2.apply(this, arguments);
|
|
12468
12468
|
}
|
|
12469
|
-
function ownKeys$
|
|
12469
|
+
function ownKeys$5(object2, enumerableOnly) {
|
|
12470
12470
|
var keys2 = Object.keys(object2);
|
|
12471
12471
|
if (Object.getOwnPropertySymbols) {
|
|
12472
12472
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -12483,23 +12483,23 @@ var __publicField = (obj, key, value) => {
|
|
|
12483
12483
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
12484
12484
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
12485
12485
|
if (i2 % 2) {
|
|
12486
|
-
ownKeys$
|
|
12487
|
-
_defineProperty$
|
|
12486
|
+
ownKeys$5(Object(source), true).forEach(function(key) {
|
|
12487
|
+
_defineProperty$8(target, key, source[key]);
|
|
12488
12488
|
});
|
|
12489
12489
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
12490
12490
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
12491
12491
|
} else {
|
|
12492
|
-
ownKeys$
|
|
12492
|
+
ownKeys$5(Object(source)).forEach(function(key) {
|
|
12493
12493
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
12494
12494
|
});
|
|
12495
12495
|
}
|
|
12496
12496
|
}
|
|
12497
12497
|
return target;
|
|
12498
12498
|
}
|
|
12499
|
-
function _objectWithoutProperties$
|
|
12499
|
+
function _objectWithoutProperties$3(source, excluded) {
|
|
12500
12500
|
if (source == null)
|
|
12501
12501
|
return {};
|
|
12502
|
-
var target = _objectWithoutPropertiesLoose$
|
|
12502
|
+
var target = _objectWithoutPropertiesLoose$6(source, excluded);
|
|
12503
12503
|
var key, i2;
|
|
12504
12504
|
if (Object.getOwnPropertySymbols) {
|
|
12505
12505
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -12514,7 +12514,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12514
12514
|
}
|
|
12515
12515
|
return target;
|
|
12516
12516
|
}
|
|
12517
|
-
function _objectWithoutPropertiesLoose$
|
|
12517
|
+
function _objectWithoutPropertiesLoose$6(source, excluded) {
|
|
12518
12518
|
if (source == null)
|
|
12519
12519
|
return {};
|
|
12520
12520
|
var target = {};
|
|
@@ -12579,7 +12579,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12579
12579
|
};
|
|
12580
12580
|
}
|
|
12581
12581
|
function _possibleConstructorReturn$2(self2, call) {
|
|
12582
|
-
if (call && (_typeof$
|
|
12582
|
+
if (call && (_typeof$4(call) === "object" || typeof call === "function")) {
|
|
12583
12583
|
return call;
|
|
12584
12584
|
} else if (call !== void 0) {
|
|
12585
12585
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -12613,7 +12613,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12613
12613
|
};
|
|
12614
12614
|
return _getPrototypeOf$3(o2);
|
|
12615
12615
|
}
|
|
12616
|
-
function _defineProperty$
|
|
12616
|
+
function _defineProperty$8(obj, key, value) {
|
|
12617
12617
|
if (key in obj) {
|
|
12618
12618
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
12619
12619
|
} else {
|
|
@@ -12628,8 +12628,8 @@ var __publicField = (obj, key, value) => {
|
|
|
12628
12628
|
var _this;
|
|
12629
12629
|
_classCallCheck$3(this, UnmountClosed2);
|
|
12630
12630
|
_this = _super.call(this, props);
|
|
12631
|
-
_defineProperty$
|
|
12632
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
12631
|
+
_defineProperty$8(_assertThisInitialized$4(_this), "onWork", function(_ref2) {
|
|
12632
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded$5);
|
|
12633
12633
|
_this.setState({
|
|
12634
12634
|
isResting: false,
|
|
12635
12635
|
isOpened
|
|
@@ -12641,8 +12641,8 @@ var __publicField = (obj, key, value) => {
|
|
|
12641
12641
|
}, rest));
|
|
12642
12642
|
}
|
|
12643
12643
|
});
|
|
12644
|
-
_defineProperty$
|
|
12645
|
-
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$
|
|
12644
|
+
_defineProperty$8(_assertThisInitialized$4(_this), "onRest", function(_ref2) {
|
|
12645
|
+
var isOpened = _ref2.isOpened, rest = _objectWithoutProperties$3(_ref2, _excluded2);
|
|
12646
12646
|
_this.setState({
|
|
12647
12647
|
isResting: true,
|
|
12648
12648
|
isOpened,
|
|
@@ -12655,7 +12655,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12655
12655
|
}, rest));
|
|
12656
12656
|
}
|
|
12657
12657
|
});
|
|
12658
|
-
_defineProperty$
|
|
12658
|
+
_defineProperty$8(_assertThisInitialized$4(_this), "getInitialStyle", function() {
|
|
12659
12659
|
var _this$state = _this.state, isOpened = _this$state.isOpened, isInitialRender = _this$state.isInitialRender;
|
|
12660
12660
|
if (isInitialRender) {
|
|
12661
12661
|
return isOpened ? {
|
|
@@ -12704,7 +12704,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12704
12704
|
return UnmountClosed2;
|
|
12705
12705
|
}(_react["default"].PureComponent);
|
|
12706
12706
|
UnmountClosed$2.UnmountClosed = UnmountClosed$1;
|
|
12707
|
-
_defineProperty$
|
|
12707
|
+
_defineProperty$8(UnmountClosed$1, "defaultProps", {
|
|
12708
12708
|
onWork: void 0,
|
|
12709
12709
|
onRest: void 0
|
|
12710
12710
|
});
|
|
@@ -12816,7 +12816,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12816
12816
|
iconName: "circle-xmark",
|
|
12817
12817
|
icon: [512, 512, [61532, "times-circle", "xmark-circle"], "f057", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]
|
|
12818
12818
|
};
|
|
12819
|
-
function ownKeys$
|
|
12819
|
+
function ownKeys$4(object2, enumerableOnly) {
|
|
12820
12820
|
var keys2 = Object.keys(object2);
|
|
12821
12821
|
if (Object.getOwnPropertySymbols) {
|
|
12822
12822
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -12826,24 +12826,24 @@ var __publicField = (obj, key, value) => {
|
|
|
12826
12826
|
}
|
|
12827
12827
|
return keys2;
|
|
12828
12828
|
}
|
|
12829
|
-
function _objectSpread2$
|
|
12829
|
+
function _objectSpread2$3(target) {
|
|
12830
12830
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
12831
12831
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
12832
|
-
i2 % 2 ? ownKeys$
|
|
12833
|
-
_defineProperty$
|
|
12834
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
12832
|
+
i2 % 2 ? ownKeys$4(Object(source), true).forEach(function(key) {
|
|
12833
|
+
_defineProperty$7(target, key, source[key]);
|
|
12834
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function(key) {
|
|
12835
12835
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
12836
12836
|
});
|
|
12837
12837
|
}
|
|
12838
12838
|
return target;
|
|
12839
12839
|
}
|
|
12840
|
-
function _typeof$
|
|
12840
|
+
function _typeof$3(obj) {
|
|
12841
12841
|
"@babel/helpers - typeof";
|
|
12842
|
-
return _typeof$
|
|
12842
|
+
return _typeof$3 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
12843
12843
|
return typeof obj2;
|
|
12844
12844
|
} : function(obj2) {
|
|
12845
12845
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
12846
|
-
}, _typeof$
|
|
12846
|
+
}, _typeof$3(obj);
|
|
12847
12847
|
}
|
|
12848
12848
|
function _classCallCheck$2(instance, Constructor) {
|
|
12849
12849
|
if (!(instance instanceof Constructor)) {
|
|
@@ -12870,7 +12870,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12870
12870
|
});
|
|
12871
12871
|
return Constructor;
|
|
12872
12872
|
}
|
|
12873
|
-
function _defineProperty$
|
|
12873
|
+
function _defineProperty$7(obj, key, value) {
|
|
12874
12874
|
if (key in obj) {
|
|
12875
12875
|
Object.defineProperty(obj, key, {
|
|
12876
12876
|
value,
|
|
@@ -12884,20 +12884,20 @@ var __publicField = (obj, key, value) => {
|
|
|
12884
12884
|
return obj;
|
|
12885
12885
|
}
|
|
12886
12886
|
function _slicedToArray$3(arr, i2) {
|
|
12887
|
-
return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i2) || _unsupportedIterableToArray$
|
|
12887
|
+
return _arrayWithHoles$3(arr) || _iterableToArrayLimit$3(arr, i2) || _unsupportedIterableToArray$4(arr, i2) || _nonIterableRest$3();
|
|
12888
12888
|
}
|
|
12889
|
-
function _toConsumableArray$
|
|
12890
|
-
return _arrayWithoutHoles$
|
|
12889
|
+
function _toConsumableArray$4(arr) {
|
|
12890
|
+
return _arrayWithoutHoles$4(arr) || _iterableToArray$4(arr) || _unsupportedIterableToArray$4(arr) || _nonIterableSpread$4();
|
|
12891
12891
|
}
|
|
12892
|
-
function _arrayWithoutHoles$
|
|
12892
|
+
function _arrayWithoutHoles$4(arr) {
|
|
12893
12893
|
if (Array.isArray(arr))
|
|
12894
|
-
return _arrayLikeToArray$
|
|
12894
|
+
return _arrayLikeToArray$4(arr);
|
|
12895
12895
|
}
|
|
12896
12896
|
function _arrayWithHoles$3(arr) {
|
|
12897
12897
|
if (Array.isArray(arr))
|
|
12898
12898
|
return arr;
|
|
12899
12899
|
}
|
|
12900
|
-
function _iterableToArray$
|
|
12900
|
+
function _iterableToArray$4(iter) {
|
|
12901
12901
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
12902
12902
|
return Array.from(iter);
|
|
12903
12903
|
}
|
|
@@ -12929,27 +12929,27 @@ var __publicField = (obj, key, value) => {
|
|
|
12929
12929
|
}
|
|
12930
12930
|
return _arr;
|
|
12931
12931
|
}
|
|
12932
|
-
function _unsupportedIterableToArray$
|
|
12932
|
+
function _unsupportedIterableToArray$4(o2, minLen) {
|
|
12933
12933
|
if (!o2)
|
|
12934
12934
|
return;
|
|
12935
12935
|
if (typeof o2 === "string")
|
|
12936
|
-
return _arrayLikeToArray$
|
|
12936
|
+
return _arrayLikeToArray$4(o2, minLen);
|
|
12937
12937
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
12938
12938
|
if (n2 === "Object" && o2.constructor)
|
|
12939
12939
|
n2 = o2.constructor.name;
|
|
12940
12940
|
if (n2 === "Map" || n2 === "Set")
|
|
12941
12941
|
return Array.from(o2);
|
|
12942
12942
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
12943
|
-
return _arrayLikeToArray$
|
|
12943
|
+
return _arrayLikeToArray$4(o2, minLen);
|
|
12944
12944
|
}
|
|
12945
|
-
function _arrayLikeToArray$
|
|
12945
|
+
function _arrayLikeToArray$4(arr, len) {
|
|
12946
12946
|
if (len == null || len > arr.length)
|
|
12947
12947
|
len = arr.length;
|
|
12948
12948
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
12949
12949
|
arr2[i2] = arr[i2];
|
|
12950
12950
|
return arr2;
|
|
12951
12951
|
}
|
|
12952
|
-
function _nonIterableSpread$
|
|
12952
|
+
function _nonIterableSpread$4() {
|
|
12953
12953
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
12954
12954
|
}
|
|
12955
12955
|
function _nonIterableRest$3() {
|
|
@@ -12996,7 +12996,7 @@ var __publicField = (obj, key, value) => {
|
|
|
12996
12996
|
var HTML_CLASS_I2SVG_BASE_CLASS = "fontawesome-i2svg";
|
|
12997
12997
|
var MUTATION_APPROACH_ASYNC = "async";
|
|
12998
12998
|
var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ["HTML", "HEAD", "STYLE", "SCRIPT"];
|
|
12999
|
-
var PRODUCTION$
|
|
12999
|
+
var PRODUCTION$2 = function() {
|
|
13000
13000
|
try {
|
|
13001
13001
|
return true;
|
|
13002
13002
|
} catch (e3) {
|
|
@@ -13013,7 +13013,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13013
13013
|
}
|
|
13014
13014
|
});
|
|
13015
13015
|
}
|
|
13016
|
-
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$
|
|
13016
|
+
var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty$7(_familyProxy, FAMILY_CLASSIC, {
|
|
13017
13017
|
"fa": "solid",
|
|
13018
13018
|
"fas": "solid",
|
|
13019
13019
|
"fa-solid": "solid",
|
|
@@ -13029,7 +13029,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13029
13029
|
"fa-brands": "brands",
|
|
13030
13030
|
"fak": "kit",
|
|
13031
13031
|
"fa-kit": "kit"
|
|
13032
|
-
}), _defineProperty$
|
|
13032
|
+
}), _defineProperty$7(_familyProxy, FAMILY_SHARP, {
|
|
13033
13033
|
"fa": "solid",
|
|
13034
13034
|
"fass": "solid",
|
|
13035
13035
|
"fa-solid": "solid",
|
|
@@ -13038,7 +13038,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13038
13038
|
"fasl": "light",
|
|
13039
13039
|
"fa-light": "light"
|
|
13040
13040
|
}), _familyProxy));
|
|
13041
|
-
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$
|
|
13041
|
+
var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty$7(_familyProxy2, FAMILY_CLASSIC, {
|
|
13042
13042
|
"solid": "fas",
|
|
13043
13043
|
"regular": "far",
|
|
13044
13044
|
"light": "fal",
|
|
@@ -13046,12 +13046,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13046
13046
|
"duotone": "fad",
|
|
13047
13047
|
"brands": "fab",
|
|
13048
13048
|
"kit": "fak"
|
|
13049
|
-
}), _defineProperty$
|
|
13049
|
+
}), _defineProperty$7(_familyProxy2, FAMILY_SHARP, {
|
|
13050
13050
|
"solid": "fass",
|
|
13051
13051
|
"regular": "fasr",
|
|
13052
13052
|
"light": "fasl"
|
|
13053
13053
|
}), _familyProxy2));
|
|
13054
|
-
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$
|
|
13054
|
+
var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty$7(_familyProxy3, FAMILY_CLASSIC, {
|
|
13055
13055
|
"fab": "fa-brands",
|
|
13056
13056
|
"fad": "fa-duotone",
|
|
13057
13057
|
"fak": "fa-kit",
|
|
@@ -13059,12 +13059,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13059
13059
|
"far": "fa-regular",
|
|
13060
13060
|
"fas": "fa-solid",
|
|
13061
13061
|
"fat": "fa-thin"
|
|
13062
|
-
}), _defineProperty$
|
|
13062
|
+
}), _defineProperty$7(_familyProxy3, FAMILY_SHARP, {
|
|
13063
13063
|
"fass": "fa-solid",
|
|
13064
13064
|
"fasr": "fa-regular",
|
|
13065
13065
|
"fasl": "fa-light"
|
|
13066
13066
|
}), _familyProxy3));
|
|
13067
|
-
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$
|
|
13067
|
+
var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty$7(_familyProxy4, FAMILY_CLASSIC, {
|
|
13068
13068
|
"fa-brands": "fab",
|
|
13069
13069
|
"fa-duotone": "fad",
|
|
13070
13070
|
"fa-kit": "fak",
|
|
@@ -13072,7 +13072,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13072
13072
|
"fa-regular": "far",
|
|
13073
13073
|
"fa-solid": "fas",
|
|
13074
13074
|
"fa-thin": "fat"
|
|
13075
|
-
}), _defineProperty$
|
|
13075
|
+
}), _defineProperty$7(_familyProxy4, FAMILY_SHARP, {
|
|
13076
13076
|
"fa-solid": "fass",
|
|
13077
13077
|
"fa-regular": "fasr",
|
|
13078
13078
|
"fa-light": "fasl"
|
|
@@ -13080,13 +13080,13 @@ var __publicField = (obj, key, value) => {
|
|
|
13080
13080
|
var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/;
|
|
13081
13081
|
var LAYERS_TEXT_CLASSNAME = "fa-layers-text";
|
|
13082
13082
|
var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i;
|
|
13083
|
-
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$
|
|
13083
|
+
var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty$7(_familyProxy5, FAMILY_CLASSIC, {
|
|
13084
13084
|
"900": "fas",
|
|
13085
13085
|
"400": "far",
|
|
13086
13086
|
"normal": "far",
|
|
13087
13087
|
"300": "fal",
|
|
13088
13088
|
"100": "fat"
|
|
13089
|
-
}), _defineProperty$
|
|
13089
|
+
}), _defineProperty$7(_familyProxy5, FAMILY_SHARP, {
|
|
13090
13090
|
"900": "fass",
|
|
13091
13091
|
"400": "fasr",
|
|
13092
13092
|
"300": "fasl"
|
|
@@ -13103,7 +13103,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13103
13103
|
var prefixes = /* @__PURE__ */ new Set();
|
|
13104
13104
|
Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
|
|
13105
13105
|
Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
|
|
13106
|
-
var RESERVED_CLASSES = [].concat(FAMILIES, _toConsumableArray$
|
|
13106
|
+
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) {
|
|
13107
13107
|
return "".concat(n2, "x");
|
|
13108
13108
|
})).concat(oneToTwenty.map(function(n2) {
|
|
13109
13109
|
return "w-".concat(n2);
|
|
@@ -13152,7 +13152,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13152
13152
|
if (initial.familyPrefix) {
|
|
13153
13153
|
initial.cssPrefix = initial.familyPrefix;
|
|
13154
13154
|
}
|
|
13155
|
-
var _config = _objectSpread2$
|
|
13155
|
+
var _config = _objectSpread2$3(_objectSpread2$3({}, _default$1), initial);
|
|
13156
13156
|
if (!_config.autoReplaceSvg)
|
|
13157
13157
|
_config.observeMutations = false;
|
|
13158
13158
|
var config$2 = {};
|
|
@@ -13456,7 +13456,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13456
13456
|
if (typeof namespace.hooks.addPack === "function" && !skipHooks) {
|
|
13457
13457
|
namespace.hooks.addPack(prefix2, normalizeIcons(icons));
|
|
13458
13458
|
} else {
|
|
13459
|
-
namespace.styles[prefix2] = _objectSpread2$
|
|
13459
|
+
namespace.styles[prefix2] = _objectSpread2$3(_objectSpread2$3({}, namespace.styles[prefix2] || {}), normalized);
|
|
13460
13460
|
}
|
|
13461
13461
|
if (prefix2 === "fas") {
|
|
13462
13462
|
defineIcons("fa", icons);
|
|
@@ -13464,14 +13464,14 @@ var __publicField = (obj, key, value) => {
|
|
|
13464
13464
|
}
|
|
13465
13465
|
var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
|
|
13466
13466
|
var styles = namespace.styles, shims = namespace.shims;
|
|
13467
|
-
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$
|
|
13467
|
+
var LONG_STYLE = (_LONG_STYLE = {}, _defineProperty$7(_LONG_STYLE, FAMILY_CLASSIC, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$7(_LONG_STYLE, FAMILY_SHARP, Object.values(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _LONG_STYLE);
|
|
13468
13468
|
var _defaultUsablePrefix = null;
|
|
13469
13469
|
var _byUnicode = {};
|
|
13470
13470
|
var _byLigature = {};
|
|
13471
13471
|
var _byOldName = {};
|
|
13472
13472
|
var _byOldUnicode = {};
|
|
13473
13473
|
var _byAlias = {};
|
|
13474
|
-
var PREFIXES = (_PREFIXES = {}, _defineProperty$
|
|
13474
|
+
var PREFIXES = (_PREFIXES = {}, _defineProperty$7(_PREFIXES, FAMILY_CLASSIC, Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC])), _defineProperty$7(_PREFIXES, FAMILY_SHARP, Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP])), _PREFIXES);
|
|
13475
13475
|
function isReserved(name) {
|
|
13476
13476
|
return ~RESERVED_CLASSES.indexOf(name);
|
|
13477
13477
|
}
|
|
@@ -13607,12 +13607,12 @@ var __publicField = (obj, key, value) => {
|
|
|
13607
13607
|
var defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null;
|
|
13608
13608
|
return prefix2 || defined || null;
|
|
13609
13609
|
}
|
|
13610
|
-
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$
|
|
13610
|
+
var PREFIXES_FOR_FAMILY = (_PREFIXES_FOR_FAMILY = {}, _defineProperty$7(_PREFIXES_FOR_FAMILY, FAMILY_CLASSIC, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC])), _defineProperty$7(_PREFIXES_FOR_FAMILY, FAMILY_SHARP, Object.keys(PREFIX_TO_LONG_STYLE[FAMILY_SHARP])), _PREFIXES_FOR_FAMILY);
|
|
13611
13611
|
function getCanonicalIcon(values) {
|
|
13612
13612
|
var _famProps;
|
|
13613
13613
|
var params = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
13614
13614
|
var _params$skipLookups = params.skipLookups, skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
|
|
13615
|
-
var famProps = (_famProps = {}, _defineProperty$
|
|
13615
|
+
var famProps = (_famProps = {}, _defineProperty$7(_famProps, FAMILY_CLASSIC, "".concat(config$2.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty$7(_famProps, FAMILY_SHARP, "".concat(config$2.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
|
|
13616
13616
|
var givenPrefix = null;
|
|
13617
13617
|
var family = FAMILY_CLASSIC;
|
|
13618
13618
|
if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function(v2) {
|
|
@@ -13684,7 +13684,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13684
13684
|
}
|
|
13685
13685
|
var additions = definitions.reduce(this._pullDefinitions, {});
|
|
13686
13686
|
Object.keys(additions).forEach(function(key) {
|
|
13687
|
-
_this.definitions[key] = _objectSpread2$
|
|
13687
|
+
_this.definitions[key] = _objectSpread2$3(_objectSpread2$3({}, _this.definitions[key] || {}), additions[key]);
|
|
13688
13688
|
defineIcons(key, additions[key]);
|
|
13689
13689
|
var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
|
|
13690
13690
|
if (longPrefix)
|
|
@@ -13741,7 +13741,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13741
13741
|
if (typeof mixout[tk] === "function") {
|
|
13742
13742
|
obj[tk] = mixout[tk];
|
|
13743
13743
|
}
|
|
13744
|
-
if (_typeof$
|
|
13744
|
+
if (_typeof$3(mixout[tk]) === "object") {
|
|
13745
13745
|
Object.keys(mixout[tk]).forEach(function(sk) {
|
|
13746
13746
|
if (!obj[tk]) {
|
|
13747
13747
|
obj[tk] = {};
|
|
@@ -13838,7 +13838,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13838
13838
|
if (_icon === null) {
|
|
13839
13839
|
return null;
|
|
13840
13840
|
}
|
|
13841
|
-
if (_typeof$
|
|
13841
|
+
if (_typeof$3(_icon) === "object" && _icon.prefix && _icon.iconName) {
|
|
13842
13842
|
return {
|
|
13843
13843
|
prefix: _icon.prefix,
|
|
13844
13844
|
iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
|
|
@@ -13917,7 +13917,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13917
13917
|
x: width / height / 2,
|
|
13918
13918
|
y: 0.5
|
|
13919
13919
|
};
|
|
13920
|
-
attributes["style"] = joinStyles(_objectSpread2$
|
|
13920
|
+
attributes["style"] = joinStyles(_objectSpread2$3(_objectSpread2$3({}, styles2), {}, {
|
|
13921
13921
|
"transform-origin": "".concat(offset2.x + transform.x / 16, "em ").concat(offset2.y + transform.y / 16, "em")
|
|
13922
13922
|
}));
|
|
13923
13923
|
}
|
|
@@ -13937,7 +13937,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13937
13937
|
},
|
|
13938
13938
|
children: [{
|
|
13939
13939
|
tag: "symbol",
|
|
13940
|
-
attributes: _objectSpread2$
|
|
13940
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, attributes), {}, {
|
|
13941
13941
|
id
|
|
13942
13942
|
}),
|
|
13943
13943
|
children
|
|
@@ -13955,7 +13955,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13955
13955
|
}).concat(extra.classes).join(" ");
|
|
13956
13956
|
var content = {
|
|
13957
13957
|
children: [],
|
|
13958
|
-
attributes: _objectSpread2$
|
|
13958
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, extra.attributes), {}, {
|
|
13959
13959
|
"data-prefix": prefix2,
|
|
13960
13960
|
"data-icon": iconName,
|
|
13961
13961
|
"class": attrClass,
|
|
@@ -13980,7 +13980,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13980
13980
|
});
|
|
13981
13981
|
delete content.attributes.title;
|
|
13982
13982
|
}
|
|
13983
|
-
var args = _objectSpread2$
|
|
13983
|
+
var args = _objectSpread2$3(_objectSpread2$3({}, content), {}, {
|
|
13984
13984
|
prefix: prefix2,
|
|
13985
13985
|
iconName,
|
|
13986
13986
|
main: main2,
|
|
@@ -13988,7 +13988,7 @@ var __publicField = (obj, key, value) => {
|
|
|
13988
13988
|
maskId,
|
|
13989
13989
|
transform,
|
|
13990
13990
|
symbol,
|
|
13991
|
-
styles: _objectSpread2$
|
|
13991
|
+
styles: _objectSpread2$3(_objectSpread2$3({}, uploadedIconWidthStyle), extra.styles)
|
|
13992
13992
|
});
|
|
13993
13993
|
var _ref22 = mask.found && main2.found ? callProvided("generateAbstractMask", args) || {
|
|
13994
13994
|
children: [],
|
|
@@ -14007,7 +14007,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14007
14007
|
}
|
|
14008
14008
|
function makeLayersTextAbstract(params) {
|
|
14009
14009
|
var content = 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;
|
|
14010
|
-
var attributes = _objectSpread2$
|
|
14010
|
+
var attributes = _objectSpread2$3(_objectSpread2$3(_objectSpread2$3({}, extra.attributes), title ? {
|
|
14011
14011
|
"title": title
|
|
14012
14012
|
} : {}), {}, {
|
|
14013
14013
|
"class": extra.classes.join(" ")
|
|
@@ -14015,7 +14015,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14015
14015
|
if (watchable) {
|
|
14016
14016
|
attributes[DATA_FA_I2SVG] = "";
|
|
14017
14017
|
}
|
|
14018
|
-
var styles2 = _objectSpread2$
|
|
14018
|
+
var styles2 = _objectSpread2$3({}, extra.styles);
|
|
14019
14019
|
if (transformIsMeaningful(transform)) {
|
|
14020
14020
|
styles2["transform"] = transformForCss({
|
|
14021
14021
|
transform,
|
|
@@ -14048,7 +14048,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14048
14048
|
}
|
|
14049
14049
|
function makeLayersCounterAbstract(params) {
|
|
14050
14050
|
var content = params.content, title = params.title, extra = params.extra;
|
|
14051
|
-
var attributes = _objectSpread2$
|
|
14051
|
+
var attributes = _objectSpread2$3(_objectSpread2$3(_objectSpread2$3({}, extra.attributes), title ? {
|
|
14052
14052
|
"title": title
|
|
14053
14053
|
} : {}), {}, {
|
|
14054
14054
|
"class": extra.classes.join(" ")
|
|
@@ -14124,7 +14124,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14124
14124
|
height: 512
|
|
14125
14125
|
};
|
|
14126
14126
|
function maybeNotifyMissing(iconName, prefix2) {
|
|
14127
|
-
if (!PRODUCTION$
|
|
14127
|
+
if (!PRODUCTION$2 && !config$2.showMissingIcons && iconName) {
|
|
14128
14128
|
console.error('Icon with name "'.concat(iconName, '" and prefix "').concat(prefix2, '" is missing.'));
|
|
14129
14129
|
}
|
|
14130
14130
|
}
|
|
@@ -14150,7 +14150,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14150
14150
|
return resolve(asFoundIcon(icon2));
|
|
14151
14151
|
}
|
|
14152
14152
|
maybeNotifyMissing(iconName, prefix2);
|
|
14153
|
-
resolve(_objectSpread2$
|
|
14153
|
+
resolve(_objectSpread2$3(_objectSpread2$3({}, missingIconResolutionMixin), {}, {
|
|
14154
14154
|
icon: config$2.showMissingIcons && iconName ? callProvided("missingIconAbstract") || {} : {}
|
|
14155
14155
|
}));
|
|
14156
14156
|
});
|
|
@@ -14439,7 +14439,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14439
14439
|
var extraAttributes = attributesParser(node);
|
|
14440
14440
|
var pluginMeta = chainHooks("parseNodeAttributes", {}, node);
|
|
14441
14441
|
var extraStyles = parser.styleParser ? styleParser(node) : [];
|
|
14442
|
-
return _objectSpread2$
|
|
14442
|
+
return _objectSpread2$3({
|
|
14443
14443
|
iconName,
|
|
14444
14444
|
title: node.getAttribute("title"),
|
|
14445
14445
|
titleId: node.getAttribute("data-fa-title-id"),
|
|
@@ -14476,7 +14476,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14476
14476
|
});
|
|
14477
14477
|
Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
14478
14478
|
Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
|
|
14479
|
-
knownPrefixes = _toConsumableArray$
|
|
14479
|
+
knownPrefixes = _toConsumableArray$4(knownPrefixes);
|
|
14480
14480
|
function onTree(root2) {
|
|
14481
14481
|
var callback = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
14482
14482
|
if (!IS_DOM)
|
|
@@ -14519,7 +14519,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14519
14519
|
acc.push(mutation);
|
|
14520
14520
|
}
|
|
14521
14521
|
} catch (e3) {
|
|
14522
|
-
if (!PRODUCTION$
|
|
14522
|
+
if (!PRODUCTION$2) {
|
|
14523
14523
|
if (e3.name === "MissingIcon") {
|
|
14524
14524
|
console.error(e3);
|
|
14525
14525
|
}
|
|
@@ -14560,7 +14560,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14560
14560
|
if (mask) {
|
|
14561
14561
|
mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
|
|
14562
14562
|
}
|
|
14563
|
-
return next(iconDefinition, _objectSpread2$
|
|
14563
|
+
return next(iconDefinition, _objectSpread2$3(_objectSpread2$3({}, params), {}, {
|
|
14564
14564
|
mask
|
|
14565
14565
|
}));
|
|
14566
14566
|
};
|
|
@@ -14571,7 +14571,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14571
14571
|
if (!iconDefinition)
|
|
14572
14572
|
return;
|
|
14573
14573
|
var prefix2 = iconDefinition.prefix, iconName = iconDefinition.iconName, icon2 = iconDefinition.icon;
|
|
14574
|
-
return domVariants(_objectSpread2$
|
|
14574
|
+
return domVariants(_objectSpread2$3({
|
|
14575
14575
|
type: "icon"
|
|
14576
14576
|
}, iconDefinition), function() {
|
|
14577
14577
|
callHooks("beforeDOMElementCreation", {
|
|
@@ -14598,7 +14598,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14598
14598
|
},
|
|
14599
14599
|
prefix: prefix2,
|
|
14600
14600
|
iconName,
|
|
14601
|
-
transform: _objectSpread2$
|
|
14601
|
+
transform: _objectSpread2$3(_objectSpread2$3({}, meaninglessTransform), transform),
|
|
14602
14602
|
symbol,
|
|
14603
14603
|
title,
|
|
14604
14604
|
maskId,
|
|
@@ -14705,7 +14705,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14705
14705
|
return [{
|
|
14706
14706
|
tag: "span",
|
|
14707
14707
|
attributes: {
|
|
14708
|
-
class: ["".concat(config$2.cssPrefix, "-layers")].concat(_toConsumableArray$
|
|
14708
|
+
class: ["".concat(config$2.cssPrefix, "-layers")].concat(_toConsumableArray$4(classes)).join(" ")
|
|
14709
14709
|
},
|
|
14710
14710
|
children
|
|
14711
14711
|
}];
|
|
@@ -14734,7 +14734,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14734
14734
|
extra: {
|
|
14735
14735
|
attributes,
|
|
14736
14736
|
styles: styles2,
|
|
14737
|
-
classes: ["".concat(config$2.cssPrefix, "-layers-counter")].concat(_toConsumableArray$
|
|
14737
|
+
classes: ["".concat(config$2.cssPrefix, "-layers-counter")].concat(_toConsumableArray$4(classes))
|
|
14738
14738
|
}
|
|
14739
14739
|
});
|
|
14740
14740
|
});
|
|
@@ -14758,12 +14758,12 @@ var __publicField = (obj, key, value) => {
|
|
|
14758
14758
|
});
|
|
14759
14759
|
return makeLayersTextAbstract({
|
|
14760
14760
|
content,
|
|
14761
|
-
transform: _objectSpread2$
|
|
14761
|
+
transform: _objectSpread2$3(_objectSpread2$3({}, meaninglessTransform), transform),
|
|
14762
14762
|
title,
|
|
14763
14763
|
extra: {
|
|
14764
14764
|
attributes,
|
|
14765
14765
|
styles: styles2,
|
|
14766
|
-
classes: ["".concat(config$2.cssPrefix, "-layers-text")].concat(_toConsumableArray$
|
|
14766
|
+
classes: ["".concat(config$2.cssPrefix, "-layers-text")].concat(_toConsumableArray$4(classes))
|
|
14767
14767
|
}
|
|
14768
14768
|
});
|
|
14769
14769
|
});
|
|
@@ -14849,7 +14849,7 @@ var __publicField = (obj, key, value) => {
|
|
|
14849
14849
|
var extra = meta.extra;
|
|
14850
14850
|
extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position;
|
|
14851
14851
|
findIcon(iconName, prefix2).then(function(main2) {
|
|
14852
|
-
var _abstract = makeInlineSvgAbstract(_objectSpread2$
|
|
14852
|
+
var _abstract = makeInlineSvgAbstract(_objectSpread2$3(_objectSpread2$3({}, meta), {}, {
|
|
14853
14853
|
icons: {
|
|
14854
14854
|
main: main2,
|
|
14855
14855
|
mask: emptyCanonicalIcon()
|
|
@@ -15048,14 +15048,14 @@ var __publicField = (obj, key, value) => {
|
|
|
15048
15048
|
};
|
|
15049
15049
|
return {
|
|
15050
15050
|
tag: "g",
|
|
15051
|
-
attributes: _objectSpread2$
|
|
15051
|
+
attributes: _objectSpread2$3({}, operations.outer),
|
|
15052
15052
|
children: [{
|
|
15053
15053
|
tag: "g",
|
|
15054
|
-
attributes: _objectSpread2$
|
|
15054
|
+
attributes: _objectSpread2$3({}, operations.inner),
|
|
15055
15055
|
children: [{
|
|
15056
15056
|
tag: main2.icon.tag,
|
|
15057
15057
|
children: main2.icon.children,
|
|
15058
|
-
attributes: _objectSpread2$
|
|
15058
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, main2.icon.attributes), operations.path)
|
|
15059
15059
|
}]
|
|
15060
15060
|
}]
|
|
15061
15061
|
};
|
|
@@ -15111,7 +15111,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15111
15111
|
});
|
|
15112
15112
|
var maskRect = {
|
|
15113
15113
|
tag: "rect",
|
|
15114
|
-
attributes: _objectSpread2$
|
|
15114
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, ALL_SPACE), {}, {
|
|
15115
15115
|
fill: "white"
|
|
15116
15116
|
})
|
|
15117
15117
|
};
|
|
@@ -15120,22 +15120,22 @@ var __publicField = (obj, key, value) => {
|
|
|
15120
15120
|
} : {};
|
|
15121
15121
|
var maskInnerGroup = {
|
|
15122
15122
|
tag: "g",
|
|
15123
|
-
attributes: _objectSpread2$
|
|
15124
|
-
children: [fillBlack(_objectSpread2$
|
|
15123
|
+
attributes: _objectSpread2$3({}, trans.inner),
|
|
15124
|
+
children: [fillBlack(_objectSpread2$3({
|
|
15125
15125
|
tag: mainPath.tag,
|
|
15126
|
-
attributes: _objectSpread2$
|
|
15126
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, mainPath.attributes), trans.path)
|
|
15127
15127
|
}, maskInnerGroupChildrenMixin))]
|
|
15128
15128
|
};
|
|
15129
15129
|
var maskOuterGroup = {
|
|
15130
15130
|
tag: "g",
|
|
15131
|
-
attributes: _objectSpread2$
|
|
15131
|
+
attributes: _objectSpread2$3({}, trans.outer),
|
|
15132
15132
|
children: [maskInnerGroup]
|
|
15133
15133
|
};
|
|
15134
15134
|
var maskId = "mask-".concat(explicitMaskId || nextUniqueId());
|
|
15135
15135
|
var clipId = "clip-".concat(explicitMaskId || nextUniqueId());
|
|
15136
15136
|
var maskTag = {
|
|
15137
15137
|
tag: "mask",
|
|
15138
|
-
attributes: _objectSpread2$
|
|
15138
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, ALL_SPACE), {}, {
|
|
15139
15139
|
id: maskId,
|
|
15140
15140
|
maskUnits: "userSpaceOnUse",
|
|
15141
15141
|
maskContentUnits: "userSpaceOnUse"
|
|
@@ -15154,7 +15154,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15154
15154
|
};
|
|
15155
15155
|
children.push(defs, {
|
|
15156
15156
|
tag: "rect",
|
|
15157
|
-
attributes: _objectSpread2$
|
|
15157
|
+
attributes: _objectSpread2$3({
|
|
15158
15158
|
fill: "currentColor",
|
|
15159
15159
|
"clip-path": "url(#".concat(clipId, ")"),
|
|
15160
15160
|
mask: "url(#".concat(maskId, ")")
|
|
@@ -15185,16 +15185,16 @@ var __publicField = (obj, key, value) => {
|
|
|
15185
15185
|
};
|
|
15186
15186
|
gChildren.push({
|
|
15187
15187
|
tag: "path",
|
|
15188
|
-
attributes: _objectSpread2$
|
|
15188
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, FILL), {}, {
|
|
15189
15189
|
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"
|
|
15190
15190
|
})
|
|
15191
15191
|
});
|
|
15192
|
-
var OPACITY_ANIMATE = _objectSpread2$
|
|
15192
|
+
var OPACITY_ANIMATE = _objectSpread2$3(_objectSpread2$3({}, ANIMATION_BASE), {}, {
|
|
15193
15193
|
attributeName: "opacity"
|
|
15194
15194
|
});
|
|
15195
15195
|
var dot = {
|
|
15196
15196
|
tag: "circle",
|
|
15197
|
-
attributes: _objectSpread2$
|
|
15197
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, FILL), {}, {
|
|
15198
15198
|
cx: "256",
|
|
15199
15199
|
cy: "364",
|
|
15200
15200
|
r: "28"
|
|
@@ -15204,13 +15204,13 @@ var __publicField = (obj, key, value) => {
|
|
|
15204
15204
|
if (!reduceMotion) {
|
|
15205
15205
|
dot.children.push({
|
|
15206
15206
|
tag: "animate",
|
|
15207
|
-
attributes: _objectSpread2$
|
|
15207
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, ANIMATION_BASE), {}, {
|
|
15208
15208
|
attributeName: "r",
|
|
15209
15209
|
values: "28;14;28;28;14;28;"
|
|
15210
15210
|
})
|
|
15211
15211
|
}, {
|
|
15212
15212
|
tag: "animate",
|
|
15213
|
-
attributes: _objectSpread2$
|
|
15213
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, OPACITY_ANIMATE), {}, {
|
|
15214
15214
|
values: "1;0;1;1;0;1;"
|
|
15215
15215
|
})
|
|
15216
15216
|
});
|
|
@@ -15218,13 +15218,13 @@ var __publicField = (obj, key, value) => {
|
|
|
15218
15218
|
gChildren.push(dot);
|
|
15219
15219
|
gChildren.push({
|
|
15220
15220
|
tag: "path",
|
|
15221
|
-
attributes: _objectSpread2$
|
|
15221
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, FILL), {}, {
|
|
15222
15222
|
opacity: "1",
|
|
15223
15223
|
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"
|
|
15224
15224
|
}),
|
|
15225
15225
|
children: reduceMotion ? [] : [{
|
|
15226
15226
|
tag: "animate",
|
|
15227
|
-
attributes: _objectSpread2$
|
|
15227
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, OPACITY_ANIMATE), {}, {
|
|
15228
15228
|
values: "1;0;0;0;0;1;"
|
|
15229
15229
|
})
|
|
15230
15230
|
}]
|
|
@@ -15232,13 +15232,13 @@ var __publicField = (obj, key, value) => {
|
|
|
15232
15232
|
if (!reduceMotion) {
|
|
15233
15233
|
gChildren.push({
|
|
15234
15234
|
tag: "path",
|
|
15235
|
-
attributes: _objectSpread2$
|
|
15235
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, FILL), {}, {
|
|
15236
15236
|
opacity: "0",
|
|
15237
15237
|
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"
|
|
15238
15238
|
}),
|
|
15239
15239
|
children: [{
|
|
15240
15240
|
tag: "animate",
|
|
15241
|
-
attributes: _objectSpread2$
|
|
15241
|
+
attributes: _objectSpread2$3(_objectSpread2$3({}, OPACITY_ANIMATE), {}, {
|
|
15242
15242
|
values: "0;0;1;1;0;0;"
|
|
15243
15243
|
})
|
|
15244
15244
|
}]
|
|
@@ -15281,7 +15281,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15281
15281
|
api.layer;
|
|
15282
15282
|
api.text;
|
|
15283
15283
|
api.counter;
|
|
15284
|
-
function ownKeys$
|
|
15284
|
+
function ownKeys$3(object2, enumerableOnly) {
|
|
15285
15285
|
var keys2 = Object.keys(object2);
|
|
15286
15286
|
if (Object.getOwnPropertySymbols) {
|
|
15287
15287
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -15291,26 +15291,26 @@ var __publicField = (obj, key, value) => {
|
|
|
15291
15291
|
}
|
|
15292
15292
|
return keys2;
|
|
15293
15293
|
}
|
|
15294
|
-
function _objectSpread2$
|
|
15294
|
+
function _objectSpread2$2(target) {
|
|
15295
15295
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
15296
15296
|
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
15297
|
-
i2 % 2 ? ownKeys$
|
|
15298
|
-
_defineProperty$
|
|
15299
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$
|
|
15297
|
+
i2 % 2 ? ownKeys$3(Object(source), true).forEach(function(key) {
|
|
15298
|
+
_defineProperty$6(target, key, source[key]);
|
|
15299
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function(key) {
|
|
15300
15300
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
15301
15301
|
});
|
|
15302
15302
|
}
|
|
15303
15303
|
return target;
|
|
15304
15304
|
}
|
|
15305
|
-
function _typeof$
|
|
15305
|
+
function _typeof$2(obj) {
|
|
15306
15306
|
"@babel/helpers - typeof";
|
|
15307
|
-
return _typeof$
|
|
15307
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
15308
15308
|
return typeof obj2;
|
|
15309
15309
|
} : function(obj2) {
|
|
15310
15310
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
15311
|
-
}, _typeof$
|
|
15311
|
+
}, _typeof$2(obj);
|
|
15312
15312
|
}
|
|
15313
|
-
function _defineProperty$
|
|
15313
|
+
function _defineProperty$6(obj, key, value) {
|
|
15314
15314
|
if (key in obj) {
|
|
15315
15315
|
Object.defineProperty(obj, key, {
|
|
15316
15316
|
value,
|
|
@@ -15323,7 +15323,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15323
15323
|
}
|
|
15324
15324
|
return obj;
|
|
15325
15325
|
}
|
|
15326
|
-
function _objectWithoutPropertiesLoose$
|
|
15326
|
+
function _objectWithoutPropertiesLoose$5(source, excluded) {
|
|
15327
15327
|
if (source == null)
|
|
15328
15328
|
return {};
|
|
15329
15329
|
var target = {};
|
|
@@ -15337,10 +15337,10 @@ var __publicField = (obj, key, value) => {
|
|
|
15337
15337
|
}
|
|
15338
15338
|
return target;
|
|
15339
15339
|
}
|
|
15340
|
-
function _objectWithoutProperties$
|
|
15340
|
+
function _objectWithoutProperties$2(source, excluded) {
|
|
15341
15341
|
if (source == null)
|
|
15342
15342
|
return {};
|
|
15343
|
-
var target = _objectWithoutPropertiesLoose$
|
|
15343
|
+
var target = _objectWithoutPropertiesLoose$5(source, excluded);
|
|
15344
15344
|
var key, i2;
|
|
15345
15345
|
if (Object.getOwnPropertySymbols) {
|
|
15346
15346
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -15355,41 +15355,41 @@ var __publicField = (obj, key, value) => {
|
|
|
15355
15355
|
}
|
|
15356
15356
|
return target;
|
|
15357
15357
|
}
|
|
15358
|
-
function _toConsumableArray$
|
|
15359
|
-
return _arrayWithoutHoles$
|
|
15358
|
+
function _toConsumableArray$3(arr) {
|
|
15359
|
+
return _arrayWithoutHoles$3(arr) || _iterableToArray$3(arr) || _unsupportedIterableToArray$3(arr) || _nonIterableSpread$3();
|
|
15360
15360
|
}
|
|
15361
|
-
function _arrayWithoutHoles$
|
|
15361
|
+
function _arrayWithoutHoles$3(arr) {
|
|
15362
15362
|
if (Array.isArray(arr))
|
|
15363
|
-
return _arrayLikeToArray$
|
|
15363
|
+
return _arrayLikeToArray$3(arr);
|
|
15364
15364
|
}
|
|
15365
|
-
function _iterableToArray$
|
|
15365
|
+
function _iterableToArray$3(iter) {
|
|
15366
15366
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
15367
15367
|
return Array.from(iter);
|
|
15368
15368
|
}
|
|
15369
|
-
function _unsupportedIterableToArray$
|
|
15369
|
+
function _unsupportedIterableToArray$3(o2, minLen) {
|
|
15370
15370
|
if (!o2)
|
|
15371
15371
|
return;
|
|
15372
15372
|
if (typeof o2 === "string")
|
|
15373
|
-
return _arrayLikeToArray$
|
|
15373
|
+
return _arrayLikeToArray$3(o2, minLen);
|
|
15374
15374
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
15375
15375
|
if (n2 === "Object" && o2.constructor)
|
|
15376
15376
|
n2 = o2.constructor.name;
|
|
15377
15377
|
if (n2 === "Map" || n2 === "Set")
|
|
15378
15378
|
return Array.from(o2);
|
|
15379
15379
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
15380
|
-
return _arrayLikeToArray$
|
|
15380
|
+
return _arrayLikeToArray$3(o2, minLen);
|
|
15381
15381
|
}
|
|
15382
|
-
function _arrayLikeToArray$
|
|
15382
|
+
function _arrayLikeToArray$3(arr, len) {
|
|
15383
15383
|
if (len == null || len > arr.length)
|
|
15384
15384
|
len = arr.length;
|
|
15385
15385
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
15386
15386
|
arr2[i2] = arr[i2];
|
|
15387
15387
|
return arr2;
|
|
15388
15388
|
}
|
|
15389
|
-
function _nonIterableSpread$
|
|
15389
|
+
function _nonIterableSpread$3() {
|
|
15390
15390
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15391
15391
|
}
|
|
15392
|
-
function classList(props) {
|
|
15392
|
+
function classList$1(props) {
|
|
15393
15393
|
var _classes;
|
|
15394
15394
|
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, listItem = props.listItem, flip2 = props.flip, size2 = props.size, rotation = props.rotation, pull = props.pull;
|
|
15395
15395
|
var classes = (_classes = {
|
|
@@ -15410,19 +15410,19 @@ var __publicField = (obj, key, value) => {
|
|
|
15410
15410
|
"fa-flip": flip2 === true,
|
|
15411
15411
|
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
15412
15412
|
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
15413
|
-
}, _defineProperty$
|
|
15413
|
+
}, _defineProperty$6(_classes, "fa-".concat(size2), typeof size2 !== "undefined" && size2 !== null), _defineProperty$6(_classes, "fa-rotate-".concat(rotation), typeof rotation !== "undefined" && rotation !== null && rotation !== 0), _defineProperty$6(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$6(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
15414
15414
|
return Object.keys(classes).map(function(key) {
|
|
15415
15415
|
return classes[key] ? key : null;
|
|
15416
15416
|
}).filter(function(key) {
|
|
15417
15417
|
return key;
|
|
15418
15418
|
});
|
|
15419
15419
|
}
|
|
15420
|
-
function _isNumerical(obj) {
|
|
15420
|
+
function _isNumerical$1(obj) {
|
|
15421
15421
|
obj = obj - 0;
|
|
15422
15422
|
return obj === obj;
|
|
15423
15423
|
}
|
|
15424
|
-
function camelize(string2) {
|
|
15425
|
-
if (_isNumerical(string2)) {
|
|
15424
|
+
function camelize$1(string2) {
|
|
15425
|
+
if (_isNumerical$1(string2)) {
|
|
15426
15426
|
return string2;
|
|
15427
15427
|
}
|
|
15428
15428
|
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
@@ -15430,30 +15430,30 @@ var __publicField = (obj, key, value) => {
|
|
|
15430
15430
|
});
|
|
15431
15431
|
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
15432
15432
|
}
|
|
15433
|
-
var _excluded = ["style"];
|
|
15434
|
-
function capitalize(val) {
|
|
15433
|
+
var _excluded$4 = ["style"];
|
|
15434
|
+
function capitalize$1(val) {
|
|
15435
15435
|
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
15436
15436
|
}
|
|
15437
|
-
function styleToObject(style) {
|
|
15437
|
+
function styleToObject$1(style) {
|
|
15438
15438
|
return style.split(";").map(function(s) {
|
|
15439
15439
|
return s.trim();
|
|
15440
15440
|
}).filter(function(s) {
|
|
15441
15441
|
return s;
|
|
15442
15442
|
}).reduce(function(acc, pair) {
|
|
15443
15443
|
var i2 = pair.indexOf(":");
|
|
15444
|
-
var prop = camelize(pair.slice(0, i2));
|
|
15444
|
+
var prop = camelize$1(pair.slice(0, i2));
|
|
15445
15445
|
var value = pair.slice(i2 + 1).trim();
|
|
15446
|
-
prop.startsWith("webkit") ? acc[capitalize(prop)] = value : acc[prop] = value;
|
|
15446
|
+
prop.startsWith("webkit") ? acc[capitalize$1(prop)] = value : acc[prop] = value;
|
|
15447
15447
|
return acc;
|
|
15448
15448
|
}, {});
|
|
15449
15449
|
}
|
|
15450
|
-
function convert(createElement2, element) {
|
|
15450
|
+
function convert$1(createElement2, element) {
|
|
15451
15451
|
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
15452
15452
|
if (typeof element === "string") {
|
|
15453
15453
|
return element;
|
|
15454
15454
|
}
|
|
15455
15455
|
var children = (element.children || []).map(function(child) {
|
|
15456
|
-
return convert(createElement2, child);
|
|
15456
|
+
return convert$1(createElement2, child);
|
|
15457
15457
|
});
|
|
15458
15458
|
var mixins = Object.keys(element.attributes || {}).reduce(function(acc, key) {
|
|
15459
15459
|
var val = element.attributes[key];
|
|
@@ -15463,36 +15463,36 @@ var __publicField = (obj, key, value) => {
|
|
|
15463
15463
|
delete element.attributes["class"];
|
|
15464
15464
|
break;
|
|
15465
15465
|
case "style":
|
|
15466
|
-
acc.attrs["style"] = styleToObject(val);
|
|
15466
|
+
acc.attrs["style"] = styleToObject$1(val);
|
|
15467
15467
|
break;
|
|
15468
15468
|
default:
|
|
15469
15469
|
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
15470
15470
|
acc.attrs[key.toLowerCase()] = val;
|
|
15471
15471
|
} else {
|
|
15472
|
-
acc.attrs[camelize(key)] = val;
|
|
15472
|
+
acc.attrs[camelize$1(key)] = val;
|
|
15473
15473
|
}
|
|
15474
15474
|
}
|
|
15475
15475
|
return acc;
|
|
15476
15476
|
}, {
|
|
15477
15477
|
attrs: {}
|
|
15478
15478
|
});
|
|
15479
|
-
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$
|
|
15480
|
-
mixins.attrs["style"] = _objectSpread2$
|
|
15481
|
-
return createElement2.apply(void 0, [element.tag, _objectSpread2$
|
|
15479
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties$2(extraProps, _excluded$4);
|
|
15480
|
+
mixins.attrs["style"] = _objectSpread2$2(_objectSpread2$2({}, mixins.attrs["style"]), existingStyle);
|
|
15481
|
+
return createElement2.apply(void 0, [element.tag, _objectSpread2$2(_objectSpread2$2({}, mixins.attrs), remaining)].concat(_toConsumableArray$3(children)));
|
|
15482
15482
|
}
|
|
15483
|
-
var PRODUCTION = false;
|
|
15483
|
+
var PRODUCTION$1 = false;
|
|
15484
15484
|
try {
|
|
15485
|
-
PRODUCTION = true;
|
|
15485
|
+
PRODUCTION$1 = true;
|
|
15486
15486
|
} catch (e3) {
|
|
15487
15487
|
}
|
|
15488
|
-
function log() {
|
|
15489
|
-
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
15488
|
+
function log$1() {
|
|
15489
|
+
if (!PRODUCTION$1 && console && typeof console.error === "function") {
|
|
15490
15490
|
var _console;
|
|
15491
15491
|
(_console = console).error.apply(_console, arguments);
|
|
15492
15492
|
}
|
|
15493
15493
|
}
|
|
15494
|
-
function normalizeIconArgs(icon2) {
|
|
15495
|
-
if (icon2 && _typeof$
|
|
15494
|
+
function normalizeIconArgs$1(icon2) {
|
|
15495
|
+
if (icon2 && _typeof$2(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
15496
15496
|
return icon2;
|
|
15497
15497
|
}
|
|
15498
15498
|
if (parse$1$1.icon) {
|
|
@@ -15501,7 +15501,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15501
15501
|
if (icon2 === null) {
|
|
15502
15502
|
return null;
|
|
15503
15503
|
}
|
|
15504
|
-
if (icon2 && _typeof$
|
|
15504
|
+
if (icon2 && _typeof$2(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
15505
15505
|
return icon2;
|
|
15506
15506
|
}
|
|
15507
15507
|
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
@@ -15517,23 +15517,23 @@ var __publicField = (obj, key, value) => {
|
|
|
15517
15517
|
};
|
|
15518
15518
|
}
|
|
15519
15519
|
}
|
|
15520
|
-
function objectWithKey(key, value) {
|
|
15521
|
-
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$
|
|
15520
|
+
function objectWithKey$1(key, value) {
|
|
15521
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$6({}, key, value) : {};
|
|
15522
15522
|
}
|
|
15523
|
-
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
15523
|
+
var FontAwesomeIcon$1 = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
15524
15524
|
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
15525
|
-
var iconLookup = normalizeIconArgs(iconArgs);
|
|
15526
|
-
var classes = objectWithKey("classes", [].concat(_toConsumableArray$
|
|
15527
|
-
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
15528
|
-
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
15529
|
-
var renderedIcon = icon(iconLookup, _objectSpread2$
|
|
15525
|
+
var iconLookup = normalizeIconArgs$1(iconArgs);
|
|
15526
|
+
var classes = objectWithKey$1("classes", [].concat(_toConsumableArray$3(classList$1(props)), _toConsumableArray$3(className.split(" "))));
|
|
15527
|
+
var transform = objectWithKey$1("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
15528
|
+
var mask = objectWithKey$1("mask", normalizeIconArgs$1(maskArgs));
|
|
15529
|
+
var renderedIcon = icon(iconLookup, _objectSpread2$2(_objectSpread2$2(_objectSpread2$2(_objectSpread2$2({}, classes), transform), mask), {}, {
|
|
15530
15530
|
symbol,
|
|
15531
15531
|
title,
|
|
15532
15532
|
titleId,
|
|
15533
15533
|
maskId
|
|
15534
15534
|
}));
|
|
15535
15535
|
if (!renderedIcon) {
|
|
15536
|
-
log("Could not find icon", iconLookup);
|
|
15536
|
+
log$1("Could not find icon", iconLookup);
|
|
15537
15537
|
return null;
|
|
15538
15538
|
}
|
|
15539
15539
|
var abstract = renderedIcon.abstract;
|
|
@@ -15541,14 +15541,14 @@ var __publicField = (obj, key, value) => {
|
|
|
15541
15541
|
ref
|
|
15542
15542
|
};
|
|
15543
15543
|
Object.keys(props).forEach(function(key) {
|
|
15544
|
-
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
15544
|
+
if (!FontAwesomeIcon$1.defaultProps.hasOwnProperty(key)) {
|
|
15545
15545
|
extraProps[key] = props[key];
|
|
15546
15546
|
}
|
|
15547
15547
|
});
|
|
15548
|
-
return convertCurry(abstract[0], extraProps);
|
|
15548
|
+
return convertCurry$1(abstract[0], extraProps);
|
|
15549
15549
|
});
|
|
15550
|
-
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
15551
|
-
FontAwesomeIcon.propTypes = {
|
|
15550
|
+
FontAwesomeIcon$1.displayName = "FontAwesomeIcon";
|
|
15551
|
+
FontAwesomeIcon$1.propTypes = {
|
|
15552
15552
|
beat: propTypes.exports.bool,
|
|
15553
15553
|
border: propTypes.exports.bool,
|
|
15554
15554
|
beatFade: propTypes.exports.bool,
|
|
@@ -15577,7 +15577,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15577
15577
|
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
15578
15578
|
swapOpacity: propTypes.exports.bool
|
|
15579
15579
|
};
|
|
15580
|
-
FontAwesomeIcon.defaultProps = {
|
|
15580
|
+
FontAwesomeIcon$1.defaultProps = {
|
|
15581
15581
|
border: false,
|
|
15582
15582
|
className: "",
|
|
15583
15583
|
mask: null,
|
|
@@ -15605,7 +15605,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15605
15605
|
transform: null,
|
|
15606
15606
|
swapOpacity: false
|
|
15607
15607
|
};
|
|
15608
|
-
var convertCurry = convert.bind(null, React__default.default.createElement);
|
|
15608
|
+
var convertCurry$1 = convert$1.bind(null, React__default.default.createElement);
|
|
15609
15609
|
var Icon$3 = function(e3) {
|
|
15610
15610
|
var t2 = {};
|
|
15611
15611
|
function r2(n2) {
|
|
@@ -15727,7 +15727,7 @@ var __publicField = (obj, key, value) => {
|
|
|
15727
15727
|
t2.default = d2;
|
|
15728
15728
|
}]);
|
|
15729
15729
|
const shouldForwardProp$6 = (prop) => !["asButton"].includes(prop);
|
|
15730
|
-
const StyledFAIcon = styled__default.default(FontAwesomeIcon).withConfig({ shouldForwardProp: shouldForwardProp$6 })`
|
|
15730
|
+
const StyledFAIcon = styled__default.default(FontAwesomeIcon$1).withConfig({ shouldForwardProp: shouldForwardProp$6 })`
|
|
15731
15731
|
cursor: ${(props) => props.asButton ? "pointer" : "inherit"};
|
|
15732
15732
|
color: inherit;
|
|
15733
15733
|
${(props) => props.asButton ? `:hover { color: ${props.theme.colors.grey6}; }` : ""}
|
|
@@ -18739,7 +18739,7 @@ var __publicField = (obj, key, value) => {
|
|
|
18739
18739
|
setPreviousFilter(filterValue);
|
|
18740
18740
|
}, children: "Apply" })] });
|
|
18741
18741
|
}
|
|
18742
|
-
function _objectWithoutPropertiesLoose$
|
|
18742
|
+
function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
18743
18743
|
if (source == null)
|
|
18744
18744
|
return {};
|
|
18745
18745
|
var target = {};
|
|
@@ -19496,7 +19496,7 @@ var __publicField = (obj, key, value) => {
|
|
|
19496
19496
|
return noop$3;
|
|
19497
19497
|
};
|
|
19498
19498
|
function useA11yMessageSetter(getA11yMessage, dependencyArray, _ref2) {
|
|
19499
|
-
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$
|
|
19499
|
+
var isInitialMount = _ref2.isInitialMount, highlightedIndex = _ref2.highlightedIndex, items = _ref2.items, environment = _ref2.environment, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$3);
|
|
19500
19500
|
React$2.useEffect(function() {
|
|
19501
19501
|
if (isInitialMount || false) {
|
|
19502
19502
|
return;
|
|
@@ -20036,7 +20036,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20036
20036
|
var _ref2 = _temp === void 0 ? {} : _temp, onMouseLeave = _ref2.onMouseLeave, _ref$refKey = _ref2.refKey, refKey = _ref$refKey === void 0 ? "ref" : _ref$refKey;
|
|
20037
20037
|
_ref2.onKeyDown;
|
|
20038
20038
|
_ref2.onBlur;
|
|
20039
|
-
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$
|
|
20039
|
+
var ref = _ref2.ref, rest = _objectWithoutPropertiesLoose$4(_ref2, _excluded$2);
|
|
20040
20040
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20041
20041
|
_ref22.suppressRefError;
|
|
20042
20042
|
var menuHandleMouseLeave = function menuHandleMouseLeave2() {
|
|
@@ -20052,7 +20052,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20052
20052
|
var _extends3;
|
|
20053
20053
|
var _ref3 = _temp3 === void 0 ? {} : _temp3, onBlur = _ref3.onBlur, onClick = _ref3.onClick;
|
|
20054
20054
|
_ref3.onPress;
|
|
20055
|
-
var onKeyDown = _ref3.onKeyDown, _ref3$refKey = _ref3.refKey, refKey = _ref3$refKey === void 0 ? "ref" : _ref3$refKey, ref = _ref3.ref, rest = _objectWithoutPropertiesLoose$
|
|
20055
|
+
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);
|
|
20056
20056
|
var _ref4 = _temp4 === void 0 ? {} : _temp4;
|
|
20057
20057
|
_ref4.suppressRefError;
|
|
20058
20058
|
var latestState = latest.current.state;
|
|
@@ -20095,7 +20095,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20095
20095
|
var _extends4;
|
|
20096
20096
|
var _ref5 = _temp5 === void 0 ? {} : _temp5, itemProp = _ref5.item, indexProp = _ref5.index, onMouseMove = _ref5.onMouseMove, onClick = _ref5.onClick;
|
|
20097
20097
|
_ref5.onPress;
|
|
20098
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, disabled2 = _ref5.disabled, rest = _objectWithoutPropertiesLoose$
|
|
20098
|
+
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);
|
|
20099
20099
|
var _latest$current = latest.current, latestState = _latest$current.state, latestProps = _latest$current.props;
|
|
20100
20100
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), item = _getItemAndIndex[0], index2 = _getItemAndIndex[1];
|
|
20101
20101
|
var itemHandleMouseMove = function itemHandleMouseMove2() {
|
|
@@ -20557,7 +20557,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20557
20557
|
}, [elementIds]);
|
|
20558
20558
|
var getMenuProps = React$2.useCallback(function(_temp, _temp2) {
|
|
20559
20559
|
var _extends2;
|
|
20560
|
-
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$
|
|
20560
|
+
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);
|
|
20561
20561
|
var _ref22 = _temp2 === void 0 ? {} : _temp2;
|
|
20562
20562
|
_ref22.suppressRefError;
|
|
20563
20563
|
return _extends$1((_extends2 = {}, _extends2[refKey] = handleRefs(ref, function(menuNode) {
|
|
@@ -20572,7 +20572,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20572
20572
|
var _extends3, _ref4;
|
|
20573
20573
|
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;
|
|
20574
20574
|
_ref3.onPress;
|
|
20575
|
-
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$
|
|
20575
|
+
var disabled2 = _ref3.disabled, rest = _objectWithoutPropertiesLoose$4(_ref3, _excluded2$1);
|
|
20576
20576
|
var _latest$current = latest.current, latestProps = _latest$current.props, latestState = _latest$current.state;
|
|
20577
20577
|
var _getItemAndIndex = getItemAndIndex(itemProp, indexProp, latestProps.items, "Pass either item or index to getItemProps!"), index2 = _getItemAndIndex[1];
|
|
20578
20578
|
var onSelectKey = "onClick";
|
|
@@ -20610,7 +20610,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20610
20610
|
var _extends4;
|
|
20611
20611
|
var _ref5 = _temp4 === void 0 ? {} : _temp4, onClick = _ref5.onClick;
|
|
20612
20612
|
_ref5.onPress;
|
|
20613
|
-
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$
|
|
20613
|
+
var _ref5$refKey = _ref5.refKey, refKey = _ref5$refKey === void 0 ? "ref" : _ref5$refKey, ref = _ref5.ref, rest = _objectWithoutPropertiesLoose$4(_ref5, _excluded3);
|
|
20614
20614
|
var latestState = latest.current.state;
|
|
20615
20615
|
var toggleButtonHandleClick = function toggleButtonHandleClick2() {
|
|
20616
20616
|
dispatch2({
|
|
@@ -20627,7 +20627,7 @@ var __publicField = (obj, key, value) => {
|
|
|
20627
20627
|
var _extends5;
|
|
20628
20628
|
var _ref6 = _temp5 === void 0 ? {} : _temp5, onKeyDown = _ref6.onKeyDown, onChange2 = _ref6.onChange, onInput = _ref6.onInput, onFocus = _ref6.onFocus, onBlur = _ref6.onBlur;
|
|
20629
20629
|
_ref6.onChangeText;
|
|
20630
|
-
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$
|
|
20630
|
+
var _ref6$refKey = _ref6.refKey, refKey = _ref6$refKey === void 0 ? "ref" : _ref6$refKey, ref = _ref6.ref, rest = _objectWithoutPropertiesLoose$4(_ref6, _excluded4);
|
|
20631
20631
|
var _ref7 = _temp6 === void 0 ? {} : _temp6;
|
|
20632
20632
|
_ref7.suppressRefError;
|
|
20633
20633
|
var latestState = latest.current.state;
|
|
@@ -24462,7 +24462,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24462
24462
|
tippy$1.setDefaultProps({
|
|
24463
24463
|
animation: false
|
|
24464
24464
|
});
|
|
24465
|
-
function _objectWithoutPropertiesLoose$
|
|
24465
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
24466
24466
|
if (source == null)
|
|
24467
24467
|
return {};
|
|
24468
24468
|
var target = {};
|
|
@@ -24559,7 +24559,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24559
24559
|
var children = _ref2.children, content = _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;
|
|
24560
24560
|
_ref2.__source;
|
|
24561
24561
|
_ref2.__self;
|
|
24562
|
-
var restOfNativeProps = _objectWithoutPropertiesLoose$
|
|
24562
|
+
var restOfNativeProps = _objectWithoutPropertiesLoose$3(_ref2, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]);
|
|
24563
24563
|
var isControlledMode = visible !== void 0;
|
|
24564
24564
|
var isSingletonMode = singleton !== void 0;
|
|
24565
24565
|
var _useState = React$2.useState(false), mounted = _useState[0], setMounted = _useState[1];
|
|
@@ -24704,7 +24704,7 @@ var __publicField = (obj, key, value) => {
|
|
|
24704
24704
|
}
|
|
24705
24705
|
var forwardRef = function(Tippy2, defaultProps2) {
|
|
24706
24706
|
return /* @__PURE__ */ React$2.forwardRef(function TippyWrapper(_ref2, _ref22) {
|
|
24707
|
-
var children = _ref2.children, props = _objectWithoutPropertiesLoose$
|
|
24707
|
+
var children = _ref2.children, props = _objectWithoutPropertiesLoose$3(_ref2, ["children"]);
|
|
24708
24708
|
return /* @__PURE__ */ React__default.default.createElement(Tippy2, Object.assign({}, defaultProps2, props), children ? /* @__PURE__ */ React$2.cloneElement(children, {
|
|
24709
24709
|
ref: function ref(node) {
|
|
24710
24710
|
preserveRef(_ref22, node);
|
|
@@ -34797,13 +34797,13 @@ var __publicField = (obj, key, value) => {
|
|
|
34797
34797
|
})();
|
|
34798
34798
|
})(classnames);
|
|
34799
34799
|
const r = classnames.exports;
|
|
34800
|
-
function _typeof(o2) {
|
|
34800
|
+
function _typeof$1(o2) {
|
|
34801
34801
|
"@babel/helpers - typeof";
|
|
34802
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
34802
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
|
|
34803
34803
|
return typeof o3;
|
|
34804
34804
|
} : function(o3) {
|
|
34805
34805
|
return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
|
|
34806
|
-
}, _typeof(o2);
|
|
34806
|
+
}, _typeof$1(o2);
|
|
34807
34807
|
}
|
|
34808
34808
|
function requiredArgs(required, args) {
|
|
34809
34809
|
if (args.length < required) {
|
|
@@ -34812,12 +34812,12 @@ var __publicField = (obj, key, value) => {
|
|
|
34812
34812
|
}
|
|
34813
34813
|
function isDate$1(value) {
|
|
34814
34814
|
requiredArgs(1, arguments);
|
|
34815
|
-
return value instanceof Date || _typeof(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
34815
|
+
return value instanceof Date || _typeof$1(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
|
|
34816
34816
|
}
|
|
34817
34817
|
function toDate(argument) {
|
|
34818
34818
|
requiredArgs(1, arguments);
|
|
34819
34819
|
var argStr = Object.prototype.toString.call(argument);
|
|
34820
|
-
if (argument instanceof Date || _typeof(argument) === "object" && argStr === "[object Date]") {
|
|
34820
|
+
if (argument instanceof Date || _typeof$1(argument) === "object" && argStr === "[object Date]") {
|
|
34821
34821
|
return new Date(argument.getTime());
|
|
34822
34822
|
} else if (typeof argument === "number" || argStr === "[object Number]") {
|
|
34823
34823
|
return new Date(argument);
|
|
@@ -36517,7 +36517,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36517
36517
|
var datesArray;
|
|
36518
36518
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
36519
36519
|
datesArray = dirtyDatesArray;
|
|
36520
|
-
} else if (_typeof(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36520
|
+
} else if (_typeof$1(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36521
36521
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
36522
36522
|
} else {
|
|
36523
36523
|
return new Date(NaN);
|
|
@@ -36536,7 +36536,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36536
36536
|
var datesArray;
|
|
36537
36537
|
if (dirtyDatesArray && typeof dirtyDatesArray.forEach === "function") {
|
|
36538
36538
|
datesArray = dirtyDatesArray;
|
|
36539
|
-
} else if (_typeof(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36539
|
+
} else if (_typeof$1(dirtyDatesArray) === "object" && dirtyDatesArray !== null) {
|
|
36540
36540
|
datesArray = Array.prototype.slice.call(dirtyDatesArray);
|
|
36541
36541
|
} else {
|
|
36542
36542
|
return new Date(NaN);
|
|
@@ -36661,30 +36661,30 @@ var __publicField = (obj, key, value) => {
|
|
|
36661
36661
|
}
|
|
36662
36662
|
return time >= startTime && time <= endTime;
|
|
36663
36663
|
}
|
|
36664
|
-
function _arrayLikeToArray$
|
|
36664
|
+
function _arrayLikeToArray$2(arr, len) {
|
|
36665
36665
|
if (len == null || len > arr.length)
|
|
36666
36666
|
len = arr.length;
|
|
36667
36667
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
36668
36668
|
arr2[i2] = arr[i2];
|
|
36669
36669
|
return arr2;
|
|
36670
36670
|
}
|
|
36671
|
-
function _unsupportedIterableToArray$
|
|
36671
|
+
function _unsupportedIterableToArray$2(o2, minLen) {
|
|
36672
36672
|
if (!o2)
|
|
36673
36673
|
return;
|
|
36674
36674
|
if (typeof o2 === "string")
|
|
36675
|
-
return _arrayLikeToArray$
|
|
36675
|
+
return _arrayLikeToArray$2(o2, minLen);
|
|
36676
36676
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
36677
36677
|
if (n2 === "Object" && o2.constructor)
|
|
36678
36678
|
n2 = o2.constructor.name;
|
|
36679
36679
|
if (n2 === "Map" || n2 === "Set")
|
|
36680
36680
|
return Array.from(o2);
|
|
36681
36681
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
36682
|
-
return _arrayLikeToArray$
|
|
36682
|
+
return _arrayLikeToArray$2(o2, minLen);
|
|
36683
36683
|
}
|
|
36684
36684
|
function _createForOfIteratorHelper(o2, allowArrayLike) {
|
|
36685
36685
|
var it2 = typeof Symbol !== "undefined" && o2[Symbol.iterator] || o2["@@iterator"];
|
|
36686
36686
|
if (!it2) {
|
|
36687
|
-
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$
|
|
36687
|
+
if (Array.isArray(o2) || (it2 = _unsupportedIterableToArray$2(o2)) || allowArrayLike && o2 && typeof o2.length === "number") {
|
|
36688
36688
|
if (it2)
|
|
36689
36689
|
o2 = it2;
|
|
36690
36690
|
var i2 = 0;
|
|
@@ -36764,7 +36764,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36764
36764
|
_setPrototypeOf$2(subClass, superClass);
|
|
36765
36765
|
}
|
|
36766
36766
|
function _possibleConstructorReturn$1(self2, call) {
|
|
36767
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
36767
|
+
if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
|
|
36768
36768
|
return call;
|
|
36769
36769
|
} else if (call !== void 0) {
|
|
36770
36770
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -36790,12 +36790,12 @@ var __publicField = (obj, key, value) => {
|
|
|
36790
36790
|
}
|
|
36791
36791
|
}
|
|
36792
36792
|
function _toPrimitive(input, hint) {
|
|
36793
|
-
if (_typeof(input) !== "object" || input === null)
|
|
36793
|
+
if (_typeof$1(input) !== "object" || input === null)
|
|
36794
36794
|
return input;
|
|
36795
36795
|
var prim = input[Symbol.toPrimitive];
|
|
36796
36796
|
if (prim !== void 0) {
|
|
36797
36797
|
var res = prim.call(input, hint || "default");
|
|
36798
|
-
if (_typeof(res) !== "object")
|
|
36798
|
+
if (_typeof$1(res) !== "object")
|
|
36799
36799
|
return res;
|
|
36800
36800
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
36801
36801
|
}
|
|
@@ -36803,7 +36803,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36803
36803
|
}
|
|
36804
36804
|
function _toPropertyKey(arg) {
|
|
36805
36805
|
var key = _toPrimitive(arg, "string");
|
|
36806
|
-
return _typeof(key) === "symbol" ? key : String(key);
|
|
36806
|
+
return _typeof$1(key) === "symbol" ? key : String(key);
|
|
36807
36807
|
}
|
|
36808
36808
|
function _defineProperties$1(target, props) {
|
|
36809
36809
|
for (var i2 = 0; i2 < props.length; i2++) {
|
|
@@ -36825,7 +36825,7 @@ var __publicField = (obj, key, value) => {
|
|
|
36825
36825
|
});
|
|
36826
36826
|
return Constructor;
|
|
36827
36827
|
}
|
|
36828
|
-
function _defineProperty$
|
|
36828
|
+
function _defineProperty$5(obj, key, value) {
|
|
36829
36829
|
key = _toPropertyKey(key);
|
|
36830
36830
|
if (key in obj) {
|
|
36831
36831
|
Object.defineProperty(obj, key, {
|
|
@@ -36843,8 +36843,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36843
36843
|
var Setter = /* @__PURE__ */ function() {
|
|
36844
36844
|
function Setter2() {
|
|
36845
36845
|
_classCallCheck$1(this, Setter2);
|
|
36846
|
-
_defineProperty$
|
|
36847
|
-
_defineProperty$
|
|
36846
|
+
_defineProperty$5(this, "priority", void 0);
|
|
36847
|
+
_defineProperty$5(this, "subPriority", 0);
|
|
36848
36848
|
}
|
|
36849
36849
|
_createClass$1(Setter2, [{
|
|
36850
36850
|
key: "validate",
|
|
@@ -36893,8 +36893,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36893
36893
|
args[_key] = arguments[_key];
|
|
36894
36894
|
}
|
|
36895
36895
|
_this2 = _super2.call.apply(_super2, [this].concat(args));
|
|
36896
|
-
_defineProperty$
|
|
36897
|
-
_defineProperty$
|
|
36896
|
+
_defineProperty$5(_assertThisInitialized$3(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
|
|
36897
|
+
_defineProperty$5(_assertThisInitialized$3(_this2), "subPriority", -1);
|
|
36898
36898
|
return _this2;
|
|
36899
36899
|
}
|
|
36900
36900
|
_createClass$1(DateToSystemTimezoneSetter2, [{
|
|
@@ -36914,9 +36914,9 @@ var __publicField = (obj, key, value) => {
|
|
|
36914
36914
|
var Parser = /* @__PURE__ */ function() {
|
|
36915
36915
|
function Parser2() {
|
|
36916
36916
|
_classCallCheck$1(this, Parser2);
|
|
36917
|
-
_defineProperty$
|
|
36918
|
-
_defineProperty$
|
|
36919
|
-
_defineProperty$
|
|
36917
|
+
_defineProperty$5(this, "incompatibleTokens", void 0);
|
|
36918
|
+
_defineProperty$5(this, "priority", void 0);
|
|
36919
|
+
_defineProperty$5(this, "subPriority", void 0);
|
|
36920
36920
|
}
|
|
36921
36921
|
_createClass$1(Parser2, [{
|
|
36922
36922
|
key: "run",
|
|
@@ -36948,8 +36948,8 @@ var __publicField = (obj, key, value) => {
|
|
|
36948
36948
|
args[_key] = arguments[_key];
|
|
36949
36949
|
}
|
|
36950
36950
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
36951
|
-
_defineProperty$
|
|
36952
|
-
_defineProperty$
|
|
36951
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 140);
|
|
36952
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
36953
36953
|
return _this;
|
|
36954
36954
|
}
|
|
36955
36955
|
_createClass$1(EraParser2, [{
|
|
@@ -37135,8 +37135,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37135
37135
|
args[_key] = arguments[_key];
|
|
37136
37136
|
}
|
|
37137
37137
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37138
|
-
_defineProperty$
|
|
37139
|
-
_defineProperty$
|
|
37138
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37139
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
37140
37140
|
return _this;
|
|
37141
37141
|
}
|
|
37142
37142
|
_createClass$1(YearParser2, [{
|
|
@@ -37192,8 +37192,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37192
37192
|
args[_key] = arguments[_key];
|
|
37193
37193
|
}
|
|
37194
37194
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37195
|
-
_defineProperty$
|
|
37196
|
-
_defineProperty$
|
|
37195
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37196
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
37197
37197
|
return _this;
|
|
37198
37198
|
}
|
|
37199
37199
|
_createClass$1(LocalWeekYearParser2, [{
|
|
@@ -37249,8 +37249,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37249
37249
|
args[_key] = arguments[_key];
|
|
37250
37250
|
}
|
|
37251
37251
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37252
|
-
_defineProperty$
|
|
37253
|
-
_defineProperty$
|
|
37252
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37253
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
37254
37254
|
return _this;
|
|
37255
37255
|
}
|
|
37256
37256
|
_createClass$1(ISOWeekYearParser2, [{
|
|
@@ -37282,8 +37282,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37282
37282
|
args[_key] = arguments[_key];
|
|
37283
37283
|
}
|
|
37284
37284
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37285
|
-
_defineProperty$
|
|
37286
|
-
_defineProperty$
|
|
37285
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 130);
|
|
37286
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
37287
37287
|
return _this;
|
|
37288
37288
|
}
|
|
37289
37289
|
_createClass$1(ExtendedYearParser2, [{
|
|
@@ -37314,8 +37314,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37314
37314
|
args[_key] = arguments[_key];
|
|
37315
37315
|
}
|
|
37316
37316
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37317
|
-
_defineProperty$
|
|
37318
|
-
_defineProperty$
|
|
37317
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 120);
|
|
37318
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
37319
37319
|
return _this;
|
|
37320
37320
|
}
|
|
37321
37321
|
_createClass$1(QuarterParser2, [{
|
|
@@ -37381,8 +37381,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37381
37381
|
args[_key] = arguments[_key];
|
|
37382
37382
|
}
|
|
37383
37383
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37384
|
-
_defineProperty$
|
|
37385
|
-
_defineProperty$
|
|
37384
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 120);
|
|
37385
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
|
|
37386
37386
|
return _this;
|
|
37387
37387
|
}
|
|
37388
37388
|
_createClass$1(StandAloneQuarterParser2, [{
|
|
@@ -37448,8 +37448,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37448
37448
|
args[_key] = arguments[_key];
|
|
37449
37449
|
}
|
|
37450
37450
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37451
|
-
_defineProperty$
|
|
37452
|
-
_defineProperty$
|
|
37451
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37452
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 110);
|
|
37453
37453
|
return _this;
|
|
37454
37454
|
}
|
|
37455
37455
|
_createClass$1(MonthParser2, [{
|
|
@@ -37519,8 +37519,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37519
37519
|
args[_key] = arguments[_key];
|
|
37520
37520
|
}
|
|
37521
37521
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37522
|
-
_defineProperty$
|
|
37523
|
-
_defineProperty$
|
|
37522
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 110);
|
|
37523
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37524
37524
|
return _this;
|
|
37525
37525
|
}
|
|
37526
37526
|
_createClass$1(StandAloneMonthParser2, [{
|
|
@@ -37598,8 +37598,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37598
37598
|
args[_key] = arguments[_key];
|
|
37599
37599
|
}
|
|
37600
37600
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37601
|
-
_defineProperty$
|
|
37602
|
-
_defineProperty$
|
|
37601
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 100);
|
|
37602
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
|
|
37603
37603
|
return _this;
|
|
37604
37604
|
}
|
|
37605
37605
|
_createClass$1(LocalWeekParser2, [{
|
|
@@ -37647,8 +37647,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37647
37647
|
args[_key] = arguments[_key];
|
|
37648
37648
|
}
|
|
37649
37649
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37650
|
-
_defineProperty$
|
|
37651
|
-
_defineProperty$
|
|
37650
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 100);
|
|
37651
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
|
|
37652
37652
|
return _this;
|
|
37653
37653
|
}
|
|
37654
37654
|
_createClass$1(ISOWeekParser2, [{
|
|
@@ -37690,9 +37690,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37690
37690
|
args[_key] = arguments[_key];
|
|
37691
37691
|
}
|
|
37692
37692
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37693
|
-
_defineProperty$
|
|
37694
|
-
_defineProperty$
|
|
37695
|
-
_defineProperty$
|
|
37693
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37694
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "subPriority", 1);
|
|
37695
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
|
|
37696
37696
|
return _this;
|
|
37697
37697
|
}
|
|
37698
37698
|
_createClass$1(DateParser2, [{
|
|
@@ -37741,9 +37741,9 @@ var __publicField = (obj, key, value) => {
|
|
|
37741
37741
|
args[_key] = arguments[_key];
|
|
37742
37742
|
}
|
|
37743
37743
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37744
|
-
_defineProperty$
|
|
37745
|
-
_defineProperty$
|
|
37746
|
-
_defineProperty$
|
|
37744
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37745
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "subpriority", 1);
|
|
37746
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
|
|
37747
37747
|
return _this;
|
|
37748
37748
|
}
|
|
37749
37749
|
_createClass$1(DayOfYearParser2, [{
|
|
@@ -37809,8 +37809,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37809
37809
|
args[_key] = arguments[_key];
|
|
37810
37810
|
}
|
|
37811
37811
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37812
|
-
_defineProperty$
|
|
37813
|
-
_defineProperty$
|
|
37812
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37813
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
37814
37814
|
return _this;
|
|
37815
37815
|
}
|
|
37816
37816
|
_createClass$1(DayParser2, [{
|
|
@@ -37885,8 +37885,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37885
37885
|
args[_key] = arguments[_key];
|
|
37886
37886
|
}
|
|
37887
37887
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37888
|
-
_defineProperty$
|
|
37889
|
-
_defineProperty$
|
|
37888
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37889
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
|
|
37890
37890
|
return _this;
|
|
37891
37891
|
}
|
|
37892
37892
|
_createClass$1(LocalDayParser2, [{
|
|
@@ -37970,8 +37970,8 @@ var __publicField = (obj, key, value) => {
|
|
|
37970
37970
|
args[_key] = arguments[_key];
|
|
37971
37971
|
}
|
|
37972
37972
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
37973
|
-
_defineProperty$
|
|
37974
|
-
_defineProperty$
|
|
37973
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
37974
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
|
|
37975
37975
|
return _this;
|
|
37976
37976
|
}
|
|
37977
37977
|
_createClass$1(StandAloneLocalDayParser2, [{
|
|
@@ -38070,8 +38070,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38070
38070
|
args[_key] = arguments[_key];
|
|
38071
38071
|
}
|
|
38072
38072
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38073
|
-
_defineProperty$
|
|
38074
|
-
_defineProperty$
|
|
38073
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 90);
|
|
38074
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
|
|
38075
38075
|
return _this;
|
|
38076
38076
|
}
|
|
38077
38077
|
_createClass$1(ISODayParser2, [{
|
|
@@ -38157,8 +38157,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38157
38157
|
args[_key] = arguments[_key];
|
|
38158
38158
|
}
|
|
38159
38159
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38160
|
-
_defineProperty$
|
|
38161
|
-
_defineProperty$
|
|
38160
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
|
|
38161
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
38162
38162
|
return _this;
|
|
38163
38163
|
}
|
|
38164
38164
|
_createClass$1(AMPMParser2, [{
|
|
@@ -38213,8 +38213,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38213
38213
|
args[_key] = arguments[_key];
|
|
38214
38214
|
}
|
|
38215
38215
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38216
|
-
_defineProperty$
|
|
38217
|
-
_defineProperty$
|
|
38216
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
|
|
38217
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
38218
38218
|
return _this;
|
|
38219
38219
|
}
|
|
38220
38220
|
_createClass$1(AMPMMidnightParser2, [{
|
|
@@ -38269,8 +38269,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38269
38269
|
args[_key] = arguments[_key];
|
|
38270
38270
|
}
|
|
38271
38271
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38272
|
-
_defineProperty$
|
|
38273
|
-
_defineProperty$
|
|
38272
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 80);
|
|
38273
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
38274
38274
|
return _this;
|
|
38275
38275
|
}
|
|
38276
38276
|
_createClass$1(DayPeriodParser2, [{
|
|
@@ -38325,8 +38325,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38325
38325
|
args[_key] = arguments[_key];
|
|
38326
38326
|
}
|
|
38327
38327
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38328
|
-
_defineProperty$
|
|
38329
|
-
_defineProperty$
|
|
38328
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38329
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
38330
38330
|
return _this;
|
|
38331
38331
|
}
|
|
38332
38332
|
_createClass$1(Hour1to12Parser2, [{
|
|
@@ -38374,8 +38374,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38374
38374
|
args[_key] = arguments[_key];
|
|
38375
38375
|
}
|
|
38376
38376
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38377
|
-
_defineProperty$
|
|
38378
|
-
_defineProperty$
|
|
38377
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38378
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
38379
38379
|
return _this;
|
|
38380
38380
|
}
|
|
38381
38381
|
_createClass$1(Hour0to23Parser2, [{
|
|
@@ -38416,8 +38416,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38416
38416
|
args[_key] = arguments[_key];
|
|
38417
38417
|
}
|
|
38418
38418
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38419
|
-
_defineProperty$
|
|
38420
|
-
_defineProperty$
|
|
38419
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38420
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
38421
38421
|
return _this;
|
|
38422
38422
|
}
|
|
38423
38423
|
_createClass$1(Hour0To11Parser2, [{
|
|
@@ -38463,8 +38463,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38463
38463
|
args[_key] = arguments[_key];
|
|
38464
38464
|
}
|
|
38465
38465
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38466
|
-
_defineProperty$
|
|
38467
|
-
_defineProperty$
|
|
38466
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 70);
|
|
38467
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
38468
38468
|
return _this;
|
|
38469
38469
|
}
|
|
38470
38470
|
_createClass$1(Hour1To24Parser2, [{
|
|
@@ -38506,8 +38506,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38506
38506
|
args[_key] = arguments[_key];
|
|
38507
38507
|
}
|
|
38508
38508
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38509
|
-
_defineProperty$
|
|
38510
|
-
_defineProperty$
|
|
38509
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 60);
|
|
38510
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38511
38511
|
return _this;
|
|
38512
38512
|
}
|
|
38513
38513
|
_createClass$1(MinuteParser2, [{
|
|
@@ -38548,8 +38548,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38548
38548
|
args[_key] = arguments[_key];
|
|
38549
38549
|
}
|
|
38550
38550
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38551
|
-
_defineProperty$
|
|
38552
|
-
_defineProperty$
|
|
38551
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 50);
|
|
38552
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38553
38553
|
return _this;
|
|
38554
38554
|
}
|
|
38555
38555
|
_createClass$1(SecondParser2, [{
|
|
@@ -38590,8 +38590,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38590
38590
|
args[_key] = arguments[_key];
|
|
38591
38591
|
}
|
|
38592
38592
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38593
|
-
_defineProperty$
|
|
38594
|
-
_defineProperty$
|
|
38593
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 30);
|
|
38594
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T"]);
|
|
38595
38595
|
return _this;
|
|
38596
38596
|
}
|
|
38597
38597
|
_createClass$1(FractionOfSecondParser2, [{
|
|
@@ -38621,8 +38621,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38621
38621
|
args[_key] = arguments[_key];
|
|
38622
38622
|
}
|
|
38623
38623
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38624
|
-
_defineProperty$
|
|
38625
|
-
_defineProperty$
|
|
38624
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 10);
|
|
38625
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "x"]);
|
|
38626
38626
|
return _this;
|
|
38627
38627
|
}
|
|
38628
38628
|
_createClass$1(ISOTimezoneWithZParser2, [{
|
|
@@ -38663,8 +38663,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38663
38663
|
args[_key] = arguments[_key];
|
|
38664
38664
|
}
|
|
38665
38665
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38666
|
-
_defineProperty$
|
|
38667
|
-
_defineProperty$
|
|
38666
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 10);
|
|
38667
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", ["t", "T", "X"]);
|
|
38668
38668
|
return _this;
|
|
38669
38669
|
}
|
|
38670
38670
|
_createClass$1(ISOTimezoneParser2, [{
|
|
@@ -38705,8 +38705,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38705
38705
|
args[_key] = arguments[_key];
|
|
38706
38706
|
}
|
|
38707
38707
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38708
|
-
_defineProperty$
|
|
38709
|
-
_defineProperty$
|
|
38708
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 40);
|
|
38709
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38710
38710
|
return _this;
|
|
38711
38711
|
}
|
|
38712
38712
|
_createClass$1(TimestampSecondsParser2, [{
|
|
@@ -38734,8 +38734,8 @@ var __publicField = (obj, key, value) => {
|
|
|
38734
38734
|
args[_key] = arguments[_key];
|
|
38735
38735
|
}
|
|
38736
38736
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
38737
|
-
_defineProperty$
|
|
38738
|
-
_defineProperty$
|
|
38737
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "priority", 20);
|
|
38738
|
+
_defineProperty$5(_assertThisInitialized$3(_this), "incompatibleTokens", "*");
|
|
38739
38739
|
return _this;
|
|
38740
38740
|
}
|
|
38741
38741
|
_createClass$1(TimestampMillisecondsParser2, [{
|
|
@@ -38888,7 +38888,7 @@ var __publicField = (obj, key, value) => {
|
|
|
38888
38888
|
};
|
|
38889
38889
|
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
38890
38890
|
var _ret = _loop();
|
|
38891
|
-
if (_typeof(_ret) === "object")
|
|
38891
|
+
if (_typeof$1(_ret) === "object")
|
|
38892
38892
|
return _ret.v;
|
|
38893
38893
|
}
|
|
38894
38894
|
} catch (err2) {
|
|
@@ -39138,7 +39138,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39138
39138
|
};
|
|
39139
39139
|
return _setPrototypeOf$1(o2, p2);
|
|
39140
39140
|
}
|
|
39141
|
-
function _objectWithoutPropertiesLoose$
|
|
39141
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
39142
39142
|
if (source == null)
|
|
39143
39143
|
return {};
|
|
39144
39144
|
var target = {};
|
|
@@ -39340,7 +39340,7 @@ var __publicField = (obj, key, value) => {
|
|
|
39340
39340
|
_proto.render = function render2() {
|
|
39341
39341
|
var _this$props = this.props;
|
|
39342
39342
|
_this$props.excludeScrollbar;
|
|
39343
|
-
var props = _objectWithoutPropertiesLoose$
|
|
39343
|
+
var props = _objectWithoutPropertiesLoose$2(_this$props, ["excludeScrollbar"]);
|
|
39344
39344
|
if (WrappedComponent.prototype && WrappedComponent.prototype.isReactComponent) {
|
|
39345
39345
|
props.ref = this.getRef;
|
|
39346
39346
|
} else {
|
|
@@ -42187,17 +42187,17 @@ var __publicField = (obj, key, value) => {
|
|
|
42187
42187
|
});
|
|
42188
42188
|
};
|
|
42189
42189
|
}
|
|
42190
|
-
function _toConsumableArray$
|
|
42191
|
-
return _arrayWithoutHoles$
|
|
42190
|
+
function _toConsumableArray$2(arr) {
|
|
42191
|
+
return _arrayWithoutHoles$2(arr) || _iterableToArray$2(arr) || _nonIterableSpread$2();
|
|
42192
42192
|
}
|
|
42193
|
-
function _nonIterableSpread$
|
|
42193
|
+
function _nonIterableSpread$2() {
|
|
42194
42194
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
42195
42195
|
}
|
|
42196
|
-
function _iterableToArray$
|
|
42196
|
+
function _iterableToArray$2(iter) {
|
|
42197
42197
|
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]")
|
|
42198
42198
|
return Array.from(iter);
|
|
42199
42199
|
}
|
|
42200
|
-
function _arrayWithoutHoles$
|
|
42200
|
+
function _arrayWithoutHoles$2(arr) {
|
|
42201
42201
|
if (Array.isArray(arr)) {
|
|
42202
42202
|
for (var i2 = 0, arr2 = new Array(arr.length); i2 < arr.length; i2++) {
|
|
42203
42203
|
arr2[i2] = arr[i2];
|
|
@@ -42243,7 +42243,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42243
42243
|
if (Array.isArray(arr))
|
|
42244
42244
|
return arr;
|
|
42245
42245
|
}
|
|
42246
|
-
function ownKeys$
|
|
42246
|
+
function ownKeys$2(object2, enumerableOnly) {
|
|
42247
42247
|
var keys2 = Object.keys(object2);
|
|
42248
42248
|
if (Object.getOwnPropertySymbols) {
|
|
42249
42249
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -42259,20 +42259,20 @@ var __publicField = (obj, key, value) => {
|
|
|
42259
42259
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
42260
42260
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
42261
42261
|
if (i2 % 2) {
|
|
42262
|
-
ownKeys$
|
|
42263
|
-
_defineProperty$
|
|
42262
|
+
ownKeys$2(source, true).forEach(function(key) {
|
|
42263
|
+
_defineProperty$4(target, key, source[key]);
|
|
42264
42264
|
});
|
|
42265
42265
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
42266
42266
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
42267
42267
|
} else {
|
|
42268
|
-
ownKeys$
|
|
42268
|
+
ownKeys$2(source).forEach(function(key) {
|
|
42269
42269
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
42270
42270
|
});
|
|
42271
42271
|
}
|
|
42272
42272
|
}
|
|
42273
42273
|
return target;
|
|
42274
42274
|
}
|
|
42275
|
-
function _defineProperty$
|
|
42275
|
+
function _defineProperty$4(obj, key, value) {
|
|
42276
42276
|
if (key in obj) {
|
|
42277
42277
|
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
|
42278
42278
|
} else {
|
|
@@ -42280,10 +42280,10 @@ var __publicField = (obj, key, value) => {
|
|
|
42280
42280
|
}
|
|
42281
42281
|
return obj;
|
|
42282
42282
|
}
|
|
42283
|
-
function _objectWithoutProperties(source, excluded) {
|
|
42283
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
42284
42284
|
if (source == null)
|
|
42285
42285
|
return {};
|
|
42286
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
42286
|
+
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
42287
42287
|
var key, i2;
|
|
42288
42288
|
if (Object.getOwnPropertySymbols) {
|
|
42289
42289
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -42298,7 +42298,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42298
42298
|
}
|
|
42299
42299
|
return target;
|
|
42300
42300
|
}
|
|
42301
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
42301
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
42302
42302
|
if (source == null)
|
|
42303
42303
|
return {};
|
|
42304
42304
|
var target = {};
|
|
@@ -42313,8 +42313,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42313
42313
|
return target;
|
|
42314
42314
|
}
|
|
42315
42315
|
var Dropzone = React$2.forwardRef(function(_ref2, ref) {
|
|
42316
|
-
var children = _ref2.children, params = _objectWithoutProperties(_ref2, ["children"]);
|
|
42317
|
-
var _useDropzone = useDropzone(params), open2 = _useDropzone.open, props = _objectWithoutProperties(_useDropzone, ["open"]);
|
|
42316
|
+
var children = _ref2.children, params = _objectWithoutProperties$1(_ref2, ["children"]);
|
|
42317
|
+
var _useDropzone = useDropzone(params), open2 = _useDropzone.open, props = _objectWithoutProperties$1(_useDropzone, ["open"]);
|
|
42318
42318
|
React$2.useImperativeHandle(ref, function() {
|
|
42319
42319
|
return {
|
|
42320
42320
|
open: open2
|
|
@@ -42447,7 +42447,7 @@ var __publicField = (obj, key, value) => {
|
|
|
42447
42447
|
event.preventDefault();
|
|
42448
42448
|
event.persist();
|
|
42449
42449
|
stopPropagation(event);
|
|
42450
|
-
dragTargetsRef.current = [].concat(_toConsumableArray$
|
|
42450
|
+
dragTargetsRef.current = [].concat(_toConsumableArray$2(dragTargetsRef.current), [event.target]);
|
|
42451
42451
|
if (isEvtWithFiles(event)) {
|
|
42452
42452
|
Promise.resolve(getFilesFromEvent(event)).then(function(draggedFiles2) {
|
|
42453
42453
|
if (isPropagationStopped(event) && !noDragEventsBubbling) {
|
|
@@ -42575,8 +42575,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42575
42575
|
};
|
|
42576
42576
|
var getRootProps = React$2.useMemo(function() {
|
|
42577
42577
|
return function() {
|
|
42578
|
-
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(_ref3, ["refKey", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"]);
|
|
42579
|
-
return _objectSpread(_defineProperty$
|
|
42578
|
+
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"]);
|
|
42579
|
+
return _objectSpread(_defineProperty$4({
|
|
42580
42580
|
onKeyDown: composeKeyboardHandler(composeEventHandlers(onKeyDown, onKeyDownCb)),
|
|
42581
42581
|
onFocus: composeKeyboardHandler(composeEventHandlers(onFocus, onFocusCb)),
|
|
42582
42582
|
onBlur: composeKeyboardHandler(composeEventHandlers(onBlur, onBlurCb)),
|
|
@@ -42595,8 +42595,8 @@ var __publicField = (obj, key, value) => {
|
|
|
42595
42595
|
}, []);
|
|
42596
42596
|
var getInputProps = React$2.useMemo(function() {
|
|
42597
42597
|
return function() {
|
|
42598
|
-
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(_ref4, ["refKey", "onChange", "onClick"]);
|
|
42599
|
-
var inputProps = _defineProperty$
|
|
42598
|
+
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"]);
|
|
42599
|
+
var inputProps = _defineProperty$4({
|
|
42600
42600
|
accept,
|
|
42601
42601
|
multiple,
|
|
42602
42602
|
type: "file",
|
|
@@ -43966,7 +43966,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43966
43966
|
_defineProperties(Constructor, staticProps);
|
|
43967
43967
|
return Constructor;
|
|
43968
43968
|
}
|
|
43969
|
-
function _defineProperty$
|
|
43969
|
+
function _defineProperty$3(obj, key, value) {
|
|
43970
43970
|
if (key in obj) {
|
|
43971
43971
|
Object.defineProperty(obj, key, {
|
|
43972
43972
|
value,
|
|
@@ -43979,7 +43979,7 @@ var __publicField = (obj, key, value) => {
|
|
|
43979
43979
|
}
|
|
43980
43980
|
return obj;
|
|
43981
43981
|
}
|
|
43982
|
-
function ownKeys(object2, enumerableOnly) {
|
|
43982
|
+
function ownKeys$1(object2, enumerableOnly) {
|
|
43983
43983
|
var keys2 = Object.keys(object2);
|
|
43984
43984
|
if (Object.getOwnPropertySymbols) {
|
|
43985
43985
|
var symbols = Object.getOwnPropertySymbols(object2);
|
|
@@ -43991,17 +43991,17 @@ var __publicField = (obj, key, value) => {
|
|
|
43991
43991
|
}
|
|
43992
43992
|
return keys2;
|
|
43993
43993
|
}
|
|
43994
|
-
function _objectSpread2(target) {
|
|
43994
|
+
function _objectSpread2$1(target) {
|
|
43995
43995
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
43996
43996
|
var source = arguments[i2] != null ? arguments[i2] : {};
|
|
43997
43997
|
if (i2 % 2) {
|
|
43998
|
-
ownKeys(Object(source), true).forEach(function(key) {
|
|
43999
|
-
_defineProperty$
|
|
43998
|
+
ownKeys$1(Object(source), true).forEach(function(key) {
|
|
43999
|
+
_defineProperty$3(target, key, source[key]);
|
|
44000
44000
|
});
|
|
44001
44001
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
44002
44002
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
44003
44003
|
} else {
|
|
44004
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
44004
|
+
ownKeys$1(Object(source)).forEach(function(key) {
|
|
44005
44005
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
44006
44006
|
});
|
|
44007
44007
|
}
|
|
@@ -44076,20 +44076,20 @@ var __publicField = (obj, key, value) => {
|
|
|
44076
44076
|
};
|
|
44077
44077
|
}
|
|
44078
44078
|
function _slicedToArray(arr, i2) {
|
|
44079
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray(arr, i2) || _nonIterableRest();
|
|
44079
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray$1(arr, i2) || _nonIterableRest();
|
|
44080
44080
|
}
|
|
44081
|
-
function _toConsumableArray(arr) {
|
|
44082
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
44081
|
+
function _toConsumableArray$1(arr) {
|
|
44082
|
+
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1();
|
|
44083
44083
|
}
|
|
44084
|
-
function _arrayWithoutHoles(arr) {
|
|
44084
|
+
function _arrayWithoutHoles$1(arr) {
|
|
44085
44085
|
if (Array.isArray(arr))
|
|
44086
|
-
return _arrayLikeToArray(arr);
|
|
44086
|
+
return _arrayLikeToArray$1(arr);
|
|
44087
44087
|
}
|
|
44088
44088
|
function _arrayWithHoles(arr) {
|
|
44089
44089
|
if (Array.isArray(arr))
|
|
44090
44090
|
return arr;
|
|
44091
44091
|
}
|
|
44092
|
-
function _iterableToArray(iter) {
|
|
44092
|
+
function _iterableToArray$1(iter) {
|
|
44093
44093
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter))
|
|
44094
44094
|
return Array.from(iter);
|
|
44095
44095
|
}
|
|
@@ -44120,27 +44120,27 @@ var __publicField = (obj, key, value) => {
|
|
|
44120
44120
|
}
|
|
44121
44121
|
return _arr;
|
|
44122
44122
|
}
|
|
44123
|
-
function _unsupportedIterableToArray(o2, minLen) {
|
|
44123
|
+
function _unsupportedIterableToArray$1(o2, minLen) {
|
|
44124
44124
|
if (!o2)
|
|
44125
44125
|
return;
|
|
44126
44126
|
if (typeof o2 === "string")
|
|
44127
|
-
return _arrayLikeToArray(o2, minLen);
|
|
44127
|
+
return _arrayLikeToArray$1(o2, minLen);
|
|
44128
44128
|
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
44129
44129
|
if (n2 === "Object" && o2.constructor)
|
|
44130
44130
|
n2 = o2.constructor.name;
|
|
44131
44131
|
if (n2 === "Map" || n2 === "Set")
|
|
44132
44132
|
return Array.from(o2);
|
|
44133
44133
|
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
44134
|
-
return _arrayLikeToArray(o2, minLen);
|
|
44134
|
+
return _arrayLikeToArray$1(o2, minLen);
|
|
44135
44135
|
}
|
|
44136
|
-
function _arrayLikeToArray(arr, len) {
|
|
44136
|
+
function _arrayLikeToArray$1(arr, len) {
|
|
44137
44137
|
if (len == null || len > arr.length)
|
|
44138
44138
|
len = arr.length;
|
|
44139
44139
|
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
44140
44140
|
arr2[i2] = arr[i2];
|
|
44141
44141
|
return arr2;
|
|
44142
44142
|
}
|
|
44143
|
-
function _nonIterableSpread() {
|
|
44143
|
+
function _nonIterableSpread$1() {
|
|
44144
44144
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
44145
44145
|
}
|
|
44146
44146
|
function _nonIterableRest() {
|
|
@@ -44168,10 +44168,10 @@ var __publicField = (obj, key, value) => {
|
|
|
44168
44168
|
if (val === updateValue) {
|
|
44169
44169
|
return handles;
|
|
44170
44170
|
}
|
|
44171
|
-
return [].concat(_toConsumableArray(handles.slice(0, index2)), [{
|
|
44171
|
+
return [].concat(_toConsumableArray$1(handles.slice(0, index2)), [{
|
|
44172
44172
|
key,
|
|
44173
44173
|
val: updateValue
|
|
44174
|
-
}], _toConsumableArray(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
44174
|
+
}], _toConsumableArray$1(handles.slice(index2 + 1))).sort(getSortByVal(reversed));
|
|
44175
44175
|
}
|
|
44176
44176
|
return handles;
|
|
44177
44177
|
}
|
|
@@ -44309,7 +44309,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44309
44309
|
_this.getRailProps = function() {
|
|
44310
44310
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
44311
44311
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44312
|
-
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
44312
|
+
return _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
|
44313
44313
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
44314
44314
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
44315
44315
|
});
|
|
@@ -44348,7 +44348,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44348
44348
|
_this.getHandleProps = function(id) {
|
|
44349
44349
|
var props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
44350
44350
|
var _this$props = _this.props, emitKeyboard = _this$props.emitKeyboard, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44351
|
-
return _objectSpread2(_objectSpread2({}, props), {}, {
|
|
44351
|
+
return _objectSpread2$1(_objectSpread2$1({}, props), {}, {
|
|
44352
44352
|
onKeyDown: callAll(props && props.onKeyDown, function(e3) {
|
|
44353
44353
|
return emitKeyboard && emitKeyboard(e3, id);
|
|
44354
44354
|
}),
|
|
@@ -44511,7 +44511,7 @@ var __publicField = (obj, key, value) => {
|
|
|
44511
44511
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
44512
44512
|
_this.getTrackProps = function(props) {
|
|
44513
44513
|
var _this$props = _this.props, emitMouse = _this$props.emitMouse, emitTouch = _this$props.emitTouch;
|
|
44514
|
-
return _objectSpread2(_objectSpread2({}, props || {}), {}, {
|
|
44514
|
+
return _objectSpread2$1(_objectSpread2$1({}, props || {}), {}, {
|
|
44515
44515
|
onMouseDown: callAll(props && props.onMouseDown, emitMouse),
|
|
44516
44516
|
onTouchStart: callAll(props && props.onTouchStart, emitTouch)
|
|
44517
44517
|
});
|
|
@@ -44914,11 +44914,11 @@ var __publicField = (obj, key, value) => {
|
|
|
44914
44914
|
return child;
|
|
44915
44915
|
}
|
|
44916
44916
|
});
|
|
44917
|
-
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
44917
|
+
return flatten2 ? /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2$1(_objectSpread2$1({}, rootProps), {}, {
|
|
44918
44918
|
style: rootStyle,
|
|
44919
44919
|
className,
|
|
44920
44920
|
ref: this.slider
|
|
44921
|
-
})), children) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2(_objectSpread2({}, rootProps), {}, {
|
|
44921
|
+
})), children) : /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, /* @__PURE__ */ React__default.default.createElement(Comp, _objectSpread2$1(_objectSpread2$1({}, rootProps), {}, {
|
|
44922
44922
|
style: rootStyle,
|
|
44923
44923
|
className,
|
|
44924
44924
|
ref: this.slider
|
|
@@ -45182,6 +45182,331 @@ var __publicField = (obj, key, value) => {
|
|
|
45182
45182
|
return jsxRuntime.exports.jsxs(SwitchWrapper, { className, "data-testid": "wrapper", enabled, onClick, ref, style, children: [jsxRuntime.exports.jsx(SwitchHandle, { "data-testid": "handle", enabled }), jsxRuntime.exports.jsx("div", { style: { userSelect: "none" }, children: labelIconToShow })] });
|
|
45183
45183
|
}
|
|
45184
45184
|
React$2.forwardRef(Switch);
|
|
45185
|
+
function ownKeys(object2, enumerableOnly) {
|
|
45186
|
+
var keys2 = Object.keys(object2);
|
|
45187
|
+
if (Object.getOwnPropertySymbols) {
|
|
45188
|
+
var symbols = Object.getOwnPropertySymbols(object2);
|
|
45189
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
45190
|
+
return Object.getOwnPropertyDescriptor(object2, sym).enumerable;
|
|
45191
|
+
})), keys2.push.apply(keys2, symbols);
|
|
45192
|
+
}
|
|
45193
|
+
return keys2;
|
|
45194
|
+
}
|
|
45195
|
+
function _objectSpread2(target) {
|
|
45196
|
+
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
45197
|
+
var source = null != arguments[i2] ? arguments[i2] : {};
|
|
45198
|
+
i2 % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
45199
|
+
_defineProperty$2(target, key, source[key]);
|
|
45200
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
45201
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45202
|
+
});
|
|
45203
|
+
}
|
|
45204
|
+
return target;
|
|
45205
|
+
}
|
|
45206
|
+
function _typeof(obj) {
|
|
45207
|
+
"@babel/helpers - typeof";
|
|
45208
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
45209
|
+
return typeof obj2;
|
|
45210
|
+
} : function(obj2) {
|
|
45211
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
45212
|
+
}, _typeof(obj);
|
|
45213
|
+
}
|
|
45214
|
+
function _defineProperty$2(obj, key, value) {
|
|
45215
|
+
if (key in obj) {
|
|
45216
|
+
Object.defineProperty(obj, key, {
|
|
45217
|
+
value,
|
|
45218
|
+
enumerable: true,
|
|
45219
|
+
configurable: true,
|
|
45220
|
+
writable: true
|
|
45221
|
+
});
|
|
45222
|
+
} else {
|
|
45223
|
+
obj[key] = value;
|
|
45224
|
+
}
|
|
45225
|
+
return obj;
|
|
45226
|
+
}
|
|
45227
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
45228
|
+
if (source == null)
|
|
45229
|
+
return {};
|
|
45230
|
+
var target = {};
|
|
45231
|
+
var sourceKeys = Object.keys(source);
|
|
45232
|
+
var key, i2;
|
|
45233
|
+
for (i2 = 0; i2 < sourceKeys.length; i2++) {
|
|
45234
|
+
key = sourceKeys[i2];
|
|
45235
|
+
if (excluded.indexOf(key) >= 0)
|
|
45236
|
+
continue;
|
|
45237
|
+
target[key] = source[key];
|
|
45238
|
+
}
|
|
45239
|
+
return target;
|
|
45240
|
+
}
|
|
45241
|
+
function _objectWithoutProperties(source, excluded) {
|
|
45242
|
+
if (source == null)
|
|
45243
|
+
return {};
|
|
45244
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
45245
|
+
var key, i2;
|
|
45246
|
+
if (Object.getOwnPropertySymbols) {
|
|
45247
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
45248
|
+
for (i2 = 0; i2 < sourceSymbolKeys.length; i2++) {
|
|
45249
|
+
key = sourceSymbolKeys[i2];
|
|
45250
|
+
if (excluded.indexOf(key) >= 0)
|
|
45251
|
+
continue;
|
|
45252
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
45253
|
+
continue;
|
|
45254
|
+
target[key] = source[key];
|
|
45255
|
+
}
|
|
45256
|
+
}
|
|
45257
|
+
return target;
|
|
45258
|
+
}
|
|
45259
|
+
function _toConsumableArray(arr) {
|
|
45260
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
45261
|
+
}
|
|
45262
|
+
function _arrayWithoutHoles(arr) {
|
|
45263
|
+
if (Array.isArray(arr))
|
|
45264
|
+
return _arrayLikeToArray(arr);
|
|
45265
|
+
}
|
|
45266
|
+
function _iterableToArray(iter) {
|
|
45267
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
45268
|
+
return Array.from(iter);
|
|
45269
|
+
}
|
|
45270
|
+
function _unsupportedIterableToArray(o2, minLen) {
|
|
45271
|
+
if (!o2)
|
|
45272
|
+
return;
|
|
45273
|
+
if (typeof o2 === "string")
|
|
45274
|
+
return _arrayLikeToArray(o2, minLen);
|
|
45275
|
+
var n2 = Object.prototype.toString.call(o2).slice(8, -1);
|
|
45276
|
+
if (n2 === "Object" && o2.constructor)
|
|
45277
|
+
n2 = o2.constructor.name;
|
|
45278
|
+
if (n2 === "Map" || n2 === "Set")
|
|
45279
|
+
return Array.from(o2);
|
|
45280
|
+
if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
|
|
45281
|
+
return _arrayLikeToArray(o2, minLen);
|
|
45282
|
+
}
|
|
45283
|
+
function _arrayLikeToArray(arr, len) {
|
|
45284
|
+
if (len == null || len > arr.length)
|
|
45285
|
+
len = arr.length;
|
|
45286
|
+
for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
|
|
45287
|
+
arr2[i2] = arr[i2];
|
|
45288
|
+
return arr2;
|
|
45289
|
+
}
|
|
45290
|
+
function _nonIterableSpread() {
|
|
45291
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
45292
|
+
}
|
|
45293
|
+
function classList(props) {
|
|
45294
|
+
var _classes;
|
|
45295
|
+
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, listItem = props.listItem, flip2 = props.flip, size2 = props.size, rotation = props.rotation, pull = props.pull;
|
|
45296
|
+
var classes = (_classes = {
|
|
45297
|
+
"fa-beat": beat,
|
|
45298
|
+
"fa-fade": fade,
|
|
45299
|
+
"fa-beat-fade": beatFade,
|
|
45300
|
+
"fa-bounce": bounce,
|
|
45301
|
+
"fa-shake": shake,
|
|
45302
|
+
"fa-flash": flash,
|
|
45303
|
+
"fa-spin": spin,
|
|
45304
|
+
"fa-spin-reverse": spinReverse,
|
|
45305
|
+
"fa-spin-pulse": spinPulse,
|
|
45306
|
+
"fa-pulse": pulse,
|
|
45307
|
+
"fa-fw": fixedWidth,
|
|
45308
|
+
"fa-inverse": inverse,
|
|
45309
|
+
"fa-border": border,
|
|
45310
|
+
"fa-li": listItem,
|
|
45311
|
+
"fa-flip": flip2 === true,
|
|
45312
|
+
"fa-flip-horizontal": flip2 === "horizontal" || flip2 === "both",
|
|
45313
|
+
"fa-flip-vertical": flip2 === "vertical" || flip2 === "both"
|
|
45314
|
+
}, _defineProperty$2(_classes, "fa-".concat(size2), typeof size2 !== "undefined" && size2 !== null), _defineProperty$2(_classes, "fa-rotate-".concat(rotation), typeof rotation !== "undefined" && rotation !== null && rotation !== 0), _defineProperty$2(_classes, "fa-pull-".concat(pull), typeof pull !== "undefined" && pull !== null), _defineProperty$2(_classes, "fa-swap-opacity", props.swapOpacity), _classes);
|
|
45315
|
+
return Object.keys(classes).map(function(key) {
|
|
45316
|
+
return classes[key] ? key : null;
|
|
45317
|
+
}).filter(function(key) {
|
|
45318
|
+
return key;
|
|
45319
|
+
});
|
|
45320
|
+
}
|
|
45321
|
+
function _isNumerical(obj) {
|
|
45322
|
+
obj = obj - 0;
|
|
45323
|
+
return obj === obj;
|
|
45324
|
+
}
|
|
45325
|
+
function camelize(string2) {
|
|
45326
|
+
if (_isNumerical(string2)) {
|
|
45327
|
+
return string2;
|
|
45328
|
+
}
|
|
45329
|
+
string2 = string2.replace(/[\-_\s]+(.)?/g, function(match2, chr) {
|
|
45330
|
+
return chr ? chr.toUpperCase() : "";
|
|
45331
|
+
});
|
|
45332
|
+
return string2.substr(0, 1).toLowerCase() + string2.substr(1);
|
|
45333
|
+
}
|
|
45334
|
+
var _excluded = ["style"];
|
|
45335
|
+
function capitalize(val) {
|
|
45336
|
+
return val.charAt(0).toUpperCase() + val.slice(1);
|
|
45337
|
+
}
|
|
45338
|
+
function styleToObject(style) {
|
|
45339
|
+
return style.split(";").map(function(s) {
|
|
45340
|
+
return s.trim();
|
|
45341
|
+
}).filter(function(s) {
|
|
45342
|
+
return s;
|
|
45343
|
+
}).reduce(function(acc, pair) {
|
|
45344
|
+
var i2 = pair.indexOf(":");
|
|
45345
|
+
var prop = camelize(pair.slice(0, i2));
|
|
45346
|
+
var value = pair.slice(i2 + 1).trim();
|
|
45347
|
+
prop.startsWith("webkit") ? acc[capitalize(prop)] = value : acc[prop] = value;
|
|
45348
|
+
return acc;
|
|
45349
|
+
}, {});
|
|
45350
|
+
}
|
|
45351
|
+
function convert(createElement2, element) {
|
|
45352
|
+
var extraProps = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
45353
|
+
if (typeof element === "string") {
|
|
45354
|
+
return element;
|
|
45355
|
+
}
|
|
45356
|
+
var children = (element.children || []).map(function(child) {
|
|
45357
|
+
return convert(createElement2, child);
|
|
45358
|
+
});
|
|
45359
|
+
var mixins = Object.keys(element.attributes || {}).reduce(function(acc, key) {
|
|
45360
|
+
var val = element.attributes[key];
|
|
45361
|
+
switch (key) {
|
|
45362
|
+
case "class":
|
|
45363
|
+
acc.attrs["className"] = val;
|
|
45364
|
+
delete element.attributes["class"];
|
|
45365
|
+
break;
|
|
45366
|
+
case "style":
|
|
45367
|
+
acc.attrs["style"] = styleToObject(val);
|
|
45368
|
+
break;
|
|
45369
|
+
default:
|
|
45370
|
+
if (key.indexOf("aria-") === 0 || key.indexOf("data-") === 0) {
|
|
45371
|
+
acc.attrs[key.toLowerCase()] = val;
|
|
45372
|
+
} else {
|
|
45373
|
+
acc.attrs[camelize(key)] = val;
|
|
45374
|
+
}
|
|
45375
|
+
}
|
|
45376
|
+
return acc;
|
|
45377
|
+
}, {
|
|
45378
|
+
attrs: {}
|
|
45379
|
+
});
|
|
45380
|
+
var _extraProps$style = extraProps.style, existingStyle = _extraProps$style === void 0 ? {} : _extraProps$style, remaining = _objectWithoutProperties(extraProps, _excluded);
|
|
45381
|
+
mixins.attrs["style"] = _objectSpread2(_objectSpread2({}, mixins.attrs["style"]), existingStyle);
|
|
45382
|
+
return createElement2.apply(void 0, [element.tag, _objectSpread2(_objectSpread2({}, mixins.attrs), remaining)].concat(_toConsumableArray(children)));
|
|
45383
|
+
}
|
|
45384
|
+
var PRODUCTION = false;
|
|
45385
|
+
try {
|
|
45386
|
+
PRODUCTION = true;
|
|
45387
|
+
} catch (e3) {
|
|
45388
|
+
}
|
|
45389
|
+
function log() {
|
|
45390
|
+
if (!PRODUCTION && console && typeof console.error === "function") {
|
|
45391
|
+
var _console;
|
|
45392
|
+
(_console = console).error.apply(_console, arguments);
|
|
45393
|
+
}
|
|
45394
|
+
}
|
|
45395
|
+
function normalizeIconArgs(icon2) {
|
|
45396
|
+
if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName && icon2.icon) {
|
|
45397
|
+
return icon2;
|
|
45398
|
+
}
|
|
45399
|
+
if (parse$1$1.icon) {
|
|
45400
|
+
return parse$1$1.icon(icon2);
|
|
45401
|
+
}
|
|
45402
|
+
if (icon2 === null) {
|
|
45403
|
+
return null;
|
|
45404
|
+
}
|
|
45405
|
+
if (icon2 && _typeof(icon2) === "object" && icon2.prefix && icon2.iconName) {
|
|
45406
|
+
return icon2;
|
|
45407
|
+
}
|
|
45408
|
+
if (Array.isArray(icon2) && icon2.length === 2) {
|
|
45409
|
+
return {
|
|
45410
|
+
prefix: icon2[0],
|
|
45411
|
+
iconName: icon2[1]
|
|
45412
|
+
};
|
|
45413
|
+
}
|
|
45414
|
+
if (typeof icon2 === "string") {
|
|
45415
|
+
return {
|
|
45416
|
+
prefix: "fas",
|
|
45417
|
+
iconName: icon2
|
|
45418
|
+
};
|
|
45419
|
+
}
|
|
45420
|
+
}
|
|
45421
|
+
function objectWithKey(key, value) {
|
|
45422
|
+
return Array.isArray(value) && value.length > 0 || !Array.isArray(value) && value ? _defineProperty$2({}, key, value) : {};
|
|
45423
|
+
}
|
|
45424
|
+
var FontAwesomeIcon = /* @__PURE__ */ React__default.default.forwardRef(function(props, ref) {
|
|
45425
|
+
var iconArgs = props.icon, maskArgs = props.mask, symbol = props.symbol, className = props.className, title = props.title, titleId = props.titleId, maskId = props.maskId;
|
|
45426
|
+
var iconLookup = normalizeIconArgs(iconArgs);
|
|
45427
|
+
var classes = objectWithKey("classes", [].concat(_toConsumableArray(classList(props)), _toConsumableArray(className.split(" "))));
|
|
45428
|
+
var transform = objectWithKey("transform", typeof props.transform === "string" ? parse$1$1.transform(props.transform) : props.transform);
|
|
45429
|
+
var mask = objectWithKey("mask", normalizeIconArgs(maskArgs));
|
|
45430
|
+
var renderedIcon = icon(iconLookup, _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, classes), transform), mask), {}, {
|
|
45431
|
+
symbol,
|
|
45432
|
+
title,
|
|
45433
|
+
titleId,
|
|
45434
|
+
maskId
|
|
45435
|
+
}));
|
|
45436
|
+
if (!renderedIcon) {
|
|
45437
|
+
log("Could not find icon", iconLookup);
|
|
45438
|
+
return null;
|
|
45439
|
+
}
|
|
45440
|
+
var abstract = renderedIcon.abstract;
|
|
45441
|
+
var extraProps = {
|
|
45442
|
+
ref
|
|
45443
|
+
};
|
|
45444
|
+
Object.keys(props).forEach(function(key) {
|
|
45445
|
+
if (!FontAwesomeIcon.defaultProps.hasOwnProperty(key)) {
|
|
45446
|
+
extraProps[key] = props[key];
|
|
45447
|
+
}
|
|
45448
|
+
});
|
|
45449
|
+
return convertCurry(abstract[0], extraProps);
|
|
45450
|
+
});
|
|
45451
|
+
FontAwesomeIcon.displayName = "FontAwesomeIcon";
|
|
45452
|
+
FontAwesomeIcon.propTypes = {
|
|
45453
|
+
beat: propTypes.exports.bool,
|
|
45454
|
+
border: propTypes.exports.bool,
|
|
45455
|
+
beatFade: propTypes.exports.bool,
|
|
45456
|
+
bounce: propTypes.exports.bool,
|
|
45457
|
+
className: propTypes.exports.string,
|
|
45458
|
+
fade: propTypes.exports.bool,
|
|
45459
|
+
flash: propTypes.exports.bool,
|
|
45460
|
+
mask: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
45461
|
+
maskId: propTypes.exports.string,
|
|
45462
|
+
fixedWidth: propTypes.exports.bool,
|
|
45463
|
+
inverse: propTypes.exports.bool,
|
|
45464
|
+
flip: propTypes.exports.oneOf([true, false, "horizontal", "vertical", "both"]),
|
|
45465
|
+
icon: propTypes.exports.oneOfType([propTypes.exports.object, propTypes.exports.array, propTypes.exports.string]),
|
|
45466
|
+
listItem: propTypes.exports.bool,
|
|
45467
|
+
pull: propTypes.exports.oneOf(["right", "left"]),
|
|
45468
|
+
pulse: propTypes.exports.bool,
|
|
45469
|
+
rotation: propTypes.exports.oneOf([0, 90, 180, 270]),
|
|
45470
|
+
shake: propTypes.exports.bool,
|
|
45471
|
+
size: propTypes.exports.oneOf(["2xs", "xs", "sm", "lg", "xl", "2xl", "1x", "2x", "3x", "4x", "5x", "6x", "7x", "8x", "9x", "10x"]),
|
|
45472
|
+
spin: propTypes.exports.bool,
|
|
45473
|
+
spinPulse: propTypes.exports.bool,
|
|
45474
|
+
spinReverse: propTypes.exports.bool,
|
|
45475
|
+
symbol: propTypes.exports.oneOfType([propTypes.exports.bool, propTypes.exports.string]),
|
|
45476
|
+
title: propTypes.exports.string,
|
|
45477
|
+
titleId: propTypes.exports.string,
|
|
45478
|
+
transform: propTypes.exports.oneOfType([propTypes.exports.string, propTypes.exports.object]),
|
|
45479
|
+
swapOpacity: propTypes.exports.bool
|
|
45480
|
+
};
|
|
45481
|
+
FontAwesomeIcon.defaultProps = {
|
|
45482
|
+
border: false,
|
|
45483
|
+
className: "",
|
|
45484
|
+
mask: null,
|
|
45485
|
+
maskId: null,
|
|
45486
|
+
fixedWidth: false,
|
|
45487
|
+
inverse: false,
|
|
45488
|
+
flip: false,
|
|
45489
|
+
icon: null,
|
|
45490
|
+
listItem: false,
|
|
45491
|
+
pull: null,
|
|
45492
|
+
pulse: false,
|
|
45493
|
+
rotation: null,
|
|
45494
|
+
size: null,
|
|
45495
|
+
spin: false,
|
|
45496
|
+
spinPulse: false,
|
|
45497
|
+
spinReverse: false,
|
|
45498
|
+
beat: false,
|
|
45499
|
+
fade: false,
|
|
45500
|
+
beatFade: false,
|
|
45501
|
+
bounce: false,
|
|
45502
|
+
shake: false,
|
|
45503
|
+
symbol: false,
|
|
45504
|
+
title: "",
|
|
45505
|
+
titleId: null,
|
|
45506
|
+
transform: null,
|
|
45507
|
+
swapOpacity: false
|
|
45508
|
+
};
|
|
45509
|
+
var convertCurry = convert.bind(null, React__default.default.createElement);
|
|
45185
45510
|
var safeIsNaN$1 = Number.isNaN || function ponyfill(value) {
|
|
45186
45511
|
return typeof value === "number" && value !== value;
|
|
45187
45512
|
};
|
|
@@ -47890,8 +48215,8 @@ You must set sticky: 'left' | 'right' for the '${bugWithUnderColumnsSticky.Heade
|
|
|
47890
48215
|
return false;
|
|
47891
48216
|
}
|
|
47892
48217
|
function areEqual(prevProps, nextProps) {
|
|
47893
|
-
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$
|
|
47894
|
-
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$
|
|
48218
|
+
var prevStyle = prevProps.style, prevRest = _objectWithoutPropertiesLoose$4(prevProps, ["style"]);
|
|
48219
|
+
var nextStyle = nextProps.style, nextRest = _objectWithoutPropertiesLoose$4(nextProps, ["style"]);
|
|
47895
48220
|
return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);
|
|
47896
48221
|
}
|
|
47897
48222
|
const GlobalStyle = styled.createGlobalStyle`
|