react-luminus-components 1.0.6 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/.vite/manifest.json +43 -44
  2. package/dist/Collapse.module-DvvJlfPd.js +212 -0
  3. package/dist/Collapse.module-cs5hXOag.mjs +2896 -0
  4. package/dist/Modal-B2qKFgqh.js +1 -0
  5. package/dist/{Modal-DsY3WNWM.mjs → Modal-Dx5XXGby.mjs} +166 -162
  6. package/dist/SimpleTooltip-C9ijHgfs.js +1 -0
  7. package/dist/SimpleTooltip-CmA9EcfY.mjs +1622 -0
  8. package/dist/components/BnfTableValueFormats/UserAvatarValueFormat/UserAvatarValueFormat.d.ts +3 -0
  9. package/dist/components/BnfTableValueFormats/index.d.ts +1 -0
  10. package/dist/components/Buttons/ContextButton/ContextButton.d.ts +13 -0
  11. package/dist/components/Buttons/PrimaryButton/PrimaryButton.d.ts +14 -0
  12. package/dist/components/Buttons/index.d.ts +3 -0
  13. package/dist/components/Dropdown/Dropdown.d.ts +8 -0
  14. package/dist/components/Dropdown/comps/DropdownItem/DropdownItem.d.ts +9 -0
  15. package/dist/components/Dropdown/comps/DropdownToggle/DropdownToggle.d.ts +7 -0
  16. package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +10 -0
  17. package/dist/components/Dropdown/comps/index.d.ts +4 -0
  18. package/dist/components/Dropdown/index.d.ts +2 -0
  19. package/dist/components/Form/SelectInput/SelectInput.d.ts +2 -1
  20. package/dist/components/HookForm/index.d.ts +0 -1
  21. package/dist/components/Tabs/Tabs.d.ts +7 -0
  22. package/dist/components/Tabs/comps/Tab/Tab.d.ts +7 -0
  23. package/dist/components/Tabs/comps/index.d.ts +1 -0
  24. package/dist/components/Tabs/index.d.ts +2 -0
  25. package/dist/components/Toaster/Toaster.d.ts +3 -0
  26. package/dist/components/UserAvatar/index.d.ts +0 -1
  27. package/dist/components/common/ApiFileDownloadButton/ApiFileDownloadButton.d.ts +2 -3
  28. package/dist/components/common/Badge/Badge.d.ts +9 -0
  29. package/dist/components/common/Collapse/Collapse.d.ts +8 -0
  30. package/dist/components/common/index.d.ts +2 -0
  31. package/dist/contexts.cjs.js +1 -1
  32. package/dist/contexts.es.js +64 -53
  33. package/dist/{hasClass-DABt6TfW.js → hasClass-CIO7dHdo.js} +5 -5
  34. package/dist/{hasClass-D3KZs5y_.mjs → hasClass-CjtZdrqe.mjs} +24 -23
  35. package/dist/hooks/useNotifications/useNotifications.d.ts +1 -1
  36. package/dist/hooks.cjs.js +1 -1
  37. package/dist/hooks.es.js +3 -3
  38. package/dist/layout/SideMenu/MenuItem/MenuItem.d.ts +2 -1
  39. package/dist/layout/SideMenu/SideMenu.d.ts +2 -1
  40. package/dist/layout.cjs.js +1 -1
  41. package/dist/layout.es.js +85 -156
  42. package/dist/main.cjs.js +1 -1
  43. package/dist/main.d.ts +8 -2
  44. package/dist/main.es.js +1689 -992
  45. package/dist/models/prop-types/HookFormSelectInputProps.d.ts +1 -0
  46. package/dist/style.css +1 -1
  47. package/dist/{useConfirm-Yw2xz-A-.mjs → useConfirm-BiBuEjQ7.mjs} +1 -1
  48. package/dist/useConfirm-DSLva5Mk.js +1 -0
  49. package/package.json +4 -2
  50. package/dist/HomeDashboard.module-BI8obEZ_.js +0 -212
  51. package/dist/HomeDashboard.module-CuVVnp4t.mjs +0 -2664
  52. package/dist/Modal-DmUjIS_Q.js +0 -1
  53. package/dist/SimpleTooltip-C8wTRZNZ.mjs +0 -1759
  54. package/dist/SimpleTooltip-HYwwaCn4.js +0 -1
  55. package/dist/components/UserAvatar/UserAvatarDropdown/UserAvatarDropdown.d.ts +0 -7
  56. package/dist/useConfirm-CQCMwQlb.js +0 -1
  57. /package/dist/components/{HookForm → Buttons}/FloatingSubmit/FloatingFormSubmit.d.ts +0 -0
  58. /package/dist/components/{UserAvatar → Dropdown/comps}/UserAvatarToggle/UserAvatarToggle.d.ts +0 -0
