@dialpad/dialtone-vue 3.92.1 → 3.93.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 (36) hide show
  1. package/CHANGELOG.json +1 -1
  2. package/CHANGELOG.md +28 -0
  3. package/dist/component-documentation.json +1 -1
  4. package/dist/dialtone-vue.cjs +5 -5
  5. package/dist/dialtone-vue.js +2541 -2247
  6. package/dist/directives.cjs +1 -1
  7. package/dist/directives.js +32 -63
  8. package/dist/emoji-125c2250.cjs +1 -0
  9. package/dist/{emoji-8734fb7e.js → emoji-ee056efb.js} +237 -228
  10. package/dist/emoji.cjs +1 -1
  11. package/dist/emoji.js +3 -3
  12. package/dist/{message_input-15d74c9c.cjs → message_input-2f040a4e.cjs} +15 -15
  13. package/dist/{message_input-42cfff5f.js → message_input-97a05856.js} +181 -163
  14. package/dist/message_input.cjs +1 -1
  15. package/dist/message_input.js +3 -3
  16. package/dist/style.css +1 -1
  17. package/dist/{tooltip-5fcb8c80.js → tooltip-02b802bc.js} +504 -475
  18. package/dist/tooltip-3390fc3b.cjs +25 -0
  19. package/dist/types/common/dates.d.ts +49 -0
  20. package/dist/types/common/dates.d.ts.map +1 -0
  21. package/dist/types/common/utils.d.ts +8 -0
  22. package/dist/types/common/utils.d.ts.map +1 -1
  23. package/dist/types/components/button/button.vue.d.ts +2 -1
  24. package/dist/types/components/button/button.vue.d.ts.map +1 -1
  25. package/dist/types/components/tooltip/tooltip.vue.d.ts +23 -1
  26. package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  27. package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +0 -1
  28. package/dist/types/directives/tooltip/tooltip.d.ts.map +1 -1
  29. package/dist/types/index.d.ts +1 -0
  30. package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts +9 -0
  31. package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts.map +1 -1
  32. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts +15 -0
  33. package/dist/types/recipes/conversation_view/message_input/message_input.vue.d.ts.map +1 -1
  34. package/package.json +8 -5
  35. package/dist/emoji-1de73abd.cjs +0 -1
  36. package/dist/tooltip-a095f59b.cjs +0 -25
@@ -3,22 +3,22 @@ const ge = {
3
3
  ERROR: "error",
4
4
  WARNING: "warning",
5
5
  SUCCESS: "success"
6
- }, ko = {
6
+ }, Vo = {
7
7
  LARGE: "lg",
8
8
  EXTRA_LARGE: "xl"
9
- }, Vo = {
9
+ }, _o = {
10
10
  xs: "",
11
11
  sm: "",
12
12
  md: "",
13
13
  lg: "d-description--lg",
14
14
  xl: "d-description--xl"
15
- }, _o = {
15
+ }, Bo = {
16
16
  xs: "d-label--xs",
17
17
  sm: "d-label--sm",
18
18
  md: "",
19
19
  lg: "d-label--lg",
20
20
  xl: "d-label--xl"
21
- }, Bo = {
21
+ }, $o = {
22
22
  esc: "Esc",
23
23
  escape: "Escape",
24
24
  tab: "Tab",
@@ -35,18 +35,18 @@ const ge = {
35
35
  arrowdown: "ArrowDown",
36
36
  home: "Home",
37
37
  end: "End"
38
- }, cr = ge.ERROR, pr = "dt";
39
- let lr = 0, kt;
38
+ }, cr = ge.ERROR, lr = "dt";
39
+ let pr = 0, kt;
40
40
  const fr = typeof setImmediate == "function" ? setImmediate : setTimeout;
