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