@dialpad/dialtone 9.9.0 → 9.11.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 (106) hide show
  1. package/README.md +92 -20
  2. package/dist/css/CHANGELOG.json +1 -1
  3. package/dist/css/dialtone.css +25 -4
  4. package/dist/css/dialtone.min.css +1 -1
  5. package/dist/icons/icons.json +1 -1
  6. package/dist/icons/keywords.json +1 -1
  7. package/dist/icons/svg/circle-slashed.svg +1 -1
  8. package/dist/icons/svg/code-block.svg +1 -0
  9. package/dist/icons/svg/{0365-calendar.svg → o365-calendar.svg} +1 -1
  10. package/dist/tokens/android/java/tokens-dark.kt +1 -1
  11. package/dist/tokens/android/java/tokens-light.kt +1 -1
  12. package/dist/tokens/android/res/values/colors-dark.xml +1 -1
  13. package/dist/tokens/android/res/values/colors-light.xml +1 -1
  14. package/dist/tokens/android/res/values/dimens.xml +1 -1
  15. package/dist/tokens/css/variables-dark.css +1 -1
  16. package/dist/tokens/css/variables-light.css +1 -1
  17. package/dist/tokens/ios/tokens-dark.swift +1 -1
  18. package/dist/tokens/ios/tokens-light.swift +1 -1
  19. package/dist/tokens/less/variables-dark.less +1 -1
  20. package/dist/tokens/less/variables-light.less +1 -1
  21. package/dist/vue2/component-documentation.json +1 -1
  22. package/dist/vue2/dialtone-vue.cjs +5 -5
  23. package/dist/vue2/dialtone-vue.js +1742 -1298
  24. package/dist/vue2/directives.cjs +1 -1
  25. package/dist/vue2/directives.js +1 -1
  26. package/dist/vue2/emoji.cjs +1 -1
  27. package/dist/vue2/emoji.js +4 -4
  28. package/dist/vue2/emoji_picker-G_dpCtLb.cjs +1 -0
  29. package/dist/vue2/emoji_picker-H4Qp2wF5.js +782 -0
  30. package/dist/vue2/{emoji_text_wrapper-VgRKbImg.js → emoji_text_wrapper-B6LYaq-4.js} +6 -7
  31. package/dist/vue2/emoji_text_wrapper-HXzlY5eZ.cjs +1 -0
  32. package/dist/vue2/index-ASOzBdZi.js +139513 -0
  33. package/dist/vue2/index-Fi4GXrPf.cjs +1 -0
  34. package/dist/vue2/message_input.cjs +1 -92
  35. package/dist/vue2/message_input.js +86 -13208
  36. package/dist/vue2/rich_text_editor-HGWAxljc.cjs +97 -0
  37. package/dist/vue2/rich_text_editor-hvsobGV1.js +16483 -0
  38. package/dist/vue2/style.css +1 -1
  39. package/dist/vue2/{tooltip-RmgCyjmY.cjs → tooltip-R7LTeOZf.cjs} +5 -5
  40. package/dist/vue2/{tooltip-UOWkfPpb.js → tooltip-vREVnN_1.js} +282 -263
  41. package/dist/vue2/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts.map +1 -1
  42. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts +16 -1
  43. package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  44. package/dist/vue2/types/components/rich_text_editor/rich_text_editor_constants.d.ts +2 -0
  45. package/dist/vue2/types/components/rich_text_editor/rich_text_editor_constants.d.ts.map +1 -1
  46. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts +33 -1
  47. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  48. package/dist/vue2/types/components/tooltip/tooltip_constants.d.ts +2 -0
  49. package/dist/vue2/types/components/tooltip/tooltip_constants.d.ts.map +1 -1
  50. package/dist/vue2/types/index.d.ts +1 -0
  51. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts +518 -0
  52. package/dist/vue2/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -0
  53. package/dist/vue2/types/recipes/conversation_view/editor/editor_constants.d.ts +8 -0
  54. package/dist/vue2/types/recipes/conversation_view/editor/editor_constants.d.ts.map +1 -0
  55. package/dist/vue2/types/recipes/conversation_view/editor/index.d.ts +2 -0
  56. package/dist/vue2/types/recipes/conversation_view/editor/index.d.ts.map +1 -0
  57. package/dist/vue3/component-documentation.json +1 -1
  58. package/dist/vue3/dialtone-vue.cjs +5 -5
  59. package/dist/vue3/dialtone-vue.js +2857 -2264
  60. package/dist/vue3/directives.cjs +1 -1
  61. package/dist/vue3/directives.js +1 -1
  62. package/dist/vue3/{emoji-WjzabgKs.js → emoji-BTNutvt9.js} +3929 -3915
  63. package/dist/vue3/emoji-rlL92lZG.cjs +1 -0
  64. package/dist/vue3/emoji.cjs +1 -1
  65. package/dist/vue3/emoji.js +4 -4
  66. package/dist/vue3/{emoji_picker-J3yCpi0n.js → emoji_picker-nmJ2h6aY.js} +2 -2
  67. package/dist/vue3/{emoji_picker-Uhm2r1e3.cjs → emoji_picker-yry3pYOn.cjs} +1 -1
  68. package/dist/vue3/emoji_text_wrapper--VteZTud.js +85 -0
  69. package/dist/vue3/emoji_text_wrapper-c3aPthCy.cjs +1 -0
  70. package/dist/vue3/message_input.cjs +1 -92
  71. package/dist/vue3/message_input.js +156 -13406
  72. package/dist/vue3/rich_text_editor-2sh3YgmO.js +16664 -0
  73. package/dist/vue3/rich_text_editor-rl8EpCt1.cjs +97 -0
  74. package/dist/vue3/style.css +1 -1
  75. package/dist/vue3/{tooltip-Cr_G7ib3.js → tooltip-3O-FaSCC.js} +167 -148
  76. package/dist/vue3/{tooltip-gZ2LW6l0.cjs → tooltip-POX7tOJg.cjs} +5 -5
  77. package/dist/vue3/types/components/emoji_text_wrapper/emoji_text_wrapper.vue.d.ts.map +1 -1
  78. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts +16 -1
  79. package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
  80. package/dist/vue3/types/components/rich_text_editor/rich_text_editor_constants.d.ts +2 -0
  81. package/dist/vue3/types/components/rich_text_editor/rich_text_editor_constants.d.ts.map +1 -1
  82. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +33 -1
  83. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  84. package/dist/vue3/types/components/tooltip/tooltip_constants.d.ts +2 -0
  85. package/dist/vue3/types/components/tooltip/tooltip_constants.d.ts.map +1 -1
  86. package/dist/vue3/types/index.d.ts +1 -0
  87. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts +522 -0
  88. package/dist/vue3/types/recipes/conversation_view/editor/editor.vue.d.ts.map +1 -0
  89. package/dist/vue3/types/recipes/conversation_view/editor/editor_constants.d.ts +8 -0
  90. package/dist/vue3/types/recipes/conversation_view/editor/editor_constants.d.ts.map +1 -0
  91. package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts +2 -0
  92. package/dist/vue3/types/recipes/conversation_view/editor/index.d.ts.map +1 -0
  93. package/dist/vue3/types/recipes/conversation_view/feed_item_row/feed_item_row.vue.d.ts.map +1 -1
  94. package/package.json +1 -1
  95. package/dist/vue2/emoji-dxiv7Pn5.cjs +0 -1
  96. package/dist/vue2/emoji-eFDb2_CE.js +0 -56678
  97. package/dist/vue2/emoji_picker-1wJCa-sD.js +0 -83604
  98. package/dist/vue2/emoji_picker-abQkp-dE.cjs +0 -1
  99. package/dist/vue2/emoji_text_wrapper-fbV6ZEWh.cjs +0 -1
  100. package/dist/vue2/stack-T6wnw8L8.cjs +0 -2
  101. package/dist/vue2/stack-ksXg6ONX.js +0 -1852
  102. package/dist/vue3/emoji-wyzCAeMh.cjs +0 -1
  103. package/dist/vue3/emoji_text_wrapper-N_7eQTWM.js +0 -86
  104. package/dist/vue3/emoji_text_wrapper-PF5FAHE8.cjs +0 -1
  105. package/dist/vue3/stack--3ERj1r4.cjs +0 -2
  106. package/dist/vue3/stack-tU3sgAgJ.js +0 -1905
@@ -1,24 +1,24 @@
1
- import kn from "vue";
1
+ import $n from "vue";
2
2
  const he = {
3
3
  ERROR: "error",
4
4
  WARNING: "warning",
5
5
  SUCCESS: "success"
6
- }, uo = {
6
+ }, co = {
7
7
  LARGE: "lg",
8
8
  EXTRA_LARGE: "xl"
9
- }, co = {
9
+ }, lo = {
10
10
  xs: "",
11
11
  sm: "",
12
12
  md: "",
13
13
  lg: "d-description--lg",
14
14
  xl: "d-description--xl"
15
- }, fo = {
15
+ }, po = {
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
- }, lo = {
21
+ }, fo = {
22
22
  esc: "Esc",
23
23
  escape: "Escape",
24
24
  tab: "Tab",
@@ -35,7 +35,7 @@ const he = {
35
35
  arrowdown: "ArrowDown",
36
36
  home: "Home",
37
37
  end: "End"
38
- }, Mn = he.ERROR, jn = "dt";
38
+ }, kn = he.ERROR, jn = "dt";
39
39
  let Vn = 0, Lt;
40
40
  const Bn = typeof setImmediate == "function" ? setImmediate : setTimeout;