41
- function cn(e = pr) {
42
- return `${e}${lr++}`;
41
+ function cn(e = lr) {
42
+ return `${e}${pr++}`;
43
43
  }
44
44
  function dr(e, t) {
45
45
  if (t) {
46
46
  const n = vr(t);
47
47
  return e[Math.abs(n) % e.length];
48
48
  } else
49
- return e[pn(e.length)];
49
+ return e[ln(e.length)];
50
50
  }
51
51
  function vr(e) {
52
52
  let t;
@@ -54,7 +54,7 @@ function vr(e) {
54
54
  t = Math.imul(31, t) + e.charCodeAt(n) | 0;
55
55
  return t;
56
56
  }
57
- function pn(e) {
57
+ function ln(e) {
58
58
  return Math.floor(Math.random() * e);
59
59
  }
60
60
  function hr(e) {
@@ -64,10 +64,10 @@ function hr(e) {
64
64
  } : t) : [];
65
65
  }
66
66
  function mr(e) {
67
- const t = ln(e);
67
+ const t = pn(e);
68
68
  return !e || !t ? [] : e.filter((n) => !!n.message && n.type === t);
69
69
  }
70
- function ln(e) {
70
+ function pn(e) {
71
71
  return e ? st(e, ge.ERROR) ? ge.ERROR : st(e, ge.WARNING) ? ge.WARNING : st(e, ge.SUCCESS) ? ge.SUCCESS : null : null;
72
72
  }
73
73
  function st(e, t) {
@@ -79,7 +79,7 @@ const gr = (e) => Yn("div", { innerHTML: e.html }), yr = () => new Promise((e) =
79
79
  function br(e, t = {}) {
80
80
  return e ? e(t).some((n) => n.type === Xn || Array.isArray(n.children) && !n.children.length ? !1 : n.type !== Gn || typeof n.children == "string" && n.children.trim() !== "") : !1;
81
81
  }
82
- const wr = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), $o = (e) => e.replace(/\.?([A-Z0-9]+)/g, (t, n) => "-" + n.toLowerCase()).replace(/^-/, ""), Er = (e) => {
82
+ const wr = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), Uo = (e) => e.replace(/\.?([A-Z0-9]+)/g, (t, n) => "-" + n.toLowerCase()).replace(/^-/, ""), Er = (e) => {
83
83
  const t = Object.entries(e).filter(([n]) => n.startsWith("on"));
84
84
  return Object.fromEntries(t);
85
85
  };
@@ -95,15 +95,15 @@ function xr(e) {
95
95
  };
96
96
  return n.any = Object.values(n).some((r) => r), n.all = Object.values(n).every((r) => r), n;
97
97
  }
98
- const Tr = /(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/, Ar = new RegExp(
98
+ const Ar = /(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/, Tr = new RegExp(
99
99
  "(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"
100
100
  ), Sr = new RegExp(
101
101
  "(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"
102
102
  ), fn = new RegExp(
103
103
  "(?:" + [
104
104
  [
105
- Tr.source,
106
- Ar.source
105
+ Ar.source,
106
+ Tr.source
107
107
  ].join("+"),
108
108
  Sr.source
109
109
  ].join("|") + ")"
@@ -140,29 +140,32 @@ const yn = gn(), Rr = new RegExp(
140
140
  ].join("|"),
141
141
  "gi"
142
142
  );
143
- function Cr(e) {
143
+ function Lr(e) {
144
144
  var t;
145
145
  return !e || !["string", "number"].includes(typeof e) ? !1 : (e = e.toString(), ((t = yn.exec(e)) == null ? void 0 : t[0]) === e);
146
146
  }
147
- function Pr(e) {
147
+ function Cr(e) {
148
148
  var t, n;
149
149
  return !e || typeof e != "string" ? !1 : ((t = vn.exec(e)) == null ? void 0 : t[0]) === e || ((n = hn.exec(e)) == null ? void 0 : n[0]) === e;
150
150
  }
151
- function Lr(e) {
151
+ function Pr(e) {
152
152
  var t;
153
153
  return !e || typeof e != "string" ? !1 : ((t = mn.exec(e)) == null ? void 0 : t[0]) === e;
154
154
  }
155
155
  function Nr(e) {
156
156
  return e.filter((t) => !!t).join(" ");
157
157
  }
158
+ function Ir(e, t = "en-US") {
159
+ return e.replace(/^\p{CWU}/u, (n) => n.toLocaleUpperCase(t));
160
+ }
158
161
  const Ho = {
159
162
  getUniqueString: cn,
160
163
  getRandomElement: dr,
161
- getRandomInt: pn,
164
+ getRandomInt: ln,
162
165
  formatMessages: hr,
163
166
  filterFormattedMessages: mr,
164
167
  hasFormattedMessageOfType: st,
165
- getValidationState: ln,
168
+ getValidationState: pn,
166
169
  htmlFragment: gr,
167
170
  flushPromises: yr,
168
171
  kebabCaseToPascalCase: wr,
@@ -171,16 +174,17 @@ const Ho = {
171
174
  isOutOfViewPort: xr,
172
175
  getPhoneNumberRegex: gn,
173
176
  linkRegex: Rr,
174
- isEmailAddress: Lr,
175
- isPhoneNumber: Cr,
176
- isURL: Pr,
177
- safeConcatStrings: Nr
177
+ isEmailAddress: Pr,
178
+ isPhoneNumber: Lr,
179
+ isURL: Cr,
180
+ safeConcatStrings: Nr,
181
+ capitalizeFirstLetter: Ir
178
182
  }, bn = (e, t) => {
179
183
  const n = e.__vccOpts || e;
180
184
  for (const [r, o] of t)
181
185
  n[r] = o;
182
186
  return n;
183
- }, Ir = {
187
+ }, Mr = {
184
188
  name: "DtLazyShow",
185
189
  inheritAttrs: !1,
186
190
  /******************
@@ -239,7 +243,7 @@ const Ho = {
239
243
  }
240
244
  }
241
245
  };
242
- function Mr(e, t, n, r, o, a) {
246
+ function jr(e, t, n, r, o, a) {
243
247
  return bt(), Kn(Zn, an({
244
248
  name: n.transition,
245
249
  appear: n.appear
@@ -254,12 +258,12 @@ function Mr(e, t, n, r, o, a) {
254
258
  _: 3
255
259
  }, 16, ["name", "appear", "css"]);
256
260
  }
257
- const jr = /* @__PURE__ */ bn(Ir, [["render", Mr]]);
258
- var B = "top", Y = "bottom", X = "right", $ = "left", lt = "auto", qe = [B, Y, X, $], Re = "start", He = "end", kr = "clippingParents", wn = "viewport", Ve = "popper", Vr = "reference", Vt = /* @__PURE__ */ qe.reduce(function(e, t) {
259
- return e.concat([t + "-" + Re, t + "-" + He]);
260
- }, []), En = /* @__PURE__ */ [].concat(qe, [lt]).reduce(function(e, t) {
261
- return e.concat([t, t + "-" + Re, t + "-" + He]);
262
- }, []), _r = "beforeRead", Br = "read", $r = "afterRead", Hr = "beforeMain", Ur = "main", Fr = "afterMain", Wr = "beforeWrite", qr = "write", zr = "afterWrite", Et = [_r, Br, $r, Hr, Ur, Fr, Wr, qr, zr];
261
+ const kr = /* @__PURE__ */ bn(Mr, [["render", jr]]);
262
+ var B = "top", Y = "bottom", X = "right", $ = "left", pt = "auto", qe = [B, Y, X, $], Re = "start", Ue = "end", Vr = "clippingParents", wn = "viewport", Ve = "popper", _r = "reference", Vt = /* @__PURE__ */ qe.reduce(function(e, t) {
263
+ return e.concat([t + "-" + Re, t + "-" + Ue]);
264
+ }, []), En = /* @__PURE__ */ [].concat(qe, [pt]).reduce(function(e, t) {
265
+ return e.concat([t, t + "-" + Re, t + "-" + Ue]);
266
+ }, []), Br = "beforeRead", $r = "read", Ur = "afterRead", Hr = "beforeMain", Fr = "main", Wr = "afterMain", qr = "beforeWrite", zr = "write", Yr = "afterWrite", Et = [Br, $r, Ur, Hr, Fr, Wr, qr, zr, Yr];
263
267
  function ne(e) {
264
268
  return e ? (e.nodeName || "").toLowerCase() : null;
265
269
  }
@@ -286,17 +290,17 @@ function Dt(e) {
286
290
  var t = q(e).ShadowRoot;
287
291
  return e instanceof t || e instanceof ShadowRoot;
288
292
  }
289
- function Yr(e) {
293
+ function Xr(e) {
290
294
  var t = e.state;
291
295
  Object.keys(t.elements).forEach(function(n) {
292
296
  var r = t.styles[n] || {}, o = t.attributes[n] || {}, a = t.elements[n];
293
- !W(a) || !ne(a) || (Object.assign(a.style, r), Object.keys(o).forEach(function(p) {
294
- var c = o[p];
295
- c === !1 ? a.removeAttribute(p) : a.setAttribute(p, c === !0 ? "" : c);
297
+ !W(a) || !ne(a) || (Object.assign(a.style, r), Object.keys(o).forEach(function(l) {
298
+ var c = o[l];
299
+ c === !1 ? a.removeAttribute(l) : a.setAttribute(l, c === !0 ? "" : c);
296
300
  }));
297
301
  });
298
302
  }
299
- function Xr(e) {
303
+ function Gr(e) {
300
304
  var t = e.state, n = {
301
305
  popper: {
302
306
  position: t.options.strategy,
@@ -311,7 +315,7 @@ function Xr(e) {
311
315
  };
312
316
  return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
313
317
  Object.keys(t.elements).forEach(function(r) {
314
- var o = t.elements[r], a = t.attributes[r] || {}, p = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), c = p.reduce(function(u, f) {
318
+ var o = t.elements[r], a = t.attributes[r] || {}, l = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), c = l.reduce(function(u, f) {
315
319
  return u[f] = "", u;
316
320
  }, {});
317
321
  !W(o) || !ne(o) || (Object.assign(o.style, c), Object.keys(a).forEach(function(u) {
@@ -324,14 +328,14 @@ const On = {
324
328
  name: "applyStyles",
325
329
  enabled: !0,
326
330
  phase: "write",
327
- fn: Yr,
328
- effect: Xr,
331
+ fn: Xr,
332
+ effect: Gr,
329
333
  requires: ["computeStyles"]
330
334
  };
331
335
  function K(e) {
332
336
  return e.split("-")[0];
333
337
  }
334
- var be = Math.max, ct = Math.min, Ce = Math.round;
338
+ var be = Math.max, ct = Math.min, Le = Math.round;
335
339
  function Ot() {
336
340
  var e = navigator.userAgentData;
337
341
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -341,24 +345,24 @@ function Ot() {
341
345
  function xn() {
342
346
  return !/^((?!chrome|android).)*safari/i.test(Ot());
343
347
  }
344
- function Pe(e, t, n) {
348
+ function Ce(e, t, n) {
345
349
  t === void 0 && (t = !1), n === void 0 && (n = !1);
346
350
  var r = e.getBoundingClientRect(), o = 1, a = 1;
347
- t && W(e) && (o = e.offsetWidth > 0 && Ce(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Ce(r.height) / e.offsetHeight || 1);
348
- var p = we(e) ? q(e) : window, c = p.visualViewport, u = !xn() && n, f = (r.left + (u && c ? c.offsetLeft : 0)) / o, l = (r.top + (u && c ? c.offsetTop : 0)) / a, g = r.width / o, x = r.height / a;
351
+ t && W(e) && (o = e.offsetWidth > 0 && Le(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Le(r.height) / e.offsetHeight || 1);
352
+ var l = we(e) ? q(e) : window, c = l.visualViewport, u = !xn() && n, f = (r.left + (u && c ? c.offsetLeft : 0)) / o, p = (r.top + (u && c ? c.offsetTop : 0)) / a, g = r.width / o, x = r.height / a;
349
353
  return {
350
354
  width: g,
351
355
  height: x,
352
- top: l,
356
+ top: p,
353
357
  right: f + g,
354
- bottom: l + x,
358
+ bottom: p + x,
355
359
  left: f,
356
360
  x: f,
357
- y: l
361
+ y: p
358
362
  };
359
363
  }
360
364
  function Rt(e) {
361
- var t = Pe(e), n = e.offsetWidth, r = e.offsetHeight;
365
+ var t = Ce(e), n = e.offsetWidth, r = e.offsetHeight;
362
366
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
363
367
  x: e.offsetLeft,
364
368
  y: e.offsetTop,
@@ -366,7 +370,7 @@ function Rt(e) {
366
370
  height: r
367
371
  };
368
372
  }
369
- function Tn(e, t) {
373
+ function An(e, t) {
370
374
  var n = t.getRootNode && t.getRootNode();
371
375
  if (e.contains(t))
372
376
  return !0;
@@ -383,10 +387,10 @@ function Tn(e, t) {
383
387
  function Z(e) {
384
388
  return q(e).getComputedStyle(e);
385
389
  }
386
- function Gr(e) {
390
+ function Kr(e) {
387
391
  return ["table", "td", "th"].indexOf(ne(e)) >= 0;
388
392
  }
389
- function le(e) {
393
+ function pe(e) {
390
394
  return ((we(e) ? e.ownerDocument : (
391
395
  // $FlowFixMe[prop-missing]
392
396
  e.document
@@ -401,14 +405,14 @@ function ft(e) {
401
405
  e.parentNode || // DOM Element detected
402
406
  (Dt(e) ? e.host : null) || // ShadowRoot detected
403
407
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
404
- le(e)
408
+ pe(e)
405
409
  );
406
410
  }
407
411
  function _t(e) {
408
412
  return !W(e) || // https://github.com/popperjs/popper-core/issues/837
409
413
  Z(e).position === "fixed" ? null : e.offsetParent;
410
414
  }
411
- function Kr(e) {
415
+ function Zr(e) {
412
416
  var t = /firefox/i.test(Ot()), n = /Trident/i.test(Ot());
413
417
  if (n && W(e)) {
414
418
  var r = Z(e);
@@ -425,21 +429,21 @@ function Kr(e) {
425
429
  return null;
426
430
  }
427
431
  function ze(e) {
428
- for (var t = q(e), n = _t(e); n && Gr(n) && Z(n).position === "static"; )
432
+ for (var t = q(e), n = _t(e); n && Kr(n) && Z(n).position === "static"; )
429
433
  n = _t(n);
430
- return n && (ne(n) === "html" || ne(n) === "body" && Z(n).position === "static") ? t : n || Kr(e) || t;
434
+ return n && (ne(n) === "html" || ne(n) === "body" && Z(n).position === "static") ? t : n || Zr(e) || t;
431
435
  }
432
- function Ct(e) {
436
+ function Lt(e) {
433
437
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
434
438
  }
435
439
  function _e(e, t, n) {
436
440
  return be(e, ct(t, n));
437
441
  }
438
- function Zr(e, t, n) {
442
+ function Jr(e, t, n) {
439
443
  var r = _e(e, t, n);
440
444
  return r > n ? n : r;
441
445
  }
442
- function An() {
446
+ function Tn() {
443
447
  return {
444
448
  top: 0,
445
449
  right: 0,
@@ -448,62 +452,62 @@ function An() {
448
452
  };
449
453
  }
450
454
  function Sn(e) {
451
- return Object.assign({}, An(), e);
455
+ return Object.assign({}, Tn(), e);
452
456
  }
453
457
  function Dn(e, t) {
454
458
  return t.reduce(function(n, r) {
455
459
  return n[r] = e, n;
456
460
  }, {});
457
461
  }
458
- var Jr = function(t, n) {
462
+ var Qr = function(t, n) {
459
463
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
460
464
  placement: n.placement
461
465
  })) : t, Sn(typeof t != "number" ? t : Dn(t, qe));
462
466
  };
463
- function Qr(e) {
464
- var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, p = n.modifiersData.popperOffsets, c = K(n.placement), u = Ct(c), f = [$, X].indexOf(c) >= 0, l = f ? "height" : "width";
465
- if (!(!a || !p)) {
466
- var g = Jr(o.padding, n), x = Rt(a), m = u === "y" ? B : $, w = u === "y" ? Y : X, y = n.rects.reference[l] + n.rects.reference[u] - p[u] - n.rects.popper[l], b = p[u] - n.rects.reference[u], A = ze(a), R = A ? u === "y" ? A.clientHeight || 0 : A.clientWidth || 0 : 0, P = y / 2 - b / 2, i = g[m], E = R - x[l] - g[w], d = R / 2 - x[l] / 2 + P, D = _e(i, d, E), I = u;
467
+ function ei(e) {
468
+ var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, l = n.modifiersData.popperOffsets, c = K(n.placement), u = Lt(c), f = [$, X].indexOf(c) >= 0, p = f ? "height" : "width";
469
+ if (!(!a || !l)) {
470
+ var g = Qr(o.padding, n), x = Rt(a), m = u === "y" ? B : $, w = u === "y" ? Y : X, y = n.rects.reference[p] + n.rects.reference[u] - l[u] - n.rects.popper[p], b = l[u] - n.rects.reference[u], T = ze(a), R = T ? u === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = y / 2 - b / 2, i = g[m], E = R - x[p] - g[w], d = R / 2 - x[p] / 2 + C, D = _e(i, d, E), I = u;
467
471
  n.modifiersData[r] = (t = {}, t[I] = D, t.centerOffset = D - d, t);
468
472
  }
469
473
  }
470
- function ei(e) {
474
+ function ti(e) {
471
475
  var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
472
476
  if (o != null && !(typeof o == "string" && (o = t.elements.popper.querySelector(o), !o))) {
473
- if (process.env.NODE_ENV !== "production" && (W(o) || console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', "To use an SVG arrow, wrap it in an HTMLElement that will be used as", "the arrow."].join(" "))), !Tn(t.elements.popper, o)) {
477
+ if (process.env.NODE_ENV !== "production" && (W(o) || console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', "To use an SVG arrow, wrap it in an HTMLElement that will be used as", "the arrow."].join(" "))), !An(t.elements.popper, o)) {
474
478
  process.env.NODE_ENV !== "production" && console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', "element."].join(" "));
475
479
  return;
476
480
  }
477
481
  t.elements.arrow = o;
478
482
  }
479
483
  }
480
- const ti = {
484
+ const ni = {
481
485
  name: "arrow",
482
486
  enabled: !0,
483
487
  phase: "main",
484
- fn: Qr,
485
- effect: ei,
488
+ fn: ei,
489
+ effect: ti,
486
490
  requires: ["popperOffsets"],
487
491
  requiresIfExists: ["preventOverflow"]
488
492
  };
489
- function Le(e) {
493
+ function Pe(e) {
490
494
  return e.split("-")[1];
491
495
  }
492
- var ni = {
496
+ var ri = {
493
497
  top: "auto",
494
498
  right: "auto",
495
499
  bottom: "auto",
496
500
  left: "auto"
497
501
  };
498
- function ri(e, t) {
502
+ function ii(e, t) {
499
503
  var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
500
504
  return {
501
- x: Ce(n * o) / o || 0,
502
- y: Ce(r * o) / o || 0
505
+ x: Le(n * o) / o || 0,
506
+ y: Le(r * o) / o || 0
503
507
  };
504
508
  }
505
509
  function Bt(e) {
506
- var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, p = e.offsets, c = e.position, u = e.gpuAcceleration, f = e.adaptive, l = e.roundOffsets, g = e.isFixed, x = p.x, m = x === void 0 ? 0 : x, w = p.y, y = w === void 0 ? 0 : w, b = typeof l == "function" ? l({
510
+ var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, l = e.offsets, c = e.position, u = e.gpuAcceleration, f = e.adaptive, p = e.roundOffsets, g = e.isFixed, x = l.x, m = x === void 0 ? 0 : x, w = l.y, y = w === void 0 ? 0 : w, b = typeof p == "function" ? p({
507
511
  x: m,
508
512
  y
509
513
  }) : {
@@ -511,10 +515,10 @@ function Bt(e) {
511
515
  y
512
516
  };
513
517
  m = b.x, y = b.y;
514
- var A = p.hasOwnProperty("x"), R = p.hasOwnProperty("y"), P = $, i = B, E = window;
518
+ var T = l.hasOwnProperty("x"), R = l.hasOwnProperty("y"), C = $, i = B, E = window;
515
519
  if (f) {
516
520
  var d = ze(n), D = "clientHeight", I = "clientWidth";
517
- if (d === q(n) && (d = le(n), Z(d).position !== "static" && c === "absolute" && (D = "scrollHeight", I = "scrollWidth")), d = d, o === B || (o === $ || o === X) && a === He) {
521
+ if (d === q(n) && (d = pe(n), Z(d).position !== "static" && c === "absolute" && (D = "scrollHeight", I = "scrollWidth")), d = d, o === B || (o === $ || o === X) && a === Ue) {
518
522
  i = Y;
519
523
  var M = g && d === E && E.visualViewport ? E.visualViewport.height : (
520
524
  // $FlowFixMe[prop-missing]
@@ -522,35 +526,35 @@ function Bt(e) {
522
526
  );
523
527
  y -= M - r.height, y *= u ? 1 : -1;
524
528
  }
525
- if (o === $ || (o === B || o === Y) && a === He) {
526
- P = X;
527
- var L = g && d === E && E.visualViewport ? E.visualViewport.width : (
529
+ if (o === $ || (o === B || o === Y) && a === Ue) {
530
+ C = X;
531
+ var P = g && d === E && E.visualViewport ? E.visualViewport.width : (
528
532
  // $FlowFixMe[prop-missing]
529
533
  d[I]
530
534
  );
531
- m -= L - r.width, m *= u ? 1 : -1;
535
+ m -= P - r.width, m *= u ? 1 : -1;
532
536
  }
533
537
  }
534
- var T = Object.assign({
538
+ var A = Object.assign({
535
539
  position: c
536
- }, f && ni), C = l === !0 ? ri({
540
+ }, f && ri), L = p === !0 ? ii({
537
541
  x: m,
538
542
  y
539
543
  }, q(n)) : {
540
544
  x: m,
541
545
  y
542
546
  };
543
- if (m = C.x, y = C.y, u) {
547
+ if (m = L.x, y = L.y, u) {
544
548
  var N;
545
- return Object.assign({}, T, (N = {}, N[i] = R ? "0" : "", N[P] = A ? "0" : "", N.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + y + "px)" : "translate3d(" + m + "px, " + y + "px, 0)", N));
549
+ return Object.assign({}, A, (N = {}, N[i] = R ? "0" : "", N[C] = T ? "0" : "", N.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + y + "px)" : "translate3d(" + m + "px, " + y + "px, 0)", N));
546
550
  }
547
- return Object.assign({}, T, (t = {}, t[i] = R ? y + "px" : "", t[P] = A ? m + "px" : "", t.transform = "", t));
551
+ return Object.assign({}, A, (t = {}, t[i] = R ? y + "px" : "", t[C] = T ? m + "px" : "", t.transform = "", t));
548
552
  }
549
- function ii(e) {
550
- var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, p = a === void 0 ? !0 : a, c = n.roundOffsets, u = c === void 0 ? !0 : c;
553
+ function oi(e) {
554
+ var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, l = a === void 0 ? !0 : a, c = n.roundOffsets, u = c === void 0 ? !0 : c;
551
555
  if (process.env.NODE_ENV !== "production") {
552
556
  var f = Z(t.elements.popper).transitionProperty || "";
553
- p && ["transform", "top", "right", "bottom", "left"].some(function(g) {
557
+ l && ["transform", "top", "right", "bottom", "left"].some(function(g) {
554
558
  return f.indexOf(g) >= 0;
555
559
  }) && console.warn(["Popper: Detected CSS transitions on at least one of the following", 'CSS properties: "transform", "top", "right", "bottom", "left".', `
556
560
 
@@ -558,20 +562,20 @@ function ii(e) {
558
562
 
559
563
  `, "We recommend using the popper element as a wrapper around an inner", "element that can have any CSS property transitioned for animations."].join(" "));
560
564
  }
561
- var l = {
565
+ var p = {
562
566
  placement: K(t.placement),
563
- variation: Le(t.placement),
567
+ variation: Pe(t.placement),
564
568
  popper: t.elements.popper,
565
569
  popperRect: t.rects.popper,
566
570
  gpuAcceleration: o,
567
571
  isFixed: t.options.strategy === "fixed"
568
572
  };
569
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Bt(Object.assign({}, l, {
573
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Bt(Object.assign({}, p, {
570
574
  offsets: t.modifiersData.popperOffsets,
571
575
  position: t.options.strategy,
572
- adaptive: p,
576
+ adaptive: l,
573
577
  roundOffsets: u
574
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Bt(Object.assign({}, l, {
578
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Bt(Object.assign({}, p, {
575
579
  offsets: t.modifiersData.arrow,
576
580
  position: "absolute",
577
581
  adaptive: !1,
@@ -580,36 +584,36 @@ function ii(e) {
580
584
  "data-popper-placement": t.placement
581
585
  });
582
586
  }
583
- const oi = {
587
+ const ai = {
584
588
  name: "computeStyles",
585
589
  enabled: !0,
586
590
  phase: "beforeWrite",
587
- fn: ii,
591
+ fn: oi,
588
592
  data: {}
589
593
  };
590
594
  var ot = {
591
595
  passive: !0
592
596
  };
593
- function ai(e) {
594
- var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, p = r.resize, c = p === void 0 ? !0 : p, u = q(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
595
- return a && f.forEach(function(l) {
596
- l.addEventListener("scroll", n.update, ot);
597
+ function si(e) {
598
+ var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, l = r.resize, c = l === void 0 ? !0 : l, u = q(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
599
+ return a && f.forEach(function(p) {
600
+ p.addEventListener("scroll", n.update, ot);
597
601
  }), c && u.addEventListener("resize", n.update, ot), function() {
598
- a && f.forEach(function(l) {
599
- l.removeEventListener("scroll", n.update, ot);
602
+ a && f.forEach(function(p) {
603
+ p.removeEventListener("scroll", n.update, ot);
600
604
  }), c && u.removeEventListener("resize", n.update, ot);
601
605
  };
602
606
  }
603
- const si = {
607
+ const ui = {
604
608
  name: "eventListeners",
605
609
  enabled: !0,
606
610
  phase: "write",
607
611
  fn: function() {
608
612
  },
609
- effect: ai,
613
+ effect: si,
610
614
  data: {}
611
615
  };
612
- var ui = {
616
+ var ci = {
613
617
  left: "right",
614
618
  right: "left",
615
619
  bottom: "top",
@@ -617,47 +621,47 @@ var ui = {
617
621
  };
618
622
  function ut(e) {
619
623
  return e.replace(/left|right|bottom|top/g, function(t) {
620
- return ui[t];
624
+ return ci[t];
621
625
  });
622
626
  }
623
- var ci = {
627
+ var li = {
624
628
  start: "end",
625
629
  end: "start"
626
630
  };
627
631
  function $t(e) {
628
632
  return e.replace(/start|end/g, function(t) {
629
- return ci[t];
633
+ return li[t];
630
634
  });
631
635
  }
632
- function Pt(e) {
636
+ function Ct(e) {
633
637
  var t = q(e), n = t.pageXOffset, r = t.pageYOffset;
634
638
  return {
635
639
  scrollLeft: n,
636
640
  scrollTop: r
637
641
  };
638
642
  }
639
- function Lt(e) {
640
- return Pe(le(e)).left + Pt(e).scrollLeft;
643
+ function Pt(e) {
644
+ return Ce(pe(e)).left + Ct(e).scrollLeft;
641
645
  }
642
646
  function pi(e, t) {
643
- var n = q(e), r = le(e), o = n.visualViewport, a = r.clientWidth, p = r.clientHeight, c = 0, u = 0;
647
+ var n = q(e), r = pe(e), o = n.visualViewport, a = r.clientWidth, l = r.clientHeight, c = 0, u = 0;
644
648
  if (o) {
645
- a = o.width, p = o.height;
649
+ a = o.width, l = o.height;
646
650
  var f = xn();
647
651
  (f || !f && t === "fixed") && (c = o.offsetLeft, u = o.offsetTop);
648
652
  }
649
653
  return {
650
654
  width: a,
651
- height: p,
652
- x: c + Lt(e),
655
+ height: l,
656
+ x: c + Pt(e),
653
657
  y: u
654
658
  };
655
659
  }
656
- function li(e) {
657
- var t, n = le(e), r = Pt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = be(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), p = be(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), c = -r.scrollLeft + Lt(e), u = -r.scrollTop;
660
+ function fi(e) {
661
+ var t, n = pe(e), r = Ct(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = be(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), l = be(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), c = -r.scrollLeft + Pt(e), u = -r.scrollTop;
658
662
  return Z(o || n).direction === "rtl" && (c += be(n.clientWidth, o ? o.clientWidth : 0) - a), {
659
663
  width: a,
660
- height: p,
664
+ height: l,
661
665
  x: c,
662
666
  y: u
663
667
  };
@@ -672,10 +676,10 @@ function Rn(e) {
672
676
  function Be(e, t) {
673
677
  var n;
674
678
  t === void 0 && (t = []);
675
- var r = Rn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = q(r), p = o ? [a].concat(a.visualViewport || [], Nt(r) ? r : []) : r, c = t.concat(p);
679
+ var r = Rn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = q(r), l = o ? [a].concat(a.visualViewport || [], Nt(r) ? r : []) : r, c = t.concat(l);
676
680
  return o ? c : (
677
681
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
678
- c.concat(Be(ft(p)))
682
+ c.concat(Be(ft(l)))
679
683
  );
680
684
  }
681
685
  function xt(e) {
@@ -686,38 +690,38 @@ function xt(e) {
686
690
  bottom: e.y + e.height
687
691
  });
688
692
  }
689
- function fi(e, t) {
690
- var n = Pe(e, !1, t === "fixed");
693
+ function di(e, t) {
694
+ var n = Ce(e, !1, t === "fixed");
691
695
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
692
696
  }
693
- function Ht(e, t, n) {
694
- return t === wn ? xt(pi(e, n)) : we(t) ? fi(t, n) : xt(li(le(e)));
697
+ function Ut(e, t, n) {
698
+ return t === wn ? xt(pi(e, n)) : we(t) ? di(t, n) : xt(fi(pe(e)));
695
699
  }
696
- function di(e) {
700
+ function vi(e) {
697
701
  var t = Be(ft(e)), n = ["absolute", "fixed"].indexOf(Z(e).position) >= 0, r = n && W(e) ? ze(e) : e;
698
702
  return we(r) ? t.filter(function(o) {
699
- return we(o) && Tn(o, r) && ne(o) !== "body";
703
+ return we(o) && An(o, r) && ne(o) !== "body";
700
704
  }) : [];
701
705
  }
702
- function vi(e, t, n, r) {
703
- var o = t === "clippingParents" ? di(e) : [].concat(t), a = [].concat(o, [n]), p = a[0], c = a.reduce(function(u, f) {
704
- var l = Ht(e, f, r);
705
- return u.top = be(l.top, u.top), u.right = ct(l.right, u.right), u.bottom = ct(l.bottom, u.bottom), u.left = be(l.left, u.left), u;
706
- }, Ht(e, p, r));
706
+ function hi(e, t, n, r) {
707
+ var o = t === "clippingParents" ? vi(e) : [].concat(t), a = [].concat(o, [n]), l = a[0], c = a.reduce(function(u, f) {
708
+ var p = Ut(e, f, r);
709
+ return u.top = be(p.top, u.top), u.right = ct(p.right, u.right), u.bottom = ct(p.bottom, u.bottom), u.left = be(p.left, u.left), u;
710
+ }, Ut(e, l, r));
707
711
  return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
708
712
  }
709
- function Cn(e) {
710
- var t = e.reference, n = e.element, r = e.placement, o = r ? K(r) : null, a = r ? Le(r) : null, p = t.x + t.width / 2 - n.width / 2, c = t.y + t.height / 2 - n.height / 2, u;
713
+ function Ln(e) {
714
+ var t = e.reference, n = e.element, r = e.placement, o = r ? K(r) : null, a = r ? Pe(r) : null, l = t.x + t.width / 2 - n.width / 2, c = t.y + t.height / 2 - n.height / 2, u;
711
715
  switch (o) {
712
716
  case B:
713
717
  u = {
714
- x: p,
718
+ x: l,
715
719
  y: t.y - n.height
716
720
  };
717
721
  break;
718
722
  case Y:
719
723
  u = {
720
- x: p,
724
+ x: l,
721
725
  y: t.y + t.height
722
726
  };
723
727
  break;
@@ -739,97 +743,97 @@ function Cn(e) {
739
743
  y: t.y
740
744
  };
741
745
  }
742
- var f = o ? Ct(o) : null;
746
+ var f = o ? Lt(o) : null;
743
747
  if (f != null) {
744
- var l = f === "y" ? "height" : "width";
748
+ var p = f === "y" ? "height" : "width";
745
749
  switch (a) {
746
750
  case Re:
747
- u[f] = u[f] - (t[l] / 2 - n[l] / 2);
751
+ u[f] = u[f] - (t[p] / 2 - n[p] / 2);
748
752
  break;
749
- case He:
750
- u[f] = u[f] + (t[l] / 2 - n[l] / 2);
753
+ case Ue:
754
+ u[f] = u[f] + (t[p] / 2 - n[p] / 2);
751
755
  break;
752
756
  }
753
757
  }
754
758
  return u;
755
759
  }
756
- function Ue(e, t) {
760
+ function He(e, t) {
757
761
  t === void 0 && (t = {});
758
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, p = a === void 0 ? e.strategy : a, c = n.boundary, u = c === void 0 ? kr : c, f = n.rootBoundary, l = f === void 0 ? wn : f, g = n.elementContext, x = g === void 0 ? Ve : g, m = n.altBoundary, w = m === void 0 ? !1 : m, y = n.padding, b = y === void 0 ? 0 : y, A = Sn(typeof b != "number" ? b : Dn(b, qe)), R = x === Ve ? Vr : Ve, P = e.rects.popper, i = e.elements[w ? R : x], E = vi(we(i) ? i : i.contextElement || le(e.elements.popper), u, l, p), d = Pe(e.elements.reference), D = Cn({
762
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, l = a === void 0 ? e.strategy : a, c = n.boundary, u = c === void 0 ? Vr : c, f = n.rootBoundary, p = f === void 0 ? wn : f, g = n.elementContext, x = g === void 0 ? Ve : g, m = n.altBoundary, w = m === void 0 ? !1 : m, y = n.padding, b = y === void 0 ? 0 : y, T = Sn(typeof b != "number" ? b : Dn(b, qe)), R = x === Ve ? _r : Ve, C = e.rects.popper, i = e.elements[w ? R : x], E = hi(we(i) ? i : i.contextElement || pe(e.elements.popper), u, p, l), d = Ce(e.elements.reference), D = Ln({
759
763
  reference: d,
760
- element: P,
764
+ element: C,
761
765
  strategy: "absolute",
762
766
  placement: o
763
- }), I = xt(Object.assign({}, P, D)), M = x === Ve ? I : d, L = {
764
- top: E.top - M.top + A.top,
765
- bottom: M.bottom - E.bottom + A.bottom,
766
- left: E.left - M.left + A.left,
767
- right: M.right - E.right + A.right
768
- }, T = e.modifiersData.offset;
769
- if (x === Ve && T) {
770
- var C = T[o];
771
- Object.keys(L).forEach(function(N) {
772
- var H = [X, Y].indexOf(N) >= 0 ? 1 : -1, U = [B, Y].indexOf(N) >= 0 ? "y" : "x";
773
- L[N] += C[U] * H;
767
+ }), I = xt(Object.assign({}, C, D)), M = x === Ve ? I : d, P = {
768
+ top: E.top - M.top + T.top,
769
+ bottom: M.bottom - E.bottom + T.bottom,
770
+ left: E.left - M.left + T.left,
771
+ right: M.right - E.right + T.right
772
+ }, A = e.modifiersData.offset;
773
+ if (x === Ve && A) {
774
+ var L = A[o];
775
+ Object.keys(P).forEach(function(N) {
776
+ var U = [X, Y].indexOf(N) >= 0 ? 1 : -1, H = [B, Y].indexOf(N) >= 0 ? "y" : "x";
777
+ P[N] += L[H] * U;
774
778
  });
775
779
  }
776
- return L;
780
+ return P;
777
781
  }
778
- function hi(e, t) {
782
+ function mi(e, t) {
779
783
  t === void 0 && (t = {});
780
- var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, p = n.padding, c = n.flipVariations, u = n.allowedAutoPlacements, f = u === void 0 ? En : u, l = Le(r), g = l ? c ? Vt : Vt.filter(function(w) {
781
- return Le(w) === l;
784
+ var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, l = n.padding, c = n.flipVariations, u = n.allowedAutoPlacements, f = u === void 0 ? En : u, p = Pe(r), g = p ? c ? Vt : Vt.filter(function(w) {
785
+ return Pe(w) === p;
782
786
  }) : qe, x = g.filter(function(w) {
783
787
  return f.indexOf(w) >= 0;
784
788
  });
785
789
  x.length === 0 && (x = g, process.env.NODE_ENV !== "production" && console.error(["Popper: The `allowedAutoPlacements` option did not allow any", "placements. Ensure the `placement` option matches the variation", "of the allowed placements.", 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(" ")));
786
790
  var m = x.reduce(function(w, y) {
787
- return w[y] = Ue(e, {
791
+ return w[y] = He(e, {
788
792
  placement: y,
789
793
  boundary: o,
790
794
  rootBoundary: a,
791
- padding: p
795
+ padding: l
792
796
  })[K(y)], w;
793
797
  }, {});
794
798
  return Object.keys(m).sort(function(w, y) {
795
799
  return m[w] - m[y];
796
800
  });
797
801
  }
798
- function mi(e) {
799
- if (K(e) === lt)
802
+ function gi(e) {
803
+ if (K(e) === pt)
800
804
  return [];
801
805
  var t = ut(e);
802
806
  return [$t(e), t, $t(t)];
803
807
  }
804
- function gi(e) {
808
+ function yi(e) {
805
809
  var t = e.state, n = e.options, r = e.name;
806
810
  if (!t.modifiersData[r]._skip) {
807
- for (var o = n.mainAxis, a = o === void 0 ? !0 : o, p = n.altAxis, c = p === void 0 ? !0 : p, u = n.fallbackPlacements, f = n.padding, l = n.boundary, g = n.rootBoundary, x = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, b = t.options.placement, A = K(b), R = A === b, P = u || (R || !w ? [ut(b)] : mi(b)), i = [b].concat(P).reduce(function(re, G) {
808
- return re.concat(K(G) === lt ? hi(t, {
811
+ for (var o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, c = l === void 0 ? !0 : l, u = n.fallbackPlacements, f = n.padding, p = n.boundary, g = n.rootBoundary, x = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, b = t.options.placement, T = K(b), R = T === b, C = u || (R || !w ? [ut(b)] : gi(b)), i = [b].concat(C).reduce(function(re, G) {
812
+ return re.concat(K(G) === pt ? mi(t, {
809
813
  placement: G,
810
- boundary: l,
814
+ boundary: p,
811
815
  rootBoundary: g,
812
816
  padding: f,
813
817
  flipVariations: w,
814
818
  allowedAutoPlacements: y
815
819
  }) : G);
816
- }, []), E = t.rects.reference, d = t.rects.popper, D = /* @__PURE__ */ new Map(), I = !0, M = i[0], L = 0; L < i.length; L++) {
817
- var T = i[L], C = K(T), N = Le(T) === Re, H = [B, Y].indexOf(C) >= 0, U = H ? "width" : "height", k = Ue(t, {
818
- placement: T,
819
- boundary: l,
820
+ }, []), E = t.rects.reference, d = t.rects.popper, D = /* @__PURE__ */ new Map(), I = !0, M = i[0], P = 0; P < i.length; P++) {
821
+ var A = i[P], L = K(A), N = Pe(A) === Re, U = [B, Y].indexOf(L) >= 0, H = U ? "width" : "height", k = He(t, {
822
+ placement: A,
823
+ boundary: p,
820
824
  rootBoundary: g,
821
825
  altBoundary: x,
822
826
  padding: f
823
- }), V = H ? N ? X : $ : N ? Y : B;
824
- E[U] > d[U] && (V = ut(V));
827
+ }), V = U ? N ? X : $ : N ? Y : B;
828
+ E[H] > d[H] && (V = ut(V));
825
829
  var j = ut(V), J = [];
826
- if (a && J.push(k[C] <= 0), c && J.push(k[V] <= 0, k[j] <= 0), J.every(function(re) {
830
+ if (a && J.push(k[L] <= 0), c && J.push(k[V] <= 0, k[j] <= 0), J.every(function(re) {
827
831
  return re;
828
832
  })) {
829
- M = T, I = !1;
833
+ M = A, I = !1;
830
834
  break;
831
835
  }
832
- D.set(T, J);
836
+ D.set(A, J);
833
837
  }
834
838
  if (I)
835
839
  for (var Q = w ? 3 : 1, fe = function(G) {
@@ -850,17 +854,17 @@ function gi(e) {
850
854
  t.placement !== M && (t.modifiersData[r]._skip = !0, t.placement = M, t.reset = !0);
851
855
  }
852
856
  }
853
- const yi = {
857
+ const bi = {
854
858
  name: "flip",
855
859
  enabled: !0,
856
860
  phase: "main",
857
- fn: gi,
861
+ fn: yi,
858
862
  requiresIfExists: ["offset"],
859
863
  data: {
860
864
  _skip: !1
861
865
  }
862
866
  };
863
- function Ut(e, t, n) {
867
+ function Ht(e, t, n) {
864
868
  return n === void 0 && (n = {
865
869
  x: 0,
866
870
  y: 0
@@ -876,111 +880,111 @@ function Ft(e) {
876
880
  return e[t] >= 0;
877
881
  });
878
882
  }
879
- function bi(e) {
880
- var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, p = Ue(t, {
883
+ function wi(e) {
884
+ var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, l = He(t, {
881
885
  elementContext: "reference"
882
- }), c = Ue(t, {
886
+ }), c = He(t, {
883
887
  altBoundary: !0
884
- }), u = Ut(p, r), f = Ut(c, o, a), l = Ft(u), g = Ft(f);
888
+ }), u = Ht(l, r), f = Ht(c, o, a), p = Ft(u), g = Ft(f);
885
889
  t.modifiersData[n] = {
886
890
  referenceClippingOffsets: u,
887
891
  popperEscapeOffsets: f,
888
- isReferenceHidden: l,
892
+ isReferenceHidden: p,
889
893
  hasPopperEscaped: g
890
894
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
891
- "data-popper-reference-hidden": l,
895
+ "data-popper-reference-hidden": p,
892
896
  "data-popper-escaped": g
893
897
  });
894
898
  }
895
- const wi = {
899
+ const Ei = {
896
900
  name: "hide",
897
901
  enabled: !0,
898
902
  phase: "main",
899
903
  requiresIfExists: ["preventOverflow"],
900
- fn: bi
904
+ fn: wi
901
905
  };
902
- function Ei(e, t, n) {
906
+ function Oi(e, t, n) {
903
907
  var r = K(e), o = [$, B].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, {
904
908
  placement: e
905
- })) : n, p = a[0], c = a[1];
906
- return p = p || 0, c = (c || 0) * o, [$, X].indexOf(r) >= 0 ? {
909
+ })) : n, l = a[0], c = a[1];
910
+ return l = l || 0, c = (c || 0) * o, [$, X].indexOf(r) >= 0 ? {
907
911
  x: c,
908
- y: p
912
+ y: l
909
913
  } : {
910
- x: p,
914
+ x: l,
911
915
  y: c
912
916
  };
913
917
  }
914
- function Oi(e) {
915
- var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, p = En.reduce(function(l, g) {
916
- return l[g] = Ei(g, t.rects, a), l;
917
- }, {}), c = p[t.placement], u = c.x, f = c.y;
918
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += f), t.modifiersData[r] = p;
918
+ function xi(e) {
919
+ var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, l = En.reduce(function(p, g) {
920
+ return p[g] = Oi(g, t.rects, a), p;
921
+ }, {}), c = l[t.placement], u = c.x, f = c.y;
922
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += f), t.modifiersData[r] = l;
919
923
  }
920
- const xi = {
924
+ const Ai = {
921
925
  name: "offset",
922
926
  enabled: !0,
923
927
  phase: "main",
924
928
  requires: ["popperOffsets"],
925
- fn: Oi
929
+ fn: xi
926
930
  };
927
931
  function Ti(e) {
928
932
  var t = e.state, n = e.name;
929
- t.modifiersData[n] = Cn({
933
+ t.modifiersData[n] = Ln({
930
934
  reference: t.rects.reference,
931
935
  element: t.rects.popper,
932
936
  strategy: "absolute",
933
937
  placement: t.placement
934
938
  });
935
939
  }
936
- const Ai = {
940
+ const Si = {
937
941
  name: "popperOffsets",
938
942
  enabled: !0,
939
943
  phase: "read",
940
944
  fn: Ti,
941
945
  data: {}
942
946
  };
943
- function Si(e) {
947
+ function Di(e) {
944
948
  return e === "x" ? "y" : "x";
945
949
  }
946
- function Di(e) {
947
- var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, p = n.altAxis, c = p === void 0 ? !1 : p, u = n.boundary, f = n.rootBoundary, l = n.altBoundary, g = n.padding, x = n.tether, m = x === void 0 ? !0 : x, w = n.tetherOffset, y = w === void 0 ? 0 : w, b = Ue(t, {
950
+ function Ri(e) {
951
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, c = l === void 0 ? !1 : l, u = n.boundary, f = n.rootBoundary, p = n.altBoundary, g = n.padding, x = n.tether, m = x === void 0 ? !0 : x, w = n.tetherOffset, y = w === void 0 ? 0 : w, b = He(t, {
948
952
  boundary: u,
949
953
  rootBoundary: f,
950
954
  padding: g,
951
- altBoundary: l
952
- }), A = K(t.placement), R = Le(t.placement), P = !R, i = Ct(A), E = Si(i), d = t.modifiersData.popperOffsets, D = t.rects.reference, I = t.rects.popper, M = typeof y == "function" ? y(Object.assign({}, t.rects, {
955
+ altBoundary: p
956
+ }), T = K(t.placement), R = Pe(t.placement), C = !R, i = Lt(T), E = Di(i), d = t.modifiersData.popperOffsets, D = t.rects.reference, I = t.rects.popper, M = typeof y == "function" ? y(Object.assign({}, t.rects, {
953
957
  placement: t.placement
954
- })) : y, L = typeof M == "number" ? {
958
+ })) : y, P = typeof M == "number" ? {
955
959
  mainAxis: M,
956
960
  altAxis: M
957
961
  } : Object.assign({
958
962
  mainAxis: 0,
959
963
  altAxis: 0
960
- }, M), T = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, C = {
964
+ }, M), A = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, L = {
961
965
  x: 0,
962
966
  y: 0
963
967
  };
964
968
  if (d) {
965
969
  if (a) {
966
- var N, H = i === "y" ? B : $, U = i === "y" ? Y : X, k = i === "y" ? "height" : "width", V = d[i], j = V + b[H], J = V - b[U], Q = m ? -I[k] / 2 : 0, fe = R === Re ? D[k] : I[k], ee = R === Re ? -I[k] : -D[k], de = t.elements.arrow, re = m && de ? Rt(de) : {
970
+ var N, U = i === "y" ? B : $, H = i === "y" ? Y : X, k = i === "y" ? "height" : "width", V = d[i], j = V + b[U], J = V - b[H], Q = m ? -I[k] / 2 : 0, fe = R === Re ? D[k] : I[k], ee = R === Re ? -I[k] : -D[k], de = t.elements.arrow, re = m && de ? Rt(de) : {
967
971
  width: 0,
968
972
  height: 0
969
- }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : An(), ie = G[H], Ee = G[U], oe = _e(0, D[k], re[k]), Oe = P ? D[k] / 2 - Q - oe - ie - L.mainAxis : fe - oe - ie - L.mainAxis, ue = P ? -D[k] / 2 + Q + oe + Ee + L.mainAxis : ee + oe + Ee + L.mainAxis, xe = t.elements.arrow && ze(t.elements.arrow), Xe = xe ? i === "y" ? xe.clientTop || 0 : xe.clientLeft || 0 : 0, Ne = (N = T == null ? void 0 : T[i]) != null ? N : 0, Ge = V + Oe - Ne - Xe, Ke = V + ue - Ne, Ie = _e(m ? ct(j, Ge) : j, V, m ? be(J, Ke) : J);
970
- d[i] = Ie, C[i] = Ie - V;
973
+ }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Tn(), ie = G[U], Ee = G[H], oe = _e(0, D[k], re[k]), Oe = C ? D[k] / 2 - Q - oe - ie - P.mainAxis : fe - oe - ie - P.mainAxis, ue = C ? -D[k] / 2 + Q + oe + Ee + P.mainAxis : ee + oe + Ee + P.mainAxis, xe = t.elements.arrow && ze(t.elements.arrow), Xe = xe ? i === "y" ? xe.clientTop || 0 : xe.clientLeft || 0 : 0, Ne = (N = A == null ? void 0 : A[i]) != null ? N : 0, Ge = V + Oe - Ne - Xe, Ke = V + ue - Ne, Ie = _e(m ? ct(j, Ge) : j, V, m ? be(J, Ke) : J);
974
+ d[i] = Ie, L[i] = Ie - V;
971
975
  }
972
976
  if (c) {
973
- var Me, Ze = i === "x" ? B : $, Je = i === "x" ? Y : X, ae = d[E], ce = E === "y" ? "height" : "width", je = ae + b[Ze], ve = ae - b[Je], ke = [B, $].indexOf(A) !== -1, Qe = (Me = T == null ? void 0 : T[E]) != null ? Me : 0, et = ke ? je : ae - D[ce] - I[ce] - Qe + L.altAxis, tt = ke ? ae + D[ce] + I[ce] - Qe - L.altAxis : ve, nt = m && ke ? Zr(et, ae, tt) : _e(m ? et : je, ae, m ? tt : ve);
974
- d[E] = nt, C[E] = nt - ae;
977
+ var Me, Ze = i === "x" ? B : $, Je = i === "x" ? Y : X, ae = d[E], ce = E === "y" ? "height" : "width", je = ae + b[Ze], ve = ae - b[Je], ke = [B, $].indexOf(T) !== -1, Qe = (Me = A == null ? void 0 : A[E]) != null ? Me : 0, et = ke ? je : ae - D[ce] - I[ce] - Qe + P.altAxis, tt = ke ? ae + D[ce] + I[ce] - Qe - P.altAxis : ve, nt = m && ke ? Jr(et, ae, tt) : _e(m ? et : je, ae, m ? tt : ve);
978
+ d[E] = nt, L[E] = nt - ae;
975
979
  }
976
- t.modifiersData[r] = C;
980
+ t.modifiersData[r] = L;
977
981
  }
978
982
  }
979
- const Ri = {
983
+ const Li = {
980
984
  name: "preventOverflow",
981
985
  enabled: !0,
982
986
  phase: "main",
983
- fn: Di,
987
+ fn: Ri,
984
988
  requiresIfExists: ["offset"]
985
989
  };
986
990
  function Ci(e) {
@@ -990,15 +994,15 @@ function Ci(e) {
990
994
  };
991
995
  }
992
996
  function Pi(e) {
993
- return e === q(e) || !W(e) ? Pt(e) : Ci(e);
997
+ return e === q(e) || !W(e) ? Ct(e) : Ci(e);
994
998
  }
995
- function Li(e) {
996
- var t = e.getBoundingClientRect(), n = Ce(t.width) / e.offsetWidth || 1, r = Ce(t.height) / e.offsetHeight || 1;
999
+ function Ni(e) {
1000
+ var t = e.getBoundingClientRect(), n = Le(t.width) / e.offsetWidth || 1, r = Le(t.height) / e.offsetHeight || 1;
997
1001
  return n !== 1 || r !== 1;
998
1002
  }
999
- function Ni(e, t, n) {
1003
+ function Ii(e, t, n) {
1000
1004
  n === void 0 && (n = !1);
1001
- var r = W(t), o = W(t) && Li(t), a = le(t), p = Pe(e, o, n), c = {
1005
+ var r = W(t), o = W(t) && Ni(t), a = pe(t), l = Ce(e, o, n), c = {
1002
1006
  scrollLeft: 0,
1003
1007
  scrollTop: 0
1004
1008
  }, u = {
@@ -1006,22 +1010,22 @@ function Ni(e, t, n) {
1006
1010
  y: 0
1007
1011
  };
1008
1012
  return (r || !r && !n) && ((ne(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
1009
- Nt(a)) && (c = Pi(t)), W(t) ? (u = Pe(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : a && (u.x = Lt(a))), {
1010
- x: p.left + c.scrollLeft - u.x,
1011
- y: p.top + c.scrollTop - u.y,
1012
- width: p.width,
1013
- height: p.height
1013
+ Nt(a)) && (c = Pi(t)), W(t) ? (u = Ce(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : a && (u.x = Pt(a))), {
1014
+ x: l.left + c.scrollLeft - u.x,
1015
+ y: l.top + c.scrollTop - u.y,
1016
+ width: l.width,
1017
+ height: l.height
1014
1018
  };
1015
1019
  }
1016
- function Ii(e) {
1020
+ function Mi(e) {
1017
1021
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
1018
1022
  e.forEach(function(a) {
1019
1023
  t.set(a.name, a);
1020
1024
  });
1021
1025
  function o(a) {
1022
1026
  n.add(a.name);
1023
- var p = [].concat(a.requires || [], a.requiresIfExists || []);
1024
- p.forEach(function(c) {
1027
+ var l = [].concat(a.requires || [], a.requiresIfExists || []);
1028
+ l.forEach(function(c) {
1025
1029
  if (!n.has(c)) {
1026
1030
  var u = t.get(c);
1027
1031
  u && o(u);
@@ -1032,15 +1036,15 @@ function Ii(e) {
1032
1036
  n.has(a.name) || o(a);
1033
1037
  }), r;
1034
1038
  }
1035
- function Mi(e) {
1036
- var t = Ii(e);
1039
+ function ji(e) {
1040
+ var t = Mi(e);
1037
1041
  return Et.reduce(function(n, r) {
1038
1042
  return n.concat(t.filter(function(o) {
1039
1043
  return o.phase === r;
1040
1044
  }));
1041
1045
  }, []);
1042
1046
  }
1043
- function ji(e) {
1047
+ function ki(e) {
1044
1048
  var t;
1045
1049
  return function() {
1046
1050
  return t || (t = new Promise(function(n) {
@@ -1050,40 +1054,40 @@ function ji(e) {
1050
1054
  })), t;
1051
1055
  };
1052
1056
  }
1053
- function pe(e) {
1057
+ function le(e) {
1054
1058
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
1055
1059
  n[r - 1] = arguments[r];
1056
1060
  return [].concat(n).reduce(function(o, a) {
1057
1061
  return o.replace(/%s/, a);
1058
1062
  }, e);
1059
1063
  }
1060
- var me = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', ki = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Wt = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
1061
- function Vi(e) {
1064
+ var me = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Vi = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Wt = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
1065
+ function _i(e) {
1062
1066
  e.forEach(function(t) {
1063
1067
  [].concat(Object.keys(t), Wt).filter(function(n, r, o) {
1064
1068
  return o.indexOf(n) === r;
1065
1069
  }).forEach(function(n) {
1066
1070
  switch (n) {
1067
1071
  case "name":
1068
- typeof t.name != "string" && console.error(pe(me, String(t.name), '"name"', '"string"', '"' + String(t.name) + '"'));
1072
+ typeof t.name != "string" && console.error(le(me, String(t.name), '"name"', '"string"', '"' + String(t.name) + '"'));
1069
1073
  break;
1070
1074
  case "enabled":
1071
- typeof t.enabled != "boolean" && console.error(pe(me, t.name, '"enabled"', '"boolean"', '"' + String(t.enabled) + '"'));
1075
+ typeof t.enabled != "boolean" && console.error(le(me, t.name, '"enabled"', '"boolean"', '"' + String(t.enabled) + '"'));
1072
1076
  break;
1073
1077
  case "phase":
1074
- Et.indexOf(t.phase) < 0 && console.error(pe(me, t.name, '"phase"', "either " + Et.join(", "), '"' + String(t.phase) + '"'));
1078
+ Et.indexOf(t.phase) < 0 && console.error(le(me, t.name, '"phase"', "either " + Et.join(", "), '"' + String(t.phase) + '"'));
1075
1079
  break;
1076
1080
  case "fn":
1077
- typeof t.fn != "function" && console.error(pe(me, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'));
1081
+ typeof t.fn != "function" && console.error(le(me, t.name, '"fn"', '"function"', '"' + String(t.fn) + '"'));
1078
1082
  break;
1079
1083
  case "effect":
1080
- t.effect != null && typeof t.effect != "function" && console.error(pe(me, t.name, '"effect"', '"function"', '"' + String(t.fn) + '"'));
1084
+ t.effect != null && typeof t.effect != "function" && console.error(le(me, t.name, '"effect"', '"function"', '"' + String(t.fn) + '"'));
1081
1085
  break;
1082
1086
  case "requires":
1083
- t.requires != null && !Array.isArray(t.requires) && console.error(pe(me, t.name, '"requires"', '"array"', '"' + String(t.requires) + '"'));
1087
+ t.requires != null && !Array.isArray(t.requires) && console.error(le(me, t.name, '"requires"', '"array"', '"' + String(t.requires) + '"'));
1084
1088
  break;
1085
1089
  case "requiresIfExists":
1086
- Array.isArray(t.requiresIfExists) || console.error(pe(me, t.name, '"requiresIfExists"', '"array"', '"' + String(t.requiresIfExists) + '"'));
1090
+ Array.isArray(t.requiresIfExists) || console.error(le(me, t.name, '"requiresIfExists"', '"array"', '"' + String(t.requiresIfExists) + '"'));
1087
1091
  break;
1088
1092
  case "options":
1089
1093
  case "data":
@@ -1096,12 +1100,12 @@ function Vi(e) {
1096
1100
  t.requires && t.requires.forEach(function(r) {
1097
1101
  e.find(function(o) {
1098
1102
  return o.name === r;
1099
- }) == null && console.error(pe(ki, String(t.name), r, r));
1103
+ }) == null && console.error(le(Vi, String(t.name), r, r));
1100
1104
  });
1101
1105
  });
1102
1106
  });
1103
1107
  }
1104
- function _i(e, t) {
1108
+ function Bi(e, t) {
1105
1109
  var n = /* @__PURE__ */ new Set();
1106
1110
  return e.filter(function(r) {
1107
1111
  var o = t(r);
@@ -1109,7 +1113,7 @@ function _i(e, t) {
1109
1113
  return n.add(o), !0;
1110
1114
  });
1111
1115
  }
1112
- function Bi(e) {
1116
+ function $i(e) {
1113
1117
  var t = e.reduce(function(n, r) {
1114
1118
  var o = n[r.name];
1115
1119
  return n[r.name] = o ? Object.assign({}, o, r, {
@@ -1121,7 +1125,7 @@ function Bi(e) {
1121
1125
  return t[n];
1122
1126
  });
1123
1127
  }
1124
- var qt = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", $i = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", zt = {
1128
+ var qt = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", Ui = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", zt = {
1125
1129
  placement: "bottom",
1126
1130
  modifiers: [],
1127
1131
  strategy: "absolute"
@@ -1138,7 +1142,7 @@ function Hi(e) {
1138
1142
  var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, a = o === void 0 ? zt : o;
1139
1143
  return function(c, u, f) {
1140
1144
  f === void 0 && (f = a);
1141
- var l = {
1145
+ var p = {
1142
1146
  placement: "bottom",
1143
1147
  orderedModifiers: [],
1144
1148
  options: Object.assign({}, zt, a),
@@ -1150,31 +1154,31 @@ function Hi(e) {
1150
1154
  attributes: {},
1151
1155
  styles: {}
1152
1156
  }, g = [], x = !1, m = {
1153
- state: l,
1154
- setOptions: function(A) {
1155
- var R = typeof A == "function" ? A(l.options) : A;
1156
- y(), l.options = Object.assign({}, a, l.options, R), l.scrollParents = {
1157
+ state: p,
1158
+ setOptions: function(T) {
1159
+ var R = typeof T == "function" ? T(p.options) : T;
1160
+ y(), p.options = Object.assign({}, a, p.options, R), p.scrollParents = {
1157
1161
  reference: we(c) ? Be(c) : c.contextElement ? Be(c.contextElement) : [],
1158
1162
  popper: Be(u)
1159
1163
  };
1160
- var P = Mi(Bi([].concat(r, l.options.modifiers)));
1161
- if (l.orderedModifiers = P.filter(function(T) {
1162
- return T.enabled;
1164
+ var C = ji($i([].concat(r, p.options.modifiers)));
1165
+ if (p.orderedModifiers = C.filter(function(A) {
1166
+ return A.enabled;
1163
1167
  }), process.env.NODE_ENV !== "production") {
1164
- var i = _i([].concat(P, l.options.modifiers), function(T) {
1165
- var C = T.name;
1166
- return C;
1168
+ var i = Bi([].concat(C, p.options.modifiers), function(A) {
1169
+ var L = A.name;
1170
+ return L;
1167
1171
  });
1168
- if (Vi(i), K(l.options.placement) === lt) {
1169
- var E = l.orderedModifiers.find(function(T) {
1170
- var C = T.name;
1171
- return C === "flip";
1172
+ if (_i(i), K(p.options.placement) === pt) {
1173
+ var E = p.orderedModifiers.find(function(A) {
1174
+ var L = A.name;
1175
+ return L === "flip";
1172
1176
  });
1173
1177
  E || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
1174
1178
  }
1175
- var d = Z(u), D = d.marginTop, I = d.marginRight, M = d.marginBottom, L = d.marginLeft;
1176
- [D, I, M, L].some(function(T) {
1177
- return parseFloat(T);
1179
+ var d = Z(u), D = d.marginTop, I = d.marginRight, M = d.marginBottom, P = d.marginLeft;
1180
+ [D, I, M, P].some(function(A) {
1181
+ return parseFloat(A);
1178
1182
  }) && console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" "));
1179
1183
  }
1180
1184
  return w(), m.update();
@@ -1186,41 +1190,41 @@ function Hi(e) {
1186
1190
  // prefer the async Popper#update method
1187
1191
  forceUpdate: function() {
1188
1192
  if (!x) {
1189
- var A = l.elements, R = A.reference, P = A.popper;
1190
- if (!Yt(R, P)) {
1193
+ var T = p.elements, R = T.reference, C = T.popper;
1194
+ if (!Yt(R, C)) {
1191
1195
  process.env.NODE_ENV !== "production" && console.error(qt);
1192
1196
  return;
1193
1197
  }
1194
- l.rects = {
1195
- reference: Ni(R, ze(P), l.options.strategy === "fixed"),
1196
- popper: Rt(P)
1197
- }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(T) {
1198
- return l.modifiersData[T.name] = Object.assign({}, T.data);
1198
+ p.rects = {
1199
+ reference: Ii(R, ze(C), p.options.strategy === "fixed"),
1200
+ popper: Rt(C)
1201
+ }, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(A) {
1202
+ return p.modifiersData[A.name] = Object.assign({}, A.data);
1199
1203
  });
1200
- for (var i = 0, E = 0; E < l.orderedModifiers.length; E++) {
1204
+ for (var i = 0, E = 0; E < p.orderedModifiers.length; E++) {
1201
1205
  if (process.env.NODE_ENV !== "production" && (i += 1, i > 100)) {
1202
- console.error($i);
1206
+ console.error(Ui);
1203
1207
  break;
1204
1208
  }
1205
- if (l.reset === !0) {
1206
- l.reset = !1, E = -1;
1209
+ if (p.reset === !0) {
1210
+ p.reset = !1, E = -1;
1207
1211
  continue;
1208
1212
  }
1209
- var d = l.orderedModifiers[E], D = d.fn, I = d.options, M = I === void 0 ? {} : I, L = d.name;
1210
- typeof D == "function" && (l = D({
1211
- state: l,
1213
+ var d = p.orderedModifiers[E], D = d.fn, I = d.options, M = I === void 0 ? {} : I, P = d.name;
1214
+ typeof D == "function" && (p = D({
1215
+ state: p,
1212
1216
  options: M,
1213
- name: L,
1217
+ name: P,
1214
1218
  instance: m
1215
- }) || l);
1219
+ }) || p);
1216
1220
  }
1217
1221
  }
1218
1222
  },
1219
1223
  // Async and optimistically optimized update – it will not be executed if
1220
1224
  // not necessary (debounced to run at most once-per-tick)
1221
- update: ji(function() {
1225
+ update: ki(function() {
1222
1226
  return new Promise(function(b) {
1223
- m.forceUpdate(), b(l);
1227
+ m.forceUpdate(), b(p);
1224
1228
  });
1225
1229
  }),
1226
1230
  destroy: function() {
@@ -1233,14 +1237,14 @@ function Hi(e) {
1233
1237
  !x && f.onFirstUpdate && f.onFirstUpdate(b);
1234
1238
  });
1235
1239
  function w() {
1236
- l.orderedModifiers.forEach(function(b) {
1237
- var A = b.name, R = b.options, P = R === void 0 ? {} : R, i = b.effect;
1240
+ p.orderedModifiers.forEach(function(b) {
1241
+ var T = b.name, R = b.options, C = R === void 0 ? {} : R, i = b.effect;
1238
1242
  if (typeof i == "function") {
1239
1243
  var E = i({
1240
- state: l,
1241
- name: A,
1244
+ state: p,
1245
+ name: T,
1242
1246
  instance: m,
1243
- options: P
1247
+ options: C
1244
1248
  }), d = function() {
1245
1249
  };
1246
1250
  g.push(E || d);
@@ -1255,15 +1259,15 @@ function Hi(e) {
1255
1259
  return m;
1256
1260
  };
1257
1261
  }
1258
- var Ui = [si, Ai, oi, On, xi, yi, Ri, ti, wi], Fi = /* @__PURE__ */ Hi({
1259
- defaultModifiers: Ui
1260
- }), Wi = "tippy-box", Pn = "tippy-content", qi = "tippy-backdrop", Ln = "tippy-arrow", Nn = "tippy-svg-arrow", ye = {
1262
+ var Fi = [ui, Si, ai, On, Ai, bi, Li, ni, Ei], Wi = /* @__PURE__ */ Hi({
1263
+ defaultModifiers: Fi
1264
+ }), qi = "tippy-box", Cn = "tippy-content", zi = "tippy-backdrop", Pn = "tippy-arrow", Nn = "tippy-svg-arrow", ye = {
1261
1265
  passive: !0,
1262
1266
  capture: !0
1263
1267
  }, In = function() {
1264
1268
  return document.body;
1265
1269
  };
1266
- function zi(e, t) {
1270
+ function Yi(e, t) {
1267
1271
  return {}.hasOwnProperty.call(e, t);
1268
1272
  }
1269
1273
  function ht(e, t, n) {
@@ -1290,13 +1294,13 @@ function Xt(e, t) {
1290
1294
  }, t);
1291
1295
  };
1292
1296
  }
1293
- function Yi(e, t) {
1297
+ function Xi(e, t) {
1294
1298
  var n = Object.assign({}, e);
1295
1299
  return t.forEach(function(r) {
1296
1300
  delete n[r];
1297
1301
  }), n;
1298
1302
  }
1299
- function Xi(e) {
1303
+ function Gi(e) {
1300
1304
  return e.split(/\s+/).filter(Boolean);
1301
1305
  }
1302
1306
  function De(e) {
@@ -1305,15 +1309,15 @@ function De(e) {
1305
1309
  function Gt(e, t) {
1306
1310
  e.indexOf(t) === -1 && e.push(t);
1307
1311
  }
1308
- function Gi(e) {
1312
+ function Ki(e) {
1309
1313
  return e.filter(function(t, n) {
1310
1314
  return e.indexOf(t) === n;
1311
1315
  });
1312
1316
  }
1313
- function Ki(e) {
1317
+ function Zi(e) {
1314
1318
  return e.split("-")[0];
1315
1319
  }
1316
- function pt(e) {
1320
+ function lt(e) {
1317
1321
  return [].slice.call(e);
1318
1322
  }
1319
1323
  function Kt(e) {
@@ -1329,17 +1333,17 @@ function Fe(e) {
1329
1333
  return It(e, t);
1330
1334
  });
1331
1335
  }
1332
- function Zi(e) {
1336
+ function Ji(e) {
1333
1337
  return It(e, "NodeList");
1334
1338
  }
1335
- function Ji(e) {
1339
+ function Qi(e) {
1336
1340
  return It(e, "MouseEvent");
1337
1341
  }
1338
- function Qi(e) {
1342
+ function eo(e) {
1339
1343
  return !!(e && e._tippy && e._tippy.reference === e);
1340
1344
  }
1341
- function eo(e) {
1342
- return Fe(e) ? [e] : Zi(e) ? pt(e) : Array.isArray(e) ? e : pt(document.querySelectorAll(e));
1345
+ function to(e) {
1346
+ return Fe(e) ? [e] : Ji(e) ? lt(e) : Array.isArray(e) ? e : lt(document.querySelectorAll(e));
1343
1347
  }
1344
1348
  function mt(e, t) {
1345
1349
  e.forEach(function(n) {
@@ -1351,18 +1355,18 @@ function Zt(e, t) {
1351
1355
  n && n.setAttribute("data-state", t);
1352
1356
  });
1353
1357
  }
1354
- function to(e) {
1358
+ function no(e) {
1355
1359
  var t, n = De(e), r = n[0];
1356
1360
  return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
1357
1361
  }
1358
- function no(e, t) {
1362
+ function ro(e, t) {
1359
1363
  var n = t.clientX, r = t.clientY;
1360
1364
  return e.every(function(o) {
1361
- var a = o.popperRect, p = o.popperState, c = o.props, u = c.interactiveBorder, f = Ki(p.placement), l = p.modifiersData.offset;
1362
- if (!l)
1365
+ var a = o.popperRect, l = o.popperState, c = o.props, u = c.interactiveBorder, f = Zi(l.placement), p = l.modifiersData.offset;
1366
+ if (!p)
1363
1367
  return !0;
1364
- var g = f === "bottom" ? l.top.y : 0, x = f === "top" ? l.bottom.y : 0, m = f === "right" ? l.left.x : 0, w = f === "left" ? l.right.x : 0, y = a.top - r + g > u, b = r - a.bottom - x > u, A = a.left - n + m > u, R = n - a.right - w > u;
1365
- return y || b || A || R;
1368
+ var g = f === "bottom" ? p.top.y : 0, x = f === "top" ? p.bottom.y : 0, m = f === "right" ? p.left.x : 0, w = f === "left" ? p.right.x : 0, y = a.top - r + g > u, b = r - a.bottom - x > u, T = a.left - n + m > u, R = n - a.right - w > u;
1369
+ return y || b || T || R;
1366
1370
  });
1367
1371
  }
1368
1372
  function gt(e, t, n) {
@@ -1383,24 +1387,24 @@ function Jt(e, t) {
1383
1387
  var te = {
1384
1388
  isTouch: !1
1385
1389
  }, Qt = 0;
1386
- function ro() {
1390
+ function io() {
1387
1391
  te.isTouch || (te.isTouch = !0, window.performance && document.addEventListener("mousemove", jn));
1388
1392
  }
1389
1393
  function jn() {
1390
1394
  var e = performance.now();
1391
1395
  e - Qt < 20 && (te.isTouch = !1, document.removeEventListener("mousemove", jn)), Qt = e;
1392
1396
  }
1393
- function io() {
1397
+ function oo() {
1394
1398
  var e = document.activeElement;
1395
- if (Qi(e)) {
1399
+ if (eo(e)) {
1396
1400
  var t = e._tippy;
1397
1401
  e.blur && !t.state.isVisible && e.blur();
1398
1402
  }
1399
1403
  }
1400
- function oo() {
1401
- document.addEventListener("touchstart", ro, ye), window.addEventListener("blur", io);
1404
+ function ao() {
1405
+ document.addEventListener("touchstart", io, ye), window.addEventListener("blur", oo);
1402
1406
  }
1403
- var ao = typeof window < "u" && typeof document < "u", so = ao ? (
1407
+ var so = typeof window < "u" && typeof document < "u", uo = so ? (
1404
1408
  // @ts-ignore
1405
1409
  !!window.msCrypto
1406
1410
  ) : !1;
@@ -1412,7 +1416,7 @@ function en(e) {
1412
1416
  var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
1413
1417
  return e.replace(t, " ").replace(n, "").trim();
1414
1418
  }
1415
- function uo(e) {
1419
+ function co(e) {
1416
1420
  return en(`
1417
1421
  %ctippy.js
1418
1422
 
@@ -1423,7 +1427,7 @@ function uo(e) {
1423
1427
  }
1424
1428
  function kn(e) {
1425
1429
  return [
1426
- uo(e),
1430
+ co(e),
1427
1431
  // title
1428
1432
  "color: #00C584; font-size: 1.3em; font-weight: bold;",
1429
1433
  // message
@@ -1433,8 +1437,8 @@ function kn(e) {
1433
1437
  ];
1434
1438
  }
1435
1439
  var We;
1436
- process.env.NODE_ENV !== "production" && co();
1437
- function co() {
1440
+ process.env.NODE_ENV !== "production" && lo();
1441
+ function lo() {
1438
1442
  We = /* @__PURE__ */ new Set();
1439
1443
  }
1440
1444
  function se(e, t) {
@@ -1443,7 +1447,7 @@ function se(e, t) {
1443
1447
  We.add(t), (n = console).warn.apply(n, kn(t));
1444
1448
  }
1445
1449
  }
1446
- function Tt(e, t) {
1450
+ function At(e, t) {
1447
1451
  if (e && !We.has(t)) {
1448
1452
  var n;
1449
1453
  We.add(t), (n = console).error.apply(n, kn(t));
@@ -1451,14 +1455,14 @@ function Tt(e, t) {
1451
1455
  }
1452
1456
  function po(e) {
1453
1457
  var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
1454
- Tt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), Tt(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1458
+ At(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), At(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1455
1459
  }
1456
1460
  var Vn = {
1457
1461
  animateFill: !1,
1458
1462
  followCursor: !1,
1459
1463
  inlinePositioning: !1,
1460
1464
  sticky: !1
1461
- }, lo = {
1465
+ }, fo = {
1462
1466
  allowHTML: !1,
1463
1467
  animation: "fade",
1464
1468
  arrow: !0,
@@ -1516,7 +1520,7 @@ var Vn = {
1516
1520
  touch: !0,
1517
1521
  trigger: "mouseenter focus",
1518
1522
  triggerTarget: null
1519
- }, Vn, lo), fo = Object.keys(F), vo = function(t) {
1523
+ }, Vn, fo), vo = Object.keys(F), ho = function(t) {
1520
1524
  process.env.NODE_ENV !== "production" && Bn(t, []);
1521
1525
  var n = Object.keys(t);
1522
1526
  n.forEach(function(r) {
@@ -1525,29 +1529,29 @@ var Vn = {
1525
1529
  };
1526
1530
  function _n(e) {
1527
1531
  var t = e.plugins || [], n = t.reduce(function(r, o) {
1528
- var a = o.name, p = o.defaultValue;
1532
+ var a = o.name, l = o.defaultValue;
1529
1533
  if (a) {
1530
1534
  var c;
1531
- r[a] = e[a] !== void 0 ? e[a] : (c = F[a]) != null ? c : p;
1535
+ r[a] = e[a] !== void 0 ? e[a] : (c = F[a]) != null ? c : l;
1532
1536
  }
1533
1537
  return r;
1534
1538
  }, {});
1535
1539
  return Object.assign({}, e, n);
1536
1540
  }
1537
- function ho(e, t) {
1541
+ function mo(e, t) {
1538
1542
  var n = t ? Object.keys(_n(Object.assign({}, F, {
1539
1543
  plugins: t
1540
- }))) : fo, r = n.reduce(function(o, a) {
1541
- var p = (e.getAttribute("data-tippy-" + a) || "").trim();
1542
- if (!p)
1544
+ }))) : vo, r = n.reduce(function(o, a) {
1545
+ var l = (e.getAttribute("data-tippy-" + a) || "").trim();
1546
+ if (!l)
1543
1547
  return o;
1544
1548
  if (a === "content")
1545
- o[a] = p;
1549
+ o[a] = l;
1546
1550
  else
1547
1551
  try {
1548
- o[a] = JSON.parse(p);
1552
+ o[a] = JSON.parse(l);
1549
1553
  } catch {
1550
- o[a] = p;
1554
+ o[a] = l;
1551
1555
  }
1552
1556
  return o;
1553
1557
  }, {});
@@ -1556,7 +1560,7 @@ function ho(e, t) {
1556
1560
  function tn(e, t) {
1557
1561
  var n = Object.assign({}, t, {
1558
1562
  content: Mn(t.content, [e])
1559
- }, t.ignoreAttributes ? {} : ho(e, t.plugins));
1563
+ }, t.ignoreAttributes ? {} : mo(e, t.plugins));
1560
1564
  return n.aria = Object.assign({}, F.aria, n.aria), n.aria = {
1561
1565
  expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
1562
1566
  content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
@@ -1566,51 +1570,51 @@ function Bn(e, t) {
1566
1570
  e === void 0 && (e = {}), t === void 0 && (t = []);
1567
1571
  var n = Object.keys(e);
1568
1572
  n.forEach(function(r) {
1569
- var o = Yi(F, Object.keys(Vn)), a = !zi(o, r);
1570
- a && (a = t.filter(function(p) {
1571
- return p.name === r;
1573
+ var o = Xi(F, Object.keys(Vn)), a = !Yi(o, r);
1574
+ a && (a = t.filter(function(l) {
1575
+ return l.name === r;
1572
1576
  }).length === 0), se(a, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
1573
1577
 
1574
1578
  `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
1575
1579
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
1576
1580
  });
1577
1581
  }
1578
- var mo = function() {
1582
+ var go = function() {
1579
1583
  return "innerHTML";
1580
1584
  };
1581
- function At(e, t) {
1582
- e[mo()] = t;
1585
+ function Tt(e, t) {
1586
+ e[go()] = t;
1583
1587
  }
1584
1588
  function nn(e) {
1585
1589
  var t = $e();
1586
- return e === !0 ? t.className = Ln : (t.className = Nn, Fe(e) ? t.appendChild(e) : At(t, e)), t;
1590
+ return e === !0 ? t.className = Pn : (t.className = Nn, Fe(e) ? t.appendChild(e) : Tt(t, e)), t;
1587
1591
  }
1588
1592
  function rn(e, t) {
1589
- Fe(t.content) ? (At(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? At(e, t.content) : e.textContent = t.content);
1593
+ Fe(t.content) ? (Tt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Tt(e, t.content) : e.textContent = t.content);
1590
1594
  }
1591
1595
  function St(e) {
1592
- var t = e.firstElementChild, n = pt(t.children);
1596
+ var t = e.firstElementChild, n = lt(t.children);
1593
1597
  return {
1594
1598
  box: t,
1595
1599
  content: n.find(function(r) {
1596
- return r.classList.contains(Pn);
1600
+ return r.classList.contains(Cn);
1597
1601
  }),
1598
1602
  arrow: n.find(function(r) {
1599
- return r.classList.contains(Ln) || r.classList.contains(Nn);
1603
+ return r.classList.contains(Pn) || r.classList.contains(Nn);
1600
1604
  }),
1601
1605
  backdrop: n.find(function(r) {
1602
- return r.classList.contains(qi);
1606
+ return r.classList.contains(zi);
1603
1607
  })
1604
1608
  };
1605
1609
  }
1606
1610
  function $n(e) {
1607
1611
  var t = $e(), n = $e();
1608
- n.className = Wi, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1612
+ n.className = qi, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1609
1613
  var r = $e();
1610
- r.className = Pn, r.setAttribute("data-state", "hidden"), rn(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
1611
- function o(a, p) {
1612
- var c = St(t), u = c.box, f = c.content, l = c.arrow;
1613
- p.theme ? u.setAttribute("data-theme", p.theme) : u.removeAttribute("data-theme"), typeof p.animation == "string" ? u.setAttribute("data-animation", p.animation) : u.removeAttribute("data-animation"), p.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof p.maxWidth == "number" ? p.maxWidth + "px" : p.maxWidth, p.role ? u.setAttribute("role", p.role) : u.removeAttribute("role"), (a.content !== p.content || a.allowHTML !== p.allowHTML) && rn(f, e.props), p.arrow ? l ? a.arrow !== p.arrow && (u.removeChild(l), u.appendChild(nn(p.arrow))) : u.appendChild(nn(p.arrow)) : l && u.removeChild(l);
1614
+ r.className = Cn, r.setAttribute("data-state", "hidden"), rn(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
1615
+ function o(a, l) {
1616
+ var c = St(t), u = c.box, f = c.content, p = c.arrow;
1617
+ l.theme ? u.setAttribute("data-theme", l.theme) : u.removeAttribute("data-theme"), typeof l.animation == "string" ? u.setAttribute("data-animation", l.animation) : u.removeAttribute("data-animation"), l.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof l.maxWidth == "number" ? l.maxWidth + "px" : l.maxWidth, l.role ? u.setAttribute("role", l.role) : u.removeAttribute("role"), (a.content !== l.content || a.allowHTML !== l.allowHTML) && rn(f, e.props), l.arrow ? p ? a.arrow !== l.arrow && (u.removeChild(p), u.appendChild(nn(l.arrow))) : u.appendChild(nn(l.arrow)) : p && u.removeChild(p);
1614
1618
  }
1615
1619
  return {
1616
1620
  popper: t,
@@ -1618,9 +1622,9 @@ function $n(e) {
1618
1622
  };
1619
1623
  }
1620
1624
  $n.$$tippy = !0;
1621
- var go = 1, at = [], yt = [];
1622
- function yo(e, t) {
1623
- var n = tn(e, Object.assign({}, F, _n(Kt(t)))), r, o, a, p = !1, c = !1, u = !1, f = !1, l, g, x, m = [], w = Xt(Ge, n.interactiveDebounce), y, b = go++, A = null, R = Gi(n.plugins), P = {
1625
+ var yo = 1, at = [], yt = [];
1626
+ function bo(e, t) {
1627
+ var n = tn(e, Object.assign({}, F, _n(Kt(t)))), r, o, a, l = !1, c = !1, u = !1, f = !1, p, g, x, m = [], w = Xt(Ge, n.interactiveDebounce), y, b = yo++, T = null, R = Ki(n.plugins), C = {
1624
1628
  // Is the instance currently enabled?
1625
1629
  isEnabled: !0,
1626
1630
  // Is the tippy currently showing and not transitioning out?
@@ -1636,16 +1640,16 @@ function yo(e, t) {
1636
1640
  id: b,
1637
1641
  reference: e,
1638
1642
  popper: $e(),
1639
- popperInstance: A,
1643
+ popperInstance: T,
1640
1644
  props: n,
1641
- state: P,
1645
+ state: C,
1642
1646
  plugins: R,
1643
1647
  // methods
1644
1648
  clearDelayTimeouts: et,
1645
1649
  setProps: tt,
1646
1650
  setContent: nt,
1647
- show: Hn,
1648
- hide: Un,
1651
+ show: Un,
1652
+ hide: Hn,
1649
1653
  hideWithInteractivity: Fn,
1650
1654
  enable: ke,
1651
1655
  disable: Qe,
@@ -1653,7 +1657,7 @@ function yo(e, t) {
1653
1657
  destroy: qn
1654
1658
  };
1655
1659
  if (!n.render)
1656
- return process.env.NODE_ENV !== "production" && Tt(!0, "render() function has not been supplied."), i;
1660
+ return process.env.NODE_ENV !== "production" && At(!0, "render() function has not been supplied."), i;
1657
1661
  var E = n.render(i), d = E.popper, D = E.onUpdate;
1658
1662
  d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
1659
1663
  var I = R.map(function(s) {
@@ -1662,31 +1666,31 @@ function yo(e, t) {
1662
1666
  return xe(), Q(), V(), j("onCreate", [i]), n.showOnCreate && je(), d.addEventListener("mouseenter", function() {
1663
1667
  i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1664
1668
  }), d.addEventListener("mouseleave", function() {
1665
- i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && H().addEventListener("mousemove", w);
1669
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", w);
1666
1670
  }), i;
1667
- function L() {
1671
+ function P() {
1668
1672
  var s = i.props.touch;
1669
1673
  return Array.isArray(s) ? s : [s, 0];
1670
1674
  }
1671
- function T() {
1672
- return L()[0] === "hold";
1675
+ function A() {
1676
+ return P()[0] === "hold";
1673
1677
  }
1674
- function C() {
1678
+ function L() {
1675
1679
  var s;
1676
1680
  return !!((s = i.props.render) != null && s.$$tippy);
1677
1681
  }
1678
1682
  function N() {
1679
1683
  return y || e;
1680
1684
  }
1681
- function H() {
1685
+ function U() {
1682
1686
  var s = N().parentNode;
1683
- return s ? to(s) : document;
1687
+ return s ? no(s) : document;
1684
1688
  }
1685
- function U() {
1689
+ function H() {
1686
1690
  return St(d);
1687
1691
  }
1688
1692
  function k(s) {
1689
- return i.state.isMounted && !i.state.isVisible || te.isTouch || l && l.type === "focus" ? 0 : ht(i.props.delay, s ? 0 : 1, F.delay);
1693
+ return i.state.isMounted && !i.state.isVisible || te.isTouch || p && p.type === "focus" ? 0 : ht(i.props.delay, s ? 0 : 1, F.delay);
1690
1694
  }
1691
1695
  function V(s) {
1692
1696
  s === void 0 && (s = !1), d.style.pointerEvents = i.props.interactive && !s ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
@@ -1723,7 +1727,7 @@ function yo(e, t) {
1723
1727
  }
1724
1728
  }
1725
1729
  function fe() {
1726
- H().removeEventListener("mousemove", w), at = at.filter(function(s) {
1730
+ U().removeEventListener("mousemove", w), at = at.filter(function(s) {
1727
1731
  return s !== w;
1728
1732
  });
1729
1733
  }
@@ -1751,11 +1755,11 @@ function yo(e, t) {
1751
1755
  u = !1;
1752
1756
  }
1753
1757
  function G() {
1754
- var s = H();
1758
+ var s = U();
1755
1759
  s.addEventListener("mousedown", ee, !0), s.addEventListener("touchend", ee, ye), s.addEventListener("touchstart", re, ye), s.addEventListener("touchmove", de, ye);
1756
1760
  }
1757
1761
  function ie() {
1758
- var s = H();
1762
+ var s = U();
1759
1763
  s.removeEventListener("mousedown", ee, !0), s.removeEventListener("touchend", ee, ye), s.removeEventListener("touchstart", re, ye), s.removeEventListener("touchmove", de, ye);
1760
1764
  }
1761
1765
  function Ee(s, v) {
@@ -1767,7 +1771,7 @@ function yo(e, t) {
1767
1771
  Oe(s, v);
1768
1772
  }
1769
1773
  function Oe(s, v) {
1770
- var h = U().box;
1774
+ var h = H().box;
1771
1775
  function S(O) {
1772
1776
  O.target === h && (gt(h, "remove", S), v());
1773
1777
  }
@@ -1788,18 +1792,18 @@ function yo(e, t) {
1788
1792
  });
1789
1793
  }
1790
1794
  function xe() {
1791
- T() && (ue("touchstart", Ne, {
1795
+ A() && (ue("touchstart", Ne, {
1792
1796
  passive: !0
1793
1797
  }), ue("touchend", Ke, {
1794
1798
  passive: !0
1795
- })), Xi(i.props.trigger).forEach(function(s) {
1799
+ })), Gi(i.props.trigger).forEach(function(s) {
1796
1800
  if (s !== "manual")
1797
1801
  switch (ue(s, Ne), s) {
1798
1802
  case "mouseenter":
1799
1803
  ue("mouseleave", Ke);
1800
1804
  break;
1801
1805
  case "focus":
1802
- ue(so ? "focusout" : "blur", Ie);
1806
+ ue(uo ? "focusout" : "blur", Ie);
1803
1807
  break;
1804
1808
  case "focusin":
1805
1809
  ue("focusout", Ie);
@@ -1816,28 +1820,28 @@ function yo(e, t) {
1816
1820
  function Ne(s) {
1817
1821
  var v, h = !1;
1818
1822
  if (!(!i.state.isEnabled || Me(s) || c)) {
1819
- var S = ((v = l) == null ? void 0 : v.type) === "focus";
1820
- l = s, y = s.currentTarget, Q(), !i.state.isVisible && Ji(s) && at.forEach(function(O) {
1823
+ var S = ((v = p) == null ? void 0 : v.type) === "focus";
1824
+ p = s, y = s.currentTarget, Q(), !i.state.isVisible && Qi(s) && at.forEach(function(O) {
1821
1825
  return O(s);
1822
- }), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || p) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : je(s), s.type === "click" && (p = !h), h && !S && ve(s);
1826
+ }), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : je(s), s.type === "click" && (l = !h), h && !S && ve(s);
1823
1827
  }
1824
1828
  }
1825
1829
  function Ge(s) {
1826
1830
  var v = s.target, h = N().contains(v) || d.contains(v);
1827
1831
  if (!(s.type === "mousemove" && h)) {
1828
1832
  var S = ce().concat(d).map(function(O) {
1829
- var _, z = O._tippy, Te = (_ = z.popperInstance) == null ? void 0 : _.state;
1830
- return Te ? {
1833
+ var _, z = O._tippy, Ae = (_ = z.popperInstance) == null ? void 0 : _.state;
1834
+ return Ae ? {
1831
1835
  popperRect: O.getBoundingClientRect(),
1832
- popperState: Te,
1836
+ popperState: Ae,
1833
1837
  props: n
1834
1838
  } : null;
1835
1839
  }).filter(Boolean);
1836
- no(S, s) && (fe(), ve(s));
1840
+ ro(S, s) && (fe(), ve(s));
1837
1841
  }
1838
1842
  }
1839
1843
  function Ke(s) {
1840
- var v = Me(s) || i.props.trigger.indexOf("click") >= 0 && p;
1844
+ var v = Me(s) || i.props.trigger.indexOf("click") >= 0 && l;
1841
1845
  if (!v) {
1842
1846
  if (i.props.interactive) {
1843
1847
  i.hideWithInteractivity(s);
@@ -1850,11 +1854,11 @@ function yo(e, t) {
1850
1854
  i.props.trigger.indexOf("focusin") < 0 && s.target !== N() || i.props.interactive && s.relatedTarget && d.contains(s.relatedTarget) || ve(s);
1851
1855
  }
1852
1856
  function Me(s) {
1853
- return te.isTouch ? T() !== s.type.indexOf("touch") >= 0 : !1;
1857
+ return te.isTouch ? A() !== s.type.indexOf("touch") >= 0 : !1;
1854
1858
  }
1855
1859
  function Ze() {
1856
1860
  Je();
1857
- var s = i.props, v = s.popperOptions, h = s.placement, S = s.offset, O = s.getReferenceClientRect, _ = s.moveTransition, z = C() ? St(d).arrow : null, Te = O ? {
1861
+ var s = i.props, v = s.popperOptions, h = s.placement, S = s.offset, O = s.getReferenceClientRect, _ = s.moveTransition, z = L() ? St(d).arrow : null, Ae = O ? {
1858
1862
  getBoundingClientRect: O,
1859
1863
  contextElement: O.contextElement || N()
1860
1864
  } : e, Mt = {
@@ -1863,12 +1867,12 @@ function yo(e, t) {
1863
1867
  phase: "beforeWrite",
1864
1868
  requires: ["computeStyles"],
1865
1869
  fn: function(rt) {
1866
- var Ae = rt.state;
1867
- if (C()) {
1868
- var zn = U(), vt = zn.box;
1870
+ var Te = rt.state;
1871
+ if (L()) {
1872
+ var zn = H(), vt = zn.box;
1869
1873
  ["placement", "reference-hidden", "escaped"].forEach(function(it) {
1870
- it === "placement" ? vt.setAttribute("data-placement", Ae.placement) : Ae.attributes.popper["data-popper-" + it] ? vt.setAttribute("data-" + it, "") : vt.removeAttribute("data-" + it);
1871
- }), Ae.attributes.popper = {};
1874
+ it === "placement" ? vt.setAttribute("data-placement", Te.placement) : Te.attributes.popper["data-popper-" + it] ? vt.setAttribute("data-" + it, "") : vt.removeAttribute("data-" + it);
1875
+ }), Te.attributes.popper = {};
1872
1876
  }
1873
1877
  }
1874
1878
  }, he = [{
@@ -1897,13 +1901,13 @@ function yo(e, t) {
1897
1901
  adaptive: !_
1898
1902
  }
1899
1903
  }, Mt];
1900
- C() && z && he.push({
1904
+ L() && z && he.push({
1901
1905
  name: "arrow",
1902
1906
  options: {
1903
1907
  element: z,
1904
1908
  padding: 3
1905
1909
  }
1906
- }), he.push.apply(he, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = Fi(Te, d, Object.assign({}, v, {
1910
+ }), he.push.apply(he, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = Wi(Ae, d, Object.assign({}, v, {
1907
1911
  placement: h,
1908
1912
  onFirstUpdate: x,
1909
1913
  modifiers: he
@@ -1923,11 +1927,11 @@ function yo(e, t) {
1923
1927
  `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
1924
1928
  }
1925
1929
  function ce() {
1926
- return pt(d.querySelectorAll("[data-tippy-root]"));
1930
+ return lt(d.querySelectorAll("[data-tippy-root]"));
1927
1931
  }
1928
1932
  function je(s) {
1929
1933
  i.clearDelayTimeouts(), s && j("onTrigger", [i, s]), G();
1930
- var v = k(!0), h = L(), S = h[0], O = h[1];
1934
+ var v = k(!0), h = P(), S = h[0], O = h[1];
1931
1935
  te.isTouch && S === "hold" && O && (v = O), v ? r = setTimeout(function() {
1932
1936
  i.show();
1933
1937
  }, v) : i.show();
@@ -1937,7 +1941,7 @@ function yo(e, t) {
1937
1941
  ie();
1938
1942
  return;
1939
1943
  }
1940
- if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && p)) {
1944
+ if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && l)) {
1941
1945
  var v = k(!1);
1942
1946
  v ? o = setTimeout(function() {
1943
1947
  i.state.isVisible && i.hide();
@@ -1973,41 +1977,41 @@ function yo(e, t) {
1973
1977
  content: s
1974
1978
  });
1975
1979
  }
1976
- function Hn() {
1980
+ function Un() {
1977
1981
  process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("show"));
1978
1982
  var s = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = te.isTouch && !i.props.touch, O = ht(i.props.duration, 0, F.duration);
1979
1983
  if (!(s || v || h || S) && !N().hasAttribute("disabled") && (j("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1980
- if (i.state.isVisible = !0, C() && (d.style.visibility = "visible"), V(), G(), i.state.isMounted || (d.style.transition = "none"), C()) {
1981
- var _ = U(), z = _.box, Te = _.content;
1982
- mt([z, Te], 0);
1984
+ if (i.state.isVisible = !0, L() && (d.style.visibility = "visible"), V(), G(), i.state.isMounted || (d.style.transition = "none"), L()) {
1985
+ var _ = H(), z = _.box, Ae = _.content;
1986
+ mt([z, Ae], 0);
1983
1987
  }
1984
1988
  x = function() {
1985
1989
  var he;
1986
1990
  if (!(!i.state.isVisible || f)) {
1987
- if (f = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, C() && i.props.animation) {
1988
- var dt = U(), rt = dt.box, Ae = dt.content;
1989
- mt([rt, Ae], O), Zt([rt, Ae], "visible");
1991
+ if (f = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, L() && i.props.animation) {
1992
+ var dt = H(), rt = dt.box, Te = dt.content;
1993
+ mt([rt, Te], O), Zt([rt, Te], "visible");
1990
1994
  }
1991
- J(), Q(), Gt(yt, i), (he = i.popperInstance) == null || he.forceUpdate(), j("onMount", [i]), i.props.animation && C() && oe(O, function() {
1995
+ J(), Q(), Gt(yt, i), (he = i.popperInstance) == null || he.forceUpdate(), j("onMount", [i]), i.props.animation && L() && oe(O, function() {
1992
1996
  i.state.isShown = !0, j("onShown", [i]);
1993
1997
  });
1994
1998
  }
1995
1999
  }, ae();
1996
2000
  }
1997
2001
  }
1998
- function Un() {
2002
+ function Hn() {
1999
2003
  process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("hide"));
2000
2004
  var s = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = ht(i.props.duration, 1, F.duration);
2001
2005
  if (!(s || v || h) && (j("onHide", [i], !1), i.props.onHide(i) !== !1)) {
2002
- if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, p = !1, C() && (d.style.visibility = "hidden"), fe(), ie(), V(!0), C()) {
2003
- var O = U(), _ = O.box, z = O.content;
2006
+ if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, l = !1, L() && (d.style.visibility = "hidden"), fe(), ie(), V(!0), L()) {
2007
+ var O = H(), _ = O.box, z = O.content;
2004
2008
  i.props.animation && (mt([_, z], S), Zt([_, z], "hidden"));
2005
2009
  }
2006
- J(), Q(), i.props.animation ? C() && Ee(S, i.unmount) : i.unmount();
2010
+ J(), Q(), i.props.animation ? L() && Ee(S, i.unmount) : i.unmount();
2007
2011
  }
2008
2012
  }
2009
2013
  function Fn(s) {
2010
- process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("hideWithInteractivity")), H().addEventListener("mousemove", w), Gt(at, w), w(s);
2014
+ process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("hideWithInteractivity")), U().addEventListener("mousemove", w), Gt(at, w), w(s);
2011
2015
  }
2012
2016
  function Wn() {
2013
2017
  process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Je(), ce().forEach(function(s) {
@@ -2023,13 +2027,13 @@ function yo(e, t) {
2023
2027
  function Ye(e, t) {
2024
2028
  t === void 0 && (t = {});
2025
2029
  var n = F.plugins.concat(t.plugins || []);
2026
- process.env.NODE_ENV !== "production" && (po(e), Bn(t, n)), oo();
2030
+ process.env.NODE_ENV !== "production" && (po(e), Bn(t, n)), ao();
2027
2031
  var r = Object.assign({}, t, {
2028
2032
  plugins: n
2029
- }), o = eo(e);
2033
+ }), o = to(e);
2030
2034
  if (process.env.NODE_ENV !== "production") {
2031
- var a = Fe(r.content), p = o.length > 1;
2032
- se(a && p, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
2035
+ var a = Fe(r.content), l = o.length > 1;
2036
+ se(a && l, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
2033
2037
 
2034
2038
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
2035
2039
 
@@ -2037,13 +2041,13 @@ function Ye(e, t) {
2037
2041
  `, "2) content: () => element.cloneNode(true)"].join(" "));
2038
2042
  }
2039
2043
  var c = o.reduce(function(u, f) {
2040
- var l = f && yo(f, r);
2041
- return l && u.push(l), u;
2044
+ var p = f && bo(f, r);
2045
+ return p && u.push(p), u;
2042
2046
  }, []);
2043
2047
  return Fe(e) ? c[0] : c;
2044
2048
  }
2045
2049
  Ye.defaultProps = F;
2046
- Ye.setDefaultProps = vo;
2050
+ Ye.setDefaultProps = ho;
2047
2051
  Ye.currentInput = te;
2048
2052
  Object.assign({}, On, {
2049
2053
  effect: function(t) {
@@ -2062,7 +2066,7 @@ Object.assign({}, On, {
2062
2066
  Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
2063
2067
  }
2064
2068
  });
2065
- var bo = {
2069
+ var wo = {
2066
2070
  name: "sticky",
2067
2071
  defaultValue: !1,
2068
2072
  fn: function(t) {
@@ -2073,10 +2077,10 @@ var bo = {
2073
2077
  function a(f) {
2074
2078
  return t.props.sticky === !0 || t.props.sticky === f;
2075
2079
  }
2076
- var p = null, c = null;
2080
+ var l = null, c = null;
2077
2081
  function u() {
2078
- var f = a("reference") ? o().getBoundingClientRect() : null, l = a("popper") ? r.getBoundingClientRect() : null;
2079
- (f && on(p, f) || l && on(c, l)) && t.popperInstance && t.popperInstance.update(), p = f, c = l, t.state.isMounted && requestAnimationFrame(u);
2082
+ var f = a("reference") ? o().getBoundingClientRect() : null, p = a("popper") ? r.getBoundingClientRect() : null;
2083
+ (f && on(l, f) || p && on(c, p)) && t.popperInstance && t.popperInstance.update(), l = f, c = p, t.state.isMounted && requestAnimationFrame(u);
2080
2084
  }
2081
2085
  return {
2082
2086
  onMount: function() {
@@ -2091,13 +2095,13 @@ function on(e, t) {
2091
2095
  Ye.setDefaultProps({
2092
2096
  render: $n
2093
2097
  });
2094
- const wo = (e) => ({
2098
+ const Eo = (e) => ({
2095
2099
  name: "arrowDetected",
2096
2100
  enabled: !0,
2097
2101
  phase: "main",
2098
2102
  fn: e,
2099
2103
  requiresIfExists: ["offset"]
2100
- }), Eo = [
2104
+ }), Oo = [
2101
2105
  "bottom",
2102
2106
  "bottom-start",
2103
2107
  "bottom-end",
@@ -2110,12 +2114,12 @@ const wo = (e) => ({
2110
2114
  "top",
2111
2115
  "top-start",
2112
2116
  "top-end"
2113
- ], Oo = [!0, !1, "reference", "popper"], xo = (e, t) => {
2117
+ ], xo = [!0, !1, "reference", "popper"], Ao = (e, t) => {
2114
2118
  const { contentElement: n } = { ...t };
2115
2119
  return delete t.contentElement, Ye(e, {
2116
2120
  ...t,
2117
- plugins: [bo],
2118
- render: () => Do(n)
2121
+ plugins: [wo],
2122
+ render: () => Ro(n)
2119
2123
  });
2120
2124
  }, To = ({
2121
2125
  boundary: e = "clippingParents",
@@ -2146,36 +2150,36 @@ const wo = (e) => ({
2146
2150
  tether: o
2147
2151
  }
2148
2152
  },
2149
- wo(({ state: a }) => {
2153
+ Eo(({ state: a }) => {
2150
2154
  n(a.placement);
2151
2155
  })
2152
2156
  ]
2153
- }), Ao = (e) => {
2157
+ }), So = (e) => {
2154
2158
  const t = document.createElement("span");
2155
2159
  return t.innerText = e.innerText || "", e.innerText = "", e.appendChild(t), t;
2156
- }, So = (e) => {
2157
- const t = e == null ? void 0 : e.children[0];
2158
- return t || Ao(e);
2159
2160
  }, Do = (e) => {
2161
+ const t = e == null ? void 0 : e.children[0];
2162
+ return t || So(e);
2163
+ }, Ro = (e) => {
2160
2164
  const t = document.createElement("div");
2161
2165
  return t.className = "tippy-box d-ps-absolute", t.appendChild(e), {
2162
2166
  popper: t
2163
2167
  };
2164
- }, Ro = [
2165
- ...Eo
2168
+ }, Lo = [
2169
+ ...Oo
2166
2170
  ], Co = 300, Po = {
2167
2171
  hover: "d-tooltip--hover",
2168
2172
  show: "d-tooltip--show",
2169
2173
  inverted: "d-tooltip--inverted",
2170
2174
  hide: "d-tooltip--hide"
2171
- }, Lo = [
2172
- ...Oo
2173
- ], Uo = [!0, !1, "toggle"];
2174
- const No = {
2175
+ }, No = [
2176
+ ...xo
2177
+ ], Fo = [!0, !1, "toggle"];
2178
+ const Io = {
2175
2179
  // eslint-disable-next-line vue/multi-word-component-names
2176
2180
  name: "DtTooltip",
2177
2181
  components: {
2178
- DtLazyShow: jr
2182
+ DtLazyShow: kr
2179
2183
  },
2180
2184
  props: {
2181
2185
  /**
@@ -2246,7 +2250,7 @@ const No = {
2246
2250
  type: String,
2247
2251
  default: "top",
2248
2252
  validator(e) {
2249
- return Ro.includes(e);
2253
+ return Lo.includes(e);
2250
2254
  }
2251
2255
  },
2252
2256
  /**
@@ -2267,7 +2271,7 @@ const No = {
2267
2271
  sticky: {
2268
2272
  type: [Boolean, String],
2269
2273
  default: !1,
2270
- validator: (e) => Lo.includes(e)
2274
+ validator: (e) => No.includes(e)
2271
2275
  },
2272
2276
  /**
2273
2277
  * Additional css classes for the tooltip content element.
@@ -2285,6 +2289,15 @@ const No = {
2285
2289
  type: String,
2286
2290
  default: ""
2287
2291
  },
2292
+ /**
2293
+ * Controls whether hover/focus causes the tooltip to appear.
2294
+ * Cannot be combined with the show prop. show value will be ignored.
2295
+ * by default this is true, if you override with false, the tooltip will never show up.
2296
+ */
2297
+ enabled: {
2298
+ type: Boolean,
2299
+ default: !0
2300
+ },
2288
2301
  /**
2289
2302
  * Controls whether the tooltip is shown. Leaving this null will have the tooltip trigger on mouseover by default.
2290
2303
  * If you set this value, the default mouseover behavior will be disabled and you can control it as you need.
@@ -2358,6 +2371,10 @@ const No = {
2358
2371
  };
2359
2372
  },
2360
2373
  computed: {
2374
+ // whether the tooltip is visible or not.
2375
+ isVisible() {
2376
+ return this.isShown && this.enabled && (!!this.message.trim() || !!this.$slots.default);
2377
+ },
2361
2378
  tooltipListeners() {
2362
2379
  return {
2363
2380
  "after-leave": () => {
@@ -2383,7 +2400,7 @@ const No = {
2383
2400
  };
2384
2401
  },
2385
2402
  anchor() {
2386
- return this.externalAnchor ? document.querySelector(this.externalAnchor) : So(this.$refs.anchor);
2403
+ return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : Do(this.$refs.anchor);
2387
2404
  }
2388
2405
  },
2389
2406
  watch: {
@@ -2407,11 +2424,11 @@ const No = {
2407
2424
  }
2408
2425
  },
2409
2426
  mounted() {
2410
- this.tip = xo(this.anchor, this.initOptions()), this.isShown && this.tip.show();
2427
+ !this.enabled && this.show != null && (console.warn("Tooltip: You cannot use both the enabled and show props at the same time."), console.warn("The show prop will be ignored.")), this.externalAnchor && this.addExternalAnchorEventListeners(), this.tip = Ao(this.anchor, this.initOptions()), this.isShown && this.tip.show();
2411
2428
  },
2412
2429
  beforeUnmount() {
2413
2430
  var e;
2414
- this.tip && ((e = this.tip) == null || e.destroy());
2431
+ this.externalAnchor && this.removeExternalAnchorEventListeners(), this.tip && ((e = this.tip) == null || e.destroy());
2415
2432
  },
2416
2433
  methods: {
2417
2434
  calculateAnchorZindex() {
@@ -2423,18 +2440,15 @@ const No = {
2423
2440
  return this.anchor.matches(":focus-visible");
2424
2441
  },
2425
2442
  onEnterAnchor(e) {
2426
- if (this.delay)
2427
- this.inTimer = setTimeout((function(t) {
2428
- return this.triggerShow(t);
2429
- }).bind(this, e), Co);
2430
- else
2431
- return this.triggerShow(e);
2443
+ this.delay ? this.inTimer = setTimeout((function(t) {
2444
+ this.triggerShow(t);
2445
+ }).bind(this, e), Co) : this.triggerShow(e);
2432
2446
  },
2433
2447
  triggerShow(e) {
2434
2448
  e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
2435
2449
  },
2436
- onLeaveAnchor() {
2437
- return clearTimeout(this.inTimer), this.triggerHide();
2450
+ onLeaveAnchor(e) {
2451
+ e.type === "keydown" && e.code !== "Escape" || (clearTimeout(this.inTimer), this.triggerHide());
2438
2452
  },
2439
2453
  triggerHide() {
2440
2454
  this.show === null && (this.isShown = !1);
@@ -2466,12 +2480,26 @@ const No = {
2466
2480
  onMount: this.onMount,
2467
2481
  ...this.tippyProps
2468
2482
  };
2483
+ },
2484
+ addExternalAnchorEventListeners() {
2485
+ ["focusin", "mouseenter"].forEach((e) => {
2486
+ this.anchor.addEventListener(e, (t) => this.onEnterAnchor(t));
2487
+ }), ["focusout", "mouseleave", "keydown"].forEach((e) => {
2488
+ this.anchor.addEventListener(e, (t) => this.onLeaveAnchor(t));
2489
+ });
2490
+ },
2491
+ removeExternalAnchorEventListeners() {
2492
+ ["focusin", "mouseenter"].forEach((e) => {
2493
+ this.anchor.removeEventListener(e, (t) => this.onEnterAnchor(t));
2494
+ }), ["focusout", "mouseleave", "keydown"].forEach((e) => {
2495
+ this.anchor.removeEventListener(e, (t) => this.onLeaveAnchor(t));
2496
+ });
2469
2497
  }
2470
2498
  }
2471
- }, Io = { "data-qa": "dt-tooltip-container" };
2472
- function Mo(e, t, n, r, o, a) {
2473
- const p = rr("dt-lazy-show");
2474
- return bt(), jt("div", Io, [
2499
+ }, Mo = { "data-qa": "dt-tooltip-container" };
2500
+ function jo(e, t, n, r, o, a) {
2501
+ const l = rr("dt-lazy-show");
2502
+ return bt(), jt("div", Mo, [
2475
2503
  n.externalAnchor ? un("", !0) : (bt(), jt("span", {
2476
2504
  key: 0,
2477
2505
  ref: "anchor",
@@ -2484,10 +2512,10 @@ function Mo(e, t, n, r, o, a) {
2484
2512
  }, [
2485
2513
  wt(e.$slots, "anchor")
2486
2514
  ], 544)),
2487
- or(p, an({
2515
+ or(l, an({
2488
2516
  id: n.id,
2489
2517
  ref: "content",
2490
- show: o.isShown && (!!n.message.trim() || o.hasSlotContent(e.$slots.default)),
2518
+ show: a.isVisible,
2491
2519
  role: "tooltip",
2492
2520
  "aria-hidden": "false",
2493
2521
  "data-qa": "dt-tooltip",
@@ -2511,38 +2539,39 @@ function Mo(e, t, n, r, o, a) {
2511
2539
  }, 16, ["id", "show", "appear", "transition", "class"])
2512
2540
  ]);
2513
2541
  }
2514
- const Fo = /* @__PURE__ */ bn(No, [["render", Mo]]);
2542
+ const Wo = /* @__PURE__ */ bn(Io, [["render", jo]]);
2515
2543
  export {
2516
- Fo as D,
2517
- Bo as E,
2518
- _o as L,
2519
- Ro as T,
2544
+ Rr as A,
2545
+ Wo as D,
2546
+ $o as E,
2547
+ Bo as L,
2548
+ Lo as T,
2520
2549
  ge as V,
2521
2550
  bn as _,
2522
- ln as a,
2551
+ pn as a,
2523
2552
  hr as b,
2524
- ko as c,
2525
- jr as d,
2553
+ Vo as c,
2554
+ kr as d,
2526
2555
  Er as e,
2527
2556
  mr as f,
2528
2557
  cn as g,
2529
2558
  br as h,
2530
- Vo as i,
2531
- cr as j,
2559
+ _o as i,
2560
+ Ir as j,
2532
2561
  wr as k,
2533
- Co as l,
2534
- Po as m,
2535
- Lo as n,
2536
- Uo as o,
2537
- $o as p,
2538
- dr as q,
2539
- Oo as r,
2562
+ cr as l,
2563
+ Co as m,
2564
+ Po as n,
2565
+ No as o,
2566
+ Fo as p,
2567
+ Uo as q,
2568
+ dr as r,
2540
2569
  Nr as s,
2541
- xr as t,
2570
+ xo as t,
2542
2571
  Ho as u,
2543
- To as v,
2544
- xo as w,
2545
- Ye as x,
2546
- gn as y,
2547
- Rr as z
2572
+ xr as v,
2573
+ To as w,
2574
+ Ao as x,
2575
+ Ye as y,
2576
+ gn as z
2548
2577
  };