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