41
41
  function Zt(e = jn) {
@@ -60,7 +60,7 @@ function Qt(e) {
60
60
  function Wn(e) {
61
61
  return e ? e.map((t) => typeof t == "string" ? {
62
62
  message: t,
63
- type: Mn
63
+ type: kn
64
64
  } : t) : [];
65
65
  }
66
66
  function Fn(e) {
@@ -78,7 +78,7 @@ const zn = {
78
78
  functional: !0,
79
79
  props: ["html"],
80
80
  render(e, t) {
81
- return new kn({
81
+ return new $n({
82
82
  // eslint-disable-next-line vue/multi-word-component-names
83
83
  name: "Inner",
84
84
  beforeCreate() {
@@ -165,7 +165,7 @@ function ir(e) {
165
165
  function or(e, t = "en-US") {
166
166
  return e.replace(new RegExp("^\\p{CWU}", "u"), (n) => n.toLocaleUpperCase(t));
167
167
  }
168
- const po = {
168
+ const vo = {
169
169
  getUniqueString: Zt,
170
170
  getRandomElement: Un,
171
171
  getRandomInt: Qt,
@@ -186,29 +186,29 @@ const po = {
186
186
  safeConcatStrings: ir,
187
187
  capitalizeFirstLetter: or
188
188
  };
189
- function un(e, t, n, r, o, u, c, f) {
189
+ function un(e, t, n, r, o, u, c, l) {
190
190
  var a = typeof e == "function" ? e.options : e;
191
191
  t && (a.render = t, a.staticRenderFns = n, a._compiled = !0), r && (a.functional = !0), u && (a._scopeId = "data-v-" + u);
192
- var p;
193
- if (c ? (p = function(g) {
192
+ var f;
193
+ if (c ? (f = function(g) {
194
194
  g = g || // cached call
195
195
  this.$vnode && this.$vnode.ssrContext || // stateful
196
196
  this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !g && typeof __VUE_SSR_CONTEXT__ < "u" && (g = __VUE_SSR_CONTEXT__), o && o.call(this, g), g && g._registeredComponents && g._registeredComponents.add(c);
197
- }, a._ssrRegister = p) : o && (p = f ? function() {
197
+ }, a._ssrRegister = f) : o && (f = l ? function() {
198
198
  o.call(
199
199
  this,
200
200
  (a.functional ? this.parent : this).$root.$options.shadowRoot
201
201
  );
202
- } : o), p)
202
+ } : o), f)
203
203
  if (a.functional) {
204
- a._injectStyles = p;
205
- var l = a.render;
204
+ a._injectStyles = f;
205
+ var p = a.render;
206
206
  a.render = function(h, b) {
207
- return p.call(b), l(h, b);
207
+ return f.call(b), p(h, b);
208
208
  };
209
209
  } else {
210
210
  var y = a.beforeCreate;
211
- a.beforeCreate = y ? [].concat(y, p) : [p];
211
+ a.beforeCreate = y ? [].concat(y, f) : [f];
212
212
  }
213
213
  return {
214
214
  exports: e,
@@ -286,10 +286,10 @@ var sr = function() {
286
286
  null,
287
287
  null
288
288
  );
289
- const fr = cr.exports;
290
- var V = "top", Y = "bottom", X = "right", B = "left", Et = "auto", We = [V, Y, X, B], De = "start", Ve = "end", lr = "clippingParents", cn = "viewport", $e = "popper", pr = "reference", Pt = /* @__PURE__ */ We.reduce(function(e, t) {
289
+ const lr = cr.exports;
290
+ var V = "top", Y = "bottom", X = "right", B = "left", Et = "auto", We = [V, Y, X, B], De = "start", Ve = "end", pr = "clippingParents", cn = "viewport", Me = "popper", fr = "reference", Pt = /* @__PURE__ */ We.reduce(function(e, t) {
291
291
  return e.concat([t + "-" + De, t + "-" + Ve]);
292
- }, []), fn = /* @__PURE__ */ [].concat(We, [Et]).reduce(function(e, t) {
292
+ }, []), ln = /* @__PURE__ */ [].concat(We, [Et]).reduce(function(e, t) {
293
293
  return e.concat([t, t + "-" + De, t + "-" + Ve]);
294
294
  }, []), dr = "beforeRead", vr = "read", hr = "afterRead", mr = "beforeMain", gr = "main", yr = "afterMain", br = "beforeWrite", wr = "write", Er = "afterWrite", Or = [dr, vr, hr, mr, gr, yr, br, wr, Er];
295
295
  function te(e) {
@@ -323,8 +323,8 @@ function xr(e) {
323
323
  Object.keys(t.elements).forEach(function(n) {
324
324
  var r = t.styles[n] || {}, o = t.attributes[n] || {}, u = t.elements[n];
325
325
  !q(u) || !te(u) || (Object.assign(u.style, r), Object.keys(o).forEach(function(c) {
326
- var f = o[c];
327
- f === !1 ? u.removeAttribute(c) : u.setAttribute(c, f === !0 ? "" : f);
326
+ var l = o[c];
327
+ l === !1 ? u.removeAttribute(c) : u.setAttribute(c, l === !0 ? "" : l);
328
328
  }));
329
329
  });
330
330
  }
@@ -343,16 +343,16 @@ function Tr(e) {
343
343
  };
344
344
  return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
345
345
  Object.keys(t.elements).forEach(function(r) {
346
- var o = t.elements[r], u = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), f = c.reduce(function(a, p) {
347
- return a[p] = "", a;
346
+ var o = t.elements[r], u = t.attributes[r] || {}, c = Object.keys(t.styles.hasOwnProperty(r) ? t.styles[r] : n[r]), l = c.reduce(function(a, f) {
347
+ return a[f] = "", a;
348
348
  }, {});
349
- !q(o) || !te(o) || (Object.assign(o.style, f), Object.keys(u).forEach(function(a) {
349
+ !q(o) || !te(o) || (Object.assign(o.style, l), Object.keys(u).forEach(function(a) {
350
350
  o.removeAttribute(a);
351
351
  }));
352
352
  });
353
353
  };
354
354
  }
355
- const ln = {
355
+ const pn = {
356
356
  name: "applyStyles",
357
357
  enabled: !0,
358
358
  phase: "write",
@@ -370,23 +370,23 @@ function mt() {
370
370
  return t.brand + "/" + t.version;
371
371
  }).join(" ") : navigator.userAgent;
372
372
  }
373
- function pn() {
373
+ function fn() {
374
374
  return !/^((?!chrome|android).)*safari/i.test(mt());
375
375
  }
376
376
  function Ce(e, t, n) {
377
377
  t === void 0 && (t = !1), n === void 0 && (n = !1);
378
378
  var r = e.getBoundingClientRect(), o = 1, u = 1;
379
379
  t && q(e) && (o = e.offsetWidth > 0 && Se(r.width) / e.offsetWidth || 1, u = e.offsetHeight > 0 && Se(r.height) / e.offsetHeight || 1);
380
- var c = ye(e) ? F(e) : window, f = c.visualViewport, a = !pn() && n, p = (r.left + (a && f ? f.offsetLeft : 0)) / o, l = (r.top + (a && f ? f.offsetTop : 0)) / u, y = r.width / o, g = r.height / u;
380
+ var c = ye(e) ? F(e) : window, l = c.visualViewport, a = !fn() && n, f = (r.left + (a && l ? l.offsetLeft : 0)) / o, p = (r.top + (a && l ? l.offsetTop : 0)) / u, y = r.width / o, g = r.height / u;
381
381
  return {
382
382
  width: y,
383
383
  height: g,
384
- top: l,
385
- right: p + y,
386
- bottom: l + g,
387
- left: p,
388
- x: p,
389
- y: l
384
+ top: p,
385
+ right: f + y,
386
+ bottom: p + g,
387
+ left: f,
388
+ x: f,
389
+ y: p
390
390
  };
391
391
  }
392
392
  function xt(e) {
@@ -418,7 +418,7 @@ function se(e) {
418
418
  function Ar(e) {
419
419
  return ["table", "td", "th"].indexOf(te(e)) >= 0;
420
420
  }
421
- function fe(e) {
421
+ function le(e) {
422
422
  return ((ye(e) ? e.ownerDocument : (
423
423
  // $FlowFixMe[prop-missing]
424
424
  e.document
@@ -433,7 +433,7 @@ function ct(e) {
433
433
  e.parentNode || // DOM Element detected
434
434
  (Ot(e) ? e.host : null) || // ShadowRoot detected
435
435
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
436
- fe(e)
436
+ le(e)
437
437
  );
438
438
  }
439
439
  function _t(e) {
@@ -464,11 +464,11 @@ function Fe(e) {
464
464
  function Tt(e) {
465
465
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
466
466
  }
467
- function ke(e, t, n) {
467
+ function $e(e, t, n) {
468
468
  return ge(e, st(t, n));
469
469
  }
470
470
  function Sr(e, t, n) {
471
- var r = ke(e, t, n);
471
+ var r = $e(e, t, n);
472
472
  return r > n ? n : r;
473
473
  }
474
474
  function vn() {
@@ -493,9 +493,9 @@ var Cr = function(t, n) {
493
493
  })) : t, hn(typeof t != "number" ? t : mn(t, We));
494
494
  };
495
495
  function Rr(e) {
496
- var t, n = e.state, r = e.name, o = e.options, u = n.elements.arrow, c = n.modifiersData.popperOffsets, f = ee(n.placement), a = Tt(f), p = [B, X].indexOf(f) >= 0, l = p ? "height" : "width";
496
+ var t, n = e.state, r = e.name, o = e.options, u = n.elements.arrow, c = n.modifiersData.popperOffsets, l = ee(n.placement), a = Tt(l), f = [B, X].indexOf(l) >= 0, p = f ? "height" : "width";
497
497
  if (!(!u || !c)) {
498
- var y = Cr(o.padding, n), g = xt(u), h = a === "y" ? V : B, b = a === "y" ? Y : X, w = n.rects.reference[l] + n.rects.reference[a] - c[a] - n.rects.popper[l], E = c[a] - n.rects.reference[a], T = Fe(u), D = T ? a === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = w / 2 - E / 2, i = y[h], x = D - g[l] - y[b], d = D / 2 - g[l] / 2 + C, S = ke(i, d, x), I = a;
498
+ var y = Cr(o.padding, n), g = xt(u), h = a === "y" ? V : B, b = a === "y" ? Y : X, w = n.rects.reference[p] + n.rects.reference[a] - c[a] - n.rects.popper[p], E = c[a] - n.rects.reference[a], T = Fe(u), D = T ? a === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = w / 2 - E / 2, i = y[h], x = D - g[p] - y[b], d = D / 2 - g[p] / 2 + C, S = $e(i, d, x), I = a;
499
499
  n.modifiersData[r] = (t = {}, t[I] = S, t.centerOffset = S - d, t);
500
500
  }
501
501
  }
@@ -529,7 +529,7 @@ function Ir(e, t) {
529
529
  };
530
530
  }
531
531
  function It(e) {
532
- var t, n = e.popper, r = e.popperRect, o = e.placement, u = e.variation, c = e.offsets, f = e.position, a = e.gpuAcceleration, p = e.adaptive, l = e.roundOffsets, y = e.isFixed, g = c.x, h = g === void 0 ? 0 : g, b = c.y, w = b === void 0 ? 0 : b, E = typeof l == "function" ? l({
532
+ var t, n = e.popper, r = e.popperRect, o = e.placement, u = e.variation, c = e.offsets, l = e.position, a = e.gpuAcceleration, f = e.adaptive, p = e.roundOffsets, y = e.isFixed, g = c.x, h = g === void 0 ? 0 : g, b = c.y, w = b === void 0 ? 0 : b, E = typeof p == "function" ? p({
533
533
  x: h,
534
534
  y: w
535
535
  }) : {
@@ -538,9 +538,9 @@ function It(e) {
538
538
  };
539
539
  h = E.x, w = E.y;
540
540
  var T = c.hasOwnProperty("x"), D = c.hasOwnProperty("y"), C = B, i = V, x = window;
541
- if (p) {
541
+ if (f) {
542
542
  var d = Fe(n), S = "clientHeight", I = "clientWidth";
543
- if (d === F(n) && (d = fe(n), se(d).position !== "static" && f === "absolute" && (S = "scrollHeight", I = "scrollWidth")), d = d, o === V || (o === B || o === X) && u === Ve) {
543
+ if (d === F(n) && (d = le(n), se(d).position !== "static" && l === "absolute" && (S = "scrollHeight", I = "scrollWidth")), d = d, o === V || (o === B || o === X) && u === Ve) {
544
544
  i = Y;
545
545
  var _ = y && d === x && x.visualViewport ? x.visualViewport.height : (
546
546
  // $FlowFixMe[prop-missing]
@@ -558,8 +558,8 @@ function It(e) {
558
558
  }
559
559
  }
560
560
  var N = Object.assign({
561
- position: f
562
- }, p && _r), P = l === !0 ? Ir({
561
+ position: l
562
+ }, f && _r), P = p === !0 ? Ir({
563
563
  x: h,
564
564
  y: w
565
565
  }, F(n)) : {
@@ -573,7 +573,7 @@ function It(e) {
573
573
  return Object.assign({}, N, (t = {}, t[i] = D ? w + "px" : "", t[C] = T ? h + "px" : "", t.transform = "", t));
574
574
  }
575
575
  function Nr(e) {
576
- var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, u = n.adaptive, c = u === void 0 ? !0 : u, f = n.roundOffsets, a = f === void 0 ? !0 : f, p = {
576
+ var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, u = n.adaptive, c = u === void 0 ? !0 : u, l = n.roundOffsets, a = l === void 0 ? !0 : l, f = {
577
577
  placement: ee(t.placement),
578
578
  variation: Re(t.placement),
579
579
  popper: t.elements.popper,
@@ -581,12 +581,12 @@ function Nr(e) {
581
581
  gpuAcceleration: o,
582
582
  isFixed: t.options.strategy === "fixed"
583
583
  };
584
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, It(Object.assign({}, p, {
584
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, It(Object.assign({}, f, {
585
585
  offsets: t.modifiersData.popperOffsets,
586
586
  position: t.options.strategy,
587
587
  adaptive: c,
588
588
  roundOffsets: a
589
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, It(Object.assign({}, p, {
589
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, It(Object.assign({}, f, {
590
590
  offsets: t.modifiersData.arrow,
591
591
  position: "absolute",
592
592
  adaptive: !1,
@@ -595,7 +595,7 @@ function Nr(e) {
595
595
  "data-popper-placement": t.placement
596
596
  });
597
597
  }
598
- const $r = {
598
+ const Mr = {
599
599
  name: "computeStyles",
600
600
  enabled: !0,
601
601
  phase: "beforeWrite",
@@ -605,23 +605,23 @@ const $r = {
605
605
  var rt = {
606
606
  passive: !0
607
607
  };
608
- function kr(e) {
609
- var t = e.state, n = e.instance, r = e.options, o = r.scroll, u = o === void 0 ? !0 : o, c = r.resize, f = c === void 0 ? !0 : c, a = F(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
610
- return u && p.forEach(function(l) {
611
- l.addEventListener("scroll", n.update, rt);
612
- }), f && a.addEventListener("resize", n.update, rt), function() {
613
- u && p.forEach(function(l) {
614
- l.removeEventListener("scroll", n.update, rt);
615
- }), f && a.removeEventListener("resize", n.update, rt);
608
+ function $r(e) {
609
+ var t = e.state, n = e.instance, r = e.options, o = r.scroll, u = o === void 0 ? !0 : o, c = r.resize, l = c === void 0 ? !0 : c, a = F(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
610
+ return u && f.forEach(function(p) {
611
+ p.addEventListener("scroll", n.update, rt);
612
+ }), l && a.addEventListener("resize", n.update, rt), function() {
613
+ u && f.forEach(function(p) {
614
+ p.removeEventListener("scroll", n.update, rt);
615
+ }), l && a.removeEventListener("resize", n.update, rt);
616
616
  };
617
617
  }
618
- const Mr = {
618
+ const kr = {
619
619
  name: "eventListeners",
620
620
  enabled: !0,
621
621
  phase: "write",
622
622
  fn: function() {
623
623
  },
624
- effect: kr,
624
+ effect: $r,
625
625
  data: {}
626
626
  };
627
627
  var jr = {
@@ -652,28 +652,28 @@ function At(e) {
652
652
  };
653
653
  }
654
654
  function Dt(e) {
655
- return Ce(fe(e)).left + At(e).scrollLeft;
655
+ return Ce(le(e)).left + At(e).scrollLeft;
656
656
  }
657
657
  function Br(e, t) {
658
- var n = F(e), r = fe(e), o = n.visualViewport, u = r.clientWidth, c = r.clientHeight, f = 0, a = 0;
658
+ var n = F(e), r = le(e), o = n.visualViewport, u = r.clientWidth, c = r.clientHeight, l = 0, a = 0;
659
659
  if (o) {
660
660
  u = o.width, c = o.height;
661
- var p = pn();
662
- (p || !p && t === "fixed") && (f = o.offsetLeft, a = o.offsetTop);
661
+ var f = fn();
662
+ (f || !f && t === "fixed") && (l = o.offsetLeft, a = o.offsetTop);
663
663
  }
664
664
  return {
665
665
  width: u,
666
666
  height: c,
667
- x: f + Dt(e),
667
+ x: l + Dt(e),
668
668
  y: a
669
669
  };
670
670
  }
671
671
  function Ur(e) {
672
- var t, n = fe(e), r = At(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, u = ge(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = ge(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), f = -r.scrollLeft + Dt(e), a = -r.scrollTop;
673
- return se(o || n).direction === "rtl" && (f += ge(n.clientWidth, o ? o.clientWidth : 0) - u), {
672
+ var t, n = le(e), r = At(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, u = ge(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = ge(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), l = -r.scrollLeft + Dt(e), a = -r.scrollTop;
673
+ return se(o || n).direction === "rtl" && (l += ge(n.clientWidth, o ? o.clientWidth : 0) - u), {
674
674
  width: u,
675
675
  height: c,
676
- x: f,
676
+ x: l,
677
677
  y: a
678
678
  };
679
679
  }
@@ -684,13 +684,13 @@ function St(e) {
684
684
  function gn(e) {
685
685
  return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : q(e) && St(e) ? e : gn(ct(e));
686
686
  }
687
- function Me(e, t) {
687
+ function ke(e, t) {
688
688
  var n;
689
689
  t === void 0 && (t = []);
690
- var r = gn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), u = F(r), c = o ? [u].concat(u.visualViewport || [], St(r) ? r : []) : r, f = t.concat(c);
691
- return o ? f : (
690
+ var r = gn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), u = F(r), c = o ? [u].concat(u.visualViewport || [], St(r) ? r : []) : r, l = t.concat(c);
691
+ return o ? l : (
692
692
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
693
- f.concat(Me(ct(c)))
693
+ l.concat(ke(ct(c)))
694
694
  );
695
695
  }
696
696
  function gt(e) {
@@ -705,24 +705,24 @@ function Hr(e, t) {
705
705
  var n = Ce(e, !1, t === "fixed");
706
706
  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;
707
707
  }
708
- function $t(e, t, n) {
709
- return t === cn ? gt(Br(e, n)) : ye(t) ? Hr(t, n) : gt(Ur(fe(e)));
708
+ function Mt(e, t, n) {
709
+ return t === cn ? gt(Br(e, n)) : ye(t) ? Hr(t, n) : gt(Ur(le(e)));
710
710
  }
711
711
  function Wr(e) {
712
- var t = Me(ct(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && q(e) ? Fe(e) : e;
712
+ var t = ke(ct(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && q(e) ? Fe(e) : e;
713
713
  return ye(r) ? t.filter(function(o) {
714
714
  return ye(o) && dn(o, r) && te(o) !== "body";
715
715
  }) : [];
716
716
  }
717
717
  function Fr(e, t, n, r) {
718
- var o = t === "clippingParents" ? Wr(e) : [].concat(t), u = [].concat(o, [n]), c = u[0], f = u.reduce(function(a, p) {
719
- var l = $t(e, p, r);
720
- return a.top = ge(l.top, a.top), a.right = st(l.right, a.right), a.bottom = st(l.bottom, a.bottom), a.left = ge(l.left, a.left), a;
721
- }, $t(e, c, r));
722
- return f.width = f.right - f.left, f.height = f.bottom - f.top, f.x = f.left, f.y = f.top, f;
718
+ var o = t === "clippingParents" ? Wr(e) : [].concat(t), u = [].concat(o, [n]), c = u[0], l = u.reduce(function(a, f) {
719
+ var p = Mt(e, f, r);
720
+ return a.top = ge(p.top, a.top), a.right = st(p.right, a.right), a.bottom = st(p.bottom, a.bottom), a.left = ge(p.left, a.left), a;
721
+ }, Mt(e, c, r));
722
+ return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
723
723
  }
724
724
  function yn(e) {
725
- var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null, u = r ? Re(r) : null, c = t.x + t.width / 2 - n.width / 2, f = t.y + t.height / 2 - n.height / 2, a;
725
+ var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null, u = r ? Re(r) : null, c = t.x + t.width / 2 - n.width / 2, l = t.y + t.height / 2 - n.height / 2, a;
726
726
  switch (o) {
727
727
  case V:
728
728
  a = {
@@ -739,13 +739,13 @@ function yn(e) {
739
739
  case X:
740
740
  a = {
741
741
  x: t.x + t.width,
742
- y: f
742
+ y: l
743
743
  };
744
744
  break;
745
745
  case B:
746
746
  a = {
747
747
  x: t.x - n.width,
748
- y: f
748
+ y: l
749
749
  };
750
750
  break;
751
751
  default:
@@ -754,15 +754,15 @@ function yn(e) {
754
754
  y: t.y
755
755
  };
756
756
  }
757
- var p = o ? Tt(o) : null;
758
- if (p != null) {
759
- var l = p === "y" ? "height" : "width";
757
+ var f = o ? Tt(o) : null;
758
+ if (f != null) {
759
+ var p = f === "y" ? "height" : "width";
760
760
  switch (u) {
761
761
  case De:
762
- a[p] = a[p] - (t[l] / 2 - n[l] / 2);
762
+ a[f] = a[f] - (t[p] / 2 - n[p] / 2);
763
763
  break;
764
764
  case Ve:
765
- a[p] = a[p] + (t[l] / 2 - n[l] / 2);
765
+ a[f] = a[f] + (t[p] / 2 - n[p] / 2);
766
766
  break;
767
767
  }
768
768
  }
@@ -770,18 +770,18 @@ function yn(e) {
770
770
  }
771
771
  function Be(e, t) {
772
772
  t === void 0 && (t = {});
773
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, u = n.strategy, c = u === void 0 ? e.strategy : u, f = n.boundary, a = f === void 0 ? lr : f, p = n.rootBoundary, l = p === void 0 ? cn : p, y = n.elementContext, g = y === void 0 ? $e : y, h = n.altBoundary, b = h === void 0 ? !1 : h, w = n.padding, E = w === void 0 ? 0 : w, T = hn(typeof E != "number" ? E : mn(E, We)), D = g === $e ? pr : $e, C = e.rects.popper, i = e.elements[b ? D : g], x = Fr(ye(i) ? i : i.contextElement || fe(e.elements.popper), a, l, c), d = Ce(e.elements.reference), S = yn({
773
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, u = n.strategy, c = u === void 0 ? e.strategy : u, l = n.boundary, a = l === void 0 ? pr : l, f = n.rootBoundary, p = f === void 0 ? cn : f, y = n.elementContext, g = y === void 0 ? Me : y, h = n.altBoundary, b = h === void 0 ? !1 : h, w = n.padding, E = w === void 0 ? 0 : w, T = hn(typeof E != "number" ? E : mn(E, We)), D = g === Me ? fr : Me, C = e.rects.popper, i = e.elements[b ? D : g], x = Fr(ye(i) ? i : i.contextElement || le(e.elements.popper), a, p, c), d = Ce(e.elements.reference), S = yn({
774
774
  reference: d,
775
775
  element: C,
776
776
  strategy: "absolute",
777
777
  placement: o
778
- }), I = gt(Object.assign({}, C, S)), _ = g === $e ? I : d, L = {
778
+ }), I = gt(Object.assign({}, C, S)), _ = g === Me ? I : d, L = {
779
779
  top: x.top - _.top + T.top,
780
780
  bottom: _.bottom - x.bottom + T.bottom,
781
781
  left: x.left - _.left + T.left,
782
782
  right: _.right - x.right + T.right
783
783
  }, N = e.modifiersData.offset;
784
- if (g === $e && N) {
784
+ if (g === Me && N) {
785
785
  var P = N[o];
786
786
  Object.keys(L).forEach(function(R) {
787
787
  var U = [X, Y].indexOf(R) >= 0 ? 1 : -1, H = [V, Y].indexOf(R) >= 0 ? "y" : "x";
@@ -792,10 +792,10 @@ function Be(e, t) {
792
792
  }
793
793
  function zr(e, t) {
794
794
  t === void 0 && (t = {});
795
- var n = t, r = n.placement, o = n.boundary, u = n.rootBoundary, c = n.padding, f = n.flipVariations, a = n.allowedAutoPlacements, p = a === void 0 ? fn : a, l = Re(r), y = l ? f ? Pt : Pt.filter(function(b) {
796
- return Re(b) === l;
795
+ var n = t, r = n.placement, o = n.boundary, u = n.rootBoundary, c = n.padding, l = n.flipVariations, a = n.allowedAutoPlacements, f = a === void 0 ? ln : a, p = Re(r), y = p ? l ? Pt : Pt.filter(function(b) {
796
+ return Re(b) === p;
797
797
  }) : We, g = y.filter(function(b) {
798
- return p.indexOf(b) >= 0;
798
+ return f.indexOf(b) >= 0;
799
799
  });
800
800
  g.length === 0 && (g = y);
801
801
  var h = g.reduce(function(b, w) {
@@ -819,26 +819,26 @@ function qr(e) {
819
819
  function Yr(e) {
820
820
  var t = e.state, n = e.options, r = e.name;
821
821
  if (!t.modifiersData[r]._skip) {
822
- for (var o = n.mainAxis, u = o === void 0 ? !0 : o, c = n.altAxis, f = c === void 0 ? !0 : c, a = n.fallbackPlacements, p = n.padding, l = n.boundary, y = n.rootBoundary, g = n.altBoundary, h = n.flipVariations, b = h === void 0 ? !0 : h, w = n.allowedAutoPlacements, E = t.options.placement, T = ee(E), D = T === E, C = a || (D || !b ? [at(E)] : qr(E)), i = [E].concat(C).reduce(function(ne, G) {
822
+ for (var o = n.mainAxis, u = o === void 0 ? !0 : o, c = n.altAxis, l = c === void 0 ? !0 : c, a = n.fallbackPlacements, f = n.padding, p = n.boundary, y = n.rootBoundary, g = n.altBoundary, h = n.flipVariations, b = h === void 0 ? !0 : h, w = n.allowedAutoPlacements, E = t.options.placement, T = ee(E), D = T === E, C = a || (D || !b ? [at(E)] : qr(E)), i = [E].concat(C).reduce(function(ne, G) {
823
823
  return ne.concat(ee(G) === Et ? zr(t, {
824
824
  placement: G,
825
- boundary: l,
825
+ boundary: p,
826
826
  rootBoundary: y,
827
- padding: p,
827
+ padding: f,
828
828
  flipVariations: b,
829
829
  allowedAutoPlacements: w
830
830
  }) : G);
831
831
  }, []), x = t.rects.reference, d = t.rects.popper, S = /* @__PURE__ */ new Map(), I = !0, _ = i[0], L = 0; L < i.length; L++) {
832
- var N = i[L], P = ee(N), R = Re(N) === De, U = [V, Y].indexOf(P) >= 0, H = U ? "width" : "height", k = Be(t, {
832
+ var N = i[L], P = ee(N), R = Re(N) === De, U = [V, Y].indexOf(P) >= 0, H = U ? "width" : "height", $ = Be(t, {
833
833
  placement: N,
834
- boundary: l,
834
+ boundary: p,
835
835
  rootBoundary: y,
836
836
  altBoundary: g,
837
- padding: p
838
- }), M = U ? R ? X : B : R ? Y : V;
839
- x[H] > d[H] && (M = at(M));
840
- var $ = at(M), K = [];
841
- if (u && K.push(k[P] <= 0), f && K.push(k[M] <= 0, k[$] <= 0), K.every(function(ne) {
837
+ padding: f
838
+ }), k = U ? R ? X : B : R ? Y : V;
839
+ x[H] > d[H] && (k = at(k));
840
+ var M = at(k), K = [];
841
+ if (u && K.push($[P] <= 0), l && K.push($[k] <= 0, $[M] <= 0), K.every(function(ne) {
842
842
  return ne;
843
843
  })) {
844
844
  _ = N, I = !1;
@@ -847,7 +847,7 @@ function Yr(e) {
847
847
  S.set(N, K);
848
848
  }
849
849
  if (I)
850
- for (var Z = b ? 3 : 1, le = function(G) {
850
+ for (var Z = b ? 3 : 1, pe = function(G) {
851
851
  var re = i.find(function(be) {
852
852
  var ie = S.get(be);
853
853
  if (ie)
@@ -858,8 +858,8 @@ function Yr(e) {
858
858
  if (re)
859
859
  return _ = re, "break";
860
860
  }, Q = Z; Q > 0; Q--) {
861
- var pe = le(Q);
862
- if (pe === "break")
861
+ var fe = pe(Q);
862
+ if (fe === "break")
863
863
  break;
864
864
  }
865
865
  t.placement !== _ && (t.modifiersData[r]._skip = !0, t.placement = _, t.reset = !0);
@@ -875,7 +875,7 @@ const Xr = {
875
875
  _skip: !1
876
876
  }
877
877
  };
878
- function kt(e, t, n) {
878
+ function $t(e, t, n) {
879
879
  return n === void 0 && (n = {
880
880
  x: 0,
881
881
  y: 0
@@ -886,7 +886,7 @@ function kt(e, t, n) {
886
886
  left: e.left - t.width - n.x
887
887
  };
888
888
  }
889
- function Mt(e) {
889
+ function kt(e) {
890
890
  return [V, X, Y, B].some(function(t) {
891
891
  return e[t] >= 0;
892
892
  });
@@ -894,16 +894,16 @@ function Mt(e) {
894
894
  function Gr(e) {
895
895
  var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, u = t.modifiersData.preventOverflow, c = Be(t, {
896
896
  elementContext: "reference"
897
- }), f = Be(t, {
897
+ }), l = Be(t, {
898
898
  altBoundary: !0
899
- }), a = kt(c, r), p = kt(f, o, u), l = Mt(a), y = Mt(p);
899
+ }), a = $t(c, r), f = $t(l, o, u), p = kt(a), y = kt(f);
900
900
  t.modifiersData[n] = {
901
901
  referenceClippingOffsets: a,
902
- popperEscapeOffsets: p,
903
- isReferenceHidden: l,
902
+ popperEscapeOffsets: f,
903
+ isReferenceHidden: p,
904
904
  hasPopperEscaped: y
905
905
  }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
906
- "data-popper-reference-hidden": l,
906
+ "data-popper-reference-hidden": p,
907
907
  "data-popper-escaped": y
908
908
  });
909
909
  }
@@ -917,20 +917,20 @@ const Kr = {
917
917
  function Zr(e, t, n) {
918
918
  var r = ee(e), o = [B, V].indexOf(r) >= 0 ? -1 : 1, u = typeof n == "function" ? n(Object.assign({}, t, {
919
919
  placement: e
920
- })) : n, c = u[0], f = u[1];
921
- return c = c || 0, f = (f || 0) * o, [B, X].indexOf(r) >= 0 ? {
922
- x: f,
920
+ })) : n, c = u[0], l = u[1];
921
+ return c = c || 0, l = (l || 0) * o, [B, X].indexOf(r) >= 0 ? {
922
+ x: l,
923
923
  y: c
924
924
  } : {
925
925
  x: c,
926
- y: f
926
+ y: l
927
927
  };
928
928
  }
929
929
  function Qr(e) {
930
- var t = e.state, n = e.options, r = e.name, o = n.offset, u = o === void 0 ? [0, 0] : o, c = fn.reduce(function(l, y) {
931
- return l[y] = Zr(y, t.rects, u), l;
932
- }, {}), f = c[t.placement], a = f.x, p = f.y;
933
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += p), t.modifiersData[r] = c;
930
+ var t = e.state, n = e.options, r = e.name, o = n.offset, u = o === void 0 ? [0, 0] : o, c = ln.reduce(function(p, y) {
931
+ return p[y] = Zr(y, t.rects, u), p;
932
+ }, {}), l = c[t.placement], a = l.x, f = l.y;
933
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += f), t.modifiersData[r] = c;
934
934
  }
935
935
  const Jr = {
936
936
  name: "offset",
@@ -959,11 +959,11 @@ function ni(e) {
959
959
  return e === "x" ? "y" : "x";
960
960
  }
961
961
  function ri(e) {
962
- var t = e.state, n = e.options, r = e.name, o = n.mainAxis, u = o === void 0 ? !0 : o, c = n.altAxis, f = c === void 0 ? !1 : c, a = n.boundary, p = n.rootBoundary, l = n.altBoundary, y = n.padding, g = n.tether, h = g === void 0 ? !0 : g, b = n.tetherOffset, w = b === void 0 ? 0 : b, E = Be(t, {
962
+ var t = e.state, n = e.options, r = e.name, o = n.mainAxis, u = o === void 0 ? !0 : o, c = n.altAxis, l = c === void 0 ? !1 : c, a = n.boundary, f = n.rootBoundary, p = n.altBoundary, y = n.padding, g = n.tether, h = g === void 0 ? !0 : g, b = n.tetherOffset, w = b === void 0 ? 0 : b, E = Be(t, {
963
963
  boundary: a,
964
- rootBoundary: p,
964
+ rootBoundary: f,
965
965
  padding: y,
966
- altBoundary: l
966
+ altBoundary: p
967
967
  }), T = ee(t.placement), D = Re(t.placement), C = !D, i = Tt(T), x = ni(i), d = t.modifiersData.popperOffsets, S = t.rects.reference, I = t.rects.popper, _ = typeof w == "function" ? w(Object.assign({}, t.rects, {
968
968
  placement: t.placement
969
969
  })) : w, L = typeof _ == "number" ? {
@@ -978,14 +978,14 @@ function ri(e) {
978
978
  };
979
979
  if (d) {
980
980
  if (u) {
981
- var R, U = i === "y" ? V : B, H = i === "y" ? Y : X, k = i === "y" ? "height" : "width", M = d[i], $ = M + E[U], K = M - E[H], Z = h ? -I[k] / 2 : 0, le = D === De ? S[k] : I[k], Q = D === De ? -I[k] : -S[k], pe = t.elements.arrow, ne = h && pe ? xt(pe) : {
981
+ var R, U = i === "y" ? V : B, H = i === "y" ? Y : X, $ = i === "y" ? "height" : "width", k = d[i], M = k + E[U], K = k - E[H], Z = h ? -I[$] / 2 : 0, pe = D === De ? S[$] : I[$], Q = D === De ? -I[$] : -S[$], fe = t.elements.arrow, ne = h && fe ? xt(fe) : {
982
982
  width: 0,
983
983
  height: 0
984
- }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vn(), re = G[U], be = G[H], ie = ke(0, S[k], ne[k]), we = C ? S[k] / 2 - Z - ie - re - L.mainAxis : le - ie - re - L.mainAxis, ue = C ? -S[k] / 2 + Z + ie + be + L.mainAxis : Q + ie + be + L.mainAxis, Ee = t.elements.arrow && Fe(t.elements.arrow), qe = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Le = (R = N == null ? void 0 : N[i]) != null ? R : 0, Ye = M + we - Le - qe, Xe = M + ue - Le, Pe = ke(h ? st($, Ye) : $, M, h ? ge(K, Xe) : K);
985
- d[i] = Pe, P[i] = Pe - M;
984
+ }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vn(), re = G[U], be = G[H], ie = $e(0, S[$], ne[$]), we = C ? S[$] / 2 - Z - ie - re - L.mainAxis : pe - ie - re - L.mainAxis, ue = C ? -S[$] / 2 + Z + ie + be + L.mainAxis : Q + ie + be + L.mainAxis, Ee = t.elements.arrow && Fe(t.elements.arrow), qe = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Le = (R = N == null ? void 0 : N[i]) != null ? R : 0, Ye = k + we - Le - qe, Xe = k + ue - Le, Pe = $e(h ? st(M, Ye) : M, k, h ? ge(K, Xe) : K);
985
+ d[i] = Pe, P[i] = Pe - k;
986
986
  }
987
- if (f) {
988
- var _e, Ge = i === "x" ? V : B, Ke = i === "x" ? Y : X, oe = d[x], ce = x === "y" ? "height" : "width", Ie = oe + E[Ge], de = oe - E[Ke], Ne = [V, B].indexOf(T) !== -1, Ze = (_e = N == null ? void 0 : N[x]) != null ? _e : 0, Qe = Ne ? Ie : oe - S[ce] - I[ce] - Ze + L.altAxis, Je = Ne ? oe + S[ce] + I[ce] - Ze - L.altAxis : de, et = h && Ne ? Sr(Qe, oe, Je) : ke(h ? Qe : Ie, oe, h ? Je : de);
987
+ if (l) {
988
+ var _e, Ge = i === "x" ? V : B, Ke = i === "x" ? Y : X, oe = d[x], ce = x === "y" ? "height" : "width", Ie = oe + E[Ge], de = oe - E[Ke], Ne = [V, B].indexOf(T) !== -1, Ze = (_e = N == null ? void 0 : N[x]) != null ? _e : 0, Qe = Ne ? Ie : oe - S[ce] - I[ce] - Ze + L.altAxis, Je = Ne ? oe + S[ce] + I[ce] - Ze - L.altAxis : de, et = h && Ne ? Sr(Qe, oe, Je) : $e(h ? Qe : Ie, oe, h ? Je : de);
989
989
  d[x] = et, P[x] = et - oe;
990
990
  }
991
991
  t.modifiersData[r] = P;
@@ -1013,7 +1013,7 @@ function si(e) {
1013
1013
  }
1014
1014
  function ui(e, t, n) {
1015
1015
  n === void 0 && (n = !1);
1016
- var r = q(t), o = q(t) && si(t), u = fe(t), c = Ce(e, o, n), f = {
1016
+ var r = q(t), o = q(t) && si(t), u = le(t), c = Ce(e, o, n), l = {
1017
1017
  scrollLeft: 0,
1018
1018
  scrollTop: 0
1019
1019
  }, a = {
@@ -1021,9 +1021,9 @@ function ui(e, t, n) {
1021
1021
  y: 0
1022
1022
  };
1023
1023
  return (r || !r && !n) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
1024
- St(u)) && (f = ai(t)), q(t) ? (a = Ce(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : u && (a.x = Dt(u))), {
1025
- x: c.left + f.scrollLeft - a.x,
1026
- y: c.top + f.scrollTop - a.y,
1024
+ St(u)) && (l = ai(t)), q(t) ? (a = Ce(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : u && (a.x = Dt(u))), {
1025
+ x: c.left + l.scrollLeft - a.x,
1026
+ y: c.top + l.scrollTop - a.y,
1027
1027
  width: c.width,
1028
1028
  height: c.height
1029
1029
  };
@@ -1036,9 +1036,9 @@ function ci(e) {
1036
1036
  function o(u) {
1037
1037
  n.add(u.name);
1038
1038
  var c = [].concat(u.requires || [], u.requiresIfExists || []);
1039
- c.forEach(function(f) {
1040
- if (!n.has(f)) {
1041
- var a = t.get(f);
1039
+ c.forEach(function(l) {
1040
+ if (!n.has(l)) {
1041
+ var a = t.get(l);
1042
1042
  a && o(a);
1043
1043
  }
1044
1044
  }), r.push(u);
@@ -1047,7 +1047,7 @@ function ci(e) {
1047
1047
  n.has(u.name) || o(u);
1048
1048
  }), r;
1049
1049
  }
1050
- function fi(e) {
1050
+ function li(e) {
1051
1051
  var t = ci(e);
1052
1052
  return Or.reduce(function(n, r) {
1053
1053
  return n.concat(t.filter(function(o) {
@@ -1055,7 +1055,7 @@ function fi(e) {
1055
1055
  }));
1056
1056
  }, []);
1057
1057
  }
1058
- function li(e) {
1058
+ function pi(e) {
1059
1059
  var t;
1060
1060
  return function() {
1061
1061
  return t || (t = new Promise(function(n) {
@@ -1065,7 +1065,7 @@ function li(e) {
1065
1065
  })), t;
1066
1066
  };
1067
1067
  }
1068
- function pi(e) {
1068
+ function fi(e) {
1069
1069
  var t = e.reduce(function(n, r) {
1070
1070
  var o = n[r.name];
1071
1071
  return n[r.name] = o ? Object.assign({}, o, r, {
@@ -1092,29 +1092,29 @@ function Vt() {
1092
1092
  function di(e) {
1093
1093
  e === void 0 && (e = {});
1094
1094
  var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, u = o === void 0 ? jt : o;
1095
- return function(f, a, p) {
1096
- p === void 0 && (p = u);
1097
- var l = {
1095
+ return function(l, a, f) {
1096
+ f === void 0 && (f = u);
1097
+ var p = {
1098
1098
  placement: "bottom",
1099
1099
  orderedModifiers: [],
1100
1100
  options: Object.assign({}, jt, u),
1101
1101
  modifiersData: {},
1102
1102
  elements: {
1103
- reference: f,
1103
+ reference: l,
1104
1104
  popper: a
1105
1105
  },
1106
1106
  attributes: {},
1107
1107
  styles: {}
1108
1108
  }, y = [], g = !1, h = {
1109
- state: l,
1109
+ state: p,
1110
1110
  setOptions: function(T) {
1111
- var D = typeof T == "function" ? T(l.options) : T;
1112
- w(), l.options = Object.assign({}, u, l.options, D), l.scrollParents = {
1113
- reference: ye(f) ? Me(f) : f.contextElement ? Me(f.contextElement) : [],
1114
- popper: Me(a)
1111
+ var D = typeof T == "function" ? T(p.options) : T;
1112
+ w(), p.options = Object.assign({}, u, p.options, D), p.scrollParents = {
1113
+ reference: ye(l) ? ke(l) : l.contextElement ? ke(l.contextElement) : [],
1114
+ popper: ke(a)
1115
1115
  };
1116
- var C = fi(pi([].concat(r, l.options.modifiers)));
1117
- return l.orderedModifiers = C.filter(function(i) {
1116
+ var C = li(fi([].concat(r, p.options.modifiers)));
1117
+ return p.orderedModifiers = C.filter(function(i) {
1118
1118
  return i.enabled;
1119
1119
  }), b(), h.update();
1120
1120
  },
@@ -1125,52 +1125,52 @@ function di(e) {
1125
1125
  // prefer the async Popper#update method
1126
1126
  forceUpdate: function() {
1127
1127
  if (!g) {
1128
- var T = l.elements, D = T.reference, C = T.popper;
1128
+ var T = p.elements, D = T.reference, C = T.popper;
1129
1129
  if (Vt(D, C)) {
1130
- l.rects = {
1131
- reference: ui(D, Fe(C), l.options.strategy === "fixed"),
1130
+ p.rects = {
1131
+ reference: ui(D, Fe(C), p.options.strategy === "fixed"),
1132
1132
  popper: xt(C)
1133
- }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(L) {
1134
- return l.modifiersData[L.name] = Object.assign({}, L.data);
1133
+ }, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(L) {
1134
+ return p.modifiersData[L.name] = Object.assign({}, L.data);
1135
1135
  });
1136
- for (var i = 0; i < l.orderedModifiers.length; i++) {
1137
- if (l.reset === !0) {
1138
- l.reset = !1, i = -1;
1136
+ for (var i = 0; i < p.orderedModifiers.length; i++) {
1137
+ if (p.reset === !0) {
1138
+ p.reset = !1, i = -1;
1139
1139
  continue;
1140
1140
  }
1141
- var x = l.orderedModifiers[i], d = x.fn, S = x.options, I = S === void 0 ? {} : S, _ = x.name;
1142
- typeof d == "function" && (l = d({
1143
- state: l,
1141
+ var x = p.orderedModifiers[i], d = x.fn, S = x.options, I = S === void 0 ? {} : S, _ = x.name;
1142
+ typeof d == "function" && (p = d({
1143
+ state: p,
1144
1144
  options: I,
1145
1145
  name: _,
1146
1146
  instance: h
1147
- }) || l);
1147
+ }) || p);
1148
1148
  }
1149
1149
  }
1150
1150
  }
1151
1151
  },
1152
1152
  // Async and optimistically optimized update – it will not be executed if
1153
1153
  // not necessary (debounced to run at most once-per-tick)
1154
- update: li(function() {
1154
+ update: pi(function() {
1155
1155
  return new Promise(function(E) {
1156
- h.forceUpdate(), E(l);
1156
+ h.forceUpdate(), E(p);
1157
1157
  });
1158
1158
  }),
1159
1159
  destroy: function() {
1160
1160
  w(), g = !0;
1161
1161
  }
1162
1162
  };
1163
- if (!Vt(f, a))
1163
+ if (!Vt(l, a))
1164
1164
  return h;
1165
- h.setOptions(p).then(function(E) {
1166
- !g && p.onFirstUpdate && p.onFirstUpdate(E);
1165
+ h.setOptions(f).then(function(E) {
1166
+ !g && f.onFirstUpdate && f.onFirstUpdate(E);
1167
1167
  });
1168
1168
  function b() {
1169
- l.orderedModifiers.forEach(function(E) {
1169
+ p.orderedModifiers.forEach(function(E) {
1170
1170
  var T = E.name, D = E.options, C = D === void 0 ? {} : D, i = E.effect;
1171
1171
  if (typeof i == "function") {
1172
1172
  var x = i({
1173
- state: l,
1173
+ state: p,
1174
1174
  name: T,
1175
1175
  instance: h,
1176
1176
  options: C
@@ -1188,7 +1188,7 @@ function di(e) {
1188
1188
  return h;
1189
1189
  };
1190
1190
  }
1191
- var vi = [Mr, ti, $r, ln, Jr, Xr, ii, Pr, Kr], hi = /* @__PURE__ */ di({
1191
+ var vi = [kr, ti, Mr, pn, Jr, Xr, ii, Pr, Kr], hi = /* @__PURE__ */ di({
1192
1192
  defaultModifiers: vi
1193
1193
  }), mi = "tippy-box", bn = "tippy-content", gi = "tippy-backdrop", wn = "tippy-arrow", En = "tippy-svg-arrow", me = {
1194
1194
  passive: !0,
@@ -1199,7 +1199,7 @@ var vi = [Mr, ti, $r, ln, Jr, Xr, ii, Pr, Kr], hi = /* @__PURE__ */ di({
1199
1199
  function yi(e, t) {
1200
1200
  return {}.hasOwnProperty.call(e, t);
1201
1201
  }
1202
- function pt(e, t, n) {
1202
+ function ft(e, t, n) {
1203
1203
  if (Array.isArray(e)) {
1204
1204
  var r = e[t];
1205
1205
  return r ?? (Array.isArray(n) ? n[t] : n);
@@ -1291,10 +1291,10 @@ function Si(e) {
1291
1291
  function Ci(e, t) {
1292
1292
  var n = t.clientX, r = t.clientY;
1293
1293
  return e.every(function(o) {
1294
- var u = o.popperRect, c = o.popperState, f = o.props, a = f.interactiveBorder, p = Oi(c.placement), l = c.modifiersData.offset;
1295
- if (!l)
1294
+ var u = o.popperRect, c = o.popperState, l = o.props, a = l.interactiveBorder, f = Oi(c.placement), p = c.modifiersData.offset;
1295
+ if (!p)
1296
1296
  return !0;
1297
- var y = p === "bottom" ? l.top.y : 0, g = p === "top" ? l.bottom.y : 0, h = p === "right" ? l.left.x : 0, b = p === "left" ? l.right.x : 0, w = u.top - r + y > a, E = r - u.bottom - g > a, T = u.left - n + h > a, D = n - u.right - b > a;
1297
+ var y = f === "bottom" ? p.top.y : 0, g = f === "top" ? p.bottom.y : 0, h = f === "right" ? p.left.x : 0, b = f === "left" ? p.right.x : 0, w = u.top - r + y > a, E = r - u.bottom - g > a, T = u.left - n + h > a, D = n - u.right - b > a;
1298
1298
  return w || E || T || D;
1299
1299
  });
1300
1300
  }
@@ -1366,8 +1366,8 @@ function An(e) {
1366
1366
  ];
1367
1367
  }
1368
1368
  var He;
1369
- process.env.NODE_ENV !== "production" && $i();
1370
- function $i() {
1369
+ process.env.NODE_ENV !== "production" && Mi();
1370
+ function Mi() {
1371
1371
  He = /* @__PURE__ */ new Set();
1372
1372
  }
1373
1373
  function ae(e, t) {
@@ -1382,7 +1382,7 @@ function yt(e, t) {
1382
1382
  He.add(t), (n = console).error.apply(n, An(t));
1383
1383
  }
1384
1384
  }
1385
- function ki(e) {
1385
+ function $i(e) {
1386
1386
  var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
1387
1387
  yt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), yt(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1388
1388
  }
@@ -1391,7 +1391,7 @@ var Dn = {
1391
1391
  followCursor: !1,
1392
1392
  inlinePositioning: !1,
1393
1393
  sticky: !1
1394
- }, Mi = {
1394
+ }, ki = {
1395
1395
  allowHTML: !1,
1396
1396
  animation: "fade",
1397
1397
  arrow: !0,
@@ -1449,7 +1449,7 @@ var Dn = {
1449
1449
  touch: !0,
1450
1450
  trigger: "mouseenter focus",
1451
1451
  triggerTarget: null
1452
- }, Dn, Mi), ji = Object.keys(W), Vi = function(t) {
1452
+ }, Dn, ki), ji = Object.keys(W), Vi = function(t) {
1453
1453
  process.env.NODE_ENV !== "production" && Cn(t, []);
1454
1454
  var n = Object.keys(t);
1455
1455
  n.forEach(function(r) {
@@ -1460,8 +1460,8 @@ function Sn(e) {
1460
1460
  var t = e.plugins || [], n = t.reduce(function(r, o) {
1461
1461
  var u = o.name, c = o.defaultValue;
1462
1462
  if (u) {
1463
- var f;
1464
- r[u] = e[u] !== void 0 ? e[u] : (f = W[u]) != null ? f : c;
1463
+ var l;
1464
+ r[u] = e[u] !== void 0 ? e[u] : (l = W[u]) != null ? l : c;
1465
1465
  }
1466
1466
  return r;
1467
1467
  }, {});
@@ -1542,8 +1542,8 @@ function Rn(e) {
1542
1542
  var r = je();
1543
1543
  r.className = bn, r.setAttribute("data-state", "hidden"), Gt(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
1544
1544
  function o(u, c) {
1545
- var f = wt(t), a = f.box, p = f.content, l = f.arrow;
1546
- c.theme ? a.setAttribute("data-theme", c.theme) : a.removeAttribute("data-theme"), typeof c.animation == "string" ? a.setAttribute("data-animation", c.animation) : a.removeAttribute("data-animation"), c.inertia ? a.setAttribute("data-inertia", "") : a.removeAttribute("data-inertia"), a.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? a.setAttribute("role", c.role) : a.removeAttribute("role"), (u.content !== c.content || u.allowHTML !== c.allowHTML) && Gt(p, e.props), c.arrow ? l ? u.arrow !== c.arrow && (a.removeChild(l), a.appendChild(Xt(c.arrow))) : a.appendChild(Xt(c.arrow)) : l && a.removeChild(l);
1545
+ var l = wt(t), a = l.box, f = l.content, p = l.arrow;
1546
+ c.theme ? a.setAttribute("data-theme", c.theme) : a.removeAttribute("data-theme"), typeof c.animation == "string" ? a.setAttribute("data-animation", c.animation) : a.removeAttribute("data-animation"), c.inertia ? a.setAttribute("data-inertia", "") : a.removeAttribute("data-inertia"), a.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? a.setAttribute("role", c.role) : a.removeAttribute("role"), (u.content !== c.content || u.allowHTML !== c.allowHTML) && Gt(f, e.props), c.arrow ? p ? u.arrow !== c.arrow && (a.removeChild(p), a.appendChild(Xt(c.arrow))) : a.appendChild(Xt(c.arrow)) : p && a.removeChild(p);
1547
1547
  }
1548
1548
  return {
1549
1549
  popper: t,
@@ -1553,7 +1553,7 @@ function Rn(e) {
1553
1553
  Rn.$$tippy = !0;
1554
1554
  var Hi = 1, it = [], ht = [];
1555
1555
  function Wi(e, t) {
1556
- var n = Yt(e, Object.assign({}, W, Sn(Ht(t)))), r, o, u, c = !1, f = !1, a = !1, p = !1, l, y, g, h = [], b = Bt(Ye, n.interactiveDebounce), w, E = Hi++, T = null, D = Ei(n.plugins), C = {
1556
+ var n = Yt(e, Object.assign({}, W, Sn(Ht(t)))), r, o, u, c = !1, l = !1, a = !1, f = !1, p, y, g, h = [], b = Bt(Ye, n.interactiveDebounce), w, E = Hi++, T = null, D = Ei(n.plugins), C = {
1557
1557
  // Is the instance currently enabled?
1558
1558
  isEnabled: !0,
1559
1559
  // Is the tippy currently showing and not transitioning out?
@@ -1592,7 +1592,7 @@ function Wi(e, t) {
1592
1592
  var I = D.map(function(s) {
1593
1593
  return s.fn(i);
1594
1594
  }), _ = e.hasAttribute("aria-expanded");
1595
- return Ee(), Z(), M(), $("onCreate", [i]), n.showOnCreate && Ie(), d.addEventListener("mouseenter", function() {
1595
+ return Ee(), Z(), k(), M("onCreate", [i]), n.showOnCreate && Ie(), d.addEventListener("mouseenter", function() {
1596
1596
  i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1597
1597
  }), d.addEventListener("mouseleave", function() {
1598
1598
  i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", b);
@@ -1618,13 +1618,13 @@ function Wi(e, t) {
1618
1618
  function H() {
1619
1619
  return wt(d);
1620
1620
  }
1621
- function k(s) {
1622
- return i.state.isMounted && !i.state.isVisible || J.isTouch || l && l.type === "focus" ? 0 : pt(i.props.delay, s ? 0 : 1, W.delay);
1621
+ function $(s) {
1622
+ return i.state.isMounted && !i.state.isVisible || J.isTouch || p && p.type === "focus" ? 0 : ft(i.props.delay, s ? 0 : 1, W.delay);
1623
1623
  }
1624
- function M(s) {
1624
+ function k(s) {
1625
1625
  s === void 0 && (s = !1), d.style.pointerEvents = i.props.interactive && !s ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
1626
1626
  }
1627
- function $(s, v, m) {
1627
+ function M(s, v, m) {
1628
1628
  if (m === void 0 && (m = !0), I.forEach(function(O) {
1629
1629
  O[s] && O[s].apply(O, v);
1630
1630
  }), m) {
@@ -1655,7 +1655,7 @@ function Wi(e, t) {
1655
1655
  });
1656
1656
  }
1657
1657
  }
1658
- function le() {
1658
+ function pe() {
1659
1659
  U().removeEventListener("mousemove", b), it = it.filter(function(s) {
1660
1660
  return s !== b;
1661
1661
  });
@@ -1670,14 +1670,14 @@ function Wi(e, t) {
1670
1670
  if (J.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1671
1671
  return;
1672
1672
  } else
1673
- $("onClickOutside", [i, s]);
1674
- i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), f = !0, setTimeout(function() {
1675
- f = !1;
1673
+ M("onClickOutside", [i, s]);
1674
+ i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), l = !0, setTimeout(function() {
1675
+ l = !1;
1676
1676
  }), i.state.isMounted || re());
1677
1677
  }
1678
1678
  }
1679
1679
  }
1680
- function pe() {
1680
+ function fe() {
1681
1681
  a = !0;
1682
1682
  }
1683
1683
  function ne() {
@@ -1685,11 +1685,11 @@ function Wi(e, t) {
1685
1685
  }
1686
1686
  function G() {
1687
1687
  var s = U();
1688
- s.addEventListener("mousedown", Q, !0), s.addEventListener("touchend", Q, me), s.addEventListener("touchstart", ne, me), s.addEventListener("touchmove", pe, me);
1688
+ s.addEventListener("mousedown", Q, !0), s.addEventListener("touchend", Q, me), s.addEventListener("touchstart", ne, me), s.addEventListener("touchmove", fe, me);
1689
1689
  }
1690
1690
  function re() {
1691
1691
  var s = U();
1692
- s.removeEventListener("mousedown", Q, !0), s.removeEventListener("touchend", Q, me), s.removeEventListener("touchstart", ne, me), s.removeEventListener("touchmove", pe, me);
1692
+ s.removeEventListener("mousedown", Q, !0), s.removeEventListener("touchend", Q, me), s.removeEventListener("touchstart", ne, me), s.removeEventListener("touchmove", fe, me);
1693
1693
  }
1694
1694
  function be(s, v) {
1695
1695
  we(s, function() {
@@ -1748,9 +1748,9 @@ function Wi(e, t) {
1748
1748
  }
1749
1749
  function Le(s) {
1750
1750
  var v, m = !1;
1751
- if (!(!i.state.isEnabled || _e(s) || f)) {
1752
- var A = ((v = l) == null ? void 0 : v.type) === "focus";
1753
- l = s, w = s.currentTarget, Z(), !i.state.isVisible && Ti(s) && it.forEach(function(O) {
1751
+ if (!(!i.state.isEnabled || _e(s) || l)) {
1752
+ var A = ((v = p) == null ? void 0 : v.type) === "focus";
1753
+ p = s, w = s.currentTarget, Z(), !i.state.isVisible && Ti(s) && it.forEach(function(O) {
1754
1754
  return O(s);
1755
1755
  }), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? m = !0 : Ie(s), s.type === "click" && (c = !m), m && !A && de(s);
1756
1756
  }
@@ -1766,7 +1766,7 @@ function Wi(e, t) {
1766
1766
  props: n
1767
1767
  } : null;
1768
1768
  }).filter(Boolean);
1769
- Ci(A, s) && (le(), de(s));
1769
+ Ci(A, s) && (pe(), de(s));
1770
1770
  }
1771
1771
  }
1772
1772
  function Xe(s) {
@@ -1798,9 +1798,9 @@ function Wi(e, t) {
1798
1798
  fn: function(tt) {
1799
1799
  var xe = tt.state;
1800
1800
  if (P()) {
1801
- var $n = H(), lt = $n.box;
1801
+ var Mn = H(), pt = Mn.box;
1802
1802
  ["placement", "reference-hidden", "escaped"].forEach(function(nt) {
1803
- nt === "placement" ? lt.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + nt] ? lt.setAttribute("data-" + nt, "") : lt.removeAttribute("data-" + nt);
1803
+ nt === "placement" ? pt.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + nt] ? pt.setAttribute("data-" + nt, "") : pt.removeAttribute("data-" + nt);
1804
1804
  }), xe.attributes.popper = {};
1805
1805
  }
1806
1806
  }
@@ -1859,19 +1859,19 @@ function Wi(e, t) {
1859
1859
  return ut(d.querySelectorAll("[data-tippy-root]"));
1860
1860
  }
1861
1861
  function Ie(s) {
1862
- i.clearDelayTimeouts(), s && $("onTrigger", [i, s]), G();
1863
- var v = k(!0), m = L(), A = m[0], O = m[1];
1862
+ i.clearDelayTimeouts(), s && M("onTrigger", [i, s]), G();
1863
+ var v = $(!0), m = L(), A = m[0], O = m[1];
1864
1864
  J.isTouch && A === "hold" && O && (v = O), v ? r = setTimeout(function() {
1865
1865
  i.show();
1866
1866
  }, v) : i.show();
1867
1867
  }
1868
1868
  function de(s) {
1869
- if (i.clearDelayTimeouts(), $("onUntrigger", [i, s]), !i.state.isVisible) {
1869
+ if (i.clearDelayTimeouts(), M("onUntrigger", [i, s]), !i.state.isVisible) {
1870
1870
  re();
1871
1871
  return;
1872
1872
  }
1873
1873
  if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && c)) {
1874
- var v = k(!1);
1874
+ var v = $(!1);
1875
1875
  v ? o = setTimeout(function() {
1876
1876
  i.state.isVisible && i.hide();
1877
1877
  }, v) : u = requestAnimationFrame(function() {
@@ -1890,15 +1890,15 @@ function Wi(e, t) {
1890
1890
  }
1891
1891
  function Je(s) {
1892
1892
  if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("setProps")), !i.state.isDestroyed) {
1893
- $("onBeforeUpdate", [i, s]), qe();
1893
+ M("onBeforeUpdate", [i, s]), qe();
1894
1894
  var v = i.props, m = Yt(e, Object.assign({}, v, Ht(s), {
1895
1895
  ignoreAttributes: !0
1896
1896
  }));
1897
- i.props = m, Ee(), v.interactiveDebounce !== m.interactiveDebounce && (le(), b = Bt(Ye, m.interactiveDebounce)), v.triggerTarget && !m.triggerTarget ? Ae(v.triggerTarget).forEach(function(A) {
1897
+ i.props = m, Ee(), v.interactiveDebounce !== m.interactiveDebounce && (pe(), b = Bt(Ye, m.interactiveDebounce)), v.triggerTarget && !m.triggerTarget ? Ae(v.triggerTarget).forEach(function(A) {
1898
1898
  A.removeAttribute("aria-expanded");
1899
- }) : m.triggerTarget && e.removeAttribute("aria-expanded"), Z(), M(), S && S(v, m), i.popperInstance && (Ge(), ce().forEach(function(A) {
1899
+ }) : m.triggerTarget && e.removeAttribute("aria-expanded"), Z(), k(), S && S(v, m), i.popperInstance && (Ge(), ce().forEach(function(A) {
1900
1900
  requestAnimationFrame(A._tippy.popperInstance.forceUpdate);
1901
- })), $("onAfterUpdate", [i, s]);
1901
+ })), M("onAfterUpdate", [i, s]);
1902
1902
  }
1903
1903
  }
1904
1904
  function et(s) {
@@ -1908,21 +1908,21 @@ function Wi(e, t) {
1908
1908
  }
1909
1909
  function Ln() {
1910
1910
  process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("show"));
1911
- var s = i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = J.isTouch && !i.props.touch, O = pt(i.props.duration, 0, W.duration);
1912
- if (!(s || v || m || A) && !R().hasAttribute("disabled") && ($("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1913
- if (i.state.isVisible = !0, P() && (d.style.visibility = "visible"), M(), G(), i.state.isMounted || (d.style.transition = "none"), P()) {
1911
+ var s = i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = J.isTouch && !i.props.touch, O = ft(i.props.duration, 0, W.duration);
1912
+ if (!(s || v || m || A) && !R().hasAttribute("disabled") && (M("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1913
+ if (i.state.isVisible = !0, P() && (d.style.visibility = "visible"), k(), G(), i.state.isMounted || (d.style.transition = "none"), P()) {
1914
1914
  var j = H(), z = j.box, Oe = j.content;
1915
1915
  dt([z, Oe], 0);
1916
1916
  }
1917
1917
  g = function() {
1918
1918
  var ve;
1919
- if (!(!i.state.isVisible || p)) {
1920
- if (p = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, P() && i.props.animation) {
1921
- var ft = H(), tt = ft.box, xe = ft.content;
1919
+ if (!(!i.state.isVisible || f)) {
1920
+ if (f = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, P() && i.props.animation) {
1921
+ var lt = H(), tt = lt.box, xe = lt.content;
1922
1922
  dt([tt, xe], O), Wt([tt, xe], "visible");
1923
1923
  }
1924
- K(), Z(), Ut(ht, i), (ve = i.popperInstance) == null || ve.forceUpdate(), $("onMount", [i]), i.props.animation && P() && ie(O, function() {
1925
- i.state.isShown = !0, $("onShown", [i]);
1924
+ K(), Z(), Ut(ht, i), (ve = i.popperInstance) == null || ve.forceUpdate(), M("onMount", [i]), i.props.animation && P() && ie(O, function() {
1925
+ i.state.isShown = !0, M("onShown", [i]);
1926
1926
  });
1927
1927
  }
1928
1928
  }, oe();
@@ -1930,9 +1930,9 @@ function Wi(e, t) {
1930
1930
  }
1931
1931
  function Pn() {
1932
1932
  process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hide"));
1933
- var s = !i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = pt(i.props.duration, 1, W.duration);
1934
- if (!(s || v || m) && ($("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1935
- if (i.state.isVisible = !1, i.state.isShown = !1, p = !1, c = !1, P() && (d.style.visibility = "hidden"), le(), re(), M(!0), P()) {
1933
+ var s = !i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = ft(i.props.duration, 1, W.duration);
1934
+ if (!(s || v || m) && (M("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1935
+ if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, c = !1, P() && (d.style.visibility = "hidden"), pe(), re(), k(!0), P()) {
1936
1936
  var O = H(), j = O.box, z = O.content;
1937
1937
  i.props.animation && (dt([j, z], A), Wt([j, z], "hidden"));
1938
1938
  }
@@ -1947,16 +1947,16 @@ function Wi(e, t) {
1947
1947
  s._tippy.unmount();
1948
1948
  }), d.parentNode && d.parentNode.removeChild(d), ht = ht.filter(function(s) {
1949
1949
  return s !== i;
1950
- }), i.state.isMounted = !1, $("onHidden", [i]));
1950
+ }), i.state.isMounted = !1, M("onHidden", [i]));
1951
1951
  }
1952
1952
  function Nn() {
1953
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), qe(), delete e._tippy, i.state.isDestroyed = !0, $("onDestroy", [i]));
1953
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), qe(), delete e._tippy, i.state.isDestroyed = !0, M("onDestroy", [i]));
1954
1954
  }
1955
1955
  }
1956
1956
  function ze(e, t) {
1957
1957
  t === void 0 && (t = {});
1958
1958
  var n = W.plugins.concat(t.plugins || []);
1959
- process.env.NODE_ENV !== "production" && (ki(e), Cn(t, n)), Pi();
1959
+ process.env.NODE_ENV !== "production" && ($i(e), Cn(t, n)), Pi();
1960
1960
  var r = Object.assign({}, t, {
1961
1961
  plugins: n
1962
1962
  }), o = Di(e);
@@ -1969,16 +1969,16 @@ function ze(e, t) {
1969
1969
  `, `1) content: element.innerHTML
1970
1970
  `, "2) content: () => element.cloneNode(true)"].join(" "));
1971
1971
  }
1972
- var f = o.reduce(function(a, p) {
1973
- var l = p && Wi(p, r);
1974
- return l && a.push(l), a;
1972
+ var l = o.reduce(function(a, f) {
1973
+ var p = f && Wi(f, r);
1974
+ return p && a.push(p), a;
1975
1975
  }, []);
1976
- return Ue(e) ? f[0] : f;
1976
+ return Ue(e) ? l[0] : l;
1977
1977
  }
1978
1978
  ze.defaultProps = W;
1979
1979
  ze.setDefaultProps = Vi;
1980
1980
  ze.currentInput = J;
1981
- Object.assign({}, ln, {
1981
+ Object.assign({}, pn, {
1982
1982
  effect: function(t) {
1983
1983
  var n = t.state, r = {
1984
1984
  popper: {
@@ -2003,13 +2003,13 @@ var Fi = {
2003
2003
  function o() {
2004
2004
  return t.popperInstance ? t.popperInstance.state.elements.reference : n;
2005
2005
  }
2006
- function u(p) {
2007
- return t.props.sticky === !0 || t.props.sticky === p;
2006
+ function u(f) {
2007
+ return t.props.sticky === !0 || t.props.sticky === f;
2008
2008
  }
2009
- var c = null, f = null;
2009
+ var c = null, l = null;
2010
2010
  function a() {
2011
- var p = u("reference") ? o().getBoundingClientRect() : null, l = u("popper") ? r.getBoundingClientRect() : null;
2012
- (p && Kt(c, p) || l && Kt(f, l)) && t.popperInstance && t.popperInstance.update(), c = p, f = l, t.state.isMounted && requestAnimationFrame(a);
2011
+ var f = u("reference") ? o().getBoundingClientRect() : null, p = u("popper") ? r.getBoundingClientRect() : null;
2012
+ (f && Kt(c, f) || p && Kt(l, p)) && t.popperInstance && t.popperInstance.update(), c = f, l = p, t.state.isMounted && requestAnimationFrame(a);
2013
2013
  }
2014
2014
  return {
2015
2015
  onMount: function() {
@@ -2096,17 +2096,17 @@ const zi = (e) => ({
2096
2096
  };
2097
2097
  }, Ji = [
2098
2098
  ...qi
2099
- ], eo = 300, to = {
2099
+ ], eo = ["parent", "body"], to = 300, no = {
2100
2100
  hover: "d-tooltip--hover",
2101
2101
  show: "d-tooltip--show",
2102
2102
  inverted: "d-tooltip--inverted",
2103
2103
  hide: "d-tooltip--hide"
2104
- }, no = [
2104
+ }, ro = [
2105
2105
  ...Yi
2106
- ], vo = [!0, !1, "toggle"], ro = {
2106
+ ], ho = [!0, !1, "toggle"], io = {
2107
2107
  name: "DtTooltip",
2108
2108
  components: {
2109
- DtLazyShow: fr
2109
+ DtLazyShow: lr
2110
2110
  },
2111
2111
  props: {
2112
2112
  /**
@@ -2118,6 +2118,16 @@ const zi = (e) => ({
2118
2118
  return Zt();
2119
2119
  }
2120
2120
  },
2121
+ /**
2122
+ * Sets the element to which the popover is going to append to.
2123
+ * 'body' will append to the nearest body (supports shadow DOM).
2124
+ * @values 'body', 'parent', HTMLElement,
2125
+ */
2126
+ appendTo: {
2127
+ type: [HTMLElement, String],
2128
+ default: "body",
2129
+ validator: (e) => eo.includes(e) || e instanceof HTMLElement
2130
+ },
2121
2131
  /**
2122
2132
  * If the popover does not fit in the direction described by "placement",
2123
2133
  * it will attempt to change its direction to the "fallbackPlacements"
@@ -2198,7 +2208,7 @@ const zi = (e) => ({
2198
2208
  sticky: {
2199
2209
  type: [Boolean, String],
2200
2210
  default: !1,
2201
- validator: (e) => no.includes(e)
2211
+ validator: (e) => ro.includes(e)
2202
2212
  },
2203
2213
  /**
2204
2214
  * Additional css classes for the tooltip content element.
@@ -2277,7 +2287,7 @@ const zi = (e) => ({
2277
2287
  ],
2278
2288
  data() {
2279
2289
  return {
2280
- TOOLTIP_KIND_MODIFIERS: to,
2290
+ TOOLTIP_KIND_MODIFIERS: no,
2281
2291
  tip: null,
2282
2292
  inTimer: null,
2283
2293
  // Internal state for whether the tooltip is shown. Changing the prop
@@ -2286,7 +2296,9 @@ const zi = (e) => ({
2286
2296
  // this is where the placement currently is, this can be different than
2287
2297
  // the placement prop when there is not enough available room for the tip
2288
2298
  // to display and it uses a fallback placement.
2289
- currentPlacement: this.placement
2299
+ currentPlacement: this.placement,
2300
+ // reference to the anchor element
2301
+ anchor: null
2290
2302
  };
2291
2303
  },
2292
2304
  computed: {
@@ -2305,11 +2317,16 @@ const zi = (e) => ({
2305
2317
  }
2306
2318
  };
2307
2319
  },
2320
+ appendToElement() {
2321
+ var e, t;
2322
+ return this.appendTo === "body" ? (t = (e = this.anchor) == null ? void 0 : e.getRootNode()) == null ? void 0 : t.querySelector("body") : this.appendTo;
2323
+ },
2308
2324
  tippyProps() {
2309
2325
  return {
2310
2326
  offset: this.offset,
2311
2327
  interactive: !1,
2312
2328
  trigger: "manual",
2329
+ appendTo: this.appendToElement,
2313
2330
  placement: this.placement,
2314
2331
  sticky: this.sticky,
2315
2332
  popperOptions: Gi({
@@ -2318,9 +2335,6 @@ const zi = (e) => ({
2318
2335
  onChangePlacement: this.onChangePlacement
2319
2336
  })
2320
2337
  };
2321
- },
2322
- anchor() {
2323
- return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : Zi(this.$refs.anchor);
2324
2338
  }
2325
2339
  },
2326
2340
  watch: {
@@ -2343,8 +2357,9 @@ const zi = (e) => ({
2343
2357
  });
2344
2358
  }
2345
2359
  },
2360
+ // eslint-disable-next-line complexity
2346
2361
  mounted() {
2347
- !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 = Xi(this.anchor, this.initOptions()), this.isShown && this.tip.show();
2362
+ !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.anchor = this.externalAnchor ? document.body.querySelector(this.externalAnchor) : Zi(this.$refs.anchor), this.externalAnchor && this.addExternalAnchorEventListeners(), this.tip = Xi(this.anchor, this.initOptions());
2348
2363
  },
2349
2364
  beforeDestroy() {
2350
2365
  var e;
@@ -2362,7 +2377,7 @@ const zi = (e) => ({
2362
2377
  onEnterAnchor(e) {
2363
2378
  this.delay ? this.inTimer = setTimeout((function(t) {
2364
2379
  this.triggerShow(t);
2365
- }).bind(this, e), eo) : this.triggerShow(e);
2380
+ }).bind(this, e), to) : this.triggerShow(e);
2366
2381
  },
2367
2382
  triggerShow(e) {
2368
2383
  e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
@@ -2392,12 +2407,16 @@ const zi = (e) => ({
2392
2407
  onMount() {
2393
2408
  this.setProps();
2394
2409
  },
2410
+ onCreate(e) {
2411
+ this.isShown && e.show();
2412
+ },
2395
2413
  initOptions() {
2396
2414
  return {
2397
2415
  contentElement: this.$refs.content.$el,
2398
2416
  allowHTML: !0,
2399
2417
  zIndex: this.calculateAnchorZindex(),
2400
2418
  onMount: this.onMount,
2419
+ onCreate: this.onCreate,
2401
2420
  ...this.tippyProps
2402
2421
  };
2403
2422
  },
@@ -2417,7 +2436,7 @@ const zi = (e) => ({
2417
2436
  }
2418
2437
  }
2419
2438
  };
2420
- var io = function() {
2439
+ var oo = function() {
2421
2440
  var t = this, n = t._self._c;
2422
2441
  return n("div", { attrs: { "data-qa": "dt-tooltip-container" } }, [t.externalAnchor ? t._e() : n("span", { ref: "anchor", attrs: { "data-qa": "dt-tooltip-anchor" }, on: { focusin: t.onEnterAnchor, focusout: t.onLeaveAnchor, mouseenter: t.onEnterAnchor, mouseleave: t.onLeaveAnchor, keydown: function(r) {
2423
2442
  return !r.type.indexOf("key") && t._k(r.keyCode, "esc", 27, r.key, ["Esc", "Escape"]) ? null : t.onLeaveAnchor.apply(null, arguments);
@@ -2431,46 +2450,46 @@ var io = function() {
2431
2450
  ], attrs: { id: t.id, show: t.isVisible, role: "tooltip", "aria-hidden": "false", "data-qa": "dt-tooltip", appear: "", transition: t.transition } }, t.tooltipListeners), [t._t("default", function() {
2432
2451
  return [t._v(" " + t._s(t.message) + " ")];
2433
2452
  })], 2)], 1);
2434
- }, oo = [], ao = /* @__PURE__ */ un(
2435
- ro,
2453
+ }, ao = [], so = /* @__PURE__ */ un(
2436
2454
  io,
2437
2455
  oo,
2456
+ ao,
2438
2457
  !1,
2439
2458
  null,
2440
2459
  null,
2441
2460
  null,
2442
2461
  null
2443
2462
  );
2444
- const ho = ao.exports;
2463
+ const mo = so.exports;
2445
2464
  export {
2446
2465
  qi as B,
2447
- ho as D,
2448
- lo as E,
2449
- fo as L,
2466
+ mo as D,
2467
+ fo as E,
2468
+ po as L,
2450
2469
  Ji as T,
2451
2470
  he as V,
2452
2471
  Un as a,
2453
2472
  Yi as b,
2454
- fr as c,
2473
+ lr as c,
2455
2474
  Gi as d,
2456
2475
  Xi as e,
2457
- eo as f,
2476
+ to as f,
2458
2477
  Zt as g,
2459
2478
  an as h,
2460
2479
  Gn as i,
2461
2480
  Wn as j,
2462
2481
  Jt as k,
2463
2482
  er as l,
2464
- co as m,
2483
+ lo as m,
2465
2484
  un as n,
2466
2485
  or as o,
2467
- uo as p,
2468
- Mn as q,
2486
+ co as p,
2487
+ kn as q,
2469
2488
  Fn as r,
2470
2489
  ir as s,
2471
2490
  ze as t,
2472
- po as u,
2473
- to as v,
2474
- no as w,
2475
- vo as x
2491
+ vo as u,
2492
+ no as v,
2493
+ ro as w,
2494
+ ho as x
2476
2495
  };