@qubit-ltd/jsdoc-theme 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +260 -0
- package/LICENSE +21 -0
- package/README.md +798 -0
- package/clean-jsdoc-theme-defaults.js +37 -0
- package/clean-jsdoc-theme-helper.js +186 -0
- package/helpers/Environment.html +3 -0
- package/helpers/down-arrow.js +9 -0
- package/helpers/i18n.js +106 -0
- package/i18n/en.json +76 -0
- package/i18n/zh.json +76 -0
- package/package.json +83 -0
- package/publish.js +1133 -0
- package/static/fonts/Inconsolata-Regular.ttf +0 -0
- package/static/fonts/OpenSans-Regular.ttf +0 -0
- package/static/fonts/WorkSans-Bold.ttf +0 -0
- package/static/scripts/core.js +720 -0
- package/static/scripts/core.min.js +23 -0
- package/static/scripts/resize.js +90 -0
- package/static/scripts/search.js +269 -0
- package/static/scripts/search.min.js +6 -0
- package/static/scripts/third-party/Apache-License-2.0.txt +202 -0
- package/static/scripts/third-party/fuse.js +1749 -0
- package/static/scripts/third-party/hljs-line-num-original.js +367 -0
- package/static/scripts/third-party/hljs-line-num.js +1 -0
- package/static/scripts/third-party/hljs-original.js +5260 -0
- package/static/scripts/third-party/hljs.js +1 -0
- package/static/scripts/third-party/popper.js +1287 -0
- package/static/scripts/third-party/tippy.js +1499 -0
- package/static/scripts/third-party/tocbot.js +757 -0
- package/static/scripts/third-party/tocbot.min.js +1 -0
- package/static/styles/clean-jsdoc-theme-base.css +1257 -0
- package/static/styles/clean-jsdoc-theme-dark.css +412 -0
- package/static/styles/clean-jsdoc-theme-light.css +482 -0
- package/static/styles/clean-jsdoc-theme-scrollbar.css +30 -0
- package/static/styles/clean-jsdoc-theme-without-scrollbar.min.css +1 -0
- package/static/styles/clean-jsdoc-theme.min.css +1 -0
- package/tmpl/augments.tmpl +10 -0
- package/tmpl/container.tmpl +261 -0
- package/tmpl/details.tmpl +207 -0
- package/tmpl/example.tmpl +3 -0
- package/tmpl/examples.tmpl +48 -0
- package/tmpl/exceptions.tmpl +32 -0
- package/tmpl/i18n-tooltips.tmpl +30 -0
- package/tmpl/icons.tmpl +77 -0
- package/tmpl/include-target-script-and-styles.tmpl +43 -0
- package/tmpl/layout.tmpl +169 -0
- package/tmpl/mainpage.tmpl +10 -0
- package/tmpl/members.tmpl +42 -0
- package/tmpl/method.tmpl +190 -0
- package/tmpl/mobile-sidebar.tmpl +21 -0
- package/tmpl/navbar-actions.tmpl +25 -0
- package/tmpl/navbar-menu.tmpl +25 -0
- package/tmpl/navbar.tmpl +14 -0
- package/tmpl/params.tmpl +131 -0
- package/tmpl/properties.tmpl +109 -0
- package/tmpl/returns.tmpl +19 -0
- package/tmpl/search.tmpl +17 -0
- package/tmpl/sidebar-items.tmpl +33 -0
- package/tmpl/sidebar-title.tmpl +8 -0
- package/tmpl/sidebar.tmpl +9 -0
- package/tmpl/source.tmpl +13 -0
- package/tmpl/toc.tmpl +4 -0
- package/tmpl/tutorial.tmpl +32 -0
- package/tmpl/type.tmpl +13 -0
|
@@ -0,0 +1,1499 @@
|
|
|
1
|
+
!(function (t, e) {
|
|
2
|
+
typeof exports == "object" && typeof module != "undefined"
|
|
3
|
+
? (module.exports = e(require("@popperjs/core")))
|
|
4
|
+
: typeof define == "function" && define.amd
|
|
5
|
+
? define(["@popperjs/core"], e)
|
|
6
|
+
: ((t = t || self).tippy = e(t.Popper));
|
|
7
|
+
})(this, function (t) {
|
|
8
|
+
var e = typeof window != "undefined" && typeof document != "undefined",
|
|
9
|
+
n = Boolean(e) && Boolean(window.msCrypto),
|
|
10
|
+
r = { passive: !0, capture: !0 },
|
|
11
|
+
o = function () {
|
|
12
|
+
return document.body;
|
|
13
|
+
};
|
|
14
|
+
function i(t, e, n) {
|
|
15
|
+
if (Array.isArray(t)) {
|
|
16
|
+
var r = t[e];
|
|
17
|
+
return r == null ? (Array.isArray(n) ? n[e] : n) : r;
|
|
18
|
+
}
|
|
19
|
+
return t;
|
|
20
|
+
}
|
|
21
|
+
function a(t, e) {
|
|
22
|
+
var n = {}.toString.call(t);
|
|
23
|
+
return n.indexOf("[object") === 0 && n.indexOf(e + "]") > -1;
|
|
24
|
+
}
|
|
25
|
+
function s(t, e) {
|
|
26
|
+
return typeof t == "function" ? t.apply(void 0, e) : t;
|
|
27
|
+
}
|
|
28
|
+
function u(t, e) {
|
|
29
|
+
return e === 0
|
|
30
|
+
? t
|
|
31
|
+
: function (r) {
|
|
32
|
+
clearTimeout(n),
|
|
33
|
+
(n = setTimeout(function () {
|
|
34
|
+
t(r);
|
|
35
|
+
}, e));
|
|
36
|
+
};
|
|
37
|
+
var n;
|
|
38
|
+
}
|
|
39
|
+
function p(t, e) {
|
|
40
|
+
var n = Object.assign({}, t);
|
|
41
|
+
return (
|
|
42
|
+
e.forEach(function (t) {
|
|
43
|
+
delete n[t];
|
|
44
|
+
}),
|
|
45
|
+
n
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
function c(t) {
|
|
49
|
+
return [].concat(t);
|
|
50
|
+
}
|
|
51
|
+
function f(t, e) {
|
|
52
|
+
t.indexOf(e) === -1 && t.push(e);
|
|
53
|
+
}
|
|
54
|
+
function l(t) {
|
|
55
|
+
return t.split("-")[0];
|
|
56
|
+
}
|
|
57
|
+
function d(t) {
|
|
58
|
+
return [].slice.call(t);
|
|
59
|
+
}
|
|
60
|
+
function v(t) {
|
|
61
|
+
return Object.keys(t).reduce(function (e, n) {
|
|
62
|
+
return void 0 !== t[n] && (e[n] = t[n]), e;
|
|
63
|
+
}, {});
|
|
64
|
+
}
|
|
65
|
+
function m() {
|
|
66
|
+
return document.createElement("div");
|
|
67
|
+
}
|
|
68
|
+
function g(t) {
|
|
69
|
+
return ["Element", "Fragment"].some(function (e) {
|
|
70
|
+
return a(t, e);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
function h(t) {
|
|
74
|
+
return a(t, "MouseEvent");
|
|
75
|
+
}
|
|
76
|
+
function b(t) {
|
|
77
|
+
return !(!t || !t._tippy || t._tippy.reference !== t);
|
|
78
|
+
}
|
|
79
|
+
function y(t) {
|
|
80
|
+
return g(t)
|
|
81
|
+
? [t]
|
|
82
|
+
: (function (t) {
|
|
83
|
+
return a(t, "NodeList");
|
|
84
|
+
})(t)
|
|
85
|
+
? d(t)
|
|
86
|
+
: Array.isArray(t)
|
|
87
|
+
? t
|
|
88
|
+
: d(document.querySelectorAll(t));
|
|
89
|
+
}
|
|
90
|
+
function w(t, e) {
|
|
91
|
+
t.forEach(function (t) {
|
|
92
|
+
t && (t.style.transitionDuration = e + "ms");
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function x(t, e) {
|
|
96
|
+
t.forEach(function (t) {
|
|
97
|
+
t && t.setAttribute("data-state", e);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
function E(t) {
|
|
101
|
+
var e,
|
|
102
|
+
n = c(t)[0];
|
|
103
|
+
return n != null && (e = n.ownerDocument) != null && e.body
|
|
104
|
+
? n.ownerDocument
|
|
105
|
+
: document;
|
|
106
|
+
}
|
|
107
|
+
function O(t, e, n) {
|
|
108
|
+
var r = e + "EventListener";
|
|
109
|
+
["transitionend", "webkitTransitionEnd"].forEach(function (e) {
|
|
110
|
+
t[r](e, n);
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
function C(t, e) {
|
|
114
|
+
for (var n = e; n; ) {
|
|
115
|
+
var r;
|
|
116
|
+
if (t.contains(n)) return !0;
|
|
117
|
+
n =
|
|
118
|
+
n.getRootNode == null || (r = n.getRootNode()) == null
|
|
119
|
+
? void 0
|
|
120
|
+
: r.host;
|
|
121
|
+
}
|
|
122
|
+
return !1;
|
|
123
|
+
}
|
|
124
|
+
var T = { isTouch: !1 },
|
|
125
|
+
A = 0;
|
|
126
|
+
function L() {
|
|
127
|
+
T.isTouch ||
|
|
128
|
+
((T.isTouch = !0),
|
|
129
|
+
window.performance && document.addEventListener("mousemove", D));
|
|
130
|
+
}
|
|
131
|
+
function D() {
|
|
132
|
+
var t = performance.now();
|
|
133
|
+
t - A < 20 &&
|
|
134
|
+
((T.isTouch = !1), document.removeEventListener("mousemove", D)),
|
|
135
|
+
(A = t);
|
|
136
|
+
}
|
|
137
|
+
function k() {
|
|
138
|
+
var t = document.activeElement;
|
|
139
|
+
if (b(t)) {
|
|
140
|
+
var e = t._tippy;
|
|
141
|
+
t.blur && !e.state.isVisible && t.blur();
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
var R = Object.assign(
|
|
145
|
+
{
|
|
146
|
+
appendTo: o,
|
|
147
|
+
aria: { content: "auto", expanded: "auto" },
|
|
148
|
+
delay: 0,
|
|
149
|
+
duration: [300, 250],
|
|
150
|
+
getReferenceClientRect: null,
|
|
151
|
+
hideOnClick: !0,
|
|
152
|
+
ignoreAttributes: !1,
|
|
153
|
+
interactive: !1,
|
|
154
|
+
interactiveBorder: 2,
|
|
155
|
+
interactiveDebounce: 0,
|
|
156
|
+
moveTransition: "",
|
|
157
|
+
offset: [0, 10],
|
|
158
|
+
onAfterUpdate: function () {},
|
|
159
|
+
onBeforeUpdate: function () {},
|
|
160
|
+
onCreate: function () {},
|
|
161
|
+
onDestroy: function () {},
|
|
162
|
+
onHidden: function () {},
|
|
163
|
+
onHide: function () {},
|
|
164
|
+
onMount: function () {},
|
|
165
|
+
onShow: function () {},
|
|
166
|
+
onShown: function () {},
|
|
167
|
+
onTrigger: function () {},
|
|
168
|
+
onUntrigger: function () {},
|
|
169
|
+
onClickOutside: function () {},
|
|
170
|
+
placement: "top",
|
|
171
|
+
plugins: [],
|
|
172
|
+
popperOptions: {},
|
|
173
|
+
render: null,
|
|
174
|
+
showOnCreate: !1,
|
|
175
|
+
touch: !0,
|
|
176
|
+
trigger: "mouseenter focus",
|
|
177
|
+
triggerTarget: null,
|
|
178
|
+
},
|
|
179
|
+
{ animateFill: !1, followCursor: !1, inlinePositioning: !1, sticky: !1 },
|
|
180
|
+
{
|
|
181
|
+
allowHTML: !1,
|
|
182
|
+
animation: "fade",
|
|
183
|
+
arrow: !0,
|
|
184
|
+
content: "",
|
|
185
|
+
inertia: !1,
|
|
186
|
+
maxWidth: 350,
|
|
187
|
+
role: "tooltip",
|
|
188
|
+
theme: "",
|
|
189
|
+
zIndex: 9999,
|
|
190
|
+
}
|
|
191
|
+
),
|
|
192
|
+
P = Object.keys(R);
|
|
193
|
+
function j(t) {
|
|
194
|
+
var e = (t.plugins || []).reduce(function (e, n) {
|
|
195
|
+
var r,
|
|
196
|
+
o = n.name,
|
|
197
|
+
i = n.defaultValue;
|
|
198
|
+
o && (e[o] = void 0 !== t[o] ? t[o] : (r = R[o]) != null ? r : i);
|
|
199
|
+
return e;
|
|
200
|
+
}, {});
|
|
201
|
+
return Object.assign({}, t, e);
|
|
202
|
+
}
|
|
203
|
+
function M(t, e) {
|
|
204
|
+
var n = Object.assign(
|
|
205
|
+
{},
|
|
206
|
+
e,
|
|
207
|
+
{ content: s(e.content, [t]) },
|
|
208
|
+
e.ignoreAttributes
|
|
209
|
+
? {}
|
|
210
|
+
: (function (t, e) {
|
|
211
|
+
return (
|
|
212
|
+
e ? Object.keys(j(Object.assign({}, R, { plugins: e }))) : P
|
|
213
|
+
).reduce(function (e, n) {
|
|
214
|
+
var r = (t.getAttribute("data-tippy-" + n) || "").trim();
|
|
215
|
+
if (!r) return e;
|
|
216
|
+
if (n === "content") e[n] = r;
|
|
217
|
+
else
|
|
218
|
+
try {
|
|
219
|
+
e[n] = JSON.parse(r);
|
|
220
|
+
} catch (t) {
|
|
221
|
+
e[n] = r;
|
|
222
|
+
}
|
|
223
|
+
return e;
|
|
224
|
+
}, {});
|
|
225
|
+
})(t, e.plugins)
|
|
226
|
+
);
|
|
227
|
+
return (
|
|
228
|
+
(n.aria = Object.assign({}, R.aria, n.aria)),
|
|
229
|
+
(n.aria = {
|
|
230
|
+
expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded,
|
|
231
|
+
content:
|
|
232
|
+
n.aria.content === "auto"
|
|
233
|
+
? e.interactive
|
|
234
|
+
? null
|
|
235
|
+
: "describedby"
|
|
236
|
+
: n.aria.content,
|
|
237
|
+
}),
|
|
238
|
+
n
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
function V(t, e) {
|
|
242
|
+
t.innerHTML = e;
|
|
243
|
+
}
|
|
244
|
+
function I(t) {
|
|
245
|
+
var e = m();
|
|
246
|
+
return (
|
|
247
|
+
!0 === t
|
|
248
|
+
? (e.className = "tippy-arrow")
|
|
249
|
+
: ((e.className = "tippy-svg-arrow"),
|
|
250
|
+
g(t) ? e.appendChild(t) : V(e, t)),
|
|
251
|
+
e
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
function S(t, e) {
|
|
255
|
+
g(e.content)
|
|
256
|
+
? (V(t, ""), t.appendChild(e.content))
|
|
257
|
+
: typeof e.content != "function" &&
|
|
258
|
+
(e.allowHTML ? V(t, e.content) : (t.textContent = e.content));
|
|
259
|
+
}
|
|
260
|
+
function B(t) {
|
|
261
|
+
var e = t.firstElementChild,
|
|
262
|
+
n = d(e.children);
|
|
263
|
+
return {
|
|
264
|
+
box: e,
|
|
265
|
+
content: n.find(function (t) {
|
|
266
|
+
return t.classList.contains("tippy-content");
|
|
267
|
+
}),
|
|
268
|
+
arrow: n.find(function (t) {
|
|
269
|
+
return (
|
|
270
|
+
t.classList.contains("tippy-arrow") ||
|
|
271
|
+
t.classList.contains("tippy-svg-arrow")
|
|
272
|
+
);
|
|
273
|
+
}),
|
|
274
|
+
backdrop: n.find(function (t) {
|
|
275
|
+
return t.classList.contains("tippy-backdrop");
|
|
276
|
+
}),
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
function N(t) {
|
|
280
|
+
var e = m(),
|
|
281
|
+
n = m();
|
|
282
|
+
(n.className = "tippy-box"),
|
|
283
|
+
n.setAttribute("data-state", "hidden"),
|
|
284
|
+
n.setAttribute("tabindex", "-1");
|
|
285
|
+
var r = m();
|
|
286
|
+
function o(n, r) {
|
|
287
|
+
var o = B(e),
|
|
288
|
+
i = o.box,
|
|
289
|
+
a = o.content,
|
|
290
|
+
s = o.arrow;
|
|
291
|
+
r.theme
|
|
292
|
+
? i.setAttribute("data-theme", r.theme)
|
|
293
|
+
: i.removeAttribute("data-theme"),
|
|
294
|
+
typeof r.animation == "string"
|
|
295
|
+
? i.setAttribute("data-animation", r.animation)
|
|
296
|
+
: i.removeAttribute("data-animation"),
|
|
297
|
+
r.inertia
|
|
298
|
+
? i.setAttribute("data-inertia", "")
|
|
299
|
+
: i.removeAttribute("data-inertia"),
|
|
300
|
+
(i.style.maxWidth =
|
|
301
|
+
typeof r.maxWidth == "number" ? r.maxWidth + "px" : r.maxWidth),
|
|
302
|
+
r.role ? i.setAttribute("role", r.role) : i.removeAttribute("role"),
|
|
303
|
+
(n.content === r.content && n.allowHTML === r.allowHTML) ||
|
|
304
|
+
S(a, t.props),
|
|
305
|
+
r.arrow
|
|
306
|
+
? s
|
|
307
|
+
? n.arrow !== r.arrow &&
|
|
308
|
+
(i.removeChild(s), i.appendChild(I(r.arrow)))
|
|
309
|
+
: i.appendChild(I(r.arrow))
|
|
310
|
+
: s && i.removeChild(s);
|
|
311
|
+
}
|
|
312
|
+
return (
|
|
313
|
+
(r.className = "tippy-content"),
|
|
314
|
+
r.setAttribute("data-state", "hidden"),
|
|
315
|
+
S(r, t.props),
|
|
316
|
+
e.appendChild(n),
|
|
317
|
+
n.appendChild(r),
|
|
318
|
+
o(t.props, t.props),
|
|
319
|
+
{ popper: e, onUpdate: o }
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
N.$$tippy = !0;
|
|
323
|
+
var H = 1,
|
|
324
|
+
U = [],
|
|
325
|
+
_ = [];
|
|
326
|
+
function z(e, a) {
|
|
327
|
+
var p,
|
|
328
|
+
g,
|
|
329
|
+
b,
|
|
330
|
+
y,
|
|
331
|
+
A,
|
|
332
|
+
L,
|
|
333
|
+
D,
|
|
334
|
+
k,
|
|
335
|
+
P = M(e, Object.assign({}, R, j(v(a)))),
|
|
336
|
+
V = !1,
|
|
337
|
+
I = !1,
|
|
338
|
+
S = !1,
|
|
339
|
+
N = !1,
|
|
340
|
+
z = [],
|
|
341
|
+
F = u(wt, P.interactiveDebounce),
|
|
342
|
+
W = H++,
|
|
343
|
+
X = (k = P.plugins).filter(function (t, e) {
|
|
344
|
+
return k.indexOf(t) === e;
|
|
345
|
+
}),
|
|
346
|
+
Y = {
|
|
347
|
+
id: W,
|
|
348
|
+
reference: e,
|
|
349
|
+
popper: m(),
|
|
350
|
+
popperInstance: null,
|
|
351
|
+
props: P,
|
|
352
|
+
state: {
|
|
353
|
+
isEnabled: !0,
|
|
354
|
+
isVisible: !1,
|
|
355
|
+
isDestroyed: !1,
|
|
356
|
+
isMounted: !1,
|
|
357
|
+
isShown: !1,
|
|
358
|
+
},
|
|
359
|
+
plugins: X,
|
|
360
|
+
clearDelayTimeouts: function () {
|
|
361
|
+
clearTimeout(p), clearTimeout(g), cancelAnimationFrame(b);
|
|
362
|
+
},
|
|
363
|
+
setProps: function (t) {
|
|
364
|
+
if (Y.state.isDestroyed) return;
|
|
365
|
+
at("onBeforeUpdate", [Y, t]), bt();
|
|
366
|
+
var n = Y.props,
|
|
367
|
+
r = M(e, Object.assign({}, n, v(t), { ignoreAttributes: !0 }));
|
|
368
|
+
(Y.props = r),
|
|
369
|
+
ht(),
|
|
370
|
+
n.interactiveDebounce !== r.interactiveDebounce &&
|
|
371
|
+
(pt(), (F = u(wt, r.interactiveDebounce)));
|
|
372
|
+
n.triggerTarget && !r.triggerTarget
|
|
373
|
+
? c(n.triggerTarget).forEach(function (t) {
|
|
374
|
+
t.removeAttribute("aria-expanded");
|
|
375
|
+
})
|
|
376
|
+
: r.triggerTarget && e.removeAttribute("aria-expanded");
|
|
377
|
+
ut(), it(), J && J(n, r);
|
|
378
|
+
Y.popperInstance &&
|
|
379
|
+
(Ct(),
|
|
380
|
+
At().forEach(function (t) {
|
|
381
|
+
requestAnimationFrame(t._tippy.popperInstance.forceUpdate);
|
|
382
|
+
}));
|
|
383
|
+
at("onAfterUpdate", [Y, t]);
|
|
384
|
+
},
|
|
385
|
+
setContent: function (t) {
|
|
386
|
+
Y.setProps({ content: t });
|
|
387
|
+
},
|
|
388
|
+
show: function () {
|
|
389
|
+
var t = Y.state.isVisible,
|
|
390
|
+
e = Y.state.isDestroyed,
|
|
391
|
+
n = !Y.state.isEnabled,
|
|
392
|
+
r = T.isTouch && !Y.props.touch,
|
|
393
|
+
a = i(Y.props.duration, 0, R.duration);
|
|
394
|
+
if (t || e || n || r) return;
|
|
395
|
+
if (et().hasAttribute("disabled")) return;
|
|
396
|
+
if ((at("onShow", [Y], !1), !1 === Y.props.onShow(Y))) return;
|
|
397
|
+
(Y.state.isVisible = !0), tt() && ($.style.visibility = "visible");
|
|
398
|
+
it(), dt(), Y.state.isMounted || ($.style.transition = "none");
|
|
399
|
+
if (tt()) {
|
|
400
|
+
var u = rt(),
|
|
401
|
+
p = u.box,
|
|
402
|
+
c = u.content;
|
|
403
|
+
w([p, c], 0);
|
|
404
|
+
}
|
|
405
|
+
(L = function () {
|
|
406
|
+
var t;
|
|
407
|
+
if (Y.state.isVisible && !N) {
|
|
408
|
+
if (
|
|
409
|
+
((N = !0),
|
|
410
|
+
$.offsetHeight,
|
|
411
|
+
($.style.transition = Y.props.moveTransition),
|
|
412
|
+
tt() && Y.props.animation)
|
|
413
|
+
) {
|
|
414
|
+
var e = rt(),
|
|
415
|
+
n = e.box,
|
|
416
|
+
r = e.content;
|
|
417
|
+
w([n, r], a), x([n, r], "visible");
|
|
418
|
+
}
|
|
419
|
+
st(),
|
|
420
|
+
ut(),
|
|
421
|
+
f(_, Y),
|
|
422
|
+
(t = Y.popperInstance) == null || t.forceUpdate(),
|
|
423
|
+
at("onMount", [Y]),
|
|
424
|
+
Y.props.animation &&
|
|
425
|
+
tt() &&
|
|
426
|
+
(function (t, e) {
|
|
427
|
+
mt(t, e);
|
|
428
|
+
})(a, function () {
|
|
429
|
+
(Y.state.isShown = !0), at("onShown", [Y]);
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
}),
|
|
433
|
+
(function () {
|
|
434
|
+
var t,
|
|
435
|
+
e = Y.props.appendTo,
|
|
436
|
+
n = et();
|
|
437
|
+
t =
|
|
438
|
+
(Y.props.interactive && e === o) || e === "parent"
|
|
439
|
+
? n.parentNode
|
|
440
|
+
: s(e, [n]);
|
|
441
|
+
t.contains($) || t.appendChild($);
|
|
442
|
+
(Y.state.isMounted = !0), Ct();
|
|
443
|
+
})();
|
|
444
|
+
},
|
|
445
|
+
hide: function () {
|
|
446
|
+
var t = !Y.state.isVisible,
|
|
447
|
+
e = Y.state.isDestroyed,
|
|
448
|
+
n = !Y.state.isEnabled,
|
|
449
|
+
r = i(Y.props.duration, 1, R.duration);
|
|
450
|
+
if (t || e || n) return;
|
|
451
|
+
if ((at("onHide", [Y], !1), !1 === Y.props.onHide(Y))) return;
|
|
452
|
+
(Y.state.isVisible = !1),
|
|
453
|
+
(Y.state.isShown = !1),
|
|
454
|
+
(N = !1),
|
|
455
|
+
(V = !1),
|
|
456
|
+
tt() && ($.style.visibility = "hidden");
|
|
457
|
+
if ((pt(), vt(), it(!0), tt())) {
|
|
458
|
+
var o = rt(),
|
|
459
|
+
a = o.box,
|
|
460
|
+
s = o.content;
|
|
461
|
+
Y.props.animation && (w([a, s], r), x([a, s], "hidden"));
|
|
462
|
+
}
|
|
463
|
+
st(),
|
|
464
|
+
ut(),
|
|
465
|
+
Y.props.animation
|
|
466
|
+
? tt() &&
|
|
467
|
+
(function (t, e) {
|
|
468
|
+
mt(t, function () {
|
|
469
|
+
!Y.state.isVisible &&
|
|
470
|
+
$.parentNode &&
|
|
471
|
+
$.parentNode.contains($) &&
|
|
472
|
+
e();
|
|
473
|
+
});
|
|
474
|
+
})(r, Y.unmount)
|
|
475
|
+
: Y.unmount();
|
|
476
|
+
},
|
|
477
|
+
hideWithInteractivity: function (t) {
|
|
478
|
+
nt().addEventListener("mousemove", F), f(U, F), F(t);
|
|
479
|
+
},
|
|
480
|
+
enable: function () {
|
|
481
|
+
Y.state.isEnabled = !0;
|
|
482
|
+
},
|
|
483
|
+
disable: function () {
|
|
484
|
+
Y.hide(), (Y.state.isEnabled = !1);
|
|
485
|
+
},
|
|
486
|
+
unmount: function () {
|
|
487
|
+
Y.state.isVisible && Y.hide();
|
|
488
|
+
if (!Y.state.isMounted) return;
|
|
489
|
+
Tt(),
|
|
490
|
+
At().forEach(function (t) {
|
|
491
|
+
t._tippy.unmount();
|
|
492
|
+
}),
|
|
493
|
+
$.parentNode && $.parentNode.removeChild($);
|
|
494
|
+
(_ = _.filter(function (t) {
|
|
495
|
+
return t !== Y;
|
|
496
|
+
})),
|
|
497
|
+
(Y.state.isMounted = !1),
|
|
498
|
+
at("onHidden", [Y]);
|
|
499
|
+
},
|
|
500
|
+
destroy: function () {
|
|
501
|
+
if (Y.state.isDestroyed) return;
|
|
502
|
+
Y.clearDelayTimeouts(),
|
|
503
|
+
Y.unmount(),
|
|
504
|
+
bt(),
|
|
505
|
+
delete e._tippy,
|
|
506
|
+
(Y.state.isDestroyed = !0),
|
|
507
|
+
at("onDestroy", [Y]);
|
|
508
|
+
},
|
|
509
|
+
};
|
|
510
|
+
if (!P.render) return Y;
|
|
511
|
+
var q = P.render(Y),
|
|
512
|
+
$ = q.popper,
|
|
513
|
+
J = q.onUpdate;
|
|
514
|
+
$.setAttribute("data-tippy-root", ""),
|
|
515
|
+
($.id = "tippy-" + Y.id),
|
|
516
|
+
(Y.popper = $),
|
|
517
|
+
(e._tippy = Y),
|
|
518
|
+
($._tippy = Y);
|
|
519
|
+
var G = X.map(function (t) {
|
|
520
|
+
return t.fn(Y);
|
|
521
|
+
}),
|
|
522
|
+
K = e.hasAttribute("aria-expanded");
|
|
523
|
+
return (
|
|
524
|
+
ht(),
|
|
525
|
+
ut(),
|
|
526
|
+
it(),
|
|
527
|
+
at("onCreate", [Y]),
|
|
528
|
+
P.showOnCreate && Lt(),
|
|
529
|
+
$.addEventListener("mouseenter", function () {
|
|
530
|
+
Y.props.interactive && Y.state.isVisible && Y.clearDelayTimeouts();
|
|
531
|
+
}),
|
|
532
|
+
$.addEventListener("mouseleave", function () {
|
|
533
|
+
Y.props.interactive &&
|
|
534
|
+
Y.props.trigger.indexOf("mouseenter") >= 0 &&
|
|
535
|
+
nt().addEventListener("mousemove", F);
|
|
536
|
+
}),
|
|
537
|
+
Y
|
|
538
|
+
);
|
|
539
|
+
function Q() {
|
|
540
|
+
var t = Y.props.touch;
|
|
541
|
+
return Array.isArray(t) ? t : [t, 0];
|
|
542
|
+
}
|
|
543
|
+
function Z() {
|
|
544
|
+
return Q()[0] === "hold";
|
|
545
|
+
}
|
|
546
|
+
function tt() {
|
|
547
|
+
var t;
|
|
548
|
+
return !((t = Y.props.render) == null || !t.$$tippy);
|
|
549
|
+
}
|
|
550
|
+
function et() {
|
|
551
|
+
return D || e;
|
|
552
|
+
}
|
|
553
|
+
function nt() {
|
|
554
|
+
var t = et().parentNode;
|
|
555
|
+
return t ? E(t) : document;
|
|
556
|
+
}
|
|
557
|
+
function rt() {
|
|
558
|
+
return B($);
|
|
559
|
+
}
|
|
560
|
+
function ot(t) {
|
|
561
|
+
return (Y.state.isMounted && !Y.state.isVisible) ||
|
|
562
|
+
T.isTouch ||
|
|
563
|
+
(y && y.type === "focus")
|
|
564
|
+
? 0
|
|
565
|
+
: i(Y.props.delay, t ? 0 : 1, R.delay);
|
|
566
|
+
}
|
|
567
|
+
function it(t) {
|
|
568
|
+
void 0 === t && (t = !1),
|
|
569
|
+
($.style.pointerEvents = Y.props.interactive && !t ? "" : "none"),
|
|
570
|
+
($.style.zIndex = String(Y.props.zIndex));
|
|
571
|
+
}
|
|
572
|
+
function at(t, e, n) {
|
|
573
|
+
var r;
|
|
574
|
+
(void 0 === n && (n = !0),
|
|
575
|
+
G.forEach(function (n) {
|
|
576
|
+
n[t] && n[t].apply(n, e);
|
|
577
|
+
}),
|
|
578
|
+
n) && (r = Y.props)[t].apply(r, e);
|
|
579
|
+
}
|
|
580
|
+
function st() {
|
|
581
|
+
var t = Y.props.aria;
|
|
582
|
+
if (t.content) {
|
|
583
|
+
var n = "aria-" + t.content,
|
|
584
|
+
r = $.id;
|
|
585
|
+
c(Y.props.triggerTarget || e).forEach(function (t) {
|
|
586
|
+
var e = t.getAttribute(n);
|
|
587
|
+
if (Y.state.isVisible) t.setAttribute(n, e ? e + " " + r : r);
|
|
588
|
+
else {
|
|
589
|
+
var o = e && e.replace(r, "").trim();
|
|
590
|
+
o ? t.setAttribute(n, o) : t.removeAttribute(n);
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
function ut() {
|
|
596
|
+
!K &&
|
|
597
|
+
Y.props.aria.expanded &&
|
|
598
|
+
c(Y.props.triggerTarget || e).forEach(function (t) {
|
|
599
|
+
Y.props.interactive
|
|
600
|
+
? t.setAttribute(
|
|
601
|
+
"aria-expanded",
|
|
602
|
+
Y.state.isVisible && t === et() ? "true" : "false"
|
|
603
|
+
)
|
|
604
|
+
: t.removeAttribute("aria-expanded");
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
function pt() {
|
|
608
|
+
nt().removeEventListener("mousemove", F),
|
|
609
|
+
(U = U.filter(function (t) {
|
|
610
|
+
return t !== F;
|
|
611
|
+
}));
|
|
612
|
+
}
|
|
613
|
+
function ct(t) {
|
|
614
|
+
if (!T.isTouch || (!S && t.type !== "mousedown")) {
|
|
615
|
+
var n = (t.composedPath && t.composedPath()[0]) || t.target;
|
|
616
|
+
if (!Y.props.interactive || !C($, n)) {
|
|
617
|
+
if (
|
|
618
|
+
c(Y.props.triggerTarget || e).some(function (t) {
|
|
619
|
+
return C(t, n);
|
|
620
|
+
})
|
|
621
|
+
) {
|
|
622
|
+
if (T.isTouch) return;
|
|
623
|
+
if (Y.state.isVisible && Y.props.trigger.indexOf("click") >= 0)
|
|
624
|
+
return;
|
|
625
|
+
} else at("onClickOutside", [Y, t]);
|
|
626
|
+
!0 === Y.props.hideOnClick &&
|
|
627
|
+
(Y.clearDelayTimeouts(),
|
|
628
|
+
Y.hide(),
|
|
629
|
+
(I = !0),
|
|
630
|
+
setTimeout(function () {
|
|
631
|
+
I = !1;
|
|
632
|
+
}),
|
|
633
|
+
Y.state.isMounted || vt());
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
function ft() {
|
|
638
|
+
S = !0;
|
|
639
|
+
}
|
|
640
|
+
function lt() {
|
|
641
|
+
S = !1;
|
|
642
|
+
}
|
|
643
|
+
function dt() {
|
|
644
|
+
var t = nt();
|
|
645
|
+
t.addEventListener("mousedown", ct, !0),
|
|
646
|
+
t.addEventListener("touchend", ct, r),
|
|
647
|
+
t.addEventListener("touchstart", lt, r),
|
|
648
|
+
t.addEventListener("touchmove", ft, r);
|
|
649
|
+
}
|
|
650
|
+
function vt() {
|
|
651
|
+
var t = nt();
|
|
652
|
+
t.removeEventListener("mousedown", ct, !0),
|
|
653
|
+
t.removeEventListener("touchend", ct, r),
|
|
654
|
+
t.removeEventListener("touchstart", lt, r),
|
|
655
|
+
t.removeEventListener("touchmove", ft, r);
|
|
656
|
+
}
|
|
657
|
+
function mt(t, e) {
|
|
658
|
+
var n = rt().box;
|
|
659
|
+
function r(t) {
|
|
660
|
+
t.target === n && (O(n, "remove", r), e());
|
|
661
|
+
}
|
|
662
|
+
if (t === 0) return e();
|
|
663
|
+
O(n, "remove", A), O(n, "add", r), (A = r);
|
|
664
|
+
}
|
|
665
|
+
function gt(t, n, r) {
|
|
666
|
+
void 0 === r && (r = !1),
|
|
667
|
+
c(Y.props.triggerTarget || e).forEach(function (e) {
|
|
668
|
+
e.addEventListener(t, n, r),
|
|
669
|
+
z.push({ node: e, eventType: t, handler: n, options: r });
|
|
670
|
+
});
|
|
671
|
+
}
|
|
672
|
+
function ht() {
|
|
673
|
+
var t;
|
|
674
|
+
Z() &&
|
|
675
|
+
(gt("touchstart", yt, { passive: !0 }),
|
|
676
|
+
gt("touchend", xt, { passive: !0 })),
|
|
677
|
+
((t = Y.props.trigger), t.split(/\s+/).filter(Boolean)).forEach(
|
|
678
|
+
function (t) {
|
|
679
|
+
if (t !== "manual")
|
|
680
|
+
switch ((gt(t, yt), t)) {
|
|
681
|
+
case "mouseenter":
|
|
682
|
+
gt("mouseleave", xt);
|
|
683
|
+
break;
|
|
684
|
+
case "focus":
|
|
685
|
+
gt(n ? "focusout" : "blur", Et);
|
|
686
|
+
break;
|
|
687
|
+
case "focusin":
|
|
688
|
+
gt("focusout", Et);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
);
|
|
692
|
+
}
|
|
693
|
+
function bt() {
|
|
694
|
+
z.forEach(function (t) {
|
|
695
|
+
var e = t.node,
|
|
696
|
+
n = t.eventType,
|
|
697
|
+
r = t.handler,
|
|
698
|
+
o = t.options;
|
|
699
|
+
e.removeEventListener(n, r, o);
|
|
700
|
+
}),
|
|
701
|
+
(z = []);
|
|
702
|
+
}
|
|
703
|
+
function yt(t) {
|
|
704
|
+
var e,
|
|
705
|
+
n = !1;
|
|
706
|
+
if (Y.state.isEnabled && !Ot(t) && !I) {
|
|
707
|
+
var r = ((e = y) == null ? void 0 : e.type) === "focus";
|
|
708
|
+
(y = t),
|
|
709
|
+
(D = t.currentTarget),
|
|
710
|
+
ut(),
|
|
711
|
+
!Y.state.isVisible &&
|
|
712
|
+
h(t) &&
|
|
713
|
+
U.forEach(function (e) {
|
|
714
|
+
return e(t);
|
|
715
|
+
}),
|
|
716
|
+
t.type === "click" &&
|
|
717
|
+
(Y.props.trigger.indexOf("mouseenter") < 0 || V) &&
|
|
718
|
+
!1 !== Y.props.hideOnClick &&
|
|
719
|
+
Y.state.isVisible
|
|
720
|
+
? (n = !0)
|
|
721
|
+
: Lt(t),
|
|
722
|
+
t.type === "click" && (V = !n),
|
|
723
|
+
n && !r && Dt(t);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
function wt(t) {
|
|
727
|
+
var e = t.target,
|
|
728
|
+
n = et().contains(e) || $.contains(e);
|
|
729
|
+
(t.type === "mousemove" && n) ||
|
|
730
|
+
((function (t, e) {
|
|
731
|
+
var n = e.clientX,
|
|
732
|
+
r = e.clientY;
|
|
733
|
+
return t.every(function (t) {
|
|
734
|
+
var e = t.popperRect,
|
|
735
|
+
o = t.popperState,
|
|
736
|
+
i = t.props.interactiveBorder,
|
|
737
|
+
a = l(o.placement),
|
|
738
|
+
s = o.modifiersData.offset;
|
|
739
|
+
if (!s) return !0;
|
|
740
|
+
var u = a === "bottom" ? s.top.y : 0,
|
|
741
|
+
p = a === "top" ? s.bottom.y : 0,
|
|
742
|
+
c = a === "right" ? s.left.x : 0,
|
|
743
|
+
f = a === "left" ? s.right.x : 0,
|
|
744
|
+
d = e.top - r + u > i,
|
|
745
|
+
v = r - e.bottom - p > i,
|
|
746
|
+
m = e.left - n + c > i,
|
|
747
|
+
g = n - e.right - f > i;
|
|
748
|
+
return d || v || m || g;
|
|
749
|
+
});
|
|
750
|
+
})(
|
|
751
|
+
At()
|
|
752
|
+
.concat($)
|
|
753
|
+
.map(function (t) {
|
|
754
|
+
var e,
|
|
755
|
+
n = (e = t._tippy.popperInstance) == null ? void 0 : e.state;
|
|
756
|
+
return n
|
|
757
|
+
? {
|
|
758
|
+
popperRect: t.getBoundingClientRect(),
|
|
759
|
+
popperState: n,
|
|
760
|
+
props: P,
|
|
761
|
+
}
|
|
762
|
+
: null;
|
|
763
|
+
})
|
|
764
|
+
.filter(Boolean),
|
|
765
|
+
t
|
|
766
|
+
) &&
|
|
767
|
+
(pt(), Dt(t)));
|
|
768
|
+
}
|
|
769
|
+
function xt(t) {
|
|
770
|
+
Ot(t) ||
|
|
771
|
+
(Y.props.trigger.indexOf("click") >= 0 && V) ||
|
|
772
|
+
(Y.props.interactive ? Y.hideWithInteractivity(t) : Dt(t));
|
|
773
|
+
}
|
|
774
|
+
function Et(t) {
|
|
775
|
+
(Y.props.trigger.indexOf("focusin") < 0 && t.target !== et()) ||
|
|
776
|
+
(Y.props.interactive &&
|
|
777
|
+
t.relatedTarget &&
|
|
778
|
+
$.contains(t.relatedTarget)) ||
|
|
779
|
+
Dt(t);
|
|
780
|
+
}
|
|
781
|
+
function Ot(t) {
|
|
782
|
+
return Boolean(T.isTouch) && Z() !== t.type.indexOf("touch") >= 0;
|
|
783
|
+
}
|
|
784
|
+
function Ct() {
|
|
785
|
+
Tt();
|
|
786
|
+
var n = Y.props,
|
|
787
|
+
r = n.popperOptions,
|
|
788
|
+
o = n.placement,
|
|
789
|
+
i = n.offset,
|
|
790
|
+
a = n.getReferenceClientRect,
|
|
791
|
+
s = n.moveTransition,
|
|
792
|
+
u = tt() ? B($).arrow : null,
|
|
793
|
+
p = a
|
|
794
|
+
? {
|
|
795
|
+
getBoundingClientRect: a,
|
|
796
|
+
contextElement: a.contextElement || et(),
|
|
797
|
+
}
|
|
798
|
+
: e,
|
|
799
|
+
c = [
|
|
800
|
+
{ name: "offset", options: { offset: i } },
|
|
801
|
+
{
|
|
802
|
+
name: "preventOverflow",
|
|
803
|
+
options: { padding: { top: 2, bottom: 2, left: 5, right: 5 } },
|
|
804
|
+
},
|
|
805
|
+
{ name: "flip", options: { padding: 5 } },
|
|
806
|
+
{ name: "computeStyles", options: { adaptive: !s } },
|
|
807
|
+
{
|
|
808
|
+
name: "$$tippy",
|
|
809
|
+
enabled: !0,
|
|
810
|
+
phase: "beforeWrite",
|
|
811
|
+
requires: ["computeStyles"],
|
|
812
|
+
fn: function (t) {
|
|
813
|
+
var e = t.state;
|
|
814
|
+
if (tt()) {
|
|
815
|
+
var n = rt().box;
|
|
816
|
+
["placement", "reference-hidden", "escaped"].forEach(function (
|
|
817
|
+
t
|
|
818
|
+
) {
|
|
819
|
+
t === "placement"
|
|
820
|
+
? n.setAttribute("data-placement", e.placement)
|
|
821
|
+
: e.attributes.popper["data-popper-" + t]
|
|
822
|
+
? n.setAttribute("data-" + t, "")
|
|
823
|
+
: n.removeAttribute("data-" + t);
|
|
824
|
+
}),
|
|
825
|
+
(e.attributes.popper = {});
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
},
|
|
829
|
+
];
|
|
830
|
+
tt() &&
|
|
831
|
+
u &&
|
|
832
|
+
c.push({ name: "arrow", options: { element: u, padding: 3 } }),
|
|
833
|
+
c.push.apply(c, (r == null ? void 0 : r.modifiers) || []),
|
|
834
|
+
(Y.popperInstance = t.createPopper(
|
|
835
|
+
p,
|
|
836
|
+
$,
|
|
837
|
+
Object.assign({}, r, { placement: o, onFirstUpdate: L, modifiers: c })
|
|
838
|
+
));
|
|
839
|
+
}
|
|
840
|
+
function Tt() {
|
|
841
|
+
Y.popperInstance &&
|
|
842
|
+
(Y.popperInstance.destroy(), (Y.popperInstance = null));
|
|
843
|
+
}
|
|
844
|
+
function At() {
|
|
845
|
+
return d($.querySelectorAll("[data-tippy-root]"));
|
|
846
|
+
}
|
|
847
|
+
function Lt(t) {
|
|
848
|
+
Y.clearDelayTimeouts(), t && at("onTrigger", [Y, t]), dt();
|
|
849
|
+
var e = ot(!0),
|
|
850
|
+
n = Q(),
|
|
851
|
+
r = n[0],
|
|
852
|
+
o = n[1];
|
|
853
|
+
T.isTouch && r === "hold" && o && (e = o),
|
|
854
|
+
e
|
|
855
|
+
? (p = setTimeout(function () {
|
|
856
|
+
Y.show();
|
|
857
|
+
}, e))
|
|
858
|
+
: Y.show();
|
|
859
|
+
}
|
|
860
|
+
function Dt(t) {
|
|
861
|
+
if (
|
|
862
|
+
(Y.clearDelayTimeouts(), at("onUntrigger", [Y, t]), Y.state.isVisible)
|
|
863
|
+
) {
|
|
864
|
+
if (
|
|
865
|
+
!(
|
|
866
|
+
Y.props.trigger.indexOf("mouseenter") >= 0 &&
|
|
867
|
+
Y.props.trigger.indexOf("click") >= 0 &&
|
|
868
|
+
["mouseleave", "mousemove"].indexOf(t.type) >= 0 &&
|
|
869
|
+
V
|
|
870
|
+
)
|
|
871
|
+
) {
|
|
872
|
+
var e = ot(!1);
|
|
873
|
+
e
|
|
874
|
+
? (g = setTimeout(function () {
|
|
875
|
+
Y.state.isVisible && Y.hide();
|
|
876
|
+
}, e))
|
|
877
|
+
: (b = requestAnimationFrame(function () {
|
|
878
|
+
Y.hide();
|
|
879
|
+
}));
|
|
880
|
+
}
|
|
881
|
+
} else vt();
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
function F(t, e) {
|
|
885
|
+
void 0 === e && (e = {});
|
|
886
|
+
var n = R.plugins.concat(e.plugins || []);
|
|
887
|
+
document.addEventListener("touchstart", L, r),
|
|
888
|
+
window.addEventListener("blur", k);
|
|
889
|
+
var o = Object.assign({}, e, { plugins: n }),
|
|
890
|
+
i = y(t).reduce(function (t, e) {
|
|
891
|
+
var n = e && z(e, o);
|
|
892
|
+
return n && t.push(n), t;
|
|
893
|
+
}, []);
|
|
894
|
+
return g(t) ? i[0] : i;
|
|
895
|
+
}
|
|
896
|
+
(F.defaultProps = R),
|
|
897
|
+
(F.setDefaultProps = function (t) {
|
|
898
|
+
Object.keys(t).forEach(function (e) {
|
|
899
|
+
R[e] = t[e];
|
|
900
|
+
});
|
|
901
|
+
}),
|
|
902
|
+
(F.currentInput = T);
|
|
903
|
+
var W = Object.assign({}, t.applyStyles, {
|
|
904
|
+
effect: function (t) {
|
|
905
|
+
var e = t.state,
|
|
906
|
+
n = {
|
|
907
|
+
popper: {
|
|
908
|
+
position: e.options.strategy,
|
|
909
|
+
left: "0",
|
|
910
|
+
top: "0",
|
|
911
|
+
margin: "0",
|
|
912
|
+
},
|
|
913
|
+
arrow: { position: "absolute" },
|
|
914
|
+
reference: {},
|
|
915
|
+
};
|
|
916
|
+
Object.assign(e.elements.popper.style, n.popper),
|
|
917
|
+
(e.styles = n),
|
|
918
|
+
e.elements.arrow && Object.assign(e.elements.arrow.style, n.arrow);
|
|
919
|
+
},
|
|
920
|
+
}),
|
|
921
|
+
X = { mouseover: "mouseenter", focusin: "focus", click: "click" };
|
|
922
|
+
var Y = {
|
|
923
|
+
name: "animateFill",
|
|
924
|
+
defaultValue: !1,
|
|
925
|
+
fn: function (t) {
|
|
926
|
+
var e;
|
|
927
|
+
if ((e = t.props.render) == null || !e.$$tippy) return {};
|
|
928
|
+
var n = B(t.popper),
|
|
929
|
+
r = n.box,
|
|
930
|
+
o = n.content,
|
|
931
|
+
i = t.props.animateFill
|
|
932
|
+
? (function () {
|
|
933
|
+
var t = m();
|
|
934
|
+
return (t.className = "tippy-backdrop"), x([t], "hidden"), t;
|
|
935
|
+
})()
|
|
936
|
+
: null;
|
|
937
|
+
return {
|
|
938
|
+
onCreate: function () {
|
|
939
|
+
i &&
|
|
940
|
+
(r.insertBefore(i, r.firstElementChild),
|
|
941
|
+
r.setAttribute("data-animatefill", ""),
|
|
942
|
+
(r.style.overflow = "hidden"),
|
|
943
|
+
t.setProps({ arrow: !1, animation: "shift-away" }));
|
|
944
|
+
},
|
|
945
|
+
onMount: function () {
|
|
946
|
+
if (i) {
|
|
947
|
+
var t = r.style.transitionDuration,
|
|
948
|
+
e = Number(t.replace("ms", ""));
|
|
949
|
+
(o.style.transitionDelay = Math.round(e / 10) + "ms"),
|
|
950
|
+
(i.style.transitionDuration = t),
|
|
951
|
+
x([i], "visible");
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
onShow: function () {
|
|
955
|
+
i && (i.style.transitionDuration = "0ms");
|
|
956
|
+
},
|
|
957
|
+
onHide: function () {
|
|
958
|
+
i && x([i], "hidden");
|
|
959
|
+
},
|
|
960
|
+
};
|
|
961
|
+
},
|
|
962
|
+
};
|
|
963
|
+
var q = { clientX: 0, clientY: 0 },
|
|
964
|
+
$ = [];
|
|
965
|
+
function J(t) {
|
|
966
|
+
var e = t.clientX,
|
|
967
|
+
n = t.clientY;
|
|
968
|
+
q = { clientX: e, clientY: n };
|
|
969
|
+
}
|
|
970
|
+
var G = {
|
|
971
|
+
name: "followCursor",
|
|
972
|
+
defaultValue: !1,
|
|
973
|
+
fn: function (t) {
|
|
974
|
+
var e = t.reference,
|
|
975
|
+
n = E(t.props.triggerTarget || e),
|
|
976
|
+
r = !1,
|
|
977
|
+
o = !1,
|
|
978
|
+
i = !0,
|
|
979
|
+
a = t.props;
|
|
980
|
+
function s() {
|
|
981
|
+
return t.props.followCursor === "initial" && t.state.isVisible;
|
|
982
|
+
}
|
|
983
|
+
function u() {
|
|
984
|
+
n.addEventListener("mousemove", f);
|
|
985
|
+
}
|
|
986
|
+
function p() {
|
|
987
|
+
n.removeEventListener("mousemove", f);
|
|
988
|
+
}
|
|
989
|
+
function c() {
|
|
990
|
+
(r = !0), t.setProps({ getReferenceClientRect: null }), (r = !1);
|
|
991
|
+
}
|
|
992
|
+
function f(n) {
|
|
993
|
+
var r = !n.target || e.contains(n.target),
|
|
994
|
+
o = t.props.followCursor,
|
|
995
|
+
i = n.clientX,
|
|
996
|
+
a = n.clientY,
|
|
997
|
+
s = e.getBoundingClientRect(),
|
|
998
|
+
u = i - s.left,
|
|
999
|
+
p = a - s.top;
|
|
1000
|
+
(!r && t.props.interactive) ||
|
|
1001
|
+
t.setProps({
|
|
1002
|
+
getReferenceClientRect: function () {
|
|
1003
|
+
var t = e.getBoundingClientRect(),
|
|
1004
|
+
n = i,
|
|
1005
|
+
r = a;
|
|
1006
|
+
o === "initial" && ((n = t.left + u), (r = t.top + p));
|
|
1007
|
+
var s = o === "horizontal" ? t.top : r,
|
|
1008
|
+
c = o === "vertical" ? t.right : n,
|
|
1009
|
+
f = o === "horizontal" ? t.bottom : r,
|
|
1010
|
+
l = o === "vertical" ? t.left : n;
|
|
1011
|
+
return {
|
|
1012
|
+
width: c - l,
|
|
1013
|
+
height: f - s,
|
|
1014
|
+
top: s,
|
|
1015
|
+
right: c,
|
|
1016
|
+
bottom: f,
|
|
1017
|
+
left: l,
|
|
1018
|
+
};
|
|
1019
|
+
},
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
function l() {
|
|
1023
|
+
t.props.followCursor &&
|
|
1024
|
+
($.push({ instance: t, doc: n }),
|
|
1025
|
+
(function (t) {
|
|
1026
|
+
t.addEventListener("mousemove", J);
|
|
1027
|
+
})(n));
|
|
1028
|
+
}
|
|
1029
|
+
function d() {
|
|
1030
|
+
($ = $.filter(function (e) {
|
|
1031
|
+
return e.instance !== t;
|
|
1032
|
+
})).filter(function (t) {
|
|
1033
|
+
return t.doc === n;
|
|
1034
|
+
}).length === 0 &&
|
|
1035
|
+
(function (t) {
|
|
1036
|
+
t.removeEventListener("mousemove", J);
|
|
1037
|
+
})(n);
|
|
1038
|
+
}
|
|
1039
|
+
return {
|
|
1040
|
+
onCreate: l,
|
|
1041
|
+
onDestroy: d,
|
|
1042
|
+
onBeforeUpdate: function () {
|
|
1043
|
+
a = t.props;
|
|
1044
|
+
},
|
|
1045
|
+
onAfterUpdate: function (e, n) {
|
|
1046
|
+
var i = n.followCursor;
|
|
1047
|
+
r ||
|
|
1048
|
+
(void 0 !== i &&
|
|
1049
|
+
a.followCursor !== i &&
|
|
1050
|
+
(d(),
|
|
1051
|
+
i ? (l(), !t.state.isMounted || o || s() || u()) : (p(), c())));
|
|
1052
|
+
},
|
|
1053
|
+
onMount: function () {
|
|
1054
|
+
t.props.followCursor && !o && (i && (f(q), (i = !1)), s() || u());
|
|
1055
|
+
},
|
|
1056
|
+
onTrigger: function (t, e) {
|
|
1057
|
+
h(e) && (q = { clientX: e.clientX, clientY: e.clientY }),
|
|
1058
|
+
(o = e.type === "focus");
|
|
1059
|
+
},
|
|
1060
|
+
onHidden: function () {
|
|
1061
|
+
t.props.followCursor && (c(), p(), (i = !0));
|
|
1062
|
+
},
|
|
1063
|
+
};
|
|
1064
|
+
},
|
|
1065
|
+
};
|
|
1066
|
+
var K = {
|
|
1067
|
+
name: "inlinePositioning",
|
|
1068
|
+
defaultValue: !1,
|
|
1069
|
+
fn: function (t) {
|
|
1070
|
+
var e,
|
|
1071
|
+
n = t.reference;
|
|
1072
|
+
var r = -1,
|
|
1073
|
+
o = !1,
|
|
1074
|
+
i = [],
|
|
1075
|
+
a = {
|
|
1076
|
+
name: "tippyInlinePositioning",
|
|
1077
|
+
enabled: !0,
|
|
1078
|
+
phase: "afterWrite",
|
|
1079
|
+
fn: function (o) {
|
|
1080
|
+
var a = o.state;
|
|
1081
|
+
t.props.inlinePositioning &&
|
|
1082
|
+
(i.indexOf(a.placement) !== -1 && (i = []),
|
|
1083
|
+
e !== a.placement &&
|
|
1084
|
+
i.indexOf(a.placement) === -1 &&
|
|
1085
|
+
(i.push(a.placement),
|
|
1086
|
+
t.setProps({
|
|
1087
|
+
getReferenceClientRect: function () {
|
|
1088
|
+
return (function (t) {
|
|
1089
|
+
return (function (t, e, n, r) {
|
|
1090
|
+
if (n.length < 2 || t === null) return e;
|
|
1091
|
+
if (n.length === 2 && r >= 0 && n[0].left > n[1].right)
|
|
1092
|
+
return n[r] || e;
|
|
1093
|
+
switch (t) {
|
|
1094
|
+
case "top":
|
|
1095
|
+
case "bottom":
|
|
1096
|
+
var o = n[0],
|
|
1097
|
+
i = n[n.length - 1],
|
|
1098
|
+
a = t === "top",
|
|
1099
|
+
s = o.top,
|
|
1100
|
+
u = i.bottom,
|
|
1101
|
+
p = a ? o.left : i.left,
|
|
1102
|
+
c = a ? o.right : i.right;
|
|
1103
|
+
return {
|
|
1104
|
+
top: s,
|
|
1105
|
+
bottom: u,
|
|
1106
|
+
left: p,
|
|
1107
|
+
right: c,
|
|
1108
|
+
width: c - p,
|
|
1109
|
+
height: u - s,
|
|
1110
|
+
};
|
|
1111
|
+
case "left":
|
|
1112
|
+
case "right":
|
|
1113
|
+
var f = Math.min.apply(
|
|
1114
|
+
Math,
|
|
1115
|
+
n.map(function (t) {
|
|
1116
|
+
return t.left;
|
|
1117
|
+
})
|
|
1118
|
+
),
|
|
1119
|
+
l = Math.max.apply(
|
|
1120
|
+
Math,
|
|
1121
|
+
n.map(function (t) {
|
|
1122
|
+
return t.right;
|
|
1123
|
+
})
|
|
1124
|
+
),
|
|
1125
|
+
d = n.filter(function (e) {
|
|
1126
|
+
return t === "left"
|
|
1127
|
+
? e.left === f
|
|
1128
|
+
: e.right === l;
|
|
1129
|
+
}),
|
|
1130
|
+
v = d[0].top,
|
|
1131
|
+
m = d[d.length - 1].bottom;
|
|
1132
|
+
return {
|
|
1133
|
+
top: v,
|
|
1134
|
+
bottom: m,
|
|
1135
|
+
left: f,
|
|
1136
|
+
right: l,
|
|
1137
|
+
width: l - f,
|
|
1138
|
+
height: m - v,
|
|
1139
|
+
};
|
|
1140
|
+
default:
|
|
1141
|
+
return e;
|
|
1142
|
+
}
|
|
1143
|
+
})(
|
|
1144
|
+
l(t),
|
|
1145
|
+
n.getBoundingClientRect(),
|
|
1146
|
+
d(n.getClientRects()),
|
|
1147
|
+
r
|
|
1148
|
+
);
|
|
1149
|
+
})(a.placement);
|
|
1150
|
+
},
|
|
1151
|
+
})),
|
|
1152
|
+
(e = a.placement));
|
|
1153
|
+
},
|
|
1154
|
+
};
|
|
1155
|
+
function s() {
|
|
1156
|
+
var e;
|
|
1157
|
+
o ||
|
|
1158
|
+
((e = (function (t, e) {
|
|
1159
|
+
var n;
|
|
1160
|
+
return {
|
|
1161
|
+
popperOptions: Object.assign({}, t.popperOptions, {
|
|
1162
|
+
modifiers: [].concat(
|
|
1163
|
+
(
|
|
1164
|
+
((n = t.popperOptions) == null ? void 0 : n.modifiers) || []
|
|
1165
|
+
).filter(function (t) {
|
|
1166
|
+
return t.name !== e.name;
|
|
1167
|
+
}),
|
|
1168
|
+
[e]
|
|
1169
|
+
),
|
|
1170
|
+
}),
|
|
1171
|
+
};
|
|
1172
|
+
})(t.props, a)),
|
|
1173
|
+
(o = !0),
|
|
1174
|
+
t.setProps(e),
|
|
1175
|
+
(o = !1));
|
|
1176
|
+
}
|
|
1177
|
+
return {
|
|
1178
|
+
onCreate: s,
|
|
1179
|
+
onAfterUpdate: s,
|
|
1180
|
+
onTrigger: function (e, n) {
|
|
1181
|
+
if (h(n)) {
|
|
1182
|
+
var o = d(t.reference.getClientRects()),
|
|
1183
|
+
i = o.find(function (t) {
|
|
1184
|
+
return (
|
|
1185
|
+
t.left - 2 <= n.clientX &&
|
|
1186
|
+
t.right + 2 >= n.clientX &&
|
|
1187
|
+
t.top - 2 <= n.clientY &&
|
|
1188
|
+
t.bottom + 2 >= n.clientY
|
|
1189
|
+
);
|
|
1190
|
+
}),
|
|
1191
|
+
a = o.indexOf(i);
|
|
1192
|
+
r = a > -1 ? a : r;
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
onHidden: function () {
|
|
1196
|
+
r = -1;
|
|
1197
|
+
},
|
|
1198
|
+
};
|
|
1199
|
+
},
|
|
1200
|
+
};
|
|
1201
|
+
var Q = {
|
|
1202
|
+
name: "sticky",
|
|
1203
|
+
defaultValue: !1,
|
|
1204
|
+
fn: function (t) {
|
|
1205
|
+
var e = t.reference,
|
|
1206
|
+
n = t.popper;
|
|
1207
|
+
function r(e) {
|
|
1208
|
+
return !0 === t.props.sticky || t.props.sticky === e;
|
|
1209
|
+
}
|
|
1210
|
+
var o = null,
|
|
1211
|
+
i = null;
|
|
1212
|
+
function a() {
|
|
1213
|
+
var s = r("reference")
|
|
1214
|
+
? (t.popperInstance
|
|
1215
|
+
? t.popperInstance.state.elements.reference
|
|
1216
|
+
: e
|
|
1217
|
+
).getBoundingClientRect()
|
|
1218
|
+
: null,
|
|
1219
|
+
u = r("popper") ? n.getBoundingClientRect() : null;
|
|
1220
|
+
((s && Z(o, s)) || (u && Z(i, u))) &&
|
|
1221
|
+
t.popperInstance &&
|
|
1222
|
+
t.popperInstance.update(),
|
|
1223
|
+
(o = s),
|
|
1224
|
+
(i = u),
|
|
1225
|
+
t.state.isMounted && requestAnimationFrame(a);
|
|
1226
|
+
}
|
|
1227
|
+
return {
|
|
1228
|
+
onMount: function () {
|
|
1229
|
+
t.props.sticky && a();
|
|
1230
|
+
},
|
|
1231
|
+
};
|
|
1232
|
+
},
|
|
1233
|
+
};
|
|
1234
|
+
function Z(t, e) {
|
|
1235
|
+
return (
|
|
1236
|
+
!t ||
|
|
1237
|
+
!e ||
|
|
1238
|
+
t.top !== e.top ||
|
|
1239
|
+
t.right !== e.right ||
|
|
1240
|
+
t.bottom !== e.bottom ||
|
|
1241
|
+
t.left !== e.left
|
|
1242
|
+
);
|
|
1243
|
+
}
|
|
1244
|
+
return (
|
|
1245
|
+
e &&
|
|
1246
|
+
(function (t) {
|
|
1247
|
+
var e = document.createElement("style");
|
|
1248
|
+
(e.textContent = t), e.setAttribute("data-tippy-stylesheet", "");
|
|
1249
|
+
var n = document.head,
|
|
1250
|
+
r = document.querySelector("head>style,head>link");
|
|
1251
|
+
r ? n.insertBefore(e, r) : n.appendChild(e);
|
|
1252
|
+
})(
|
|
1253
|
+
'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}'
|
|
1254
|
+
),
|
|
1255
|
+
F.setDefaultProps({ plugins: [Y, G, K, Q], render: N }),
|
|
1256
|
+
(F.createSingleton = function (t, e) {
|
|
1257
|
+
var n;
|
|
1258
|
+
void 0 === e && (e = {});
|
|
1259
|
+
var r,
|
|
1260
|
+
o = t,
|
|
1261
|
+
i = [],
|
|
1262
|
+
a = [],
|
|
1263
|
+
s = e.overrides,
|
|
1264
|
+
u = [],
|
|
1265
|
+
f = !1;
|
|
1266
|
+
function l() {
|
|
1267
|
+
a = o
|
|
1268
|
+
.map(function (t) {
|
|
1269
|
+
return c(t.props.triggerTarget || t.reference);
|
|
1270
|
+
})
|
|
1271
|
+
.reduce(function (t, e) {
|
|
1272
|
+
return t.concat(e);
|
|
1273
|
+
}, []);
|
|
1274
|
+
}
|
|
1275
|
+
function d() {
|
|
1276
|
+
i = o.map(function (t) {
|
|
1277
|
+
return t.reference;
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
function v(t) {
|
|
1281
|
+
o.forEach(function (e) {
|
|
1282
|
+
t ? e.enable() : e.disable();
|
|
1283
|
+
});
|
|
1284
|
+
}
|
|
1285
|
+
function g(t) {
|
|
1286
|
+
return o.map(function (e) {
|
|
1287
|
+
var n = e.setProps;
|
|
1288
|
+
return (
|
|
1289
|
+
(e.setProps = function (o) {
|
|
1290
|
+
n(o), e.reference === r && t.setProps(o);
|
|
1291
|
+
}),
|
|
1292
|
+
function () {
|
|
1293
|
+
e.setProps = n;
|
|
1294
|
+
}
|
|
1295
|
+
);
|
|
1296
|
+
});
|
|
1297
|
+
}
|
|
1298
|
+
function h(t, e) {
|
|
1299
|
+
var n = a.indexOf(e);
|
|
1300
|
+
if (e !== r) {
|
|
1301
|
+
r = e;
|
|
1302
|
+
var u = (s || []).concat("content").reduce(function (t, e) {
|
|
1303
|
+
return (t[e] = o[n].props[e]), t;
|
|
1304
|
+
}, {});
|
|
1305
|
+
t.setProps(
|
|
1306
|
+
Object.assign({}, u, {
|
|
1307
|
+
getReferenceClientRect:
|
|
1308
|
+
typeof u.getReferenceClientRect == "function"
|
|
1309
|
+
? u.getReferenceClientRect
|
|
1310
|
+
: function () {
|
|
1311
|
+
var t;
|
|
1312
|
+
return (t = i[n]) == null
|
|
1313
|
+
? void 0
|
|
1314
|
+
: t.getBoundingClientRect();
|
|
1315
|
+
},
|
|
1316
|
+
})
|
|
1317
|
+
);
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
v(!1), d(), l();
|
|
1321
|
+
var b = {
|
|
1322
|
+
fn: function () {
|
|
1323
|
+
return {
|
|
1324
|
+
onDestroy: function () {
|
|
1325
|
+
v(!0);
|
|
1326
|
+
},
|
|
1327
|
+
onHidden: function () {
|
|
1328
|
+
r = null;
|
|
1329
|
+
},
|
|
1330
|
+
onClickOutside: function (t) {
|
|
1331
|
+
t.props.showOnCreate && !f && ((f = !0), (r = null));
|
|
1332
|
+
},
|
|
1333
|
+
onShow: function (t) {
|
|
1334
|
+
t.props.showOnCreate && !f && ((f = !0), h(t, i[0]));
|
|
1335
|
+
},
|
|
1336
|
+
onTrigger: function (t, e) {
|
|
1337
|
+
h(t, e.currentTarget);
|
|
1338
|
+
},
|
|
1339
|
+
};
|
|
1340
|
+
},
|
|
1341
|
+
},
|
|
1342
|
+
y = F(
|
|
1343
|
+
m(),
|
|
1344
|
+
Object.assign({}, p(e, ["overrides"]), {
|
|
1345
|
+
plugins: [b].concat(e.plugins || []),
|
|
1346
|
+
triggerTarget: a,
|
|
1347
|
+
popperOptions: Object.assign({}, e.popperOptions, {
|
|
1348
|
+
modifiers: [].concat(
|
|
1349
|
+
((n = e.popperOptions) == null ? void 0 : n.modifiers) || [],
|
|
1350
|
+
[W]
|
|
1351
|
+
),
|
|
1352
|
+
}),
|
|
1353
|
+
})
|
|
1354
|
+
),
|
|
1355
|
+
w = y.show;
|
|
1356
|
+
(y.show = function (t) {
|
|
1357
|
+
if ((w(), !r && t == null)) return h(y, i[0]);
|
|
1358
|
+
if (!r || t != null) {
|
|
1359
|
+
if (typeof t == "number") return i[t] && h(y, i[t]);
|
|
1360
|
+
if (o.indexOf(t) >= 0) {
|
|
1361
|
+
var e = t.reference;
|
|
1362
|
+
return h(y, e);
|
|
1363
|
+
}
|
|
1364
|
+
return i.indexOf(t) >= 0 ? h(y, t) : void 0;
|
|
1365
|
+
}
|
|
1366
|
+
}),
|
|
1367
|
+
(y.showNext = function () {
|
|
1368
|
+
var t = i[0];
|
|
1369
|
+
if (!r) return y.show(0);
|
|
1370
|
+
var e = i.indexOf(r);
|
|
1371
|
+
y.show(i[e + 1] || t);
|
|
1372
|
+
}),
|
|
1373
|
+
(y.showPrevious = function () {
|
|
1374
|
+
var t = i[i.length - 1];
|
|
1375
|
+
if (!r) return y.show(t);
|
|
1376
|
+
var e = i.indexOf(r),
|
|
1377
|
+
n = i[e - 1] || t;
|
|
1378
|
+
y.show(n);
|
|
1379
|
+
});
|
|
1380
|
+
var x = y.setProps;
|
|
1381
|
+
return (
|
|
1382
|
+
(y.setProps = function (t) {
|
|
1383
|
+
(s = t.overrides || s), x(t);
|
|
1384
|
+
}),
|
|
1385
|
+
(y.setInstances = function (t) {
|
|
1386
|
+
v(!0),
|
|
1387
|
+
u.forEach(function (t) {
|
|
1388
|
+
return t();
|
|
1389
|
+
}),
|
|
1390
|
+
(o = t),
|
|
1391
|
+
v(!1),
|
|
1392
|
+
d(),
|
|
1393
|
+
l(),
|
|
1394
|
+
(u = g(y)),
|
|
1395
|
+
y.setProps({ triggerTarget: a });
|
|
1396
|
+
}),
|
|
1397
|
+
(u = g(y)),
|
|
1398
|
+
y
|
|
1399
|
+
);
|
|
1400
|
+
}),
|
|
1401
|
+
(F.delegate = function (t, e) {
|
|
1402
|
+
var n = [],
|
|
1403
|
+
o = [],
|
|
1404
|
+
i = !1,
|
|
1405
|
+
a = e.target,
|
|
1406
|
+
s = p(e, ["target"]),
|
|
1407
|
+
u = Object.assign({}, s, { trigger: "manual", touch: !1 }),
|
|
1408
|
+
f = Object.assign({ touch: R.touch }, s, { showOnCreate: !0 }),
|
|
1409
|
+
l = F(t, u);
|
|
1410
|
+
function d(t) {
|
|
1411
|
+
if (t.target && !i) {
|
|
1412
|
+
var n = t.target.closest(a);
|
|
1413
|
+
if (n) {
|
|
1414
|
+
var r =
|
|
1415
|
+
n.getAttribute("data-tippy-trigger") || e.trigger || R.trigger;
|
|
1416
|
+
if (
|
|
1417
|
+
!n._tippy &&
|
|
1418
|
+
!(
|
|
1419
|
+
(t.type === "touchstart" && typeof f.touch == "boolean") ||
|
|
1420
|
+
(t.type !== "touchstart" && r.indexOf(X[t.type]) < 0)
|
|
1421
|
+
)
|
|
1422
|
+
) {
|
|
1423
|
+
var s = F(n, f);
|
|
1424
|
+
s && (o = o.concat(s));
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
function v(t, e, r, o) {
|
|
1430
|
+
void 0 === o && (o = !1),
|
|
1431
|
+
t.addEventListener(e, r, o),
|
|
1432
|
+
n.push({ node: t, eventType: e, handler: r, options: o });
|
|
1433
|
+
}
|
|
1434
|
+
return (
|
|
1435
|
+
c(l).forEach(function (t) {
|
|
1436
|
+
var e = t.destroy,
|
|
1437
|
+
a = t.enable,
|
|
1438
|
+
s = t.disable;
|
|
1439
|
+
(t.destroy = function (t) {
|
|
1440
|
+
void 0 === t && (t = !0),
|
|
1441
|
+
t &&
|
|
1442
|
+
o.forEach(function (t) {
|
|
1443
|
+
t.destroy();
|
|
1444
|
+
}),
|
|
1445
|
+
(o = []),
|
|
1446
|
+
n.forEach(function (t) {
|
|
1447
|
+
var e = t.node,
|
|
1448
|
+
n = t.eventType,
|
|
1449
|
+
r = t.handler,
|
|
1450
|
+
o = t.options;
|
|
1451
|
+
e.removeEventListener(n, r, o);
|
|
1452
|
+
}),
|
|
1453
|
+
(n = []),
|
|
1454
|
+
e();
|
|
1455
|
+
}),
|
|
1456
|
+
(t.enable = function () {
|
|
1457
|
+
a(),
|
|
1458
|
+
o.forEach(function (t) {
|
|
1459
|
+
return t.enable();
|
|
1460
|
+
}),
|
|
1461
|
+
(i = !1);
|
|
1462
|
+
}),
|
|
1463
|
+
(t.disable = function () {
|
|
1464
|
+
s(),
|
|
1465
|
+
o.forEach(function (t) {
|
|
1466
|
+
return t.disable();
|
|
1467
|
+
}),
|
|
1468
|
+
(i = !0);
|
|
1469
|
+
}),
|
|
1470
|
+
(function (t) {
|
|
1471
|
+
var e = t.reference;
|
|
1472
|
+
v(e, "touchstart", d, r),
|
|
1473
|
+
v(e, "mouseover", d),
|
|
1474
|
+
v(e, "focusin", d),
|
|
1475
|
+
v(e, "click", d);
|
|
1476
|
+
})(t);
|
|
1477
|
+
}),
|
|
1478
|
+
l
|
|
1479
|
+
);
|
|
1480
|
+
}),
|
|
1481
|
+
(F.hideAll = function (t) {
|
|
1482
|
+
var e = void 0 === t ? {} : t,
|
|
1483
|
+
n = e.exclude,
|
|
1484
|
+
r = e.duration;
|
|
1485
|
+
_.forEach(function (t) {
|
|
1486
|
+
var e = !1;
|
|
1487
|
+
if ((n && (e = b(n) ? t.reference === n : t.popper === n.popper), !e)) {
|
|
1488
|
+
var o = t.props.duration;
|
|
1489
|
+
t.setProps({ duration: r }),
|
|
1490
|
+
t.hide(),
|
|
1491
|
+
t.state.isDestroyed || t.setProps({ duration: o });
|
|
1492
|
+
}
|
|
1493
|
+
});
|
|
1494
|
+
}),
|
|
1495
|
+
(F.roundArrow =
|
|
1496
|
+
'<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>'),
|
|
1497
|
+
F
|
|
1498
|
+
);
|
|
1499
|
+
});
|