@dialpad/dialtone-vue 2.102.1 → 2.103.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.
- package/CHANGELOG.json +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.cjs +6 -6
- package/dist/dialtone-vue.js +1989 -1687
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +24 -52
- package/dist/style.css +1 -1
- package/dist/{tooltip-dc246ca8.js → tooltip-92c086de.js} +365 -336
- package/dist/tooltip-9b93ec5a.cjs +25 -0
- package/dist/types/common/dates.d.ts +49 -0
- package/dist/types/common/dates.d.ts.map +1 -0
- package/dist/types/common/utils.d.ts +8 -0
- package/dist/types/common/utils.d.ts.map +1 -1
- package/dist/types/components/button/button.vue.d.ts +2 -1
- package/dist/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts +23 -1
- package/dist/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/types/components/tooltip/tooltip_variants.vue.d.ts +0 -1
- package/dist/types/directives/tooltip/tooltip.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts +10 -1
- package/dist/types/recipes/conversation_view/feed_pill/feed_item_pill.vue.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/tooltip-6726b38f.cjs +0 -25
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Un from "vue";
|
|
2
2
|
import { n as nn } from "./_plugin-vue2_normalizer-71e2aa87.js";
|
|
3
3
|
const ge = {
|
|
4
4
|
ERROR: "error",
|
|
5
5
|
WARNING: "warning",
|
|
6
6
|
SUCCESS: "success"
|
|
7
|
-
},
|
|
7
|
+
}, yo = {
|
|
8
8
|
LARGE: "lg",
|
|
9
9
|
EXTRA_LARGE: "xl"
|
|
10
|
-
},
|
|
10
|
+
}, bo = {
|
|
11
11
|
xs: "",
|
|
12
12
|
sm: "",
|
|
13
13
|
md: "",
|
|
14
14
|
lg: "d-description--lg",
|
|
15
15
|
xl: "d-description--xl"
|
|
16
|
-
},
|
|
16
|
+
}, wo = {
|
|
17
17
|
xs: "d-label--xs",
|
|
18
18
|
sm: "d-label--sm",
|
|
19
19
|
md: "",
|
|
20
20
|
lg: "d-label--lg",
|
|
21
21
|
xl: "d-label--xl"
|
|
22
|
-
},
|
|
22
|
+
}, Eo = {
|
|
23
23
|
esc: "Esc",
|
|
24
24
|
escape: "Escape",
|
|
25
25
|
tab: "Tab",
|
|
@@ -36,10 +36,10 @@ const ge = {
|
|
|
36
36
|
arrowdown: "ArrowDown",
|
|
37
37
|
home: "Home",
|
|
38
38
|
end: "End"
|
|
39
|
-
}, Fn = ge.ERROR,
|
|
39
|
+
}, Fn = ge.ERROR, Hn = "dt";
|
|
40
40
|
let Wn = 0, Nt;
|
|
41
41
|
const qn = typeof setImmediate == "function" ? setImmediate : setTimeout;
|
|
42
|
-
function rn(e =
|
|
42
|
+
function rn(e = Hn) {
|
|
43
43
|
return `${e}${Wn++}`;
|
|
44
44
|
}
|
|
45
45
|
function zn(e, t) {
|
|
@@ -79,7 +79,7 @@ const Kn = {
|
|
|
79
79
|
functional: !0,
|
|
80
80
|
props: ["html"],
|
|
81
81
|
render(e, t) {
|
|
82
|
-
return new
|
|
82
|
+
return new Un({
|
|
83
83
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
84
84
|
name: "Inner",
|
|
85
85
|
beforeCreate() {
|
|
@@ -90,7 +90,7 @@ const Kn = {
|
|
|
90
90
|
}
|
|
91
91
|
}, Zn = () => new Promise((e) => {
|
|
92
92
|
qn(e);
|
|
93
|
-
}), Jn = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""),
|
|
93
|
+
}), Jn = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), Oo = (e) => e.replace(/\.?([A-Z0-9]+)/g, (t, n) => "-" + n.toLowerCase()).replace(/^-/, "");
|
|
94
94
|
function Qn(e, t = 300) {
|
|
95
95
|
clearTimeout(Nt), Nt = setTimeout(e, t);
|
|
96
96
|
}
|
|
@@ -163,7 +163,10 @@ function ur(e) {
|
|
|
163
163
|
function cr(e) {
|
|
164
164
|
return e.filter((t) => !!t).join(" ");
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
function pr(e, t = "en-US") {
|
|
167
|
+
return e.replace(/^\p{CWU}/u, (n) => n.toLocaleUpperCase(t));
|
|
168
|
+
}
|
|
169
|
+
const xo = {
|
|
167
170
|
getUniqueString: rn,
|
|
168
171
|
getRandomElement: zn,
|
|
169
172
|
getRandomInt: on,
|
|
@@ -181,8 +184,9 @@ const Oo = {
|
|
|
181
184
|
isEmailAddress: ur,
|
|
182
185
|
isPhoneNumber: ar,
|
|
183
186
|
isURL: sr,
|
|
184
|
-
safeConcatStrings: cr
|
|
185
|
-
|
|
187
|
+
safeConcatStrings: cr,
|
|
188
|
+
capitalizeFirstLetter: pr
|
|
189
|
+
}, lr = {
|
|
186
190
|
name: "DtLazyShow",
|
|
187
191
|
/******************
|
|
188
192
|
* PROPS *
|
|
@@ -240,25 +244,25 @@ const Oo = {
|
|
|
240
244
|
}
|
|
241
245
|
}
|
|
242
246
|
};
|
|
243
|
-
var
|
|
247
|
+
var fr = function() {
|
|
244
248
|
var t = this, n = t._self._c;
|
|
245
249
|
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)]);
|
|
246
|
-
},
|
|
247
|
-
pr,
|
|
250
|
+
}, dr = [], vr = /* @__PURE__ */ nn(
|
|
248
251
|
lr,
|
|
249
252
|
fr,
|
|
253
|
+
dr,
|
|
250
254
|
!1,
|
|
251
255
|
null,
|
|
252
256
|
null,
|
|
253
257
|
null,
|
|
254
258
|
null
|
|
255
259
|
);
|
|
256
|
-
const
|
|
257
|
-
var $ = "top", Y = "bottom", X = "right", B = "left", lt = "auto", qe = [$, Y, X, B], Re = "start",
|
|
258
|
-
return e.concat([t + "-" + Re, t + "-" +
|
|
260
|
+
const hr = vr.exports;
|
|
261
|
+
var $ = "top", Y = "bottom", X = "right", B = "left", lt = "auto", qe = [$, Y, X, B], Re = "start", Ue = "end", mr = "clippingParents", vn = "viewport", ke = "popper", gr = "reference", _t = /* @__PURE__ */ qe.reduce(function(e, t) {
|
|
262
|
+
return e.concat([t + "-" + Re, t + "-" + Ue]);
|
|
259
263
|
}, []), hn = /* @__PURE__ */ [].concat(qe, [lt]).reduce(function(e, t) {
|
|
260
|
-
return e.concat([t, t + "-" + Re, t + "-" +
|
|
261
|
-
}, []),
|
|
264
|
+
return e.concat([t, t + "-" + Re, t + "-" + Ue]);
|
|
265
|
+
}, []), yr = "beforeRead", br = "read", wr = "afterRead", Er = "beforeMain", Or = "main", xr = "afterMain", Ar = "beforeWrite", Tr = "write", Sr = "afterWrite", bt = [yr, br, wr, Er, Or, xr, Ar, Tr, Sr];
|
|
262
266
|
function ne(e) {
|
|
263
267
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
264
268
|
}
|
|
@@ -279,13 +283,13 @@ function W(e) {
|
|
|
279
283
|
var t = q(e).HTMLElement;
|
|
280
284
|
return e instanceof t || e instanceof HTMLElement;
|
|
281
285
|
}
|
|
282
|
-
function
|
|
286
|
+
function Tt(e) {
|
|
283
287
|
if (typeof ShadowRoot > "u")
|
|
284
288
|
return !1;
|
|
285
289
|
var t = q(e).ShadowRoot;
|
|
286
290
|
return e instanceof t || e instanceof ShadowRoot;
|
|
287
291
|
}
|
|
288
|
-
function
|
|
292
|
+
function Dr(e) {
|
|
289
293
|
var t = e.state;
|
|
290
294
|
Object.keys(t.elements).forEach(function(n) {
|
|
291
295
|
var r = t.styles[n] || {}, o = t.attributes[n] || {}, s = t.elements[n];
|
|
@@ -295,7 +299,7 @@ function Sr(e) {
|
|
|
295
299
|
}));
|
|
296
300
|
});
|
|
297
301
|
}
|
|
298
|
-
function
|
|
302
|
+
function Rr(e) {
|
|
299
303
|
var t = e.state, n = {
|
|
300
304
|
popper: {
|
|
301
305
|
position: t.options.strategy,
|
|
@@ -323,8 +327,8 @@ const mn = {
|
|
|
323
327
|
name: "applyStyles",
|
|
324
328
|
enabled: !0,
|
|
325
329
|
phase: "write",
|
|
326
|
-
fn:
|
|
327
|
-
effect:
|
|
330
|
+
fn: Dr,
|
|
331
|
+
effect: Rr,
|
|
328
332
|
requires: ["computeStyles"]
|
|
329
333
|
};
|
|
330
334
|
function K(e) {
|
|
@@ -340,7 +344,7 @@ function wt() {
|
|
|
340
344
|
function gn() {
|
|
341
345
|
return !/^((?!chrome|android).)*safari/i.test(wt());
|
|
342
346
|
}
|
|
343
|
-
function
|
|
347
|
+
function Le(e, t, n) {
|
|
344
348
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
345
349
|
var r = e.getBoundingClientRect(), o = 1, s = 1;
|
|
346
350
|
t && W(e) && (o = e.offsetWidth > 0 && Ce(r.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && Ce(r.height) / e.offsetHeight || 1);
|
|
@@ -357,7 +361,7 @@ function Pe(e, t, n) {
|
|
|
357
361
|
};
|
|
358
362
|
}
|
|
359
363
|
function St(e) {
|
|
360
|
-
var t =
|
|
364
|
+
var t = Le(e), n = e.offsetWidth, r = e.offsetHeight;
|
|
361
365
|
return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
|
|
362
366
|
x: e.offsetLeft,
|
|
363
367
|
y: e.offsetTop,
|
|
@@ -369,7 +373,7 @@ function yn(e, t) {
|
|
|
369
373
|
var n = t.getRootNode && t.getRootNode();
|
|
370
374
|
if (e.contains(t))
|
|
371
375
|
return !0;
|
|
372
|
-
if (n &&
|
|
376
|
+
if (n && Tt(n)) {
|
|
373
377
|
var r = t;
|
|
374
378
|
do {
|
|
375
379
|
if (r && e.isSameNode(r))
|
|
@@ -382,7 +386,7 @@ function yn(e, t) {
|
|
|
382
386
|
function Z(e) {
|
|
383
387
|
return q(e).getComputedStyle(e);
|
|
384
388
|
}
|
|
385
|
-
function
|
|
389
|
+
function Cr(e) {
|
|
386
390
|
return ["table", "td", "th"].indexOf(ne(e)) >= 0;
|
|
387
391
|
}
|
|
388
392
|
function le(e) {
|
|
@@ -398,7 +402,7 @@ function ft(e) {
|
|
|
398
402
|
// $FlowFixMe[prop-missing]
|
|
399
403
|
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
400
404
|
e.parentNode || // DOM Element detected
|
|
401
|
-
(
|
|
405
|
+
(Tt(e) ? e.host : null) || // ShadowRoot detected
|
|
402
406
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
403
407
|
le(e)
|
|
404
408
|
);
|
|
@@ -407,7 +411,7 @@ function Mt(e) {
|
|
|
407
411
|
return !W(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
408
412
|
Z(e).position === "fixed" ? null : e.offsetParent;
|
|
409
413
|
}
|
|
410
|
-
function
|
|
414
|
+
function Lr(e) {
|
|
411
415
|
var t = /firefox/i.test(wt()), n = /Trident/i.test(wt());
|
|
412
416
|
if (n && W(e)) {
|
|
413
417
|
var r = Z(e);
|
|
@@ -415,7 +419,7 @@ function Cr(e) {
|
|
|
415
419
|
return null;
|
|
416
420
|
}
|
|
417
421
|
var o = ft(e);
|
|
418
|
-
for (
|
|
422
|
+
for (Tt(o) && (o = o.host); W(o) && ["html", "body"].indexOf(ne(o)) < 0; ) {
|
|
419
423
|
var s = Z(o);
|
|
420
424
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
421
425
|
return o;
|
|
@@ -424,9 +428,9 @@ function Cr(e) {
|
|
|
424
428
|
return null;
|
|
425
429
|
}
|
|
426
430
|
function ze(e) {
|
|
427
|
-
for (var t = q(e), n = Mt(e); n &&
|
|
431
|
+
for (var t = q(e), n = Mt(e); n && Cr(n) && Z(n).position === "static"; )
|
|
428
432
|
n = Mt(n);
|
|
429
|
-
return n && (ne(n) === "html" || ne(n) === "body" && Z(n).position === "static") ? t : n ||
|
|
433
|
+
return n && (ne(n) === "html" || ne(n) === "body" && Z(n).position === "static") ? t : n || Lr(e) || t;
|
|
430
434
|
}
|
|
431
435
|
function Dt(e) {
|
|
432
436
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -454,19 +458,19 @@ function En(e, t) {
|
|
|
454
458
|
return n[r] = e, n;
|
|
455
459
|
}, {});
|
|
456
460
|
}
|
|
457
|
-
var
|
|
461
|
+
var Ir = function(t, n) {
|
|
458
462
|
return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
|
|
459
463
|
placement: n.placement
|
|
460
464
|
})) : t, wn(typeof t != "number" ? t : En(t, qe));
|
|
461
465
|
};
|
|
462
|
-
function
|
|
466
|
+
function Nr(e) {
|
|
463
467
|
var t, n = e.state, r = e.name, o = e.options, s = n.elements.arrow, c = n.modifiersData.popperOffsets, p = K(n.placement), u = Dt(p), f = [B, X].indexOf(p) >= 0, l = f ? "height" : "width";
|
|
464
468
|
if (!(!s || !c)) {
|
|
465
|
-
var g =
|
|
469
|
+
var g = Ir(o.padding, n), x = St(s), m = u === "y" ? $ : B, w = u === "y" ? Y : X, y = n.rects.reference[l] + n.rects.reference[u] - c[u] - n.rects.popper[l], b = c[u] - n.rects.reference[u], T = ze(s), R = T ? u === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, L = y / 2 - b / 2, i = g[m], E = R - x[l] - g[w], d = R / 2 - x[l] / 2 + L, D = Ve(i, d, E), N = u;
|
|
466
470
|
n.modifiersData[r] = (t = {}, t[N] = D, t.centerOffset = D - d, t);
|
|
467
471
|
}
|
|
468
472
|
}
|
|
469
|
-
function
|
|
473
|
+
function _r(e) {
|
|
470
474
|
var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
|
|
471
475
|
if (o != null && !(typeof o == "string" && (o = t.elements.popper.querySelector(o), !o))) {
|
|
472
476
|
if (process.env.NODE_ENV !== "production" && (W(o) || console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', "To use an SVG arrow, wrap it in an HTMLElement that will be used as", "the arrow."].join(" "))), !yn(t.elements.popper, o)) {
|
|
@@ -476,25 +480,25 @@ function Nr(e) {
|
|
|
476
480
|
t.elements.arrow = o;
|
|
477
481
|
}
|
|
478
482
|
}
|
|
479
|
-
const
|
|
483
|
+
const Mr = {
|
|
480
484
|
name: "arrow",
|
|
481
485
|
enabled: !0,
|
|
482
486
|
phase: "main",
|
|
483
|
-
fn:
|
|
484
|
-
effect:
|
|
487
|
+
fn: Nr,
|
|
488
|
+
effect: _r,
|
|
485
489
|
requires: ["popperOffsets"],
|
|
486
490
|
requiresIfExists: ["preventOverflow"]
|
|
487
491
|
};
|
|
488
|
-
function
|
|
492
|
+
function Pe(e) {
|
|
489
493
|
return e.split("-")[1];
|
|
490
494
|
}
|
|
491
|
-
var
|
|
495
|
+
var jr = {
|
|
492
496
|
top: "auto",
|
|
493
497
|
right: "auto",
|
|
494
498
|
bottom: "auto",
|
|
495
499
|
left: "auto"
|
|
496
500
|
};
|
|
497
|
-
function
|
|
501
|
+
function kr(e, t) {
|
|
498
502
|
var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
|
|
499
503
|
return {
|
|
500
504
|
x: Ce(n * o) / o || 0,
|
|
@@ -510,10 +514,10 @@ function jt(e) {
|
|
|
510
514
|
y
|
|
511
515
|
};
|
|
512
516
|
m = b.x, y = b.y;
|
|
513
|
-
var
|
|
517
|
+
var T = c.hasOwnProperty("x"), R = c.hasOwnProperty("y"), L = B, i = $, E = window;
|
|
514
518
|
if (f) {
|
|
515
519
|
var d = ze(n), D = "clientHeight", N = "clientWidth";
|
|
516
|
-
if (d === q(n) && (d = le(n), Z(d).position !== "static" && p === "absolute" && (D = "scrollHeight", N = "scrollWidth")), d = d, o === $ || (o === B || o === X) && s ===
|
|
520
|
+
if (d === q(n) && (d = le(n), Z(d).position !== "static" && p === "absolute" && (D = "scrollHeight", N = "scrollWidth")), d = d, o === $ || (o === B || o === X) && s === Ue) {
|
|
517
521
|
i = Y;
|
|
518
522
|
var _ = g && d === E && E.visualViewport ? E.visualViewport.height : (
|
|
519
523
|
// $FlowFixMe[prop-missing]
|
|
@@ -521,18 +525,18 @@ function jt(e) {
|
|
|
521
525
|
);
|
|
522
526
|
y -= _ - r.height, y *= u ? 1 : -1;
|
|
523
527
|
}
|
|
524
|
-
if (o === B || (o === $ || o === Y) && s ===
|
|
525
|
-
|
|
526
|
-
var
|
|
528
|
+
if (o === B || (o === $ || o === Y) && s === Ue) {
|
|
529
|
+
L = X;
|
|
530
|
+
var P = g && d === E && E.visualViewport ? E.visualViewport.width : (
|
|
527
531
|
// $FlowFixMe[prop-missing]
|
|
528
532
|
d[N]
|
|
529
533
|
);
|
|
530
|
-
m -=
|
|
534
|
+
m -= P - r.width, m *= u ? 1 : -1;
|
|
531
535
|
}
|
|
532
536
|
}
|
|
533
|
-
var
|
|
537
|
+
var A = Object.assign({
|
|
534
538
|
position: p
|
|
535
|
-
}, f &&
|
|
539
|
+
}, f && jr), C = l === !0 ? kr({
|
|
536
540
|
x: m,
|
|
537
541
|
y
|
|
538
542
|
}, q(n)) : {
|
|
@@ -541,11 +545,11 @@ function jt(e) {
|
|
|
541
545
|
};
|
|
542
546
|
if (m = C.x, y = C.y, u) {
|
|
543
547
|
var I;
|
|
544
|
-
return Object.assign({},
|
|
548
|
+
return Object.assign({}, A, (I = {}, I[i] = R ? "0" : "", I[L] = T ? "0" : "", I.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + y + "px)" : "translate3d(" + m + "px, " + y + "px, 0)", I));
|
|
545
549
|
}
|
|
546
|
-
return Object.assign({},
|
|
550
|
+
return Object.assign({}, A, (t = {}, t[i] = R ? y + "px" : "", t[L] = T ? m + "px" : "", t.transform = "", t));
|
|
547
551
|
}
|
|
548
|
-
function
|
|
552
|
+
function Vr(e) {
|
|
549
553
|
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, p = n.roundOffsets, u = p === void 0 ? !0 : p;
|
|
550
554
|
if (process.env.NODE_ENV !== "production") {
|
|
551
555
|
var f = Z(t.elements.popper).transitionProperty || "";
|
|
@@ -559,7 +563,7 @@ function kr(e) {
|
|
|
559
563
|
}
|
|
560
564
|
var l = {
|
|
561
565
|
placement: K(t.placement),
|
|
562
|
-
variation:
|
|
566
|
+
variation: Pe(t.placement),
|
|
563
567
|
popper: t.elements.popper,
|
|
564
568
|
popperRect: t.rects.popper,
|
|
565
569
|
gpuAcceleration: o,
|
|
@@ -579,17 +583,17 @@ function kr(e) {
|
|
|
579
583
|
"data-popper-placement": t.placement
|
|
580
584
|
});
|
|
581
585
|
}
|
|
582
|
-
const
|
|
586
|
+
const $r = {
|
|
583
587
|
name: "computeStyles",
|
|
584
588
|
enabled: !0,
|
|
585
589
|
phase: "beforeWrite",
|
|
586
|
-
fn:
|
|
590
|
+
fn: Vr,
|
|
587
591
|
data: {}
|
|
588
592
|
};
|
|
589
593
|
var ot = {
|
|
590
594
|
passive: !0
|
|
591
595
|
};
|
|
592
|
-
function
|
|
596
|
+
function Br(e) {
|
|
593
597
|
var t = e.state, n = e.instance, r = e.options, o = r.scroll, s = o === void 0 ? !0 : o, c = r.resize, p = c === void 0 ? !0 : c, u = q(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
594
598
|
return s && f.forEach(function(l) {
|
|
595
599
|
l.addEventListener("scroll", n.update, ot);
|
|
@@ -599,16 +603,16 @@ function $r(e) {
|
|
|
599
603
|
}), p && u.removeEventListener("resize", n.update, ot);
|
|
600
604
|
};
|
|
601
605
|
}
|
|
602
|
-
const
|
|
606
|
+
const Ur = {
|
|
603
607
|
name: "eventListeners",
|
|
604
608
|
enabled: !0,
|
|
605
609
|
phase: "write",
|
|
606
610
|
fn: function() {
|
|
607
611
|
},
|
|
608
|
-
effect:
|
|
612
|
+
effect: Br,
|
|
609
613
|
data: {}
|
|
610
614
|
};
|
|
611
|
-
var
|
|
615
|
+
var Fr = {
|
|
612
616
|
left: "right",
|
|
613
617
|
right: "left",
|
|
614
618
|
bottom: "top",
|
|
@@ -616,16 +620,16 @@ var Hr = {
|
|
|
616
620
|
};
|
|
617
621
|
function ut(e) {
|
|
618
622
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
619
|
-
return
|
|
623
|
+
return Fr[t];
|
|
620
624
|
});
|
|
621
625
|
}
|
|
622
|
-
var
|
|
626
|
+
var Hr = {
|
|
623
627
|
start: "end",
|
|
624
628
|
end: "start"
|
|
625
629
|
};
|
|
626
630
|
function kt(e) {
|
|
627
631
|
return e.replace(/start|end/g, function(t) {
|
|
628
|
-
return
|
|
632
|
+
return Hr[t];
|
|
629
633
|
});
|
|
630
634
|
}
|
|
631
635
|
function Rt(e) {
|
|
@@ -636,9 +640,9 @@ function Rt(e) {
|
|
|
636
640
|
};
|
|
637
641
|
}
|
|
638
642
|
function Ct(e) {
|
|
639
|
-
return
|
|
643
|
+
return Le(le(e)).left + Rt(e).scrollLeft;
|
|
640
644
|
}
|
|
641
|
-
function
|
|
645
|
+
function Wr(e, t) {
|
|
642
646
|
var n = q(e), r = le(e), o = n.visualViewport, s = r.clientWidth, c = r.clientHeight, p = 0, u = 0;
|
|
643
647
|
if (o) {
|
|
644
648
|
s = o.width, c = o.height;
|
|
@@ -652,7 +656,7 @@ function Ur(e, t) {
|
|
|
652
656
|
y: u
|
|
653
657
|
};
|
|
654
658
|
}
|
|
655
|
-
function
|
|
659
|
+
function qr(e) {
|
|
656
660
|
var t, n = le(e), r = Rt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, s = be(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), c = be(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), p = -r.scrollLeft + Ct(e), u = -r.scrollTop;
|
|
657
661
|
return Z(o || n).direction === "rtl" && (p += be(n.clientWidth, o ? o.clientWidth : 0) - s), {
|
|
658
662
|
width: s,
|
|
@@ -661,17 +665,17 @@ function Wr(e) {
|
|
|
661
665
|
y: u
|
|
662
666
|
};
|
|
663
667
|
}
|
|
664
|
-
function
|
|
668
|
+
function Lt(e) {
|
|
665
669
|
var t = Z(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
|
|
666
670
|
return /auto|scroll|overlay|hidden/.test(n + o + r);
|
|
667
671
|
}
|
|
668
672
|
function On(e) {
|
|
669
|
-
return ["html", "body", "#document"].indexOf(ne(e)) >= 0 ? e.ownerDocument.body : W(e) &&
|
|
673
|
+
return ["html", "body", "#document"].indexOf(ne(e)) >= 0 ? e.ownerDocument.body : W(e) && Lt(e) ? e : On(ft(e));
|
|
670
674
|
}
|
|
671
675
|
function $e(e, t) {
|
|
672
676
|
var n;
|
|
673
677
|
t === void 0 && (t = []);
|
|
674
|
-
var r = On(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), s = q(r), c = o ? [s].concat(s.visualViewport || [],
|
|
678
|
+
var r = On(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), s = q(r), c = o ? [s].concat(s.visualViewport || [], Lt(r) ? r : []) : r, p = t.concat(c);
|
|
675
679
|
return o ? p : (
|
|
676
680
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
677
681
|
p.concat($e(ft(c)))
|
|
@@ -685,28 +689,28 @@ function Et(e) {
|
|
|
685
689
|
bottom: e.y + e.height
|
|
686
690
|
});
|
|
687
691
|
}
|
|
688
|
-
function
|
|
689
|
-
var n =
|
|
692
|
+
function zr(e, t) {
|
|
693
|
+
var n = Le(e, !1, t === "fixed");
|
|
690
694
|
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;
|
|
691
695
|
}
|
|
692
696
|
function Vt(e, t, n) {
|
|
693
|
-
return t === vn ? Et(
|
|
697
|
+
return t === vn ? Et(Wr(e, n)) : we(t) ? zr(t, n) : Et(qr(le(e)));
|
|
694
698
|
}
|
|
695
|
-
function
|
|
699
|
+
function Yr(e) {
|
|
696
700
|
var t = $e(ft(e)), n = ["absolute", "fixed"].indexOf(Z(e).position) >= 0, r = n && W(e) ? ze(e) : e;
|
|
697
701
|
return we(r) ? t.filter(function(o) {
|
|
698
702
|
return we(o) && yn(o, r) && ne(o) !== "body";
|
|
699
703
|
}) : [];
|
|
700
704
|
}
|
|
701
|
-
function
|
|
702
|
-
var o = t === "clippingParents" ?
|
|
705
|
+
function Xr(e, t, n, r) {
|
|
706
|
+
var o = t === "clippingParents" ? Yr(e) : [].concat(t), s = [].concat(o, [n]), c = s[0], p = s.reduce(function(u, f) {
|
|
703
707
|
var l = Vt(e, f, r);
|
|
704
708
|
return u.top = be(l.top, u.top), u.right = ct(l.right, u.right), u.bottom = ct(l.bottom, u.bottom), u.left = be(l.left, u.left), u;
|
|
705
709
|
}, Vt(e, c, r));
|
|
706
710
|
return p.width = p.right - p.left, p.height = p.bottom - p.top, p.x = p.left, p.y = p.top, p;
|
|
707
711
|
}
|
|
708
712
|
function xn(e) {
|
|
709
|
-
var t = e.reference, n = e.element, r = e.placement, o = r ? K(r) : null, s = r ?
|
|
713
|
+
var t = e.reference, n = e.element, r = e.placement, o = r ? K(r) : null, s = r ? Pe(r) : null, c = t.x + t.width / 2 - n.width / 2, p = t.y + t.height / 2 - n.height / 2, u;
|
|
710
714
|
switch (o) {
|
|
711
715
|
case $:
|
|
712
716
|
u = {
|
|
@@ -745,7 +749,7 @@ function xn(e) {
|
|
|
745
749
|
case Re:
|
|
746
750
|
u[f] = u[f] - (t[l] / 2 - n[l] / 2);
|
|
747
751
|
break;
|
|
748
|
-
case
|
|
752
|
+
case Ue:
|
|
749
753
|
u[f] = u[f] + (t[l] / 2 - n[l] / 2);
|
|
750
754
|
break;
|
|
751
755
|
}
|
|
@@ -754,30 +758,30 @@ function xn(e) {
|
|
|
754
758
|
}
|
|
755
759
|
function Fe(e, t) {
|
|
756
760
|
t === void 0 && (t = {});
|
|
757
|
-
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.strategy, c = s === void 0 ? e.strategy : s, p = n.boundary, u = p === void 0 ?
|
|
761
|
+
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, s = n.strategy, c = s === void 0 ? e.strategy : s, p = n.boundary, u = p === void 0 ? mr : p, f = n.rootBoundary, l = f === void 0 ? vn : f, g = n.elementContext, x = g === void 0 ? ke : g, m = n.altBoundary, w = m === void 0 ? !1 : m, y = n.padding, b = y === void 0 ? 0 : y, T = wn(typeof b != "number" ? b : En(b, qe)), R = x === ke ? gr : ke, L = e.rects.popper, i = e.elements[w ? R : x], E = Xr(we(i) ? i : i.contextElement || le(e.elements.popper), u, l, c), d = Le(e.elements.reference), D = xn({
|
|
758
762
|
reference: d,
|
|
759
|
-
element:
|
|
763
|
+
element: L,
|
|
760
764
|
strategy: "absolute",
|
|
761
765
|
placement: o
|
|
762
|
-
}), N = Et(Object.assign({},
|
|
763
|
-
top: E.top - _.top +
|
|
764
|
-
bottom: _.bottom - E.bottom +
|
|
765
|
-
left: E.left - _.left +
|
|
766
|
-
right: _.right - E.right +
|
|
767
|
-
},
|
|
768
|
-
if (x === ke &&
|
|
769
|
-
var C =
|
|
770
|
-
Object.keys(
|
|
771
|
-
var
|
|
772
|
-
|
|
766
|
+
}), N = Et(Object.assign({}, L, D)), _ = x === ke ? N : d, P = {
|
|
767
|
+
top: E.top - _.top + T.top,
|
|
768
|
+
bottom: _.bottom - E.bottom + T.bottom,
|
|
769
|
+
left: E.left - _.left + T.left,
|
|
770
|
+
right: _.right - E.right + T.right
|
|
771
|
+
}, A = e.modifiersData.offset;
|
|
772
|
+
if (x === ke && A) {
|
|
773
|
+
var C = A[o];
|
|
774
|
+
Object.keys(P).forEach(function(I) {
|
|
775
|
+
var U = [X, Y].indexOf(I) >= 0 ? 1 : -1, F = [$, Y].indexOf(I) >= 0 ? "y" : "x";
|
|
776
|
+
P[I] += C[F] * U;
|
|
773
777
|
});
|
|
774
778
|
}
|
|
775
|
-
return
|
|
779
|
+
return P;
|
|
776
780
|
}
|
|
777
|
-
function
|
|
781
|
+
function Gr(e, t) {
|
|
778
782
|
t === void 0 && (t = {});
|
|
779
|
-
var n = t, r = n.placement, o = n.boundary, s = n.rootBoundary, c = n.padding, p = n.flipVariations, u = n.allowedAutoPlacements, f = u === void 0 ? hn : u, l =
|
|
780
|
-
return
|
|
783
|
+
var n = t, r = n.placement, o = n.boundary, s = n.rootBoundary, c = n.padding, p = n.flipVariations, u = n.allowedAutoPlacements, f = u === void 0 ? hn : u, l = Pe(r), g = l ? p ? _t : _t.filter(function(w) {
|
|
784
|
+
return Pe(w) === l;
|
|
781
785
|
}) : qe, x = g.filter(function(w) {
|
|
782
786
|
return f.indexOf(w) >= 0;
|
|
783
787
|
});
|
|
@@ -794,17 +798,17 @@ function Xr(e, t) {
|
|
|
794
798
|
return m[w] - m[y];
|
|
795
799
|
});
|
|
796
800
|
}
|
|
797
|
-
function
|
|
801
|
+
function Kr(e) {
|
|
798
802
|
if (K(e) === lt)
|
|
799
803
|
return [];
|
|
800
804
|
var t = ut(e);
|
|
801
805
|
return [kt(e), t, kt(t)];
|
|
802
806
|
}
|
|
803
|
-
function
|
|
807
|
+
function Zr(e) {
|
|
804
808
|
var t = e.state, n = e.options, r = e.name;
|
|
805
809
|
if (!t.modifiersData[r]._skip) {
|
|
806
|
-
for (var o = n.mainAxis, s = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !0 : c, u = n.fallbackPlacements, f = n.padding, l = n.boundary, g = n.rootBoundary, x = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, b = t.options.placement,
|
|
807
|
-
return re.concat(K(G) === lt ?
|
|
810
|
+
for (var o = n.mainAxis, s = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !0 : c, u = n.fallbackPlacements, f = n.padding, l = n.boundary, g = n.rootBoundary, x = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, y = n.allowedAutoPlacements, b = t.options.placement, T = K(b), R = T === b, L = u || (R || !w ? [ut(b)] : Kr(b)), i = [b].concat(L).reduce(function(re, G) {
|
|
811
|
+
return re.concat(K(G) === lt ? Gr(t, {
|
|
808
812
|
placement: G,
|
|
809
813
|
boundary: l,
|
|
810
814
|
rootBoundary: g,
|
|
@@ -812,23 +816,23 @@ function Kr(e) {
|
|
|
812
816
|
flipVariations: w,
|
|
813
817
|
allowedAutoPlacements: y
|
|
814
818
|
}) : G);
|
|
815
|
-
}, []), E = t.rects.reference, d = t.rects.popper, D = /* @__PURE__ */ new Map(), N = !0, _ = i[0],
|
|
816
|
-
var
|
|
817
|
-
placement:
|
|
819
|
+
}, []), E = t.rects.reference, d = t.rects.popper, D = /* @__PURE__ */ new Map(), N = !0, _ = i[0], P = 0; P < i.length; P++) {
|
|
820
|
+
var A = i[P], C = K(A), I = Pe(A) === Re, U = [$, Y].indexOf(C) >= 0, F = U ? "width" : "height", j = Fe(t, {
|
|
821
|
+
placement: A,
|
|
818
822
|
boundary: l,
|
|
819
823
|
rootBoundary: g,
|
|
820
824
|
altBoundary: x,
|
|
821
825
|
padding: f
|
|
822
|
-
}), k =
|
|
826
|
+
}), k = U ? I ? X : B : I ? Y : $;
|
|
823
827
|
E[F] > d[F] && (k = ut(k));
|
|
824
828
|
var M = ut(k), J = [];
|
|
825
829
|
if (s && J.push(j[C] <= 0), p && J.push(j[k] <= 0, j[M] <= 0), J.every(function(re) {
|
|
826
830
|
return re;
|
|
827
831
|
})) {
|
|
828
|
-
_ =
|
|
832
|
+
_ = A, N = !1;
|
|
829
833
|
break;
|
|
830
834
|
}
|
|
831
|
-
D.set(
|
|
835
|
+
D.set(A, J);
|
|
832
836
|
}
|
|
833
837
|
if (N)
|
|
834
838
|
for (var Q = w ? 3 : 1, fe = function(G) {
|
|
@@ -849,11 +853,11 @@ function Kr(e) {
|
|
|
849
853
|
t.placement !== _ && (t.modifiersData[r]._skip = !0, t.placement = _, t.reset = !0);
|
|
850
854
|
}
|
|
851
855
|
}
|
|
852
|
-
const
|
|
856
|
+
const Jr = {
|
|
853
857
|
name: "flip",
|
|
854
858
|
enabled: !0,
|
|
855
859
|
phase: "main",
|
|
856
|
-
fn:
|
|
860
|
+
fn: Zr,
|
|
857
861
|
requiresIfExists: ["offset"],
|
|
858
862
|
data: {
|
|
859
863
|
_skip: !1
|
|
@@ -875,7 +879,7 @@ function Bt(e) {
|
|
|
875
879
|
return e[t] >= 0;
|
|
876
880
|
});
|
|
877
881
|
}
|
|
878
|
-
function
|
|
882
|
+
function Qr(e) {
|
|
879
883
|
var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, s = t.modifiersData.preventOverflow, c = Fe(t, {
|
|
880
884
|
elementContext: "reference"
|
|
881
885
|
}), p = Fe(t, {
|
|
@@ -891,14 +895,14 @@ function Jr(e) {
|
|
|
891
895
|
"data-popper-escaped": g
|
|
892
896
|
});
|
|
893
897
|
}
|
|
894
|
-
const
|
|
898
|
+
const ei = {
|
|
895
899
|
name: "hide",
|
|
896
900
|
enabled: !0,
|
|
897
901
|
phase: "main",
|
|
898
902
|
requiresIfExists: ["preventOverflow"],
|
|
899
|
-
fn:
|
|
903
|
+
fn: Qr
|
|
900
904
|
};
|
|
901
|
-
function
|
|
905
|
+
function ti(e, t, n) {
|
|
902
906
|
var r = K(e), o = [B, $].indexOf(r) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
|
|
903
907
|
placement: e
|
|
904
908
|
})) : n, c = s[0], p = s[1];
|
|
@@ -910,20 +914,20 @@ function ei(e, t, n) {
|
|
|
910
914
|
y: p
|
|
911
915
|
};
|
|
912
916
|
}
|
|
913
|
-
function
|
|
917
|
+
function ni(e) {
|
|
914
918
|
var t = e.state, n = e.options, r = e.name, o = n.offset, s = o === void 0 ? [0, 0] : o, c = hn.reduce(function(l, g) {
|
|
915
|
-
return l[g] =
|
|
919
|
+
return l[g] = ti(g, t.rects, s), l;
|
|
916
920
|
}, {}), p = c[t.placement], u = p.x, f = p.y;
|
|
917
921
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += f), t.modifiersData[r] = c;
|
|
918
922
|
}
|
|
919
|
-
const
|
|
923
|
+
const ri = {
|
|
920
924
|
name: "offset",
|
|
921
925
|
enabled: !0,
|
|
922
926
|
phase: "main",
|
|
923
927
|
requires: ["popperOffsets"],
|
|
924
|
-
fn:
|
|
928
|
+
fn: ni
|
|
925
929
|
};
|
|
926
|
-
function
|
|
930
|
+
function ii(e) {
|
|
927
931
|
var t = e.state, n = e.name;
|
|
928
932
|
t.modifiersData[n] = xn({
|
|
929
933
|
reference: t.rects.reference,
|
|
@@ -932,72 +936,72 @@ function ri(e) {
|
|
|
932
936
|
placement: t.placement
|
|
933
937
|
});
|
|
934
938
|
}
|
|
935
|
-
const
|
|
939
|
+
const oi = {
|
|
936
940
|
name: "popperOffsets",
|
|
937
941
|
enabled: !0,
|
|
938
942
|
phase: "read",
|
|
939
|
-
fn:
|
|
943
|
+
fn: ii,
|
|
940
944
|
data: {}
|
|
941
945
|
};
|
|
942
|
-
function
|
|
946
|
+
function ai(e) {
|
|
943
947
|
return e === "x" ? "y" : "x";
|
|
944
948
|
}
|
|
945
|
-
function
|
|
949
|
+
function si(e) {
|
|
946
950
|
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, s = o === void 0 ? !0 : o, c = n.altAxis, p = c === void 0 ? !1 : c, u = n.boundary, f = n.rootBoundary, l = n.altBoundary, g = n.padding, x = n.tether, m = x === void 0 ? !0 : x, w = n.tetherOffset, y = w === void 0 ? 0 : w, b = Fe(t, {
|
|
947
951
|
boundary: u,
|
|
948
952
|
rootBoundary: f,
|
|
949
953
|
padding: g,
|
|
950
954
|
altBoundary: l
|
|
951
|
-
}),
|
|
955
|
+
}), T = K(t.placement), R = Pe(t.placement), L = !R, i = Dt(T), E = ai(i), d = t.modifiersData.popperOffsets, D = t.rects.reference, N = t.rects.popper, _ = typeof y == "function" ? y(Object.assign({}, t.rects, {
|
|
952
956
|
placement: t.placement
|
|
953
|
-
})) : y,
|
|
957
|
+
})) : y, P = typeof _ == "number" ? {
|
|
954
958
|
mainAxis: _,
|
|
955
959
|
altAxis: _
|
|
956
960
|
} : Object.assign({
|
|
957
961
|
mainAxis: 0,
|
|
958
962
|
altAxis: 0
|
|
959
|
-
}, _),
|
|
963
|
+
}, _), A = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, C = {
|
|
960
964
|
x: 0,
|
|
961
965
|
y: 0
|
|
962
966
|
};
|
|
963
967
|
if (d) {
|
|
964
968
|
if (s) {
|
|
965
|
-
var I,
|
|
969
|
+
var I, U = i === "y" ? $ : B, F = i === "y" ? Y : X, j = i === "y" ? "height" : "width", k = d[i], M = k + b[U], J = k - b[F], Q = m ? -N[j] / 2 : 0, fe = R === Re ? D[j] : N[j], ee = R === Re ? -N[j] : -D[j], de = t.elements.arrow, re = m && de ? St(de) : {
|
|
966
970
|
width: 0,
|
|
967
971
|
height: 0
|
|
968
|
-
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : bn(), ie = G[
|
|
972
|
+
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : bn(), ie = G[U], Ee = G[F], oe = Ve(0, D[j], re[j]), Oe = L ? D[j] / 2 - Q - oe - ie - P.mainAxis : fe - oe - ie - P.mainAxis, ue = L ? -D[j] / 2 + Q + oe + Ee + P.mainAxis : ee + oe + Ee + P.mainAxis, xe = t.elements.arrow && ze(t.elements.arrow), Xe = xe ? i === "y" ? xe.clientTop || 0 : xe.clientLeft || 0 : 0, Ie = (I = A == null ? void 0 : A[i]) != null ? I : 0, Ge = k + Oe - Ie - Xe, Ke = k + ue - Ie, Ne = Ve(m ? ct(M, Ge) : M, k, m ? be(J, Ke) : J);
|
|
969
973
|
d[i] = Ne, C[i] = Ne - k;
|
|
970
974
|
}
|
|
971
975
|
if (p) {
|
|
972
|
-
var _e, Ze = i === "x" ? $ : B, Je = i === "x" ? Y : X, ae = d[E], ce = E === "y" ? "height" : "width", Me = ae + b[Ze], ve = ae - b[Je], je = [$, B].indexOf(
|
|
976
|
+
var _e, Ze = i === "x" ? $ : B, Je = i === "x" ? Y : X, ae = d[E], ce = E === "y" ? "height" : "width", Me = ae + b[Ze], ve = ae - b[Je], je = [$, B].indexOf(T) !== -1, Qe = (_e = A == null ? void 0 : A[E]) != null ? _e : 0, et = je ? Me : ae - D[ce] - N[ce] - Qe + P.altAxis, tt = je ? ae + D[ce] + N[ce] - Qe - P.altAxis : ve, nt = m && je ? Pr(et, ae, tt) : Ve(m ? et : Me, ae, m ? tt : ve);
|
|
973
977
|
d[E] = nt, C[E] = nt - ae;
|
|
974
978
|
}
|
|
975
979
|
t.modifiersData[r] = C;
|
|
976
980
|
}
|
|
977
981
|
}
|
|
978
|
-
const
|
|
982
|
+
const ui = {
|
|
979
983
|
name: "preventOverflow",
|
|
980
984
|
enabled: !0,
|
|
981
985
|
phase: "main",
|
|
982
|
-
fn:
|
|
986
|
+
fn: si,
|
|
983
987
|
requiresIfExists: ["offset"]
|
|
984
988
|
};
|
|
985
|
-
function
|
|
989
|
+
function ci(e) {
|
|
986
990
|
return {
|
|
987
991
|
scrollLeft: e.scrollLeft,
|
|
988
992
|
scrollTop: e.scrollTop
|
|
989
993
|
};
|
|
990
994
|
}
|
|
991
|
-
function ci(e) {
|
|
992
|
-
return e === q(e) || !W(e) ? Rt(e) : ui(e);
|
|
993
|
-
}
|
|
994
995
|
function pi(e) {
|
|
996
|
+
return e === q(e) || !W(e) ? Rt(e) : ci(e);
|
|
997
|
+
}
|
|
998
|
+
function li(e) {
|
|
995
999
|
var t = e.getBoundingClientRect(), n = Ce(t.width) / e.offsetWidth || 1, r = Ce(t.height) / e.offsetHeight || 1;
|
|
996
1000
|
return n !== 1 || r !== 1;
|
|
997
1001
|
}
|
|
998
|
-
function
|
|
1002
|
+
function fi(e, t, n) {
|
|
999
1003
|
n === void 0 && (n = !1);
|
|
1000
|
-
var r = W(t), o = W(t) &&
|
|
1004
|
+
var r = W(t), o = W(t) && li(t), s = le(t), c = Le(e, o, n), p = {
|
|
1001
1005
|
scrollLeft: 0,
|
|
1002
1006
|
scrollTop: 0
|
|
1003
1007
|
}, u = {
|
|
@@ -1005,14 +1009,14 @@ function li(e, t, n) {
|
|
|
1005
1009
|
y: 0
|
|
1006
1010
|
};
|
|
1007
1011
|
return (r || !r && !n) && ((ne(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
1008
|
-
|
|
1012
|
+
Lt(s)) && (p = pi(t)), W(t) ? (u = Le(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : s && (u.x = Ct(s))), {
|
|
1009
1013
|
x: c.left + p.scrollLeft - u.x,
|
|
1010
1014
|
y: c.top + p.scrollTop - u.y,
|
|
1011
1015
|
width: c.width,
|
|
1012
1016
|
height: c.height
|
|
1013
1017
|
};
|
|
1014
1018
|
}
|
|
1015
|
-
function
|
|
1019
|
+
function di(e) {
|
|
1016
1020
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
1017
1021
|
e.forEach(function(s) {
|
|
1018
1022
|
t.set(s.name, s);
|
|
@@ -1031,15 +1035,15 @@ function fi(e) {
|
|
|
1031
1035
|
n.has(s.name) || o(s);
|
|
1032
1036
|
}), r;
|
|
1033
1037
|
}
|
|
1034
|
-
function
|
|
1035
|
-
var t =
|
|
1038
|
+
function vi(e) {
|
|
1039
|
+
var t = di(e);
|
|
1036
1040
|
return bt.reduce(function(n, r) {
|
|
1037
1041
|
return n.concat(t.filter(function(o) {
|
|
1038
1042
|
return o.phase === r;
|
|
1039
1043
|
}));
|
|
1040
1044
|
}, []);
|
|
1041
1045
|
}
|
|
1042
|
-
function
|
|
1046
|
+
function hi(e) {
|
|
1043
1047
|
var t;
|
|
1044
1048
|
return function() {
|
|
1045
1049
|
return t || (t = new Promise(function(n) {
|
|
@@ -1056,10 +1060,10 @@ function pe(e) {
|
|
|
1056
1060
|
return o.replace(/%s/, s);
|
|
1057
1061
|
}, e);
|
|
1058
1062
|
}
|
|
1059
|
-
var me = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',
|
|
1060
|
-
function
|
|
1063
|
+
var me = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', mi = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Ut = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
|
|
1064
|
+
function gi(e) {
|
|
1061
1065
|
e.forEach(function(t) {
|
|
1062
|
-
[].concat(Object.keys(t),
|
|
1066
|
+
[].concat(Object.keys(t), Ut).filter(function(n, r, o) {
|
|
1063
1067
|
return o.indexOf(n) === r;
|
|
1064
1068
|
}).forEach(function(n) {
|
|
1065
1069
|
switch (n) {
|
|
@@ -1088,19 +1092,19 @@ function mi(e) {
|
|
|
1088
1092
|
case "data":
|
|
1089
1093
|
break;
|
|
1090
1094
|
default:
|
|
1091
|
-
console.error('PopperJS: an invalid property has been provided to the "' + t.name + '" modifier, valid properties are ' +
|
|
1095
|
+
console.error('PopperJS: an invalid property has been provided to the "' + t.name + '" modifier, valid properties are ' + Ut.map(function(r) {
|
|
1092
1096
|
return '"' + r + '"';
|
|
1093
1097
|
}).join(", ") + '; but "' + n + '" was provided.');
|
|
1094
1098
|
}
|
|
1095
1099
|
t.requires && t.requires.forEach(function(r) {
|
|
1096
1100
|
e.find(function(o) {
|
|
1097
1101
|
return o.name === r;
|
|
1098
|
-
}) == null && console.error(pe(
|
|
1102
|
+
}) == null && console.error(pe(mi, String(t.name), r, r));
|
|
1099
1103
|
});
|
|
1100
1104
|
});
|
|
1101
1105
|
});
|
|
1102
1106
|
}
|
|
1103
|
-
function
|
|
1107
|
+
function yi(e, t) {
|
|
1104
1108
|
var n = /* @__PURE__ */ new Set();
|
|
1105
1109
|
return e.filter(function(r) {
|
|
1106
1110
|
var o = t(r);
|
|
@@ -1108,7 +1112,7 @@ function gi(e, t) {
|
|
|
1108
1112
|
return n.add(o), !0;
|
|
1109
1113
|
});
|
|
1110
1114
|
}
|
|
1111
|
-
function
|
|
1115
|
+
function bi(e) {
|
|
1112
1116
|
var t = e.reduce(function(n, r) {
|
|
1113
1117
|
var o = n[r.name];
|
|
1114
1118
|
return n[r.name] = o ? Object.assign({}, o, r, {
|
|
@@ -1120,7 +1124,7 @@ function yi(e) {
|
|
|
1120
1124
|
return t[n];
|
|
1121
1125
|
});
|
|
1122
1126
|
}
|
|
1123
|
-
var Ft = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",
|
|
1127
|
+
var Ft = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", wi = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", Ht = {
|
|
1124
1128
|
placement: "bottom",
|
|
1125
1129
|
modifiers: [],
|
|
1126
1130
|
strategy: "absolute"
|
|
@@ -1132,15 +1136,15 @@ function Wt() {
|
|
|
1132
1136
|
return !(r && typeof r.getBoundingClientRect == "function");
|
|
1133
1137
|
});
|
|
1134
1138
|
}
|
|
1135
|
-
function
|
|
1139
|
+
function Ei(e) {
|
|
1136
1140
|
e === void 0 && (e = {});
|
|
1137
|
-
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, s = o === void 0 ?
|
|
1141
|
+
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, s = o === void 0 ? Ht : o;
|
|
1138
1142
|
return function(p, u, f) {
|
|
1139
1143
|
f === void 0 && (f = s);
|
|
1140
1144
|
var l = {
|
|
1141
1145
|
placement: "bottom",
|
|
1142
1146
|
orderedModifiers: [],
|
|
1143
|
-
options: Object.assign({},
|
|
1147
|
+
options: Object.assign({}, Ht, s),
|
|
1144
1148
|
modifiersData: {},
|
|
1145
1149
|
elements: {
|
|
1146
1150
|
reference: p,
|
|
@@ -1150,30 +1154,30 @@ function wi(e) {
|
|
|
1150
1154
|
styles: {}
|
|
1151
1155
|
}, g = [], x = !1, m = {
|
|
1152
1156
|
state: l,
|
|
1153
|
-
setOptions: function(
|
|
1154
|
-
var R = typeof
|
|
1157
|
+
setOptions: function(T) {
|
|
1158
|
+
var R = typeof T == "function" ? T(l.options) : T;
|
|
1155
1159
|
y(), l.options = Object.assign({}, s, l.options, R), l.scrollParents = {
|
|
1156
1160
|
reference: we(p) ? $e(p) : p.contextElement ? $e(p.contextElement) : [],
|
|
1157
1161
|
popper: $e(u)
|
|
1158
1162
|
};
|
|
1159
|
-
var
|
|
1160
|
-
if (l.orderedModifiers =
|
|
1161
|
-
return
|
|
1163
|
+
var L = vi(bi([].concat(r, l.options.modifiers)));
|
|
1164
|
+
if (l.orderedModifiers = L.filter(function(A) {
|
|
1165
|
+
return A.enabled;
|
|
1162
1166
|
}), process.env.NODE_ENV !== "production") {
|
|
1163
|
-
var i =
|
|
1164
|
-
var C =
|
|
1167
|
+
var i = yi([].concat(L, l.options.modifiers), function(A) {
|
|
1168
|
+
var C = A.name;
|
|
1165
1169
|
return C;
|
|
1166
1170
|
});
|
|
1167
|
-
if (
|
|
1168
|
-
var E = l.orderedModifiers.find(function(
|
|
1169
|
-
var C =
|
|
1171
|
+
if (gi(i), K(l.options.placement) === lt) {
|
|
1172
|
+
var E = l.orderedModifiers.find(function(A) {
|
|
1173
|
+
var C = A.name;
|
|
1170
1174
|
return C === "flip";
|
|
1171
1175
|
});
|
|
1172
1176
|
E || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
|
|
1173
1177
|
}
|
|
1174
|
-
var d = Z(u), D = d.marginTop, N = d.marginRight, _ = d.marginBottom,
|
|
1175
|
-
[D, N, _,
|
|
1176
|
-
return parseFloat(
|
|
1178
|
+
var d = Z(u), D = d.marginTop, N = d.marginRight, _ = d.marginBottom, P = d.marginLeft;
|
|
1179
|
+
[D, N, _, P].some(function(A) {
|
|
1180
|
+
return parseFloat(A);
|
|
1177
1181
|
}) && console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" "));
|
|
1178
1182
|
}
|
|
1179
1183
|
return w(), m.update();
|
|
@@ -1185,31 +1189,31 @@ function wi(e) {
|
|
|
1185
1189
|
// prefer the async Popper#update method
|
|
1186
1190
|
forceUpdate: function() {
|
|
1187
1191
|
if (!x) {
|
|
1188
|
-
var
|
|
1189
|
-
if (!Wt(R,
|
|
1192
|
+
var T = l.elements, R = T.reference, L = T.popper;
|
|
1193
|
+
if (!Wt(R, L)) {
|
|
1190
1194
|
process.env.NODE_ENV !== "production" && console.error(Ft);
|
|
1191
1195
|
return;
|
|
1192
1196
|
}
|
|
1193
1197
|
l.rects = {
|
|
1194
|
-
reference:
|
|
1195
|
-
popper: St(
|
|
1196
|
-
}, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(
|
|
1197
|
-
return l.modifiersData[
|
|
1198
|
+
reference: fi(R, ze(L), l.options.strategy === "fixed"),
|
|
1199
|
+
popper: St(L)
|
|
1200
|
+
}, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(A) {
|
|
1201
|
+
return l.modifiersData[A.name] = Object.assign({}, A.data);
|
|
1198
1202
|
});
|
|
1199
1203
|
for (var i = 0, E = 0; E < l.orderedModifiers.length; E++) {
|
|
1200
1204
|
if (process.env.NODE_ENV !== "production" && (i += 1, i > 100)) {
|
|
1201
|
-
console.error(
|
|
1205
|
+
console.error(wi);
|
|
1202
1206
|
break;
|
|
1203
1207
|
}
|
|
1204
1208
|
if (l.reset === !0) {
|
|
1205
1209
|
l.reset = !1, E = -1;
|
|
1206
1210
|
continue;
|
|
1207
1211
|
}
|
|
1208
|
-
var d = l.orderedModifiers[E], D = d.fn, N = d.options, _ = N === void 0 ? {} : N,
|
|
1212
|
+
var d = l.orderedModifiers[E], D = d.fn, N = d.options, _ = N === void 0 ? {} : N, P = d.name;
|
|
1209
1213
|
typeof D == "function" && (l = D({
|
|
1210
1214
|
state: l,
|
|
1211
1215
|
options: _,
|
|
1212
|
-
name:
|
|
1216
|
+
name: P,
|
|
1213
1217
|
instance: m
|
|
1214
1218
|
}) || l);
|
|
1215
1219
|
}
|
|
@@ -1217,7 +1221,7 @@ function wi(e) {
|
|
|
1217
1221
|
},
|
|
1218
1222
|
// Async and optimistically optimized update – it will not be executed if
|
|
1219
1223
|
// not necessary (debounced to run at most once-per-tick)
|
|
1220
|
-
update:
|
|
1224
|
+
update: hi(function() {
|
|
1221
1225
|
return new Promise(function(b) {
|
|
1222
1226
|
m.forceUpdate(), b(l);
|
|
1223
1227
|
});
|
|
@@ -1233,13 +1237,13 @@ function wi(e) {
|
|
|
1233
1237
|
});
|
|
1234
1238
|
function w() {
|
|
1235
1239
|
l.orderedModifiers.forEach(function(b) {
|
|
1236
|
-
var
|
|
1240
|
+
var T = b.name, R = b.options, L = R === void 0 ? {} : R, i = b.effect;
|
|
1237
1241
|
if (typeof i == "function") {
|
|
1238
1242
|
var E = i({
|
|
1239
1243
|
state: l,
|
|
1240
|
-
name:
|
|
1244
|
+
name: T,
|
|
1241
1245
|
instance: m,
|
|
1242
|
-
options:
|
|
1246
|
+
options: L
|
|
1243
1247
|
}), d = function() {
|
|
1244
1248
|
};
|
|
1245
1249
|
g.push(E || d);
|
|
@@ -1254,15 +1258,15 @@ function wi(e) {
|
|
|
1254
1258
|
return m;
|
|
1255
1259
|
};
|
|
1256
1260
|
}
|
|
1257
|
-
var
|
|
1258
|
-
defaultModifiers:
|
|
1259
|
-
}),
|
|
1261
|
+
var Oi = [Ur, oi, $r, mn, ri, Jr, ui, Mr, ei], xi = /* @__PURE__ */ Ei({
|
|
1262
|
+
defaultModifiers: Oi
|
|
1263
|
+
}), Ai = "tippy-box", An = "tippy-content", Ti = "tippy-backdrop", Tn = "tippy-arrow", Sn = "tippy-svg-arrow", ye = {
|
|
1260
1264
|
passive: !0,
|
|
1261
1265
|
capture: !0
|
|
1262
1266
|
}, Dn = function() {
|
|
1263
1267
|
return document.body;
|
|
1264
1268
|
};
|
|
1265
|
-
function
|
|
1269
|
+
function Si(e, t) {
|
|
1266
1270
|
return {}.hasOwnProperty.call(e, t);
|
|
1267
1271
|
}
|
|
1268
1272
|
function ht(e, t, n) {
|
|
@@ -1272,7 +1276,7 @@ function ht(e, t, n) {
|
|
|
1272
1276
|
}
|
|
1273
1277
|
return e;
|
|
1274
1278
|
}
|
|
1275
|
-
function
|
|
1279
|
+
function Pt(e, t) {
|
|
1276
1280
|
var n = {}.toString.call(e);
|
|
1277
1281
|
return n.indexOf("[object") === 0 && n.indexOf(t + "]") > -1;
|
|
1278
1282
|
}
|
|
@@ -1289,13 +1293,13 @@ function qt(e, t) {
|
|
|
1289
1293
|
}, t);
|
|
1290
1294
|
};
|
|
1291
1295
|
}
|
|
1292
|
-
function
|
|
1296
|
+
function Di(e, t) {
|
|
1293
1297
|
var n = Object.assign({}, e);
|
|
1294
1298
|
return t.forEach(function(r) {
|
|
1295
1299
|
delete n[r];
|
|
1296
1300
|
}), n;
|
|
1297
1301
|
}
|
|
1298
|
-
function
|
|
1302
|
+
function Ri(e) {
|
|
1299
1303
|
return e.split(/\s+/).filter(Boolean);
|
|
1300
1304
|
}
|
|
1301
1305
|
function De(e) {
|
|
@@ -1304,12 +1308,12 @@ function De(e) {
|
|
|
1304
1308
|
function zt(e, t) {
|
|
1305
1309
|
e.indexOf(t) === -1 && e.push(t);
|
|
1306
1310
|
}
|
|
1307
|
-
function
|
|
1311
|
+
function Ci(e) {
|
|
1308
1312
|
return e.filter(function(t, n) {
|
|
1309
1313
|
return e.indexOf(t) === n;
|
|
1310
1314
|
});
|
|
1311
1315
|
}
|
|
1312
|
-
function
|
|
1316
|
+
function Li(e) {
|
|
1313
1317
|
return e.split("-")[0];
|
|
1314
1318
|
}
|
|
1315
1319
|
function pt(e) {
|
|
@@ -1323,22 +1327,22 @@ function Yt(e) {
|
|
|
1323
1327
|
function Be() {
|
|
1324
1328
|
return document.createElement("div");
|
|
1325
1329
|
}
|
|
1326
|
-
function
|
|
1330
|
+
function He(e) {
|
|
1327
1331
|
return ["Element", "Fragment"].some(function(t) {
|
|
1328
|
-
return
|
|
1332
|
+
return Pt(e, t);
|
|
1329
1333
|
});
|
|
1330
1334
|
}
|
|
1331
1335
|
function Pi(e) {
|
|
1332
|
-
return
|
|
1333
|
-
}
|
|
1334
|
-
function Li(e) {
|
|
1335
|
-
return Lt(e, "MouseEvent");
|
|
1336
|
+
return Pt(e, "NodeList");
|
|
1336
1337
|
}
|
|
1337
1338
|
function Ii(e) {
|
|
1338
|
-
return
|
|
1339
|
+
return Pt(e, "MouseEvent");
|
|
1339
1340
|
}
|
|
1340
1341
|
function Ni(e) {
|
|
1341
|
-
return
|
|
1342
|
+
return !!(e && e._tippy && e._tippy.reference === e);
|
|
1343
|
+
}
|
|
1344
|
+
function _i(e) {
|
|
1345
|
+
return He(e) ? [e] : Pi(e) ? pt(e) : Array.isArray(e) ? e : pt(document.querySelectorAll(e));
|
|
1342
1346
|
}
|
|
1343
1347
|
function mt(e, t) {
|
|
1344
1348
|
e.forEach(function(n) {
|
|
@@ -1350,18 +1354,18 @@ function Xt(e, t) {
|
|
|
1350
1354
|
n && n.setAttribute("data-state", t);
|
|
1351
1355
|
});
|
|
1352
1356
|
}
|
|
1353
|
-
function
|
|
1357
|
+
function Mi(e) {
|
|
1354
1358
|
var t, n = De(e), r = n[0];
|
|
1355
1359
|
return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
|
|
1356
1360
|
}
|
|
1357
|
-
function
|
|
1361
|
+
function ji(e, t) {
|
|
1358
1362
|
var n = t.clientX, r = t.clientY;
|
|
1359
1363
|
return e.every(function(o) {
|
|
1360
|
-
var s = o.popperRect, c = o.popperState, p = o.props, u = p.interactiveBorder, f =
|
|
1364
|
+
var s = o.popperRect, c = o.popperState, p = o.props, u = p.interactiveBorder, f = Li(c.placement), l = c.modifiersData.offset;
|
|
1361
1365
|
if (!l)
|
|
1362
1366
|
return !0;
|
|
1363
|
-
var g = f === "bottom" ? l.top.y : 0, x = f === "top" ? l.bottom.y : 0, m = f === "right" ? l.left.x : 0, w = f === "left" ? l.right.x : 0, y = s.top - r + g > u, b = r - s.bottom - x > u,
|
|
1364
|
-
return y || b ||
|
|
1367
|
+
var g = f === "bottom" ? l.top.y : 0, x = f === "top" ? l.bottom.y : 0, m = f === "right" ? l.left.x : 0, w = f === "left" ? l.right.x : 0, y = s.top - r + g > u, b = r - s.bottom - x > u, T = s.left - n + m > u, R = n - s.right - w > u;
|
|
1368
|
+
return y || b || T || R;
|
|
1365
1369
|
});
|
|
1366
1370
|
}
|
|
1367
1371
|
function gt(e, t, n) {
|
|
@@ -1382,24 +1386,24 @@ function Gt(e, t) {
|
|
|
1382
1386
|
var te = {
|
|
1383
1387
|
isTouch: !1
|
|
1384
1388
|
}, Kt = 0;
|
|
1385
|
-
function
|
|
1389
|
+
function ki() {
|
|
1386
1390
|
te.isTouch || (te.isTouch = !0, window.performance && document.addEventListener("mousemove", Cn));
|
|
1387
1391
|
}
|
|
1388
1392
|
function Cn() {
|
|
1389
1393
|
var e = performance.now();
|
|
1390
1394
|
e - Kt < 20 && (te.isTouch = !1, document.removeEventListener("mousemove", Cn)), Kt = e;
|
|
1391
1395
|
}
|
|
1392
|
-
function
|
|
1396
|
+
function Vi() {
|
|
1393
1397
|
var e = document.activeElement;
|
|
1394
|
-
if (
|
|
1398
|
+
if (Ni(e)) {
|
|
1395
1399
|
var t = e._tippy;
|
|
1396
1400
|
e.blur && !t.state.isVisible && e.blur();
|
|
1397
1401
|
}
|
|
1398
1402
|
}
|
|
1399
|
-
function
|
|
1400
|
-
document.addEventListener("touchstart",
|
|
1403
|
+
function $i() {
|
|
1404
|
+
document.addEventListener("touchstart", ki, ye), window.addEventListener("blur", Vi);
|
|
1401
1405
|
}
|
|
1402
|
-
var
|
|
1406
|
+
var Bi = typeof window < "u" && typeof document < "u", Ui = Bi ? (
|
|
1403
1407
|
// @ts-ignore
|
|
1404
1408
|
!!window.msCrypto
|
|
1405
1409
|
) : !1;
|
|
@@ -1411,7 +1415,7 @@ function Zt(e) {
|
|
|
1411
1415
|
var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
|
|
1412
1416
|
return e.replace(t, " ").replace(n, "").trim();
|
|
1413
1417
|
}
|
|
1414
|
-
function
|
|
1418
|
+
function Fi(e) {
|
|
1415
1419
|
return Zt(`
|
|
1416
1420
|
%ctippy.js
|
|
1417
1421
|
|
|
@@ -1420,9 +1424,9 @@ function Hi(e) {
|
|
|
1420
1424
|
%c👷 This is a development-only message. It will be removed in production.
|
|
1421
1425
|
`);
|
|
1422
1426
|
}
|
|
1423
|
-
function
|
|
1427
|
+
function Ln(e) {
|
|
1424
1428
|
return [
|
|
1425
|
-
|
|
1429
|
+
Fi(e),
|
|
1426
1430
|
// title
|
|
1427
1431
|
"color: #00C584; font-size: 1.3em; font-weight: bold;",
|
|
1428
1432
|
// message
|
|
@@ -1432,32 +1436,32 @@ function Pn(e) {
|
|
|
1432
1436
|
];
|
|
1433
1437
|
}
|
|
1434
1438
|
var We;
|
|
1435
|
-
process.env.NODE_ENV !== "production" &&
|
|
1436
|
-
function
|
|
1439
|
+
process.env.NODE_ENV !== "production" && Hi();
|
|
1440
|
+
function Hi() {
|
|
1437
1441
|
We = /* @__PURE__ */ new Set();
|
|
1438
1442
|
}
|
|
1439
1443
|
function se(e, t) {
|
|
1440
1444
|
if (e && !We.has(t)) {
|
|
1441
1445
|
var n;
|
|
1442
|
-
We.add(t), (n = console).warn.apply(n,
|
|
1446
|
+
We.add(t), (n = console).warn.apply(n, Ln(t));
|
|
1443
1447
|
}
|
|
1444
1448
|
}
|
|
1445
1449
|
function Ot(e, t) {
|
|
1446
1450
|
if (e && !We.has(t)) {
|
|
1447
1451
|
var n;
|
|
1448
|
-
We.add(t), (n = console).error.apply(n,
|
|
1452
|
+
We.add(t), (n = console).error.apply(n, Ln(t));
|
|
1449
1453
|
}
|
|
1450
1454
|
}
|
|
1451
|
-
function
|
|
1455
|
+
function Wi(e) {
|
|
1452
1456
|
var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
|
|
1453
1457
|
Ot(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), Ot(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
|
|
1454
1458
|
}
|
|
1455
|
-
var
|
|
1459
|
+
var Pn = {
|
|
1456
1460
|
animateFill: !1,
|
|
1457
1461
|
followCursor: !1,
|
|
1458
1462
|
inlinePositioning: !1,
|
|
1459
1463
|
sticky: !1
|
|
1460
|
-
},
|
|
1464
|
+
}, qi = {
|
|
1461
1465
|
allowHTML: !1,
|
|
1462
1466
|
animation: "fade",
|
|
1463
1467
|
arrow: !0,
|
|
@@ -1467,7 +1471,7 @@ var Ln = {
|
|
|
1467
1471
|
role: "tooltip",
|
|
1468
1472
|
theme: "",
|
|
1469
1473
|
zIndex: 9999
|
|
1470
|
-
},
|
|
1474
|
+
}, H = Object.assign({
|
|
1471
1475
|
appendTo: Dn,
|
|
1472
1476
|
aria: {
|
|
1473
1477
|
content: "auto",
|
|
@@ -1515,11 +1519,11 @@ var Ln = {
|
|
|
1515
1519
|
touch: !0,
|
|
1516
1520
|
trigger: "mouseenter focus",
|
|
1517
1521
|
triggerTarget: null
|
|
1518
|
-
},
|
|
1522
|
+
}, Pn, qi), zi = Object.keys(H), Yi = function(t) {
|
|
1519
1523
|
process.env.NODE_ENV !== "production" && Nn(t, []);
|
|
1520
1524
|
var n = Object.keys(t);
|
|
1521
1525
|
n.forEach(function(r) {
|
|
1522
|
-
|
|
1526
|
+
H[r] = t[r];
|
|
1523
1527
|
});
|
|
1524
1528
|
};
|
|
1525
1529
|
function In(e) {
|
|
@@ -1527,16 +1531,16 @@ function In(e) {
|
|
|
1527
1531
|
var s = o.name, c = o.defaultValue;
|
|
1528
1532
|
if (s) {
|
|
1529
1533
|
var p;
|
|
1530
|
-
r[s] = e[s] !== void 0 ? e[s] : (p =
|
|
1534
|
+
r[s] = e[s] !== void 0 ? e[s] : (p = H[s]) != null ? p : c;
|
|
1531
1535
|
}
|
|
1532
1536
|
return r;
|
|
1533
1537
|
}, {});
|
|
1534
1538
|
return Object.assign({}, e, n);
|
|
1535
1539
|
}
|
|
1536
|
-
function
|
|
1537
|
-
var n = t ? Object.keys(In(Object.assign({},
|
|
1540
|
+
function Xi(e, t) {
|
|
1541
|
+
var n = t ? Object.keys(In(Object.assign({}, H, {
|
|
1538
1542
|
plugins: t
|
|
1539
|
-
}))) :
|
|
1543
|
+
}))) : zi, r = n.reduce(function(o, s) {
|
|
1540
1544
|
var c = (e.getAttribute("data-tippy-" + s) || "").trim();
|
|
1541
1545
|
if (!c)
|
|
1542
1546
|
return o;
|
|
@@ -1555,8 +1559,8 @@ function Yi(e, t) {
|
|
|
1555
1559
|
function Jt(e, t) {
|
|
1556
1560
|
var n = Object.assign({}, t, {
|
|
1557
1561
|
content: Rn(t.content, [e])
|
|
1558
|
-
}, t.ignoreAttributes ? {} :
|
|
1559
|
-
return n.aria = Object.assign({},
|
|
1562
|
+
}, t.ignoreAttributes ? {} : Xi(e, t.plugins));
|
|
1563
|
+
return n.aria = Object.assign({}, H.aria, n.aria), n.aria = {
|
|
1560
1564
|
expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
|
|
1561
1565
|
content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
|
|
1562
1566
|
}, n;
|
|
@@ -1565,7 +1569,7 @@ function Nn(e, t) {
|
|
|
1565
1569
|
e === void 0 && (e = {}), t === void 0 && (t = []);
|
|
1566
1570
|
var n = Object.keys(e);
|
|
1567
1571
|
n.forEach(function(r) {
|
|
1568
|
-
var o =
|
|
1572
|
+
var o = Di(H, Object.keys(Pn)), s = !Si(o, r);
|
|
1569
1573
|
s && (s = t.filter(function(c) {
|
|
1570
1574
|
return c.name === r;
|
|
1571
1575
|
}).length === 0), se(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.", `
|
|
@@ -1574,28 +1578,28 @@ function Nn(e, t) {
|
|
|
1574
1578
|
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
1575
1579
|
});
|
|
1576
1580
|
}
|
|
1577
|
-
var
|
|
1581
|
+
var Gi = function() {
|
|
1578
1582
|
return "innerHTML";
|
|
1579
1583
|
};
|
|
1580
1584
|
function xt(e, t) {
|
|
1581
|
-
e[
|
|
1585
|
+
e[Gi()] = t;
|
|
1582
1586
|
}
|
|
1583
1587
|
function Qt(e) {
|
|
1584
1588
|
var t = Be();
|
|
1585
|
-
return e === !0 ? t.className =
|
|
1589
|
+
return e === !0 ? t.className = Tn : (t.className = Sn, He(e) ? t.appendChild(e) : xt(t, e)), t;
|
|
1586
1590
|
}
|
|
1587
1591
|
function en(e, t) {
|
|
1588
|
-
|
|
1592
|
+
He(t.content) ? (xt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? xt(e, t.content) : e.textContent = t.content);
|
|
1589
1593
|
}
|
|
1590
|
-
function
|
|
1594
|
+
function At(e) {
|
|
1591
1595
|
var t = e.firstElementChild, n = pt(t.children);
|
|
1592
1596
|
return {
|
|
1593
1597
|
box: t,
|
|
1594
1598
|
content: n.find(function(r) {
|
|
1595
|
-
return r.classList.contains(
|
|
1599
|
+
return r.classList.contains(An);
|
|
1596
1600
|
}),
|
|
1597
1601
|
arrow: n.find(function(r) {
|
|
1598
|
-
return r.classList.contains(
|
|
1602
|
+
return r.classList.contains(Tn) || r.classList.contains(Sn);
|
|
1599
1603
|
}),
|
|
1600
1604
|
backdrop: n.find(function(r) {
|
|
1601
1605
|
return r.classList.contains(Ti);
|
|
@@ -1604,11 +1608,11 @@ function Tt(e) {
|
|
|
1604
1608
|
}
|
|
1605
1609
|
function _n(e) {
|
|
1606
1610
|
var t = Be(), n = Be();
|
|
1607
|
-
n.className =
|
|
1611
|
+
n.className = Ai, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
|
|
1608
1612
|
var r = Be();
|
|
1609
|
-
r.className =
|
|
1613
|
+
r.className = An, r.setAttribute("data-state", "hidden"), en(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
|
|
1610
1614
|
function o(s, c) {
|
|
1611
|
-
var p =
|
|
1615
|
+
var p = At(t), u = p.box, f = p.content, l = p.arrow;
|
|
1612
1616
|
c.theme ? u.setAttribute("data-theme", c.theme) : u.removeAttribute("data-theme"), typeof c.animation == "string" ? u.setAttribute("data-animation", c.animation) : u.removeAttribute("data-animation"), c.inertia ? u.setAttribute("data-inertia", "") : u.removeAttribute("data-inertia"), u.style.maxWidth = typeof c.maxWidth == "number" ? c.maxWidth + "px" : c.maxWidth, c.role ? u.setAttribute("role", c.role) : u.removeAttribute("role"), (s.content !== c.content || s.allowHTML !== c.allowHTML) && en(f, e.props), c.arrow ? l ? s.arrow !== c.arrow && (u.removeChild(l), u.appendChild(Qt(c.arrow))) : u.appendChild(Qt(c.arrow)) : l && u.removeChild(l);
|
|
1613
1617
|
}
|
|
1614
1618
|
return {
|
|
@@ -1617,9 +1621,9 @@ function _n(e) {
|
|
|
1617
1621
|
};
|
|
1618
1622
|
}
|
|
1619
1623
|
_n.$$tippy = !0;
|
|
1620
|
-
var
|
|
1621
|
-
function
|
|
1622
|
-
var n = Jt(e, Object.assign({},
|
|
1624
|
+
var Ki = 1, at = [], yt = [];
|
|
1625
|
+
function Zi(e, t) {
|
|
1626
|
+
var n = Jt(e, Object.assign({}, H, In(Yt(t)))), r, o, s, c = !1, p = !1, u = !1, f = !1, l, g, x, m = [], w = qt(Ge, n.interactiveDebounce), y, b = Ki++, T = null, R = Ci(n.plugins), L = {
|
|
1623
1627
|
// Is the instance currently enabled?
|
|
1624
1628
|
isEnabled: !0,
|
|
1625
1629
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1635,9 +1639,9 @@ function Ki(e, t) {
|
|
|
1635
1639
|
id: b,
|
|
1636
1640
|
reference: e,
|
|
1637
1641
|
popper: Be(),
|
|
1638
|
-
popperInstance:
|
|
1642
|
+
popperInstance: T,
|
|
1639
1643
|
props: n,
|
|
1640
|
-
state:
|
|
1644
|
+
state: L,
|
|
1641
1645
|
plugins: R,
|
|
1642
1646
|
// methods
|
|
1643
1647
|
clearDelayTimeouts: et,
|
|
@@ -1661,14 +1665,14 @@ function Ki(e, t) {
|
|
|
1661
1665
|
return xe(), Q(), k(), M("onCreate", [i]), n.showOnCreate && Me(), d.addEventListener("mouseenter", function() {
|
|
1662
1666
|
i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
|
|
1663
1667
|
}), d.addEventListener("mouseleave", function() {
|
|
1664
|
-
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 &&
|
|
1668
|
+
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", w);
|
|
1665
1669
|
}), i;
|
|
1666
|
-
function
|
|
1670
|
+
function P() {
|
|
1667
1671
|
var a = i.props.touch;
|
|
1668
1672
|
return Array.isArray(a) ? a : [a, 0];
|
|
1669
1673
|
}
|
|
1670
|
-
function
|
|
1671
|
-
return
|
|
1674
|
+
function A() {
|
|
1675
|
+
return P()[0] === "hold";
|
|
1672
1676
|
}
|
|
1673
1677
|
function C() {
|
|
1674
1678
|
var a;
|
|
@@ -1677,15 +1681,15 @@ function Ki(e, t) {
|
|
|
1677
1681
|
function I() {
|
|
1678
1682
|
return y || e;
|
|
1679
1683
|
}
|
|
1680
|
-
function
|
|
1684
|
+
function U() {
|
|
1681
1685
|
var a = I().parentNode;
|
|
1682
|
-
return a ?
|
|
1686
|
+
return a ? Mi(a) : document;
|
|
1683
1687
|
}
|
|
1684
1688
|
function F() {
|
|
1685
|
-
return
|
|
1689
|
+
return At(d);
|
|
1686
1690
|
}
|
|
1687
1691
|
function j(a) {
|
|
1688
|
-
return i.state.isMounted && !i.state.isVisible || te.isTouch || l && l.type === "focus" ? 0 : ht(i.props.delay, a ? 0 : 1,
|
|
1692
|
+
return i.state.isMounted && !i.state.isVisible || te.isTouch || l && l.type === "focus" ? 0 : ht(i.props.delay, a ? 0 : 1, H.delay);
|
|
1689
1693
|
}
|
|
1690
1694
|
function k(a) {
|
|
1691
1695
|
a === void 0 && (a = !1), d.style.pointerEvents = i.props.interactive && !a ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
|
|
@@ -1722,7 +1726,7 @@ function Ki(e, t) {
|
|
|
1722
1726
|
}
|
|
1723
1727
|
}
|
|
1724
1728
|
function fe() {
|
|
1725
|
-
|
|
1729
|
+
U().removeEventListener("mousemove", w), at = at.filter(function(a) {
|
|
1726
1730
|
return a !== w;
|
|
1727
1731
|
});
|
|
1728
1732
|
}
|
|
@@ -1750,11 +1754,11 @@ function Ki(e, t) {
|
|
|
1750
1754
|
u = !1;
|
|
1751
1755
|
}
|
|
1752
1756
|
function G() {
|
|
1753
|
-
var a =
|
|
1757
|
+
var a = U();
|
|
1754
1758
|
a.addEventListener("mousedown", ee, !0), a.addEventListener("touchend", ee, ye), a.addEventListener("touchstart", re, ye), a.addEventListener("touchmove", de, ye);
|
|
1755
1759
|
}
|
|
1756
1760
|
function ie() {
|
|
1757
|
-
var a =
|
|
1761
|
+
var a = U();
|
|
1758
1762
|
a.removeEventListener("mousedown", ee, !0), a.removeEventListener("touchend", ee, ye), a.removeEventListener("touchstart", re, ye), a.removeEventListener("touchmove", de, ye);
|
|
1759
1763
|
}
|
|
1760
1764
|
function Ee(a, v) {
|
|
@@ -1787,18 +1791,18 @@ function Ki(e, t) {
|
|
|
1787
1791
|
});
|
|
1788
1792
|
}
|
|
1789
1793
|
function xe() {
|
|
1790
|
-
|
|
1794
|
+
A() && (ue("touchstart", Ie, {
|
|
1791
1795
|
passive: !0
|
|
1792
1796
|
}), ue("touchend", Ke, {
|
|
1793
1797
|
passive: !0
|
|
1794
|
-
})),
|
|
1798
|
+
})), Ri(i.props.trigger).forEach(function(a) {
|
|
1795
1799
|
if (a !== "manual")
|
|
1796
1800
|
switch (ue(a, Ie), a) {
|
|
1797
1801
|
case "mouseenter":
|
|
1798
1802
|
ue("mouseleave", Ke);
|
|
1799
1803
|
break;
|
|
1800
1804
|
case "focus":
|
|
1801
|
-
ue(
|
|
1805
|
+
ue(Ui ? "focusout" : "blur", Ne);
|
|
1802
1806
|
break;
|
|
1803
1807
|
case "focusin":
|
|
1804
1808
|
ue("focusout", Ne);
|
|
@@ -1816,7 +1820,7 @@ function Ki(e, t) {
|
|
|
1816
1820
|
var v, h = !1;
|
|
1817
1821
|
if (!(!i.state.isEnabled || _e(a) || p)) {
|
|
1818
1822
|
var S = ((v = l) == null ? void 0 : v.type) === "focus";
|
|
1819
|
-
l = a, y = a.currentTarget, Q(), !i.state.isVisible &&
|
|
1823
|
+
l = a, y = a.currentTarget, Q(), !i.state.isVisible && Ii(a) && at.forEach(function(O) {
|
|
1820
1824
|
return O(a);
|
|
1821
1825
|
}), a.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || c) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : Me(a), a.type === "click" && (c = !h), h && !S && ve(a);
|
|
1822
1826
|
}
|
|
@@ -1825,14 +1829,14 @@ function Ki(e, t) {
|
|
|
1825
1829
|
var v = a.target, h = I().contains(v) || d.contains(v);
|
|
1826
1830
|
if (!(a.type === "mousemove" && h)) {
|
|
1827
1831
|
var S = ce().concat(d).map(function(O) {
|
|
1828
|
-
var V, z = O._tippy,
|
|
1829
|
-
return
|
|
1832
|
+
var V, z = O._tippy, Ae = (V = z.popperInstance) == null ? void 0 : V.state;
|
|
1833
|
+
return Ae ? {
|
|
1830
1834
|
popperRect: O.getBoundingClientRect(),
|
|
1831
|
-
popperState:
|
|
1835
|
+
popperState: Ae,
|
|
1832
1836
|
props: n
|
|
1833
1837
|
} : null;
|
|
1834
1838
|
}).filter(Boolean);
|
|
1835
|
-
|
|
1839
|
+
ji(S, a) && (fe(), ve(a));
|
|
1836
1840
|
}
|
|
1837
1841
|
}
|
|
1838
1842
|
function Ke(a) {
|
|
@@ -1849,11 +1853,11 @@ function Ki(e, t) {
|
|
|
1849
1853
|
i.props.trigger.indexOf("focusin") < 0 && a.target !== I() || i.props.interactive && a.relatedTarget && d.contains(a.relatedTarget) || ve(a);
|
|
1850
1854
|
}
|
|
1851
1855
|
function _e(a) {
|
|
1852
|
-
return te.isTouch ?
|
|
1856
|
+
return te.isTouch ? A() !== a.type.indexOf("touch") >= 0 : !1;
|
|
1853
1857
|
}
|
|
1854
1858
|
function Ze() {
|
|
1855
1859
|
Je();
|
|
1856
|
-
var a = i.props, v = a.popperOptions, h = a.placement, S = a.offset, O = a.getReferenceClientRect, V = a.moveTransition, z = C() ?
|
|
1860
|
+
var a = i.props, v = a.popperOptions, h = a.placement, S = a.offset, O = a.getReferenceClientRect, V = a.moveTransition, z = C() ? At(d).arrow : null, Ae = O ? {
|
|
1857
1861
|
getBoundingClientRect: O,
|
|
1858
1862
|
contextElement: O.contextElement || I()
|
|
1859
1863
|
} : e, It = {
|
|
@@ -1862,12 +1866,12 @@ function Ki(e, t) {
|
|
|
1862
1866
|
phase: "beforeWrite",
|
|
1863
1867
|
requires: ["computeStyles"],
|
|
1864
1868
|
fn: function(rt) {
|
|
1865
|
-
var
|
|
1869
|
+
var Te = rt.state;
|
|
1866
1870
|
if (C()) {
|
|
1867
1871
|
var Bn = F(), vt = Bn.box;
|
|
1868
1872
|
["placement", "reference-hidden", "escaped"].forEach(function(it) {
|
|
1869
|
-
it === "placement" ? vt.setAttribute("data-placement",
|
|
1870
|
-
}),
|
|
1873
|
+
it === "placement" ? vt.setAttribute("data-placement", Te.placement) : Te.attributes.popper["data-popper-" + it] ? vt.setAttribute("data-" + it, "") : vt.removeAttribute("data-" + it);
|
|
1874
|
+
}), Te.attributes.popper = {};
|
|
1871
1875
|
}
|
|
1872
1876
|
}
|
|
1873
1877
|
}, he = [{
|
|
@@ -1902,7 +1906,7 @@ function Ki(e, t) {
|
|
|
1902
1906
|
element: z,
|
|
1903
1907
|
padding: 3
|
|
1904
1908
|
}
|
|
1905
|
-
}), he.push.apply(he, (v == null ? void 0 : v.modifiers) || []), i.popperInstance =
|
|
1909
|
+
}), he.push.apply(he, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = xi(Ae, d, Object.assign({}, v, {
|
|
1906
1910
|
placement: h,
|
|
1907
1911
|
onFirstUpdate: x,
|
|
1908
1912
|
modifiers: he
|
|
@@ -1913,7 +1917,7 @@ function Ki(e, t) {
|
|
|
1913
1917
|
}
|
|
1914
1918
|
function ae() {
|
|
1915
1919
|
var a = i.props.appendTo, v, h = I();
|
|
1916
|
-
i.props.interactive && a === Dn || a === "parent" ? v = h.parentNode : v = Rn(a, [h]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ze(), process.env.NODE_ENV !== "production" && se(i.props.interactive && a ===
|
|
1920
|
+
i.props.interactive && a === Dn || a === "parent" ? v = h.parentNode : v = Rn(a, [h]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ze(), process.env.NODE_ENV !== "production" && se(i.props.interactive && a === H.appendTo && h.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.", `
|
|
1917
1921
|
|
|
1918
1922
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
1919
1923
|
|
|
@@ -1926,7 +1930,7 @@ function Ki(e, t) {
|
|
|
1926
1930
|
}
|
|
1927
1931
|
function Me(a) {
|
|
1928
1932
|
i.clearDelayTimeouts(), a && M("onTrigger", [i, a]), G();
|
|
1929
|
-
var v = j(!0), h =
|
|
1933
|
+
var v = j(!0), h = P(), S = h[0], O = h[1];
|
|
1930
1934
|
te.isTouch && S === "hold" && O && (v = O), v ? r = setTimeout(function() {
|
|
1931
1935
|
i.show();
|
|
1932
1936
|
}, v) : i.show();
|
|
@@ -1974,18 +1978,18 @@ function Ki(e, t) {
|
|
|
1974
1978
|
}
|
|
1975
1979
|
function Mn() {
|
|
1976
1980
|
process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("show"));
|
|
1977
|
-
var a = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = te.isTouch && !i.props.touch, O = ht(i.props.duration, 0,
|
|
1981
|
+
var a = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = te.isTouch && !i.props.touch, O = ht(i.props.duration, 0, H.duration);
|
|
1978
1982
|
if (!(a || v || h || S) && !I().hasAttribute("disabled") && (M("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
1979
1983
|
if (i.state.isVisible = !0, C() && (d.style.visibility = "visible"), k(), G(), i.state.isMounted || (d.style.transition = "none"), C()) {
|
|
1980
|
-
var V = F(), z = V.box,
|
|
1981
|
-
mt([z,
|
|
1984
|
+
var V = F(), z = V.box, Ae = V.content;
|
|
1985
|
+
mt([z, Ae], 0);
|
|
1982
1986
|
}
|
|
1983
1987
|
x = function() {
|
|
1984
1988
|
var he;
|
|
1985
1989
|
if (!(!i.state.isVisible || f)) {
|
|
1986
1990
|
if (f = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, C() && i.props.animation) {
|
|
1987
|
-
var dt = F(), rt = dt.box,
|
|
1988
|
-
mt([rt,
|
|
1991
|
+
var dt = F(), rt = dt.box, Te = dt.content;
|
|
1992
|
+
mt([rt, Te], O), Xt([rt, Te], "visible");
|
|
1989
1993
|
}
|
|
1990
1994
|
J(), Q(), zt(yt, i), (he = i.popperInstance) == null || he.forceUpdate(), M("onMount", [i]), i.props.animation && C() && oe(O, function() {
|
|
1991
1995
|
i.state.isShown = !0, M("onShown", [i]);
|
|
@@ -1996,7 +2000,7 @@ function Ki(e, t) {
|
|
|
1996
2000
|
}
|
|
1997
2001
|
function jn() {
|
|
1998
2002
|
process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("hide"));
|
|
1999
|
-
var a = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = ht(i.props.duration, 1,
|
|
2003
|
+
var a = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, S = ht(i.props.duration, 1, H.duration);
|
|
2000
2004
|
if (!(a || v || h) && (M("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
2001
2005
|
if (i.state.isVisible = !1, i.state.isShown = !1, f = !1, c = !1, C() && (d.style.visibility = "hidden"), fe(), ie(), k(!0), C()) {
|
|
2002
2006
|
var O = F(), V = O.box, z = O.content;
|
|
@@ -2006,7 +2010,7 @@ function Ki(e, t) {
|
|
|
2006
2010
|
}
|
|
2007
2011
|
}
|
|
2008
2012
|
function kn(a) {
|
|
2009
|
-
process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("hideWithInteractivity")),
|
|
2013
|
+
process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("hideWithInteractivity")), U().addEventListener("mousemove", w), zt(at, w), w(a);
|
|
2010
2014
|
}
|
|
2011
2015
|
function Vn() {
|
|
2012
2016
|
process.env.NODE_ENV !== "production" && se(i.state.isDestroyed, Se("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Je(), ce().forEach(function(a) {
|
|
@@ -2021,13 +2025,13 @@ function Ki(e, t) {
|
|
|
2021
2025
|
}
|
|
2022
2026
|
function Ye(e, t) {
|
|
2023
2027
|
t === void 0 && (t = {});
|
|
2024
|
-
var n =
|
|
2025
|
-
process.env.NODE_ENV !== "production" && (
|
|
2028
|
+
var n = H.plugins.concat(t.plugins || []);
|
|
2029
|
+
process.env.NODE_ENV !== "production" && (Wi(e), Nn(t, n)), $i();
|
|
2026
2030
|
var r = Object.assign({}, t, {
|
|
2027
2031
|
plugins: n
|
|
2028
|
-
}), o =
|
|
2032
|
+
}), o = _i(e);
|
|
2029
2033
|
if (process.env.NODE_ENV !== "production") {
|
|
2030
|
-
var s =
|
|
2034
|
+
var s = He(r.content), c = o.length > 1;
|
|
2031
2035
|
se(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.", `
|
|
2032
2036
|
|
|
2033
2037
|
`, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
|
|
@@ -2036,13 +2040,13 @@ function Ye(e, t) {
|
|
|
2036
2040
|
`, "2) content: () => element.cloneNode(true)"].join(" "));
|
|
2037
2041
|
}
|
|
2038
2042
|
var p = o.reduce(function(u, f) {
|
|
2039
|
-
var l = f &&
|
|
2043
|
+
var l = f && Zi(f, r);
|
|
2040
2044
|
return l && u.push(l), u;
|
|
2041
2045
|
}, []);
|
|
2042
|
-
return
|
|
2046
|
+
return He(e) ? p[0] : p;
|
|
2043
2047
|
}
|
|
2044
|
-
Ye.defaultProps =
|
|
2045
|
-
Ye.setDefaultProps =
|
|
2048
|
+
Ye.defaultProps = H;
|
|
2049
|
+
Ye.setDefaultProps = Yi;
|
|
2046
2050
|
Ye.currentInput = te;
|
|
2047
2051
|
Object.assign({}, mn, {
|
|
2048
2052
|
effect: function(t) {
|
|
@@ -2061,7 +2065,7 @@ Object.assign({}, mn, {
|
|
|
2061
2065
|
Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
|
|
2062
2066
|
}
|
|
2063
2067
|
});
|
|
2064
|
-
var
|
|
2068
|
+
var Ji = {
|
|
2065
2069
|
name: "sticky",
|
|
2066
2070
|
defaultValue: !1,
|
|
2067
2071
|
fn: function(t) {
|
|
@@ -2090,13 +2094,13 @@ function tn(e, t) {
|
|
|
2090
2094
|
Ye.setDefaultProps({
|
|
2091
2095
|
render: _n
|
|
2092
2096
|
});
|
|
2093
|
-
const
|
|
2097
|
+
const Qi = (e) => ({
|
|
2094
2098
|
name: "arrowDetected",
|
|
2095
2099
|
enabled: !0,
|
|
2096
2100
|
phase: "main",
|
|
2097
2101
|
fn: e,
|
|
2098
2102
|
requiresIfExists: ["offset"]
|
|
2099
|
-
}),
|
|
2103
|
+
}), eo = [
|
|
2100
2104
|
"bottom",
|
|
2101
2105
|
"bottom-start",
|
|
2102
2106
|
"bottom-end",
|
|
@@ -2109,14 +2113,14 @@ const Ji = (e) => ({
|
|
|
2109
2113
|
"top",
|
|
2110
2114
|
"top-start",
|
|
2111
2115
|
"top-end"
|
|
2112
|
-
],
|
|
2116
|
+
], to = [!0, !1, "reference", "popper"], no = (e, t) => {
|
|
2113
2117
|
const { contentElement: n } = { ...t };
|
|
2114
2118
|
return delete t.contentElement, Ye(e, {
|
|
2115
2119
|
...t,
|
|
2116
|
-
plugins: [
|
|
2117
|
-
render: () =>
|
|
2120
|
+
plugins: [Ji],
|
|
2121
|
+
render: () => ao(n)
|
|
2118
2122
|
});
|
|
2119
|
-
},
|
|
2123
|
+
}, ro = ({
|
|
2120
2124
|
boundary: e = "clippingParents",
|
|
2121
2125
|
fallbackPlacements: t = [],
|
|
2122
2126
|
onChangePlacement: n = () => {
|
|
@@ -2145,35 +2149,35 @@ const Ji = (e) => ({
|
|
|
2145
2149
|
tether: o
|
|
2146
2150
|
}
|
|
2147
2151
|
},
|
|
2148
|
-
|
|
2152
|
+
Qi(({ state: s }) => {
|
|
2149
2153
|
n(s.placement);
|
|
2150
2154
|
})
|
|
2151
2155
|
]
|
|
2152
|
-
}),
|
|
2156
|
+
}), io = (e) => {
|
|
2153
2157
|
const t = document.createElement("span");
|
|
2154
2158
|
return t.innerText = e.innerText || "", e.innerText = "", e.appendChild(t), t;
|
|
2155
|
-
}, io = (e) => {
|
|
2156
|
-
const t = e == null ? void 0 : e.children[0];
|
|
2157
|
-
return t || ro(e);
|
|
2158
2159
|
}, oo = (e) => {
|
|
2160
|
+
const t = e == null ? void 0 : e.children[0];
|
|
2161
|
+
return t || io(e);
|
|
2162
|
+
}, ao = (e) => {
|
|
2159
2163
|
const t = document.createElement("div");
|
|
2160
2164
|
return t.className = "tippy-box d-ps-absolute", t.appendChild(e), {
|
|
2161
2165
|
popper: t
|
|
2162
2166
|
};
|
|
2163
|
-
},
|
|
2164
|
-
...
|
|
2165
|
-
],
|
|
2167
|
+
}, so = [
|
|
2168
|
+
...eo
|
|
2169
|
+
], uo = 300, co = {
|
|
2166
2170
|
hover: "d-tooltip--hover",
|
|
2167
2171
|
show: "d-tooltip--show",
|
|
2168
2172
|
inverted: "d-tooltip--inverted",
|
|
2169
2173
|
hide: "d-tooltip--hide"
|
|
2170
|
-
},
|
|
2171
|
-
...
|
|
2172
|
-
],
|
|
2173
|
-
const
|
|
2174
|
+
}, po = [
|
|
2175
|
+
...to
|
|
2176
|
+
], Ao = [!0, !1, "toggle"];
|
|
2177
|
+
const lo = {
|
|
2174
2178
|
name: "DtTooltip",
|
|
2175
2179
|
components: {
|
|
2176
|
-
DtLazyShow:
|
|
2180
|
+
DtLazyShow: hr
|
|
2177
2181
|
},
|
|
2178
2182
|
props: {
|
|
2179
2183
|
/**
|
|
@@ -2244,7 +2248,7 @@ const po = {
|
|
|
2244
2248
|
type: String,
|
|
2245
2249
|
default: "top",
|
|
2246
2250
|
validator(e) {
|
|
2247
|
-
return
|
|
2251
|
+
return so.includes(e);
|
|
2248
2252
|
}
|
|
2249
2253
|
},
|
|
2250
2254
|
/**
|
|
@@ -2265,7 +2269,7 @@ const po = {
|
|
|
2265
2269
|
sticky: {
|
|
2266
2270
|
type: [Boolean, String],
|
|
2267
2271
|
default: !1,
|
|
2268
|
-
validator: (e) =>
|
|
2272
|
+
validator: (e) => po.includes(e)
|
|
2269
2273
|
},
|
|
2270
2274
|
/**
|
|
2271
2275
|
* Additional css classes for the tooltip content element.
|
|
@@ -2283,6 +2287,15 @@ const po = {
|
|
|
2283
2287
|
type: String,
|
|
2284
2288
|
default: ""
|
|
2285
2289
|
},
|
|
2290
|
+
/**
|
|
2291
|
+
* Controls whether hover/focus causes the tooltip to appear.
|
|
2292
|
+
* Cannot be combined with the show prop. show value will be ignored.
|
|
2293
|
+
* by default this is true, if you override with false, the tooltip will never show up.
|
|
2294
|
+
*/
|
|
2295
|
+
enabled: {
|
|
2296
|
+
type: Boolean,
|
|
2297
|
+
default: !0
|
|
2298
|
+
},
|
|
2286
2299
|
/**
|
|
2287
2300
|
* Controls whether the tooltip is shown. Leaving this null will have the tooltip trigger on mouseover by default.
|
|
2288
2301
|
* If you set this value, the default mouseover behavior will be disabled and you can control it as you need.
|
|
@@ -2335,7 +2348,7 @@ const po = {
|
|
|
2335
2348
|
],
|
|
2336
2349
|
data() {
|
|
2337
2350
|
return {
|
|
2338
|
-
TOOLTIP_KIND_MODIFIERS:
|
|
2351
|
+
TOOLTIP_KIND_MODIFIERS: co,
|
|
2339
2352
|
tip: null,
|
|
2340
2353
|
inTimer: null,
|
|
2341
2354
|
// Internal state for whether the tooltip is shown. Changing the prop
|
|
@@ -2348,6 +2361,10 @@ const po = {
|
|
|
2348
2361
|
};
|
|
2349
2362
|
},
|
|
2350
2363
|
computed: {
|
|
2364
|
+
// whether the tooltip is visible or not.
|
|
2365
|
+
isVisible() {
|
|
2366
|
+
return this.isShown && this.enabled && (!!this.message.trim() || !!this.$slots.default);
|
|
2367
|
+
},
|
|
2351
2368
|
tooltipListeners() {
|
|
2352
2369
|
return {
|
|
2353
2370
|
...this.$listeners,
|
|
@@ -2366,7 +2383,7 @@ const po = {
|
|
|
2366
2383
|
trigger: "manual",
|
|
2367
2384
|
placement: this.placement,
|
|
2368
2385
|
sticky: this.sticky,
|
|
2369
|
-
popperOptions:
|
|
2386
|
+
popperOptions: ro({
|
|
2370
2387
|
fallbackPlacements: this.fallbackPlacements,
|
|
2371
2388
|
hasHideModifierEnabled: !0,
|
|
2372
2389
|
onChangePlacement: this.onChangePlacement
|
|
@@ -2374,7 +2391,7 @@ const po = {
|
|
|
2374
2391
|
};
|
|
2375
2392
|
},
|
|
2376
2393
|
anchor() {
|
|
2377
|
-
return this.externalAnchor ? document.querySelector(this.externalAnchor) :
|
|
2394
|
+
return this.externalAnchor ? document.body.querySelector(this.externalAnchor) : oo(this.$refs.anchor);
|
|
2378
2395
|
}
|
|
2379
2396
|
},
|
|
2380
2397
|
watch: {
|
|
@@ -2398,11 +2415,11 @@ const po = {
|
|
|
2398
2415
|
}
|
|
2399
2416
|
},
|
|
2400
2417
|
mounted() {
|
|
2401
|
-
this.tip =
|
|
2418
|
+
!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 = no(this.anchor, this.initOptions()), this.isShown && this.tip.show();
|
|
2402
2419
|
},
|
|
2403
2420
|
beforeDestroy() {
|
|
2404
2421
|
var e;
|
|
2405
|
-
this.tip && ((e = this.tip) == null || e.destroy());
|
|
2422
|
+
this.externalAnchor && this.removeExternalAnchorEventListeners(), this.tip && ((e = this.tip) == null || e.destroy());
|
|
2406
2423
|
},
|
|
2407
2424
|
methods: {
|
|
2408
2425
|
calculateAnchorZindex() {
|
|
@@ -2414,18 +2431,15 @@ const po = {
|
|
|
2414
2431
|
return this.anchor.matches(":focus-visible");
|
|
2415
2432
|
},
|
|
2416
2433
|
onEnterAnchor(e) {
|
|
2417
|
-
|
|
2418
|
-
this.
|
|
2419
|
-
|
|
2420
|
-
}).bind(this, e), so);
|
|
2421
|
-
else
|
|
2422
|
-
return this.triggerShow(e);
|
|
2434
|
+
this.delay ? this.inTimer = setTimeout((function(t) {
|
|
2435
|
+
this.triggerShow(t);
|
|
2436
|
+
}).bind(this, e), uo) : this.triggerShow(e);
|
|
2423
2437
|
},
|
|
2424
2438
|
triggerShow(e) {
|
|
2425
2439
|
e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
|
|
2426
2440
|
},
|
|
2427
|
-
onLeaveAnchor() {
|
|
2428
|
-
|
|
2441
|
+
onLeaveAnchor(e) {
|
|
2442
|
+
e.type === "keydown" && e.code !== "Escape" || (clearTimeout(this.inTimer), this.triggerHide());
|
|
2429
2443
|
},
|
|
2430
2444
|
triggerHide() {
|
|
2431
2445
|
this.show === null && (this.isShown = !1);
|
|
@@ -2457,10 +2471,24 @@ const po = {
|
|
|
2457
2471
|
onMount: this.onMount,
|
|
2458
2472
|
...this.tippyProps
|
|
2459
2473
|
};
|
|
2474
|
+
},
|
|
2475
|
+
addExternalAnchorEventListeners() {
|
|
2476
|
+
["focusin", "mouseenter"].forEach((e) => {
|
|
2477
|
+
this.anchor.addEventListener(e, (t) => this.onEnterAnchor(t));
|
|
2478
|
+
}), ["focusout", "mouseleave", "keydown"].forEach((e) => {
|
|
2479
|
+
this.anchor.addEventListener(e, (t) => this.onLeaveAnchor(t));
|
|
2480
|
+
});
|
|
2481
|
+
},
|
|
2482
|
+
removeExternalAnchorEventListeners() {
|
|
2483
|
+
["focusin", "mouseenter"].forEach((e) => {
|
|
2484
|
+
this.anchor.removeEventListener(e, (t) => this.onEnterAnchor(t));
|
|
2485
|
+
}), ["focusout", "mouseleave", "keydown"].forEach((e) => {
|
|
2486
|
+
this.anchor.removeEventListener(e, (t) => this.onLeaveAnchor(t));
|
|
2487
|
+
});
|
|
2460
2488
|
}
|
|
2461
2489
|
}
|
|
2462
2490
|
};
|
|
2463
|
-
var
|
|
2491
|
+
var fo = function() {
|
|
2464
2492
|
var t = this, n = t._self._c;
|
|
2465
2493
|
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) {
|
|
2466
2494
|
return !r.type.indexOf("key") && t._k(r.keyCode, "esc", 27, r.key, ["Esc", "Escape"]) ? null : t.onLeaveAnchor.apply(null, arguments);
|
|
@@ -2471,45 +2499,46 @@ var lo = function() {
|
|
|
2471
2499
|
[t.TOOLTIP_KIND_MODIFIERS.inverted]: t.inverted
|
|
2472
2500
|
},
|
|
2473
2501
|
t.contentClass
|
|
2474
|
-
], attrs: { id: t.id, show: t.
|
|
2502
|
+
], 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() {
|
|
2475
2503
|
return [t._v(" " + t._s(t.message) + " ")];
|
|
2476
2504
|
})], 2)], 1);
|
|
2477
|
-
},
|
|
2478
|
-
po,
|
|
2505
|
+
}, vo = [], ho = /* @__PURE__ */ nn(
|
|
2479
2506
|
lo,
|
|
2480
2507
|
fo,
|
|
2508
|
+
vo,
|
|
2481
2509
|
!1,
|
|
2482
2510
|
null,
|
|
2483
2511
|
null,
|
|
2484
2512
|
null,
|
|
2485
2513
|
null
|
|
2486
2514
|
);
|
|
2487
|
-
const To =
|
|
2515
|
+
const To = ho.exports;
|
|
2488
2516
|
export {
|
|
2489
2517
|
To as D,
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2518
|
+
Eo as E,
|
|
2519
|
+
wo as L,
|
|
2520
|
+
so as T,
|
|
2493
2521
|
ge as V,
|
|
2494
2522
|
zn as a,
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2523
|
+
hr as b,
|
|
2524
|
+
to as c,
|
|
2525
|
+
ro as d,
|
|
2526
|
+
no as e,
|
|
2499
2527
|
Gn as f,
|
|
2500
2528
|
rn as g,
|
|
2501
2529
|
an as h,
|
|
2502
2530
|
er as i,
|
|
2503
2531
|
Xn as j,
|
|
2504
2532
|
Jn as k,
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2533
|
+
yo as l,
|
|
2534
|
+
bo as m,
|
|
2535
|
+
pr as n,
|
|
2536
|
+
Fn as o,
|
|
2537
|
+
Oo as p,
|
|
2510
2538
|
uo as q,
|
|
2511
2539
|
co as r,
|
|
2512
2540
|
cr as s,
|
|
2513
|
-
|
|
2514
|
-
|
|
2541
|
+
po as t,
|
|
2542
|
+
xo as u,
|
|
2543
|
+
Ao as v
|
|
2515
2544
|
};
|