@x4b/banner 28.7.0 → 28.8.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as w from "react";
2
2
  import ce, { useCallback as Xt, useLayoutEffect as xa, useEffect as qr, useRef as Ta, useState as Qr } from "react";
3
- import { Button as re } from "@x4b/design-system";
3
+ import { Button as ee } from "@x4b/design-system";
4
4
  import { createPortal as Sa } from "react-dom";
5
5
  var Pt = function(e, t) {
6
6
  return Pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -10,7 +10,7 @@ var Pt = function(e, t) {
10
10
  Object.prototype.hasOwnProperty.call(n, a) && (r[a] = n[a]);
11
11
  }, Pt(e, t);
12
12
  };
13
- function ee(e, t) {
13
+ function te(e, t) {
14
14
  if (typeof t != "function" && t !== null)
15
15
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
16
16
  Pt(e, t);
@@ -19,15 +19,15 @@ function ee(e, t) {
19
19
  }
20
20
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
21
21
  }
22
- var S = function() {
23
- return S = Object.assign || function(t) {
22
+ var T = function() {
23
+ return T = Object.assign || function(t) {
24
24
  for (var r, n = 1, a = arguments.length; n < a; n++) {
25
25
  r = arguments[n];
26
26
  for (var o in r)
27
27
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
28
28
  }
29
29
  return t;
30
- }, S.apply(this, arguments);
30
+ }, T.apply(this, arguments);
31
31
  };
32
32
  function Vt(e, t) {
33
33
  var r = {};
@@ -58,8 +58,8 @@ function Ra() {
58
58
  if (yr)
59
59
  return _;
60
60
  yr = 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, l = e ? Symbol.for("react.context") : 60110, u = 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, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, I = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, p = e ? Symbol.for("react.scope") : 60119;
62
- function v(y) {
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, l = e ? Symbol.for("react.context") : 60110, u = 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, m = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, p = e ? Symbol.for("react.scope") : 60119;
62
+ function g(y) {
63
63
  if (typeof y == "object" && y !== null) {
64
64
  var z = y.$$typeof;
65
65
  switch (z) {
@@ -89,36 +89,36 @@ function Ra() {
89
89
  }
90
90
  }
91
91
  }
92
- function P(y) {
93
- return v(y) === f;
92
+ function N(y) {
93
+ return g(y) === f;
94
94
  }
95
95
  return _.AsyncMode = u, _.ConcurrentMode = f, _.ContextConsumer = l, _.ContextProvider = i, _.Element = t, _.ForwardRef = c, _.Fragment = n, _.Lazy = M, _.Memo = b, _.Portal = r, _.Profiler = o, _.StrictMode = a, _.Suspense = h, _.isAsyncMode = function(y) {
96
- return P(y) || v(y) === u;
97
- }, _.isConcurrentMode = P, _.isContextConsumer = function(y) {
98
- return v(y) === l;
96
+ return N(y) || g(y) === u;
97
+ }, _.isConcurrentMode = N, _.isContextConsumer = function(y) {
98
+ return g(y) === l;
99
99
  }, _.isContextProvider = function(y) {
100
- return v(y) === i;
100
+ return g(y) === i;
101
101
  }, _.isElement = function(y) {
102
102
  return typeof y == "object" && y !== null && y.$$typeof === t;
103
103
  }, _.isForwardRef = function(y) {
104
- return v(y) === c;
104
+ return g(y) === c;
105
105
  }, _.isFragment = function(y) {
106
- return v(y) === n;
106
+ return g(y) === n;
107
107
  }, _.isLazy = function(y) {
108
- return v(y) === M;
108
+ return g(y) === M;
109
109
  }, _.isMemo = function(y) {
110
- return v(y) === b;
110
+ return g(y) === b;
111
111
  }, _.isPortal = function(y) {
112
- return v(y) === r;
112
+ return g(y) === r;
113
113
  }, _.isProfiler = function(y) {
114
- return v(y) === o;
114
+ return g(y) === o;
115
115
  }, _.isStrictMode = function(y) {
116
- return v(y) === a;
116
+ return g(y) === a;
117
117
  }, _.isSuspense = function(y) {
118
- return v(y) === h;
118
+ return g(y) === h;
119
119
  }, _.isValidElementType = function(y) {
120
- return typeof y == "string" || typeof y == "function" || y === n || y === f || y === o || y === a || y === h || y === g || typeof y == "object" && y !== null && (y.$$typeof === M || y.$$typeof === b || y.$$typeof === i || y.$$typeof === l || y.$$typeof === c || y.$$typeof === T || y.$$typeof === x || y.$$typeof === p || y.$$typeof === I);
121
- }, _.typeOf = v, _;
120
+ return typeof y == "string" || typeof y == "function" || y === n || y === f || y === o || y === a || y === h || y === m || typeof y == "object" && y !== null && (y.$$typeof === M || y.$$typeof === b || y.$$typeof === i || y.$$typeof === l || y.$$typeof === c || y.$$typeof === I || y.$$typeof === x || y.$$typeof === p || y.$$typeof === R);
121
+ }, _.typeOf = g, _;
122
122
  }
123
123
  var F = {};
124
124
  /** @license React v16.13.1
@@ -132,16 +132,16 @@ var F = {};
132
132
  var br;
133
133
  function Ia() {
134
134
  return br || (br = 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, l = e ? Symbol.for("react.context") : 60110, u = 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, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, I = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, p = e ? Symbol.for("react.scope") : 60119;
136
- function v(R) {
137
- return typeof R == "string" || typeof R == "function" || R === n || R === f || R === o || R === a || R === h || R === g || typeof R == "object" && R !== null && (R.$$typeof === M || R.$$typeof === b || R.$$typeof === i || R.$$typeof === l || R.$$typeof === c || R.$$typeof === T || R.$$typeof === x || R.$$typeof === p || R.$$typeof === I);
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, l = e ? Symbol.for("react.context") : 60110, u = 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, m = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, M = e ? Symbol.for("react.lazy") : 60116, R = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, p = e ? Symbol.for("react.scope") : 60119;
136
+ function g(S) {
137
+ return typeof S == "string" || typeof S == "function" || S === n || S === f || S === o || S === a || S === h || S === m || typeof S == "object" && S !== null && (S.$$typeof === M || S.$$typeof === b || S.$$typeof === i || S.$$typeof === l || S.$$typeof === c || S.$$typeof === I || S.$$typeof === x || S.$$typeof === p || S.$$typeof === R);
138
138
  }
139
- function P(R) {
140
- if (typeof R == "object" && R !== null) {
141
- var Ue = R.$$typeof;
139
+ function N(S) {
140
+ if (typeof S == "object" && S !== null) {
141
+ var Ue = S.$$typeof;
142
142
  switch (Ue) {
143
143
  case t:
144
- var Ce = R.type;
144
+ var Ce = S.type;
145
145
  switch (Ce) {
146
146
  case u:
147
147
  case f:
@@ -168,47 +168,47 @@ function Ia() {
168
168
  }
169
169
  }
170
170
  }
171
- var y = u, z = f, B = l, ge = i, Ie = t, Fe = c, fe = n, ye = M, Q = b, te = r, V = o, se = a, Me = h, he = !1;
172
- function Pe(R) {
173
- return he || (he = !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.")), be(R) || P(R) === u;
171
+ var y = u, z = f, B = l, ge = i, Ie = t, Fe = c, fe = n, ye = M, Q = b, re = r, V = o, se = a, Me = h, he = !1;
172
+ function Pe(S) {
173
+ return he || (he = !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.")), be(S) || N(S) === u;
174
174
  }
175
- function be(R) {
176
- return P(R) === f;
175
+ function be(S) {
176
+ return N(S) === f;
177
177
  }
178
- function Ne(R) {
179
- return P(R) === l;
178
+ function Ne(S) {
179
+ return N(S) === l;
180
180
  }
181
- function Oe(R) {
182
- return P(R) === i;
181
+ function Oe(S) {
182
+ return N(S) === i;
183
183
  }
184
- function Ae(R) {
185
- return typeof R == "object" && R !== null && R.$$typeof === t;
184
+ function Ae(S) {
185
+ return typeof S == "object" && S !== null && S.$$typeof === t;
186
186
  }
187
- function Be(R) {
188
- return P(R) === c;
187
+ function Be(S) {
188
+ return N(S) === c;
189
189
  }
190
- function ke(R) {
191
- return P(R) === n;
190
+ function ke(S) {
191
+ return N(S) === n;
192
192
  }
193
- function Ee(R) {
194
- return P(R) === M;
193
+ function Ee(S) {
194
+ return N(S) === M;
195
195
  }
196
- function L(R) {
197
- return P(R) === b;
196
+ function L(S) {
197
+ return N(S) === b;
198
198
  }
199
- function J(R) {
200
- return P(R) === r;
199
+ function J(S) {
200
+ return N(S) === r;
201
201
  }
202
- function we(R) {
203
- return P(R) === o;
202
+ function we(S) {
203
+ return N(S) === o;
204
204
  }
205
- function de(R) {
206
- return P(R) === a;
205
+ function de(S) {
206
+ return N(S) === a;
207
207
  }
208
- function mt(R) {
209
- return P(R) === h;
208
+ function mt(S) {
209
+ return N(S) === h;
210
210
  }
211
- F.AsyncMode = y, F.ConcurrentMode = z, F.ContextConsumer = B, F.ContextProvider = ge, F.Element = Ie, F.ForwardRef = Fe, F.Fragment = fe, F.Lazy = ye, F.Memo = Q, F.Portal = te, F.Profiler = V, F.StrictMode = se, F.Suspense = Me, F.isAsyncMode = Pe, F.isConcurrentMode = be, F.isContextConsumer = Ne, F.isContextProvider = Oe, F.isElement = Ae, F.isForwardRef = Be, F.isFragment = ke, F.isLazy = Ee, F.isMemo = L, F.isPortal = J, F.isProfiler = we, F.isStrictMode = de, F.isSuspense = mt, F.isValidElementType = v, F.typeOf = P;
211
+ F.AsyncMode = y, F.ConcurrentMode = z, F.ContextConsumer = B, F.ContextProvider = ge, F.Element = Ie, F.ForwardRef = Fe, F.Fragment = fe, F.Lazy = ye, F.Memo = Q, F.Portal = re, F.Profiler = V, F.StrictMode = se, F.Suspense = Me, F.isAsyncMode = Pe, F.isConcurrentMode = be, F.isContextConsumer = Ne, F.isContextProvider = Oe, F.isElement = Ae, F.isForwardRef = Be, F.isFragment = ke, F.isLazy = Ee, F.isMemo = L, F.isPortal = J, F.isProfiler = we, F.isStrictMode = de, F.isSuspense = mt, F.isValidElementType = g, F.typeOf = N;
212
212
  }()), F;
213
213
  }
214
214
  (function(e) {
@@ -238,40 +238,40 @@ var A;
238
238
  (function(e) {
239
239
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
240
240
  })(A || (A = {}));
241
- var j;
241
+ var G;
242
242
  (function(e) {
243
243
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
244
- })(j || (j = {}));
244
+ })(G || (G = {}));
245
245
  var _e;
246
246
  (function(e) {
247
247
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
248
248
  })(_e || (_e = {}));
249
249
  function Er(e) {
250
- return e.type === j.literal;
250
+ return e.type === G.literal;
251
251
  }
252
252
  function Na(e) {
253
- return e.type === j.argument;
253
+ return e.type === G.argument;
254
254
  }
255
255
  function tn(e) {
256
- return e.type === j.number;
256
+ return e.type === G.number;
257
257
  }
258
258
  function rn(e) {
259
- return e.type === j.date;
259
+ return e.type === G.date;
260
260
  }
261
261
  function nn(e) {
262
- return e.type === j.time;
262
+ return e.type === G.time;
263
263
  }
264
264
  function an(e) {
265
- return e.type === j.select;
265
+ return e.type === G.select;
266
266
  }
267
267
  function on(e) {
268
- return e.type === j.plural;
268
+ return e.type === G.plural;
269
269
  }
270
270
  function Oa(e) {
271
- return e.type === j.pound;
271
+ return e.type === G.pound;
272
272
  }
273
273
  function sn(e) {
274
- return e.type === j.tag;
274
+ return e.type === G.tag;
275
275
  }
276
276
  function ln(e) {
277
277
  return !!(e && typeof e == "object" && e.type === _e.number);
@@ -375,8 +375,8 @@ var Da = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
375
375
  function Ha(e) {
376
376
  if (e.length === 0)
377
377
  throw new Error("Number skeleton cannot be empty");
378
- for (var t = e.split(Da).filter(function(g) {
379
- return g.length > 0;
378
+ for (var t = e.split(Da).filter(function(m) {
379
+ return m.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)
@@ -493,13 +493,13 @@ function Ba(e) {
493
493
  t.notation = "compact", t.compactDisplay = "long";
494
494
  continue;
495
495
  case "scientific":
496
- t = S(S(S({}, t), { notation: "scientific" }), a.options.reduce(function(u, f) {
497
- return S(S({}, u), Tr(f));
496
+ t = T(T(T({}, t), { notation: "scientific" }), a.options.reduce(function(u, f) {
497
+ return T(T({}, u), Tr(f));
498
498
  }, {}));
499
499
  continue;
500
500
  case "engineering":
501
- t = S(S(S({}, t), { notation: "engineering" }), a.options.reduce(function(u, f) {
502
- return S(S({}, u), Tr(f));
501
+ t = T(T(T({}, t), { notation: "engineering" }), a.options.reduce(function(u, f) {
502
+ return T(T({}, u), Tr(f));
503
503
  }, {}));
504
504
  continue;
505
505
  case "notation-simple":
@@ -523,11 +523,11 @@ function Ba(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(_a, function(u, f, c, h, g, b) {
526
+ a.options[0].replace(_a, function(u, f, c, h, m, b) {
527
527
  if (f)
528
528
  t.minimumIntegerDigits = c.length;
529
529
  else {
530
- if (h && g)
530
+ if (h && m)
531
531
  throw new Error("We currently do not support maximum integer digits");
532
532
  if (b)
533
533
  throw new Error("We currently do not support exact integer digits");
@@ -543,21 +543,21 @@ function Ba(e) {
543
543
  if (wr.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(wr, function(u, f, c, h, g, b) {
547
- return c === "*" ? t.minimumFractionDigits = f.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : g && b ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + b.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
546
+ a.stem.replace(wr, function(u, f, c, h, m, b) {
547
+ return c === "*" ? t.minimumFractionDigits = f.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
548
548
  });
549
549
  var o = a.options[0];
550
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), xr(o)));
550
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), xr(o)));
551
551
  continue;
552
552
  }
553
553
  if (cn.test(a.stem)) {
554
- t = S(S({}, t), xr(a.stem));
554
+ t = T(T({}, t), xr(a.stem));
555
555
  continue;
556
556
  }
557
557
  var i = hn(a.stem);
558
- i && (t = S(S({}, t), i));
558
+ i && (t = T(T({}, t), i));
559
559
  var l = Fa(a.stem);
560
- l && (t = S(S({}, t), l));
560
+ l && (t = T(T({}, t), l));
561
561
  }
562
562
  return t;
563
563
  }
@@ -1934,11 +1934,11 @@ function Ua(e) {
1934
1934
  var a = et[n || ""] || et[r || ""] || et["".concat(r, "-001")] || et["001"];
1935
1935
  return a[0];
1936
1936
  }
1937
- var Et, za = new RegExp("^".concat(un.source, "*")), ja = new RegExp("".concat(un.source, "*$"));
1937
+ var Et, za = new RegExp("^".concat(un.source, "*")), Ga = new RegExp("".concat(un.source, "*$"));
1938
1938
  function D(e, t) {
1939
1939
  return { start: e, end: t };
1940
1940
  }
1941
- var Ga = !!String.prototype.startsWith, Xa = !!String.fromCodePoint, Va = !!Object.fromEntries, Za = !!String.prototype.codePointAt, Ja = !!String.prototype.trimStart, Ya = !!String.prototype.trimEnd, Wa = !!Number.isSafeInteger, qa = Wa ? Number.isSafeInteger : function(e) {
1941
+ var ja = !!String.prototype.startsWith, Xa = !!String.fromCodePoint, Va = !!Object.fromEntries, Za = !!String.prototype.codePointAt, Ja = !!String.prototype.trimStart, Ya = !!String.prototype.trimEnd, Wa = !!Number.isSafeInteger, qa = Wa ? Number.isSafeInteger : function(e) {
1942
1942
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
1943
1943
  }, Ot = !0;
1944
1944
  try {
@@ -1947,7 +1947,7 @@ try {
1947
1947
  } catch {
1948
1948
  Ot = !1;
1949
1949
  }
1950
- var Sr = Ga ? function(t, r, n) {
1950
+ var Sr = ja ? function(t, r, n) {
1951
1951
  return t.startsWith(r, n);
1952
1952
  } : function(t, r, n) {
1953
1953
  return t.slice(n, n + r.length) === r;
@@ -1981,7 +1981,7 @@ var Sr = Ga ? function(t, r, n) {
1981
1981
  }, $a = Ya ? function(t) {
1982
1982
  return t.trimEnd();
1983
1983
  } : function(t) {
1984
- return t.replace(ja, "");
1984
+ return t.replace(Ga, "");
1985
1985
  };
1986
1986
  function mn(e, t) {
1987
1987
  return new RegExp(e, t);
@@ -2027,7 +2027,7 @@ var eo = function() {
2027
2027
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2028
2028
  var l = this.clonePosition();
2029
2029
  this.bump(), a.push({
2030
- type: j.pound,
2030
+ type: G.pound,
2031
2031
  location: D(l, this.clonePosition())
2032
2032
  });
2033
2033
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2055,7 +2055,7 @@ var eo = function() {
2055
2055
  if (this.bumpSpace(), this.bumpIf("/>"))
2056
2056
  return {
2057
2057
  val: {
2058
- type: j.literal,
2058
+ type: G.literal,
2059
2059
  value: "<".concat(a, "/>"),
2060
2060
  location: D(n, this.clonePosition())
2061
2061
  },
@@ -2072,7 +2072,7 @@ var eo = function() {
2072
2072
  var u = this.clonePosition(), f = this.parseTagName();
2073
2073
  return a !== f ? this.error(A.UNMATCHED_CLOSING_TAG, D(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2074
2074
  val: {
2075
- type: j.tag,
2075
+ type: G.tag,
2076
2076
  value: a,
2077
2077
  children: i,
2078
2078
  location: D(n, this.clonePosition())
@@ -2109,7 +2109,7 @@ var eo = function() {
2109
2109
  }
2110
2110
  var u = D(n, this.clonePosition());
2111
2111
  return {
2112
- val: { type: j.literal, value: a, location: u },
2112
+ val: { type: G.literal, value: a, location: u },
2113
2113
  err: null
2114
2114
  };
2115
2115
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2168,7 +2168,7 @@ var eo = function() {
2168
2168
  case 125:
2169
2169
  return this.bump(), {
2170
2170
  val: {
2171
- type: j.argument,
2171
+ type: G.argument,
2172
2172
  value: a,
2173
2173
  location: D(n, this.clonePosition())
2174
2174
  },
@@ -2199,46 +2199,46 @@ var eo = function() {
2199
2199
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2200
2200
  if (h.err)
2201
2201
  return h;
2202
- var g = $a(h.val);
2203
- if (g.length === 0)
2202
+ var m = $a(h.val);
2203
+ if (m.length === 0)
2204
2204
  return this.error(A.EXPECT_ARGUMENT_STYLE, D(this.clonePosition(), this.clonePosition()));
2205
2205
  var b = D(c, this.clonePosition());
2206
- f = { style: g, styleLocation: b };
2206
+ f = { style: m, styleLocation: b };
2207
2207
  }
2208
2208
  var M = this.tryParseArgumentClose(a);
2209
2209
  if (M.err)
2210
2210
  return M;
2211
- var I = D(a, this.clonePosition());
2211
+ var R = D(a, this.clonePosition());
2212
2212
  if (f && Sr(f == null ? void 0 : f.style, "::", 0)) {
2213
- var T = Ka(f.style.slice(2));
2213
+ var I = Ka(f.style.slice(2));
2214
2214
  if (l === "number") {
2215
- var h = this.parseNumberSkeletonFromString(T, f.styleLocation);
2215
+ var h = this.parseNumberSkeletonFromString(I, f.styleLocation);
2216
2216
  return h.err ? h : {
2217
- val: { type: j.number, value: n, location: I, style: h.val },
2217
+ val: { type: G.number, value: n, location: R, style: h.val },
2218
2218
  err: null
2219
2219
  };
2220
2220
  } else {
2221
- if (T.length === 0)
2222
- return this.error(A.EXPECT_DATE_TIME_SKELETON, I);
2223
- var x = T;
2224
- this.locale && (x = ka(T, this.locale));
2225
- var g = {
2221
+ if (I.length === 0)
2222
+ return this.error(A.EXPECT_DATE_TIME_SKELETON, R);
2223
+ var x = I;
2224
+ this.locale && (x = ka(I, this.locale));
2225
+ var m = {
2226
2226
  type: _e.dateTime,
2227
2227
  pattern: x,
2228
2228
  location: f.styleLocation,
2229
2229
  parsedOptions: this.shouldParseSkeletons ? Ca(x) : {}
2230
- }, p = l === "date" ? j.date : j.time;
2230
+ }, p = l === "date" ? G.date : G.time;
2231
2231
  return {
2232
- val: { type: p, value: n, location: I, style: g },
2232
+ val: { type: p, value: n, location: R, style: m },
2233
2233
  err: null
2234
2234
  };
2235
2235
  }
2236
2236
  }
2237
2237
  return {
2238
2238
  val: {
2239
- type: l === "number" ? j.number : l === "date" ? j.date : j.time,
2239
+ type: l === "number" ? G.number : l === "date" ? G.date : G.time,
2240
2240
  value: n,
2241
- location: I,
2241
+ location: R,
2242
2242
  style: (o = f == null ? void 0 : f.style) !== null && o !== void 0 ? o : null
2243
2243
  },
2244
2244
  err: null
@@ -2247,21 +2247,21 @@ var eo = function() {
2247
2247
  case "plural":
2248
2248
  case "selectordinal":
2249
2249
  case "select": {
2250
- var v = this.clonePosition();
2250
+ var g = this.clonePosition();
2251
2251
  if (this.bumpSpace(), !this.bumpIf(","))
2252
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, D(v, S({}, v)));
2252
+ return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, D(g, T({}, g)));
2253
2253
  this.bumpSpace();
2254
- var P = this.parseIdentifierIfPossible(), y = 0;
2255
- if (l !== "select" && P.value === "offset") {
2254
+ var N = this.parseIdentifierIfPossible(), y = 0;
2255
+ if (l !== "select" && N.value === "offset") {
2256
2256
  if (!this.bumpIf(":"))
2257
2257
  return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, D(this.clonePosition(), this.clonePosition()));
2258
2258
  this.bumpSpace();
2259
2259
  var h = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2260
2260
  if (h.err)
2261
2261
  return h;
2262
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), y = h.val;
2262
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), y = h.val;
2263
2263
  }
2264
- var z = this.tryParsePluralOrSelectOptions(t, l, r, P);
2264
+ var z = this.tryParsePluralOrSelectOptions(t, l, r, N);
2265
2265
  if (z.err)
2266
2266
  return z;
2267
2267
  var M = this.tryParseArgumentClose(a);
@@ -2270,7 +2270,7 @@ var eo = function() {
2270
2270
  var B = D(a, this.clonePosition());
2271
2271
  return l === "select" ? {
2272
2272
  val: {
2273
- type: j.select,
2273
+ type: G.select,
2274
2274
  value: n,
2275
2275
  options: Rr(z.val),
2276
2276
  location: B
@@ -2278,7 +2278,7 @@ var eo = function() {
2278
2278
  err: null
2279
2279
  } : {
2280
2280
  val: {
2281
- type: j.plural,
2281
+ type: G.plural,
2282
2282
  value: n,
2283
2283
  options: Rr(z.val),
2284
2284
  offset: y,
@@ -2349,9 +2349,9 @@ var eo = function() {
2349
2349
  if (f.length === 0) {
2350
2350
  var h = this.clonePosition();
2351
2351
  if (r !== "select" && this.bumpIf("=")) {
2352
- var g = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
2353
- if (g.err)
2354
- return g;
2352
+ var m = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
2353
+ if (m.err)
2354
+ return m;
2355
2355
  c = D(h, this.clonePosition()), f = this.message.slice(h.offset, this.offset());
2356
2356
  } else
2357
2357
  break;
@@ -2365,9 +2365,9 @@ var eo = function() {
2365
2365
  var M = this.parseMessage(t + 1, r, n);
2366
2366
  if (M.err)
2367
2367
  return M;
2368
- var I = this.tryParseArgumentClose(b);
2369
- if (I.err)
2370
- return I;
2368
+ var R = this.tryParseArgumentClose(b);
2369
+ if (R.err)
2370
+ return R;
2371
2371
  l.push([
2372
2372
  f,
2373
2373
  {
@@ -2478,7 +2478,7 @@ function Ht(e) {
2478
2478
  });
2479
2479
  }
2480
2480
  function ao(e, t) {
2481
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2481
+ t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2482
2482
  var r = new eo(e, t).parse();
2483
2483
  if (r.err) {
2484
2484
  var n = SyntaxError(A[r.err.kind]);
@@ -2541,7 +2541,7 @@ var co = {
2541
2541
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2542
2542
  })(ie || (ie = {}));
2543
2543
  var ve = function(e) {
2544
- ee(t, e);
2544
+ te(t, e);
2545
2545
  function t(r, n, a) {
2546
2546
  var o = e.call(this, r) || this;
2547
2547
  return o.code = n, o.originalMessage = a, o;
@@ -2550,19 +2550,19 @@ var ve = function(e) {
2550
2550
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2551
2551
  }, t;
2552
2552
  }(Error), Mr = function(e) {
2553
- ee(t, e);
2553
+ te(t, e);
2554
2554
  function t(r, n, a, o) {
2555
2555
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(a).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
2556
2556
  }
2557
2557
  return t;
2558
2558
  }(ve), fo = function(e) {
2559
- ee(t, e);
2559
+ te(t, e);
2560
2560
  function t(r, n, a) {
2561
2561
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, a) || this;
2562
2562
  }
2563
2563
  return t;
2564
2564
  }(ve), ho = function(e) {
2565
- ee(t, e);
2565
+ te(t, e);
2566
2566
  function t(r, n) {
2567
2567
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
2568
2568
  }
@@ -2607,11 +2607,11 @@ function rt(e, t, r, n, a, o, i) {
2607
2607
  var h = c.value;
2608
2608
  if (!(a && h in a))
2609
2609
  throw new ho(h, i);
2610
- var g = a[h];
2610
+ var m = a[h];
2611
2611
  if (Na(c)) {
2612
- (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), l.push({
2613
- type: typeof g == "string" ? W.literal : W.object,
2614
- value: g
2612
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
2613
+ type: typeof m == "string" ? W.literal : W.object,
2614
+ value: m
2615
2615
  });
2616
2616
  continue;
2617
2617
  }
@@ -2619,7 +2619,7 @@ function rt(e, t, r, n, a, o, i) {
2619
2619
  var b = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
2620
2620
  l.push({
2621
2621
  type: W.literal,
2622
- value: r.getDateTimeFormat(t, b).format(g)
2622
+ value: r.getDateTimeFormat(t, b).format(m)
2623
2623
  });
2624
2624
  continue;
2625
2625
  }
@@ -2627,23 +2627,23 @@ function rt(e, t, r, n, a, o, i) {
2627
2627
  var b = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
2628
2628
  l.push({
2629
2629
  type: W.literal,
2630
- value: r.getDateTimeFormat(t, b).format(g)
2630
+ value: r.getDateTimeFormat(t, b).format(m)
2631
2631
  });
2632
2632
  continue;
2633
2633
  }
2634
2634
  if (tn(c)) {
2635
2635
  var b = typeof c.style == "string" ? n.number[c.style] : ln(c.style) ? c.style.parsedOptions : void 0;
2636
- b && b.scale && (g = g * (b.scale || 1)), l.push({
2636
+ b && b.scale && (m = m * (b.scale || 1)), l.push({
2637
2637
  type: W.literal,
2638
- value: r.getNumberFormat(t, b).format(g)
2638
+ value: r.getNumberFormat(t, b).format(m)
2639
2639
  });
2640
2640
  continue;
2641
2641
  }
2642
2642
  if (sn(c)) {
2643
- var M = c.children, I = c.value, T = a[I];
2644
- if (!yn(T))
2645
- throw new fo(I, "function", i);
2646
- var x = rt(M, t, r, n, a, o), p = T(x.map(function(y) {
2643
+ var M = c.children, R = c.value, I = a[R];
2644
+ if (!yn(I))
2645
+ throw new fo(R, "function", i);
2646
+ var x = rt(M, t, r, n, a, o), p = I(x.map(function(y) {
2647
2647
  return y.value;
2648
2648
  }));
2649
2649
  Array.isArray(p) || (p = [p]), l.push.apply(l, p.map(function(y) {
@@ -2654,39 +2654,39 @@ function rt(e, t, r, n, a, o, i) {
2654
2654
  }));
2655
2655
  }
2656
2656
  if (an(c)) {
2657
- var v = c.options[g] || c.options.other;
2658
- if (!v)
2659
- throw new Mr(c.value, g, Object.keys(c.options), i);
2660
- l.push.apply(l, rt(v.value, t, r, n, a));
2657
+ var g = c.options[m] || c.options.other;
2658
+ if (!g)
2659
+ throw new Mr(c.value, m, Object.keys(c.options), i);
2660
+ l.push.apply(l, rt(g.value, t, r, n, a));
2661
2661
  continue;
2662
2662
  }
2663
2663
  if (on(c)) {
2664
- var v = c.options["=".concat(g)];
2665
- if (!v) {
2664
+ var g = c.options["=".concat(m)];
2665
+ if (!g) {
2666
2666
  if (!Intl.PluralRules)
2667
2667
  throw new ve(`Intl.PluralRules is not available in this environment.
2668
2668
  Try polyfilling it using "@formatjs/intl-pluralrules"
2669
2669
  `, ie.MISSING_INTL_API, i);
2670
- var P = r.getPluralRules(t, { type: c.pluralType }).select(g - (c.offset || 0));
2671
- v = c.options[P] || c.options.other;
2670
+ var N = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
2671
+ g = c.options[N] || c.options.other;
2672
2672
  }
2673
- if (!v)
2674
- throw new Mr(c.value, g, Object.keys(c.options), i);
2675
- l.push.apply(l, rt(v.value, t, r, n, a, g - (c.offset || 0)));
2673
+ if (!g)
2674
+ throw new Mr(c.value, m, Object.keys(c.options), i);
2675
+ l.push.apply(l, rt(g.value, t, r, n, a, m - (c.offset || 0)));
2676
2676
  continue;
2677
2677
  }
2678
2678
  }
2679
2679
  return mo(l);
2680
2680
  }
2681
2681
  function po(e, t) {
2682
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2683
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
2682
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2683
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
2684
2684
  }, {})) : e;
2685
2685
  }
2686
2686
  function vo(e, t) {
2687
2687
  return t ? Object.keys(e).reduce(function(r, n) {
2688
2688
  return r[n] = po(e[n], t[n]), r;
2689
- }, S({}, e)) : e;
2689
+ }, T({}, e)) : e;
2690
2690
  }
2691
2691
  function wt(e) {
2692
2692
  return {
@@ -2847,7 +2847,7 @@ var bn = function() {
2847
2847
  e.FORMAT_ERROR = "FORMAT_ERROR", e.UNSUPPORTED_FORMATTER = "UNSUPPORTED_FORMATTER", e.INVALID_CONFIG = "INVALID_CONFIG", e.MISSING_DATA = "MISSING_DATA", e.MISSING_TRANSLATION = "MISSING_TRANSLATION";
2848
2848
  })(Z || (Z = {}));
2849
2849
  var q = function(e) {
2850
- ee(t, e);
2850
+ te(t, e);
2851
2851
  function t(r, n, a) {
2852
2852
  var o = this, i = a ? a instanceof Error ? a : new Error(String(a)) : void 0;
2853
2853
  return o = e.call(this, "[@formatjs/intl Error ".concat(r, "] ").concat(n, `
@@ -2857,25 +2857,25 @@ var q = function(e) {
2857
2857
  }
2858
2858
  return t;
2859
2859
  }(Error), yo = function(e) {
2860
- ee(t, e);
2860
+ te(t, e);
2861
2861
  function t(r, n) {
2862
2862
  return e.call(this, Z.UNSUPPORTED_FORMATTER, r, n) || this;
2863
2863
  }
2864
2864
  return t;
2865
2865
  }(q), bo = function(e) {
2866
- ee(t, e);
2866
+ te(t, e);
2867
2867
  function t(r, n) {
2868
2868
  return e.call(this, Z.INVALID_CONFIG, r, n) || this;
2869
2869
  }
2870
2870
  return t;
2871
2871
  }(q), Pr = function(e) {
2872
- ee(t, e);
2872
+ te(t, e);
2873
2873
  function t(r, n) {
2874
2874
  return e.call(this, Z.MISSING_DATA, r, n) || this;
2875
2875
  }
2876
2876
  return t;
2877
2877
  }(q), Wt = function(e) {
2878
- ee(t, e);
2878
+ te(t, e);
2879
2879
  function t(r, n, a) {
2880
2880
  return e.call(this, Z.FORMAT_ERROR, "".concat(r, `
2881
2881
  Locale: `).concat(n, `
@@ -2883,7 +2883,7 @@ Locale: `).concat(n, `
2883
2883
  }
2884
2884
  return t;
2885
2885
  }(q), xt = function(e) {
2886
- ee(t, e);
2886
+ te(t, e);
2887
2887
  function t(r, n, a, o) {
2888
2888
  var i = e.call(this, "".concat(r, `
2889
2889
  MessageID: `).concat(a == null ? void 0 : a.id, `
@@ -2894,7 +2894,7 @@ Description: `).concat(a == null ? void 0 : a.description, `
2894
2894
  }
2895
2895
  return t;
2896
2896
  }(Wt), Eo = function(e) {
2897
- ee(t, e);
2897
+ te(t, e);
2898
2898
  function t(r, n) {
2899
2899
  var a = e.call(this, Z.MISSING_TRANSLATION, 'Missing message: "'.concat(r.id, '" for locale "').concat(n, '", using ').concat(r.defaultMessage ? "default message (".concat(typeof r.defaultMessage == "string" ? r.defaultMessage : r.defaultMessage.map(function(o) {
2900
2900
  var i;
@@ -2976,7 +2976,7 @@ function To(e) {
2976
2976
  getDateTimeFormat: a,
2977
2977
  getNumberFormat: o,
2978
2978
  getMessageFormat: ne(function(l, u, f, c) {
2979
- return new bn(l, u, f, S({ formatters: {
2979
+ return new bn(l, u, f, T({ formatters: {
2980
2980
  getNumberFormat: o,
2981
2981
  getDateTimeFormat: a,
2982
2982
  getPluralRules: i
@@ -3020,57 +3020,57 @@ function qt(e, t, r, n) {
3020
3020
  }
3021
3021
  function tt(e, t) {
3022
3022
  return Object.keys(e).reduce(function(r, n) {
3023
- return r[n] = S({ timeZone: t }, e[n]), r;
3023
+ return r[n] = T({ timeZone: t }, e[n]), r;
3024
3024
  }, {});
3025
3025
  }
3026
3026
  function Nr(e, t) {
3027
- var r = Object.keys(S(S({}, e), t));
3027
+ var r = Object.keys(T(T({}, e), t));
3028
3028
  return r.reduce(function(n, a) {
3029
- return n[a] = S(S({}, e[a] || {}), t[a] || {}), n;
3029
+ return n[a] = T(T({}, e[a] || {}), t[a] || {}), n;
3030
3030
  }, {});
3031
3031
  }
3032
3032
  function Or(e, t) {
3033
3033
  if (!t)
3034
3034
  return e;
3035
3035
  var r = bn.formats;
3036
- return S(S(S({}, r), e), { date: Nr(tt(r.date, t), tt(e.date || {}, t)), time: Nr(tt(r.time, t), tt(e.time || {}, t)) });
3036
+ return T(T(T({}, r), e), { date: Nr(tt(r.date, t), tt(e.date || {}, t)), time: Nr(tt(r.time, t), tt(e.time || {}, t)) });
3037
3037
  }
3038
3038
  var Lt = function(e, t, r, n, a) {
3039
- var o = e.locale, i = e.formats, l = e.messages, u = e.defaultLocale, f = e.defaultFormats, c = e.fallbackOnEmptyString, h = e.onError, g = e.timeZone, b = e.defaultRichTextElements;
3039
+ var o = e.locale, i = e.formats, l = e.messages, u = e.defaultLocale, f = e.defaultFormats, c = e.fallbackOnEmptyString, h = e.onError, m = e.timeZone, b = e.defaultRichTextElements;
3040
3040
  r === void 0 && (r = { id: "" });
3041
- var M = r.id, I = r.defaultMessage;
3041
+ var M = r.id, R = r.defaultMessage;
3042
3042
  en(!!M, "[@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");
3043
- var T = String(M), x = l && Object.prototype.hasOwnProperty.call(l, T) && l[T];
3044
- if (Array.isArray(x) && x.length === 1 && x[0].type === j.literal)
3043
+ var I = String(M), x = l && Object.prototype.hasOwnProperty.call(l, I) && l[I];
3044
+ if (Array.isArray(x) && x.length === 1 && x[0].type === G.literal)
3045
3045
  return x[0].value;
3046
3046
  if (!n && x && typeof x == "string" && !b)
3047
3047
  return x.replace(/'\{(.*?)\}'/gi, "{$1}");
3048
- if (n = S(S({}, b), n || {}), i = Or(i, g), f = Or(f, g), !x) {
3048
+ if (n = T(T({}, b), n || {}), i = Or(i, m), f = Or(f, m), !x) {
3049
3049
  if (c === !1 && x === "")
3050
3050
  return x;
3051
- if ((!I || o && o.toLowerCase() !== u.toLowerCase()) && h(new Eo(r, o)), I)
3051
+ if ((!R || o && o.toLowerCase() !== u.toLowerCase()) && h(new Eo(r, o)), R)
3052
3052
  try {
3053
- var p = t.getMessageFormat(I, u, f, a);
3053
+ var p = t.getMessageFormat(R, u, f, a);
3054
3054
  return p.format(n);
3055
- } catch (v) {
3056
- return h(new xt('Error formatting default message for: "'.concat(T, '", rendering default message verbatim'), o, r, v)), typeof I == "string" ? I : T;
3055
+ } catch (g) {
3056
+ return h(new xt('Error formatting default message for: "'.concat(I, '", rendering default message verbatim'), o, r, g)), typeof R == "string" ? R : I;
3057
3057
  }
3058
- return T;
3058
+ return I;
3059
3059
  }
3060
3060
  try {
3061
- var p = t.getMessageFormat(x, o, i, S({ formatters: t }, a || {}));
3061
+ var p = t.getMessageFormat(x, o, i, T({ formatters: t }, a || {}));
3062
3062
  return p.format(n);
3063
- } catch (v) {
3064
- h(new xt('Error formatting message: "'.concat(T, '", using ').concat(I ? "default message" : "id", " as fallback."), o, r, v));
3063
+ } catch (g) {
3064
+ h(new xt('Error formatting message: "'.concat(I, '", using ').concat(R ? "default message" : "id", " as fallback."), o, r, g));
3065
3065
  }
3066
- if (I)
3066
+ if (R)
3067
3067
  try {
3068
- var p = t.getMessageFormat(I, u, f, a);
3068
+ var p = t.getMessageFormat(R, u, f, a);
3069
3069
  return p.format(n);
3070
- } catch (v) {
3071
- h(new xt('Error formatting the default message for: "'.concat(T, '", rendering message verbatim'), o, r, v));
3070
+ } catch (g) {
3071
+ h(new xt('Error formatting the default message for: "'.concat(I, '", rendering message verbatim'), o, r, g));
3072
3072
  }
3073
- return typeof x == "string" ? x : typeof I == "string" ? I : T;
3073
+ return typeof x == "string" ? x : typeof R == "string" ? R : I;
3074
3074
  }, xn = [
3075
3075
  "formatMatcher",
3076
3076
  "timeZone",
@@ -3094,8 +3094,8 @@ var Lt = function(e, t, r, n, a) {
3094
3094
  function ut(e, t, r, n) {
3095
3095
  var a = e.locale, o = e.formats, i = e.onError, l = e.timeZone;
3096
3096
  n === void 0 && (n = {});
3097
- var u = n.format, f = S(S({}, l && { timeZone: l }), u && qt(o, t, u, i)), c = Se(n, xn, f);
3098
- return t === "time" && !c.hour && !c.minute && !c.second && !c.timeStyle && !c.dateStyle && (c = S(S({}, c), { hour: "numeric", minute: "numeric" })), r(a, c);
3097
+ var u = n.format, f = T(T({}, l && { timeZone: l }), u && qt(o, t, u, i)), c = Se(n, xn, f);
3098
+ return t === "time" && !c.hour && !c.minute && !c.second && !c.timeStyle && !c.dateStyle && (c = T(T({}, c), { hour: "numeric", minute: "numeric" })), r(a, c);
3099
3099
  }
3100
3100
  function So(e, t) {
3101
3101
  for (var r = [], n = 2; n < arguments.length; n++)
@@ -3125,8 +3125,8 @@ function Io(e, t) {
3125
3125
  var a = r[0], o = r[1], i = r[2], l = i === void 0 ? {} : i, u = e.timeZone, f = e.locale, c = e.onError, h = Se(l, xn, u ? { timeZone: u } : {});
3126
3126
  try {
3127
3127
  return t(f, h).formatRange(a, o);
3128
- } catch (g) {
3129
- c(new q(Z.FORMAT_ERROR, "Error formatting date time range.", g));
3128
+ } catch (m) {
3129
+ c(new q(Z.FORMAT_ERROR, "Error formatting date time range.", m));
3130
3130
  }
3131
3131
  return String(a);
3132
3132
  }
@@ -3195,13 +3195,13 @@ Try polyfilling it using "@formatjs/intl-listformat"
3195
3195
  try {
3196
3196
  var u = {}, f = r.map(function(c, h) {
3197
3197
  if (typeof c == "object") {
3198
- var g = Co(h);
3199
- return u[g] = c, g;
3198
+ var m = Co(h);
3199
+ return u[m] = c, m;
3200
3200
  }
3201
3201
  return String(c);
3202
3202
  });
3203
3203
  return t(a, l).formatToParts(f).map(function(c) {
3204
- return c.type === "literal" ? c : S(S({}, c), { value: u[c.value] || c.value });
3204
+ return c.type === "literal" ? c : T(T({}, c), { value: u[c.value] || c.value });
3205
3205
  });
3206
3206
  } catch (c) {
3207
3207
  o(new q(Z.FORMAT_ERROR, "Error formatting list.", c));
@@ -3287,18 +3287,18 @@ function zo(e, t, r, n) {
3287
3287
  }
3288
3288
  return [];
3289
3289
  }
3290
- function jo(e) {
3290
+ function Go(e) {
3291
3291
  var t = e ? e[Object.keys(e)[0]] : void 0;
3292
3292
  return typeof t == "string";
3293
3293
  }
3294
- function Go(e) {
3295
- e.onWarn && e.defaultRichTextElements && jo(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
3294
+ function jo(e) {
3295
+ e.onWarn && e.defaultRichTextElements && Go(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
3296
3296
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
3297
3297
  For more details see https://formatjs.io/docs/getting-started/message-distribution`);
3298
3298
  }
3299
3299
  function Xo(e, t) {
3300
- var r = To(t), n = S(S({}, En), e), a = n.locale, o = n.defaultLocale, i = n.onError;
3301
- return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && i ? i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && i && i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (i && i(new bo('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), Go(n), S(S({}, n), {
3300
+ var r = To(t), n = T(T({}, En), e), a = n.locale, o = n.defaultLocale, i = n.onError;
3301
+ return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && i ? i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && i && i(new Pr('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (i && i(new bo('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), n.locale = n.defaultLocale || "en"), jo(n), T(T({}, n), {
3302
3302
  formatters: r,
3303
3303
  formatNumber: Uo.bind(null, n, r.getNumberFormat),
3304
3304
  formatNumberToParts: zo.bind(null, n, r.getNumberFormat),
@@ -3319,7 +3319,7 @@ function Xo(e, t) {
3319
3319
  function Rn(e) {
3320
3320
  en(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
3321
3321
  }
3322
- var In = S(S({}, En), {
3322
+ var In = T(T({}, En), {
3323
3323
  textComponent: w.Fragment
3324
3324
  });
3325
3325
  function Vo(e) {
@@ -3342,7 +3342,7 @@ function Zo(e, t) {
3342
3342
  }
3343
3343
  return !0;
3344
3344
  }
3345
- var ct = { exports: {} }, je = {};
3345
+ var ct = { exports: {} }, Ge = {};
3346
3346
  /**
3347
3347
  * @license React
3348
3348
  * react-jsx-runtime.production.min.js
@@ -3355,22 +3355,22 @@ var ct = { exports: {} }, je = {};
3355
3355
  var Cr;
3356
3356
  function Jo() {
3357
3357
  if (Cr)
3358
- return je;
3358
+ return Ge;
3359
3359
  Cr = 1;
3360
3360
  var e = ce, 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(l, u, f) {
3362
- var c, h = {}, g = null, b = null;
3363
- f !== void 0 && (g = "" + f), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && (b = u.ref);
3362
+ var c, h = {}, m = null, b = null;
3363
+ f !== void 0 && (m = "" + f), u.key !== void 0 && (m = "" + u.key), u.ref !== void 0 && (b = u.ref);
3364
3364
  for (c in u)
3365
3365
  n.call(u, c) && !o.hasOwnProperty(c) && (h[c] = u[c]);
3366
3366
  if (l && l.defaultProps)
3367
3367
  for (c in u = l.defaultProps, u)
3368
3368
  h[c] === void 0 && (h[c] = u[c]);
3369
- return { $$typeof: t, type: l, key: g, ref: b, props: h, _owner: a.current };
3369
+ return { $$typeof: t, type: l, key: m, ref: b, props: h, _owner: a.current };
3370
3370
  }
3371
- return je.Fragment = r, je.jsx = i, je.jsxs = i, je;
3371
+ return Ge.Fragment = r, Ge.jsx = i, Ge.jsxs = i, Ge;
3372
3372
  }
3373
- var Ge = {};
3373
+ var je = {};
3374
3374
  /**
3375
3375
  * @license React
3376
3376
  * react-jsx-runtime.development.js
@@ -3383,41 +3383,41 @@ var Ge = {};
3383
3383
  var Dr;
3384
3384
  function Yo() {
3385
3385
  return Dr || (Dr = 1, process.env.NODE_ENV !== "production" && function() {
3386
- var e = ce, 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"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), M = Symbol.iterator, I = "@@iterator";
3387
- function T(s) {
3386
+ var e = ce, 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"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), M = Symbol.iterator, R = "@@iterator";
3387
+ function I(s) {
3388
3388
  if (s === null || typeof s != "object")
3389
3389
  return null;
3390
- var m = M && s[M] || s[I];
3391
- return typeof m == "function" ? m : null;
3390
+ var v = M && s[M] || s[R];
3391
+ return typeof v == "function" ? v : null;
3392
3392
  }
3393
3393
  var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
3394
3394
  function p(s) {
3395
3395
  {
3396
- for (var m = arguments.length, E = new Array(m > 1 ? m - 1 : 0), N = 1; N < m; N++)
3397
- E[N - 1] = arguments[N];
3398
- v("error", s, E);
3396
+ for (var v = arguments.length, E = new Array(v > 1 ? v - 1 : 0), P = 1; P < v; P++)
3397
+ E[P - 1] = arguments[P];
3398
+ g("error", s, E);
3399
3399
  }
3400
3400
  }
3401
- function v(s, m, E) {
3401
+ function g(s, v, E) {
3402
3402
  {
3403
- var N = x.ReactDebugCurrentFrame, H = N.getStackAddendum();
3404
- H !== "" && (m += "%s", E = E.concat([H]));
3403
+ var P = x.ReactDebugCurrentFrame, H = P.getStackAddendum();
3404
+ H !== "" && (v += "%s", E = E.concat([H]));
3405
3405
  var U = E.map(function(C) {
3406
3406
  return String(C);
3407
3407
  });
3408
- U.unshift("Warning: " + m), Function.prototype.apply.call(console[s], console, U);
3408
+ U.unshift("Warning: " + v), Function.prototype.apply.call(console[s], console, U);
3409
3409
  }
3410
3410
  }
3411
- var P = !1, y = !1, z = !1, B = !1, ge = !1, Ie;
3411
+ var N = !1, y = !1, z = !1, B = !1, ge = !1, Ie;
3412
3412
  Ie = Symbol.for("react.module.reference");
3413
3413
  function Fe(s) {
3414
- return !!(typeof s == "string" || typeof s == "function" || s === n || s === o || ge || s === a || s === f || s === c || B || s === b || P || y || z || typeof s == "object" && s !== null && (s.$$typeof === g || s.$$typeof === h || s.$$typeof === i || s.$$typeof === l || s.$$typeof === u || s.$$typeof === Ie || s.getModuleId !== void 0));
3414
+ return !!(typeof s == "string" || typeof s == "function" || s === n || s === o || ge || s === a || s === f || s === c || B || s === b || N || y || z || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === h || s.$$typeof === i || s.$$typeof === l || s.$$typeof === u || s.$$typeof === Ie || s.getModuleId !== void 0));
3415
3415
  }
3416
- function fe(s, m, E) {
3417
- var N = s.displayName;
3418
- if (N)
3419
- return N;
3420
- var H = m.displayName || m.name || "";
3416
+ function fe(s, v, E) {
3417
+ var P = s.displayName;
3418
+ if (P)
3419
+ return P;
3420
+ var H = v.displayName || v.name || "";
3421
3421
  return H !== "" ? E + "(" + H + ")" : E;
3422
3422
  }
3423
3423
  function ye(s) {
@@ -3447,17 +3447,17 @@ function Yo() {
3447
3447
  if (typeof s == "object")
3448
3448
  switch (s.$$typeof) {
3449
3449
  case l:
3450
- var m = s;
3451
- return ye(m) + ".Consumer";
3450
+ var v = s;
3451
+ return ye(v) + ".Consumer";
3452
3452
  case i:
3453
3453
  var E = s;
3454
3454
  return ye(E._context) + ".Provider";
3455
3455
  case u:
3456
3456
  return fe(s, s.render, "ForwardRef");
3457
3457
  case h:
3458
- var N = s.displayName || null;
3459
- return N !== null ? N : Q(s.type) || "Memo";
3460
- case g: {
3458
+ var P = s.displayName || null;
3459
+ return P !== null ? P : Q(s.type) || "Memo";
3460
+ case m: {
3461
3461
  var H = s, U = H._payload, C = H._init;
3462
3462
  try {
3463
3463
  return Q(C(U));
@@ -3468,7 +3468,7 @@ function Yo() {
3468
3468
  }
3469
3469
  return null;
3470
3470
  }
3471
- var te = Object.assign, V = 0, se, Me, he, Pe, be, Ne, Oe;
3471
+ var re = Object.assign, V = 0, se, Me, he, Pe, be, Ne, Oe;
3472
3472
  function Ae() {
3473
3473
  }
3474
3474
  Ae.__reactDisabledLog = !0;
@@ -3504,25 +3504,25 @@ function Yo() {
3504
3504
  writable: !0
3505
3505
  };
3506
3506
  Object.defineProperties(console, {
3507
- log: te({}, s, {
3507
+ log: re({}, s, {
3508
3508
  value: se
3509
3509
  }),
3510
- info: te({}, s, {
3510
+ info: re({}, s, {
3511
3511
  value: Me
3512
3512
  }),
3513
- warn: te({}, s, {
3513
+ warn: re({}, s, {
3514
3514
  value: he
3515
3515
  }),
3516
- error: te({}, s, {
3516
+ error: re({}, s, {
3517
3517
  value: Pe
3518
3518
  }),
3519
- group: te({}, s, {
3519
+ group: re({}, s, {
3520
3520
  value: be
3521
3521
  }),
3522
- groupCollapsed: te({}, s, {
3522
+ groupCollapsed: re({}, s, {
3523
3523
  value: Ne
3524
3524
  }),
3525
- groupEnd: te({}, s, {
3525
+ groupEnd: re({}, s, {
3526
3526
  value: Oe
3527
3527
  })
3528
3528
  });
@@ -3531,14 +3531,14 @@ function Yo() {
3531
3531
  }
3532
3532
  }
3533
3533
  var Ee = x.ReactCurrentDispatcher, L;
3534
- function J(s, m, E) {
3534
+ function J(s, v, E) {
3535
3535
  {
3536
3536
  if (L === void 0)
3537
3537
  try {
3538
3538
  throw Error();
3539
3539
  } catch (H) {
3540
- var N = H.stack.trim().match(/\n( *(at )?)/);
3541
- L = N && N[1] || "";
3540
+ var P = H.stack.trim().match(/\n( *(at )?)/);
3541
+ L = P && P[1] || "";
3542
3542
  }
3543
3543
  return `
3544
3544
  ` + L + s;
@@ -3549,7 +3549,7 @@ function Yo() {
3549
3549
  var mt = typeof WeakMap == "function" ? WeakMap : Map;
3550
3550
  de = new mt();
3551
3551
  }
3552
- function R(s, m) {
3552
+ function S(s, v) {
3553
3553
  if (!s || we)
3554
3554
  return "";
3555
3555
  {
@@ -3557,14 +3557,14 @@ function Yo() {
3557
3557
  if (E !== void 0)
3558
3558
  return E;
3559
3559
  }
3560
- var N;
3560
+ var P;
3561
3561
  we = !0;
3562
3562
  var H = Error.prepareStackTrace;
3563
3563
  Error.prepareStackTrace = void 0;
3564
3564
  var U;
3565
3565
  U = Ee.current, Ee.current = null, Be();
3566
3566
  try {
3567
- if (m) {
3567
+ if (v) {
3568
3568
  var C = function() {
3569
3569
  throw Error();
3570
3570
  };
@@ -3576,14 +3576,14 @@ function Yo() {
3576
3576
  try {
3577
3577
  Reflect.construct(C, []);
3578
3578
  } catch (le) {
3579
- N = le;
3579
+ P = le;
3580
3580
  }
3581
3581
  Reflect.construct(s, [], C);
3582
3582
  } else {
3583
3583
  try {
3584
3584
  C.call();
3585
3585
  } catch (le) {
3586
- N = le;
3586
+ P = le;
3587
3587
  }
3588
3588
  s.call(C.prototype);
3589
3589
  }
@@ -3591,26 +3591,26 @@ function Yo() {
3591
3591
  try {
3592
3592
  throw Error();
3593
3593
  } catch (le) {
3594
- N = le;
3594
+ P = le;
3595
3595
  }
3596
3596
  s();
3597
3597
  }
3598
3598
  } catch (le) {
3599
- if (le && N && typeof le.stack == "string") {
3599
+ if (le && P && typeof le.stack == "string") {
3600
3600
  for (var O = le.stack.split(`
3601
- `), Y = N.stack.split(`
3602
- `), G = O.length - 1, X = Y.length - 1; G >= 1 && X >= 0 && O[G] !== Y[X]; )
3601
+ `), Y = P.stack.split(`
3602
+ `), j = O.length - 1, X = Y.length - 1; j >= 1 && X >= 0 && O[j] !== Y[X]; )
3603
3603
  X--;
3604
- for (; G >= 1 && X >= 0; G--, X--)
3605
- if (O[G] !== Y[X]) {
3606
- if (G !== 1 || X !== 1)
3604
+ for (; j >= 1 && X >= 0; j--, X--)
3605
+ if (O[j] !== Y[X]) {
3606
+ if (j !== 1 || X !== 1)
3607
3607
  do
3608
- if (G--, X--, X < 0 || O[G] !== Y[X]) {
3608
+ if (j--, X--, X < 0 || O[j] !== Y[X]) {
3609
3609
  var $ = `
3610
- ` + O[G].replace(" at new ", " at ");
3610
+ ` + O[j].replace(" at new ", " at ");
3611
3611
  return s.displayName && $.includes("<anonymous>") && ($ = $.replace("<anonymous>", s.displayName)), typeof s == "function" && de.set(s, $), $;
3612
3612
  }
3613
- while (G >= 1 && X >= 0);
3613
+ while (j >= 1 && X >= 0);
3614
3614
  break;
3615
3615
  }
3616
3616
  }
@@ -3620,18 +3620,18 @@ function Yo() {
3620
3620
  var He = s ? s.displayName || s.name : "", gr = He ? J(He) : "";
3621
3621
  return typeof s == "function" && de.set(s, gr), gr;
3622
3622
  }
3623
- function Ue(s, m, E) {
3624
- return R(s, !1);
3623
+ function Ue(s, v, E) {
3624
+ return S(s, !1);
3625
3625
  }
3626
3626
  function Ce(s) {
3627
- var m = s.prototype;
3628
- return !!(m && m.isReactComponent);
3627
+ var v = s.prototype;
3628
+ return !!(v && v.isReactComponent);
3629
3629
  }
3630
- function xe(s, m, E) {
3630
+ function xe(s, v, E) {
3631
3631
  if (s == null)
3632
3632
  return "";
3633
3633
  if (typeof s == "function")
3634
- return R(s, Ce(s));
3634
+ return S(s, Ce(s));
3635
3635
  if (typeof s == "string")
3636
3636
  return J(s);
3637
3637
  switch (s) {
@@ -3645,11 +3645,11 @@ function Yo() {
3645
3645
  case u:
3646
3646
  return Ue(s.render);
3647
3647
  case h:
3648
- return xe(s.type, m, E);
3649
- case g: {
3650
- var N = s, H = N._payload, U = N._init;
3648
+ return xe(s.type, v, E);
3649
+ case m: {
3650
+ var P = s, H = P._payload, U = P._init;
3651
3651
  try {
3652
- return xe(U(H), m, E);
3652
+ return xe(U(H), v, E);
3653
3653
  } catch {
3654
3654
  }
3655
3655
  }
@@ -3659,12 +3659,12 @@ function Yo() {
3659
3659
  var Ke = Object.prototype.hasOwnProperty, or = {}, ir = x.ReactDebugCurrentFrame;
3660
3660
  function $e(s) {
3661
3661
  if (s) {
3662
- var m = s._owner, E = xe(s.type, s._source, m ? m.type : null);
3662
+ var v = s._owner, E = xe(s.type, s._source, v ? v.type : null);
3663
3663
  ir.setExtraStackFrame(E);
3664
3664
  } else
3665
3665
  ir.setExtraStackFrame(null);
3666
3666
  }
3667
- function ra(s, m, E, N, H) {
3667
+ function ra(s, v, E, P, H) {
3668
3668
  {
3669
3669
  var U = Function.call.bind(Ke);
3670
3670
  for (var C in s)
@@ -3672,14 +3672,14 @@ function Yo() {
3672
3672
  var O = void 0;
3673
3673
  try {
3674
3674
  if (typeof s[C] != "function") {
3675
- var Y = Error((N || "React class") + ": " + E + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3675
+ var Y = Error((P || "React class") + ": " + E + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
3676
3676
  throw Y.name = "Invariant Violation", Y;
3677
3677
  }
3678
- O = s[C](m, C, N, E, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3679
- } catch (G) {
3680
- O = G;
3678
+ O = s[C](v, C, P, E, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
3679
+ } catch (j) {
3680
+ O = j;
3681
3681
  }
3682
- O && !(O instanceof Error) && ($e(H), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", N || "React class", E, C, typeof O), $e(null)), O instanceof Error && !(O.message in or) && (or[O.message] = !0, $e(H), p("Failed %s type: %s", E, O.message), $e(null));
3682
+ O && !(O instanceof Error) && ($e(H), p("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", P || "React class", E, C, typeof O), $e(null)), O instanceof Error && !(O.message in or) && (or[O.message] = !0, $e(H), p("Failed %s type: %s", E, O.message), $e(null));
3683
3683
  }
3684
3684
  }
3685
3685
  }
@@ -3689,7 +3689,7 @@ function Yo() {
3689
3689
  }
3690
3690
  function aa(s) {
3691
3691
  {
3692
- var m = typeof Symbol == "function" && Symbol.toStringTag, E = m && s[Symbol.toStringTag] || s.constructor.name || "Object";
3692
+ var v = typeof Symbol == "function" && Symbol.toStringTag, E = v && s[Symbol.toStringTag] || s.constructor.name || "Object";
3693
3693
  return E;
3694
3694
  }
3695
3695
  }
@@ -3716,30 +3716,30 @@ function Yo() {
3716
3716
  vt = {};
3717
3717
  function sa(s) {
3718
3718
  if (Ke.call(s, "ref")) {
3719
- var m = Object.getOwnPropertyDescriptor(s, "ref").get;
3720
- if (m && m.isReactWarning)
3719
+ var v = Object.getOwnPropertyDescriptor(s, "ref").get;
3720
+ if (v && v.isReactWarning)
3721
3721
  return !1;
3722
3722
  }
3723
3723
  return s.ref !== void 0;
3724
3724
  }
3725
3725
  function la(s) {
3726
3726
  if (Ke.call(s, "key")) {
3727
- var m = Object.getOwnPropertyDescriptor(s, "key").get;
3728
- if (m && m.isReactWarning)
3727
+ var v = Object.getOwnPropertyDescriptor(s, "key").get;
3728
+ if (v && v.isReactWarning)
3729
3729
  return !1;
3730
3730
  }
3731
3731
  return s.key !== void 0;
3732
3732
  }
3733
- function ua(s, m) {
3734
- if (typeof s.ref == "string" && ze.current && m && ze.current.stateNode !== m) {
3733
+ function ua(s, v) {
3734
+ if (typeof s.ref == "string" && ze.current && v && ze.current.stateNode !== v) {
3735
3735
  var E = Q(ze.current.type);
3736
3736
  vt[E] || (p('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Q(ze.current.type), s.ref), vt[E] = !0);
3737
3737
  }
3738
3738
  }
3739
- function ca(s, m) {
3739
+ function ca(s, v) {
3740
3740
  {
3741
3741
  var E = function() {
3742
- ur || (ur = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
3742
+ ur || (ur = !0, p("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
3743
3743
  };
3744
3744
  E.isReactWarning = !0, Object.defineProperty(s, "key", {
3745
3745
  get: E,
@@ -3747,10 +3747,10 @@ function Yo() {
3747
3747
  });
3748
3748
  }
3749
3749
  }
3750
- function fa(s, m) {
3750
+ function fa(s, v) {
3751
3751
  {
3752
3752
  var E = function() {
3753
- cr || (cr = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
3753
+ cr || (cr = !0, p("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
3754
3754
  };
3755
3755
  E.isReactWarning = !0, Object.defineProperty(s, "ref", {
3756
3756
  get: E,
@@ -3758,11 +3758,11 @@ function Yo() {
3758
3758
  });
3759
3759
  }
3760
3760
  }
3761
- var ha = function(s, m, E, N, H, U, C) {
3761
+ var ha = function(s, v, E, P, H, U, C) {
3762
3762
  var O = {
3763
3763
  $$typeof: t,
3764
3764
  type: s,
3765
- key: m,
3765
+ key: v,
3766
3766
  ref: E,
3767
3767
  props: C,
3768
3768
  _owner: U
@@ -3776,7 +3776,7 @@ function Yo() {
3776
3776
  configurable: !1,
3777
3777
  enumerable: !1,
3778
3778
  writable: !1,
3779
- value: N
3779
+ value: P
3780
3780
  }), Object.defineProperty(O, "_source", {
3781
3781
  configurable: !1,
3782
3782
  enumerable: !1,
@@ -3784,28 +3784,28 @@ function Yo() {
3784
3784
  value: H
3785
3785
  }), Object.freeze && (Object.freeze(O.props), Object.freeze(O)), O;
3786
3786
  };
3787
- function da(s, m, E, N, H) {
3787
+ function da(s, v, E, P, H) {
3788
3788
  {
3789
3789
  var U, C = {}, O = null, Y = null;
3790
- E !== void 0 && (lr(E), O = "" + E), la(m) && (lr(m.key), O = "" + m.key), sa(m) && (Y = m.ref, ua(m, H));
3791
- for (U in m)
3792
- Ke.call(m, U) && !ia.hasOwnProperty(U) && (C[U] = m[U]);
3790
+ E !== void 0 && (lr(E), O = "" + E), la(v) && (lr(v.key), O = "" + v.key), sa(v) && (Y = v.ref, ua(v, H));
3791
+ for (U in v)
3792
+ Ke.call(v, U) && !ia.hasOwnProperty(U) && (C[U] = v[U]);
3793
3793
  if (s && s.defaultProps) {
3794
- var G = s.defaultProps;
3795
- for (U in G)
3796
- C[U] === void 0 && (C[U] = G[U]);
3794
+ var j = s.defaultProps;
3795
+ for (U in j)
3796
+ C[U] === void 0 && (C[U] = j[U]);
3797
3797
  }
3798
3798
  if (O || Y) {
3799
3799
  var X = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
3800
3800
  O && ca(C, X), Y && fa(C, X);
3801
3801
  }
3802
- return ha(s, O, Y, H, N, ze.current, C);
3802
+ return ha(s, O, Y, H, P, ze.current, C);
3803
3803
  }
3804
3804
  }
3805
3805
  var gt = x.ReactCurrentOwner, fr = x.ReactDebugCurrentFrame;
3806
3806
  function De(s) {
3807
3807
  if (s) {
3808
- var m = s._owner, E = xe(s.type, s._source, m ? m.type : null);
3808
+ var v = s._owner, E = xe(s.type, s._source, v ? v.type : null);
3809
3809
  fr.setExtraStackFrame(E);
3810
3810
  } else
3811
3811
  fr.setExtraStackFrame(null);
@@ -3830,10 +3830,10 @@ Check the render method of \`` + s + "`.";
3830
3830
  function ma(s) {
3831
3831
  {
3832
3832
  if (s !== void 0) {
3833
- var m = s.fileName.replace(/^.*[\\\/]/, ""), E = s.lineNumber;
3833
+ var v = s.fileName.replace(/^.*[\\\/]/, ""), E = s.lineNumber;
3834
3834
  return `
3835
3835
 
3836
- Check your code at ` + m + ":" + E + ".";
3836
+ Check your code at ` + v + ":" + E + ".";
3837
3837
  }
3838
3838
  return "";
3839
3839
  }
@@ -3841,84 +3841,84 @@ Check your code at ` + m + ":" + E + ".";
3841
3841
  var dr = {};
3842
3842
  function pa(s) {
3843
3843
  {
3844
- var m = hr();
3845
- if (!m) {
3844
+ var v = hr();
3845
+ if (!v) {
3846
3846
  var E = typeof s == "string" ? s : s.displayName || s.name;
3847
- E && (m = `
3847
+ E && (v = `
3848
3848
 
3849
3849
  Check the top-level render call using <` + E + ">.");
3850
3850
  }
3851
- return m;
3851
+ return v;
3852
3852
  }
3853
3853
  }
3854
- function mr(s, m) {
3854
+ function mr(s, v) {
3855
3855
  {
3856
3856
  if (!s._store || s._store.validated || s.key != null)
3857
3857
  return;
3858
3858
  s._store.validated = !0;
3859
- var E = pa(m);
3859
+ var E = pa(v);
3860
3860
  if (dr[E])
3861
3861
  return;
3862
3862
  dr[E] = !0;
3863
- var N = "";
3864
- s && s._owner && s._owner !== gt.current && (N = " It was passed a child from " + Q(s._owner.type) + "."), De(s), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, N), De(null);
3863
+ var P = "";
3864
+ s && s._owner && s._owner !== gt.current && (P = " It was passed a child from " + Q(s._owner.type) + "."), De(s), p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, P), De(null);
3865
3865
  }
3866
3866
  }
3867
- function pr(s, m) {
3867
+ function pr(s, v) {
3868
3868
  {
3869
3869
  if (typeof s != "object")
3870
3870
  return;
3871
3871
  if (pt(s))
3872
3872
  for (var E = 0; E < s.length; E++) {
3873
- var N = s[E];
3874
- bt(N) && mr(N, m);
3873
+ var P = s[E];
3874
+ bt(P) && mr(P, v);
3875
3875
  }
3876
3876
  else if (bt(s))
3877
3877
  s._store && (s._store.validated = !0);
3878
3878
  else if (s) {
3879
- var H = T(s);
3879
+ var H = I(s);
3880
3880
  if (typeof H == "function" && H !== s.entries)
3881
3881
  for (var U = H.call(s), C; !(C = U.next()).done; )
3882
- bt(C.value) && mr(C.value, m);
3882
+ bt(C.value) && mr(C.value, v);
3883
3883
  }
3884
3884
  }
3885
3885
  }
3886
3886
  function va(s) {
3887
3887
  {
3888
- var m = s.type;
3889
- if (m == null || typeof m == "string")
3888
+ var v = s.type;
3889
+ if (v == null || typeof v == "string")
3890
3890
  return;
3891
3891
  var E;
3892
- if (typeof m == "function")
3893
- E = m.propTypes;
3894
- else if (typeof m == "object" && (m.$$typeof === u || m.$$typeof === h))
3895
- E = m.propTypes;
3892
+ if (typeof v == "function")
3893
+ E = v.propTypes;
3894
+ else if (typeof v == "object" && (v.$$typeof === u || v.$$typeof === h))
3895
+ E = v.propTypes;
3896
3896
  else
3897
3897
  return;
3898
3898
  if (E) {
3899
- var N = Q(m);
3900
- ra(E, s.props, "prop", N, s);
3901
- } else if (m.PropTypes !== void 0 && !yt) {
3899
+ var P = Q(v);
3900
+ ra(E, s.props, "prop", P, s);
3901
+ } else if (v.PropTypes !== void 0 && !yt) {
3902
3902
  yt = !0;
3903
- var H = Q(m);
3903
+ var H = Q(v);
3904
3904
  p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", H || "Unknown");
3905
3905
  }
3906
- typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3906
+ typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
3907
3907
  }
3908
3908
  }
3909
3909
  function ga(s) {
3910
3910
  {
3911
- for (var m = Object.keys(s.props), E = 0; E < m.length; E++) {
3912
- var N = m[E];
3913
- if (N !== "children" && N !== "key") {
3914
- De(s), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", N), De(null);
3911
+ for (var v = Object.keys(s.props), E = 0; E < v.length; E++) {
3912
+ var P = v[E];
3913
+ if (P !== "children" && P !== "key") {
3914
+ De(s), p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", P), De(null);
3915
3915
  break;
3916
3916
  }
3917
3917
  }
3918
3918
  s.ref !== null && (De(s), p("Invalid attribute `ref` supplied to `React.Fragment`."), De(null));
3919
3919
  }
3920
3920
  }
3921
- function vr(s, m, E, N, H, U) {
3921
+ function vr(s, v, E, P, H, U) {
3922
3922
  {
3923
3923
  var C = Fe(s);
3924
3924
  if (!C) {
@@ -3926,16 +3926,16 @@ Check the top-level render call using <` + E + ">.");
3926
3926
  (s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
3927
3927
  var Y = ma(H);
3928
3928
  Y ? O += Y : O += hr();
3929
- var G;
3930
- s === null ? G = "null" : pt(s) ? G = "array" : s !== void 0 && s.$$typeof === t ? (G = "<" + (Q(s.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : G = typeof s, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, O);
3929
+ var j;
3930
+ s === null ? j = "null" : pt(s) ? j = "array" : s !== void 0 && s.$$typeof === t ? (j = "<" + (Q(s.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : j = typeof s, p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, O);
3931
3931
  }
3932
- var X = da(s, m, E, H, U);
3932
+ var X = da(s, v, E, H, U);
3933
3933
  if (X == null)
3934
3934
  return X;
3935
3935
  if (C) {
3936
- var $ = m.children;
3936
+ var $ = v.children;
3937
3937
  if ($ !== void 0)
3938
- if (N)
3938
+ if (P)
3939
3939
  if (pt($)) {
3940
3940
  for (var He = 0; He < $.length; He++)
3941
3941
  pr($[He], s);
@@ -3948,15 +3948,15 @@ Check the top-level render call using <` + E + ">.");
3948
3948
  return s === n ? ga(X) : va(X), X;
3949
3949
  }
3950
3950
  }
3951
- function ya(s, m, E) {
3952
- return vr(s, m, E, !0);
3951
+ function ya(s, v, E) {
3952
+ return vr(s, v, E, !0);
3953
3953
  }
3954
- function ba(s, m, E) {
3955
- return vr(s, m, E, !1);
3954
+ function ba(s, v, E) {
3955
+ return vr(s, v, E, !1);
3956
3956
  }
3957
3957
  var Ea = ba, wa = ya;
3958
- Ge.Fragment = n, Ge.jsx = Ea, Ge.jsxs = wa;
3959
- }()), Ge;
3958
+ je.Fragment = n, je.jsx = Ea, je.jsxs = wa;
3959
+ }()), je;
3960
3960
  }
3961
3961
  (function(e) {
3962
3962
  process.env.NODE_ENV === "production" ? e.exports = Jo() : e.exports = Yo();
@@ -4027,7 +4027,7 @@ var Hr = function(e, t, r, n) {
4027
4027
  var i = Pn(n), l = Lt.apply(void 0, oe([e, t, r, i], a, !1));
4028
4028
  return Array.isArray(l) ? w.Children.toArray(l) : l;
4029
4029
  }, Lr = function(e, t) {
4030
- var r = e.defaultRichTextElements, n = Vt(e, ["defaultRichTextElements"]), a = Pn(r), o = Xo(S(S(S({}, In), n), {
4030
+ var r = e.defaultRichTextElements, n = Vt(e, ["defaultRichTextElements"]), a = Pn(r), o = Xo(T(T(T({}, In), n), {
4031
4031
  defaultRichTextElements: a
4032
4032
  }), t), i = {
4033
4033
  locale: o.locale,
@@ -4040,12 +4040,12 @@ var Hr = function(e, t, r, n) {
4040
4040
  onError: o.onError,
4041
4041
  defaultRichTextElements: a
4042
4042
  };
4043
- return S(S({}, o), {
4043
+ return T(T({}, o), {
4044
4044
  formatMessage: Hr.bind(null, i, o.formatters),
4045
4045
  $t: Hr.bind(null, i, o.formatters)
4046
4046
  });
4047
4047
  }, $o = function(e) {
4048
- ee(t, e);
4048
+ te(t, e);
4049
4049
  function t() {
4050
4050
  var r = e !== null && e.apply(this, arguments) || this;
4051
4051
  return r.cache = wn(), r.state = {
@@ -4262,9 +4262,9 @@ function fi(e, t) {
4262
4262
  };
4263
4263
  }
4264
4264
  function Fr(e, t, r) {
4265
- var g;
4265
+ var m;
4266
4266
  let n, a;
4267
- _r(t) ? n = t : (n = (g = t == null ? void 0 : t.observe) != null ? g : !0, a = t == null ? void 0 : t.onChange), ot(r) && (a = r), w.useEffect(() => {
4267
+ _r(t) ? n = t : (n = (m = t == null ? void 0 : t.observe) != null ? m : !0, a = t == null ? void 0 : t.onChange), ot(r) && (a = r), w.useEffect(() => {
4268
4268
  _r(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");
4269
4269
  }, [t]), w.useEffect(() => {
4270
4270
  ot(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");
@@ -4282,9 +4282,9 @@ function Fr(e, t, r) {
4282
4282
  console.warn("You need to place the ref");
4283
4283
  return;
4284
4284
  }
4285
- let M = fi(b, (I) => {
4286
- var T;
4287
- (T = h.current) == null || T.call(h, I), c(I);
4285
+ let M = fi(b, (R) => {
4286
+ var I;
4287
+ (I = h.current) == null || I.call(h, R), c(R);
4288
4288
  });
4289
4289
  return M.observe(), () => {
4290
4290
  M.unobserve();
@@ -4315,8 +4315,8 @@ var hi = ["input", "select", "textarea", "a[href]", "button", "[tabindex]:not(sl
4315
4315
  } else {
4316
4316
  var c = Ve.call(i, Bt);
4317
4317
  c && n.filter(i) && (r || !t.includes(i)) && a.push(i);
4318
- var h = i.shadowRoot || typeof n.getShadowRoot == "function" && n.getShadowRoot(i), g = !n.shadowRootFilter || n.shadowRootFilter(i);
4319
- if (h && g) {
4318
+ var h = i.shadowRoot || typeof n.getShadowRoot == "function" && n.getShadowRoot(i), m = !n.shadowRootFilter || n.shadowRootFilter(i);
4319
+ if (h && m) {
4320
4320
  var b = e(h === !0 ? i.children : h.children, !0, n);
4321
4321
  n.flatten ? a.push.apply(a, b) : a.push({
4322
4322
  scope: i,
@@ -4510,68 +4510,68 @@ function Oi(e, t, r = 0, n = 0) {
4510
4510
  function Ai(e, t) {
4511
4511
  const r = Xe(e.current);
4512
4512
  function n(p) {
4513
- p.key === "Tab" && t.current && ue(t.current).length === 0 || (p.key === "Tab" && p.shiftKey ? f(p) ? c(p) : h(p) ? g(p) : M(p) && T() : p.key === "Tab" && (o() ? i(p) : l() ? u(p) : b(p) && T()));
4513
+ p.key === "Tab" && t.current && ue(t.current).length === 0 || (p.key === "Tab" && p.shiftKey ? f(p) ? c(p) : h(p) ? m(p) : M(p) && I() : p.key === "Tab" && (o() ? i(p) : l() ? u(p) : b(p) && I()));
4514
4514
  }
4515
4515
  w.useEffect(() => (r.addEventListener("keydown", n), () => {
4516
4516
  r.removeEventListener("keydown", n);
4517
4517
  }), []);
4518
4518
  function a() {
4519
- const p = ue(r), v = p && e.current ? p.indexOf(e.current) : -1, P = p && p[v + 1];
4520
- return t.current && t.current.contains(P || null) ? !1 : P;
4519
+ const p = ue(r), g = p && e.current ? p.indexOf(e.current) : -1, N = p && p[g + 1];
4520
+ return t.current && t.current.contains(N || null) ? !1 : N;
4521
4521
  }
4522
4522
  function o() {
4523
4523
  return e.current ? e.current === r.activeElement : !1;
4524
4524
  }
4525
4525
  function i(p) {
4526
- const v = t.current && ue(t.current);
4527
- v && v[0] && (p.preventDefault(), v[0].focus());
4526
+ const g = t.current && ue(t.current);
4527
+ g && g[0] && (p.preventDefault(), g[0].focus());
4528
4528
  }
4529
4529
  function l() {
4530
4530
  if (t.current ? t.current.contains(r.activeElement || null) : !1) {
4531
- const v = t.current && ue(t.current);
4532
- return Boolean(v && v[v.length - 1] === r.activeElement);
4531
+ const g = t.current && ue(t.current);
4532
+ return Boolean(g && g[g.length - 1] === r.activeElement);
4533
4533
  }
4534
4534
  return !1;
4535
4535
  }
4536
4536
  function u(p) {
4537
- const v = a();
4538
- v && (p.preventDefault(), v.focus());
4537
+ const g = a();
4538
+ g && (p.preventDefault(), g.focus());
4539
4539
  }
4540
4540
  function f(p) {
4541
4541
  if (!p.shiftKey)
4542
4542
  return;
4543
- const v = a();
4544
- return p.target === v;
4543
+ const g = a();
4544
+ return p.target === g;
4545
4545
  }
4546
4546
  function c(p) {
4547
- const v = t.current && ue(t.current), P = v && v[v.length - 1];
4548
- P && (p.preventDefault(), P.focus());
4547
+ const g = t.current && ue(t.current), N = g && g[g.length - 1];
4548
+ N && (p.preventDefault(), N.focus());
4549
4549
  }
4550
4550
  function h(p) {
4551
- const v = t.current && ue(t.current);
4552
- return v ? v.length === 0 ? !1 : p.target === v[0] : !1;
4551
+ const g = t.current && ue(t.current);
4552
+ return g ? g.length === 0 ? !1 : p.target === g[0] : !1;
4553
4553
  }
4554
- function g(p) {
4555
- var v;
4556
- p.preventDefault(), (v = e.current) == null || v.focus();
4554
+ function m(p) {
4555
+ var g;
4556
+ p.preventDefault(), (g = e.current) == null || g.focus();
4557
4557
  }
4558
4558
  function b(p) {
4559
- const v = t.current ? ue(r).filter((P) => !t.current.contains(P)) : null;
4560
- return v ? p.target === v[v.length - 1] : !1;
4559
+ const g = t.current ? ue(r).filter((N) => !t.current.contains(N)) : null;
4560
+ return g ? p.target === g[g.length - 1] : !1;
4561
4561
  }
4562
4562
  function M(p) {
4563
4563
  return p.target === ue(r)[0];
4564
4564
  }
4565
- let I = [];
4566
- function T() {
4565
+ let R = [];
4566
+ function I() {
4567
4567
  const p = t.current && ue(t.current);
4568
- p && (p.forEach((v) => {
4569
- I.push([v, v.tabIndex]), v.tabIndex = -1;
4568
+ p && (p.forEach((g) => {
4569
+ R.push([g, g.tabIndex]), g.tabIndex = -1;
4570
4570
  }), r.addEventListener("focusin", x));
4571
4571
  }
4572
4572
  function x() {
4573
- r.removeEventListener("focusin", x), I.forEach(([p, v]) => {
4574
- p.tabIndex = v;
4573
+ r.removeEventListener("focusin", x), R.forEach(([p, g]) => {
4574
+ p.tabIndex = g;
4575
4575
  });
4576
4576
  }
4577
4577
  }
@@ -4630,7 +4630,7 @@ function Bi({
4630
4630
  ...l
4631
4631
  }) => o ? (n((u) => {
4632
4632
  if (i != null && i !== -1)
4633
- return jr(u, {
4633
+ return Gr(u, {
4634
4634
  element: o,
4635
4635
  index: i,
4636
4636
  ...l
@@ -4658,7 +4658,7 @@ IMPORTANT: this check will only run in the development build, so if you see this
4658
4658
  ...l,
4659
4659
  element: o,
4660
4660
  index: u.length
4661
- }] : c = jr(u, {
4661
+ }] : c = Gr(u, {
4662
4662
  ...l,
4663
4663
  element: o,
4664
4664
  index: f
@@ -4689,15 +4689,15 @@ function ki(e, t) {
4689
4689
  return function(h) {
4690
4690
  if (!["ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(h.key))
4691
4691
  return;
4692
- let g = a != null ? a : -1, b = o ? r.filter(o) : r;
4692
+ let m = a != null ? a : -1, b = o ? r.filter(o) : r;
4693
4693
  if (!b.length)
4694
4694
  return;
4695
- let M = b.findIndex((v) => v.index === a);
4696
- function I() {
4697
- return g === p().index ? u ? x() : b[M] : b[(M + 1) % b.length];
4695
+ let M = b.findIndex((g) => g.index === a);
4696
+ function R() {
4697
+ return m === p().index ? u ? x() : b[M] : b[(M + 1) % b.length];
4698
4698
  }
4699
- function T() {
4700
- return g === x().index ? u ? p() : b[M] : b[(M - 1 + b.length) % b.length];
4699
+ function I() {
4700
+ return m === x().index ? u ? p() : b[M] : b[(M - 1 + b.length) % b.length];
4701
4701
  }
4702
4702
  function x() {
4703
4703
  return b[0];
@@ -4709,44 +4709,44 @@ function ki(e, t) {
4709
4709
  case "ArrowDown":
4710
4710
  if (l === "vertical" || l === "both") {
4711
4711
  h.preventDefault();
4712
- let B = I();
4712
+ let B = R();
4713
4713
  n(i === "option" ? B : B[i]);
4714
4714
  }
4715
4715
  break;
4716
4716
  case "ArrowUp":
4717
4717
  if (l === "vertical" || l === "both") {
4718
4718
  h.preventDefault();
4719
- let B = T();
4719
+ let B = I();
4720
4720
  n(i === "option" ? B : B[i]);
4721
4721
  }
4722
4722
  break;
4723
4723
  case "ArrowLeft":
4724
4724
  if (l === "horizontal" || l === "both") {
4725
4725
  h.preventDefault();
4726
- let B = (f ? I : T)();
4726
+ let B = (f ? R : I)();
4727
4727
  n(i === "option" ? B : B[i]);
4728
4728
  }
4729
4729
  break;
4730
4730
  case "ArrowRight":
4731
4731
  if (l === "horizontal" || l === "both") {
4732
4732
  h.preventDefault();
4733
- let B = (f ? T : I)();
4733
+ let B = (f ? I : R)();
4734
4734
  n(i === "option" ? B : B[i]);
4735
4735
  }
4736
4736
  break;
4737
4737
  case "PageUp":
4738
4738
  h.preventDefault();
4739
- let v = (h.ctrlKey ? T : x)();
4740
- n(i === "option" ? v : v[i]);
4739
+ let g = (h.ctrlKey ? I : x)();
4740
+ n(i === "option" ? g : g[i]);
4741
4741
  break;
4742
4742
  case "Home":
4743
4743
  h.preventDefault();
4744
- let P = x();
4745
- n(i === "option" ? P : P[i]);
4744
+ let N = x();
4745
+ n(i === "option" ? N : N[i]);
4746
4746
  break;
4747
4747
  case "PageDown":
4748
4748
  h.preventDefault();
4749
- let y = (h.ctrlKey ? I : p)();
4749
+ let y = (h.ctrlKey ? R : p)();
4750
4750
  n(i === "option" ? y : y[i]);
4751
4751
  break;
4752
4752
  case "End":
@@ -4771,7 +4771,7 @@ function Ui(e, t) {
4771
4771
  }
4772
4772
  return -1;
4773
4773
  }
4774
- function jr(e, t, r) {
4774
+ function Gr(e, t, r) {
4775
4775
  return r == null || !(r in e) ? [...e, t] : [...e.slice(0, r), t, ...e.slice(r)];
4776
4776
  }
4777
4777
  function zi(e) {
@@ -4780,19 +4780,19 @@ function zi(e) {
4780
4780
  index: r
4781
4781
  }));
4782
4782
  }
4783
- var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji = "OPEN_MENU_AT_FIRST_ITEM", Ut = "OPEN_MENU_AT_INDEX", zn = "OPEN_MENU_CLEARED", zt = "SEARCH_FOR_ITEM", pe = "SELECT_ITEM_AT_INDEX", jt = "SET_BUTTON_ID", ft = Hi("DropdownDescendantContext"), [Gi, We] = oi("Dropdown"), Xi = {
4783
+ var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", Gi = "OPEN_MENU_AT_FIRST_ITEM", Ut = "OPEN_MENU_AT_INDEX", zn = "OPEN_MENU_CLEARED", zt = "SEARCH_FOR_ITEM", pe = "SELECT_ITEM_AT_INDEX", Gt = "SET_BUTTON_ID", ft = Hi("DropdownDescendantContext"), [ji, We] = oi("Dropdown"), Xi = {
4784
4784
  triggerId: null,
4785
4785
  isExpanded: !1,
4786
4786
  typeaheadQuery: "",
4787
4787
  selectionIndex: -1
4788
- }, jn = ({
4788
+ }, Gn = ({
4789
4789
  id: e,
4790
4790
  children: t
4791
4791
  }) => {
4792
4792
  let r = w.useRef(null), n = w.useRef(null), a = w.useRef(null), [o, i] = _i(), l = Di(e), u = e || it("menu", l), f = it("menu-button", u), [c, h] = w.useReducer(Qi, {
4793
4793
  ...Xi,
4794
4794
  triggerId: f
4795
- }), g = w.useRef(!1), b = w.useRef([]), M = w.useRef(!1), I = w.useRef({
4795
+ }), m = w.useRef(!1), b = w.useRef([]), M = w.useRef(!1), R = w.useRef({
4796
4796
  x: 0,
4797
4797
  y: 0
4798
4798
  });
@@ -4804,16 +4804,16 @@ var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji
4804
4804
  context: ft,
4805
4805
  items: o,
4806
4806
  set: i,
4807
- children: /* @__PURE__ */ d(Gi, {
4807
+ children: /* @__PURE__ */ d(ji, {
4808
4808
  dispatch: h,
4809
4809
  dropdownId: u,
4810
4810
  dropdownRef: n,
4811
- mouseDownStartPosRef: I,
4811
+ mouseDownStartPosRef: R,
4812
4812
  popoverRef: a,
4813
4813
  readyToSelect: M,
4814
4814
  selectCallbacks: b,
4815
4815
  state: c,
4816
- triggerClickedRef: g,
4816
+ triggerClickedRef: m,
4817
4817
  triggerRef: r,
4818
4818
  children: ot(t) ? t({
4819
4819
  isExpanded: c.isExpanded,
@@ -4822,8 +4822,8 @@ var Un = "CLEAR_SELECTION_INDEX", er = "CLICK_MENU_ITEM", Ze = "CLOSE_MENU", ji
4822
4822
  })
4823
4823
  });
4824
4824
  };
4825
- jn.displayName = "DropdownProvider";
4826
- function Gn({
4825
+ Gn.displayName = "DropdownProvider";
4826
+ function jn({
4827
4827
  onKeyDown: e,
4828
4828
  onMouseDown: t,
4829
4829
  id: r,
@@ -4840,19 +4840,19 @@ function Gn({
4840
4840
  triggerId: c,
4841
4841
  isExpanded: h
4842
4842
  }
4843
- } = We("useDropdownTrigger"), g = Ye(f, n), b = Yn(), M = w.useMemo(() => b.findIndex((x) => !x.disabled), [b]);
4843
+ } = We("useDropdownTrigger"), m = Ye(f, n), b = Yn(), M = w.useMemo(() => b.findIndex((x) => !x.disabled), [b]);
4844
4844
  w.useEffect(() => {
4845
4845
  r != null && r !== c && o({
4846
- type: jt,
4846
+ type: Gt,
4847
4847
  payload: r
4848
4848
  });
4849
4849
  }, [c, o, r]), w.useEffect(() => {
4850
4850
  r == null && o({
4851
- type: jt,
4851
+ type: Gt,
4852
4852
  payload: it("menu-button", i)
4853
4853
  });
4854
4854
  }, [i, o, r]);
4855
- function I(x) {
4855
+ function R(x) {
4856
4856
  switch (x.key) {
4857
4857
  case "ArrowDown":
4858
4858
  case "ArrowUp":
@@ -4874,7 +4874,7 @@ function Gn({
4874
4874
  break;
4875
4875
  }
4876
4876
  }
4877
- function T(x) {
4877
+ function I(x) {
4878
4878
  nt(x.nativeEvent) || (l.current = {
4879
4879
  x: x.clientX,
4880
4880
  y: x.clientY
@@ -4891,10 +4891,10 @@ function Gn({
4891
4891
  },
4892
4892
  props: {
4893
4893
  ...a,
4894
- ref: g,
4894
+ ref: m,
4895
4895
  id: c || void 0,
4896
- onKeyDown: K(e, I),
4897
- onMouseDown: K(t, T),
4896
+ onKeyDown: K(e, R),
4897
+ onMouseDown: K(t, I),
4898
4898
  type: "button"
4899
4899
  }
4900
4900
  };
@@ -4905,7 +4905,7 @@ var Vi = w.forwardRef(({
4905
4905
  }, r) => {
4906
4906
  let {
4907
4907
  props: n
4908
- } = Gn({
4908
+ } = jn({
4909
4909
  ...t,
4910
4910
  ref: r
4911
4911
  });
@@ -4928,32 +4928,32 @@ function Xn({
4928
4928
  onSelect: f,
4929
4929
  disabled: c,
4930
4930
  onFocus: h,
4931
- valueText: g,
4931
+ valueText: m,
4932
4932
  ref: b,
4933
4933
  ...M
4934
4934
  }) {
4935
4935
  let {
4936
- dispatch: I,
4937
- dropdownRef: T,
4936
+ dispatch: R,
4937
+ dropdownRef: I,
4938
4938
  mouseDownStartPosRef: x,
4939
4939
  readyToSelect: p,
4940
- selectCallbacks: v,
4941
- triggerRef: P,
4940
+ selectCallbacks: g,
4941
+ triggerRef: N,
4942
4942
  state: {
4943
4943
  selectionIndex: y,
4944
4944
  isExpanded: z
4945
4945
  }
4946
- } = We("useDropdownItem"), B = w.useRef(null), [ge, Ie] = w.useState(g || ""), Fe = w.useCallback((L) => {
4947
- !g && (L == null ? void 0 : L.textContent) && Ie(L.textContent);
4948
- }, [g]), fe = w.useRef(!1), [ye, Q] = ii(B, null), te = w.useMemo(() => ({
4946
+ } = We("useDropdownItem"), B = w.useRef(null), [ge, Ie] = w.useState(m || ""), Fe = w.useCallback((L) => {
4947
+ !m && (L == null ? void 0 : L.textContent) && Ie(L.textContent);
4948
+ }, [m]), fe = w.useRef(!1), [ye, Q] = ii(B, null), re = w.useMemo(() => ({
4949
4949
  element: ye,
4950
4950
  key: ge,
4951
4951
  disabled: c,
4952
4952
  isLink: t
4953
- }), [c, ye, t, ge]), V = Li(te, ft, e), se = V === y && !c, Me = Ye(b, Q, Fe);
4954
- v.current[V] = f;
4953
+ }), [c, ye, t, ge]), V = Li(re, ft, e), se = V === y && !c, Me = Ye(b, Q, Fe);
4954
+ g.current[V] = f;
4955
4955
  function he() {
4956
- st(P.current), f && f(), I({
4956
+ st(N.current), f && f(), R({
4957
4957
  type: er
4958
4958
  });
4959
4959
  }
@@ -4967,8 +4967,8 @@ function Xn({
4967
4967
  nt(L.nativeEvent) || (t ? fe.current = !0 : L.preventDefault());
4968
4968
  }
4969
4969
  function Oe(L) {
4970
- let J = Xe(T.current);
4971
- !se && V != null && !c && ((T == null ? void 0 : T.current) && T.current !== J.activeElement && B.current !== J.activeElement && T.current.focus(), I({
4970
+ let J = Xe(I.current);
4971
+ !se && V != null && !c && ((I == null ? void 0 : I.current) && I.current !== J.activeElement && B.current !== J.activeElement && I.current.focus(), R({
4972
4972
  type: pe,
4973
4973
  payload: {
4974
4974
  index: V
@@ -4976,7 +4976,7 @@ function Xn({
4976
4976
  }));
4977
4977
  }
4978
4978
  function Ae(L) {
4979
- I({
4979
+ R({
4980
4980
  type: Un
4981
4981
  });
4982
4982
  }
@@ -4985,16 +4985,16 @@ function Xn({
4985
4985
  let J = 8, we = Math.abs(L.clientX - x.current.x), de = Math.abs(L.clientY - x.current.y);
4986
4986
  (we > J || de > J) && (p.current = !0);
4987
4987
  }
4988
- !se && V != null && !c && I({
4988
+ !se && V != null && !c && R({
4989
4989
  type: pe,
4990
4990
  payload: {
4991
4991
  index: V,
4992
- dropdownRef: T
4992
+ dropdownRef: I
4993
4993
  }
4994
4994
  });
4995
4995
  }
4996
4996
  function ke() {
4997
- p.current = !0, !se && V != null && !c && I({
4997
+ p.current = !0, !se && V != null && !c && R({
4998
4998
  type: pe,
4999
4999
  payload: {
5000
5000
  index: V
@@ -5083,25 +5083,25 @@ function Vn({
5083
5083
  isExpanded: f,
5084
5084
  triggerId: c,
5085
5085
  selectionIndex: h,
5086
- typeaheadQuery: g
5086
+ typeaheadQuery: m
5087
5087
  }
5088
5088
  } = We("useDropdownItems"), b = Yn(), M = Ye(i, r);
5089
5089
  w.useEffect(() => {
5090
- let v = Wi(b, g);
5091
- g && v != null && a({
5090
+ let g = Wi(b, m);
5091
+ m && g != null && a({
5092
5092
  type: pe,
5093
5093
  payload: {
5094
- index: v,
5094
+ index: g,
5095
5095
  dropdownRef: i
5096
5096
  }
5097
5097
  });
5098
- let P = window.setTimeout(() => g && a({
5098
+ let N = window.setTimeout(() => m && a({
5099
5099
  type: zt,
5100
5100
  payload: ""
5101
5101
  }), 1e3);
5102
- return () => window.clearTimeout(P);
5103
- }, [a, b, g, i]);
5104
- let I = St(b.length), T = St(b[h]), x = St(h);
5102
+ return () => window.clearTimeout(N);
5103
+ }, [a, b, m, i]);
5104
+ let R = St(b.length), I = St(b[h]), x = St(h);
5105
5105
  w.useEffect(() => {
5106
5106
  h > b.length - 1 ? a({
5107
5107
  type: pe,
@@ -5109,24 +5109,24 @@ function Vn({
5109
5109
  index: b.length - 1,
5110
5110
  dropdownRef: i
5111
5111
  }
5112
- }) : I !== b.length && h > -1 && T && x === h && b[h] !== T && a({
5112
+ }) : R !== b.length && h > -1 && I && x === h && b[h] !== I && a({
5113
5113
  type: pe,
5114
5114
  payload: {
5115
- index: b.findIndex((v) => v.key === (T == null ? void 0 : T.key)),
5115
+ index: b.findIndex((g) => g.key === (I == null ? void 0 : I.key)),
5116
5116
  dropdownRef: i
5117
5117
  }
5118
5118
  });
5119
- }, [i, a, b, I, T, x, h]);
5120
- let p = K(function(P) {
5119
+ }, [i, a, b, R, I, x, h]);
5120
+ let p = K(function(N) {
5121
5121
  let {
5122
5122
  key: y
5123
- } = P;
5123
+ } = N;
5124
5124
  if (!!f)
5125
5125
  switch (y) {
5126
5126
  case "Enter":
5127
5127
  case " ":
5128
5128
  let z = b.find((B) => B.index === h);
5129
- z && !z.disabled && (P.preventDefault(), z.isLink && z.element ? z.element.click() : (st(o.current), l.current[z.index] && l.current[z.index](), a({
5129
+ z && !z.disabled && (N.preventDefault(), z.isLink && z.element ? z.element.click() : (st(o.current), l.current[z.index] && l.current[z.index](), a({
5130
5130
  type: er
5131
5131
  })));
5132
5132
  break;
@@ -5136,11 +5136,11 @@ function Vn({
5136
5136
  });
5137
5137
  break;
5138
5138
  case "Tab":
5139
- P.preventDefault();
5139
+ N.preventDefault();
5140
5140
  break;
5141
5141
  default:
5142
5142
  if (ni(y) && y.length === 1) {
5143
- let B = g + y.toLowerCase();
5143
+ let B = m + y.toLowerCase();
5144
5144
  a({
5145
5145
  type: zt,
5146
5146
  payload: B
@@ -5152,12 +5152,12 @@ function Vn({
5152
5152
  currentIndex: h,
5153
5153
  orientation: "vertical",
5154
5154
  rotate: !1,
5155
- filter: (v) => !v.disabled,
5156
- callback: (v) => {
5155
+ filter: (g) => !g.disabled,
5156
+ callback: (g) => {
5157
5157
  a({
5158
5158
  type: pe,
5159
5159
  payload: {
5160
- index: v,
5160
+ index: g,
5161
5161
  dropdownRef: i
5162
5162
  }
5163
5163
  });
@@ -5214,14 +5214,14 @@ function Zn({
5214
5214
  return w.useEffect(() => {
5215
5215
  if (!c)
5216
5216
  return;
5217
- let g = Xe(f.current);
5217
+ let m = Xe(f.current);
5218
5218
  function b(M) {
5219
5219
  i.current ? i.current = !1 : qi(f.current, M.target) || l({
5220
5220
  type: Ze
5221
5221
  });
5222
5222
  }
5223
- return g.addEventListener("mousedown", b), () => {
5224
- g.removeEventListener("mousedown", b);
5223
+ return m.addEventListener("mousedown", b), () => {
5224
+ m.removeEventListener("mousedown", b);
5225
5225
  };
5226
5226
  }, [i, o, l, u, f, c]), {
5227
5227
  data: {
@@ -5233,8 +5233,8 @@ function Zn({
5233
5233
  props: {
5234
5234
  ref: h,
5235
5235
  hidden: !c,
5236
- onBlur: K(e, (g) => {
5237
- g.currentTarget.contains(g.relatedTarget) || l({
5236
+ onBlur: K(e, (m) => {
5237
+ m.currentTarget.contains(m.relatedTarget) || l({
5238
5238
  type: Ze
5239
5239
  });
5240
5240
  }),
@@ -5307,7 +5307,7 @@ function Qi(e, t = {}) {
5307
5307
  isExpanded: !1,
5308
5308
  selectionIndex: -1
5309
5309
  };
5310
- case ji:
5310
+ case Gi:
5311
5311
  return {
5312
5312
  ...e,
5313
5313
  isExpanded: !0,
@@ -5348,7 +5348,7 @@ function Qi(e, t = {}) {
5348
5348
  ...e,
5349
5349
  selectionIndex: -1
5350
5350
  };
5351
- case jt:
5351
+ case Gt:
5352
5352
  return {
5353
5353
  ...e,
5354
5354
  triggerId: t.payload
@@ -5387,7 +5387,7 @@ var qe = w.forwardRef(({
5387
5387
  };
5388
5388
  return /* @__PURE__ */ d(e, {
5389
5389
  ...i,
5390
- children: /* @__PURE__ */ d(jn, {
5390
+ children: /* @__PURE__ */ d(Gn, {
5391
5391
  id: t,
5392
5392
  children: r
5393
5393
  })
@@ -5404,7 +5404,7 @@ var Qe = w.forwardRef(({
5404
5404
  controls: a
5405
5405
  },
5406
5406
  props: o
5407
- } = Gn({
5407
+ } = jn({
5408
5408
  ...t,
5409
5409
  ref: r
5410
5410
  });
@@ -5552,7 +5552,7 @@ function Ki({
5552
5552
  }));
5553
5553
  return /* @__PURE__ */ k(qe, {
5554
5554
  children: [/* @__PURE__ */ k(Qe, {
5555
- as: re,
5555
+ as: ee,
5556
5556
  className: "aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 aria-expanded:tw-duration-150",
5557
5557
  variant: "ghost",
5558
5558
  colorScheme: "primary",
@@ -5599,7 +5599,7 @@ function Ki({
5599
5599
  })]
5600
5600
  });
5601
5601
  }
5602
- function Gr({
5602
+ function jr({
5603
5603
  children: e,
5604
5604
  className: t,
5605
5605
  ...r
@@ -5637,7 +5637,7 @@ function as({
5637
5637
  return /* @__PURE__ */ k(qe, {
5638
5638
  children: [/* @__PURE__ */ k(Qe, {
5639
5639
  className: "aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 tw-hidden aria-expanded:tw-duration-150 sm:tw-inline-block",
5640
- as: re,
5640
+ as: ee,
5641
5641
  variant: "ghost",
5642
5642
  colorScheme: "primary",
5643
5643
  compact: !0,
@@ -5765,7 +5765,7 @@ function ss({
5765
5765
  }) {
5766
5766
  return /* @__PURE__ */ k(qe, {
5767
5767
  children: [/* @__PURE__ */ d(Qe, {
5768
- as: re,
5768
+ as: ee,
5769
5769
  className: "aria-expanded:tw-border-gray-100 aria-expanded:tw-bg-gray-100 aria-expanded:tw-text-gray-700 aria-expanded:tw-duration-150",
5770
5770
  variant: "ghost",
5771
5771
  colorScheme: "gray",
@@ -5812,7 +5812,7 @@ function ls({
5812
5812
  onClick: t
5813
5813
  }) {
5814
5814
  const r = Re();
5815
- return /* @__PURE__ */ k(re, {
5815
+ return /* @__PURE__ */ k(ee, {
5816
5816
  className: "tw-hidden sm:tw-inline-block",
5817
5817
  variant: "ghost",
5818
5818
  colorScheme: "primary",
@@ -5859,7 +5859,7 @@ function us({
5859
5859
  return /* @__PURE__ */ k(qe, {
5860
5860
  children: [/* @__PURE__ */ k(Qe, {
5861
5861
  className: "!tw-px-0 !tw-py-0 tw-transition-opacity hover:tw-opacity-80 aria-expanded:tw-opacity-80 aria-expanded:tw-duration-150",
5862
- as: re,
5862
+ as: ee,
5863
5863
  variant: "ghost",
5864
5864
  colorScheme: "primary",
5865
5865
  compact: !0,
@@ -5906,7 +5906,7 @@ function us({
5906
5906
  className: "tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-base tw-font-semibold tw-leading-tight tw-text-black",
5907
5907
  children: e
5908
5908
  }), /* @__PURE__ */ d(ht, {
5909
- as: re,
5909
+ as: ee,
5910
5910
  className: "tw-self-end data-[selected]:[&:not(:hover)]:tw-ring data-[selected]:[&:not(:hover)]:tw-ring-gray-300",
5911
5911
  variant: "outline",
5912
5912
  colorScheme: "gray",
@@ -5931,39 +5931,40 @@ function cs({
5931
5931
  applications: t,
5932
5932
  notificationCount: r,
5933
5933
  onNotificationClick: n,
5934
- onToggleMenuClick: a,
5935
- language: o,
5936
- languages: i,
5937
- onLanguageChange: l,
5938
- username: u,
5939
- version: f,
5940
- logout: c,
5941
- refreshToken: h,
5942
- loginUrl: g,
5943
- withMaxWith: b = !1,
5944
- className: M,
5934
+ onInstallationClick: a,
5935
+ onToggleMenuClick: o,
5936
+ language: i,
5937
+ languages: l,
5938
+ onLanguageChange: u,
5939
+ username: f,
5940
+ version: c,
5941
+ logout: h,
5942
+ refreshToken: m,
5943
+ loginUrl: b,
5944
+ withMaxWith: M = !1,
5945
+ className: R,
5945
5946
  ...I
5946
5947
  }) {
5947
- const T = Re(), x = t == null ? void 0 : t[e], p = t == null ? void 0 : t["x4b-settings"], v = () => {
5948
- const P = !ti();
5949
- ri(P), a && a(P);
5948
+ const x = Re(), p = t == null ? void 0 : t[e], g = t == null ? void 0 : t["x4b-settings"], N = () => {
5949
+ const y = !ti();
5950
+ ri(y), o && o(y);
5950
5951
  };
5951
- return x ? /* @__PURE__ */ d("header", {
5952
+ return p ? /* @__PURE__ */ d("header", {
5952
5953
  ...I,
5953
5954
  "aria-label": "Global",
5954
- className: at(M, "tw-box-border tw-bg-white ", h && "tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),
5955
+ className: at(R, "tw-box-border tw-bg-white ", m && "tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),
5955
5956
  children: /* @__PURE__ */ k("nav", {
5956
5957
  "aria-label": "top",
5957
- className: at(h ? "tw-gap-0 sm:tw-gap-1 lg:tw-gap-2" : "tw-gap-0 sm:tw-gap-1", b && "tw-mx-auto tw-max-w-7xl", "tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),
5958
- children: [h && a && /* @__PURE__ */ k(re, {
5958
+ className: at(m ? "tw-gap-0 sm:tw-gap-1 lg:tw-gap-2" : "tw-gap-0 sm:tw-gap-1", M && "tw-mx-auto tw-max-w-7xl", "tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),
5959
+ children: [m && o && /* @__PURE__ */ k(ee, {
5959
5960
  variant: "ghost",
5960
5961
  colorScheme: "primary",
5961
5962
  compact: !0,
5962
5963
  rounded: !0,
5963
- onClick: v,
5964
+ onClick: N,
5964
5965
  children: [/* @__PURE__ */ d("p", {
5965
5966
  className: "tw-sr-only",
5966
- children: T.formatMessage({
5967
+ children: x.formatMessage({
5967
5968
  id: "mainMenu"
5968
5969
  })
5969
5970
  }), /* @__PURE__ */ k("svg", {
@@ -5973,7 +5974,7 @@ function cs({
5973
5974
  height: "20",
5974
5975
  viewBox: "0 0 18 16",
5975
5976
  children: [/* @__PURE__ */ d("title", {
5976
- children: T.formatMessage({
5977
+ children: x.formatMessage({
5977
5978
  id: "mainMenu"
5978
5979
  })
5979
5980
  }), /* @__PURE__ */ d("g", {
@@ -5990,27 +5991,40 @@ function cs({
5990
5991
  width: "34",
5991
5992
  height: "34",
5992
5993
  "aria-hidden": !0,
5993
- src: `data:image/svg+xml;base64,${x.logo}`,
5994
+ src: `data:image/svg+xml;base64,${p.logo}`,
5994
5995
  className: "tw-my-0 tw-block"
5995
- }), /* @__PURE__ */ d(Gr, {
5996
+ }), /* @__PURE__ */ d(jr, {
5996
5997
  className: "tw-hidden md:tw-block",
5997
- children: x.name
5998
- }), /* @__PURE__ */ d(Gr, {
5998
+ children: p.name
5999
+ }), /* @__PURE__ */ d(jr, {
5999
6000
  className: "tw-block md:tw-hidden",
6000
- children: x.shortname || x.name
6001
- }), r !== void 0 && h && /* @__PURE__ */ d(ls, {
6001
+ children: p.shortname || p.name
6002
+ }), a !== void 0 && /* @__PURE__ */ d(ee, {
6003
+ as: "a",
6004
+ variant: "ghost",
6005
+ colorScheme: "primary",
6006
+ compact: !1,
6007
+ rounded: !1,
6008
+ "aria-label": x.formatMessage({
6009
+ id: "installGateway"
6010
+ }),
6011
+ onClick: a,
6012
+ children: x.formatMessage({
6013
+ id: "installGateway"
6014
+ })
6015
+ }), r !== void 0 && m && /* @__PURE__ */ d(ls, {
6002
6016
  count: r,
6003
6017
  onClick: n
6004
- }), p && h && /* @__PURE__ */ k(re, {
6018
+ }), g && m && /* @__PURE__ */ k(ee, {
6005
6019
  as: "a",
6006
6020
  variant: "ghost",
6007
6021
  colorScheme: "primary",
6008
6022
  compact: !0,
6009
6023
  rounded: !0,
6010
- href: `${p.url}${h ? `#refreshToken=${h}` : ""}`,
6024
+ href: `${g.url}${m ? `#refreshToken=${m}` : ""}`,
6011
6025
  children: [/* @__PURE__ */ d("p", {
6012
6026
  className: "tw-sr-only",
6013
- children: T.formatMessage({
6027
+ children: x.formatMessage({
6014
6028
  id: "settings"
6015
6029
  })
6016
6030
  }), /* @__PURE__ */ k("svg", {
@@ -6020,7 +6034,7 @@ function cs({
6020
6034
  height: "22",
6021
6035
  viewBox: "0 0 22 22",
6022
6036
  children: [/* @__PURE__ */ d("title", {
6023
- children: T.formatMessage({
6037
+ children: x.formatMessage({
6024
6038
  id: "settings"
6025
6039
  })
6026
6040
  }), /* @__PURE__ */ d("g", {
@@ -6033,21 +6047,21 @@ function cs({
6033
6047
  })]
6034
6048
  })]
6035
6049
  }), /* @__PURE__ */ d(as, {
6036
- documentationUrl: x.documentationUrl,
6050
+ documentationUrl: p.documentationUrl,
6037
6051
  systemInfo: {
6038
- applicationName: x.name,
6039
- username: u,
6040
- version: f,
6041
- url: x.url
6052
+ applicationName: p.name,
6053
+ username: f,
6054
+ version: c,
6055
+ url: p.url
6042
6056
  }
6043
- }), /* @__PURE__ */ d(re, {
6057
+ }), /* @__PURE__ */ d(ee, {
6044
6058
  href: "https://slack.xcomponent.com",
6045
6059
  as: "a",
6046
6060
  variant: "ghost",
6047
6061
  colorScheme: "primary",
6048
6062
  compact: !0,
6049
6063
  rounded: !0,
6050
- "aria-label": T.formatMessage({
6064
+ "aria-label": x.formatMessage({
6051
6065
  id: "contactDevelopers"
6052
6066
  }),
6053
6067
  children: /* @__PURE__ */ k("svg", {
@@ -6057,7 +6071,7 @@ function cs({
6057
6071
  "aria-hidden": !0,
6058
6072
  className: "tw-w-[1.5rem] tw-h-[1.5rem] tw-block",
6059
6073
  children: [/* @__PURE__ */ d("title", {
6060
- children: T.formatMessage({
6074
+ children: x.formatMessage({
6061
6075
  id: "contactDevelopers"
6062
6076
  })
6063
6077
  }), /* @__PURE__ */ d("path", {
@@ -6074,36 +6088,36 @@ function cs({
6074
6088
  fill: "#ECB22E"
6075
6089
  })]
6076
6090
  })
6077
- }), h && t && /* @__PURE__ */ d(Ki, {
6091
+ }), m && t && /* @__PURE__ */ d(Ki, {
6078
6092
  applicationDescriptions: t,
6079
- refreshToken: h
6080
- }), h && u && f && c && /* @__PURE__ */ d(us, {
6081
- username: u,
6082
- version: f,
6083
- onLogout: c
6093
+ refreshToken: m
6094
+ }), m && f && c && h && /* @__PURE__ */ d(us, {
6095
+ username: f,
6096
+ version: c,
6097
+ onLogout: h
6084
6098
  }), /* @__PURE__ */ d(ss, {
6085
- language: o || "en",
6086
- languages: i || ["en"],
6087
- onLanguageSelected: l
6088
- }), !h && /* @__PURE__ */ k(Wo, {
6089
- children: [/* @__PURE__ */ d(re, {
6099
+ language: i || "en",
6100
+ languages: l || ["en"],
6101
+ onLanguageSelected: u
6102
+ }), !m && /* @__PURE__ */ k(Wo, {
6103
+ children: [/* @__PURE__ */ d(ee, {
6090
6104
  className: "tw-ml-2 tw-mr-0 md:tw-ml-3 lg:tw-mr-3",
6091
6105
  size: "lg",
6092
- href: g,
6106
+ href: b,
6093
6107
  as: "a",
6094
6108
  variant: "link",
6095
6109
  colorScheme: "gray",
6096
- children: T.formatMessage({
6110
+ children: x.formatMessage({
6097
6111
  id: "login"
6098
6112
  })
6099
- }), /* @__PURE__ */ d(re, {
6113
+ }), /* @__PURE__ */ d(ee, {
6100
6114
  className: "tw-ml-3 tw-hidden lg:tw-inline-block",
6101
6115
  size: "xl",
6102
- href: g,
6116
+ href: b,
6103
6117
  as: "a",
6104
6118
  variant: "solid",
6105
6119
  colorScheme: "primary",
6106
- children: T.formatMessage({
6120
+ children: x.formatMessage({
6107
6121
  id: "getStartedFree"
6108
6122
  })
6109
6123
  })]
@@ -6117,7 +6131,7 @@ const fs = {
6117
6131
  mainMenu: "Main menu",
6118
6132
  settings: "Settings",
6119
6133
  help: "Help",
6120
- contactDevelopers: "Contact Developers",
6134
+ contactDevelopers: "Contact Community",
6121
6135
  contactus: "Contact Support",
6122
6136
  contactUsMailBody: `Hello Support team,
6123
6137
 
@@ -6143,12 +6157,13 @@ The more precise your explanation, the better our answer. \u{1F60A}>
6143
6157
  logout: "Sign out",
6144
6158
  version: "Version: {version}",
6145
6159
  login: "Log in",
6146
- getStartedFree: "Get started free"
6160
+ getStartedFree: "Get started free",
6161
+ installGateway: "Install Gateways & Agents"
6147
6162
  }, hs = {
6148
6163
  mainMenu: "Menu principal",
6149
6164
  settings: "Param\xE8tres",
6150
6165
  help: "Aide",
6151
- contactDevelopers: "Contacter les d\xE9veloppeurs",
6166
+ contactDevelopers: "Contacter la communaut\xE9",
6152
6167
  contactus: "Contacter le support",
6153
6168
  contactUsMailBody: `Bonjour,
6154
6169
 
@@ -6174,7 +6189,8 @@ The more precise your explanation, the better our answer. \u{1F60A}>
6174
6189
  logout: "D\xE9connexion",
6175
6190
  version: "Version : {version}",
6176
6191
  login: "Se connecter",
6177
- getStartedFree: "Essayer gratuitement"
6192
+ getStartedFree: "Essayer gratuitement",
6193
+ installGateway: "Installation des passerelles & agents"
6178
6194
  }, ds = {
6179
6195
  en: fs,
6180
6196
  fr: hs
@@ -6200,14 +6216,14 @@ async function ps(e) {
6200
6216
  hidden: Boolean(a.hidden)
6201
6217
  }, n), {}) : (console.error(t.text), {});
6202
6218
  }
6203
- function Gt(e) {
6219
+ function jt(e) {
6204
6220
  this.message = e;
6205
6221
  }
6206
- Gt.prototype = new Error(), Gt.prototype.name = "InvalidCharacterError";
6222
+ jt.prototype = new Error(), jt.prototype.name = "InvalidCharacterError";
6207
6223
  var Zr = typeof window < "u" && window.atob && window.atob.bind(window) || function(e) {
6208
6224
  var t = String(e).replace(/=+$/, "");
6209
6225
  if (t.length % 4 == 1)
6210
- throw new Gt("'atob' failed: The string to be decoded is not correctly encoded.");
6226
+ throw new jt("'atob' failed: The string to be decoded is not correctly encoded.");
6211
6227
  for (var r, n, a = 0, o = 0, i = ""; n = t.charAt(o++); ~n && (r = a % 4 ? 64 * r + n : n, a++ % 4) ? i += String.fromCharCode(255 & r >> (-2 * a & 6)) : 0)
6212
6228
  n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(n);
6213
6229
  return i;