@dialpad/dialtone 9.18.0 → 9.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/css/dialtone.css +2 -2
  2. package/dist/tokens/android/java/tokens-dark.kt +1 -1
  3. package/dist/tokens/android/java/tokens-light.kt +1 -1
  4. package/dist/tokens/android/res/values/colors-dark.xml +1 -1
  5. package/dist/tokens/android/res/values/colors-light.xml +1 -1
  6. package/dist/tokens/android/res/values/dimens.xml +1 -1
  7. package/dist/tokens/css/variables-dark.css +1 -1
  8. package/dist/tokens/css/variables-light.css +1 -1
  9. package/dist/tokens/ios/tokens-dark.swift +1 -1
  10. package/dist/tokens/ios/tokens-light.swift +1 -1
  11. package/dist/tokens/less/variables-dark.less +1 -1
  12. package/dist/tokens/less/variables-light.less +1 -1
  13. package/dist/vue2/component-documentation.json +1 -1
  14. package/dist/vue2/dialtone-vue.cjs +5 -5
  15. package/dist/vue2/dialtone-vue.js +69 -69
  16. package/dist/vue2/directives.cjs +1 -1
  17. package/dist/vue2/directives.js +1 -1
  18. package/dist/vue2/emoji.cjs +1 -1
  19. package/dist/vue2/emoji.js +4 -4
  20. package/dist/vue2/{emoji_picker-GfisVsYp.js → emoji_picker-oRqwDR1h.js} +2 -2
  21. package/dist/vue2/{emoji_picker-zi8qwHtl.cjs → emoji_picker-pzXZS6X7.cjs} +1 -1
  22. package/dist/vue2/{emoji_text_wrapper-JQf6BpGc.cjs → emoji_text_wrapper-6Yl5NIEJ.cjs} +1 -1
  23. package/dist/vue2/{emoji_text_wrapper-OrF0kZ6L.js → emoji_text_wrapper-V-Qf4XZv.js} +2 -2
  24. package/dist/vue2/{index-G0QxbVGe.js → index-74FmkvkN.js} +1 -1
  25. package/dist/vue2/{index-ihXjcrB-.cjs → index-dsfPzyLy.cjs} +1 -1
  26. package/dist/vue2/message_input.cjs +1 -1
  27. package/dist/vue2/message_input.js +4 -4
  28. package/dist/vue2/{rich_text_editor-vihc4pHS.js → rich_text_editor-AZuWkf9m.js} +1526 -1548
  29. package/dist/vue2/{rich_text_editor-Ty4BjcSP.cjs → rich_text_editor-TX19t44m.cjs} +20 -20
  30. package/dist/vue2/{tooltip-AVHt9lw0.js → tooltip-mMe9F6C6.js} +474 -441
  31. package/dist/vue2/tooltip-sE12R_AU.cjs +21 -0
  32. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts +30 -0
  33. package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  34. package/dist/vue3/component-documentation.json +1 -1
  35. package/dist/vue3/dialtone-vue.cjs +5 -5
  36. package/dist/vue3/dialtone-vue.js +87 -87
  37. package/dist/vue3/directives.cjs +1 -1
  38. package/dist/vue3/directives.js +1 -1
  39. package/dist/vue3/{emoji-acqIsOA0.js → emoji-ifbDMGtx.js} +1 -1
  40. package/dist/vue3/{emoji-gFUvTgzf.cjs → emoji-q4ZpxDOX.cjs} +1 -1
  41. package/dist/vue3/emoji.cjs +1 -1
  42. package/dist/vue3/emoji.js +4 -4
  43. package/dist/vue3/{emoji_picker-7KBwg94e.js → emoji_picker-G6QLC4uN.js} +2 -2
  44. package/dist/vue3/{emoji_picker-XmAzvsvD.cjs → emoji_picker-i3y8jyyY.cjs} +1 -1
  45. package/dist/vue3/{emoji_text_wrapper-Cr15_VcH.cjs → emoji_text_wrapper-spWldgj4.cjs} +1 -1
  46. package/dist/vue3/{emoji_text_wrapper-TK25xXF3.js → emoji_text_wrapper-vQeoLfQ4.js} +1 -1
  47. package/dist/vue3/message_input.cjs +1 -1
  48. package/dist/vue3/message_input.js +4 -4
  49. package/dist/vue3/{rich_text_editor-BgXaC2KF.js → rich_text_editor-S31F6RAP.js} +770 -792
  50. package/dist/vue3/{rich_text_editor-mAENLkE_.cjs → rich_text_editor-fciM1V1t.cjs} +20 -20
  51. package/dist/vue3/{tooltip-Od71Luh6.js → tooltip-FcHJcgMd.js} +503 -470
  52. package/dist/vue3/tooltip-px-Nxl4C.cjs +21 -0
  53. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +30 -0
  54. package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
  55. package/package.json +1 -1
  56. package/dist/vue2/tooltip-6msmWvq0.cjs +0 -21
  57. package/dist/vue3/tooltip-8utqWHHH.cjs +0 -21
