react-ecosistema-unp 0.2.4 → 0.3.1

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