1(function (e, t) { 2 "object" == typeof exports && "undefined" != typeof module 3 ? (module.exports = t()) 4 : "function" == typeof define && define.amd 5 ? define(t) 6 : (e.tippy = t()); 7 })(this, function () { 8 "use strict"; 9 function t(e) { 10 return "[object Object]" === {}.toString.call(e); 11 } 12 function o(e) { 13 return [].slice.call(e); 14 } 15 function n(e) { 16 if (e instanceof Element || t(e)) return [e]; 17 if (e instanceof NodeList) return o(e); 18 if (Array.isArray(e)) return e; 19 try { 20 return o(document.querySelectorAll(e)); 21 } catch (e) { 22 return []; 23 } 24 } 25 function r(e) { 26 (e.refObj = !0), 27 (e.attributes = e.attributes || {}), 28 (e.setAttribute = function (t, o) { 29 e.attributes[t] = o; 30 }), 31 (e.getAttribute = function (t) { 32 return e.attributes[t]; 33 }), 34 (e.removeAttribute = function (t) { 35 delete e.attributes[t]; 36 }), 37 (e.hasAttribute = function (t) { 38 return t in e.attributes; 39 }), 40 (e.addEventListener = function () {}), 41 (e.removeEventListener = function () {}), 42 (e.classList = { 43 classNames: {}, 44 add: function (t) { 45 return (e.classList.classNames[t] = !0); 46 }, 47 remove: function (t) { 48 return delete e.classList.classNames[t], !0; 49 }, 50 contains: function (t) { 51 return t in e.classList.classNames; 52 }, 53 }); 54 } 55 function s(e) { 56 for ( 57 var t = ["", "webkit"], o = e.charAt(0).toUpperCase() + e.slice(1), n = 0; 58 n < t.length; 59 n++ 60 ) { 61 var i = t[n], 62 r = i ? i + o : e; 63 if ("undefined" != typeof document.body.style[r]) return r; 64 } 65 return null; 66 } 67 function a() { 68 return document.createElement("div"); 69 } 70 function p(e, t, o) { 71 var i = a(); 72 i.setAttribute("class", "tippy-popper"), 73 i.setAttribute("role", "tooltip"), 74 i.setAttribute("id", "tippy-" + e), 75 (i.style.zIndex = o.zIndex), 76 (i.style.maxWidth = o.maxWidth); 77 var n = a(); 78 n.setAttribute("class", "tippy-tooltip"), 79 n.setAttribute("data-size", o.size), 80 n.setAttribute("data-animation", o.animation), 81 n.setAttribute("data-state", "hidden"), 82 o.theme.split(" ").forEach(function (e) { 83 n.classList.add(e + "-theme"); 84 }); 85 var r = a(); 86 if ((r.setAttribute("class", "tippy-content"), o.arrow)) { 87 var p = a(); 88 (p.style[s("transform")] = o.arrowTransform), 89 "round" === o.arrowType 90 ? (p.classList.add("tippy-roundarrow"), 91 (p.innerHTML = 92 '<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>')) 93 : p.classList.add("tippy-arrow"), 94 n.appendChild(p); 95 } 96 if (o.animateFill) { 97 n.setAttribute("data-animatefill", ""); 98 var l = a(); 99 l.classList.add("tippy-backdrop"), 100 l.setAttribute("data-state", "hidden"), 101 n.appendChild(l); 102 } 103 o.inertia && n.setAttribute("data-inertia", ""), 104 o.interactive && n.setAttribute("data-interactive", ""); 105 var d = o.html; 106 if (d) { 107 var c; 108 d instanceof Element 109 ? (r.appendChild(d), (c = "#" + (d.id || "tippy-html-template"))) 110 : ((r.innerHTML = document.querySelector(d).innerHTML), (c = d)), 111 i.setAttribute("data-html", ""), 112 n.setAttribute("data-template-id", c), 113 o.interactive && i.setAttribute("tabindex", "-1"); 114 } else r[o.allowTitleHTML ? "innerHTML" : "textContent"] = t; 115 return n.appendChild(r), i.appendChild(n), i; 116 } 117 function l(e, t, o, i) { 118 var n = o.onTrigger, 119 r = o.onMouseLeave, 120 s = o.onBlur, 121 a = o.onDelegateShow, 122 p = o.onDelegateHide, 123 l = []; 124 if ("manual" === e) return l; 125 var d = function (e, o) { 126 t.addEventListener(e, o), l.push({ event: e, handler: o }); 127 }; 128 return ( 129 i.target 130 ? (je.supportsTouch && 131 i.touchHold && 132 (d("touchstart", a), d("touchend", p)), 133 "mouseenter" === e && (d("mouseover", a), d("mouseout", p)), 134 "focus" === e && (d("focusin", a), d("focusout", p)), 135 "click" === e && d("click", a)) 136 : (d(e, n), 137 je.supportsTouch && 138 i.touchHold && 139 (d("touchstart", n), d("touchend", r)), 140 "mouseenter" === e && d("mouseleave", r), 141 "focus" === e && d(ze ? "focusout" : "blur", s)), 142 l 143 ); 144 } 145 function d(e, t) { 146 var o = Ve.reduce(function (o, i) { 147 var n = e.getAttribute("data-tippy-" + i.toLowerCase()) || t[i]; 148 return ( 149 "false" === n && (n = !1), 150 "true" === n && (n = !0), 151 isFinite(n) && !isNaN(parseFloat(n)) && (n = parseFloat(n)), 152 "target" !== i && 153 "string" == typeof n && 154 "[" === n.trim().charAt(0) && 155 (n = JSON.parse(n)), 156 (o[i] = n), 157 o 158 ); 159 }, {}); 160 return Ze({}, t, o); 161 } 162 function c(e, t) { 163 return ( 164 t.arrow && (t.animateFill = !1), 165 t.appendTo && 166 "function" == typeof t.appendTo && 167 (t.appendTo = t.appendTo()), 168 "function" == typeof t.html && (t.html = t.html(e)), 169 t 170 ); 171 } 172 function f(e) { 173 var t = function (t) { 174 return e.querySelector(t); 175 }; 176 return { 177 tooltip: t(Xe.TOOLTIP),
178 backdrop: t(Xe.BACKDROP), 179 content: t(Xe.CONTENT), 180 arrow: t(Xe.ARROW) || t(Xe.ROUND_ARROW), 181 }; 182 } 183 function m(e) { 184 var t = e.getAttribute("title"); 185 t && e.setAttribute("data-original-title", t), e.removeAttribute("title"); 186 } 187 function u(e) { 188 return e && "[object Function]" === {}.toString.call(e); 189 } 190 function h(e, t) { 191 if (1 !== e.nodeType) return []; 192 var o = getComputedStyle(e, null); 193 return t ? o[t] : o; 194 } 195 function g(e) { 196 return "HTML" === e.nodeName ? e : e.parentNode || e.host; 197 } 198 function b(e) { 199 if (!e) return document.body; 200 switch (e.nodeName) { 201 case "HTML": 202 case "BODY": 203 return e.ownerDocument.body; 204 case "#document": 205 return e.body; 206 } 207 var t = h(e), 208 o = t.overflow, 209 i = t.overflowX, 210 n = t.overflowY; 211 return /(auto|scroll|overlay)/.test(o + n + i) ? e : b(g(e)); 212 } 213 function y(e) { 214 return 11 === e ? it : 10 === e ? nt : it || nt; 215 } 216 function v(e) { 217 if (!e) return document.documentElement; 218 for ( 219 var t = y(10) ? document.body : null, o = e.offsetParent; 220 o === t && e.nextElementSibling; 221 222 ) 223 o = (e = e.nextElementSibling).offsetParent; 224 var i = o && o.nodeName; 225 return i && "BODY" !== i && "HTML" !== i 226 ? -1 !== ["TD", "TABLE"].indexOf(o.nodeName) && 227 "static" === h(o, "position")
228 ? v(o) 229 : o 230 : e 231 ? e.ownerDocument.documentElement 232 : document.documentElement; 233 } 234 function w(e) { 235 var t = e.nodeName; 236 return "BODY" !== t && ("HTML" === t || v(e.firstElementChild) === e); 237 } 238 function E(e) { 239 return null === e.parentNode ? e : E(e.parentNode); 240 } 241 function T(e, t) { 242 if (!e || !e.nodeType || !t || !t.nodeType) return document.documentElement; 243 var o = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING, 244 i = o ? e : t, 245 n = o ? t : e, 246 r = document.createRange(); 247 r.setStart(i, 0), r.setEnd(n, 0); 248 var s = r.commonAncestorContainer; 249 if ((e !== s && t !== s) || i.contains(n)) return w(s) ? s : v(s); 250 var a = E(e); 251 return a.host ? T(a.host, t) : T(e, E(t).host); 252 } 253 function L(e) { 254 var t = 255 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "top", 256 o = "top" === t ? "scrollTop" : "scrollLeft", 257 i = e.nodeName; 258 if ("BODY" === i || "HTML" === i) { 259 var n = e.ownerDocument.documentElement, 260 r = e.ownerDocument.scrollingElement || n; 261 return r[o]; 262 } 263 return e[o]; 264 } 265 function O(e, t) { 266 var o = !!(2 < arguments.length && void 0 !== arguments[2]) && arguments[2], 267 i = L(t, "top"), 268 n = L(t, "left"), 269 r = o ? -1 : 1; 270 return ( 271 (e.top += i * r), 272 (e.bottom += i * r), 273 (e.left += n * r), 274 (e.right += n * r), 275 e 276 ); 277 } 278 function x(e, t) { 279 var o = "x" === t ? "Left" : "Top", 280 i = "Left" === o ? "Right" : "Bottom"; 281 return ( 282 parseFloat(e["border" + o + "Width"], 10) + 283 parseFloat(e["border" + i + "Width"], 10) 284 ); 285 } 286 function A(e, t, o, i) { 287 return Ye( 288 t["offset" + e], 289 t["scroll" + e], 290 o["client" + e], 291 o["offset" + e], 292 o["scroll" + e], 293 y(10) 294 ? o["offset" + e] + 295 i["margin" + ("Height" === e ? "Top" : "Left")] + 296 i["margin" + ("Height" === e ? "Bottom" : "Right")] 297 : 0 298 ); 299 } 300 function C() { 301 var e = document.body, 302 t = document.documentElement, 303 o = y(10) && getComputedStyle(t); 304 return { height: A("Height", e, t, o), width: A("Width", e, t, o) }; 305 } 306 function k(e) { 307 return pt({}, e, { right: e.left + e.width, bottom: e.top + e.height }); 308 } 309 function S(e) { 310 var t = {}; 311 try { 312 if (y(10)) { 313 t = e.getBoundingClientRect(); 314 var o = L(e, "top"), 315 i = L(e, "left"); 316 (t.top += o), (t.left += i), (t.bottom += o), (t.right += i); 317 } else t = e.getBoundingClientRect(); 318 } catch (t) {} 319 var n = { 320 left: t.left, 321 top: t.top, 322 width: t.right - t.left, 323 height: t.bottom - t.top, 324 }, 325 r = "HTML" === e.nodeName ? C() : {}, 326 s = r.width || e.clientWidth || n.right - n.left, 327 a = r.height || e.clientHeight || n.bottom - n.top, 328 p = e.offsetWidth - s, 329 l = e.offsetHeight - a; 330 if (p || l) { 331 var d = h(e); 332 (p -= x(d, "x")), (l -= x(d, "y")), (n.width -= p), (n.height -= l); 333 } 334 return k(n); 335 } 336 function P(e, t) { 337 var o = !!(2 < arguments.length && void 0 !== arguments[2]) && arguments[2], 338 i = y(10), 339 n = "HTML" === t.nodeName, 340 r = S(e), 341 s = S(t), 342 a = b(e), 343 p = h(t), 344 l = parseFloat(p.borderTopWidth, 10), 345 d = parseFloat(p.borderLeftWidth, 10); 346 o && 347 "HTML" === t.nodeName && 348 ((s.top = Ye(s.top, 0)), (s.left = Ye(s.left, 0))); 349 var c = k({ 350 top: r.top - s.top - l, 351 left: r.left - s.left - d, 352 width: r.width, 353 height: r.height, 354 }); 355 if (((c.marginTop = 0), (c.marginLeft = 0), !i && n)) { 356 var f = parseFloat(p.marginTop, 10), 357 m = parseFloat(p.marginLeft, 10); 358 (c.top -= l - f), 359 (c.bottom -= l - f), 360 (c.left -= d - m), 361 (c.right -= d - m), 362 (c.marginTop = f), 363 (c.marginLeft = m); 364 } 365 return (
366 (i && !o ? t.contains(a) : t === a && "BODY" !== a.nodeName) && 367 (c = O(c, t)), 368 c 369 ); 370 } 371 function I(e) { 372 var t = !!(1 < arguments.length && void 0 !== arguments[1]) && arguments[1], 373 o = e.ownerDocument.documentElement, 374 i = P(e, o), 375 n = Ye(o.clientWidth, window.innerWidth || 0), 376 r = Ye(o.clientHeight, window.innerHeight || 0), 377 s = t ? 0 : L(o), 378 a = t ? 0 : L(o, "left"), 379 p = { 380 top: s - i.top + i.marginTop, 381 left: a - i.left + i.marginLeft, 382 width: n, 383 height: r, 384 }; 385 return k(p); 386 } 387 function D(e) { 388 var t = e.nodeName; 389 return ( 390 "BODY" !== t && "HTML" !== t && ("fixed" === h(e, "position") || D(g(e))) 391 ); 392 } 393 function R(e) { 394 if (!e || !e.parentElement || y()) return document.documentElement; 395 for (var t = e.parentElement; t && "none" === h(t, "transform"); ) 396 t = t.parentElement; 397 return t || document.documentElement; 398 } 399 function _(e, t, o, i) { 400 var n = !!(4 < arguments.length && void 0 !== arguments[4]) && arguments[4], 401 r = { top: 0, left: 0 }, 402 s = n ? R(e) : T(e, t); 403 if ("viewport" === i) r = I(s, n); 404 else { 405 var a; 406 "scrollParent" === i 407 ? ((a = b(g(t))), 408 "BODY" === a.nodeName && (a = e.ownerDocument.documentElement)) 409 : "window" === i 410 ? (a = e.ownerDocument.documentElement) 411 : (a = i); 412 var p = P(a, s, n); 413 if ("HTML" === a.nodeName && !D(s)) { 414 var l = C(), 415 d = l.height, 416 c = l.width; 417 (r.top += p.top - p.marginTop), 418 (r.bottom = d + p.top), 419 (r.left += p.left - p.marginLeft), 420 (r.right = c + p.left); 421 } else r = p; 422 } 423 return (r.left += o), (r.top += o), (r.right -= o), (r.bottom -= o), r; 424 } 425 function H(e) { 426 var t = e.width, 427 o = e.height; 428 return t * o; 429 } 430 function N(e, t, o, i, n) { 431 var r = 5 < arguments.length && void 0 !== arguments[5] ? arguments[5] : 0; 432 if (-1 === e.indexOf("auto")) return e; 433 var s = _(o, i, r, n), 434 a = { 435 top: { width: s.width, height: t.top - s.top }, 436 right: { width: s.right - t.right, height: s.height }, 437 bottom: { width: s.width, height: s.bottom - t.bottom }, 438 left: { width: t.left - s.left, height: s.height }, 439 }, 440 p = Object.keys(a) 441 .map(function (e) { 442 return pt({ key: e }, a[e], { area: H(a[e]) }); 443 }) 444 .sort(function (e, t) { 445 return t.area - e.area; 446 }), 447 l = p.filter(function (e) { 448 var t = e.width, 449 i = e.height; 450 return t >= o.clientWidth && i >= o.clientHeight; 451 }), 452 d = 0 < l.length ? l[0].key : p[0].key, 453 c = e.split("-")[1]; 454 return d + (c ? "-" + c : ""); 455 } 456 function M(e, t, o) { 457 var i = 458 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null, 459 n = i ? R(t) : T(t, o); 460 return P(o, n, i); 461 } 462 function W(e) { 463 var t = getComputedStyle(e), 464 o = parseFloat(t.marginTop) + parseFloat(t.marginBottom), 465 i = parseFloat(t.marginLeft) + parseFloat(t.marginRight), 466 n = { width: e.offsetWidth + i, height: e.offsetHeight + o }; 467 return n; 468 } 469 function B(e) { 470 var t = { left: "right", right: "left", bottom: "top", top: "bottom" }; 471 return e.replace(/left|right|bottom|top/g, function (e) { 472 return t[e]; 473 }); 474 } 475 function U(e, t, o) { 476 o = o.split("-")[0]; 477 var i = W(e), 478 n = { width: i.width, height: i.height }, 479 r = -1 !== ["right", "left"].indexOf(o), 480 s = r ? "top" : "left", 481 a = r ? "left" : "top", 482 p = r ? "height" : "width", 483 l = r ? "width" : "height"; 484 return ( 485 (n[s] = t[s] + t[p] / 2 - i[p] / 2), 486 (n[a] = o === a ? t[a] - i[l] : t[B(a)]), 487 n 488 ); 489 } 490 function F(e, t) { 491 return Array.prototype.find ? e.find(t) : e.filter(t)[0]; 492 } 493 function Y(e, t, o) { 494 if (Array.prototype.findIndex) 495 return e.findIndex(function (e) { 496 return e[t] === o; 497 }); 498 var i = F(e, function (e) { 499 return e[t] === o; 500 }); 501 return e.indexOf(i); 502 } 503 function q(e, t, o) { 504 var i = void 0 === o ? e : e.slice(0, Y(e, "name", o)); 505 return (
506 i.forEach(function (e) { 507 e["function"] && 508 console.warn("`modifier.function` is deprecated, use `modifier.fn`!"); 509 var o = e["function"] || e.fn; 510 e.enabled && 511 u(o) && 512 ((t.offsets.popper = k(t.offsets.popper)), 513 (t.offsets.reference = k(t.offsets.reference)), 514 (t = o(t, e))); 515 }), 516 t 517 ); 518 } 519 function z() { 520 if (!this.state.isDestroyed) { 521 var e = { 522 instance: this, 523 styles: {}, 524 arrowStyles: {}, 525 attributes: {}, 526 flipped: !1, 527 offsets: {}, 528 }; 529 (e.offsets.reference = M( 530 this.state, 531 this.popper, 532 this.reference, 533 this.options.positionFixed 534 )), 535 (e.placement = N( 536 this.options.placement, 537 e.offsets.reference, 538 this.popper, 539 this.reference, 540 this.options.modifiers.flip.boundariesElement, 541 this.options.modifiers.flip.padding 542 )), 543 (e.originalPlacement = e.placement), 544 (e.positionFixed = this.options.positionFixed), 545 (e.offsets.popper = U(this.popper, e.offsets.reference, e.placement)), 546 (e.offsets.popper.position = this.options.positionFixed 547 ? "fixed" 548 : "absolute"), 549 (e = q(this.modifiers, e)), 550 this.state.isCreated 551 ? this.options.onUpdate(e) 552 : ((this.state.isCreated = !0), this.options.onCreate(e)); 553 } 554 } 555 function j(e, t) { 556 return e.some(function (e) { 557 var o = e.name, 558 i = e.enabled; 559 return i && o === t; 560 }); 561 } 562 function X(e) { 563 for ( 564 var t = [!1, "ms", "Webkit", "Moz", "O"], 565 o = e.charAt(0).toUpperCase() + e.slice(1), 566 n = 0; 567 n < t.length; 568 n++ 569 ) { 570 var i = t[n], 571 r = i ? "" + i + o : e; 572 if ("undefined" != typeof document.body.style[r]) return r; 573 } 574 return null; 575 } 576 function K() { 577 return ( 578 (this.state.isDestroyed = !0), 579 j(this.modifiers, "applyStyle") && 580 (this.popper.removeAttribute("x-placement"), 581 (this.popper.style.position = ""), 582 (this.popper.style.top = ""), 583 (this.popper.style.left = ""), 584 (this.popper.style.right = ""), 585 (this.popper.style.bottom = ""), 586 (this.popper.style.willChange = ""), 587 (this.popper.style[X("transform")] = "")), 588 this.disableEventListeners(), 589 this.options.removeOnDestroy && 590 this.popper.parentNode.removeChild(this.popper), 591 this 592 ); 593 } 594 function V(e) { 595 var t = e.ownerDocument; 596 return t ? t.defaultView : window; 597 } 598 function G(e, t, o, i) { 599 var n = "BODY" === e.nodeName, 600 r = n ? e.ownerDocument.defaultView : e; 601 r.addEventListener(t, o, { passive: !0 }), 602 n || G(b(r.parentNode), t, o, i), 603 i.push(r); 604 } 605 function Q(e, t, o, i) { 606 (o.updateBound = i), 607 V(e).addEventListener("resize", o.updateBound, { passive: !0 }); 608 var n = b(e); 609 return ( 610 G(n, "scroll", o.updateBound, o.scrollParents), 611 (o.scrollElement = n), 612 (o.eventsEnabled = !0), 613 o 614 ); 615 } 616 function Z() { 617 this.state.eventsEnabled || 618 (this.state = Q( 619 this.reference, 620 this.options, 621 this.state, 622 this.scheduleUpdate 623 )); 624 } 625 function $(e, t) { 626 return ( 627 V(e).removeEventListener("resize", t.updateBound), 628 t.scrollParents.forEach(function (e) { 629 e.removeEventListener("scroll", t.updateBound); 630 }), 631 (t.updateBound = null), 632 (t.scrollParents = []), 633 (t.scrollElement = null), 634 (t.eventsEnabled = !1), 635 t 636 ); 637 } 638 function J() { 639 this.state.eventsEnabled && 640 (cancelAnimationFrame(this.scheduleUpdate), 641 (this.state = $(this.reference, this.state))); 642 } 643 function ee(e) { 644 return "" !== e && !isNaN(parseFloat(e)) && isFinite(e); 645 } 646 function te(e, t) { 647 Object.keys(t).forEach(function (o) { 648 var i = ""; 649 -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(o) && 650 ee(t[o]) && 651 (i = "px"), 652 (e.style[o] = t[o] + i); 653 }); 654 } 655 function oe(e, t) { 656 Object.keys(t).forEach(function (o) { 657 var i = t[o]; 658 !1 === i ? e.removeAttribute(o) : e.setAttribute(o, t[o]); 659 }); 660 } 661 function ie(e, t, o) { 662 var i = F(e, function (e) { 663 var o = e.name; 664 return o === t; 665 }), 666 n = 667 !!i && 668 e.some(function (e) { 669 return e.name === o && e.enabled && e.order < i.order;
670 }); 671 if (!n) { 672 var r = "`" + t + "`"; 673 console.warn( 674 "`" + 675 o + 676 "`" + 677 " modifier is required by " + 678 r + 679 " modifier in order to work, be sure to include it before " + 680 r + 681 "!" 682 ); 683 } 684 return n; 685 } 686 function ne(e) { 687 return "end" === e ? "start" : "start" === e ? "end" : e; 688 } 689 function re(e) { 690 var t = !!(1 < arguments.length && void 0 !== arguments[1]) && arguments[1], 691 o = dt.indexOf(e), 692 i = dt.slice(o + 1).concat(dt.slice(0, o)); 693 return t ? i.reverse() : i; 694 } 695 function se(e, t, o, i) { 696 var n = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), 697 r = +n[1], 698 s = n[2]; 699 if (!r) return e; 700 if (0 === s.indexOf("%")) { 701 var a; 702 switch (s) { 703 case "%p": 704 a = o; 705 break; 706 case "%": 707 case "%r": 708 default: 709 a = i; 710 } 711 var p = k(a); 712 return (p[t] / 100) * r; 713 } 714 if ("vh" === s || "vw" === s) { 715 var l; 716 return ( 717 (l = 718 "vh" === s 719 ? Ye(document.documentElement.clientHeight, window.innerHeight || 0) 720 : Ye(document.documentElement.clientWidth, window.innerWidth || 0)), 721 (l / 100) * r 722 ); 723 } 724 return r; 725 } 726 function ae(e, t, o, i) { 727 var n = [0, 0], 728 r = -1 !== ["right", "left"].indexOf(i), 729 s = e.split(/(\+|\-)/).map(function (e) { 730 return e.trim(); 731 }), 732 a = s.indexOf( 733 F(s, function (e) { 734 return -1 !== e.search(/,|\s/); 735 }) 736 ); 737 s[a] && 738 -1 === s[a].indexOf(",") && 739 console.warn( 740 "Offsets separated by white space(s) are deprecated, use a comma (,) instead." 741 ); 742 var p = /\s*,\s*|\s+/, 743 l = 744 -1 === a 745 ? [s] 746 : [ 747 s.slice(0, a).concat([s[a].split(p)[0]]), 748 [s[a].split(p)[1]].concat(s.slice(a + 1)), 749 ]; 750 return ( 751 (l = l.map(function (e, i) { 752 var n = (1 === i ? !r : r) ? "height" : "width", 753 s = !1; 754 return e 755 .reduce(function (e, t) { 756 return "" === e[e.length - 1] && -1 !== ["+", "-"].indexOf(t) 757 ? ((e[e.length - 1] = t), (s = !0), e) 758 : s 759 ? ((e[e.length - 1] += t), (s = !1), e) 760 : e.concat(t); 761 }, []) 762 .map(function (e) { 763 return se(e, n, t, o); 764 }); 765 })), 766 l.forEach(function (e, t) { 767 e.forEach(function (o, i) { 768 ee(o) && (n[t] += o * ("-" === e[i - 1] ? -1 : 1)); 769 }); 770 }), 771 n 772 ); 773 } 774 function pe(e, t) { 775 var o = t.offset, 776 i = e.placement, 777 n = e.offsets, 778 r = n.popper, 779 s = n.reference, 780 a = i.split("-")[0], 781 p = void 0; 782 return ( 783 (p = ee(+o) ? [+o, 0] : ae(o, r, s, a)), 784 "left" === a 785 ? ((r.top += p[0]), (r.left -= p[1])) 786 : "right" === a 787 ? ((r.top += p[0]), (r.left += p[1])) 788 : "top" === a 789 ? ((r.left += p[0]), (r.top -= p[1])) 790 : "bottom" === a && ((r.left += p[0]), (r.top += p[1])), 791 (e.popper = r), 792 e 793 ); 794 } 795 function le(e) { 796 void e.offsetHeight; 797 } 798 function de(e, t, o) { 799 var i = e.popper, 800 n = e.options, 801 r = n.onCreate, 802 s = n.onUpdate; 803 (n.onCreate = n.onUpdate = 804 function () { 805 le(i), t && t(), s(), (n.onCreate = r), (n.onUpdate = s); 806 }), 807 o || e.scheduleUpdate(); 808 } 809 function ce(e) { 810 return e.getAttribute("x-placement").replace(/-.+/, ""); 811 } 812 function fe(e, t, o) { 813 if (!t.getAttribute("x-placement")) return !0; 814 var i = e.clientX, 815 n = e.clientY, 816 r = o.interactiveBorder, 817 s = o.distance, 818 a = t.getBoundingClientRect(), 819 p = ce(t), 820 l = r + s, 821 d = { 822 top: a.top - n > r, 823 bottom: n - a.bottom > r, 824 left: a.left - i > r, 825 right: i - a.right > r, 826 }; 827 return ( 828 "top" === p 829 ? (d.top = a.top - n > l) 830 : "bottom" === p 831 ? (d.bottom = n - a.bottom > l) 832 : "left" === p 833 ? (d.left = a.left - i > l) 834 : "right" === p 835 ? (d.right = i - a.right > l) 836 : void 0, 837 d.top || d.bottom || d.left || d.right 838 ); 839 } 840 function me(e, t, o, i) { 841 if (!t.length) return ""; 842 var n = { 843 scale: (function () { 844 return 1 === t.length 845 ? "" + t[0] 846 : o 847 ? t[0] + ", " + t[1] 848 : t[1] + ", " + t[0]; 849 })(), 850 translate: (function () { 851 return 1 === t.length 852 ? i 853 ? -t[0] + "px" 854 : t[0] + "px" 855 : o 856 ? i 857 ? t[0] + "px, " + -t[1] + "px" 858 : t[0] + "px, " + t[1] + "px" 859 : i 860 ? -t[1] + "px, " + t[0] + "px" 861 : t[1] + "px, " + t[0] + "px"; 862 })(), 863 }; 864 return n[e]; 865 } 866 function ue(e, t) { 867 if (!e) return ""; 868 return t ? e : { X: "Y", Y: "X" }[e]; 869 } 870 function he(e, t, o) { 871 var i = ce(e), 872 n = "top" === i || "bottom" === i, 873 r = "right" === i || "bottom" === i, 874 a = function (e) { 875 var t = o.match(e); 876 return t ? t[1] : ""; 877 }, 878 p = function (e) { 879 var t = o.match(e); 880 return t ? t[1].split(",").map(parseFloat) : []; 881 }, 882 l = { 883 translate: /translateX?Y?\(([^)]+)\)/, 884 scale: /scaleX?Y?\(([^)]+)\)/, 885 }, 886 d = { 887 translate: { axis: a(/translate([XY])/), numbers: p(l.translate) }, 888 scale: { axis: a(/scale([XY])/), numbers: p(l.scale) }, 889 }, 890 c = o 891 .replace( 892 l.translate, 893 "translate" + 894 ue(d.translate.axis, n) + 895 "(" + 896 me("translate", d.translate.numbers, n, r) + 897 ")" 898 ) 899 .replace( 900 l.scale, 901 "scale" + 902 ue(d.scale.axis, n) + 903 "(" + 904 me("scale", d.scale.numbers, n, r) + 905 ")" 906 ); 907 t.style[s("transform")] = c; 908 } 909 function ge(e) { 910 return -(e - Ke.distance) + "px"; 911 } 912 function be(e) { 913 requestAnimationFrame(function () { 914 setTimeout(e, 1); 915 }); 916 } 917 function ye(t, o) { 918 var i = 919 Element.prototype.closest || 920 function (t) { 921 for (var o = this; o; ) { 922 if (e.call(o, t)) return o; 923 o = o.parentElement; 924 } 925 }; 926 return i.call(t, o); 927 } 928 function ve(e, t) { 929 return Array.isArray(e) ? e[t] : e; 930 } 931 function we(e, t) { 932 e.forEach(function (e) { 933 e && e.setAttribute("data-state", t); 934 }); 935 } 936 function Ee(e, t) {
937 e.filter(Boolean).forEach(function (e) { 938 e.style[s("transitionDuration")] = t + "ms"; 939 }); 940 } 941 function Te(e) { 942 var t = window.scrollX || window.pageXOffset, 943 o = window.scrollY || window.pageYOffset; 944 e.focus(), scroll(t, o); 945 } 946 function Le() { 947 var e = this._(ht).lastTriggerEvent; 948 return ( 949 this.options.followCursor && !je.usingTouch && e && "focus" !== e.type 950 ); 951 } 952 function Oe(e) { 953 var t = ye(e.target, this.options.target); 954 if (t && !t._tippy) { 955 var o = t.getAttribute("title") || this.title; 956 o && 957 (t.setAttribute("title", o), 958 We(t, Ze({}, this.options, { target: null })), 959 xe.call(t._tippy, e)); 960 } 961 } 962 function xe(e) { 963 var t = this, 964 o = this.options; 965 if ((Pe.call(this), !this.state.visible)) { 966 if (o.target) return void Oe.call(this, e); 967 if (((this._(ht).isPreparingToShow = !0), o.wait)) 968 return void o.wait.call(this.popper, this.show.bind(this), e); 969 if (Le.call(this)) { 970 this._(ht).followCursorListener || Ie.call(this); 971 var i = f(this.popper), 972 n = i.arrow; 973 n && (n.style.margin = "0"), 974 document.addEventListener( 975 "mousemove", 976 this._(ht).followCursorListener 977 ); 978 } 979 var r = ve(o.delay, 0); 980 r 981 ? (this._(ht).showTimeout = setTimeout(function () { 982 t.show(); 983 }, r)) 984 : this.show(); 985 } 986 } 987 function Ae() { 988 var e = this; 989 if ((Pe.call(this), !!this.state.visible)) { 990 this._(ht).isPreparingToShow = !1; 991 var t = ve(this.options.delay, 1); 992 t 993 ? (this._(ht).hideTimeout = setTimeout(function () { 994 e.state.visible && e.hide(); 995 }, t)) 996 : this.hide(); 997 } 998 } 999 function Ce() { 1000 var e = this; 1001 return { 1002 onTrigger: function (t) { 1003 if (e.state.enabled) { 1004 var o = 1005 je.supportsTouch && 1006 je.usingTouch && 1007 -1 < ["mouseenter", "mouseover", "focus"].indexOf(t.type); 1008 (o && e.options.touchHold) || 1009 ((e._(ht).lastTriggerEvent = t), 1010 "click" === t.type && 1011 "persistent" !== e.options.hideOnClick && 1012 e.state.visible 1013 ? Ae.call(e) 1014 : xe.call(e, t)); 1015 } 1016 }, 1017 onMouseLeave: function (t) { 1018 if ( 1019 !( 1020 -1 < ["mouseleave", "mouseout"].indexOf(t.type) && 1021 je.supportsTouch && 1022 je.usingTouch && 1023 e.options.touchHold 1024 ) 1025 ) { 1026 if (e.options.interactive) { 1027 var o = Ae.bind(e), 1028 i = function t(i) { 1029 var n = ye(i.target, Xe.REFERENCE), 1030 r = ye(i.target, Xe.POPPER) === e.popper, 1031 s = n === e.reference; 1032 r || 1033 s || 1034 (fe(i, e.popper, e.options) && 1035 (document.body.removeEventListener("mouseleave", o), 1036 document.removeEventListener("mousemove", t), 1037 Ae.call(e, t))); 1038 }; 1039 return ( 1040 document.body.addEventListener("mouseleave", o), 1041 void document.addEventListener("mousemove", i) 1042 ); 1043 } 1044 Ae.call(e); 1045 } 1046 }, 1047 onBlur: function (t) { 1048 if (!(t.target !== e.reference || je.usingTouch)) { 1049 if (e.options.interactive) { 1050 if (!t.relatedTarget) return; 1051 if (ye(t.relatedTarget, Xe.POPPER)) return; 1052 } 1053 Ae.call(e); 1054 } 1055 }, 1056 onDelegateShow: function (t) { 1057 ye(t.target, e.options.target) && xe.call(e, t); 1058 }, 1059 onDelegateHide: function (t) { 1060 ye(t.target, e.options.target) && Ae.call(e); 1061 }, 1062 }; 1063 } 1064 function ke() { 1065 var e = this, 1066 t = this.popper, 1067 o = this.reference, 1068 i = this.options, 1069 n = f(t), 1070 r = n.tooltip, 1071 s = i.popperOptions, 1072 a = "round" === i.arrowType ? Xe.ROUND_ARROW : Xe.ARROW, 1073 p = r.querySelector(a), 1074 l = Ze({ placement: i.placement }, s || {}, { 1075 modifiers: Ze({}, s ? s.modifiers : {}, { 1076 arrow: Ze({ element: a }, s && s.modifiers ? s.modifiers.arrow : {}), 1077 flip: Ze( 1078 { 1079 enabled: i.flip, 1080 padding: i.distance + 5, 1081 behavior: i.flipBehavior, 1082 }, 1083 s && s.modifiers ? s.modifiers.flip : {} 1084 ), 1085 offset: Ze( 1086 { offset: i.offset }, 1087 s && s.modifiers ? s.modifiers.offset : {} 1088 ), 1089 }), 1090 onCreate: function () { 1091 (r.style[ce(t)] = ge(i.distance)), 1092 p && i.arrowTransform && he(t, p, i.arrowTransform); 1093 }, 1094 onUpdate: function () { 1095 var e = r.style; 1096 (e.top = ""), 1097 (e.bottom = ""), 1098 (e.left = ""), 1099 (e.right = ""), 1100 (e[ce(t)] = ge(i.distance)), 1101 p && i.arrowTransform && he(t, p, i.arrowTransform); 1102 }, 1103 }); 1104 return ( 1105 Re.call(this, { 1106 target: t, 1107 callback: function () {
1108 e.popperInstance.update(); 1109 }, 1110 options: { childList: !0, subtree: !0, characterData: !0 }, 1111 }), 1112 new ft(o, t, l) 1113 ); 1114 } 1115 function Se(e) { 1116 var t = this.options; 1117 if ( 1118 (this.popperInstance 1119 ? (this.popperInstance.scheduleUpdate(), 1120 t.livePlacement && 1121 !Le.call(this) && 1122 this.popperInstance.enableEventListeners()) 1123 : ((this.popperInstance = ke.call(this)), 1124 !t.livePlacement && this.popperInstance.disableEventListeners()), 1125 !Le.call(this)) 1126 ) { 1127 var o = f(this.popper), 1128 i = o.arrow; 1129 i && (i.style.margin = ""), 1130 (this.popperInstance.reference = this.reference); 1131 } 1132 de(this.popperInstance, e, !0), 1133 t.appendTo.contains(this.popper) || t.appendTo.appendChild(this.popper); 1134 } 1135 function Pe() { 1136 var e = this._(ht), 1137 t = e.showTimeout, 1138 o = e.hideTimeout; 1139 clearTimeout(t), clearTimeout(o); 1140 } 1141 function Ie() { 1142 var e = this; 1143 this._(ht).followCursorListener = function (t) { 1144 var o = (e._(ht).lastMouseMoveEvent = t), 1145 i = o.clientX, 1146 n = o.clientY; 1147 e.popperInstance && 1148 ((e.popperInstance.reference = { 1149 getBoundingClientRect: function () { 1150 return { 1151 width: 0, 1152 height: 0, 1153 top: n, 1154 left: i, 1155 right: i, 1156 bottom: n, 1157 }; 1158 }, 1159 clientWidth: 0, 1160 clientHeight: 0, 1161 }), 1162 e.popperInstance.scheduleUpdate()); 1163 }; 1164 } 1165 function De() { 1166 var e = this, 1167 t = function () { 1168 e.popper.style[s("transitionDuration")] = 1169 e.options.updateDuration + "ms"; 1170 }, 1171 o = function () { 1172 e.popper.style[s("transitionDuration")] = ""; 1173 }; 1174 (function i() { 1175 e.popperInstance && e.popperInstance.update(), 1176 t(), 1177 e.state.visible ? requestAnimationFrame(i) : o(); 1178 })(); 1179 } 1180 function Re(e) { 1181 var t = e.target, 1182 o = e.callback, 1183 i = e.options; 1184 if (window.MutationObserver) { 1185 var n = new MutationObserver(o); 1186 n.observe(t, i), this._(ht).mutationObservers.push(n); 1187 } 1188 } 1189 function _e(e, t) { 1190 if (!e) return t(); 1191 var o = f(this.popper), 1192 i = o.tooltip, 1193 n = function (e, t) { 1194 t && 1195 i[e + "EventListener"]( 1196 "transition" in document.body.style 1197 ? "transitionend" 1198 : "webkitTransitionEnd", 1199 t 1200 ); 1201 }, 1202 r = function o(r) { 1203 r.target === i && (n("remove", o), t()); 1204 }; 1205 n("remove", this._(ht).transitionendListener), 1206 n("add", r), 1207 (this._(ht).transitionendListener = r); 1208 } 1209 function He(e, t) { 1210 return e.reduce(function (e, o) { 1211 var i = yt, 1212 n = c(o, t.performance ? t : d(o, t)), 1213 r = o.getAttribute("title"); 1214 if (!r && !n.target && !n.html && !n.dynamicTitle) return e; 1215 o.setAttribute(n.target ? "data-tippy-delegate" : "data-tippy", ""), m(o); 1216 var s = p(i, r, n), 1217 a = new bt({ 1218 id: i, 1219 reference: o, 1220 popper: s, 1221 options: n, 1222 title: r, 1223 popperInstance: null, 1224 }); 1225 n.createPopperInstanceOnInit && 1226 ((a.popperInstance = ke.call(a)), 1227 a.popperInstance.disableEventListeners()); 1228 var u = Ce.call(a); 1229 return ( 1230 (a.listeners = n.trigger 1231 .trim() 1232 .split(" ") 1233 .reduce(function (e, t) { 1234 return e.concat(l(t, o, u, n)); 1235 }, [])), 1236 n.dynamicTitle && 1237 Re.call(a, { 1238 target: o, 1239 callback: function () { 1240 var e = f(s), 1241 t = e.content, 1242 i = o.getAttribute("title"); 1243 i && 1244 ((t[n.allowTitleHTML ? "innerHTML" : "textContent"] = a.title = 1245 i), 1246 m(o)); 1247 }, 1248 options: { attributes: !0 }, 1249 }), 1250 (o._tippy = a), 1251 (s._tippy = a), 1252 (s._reference = o), 1253 e.push(a), 1254 yt++, 1255 e 1256 ); 1257 }, []); 1258 } 1259 function Ne(e) { 1260 var t = o(document.querySelectorAll(Xe.POPPER)); 1261 t.forEach(function (t) { 1262 var o = t._tippy; 1263 if (o) { 1264 var i = o.options; 1265 (!0 === i.hideOnClick || -1 < i.trigger.indexOf("focus")) && 1266 (!e || t !== e.popper) && 1267 o.hide(); 1268 } 1269 }); 1270 } 1271 function Me() { 1272 var t = function () { 1273 je.usingTouch || 1274 ((je.usingTouch = !0), 1275 je.iOS && document.body.classList.add("tippy-touch"), 1276 je.dynamicInputDetection && 1277 window.performance && 1278 document.addEventListener("mousemove", i), 1279 je.onUserInputChange("touch")); 1280 }, 1281 i = (function () { 1282 var e; 1283 return function () { 1284 var t = performance.now(); 1285 20 > t - e && 1286 ((je.usingTouch = !1), 1287 document.removeEventListener("mousemove", i), 1288 !je.iOS && document.body.classList.remove("tippy-touch"), 1289 je.onUserInputChange("mouse")), 1290 (e = t); 1291 }; 1292 })(); 1293 document.addEventListener("click", function (e) { 1294 if (!(e.target instanceof Element)) return Ne(); 1295 var t = ye(e.target, Xe.REFERENCE), 1296 o = ye(e.target, Xe.POPPER); 1297 if (!(o && o._tippy && o._tippy.options.interactive)) { 1298 if (t && t._tippy) { 1299 var i = t._tippy.options, 1300 n = -1 < i.trigger.indexOf("click"), 1301 r = i.multiple;
1302 if ((!r && je.usingTouch) || (!r && n)) return Ne(t._tippy); 1303 if (!0 !== i.hideOnClick || n) return; 1304 } 1305 Ne(); 1306 } 1307 }), 1308 document.addEventListener("touchstart", t), 1309 window.addEventListener("blur", function () { 1310 var t = document, 1311 o = t.activeElement; 1312 o && o.blur && e.call(o, Xe.REFERENCE) && o.blur(); 1313 }), 1314 window.addEventListener("resize", function () { 1315 o(document.querySelectorAll(Xe.POPPER)).forEach(function (e) { 1316 var t = e._tippy; 1317 t && !t.options.livePlacement && t.popperInstance.scheduleUpdate(); 1318 }); 1319 }), 1320 !je.supportsTouch && 1321 (navigator.maxTouchPoints || navigator.msMaxTouchPoints) && 1322 document.addEventListener("pointerdown", t); 1323 } 1324 function We(e, o, i) { 1325 je.supported && !vt && (Me(), (vt = !0)), t(e) && r(e), (o = Ze({}, Ke, o)); 1326 var s = n(e), 1327 a = s[0]; 1328 return { 1329 selector: e, 1330 options: o, 1331 tooltips: je.supported ? He(i && a ? [a] : s, o) : [], 1332 destroyAll: function () { 1333 this.tooltips.forEach(function (e) { 1334 return e.destroy(); 1335 }), 1336 (this.tooltips = []); 1337 }, 1338 }; 1339 } 1340 var Be = Math.min, 1341 Ue = Math.round, 1342 Fe = Math.floor, 1343 Ye = Math.max, 1344 qe = "undefined" != typeof window, 1345 ze = qe && /MSIE |Trident\//.test(navigator.userAgent), 1346 je = {}; 1347 qe && 1348 ((je.supported = "requestAnimationFrame" in window), 1349 (je.supportsTouch = "ontouchstart" in window), 1350 (je.usingTouch = !1), 1351 (je.dynamicInputDetection = !0), 1352 (je.iOS = /iPhone|iPad|iPod/.test(navigator.platform) && !window.MSStream), 1353 (je.onUserInputChange = function () {})); 1354 for ( 1355 var Xe = { 1356 POPPER: ".tippy-popper", 1357 TOOLTIP: ".tippy-tooltip", 1358 CONTENT: ".tippy-content", 1359 BACKDROP: ".tippy-backdrop", 1360 ARROW: ".tippy-arrow", 1361 ROUND_ARROW: ".tippy-roundarrow", 1362 REFERENCE: "[data-tippy]", 1363 }, 1364 Ke = { 1365 placement: "top", 1366 livePlacement: !0, 1367 trigger: "mouseenter focus", 1368 animation: "shift-away", 1369 html: !1, 1370 animateFill: !0, 1371 arrow: !1, 1372 delay: 0, 1373 duration: [350, 300], 1374 interactive: !1, 1375 interactiveBorder: 2, 1376 theme: "dark", 1377 size: "regular", 1378 distance: 10, 1379 offset: 0, 1380 hideOnClick: !0, 1381 multiple: !1, 1382 followCursor: !1, 1383 inertia: !1, 1384 updateDuration: 350, 1385 sticky: !1, 1386 appendTo: function () { 1387 return document.body; 1388 }, 1389 zIndex: 9999, 1390 touchHold: !1, 1391 performance: !1, 1392 dynamicTitle: !1, 1393 flip: !0, 1394 flipBehavior: "flip", 1395 arrowType: "sharp", 1396 arrowTransform: "", 1397 maxWidth: "", 1398 target: null, 1399 allowTitleHTML: !0, 1400 popperOptions: {}, 1401 createPopperInstanceOnInit: !1, 1402 onShow: function () {}, 1403 onShown: function () {}, 1404 onHide: function () {}, 1405 onHidden: function () {}, 1406 }, 1407 Ve = je.supported && Object.keys(Ke), 1408 Ge = function (e, t) { 1409 if (!(e instanceof t)) 1410 throw new TypeError("Cannot call a class as a function"); 1411 }, 1412 Qe = (function () { 1413 function e(e, t) { 1414 for (var o, n = 0; n < t.length; n++) 1415 (o = t[n]), 1416 (o.enumerable = o.enumerable || !1), 1417 (o.configurable = !0), 1418 ("value" in o) && (o.writable = !0), 1419 Object.defineProperty(e, o.key, o); 1420 } 1421 return function (t, o, i) { 1422 return o && e(t.prototype, o), i && e(t, i), t; 1423 }; 1424 })(), 1425 Ze = 1426 Object.assign || 1427 function (e) { 1428 for (var t, o = 1; o < arguments.length; o++) 1429 for (var i in ((t = arguments[o]), t)) 1430 Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); 1431 return e; 1432 }, 1433 $e = "undefined" != typeof window && "undefined" != typeof document, 1434 Je = ["Edge", "Trident", "Firefox"], 1435 et = 0, 1436 tt = 0; 1437 tt < Je.length; 1438 tt += 1 1439 ) 1440 if ($e && 0 <= navigator.userAgent.indexOf(Je[tt])) { 1441 et = 1; 1442 break; 1443 } 1444 var i = $e && window.Promise, 1445 ot = i 1446 ? function (e) { 1447 var t = !1; 1448 return function () { 1449 t || 1450 ((t = !0), 1451 window.Promise.resolve().then(function () { 1452 (t = !1), e(); 1453 })); 1454 }; 1455 } 1456 : function (e) { 1457 var t = !1; 1458 return function () { 1459 t || 1460 ((t = !0), 1461 setTimeout(function () { 1462 (t = !1), e(); 1463 }, et)); 1464 }; 1465 }, 1466 it = $e && !!(window.MSInputMethodContext && document.documentMode), 1467 nt = $e && /MSIE 10/.test(navigator.userAgent), 1468 rt = function (e, t) { 1469 if (!(e instanceof t)) 1470 throw new TypeError("Cannot call a class as a function"); 1471 }, 1472 st = (function () { 1473 function e(e, t) { 1474 for (var o, n = 0; n < t.length; n++) 1475 (o = t[n]), 1476 (o.enumerable = o.enumerable || !1), 1477 (o.configurable = !0), 1478 "value" in o && (o.writable = !0), 1479 Object.defineProperty(e, o.key, o); 1480 } 1481 return function (t, o, i) { 1482 return o && e(t.prototype, o), i && e(t, i), t; 1483 }; 1484 })(), 1485 at = function (e, t, o) { 1486 return ( 1487 t in e 1488 ? Object.defineProperty(e, t, { 1489 value: o, 1490 enumerable: !0, 1491 configurable: !0, 1492 writable: !0, 1493 }) 1494 : (e[t] = o), 1495 e 1496 ); 1497 }, 1498 pt = 1499 Object.assign || 1500 function (e) { 1501 for (var t, o = 1; o < arguments.length; o++) 1502 for (var i in ((t = arguments[o]), t)) 1503 Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]); 1504 return e; 1505 }, 1506 lt = [ 1507 "auto-start", 1508 "auto", 1509 "auto-end", 1510 "top-start", 1511 "top", 1512 "top-end", 1513 "right-start", 1514 "right", 1515 "right-end", 1516 "bottom-end", 1517 "bottom", 1518 "bottom-start", 1519 "left-end", 1520 "left", 1521 "left-start", 1522 ], 1523 dt = lt.slice(3), 1524 ct = { 1525 FLIP: "flip", 1526 CLOCKWISE: "clockwise", 1527 COUNTERCLOCKWISE: "counterclockwise", 1528 }, 1529 ft = (function () { 1530 function e(t, o) { 1531 var i = this, 1532 n = 1533 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}; 1534 rt(this, e), 1535 (this.scheduleUpdate = function () { 1536 return requestAnimationFrame(i.update); 1537 }), 1538 (this.update = ot(this.update.bind(this))), 1539 (this.options = pt({}, e.Defaults, n)), 1540 (this.state = { isDestroyed: !1, isCreated: !1, scrollParents: [] }), 1541 (this.reference = t && t.jquery ? t[0] : t), 1542 (this.popper = o && o.jquery ? o[0] : o), 1543 (this.options.modifiers = {}), 1544 Object.keys(pt({}
1544, e.Defaults.modifiers, n.modifiers)).forEach( 1545 function (t) { 1546 i.options.modifiers[t] = pt( 1547 {}, 1548 e.Defaults.modifiers[t] || {}, 1549 n.modifiers ? n.modifiers[t] : {} 1550 ); 1551 } 1552 ), 1553 (this.modifiers = Object.keys(this.options.modifiers) 1554 .map(function (e) { 1555 return pt({ name: e }, i.options.modifiers[e]); 1556 }) 1557 .sort(function (e, t) { 1558 return e.order - t.order; 1559 })), 1560 this.modifiers.forEach(function (e) { 1561 e.enabled && 1562 u(e.onLoad) && 1563 e.onLoad(i.reference, i.popper, i.options, e, i.state); 1564 }), 1565 this.update(); 1566 var r = this.options.eventsEnabled; 1567 r && this.enableEventListeners(), (this.state.eventsEnabled = r); 1568 } 1569 return ( 1570 st(e, [ 1571 { 1572 key: "update", 1573 value: function () { 1574 return z.call(this); 1575 }, 1576 }, 1577 { 1578 key: "destroy", 1579 value: function () { 1580 return K.call(this); 1581 }, 1582 }, 1583 { 1584 key: "enableEventListeners", 1585 value: function () { 1586 return Z.call(this); 1587 }, 1588 }, 1589 { 1590 key: "disableEventListeners", 1591 value: function () { 1592 return J.call(this); 1593 }, 1594 }, 1595 ]), 1596 e 1597 ); 1598 })(); 1599 (ft.Utils = ("undefined" == typeof window ? global : window).PopperUtils), 1600 (ft.placements = lt), 1601 (ft.Defaults = { 1602 placement: "bottom", 1603 positionFixed: !1, 1604 eventsEnabled: !0, 1605 removeOnDestroy: !1, 1606 onCreate: function () {}, 1607 onUpdate: function () {}, 1608 modifiers: { 1609 shift: { 1610 order: 100, 1611 enabled: !0, 1612 fn: function (e) { 1613 var t = e.placement, 1614 o = t.split("-")[0], 1615 i = t.split("-")[1]; 1616 if (i) { 1617 var n = e.offsets, 1618 r = n.reference, 1619 s = n.popper, 1620 a = -1 !== ["bottom", "top"].indexOf(o), 1621 p = a ? "left" : "top", 1622 l = a ? "width" : "height", 1623 d = { 1624 start: at({}, p, r[p]), 1625 end: at({}, p, r[p] + r[l] - s[l]), 1626 }; 1627 e.offsets.popper = pt({}, s, d[i]); 1628 } 1629 return e; 1630 }, 1631 }, 1632 offset: { order: 200, enabled: !0, fn: pe, offset: 0 }, 1633 preventOverflow: { 1634 order: 300, 1635 enabled: !0, 1636 fn: function (e, t) { 1637 var o = t.boundariesElement || v(e.instance.popper); 1638 e.instance.reference === o && (o = v(o)); 1639 var i = X("transform"), 1640 n = e.instance.popper.style, 1641 r = n.top, 1642 s = n.left, 1643 a = n[i]; 1644 (n.top = ""), (n.left = ""), (n[i] = ""); 1645 var p = _( 1646 e.instance.popper, 1647 e.instance.reference, 1648 t.padding, 1649 o, 1650 e.positionFixed 1651 ); 1652 (n.top = r), (n.left = s), (n[i] = a), (t.boundaries = p); 1653 var l = t.priority, 1654 d = e.offsets.popper, 1655 c = { 1656 primary: function (e) { 1657 var o = d[e]; 1658 return ( 1659 d[e] < p[e] && 1660 !t.escapeWithReference && 1661 (o = Ye(d[e], p[e])), 1662 at({}, e, o) 1663 ); 1664 }, 1665 secondary: function (e) { 1666 var o = "right" === e ? "left" : "top", 1667 i = d[o]; 1668 return ( 1669 d[e] > p[e] && 1670 !t.escapeWithReference && 1671 (i = Be( 1672 d[o], 1673 p[e] - ("right" === e ? d.width : d.height) 1674 )), 1675 at({}, o, i) 1676 ); 1677 }, 1678 }; 1679 return ( 1680 l.forEach(function (e) { 1681 var t = 1682 -1 === ["left", "top"].indexOf(e) ? "secondary" : "primary"; 1683 d = pt({}, d, c[t](e)); 1684 }), 1685 (e.offsets.popper = d), 1686 e 1687 ); 1688 }, 1689 priority: ["left", "right", "top", "bottom"], 1690 padding: 5, 1691 boundariesElement: "scrollParent", 1692 }, 1693 keepTogether: { 1694 order: 400, 1695 enabled: !0, 1696 fn: function (e) { 1697 var t = e.offsets, 1698 o = t.popper, 1699 i = t.reference, 1700 n = e.placement.split("-")[0], 1701 r = Fe, 1702 s = -1 !== ["top", "bottom"].indexOf(n), 1703 a = s ? "right" : "bottom", 1704 p = s ? "left" : "top", 1705 l = s ? "width" : "height"; 1706 return ( 1707 o[a] < r(i[p]) && (e.offsets.popper[p] = r(i[p]) - o[l]), 1708 o[p] > r(i[a]) && (e.offsets.popper[p] = r(i[a])), 1709 e 1710 ); 1711 }, 1712 }, 1713 arrow: { 1714 order: 500, 1715 enabled: !0, 1716 fn: function (e, t) { 1717 var o; 1718 if (!ie(e.instance.modifiers, "arrow", "keepTogether")) return e; 1719 var i = t.element; 1720 if ("string" == typeof i) { 1721 if (((i = e.instance.popper.querySelector(i)), !i)) return e; 1722 } else if (!e.instance.popper.contains(i)) 1723 return ( 1724 console.warn( 1725 "WARNING: `arrow.element` must be child of its popper element!" 1726 ), 1727 e 1728 ); 1729 var n = e.placement.split("-")[0], 1730 r = e.offsets, 1731 s = r.popper, 1732 a = r.reference, 1733 p = -1 !== ["left", "right"].indexOf(n), 1734 l = p ? "height" : "width", 1735 d = p ? "Top" : "Left", 1736 c = d.toLowerCase(), 1737 f = p ? "left" : "top", 1738 m = p ? "bottom" : "right", 1739 u = W(i)[l]; 1740 a[m] - u < s[c] && (e.offsets.popper[c] -= s[c] - (a[m] - u)), 1741 a[c] + u > s[m] && (e.offsets.popper[c] += a[c] + u - s[m]), 1742 (e.offsets.popper = k(e.offsets.popper)); 1743 var g = a[c] + a[l] / 2 - u / 2, 1744 b = h(e.instance.popper), 1745 y = parseFloat(b["margin" + d], 10), 1746 v = parseFloat(b["border" + d + "Width"], 10), 1747 w = g - e.offsets.popper[c] - y - v; 1748 return ( 1749 (w = Ye(Be(s[l] - u, w), 0)), 1750 (e.arrowElement = i), 1751 (e.offsets.arrow = ((o = {}), at(o, c, Ue(w)), at(o, f, ""), o)), 1752 e 1753 ); 1754 }, 1755 element: "[x-arrow]", 1756 }, 1757 flip: { 1758 order: 600, 1759 enabled: !0, 1760 fn: function (e, t) { 1761 if (j(e.instance.modifiers, "inner")) return e; 1762 if (e.flipped && e.placement === e.originalPlacement) return e; 1763 var o = _( 1764 e.instance.popper, 1765 e.instance.reference, 1766 t.padding, 1767 t.boundariesElement, 1768 e.positionFixed 1769 ), 1770 i = e.placement.split("-")[0], 1771 n = B(i), 1772 r = e.placement.split("-")[1] || "", 1773 s = []; 1774 switch (t.behavior) { 1775 case ct.FLIP: 1776 s = [i, n]; 1777 break; 1778 case ct.CLOCKWISE: 1779 s = re(i); 1780 break; 1781 case ct.COUNTERCLOCKWISE: 1782 s = re(i, !0); 1783 break; 1784 default: 1785 s = t.behavior; 1786 } 1787 return (
1788 s.forEach(function (a, p) { 1789 if (i !== a || s.length === p + 1) return e; 1790 (i = e.placement.split("-")[0]), (n = B(i)); 1791 var l = e.offsets.popper, 1792 d = e.offsets.reference, 1793 c = Fe, 1794 f = 1795 ("left" === i && c(l.right) > c(d.left)) || 1796 ("right" === i && c(l.left) < c(d.right)) || 1797 ("top" === i && c(l.bottom) > c(d.top)) || 1798 ("bottom" === i && c(l.top) < c(d.bottom)), 1799 m = c(l.left) < c(o.left), 1800 u = c(l.right) > c(o.right), 1801 h = c(l.top) < c(o.top), 1802 g = c(l.bottom) > c(o.bottom), 1803 b = 1804 ("left" === i && m) || 1805 ("right" === i && u) || 1806 ("top" === i && h) || 1807 ("bottom" === i && g), 1808 y = -1 !== ["top", "bottom"].indexOf(i), 1809 v = 1810 !!t.flipVariations && 1811 ((y && "start" === r && m) || 1812 (y && "end" === r && u) || 1813 (!y && "start" === r && h) || 1814 (!y && "end" === r && g)); 1815 (f || b || v) && 1816 ((e.flipped = !0), 1817 (f || b) && (i = s[p + 1]), 1818 v && (r = ne(r)), 1819 (e.placement = i + (r ? "-" + r : "")), 1820 (e.offsets.popper = pt( 1821 {}, 1822 e.offsets.popper, 1823 U(e.instance.popper, e.offsets.reference, e.placement) 1824 )), 1825 (e = q(e.instance.modifiers, e, "flip"))); 1826 }), 1827 e 1828 ); 1829 }, 1830 behavior: "flip", 1831 padding: 5, 1832 boundariesElement: "viewport", 1833 }, 1834 inner: { 1835 order: 700, 1836 enabled: !1, 1837 fn: function (e) { 1838 var t = e.placement, 1839 o = t.split("-")[0], 1840 i = e.offsets, 1841 n = i.popper, 1842 r = i.reference, 1843 s = -1 !== ["left", "right"].indexOf(o), 1844 a = -1 === ["top", "left"].indexOf(o); 1845 return ( 1846 (n[s ? "left" : "top"] = 1847 r[o] - (a ? n[s ? "width" : "height"] : 0)), 1848 (e.placement = B(t)), 1849 (e.offsets.popper = k(n)), 1850 e 1851 ); 1852 }, 1853 }, 1854 hide: { 1855 order: 800, 1856 enabled: !0, 1857 fn: function (e) { 1858 if (!ie(e.instance.modifiers, "hide", "preventOverflow")) return e; 1859 var t = e.offsets.reference, 1860 o = F(e.instance.modifiers, function (e) { 1861 return "preventOverflow" === e.name; 1862 }).boundaries; 1863 if ( 1864 t.bottom < o.top || 1865 t.left > o.right || 1866 t.top > o.bottom || 1867 t.right < o.left 1868 ) { 1869 if (!0 === e.hide) return e; 1870 (e.hide = !0), (e.attributes["x-out-of-boundaries"] = ""); 1871 } else { 1872 if (!1 === e.hide) return e; 1873 (e.hide = !1), (e.attributes["x-out-of-boundaries"] = !1); 1874 } 1875 return e; 1876 }, 1877 }, 1878 computeStyle: { 1879 order: 850, 1880 enabled: !0, 1881 fn: function (e, t) { 1882 var o = t.x, 1883 i = t.y, 1884 n = e.offsets.popper, 1885 r = F(e.instance.modifiers, function (e) { 1886 return "applyStyle" === e.name; 1887 }).gpuAcceleration; 1888 void 0 !== r && 1889 console.warn( 1890 "WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!" 1891 ); 1892 var s = void 0 === r ? t.gpuAcceleration : r, 1893 a = v(e.instance.popper), 1894 p = S(a), 1895 l = { position: n.position }, 1896 d = { 1897 left: Fe(n.left), 1898 top: Ue(n.top), 1899 bottom: Ue(n.bottom), 1900 right: Fe(n.right), 1901 }, 1902 c = "bottom" === o ? "top" : "bottom", 1903 f = "right" === i ? "left" : "right", 1904 m = X("transform"), 1905 u = void 0, 1906 h = void 0; 1907 if ( 1908 ((h = "bottom" == c ? -p.height + d.bottom : d.top), 1909 (u = "right" == f ? -p.width + d.right : d.left), 1910 s && m) 1911 ) 1912 (l[m] = "translate3d(" + u + "px, " + h + "px, 0)"), 1913 (l[c] = 0), 1914 (l[f] = 0), 1915 (l.willChange = "transform"); 1916 else { 1917 var g = "bottom" == c ? -1 : 1, 1918 b = "right" == f ? -1 : 1; 1919 (l[c] = h * g), (l[f] = u * b), (l.willChange = c + ", " + f); 1920 } 1921 var y = { "x-placement": e.placement }; 1922 return ( 1923 (e.attributes = pt({}, y, e.attributes)), 1924 (e.styles = pt({}, l, e.styles)), 1925 (e.arrowStyles = pt({}, e.offsets.arrow, e.arrowStyles)), 1926 e 1927 ); 1928 }, 1929 gpuAcceleration: !0, 1930 x: "bottom", 1931 y: "right", 1932 }, 1933 applyStyle: { 1934 order: 900, 1935 enabled: !0, 1936 fn: function (e) { 1937 return ( 1938 te(e.instance.popper, e.styles), 1939 oe(e.instance.popper, e.attributes), 1940 e.arrowElement && 1941 Object.keys(e.arrowStyles).length && 1942 te(e.arrowElement, e.arrowStyles), 1943 e 1944 ); 1945 }, 1946 onLoad: function (e, t, o, i, n) { 1947 var r = M(n, t, e, o.positionFixed), 1948 s = N( 1949 o.placement, 1950 r, 1951 t, 1952 e, 1953 o.modifiers.flip.boundariesElement, 1954 o.modifiers.flip.padding 1955 ); 1956 return ( 1957 t.setAttribute("x-placement", s), 1958 te(t, { position: o.positionFixed ? "fixed" : "absolute" }), 1959 o 1960 ); 1961 }, 1962 gpuAcceleration: void 0, 1963 }, 1964 }, 1965 }); 1966 var mt = {}; 1967 if (qe) { 1968 var ut = Element.prototype; 1969 mt = 1970 ut.matches || 1971 ut.matchesSelector || 1972 ut.webkitMatchesSelector || 1973 ut.mozMatchesSelector || 1974 ut.msMatchesSelector || 1975 function (e) { 1976 for ( 1977 var t = (this.document || this.ownerDocument).querySelectorAll(e), 1978 o = t.length; 1979 0 <= --o && t.item(o) !== this; 1980 1981 ); 1982 return -1 < o; 1983 }; 1984 } 1985 var e = mt, 1986 ht = {}, 1987 gt = function (e) { 1988 return function (t) { 1989 return t === ht && e; 1990 }; 1991 }, 1992 bt = (function () { 1993 function e(t) { 1994 for (var o in (Ge(this, e), t)) this[o] = t[o]; 1995 (this.state = { destroyed: !1, visible: !1, enabled: !0 }), 1996 (this._ = gt({ mutationObservers: [] })); 1997 } 1998 return ( 1999 Qe(e, [ 2000 { 2001 key: "enable", 2002 value: function () { 2003 this.state.enabled = !0; 2004 }, 2005 }, 2006 { 2007 key: "disable", 2008 value: function () { 2009 this.state.enabled = !1; 2010 }, 2011 }, 2012 { 2013 key: "show", 2014 value: function (e) { 2015 var t = this; 2016 if (!this.state.destroyed && this.state.enabled) { 2017 var o = this.popper, 2018 i = this.reference, 2019 n = this.options, 2020 r = f(o), 2021 a = r.tooltip, 2022 p = r.backdrop, 2023 l = r.content; 2024 return (n.dynamicTitle && 2025 !i.getAttribute("data-original-title")) || 2026 i.hasAttribute("disabled") 2027 ? void 0 2028 : i.refObj || document.documentElement.contains(i) 2029 ? void (n.onShow.call(o, this), 2030 (e = ve(void 0 === e ? n.duration : e, 0)), 2031 Ee([o, a, p], 0), 2032 (o.style.visibility = "visible"), 2033 (this.state.visible = !0), 2034 Se.call(this, function () { 2035 if (t.state.visible) { 2036 if ( 2037 (Le.call(t) || t.popperInstance.scheduleUpdate(), 2038 Le.call(t)) 2039 ) { 2040 t.popperInstance.disableEventListeners(); 2041 var r = ve(n.delay, 0), 2042 d = t._(ht).lastTriggerEvent; 2043 d && 2044 t 2045 ._(ht) 2046 .followCursorListener( 2047 r && t._(ht).lastMouseMoveEvent 2048 ? t._(ht).lastMouseMoveEvent 2049 : d 2050 ); 2051 } 2052 Ee([a, p, p ? l : null], e), 2053 p && getComputedStyle(p)[s("transform")], 2054 n.interactive && i.classList.add("tippy-active"), 2055 n.sticky && De.call(t), 2056 we([a, p], "visible"), 2057 _e.call(t, e, function () { 2058 n.updateDuration || 2059 a.classList.add("tippy-notransition"), 2060 n.interactive && Te(o), 2061 i.setAttribute( 2062 "aria-describedby", 2063 "tippy-" + t.id 2064 ), 2065 n.onShown.call(o, t); 2066 }); 2067 } 2068 })) 2069 : void this.destroy(); 2070 } 2071 }, 2072 }, 2073 { 2074 key: "hide", 2075 value: function (e) { 2076 var t = this; 2077 if (!this.state.destroyed && this.state.enabled) { 2078 var o = this.popper, 2079 i = this.reference, 2080 n = this.options, 2081 r = f(o), 2082 s = r.tooltip, 2083 a = r.backdrop, 2084 p = r.content; 2085 n.onHide.call(o, this), 2086 (e = ve(void 0 === e ? n.duration : e, 1)), 2087 n.updateDuration || s.classList.remove("tippy-notransition"), 2088 n.interactive && i.classList.remove("tippy-active"), 2089 (o.style.visibility = "hidden"), 2090 (this.state.visible = !1), 2091 Ee([s, a, a ? p : null], e), 2092 we([s, a], "hidden"), 2093 n.interactive && -1 < n.trigger.indexOf("click") && Te(i), 2094 be(function () { 2095 _e.call(t, e, function () { 2096 t.state.visible || 2097 !n.appendTo.contains(o) || 2098 (!t._(ht).isPreparingToShow && 2099 (document.removeEventListener( 2100 "mousemove", 2101 t._(ht).followCursorListener 2102 ), 2103 (t._(ht).lastMouseMoveEvent = null)), 2104 t.popperInstance && 2105 t.popperInstance.disableEventListeners(), 2106 i.removeAttribute("aria-describedby"), 2107 n.appendTo.removeChild(o), 2108 n.onHidden.call(o, t)); 2109 }); 2110 }); 2111 } 2112 }, 2113 }, 2114 {
2115 key: "destroy", 2116 value: function () { 2117 var e = this, 2118 t = 2119 !(0 < arguments.length && void 0 !== arguments[0]) || 2120 arguments[0]; 2121 if (!this.state.destroyed) { 2122 this.state.visible && this.hide(0), 2123 this.listeners.forEach(function (t) { 2124 e.reference.removeEventListener(t.event, t.handler); 2125 }), 2126 this.title && 2127 this.reference.setAttribute("title", this.title), 2128 delete this.reference._tippy; 2129 [ 2130 "data-original-title", 2131 "data-tippy", 2132 "data-tippy-delegate", 2133 ].forEach(function (t) { 2134 e.reference.removeAttribute(t); 2135 }), 2136 this.options.target && 2137 t && 2138 o( 2139 this.reference.querySelectorAll(this.options.target) 2140 ).forEach(function (e) { 2141 return e._tippy && e._tippy.destroy(); 2142 }), 2143 this.popperInstance && this.popperInstance.destroy(), 2144 this._(ht).mutationObservers.forEach(function (e) { 2145 e.disconnect(); 2146 }), 2147 (this.state.destroyed = !0); 2148 } 2149 }, 2150 }, 2151 ]), 2152 e 2153 ); 2154 })(), 2155 yt = 1, 2156 vt = !1; 2157 return ( 2158 (We.version = "2.5.4"), 2159 (We.browser = je), 2160 (We.defaults = Ke), 2161 (We.one = function (e, t) { 2162 return We(e, t, !0).tooltips[0]; 2163 }), 2164 (We.disableAnimations = function () { 2165 (Ke.updateDuration = Ke.duration = 0), (Ke.animateFill = !1); 2166 }), 2167 We 2168 ); 2169 }); 2170
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.