1/*! 2 * Bootstrap v4.0.0 (https://getbootstrap.com) 3 * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 4 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 */ 6!(function (t, e) { 7 "object" == typeof exports && "undefined" != typeof module 8 ? e(exports, require("jquery"), require("popper.js")) 9 : "function" == typeof define && define.amd 10 ? define(["exports", "jquery", "popper.js"], e) 11 : e((t.bootstrap = {}), t.jQuery, t.Popper); 12})(this, function (t, e, n) { 13 "use strict"; 14 function i(t, e) { 15 for (var n = 0; n < e.length; n++) { 16 var i = e[n]; 17 (i.enumerable = i.enumerable || !1), 18 (i.configurable = !0), 19 "value" in i && (i.writable = !0), 20 Object.defineProperty(t, i.key, i); 21 } 22 } 23 function s(t, e, n) { 24 return e && i(t.prototype, e), n && i(t, n), t; 25 } 26 function r() { 27 return (r = 28 Object.assign || 29 function (t) { 30 for (var e = 1; e < arguments.length; e++) { 31 var n = arguments[e]; 32 for (var i in n) 33 Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]); 34 } 35 return t; 36 }).apply(this, arguments); 37 } 38 (e = e && e.hasOwnProperty("default") ? e.default : e), 39 (n = n && n.hasOwnProperty("default") ? n.default : n); 40 var o, 41 a, 42 l, 43 h, 44 c, 45 u, 46 f, 47 d, 48 _, 49 g, 50 p, 51 m, 52 v, 53 E, 54 T, 55 y, 56 C, 57 I, 58 A, 59 b, 60 D, 61 S, 62 w, 63 N, 64 O, 65 k, 66 P = (function (t) { 67 var e = !1; 68 function n(e) { 69 var n = this, 70 s = !1; 71 return ( 72 t(this).one(i.TRANSITION_END, function () { 73 s = !0; 74 }), 75 setTimeout(function () { 76 s || i.triggerTransitionEnd(n); 77 }, e), 78 this 79 ); 80 } 81 var i = { 82 TRANSITION_END: "bsTransitionEnd", 83 getUID: function (t) { 84 do { 85 t += ~~(1e6 * Math.random()); 86 } while (document.getElementById(t)); 87 return t; 88 }, 89 getSelectorFromElement: function (e) { 90 var n, 91 i = e.getAttribute("data-target"); 92 (i && "#" !== i) || (i = e.getAttribute("href") || ""), 93 "#" === i.charAt(0) && 94 ((n = i), 95 (i = n = 96 "function" == typeof t.escapeSelector 97 ? t.escapeSelector(n).substr(1) 98 : n.replace(/(:|\.|\[|\]|,|=|@)/g, "\\$1"))); 99 try { 100 return t(document).find(i).length > 0 ? i : null; 101 } catch (t) { 102 return null; 103 } 104 }, 105 reflow: function (t) { 106 return t.offsetHeight; 107 }, 108 triggerTransitionEnd: function (n) { 109 t(n).trigger(e.end); 110 }, 111 supportsTransitionEnd: function () { 112 return Boolean(e); 113 }, 114 isElement: function (t) { 115 return (t[0] || t).nodeType; 116 }, 117 typeCheckConfig: function (t, e, n) { 118 for (var s in n) 119 if (Object.prototype.hasOwnProperty.call(n, s)) { 120 var r = n[s], 121 o = e[s], 122 a = 123 o && i.isElement(o) 124 ? "element" 125 : ((l = o), 126 {}.toString 127 .call(l) 128 .match(/\s([a-zA-Z]+)/)[1] 129 .toLowerCase()); 130 if (!new RegExp(r).test(a)) 131 throw new Error( 132 t.toUpperCase() + 133 ': Option "' + 134 s + 135 '" provided type "' + 136 a + 137 '" but expected type "' + 138 r + 139 '".' 140 ); 141 } 142 var l; 143 }, 144 }; 145 return ( 146 (e = ("undefined" == typeof window || !window.QUnit) && { 147 end: "transitionend", 148 }), 149 (t.fn.emulateTransitionEnd = n), 150 i.supportsTransitionEnd() && 151 (t.event.special[i.TRANSITION_END] = { 152 bindType: e.end, 153 delegateType: e.end, 154 handle: function (e) { 155 if (t(e.target).is(this)) 156 return e.handleObj.handler.apply(this, arguments); 157 }, 158 }), 159 i 160 ); 161 })(e), 162 L = 163 ((a = "alert"), 164 (h = "." + (l = "bs.alert")), 165 (c = (o = e).fn[a]), 166 (u = { 167 CLOSE: "close" + h, 168 CLOSED: "closed" + h, 169 CLICK_DATA_API: "click" + h + ".data-api", 170 }), 171 (f = "alert"), 172 (d = "fade"), 173 (_ = "show"), 174 (g = (function () { 175 function t(t) { 176 this._element = t; 177 } 178 var e = t.prototype; 179 return ( 180 (e.close = function (t) { 181 t = t || this._element; 182 var e = this._getRootElement(t); 183 this._triggerCloseEvent(e).isDefaultPrevented() || 184 this._removeElement(e); 185 }),
186 (e.dispose = function () { 187 o.removeData(this._element, l), (this._element = null); 188 }), 189 (e._getRootElement = function (t) { 190 var e = P.getSelectorFromElement(t), 191 n = !1; 192 return e && (n = o(e)[0]), n || (n = o(t).closest("." + f)[0]), n; 193 }), 194 (e._triggerCloseEvent = function (t) { 195 var e = o.Event(u.CLOSE); 196 return o(t).trigger(e), e; 197 }), 198 (e._removeElement = function (t) { 199 var e = this; 200 o(t).removeClass(_), 201 P.supportsTransitionEnd() && o(t).hasClass(d) 202 ? o(t) 203 .one(P.TRANSITION_END, function (n) { 204 return e._destroyElement(t, n); 205 }) 206 .emulateTransitionEnd(150) 207 : this._destroyElement(t); 208 }), 209 (e._destroyElement = function (t) { 210 o(t).detach().trigger(u.CLOSED).remove(); 211 }), 212 (t._jQueryInterface = function (e) { 213 return this.each(function () { 214 var n = o(this), 215 i = n.data(l); 216 i || ((i = new t(this)), n.data(l, i)), 217 "close" === e && i[e](this); 218 }); 219 }), 220 (t._handleDismiss = function (t) { 221 return function (e) { 222 e && e.preventDefault(), t.close(this); 223 }; 224 }), 225 s(t, null, [ 226 { 227 key: "VERSION", 228 get: function () { 229 return "4.0.0"; 230 }, 231 }, 232 ]), 233 t 234 ); 235 })()), 236 o(document).on( 237 u.CLICK_DATA_API, 238 '[data-dismiss="alert"]', 239 g._handleDismiss(new g()) 240 ), 241 (o.fn[a] = g._jQueryInterface), 242 (o.fn[a].Constructor = g), 243 (o.fn[a].noConflict = function () { 244 return (o.fn[a] = c), g._jQueryInterface; 245 }), 246 g), 247 R = 248 ((m = "button"), 249 (E = "." + (v = "bs.button")), 250 (T = ".data-api"), 251 (y = (p = e).fn[m]), 252 (C = "active"), 253 (I = "btn"), 254 (A = "focus"), 255 (b = '[data-toggle^="button"]'), 256 (D = '[data-toggle="buttons"]'), 257 (S = "input"), 258 (w = ".active"), 259 (N = ".btn"), 260 (O = { 261 CLICK_DATA_API: "click" + E + T, 262 FOCUS_BLUR_DATA_API: "focus" + E + T + " blur" + E + T, 263 }), 264 (k = (function () { 265 function t(t) { 266 this._element = t; 267 } 268 var e = t.prototype; 269 return ( 270 (e.toggle = function () { 271 var t = !0, 272 e = !0, 273 n = p(this._element).closest(D)[0]; 274 if (n) { 275 var i = p(this._element).find(S)[0]; 276 if (i) { 277 if ("radio" === i.type) 278 if (i.checked && p(this._element).hasClass(C)) t = !1; 279 else { 280 var s = p(n).find(w)[0]; 281 s && p(s).removeClass(C); 282 } 283 if (t) { 284 if ( 285 i.hasAttribute("disabled") || 286 n.hasAttribute("disabled") || 287 i.classList.contains("disabled") || 288 n.classList.contains("disabled") 289 ) 290 return; 291 (i.checked = !p(this._element).hasClass(C)), 292 p(i).trigger("change"); 293 } 294 i.focus(), (e = !1); 295 } 296 } 297 e && 298 this._element.setAttribute( 299 "aria-pressed", 300 !p(this._element).hasClass(C) 301 ), 302 t && p(this._element).toggleClass(C); 303 }), 304 (e.dispose = function () { 305 p.removeData(this._element, v), (this._element = null); 306 }), 307 (t._jQueryInterface = function (e) { 308 return this.each(function () { 309 var n = p(this).data(v); 310 n || ((n = new t(this)), p(this).data(v, n)), 311 "toggle" === e && n[e](); 312 }); 313 }), 314 s(t, null, [ 315 { 316 key: "VERSION", 317 get: function () { 318 return "4.0.0"; 319 }, 320 }, 321 ]), 322 t 323 ); 324 })()), 325 p(document) 326 .on(O.CLICK_DATA_API, b, function (t) { 327 t.preventDefault(); 328 var e = t.target; 329 p(e).hasClass(I) || (e = p(e).closest(N)), 330 k._jQueryInterface.call(p(e), "toggle"); 331 }) 332 .on(O.FOCUS_BLUR_DATA_API, b, function (t) { 333 var e = p(t.target).closest(N)[0]; 334 p(e).toggleClass(A, /^focus(in)?$/.test(t.type)); 335 }), 336 (p.fn[m] = k._jQueryInterface), 337 (p.fn[m].Constructor = k), 338 (p.fn[m].noConflict = function () {
339 return (p.fn[m] = y), k._jQueryInterface; 340 }), 341 k), 342 j = (function (t) { 343 var e = "carousel", 344 n = "bs.carousel", 345 i = "." + n, 346 o = t.fn[e], 347 a = { 348 interval: 5e3, 349 keyboard: !0, 350 slide: !1, 351 pause: "hover", 352 wrap: !0, 353 }, 354 l = { 355 interval: "(number|boolean)", 356 keyboard: "boolean", 357 slide: "(boolean|string)", 358 pause: "(string|boolean)", 359 wrap: "boolean", 360 }, 361 h = "next", 362 c = "prev", 363 u = "left", 364 f = "right", 365 d = { 366 SLIDE: "slide" + i, 367 SLID: "slid" + i, 368 KEYDOWN: "keydown" + i, 369 MOUSEENTER: "mouseenter" + i, 370 MOUSELEAVE: "mouseleave" + i, 371 TOUCHEND: "touchend" + i, 372 LOAD_DATA_API: "load" + i + ".data-api", 373 CLICK_DATA_API: "click" + i + ".data-api", 374 }, 375 _ = "carousel", 376 g = "active", 377 p = "slide", 378 m = "carousel-item-right", 379 v = "carousel-item-left", 380 E = "carousel-item-next", 381 T = "carousel-item-prev", 382 y = { 383 ACTIVE: ".active", 384 ACTIVE_ITEM: ".active.carousel-item", 385 ITEM: ".carousel-item", 386 NEXT_PREV: ".carousel-item-next, .carousel-item-prev", 387 INDICATORS: ".carousel-indicators", 388 DATA_SLIDE: "[data-slide], [data-slide-to]", 389 DATA_RIDE: '[data-ride="carousel"]', 390 }, 391 C = (function () { 392 function o(e, n) { 393 (this._items = null), 394 (this._interval = null), 395 (this._activeElement = null), 396 (this._isPaused = !1), 397 (this._isSliding = !1), 398 (this.touchTimeout = null), 399 (this._config = this._getConfig(n)), 400 (this._element = t(e)[0]), 401 (this._indicatorsElement = t(this._element).find( 402 y.INDICATORS 403 )[0]), 404 this._addEventListeners(); 405 } 406 var C = o.prototype; 407 return ( 408 (C.next = function () { 409 this._isSliding || this._slide(h); 410 }), 411 (C.nextWhenVisible = function () { 412 !document.hidden && 413 t(this._element).is(":visible") && 414 "hidden" !== t(this._element).css("visibility") && 415 this.next(); 416 }), 417 (C.prev = function () { 418 this._isSliding || this._slide(c); 419 }), 420 (C.pause = function (e) { 421 e || (this._isPaused = !0), 422 t(this._element).find(y.NEXT_PREV)[0] && 423 P.supportsTransitionEnd() && 424 (P.triggerTransitionEnd(this._element), this.cycle(!0)), 425 clearInterval(this._interval), 426 (this._interval = null); 427 }), 428 (C.cycle = function (t) { 429 t || (this._isPaused = !1), 430 this._interval && 431 (clearInterval(this._interval), (this._interval = null)), 432 this._config.interval && 433 !this._isPaused && 434 (this._interval = setInterval( 435 (document.visibilityState 436 ? this.nextWhenVisible 437 : this.next 438 ).bind(this), 439 this._config.interval 440 )); 441 }), 442 (C.to = function (e) { 443 var n = this; 444 this._activeElement = t(this._element).find(y.ACTIVE_ITEM)[0]; 445 var i = this._getItemIndex(this._activeElement); 446 if (!(e > this._items.length - 1 || e < 0)) 447 if (this._isSliding) 448 t(this._element).one(d.SLID, function () { 449 return n.to(e); 450 }); 451 else { 452 if (i === e) return this.pause(), void this.cycle(); 453 var s = e > i ? h : c; 454 this._slide(s, this._items[e]); 455 } 456 }), 457 (C.dispose = function () { 458 t(this._element).off(i), 459 t.removeData(this._element, n), 460 (this._items = null), 461 (this._config = null), 462 (this._element = null), 463 (this._interval = null), 464 (this._isPaused = null), 465 (this._isSliding = null), 466 (this._activeElement = null), 467 (this._indicatorsElement = null); 468 }), 469 (C._getConfig = function (t) { 470 return (t = r({}, a, t)), P.typeCheckConfig(e, t, l), t; 471 }), 472 (C._addEventListeners = function () { 473 var e = this; 474 this._config.keyboard && 475 t(this._element).on(d.KEYDOWN, function (t) { 476 return e._keydown(t); 477 }), 478 "hover" === this._config.pause && 479 (t(this._element) 480 .on(d.MOUSEENTER, function (t) { 481 return e.pause(t); 482 }) 483 .on(d.MOUSELEAVE, function (t) { 484 return e.cycle(t); 485 }), 486 "ontouchstart" in document.documentElement && 487 t(this._element).on(d.TOUCHEND, function () { 488 e.pause(), 489 e.touchTimeout && clearTimeout(e.touchTimeout), 490 (e.touchTimeout = setTimeout(function (t) { 491 return e.cycle(t); 492 }, 500 + e._config.interval)); 493 })); 494 }), 495 (C._keydown = function (t) { 496 if (!/input|textarea/i.test(t.target.tagName)) 497 switch (t.which) { 498 case 37: 499 t.preventDefault(), this.prev(); 500 break; 501 case 39: 502 t.preventDefault(), this.next(); 503 } 504 }), 505 (C._getItemIndex = function (e) { 506 return ( 507 (this._items = t.makeArray(t(e).parent().find(y.ITEM))), 508 this._items.indexOf(e) 509 ); 510 }), 511 (C._getItemByDirection = function (t, e) { 512 var n = t === h, 513 i = t === c, 514 s = this._getItemIndex(e), 515 r = this._items.length - 1; 516 if (((i && 0 === s) || (n && s === r)) && !this._config.wrap) 517 return e; 518 var o = (s + (t === c ? -1 : 1)) % this._items.length; 519 return -1 === o 520 ? this._items[this._items.length - 1] 521 : this._items[o]; 522 }), 523 (C._triggerSlideEvent = function (e, n) { 524 var i = this._getItemIndex(e), 525 s = this._getItemIndex(t(this._element).find(y.ACTIVE_ITEM)[0]), 526 r = t.Event(d.SLIDE, { 527 relatedTarget: e, 528 direction: n, 529 from: s, 530 to: i, 531 }); 532 return t(this._element).trigger(r), r; 533 }), 534 (C._setActiveIndicatorElement = function (e) { 535 if (this._indicatorsElement) { 536 t(this._indicatorsElement).find(y.ACTIVE).removeClass(g); 537 var n = this._indicatorsElement.children[this._getItemIndex(e)]; 538 n && t(n).addClass(g); 539 } 540 }), 541 (C._slide = function (e, n) { 542 var i, 543 s, 544 r, 545 o = this, 546 a = t(this._element).find(y.ACTIVE_ITEM)[0], 547 l = this._getItemIndex(a), 548 c = n || (a && this._getItemByDirection(e, a)), 549 _ = this._getItemIndex(c), 550 C = Boolean(this._interval); 551 if ( 552 (e === h 553 ? ((i = v), (s = E), (r = u)) 554 : ((i = m), (s = T), (r = f)), 555 c && t(c).hasClass(g)) 556 ) 557 this._isSliding = !1; 558 else if ( 559 !this._triggerSlideEvent(c, r).isDefaultPrevented() && 560 a && 561 c 562 ) { 563 (this._isSliding = !0), 564 C && this.pause(), 565 this._setActiveIndicatorElement(c); 566 var I = t.Event(d.SLID, { 567 relatedTarget: c, 568 direction: r, 569 from: l, 570 to: _, 571 }); 572 P.supportsTransitionEnd() && t(this._element).hasClass(p) 573 ? (t(c).addClass(s), 574 P.reflow(c), 575 t(a).addClass(i), 576 t(c).addClass(i), 577 t(a) 578 .one(P.TRANSITION_END, function () { 579 t(c) 580 .removeClass(i + " " + s) 581 .addClass(g), 582 t(a).removeClass(g + " " + s + " " + i),
583 (o._isSliding = !1), 584 setTimeout(function () { 585 return t(o._element).trigger(I); 586 }, 0); 587 }) 588 .emulateTransitionEnd(600)) 589 : (t(a).removeClass(g), 590 t(c).addClass(g), 591 (this._isSliding = !1), 592 t(this._element).trigger(I)), 593 C && this.cycle(); 594 } 595 }), 596 (o._jQueryInterface = function (e) { 597 return this.each(function () { 598 var i = t(this).data(n), 599 s = r({}, a, t(this).data()); 600 "object" == typeof e && (s = r({}, s, e)); 601 var l = "string" == typeof e ? e : s.slide; 602 if ( 603 (i || ((i = new o(this, s)), t(this).data(n, i)), 604 "number" == typeof e) 605 ) 606 i.to(e); 607 else if ("string" == typeof l) { 608 if ("undefined" == typeof i[l]) 609 throw new TypeError('No method named "' + l + '"'); 610 i[l](); 611 } else s.interval && (i.pause(), i.cycle()); 612 }); 613 }), 614 (o._dataApiClickHandler = function (e) { 615 var i = P.getSelectorFromElement(this); 616 if (i) { 617 var s = t(i)[0]; 618 if (s && t(s).hasClass(_)) { 619 var a = r({}, t(s).data(), t(this).data()), 620 l = this.getAttribute("data-slide-to"); 621 l && (a.interval = !1), 622 o._jQueryInterface.call(t(s), a), 623 l && t(s).data(n).to(l), 624 e.preventDefault(); 625 } 626 } 627 }), 628 s(o, null, [ 629 { 630 key: "VERSION", 631 get: function () { 632 return "4.0.0"; 633 }, 634 }, 635 { 636 key: "Default", 637 get: function () { 638 return a; 639 }, 640 }, 641 ]), 642 o 643 ); 644 })(); 645 return ( 646 t(document).on(d.CLICK_DATA_API, y.DATA_SLIDE, C._dataApiClickHandler), 647 t(window).on(d.LOAD_DATA_API, function () { 648 t(y.DATA_RIDE).each(function () { 649 var e = t(this); 650 C._jQueryInterface.call(e, e.data()); 651 }); 652 }), 653 (t.fn[e] = C._jQueryInterface), 654 (t.fn[e].Constructor = C), 655 (t.fn[e].noConflict = function () { 656 return (t.fn[e] = o), C._jQueryInterface; 657 }), 658 C 659 ); 660 })(e), 661 H = (function (t) { 662 var e = "collapse", 663 n = "bs.collapse", 664 i = "." + n, 665 o = t.fn[e], 666 a = { toggle: !0, parent: "" }, 667 l = { toggle: "boolean", parent: "(string|element)" }, 668 h = { 669 SHOW: "show" + i, 670 SHOWN: "shown" + i, 671 HIDE: "hide" + i, 672 HIDDEN: "hidden" + i, 673 CLICK_DATA_API: "click" + i + ".data-api", 674 }, 675 c = "show", 676 u = "collapse", 677 f = "collapsing", 678 d = "collapsed", 679 _ = "width", 680 g = "height", 681 p = { 682 ACTIVES: ".show, .collapsing", 683 DATA_TOGGLE: '[data-toggle="collapse"]', 684 }, 685 m = (function () { 686 function i(e, n) { 687 (this._isTransitioning = !1), 688 (this._element = e), 689 (this._config = this._getConfig(n)), 690 (this._triggerArray = t.makeArray( 691 t( 692 '[data-toggle="collapse"][href="#' + 693 e.id + 694 '"],[data-toggle="collapse"][data-target="#' + 695 e.id + 696 '"]' 697 ) 698 )); 699 for (var i = t(p.DATA_TOGGLE), s = 0; s < i.length; s++) { 700 var r = i[s], 701 o = P.getSelectorFromElement(r); 702 null !== o && 703 t(o).filter(e).length > 0 && 704 ((this._selector = o), this._triggerArray.push(r)); 705 } 706 (this._parent = this._config.parent ? this._getParent() : null), 707 this._config.parent || 708 this._addAriaAndCollapsedClass( 709 this._element, 710 this._triggerArray 711 ), 712 this._config.toggle && this.toggle(); 713 } 714 var o = i.prototype; 715 return ( 716 (o.toggle = function () { 717 t(this._element).hasClass(c) ? this.hide() : this.show(); 718 }), 719 (o.show = function () { 720 var e, 721 s, 722 r = this; 723 if ( 724 !this._isTransitioning && 725 !t(this._element).hasClass(c) && 726 (this._parent && 727 0 === 728 (e = t.makeArray( 729 t(this._parent) 730 .find(p.ACTIVES) 731 .filter('[data-parent="' + this._config.parent + '"]') 732 )).length && 733 (e = null), 734 !( 735 e && 736 (s = t(e).not(this._selector).data(n)) && 737 s._isTransitioning 738 )) 739 ) { 740 var o = t.Event(h.SHOW); 741 if ((t(this._element).trigger(o), !o.isDefaultPrevented())) { 742 e && 743 (i._jQueryInterface.call(t(e).not(this._selector), "hide"), 744 s || t(e).data(n, null)); 745 var a = this._getDimension(); 746 t(this._element).removeClass(u).addClass(f), 747 (this._element.style[a] = 0), 748 this._triggerArray.length > 0 && 749 t(this._triggerArray) 750 .removeClass(d) 751 .attr("aria-expanded", !0), 752 this.setTransitioning(!0); 753 var l = function () { 754 t(r._element).removeClass(f).addClass(u).addClass(c), 755 (r._element.style[a] = ""), 756 r.setTransitioning(!1), 757 t(r._element).trigger(h.SHOWN); 758 };
759 if (P.supportsTransitionEnd()) { 760 var _ = "scroll" + (a[0].toUpperCase() + a.slice(1)); 761 t(this._element) 762 .one(P.TRANSITION_END, l) 763 .emulateTransitionEnd(600), 764 (this._element.style[a] = this._element[_] + "px"); 765 } else l(); 766 } 767 } 768 }), 769 (o.hide = function () { 770 var e = this; 771 if (!this._isTransitioning && t(this._element).hasClass(c)) { 772 var n = t.Event(h.HIDE); 773 if ((t(this._element).trigger(n), !n.isDefaultPrevented())) { 774 var i = this._getDimension(); 775 if ( 776 ((this._element.style[i] = 777 this._element.getBoundingClientRect()[i] + "px"), 778 P.reflow(this._element), 779 t(this._element).addClass(f).removeClass(u).removeClass(c), 780 this._triggerArray.length > 0) 781 ) 782 for (var s = 0; s < this._triggerArray.length; s++) { 783 var r = this._triggerArray[s], 784 o = P.getSelectorFromElement(r); 785 if (null !== o) 786 t(o).hasClass(c) || 787 t(r).addClass(d).attr("aria-expanded", !1); 788 } 789 this.setTransitioning(!0); 790 var a = function () { 791 e.setTransitioning(!1), 792 t(e._element) 793 .removeClass(f) 794 .addClass(u) 795 .trigger(h.HIDDEN); 796 }; 797 (this._element.style[i] = ""), 798 P.supportsTransitionEnd() 799 ? t(this._element) 800 .one(P.TRANSITION_END, a) 801 .emulateTransitionEnd(600) 802 : a(); 803 } 804 } 805 }), 806 (o.setTransitioning = function (t) { 807 this._isTransitioning = t; 808 }), 809 (o.dispose = function () { 810 t.removeData(this._element, n), 811 (this._config = null), 812 (this._parent = null), 813 (this._element = null), 814 (this._triggerArray = null), 815 (this._isTransitioning = null); 816 }), 817 (o._getConfig = function (t) { 818 return ( 819 ((t = r({}, a, t)).toggle = Boolean(t.toggle)), 820 P.typeCheckConfig(e, t, l), 821 t 822 ); 823 }), 824 (o._getDimension = function () { 825 return t(this._element).hasClass(_) ? _ : g; 826 }), 827 (o._getParent = function () { 828 var e = this, 829 n = null; 830 P.isElement(this._config.parent) 831 ? ((n = this._config.parent), 832 "undefined" != typeof this._config.parent.jquery && 833 (n = this._config.parent[0])) 834 : (n = t(this._config.parent)[0]); 835 var s = 836 '[data-toggle="collapse"][data-parent="' + 837 this._config.parent + 838 '"]'; 839 return ( 840 t(n) 841 .find(s) 842 .each(function (t, n) { 843 e._addAriaAndCollapsedClass(i._getTargetFromElement(n), [ 844 n, 845 ]); 846 }), 847 n 848 ); 849 }), 850 (o._addAriaAndCollapsedClass = function (e, n) { 851 if (e) { 852 var i = t(e).hasClass(c); 853 n.length > 0 && 854 t(n).toggleClass(d, !i).attr("aria-expanded", i); 855 } 856 }), 857 (i._getTargetFromElement = function (e) { 858 var n = P.getSelectorFromElement(e); 859 return n ? t(n)[0] : null; 860 }), 861 (i._jQueryInterface = function (e) { 862 return this.each(function () { 863 var s = t(this), 864 o = s.data(n), 865 l = r({}, a, s.data(), "object" == typeof e && e); 866 if ( 867 (!o && l.toggle && /show|hide/.test(e) && (l.toggle = !1), 868 o || ((o = new i(this, l)), s.data(n, o)), 869 "string" == typeof e) 870 ) { 871 if ("undefined" == typeof o[e])
872 throw new TypeError('No method named "' + e + '"'); 873 o[e](); 874 } 875 }); 876 }), 877 s(i, null, [ 878 { 879 key: "VERSION", 880 get: function () { 881 return "4.0.0"; 882 }, 883 }, 884 { 885 key: "Default", 886 get: function () { 887 return a; 888 }, 889 }, 890 ]), 891 i 892 ); 893 })(); 894 return ( 895 t(document).on(h.CLICK_DATA_API, p.DATA_TOGGLE, function (e) { 896 "A" === e.currentTarget.tagName && e.preventDefault(); 897 var i = t(this), 898 s = P.getSelectorFromElement(this); 899 t(s).each(function () { 900 var e = t(this), 901 s = e.data(n) ? "toggle" : i.data(); 902 m._jQueryInterface.call(e, s); 903 }); 904 }), 905 (t.fn[e] = m._jQueryInterface), 906 (t.fn[e].Constructor = m), 907 (t.fn[e].noConflict = function () { 908 return (t.fn[e] = o), m._jQueryInterface; 909 }), 910 m 911 ); 912 })(e), 913 W = (function (t) { 914 var e = "dropdown", 915 i = "bs.dropdown", 916 o = "." + i, 917 a = ".data-api", 918 l = t.fn[e], 919 h = new RegExp("38|40|27"), 920 c = { 921 HIDE: "hide" + o, 922 HIDDEN: "hidden" + o, 923 SHOW: "show" + o, 924 SHOWN: "shown" + o, 925 CLICK: "click" + o, 926 CLICK_DATA_API: "click" + o + a, 927 KEYDOWN_DATA_API: "keydown" + o + a, 928 KEYUP_DATA_API: "keyup" + o + a, 929 }, 930 u = "disabled", 931 f = "show", 932 d = "dropup", 933 _ = "dropright", 934 g = "dropleft", 935 p = "dropdown-menu-right", 936 m = "dropdown-menu-left", 937 v = "position-static", 938 E = '[data-toggle="dropdown"]', 939 T = ".dropdown form", 940 y = ".dropdown-menu", 941 C = ".navbar-nav", 942 I = ".dropdown-menu .dropdown-item:not(.disabled)", 943 A = "top-start", 944 b = "top-end", 945 D = "bottom-start", 946 S = "bottom-end", 947 w = "right-start", 948 N = "left-start", 949 O = { offset: 0, flip: !0, boundary: "scrollParent" }, 950 k = { 951 offset: "(number|string|function)", 952 flip: "boolean", 953 boundary: "(string|element)", 954 }, 955 L = (function () { 956 function a(t, e) { 957 (this._element = t), 958 (this._popper = null), 959 (this._config = this._getConfig(e)), 960 (this._menu = this._getMenuElement()), 961 (this._inNavbar = this._detectNavbar()), 962 this._addEventListeners(); 963 } 964 var l = a.prototype; 965 return ( 966 (l.toggle = function () { 967 if (!this._element.disabled && !t(this._element).hasClass(u)) { 968 var e = a._getParentFromElement(this._element), 969 i = t(this._menu).hasClass(f); 970 if ((a._clearMenus(), !i)) { 971 var s = { relatedTarget: this._element }, 972 r = t.Event(c.SHOW, s); 973 if ((t(e).trigger(r), !r.isDefaultPrevented())) { 974 if (!this._inNavbar) { 975 if ("undefined" == typeof n) 976 throw new TypeError( 977 "Bootstrap dropdown require Popper.js (https://popper.js.org)" 978 ); 979 var o = this._element; 980 t(e).hasClass(d) && 981 (t(this._menu).hasClass(m) || 982 t(this._menu).hasClass(p)) && 983 (o = e), 984 "scrollParent" !== this._config.boundary && 985 t(e).addClass(v), 986 (this._popper = new n( 987 o, 988 this._menu, 989 this._getPopperConfig() 990 )); 991 } 992 "ontouchstart" in document.documentElement && 993 0 === t(e).closest(C).length && 994 t("body").children().on("mouseover", null, t.noop), 995 this._element.focus(), 996 this._element.setAttribute("aria-expanded", !0), 997 t(this._menu).toggleClass(f), 998 t(e).toggleClass(f).trigger(t.Event(c.SHOWN, s)); 999 } 1000 } 1001 } 1002 }),
1003 (l.dispose = function () { 1004 t.removeData(this._element, i), 1005 t(this._element).off(o), 1006 (this._element = null), 1007 (this._menu = null), 1008 null !== this._popper && 1009 (this._popper.destroy(), (this._popper = null)); 1010 }), 1011 (l.update = function () { 1012 (this._inNavbar = this._detectNavbar()), 1013 null !== this._popper && this._popper.scheduleUpdate(); 1014 }), 1015 (l._addEventListeners = function () { 1016 var e = this; 1017 t(this._element).on(c.CLICK, function (t) { 1018 t.preventDefault(), t.stopPropagation(), e.toggle(); 1019 }); 1020 }), 1021 (l._getConfig = function (n) { 1022 return ( 1023 (n = r( 1024 {}, 1025 this.constructor.Default, 1026 t(this._element).data(), 1027 n 1028 )), 1029 P.typeCheckConfig(e, n, this.constructor.DefaultType), 1030 n 1031 ); 1032 }), 1033 (l._getMenuElement = function () { 1034 if (!this._menu) { 1035 var e = a._getParentFromElement(this._element); 1036 this._menu = t(e).find(y)[0]; 1037 } 1038 return this._menu; 1039 }), 1040 (l._getPlacement = function () { 1041 var e = t(this._element).parent(), 1042 n = D; 1043 return ( 1044 e.hasClass(d) 1045 ? ((n = A), t(this._menu).hasClass(p) && (n = b)) 1046 : e.hasClass(_) 1047 ? (n = w) 1048 : e.hasClass(g) 1049 ? (n = N) 1050 : t(this._menu).hasClass(p) && (n = S), 1051 n 1052 ); 1053 }), 1054 (l._detectNavbar = function () { 1055 return t(this._element).closest(".navbar").length > 0; 1056 }), 1057 (l._getPopperConfig = function () { 1058 var t = this, 1059 e = {}; 1060 return ( 1061 "function" == typeof this._config.offset 1062 ? (e.fn = function (e) { 1063 return ( 1064 (e.offsets = r( 1065 {}, 1066 e.offsets, 1067 t._config.offset(e.offsets) || {} 1068 )), 1069 e 1070 ); 1071 }) 1072 : (e.offset = this._config.offset), 1073 { 1074 placement: this._getPlacement(), 1075 modifiers: { 1076 offset: e, 1077 flip: { enabled: this._config.flip }, 1078 preventOverflow: { 1079 boundariesElement: this._config.boundary, 1080 }, 1081 }, 1082 } 1083 ); 1084 }), 1085 (a._jQueryInterface = function (e) { 1086 return this.each(function () { 1087 var n = t(this).data(i); 1088 if ( 1089 (n || 1090 ((n = new a(this, "object" == typeof e ? e : null)), 1091 t(this).data(i, n)), 1092 "string" == typeof e) 1093 ) { 1094 if ("undefined" == typeof n[e]) 1095 throw new TypeError('No method named "' + e + '"'); 1096 n[e](); 1097 } 1098 }); 1099 }), 1100 (a._clearMenus = function (e) { 1101 if ( 1102 !e || 1103 (3 !== e.which && ("keyup" !== e.type || 9 === e.which)) 1104 ) 1105 for (var n = t.makeArray(t(E)), s = 0; s < n.length; s++) { 1106 var r = a._getParentFromElement(n[s]), 1107 o = t(n[s]).data(i), 1108 l = { relatedTarget: n[s] }; 1109 if (o) { 1110 var h = o._menu; 1111 if ( 1112 t(r).hasClass(f) && 1113 !( 1114 e && 1115 (("click" === e.type && 1116 /input|textarea/i.test(e.target.tagName)) || 1117 ("keyup" === e.type && 9 === e.which)) && 1118 t.contains(r, e.target) 1119 ) 1120 ) { 1121 var u = t.Event(c.HIDE, l); 1122 t(r).trigger(u), 1123 u.isDefaultPrevented() || 1124 ("ontouchstart" in document.documentElement && 1125 t("body").children().off("mouseover", null, t.noop), 1126 n[s].setAttribute("aria-expanded", "false"), 1127 t(h).removeClass(f), 1128 t(r).removeClass(f).trigger(t.Event(c.HIDDEN, l))); 1129 } 1130 } 1131 } 1132 }), 1133 (a._getParentFromElement = function (e) { 1134 var n, 1135 i = P.getSelectorFromElement(e); 1136 return i && (n = t(i)[0]), n || e.parentNode; 1137 }), 1138 (a._dataApiKeydownHandler = function (e) { 1139 if ( 1140 (/input|textarea/i.test(e.target.tagName) 1141 ? !( 1142 32 === e.which || 1143 (27 !== e.which && 1144 ((40 !== e.which && 38 !== e.which) || 1145 t(e.target).closest(y).length)) 1146 ) 1147 : h.test(e.which)) && 1148 (e.preventDefault(), 1149 e.stopPropagation(), 1150 !this.disabled && !t(this).hasClass(u)) 1151 ) { 1152 var n = a._getParentFromElement(this), 1153 i = t(n).hasClass(f); 1154 if ( 1155 (i || (27 === e.which && 32 === e.which)) && 1156 (!i || (27 !== e.which && 32 !== e.which)) 1157 ) { 1158 var s = t(n).find(I).get(); 1159 if (0 !== s.length) { 1160 var r = s.indexOf(e.target); 1161 38 === e.which && r > 0 && r--, 1162 40 === e.which && r < s.length - 1 && r++, 1163 r < 0 && (r = 0), 1164 s[r].focus(); 1165 } 1166 } else { 1167 if (27 === e.which) { 1168 var o = t(n).find(E)[0]; 1169 t(o).trigger("focus"); 1170 } 1171 t(this).trigger("click"); 1172 } 1173 } 1174 }), 1175 s(a, null, [ 1176 { 1177 key: "VERSION", 1178 get: function () { 1179 return "4.0.0"; 1180 }, 1181 }, 1182 { 1183 key: "Default", 1184 get: function () { 1185 return O; 1186 }, 1187 }, 1188 { 1189 key: "DefaultType", 1190 get: function () { 1191 return k; 1192 }, 1193 }, 1194 ]), 1195 a 1196 ); 1197 })(); 1198 return ( 1199 t(document) 1200 .on(c.KEYDOWN_DATA_API, E, L._dataApiKeydownHandler) 1201 .on(c.KEYDOWN_DATA_API, y, L._dataApiKeydownHandler) 1202 .on(c.CLICK_DATA_API + " " + c.KEYUP_DATA_API, L._clearMenus) 1203 .on(c.CLICK_DATA_API, E, function (e) { 1204 e.preventDefault(), 1205 e.stopPropagation(), 1206 L._jQueryInterface.call(t(this), "toggle"); 1207 }) 1208 .on(c.CLICK_DATA_API, T, function (t) { 1209 t.stopPropagation(); 1210 }), 1211 (t.fn[e] = L._jQueryInterface), 1212 (t.fn[e].Constructor = L), 1213 (t.fn[e].noConflict = function () { 1214 return (t.fn[e] = l), L._jQueryInterface; 1215 }), 1216 L 1217 ); 1218 })(e), 1219 M = (function (t) { 1220 var e = "modal", 1221 n = "bs.modal", 1222 i = "." + n, 1223 o = t.fn.modal, 1224 a = { backdrop: !0, keyboard: !0, focus: !0, show: !0 }, 1225 l = { 1226 backdrop: "(boolean|string)", 1227 keyboard: "boolean", 1228 focus: "boolean", 1229 show: "boolean", 1230 }, 1231 h = { 1232 HIDE: "hide" + i, 1233 HIDDEN: "hidden" + i, 1234 SHOW: "show" + i, 1235 SHOWN: "shown" + i, 1236 FOCUSIN: "focusin" + i, 1237 RESIZE: "resize" + i, 1238 CLICK_DISMISS: "click.dismiss" + i, 1239 KEYDOWN_DISMISS: "keydown.dismiss" + i, 1240 MOUSEUP_DISMISS: "mouseup.dismiss" + i, 1241 MOUSEDOWN_DISMISS: "mousedown.dismiss" + i, 1242 CLICK_DATA_API: "click" + i + ".data-api", 1243 },
1244 c = "modal-scrollbar-measure", 1245 u = "modal-backdrop", 1246 f = "modal-open", 1247 d = "fade", 1248 _ = "show", 1249 g = { 1250 DIALOG: ".modal-dialog", 1251 DATA_TOGGLE: '[data-toggle="modal"]', 1252 DATA_DISMISS: '[data-dismiss="modal"]', 1253 FIXED_CONTENT: ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", 1254 STICKY_CONTENT: ".sticky-top", 1255 NAVBAR_TOGGLER: ".navbar-toggler", 1256 }, 1257 p = (function () { 1258 function o(e, n) { 1259 (this._config = this._getConfig(n)), 1260 (this._element = e), 1261 (this._dialog = t(e).find(g.DIALOG)[0]), 1262 (this._backdrop = null), 1263 (this._isShown = !1), 1264 (this._isBodyOverflowing = !1), 1265 (this._ignoreBackdropClick = !1), 1266 (this._originalBodyPadding = 0), 1267 (this._scrollbarWidth = 0); 1268 } 1269 var p = o.prototype; 1270 return ( 1271 (p.toggle = function (t) { 1272 return this._isShown ? this.hide() : this.show(t); 1273 }), 1274 (p.show = function (e) { 1275 var n = this; 1276 if (!this._isTransitioning && !this._isShown) { 1277 P.supportsTransitionEnd() && 1278 t(this._element).hasClass(d) && 1279 (this._isTransitioning = !0); 1280 var i = t.Event(h.SHOW, { relatedTarget: e }); 1281 t(this._element).trigger(i), 1282 this._isShown || 1283 i.isDefaultPrevented() || 1284 ((this._isShown = !0), 1285 this._checkScrollbar(), 1286 this._setScrollbar(), 1287 this._adjustDialog(), 1288 t(document.body).addClass(f), 1289 this._setEscapeEvent(), 1290 this._setResizeEvent(), 1291 t(this._element).on( 1292 h.CLICK_DISMISS, 1293 g.DATA_DISMISS, 1294 function (t) { 1295 return n.hide(t); 1296 } 1297 ), 1298 t(this._dialog).on(h.MOUSEDOWN_DISMISS, function () { 1299 t(n._element).one(h.MOUSEUP_DISMISS, function (e) { 1300 t(e.target).is(n._element) && 1301 (n._ignoreBackdropClick = !0); 1302 }); 1303 }), 1304 this._showBackdrop(function () { 1305 return n._showElement(e); 1306 })); 1307 } 1308 }), 1309 (p.hide = function (e) { 1310 var n = this; 1311 if ( 1312 (e && e.preventDefault(), 1313 !this._isTransitioning && this._isShown) 1314 ) { 1315 var i = t.Event(h.HIDE); 1316 if ( 1317 (t(this._element).trigger(i), 1318 this._isShown && !i.isDefaultPrevented()) 1319 ) { 1320 this._isShown = !1; 1321 var s = 1322 P.supportsTransitionEnd() && t(this._element).hasClass(d); 1323 s && (this._isTransitioning = !0), 1324 this._setEscapeEvent(), 1325 this._setResizeEvent(), 1326 t(document).off(h.FOCUSIN), 1327 t(this._element).removeClass(_), 1328 t(this._element).off(h.CLICK_DISMISS), 1329 t(this._dialog).off(h.MOUSEDOWN_DISMISS), 1330 s 1331 ? t(this._element) 1332 .one(P.TRANSITION_END, function (t) { 1333 return n._hideModal(t); 1334 }) 1335 .emulateTransitionEnd(300) 1336 : this._hideModal(); 1337 } 1338 } 1339 }), 1340 (p.dispose = function () { 1341 t.removeData(this._element, n), 1342 t(window, document, this._element, this._backdrop).off(i), 1343 (this._config = null), 1344 (this._element = null), 1345 (this._dialog = null), 1346 (this._backdrop = null), 1347 (this._isShown = null), 1348 (this._isBodyOverflowing = null), 1349 (this._ignoreBackdropClick = null), 1350 (this._scrollbarWidth = null); 1351 }), 1352 (p.handleUpdate = function () { 1353 this._adjustDialog(); 1354 }), 1355 (p._getConfig = function (t) { 1356 return (t = r({}, a, t)), P.typeCheckConfig(e, t, l), t; 1357 }), 1358 (p._showElement = function (e) { 1359 var n = this, 1360 i = P.supportsTransitionEnd() && t(this._element).hasClass(d); 1361 (this._element.parentNode && 1362 this._element.parentNode.nodeType === Node.ELEMENT_NODE) || 1363 document.body.appendChild(this._element), 1364 (this._element.style.display = "block"), 1365 this._element.removeAttribute("aria-hidden"), 1366 (this._element.scrollTop = 0), 1367 i && P.reflow(this._element), 1368 t(this._element).addClass(_), 1369 this._config.focus && this._enforceFocus(); 1370 var s = t.Event(h.SHOWN, { relatedTarget: e }), 1371 r = function () { 1372 n._config.focus && n._element.focus(), 1373 (n._isTransitioning = !1), 1374 t(n._element).trigger(s); 1375 }; 1376 i 1377 ? t(this._dialog) 1378 .one(P.TRANSITION_END, r) 1379 .emulateTransitionEnd(300) 1380 : r(); 1381 }), 1382 (p._enforceFocus = function () { 1383 var e = this; 1384 t(document) 1385 .off(h.FOCUSIN) 1386 .on(h.FOCUSIN, function (n) { 1387 document !== n.target && 1388 e._element !== n.target && 1389 0 === t(e._element).has(n.target).length && 1390 e._element.focus(); 1391 }); 1392 }), 1393 (p._setEscapeEvent = function () { 1394 var e = this; 1395 this._isShown && this._config.keyboard 1396 ? t(this._element).on(h.KEYDOWN_DISMISS, function (t) { 1397 27 === t.which && (t.preventDefault(), e.hide()); 1398 }) 1399 : this._isShown || t(this._element).off(h.KEYDOWN_DISMISS); 1400 }), 1401 (p._setResizeEvent = function () { 1402 var e = this; 1403 this._isShown 1404 ? t(window).on(h.RESIZE, function (t) { 1405 return e.handleUpdate(t); 1406 }) 1407 : t(window).off(h.RESIZE); 1408 }), 1409 (p._hideModal = function () { 1410 var e = this; 1411 (this._element.style.display = "none"), 1412 this._element.setAttribute("aria-hidden", !0), 1413 (this._isTransitioning = !1), 1414 this._showBackdrop(function () { 1415 t(document.body).removeClass(f), 1416 e._resetAdjustments(), 1417 e._resetScrollbar(), 1418 t(e._element).trigger(h.HIDDEN); 1419 }); 1420 }), 1421 (p._removeBackdrop = function () { 1422 this._backdrop && 1423 (t(this._backdrop).remove(), (this._backdrop = null)); 1424 }), 1425 (p._showBackdrop = function (e) { 1426 var n = this, 1427 i = t(this._element).hasClass(d) ? d : ""; 1428 if (this._isShown && this._config.backdrop) { 1429 var s = P.supportsTransitionEnd() && i; 1430 if ( 1431 ((this._backdrop = document.createElement("div")), 1432 (this._backdrop.className = u), 1433 i && t(this._backdrop).addClass(i), 1434 t(this._backdrop).appendTo(document.body), 1435 t(this._element).on(h.CLICK_DISMISS, function (t) { 1436 n._ignoreBackdropClick 1437 ? (n._ignoreBackdropClick = !1) 1438 : t.target === t.currentTarget && 1439 ("static" === n._config.backdrop 1440 ? n._element.focus() 1441 : n.hide()); 1442 }), 1443 s && P.reflow(this._backdrop), 1444 t(this._backdrop).addClass(_), 1445 !e) 1446 ) 1447 return; 1448 if (!s) return void e(); 1449 t(this._backdrop) 1450 .one(P.TRANSITION_END, e) 1451 .emulateTransitionEnd(150); 1452 } else if (!this._isShown && this._backdrop) { 1453 t(this._backdrop).removeClass(_); 1454 var r = function () { 1455 n._removeBackdrop(), e && e(); 1456 }; 1457 P.supportsTransitionEnd() && t(this._element).hasClass(d) 1458 ? t(this._backdrop) 1459 .one(P.TRANSITION_END, r) 1460 .emulateTransitionEnd(150) 1461 : r(); 1462 } else e && e(); 1463 }), 1464 (p._adjustDialog = function () { 1465 var t = 1466 this._element.scrollHeight > 1467 document.documentElement.clientHeight; 1468 !this._isBodyOverflowing && 1469 t && 1470 (this._element.style.paddingLeft = this._scrollbarWidth + "px"), 1471 this._isBodyOverflowing && 1472 !t && 1473 (this._element.style.paddingRight = 1474 this._scrollbarWidth + "px"); 1475 }), 1476 (p._resetAdjustments = function () { 1477 (this._element.style.paddingLeft = ""), 1478 (this._element.style.paddingRight = ""); 1479 }), 1480 (p._checkScrollbar = function () { 1481 var t = document.body.getBoundingClientRect(); 1482 (this._isBodyOverflowing = t.left + t.right < window.innerWidth), 1483 (this._scrollbarWidth = this._getScrollbarWidth()); 1484 }), 1485 (p._setScrollbar = function () { 1486 var e = this; 1487 if (this._isBodyOverflowing) { 1488 t(g.FIXED_CONTENT).each(function (n, i) { 1489 var s = t(i)[0].style.paddingRight, 1490 r = t(i).css("padding-right"); 1491 t(i) 1492 .data("padding-right", s) 1493 .css( 1494 "padding-right", 1495 parseFloat(r) + e._scrollbarWidth + "px" 1496 ); 1497 }), 1498 t(g.STICKY_CONTENT).each(function (n, i) { 1499 var s = t(i)[0].style.marginRight, 1500 r = t(i).css("margin-right"); 1501 t(i) 1502 .data("margin-right", s) 1503 .css( 1504 "margin-right", 1505 parseFloat(r) - e._scrollbarWidth + "px" 1506 ); 1507 }), 1508 t(g.NAVBAR_TOGGLER).each(function (n, i) { 1509 var s = t(i)[0].style.marginRight, 1510 r = t(i).css("margin-right"); 1511 t(i) 1512 .data("margin-right", s) 1513 .css( 1514 "margin-right", 1515 parseFloat(r) + e._scrollbarWidth + "px" 1516 ); 1517 }); 1518 var n = document.body.style.paddingRight, 1519 i = t("body").css("padding-right"); 1520 t("body") 1521 .data("padding-right", n) 1522 .css( 1523 "padding-right", 1524 parseFloat(i) + this._scrollbarWidth + "px" 1525 ); 1526 } 1527 }), 1528 (p._resetScrollbar = function () { 1529 t(g.FIXED_CONTENT).each(function (e, n) { 1530 var i = t(n).data("padding-right"); 1531 "undefined" != typeof i && 1532 t(n).css("padding-right", i).removeData("padding-right"); 1533 }), 1534 t(g.STICKY_CONTENT + ", " + g.NAVBAR_TOGGLER).each(function ( 1535 e, 1536 n 1537 ) { 1538 var i = t(n).data("margin-right"); 1539 "undefined" != typeof i && 1540 t(n).css("margin-right", i).removeData("margin-right"); 1541 }); 1542 var e = t("body").data("padding-right"); 1543 "undefined" != typeof e && 1544 t("body").css("padding-right", e).removeData("padding-right"); 1545 }), 1546 (p._getScrollbarWidth = function () { 1547 var t = document.createElement("div"); 1548 (t.className = c), document.body.appendChild(t); 1549 var e = t.getBoundingClientRect().width - t.clientWidth; 1550 return document.body.removeChild(t), e; 1551 }), 1552 (o._jQueryInterface = function (e, i) { 1553 return this.each(function () { 1554 var s = t(this).data(n), 1555 a = r( 1556 {}, 1557 o.Default, 1558 t(this).data(), 1559 "object" == typeof e && e 1560 ); 1561 if ( 1562 (s || ((s = new o(this, a)), t(this).data(n, s)), 1563 "string" == typeof e) 1564 ) { 1565 if ("undefined" == typeof s[e])
1566 throw new TypeError('No method named "' + e + '"'); 1567 s[e](i); 1568 } else a.show && s.show(i); 1569 }); 1570 }), 1571 s(o, null, [ 1572 { 1573 key: "VERSION", 1574 get: function () { 1575 return "4.0.0"; 1576 }, 1577 }, 1578 { 1579 key: "Default", 1580 get: function () { 1581 return a; 1582 }, 1583 }, 1584 ]), 1585 o 1586 ); 1587 })(); 1588 return ( 1589 t(document).on(h.CLICK_DATA_API, g.DATA_TOGGLE, function (e) { 1590 var i, 1591 s = this, 1592 o = P.getSelectorFromElement(this); 1593 o && (i = t(o)[0]); 1594 var a = t(i).data(n) ? "toggle" : r({}, t(i).data(), t(this).data()); 1595 ("A" !== this.tagName && "AREA" !== this.tagName) || 1596 e.preventDefault(); 1597 var l = t(i).one(h.SHOW, function (e) { 1598 e.isDefaultPrevented() || 1599 l.one(h.HIDDEN, function () { 1600 t(s).is(":visible") && s.focus(); 1601 }); 1602 }); 1603 p._jQueryInterface.call(t(i), a, this); 1604 }), 1605 (t.fn.modal = p._jQueryInterface), 1606 (t.fn.modal.Constructor = p), 1607 (t.fn.modal.noConflict = function () { 1608 return (t.fn.modal = o), p._jQueryInterface; 1609 }), 1610 p 1611 ); 1612 })(e), 1613 U = (function (t) { 1614 var e = "tooltip", 1615 i = "bs.tooltip", 1616 o = "." + i, 1617 a = t.fn[e], 1618 l = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), 1619 h = { 1620 animation: "boolean", 1621 template: "string", 1622 title: "(string|element|function)", 1623 trigger: "string", 1624 delay: "(number|object)", 1625 html: "boolean", 1626 selector: "(string|boolean)", 1627 placement: "(string|function)", 1628 offset: "(number|string)", 1629 container: "(string|element|boolean)", 1630 fallbackPlacement: "(string|array)", 1631 boundary: "(string|element)", 1632 }, 1633 c = { 1634 AUTO: "auto", 1635 TOP: "top", 1636 RIGHT: "right", 1637 BOTTOM: "bottom", 1638 LEFT: "left", 1639 }, 1640 u = { 1641 animation: !0, 1642 template: 1643 '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>', 1644 trigger: "hover focus", 1645 title: "", 1646 delay: 0, 1647 html: !1, 1648 selector: !1, 1649 placement: "top", 1650 offset: 0, 1651 container: !1, 1652 fallbackPlacement: "flip", 1653 boundary: "scrollParent", 1654 }, 1655 f = "show", 1656 d = "out", 1657 _ = { 1658 HIDE: "hide" + o, 1659 HIDDEN: "hidden" + o, 1660 SHOW: "show" + o, 1661 SHOWN: "shown" + o, 1662 INSERTED: "inserted" + o, 1663 CLICK: "click" + o, 1664 FOCUSIN: "focusin" + o, 1665 FOCUSOUT: "focusout" + o, 1666 MOUSEENTER: "mouseenter" + o, 1667 MOUSELEAVE: "mouseleave" + o, 1668 }, 1669 g = "fade", 1670 p = "show", 1671 m = ".tooltip-inner", 1672 v = ".arrow", 1673 E = "hover", 1674 T = "focus", 1675 y = "click", 1676 C = "manual", 1677 I = (function () { 1678 function a(t, e) { 1679 if ("undefined" == typeof n) 1680 throw new TypeError( 1681 "Bootstrap tooltips require Popper.js (https://popper.js.org)" 1682 ); 1683 (this._isEnabled = !0), 1684 (this._timeout = 0), 1685 (this._hoverState = ""), 1686 (this._activeTrigger = {}), 1687 (this._popper = null), 1688 (this.element = t), 1689 (this.config = this._getConfig(e)), 1690 (this.tip = null), 1691 this._setListeners(); 1692 } 1693 var I = a.prototype; 1694 return ( 1695 (I.enable = function () { 1696 this._isEnabled = !0; 1697 }), 1698 (I.disable = function () { 1699 this._isEnabled = !1; 1700 }), 1701 (I.toggleEnabled = function () { 1702 this._isEnabled = !this._isEnabled; 1703 }), 1704 (I.toggle = function (e) { 1705 if (this._isEnabled) 1706 if (e) { 1707 var n = this.constructor.DATA_KEY, 1708 i = t(e.currentTarget).data(n); 1709 i || 1710 ((i = new this.constructor( 1711 e.currentTarget, 1712 this._getDelegateConfig() 1713 )),
1714 t(e.currentTarget).data(n, i)), 1715 (i._activeTrigger.click = !i._activeTrigger.click), 1716 i._isWithActiveTrigger() 1717 ? i._enter(null, i) 1718 : i._leave(null, i); 1719 } else { 1720 if (t(this.getTipElement()).hasClass(p)) 1721 return void this._leave(null, this); 1722 this._enter(null, this); 1723 } 1724 }), 1725 (I.dispose = function () { 1726 clearTimeout(this._timeout), 1727 t.removeData(this.element, this.constructor.DATA_KEY), 1728 t(this.element).off(this.constructor.EVENT_KEY), 1729 t(this.element).closest(".modal").off("hide.bs.modal"), 1730 this.tip && t(this.tip).remove(), 1731 (this._isEnabled = null), 1732 (this._timeout = null), 1733 (this._hoverState = null), 1734 (this._activeTrigger = null), 1735 null !== this._popper && this._popper.destroy(), 1736 (this._popper = null), 1737 (this.element = null), 1738 (this.config = null), 1739 (this.tip = null); 1740 }), 1741 (I.show = function () { 1742 var e = this; 1743 if ("none" === t(this.element).css("display")) 1744 throw new Error("Please use show on visible elements"); 1745 var i = t.Event(this.constructor.Event.SHOW); 1746 if (this.isWithContent() && this._isEnabled) { 1747 t(this.element).trigger(i); 1748 var s = t.contains( 1749 this.element.ownerDocument.documentElement, 1750 this.element 1751 ); 1752 if (i.isDefaultPrevented() || !s) return; 1753 var r = this.getTipElement(), 1754 o = P.getUID(this.constructor.NAME); 1755 r.setAttribute("id", o), 1756 this.element.setAttribute("aria-describedby", o), 1757 this.setContent(), 1758 this.config.animation && t(r).addClass(g); 1759 var l = 1760 "function" == typeof this.config.placement 1761 ? this.config.placement.call(this, r, this.element) 1762 : this.config.placement, 1763 h = this._getAttachment(l); 1764 this.addAttachmentClass(h); 1765 var c = 1766 !1 === this.config.container 1767 ? document.body 1768 : t(this.config.container); 1769 t(r).data(this.constructor.DATA_KEY, this), 1770 t.contains( 1771 this.element.ownerDocument.documentElement, 1772 this.tip 1773 ) || t(r).appendTo(c), 1774 t(this.element).trigger(this.constructor.Event.INSERTED), 1775 (this._popper = new n(this.element, r, { 1776 placement: h, 1777 modifiers: { 1778 offset: { offset: this.config.offset }, 1779 flip: { behavior: this.config.fallbackPlacement }, 1780 arrow: { element: v }, 1781 preventOverflow: { 1782 boundariesElement: this.config.boundary, 1783 }, 1784 }, 1785 onCreate: function (t) { 1786 t.originalPlacement !== t.placement && 1787 e._handlePopperPlacementChange(t); 1788 }, 1789 onUpdate: function (t) { 1790 e._handlePopperPlacementChange(t); 1791 }, 1792 })), 1793 t(r).addClass(p), 1794 "ontouchstart" in document.documentElement && 1795 t("body").children().on("mouseover", null, t.noop); 1796 var u = function () { 1797 e.config.animation && e._fixTransition(); 1798 var n = e._hoverState; 1799 (e._hoverState = null), 1800 t(e.element).trigger(e.constructor.Event.SHOWN), 1801 n === d && e._leave(null, e); 1802 }; 1803 P.supportsTransitionEnd() && t(this.tip).hasClass(g) 1804 ? t(this.tip) 1805 .one(P.TRANSITION_END, u) 1806 .emulateTransitionEnd(a._TRANSITION_DURATION) 1807 : u(); 1808 } 1809 }), 1810 (I.hide = function (e) { 1811 var n = this, 1812 i = this.getTipElement(), 1813 s = t.Event(this.constructor.Event.HIDE), 1814 r = function () { 1815 n._hoverState !== f && 1816 i.parentNode && 1817 i.parentNode.removeChild(i), 1818 n._cleanTipClass(), 1819 n.element.removeAttribute("aria-describedby"), 1820 t(n.element).trigger(n.constructor.Event.HIDDEN), 1821 null !== n._popper && n._popper.destroy(), 1822 e && e(); 1823 }; 1824 t(this.element).trigger(s), 1825 s.isDefaultPrevented() || 1826 (t(i).removeClass(p), 1827 "ontouchstart" in document.documentElement && 1828 t("body").children().off("mouseover", null, t.noop), 1829 (this._activeTrigger[y] = !1), 1830 (this._activeTrigger[T] = !1), 1831 (this._activeTrigger[E] = !1), 1832 P.supportsTransitionEnd() && t(this.tip).hasClass(g) 1833 ? t(i).one(P.TRANSITION_END, r).emulateTransitionEnd(150) 1834 : r(), 1835 (this._hoverState = "")); 1836 }), 1837 (I.update = function () { 1838 null !== this._popper && this._popper.scheduleUpdate(); 1839 }), 1840 (I.isWithContent = function () { 1841 return Boolean(this.getTitle()); 1842 }), 1843 (I.addAttachmentClass = function (e) { 1844 t(this.getTipElement()).addClass("bs-tooltip-" + e); 1845 }), 1846 (I.getTipElement = function () { 1847 return ( 1848 (this.tip = this.tip || t(this.config.template)[0]), this.tip 1849 ); 1850 }), 1851 (I.setContent = function () { 1852 var e = t(this.getTipElement()); 1853 this.setElementContent(e.find(m), this.getTitle()), 1854 e.removeClass(g + " " + p); 1855 }), 1856 (I.setElementContent = function (e, n) { 1857 var i = this.config.html; 1858 "object" == typeof n && (n.nodeType || n.jquery) 1859 ? i 1860 ? t(n).parent().is(e) || e.empty().append(n) 1861 : e.text(t(n).text()) 1862 : e[i ? "html" : "text"](n); 1863 }), 1864 (I.getTitle = function () { 1865 var t = this.element.getAttribute("data-original-title"); 1866 return ( 1867 t || 1868 (t = 1869 "function" == typeof this.config.title 1870 ? this.config.title.call(this.element) 1871 : this.config.title), 1872 t 1873 ); 1874 }), 1875 (I._getAttachment = function (t) { 1876 return c[t.toUpperCase()]; 1877 }), 1878 (I._setListeners = function () { 1879 var e = this; 1880 this.config.trigger.split(" ").forEach(function (n) { 1881 if ("click" === n) 1882 t(e.element).on( 1883 e.constructor.Event.CLICK, 1884 e.config.selector, 1885 function (t) { 1886 return e.toggle(t); 1887 } 1888 ); 1889 else if (n !== C) { 1890 var i = 1891 n === E 1892 ? e.constructor.Event.MOUSEENTER 1893 : e.constructor.Event.FOCUSIN, 1894 s = 1895 n === E 1896 ? e.constructor.Event.MOUSELEAVE 1897 : e.constructor.Event.FOCUSOUT; 1898 t(e.element) 1899 .on(i, e.config.selector, function (t) { 1900 return e._enter(t); 1901 }) 1902 .on(s, e.config.selector, function (t) { 1903 return e._leave(t); 1904 }); 1905 } 1906 t(e.element) 1907 .closest(".modal") 1908 .on("hide.bs.modal", function () { 1909 return e.hide(); 1910 }); 1911 }), 1912 this.config.selector 1913 ? (this.config = r({}, this.config, { 1914 trigger: "manual", 1915 selector: "", 1916 })) 1917 : this._fixTitle(); 1918 }), 1919 (I._fixTitle = function () { 1920 var t = typeof this.element.getAttribute("data-original-title"); 1921 (this.element.getAttribute("title") || "string" !== t) && 1922 (this.element.setAttribute( 1923 "data-original-title", 1924 this.element.getAttribute("title") || "" 1925 ), 1926 this.element.setAttribute("title", "")); 1927 }), 1928 (I._enter = function (e, n) { 1929 var i = this.constructor.DATA_KEY; 1930 (n = n || t(e.currentTarget).data(i)) || 1931 ((n = new this.constructor( 1932 e.currentTarget, 1933 this._getDelegateConfig() 1934 )), 1935 t(e.currentTarget).data(i, n)), 1936 e && (n._activeTrigger["focusin" === e.type ? T : E] = !0), 1937 t(n.getTipElement()).hasClass(p) || n._hoverState === f 1938 ? (n._hoverState = f) 1939 : (clearTimeout(n._timeout), 1940 (n._hoverState = f), 1941 n.config.delay && n.config.delay.show 1942 ? (n._timeout = setTimeout(function () { 1943 n._hoverState === f && n.show(); 1944 }, n.config.delay.show)) 1945 : n.show()); 1946 }), 1947 (I._leave = function (e, n) { 1948 var i = this.constructor.DATA_KEY; 1949 (n = n || t(e.currentTarget).data(i)) || 1950 ((n = new this.constructor( 1951 e.currentTarget, 1952 this._getDelegateConfig() 1953 )), 1954 t(e.currentTarget).data(i, n)), 1955 e && (n._activeTrigger["focusout" === e.type ? T : E] = !1), 1956 n._isWithActiveTrigger() || 1957 (clearTimeout(n._timeout), 1958 (n._hoverState = d), 1959 n.config.delay && n.config.delay.hide 1960 ? (n._timeout = setTimeout(function () { 1961 n._hoverState === d && n.hide(); 1962 }, n.config.delay.hide)) 1963 : n.hide()); 1964 }), 1965 (I._isWithActiveTrigger = function () { 1966 for (var t in this._activeTrigger) 1967 if (this._activeTrigger[t]) return !0; 1968 return !1; 1969 }), 1970 (I._getConfig = function (n) { 1971 return ( 1972 "number" == 1973 typeof (n = r( 1974 {}, 1975 this.constructor.Default, 1976 t(this.element).data(), 1977 n 1978 )).delay && (n.delay = { show: n.delay, hide: n.delay }), 1979 "number" == typeof n.title && (n.title = n.title.toString()), 1980 "number" == typeof n.content && 1981 (n.content = n.content.toString()), 1982 P.typeCheckConfig(e, n, this.constructor.DefaultType), 1983 n 1984 ); 1985 }), 1986 (I._getDelegateConfig = function () { 1987 var t = {}; 1988 if (this.config) 1989 for (var e in this.config) 1990 this.constructor.Default[e] !== this.config[e] && 1991 (t[e] = this.config[e]); 1992 return t; 1993 }), 1994 (I._cleanTipClass = function () { 1995 var e = t(this.getTipElement()), 1996 n = e.attr("class").match(l); 1997 null !== n && n.length > 0 && e.removeClass(n.join("")); 1998 }), 1999 (I._handlePopperPlacementChange = function (t) { 2000 this._cleanTipClass(), 2001 this.addAttachmentClass(this._getAttachment(t.placement)); 2002 }), 2003 (I._fixTransition = function () { 2004 var e = this.getTipElement(), 2005 n = this.config.animation; 2006 null === e.getAttribute("x-placement") && 2007 (t(e).removeClass(g), 2008 (this.config.animation = !1), 2009 this.hide(), 2010 this.show(), 2011 (this.config.animation = n)); 2012 }), 2013 (a._jQueryInterface = function (e) { 2014 return this.each(function () { 2015 var n = t(this).data(i), 2016 s = "object" == typeof e && e; 2017 if ( 2018 (n || !/dispose|hide/.test(e)) && 2019 (n || ((n = new a(this, s)), t(this).data(i, n)), 2020 "string" == typeof e) 2021 ) { 2022 if ("undefined" == typeof n[e])
2023 throw new TypeError('No method named "' + e + '"'); 2024 n[e](); 2025 } 2026 }); 2027 }), 2028 s(a, null, [ 2029 { 2030 key: "VERSION", 2031 get: function () { 2032 return "4.0.0"; 2033 }, 2034 }, 2035 { 2036 key: "Default", 2037 get: function () { 2038 return u; 2039 }, 2040 }, 2041 { 2042 key: "NAME", 2043 get: function () { 2044 return e; 2045 }, 2046 }, 2047 { 2048 key: "DATA_KEY", 2049 get: function () { 2050 return i; 2051 }, 2052 }, 2053 { 2054 key: "Event", 2055 get: function () { 2056 return _; 2057 }, 2058 }, 2059 { 2060 key: "EVENT_KEY", 2061 get: function () { 2062 return o; 2063 }, 2064 }, 2065 { 2066 key: "DefaultType", 2067 get: function () { 2068 return h; 2069 }, 2070 }, 2071 ]), 2072 a 2073 ); 2074 })(); 2075 return ( 2076 (t.fn[e] = I._jQueryInterface), 2077 (t.fn[e].Constructor = I), 2078 (t.fn[e].noConflict = function () { 2079 return (t.fn[e] = a), I._jQueryInterface; 2080 }), 2081 I 2082 ); 2083 })(e), 2084 x = (function (t) { 2085 var e = "popover", 2086 n = "bs.popover", 2087 i = "." + n, 2088 o = t.fn[e], 2089 a = new RegExp("(^|\\s)bs-popover\\S+", "g"), 2090 l = r({}, U.Default, { 2091 placement: "right", 2092 trigger: "click", 2093 content: "", 2094 template: 2095 '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>', 2096 }), 2097 h = r({}, U.DefaultType, { content: "(string|element|function)" }), 2098 c = "fade", 2099 u = "show", 2100 f = ".popover-header", 2101 d = ".popover-body", 2102 _ = { 2103 HIDE: "hide" + i, 2104 HIDDEN: "hidden" + i, 2105 SHOW: "show" + i, 2106 SHOWN: "shown" + i, 2107 INSERTED: "inserted" + i, 2108 CLICK: "click" + i, 2109 FOCUSIN: "focusin" + i, 2110 FOCUSOUT: "focusout" + i, 2111 MOUSEENTER: "mouseenter" + i, 2112 MOUSELEAVE: "mouseleave" + i, 2113 }, 2114 g = (function (r) { 2115 var o, g; 2116 function p() { 2117 return r.apply(this, arguments) || this; 2118 } 2119 (g = r), 2120 ((o = p).prototype = Object.create(g.prototype)), 2121 (o.prototype.constructor = o), 2122 (o.__proto__ = g); 2123 var m = p.prototype; 2124 return ( 2125 (m.isWithContent = function () { 2126 return this.getTitle() || this._getContent(); 2127 }), 2128 (m.addAttachmentClass = function (e) { 2129 t(this.getTipElement()).addClass("bs-popover-" + e); 2130 }), 2131 (m.getTipElement = function () { 2132 return ( 2133 (this.tip = this.tip || t(this.config.template)[0]), this.tip 2134 ); 2135 }), 2136 (m.setContent = function () { 2137 var e = t(this.getTipElement()); 2138 this.setElementContent(e.find(f), this.getTitle()); 2139 var n = this._getContent(); 2140 "function" == typeof n && (n = n.call(this.element)), 2141 this.setElementContent(e.find(d), n), 2142 e.removeClass(c + " " + u); 2143 }), 2144 (m._getContent = function () { 2145 return ( 2146 this.element.getAttribute("data-content") || this.config.content 2147 ); 2148 }), 2149 (m._cleanTipClass = function () { 2150 var e = t(this.getTipElement()), 2151 n = e.attr("class").match(a); 2152 null !== n && n.length > 0 && e.removeClass(n.join("")); 2153 }), 2154 (p._jQueryInterface = function (e) { 2155 return this.each(function () { 2156 var i = t(this).data(n), 2157 s = "object" == typeof e ? e : null; 2158 if ( 2159 (i || !/destroy|hide/.test(e)) && 2160 (i || ((i = new p(this, s)), t(this).data(n, i)
2160), 2161 "string" == typeof e) 2162 ) { 2163 if ("undefined" == typeof i[e]) 2164 throw new TypeError('No method named "' + e + '"'); 2165 i[e](); 2166 } 2167 }); 2168 }), 2169 s(p, null, [ 2170 { 2171 key: "VERSION", 2172 get: function () { 2173 return "4.0.0"; 2174 }, 2175 }, 2176 { 2177 key: "Default", 2178 get: function () { 2179 return l; 2180 }, 2181 }, 2182 { 2183 key: "NAME", 2184 get: function () { 2185 return e; 2186 }, 2187 }, 2188 { 2189 key: "DATA_KEY", 2190 get: function () { 2191 return n; 2192 }, 2193 }, 2194 { 2195 key: "Event", 2196 get: function () { 2197 return _; 2198 }, 2199 }, 2200 { 2201 key: "EVENT_KEY", 2202 get: function () { 2203 return i; 2204 }, 2205 }, 2206 { 2207 key: "DefaultType", 2208 get: function () { 2209 return h; 2210 }, 2211 }, 2212 ]), 2213 p 2214 ); 2215 })(U); 2216 return ( 2217 (t.fn[e] = g._jQueryInterface), 2218 (t.fn[e].Constructor = g), 2219 (t.fn[e].noConflict = function () { 2220 return (t.fn[e] = o), g._jQueryInterface; 2221 }), 2222 g 2223 ); 2224 })(e), 2225 K = (function (t) { 2226 var e = "scrollspy", 2227 n = "bs.scrollspy", 2228 i = "." + n, 2229 o = t.fn[e], 2230 a = { offset: 10, method: "auto", target: "" }, 2231 l = { offset: "number", method: "string", target: "(string|element)" }, 2232 h = { 2233 ACTIVATE: "activate" + i, 2234 SCROLL: "scroll" + i, 2235 LOAD_DATA_API: "load" + i + ".data-api", 2236 }, 2237 c = "dropdown-item", 2238 u = "active", 2239 f = { 2240 DATA_SPY: '[data-spy="scroll"]', 2241 ACTIVE: ".active", 2242 NAV_LIST_GROUP: ".nav, .list-group", 2243 NAV_LINKS: ".nav-link", 2244 NAV_ITEMS: ".nav-item", 2245 LIST_ITEMS: ".list-group-item", 2246 DROPDOWN: ".dropdown", 2247 DROPDOWN_ITEMS: ".dropdown-item", 2248 DROPDOWN_TOGGLE: ".dropdown-toggle", 2249 }, 2250 d = "offset", 2251 _ = "position", 2252 g = (function () { 2253 function o(e, n) { 2254 var i = this; 2255 (this._element = e), 2256 (this._scrollElement = "BODY" === e.tagName ? window : e), 2257 (this._config = this._getConfig(n)), 2258 (this._selector = 2259 this._config.target + 2260 " " + 2261 f.NAV_LINKS + 2262 "," + 2263 this._config.target + 2264 " " + 2265 f.LIST_ITEMS + 2266 "," + 2267 this._config.target + 2268 " " + 2269 f.DROPDOWN_ITEMS), 2270 (this._offsets = []), 2271 (this._targets = []), 2272 (this._activeTarget = null), 2273 (this._scrollHeight = 0), 2274 t(this._scrollElement).on(h.SCROLL, function (t) { 2275 return i._process(t); 2276 }), 2277 this.refresh(), 2278 this._process(); 2279 } 2280 var g = o.prototype; 2281 return ( 2282 (g.refresh = function () { 2283 var e = this, 2284 n = this._scrollElement === this._scrollElement.window ? d : _, 2285 i = "auto" === this._config.method ? n : this._config.method, 2286 s = i === _ ? this._getScrollTop() : 0; 2287 (this._offsets = []), 2288 (this._targets = []), 2289 (this._scrollHeight = this._getScrollHeight()), 2290 t 2291 .makeArray(t(this._selector)) 2292 .map(function (e) { 2293 var n, 2294 r = P.getSelectorFromElement(e); 2295 if ((r && (n = t(r)[0]), n)) { 2296 var o = n.getBoundingClientRect(); 2297 if (o.width || o.height) return [t(n)[i]().top + s, r]; 2298 } 2299 return null; 2300 }) 2301 .filter(function (t) { 2302 return t; 2303 }) 2304 .sort(function (t, e) { 2305 return t[0] - e[0];
2306 }) 2307 .forEach(function (t) { 2308 e._offsets.push(t[0]), e._targets.push(t[1]); 2309 }); 2310 }), 2311 (g.dispose = function () { 2312 t.removeData(this._element, n), 2313 t(this._scrollElement).off(i), 2314 (this._element = null), 2315 (this._scrollElement = null), 2316 (this._config = null), 2317 (this._selector = null), 2318 (this._offsets = null), 2319 (this._targets = null), 2320 (this._activeTarget = null), 2321 (this._scrollHeight = null); 2322 }), 2323 (g._getConfig = function (n) { 2324 if ("string" != typeof (n = r({}, a, n)).target) { 2325 var i = t(n.target).attr("id"); 2326 i || ((i = P.getUID(e)), t(n.target).attr("id", i)), 2327 (n.target = "#" + i); 2328 } 2329 return P.typeCheckConfig(e, n, l), n; 2330 }), 2331 (g._getScrollTop = function () { 2332 return this._scrollElement === window 2333 ? this._scrollElement.pageYOffset 2334 : this._scrollElement.scrollTop; 2335 }), 2336 (g._getScrollHeight = function () { 2337 return ( 2338 this._scrollElement.scrollHeight || 2339 Math.max( 2340 document.body.scrollHeight, 2341 document.documentElement.scrollHeight 2342 ) 2343 ); 2344 }), 2345 (g._getOffsetHeight = function () { 2346 return this._scrollElement === window 2347 ? window.innerHeight 2348 : this._scrollElement.getBoundingClientRect().height; 2349 }), 2350 (g._process = function () { 2351 var t = this._getScrollTop() + this._config.offset, 2352 e = this._getScrollHeight(), 2353 n = this._config.offset + e - this._getOffsetHeight(); 2354 if ((this._scrollHeight !== e && this.refresh(), t >= n)) { 2355 var i = this._targets[this._targets.length - 1]; 2356 this._activeTarget !== i && this._activate(i); 2357 } else { 2358 if ( 2359 this._activeTarget && 2360 t < this._offsets[0] && 2361 this._offsets[0] > 0 2362 ) 2363 return (this._activeTarget = null), void this._clear(); 2364 for (var s = this._offsets.length; s--; ) { 2365 this._activeTarget !== this._targets[s] && 2366 t >= this._offsets[s] && 2367 ("undefined" == typeof this._offsets[s + 1] || 2368 t < this._offsets[s + 1]) && 2369 this._activate(this._targets[s]); 2370 } 2371 } 2372 }), 2373 (g._activate = function (e) { 2374 (this._activeTarget = e), this._clear(); 2375 var n = this._selector.split(","); 2376 n = n.map(function (t) { 2377 return ( 2378 t + '[data-target="' + e + '"],' + t + '[href="' + e + '"]' 2379 ); 2380 }); 2381 var i = t(n.join(",")); 2382 i.hasClass(c) 2383 ? (i.closest(f.DROPDOWN).find(f.DROPDOWN_TOGGLE).addClass(u), 2384 i.addClass(u)) 2385 : (i.addClass(u), 2386 i 2387 .parents(f.NAV_LIST_GROUP) 2388 .prev(f.NAV_LINKS + ", " + f.LIST_ITEMS) 2389 .addClass(u), 2390 i 2391 .parents(f.NAV_LIST_GROUP) 2392 .prev(f.NAV_ITEMS) 2393 .children(f.NAV_LINKS) 2394 .addClass(u)), 2395 t(this._scrollElement).trigger(h.ACTIVATE, { 2396 relatedTarget: e, 2397 }); 2398 }), 2399 (g._clear = function () { 2400 t(this._selector).filter(f.ACTIVE).removeClass(u); 2401 }), 2402 (o._jQueryInterface = function (e) { 2403 return this.each(function () { 2404 var i = t(this).data(n); 2405 if ( 2406 (i || 2407 ((i = new o(this, "object" == typeof e && e)),
2408 t(this).data(n, i)), 2409 "string" == typeof e) 2410 ) { 2411 if ("undefined" == typeof i[e]) 2412 throw new TypeError('No method named "' + e + '"'); 2413 i[e](); 2414 } 2415 }); 2416 }), 2417 s(o, null, [ 2418 { 2419 key: "VERSION", 2420 get: function () { 2421 return "4.0.0"; 2422 }, 2423 }, 2424 { 2425 key: "Default", 2426 get: function () { 2427 return a; 2428 }, 2429 }, 2430 ]), 2431 o 2432 ); 2433 })(); 2434 return ( 2435 t(window).on(h.LOAD_DATA_API, function () { 2436 for (var e = t.makeArray(t(f.DATA_SPY)), n = e.length; n--; ) { 2437 var i = t(e[n]); 2438 g._jQueryInterface.call(i, i.data()); 2439 } 2440 }), 2441 (t.fn[e] = g._jQueryInterface), 2442 (t.fn[e].Constructor = g), 2443 (t.fn[e].noConflict = function () { 2444 return (t.fn[e] = o), g._jQueryInterface; 2445 }), 2446 g 2447 ); 2448 })(e), 2449 V = (function (t) { 2450 var e = "bs.tab", 2451 n = "." + e, 2452 i = t.fn.tab, 2453 r = { 2454 HIDE: "hide" + n, 2455 HIDDEN: "hidden" + n, 2456 SHOW: "show" + n, 2457 SHOWN: "shown" + n, 2458 CLICK_DATA_API: "click.bs.tab.data-api", 2459 }, 2460 o = "dropdown-menu", 2461 a = "active", 2462 l = "disabled", 2463 h = "fade", 2464 c = "show", 2465 u = ".dropdown", 2466 f = ".nav, .list-group", 2467 d = ".active", 2468 _ = "> li > .active", 2469 g = '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', 2470 p = ".dropdown-toggle", 2471 m = "> .dropdown-menu .active", 2472 v = (function () { 2473 function n(t) { 2474 this._element = t; 2475 } 2476 var i = n.prototype; 2477 return ( 2478 (i.show = function () { 2479 var e = this; 2480 if ( 2481 !( 2482 (this._element.parentNode && 2483 this._element.parentNode.nodeType === Node.ELEMENT_NODE && 2484 t(this._element).hasClass(a)) || 2485 t(this._element).hasClass(l) 2486 ) 2487 ) { 2488 var n, 2489 i, 2490 s = t(this._element).closest(f)[0], 2491 o = P.getSelectorFromElement(this._element); 2492 if (s) { 2493 var h = "UL" === s.nodeName ? _ : d; 2494 i = (i = t.makeArray(t(s).find(h)))[i.length - 1]; 2495 } 2496 var c = t.Event(r.HIDE, { relatedTarget: this._element }), 2497 u = t.Event(r.SHOW, { relatedTarget: i }); 2498 if ( 2499 (i && t(i).trigger(c), 2500 t(this._element).trigger(u), 2501 !u.isDefaultPrevented() && !c.isDefaultPrevented()) 2502 ) { 2503 o && (n = t(o)[0]), this._activate(this._element, s); 2504 var g = function () { 2505 var n = t.Event(r.HIDDEN, { relatedTarget: e._element }), 2506 s = t.Event(r.SHOWN, { relatedTarget: i }); 2507 t(i).trigger(n), t(e._element).trigger(s); 2508 }; 2509 n ? this._activate(n, n.parentNode, g) : g(); 2510 } 2511 } 2512 }), 2513 (i.dispose = function () { 2514 t.removeData(this._element, e), (this._element = null); 2515 }), 2516 (i._activate = function (e, n, i) { 2517 var s = this, 2518 r = ("UL" === n.nodeName ? t(n).find(_) : t(n).children(d))[0], 2519 o = i && P.supportsTransitionEnd() && r && t(r).hasClass(h), 2520 a = function () { 2521 return s._transitionComplete(e, r, i); 2522 }; 2523 r && o 2524 ? t(r).one(P.TRANSITION_END, a).emulateTransitionEnd(150) 2525 : a(); 2526 }), 2527 (i._transitionComplete = function (e, n, i) { 2528 if (n) { 2529 t(n).removeClass(c + " " + a);
2530 var s = t(n.parentNode).find(m)[0]; 2531 s && t(s).removeClass(a), 2532 "tab" === n.getAttribute("role") && 2533 n.setAttribute("aria-selected", !1); 2534 } 2535 if ( 2536 (t(e).addClass(a), 2537 "tab" === e.getAttribute("role") && 2538 e.setAttribute("aria-selected", !0), 2539 P.reflow(e), 2540 t(e).addClass(c), 2541 e.parentNode && t(e.parentNode).hasClass(o)) 2542 ) { 2543 var r = t(e).closest(u)[0]; 2544 r && t(r).find(p).addClass(a), 2545 e.setAttribute("aria-expanded", !0); 2546 } 2547 i && i(); 2548 }), 2549 (n._jQueryInterface = function (i) { 2550 return this.each(function () { 2551 var s = t(this), 2552 r = s.data(e); 2553 if ( 2554 (r || ((r = new n(this)), s.data(e, r)), "string" == typeof i) 2555 ) { 2556 if ("undefined" == typeof r[i]) 2557 throw new TypeError('No method named "' + i + '"'); 2558 r[i](); 2559 } 2560 }); 2561 }), 2562 s(n, null, [ 2563 { 2564 key: "VERSION", 2565 get: function () { 2566 return "4.0.0"; 2567 }, 2568 }, 2569 ]), 2570 n 2571 ); 2572 })(); 2573 return ( 2574 t(document).on(r.CLICK_DATA_API, g, function (e) { 2575 e.preventDefault(), v._jQueryInterface.call(t(this), "show"); 2576 }), 2577 (t.fn.tab = v._jQueryInterface), 2578 (t.fn.tab.Constructor = v), 2579 (t.fn.tab.noConflict = function () { 2580 return (t.fn.tab = i), v._jQueryInterface; 2581 }), 2582 v 2583 ); 2584 })(e); 2585 !(function (t) { 2586 if ("undefined" == typeof t) 2587 throw new TypeError( 2588 "Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript." 2589 ); 2590 var e = t.fn.jquery.split(" ")[0].split("."); 2591 if ( 2592 (e[0] < 2 && e[1] < 9) || 2593 (1 === e[0] && 9 === e[1] && e[2] < 1) || 2594 e[0] >= 4 2595 ) 2596 throw new Error( 2597 "Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0" 2598 ); 2599 })(e), 2600 (t.Util = P), 2601 (t.Alert = L), 2602 (t.Button = R), 2603 (t.Carousel = j), 2604 (t.Collapse = H), 2605 (t.Dropdown = W), 2606 (t.Modal = M), 2607 (t.Popover = x), 2608 (t.Scrollspy = K), 2609 (t.Tab = V), 2610 (t.Tooltip = U), 2611 Object.defineProperty(t, "__esModule", { value: !0 }); 2612}); 2613//# sourceMappingURL=bootstrap.min.js.map
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.