@dialpad/dialtone 9.18.0 → 9.20.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/dist/css/dialtone.css +2 -2
- package/dist/tokens/android/java/tokens-dark.kt +1 -1
- package/dist/tokens/android/java/tokens-light.kt +1 -1
- package/dist/tokens/android/res/values/colors-dark.xml +1 -1
- package/dist/tokens/android/res/values/colors-light.xml +1 -1
- package/dist/tokens/android/res/values/dimens.xml +1 -1
- package/dist/tokens/css/variables-dark.css +1 -1
- package/dist/tokens/css/variables-light.css +1 -1
- package/dist/tokens/ios/tokens-dark.swift +1 -1
- package/dist/tokens/ios/tokens-light.swift +1 -1
- package/dist/tokens/less/variables-dark.less +1 -1
- package/dist/tokens/less/variables-light.less +1 -1
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +5 -5
- package/dist/vue2/dialtone-vue.js +136 -136
- package/dist/vue2/directives.cjs +1 -1
- package/dist/vue2/directives.js +1 -1
- package/dist/vue2/emoji.cjs +1 -1
- package/dist/vue2/emoji.js +4 -4
- package/dist/vue2/{emoji_picker-GfisVsYp.js → emoji_picker-oRqwDR1h.js} +2 -2
- package/dist/vue2/{emoji_picker-zi8qwHtl.cjs → emoji_picker-pzXZS6X7.cjs} +1 -1
- package/dist/vue2/{emoji_text_wrapper-JQf6BpGc.cjs → emoji_text_wrapper-6Yl5NIEJ.cjs} +1 -1
- package/dist/vue2/{emoji_text_wrapper-OrF0kZ6L.js → emoji_text_wrapper-V-Qf4XZv.js} +2 -2
- package/dist/vue2/{index-G0QxbVGe.js → index-74FmkvkN.js} +1 -1
- package/dist/vue2/{index-ihXjcrB-.cjs → index-dsfPzyLy.cjs} +1 -1
- package/dist/vue2/message_input.cjs +1 -1
- package/dist/vue2/message_input.js +6 -6
- package/dist/vue2/{rich_text_editor-Ty4BjcSP.cjs → rich_text_editor-OOdKm54S.cjs} +20 -20
- package/dist/vue2/{rich_text_editor-vihc4pHS.js → rich_text_editor-QsHU2mru.js} +927 -950
- package/dist/vue2/style.css +1 -1
- package/dist/vue2/{tooltip-AVHt9lw0.js → tooltip-mMe9F6C6.js} +474 -441
- package/dist/vue2/tooltip-sE12R_AU.cjs +21 -0
- package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts +30 -0
- package/dist/vue2/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/vue2/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +5 -5
- package/dist/vue3/dialtone-vue.js +291 -280
- package/dist/vue3/directives.cjs +1 -1
- package/dist/vue3/directives.js +1 -1
- package/dist/vue3/{emoji-acqIsOA0.js → emoji-ifbDMGtx.js} +1 -1
- package/dist/vue3/{emoji-gFUvTgzf.cjs → emoji-q4ZpxDOX.cjs} +1 -1
- package/dist/vue3/emoji.cjs +1 -1
- package/dist/vue3/emoji.js +4 -4
- package/dist/vue3/{emoji_picker-7KBwg94e.js → emoji_picker-G6QLC4uN.js} +2 -2
- package/dist/vue3/{emoji_picker-XmAzvsvD.cjs → emoji_picker-i3y8jyyY.cjs} +1 -1
- package/dist/vue3/{emoji_text_wrapper-Cr15_VcH.cjs → emoji_text_wrapper-spWldgj4.cjs} +1 -1
- package/dist/vue3/{emoji_text_wrapper-TK25xXF3.js → emoji_text_wrapper-vQeoLfQ4.js} +1 -1
- package/dist/vue3/message_input.cjs +1 -1
- package/dist/vue3/message_input.js +78 -78
- package/dist/vue3/{rich_text_editor-BgXaC2KF.js → rich_text_editor-PlDAAo2K.js} +772 -794
- package/dist/vue3/{rich_text_editor-mAENLkE_.cjs → rich_text_editor-m8DM-vOU.cjs} +20 -20
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/{tooltip-Od71Luh6.js → tooltip-FcHJcgMd.js} +503 -470
- package/dist/vue3/tooltip-px-Nxl4C.cjs +21 -0
- package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts +30 -0
- package/dist/vue3/types/components/tooltip/tooltip.vue.d.ts.map +1 -1
- package/dist/vue3/types/recipes/conversation_view/message_input/message_input.vue.d.ts +1 -1
- package/package.json +6 -2
- package/dist/vue2/tooltip-6msmWvq0.cjs +0 -21
- package/dist/vue3/tooltip-8utqWHHH.cjs +0 -21
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { h as
|
|
1
|
+
import { h as Wn, Comment as zn, Text as qn, openBlock as mt, createBlock as Yn, Transition as Xn, mergeProps as en, withCtx as tn, withDirectives as Gn, createElementVNode as Kn, normalizeProps as Zn, guardReactiveProps as Qn, renderSlot as gt, createCommentVNode as nn, vShow as Jn, resolveComponent as er, createElementBlock as It, withKeys as tr, createVNode as nr, toHandlers as rr, createTextVNode as ir, toDisplayString as or } from "vue";
|
|
2
2
|
const he = {
|
|
3
3
|
ERROR: "error",
|
|
4
4
|
WARNING: "warning",
|
|
5
5
|
SUCCESS: "success"
|
|
6
|
-
},
|
|
6
|
+
}, Po = {
|
|
7
7
|
LARGE: "lg",
|
|
8
8
|
EXTRA_LARGE: "xl"
|
|
9
|
-
},
|
|
9
|
+
}, Lo = {
|
|
10
10
|
xs: "",
|
|
11
11
|
sm: "",
|
|
12
12
|
md: "",
|
|
13
13
|
lg: "d-description--lg",
|
|
14
14
|
xl: "d-description--xl"
|
|
15
|
-
},
|
|
15
|
+
}, Io = {
|
|
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
|
-
},
|
|
21
|
+
}, No = {
|
|
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
|
-
},
|
|
39
|
-
let
|
|
40
|
-
const
|
|
41
|
-
function rn(e =
|
|
42
|
-
return `${e}${
|
|
38
|
+
}, ar = he.ERROR, sr = "dt";
|
|
39
|
+
let ur = 0, Nt;
|
|
40
|
+
const cr = typeof setImmediate == "function" ? setImmediate : setTimeout;
|
|
41
|
+
function rn(e = sr) {
|
|
42
|
+
return `${e}${ur++}`;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function lr(e, t) {
|
|
45
45
|
if (t) {
|
|
46
|
-
const n =
|
|
46
|
+
const n = fr(t);
|
|
47
47
|
return e[Math.abs(n) % e.length];
|
|
48
48
|
} else
|
|
49
49
|
return e[on(e.length)];
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function fr(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 cr(e) {
|
|
|
57
57
|
function on(e) {
|
|
58
58
|
return Math.floor(Math.random() * e);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function pr(e) {
|
|
61
61
|
return e ? e.map((t) => typeof t == "string" ? {
|
|
62
62
|
message: t,
|
|
63
|
-
type:
|
|
63
|
+
type: ar
|
|
64
64
|
} : t) : [];
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function dr(e) {
|
|
67
67
|
const t = an(e);
|
|
68
68
|
return !e || !t ? [] : e.filter((n) => !!n.message && n.type === t);
|
|
69
69
|
}
|
|
@@ -73,20 +73,20 @@ function an(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
|
|
77
|
-
|
|
76
|
+
const vr = (e) => Wn("div", { innerHTML: e.html }), hr = () => new Promise((e) => {
|
|
77
|
+
cr(e);
|
|
78
78
|
});
|
|
79
|
-
function
|
|
80
|
-
return e ? e(t).some((n) => n.type ===
|
|
79
|
+
function mr(e, t = {}) {
|
|
80
|
+
return e ? e(t).some((n) => n.type === zn || Array.isArray(n.children) && !n.children.length ? !1 : n.type !== qn || typeof n.children == "string" && n.children.trim() !== "") : !1;
|
|
81
81
|
}
|
|
82
|
-
const
|
|
82
|
+
const gr = (e) => e == null ? void 0 : e.toLowerCase().split("-").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(""), yr = (e) => {
|
|
83
83
|
const t = Object.entries(e).filter(([n]) => n.startsWith("on"));
|
|
84
84
|
return Object.fromEntries(t);
|
|
85
85
|
};
|
|
86
|
-
function
|
|
86
|
+
function br(e, t = 300) {
|
|
87
87
|
clearTimeout(Nt), Nt = setTimeout(e, t);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function wr(e) {
|
|
90
90
|
const t = e.getBoundingClientRect(), n = {
|
|
91
91
|
top: t.top < 0,
|
|
92
92
|
left: t.left < 0,
|
|
@@ -95,22 +95,22 @@ function yr(e) {
|
|
|
95
95
|
};
|
|
96
96
|
return n.any = Object.values(n).some((r) => r), n.all = Object.values(n).every((r) => r), n;
|
|
97
97
|
}
|
|
98
|
-
const
|
|
98
|
+
const Er = /(?:(?:[^\s!@#$%^&*()_=+[\]{}\\|;:'",.<>/?]+)\.)/, Or = new RegExp(
|
|
99
99
|
"(?:com|ru|org|net|de|jp|uk|br|it|pl|fr|in|au|ir|info|nl|cn|es|cz|kr|ca|eu|ua|co|gr|za|ro|biz|ch|se|tw|mx|vn|hu|be|tr|at|dk|tv|me|ar|sk|no|us|fi|id|cl|xyz|io|pt|by|il|ie|nz|kz|hk|lt|cc|my|sg|club|bg|edu|рф|pk|su|top|th|hr|rs|pe|pro|si|az|lv|pw|ae|ph|online|ng|ee|ws|ve|cat)"
|
|
100
|
-
),
|
|
100
|
+
), xr = new RegExp(
|
|
101
101
|
"(?:(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])\\.){3}(?:[0-9]|[1-9]\\d|1\\d{2}|2[0-4]\\d|25[0-5])"
|
|
102
102
|
), sn = new RegExp(
|
|
103
103
|
"(?:" + [
|
|
104
104
|
[
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
Er.source,
|
|
106
|
+
Or.source
|
|
107
107
|
].join("+"),
|
|
108
|
-
|
|
108
|
+
xr.source
|
|
109
109
|
].join("|") + ")"
|
|
110
|
-
),
|
|
110
|
+
), Tr = /(?:(?:[;/][^#?<>\s]*)?)/, un = /(?:(?:\?[^#<>\s]+)?(?:#[^<>\s]+)?)/, cn = new RegExp(
|
|
111
111
|
"\\b" + [
|
|
112
112
|
sn.source,
|
|
113
|
-
|
|
113
|
+
Tr.source,
|
|
114
114
|
un.source,
|
|
115
115
|
"(?!\\w)"
|
|
116
116
|
].join("+")
|
|
@@ -131,7 +131,7 @@ function pn(e = 7, t = 15) {
|
|
|
131
131
|
`${n ? "(?:^|(?<=\\W))" : ""}(?![\\s\\-])\\+?(?:[0-9()\\- \\t]{${e},${t}})(?=\\b)(?=\\W(?=\\W|$)|\\s|$)`
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
const dn = pn(),
|
|
134
|
+
const dn = pn(), Ar = new RegExp(
|
|
135
135
|
[
|
|
136
136
|
cn.source,
|
|
137
137
|
ln.source,
|
|
@@ -140,45 +140,45 @@ const dn = pn(), xr = new RegExp(
|
|
|
140
140
|
].join("|"),
|
|
141
141
|
"gi"
|
|
142
142
|
);
|
|
143
|
-
function
|
|
143
|
+
function Sr(e) {
|
|
144
144
|
var t;
|
|
145
145
|
return !e || !["string", "number"].includes(typeof e) ? !1 : (e = e.toString(), ((t = dn.exec(e)) == null ? void 0 : t[0]) === e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Dr(e) {
|
|
148
148
|
var t, n;
|
|
149
149
|
return !e || typeof e != "string" ? !1 : ((t = cn.exec(e)) == null ? void 0 : t[0]) === e || ((n = ln.exec(e)) == null ? void 0 : n[0]) === e;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Rr(e) {
|
|
152
152
|
var t;
|
|
153
153
|
return !e || typeof e != "string" ? !1 : ((t = fn.exec(e)) == null ? void 0 : t[0]) === e;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Cr(e) {
|
|
156
156
|
return e.filter((t) => !!t).join(" ");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Pr(e, t = "en-US") {
|
|
159
159
|
return e.replace(new RegExp("^\\p{CWU}", "u"), (n) => n.toLocaleUpperCase(t));
|
|
160
160
|
}
|
|
161
|
-
const
|
|
161
|
+
const Mo = {
|
|
162
162
|
getUniqueString: rn,
|
|
163
|
-
getRandomElement:
|
|
163
|
+
getRandomElement: lr,
|
|
164
164
|
getRandomInt: on,
|
|
165
|
-
formatMessages:
|
|
166
|
-
filterFormattedMessages:
|
|
165
|
+
formatMessages: pr,
|
|
166
|
+
filterFormattedMessages: dr,
|
|
167
167
|
hasFormattedMessageOfType: ot,
|
|
168
168
|
getValidationState: an,
|
|
169
|
-
htmlFragment:
|
|
170
|
-
flushPromises:
|
|
171
|
-
kebabCaseToPascalCase:
|
|
172
|
-
extractVueListeners:
|
|
173
|
-
debounce:
|
|
174
|
-
isOutOfViewPort:
|
|
169
|
+
htmlFragment: vr,
|
|
170
|
+
flushPromises: hr,
|
|
171
|
+
kebabCaseToPascalCase: gr,
|
|
172
|
+
extractVueListeners: yr,
|
|
173
|
+
debounce: br,
|
|
174
|
+
isOutOfViewPort: wr,
|
|
175
175
|
getPhoneNumberRegex: pn,
|
|
176
|
-
linkRegex:
|
|
177
|
-
isEmailAddress:
|
|
178
|
-
isPhoneNumber:
|
|
179
|
-
isURL:
|
|
180
|
-
safeConcatStrings:
|
|
181
|
-
capitalizeFirstLetter:
|
|
176
|
+
linkRegex: Ar,
|
|
177
|
+
isEmailAddress: Rr,
|
|
178
|
+
isPhoneNumber: Sr,
|
|
179
|
+
isURL: Dr,
|
|
180
|
+
safeConcatStrings: Cr,
|
|
181
|
+
capitalizeFirstLetter: Pr
|
|
182
182
|
}, vn = (e, t) => {
|
|
183
183
|
const n = e.__vccOpts || e;
|
|
184
184
|
for (const [r, o] of t)
|
|
@@ -243,31 +243,31 @@ const No = {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
|
-
function
|
|
247
|
-
return mt(),
|
|
246
|
+
function Ir(e, t, n, r, o, a) {
|
|
247
|
+
return mt(), Yn(Xn, en({
|
|
248
248
|
name: n.transition,
|
|
249
249
|
appear: n.appear
|
|
250
250
|
}, e.$attrs, { css: a.isCSSEnabled }), {
|
|
251
251
|
default: tn(() => [
|
|
252
|
-
|
|
252
|
+
Gn(Kn("div", Zn(Qn(e.$attrs)), [
|
|
253
253
|
o.initialized ? gt(e.$slots, "default", { key: 0 }) : nn("", !0)
|
|
254
254
|
], 16), [
|
|
255
|
-
[
|
|
255
|
+
[Jn, n.show]
|
|
256
256
|
])
|
|
257
257
|
]),
|
|
258
258
|
_: 3
|
|
259
259
|
}, 16, ["name", "appear", "css"]);
|
|
260
260
|
}
|
|
261
|
-
const
|
|
262
|
-
var
|
|
263
|
-
return e.concat([t + "-" +
|
|
264
|
-
}, []), mn = /* @__PURE__ */ [].concat(
|
|
265
|
-
return e.concat([t, t + "-" +
|
|
266
|
-
}, []),
|
|
261
|
+
const Nr = /* @__PURE__ */ vn(Lr, [["render", Ir]]);
|
|
262
|
+
var B = "top", Y = "bottom", X = "right", $ = "left", xt = "auto", Fe = [B, Y, X, $], Se = "start", Be = "end", Mr = "clippingParents", hn = "viewport", Ve = "popper", Vr = "reference", Mt = /* @__PURE__ */ Fe.reduce(function(e, t) {
|
|
263
|
+
return e.concat([t + "-" + Se, t + "-" + Be]);
|
|
264
|
+
}, []), mn = /* @__PURE__ */ [].concat(Fe, [xt]).reduce(function(e, t) {
|
|
265
|
+
return e.concat([t, t + "-" + Se, t + "-" + Be]);
|
|
266
|
+
}, []), jr = "beforeRead", kr = "read", _r = "afterRead", Br = "beforeMain", $r = "main", Ur = "afterMain", Hr = "beforeWrite", Fr = "write", Wr = "afterWrite", zr = [jr, kr, _r, Br, $r, Ur, Hr, Fr, Wr];
|
|
267
267
|
function te(e) {
|
|
268
268
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function W(e) {
|
|
271
271
|
if (e == null)
|
|
272
272
|
return window;
|
|
273
273
|
if (e.toString() !== "[object Window]") {
|
|
@@ -277,20 +277,20 @@ function F(e) {
|
|
|
277
277
|
return e;
|
|
278
278
|
}
|
|
279
279
|
function ye(e) {
|
|
280
|
-
var t =
|
|
280
|
+
var t = W(e).Element;
|
|
281
281
|
return e instanceof t || e instanceof Element;
|
|
282
282
|
}
|
|
283
283
|
function q(e) {
|
|
284
|
-
var t =
|
|
284
|
+
var t = W(e).HTMLElement;
|
|
285
285
|
return e instanceof t || e instanceof HTMLElement;
|
|
286
286
|
}
|
|
287
287
|
function Tt(e) {
|
|
288
288
|
if (typeof ShadowRoot > "u")
|
|
289
289
|
return !1;
|
|
290
|
-
var t =
|
|
290
|
+
var t = W(e).ShadowRoot;
|
|
291
291
|
return e instanceof t || e instanceof ShadowRoot;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function qr(e) {
|
|
294
294
|
var t = e.state;
|
|
295
295
|
Object.keys(t.elements).forEach(function(n) {
|
|
296
296
|
var r = t.styles[n] || {}, o = t.attributes[n] || {}, a = t.elements[n];
|
|
@@ -300,7 +300,7 @@ function Fr(e) {
|
|
|
300
300
|
}));
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function Yr(e) {
|
|
304
304
|
var t = e.state, n = {
|
|
305
305
|
popper: {
|
|
306
306
|
position: t.options.strategy,
|
|
@@ -328,14 +328,14 @@ const gn = {
|
|
|
328
328
|
name: "applyStyles",
|
|
329
329
|
enabled: !0,
|
|
330
330
|
phase: "write",
|
|
331
|
-
fn:
|
|
332
|
-
effect:
|
|
331
|
+
fn: qr,
|
|
332
|
+
effect: Yr,
|
|
333
333
|
requires: ["computeStyles"]
|
|
334
334
|
};
|
|
335
335
|
function ee(e) {
|
|
336
336
|
return e.split("-")[0];
|
|
337
337
|
}
|
|
338
|
-
var ge = Math.max, st = Math.min,
|
|
338
|
+
var ge = Math.max, st = Math.min, De = Math.round;
|
|
339
339
|
function yt() {
|
|
340
340
|
var e = navigator.userAgentData;
|
|
341
341
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
@@ -345,11 +345,11 @@ function yt() {
|
|
|
345
345
|
function yn() {
|
|
346
346
|
return !/^((?!chrome|android).)*safari/i.test(yt());
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Re(e, t, n) {
|
|
349
349
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
350
350
|
var r = e.getBoundingClientRect(), o = 1, a = 1;
|
|
351
|
-
t && q(e) && (o = e.offsetWidth > 0 &&
|
|
352
|
-
var l = ye(e) ?
|
|
351
|
+
t && q(e) && (o = e.offsetWidth > 0 && De(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && De(r.height) / e.offsetHeight || 1);
|
|
352
|
+
var l = ye(e) ? W(e) : window, u = l.visualViewport, c = !yn() && n, p = (r.left + (c && u ? u.offsetLeft : 0)) / o, f = (r.top + (c && u ? u.offsetTop : 0)) / a, b = r.width / o, O = r.height / a;
|
|
353
353
|
return {
|
|
354
354
|
width: b,
|
|
355
355
|
height: O,
|
|
@@ -362,7 +362,7 @@ function Ce(e, t, n) {
|
|
|
362
362
|
};
|
|
363
363
|
}
|
|
364
364
|
function At(e) {
|
|
365
|
-
var t =
|
|
365
|
+
var t = Re(e), n = e.offsetWidth, r = e.offsetHeight;
|
|
366
366
|
return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
|
|
367
367
|
x: e.offsetLeft,
|
|
368
368
|
y: e.offsetTop,
|
|
@@ -385,9 +385,9 @@ function bn(e, t) {
|
|
|
385
385
|
return !1;
|
|
386
386
|
}
|
|
387
387
|
function se(e) {
|
|
388
|
-
return
|
|
388
|
+
return W(e).getComputedStyle(e);
|
|
389
389
|
}
|
|
390
|
-
function
|
|
390
|
+
function Xr(e) {
|
|
391
391
|
return ["table", "td", "th"].indexOf(te(e)) >= 0;
|
|
392
392
|
}
|
|
393
393
|
function le(e) {
|
|
@@ -408,11 +408,11 @@ function ct(e) {
|
|
|
408
408
|
le(e)
|
|
409
409
|
);
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Vt(e) {
|
|
412
412
|
return !q(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
413
413
|
se(e).position === "fixed" ? null : e.offsetParent;
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Gr(e) {
|
|
416
416
|
var t = /firefox/i.test(yt()), n = /Trident/i.test(yt());
|
|
417
417
|
if (n && q(e)) {
|
|
418
418
|
var r = se(e);
|
|
@@ -428,19 +428,19 @@ function Yr(e) {
|
|
|
428
428
|
}
|
|
429
429
|
return null;
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
for (var t =
|
|
433
|
-
n =
|
|
434
|
-
return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n ||
|
|
431
|
+
function We(e) {
|
|
432
|
+
for (var t = W(e), n = Vt(e); n && Xr(n) && se(n).position === "static"; )
|
|
433
|
+
n = Vt(n);
|
|
434
|
+
return n && (te(n) === "html" || te(n) === "body" && se(n).position === "static") ? t : n || Gr(e) || t;
|
|
435
435
|
}
|
|
436
|
-
function
|
|
436
|
+
function St(e) {
|
|
437
437
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function je(e, t, n) {
|
|
440
440
|
return ge(e, st(t, n));
|
|
441
441
|
}
|
|
442
|
-
function
|
|
443
|
-
var r =
|
|
442
|
+
function Kr(e, t, n) {
|
|
443
|
+
var r = je(e, t, n);
|
|
444
444
|
return r > n ? n : r;
|
|
445
445
|
}
|
|
446
446
|
function wn() {
|
|
@@ -459,48 +459,48 @@ function On(e, t) {
|
|
|
459
459
|
return n[r] = e, n;
|
|
460
460
|
}, {});
|
|
461
461
|
}
|
|
462
|
-
var
|
|
462
|
+
var Zr = function(t, n) {
|
|
463
463
|
return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
|
|
464
464
|
placement: n.placement
|
|
465
|
-
})) : t, En(typeof t != "number" ? t : On(t,
|
|
465
|
+
})) : t, En(typeof t != "number" ? t : On(t, Fe));
|
|
466
466
|
};
|
|
467
|
-
function
|
|
468
|
-
var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, l = n.modifiersData.popperOffsets, u = ee(n.placement), c =
|
|
467
|
+
function Qr(e) {
|
|
468
|
+
var t, n = e.state, r = e.name, o = e.options, a = n.elements.arrow, l = n.modifiersData.popperOffsets, u = ee(n.placement), c = St(u), p = [$, X].indexOf(u) >= 0, f = p ? "height" : "width";
|
|
469
469
|
if (!(!a || !l)) {
|
|
470
|
-
var b =
|
|
471
|
-
n.modifiersData[r] = (t = {}, t[N] =
|
|
470
|
+
var b = Zr(o.padding, n), O = At(a), m = c === "y" ? B : $, w = c === "y" ? Y : X, g = n.rects.reference[f] + n.rects.reference[c] - l[c] - n.rects.popper[f], y = l[c] - n.rects.reference[c], T = We(a), S = T ? c === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, R = g / 2 - y / 2, i = b[m], x = S - O[f] - b[w], d = S / 2 - O[f] / 2 + R, D = je(i, d, x), N = c;
|
|
471
|
+
n.modifiersData[r] = (t = {}, t[N] = D, t.centerOffset = D - d, t);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Jr(e) {
|
|
475
475
|
var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
|
|
476
476
|
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || bn(t.elements.popper, o) && (t.elements.arrow = o));
|
|
477
477
|
}
|
|
478
|
-
const
|
|
478
|
+
const ei = {
|
|
479
479
|
name: "arrow",
|
|
480
480
|
enabled: !0,
|
|
481
481
|
phase: "main",
|
|
482
|
-
fn:
|
|
483
|
-
effect:
|
|
482
|
+
fn: Qr,
|
|
483
|
+
effect: Jr,
|
|
484
484
|
requires: ["popperOffsets"],
|
|
485
485
|
requiresIfExists: ["preventOverflow"]
|
|
486
486
|
};
|
|
487
|
-
function
|
|
487
|
+
function Ce(e) {
|
|
488
488
|
return e.split("-")[1];
|
|
489
489
|
}
|
|
490
|
-
var
|
|
490
|
+
var ti = {
|
|
491
491
|
top: "auto",
|
|
492
492
|
right: "auto",
|
|
493
493
|
bottom: "auto",
|
|
494
494
|
left: "auto"
|
|
495
495
|
};
|
|
496
|
-
function
|
|
496
|
+
function ni(e, t) {
|
|
497
497
|
var n = e.x, r = e.y, o = t.devicePixelRatio || 1;
|
|
498
498
|
return {
|
|
499
|
-
x:
|
|
500
|
-
y:
|
|
499
|
+
x: De(n * o) / o || 0,
|
|
500
|
+
y: De(r * o) / o || 0
|
|
501
501
|
};
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function jt(e) {
|
|
504
504
|
var t, n = e.popper, r = e.popperRect, o = e.placement, a = e.variation, l = e.offsets, u = e.position, c = e.gpuAcceleration, p = e.adaptive, f = e.roundOffsets, b = e.isFixed, O = l.x, m = O === void 0 ? 0 : O, w = l.y, g = w === void 0 ? 0 : w, y = typeof f == "function" ? f({
|
|
505
505
|
x: m,
|
|
506
506
|
y: g
|
|
@@ -509,56 +509,56 @@ function kt(e) {
|
|
|
509
509
|
y: g
|
|
510
510
|
};
|
|
511
511
|
m = y.x, g = y.y;
|
|
512
|
-
var T = l.hasOwnProperty("x"),
|
|
512
|
+
var T = l.hasOwnProperty("x"), S = l.hasOwnProperty("y"), R = $, i = B, x = window;
|
|
513
513
|
if (p) {
|
|
514
|
-
var d =
|
|
515
|
-
if (d ===
|
|
514
|
+
var d = We(n), D = "clientHeight", N = "clientWidth";
|
|
515
|
+
if (d === W(n) && (d = le(n), se(d).position !== "static" && u === "absolute" && (D = "scrollHeight", N = "scrollWidth")), d = d, o === B || (o === $ || o === X) && a === Be) {
|
|
516
516
|
i = Y;
|
|
517
517
|
var I = b && d === x && x.visualViewport ? x.visualViewport.height : (
|
|
518
518
|
// $FlowFixMe[prop-missing]
|
|
519
|
-
d[
|
|
519
|
+
d[D]
|
|
520
520
|
);
|
|
521
521
|
g -= I - r.height, g *= c ? 1 : -1;
|
|
522
522
|
}
|
|
523
|
-
if (o === $ || (o ===
|
|
524
|
-
|
|
525
|
-
var
|
|
523
|
+
if (o === $ || (o === B || o === Y) && a === Be) {
|
|
524
|
+
R = X;
|
|
525
|
+
var P = b && d === x && x.visualViewport ? x.visualViewport.width : (
|
|
526
526
|
// $FlowFixMe[prop-missing]
|
|
527
527
|
d[N]
|
|
528
528
|
);
|
|
529
|
-
m -=
|
|
529
|
+
m -= P - r.width, m *= c ? 1 : -1;
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
var M = Object.assign({
|
|
533
533
|
position: u
|
|
534
|
-
}, p &&
|
|
534
|
+
}, p && ti), L = f === !0 ? ni({
|
|
535
535
|
x: m,
|
|
536
536
|
y: g
|
|
537
|
-
},
|
|
537
|
+
}, W(n)) : {
|
|
538
538
|
x: m,
|
|
539
539
|
y: g
|
|
540
540
|
};
|
|
541
|
-
if (m =
|
|
542
|
-
var
|
|
543
|
-
return Object.assign({}, M, (
|
|
541
|
+
if (m = L.x, g = L.y, c) {
|
|
542
|
+
var C;
|
|
543
|
+
return Object.assign({}, M, (C = {}, C[i] = S ? "0" : "", C[R] = T ? "0" : "", C.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + g + "px)" : "translate3d(" + m + "px, " + g + "px, 0)", C));
|
|
544
544
|
}
|
|
545
|
-
return Object.assign({}, M, (t = {}, t[i] =
|
|
545
|
+
return Object.assign({}, M, (t = {}, t[i] = S ? g + "px" : "", t[R] = T ? m + "px" : "", t.transform = "", t));
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function ri(e) {
|
|
548
548
|
var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, a = n.adaptive, l = a === void 0 ? !0 : a, u = n.roundOffsets, c = u === void 0 ? !0 : u, p = {
|
|
549
549
|
placement: ee(t.placement),
|
|
550
|
-
variation:
|
|
550
|
+
variation: Ce(t.placement),
|
|
551
551
|
popper: t.elements.popper,
|
|
552
552
|
popperRect: t.rects.popper,
|
|
553
553
|
gpuAcceleration: o,
|
|
554
554
|
isFixed: t.options.strategy === "fixed"
|
|
555
555
|
};
|
|
556
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper,
|
|
556
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, jt(Object.assign({}, p, {
|
|
557
557
|
offsets: t.modifiersData.popperOffsets,
|
|
558
558
|
position: t.options.strategy,
|
|
559
559
|
adaptive: l,
|
|
560
560
|
roundOffsets: c
|
|
561
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow,
|
|
561
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, jt(Object.assign({}, p, {
|
|
562
562
|
offsets: t.modifiersData.arrow,
|
|
563
563
|
position: "absolute",
|
|
564
564
|
adaptive: !1,
|
|
@@ -567,18 +567,18 @@ function ti(e) {
|
|
|
567
567
|
"data-popper-placement": t.placement
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
|
-
const
|
|
570
|
+
const ii = {
|
|
571
571
|
name: "computeStyles",
|
|
572
572
|
enabled: !0,
|
|
573
573
|
phase: "beforeWrite",
|
|
574
|
-
fn:
|
|
574
|
+
fn: ri,
|
|
575
575
|
data: {}
|
|
576
576
|
};
|
|
577
577
|
var rt = {
|
|
578
578
|
passive: !0
|
|
579
579
|
};
|
|
580
|
-
function
|
|
581
|
-
var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, l = r.resize, u = l === void 0 ? !0 : l, c =
|
|
580
|
+
function oi(e) {
|
|
581
|
+
var t = e.state, n = e.instance, r = e.options, o = r.scroll, a = o === void 0 ? !0 : o, l = r.resize, u = l === void 0 ? !0 : l, c = W(t.elements.popper), p = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
582
582
|
return a && p.forEach(function(f) {
|
|
583
583
|
f.addEventListener("scroll", n.update, rt);
|
|
584
584
|
}), u && c.addEventListener("resize", n.update, rt), function() {
|
|
@@ -587,16 +587,16 @@ function ri(e) {
|
|
|
587
587
|
}), u && c.removeEventListener("resize", n.update, rt);
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
|
-
const
|
|
590
|
+
const ai = {
|
|
591
591
|
name: "eventListeners",
|
|
592
592
|
enabled: !0,
|
|
593
593
|
phase: "write",
|
|
594
594
|
fn: function() {
|
|
595
595
|
},
|
|
596
|
-
effect:
|
|
596
|
+
effect: oi,
|
|
597
597
|
data: {}
|
|
598
598
|
};
|
|
599
|
-
var
|
|
599
|
+
var si = {
|
|
600
600
|
left: "right",
|
|
601
601
|
right: "left",
|
|
602
602
|
bottom: "top",
|
|
@@ -604,30 +604,30 @@ var oi = {
|
|
|
604
604
|
};
|
|
605
605
|
function at(e) {
|
|
606
606
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
607
|
-
return
|
|
607
|
+
return si[t];
|
|
608
608
|
});
|
|
609
609
|
}
|
|
610
|
-
var
|
|
610
|
+
var ui = {
|
|
611
611
|
start: "end",
|
|
612
612
|
end: "start"
|
|
613
613
|
};
|
|
614
|
-
function
|
|
614
|
+
function kt(e) {
|
|
615
615
|
return e.replace(/start|end/g, function(t) {
|
|
616
|
-
return
|
|
616
|
+
return ui[t];
|
|
617
617
|
});
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
var t =
|
|
619
|
+
function Dt(e) {
|
|
620
|
+
var t = W(e), n = t.pageXOffset, r = t.pageYOffset;
|
|
621
621
|
return {
|
|
622
622
|
scrollLeft: n,
|
|
623
623
|
scrollTop: r
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
|
-
function
|
|
627
|
-
return
|
|
626
|
+
function Rt(e) {
|
|
627
|
+
return Re(le(e)).left + Dt(e).scrollLeft;
|
|
628
628
|
}
|
|
629
|
-
function
|
|
630
|
-
var n =
|
|
629
|
+
function ci(e, t) {
|
|
630
|
+
var n = W(e), r = le(e), o = n.visualViewport, a = r.clientWidth, l = r.clientHeight, u = 0, c = 0;
|
|
631
631
|
if (o) {
|
|
632
632
|
a = o.width, l = o.height;
|
|
633
633
|
var p = yn();
|
|
@@ -636,12 +636,12 @@ function si(e, t) {
|
|
|
636
636
|
return {
|
|
637
637
|
width: a,
|
|
638
638
|
height: l,
|
|
639
|
-
x: u +
|
|
639
|
+
x: u + Rt(e),
|
|
640
640
|
y: c
|
|
641
641
|
};
|
|
642
642
|
}
|
|
643
|
-
function
|
|
644
|
-
var t, n = le(e), r =
|
|
643
|
+
function li(e) {
|
|
644
|
+
var t, n = le(e), r = Dt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, a = ge(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), l = ge(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), u = -r.scrollLeft + Rt(e), c = -r.scrollTop;
|
|
645
645
|
return se(o || n).direction === "rtl" && (u += ge(n.clientWidth, o ? o.clientWidth : 0) - a), {
|
|
646
646
|
width: a,
|
|
647
647
|
height: l,
|
|
@@ -649,20 +649,20 @@ function ui(e) {
|
|
|
649
649
|
y: c
|
|
650
650
|
};
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function Ct(e) {
|
|
653
653
|
var t = se(e), n = t.overflow, r = t.overflowX, o = t.overflowY;
|
|
654
654
|
return /auto|scroll|overlay|hidden/.test(n + o + r);
|
|
655
655
|
}
|
|
656
656
|
function xn(e) {
|
|
657
|
-
return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : q(e) &&
|
|
657
|
+
return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : q(e) && Ct(e) ? e : xn(ct(e));
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function ke(e, t) {
|
|
660
660
|
var n;
|
|
661
661
|
t === void 0 && (t = []);
|
|
662
|
-
var r = xn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a =
|
|
662
|
+
var r = xn(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = W(r), l = o ? [a].concat(a.visualViewport || [], Ct(r) ? r : []) : r, u = t.concat(l);
|
|
663
663
|
return o ? u : (
|
|
664
664
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
665
|
-
u.concat(
|
|
665
|
+
u.concat(ke(ct(l)))
|
|
666
666
|
);
|
|
667
667
|
}
|
|
668
668
|
function bt(e) {
|
|
@@ -673,30 +673,30 @@ function bt(e) {
|
|
|
673
673
|
bottom: e.y + e.height
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
|
-
function
|
|
677
|
-
var n =
|
|
676
|
+
function fi(e, t) {
|
|
677
|
+
var n = Re(e, !1, t === "fixed");
|
|
678
678
|
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;
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
return t === hn ? bt(
|
|
680
|
+
function _t(e, t, n) {
|
|
681
|
+
return t === hn ? bt(ci(e, n)) : ye(t) ? fi(t, n) : bt(li(le(e)));
|
|
682
682
|
}
|
|
683
|
-
function
|
|
684
|
-
var t =
|
|
683
|
+
function pi(e) {
|
|
684
|
+
var t = ke(ct(e)), n = ["absolute", "fixed"].indexOf(se(e).position) >= 0, r = n && q(e) ? We(e) : e;
|
|
685
685
|
return ye(r) ? t.filter(function(o) {
|
|
686
686
|
return ye(o) && bn(o, r) && te(o) !== "body";
|
|
687
687
|
}) : [];
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
var o = t === "clippingParents" ?
|
|
691
|
-
var f =
|
|
689
|
+
function di(e, t, n, r) {
|
|
690
|
+
var o = t === "clippingParents" ? pi(e) : [].concat(t), a = [].concat(o, [n]), l = a[0], u = a.reduce(function(c, p) {
|
|
691
|
+
var f = _t(e, p, r);
|
|
692
692
|
return c.top = ge(f.top, c.top), c.right = st(f.right, c.right), c.bottom = st(f.bottom, c.bottom), c.left = ge(f.left, c.left), c;
|
|
693
|
-
},
|
|
693
|
+
}, _t(e, l, r));
|
|
694
694
|
return u.width = u.right - u.left, u.height = u.bottom - u.top, u.x = u.left, u.y = u.top, u;
|
|
695
695
|
}
|
|
696
696
|
function Tn(e) {
|
|
697
|
-
var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null, a = r ?
|
|
697
|
+
var t = e.reference, n = e.element, r = e.placement, o = r ? ee(r) : null, a = r ? Ce(r) : null, l = t.x + t.width / 2 - n.width / 2, u = t.y + t.height / 2 - n.height / 2, c;
|
|
698
698
|
switch (o) {
|
|
699
|
-
case
|
|
699
|
+
case B:
|
|
700
700
|
c = {
|
|
701
701
|
x: l,
|
|
702
702
|
y: t.y - n.height
|
|
@@ -726,14 +726,14 @@ function Tn(e) {
|
|
|
726
726
|
y: t.y
|
|
727
727
|
};
|
|
728
728
|
}
|
|
729
|
-
var p = o ?
|
|
729
|
+
var p = o ? St(o) : null;
|
|
730
730
|
if (p != null) {
|
|
731
731
|
var f = p === "y" ? "height" : "width";
|
|
732
732
|
switch (a) {
|
|
733
|
-
case
|
|
733
|
+
case Se:
|
|
734
734
|
c[p] = c[p] - (t[f] / 2 - n[f] / 2);
|
|
735
735
|
break;
|
|
736
|
-
case
|
|
736
|
+
case Be:
|
|
737
737
|
c[p] = c[p] + (t[f] / 2 - n[f] / 2);
|
|
738
738
|
break;
|
|
739
739
|
}
|
|
@@ -742,31 +742,31 @@ function Tn(e) {
|
|
|
742
742
|
}
|
|
743
743
|
function $e(e, t) {
|
|
744
744
|
t === void 0 && (t = {});
|
|
745
|
-
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, l = a === void 0 ? e.strategy : a, u = n.boundary, c = u === void 0 ?
|
|
745
|
+
var n = t, r = n.placement, o = r === void 0 ? e.placement : r, a = n.strategy, l = a === void 0 ? e.strategy : a, u = n.boundary, c = u === void 0 ? Mr : u, p = n.rootBoundary, f = p === void 0 ? hn : p, b = n.elementContext, O = b === void 0 ? Ve : b, m = n.altBoundary, w = m === void 0 ? !1 : m, g = n.padding, y = g === void 0 ? 0 : g, T = En(typeof y != "number" ? y : On(y, Fe)), S = O === Ve ? Vr : Ve, R = e.rects.popper, i = e.elements[w ? S : O], x = di(ye(i) ? i : i.contextElement || le(e.elements.popper), c, f, l), d = Re(e.elements.reference), D = Tn({
|
|
746
746
|
reference: d,
|
|
747
|
-
element:
|
|
747
|
+
element: R,
|
|
748
748
|
strategy: "absolute",
|
|
749
749
|
placement: o
|
|
750
|
-
}), N = bt(Object.assign({},
|
|
750
|
+
}), N = bt(Object.assign({}, R, D)), I = O === Ve ? N : d, P = {
|
|
751
751
|
top: x.top - I.top + T.top,
|
|
752
752
|
bottom: I.bottom - x.bottom + T.bottom,
|
|
753
753
|
left: x.left - I.left + T.left,
|
|
754
754
|
right: I.right - x.right + T.right
|
|
755
755
|
}, M = e.modifiersData.offset;
|
|
756
|
-
if (O ===
|
|
757
|
-
var
|
|
758
|
-
Object.keys(
|
|
759
|
-
var U = [X, Y].indexOf(
|
|
760
|
-
|
|
756
|
+
if (O === Ve && M) {
|
|
757
|
+
var L = M[o];
|
|
758
|
+
Object.keys(P).forEach(function(C) {
|
|
759
|
+
var U = [X, Y].indexOf(C) >= 0 ? 1 : -1, H = [B, Y].indexOf(C) >= 0 ? "y" : "x";
|
|
760
|
+
P[C] += L[H] * U;
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
|
-
return
|
|
763
|
+
return P;
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function vi(e, t) {
|
|
766
766
|
t === void 0 && (t = {});
|
|
767
|
-
var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, l = n.padding, u = n.flipVariations, c = n.allowedAutoPlacements, p = c === void 0 ? mn : c, f =
|
|
768
|
-
return
|
|
769
|
-
}) :
|
|
767
|
+
var n = t, r = n.placement, o = n.boundary, a = n.rootBoundary, l = n.padding, u = n.flipVariations, c = n.allowedAutoPlacements, p = c === void 0 ? mn : c, f = Ce(r), b = f ? u ? Mt : Mt.filter(function(w) {
|
|
768
|
+
return Ce(w) === f;
|
|
769
|
+
}) : Fe, O = b.filter(function(w) {
|
|
770
770
|
return p.indexOf(w) >= 0;
|
|
771
771
|
});
|
|
772
772
|
O.length === 0 && (O = b);
|
|
@@ -782,48 +782,48 @@ function pi(e, t) {
|
|
|
782
782
|
return m[w] - m[g];
|
|
783
783
|
});
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function hi(e) {
|
|
786
786
|
if (ee(e) === xt)
|
|
787
787
|
return [];
|
|
788
788
|
var t = at(e);
|
|
789
|
-
return [
|
|
789
|
+
return [kt(e), t, kt(t)];
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function mi(e) {
|
|
792
792
|
var t = e.state, n = e.options, r = e.name;
|
|
793
793
|
if (!t.modifiersData[r]._skip) {
|
|
794
|
-
for (var o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, u = l === void 0 ? !0 : l, c = n.fallbackPlacements, p = n.padding, f = n.boundary, b = n.rootBoundary, O = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, g = n.allowedAutoPlacements, y = t.options.placement, T = ee(y),
|
|
795
|
-
return ne.concat(ee(
|
|
796
|
-
placement:
|
|
794
|
+
for (var o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, u = l === void 0 ? !0 : l, c = n.fallbackPlacements, p = n.padding, f = n.boundary, b = n.rootBoundary, O = n.altBoundary, m = n.flipVariations, w = m === void 0 ? !0 : m, g = n.allowedAutoPlacements, y = t.options.placement, T = ee(y), S = T === y, R = c || (S || !w ? [at(y)] : hi(y)), i = [y].concat(R).reduce(function(ne, G) {
|
|
795
|
+
return ne.concat(ee(G) === xt ? vi(t, {
|
|
796
|
+
placement: G,
|
|
797
797
|
boundary: f,
|
|
798
798
|
rootBoundary: b,
|
|
799
799
|
padding: p,
|
|
800
800
|
flipVariations: w,
|
|
801
801
|
allowedAutoPlacements: g
|
|
802
|
-
}) :
|
|
803
|
-
}, []), x = t.rects.reference, d = t.rects.popper,
|
|
804
|
-
var M = i[
|
|
802
|
+
}) : G);
|
|
803
|
+
}, []), x = t.rects.reference, d = t.rects.popper, D = /* @__PURE__ */ new Map(), N = !0, I = i[0], P = 0; P < i.length; P++) {
|
|
804
|
+
var M = i[P], L = ee(M), C = Ce(M) === Se, U = [B, Y].indexOf(L) >= 0, H = U ? "width" : "height", j = $e(t, {
|
|
805
805
|
placement: M,
|
|
806
806
|
boundary: f,
|
|
807
807
|
rootBoundary: b,
|
|
808
808
|
altBoundary: O,
|
|
809
809
|
padding: p
|
|
810
|
-
}),
|
|
811
|
-
x[H] > d[H] && (
|
|
812
|
-
var
|
|
813
|
-
if (a &&
|
|
810
|
+
}), k = U ? C ? X : $ : C ? Y : B;
|
|
811
|
+
x[H] > d[H] && (k = at(k));
|
|
812
|
+
var V = at(k), K = [];
|
|
813
|
+
if (a && K.push(j[L] <= 0), u && K.push(j[k] <= 0, j[V] <= 0), K.every(function(ne) {
|
|
814
814
|
return ne;
|
|
815
815
|
})) {
|
|
816
816
|
I = M, N = !1;
|
|
817
817
|
break;
|
|
818
818
|
}
|
|
819
|
-
|
|
819
|
+
D.set(M, K);
|
|
820
820
|
}
|
|
821
821
|
if (N)
|
|
822
|
-
for (var Z = w ? 3 : 1, fe = function(
|
|
822
|
+
for (var Z = w ? 3 : 1, fe = function(G) {
|
|
823
823
|
var re = i.find(function(be) {
|
|
824
|
-
var ie =
|
|
824
|
+
var ie = D.get(be);
|
|
825
825
|
if (ie)
|
|
826
|
-
return ie.slice(0,
|
|
826
|
+
return ie.slice(0, G).every(function(we) {
|
|
827
827
|
return we;
|
|
828
828
|
});
|
|
829
829
|
});
|
|
@@ -837,17 +837,17 @@ function vi(e) {
|
|
|
837
837
|
t.placement !== I && (t.modifiersData[r]._skip = !0, t.placement = I, t.reset = !0);
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
const
|
|
840
|
+
const gi = {
|
|
841
841
|
name: "flip",
|
|
842
842
|
enabled: !0,
|
|
843
843
|
phase: "main",
|
|
844
|
-
fn:
|
|
844
|
+
fn: mi,
|
|
845
845
|
requiresIfExists: ["offset"],
|
|
846
846
|
data: {
|
|
847
847
|
_skip: !1
|
|
848
848
|
}
|
|
849
849
|
};
|
|
850
|
-
function
|
|
850
|
+
function Bt(e, t, n) {
|
|
851
851
|
return n === void 0 && (n = {
|
|
852
852
|
x: 0,
|
|
853
853
|
y: 0
|
|
@@ -859,16 +859,16 @@ function _t(e, t, n) {
|
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
861
|
function $t(e) {
|
|
862
|
-
return [
|
|
862
|
+
return [B, X, Y, $].some(function(t) {
|
|
863
863
|
return e[t] >= 0;
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function yi(e) {
|
|
867
867
|
var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, a = t.modifiersData.preventOverflow, l = $e(t, {
|
|
868
868
|
elementContext: "reference"
|
|
869
869
|
}), u = $e(t, {
|
|
870
870
|
altBoundary: !0
|
|
871
|
-
}), c =
|
|
871
|
+
}), c = Bt(l, r), p = Bt(u, o, a), f = $t(c), b = $t(p);
|
|
872
872
|
t.modifiersData[n] = {
|
|
873
873
|
referenceClippingOffsets: c,
|
|
874
874
|
popperEscapeOffsets: p,
|
|
@@ -879,15 +879,15 @@ function mi(e) {
|
|
|
879
879
|
"data-popper-escaped": b
|
|
880
880
|
});
|
|
881
881
|
}
|
|
882
|
-
const
|
|
882
|
+
const bi = {
|
|
883
883
|
name: "hide",
|
|
884
884
|
enabled: !0,
|
|
885
885
|
phase: "main",
|
|
886
886
|
requiresIfExists: ["preventOverflow"],
|
|
887
|
-
fn:
|
|
887
|
+
fn: yi
|
|
888
888
|
};
|
|
889
|
-
function
|
|
890
|
-
var r = ee(e), o = [$,
|
|
889
|
+
function wi(e, t, n) {
|
|
890
|
+
var r = ee(e), o = [$, B].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, {
|
|
891
891
|
placement: e
|
|
892
892
|
})) : n, l = a[0], u = a[1];
|
|
893
893
|
return l = l || 0, u = (u || 0) * o, [$, X].indexOf(r) >= 0 ? {
|
|
@@ -898,20 +898,20 @@ function yi(e, t, n) {
|
|
|
898
898
|
y: u
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function Ei(e) {
|
|
902
902
|
var t = e.state, n = e.options, r = e.name, o = n.offset, a = o === void 0 ? [0, 0] : o, l = mn.reduce(function(f, b) {
|
|
903
|
-
return f[b] =
|
|
903
|
+
return f[b] = wi(b, t.rects, a), f;
|
|
904
904
|
}, {}), u = l[t.placement], c = u.x, p = u.y;
|
|
905
905
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += p), t.modifiersData[r] = l;
|
|
906
906
|
}
|
|
907
|
-
const
|
|
907
|
+
const Oi = {
|
|
908
908
|
name: "offset",
|
|
909
909
|
enabled: !0,
|
|
910
910
|
phase: "main",
|
|
911
911
|
requires: ["popperOffsets"],
|
|
912
|
-
fn:
|
|
912
|
+
fn: Ei
|
|
913
913
|
};
|
|
914
|
-
function
|
|
914
|
+
function xi(e) {
|
|
915
915
|
var t = e.state, n = e.name;
|
|
916
916
|
t.modifiersData[n] = Tn({
|
|
917
917
|
reference: t.rects.reference,
|
|
@@ -920,72 +920,72 @@ function Ei(e) {
|
|
|
920
920
|
placement: t.placement
|
|
921
921
|
});
|
|
922
922
|
}
|
|
923
|
-
const
|
|
923
|
+
const Ti = {
|
|
924
924
|
name: "popperOffsets",
|
|
925
925
|
enabled: !0,
|
|
926
926
|
phase: "read",
|
|
927
|
-
fn:
|
|
927
|
+
fn: xi,
|
|
928
928
|
data: {}
|
|
929
929
|
};
|
|
930
|
-
function
|
|
930
|
+
function Ai(e) {
|
|
931
931
|
return e === "x" ? "y" : "x";
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Si(e) {
|
|
934
934
|
var t = e.state, n = e.options, r = e.name, o = n.mainAxis, a = o === void 0 ? !0 : o, l = n.altAxis, u = l === void 0 ? !1 : l, c = n.boundary, p = n.rootBoundary, f = n.altBoundary, b = n.padding, O = n.tether, m = O === void 0 ? !0 : O, w = n.tetherOffset, g = w === void 0 ? 0 : w, y = $e(t, {
|
|
935
935
|
boundary: c,
|
|
936
936
|
rootBoundary: p,
|
|
937
937
|
padding: b,
|
|
938
938
|
altBoundary: f
|
|
939
|
-
}), T = ee(t.placement),
|
|
939
|
+
}), T = ee(t.placement), S = Ce(t.placement), R = !S, i = St(T), x = Ai(i), d = t.modifiersData.popperOffsets, D = t.rects.reference, N = t.rects.popper, I = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
940
940
|
placement: t.placement
|
|
941
|
-
})) : g,
|
|
941
|
+
})) : g, P = typeof I == "number" ? {
|
|
942
942
|
mainAxis: I,
|
|
943
943
|
altAxis: I
|
|
944
944
|
} : Object.assign({
|
|
945
945
|
mainAxis: 0,
|
|
946
946
|
altAxis: 0
|
|
947
|
-
}, I), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
947
|
+
}, I), M = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, L = {
|
|
948
948
|
x: 0,
|
|
949
949
|
y: 0
|
|
950
950
|
};
|
|
951
951
|
if (d) {
|
|
952
952
|
if (a) {
|
|
953
|
-
var
|
|
953
|
+
var C, U = i === "y" ? B : $, H = i === "y" ? Y : X, j = i === "y" ? "height" : "width", k = d[i], V = k + y[U], K = k - y[H], Z = m ? -N[j] / 2 : 0, fe = S === Se ? D[j] : N[j], Q = S === Se ? -N[j] : -D[j], pe = t.elements.arrow, ne = m && pe ? At(pe) : {
|
|
954
954
|
width: 0,
|
|
955
955
|
height: 0
|
|
956
|
-
},
|
|
957
|
-
d[i] =
|
|
956
|
+
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wn(), re = G[U], be = G[H], ie = je(0, D[j], ne[j]), we = R ? D[j] / 2 - Z - ie - re - P.mainAxis : fe - ie - re - P.mainAxis, ue = R ? -D[j] / 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 = M == null ? void 0 : M[i]) != null ? C : 0, Ye = k + we - Pe - qe, Xe = k + ue - Pe, Le = je(m ? st(V, Ye) : V, k, m ? ge(K, Xe) : K);
|
|
957
|
+
d[i] = Le, L[i] = Le - k;
|
|
958
958
|
}
|
|
959
959
|
if (u) {
|
|
960
|
-
var Ie,
|
|
961
|
-
d[x] = et,
|
|
960
|
+
var Ie, Ge = i === "x" ? B : $, Ke = i === "x" ? Y : X, oe = d[x], ce = x === "y" ? "height" : "width", Ne = oe + y[Ge], de = oe - y[Ke], Me = [B, $].indexOf(T) !== -1, Ze = (Ie = M == null ? void 0 : M[x]) != null ? Ie : 0, Qe = Me ? Ne : oe - D[ce] - N[ce] - Ze + P.altAxis, Je = Me ? oe + D[ce] + N[ce] - Ze - P.altAxis : de, et = m && Me ? Kr(Qe, oe, Je) : je(m ? Qe : Ne, oe, m ? Je : de);
|
|
961
|
+
d[x] = et, L[x] = et - oe;
|
|
962
962
|
}
|
|
963
|
-
t.modifiersData[r] =
|
|
963
|
+
t.modifiersData[r] = L;
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
const
|
|
966
|
+
const Di = {
|
|
967
967
|
name: "preventOverflow",
|
|
968
968
|
enabled: !0,
|
|
969
969
|
phase: "main",
|
|
970
|
-
fn:
|
|
970
|
+
fn: Si,
|
|
971
971
|
requiresIfExists: ["offset"]
|
|
972
972
|
};
|
|
973
|
-
function
|
|
973
|
+
function Ri(e) {
|
|
974
974
|
return {
|
|
975
975
|
scrollLeft: e.scrollLeft,
|
|
976
976
|
scrollTop: e.scrollTop
|
|
977
977
|
};
|
|
978
978
|
}
|
|
979
|
-
function Si(e) {
|
|
980
|
-
return e === F(e) || !q(e) ? St(e) : Di(e);
|
|
981
|
-
}
|
|
982
979
|
function Ci(e) {
|
|
983
|
-
|
|
980
|
+
return e === W(e) || !q(e) ? Dt(e) : Ri(e);
|
|
981
|
+
}
|
|
982
|
+
function Pi(e) {
|
|
983
|
+
var t = e.getBoundingClientRect(), n = De(t.width) / e.offsetWidth || 1, r = De(t.height) / e.offsetHeight || 1;
|
|
984
984
|
return n !== 1 || r !== 1;
|
|
985
985
|
}
|
|
986
986
|
function Li(e, t, n) {
|
|
987
987
|
n === void 0 && (n = !1);
|
|
988
|
-
var r = q(t), o = q(t) &&
|
|
988
|
+
var r = q(t), o = q(t) && Pi(t), a = le(t), l = Re(e, o, n), u = {
|
|
989
989
|
scrollLeft: 0,
|
|
990
990
|
scrollTop: 0
|
|
991
991
|
}, c = {
|
|
@@ -993,14 +993,14 @@ function Li(e, t, n) {
|
|
|
993
993
|
y: 0
|
|
994
994
|
};
|
|
995
995
|
return (r || !r && !n) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
996
|
-
|
|
996
|
+
Ct(a)) && (u = Ci(t)), q(t) ? (c = Re(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = Rt(a))), {
|
|
997
997
|
x: l.left + u.scrollLeft - c.x,
|
|
998
998
|
y: l.top + u.scrollTop - c.y,
|
|
999
999
|
width: l.width,
|
|
1000
1000
|
height: l.height
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function Ii(e) {
|
|
1004
1004
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
|
|
1005
1005
|
e.forEach(function(a) {
|
|
1006
1006
|
t.set(a.name, a);
|
|
@@ -1019,15 +1019,15 @@ function Ri(e) {
|
|
|
1019
1019
|
n.has(a.name) || o(a);
|
|
1020
1020
|
}), r;
|
|
1021
1021
|
}
|
|
1022
|
-
function
|
|
1023
|
-
var t =
|
|
1024
|
-
return
|
|
1022
|
+
function Ni(e) {
|
|
1023
|
+
var t = Ii(e);
|
|
1024
|
+
return zr.reduce(function(n, r) {
|
|
1025
1025
|
return n.concat(t.filter(function(o) {
|
|
1026
1026
|
return o.phase === r;
|
|
1027
1027
|
}));
|
|
1028
1028
|
}, []);
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function Mi(e) {
|
|
1031
1031
|
var t;
|
|
1032
1032
|
return function() {
|
|
1033
1033
|
return t || (t = new Promise(function(n) {
|
|
@@ -1037,7 +1037,7 @@ function Ii(e) {
|
|
|
1037
1037
|
})), t;
|
|
1038
1038
|
};
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function Vi(e) {
|
|
1041
1041
|
var t = e.reduce(function(n, r) {
|
|
1042
1042
|
var o = n[r.name];
|
|
1043
1043
|
return n[r.name] = o ? Object.assign({}, o, r, {
|
|
@@ -1061,7 +1061,7 @@ function Ht() {
|
|
|
1061
1061
|
return !(r && typeof r.getBoundingClientRect == "function");
|
|
1062
1062
|
});
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function ji(e) {
|
|
1065
1065
|
e === void 0 && (e = {});
|
|
1066
1066
|
var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, a = o === void 0 ? Ut : o;
|
|
1067
1067
|
return function(u, c, p) {
|
|
@@ -1080,13 +1080,13 @@ function Mi(e) {
|
|
|
1080
1080
|
}, b = [], O = !1, m = {
|
|
1081
1081
|
state: f,
|
|
1082
1082
|
setOptions: function(T) {
|
|
1083
|
-
var
|
|
1084
|
-
g(), f.options = Object.assign({}, a, f.options,
|
|
1085
|
-
reference: ye(u) ?
|
|
1086
|
-
popper:
|
|
1083
|
+
var S = typeof T == "function" ? T(f.options) : T;
|
|
1084
|
+
g(), f.options = Object.assign({}, a, f.options, S), f.scrollParents = {
|
|
1085
|
+
reference: ye(u) ? ke(u) : u.contextElement ? ke(u.contextElement) : [],
|
|
1086
|
+
popper: ke(c)
|
|
1087
1087
|
};
|
|
1088
|
-
var
|
|
1089
|
-
return f.orderedModifiers =
|
|
1088
|
+
var R = Ni(Vi([].concat(r, f.options.modifiers)));
|
|
1089
|
+
return f.orderedModifiers = R.filter(function(i) {
|
|
1090
1090
|
return i.enabled;
|
|
1091
1091
|
}), w(), m.update();
|
|
1092
1092
|
},
|
|
@@ -1097,20 +1097,20 @@ function Mi(e) {
|
|
|
1097
1097
|
// prefer the async Popper#update method
|
|
1098
1098
|
forceUpdate: function() {
|
|
1099
1099
|
if (!O) {
|
|
1100
|
-
var T = f.elements,
|
|
1101
|
-
if (Ht(
|
|
1100
|
+
var T = f.elements, S = T.reference, R = T.popper;
|
|
1101
|
+
if (Ht(S, R)) {
|
|
1102
1102
|
f.rects = {
|
|
1103
|
-
reference: Li(
|
|
1104
|
-
popper: At(
|
|
1105
|
-
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(
|
|
1106
|
-
return f.modifiersData[
|
|
1103
|
+
reference: Li(S, We(R), f.options.strategy === "fixed"),
|
|
1104
|
+
popper: At(R)
|
|
1105
|
+
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(P) {
|
|
1106
|
+
return f.modifiersData[P.name] = Object.assign({}, P.data);
|
|
1107
1107
|
});
|
|
1108
1108
|
for (var i = 0; i < f.orderedModifiers.length; i++) {
|
|
1109
1109
|
if (f.reset === !0) {
|
|
1110
1110
|
f.reset = !1, i = -1;
|
|
1111
1111
|
continue;
|
|
1112
1112
|
}
|
|
1113
|
-
var x = f.orderedModifiers[i], d = x.fn,
|
|
1113
|
+
var x = f.orderedModifiers[i], d = x.fn, D = x.options, N = D === void 0 ? {} : D, I = x.name;
|
|
1114
1114
|
typeof d == "function" && (f = d({
|
|
1115
1115
|
state: f,
|
|
1116
1116
|
options: N,
|
|
@@ -1123,7 +1123,7 @@ function Mi(e) {
|
|
|
1123
1123
|
},
|
|
1124
1124
|
// Async and optimistically optimized update – it will not be executed if
|
|
1125
1125
|
// not necessary (debounced to run at most once-per-tick)
|
|
1126
|
-
update:
|
|
1126
|
+
update: Mi(function() {
|
|
1127
1127
|
return new Promise(function(y) {
|
|
1128
1128
|
m.forceUpdate(), y(f);
|
|
1129
1129
|
});
|
|
@@ -1139,13 +1139,13 @@ function Mi(e) {
|
|
|
1139
1139
|
});
|
|
1140
1140
|
function w() {
|
|
1141
1141
|
f.orderedModifiers.forEach(function(y) {
|
|
1142
|
-
var T = y.name,
|
|
1142
|
+
var T = y.name, S = y.options, R = S === void 0 ? {} : S, i = y.effect;
|
|
1143
1143
|
if (typeof i == "function") {
|
|
1144
1144
|
var x = i({
|
|
1145
1145
|
state: f,
|
|
1146
1146
|
name: T,
|
|
1147
1147
|
instance: m,
|
|
1148
|
-
options:
|
|
1148
|
+
options: R
|
|
1149
1149
|
}), d = function() {
|
|
1150
1150
|
};
|
|
1151
1151
|
b.push(x || d);
|
|
@@ -1160,15 +1160,15 @@ function Mi(e) {
|
|
|
1160
1160
|
return m;
|
|
1161
1161
|
};
|
|
1162
1162
|
}
|
|
1163
|
-
var
|
|
1164
|
-
defaultModifiers:
|
|
1165
|
-
}),
|
|
1163
|
+
var ki = [ai, Ti, ii, gn, Oi, gi, Di, ei, bi], _i = /* @__PURE__ */ ji({
|
|
1164
|
+
defaultModifiers: ki
|
|
1165
|
+
}), Bi = "tippy-box", An = "tippy-content", $i = "tippy-backdrop", Sn = "tippy-arrow", Dn = "tippy-svg-arrow", me = {
|
|
1166
1166
|
passive: !0,
|
|
1167
1167
|
capture: !0
|
|
1168
|
-
},
|
|
1168
|
+
}, Rn = function() {
|
|
1169
1169
|
return document.body;
|
|
1170
1170
|
};
|
|
1171
|
-
function
|
|
1171
|
+
function Ui(e, t) {
|
|
1172
1172
|
return {}.hasOwnProperty.call(e, t);
|
|
1173
1173
|
}
|
|
1174
1174
|
function pt(e, t, n) {
|
|
@@ -1178,14 +1178,14 @@ function pt(e, t, n) {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
return e;
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function Pt(e, t) {
|
|
1182
1182
|
var n = {}.toString.call(e);
|
|
1183
1183
|
return n.indexOf("[object") === 0 && n.indexOf(t + "]") > -1;
|
|
1184
1184
|
}
|
|
1185
|
-
function
|
|
1185
|
+
function Cn(e, t) {
|
|
1186
1186
|
return typeof e == "function" ? e.apply(void 0, t) : e;
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function Ft(e, t) {
|
|
1189
1189
|
if (t === 0)
|
|
1190
1190
|
return e;
|
|
1191
1191
|
var n;
|
|
@@ -1195,27 +1195,27 @@ function Wt(e, t) {
|
|
|
1195
1195
|
}, t);
|
|
1196
1196
|
};
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1198
|
+
function Hi(e, t) {
|
|
1199
1199
|
var n = Object.assign({}, e);
|
|
1200
1200
|
return t.forEach(function(r) {
|
|
1201
1201
|
delete n[r];
|
|
1202
1202
|
}), n;
|
|
1203
1203
|
}
|
|
1204
|
-
function
|
|
1204
|
+
function Fi(e) {
|
|
1205
1205
|
return e.split(/\s+/).filter(Boolean);
|
|
1206
1206
|
}
|
|
1207
1207
|
function Ae(e) {
|
|
1208
1208
|
return [].concat(e);
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function Wt(e, t) {
|
|
1211
1211
|
e.indexOf(t) === -1 && e.push(t);
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function Wi(e) {
|
|
1214
1214
|
return e.filter(function(t, n) {
|
|
1215
1215
|
return e.indexOf(t) === n;
|
|
1216
1216
|
});
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function zi(e) {
|
|
1219
1219
|
return e.split("-")[0];
|
|
1220
1220
|
}
|
|
1221
1221
|
function ut(e) {
|
|
@@ -1226,25 +1226,25 @@ function zt(e) {
|
|
|
1226
1226
|
return e[n] !== void 0 && (t[n] = e[n]), t;
|
|
1227
1227
|
}, {});
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function _e() {
|
|
1230
1230
|
return document.createElement("div");
|
|
1231
1231
|
}
|
|
1232
1232
|
function Ue(e) {
|
|
1233
1233
|
return ["Element", "Fragment"].some(function(t) {
|
|
1234
|
-
return
|
|
1234
|
+
return Pt(e, t);
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1237
|
+
function qi(e) {
|
|
1238
|
+
return Pt(e, "NodeList");
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1241
|
-
return
|
|
1240
|
+
function Yi(e) {
|
|
1241
|
+
return Pt(e, "MouseEvent");
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function Xi(e) {
|
|
1244
1244
|
return !!(e && e._tippy && e._tippy.reference === e);
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1247
|
-
return Ue(e) ? [e] :
|
|
1246
|
+
function Gi(e) {
|
|
1247
|
+
return Ue(e) ? [e] : qi(e) ? ut(e) : Array.isArray(e) ? e : ut(document.querySelectorAll(e));
|
|
1248
1248
|
}
|
|
1249
1249
|
function dt(e, t) {
|
|
1250
1250
|
e.forEach(function(n) {
|
|
@@ -1256,18 +1256,18 @@ function qt(e, t) {
|
|
|
1256
1256
|
n && n.setAttribute("data-state", t);
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function Ki(e) {
|
|
1260
1260
|
var t, n = Ae(e), r = n[0];
|
|
1261
1261
|
return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1263
|
+
function Zi(e, t) {
|
|
1264
1264
|
var n = t.clientX, r = t.clientY;
|
|
1265
1265
|
return e.every(function(o) {
|
|
1266
|
-
var a = o.popperRect, l = o.popperState, u = o.props, c = u.interactiveBorder, p =
|
|
1266
|
+
var a = o.popperRect, l = o.popperState, u = o.props, c = u.interactiveBorder, p = zi(l.placement), f = l.modifiersData.offset;
|
|
1267
1267
|
if (!f)
|
|
1268
1268
|
return !0;
|
|
1269
|
-
var b = p === "bottom" ? f.top.y : 0, O = p === "top" ? f.bottom.y : 0, m = p === "right" ? f.left.x : 0, w = p === "left" ? f.right.x : 0, g = a.top - r + b > c, y = r - a.bottom - O > c, T = a.left - n + m > c,
|
|
1270
|
-
return g || y || T ||
|
|
1269
|
+
var b = p === "bottom" ? f.top.y : 0, O = p === "top" ? f.bottom.y : 0, m = p === "right" ? f.left.x : 0, w = p === "left" ? f.right.x : 0, g = a.top - r + b > c, y = r - a.bottom - O > c, T = a.left - n + m > c, S = n - a.right - w > c;
|
|
1270
|
+
return g || y || T || S;
|
|
1271
1271
|
});
|
|
1272
1272
|
}
|
|
1273
1273
|
function vt(e, t, n) {
|
|
@@ -1288,24 +1288,24 @@ function Yt(e, t) {
|
|
|
1288
1288
|
var J = {
|
|
1289
1289
|
isTouch: !1
|
|
1290
1290
|
}, Xt = 0;
|
|
1291
|
-
function
|
|
1292
|
-
J.isTouch || (J.isTouch = !0, window.performance && document.addEventListener("mousemove",
|
|
1291
|
+
function Qi() {
|
|
1292
|
+
J.isTouch || (J.isTouch = !0, window.performance && document.addEventListener("mousemove", Pn));
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1294
|
+
function Pn() {
|
|
1295
1295
|
var e = performance.now();
|
|
1296
|
-
e - Xt < 20 && (J.isTouch = !1, document.removeEventListener("mousemove",
|
|
1296
|
+
e - Xt < 20 && (J.isTouch = !1, document.removeEventListener("mousemove", Pn)), Xt = e;
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function Ji() {
|
|
1299
1299
|
var e = document.activeElement;
|
|
1300
|
-
if (
|
|
1300
|
+
if (Xi(e)) {
|
|
1301
1301
|
var t = e._tippy;
|
|
1302
1302
|
e.blur && !t.state.isVisible && e.blur();
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1306
|
-
document.addEventListener("touchstart",
|
|
1305
|
+
function eo() {
|
|
1306
|
+
document.addEventListener("touchstart", Qi, me), window.addEventListener("blur", Ji);
|
|
1307
1307
|
}
|
|
1308
|
-
var
|
|
1308
|
+
var to = typeof window < "u" && typeof document < "u", no = to ? (
|
|
1309
1309
|
// @ts-ignore
|
|
1310
1310
|
!!window.msCrypto
|
|
1311
1311
|
) : !1;
|
|
@@ -1313,22 +1313,22 @@ function Te(e) {
|
|
|
1313
1313
|
var t = e === "destroy" ? "n already-" : " ";
|
|
1314
1314
|
return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function Gt(e) {
|
|
1317
1317
|
var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
|
|
1318
1318
|
return e.replace(t, " ").replace(n, "").trim();
|
|
1319
1319
|
}
|
|
1320
|
-
function
|
|
1321
|
-
return
|
|
1320
|
+
function ro(e) {
|
|
1321
|
+
return Gt(`
|
|
1322
1322
|
%ctippy.js
|
|
1323
1323
|
|
|
1324
|
-
%c` +
|
|
1324
|
+
%c` + Gt(e) + `
|
|
1325
1325
|
|
|
1326
1326
|
%c👷 This is a development-only message. It will be removed in production.
|
|
1327
1327
|
`);
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1329
|
+
function Ln(e) {
|
|
1330
1330
|
return [
|
|
1331
|
-
|
|
1331
|
+
ro(e),
|
|
1332
1332
|
// title
|
|
1333
1333
|
"color: #00C584; font-size: 1.3em; font-weight: bold;",
|
|
1334
1334
|
// message
|
|
@@ -1338,23 +1338,23 @@ function Pn(e) {
|
|
|
1338
1338
|
];
|
|
1339
1339
|
}
|
|
1340
1340
|
var He;
|
|
1341
|
-
process.env.NODE_ENV !== "production" &&
|
|
1342
|
-
function
|
|
1341
|
+
process.env.NODE_ENV !== "production" && io();
|
|
1342
|
+
function io() {
|
|
1343
1343
|
He = /* @__PURE__ */ new Set();
|
|
1344
1344
|
}
|
|
1345
1345
|
function ae(e, t) {
|
|
1346
1346
|
if (e && !He.has(t)) {
|
|
1347
1347
|
var n;
|
|
1348
|
-
He.add(t), (n = console).warn.apply(n,
|
|
1348
|
+
He.add(t), (n = console).warn.apply(n, Ln(t));
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
function wt(e, t) {
|
|
1352
1352
|
if (e && !He.has(t)) {
|
|
1353
1353
|
var n;
|
|
1354
|
-
He.add(t), (n = console).error.apply(n,
|
|
1354
|
+
He.add(t), (n = console).error.apply(n, Ln(t));
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function oo(e) {
|
|
1358
1358
|
var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
|
|
1359
1359
|
wt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), wt(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
|
|
1360
1360
|
}
|
|
@@ -1363,7 +1363,7 @@ var In = {
|
|
|
1363
1363
|
followCursor: !1,
|
|
1364
1364
|
inlinePositioning: !1,
|
|
1365
1365
|
sticky: !1
|
|
1366
|
-
},
|
|
1366
|
+
}, ao = {
|
|
1367
1367
|
allowHTML: !1,
|
|
1368
1368
|
animation: "fade",
|
|
1369
1369
|
arrow: !0,
|
|
@@ -1373,8 +1373,8 @@ var In = {
|
|
|
1373
1373
|
role: "tooltip",
|
|
1374
1374
|
theme: "",
|
|
1375
1375
|
zIndex: 9999
|
|
1376
|
-
},
|
|
1377
|
-
appendTo:
|
|
1376
|
+
}, F = Object.assign({
|
|
1377
|
+
appendTo: Rn,
|
|
1378
1378
|
aria: {
|
|
1379
1379
|
content: "auto",
|
|
1380
1380
|
expanded: "auto"
|
|
@@ -1421,11 +1421,11 @@ var In = {
|
|
|
1421
1421
|
touch: !0,
|
|
1422
1422
|
trigger: "mouseenter focus",
|
|
1423
1423
|
triggerTarget: null
|
|
1424
|
-
}, In,
|
|
1424
|
+
}, In, ao), so = Object.keys(F), uo = function(t) {
|
|
1425
1425
|
process.env.NODE_ENV !== "production" && Mn(t, []);
|
|
1426
1426
|
var n = Object.keys(t);
|
|
1427
1427
|
n.forEach(function(r) {
|
|
1428
|
-
|
|
1428
|
+
F[r] = t[r];
|
|
1429
1429
|
});
|
|
1430
1430
|
};
|
|
1431
1431
|
function Nn(e) {
|
|
@@ -1433,16 +1433,16 @@ function Nn(e) {
|
|
|
1433
1433
|
var a = o.name, l = o.defaultValue;
|
|
1434
1434
|
if (a) {
|
|
1435
1435
|
var u;
|
|
1436
|
-
r[a] = e[a] !== void 0 ? e[a] : (u =
|
|
1436
|
+
r[a] = e[a] !== void 0 ? e[a] : (u = F[a]) != null ? u : l;
|
|
1437
1437
|
}
|
|
1438
1438
|
return r;
|
|
1439
1439
|
}, {});
|
|
1440
1440
|
return Object.assign({}, e, n);
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1443
|
-
var n = t ? Object.keys(Nn(Object.assign({},
|
|
1442
|
+
function co(e, t) {
|
|
1443
|
+
var n = t ? Object.keys(Nn(Object.assign({}, F, {
|
|
1444
1444
|
plugins: t
|
|
1445
|
-
}))) :
|
|
1445
|
+
}))) : so, r = n.reduce(function(o, a) {
|
|
1446
1446
|
var l = (e.getAttribute("data-tippy-" + a) || "").trim();
|
|
1447
1447
|
if (!l)
|
|
1448
1448
|
return o;
|
|
@@ -1458,11 +1458,11 @@ function so(e, t) {
|
|
|
1458
1458
|
}, {});
|
|
1459
1459
|
return r;
|
|
1460
1460
|
}
|
|
1461
|
-
function
|
|
1461
|
+
function Kt(e, t) {
|
|
1462
1462
|
var n = Object.assign({}, t, {
|
|
1463
|
-
content:
|
|
1464
|
-
}, t.ignoreAttributes ? {} :
|
|
1465
|
-
return n.aria = Object.assign({},
|
|
1463
|
+
content: Cn(t.content, [e])
|
|
1464
|
+
}, t.ignoreAttributes ? {} : co(e, t.plugins));
|
|
1465
|
+
return n.aria = Object.assign({}, F.aria, n.aria), n.aria = {
|
|
1466
1466
|
expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
|
|
1467
1467
|
content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
|
|
1468
1468
|
}, n;
|
|
@@ -1471,7 +1471,7 @@ function Mn(e, t) {
|
|
|
1471
1471
|
e === void 0 && (e = {}), t === void 0 && (t = []);
|
|
1472
1472
|
var n = Object.keys(e);
|
|
1473
1473
|
n.forEach(function(r) {
|
|
1474
|
-
var o =
|
|
1474
|
+
var o = Hi(F, Object.keys(In)), a = !Ui(o, r);
|
|
1475
1475
|
a && (a = t.filter(function(l) {
|
|
1476
1476
|
return l.name === r;
|
|
1477
1477
|
}).length === 0), ae(a, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
@@ -1480,15 +1480,15 @@ function Mn(e, t) {
|
|
|
1480
1480
|
`, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
|
|
1481
1481
|
});
|
|
1482
1482
|
}
|
|
1483
|
-
var
|
|
1483
|
+
var lo = function() {
|
|
1484
1484
|
return "innerHTML";
|
|
1485
1485
|
};
|
|
1486
1486
|
function Et(e, t) {
|
|
1487
|
-
e[
|
|
1487
|
+
e[lo()] = t;
|
|
1488
1488
|
}
|
|
1489
1489
|
function Zt(e) {
|
|
1490
|
-
var t =
|
|
1491
|
-
return e === !0 ? t.className =
|
|
1490
|
+
var t = _e();
|
|
1491
|
+
return e === !0 ? t.className = Sn : (t.className = Dn, Ue(e) ? t.appendChild(e) : Et(t, e)), t;
|
|
1492
1492
|
}
|
|
1493
1493
|
function Qt(e, t) {
|
|
1494
1494
|
Ue(t.content) ? (Et(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Et(e, t.content) : e.textContent = t.content);
|
|
@@ -1501,17 +1501,17 @@ function Ot(e) {
|
|
|
1501
1501
|
return r.classList.contains(An);
|
|
1502
1502
|
}),
|
|
1503
1503
|
arrow: n.find(function(r) {
|
|
1504
|
-
return r.classList.contains(
|
|
1504
|
+
return r.classList.contains(Sn) || r.classList.contains(Dn);
|
|
1505
1505
|
}),
|
|
1506
1506
|
backdrop: n.find(function(r) {
|
|
1507
|
-
return r.classList.contains(
|
|
1507
|
+
return r.classList.contains($i);
|
|
1508
1508
|
})
|
|
1509
1509
|
};
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1512
|
-
var t =
|
|
1513
|
-
n.className =
|
|
1514
|
-
var r =
|
|
1511
|
+
function Vn(e) {
|
|
1512
|
+
var t = _e(), n = _e();
|
|
1513
|
+
n.className = Bi, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
|
|
1514
|
+
var r = _e();
|
|
1515
1515
|
r.className = An, r.setAttribute("data-state", "hidden"), Qt(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
|
|
1516
1516
|
function o(a, l) {
|
|
1517
1517
|
var u = Ot(t), c = u.box, p = u.content, f = u.arrow;
|
|
@@ -1522,10 +1522,10 @@ function jn(e) {
|
|
|
1522
1522
|
onUpdate: o
|
|
1523
1523
|
};
|
|
1524
1524
|
}
|
|
1525
|
-
|
|
1526
|
-
var
|
|
1527
|
-
function
|
|
1528
|
-
var n =
|
|
1525
|
+
Vn.$$tippy = !0;
|
|
1526
|
+
var fo = 1, it = [], ht = [];
|
|
1527
|
+
function po(e, t) {
|
|
1528
|
+
var n = Kt(e, Object.assign({}, F, Nn(zt(t)))), r, o, a, l = !1, u = !1, c = !1, p = !1, f, b, O, m = [], w = Ft(Ye, n.interactiveDebounce), g, y = fo++, T = null, S = Wi(n.plugins), R = {
|
|
1529
1529
|
// Is the instance currently enabled?
|
|
1530
1530
|
isEnabled: !0,
|
|
1531
1531
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1540,63 +1540,63 @@ function lo(e, t) {
|
|
|
1540
1540
|
// properties
|
|
1541
1541
|
id: y,
|
|
1542
1542
|
reference: e,
|
|
1543
|
-
popper:
|
|
1543
|
+
popper: _e(),
|
|
1544
1544
|
popperInstance: T,
|
|
1545
1545
|
props: n,
|
|
1546
|
-
state:
|
|
1547
|
-
plugins:
|
|
1546
|
+
state: R,
|
|
1547
|
+
plugins: S,
|
|
1548
1548
|
// methods
|
|
1549
1549
|
clearDelayTimeouts: Qe,
|
|
1550
1550
|
setProps: Je,
|
|
1551
1551
|
setContent: et,
|
|
1552
|
-
show:
|
|
1553
|
-
hide:
|
|
1554
|
-
hideWithInteractivity:
|
|
1552
|
+
show: _n,
|
|
1553
|
+
hide: Bn,
|
|
1554
|
+
hideWithInteractivity: $n,
|
|
1555
1555
|
enable: Me,
|
|
1556
1556
|
disable: Ze,
|
|
1557
|
-
unmount:
|
|
1558
|
-
destroy:
|
|
1557
|
+
unmount: Un,
|
|
1558
|
+
destroy: Hn
|
|
1559
1559
|
};
|
|
1560
1560
|
if (!n.render)
|
|
1561
1561
|
return process.env.NODE_ENV !== "production" && wt(!0, "render() function has not been supplied."), i;
|
|
1562
|
-
var x = n.render(i), d = x.popper,
|
|
1562
|
+
var x = n.render(i), d = x.popper, D = x.onUpdate;
|
|
1563
1563
|
d.setAttribute("data-tippy-root", ""), d.id = "tippy-" + i.id, i.popper = d, e._tippy = i, d._tippy = i;
|
|
1564
|
-
var N =
|
|
1564
|
+
var N = S.map(function(s) {
|
|
1565
1565
|
return s.fn(i);
|
|
1566
1566
|
}), I = e.hasAttribute("aria-expanded");
|
|
1567
|
-
return Ee(), Z(),
|
|
1567
|
+
return Ee(), Z(), k(), V("onCreate", [i]), n.showOnCreate && Ne(), d.addEventListener("mouseenter", function() {
|
|
1568
1568
|
i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
|
|
1569
1569
|
}), d.addEventListener("mouseleave", function() {
|
|
1570
1570
|
i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", w);
|
|
1571
1571
|
}), i;
|
|
1572
|
-
function
|
|
1572
|
+
function P() {
|
|
1573
1573
|
var s = i.props.touch;
|
|
1574
1574
|
return Array.isArray(s) ? s : [s, 0];
|
|
1575
1575
|
}
|
|
1576
1576
|
function M() {
|
|
1577
|
-
return
|
|
1577
|
+
return P()[0] === "hold";
|
|
1578
1578
|
}
|
|
1579
|
-
function
|
|
1579
|
+
function L() {
|
|
1580
1580
|
var s;
|
|
1581
1581
|
return !!((s = i.props.render) != null && s.$$tippy);
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1583
|
+
function C() {
|
|
1584
1584
|
return g || e;
|
|
1585
1585
|
}
|
|
1586
1586
|
function U() {
|
|
1587
|
-
var s =
|
|
1588
|
-
return s ?
|
|
1587
|
+
var s = C().parentNode;
|
|
1588
|
+
return s ? Ki(s) : document;
|
|
1589
1589
|
}
|
|
1590
1590
|
function H() {
|
|
1591
1591
|
return Ot(d);
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1594
|
-
return i.state.isMounted && !i.state.isVisible || J.isTouch || f && f.type === "focus" ? 0 : pt(i.props.delay, s ? 0 : 1,
|
|
1593
|
+
function j(s) {
|
|
1594
|
+
return i.state.isMounted && !i.state.isVisible || J.isTouch || f && f.type === "focus" ? 0 : pt(i.props.delay, s ? 0 : 1, F.delay);
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function k(s) {
|
|
1597
1597
|
s === void 0 && (s = !1), d.style.pointerEvents = i.props.interactive && !s ? "" : "none", d.style.zIndex = "" + i.props.zIndex;
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1599
|
+
function V(s, v, h) {
|
|
1600
1600
|
if (h === void 0 && (h = !0), N.forEach(function(E) {
|
|
1601
1601
|
E[s] && E[s].apply(E, v);
|
|
1602
1602
|
}), h) {
|
|
@@ -1604,16 +1604,16 @@ function lo(e, t) {
|
|
|
1604
1604
|
(A = i.props)[s].apply(A, v);
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1607
|
+
function K() {
|
|
1608
1608
|
var s = i.props.aria;
|
|
1609
1609
|
if (s.content) {
|
|
1610
1610
|
var v = "aria-" + s.content, h = d.id, A = Ae(i.props.triggerTarget || e);
|
|
1611
1611
|
A.forEach(function(E) {
|
|
1612
|
-
var
|
|
1612
|
+
var _ = E.getAttribute(v);
|
|
1613
1613
|
if (i.state.isVisible)
|
|
1614
|
-
E.setAttribute(v,
|
|
1614
|
+
E.setAttribute(v, _ ? _ + " " + h : h);
|
|
1615
1615
|
else {
|
|
1616
|
-
var z =
|
|
1616
|
+
var z = _ && _.replace(h, "").trim();
|
|
1617
1617
|
z ? E.setAttribute(v, z) : E.removeAttribute(v);
|
|
1618
1618
|
}
|
|
1619
1619
|
});
|
|
@@ -1623,7 +1623,7 @@ function lo(e, t) {
|
|
|
1623
1623
|
if (!(I || !i.props.aria.expanded)) {
|
|
1624
1624
|
var s = Ae(i.props.triggerTarget || e);
|
|
1625
1625
|
s.forEach(function(v) {
|
|
1626
|
-
i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v ===
|
|
1626
|
+
i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === C() ? "true" : "false") : v.removeAttribute("aria-expanded");
|
|
1627
1627
|
});
|
|
1628
1628
|
}
|
|
1629
1629
|
}
|
|
@@ -1642,7 +1642,7 @@ function lo(e, t) {
|
|
|
1642
1642
|
if (J.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
|
|
1643
1643
|
return;
|
|
1644
1644
|
} else
|
|
1645
|
-
|
|
1645
|
+
V("onClickOutside", [i, s]);
|
|
1646
1646
|
i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), u = !0, setTimeout(function() {
|
|
1647
1647
|
u = !1;
|
|
1648
1648
|
}), i.state.isMounted || re());
|
|
@@ -1655,7 +1655,7 @@ function lo(e, t) {
|
|
|
1655
1655
|
function ne() {
|
|
1656
1656
|
c = !1;
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function G() {
|
|
1659
1659
|
var s = U();
|
|
1660
1660
|
s.addEventListener("mousedown", Q, !0), s.addEventListener("touchend", Q, me), s.addEventListener("touchstart", ne, me), s.addEventListener("touchmove", pe, me);
|
|
1661
1661
|
}
|
|
@@ -1693,21 +1693,21 @@ function lo(e, t) {
|
|
|
1693
1693
|
});
|
|
1694
1694
|
}
|
|
1695
1695
|
function Ee() {
|
|
1696
|
-
M() && (ue("touchstart",
|
|
1696
|
+
M() && (ue("touchstart", Pe, {
|
|
1697
1697
|
passive: !0
|
|
1698
1698
|
}), ue("touchend", Xe, {
|
|
1699
1699
|
passive: !0
|
|
1700
|
-
})),
|
|
1700
|
+
})), Fi(i.props.trigger).forEach(function(s) {
|
|
1701
1701
|
if (s !== "manual")
|
|
1702
|
-
switch (ue(s,
|
|
1702
|
+
switch (ue(s, Pe), s) {
|
|
1703
1703
|
case "mouseenter":
|
|
1704
1704
|
ue("mouseleave", Xe);
|
|
1705
1705
|
break;
|
|
1706
1706
|
case "focus":
|
|
1707
|
-
ue(
|
|
1707
|
+
ue(no ? "focusout" : "blur", Le);
|
|
1708
1708
|
break;
|
|
1709
1709
|
case "focusin":
|
|
1710
|
-
ue("focusout",
|
|
1710
|
+
ue("focusout", Le);
|
|
1711
1711
|
break;
|
|
1712
1712
|
}
|
|
1713
1713
|
});
|
|
@@ -1718,27 +1718,27 @@ function lo(e, t) {
|
|
|
1718
1718
|
v.removeEventListener(h, A, E);
|
|
1719
1719
|
}), m = [];
|
|
1720
1720
|
}
|
|
1721
|
-
function
|
|
1721
|
+
function Pe(s) {
|
|
1722
1722
|
var v, h = !1;
|
|
1723
1723
|
if (!(!i.state.isEnabled || Ie(s) || u)) {
|
|
1724
1724
|
var A = ((v = f) == null ? void 0 : v.type) === "focus";
|
|
1725
|
-
f = s, g = s.currentTarget, Z(), !i.state.isVisible &&
|
|
1725
|
+
f = s, g = s.currentTarget, Z(), !i.state.isVisible && Yi(s) && it.forEach(function(E) {
|
|
1726
1726
|
return E(s);
|
|
1727
1727
|
}), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : Ne(s), s.type === "click" && (l = !h), h && !A && de(s);
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
1730
|
function Ye(s) {
|
|
1731
|
-
var v = s.target, h =
|
|
1731
|
+
var v = s.target, h = C().contains(v) || d.contains(v);
|
|
1732
1732
|
if (!(s.type === "mousemove" && h)) {
|
|
1733
1733
|
var A = ce().concat(d).map(function(E) {
|
|
1734
|
-
var
|
|
1734
|
+
var _, z = E._tippy, Oe = (_ = z.popperInstance) == null ? void 0 : _.state;
|
|
1735
1735
|
return Oe ? {
|
|
1736
1736
|
popperRect: E.getBoundingClientRect(),
|
|
1737
1737
|
popperState: Oe,
|
|
1738
1738
|
props: n
|
|
1739
1739
|
} : null;
|
|
1740
1740
|
}).filter(Boolean);
|
|
1741
|
-
|
|
1741
|
+
Zi(A, s) && (fe(), de(s));
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
1744
1744
|
function Xe(s) {
|
|
@@ -1751,26 +1751,26 @@ function lo(e, t) {
|
|
|
1751
1751
|
de(s);
|
|
1752
1752
|
}
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1755
|
-
i.props.trigger.indexOf("focusin") < 0 && s.target !==
|
|
1754
|
+
function Le(s) {
|
|
1755
|
+
i.props.trigger.indexOf("focusin") < 0 && s.target !== C() || i.props.interactive && s.relatedTarget && d.contains(s.relatedTarget) || de(s);
|
|
1756
1756
|
}
|
|
1757
1757
|
function Ie(s) {
|
|
1758
1758
|
return J.isTouch ? M() !== s.type.indexOf("touch") >= 0 : !1;
|
|
1759
1759
|
}
|
|
1760
|
-
function
|
|
1761
|
-
|
|
1762
|
-
var s = i.props, v = s.popperOptions, h = s.placement, A = s.offset, E = s.getReferenceClientRect,
|
|
1760
|
+
function Ge() {
|
|
1761
|
+
Ke();
|
|
1762
|
+
var s = i.props, v = s.popperOptions, h = s.placement, A = s.offset, E = s.getReferenceClientRect, _ = s.moveTransition, z = L() ? Ot(d).arrow : null, Oe = E ? {
|
|
1763
1763
|
getBoundingClientRect: E,
|
|
1764
|
-
contextElement: E.contextElement ||
|
|
1765
|
-
} : e,
|
|
1764
|
+
contextElement: E.contextElement || C()
|
|
1765
|
+
} : e, Lt = {
|
|
1766
1766
|
name: "$$tippy",
|
|
1767
1767
|
enabled: !0,
|
|
1768
1768
|
phase: "beforeWrite",
|
|
1769
1769
|
requires: ["computeStyles"],
|
|
1770
1770
|
fn: function(tt) {
|
|
1771
1771
|
var xe = tt.state;
|
|
1772
|
-
if (
|
|
1773
|
-
var
|
|
1772
|
+
if (L()) {
|
|
1773
|
+
var Fn = H(), ft = Fn.box;
|
|
1774
1774
|
["placement", "reference-hidden", "escaped"].forEach(function(nt) {
|
|
1775
1775
|
nt === "placement" ? ft.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + nt] ? ft.setAttribute("data-" + nt, "") : ft.removeAttribute("data-" + nt);
|
|
1776
1776
|
}), xe.attributes.popper = {};
|
|
@@ -1799,27 +1799,27 @@ function lo(e, t) {
|
|
|
1799
1799
|
}, {
|
|
1800
1800
|
name: "computeStyles",
|
|
1801
1801
|
options: {
|
|
1802
|
-
adaptive: !
|
|
1802
|
+
adaptive: !_
|
|
1803
1803
|
}
|
|
1804
|
-
},
|
|
1805
|
-
|
|
1804
|
+
}, Lt];
|
|
1805
|
+
L() && z && ve.push({
|
|
1806
1806
|
name: "arrow",
|
|
1807
1807
|
options: {
|
|
1808
1808
|
element: z,
|
|
1809
1809
|
padding: 3
|
|
1810
1810
|
}
|
|
1811
|
-
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance =
|
|
1811
|
+
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = _i(Oe, d, Object.assign({}, v, {
|
|
1812
1812
|
placement: h,
|
|
1813
1813
|
onFirstUpdate: O,
|
|
1814
1814
|
modifiers: ve
|
|
1815
1815
|
}));
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function Ke() {
|
|
1818
1818
|
i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
|
|
1819
1819
|
}
|
|
1820
1820
|
function oe() {
|
|
1821
|
-
var s = i.props.appendTo, v, h =
|
|
1822
|
-
i.props.interactive && s ===
|
|
1821
|
+
var s = i.props.appendTo, v, h = C();
|
|
1822
|
+
i.props.interactive && s === Rn || s === "parent" ? v = h.parentNode : v = Cn(s, [h]), v.contains(d) || v.appendChild(d), i.state.isMounted = !0, Ge(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && s === F.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.", `
|
|
1823
1823
|
|
|
1824
1824
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
1825
1825
|
|
|
@@ -1831,19 +1831,19 @@ function lo(e, t) {
|
|
|
1831
1831
|
return ut(d.querySelectorAll("[data-tippy-root]"));
|
|
1832
1832
|
}
|
|
1833
1833
|
function Ne(s) {
|
|
1834
|
-
i.clearDelayTimeouts(), s &&
|
|
1835
|
-
var v =
|
|
1834
|
+
i.clearDelayTimeouts(), s && V("onTrigger", [i, s]), G();
|
|
1835
|
+
var v = j(!0), h = P(), A = h[0], E = h[1];
|
|
1836
1836
|
J.isTouch && A === "hold" && E && (v = E), v ? r = setTimeout(function() {
|
|
1837
1837
|
i.show();
|
|
1838
1838
|
}, v) : i.show();
|
|
1839
1839
|
}
|
|
1840
1840
|
function de(s) {
|
|
1841
|
-
if (i.clearDelayTimeouts(),
|
|
1841
|
+
if (i.clearDelayTimeouts(), V("onUntrigger", [i, s]), !i.state.isVisible) {
|
|
1842
1842
|
re();
|
|
1843
1843
|
return;
|
|
1844
1844
|
}
|
|
1845
1845
|
if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(s.type) >= 0 && l)) {
|
|
1846
|
-
var v =
|
|
1846
|
+
var v = j(!1);
|
|
1847
1847
|
v ? o = setTimeout(function() {
|
|
1848
1848
|
i.state.isVisible && i.hide();
|
|
1849
1849
|
}, v) : a = requestAnimationFrame(function() {
|
|
@@ -1862,15 +1862,15 @@ function lo(e, t) {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
function Je(s) {
|
|
1864
1864
|
if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("setProps")), !i.state.isDestroyed) {
|
|
1865
|
-
|
|
1866
|
-
var v = i.props, h =
|
|
1865
|
+
V("onBeforeUpdate", [i, s]), qe();
|
|
1866
|
+
var v = i.props, h = Kt(e, Object.assign({}, v, zt(s), {
|
|
1867
1867
|
ignoreAttributes: !0
|
|
1868
1868
|
}));
|
|
1869
|
-
i.props = h, Ee(), v.interactiveDebounce !== h.interactiveDebounce && (fe(), w =
|
|
1869
|
+
i.props = h, Ee(), v.interactiveDebounce !== h.interactiveDebounce && (fe(), w = Ft(Ye, h.interactiveDebounce)), v.triggerTarget && !h.triggerTarget ? Ae(v.triggerTarget).forEach(function(A) {
|
|
1870
1870
|
A.removeAttribute("aria-expanded");
|
|
1871
|
-
}) : h.triggerTarget && e.removeAttribute("aria-expanded"), Z(),
|
|
1871
|
+
}) : h.triggerTarget && e.removeAttribute("aria-expanded"), Z(), k(), D && D(v, h), i.popperInstance && (Ge(), ce().forEach(function(A) {
|
|
1872
1872
|
requestAnimationFrame(A._tippy.popperInstance.forceUpdate);
|
|
1873
|
-
})),
|
|
1873
|
+
})), V("onAfterUpdate", [i, s]);
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
1876
1876
|
function et(s) {
|
|
@@ -1878,60 +1878,60 @@ function lo(e, t) {
|
|
|
1878
1878
|
content: s
|
|
1879
1879
|
});
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function _n() {
|
|
1882
1882
|
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("show"));
|
|
1883
|
-
var s = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, A = J.isTouch && !i.props.touch, E = pt(i.props.duration, 0,
|
|
1884
|
-
if (!(s || v || h || A) && !
|
|
1885
|
-
if (i.state.isVisible = !0,
|
|
1886
|
-
var
|
|
1883
|
+
var s = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, A = J.isTouch && !i.props.touch, E = pt(i.props.duration, 0, F.duration);
|
|
1884
|
+
if (!(s || v || h || A) && !C().hasAttribute("disabled") && (V("onShow", [i], !1), i.props.onShow(i) !== !1)) {
|
|
1885
|
+
if (i.state.isVisible = !0, L() && (d.style.visibility = "visible"), k(), G(), i.state.isMounted || (d.style.transition = "none"), L()) {
|
|
1886
|
+
var _ = H(), z = _.box, Oe = _.content;
|
|
1887
1887
|
dt([z, Oe], 0);
|
|
1888
1888
|
}
|
|
1889
1889
|
O = function() {
|
|
1890
1890
|
var ve;
|
|
1891
1891
|
if (!(!i.state.isVisible || p)) {
|
|
1892
|
-
if (p = !0, d.offsetHeight, d.style.transition = i.props.moveTransition,
|
|
1892
|
+
if (p = !0, d.offsetHeight, d.style.transition = i.props.moveTransition, L() && i.props.animation) {
|
|
1893
1893
|
var lt = H(), tt = lt.box, xe = lt.content;
|
|
1894
1894
|
dt([tt, xe], E), qt([tt, xe], "visible");
|
|
1895
1895
|
}
|
|
1896
|
-
|
|
1897
|
-
i.state.isShown = !0,
|
|
1896
|
+
K(), Z(), Wt(ht, i), (ve = i.popperInstance) == null || ve.forceUpdate(), V("onMount", [i]), i.props.animation && L() && ie(E, function() {
|
|
1897
|
+
i.state.isShown = !0, V("onShown", [i]);
|
|
1898
1898
|
});
|
|
1899
1899
|
}
|
|
1900
1900
|
}, oe();
|
|
1901
1901
|
}
|
|
1902
1902
|
}
|
|
1903
|
-
function
|
|
1903
|
+
function Bn() {
|
|
1904
1904
|
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hide"));
|
|
1905
|
-
var s = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, A = pt(i.props.duration, 1,
|
|
1906
|
-
if (!(s || v || h) && (
|
|
1907
|
-
if (i.state.isVisible = !1, i.state.isShown = !1, p = !1, l = !1,
|
|
1908
|
-
var E = H(),
|
|
1909
|
-
i.props.animation && (dt([
|
|
1905
|
+
var s = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, A = pt(i.props.duration, 1, F.duration);
|
|
1906
|
+
if (!(s || v || h) && (V("onHide", [i], !1), i.props.onHide(i) !== !1)) {
|
|
1907
|
+
if (i.state.isVisible = !1, i.state.isShown = !1, p = !1, l = !1, L() && (d.style.visibility = "hidden"), fe(), re(), k(!0), L()) {
|
|
1908
|
+
var E = H(), _ = E.box, z = E.content;
|
|
1909
|
+
i.props.animation && (dt([_, z], A), qt([_, z], "hidden"));
|
|
1910
1910
|
}
|
|
1911
|
-
|
|
1911
|
+
K(), Z(), i.props.animation ? L() && be(A, i.unmount) : i.unmount();
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
|
-
function
|
|
1915
|
-
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hideWithInteractivity")), U().addEventListener("mousemove", w),
|
|
1914
|
+
function $n(s) {
|
|
1915
|
+
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("hideWithInteractivity")), U().addEventListener("mousemove", w), Wt(it, w), w(s);
|
|
1916
1916
|
}
|
|
1917
|
-
function
|
|
1918
|
-
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (
|
|
1917
|
+
function Un() {
|
|
1918
|
+
process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Te("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ke(), ce().forEach(function(s) {
|
|
1919
1919
|
s._tippy.unmount();
|
|
1920
1920
|
}), d.parentNode && d.parentNode.removeChild(d), ht = ht.filter(function(s) {
|
|
1921
1921
|
return s !== i;
|
|
1922
|
-
}), i.state.isMounted = !1,
|
|
1922
|
+
}), i.state.isMounted = !1, V("onHidden", [i]));
|
|
1923
1923
|
}
|
|
1924
|
-
function
|
|
1925
|
-
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,
|
|
1924
|
+
function Hn() {
|
|
1925
|
+
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, V("onDestroy", [i]));
|
|
1926
1926
|
}
|
|
1927
1927
|
}
|
|
1928
1928
|
function ze(e, t) {
|
|
1929
1929
|
t === void 0 && (t = {});
|
|
1930
|
-
var n =
|
|
1931
|
-
process.env.NODE_ENV !== "production" && (
|
|
1930
|
+
var n = F.plugins.concat(t.plugins || []);
|
|
1931
|
+
process.env.NODE_ENV !== "production" && (oo(e), Mn(t, n)), eo();
|
|
1932
1932
|
var r = Object.assign({}, t, {
|
|
1933
1933
|
plugins: n
|
|
1934
|
-
}), o =
|
|
1934
|
+
}), o = Gi(e);
|
|
1935
1935
|
if (process.env.NODE_ENV !== "production") {
|
|
1936
1936
|
var a = Ue(r.content), l = o.length > 1;
|
|
1937
1937
|
ae(a && l, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
|
|
@@ -1942,13 +1942,13 @@ function ze(e, t) {
|
|
|
1942
1942
|
`, "2) content: () => element.cloneNode(true)"].join(" "));
|
|
1943
1943
|
}
|
|
1944
1944
|
var u = o.reduce(function(c, p) {
|
|
1945
|
-
var f = p &&
|
|
1945
|
+
var f = p && po(p, r);
|
|
1946
1946
|
return f && c.push(f), c;
|
|
1947
1947
|
}, []);
|
|
1948
1948
|
return Ue(e) ? u[0] : u;
|
|
1949
1949
|
}
|
|
1950
|
-
ze.defaultProps =
|
|
1951
|
-
ze.setDefaultProps =
|
|
1950
|
+
ze.defaultProps = F;
|
|
1951
|
+
ze.setDefaultProps = uo;
|
|
1952
1952
|
ze.currentInput = J;
|
|
1953
1953
|
Object.assign({}, gn, {
|
|
1954
1954
|
effect: function(t) {
|
|
@@ -1967,7 +1967,7 @@ Object.assign({}, gn, {
|
|
|
1967
1967
|
Object.assign(n.elements.popper.style, r.popper), n.styles = r, n.elements.arrow && Object.assign(n.elements.arrow.style, r.arrow);
|
|
1968
1968
|
}
|
|
1969
1969
|
});
|
|
1970
|
-
var
|
|
1970
|
+
var vo = {
|
|
1971
1971
|
name: "sticky",
|
|
1972
1972
|
defaultValue: !1,
|
|
1973
1973
|
fn: function(t) {
|
|
@@ -1994,15 +1994,15 @@ function Jt(e, t) {
|
|
|
1994
1994
|
return e && t ? e.top !== t.top || e.right !== t.right || e.bottom !== t.bottom || e.left !== t.left : !0;
|
|
1995
1995
|
}
|
|
1996
1996
|
ze.setDefaultProps({
|
|
1997
|
-
render:
|
|
1997
|
+
render: Vn
|
|
1998
1998
|
});
|
|
1999
|
-
const
|
|
1999
|
+
const ho = (e) => ({
|
|
2000
2000
|
name: "arrowDetected",
|
|
2001
2001
|
enabled: !0,
|
|
2002
2002
|
phase: "main",
|
|
2003
2003
|
fn: e,
|
|
2004
2004
|
requiresIfExists: ["offset"]
|
|
2005
|
-
}),
|
|
2005
|
+
}), jn = [
|
|
2006
2006
|
"bottom",
|
|
2007
2007
|
"bottom-start",
|
|
2008
2008
|
"bottom-end",
|
|
@@ -2015,11 +2015,11 @@ const po = (e) => ({
|
|
|
2015
2015
|
"top",
|
|
2016
2016
|
"top-start",
|
|
2017
2017
|
"top-end"
|
|
2018
|
-
],
|
|
2018
|
+
], kn = [!0, !1, "reference", "popper"], mo = (e, t) => {
|
|
2019
2019
|
const { contentElement: n } = { ...t };
|
|
2020
2020
|
return delete t.contentElement, ze(e, {
|
|
2021
2021
|
...t,
|
|
2022
|
-
plugins: [
|
|
2022
|
+
plugins: [vo],
|
|
2023
2023
|
render: () => wo(n)
|
|
2024
2024
|
});
|
|
2025
2025
|
}, go = ({
|
|
@@ -2051,7 +2051,7 @@ const po = (e) => ({
|
|
|
2051
2051
|
tether: o
|
|
2052
2052
|
}
|
|
2053
2053
|
},
|
|
2054
|
-
|
|
2054
|
+
ho(({ state: a }) => {
|
|
2055
2055
|
n(a.placement);
|
|
2056
2056
|
})
|
|
2057
2057
|
]
|
|
@@ -2066,19 +2066,33 @@ const po = (e) => ({
|
|
|
2066
2066
|
return t.className = "tippy-box d-ps-absolute", t.appendChild(e), {
|
|
2067
2067
|
popper: t
|
|
2068
2068
|
};
|
|
2069
|
-
},
|
|
2070
|
-
|
|
2071
|
-
|
|
2069
|
+
}, Vo = {
|
|
2070
|
+
none: void 0,
|
|
2071
|
+
small: "d-p4",
|
|
2072
|
+
medium: "d-p8",
|
|
2073
|
+
large: "d-p16"
|
|
2074
|
+
}, jo = {
|
|
2075
|
+
none: void 0,
|
|
2076
|
+
small: "d-pl4",
|
|
2077
|
+
medium: "d-pl8",
|
|
2078
|
+
large: "d-pl16"
|
|
2079
|
+
}, ko = ["dialog", "menu", "listbox", "tree", "grid"], _o = ["", "anchor"], Bo = ["none", "dialog", "first"], Eo = ["parent", "body"], $o = [
|
|
2080
|
+
...kn
|
|
2081
|
+
], Uo = [
|
|
2082
|
+
...jn
|
|
2083
|
+
], Oo = [
|
|
2084
|
+
...jn
|
|
2085
|
+
], xo = 300, To = {
|
|
2072
2086
|
hover: "d-tooltip--hover",
|
|
2073
2087
|
show: "d-tooltip--show",
|
|
2074
2088
|
inverted: "d-tooltip--inverted",
|
|
2075
2089
|
hide: "d-tooltip--hide"
|
|
2076
|
-
},
|
|
2077
|
-
...
|
|
2078
|
-
],
|
|
2090
|
+
}, Ao = [
|
|
2091
|
+
...kn
|
|
2092
|
+
], Ho = [!0, !1, "toggle"], So = {
|
|
2079
2093
|
name: "DtTooltip",
|
|
2080
2094
|
components: {
|
|
2081
|
-
DtLazyShow:
|
|
2095
|
+
DtLazyShow: Nr
|
|
2082
2096
|
},
|
|
2083
2097
|
props: {
|
|
2084
2098
|
/**
|
|
@@ -2149,7 +2163,7 @@ const po = (e) => ({
|
|
|
2149
2163
|
type: String,
|
|
2150
2164
|
default: "top",
|
|
2151
2165
|
validator(e) {
|
|
2152
|
-
return
|
|
2166
|
+
return Oo.includes(e);
|
|
2153
2167
|
}
|
|
2154
2168
|
},
|
|
2155
2169
|
/**
|
|
@@ -2170,7 +2184,18 @@ const po = (e) => ({
|
|
|
2170
2184
|
sticky: {
|
|
2171
2185
|
type: [Boolean, String],
|
|
2172
2186
|
default: !1,
|
|
2173
|
-
validator: (e) =>
|
|
2187
|
+
validator: (e) => Ao.includes(e)
|
|
2188
|
+
},
|
|
2189
|
+
/**
|
|
2190
|
+
* Sets the element to which the tooltip is going to append to.
|
|
2191
|
+
* 'body' will append to the nearest body (supports shadow DOM).
|
|
2192
|
+
* This prop is not reactive, must be set on initial render.
|
|
2193
|
+
* @values 'body', 'parent', HTMLElement,
|
|
2194
|
+
*/
|
|
2195
|
+
appendTo: {
|
|
2196
|
+
type: [HTMLElement, String],
|
|
2197
|
+
default: "body",
|
|
2198
|
+
validator: (e) => Eo.includes(e) || e instanceof HTMLElement
|
|
2174
2199
|
},
|
|
2175
2200
|
/**
|
|
2176
2201
|
* Additional css classes for the tooltip content element.
|
|
@@ -2257,8 +2282,8 @@ const po = (e) => ({
|
|
|
2257
2282
|
],
|
|
2258
2283
|
data() {
|
|
2259
2284
|
return {
|
|
2260
|
-
TOOLTIP_KIND_MODIFIERS:
|
|
2261
|
-
hasSlotContent:
|
|
2285
|
+
TOOLTIP_KIND_MODIFIERS: To,
|
|
2286
|
+
hasSlotContent: mr,
|
|
2262
2287
|
tip: null,
|
|
2263
2288
|
inTimer: null,
|
|
2264
2289
|
// Internal state for whether the tooltip is shown. Changing the prop
|
|
@@ -2346,7 +2371,7 @@ const po = (e) => ({
|
|
|
2346
2371
|
onEnterAnchor(e) {
|
|
2347
2372
|
this.isTouchDevice && !e.relatedTarget || (this.delay ? this.inTimer = setTimeout((function(t) {
|
|
2348
2373
|
this.triggerShow(t);
|
|
2349
|
-
}).bind(this, e),
|
|
2374
|
+
}).bind(this, e), xo) : this.triggerShow(e), this.isTouchDevice = !1);
|
|
2350
2375
|
},
|
|
2351
2376
|
triggerShow(e) {
|
|
2352
2377
|
e.type === "focusin" ? this.show === null && this.hasVisibleFocus() && (this.isShown = !0) : this.show === null && (this.isShown = !0);
|
|
@@ -2377,9 +2402,11 @@ const po = (e) => ({
|
|
|
2377
2402
|
this.setProps();
|
|
2378
2403
|
},
|
|
2379
2404
|
initOptions() {
|
|
2405
|
+
var e, t;
|
|
2380
2406
|
return {
|
|
2381
2407
|
contentElement: this.$refs.content.$el,
|
|
2382
2408
|
allowHTML: !0,
|
|
2409
|
+
appendTo: this.appendTo === "body" ? (t = (e = this.anchor) == null ? void 0 : e.getRootNode()) == null ? void 0 : t.querySelector("body") : this.appendTo,
|
|
2383
2410
|
zIndex: this.calculateAnchorZindex(),
|
|
2384
2411
|
onMount: this.onMount,
|
|
2385
2412
|
...this.tippyProps
|
|
@@ -2404,8 +2431,8 @@ const po = (e) => ({
|
|
|
2404
2431
|
}
|
|
2405
2432
|
}
|
|
2406
2433
|
}, Do = { "data-qa": "dt-tooltip-container" };
|
|
2407
|
-
function
|
|
2408
|
-
const l =
|
|
2434
|
+
function Ro(e, t, n, r, o, a) {
|
|
2435
|
+
const l = er("dt-lazy-show");
|
|
2409
2436
|
return mt(), It("div", Do, [
|
|
2410
2437
|
n.externalAnchor ? nn("", !0) : (mt(), It("span", {
|
|
2411
2438
|
key: 0,
|
|
@@ -2415,12 +2442,12 @@ function So(e, t, n, r, o, a) {
|
|
|
2415
2442
|
onFocusout: t[1] || (t[1] = (...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u)),
|
|
2416
2443
|
onMouseenter: t[2] || (t[2] = (...u) => a.onEnterAnchor && a.onEnterAnchor(...u)),
|
|
2417
2444
|
onMouseleave: t[3] || (t[3] = (...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u)),
|
|
2418
|
-
onKeydown: t[4] || (t[4] =
|
|
2445
|
+
onKeydown: t[4] || (t[4] = tr((...u) => a.onLeaveAnchor && a.onLeaveAnchor(...u), ["esc"])),
|
|
2419
2446
|
onTouchstart: t[5] || (t[5] = (...u) => a.onTouchStart && a.onTouchStart(...u))
|
|
2420
2447
|
}, [
|
|
2421
2448
|
gt(e.$slots, "anchor")
|
|
2422
2449
|
], 544)),
|
|
2423
|
-
|
|
2450
|
+
nr(l, en({
|
|
2424
2451
|
id: n.id,
|
|
2425
2452
|
ref: "content",
|
|
2426
2453
|
show: a.isVisible,
|
|
@@ -2437,48 +2464,54 @@ function So(e, t, n, r, o, a) {
|
|
|
2437
2464
|
},
|
|
2438
2465
|
n.contentClass
|
|
2439
2466
|
]
|
|
2440
|
-
},
|
|
2467
|
+
}, rr(a.tooltipListeners)), {
|
|
2441
2468
|
default: tn(() => [
|
|
2442
2469
|
gt(e.$slots, "default", {}, () => [
|
|
2443
|
-
|
|
2470
|
+
ir(or(n.message), 1)
|
|
2444
2471
|
])
|
|
2445
2472
|
]),
|
|
2446
2473
|
_: 3
|
|
2447
2474
|
}, 16, ["id", "show", "appear", "transition", "class"])
|
|
2448
2475
|
]);
|
|
2449
2476
|
}
|
|
2450
|
-
const
|
|
2477
|
+
const Fo = /* @__PURE__ */ vn(So, [["render", Ro]]);
|
|
2451
2478
|
export {
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2479
|
+
ar as A,
|
|
2480
|
+
Uo as B,
|
|
2481
|
+
To as C,
|
|
2482
|
+
Fo as D,
|
|
2483
|
+
No as E,
|
|
2484
|
+
Ao as F,
|
|
2485
|
+
Ho as G,
|
|
2486
|
+
Io as L,
|
|
2487
|
+
ko as P,
|
|
2488
|
+
xo as T,
|
|
2457
2489
|
he as V,
|
|
2458
2490
|
vn as _,
|
|
2459
2491
|
an as a,
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2492
|
+
pr as b,
|
|
2493
|
+
Po as c,
|
|
2494
|
+
lr as d,
|
|
2495
|
+
Nr as e,
|
|
2496
|
+
dr as f,
|
|
2465
2497
|
rn as g,
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2498
|
+
mr as h,
|
|
2499
|
+
Vo as i,
|
|
2500
|
+
_o as j,
|
|
2501
|
+
$o as k,
|
|
2502
|
+
Bo as l,
|
|
2503
|
+
Eo as m,
|
|
2504
|
+
jo as n,
|
|
2505
|
+
wr as o,
|
|
2506
|
+
go as p,
|
|
2507
|
+
mo as q,
|
|
2508
|
+
pn as r,
|
|
2509
|
+
Ar as s,
|
|
2478
2510
|
ze as t,
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2511
|
+
Mo as u,
|
|
2512
|
+
yr as v,
|
|
2513
|
+
Oo as w,
|
|
2514
|
+
Lo as x,
|
|
2515
|
+
Cr as y,
|
|
2516
|
+
Pr as z
|
|
2484
2517
|
};
|