vendor: 36,136 bytes, lines 1-796
1"use strict"; 2 3function _typeof(obj) { 4 "@babel/helpers - typeof"; 5 6 if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { 7 _typeof = function _typeof(obj) { 8 return typeof obj; 9 }; 10 } else { 11 _typeof = function _typeof(obj) { 12 return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; 13 }; 14 } 15 16 return _typeof(obj); 17} 18/*! 19 * Bootstrap v4.6.0 (https://getbootstrap.com/) 20 * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 21 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 22 */ 23 24 25!function (t, e) { 26 "object" == (typeof exports === "undefined" ? "undefined" : _typeof(exports)) && "undefined" != typeof module ? e(exports, require("jquery"), require("popper.js")) : "function" == typeof define && define.amd ? define(["exports", "jquery", "popper.js"], e) : e((t = "undefined" != typeof globalThis ? globalThis : t || self).bootstrap = {}, t.jQuery, t.Popper); 27}(void 0, function (t, e, n) { 28 "use strict"; 29 30 function i(t) { 31 return t && "object" == _typeof(t) && "default" in t ? t : { 32 default: t 33 }; 34 } 35 36 var o = i(e), 37 a = i(n); 38 39 function s(t, e) { 40 for (var n = 0; n < e.length; n++) { 41 var i = e[n]; 42 i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i); 43 } 44 } 45 46 function l(t, e, n) { 47 return e && s(t.prototype, e), n && s(t, n), t; 48 } 49 50 function r() { 51 return (r = Object.assign || function (t) { 52 for (var e = 1; e < arguments.length; e++) { 53 var n = arguments[e]; 54 55 for (var i in n) { 56 Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]); 57 } 58 } 59 60 return t; 61 }).apply(this, arguments); 62 } 63 64 function u(t) { 65 var e = this, 66 n = !1; 67 return o.default(this).one(d.TRANSITION_END, function () { 68 n = !0; 69 }), setTimeout(function () { 70 n || d.triggerTransitionEnd(e); 71 }, t), this; 72 } 73 74 var d = { 75 TRANSITION_END: "bsTransitionEnd", 76 getUID: function getUID(t) { 77 do { 78 t += ~~(1e6 * Math.random()); 79 } while (document.getElementById(t)); 80 81 return t; 82 }, 83 getSelectorFromElement: function getSelectorFromElement(t) { 84 var e = t.getAttribute("data-target"); 85 86 if (!e || "#" === e) { 87 var n = t.getAttribute("href"); 88 e = n && "#" !== n ? n.trim() : ""; 89 } 90 91 try { 92 return document.querySelector(e) ? e : null; 93 } catch (t) { 94 return null; 95 } 96 }, 97 getTransitionDurationFromElement: function getTransitionDurationFromElement(t) { 98 if (!t) return 0; 99 var e = o.default(t).css("transition-duration"), 100 n = o.default(t).css("transition-delay"), 101 i = parseFloat(e), 102 a = parseFloat(n); 103 return i || a ? (e = e.split(",")[0], n = n.split(",")[0], 1e3 * (parseFloat(e) + parseFloat(n))) : 0; 104 }, 105 reflow: function reflow(t) { 106 return t.offsetHeight; 107 }, 108 triggerTransitionEnd: function triggerTransitionEnd(t) { 109 o.default(t).trigger("transitionend"); 110 }, 111 supportsTransitionEnd: function supportsTransitionEnd() { 112 return Boolean("transitionend"); 113 }, 114 isElement: function isElement(t) { 115 return (t[0] || t).nodeType; 116 }, 117 typeCheckConfig: function typeCheckConfig(t, e, n) { 118 for (var i in n) { 119 if (Object.prototype.hasOwnProperty.call(n, i)) { 120 var o = n[i], 121 a = e[i], 122 s = a && d.isElement(a) ? "element" : null === (l = a) || "undefined" == typeof l ? "" + l : {}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase(); 123 if (!new RegExp(o).test(s)) throw new Error(t.toUpperCase() + ': Option "' + i + '" provided type "' + s + '" but expected type "' + o + '".'); 124 } 125 } 126 127 var l; 128 }, 129 findShadowRoot: function findShadowRoot(t) { 130 if (!document.documentElement.attachShadow) return null; 131 132 if ("function" == typeof t.getRootNode) { 133 var e = t.getRootNode(); 134 return e instanceof ShadowRoot ? e : null; 135 } 136 137 return t instanceof ShadowRoot ? t : t.parentNode ? d.findShadowRoot(t.parentNode) : null; 138 }, 139 jQueryDetection: function jQueryDetection() { 140 if ("undefined" == typeof o.default) throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript."); 141 var t = o.default.fn.jquery.split(" ")[0].split("."); 142 if (t[0] < 2 && t[1] < 9 || 1 === t[0] && 9 === t[1] && t[2] < 1 || t[0] >= 4) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0"); 143 } 144 }; 145 d.jQueryDetection(), o.default.fn.emulateTransitionEnd = u, o.default.event.special[d.TRANSITION_END] = { 146 bindType: "transitionend", 147 delegateType: "transitionend", 148 handle: function handle(t) { 149 if (o.default(t.target).is(this)) return t.handleObj.handler.apply(this, arguments); 150 } 151 }; 152 153 var f = "alert", 154 c = o.default.fn[f], 155 h = function () { 156 function t(t) { 157 this._element = t; 158 } 159 160 var e = t.prototype; 161 return e.close = function (t) { 162 var e = this._element; 163 t && (e = this._getRootElement(t)), this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e); 164 }, e.dispose = function () { 165 o.default.removeData(this._element, "bs.alert"), this._element = null; 166 }, e._getRootElement = function (t) { 167 var e = d.getSelectorFromElement(t), 168 n = !1; 169 return e && (n = document.querySelector(e)), n || (n = o.default(t).closest(".alert")[0]), n; 170 }, e._triggerCloseEvent = function (t) { 171 var e = o.default.Event("close.bs.alert"); 172 return o.default(t).trigger(e), e; 173 }, e._removeElement = function (t) { 174 var e = this; 175 176 if (o.default(t).removeClass("show"), o.default(t).hasClass("fade")) { 177 var n = d.getTransitionDurationFromElement(t); 178 o.default(t).one(d.TRANSITION_END, function (n) { 179 return e._destroyElement(t, n); 180 }).emulateTransitionEnd(n); 181 } else this._destroyElement(t); 182 }, e._destroyElement = function (t) { 183 o.default(t).detach().trigger("closed.bs.alert").remove(); 184 }, t._jQueryInterface = function (e) { 185 return this.each(function () { 186 var n = o.default(this), 187 i = n.data("bs.alert"); 188 i || (i = new t(this), n.data("bs.alert", i)), "close" === e && i[e](this); 189 }); 190 }, t._handleDismiss = function (t) { 191 return function (e) { 192 e && e.preventDefault(), t.close(this); 193 }; 194 }, l(t, null, [{ 195 key: "VERSION", 196 get: function get() { 197 return "4.6.0"; 198 } 199 }]), t; 200 }(); 201 202 o.default(document).on("click.bs.alert.data-api", '[data-dismiss="alert"]', h._handleDismiss(new h())), o.default.fn[f] = h._jQueryInterface, o.default.fn[f].Constructor = h, o.default.fn[f].noConflict = function () { 203 return o.default.fn[f] = c, h._jQueryInterface; 204 }; 205 206 var g = o.default.fn.button, 207 m = function () { 208 function t(t) { 209 this._element = t, this.shouldAvoidTriggerChange = !1; 210 } 211 212 var e = t.prototype; 213 return e.toggle = function () { 214 var t = !0, 215 e = !0, 216 n = o.default(this._element).closest('[data-toggle="buttons"]')[0]; 217 218 if (n) { 219 var i = this._element.querySelector('input:not([type="hidden"])'); 220 221 if (i) { 222 if ("radio" === i.type) if (i.checked && this._element.classList.contains("active")) t = !1;else { 223 var a = n.querySelector(".active"); 224 a && o.default(a).removeClass("active"); 225 } 226 t && ("checkbox" !== i.type && "radio" !== i.type || (i.checked = !this._element.classList.contains("active")), this.shouldAvoidTriggerChange || o.default(i).trigger("change")), i.focus(), e = !1; 227 } 228 } 229 230 this._element.hasAttribute("disabled") || this._element.classList.contains("disabled") || (e && this._element.setAttribute("aria-pressed", !this._element.classList.contains("active")), t && o.default(this._element).toggleClass("active")); 231 }, e.dispose = function () { 232 o.default.removeData(this._element, "bs.button"), this._element = null; 233 }, t._jQueryInterface = function (e, n) { 234 return this.each(function () { 235 var i = o.default(this), 236 a = i.data("bs.button"); 237 a || (a = new t(this), i.data("bs.button", a)), a.shouldAvoidTriggerChange = n, "toggle" === e && a[e](); 238 }); 239 }, l(t, null, [{ 240 key: "VERSION", 241 get: function get() { 242 return "4.6.0"; 243 } 244 }]), t; 245 }(); 246 247 o.default(document).on("click.bs.button.data-api", '[data-toggle^="button"]', function (t) { 248 var e = t.target, 249 n = e; 250 if (o.default(e).hasClass("btn") || (e = o.default(e).closest(".btn")[0]), !e || e.hasAttribute("disabled") || e.classList.contains("disabled")) t.preventDefault();else { 251 var i = e.querySelector('input:not([type="hidden"])'); 252 if (i && (i.hasAttribute("disabled") || i.classList.contains("disabled"))) return void t.preventDefault(); 253 "INPUT" !== n.tagName && "LABEL" === e.tagName || m._jQueryInterface.call(o.default(e), "toggle", "INPUT" === n.tagName); 254 } 255 }).on("focus.bs.button.data-api blur.bs.button.data-api", '[data-toggle^="button"]', function (t) { 256 var e = o.default(t.target).closest(".btn")[0]; 257 o.default(e).toggleClass("focus", /^focus(in)?$/.test(t.type)); 258 }), o.default(window).on("load.bs.button.data-api", function () { 259 for (var t = [].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')), e = 0, n = t.length; e < n; e++) { 260 var i = t[e], 261 o = i.querySelector('input:not([type="hidden"])'); 262 o.checked || o.hasAttribute("checked") ? i.classList.add("active") : i.classList.remove("active"); 263 } 264 265 for (var a = 0, s = (t = [].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length; a < s; a++) { 266 var l = t[a]; 267 "true" === l.getAttribute("aria-pressed") ? l.classList.add("active") : l.classList.remove("active"); 268 } 269 }), o.default.fn.button = m._jQueryInterface, o.default.fn.button.Constructor = m, o.default.fn.button.noConflict = function () { 270 return o.default.fn.button = g, m._jQueryInterface; 271 }; 272 273 var p = "carousel", 274 _ = ".bs.carousel", 275 v = o.default.fn[p], 276 b = { 277 interval: 5e3, 278 keyboard: !0, 279 slide: !1, 280 pause: "hover", 281 wrap: !0, 282 touch: !0 283 }, 284 y = { 285 interval: "(number|boolean)", 286 keyboard: "boolean", 287 slide: "(boolean|string)", 288 pause: "(string|boolean)", 289 wrap: "boolean", 290 touch: "boolean" 291 }, 292 E = { 293 TOUCH: "touch", 294 PEN: "pen" 295 }, 296 w = function () { 297 function t(t, e) { 298 this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this.touchStartX = 0, this.touchDeltaX = 0, this._config = this._getConfig(e), this._element = t, this._indicatorsElement = this._element.querySelector(".carousel-indicators"), this._touchSupported = "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0, this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent), this._addEventListeners(); 299 } 300 301 var e = t.prototype; 302 return e.next = function () { 303 this._isSliding || this._slide("next"); 304 }, e.nextWhenVisible = function () { 305 var t = o.default(this._element); 306 !document.hidden && t.is(":visible") && "hidden" !== t.css("visibility") && this.next(); 307 }, e.prev = function () { 308 this._isSliding || this._slide("prev"); 309 }, e.pause = function (t) { 310 t || (this._isPaused = !0), this._element.querySelector(".carousel-item-next, .carousel-item-prev") && (d.triggerTransitionEnd(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null; 311 }, e.cycle = function (t) { 312 t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config.interval && !this._isPaused && (this._updateInterval(), this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval)); 313 }, e.to = function (t) { 314 var e = this; 315 this._activeElement = this._element.querySelector(".active.carousel-item"); 316 317 var n = this._getItemIndex(this._activeElement); 318 319 if (!(t > this._items.length - 1 || t < 0)) if (this._isSliding) o.default(this._element).one("slid.bs.carousel", function () { 320 return e.to(t); 321 });else { 322 if (n === t) return this.pause(), void this.cycle(); 323 var i = t > n ? "next" : "prev"; 324 325 this._slide(i, this._items[t]); 326 } 327 }, e.dispose = function () { 328 o.default(this._element).off(_), o.default.removeData(this._element, "bs.carousel"), this._items = null, this._config = null, this._element = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null; 329 }, e._getConfig = function (t) { 330 return t = r({}, b, t), d.typeCheckConfig(p, t, y), t; 331 }, e._handleSwipe = function () { 332 var t = Math.abs(this.touchDeltaX); 333 334 if (!(t <= 40)) { 335 var e = t / this.touchDeltaX; 336 this.touchDeltaX = 0, e > 0 && this.prev(), e < 0 && this.next(); 337 } 338 }, e._addEventListeners = function () { 339 var t = this; 340 this._config.keyboard && o.default(this._element).on("keydown.bs.carousel", function (e) { 341 return t._keydown(e); 342 }), "hover" === this._config.pause && o.default(this._element).on("mouseenter.bs.carousel", function (e) { 343 return t.pause(e); 344 }).on("mouseleave.bs.carousel", function (e) { 345 return t.cycle(e); 346 }), this._config.touch && this._addTouchEventListeners(); 347 }, e._addTouchEventListeners = function () { 348 var t = this; 349 350 if (this._touchSupported) { 351 var e = function e(_e) { 352 t._pointerEvent && E[_e.originalEvent.pointerType.toUpperCase()] ? t.touchStartX = _e.originalEvent.clientX : t._pointerEvent || (t.touchStartX = _e.originalEvent.touches[0].clientX); 353 }, 354 n = function n(e) { 355 t._pointerEvent && E[e.originalEvent.pointerType.toUpperCase()] && (t.touchDeltaX = e.originalEvent.clientX - t.touchStartX), t._handleSwipe(), "hover" === t._config.pause && (t.pause(), t.touchTimeout && clearTimeout(t.touchTimeout), t.touchTimeout = setTimeout(function (e) { 356 return t.cycle(e); 357 }, 500 + t._config.interval)); 358 }; 359 360 o.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel", function (t) { 361 return t.preventDefault(); 362 }), this._pointerEvent ? (o.default(this._element).on("pointerdown.bs.carousel", function (t) { 363 return e(t); 364 }), o.default(this._element).on("pointerup.bs.carousel", function (t) { 365 return n(t); 366 }), this._element.classList.add("pointer-event")) : (o.default(this._element).on("touchstart.bs.carousel", function (t) { 367 return e(t); 368 }), o.default(this._element).on("touchmove.bs.carousel", function (e) { 369 return function (e) { 370 e.originalEvent.touches && e.originalEvent.touches.length > 1 ? t.touchDeltaX = 0 : t.touchDeltaX = e.originalEvent.touches[0].clientX - t.touchStartX; 371 }(e); 372 }), o.default(this._element).on("touchend.bs.carousel", function (t) { 373 return n(t); 374 })); 375 } 376 }, e._keydown = function (t) { 377 if (!/input|textarea/i.test(t.target.tagName)) switch (t.which) { 378 case 37: 379 t.preventDefault(), this.prev(); 380 break; 381 382 case 39: 383 t.preventDefault(), this.next(); 384 } 385 }, e._getItemIndex = function (t) { 386 return this._items = t && t.parentNode ? [].slice.call(t.parentNode.querySelectorAll(".carousel-item")) : [], this._items.indexOf(t); 387 }, e._getItemByDirection = function (t, e) { 388 var n = "next" === t, 389 i = "prev" === t, 390 o = this._getItemIndex(e), 391 a = this._items.length - 1; 392 393 if ((i && 0 === o || n && o === a) && !this._config.wrap) return e; 394 var s = (o + ("prev" === t ? -1 : 1)) % this._items.length; 395 return -1 === s ? this._items[this._items.length - 1] : this._items[s]; 396 }, e._triggerSlideEvent = function (t, e) { 397 var n = this._getItemIndex(t), 398 i = this._getItemIndex(this._element.querySelector(".active.carousel-item")), 399 a = o.default.Event("slide.bs.carousel", { 400 relatedTarget: t, 401 direction: e, 402 from: i, 403 to: n 404 }); 405 406 return o.default(this._element).trigger(a), a; 407 }, e._setActiveIndicatorElement = function (t) { 408 if (this._indicatorsElement) { 409 var e = [].slice.call(this._indicatorsElement.querySelectorAll(".active")); 410 o.default(e).removeClass("active"); 411 412 var n = this._indicatorsElement.children[this._getItemIndex(t)]; 413 414 n && o.default(n).addClass("active"); 415 } 416 }, e._updateInterval = function () { 417 var t = this._activeElement || this._element.querySelector(".active.carousel-item"); 418 419 if (t) { 420 var e = parseInt(t.getAttribute("data-interval"), 10); 421 e ? (this._config.defaultInterval = this._config.defaultInterval || this._config.interval, this._config.interval = e) : this._config.interval = this._config.defaultInterval || this._config.interval; 422 } 423 }, e._slide = function (t, e) { 424 var n, 425 i, 426 a, 427 s = this, 428 l = this._element.querySelector(".active.carousel-item"), 429 r = this._getItemIndex(l), 430 u = e || l && this._getItemByDirection(t, l), 431 f = this._getItemIndex(u), 432 c = Boolean(this._interval); 433 434 if ("next" === t ? (n = "carousel-item-left", i = "carousel-item-next", a = "left") : (n = "carousel-item-right", i = "carousel-item-prev", a = "right"), u && o.default(u).hasClass("active")) this._isSliding = !1;else if (!this._triggerSlideEvent(u, a).isDefaultPrevented() && l && u) { 435 this._isSliding = !0, c && this.pause(), this._setActiveIndicatorElement(u), this._activeElement = u; 436 var h = o.default.Event("slid.bs.carousel", { 437 relatedTarget: u, 438 direction: a, 439 from: r, 440 to: f 441 }); 442 443 if (o.default(this._element).hasClass("slide")) { 444 o.default(u).addClass(i), d.reflow(u), o.default(l).addClass(n), o.default(u).addClass(n); 445 var g = d.getTransitionDurationFromElement(l); 446 o.default(l).one(d.TRANSITION_END, function () { 447 o.default(u).removeClass(n + " " + i).addClass("active"), o.default(l).removeClass("active " + i + " " + n), s._isSliding = !1, setTimeout(function () { 448 return o.default(s._element).trigger(h); 449 }, 0); 450 }).emulateTransitionEnd(g); 451 } else o.default(l).removeClass("active"), o.default(u).addClass("active"), this._isSliding = !1, o.default(this._element).trigger(h); 452 453 c && this.cycle(); 454 } 455 }, t._jQueryInterface = function (e) { 456 return this.each(function () { 457 var n = o.default(this).data("bs.carousel"), 458 i = r({}, b, o.default(this).data()); 459 "object" == _typeof(e) && (i = r({}, i, e)); 460 var a = "string" == typeof e ? e : i.slide; 461 if (n || (n = new t(this, i), o.default(this).data("bs.carousel", n)), "number" == typeof e) n.to(e);else if ("string" == typeof a) { 462 if ("undefined" == typeof n[a]) throw new TypeError('No method named "' + a + '"'); 463 n[a](); 464 } else i.interval && i.ride && (n.pause(), n.cycle()); 465 }); 466 }, t._dataApiClickHandler = function (e) { 467 var n = d.getSelectorFromElement(this); 468 469 if (n) { 470 var i = o.default(n)[0]; 471 472 if (i && o.default(i).hasClass("carousel")) { 473 var a = r({}, o.default(i).data(), o.default(this).data()), 474 s = this.getAttribute("data-slide-to"); 475 s && (a.interval = !1), t._jQueryInterface.call(o.default(i), a), s && o.default(i).data("bs.carousel").to(s), e.preventDefault(); 476 } 477 } 478 }, l(t, null, [{ 479 key: "VERSION", 480 get: function get() { 481 return "4.6.0"; 482 } 483 }, { 484 key: "Default", 485 get: function get() { 486 return b; 487 } 488 }]), t; 489 }(); 490 491 o.default(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", w._dataApiClickHandler), o.default(window).on("load.bs.carousel.data-api", function () { 492 for (var t = [].slice.call(document.querySelectorAll('[data-ride="carousel"]')), e = 0, n = t.length; e < n; e++) { 493 var i = o.default(t[e]); 494 495 w._jQueryInterface.call(i, i.data()); 496 } 497 }), o.default.fn[p] = w._jQueryInterface, o.default.fn[p].Constructor = w, o.default.fn[p].noConflict = function () { 498 return o.default.fn[p] = v, w._jQueryInterface; 499 }; 500 501 var T = "collapse", 502 C = o.default.fn[T], 503 S = { 504 toggle: !0, 505 parent: "" 506 }, 507 N = { 508 toggle: "boolean", 509 parent: "(string|element)" 510 }, 511 D = function () { 512 function t(t, e) { 513 this._isTransitioning = !1, this._element = t, this._config = this._getConfig(e), this._triggerArray = [].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#' + t.id + '"],[data-toggle="collapse"][data-target="#' + t.id + '"]')); 514 515 for (var n = [].slice.call(document.querySelectorAll('[data-toggle="collapse"]')), i = 0, o = n.length; i < o; i++) { 516 var a = n[i], 517 s = d.getSelectorFromElement(a), 518 l = [].slice.call(document.querySelectorAll(s)).filter(function (e) { 519 return e === t; 520 }); 521 null !== s && l.length > 0 && (this._selector = s, this._triggerArray.push(a)); 522 } 523 524 this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle(); 525 } 526 527 var e = t.prototype; 528 return e.toggle = function () { 529 o.default(this._element).hasClass("show") ? this.hide() : this.show(); 530 }, e.show = function () { 531 var e, 532 n, 533 i = this; 534 535 if (!this._isTransitioning && !o.default(this._element).hasClass("show") && (this._parent && 0 === (e = [].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function (t) { 536 return "string" == typeof i._config.parent ? t.getAttribute("data-parent") === i._config.parent : t.classList.contains("collapse"); 537 })).length && (e = null), !(e && (n = o.default(e).not(this._selector).data("bs.collapse")) && n._isTransitioning))) { 538 var a = o.default.Event("show.bs.collapse"); 539 540 if (o.default(this._element).trigger(a), !a.isDefaultPrevented()) { 541 e && (t._jQueryInterface.call(o.default(e).not(this._selector), "hide"), n || o.default(e).data("bs.collapse", null)); 542 543 var s = this._getDimension(); 544 545 o.default(this._element).removeClass("collapse").addClass("collapsing"), this._element.style[s] = 0, this._triggerArray.length && o.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded", !0), this.setTransitioning(!0); 546 var l = "scroll" + (s[0].toUpperCase() + s.slice(1)), 547 r = d.getTransitionDurationFromElement(this._element); 548 o.default(this._element).one(d.TRANSITION_END, function () { 549 o.default(i._element).removeClass("collapsing").addClass("collapse show"), i._element.style[s] = "", i.setTransitioning(!1), o.default(i._element).trigger("shown.bs.collapse"); 550 }).emulateTransitionEnd(r), this._element.style[s] = this._element[l] + "px"; 551 } 552 } 553 }, e.hide = function () { 554 var t = this; 555 556 if (!this._isTransitioning && o.default(this._element).hasClass("show")) { 557 var e = o.default.Event("hide.bs.collapse"); 558 559 if (o.default(this._element).trigger(e), !e.isDefaultPrevented()) { 560 var n = this._getDimension(); 561 562 this._element.style[n] = this._element.getBoundingClientRect()[n] + "px", d.reflow(this._element), o.default(this._element).addClass("collapsing").removeClass("collapse show"); 563 var i = this._triggerArray.length; 564 if (i > 0) for (var a = 0; a < i; a++) { 565 var s = this._triggerArray[a], 566 l = d.getSelectorFromElement(s); 567 if (null !== l) o.default([].slice.call(document.querySelectorAll(l))).hasClass("show") || o.default(s).addClass("collapsed").attr("aria-expanded", !1); 568 } 569 this.setTransitioning(!0); 570 this._element.style[n] = ""; 571 var r = d.getTransitionDurationFromElement(this._element); 572 o.default(this._element).one(d.TRANSITION_END, function () { 573 t.setTransitioning(!1), o.default(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse"); 574 }).emulateTransitionEnd(r); 575 } 576 } 577 }, e.setTransitioning = function (t) { 578 this._isTransitioning = t; 579 }, e.dispose = function () { 580 o.default.removeData(this._element, "bs.collapse"), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null; 581 }, e._getConfig = function (t) { 582 return (t = r({}, S, t)).toggle = Boolean(t.toggle), d.typeCheckConfig(T, t, N), t; 583 }, e._getDimension = function () { 584 return o.default(this._element).hasClass("width") ? "width" : "height"; 585 }, e._getParent = function () { 586 var e, 587 n = this; 588 d.isElement(this._config.parent) ? (e = this._config.parent, "undefined" != typeof this._config.parent.jquery && (e = this._config.parent[0])) : e = document.querySelector(this._config.parent); 589 var i = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]', 590 a = [].slice.call(e.querySelectorAll(i)); 591 return o.default(a).each(function (e, i) { 592 n._addAriaAndCollapsedClass(t._getTargetFromElement(i), [i]); 593 }), e; 594 }, e._addAriaAndCollapsedClass = function (t, e) { 595 var n = o.default(t).hasClass("show"); 596 e.length && o.default(e).toggleClass("collapsed", !n).attr("aria-expanded", n); 597 }, t._getTargetFromElement = function (t) { 598 var e = d.getSelectorFromElement(t); 599 return e ? document.querySelector(e) : null; 600 }, t._jQueryInterface = function (e) { 601 return this.each(function () { 602 var n = o.default(this), 603 i = n.data("bs.collapse"), 604 a = r({}, S, n.data(), "object" == _typeof(e) && e ? e : {}); 605 606 if (!i && a.toggle && "string" == typeof e && /show|hide/.test(e) && (a.toggle = !1), i || (i = new t(this, a), n.data("bs.collapse", i)), "string" == typeof e) { 607 if ("undefined" == typeof i[e]) throw new TypeError('No method named "' + e + '"'); 608 i[e](); 609 } 610 }); 611 }, l(t, null, [{ 612 key: "VERSION", 613 get: function get() { 614 return "4.6.0"; 615 } 616 }, { 617 key: "Default", 618 get: function get() { 619 return S; 620 } 621 }]), t; 622 }(); 623 624 o.default(document).on("click.bs.collapse.data-api", '[data-toggle="collapse"]', function (t) { 625 "A" === t.currentTarget.tagName && t.preventDefault(); 626 var e = o.default(this), 627 n = d.getSelectorFromElement(this), 628 i = [].slice.call(document.querySelectorAll(n)); 629 o.default(i).each(function () { 630 var t = o.default(this), 631 n = t.data("bs.collapse") ? "toggle" : e.data(); 632 633 D._jQueryInterface.call(t, n); 634 }); 635 }), o.default.fn[T] = D._jQueryInterface, o.default.fn[T].Constructor = D, o.default.fn[T].noConflict = function () { 636 return o.default.fn[T] = C, D._jQueryInterface; 637 }; 638 639 var k = "dropdown", 640 A = o.default.fn[k], 641 I = new RegExp("38|40|27"), 642 j = { 643 offset: 0, 644 flip: !0, 645 boundary: "scrollParent", 646 reference: "toggle", 647 display: "dynamic", 648 popperConfig: null 649 }, 650 O = { 651 offset: "(number|string|function)", 652 flip: "boolean", 653 boundary: "(string|element)", 654 reference: "(string|element)", 655 display: "string", 656 popperConfig: "(null|object)" 657 }, 658 x = function () { 659 function t(t, e) { 660 this._element = t, this._popper = null, this._config = this._getConfig(e), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners(); 661 } 662 663 var e = t.prototype; 664 return e.toggle = function () { 665 if (!this._element.disabled && !o.default(this._element).hasClass("disabled")) { 666 var e = o.default(this._menu).hasClass("show"); 667 t._clearMenus(), e || this.show(!0); 668 } 669 }, e.show = function (e) { 670 if (void 0 === e && (e = !1), !(this._element.disabled || o.default(this._element).hasClass("disabled") || o.default(this._menu).hasClass("show"))) { 671 var n = { 672 relatedTarget: this._element 673 }, 674 i = o.default.Event("show.bs.dropdown", n), 675 s = t._getParentFromElement(this._element); 676 677 if (o.default(s).trigger(i), !i.isDefaultPrevented()) { 678 if (!this._inNavbar && e) { 679 if ("undefined" == typeof a.default) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); 680 var l = this._element; 681 "parent" === this._config.reference ? l = s : d.isElement(this._config.reference) && (l = this._config.reference, "undefined" != typeof this._config.reference.jquery && (l = this._config.reference[0])), "scrollParent" !== this._config.boundary && o.default(s).addClass("position-static"), this._popper = new a.default(l, this._menu, this._getPopperConfig()); 682 } 683 684 "ontouchstart" in document.documentElement && 0 === o.default(s).closest(".navbar-nav").length && o.default(document.body).children().on("mouseover", null, o.default.noop), this._element.focus(), this._element.setAttribute("aria-expanded", !0), o.default(this._menu).toggleClass("show"), o.default(s).toggleClass("show").trigger(o.default.Event("shown.bs.dropdown", n)); 685 } 686 } 687 }, e.hide = function () { 688 if (!this._element.disabled && !o.default(this._element).hasClass("disabled") && o.default(this._menu).hasClass("show")) { 689 var e = { 690 relatedTarget: this._element 691 }, 692 n = o.default.Event("hide.bs.dropdown", e), 693 i = t._getParentFromElement(this._element); 694 695 o.default(i).trigger(n), n.isDefaultPrevented() || (this._popper && this._popper.destroy(), o.default(this._menu).toggleClass("show"), o.default(i).toggleClass("show").trigger(o.default.Event("hidden.bs.dropdown", e))); 696 } 697 }, e.dispose = function () { 698 o.default.removeData(this._element, "bs.dropdown"), o.default(this._element).off(".bs.dropdown"), this._element = null, this._menu = null, null !== this._popper && (this._popper.destroy(), this._popper = null); 699 }, e.update = function () { 700 this._inNavbar = this._detectNavbar(), null !== this._popper && this._popper.scheduleUpdate(); 701 }, e._addEventListeners = function () { 702 var t = this; 703 o.default(this._element).on("click.bs.dropdown", function (e) { 704 e.preventDefault(), e.stopPropagation(), t.toggle(); 705 }); 706 }, e._getConfig = function (t) { 707 return t = r({}, this.constructor.Default, o.default(this._element).data(), t), d.typeCheckConfig(k, t, this.constructor.DefaultType), t; 708 }, e._getMenuElement = function () { 709 if (!this._menu) { 710 var e = t._getParentFromElement(this._element); 711 712 e && (this._menu = e.querySelector(".dropdown-menu")); 713 } 714 715 return this._menu; 716 }, e._getPlacement = function () { 717 var t = o.default(this._element.parentNode), 718 e = "bottom-start"; 719 return t.hasClass("dropup") ? e = o.default(this._menu).hasClass("dropdown-menu-right") ? "top-end" : "top-start" : t.hasClass("dropright") ? e = "right-start" : t.hasClass("dropleft") ? e = "left-start" : o.default(this._menu).hasClass("dropdown-menu-right") && (e = "bottom-end"), e; 720 }, e._detectNavbar = function () { 721 return o.default(this._element).closest(".navbar").length > 0; 722 }, e._getOffset = function () { 723 var t = this, 724 e = {}; 725 return "function" == typeof this._config.offset ? e.fn = function (e) { 726 return e.offsets = r({}, e.offsets, t._config.offset(e.offsets, t._element) || {}), e; 727 } : e.offset = this._config.offset, e; 728 }, e._getPopperConfig = function () { 729 var t = { 730 placement: this._getPlacement(), 731 modifiers: { 732 offset: this._getOffset(), 733 flip: { 734 enabled: this._config.flip 735 }, 736 preventOverflow: { 737 boundariesElement: this._config.boundary 738 } 739 } 740 }; 741 return "static" === this._config.display && (t.modifiers.applyStyle = { 742 enabled: !1 743 }), r({}, t, this._config.popperConfig); 744 }, t._jQueryInterface = function (e) { 745 return this.each(function () { 746 var n = o.default(this).data("bs.dropdown"); 747 748 if (n || (n = new t(this, "object" == _typeof(e) ? e : null), o.default(this).data("bs.dropdown", n)), "string" == typeof e) { 749 if ("undefined" == typeof n[e]) throw new TypeError('No method named "' + e + '"'); 750 n[e](); 751 } 752 }); 753 }, t._clearMenus = function (e) { 754 if (!e || 3 !== e.which && ("keyup" !== e.type || 9 === e.which)) for (var n = [].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')), i = 0, a = n.length; i < a; i++) { 755 var s = t._getParentFromElement(n[i]), 756 l = o.default(n[i]).data("bs.dropdown"), 757 r = { 758 relatedTarget: n[i] 759 }; 760 761 if (e && "click" === e.type && (r.clickEvent = e), l) { 762 var u = l._menu; 763 764 if (o.default(s).hasClass("show") && !(e && ("click" === e.type && /input|textarea/i.test(e.target.tagName) || "keyup" === e.type && 9 === e.which) && o.default.contains(s, e.target))) { 765 var d = o.default.Event("hide.bs.dropdown", r); 766 o.default(s).trigger(d), d.isDefaultPrevented() || ("ontouchstart" in document.documentElement && o.default(document.body).children().off("mouseover", null, o.default.noop), n[i].setAttribute("aria-expanded", "false"), l._popper && l._popper.destroy(), o.default(u).removeClass("show"), o.default(s).removeClass("show").trigger(o.default.Event("hidden.bs.dropdown", r))); 767 } 768 } 769 } 770 }, t._getParentFromElement = function (t) { 771 var e, 772 n = d.getSelectorFromElement(t); 773 return n && (e = document.querySelector(n)), e || t.parentNode; 774 }, t._dataApiKeydownHandler = function (e) { 775 if (!(/input|textarea/i.test(e.target.tagName) ? 32 === e.which || 27 !== e.which && (40 !== e.which && 38 !== e.which || o.default(e.target).closest(".dropdown-menu").length) : !I.test(e.which)) && !this.disabled && !o.default(this).hasClass("disabled")) { 776 var n = t._getParentFromElement(this), 777 i = o.default(n).hasClass("show"); 778 779 if (i || 27 !== e.which) { 780 if (e.preventDefault(), e.stopPropagation(), !i || 27 === e.which || 32 === e.which) return 27 === e.which && o.default(n.querySelector('[data-toggle="dropdown"]')).trigger("focus"), void o.default(this).trigger("click"); 781 var a = [].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function (t) { 782 return o.default(t).is(":visible"); 783 }); 784 785 if (0 !== a.length) { 786 var s = a.indexOf(e.target); 787 38 === e.which && s > 0 && s--, 40 === e.which && s < a.length - 1 && s++, s < 0 && (s = 0), a[s].focus(); 788 } 789 } 790 } 791 }, l(t, null, [{ 792 key: "VERSION", 793 get: function get() { 794 return "4.6.0"; 795 } 796 }, {
797 key: "Default", 798 get: function get() { 799 return j; 800 } 801 }, { 802 key: "DefaultType", 803 get: function get() { 804 return O; 805 } 806 }]), t; 807 }(); 808 809 o.default(document).on("keydown.bs.dropdown.data-api", '[data-toggle="dropdown"]', x._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api", ".dropdown-menu", x._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api", x._clearMenus).on("click.bs.dropdown.data-api", '[data-toggle="dropdown"]', function (t) { 810 t.preventDefault(), t.stopPropagation(), x._jQueryInterface.call(o.default(this), "toggle"); 811 }).on("click.bs.dropdown.data-api", ".dropdown form", function (t) { 812 t.stopPropagation(); 813 }), o.default.fn[k] = x._jQueryInterface, o.default.fn[k].Constructor = x, o.default.fn[k].noConflict = function () { 814 return o.default.fn[k] = A, x._jQueryInterface; 815 }; 816 817 var P = o.default.fn.modal, 818 R = { 819 backdrop: !0, 820 keyboard: !0, 821 focus: !0, 822 show: !0 823 }, 824 L = { 825 backdrop: "(boolean|string)", 826 keyboard: "boolean", 827 focus: "boolean", 828 show: "boolean" 829 }, 830 q = function () { 831 function t(t, e) { 832 this._config = this._getConfig(e), this._element = t, this._dialog = t.querySelector(".modal-dialog"), this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1, this._scrollbarWidth = 0; 833 } 834 835 var e = t.prototype; 836 return e.toggle = function (t) { 837 return this._isShown ? this.hide() : this.show(t); 838 }, e.show = function (t) { 839 var e = this; 840 841 if (!this._isShown && !this._isTransitioning) { 842 o.default(this._element).hasClass("fade") && (this._isTransitioning = !0); 843 var n = o.default.Event("show.bs.modal", { 844 relatedTarget: t 845 }); 846 o.default(this._element).trigger(n), this._isShown || n.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), o.default(this._element).on("click.dismiss.bs.modal", '[data-dismiss="modal"]', function (t) { 847 return e.hide(t); 848 }), o.default(this._dialog).on("mousedown.dismiss.bs.modal", function () { 849 o.default(e._element).one("mouseup.dismiss.bs.modal", function (t) { 850 o.default(t.target).is(e._element) && (e._ignoreBackdropClick = !0); 851 }); 852 }), this._showBackdrop(function () { 853 return e._showElement(t); 854 })); 855 } 856 }, e.hide = function (t) { 857 var e = this; 858 859 if (t && t.preventDefault(), this._isShown && !this._isTransitioning) { 860 var n = o.default.Event("hide.bs.modal"); 861 862 if (o.default(this._element).trigger(n), this._isShown && !n.isDefaultPrevented()) { 863 this._isShown = !1; 864 var i = o.default(this._element).hasClass("fade"); 865 866 if (i && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), o.default(document).off("focusin.bs.modal"), o.default(this._element).removeClass("show"), o.default(this._element).off("click.dismiss.bs.modal"), o.default(this._dialog).off("mousedown.dismiss.bs.modal"), i) { 867 var a = d.getTransitionDurationFromElement(this._element); 868 o.default(this._element).one(d.TRANSITION_END, function (t) { 869 return e._hideModal(t); 870 }).emulateTransitionEnd(a); 871 } else this._hideModal(); 872 } 873 } 874 }, e.dispose = function () { 875 [window, this._element, this._dialog].forEach(function (t) { 876 return o.default(t).off(".bs.modal"); 877 }), o.default(document).off("focusin.bs.modal"), o.default.removeData(this._element, "bs.modal"), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._isTransitioning = null, this._scrollbarWidth = null; 878 }, e.handleUpdate = function () { 879 this._adjustDialog(); 880 }, e._getConfig = function (t) { 881 return t = r({}, R, t), d.typeCheckConfig("modal", t, L), t; 882 }, e._triggerBackdropTransition = function () { 883 var t = this, 884 e = o.default.Event("hidePrevented.bs.modal"); 885 886 if (o.default(this._element).trigger(e), !e.isDefaultPrevented()) { 887 var n = this._element.scrollHeight > document.documentElement.clientHeight; 888 n || (this._element.style.overflowY = "hidden"), this._element.classList.add("modal-static"); 889 var i = d.getTransitionDurationFromElement(this._dialog); 890 o.default(this._element).off(d.TRANSITION_END), o.default(this._element).one(d.TRANSITION_END, function () { 891 t._element.classList.remove("modal-static"), n || o.default(t._element).one(d.TRANSITION_END, function () { 892 t._element.style.overflowY = ""; 893 }).emulateTransitionEnd(t._element, i); 894 }).emulateTransitionEnd(i), this._element.focus(); 895 } 896 }, e._showElement = function (t) { 897 var e = this, 898 n = o.default(this._element).hasClass("fade"), 899 i = this._dialog ? this._dialog.querySelector(".modal-body") : null; 900 this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE || document.body.appendChild(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), o.default(this._dialog).hasClass("modal-dialog-scrollable") && i ? i.scrollTop = 0 : this._element.scrollTop = 0, n && d.reflow(this._element), o.default(this._element).addClass("show"), this._config.focus && this._enforceFocus(); 901 902 var a = o.default.Event("shown.bs.modal", { 903 relatedTarget: t 904 }), 905 s = function s() { 906 e._config.focus && e._element.focus(), e._isTransitioning = !1, o.default(e._element).trigger(a); 907 }; 908 909 if (n) { 910 var l = d.getTransitionDurationFromElement(this._dialog); 911 o.default(this._dialog).one(d.TRANSITION_END, s).emulateTransitionEnd(l); 912 } else s(); 913 }, e._enforceFocus = function () { 914 var t = this; 915 o.default(document).off("focusin.bs.modal").on("focusin.bs.modal", function (e) { 916 document !== e.target && t._element !== e.target && 0 === o.default(t._element).has(e.target).length && t._element.focus(); 917 }); 918 }, e._setEscapeEvent = function () { 919 var t = this; 920 this._isShown ? o.default(this._element).on("keydown.dismiss.bs.modal", function (e) { 921 t._config.keyboard && 27 === e.which ? (e.preventDefault(), t.hide()) : t._config.keyboard || 27 !== e.which || t._triggerBackdropTransition(); 922 }) : this._isShown || o.default(this._element).off("keydown.dismiss.bs.modal"); 923 }, e._setResizeEvent = function () { 924 var t = this; 925 this._isShown ? o.default(window).on("resize.bs.modal", function (e) { 926 return t.handleUpdate(e); 927 }) : o.default(window).off("resize.bs.modal"); 928 }, e._hideModal = function () { 929 var t = this; 930 this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._isTransitioning = !1, this._showBackdrop(function () { 931 o.default(document.body).removeClass("modal-open"), t._resetAdjustments(), t._resetScrollbar(), o.default(t._element).trigger("hidden.bs.modal"); 932 }); 933 }, e._removeBackdrop = function () { 934 this._backdrop && (o.default(this._backdrop).remove(), this._backdrop = null); 935 }, e._showBackdrop = function (t) { 936 var e = this, 937 n = o.default(this._element).hasClass("fade") ? "fade" : ""; 938 939 if (this._isShown && this._config.backdrop) { 940 if (this._backdrop = document.createElement("div"), this._backdrop.className = "modal
940-backdrop", n && this._backdrop.classList.add(n), o.default(this._backdrop).appendTo(document.body), o.default(this._element).on("click.dismiss.bs.modal", function (t) { 941 e._ignoreBackdropClick ? e._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === e._config.backdrop ? e._triggerBackdropTransition() : e.hide()); 942 }), n && d.reflow(this._backdrop), o.default(this._backdrop).addClass("show"), !t) return; 943 if (!n) return void t(); 944 var i = d.getTransitionDurationFromElement(this._backdrop); 945 o.default(this._backdrop).one(d.TRANSITION_END, t).emulateTransitionEnd(i); 946 } else if (!this._isShown && this._backdrop) { 947 o.default(this._backdrop).removeClass("show"); 948 949 var a = function a() { 950 e._removeBackdrop(), t && t(); 951 }; 952 953 if (o.default(this._element).hasClass("fade")) { 954 var s = d.getTransitionDurationFromElement(this._backdrop); 955 o.default(this._backdrop).one(d.TRANSITION_END, a).emulateTransitionEnd(s); 956 } else a(); 957 } else t && t(); 958 }, e._adjustDialog = function () { 959 var t = this._element.scrollHeight > document.documentElement.clientHeight; 960 !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px"); 961 }, e._resetAdjustments = function () { 962 this._element.style.paddingLeft = "", this._element.style.paddingRight = ""; 963 }, e._checkScrollbar = function () { 964 var t = document.body.getBoundingClientRect(); 965 this._isBodyOverflowing = Math.round(t.left + t.right) < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth(); 966 }, e._setScrollbar = function () { 967 var t = this; 968 969 if (this._isBodyOverflowing) { 970 var e = [].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")), 971 n = [].slice.call(document.querySelectorAll(".sticky-top")); 972 o.default(e).each(function (e, n) { 973 var i = n.style.paddingRight, 974 a = o.default(n).css("padding-right"); 975 o.default(n).data("padding-right", i).css("padding-right", parseFloat(a) + t._scrollbarWidth + "px"); 976 }), o.default(n).each(function (e, n) { 977 var i = n.style.marginRight, 978 a = o.default(n).css("margin-right"); 979 o.default(n).data("margin-right", i).css("margin-right", parseFloat(a) - t._scrollbarWidth + "px"); 980 }); 981 var i = document.body.style.paddingRight, 982 a = o.default(document.body).css("padding-right"); 983 o.default(document.body).data("padding-right", i).css("padding-right", parseFloat(a) + this._scrollbarWidth + "px"); 984 } 985 986 o.default(document.body).addClass("modal-open"); 987 }, e._resetScrollbar = function () { 988 var t = [].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")); 989 o.default(t).each(function (t, e) { 990 var n = o.default(e).data("padding-right"); 991 o.default(e).removeData("padding-right"), e.style.paddingRight = n || ""; 992 }); 993 var e = [].slice.call(document.querySelectorAll(".sticky-top")); 994 o.default(e).each(function (t, e) { 995 var n = o.default(e).data("margin-right"); 996 "undefined" != typeof n && o.default(e).css("margin-right", n).removeData("margin-right"); 997 }); 998 var n = o.default(document.body).data("padding-right"); 999 o.default(document.body).removeData("padding-right"), document.body.style.paddingRight = n || ""; 1000 }, e._getScrollbarWidth = function () { 1001 var t = document.createElement("div"); 1002 t.className = "modal-scrollbar-measure", document.body.appendChild(t); 1003 var e = t.getBoundingClientRect().width - t.clientWidth; 1004 return document.body.removeChild(t), e; 1005 }, t._jQueryInterface = function (e, n) { 1006 return this.each(function () { 1007 var i = o.default(this).data("bs.modal"), 1008 a = r({}, R, o.default(this).data(), "object" == _typeof(e) && e ? e : {}); 1009 1010 if (i || (i = new t(this, a), o.default(this).data("bs.modal", i)), "string" == typeof e) { 1011 if ("undefined" == typeof i[e]) throw new TypeError('No method n
vendor: 10,982 bytes, lines 1011-1276
1011amed "' + e + '"'); 1012 i[e](n); 1013 } else a.show && i.show(n); 1014 }); 1015 }, l(t, null, [{ 1016 key: "VERSION", 1017 get: function get() { 1018 return "4.6.0"; 1019 } 1020 }, { 1021 key: "Default", 1022 get: function get() { 1023 return R; 1024 } 1025 }]), t; 1026 }(); 1027 1028 o.default(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function (t) { 1029 var e, 1030 n = this, 1031 i = d.getSelectorFromElement(this); 1032 i && (e = document.querySelector(i)); 1033 var a = o.default(e).data("bs.modal") ? "toggle" : r({}, o.default(e).data(), o.default(this).data()); 1034 "A" !== this.tagName && "AREA" !== this.tagName || t.preventDefault(); 1035 var s = o.default(e).one("show.bs.modal", function (t) { 1036 t.isDefaultPrevented() || s.one("hidden.bs.modal", function () { 1037 o.default(n).is(":visible") && n.focus(); 1038 }); 1039 }); 1040 1041 q._jQueryInterface.call(o.default(e), a, this); 1042 }), o.default.fn.modal = q._jQueryInterface, o.default.fn.modal.Constructor = q, o.default.fn.modal.noConflict = function () { 1043 return o.default.fn.modal = P, q._jQueryInterface; 1044 }; 1045 var F = ["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"], 1046 Q = { 1047 "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], 1048 a: ["target", "href", "title", "rel"], 1049 area: [], 1050 b: [], 1051 br: [], 1052 col: [], 1053 code: [], 1054 div: [], 1055 em: [], 1056 hr: [], 1057 h1: [], 1058 h2: [], 1059 h3: [], 1060 h4: [], 1061 h5: [], 1062 h6: [], 1063 i: [], 1064 img: ["src", "srcset", "alt", "title", "width", "height"], 1065 li: [], 1066 ol: [], 1067 p: [], 1068 pre: [], 1069 s: [], 1070 small: [], 1071 span: [], 1072 sub: [], 1073 sup: [], 1074 strong: [], 1075 u: [], 1076 ul: [] 1077 }, 1078 B = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi, 1079 H = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; 1080 1081 function U(t, e, n) { 1082 if (0 === t.length) return t; 1083 if (n && "function" == typeof n) return n(t); 1084 1085 for (var i = new window.DOMParser().parseFromString(t, "text/html"), o = Object.keys(e), a = [].slice.call(i.body.querySelectorAll("*")), s = function s(t, n) { 1086 var i = a[t], 1087 s = i.nodeName.toLowerCase(); 1088 if (-1 === o.indexOf(i.nodeName.toLowerCase())) return i.parentNode.removeChild(i), "continue"; 1089 var l = [].slice.call(i.attributes), 1090 r = [].concat(e["*"] || [], e[s] || []); 1091 l.forEach(function (t) { 1092 (function (t, e) { 1093 var n = t.nodeName.toLowerCase(); 1094 if (-1 !== e.indexOf(n)) return -1 === F.indexOf(n) || Boolean(t.nodeValue.match(B) || t.nodeValue.match(H)); 1095 1096 for (var i = e.filter(function (t) { 1097 return t instanceof RegExp; 1098 }), o = 0, a = i.length; o < a; o++) { 1099 if (n.match(i[o])) return !0; 1100 } 1101 1102 return !1; 1103 })(t, r) || i.removeAttribute(t.nodeName); 1104 }); 1105 }, l = 0, r = a.length; l < r; l++) { 1106 s(l); 1107 } 1108 1109 return i.body.innerHTML; 1110 } 1111 1112 var M = "tooltip", 1113 W = o.default.fn[M], 1114 V = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), 1115 z = ["sanitize", "whiteList", "sanitizeFn"], 1116 K = { 1117 animation: "boolean", 1118 template: "string", 1119 title: "(string|element|function)", 1120 trigger: "string", 1121 delay: "(number|object)", 1122 html: "boolean", 1123 selector: "(string|boolean)", 1124 placement: "(string|function)", 1125 offset: "(number|string|function)", 1126 container: "(string|element|boolean)", 1127 fallbackPlacement: "(string|array)", 1128 boundary: "(string|element)", 1129 customClass: "(string|function)", 1130 sanitize: "boolean", 1131 sanitizeFn: "(null|function)", 1132 whiteList: "object", 1133 popperConfig: "(null|object)" 1134 }, 1135 X = { 1136 AUTO: "auto", 1137 TOP: "top", 1138 RIGHT: "right", 1139 BOTTOM: "bottom", 1140 LEFT: "left" 1141 }, 1142 Y = { 1143 animation: !0, 1144 template: '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>', 1145 trigger: "hover focus", 1146 title: "", 1147 delay: 0, 1148 html: !1, 1149 selector: !1, 1150 placement: "top", 1151 offset: 0, 1152 container: !1, 1153 fallbackPlacement: "flip", 1154 boundary: "scrollParent", 1155 customClass: "", 1156 sanitize: !0, 1157 sanitizeFn: null, 1158 whiteList: Q, 1159 popperConfig: null 1160 }, 1161 $ = { 1162 HIDE: "hide.bs.tooltip", 1163 HIDDEN: "hidden.bs.tooltip", 1164 SHOW: "show.bs.tooltip", 1165 SHOWN: "shown.bs.tooltip", 1166 INSERTED: "inserted.bs.tooltip", 1167 CLICK: "click.bs.tooltip", 1168 FOCUSIN: "focusin.bs.tooltip", 1169 FOCUSOUT: "focusout.bs.tooltip", 1170 MOUSEENTER: "mouseenter.bs.tooltip", 1171 MOUSELEAVE: "mouseleave.bs.tooltip" 1172 }, 1173 J = function () { 1174 function t(t, e) { 1175 if ("undefined" == typeof a.default) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)"); 1176 this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger = {}, this._popper = null, this.element = t, this.config = this._getConfig(e), this.tip = null, this._setListeners(); 1177 } 1178 1179 var e = t.prototype; 1180 return e.enable = function () { 1181 this._isEnabled = !0; 1182 }, e.disable = function () { 1183 this._isEnabled = !1; 1184 }, e.toggleEnabled = function () { 1185 this._isEnabled = !this._isEnabled; 1186 }, e.toggle = function (t) { 1187 if (this._isEnabled) if (t) { 1188 var e = this.constructor.DATA_KEY, 1189 n = o.default(t.currentTarget).data(e); 1190 n || (n = new this.constructor(t.currentTarget, this._getDelegateConfig()), o.default(t.currentTarget).data(e, n)), n._activeTrigger.click = !n._activeTrigger.click, n._isWithActiveTrigger() ? n._enter(null, n) : n._leave(null, n); 1191 } else { 1192 if (o.default(this.getTipElement()).hasClass("show")) return void this._leave(null, this); 1193 1194 this._enter(null, this); 1195 } 1196 }, e.dispose = function () { 1197 clearTimeout(this._timeout), o.default.removeData(this.element, this.constructor.DATA_KEY), o.default(this.element).off(this.constructor.EVENT_KEY), o.default(this.element).closest(".modal").off("hide.bs.modal", this._hideModalHandler), this.tip && o.default(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, this._activeTrigger = null, this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null; 1198 }, e.show = function () { 1199 var t = this; 1200 if ("none" === o.default(this.element).css("display")) throw new Error("Please use show on visible elements"); 1201 var e = o.default.Event(this.constructor.Event.SHOW); 1202 1203 if (this.isWithContent() && this._isEnabled) { 1204 o.default(this.element).trigger(e); 1205 var n = d.findShadowRoot(this.element), 1206 i = o.default.contains(null !== n ? n : this.element.ownerDocument.documentElement, this.element); 1207 if (e.isDefaultPrevented() || !i) return; 1208 var s = this.getTipElement(), 1209 l = d.getUID(this.constructor.NAME); 1210 s.setAttribute("id", l), this.element.setAttribute("aria-describedby", l), this.setContent(), this.config.animation && o.default(s).addClass("fade"); 1211 1212 var r = "function" == typeof this.config.placement ? this.config.placement.call(this, s, this.element) : this.config.placement, 1213 u = this._getAttachment(r); 1214 1215 this.addAttachmentClass(u); 1216 1217 var f = this._getContainer(); 1218 1219 o.default(s).data(this.constructor.DATA_KEY, this), o.default.contains(this.element.ownerDocument.documentElement, this.tip) || o.default(s).appendTo(f), o.default(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new a.default(this.element, s, this._getPopperConfig(u)), o.default(s).addClass("show"), o.default(s).addClass(this.config.customClass), "ontouchstart" in document.documentElement && o.default(document.body).children().on("mouseover", null, o.default.noop); 1220 1221 var c = function c() { 1222 t.config.animation && t._fixTransition(); 1223 var e = t._hoverState; 1224 t._hoverState = null, o.default(t.element).trigger(t.constructor.Event.SHOWN), "out" === e && t._leave(null, t); 1225 }; 1226 1227 if (o.default(this.tip).hasClass("fade")) { 1228 var h = d.getTransitionDurationFromElement(this.tip); 1229 o.default(this.tip).one(d.TRANSITION_END, c).emulateTransitionEnd(h); 1230 } else c(); 1231 } 1232 }, e.hide = function (t) { 1233 var e = this, 1234 n = this.getTipElement(), 1235 i = o.default.Event(this.constructor.Event.HIDE), 1236 a = function a() { 1237 "show" !== e._hoverState && n.parentNode && n.parentNode.removeChild(n), e._cleanTipClass(), e.element.removeAttribute("aria-describedby"), o.default(e.element).trigger(e.constructor.Event.HIDDEN), null !== e._popper && e._popper.destroy(), t && t(); 1238 }; 1239 1240 if (o.default(this.element).trigger(i), !i.isDefaultPrevented()) { 1241 if (o.default(n).removeClass("show"), "ontouchstart" in document.documentElement && o.default(document.body).children().off("mouseover", null, o.default.noop), this._activeTrigger.click = !1, this._activeTrigger.focus = !1, this._activeTrigger.hover = !1, o.default(this.tip).hasClass("fade")) { 1242 var s = d.getTransitionDurationFromElement(n); 1243 o.default(n).one(d.TRANSITION_END, a).emulateTransitionEnd(s); 1244 } else a(); 1245 1246 this._hoverState = ""; 1247 } 1248 }, e.update = function () { 1249 null !== this._popper && this._popper.scheduleUpdate(); 1250 }, e.isWithContent = function () { 1251 return Boolean(this.getTitle()); 1252 }, e.addAttachmentClass = function (t) { 1253 o.default(this.getTipElement()).addClass("bs-tooltip-" + t); 1254 }, e.getTipElement = function () { 1255 return this.tip = this.tip || o.default(this.config.template)[0], this.tip; 1256 }, e.setContent = function () { 1257 var t = this.getTipElement(); 1258 this.setElementContent(o.default(t.querySelectorAll(".tooltip-inner")), this.getTitle()), o.default(t).removeClass("fade show"); 1259 }, e.setElementContent = function (t, e) { 1260 "object" != _typeof(e) || !e.nodeType && !e.jquery ? this.config.html ? (this.config.sanitize && (e = U(e, this.config.whiteList, this.config.sanitizeFn)), t.html(e)) : t.text(e) : this.config.html ? o.default(e).parent().is(t) || t.empty().append(e) : t.text(o.default(e).text()); 1261 }, e.getTitle = function () { 1262 var t = this.element.getAttribute("data-original-title"); 1263 return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t; 1264 }, e._getPopperConfig = function (t) { 1265 var e = this; 1266 return r({}, { 1267 placement: t, 1268 modifiers: { 1269 offset: this._getOffset(), 1270 flip: { 1271 behavior: this.config.fallbackPlacement 1272 }, 1273 arrow: { 1274 element: ".arrow" 1275 }, 1276 preventOverflow: {
1277 boundariesElement: this.config.boundary 1278 } 1279 }, 1280 onCreate: function onCreate(t) { 1281 t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t); 1282 }, 1283 onUpdate: function onUpdate(t) { 1284 return e._handlePopperPlacementChange(t); 1285 } 1286 }, this.config.popperConfig); 1287 }, e._getOffset = function () { 1288 var t = this, 1289 e = {}; 1290 return "function" == typeof this.config.offset ? e.fn = function (e) { 1291 return e.offsets = r({}, e.offsets, t.config.offset(e.offsets, t.element) || {}), e; 1292 } : e.offset = this.config.offset, e; 1293 }, e._getContainer = function () { 1294 return !1 === this.config.container ? document.body : d.isElement(this.config.container) ? o.default(this.config.container) : o.default(document).find(this.config.container); 1295 }, e._getAttachment = function (t) { 1296 return X[t.toUpperCase()]; 1297 }, e._setListeners = function () { 1298 var t = this; 1299 this.config.trigger.split(" ").forEach(function (e) { 1300 if ("click" === e) o.default(t.element).on(t.constructor.Event.CLICK, t.config.selector, function (e) { 1301 return t.toggle(e); 1302 });else if ("manual" !== e) { 1303 var n = "hover" === e ? t.constructor.Event.MOUSEENTER : t.constructor.Event.FOCUSIN, 1304 i = "hover" === e ? t.constructor.Event.MOUSELEAVE : t.constructor.Event.FOCUSOUT; 1305 o.default(t.element).on(n, t.config.selector, function (e) { 1306 return t._enter(e); 1307 }).on(i, t.config.selector, function (e) { 1308 return t._leave(e); 1309 }); 1310 } 1311 }), this._hideModalHandler = function () { 1312 t.element && t.hide(); 1313 }, o.default(this.element).closest(".modal").on("hide.bs.modal", this._hideModalHandler), this.config.selector ? this.config = r({}, this.config, { 1314 trigger: "manual", 1315 selector: "" 1316 }) : this._fixTitle(); 1317 }, e._fixTitle = function () { 1318 var t = _typeof(this.element.getAttribute("data-original-title")); 1319 1320 (this.element.getAttribute("title") || "string" !== t) && (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", "")); 1321 }, e._enter = function (t, e) { 1322 var n = this.constructor.DATA_KEY; 1323 (e = e || o.default(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), o.default(t.currentTarget).data(n, e)), t && (e._activeTrigger["focusin" === t.type ? "focus" : "hover"] = !0), o.default(e.getTipElement()).hasClass("show") || "show" === e._hoverState ? e._hoverState = "show" : (clearTimeout(e._timeout), e._hoverState = "show", e.config.delay && e.config.delay.show ? e._timeout = setTimeout(function () { 1324 "show" === e._hoverState && e.show(); 1325 }, e.config.delay.show) : e.show()); 1326 }, e._leave = function (t, e) { 1327 var n = this.constructor.DATA_KEY; 1328 (e = e || o.default(t.currentTarget).data(n)) || (e = new this.constructor(t.currentTarget, this._getDelegateConfig()), o.default(t.currentTarget).data(n, e)), t && (e._activeTrigger["focusout" === t.type ? "focus" : "hover"] = !1), e._isWithActiveTrigger() || (clearTimeout(e._timeout), e._hoverState = "out", e.config.delay && e.config.delay.hide ? e._timeout = setTimeout(function () { 1329 "out" === e._hoverState && e.hide(); 1330 }, e.config.delay.hide) : e.hide()); 1331 }, e._isWithActiveTrigger = function () { 1332 for (var t in this._activeTrigger) { 1333 if (this._activeTrigger[t]) return !0; 1334 } 1335 1336 return !1; 1337 }, e._getConfig = function (t) { 1338 var e = o.default(this.element).data(); 1339 return Object.keys(e).forEach(function (t) { 1340 -1 !== z.indexOf(t) && delete e[t]; 1341 }), "number" == typeof (t = r({}, this.constructor.Default, e, "object" == _typeof(t) && t ? t : {})).delay && (t.delay = { 1342 show: t.delay, 1343 hide: t.delay 1344 }), "number" == typeof t.title && (t.title = t.title.toString()), "number" == typeof t.content && (t.content = t.content.toString()), d.typeCheckConfig(M, t, this.constructor.DefaultType), t.sanitize && (t.template = U(t.template, t.whiteList, t.sanitizeFn)), t; 1345 }, e._getDelegateConfig = function () { 1346 var t = {}; 1347 if (this.config) for (var e in this.config) { 1348 this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]); 1349 } 1350 return t; 1351 }, e._cleanTipClass = function () { 1352 var t = o.default(this.getTipElement()), 1353 e = t.attr("class").match(V); 1354 null !== e && e.length && t.removeClass(e.join("")); 1355 }, e._handlePopperPlacementChange = function (t) { 1356 this.tip = t.instance.popper, this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement)); 1357 }, e._fixTransition = function () { 1358 var t = this.getTipElement(), 1359 e = this.config.animation; 1360 null === t.getAttribute("x-placement") && (o.default(t).removeClass("fade"), this.config.animation = !1, this.hide(), this.show(), this.config.animation = e); 1361 }, t._jQueryInterface = function (e) { 1362 return this.each(function () { 1363 var n = o.default(this), 1364 i = n.data("bs.tooltip"), 1365 a = "object" == _typeof(e) && e; 1366 1367 if ((i || !/dispose|hide/.test(e)) && (i || (i = new t(this, a), n.data("bs.tooltip", i)), "string" == typeof e)) { 1368 if ("undefined" == typeof i[e]) throw new TypeError('No method n
1368amed "' + e + '"'); 1369 i[e](); 1370 } 1371 }); 1372 }, l(t, null, [{ 1373 key: "VERSION", 1374 get: function get() { 1375 return "4.6.0"; 1376 } 1377 }, { 1378 key: "Default", 1379 get: function get() { 1380 return Y; 1381 } 1382 }, { 1383 key: "NAME", 1384 get: function get() { 1385 return M; 1386 } 1387 }, { 1388 key: "DATA_KEY", 1389 get: function get() { 1390 return "bs.tooltip"; 1391 } 1392 }, { 1393 key: "Event", 1394 get: function get() { 1395 return $; 1396 } 1397 }, { 1398 key: "EVENT_KEY", 1399 get: function get() { 1400 return ".bs.tooltip"; 1401 } 1402 }, { 1403 key: "DefaultType", 1404 get: function get() { 1405 return K; 1406 } 1407 }]), t; 1408 }(); 1409 1410 o.default.fn[M] = J._jQueryInterface, o.default.fn[M].Constructor = J, o.default.fn[M].noConflict = function () { 1411 return o.default.fn[M] = W, J._jQueryInterface; 1412 }; 1413 1414 var G = "popover", 1415 Z = o.default.fn[G], 1416 tt = new RegExp("(^|\\s)bs-popover\\S+", "g"), 1417 et = r({}, J.Default, { 1418 placement: "right", 1419 trigger: "click", 1420 content: "", 1421 template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' 1422 }), 1423 nt = r({}, J.DefaultType, { 1424 content: "(string|element|function)" 1425 }), 1426 it = { 1427 HIDE: "hide.bs.popover", 1428 HIDDEN: "hidden.bs.popover", 1429 SHOW: "show.bs.popover", 1430 SHOWN: "shown.bs.popover", 1431 INSERTED: "inserted.bs.popover", 1432 CLICK: "click.bs.popover", 1433 FOCUSIN: "focusin.bs.popover", 1434 FOCUSOUT: "focusout.bs.popover", 1435 MOUSEENTER: "mouseenter.bs.popover", 1436 MOUSELEAVE: "mouseleave.bs.popover" 1437 }, 1438 ot = function (t) { 1439 var e, n; 1440 1441 function i() { 1442 return t.apply(this, arguments) || this; 1443 } 1444 1445 n = t, (e = i).prototype = Object.create(n.prototype), e.prototype.constructor = e, e.__proto__ = n; 1446 var a = i.prototype; 1447 return a.isWithContent = function () { 1448 return this.getTitle() || this._getContent(); 1449 }, a.addAttachmentClass = function (t) { 1450 o.default(this.getTipElement()).addClass("bs-popover-" + t); 1451 }, a.getTipElement = function () { 1452 return this.tip = this.tip || o.default(this.config.template)[0], this.tip; 1453 }, a.setContent = function () { 1454 var t = o.default(this.getTipElement()); 1455 this.setElementContent(t.find(".popover-header"), this.getTitle()); 1456 1457 var e = this._getContent(); 1458 1459 "function" == typeof e && (e = e.call(this.element)), this.setElementContent(t.find(".popover-body"), e), t.removeClass("fade show"); 1460 }, a._getContent = function () { 1461 return this.element.getAttribute("data-content") || this.config.content; 1462 }, a._cleanTipClass = function () { 1463 var t = o.default(this.getTipElement()), 1464 e = t.attr("class").match(tt); 1465 null !== e && e.length > 0 && t.removeClass(e.join("")); 1466 }, i._jQueryInterface = function (t) { 1467 return this.each(function () { 1468 var e = o.default(this).data("bs.popover"), 1469 n = "object" == _typeof(t) ? t : null; 1470 1471 if ((e || !/dispose|hide/.test(t)) && (e || (e = new i(this, n), o.default(this).data("bs.popover", e)), "string" == typeof t)) { 1472 if ("undefined" == typeof e[t]) throw new TypeError('No method named "' + t + '"'); 1473 e[t](); 1474 } 1475 }); 1476 }, l(i, null, [{ 1477 key: "VERSION", 1478 get: function get() { 1479 return "4.6.0"; 1480 } 1481 }, { 1482 key: "Default", 1483 get: function get() { 1484 return et; 1485 } 1486 }, { 1487 key: "NAME", 1488 get: function get() { 1489 return G; 1490 } 1491 }, { 1492 key: "DATA_KEY", 1493 get: function get() { 1494 return "bs.popover"; 1495 } 1496 }, { 1497 key: "Event", 1498 get: function get() { 1499 return it; 1500 } 1501 }, { 1502 key: "EVENT_KEY", 1503 get: function get() { 1504 return ".bs.popover"; 1505 } 1506 }, { 1507 key: "DefaultType", 1508 get: function get() { 1509 return nt; 1510 } 1511 }]), i; 1512 }(J); 1513 1514 o.default.fn[G] = ot._jQueryInterface, o.default.fn[G].Constructor = ot, o.default.fn[G].noConflict = function () { 1515 return o.default.fn[G] = Z, ot._jQueryInterface; 1516 }; 1517 1518 var at = "scrollspy", 1519 st = o.default.fn[at], 1520 lt = { 1521 offset: 10, 1522 method: "auto", 1523 target: "" 1524 }, 1525 rt = { 1526 offset: "number", 1527 method: "string", 1528 target: "(string|element)" 1529 }, 1530 ut = function () { 1531 function t(t, e) { 1532 var n = this; 1533 this._element = t, this._scrollElement = "BODY" === t.tagName ? window : t, this._config = this._getConfig(e), this._selector = this._config.target + " .nav-link," + this._config.target + " .list-group-item," + this._config.target + " .dropdown-item", this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, o.default(this._scrollElement).on("scroll.bs.scrollspy", function (t) { 1534 return n._process(t); 1535 }), this.refresh(), this._process(); 1536 } 1537 1538 var e = t.prototype; 1539 return e.refresh = function () { 1540 var t = this, 1541 e = this._scrollElement === this._scrollElement.window ? "offset" : "position", 1542 n = "auto" === this._config.method ? e : this._config.method, 1543 i = "position" === n ? this._getScrollTop() : 0; 1544 this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), [].slice.call(document.querySelectorAll(this._selector)).map(function (t) { 1545 var e, 1546 a = d.getSelectorFromElement(t); 1547 1548 if (a && (e = document.querySelector(a)), e) { 1549 var s = e.getBoundingClientRect(); 1550 if (s.width || s.height) return [o.default(e)[n]().top + i, a]; 1551 } 1552 1553 return null; 1554 }).filter(function (t) { 1555 return t; 1556 }).sort(function (t, e) { 1557 return t[0] - e[0]; 1558 }
1558).forEach(function (e) { 1559 t._offsets.push(e[0]), t._targets.push(e[1]); 1560 }); 1561 }, e.dispose = function () { 1562 o.default.removeData(this._element, "bs.scrollspy"), o.default(this._scrollElement).off(".bs.scrollspy"), this._element = null, this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null; 1563 }, e._getConfig = function (t) { 1564 if ("string" != typeof (t = r({}, lt, "object" == _typeof(t) && t ? t : {})).target && d.isElement(t.target)) { 1565 var e = o.default(t.target).attr("id"); 1566 e || (e = d.getUID(at), o.default(t.target).attr("id", e)), t.target = "#" + e; 1567 } 1568 1569 return d.typeCheckConfig(at, t, rt), t; 1570 }, e._getScrollTop = function () { 1571 return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; 1572 }, e._getScrollHeight = function () { 1573 return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); 1574 }, e._getOffsetHeight = function () { 1575 return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height; 1576 }, e._process = function () { 1577 var t = this._getScrollTop() + this._config.offset, 1578 e = this._getScrollHeight(), 1579 n = this._config.offset + e - this._getOffsetHeight(); 1580 1581 if (this._scrollHeight !== e && this.refresh(), t >= n) { 1582 var i = this._targets[this._targets.length - 1]; 1583 this._activeTarget !== i && this._activate(i); 1584 } else { 1585 if (this._activeTarget && t < this._offsets[0] && this._offsets[0] > 0) return this._activeTarget = null, void this._clear(); 1586 1587 for (var o = this._offsets.length; o--;) { 1588 this._activeTarget !== this._targets[o] && t >= this._offsets[o] && ("undefined" == typeof this._offsets[o + 1] || t < this._offsets[o + 1]) && this._activate(this._targets[o]); 1589 } 1590 } 1591 }, e._activate = function (t) { 1592 this._activeTarget = t, this._clear(); 1593 1594 var e = this._selector.split(",").map(function (e) { 1595 return e + '[data-target="' + t + '"],' + e + '[href="' + t + '"]'; 1596 }), 1597 n = o.default([].slice.call(document.querySelectorAll(e.join(",")))); 1598 1599 n.hasClass("dropdown-item") ? (n.closest(".dropdown").find(".dropdown-toggle").addClass("active"), n.addClass("active")) : (n.addClass("active"), n.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"), n.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")), o.default(this._scrollElement).trigger("activate.bs.scrollspy", { 1600 relatedTarget: t 1601 }); 1602 }, e._clear = function () { 1603 [].slice.call(document.querySelectorAll(this._selector)).filter(function (t) { 1604 return t.classList.contains("active"); 1605 }
1605).forEach(function (t) { 1606 return t.classList.remove("active"); 1607 }); 1608 }, t._jQueryInterface = function (e) { 1609 return this.each(function () { 1610 var n = o.default(this).data("bs.scrollspy"); 1611 1612 if (n || (n = new t(this, "object" == _typeof(e) && e), o.default(this).data("bs.scrollspy", n)), "string" == typeof e) { 1613 if ("undefined" == typeof n[e]) throw new TypeError('No method named "' + e + '"'); 1614 n[e](); 1615 } 1616 }); 1617 }, l(t, null, [{ 1618 key: "VERSION", 1619 get: function get() { 1620 return "4.6.0"; 1621 } 1622 }, { 1623 key: "Default", 1624 get: function get() { 1625 return lt; 1626 } 1627 }]), t; 1628 }(); 1629 1630 o.default(window).on("load.bs.scrollspy.data-api", function () { 1631 for (var t = [].slice.call(document.querySelectorAll('[data-spy="scroll"]')), e = t.length; e--;) { 1632 var n = o.default(t[e]); 1633 1634 ut._jQueryInterface.call(n, n.data()); 1635 } 1636 }), o.default.fn[at] = ut._jQueryInterface, o.default.fn[at].Constructor = ut, o.default.fn[at].noConflict = function () { 1637 return o.default.fn[at] = st, ut._jQueryInterface; 1638 }; 1639 1640 var dt = o.default.fn.tab, 1641 ft = function () { 1642 function t(t) { 1643 this._element = t; 1644 } 1645 1646 var e = t.prototype; 1647 return e.show = function () { 1648 var t = this; 1649 1650 if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && o.default(this._element).hasClass("active") || o.default(this._element).hasClass("disabled"))) { 1651 var e, 1652 n, 1653 i = o.default(this._element).closest(".nav, .list-group")[0], 1654 a = d.getSelectorFromElement(this._element); 1655 1656 if (i) { 1657 var s = "UL" === i.nodeName || "OL" === i.nodeName ? "> li > .active" : ".active"; 1658 n = (n = o.default.makeArray(o.default(i).find(s)))[n.length - 1]; 1659 } 1660 1661 var l = o.default.Event("hide.bs.tab", { 1662 relatedTarget: this._element 1663 }), 1664 r = o.default.Event("show.bs.tab", { 1665 relatedTarget: n 1666 }); 1667 1668 if (n && o.default(n).trigger(l), o.default(this._element).trigger(r), !r.isDefaultPrevented() && !l.isDefaultPrevented()) { 1669 a && (e = document.querySelector(a)), this._activate(this._element, i); 1670 1671 var u = function u() { 1672 var e = o.default.Event("hidden.bs.tab", { 1673 relatedTarget: t._element 1674 }), 1675 i = o.default.Event("shown.bs.tab", { 1676 relatedTarget: n 1677 }); 1678 o.default(n).trigger(e), o.default(t._element).trigger(i); 1679 }; 1680 1681 e ? this._activate(e, e.parentNode, u) : u(); 1682 } 1683 } 1684 }, e.dispose = function () { 1685 o.default.removeData(this._element, "bs.tab"), this._element = null; 1686 }, e._activate = function (t, e, n) { 1687 var i = this, 1688 a = (!e || "UL" !== e.nodeName && "OL" !== e.nodeName ? o.default(e).children(".active") : o.default(e).find("> li > .active"))[0], 1689 s = n && a && o.default(a).hasClass("fade"), 1690 l = function l() { 1691 return i._transitionComplete(t, a, n); 1692 }; 1693 1694 if (a && s) { 1695 var r = d.getTransitionDurationFromElement(a); 1696 o.default(a).removeClass("show").one(d.TRANSITION_END, l).emulateTransitionEnd(r); 1697 } else l(); 1698 }, e._transitionComplete = function (t, e, n) { 1699 if (e) { 1700 o.default(e).removeClass("active"); 1701 var i = o.default(e.parentNode).find("> .dropdown-menu .active")[0]; 1702 i && o.default(i).removeClass("active"), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !1); 1703 } 1704 1705 if (o.default(t).addClass("active"), "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), d.reflow(t), t.classList.contains("fade") && t.classList.add("show"), t.parentNode && o.default(t.parentNode).hasClass("dropdown-menu")) { 1706 var a = o.default(t).closest(".dropdown")[0]; 1707 1708 if (a) { 1709 var s = [].slice.call(a.querySelectorAll(".dropdown-toggle")); 1710 o.default(s).addClass("active"); 1711 } 1712 1713 t.setAttribute("aria-expanded", !0); 1714 } 1715 1716 n && n(); 1717 }, t._jQueryInterface = function (e) { 1718 return this.each(function () { 1719 var n = o.default(this), 1720 i = n.data("bs.tab"); 1721 1722 if (i || (i = new t(this), n.data("bs.tab", i)), "string" == typeof e) { 1723 if ("undefined" == typeof i[e]) throw new TypeError('No method n
1723amed "' + e + '"'); 1724 i[e](); 1725 } 1726 }); 1727 }, l(t, null, [{ 1728 key: "VERSION", 1729 get: function get() { 1730 return "4.6.0"; 1731 } 1732 }]), t; 1733 }(); 1734 1735 o.default(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', function (t) { 1736 t.preventDefault(), ft._jQueryInterface.call(o.default(this), "show"); 1737 }), o.default.fn.tab = ft._jQueryInterface, o.default.fn.tab.Constructor = ft, o.default.fn.tab.noConflict = function () { 1738 return o.default.fn.tab = dt, ft._jQueryInterface; 1739 }; 1740 1741 var ct = o.default.fn.toast, 1742 ht = { 1743 animation: "boolean", 1744 autohide: "boolean", 1745 delay: "number" 1746 }, 1747 gt = { 1748 animation: !0, 1749 autohide: !0, 1750 delay: 500 1751 }, 1752 mt = function () { 1753 function t(t, e) { 1754 this._element = t, this._config = this._getConfig(e), this._timeout = null, this._setListeners(); 1755 } 1756 1757 var e = t.prototype; 1758 return e.show = function () { 1759 var t = this, 1760 e = o.default.Event("show.bs.toast"); 1761 1762 if (o.default(this._element).trigger(e), !e.isDefaultPrevented()) { 1763 this._clearTimeout(), this._config.animation && this._element.classList.add("fade"); 1764 1765 var n = function n() { 1766 t._element.classList.remove("showing"), t._element.classList.add("show"), o.default(t._element).trigger("shown.bs.toast"), t._config.autohide && (t._timeout = setTimeout(function () { 1767 t.hide(); 1768 }, t._config.delay)); 1769 }; 1770 1771 if (this._element.classList.remove("hide"), d.reflow(this._element), this._element.classList.add("showing"), this._config.animation) { 1772 var i = d.getTransitionDurationFromElement(this._element); 1773 o.default(this._element).one(d.TRANSITION_END, n).emulateTransitionEnd(i); 1774 } else n(); 1775 } 1776 }, e.hide = function () { 1777 if (this._element.classList.contains("show")) { 1778 var t = o.default.Event("hide.bs.toast"); 1779 o.default(this._element).trigger(t), t.isDefaultPrevented() || this._close(); 1780 } 1781 }, e.dispose = function () { 1782 this._clearTimeout(), this._element.classList.contains("show") && this._element.classList.remove("show"), o.default(this._element).off("click.dismiss.bs.toast"), o.default.removeData(this._element, "bs.toast"), this._element = null, this._config = null; 1783 }, e._getConfig = function (t) { 1784 return t = r({}, gt, o.default(this._element).data(), "object" == _typeof(t) && t ? t : {}), d.typeCheckConfig("toast", t, this.constructor.DefaultType), t; 1785 }, e._setListeners = function () { 1786 var t = this; 1787 o.default(this._element).on("click.dismiss.bs.toast", '[data-dismiss="toast"]', function () { 1788 return t.hide(); 1789 }); 1790 }, e._close = function () { 1791 var t = this, 1792 e = function e() { 1793 t._element.classList.add("hide"), o.default(t._element).trigger("hidden.bs.toast"); 1794 }; 1795 1796 if (this._element.classList.remove("show"), this._config.animation) { 1797 var n = d.getTransitionDurationFromElement(this._element); 1798 o.default(this._element).one(d.TRANSITION_END, e).emulateTransitionEnd(n); 1799 } else e(); 1800 }, e._clearTimeout = function () { 1801 clearTimeout(this._timeout), this._timeout = null; 1802 }, t._jQueryInterface = function (e) { 1803 return this.each(function () { 1804 var n = o.default(this), 1805 i = n.data("bs.toast"); 1806 1807 if (i || (i = new t(this, "object" == _typeof(e) && e), n.data("bs.toast", i)), "string" == typeof e) { 1808 if ("undefined" == typeof i[e]) throw new TypeError('No method named "' + e + '"'); 1809 i[e](this); 1810 } 1811 }); 1812 }, l(t, null, [{ 1813 key: "VERSION", 1814 get: function get() { 1815 return "4.6.0"; 1816 } 1817 }, { 1818 key: "DefaultType", 1819 get: function get() { 1820 return ht; 1821 } 1822 }, { 1823 key: "Default", 1824 get: function get() { 1825 return gt; 1826 } 1827 }]), t; 1828 }(); 1829 1830 o.default.fn.toast = mt._jQueryInterface, o.default.fn.toast.Constructor = mt, o.default.fn.toast.noConflict = function () { 1831 return o.default.fn.toast = ct, mt._jQueryInterface; 1832 }, t.Alert = h, t.Button = m, t.Carousel = w, t.Collapse = D, t.Dropdown = x, t.Modal = q, t.Popover = ot, t.Scrollspy = ut, t.Tab = ft, t.Toast = mt, t.Tooltip = J, t.Util = d, Object.defineProperty(t, "__esModule", { 1833 value: !0 1834 }); 1835});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.