@@ -0,0 +1,1622 @@
1
+ import { m as tr, j as C, d as me } from "./Collapse.module-cs5hXOag.mjs";
2
+ import { _ as rr, b as Rt, f as nr, e as We, d as Pe, o as At, l as ue, i as or, j as it, k as _e, a as at, r as ir, g as te, m as jt, h as st, q as ar, F as ct, v as Fe, P as sr } from "./hasClass-CjtZdrqe.mjs";
3
+ import * as z from "react";
4
+ import { useRef as U, useState as $e, useCallback as F, useMemo as De, useEffect as pe, cloneElement as cr } from "react";
5
+ import ur from "react-dom";
6
+ function Ne() {
7
+ return Ne = Object.assign ? Object.assign.bind() : function(e) {
8
+ for (var t = 1; t < arguments.length; t++) {
9
+ var r = arguments[t];
10
+ for (var n in r)
11
+ Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
12
+ }
13
+ return e;
14
+ }, Ne.apply(this, arguments);
15
+ }
16
+ function ut(e) {
17
+ return "default" + e.charAt(0).toUpperCase() + e.substr(1);
18
+ }
19
+ function fr(e) {
20
+ var t = lr(e, "string");
21
+ return typeof t == "symbol" ? t : String(t);
22
+ }
23
+ function lr(e, t) {
24
+ if (typeof e != "object" || e === null)
25
+ return e;
26
+ var r = e[Symbol.toPrimitive];
27
+ if (r !== void 0) {
28
+ var n = r.call(e, t || "default");
29
+ if (typeof n != "object")
30
+ return n;
31
+ throw new TypeError("@@toPrimitive must return a primitive value.");
32
+ }
33
+ return (t === "string" ? String : Number)(e);
34
+ }
35
+ function Pt(e, t, r) {
36
+ var n = U(e !== void 0), o = $e(t), i = o[0], u = o[1], c = e !== void 0, a = n.current;
37
+ return n.current = c, !c && a && i !== t && u(t), [c ? e : i, F(function(f) {
38
+ for (var s = arguments.length, p = new Array(s > 1 ? s - 1 : 0), h = 1; h < s; h++)
39
+ p[h - 1] = arguments[h];
40
+ r && r.apply(void 0, [f].concat(p)), u(f);
41
+ }, [r])];
42
+ }
43
+ function Yn(e, t) {
44
+ return Object.keys(t).reduce(function(r, n) {
45
+ var o, i = r, u = i[ut(n)], c = i[n], a = rr(i, [ut(n), n].map(fr)), f = t[n], s = Pt(c, u, e[f]), p = s[0], h = s[1];
46
+ return Ne({}, a, (o = {}, o[n] = p, o[f] = h, o));
47
+ }, e);
48
+ }
49
+ const ke = 2 ** 31 - 1;
50
+ function Dt(e, t, r) {
51
+ const n = r - Date.now();
52
+ e.current = n <= ke ? setTimeout(t, n) : setTimeout(() => Dt(e, t, r), ke);
53
+ }
54
+ function dr() {
55
+ const e = Rt(), t = U();
56
+ return nr(() => clearTimeout(t.current)), De(() => {
57
+ const r = () => clearTimeout(t.current);
58
+ function n(o, i = 0) {
59
+ e() && (r(), i <= ke ? t.current = setTimeout(o, i) : Dt(t, o, Date.now() + i));
60
+ }
61
+ return {
62
+ set: n,
63
+ clear: r,
64
+ handleRef: t
65
+ };
66
+ }, []);
67
+ }
68
+ var ft = Object.prototype.hasOwnProperty;
69
+ function lt(e, t, r) {
70
+ for (r of e.keys())
71
+ if (fe(r, t))
72
+ return r;
73
+ }
74
+ function fe(e, t) {
75
+ var r, n, o;
76
+ if (e === t)
77
+ return !0;
78
+ if (e && t && (r = e.constructor) === t.constructor) {
79
+ if (r === Date)
80
+ return e.getTime() === t.getTime();
81
+ if (r === RegExp)
82
+ return e.toString() === t.toString();
83
+ if (r === Array) {
84
+ if ((n = e.length) === t.length)
85
+ for (; n-- && fe(e[n], t[n]); )
86
+ ;
87
+ return n === -1;
88
+ }
89
+ if (r === Set) {
90
+ if (e.size !== t.size)
91
+ return !1;
92
+ for (n of e)
93
+ if (o = n, o && typeof o == "object" && (o = lt(t, o), !o) || !t.has(o))
94
+ return !1;
95
+ return !0;
96
+ }
97
+ if (r === Map) {
98
+ if (e.size !== t.size)
99
+ return !1;
100
+ for (n of e)
101
+ if (o = n[0], o && typeof o == "object" && (o = lt(t, o), !o) || !fe(n[1], t.get(o)))
102
+ return !1;
103
+ return !0;
104
+ }
105
+ if (r === ArrayBuffer)
106
+ e = new Uint8Array(e), t = new Uint8Array(t);
107
+ else if (r === DataView) {
108
+ if ((n = e.byteLength) === t.byteLength)
109
+ for (; n-- && e.getInt8(n) === t.getInt8(n); )
110
+ ;
111
+ return n === -1;
112
+ }
113
+ if (ArrayBuffer.isView(e)) {
114
+ if ((n = e.byteLength) === t.byteLength)
115
+ for (; n-- && e[n] === t[n]; )
116
+ ;
117
+ return n === -1;
118
+ }
119
+ if (!r || typeof e == "object") {
120
+ n = 0;
121
+ for (r in e)
122
+ if (ft.call(e, r) && ++n && !ft.call(t, r) || !(r in t) || !fe(e[r], t[r]))
123
+ return !1;
124
+ return Object.keys(t).length === n;
125
+ }
126
+ }
127
+ return e !== e && t !== t;
128
+ }
129
+ function pr(e) {
130
+ const t = Rt();
131
+ return [e[0], F((r) => {
132
+ if (t())
133
+ return e[1](r);
134
+ }, [t, e[1]])];
135
+ }
136
+ var M = "top", N = "bottom", k = "right", S = "left", Ue = "auto", ge = [M, N, k, S], re = "start", ve = "end", vr = "clippingParents", Tt = "viewport", ce = "popper", hr = "reference", dt = /* @__PURE__ */ ge.reduce(function(e, t) {
137
+ return e.concat([t + "-" + re, t + "-" + ve]);
138
+ }, []), $t = /* @__PURE__ */ [].concat(ge, [Ue]).reduce(function(e, t) {
139
+ return e.concat([t, t + "-" + re, t + "-" + ve]);
140
+ }, []), mr = "beforeRead", gr = "read", yr = "afterRead", wr = "beforeMain", br = "main", Or = "afterMain", xr = "beforeWrite", Er = "write", Rr = "afterWrite", Ar = [mr, gr, yr, wr, br, Or, xr, Er, Rr];
141
+ function I(e) {
142
+ return e.split("-")[0];
143
+ }
144
+ function W(e) {
145
+ if (e == null)
146
+ return window;
147
+ if (e.toString() !== "[object Window]") {
148
+ var t = e.ownerDocument;
149
+ return t && t.defaultView || window;
150
+ }
151
+ return e;
152
+ }
153
+ function Z(e) {
154
+ var t = W(e).Element;
155
+ return e instanceof t || e instanceof Element;
156
+ }
157
+ function _(e) {
158
+ var t = W(e).HTMLElement;
159
+ return e instanceof t || e instanceof HTMLElement;
160
+ }
161
+ function Ve(e) {
162
+ if (typeof ShadowRoot > "u")
163
+ return !1;
164
+ var t = W(e).ShadowRoot;
165
+ return e instanceof t || e instanceof ShadowRoot;
166
+ }
167
+ var Q = Math.max, Te = Math.min, ne = Math.round;
168
+ function He() {
169
+ var e = navigator.userAgentData;
170
+ return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
171
+ return t.brand + "/" + t.version;
172
+ }).join(" ") : navigator.userAgent;
173
+ }
174
+ function Ct() {
175
+ return !/^((?!chrome|android).)*safari/i.test(He());
176
+ }
177
+ function oe(e, t, r) {
178
+ t === void 0 && (t = !1), r === void 0 && (r = !1);
179
+ var n = e.getBoundingClientRect(), o = 1, i = 1;
180
+ t && _(e) && (o = e.offsetWidth > 0 && ne(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && ne(n.height) / e.offsetHeight || 1);
181
+ var u = Z(e) ? W(e) : window, c = u.visualViewport, a = !Ct() && r, f = (n.left + (a && c ? c.offsetLeft : 0)) / o, s = (n.top + (a && c ? c.offsetTop : 0)) / i, p = n.width / o, h = n.height / i;
182
+ return {
183
+ width: p,
184
+ height: h,
185
+ top: s,
186
+ right: f + p,
187
+ bottom: s + h,
188
+ left: f,
189
+ x: f,
190
+ y: s
191
+ };
192
+ }
193
+ function qe(e) {
194
+ var t = oe(e), r = e.offsetWidth, n = e.offsetHeight;
195
+ return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
196
+ x: e.offsetLeft,
197
+ y: e.offsetTop,
198
+ width: r,
199
+ height: n
200
+ };
201
+ }
202
+ function Mt(e, t) {
203
+ var r = t.getRootNode && t.getRootNode();
204
+ if (e.contains(t))
205
+ return !0;
206
+ if (r && Ve(r)) {
207
+ var n = t;
208
+ do {
209
+ if (n && e.isSameNode(n))
210
+ return !0;
211
+ n = n.parentNode || n.host;
212
+ } while (n);
213
+ }
214
+ return !1;
215
+ }
216
+ function X(e) {
217
+ return e ? (e.nodeName || "").toLowerCase() : null;
218
+ }
219
+ function V(e) {
220
+ return W(e).getComputedStyle(e);
221
+ }
222
+ function jr(e) {
223
+ return ["table", "td", "th"].indexOf(X(e)) >= 0;
224
+ }
225
+ function Y(e) {
226
+ return ((Z(e) ? e.ownerDocument : (
227
+ // $FlowFixMe[prop-missing]
228
+ e.document
229
+ )) || window.document).documentElement;
230
+ }
231
+ function Ce(e) {
232
+ return X(e) === "html" ? e : (
233
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
234
+ // $FlowFixMe[incompatible-return]
235
+ // $FlowFixMe[prop-missing]
236
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
237
+ e.parentNode || // DOM Element detected
238
+ (Ve(e) ? e.host : null) || // ShadowRoot detected
239
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
240
+ Y(e)
241
+ );
242
+ }
243
+ function pt(e) {
244
+ return !_(e) || // https://github.com/popperjs/popper-core/issues/837
245
+ V(e).position === "fixed" ? null : e.offsetParent;
246
+ }
247
+ function Pr(e) {
248
+ var t = /firefox/i.test(He()), r = /Trident/i.test(He());
249
+ if (r && _(e)) {
250
+ var n = V(e);
251
+ if (n.position === "fixed")
252
+ return null;
253
+ }
254
+ var o = Ce(e);
255
+ for (Ve(o) && (o = o.host); _(o) && ["html", "body"].indexOf(X(o)) < 0; ) {
256
+ var i = V(o);
257
+ 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")
258
+ return o;
259
+ o = o.parentNode;
260
+ }
261
+ return null;
262
+ }
263
+ function ye(e) {
264
+ for (var t = W(e), r = pt(e); r && jr(r) && V(r).position === "static"; )
265
+ r = pt(r);
266
+ return r && (X(r) === "html" || X(r) === "body" && V(r).position === "static") ? t : r || Pr(e) || t;
267
+ }
268
+ function ze(e) {
269
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
270
+ }
271
+ function le(e, t, r) {
272
+ return Q(e, Te(t, r));
273
+ }
274
+ function Dr(e, t, r) {
275
+ var n = le(e, t, r);
276
+ return n > r ? r : n;
277
+ }
278
+ function St() {
279
+ return {
280
+ top: 0,
281
+ right: 0,
282
+ bottom: 0,
283
+ left: 0
284
+ };
285
+ }
286
+ function Bt(e) {
287
+ return Object.assign({}, St(), e);
288
+ }
289
+ function Lt(e, t) {
290
+ return t.reduce(function(r, n) {
291
+ return r[n] = e, r;
292
+ }, {});
293
+ }
294
+ var Tr = function(t, r) {
295
+ return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
296
+ placement: r.placement
297
+ })) : t, Bt(typeof t != "number" ? t : Lt(t, ge));
298
+ };
299
+ function $r(e) {
300
+ var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, u = r.modifiersData.popperOffsets, c = I(r.placement), a = ze(c), f = [S, k].indexOf(c) >= 0, s = f ? "height" : "width";
301
+ if (!(!i || !u)) {
302
+ var p = Tr(o.padding, r), h = qe(i), d = a === "y" ? M : S, v = a === "y" ? N : k, g = r.rects.reference[s] + r.rects.reference[a] - u[a] - r.rects.popper[s], l = u[a] - r.rects.reference[a], y = ye(i), m = y ? a === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, O = g / 2 - l / 2, w = p[d], x = m - h[s] - p[v], b = m / 2 - h[s] / 2 + O, E = le(w, b, x), A = a;
303
+ r.modifiersData[n] = (t = {}, t[A] = E, t.centerOffset = E - b, t);
304
+ }
305
+ }
306
+ function Cr(e) {
307
+ var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
308
+ o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || Mt(t.elements.popper, o) && (t.elements.arrow = o));
309
+ }
310
+ const Mr = {
311
+ name: "arrow",
312
+ enabled: !0,
313
+ phase: "main",
314
+ fn: $r,
315
+ effect: Cr,
316
+ requires: ["popperOffsets"],
317
+ requiresIfExists: ["preventOverflow"]
318
+ };
319
+ function ie(e) {
320
+ return e.split("-")[1];
321
+ }
322
+ var Sr = {
323
+ top: "auto",
324
+ right: "auto",
325
+ bottom: "auto",
326
+ left: "auto"
327
+ };
328
+ function Br(e, t) {
329
+ var r = e.x, n = e.y, o = t.devicePixelRatio || 1;
330
+ return {
331
+ x: ne(r * o) / o || 0,
332
+ y: ne(n * o) / o || 0
333
+ };
334
+ }
335
+ function vt(e) {
336
+ var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, u = e.offsets, c = e.position, a = e.gpuAcceleration, f = e.adaptive, s = e.roundOffsets, p = e.isFixed, h = u.x, d = h === void 0 ? 0 : h, v = u.y, g = v === void 0 ? 0 : v, l = typeof s == "function" ? s({
337
+ x: d,
338
+ y: g
339
+ }) : {
340
+ x: d,
341
+ y: g
342
+ };
343
+ d = l.x, g = l.y;
344
+ var y = u.hasOwnProperty("x"), m = u.hasOwnProperty("y"), O = S, w = M, x = window;
345
+ if (f) {
346
+ var b = ye(r), E = "clientHeight", A = "clientWidth";
347
+ if (b === W(r) && (b = Y(r), V(b).position !== "static" && c === "absolute" && (E = "scrollHeight", A = "scrollWidth")), b = b, o === M || (o === S || o === k) && i === ve) {
348
+ w = N;
349
+ var j = p && b === x && x.visualViewport ? x.visualViewport.height : (
350
+ // $FlowFixMe[prop-missing]
351
+ b[E]
352
+ );
353
+ g -= j - n.height, g *= a ? 1 : -1;
354
+ }
355
+ if (o === S || (o === M || o === N) && i === ve) {
356
+ O = k;
357
+ var R = p && b === x && x.visualViewport ? x.visualViewport.width : (
358
+ // $FlowFixMe[prop-missing]
359
+ b[A]
360
+ );
361
+ d -= R - n.width, d *= a ? 1 : -1;
362
+ }
363
+ }
364
+ var P = Object.assign({
365
+ position: c
366
+ }, f && Sr), B = s === !0 ? Br({
367
+ x: d,
368
+ y: g
369
+ }, W(r)) : {
370
+ x: d,
371
+ y: g
372
+ };
373
+ if (d = B.x, g = B.y, a) {
374
+ var D;
375
+ return Object.assign({}, P, (D = {}, D[w] = m ? "0" : "", D[O] = y ? "0" : "", D.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + g + "px)" : "translate3d(" + d + "px, " + g + "px, 0)", D));
376
+ }
377
+ return Object.assign({}, P, (t = {}, t[w] = m ? g + "px" : "", t[O] = y ? d + "px" : "", t.transform = "", t));
378
+ }
379
+ function Lr(e) {
380
+ var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, u = i === void 0 ? !0 : i, c = r.roundOffsets, a = c === void 0 ? !0 : c, f = {
381
+ placement: I(t.placement),
382
+ variation: ie(t.placement),
383
+ popper: t.elements.popper,
384
+ popperRect: t.rects.popper,
385
+ gpuAcceleration: o,
386
+ isFixed: t.options.strategy === "fixed"
387
+ };
388
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, vt(Object.assign({}, f, {
389
+ offsets: t.modifiersData.popperOffsets,
390
+ position: t.options.strategy,
391
+ adaptive: u,
392
+ roundOffsets: a
393
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, vt(Object.assign({}, f, {
394
+ offsets: t.modifiersData.arrow,
395
+ position: "absolute",
396
+ adaptive: !1,
397
+ roundOffsets: a
398
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
399
+ "data-popper-placement": t.placement
400
+ });
401
+ }
402
+ const Wr = {
403
+ name: "computeStyles",
404
+ enabled: !0,
405
+ phase: "beforeWrite",
406
+ fn: Lr,
407
+ data: {}
408
+ };
409
+ var Re = {
410
+ passive: !0
411
+ };
412
+ function Fr(e) {
413
+ var t = e.state, r = e.instance, n = e.options, o = n.scroll, i = o === void 0 ? !0 : o, u = n.resize, c = u === void 0 ? !0 : u, a = W(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
414
+ return i && f.forEach(function(s) {
415
+ s.addEventListener("scroll", r.update, Re);
416
+ }), c && a.addEventListener("resize", r.update, Re), function() {
417
+ i && f.forEach(function(s) {
418
+ s.removeEventListener("scroll", r.update, Re);
419
+ }), c && a.removeEventListener("resize", r.update, Re);
420
+ };
421
+ }
422
+ const Nr = {
423
+ name: "eventListeners",
424
+ enabled: !0,
425
+ phase: "write",
426
+ fn: function() {
427
+ },
428
+ effect: Fr,
429
+ data: {}
430
+ };
431
+ var kr = {
432
+ left: "right",
433
+ right: "left",
434
+ bottom: "top",
435
+ top: "bottom"
436
+ };
437
+ function Ae(e) {
438
+ return e.replace(/left|right|bottom|top/g, function(t) {
439
+ return kr[t];
440
+ });
441
+ }
442
+ var Hr = {
443
+ start: "end",
444
+ end: "start"
445
+ };
446
+ function ht(e) {
447
+ return e.replace(/start|end/g, function(t) {
448
+ return Hr[t];
449
+ });
450
+ }
451
+ function Xe(e) {
452
+ var t = W(e), r = t.pageXOffset, n = t.pageYOffset;
453
+ return {
454
+ scrollLeft: r,
455
+ scrollTop: n
456
+ };
457
+ }
458
+ function Ye(e) {
459
+ return oe(Y(e)).left + Xe(e).scrollLeft;
460
+ }
461
+ function Ir(e, t) {
462
+ var r = W(e), n = Y(e), o = r.visualViewport, i = n.clientWidth, u = n.clientHeight, c = 0, a = 0;
463
+ if (o) {
464
+ i = o.width, u = o.height;
465
+ var f = Ct();
466
+ (f || !f && t === "fixed") && (c = o.offsetLeft, a = o.offsetTop);
467
+ }
468
+ return {
469
+ width: i,
470
+ height: u,
471
+ x: c + Ye(e),
472
+ y: a
473
+ };
474
+ }
475
+ function _r(e) {
476
+ var t, r = Y(e), n = Xe(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = Q(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), u = Q(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), c = -n.scrollLeft + Ye(e), a = -n.scrollTop;
477
+ return V(o || r).direction === "rtl" && (c += Q(r.clientWidth, o ? o.clientWidth : 0) - i), {
478
+ width: i,
479
+ height: u,
480
+ x: c,
481
+ y: a
482
+ };
483
+ }
484
+ function Ke(e) {
485
+ var t = V(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
486
+ return /auto|scroll|overlay|hidden/.test(r + o + n);
487
+ }
488
+ function Wt(e) {
489
+ return ["html", "body", "#document"].indexOf(X(e)) >= 0 ? e.ownerDocument.body : _(e) && Ke(e) ? e : Wt(Ce(e));
490
+ }
491
+ function de(e, t) {
492
+ var r;
493
+ t === void 0 && (t = []);
494
+ var n = Wt(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = W(n), u = o ? [i].concat(i.visualViewport || [], Ke(n) ? n : []) : n, c = t.concat(u);
495
+ return o ? c : (
496
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
497
+ c.concat(de(Ce(u)))
498
+ );
499
+ }
500
+ function Ie(e) {
501
+ return Object.assign({}, e, {
502
+ left: e.x,
503
+ top: e.y,
504
+ right: e.x + e.width,
505
+ bottom: e.y + e.height
506
+ });
507
+ }
508
+ function Ur(e, t) {
509
+ var r = oe(e, !1, t === "fixed");
510
+ 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;
511
+ }
512
+ function mt(e, t, r) {
513
+ return t === Tt ? Ie(Ir(e, r)) : Z(t) ? Ur(t, r) : Ie(_r(Y(e)));
514
+ }
515
+ function Vr(e) {
516
+ var t = de(Ce(e)), r = ["absolute", "fixed"].indexOf(V(e).position) >= 0, n = r && _(e) ? ye(e) : e;
517
+ return Z(n) ? t.filter(function(o) {
518
+ return Z(o) && Mt(o, n) && X(o) !== "body";
519
+ }) : [];
520
+ }
521
+ function qr(e, t, r, n) {
522
+ var o = t === "clippingParents" ? Vr(e) : [].concat(t), i = [].concat(o, [r]), u = i[0], c = i.reduce(function(a, f) {
523
+ var s = mt(e, f, n);
524
+ return a.top = Q(s.top, a.top), a.right = Te(s.right, a.right), a.bottom = Te(s.bottom, a.bottom), a.left = Q(s.left, a.left), a;
525
+ }, mt(e, u, n));
526
+ return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
527
+ }
528
+ function Ft(e) {
529
+ var t = e.reference, r = e.element, n = e.placement, o = n ? I(n) : null, i = n ? ie(n) : null, u = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, a;
530
+ switch (o) {
531
+ case M:
532
+ a = {
533
+ x: u,
534
+ y: t.y - r.height
535
+ };
536
+ break;
537
+ case N:
538
+ a = {
539
+ x: u,
540
+ y: t.y + t.height
541
+ };
542
+ break;
543
+ case k:
544
+ a = {
545
+ x: t.x + t.width,
546
+ y: c
547
+ };
548
+ break;
549
+ case S:
550
+ a = {
551
+ x: t.x - r.width,
552
+ y: c
553
+ };
554
+ break;
555
+ default:
556
+ a = {
557
+ x: t.x,
558
+ y: t.y
559
+ };
560
+ }
561
+ var f = o ? ze(o) : null;
562
+ if (f != null) {
563
+ var s = f === "y" ? "height" : "width";
564
+ switch (i) {
565
+ case re:
566
+ a[f] = a[f] - (t[s] / 2 - r[s] / 2);
567
+ break;
568
+ case ve:
569
+ a[f] = a[f] + (t[s] / 2 - r[s] / 2);
570
+ break;
571
+ }
572
+ }
573
+ return a;
574
+ }
575
+ function he(e, t) {
576
+ t === void 0 && (t = {});
577
+ var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, u = i === void 0 ? e.strategy : i, c = r.boundary, a = c === void 0 ? vr : c, f = r.rootBoundary, s = f === void 0 ? Tt : f, p = r.elementContext, h = p === void 0 ? ce : p, d = r.altBoundary, v = d === void 0 ? !1 : d, g = r.padding, l = g === void 0 ? 0 : g, y = Bt(typeof l != "number" ? l : Lt(l, ge)), m = h === ce ? hr : ce, O = e.rects.popper, w = e.elements[v ? m : h], x = qr(Z(w) ? w : w.contextElement || Y(e.elements.popper), a, s, u), b = oe(e.elements.reference), E = Ft({
578
+ reference: b,
579
+ element: O,
580
+ strategy: "absolute",
581
+ placement: o
582
+ }), A = Ie(Object.assign({}, O, E)), j = h === ce ? A : b, R = {
583
+ top: x.top - j.top + y.top,
584
+ bottom: j.bottom - x.bottom + y.bottom,
585
+ left: x.left - j.left + y.left,
586
+ right: j.right - x.right + y.right
587
+ }, P = e.modifiersData.offset;
588
+ if (h === ce && P) {
589
+ var B = P[o];
590
+ Object.keys(R).forEach(function(D) {
591
+ var $ = [k, N].indexOf(D) >= 0 ? 1 : -1, T = [M, N].indexOf(D) >= 0 ? "y" : "x";
592
+ R[D] += B[T] * $;
593
+ });
594
+ }
595
+ return R;
596
+ }
597
+ function zr(e, t) {
598
+ t === void 0 && (t = {});
599
+ var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, u = r.padding, c = r.flipVariations, a = r.allowedAutoPlacements, f = a === void 0 ? $t : a, s = ie(n), p = s ? c ? dt : dt.filter(function(v) {
600
+ return ie(v) === s;
601
+ }) : ge, h = p.filter(function(v) {
602
+ return f.indexOf(v) >= 0;
603
+ });
604
+ h.length === 0 && (h = p);
605
+ var d = h.reduce(function(v, g) {
606
+ return v[g] = he(e, {
607
+ placement: g,
608
+ boundary: o,
609
+ rootBoundary: i,
610
+ padding: u
611
+ })[I(g)], v;
612
+ }, {});
613
+ return Object.keys(d).sort(function(v, g) {
614
+ return d[v] - d[g];
615
+ });
616
+ }
617
+ function Xr(e) {
618
+ if (I(e) === Ue)
619
+ return [];
620
+ var t = Ae(e);
621
+ return [ht(e), t, ht(t)];
622
+ }
623
+ function Yr(e) {
624
+ var t = e.state, r = e.options, n = e.name;
625
+ if (!t.modifiersData[n]._skip) {
626
+ for (var o = r.mainAxis, i = o === void 0 ? !0 : o, u = r.altAxis, c = u === void 0 ? !0 : u, a = r.fallbackPlacements, f = r.padding, s = r.boundary, p = r.rootBoundary, h = r.altBoundary, d = r.flipVariations, v = d === void 0 ? !0 : d, g = r.allowedAutoPlacements, l = t.options.placement, y = I(l), m = y === l, O = a || (m || !v ? [Ae(l)] : Xr(l)), w = [l].concat(O).reduce(function(ee, q) {
627
+ return ee.concat(I(q) === Ue ? zr(t, {
628
+ placement: q,
629
+ boundary: s,
630
+ rootBoundary: p,
631
+ padding: f,
632
+ flipVariations: v,
633
+ allowedAutoPlacements: g
634
+ }) : q);
635
+ }, []), x = t.rects.reference, b = t.rects.popper, E = /* @__PURE__ */ new Map(), A = !0, j = w[0], R = 0; R < w.length; R++) {
636
+ var P = w[R], B = I(P), D = ie(P) === re, $ = [M, N].indexOf(B) >= 0, T = $ ? "width" : "height", L = he(t, {
637
+ placement: P,
638
+ boundary: s,
639
+ rootBoundary: p,
640
+ altBoundary: h,
641
+ padding: f
642
+ }), H = $ ? D ? k : S : D ? N : M;
643
+ x[T] > b[T] && (H = Ae(H));
644
+ var we = Ae(H), K = [];
645
+ if (i && K.push(L[B] <= 0), c && K.push(L[H] <= 0, L[we] <= 0), K.every(function(ee) {
646
+ return ee;
647
+ })) {
648
+ j = P, A = !1;
649
+ break;
650
+ }
651
+ E.set(P, K);
652
+ }
653
+ if (A)
654
+ for (var be = v ? 3 : 1, Me = function(q) {
655
+ var se = w.find(function(xe) {
656
+ var G = E.get(xe);
657
+ if (G)
658
+ return G.slice(0, q).every(function(Se) {
659
+ return Se;
660
+ });
661
+ });
662
+ if (se)
663
+ return j = se, "break";
664
+ }, ae = be; ae > 0; ae--) {
665
+ var Oe = Me(ae);
666
+ if (Oe === "break")
667
+ break;
668
+ }
669
+ t.placement !== j && (t.modifiersData[n]._skip = !0, t.placement = j, t.reset = !0);
670
+ }
671
+ }
672
+ const Kr = {
673
+ name: "flip",
674
+ enabled: !0,
675
+ phase: "main",
676
+ fn: Yr,
677
+ requiresIfExists: ["offset"],
678
+ data: {
679
+ _skip: !1
680
+ }
681
+ };
682
+ function gt(e, t, r) {
683
+ return r === void 0 && (r = {
684
+ x: 0,
685
+ y: 0
686
+ }), {
687
+ top: e.top - t.height - r.y,
688
+ right: e.right - t.width + r.x,
689
+ bottom: e.bottom - t.height + r.y,
690
+ left: e.left - t.width - r.x
691
+ };
692
+ }
693
+ function yt(e) {
694
+ return [M, k, N, S].some(function(t) {
695
+ return e[t] >= 0;
696
+ });
697
+ }
698
+ function Gr(e) {
699
+ var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, u = he(t, {
700
+ elementContext: "reference"
701
+ }), c = he(t, {
702
+ altBoundary: !0
703
+ }), a = gt(u, n), f = gt(c, o, i), s = yt(a), p = yt(f);
704
+ t.modifiersData[r] = {
705
+ referenceClippingOffsets: a,
706
+ popperEscapeOffsets: f,
707
+ isReferenceHidden: s,
708
+ hasPopperEscaped: p
709
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
710
+ "data-popper-reference-hidden": s,
711
+ "data-popper-escaped": p
712
+ });
713
+ }
714
+ const Jr = {
715
+ name: "hide",
716
+ enabled: !0,
717
+ phase: "main",
718
+ requiresIfExists: ["preventOverflow"],
719
+ fn: Gr
720
+ };
721
+ function Qr(e, t, r) {
722
+ var n = I(e), o = [S, M].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
723
+ placement: e
724
+ })) : r, u = i[0], c = i[1];
725
+ return u = u || 0, c = (c || 0) * o, [S, k].indexOf(n) >= 0 ? {
726
+ x: c,
727
+ y: u
728
+ } : {
729
+ x: u,
730
+ y: c
731
+ };
732
+ }
733
+ function Zr(e) {
734
+ var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, u = $t.reduce(function(s, p) {
735
+ return s[p] = Qr(p, t.rects, i), s;
736
+ }, {}), c = u[t.placement], a = c.x, f = c.y;
737
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += f), t.modifiersData[n] = u;
738
+ }
739
+ const en = {
740
+ name: "offset",
741
+ enabled: !0,
742
+ phase: "main",
743
+ requires: ["popperOffsets"],
744
+ fn: Zr
745
+ };
746
+ function tn(e) {
747
+ var t = e.state, r = e.name;
748
+ t.modifiersData[r] = Ft({
749
+ reference: t.rects.reference,
750
+ element: t.rects.popper,
751
+ strategy: "absolute",
752
+ placement: t.placement
753
+ });
754
+ }
755
+ const rn = {
756
+ name: "popperOffsets",
757
+ enabled: !0,
758
+ phase: "read",
759
+ fn: tn,
760
+ data: {}
761
+ };
762
+ function nn(e) {
763
+ return e === "x" ? "y" : "x";
764
+ }
765
+ function on(e) {
766
+ var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, u = r.altAxis, c = u === void 0 ? !1 : u, a = r.boundary, f = r.rootBoundary, s = r.altBoundary, p = r.padding, h = r.tether, d = h === void 0 ? !0 : h, v = r.tetherOffset, g = v === void 0 ? 0 : v, l = he(t, {
767
+ boundary: a,
768
+ rootBoundary: f,
769
+ padding: p,
770
+ altBoundary: s
771
+ }), y = I(t.placement), m = ie(t.placement), O = !m, w = ze(y), x = nn(w), b = t.modifiersData.popperOffsets, E = t.rects.reference, A = t.rects.popper, j = typeof g == "function" ? g(Object.assign({}, t.rects, {
772
+ placement: t.placement
773
+ })) : g, R = typeof j == "number" ? {
774
+ mainAxis: j,
775
+ altAxis: j
776
+ } : Object.assign({
777
+ mainAxis: 0,
778
+ altAxis: 0
779
+ }, j), P = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, B = {
780
+ x: 0,
781
+ y: 0
782
+ };
783
+ if (b) {
784
+ if (i) {
785
+ var D, $ = w === "y" ? M : S, T = w === "y" ? N : k, L = w === "y" ? "height" : "width", H = b[w], we = H + l[$], K = H - l[T], be = d ? -A[L] / 2 : 0, Me = m === re ? E[L] : A[L], ae = m === re ? -A[L] : -E[L], Oe = t.elements.arrow, ee = d && Oe ? qe(Oe) : {
786
+ width: 0,
787
+ height: 0
788
+ }, q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : St(), se = q[$], xe = q[T], G = le(0, E[L], ee[L]), Se = O ? E[L] / 2 - be - G - se - R.mainAxis : Me - G - se - R.mainAxis, Kt = O ? -E[L] / 2 + be + G + xe + R.mainAxis : ae + G + xe + R.mainAxis, Be = t.elements.arrow && ye(t.elements.arrow), Gt = Be ? w === "y" ? Be.clientTop || 0 : Be.clientLeft || 0 : 0, Ge = (D = P == null ? void 0 : P[w]) != null ? D : 0, Jt = H + Se - Ge - Gt, Qt = H + Kt - Ge, Je = le(d ? Te(we, Jt) : we, H, d ? Q(K, Qt) : K);
789
+ b[w] = Je, B[w] = Je - H;
790
+ }
791
+ if (c) {
792
+ var Qe, Zt = w === "x" ? M : S, er = w === "x" ? N : k, J = b[x], Ee = x === "y" ? "height" : "width", Ze = J + l[Zt], et = J - l[er], Le = [M, S].indexOf(y) !== -1, tt = (Qe = P == null ? void 0 : P[x]) != null ? Qe : 0, rt = Le ? Ze : J - E[Ee] - A[Ee] - tt + R.altAxis, nt = Le ? J + E[Ee] + A[Ee] - tt - R.altAxis : et, ot = d && Le ? Dr(rt, J, nt) : le(d ? rt : Ze, J, d ? nt : et);
793
+ b[x] = ot, B[x] = ot - J;
794
+ }
795
+ t.modifiersData[n] = B;
796
+ }
797
+ }
798
+ const an = {
799
+ name: "preventOverflow",
800
+ enabled: !0,
801
+ phase: "main",
802
+ fn: on,
803
+ requiresIfExists: ["offset"]
804
+ };
805
+ function sn(e) {
806
+ return {
807
+ scrollLeft: e.scrollLeft,
808
+ scrollTop: e.scrollTop
809
+ };
810
+ }
811
+ function cn(e) {
812
+ return e === W(e) || !_(e) ? Xe(e) : sn(e);
813
+ }
814
+ function un(e) {
815
+ var t = e.getBoundingClientRect(), r = ne(t.width) / e.offsetWidth || 1, n = ne(t.height) / e.offsetHeight || 1;
816
+ return r !== 1 || n !== 1;
817
+ }
818
+ function fn(e, t, r) {
819
+ r === void 0 && (r = !1);
820
+ var n = _(t), o = _(t) && un(t), i = Y(t), u = oe(e, o, r), c = {
821
+ scrollLeft: 0,
822
+ scrollTop: 0
823
+ }, a = {
824
+ x: 0,
825
+ y: 0
826
+ };
827
+ return (n || !n && !r) && ((X(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
828
+ Ke(i)) && (c = cn(t)), _(t) ? (a = oe(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : i && (a.x = Ye(i))), {
829
+ x: u.left + c.scrollLeft - a.x,
830
+ y: u.top + c.scrollTop - a.y,
831
+ width: u.width,
832
+ height: u.height
833
+ };
834
+ }
835
+ function ln(e) {
836
+ var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
837
+ e.forEach(function(i) {
838
+ t.set(i.name, i);
839
+ });
840
+ function o(i) {
841
+ r.add(i.name);
842
+ var u = [].concat(i.requires || [], i.requiresIfExists || []);
843
+ u.forEach(function(c) {
844
+ if (!r.has(c)) {
845
+ var a = t.get(c);
846
+ a && o(a);
847
+ }
848
+ }), n.push(i);
849
+ }
850
+ return e.forEach(function(i) {
851
+ r.has(i.name) || o(i);
852
+ }), n;
853
+ }
854
+ function dn(e) {
855
+ var t = ln(e);
856
+ return Ar.reduce(function(r, n) {
857
+ return r.concat(t.filter(function(o) {
858
+ return o.phase === n;
859
+ }));
860
+ }, []);
861
+ }
862
+ function pn(e) {
863
+ var t;
864
+ return function() {
865
+ return t || (t = new Promise(function(r) {
866
+ Promise.resolve().then(function() {
867
+ t = void 0, r(e());
868
+ });
869
+ })), t;
870
+ };
871
+ }
872
+ function vn(e) {
873
+ var t = e.reduce(function(r, n) {
874
+ var o = r[n.name];
875
+ return r[n.name] = o ? Object.assign({}, o, n, {
876
+ options: Object.assign({}, o.options, n.options),
877
+ data: Object.assign({}, o.data, n.data)
878
+ }) : n, r;
879
+ }, {});
880
+ return Object.keys(t).map(function(r) {
881
+ return t[r];
882
+ });
883
+ }
884
+ var wt = {
885
+ placement: "bottom",
886
+ modifiers: [],
887
+ strategy: "absolute"
888
+ };
889
+ function bt() {
890
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
891
+ t[r] = arguments[r];
892
+ return !t.some(function(n) {
893
+ return !(n && typeof n.getBoundingClientRect == "function");
894
+ });
895
+ }
896
+ function hn(e) {
897
+ e === void 0 && (e = {});
898
+ var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, i = o === void 0 ? wt : o;
899
+ return function(c, a, f) {
900
+ f === void 0 && (f = i);
901
+ var s = {
902
+ placement: "bottom",
903
+ orderedModifiers: [],
904
+ options: Object.assign({}, wt, i),
905
+ modifiersData: {},
906
+ elements: {
907
+ reference: c,
908
+ popper: a
909
+ },
910
+ attributes: {},
911
+ styles: {}
912
+ }, p = [], h = !1, d = {
913
+ state: s,
914
+ setOptions: function(y) {
915
+ var m = typeof y == "function" ? y(s.options) : y;
916
+ g(), s.options = Object.assign({}, i, s.options, m), s.scrollParents = {
917
+ reference: Z(c) ? de(c) : c.contextElement ? de(c.contextElement) : [],
918
+ popper: de(a)
919
+ };
920
+ var O = dn(vn([].concat(n, s.options.modifiers)));
921
+ return s.orderedModifiers = O.filter(function(w) {
922
+ return w.enabled;
923
+ }), v(), d.update();
924
+ },
925
+ // Sync update – it will always be executed, even if not necessary. This
926
+ // is useful for low frequency updates where sync behavior simplifies the
927
+ // logic.
928
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
929
+ // prefer the async Popper#update method
930
+ forceUpdate: function() {
931
+ if (!h) {
932
+ var y = s.elements, m = y.reference, O = y.popper;
933
+ if (bt(m, O)) {
934
+ s.rects = {
935
+ reference: fn(m, ye(O), s.options.strategy === "fixed"),
936
+ popper: qe(O)
937
+ }, s.reset = !1, s.placement = s.options.placement, s.orderedModifiers.forEach(function(R) {
938
+ return s.modifiersData[R.name] = Object.assign({}, R.data);
939
+ });
940
+ for (var w = 0; w < s.orderedModifiers.length; w++) {
941
+ if (s.reset === !0) {
942
+ s.reset = !1, w = -1;
943
+ continue;
944
+ }
945
+ var x = s.orderedModifiers[w], b = x.fn, E = x.options, A = E === void 0 ? {} : E, j = x.name;
946
+ typeof b == "function" && (s = b({
947
+ state: s,
948
+ options: A,
949
+ name: j,
950
+ instance: d
951
+ }) || s);
952
+ }
953
+ }
954
+ }
955
+ },
956
+ // Async and optimistically optimized update – it will not be executed if
957
+ // not necessary (debounced to run at most once-per-tick)
958
+ update: pn(function() {
959
+ return new Promise(function(l) {
960
+ d.forceUpdate(), l(s);
961
+ });
962
+ }),
963
+ destroy: function() {
964
+ g(), h = !0;
965
+ }
966
+ };
967
+ if (!bt(c, a))
968
+ return d;
969
+ d.setOptions(f).then(function(l) {
970
+ !h && f.onFirstUpdate && f.onFirstUpdate(l);
971
+ });
972
+ function v() {
973
+ s.orderedModifiers.forEach(function(l) {
974
+ var y = l.name, m = l.options, O = m === void 0 ? {} : m, w = l.effect;
975
+ if (typeof w == "function") {
976
+ var x = w({
977
+ state: s,
978
+ name: y,
979
+ instance: d,
980
+ options: O
981
+ }), b = function() {
982
+ };
983
+ p.push(x || b);
984
+ }
985
+ });
986
+ }
987
+ function g() {
988
+ p.forEach(function(l) {
989
+ return l();
990
+ }), p = [];
991
+ }
992
+ return d;
993
+ };
994
+ }
995
+ const mn = hn({
996
+ defaultModifiers: [Jr, rn, Wr, Nr, en, Kr, an, Mr]
997
+ }), gn = ["enabled", "placement", "strategy", "modifiers"];
998
+ function yn(e, t) {
999
+ if (e == null)
1000
+ return {};
1001
+ var r = {}, n = Object.keys(e), o, i;
1002
+ for (i = 0; i < n.length; i++)
1003
+ o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
1004
+ return r;
1005
+ }
1006
+ const wn = {
1007
+ name: "applyStyles",
1008
+ enabled: !1,
1009
+ phase: "afterWrite",
1010
+ fn: () => {
1011
+ }
1012
+ }, bn = {
1013
+ name: "ariaDescribedBy",
1014
+ enabled: !0,
1015
+ phase: "afterWrite",
1016
+ effect: ({
1017
+ state: e
1018
+ }) => () => {
1019
+ const {
1020
+ reference: t,
1021
+ popper: r
1022
+ } = e.elements;
1023
+ if ("removeAttribute" in t) {
1024
+ const n = (t.getAttribute("aria-describedby") || "").split(",").filter((o) => o.trim() !== r.id);
1025
+ n.length ? t.setAttribute("aria-describedby", n.join(",")) : t.removeAttribute("aria-describedby");
1026
+ }
1027
+ },
1028
+ fn: ({
1029
+ state: e
1030
+ }) => {
1031
+ var t;
1032
+ const {
1033
+ popper: r,
1034
+ reference: n
1035
+ } = e.elements, o = (t = r.getAttribute("role")) == null ? void 0 : t.toLowerCase();
1036
+ if (r.id && o === "tooltip" && "setAttribute" in n) {
1037
+ const i = n.getAttribute("aria-describedby");
1038
+ if (i && i.split(",").indexOf(r.id) !== -1)
1039
+ return;
1040
+ n.setAttribute("aria-describedby", i ? `${i},${r.id}` : r.id);
1041
+ }
1042
+ }
1043
+ }, On = [];
1044
+ function xn(e, t, r = {}) {
1045
+ let {
1046
+ enabled: n = !0,
1047
+ placement: o = "bottom",
1048
+ strategy: i = "absolute",
1049
+ modifiers: u = On
1050
+ } = r, c = yn(r, gn);
1051
+ const a = U(u), f = U(), s = F(() => {
1052
+ var l;
1053
+ (l = f.current) == null || l.update();
1054
+ }, []), p = F(() => {
1055
+ var l;
1056
+ (l = f.current) == null || l.forceUpdate();
1057
+ }, []), [h, d] = pr($e({
1058
+ placement: o,
1059
+ update: s,
1060
+ forceUpdate: p,
1061
+ attributes: {},
1062
+ styles: {
1063
+ popper: {},
1064
+ arrow: {}
1065
+ }
1066
+ })), v = De(() => ({
1067
+ name: "updateStateModifier",
1068
+ enabled: !0,
1069
+ phase: "write",
1070
+ requires: ["computeStyles"],
1071
+ fn: ({
1072
+ state: l
1073
+ }) => {
1074
+ const y = {}, m = {};
1075
+ Object.keys(l.elements).forEach((O) => {
1076
+ y[O] = l.styles[O], m[O] = l.attributes[O];
1077
+ }), d({
1078
+ state: l,
1079
+ styles: y,
1080
+ attributes: m,
1081
+ update: s,
1082
+ forceUpdate: p,
1083
+ placement: l.placement
1084
+ });
1085
+ }
1086
+ }), [s, p, d]), g = De(() => (fe(a.current, u) || (a.current = u), a.current), [u]);
1087
+ return pe(() => {
1088
+ !f.current || !n || f.current.setOptions({
1089
+ placement: o,
1090
+ strategy: i,
1091
+ modifiers: [...g, v, wn]
1092
+ });
1093
+ }, [i, o, v, n, g]), pe(() => {
1094
+ if (!(!n || e == null || t == null))
1095
+ return f.current = mn(e, t, Object.assign({}, c, {
1096
+ placement: o,
1097
+ strategy: i,
1098
+ modifiers: [...g, bn, v]
1099
+ })), () => {
1100
+ f.current != null && (f.current.destroy(), f.current = void 0, d((l) => Object.assign({}, l, {
1101
+ attributes: {},
1102
+ styles: {
1103
+ popper: {}
1104
+ }
1105
+ })));
1106
+ };
1107
+ }, [n, e, t]), h;
1108
+ }
1109
+ var En = process.env.NODE_ENV !== "production", Nt = function() {
1110
+ };
1111
+ if (En) {
1112
+ var Rn = function(t, r) {
1113
+ var n = arguments.length;
1114
+ r = new Array(n > 1 ? n - 1 : 0);
1115
+ for (var o = 1; o < n; o++)
1116
+ r[o - 1] = arguments[o];
1117
+ var i = 0, u = "Warning: " + t.replace(/%s/g, function() {
1118
+ return r[i++];
1119
+ });
1120
+ typeof console < "u" && console.error(u);
1121
+ try {
1122
+ throw new Error(u);
1123
+ } catch {
1124
+ }
1125
+ };
1126
+ Nt = function(e, t, r) {
1127
+ var n = arguments.length;
1128
+ r = new Array(n > 2 ? n - 2 : 0);
1129
+ for (var o = 2; o < n; o++)
1130
+ r[o - 2] = arguments[o];
1131
+ if (t === void 0)
1132
+ throw new Error(
1133
+ "`warning(condition, format, ...args)` requires a warning message argument"
1134
+ );
1135
+ e || Rn.apply(null, [t].concat(r));
1136
+ };
1137
+ }
1138
+ var An = Nt;
1139
+ const kt = /* @__PURE__ */ tr(An), Ot = () => {
1140
+ };
1141
+ function jn(e) {
1142
+ return e.button === 0;
1143
+ }
1144
+ function Pn(e) {
1145
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1146
+ }
1147
+ const je = (e) => e && ("current" in e ? e.current : e), xt = {
1148
+ click: "mousedown",
1149
+ mouseup: "mousedown",
1150
+ pointerup: "pointerdown"
1151
+ };
1152
+ function Dn(e, t = Ot, {
1153
+ disabled: r,
1154
+ clickTrigger: n = "click"
1155
+ } = {}) {
1156
+ const o = U(!1), i = U(!1), u = F((f) => {
1157
+ const s = je(e);
1158
+ kt(!!s, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), o.current = !s || Pn(f) || !jn(f) || !!We(s, f.target) || i.current, i.current = !1;
1159
+ }, [e]), c = Pe((f) => {
1160
+ const s = je(e);
1161
+ s && We(s, f.target) && (i.current = !0);
1162
+ }), a = Pe((f) => {
1163
+ o.current || t(f);
1164
+ });
1165
+ pe(() => {
1166
+ var f, s;
1167
+ if (r || e == null)
1168
+ return;
1169
+ const p = At(je(e)), h = p.defaultView || window;
1170
+ let d = (f = h.event) != null ? f : (s = h.parent) == null ? void 0 : s.event, v = null;
1171
+ xt[n] && (v = ue(p, xt[n], c, !0));
1172
+ const g = ue(p, n, u, !0), l = ue(p, n, (m) => {
1173
+ if (m === d) {
1174
+ d = void 0;
1175
+ return;
1176
+ }
1177
+ a(m);
1178
+ });
1179
+ let y = [];
1180
+ return "ontouchstart" in p.documentElement && (y = [].slice.call(p.body.children).map((m) => ue(m, "mousemove", Ot))), () => {
1181
+ v == null || v(), g(), l(), y.forEach((m) => m());
1182
+ };
1183
+ }, [e, r, n, u, c, a]);
1184
+ }
1185
+ function Tn(e) {
1186
+ const t = {};
1187
+ return Array.isArray(e) ? (e == null || e.forEach((r) => {
1188
+ t[r.name] = r;
1189
+ }), t) : e || t;
1190
+ }
1191
+ function $n(e = {}) {
1192
+ return Array.isArray(e) ? e : Object.keys(e).map((t) => (e[t].name = t, e[t]));
1193
+ }
1194
+ function Cn({
1195
+ enabled: e,
1196
+ enableEvents: t,
1197
+ placement: r,
1198
+ flip: n,
1199
+ offset: o,
1200
+ fixed: i,
1201
+ containerPadding: u,
1202
+ arrowElement: c,
1203
+ popperConfig: a = {}
1204
+ }) {
1205
+ var f, s, p, h, d;
1206
+ const v = Tn(a.modifiers);
1207
+ return Object.assign({}, a, {
1208
+ placement: r,
1209
+ enabled: e,
1210
+ strategy: i ? "fixed" : a.strategy,
1211
+ modifiers: $n(Object.assign({}, v, {
1212
+ eventListeners: {
1213
+ enabled: t,
1214
+ options: (f = v.eventListeners) == null ? void 0 : f.options
1215
+ },
1216
+ preventOverflow: Object.assign({}, v.preventOverflow, {
1217
+ options: u ? Object.assign({
1218
+ padding: u
1219
+ }, (s = v.preventOverflow) == null ? void 0 : s.options) : (p = v.preventOverflow) == null ? void 0 : p.options
1220
+ }),
1221
+ offset: {
1222
+ options: Object.assign({
1223
+ offset: o
1224
+ }, (h = v.offset) == null ? void 0 : h.options)
1225
+ },
1226
+ arrow: Object.assign({}, v.arrow, {
1227
+ enabled: !!c,
1228
+ options: Object.assign({}, (d = v.arrow) == null ? void 0 : d.options, {
1229
+ element: c
1230
+ })
1231
+ }),
1232
+ flip: Object.assign({
1233
+ enabled: !!n
1234
+ }, v.flip)
1235
+ }))
1236
+ });
1237
+ }
1238
+ const Mn = () => {
1239
+ };
1240
+ function Sn(e, t, {
1241
+ disabled: r,
1242
+ clickTrigger: n
1243
+ } = {}) {
1244
+ const o = t || Mn;
1245
+ Dn(e, o, {
1246
+ disabled: r,
1247
+ clickTrigger: n
1248
+ });
1249
+ const i = Pe((u) => {
1250
+ or(u) && o(u);
1251
+ });
1252
+ pe(() => {
1253
+ if (r || e == null)
1254
+ return;
1255
+ const u = At(je(e));
1256
+ let c = (u.defaultView || window).event;
1257
+ const a = ue(u, "keyup", (f) => {
1258
+ if (f === c) {
1259
+ c = void 0;
1260
+ return;
1261
+ }
1262
+ i(f);
1263
+ });
1264
+ return () => {
1265
+ a();
1266
+ };
1267
+ }, [e, r, i]);
1268
+ }
1269
+ const Ht = /* @__PURE__ */ z.forwardRef((e, t) => {
1270
+ const {
1271
+ flip: r,
1272
+ offset: n,
1273
+ placement: o,
1274
+ containerPadding: i,
1275
+ popperConfig: u = {},
1276
+ transition: c,
1277
+ runTransition: a
1278
+ } = e, [f, s] = it(), [p, h] = it(), d = _e(s, t), v = at(e.container), g = at(e.target), [l, y] = $e(!e.show), m = xn(g, f, Cn({
1279
+ placement: o,
1280
+ enableEvents: !!e.show,
1281
+ containerPadding: i || 5,
1282
+ flip: r,
1283
+ offset: n,
1284
+ arrowElement: p,
1285
+ popperConfig: u
1286
+ }));
1287
+ e.show && l && y(!1);
1288
+ const O = (...P) => {
1289
+ y(!0), e.onExited && e.onExited(...P);
1290
+ }, w = e.show || !l;
1291
+ if (Sn(f, e.onHide, {
1292
+ disabled: !e.rootClose || e.rootCloseDisabled,
1293
+ clickTrigger: e.rootCloseEvent
1294
+ }), !w)
1295
+ return null;
1296
+ const {
1297
+ onExit: x,
1298
+ onExiting: b,
1299
+ onEnter: E,
1300
+ onEntering: A,
1301
+ onEntered: j
1302
+ } = e;
1303
+ let R = e.children(Object.assign({}, m.attributes.popper, {
1304
+ style: m.styles.popper,
1305
+ ref: d
1306
+ }), {
1307
+ popper: m,
1308
+ placement: o,
1309
+ show: !!e.show,
1310
+ arrowProps: Object.assign({}, m.attributes.arrow, {
1311
+ style: m.styles.arrow,
1312
+ ref: h
1313
+ })
1314
+ });
1315
+ return R = ir(c, a, {
1316
+ in: !!e.show,
1317
+ appear: !0,
1318
+ mountOnEnter: !0,
1319
+ unmountOnExit: !0,
1320
+ children: R,
1321
+ onExit: x,
1322
+ onExiting: b,
1323
+ onExited: O,
1324
+ onEnter: E,
1325
+ onEntering: A,
1326
+ onEntered: j
1327
+ }), v ? /* @__PURE__ */ ur.createPortal(R, v) : null;
1328
+ });
1329
+ Ht.displayName = "Overlay";
1330
+ const Bn = Ht, It = /* @__PURE__ */ z.forwardRef(({
1331
+ className: e,
1332
+ bsPrefix: t,
1333
+ as: r = "div",
1334
+ ...n
1335
+ }, o) => (t = te(t, "popover-header"), /* @__PURE__ */ C.jsx(r, {
1336
+ ref: o,
1337
+ className: me(e, t),
1338
+ ...n
1339
+ })));
1340
+ It.displayName = "PopoverHeader";
1341
+ const Ln = It, _t = /* @__PURE__ */ z.forwardRef(({
1342
+ className: e,
1343
+ bsPrefix: t,
1344
+ as: r = "div",
1345
+ ...n
1346
+ }, o) => (t = te(t, "popover-body"), /* @__PURE__ */ C.jsx(r, {
1347
+ ref: o,
1348
+ className: me(e, t),
1349
+ ...n
1350
+ })));
1351
+ _t.displayName = "PopoverBody";
1352
+ const Ut = _t;
1353
+ function Vt(e, t) {
1354
+ let r = e;
1355
+ return e === "left" ? r = t ? "end" : "start" : e === "right" && (r = t ? "start" : "end"), r;
1356
+ }
1357
+ function qt(e = "absolute") {
1358
+ return {
1359
+ position: e,
1360
+ top: "0",
1361
+ left: "0",
1362
+ opacity: "0",
1363
+ pointerEvents: "none"
1364
+ };
1365
+ }
1366
+ const Wn = /* @__PURE__ */ z.forwardRef(({
1367
+ bsPrefix: e,
1368
+ placement: t = "right",
1369
+ className: r,
1370
+ style: n,
1371
+ children: o,
1372
+ body: i,
1373
+ arrowProps: u,
1374
+ hasDoneInitialMeasure: c,
1375
+ popper: a,
1376
+ show: f,
1377
+ ...s
1378
+ }, p) => {
1379
+ const h = te(e, "popover"), d = jt(), [v] = (t == null ? void 0 : t.split("-")) || [], g = Vt(v, d);
1380
+ let l = n;
1381
+ return f && !c && (l = {
1382
+ ...n,
1383
+ ...qt(a == null ? void 0 : a.strategy)
1384
+ }), /* @__PURE__ */ C.jsxs("div", {
1385
+ ref: p,
1386
+ role: "tooltip",
1387
+ style: l,
1388
+ "x-placement": v,
1389
+ className: me(r, h, v && `bs-popover-${g}`),
1390
+ ...s,
1391
+ children: [/* @__PURE__ */ C.jsx("div", {
1392
+ className: "popover-arrow",
1393
+ ...u
1394
+ }), i ? /* @__PURE__ */ C.jsx(Ut, {
1395
+ children: o
1396
+ }) : o]
1397
+ });
1398
+ }), Fn = Object.assign(Wn, {
1399
+ Header: Ln,
1400
+ Body: Ut,
1401
+ // Default popover offset.
1402
+ // https://github.com/twbs/bootstrap/blob/5c32767e0e0dbac2d934bcdee03719a65d3f1187/js/src/popover.js#L28
1403
+ POPPER_OFFSET: [0, 8]
1404
+ }), zt = /* @__PURE__ */ z.forwardRef(({
1405
+ bsPrefix: e,
1406
+ placement: t = "right",
1407
+ className: r,
1408
+ style: n,
1409
+ children: o,
1410
+ arrowProps: i,
1411
+ hasDoneInitialMeasure: u,
1412
+ popper: c,
1413
+ show: a,
1414
+ ...f
1415
+ }, s) => {
1416
+ e = te(e, "tooltip");
1417
+ const p = jt(), [h] = (t == null ? void 0 : t.split("-")) || [], d = Vt(h, p);
1418
+ let v = n;
1419
+ return a && !u && (v = {
1420
+ ...n,
1421
+ ...qt(c == null ? void 0 : c.strategy)
1422
+ }), /* @__PURE__ */ C.jsxs("div", {
1423
+ ref: s,
1424
+ style: v,
1425
+ role: "tooltip",
1426
+ "x-placement": h,
1427
+ className: me(r, e, `bs-tooltip-${d}`),
1428
+ ...f,
1429
+ children: [/* @__PURE__ */ C.jsx("div", {
1430
+ className: "tooltip-arrow",
1431
+ ...i
1432
+ }), /* @__PURE__ */ C.jsx("div", {
1433
+ className: `${e}-inner`,
1434
+ children: o
1435
+ })]
1436
+ });
1437
+ });
1438
+ zt.displayName = "Tooltip";
1439
+ const Xt = Object.assign(zt, {
1440
+ // Default tooltip offset.
1441
+ // https://github.com/twbs/bootstrap/blob/beca2a6c7f6bc88b6449339fc76edcda832c59e5/js/src/tooltip.js#L65
1442
+ TOOLTIP_OFFSET: [0, 6]
1443
+ });
1444
+ function Nn(e) {
1445
+ const t = U(null), r = te(void 0, "popover"), n = te(void 0, "tooltip"), o = De(() => ({
1446
+ name: "offset",
1447
+ options: {
1448
+ offset: () => {
1449
+ if (e)
1450
+ return e;
1451
+ if (t.current) {
1452
+ if (st(t.current, r))
1453
+ return Fn.POPPER_OFFSET;
1454
+ if (st(t.current, n))
1455
+ return Xt.TOOLTIP_OFFSET;
1456
+ }
1457
+ return [0, 0];
1458
+ }
1459
+ }
1460
+ }), [e, r, n]);
1461
+ return [t, [o]];
1462
+ }
1463
+ function kn(e, t) {
1464
+ const {
1465
+ ref: r
1466
+ } = e, {
1467
+ ref: n
1468
+ } = t;
1469
+ e.ref = r.__wrapped || (r.__wrapped = (o) => r(Fe(o))), t.ref = n.__wrapped || (n.__wrapped = (o) => n(Fe(o)));
1470
+ }
1471
+ const Yt = /* @__PURE__ */ z.forwardRef(({
1472
+ children: e,
1473
+ transition: t = ct,
1474
+ popperConfig: r = {},
1475
+ rootClose: n = !1,
1476
+ placement: o = "top",
1477
+ show: i = !1,
1478
+ ...u
1479
+ }, c) => {
1480
+ const a = U({}), [f, s] = $e(null), [p, h] = Nn(u.offset), d = _e(c, p), v = t === !0 ? ct : t || void 0, g = Pe((l) => {
1481
+ s(l), r == null || r.onFirstUpdate == null || r.onFirstUpdate(l);
1482
+ });
1483
+ return ar(() => {
1484
+ f && u.target && (a.current.scheduleUpdate == null || a.current.scheduleUpdate());
1485
+ }, [f, u.target]), pe(() => {
1486
+ i || s(null);
1487
+ }, [i]), /* @__PURE__ */ C.jsx(Bn, {
1488
+ ...u,
1489
+ ref: d,
1490
+ popperConfig: {
1491
+ ...r,
1492
+ modifiers: h.concat(r.modifiers || []),
1493
+ onFirstUpdate: g
1494
+ },
1495
+ transition: v,
1496
+ rootClose: n,
1497
+ placement: o,
1498
+ show: i,
1499
+ children: (l, {
1500
+ arrowProps: y,
1501
+ popper: m,
1502
+ show: O
1503
+ }) => {
1504
+ var w, x;
1505
+ kn(l, y);
1506
+ const b = m == null ? void 0 : m.placement, E = Object.assign(a.current, {
1507
+ state: m == null ? void 0 : m.state,
1508
+ scheduleUpdate: m == null ? void 0 : m.update,
1509
+ placement: b,
1510
+ outOfBoundaries: (m == null || (w = m.state) == null || (x = w.modifiersData.hide) == null ? void 0 : x.isReferenceHidden) || !1,
1511
+ strategy: r.strategy
1512
+ }), A = !!f;
1513
+ return typeof e == "function" ? e({
1514
+ ...l,
1515
+ placement: b,
1516
+ show: O,
1517
+ ...!t && O && {
1518
+ className: "show"
1519
+ },
1520
+ popper: E,
1521
+ arrowProps: y,
1522
+ hasDoneInitialMeasure: A
1523
+ }) : /* @__PURE__ */ z.cloneElement(e, {
1524
+ ...l,
1525
+ placement: b,
1526
+ arrowProps: y,
1527
+ popper: E,
1528
+ hasDoneInitialMeasure: A,
1529
+ className: me(e.props.className, !t && O && "show"),
1530
+ style: {
1531
+ ...e.props.style,
1532
+ ...l.style
1533
+ }
1534
+ });
1535
+ }
1536
+ });
1537
+ });
1538
+ Yt.displayName = "Overlay";
1539
+ const Hn = Yt;
1540
+ function In(e) {
1541
+ return e && typeof e == "object" ? e : {
1542
+ show: e,
1543
+ hide: e
1544
+ };
1545
+ }
1546
+ function Et(e, t, r) {
1547
+ const [n] = t, o = n.currentTarget, i = n.relatedTarget || n.nativeEvent[r];
1548
+ (!i || i !== o) && !We(o, i) && e(...t);
1549
+ }
1550
+ sr.oneOf(["click", "hover", "focus"]);
1551
+ const _n = ({
1552
+ trigger: e = ["hover", "focus"],
1553
+ overlay: t,
1554
+ children: r,
1555
+ popperConfig: n = {},
1556
+ show: o,
1557
+ defaultShow: i = !1,
1558
+ onToggle: u,
1559
+ delay: c,
1560
+ placement: a,
1561
+ flip: f = a && a.indexOf("auto") !== -1,
1562
+ ...s
1563
+ }) => {
1564
+ const p = U(null), h = _e(p, r.ref), d = dr(), v = U(""), [g, l] = Pt(o, i, u), y = In(c), {
1565
+ onFocus: m,
1566
+ onBlur: O,
1567
+ onClick: w
1568
+ } = typeof r != "function" ? z.Children.only(r).props : {}, x = (T) => {
1569
+ h(Fe(T));
1570
+ }, b = F(() => {
1571
+ if (d.clear(), v.current = "show", !y.show) {
1572
+ l(!0);
1573
+ return;
1574
+ }
1575
+ d.set(() => {
1576
+ v.current === "show" && l(!0);
1577
+ }, y.show);
1578
+ }, [y.show, l, d]), E = F(() => {
1579
+ if (d.clear(), v.current = "hide", !y.hide) {
1580
+ l(!1);
1581
+ return;
1582
+ }
1583
+ d.set(() => {
1584
+ v.current === "hide" && l(!1);
1585
+ }, y.hide);
1586
+ }, [y.hide, l, d]), A = F((...T) => {
1587
+ b(), m == null || m(...T);
1588
+ }, [b, m]), j = F((...T) => {
1589
+ E(), O == null || O(...T);
1590
+ }, [E, O]), R = F((...T) => {
1591
+ l(!g), w == null || w(...T);
1592
+ }, [w, l, g]), P = F((...T) => {
1593
+ Et(b, T, "fromElement");
1594
+ }, [b]), B = F((...T) => {
1595
+ Et(E, T, "toElement");
1596
+ }, [E]), D = e == null ? [] : [].concat(e), $ = {
1597
+ ref: x
1598
+ };
1599
+ return D.indexOf("click") !== -1 && ($.onClick = R), D.indexOf("focus") !== -1 && ($.onFocus = A, $.onBlur = j), D.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && kt(D.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.'), $.onMouseOver = P, $.onMouseOut = B), /* @__PURE__ */ C.jsxs(C.Fragment, {
1600
+ children: [typeof r == "function" ? r($) : /* @__PURE__ */ cr(r, $), /* @__PURE__ */ C.jsx(Hn, {
1601
+ ...s,
1602
+ show: g,
1603
+ onHide: E,
1604
+ flip: f,
1605
+ placement: a,
1606
+ popperConfig: n,
1607
+ target: p.current,
1608
+ children: t
1609
+ })]
1610
+ });
1611
+ }, Un = _n, Kn = ({ text: e, placement: t, children: r }) => /* @__PURE__ */ C.jsx(Un, { placement: t, overlay: /* @__PURE__ */ C.jsx(Xt, { className: "luminus-tooltip", children: e }), children: r });
1612
+ export {
1613
+ Un as O,
1614
+ Fn as P,
1615
+ Kn as S,
1616
+ Xt as T,
1617
+ Dn as a,
1618
+ Yn as b,
1619
+ Cn as m,
1620
+ xn as u,
1621
+ kt as w
1622
+ };