3 * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5 */
6!(function (t, e) { 7 typeof exports == "object" && typeof module != "undefined" 8 ? e(exports, require("jquery")) 9 : typeof define == "function" && define.amd 10 ? define(["exports", "jquery"], e) 11 : e( 12 ((t = 13 typeof globalThis != "undefined" 14 ? globalThis 15 : t || self).bootstrap = {}), 16 t.jQuery, 17 ); 18})(this, function (t, e) { 19 "use strict"; 20 function n(t) { 21 return t && typeof t == "object" && "default" in t ? t : { default: t }; 22 } 23 var i = n(e); 24 function o(t, e) { 25 for (var n = 0; n < e.length; n++) { 26 var i = e[n]; 27 (i.enumerable = i.enumerable || !1), 28 (i.configurable = !0), 29 "value" in i && (i.writable = !0), 30 Object.defineProperty(t, i.key, i); 31 } 32 } 33 function r(t, e, n) { 34 return e && o(t.prototype, e), n && o(t, n), t; 35 } 36 function a() { 37 return (a = 38 Object.assign || 39 function (t) { 40 for (var e = 1; e < arguments.length; e++) { 41 var n = arguments[e]; 42 for (var i in n) 43 Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]); 44 } 45 return t; 46 }).apply(this, arguments); 47 } 48 function s(t) { 49 var e = this, 50 n = !1; 51 return ( 52 i.default(this).one(l.TRANSITION_END, function () { 53 n = !0; 54 }), 55 setTimeout(function () { 56 n || l.triggerTransitionEnd(e); 57 }, t), 58 this 59 ); 60 } 61 var l = { 62 TRANSITION_END: "bsTransitionEnd", 63 getUID: function (t) { 64 do { 65 t += ~~(1e6 * Math.random()); 66 } while (document.getElementById(t)); 67 return t; 68 }, 69 getSelectorFromElement: function (t) { 70 var e = t.getAttribute("data-target"); 71 if (!e || e === "#") { 72 var n = t.getAttribute("href"); 73 e = n && n !== "#" ? n.trim() : ""; 74 } 75 try { 76 return document.querySelector(e) ? e : null; 77 } catch (t) { 78 return null; 79 } 80 }, 81 getTransitionDurationFromElement: function (t) { 82 if (!t) return 0; 83 var e = i.default(t).css("transition-duration"), 84 n = i.default(t).css("transition-delay"), 85 o = parseFloat(e), 86 r = parseFloat(n); 87 return o || r 88 ? ((e = e.split(",")[0]), 89 (n = n.split(",")[0]), 90 1e3 * (parseFloat(e) + parseFloat(n))) 91 : 0; 92 }, 93 reflow: function (t) { 94 return t.offsetHeight; 95 }, 96 triggerTransitionEnd: function (t) { 97 i.default(t).trigger("transitionend"); 98 }, 99 supportsTransitionEnd: function () { 100 return Boolean("transitionend"); 101 }, 102 isElement: function (t) { 103 return (t[0] || t).nodeType; 104 }, 105 typeCheckConfig: function (t, e, n) { 106 for (var i in n) 107 if (Object.prototype.hasOwnProperty.call(n, i)) { 108 var o = n[i], 109 r = e[i], 110 a = 111 r && l.isElement(r) 112 ? "element" 113 : (s = r) === null || typeof s == "undefined" 114 ? "" + s 115 : {}.toString 116 .call(s) 117 .match(/\s([a-z]+)/i)[1] 118 .toLowerCase(); 119 if (!new RegExp(o).test(a)) 120 throw new Error( 121 t.toUpperCase() + 122 ': Option "' + 123 i + 124 '" provided type "' + 125 a + 126 '" but expected type "' + 127 o + 128 '".', 129 ); 130 } 131 var s; 132 }, 133 findShadowRoot: function (t) { 134 if (!document.documentElement.attachShadow) return null; 135 if (typeof t.getRootNode == "function") { 136 var e = t.getRootNode(); 137 return e instanceof ShadowRoot ? e : null; 138 } 139 return t instanceof ShadowRoot 140 ? t 141 : t.parentNode 142 ? l.findShadowRoot(t.parentNode) 143 : null; 144 }, 145 jQueryDetection: function () { 146 if (typeof i.default == "undefined") 147 throw new TypeError( 148 "Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.", 149 ); 150 var t = i.default.fn.jquery.split(" ")[0].split("."); 151 if ( 152 (t[0] < 2 && t[1] < 9) || 153 (t[0] === 1 && t[1] === 9 && t[2] < 1) || 154 t[0] >= 4 155 ) 156 throw new Error( 157 "Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0", 158 ); 159 }, 160 }; 161 l.jQueryDetection(), 162 (i.default.fn.emulateTransitionEnd = s), 163 (i.default.event.special[l.TRANSITION_END] = { 164 bindType: "transitionend", 165 delegateType: "transitionend", 166 handle: function (t) { 167 if (i.default(t.target).is(this)) 168 return t.handleObj.handler.apply(this, arguments); 169 }, 170 }); 171 var u = "alert", 172 f = i.default.fn[u], 173 d = (function () { 174 function t(t) { 175 this._element = t; 176 } 177 var e = t.prototype; 178 return ( 179 (e.close = function (t) { 180 var e = this._element; 181 t && (e = this._getRootElement(t)), 182 this._triggerCloseEvent(e).isDefaultPrevented() || 183 this._removeElement(e); 184 }), 185 (e.dispose = function () { 186 i.default.removeData(this._element, "bs.alert"), 187 (this._element = null); 188 }), 189 (e._getRootElement = function (t) { 190 var e = l.getSelectorFromElement(t), 191 n = !1; 192 return ( 193 e && (n = document.querySelector(e)), 194 n || (n = i.default(t).closest(".alert")[0]), 195 n 196 ); 197 }), 198 (e._triggerCloseEvent = function (t) { 199 var e = i.default.Event("close.bs.alert"); 200 return i.default(t).trigger(e), e; 201 }), 202 (e._removeElement = function (t) { 203 var e = this; 204 if ( 205 (i.default(t).removeClass("show"), i.default(t).hasClass("fade")) 206 ) { 207 var n = l.getTransitionDurationFromElement(t); 208 i.default(t) 209 .one(l.TRANSITION_END, function (n) { 210 return e._destroyElement(t, n); 211 }) 212 .emulateTransitionEnd(n); 213 } else this._destroyElement(t); 214 }), 215 (e._destroyElement = function (t) { 216 i.default(t).detach().trigger("closed.bs.alert").remove(); 217 }), 218 (t._jQueryInterface = function (e) { 219 return this.each(function () { 220 var n = i.default(this), 221 o = n.data("bs.alert"); 222 o || ((o = new t(this)), n.data("bs.alert", o)), 223 e === "close" && o[e](this); 224 }); 225 }), 226 (t._handleDismiss = function (t) { 227 return function (e) { 228 e && e.preventDefault(), t.close(this); 229 }; 230 }), 231 r(t, null, [ 232 { 233 key: "VERSION", 234 get: function () { 235 return "4.6.0"; 236 }, 237 }, 238 ]), 239 t 240 ); 241 })(); 242 i 243 .default(document) 244 .on( 245 "click.bs.alert.data-api", 246 '[data-dismiss="alert"]', 247 d._handleDismiss(new d()), 248 ), 249 (i.default.fn[u] = d._jQueryInterface), 250 (i.default.fn[u].Constructor = d), 251 (i.default.fn[u].noConflict = function () { 252 return (i.default.fn[u] = f), d._jQueryInterface; 253 }); 254 var c = i.default.fn.button, 255 h = (function () { 256 function t(t) { 257 (this._element = t), (this.shouldAvoidTriggerChange = !1); 258 } 259 var e = t.prototype; 260 return ( 261 (e.toggle = function () { 262 var t = !0, 263 e = !0, 264 n = i.default(this._element).closest('[data-toggle="buttons"]')[0]; 265 if (n) { 266 var o = this._element.querySelector('input:not([type="hidden"])'); 267 if (o) { 268 if (o.type === "radio") 269 if (o.checked && this._element.classList.contains("active")) 270 t = !1; 271 else { 272 var r = n.querySelector(".active"); 273 r && i.default(r).removeClass("active"); 274 } 275 t && 276 ((o.type !== "checkbox" && o.type !== "radio") || 277 (o.checked = !this._element.classList.contains("active")), 278 this.shouldAvoidTriggerChange || 279 i.default(o).trigger("change")), 280 o.focus(), 281 (e = !1); 282 } 283 } 284 this._element.hasAttribute("disabled") || 285 this._element.classList.contains("disabled") || 286 (e && 287 this._element.setAttribute( 288 "aria-pressed", 289 !this._element.classList.contains("active"), 290 ), 291 t && i.default(this._element).toggleClass("active")); 292 }), 293 (e.dispose = function () { 294 i.default.removeData(this._element, "bs.button"), 295 (this._element = null); 296 }), 297 (t._jQueryInterface = function (e, n) { 298 return this.each(function () { 299 var o = i.default(this), 300 r = o.data("bs.button"); 301 r || ((r = new t(this)), o.data("bs.button", r)), 302 (r.shouldAvoidTriggerChange = n), 303 e === "toggle" && r[e](); 304 }); 305 }), 306 r(t, null, [ 307 { 308 key: "VERSION", 309 get: function () { 310 return "4.6.0"; 311 }, 312 }, 313 ]), 314 t 315 ); 316 })(); 317 i 318 .default(document) 319 .on("click.bs.button.data-api", '[data-toggle^="button"]', function (t) { 320 var e = t.target, 321 n = e; 322 if ( 323 (i.default(e).hasClass("btn") || (e = i.default(e).closest(".btn")[0]), 324 !e || e.hasAttribute("disabled") || e.classList.contains("disabled")) 325 ) 326 t.preventDefault(); 327 else { 328 var o = e.querySelector('input:not([type="hidden"])'); 329 if ( 330 o && 331 (o.hasAttribute("disabled") || o.classList.contains("disabled")) 332 ) 333 return void t.preventDefault(); 334 (n.tagName !== "INPUT" && e.tagName === "LABEL") || 335 h._jQueryInterface.call( 336 i.default(e), 337 "toggle", 338 n.tagName === "INPUT", 339 ); 340 } 341 }) 342 .on( 343 "focus.bs.button.data-api blur.bs.button.data-api", 344 '[data-toggle^="button"]', 345 function (t) { 346 var e = i.default(t.target).closest(".btn")[0]; 347 i.default(e).toggleClass("focus", /^focus(in)?$/.test(t.type)); 348 }, 349 ), 350 i.default(window).on("load.bs.button.data-api", function () { 351 for ( 352 var t = [].slice.call( 353 document.querySelectorAll('[data-toggle="buttons"] .btn'), 354 ), 355 e = 0, 356 n = t.length; 357 e < n; 358 e++ 359 ) { 360 var i = t[e], 361 o = i.querySelector('input:not([type="hidden"])'); 362 o.checked || o.hasAttribute("checked") 363 ? i.classList.add("active") 364 : i.classList.remove("active"); 365 } 366 for ( 367 var r = 0, 368 a = (t = [].slice.call( 369 document.querySelectorAll('[data-toggle="button"]'), 370 )).length; 371 r < a; 372 r++ 373 ) { 374 var s = t[r]; 375 s.getAttribute("aria-pressed") === "true" 376 ? s.classList.add("active") 377 : s.classList.remove("active"); 378 } 379 }), 380 (i.default.fn.button = h._jQueryInterface), 381 (i.default.fn.button.Constructor = h), 382 (i.default.fn.button.noConflict = function () { 383 return (i.default.fn.button = c), h._jQueryInterface; 384 }); 385 var p = "carousel", 386 m = ".bs.carousel", 387 g = i.default.fn[p], 388 v = { 389 interval: 5e3, 390 keyboard: !0, 391 slide: !1, 392 pause: "hover", 393 wrap: !0, 394 touch: !0, 395 }, 396 _ = { 397 interval: "(number|boolean)", 398 keyboard: "boolean", 399 slide: "(boolean|string)", 400 pause: "(string|boolean)", 401 wrap: "boolean", 402 touch: "boolean", 403 }, 404 b = { TOUCH: "touch", PEN: "pen" }, 405 y = (function () { 406 function t(t, e) { 407 (this._items = null), 408 (this._interval = null), 409 (this._activeElement = null), 410 (this._isPaused = !1), 411 (this._isSliding = !1), 412 (this.touchTimeout = null), 413 (this.touchStartX = 0), 414 (this.touchDeltaX = 0), 415 (this._config = this._getConfig(e)), 416 (this._element = t), 417 (this._indicatorsElement = this._element.querySelector( 418 ".carousel-indicators", 419 )), 420 (this._touchSupported = 421 "ontouchstart" in document.documentElement || 422 navigator.maxTouchPoints > 0), 423 (this._pointerEvent = Boolean( 424 window.PointerEvent || window.MSPointerEvent, 425 )), 426 this._addEventListeners(); 427 } 428 var e = t.prototype; 429 return ( 430 (e.next = function () { 431 this._isSliding || this._slide("next"); 432 }), 433 (e.nextWhenVisible = function () { 434 var t = i.default(this._element); 435 !document.hidden && 436 t.is(":visible") && 437 t.css("visibility") !== "hidden" && 438 this.next(); 439 }), 440 (e.prev = function () { 441 this._isSliding || this._slide("prev"); 442 }), 443 (e.pause = function (t) { 444 t || (this._isPaused = !0), 445 this._element.querySelector( 446 ".carousel-item-next, .carousel-item-prev", 447 ) && (l.triggerTransitionEnd(this._element), this.cycle(!0)), 448 clearInterval(this._interval), 449 (this._interval = null); 450 }), 451 (e.cycle = function (t) { 452 t || (this._isPaused = !1), 453 this._interval && 454 (clearInterval(this._interval), (this._interval = null)), 455 this._config.interval && 456 !this._isPaused && 457 (this._updateInterval(), 458 (this._interval = setInterval( 459 (document.visibilityState 460 ? this.nextWhenVisible 461 : this.next 462 ).bind(this), 463 this._config.interval, 464 ))); 465 }), 466 (e.to = function (t) { 467 var e = this; 468 this._activeElement = this._element.querySelector( 469 ".active.carousel-item", 470 ); 471 var n = this._getItemIndex(this._activeElement); 472 if (!(t > this._items.length - 1 || t < 0)) 473 if (this._isSliding) 474 i.default(this._element).one("slid.bs.carousel", function () { 475 return e.to(t); 476 }); 477 else { 478 if (n === t) return this.pause(), void this.cycle(); 479 var o = t > n ? "next" : "prev"; 480 this._slide(o, this._items[t]); 481 } 482 }), 483 (e.dispose = function () { 484 i.default(this._element).off(m), 485 i.default.removeData(this._element, "bs.carousel"), 486 (this._items = null), 487 (this._config = null), 488 (this._element = null), 489 (this._interval = null), 490 (this._isPaused = null), 491 (this._isSliding = null), 492 (this._activeElement = null), 493 (this._indicatorsElement = null); 494 }), 495 (e._getConfig = function (t) { 496 return (t = a({}, v, t)), l.typeCheckConfig(p, t, _), t; 497 }), 498 (e._handleSwipe = function () { 499 var t = Math.abs(this.touchDeltaX); 500 if (!(t <= 40)) { 501 var e = t / this.touchDeltaX; 502 (this.touchDeltaX = 0), e > 0 && this.prev(), e < 0 && this.next(); 503 } 504 }), 505 (e._addEventListeners = function () { 506 var t = this; 507 this._config.keyboard && 508 i.default(this._element).on("keydown.bs.carousel", function (e) { 509 return t._keydown(e); 510 }), 511 this._config.pause === "hover" && 512 i 513 .default(this._element) 514 .on("mouseenter.bs.carousel", function (e) { 515 return t.pause(e); 516 }) 517 .on("mouseleave.bs.carousel", function (e) { 518 return t.cycle(e); 519 }), 520 this._config.touch && this._addTouchEventListeners(); 521 }), 522 (e._addTouchEventListeners = function () { 523 var t = this; 524 if (this._touchSupported) { 525 var e = function (e) { 526 t._pointerEvent && b[e.originalEvent.pointerType.toUpperCase()] 527 ? (t.touchStartX = e.originalEvent.clientX) 528 : t._pointerEvent || 529 (t.touchStartX = e.originalEvent.touches[0].clientX); 530 }, 531 n = function (e) { 532 t._pointerEvent && 533 b[e.originalEvent.pointerType.toUpperCase()] && 534 (t.touchDeltaX = e.originalEvent.clientX - t.touchStartX), 535 t._handleSwipe(), 536 t._config.pause === "hover" && 537 (t.pause(), 538 t.touchTimeout && clearTimeout(t.touchTimeout), 539 (t.touchTimeout = setTimeout(function (e) { 540 return t.cycle(e); 541 }, 500 + t._config.interval))); 542 }; 543 i 544 .default(this._element.querySelectorAll(".carousel-item img")) 545 .on("dragstart.bs.carousel", function (t) { 546 return t.preventDefault(); 547 }), 548 this._pointerEvent 549 ? (i 550 .default(this._element) 551 .on("pointerdown.bs.carousel", function (t) { 552 return e(t); 553 }), 554 i 555 .default(this._element) 556 .on("pointerup.bs.carousel", function (t) { 557 return n(t); 558 }), 559 this._element.classList.add("pointer-event")) 560 : (i 561 .default(this._element) 562 .on("touchstart.bs.carousel", function (t) { 563 return e(t); 564 }), 565 i 566 .default(this._element) 567 .on("touchmove.bs.carousel", function (e) { 568 return (function (e) { 569 e.originalEvent.touches && 570 e.originalEvent.touches.length > 1 571 ? (t.touchDeltaX = 0) 572 : (t.touchDeltaX = 573 e.originalEvent.touches[0].clientX - 574 t.touchStartX); 575 })(e); 576 }), 577 i 578 .default(this._element) 579 .on("touchend.bs.carousel", function (t) { 580 return n(t); 581 })); 582 } 583 }), 584 (e._keydown = function (t) { 585 if (!/input|textarea/i.test(t.target.tagName)) 586 switch (t.which) { 587 case 37: 588 t.preventDefault(), this.prev(); 589 break; 590 case 39: 591 t.preventDefault(), this.next(); 592 } 593 }), 594 (e._getItemIndex = function (t) { 595 return ( 596 (this._items = 597 t && t.parentNode 598 ? [].slice.call(t.parentNode.querySelectorAll(".carousel-item")) 599 : []), 600 this._items.indexOf(t) 601 ); 602 }), 603 (e._getItemByDirection = function (t, e) { 604 var n = t === "next", 605 i = t === "prev", 606 o = this._getItemIndex(e), 607 r = this._items.length - 1; 608 if (((i && o === 0) || (n && o === r)) && !this._config.wrap) 609 return e; 610 var a = (o + (t === "prev" ? -1 : 1)) % this._items.length; 611 return a === -1 612 ? this._items[this._items.length - 1] 613 : this._items[a]; 614 }), 615 (e._triggerSlideEvent = function (t, e) { 616 var n = this._getItemIndex(t), 617 o = this._getItemIndex( 618 this._element.querySelector(".active.carousel-item"), 619 ), 620 r = i.default.Event("slide.bs.carousel", { 621 relatedTarget: t, 622 direction: e, 623 from: o, 624 to: n, 625 }); 626 return i.default(this._element).trigger(r), r; 627 }), 628 (e._setActiveIndicatorElement = function (t) { 629 if (this._indicatorsElement) { 630 var e = [].slice.call( 631 this._indicatorsElement.querySelectorAll(".active"), 632 ); 633 i.default(e).removeClass("active"); 634 var n = this._indicatorsElement.children[this._getItemIndex(t)]; 635 n && i.default(n).addClass("active"); 636 } 637 }), 638 (e._updateInterval = function () { 639 var t = 640 this._activeElement || 641 this._element.querySelector(".active.carousel-item"); 642 if (t) { 643 var e = parseInt(t.getAttribute("data-interval"), 10); 644 e 645 ? ((this._config.defaultInterval = 646 this._config.defaultInterval || this._config.interval), 647 (this._config.interval = e)) 648 : (this._config.interval = 649 this._config.defaultInterval || this._config.interval); 650 } 651 }), 652 (e._slide = function (t, e) { 653 var n, 654 o, 655 r, 656 a = this, 657 s = this._element.querySelector(".active.carousel-item"), 658 u = this._getItemIndex(s), 659 f = e || (s && this._getItemByDirection(t, s)), 660 d = this._getItemIndex(f), 661 c = Boolean(this._interval); 662 if ( 663 (t === "next" 664 ? ((n = "carousel-item-left"), 665 (o = "carousel-item-next"), 666 (r = "left")) 667 : ((n = "carousel-item-right"), 668 (o = "carousel-item-prev"), 669 (r = "right")), 670 f && i.default(f).hasClass("active")) 671 ) 672 this._isSliding = !1; 673 else if ( 674 !this._triggerSlideEvent(f, r).isDefaultPrevented() && 675 s && 676 f 677 ) { 678 (this._isSliding = !0), 679 c && this.pause(), 680 this._setActiveIndicatorElement(f), 681 (this._activeElement = f); 682 var h = i.default.Event("slid.bs.carousel", { 683 relatedTarget: f, 684 direction: r, 685 from: u, 686 to: d, 687 }); 688 if (i.default(this._element).hasClass("slide")) { 689 i.default(f).addClass(o), 690 l.reflow(f), 691 i.default(s).addClass(n), 692 i.default(f).addClass(n); 693 var p = l.getTransitionDurationFromElement(s); 694 i.default(s) 695 .one(l.TRANSITION_END, function () { 696 i 697 .default(f) 698 .removeClass(n + " " + o) 699 .addClass("active"), 700 i.default(s).removeClass("active " + o + " " + n), 701 (a._isSliding = !1), 702 setTimeout(function () { 703 return i.default(a._element).trigger(h); 704 }, 0); 705 }) 706 .emulateTransitionEnd(p); 707 } else 708 i.default(s).removeClass("active"), 709 i.default(f).addClass("active"), 710 (this._isSliding = !1), 711 i.default(this._element).trigger(h); 712 c && this.cycle(); 713 } 714 }), 715 (t._jQueryInterface = function (e) { 716 return this.each(function () { 717 var n = i.default(this).data("bs.carousel"), 718 o = a({}, v, i.default(this).data()); 719 typeof e == "object" && (o = a({}, o, e)); 720 var r = typeof e == "string" ? e : o.slide; 721 if ( 722 (n || 723 ((n = new t(this, o)), i.default(this).data("bs.carousel", n)), 724 typeof e == "number") 725 ) 726 n.to(e); 727 else if (typeof r == "string") { 728 if (typeof n[r] == "undefined") 729 throw new TypeError('No method named "' + r + '"'); 730 n[r](); 731 } else o.interval && o.ride && (n.pause(), n.cycle()); 732 }); 733 }), 734 (t._dataApiClickHandler = function (e) { 735 var n = l.getSelectorFromElement(this); 736 if (n) { 737 var o = i.default(n)[0]; 738 if (o && i.default(o).hasClass("carousel")) { 739 var r = a({}, i.default(o).data(), i.default(this).data()), 740 s = this.getAttribute("data-slide-to"); 741 s && (r.interval = !1), 742 t._jQueryInterface.call(i.default(o), r), 743 s && i.default(o).data("bs.carousel").to(s), 744 e.preventDefault(); 745 } 746 } 747 }), 748 r(t, null, [ 749 { 750 key: "VERSION", 751 get: function () { 752 return "4.6.0"; 753 }, 754 }, 755 { 756 key: "Default", 757 get: function () { 758 return v; 759 }, 760 }, 761 ]), 762 t 763 ); 764 })(); 765 i 766 .default(document) 767 .on( 768 "click.bs.carousel.data-api", 769 "[data-slide], [data-slide-to]", 770 y._dataApiClickHandler, 771 ), 772 i.default(window).on("load.bs.carousel.data-api", function () { 773 for ( 774 var t = [].slice.call( 775 document.querySelectorAll('[data-ride="carousel"]'), 776 ), 777 e = 0, 778 n = t.length; 779 e < n; 780 e++ 781 ) { 782 var o = i.default(t[e]); 783 y._jQueryInterface.call(o, o.data()); 784 } 785 }), 786 (i.default.fn[p] = y._jQueryInterface), 787 (i.default.fn[p].Constructor = y), 788 (i.default.fn[p].noConflict = function () { 789 return (i.default.fn[p] = g), y._jQueryInterface; 790 }); 791 var w = "collapse", 792 E = i.default.fn[w], 793 T = { toggle: !0, parent: "" }, 794 C = { toggle: "boolean", parent: "(string|element)" }, 795 S = (function () { 796 function t(t, e) { 797 (this._isTransitioning = !1), 798 (this._element = t), 799 (this._config = this._getConfig(e)), 800 (this._triggerArray = [].slice.call( 801 document.querySelectorAll( 802 '[data-toggle="collapse"][href="#' + 803 t.id + 804 '"],[data-toggle="collapse"][data-target="#' + 805 t.id + 806 '"]', 807 ), 808 )); 809 for ( 810 var n = [].slice.call( 811 document.querySelectorAll('[data-toggle="collapse"]'), 812 ), 813 i = 0, 814 o = n.length; 815 i < o; 816 i++ 817 ) { 818 var r = n[i], 819 a = l.getSelectorFromElement(r), 820 s = [].slice 821 .call(document.querySelectorAll(a)) 822 .filter(function (e) { 823 return e === t; 824 }); 825 a !== null && 826 s.length > 0 && 827 ((this._selector = a), this._triggerArray.push(r)); 828 } 829 (this._parent = this._config.parent ? this._getParent() : null), 830 this._config.parent || 831 this._addAriaAndCollapsedClass(this._element, this._triggerArray), 832 this._config.toggle && this.toggle(); 833 } 834 var e = t.prototype; 835 return ( 836 (e.toggle = function () { 837 i.default(this._element).hasClass("show") ? this.hide() : this.show(); 838 }), 839 (e.show = function () { 840 var e, 841 n, 842 o = this; 843 if ( 844 !this._isTransitioning && 845 !i.default(this._element).hasClass("show") && 846 (this._parent && 847 (e = [].slice 848 .call(this._parent.querySelectorAll(".show, .collapsing")) 849 .filter(function (t) { 850 return typeof o._config.parent == "string" 851 ? t.getAttribute("data-parent") === o._config.parent 852 : t.classList.contains("collapse"); 853 })).length === 0 && 854 (e = null), 855 !( 856 e && 857 (n = i.default(e).not(this._selector).data("bs.collapse")) && 858 n._isTransitioning 859 )) 860 ) { 861 var r = i.default.Event("show.bs.collapse"); 862 if ( 863 (i.default(this._element).trigger(r), !r.isDefaultPrevented()) 864 ) { 865 e && 866 (t._jQueryInterface.call( 867 i.default(e).not(this._selector), 868 "hide", 869 ), 870 n || i.default(e).data("bs.collapse", null)); 871 var a = this._getDimension(); 872 i 873 .default(this._element) 874 .removeClass("collapse") 875 .addClass("collapsing"), 876 (this._element.style[a] = 0), 877 this._triggerArray.length && 878 i 879 .default(this._triggerArray) 880 .removeClass("collapsed") 881 .attr("aria-expanded", !0), 882 this.setTransitioning(!0); 883 var s = "scroll" + (a[0].toUpperCase() + a.slice(1)), 884 u = l.getTransitionDurationFromElement(this._element); 885 i 886 .default(this._element) 887 .one(l.TRANSITION_END, function () { 888 i 889 .default(o._element) 890 .removeClass("collapsing") 891 .addClass("collapse show"), 892 (o._element.style[a] = ""), 893 o.setTransitioning(!1), 894 i.default(o._element).trigger("shown.bs.collapse"); 895 }) 896 .emulateTransitionEnd(u), 897 (this._element.style[a] = this._element[s] + "px"); 898 } 899 } 900 }), 901 (e.hide = function () { 902 var t = this; 903 if ( 904 !this._isTransitioning && 905 i.default(this._element).hasClass("show") 906 ) { 907 var e = i.default.Event("hide.bs.collapse"); 908 if ( 909 (i.default(this._element).trigger(e), !e.isDefaultPrevented()) 910 ) { 911 var n = this._getDimension(); 912 (this._element.style[n] = 913 this._element.getBoundingClientRect()[n] + "px"), 914 l.reflow(this._element), 915 i 916 .default(this._element) 917 .addClass("collapsing") 918 .removeClass("collapse show"); 919 var o = this._triggerArray.length; 920 if (o > 0) 921 for (var r = 0; r < o; r++) { 922 var a = this._triggerArray[r], 923 s = l.getSelectorFromElement(a); 924 if (s !== null) 925 i 926 .default([].slice.call(document.querySelectorAll(s))) 927 .hasClass("show") || 928 i 929 .default(a) 930 .addClass("collapsed") 931 .attr("aria-expanded", !1); 932 } 933 this.setTransitioning(!0); 934 this._element.style[n] = ""; 935 var u = l.getTransitionDurationFromElement(this._element); 936 i.default(this._element) 937 .one(l.TRANSITION_END, function () { 938 t.setTransitioning(!1), 939 i 940 .default(t._element) 941 .removeClass("collapsing") 942 .addClass("collapse") 943 .trigger("hidden.bs.collapse"); 944 }) 945 .emulateTransitionEnd(u); 946 } 947 } 948 }), 949 (e.setTransitioning = function (t) { 950 this._isTransitioning = t; 951 }), 952 (e.dispose = function () { 953 i.default.removeData(this._element, "bs.collapse"), 954 (this._config = null), 955 (this._parent = null), 956 (this._element = null), 957 (this._triggerArray = null), 958 (this._isTransitioning = null); 959 }), 960 (e._getConfig = function (t) { 961 return ( 962 ((t = a({}, T, t)).toggle = Boolean(t.toggle)), 963 l.typeCheckConfig(w, t, C), 964 t 965 ); 966 }), 967 (e._getDimension = function () { 968 return i.default(this._element).hasClass("width") 969 ? "width" 970 : "height"; 971 }), 972 (e._getParent = function () { 973 var e, 974 n = this; 975 l.isElement(this._config.parent) 976 ? ((e = this._config.parent), 977 typeof this._config.parent.jquery != "undefined" && 978 (e = this._config.parent[0])) 979 : (e = document.querySelector(this._config.parent)); 980 var o = 981 '[data-toggle="collapse"][data-parent="' + 982 this._config.parent + 983 '"]', 984 r = [].slice.call(e.querySelectorAll(o)); 985 return ( 986 i.default(r).each(function (e, i) { 987 n._addAriaAndCollapsedClass(t._getTargetFromElement(i), [i]); 988 }), 989 e 990 ); 991 }), 992 (e._addAriaAndCollapsedClass = function (t, e) { 993 var n = i.default(t).hasClass("show"); 994 e.length && 995 i.default(e).toggleClass("collapsed", !n).attr("aria-expanded", n); 996 }), 997 (t._getTargetFromElement = function (t) { 998 var e = l.getSelectorFromElement(t); 999 return e ? document.querySelector(e) : null;1000 }),1001 (t._jQueryInterface = function (e) {1002 return this.each(function () {1003 var n = i.default(this),1004 o = n.data("bs.collapse"),1005 r = a({}, T, n.data(), typeof e == "object" && e ? e : {});1006 if (1007 (!o &&1008 r.toggle &&1009 typeof e == "string" &&1010 /show|hide/.test(e) &&1011 (r.toggle = !1),1012 o || ((o = new t(this, r)), n.data("bs.collapse", o)),1013 typeof e == "string")1014 ) {1015 if (typeof o[e] == "undefined")1016 throw new TypeError('No method named "' + e + '"');1017 o[e]();1018 }1019 });1020 }),1021 r(t, null, [1022 {1023 key: "VERSION",1024 get: function () {1025 return "4.6.0";1026 },1027 },1028 {1029 key: "Default",1030 get: function () {1031 return T;1032 },1033 },1034 ]),1035 t1036 );1037 })();1038 i1039 .default(document)1040 .on("click.bs.collapse.data-api", '[data-toggle="collapse"]', function (t) {1041 t.currentTarget.tagName === "A" && t.preventDefault();1042 var e = i.default(this),1043 n = l.getSelectorFromElement(this),1044 o = [].slice.call(document.querySelectorAll(n));1045 i.default(o).each(function () {1046 var t = i.default(this),1047 n = t.data("bs.collapse") ? "toggle" : e.data();1048 S._jQueryInterface.call(t, n);1049 });1050 }),1051 (i.default.fn[w] = S._jQueryInterface),1052 (i.default.fn[w].Constructor = S),1053 (i.default.fn[w].noConflict = function () {1054 return (i.default.fn[w] = E), S._jQueryInterface;1055 });1056 var D =1057 typeof window != "undefined" &&1058 typeof document != "undefined" &&1059 typeof navigator != "undefined",1060 N = (function () {1061 for (var t = ["Edge", "Trident", "Firefox"], e = 0; e < t.length; e += 1)1062 if (D && navigator.userAgent.indexOf(t[e]) >= 0) return 1;1063 return 0;1064 })();1065 var k =1066 D && window.Promise1067 ? function (t) {1068 var e = !1;1069 return function () {1070 e ||1071 ((e = !0),1072 window.Promise.resolve().then(function () {1073 (e = !1), t();1074 }));1075 };1076 }1077 : function (t) {1078 var e = !1;1079 return function () {1080 e ||1081 ((e = !0),1082 setTimeout(function () {1083 (e = !1), t();1084 }, N));1085 };1086 };1087 function A(t) {1088 return t && {}.toString.call(t) === "[object Function]";1089 }1090 function I(t, e) {1091 if (t.nodeType !== 1) return [];1092 var n = t.ownerDocument.defaultView.getComputedStyle(t, null);1093 return e ? n[e] : n;1094 }1095 function O(t) {1096 return t.nodeName === "HTML" ? t : t.parentNode || t.host;1097 }1098 function x(t) {1099 if (!t) return document.body;1100 switch (t.nodeName) {1101 case "HTML":1102 case "BODY":1103 return t.ownerDocument.body;1104 case "#document":1105 return t.body;1106 }1107 var e = I(t),1108 n = e.overflow,1109 i = e.overflowX,1110 o = e.overflowY;1111 return /(auto|scroll|overlay)/.test(n + o + i) ? t : x(O(t));1112 }1113 function j(t) {1114 return t && t.referenceNode ? t.referenceNode : t;1115 }1116 var L = D && !(!window.MSInputMethodContext || !document.documentMode),1117 P = D && /MSIE 10/.test(navigator.userAgent);1118 function F(t) {1119 return t === 11 ? L : t === 10 ? P : L || P;1120 }1121 function R(t) {1122 if (!t) return document.documentElement;1123 for (1124 var e = F(10) ? document.body : null, n = t.offsetParent || null;1125 n === e && t.nextElementSibling;11261127 )1128 n = (t = t.nextElementSibling).offsetParent;1129 var i = n && n.nodeName;1130 return i && i !== "BODY" && i !== "HTML"1131 ? ["TH", "TD", "TABLE"].indexOf(n.nodeName) !== -1 &&1132 I(n, "position") === "static"1133 ? R(n)1134 : n1135 : t1136 ? t.ownerDocument.documentElement1137 : document.documentElement;1138 }1139 function H(t) {1140 return t.parentNode !== null ? H(t.parentNode) : t;1141 }1142 function M(t, e) {1143 if (!(t && t.nodeType && e && e.nodeType)) return document.documentElement;1144 var n = t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING,1145 i = n ? t : e,1146 o = n ? e : t,1147 r = document.createRange();1148 r.setStart(i, 0), r.setEnd(o, 0);1149 var a,1150 s,1151 l = r.commonAncestorContainer;1152 if ((t !== l && e !== l) || i.contains(o))1153 return (s = (a = l).nodeName) === "BODY" ||1154 (s !== "HTML" && R(a.firstElementChild) !== a)1155 ? R(l)1156 : l;1157 var u = H(t);1158 return u.host ? M(u.host, e) : M(t, H(e).host);1159 }1160 function q(t) {1161 var e =1162 arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "top",1163 n = e === "top" ? "scrollTop" : "scrollLeft",1164 i = t.nodeName;1165 if (i === "BODY" || i === "HTML") {1166 var o = t.ownerDocument.documentElement,1167 r = t.ownerDocument.scrollingElement || o;1168 return r[n];1169 }1170 return t[n];1171 }1172 function B(t, e) {1173 var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],1174 i = q(e, "top"),1175 o = q(e, "left"),1176 r = n ? -1 : 1;1177 return (1178 (t.top += i * r),1179 (t.bottom += i * r),1180 (t.left += o * r),1181 (t.right += o * r),1182 t1183 );1184 }1185 function Q(t, e) {1186 var n = e === "x" ? "Left" : "Top",1187 i = n === "Left" ? "Right" : "Bottom";1188 return (1189 parseFloat(t["border" + n + "Width"]) +1190 parseFloat(t["border" + i + "Width"])1191 );1192 }1193 function W(t, e, n, i) {1194 return Math.max(1195 e["offset" + t],1196 e["scroll" + t],1197 n["client" + t],1198 n["offset" + t],1199 n["scroll" + t],1200 F(10)1201 ? parseInt(n["offset" + t]) +1202 parseInt(i["margin" + (t === "Height" ? "Top" : "Left")]) +1203 parseInt(i["margin" + (t === "Height" ? "Bottom" : "Right")])1204 : 0,1205 );1206 }1207 function U(t) {1208 var e = t.body,1209 n = t.documentElement,1210 i = F(10) && getComputedStyle(n);1211 return { height: W("Height", e, n, i), width: W("Width", e, n, i) };1212 }1213 var V = function (t, e) {1214 if (!(t instanceof e))1215 throw new TypeError("Cannot call a class as a function");1216 },1217 Y = (function () {1218 function t(t, e) {1219 for (var n = 0; n < e.length; n++) {1220 var i = e[n];1221 (i.enumerable = i.enumerable || !1),1222 (i.configurable = !0),1223 "value" in i && (i.writable = !0),1224 Object.defineProperty(t, i.key, i);1225 }1226 }1227 return function (e, n, i) {1228 return n && t(e.prototype, n), i && t(e, i), e;1229 };1230 })(),1231 z = function (t, e, n) {1232 return (1233 e in t1234 ? Object.defineProperty(t, e, {1235 value: n,1236 enumerable: !0,1237 configurable: !0,1238 writable: !0,1239 })1240 : (t[e] = n),1241 t1242 );1243 },1244 X =1245 Object.assign ||1246 function (t) {1247 for (var e = 1; e < arguments.length; e++) {1248 var n = arguments[e];1249 for (var i in n)1250 Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);1251 }1252 return t;1253 };1254 function K(t) {1255 return X({}, t, { right: t.left + t.width, bottom: t.top + t.height });1256 }1257 function G(t) {1258 var e = {};1259 try {1260 if (F(10)) {1261 e = t.getBoundingClientRect();1262 var n = q(t, "top"),1263 i = q(t, "left");1264 (e.top += n), (e.left += i), (e.bottom += n), (e.right += i);1265 } else e = t.getBoundingClientRect();1266 } catch (t) {}1267 var o = {1268 left: e.left,1269 top: e.top,1270 width: e.right - e.left,1271 height: e.bottom - e.top,1272 },1273 r = t.nodeName === "HTML" ? U(t.ownerDocument) : {},1274 a = r.width || t.clientWidth || o.width,1275 s = r.height || t.clientHeight || o.height,1276 l = t.offsetWidth - a,1277 u = t.offsetHeight - s;1278 if (l || u) {1279 var f = I(t);1280 (l -= Q(f, "x")), (u -= Q(f, "y")), (o.width -= l), (o.height -= u);1281 }1282 return K(o);1283 }1284 function $(t, e) {1285 var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],1286 i = F(10),1287 o = e.nodeName === "HTML",1288 r = G(t),1289 a = G(e),1290 s = x(t),1291 l = I(e),1292 u = parseFloat(l.borderTopWidth),1293 f = parseFloat(l.borderLeftWidth);1294 n && o && ((a.top = Math.max(a.top, 0)), (a.left = Math.max(a.left, 0)));1295 var d = K({1296 top: r.top - a.top - u,1297 left: r.left - a.left - f,1298 width: r.width,1299 height: r.height,1300 });1301 if (((d.marginTop = 0), (d.marginLeft = 0), !i && o)) {1302 var c = parseFloat(l.marginTop),1303 h = parseFloat(l.marginLeft);1304 (d.top -= u - c),1305 (d.bottom -= u - c),1306 (d.left -= f - h),1307 (d.right -= f - h),1308 (d.marginTop = c),1309 (d.marginLeft = h);1310 }1311 return (1312 (i && !n ? e.contains(s) : e === s && s.nodeName !== "BODY") &&1313 (d = B(d, e)),1314 d1315 );1316 }1317 function J(t) {1318 var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],1319 n = t.ownerDocument.documentElement,1320 i = $(t, n),1321 o = Math.max(n.clientWidth, window.innerWidth || 0),1322 r = Math.max(n.clientHeight, window.innerHeight || 0),1323 a = e ? 0 : q(n),1324 s = e ? 0 : q(n, "left"),1325 l = {1326 top: a - i.top + i.marginTop,1327 left: s - i.left + i.marginLeft,1328 width: o,1329 height: r,1330 };1331 return K(l);1332 }1333 function Z(t) {1334 var e = t.nodeName;1335 if (e === "BODY" || e === "HTML") return !1;1336 if (I(t, "position") === "fixed") return !0;1337 var n = O(t);1338 return !!n && Z(n);1339 }1340 function tt(t) {1341 if (!t || !t.parentElement || F()) return document.documentElement;1342 for (var e = t.parentElement; e && I(e, "transform") === "none"; )1343 e = e.parentElement;1344 return e || document.documentElement;1345 }1346 function et(t, e, n, i) {1347 var o = arguments.length > 4 && void 0 !== arguments[4] && arguments[4],1348 r = { top: 0, left: 0 },1349 a = o ? tt(t) : M(t, j(e));1350 if (i === "viewport") r = J(a, o);1351 else {1352 var s = void 0;1353 i === "scrollParent"1354 ? (s = x(O(e))).nodeName === "BODY" &&1355 (s = t.ownerDocument.documentElement)1356 : (s = i === "window" ? t.ownerDocument.documentElement : i);1357 var l = $(s, a, o);1358 if (s.nodeName !== "HTML" || Z(a)) r = l;1359 else {1360 var u = U(t.ownerDocument),1361 f = u.height,1362 d = u.width;1363 (r.top += l.top - l.marginTop),1364 (r.bottom = f + l.top),1365 (r.left += l.left - l.marginLeft),1366 (r.right = d + l.left);1367 }1368 }1369 var c = typeof (n = n || 0) == "number";1370 return (1371 (r.left += c ? n : n.left || 0),1372 (r.top += c ? n : n.top || 0),1373 (r.right -= c ? n : n.right || 0),1374 (r.bottom -= c ? n : n.bottom || 0),1375 r1376 );1377 }1378 function nt(t) {1379 return t.width * t.height;1380 }1381 function it(t, e, n, i, o) {1382 var r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0;1383 if (t.indexOf("auto") === -1) return t;1384 var a = et(n, i, r, o),1385 s = {1386 top: { width: a.width, height: e.top - a.top },1387 right: { width: a.right - e.right, height: a.height },1388 bottom: { width: a.width, height: a.bottom - e.bottom },1389 left: { width: e.left - a.left, height: a.height },1390 },1391 l = Object.keys(s)1392 .map(function (t) {1393 return X({ key: t }, s[t], { area: nt(s[t]) });1394 })1395 .sort(function (t, e) {1396 return e.area - t.area;1397 }),1398 u = l.filter(function (t) {1399 var e = t.width,1400 i = t.height;1401 return e >= n.clientWidth && i >= n.clientHeight;1402 }),1403 f = u.length > 0 ? u[0].key : l[0].key,1404 d = t.split("-")[1];1405 return f + (d ? "-" + d : "");1406 }1407 function ot(t, e, n) {1408 var i =1409 arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null,1410 o = i ? tt(e) : M(e, j(n));1411 return $(n, o, i);1412 }1413 function rt(t) {1414 var e = t.ownerDocument.defaultView.getComputedStyle(t),1415 n = parseFloat(e.marginTop || 0) + parseFloat(e.marginBottom || 0),1416 i = parseFloat(e.marginLeft || 0) + parseFloat(e.marginRight || 0);1417 return { width: t.offsetWidth + i, height: t.offsetHeight + n };1418 }1419 function at(t) {1420 var e = { left: "right", right: "left", bottom: "top", top: "bottom" };1421 return t.replace(/left|right|bottom|top/g, function (t) {1422 return e[t];1423 });1424 }1425 function st(t, e, n) {1426 n = n.split("-")[0];1427 var i = rt(t),1428 o = { width: i.width, height: i.height },1429 r = ["right", "left"].indexOf(n) !== -1,1430 a = r ? "top" : "left",1431 s = r ? "left" : "top",1432 l = r ? "height" : "width",1433 u = r ? "width" : "height";1434 return (1435 (o[a] = e[a] + e[l] / 2 - i[l] / 2),1436 (o[s] = n === s ? e[s] - i[u] : e[at(s)]),1437 o1438 );1439 }1440 function lt(t, e) {1441 return Array.prototype.find ? t.find(e) : t.filter(e)[0];1442 }1443 function ut(t, e, n) {1444 return (1445 (void 0 === n1446 ? t1447 : t.slice(1448 0,1449 (function (t, e, n) {1450 if (Array.prototype.findIndex)1451 return t.findIndex(function (t) {1452 return t[e] === n;1453 });1454 var i = lt(t, function (t) {1455 return t[e] === n;1456 });1457 return t.indexOf(i);1458 })(t, "name", n),1459 )1460 ).forEach(function (t) {1461 t.function &&1462 console.warn("`modifier.function` is deprecated, use `modifier.fn`!");1463 var n = t.function || t.fn;1464 t.enabled &&1465 A(n) &&1466 ((e.offsets.popper = K(e.offsets.popper)),1467 (e.offsets.reference = K(e.offsets.reference)),1468 (e = n(e, t)));1469 }),1470 e1471 );1472 }1473 function ft() {1474 if (!this.state.isDestroyed) {1475 var t = {1476 instance: this,1477 styles: {},1478 arrowStyles: {},1479 attributes: {},1480 flipped: !1,1481 offsets: {},1482 };1483 (t.offsets.reference = ot(1484 this.state,1485 this.popper,1486 this.reference,1487 this.options.positionFixed,1488 )),1489 (t.placement = it(1490 this.options.placement,1491 t.offsets.reference,1492 this.popper,1493 this.reference,1494 this.options.modifiers.flip.boundariesElement,1495 this.options.modifiers.flip.padding,1496 )),1497 (t.originalPlacement = t.placement),1498 (t.positionFixed = this.options.positionFixed),1499 (t.offsets.popper = st(this.popper, t.offsets.reference, t.placement)),1500 (t.offsets.popper.position = this.options.positionFixed1501 ? "fixed"1502 : "absolute"),1503 (t = ut(this.modifiers, t)),1504 this.state.isCreated1505 ? this.options.onUpdate(t)1506 : ((this.state.isCreated = !0), this.options.onCreate(t));1507 }1508 }1509 function dt(t, e) {1510 return t.some(function (t) {1511 var n = t.name;1512 return t.enabled && n === e;1513 });1514 }1515 function ct(t) {1516 for (1517 var e = [!1, "ms", "Webkit", "Moz", "O"],1518 n = t.charAt(0).toUpperCase() + t.slice(1),1519 i = 0;1520 i < e.length;1521 i++1522 ) {1523 var o = e[i],1524 r = o ? "" + o + n : t;1525 if (typeof document.body.style[r] != "undefined") return r;1526 }1527 return null;1528 }1529 function ht() {1530 return (1531 (this.state.isDestroyed = !0),1532 dt(this.modifiers, "applyStyle") &&1533 (this.popper.removeAttribute("x-placement"),1534 (this.popper.style.position = ""),1535 (this.popper.style.top = ""),1536 (this.popper.style.left = ""),1537 (this.popper.style.right = ""),1538 (this.popper.style.bottom = ""),1539 (this.popper.style.willChange = ""),1540 (this.popper.style[ct("transform")] = "")),1541 this.disableEventListeners(),1542 this.options.removeOnDestroy &&1543 this.popper.parentNode.removeChild(this.popper),1544 this1545 );1546 }1547 function pt(t) {1548 var e = t.ownerDocument;1549 return e ? e.defaultView : window;1550 }1551 function mt(t, e, n, i) {1552 (n.updateBound = i),1553 pt(t).addEventListener("resize", n.updateBound, { passive: !0 });1554 var o = x(t);1555 return (1556 (function t(e, n, i, o) {1557 var r = e.nodeName === "BODY",1558 a = r ? e.ownerDocument.defaultView : e;1559 a.addEventListener(n, i, { passive: !0 }),1560 r || t(x(a.parentNode), n, i, o),1561 o.push(a);1562 })(o, "scroll", n.updateBound, n.scrollParents),1563 (n.scrollElement = o),1564 (n.eventsEnabled = !0),1565 n1566 );1567 }1568 function gt() {1569 this.state.eventsEnabled ||1570 (this.state = mt(1571 this.reference,1572 this.options,1573 this.state,1574 this.scheduleUpdate,1575 ));1576 }1577 function vt() {1578 var t, e;1579 this.state.eventsEnabled &&1580 (cancelAnimationFrame(this.scheduleUpdate),1581 (this.state =1582 ((t = this.reference),1583 (e = this.state),1584 pt(t).removeEventListener("resize", e.updateBound),1585 e.scrollParents.forEach(function (t) {1586 t.removeEventListener("scroll", e.updateBound);1587 }),1588 (e.updateBound = null),1589 (e.scrollParents = []),1590 (e.scrollElement = null),1591 (e.eventsEnabled = !1),1592 e)));1593 }1594 function _t(t) {1595 return t !== "" && !isNaN(parseFloat(t)) && isFinite(t);1596 }1597 function bt(t, e) {1598 Object.keys(e).forEach(function (n) {1599 var i = "";1600 ["width", "height", "top", "right", "bottom", "left"].indexOf(n) !== -1 &&1601 _t(e[n]) &&1602 (i = "px"),1603 (t.style[n] = e[n] + i);1604 });1605 }1606 var yt = D && /Firefox/i.test(navigator.userAgent);1607 function wt(t, e, n) {1608 var i = lt(t, function (t) {1609 return t.name === e;1610 }),1611 o =1612 !!i &&1613 t.some(function (t) {1614 return t.name === n && t.enabled && t.order < i.order;1615 });1616 if (!o) {1617 var r = "`" + e + "`",1618 a = "`" + n + "`";1619 console.warn(1620 a +1621 " modifier is required by " +1622 r +1623 " modifier in order to work, be sure to include it before " +1624 r +1625 "!",1626 );1627 }1628 return o;1629 }1630 var Et = [1631 "auto-start",1632 "auto",1633 "auto-end",1634 "top-start",1635 "top",1636 "top-end",1637 "right-start",1638 "right",1639 "right-end",1640 "bottom-end",1641 "bottom",1642 "bottom-start",1643 "left-end",1644 "left",1645 "left-start",1646 ],1647 Tt = Et.slice(3);1648 function Ct(t) {1649 var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],1650 n = Tt.indexOf(t),1651 i = Tt.slice(n + 1).concat(Tt.slice(0, n));1652 return e ? i.reverse() : i;1653 }1654 var St = "flip",1655 Dt = "clockwise",1656 Nt = "counterclockwise";1657 function kt(t, e, n, i) {1658 var o = [0, 0],1659 r = ["right", "left"].indexOf(i) !== -1,1660 a = t.split(/(\+|\-)/).map(function (t) {1661 return t.trim();1662 }),1663 s = a.indexOf(1664 lt(a, function (t) {1665 return t.search(/,|\s/) !== -1;1666 }),1667 );1668 a[s] &&1669 a[s].indexOf(",") === -1 &&1670 console.warn(1671 "Offsets separated by white space(s) are deprecated, use a comma (,) instead.",1672 );1673 var l = /\s*,\s*|\s+/,1674 u =1675 s !== -11676 ? [1677 a.slice(0, s).concat([a[s].split(l)[0]]),1678 [a[s].split(l)[1]].concat(a.slice(s + 1)),1679 ]1680 : [a];1681 return (1682 (u = u.map(function (t, i) {1683 var o = (i === 1 ? !r : r) ? "height" : "width",1684 a = !1;1685 return t1686 .reduce(function (t, e) {1687 return t[t.length - 1] === "" && ["+", "-"].indexOf(e) !== -11688 ? ((t[t.length - 1] = e), (a = !0), t)1689 : a1690 ? ((t[t.length - 1] += e), (a = !1), t)1691 : t.concat(e);1692 }, [])1693 .map(function (t) {1694 return (function (t, e, n, i) {1695 var o = t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),1696 r = +o[1],1697 a = o[2];1698 if (!r) return t;1699 if (a.indexOf("%") === 0) {1700 var s = void 0;1701 switch (a) {1702 case "%p":1703 s = n;1704 break;1705 case "%":1706 case "%r":1707 default:1708 s = i;1709 }1710 return (K(s)[e] / 100) * r;1711 }1712 if (a === "vh" || a === "vw")1713 return (1714 ((a === "vh"1715 ? Math.max(1716 document.documentElement.clientHeight,1717 window.innerHeight || 0,1718 )1719 : Math.max(1720 document.documentElement.clientWidth,1721 window.innerWidth || 0,1722 )) /1723 100) *1724 r1725 );1726 return r;1727 })(t, o, e, n);1728 });1729 })).forEach(function (t, e) {1730 t.forEach(function (n, i) {1731 _t(n) && (o[e] += n * (t[i - 1] === "-" ? -1 : 1));1732 });1733 }),1734 o1735 );1736 }1737 var At = {1738 placement: "bottom",1739 positionFixed: !1,1740 eventsEnabled: !0,1741 removeOnDestroy: !1,1742 onCreate: function () {},1743 onUpdate: function () {},1744 modifiers: {1745 shift: {1746 order: 100,1747 enabled: !0,1748 fn: function (t) {1749 var e = t.placement,1750 n = e.split("-")[0],1751 i = e.split("-")[1];1752 if (i) {1753 var o = t.offsets,1754 r = o.reference,1755 a = o.popper,1756 s = ["bottom", "top"].indexOf(n) !== -1,1757 l = s ? "left" : "top",1758 u = s ? "width" : "height",1759 f = {1760 start: z({}, l, r[l]),1761 end: z({}, l, r[l] + r[u] - a[u]),1762 };1763 t.offsets.popper = X({}, a, f[i]);1764 }1765 return t;1766 },1767 },1768 offset: {1769 order: 200,1770 enabled: !0,1771 fn: function (t, e) {1772 var n = e.offset,1773 i = t.placement,1774 o = t.offsets,1775 r = o.popper,1776 a = o.reference,1777 s = i.split("-")[0],1778 l = void 0;1779 return (1780 (l = _t(+n) ? [+n, 0] : kt(n, r, a, s)),1781 s === "left"1782 ? ((r.top += l[0]), (r.left -= l[1]))1783 : s === "right"1784 ? ((r.top += l[0]), (r.left += l[1]))1785 : s === "top"1786 ? ((r.left += l[0]), (r.top -= l[1]))1787 : s === "bottom" && ((r.left += l[0]), (r.top += l[1])),1788 (t.popper = r),1789 t1790 );1791 },1792 offset: 0,1793 },1794 preventOverflow: {1795 order: 300,1796 enabled: !0,1797 fn: function (t, e) {1798 var n = e.boundariesElement || R(t.instance.popper);1799 t.instance.reference === n && (n = R(n));1800 var i = ct("transform"),1801 o = t.instance.popper.style,1802 r = o.top,1803 a = o.left,1804 s = o[i];1805 (o.top = ""), (o.left = ""), (o[i] = "");1806 var l = et(1807 t.instance.popper,1808 t.instance.reference,1809 e.padding,1810 n,1811 t.positionFixed,1812 );1813 (o.top = r), (o.left = a), (o[i] = s), (e.boundaries = l);1814 var u = e.priority,1815 f = t.offsets.popper,1816 d = {1817 primary: function (t) {1818 var n = f[t];1819 return (1820 f[t] < l[t] &&1821 !e.escapeWithReference &&1822 (n = Math.max(f[t], l[t])),1823 z({}, t, n)1824 );1825 },1826 secondary: function (t) {1827 var n = t === "right" ? "left" : "top",1828 i = f[n];1829 return (1830 f[t] > l[t] &&1831 !e.escapeWithReference &&1832 (i = Math.min(1833 f[n],1834 l[t] - (t === "right" ? f.width : f.height),1835 )),1836 z({}, n, i)1837 );1838 },1839 };1840 return (1841 u.forEach(function (t) {1842 var e =1843 ["left", "top"].indexOf(t) !== -1 ? "primary" : "secondary";1844 f = X({}, f, d[e](t));1845 }),1846 (t.offsets.popper = f),1847 t1848 );1849 },1850 priority: ["left", "right", "top", "bottom"],1851 padding: 5,1852 boundariesElement: "scrollParent",1853 },1854 keepTogether: {1855 order: 400,1856 enabled: !0,1857 fn: function (t) {1858 var e = t.offsets,1859 n = e.popper,1860 i = e.reference,1861 o = t.placement.split("-")[0],1862 r = Math.floor,1863 a = ["top", "bottom"].indexOf(o) !== -1,1864 s = a ? "right" : "bottom",1865 l = a ? "left" : "top",1866 u = a ? "width" : "height";1867 return (1868 n[s] < r(i[l]) && (t.offsets.popper[l] = r(i[l]) - n[u]),1869 n[l] > r(i[s]) && (t.offsets.popper[l] = r(i[s])),1870 t1871 );1872 },1873 },1874 arrow: {1875 order: 500,1876 enabled: !0,1877 fn: function (t, e) {1878 var n;1879 if (!wt(t.instance.modifiers, "arrow", "keepTogether")) return t;1880 var i = e.element;1881 if (typeof i == "string") {1882 if (!(i = t.instance.popper.querySelector(i))) return t;1883 } else if (!t.instance.popper.contains(i))1884 return (1885 console.warn(1886 "WARNING: `arrow.element` must be child of its popper element!",1887 ),1888 t1889 );1890 var o = t.placement.split("-")[0],1891 r = t.offsets,1892 a = r.popper,1893 s = r.reference,1894 l = ["left", "right"].indexOf(o) !== -1,1895 u = l ? "height" : "width",1896 f = l ? "Top" : "Left",1897 d = f.toLowerCase(),1898 c = l ? "left" : "top",1899 h = l ? "bottom" : "right",1900 p = rt(i)[u];1901 s[h] - p < a[d] && (t.offsets.popper[d] -= a[d] - (s[h] - p)),1902 s[d] + p > a[h] && (t.offsets.popper[d] += s[d] + p - a[h]),1903 (t.offsets.popper = K(t.offsets.popper));1904 var m = s[d] + s[u] / 2 - p / 2,1905 g = I(t.instance.popper),1906 v = parseFloat(g["margin" + f]),1907 _ = parseFloat(g["border" + f + "Width"]),1908 b = m - t.offsets.popper[d] - v - _;1909 return (1910 (b = Math.max(Math.min(a[u] - p, b), 0)),1911 (t.arrowElement = i),1912 (t.offsets.arrow =1913 (z((n = {}), d, Math.round(b)), z(n, c, ""), n)),1914 t1915 );1916 },1917 element: "[x-arrow]",1918 },1919 flip: {1920 order: 600,1921 enabled: !0,1922 fn: function (t, e) {1923 if (dt(t.instance.modifiers, "inner")) return t;1924 if (t.flipped && t.placement === t.originalPlacement) return t;1925 var n = et(1926 t.instance.popper,1927 t.instance.reference,1928 e.padding,1929 e.boundariesElement,1930 t.positionFixed,1931 ),1932 i = t.placement.split("-")[0],1933 o = at(i),1934 r = t.placement.split("-")[1] || "",1935 a = [];1936 switch (e.behavior) {1937 case St:1938 a = [i, o];1939 break;1940 case Dt:1941 a = Ct(i);1942 break;1943 case Nt:1944 a = Ct(i, !0);1945 break;1946 default:1947 a = e.behavior;1948 }1949 return (1950 a.forEach(function (s, l) {1951 if (i !== s || a.length === l + 1) return t;1952 (i = t.placement.split("-")[0]), (o = at(i));1953 var u = t.offsets.popper,1954 f = t.offsets.reference,1955 d = Math.floor,1956 c =1957 (i === "left" && d(u.right) > d(f.left)) ||1958 (i === "right" && d(u.left) < d(f.right)) ||1959 (i === "top" && d(u.bottom) > d(f.top)) ||1960 (i === "bottom" && d(u.top) < d(f.bottom)),1961 h = d(u.left) < d(n.left),1962 p = d(u.right) > d(n.right),1963 m = d(u.top) < d(n.top),1964 g = d(u.bottom) > d(n.bottom),1965 v =1966 (i === "left" && h) ||1967 (i === "right" && p) ||1968 (i === "top" && m) ||1969 (i === "bottom" && g),1970 _ = ["top", "bottom"].indexOf(i) !== -1,1971 b =1972 !!e.flipVariations &&1973 ((_ && r === "start" && h) ||1974 (_ && r === "end" && p) ||1975 (!_ && r === "start" && m) ||1976 (!_ && r === "end" && g)),1977 y =1978 !!e.flipVariationsByContent &&1979 ((_ && r === "start" && p) ||1980 (_ && r === "end" && h) ||1981 (!_ && r === "start" && g) ||1982 (!_ && r === "end" && m)),1983 w = b || y;1984 (c || v || w) &&1985 ((t.flipped = !0),1986 (c || v) && (i = a[l + 1]),1987 w &&1988 (r = (function (t) {1989 return t === "end" ? "start" : t === "start" ? "end" : t;1990 })(r)),1991 (t.placement = i + (r ? "-" + r : "")),1992 (t.offsets.popper = X(1993 {},1994 t.offsets.popper,1995 st(t.instance.popper, t.offsets.reference, t.placement),1996 )),1997 (t = ut(t.instance.modifiers, t, "flip")));1998 }),1999 t2000 );2001 },2002 behavior: "flip",2003 padding: 5,2004 boundariesElement: "viewport",2005 flipVariations: !1,2006 flipVariationsByContent: !1,2007 },2008 inner: {2009 order: 700,2010 enabled: !1,2011 fn: function (t) {2012 var e = t.placement,2013 n = e.split("-")[0],2014 i = t.offsets,2015 o = i.popper,2016 r = i.reference,2017 a = ["left", "right"].indexOf(n) !== -1,2018 s = ["top", "left"].indexOf(n) === -1;2019 return (2020 (o[a ? "left" : "top"] =2021 r[n] - (s ? o[a ? "width" : "height"] : 0)),2022 (t.placement = at(e)),2023 (t.offsets.popper = K(o)),2024 t2025 );2026 },2027 },2028 hide: {2029 order: 800,2030 enabled: !0,2031 fn: function (t) {2032 if (!wt(t.instance.modifiers, "hide", "preventOverflow")) return t;2033 var e = t.offsets.reference,2034 n = lt(t.instance.modifiers, function (t) {2035 return t.name === "preventOverflow";2036 }).boundaries;2037 if (2038 e.bottom < n.top ||2039 e.left > n.right ||2040 e.top > n.bottom ||2041 e.right < n.left2042 ) {2043 if (!0 === t.hide) return t;2044 (t.hide = !0), (t.attributes["x-out-of-boundaries"] = "");2045 } else {2046 if (!1 === t.hide) return t;2047 (t.hide = !1), (t.attributes["x-out-of-boundaries"] = !1);2048 }2049 return t;2050 },2051 },2052 computeStyle: {2053 order: 850,2054 enabled: !0,2055 fn: function (t, e) {2056 var n = e.x,2057 i = e.y,2058 o = t.offsets.popper,2059 r = lt(t.instance.modifiers, function (t) {2060 return t.name === "applyStyle";2061 }).gpuAcceleration;2062 void 0 !== r &&2063 console.warn(2064 "WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!",2065 );2066 var a = void 0 !== r ? r : e.gpuAcceleration,2067 s = R(t.instance.popper),2068 l = G(s),2069 u = { position: o.position },2070 f = (function (t, e) {2071 var n = t.offsets,2072 i = n.popper,2073 o = n.reference,2074 r = Math.round,2075 a = Math.floor,2076 s = function (t) {2077 return t;2078 },2079 l = r(o.width),2080 u = r(i.width),2081 f = ["left", "right"].indexOf(t.placement) !== -1,2082 d = t.placement.indexOf("-") !== -1,2083 c = e ? (f || d || l % 2 == u % 2 ? r : a) : s,2084 h = e ? r : s;2085 return {2086 left: c(2087 l % 2 == 1 && u % 2 == 1 && !d && e ? i.left - 1 : i.left,2088 ),2089 top: h(i.top),2090 bottom: h(i.bottom),2091 right: c(i.right),2092 };2093 })(t, window.devicePixelRatio < 2 || !yt),2094 d = n === "bottom" ? "top" : "bottom",2095 c = i === "right" ? "left" : "right",2096 h = ct("transform"),2097 p = void 0,2098 m = void 0;2099 if (2100 ((m =2101 d === "bottom"2102 ? s.nodeName === "HTML"2103 ? -s.clientHeight + f.bottom2104 : -l.height + f.bottom2105 : f.top),2106 (p =2107 c === "right"2108 ? s.nodeName === "HTML"2109 ? -s.clientWidth + f.right2110 : -l.width + f.right2111 : f.left),2112 a && h)2113 )2114 (u[h] = "translate3d(" + p + "px, " + m + "px, 0)"),2115 (u[d] = 0),2116 (u[c] = 0),2117 (u.willChange = "transform");2118 else {2119 var g = d === "bottom" ? -1 : 1,2120 v = c === "right" ? -1 : 1;2121 (u[d] = m * g), (u[c] = p * v), (u.willChange = d + ", " + c);2122 }2123 var _ = { "x-placement": t.placement };2124 return (2125 (t.attributes = X({}, _, t.attributes)),2126 (t.styles = X({}, u, t.styles)),2127 (t.arrowStyles = X({}, t.offsets.arrow, t.arrowStyles)),2128 t2129 );2130 },2131 gpuAcceleration: !0,2132 x: "bottom",2133 y: "right",2134 },2135 applyStyle: {2136 order: 900,2137 enabled: !0,2138 fn: function (t) {2139 var e, n;2140 return (2141 bt(t.instance.popper, t.styles),2142 (e = t.instance.popper),2143 (n = t.attributes),2144 Object.keys(n).forEach(function (t) {2145 !1 !== n[t] ? e.setAttribute(t, n[t]) : e.removeAttribute(t);2146 }),2147 t.arrowElement &&2148 Object.keys(t.arrowStyles).length &&2149 bt(t.arrowElement, t.arrowStyles),2150 t2151 );2152 },2153 onLoad: function (t, e, n, i, o) {2154 var r = ot(o, e, t, n.positionFixed),2155 a = it(2156 n.placement,2157 r,2158 e,2159 t,2160 n.modifiers.flip.boundariesElement,2161 n.modifiers.flip.padding,2162 );2163 return (2164 e.setAttribute("x-placement", a),2165 bt(e, { position: n.positionFixed ? "fixed" : "absolute" }),2166 n2167 );2168 },2169 gpuAcceleration: void 0,2170 },2171 },2172 },2173 It = (function () {2174 function t(e, n) {2175 var i = this,2176 o =2177 arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};2178 V(this, t),2179 (this.scheduleUpdate = function () {2180 return requestAnimationFrame(i.update);2181 }),2182 (this.update = k(this.update.bind(this))),2183 (this.options = X({}, t.Defaults, o)),2184 (this.state = { isDestroyed: !1, isCreated: !1, scrollParents: [] }),2185 (this.reference = e && e.jquery ? e[0] : e),2186 (this.popper = n && n.jquery ? n[0] : n),2187 (this.options.modifiers = {}),2188 Object.keys(X({}, t.Defaults.modifiers, o.modifiers)).forEach(2189 function (e) {2190 i.options.modifiers[e] = X(2191 {},2192 t.Defaults.modifiers[e] || {},2193 o.modifiers ? o.modifiers[e] : {},2194 );2195 },2196 ),2197 (this.modifiers = Object.keys(this.options.modifiers)2198 .map(function (t) {2199 return X({ name: t }, i.options.modifiers[t]);2200 })2201 .sort(function (t, e) {2202 return t.order - e.order;2203 })),2204 this.modifiers.forEach(function (t) {2205 t.enabled &&2206 A(t.onLoad) &&2207 t.onLoad(i.reference, i.popper, i.options, t, i.state);2208 }),2209 this.update();2210 var r = this.options.eventsEnabled;2211 r && this.enableEventListeners(), (this.state.eventsEnabled = r);2212 }2213 return (2214 Y(t, [2215 {2216 key: "update",2217 value: function () {2218 return ft.call(this);2219 },2220 },2221 {2222 key: "destroy",2223 value: function () {2224 return ht.call(this);2225 },2226 },2227 {2228 key: "enableEventListeners",2229 value: function () {2230 return gt.call(this);2231 },2232 },2233 {2234 key: "disableEventListeners",2235 value: function () {2236 return vt.call(this);2237 },2238 },2239 ]),2240 t2241 );2242 })();2243 (It.Utils = (typeof window != "undefined" ? window : global).PopperUtils),2244 (It.placements = Et),2245 (It.Defaults = At);2246 var Ot = "dropdown",2247 xt = i.default.fn[Ot],2248 jt = new RegExp("38|40|27"),2249 Lt = {2250 offset: 0,2251 flip: !0,2252 boundary: "scrollParent",2253 reference: "toggle",2254 display: "dynamic",2255 popperConfig: null,2256 },2257 Pt = {2258 offset: "(number|string|function)",2259 flip: "boolean",2260 boundary: "(string|element)",2261 reference: "(string|element)",2262 display: "string",2263 popperConfig: "(null|object)",2264 },2265 Ft = (function () {2266 function t(t, e) {2267 (this._element = t),2268 (this._popper = null),2269 (this._config = this._getConfig(e)),2270 (this._menu = this._getMenuElement()),2271 (this._inNavbar = this._detectNavbar()),2272 this._addEventListeners();2273 }2274 var e = t.prototype;2275 return (2276 (e.toggle = function () {2277 if (2278 !this._element.disabled &&2279 !i.default(this._element).hasClass("disabled")2280 ) {2281 var e = i.default(this._menu).hasClass("show");2282 t._clearMenus(), e || this.show(!0);2283 }2284 }),2285 (e.show = function (e) {2286 if (2287 (void 0 === e && (e = !1),2288 !(2289 this._element.disabled ||2290 i.default(this._element).hasClass("disabled") ||2291 i.default(this._menu).hasClass("show")2292 ))2293 ) {2294 var n = { relatedTarget: this._element },2295 o = i.default.Event("show.bs.dropdown", n),2296 r = t._getParentFromElement(this._element);2297 if ((i.default(r).trigger(o), !o.isDefaultPrevented())) {2298 if (!this._inNavbar && e) {2299 if (typeof It == "undefined")2300 throw new TypeError(2301 "Bootstrap's dropdowns require Popper (https://popper.js.org)",2302 );2303 var a = this._element;2304 this._config.reference === "parent"2305 ? (a = r)2306 : l.isElement(this._config.reference) &&2307 ((a = this._config.reference),2308 typeof this._config.reference.jquery != "undefined" &&2309 (a = this._config.reference[0])),2310 this._config.boundary !== "scrollParent" &&2311 i.default(r).addClass("position-static"),2312 (this._popper = new It(2313 a,2314 this._menu,2315 this._getPopperConfig(),2316 ));2317 }2318 "ontouchstart" in document.documentElement &&2319 i.default(r).closest(".navbar-nav").length === 0 &&2320 i2321 .default(document.body)2322 .children()2323 .on("mouseover", null, i.default.noop),2324 this._element.focus(),2325 this._element.setAttribute("aria-expanded", !0),2326 i.default(this._menu).toggleClass("show"),2327 i2328 .default(r)2329 .toggleClass("show")2330 .trigger(i.default.Event("shown.bs.dropdown", n));2331 }2332 }2333 }),2334 (e.hide = function () {2335 if (2336 !this._element.disabled &&2337 !i.default(this._element).hasClass("disabled") &&2338 i.default(this._menu).hasClass("show")2339 ) {2340 var e = { relatedTarget: this._element },2341 n = i.default.Event("hide.bs.dropdown", e),2342 o = t._getParentFromElement(this._element);2343 i.default(o).trigger(n),2344 n.isDefaultPrevented() ||2345 (this._popper && this._popper.destroy(),2346 i.default(this._menu).toggleClass("show"),2347 i2348 .default(o)2349 .toggleClass("show")2350 .trigger(i.default.Event("hidden.bs.dropdown", e)));2351 }2352 }),2353 (e.dispose = function () {2354 i.default.removeData(this._element, "bs.dropdown"),2355 i.default(this._element).off(".bs.dropdown"),2356 (this._element = null),2357 (this._menu = null),2358 this._popper !== null &&2359 (this._popper.destroy(), (this._popper = null));2360 }),2361 (e.update = function () {2362 (this._inNavbar = this._detectNavbar()),2363 this._popper !== null && this._popper.scheduleUpdate();2364 }),2365 (e._addEventListeners = function () {2366 var t = this;2367 i.default(this._element).on("click.bs.dropdown", function (e) {2368 e.preventDefault(), e.stopPropagation(), t.toggle();2369 });2370 }),2371 (e._getConfig = function (t) {2372 return (2373 (t = a(2374 {},2375 this.constructor.Default,2376 i.default(this._element).data(),2377 t,2378 )),2379 l.typeCheckConfig(Ot, t, this.constructor.DefaultType),2380 t2381 );2382 }),2383 (e._getMenuElement = function () {2384 if (!this._menu) {2385 var e = t._getParentFromElement(this._element);2386 e && (this._menu = e.querySelector(".dropdown-menu"));2387 }2388 return this._menu;2389 }),2390 (e._getPlacement = function () {2391 var t = i.default(this._element.parentNode),2392 e = "bottom-start";2393 return (2394 t.hasClass("dropup")2395 ? (e = i.default(this._menu).hasClass("dropdown-menu-right")2396 ? "top-end"2397 : "top-start")2398 : t.hasClass("dropright")2399 ? (e = "right-start")2400 : t.hasClass("dropleft")2401 ? (e = "left-start")2402 : i.default(this._menu).hasClass("dropdown-menu-right") &&2403 (e = "bottom-end"),2404 e2405 );2406 }),2407 (e._detectNavbar = function () {2408 return i.default(this._element).closest(".navbar").length > 0;2409 }),2410 (e._getOffset = function () {2411 var t = this,2412 e = {};2413 return (2414 typeof this._config.offset == "function"2415 ? (e.fn = function (e) {2416 return (2417 (e.offsets = a(2418 {},2419 e.offsets,2420 t._config.offset(e.offsets, t._element) || {},2421 )),2422 e2423 );2424 })2425 : (e.offset = this._config.offset),2426 e2427 );2428 }),2429 (e._getPopperConfig = function () {2430 var t = {2431 placement: this._getPlacement(),2432 modifiers: {2433 offset: this._getOffset(),2434 flip: { enabled: this._config.flip },2435 preventOverflow: { boundariesElement: this._config.boundary },2436 },2437 };2438 return (2439 this._config.display === "static" &&2440 (t.modifiers.applyStyle = { enabled: !1 }),2441 a({}, t, this._config.popperConfig)2442 );2443 }),2444 (t._jQueryInterface = function (e) {2445 return this.each(function () {2446 var n = i.default(this).data("bs.dropdown");2447 if (2448 (n ||2449 ((n = new t(this, typeof e == "object" ? e : null)),2450 i.default(this).data("bs.dropdown", n)),2451 typeof e == "string")2452 ) {2453 if (typeof n[e] == "undefined")2454 throw new TypeError('No method named "' + e + '"');2455 n[e]();2456 }2457 });2458 }),2459 (t._clearMenus = function (e) {2460 if (!e || (e.which !== 3 && (e.type !== "keyup" || e.which === 9)))2461 for (2462 var n = [].slice.call(2463 document.querySelectorAll('[data-toggle="dropdown"]'),2464 ),2465 o = 0,2466 r = n.length;2467 o < r;2468 o++2469 ) {2470 var a = t._getParentFromElement(n[o]),2471 s = i.default(n[o]).data("bs.dropdown"),2472 l = { relatedTarget: n[o] };2473 if ((e && e.type === "click" && (l.clickEvent = e), s)) {2474 var u = s._menu;2475 if (2476 i.default(a).hasClass("show") &&2477 !(2478 e &&2479 ((e.type === "click" &&2480 /input|textarea/i.test(e.target.tagName)) ||2481 (e.type === "keyup" && e.which === 9)) &&2482 i.default.contains(a, e.target)2483 )2484 ) {2485 var f = i.default.Event("hide.bs.dropdown", l);2486 i.default(a).trigger(f),2487 f.isDefaultPrevented() ||2488 ("ontouchstart" in document.documentElement &&2489 i2490 .default(document.body)2491 .children()2492 .off("mouseover", null, i.default.noop),2493 n[o].setAttribute("aria-expanded", "false"),2494 s._popper && s._popper.destroy(),2495 i.default(u).removeClass("show"),2496 i2497 .default(a)2498 .removeClass("show")2499 .trigger(i.default.Event("hidden.bs.dropdown", l)));2500 }2501 }2502 }2503 }),2504 (t._getParentFromElement = function (t) {2505 var e,2506 n = l.getSelectorFromElement(t);2507 return n && (e = document.querySelector(n)), e || t.parentNode;2508 }),2509 (t._dataApiKeydownHandler = function (e) {2510 if (2511 !(/input|textarea/i.test(e.target.tagName)2512 ? e.which === 32 ||2513 (e.which !== 27 &&2514 ((e.which !== 40 && e.which !== 38) ||2515 i.default(e.target).closest(".dropdown-menu").length))2516 : !jt.test(e.which)) &&2517 !this.disabled &&2518 !i.default(this).hasClass("disabled")2519 ) {2520 var n = t._getParentFromElement(this),2521 o = i.default(n).hasClass("show");2522 if (o || e.which !== 27) {2523 if (2524 (e.preventDefault(),2525 e.stopPropagation(),2526 !o || e.which === 27 || e.which === 32)2527 )2528 return (2529 e.which === 27 &&2530 i2531 .default(n.querySelector('[data-toggle="dropdown"]'))2532 .trigger("focus"),2533 void i.default(this).trigger("click")2534 );2535 var r = [].slice2536 .call(2537 n.querySelectorAll(2538 ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",2539 ),2540 )2541 .filter(function (t) {2542 return i.default(t).is(":visible");2543 });2544 if (r.length !== 0) {2545 var a = r.indexOf(e.target);2546 e.which === 38 && a > 0 && a--,2547 e.which === 40 && a < r.length - 1 && a++,2548 a < 0 && (a = 0),2549 r[a].focus();2550 }2551 }2552 }2553 }),2554 r(t, null, [2555 {2556 key: "VERSION",2557 get: function () {2558 return "4.6.0";2559 },2560 },2561 {2562 key: "Default",2563 get: function () {2564 return Lt;2565 },2566 },2567 {2568 key: "DefaultType",2569 get: function () {2570 return Pt;2571 },2572 },2573 ]),2574 t2575 );2576 })();2577 i2578 .default(document)2579 .on(2580 "keydown.bs.dropdown.data-api",2581 '[data-toggle="dropdown"]',2582 Ft._dataApiKeydownHandler,2583 )2584 .on(2585 "keydown.bs.dropdown.data-api",2586 ".dropdown-menu",2587 Ft._dataApiKeydownHandler,2588 )2589 .on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api", Ft._clearMenus)2590 .on("click.bs.dropdown.data-api", '[data-toggle="dropdown"]', function (t) {2591 t.preventDefault(),2592 t.stopPropagation(),2593 Ft._jQueryInterface.call(i.default(this), "toggle");2594 })2595 .on("click.bs.dropdown.data-api", ".dropdown form", function (t) {2596 t.stopPropagation();2597 }),2598 (i.default.fn[Ot] = Ft._jQueryInterface),2599 (i.default.fn[Ot].Constructor = Ft),2600 (i.default.fn[Ot].noConflict = function () {2601 return (i.default.fn[Ot] = xt), Ft._jQueryInterface;2602 });2603 var Rt = i.default.fn.modal,2604 Ht = { backdrop: !0, keyboard: !0, focus: !0, show: !0 },2605 Mt = {2606 backdrop: "(boolean|string)",2607 keyboard: "boolean",2608 focus: "boolean",2609 show: "boolean",2610 },2611 qt = (function () {2612 function t(t, e) {2613 (this._config = this._getConfig(e)),2614 (this._element = t),2615 (this._dialog = t.querySelector(".modal-dialog")),2616 (this._backdrop = null),2617 (this._isShown = !1),2618 (this._isBodyOverflowing = !1),2619 (this._ignoreBackdropClick = !1),2620 (this._isTransitioning = !1),2621 (this._scrollbarWidth = 0);2622 }2623 var e = t.prototype;2624 return (2625 (e.toggle = function (t) {2626 return this._isShown ? this.hide() : this.show(t);2627 }),2628 (e.show = function (t) {2629 var e = this;2630 if (!this._isShown && !this._isTransitioning) {2631 i.default(this._element).hasClass("fade") &&2632 (this._isTransitioning = !0);2633 var n = i.default.Event("show.bs.modal", { relatedTarget: t });2634 i.default(this._element).trigger(n),2635 this._isShown ||2636 n.isDefaultPrevented() ||2637 ((this._isShown = !0),2638 this._checkScrollbar(),2639 this._setScrollbar(),2640 this._adjustDialog(),2641 this._setEscapeEvent(),2642 this._setResizeEvent(),2643 i2644 .default(this._element)2645 .on(2646 "click.dismiss.bs.modal",2647 '[data-dismiss="modal"]',2648 function (t) {2649 return e.hide(t);2650 },2651 ),2652 i2653 .default(this._dialog)2654 .on("mousedown.dismiss.bs.modal", function () {2655 i.default(e._element).one(2656 "mouseup.dismiss.bs.modal",2657 function (t) {2658 i.default(t.target).is(e._element) &&2659 (e._ignoreBackdropClick = !0);2660 },2661 );2662 }),2663 this._showBackdrop(function () {2664 return e._showElement(t);2665 }));2666 }2667 }),2668 (e.hide = function (t) {2669 var e = this;2670 if (2671 (t && t.preventDefault(), this._isShown && !this._isTransitioning)2672 ) {2673 var n = i.default.Event("hide.bs.modal");2674 if (2675 (i.default(this._element).trigger(n),2676 this._isShown && !n.isDefaultPrevented())2677 ) {2678 this._isShown = !1;2679 var o = i.default(this._element).hasClass("fade");2680 if (2681 (o && (this._isTransitioning = !0),2682 this._setEscapeEvent(),2683 this._setResizeEvent(),2684 i.default(document).off("focusin.bs.modal"),2685 i.default(this._element).removeClass("show"),2686 i.default(this._element).off("click.dismiss.bs.modal"),2687 i.default(this._dialog).off("mousedown.dismiss.bs.modal"),2688 o)2689 ) {2690 var r = l.getTransitionDurationFromElement(this._element);2691 i.default(this._element)2692 .one(l.TRANSITION_END, function (t) {2693 return e._hideModal(t);2694 })2695 .emulateTransitionEnd(r);2696 } else this._hideModal();2697 }2698 }2699 }),2700 (e.dispose = function () {2701 [window, this._element, this._dialog].forEach(function (t) {2702 return i.default(t).off(".bs.modal");2703 }),2704 i.default(document).off("focusin.bs.modal"),2705 i.default.removeData(this._element, "bs.modal"),2706 (this._config = null),2707 (this._element = null),2708 (this._dialog = null),2709 (this._backdrop = null),2710 (this._isShown = null),2711 (this._isBodyOverflowing = null),2712 (this._ignoreBackdropClick = null),2713 (this._isTransitioning = null),2714 (this._scrollbarWidth = null);2715 }),2716 (e.handleUpdate = function () {2717 this._adjustDialog();2718 }),2719 (e._getConfig = function (t) {2720 return (t = a({}, Ht, t)), l.typeCheckConfig("modal", t, Mt), t;2721 }),2722 (e._triggerBackdropTransition = function () {2723 var t = this,2724 e = i.default.Event("hidePrevented.bs.modal");2725 if ((i.default(this._element).trigger(e), !e.isDefaultPrevented())) {2726 var n =2727 this._element.scrollHeight >2728 document.documentElement.clientHeight;2729 n || (this._element.style.overflowY = "hidden"),2730 this._element.classList.add("modal-static");2731 var o = l.getTransitionDurationFromElement(this._dialog);2732 i.default(this._element).off(l.TRANSITION_END),2733 i2734 .default(this._element)2735 .one(l.TRANSITION_END, function () {2736 t._element.classList.remove("modal-static"),2737 n ||2738 i2739 .default(t._element)2740 .one(l.TRANSITION_END, function () {2741 t._element.style.overflowY = "";2742 })2743 .emulateTransitionEnd(t._element, o);2744 })2745 .emulateTransitionEnd(o),2746 this._element.focus();2747 }2748 }),2749 (e._showElement = function (t) {2750 var e = this,2751 n = i.default(this._element).hasClass("fade"),2752 o = this._dialog ? this._dialog.querySelector(".modal-body") : null;2753 (this._element.parentNode &&2754 this._element.parentNode.nodeType === Node.ELEMENT_NODE) ||2755 document.body.appendChild(this._element),2756 (this._element.style.display = "block"),2757 this._element.removeAttribute("aria-hidden"),2758 this._element.setAttribute("aria-modal", !0),2759 this._element.setAttribute("role", "dialog"),2760 i.default(this._dialog).hasClass("modal-dialog-scrollable") && o2761 ? (o.scrollTop = 0)2762 : (this._element.scrollTop = 0),2763 n && l.reflow(this._element),2764 i.default(this._element).addClass("show"),2765 this._config.focus && this._enforceFocus();2766 var r = i.default.Event("shown.bs.modal", { relatedTarget: t }),2767 a = function () {2768 e._config.focus && e._element.focus(),2769 (e._isTransitioning = !1),2770 i.default(e._element).trigger(r);2771 };2772 if (n) {2773 var s = l.getTransitionDurationFromElement(this._dialog);2774 i.default(this._dialog)2775 .one(l.TRANSITION_END, a)2776 .emulateTransitionEnd(s);2777 } else a();2778 }),2779 (e._enforceFocus = function () {2780 var t = this;2781 i.default(document)2782 .off("focusin.bs.modal")2783 .on("focusin.bs.modal", function (e) {2784 document !== e.target &&2785 t._element !== e.target &&2786 i.default(t._element).has(e.target).length === 0 &&2787 t._element.focus();2788 });2789 }),2790 (e._setEscapeEvent = function () {2791 var t = this;2792 this._isShown2793 ? i2794 .default(this._element)2795 .on("keydown.dismiss.bs.modal", function (e) {2796 t._config.keyboard && e.which === 272797 ? (e.preventDefault(), t.hide())2798 : t._config.keyboard ||2799 e.which !== 27 ||2800 t._triggerBackdropTransition();2801 })2802 : this._isShown ||2803 i.default(this._element).off("keydown.dismiss.bs.modal");2804 }),2805 (e._setResizeEvent = function () {2806 var t = this;2807 this._isShown2808 ? i.default(window).on("resize.bs.modal", function (e) {2809 return t.handleUpdate(e);2810 })2811 : i.default(window).off("resize.bs.modal");2812 }),2813 (e._hideModal = function () {2814 var t = this;2815 (this._element.style.display = "none"),2816 this._element.setAttribute("aria-hidden", !0),2817 this._element.removeAttribute("aria-modal"),2818 this._element.removeAttribute("role"),2819 (this._isTransitioning = !1),2820 this._showBackdrop(function () {2821 i.default(document.body).removeClass("modal-open"),2822 t._resetAdjustments(),2823 t._resetScrollbar(),2824 i.default(t._element).trigger("hidden.bs.modal");2825 });2826 }),2827 (e._removeBackdrop = function () {2828 this._backdrop &&2829 (i.default(this._backdrop).remove(), (this._backdrop = null));2830 }),2831 (e._showBackdrop = function (t) {2832 var e = this,2833 n = i.default(this._element).hasClass("fade") ? "fade" : "";2834 if (this._isShown && this._config.backdrop) {2835 if (2836 ((this._backdrop = document.createElement("div")),2837 (this._backdrop.className = "modal-backdrop"),2838 n && this._backdrop.classList.add(n),2839 i.default(this._backdrop).appendTo(document.body),2840 i2841 .default(this._element)2842 .on("click.dismiss.bs.modal", function (t) {2843 e._ignoreBackdropClick2844 ? (e._ignoreBackdropClick = !1)2845 : t.target === t.currentTarget &&2846 (e._config.backdrop === "static"2847 ? e._triggerBackdropTransition()2848 : e.hide());2849 }),2850 n && l.reflow(this._backdrop),2851 i.default(this._backdrop).addClass("show"),2852 !t)2853 )2854 return;2855 if (!n) return void t();2856 var o = l.getTransitionDurationFromElement(this._backdrop);2857 i.default(this._backdrop)2858 .one(l.TRANSITION_END, t)2859 .emulateTransitionEnd(o);2860 } else if (!this._isShown && this._backdrop) {2861 i.default(this._backdrop).removeClass("show");2862 var r = function () {2863 e._removeBackdrop(), t && t();2864 };2865 if (i.default(this._element).hasClass("fade")) {2866 var a = l.getTransitionDurationFromElement(this._backdrop);2867 i.default(this._backdrop)2868 .one(l.TRANSITION_END, r)2869 .emulateTransitionEnd(a);2870 } else r();2871 } else t && t();2872 }),2873 (e._adjustDialog = function () {2874 var t =2875 this._element.scrollHeight > document.documentElement.clientHeight;2876 !this._isBodyOverflowing &&2877 t &&2878 (this._element.style.paddingLeft = this._scrollbarWidth + "px"),2879 this._isBodyOverflowing &&2880 !t &&2881 (this._element.style.paddingRight = this._scrollbarWidth + "px");2882 }),2883 (e._resetAdjustments = function () {2884 (this._element.style.paddingLeft = ""),2885 (this._element.style.paddingRight = "");2886 }),2887 (e._checkScrollbar = function () {2888 var t = document.body.getBoundingClientRect();2889 (this._isBodyOverflowing =2890 Math.round(t.left + t.right) < window.innerWidth),2891 (this._scrollbarWidth = this._getScrollbarWidth());2892 }),2893 (e._setScrollbar = function () {2894 var t = this;2895 if (this._isBodyOverflowing) {2896 var e = [].slice.call(2897 document.querySelectorAll(2898 ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",2899 ),2900 ),2901 n = [].slice.call(document.querySelectorAll(".sticky-top"));2902 i.default(e).each(function (e, n) {2903 var o = n.style.paddingRight,2904 r = i.default(n).css("padding-right");2905 i.default(n)2906 .data("padding-right", o)2907 .css("padding-right", parseFloat(r) + t._scrollbarWidth + "px");2908 }),2909 i.default(n).each(function (e, n) {2910 var o = n.style.marginRight,2911 r = i.default(n).css("margin-right");2912 i.default(n)2913 .data("margin-right", o)2914 .css(2915 "margin-right",2916 parseFloat(r) - t._scrollbarWidth + "px",2917 );2918 });2919 var o = document.body.style.paddingRight,2920 r = i.default(document.body).css("padding-right");2921 i.default(document.body)2922 .data("padding-right", o)2923 .css(2924 "padding-right",2925 parseFloat(r) + this._scrollbarWidth + "px",2926 );2927 }2928 i.default(document.body).addClass("modal-open");2929 }),2930 (e._resetScrollbar = function () {2931 var t = [].slice.call(2932 document.querySelectorAll(2933 ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",2934 ),2935 );2936 i.default(t).each(function (t, e) {2937 var n = i.default(e).data("padding-right");2938 i.default(e).removeData("padding-right"),2939 (e.style.paddingRight = n || "");2940 });2941 var e = [].slice.call(document.querySelectorAll(".sticky-top"));2942 i.default(e).each(function (t, e) {2943 var n = i.default(e).data("margin-right");2944 typeof n != "undefined" &&2945 i.default(e).css("margin-right", n).removeData("margin-right");2946 });2947 var n = i.default(document.body).data("padding-right");2948 i.default(document.body).removeData("padding-right"),2949 (document.body.style.paddingRight = n || "");2950 }),2951 (e._getScrollbarWidth = function () {2952 var t = document.createElement("div");2953 (t.className = "modal-scrollbar-measure"),2954 document.body.appendChild(t);2955 var e = t.getBoundingClientRect().width - t.clientWidth;2956 return document.body.removeChild(t), e;2957 }),2958 (t._jQueryInterface = function (e, n) {2959 return this.each(function () {2960 var o = i.default(this).data("bs.modal"),2961 r = a(2962 {},2963 Ht,2964 i.default(this).data(),2965 typeof e == "object" && e ? e : {},2966 );2967 if (2968 (o || ((o = new t(this, r)), i.default(this).data("bs.modal", o)),2969 typeof e == "string")2970 ) {2971 if (typeof o[e] == "undefined")2972 throw new TypeError('No method named "' + e + '"');2973 o[e](n);2974 } else r.show && o.show(n);2975 });2976 }),2977 r(t, null, [2978 {2979 key: "VERSION",2980 get: function () {2981 return "4.6.0";2982 },2983 },2984 {2985 key: "Default",2986 get: function () {2987 return Ht;2988 },2989 },2990 ]),2991 t2992 );2993 })();2994 i2995 .default(document)2996 .on("click.bs.modal.data-api", '[data-toggle="modal"]', function (t) {2997 var e,2998 n = this,2999 o = l.getSelectorFromElement(this);3000 o && (e = document.querySelector(o));3001 var r = i.default(e).data("bs.modal")3002 ? "toggle"3003 : a({}, i.default(e).data(), i.default(this).data());3004 (this.tagName !== "A" && this.tagName !== "AREA") || t.preventDefault();3005 var s = i.default(e).one("show.bs.modal", function (t) {3006 t.isDefaultPrevented() ||3007 s.one("hidden.bs.modal", function () {3008 i.default(n).is(":visible") && n.focus();3009 });3010 });3011 qt._jQueryInterface.call(i.default(e), r, this);3012 }),3013 (i.default.fn.modal = qt._jQueryInterface),3014 (i.default.fn.modal.Constructor = qt),3015 (i.default.fn.modal.noConflict = function () {3016 return (i.default.fn.modal = Rt), qt._jQueryInterface;3017 });3018 var Bt = [3019 "background",3020 "cite",3021 "href",3022 "itemtype",3023 "longdesc",3024 "poster",3025 "src",3026 "xlink:href",3027 ],3028 Qt = {3029 "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i],3030 a: ["target", "href", "title", "rel"],3031 area: [],3032 b: [],3033 br: [],3034 col: [],3035 code: [],3036 div: [],3037 em: [],3038 hr: [],3039 h1: [],3040 h2: [],3041 h3: [],3042 h4: [],3043 h5: [],3044 h6: [],3045 i: [],3046 img: ["src", "srcset", "alt", "title", "width", "height"],3047 li: [],3048 ol: [],3049 p: [],3050 pre: [],3051 s: [],3052 small: [],3053 span: [],3054 sub: [],3055 sup: [],3056 strong: [],3057 u: [],3058 ul: [],3059 },3060 Wt = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,3061 Ut =3062 /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;3063 function Vt(t, e, n) {3064 if (t.length === 0) return t;3065 if (n && typeof n == "function") return n(t);3066 for (3067 var i = new window.DOMParser().parseFromString(t, "text/html"),3068 o = Object.keys(e),3069 r = [].slice.call(i.body.querySelectorAll("*")),3070 a = function (t, n) {3071 var i = r[t],3072 a = i.nodeName.toLowerCase();3073 if (o.indexOf(i.nodeName.toLowerCase()) === -1)3074 return i.parentNode.removeChild(i), "continue";3075 var s = [].slice.call(i.attributes),3076 l = [].concat(e["*"] || [], e[a] || []);3077 s.forEach(function (t) {3078 (function (t, e) {3079 var n = t.nodeName.toLowerCase();3080 if (e.indexOf(n) !== -1)3081 return (3082 Bt.indexOf(n) === -1 ||3083 Boolean(t.nodeValue.match(Wt) || t.nodeValue.match(Ut))3084 );3085 for (3086 var i = e.filter(function (t) {3087 return t instanceof RegExp;3088 }),3089 o = 0,3090 r = i.length;3091 o < r;3092 o++3093 )3094 if (n.match(i[o])) return !0;3095 return !1;3096 })(t, l) || i.removeAttribute(t.nodeName);3097 });3098 },3099 s = 0,3100 l = r.length;3101 s < l;3102 s++3103 )3104 a(s);3105 return i.body.innerHTML;3106 }3107 var Yt = "tooltip",3108 zt = i.default.fn[Yt],3109 Xt = new RegExp("(^|\\s)bs-tooltip\\S+", "g"),3110 Kt = ["sanitize", "whiteList", "sanitizeFn"],3111 Gt = {3112 animation: "boolean",3113 template: "string",3114 title: "(string|element|function)",3115 trigger: "string",3116 delay: "(number|object)",3117 html: "boolean",3118 selector: "(string|boolean)",3119 placement: "(string|function)",3120 offset: "(number|string|function)",3121 container: "(string|element|boolean)",3122 fallbackPlacement: "(string|array)",3123 boundary: "(string|element)",3124 customClass: "(string|function)",3125 sanitize: "boolean",3126 sanitizeFn: "(null|function)",3127 whiteList: "object",3128 popperConfig: "(null|object)",3129 },3130 $t = {3131 AUTO: "auto",3132 TOP: "top",3133 RIGHT: "right",3134 BOTTOM: "bottom",3135 LEFT: "left",3136 },3137 Jt = {3138 animation: !0,3139 template:3140 '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',3141 trigger: "hover focus",3142 title: "",3143 delay: 0,3144 html: !1,3145 selector: !1,3146 placement: "top",3147 offset: 0,3148 container: !1,3149 fallbackPlacement: "flip",3150 boundary: "scrollParent",3151 customClass: "",3152 sanitize: !0,3153 sanitizeFn: null,3154 whiteList: Qt,3155 popperConfig: null,3156 },3157 Zt = {3158 HIDE: "hide.bs.tooltip",3159 HIDDEN: "hidden.bs.tooltip",3160 SHOW: "show.bs.tooltip",3161 SHOWN: "shown.bs.tooltip",3162 INSERTED: "inserted.bs.tooltip",3163 CLICK: "click.bs.tooltip",3164 FOCUSIN: "focusin.bs.tooltip",3165 FOCUSOUT: "focusout.bs.tooltip",3166 MOUSEENTER: "mouseenter.bs.tooltip",3167 MOUSELEAVE: "mouseleave.bs.tooltip",3168 },3169 te = (function () {3170 function t(t, e) {3171 if (typeof It == "undefined")3172 throw new TypeError(3173 "Bootstrap's tooltips require Popper (https://popper.js.org)",3174 );3175 (this._isEnabled = !0),3176 (this._timeout = 0),3177 (this._hoverState = ""),3178 (this._activeTrigger = {}),3179 (this._popper = null),3180 (this.element = t),3181 (this.config = this._getConfig(e)),3182 (this.tip = null),3183 this._setListeners();3184 }3185 var e = t.prototype;3186 return (3187 (e.enable = function () {3188 this._isEnabled = !0;3189 }),3190 (e.disable = function () {3191 this._isEnabled = !1;3192 }),3193 (e.toggleEnabled = function () {3194 this._isEnabled = !this._isEnabled;3195 }),3196 (e.toggle = function (t) {3197 if (this._isEnabled)3198 if (t) {3199 var e = this.constructor.DATA_KEY,3200 n = i.default(t.currentTarget).data(e);3201 n ||3202 ((n = new this.constructor(3203 t.currentTarget,3204 this._getDelegateConfig(),3205 )),3206 i.default(t.currentTarget).data(e, n)),3207 (n._activeTrigger.click = !n._activeTrigger.click),3208 n._isWithActiveTrigger()3209 ? n._enter(null, n)3210 : n._leave(null, n);3211 } else {3212 if (i.default(this.getTipElement()).hasClass("show"))3213 return void this._leave(null, this);3214 this._enter(null, this);3215 }3216 }),3217 (e.dispose = function () {3218 clearTimeout(this._timeout),3219 i.default.removeData(this.element, this.constructor.DATA_KEY),3220 i.default(this.element).off(this.constructor.EVENT_KEY),3221 i3222 .default(this.element)3223 .closest(".modal")3224 .off("hide.bs.modal", this._hideModalHandler),3225 this.tip && i.default(this.tip).remove(),3226 (this._isEnabled = null),3227 (this._timeout = null),3228 (this._hoverState = null),3229 (this._activeTrigger = null),3230 this._popper && this._popper.destroy(),3231 (this._popper = null),3232 (this.element = null),3233 (this.config = null),3234 (this.tip = null);3235 }),3236 (e.show = function () {3237 var t = this;3238 if (i.default(this.element).css("display") === "none")3239 throw new Error("Please use show on visible elements");3240 var e = i.default.Event(this.constructor.Event.SHOW);3241 if (this.isWithContent() && this._isEnabled) {3242 i.default(this.element).trigger(e);3243 var n = l.findShadowRoot(this.element),3244 o = i.default.contains(3245 n !== null ? n : this.element.ownerDocument.documentElement,3246 this.element,3247 );3248 if (e.isDefaultPrevented() || !o) return;3249 var r = this.getTipElement(),3250 a = l.getUID(this.constructor.NAME);3251 r.setAttribute("id", a),3252 this.element.setAttribute("aria-describedby", a),3253 this.setContent(),3254 this.config.animation && i.default(r).addClass("fade");3255 var s =3256 typeof this.config.placement == "function"3257 ? this.config.placement.call(this, r, this.element)3258 : this.config.placement,3259 u = this._getAttachment(s);3260 this.addAttachmentClass(u);3261 var f = this._getContainer();3262 i.default(r).data(this.constructor.DATA_KEY, this),3263 i.default.contains(3264 this.element.ownerDocument.documentElement,3265 this.tip,3266 ) || i.default(r).appendTo(f),3267 i.default(this.element).trigger(this.constructor.Event.INSERTED),3268 (this._popper = new It(3269 this.element,3270 r,3271 this._getPopperConfig(u),3272 )),3273 i.default(r).addClass("show"),3274 i.default(r).addClass(this.config.customClass),3275 "ontouchstart" in document.documentElement &&3276 i3277 .default(document.body)3278 .children()3279 .on("mouseover", null, i.default.noop);3280 var d = function () {3281 t.config.animation && t._fixTransition();3282 var e = t._hoverState;3283 (t._hoverState = null),3284 i.default(t.element).trigger(t.constructor.Event.SHOWN),3285 e === "out" && t._leave(null, t);3286 };3287 if (i.default(this.tip).hasClass("fade")) {3288 var c = l.getTransitionDurationFromElement(this.tip);3289 i.default(this.tip)3290 .one(l.TRANSITION_END, d)3291 .emulateTransitionEnd(c);3292 } else d();3293 }3294 }),3295 (e.hide = function (t) {3296 var e = this,3297 n = this.getTipElement(),3298 o = i.default.Event(this.constructor.Event.HIDE),3299 r = function () {3300 e._hoverState !== "show" &&3301 n.parentNode &&3302 n.parentNode.removeChild(n),3303 e._cleanTipClass(),3304 e.element.removeAttribute("aria-describedby"),3305 i.default(e.element).trigger(e.constructor.Event.HIDDEN),3306 e._popper !== null && e._popper.destroy(),3307 t && t();3308 };3309 if ((i.default(this.element).trigger(o), !o.isDefaultPrevented())) {3310 if (3311 (i.default(n).removeClass("show"),3312 "ontouchstart" in document.documentElement &&3313 i3314 .default(document.body)3315 .children()3316 .off("mouseover", null, i.default.noop),3317 (this._activeTrigger.click = !1),3318 (this._activeTrigger.focus = !1),3319 (this._activeTrigger.hover = !1),3320 i.default(this.tip).hasClass("fade"))3321 ) {3322 var a = l.getTransitionDurationFromElement(n);3323 i.default(n).one(l.TRANSITION_END, r).emulateTransitionEnd(a);3324 } else r();3325 this._hoverState = "";3326 }3327 }),3328 (e.update = function () {3329 this._popper !== null && this._popper.scheduleUpdate();3330 }),3331 (e.isWithContent = function () {3332 return Boolean(this.getTitle());3333 }),3334 (e.addAttachmentClass = function (t) {3335 i.default(this.getTipElement()).addClass("bs-tooltip-" + t);3336 }),3337 (e.getTipElement = function () {3338 return (3339 (this.tip = this.tip || i.default(this.config.template)[0]),3340 this.tip3341 );3342 }),3343 (e.setContent = function () {3344 var t = this.getTipElement();3345 this.setElementContent(3346 i.default(t.querySelectorAll(".tooltip-inner")),3347 this.getTitle(),3348 ),3349 i.default(t).removeClass("fade show");3350 }),3351 (e.setElementContent = function (t, e) {3352 typeof e != "object" || (!e.nodeType && !e.jquery)3353 ? this.config.html3354 ? (this.config.sanitize &&3355 (e = Vt(e, this.config.whiteList, this.config.sanitizeFn)),3356 t.html(e))3357 : t.text(e)3358 : this.config.html3359 ? i.default(e).parent().is(t) || t.empty().append(e)3360 : t.text(i.default(e).text());3361 }),3362 (e.getTitle = function () {3363 var t = this.element.getAttribute("data-original-title");3364 return (3365 t ||3366 (t =3367 typeof this.config.title == "function"3368 ? this.config.title.call(this.element)3369 : this.config.title),3370 t3371 );3372 }),3373 (e._getPopperConfig = function (t) {3374 var e = this;3375 return a(3376 {},3377 {3378 placement: t,3379 modifiers: {3380 offset: this._getOffset(),3381 flip: { behavior: this.config.fallbackPlacement },3382 arrow: { element: ".arrow" },3383 preventOverflow: { boundariesElement: this.config.boundary },3384 },3385 onCreate: function (t) {3386 t.originalPlacement !== t.placement &&3387 e._handlePopperPlacementChange(t);3388 },3389 onUpdate: function (t) {3390 return e._handlePopperPlacementChange(t);3391 },3392 },3393 this.config.popperConfig,3394 );3395 }),3396 (e._getOffset = function () {3397 var t = this,3398 e = {};3399 return (3400 typeof this.config.offset == "function"3401 ? (e.fn = function (e) {3402 return (3403 (e.offsets = a(3404 {},3405 e.offsets,3406 t.config.offset(e.offsets, t.element) || {},3407 )),3408 e3409 );3410 })3411 : (e.offset = this.config.offset),3412 e3413 );3414 }),3415 (e._getContainer = function () {3416 return !1 === this.config.container3417 ? document.body3418 : l.isElement(this.config.container)3419 ? i.default(this.config.container)3420 : i.default(document).find(this.config.container);3421 }),3422 (e._getAttachment = function (t) {3423 return $t[t.toUpperCase()];3424 }),3425 (e._setListeners = function () {3426 var t = this;3427 this.config.trigger.split(" ").forEach(function (e) {3428 if (e === "click")3429 i.default(t.element).on(3430 t.constructor.Event.CLICK,3431 t.config.selector,3432 function (e) {3433 return t.toggle(e);3434 },3435 );3436 else if (e !== "manual") {3437 var n =3438 e === "hover"3439 ? t.constructor.Event.MOUSEENTER3440 : t.constructor.Event.FOCUSIN,3441 o =3442 e === "hover"3443 ? t.constructor.Event.MOUSELEAVE3444 : t.constructor.Event.FOCUSOUT;3445 i.default(t.element)3446 .on(n, t.config.selector, function (e) {3447 return t._enter(e);3448 })3449 .on(o, t.config.selector, function (e) {3450 return t._leave(e);3451 });3452 }3453 }),3454 (this._hideModalHandler = function () {3455 t.element && t.hide();3456 }),3457 i3458 .default(this.element)3459 .closest(".modal")3460 .on("hide.bs.modal", this._hideModalHandler),3461 this.config.selector3462 ? (this.config = a({}, this.config, {3463 trigger: "manual",3464 selector: "",3465 }))3466 : this._fixTitle();3467 }),3468 (e._fixTitle = function () {3469 var t = typeof this.element.getAttribute("data-original-title");3470 (this.element.getAttribute("title") || t !== "string") &&3471 (this.element.setAttribute(3472 "data-original-title",3473 this.element.getAttribute("title") || "",3474 ),3475 this.element.setAttribute("title", ""));3476 }),3477 (e._enter = function (t, e) {3478 var n = this.constructor.DATA_KEY;3479 (e = e || i.default(t.currentTarget).data(n)) ||3480 ((e = new this.constructor(3481 t.currentTarget,3482 this._getDelegateConfig(),3483 )),3484 i.default(t.currentTarget).data(n, e)),3485 t &&3486 (e._activeTrigger[t.type === "focusin" ? "focus" : "hover"] = !0),3487 i.default(e.getTipElement()).hasClass("show") ||3488 e._hoverState === "show"3489 ? (e._hoverState = "show")3490 : (clearTimeout(e._timeout),3491 (e._hoverState = "show"),3492 e.config.delay && e.config.delay.show3493 ? (e._timeout = setTimeout(function () {3494 e._hoverState === "show" && e.show();3495 }, e.config.delay.show))3496 : e.show());3497 }),3498 (e._leave = function (t, e) {3499 var n = this.constructor.DATA_KEY;3500 (e = e || i.default(t.currentTarget).data(n)) ||3501 ((e = new this.constructor(3502 t.currentTarget,3503 this._getDelegateConfig(),3504 )),3505 i.default(t.currentTarget).data(n, e)),3506 t &&3507 (e._activeTrigger[t.type === "focusout" ? "focus" : "hover"] =3508 !1),3509 e._isWithActiveTrigger() ||3510 (clearTimeout(e._timeout),3511 (e._hoverState = "out"),3512 e.config.delay && e.config.delay.hide3513 ? (e._timeout = setTimeout(function () {3514 e._hoverState === "out" && e.hide();3515 }, e.config.delay.hide))3516 : e.hide());3517 }),3518 (e._isWithActiveTrigger = function () {3519 for (var t in this._activeTrigger)3520 if (this._activeTrigger[t]) return !0;3521 return !1;3522 }),3523 (e._getConfig = function (t) {3524 var e = i.default(this.element).data();3525 return (3526 Object.keys(e).forEach(function (t) {3527 Kt.indexOf(t) !== -1 && delete e[t];3528 }),3529 typeof (t = a(3530 {},3531 this.constructor.Default,3532 e,3533 typeof t == "object" && t ? t : {},3534 )).delay == "number" &&3535 (t.delay = { show: t.delay, hide: t.delay }),3536 typeof t.title == "number" && (t.title = t.title.toString()),3537 typeof t.content == "number" && (t.content = t.content.toString()),3538 l.typeCheckConfig(Yt, t, this.constructor.DefaultType),3539 t.sanitize &&3540 (t.template = Vt(t.template, t.whiteList, t.sanitizeFn)),3541 t3542 );3543 }),3544 (e._getDelegateConfig = function () {3545 var t = {};3546 if (this.config)3547 for (var e in this.config)3548 this.constructor.Default[e] !== this.config[e] &&3549 (t[e] = this.config[e]);3550 return t;3551 }),3552 (e._cleanTipClass = function () {3553 var t = i.default(this.getTipElement()),3554 e = t.attr("class").match(Xt);3555 e !== null && e.length && t.removeClass(e.join(""));3556 }),3557 (e._handlePopperPlacementChange = function (t) {3558 (this.tip = t.instance.popper),3559 this._cleanTipClass(),3560 this.addAttachmentClass(this._getAttachment(t.placement));3561 }),3562 (e._fixTransition = function () {3563 var t = this.getTipElement(),3564 e = this.config.animation;3565 t.getAttribute("x-placement") === null &&3566 (i.default(t).removeClass("fade"),3567 (this.config.animation = !1),3568 this.hide(),3569 this.show(),3570 (this.config.animation = e));3571 }),3572 (t._jQueryInterface = function (e) {3573 return this.each(function () {3574 var n = i.default(this),3575 o = n.data("bs.tooltip"),3576 r = typeof e == "object" && e;3577 if (3578 (o || !/dispose|hide/.test(e)) &&3579 (o || ((o = new t(this, r)), n.data("bs.tooltip", o)),3580 typeof e == "string")3581 ) {3582 if (typeof o[e] == "undefined")3583 throw new TypeError('No method named "' + e + '"');3584 o[e]();3585 }3586 });3587 }),3588 r(t, null, [3589 {3590 key: "VERSION",3591 get: function () {3592 return "4.6.0";3593 },3594 },3595 {3596 key: "Default",3597 get: function () {3598 return Jt;3599 },3600 },3601 {3602 key: "NAME",3603 get: function () {3604 return Yt;3605 },3606 },3607 {3608 key: "DATA_KEY",3609 get: function () {3610 return "bs.tooltip";3611 },3612 },3613 {3614 key: "Event",3615 get: function () {3616 return Zt;3617 },3618 },3619 {3620 key: "EVENT_KEY",3621 get: function () {3622 return ".bs.tooltip";3623 },3624 },3625 {3626 key: "DefaultType",3627 get: function () {3628 return Gt;3629 },3630 },3631 ]),3632 t3633 );3634 })();3635 (i.default.fn[Yt] = te._jQueryInterface),3636 (i.default.fn[Yt].Constructor = te),3637 (i.default.fn[Yt].noConflict = function () {3638 return (i.default.fn[Yt] = zt), te._jQueryInterface;3639 });3640 var ee = "popover",3641 ne = i.default.fn[ee],3642 ie = new RegExp("(^|\\s)bs-popover\\S+", "g"),3643 oe = a({}, te.Default, {3644 placement: "right",3645 trigger: "click",3646 content: "",3647 template:3648 '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',3649 }),3650 re = a({}, te.DefaultType, { content: "(string|element|function)" }),3651 ae = {3652 HIDE: "hide.bs.popover",3653 HIDDEN: "hidden.bs.popover",3654 SHOW: "show.bs.popover",3655 SHOWN: "shown.bs.popover",3656 INSERTED: "inserted.bs.popover",3657 CLICK: "click.bs.popover",3658 FOCUSIN: "focusin.bs.popover",3659 FOCUSOUT: "focusout.bs.popover",3660 MOUSEENTER: "mouseenter.bs.popover",3661 MOUSELEAVE: "mouseleave.bs.popover",3662 },3663 se = (function (t) {3664 var e, n;3665 function o() {3666 return t.apply(this, arguments) || this;3667 }3668 (n = t),3669 ((e = o).prototype = Object.create(n.prototype)),3670 (e.prototype.constructor = e),3671 (e.__proto__ = n);3672 var a = o.prototype;3673 return (3674 (a.isWithContent = function () {3675 return this.getTitle() || this._getContent();3676 }),3677 (a.addAttachmentClass = function (t) {3678 i.default(this.getTipElement()).addClass("bs-popover-" + t);3679 }),3680 (a.getTipElement = function () {3681 return (3682 (this.tip = this.tip || i.default(this.config.template)[0]),3683 this.tip3684 );3685 }),3686 (a.setContent = function () {3687 var t = i.default(this.getTipElement());3688 this.setElementContent(t.find(".popover-header"), this.getTitle());3689 var e = this._getContent();3690 typeof e == "function" && (e = e.call(this.element)),3691 this.setElementContent(t.find(".popover-body"), e),3692 t.removeClass("fade show");3693 }),3694 (a._getContent = function () {3695 return (3696 this.element.getAttribute("data-content") || this.config.content3697 );3698 }),3699 (a._cleanTipClass = function () {3700 var t = i.default(this.getTipElement()),3701 e = t.attr("class").match(ie);3702 e !== null && e.length > 0 && t.removeClass(e.join(""));3703 }),3704 (o._jQueryInterface = function (t) {3705 return this.each(function () {3706 var e = i.default(this).data("bs.popover"),3707 n = typeof t == "object" ? t : null;3708 if (3709 (e || !/dispose|hide/.test(t)) &&3710 (e ||3711 ((e = new o(this, n)), i.default(this).data("bs.popover", e)),3712 typeof t == "string")3713 ) {3714 if (typeof e[t] == "undefined")3715 throw new TypeError('No method named "' + t + '"');3716 e[t]();3717 }3718 });3719 }),3720 r(o, null, [3721 {3722 key: "VERSION",3723 get: function () {3724 return "4.6.0";3725 },3726 },3727 {3728 key: "Default",3729 get: function () {3730 return oe;3731 },3732 },3733 {3734 key: "NAME",3735 get: function () {3736 return ee;3737 },3738 },3739 {3740 key: "DATA_KEY",3741 get: function () {3742 return "bs.popover";3743 },3744 },3745 {3746 key: "Event",3747 get: function () {3748 return ae;3749 },3750 },3751 {3752 key: "EVENT_KEY",3753 get: function () {3754 return ".bs.popover";3755 },3756 },3757 {3758 key: "DefaultType",3759 get: function () {3760 return re;3761 },3762 },3763 ]),3764 o3765 );3766 })(te);3767 (i.default.fn[ee] = se._jQueryInterface),3768 (i.default.fn[ee].Constructor = se),3769 (i.default.fn[ee].noConflict = function () {3770 return (i.default.fn[ee] = ne), se._jQueryInterface;3771 });3772 var le = "scrollspy",3773 ue = i.default.fn[le],3774 fe = { offset: 10, method: "auto", target: "" },3775 de = { offset: "number", method: "string", target: "(string|element)" },3776 ce = (function () {3777 function t(t, e) {3778 var n = this;3779 (this._element = t),3780 (this._scrollElement = t.tagName === "BODY" ? window : t),3781 (this._config = this._getConfig(e)),3782 (this._selector =3783 this._config.target +3784 " .nav-link," +3785 this._config.target +3786 " .list-group-item," +3787 this._config.target +3788 " .dropdown-item"),3789 (this._offsets = []),3790 (this._targets = []),3791 (this._activeTarget = null),3792 (this._scrollHeight = 0),3793 i3794 .default(this._scrollElement)3795 .on("scroll.bs.scrollspy", function (t) {3796 return n._process(t);3797 }),3798 this.refresh(),3799 this._process();3800 }3801 var e = t.prototype;3802 return (3803 (e.refresh = function () {3804 var t = this,3805 e =3806 this._scrollElement === this._scrollElement.window3807 ? "offset"3808 : "position",3809 n = this._config.method === "auto" ? e : this._config.method,3810 o = n === "position" ? this._getScrollTop() : 0;3811 (this._offsets = []),3812 (this._targets = []),3813 (this._scrollHeight = this._getScrollHeight()),3814 [].slice3815 .call(document.querySelectorAll(this._selector))3816 .map(function (t) {3817 var e,3818 r = l.getSelectorFromElement(t);3819 if ((r && (e = document.querySelector(r)), e)) {3820 var a = e.getBoundingClientRect();3821 if (a.width || a.height)3822 return [i.default(e)[n]().top + o, r];3823 }3824 return null;3825 })3826 .filter(function (t) {3827 return t;3828 })3829 .sort(function (t, e) {3830 return t[0] - e[0];3831 })3832 .forEach(function (e) {3833 t._offsets.push(e[0]), t._targets.push(e[1]);3834 });3835 }),3836 (e.dispose = function () {3837 i.default.removeData(this._element, "bs.scrollspy"),3838 i.default(this._scrollElement).off(".bs.scrollspy"),3839 (this._element = null),3840 (this._scrollElement = null),3841 (this._config = null),3842 (this._selector = null),3843 (this._offsets = null),3844 (this._targets = null),3845 (this._activeTarget = null),3846 (this._scrollHeight = null);3847 }),3848 (e._getConfig = function (t) {3849 if (3850 typeof (t = a({}, fe, typeof t == "object" && t ? t : {})).target !=3851 "string" &&3852 l.isElement(t.target)3853 ) {3854 var e = i.default(t.target).attr("id");3855 e || ((e = l.getUID(le)), i.default(t.target).attr("id", e)),3856 (t.target = "#" + e);3857 }3858 return l.typeCheckConfig(le, t, de), t;3859 }),3860 (e._getScrollTop = function () {3861 return this._scrollElement === window3862 ? this._scrollElement.pageYOffset3863 : this._scrollElement.scrollTop;3864 }),3865 (e._getScrollHeight = function () {3866 return (3867 this._scrollElement.scrollHeight ||3868 Math.max(3869 document.body.scrollHeight,3870 document.documentElement.scrollHeight,3871 )3872 );3873 }),3874 (e._getOffsetHeight = function () {3875 return this._scrollElement === window3876 ? window.innerHeight3877 : this._scrollElement.getBoundingClientRect().height;3878 }),3879 (e._process = function () {3880 var t = this._getScrollTop() + this._config.offset,3881 e = this._getScrollHeight(),3882 n = this._config.offset + e - this._getOffsetHeight();3883 if ((this._scrollHeight !== e && this.refresh(), t >= n)) {3884 var i = this._targets[this._targets.length - 1];3885 this._activeTarget !== i && this._activate(i);3886 } else {3887 if (3888 this._activeTarget &&3889 t < this._offsets[0] &&3890 this._offsets[0] > 03891 )3892 return (this._activeTarget = null), void this._clear();3893 for (var o = this._offsets.length; o--; ) {3894 this._activeTarget !== this._targets[o] &&3895 t >= this._offsets[o] &&3896 (typeof this._offsets[o + 1] == "undefined" ||3897 t < this._offsets[o + 1]) &&3898 this._activate(this._targets[o]);3899 }3900 }3901 }),3902 (e._activate = function (t) {3903 (this._activeTarget = t), this._clear();3904 var e = this._selector.split(",").map(function (e) {3905 return (3906 e + '[data-target="' + t + '"],' + e + '[href="' + t + '"]'3907 );3908 }),3909 n = i.default(3910 [].slice.call(document.querySelectorAll(e.join(","))),3911 );3912 n.hasClass("dropdown-item")3913 ? (n3914 .closest(".dropdown")3915 .find(".dropdown-toggle")3916 .addClass("active"),3917 n.addClass("active"))3918 : (n.addClass("active"),3919 n3920 .parents(".nav, .list-group")3921 .prev(".nav-link, .list-group-item")3922 .addClass("active"),3923 n3924 .parents(".nav, .list-group")3925 .prev(".nav-item")3926 .children(".nav-link")3927 .addClass("active")),3928 i3929 .default(this._scrollElement)3930 .trigger("activate.bs.scrollspy", { relatedTarget: t });3931 }),3932 (e._clear = function () {3933 [].slice3934 .call(document.querySelectorAll(this._selector))3935 .filter(function (t) {3936 return t.classList.contains("active");3937 })3938 .forEach(function (t) {3939 return t.classList.remove("active");3940 });3941 }),3942 (t._jQueryInterface = function (e) {3943 return this.each(function () {3944 var n = i.default(this).data("bs.scrollspy");3945 if (3946 (n ||3947 ((n = new t(this, typeof e == "object" && e)),3948 i.default(this).data("bs.scrollspy", n)),3949 typeof e == "string")3950 ) {3951 if (typeof n[e] == "undefined")3952 throw new TypeError('No method named "' + e + '"');3953 n[e]();3954 }3955 });3956 }),3957 r(t, null, [3958 {3959 key: "VERSION",3960 get: function () {3961 return "4.6.0";3962 },3963 },3964 {3965 key: "Default",3966 get: function () {3967 return fe;3968 },3969 },3970 ]),3971 t3972 );3973 })();3974 i.default(window).on("load.bs.scrollspy.data-api", function () {3975 for (3976 var t = [].slice.call(document.querySelectorAll('[data-spy="scroll"]')),3977 e = t.length;3978 e--;39793980 ) {3981 var n = i.default(t[e]);3982 ce._jQueryInterface.call(n, n.data());3983 }3984 }),3985 (i.default.fn[le] = ce._jQueryInterface),3986 (i.default.fn[le].Constructor = ce),3987 (i.default.fn[le].noConflict = function () {3988 return (i.default.fn[le] = ue), ce._jQueryInterface;3989 });3990 var he = i.default.fn.tab,3991 pe = (function () {3992 function t(t) {3993 this._element = t;3994 }3995 var e = t.prototype;3996 return (3997 (e.show = function () {3998 var t = this;3999 if (4000 !(4001 (this._element.parentNode &&4002 this._element.parentNode.nodeType === Node.ELEMENT_NODE &&4003 i.default(this._element).hasClass("active")) ||4004 i.default(this._element).hasClass("disabled")4005 )4006 ) {4007 var e,4008 n,4009 o = i.default(this._element).closest(".nav, .list-group")[0],4010 r = l.getSelectorFromElement(this._element);4011 if (o) {4012 var a =4013 o.nodeName === "UL" || o.nodeName === "OL"4014 ? "> li > .active"4015 : ".active";4016 n = (n = i.default.makeArray(i.default(o).find(a)))[n.length - 1];4017 }4018 var s = i.default.Event("hide.bs.tab", {4019 relatedTarget: this._element,4020 }),4021 u = i.default.Event("show.bs.tab", { relatedTarget: n });4022 if (4023 (n && i.default(n).trigger(s),4024 i.default(this._element).trigger(u),4025 !u.isDefaultPrevented() && !s.isDefaultPrevented())4026 ) {4027 r && (e = document.querySelector(r)),4028 this._activate(this._element, o);4029 var f = function () {4030 var e = i.default.Event("hidden.bs.tab", {4031 relatedTarget: t._element,4032 }),4033 o = i.default.Event("shown.bs.tab", { relatedTarget: n });4034 i.default(n).trigger(e), i.default(t._element).trigger(o);4035 };4036 e ? this._activate(e, e.parentNode, f) : f();4037 }4038 }4039 }),4040 (e.dispose = function () {4041 i.default.removeData(this._element, "bs.tab"), (this._element = null);4042 }),4043 (e._activate = function (t, e, n) {4044 var o = this,4045 r = (4046 !e || (e.nodeName !== "UL" && e.nodeName !== "OL")4047 ? i.default(e).children(".active")4048 : i.default(e).find("> li > .active")4049 )[0],4050 a = n && r && i.default(r).hasClass("fade"),4051 s = function () {4052 return o._transitionComplete(t, r, n);4053 };4054 if (r && a) {4055 var u = l.getTransitionDurationFromElement(r);4056 i.default(r)4057 .removeClass("show")4058 .one(l.TRANSITION_END, s)4059 .emulateTransitionEnd(u);4060 } else s();4061 }),4062 (e._transitionComplete = function (t, e, n) {4063 if (e) {4064 i.default(e).removeClass("active");4065 var o = i.default(e.parentNode).find("> .dropdown-menu .active")[0];4066 o && i.default(o).removeClass("active"),4067 e.getAttribute("role") === "tab" &&4068 e.setAttribute("aria-selected", !1);4069 }4070 if (4071 (i.default(t).addClass("active"),4072 t.getAttribute("role") === "tab" &&4073 t.setAttribute("aria-selected", !0),4074 l.reflow(t),4075 t.classList.contains("fade") && t.classList.add("show"),4076 t.parentNode && i.default(t.parentNode).hasClass("dropdown-menu"))4077 ) {4078 var r = i.default(t).closest(".dropdown")[0];4079 if (r) {4080 var a = [].slice.call(r.querySelectorAll(".dropdown-toggle"));4081 i.default(a).addClass("active");4082 }4083 t.setAttribute("aria-expanded", !0);4084 }4085 n && n();4086 }),4087 (t._jQueryInterface = function (e) {4088 return this.each(function () {4089 var n = i.default(this),4090 o = n.data("bs.tab");4091 if (4092 (o || ((o = new t(this)), n.data("bs.tab", o)),4093 typeof e == "string")4094 ) {4095 if (typeof o[e] == "undefined")4096 throw new TypeError('No method named "' + e + '"');4097 o[e]();4098 }4099 });4100 }),4101 r(t, null, [4102 {4103 key: "VERSION",4104 get: function () {4105 return "4.6.0";4106 },4107 },4108 ]),4109 t4110 );4111 })();4112 i4113 .default(document)4114 .on(4115 "click.bs.tab.data-api",4116 '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',4117 function (t) {4118 t.preventDefault(), pe._jQueryInterface.call(i.default(this), "show");4119 },4120 ),4121 (i.default.fn.tab = pe._jQueryInterface),4122 (i.default.fn.tab.Constructor = pe),4123 (i.default.fn.tab.noConflict = function () {4124 return (i.default.fn.tab = he), pe._jQueryInterface;4125 });4126 var me = i.default.fn.toast,4127 ge = { animation: "boolean", autohide: "boolean", delay: "number" },4128 ve = { animation: !0, autohide: !0, delay: 500 },4129 _e = (function () {4130 function t(t, e) {4131 (this._element = t),4132 (this._config = this._getConfig(e)),4133 (this._timeout = null),4134 this._setListeners();4135 }4136 var e = t.prototype;4137 return (4138 (e.show = function () {4139 var t = this,4140 e = i.default.Event("show.bs.toast");4141 if ((i.default(this._element).trigger(e), !e.isDefaultPrevented())) {4142 this._clearTimeout(),4143 this._config.animation && this._element.classList.add("fade");4144 var n = function () {4145 t._element.classList.remove("showing"),4146 t._element.classList.add("show"),4147 i.default(t._element).trigger("shown.bs.toast"),4148 t._config.autohide &&4149 (t._timeout = setTimeout(function () {4150 t.hide();4151 }, t._config.delay));4152 };4153 if (4154 (this._element.classList.remove("hide"),4155 l.reflow(this._element),4156 this._element.classList.add("showing"),4157 this._config.animation)4158 ) {4159 var o = l.getTransitionDurationFromElement(this._element);4160 i.default(this._element)4161 .one(l.TRANSITION_END, n)4162 .emulateTransitionEnd(o);4163 } else n();4164 }4165 }),4166 (e.hide = function () {4167 if (this._element.classList.contains("show")) {4168 var t = i.default.Event("hide.bs.toast");4169 i.default(this._element).trigger(t),4170 t.isDefaultPrevented() || this._close();4171 }4172 }),4173 (e.dispose = function () {4174 this._clearTimeout(),4175 this._element.classList.contains("show") &&4176 this._element.classList.remove("show"),4177 i.default(this._element).off("click.dismiss.bs.toast"),4178 i.default.removeData(this._element, "bs.toast"),4179 (this._element = null),4180 (this._config = null);4181 }),4182 (e._getConfig = function (t) {4183 return (4184 (t = a(4185 {},4186 ve,4187 i.default(this._element).data(),4188 typeof t == "object" && t ? t : {},4189 )),4190 l.typeCheckConfig("toast", t, this.constructor.DefaultType),4191 t4192 );4193 }),4194 (e._setListeners = function () {4195 var t = this;4196 i.default(this._element).on(4197 "click.dismiss.bs.toast",4198 '[data-dismiss="toast"]',4199 function () {4200 return t.hide();4201 },4202 );4203 }),4204 (e._close = function () {4205 var t = this,4206 e = function () {4207 t._element.classList.add("hide"),4208 i.default(t._element).trigger("hidden.bs.toast");4209 };4210 if (4211 (this._element.classList.remove("show"), this._config.animation)4212 ) {4213 var n = l.getTransitionDurationFromElement(this._element);4214 i.default(this._element)4215 .one(l.TRANSITION_END, e)4216 .emulateTransitionEnd(n);4217 } else e();4218 }),4219 (e._clearTimeout = function () {4220 clearTimeout(this._timeout), (this._timeout = null);4221 }),4222 (t._jQueryInterface = function (e) {4223 return this.each(function () {4224 var n = i.default(this),4225 o = n.data("bs.toast");4226 if (4227 (o ||4228 ((o = new t(this, typeof e == "object" && e)),4229 n.data("bs.toast", o)),4230 typeof e == "string")4231 ) {4232 if (typeof o[e] == "undefined")4233 throw new TypeError('No method named "' + e + '"');4234 o[e](this);4235 }4236 });4237 }),4238 r(t, null, [4239 {4240 key: "VERSION",4241 get: function () {4242 return "4.6.0";4243 },4244 },4245 {4246 key: "DefaultType",4247 get: function () {4248 return ge;4249 },4250 },4251 {4252 key: "Default",4253 get: function () {4254 return ve;4255 },4256 },4257 ]),4258 t4259 );4260 })();4261 (i.default.fn.toast = _e._jQueryInterface),4262 (i.default.fn.toast.Constructor = _e),4263 (i.default.fn.toast.noConflict = function () {4264 return (i.default.fn.toast = me), _e._jQueryInterface;4265 }),4266 (t.Alert = d),4267 (t.Button = h),4268 (t.Carousel = y),4269 (t.Collapse = S),4270 (t.Dropdown = Ft),4271 (t.Modal = qt),4272 (t.Popover = se),4273 (t.Scrollspy = ce),4274 (t.Tab = pe),4275 (t.Toast = _e),4276 (t.Tooltip = te),4277 (t.Util = l),4278 Object.defineProperty(t, "__esModule", { value: !0 });4279});
56 (window.wc = { darkLightEnabled: t, isSiteThemeDark: n }),
57 window.netlifyIdentity &&
58 window.netlifyIdentity.on("init", (e) => {
59 e ||60 window.netlifyIdentity.on("login", () => {61 document.location.href = "/admin/";62 });63 }),
64 i(),
65 (window.PlotlyConfig = { MathJaxConfig: "local" });
3562 (e._fixTransition = function () {
3563 var t = this.getTipElement(),
3564 e = this.config.animation;
3565 t.getAttribute("x-placement") === null &&3566 (i.default(t).removeClass("fade"),3567 (this.config.animation = !1),3568 this.hide(),3569 this.show(),3570 (this.config.animation = e));3571 }),
3572 (t._jQueryInterface = function (e) {
3573 return this.each(function () {
3545 var t = {};
3546 if (this.config)
3547 for (var e in this.config)
3548 this.constructor.Default[e] !== this.config[e] &&3549 (t[e] = this.config[e]);3550 return t;
3551 }),
3552 (e._cleanTipClass = function () {
3524 var e = i.default(this.element).data();
3525 return (
3526 Object.keys(e).forEach(function (t) {
3527 Kt.indexOf(t) !== -1 && delete e[t];3528 }),
3529 typeof (t = a(
3530 {},
An unused expression that does not affect the state of the program indicates a logic error.
For example, if a programmer wants to increment the value of a variable a
by one, and intends to do so through this code:
let a = 0
a = a + 1
console.log(a) // output 1
But because of a typo, writes the following:
let a = 0
a + 1
console.log(a)
Here, the expression a + 1
does nothing meaningful in the program's runtime.
The expression is thus considered "unused" and should be removed.
0
if(0) 0
{0}
f(0), {}
a, b()
c = a, b;
a() && function namedFunctionInExpressionContext () {f();}
(function anIncompleteIIFE () {});
injectGlobal`body{ color: red; }`
{} // In this context, this is a block statement, not an object literal
{myLabel: someVar} // In this context, this is a block statement with a label and expression, not an object literal
function namedFunctionDeclaration () {}
(function aGenuineIIFE () {}());
f()
a = 0
new C
delete a.b
void a