react-ecosistema-unp 0.5.0 → 0.5.8

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.
@@ -1,10 +1,11 @@
1
- import { jsx as j, Fragment as kt, jsxs as On } from "react/jsx-runtime";
2
- import { G as Dn } from "./iconBase-LROS5hdG.js";
3
- import { g as En, u as Y, c as G, a as Pn } from "./ThemeProvider-CFCmmLJC.js";
4
- import * as M from "react";
5
- import { useRef as H, useState as qe, useCallback as _, useEffect as X, useReducer as Cn, useMemo as Me, useContext as k, createContext as $n, useLayoutEffect as An } from "react";
6
- import { _ as Rn, a as J, o as jn, l as Ae, $ as Mn, S as Te, m as Ne, c as Tn, b as Nn, d as Sn, u as ze, T as In } from "./TabContext-BvNFEruk.js";
7
- import { w as Bt } from "./warning-BMiIoRBk.js";
1
+ import { jsx as j, Fragment as St, jsxs as bn } from "react/jsx-runtime";
2
+ import { G as xn } from "./iconBase-LROS5hdG.js";
3
+ import { g as On, u as J, c as Q, a as En } from "./ThemeProvider-CFCmmLJC.js";
4
+ import * as N from "react";
5
+ import { useRef as H, useState as qe, useCallback as _, useEffect as X, useReducer as Dn, useMemo as Me, useContext as k, createContext as Pn, useLayoutEffect as Cn } from "react";
6
+ import { _ as $n, a as Y, o as An, l as Ae, $ as Rn, S as Ne, m as Te, c as jn, b as Mn, d as Nn, u as ze, T as Tn } from "./TabContext-BvNFEruk.js";
7
+ import { w as It } from "./warning-BMiIoRBk.js";
8
+ import { u as Sn, a as kt, B as In } from "./Button-BLXN_4Tu.js";
8
9
  import './assets/NotificacionUsuario.css';function Ve() {
9
10
  return Ve = Object.assign ? Object.assign.bind() : function(e) {
10
11
  for (var t = 1; t < arguments.length; t++) {
@@ -14,10 +15,10 @@ import './assets/NotificacionUsuario.css';function Ve() {
14
15
  return e;
15
16
  }, Ve.apply(null, arguments);
16
17
  }
17
- var Fe, gt;
18
+ var Fe, vt;
18
19
  function kn() {
19
- if (gt) return Fe;
20
- gt = 1;
20
+ if (vt) return Fe;
21
+ vt = 1;
21
22
  var e = function(t, n, r, o, i, f, s, u) {
22
23
  if (process.env.NODE_ENV !== "production" && n === void 0)
23
24
  throw new Error("invariant requires an error message argument");
@@ -41,8 +42,8 @@ function kn() {
41
42
  return Fe = e, Fe;
42
43
  }
43
44
  var Bn = kn();
44
- const ht = /* @__PURE__ */ En(Bn);
45
- function wt(e) {
45
+ const mt = /* @__PURE__ */ On(Bn);
46
+ function gt(e) {
46
47
  return "default" + e.charAt(0).toUpperCase() + e.substr(1);
47
48
  }
48
49
  function Ln(e) {
@@ -62,15 +63,15 @@ function Wn(e, t) {
62
63
  function Hn(e, t, n) {
63
64
  var r = H(e !== void 0), o = qe(t), i = o[0], f = o[1], s = e !== void 0, u = r.current;
64
65
  return r.current = s, !s && u && i !== t && f(t), [s ? e : i, _(function(c) {
65
- for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), d = 1; d < a; d++)
66
- l[d - 1] = arguments[d];
66
+ for (var a = arguments.length, l = new Array(a > 1 ? a - 1 : 0), v = 1; v < a; v++)
67
+ l[v - 1] = arguments[v];
67
68
  n && n.apply(void 0, [c].concat(l)), f(c);
68
69
  }, [n])];
69
70
  }
70
71
  function Fn(e, t) {
71
72
  return Object.keys(t).reduce(function(n, r) {
72
- var o, i = n, f = i[wt(r)], s = i[r], u = Rn(i, [wt(r), r].map(Ln)), c = t[r], a = Hn(s, f, e[c]), l = a[0], d = a[1];
73
- return Ve({}, u, (o = {}, o[r] = l, o[c] = d, o));
73
+ var o, i = n, f = i[gt(r)], s = i[r], u = $n(i, [gt(r), r].map(Ln)), c = t[r], a = Hn(s, f, e[c]), l = a[0], v = a[1];
74
+ return Ve({}, u, (o = {}, o[r] = l, o[c] = v, o));
74
75
  }, e);
75
76
  }
76
77
  function Un(e) {
@@ -89,7 +90,7 @@ function Kn() {
89
90
  return qe(null);
90
91
  }
91
92
  function _n(e, t, n, r = !1) {
92
- const o = J(n);
93
+ const o = Y(n);
93
94
  X(() => {
94
95
  const i = typeof e == "function" ? e() : e;
95
96
  return i.addEventListener(t, o, r), () => i.removeEventListener(t, o, r);
@@ -107,7 +108,7 @@ function zn(e) {
107
108
  t.current = e;
108
109
  }), t.current;
109
110
  }
110
- const Xn = ["as", "disabled"];
111
+ const Xn = ["onKeyDown"];
111
112
  function Yn(e, t) {
112
113
  if (e == null) return {};
113
114
  var n = {};
@@ -120,88 +121,16 @@ function Yn(e, t) {
120
121
  function Gn(e) {
121
122
  return !e || e.trim() === "#";
122
123
  }
123
- function Xe({
124
- tagName: e,
125
- disabled: t,
126
- href: n,
127
- target: r,
128
- rel: o,
129
- role: i,
130
- onClick: f,
131
- tabIndex: s = 0,
132
- type: u
133
- }) {
134
- e || (n != null || r != null || o != null ? e = "a" : e = "button");
135
- const c = {
136
- tagName: e
137
- };
138
- if (e === "button")
139
- return [{
140
- type: u || "button",
141
- disabled: t
142
- }, c];
143
- const a = (d) => {
144
- if ((t || e === "a" && Gn(n)) && d.preventDefault(), t) {
145
- d.stopPropagation();
146
- return;
147
- }
148
- f == null || f(d);
149
- }, l = (d) => {
150
- d.key === " " && (d.preventDefault(), a(d));
151
- };
152
- return e === "a" && (n || (n = "#"), t && (n = void 0)), [{
153
- role: i ?? "button",
154
- // explicitly undefined so that it overrides the props disabled in a spread
155
- // e.g. <Tag {...props} {...hookProps} />
156
- disabled: void 0,
157
- tabIndex: t ? void 0 : s,
158
- href: n,
159
- target: e === "a" ? r : void 0,
160
- "aria-disabled": t || void 0,
161
- rel: e === "a" ? o : void 0,
162
- onClick: a,
163
- onKeyDown: l
164
- }, c];
165
- }
166
- const Ye = /* @__PURE__ */ M.forwardRef((e, t) => {
167
- let {
168
- as: n,
169
- disabled: r
170
- } = e, o = Yn(e, Xn);
171
- const [i, {
172
- tagName: f
173
- }] = Xe(Object.assign({
174
- tagName: n,
175
- disabled: r
176
- }, o));
177
- return /* @__PURE__ */ j(f, Object.assign({}, o, i, {
178
- ref: t
179
- }));
180
- });
181
- Ye.displayName = "Button";
182
- const Jn = ["onKeyDown"];
183
- function Qn(e, t) {
184
- if (e == null) return {};
185
- var n = {};
186
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
187
- if (t.indexOf(r) >= 0) continue;
188
- n[r] = e[r];
189
- }
190
- return n;
191
- }
192
- function Zn(e) {
193
- return !e || e.trim() === "#";
194
- }
195
- const Ge = /* @__PURE__ */ M.forwardRef((e, t) => {
124
+ const Xe = /* @__PURE__ */ N.forwardRef((e, t) => {
196
125
  let {
197
126
  onKeyDown: n
198
- } = e, r = Qn(e, Jn);
199
- const [o] = Xe(Object.assign({
127
+ } = e, r = Yn(e, Xn);
128
+ const [o] = Sn(Object.assign({
200
129
  tagName: "a"
201
- }, r)), i = J((f) => {
130
+ }, r)), i = Y((f) => {
202
131
  o.onKeyDown(f), n == null || n(f);
203
132
  });
204
- return Zn(r.href) || r.role === "button" ? /* @__PURE__ */ j("a", Object.assign({
133
+ return Gn(r.href) || r.role === "button" ? /* @__PURE__ */ j("a", Object.assign({
205
134
  ref: t
206
135
  }, r, o, {
207
136
  onKeyDown: i
@@ -211,44 +140,18 @@ const Ge = /* @__PURE__ */ M.forwardRef((e, t) => {
211
140
  onKeyDown: n
212
141
  }));
213
142
  });
214
- Ge.displayName = "Anchor";
215
- const Lt = /* @__PURE__ */ M.forwardRef(({
216
- as: e,
217
- bsPrefix: t,
218
- variant: n = "primary",
219
- size: r,
220
- active: o = !1,
221
- disabled: i = !1,
222
- className: f,
223
- ...s
224
- }, u) => {
225
- const c = Y(t, "btn"), [a, {
226
- tagName: l
227
- }] = Xe({
228
- tagName: e,
229
- disabled: i,
230
- ...s
231
- });
232
- return /* @__PURE__ */ j(l, {
233
- ...a,
234
- ...s,
235
- ref: u,
236
- disabled: i,
237
- className: G(f, c, o && "active", n && `${c}-${n}`, r && `${c}-${r}`, s.href && i && "disabled")
238
- });
239
- });
240
- Lt.displayName = "Button";
241
- var er = Function.prototype.bind.call(Function.prototype.call, [].slice);
242
- function yt(e, t) {
243
- return er(e.querySelectorAll(t));
143
+ Xe.displayName = "Anchor";
144
+ var Jn = Function.prototype.bind.call(Function.prototype.call, [].slice);
145
+ function ht(e, t) {
146
+ return Jn(e.querySelectorAll(t));
244
147
  }
245
- function tr() {
246
- const [, e] = Cn((t) => t + 1, 0);
148
+ function Qn() {
149
+ const [, e] = Dn((t) => t + 1, 0);
247
150
  return e;
248
151
  }
249
- const Ie = /* @__PURE__ */ M.createContext(null);
250
- var bt = Object.prototype.hasOwnProperty;
251
- function xt(e, t, n) {
152
+ const Ie = /* @__PURE__ */ N.createContext(null);
153
+ var wt = Object.prototype.hasOwnProperty;
154
+ function yt(e, t, n) {
252
155
  for (n of e.keys())
253
156
  if (he(n, t)) return n;
254
157
  }
@@ -267,14 +170,14 @@ function he(e, t) {
267
170
  if (e.size !== t.size)
268
171
  return !1;
269
172
  for (r of e)
270
- if (o = r, o && typeof o == "object" && (o = xt(t, o), !o) || !t.has(o)) return !1;
173
+ if (o = r, o && typeof o == "object" && (o = yt(t, o), !o) || !t.has(o)) return !1;
271
174
  return !0;
272
175
  }
273
176
  if (n === Map) {
274
177
  if (e.size !== t.size)
275
178
  return !1;
276
179
  for (r of e)
277
- if (o = r[0], o && typeof o == "object" && (o = xt(t, o), !o) || !he(r[1], t.get(o)))
180
+ if (o = r[0], o && typeof o == "object" && (o = yt(t, o), !o) || !he(r[1], t.get(o)))
278
181
  return !1;
279
182
  return !0;
280
183
  }
@@ -293,24 +196,24 @@ function he(e, t) {
293
196
  if (!n || typeof e == "object") {
294
197
  r = 0;
295
198
  for (n in e)
296
- if (bt.call(e, n) && ++r && !bt.call(t, n) || !(n in t) || !he(e[n], t[n])) return !1;
199
+ if (wt.call(e, n) && ++r && !wt.call(t, n) || !(n in t) || !he(e[n], t[n])) return !1;
297
200
  return Object.keys(t).length === r;
298
201
  }
299
202
  }
300
203
  return e !== e && t !== t;
301
204
  }
302
- function nr(e) {
205
+ function Zn(e) {
303
206
  const t = qn();
304
207
  return [e[0], _((n) => {
305
208
  if (t())
306
209
  return e[1](n);
307
210
  }, [t, e[1]])];
308
211
  }
309
- var B = "top", U = "bottom", V = "right", L = "left", Je = "auto", Oe = [B, U, V, L], ce = "start", be = "end", rr = "clippingParents", Wt = "viewport", ge = "popper", or = "reference", Ot = /* @__PURE__ */ Oe.reduce(function(e, t) {
212
+ var B = "top", U = "bottom", V = "right", L = "left", Ye = "auto", Oe = [B, U, V, L], ce = "start", be = "end", er = "clippingParents", Bt = "viewport", ge = "popper", tr = "reference", bt = /* @__PURE__ */ Oe.reduce(function(e, t) {
310
213
  return e.concat([t + "-" + ce, t + "-" + be]);
311
- }, []), Ht = /* @__PURE__ */ [].concat(Oe, [Je]).reduce(function(e, t) {
214
+ }, []), Lt = /* @__PURE__ */ [].concat(Oe, [Ye]).reduce(function(e, t) {
312
215
  return e.concat([t, t + "-" + ce, t + "-" + be]);
313
- }, []), ir = "beforeRead", ar = "read", sr = "afterRead", ur = "beforeMain", cr = "main", fr = "afterMain", lr = "beforeWrite", dr = "write", pr = "afterWrite", vr = [ir, ar, sr, ur, cr, fr, lr, dr, pr];
216
+ }, []), nr = "beforeRead", rr = "read", or = "afterRead", ir = "beforeMain", ar = "main", sr = "afterMain", ur = "beforeWrite", cr = "write", fr = "afterWrite", lr = [nr, rr, or, ir, ar, sr, ur, cr, fr];
314
217
  function q(e) {
315
218
  return e.split("-")[0];
316
219
  }
@@ -331,7 +234,7 @@ function z(e) {
331
234
  var t = F(e).HTMLElement;
332
235
  return e instanceof t || e instanceof HTMLElement;
333
236
  }
334
- function Qe(e) {
237
+ function Ge(e) {
335
238
  if (typeof ShadowRoot > "u")
336
239
  return !1;
337
240
  var t = F(e).ShadowRoot;
@@ -344,26 +247,26 @@ function Ke() {
344
247
  return t.brand + "/" + t.version;
345
248
  }).join(" ") : navigator.userAgent;
346
249
  }
347
- function Ft() {
250
+ function Wt() {
348
251
  return !/^((?!chrome|android).)*safari/i.test(Ke());
349
252
  }
350
253
  function le(e, t, n) {
351
254
  t === void 0 && (t = !1), n === void 0 && (n = !1);
352
255
  var r = e.getBoundingClientRect(), o = 1, i = 1;
353
256
  t && z(e) && (o = e.offsetWidth > 0 && fe(r.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && fe(r.height) / e.offsetHeight || 1);
354
- var f = ae(e) ? F(e) : window, s = f.visualViewport, u = !Ft() && n, c = (r.left + (u && s ? s.offsetLeft : 0)) / o, a = (r.top + (u && s ? s.offsetTop : 0)) / i, l = r.width / o, d = r.height / i;
257
+ var f = ae(e) ? F(e) : window, s = f.visualViewport, u = !Wt() && n, c = (r.left + (u && s ? s.offsetLeft : 0)) / o, a = (r.top + (u && s ? s.offsetTop : 0)) / i, l = r.width / o, v = r.height / i;
355
258
  return {
356
259
  width: l,
357
- height: d,
260
+ height: v,
358
261
  top: a,
359
262
  right: c + l,
360
- bottom: a + d,
263
+ bottom: a + v,
361
264
  left: c,
362
265
  x: c,
363
266
  y: a
364
267
  };
365
268
  }
366
- function Ze(e) {
269
+ function Je(e) {
367
270
  var t = le(e), n = e.offsetWidth, r = e.offsetHeight;
368
271
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
369
272
  x: e.offsetLeft,
@@ -372,11 +275,11 @@ function Ze(e) {
372
275
  height: r
373
276
  };
374
277
  }
375
- function Ut(e, t) {
278
+ function Ht(e, t) {
376
279
  var n = t.getRootNode && t.getRootNode();
377
280
  if (e.contains(t))
378
281
  return !0;
379
- if (n && Qe(n)) {
282
+ if (n && Ge(n)) {
380
283
  var r = t;
381
284
  do {
382
285
  if (r && e.isSameNode(r))
@@ -389,10 +292,10 @@ function Ut(e, t) {
389
292
  function ee(e) {
390
293
  return e ? (e.nodeName || "").toLowerCase() : null;
391
294
  }
392
- function Q(e) {
295
+ function G(e) {
393
296
  return F(e).getComputedStyle(e);
394
297
  }
395
- function mr(e) {
298
+ function dr(e) {
396
299
  return ["table", "td", "th"].indexOf(ee(e)) >= 0;
397
300
  }
398
301
  function te(e) {
@@ -408,47 +311,47 @@ function ke(e) {
408
311
  // $FlowFixMe[prop-missing]
409
312
  e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
410
313
  e.parentNode || // DOM Element detected
411
- (Qe(e) ? e.host : null) || // ShadowRoot detected
314
+ (Ge(e) ? e.host : null) || // ShadowRoot detected
412
315
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
413
316
  te(e)
414
317
  );
415
318
  }
416
- function Dt(e) {
319
+ function xt(e) {
417
320
  return !z(e) || // https://github.com/popperjs/popper-core/issues/837
418
- Q(e).position === "fixed" ? null : e.offsetParent;
321
+ G(e).position === "fixed" ? null : e.offsetParent;
419
322
  }
420
- function gr(e) {
323
+ function pr(e) {
421
324
  var t = /firefox/i.test(Ke()), n = /Trident/i.test(Ke());
422
325
  if (n && z(e)) {
423
- var r = Q(e);
326
+ var r = G(e);
424
327
  if (r.position === "fixed")
425
328
  return null;
426
329
  }
427
330
  var o = ke(e);
428
- for (Qe(o) && (o = o.host); z(o) && ["html", "body"].indexOf(ee(o)) < 0; ) {
429
- var i = Q(o);
331
+ for (Ge(o) && (o = o.host); z(o) && ["html", "body"].indexOf(ee(o)) < 0; ) {
332
+ var i = G(o);
430
333
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
431
334
  return o;
432
335
  o = o.parentNode;
433
336
  }
434
337
  return null;
435
338
  }
436
- function De(e) {
437
- for (var t = F(e), n = Dt(e); n && mr(n) && Q(n).position === "static"; )
438
- n = Dt(n);
439
- return n && (ee(n) === "html" || ee(n) === "body" && Q(n).position === "static") ? t : n || gr(e) || t;
339
+ function Ee(e) {
340
+ for (var t = F(e), n = xt(e); n && dr(n) && G(n).position === "static"; )
341
+ n = xt(n);
342
+ return n && (ee(n) === "html" || ee(n) === "body" && G(n).position === "static") ? t : n || pr(e) || t;
440
343
  }
441
- function et(e) {
344
+ function Qe(e) {
442
345
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
443
346
  }
444
347
  function we(e, t, n) {
445
348
  return ie(e, Se(t, n));
446
349
  }
447
- function hr(e, t, n) {
350
+ function vr(e, t, n) {
448
351
  var r = we(e, t, n);
449
352
  return r > n ? n : r;
450
353
  }
451
- function Vt() {
354
+ function Ft() {
452
355
  return {
453
356
  top: 0,
454
357
  right: 0,
@@ -456,100 +359,100 @@ function Vt() {
456
359
  left: 0
457
360
  };
458
361
  }
459
- function Kt(e) {
460
- return Object.assign({}, Vt(), e);
362
+ function Ut(e) {
363
+ return Object.assign({}, Ft(), e);
461
364
  }
462
- function _t(e, t) {
365
+ function Vt(e, t) {
463
366
  return t.reduce(function(n, r) {
464
367
  return n[r] = e, n;
465
368
  }, {});
466
369
  }
467
- var wr = function(t, n) {
370
+ var mr = function(t, n) {
468
371
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
469
372
  placement: n.placement
470
- })) : t, Kt(typeof t != "number" ? t : _t(t, Oe));
373
+ })) : t, Ut(typeof t != "number" ? t : Vt(t, Oe));
471
374
  };
472
- function yr(e) {
473
- var t, n = e.state, r = e.name, o = e.options, i = n.elements.arrow, f = n.modifiersData.popperOffsets, s = q(n.placement), u = et(s), c = [L, V].indexOf(s) >= 0, a = c ? "height" : "width";
375
+ function gr(e) {
376
+ var t, n = e.state, r = e.name, o = e.options, i = n.elements.arrow, f = n.modifiersData.popperOffsets, s = q(n.placement), u = Qe(s), c = [L, V].indexOf(s) >= 0, a = c ? "height" : "width";
474
377
  if (!(!i || !f)) {
475
- var l = wr(o.padding, n), d = Ze(i), p = u === "y" ? B : L, m = u === "y" ? U : V, g = n.rects.reference[a] + n.rects.reference[u] - f[u] - n.rects.popper[a], v = f[u] - n.rects.reference[u], x = De(i), y = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, b = g / 2 - v / 2, h = l[p], w = y - d[a] - l[m], D = y / 2 - d[a] / 2 + b, E = we(h, D, w), P = u;
476
- n.modifiersData[r] = (t = {}, t[P] = E, t.centerOffset = E - D, t);
378
+ var l = mr(o.padding, n), v = Je(i), d = u === "y" ? B : L, m = u === "y" ? U : V, g = n.rects.reference[a] + n.rects.reference[u] - f[u] - n.rects.popper[a], p = f[u] - n.rects.reference[u], x = Ee(i), y = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, b = g / 2 - p / 2, h = l[d], w = y - v[a] - l[m], E = y / 2 - v[a] / 2 + b, D = we(h, E, w), P = u;
379
+ n.modifiersData[r] = (t = {}, t[P] = D, t.centerOffset = D - E, t);
477
380
  }
478
381
  }
479
- function br(e) {
382
+ function hr(e) {
480
383
  var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
481
- o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || Ut(t.elements.popper, o) && (t.elements.arrow = o));
384
+ o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || Ht(t.elements.popper, o) && (t.elements.arrow = o));
482
385
  }
483
- const xr = {
386
+ const wr = {
484
387
  name: "arrow",
485
388
  enabled: !0,
486
389
  phase: "main",
487
- fn: yr,
488
- effect: br,
390
+ fn: gr,
391
+ effect: hr,
489
392
  requires: ["popperOffsets"],
490
393
  requiresIfExists: ["preventOverflow"]
491
394
  };
492
395
  function de(e) {
493
396
  return e.split("-")[1];
494
397
  }
495
- var Or = {
398
+ var yr = {
496
399
  top: "auto",
497
400
  right: "auto",
498
401
  bottom: "auto",
499
402
  left: "auto"
500
403
  };
501
- function Dr(e, t) {
404
+ function br(e, t) {
502
405
  var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
503
406
  return {
504
407
  x: fe(n * o) / o || 0,
505
408
  y: fe(r * o) / o || 0
506
409
  };
507
410
  }
508
- function Et(e) {
509
- var t, n = e.popper, r = e.popperRect, o = e.placement, i = e.variation, f = e.offsets, s = e.position, u = e.gpuAcceleration, c = e.adaptive, a = e.roundOffsets, l = e.isFixed, d = f.x, p = d === void 0 ? 0 : d, m = f.y, g = m === void 0 ? 0 : m, v = typeof a == "function" ? a({
510
- x: p,
411
+ function Ot(e) {
412
+ var t, n = e.popper, r = e.popperRect, o = e.placement, i = e.variation, f = e.offsets, s = e.position, u = e.gpuAcceleration, c = e.adaptive, a = e.roundOffsets, l = e.isFixed, v = f.x, d = v === void 0 ? 0 : v, m = f.y, g = m === void 0 ? 0 : m, p = typeof a == "function" ? a({
413
+ x: d,
511
414
  y: g
512
415
  }) : {
513
- x: p,
416
+ x: d,
514
417
  y: g
515
418
  };
516
- p = v.x, g = v.y;
419
+ d = p.x, g = p.y;
517
420
  var x = f.hasOwnProperty("x"), y = f.hasOwnProperty("y"), b = L, h = B, w = window;
518
421
  if (c) {
519
- var D = De(n), E = "clientHeight", P = "clientWidth";
520
- if (D === F(n) && (D = te(n), Q(D).position !== "static" && s === "absolute" && (E = "scrollHeight", P = "scrollWidth")), D = D, o === B || (o === L || o === V) && i === be) {
422
+ var E = Ee(n), D = "clientHeight", P = "clientWidth";
423
+ if (E === F(n) && (E = te(n), G(E).position !== "static" && s === "absolute" && (D = "scrollHeight", P = "scrollWidth")), E = E, o === B || (o === L || o === V) && i === be) {
521
424
  h = U;
522
- var A = l && D === w && w.visualViewport ? w.visualViewport.height : (
425
+ var A = l && E === w && w.visualViewport ? w.visualViewport.height : (
523
426
  // $FlowFixMe[prop-missing]
524
- D[E]
427
+ E[D]
525
428
  );
526
429
  g -= A - r.height, g *= u ? 1 : -1;
527
430
  }
528
431
  if (o === L || (o === B || o === U) && i === be) {
529
432
  b = V;
530
- var R = l && D === w && w.visualViewport ? w.visualViewport.width : (
433
+ var R = l && E === w && w.visualViewport ? w.visualViewport.width : (
531
434
  // $FlowFixMe[prop-missing]
532
- D[P]
435
+ E[P]
533
436
  );
534
- p -= R - r.width, p *= u ? 1 : -1;
437
+ d -= R - r.width, d *= u ? 1 : -1;
535
438
  }
536
439
  }
537
440
  var O = Object.assign({
538
441
  position: s
539
- }, c && Or), C = a === !0 ? Dr({
540
- x: p,
442
+ }, c && yr), C = a === !0 ? br({
443
+ x: d,
541
444
  y: g
542
445
  }, F(n)) : {
543
- x: p,
446
+ x: d,
544
447
  y: g
545
448
  };
546
- if (p = C.x, g = C.y, u) {
449
+ if (d = C.x, g = C.y, u) {
547
450
  var $;
548
- return Object.assign({}, O, ($ = {}, $[h] = y ? "0" : "", $[b] = x ? "0" : "", $.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + g + "px)" : "translate3d(" + p + "px, " + g + "px, 0)", $));
451
+ return Object.assign({}, O, ($ = {}, $[h] = y ? "0" : "", $[b] = x ? "0" : "", $.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", $));
549
452
  }
550
- return Object.assign({}, O, (t = {}, t[h] = y ? g + "px" : "", t[b] = x ? p + "px" : "", t.transform = "", t));
453
+ return Object.assign({}, O, (t = {}, t[h] = y ? g + "px" : "", t[b] = x ? d + "px" : "", t.transform = "", t));
551
454
  }
552
- function Er(e) {
455
+ function xr(e) {
553
456
  var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, i = n.adaptive, f = i === void 0 ? !0 : i, s = n.roundOffsets, u = s === void 0 ? !0 : s, c = {
554
457
  placement: q(t.placement),
555
458
  variation: de(t.placement),
@@ -558,12 +461,12 @@ function Er(e) {
558
461
  gpuAcceleration: o,
559
462
  isFixed: t.options.strategy === "fixed"
560
463
  };
561
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Et(Object.assign({}, c, {
464
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ot(Object.assign({}, c, {
562
465
  offsets: t.modifiersData.popperOffsets,
563
466
  position: t.options.strategy,
564
467
  adaptive: f,
565
468
  roundOffsets: u
566
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Et(Object.assign({}, c, {
469
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ot(Object.assign({}, c, {
567
470
  offsets: t.modifiersData.arrow,
568
471
  position: "absolute",
569
472
  adaptive: !1,
@@ -572,17 +475,17 @@ function Er(e) {
572
475
  "data-popper-placement": t.placement
573
476
  });
574
477
  }
575
- const Pr = {
478
+ const Or = {
576
479
  name: "computeStyles",
577
480
  enabled: !0,
578
481
  phase: "beforeWrite",
579
- fn: Er,
482
+ fn: xr,
580
483
  data: {}
581
484
  };
582
485
  var Re = {
583
486
  passive: !0
584
487
  };
585
- function Cr(e) {
488
+ function Er(e) {
586
489
  var t = e.state, n = e.instance, r = e.options, o = r.scroll, i = o === void 0 ? !0 : o, f = r.resize, s = f === void 0 ? !0 : f, u = F(t.elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
587
490
  return i && c.forEach(function(a) {
588
491
  a.addEventListener("scroll", n.update, Re);
@@ -592,16 +495,16 @@ function Cr(e) {
592
495
  }), s && u.removeEventListener("resize", n.update, Re);
593
496
  };
594
497
  }
595
- const $r = {
498
+ const Dr = {
596
499
  name: "eventListeners",
597
500
  enabled: !0,
598
501
  phase: "write",
599
502
  fn: function() {
600
503
  },
601
- effect: Cr,
504
+ effect: Er,
602
505
  data: {}
603
506
  };
604
- var Ar = {
507
+ var Pr = {
605
508
  left: "right",
606
509
  right: "left",
607
510
  bottom: "top",
@@ -609,62 +512,62 @@ var Ar = {
609
512
  };
610
513
  function je(e) {
611
514
  return e.replace(/left|right|bottom|top/g, function(t) {
612
- return Ar[t];
515
+ return Pr[t];
613
516
  });
614
517
  }
615
- var Rr = {
518
+ var Cr = {
616
519
  start: "end",
617
520
  end: "start"
618
521
  };
619
- function Pt(e) {
522
+ function Et(e) {
620
523
  return e.replace(/start|end/g, function(t) {
621
- return Rr[t];
524
+ return Cr[t];
622
525
  });
623
526
  }
624
- function tt(e) {
527
+ function Ze(e) {
625
528
  var t = F(e), n = t.pageXOffset, r = t.pageYOffset;
626
529
  return {
627
530
  scrollLeft: n,
628
531
  scrollTop: r
629
532
  };
630
533
  }
631
- function nt(e) {
632
- return le(te(e)).left + tt(e).scrollLeft;
534
+ function et(e) {
535
+ return le(te(e)).left + Ze(e).scrollLeft;
633
536
  }
634
- function jr(e, t) {
537
+ function $r(e, t) {
635
538
  var n = F(e), r = te(e), o = n.visualViewport, i = r.clientWidth, f = r.clientHeight, s = 0, u = 0;
636
539
  if (o) {
637
540
  i = o.width, f = o.height;
638
- var c = Ft();
541
+ var c = Wt();
639
542
  (c || !c && t === "fixed") && (s = o.offsetLeft, u = o.offsetTop);
640
543
  }
641
544
  return {
642
545
  width: i,
643
546
  height: f,
644
- x: s + nt(e),
547
+ x: s + et(e),
645
548
  y: u
646
549
  };
647
550
  }
648
- function Mr(e) {
649
- var t, n = te(e), r = tt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = ie(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), f = ie(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), s = -r.scrollLeft + nt(e), u = -r.scrollTop;
650
- return Q(o || n).direction === "rtl" && (s += ie(n.clientWidth, o ? o.clientWidth : 0) - i), {
551
+ function Ar(e) {
552
+ var t, n = te(e), r = Ze(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = ie(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), f = ie(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), s = -r.scrollLeft + et(e), u = -r.scrollTop;
553
+ return G(o || n).direction === "rtl" && (s += ie(n.clientWidth, o ? o.clientWidth : 0) - i), {
651
554
  width: i,
652
555
  height: f,
653
556
  x: s,
654
557
  y: u
655
558
  };
656
559
  }
657
- function rt(e) {
658
- var t = Q(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
560
+ function tt(e) {
561
+ var t = G(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
659
562
  return /auto|scroll|overlay|hidden/.test(n + o + r);
660
563
  }
661
- function qt(e) {
662
- return ["html", "body", "#document"].indexOf(ee(e)) >= 0 ? e.ownerDocument.body : z(e) && rt(e) ? e : qt(ke(e));
564
+ function Kt(e) {
565
+ return ["html", "body", "#document"].indexOf(ee(e)) >= 0 ? e.ownerDocument.body : z(e) && tt(e) ? e : Kt(ke(e));
663
566
  }
664
567
  function ye(e, t) {
665
568
  var n;
666
569
  t === void 0 && (t = []);
667
- var r = qt(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), i = F(r), f = o ? [i].concat(i.visualViewport || [], rt(r) ? r : []) : r, s = t.concat(f);
570
+ var r = Kt(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), i = F(r), f = o ? [i].concat(i.visualViewport || [], tt(r) ? r : []) : r, s = t.concat(f);
668
571
  return o ? s : (
669
572
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
670
573
  s.concat(ye(ke(f)))
@@ -678,27 +581,27 @@ function _e(e) {
678
581
  bottom: e.y + e.height
679
582
  });
680
583
  }
681
- function Tr(e, t) {
584
+ function Rr(e, t) {
682
585
  var n = le(e, !1, t === "fixed");
683
586
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
684
587
  }
685
- function Ct(e, t, n) {
686
- return t === Wt ? _e(jr(e, n)) : ae(t) ? Tr(t, n) : _e(Mr(te(e)));
588
+ function Dt(e, t, n) {
589
+ return t === Bt ? _e($r(e, n)) : ae(t) ? Rr(t, n) : _e(Ar(te(e)));
687
590
  }
688
- function Nr(e) {
689
- var t = ye(ke(e)), n = ["absolute", "fixed"].indexOf(Q(e).position) >= 0, r = n && z(e) ? De(e) : e;
591
+ function jr(e) {
592
+ var t = ye(ke(e)), n = ["absolute", "fixed"].indexOf(G(e).position) >= 0, r = n && z(e) ? Ee(e) : e;
690
593
  return ae(r) ? t.filter(function(o) {
691
- return ae(o) && Ut(o, r) && ee(o) !== "body";
594
+ return ae(o) && Ht(o, r) && ee(o) !== "body";
692
595
  }) : [];
693
596
  }
694
- function Sr(e, t, n, r) {
695
- var o = t === "clippingParents" ? Nr(e) : [].concat(t), i = [].concat(o, [n]), f = i[0], s = i.reduce(function(u, c) {
696
- var a = Ct(e, c, r);
597
+ function Mr(e, t, n, r) {
598
+ var o = t === "clippingParents" ? jr(e) : [].concat(t), i = [].concat(o, [n]), f = i[0], s = i.reduce(function(u, c) {
599
+ var a = Dt(e, c, r);
697
600
  return u.top = ie(a.top, u.top), u.right = Se(a.right, u.right), u.bottom = Se(a.bottom, u.bottom), u.left = ie(a.left, u.left), u;
698
- }, Ct(e, f, r));
601
+ }, Dt(e, f, r));
699
602
  return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
700
603
  }
701
- function zt(e) {
604
+ function _t(e) {
702
605
  var t = e.reference, n = e.element, r = e.placement, o = r ? q(r) : null, i = r ? de(r) : null, f = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, u;
703
606
  switch (o) {
704
607
  case B:
@@ -731,7 +634,7 @@ function zt(e) {
731
634
  y: t.y
732
635
  };
733
636
  }
734
- var c = o ? et(o) : null;
637
+ var c = o ? Qe(o) : null;
735
638
  if (c != null) {
736
639
  var a = c === "y" ? "height" : "width";
737
640
  switch (i) {
@@ -747,35 +650,35 @@ function zt(e) {
747
650
  }
748
651
  function xe(e, t) {
749
652
  t === void 0 && (t = {});
750
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, i = n.strategy, f = i === void 0 ? e.strategy : i, s = n.boundary, u = s === void 0 ? rr : s, c = n.rootBoundary, a = c === void 0 ? Wt : c, l = n.elementContext, d = l === void 0 ? ge : l, p = n.altBoundary, m = p === void 0 ? !1 : p, g = n.padding, v = g === void 0 ? 0 : g, x = Kt(typeof v != "number" ? v : _t(v, Oe)), y = d === ge ? or : ge, b = e.rects.popper, h = e.elements[m ? y : d], w = Sr(ae(h) ? h : h.contextElement || te(e.elements.popper), u, a, f), D = le(e.elements.reference), E = zt({
751
- reference: D,
653
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, i = n.strategy, f = i === void 0 ? e.strategy : i, s = n.boundary, u = s === void 0 ? er : s, c = n.rootBoundary, a = c === void 0 ? Bt : c, l = n.elementContext, v = l === void 0 ? ge : l, d = n.altBoundary, m = d === void 0 ? !1 : d, g = n.padding, p = g === void 0 ? 0 : g, x = Ut(typeof p != "number" ? p : Vt(p, Oe)), y = v === ge ? tr : ge, b = e.rects.popper, h = e.elements[m ? y : v], w = Mr(ae(h) ? h : h.contextElement || te(e.elements.popper), u, a, f), E = le(e.elements.reference), D = _t({
654
+ reference: E,
752
655
  element: b,
753
656
  strategy: "absolute",
754
657
  placement: o
755
- }), P = _e(Object.assign({}, b, E)), A = d === ge ? P : D, R = {
658
+ }), P = _e(Object.assign({}, b, D)), A = v === ge ? P : E, R = {
756
659
  top: w.top - A.top + x.top,
757
660
  bottom: A.bottom - w.bottom + x.bottom,
758
661
  left: w.left - A.left + x.left,
759
662
  right: A.right - w.right + x.right
760
663
  }, O = e.modifiersData.offset;
761
- if (d === ge && O) {
664
+ if (v === ge && O) {
762
665
  var C = O[o];
763
666
  Object.keys(R).forEach(function($) {
764
- var T = [V, U].indexOf($) >= 0 ? 1 : -1, I = [B, U].indexOf($) >= 0 ? "y" : "x";
765
- R[$] += C[I] * T;
667
+ var M = [V, U].indexOf($) >= 0 ? 1 : -1, I = [B, U].indexOf($) >= 0 ? "y" : "x";
668
+ R[$] += C[I] * M;
766
669
  });
767
670
  }
768
671
  return R;
769
672
  }
770
- function Ir(e, t) {
673
+ function Nr(e, t) {
771
674
  t === void 0 && (t = {});
772
- var n = t, r = n.placement, o = n.boundary, i = n.rootBoundary, f = n.padding, s = n.flipVariations, u = n.allowedAutoPlacements, c = u === void 0 ? Ht : u, a = de(r), l = a ? s ? Ot : Ot.filter(function(m) {
675
+ var n = t, r = n.placement, o = n.boundary, i = n.rootBoundary, f = n.padding, s = n.flipVariations, u = n.allowedAutoPlacements, c = u === void 0 ? Lt : u, a = de(r), l = a ? s ? bt : bt.filter(function(m) {
773
676
  return de(m) === a;
774
- }) : Oe, d = l.filter(function(m) {
677
+ }) : Oe, v = l.filter(function(m) {
775
678
  return c.indexOf(m) >= 0;
776
679
  });
777
- d.length === 0 && (d = l);
778
- var p = d.reduce(function(m, g) {
680
+ v.length === 0 && (v = l);
681
+ var d = v.reduce(function(m, g) {
779
682
  return m[g] = xe(e, {
780
683
  placement: g,
781
684
  boundary: o,
@@ -783,21 +686,21 @@ function Ir(e, t) {
783
686
  padding: f
784
687
  })[q(g)], m;
785
688
  }, {});
786
- return Object.keys(p).sort(function(m, g) {
787
- return p[m] - p[g];
689
+ return Object.keys(d).sort(function(m, g) {
690
+ return d[m] - d[g];
788
691
  });
789
692
  }
790
- function kr(e) {
791
- if (q(e) === Je)
693
+ function Tr(e) {
694
+ if (q(e) === Ye)
792
695
  return [];
793
696
  var t = je(e);
794
- return [Pt(e), t, Pt(t)];
697
+ return [Et(e), t, Et(t)];
795
698
  }
796
- function Br(e) {
699
+ function Sr(e) {
797
700
  var t = e.state, n = e.options, r = e.name;
798
701
  if (!t.modifiersData[r]._skip) {
799
- for (var o = n.mainAxis, i = o === void 0 ? !0 : o, f = n.altAxis, s = f === void 0 ? !0 : f, u = n.fallbackPlacements, c = n.padding, a = n.boundary, l = n.rootBoundary, d = n.altBoundary, p = n.flipVariations, m = p === void 0 ? !0 : p, g = n.allowedAutoPlacements, v = t.options.placement, x = q(v), y = x === v, b = u || (y || !m ? [je(v)] : kr(v)), h = [v].concat(b).reduce(function(ue, Z) {
800
- return ue.concat(q(Z) === Je ? Ir(t, {
702
+ for (var o = n.mainAxis, i = o === void 0 ? !0 : o, f = n.altAxis, s = f === void 0 ? !0 : f, u = n.fallbackPlacements, c = n.padding, a = n.boundary, l = n.rootBoundary, v = n.altBoundary, d = n.flipVariations, m = d === void 0 ? !0 : d, g = n.allowedAutoPlacements, p = t.options.placement, x = q(p), y = x === p, b = u || (y || !m ? [je(p)] : Tr(p)), h = [p].concat(b).reduce(function(ue, Z) {
703
+ return ue.concat(q(Z) === Ye ? Nr(t, {
801
704
  placement: Z,
802
705
  boundary: a,
803
706
  rootBoundary: l,
@@ -805,28 +708,28 @@ function Br(e) {
805
708
  flipVariations: m,
806
709
  allowedAutoPlacements: g
807
710
  }) : Z);
808
- }, []), w = t.rects.reference, D = t.rects.popper, E = /* @__PURE__ */ new Map(), P = !0, A = h[0], R = 0; R < h.length; R++) {
809
- var O = h[R], C = q(O), $ = de(O) === ce, T = [B, U].indexOf(C) >= 0, I = T ? "width" : "height", N = xe(t, {
711
+ }, []), w = t.rects.reference, E = t.rects.popper, D = /* @__PURE__ */ new Map(), P = !0, A = h[0], R = 0; R < h.length; R++) {
712
+ var O = h[R], C = q(O), $ = de(O) === ce, M = [B, U].indexOf(C) >= 0, I = M ? "width" : "height", T = xe(t, {
810
713
  placement: O,
811
714
  boundary: a,
812
715
  rootBoundary: l,
813
- altBoundary: d,
716
+ altBoundary: v,
814
717
  padding: c
815
- }), W = T ? $ ? V : L : $ ? U : B;
816
- w[I] > D[I] && (W = je(W));
718
+ }), W = M ? $ ? V : L : $ ? U : B;
719
+ w[I] > E[I] && (W = je(W));
817
720
  var pe = je(W), K = [];
818
- if (i && K.push(N[C] <= 0), s && K.push(N[W] <= 0, N[pe] <= 0), K.every(function(ue) {
721
+ if (i && K.push(T[C] <= 0), s && K.push(T[W] <= 0, T[pe] <= 0), K.every(function(ue) {
819
722
  return ue;
820
723
  })) {
821
724
  A = O, P = !1;
822
725
  break;
823
726
  }
824
- E.set(O, K);
727
+ D.set(O, K);
825
728
  }
826
729
  if (P)
827
730
  for (var S = m ? 3 : 1, se = function(Z) {
828
731
  var me = h.find(function(Ce) {
829
- var ne = E.get(Ce);
732
+ var ne = D.get(Ce);
830
733
  if (ne)
831
734
  return ne.slice(0, Z).every(function(Le) {
832
735
  return Le;
@@ -841,17 +744,17 @@ function Br(e) {
841
744
  t.placement !== A && (t.modifiersData[r]._skip = !0, t.placement = A, t.reset = !0);
842
745
  }
843
746
  }
844
- const Lr = {
747
+ const Ir = {
845
748
  name: "flip",
846
749
  enabled: !0,
847
750
  phase: "main",
848
- fn: Br,
751
+ fn: Sr,
849
752
  requiresIfExists: ["offset"],
850
753
  data: {
851
754
  _skip: !1
852
755
  }
853
756
  };
854
- function $t(e, t, n) {
757
+ function Pt(e, t, n) {
855
758
  return n === void 0 && (n = {
856
759
  x: 0,
857
760
  y: 0
@@ -862,17 +765,17 @@ function $t(e, t, n) {
862
765
  left: e.left - t.width - n.x
863
766
  };
864
767
  }
865
- function At(e) {
768
+ function Ct(e) {
866
769
  return [B, V, U, L].some(function(t) {
867
770
  return e[t] >= 0;
868
771
  });
869
772
  }
870
- function Wr(e) {
773
+ function kr(e) {
871
774
  var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, f = xe(t, {
872
775
  elementContext: "reference"
873
776
  }), s = xe(t, {
874
777
  altBoundary: !0
875
- }), u = $t(f, r), c = $t(s, o, i), a = At(u), l = At(c);
778
+ }), u = Pt(f, r), c = Pt(s, o, i), a = Ct(u), l = Ct(c);
876
779
  t.modifiersData[n] = {
877
780
  referenceClippingOffsets: u,
878
781
  popperEscapeOffsets: c,
@@ -883,14 +786,14 @@ function Wr(e) {
883
786
  "data-popper-escaped": l
884
787
  });
885
788
  }
886
- const Hr = {
789
+ const Br = {
887
790
  name: "hide",
888
791
  enabled: !0,
889
792
  phase: "main",
890
793
  requiresIfExists: ["preventOverflow"],
891
- fn: Wr
794
+ fn: kr
892
795
  };
893
- function Fr(e, t, n) {
796
+ function Lr(e, t, n) {
894
797
  var r = q(e), o = [L, B].indexOf(r) >= 0 ? -1 : 1, i = typeof n == "function" ? n(Object.assign({}, t, {
895
798
  placement: e
896
799
  })) : n, f = i[0], s = i[1];
@@ -902,45 +805,45 @@ function Fr(e, t, n) {
902
805
  y: s
903
806
  };
904
807
  }
905
- function Ur(e) {
906
- var t = e.state, n = e.options, r = e.name, o = n.offset, i = o === void 0 ? [0, 0] : o, f = Ht.reduce(function(a, l) {
907
- return a[l] = Fr(l, t.rects, i), a;
808
+ function Wr(e) {
809
+ var t = e.state, n = e.options, r = e.name, o = n.offset, i = o === void 0 ? [0, 0] : o, f = Lt.reduce(function(a, l) {
810
+ return a[l] = Lr(l, t.rects, i), a;
908
811
  }, {}), s = f[t.placement], u = s.x, c = s.y;
909
812
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += c), t.modifiersData[r] = f;
910
813
  }
911
- const Vr = {
814
+ const Hr = {
912
815
  name: "offset",
913
816
  enabled: !0,
914
817
  phase: "main",
915
818
  requires: ["popperOffsets"],
916
- fn: Ur
819
+ fn: Wr
917
820
  };
918
- function Kr(e) {
821
+ function Fr(e) {
919
822
  var t = e.state, n = e.name;
920
- t.modifiersData[n] = zt({
823
+ t.modifiersData[n] = _t({
921
824
  reference: t.rects.reference,
922
825
  element: t.rects.popper,
923
826
  strategy: "absolute",
924
827
  placement: t.placement
925
828
  });
926
829
  }
927
- const _r = {
830
+ const Ur = {
928
831
  name: "popperOffsets",
929
832
  enabled: !0,
930
833
  phase: "read",
931
- fn: Kr,
834
+ fn: Fr,
932
835
  data: {}
933
836
  };
934
- function qr(e) {
837
+ function Vr(e) {
935
838
  return e === "x" ? "y" : "x";
936
839
  }
937
- function zr(e) {
938
- var t = e.state, n = e.options, r = e.name, o = n.mainAxis, i = o === void 0 ? !0 : o, f = n.altAxis, s = f === void 0 ? !1 : f, u = n.boundary, c = n.rootBoundary, a = n.altBoundary, l = n.padding, d = n.tether, p = d === void 0 ? !0 : d, m = n.tetherOffset, g = m === void 0 ? 0 : m, v = xe(t, {
840
+ function Kr(e) {
841
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, i = o === void 0 ? !0 : o, f = n.altAxis, s = f === void 0 ? !1 : f, u = n.boundary, c = n.rootBoundary, a = n.altBoundary, l = n.padding, v = n.tether, d = v === void 0 ? !0 : v, m = n.tetherOffset, g = m === void 0 ? 0 : m, p = xe(t, {
939
842
  boundary: u,
940
843
  rootBoundary: c,
941
844
  padding: l,
942
845
  altBoundary: a
943
- }), x = q(t.placement), y = de(t.placement), b = !y, h = et(x), w = qr(h), D = t.modifiersData.popperOffsets, E = t.rects.reference, P = t.rects.popper, A = typeof g == "function" ? g(Object.assign({}, t.rects, {
846
+ }), x = q(t.placement), y = de(t.placement), b = !y, h = Qe(x), w = Vr(h), E = t.modifiersData.popperOffsets, D = t.rects.reference, P = t.rects.popper, A = typeof g == "function" ? g(Object.assign({}, t.rects, {
944
847
  placement: t.placement
945
848
  })) : g, R = typeof A == "number" ? {
946
849
  mainAxis: A,
@@ -952,44 +855,44 @@ function zr(e) {
952
855
  x: 0,
953
856
  y: 0
954
857
  };
955
- if (D) {
858
+ if (E) {
956
859
  if (i) {
957
- var $, T = h === "y" ? B : L, I = h === "y" ? U : V, N = h === "y" ? "height" : "width", W = D[h], pe = W + v[T], K = W - v[I], S = p ? -P[N] / 2 : 0, se = y === ce ? E[N] : P[N], ve = y === ce ? -P[N] : -E[N], Pe = t.elements.arrow, ue = p && Pe ? Ze(Pe) : {
860
+ var $, M = h === "y" ? B : L, I = h === "y" ? U : V, T = h === "y" ? "height" : "width", W = E[h], pe = W + p[M], K = W - p[I], S = d ? -P[T] / 2 : 0, se = y === ce ? D[T] : P[T], ve = y === ce ? -P[T] : -D[T], Pe = t.elements.arrow, ue = d && Pe ? Je(Pe) : {
958
861
  width: 0,
959
862
  height: 0
960
- }, Z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Vt(), me = Z[T], Ce = Z[I], ne = we(0, E[N], ue[N]), Le = b ? E[N] / 2 - S - ne - me - R.mainAxis : se - ne - me - R.mainAxis, gn = b ? -E[N] / 2 + S + ne + Ce + R.mainAxis : ve + ne + Ce + R.mainAxis, We = t.elements.arrow && De(t.elements.arrow), hn = We ? h === "y" ? We.clientTop || 0 : We.clientLeft || 0 : 0, st = ($ = O == null ? void 0 : O[h]) != null ? $ : 0, wn = W + Le - st - hn, yn = W + gn - st, ut = we(p ? Se(pe, wn) : pe, W, p ? ie(K, yn) : K);
961
- D[h] = ut, C[h] = ut - W;
863
+ }, Z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ft(), me = Z[M], Ce = Z[I], ne = we(0, D[T], ue[T]), Le = b ? D[T] / 2 - S - ne - me - R.mainAxis : se - ne - me - R.mainAxis, vn = b ? -D[T] / 2 + S + ne + Ce + R.mainAxis : ve + ne + Ce + R.mainAxis, We = t.elements.arrow && Ee(t.elements.arrow), mn = We ? h === "y" ? We.clientTop || 0 : We.clientLeft || 0 : 0, it = ($ = O == null ? void 0 : O[h]) != null ? $ : 0, gn = W + Le - it - mn, hn = W + vn - it, at = we(d ? Se(pe, gn) : pe, W, d ? ie(K, hn) : K);
864
+ E[h] = at, C[h] = at - W;
962
865
  }
963
866
  if (s) {
964
- var ct, bn = h === "x" ? B : L, xn = h === "x" ? U : V, re = D[w], $e = w === "y" ? "height" : "width", ft = re + v[bn], lt = re - v[xn], He = [B, L].indexOf(x) !== -1, dt = (ct = O == null ? void 0 : O[w]) != null ? ct : 0, pt = He ? ft : re - E[$e] - P[$e] - dt + R.altAxis, vt = He ? re + E[$e] + P[$e] - dt - R.altAxis : lt, mt = p && He ? hr(pt, re, vt) : we(p ? pt : ft, re, p ? vt : lt);
965
- D[w] = mt, C[w] = mt - re;
867
+ var st, wn = h === "x" ? B : L, yn = h === "x" ? U : V, re = E[w], $e = w === "y" ? "height" : "width", ut = re + p[wn], ct = re - p[yn], He = [B, L].indexOf(x) !== -1, ft = (st = O == null ? void 0 : O[w]) != null ? st : 0, lt = He ? ut : re - D[$e] - P[$e] - ft + R.altAxis, dt = He ? re + D[$e] + P[$e] - ft - R.altAxis : ct, pt = d && He ? vr(lt, re, dt) : we(d ? lt : ut, re, d ? dt : ct);
868
+ E[w] = pt, C[w] = pt - re;
966
869
  }
967
870
  t.modifiersData[r] = C;
968
871
  }
969
872
  }
970
- const Xr = {
873
+ const _r = {
971
874
  name: "preventOverflow",
972
875
  enabled: !0,
973
876
  phase: "main",
974
- fn: zr,
877
+ fn: Kr,
975
878
  requiresIfExists: ["offset"]
976
879
  };
977
- function Yr(e) {
880
+ function qr(e) {
978
881
  return {
979
882
  scrollLeft: e.scrollLeft,
980
883
  scrollTop: e.scrollTop
981
884
  };
982
885
  }
983
- function Gr(e) {
984
- return e === F(e) || !z(e) ? tt(e) : Yr(e);
886
+ function zr(e) {
887
+ return e === F(e) || !z(e) ? Ze(e) : qr(e);
985
888
  }
986
- function Jr(e) {
889
+ function Xr(e) {
987
890
  var t = e.getBoundingClientRect(), n = fe(t.width) / e.offsetWidth || 1, r = fe(t.height) / e.offsetHeight || 1;
988
891
  return n !== 1 || r !== 1;
989
892
  }
990
- function Qr(e, t, n) {
893
+ function Yr(e, t, n) {
991
894
  n === void 0 && (n = !1);
992
- var r = z(t), o = z(t) && Jr(t), i = te(t), f = le(e, o, n), s = {
895
+ var r = z(t), o = z(t) && Xr(t), i = te(t), f = le(e, o, n), s = {
993
896
  scrollLeft: 0,
994
897
  scrollTop: 0
995
898
  }, u = {
@@ -997,14 +900,14 @@ function Qr(e, t, n) {
997
900
  y: 0
998
901
  };
999
902
  return (r || !r && !n) && ((ee(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
1000
- rt(i)) && (s = Gr(t)), z(t) ? (u = le(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = nt(i))), {
903
+ tt(i)) && (s = zr(t)), z(t) ? (u = le(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = et(i))), {
1001
904
  x: f.left + s.scrollLeft - u.x,
1002
905
  y: f.top + s.scrollTop - u.y,
1003
906
  width: f.width,
1004
907
  height: f.height
1005
908
  };
1006
909
  }
1007
- function Zr(e) {
910
+ function Gr(e) {
1008
911
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
1009
912
  e.forEach(function(i) {
1010
913
  t.set(i.name, i);
@@ -1023,15 +926,15 @@ function Zr(e) {
1023
926
  n.has(i.name) || o(i);
1024
927
  }), r;
1025
928
  }
1026
- function eo(e) {
1027
- var t = Zr(e);
1028
- return vr.reduce(function(n, r) {
929
+ function Jr(e) {
930
+ var t = Gr(e);
931
+ return lr.reduce(function(n, r) {
1029
932
  return n.concat(t.filter(function(o) {
1030
933
  return o.phase === r;
1031
934
  }));
1032
935
  }, []);
1033
936
  }
1034
- function to(e) {
937
+ function Qr(e) {
1035
938
  var t;
1036
939
  return function() {
1037
940
  return t || (t = new Promise(function(n) {
@@ -1041,7 +944,7 @@ function to(e) {
1041
944
  })), t;
1042
945
  };
1043
946
  }
1044
- function no(e) {
947
+ function Zr(e) {
1045
948
  var t = e.reduce(function(n, r) {
1046
949
  var o = n[r.name];
1047
950
  return n[r.name] = o ? Object.assign({}, o, r, {
@@ -1053,27 +956,27 @@ function no(e) {
1053
956
  return t[n];
1054
957
  });
1055
958
  }
1056
- var Rt = {
959
+ var $t = {
1057
960
  placement: "bottom",
1058
961
  modifiers: [],
1059
962
  strategy: "absolute"
1060
963
  };
1061
- function jt() {
964
+ function At() {
1062
965
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1063
966
  t[n] = arguments[n];
1064
967
  return !t.some(function(r) {
1065
968
  return !(r && typeof r.getBoundingClientRect == "function");
1066
969
  });
1067
970
  }
1068
- function ro(e) {
971
+ function eo(e) {
1069
972
  e === void 0 && (e = {});
1070
- var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, i = o === void 0 ? Rt : o;
973
+ var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, i = o === void 0 ? $t : o;
1071
974
  return function(s, u, c) {
1072
975
  c === void 0 && (c = i);
1073
976
  var a = {
1074
977
  placement: "bottom",
1075
978
  orderedModifiers: [],
1076
- options: Object.assign({}, Rt, i),
979
+ options: Object.assign({}, $t, i),
1077
980
  modifiersData: {},
1078
981
  elements: {
1079
982
  reference: s,
@@ -1081,7 +984,7 @@ function ro(e) {
1081
984
  },
1082
985
  attributes: {},
1083
986
  styles: {}
1084
- }, l = [], d = !1, p = {
987
+ }, l = [], v = !1, d = {
1085
988
  state: a,
1086
989
  setOptions: function(x) {
1087
990
  var y = typeof x == "function" ? x(a.options) : x;
@@ -1089,10 +992,10 @@ function ro(e) {
1089
992
  reference: ae(s) ? ye(s) : s.contextElement ? ye(s.contextElement) : [],
1090
993
  popper: ye(u)
1091
994
  };
1092
- var b = eo(no([].concat(r, a.options.modifiers)));
995
+ var b = Jr(Zr([].concat(r, a.options.modifiers)));
1093
996
  return a.orderedModifiers = b.filter(function(h) {
1094
997
  return h.enabled;
1095
- }), m(), p.update();
998
+ }), m(), d.update();
1096
999
  },
1097
1000
  // Sync update – it will always be executed, even if not necessary. This
1098
1001
  // is useful for low frequency updates where sync behavior simplifies the
@@ -1100,12 +1003,12 @@ function ro(e) {
1100
1003
  // For high frequency updates (e.g. `resize` and `scroll` events), always
1101
1004
  // prefer the async Popper#update method
1102
1005
  forceUpdate: function() {
1103
- if (!d) {
1006
+ if (!v) {
1104
1007
  var x = a.elements, y = x.reference, b = x.popper;
1105
- if (jt(y, b)) {
1008
+ if (At(y, b)) {
1106
1009
  a.rects = {
1107
- reference: Qr(y, De(b), a.options.strategy === "fixed"),
1108
- popper: Ze(b)
1010
+ reference: Yr(y, Ee(b), a.options.strategy === "fixed"),
1011
+ popper: Je(b)
1109
1012
  }, a.reset = !1, a.placement = a.options.placement, a.orderedModifiers.forEach(function(R) {
1110
1013
  return a.modifiersData[R.name] = Object.assign({}, R.data);
1111
1014
  });
@@ -1114,12 +1017,12 @@ function ro(e) {
1114
1017
  a.reset = !1, h = -1;
1115
1018
  continue;
1116
1019
  }
1117
- var w = a.orderedModifiers[h], D = w.fn, E = w.options, P = E === void 0 ? {} : E, A = w.name;
1118
- typeof D == "function" && (a = D({
1020
+ var w = a.orderedModifiers[h], E = w.fn, D = w.options, P = D === void 0 ? {} : D, A = w.name;
1021
+ typeof E == "function" && (a = E({
1119
1022
  state: a,
1120
1023
  options: P,
1121
1024
  name: A,
1122
- instance: p
1025
+ instance: d
1123
1026
  }) || a);
1124
1027
  }
1125
1028
  }
@@ -1127,47 +1030,47 @@ function ro(e) {
1127
1030
  },
1128
1031
  // Async and optimistically optimized update – it will not be executed if
1129
1032
  // not necessary (debounced to run at most once-per-tick)
1130
- update: to(function() {
1131
- return new Promise(function(v) {
1132
- p.forceUpdate(), v(a);
1033
+ update: Qr(function() {
1034
+ return new Promise(function(p) {
1035
+ d.forceUpdate(), p(a);
1133
1036
  });
1134
1037
  }),
1135
1038
  destroy: function() {
1136
- g(), d = !0;
1039
+ g(), v = !0;
1137
1040
  }
1138
1041
  };
1139
- if (!jt(s, u))
1140
- return p;
1141
- p.setOptions(c).then(function(v) {
1142
- !d && c.onFirstUpdate && c.onFirstUpdate(v);
1042
+ if (!At(s, u))
1043
+ return d;
1044
+ d.setOptions(c).then(function(p) {
1045
+ !v && c.onFirstUpdate && c.onFirstUpdate(p);
1143
1046
  });
1144
1047
  function m() {
1145
- a.orderedModifiers.forEach(function(v) {
1146
- var x = v.name, y = v.options, b = y === void 0 ? {} : y, h = v.effect;
1048
+ a.orderedModifiers.forEach(function(p) {
1049
+ var x = p.name, y = p.options, b = y === void 0 ? {} : y, h = p.effect;
1147
1050
  if (typeof h == "function") {
1148
1051
  var w = h({
1149
1052
  state: a,
1150
1053
  name: x,
1151
- instance: p,
1054
+ instance: d,
1152
1055
  options: b
1153
- }), D = function() {
1056
+ }), E = function() {
1154
1057
  };
1155
- l.push(w || D);
1058
+ l.push(w || E);
1156
1059
  }
1157
1060
  });
1158
1061
  }
1159
1062
  function g() {
1160
- l.forEach(function(v) {
1161
- return v();
1063
+ l.forEach(function(p) {
1064
+ return p();
1162
1065
  }), l = [];
1163
1066
  }
1164
- return p;
1067
+ return d;
1165
1068
  };
1166
1069
  }
1167
- const oo = ro({
1168
- defaultModifiers: [Hr, _r, Pr, $r, Vr, Lr, Xr, xr]
1169
- }), io = ["enabled", "placement", "strategy", "modifiers"];
1170
- function ao(e, t) {
1070
+ const to = eo({
1071
+ defaultModifiers: [Br, Ur, Or, Dr, Hr, Ir, _r, wr]
1072
+ }), no = ["enabled", "placement", "strategy", "modifiers"];
1073
+ function ro(e, t) {
1171
1074
  if (e == null) return {};
1172
1075
  var n = {};
1173
1076
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1176,13 +1079,13 @@ function ao(e, t) {
1176
1079
  }
1177
1080
  return n;
1178
1081
  }
1179
- const so = {
1082
+ const oo = {
1180
1083
  name: "applyStyles",
1181
1084
  enabled: !1,
1182
1085
  phase: "afterWrite",
1183
1086
  fn: () => {
1184
1087
  }
1185
- }, uo = {
1088
+ }, io = {
1186
1089
  name: "ariaDescribedBy",
1187
1090
  enabled: !0,
1188
1091
  phase: "afterWrite",
@@ -1213,21 +1116,21 @@ const so = {
1213
1116
  r.setAttribute("aria-describedby", i ? `${i},${n.id}` : n.id);
1214
1117
  }
1215
1118
  }
1216
- }, co = [];
1217
- function fo(e, t, n = {}) {
1119
+ }, ao = [];
1120
+ function so(e, t, n = {}) {
1218
1121
  let {
1219
1122
  enabled: r = !0,
1220
1123
  placement: o = "bottom",
1221
1124
  strategy: i = "absolute",
1222
- modifiers: f = co
1223
- } = n, s = ao(n, io);
1125
+ modifiers: f = ao
1126
+ } = n, s = ro(n, no);
1224
1127
  const u = H(f), c = H(), a = _(() => {
1225
- var v;
1226
- (v = c.current) == null || v.update();
1128
+ var p;
1129
+ (p = c.current) == null || p.update();
1227
1130
  }, []), l = _(() => {
1228
- var v;
1229
- (v = c.current) == null || v.forceUpdate();
1230
- }, []), [d, p] = nr(qe({
1131
+ var p;
1132
+ (p = c.current) == null || p.forceUpdate();
1133
+ }, []), [v, d] = Zn(qe({
1231
1134
  placement: o,
1232
1135
  update: a,
1233
1136
  forceUpdate: l,
@@ -1242,102 +1145,102 @@ function fo(e, t, n = {}) {
1242
1145
  phase: "write",
1243
1146
  requires: ["computeStyles"],
1244
1147
  fn: ({
1245
- state: v
1148
+ state: p
1246
1149
  }) => {
1247
1150
  const x = {}, y = {};
1248
- Object.keys(v.elements).forEach((b) => {
1249
- x[b] = v.styles[b], y[b] = v.attributes[b];
1250
- }), p({
1251
- state: v,
1151
+ Object.keys(p.elements).forEach((b) => {
1152
+ x[b] = p.styles[b], y[b] = p.attributes[b];
1153
+ }), d({
1154
+ state: p,
1252
1155
  styles: x,
1253
1156
  attributes: y,
1254
1157
  update: a,
1255
1158
  forceUpdate: l,
1256
- placement: v.placement
1159
+ placement: p.placement
1257
1160
  });
1258
1161
  }
1259
- }), [a, l, p]), g = Me(() => (he(u.current, f) || (u.current = f), u.current), [f]);
1162
+ }), [a, l, d]), g = Me(() => (he(u.current, f) || (u.current = f), u.current), [f]);
1260
1163
  return X(() => {
1261
1164
  !c.current || !r || c.current.setOptions({
1262
1165
  placement: o,
1263
1166
  strategy: i,
1264
- modifiers: [...g, m, so]
1167
+ modifiers: [...g, m, oo]
1265
1168
  });
1266
1169
  }, [i, o, m, r, g]), X(() => {
1267
1170
  if (!(!r || e == null || t == null))
1268
- return c.current = oo(e, t, Object.assign({}, s, {
1171
+ return c.current = to(e, t, Object.assign({}, s, {
1269
1172
  placement: o,
1270
1173
  strategy: i,
1271
- modifiers: [...g, uo, m]
1174
+ modifiers: [...g, io, m]
1272
1175
  })), () => {
1273
- c.current != null && (c.current.destroy(), c.current = void 0, p((v) => Object.assign({}, v, {
1176
+ c.current != null && (c.current.destroy(), c.current = void 0, d((p) => Object.assign({}, p, {
1274
1177
  attributes: {},
1275
1178
  styles: {
1276
1179
  popper: {}
1277
1180
  }
1278
1181
  })));
1279
1182
  };
1280
- }, [r, e, t]), d;
1183
+ }, [r, e, t]), v;
1281
1184
  }
1282
- function Mt(e, t) {
1185
+ function Rt(e, t) {
1283
1186
  if (e.contains) return e.contains(t);
1284
1187
  if (e.compareDocumentPosition) return e === t || !!(e.compareDocumentPosition(t) & 16);
1285
1188
  }
1286
- const Tt = () => {
1189
+ const jt = () => {
1287
1190
  };
1288
- function lo(e) {
1191
+ function uo(e) {
1289
1192
  return e.button === 0;
1290
1193
  }
1291
- function po(e) {
1194
+ function co(e) {
1292
1195
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1293
1196
  }
1294
- const Ue = (e) => e && ("current" in e ? e.current : e), Nt = {
1197
+ const Ue = (e) => e && ("current" in e ? e.current : e), Mt = {
1295
1198
  click: "mousedown",
1296
1199
  mouseup: "mousedown",
1297
1200
  pointerup: "pointerdown"
1298
1201
  };
1299
- function vo(e, t = Tt, {
1202
+ function fo(e, t = jt, {
1300
1203
  disabled: n,
1301
1204
  clickTrigger: r = "click"
1302
1205
  } = {}) {
1303
1206
  const o = H(!1), i = H(!1), f = _((c) => {
1304
1207
  const a = Ue(e);
1305
- Bt(!!a, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), o.current = !a || po(c) || !lo(c) || !!Mt(a, c.target) || i.current, i.current = !1;
1306
- }, [e]), s = J((c) => {
1208
+ It(!!a, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), o.current = !a || co(c) || !uo(c) || !!Rt(a, c.target) || i.current, i.current = !1;
1209
+ }, [e]), s = Y((c) => {
1307
1210
  const a = Ue(e);
1308
- a && Mt(a, c.target) ? i.current = !0 : i.current = !1;
1309
- }), u = J((c) => {
1211
+ a && Rt(a, c.target) ? i.current = !0 : i.current = !1;
1212
+ }), u = Y((c) => {
1310
1213
  o.current || t(c);
1311
1214
  });
1312
1215
  X(() => {
1313
1216
  var c, a;
1314
1217
  if (n || e == null) return;
1315
- const l = jn(Ue(e)), d = l.defaultView || window;
1316
- let p = (c = d.event) != null ? c : (a = d.parent) == null ? void 0 : a.event, m = null;
1317
- Nt[r] && (m = Ae(l, Nt[r], s, !0));
1318
- const g = Ae(l, r, f, !0), v = Ae(l, r, (y) => {
1319
- if (y === p) {
1320
- p = void 0;
1218
+ const l = An(Ue(e)), v = l.defaultView || window;
1219
+ let d = (c = v.event) != null ? c : (a = v.parent) == null ? void 0 : a.event, m = null;
1220
+ Mt[r] && (m = Ae(l, Mt[r], s, !0));
1221
+ const g = Ae(l, r, f, !0), p = Ae(l, r, (y) => {
1222
+ if (y === d) {
1223
+ d = void 0;
1321
1224
  return;
1322
1225
  }
1323
1226
  u(y);
1324
1227
  });
1325
1228
  let x = [];
1326
- return "ontouchstart" in l.documentElement && (x = [].slice.call(l.body.children).map((y) => Ae(y, "mousemove", Tt))), () => {
1327
- m == null || m(), g(), v(), x.forEach((y) => y());
1229
+ return "ontouchstart" in l.documentElement && (x = [].slice.call(l.body.children).map((y) => Ae(y, "mousemove", jt))), () => {
1230
+ m == null || m(), g(), p(), x.forEach((y) => y());
1328
1231
  };
1329
1232
  }, [e, n, r, f, s, u]);
1330
1233
  }
1331
- function mo(e) {
1234
+ function lo(e) {
1332
1235
  const t = {};
1333
1236
  return Array.isArray(e) ? (e == null || e.forEach((n) => {
1334
1237
  t[n.name] = n;
1335
1238
  }), t) : e || t;
1336
1239
  }
1337
- function go(e = {}) {
1240
+ function po(e = {}) {
1338
1241
  return Array.isArray(e) ? e : Object.keys(e).map((t) => (e[t].name = t, e[t]));
1339
1242
  }
1340
- function ho({
1243
+ function vo({
1341
1244
  enabled: e,
1342
1245
  enableEvents: t,
1343
1246
  placement: n,
@@ -1348,13 +1251,13 @@ function ho({
1348
1251
  arrowElement: s,
1349
1252
  popperConfig: u = {}
1350
1253
  }) {
1351
- var c, a, l, d, p;
1352
- const m = mo(u.modifiers);
1254
+ var c, a, l, v, d;
1255
+ const m = lo(u.modifiers);
1353
1256
  return Object.assign({}, u, {
1354
1257
  placement: n,
1355
1258
  enabled: e,
1356
1259
  strategy: i ? "fixed" : u.strategy,
1357
- modifiers: go(Object.assign({}, m, {
1260
+ modifiers: po(Object.assign({}, m, {
1358
1261
  eventListeners: {
1359
1262
  enabled: t,
1360
1263
  options: (c = m.eventListeners) == null ? void 0 : c.options
@@ -1367,11 +1270,11 @@ function ho({
1367
1270
  offset: {
1368
1271
  options: Object.assign({
1369
1272
  offset: o
1370
- }, (d = m.offset) == null ? void 0 : d.options)
1273
+ }, (v = m.offset) == null ? void 0 : v.options)
1371
1274
  },
1372
1275
  arrow: Object.assign({}, m.arrow, {
1373
1276
  enabled: !!s,
1374
- options: Object.assign({}, (p = m.arrow) == null ? void 0 : p.options, {
1277
+ options: Object.assign({}, (d = m.arrow) == null ? void 0 : d.options, {
1375
1278
  element: s
1376
1279
  })
1377
1280
  }),
@@ -1381,8 +1284,8 @@ function ho({
1381
1284
  }))
1382
1285
  });
1383
1286
  }
1384
- const wo = ["children", "usePopper"];
1385
- function yo(e, t) {
1287
+ const mo = ["children", "usePopper"];
1288
+ function go(e, t) {
1386
1289
  if (e == null) return {};
1387
1290
  var n = {};
1388
1291
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1391,9 +1294,9 @@ function yo(e, t) {
1391
1294
  }
1392
1295
  return n;
1393
1296
  }
1394
- const bo = () => {
1297
+ const ho = () => {
1395
1298
  };
1396
- function Xt(e = {}) {
1299
+ function qt(e = {}) {
1397
1300
  const t = k(Ie), [n, r] = Kn(), o = H(!1), {
1398
1301
  flip: i,
1399
1302
  offset: f,
@@ -1402,104 +1305,104 @@ function Xt(e = {}) {
1402
1305
  placement: c,
1403
1306
  popperConfig: a = {},
1404
1307
  enableEventListeners: l = !0,
1405
- usePopper: d = !!t
1406
- } = e, p = (t == null ? void 0 : t.show) == null ? !!e.show : t.show;
1407
- p && !o.current && (o.current = !0);
1408
- const m = (D) => {
1409
- t == null || t.toggle(!1, D);
1308
+ usePopper: v = !!t
1309
+ } = e, d = (t == null ? void 0 : t.show) == null ? !!e.show : t.show;
1310
+ d && !o.current && (o.current = !0);
1311
+ const m = (E) => {
1312
+ t == null || t.toggle(!1, E);
1410
1313
  }, {
1411
1314
  placement: g,
1412
- setMenu: v,
1315
+ setMenu: p,
1413
1316
  menuElement: x,
1414
1317
  toggleElement: y
1415
- } = t || {}, b = fo(y, x, ho({
1318
+ } = t || {}, b = so(y, x, vo({
1416
1319
  placement: c || g || "bottom-start",
1417
- enabled: d,
1418
- enableEvents: l ?? p,
1320
+ enabled: v,
1321
+ enableEvents: l ?? d,
1419
1322
  offset: f,
1420
1323
  flip: i,
1421
1324
  fixed: u,
1422
1325
  arrowElement: n,
1423
1326
  popperConfig: a
1424
1327
  })), h = Object.assign({
1425
- ref: v || bo,
1328
+ ref: p || ho,
1426
1329
  "aria-labelledby": y == null ? void 0 : y.id
1427
1330
  }, b.attributes.popper, {
1428
1331
  style: b.styles.popper
1429
1332
  }), w = {
1430
- show: p,
1333
+ show: d,
1431
1334
  placement: g,
1432
1335
  hasShown: o.current,
1433
1336
  toggle: t == null ? void 0 : t.toggle,
1434
- popper: d ? b : null,
1435
- arrowProps: d ? Object.assign({
1337
+ popper: v ? b : null,
1338
+ arrowProps: v ? Object.assign({
1436
1339
  ref: r
1437
1340
  }, b.attributes.arrow, {
1438
1341
  style: b.styles.arrow
1439
1342
  }) : {}
1440
1343
  };
1441
- return vo(x, m, {
1344
+ return fo(x, m, {
1442
1345
  clickTrigger: s,
1443
- disabled: !p
1346
+ disabled: !d
1444
1347
  }), [h, w];
1445
1348
  }
1446
- function Yt(e) {
1349
+ function zt(e) {
1447
1350
  let {
1448
1351
  children: t,
1449
1352
  usePopper: n = !0
1450
- } = e, r = yo(e, wo);
1451
- const [o, i] = Xt(Object.assign({}, r, {
1353
+ } = e, r = go(e, mo);
1354
+ const [o, i] = qt(Object.assign({}, r, {
1452
1355
  usePopper: n
1453
1356
  }));
1454
- return /* @__PURE__ */ j(kt, {
1357
+ return /* @__PURE__ */ j(St, {
1455
1358
  children: t(o, i)
1456
1359
  });
1457
1360
  }
1458
- Yt.displayName = "DropdownMenu";
1459
- const Gt = (e) => {
1361
+ zt.displayName = "DropdownMenu";
1362
+ const Xt = (e) => {
1460
1363
  var t;
1461
1364
  return ((t = e.getAttribute("role")) == null ? void 0 : t.toLowerCase()) === "menu";
1462
- }, St = () => {
1365
+ }, Nt = () => {
1463
1366
  };
1464
- function Jt() {
1465
- const e = Mn(), {
1367
+ function Yt() {
1368
+ const e = Rn(), {
1466
1369
  show: t = !1,
1467
- toggle: n = St,
1370
+ toggle: n = Nt,
1468
1371
  setToggle: r,
1469
1372
  menuElement: o
1470
1373
  } = k(Ie) || {}, i = _((s) => {
1471
1374
  n(!t, s);
1472
1375
  }, [t, n]), f = {
1473
1376
  id: e,
1474
- ref: r || St,
1377
+ ref: r || Nt,
1475
1378
  onClick: i,
1476
1379
  "aria-expanded": !!t
1477
1380
  };
1478
- return o && Gt(o) && (f["aria-haspopup"] = !0), [f, {
1381
+ return o && Xt(o) && (f["aria-haspopup"] = !0), [f, {
1479
1382
  show: t,
1480
1383
  toggle: n
1481
1384
  }];
1482
1385
  }
1483
- function Qt({
1386
+ function Gt({
1484
1387
  children: e
1485
1388
  }) {
1486
- const [t, n] = Jt();
1487
- return /* @__PURE__ */ j(kt, {
1389
+ const [t, n] = Yt();
1390
+ return /* @__PURE__ */ j(St, {
1488
1391
  children: e(t, n)
1489
1392
  });
1490
1393
  }
1491
- Qt.displayName = "DropdownToggle";
1492
- const ot = /* @__PURE__ */ M.createContext(null);
1493
- ot.displayName = "NavContext";
1494
- const xo = "data-rr-ui-", Oo = "rrUi";
1394
+ Gt.displayName = "DropdownToggle";
1395
+ const nt = /* @__PURE__ */ N.createContext(null);
1396
+ nt.displayName = "NavContext";
1397
+ const wo = "data-rr-ui-", yo = "rrUi";
1495
1398
  function Be(e) {
1496
- return `${xo}${e}`;
1399
+ return `${wo}${e}`;
1497
1400
  }
1498
- function Ho(e) {
1499
- return `${Oo}${e}`;
1401
+ function Lo(e) {
1402
+ return `${yo}${e}`;
1500
1403
  }
1501
- const Do = ["eventKey", "disabled", "onClick", "active", "as"];
1502
- function Eo(e, t) {
1404
+ const bo = ["eventKey", "disabled", "onClick", "active", "as"];
1405
+ function xo(e, t) {
1503
1406
  if (e == null) return {};
1504
1407
  var n = {};
1505
1408
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1508,18 +1411,18 @@ function Eo(e, t) {
1508
1411
  }
1509
1412
  return n;
1510
1413
  }
1511
- function Zt({
1414
+ function Jt({
1512
1415
  key: e,
1513
1416
  href: t,
1514
1417
  active: n,
1515
1418
  disabled: r,
1516
1419
  onClick: o
1517
1420
  }) {
1518
- const i = k(Te), f = k(ot), {
1421
+ const i = k(Ne), f = k(nt), {
1519
1422
  activeKey: s
1520
- } = f || {}, u = Ne(e, t), c = n == null && e != null ? Ne(s) === u : n;
1423
+ } = f || {}, u = Te(e, t), c = n == null && e != null ? Te(s) === u : n;
1521
1424
  return [{
1522
- onClick: J((l) => {
1425
+ onClick: Y((l) => {
1523
1426
  r || (o == null || o(l), i && !l.isPropagationStopped() && i(u, l));
1524
1427
  }),
1525
1428
  "aria-disabled": r || void 0,
@@ -1529,15 +1432,15 @@ function Zt({
1529
1432
  isActive: c
1530
1433
  }];
1531
1434
  }
1532
- const en = /* @__PURE__ */ M.forwardRef((e, t) => {
1435
+ const Qt = /* @__PURE__ */ N.forwardRef((e, t) => {
1533
1436
  let {
1534
1437
  eventKey: n,
1535
1438
  disabled: r,
1536
1439
  onClick: o,
1537
1440
  active: i,
1538
- as: f = Ye
1539
- } = e, s = Eo(e, Do);
1540
- const [u] = Zt({
1441
+ as: f = kt
1442
+ } = e, s = xo(e, bo);
1443
+ const [u] = Jt({
1541
1444
  key: n,
1542
1445
  href: s.href,
1543
1446
  disabled: r,
@@ -1548,19 +1451,19 @@ const en = /* @__PURE__ */ M.forwardRef((e, t) => {
1548
1451
  ref: t
1549
1452
  }, u));
1550
1453
  });
1551
- en.displayName = "DropdownItem";
1552
- const tn = /* @__PURE__ */ $n(Tn ? window : void 0);
1553
- tn.Provider;
1554
- function Po() {
1555
- return k(tn);
1556
- }
1557
- function It() {
1558
- const e = tr(), t = H(null), n = _((r) => {
1454
+ Qt.displayName = "DropdownItem";
1455
+ const Zt = /* @__PURE__ */ Pn(jn ? window : void 0);
1456
+ Zt.Provider;
1457
+ function Oo() {
1458
+ return k(Zt);
1459
+ }
1460
+ function Tt() {
1461
+ const e = Qn(), t = H(null), n = _((r) => {
1559
1462
  t.current = r, e();
1560
1463
  }, [e]);
1561
1464
  return [t, n];
1562
1465
  }
1563
- function Ee({
1466
+ function De({
1564
1467
  defaultShow: e,
1565
1468
  show: t,
1566
1469
  onSelect: n,
@@ -1570,31 +1473,31 @@ function Ee({
1570
1473
  placement: f = "bottom-start",
1571
1474
  children: s
1572
1475
  }) {
1573
- const u = Po(), [c, a] = Nn(t, e, r), [l, d] = It(), p = l.current, [m, g] = It(), v = m.current, x = zn(c), y = H(null), b = H(!1), h = k(Te), w = _((O, C, $ = C == null ? void 0 : C.type) => {
1476
+ const u = Oo(), [c, a] = Mn(t, e, r), [l, v] = Tt(), d = l.current, [m, g] = Tt(), p = m.current, x = zn(c), y = H(null), b = H(!1), h = k(Ne), w = _((O, C, $ = C == null ? void 0 : C.type) => {
1574
1477
  a(O, {
1575
1478
  originalEvent: C,
1576
1479
  source: $
1577
1480
  });
1578
- }, [a]), D = J((O, C) => {
1481
+ }, [a]), E = Y((O, C) => {
1579
1482
  n == null || n(O, C), w(!1, C, "select"), C.isPropagationStopped() || h == null || h(O, C);
1580
- }), E = Me(() => ({
1483
+ }), D = Me(() => ({
1581
1484
  toggle: w,
1582
1485
  placement: f,
1583
1486
  show: c,
1584
- menuElement: p,
1585
- toggleElement: v,
1586
- setMenu: d,
1487
+ menuElement: d,
1488
+ toggleElement: p,
1489
+ setMenu: v,
1587
1490
  setToggle: g
1588
- }), [w, f, c, p, v, d, g]);
1589
- p && x && !c && (b.current = p.contains(p.ownerDocument.activeElement));
1590
- const P = J(() => {
1591
- v && v.focus && v.focus();
1592
- }), A = J(() => {
1491
+ }), [w, f, c, d, p, v, g]);
1492
+ d && x && !c && (b.current = d.contains(d.ownerDocument.activeElement));
1493
+ const P = Y(() => {
1494
+ p && p.focus && p.focus();
1495
+ }), A = Y(() => {
1593
1496
  const O = y.current;
1594
1497
  let C = i;
1595
- if (C == null && (C = l.current && Gt(l.current) ? "keyboard" : !1), C === !1 || C === "keyboard" && !/^key.+$/.test(O))
1498
+ if (C == null && (C = l.current && Xt(l.current) ? "keyboard" : !1), C === !1 || C === "keyboard" && !/^key.+$/.test(O))
1596
1499
  return;
1597
- const $ = yt(l.current, o)[0];
1500
+ const $ = ht(l.current, o)[0];
1598
1501
  $ && $.focus && $.focus();
1599
1502
  });
1600
1503
  X(() => {
@@ -1604,23 +1507,23 @@ function Ee({
1604
1507
  });
1605
1508
  const R = (O, C) => {
1606
1509
  if (!l.current) return null;
1607
- const $ = yt(l.current, o);
1608
- let T = $.indexOf(O) + C;
1609
- return T = Math.max(0, Math.min(T, $.length)), $[T];
1510
+ const $ = ht(l.current, o);
1511
+ let M = $.indexOf(O) + C;
1512
+ return M = Math.max(0, Math.min(M, $.length)), $[M];
1610
1513
  };
1611
1514
  return _n(_(() => u.document, [u]), "keydown", (O) => {
1612
1515
  var C, $;
1613
1516
  const {
1614
- key: T
1615
- } = O, I = O.target, N = (C = l.current) == null ? void 0 : C.contains(I), W = ($ = m.current) == null ? void 0 : $.contains(I);
1616
- if (/input|textarea/i.test(I.tagName) && (T === " " || T !== "Escape" && N || T === "Escape" && I.type === "search") || !N && !W || T === "Tab" && (!l.current || !c))
1517
+ key: M
1518
+ } = O, I = O.target, T = (C = l.current) == null ? void 0 : C.contains(I), W = ($ = m.current) == null ? void 0 : $.contains(I);
1519
+ if (/input|textarea/i.test(I.tagName) && (M === " " || M !== "Escape" && T || M === "Escape" && I.type === "search") || !T && !W || M === "Tab" && (!l.current || !c))
1617
1520
  return;
1618
1521
  y.current = O.type;
1619
1522
  const K = {
1620
1523
  originalEvent: O,
1621
1524
  source: O.type
1622
1525
  };
1623
- switch (T) {
1526
+ switch (M) {
1624
1527
  case "ArrowUp": {
1625
1528
  const S = R(I, -1);
1626
1529
  S && S.focus && S.focus(), O.preventDefault();
@@ -1635,7 +1538,7 @@ function Ee({
1635
1538
  }
1636
1539
  return;
1637
1540
  case "Tab":
1638
- Sn(I.ownerDocument, "keyup", (S) => {
1541
+ Nn(I.ownerDocument, "keyup", (S) => {
1639
1542
  var se;
1640
1543
  (S.key === "Tab" && !S.target || !((se = l.current) != null && se.contains(S.target))) && a(!1, K);
1641
1544
  }, {
@@ -1643,60 +1546,60 @@ function Ee({
1643
1546
  });
1644
1547
  break;
1645
1548
  case "Escape":
1646
- T === "Escape" && (O.preventDefault(), O.stopPropagation()), a(!1, K);
1549
+ M === "Escape" && (O.preventDefault(), O.stopPropagation()), a(!1, K);
1647
1550
  break;
1648
1551
  }
1649
- }), /* @__PURE__ */ j(Te.Provider, {
1650
- value: D,
1552
+ }), /* @__PURE__ */ j(Ne.Provider, {
1553
+ value: E,
1651
1554
  children: /* @__PURE__ */ j(Ie.Provider, {
1652
- value: E,
1555
+ value: D,
1653
1556
  children: s
1654
1557
  })
1655
1558
  });
1656
1559
  }
1657
- Ee.displayName = "Dropdown";
1658
- Ee.Menu = Yt;
1659
- Ee.Toggle = Qt;
1660
- Ee.Item = en;
1661
- const it = /* @__PURE__ */ M.createContext({});
1662
- it.displayName = "DropdownContext";
1663
- const nn = /* @__PURE__ */ M.forwardRef(({
1560
+ De.displayName = "Dropdown";
1561
+ De.Menu = zt;
1562
+ De.Toggle = Gt;
1563
+ De.Item = Qt;
1564
+ const rt = /* @__PURE__ */ N.createContext({});
1565
+ rt.displayName = "DropdownContext";
1566
+ const en = /* @__PURE__ */ N.forwardRef(({
1664
1567
  className: e,
1665
1568
  bsPrefix: t,
1666
1569
  as: n = "hr",
1667
1570
  role: r = "separator",
1668
1571
  ...o
1669
- }, i) => (t = Y(t, "dropdown-divider"), /* @__PURE__ */ j(n, {
1572
+ }, i) => (t = J(t, "dropdown-divider"), /* @__PURE__ */ j(n, {
1670
1573
  ref: i,
1671
- className: G(e, t),
1574
+ className: Q(e, t),
1672
1575
  role: r,
1673
1576
  ...o
1674
1577
  })));
1675
- nn.displayName = "DropdownDivider";
1676
- const rn = /* @__PURE__ */ M.forwardRef(({
1578
+ en.displayName = "DropdownDivider";
1579
+ const tn = /* @__PURE__ */ N.forwardRef(({
1677
1580
  className: e,
1678
1581
  bsPrefix: t,
1679
1582
  as: n = "div",
1680
1583
  role: r = "heading",
1681
1584
  ...o
1682
- }, i) => (t = Y(t, "dropdown-header"), /* @__PURE__ */ j(n, {
1585
+ }, i) => (t = J(t, "dropdown-header"), /* @__PURE__ */ j(n, {
1683
1586
  ref: i,
1684
- className: G(e, t),
1587
+ className: Q(e, t),
1685
1588
  role: r,
1686
1589
  ...o
1687
1590
  })));
1688
- rn.displayName = "DropdownHeader";
1689
- const on = /* @__PURE__ */ M.forwardRef(({
1591
+ tn.displayName = "DropdownHeader";
1592
+ const nn = /* @__PURE__ */ N.forwardRef(({
1690
1593
  bsPrefix: e,
1691
1594
  className: t,
1692
1595
  eventKey: n,
1693
1596
  disabled: r = !1,
1694
1597
  onClick: o,
1695
1598
  active: i,
1696
- as: f = Ge,
1599
+ as: f = Xe,
1697
1600
  ...s
1698
1601
  }, u) => {
1699
- const c = Y(e, "dropdown-item"), [a, l] = Zt({
1602
+ const c = J(e, "dropdown-item"), [a, l] = Jt({
1700
1603
  key: n,
1701
1604
  href: s.href,
1702
1605
  disabled: r,
@@ -1707,40 +1610,40 @@ const on = /* @__PURE__ */ M.forwardRef(({
1707
1610
  ...s,
1708
1611
  ...a,
1709
1612
  ref: u,
1710
- className: G(t, c, l.isActive && "active", r && "disabled")
1613
+ className: Q(t, c, l.isActive && "active", r && "disabled")
1711
1614
  });
1712
1615
  });
1713
- on.displayName = "DropdownItem";
1714
- const an = /* @__PURE__ */ M.forwardRef(({
1616
+ nn.displayName = "DropdownItem";
1617
+ const rn = /* @__PURE__ */ N.forwardRef(({
1715
1618
  className: e,
1716
1619
  bsPrefix: t,
1717
1620
  as: n = "span",
1718
1621
  ...r
1719
- }, o) => (t = Y(t, "dropdown-item-text"), /* @__PURE__ */ j(n, {
1622
+ }, o) => (t = J(t, "dropdown-item-text"), /* @__PURE__ */ j(n, {
1720
1623
  ref: o,
1721
- className: G(e, t),
1624
+ className: Q(e, t),
1722
1625
  ...r
1723
1626
  })));
1724
- an.displayName = "DropdownItemText";
1725
- const Co = typeof global < "u" && // @ts-ignore
1627
+ rn.displayName = "DropdownItemText";
1628
+ const Eo = typeof global < "u" && // @ts-ignore
1726
1629
  global.navigator && // @ts-ignore
1727
- global.navigator.product === "ReactNative", $o = typeof document < "u", Ao = $o || Co ? An : X, at = /* @__PURE__ */ M.createContext(null);
1728
- at.displayName = "InputGroupContext";
1729
- const sn = /* @__PURE__ */ M.createContext(null);
1730
- sn.displayName = "NavbarContext";
1731
- function un(e, t) {
1630
+ global.navigator.product === "ReactNative", Do = typeof document < "u", Po = Do || Eo ? Cn : X, ot = /* @__PURE__ */ N.createContext(null);
1631
+ ot.displayName = "InputGroupContext";
1632
+ const on = /* @__PURE__ */ N.createContext(null);
1633
+ on.displayName = "NavbarContext";
1634
+ function an(e, t) {
1732
1635
  if (process.env.NODE_ENV === "production") return e;
1733
1636
  const n = _((r) => {
1734
- r == null || !r.isReactComponent || (process.env.NODE_ENV !== "production" ? ht(!1, `${t} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`) : ht(!1));
1637
+ r == null || !r.isReactComponent || (process.env.NODE_ENV !== "production" ? mt(!1, `${t} injected a ref to a provided \`as\` component that resolved to a component instance instead of a DOM element. Use \`React.forwardRef\` to provide the injected ref to the class component as a prop in order to pass it directly to a DOM element`) : mt(!1));
1735
1638
  }, [t]);
1736
1639
  return ze(n, e);
1737
1640
  }
1738
- function cn(e, t, n) {
1641
+ function sn(e, t, n) {
1739
1642
  const r = n ? "top-end" : "top-start", o = n ? "top-start" : "top-end", i = n ? "bottom-end" : "bottom-start", f = n ? "bottom-start" : "bottom-end", s = n ? "right-start" : "left-start", u = n ? "right-end" : "left-end", c = n ? "left-start" : "right-start", a = n ? "left-end" : "right-end";
1740
1643
  let l = e ? f : i;
1741
1644
  return t === "up" ? l = e ? o : r : t === "end" ? l = e ? a : c : t === "start" ? l = e ? u : s : t === "down-centered" ? l = "bottom" : t === "up-centered" && (l = "top"), l;
1742
1645
  }
1743
- const fn = /* @__PURE__ */ M.forwardRef(({
1646
+ const un = /* @__PURE__ */ N.forwardRef(({
1744
1647
  bsPrefix: e,
1745
1648
  className: t,
1746
1649
  align: n,
@@ -1754,75 +1657,75 @@ const fn = /* @__PURE__ */ M.forwardRef(({
1754
1657
  variant: c,
1755
1658
  ...a
1756
1659
  }, l) => {
1757
- let d = !1;
1758
- const p = k(sn), m = Y(e, "dropdown-menu"), {
1660
+ let v = !1;
1661
+ const d = k(on), m = J(e, "dropdown-menu"), {
1759
1662
  align: g,
1760
- drop: v,
1663
+ drop: p,
1761
1664
  isRTL: x
1762
- } = k(it);
1665
+ } = k(rt);
1763
1666
  n = n || g;
1764
- const y = k(at), b = [];
1667
+ const y = k(ot), b = [];
1765
1668
  if (n)
1766
1669
  if (typeof n == "object") {
1767
1670
  const O = Object.keys(n);
1768
- if (process.env.NODE_ENV !== "production" && Bt(O.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), O.length) {
1671
+ if (process.env.NODE_ENV !== "production" && It(O.length === 1, "There should only be 1 breakpoint when passing an object to `align`"), O.length) {
1769
1672
  const C = O[0], $ = n[C];
1770
- d = $ === "start", b.push(`${m}-${C}-${$}`);
1673
+ v = $ === "start", b.push(`${m}-${C}-${$}`);
1771
1674
  }
1772
- } else n === "end" && (d = !0);
1773
- const h = cn(d, v, x), [w, {
1774
- hasShown: D,
1775
- popper: E,
1675
+ } else n === "end" && (v = !0);
1676
+ const h = sn(v, p, x), [w, {
1677
+ hasShown: E,
1678
+ popper: D,
1776
1679
  show: P,
1777
1680
  toggle: A
1778
- }] = Xt({
1681
+ }] = qt({
1779
1682
  flip: o,
1780
1683
  rootCloseEvent: r,
1781
1684
  show: i,
1782
- usePopper: !p && b.length === 0,
1685
+ usePopper: !d && b.length === 0,
1783
1686
  offset: [0, 2],
1784
1687
  popperConfig: u,
1785
1688
  placement: h
1786
1689
  });
1787
- if (w.ref = ze(un(l, "DropdownMenu"), w.ref), Ao(() => {
1788
- P && (E == null || E.update());
1789
- }, [P]), !D && !f && !y) return null;
1690
+ if (w.ref = ze(an(l, "DropdownMenu"), w.ref), Po(() => {
1691
+ P && (D == null || D.update());
1692
+ }, [P]), !E && !f && !y) return null;
1790
1693
  typeof s != "string" && (w.show = P, w.close = () => A == null ? void 0 : A(!1), w.align = n);
1791
1694
  let R = a.style;
1792
- return E != null && E.placement && (R = {
1695
+ return D != null && D.placement && (R = {
1793
1696
  ...a.style,
1794
1697
  ...w.style
1795
- }, a["x-placement"] = E.placement), /* @__PURE__ */ j(s, {
1698
+ }, a["x-placement"] = D.placement), /* @__PURE__ */ j(s, {
1796
1699
  ...a,
1797
1700
  ...w,
1798
1701
  style: R,
1799
- ...(b.length || p) && {
1702
+ ...(b.length || d) && {
1800
1703
  "data-bs-popper": "static"
1801
1704
  },
1802
- className: G(t, m, P && "show", d && `${m}-end`, c && `${m}-${c}`, ...b)
1705
+ className: Q(t, m, P && "show", v && `${m}-end`, c && `${m}-${c}`, ...b)
1803
1706
  });
1804
1707
  });
1805
- fn.displayName = "DropdownMenu";
1806
- const ln = /* @__PURE__ */ M.forwardRef(({
1708
+ un.displayName = "DropdownMenu";
1709
+ const cn = /* @__PURE__ */ N.forwardRef(({
1807
1710
  bsPrefix: e,
1808
1711
  split: t,
1809
1712
  className: n,
1810
1713
  childBsPrefix: r,
1811
1714
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
1812
- as: o = Lt,
1715
+ as: o = In,
1813
1716
  ...i
1814
1717
  }, f) => {
1815
- const s = Y(e, "dropdown-toggle"), u = k(Ie);
1718
+ const s = J(e, "dropdown-toggle"), u = k(Ie);
1816
1719
  r !== void 0 && (i.bsPrefix = r);
1817
- const [c] = Jt();
1818
- return c.ref = ze(c.ref, un(f, "DropdownToggle")), /* @__PURE__ */ j(o, {
1819
- className: G(n, s, t && `${s}-split`, (u == null ? void 0 : u.show) && "show"),
1720
+ const [c] = Yt();
1721
+ return c.ref = ze(c.ref, an(f, "DropdownToggle")), /* @__PURE__ */ j(o, {
1722
+ className: Q(n, s, t && `${s}-split`, (u == null ? void 0 : u.show) && "show"),
1820
1723
  ...c,
1821
1724
  ...i
1822
1725
  });
1823
1726
  });
1824
- ln.displayName = "DropdownToggle";
1825
- const dn = /* @__PURE__ */ M.forwardRef((e, t) => {
1727
+ cn.displayName = "DropdownToggle";
1728
+ const fn = /* @__PURE__ */ N.forwardRef((e, t) => {
1826
1729
  const {
1827
1730
  bsPrefix: n,
1828
1731
  drop: r = "down",
@@ -1835,18 +1738,18 @@ const dn = /* @__PURE__ */ M.forwardRef((e, t) => {
1835
1738
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
1836
1739
  as: a = "div",
1837
1740
  navbar: l,
1838
- autoClose: d = !0,
1839
- ...p
1741
+ autoClose: v = !0,
1742
+ ...d
1840
1743
  } = Fn(e, {
1841
1744
  show: "onToggle"
1842
- }), m = k(at), g = Y(n, "dropdown"), v = Pn(), x = (E) => d === !1 ? E === "click" : d === "inside" ? E !== "rootClose" : d === "outside" ? E !== "select" : !0, y = Vn((E, P) => {
1745
+ }), m = k(ot), g = J(n, "dropdown"), p = En(), x = (D) => v === !1 ? D === "click" : v === "inside" ? D !== "rootClose" : v === "outside" ? D !== "select" : !0, y = Vn((D, P) => {
1843
1746
  var A;
1844
- !((A = P.originalEvent) == null || (A = A.target) == null) && A.classList.contains("dropdown-toggle") && P.source === "mousedown" || (P.originalEvent.currentTarget === document && (P.source !== "keydown" || P.originalEvent.key === "Escape") && (P.source = "rootClose"), x(P.source) && (u == null || u(E, P)));
1845
- }), h = cn(f === "end", r, v), w = Me(() => ({
1747
+ !((A = P.originalEvent) == null || (A = A.target) == null) && A.classList.contains("dropdown-toggle") && P.source === "mousedown" || (P.originalEvent.currentTarget === document && (P.source !== "keydown" || P.originalEvent.key === "Escape") && (P.source = "rootClose"), x(P.source) && (u == null || u(D, P)));
1748
+ }), h = sn(f === "end", r, p), w = Me(() => ({
1846
1749
  align: f,
1847
1750
  drop: r,
1848
- isRTL: v
1849
- }), [f, r, v]), D = {
1751
+ isRTL: p
1752
+ }), [f, r, p]), E = {
1850
1753
  down: g,
1851
1754
  "down-centered": `${g}-center`,
1852
1755
  up: "dropup",
@@ -1854,33 +1757,33 @@ const dn = /* @__PURE__ */ M.forwardRef((e, t) => {
1854
1757
  end: "dropend",
1855
1758
  start: "dropstart"
1856
1759
  };
1857
- return /* @__PURE__ */ j(it.Provider, {
1760
+ return /* @__PURE__ */ j(rt.Provider, {
1858
1761
  value: w,
1859
- children: /* @__PURE__ */ j(Ee, {
1762
+ children: /* @__PURE__ */ j(De, {
1860
1763
  placement: h,
1861
1764
  show: o,
1862
1765
  onSelect: s,
1863
1766
  onToggle: y,
1864
1767
  focusFirstItemOnShow: c,
1865
1768
  itemSelector: `.${g}-item:not(.disabled):not(:disabled)`,
1866
- children: m ? p.children : /* @__PURE__ */ j(a, {
1867
- ...p,
1769
+ children: m ? d.children : /* @__PURE__ */ j(a, {
1770
+ ...d,
1868
1771
  ref: t,
1869
- className: G(i, o && "show", D[r])
1772
+ className: Q(i, o && "show", E[r])
1870
1773
  })
1871
1774
  })
1872
1775
  });
1873
1776
  });
1874
- dn.displayName = "Dropdown";
1875
- const oe = Object.assign(dn, {
1876
- Toggle: ln,
1877
- Menu: fn,
1878
- Item: on,
1879
- ItemText: an,
1880
- Divider: nn,
1881
- Header: rn
1882
- }), Ro = ["as", "active", "eventKey"];
1883
- function jo(e, t) {
1777
+ fn.displayName = "Dropdown";
1778
+ const oe = Object.assign(fn, {
1779
+ Toggle: cn,
1780
+ Menu: un,
1781
+ Item: nn,
1782
+ ItemText: rn,
1783
+ Divider: en,
1784
+ Header: tn
1785
+ }), Co = ["as", "active", "eventKey"];
1786
+ function $o(e, t) {
1884
1787
  if (e == null) return {};
1885
1788
  var n = {};
1886
1789
  for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1889,7 +1792,7 @@ function jo(e, t) {
1889
1792
  }
1890
1793
  return n;
1891
1794
  }
1892
- function pn({
1795
+ function ln({
1893
1796
  key: e,
1894
1797
  onClick: t,
1895
1798
  active: n,
@@ -1897,49 +1800,49 @@ function pn({
1897
1800
  role: o,
1898
1801
  disabled: i
1899
1802
  }) {
1900
- const f = k(Te), s = k(ot), u = k(In);
1803
+ const f = k(Ne), s = k(nt), u = k(Tn);
1901
1804
  let c = n;
1902
1805
  const a = {
1903
1806
  role: o
1904
1807
  };
1905
1808
  if (s) {
1906
1809
  !o && s.role === "tablist" && (a.role = "tab");
1907
- const l = s.getControllerId(e ?? null), d = s.getControlledId(e ?? null);
1908
- a[Be("event-key")] = e, a.id = l || r, c = n == null && e != null ? s.activeKey === e : n, (c || !(u != null && u.unmountOnExit) && !(u != null && u.mountOnEnter)) && (a["aria-controls"] = d);
1810
+ const l = s.getControllerId(e ?? null), v = s.getControlledId(e ?? null);
1811
+ a[Be("event-key")] = e, a.id = l || r, c = n == null && e != null ? s.activeKey === e : n, (c || !(u != null && u.unmountOnExit) && !(u != null && u.mountOnEnter)) && (a["aria-controls"] = v);
1909
1812
  }
1910
- return a.role === "tab" && (a["aria-selected"] = c, c || (a.tabIndex = -1), i && (a.tabIndex = -1, a["aria-disabled"] = !0)), a.onClick = J((l) => {
1813
+ return a.role === "tab" && (a["aria-selected"] = c, c || (a.tabIndex = -1), i && (a.tabIndex = -1, a["aria-disabled"] = !0)), a.onClick = Y((l) => {
1911
1814
  i || (t == null || t(l), e != null && f && !l.isPropagationStopped() && f(e, l));
1912
1815
  }), [a, {
1913
1816
  isActive: c
1914
1817
  }];
1915
1818
  }
1916
- const Mo = /* @__PURE__ */ M.forwardRef((e, t) => {
1819
+ const Ao = /* @__PURE__ */ N.forwardRef((e, t) => {
1917
1820
  let {
1918
- as: n = Ye,
1821
+ as: n = kt,
1919
1822
  active: r,
1920
1823
  eventKey: o
1921
- } = e, i = jo(e, Ro);
1922
- const [f, s] = pn(Object.assign({
1923
- key: Ne(o, i.href),
1824
+ } = e, i = $o(e, Co);
1825
+ const [f, s] = ln(Object.assign({
1826
+ key: Te(o, i.href),
1924
1827
  active: r
1925
1828
  }, i));
1926
1829
  return f[Be("active")] = s.isActive, /* @__PURE__ */ j(n, Object.assign({}, i, f, {
1927
1830
  ref: t
1928
1831
  }));
1929
1832
  });
1930
- Mo.displayName = "NavItem";
1931
- const vn = /* @__PURE__ */ M.forwardRef(({
1833
+ Ao.displayName = "NavItem";
1834
+ const dn = /* @__PURE__ */ N.forwardRef(({
1932
1835
  bsPrefix: e,
1933
1836
  className: t,
1934
- as: n = Ge,
1837
+ as: n = Xe,
1935
1838
  active: r,
1936
1839
  eventKey: o,
1937
1840
  disabled: i = !1,
1938
1841
  ...f
1939
1842
  }, s) => {
1940
- e = Y(e, "nav-link");
1941
- const [u, c] = pn({
1942
- key: Ne(o, f.href),
1843
+ e = J(e, "nav-link");
1844
+ const [u, c] = ln({
1845
+ key: Te(o, f.href),
1943
1846
  active: r,
1944
1847
  disabled: i,
1945
1848
  ...f
@@ -1949,11 +1852,11 @@ const vn = /* @__PURE__ */ M.forwardRef(({
1949
1852
  ...u,
1950
1853
  ref: s,
1951
1854
  disabled: i,
1952
- className: G(t, e, i && "disabled", c.isActive && "active")
1855
+ className: Q(t, e, i && "disabled", c.isActive && "active")
1953
1856
  });
1954
1857
  });
1955
- vn.displayName = "NavLink";
1956
- const mn = /* @__PURE__ */ M.forwardRef(({
1858
+ dn.displayName = "NavLink";
1859
+ const pn = /* @__PURE__ */ N.forwardRef(({
1957
1860
  id: e,
1958
1861
  title: t,
1959
1862
  children: n,
@@ -1966,19 +1869,19 @@ const mn = /* @__PURE__ */ M.forwardRef(({
1966
1869
  renderMenuOnMount: c,
1967
1870
  menuVariant: a,
1968
1871
  ...l
1969
- }, d) => {
1970
- const p = Y(void 0, "nav-item");
1971
- return /* @__PURE__ */ On(oe, {
1972
- ref: d,
1872
+ }, v) => {
1873
+ const d = J(void 0, "nav-item");
1874
+ return /* @__PURE__ */ bn(oe, {
1875
+ ref: v,
1973
1876
  ...l,
1974
- className: G(o, p),
1877
+ className: Q(o, d),
1975
1878
  children: [/* @__PURE__ */ j(oe.Toggle, {
1976
1879
  id: e,
1977
1880
  eventKey: null,
1978
1881
  active: u,
1979
1882
  disabled: s,
1980
1883
  childBsPrefix: r,
1981
- as: vn,
1884
+ as: dn,
1982
1885
  children: t
1983
1886
  }), /* @__PURE__ */ j(oe.Menu, {
1984
1887
  role: f,
@@ -1989,22 +1892,22 @@ const mn = /* @__PURE__ */ M.forwardRef(({
1989
1892
  })]
1990
1893
  });
1991
1894
  });
1992
- mn.displayName = "NavDropdown";
1993
- const To = Object.assign(mn, {
1895
+ pn.displayName = "NavDropdown";
1896
+ const Ro = Object.assign(pn, {
1994
1897
  Item: oe.Item,
1995
1898
  ItemText: oe.ItemText,
1996
1899
  Divider: oe.Divider,
1997
1900
  Header: oe.Header
1998
1901
  });
1999
- function No(e) {
2000
- return Dn({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z" }, child: [] }] })(e);
1902
+ function jo(e) {
1903
+ return xn({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z" }, child: [] }] })(e);
2001
1904
  }
2002
- const Fo = () => /* @__PURE__ */ j("div", { className: "position-absolute top-0 end-0", style: {
1905
+ const Wo = () => /* @__PURE__ */ j("div", { className: "position-absolute top-0 end-0", style: {
2003
1906
  marginTop: "9px"
2004
1907
  }, children: /* @__PURE__ */ j(
2005
- To,
1908
+ Ro,
2006
1909
  {
2007
- title: /* @__PURE__ */ j(No, { className: "icono-notificaciones" }),
1910
+ title: /* @__PURE__ */ j(jo, { className: "icono-notificaciones" }),
2008
1911
  align: "end",
2009
1912
  children: /* @__PURE__ */ j("div", { style: {
2010
1913
  fontWeight: "400",
@@ -2013,14 +1916,14 @@ const Fo = () => /* @__PURE__ */ j("div", { className: "position-absolute top-0
2013
1916
  }
2014
1917
  ) });
2015
1918
  export {
2016
- Mo as N,
2017
- ot as a,
2018
- Ho as b,
2019
- vn as c,
1919
+ Ao as N,
1920
+ nt as a,
1921
+ Lo as b,
1922
+ dn as c,
2020
1923
  Be as d,
2021
1924
  Fn as e,
2022
- sn as f,
2023
- Fo as g,
2024
- yt as q,
2025
- tr as u
1925
+ on as f,
1926
+ Wo as g,
1927
+ ht as q,
1928
+ Qn as u
2026
1929
  };