@@ -1,24 +1,24 @@
1
- import $n from "vue";
1
+ import Vn 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
- }, lo = {
15
+ }, fo = {
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
- }, fo = {
21
+ }, po = {
22
22
  esc: "Esc",
23
23
  escape: "Escape",
24
24
  tab: "Tab",
@@ -35,20 +35,20 @@ const he = {
35
35
  arrowdown: "ArrowDown",
36
36
  home: "Home",
37
37
  end: "End"
38
- }, kn = he.ERROR, jn = "dt";
39
- let Vn = 0, Lt;
40
- const Bn = typeof setImmediate == "function" ? setImmediate : setTimeout;
41
- function Zt(e = jn) {
42
- return `${e}${Vn++}`;
38
+ }, jn = he.ERROR, Bn = "dt";
39
+ let Un = 0, Pt;
40
+ const Hn = typeof setImmediate == "function" ? setImmediate : setTimeout;
41
+ function Zt(e = Bn) {
42
+ return `${e}${Un++}`;
43
43
  }
44
- function Un(e, t) {
44
+ function Fn(e, t) {
45
45
  if (t) {
46
- const n = Hn(t);
46
+ const n = Wn(t);
47
47
  return e[Math.abs(n) % e.length];
48
48
  } else
49
49
  return e[Qt(e.length)];
50
50
  }
51
- function Hn(e) {
51
+ function Wn(e) {
52
52
  let t;
53
53
  for (let n = 0; n < e.length; n++)
54
54
  t = Math.imul(31, t) + e.charCodeAt(n) | 0;
@@ -57,13 +57,13 @@ function Hn(e) {
57
57
  function Qt(e) {
58
58
  return Math.floor(Math.random() * e);
59
59
  }
60
- function Wn(e) {
60
+ function zn(e) {
61
61
  return e ? e.map((t) => typeof t == "string" ? {
62
62
  message: t,
63
- type: kn
63
+ type: jn
64
64
  } : t) : [];
65
65
  }
66
- function Fn(e) {
66
+ function qn(e) {
67
67
  const t = Jt(e);
68
68
  return !e || !t ? [] : e.filter((n) => !!n.message && n.type === t);
69
69
  }
@@ -73,12 +73,12 @@ function Jt(e) {
73
73
  function ot(e, t) {
74
74
  return !e || !t ? !1 : e.some((n) => (n == null ? void 0 : n.type) === t);
75
75
  }
76
- const zn = {
76
+ const Yn = {
77
77
  name: "html-fragment",
78
78
  functional: !0,
79
79
  props: ["html"],
80
80
  render(e, t) {
81
- return new $n({
81
+ return new Vn({
82
82
  // eslint-disable-next-line vue/multi-word-component-names
83
83
  name: "Inner",
84
84
  beforeCreate() {
@@ -87,13 +87,13 @@ const zn = {
87
87
  template: `<div>${t.props.html}</div>`
88
88
  }).$mount()._vnode.children;
89
89
  }
90
- }, qn = () => new Promise((e) => {
91
- Bn(e);
92
- }), Yn = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join("");
93
- function Xn(e, t = 300) {
94
- clearTimeout(Lt), Lt = setTimeout(e, t);
90
+ }, Xn = () => new Promise((e) => {
91
+ Hn(e);
92
+ }), Gn = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join("");
93
+ function Kn(e, t = 300) {
94
+ clearTimeout(Pt), Pt = setTimeout(e, t);
95
95
  }
96
- function Gn(e) {
96
+ function Zn(e) {
97
97
  const t = e.getBoundingClientRect(), n = {
98
98
  top: t.top < 0,
99
99
  left: t.left < 0,
@@ -102,22 +102,22 @@ function Gn(e) {
102
102
  };
103
103
  return n.any = Object.values(n).some((r) => r), n.all = Object.values(n).every((r) => r), n;
104
104
  }
105
- const Kn = /(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/, Zn = new RegExp(
105
+ const Qn = /(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/, Jn = new RegExp(
106
106
  "(?: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)"
107
- ), Qn = new RegExp(
107
+ ), er = new RegExp(
108
108
  "(?:(?:[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])"
109
109
  ), en = new RegExp(
110
110
  "(?:" + [
111
111
  [
112
- Kn.source,
113
- Zn.source
112
+ Qn.source,
113
+ Jn.source
114
114
  ].join("+"),
115
- Qn.source
115
+ er.source
116
116
  ].join("|") + ")"
117
- ), Jn = /(?:(?:[;/][^#?<>\s]*)?)/, tn = /(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/, nn = new RegExp(
117
+ ), tr = /(?:(?:[;/][^#?<>\s]*)?)/, tn = /(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/, nn = new RegExp(
118
118
  "\\b" + [
119
119
  en.source,
120
- Jn.source,
120
+ tr.source,
121
121
  tn.source,
122
122
  "(?!\\w)"
123
123
  ].join("+")
@@ -138,7 +138,7 @@ function an(e = 7, t = 15) {
138
138
  `${n ? "(?:^|(?<=\\W))" : ""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`
139
139
  );
140
140
  }
141
- const sn = an(), er = new RegExp(
141
+ const sn = an(), nr = new RegExp(
142
142
  [
143
143
  nn.source,
144
144
  rn.source,
@@ -147,44 +147,44 @@ const sn = an(), er = new RegExp(
147
147
  ].join("|"),
148
148
  "gi"
149
149
  );
150
- function tr(e) {
150
+ function rr(e) {
151
151
  var t;
152
152
  return !e || !["string", "number"].includes(typeof e) ? !1 : (e = e.toString(), ((t = sn.exec(e)) == null ? void 0 : t[0]) === e);
153
153
  }
154
- function nr(e) {
154
+ function ir(e) {
155
155
  var t, n;
156
156
  return !e || typeof e != "string" ? !1 : ((t = nn.exec(e)) == null ? void 0 : t[0]) === e || ((n = rn.exec(e)) == null ? void 0 : n[0]) === e;
157
157
  }
158
- function rr(e) {
158
+ function or(e) {
159
159
  var t;
160
160
  return !e || typeof e != "string" ? !1 : ((t = on.exec(e)) == null ? void 0 : t[0]) === e;
161
161
  }
162
- function ir(e) {
162
+ function ar(e) {
163
163
  return e.filter((t) => !!t).join(" ");
164
164
  }
165
- function or(e, t = "en-US") {
165
+ function sr(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
- getRandomElement: Un,
170
+ getRandomElement: Fn,
171
171
  getRandomInt: Qt,
172
- formatMessages: Wn,
173
- filterFormattedMessages: Fn,
172
+ formatMessages: zn,
173
+ filterFormattedMessages: qn,
174
174
  hasFormattedMessageOfType: ot,
175
175
  getValidationState: Jt,
176
- htmlFragment: zn,
177
- flushPromises: qn,
178
- kebabCaseToPascalCase: Yn,
179
- debounce: Xn,
180
- isOutOfViewPort: Gn,
176
+ htmlFragment: Yn,
177
+ flushPromises: Xn,
178
+ kebabCaseToPascalCase: Gn,
179
+ debounce: Kn,
180
+ isOutOfViewPort: Zn,
181
181
  getPhoneNumberRegex: an,
182
- linkRegex: er,
183
- isEmailAddress: rr,
184
- isPhoneNumber: tr,
185
- isURL: nr,
186
- safeConcatStrings: ir,
187
- capitalizeFirstLetter: or
182
+ linkRegex: nr,
183
+ isEmailAddress: or,
184
+ isPhoneNumber: rr,
185
+ isURL: ir,
186
+ safeConcatStrings: ar,
187
+ capitalizeFirstLetter: sr
188
188
  };
189
189
  function un(e, t, n, r, o, s, c, l) {
190
190
  var a = typeof e == "function" ? e.options : e;
@@ -215,7 +215,7 @@ function un(e, t, n, r, o, s, c, l) {
215
215
  options: a
216
216
  };
217
217
  }
218
- const ar = {
218
+ const ur = {
219
219
  name: "DtLazyShow",
220
220
  /******************
221
221
  * PROPS *
@@ -273,29 +273,29 @@ const ar = {
273
273
  }
274
274
  }
275
275
  };
276
- var sr = function() {
276
+ var cr = function() {
277
277
  var t = this, n = t._self._c;
278
278
  return n("transition", t._g({ attrs: { name: t.transition, appear: t.appear, css: t.isCSSEnabled } }, t.$listeners), [n("div", t._g({ directives: [{ name: "show", rawName: "v-show", value: t.show, expression: "show" }] }, t.$listeners), [t.initialized ? t._t("default") : t._e()], 2)]);
279
- }, ur = [], cr = /* @__PURE__ */ un(
280
- ar,
281
- sr,
279
+ }, lr = [], fr = /* @__PURE__ */ un(
282
280
  ur,
281
+ cr,
282
+ lr,
283
283
  !1,
284
284
  null,
285
285
  null,
286
286
  null,
287
287
  null
288
288
  );
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", fr = "clippingParents", cn = "viewport", Me = "popper", pr = "reference", Pt = /* @__PURE__ */ We.reduce(function(e, t) {
291
- return e.concat([t + "-" + De, t + "-" + Ve]);
292
- }, []), ln = /* @__PURE__ */ [].concat(We, [Et]).reduce(function(e, t) {
293
- return e.concat([t, t + "-" + De, t + "-" + Ve]);
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];
289
+ const pr = fr.exports;
290
+ var j = "top", Y = "bottom", X = "right", B = "left", Et = "auto", Fe = [j, Y, X, B], Se = "start", je = "end", dr = "clippingParents", cn = "viewport", Me = "popper", vr = "reference", Lt = /* @__PURE__ */ Fe.reduce(function(e, t) {
291
+ return e.concat([t + "-" + Se, t + "-" + je]);
292
+ }, []), ln = /* @__PURE__ */ [].concat(Fe, [Et]).reduce(function(e, t) {
293
+ return e.concat([t, t + "-" + Se, t + "-" + je]);
294
+ }, []), hr = "beforeRead", mr = "read", gr = "afterRead", yr = "beforeMain", br = "main", wr = "afterMain", Er = "beforeWrite", Or = "write", Tr = "afterWrite", xr = [hr, mr, gr, yr, br, wr, Er, Or, Tr];
295
295
  function te(e) {
296
296
  return e ? (e.nodeName || "").toLowerCase() : null;
297
297
  }
298
- function F(e) {
298
+ function W(e) {
299
299
  if (e == null)
300
300
  return window;
301
301
  if (e.toString() !== "[object Window]") {
@@ -305,20 +305,20 @@ function F(e) {
305
305
  return e;
306
306
  }
307
307
  function ye(e) {
308
- var t = F(e).Element;
308
+ var t = W(e).Element;
309
309
  return e instanceof t || e instanceof Element;
310
310
  }
311
311
  function q(e) {
312
- var t = F(e).HTMLElement;
312
+ var t = W(e).HTMLElement;
313
313
  return e instanceof t || e instanceof HTMLElement;
314
314
  }
315
315
  function Ot(e) {
316
316
  if (typeof ShadowRoot > "u")
317
317
  return !1;
318
- var t = F(e).ShadowRoot;
318
+ var t = W(e).ShadowRoot;
319
319
  return e instanceof t || e instanceof ShadowRoot;
320
320
  }
321
- function xr(e) {
321
+ function Ar(e) {
322
322
  var t = e.state;
323
323
  Object.keys(t.elements).forEach(function(n) {
324
324
  var r = t.styles[n] || {}, o = t.attributes[n] || {}, s = t.elements[n];
@@ -328,7 +328,7 @@ function xr(e) {
328
328
  }));
329
329
  });
330
330
  }
331
- function Tr(e) {
331
+ function Sr(e) {
332
332
  var t = e.state, n = {
333
333
  popper: {
334
334
  position: t.options.strategy,
@@ -356,14 +356,14 @@ const fn = {
356
356
  name: "applyStyles",
357
357
  enabled: !0,
358
358
  phase: "write",
359
- fn: xr,
360
- effect: Tr,
359
+ fn: Ar,
360
+ effect: Sr,
361
361
  requires: ["computeStyles"]
362
362
  };
363
363
  function ee(e) {
364
364
  return e.split("-")[0];
365
365
  }
366
- var ge = Math.max, st = Math.min, Se = Math.round;
366
+ var ge = Math.max, st = Math.min, De = Math.round;
367
367
  function mt() {
368
368
  var e = navigator.userAgentData;
369
369
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -373,11 +373,11 @@ function mt() {
373
373
  function pn() {
374
374
  return !/^((?!chrome|android).)*safari/i.test(mt());
375
375
  }
376
- function Ce(e, t, n) {
376
+ function Re(e, t, n) {
377
377
  t === void 0 && (t = !1), n === void 0 && (n = !1);
378
378
  var r = e.getBoundingClientRect(), o = 1, s = 1;
379
- t && q(e) && (o = e.offsetWidth > 0 && Se(r.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && Se(r.height) / e.offsetHeight || 1);
380
- var c = ye(e) ? F(e) : window, l = c.visualViewport, a = !pn() && n, p = (r.left + (a && l ? l.offsetLeft : 0)) / o, f = (r.top + (a && l ? l.offsetTop : 0)) / s, y = r.width / o, g = r.height / s;
379
+ t && q(e) && (o = e.offsetWidth > 0 && De(r.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && De(r.height) / e.offsetHeight || 1);
380
+ var c = ye(e) ? W(e) : window, l = c.visualViewport, a = !pn() && n, p = (r.left + (a && l ? l.offsetLeft : 0)) / o, f = (r.top + (a && l ? l.offsetTop : 0)) / s, y = r.width / o, g = r.height / s;
381
381
  return {
382
382
  width: y,
383
383
  height: g,
@@ -389,8 +389,8 @@ function Ce(e, t, n) {
389
389
  y: f
390
390
  };
391
391
  }
392
- function xt(e) {
393
- var t = Ce(e), n = e.offsetWidth, r = e.offsetHeight;
392
+ function Tt(e) {
393
+ var t = Re(e), n = e.offsetWidth, r = e.offsetHeight;
394
394
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
395
395
  x: e.offsetLeft,
396
396
  y: e.offsetTop,
@@ -413,9 +413,9 @@ function dn(e, t) {
413
413
  return !1;
414
414
  }
415
415
  function se(e) {
416
- return F(e).getComputedStyle(e);
416
+ return W(e).getComputedStyle(e);
417
417
  }
418
- function Ar(e) {
418
+ function Dr(e) {
419
419
  return ["table", "td", "th"].indexOf(te(e)) >= 0;
420
420
  }
421
421
  function le(e) {
@@ -440,7 +440,7 @@ function _t(e) {
440
440
  return !q(e) || // https://github.com/popperjs/popper-core/issues/837
441
441
  se(e).position === "fixed" ? null : e.offsetParent;
442
442
  }
443
- function Dr(e) {
443
+ function Rr(e) {
444
444
  var t = /firefox/i.test(mt()), n = /Trident/i.test(mt());
445
445
  if (n && q(e)) {
446
446
  var r = se(e);
@@ -456,18 +456,18 @@ function Dr(e) {
456
456
  }
457
457
  return null;
458
458
  }
459
- function Fe(e) {
460
- for (var t = F(e), n = _t(e); n && Ar(n) && se(n).position === "static"; )
459
+ function We(e) {
460
+ for (var t = W(e), n = _t(e); n && Dr(n) && se(n).position === "static"; )
461
461
  n = _t(n);
462
- return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n || Dr(e) || t;
462
+ return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n || Rr(e) || t;
463
463
  }
464
- function Tt(e) {
464
+ function xt(e) {
465
465
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
466
466
  }
467
467
  function $e(e, t, n) {
468
468
  return ge(e, st(t, n));
469
469
  }
470
- function Sr(e, t, n) {
470
+ function Cr(e, t, n) {
471
471
  var r = $e(e, t, n);
472
472
  return r > n ? n : r;
473
473
  }
@@ -487,45 +487,45 @@ function mn(e, t) {
487
487
  return n[r] = e, n;
488
488
  }, {});
489
489
  }
490
- var Cr = function(t, n) {
490
+ var Pr = function(t, n) {
491
491
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
492
492
  placement: n.placement
493
- })) : t, hn(typeof t != "number" ? t : mn(t, We));
493
+ })) : t, hn(typeof t != "number" ? t : mn(t, Fe));
494
494
  };
495
- function Rr(e) {
496
- var t, n = e.state, r = e.name, o = e.options, s = n.elements.arrow, c = n.modifiersData.popperOffsets, l = ee(n.placement), a = Tt(l), p = [B, X].indexOf(l) >= 0, f = p ? "height" : "width";
495
+ function Lr(e) {
496
+ var t, n = e.state, r = e.name, o = e.options, s = n.elements.arrow, c = n.modifiersData.popperOffsets, l = ee(n.placement), a = xt(l), p = [B, X].indexOf(l) >= 0, f = p ? "height" : "width";
497
497
  if (!(!s || !c)) {
498
- var y = Cr(o.padding, n), g = xt(s), h = a === "y" ? V : B, b = a === "y" ? Y : X, w = n.rects.reference[f] + n.rects.reference[a] - c[a] - n.rects.popper[f], E = c[a] - n.rects.reference[a], T = Fe(s), D = T ? a === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = w / 2 - E / 2, i = y[h], x = D - g[f] - y[b], d = D / 2 - g[f] / 2 + C, S = $e(i, d, x), I = a;
499
- n.modifiersData[r] = (t = {}, t[I] = S, t.centerOffset = S - d, t);
498
+ var y = Pr(o.padding, n), g = Tt(s), h = a === "y" ? j : B, b = a === "y" ? Y : X, w = n.rects.reference[f] + n.rects.reference[a] - c[a] - n.rects.popper[f], E = c[a] - n.rects.reference[a], x = We(s), S = x ? a === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, R = w / 2 - E / 2, i = y[h], T = S - g[f] - y[b], d = S / 2 - g[f] / 2 + R, D = $e(i, d, T), I = a;
499
+ n.modifiersData[r] = (t = {}, t[I] = D, t.centerOffset = D - d, t);
500
500
  }
501
501
  }
502
- function Lr(e) {
502
+ function _r(e) {
503
503
  var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
504
504
  o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || dn(t.elements.popper, o) && (t.elements.arrow = o));
505
505
  }
506
- const Pr = {
506
+ const Ir = {
507
507
  name: "arrow",
508
508
  enabled: !0,
509
509
  phase: "main",
510
- fn: Rr,
511
- effect: Lr,
510
+ fn: Lr,
511
+ effect: _r,
512
512
  requires: ["popperOffsets"],
513
513
  requiresIfExists: ["preventOverflow"]
514
514
  };
515
- function Re(e) {
515
+ function Ce(e) {
516
516
  return e.split("-")[1];
517
517
  }
518
- var _r = {
518
+ var Nr = {
519
519
  top: "auto",
520
520
  right: "auto",
521
521
  bottom: "auto",
522
522
  left: "auto"
523
523
  };
524
- function Ir(e, t) {
524
+ function Mr(e, t) {
525
525
  var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
526
526
  return {
527
- x: Se(n * o) / o || 0,
528
- y: Se(r * o) / o || 0
527
+ x: De(n * o) / o || 0,
528
+ y: De(r * o) / o || 0
529
529
  };
530
530
  }
531
531
  function It(e) {
@@ -537,45 +537,45 @@ function It(e) {
537
537
  y: w
538
538
  };
539
539
  h = E.x, w = E.y;
540
- var T = c.hasOwnProperty("x"), D = c.hasOwnProperty("y"), C = B, i = V, x = window;
540
+ var x = c.hasOwnProperty("x"), S = c.hasOwnProperty("y"), R = B, i = j, T = window;
541
541
  if (p) {
542
- var d = Fe(n), S = "clientHeight", I = "clientWidth";
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) && s === Ve) {
542
+ var d = We(n), D = "clientHeight", I = "clientWidth";
543
+ if (d === W(n) && (d = le(n), se(d).position !== "static" && l === "absolute" && (D = "scrollHeight", I = "scrollWidth")), d = d, o === j || (o === B || o === X) && s === je) {
544
544
  i = Y;
545
- var _ = y && d === x && x.visualViewport ? x.visualViewport.height : (
545
+ var _ = y && d === T && T.visualViewport ? T.visualViewport.height : (
546
546
  // $FlowFixMe[prop-missing]
547
- d[S]
547
+ d[D]
548
548
  );
549
549
  w -= _ - r.height, w *= a ? 1 : -1;
550
550
  }
551
- if (o === B || (o === V || o === Y) && s === Ve) {
552
- C = X;
553
- var L = y && d === x && x.visualViewport ? x.visualViewport.width : (
551
+ if (o === B || (o === j || o === Y) && s === je) {
552
+ R = X;
553
+ var P = y && d === T && T.visualViewport ? T.visualViewport.width : (
554
554
  // $FlowFixMe[prop-missing]
555
555
  d[I]
556
556
  );
557
- h -= L - r.width, h *= a ? 1 : -1;
557
+ h -= P - r.width, h *= a ? 1 : -1;
558
558
  }
559
559
  }
560
560
  var N = Object.assign({
561
561
  position: l
562
- }, p && _r), P = f === !0 ? Ir({
562
+ }, p && Nr), L = f === !0 ? Mr({
563
563
  x: h,
564
564
  y: w
565
- }, F(n)) : {
565
+ }, W(n)) : {
566
566
  x: h,
567
567
  y: w
568
568
  };
569
- if (h = P.x, w = P.y, a) {
570
- var R;
571
- return Object.assign({}, N, (R = {}, R[i] = D ? "0" : "", R[C] = T ? "0" : "", R.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + w + "px)" : "translate3d(" + h + "px, " + w + "px, 0)", R));
569
+ if (h = L.x, w = L.y, a) {
570
+ var C;
571
+ return Object.assign({}, N, (C = {}, C[i] = S ? "0" : "", C[R] = x ? "0" : "", C.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + w + "px)" : "translate3d(" + h + "px, " + w + "px, 0)", C));
572
572
  }
573
- return Object.assign({}, N, (t = {}, t[i] = D ? w + "px" : "", t[C] = T ? h + "px" : "", t.transform = "", t));
573
+ return Object.assign({}, N, (t = {}, t[i] = S ? w + "px" : "", t[R] = x ? h + "px" : "", t.transform = "", t));
574
574
  }
575
- function Nr(e) {
575
+ function $r(e) {
576
576
  var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, s = n.adaptive, c = s === void 0 ? !0 : s, l = n.roundOffsets, a = l === void 0 ? !0 : l, p = {
577
577
  placement: ee(t.placement),
578
- variation: Re(t.placement),
578
+ variation: Ce(t.placement),
579
579
  popper: t.elements.popper,
580
580
  popperRect: t.rects.popper,
581
581
  gpuAcceleration: o,
@@ -595,18 +595,18 @@ function Nr(e) {
595
595
  "data-popper-placement": t.placement
596
596
  });
597
597
  }
598
- const Mr = {
598
+ const kr = {
599
599
  name: "computeStyles",
600
600
  enabled: !0,
601
601
  phase: "beforeWrite",
602
- fn: Nr,
602
+ fn: $r,
603
603
  data: {}
604
604
  };
605
605
  var rt = {
606
606
  passive: !0
607
607
  };
608
- function $r(e) {
609
- var t = e.state, n = e.instance, r = e.options, o = r.scroll, s = o === void 0 ? !0 : o, c = r.resize, l = c === void 0 ? !0 : c, a = F(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
608
+ function Vr(e) {
609
+ var t = e.state, n = e.instance, r = e.options, o = r.scroll, s = o === void 0 ? !0 : o, c = r.resize, l = c === void 0 ? !0 : c, a = W(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
610
610
  return s && p.forEach(function(f) {
611
611
  f.addEventListener("scroll", n.update, rt);
612
612
  }), l && a.addEventListener("resize", n.update, rt), function() {
@@ -615,16 +615,16 @@ function $r(e) {
615
615
  }), l && a.removeEventListener("resize", n.update, rt);
616
616
  };
617
617
  }
618
- const kr = {
618
+ const jr = {
619
619
  name: "eventListeners",
620
620
  enabled: !0,
621
621
  phase: "write",
622
622
  fn: function() {
623
623
  },
624
- effect: $r,
624
+ effect: Vr,
625
625
  data: {}
626
626
  };
627
- var jr = {
627
+ var Br = {
628
628
  left: "right",
629
629
  right: "left",
630
630
  bottom: "top",
@@ -632,30 +632,30 @@ var jr = {
632
632
  };
633
633
  function at(e) {
634
634
  return e.replace(/left|right|bottom|top/g, function(t) {
635
- return jr[t];
635
+ return Br[t];
636
636
  });
637
637
  }
638
- var Vr = {
638
+ var Ur = {
639
639
  start: "end",
640
640
  end: "start"
641
641
  };
642
642
  function Nt(e) {
643
643
  return e.replace(/start|end/g, function(t) {
644
- return Vr[t];
644
+ return Ur[t];
645
645
  });
646
646
  }
647
647
  function At(e) {
648
- var t = F(e), n = t.pageXOffset, r = t.pageYOffset;
648
+ var t = W(e), n = t.pageXOffset, r = t.pageYOffset;
649
649
  return {
650
650
  scrollLeft: n,
651
651
  scrollTop: r
652
652
  };
653
653
  }
654
- function Dt(e) {
655
- return Ce(le(e)).left + At(e).scrollLeft;
654
+ function St(e) {
655
+ return Re(le(e)).left + At(e).scrollLeft;
656
656
  }
657
- function Br(e, t) {
658
- var n = F(e), r = le(e), o = n.visualViewport, s = r.clientWidth, c = r.clientHeight, l = 0, a = 0;
657
+ function Hr(e, t) {
658
+ var n = W(e), r = le(e), o = n.visualViewport, s = r.clientWidth, c = r.clientHeight, l = 0, a = 0;
659
659
  if (o) {
660
660
  s = o.width, c = o.height;
661
661
  var p = pn();
@@ -664,12 +664,12 @@ function Br(e, t) {
664
664
  return {
665
665
  width: s,
666
666
  height: c,
667
- x: l + Dt(e),
667
+ x: l + St(e),
668
668
  y: a
669
669
  };
670
670
  }
671
- function Ur(e) {
672
- var t, n = le(e), r = At(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = 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;
671
+ function Fr(e) {
672
+ var t, n = le(e), r = At(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = 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 + St(e), a = -r.scrollTop;
673
673
  return se(o || n).direction === "rtl" && (l += ge(n.clientWidth, o ? o.clientWidth : 0) - s), {
674
674
  width: s,
675
675
  height: c,
@@ -677,17 +677,17 @@ function Ur(e) {
677
677
  y: a
678
678
  };
679
679
  }
680
- function St(e) {
680
+ function Dt(e) {
681
681
  var t = se(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
682
682
  return /auto|scroll|overlay|hidden/.test(n + o + r);
683
683
  }
684
684
  function gn(e) {
685
- return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : q(e) && St(e) ? e : gn(ct(e));
685
+ return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : q(e) && Dt(e) ? e : gn(ct(e));
686
686
  }
687
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), s = F(r), c = o ? [s].concat(s.visualViewport || [], St(r) ? r : []) : r, l = t.concat(c);
690
+ var r = gn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), s = W(r), c = o ? [s].concat(s.visualViewport || [], Dt(r) ? r : []) : r, l = t.concat(c);
691
691
  return o ? l : (
692
692
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
693
693
  l.concat(ke(ct(c)))
@@ -701,30 +701,30 @@ function gt(e) {
701
701
  bottom: e.y + e.height
702
702
  });
703
703
  }
704
- function Hr(e, t) {
705
- var n = Ce(e, !1, t === "fixed");
704
+ function Wr(e, t) {
705
+ var n = Re(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
708
  function Mt(e, t, n) {
709
- return t === cn ? gt(Br(e, n)) : ye(t) ? Hr(t, n) : gt(Ur(le(e)));
709
+ return t === cn ? gt(Hr(e, n)) : ye(t) ? Wr(t, n) : gt(Fr(le(e)));
710
710
  }
711
- function Wr(e) {
712
- var t = ke(ct(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && q(e) ? Fe(e) : e;
711
+ function zr(e) {
712
+ var t = ke(ct(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && q(e) ? We(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
- function Fr(e, t, n, r) {
718
- var o = t === "clippingParents" ? Wr(e) : [].concat(t), s = [].concat(o, [n]), c = s[0], l = s.reduce(function(a, p) {
717
+ function qr(e, t, n, r) {
718
+ var o = t === "clippingParents" ? zr(e) : [].concat(t), s = [].concat(o, [n]), c = s[0], l = s.reduce(function(a, p) {
719
719
  var f = Mt(e, p, r);
720
720
  return a.top = ge(f.top, a.top), a.right = st(f.right, a.right), a.bottom = st(f.bottom, a.bottom), a.left = ge(f.left, a.left), a;
721
721
  }, Mt(e, c, r));
722
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, s = r ? Re(r) : null, c = t.x + t.width / 2 - n.width / 2, l = 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, s = r ? Ce(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
- case V:
727
+ case j:
728
728
  a = {
729
729
  x: c,
730
730
  y: t.y - n.height
@@ -754,14 +754,14 @@ function yn(e) {
754
754
  y: t.y
755
755
  };
756
756
  }
757
- var p = o ? Tt(o) : null;
757
+ var p = o ? xt(o) : null;
758
758
  if (p != null) {
759
759
  var f = p === "y" ? "height" : "width";
760
760
  switch (s) {
761
- case De:
761
+ case Se:
762
762
  a[p] = a[p] - (t[f] / 2 - n[f] / 2);
763
763
  break;
764
- case Ve:
764
+ case je:
765
765
  a[p] = a[p] + (t[f] / 2 - n[f] / 2);
766
766
  break;
767
767
  }
@@ -770,31 +770,31 @@ 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, s = n.strategy, c = s === void 0 ? e.strategy : s, l = n.boundary, a = l === void 0 ? fr : l, p = n.rootBoundary, f = p === void 0 ? cn : p, 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 ? pr : Me, C = e.rects.popper, i = e.elements[b ? D : g], x = Fr(ye(i) ? i : i.contextElement || le(e.elements.popper), a, f, c), d = Ce(e.elements.reference), S = yn({
773
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.strategy, c = s === void 0 ? e.strategy : s, l = n.boundary, a = l === void 0 ? dr : l, p = n.rootBoundary, f = p === void 0 ? cn : p, 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, x = hn(typeof E != "number" ? E : mn(E, Fe)), S = g === Me ? vr : Me, R = e.rects.popper, i = e.elements[b ? S : g], T = qr(ye(i) ? i : i.contextElement || le(e.elements.popper), a, f, c), d = Re(e.elements.reference), D = yn({
774
774
  reference: d,
775
- element: C,
775
+ element: R,
776
776
  strategy: "absolute",
777
777
  placement: o
778
- }), I = gt(Object.assign({}, C, S)), _ = g === Me ? I : d, L = {
779
- top: x.top - _.top + T.top,
780
- bottom: _.bottom - x.bottom + T.bottom,
781
- left: x.left - _.left + T.left,
782
- right: _.right - x.right + T.right
778
+ }), I = gt(Object.assign({}, R, D)), _ = g === Me ? I : d, P = {
779
+ top: T.top - _.top + x.top,
780
+ bottom: _.bottom - T.bottom + x.bottom,
781
+ left: T.left - _.left + x.left,
782
+ right: _.right - T.right + x.right
783
783
  }, N = e.modifiersData.offset;
784
784
  if (g === Me && N) {
785
- var P = N[o];
786
- Object.keys(L).forEach(function(R) {
787
- var U = [X, Y].indexOf(R) >= 0 ? 1 : -1, H = [V, Y].indexOf(R) >= 0 ? "y" : "x";
788
- L[R] += P[H] * U;
785
+ var L = N[o];
786
+ Object.keys(P).forEach(function(C) {
787
+ var U = [X, Y].indexOf(C) >= 0 ? 1 : -1, H = [j, Y].indexOf(C) >= 0 ? "y" : "x";
788
+ P[C] += L[H] * U;
789
789
  });
790
790
  }
791
- return L;
791
+ return P;
792
792
  }
793
- function zr(e, t) {
793
+ function Yr(e, t) {
794
794
  t === void 0 && (t = {});
795
- var n = t, r = n.placement, o = n.boundary, s = n.rootBoundary, c = n.padding, l = n.flipVariations, a = n.allowedAutoPlacements, p = a === void 0 ? ln : a, f = Re(r), y = f ? l ? Pt : Pt.filter(function(b) {
796
- return Re(b) === f;
797
- }) : We, g = y.filter(function(b) {
795
+ var n = t, r = n.placement, o = n.boundary, s = n.rootBoundary, c = n.padding, l = n.flipVariations, a = n.allowedAutoPlacements, p = a === void 0 ? ln : a, f = Ce(r), y = f ? l ? Lt : Lt.filter(function(b) {
796
+ return Ce(b) === f;
797
+ }) : Fe, g = y.filter(function(b) {
798
798
  return p.indexOf(b) >= 0;
799
799
  });
800
800
  g.length === 0 && (g = y);
@@ -810,17 +810,17 @@ function zr(e, t) {
810
810
  return h[b] - h[w];
811
811
  });
812
812
  }
813
- function qr(e) {
813
+ function Xr(e) {
814
814
  if (ee(e) === Et)
815
815
  return [];
816
816
  var t = at(e);
817
817
  return [Nt(e), t, Nt(t)];
818
818
  }
819
- function Yr(e) {
819
+ function Gr(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, s = o === void 0 ? !0 : o, c = n.altAxis, l = c === void 0 ? !0 : c, a = n.fallbackPlacements, p = n.padding, f = 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
- return ne.concat(ee(G) === Et ? zr(t, {
822
+ for (var o = n.mainAxis, s = o === void 0 ? !0 : o, c = n.altAxis, l = c === void 0 ? !0 : c, a = n.fallbackPlacements, p = n.padding, f = n.boundary, y = n.rootBoundary, g = n.altBoundary, h = n.flipVariations, b = h === void 0 ? !0 : h, w = n.allowedAutoPlacements, E = t.options.placement, x = ee(E), S = x === E, R = a || (S || !b ? [at(E)] : Xr(E)), i = [E].concat(R).reduce(function(ne, G) {
823
+ return ne.concat(ee(G) === Et ? Yr(t, {
824
824
  placement: G,
825
825
  boundary: f,
826
826
  rootBoundary: y,
@@ -828,28 +828,28 @@ function Yr(e) {
828
828
  flipVariations: b,
829
829
  allowedAutoPlacements: w
830
830
  }) : G);
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", $ = Be(t, {
831
+ }, []), T = t.rects.reference, d = t.rects.popper, D = /* @__PURE__ */ new Map(), I = !0, _ = i[0], P = 0; P < i.length; P++) {
832
+ var N = i[P], L = ee(N), C = Ce(N) === Se, U = [j, Y].indexOf(L) >= 0, H = U ? "width" : "height", $ = Be(t, {
833
833
  placement: N,
834
834
  boundary: f,
835
835
  rootBoundary: y,
836
836
  altBoundary: g,
837
837
  padding: p
838
- }), k = U ? R ? X : B : R ? Y : V;
839
- x[H] > d[H] && (k = at(k));
838
+ }), k = U ? C ? X : B : C ? Y : j;
839
+ T[H] > d[H] && (k = at(k));
840
840
  var M = at(k), K = [];
841
- if (s && K.push($[P] <= 0), l && K.push($[k] <= 0, $[M] <= 0), K.every(function(ne) {
841
+ if (s && K.push($[L] <= 0), l && K.push($[k] <= 0, $[M] <= 0), K.every(function(ne) {
842
842
  return ne;
843
843
  })) {
844
844
  _ = N, I = !1;
845
845
  break;
846
846
  }
847
- S.set(N, K);
847
+ D.set(N, K);
848
848
  }
849
849
  if (I)
850
850
  for (var Z = b ? 3 : 1, fe = function(G) {
851
851
  var re = i.find(function(be) {
852
- var ie = S.get(be);
852
+ var ie = D.get(be);
853
853
  if (ie)
854
854
  return ie.slice(0, G).every(function(we) {
855
855
  return we;
@@ -865,11 +865,11 @@ function Yr(e) {
865
865
  t.placement !== _ && (t.modifiersData[r]._skip = !0, t.placement = _, t.reset = !0);
866
866
  }
867
867
  }
868
- const Xr = {
868
+ const Kr = {
869
869
  name: "flip",
870
870
  enabled: !0,
871
871
  phase: "main",
872
- fn: Yr,
872
+ fn: Gr,
873
873
  requiresIfExists: ["offset"],
874
874
  data: {
875
875
  _skip: !1
@@ -887,11 +887,11 @@ function $t(e, t, n) {
887
887
  };
888
888
  }
889
889
  function kt(e) {
890
- return [V, X, Y, B].some(function(t) {
890
+ return [j, X, Y, B].some(function(t) {
891
891
  return e[t] >= 0;
892
892
  });
893
893
  }
894
- function Gr(e) {
894
+ function Zr(e) {
895
895
  var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, s = t.modifiersData.preventOverflow, c = Be(t, {
896
896
  elementContext: "reference"
897
897
  }), l = Be(t, {
@@ -907,15 +907,15 @@ function Gr(e) {
907
907
  "data-popper-escaped": y
908
908
  });
909
909
  }
910
- const Kr = {
910
+ const Qr = {
911
911
  name: "hide",
912
912
  enabled: !0,
913
913
  phase: "main",
914
914
  requiresIfExists: ["preventOverflow"],
915
- fn: Gr
915
+ fn: Zr
916
916
  };
917
- function Zr(e, t, n) {
918
- var r = ee(e), o = [B, V].indexOf(r) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
917
+ function Jr(e, t, n) {
918
+ var r = ee(e), o = [B, j].indexOf(r) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
919
919
  placement: e
920
920
  })) : n, c = s[0], l = s[1];
921
921
  return c = c || 0, l = (l || 0) * o, [B, X].indexOf(r) >= 0 ? {
@@ -926,20 +926,20 @@ function Zr(e, t, n) {
926
926
  y: l
927
927
  };
928
928
  }
929
- function Qr(e) {
929
+ function ei(e) {
930
930
  var t = e.state, n = e.options, r = e.name, o = n.offset, s = o === void 0 ? [0, 0] : o, c = ln.reduce(function(f, y) {
931
- return f[y] = Zr(y, t.rects, s), f;
931
+ return f[y] = Jr(y, t.rects, s), f;
932
932
  }, {}), l = c[t.placement], a = l.x, p = l.y;
933
933
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += p), t.modifiersData[r] = c;
934
934
  }
935
- const Jr = {
935
+ const ti = {
936
936
  name: "offset",
937
937
  enabled: !0,
938
938
  phase: "main",
939
939
  requires: ["popperOffsets"],
940
- fn: Qr
940
+ fn: ei
941
941
  };
942
- function ei(e) {
942
+ function ni(e) {
943
943
  var t = e.state, n = e.name;
944
944
  t.modifiersData[n] = yn({
945
945
  reference: t.rects.reference,
@@ -948,72 +948,72 @@ function ei(e) {
948
948
  placement: t.placement
949
949
  });
950
950
  }
951
- const ti = {
951
+ const ri = {
952
952
  name: "popperOffsets",
953
953
  enabled: !0,
954
954
  phase: "read",
955
- fn: ei,
955
+ fn: ni,
956
956
  data: {}
957
957
  };
958
- function ni(e) {
958
+ function ii(e) {
959
959
  return e === "x" ? "y" : "x";
960
960
  }
961
- function ri(e) {
961
+ function oi(e) {
962
962
  var t = e.state, n = e.options, r = e.name, o = n.mainAxis, s = o === void 0 ? !0 : o, c = n.altAxis, l = c === void 0 ? !1 : c, a = n.boundary, p = n.rootBoundary, f = 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
964
  rootBoundary: p,
965
965
  padding: y,
966
966
  altBoundary: f
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, {
967
+ }), x = ee(t.placement), S = Ce(t.placement), R = !S, i = xt(x), T = ii(i), d = t.modifiersData.popperOffsets, D = t.rects.reference, I = t.rects.popper, _ = typeof w == "function" ? w(Object.assign({}, t.rects, {
968
968
  placement: t.placement
969
- })) : w, L = typeof _ == "number" ? {
969
+ })) : w, P = typeof _ == "number" ? {
970
970
  mainAxis: _,
971
971
  altAxis: _
972
972
  } : Object.assign({
973
973
  mainAxis: 0,
974
974
  altAxis: 0
975
- }, _), N = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = {
975
+ }, _), N = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, L = {
976
976
  x: 0,
977
977
  y: 0
978
978
  };
979
979
  if (d) {
980
980
  if (s) {
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, fe = D === De ? S[$] : I[$], Q = D === De ? -I[$] : -S[$], pe = t.elements.arrow, ne = h && pe ? xt(pe) : {
981
+ var C, U = i === "y" ? j : 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, fe = S === Se ? D[$] : I[$], Q = S === Se ? -I[$] : -D[$], pe = t.elements.arrow, ne = h && pe ? Tt(pe) : {
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 = $e(0, S[$], ne[$]), we = C ? S[$] / 2 - Z - ie - re - L.mainAxis : fe - 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;
984
+ }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vn(), re = G[U], be = G[H], ie = $e(0, D[$], ne[$]), we = R ? D[$] / 2 - Z - ie - re - P.mainAxis : fe - ie - re - P.mainAxis, ue = R ? -D[$] / 2 + Z + ie + be + P.mainAxis : Q + ie + be + P.mainAxis, Ee = t.elements.arrow && We(t.elements.arrow), qe = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Pe = (C = N == null ? void 0 : N[i]) != null ? C : 0, Ye = k + we - Pe - qe, Xe = k + ue - Pe, Le = $e(h ? st(M, Ye) : M, k, h ? ge(K, Xe) : K);
985
+ d[i] = Le, L[i] = Le - k;
986
986
  }
987
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
- d[x] = et, P[x] = et - oe;
988
+ var _e, Ge = i === "x" ? j : B, Ke = i === "x" ? Y : X, oe = d[T], ce = T === "y" ? "height" : "width", Ie = oe + E[Ge], de = oe - E[Ke], Ne = [j, B].indexOf(x) !== -1, Ze = (_e = N == null ? void 0 : N[T]) != null ? _e : 0, Qe = Ne ? Ie : oe - D[ce] - I[ce] - Ze + P.altAxis, Je = Ne ? oe + D[ce] + I[ce] - Ze - P.altAxis : de, et = h && Ne ? Cr(Qe, oe, Je) : $e(h ? Qe : Ie, oe, h ? Je : de);
989
+ d[T] = et, L[T] = et - oe;
990
990
  }
991
- t.modifiersData[r] = P;
991
+ t.modifiersData[r] = L;
992
992
  }
993
993
  }
994
- const ii = {
994
+ const ai = {
995
995
  name: "preventOverflow",
996
996
  enabled: !0,
997
997
  phase: "main",
998
- fn: ri,
998
+ fn: oi,
999
999
  requiresIfExists: ["offset"]
1000
1000
  };
1001
- function oi(e) {
1001
+ function si(e) {
1002
1002
  return {
1003
1003
  scrollLeft: e.scrollLeft,
1004
1004
  scrollTop: e.scrollTop
1005
1005
  };
1006
1006
  }
1007
- function ai(e) {
1008
- return e === F(e) || !q(e) ? At(e) : oi(e);
1007
+ function ui(e) {
1008
+ return e === W(e) || !q(e) ? At(e) : si(e);
1009
1009
  }
1010
- function si(e) {
1011
- var t = e.getBoundingClientRect(), n = Se(t.width) / e.offsetWidth || 1, r = Se(t.height) / e.offsetHeight || 1;
1010
+ function ci(e) {
1011
+ var t = e.getBoundingClientRect(), n = De(t.width) / e.offsetWidth || 1, r = De(t.height) / e.offsetHeight || 1;
1012
1012
  return n !== 1 || r !== 1;
1013
1013
  }
1014
- function ui(e, t, n) {
1014
+ function li(e, t, n) {
1015
1015
  n === void 0 && (n = !1);
1016
- var r = q(t), o = q(t) && si(t), s = le(t), c = Ce(e, o, n), l = {
1016
+ var r = q(t), o = q(t) && ci(t), s = le(t), c = Re(e, o, n), l = {
1017
1017
  scrollLeft: 0,
1018
1018
  scrollTop: 0
1019
1019
  }, a = {
@@ -1021,14 +1021,14 @@ 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(s)) && (l = ai(t)), q(t) ? (a = Ce(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : s && (a.x = Dt(s))), {
1024
+ Dt(s)) && (l = ui(t)), q(t) ? (a = Re(t, !0), a.x += t.clientLeft, a.y += t.clientTop) : s && (a.x = St(s))), {
1025
1025
  x: c.left + l.scrollLeft - a.x,
1026
1026
  y: c.top + l.scrollTop - a.y,
1027
1027
  width: c.width,
1028
1028
  height: c.height
1029
1029
  };
1030
1030
  }
1031
- function ci(e) {
1031
+ function fi(e) {
1032
1032
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
1033
1033
  e.forEach(function(s) {
1034
1034
  t.set(s.name, s);
@@ -1047,15 +1047,15 @@ function ci(e) {
1047
1047
  n.has(s.name) || o(s);
1048
1048
  }), r;
1049
1049
  }
1050
- function li(e) {
1051
- var t = ci(e);
1052
- return Or.reduce(function(n, r) {
1050
+ function pi(e) {
1051
+ var t = fi(e);
1052
+ return xr.reduce(function(n, r) {
1053
1053
  return n.concat(t.filter(function(o) {
1054
1054
  return o.phase === r;
1055
1055
  }));
1056
1056
  }, []);
1057
1057
  }
1058
- function fi(e) {
1058
+ function di(e) {
1059
1059
  var t;
1060
1060
  return function() {
1061
1061
  return t || (t = new Promise(function(n) {
@@ -1065,7 +1065,7 @@ function fi(e) {
1065
1065
  })), t;
1066
1066
  };
1067
1067
  }
1068
- function pi(e) {
1068
+ function vi(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, {
@@ -1077,27 +1077,27 @@ function pi(e) {
1077
1077
  return t[n];
1078
1078
  });
1079
1079
  }
1080
- var jt = {
1080
+ var Vt = {
1081
1081
  placement: "bottom",
1082
1082
  modifiers: [],
1083
1083
  strategy: "absolute"
1084
1084
  };
1085
- function Vt() {
1085
+ function jt() {
1086
1086
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1087
1087
  t[n] = arguments[n];
1088
1088
  return !t.some(function(r) {
1089
1089
  return !(r && typeof r.getBoundingClientRect == "function");
1090
1090
  });
1091
1091
  }
1092
- function di(e) {
1092
+ function hi(e) {
1093
1093
  e === void 0 && (e = {});
1094
- var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, s = o === void 0 ? jt : o;
1094
+ var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, s = o === void 0 ? Vt : o;
1095
1095
  return function(l, a, p) {
1096
1096
  p === void 0 && (p = s);
1097
1097
  var f = {
1098
1098
  placement: "bottom",
1099
1099
  orderedModifiers: [],
1100
- options: Object.assign({}, jt, s),
1100
+ options: Object.assign({}, Vt, s),
1101
1101
  modifiersData: {},
1102
1102
  elements: {
1103
1103
  reference: l,
@@ -1107,14 +1107,14 @@ function di(e) {
1107
1107
  styles: {}
1108
1108
  }, y = [], g = !1, h = {
1109
1109
  state: f,
1110
- setOptions: function(T) {
1111
- var D = typeof T == "function" ? T(f.options) : T;
1112
- w(), f.options = Object.assign({}, s, f.options, D), f.scrollParents = {
1110
+ setOptions: function(x) {
1111
+ var S = typeof x == "function" ? x(f.options) : x;
1112
+ w(), f.options = Object.assign({}, s, f.options, S), f.scrollParents = {
1113
1113
  reference: ye(l) ? ke(l) : l.contextElement ? ke(l.contextElement) : [],
1114
1114
  popper: ke(a)
1115
1115
  };
1116
- var C = li(pi([].concat(r, f.options.modifiers)));
1117
- return f.orderedModifiers = C.filter(function(i) {
1116
+ var R = pi(vi([].concat(r, f.options.modifiers)));
1117
+ return f.orderedModifiers = R.filter(function(i) {
1118
1118
  return i.enabled;
1119
1119
  }), b(), h.update();
1120
1120
  },
@@ -1125,20 +1125,20 @@ function di(e) {
1125
1125
  // prefer the async Popper#update method
1126
1126
  forceUpdate: function() {
1127
1127
  if (!g) {
1128
- var T = f.elements, D = T.reference, C = T.popper;
1129
- if (Vt(D, C)) {
1128
+ var x = f.elements, S = x.reference, R = x.popper;
1129
+ if (jt(S, R)) {
1130
1130
  f.rects = {
1131
- reference: ui(D, Fe(C), f.options.strategy === "fixed"),
1132
- popper: xt(C)
1133
- }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(L) {
1134
- return f.modifiersData[L.name] = Object.assign({}, L.data);
1131
+ reference: li(S, We(R), f.options.strategy === "fixed"),
1132
+ popper: Tt(R)
1133
+ }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(P) {
1134
+ return f.modifiersData[P.name] = Object.assign({}, P.data);
1135
1135
  });
1136
1136
  for (var i = 0; i < f.orderedModifiers.length; i++) {
1137
1137
  if (f.reset === !0) {
1138
1138
  f.reset = !1, i = -1;
1139
1139
  continue;
1140
1140
  }
1141
- var x = f.orderedModifiers[i], d = x.fn, S = x.options, I = S === void 0 ? {} : S, _ = x.name;
1141
+ var T = f.orderedModifiers[i], d = T.fn, D = T.options, I = D === void 0 ? {} : D, _ = T.name;
1142
1142
  typeof d == "function" && (f = d({
1143
1143
  state: f,
1144
1144
  options: I,
@@ -1151,7 +1151,7 @@ function di(e) {
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: fi(function() {
1154
+ update: di(function() {
1155
1155
  return new Promise(function(E) {
1156
1156
  h.forceUpdate(), E(f);
1157
1157
  });
@@ -1160,23 +1160,23 @@ function di(e) {
1160
1160
  w(), g = !0;
1161
1161
  }
1162
1162
  };
1163
- if (!Vt(l, a))
1163
+ if (!jt(l, a))
1164
1164
  return h;
1165
1165
  h.setOptions(p).then(function(E) {
1166
1166
  !g && p.onFirstUpdate && p.onFirstUpdate(E);
1167
1167
  });
1168
1168
  function b() {
1169
1169
  f.orderedModifiers.forEach(function(E) {
1170
- var T = E.name, D = E.options, C = D === void 0 ? {} : D, i = E.effect;
1170
+ var x = E.name, S = E.options, R = S === void 0 ? {} : S, i = E.effect;
1171
1171
  if (typeof i == "function") {
1172
- var x = i({
1172
+ var T = i({
1173
1173
  state: f,
1174
- name: T,
1174
+ name: x,
1175
1175
  instance: h,
1176
- options: C
1176
+ options: R
1177
1177
  }), d = function() {
1178
1178
  };
1179
- y.push(x || d);
1179
+ y.push(T || d);
1180
1180
  }
1181
1181
  });
1182
1182
  }
@@ -1188,15 +1188,15 @@ function di(e) {
1188
1188
  return h;
1189
1189
  };
1190
1190
  }
1191
- var vi = [kr, ti, Mr, fn, Jr, Xr, ii, Pr, Kr], hi = /* @__PURE__ */ di({
1192
- defaultModifiers: vi
1193
- }), mi = "tippy-box", bn = "tippy-content", gi = "tippy-backdrop", wn = "tippy-arrow", En = "tippy-svg-arrow", me = {
1191
+ var mi = [jr, ri, kr, fn, ti, Kr, ai, Ir, Qr], gi = /* @__PURE__ */ hi({
1192
+ defaultModifiers: mi
1193
+ }), yi = "tippy-box", bn = "tippy-content", bi = "tippy-backdrop", wn = "tippy-arrow", En = "tippy-svg-arrow", me = {
1194
1194
  passive: !0,
1195
1195
  capture: !0
1196
1196
  }, On = function() {
1197
1197
  return document.body;
1198
1198
  };
1199
- function yi(e, t) {
1199
+ function wi(e, t) {
1200
1200
  return {}.hasOwnProperty.call(e, t);
1201
1201
  }
1202
1202
  function pt(e, t, n) {
@@ -1206,11 +1206,11 @@ function pt(e, t, n) {
1206
1206
  }
1207
1207
  return e;
1208
1208
  }
1209
- function Ct(e, t) {
1209
+ function Rt(e, t) {
1210
1210
  var n = {}.toString.call(e);
1211
1211
  return n.indexOf("[object") === 0 && n.indexOf(t + "]") > -1;
1212
1212
  }
1213
- function xn(e, t) {
1213
+ function Tn(e, t) {
1214
1214
  return typeof e == "function" ? e.apply(void 0, t) : e;
1215
1215
  }
1216
1216
  function Bt(e, t) {
@@ -1223,13 +1223,13 @@ function Bt(e, t) {
1223
1223
  }, t);
1224
1224
  };
1225
1225
  }
1226
- function bi(e, t) {
1226
+ function Ei(e, t) {
1227
1227
  var n = Object.assign({}, e);
1228
1228
  return t.forEach(function(r) {
1229
1229
  delete n[r];
1230
1230
  }), n;
1231
1231
  }
1232
- function wi(e) {
1232
+ function Oi(e) {
1233
1233
  return e.split(/\s+/).filter(Boolean);
1234
1234
  }
1235
1235
  function Ae(e) {
@@ -1238,12 +1238,12 @@ function Ae(e) {
1238
1238
  function Ut(e, t) {
1239
1239
  e.indexOf(t) === -1 && e.push(t);
1240
1240
  }
1241
- function Ei(e) {
1241
+ function Ti(e) {
1242
1242
  return e.filter(function(t, n) {
1243
1243
  return e.indexOf(t) === n;
1244
1244
  });
1245
1245
  }
1246
- function Oi(e) {
1246
+ function xi(e) {
1247
1247
  return e.split("-")[0];
1248
1248
  }
1249
1249
  function ut(e) {
@@ -1254,48 +1254,48 @@ function Ht(e) {
1254
1254
  return e[n] !== void 0 && (t[n] = e[n]), t;
1255
1255
  }, {});
1256
1256
  }
1257
- function je() {
1257
+ function Ve() {
1258
1258
  return document.createElement("div");
1259
1259
  }
1260
1260
  function Ue(e) {
1261
1261
  return ["Element", "Fragment"].some(function(t) {
1262
- return Ct(e, t);
1262
+ return Rt(e, t);
1263
1263
  });
1264
1264
  }
1265
- function xi(e) {
1266
- return Ct(e, "NodeList");
1265
+ function Ai(e) {
1266
+ return Rt(e, "NodeList");
1267
1267
  }
1268
- function Ti(e) {
1269
- return Ct(e, "MouseEvent");
1268
+ function Si(e) {
1269
+ return Rt(e, "MouseEvent");
1270
1270
  }
1271
- function Ai(e) {
1271
+ function Di(e) {
1272
1272
  return !!(e && e._tippy && e._tippy.reference === e);
1273
1273
  }
1274
- function Di(e) {
1275
- return Ue(e) ? [e] : xi(e) ? ut(e) : Array.isArray(e) ? e : ut(document.querySelectorAll(e));
1274
+ function Ri(e) {
1275
+ return Ue(e) ? [e] : Ai(e) ? ut(e) : Array.isArray(e) ? e : ut(document.querySelectorAll(e));
1276
1276
  }
1277
1277
  function dt(e, t) {
1278
1278
  e.forEach(function(n) {
1279
1279
  n && (n.style.transitionDuration = t + "ms");
1280
1280
  });
1281
1281
  }
1282
- function Wt(e, t) {
1282
+ function Ft(e, t) {
1283
1283
  e.forEach(function(n) {
1284
1284
  n && n.setAttribute("data-state", t);
1285
1285
  });
1286
1286
  }
1287
- function Si(e) {
1287
+ function Ci(e) {
1288
1288
  var t, n = Ae(e), r = n[0];
1289
1289
  return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
1290
1290
  }
1291
- function Ci(e, t) {
1291
+ function Pi(e, t) {
1292
1292
  var n = t.clientX, r = t.clientY;
1293
1293
  return e.every(function(o) {
1294
- var s = o.popperRect, c = o.popperState, l = o.props, a = l.interactiveBorder, p = Oi(c.placement), f = c.modifiersData.offset;
1294
+ var s = o.popperRect, c = o.popperState, l = o.props, a = l.interactiveBorder, p = xi(c.placement), f = c.modifiersData.offset;
1295
1295
  if (!f)
1296
1296
  return !0;
1297
- var y = p === "bottom" ? f.top.y : 0, g = p === "top" ? f.bottom.y : 0, h = p === "right" ? f.left.x : 0, b = p === "left" ? f.right.x : 0, w = s.top - r + y > a, E = r - s.bottom - g > a, T = s.left - n + h > a, D = n - s.right - b > a;
1298
- return w || E || T || D;
1297
+ var y = p === "bottom" ? f.top.y : 0, g = p === "top" ? f.bottom.y : 0, h = p === "right" ? f.left.x : 0, b = p === "left" ? f.right.x : 0, w = s.top - r + y > a, E = r - s.bottom - g > a, x = s.left - n + h > a, S = n - s.right - b > a;
1298
+ return w || E || x || S;
1299
1299
  });
1300
1300
  }
1301
1301
  function vt(e, t, n) {
@@ -1304,7 +1304,7 @@ function vt(e, t, n) {
1304
1304
  e[r](o, n);
1305
1305
  });
1306
1306
  }
1307
- function Ft(e, t) {
1307
+ function Wt(e, t) {
1308
1308
  for (var n = t; n; ) {
1309
1309
  var r;
1310
1310
  if (e.contains(n))
@@ -1316,28 +1316,28 @@ function Ft(e, t) {
1316
1316
  var J = {
1317
1317
  isTouch: !1
1318
1318
  }, zt = 0;
1319
- function Ri() {
1320
- J.isTouch || (J.isTouch = !0, window.performance && document.addEventListener("mousemove", Tn));
1319
+ function Li() {
1320
+ J.isTouch || (J.isTouch = !0, window.performance && document.addEventListener("mousemove", xn));
1321
1321
  }
1322
- function Tn() {
1322
+ function xn() {
1323
1323
  var e = performance.now();
1324
- e - zt < 20 && (J.isTouch = !1, document.removeEventListener("mousemove", Tn)), zt = e;
1324
+ e - zt < 20 && (J.isTouch = !1, document.removeEventListener("mousemove", xn)), zt = e;
1325
1325
  }
1326
- function Li() {
1326
+ function _i() {
1327
1327
  var e = document.activeElement;
1328
- if (Ai(e)) {
1328
+ if (Di(e)) {
1329
1329
  var t = e._tippy;
1330
1330
  e.blur && !t.state.isVisible && e.blur();
1331
1331
  }
1332
1332
  }
1333
- function Pi() {
1334
- document.addEventListener("touchstart", Ri, me), window.addEventListener("blur", Li);
1333
+ function Ii() {
1334
+ document.addEventListener("touchstart", Li, me), window.addEventListener("blur", _i);
1335
1335
  }
1336
- var _i = typeof window < "u" && typeof document < "u", Ii = _i ? (
1336
+ var Ni = typeof window < "u" && typeof document < "u", Mi = Ni ? (
1337
1337
  // @ts-ignore
1338
1338
  !!window.msCrypto
1339
1339
  ) : !1;
1340
- function Te(e) {
1340
+ function xe(e) {
1341
1341
  var t = e === "destroy" ? "n already-" : " ";
1342
1342
  return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
1343
1343
  }
@@ -1345,7 +1345,7 @@ function qt(e) {
1345
1345
  var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
1346
1346
  return e.replace(t, " ").replace(n, "").trim();
1347
1347
  }
1348
- function Ni(e) {
1348
+ function $i(e) {
1349
1349
  return qt(`
1350
1350
  %ctippy.js
1351
1351
 
@@ -1356,7 +1356,7 @@ function Ni(e) {
1356
1356
  }
1357
1357
  function An(e) {
1358
1358
  return [
1359
- Ni(e),
1359
+ $i(e),
1360
1360
  // title
1361
1361
  "color: #00C584; font-size: 1.3em; font-weight: bold;",
1362
1362
  // message
@@ -1366,8 +1366,8 @@ function An(e) {
1366
1366
  ];
1367
1367
  }
1368
1368
  var He;
1369
- process.env.NODE_ENV !== "production" && Mi();
1370
- function Mi() {
1369
+ process.env.NODE_ENV !== "production" && ki();
1370
+ function ki() {
1371
1371
  He = /* @__PURE__ */ new Set();
1372
1372
  }
1373
1373
  function ae(e, t) {
@@ -1382,16 +1382,16 @@ function yt(e, t) {
1382
1382
  He.add(t), (n = console).error.apply(n, An(t));
1383
1383
  }
1384
1384
  }
1385
- function $i(e) {
1385
+ function Vi(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
  }
1389
- var Dn = {
1389
+ var Sn = {
1390
1390
  animateFill: !1,
1391
1391
  followCursor: !1,
1392
1392
  inlinePositioning: !1,
1393
1393
  sticky: !1
1394
- }, ki = {
1394
+ }, ji = {
1395
1395
  allowHTML: !1,
1396
1396
  animation: "fade",
1397
1397
  arrow: !0,
@@ -1401,7 +1401,7 @@ var Dn = {
1401
1401
  role: "tooltip",
1402
1402
  theme: "",
1403
1403
  zIndex: 9999
1404
- }, W = Object.assign({
1404
+ }, F = Object.assign({
1405
1405
  appendTo: On,
1406
1406
  aria: {
1407
1407
  content: "auto",
@@ -1449,28 +1449,28 @@ var Dn = {
1449
1449
  touch: !0,
1450
1450
  trigger: "mouseenter focus",
1451
1451
  triggerTarget: null
1452
- }, Dn, ki), ji = Object.keys(W), Vi = function(t) {
1453
- process.env.NODE_ENV !== "production" && Cn(t, []);
1452
+ }, Sn, ji), Bi = Object.keys(F), Ui = function(t) {
1453
+ process.env.NODE_ENV !== "production" && Rn(t, []);
1454
1454
  var n = Object.keys(t);
1455
1455
  n.forEach(function(r) {
1456
- W[r] = t[r];
1456
+ F[r] = t[r];
1457
1457
  });
1458
1458
  };
1459
- function Sn(e) {
1459
+ function Dn(e) {
1460
1460
  var t = e.plugins || [], n = t.reduce(function(r, o) {
1461
1461
  var s = o.name, c = o.defaultValue;
1462
1462
  if (s) {
1463
1463
  var l;
1464
- r[s] = e[s] !== void 0 ? e[s] : (l = W[s]) != null ? l : c;
1464
+ r[s] = e[s] !== void 0 ? e[s] : (l = F[s]) != null ? l : c;
1465
1465
  }
1466
1466
  return r;
1467
1467
  }, {});
1468
1468
  return Object.assign({}, e, n);
1469
1469
  }
1470
- function Bi(e, t) {
1471
- var n = t ? Object.keys(Sn(Object.assign({}, W, {
1470
+ function Hi(e, t) {
1471
+ var n = t ? Object.keys(Dn(Object.assign({}, F, {
1472
1472
  plugins: t
1473
- }))) : ji, r = n.reduce(function(o, s) {
1473
+ }))) : Bi, r = n.reduce(function(o, s) {
1474
1474
  var c = (e.getAttribute("data-tippy-" + s) || "").trim();
1475
1475
  if (!c)
1476
1476
  return o;
@@ -1488,18 +1488,18 @@ function Bi(e, t) {
1488
1488
  }
1489
1489
  function Yt(e, t) {
1490
1490
  var n = Object.assign({}, t, {
1491
- content: xn(t.content, [e])
1492
- }, t.ignoreAttributes ? {} : Bi(e, t.plugins));
1493
- return n.aria = Object.assign({}, W.aria, n.aria), n.aria = {
1491
+ content: Tn(t.content, [e])
1492
+ }, t.ignoreAttributes ? {} : Hi(e, t.plugins));
1493
+ return n.aria = Object.assign({}, F.aria, n.aria), n.aria = {
1494
1494
  expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
1495
1495
  content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
1496
1496
  }, n;
1497
1497
  }
1498
- function Cn(e, t) {
1498
+ function Rn(e, t) {
1499
1499
  e === void 0 && (e = {}), t === void 0 && (t = []);
1500
1500
  var n = Object.keys(e);
1501
1501
  n.forEach(function(r) {
1502
- var o = bi(W, Object.keys(Dn)), s = !yi(o, r);
1502
+ var o = Ei(F, Object.keys(Sn)), s = !wi(o, r);
1503
1503
  s && (s = t.filter(function(c) {
1504
1504
  return c.name === r;
1505
1505
  }).length === 0), ae(s, ["`" + 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.", `
@@ -1508,14 +1508,14 @@ function Cn(e, t) {
1508
1508
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
1509
1509
  });
1510
1510
  }
1511
- var Ui = function() {
1511
+ var Fi = function() {
1512
1512
  return "innerHTML";
1513
1513
  };
1514
1514
  function bt(e, t) {
1515
- e[Ui()] = t;
1515
+ e[Fi()] = t;
1516
1516
  }
1517
1517
  function Xt(e) {
1518
- var t = je();
1518
+ var t = Ve();
1519
1519
  return e === !0 ? t.className = wn : (t.className = En, Ue(e) ? t.appendChild(e) : bt(t, e)), t;
1520
1520
  }
1521
1521
  function Gt(e, t) {
@@ -1532,14 +1532,14 @@ function wt(e) {
1532
1532
  return r.classList.contains(wn) || r.classList.contains(En);
1533
1533
  }),
1534
1534
  backdrop: n.find(function(r) {
1535
- return r.classList.contains(gi);
1535
+ return r.classList.contains(bi);
1536
1536
  })
1537
1537
  };
1538
1538
  }
1539
- function Rn(e) {
1540
- var t = je(), n = je();
1541
- n.className = mi, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1542
- var r = je();
1539
+ function Cn(e) {
1540
+ var t = Ve(), n = Ve();
1541
+ n.className = yi, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
1542
+ var r = Ve();
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(s, c) {
1545
1545
  var l = wt(t), a = l.box, p = l.content, f = l.arrow;
@@ -1550,10 +1550,10 @@ function Rn(e) {
1550
1550
  onUpdate: o
1551
1551
  };
1552
1552
  }
1553
- Rn.$$tippy = !0;
1554
- var Hi = 1, it = [], ht = [];
1555
- function Wi(e, t) {
1556
- var n = Yt(e, Object.assign({}, W, Sn(Ht(t)))), r, o, s, c = !1, l = !1, a = !1, p = !1, f, y, g, h = [], b = Bt(Ye, n.interactiveDebounce), w, E = Hi++, T = null, D = Ei(n.plugins), C = {
1553
+ Cn.$$tippy = !0;
1554
+ var Wi = 1, it = [], ht = [];
1555
+ function zi(e, t) {
1556
+ var n = Yt(e, Object.assign({}, F, Dn(Ht(t)))), r, o, s, c = !1, l = !1, a = !1, p = !1, f, y, g, h = [], b = Bt(Ye, n.interactiveDebounce), w, E = Wi++, x = null, S = Ti(n.plugins), R = {
1557
1557
  // Is the instance currently enabled?
1558
1558
  isEnabled: !0,
1559
1559
  // Is the tippy currently showing and not transitioning out?
@@ -1568,28 +1568,28 @@ function Wi(e, t) {
1568
1568
  // properties
1569
1569
  id: E,
1570
1570
  reference: e,
1571
- popper: je(),
1572
- popperInstance: T,
1571
+ popper: Ve(),
1572
+ popperInstance: x,
1573
1573
  props: n,
1574
- state: C,
1575
- plugins: D,
1574
+ state: R,
1575
+ plugins: S,
1576
1576
  // methods
1577
1577
  clearDelayTimeouts: Qe,
1578
1578
  setProps: Je,
1579
1579
  setContent: et,
1580
- show: Ln,
1581
- hide: Pn,
1582
- hideWithInteractivity: _n,
1580
+ show: _n,
1581
+ hide: In,
1582
+ hideWithInteractivity: Nn,
1583
1583
  enable: Ne,
1584
1584
  disable: Ze,
1585
- unmount: In,
1586
- destroy: Nn
1585
+ unmount: Mn,
1586
+ destroy: $n
1587
1587
  };
1588
1588
  if (!n.render)
1589
1589
  return process.env.NODE_ENV !== "production" && yt(!0, "render() function has not been supplied."), i;
1590
- var x = n.render(i), d = x.popper, S = x.onUpdate;
1590
+ var T = n.render(i), d = T.popper, D = T.onUpdate;
1591
1591
  d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
1592
- var I = D.map(function(u) {
1592
+ var I = S.map(function(u) {
1593
1593
  return u.fn(i);
1594
1594
  }), _ = e.hasAttribute("aria-expanded");
1595
1595
  return Ee(), Z(), k(), M("onCreate", [i]), n.showOnCreate && Ie(), d.addEventListener("mouseenter", function() {
@@ -1597,29 +1597,29 @@ function Wi(e, t) {
1597
1597
  }), d.addEventListener("mouseleave", function() {
1598
1598
  i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", b);
1599
1599
  }), i;
1600
- function L() {
1600
+ function P() {
1601
1601
  var u = i.props.touch;
1602
1602
  return Array.isArray(u) ? u : [u, 0];
1603
1603
  }
1604
1604
  function N() {
1605
- return L()[0] === "hold";
1605
+ return P()[0] === "hold";
1606
1606
  }
1607
- function P() {
1607
+ function L() {
1608
1608
  var u;
1609
1609
  return !!((u = i.props.render) != null && u.$$tippy);
1610
1610
  }
1611
- function R() {
1611
+ function C() {
1612
1612
  return w || e;
1613
1613
  }
1614
1614
  function U() {
1615
- var u = R().parentNode;
1616
- return u ? Si(u) : document;
1615
+ var u = C().parentNode;
1616
+ return u ? Ci(u) : document;
1617
1617
  }
1618
1618
  function H() {
1619
1619
  return wt(d);
1620
1620
  }
1621
1621
  function $(u) {
1622
- return i.state.isMounted && !i.state.isVisible || J.isTouch || f && f.type === "focus" ? 0 : pt(i.props.delay, u ? 0 : 1, W.delay);
1622
+ return i.state.isMounted && !i.state.isVisible || J.isTouch || f && f.type === "focus" ? 0 : pt(i.props.delay, u ? 0 : 1, F.delay);
1623
1623
  }
1624
1624
  function k(u) {
1625
1625
  u === void 0 && (u = !1), d.style.pointerEvents = i.props.interactive && !u ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
@@ -1637,11 +1637,11 @@ function Wi(e, t) {
1637
1637
  if (u.content) {
1638
1638
  var v = "aria-" + u.content, m = d.id, A = Ae(i.props.triggerTarget || e);
1639
1639
  A.forEach(function(O) {
1640
- var j = O.getAttribute(v);
1640
+ var V = O.getAttribute(v);
1641
1641
  if (i.state.isVisible)
1642
- O.setAttribute(v, j ? j + " " + m : m);
1642
+ O.setAttribute(v, V ? V + " " + m : m);
1643
1643
  else {
1644
- var z = j && j.replace(m, "").trim();
1644
+ var z = V && V.replace(m, "").trim();
1645
1645
  z ? O.setAttribute(v, z) : O.removeAttribute(v);
1646
1646
  }
1647
1647
  });
@@ -1651,7 +1651,7 @@ function Wi(e, t) {
1651
1651
  if (!(_ || !i.props.aria.expanded)) {
1652
1652
  var u = Ae(i.props.triggerTarget || e);
1653
1653
  u.forEach(function(v) {
1654
- i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === R() ? "true" : "false") : v.removeAttribute("aria-expanded");
1654
+ i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === C() ? "true" : "false") : v.removeAttribute("aria-expanded");
1655
1655
  });
1656
1656
  }
1657
1657
  }
@@ -1663,9 +1663,9 @@ function Wi(e, t) {
1663
1663
  function Q(u) {
1664
1664
  if (!(J.isTouch && (a || u.type === "mousedown"))) {
1665
1665
  var v = u.composedPath && u.composedPath()[0] || u.target;
1666
- if (!(i.props.interactive && Ft(d, v))) {
1666
+ if (!(i.props.interactive && Wt(d, v))) {
1667
1667
  if (Ae(i.props.triggerTarget || e).some(function(m) {
1668
- return Ft(m, v);
1668
+ return Wt(m, v);
1669
1669
  })) {
1670
1670
  if (J.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1671
1671
  return;
@@ -1721,21 +1721,21 @@ function Wi(e, t) {
1721
1721
  });
1722
1722
  }
1723
1723
  function Ee() {
1724
- N() && (ue("touchstart", Le, {
1724
+ N() && (ue("touchstart", Pe, {
1725
1725
  passive: !0
1726
1726
  }), ue("touchend", Xe, {
1727
1727
  passive: !0
1728
- })), wi(i.props.trigger).forEach(function(u) {
1728
+ })), Oi(i.props.trigger).forEach(function(u) {
1729
1729
  if (u !== "manual")
1730
- switch (ue(u, Le), u) {
1730
+ switch (ue(u, Pe), u) {
1731
1731
  case "mouseenter":
1732
1732
  ue("mouseleave", Xe);
1733
1733
  break;
1734
1734
  case "focus":
1735
- ue(Ii ? "focusout" : "blur", Pe);
1735
+ ue(Mi ? "focusout" : "blur", Le);
1736
1736
  break;
1737
1737
  case "focusin":
1738
- ue("focusout", Pe);
1738
+ ue("focusout", Le);
1739
1739
  break;
1740
1740
  }
1741
1741
  });
@@ -1746,27 +1746,27 @@ function Wi(e, t) {
1746
1746
  v.removeEventListener(m, A, O);
1747
1747
  }), h = [];
1748
1748
  }
1749
- function Le(u) {
1749
+ function Pe(u) {
1750
1750
  var v, m = !1;
1751
1751
  if (!(!i.state.isEnabled || _e(u) || l)) {
1752
1752
  var A = ((v = f) == null ? void 0 : v.type) === "focus";
1753
- f = u, w = u.currentTarget, Z(), !i.state.isVisible && Ti(u) && it.forEach(function(O) {
1753
+ f = u, w = u.currentTarget, Z(), !i.state.isVisible && Si(u) && it.forEach(function(O) {
1754
1754
  return O(u);
1755
1755
  }), u.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? m = !0 : Ie(u), u.type === "click" && (c = !m), m && !A && de(u);
1756
1756
  }
1757
1757
  }
1758
1758
  function Ye(u) {
1759
- var v = u.target, m = R().contains(v) || d.contains(v);
1759
+ var v = u.target, m = C().contains(v) || d.contains(v);
1760
1760
  if (!(u.type === "mousemove" && m)) {
1761
1761
  var A = ce().concat(d).map(function(O) {
1762
- var j, z = O._tippy, Oe = (j = z.popperInstance) == null ? void 0 : j.state;
1762
+ var V, z = O._tippy, Oe = (V = z.popperInstance) == null ? void 0 : V.state;
1763
1763
  return Oe ? {
1764
1764
  popperRect: O.getBoundingClientRect(),
1765
1765
  popperState: Oe,
1766
1766
  props: n
1767
1767
  } : null;
1768
1768
  }).filter(Boolean);
1769
- Ci(A, u) && (fe(), de(u));
1769
+ Pi(A, u) && (fe(), de(u));
1770
1770
  }
1771
1771
  }
1772
1772
  function Xe(u) {
@@ -1779,29 +1779,29 @@ function Wi(e, t) {
1779
1779
  de(u);
1780
1780
  }
1781
1781
  }
1782
- function Pe(u) {
1783
- i.props.trigger.indexOf("focusin") < 0 && u.target !== R() || i.props.interactive && u.relatedTarget && d.contains(u.relatedTarget) || de(u);
1782
+ function Le(u) {
1783
+ i.props.trigger.indexOf("focusin") < 0 && u.target !== C() || i.props.interactive && u.relatedTarget && d.contains(u.relatedTarget) || de(u);
1784
1784
  }
1785
1785
  function _e(u) {
1786
1786
  return J.isTouch ? N() !== u.type.indexOf("touch") >= 0 : !1;
1787
1787
  }
1788
1788
  function Ge() {
1789
1789
  Ke();
1790
- var u = i.props, v = u.popperOptions, m = u.placement, A = u.offset, O = u.getReferenceClientRect, j = u.moveTransition, z = P() ? wt(d).arrow : null, Oe = O ? {
1790
+ var u = i.props, v = u.popperOptions, m = u.placement, A = u.offset, O = u.getReferenceClientRect, V = u.moveTransition, z = L() ? wt(d).arrow : null, Oe = O ? {
1791
1791
  getBoundingClientRect: O,
1792
- contextElement: O.contextElement || R()
1793
- } : e, Rt = {
1792
+ contextElement: O.contextElement || C()
1793
+ } : e, Ct = {
1794
1794
  name: "$$tippy",
1795
1795
  enabled: !0,
1796
1796
  phase: "beforeWrite",
1797
1797
  requires: ["computeStyles"],
1798
1798
  fn: function(tt) {
1799
- var xe = tt.state;
1800
- if (P()) {
1801
- var Mn = H(), ft = Mn.box;
1799
+ var Te = tt.state;
1800
+ if (L()) {
1801
+ var kn = H(), ft = kn.box;
1802
1802
  ["placement", "reference-hidden", "escaped"].forEach(function(nt) {
1803
- nt === "placement" ? ft.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + nt] ? ft.setAttribute("data-" + nt, "") : ft.removeAttribute("data-" + nt);
1804
- }), xe.attributes.popper = {};
1803
+ nt === "placement" ? ft.setAttribute("data-placement", Te.placement) : Te.attributes.popper["data-popper-" + nt] ? ft.setAttribute("data-" + nt, "") : ft.removeAttribute("data-" + nt);
1804
+ }), Te.attributes.popper = {};
1805
1805
  }
1806
1806
  }
1807
1807
  }, ve = [{
@@ -1827,16 +1827,16 @@ function Wi(e, t) {
1827
1827
  }, {
1828
1828
  name: "computeStyles",
1829
1829
  options: {
1830
- adaptive: !j
1830
+ adaptive: !V
1831
1831
  }
1832
- }, Rt];
1833
- P() && z && ve.push({
1832
+ }, Ct];
1833
+ L() && z && ve.push({
1834
1834
  name: "arrow",
1835
1835
  options: {
1836
1836
  element: z,
1837
1837
  padding: 3
1838
1838
  }
1839
- }), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = hi(Oe, d, Object.assign({}, v, {
1839
+ }), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = gi(Oe, d, Object.assign({}, v, {
1840
1840
  placement: m,
1841
1841
  onFirstUpdate: g,
1842
1842
  modifiers: ve
@@ -1846,8 +1846,8 @@ function Wi(e, t) {
1846
1846
  i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1847
1847
  }
1848
1848
  function oe() {
1849
- var u = i.props.appendTo, v, m = R();
1850
- i.props.interactive && u === On || u === "parent" ? v = m.parentNode : v = xn(u, [m]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ge(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && u === W.appendTo && m.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1849
+ var u = i.props.appendTo, v, m = C();
1850
+ i.props.interactive && u === On || u === "parent" ? v = m.parentNode : v = Tn(u, [m]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ge(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && u === F.appendTo && m.nextElementSibling !== d, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1851
1851
 
1852
1852
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
1853
1853
 
@@ -1860,7 +1860,7 @@ function Wi(e, t) {
1860
1860
  }
1861
1861
  function Ie(u) {
1862
1862
  i.clearDelayTimeouts(), u && M("onTrigger", [i, u]), G();
1863
- var v = $(!0), m = L(), A = m[0], O = m[1];
1863
+ var v = $(!0), m = P(), 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();
@@ -1889,14 +1889,14 @@ function Wi(e, t) {
1889
1889
  clearTimeout(r), clearTimeout(o), cancelAnimationFrame(s);
1890
1890
  }
1891
1891
  function Je(u) {
1892
- if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("setProps")), !i.state.isDestroyed) {
1892
+ if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("setProps")), !i.state.isDestroyed) {
1893
1893
  M("onBeforeUpdate", [i, u]), qe();
1894
1894
  var v = i.props, m = Yt(e, Object.assign({}, v, Ht(u), {
1895
1895
  ignoreAttributes: !0
1896
1896
  }));
1897
1897
  i.props = m, Ee(), v.interactiveDebounce !== m.interactiveDebounce && (fe(), 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(), k(), S && S(v, m), i.popperInstance && (Ge(), ce().forEach(function(A) {
1899
+ }) : m.triggerTarget && e.removeAttribute("aria-expanded"), Z(), k(), D && D(v, m), i.popperInstance && (Ge(), ce().forEach(function(A) {
1900
1900
  requestAnimationFrame(A._tippy.popperInstance.forceUpdate);
1901
1901
  })), M("onAfterUpdate", [i, u]);
1902
1902
  }
@@ -1906,60 +1906,60 @@ function Wi(e, t) {
1906
1906
  content: u
1907
1907
  });
1908
1908
  }
1909
- function Ln() {
1910
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("show"));
1911
- var u = 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 (!(u || 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
- var j = H(), z = j.box, Oe = j.content;
1909
+ function _n() {
1910
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("show"));
1911
+ var u = i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = J.isTouch && !i.props.touch, O = pt(i.props.duration, 0, F.duration);
1912
+ if (!(u || v || m || A) && !C().hasAttribute("disabled") && (M("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1913
+ if (i.state.isVisible = !0, L() && (d.style.visibility = "visible"), k(), G(), i.state.isMounted || (d.style.transition = "none"), L()) {
1914
+ var V = H(), z = V.box, Oe = V.content;
1915
1915
  dt([z, Oe], 0);
1916
1916
  }
1917
1917
  g = function() {
1918
1918
  var ve;
1919
1919
  if (!(!i.state.isVisible || p)) {
1920
- if (p = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, P() && i.props.animation) {
1921
- var lt = H(), tt = lt.box, xe = lt.content;
1922
- dt([tt, xe], O), Wt([tt, xe], "visible");
1920
+ if (p = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, L() && i.props.animation) {
1921
+ var lt = H(), tt = lt.box, Te = lt.content;
1922
+ dt([tt, Te], O), Ft([tt, Te], "visible");
1923
1923
  }
1924
- K(), Z(), Ut(ht, i), (ve = i.popperInstance) == null || ve.forceUpdate(), M("onMount", [i]), i.props.animation && P() && ie(O, function() {
1924
+ K(), Z(), Ut(ht, i), (ve = i.popperInstance) == null || ve.forceUpdate(), M("onMount", [i]), i.props.animation && L() && ie(O, function() {
1925
1925
  i.state.isShown = !0, M("onShown", [i]);
1926
1926
  });
1927
1927
  }
1928
1928
  }, oe();
1929
1929
  }
1930
1930
  }
1931
- function Pn() {
1932
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hide"));
1933
- var u = !i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = pt(i.props.duration, 1, W.duration);
1931
+ function In() {
1932
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("hide"));
1933
+ var u = !i.state.isVisible, v = i.state.isDestroyed, m = !i.state.isEnabled, A = pt(i.props.duration, 1, F.duration);
1934
1934
  if (!(u || v || m) && (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"), fe(), re(), k(!0), P()) {
1936
- var O = H(), j = O.box, z = O.content;
1937
- i.props.animation && (dt([j, z], A), Wt([j, z], "hidden"));
1935
+ if (i.state.isVisible = !1, i.state.isShown = !1, p = !1, c = !1, L() && (d.style.visibility = "hidden"), fe(), re(), k(!0), L()) {
1936
+ var O = H(), V = O.box, z = O.content;
1937
+ i.props.animation && (dt([V, z], A), Ft([V, z], "hidden"));
1938
1938
  }
1939
- K(), Z(), i.props.animation ? P() && be(A, i.unmount) : i.unmount();
1939
+ K(), Z(), i.props.animation ? L() && be(A, i.unmount) : i.unmount();
1940
1940
  }
1941
1941
  }
1942
- function _n(u) {
1943
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hideWithInteractivity")), U().addEventListener("mousemove", b), Ut(it, b), b(u);
1942
+ function Nn(u) {
1943
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("hideWithInteractivity")), U().addEventListener("mousemove", b), Ut(it, b), b(u);
1944
1944
  }
1945
- function In() {
1946
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ce().forEach(function(u) {
1945
+ function Mn() {
1946
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ce().forEach(function(u) {
1947
1947
  u._tippy.unmount();
1948
1948
  }), d.parentNode && d.parentNode.removeChild(d), ht = ht.filter(function(u) {
1949
1949
  return u !== i;
1950
1950
  }), i.state.isMounted = !1, M("onHidden", [i]));
1951
1951
  }
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, M("onDestroy", [i]));
1952
+ function $n() {
1953
+ process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, xe("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
- var n = W.plugins.concat(t.plugins || []);
1959
- process.env.NODE_ENV !== "production" && ($i(e), Cn(t, n)), Pi();
1958
+ var n = F.plugins.concat(t.plugins || []);
1959
+ process.env.NODE_ENV !== "production" && (Vi(e), Rn(t, n)), Ii();
1960
1960
  var r = Object.assign({}, t, {
1961
1961
  plugins: n
1962
- }), o = Di(e);
1962
+ }), o = Ri(e);
1963
1963
  if (process.env.NODE_ENV !== "production") {
1964
1964
  var s = Ue(r.content), c = o.length > 1;
1965
1965
  ae(s && c, ["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.", `
@@ -1970,13 +1970,13 @@ function ze(e, t) {
1970
1970
  `, "2) content: () => element.cloneNode(true)"].join(" "));
1971
1971
  }
1972
1972
  var l = o.reduce(function(a, p) {
1973
- var f = p && Wi(p, r);
1973
+ var f = p && zi(p, r);
1974
1974
  return f && a.push(f), a;
1975
1975
  }, []);
1976
1976
  return Ue(e) ? l[0] : l;
1977
1977
  }
1978
- ze.defaultProps = W;
1979
- ze.setDefaultProps = Vi;
1978
+ ze.defaultProps = F;
1979
+ ze.setDefaultProps = Ui;
1980
1980
  ze.currentInput = J;
1981
1981
  Object.assign({}, fn, {
1982
1982
  effect: function(t) {
@@ -1995,7 +1995,7 @@ Object.assign({}, fn, {
1995
1995
  Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
1996
1996
  }
1997
1997
  });
1998
- var Fi = {
1998
+ var qi = {
1999
1999
  name: "sticky",
2000
2000
  defaultValue: !1,
2001
2001
  fn: function(t) {
@@ -2022,15 +2022,15 @@ function Kt(e, t) {
2022
2022
  return e && t ? e.top !== t.top || e.right !== t.right || e.bottom !== t.bottom || e.left !== t.left : !0;
2023
2023
  }
2024
2024
  ze.setDefaultProps({
2025
- render: Rn
2025
+ render: Cn
2026
2026
  });
2027
- const zi = (e) => ({
2027
+ const Yi = (e) => ({
2028
2028
  name: "arrowDetected",
2029
2029
  enabled: !0,
2030
2030
  phase: "main",
2031
2031
  fn: e,
2032
2032
  requiresIfExists: ["offset"]
2033
- }), qi = [
2033
+ }), Pn = [
2034
2034
  "bottom",
2035
2035
  "bottom-start",
2036
2036
  "bottom-end",
@@ -2043,11 +2043,11 @@ const zi = (e) => ({
2043
2043
  "top",
2044
2044
  "top-start",
2045
2045
  "top-end"
2046
- ], Yi = [!0, !1, "reference", "popper"], Xi = (e, t) => {
2046
+ ], Ln = [!0, !1, "reference", "popper"], Xi = (e, t) => {
2047
2047
  const { contentElement: n } = { ...t };
2048
2048
  return delete t.contentElement, ze(e, {
2049
2049
  ...t,
2050
- plugins: [Fi],
2050
+ plugins: [qi],
2051
2051
  render: () => Qi(n)
2052
2052
  });
2053
2053
  }, Gi = ({
@@ -2079,7 +2079,7 @@ const zi = (e) => ({
2079
2079
  tether: o
2080
2080
  }
2081
2081
  },
2082
- zi(({ state: s }) => {
2082
+ Yi(({ state: s }) => {
2083
2083
  n(s.placement);
2084
2084
  })
2085
2085
  ]
@@ -2094,19 +2094,33 @@ const zi = (e) => ({
2094
2094
  return t.className = "tippy-box d-ps-absolute", t.appendChild(e), {
2095
2095
  popper: t
2096
2096
  };
2097
- }, Ji = [
2098
- ...qi
2099
- ], eo = 300, to = {
2097
+ }, ho = {
2098
+ none: void 0,
2099
+ small: "d-p4",
2100
+ medium: "d-p8",
2101
+ large: "d-p16"
2102
+ }, mo = {
2103
+ none: void 0,
2104
+ small: "d-pl4",
2105
+ medium: "d-pl8",
2106
+ large: "d-pl16"
2107
+ }, go = ["dialog", "menu", "listbox", "tree", "grid"], yo = ["", "anchor"], bo = ["none", "dialog", "first"], Ji = ["parent", "body"], wo = [
2108
+ ...Ln
2109
+ ], Eo = [
2110
+ ...Pn
2111
+ ], eo = [
2112
+ ...Pn
2113
+ ], to = 300, no = {
2100
2114
  hover: "d-tooltip--hover",
2101
2115
  show: "d-tooltip--show",
2102
2116
  inverted: "d-tooltip--inverted",
2103
2117
  hide: "d-tooltip--hide"
2104
- }, no = [
2105
- ...Yi
2106
- ], vo = [!0, !1, "toggle"], ro = {
2118
+ }, ro = [
2119
+ ...Ln
2120
+ ], Oo = [!0, !1, "toggle"], io = {
2107
2121
  name: "DtTooltip",
2108
2122
  components: {
2109
- DtLazyShow: lr
2123
+ DtLazyShow: pr
2110
2124
  },
2111
2125
  props: {
2112
2126
  /**
@@ -2177,7 +2191,7 @@ const zi = (e) => ({
2177
2191
  type: String,
2178
2192
  default: "top",
2179
2193
  validator(e) {
2180
- return Ji.includes(e);
2194
+ return eo.includes(e);
2181
2195
  }
2182
2196
  },
2183
2197
  /**
@@ -2198,7 +2212,18 @@ const zi = (e) => ({
2198
2212
  sticky: {
2199
2213
  type: [Boolean, String],
2200
2214
  default: !1,
2201
- validator: (e) => no.includes(e)
2215
+ validator: (e) => ro.includes(e)
2216
+ },
2217
+ /**
2218
+ * Sets the element to which the tooltip is going to append to.
2219
+ * 'body' will append to the nearest body (supports shadow DOM).
2220
+ * This prop is not reactive, must be set on initial render.
2221
+ * @values 'body', 'parent', HTMLElement,
2222
+ */
2223
+ appendTo: {
2224
+ type: [HTMLElement, String],
2225
+ default: "body",
2226
+ validator: (e) => Ji.includes(e) || e instanceof HTMLElement
2202
2227
  },
2203
2228
  /**
2204
2229
  * Additional css classes for the tooltip content element.
@@ -2277,7 +2302,7 @@ const zi = (e) => ({
2277
2302
  ],
2278
2303
  data() {
2279
2304
  return {
2280
- TOOLTIP_KIND_MODIFIERS: to,
2305
+ TOOLTIP_KIND_MODIFIERS: no,
2281
2306
  tip: null,
2282
2307
  inTimer: null,
2283
2308
  // Internal state for whether the tooltip is shown. Changing the prop
@@ -2366,7 +2391,7 @@ const zi = (e) => ({
2366
2391
  onEnterAnchor(e) {
2367
2392
  this.isTouchDevice && !e.relatedTarget || (this.delay ? this.inTimer = setTimeout((function(t) {
2368
2393
  this.triggerShow(t);
2369
- }).bind(this, e), eo) : this.triggerShow(e), this.isTouchDevice = !1);
2394
+ }).bind(this, e), to) : this.triggerShow(e), this.isTouchDevice = !1);
2370
2395
  },
2371
2396
  triggerShow(e) {
2372
2397
  e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
@@ -2397,9 +2422,11 @@ const zi = (e) => ({
2397
2422
  this.setProps();
2398
2423
  },
2399
2424
  initOptions() {
2425
+ var e, t;
2400
2426
  return {
2401
2427
  contentElement: this.$refs.content.$el,
2402
2428
  allowHTML: !0,
2429
+ appendTo: this.appendTo === "body" ? (t = (e = this.anchor) == null ? void 0 : e.getRootNode()) == null ? void 0 : t.querySelector("body") : this.appendTo,
2403
2430
  zIndex: this.calculateAnchorZindex(),
2404
2431
  onMount: this.onMount,
2405
2432
  ...this.tippyProps
@@ -2424,7 +2451,7 @@ const zi = (e) => ({
2424
2451
  }
2425
2452
  }
2426
2453
  };
2427
- var io = function() {
2454
+ var oo = function() {
2428
2455
  var t = this, n = t._self._c;
2429
2456
  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) {
2430
2457
  return !r.type.indexOf("key") && t._k(r.keyCode, "esc", 27, r.key, ["Esc", "Escape"]) ? null : t.onLeaveAnchor.apply(null, arguments);
@@ -2438,46 +2465,52 @@ var io = function() {
2438
2465
  ], 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() {
2439
2466
  return [t._v(" " + t._s(t.message) + " ")];
2440
2467
  })], 2)], 1);
2441
- }, oo = [], ao = /* @__PURE__ */ un(
2442
- ro,
2468
+ }, ao = [], so = /* @__PURE__ */ un(
2443
2469
  io,
2444
2470
  oo,
2471
+ ao,
2445
2472
  !1,
2446
2473
  null,
2447
2474
  null,
2448
2475
  null,
2449
2476
  null
2450
2477
  );
2451
- const ho = ao.exports;
2478
+ const To = so.exports;
2452
2479
  export {
2453
- qi as B,
2454
- ho as D,
2455
- fo as E,
2456
- lo as L,
2457
- Yi as T,
2480
+ Eo as A,
2481
+ no as B,
2482
+ ro as C,
2483
+ To as D,
2484
+ po as E,
2485
+ Oo as F,
2486
+ fo as L,
2487
+ go as P,
2488
+ to as T,
2458
2489
  he as V,
2459
2490
  Jt as a,
2460
- Wn as b,
2461
- uo as c,
2462
- Un as d,
2463
- lr as e,
2464
- Fn as f,
2491
+ zn as b,
2492
+ co as c,
2493
+ Fn as d,
2494
+ pr as e,
2495
+ qn as f,
2465
2496
  Zt as g,
2466
- Gi as h,
2467
- Gn as i,
2468
- Xi as j,
2469
- eo as k,
2470
- an as l,
2471
- er as m,
2497
+ ho as h,
2498
+ yo as i,
2499
+ wo as j,
2500
+ bo as k,
2501
+ Ji as l,
2502
+ mo as m,
2472
2503
  un as n,
2473
- Ji as o,
2474
- co as p,
2475
- or as q,
2476
- kn as r,
2477
- ir as s,
2504
+ Zn as o,
2505
+ Gi as p,
2506
+ Xi as q,
2507
+ an as r,
2508
+ nr as s,
2478
2509
  ze as t,
2479
- po as u,
2480
- to as v,
2481
- no as w,
2482
- vo as x
2510
+ vo as u,
2511
+ eo as v,
2512
+ lo as w,
2513
+ ar as x,
2514
+ sr as y,
2515
+ jn as z
2483
2516
  };