@x4b/banner 60.1.0 → 60.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/banner.es.js +165 -165
- package/dist/banner.es.js.map +1 -1
- package/dist/banner.umd.js +13 -13
- package/dist/banner.umd.js.map +1 -1
- package/dist/library/components/UserProfileMenu.d.ts +1 -1
- package/package.json +1 -1
package/dist/banner.es.js
CHANGED
@@ -58,28 +58,28 @@ function za() {
|
|
58
58
|
if (Pr)
|
59
59
|
return k;
|
60
60
|
Pr = 1;
|
61
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113,
|
62
|
-
function m(
|
63
|
-
if (typeof
|
64
|
-
var N =
|
61
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, T = e ? Symbol.for("react.block") : 60121, d = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
62
|
+
function m(p) {
|
63
|
+
if (typeof p == "object" && p !== null) {
|
64
|
+
var N = p.$$typeof;
|
65
65
|
switch (N) {
|
66
66
|
case t:
|
67
|
-
switch (
|
67
|
+
switch (p = p.type, p) {
|
68
68
|
case l:
|
69
69
|
case f:
|
70
70
|
case n:
|
71
71
|
case o:
|
72
72
|
case a:
|
73
73
|
case h:
|
74
|
-
return
|
74
|
+
return p;
|
75
75
|
default:
|
76
|
-
switch (
|
76
|
+
switch (p = p && p.$$typeof, p) {
|
77
77
|
case s:
|
78
78
|
case c:
|
79
79
|
case I:
|
80
80
|
case g:
|
81
81
|
case i:
|
82
|
-
return
|
82
|
+
return p;
|
83
83
|
default:
|
84
84
|
return N;
|
85
85
|
}
|
@@ -89,35 +89,35 @@ function za() {
|
|
89
89
|
}
|
90
90
|
}
|
91
91
|
}
|
92
|
-
function R(
|
93
|
-
return m(
|
92
|
+
function R(p) {
|
93
|
+
return m(p) === f;
|
94
94
|
}
|
95
|
-
return k.AsyncMode = l, k.ConcurrentMode = f, k.ContextConsumer = s, k.ContextProvider = i, k.Element = t, k.ForwardRef = c, k.Fragment = n, k.Lazy = I, k.Memo = g, k.Portal = r, k.Profiler = o, k.StrictMode = a, k.Suspense = h, k.isAsyncMode = function(
|
96
|
-
return R(
|
97
|
-
}, k.isConcurrentMode = R, k.isContextConsumer = function(
|
98
|
-
return m(
|
99
|
-
}, k.isContextProvider = function(
|
100
|
-
return m(
|
101
|
-
}, k.isElement = function(
|
102
|
-
return typeof
|
103
|
-
}, k.isForwardRef = function(
|
104
|
-
return m(
|
105
|
-
}, k.isFragment = function(
|
106
|
-
return m(
|
107
|
-
}, k.isLazy = function(
|
108
|
-
return m(
|
109
|
-
}, k.isMemo = function(
|
110
|
-
return m(
|
111
|
-
}, k.isPortal = function(
|
112
|
-
return m(
|
113
|
-
}, k.isProfiler = function(
|
114
|
-
return m(
|
115
|
-
}, k.isStrictMode = function(
|
116
|
-
return m(
|
117
|
-
}, k.isSuspense = function(
|
118
|
-
return m(
|
119
|
-
}, k.isValidElementType = function(
|
120
|
-
return typeof
|
95
|
+
return k.AsyncMode = l, k.ConcurrentMode = f, k.ContextConsumer = s, k.ContextProvider = i, k.Element = t, k.ForwardRef = c, k.Fragment = n, k.Lazy = I, k.Memo = g, k.Portal = r, k.Profiler = o, k.StrictMode = a, k.Suspense = h, k.isAsyncMode = function(p) {
|
96
|
+
return R(p) || m(p) === l;
|
97
|
+
}, k.isConcurrentMode = R, k.isContextConsumer = function(p) {
|
98
|
+
return m(p) === s;
|
99
|
+
}, k.isContextProvider = function(p) {
|
100
|
+
return m(p) === i;
|
101
|
+
}, k.isElement = function(p) {
|
102
|
+
return typeof p == "object" && p !== null && p.$$typeof === t;
|
103
|
+
}, k.isForwardRef = function(p) {
|
104
|
+
return m(p) === c;
|
105
|
+
}, k.isFragment = function(p) {
|
106
|
+
return m(p) === n;
|
107
|
+
}, k.isLazy = function(p) {
|
108
|
+
return m(p) === I;
|
109
|
+
}, k.isMemo = function(p) {
|
110
|
+
return m(p) === g;
|
111
|
+
}, k.isPortal = function(p) {
|
112
|
+
return m(p) === r;
|
113
|
+
}, k.isProfiler = function(p) {
|
114
|
+
return m(p) === o;
|
115
|
+
}, k.isStrictMode = function(p) {
|
116
|
+
return m(p) === a;
|
117
|
+
}, k.isSuspense = function(p) {
|
118
|
+
return m(p) === h;
|
119
|
+
}, k.isValidElementType = function(p) {
|
120
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === f || p === o || p === a || p === h || p === v || typeof p == "object" && p !== null && (p.$$typeof === I || p.$$typeof === g || p.$$typeof === i || p.$$typeof === s || p.$$typeof === c || p.$$typeof === d || p.$$typeof === S || p.$$typeof === y || p.$$typeof === T);
|
121
121
|
}, k.typeOf = m, k;
|
122
122
|
}
|
123
123
|
var U = {};
|
@@ -132,9 +132,9 @@ var U = {};
|
|
132
132
|
var Or;
|
133
133
|
function Ga() {
|
134
134
|
return Or || (Or = 1, process.env.NODE_ENV !== "production" && function() {
|
135
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113,
|
135
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, T = e ? Symbol.for("react.block") : 60121, d = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
136
136
|
function m(P) {
|
137
|
-
return typeof P == "string" || typeof P == "function" || P === n || P === f || P === o || P === a || P === h || P ===
|
137
|
+
return typeof P == "string" || typeof P == "function" || P === n || P === f || P === o || P === a || P === h || P === v || typeof P == "object" && P !== null && (P.$$typeof === I || P.$$typeof === g || P.$$typeof === i || P.$$typeof === s || P.$$typeof === c || P.$$typeof === d || P.$$typeof === S || P.$$typeof === y || P.$$typeof === T);
|
138
138
|
}
|
139
139
|
function R(P) {
|
140
140
|
if (typeof P == "object" && P !== null) {
|
@@ -168,7 +168,7 @@ function Ga() {
|
|
168
168
|
}
|
169
169
|
}
|
170
170
|
}
|
171
|
-
var
|
171
|
+
var p = l, N = f, _ = s, ee = i, se = t, ue = c, ce = n, me = I, $ = g, ae = r, J = o, Z = a, oe = h, Q = !1;
|
172
172
|
function xe(P) {
|
173
173
|
return Q || (Q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Se(P) || R(P) === l;
|
174
174
|
}
|
@@ -208,7 +208,7 @@ function Ga() {
|
|
208
208
|
function Je(P) {
|
209
209
|
return R(P) === h;
|
210
210
|
}
|
211
|
-
U.AsyncMode =
|
211
|
+
U.AsyncMode = p, U.ConcurrentMode = N, U.ContextConsumer = _, U.ContextProvider = ee, U.Element = se, U.ForwardRef = ue, U.Fragment = ce, U.Lazy = me, U.Memo = $, U.Portal = ae, U.Profiler = J, U.StrictMode = Z, U.Suspense = oe, U.isAsyncMode = xe, U.isConcurrentMode = Se, U.isContextConsumer = Ce, U.isContextProvider = Ne, U.isElement = Ae, U.isForwardRef = Fe, U.isFragment = Be, U.isLazy = Re, U.isMemo = F, U.isPortal = K, U.isProfiler = Ie, U.isStrictMode = ge, U.isSuspense = Je, U.isValidElementType = m, U.typeOf = R;
|
212
212
|
}()), U;
|
213
213
|
}
|
214
214
|
(function(e) {
|
@@ -375,8 +375,8 @@ var Ja = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
375
375
|
function qa(e) {
|
376
376
|
if (e.length === 0)
|
377
377
|
throw new Error("Number skeleton cannot be empty");
|
378
|
-
for (var t = e.split(Ja).filter(function(
|
379
|
-
return
|
378
|
+
for (var t = e.split(Ja).filter(function(v) {
|
379
|
+
return v.length > 0;
|
380
380
|
}), r = [], n = 0, a = t; n < a.length; n++) {
|
381
381
|
var o = a[n], i = o.split("/");
|
382
382
|
if (i.length === 0)
|
@@ -523,11 +523,11 @@ function eo(e) {
|
|
523
523
|
case "integer-width":
|
524
524
|
if (a.options.length > 1)
|
525
525
|
throw new RangeError("integer-width stems only accept a single optional option");
|
526
|
-
a.options[0].replace(Qa, function(l, f, c, h,
|
526
|
+
a.options[0].replace(Qa, function(l, f, c, h, v, g) {
|
527
527
|
if (f)
|
528
528
|
t.minimumIntegerDigits = c.length;
|
529
529
|
else {
|
530
|
-
if (h &&
|
530
|
+
if (h && v)
|
531
531
|
throw new Error("We currently do not support maximum integer digits");
|
532
532
|
if (g)
|
533
533
|
throw new Error("We currently do not support exact integer digits");
|
@@ -543,8 +543,8 @@ function eo(e) {
|
|
543
543
|
if (Nr.test(a.stem)) {
|
544
544
|
if (a.options.length > 1)
|
545
545
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
546
|
-
a.stem.replace(Nr, function(l, f, c, h,
|
547
|
-
return c === "*" ? t.minimumFractionDigits = f.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length :
|
546
|
+
a.stem.replace(Nr, function(l, f, c, h, v, g) {
|
547
|
+
return c === "*" ? t.minimumFractionDigits = f.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : v && g ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + g.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
|
548
548
|
});
|
549
549
|
var o = a.options[0];
|
550
550
|
o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Ar(o)));
|
@@ -2199,11 +2199,11 @@ var go = function() {
|
|
2199
2199
|
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
2200
2200
|
if (h.err)
|
2201
2201
|
return h;
|
2202
|
-
var
|
2203
|
-
if (
|
2202
|
+
var v = vo(h.val);
|
2203
|
+
if (v.length === 0)
|
2204
2204
|
return this.error(L.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
|
2205
2205
|
var g = H(c, this.clonePosition());
|
2206
|
-
f = { style:
|
2206
|
+
f = { style: v, styleLocation: g };
|
2207
2207
|
}
|
2208
2208
|
var I = this.tryParseArgumentClose(a);
|
2209
2209
|
if (I.err)
|
@@ -2222,14 +2222,14 @@ var go = function() {
|
|
2222
2222
|
return this.error(L.EXPECT_DATE_TIME_SKELETON, T);
|
2223
2223
|
var S = d;
|
2224
2224
|
this.locale && (S = to(d, this.locale));
|
2225
|
-
var
|
2225
|
+
var v = {
|
2226
2226
|
type: Ze.dateTime,
|
2227
2227
|
pattern: S,
|
2228
2228
|
location: f.styleLocation,
|
2229
2229
|
parsedOptions: this.shouldParseSkeletons ? Wa(S) : {}
|
2230
2230
|
}, y = s === "date" ? X.date : X.time;
|
2231
2231
|
return {
|
2232
|
-
val: { type: y, value: n, location: T, style:
|
2232
|
+
val: { type: y, value: n, location: T, style: v },
|
2233
2233
|
err: null
|
2234
2234
|
};
|
2235
2235
|
}
|
@@ -2251,7 +2251,7 @@ var go = function() {
|
|
2251
2251
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2252
2252
|
return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, H(m, M({}, m)));
|
2253
2253
|
this.bumpSpace();
|
2254
|
-
var R = this.parseIdentifierIfPossible(),
|
2254
|
+
var R = this.parseIdentifierIfPossible(), p = 0;
|
2255
2255
|
if (s !== "select" && R.value === "offset") {
|
2256
2256
|
if (!this.bumpIf(":"))
|
2257
2257
|
return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
|
@@ -2259,7 +2259,7 @@ var go = function() {
|
|
2259
2259
|
var h = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2260
2260
|
if (h.err)
|
2261
2261
|
return h;
|
2262
|
-
this.bumpSpace(), R = this.parseIdentifierIfPossible(),
|
2262
|
+
this.bumpSpace(), R = this.parseIdentifierIfPossible(), p = h.val;
|
2263
2263
|
}
|
2264
2264
|
var N = this.tryParsePluralOrSelectOptions(t, s, r, R);
|
2265
2265
|
if (N.err)
|
@@ -2281,7 +2281,7 @@ var go = function() {
|
|
2281
2281
|
type: X.plural,
|
2282
2282
|
value: n,
|
2283
2283
|
options: Dr(N.val),
|
2284
|
-
offset:
|
2284
|
+
offset: p,
|
2285
2285
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
2286
2286
|
location: _
|
2287
2287
|
},
|
@@ -2349,9 +2349,9 @@ var go = function() {
|
|
2349
2349
|
if (f.length === 0) {
|
2350
2350
|
var h = this.clonePosition();
|
2351
2351
|
if (r !== "select" && this.bumpIf("=")) {
|
2352
|
-
var
|
2353
|
-
if (
|
2354
|
-
return
|
2352
|
+
var v = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2353
|
+
if (v.err)
|
2354
|
+
return v;
|
2355
2355
|
c = H(h, this.clonePosition()), f = this.message.slice(h.offset, this.offset());
|
2356
2356
|
} else
|
2357
2357
|
break;
|
@@ -2607,11 +2607,11 @@ function st(e, t, r, n, a, o, i) {
|
|
2607
2607
|
var h = c.value;
|
2608
2608
|
if (!(a && h in a))
|
2609
2609
|
throw new Oo(h, i);
|
2610
|
-
var
|
2610
|
+
var v = a[h];
|
2611
2611
|
if (Xa(c)) {
|
2612
|
-
(!
|
2613
|
-
type: typeof
|
2614
|
-
value:
|
2612
|
+
(!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), s.push({
|
2613
|
+
type: typeof v == "string" ? ne.literal : ne.object,
|
2614
|
+
value: v
|
2615
2615
|
});
|
2616
2616
|
continue;
|
2617
2617
|
}
|
@@ -2619,7 +2619,7 @@ function st(e, t, r, n, a, o, i) {
|
|
2619
2619
|
var g = typeof c.style == "string" ? n.date[c.style] : Dt(c.style) ? c.style.parsedOptions : void 0;
|
2620
2620
|
s.push({
|
2621
2621
|
type: ne.literal,
|
2622
|
-
value: r.getDateTimeFormat(t, g).format(
|
2622
|
+
value: r.getDateTimeFormat(t, g).format(v)
|
2623
2623
|
});
|
2624
2624
|
continue;
|
2625
2625
|
}
|
@@ -2627,15 +2627,15 @@ function st(e, t, r, n, a, o, i) {
|
|
2627
2627
|
var g = typeof c.style == "string" ? n.time[c.style] : Dt(c.style) ? c.style.parsedOptions : n.time.medium;
|
2628
2628
|
s.push({
|
2629
2629
|
type: ne.literal,
|
2630
|
-
value: r.getDateTimeFormat(t, g).format(
|
2630
|
+
value: r.getDateTimeFormat(t, g).format(v)
|
2631
2631
|
});
|
2632
2632
|
continue;
|
2633
2633
|
}
|
2634
2634
|
if (mn(c)) {
|
2635
2635
|
var g = typeof c.style == "string" ? n.number[c.style] : bn(c.style) ? c.style.parsedOptions : void 0;
|
2636
|
-
g && g.scale && (
|
2636
|
+
g && g.scale && (v = v * (g.scale || 1)), s.push({
|
2637
2637
|
type: ne.literal,
|
2638
|
-
value: r.getNumberFormat(t, g).format(
|
2638
|
+
value: r.getNumberFormat(t, g).format(v)
|
2639
2639
|
});
|
2640
2640
|
continue;
|
2641
2641
|
}
|
@@ -2643,36 +2643,36 @@ function st(e, t, r, n, a, o, i) {
|
|
2643
2643
|
var I = c.children, T = c.value, d = a[T];
|
2644
2644
|
if (!Cn(d))
|
2645
2645
|
throw new Po(T, "function", i);
|
2646
|
-
var S = st(I, t, r, n, a, o), y = d(S.map(function(
|
2647
|
-
return
|
2646
|
+
var S = st(I, t, r, n, a, o), y = d(S.map(function(p) {
|
2647
|
+
return p.value;
|
2648
2648
|
}));
|
2649
|
-
Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(
|
2649
|
+
Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(p) {
|
2650
2650
|
return {
|
2651
|
-
type: typeof
|
2652
|
-
value:
|
2651
|
+
type: typeof p == "string" ? ne.literal : ne.object,
|
2652
|
+
value: p
|
2653
2653
|
};
|
2654
2654
|
}));
|
2655
2655
|
}
|
2656
2656
|
if (gn(c)) {
|
2657
|
-
var m = c.options[
|
2657
|
+
var m = c.options[v] || c.options.other;
|
2658
2658
|
if (!m)
|
2659
|
-
throw new Fr(c.value,
|
2659
|
+
throw new Fr(c.value, v, Object.keys(c.options), i);
|
2660
2660
|
s.push.apply(s, st(m.value, t, r, n, a));
|
2661
2661
|
continue;
|
2662
2662
|
}
|
2663
2663
|
if (yn(c)) {
|
2664
|
-
var m = c.options["=".concat(
|
2664
|
+
var m = c.options["=".concat(v)];
|
2665
2665
|
if (!m) {
|
2666
2666
|
if (!Intl.PluralRules)
|
2667
2667
|
throw new He(`Intl.PluralRules is not available in this environment.
|
2668
2668
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
2669
2669
|
`, Te.MISSING_INTL_API, i);
|
2670
|
-
var R = r.getPluralRules(t, { type: c.pluralType }).select(
|
2670
|
+
var R = r.getPluralRules(t, { type: c.pluralType }).select(v - (c.offset || 0));
|
2671
2671
|
m = c.options[R] || c.options.other;
|
2672
2672
|
}
|
2673
2673
|
if (!m)
|
2674
|
-
throw new Fr(c.value,
|
2675
|
-
s.push.apply(s, st(m.value, t, r, n, a,
|
2674
|
+
throw new Fr(c.value, v, Object.keys(c.options), i);
|
2675
|
+
s.push.apply(s, st(m.value, t, r, n, a, v - (c.offset || 0)));
|
2676
2676
|
continue;
|
2677
2677
|
}
|
2678
2678
|
}
|
@@ -3036,7 +3036,7 @@ function Ur(e, t) {
|
|
3036
3036
|
return M(M(M({}, r), e), { date: kr(it(r.date, t), it(e.date || {}, t)), time: kr(it(r.time, t), it(e.time || {}, t)) });
|
3037
3037
|
}
|
3038
3038
|
var zt = function(e, t, r, n, a) {
|
3039
|
-
var o = e.locale, i = e.formats, s = e.messages, l = e.defaultLocale, f = e.defaultFormats, c = e.fallbackOnEmptyString, h = e.onError,
|
3039
|
+
var o = e.locale, i = e.formats, s = e.messages, l = e.defaultLocale, f = e.defaultFormats, c = e.fallbackOnEmptyString, h = e.onError, v = e.timeZone, g = e.defaultRichTextElements;
|
3040
3040
|
r === void 0 && (r = { id: "" });
|
3041
3041
|
var I = r.id, T = r.defaultMessage;
|
3042
3042
|
dn(!!I, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
|
@@ -3045,7 +3045,7 @@ var zt = function(e, t, r, n, a) {
|
|
3045
3045
|
return S[0].value;
|
3046
3046
|
if (!n && S && typeof S == "string" && !g)
|
3047
3047
|
return S.replace(/'\{(.*?)\}'/gi, "{$1}");
|
3048
|
-
if (n = M(M({}, g), n || {}), i = Ur(i,
|
3048
|
+
if (n = M(M({}, g), n || {}), i = Ur(i, v), f = Ur(f, v), !S) {
|
3049
3049
|
if (c === !1 && S === "")
|
3050
3050
|
return S;
|
3051
3051
|
if ((!T || o && o.toLowerCase() !== l.toLowerCase()) && h(new Ho(r, o)), T)
|
@@ -3125,8 +3125,8 @@ function Go(e, t) {
|
|
3125
3125
|
var a = r[0], o = r[1], i = r[2], s = i === void 0 ? {} : i, l = e.timeZone, f = e.locale, c = e.onError, h = ze(s, Ln, l ? { timeZone: l } : {});
|
3126
3126
|
try {
|
3127
3127
|
return t(f, h).formatRange(a, o);
|
3128
|
-
} catch (
|
3129
|
-
c(new ie(te.FORMAT_ERROR, "Error formatting date time range.",
|
3128
|
+
} catch (v) {
|
3129
|
+
c(new ie(te.FORMAT_ERROR, "Error formatting date time range.", v));
|
3130
3130
|
}
|
3131
3131
|
return String(a);
|
3132
3132
|
}
|
@@ -3195,8 +3195,8 @@ Try polyfilling it using "@formatjs/intl-listformat"
|
|
3195
3195
|
try {
|
3196
3196
|
var l = {}, f = r.map(function(c, h) {
|
3197
3197
|
if (typeof c == "object") {
|
3198
|
-
var
|
3199
|
-
return l[
|
3198
|
+
var v = Wo(h);
|
3199
|
+
return l[v] = c, v;
|
3200
3200
|
}
|
3201
3201
|
return String(c);
|
3202
3202
|
});
|
@@ -3359,14 +3359,14 @@ function li() {
|
|
3359
3359
|
Gr = 1;
|
3360
3360
|
var e = we, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
3361
3361
|
function i(s, l, f) {
|
3362
|
-
var c, h = {},
|
3363
|
-
f !== void 0 && (
|
3362
|
+
var c, h = {}, v = null, g = null;
|
3363
|
+
f !== void 0 && (v = "" + f), l.key !== void 0 && (v = "" + l.key), l.ref !== void 0 && (g = l.ref);
|
3364
3364
|
for (c in l)
|
3365
3365
|
n.call(l, c) && !o.hasOwnProperty(c) && (h[c] = l[c]);
|
3366
3366
|
if (s && s.defaultProps)
|
3367
3367
|
for (c in l = s.defaultProps, l)
|
3368
3368
|
h[c] === void 0 && (h[c] = l[c]);
|
3369
|
-
return { $$typeof: t, type: s, key:
|
3369
|
+
return { $$typeof: t, type: s, key: v, ref: g, props: h, _owner: a.current };
|
3370
3370
|
}
|
3371
3371
|
return Qe.Fragment = r, Qe.jsx = i, Qe.jsxs = i, Qe;
|
3372
3372
|
}
|
@@ -3383,7 +3383,7 @@ var Ke = {};
|
|
3383
3383
|
var jr;
|
3384
3384
|
function ci() {
|
3385
3385
|
return jr || (jr = 1, process.env.NODE_ENV !== "production" && function() {
|
3386
|
-
var e = we, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"),
|
3386
|
+
var e = we, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), I = Symbol.iterator, T = "@@iterator";
|
3387
3387
|
function d(u) {
|
3388
3388
|
if (u === null || typeof u != "object")
|
3389
3389
|
return null;
|
@@ -3408,10 +3408,10 @@ function ci() {
|
|
3408
3408
|
V.unshift("Warning: " + b), Function.prototype.apply.call(console[u], console, V);
|
3409
3409
|
}
|
3410
3410
|
}
|
3411
|
-
var R = !1,
|
3411
|
+
var R = !1, p = !1, N = !1, _ = !1, ee = !1, se;
|
3412
3412
|
se = Symbol.for("react.module.reference");
|
3413
3413
|
function ue(u) {
|
3414
|
-
return !!(typeof u == "string" || typeof u == "function" || u === n || u === o || ee || u === a || u === f || u === c || _ || u === g || R ||
|
3414
|
+
return !!(typeof u == "string" || typeof u == "function" || u === n || u === o || ee || u === a || u === f || u === c || _ || u === g || R || p || N || typeof u == "object" && u !== null && (u.$$typeof === v || u.$$typeof === h || u.$$typeof === i || u.$$typeof === s || u.$$typeof === l || u.$$typeof === se || u.getModuleId !== void 0));
|
3415
3415
|
}
|
3416
3416
|
function ce(u, b, x) {
|
3417
3417
|
var C = u.displayName;
|
@@ -3457,7 +3457,7 @@ function ci() {
|
|
3457
3457
|
case h:
|
3458
3458
|
var C = u.displayName || null;
|
3459
3459
|
return C !== null ? C : $(u.type) || "Memo";
|
3460
|
-
case
|
3460
|
+
case v: {
|
3461
3461
|
var B = u, V = B._payload, D = B._init;
|
3462
3462
|
try {
|
3463
3463
|
return $(D(V));
|
@@ -3646,7 +3646,7 @@ function ci() {
|
|
3646
3646
|
return ke(u.render);
|
3647
3647
|
case h:
|
3648
3648
|
return pe(u.type, b, x);
|
3649
|
-
case
|
3649
|
+
case v: {
|
3650
3650
|
var C = u, B = C._payload, V = C._init;
|
3651
3651
|
try {
|
3652
3652
|
return pe(V(B), b, x);
|
@@ -4291,9 +4291,9 @@ function Ni(e, t) {
|
|
4291
4291
|
};
|
4292
4292
|
}
|
4293
4293
|
function ht(e, t, r) {
|
4294
|
-
var
|
4294
|
+
var v;
|
4295
4295
|
let n, a;
|
4296
|
-
Zr(t) ? n = t : (n = (
|
4296
|
+
Zr(t) ? n = t : (n = (v = t == null ? void 0 : t.observe) != null ? v : !0, a = t == null ? void 0 : t.onChange), ft(r) && (a = r), w.useEffect(() => {
|
4297
4297
|
Zr(t) && console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe");
|
4298
4298
|
}, [t]), w.useEffect(() => {
|
4299
4299
|
ft(r) && console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange");
|
@@ -4344,8 +4344,8 @@ var Ai = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
|
|
4344
4344
|
} else {
|
4345
4345
|
var c = et.call(i, Vt);
|
4346
4346
|
c && n.filter(i) && (r || !t.includes(i)) && a.push(i);
|
4347
|
-
var h = i.shadowRoot || typeof n.getShadowRoot == "function" && n.getShadowRoot(i),
|
4348
|
-
if (h &&
|
4347
|
+
var h = i.shadowRoot || typeof n.getShadowRoot == "function" && n.getShadowRoot(i), v = !n.shadowRootFilter || n.shadowRootFilter(i);
|
4348
|
+
if (h && v) {
|
4349
4349
|
var g = e(h === !0 ? i.children : h.children, !0, n);
|
4350
4350
|
n.flatten ? a.push.apply(a, g) : a.push({
|
4351
4351
|
scope: i,
|
@@ -4539,7 +4539,7 @@ function qi(e, t, r = 0, n = 0) {
|
|
4539
4539
|
function $i(e, t) {
|
4540
4540
|
const r = De(e.current);
|
4541
4541
|
function n(y) {
|
4542
|
-
y.key === "Tab" && t.current && Oe(t.current).length === 0 || (y.key === "Tab" && y.shiftKey ? f(y) ? c(y) : h(y) ?
|
4542
|
+
y.key === "Tab" && t.current && Oe(t.current).length === 0 || (y.key === "Tab" && y.shiftKey ? f(y) ? c(y) : h(y) ? v(y) : I(y) && d() : y.key === "Tab" && (o() ? i(y) : s() ? l(y) : g(y) && d()));
|
4543
4543
|
}
|
4544
4544
|
w.useEffect(() => (r.addEventListener("keydown", n), () => {
|
4545
4545
|
r.removeEventListener("keydown", n);
|
@@ -4580,7 +4580,7 @@ function $i(e, t) {
|
|
4580
4580
|
const m = t.current && Oe(t.current);
|
4581
4581
|
return m ? m.length === 0 ? !1 : y.target === m[0] : !1;
|
4582
4582
|
}
|
4583
|
-
function
|
4583
|
+
function v(y) {
|
4584
4584
|
var m;
|
4585
4585
|
y.preventDefault(), (m = e.current) == null || m.focus();
|
4586
4586
|
}
|
@@ -4718,15 +4718,15 @@ function as(e, t) {
|
|
4718
4718
|
return function(h) {
|
4719
4719
|
if (!["ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(h.key))
|
4720
4720
|
return;
|
4721
|
-
let
|
4721
|
+
let v = a != null ? a : -1, g = o ? r.filter(o) : r;
|
4722
4722
|
if (!g.length)
|
4723
4723
|
return;
|
4724
4724
|
let I = g.findIndex((m) => m.index === a);
|
4725
4725
|
function T() {
|
4726
|
-
return
|
4726
|
+
return v === y().index ? l ? S() : g[I] : g[(I + 1) % g.length];
|
4727
4727
|
}
|
4728
4728
|
function d() {
|
4729
|
-
return
|
4729
|
+
return v === S().index ? l ? y() : g[I] : g[(I - 1 + g.length) % g.length];
|
4730
4730
|
}
|
4731
4731
|
function S() {
|
4732
4732
|
return g[0];
|
@@ -4775,8 +4775,8 @@ function as(e, t) {
|
|
4775
4775
|
break;
|
4776
4776
|
case "PageDown":
|
4777
4777
|
h.preventDefault();
|
4778
|
-
let
|
4779
|
-
n(i === "option" ?
|
4778
|
+
let p = (h.ctrlKey ? T : y)();
|
4779
|
+
n(i === "option" ? p : p[i]);
|
4780
4780
|
break;
|
4781
4781
|
case "End":
|
4782
4782
|
h.preventDefault();
|
@@ -4821,7 +4821,7 @@ var Qn = "CLEAR_SELECTION_INDEX", lr = "CLICK_MENU_ITEM", tt = "CLOSE_MENU", ss
|
|
4821
4821
|
let r = w.useRef(null), n = w.useRef(null), a = w.useRef(null), [o, i] = ts(), s = qn(e), l = e || Ye("menu", s), f = Ye("menu-button", l), [c, h] = w.useReducer(vs, {
|
4822
4822
|
...ls,
|
4823
4823
|
triggerId: f
|
4824
|
-
}),
|
4824
|
+
}), v = w.useRef(!1), g = w.useRef([]), I = w.useRef(!1), T = w.useRef({
|
4825
4825
|
x: 0,
|
4826
4826
|
y: 0
|
4827
4827
|
});
|
@@ -4842,7 +4842,7 @@ var Qn = "CLEAR_SELECTION_INDEX", lr = "CLICK_MENU_ITEM", tt = "CLOSE_MENU", ss
|
|
4842
4842
|
readyToSelect: I,
|
4843
4843
|
selectCallbacks: g,
|
4844
4844
|
state: c,
|
4845
|
-
triggerClickedRef:
|
4845
|
+
triggerClickedRef: v,
|
4846
4846
|
triggerRef: r,
|
4847
4847
|
children: ft(t) ? t({
|
4848
4848
|
isExpanded: c.isExpanded,
|
@@ -4869,7 +4869,7 @@ function ta({
|
|
4869
4869
|
triggerId: c,
|
4870
4870
|
isExpanded: h
|
4871
4871
|
}
|
4872
|
-
} = nt("useDropdownTrigger"),
|
4872
|
+
} = nt("useDropdownTrigger"), v = Ge(f, n), g = ia(), I = w.useMemo(() => g.findIndex((S) => !S.disabled), [g]);
|
4873
4873
|
w.useEffect(() => {
|
4874
4874
|
r != null && r !== c && o({
|
4875
4875
|
type: Wt,
|
@@ -4920,7 +4920,7 @@ function ta({
|
|
4920
4920
|
},
|
4921
4921
|
props: {
|
4922
4922
|
...a,
|
4923
|
-
ref:
|
4923
|
+
ref: v,
|
4924
4924
|
id: c || void 0,
|
4925
4925
|
onKeyDown: W(e, T),
|
4926
4926
|
onMouseDown: W(t, d),
|
@@ -4957,7 +4957,7 @@ function ra({
|
|
4957
4957
|
onSelect: f,
|
4958
4958
|
disabled: c,
|
4959
4959
|
onFocus: h,
|
4960
|
-
valueText:
|
4960
|
+
valueText: v,
|
4961
4961
|
ref: g,
|
4962
4962
|
...I
|
4963
4963
|
}) {
|
@@ -4969,17 +4969,17 @@ function ra({
|
|
4969
4969
|
selectCallbacks: m,
|
4970
4970
|
triggerRef: R,
|
4971
4971
|
state: {
|
4972
|
-
selectionIndex:
|
4972
|
+
selectionIndex: p,
|
4973
4973
|
isExpanded: N
|
4974
4974
|
}
|
4975
|
-
} = nt("useDropdownItem"), _ = w.useRef(null), [ee, se] = w.useState(
|
4976
|
-
!
|
4977
|
-
}, [
|
4975
|
+
} = nt("useDropdownItem"), _ = w.useRef(null), [ee, se] = w.useState(v || ""), ue = w.useCallback((F) => {
|
4976
|
+
!v && (F == null ? void 0 : F.textContent) && se(F.textContent);
|
4977
|
+
}, [v]), ce = w.useRef(!1), [me, $] = Ii(_, null), ae = w.useMemo(() => ({
|
4978
4978
|
element: me,
|
4979
4979
|
key: ee,
|
4980
4980
|
disabled: c,
|
4981
4981
|
isLink: t
|
4982
|
-
}), [c, me, t, ee]), J = es(ae, Et, e), Z = J ===
|
4982
|
+
}), [c, me, t, ee]), J = es(ae, Et, e), Z = J === p && !c, oe = Ge(g, $, ue);
|
4983
4983
|
m.current[J] = f;
|
4984
4984
|
function Q() {
|
4985
4985
|
dt(R.current), f && f(), T({
|
@@ -5112,24 +5112,24 @@ function na({
|
|
5112
5112
|
isExpanded: f,
|
5113
5113
|
triggerId: c,
|
5114
5114
|
selectionIndex: h,
|
5115
|
-
typeaheadQuery:
|
5115
|
+
typeaheadQuery: v
|
5116
5116
|
}
|
5117
5117
|
} = nt("useDropdownItems"), g = ia(), I = Ge(i, r);
|
5118
5118
|
w.useEffect(() => {
|
5119
|
-
let m = ms(g,
|
5120
|
-
|
5119
|
+
let m = ms(g, v);
|
5120
|
+
v && m != null && a({
|
5121
5121
|
type: Le,
|
5122
5122
|
payload: {
|
5123
5123
|
index: m,
|
5124
5124
|
dropdownRef: i
|
5125
5125
|
}
|
5126
5126
|
});
|
5127
|
-
let R = window.setTimeout(() =>
|
5127
|
+
let R = window.setTimeout(() => v && a({
|
5128
5128
|
type: Yt,
|
5129
5129
|
payload: ""
|
5130
5130
|
}), 1e3);
|
5131
5131
|
return () => window.clearTimeout(R);
|
5132
|
-
}, [a, g,
|
5132
|
+
}, [a, g, v, i]);
|
5133
5133
|
let T = Nt(g.length), d = Nt(g[h]), S = Nt(h);
|
5134
5134
|
w.useEffect(() => {
|
5135
5135
|
h > g.length - 1 ? a({
|
@@ -5148,10 +5148,10 @@ function na({
|
|
5148
5148
|
}, [i, a, g, T, d, S, h]);
|
5149
5149
|
let y = W(function(R) {
|
5150
5150
|
let {
|
5151
|
-
key:
|
5151
|
+
key: p
|
5152
5152
|
} = R;
|
5153
5153
|
if (!!f)
|
5154
|
-
switch (
|
5154
|
+
switch (p) {
|
5155
5155
|
case "Enter":
|
5156
5156
|
case " ":
|
5157
5157
|
let N = g.find((_) => _.index === h);
|
@@ -5168,8 +5168,8 @@ function na({
|
|
5168
5168
|
R.preventDefault();
|
5169
5169
|
break;
|
5170
5170
|
default:
|
5171
|
-
if (Ti(
|
5172
|
-
let _ =
|
5171
|
+
if (Ti(p) && p.length === 1) {
|
5172
|
+
let _ = v + p.toLowerCase();
|
5173
5173
|
a({
|
5174
5174
|
type: Yt,
|
5175
5175
|
payload: _
|
@@ -5243,14 +5243,14 @@ function aa({
|
|
5243
5243
|
return w.useEffect(() => {
|
5244
5244
|
if (!c)
|
5245
5245
|
return;
|
5246
|
-
let
|
5246
|
+
let v = De(f.current);
|
5247
5247
|
function g(I) {
|
5248
5248
|
i.current ? i.current = !1 : ps(f.current, I.target) || s({
|
5249
5249
|
type: tt
|
5250
5250
|
});
|
5251
5251
|
}
|
5252
|
-
return
|
5253
|
-
|
5252
|
+
return v.addEventListener("mousedown", g), () => {
|
5253
|
+
v.removeEventListener("mousedown", g);
|
5254
5254
|
};
|
5255
5255
|
}, [i, o, s, l, f, c]), {
|
5256
5256
|
data: {
|
@@ -5262,8 +5262,8 @@ function aa({
|
|
5262
5262
|
props: {
|
5263
5263
|
ref: h,
|
5264
5264
|
hidden: !c,
|
5265
|
-
onBlur: W(e, (
|
5266
|
-
|
5265
|
+
onBlur: W(e, (v) => {
|
5266
|
+
v.currentTarget.contains(v.relatedTarget) || s({
|
5267
5267
|
type: tt
|
5268
5268
|
});
|
5269
5269
|
}),
|
@@ -5409,7 +5409,7 @@ function gs() {
|
|
5409
5409
|
if (Qr)
|
5410
5410
|
return z;
|
5411
5411
|
Qr = 1;
|
5412
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), i = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"),
|
5412
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), i = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), I;
|
5413
5413
|
I = Symbol.for("react.module.reference");
|
5414
5414
|
function T(d) {
|
5415
5415
|
if (typeof d == "object" && d !== null) {
|
@@ -5428,7 +5428,7 @@ function gs() {
|
|
5428
5428
|
case s:
|
5429
5429
|
case i:
|
5430
5430
|
case l:
|
5431
|
-
case
|
5431
|
+
case v:
|
5432
5432
|
case h:
|
5433
5433
|
case o:
|
5434
5434
|
return d;
|
@@ -5441,7 +5441,7 @@ function gs() {
|
|
5441
5441
|
}
|
5442
5442
|
}
|
5443
5443
|
}
|
5444
|
-
return z.ContextConsumer = i, z.ContextProvider = o, z.Element = e, z.ForwardRef = l, z.Fragment = r, z.Lazy =
|
5444
|
+
return z.ContextConsumer = i, z.ContextProvider = o, z.Element = e, z.ForwardRef = l, z.Fragment = r, z.Lazy = v, z.Memo = h, z.Portal = t, z.Profiler = a, z.StrictMode = n, z.Suspense = f, z.SuspenseList = c, z.isAsyncMode = function() {
|
5445
5445
|
return !1;
|
5446
5446
|
}, z.isConcurrentMode = function() {
|
5447
5447
|
return !1;
|
@@ -5456,7 +5456,7 @@ function gs() {
|
|
5456
5456
|
}, z.isFragment = function(d) {
|
5457
5457
|
return T(d) === r;
|
5458
5458
|
}, z.isLazy = function(d) {
|
5459
|
-
return T(d) ===
|
5459
|
+
return T(d) === v;
|
5460
5460
|
}, z.isMemo = function(d) {
|
5461
5461
|
return T(d) === h;
|
5462
5462
|
}, z.isPortal = function(d) {
|
@@ -5470,7 +5470,7 @@ function gs() {
|
|
5470
5470
|
}, z.isSuspenseList = function(d) {
|
5471
5471
|
return T(d) === c;
|
5472
5472
|
}, z.isValidElementType = function(d) {
|
5473
|
-
return typeof d == "string" || typeof d == "function" || d === r || d === a || d === n || d === f || d === c || d === g || typeof d == "object" && d !== null && (d.$$typeof ===
|
5473
|
+
return typeof d == "string" || typeof d == "function" || d === r || d === a || d === n || d === f || d === c || d === g || typeof d == "object" && d !== null && (d.$$typeof === v || d.$$typeof === h || d.$$typeof === o || d.$$typeof === i || d.$$typeof === l || d.$$typeof === I || d.getModuleId !== void 0);
|
5474
5474
|
}, z.typeOf = T, z;
|
5475
5475
|
}
|
5476
5476
|
var G = {};
|
@@ -5486,12 +5486,12 @@ var G = {};
|
|
5486
5486
|
var Kr;
|
5487
5487
|
function ys() {
|
5488
5488
|
return Kr || (Kr = 1, process.env.NODE_ENV !== "production" && function() {
|
5489
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), i = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"),
|
5489
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), i = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), I = !1, T = !1, d = !1, S = !1, y = !1, m;
|
5490
5490
|
m = Symbol.for("react.module.reference");
|
5491
5491
|
function R(O) {
|
5492
|
-
return !!(typeof O == "string" || typeof O == "function" || O === r || O === a || y || O === n || O === f || O === c || S || O === g || I || T || d || typeof O == "object" && O !== null && (O.$$typeof ===
|
5492
|
+
return !!(typeof O == "string" || typeof O == "function" || O === r || O === a || y || O === n || O === f || O === c || S || O === g || I || T || d || typeof O == "object" && O !== null && (O.$$typeof === v || O.$$typeof === h || O.$$typeof === o || O.$$typeof === i || O.$$typeof === l || O.$$typeof === m || O.getModuleId !== void 0));
|
5493
5493
|
}
|
5494
|
-
function
|
5494
|
+
function p(O) {
|
5495
5495
|
if (typeof O == "object" && O !== null) {
|
5496
5496
|
var pe = O.$$typeof;
|
5497
5497
|
switch (pe) {
|
@@ -5510,7 +5510,7 @@ function ys() {
|
|
5510
5510
|
case s:
|
5511
5511
|
case i:
|
5512
5512
|
case l:
|
5513
|
-
case
|
5513
|
+
case v:
|
5514
5514
|
case h:
|
5515
5515
|
case o:
|
5516
5516
|
return qe;
|
@@ -5523,7 +5523,7 @@ function ys() {
|
|
5523
5523
|
}
|
5524
5524
|
}
|
5525
5525
|
}
|
5526
|
-
var N = i, _ = o, ee = e, se = l, ue = r, ce =
|
5526
|
+
var N = i, _ = o, ee = e, se = l, ue = r, ce = v, me = h, $ = t, ae = a, J = n, Z = f, oe = c, Q = !1, xe = !1;
|
5527
5527
|
function Se(O) {
|
5528
5528
|
return Q || (Q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
5529
5529
|
}
|
@@ -5531,42 +5531,42 @@ function ys() {
|
|
5531
5531
|
return xe || (xe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
5532
5532
|
}
|
5533
5533
|
function Ne(O) {
|
5534
|
-
return
|
5534
|
+
return p(O) === i;
|
5535
5535
|
}
|
5536
5536
|
function Ae(O) {
|
5537
|
-
return
|
5537
|
+
return p(O) === o;
|
5538
5538
|
}
|
5539
5539
|
function Fe(O) {
|
5540
5540
|
return typeof O == "object" && O !== null && O.$$typeof === e;
|
5541
5541
|
}
|
5542
5542
|
function Be(O) {
|
5543
|
-
return
|
5543
|
+
return p(O) === l;
|
5544
5544
|
}
|
5545
5545
|
function Re(O) {
|
5546
|
-
return
|
5546
|
+
return p(O) === r;
|
5547
5547
|
}
|
5548
5548
|
function F(O) {
|
5549
|
-
return
|
5549
|
+
return p(O) === v;
|
5550
5550
|
}
|
5551
5551
|
function K(O) {
|
5552
|
-
return
|
5552
|
+
return p(O) === h;
|
5553
5553
|
}
|
5554
5554
|
function Ie(O) {
|
5555
|
-
return
|
5555
|
+
return p(O) === t;
|
5556
5556
|
}
|
5557
5557
|
function ge(O) {
|
5558
|
-
return
|
5558
|
+
return p(O) === a;
|
5559
5559
|
}
|
5560
5560
|
function Je(O) {
|
5561
|
-
return
|
5561
|
+
return p(O) === n;
|
5562
5562
|
}
|
5563
5563
|
function P(O) {
|
5564
|
-
return
|
5564
|
+
return p(O) === f;
|
5565
5565
|
}
|
5566
5566
|
function ke(O) {
|
5567
|
-
return
|
5567
|
+
return p(O) === c;
|
5568
5568
|
}
|
5569
|
-
G.ContextConsumer = N, G.ContextProvider = _, G.Element = ee, G.ForwardRef = se, G.Fragment = ue, G.Lazy = ce, G.Memo = me, G.Portal = $, G.Profiler = ae, G.StrictMode = J, G.Suspense = Z, G.SuspenseList = oe, G.isAsyncMode = Se, G.isConcurrentMode = Ce, G.isContextConsumer = Ne, G.isContextProvider = Ae, G.isElement = Fe, G.isForwardRef = Be, G.isFragment = Re, G.isLazy = F, G.isMemo = K, G.isPortal = Ie, G.isProfiler = ge, G.isStrictMode = Je, G.isSuspense = P, G.isSuspenseList = ke, G.isValidElementType = R, G.typeOf =
|
5569
|
+
G.ContextConsumer = N, G.ContextProvider = _, G.Element = ee, G.ForwardRef = se, G.Fragment = ue, G.Lazy = ce, G.Memo = me, G.Portal = $, G.Profiler = ae, G.StrictMode = J, G.Suspense = Z, G.SuspenseList = oe, G.isAsyncMode = Se, G.isConcurrentMode = Ce, G.isContextConsumer = Ne, G.isContextProvider = Ae, G.isElement = Fe, G.isForwardRef = Be, G.isFragment = Re, G.isLazy = F, G.isMemo = K, G.isPortal = Ie, G.isProfiler = ge, G.isStrictMode = Je, G.isSuspense = P, G.isSuspenseList = ke, G.isValidElementType = R, G.typeOf = p;
|
5570
5570
|
}()), G;
|
5571
5571
|
}
|
5572
5572
|
(function(e) {
|
@@ -5944,7 +5944,7 @@ function da({
|
|
5944
5944
|
onFocus: f,
|
5945
5945
|
onBlur: c,
|
5946
5946
|
onKeyDown: h,
|
5947
|
-
disabled:
|
5947
|
+
disabled: v,
|
5948
5948
|
ref: g,
|
5949
5949
|
DEBUG_STYLE: I
|
5950
5950
|
} = {}) {
|
@@ -5962,11 +5962,11 @@ function da({
|
|
5962
5962
|
}
|
5963
5963
|
return Z.addEventListener("keydown", oe), () => Z.removeEventListener("keydown", oe);
|
5964
5964
|
}, []), As({
|
5965
|
-
disabled:
|
5965
|
+
disabled: v,
|
5966
5966
|
isVisible: d,
|
5967
5967
|
ref: y
|
5968
5968
|
});
|
5969
|
-
function
|
5969
|
+
function p(Z, oe) {
|
5970
5970
|
return typeof window < "u" && "PointerEvent" in window ? Z : W(Z, oe);
|
5971
5971
|
}
|
5972
5972
|
function N(Z) {
|
@@ -6021,10 +6021,10 @@ function da({
|
|
6021
6021
|
onPointerMove: W(r, N(ee)),
|
6022
6022
|
onPointerLeave: W(n, N(se)),
|
6023
6023
|
onPointerDown: W(a, N(ue)),
|
6024
|
-
onMouseEnter:
|
6025
|
-
onMouseMove:
|
6026
|
-
onMouseLeave:
|
6027
|
-
onMouseDown:
|
6024
|
+
onMouseEnter: p(o, _),
|
6025
|
+
onMouseMove: p(i, ee),
|
6026
|
+
onMouseLeave: p(s, se),
|
6027
|
+
onMouseDown: p(l, ue),
|
6028
6028
|
onFocus: W(f, ce),
|
6029
6029
|
onBlur: W(c, me),
|
6030
6030
|
onKeyDown: W(h, $)
|
@@ -6105,22 +6105,22 @@ var ma = w.forwardRef(function({
|
|
6105
6105
|
triggerRect: f,
|
6106
6106
|
...c
|
6107
6107
|
}, h) {
|
6108
|
-
let
|
6108
|
+
let v = (r || t) != null, g = w.useRef(null), I = Ge(h, g), T = ht(g, {
|
6109
6109
|
observe: o
|
6110
6110
|
});
|
6111
6111
|
return /* @__PURE__ */ j(yt, {
|
6112
6112
|
children: [/* @__PURE__ */ E(n, {
|
6113
|
-
role:
|
6113
|
+
role: v ? void 0 : "tooltip",
|
6114
6114
|
...c,
|
6115
6115
|
ref: I,
|
6116
6116
|
"data-reach-tooltip": "",
|
6117
|
-
id:
|
6117
|
+
id: v ? void 0 : a,
|
6118
6118
|
style: {
|
6119
6119
|
...l,
|
6120
6120
|
...Os(s, f, T)
|
6121
6121
|
},
|
6122
6122
|
children: i
|
6123
|
-
}),
|
6123
|
+
}), v && /* @__PURE__ */ E(ha, {
|
6124
6124
|
role: "tooltip",
|
6125
6125
|
id: a,
|
6126
6126
|
children: r || t
|
@@ -6393,7 +6393,7 @@ function Us({
|
|
6393
6393
|
children: [/* @__PURE__ */ E("div", {
|
6394
6394
|
className: "tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-lg tw-font-semibold tw-leading-tight tw-text-black",
|
6395
6395
|
children: e
|
6396
|
-
}), /* @__PURE__ */ E(mt, {
|
6396
|
+
}), n && /* @__PURE__ */ E(mt, {
|
6397
6397
|
className: "tw-self-start tw-text-base hover:tw-text-gray-900 hover:tw-font-medium hover:tw-underline",
|
6398
6398
|
onSelect: n,
|
6399
6399
|
children: a.formatMessage({
|
@@ -6434,7 +6434,7 @@ function Gs({
|
|
6434
6434
|
username: f,
|
6435
6435
|
version: c,
|
6436
6436
|
logout: h,
|
6437
|
-
updateProfile:
|
6437
|
+
updateProfile: v,
|
6438
6438
|
refreshToken: g,
|
6439
6439
|
loginUrl: I,
|
6440
6440
|
withMaxWith: T = !1,
|
@@ -6442,7 +6442,7 @@ function Gs({
|
|
6442
6442
|
showUpgrade: S,
|
6443
6443
|
...y
|
6444
6444
|
}) {
|
6445
|
-
const m = We(), R = t == null ? void 0 : t[e],
|
6445
|
+
const m = We(), R = t == null ? void 0 : t[e], p = "x4b-settings", N = t == null ? void 0 : t[p], _ = "support@xcomponent.com", ee = R && {
|
6446
6446
|
applicationName: R == null ? void 0 : R.name,
|
6447
6447
|
username: f,
|
6448
6448
|
version: c,
|
@@ -6540,7 +6540,7 @@ function Gs({
|
|
6540
6540
|
}), r !== void 0 && g && /* @__PURE__ */ E(ks, {
|
6541
6541
|
count: r,
|
6542
6542
|
onClick: n
|
6543
|
-
}), N && e !==
|
6543
|
+
}), N && e !== p && g && /* @__PURE__ */ j(le, {
|
6544
6544
|
as: "a",
|
6545
6545
|
variant: "ghost",
|
6546
6546
|
colorScheme: "primary",
|
@@ -6636,14 +6636,14 @@ function Gs({
|
|
6636
6636
|
fill: "#ECB22E"
|
6637
6637
|
})]
|
6638
6638
|
})
|
6639
|
-
}), g && e ===
|
6639
|
+
}), g && e === p && t && /* @__PURE__ */ E(Es, {
|
6640
6640
|
applicationDescriptions: t,
|
6641
6641
|
refreshToken: g
|
6642
|
-
}), g && f && c && h &&
|
6642
|
+
}), g && f && c && h && /* @__PURE__ */ E(Us, {
|
6643
6643
|
username: f,
|
6644
6644
|
version: c,
|
6645
6645
|
onLogout: h,
|
6646
|
-
onUpdateProfile:
|
6646
|
+
onUpdateProfile: v
|
6647
6647
|
}), /* @__PURE__ */ E(Bs, {
|
6648
6648
|
language: i || "en",
|
6649
6649
|
languages: s || ["en"],
|