react-luminus-components 1.0.2 → 1.0.3
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/README.md +4 -1
- package/dist/.vite/manifest.json +10 -10
- package/dist/{SimpleTooltip-vqBAkdBP.mjs → SimpleTooltip-C8wTRZNZ.mjs} +214 -222
- package/dist/SimpleTooltip-HYwwaCn4.js +1 -0
- package/dist/layout/SideMenu/SideMenu.d.ts +3 -2
- package/dist/layout/TopBar/TopBar.d.ts +2 -1
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +126 -124
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/SimpleTooltip-CqpIzhpc.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as K from "react";
|
|
2
|
+
import Q, { useRef as V, useState as Be, useCallback as N, useMemo as De, useEffect as he, cloneElement as ur } from "react";
|
|
3
3
|
import { h as lr, j as T, e as ye } from "./HomeDashboard.module-CuVVnp4t.mjs";
|
|
4
|
-
import { _ as fr, g as Ct, j as dr, i as
|
|
4
|
+
import { _ as fr, g as Ct, j as dr, i as Fe, h as Ce, o as Tt, l as fe, k as pr, p as ut, q as Ke, f as lt, r as vr, n as ne, v as $t, m as ft, z as hr, F as dt, A as _e, P as mr } from "./hasClass-D3KZs5y_.mjs";
|
|
5
5
|
import gr from "react-dom";
|
|
6
6
|
var St = {
|
|
7
7
|
color: void 0,
|
|
@@ -9,7 +9,7 @@ var St = {
|
|
|
9
9
|
className: void 0,
|
|
10
10
|
style: void 0,
|
|
11
11
|
attr: void 0
|
|
12
|
-
}, pt =
|
|
12
|
+
}, pt = Q.createContext && /* @__PURE__ */ Q.createContext(St), yr = ["attr", "size", "title"];
|
|
13
13
|
function wr(e, t) {
|
|
14
14
|
if (e == null)
|
|
15
15
|
return {};
|
|
@@ -80,12 +80,12 @@ function Er(e, t) {
|
|
|
80
80
|
return (t === "string" ? String : Number)(e);
|
|
81
81
|
}
|
|
82
82
|
function Bt(e) {
|
|
83
|
-
return e && e.map((t, r) => /* @__PURE__ */
|
|
83
|
+
return e && e.map((t, r) => /* @__PURE__ */ Q.createElement(t.tag, $e({
|
|
84
84
|
key: r
|
|
85
85
|
}, t.attr), Bt(t.child)));
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return (t) => /* @__PURE__ */
|
|
87
|
+
function te(e) {
|
|
88
|
+
return (t) => /* @__PURE__ */ Q.createElement(jr, Te({
|
|
89
89
|
attr: $e({}, e.attr)
|
|
90
90
|
}, t), Bt(e.child));
|
|
91
91
|
}
|
|
@@ -96,7 +96,7 @@ function jr(e) {
|
|
|
96
96
|
size: i,
|
|
97
97
|
title: o
|
|
98
98
|
} = e, u = wr(e, yr), s = i || r.size || "1em", a;
|
|
99
|
-
return r.className && (a = r.className), e.className && (a = (a ? a + " " : "") + e.className), /* @__PURE__ */
|
|
99
|
+
return r.className && (a = r.className), e.className && (a = (a ? a + " " : "") + e.className), /* @__PURE__ */ Q.createElement("svg", Te({
|
|
100
100
|
stroke: "currentColor",
|
|
101
101
|
fill: "currentColor",
|
|
102
102
|
strokeWidth: "0"
|
|
@@ -108,55 +108,49 @@ function jr(e) {
|
|
|
108
108
|
height: s,
|
|
109
109
|
width: s,
|
|
110
110
|
xmlns: "http://www.w3.org/2000/svg"
|
|
111
|
-
}), o && /* @__PURE__ */
|
|
111
|
+
}), o && /* @__PURE__ */ Q.createElement("title", null, o), e.children);
|
|
112
112
|
};
|
|
113
|
-
return pt !== void 0 ? /* @__PURE__ */
|
|
113
|
+
return pt !== void 0 ? /* @__PURE__ */ Q.createElement(pt.Consumer, null, (r) => t(r)) : t(St);
|
|
114
114
|
}
|
|
115
115
|
function ui(e) {
|
|
116
|
-
return
|
|
116
|
+
return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
|
|
117
117
|
}
|
|
118
118
|
function li(e) {
|
|
119
|
-
return
|
|
119
|
+
return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
|
|
120
120
|
}
|
|
121
121
|
function fi(e) {
|
|
122
|
-
return
|
|
122
|
+
return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
|
|
123
123
|
}
|
|
124
124
|
function di(e) {
|
|
125
|
-
return
|
|
125
|
+
return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
|
|
126
126
|
}
|
|
127
127
|
function pi(e) {
|
|
128
|
-
return
|
|
128
|
+
return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" }, child: [] }] })(e);
|
|
129
129
|
}
|
|
130
130
|
function vi(e) {
|
|
131
|
-
return
|
|
131
|
+
return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
|
|
132
132
|
}
|
|
133
133
|
function hi(e) {
|
|
134
|
-
return
|
|
135
|
-
}
|
|
136
|
-
function mi(e) {
|
|
137
|
-
return U({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" }, child: [] }] })(e);
|
|
138
|
-
}
|
|
139
|
-
function gi(e) {
|
|
140
|
-
return U({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" }, child: [] }] })(e);
|
|
134
|
+
return te({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
|
|
141
135
|
}
|
|
142
|
-
function
|
|
143
|
-
return
|
|
136
|
+
function ke() {
|
|
137
|
+
return ke = Object.assign ? Object.assign.bind() : function(e) {
|
|
144
138
|
for (var t = 1; t < arguments.length; t++) {
|
|
145
139
|
var r = arguments[t];
|
|
146
140
|
for (var n in r)
|
|
147
141
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
148
142
|
}
|
|
149
143
|
return e;
|
|
150
|
-
},
|
|
144
|
+
}, ke.apply(this, arguments);
|
|
151
145
|
}
|
|
152
146
|
function ht(e) {
|
|
153
147
|
return "default" + e.charAt(0).toUpperCase() + e.substr(1);
|
|
154
148
|
}
|
|
155
149
|
function Pr(e) {
|
|
156
|
-
var t =
|
|
150
|
+
var t = Ar(e, "string");
|
|
157
151
|
return typeof t == "symbol" ? t : String(t);
|
|
158
152
|
}
|
|
159
|
-
function
|
|
153
|
+
function Ar(e, t) {
|
|
160
154
|
if (typeof e != "object" || e === null)
|
|
161
155
|
return e;
|
|
162
156
|
var r = e[Symbol.toPrimitive];
|
|
@@ -169,30 +163,30 @@ function Mr(e, t) {
|
|
|
169
163
|
return (t === "string" ? String : Number)(e);
|
|
170
164
|
}
|
|
171
165
|
function Lt(e, t, r) {
|
|
172
|
-
var n =
|
|
173
|
-
return n.current = s, !s && a && o !== t && u(t), [s ? e : o,
|
|
166
|
+
var n = V(e !== void 0), i = Be(t), o = i[0], u = i[1], s = e !== void 0, a = n.current;
|
|
167
|
+
return n.current = s, !s && a && o !== t && u(t), [s ? e : o, N(function(l) {
|
|
174
168
|
for (var c = arguments.length, p = new Array(c > 1 ? c - 1 : 0), h = 1; h < c; h++)
|
|
175
169
|
p[h - 1] = arguments[h];
|
|
176
170
|
r && r.apply(void 0, [l].concat(p)), u(l);
|
|
177
171
|
}, [r])];
|
|
178
172
|
}
|
|
179
|
-
function
|
|
173
|
+
function mi(e, t) {
|
|
180
174
|
return Object.keys(t).reduce(function(r, n) {
|
|
181
175
|
var i, o = r, u = o[ht(n)], s = o[n], a = fr(o, [ht(n), n].map(Pr)), l = t[n], c = Lt(s, u, e[l]), p = c[0], h = c[1];
|
|
182
|
-
return
|
|
176
|
+
return ke({}, a, (i = {}, i[n] = p, i[l] = h, i));
|
|
183
177
|
}, e);
|
|
184
178
|
}
|
|
185
|
-
const
|
|
179
|
+
const Ve = 2 ** 31 - 1;
|
|
186
180
|
function Ht(e, t, r) {
|
|
187
181
|
const n = r - Date.now();
|
|
188
|
-
e.current = n <=
|
|
182
|
+
e.current = n <= Ve ? setTimeout(t, n) : setTimeout(() => Ht(e, t, r), Ve);
|
|
189
183
|
}
|
|
190
|
-
function
|
|
191
|
-
const e = Ct(), t =
|
|
184
|
+
function Mr() {
|
|
185
|
+
const e = Ct(), t = V();
|
|
192
186
|
return dr(() => clearTimeout(t.current)), De(() => {
|
|
193
187
|
const r = () => clearTimeout(t.current);
|
|
194
188
|
function n(i, o = 0) {
|
|
195
|
-
e() && (r(), o <=
|
|
189
|
+
e() && (r(), o <= Ve ? t.current = setTimeout(i, o) : Ht(t, i, Date.now() + o));
|
|
196
190
|
}
|
|
197
191
|
return {
|
|
198
192
|
set: n,
|
|
@@ -264,17 +258,17 @@ function de(e, t) {
|
|
|
264
258
|
}
|
|
265
259
|
function Rr(e) {
|
|
266
260
|
const t = Ct();
|
|
267
|
-
return [e[0],
|
|
261
|
+
return [e[0], N((r) => {
|
|
268
262
|
if (t())
|
|
269
263
|
return e[1](r);
|
|
270
264
|
}, [t, e[1]])];
|
|
271
265
|
}
|
|
272
|
-
var $ = "top",
|
|
266
|
+
var $ = "top", W = "bottom", z = "right", S = "left", qe = "auto", we = [$, W, z, S], ie = "start", me = "end", Dr = "clippingParents", Nt = "viewport", le = "popper", Cr = "reference", yt = /* @__PURE__ */ we.reduce(function(e, t) {
|
|
273
267
|
return e.concat([t + "-" + ie, t + "-" + me]);
|
|
274
|
-
}, []),
|
|
268
|
+
}, []), Wt = /* @__PURE__ */ [].concat(we, [qe]).reduce(function(e, t) {
|
|
275
269
|
return e.concat([t, t + "-" + ie, t + "-" + me]);
|
|
276
|
-
}, []), Tr = "beforeRead", $r = "read", Sr = "afterRead", Br = "beforeMain", Lr = "main", Hr = "afterMain",
|
|
277
|
-
function
|
|
270
|
+
}, []), Tr = "beforeRead", $r = "read", Sr = "afterRead", Br = "beforeMain", Lr = "main", Hr = "afterMain", Nr = "beforeWrite", Wr = "write", zr = "afterWrite", Fr = [Tr, $r, Sr, Br, Lr, Hr, Nr, Wr, zr];
|
|
271
|
+
function _(e) {
|
|
278
272
|
return e.split("-")[0];
|
|
279
273
|
}
|
|
280
274
|
function H(e) {
|
|
@@ -286,11 +280,11 @@ function H(e) {
|
|
|
286
280
|
}
|
|
287
281
|
return e;
|
|
288
282
|
}
|
|
289
|
-
function
|
|
283
|
+
function ee(e) {
|
|
290
284
|
var t = H(e).Element;
|
|
291
285
|
return e instanceof t || e instanceof Element;
|
|
292
286
|
}
|
|
293
|
-
function
|
|
287
|
+
function k(e) {
|
|
294
288
|
var t = H(e).HTMLElement;
|
|
295
289
|
return e instanceof t || e instanceof HTMLElement;
|
|
296
290
|
}
|
|
@@ -300,21 +294,21 @@ function Xe(e) {
|
|
|
300
294
|
var t = H(e).ShadowRoot;
|
|
301
295
|
return e instanceof t || e instanceof ShadowRoot;
|
|
302
296
|
}
|
|
303
|
-
var
|
|
297
|
+
var Z = Math.max, Se = Math.min, oe = Math.round;
|
|
304
298
|
function Ie() {
|
|
305
299
|
var e = navigator.userAgentData;
|
|
306
300
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
307
301
|
return t.brand + "/" + t.version;
|
|
308
302
|
}).join(" ") : navigator.userAgent;
|
|
309
303
|
}
|
|
310
|
-
function
|
|
304
|
+
function zt() {
|
|
311
305
|
return !/^((?!chrome|android).)*safari/i.test(Ie());
|
|
312
306
|
}
|
|
313
307
|
function ae(e, t, r) {
|
|
314
308
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
315
309
|
var n = e.getBoundingClientRect(), i = 1, o = 1;
|
|
316
|
-
t &&
|
|
317
|
-
var u =
|
|
310
|
+
t && k(e) && (i = e.offsetWidth > 0 && oe(n.width) / e.offsetWidth || 1, o = e.offsetHeight > 0 && oe(n.height) / e.offsetHeight || 1);
|
|
311
|
+
var u = ee(e) ? H(e) : window, s = u.visualViewport, a = !zt() && r, l = (n.left + (a && s ? s.offsetLeft : 0)) / i, c = (n.top + (a && s ? s.offsetTop : 0)) / o, p = n.width / i, h = n.height / o;
|
|
318
312
|
return {
|
|
319
313
|
width: p,
|
|
320
314
|
height: h,
|
|
@@ -335,7 +329,7 @@ function Ye(e) {
|
|
|
335
329
|
height: n
|
|
336
330
|
};
|
|
337
331
|
}
|
|
338
|
-
function
|
|
332
|
+
function Ft(e, t) {
|
|
339
333
|
var r = t.getRootNode && t.getRootNode();
|
|
340
334
|
if (e.contains(t))
|
|
341
335
|
return !0;
|
|
@@ -349,23 +343,23 @@ function Vt(e, t) {
|
|
|
349
343
|
}
|
|
350
344
|
return !1;
|
|
351
345
|
}
|
|
352
|
-
function
|
|
346
|
+
function q(e) {
|
|
353
347
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
354
348
|
}
|
|
355
349
|
function I(e) {
|
|
356
350
|
return H(e).getComputedStyle(e);
|
|
357
351
|
}
|
|
358
|
-
function
|
|
359
|
-
return ["table", "td", "th"].indexOf(
|
|
352
|
+
function _r(e) {
|
|
353
|
+
return ["table", "td", "th"].indexOf(q(e)) >= 0;
|
|
360
354
|
}
|
|
361
|
-
function
|
|
362
|
-
return ((
|
|
355
|
+
function X(e) {
|
|
356
|
+
return ((ee(e) ? e.ownerDocument : (
|
|
363
357
|
// $FlowFixMe[prop-missing]
|
|
364
358
|
e.document
|
|
365
359
|
)) || window.document).documentElement;
|
|
366
360
|
}
|
|
367
361
|
function Le(e) {
|
|
368
|
-
return
|
|
362
|
+
return q(e) === "html" ? e : (
|
|
369
363
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
370
364
|
// $FlowFixMe[incompatible-return]
|
|
371
365
|
// $FlowFixMe[prop-missing]
|
|
@@ -373,22 +367,22 @@ function Le(e) {
|
|
|
373
367
|
e.parentNode || // DOM Element detected
|
|
374
368
|
(Xe(e) ? e.host : null) || // ShadowRoot detected
|
|
375
369
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
376
|
-
|
|
370
|
+
X(e)
|
|
377
371
|
);
|
|
378
372
|
}
|
|
379
373
|
function wt(e) {
|
|
380
|
-
return !
|
|
374
|
+
return !k(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
381
375
|
I(e).position === "fixed" ? null : e.offsetParent;
|
|
382
376
|
}
|
|
383
|
-
function
|
|
377
|
+
function kr(e) {
|
|
384
378
|
var t = /firefox/i.test(Ie()), r = /Trident/i.test(Ie());
|
|
385
|
-
if (r &&
|
|
379
|
+
if (r && k(e)) {
|
|
386
380
|
var n = I(e);
|
|
387
381
|
if (n.position === "fixed")
|
|
388
382
|
return null;
|
|
389
383
|
}
|
|
390
384
|
var i = Le(e);
|
|
391
|
-
for (Xe(i) && (i = i.host);
|
|
385
|
+
for (Xe(i) && (i = i.host); k(i) && ["html", "body"].indexOf(q(i)) < 0; ) {
|
|
392
386
|
var o = I(i);
|
|
393
387
|
if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || t && o.willChange === "filter" || t && o.filter && o.filter !== "none")
|
|
394
388
|
return i;
|
|
@@ -397,21 +391,21 @@ function _r(e) {
|
|
|
397
391
|
return null;
|
|
398
392
|
}
|
|
399
393
|
function be(e) {
|
|
400
|
-
for (var t = H(e), r = wt(e); r &&
|
|
394
|
+
for (var t = H(e), r = wt(e); r && _r(r) && I(r).position === "static"; )
|
|
401
395
|
r = wt(r);
|
|
402
|
-
return r && (
|
|
396
|
+
return r && (q(r) === "html" || q(r) === "body" && I(r).position === "static") ? t : r || kr(e) || t;
|
|
403
397
|
}
|
|
404
398
|
function Ge(e) {
|
|
405
399
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
406
400
|
}
|
|
407
401
|
function pe(e, t, r) {
|
|
408
|
-
return
|
|
402
|
+
return Z(e, Se(t, r));
|
|
409
403
|
}
|
|
410
|
-
function
|
|
404
|
+
function Vr(e, t, r) {
|
|
411
405
|
var n = pe(e, t, r);
|
|
412
406
|
return n > r ? r : n;
|
|
413
407
|
}
|
|
414
|
-
function
|
|
408
|
+
function _t() {
|
|
415
409
|
return {
|
|
416
410
|
top: 0,
|
|
417
411
|
right: 0,
|
|
@@ -419,10 +413,10 @@ function Ft() {
|
|
|
419
413
|
left: 0
|
|
420
414
|
};
|
|
421
415
|
}
|
|
422
|
-
function
|
|
423
|
-
return Object.assign({},
|
|
416
|
+
function kt(e) {
|
|
417
|
+
return Object.assign({}, _t(), e);
|
|
424
418
|
}
|
|
425
|
-
function
|
|
419
|
+
function Vt(e, t) {
|
|
426
420
|
return t.reduce(function(r, n) {
|
|
427
421
|
return r[n] = e, r;
|
|
428
422
|
}, {});
|
|
@@ -430,18 +424,18 @@ function kt(e, t) {
|
|
|
430
424
|
var Ir = function(t, r) {
|
|
431
425
|
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
432
426
|
placement: r.placement
|
|
433
|
-
})) : t,
|
|
427
|
+
})) : t, kt(typeof t != "number" ? t : Vt(t, we));
|
|
434
428
|
};
|
|
435
429
|
function Ur(e) {
|
|
436
|
-
var t, r = e.state, n = e.name, i = e.options, o = r.elements.arrow, u = r.modifiersData.popperOffsets, s =
|
|
430
|
+
var t, r = e.state, n = e.name, i = e.options, o = r.elements.arrow, u = r.modifiersData.popperOffsets, s = _(r.placement), a = Ge(s), l = [S, z].indexOf(s) >= 0, c = l ? "height" : "width";
|
|
437
431
|
if (!(!o || !u)) {
|
|
438
|
-
var p = Ir(i.padding, r), h = Ye(o), d = a === "y" ? $ : S, v = a === "y" ?
|
|
432
|
+
var p = Ir(i.padding, r), h = Ye(o), d = a === "y" ? $ : S, v = a === "y" ? W : z, g = r.rects.reference[c] + r.rects.reference[a] - u[a] - r.rects.popper[c], f = u[a] - r.rects.reference[a], y = be(o), m = y ? a === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, O = g / 2 - f / 2, w = p[d], x = m - h[c] - p[v], b = m / 2 - h[c] / 2 + O, E = pe(w, b, x), P = a;
|
|
439
433
|
r.modifiersData[n] = (t = {}, t[P] = E, t.centerOffset = E - b, t);
|
|
440
434
|
}
|
|
441
435
|
}
|
|
442
436
|
function Kr(e) {
|
|
443
437
|
var t = e.state, r = e.options, n = r.element, i = n === void 0 ? "[data-popper-arrow]" : n;
|
|
444
|
-
i != null && (typeof i == "string" && (i = t.elements.popper.querySelector(i), !i) ||
|
|
438
|
+
i != null && (typeof i == "string" && (i = t.elements.popper.querySelector(i), !i) || Ft(t.elements.popper, i) && (t.elements.arrow = i));
|
|
445
439
|
}
|
|
446
440
|
const qr = {
|
|
447
441
|
name: "arrow",
|
|
@@ -480,16 +474,16 @@ function bt(e) {
|
|
|
480
474
|
var y = u.hasOwnProperty("x"), m = u.hasOwnProperty("y"), O = S, w = $, x = window;
|
|
481
475
|
if (l) {
|
|
482
476
|
var b = be(r), E = "clientHeight", P = "clientWidth";
|
|
483
|
-
if (b === H(r) && (b =
|
|
484
|
-
w =
|
|
485
|
-
var
|
|
477
|
+
if (b === H(r) && (b = X(r), I(b).position !== "static" && s === "absolute" && (E = "scrollHeight", P = "scrollWidth")), b = b, i === $ || (i === S || i === z) && o === me) {
|
|
478
|
+
w = W;
|
|
479
|
+
var A = p && b === x && x.visualViewport ? x.visualViewport.height : (
|
|
486
480
|
// $FlowFixMe[prop-missing]
|
|
487
481
|
b[E]
|
|
488
482
|
);
|
|
489
|
-
g -=
|
|
483
|
+
g -= A - n.height, g *= a ? 1 : -1;
|
|
490
484
|
}
|
|
491
|
-
if (i === S || (i === $ || i ===
|
|
492
|
-
O =
|
|
485
|
+
if (i === S || (i === $ || i === W) && o === me) {
|
|
486
|
+
O = z;
|
|
493
487
|
var j = p && b === x && x.visualViewport ? x.visualViewport.width : (
|
|
494
488
|
// $FlowFixMe[prop-missing]
|
|
495
489
|
b[P]
|
|
@@ -497,7 +491,7 @@ function bt(e) {
|
|
|
497
491
|
d -= j - n.width, d *= a ? 1 : -1;
|
|
498
492
|
}
|
|
499
493
|
}
|
|
500
|
-
var
|
|
494
|
+
var M = Object.assign({
|
|
501
495
|
position: s
|
|
502
496
|
}, l && Xr), B = c === !0 ? Yr({
|
|
503
497
|
x: d,
|
|
@@ -508,13 +502,13 @@ function bt(e) {
|
|
|
508
502
|
};
|
|
509
503
|
if (d = B.x, g = B.y, a) {
|
|
510
504
|
var R;
|
|
511
|
-
return Object.assign({},
|
|
505
|
+
return Object.assign({}, M, (R = {}, R[w] = m ? "0" : "", R[O] = y ? "0" : "", R.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", R));
|
|
512
506
|
}
|
|
513
|
-
return Object.assign({},
|
|
507
|
+
return Object.assign({}, M, (t = {}, t[w] = m ? g + "px" : "", t[O] = y ? d + "px" : "", t.transform = "", t));
|
|
514
508
|
}
|
|
515
509
|
function Gr(e) {
|
|
516
510
|
var t = e.state, r = e.options, n = r.gpuAcceleration, i = n === void 0 ? !0 : n, o = r.adaptive, u = o === void 0 ? !0 : o, s = r.roundOffsets, a = s === void 0 ? !0 : s, l = {
|
|
517
|
-
placement:
|
|
511
|
+
placement: _(t.placement),
|
|
518
512
|
variation: se(t.placement),
|
|
519
513
|
popper: t.elements.popper,
|
|
520
514
|
popperRect: t.rects.popper,
|
|
@@ -542,17 +536,17 @@ const Jr = {
|
|
|
542
536
|
fn: Gr,
|
|
543
537
|
data: {}
|
|
544
538
|
};
|
|
545
|
-
var
|
|
539
|
+
var Ae = {
|
|
546
540
|
passive: !0
|
|
547
541
|
};
|
|
548
542
|
function Qr(e) {
|
|
549
543
|
var t = e.state, r = e.instance, n = e.options, i = n.scroll, o = i === void 0 ? !0 : i, u = n.resize, s = u === void 0 ? !0 : u, a = H(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
550
544
|
return o && l.forEach(function(c) {
|
|
551
|
-
c.addEventListener("scroll", r.update,
|
|
552
|
-
}), s && a.addEventListener("resize", r.update,
|
|
545
|
+
c.addEventListener("scroll", r.update, Ae);
|
|
546
|
+
}), s && a.addEventListener("resize", r.update, Ae), function() {
|
|
553
547
|
o && l.forEach(function(c) {
|
|
554
|
-
c.removeEventListener("scroll", r.update,
|
|
555
|
-
}), s && a.removeEventListener("resize", r.update,
|
|
548
|
+
c.removeEventListener("scroll", r.update, Ae);
|
|
549
|
+
}), s && a.removeEventListener("resize", r.update, Ae);
|
|
556
550
|
};
|
|
557
551
|
}
|
|
558
552
|
const Zr = {
|
|
@@ -570,7 +564,7 @@ var en = {
|
|
|
570
564
|
bottom: "top",
|
|
571
565
|
top: "bottom"
|
|
572
566
|
};
|
|
573
|
-
function
|
|
567
|
+
function Me(e) {
|
|
574
568
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
575
569
|
return en[t];
|
|
576
570
|
});
|
|
@@ -592,13 +586,13 @@ function Je(e) {
|
|
|
592
586
|
};
|
|
593
587
|
}
|
|
594
588
|
function Qe(e) {
|
|
595
|
-
return ae(
|
|
589
|
+
return ae(X(e)).left + Je(e).scrollLeft;
|
|
596
590
|
}
|
|
597
591
|
function rn(e, t) {
|
|
598
|
-
var r = H(e), n =
|
|
592
|
+
var r = H(e), n = X(e), i = r.visualViewport, o = n.clientWidth, u = n.clientHeight, s = 0, a = 0;
|
|
599
593
|
if (i) {
|
|
600
594
|
o = i.width, u = i.height;
|
|
601
|
-
var l =
|
|
595
|
+
var l = zt();
|
|
602
596
|
(l || !l && t === "fixed") && (s = i.offsetLeft, a = i.offsetTop);
|
|
603
597
|
}
|
|
604
598
|
return {
|
|
@@ -609,8 +603,8 @@ function rn(e, t) {
|
|
|
609
603
|
};
|
|
610
604
|
}
|
|
611
605
|
function nn(e) {
|
|
612
|
-
var t, r =
|
|
613
|
-
return I(i || r).direction === "rtl" && (s +=
|
|
606
|
+
var t, r = X(e), n = Je(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, o = Z(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), u = Z(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -n.scrollLeft + Qe(e), a = -n.scrollTop;
|
|
607
|
+
return I(i || r).direction === "rtl" && (s += Z(r.clientWidth, i ? i.clientWidth : 0) - o), {
|
|
614
608
|
width: o,
|
|
615
609
|
height: u,
|
|
616
610
|
x: s,
|
|
@@ -622,7 +616,7 @@ function Ze(e) {
|
|
|
622
616
|
return /auto|scroll|overlay|hidden/.test(r + i + n);
|
|
623
617
|
}
|
|
624
618
|
function It(e) {
|
|
625
|
-
return ["html", "body", "#document"].indexOf(
|
|
619
|
+
return ["html", "body", "#document"].indexOf(q(e)) >= 0 ? e.ownerDocument.body : k(e) && Ze(e) ? e : It(Le(e));
|
|
626
620
|
}
|
|
627
621
|
function ve(e, t) {
|
|
628
622
|
var r;
|
|
@@ -646,23 +640,23 @@ function on(e, t) {
|
|
|
646
640
|
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
647
641
|
}
|
|
648
642
|
function xt(e, t, r) {
|
|
649
|
-
return t ===
|
|
643
|
+
return t === Nt ? Ue(rn(e, r)) : ee(t) ? on(t, r) : Ue(nn(X(e)));
|
|
650
644
|
}
|
|
651
645
|
function an(e) {
|
|
652
|
-
var t = ve(Le(e)), r = ["absolute", "fixed"].indexOf(I(e).position) >= 0, n = r &&
|
|
653
|
-
return
|
|
654
|
-
return
|
|
646
|
+
var t = ve(Le(e)), r = ["absolute", "fixed"].indexOf(I(e).position) >= 0, n = r && k(e) ? be(e) : e;
|
|
647
|
+
return ee(n) ? t.filter(function(i) {
|
|
648
|
+
return ee(i) && Ft(i, n) && q(i) !== "body";
|
|
655
649
|
}) : [];
|
|
656
650
|
}
|
|
657
651
|
function sn(e, t, r, n) {
|
|
658
652
|
var i = t === "clippingParents" ? an(e) : [].concat(t), o = [].concat(i, [r]), u = o[0], s = o.reduce(function(a, l) {
|
|
659
653
|
var c = xt(e, l, n);
|
|
660
|
-
return a.top =
|
|
654
|
+
return a.top = Z(c.top, a.top), a.right = Se(c.right, a.right), a.bottom = Se(c.bottom, a.bottom), a.left = Z(c.left, a.left), a;
|
|
661
655
|
}, xt(e, u, n));
|
|
662
656
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
663
657
|
}
|
|
664
658
|
function Ut(e) {
|
|
665
|
-
var t = e.reference, r = e.element, n = e.placement, i = n ?
|
|
659
|
+
var t = e.reference, r = e.element, n = e.placement, i = n ? _(n) : null, o = n ? se(n) : null, u = t.x + t.width / 2 - r.width / 2, s = t.y + t.height / 2 - r.height / 2, a;
|
|
666
660
|
switch (i) {
|
|
667
661
|
case $:
|
|
668
662
|
a = {
|
|
@@ -670,13 +664,13 @@ function Ut(e) {
|
|
|
670
664
|
y: t.y - r.height
|
|
671
665
|
};
|
|
672
666
|
break;
|
|
673
|
-
case
|
|
667
|
+
case W:
|
|
674
668
|
a = {
|
|
675
669
|
x: u,
|
|
676
670
|
y: t.y + t.height
|
|
677
671
|
};
|
|
678
672
|
break;
|
|
679
|
-
case
|
|
673
|
+
case z:
|
|
680
674
|
a = {
|
|
681
675
|
x: t.x + t.width,
|
|
682
676
|
y: s
|
|
@@ -710,21 +704,21 @@ function Ut(e) {
|
|
|
710
704
|
}
|
|
711
705
|
function ge(e, t) {
|
|
712
706
|
t === void 0 && (t = {});
|
|
713
|
-
var r = t, n = r.placement, i = n === void 0 ? e.placement : n, o = r.strategy, u = o === void 0 ? e.strategy : o, s = r.boundary, a = s === void 0 ? Dr : s, l = r.rootBoundary, c = l === void 0 ?
|
|
707
|
+
var r = t, n = r.placement, i = n === void 0 ? e.placement : n, o = r.strategy, u = o === void 0 ? e.strategy : o, s = r.boundary, a = s === void 0 ? Dr : s, l = r.rootBoundary, c = l === void 0 ? Nt : l, p = r.elementContext, h = p === void 0 ? le : p, d = r.altBoundary, v = d === void 0 ? !1 : d, g = r.padding, f = g === void 0 ? 0 : g, y = kt(typeof f != "number" ? f : Vt(f, we)), m = h === le ? Cr : le, O = e.rects.popper, w = e.elements[v ? m : h], x = sn(ee(w) ? w : w.contextElement || X(e.elements.popper), a, c, u), b = ae(e.elements.reference), E = Ut({
|
|
714
708
|
reference: b,
|
|
715
709
|
element: O,
|
|
716
710
|
strategy: "absolute",
|
|
717
711
|
placement: i
|
|
718
|
-
}), P = Ue(Object.assign({}, O, E)),
|
|
719
|
-
top: x.top -
|
|
720
|
-
bottom:
|
|
721
|
-
left: x.left -
|
|
722
|
-
right:
|
|
723
|
-
},
|
|
724
|
-
if (h === le &&
|
|
725
|
-
var B =
|
|
712
|
+
}), P = Ue(Object.assign({}, O, E)), A = h === le ? P : b, j = {
|
|
713
|
+
top: x.top - A.top + y.top,
|
|
714
|
+
bottom: A.bottom - x.bottom + y.bottom,
|
|
715
|
+
left: x.left - A.left + y.left,
|
|
716
|
+
right: A.right - x.right + y.right
|
|
717
|
+
}, M = e.modifiersData.offset;
|
|
718
|
+
if (h === le && M) {
|
|
719
|
+
var B = M[i];
|
|
726
720
|
Object.keys(j).forEach(function(R) {
|
|
727
|
-
var C = [
|
|
721
|
+
var C = [z, W].indexOf(R) >= 0 ? 1 : -1, D = [$, W].indexOf(R) >= 0 ? "y" : "x";
|
|
728
722
|
j[R] += B[D] * C;
|
|
729
723
|
});
|
|
730
724
|
}
|
|
@@ -732,7 +726,7 @@ function ge(e, t) {
|
|
|
732
726
|
}
|
|
733
727
|
function cn(e, t) {
|
|
734
728
|
t === void 0 && (t = {});
|
|
735
|
-
var r = t, n = r.placement, i = r.boundary, o = r.rootBoundary, u = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, l = a === void 0 ?
|
|
729
|
+
var r = t, n = r.placement, i = r.boundary, o = r.rootBoundary, u = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, l = a === void 0 ? Wt : a, c = se(n), p = c ? s ? yt : yt.filter(function(v) {
|
|
736
730
|
return se(v) === c;
|
|
737
731
|
}) : we, h = p.filter(function(v) {
|
|
738
732
|
return l.indexOf(v) >= 0;
|
|
@@ -744,65 +738,65 @@ function cn(e, t) {
|
|
|
744
738
|
boundary: i,
|
|
745
739
|
rootBoundary: o,
|
|
746
740
|
padding: u
|
|
747
|
-
})[
|
|
741
|
+
})[_(g)], v;
|
|
748
742
|
}, {});
|
|
749
743
|
return Object.keys(d).sort(function(v, g) {
|
|
750
744
|
return d[v] - d[g];
|
|
751
745
|
});
|
|
752
746
|
}
|
|
753
747
|
function un(e) {
|
|
754
|
-
if (
|
|
748
|
+
if (_(e) === qe)
|
|
755
749
|
return [];
|
|
756
|
-
var t =
|
|
750
|
+
var t = Me(e);
|
|
757
751
|
return [Ot(e), t, Ot(t)];
|
|
758
752
|
}
|
|
759
753
|
function ln(e) {
|
|
760
754
|
var t = e.state, r = e.options, n = e.name;
|
|
761
755
|
if (!t.modifiersData[n]._skip) {
|
|
762
|
-
for (var i = r.mainAxis, o = i === void 0 ? !0 : i, u = r.altAxis, s = u === void 0 ? !0 : u, a = r.fallbackPlacements, l = r.padding, c = r.boundary, p = r.rootBoundary, h = r.altBoundary, d = r.flipVariations, v = d === void 0 ? !0 : d, g = r.allowedAutoPlacements, f = t.options.placement, y =
|
|
763
|
-
return re.concat(
|
|
764
|
-
placement:
|
|
756
|
+
for (var i = r.mainAxis, o = i === void 0 ? !0 : i, u = r.altAxis, s = u === void 0 ? !0 : u, a = r.fallbackPlacements, l = r.padding, c = r.boundary, p = r.rootBoundary, h = r.altBoundary, d = r.flipVariations, v = d === void 0 ? !0 : d, g = r.allowedAutoPlacements, f = t.options.placement, y = _(f), m = y === f, O = a || (m || !v ? [Me(f)] : un(f)), w = [f].concat(O).reduce(function(re, U) {
|
|
757
|
+
return re.concat(_(U) === qe ? cn(t, {
|
|
758
|
+
placement: U,
|
|
765
759
|
boundary: c,
|
|
766
760
|
rootBoundary: p,
|
|
767
761
|
padding: l,
|
|
768
762
|
flipVariations: v,
|
|
769
763
|
allowedAutoPlacements: g
|
|
770
|
-
}) :
|
|
771
|
-
}, []), x = t.rects.reference, b = t.rects.popper, E = /* @__PURE__ */ new Map(), P = !0,
|
|
772
|
-
var
|
|
773
|
-
placement:
|
|
764
|
+
}) : U);
|
|
765
|
+
}, []), x = t.rects.reference, b = t.rects.popper, E = /* @__PURE__ */ new Map(), P = !0, A = w[0], j = 0; j < w.length; j++) {
|
|
766
|
+
var M = w[j], B = _(M), R = se(M) === ie, C = [$, W].indexOf(B) >= 0, D = C ? "width" : "height", L = ge(t, {
|
|
767
|
+
placement: M,
|
|
774
768
|
boundary: c,
|
|
775
769
|
rootBoundary: p,
|
|
776
770
|
altBoundary: h,
|
|
777
771
|
padding: l
|
|
778
|
-
}),
|
|
779
|
-
x[D] > b[D] && (
|
|
780
|
-
var Oe =
|
|
781
|
-
if (o &&
|
|
772
|
+
}), F = C ? R ? z : S : R ? W : $;
|
|
773
|
+
x[D] > b[D] && (F = Me(F));
|
|
774
|
+
var Oe = Me(F), Y = [];
|
|
775
|
+
if (o && Y.push(L[B] <= 0), s && Y.push(L[F] <= 0, L[Oe] <= 0), Y.every(function(re) {
|
|
782
776
|
return re;
|
|
783
777
|
})) {
|
|
784
|
-
|
|
778
|
+
A = M, P = !1;
|
|
785
779
|
break;
|
|
786
780
|
}
|
|
787
|
-
E.set(
|
|
781
|
+
E.set(M, Y);
|
|
788
782
|
}
|
|
789
783
|
if (P)
|
|
790
|
-
for (var xe = v ? 3 : 1, He = function(
|
|
784
|
+
for (var xe = v ? 3 : 1, He = function(U) {
|
|
791
785
|
var ue = w.find(function(je) {
|
|
792
|
-
var
|
|
793
|
-
if (
|
|
794
|
-
return
|
|
795
|
-
return
|
|
786
|
+
var G = E.get(je);
|
|
787
|
+
if (G)
|
|
788
|
+
return G.slice(0, U).every(function(Ne) {
|
|
789
|
+
return Ne;
|
|
796
790
|
});
|
|
797
791
|
});
|
|
798
792
|
if (ue)
|
|
799
|
-
return
|
|
793
|
+
return A = ue, "break";
|
|
800
794
|
}, ce = xe; ce > 0; ce--) {
|
|
801
795
|
var Ee = He(ce);
|
|
802
796
|
if (Ee === "break")
|
|
803
797
|
break;
|
|
804
798
|
}
|
|
805
|
-
t.placement !==
|
|
799
|
+
t.placement !== A && (t.modifiersData[n]._skip = !0, t.placement = A, t.reset = !0);
|
|
806
800
|
}
|
|
807
801
|
}
|
|
808
802
|
const fn = {
|
|
@@ -827,7 +821,7 @@ function Et(e, t, r) {
|
|
|
827
821
|
};
|
|
828
822
|
}
|
|
829
823
|
function jt(e) {
|
|
830
|
-
return [$,
|
|
824
|
+
return [$, z, W, S].some(function(t) {
|
|
831
825
|
return e[t] >= 0;
|
|
832
826
|
});
|
|
833
827
|
}
|
|
@@ -855,10 +849,10 @@ const pn = {
|
|
|
855
849
|
fn: dn
|
|
856
850
|
};
|
|
857
851
|
function vn(e, t, r) {
|
|
858
|
-
var n =
|
|
852
|
+
var n = _(e), i = [S, $].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, t, {
|
|
859
853
|
placement: e
|
|
860
854
|
})) : r, u = o[0], s = o[1];
|
|
861
|
-
return u = u || 0, s = (s || 0) * i, [S,
|
|
855
|
+
return u = u || 0, s = (s || 0) * i, [S, z].indexOf(n) >= 0 ? {
|
|
862
856
|
x: s,
|
|
863
857
|
y: u
|
|
864
858
|
} : {
|
|
@@ -867,7 +861,7 @@ function vn(e, t, r) {
|
|
|
867
861
|
};
|
|
868
862
|
}
|
|
869
863
|
function hn(e) {
|
|
870
|
-
var t = e.state, r = e.options, n = e.name, i = r.offset, o = i === void 0 ? [0, 0] : i, u =
|
|
864
|
+
var t = e.state, r = e.options, n = e.name, i = r.offset, o = i === void 0 ? [0, 0] : i, u = Wt.reduce(function(c, p) {
|
|
871
865
|
return c[p] = vn(p, t.rects, o), c;
|
|
872
866
|
}, {}), s = u[t.placement], a = s.x, l = s.y;
|
|
873
867
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = u;
|
|
@@ -904,29 +898,29 @@ function bn(e) {
|
|
|
904
898
|
rootBoundary: l,
|
|
905
899
|
padding: p,
|
|
906
900
|
altBoundary: c
|
|
907
|
-
}), y =
|
|
901
|
+
}), y = _(t.placement), m = se(t.placement), O = !m, w = Ge(y), x = wn(w), b = t.modifiersData.popperOffsets, E = t.rects.reference, P = t.rects.popper, A = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
908
902
|
placement: t.placement
|
|
909
|
-
})) : g, j = typeof
|
|
910
|
-
mainAxis:
|
|
911
|
-
altAxis:
|
|
903
|
+
})) : g, j = typeof A == "number" ? {
|
|
904
|
+
mainAxis: A,
|
|
905
|
+
altAxis: A
|
|
912
906
|
} : Object.assign({
|
|
913
907
|
mainAxis: 0,
|
|
914
908
|
altAxis: 0
|
|
915
|
-
},
|
|
909
|
+
}, A), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, B = {
|
|
916
910
|
x: 0,
|
|
917
911
|
y: 0
|
|
918
912
|
};
|
|
919
913
|
if (b) {
|
|
920
914
|
if (o) {
|
|
921
|
-
var R, C = w === "y" ? $ : S, D = w === "y" ?
|
|
915
|
+
var R, C = w === "y" ? $ : S, D = w === "y" ? W : z, L = w === "y" ? "height" : "width", F = b[w], Oe = F + f[C], Y = F - f[D], xe = d ? -P[L] / 2 : 0, He = m === ie ? E[L] : P[L], ce = m === ie ? -P[L] : -E[L], Ee = t.elements.arrow, re = d && Ee ? Ye(Ee) : {
|
|
922
916
|
width: 0,
|
|
923
917
|
height: 0
|
|
924
|
-
},
|
|
925
|
-
b[w] = tt, B[w] = tt -
|
|
918
|
+
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : _t(), ue = U[C], je = U[D], G = pe(0, E[L], re[L]), Ne = O ? E[L] / 2 - xe - G - ue - j.mainAxis : He - G - ue - j.mainAxis, nr = O ? -E[L] / 2 + xe + G + je + j.mainAxis : ce + G + je + j.mainAxis, We = t.elements.arrow && be(t.elements.arrow), ir = We ? w === "y" ? We.clientTop || 0 : We.clientLeft || 0 : 0, et = (R = M == null ? void 0 : M[w]) != null ? R : 0, or = F + Ne - et - ir, ar = F + nr - et, tt = pe(d ? Se(Oe, or) : Oe, F, d ? Z(Y, ar) : Y);
|
|
919
|
+
b[w] = tt, B[w] = tt - F;
|
|
926
920
|
}
|
|
927
921
|
if (s) {
|
|
928
|
-
var rt, sr = w === "x" ? $ : S, cr = w === "x" ?
|
|
929
|
-
b[x] = ct, B[x] = ct -
|
|
922
|
+
var rt, sr = w === "x" ? $ : S, cr = w === "x" ? W : z, J = b[x], Pe = x === "y" ? "height" : "width", nt = J + f[sr], it = J - f[cr], ze = [$, S].indexOf(y) !== -1, ot = (rt = M == null ? void 0 : M[x]) != null ? rt : 0, at = ze ? nt : J - E[Pe] - P[Pe] - ot + j.altAxis, st = ze ? J + E[Pe] + P[Pe] - ot - j.altAxis : it, ct = d && ze ? Vr(at, J, st) : pe(d ? at : nt, J, d ? st : it);
|
|
923
|
+
b[x] = ct, B[x] = ct - J;
|
|
930
924
|
}
|
|
931
925
|
t.modifiersData[n] = B;
|
|
932
926
|
}
|
|
@@ -945,7 +939,7 @@ function xn(e) {
|
|
|
945
939
|
};
|
|
946
940
|
}
|
|
947
941
|
function En(e) {
|
|
948
|
-
return e === H(e) || !
|
|
942
|
+
return e === H(e) || !k(e) ? Je(e) : xn(e);
|
|
949
943
|
}
|
|
950
944
|
function jn(e) {
|
|
951
945
|
var t = e.getBoundingClientRect(), r = oe(t.width) / e.offsetWidth || 1, n = oe(t.height) / e.offsetHeight || 1;
|
|
@@ -953,22 +947,22 @@ function jn(e) {
|
|
|
953
947
|
}
|
|
954
948
|
function Pn(e, t, r) {
|
|
955
949
|
r === void 0 && (r = !1);
|
|
956
|
-
var n =
|
|
950
|
+
var n = k(t), i = k(t) && jn(t), o = X(t), u = ae(e, i, r), s = {
|
|
957
951
|
scrollLeft: 0,
|
|
958
952
|
scrollTop: 0
|
|
959
953
|
}, a = {
|
|
960
954
|
x: 0,
|
|
961
955
|
y: 0
|
|
962
956
|
};
|
|
963
|
-
return (n || !n && !r) && ((
|
|
964
|
-
Ze(o)) && (s = En(t)),
|
|
957
|
+
return (n || !n && !r) && ((q(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
958
|
+
Ze(o)) && (s = En(t)), k(t) ? (a = ae(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : o && (a.x = Qe(o))), {
|
|
965
959
|
x: u.left + s.scrollLeft - a.x,
|
|
966
960
|
y: u.top + s.scrollTop - a.y,
|
|
967
961
|
width: u.width,
|
|
968
962
|
height: u.height
|
|
969
963
|
};
|
|
970
964
|
}
|
|
971
|
-
function
|
|
965
|
+
function An(e) {
|
|
972
966
|
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
973
967
|
e.forEach(function(o) {
|
|
974
968
|
t.set(o.name, o);
|
|
@@ -987,9 +981,9 @@ function Mn(e) {
|
|
|
987
981
|
r.has(o.name) || i(o);
|
|
988
982
|
}), n;
|
|
989
983
|
}
|
|
990
|
-
function
|
|
991
|
-
var t =
|
|
992
|
-
return
|
|
984
|
+
function Mn(e) {
|
|
985
|
+
var t = An(e);
|
|
986
|
+
return Fr.reduce(function(r, n) {
|
|
993
987
|
return r.concat(t.filter(function(i) {
|
|
994
988
|
return i.phase === n;
|
|
995
989
|
}));
|
|
@@ -1022,7 +1016,7 @@ var Pt = {
|
|
|
1022
1016
|
modifiers: [],
|
|
1023
1017
|
strategy: "absolute"
|
|
1024
1018
|
};
|
|
1025
|
-
function
|
|
1019
|
+
function At() {
|
|
1026
1020
|
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
1027
1021
|
t[r] = arguments[r];
|
|
1028
1022
|
return !t.some(function(n) {
|
|
@@ -1050,10 +1044,10 @@ function Cn(e) {
|
|
|
1050
1044
|
setOptions: function(y) {
|
|
1051
1045
|
var m = typeof y == "function" ? y(c.options) : y;
|
|
1052
1046
|
g(), c.options = Object.assign({}, o, c.options, m), c.scrollParents = {
|
|
1053
|
-
reference:
|
|
1047
|
+
reference: ee(s) ? ve(s) : s.contextElement ? ve(s.contextElement) : [],
|
|
1054
1048
|
popper: ve(a)
|
|
1055
1049
|
};
|
|
1056
|
-
var O =
|
|
1050
|
+
var O = Mn(Dn([].concat(n, c.options.modifiers)));
|
|
1057
1051
|
return c.orderedModifiers = O.filter(function(w) {
|
|
1058
1052
|
return w.enabled;
|
|
1059
1053
|
}), v(), d.update();
|
|
@@ -1066,7 +1060,7 @@ function Cn(e) {
|
|
|
1066
1060
|
forceUpdate: function() {
|
|
1067
1061
|
if (!h) {
|
|
1068
1062
|
var y = c.elements, m = y.reference, O = y.popper;
|
|
1069
|
-
if (
|
|
1063
|
+
if (At(m, O)) {
|
|
1070
1064
|
c.rects = {
|
|
1071
1065
|
reference: Pn(m, be(O), c.options.strategy === "fixed"),
|
|
1072
1066
|
popper: Ye(O)
|
|
@@ -1078,11 +1072,11 @@ function Cn(e) {
|
|
|
1078
1072
|
c.reset = !1, w = -1;
|
|
1079
1073
|
continue;
|
|
1080
1074
|
}
|
|
1081
|
-
var x = c.orderedModifiers[w], b = x.fn, E = x.options, P = E === void 0 ? {} : E,
|
|
1075
|
+
var x = c.orderedModifiers[w], b = x.fn, E = x.options, P = E === void 0 ? {} : E, A = x.name;
|
|
1082
1076
|
typeof b == "function" && (c = b({
|
|
1083
1077
|
state: c,
|
|
1084
1078
|
options: P,
|
|
1085
|
-
name:
|
|
1079
|
+
name: A,
|
|
1086
1080
|
instance: d
|
|
1087
1081
|
}) || c);
|
|
1088
1082
|
}
|
|
@@ -1100,7 +1094,7 @@ function Cn(e) {
|
|
|
1100
1094
|
g(), h = !0;
|
|
1101
1095
|
}
|
|
1102
1096
|
};
|
|
1103
|
-
if (!
|
|
1097
|
+
if (!At(s, a))
|
|
1104
1098
|
return d;
|
|
1105
1099
|
d.setOptions(l).then(function(f) {
|
|
1106
1100
|
!h && l.onFirstUpdate && l.onFirstUpdate(f);
|
|
@@ -1177,17 +1171,17 @@ const Bn = {
|
|
|
1177
1171
|
}
|
|
1178
1172
|
}
|
|
1179
1173
|
}, Hn = [];
|
|
1180
|
-
function
|
|
1174
|
+
function Nn(e, t, r = {}) {
|
|
1181
1175
|
let {
|
|
1182
1176
|
enabled: n = !0,
|
|
1183
1177
|
placement: i = "bottom",
|
|
1184
1178
|
strategy: o = "absolute",
|
|
1185
1179
|
modifiers: u = Hn
|
|
1186
1180
|
} = r, s = Sn(r, $n);
|
|
1187
|
-
const a =
|
|
1181
|
+
const a = V(u), l = V(), c = N(() => {
|
|
1188
1182
|
var f;
|
|
1189
1183
|
(f = l.current) == null || f.update();
|
|
1190
|
-
}, []), p =
|
|
1184
|
+
}, []), p = N(() => {
|
|
1191
1185
|
var f;
|
|
1192
1186
|
(f = l.current) == null || f.forceUpdate();
|
|
1193
1187
|
}, []), [h, d] = Rr(Be({
|
|
@@ -1242,10 +1236,10 @@ function zn(e, t, r = {}) {
|
|
|
1242
1236
|
};
|
|
1243
1237
|
}, [n, e, t]), h;
|
|
1244
1238
|
}
|
|
1245
|
-
var
|
|
1239
|
+
var Wn = process.env.NODE_ENV !== "production", Kt = function() {
|
|
1246
1240
|
};
|
|
1247
|
-
if (
|
|
1248
|
-
var
|
|
1241
|
+
if (Wn) {
|
|
1242
|
+
var zn = function(t, r) {
|
|
1249
1243
|
var n = arguments.length;
|
|
1250
1244
|
r = new Array(n > 1 ? n - 1 : 0);
|
|
1251
1245
|
for (var i = 1; i < n; i++)
|
|
@@ -1268,16 +1262,16 @@ if (Nn) {
|
|
|
1268
1262
|
throw new Error(
|
|
1269
1263
|
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
1270
1264
|
);
|
|
1271
|
-
e ||
|
|
1265
|
+
e || zn.apply(null, [t].concat(r));
|
|
1272
1266
|
};
|
|
1273
1267
|
}
|
|
1274
|
-
var
|
|
1275
|
-
const qt = /* @__PURE__ */ lr(
|
|
1268
|
+
var Fn = Kt;
|
|
1269
|
+
const qt = /* @__PURE__ */ lr(Fn), Mt = () => {
|
|
1276
1270
|
};
|
|
1277
|
-
function
|
|
1271
|
+
function _n(e) {
|
|
1278
1272
|
return e.button === 0;
|
|
1279
1273
|
}
|
|
1280
|
-
function
|
|
1274
|
+
function kn(e) {
|
|
1281
1275
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
1282
1276
|
}
|
|
1283
1277
|
const Re = (e) => e && ("current" in e ? e.current : e), Rt = {
|
|
@@ -1285,16 +1279,16 @@ const Re = (e) => e && ("current" in e ? e.current : e), Rt = {
|
|
|
1285
1279
|
mouseup: "mousedown",
|
|
1286
1280
|
pointerup: "pointerdown"
|
|
1287
1281
|
};
|
|
1288
|
-
function
|
|
1282
|
+
function Vn(e, t = Mt, {
|
|
1289
1283
|
disabled: r,
|
|
1290
1284
|
clickTrigger: n = "click"
|
|
1291
1285
|
} = {}) {
|
|
1292
|
-
const i =
|
|
1286
|
+
const i = V(!1), o = V(!1), u = N((l) => {
|
|
1293
1287
|
const c = Re(e);
|
|
1294
|
-
qt(!!c, "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"), i.current = !c ||
|
|
1288
|
+
qt(!!c, "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"), i.current = !c || kn(l) || !_n(l) || !!Fe(c, l.target) || o.current, o.current = !1;
|
|
1295
1289
|
}, [e]), s = Ce((l) => {
|
|
1296
1290
|
const c = Re(e);
|
|
1297
|
-
c &&
|
|
1291
|
+
c && Fe(c, l.target) && (o.current = !0);
|
|
1298
1292
|
}), a = Ce((l) => {
|
|
1299
1293
|
i.current || t(l);
|
|
1300
1294
|
});
|
|
@@ -1313,7 +1307,7 @@ function kn(e, t = At, {
|
|
|
1313
1307
|
a(m);
|
|
1314
1308
|
});
|
|
1315
1309
|
let y = [];
|
|
1316
|
-
return "ontouchstart" in p.documentElement && (y = [].slice.call(p.body.children).map((m) => fe(m, "mousemove",
|
|
1310
|
+
return "ontouchstart" in p.documentElement && (y = [].slice.call(p.body.children).map((m) => fe(m, "mousemove", Mt))), () => {
|
|
1317
1311
|
v == null || v(), g(), f(), y.forEach((m) => m());
|
|
1318
1312
|
};
|
|
1319
1313
|
}, [e, r, n, u, s, a]);
|
|
@@ -1378,7 +1372,7 @@ function Xn(e, t, {
|
|
|
1378
1372
|
clickTrigger: n
|
|
1379
1373
|
} = {}) {
|
|
1380
1374
|
const i = t || qn;
|
|
1381
|
-
|
|
1375
|
+
Vn(e, i, {
|
|
1382
1376
|
disabled: r,
|
|
1383
1377
|
clickTrigger: n
|
|
1384
1378
|
});
|
|
@@ -1402,7 +1396,7 @@ function Xn(e, t, {
|
|
|
1402
1396
|
};
|
|
1403
1397
|
}, [e, r, o]);
|
|
1404
1398
|
}
|
|
1405
|
-
const Xt = /* @__PURE__ */
|
|
1399
|
+
const Xt = /* @__PURE__ */ K.forwardRef((e, t) => {
|
|
1406
1400
|
const {
|
|
1407
1401
|
flip: r,
|
|
1408
1402
|
offset: n,
|
|
@@ -1411,7 +1405,7 @@ const Xt = /* @__PURE__ */ q.forwardRef((e, t) => {
|
|
|
1411
1405
|
popperConfig: u = {},
|
|
1412
1406
|
transition: s,
|
|
1413
1407
|
runTransition: a
|
|
1414
|
-
} = e, [l, c] = ut(), [p, h] = ut(), d = Ke(c, t), v = lt(e.container), g = lt(e.target), [f, y] = Be(!e.show), m =
|
|
1408
|
+
} = e, [l, c] = ut(), [p, h] = ut(), d = Ke(c, t), v = lt(e.container), g = lt(e.target), [f, y] = Be(!e.show), m = Nn(g, l, Kn({
|
|
1415
1409
|
placement: i,
|
|
1416
1410
|
enableEvents: !!e.show,
|
|
1417
1411
|
containerPadding: o || 5,
|
|
@@ -1421,8 +1415,8 @@ const Xt = /* @__PURE__ */ q.forwardRef((e, t) => {
|
|
|
1421
1415
|
popperConfig: u
|
|
1422
1416
|
}));
|
|
1423
1417
|
e.show && f && y(!1);
|
|
1424
|
-
const O = (...
|
|
1425
|
-
y(!0), e.onExited && e.onExited(...
|
|
1418
|
+
const O = (...M) => {
|
|
1419
|
+
y(!0), e.onExited && e.onExited(...M);
|
|
1426
1420
|
}, w = e.show || !f;
|
|
1427
1421
|
if (Xn(l, e.onHide, {
|
|
1428
1422
|
disabled: !e.rootClose || e.rootCloseDisabled,
|
|
@@ -1434,7 +1428,7 @@ const Xt = /* @__PURE__ */ q.forwardRef((e, t) => {
|
|
|
1434
1428
|
onExiting: b,
|
|
1435
1429
|
onEnter: E,
|
|
1436
1430
|
onEntering: P,
|
|
1437
|
-
onEntered:
|
|
1431
|
+
onEntered: A
|
|
1438
1432
|
} = e;
|
|
1439
1433
|
let j = e.children(Object.assign({}, m.attributes.popper, {
|
|
1440
1434
|
style: m.styles.popper,
|
|
@@ -1459,11 +1453,11 @@ const Xt = /* @__PURE__ */ q.forwardRef((e, t) => {
|
|
|
1459
1453
|
onExited: O,
|
|
1460
1454
|
onEnter: E,
|
|
1461
1455
|
onEntering: P,
|
|
1462
|
-
onEntered:
|
|
1456
|
+
onEntered: A
|
|
1463
1457
|
}), v ? /* @__PURE__ */ gr.createPortal(j, v) : null;
|
|
1464
1458
|
});
|
|
1465
1459
|
Xt.displayName = "Overlay";
|
|
1466
|
-
const Yn = Xt, Yt = /* @__PURE__ */
|
|
1460
|
+
const Yn = Xt, Yt = /* @__PURE__ */ K.forwardRef(({
|
|
1467
1461
|
className: e,
|
|
1468
1462
|
bsPrefix: t,
|
|
1469
1463
|
as: r = "div",
|
|
@@ -1474,7 +1468,7 @@ const Yn = Xt, Yt = /* @__PURE__ */ q.forwardRef(({
|
|
|
1474
1468
|
...n
|
|
1475
1469
|
})));
|
|
1476
1470
|
Yt.displayName = "PopoverHeader";
|
|
1477
|
-
const Gn = Yt, Gt = /* @__PURE__ */
|
|
1471
|
+
const Gn = Yt, Gt = /* @__PURE__ */ K.forwardRef(({
|
|
1478
1472
|
className: e,
|
|
1479
1473
|
bsPrefix: t,
|
|
1480
1474
|
as: r = "div",
|
|
@@ -1499,7 +1493,7 @@ function Zt(e = "absolute") {
|
|
|
1499
1493
|
pointerEvents: "none"
|
|
1500
1494
|
};
|
|
1501
1495
|
}
|
|
1502
|
-
const Jn = /* @__PURE__ */
|
|
1496
|
+
const Jn = /* @__PURE__ */ K.forwardRef(({
|
|
1503
1497
|
bsPrefix: e,
|
|
1504
1498
|
placement: t = "right",
|
|
1505
1499
|
className: r,
|
|
@@ -1537,7 +1531,7 @@ const Jn = /* @__PURE__ */ q.forwardRef(({
|
|
|
1537
1531
|
// Default popover offset.
|
|
1538
1532
|
// https://github.com/twbs/bootstrap/blob/5c32767e0e0dbac2d934bcdee03719a65d3f1187/js/src/popover.js#L28
|
|
1539
1533
|
POPPER_OFFSET: [0, 8]
|
|
1540
|
-
}), er = /* @__PURE__ */
|
|
1534
|
+
}), er = /* @__PURE__ */ K.forwardRef(({
|
|
1541
1535
|
bsPrefix: e,
|
|
1542
1536
|
placement: t = "right",
|
|
1543
1537
|
className: r,
|
|
@@ -1578,7 +1572,7 @@ const tr = Object.assign(er, {
|
|
|
1578
1572
|
TOOLTIP_OFFSET: [0, 6]
|
|
1579
1573
|
});
|
|
1580
1574
|
function Zn(e) {
|
|
1581
|
-
const t =
|
|
1575
|
+
const t = V(null), r = ne(void 0, "popover"), n = ne(void 0, "tooltip"), i = De(() => ({
|
|
1582
1576
|
name: "offset",
|
|
1583
1577
|
options: {
|
|
1584
1578
|
offset: () => {
|
|
@@ -1602,9 +1596,9 @@ function ei(e, t) {
|
|
|
1602
1596
|
} = e, {
|
|
1603
1597
|
ref: n
|
|
1604
1598
|
} = t;
|
|
1605
|
-
e.ref = r.__wrapped || (r.__wrapped = (i) => r(
|
|
1599
|
+
e.ref = r.__wrapped || (r.__wrapped = (i) => r(_e(i))), t.ref = n.__wrapped || (n.__wrapped = (i) => n(_e(i)));
|
|
1606
1600
|
}
|
|
1607
|
-
const rr = /* @__PURE__ */
|
|
1601
|
+
const rr = /* @__PURE__ */ K.forwardRef(({
|
|
1608
1602
|
children: e,
|
|
1609
1603
|
transition: t = dt,
|
|
1610
1604
|
popperConfig: r = {},
|
|
@@ -1613,7 +1607,7 @@ const rr = /* @__PURE__ */ q.forwardRef(({
|
|
|
1613
1607
|
show: o = !1,
|
|
1614
1608
|
...u
|
|
1615
1609
|
}, s) => {
|
|
1616
|
-
const a =
|
|
1610
|
+
const a = V({}), [l, c] = Be(null), [p, h] = Zn(u.offset), d = Ke(s, p), v = t === !0 ? dt : t || void 0, g = Ce((f) => {
|
|
1617
1611
|
c(f), r == null || r.onFirstUpdate == null || r.onFirstUpdate(f);
|
|
1618
1612
|
});
|
|
1619
1613
|
return hr(() => {
|
|
@@ -1656,7 +1650,7 @@ const rr = /* @__PURE__ */ q.forwardRef(({
|
|
|
1656
1650
|
popper: E,
|
|
1657
1651
|
arrowProps: y,
|
|
1658
1652
|
hasDoneInitialMeasure: P
|
|
1659
|
-
}) : /* @__PURE__ */
|
|
1653
|
+
}) : /* @__PURE__ */ K.cloneElement(e, {
|
|
1660
1654
|
...f,
|
|
1661
1655
|
placement: b,
|
|
1662
1656
|
arrowProps: y,
|
|
@@ -1681,7 +1675,7 @@ function ri(e) {
|
|
|
1681
1675
|
}
|
|
1682
1676
|
function Dt(e, t, r) {
|
|
1683
1677
|
const [n] = t, i = n.currentTarget, o = n.relatedTarget || n.nativeEvent[r];
|
|
1684
|
-
(!o || o !== i) && !
|
|
1678
|
+
(!o || o !== i) && !Fe(i, o) && e(...t);
|
|
1685
1679
|
}
|
|
1686
1680
|
mr.oneOf(["click", "hover", "focus"]);
|
|
1687
1681
|
const ni = ({
|
|
@@ -1697,13 +1691,13 @@ const ni = ({
|
|
|
1697
1691
|
flip: l = a && a.indexOf("auto") !== -1,
|
|
1698
1692
|
...c
|
|
1699
1693
|
}) => {
|
|
1700
|
-
const p =
|
|
1694
|
+
const p = V(null), h = Ke(p, r.ref), d = Mr(), v = V(""), [g, f] = Lt(i, o, u), y = ri(s), {
|
|
1701
1695
|
onFocus: m,
|
|
1702
1696
|
onBlur: O,
|
|
1703
1697
|
onClick: w
|
|
1704
|
-
} = typeof r != "function" ?
|
|
1705
|
-
h(
|
|
1706
|
-
}, b =
|
|
1698
|
+
} = typeof r != "function" ? K.Children.only(r).props : {}, x = (D) => {
|
|
1699
|
+
h(_e(D));
|
|
1700
|
+
}, b = N(() => {
|
|
1707
1701
|
if (d.clear(), v.current = "show", !y.show) {
|
|
1708
1702
|
f(!0);
|
|
1709
1703
|
return;
|
|
@@ -1711,7 +1705,7 @@ const ni = ({
|
|
|
1711
1705
|
d.set(() => {
|
|
1712
1706
|
v.current === "show" && f(!0);
|
|
1713
1707
|
}, y.show);
|
|
1714
|
-
}, [y.show, f, d]), E =
|
|
1708
|
+
}, [y.show, f, d]), E = N(() => {
|
|
1715
1709
|
if (d.clear(), v.current = "hide", !y.hide) {
|
|
1716
1710
|
f(!1);
|
|
1717
1711
|
return;
|
|
@@ -1719,20 +1713,20 @@ const ni = ({
|
|
|
1719
1713
|
d.set(() => {
|
|
1720
1714
|
v.current === "hide" && f(!1);
|
|
1721
1715
|
}, y.hide);
|
|
1722
|
-
}, [y.hide, f, d]), P =
|
|
1716
|
+
}, [y.hide, f, d]), P = N((...D) => {
|
|
1723
1717
|
b(), m == null || m(...D);
|
|
1724
|
-
}, [b, m]),
|
|
1718
|
+
}, [b, m]), A = N((...D) => {
|
|
1725
1719
|
E(), O == null || O(...D);
|
|
1726
|
-
}, [E, O]), j =
|
|
1720
|
+
}, [E, O]), j = N((...D) => {
|
|
1727
1721
|
f(!g), w == null || w(...D);
|
|
1728
|
-
}, [w, f, g]),
|
|
1722
|
+
}, [w, f, g]), M = N((...D) => {
|
|
1729
1723
|
Dt(b, D, "fromElement");
|
|
1730
|
-
}, [b]), B =
|
|
1724
|
+
}, [b]), B = N((...D) => {
|
|
1731
1725
|
Dt(E, D, "toElement");
|
|
1732
1726
|
}, [E]), R = e == null ? [] : [].concat(e), C = {
|
|
1733
1727
|
ref: x
|
|
1734
1728
|
};
|
|
1735
|
-
return R.indexOf("click") !== -1 && (C.onClick = j), R.indexOf("focus") !== -1 && (C.onFocus = P, C.onBlur =
|
|
1729
|
+
return R.indexOf("click") !== -1 && (C.onClick = j), R.indexOf("focus") !== -1 && (C.onFocus = P, C.onBlur = A), R.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && qt(R.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), C.onMouseOver = M, C.onMouseOut = B), /* @__PURE__ */ T.jsxs(T.Fragment, {
|
|
1736
1730
|
children: [typeof r == "function" ? r(C) : /* @__PURE__ */ ur(r, C), /* @__PURE__ */ T.jsx(ti, {
|
|
1737
1731
|
...c,
|
|
1738
1732
|
show: g,
|
|
@@ -1744,24 +1738,22 @@ const ni = ({
|
|
|
1744
1738
|
children: t
|
|
1745
1739
|
})]
|
|
1746
1740
|
});
|
|
1747
|
-
}, ii = ni,
|
|
1741
|
+
}, ii = ni, gi = ({ text: e, placement: t, children: r }) => /* @__PURE__ */ T.jsx(ii, { placement: t, overlay: /* @__PURE__ */ T.jsx(tr, { className: "luminus-tooltip", children: e }), children: r });
|
|
1748
1742
|
export {
|
|
1749
1743
|
pi as M,
|
|
1750
1744
|
ii as O,
|
|
1751
1745
|
Qn as P,
|
|
1752
|
-
|
|
1746
|
+
gi as S,
|
|
1753
1747
|
tr as T,
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
yi as i,
|
|
1763
|
-
ui as j,
|
|
1748
|
+
vi as a,
|
|
1749
|
+
hi as b,
|
|
1750
|
+
di as c,
|
|
1751
|
+
li as d,
|
|
1752
|
+
fi as e,
|
|
1753
|
+
Vn as f,
|
|
1754
|
+
mi as g,
|
|
1755
|
+
ui as h,
|
|
1764
1756
|
Kn as m,
|
|
1765
|
-
|
|
1757
|
+
Nn as u,
|
|
1766
1758
|
qt as w
|
|
1767
1759
|
};
|