1/** 2 * https://atomiks.github.io/tippyjs/v6/ 3*/ 4 5!function (t, e) { 6 "object" == typeof exports && "undefined" != typeof module ? module.exports = e(require("@popperjs/core")) : "function" == typeof define && define.amd ? define(["@popperjs/core"], e) : (t = t || self).tippy = e(t.Popper); 7}(this, function (t) { 8 "use strict"; 9 10 var e = "undefined" != typeof window && "undefined" != typeof document, 11 n = !!e && !!window.msCrypto, 12 r = { 13 passive: !0, 14 capture: !0 15 }, 16 o = function () { 17 return document.body; 18 }; 19 function i(t, e, n) { 20 if (Array.isArray(t)) { 21 var r = t[e]; 22 return null == r ? Array.isArray(n) ? n[e] : n : r; 23 } 24 return t; 25 } 26 function a(t, e) { 27 var n = {}.toString.call(t); 28 return 0 === n.indexOf("[object") && n.indexOf(e + "]") > -1; 29 } 30 function s(t, e) { 31 return "function" == typeof t ? t.apply(void 0, e) : t; 32 } 33 function u(t, e) { 34 return 0 === e ? t : function (r) { 35 clearTimeout(n), n = setTimeout(function () { 36 t(r); 37 }, e); 38 }; 39 var n; 40 } 41 function p(t, e) { 42 var n = Object.assign({}, t); 43 return e.forEach(function (t) { 44 delete n[t]; 45 }), n; 46 } 47 function c(t) { 48 return [].concat(t); 49 } 50 function f(t, e) { 51 -1 === t.indexOf(e) && t.push(e); 52 } 53 function l(t) { 54 return t.split("-")[0]; 55 } 56 function d(t) { 57 return [].slice.call(t); 58 } 59 function v(t) { 60 return Object.keys(t).reduce(function (e, n) { 61 return void 0 !== t[n] && (e[n] = t[n]), e; 62 }, {}); 63 } 64 function m() { 65 return document.createElement("div"); 66 } 67 function g(t) { 68 return ["Element", "Fragment"].some(function (e) { 69 return a(t, e); 70 }); 71 } 72 function h(t) { 73 return a(t, "MouseEvent"); 74 } 75 function b(t) { 76 return !(!t || !t._tippy || t._tippy.reference !== t); 77 } 78 function y(t) { 79 return g(t) ? [t] : function (t) { 80 return a(t, "NodeList"); 81 }(t) ? d(t) : Array.isArray(t) ? t : d(document.querySelectorAll(t)); 82 } 83 function w(t, e) { 84 t.forEach(function (t) { 85 t && (t.style.transitionDuration = e + "ms"); 86 }); 87 } 88 function x(t, e) { 89 t.forEach(function (t) { 90 t && t.setAttribute("data-state", e); 91 }); 92 } 93 function E(t) { 94 var e, 95 n = c(t)[0]; 96 return null != n && null != (e = n.ownerDocument) && e.body ? n.ownerDocument : document; 97 } 98 function O(t, e, n) { 99 var r = e + "EventListener"; 100 ["transitionend", "webkitTransitionEnd"].forEach(function (e) { 101 t[r](e, n); 102 }); 103 } 104 function C(t, e) { 105 for (var n = e; n;) { 106 var r; 107 if (t.contains(n)) return !0; 108 n = null == n.getRootNode || null == (r = n.getRootNode()) ? void 0 : r.host; 109 } 110 return !1; 111 } 112 var T = { 113 isTouch: !1 114 }, 115 A = 0; 116 function L() { 117 T.isTouch || (T.isTouch = !0, window.performance && document.addEventListener("mousemove", D)); 118 } 119 function D() { 120 var t = performance.now(); 121 t - A < 20 && (T.isTouch = !1, document.removeEventListener("mousemove", D)), A = t; 122 } 123 function k() { 124 var t = document.activeElement; 125 if (b(t)) { 126 var e = t._tippy; 127 t.blur && !e.state.isVisible && t.blur(); 128 } 129 } 130 var R = Object.assign({ 131 appendTo: o, 132 aria: { 133 content: "auto", 134 expanded: "auto" 135 }, 136 delay: 0, 137 duration: [300, 250], 138 getReferenceClientRect: null, 139 hideOnClick: !0, 140 ignoreAttributes: !1, 141 interactive: !1, 142 interactiveBorder: 2, 143 interactiveDebounce: 0, 144 moveTransition: "", 145 offset: [0, 10], 146 onAfterUpdate: function () {}, 147 onBeforeUpdate: function () {}, 148 onCreate: function () {}, 149 onDestroy: function () {}, 150 onHidden: function () {}, 151 onHide: function () {}, 152 onMount: function () {}, 153 onShow: function () {}, 154 onShown: function () {}, 155 onTrigger: function () {}, 156 onUntrigger: function () {}, 157 onClickOutside: function () {}, 158 placement: "top", 159 plugins: [], 160 popperOptions: {}, 161 render: null, 162 showOnCreate: !1, 163 touch: !0, 164 trigger: "mouseenter focus", 165 triggerTarget: null 166 }, {
167 animateFill: !1, 168 followCursor: !1, 169 inlinePositioning: !1, 170 sticky: !1 171 }, { 172 allowHTML: !1, 173 animation: "fade", 174 arrow: !0, 175 content: "", 176 inertia: !1, 177 maxWidth: 350, 178 role: "tooltip", 179 theme: "", 180 zIndex: 9999 181 }), 182 P = Object.keys(R); 183 function j(t) { 184 var e = (t.plugins || []).reduce(function (e, n) { 185 var r, 186 o = n.name, 187 i = n.defaultValue; 188 o && (e[o] = void 0 !== t[o] ? t[o] : null != (r = R[o]) ? r : i); 189 return e; 190 }, {}); 191 return Object.assign({}, t, e); 192 } 193 function M(t, e) { 194 var n = Object.assign({}, e, { 195 content: s(e.content, [t]) 196 }, e.ignoreAttributes ? {} : function (t, e) { 197 return (e ? Object.keys(j(Object.assign({}, R, { 198 plugins: e 199 }))) : P).reduce(function (e, n) { 200 var r = (t.getAttribute("data-tippy-" + n) || "").trim(); 201 if (!r) return e; 202 if ("content" === n) e[n] = r;else try { 203 e[n] = JSON.parse(r); 204 } catch (t) { 205 e[n] = r; 206 } 207 return e; 208 }, {}); 209 }(t, e.plugins)); 210 return n.aria = Object.assign({}, R.aria, n.aria), n.aria = { 211 expanded: "auto" === n.aria.expanded ? e.interactive : n.aria.expanded, 212 content: "auto" === n.aria.content ? e.interactive ? null : "describedby" : n.aria.content 213 }, n; 214 } 215 function V(t, e) { 216 t.innerHTML = e; 217 } 218 function I(t) { 219 var e = m(); 220 return !0 === t ? e.className = "tippy-arrow" : (e.className = "tippy-svg-arrow", g(t) ? e.appendChild(t) : V(e, t)), e; 221 } 222 function S(t, e) { 223 g(e.content) ? (V(t, ""), t.appendChild(e.content)) : "function" != typeof e.content && (e.allowHTML ? V(t, e.content) : t.textContent = e.content); 224 } 225 function B(t) { 226 var e = t.firstElementChild, 227 n = d(e.children); 228 return { 229 box: e, 230 content: n.find(function (t) { 231 return t.classList.contains("tippy-content"); 232 }), 233 arrow: n.find(function (t) { 234 return t.classList.contains("tippy-arrow") || t.classList.contains("tippy-svg-arrow"); 235 }), 236 backdrop: n.find(function (t) { 237 return t.classList.contains("tippy-backdrop"); 238 }) 239 }; 240 } 241 function N(t) { 242 var e = m(), 243 n = m(); 244 n.className = "tippy-box", n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1"); 245 var r = m(); 246 function o(n, r) { 247 var o = B(e), 248 i = o.box, 249 a = o.content, 250 s = o.arrow; 251 r.theme ? i.setAttribute("data-theme", r.theme) : i.removeAttribute("data-theme"), "string" == typeof r.animation ? i.setAttribute("data-animation", r.animation) : i.removeAttribute("data-animation"), r.inertia ? i.setAttribute("data-inertia", "") : i.removeAttribute("data-inertia"), i.style.maxWidth = "number" == typeof r.maxWidth ? r.maxWidth + "px" : r.maxWidth, r.role ? i.setAttribute("role", r.role) : i.removeAttribute("role"), n.content === r.content && n.allowHTML === r.allowHTML || S(a, t.props), r.arrow ? s ? n.arrow !== r.arrow && (i.removeChild(s), i.appendChild(I(r.arrow))) : i.appendChild(I(r.arrow)) : s && i.removeChild(s); 252 } 253 return r.className = "tippy-content", r.setAttribute("data-state", "hidden"), S(r, t.props), e.appendChild(n), n.appendChild(r), o(t.props, t.props), { 254 popper: e, 255 onUpdate: o 256 }; 257 } 258 N.$$tippy = !0; 259 var H = 1, 260 U = [], 261 _ = []; 262 function z(e, a) { 263 var p, 264 g, 265 b, 266 y, 267 A, 268 L, 269 D, 270 k, 271 P = M(e, Object.assign({}, R, j(v(a)))), 272 V = !1, 273 I = !1, 274 S = !1, 275 N = !1, 276 z = [], 277 F = u(wt, P.interactiveDebounce), 278 W = H++, 279 X = (k = P.plugins).filter(function (t, e) { 280 return k.indexOf(t) === e; 281 }), 282 Y = { 283 id: W, 284 reference: e, 285 popper: m(), 286 popperInstance: null, 287 props: P, 288 state: { 289 isEnabled: !0, 290 isVisible: !1, 291 isDestroyed: !1, 292 isMounted: !1, 293 isShown: !1 294 }, 295 plugins: X, 296 clearDelayTimeouts: function () { 297 clearTimeout(p), clearTimeout(g), cancelAnimationFrame(b); 298 }, 299 setProps: function (t) { 300 if (Y.state.isDestroyed) return; 301 at("onBeforeUpdate", [Y, t]), bt(); 302 var n = Y.props, 303 r = M(e, Object.assign({}, n, v(t), { 304 ignoreAttributes: !0 305 })); 306 Y.props = r, ht(), n.interactiveDebounce !== r.interactiveDebounce && (pt(), F = u(wt, r.interactiveDebounce)); 307 n.triggerTarget && !r.triggerTarget ? c(n.triggerTarget).forEach(function (t) { 308 t.removeAttribute("aria-expanded"); 309 }) : r.triggerTarget && e.removeAttribute("aria-expanded"); 310 ut(), it(), J && J(n, r);
311 Y.popperInstance && (Ct(), At().forEach(function (t) { 312 requestAnimationFrame(t._tippy.popperInstance.forceUpdate); 313 })); 314 at("onAfterUpdate", [Y, t]); 315 }, 316 setContent: function (t) { 317 Y.setProps({ 318 content: t 319 }); 320 }, 321 show: function () { 322 var t = Y.state.isVisible, 323 e = Y.state.isDestroyed, 324 n = !Y.state.isEnabled, 325 r = T.isTouch && !Y.props.touch, 326 a = i(Y.props.duration, 0, R.duration); 327 if (t || e || n || r) return; 328 if (et().hasAttribute("disabled")) return; 329 if (at("onShow", [Y], !1), !1 === Y.props.onShow(Y)) return; 330 Y.state.isVisible = !0, tt() && ($.style.visibility = "visible"); 331 it(), dt(), Y.state.isMounted || ($.style.transition = "none"); 332 if (tt()) { 333 var u = rt(), 334 p = u.box, 335 c = u.content; 336 w([p, c], 0); 337 } 338 L = function () { 339 var t; 340 if (Y.state.isVisible && !N) { 341 if (N = !0, $.offsetHeight, $.style.transition = Y.props.moveTransition, tt() && Y.props.animation) { 342 var e = rt(), 343 n = e.box, 344 r = e.content; 345 w([n, r], a), x([n, r], "visible"); 346 } 347 st(), ut(), f(_, Y), null == (t = Y.popperInstance) || t.forceUpdate(), at("onMount", [Y]), Y.props.animation && tt() && function (t, e) { 348 mt(t, e); 349 }(a, function () { 350 Y.state.isShown = !0, at("onShown", [Y]); 351 }); 352 } 353 }, function () { 354 var t, 355 e = Y.props.appendTo, 356 n = et(); 357 t = Y.props.interactive && e === o || "parent" === e ? n.parentNode : s(e, [n]); 358 t.contains($) || t.appendChild($); 359 Y.state.isMounted = !0, Ct(); 360 }(); 361 }, 362 hide: function () { 363 var t = !Y.state.isVisible, 364 e = Y.state.isDestroyed, 365 n = !Y.state.isEnabled, 366 r = i(Y.props.duration, 1, R.duration); 367 if (t || e || n) return; 368 if (at("onHide", [Y], !1), !1 === Y.props.onHide(Y)) return; 369 Y.state.isVisible = !1, Y.state.isShown = !1, N = !1, V = !1, tt() && ($.style.visibility = "hidden"); 370 if (pt(), vt(), it(!0), tt()) { 371 var o = rt(), 372 a = o.box, 373 s = o.content; 374 Y.props.animation && (w([a, s], r), x([a, s], "hidden")); 375 } 376 st(), ut(), Y.props.animation ? tt() && function (t, e) { 377 mt(t, function () { 378 !Y.state.isVisible && $.parentNode && $.parentNode.contains($) && e(); 379 }); 380 }(r, Y.unmount) : Y.unmount(); 381 }, 382 hideWithInteractivity: function (t) { 383 nt().addEventListener("mousemove", F), f(U, F), F(t); 384 }, 385 enable: function () { 386 Y.state.isEnabled = !0; 387 }, 388 disable: function () { 389 Y.hide(), Y.state.isEnabled = !1; 390 }, 391 unmount: function () { 392 Y.state.isVisible && Y.hide(); 393 if (!Y.state.isMounted) return; 394 Tt(), At().forEach(function (t) { 395 t._tippy.unmount(); 396 }), $.parentNode && $.parentNode.removeChild($); 397 _ = _.filter(function (t) { 398 return t !== Y; 399 }
399), Y.state.isMounted = !1, at("onHidden", [Y]); 400 }, 401 destroy: function () { 402 if (Y.state.isDestroyed) return; 403 Y.clearDelayTimeouts(), Y.unmount(), bt(), delete e._tippy, Y.state.isDestroyed = !0, at("onDestroy", [Y]); 404 } 405 }; 406 if (!P.render) return Y; 407 var q = P.render(Y), 408 $ = q.popper, 409 J = q.onUpdate; 410 $.setAttribute("data-tippy-root", ""), $.id = "tippy-" + Y.id, Y.popper = $, e._tippy = Y, $._tippy = Y; 411 var G = X.map(function (t) { 412 return t.fn(Y); 413 }), 414 K = e.hasAttribute("aria-expanded"); 415 return ht(), ut(), it(), at("onCreate", [Y]), P.showOnCreate && Lt(), $.addEventListener("mouseenter", function () { 416 Y.props.interactive && Y.state.isVisible && Y.clearDelayTimeouts(); 417 }), $.addEventListener("mouseleave", function () { 418 Y.props.interactive && Y.props.trigger.indexOf("mouseenter") >= 0 && nt().addEventListener("mousemove", F); 419 }), Y; 420 function Q() { 421 var t = Y.props.touch; 422 return Array.isArray(t) ? t : [t, 0]; 423 } 424 function Z() { 425 return "hold" === Q()[0]; 426 } 427 function tt() { 428 var t; 429 return !(null == (t = Y.props.render) || !t.$$tippy); 430 } 431 function et() { 432 return D || e; 433 } 434 function nt() { 435 var t = et().parentNode; 436 return t ? E(t) : document; 437 } 438 function rt() { 439 return B($); 440 } 441 function ot(t) { 442 return Y.state.isMounted && !Y.state.isVisible || T.isTouch || y && "focus" === y.type ? 0 : i(Y.props.delay, t ? 0 : 1, R.delay); 443 } 444 function it(t) { 445 void 0 === t && (t = !1), $.style.pointerEvents = Y.props.interactive && !t ? "" : "none", $.style.zIndex = "" + Y.props.zIndex; 446 } 447 function at(t, e, n) { 448 var r; 449 (void 0 === n && (n = !0), G.forEach(function (n) { 450 n[t] && n[t].apply(n, e); 451 }), n) && (r = Y.props)[t].apply(r, e); 452 } 453 function st() { 454 var t = Y.props.aria; 455 if (t.content) { 456 var n = "aria-" + t.content, 457 r = $.id; 458 c(Y.props.triggerTarget || e).forEach(function (t) { 459 var e = t.getAttribute(n); 460 if (Y.state.isVisible) t.setAttribute(n, e ? e + " " + r : r);else { 461 var o = e && e.replace(r, "").trim(); 462 o ? t.setAttribute(n, o) : t.removeAttribute(n); 463 } 464 }); 465 } 466 } 467 function ut() { 468 !K && Y.props.aria.expanded && c(Y.props.triggerTarget || e).forEach(function (t) { 469 Y.props.interactive ? t.setAttribute("aria-expanded", Y.state.isVisible && t === et() ? "true" : "false") : t.removeAttribute("aria-expanded"); 470 }); 471 } 472 function pt() { 473 nt().removeEventListener("mousemove", F), U = U.filter(function (t) { 474 return t !== F; 475 }); 476 } 477 function ct(t) { 478 if (!T.isTouch || !S && "mousedown" !== t.type) { 479 var n = t.composedPath && t.composedPath()[0] || t.target; 480 if (!Y.props.interactive || !C($, n)) { 481 if (c(Y.props.triggerTarget || e).some(function (t) { 482 return C(t, n); 483 })) { 484 if (T.isTouch) return; 485 if (Y.state.isVisible && Y.props.trigger.indexOf("click") >= 0) return; 486 } else at("onClickOutside", [Y, t]); 487 !0 === Y.props.hideOnClick && (Y.clearDelayTimeouts(), Y.hide(), I = !0, setTimeout(function () { 488 I = !1; 489 }
489), Y.state.isMounted || vt()); 490 } 491 } 492 } 493 function ft() { 494 S = !0; 495 } 496 function lt() { 497 S = !1; 498 } 499 function dt() { 500 var t = nt(); 501 t.addEventListener("mousedown", ct, !0), t.addEventListener("touchend", ct, r), t.addEventListener("touchstart", lt, r), t.addEventListener("touchmove", ft, r); 502 } 503 function vt() { 504 var t = nt(); 505 t.removeEventListener("mousedown", ct, !0), t.removeEventListener("touchend", ct, r), t.removeEventListener("touchstart", lt, r), t.removeEventListener("touchmove", ft, r); 506 } 507 function mt(t, e) { 508 var n = rt().box; 509 function r(t) { 510 t.target === n && (O(n, "remove", r), e()); 511 } 512 if (0 === t) return e(); 513 O(n, "remove", A), O(n, "add", r), A = r; 514 } 515 function gt(t, n, r) { 516 void 0 === r && (r = !1), c(Y.props.triggerTarget || e).forEach(function (e) { 517 e.addEventListener(t, n, r), z.push({ 518 node: e, 519 eventType: t, 520 handler: n, 521 options: r 522 }); 523 }); 524 } 525 function ht() { 526 var t; 527 Z() && (gt("touchstart", yt, { 528 passive: !0 529 }), gt("touchend", xt, { 530 passive: !0 531 })), (t = Y.props.trigger, t.split(/\s+/).filter(Boolean)).forEach(function (t) { 532 if ("manual" !== t) switch (gt(t, yt), t) { 533 case "mouseenter": 534 gt("mouseleave", xt); 535 break; 536 case "focus": 537 gt(n ? "focusout" : "blur", Et); 538 break; 539 case "focusin": 540 gt("focusout", Et); 541 } 542 }); 543 } 544 function bt() { 545 z.forEach(function (t) { 546 var e = t.node, 547 n = t.eventType, 548 r = t.handler, 549 o = t.options; 550 e.removeEventListener(n, r, o); 551 }), z = []; 552 } 553 function yt(t) { 554 var e, 555 n = !1; 556 if (Y.state.isEnabled && !Ot(t) && !I) { 557 var r = "focus" === (null == (e = y) ? void 0 : e.type); 558 y = t, D = t.currentTarget, ut(), !Y.state.isVisible && h(t) && U.forEach(function (e) { 559 return e(t); 560 }), "click" === t.type && (Y.props.trigger.indexOf("mouseenter") < 0 || V) && !1 !== Y.props.hideOnClick && Y.state.isVisible ? n = !0 : Lt(t), "click" === t.type && (V = !n), n && !r && Dt(t); 561 } 562 } 563 function wt(t) { 564 var e = t.target, 565 n = et().contains(e) || $.contains(e); 566 "mousemove" === t.type && n || function (t, e) { 567 var n = e.clientX, 568 r = e.clientY; 569 return t.every(function (t) { 570 var e = t.popperRect, 571 o = t.popperState, 572 i = t.props.interactiveBorder, 573 a = l(o.placement), 574 s = o.modifiersData.offset; 575 if (!s) return !0; 576 var u = "bottom" === a ? s.top.y : 0, 577 p = "top" === a ? s.bottom.y : 0, 578 c = "right" === a ? s.left.x : 0, 579 f = "left" === a ? s.right.x : 0, 580 d = e.top - r + u > i, 581 v = r - e.bottom - p > i, 582 m = e.left - n + c > i, 583 g = n - e.right - f > i; 584 return d || v || m || g; 585 }); 586 }(At().concat($).map(function (t) { 587 var e, 588 n = null == (e = t._tippy.popperInstance) ? void 0 : e.state; 589 return n ? { 590 popperRect: t.getBoundingClientRect(), 591 popperState: n, 592 props: P 593 } : null; 594 }).filter(Boolean), t) && (pt(), Dt(t)); 595 } 596 function xt(t) { 597 Ot(t) || Y.props.trigger.indexOf("click") >= 0 && V || (Y.props.interactive ? Y.hideWithInteractivity(t) : Dt(t)); 598 } 599 function Et(t) { 600 Y.props.trigger.indexOf("focusin") < 0 && t.target !== et() || Y.props.interactive && t.relatedTarget && $.contains(t.relatedTarget) || Dt(t); 601 } 602 function Ot(t) { 603 return !!T.isTouch && Z() !== t.type.indexOf("touch") >= 0; 604 } 605 function Ct() { 606 Tt(); 607 var n = Y.props, 608 r = n.popperOptions, 609 o = n.placement, 610 i = n.offset, 611 a = n.getReferenceClientRect, 612 s = n.moveTransition, 613 u = tt() ? B($).arrow : null, 614 p = a ? { 615 getBoundingClientRect: a,
616 contextElement: a.contextElement || et() 617 } : e, 618 c = [{ 619 name: "offset", 620 options: { 621 offset: i 622 } 623 }, { 624 name: "preventOverflow", 625 options: { 626 padding: { 627 top: 2, 628 bottom: 2, 629 left: 5, 630 right: 5 631 } 632 } 633 }, { 634 name: "flip", 635 options: { 636 padding: 5 637 } 638 }, { 639 name: "computeStyles", 640 options: { 641 adaptive: !s 642 } 643 }, { 644 name: "$$tippy", 645 enabled: !0, 646 phase: "beforeWrite", 647 requires: ["computeStyles"], 648 fn: function (t) { 649 var e = t.state; 650 if (tt()) { 651 var n = rt().box; 652 ["placement", "reference-hidden", "escaped"].forEach(function (t) { 653 "placement" === t ? n.setAttribute("data-placement", e.placement) : e.attributes.popper["data-popper-" + t] ? n.setAttribute("data-" + t, "") : n.removeAttribute("data-" + t); 654 }), e.attributes.popper = {}; 655 } 656 } 657 }]; 658 tt() && u && c.push({ 659 name: "arrow", 660 options: { 661 element: u, 662 padding: 3 663 } 664 }), c.push.apply(c, (null == r ? void 0 : r.modifiers) || []), Y.popperInstance = t.createPopper(p, $, Object.assign({}, r, { 665 placement: o, 666 onFirstUpdate: L, 667 modifiers: c 668 })); 669 } 670 function Tt() { 671 Y.popperInstance && (Y.popperInstance.destroy(), Y.popperInstance = null); 672 } 673 function At() { 674 return d($.querySelectorAll("[data-tippy-root]")); 675 } 676 function Lt(t) { 677 Y.clearDelayTimeouts(), t && at("onTrigger", [Y, t]), dt(); 678 var e = ot(!0), 679 n = Q(), 680 r = n[0], 681 o = n[1]; 682 T.isTouch && "hold" === r && o && (e = o), e ? p = setTimeout(function () { 683 Y.show(); 684 }, e) : Y.show(); 685 } 686 function Dt(t) { 687 if (Y.clearDelayTimeouts(), at("onUntrigger", [Y, t]), Y.state.isVisible) { 688 if (!(Y.props.trigger.indexOf("mouseenter") >= 0 && Y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(t.type) >= 0 && V)) { 689 var e = ot(!1); 690 e ? g = setTimeout(function () { 691 Y.state.isVisible && Y.hide(); 692 }, e) : b = requestAnimationFrame(function () { 693 Y.hide(); 694 }); 695 } 696 } else vt(); 697 } 698 } 699 function F(t, e) { 700 void 0 === e && (e = {}); 701 var n = R.plugins.concat(e.plugins || []); 702 document.addEventListener("touchstart", L, r), window.addEventListener("blur", k); 703 var o = Object.assign({}, e, { 704 plugins: n 705 }), 706 i = y(t).reduce(function (t, e) { 707 var n = e && z(e, o); 708 return n && t.push(n), t; 709 }, []); 710 return g(t) ? i[0] : i; 711 } 712 F.defaultProps = R, F.setDefaultProps = function (t) { 713 Object.keys(t).forEach(function (e) { 714 R[e] = t[e]; 715 }); 716 }, F.currentInput = T; 717 var W = Object.assign({}, t.applyStyles, { 718 effect: function (t) { 719 var e = t.state, 720 n = { 721 popper: { 722 position: e.options.strategy, 723 left: "0", 724 top: "0", 725 margin: "0" 726 }, 727 arrow: { 728 position: "absolute" 729 }, 730 reference: {} 731 }; 732 Object.assign(e.elements.popper.style, n.popper), e.styles = n, e.elements.arrow && Object.assign(e.elements.arrow.style, n.arrow); 733 } 734 }), 735 X = { 736 mouseover: "mouseenter", 737 focusin: "focus", 738 click: "click" 739 }; 740 var Y = { 741 name: "animateFill", 742 defaultValue: !1, 743 fn: function (t) { 744 var e; 745 if (null == (e = t.props.render) || !e.$$tippy) return {}; 746 var n = B(t.popper), 747 r = n.box, 748 o = n.content, 749 i = t.props.animateFill ? function () { 750 var t = m(); 751 return t.className = "tippy-backdrop", x([t], "hidden"), t; 752 }() : null; 753 return { 754 onCreate: function () { 755 i && (r.insertBefore(i, r.firstElementChild), r.setAttribute("data-animatefill", ""), r.style.overflow = "hidden", t.setProps({ 756 arrow: !1, 757 animation: "shift-away" 758 })); 759 }, 760 onMount: function () { 761 if (i) { 762 var t = r.style.transitionDuration, 763 e = Number(t.replace("ms", "")); 764 o.style.transitionDelay = Math.round(e / 10) + "ms", i.style.transitionDuration = t, x([i], "visible"); 765 } 766 }, 767 onShow: function () { 768 i && (i.style.transitionDuration = "0ms"); 769 }, 770 onHide: function () { 771 i && x([i], "hidden"); 772 } 773 }; 774 } 775 }; 776 var q = { 777 clientX: 0, 778 clientY: 0 779 }, 780 $ = []; 781 function J(t) { 782 var e = t.clientX, 783 n = t.clientY; 784 q = { 785 clientX: e, 786 clientY: n 787 }; 788 } 789 var G = { 790 name: "followCursor", 791 defaultValue: !1, 792 fn: function (t) { 793 var e = t.reference, 794 n = E(t.props.triggerTarget || e), 795 r = !1, 796 o = !1, 797 i = !0, 798 a = t.props; 799 function s() { 800 return "initial" === t.props.followCursor && t.state.isVisible; 801 } 802 function u() { 803 n.addEventListener("mousemove", f); 804 } 805 function p() { 806 n.removeEventListener("mousemove", f); 807 } 808 function c() { 809 r = !0, t.setProps({ 810 getReferenceClientRect: null 811 }), r = !1; 812 } 813 function f(n) { 814 var r = !n.target || e.contains(n.target), 815 o = t.props.followCursor, 816 i = n.clientX, 817 a = n.clientY, 818 s = e.getBoundingClientRect(), 819 u = i - s.left, 820 p = a - s.top; 821 !r && t.props.interactive || t.setProps({ 822 getReferenceClientRect: function () { 823 var t = e.getBoundingClientRect(), 824 n = i, 825 r = a; 826 "initial" === o && (n = t.left + u, r = t.top + p); 827 var s = "horizontal" === o ? t.top : r, 828 c = "vertical" === o ? t.right : n, 829 f = "horizontal" === o ? t.bottom : r, 830 l = "vertical" === o ? t.left : n; 831 return { 832 width: c - l, 833 height: f - s, 834 top: s, 835 right: c, 836 bottom: f, 837 left: l 838 }; 839 } 840 }); 841 } 842 function l() { 843 t.props.followCursor && ($.push({ 844 instance: t, 845 doc: n 846 }), function (t) { 847 t.addEventListener("mousemove", J); 848 }(n)); 849 } 850 function d() { 851 0 === ($ = $.filter(function (e) { 852 return e.instance !== t; 853 })).filter(function (t) { 854 return t.doc === n; 855 }).length && function (t) { 856 t.removeEventListener("mousemove", J); 857 }(n); 858 } 859 return { 860 onCreate: l, 861 onDestroy: d, 862 onBeforeUpdate: function () { 863 a = t.props; 864 }, 865 onAfterUpdate: function (e, n) { 866 var i = n.followCursor; 867 r || void 0 !== i && a.followCursor !== i && (d(), i ? (l(), !t.state.isMounted || o || s() || u()) : (p(), c())); 868 }, 869 onMount: function () { 870 t.props.followCursor && !o && (i && (f(q), i = !1), s() || u()); 871 }, 872 onTrigger: function (t, e) { 873 h(e) && (q = { 874 clientX: e.clientX, 875 clientY: e.clientY 876 }), o = "focus" === e.type; 877 }, 878 onHidden: function () { 879 t.props.followCursor && (c(), p(), i = !0); 880 } 881 }; 882 } 883 }; 884 var K = { 885 name: "inlinePositioning", 886 defaultValue: !1, 887 fn: function (t) { 888 var e, 889 n = t.reference; 890 var r = -1, 891 o = !1, 892 i = [], 893 a = { 894 name: "tippyInlinePositioning", 895 enabled: !0, 896 phase: "afterWrite", 897 fn: function (o) { 898 var a = o.state; 899 t.props.inlinePositioning && (-1 !== i.indexOf(a.placement) && (i = []), e !== a.placement && -1 === i.indexOf(a.placement) && (i.push(a.placement), t.setProps({ 900 getReferenceClientRect: function () { 901 return function (t) { 902 return function (t, e, n, r) { 903 if (n.length < 2 || null === t) return e; 904 if (2 === n.length && r >= 0 && n[0].left > n[1].right) return n[r] || e; 905 switch (t) { 906 case "top": 907 case "bottom": 908 var o = n[0], 909 i = n[n.length - 1], 910 a = "top" === t, 911 s = o.top, 912 u = i.bottom, 913 p = a ? o.left : i.left, 914 c = a ? o.right : i.right; 915 return { 916 top: s, 917 bottom: u, 918 left: p, 919 right: c, 920 width: c - p, 921 height: u - s 922 };
923 case "left": 924 case "right": 925 var f = Math.min.apply(Math, n.map(function (t) { 926 return t.left; 927 })), 928 l = Math.max.apply(Math, n.map(function (t) { 929 return t.right; 930 })), 931 d = n.filter(function (e) { 932 return "left" === t ? e.left === f : e.right === l; 933 }), 934 v = d[0].top, 935 m = d[d.length - 1].bottom; 936 return { 937 top: v, 938 bottom: m, 939 left: f, 940 right: l, 941 width: l - f, 942 height: m - v 943 }; 944 default: 945 return e; 946 } 947 }(l(t), n.getBoundingClientRect(), d(n.getClientRects()), r); 948 }(a.placement); 949 } 950 })), e = a.placement); 951 } 952 }; 953 function s() { 954 var e; 955 o || (e = function (t, e) { 956 var n; 957 return { 958 popperOptions: Object.assign({}, t.popperOptions, { 959 modifiers: [].concat(((null == (n = t.popperOptions) ? void 0 : n.modifiers) || []).filter(function (t) { 960 return t.name !== e.name; 961 }), [e]) 962 }) 963 }; 964 }(t.props, a), o = !0, t.setProps(e), o = !1); 965 } 966 return { 967 onCreate: s, 968 onAfterUpdate: s, 969 onTrigger: function (e, n) { 970 if (h(n)) { 971 var o = d(t.reference.getClientRects()), 972 i = o.find(function (t) { 973 return t.left - 2 <= n.clientX && t.right + 2 >= n.clientX && t.top - 2 <= n.clientY && t.bottom + 2 >= n.clientY; 974 }), 975 a = o.indexOf(i); 976 r = a > -1 ? a : r; 977 } 978 }, 979 onHidden: function () { 980 r = -1; 981 } 982 }; 983 } 984 }; 985 var Q = { 986 name: "sticky", 987 defaultValue: !1, 988 fn: function (t) { 989 var e = t.reference, 990 n = t.popper; 991 function r(e) { 992 return !0 === t.props.sticky || t.props.sticky === e; 993 } 994 var o = null, 995 i = null; 996 function a() { 997 var s = r("reference") ? (t.popperInstance ? t.popperInstance.state.elements.reference : e).getBoundingClientRect() : null, 998 u = r("popper") ? n.getBoundingClientRect() : null; 999 (s && Z(o, s) || u && Z(i, u)) && t.popperInstance && t.popperInstance.update(), o = s, i = u, t.state.isMounted && requestAnimationFrame(a); 1000 } 1001 return { 1002 onMount: function () { 1003 t.props.sticky && a(); 1004 } 1005 }; 1006 } 1007 }; 1008 function Z(t, e) { 1009 return !t || !e || t.top !== e.top || t.right !== e.right || t.bottom !== e.bottom || t.left !== e.left; 1010 } 1011 return e && function (t) { 1012 var e = document.createElement("style"); 1013 e.textContent = t, e.setAttribute("data-tippy-stylesheet", ""); 1014 var n = document.head, 1015 r = document.querySelector("head>style,head>link"); 1016 r ? n.insertBefore(e, r) : n.appendChild(e); 1017 }('.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}'), F.setDefaultProps({ 1018 plugins: [Y, G, K, Q], 1019 render: N 1020 }), F.createSingleton = function (t, e) { 1021 var n; 1022 void 0 === e && (e = {}); 1023 var r, 1024 o = t, 1025 i = [], 1026 a = [], 1027 s = e.overrides, 1028 u = [], 1029 f = !1; 1030 function l() { 1031 a = o.map(function (t) { 1032 return c(t.props.triggerTarget || t.reference); 1033 }).reduce(function (t, e) { 1034 return t.concat(e); 1035 }, []); 1036 } 1037 function d() { 1038 i = o.map(function (t) { 1039 return t.reference; 1040 }); 1041 } 1042 function v(t) { 1043 o.forEach(function (e) { 1044 t ? e.enable() : e.disable(); 1045 }); 1046 } 1047 function g(t) { 1048 return o.map(function (e) { 1049 var n = e.setProps; 1050 return e.setProps = function (o) { 1051 n(o), e.reference === r && t.setProps(o); 1052 }, function () { 1053 e.setProps = n; 1054 }; 1055 }); 1056 } 1057 function h(t, e) { 1058 var n = a.indexOf(e); 1059 if (e !== r) { 1060 r = e; 1061 var u = (s || []).concat("content").reduce(function (t, e) { 1062 return t[e] = o[n].props[e], t; 1063 }, {}); 1064 t.setProps(Object.assign({}, u, { 1065 getReferenceClientRect: "function" == typeof u.getReferenceClientRect ? u.getReferenceClientRect : function () { 1066 var t; 1067 return null == (t = i[n]) ? void 0 : t.getBoundingClientRect(); 1068 } 1069 })); 1070 } 1071 } 1072 v(!1), d(), l(); 1073 var b = { 1074 fn: function () { 1075 return { 1076 onDestroy: function () { 1077 v(!0); 1078 }, 1079 onHidden: function () { 1080 r = null; 1081 }, 1082 onClickOutside: function (t) { 1083 t.props.showOnCreate && !f && (f = !0, r = null); 1084 }, 1085 onShow: function (t) { 1086 t.props.showOnCreate && !f && (f = !0, h(t, i[0])); 1087 }, 1088 onTrigger: function (t, e) { 1089 h(t, e.currentTarget); 1090 } 1091 }; 1092 } 1093 }, 1094 y = F(m(), Object.assign({}, p(e, ["overrides"]), { 1095 plugins: [b].concat(e.plugins || []), 1096 triggerTarget: a, 1097 popperOptions: Object.assign({}, e.popperOptions, { 1098 modifiers: [].concat((null == (n = e.popperOptions) ? void 0 : n.modifiers) || [], [W]) 1099 }) 1100 })), 1101 w = y.show; 1102 y.show = function (t) { 1103 if (w(), !r && null == t) return h(y, i[0]); 1104 if (!r || null != t) { 1105 if ("number" == typeof t) return i[t] && h(y, i[t]); 1106 if (o.indexOf(t) >= 0) { 1107 var e = t.reference; 1108 return h(y, e); 1109 } 1110 return i.indexOf(t) >= 0 ? h(y, t) : void 0; 1111 } 1112 }, y.showNext = function () { 1113 var t = i[0]; 1114 if (!r) return y.show(0); 1115 var e = i.indexOf(r); 1116 y.show(i[e + 1] || t); 1117 }, y.showPrevious = function () { 1118 var t = i[i.length - 1]; 1119 if (!r) return y.show(t); 1120 var e = i.indexOf(r), 1121 n = i[e - 1] || t;
1122 y.show(n); 1123 }; 1124 var x = y.setProps; 1125 return y.setProps = function (t) { 1126 s = t.overrides || s, x(t); 1127 }, y.setInstances = function (t) { 1128 v(!0), u.forEach(function (t) { 1129 return t(); 1130 }), o = t, v(!1), d(), l(), u = g(y), y.setProps({ 1131 triggerTarget: a 1132 }); 1133 }, u = g(y), y; 1134 }, F.delegate = function (t, e) { 1135 var n = [], 1136 o = [], 1137 i = !1, 1138 a = e.target, 1139 s = p(e, ["target"]), 1140 u = Object.assign({}, s, { 1141 trigger: "manual", 1142 touch: !1 1143 }), 1144 f = Object.assign({ 1145 touch: R.touch 1146 }, s, { 1147 showOnCreate: !0 1148 }), 1149 l = F(t, u); 1150 function d(t) { 1151 if (t.target && !i) { 1152 var n = t.target.closest(a); 1153 if (n) { 1154 var r = n.getAttribute("data-tippy-trigger") || e.trigger || R.trigger; 1155 if (!n._tippy && !("touchstart" === t.type && "boolean" == typeof f.touch || "touchstart" !== t.type && r.indexOf(X[t.type]) < 0)) { 1156 var s = F(n, f); 1157 s && (o = o.concat(s)); 1158 } 1159 } 1160 } 1161 } 1162 function v(t, e, r, o) { 1163 void 0 === o && (o = !1), t.addEventListener(e, r, o), n.push({ 1164 node: t, 1165 eventType: e, 1166 handler: r, 1167 options: o 1168 }); 1169 } 1170 return c(l).forEach(function (t) { 1171 var e = t.destroy, 1172 a = t.enable, 1173 s = t.disable; 1174 t.destroy = function (t) { 1175 void 0 === t && (t = !0), t && o.forEach(function (t) { 1176 t.destroy(); 1177 }), o = [], n.forEach(function (t) { 1178 var e = t.node, 1179 n = t.eventType, 1180 r = t.handler, 1181 o = t.options; 1182 e.removeEventListener(n, r, o); 1183 }), n = [], e(); 1184 }, t.enable = function () { 1185 a(), o.forEach(function (t) { 1186 return t.enable(); 1187 }), i = !1; 1188 }, t.disable = function () { 1189 s(), o.forEach(function (t) { 1190 return t.disable(); 1191 }), i = !0; 1192 }, function (t) { 1193 var e = t.reference; 1194 v(e, "touchstart", d, r), v(e, "mouseover", d), v(e, "focusin", d), v(e, "click", d); 1195 }(t); 1196 }), l; 1197 }, F.hideAll = function (t) { 1198 var e = void 0 === t ? {} : t, 1199 n = e.exclude, 1200 r = e.duration; 1201 _.forEach(function (t) { 1202 var e = !1; 1203 if (n && (e = b(n) ? t.reference === n : t.popper === n.popper), !e) { 1204 var o = t.props.duration; 1205 t.setProps({ 1206 duration: r 1207 }), t.hide(), t.state.isDestroyed || t.setProps({ 1208 duration: o 1209 }); 1210 } 1211 }); 1212 }, F.roundArrow = '<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>', F; 1213});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.