diff --git a/.prettierignore b/.prettierignore index 1ebfdd50b235..fb3626626cb9 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ -*.min.css +**/*.min.css +**/*.min.js assets/css/main.scss assets/plotly/demo.html diff --git a/assets/js/bootstrap-toc.min.js b/assets/js/bootstrap-toc.min.js index 39519eab6f91..c628326a8462 100644 --- a/assets/js/bootstrap-toc.min.js +++ b/assets/js/bootstrap-toc.min.js @@ -2,97 +2,4 @@ * Bootstrap Table of Contents v1.0.1 (http://afeld.github.io/bootstrap-toc/) * Copyright 2015 Aidan Feldman * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ -!(function (a) { - "use strict"; - (window.Toc = { - helpers: { - findOrFilter: function (e, t) { - var n = e.find(t); - return e.filter(t).add(n).filter(":not([data-toc-skip])"); - }, - generateUniqueIdBase: function (e) { - return ( - a(e) - .text() - .trim() - .replace(/\'/gi, "") - .replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g, "-") - .replace(/-{2,}/g, "-") - .substring(0, 64) - .replace(/^-+|-+$/gm, "") - .toLowerCase() || e.tagName.toLowerCase() - ); - }, - generateUniqueId: function (e) { - for (var t = this.generateUniqueIdBase(e), n = 0; ; n++) { - var r = t; - if ((0 < n && (r += "-" + n), !document.getElementById(r))) return r; - } - }, - generateAnchor: function (e) { - if (e.id) return e.id; - var t = this.generateUniqueId(e); - return (e.id = t); - }, - createNavList: function () { - return a(''); - }, - createChildNavList: function (e) { - var t = this.createNavList(); - return e.append(t), t; - }, - generateNavEl: function (e, t) { - var n = a(''); - n.attr("href", "#" + e), n.text(t); - var r = a("
  • "); - return r.append(n), r; - }, - generateNavItem: function (e) { - var t = this.generateAnchor(e), - n = a(e), - r = n.data("toc-text") || n.text(); - return this.generateNavEl(t, r); - }, - getTopLevel: function (e) { - for (var t = 1; t <= 6; t++) { - if (1 < this.findOrFilter(e, "h" + t).length) return t; - } - return 1; - }, - getHeadings: function (e, t) { - var n = "h" + t, - r = "h" + (t + 1); - return this.findOrFilter(e, n + "," + r); - }, - getNavLevel: function (e) { - return parseInt(e.tagName.charAt(1), 10); - }, - populateNav: function (r, a, e) { - var i, - s = r, - c = this; - e.each(function (e, t) { - var n = c.generateNavItem(t); - c.getNavLevel(t) === a ? (s = r) : i && s === r && (s = c.createChildNavList(i)), s.append(n), (i = n); - }); - }, - parseOps: function (e) { - var t; - return ((t = e.jquery ? { $nav: e } : e).$scope = t.$scope || a(document.body)), t; - }, - }, - init: function (e) { - (e = this.helpers.parseOps(e)).$nav.attr("data-toggle", "toc"); - var t = this.helpers.createChildNavList(e.$nav), - n = this.helpers.getTopLevel(e.$scope), - r = this.helpers.getHeadings(e.$scope, n); - this.helpers.populateNav(t, n, r); - }, - }), - a(function () { - a('nav[data-toggle="toc"]').each(function (e, t) { - var n = a(t); - Toc.init(n); - }); - }); -})(jQuery); +!function(a){"use strict";window.Toc={helpers:{findOrFilter:function(e,t){var n=e.find(t);return e.filter(t).add(n).filter(":not([data-toc-skip])")},generateUniqueIdBase:function(e){return a(e).text().trim().replace(/\'/gi,"").replace(/[& +$,:;=?@"#{}|^~[`%!'<>\]\.\/\(\)\*\\\n\t\b\v]/g,"-").replace(/-{2,}/g,"-").substring(0,64).replace(/^-+|-+$/gm,"").toLowerCase()||e.tagName.toLowerCase()},generateUniqueId:function(e){for(var t=this.generateUniqueIdBase(e),n=0;;n++){var r=t;if(0')},createChildNavList:function(e){var t=this.createNavList();return e.append(t),t},generateNavEl:function(e,t){var n=a('');n.attr("href","#"+e),n.text(t);var r=a("
  • ");return r.append(n),r},generateNavItem:function(e){var t=this.generateAnchor(e),n=a(e),r=n.data("toc-text")||n.text();return this.generateNavEl(t,r)},getTopLevel:function(e){for(var t=1;t<=6;t++){if(1= 4) - throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0"); - }, - }; - u.jQueryDetection(), - (i.default.fn.emulateTransitionEnd = function (t) { - var e = this, - n = !1; - return ( - i.default(this).one(u.TRANSITION_END, function () { - n = !0; - }), - setTimeout(function () { - n || u.triggerTransitionEnd(e); - }, t), - this - ); - }), - (i.default.event.special[u.TRANSITION_END] = { - bindType: l, - delegateType: l, - handle: function (t) { - if (i.default(t.target).is(this)) return t.handleObj.handler.apply(this, arguments); - }, - }); - var f = "bs.alert", - d = i.default.fn.alert, - c = (function () { - function t(t) { - this._element = t; - } - var e = t.prototype; - return ( - (e.close = function (t) { - var e = this._element; - t && (e = this._getRootElement(t)), this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e); - }), - (e.dispose = function () { - i.default.removeData(this._element, f), (this._element = null); - }), - (e._getRootElement = function (t) { - var e = u.getSelectorFromElement(t), - n = !1; - return e && (n = document.querySelector(e)), n || (n = i.default(t).closest(".alert")[0]), n; - }), - (e._triggerCloseEvent = function (t) { - var e = i.default.Event("close.bs.alert"); - return i.default(t).trigger(e), e; - }), - (e._removeElement = function (t) { - var e = this; - if ((i.default(t).removeClass("show"), i.default(t).hasClass("fade"))) { - var n = u.getTransitionDurationFromElement(t); - i.default(t) - .one(u.TRANSITION_END, function (n) { - return e._destroyElement(t, n); - }) - .emulateTransitionEnd(n); - } else this._destroyElement(t); - }), - (e._destroyElement = function (t) { - i.default(t).detach().trigger("closed.bs.alert").remove(); - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this), - o = n.data(f); - o || ((o = new t(this)), n.data(f, o)), "close" === e && o[e](this); - }); - }), - (t._handleDismiss = function (t) { - return function (e) { - e && e.preventDefault(), t.close(this); - }; - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - ]), - t - ); - })(); - i.default(document).on("click.bs.alert.data-api", '[data-dismiss="alert"]', c._handleDismiss(new c())), - (i.default.fn.alert = c._jQueryInterface), - (i.default.fn.alert.Constructor = c), - (i.default.fn.alert.noConflict = function () { - return (i.default.fn.alert = d), c._jQueryInterface; - }); - var h = "bs.button", - p = i.default.fn.button, - m = "active", - g = '[data-toggle^="button"]', - _ = 'input:not([type="hidden"])', - v = ".btn", - b = (function () { - function t(t) { - (this._element = t), (this.shouldAvoidTriggerChange = !1); - } - var e = t.prototype; - return ( - (e.toggle = function () { - var t = !0, - e = !0, - n = i.default(this._element).closest('[data-toggle="buttons"]')[0]; - if (n) { - var o = this._element.querySelector(_); - if (o) { - if ("radio" === o.type) - if (o.checked && this._element.classList.contains(m)) t = !1; - else { - var r = n.querySelector(".active"); - r && i.default(r).removeClass(m); - } - t && - (("checkbox" !== o.type && "radio" !== o.type) || (o.checked = !this._element.classList.contains(m)), - this.shouldAvoidTriggerChange || i.default(o).trigger("change")), - o.focus(), - (e = !1); - } - } - this._element.hasAttribute("disabled") || - this._element.classList.contains("disabled") || - (e && this._element.setAttribute("aria-pressed", !this._element.classList.contains(m)), t && i.default(this._element).toggleClass(m)); - }), - (e.dispose = function () { - i.default.removeData(this._element, h), (this._element = null); - }), - (t._jQueryInterface = function (e, n) { - return this.each(function () { - var o = i.default(this), - r = o.data(h); - r || ((r = new t(this)), o.data(h, r)), (r.shouldAvoidTriggerChange = n), "toggle" === e && r[e](); - }); - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - ]), - t - ); - })(); - i - .default(document) - .on("click.bs.button.data-api", g, function (t) { - var e = t.target, - n = e; - if ((i.default(e).hasClass("btn") || (e = i.default(e).closest(v)[0]), !e || e.hasAttribute("disabled") || e.classList.contains("disabled"))) - t.preventDefault(); - else { - var o = e.querySelector(_); - if (o && (o.hasAttribute("disabled") || o.classList.contains("disabled"))) return void t.preventDefault(); - ("INPUT" !== n.tagName && "LABEL" === e.tagName) || b._jQueryInterface.call(i.default(e), "toggle", "INPUT" === n.tagName); - } - }) - .on("focus.bs.button.data-api blur.bs.button.data-api", g, function (t) { - var e = i.default(t.target).closest(v)[0]; - i.default(e).toggleClass("focus", /^focus(in)?$/.test(t.type)); - }), - i.default(window).on("load.bs.button.data-api", function () { - for (var t = [].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')), e = 0, n = t.length; e < n; e++) { - var i = t[e], - o = i.querySelector(_); - o.checked || o.hasAttribute("checked") ? i.classList.add(m) : i.classList.remove(m); - } - for (var r = 0, a = (t = [].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length; r < a; r++) { - var s = t[r]; - "true" === s.getAttribute("aria-pressed") ? s.classList.add(m) : s.classList.remove(m); - } - }), - (i.default.fn.button = b._jQueryInterface), - (i.default.fn.button.Constructor = b), - (i.default.fn.button.noConflict = function () { - return (i.default.fn.button = p), b._jQueryInterface; - }); - var y = "carousel", - E = "bs.carousel", - w = i.default.fn[y], - T = "active", - C = "next", - S = "prev", - N = "slid.bs.carousel", - D = ".active.carousel-item", - A = { - interval: 5e3, - keyboard: !0, - slide: !1, - pause: "hover", - wrap: !0, - touch: !0, - }, - k = { - interval: "(number|boolean)", - keyboard: "boolean", - slide: "(boolean|string)", - pause: "(string|boolean)", - wrap: "boolean", - touch: "boolean", - }, - I = { TOUCH: "touch", PEN: "pen" }, - O = (function () { - function t(t, e) { - (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(); - } - var e = t.prototype; - return ( - (e.next = function () { - this._isSliding || this._slide(C); - }), - (e.nextWhenVisible = function () { - var t = i.default(this._element); - !document.hidden && t.is(":visible") && "hidden" !== t.css("visibility") && this.next(); - }), - (e.prev = function () { - this._isSliding || this._slide(S); - }), - (e.pause = function (t) { - t || (this._isPaused = !0), - this._element.querySelector(".carousel-item-next, .carousel-item-prev") && (u.triggerTransitionEnd(this._element), this.cycle(!0)), - clearInterval(this._interval), - (this._interval = null); - }), - (e.cycle = function (t) { - 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))); - }), - (e.to = function (t) { - var e = this; - this._activeElement = this._element.querySelector(D); - var n = this._getItemIndex(this._activeElement); - if (!(t > this._items.length - 1 || t < 0)) - if (this._isSliding) - i.default(this._element).one(N, function () { - return e.to(t); - }); - else { - if (n === t) return this.pause(), void this.cycle(); - var o = t > n ? C : S; - this._slide(o, this._items[t]); - } - }), - (e.dispose = function () { - i.default(this._element).off(".bs.carousel"), - i.default.removeData(this._element, E), - (this._items = null), - (this._config = null), - (this._element = null), - (this._interval = null), - (this._isPaused = null), - (this._isSliding = null), - (this._activeElement = null), - (this._indicatorsElement = null); - }), - (e._getConfig = function (t) { - return (t = a({}, A, t)), u.typeCheckConfig(y, t, k), t; - }), - (e._handleSwipe = function () { - var t = Math.abs(this.touchDeltaX); - if (!(t <= 40)) { - var e = t / this.touchDeltaX; - (this.touchDeltaX = 0), e > 0 && this.prev(), e < 0 && this.next(); - } - }), - (e._addEventListeners = function () { - var t = this; - this._config.keyboard && - i.default(this._element).on("keydown.bs.carousel", function (e) { - return t._keydown(e); - }), - "hover" === this._config.pause && - i - .default(this._element) - .on("mouseenter.bs.carousel", function (e) { - return t.pause(e); - }) - .on("mouseleave.bs.carousel", function (e) { - return t.cycle(e); - }), - this._config.touch && this._addTouchEventListeners(); - }), - (e._addTouchEventListeners = function () { - var t = this; - if (this._touchSupported) { - var e = function (e) { - t._pointerEvent && I[e.originalEvent.pointerType.toUpperCase()] - ? (t.touchStartX = e.originalEvent.clientX) - : t._pointerEvent || (t.touchStartX = e.originalEvent.touches[0].clientX); - }, - n = function (e) { - t._pointerEvent && I[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) { - return t.cycle(e); - }, 500 + t._config.interval))); - }; - i.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel", function (t) { - return t.preventDefault(); - }), - this._pointerEvent - ? (i.default(this._element).on("pointerdown.bs.carousel", function (t) { - return e(t); - }), - i.default(this._element).on("pointerup.bs.carousel", function (t) { - return n(t); - }), - this._element.classList.add("pointer-event")) - : (i.default(this._element).on("touchstart.bs.carousel", function (t) { - return e(t); - }), - i.default(this._element).on("touchmove.bs.carousel", function (e) { - return (function (e) { - t.touchDeltaX = - e.originalEvent.touches && e.originalEvent.touches.length > 1 ? 0 : e.originalEvent.touches[0].clientX - t.touchStartX; - })(e); - }), - i.default(this._element).on("touchend.bs.carousel", function (t) { - return n(t); - })); - } - }), - (e._keydown = function (t) { - if (!/input|textarea/i.test(t.target.tagName)) - switch (t.which) { - case 37: - t.preventDefault(), this.prev(); - break; - case 39: - t.preventDefault(), this.next(); - } - }), - (e._getItemIndex = function (t) { - return (this._items = t && t.parentNode ? [].slice.call(t.parentNode.querySelectorAll(".carousel-item")) : []), this._items.indexOf(t); - }), - (e._getItemByDirection = function (t, e) { - var n = t === C, - i = t === S, - o = this._getItemIndex(e), - r = this._items.length - 1; - if (((i && 0 === o) || (n && o === r)) && !this._config.wrap) return e; - var a = (o + (t === S ? -1 : 1)) % this._items.length; - return -1 === a ? this._items[this._items.length - 1] : this._items[a]; - }), - (e._triggerSlideEvent = function (t, e) { - var n = this._getItemIndex(t), - o = this._getItemIndex(this._element.querySelector(D)), - r = i.default.Event("slide.bs.carousel", { - relatedTarget: t, - direction: e, - from: o, - to: n, - }); - return i.default(this._element).trigger(r), r; - }), - (e._setActiveIndicatorElement = function (t) { - if (this._indicatorsElement) { - var e = [].slice.call(this._indicatorsElement.querySelectorAll(".active")); - i.default(e).removeClass(T); - var n = this._indicatorsElement.children[this._getItemIndex(t)]; - n && i.default(n).addClass(T); - } - }), - (e._updateInterval = function () { - var t = this._activeElement || this._element.querySelector(D); - if (t) { - var e = parseInt(t.getAttribute("data-interval"), 10); - e - ? ((this._config.defaultInterval = this._config.defaultInterval || this._config.interval), (this._config.interval = e)) - : (this._config.interval = this._config.defaultInterval || this._config.interval); - } - }), - (e._slide = function (t, e) { - var n, - o, - r, - a = this, - s = this._element.querySelector(D), - l = this._getItemIndex(s), - f = e || (s && this._getItemByDirection(t, s)), - d = this._getItemIndex(f), - c = Boolean(this._interval); - if ( - (t === C - ? ((n = "carousel-item-left"), (o = "carousel-item-next"), (r = "left")) - : ((n = "carousel-item-right"), (o = "carousel-item-prev"), (r = "right")), - f && i.default(f).hasClass(T)) - ) - this._isSliding = !1; - else if (!this._triggerSlideEvent(f, r).isDefaultPrevented() && s && f) { - (this._isSliding = !0), c && this.pause(), this._setActiveIndicatorElement(f), (this._activeElement = f); - var h = i.default.Event(N, { - relatedTarget: f, - direction: r, - from: l, - to: d, - }); - if (i.default(this._element).hasClass("slide")) { - i.default(f).addClass(o), u.reflow(f), i.default(s).addClass(n), i.default(f).addClass(n); - var p = u.getTransitionDurationFromElement(s); - i.default(s) - .one(u.TRANSITION_END, function () { - i - .default(f) - .removeClass(n + " " + o) - .addClass(T), - i.default(s).removeClass("active " + o + " " + n), - (a._isSliding = !1), - setTimeout(function () { - return i.default(a._element).trigger(h); - }, 0); - }) - .emulateTransitionEnd(p); - } else i.default(s).removeClass(T), i.default(f).addClass(T), (this._isSliding = !1), i.default(this._element).trigger(h); - c && this.cycle(); - } - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this).data(E), - o = a({}, A, i.default(this).data()); - "object" == typeof e && (o = a({}, o, e)); - var r = "string" == typeof e ? e : o.slide; - if ((n || ((n = new t(this, o)), i.default(this).data(E, n)), "number" == typeof e)) n.to(e); - else if ("string" == typeof r) { - if ("undefined" == typeof n[r]) throw new TypeError('No method named "' + r + '"'); - n[r](); - } else o.interval && o.ride && (n.pause(), n.cycle()); - }); - }), - (t._dataApiClickHandler = function (e) { - var n = u.getSelectorFromElement(this); - if (n) { - var o = i.default(n)[0]; - if (o && i.default(o).hasClass("carousel")) { - var r = a({}, i.default(o).data(), i.default(this).data()), - s = this.getAttribute("data-slide-to"); - s && (r.interval = !1), t._jQueryInterface.call(i.default(o), r), s && i.default(o).data(E).to(s), e.preventDefault(); - } - } - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "Default", - get: function () { - return A; - }, - }, - ]), - t - ); - })(); - i.default(document).on("click.bs.carousel.data-api", "[data-slide], [data-slide-to]", O._dataApiClickHandler), - i.default(window).on("load.bs.carousel.data-api", function () { - for (var t = [].slice.call(document.querySelectorAll('[data-ride="carousel"]')), e = 0, n = t.length; e < n; e++) { - var o = i.default(t[e]); - O._jQueryInterface.call(o, o.data()); - } - }), - (i.default.fn[y] = O._jQueryInterface), - (i.default.fn[y].Constructor = O), - (i.default.fn[y].noConflict = function () { - return (i.default.fn[y] = w), O._jQueryInterface; - }); - var x = "collapse", - j = "bs.collapse", - L = i.default.fn[x], - P = "show", - F = "collapse", - R = "collapsing", - B = "collapsed", - H = "width", - M = '[data-toggle="collapse"]', - q = { toggle: !0, parent: "" }, - Q = { toggle: "boolean", parent: "(string|element)" }, - W = (function () { - function t(t, e) { - (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 + '"]') - )); - for (var n = [].slice.call(document.querySelectorAll(M)), i = 0, o = n.length; i < o; i++) { - var r = n[i], - a = u.getSelectorFromElement(r), - s = [].slice.call(document.querySelectorAll(a)).filter(function (e) { - return e === t; - }); - null !== a && s.length > 0 && ((this._selector = a), this._triggerArray.push(r)); - } - (this._parent = this._config.parent ? this._getParent() : null), - this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), - this._config.toggle && this.toggle(); - } - var e = t.prototype; - return ( - (e.toggle = function () { - i.default(this._element).hasClass(P) ? this.hide() : this.show(); - }), - (e.show = function () { - var e, - n, - o = this; - if ( - !( - this._isTransitioning || - i.default(this._element).hasClass(P) || - (this._parent && - 0 === - (e = [].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function (t) { - return "string" == typeof o._config.parent ? t.getAttribute("data-parent") === o._config.parent : t.classList.contains(F); - })).length && - (e = null), - e && (n = i.default(e).not(this._selector).data(j)) && n._isTransitioning) - ) - ) { - var r = i.default.Event("show.bs.collapse"); - if ((i.default(this._element).trigger(r), !r.isDefaultPrevented())) { - e && (t._jQueryInterface.call(i.default(e).not(this._selector), "hide"), n || i.default(e).data(j, null)); - var a = this._getDimension(); - i.default(this._element).removeClass(F).addClass(R), - (this._element.style[a] = 0), - this._triggerArray.length && i.default(this._triggerArray).removeClass(B).attr("aria-expanded", !0), - this.setTransitioning(!0); - var s = "scroll" + (a[0].toUpperCase() + a.slice(1)), - l = u.getTransitionDurationFromElement(this._element); - i - .default(this._element) - .one(u.TRANSITION_END, function () { - i.default(o._element).removeClass(R).addClass("collapse show"), - (o._element.style[a] = ""), - o.setTransitioning(!1), - i.default(o._element).trigger("shown.bs.collapse"); - }) - .emulateTransitionEnd(l), - (this._element.style[a] = this._element[s] + "px"); - } - } - }), - (e.hide = function () { - var t = this; - if (!this._isTransitioning && i.default(this._element).hasClass(P)) { - var e = i.default.Event("hide.bs.collapse"); - if ((i.default(this._element).trigger(e), !e.isDefaultPrevented())) { - var n = this._getDimension(); - (this._element.style[n] = this._element.getBoundingClientRect()[n] + "px"), - u.reflow(this._element), - i.default(this._element).addClass(R).removeClass("collapse show"); - var o = this._triggerArray.length; - if (o > 0) - for (var r = 0; r < o; r++) { - var a = this._triggerArray[r], - s = u.getSelectorFromElement(a); - null !== s && - (i.default([].slice.call(document.querySelectorAll(s))).hasClass(P) || i.default(a).addClass(B).attr("aria-expanded", !1)); - } - this.setTransitioning(!0), (this._element.style[n] = ""); - var l = u.getTransitionDurationFromElement(this._element); - i.default(this._element) - .one(u.TRANSITION_END, function () { - t.setTransitioning(!1), i.default(t._element).removeClass(R).addClass(F).trigger("hidden.bs.collapse"); - }) - .emulateTransitionEnd(l); - } - } - }), - (e.setTransitioning = function (t) { - this._isTransitioning = t; - }), - (e.dispose = function () { - i.default.removeData(this._element, j), - (this._config = null), - (this._parent = null), - (this._element = null), - (this._triggerArray = null), - (this._isTransitioning = null); - }), - (e._getConfig = function (t) { - return ((t = a({}, q, t)).toggle = Boolean(t.toggle)), u.typeCheckConfig(x, t, Q), t; - }), - (e._getDimension = function () { - return i.default(this._element).hasClass(H) ? H : "height"; - }), - (e._getParent = function () { - var e, - n = this; - u.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)); - var o = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]', - r = [].slice.call(e.querySelectorAll(o)); - return ( - i.default(r).each(function (e, i) { - n._addAriaAndCollapsedClass(t._getTargetFromElement(i), [i]); - }), - e - ); - }), - (e._addAriaAndCollapsedClass = function (t, e) { - var n = i.default(t).hasClass(P); - e.length && i.default(e).toggleClass(B, !n).attr("aria-expanded", n); - }), - (t._getTargetFromElement = function (t) { - var e = u.getSelectorFromElement(t); - return e ? document.querySelector(e) : null; - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this), - o = n.data(j), - r = a({}, q, n.data(), "object" == typeof e && e ? e : {}); - if ( - (!o && r.toggle && "string" == typeof e && /show|hide/.test(e) && (r.toggle = !1), - o || ((o = new t(this, r)), n.data(j, o)), - "string" == typeof e) - ) { - if ("undefined" == typeof o[e]) throw new TypeError('No method named "' + e + '"'); - o[e](); - } - }); - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "Default", - get: function () { - return q; - }, - }, - ]), - t - ); - })(); - i.default(document).on("click.bs.collapse.data-api", M, function (t) { - "A" === t.currentTarget.tagName && t.preventDefault(); - var e = i.default(this), - n = u.getSelectorFromElement(this), - o = [].slice.call(document.querySelectorAll(n)); - i.default(o).each(function () { - var t = i.default(this), - n = t.data(j) ? "toggle" : e.data(); - W._jQueryInterface.call(t, n); - }); - }), - (i.default.fn[x] = W._jQueryInterface), - (i.default.fn[x].Constructor = W), - (i.default.fn[x].noConflict = function () { - return (i.default.fn[x] = L), W._jQueryInterface; - }); - var U = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator, - V = (function () { - for (var t = ["Edge", "Trident", "Firefox"], e = 0; e < t.length; e += 1) if (U && navigator.userAgent.indexOf(t[e]) >= 0) return 1; - return 0; - })(), - Y = - U && window.Promise - ? function (t) { - var e = !1; - return function () { - e || - ((e = !0), - window.Promise.resolve().then(function () { - (e = !1), t(); - })); - }; - } - : function (t) { - var e = !1; - return function () { - e || - ((e = !0), - setTimeout(function () { - (e = !1), t(); - }, V)); - }; - }; - function z(t) { - return t && "[object Function]" === {}.toString.call(t); - } - function K(t, e) { - if (1 !== t.nodeType) return []; - var n = t.ownerDocument.defaultView.getComputedStyle(t, null); - return e ? n[e] : n; - } - function X(t) { - return "HTML" === t.nodeName ? t : t.parentNode || t.host; - } - function G(t) { - if (!t) return document.body; - switch (t.nodeName) { - case "HTML": - case "BODY": - return t.ownerDocument.body; - case "#document": - return t.body; - } - var e = K(t), - n = e.overflow, - i = e.overflowX, - o = e.overflowY; - return /(auto|scroll|overlay)/.test(n + o + i) ? t : G(X(t)); - } - function $(t) { - return t && t.referenceNode ? t.referenceNode : t; - } - var J = U && !(!window.MSInputMethodContext || !document.documentMode), - Z = U && /MSIE 10/.test(navigator.userAgent); - function tt(t) { - return 11 === t ? J : 10 === t ? Z : J || Z; - } - function et(t) { - if (!t) return document.documentElement; - for (var e = tt(10) ? document.body : null, n = t.offsetParent || null; n === e && t.nextElementSibling; ) - n = (t = t.nextElementSibling).offsetParent; - var i = n && n.nodeName; - return i && "BODY" !== i && "HTML" !== i - ? -1 !== ["TH", "TD", "TABLE"].indexOf(n.nodeName) && "static" === K(n, "position") - ? et(n) - : n - : t - ? t.ownerDocument.documentElement - : document.documentElement; - } - function nt(t) { - return null !== t.parentNode ? nt(t.parentNode) : t; - } - function it(t, e) { - if (!(t && t.nodeType && e && e.nodeType)) return document.documentElement; - var n = t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING, - i = n ? t : e, - o = n ? e : t, - r = document.createRange(); - r.setStart(i, 0), r.setEnd(o, 0); - var a, - s, - l = r.commonAncestorContainer; - if ((t !== l && e !== l) || i.contains(o)) - return "BODY" === (s = (a = l).nodeName) || ("HTML" !== s && et(a.firstElementChild) !== a) ? et(l) : l; - var u = nt(t); - return u.host ? it(u.host, e) : it(t, nt(e).host); - } - function ot(t) { - var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "top", - n = "top" === e ? "scrollTop" : "scrollLeft", - i = t.nodeName; - if ("BODY" === i || "HTML" === i) { - var o = t.ownerDocument.documentElement, - r = t.ownerDocument.scrollingElement || o; - return r[n]; - } - return t[n]; - } - function rt(t, e) { - var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], - i = ot(e, "top"), - o = ot(e, "left"), - r = n ? -1 : 1; - return (t.top += i * r), (t.bottom += i * r), (t.left += o * r), (t.right += o * r), t; - } - function at(t, e) { - var n = "x" === e ? "Left" : "Top", - i = "Left" === n ? "Right" : "Bottom"; - return parseFloat(t["border" + n + "Width"]) + parseFloat(t["border" + i + "Width"]); - } - function st(t, e, n, i) { - return Math.max( - e["offset" + t], - e["scroll" + t], - n["client" + t], - n["offset" + t], - n["scroll" + t], - tt(10) - ? parseInt(n["offset" + t]) + - parseInt(i["margin" + ("Height" === t ? "Top" : "Left")]) + - parseInt(i["margin" + ("Height" === t ? "Bottom" : "Right")]) - : 0 - ); - } - function lt(t) { - var e = t.body, - n = t.documentElement, - i = tt(10) && getComputedStyle(n); - return { height: st("Height", e, n, i), width: st("Width", e, n, i) }; - } - var ut = function (t, e) { - if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function"); - }, - ft = (function () { - function t(t, e) { - for (var n = 0; n < e.length; n++) { - var i = e[n]; - (i.enumerable = i.enumerable || !1), (i.configurable = !0), "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i); - } - } - return function (e, n, i) { - return n && t(e.prototype, n), i && t(e, i), e; - }; - })(), - dt = function (t, e, n) { - return ( - e in t - ? Object.defineProperty(t, e, { - value: n, - enumerable: !0, - configurable: !0, - writable: !0, - }) - : (t[e] = n), - t - ); - }, - ct = - Object.assign || - function (t) { - for (var e = 1; e < arguments.length; e++) { - var n = arguments[e]; - for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]); - } - return t; - }; - function ht(t) { - return ct({}, t, { right: t.left + t.width, bottom: t.top + t.height }); - } - function pt(t) { - var e = {}; - try { - if (tt(10)) { - e = t.getBoundingClientRect(); - var n = ot(t, "top"), - i = ot(t, "left"); - (e.top += n), (e.left += i), (e.bottom += n), (e.right += i); - } else e = t.getBoundingClientRect(); - } catch (t) {} - var o = { - left: e.left, - top: e.top, - width: e.right - e.left, - height: e.bottom - e.top, - }, - r = "HTML" === t.nodeName ? lt(t.ownerDocument) : {}, - a = r.width || t.clientWidth || o.width, - s = r.height || t.clientHeight || o.height, - l = t.offsetWidth - a, - u = t.offsetHeight - s; - if (l || u) { - var f = K(t); - (l -= at(f, "x")), (u -= at(f, "y")), (o.width -= l), (o.height -= u); - } - return ht(o); - } - function mt(t, e) { - var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], - i = tt(10), - o = "HTML" === e.nodeName, - r = pt(t), - a = pt(e), - s = G(t), - l = K(e), - u = parseFloat(l.borderTopWidth), - f = parseFloat(l.borderLeftWidth); - n && o && ((a.top = Math.max(a.top, 0)), (a.left = Math.max(a.left, 0))); - var d = ht({ - top: r.top - a.top - u, - left: r.left - a.left - f, - width: r.width, - height: r.height, - }); - if (((d.marginTop = 0), (d.marginLeft = 0), !i && o)) { - var c = parseFloat(l.marginTop), - h = parseFloat(l.marginLeft); - (d.top -= u - c), (d.bottom -= u - c), (d.left -= f - h), (d.right -= f - h), (d.marginTop = c), (d.marginLeft = h); - } - return (i && !n ? e.contains(s) : e === s && "BODY" !== s.nodeName) && (d = rt(d, e)), d; - } - function gt(t) { - var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], - n = t.ownerDocument.documentElement, - i = mt(t, n), - o = Math.max(n.clientWidth, window.innerWidth || 0), - r = Math.max(n.clientHeight, window.innerHeight || 0), - a = e ? 0 : ot(n), - s = e ? 0 : ot(n, "left"), - l = { - top: a - i.top + i.marginTop, - left: s - i.left + i.marginLeft, - width: o, - height: r, - }; - return ht(l); - } - function _t(t) { - var e = t.nodeName; - if ("BODY" === e || "HTML" === e) return !1; - if ("fixed" === K(t, "position")) return !0; - var n = X(t); - return !!n && _t(n); - } - function vt(t) { - if (!t || !t.parentElement || tt()) return document.documentElement; - for (var e = t.parentElement; e && "none" === K(e, "transform"); ) e = e.parentElement; - return e || document.documentElement; - } - function bt(t, e, n, i) { - var o = arguments.length > 4 && void 0 !== arguments[4] && arguments[4], - r = { top: 0, left: 0 }, - a = o ? vt(t) : it(t, $(e)); - if ("viewport" === i) r = gt(a, o); - else { - var s = void 0; - "scrollParent" === i - ? "BODY" === (s = G(X(e))).nodeName && (s = t.ownerDocument.documentElement) - : (s = "window" === i ? t.ownerDocument.documentElement : i); - var l = mt(s, a, o); - if ("HTML" !== s.nodeName || _t(a)) r = l; - else { - var u = lt(t.ownerDocument), - f = u.height, - d = u.width; - (r.top += l.top - l.marginTop), (r.bottom = f + l.top), (r.left += l.left - l.marginLeft), (r.right = d + l.left); - } - } - var c = "number" == typeof (n = n || 0); - return (r.left += c ? n : n.left || 0), (r.top += c ? n : n.top || 0), (r.right -= c ? n : n.right || 0), (r.bottom -= c ? n : n.bottom || 0), r; - } - function yt(t) { - return t.width * t.height; - } - function Et(t, e, n, i, o) { - var r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 0; - if (-1 === t.indexOf("auto")) return t; - var a = bt(n, i, r, o), - s = { - top: { width: a.width, height: e.top - a.top }, - right: { width: a.right - e.right, height: a.height }, - bottom: { width: a.width, height: a.bottom - e.bottom }, - left: { width: e.left - a.left, height: a.height }, - }, - l = Object.keys(s) - .map(function (t) { - return ct({ key: t }, s[t], { area: yt(s[t]) }); - }) - .sort(function (t, e) { - return e.area - t.area; - }), - u = l.filter(function (t) { - var e = t.width, - i = t.height; - return e >= n.clientWidth && i >= n.clientHeight; - }), - f = u.length > 0 ? u[0].key : l[0].key, - d = t.split("-")[1]; - return f + (d ? "-" + d : ""); - } - function wt(t, e, n) { - var i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null, - o = i ? vt(e) : it(e, $(n)); - return mt(n, o, i); - } - function Tt(t) { - var e = t.ownerDocument.defaultView.getComputedStyle(t), - n = parseFloat(e.marginTop || 0) + parseFloat(e.marginBottom || 0), - i = parseFloat(e.marginLeft || 0) + parseFloat(e.marginRight || 0); - return { width: t.offsetWidth + i, height: t.offsetHeight + n }; - } - function Ct(t) { - var e = { left: "right", right: "left", bottom: "top", top: "bottom" }; - return t.replace(/left|right|bottom|top/g, function (t) { - return e[t]; - }); - } - function St(t, e, n) { - n = n.split("-")[0]; - var i = Tt(t), - o = { width: i.width, height: i.height }, - r = -1 !== ["right", "left"].indexOf(n), - a = r ? "top" : "left", - s = r ? "left" : "top", - l = r ? "height" : "width", - u = r ? "width" : "height"; - return (o[a] = e[a] + e[l] / 2 - i[l] / 2), (o[s] = n === s ? e[s] - i[u] : e[Ct(s)]), o; - } - function Nt(t, e) { - return Array.prototype.find ? t.find(e) : t.filter(e)[0]; - } - function Dt(t, e, n) { - return ( - (void 0 === n - ? t - : t.slice( - 0, - (function (t, e, n) { - if (Array.prototype.findIndex) - return t.findIndex(function (t) { - return t.name === n; - }); - var i = Nt(t, function (t) { - return t.name === n; - }); - return t.indexOf(i); - })(t, 0, n) - ) - ).forEach(function (t) { - t.function && console.warn("`modifier.function` is deprecated, use `modifier.fn`!"); - var n = t.function || t.fn; - t.enabled && z(n) && ((e.offsets.popper = ht(e.offsets.popper)), (e.offsets.reference = ht(e.offsets.reference)), (e = n(e, t))); - }), - e - ); - } - function At() { - if (!this.state.isDestroyed) { - var t = { - instance: this, - styles: {}, - arrowStyles: {}, - attributes: {}, - flipped: !1, - offsets: {}, - }; - (t.offsets.reference = wt(this.state, this.popper, this.reference, this.options.positionFixed)), - (t.placement = Et( - this.options.placement, - t.offsets.reference, - this.popper, - this.reference, - this.options.modifiers.flip.boundariesElement, - this.options.modifiers.flip.padding - )), - (t.originalPlacement = t.placement), - (t.positionFixed = this.options.positionFixed), - (t.offsets.popper = St(this.popper, t.offsets.reference, t.placement)), - (t.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute"), - (t = Dt(this.modifiers, t)), - this.state.isCreated ? this.options.onUpdate(t) : ((this.state.isCreated = !0), this.options.onCreate(t)); - } - } - function kt(t, e) { - return t.some(function (t) { - var n = t.name; - return t.enabled && n === e; - }); - } - function It(t) { - for (var e = [!1, "ms", "Webkit", "Moz", "O"], n = t.charAt(0).toUpperCase() + t.slice(1), i = 0; i < e.length; i++) { - var o = e[i], - r = o ? "" + o + n : t; - if ("undefined" != typeof document.body.style[r]) return r; - } - return null; - } - function Ot() { - return ( - (this.state.isDestroyed = !0), - kt(this.modifiers, "applyStyle") && - (this.popper.removeAttribute("x-placement"), - (this.popper.style.position = ""), - (this.popper.style.top = ""), - (this.popper.style.left = ""), - (this.popper.style.right = ""), - (this.popper.style.bottom = ""), - (this.popper.style.willChange = ""), - (this.popper.style[It("transform")] = "")), - this.disableEventListeners(), - this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), - this - ); - } - function xt(t) { - var e = t.ownerDocument; - return e ? e.defaultView : window; - } - function jt(t, e, n, i) { - var o = "BODY" === t.nodeName, - r = o ? t.ownerDocument.defaultView : t; - r.addEventListener(e, n, { passive: !0 }), o || jt(G(r.parentNode), e, n, i), i.push(r); - } - function Lt(t, e, n, i) { - (n.updateBound = i), xt(t).addEventListener("resize", n.updateBound, { passive: !0 }); - var o = G(t); - return jt(o, "scroll", n.updateBound, n.scrollParents), (n.scrollElement = o), (n.eventsEnabled = !0), n; - } - function Pt() { - this.state.eventsEnabled || (this.state = Lt(this.reference, this.options, this.state, this.scheduleUpdate)); - } - function Ft() { - var t, e; - this.state.eventsEnabled && - (cancelAnimationFrame(this.scheduleUpdate), - (this.state = - ((t = this.reference), - (e = this.state), - xt(t).removeEventListener("resize", e.updateBound), - e.scrollParents.forEach(function (t) { - t.removeEventListener("scroll", e.updateBound); - }), - (e.updateBound = null), - (e.scrollParents = []), - (e.scrollElement = null), - (e.eventsEnabled = !1), - e))); - } - function Rt(t) { - return "" !== t && !isNaN(parseFloat(t)) && isFinite(t); - } - function Bt(t, e) { - Object.keys(e).forEach(function (n) { - var i = ""; - -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(n) && Rt(e[n]) && (i = "px"), (t.style[n] = e[n] + i); - }); - } - var Ht = U && /Firefox/i.test(navigator.userAgent); - function Mt(t, e, n) { - var i = Nt(t, function (t) { - return t.name === e; - }), - o = - !!i && - t.some(function (t) { - return t.name === n && t.enabled && t.order < i.order; - }); - if (!o) { - var r = "`" + e + "`", - a = "`" + n + "`"; - console.warn(a + " modifier is required by " + r + " modifier in order to work, be sure to include it before " + r + "!"); - } - return o; - } - var qt = [ - "auto-start", - "auto", - "auto-end", - "top-start", - "top", - "top-end", - "right-start", - "right", - "right-end", - "bottom-end", - "bottom", - "bottom-start", - "left-end", - "left", - "left-start", - ], - Qt = qt.slice(3); - function Wt(t) { - var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], - n = Qt.indexOf(t), - i = Qt.slice(n + 1).concat(Qt.slice(0, n)); - return e ? i.reverse() : i; - } - var Ut = { - placement: "bottom", - positionFixed: !1, - eventsEnabled: !0, - removeOnDestroy: !1, - onCreate: function () {}, - onUpdate: function () {}, - modifiers: { - shift: { - order: 100, - enabled: !0, - fn: function (t) { - var e = t.placement, - n = e.split("-")[0], - i = e.split("-")[1]; - if (i) { - var o = t.offsets, - r = o.reference, - a = o.popper, - s = -1 !== ["bottom", "top"].indexOf(n), - l = s ? "left" : "top", - u = s ? "width" : "height", - f = { - start: dt({}, l, r[l]), - end: dt({}, l, r[l] + r[u] - a[u]), - }; - t.offsets.popper = ct({}, a, f[i]); - } - return t; - }, - }, - offset: { - order: 200, - enabled: !0, - fn: function (t, e) { - var n, - i = e.offset, - o = t.placement, - r = t.offsets, - a = r.popper, - s = r.reference, - l = o.split("-")[0]; - return ( - (n = Rt(+i) - ? [+i, 0] - : (function (t, e, n, i) { - var o = [0, 0], - r = -1 !== ["right", "left"].indexOf(i), - a = t.split(/(\+|\-)/).map(function (t) { - return t.trim(); - }), - s = a.indexOf( - Nt(a, function (t) { - return -1 !== t.search(/,|\s/); - }) - ); - a[s] && -1 === a[s].indexOf(",") && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."); - var l = /\s*,\s*|\s+/, - u = -1 !== s ? [a.slice(0, s).concat([a[s].split(l)[0]]), [a[s].split(l)[1]].concat(a.slice(s + 1))] : [a]; - return ( - (u = u.map(function (t, i) { - var o = (1 === i ? !r : r) ? "height" : "width", - a = !1; - return t - .reduce(function (t, e) { - return "" === t[t.length - 1] && -1 !== ["+", "-"].indexOf(e) - ? ((t[t.length - 1] = e), (a = !0), t) - : a - ? ((t[t.length - 1] += e), (a = !1), t) - : t.concat(e); - }, []) - .map(function (t) { - return (function (t, e, n, i) { - var o = t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), - r = +o[1], - a = o[2]; - return r - ? 0 === a.indexOf("%") - ? (ht("%p" === a ? n : i)[e] / 100) * r - : "vh" === a || "vw" === a - ? (("vh" === a - ? Math.max(document.documentElement.clientHeight, window.innerHeight || 0) - : Math.max(document.documentElement.clientWidth, window.innerWidth || 0)) / - 100) * - r - : r - : t; - })(t, o, e, n); - }); - })), - u.forEach(function (t, e) { - t.forEach(function (n, i) { - Rt(n) && (o[e] += n * ("-" === t[i - 1] ? -1 : 1)); - }); - }), - o - ); - })(i, a, s, l)), - "left" === l - ? ((a.top += n[0]), (a.left -= n[1])) - : "right" === l - ? ((a.top += n[0]), (a.left += n[1])) - : "top" === l - ? ((a.left += n[0]), (a.top -= n[1])) - : "bottom" === l && ((a.left += n[0]), (a.top += n[1])), - (t.popper = a), - t - ); - }, - offset: 0, - }, - preventOverflow: { - order: 300, - enabled: !0, - fn: function (t, e) { - var n = e.boundariesElement || et(t.instance.popper); - t.instance.reference === n && (n = et(n)); - var i = It("transform"), - o = t.instance.popper.style, - r = o.top, - a = o.left, - s = o[i]; - (o.top = ""), (o.left = ""), (o[i] = ""); - var l = bt(t.instance.popper, t.instance.reference, e.padding, n, t.positionFixed); - (o.top = r), (o.left = a), (o[i] = s), (e.boundaries = l); - var u = e.priority, - f = t.offsets.popper, - d = { - primary: function (t) { - var n = f[t]; - return f[t] < l[t] && !e.escapeWithReference && (n = Math.max(f[t], l[t])), dt({}, t, n); - }, - secondary: function (t) { - var n = "right" === t ? "left" : "top", - i = f[n]; - return f[t] > l[t] && !e.escapeWithReference && (i = Math.min(f[n], l[t] - ("right" === t ? f.width : f.height))), dt({}, n, i); - }, - }; - return ( - u.forEach(function (t) { - var e = -1 !== ["left", "top"].indexOf(t) ? "primary" : "secondary"; - f = ct({}, f, d[e](t)); - }), - (t.offsets.popper = f), - t - ); - }, - priority: ["left", "right", "top", "bottom"], - padding: 5, - boundariesElement: "scrollParent", - }, - keepTogether: { - order: 400, - enabled: !0, - fn: function (t) { - var e = t.offsets, - n = e.popper, - i = e.reference, - o = t.placement.split("-")[0], - r = Math.floor, - a = -1 !== ["top", "bottom"].indexOf(o), - s = a ? "right" : "bottom", - l = a ? "left" : "top", - u = a ? "width" : "height"; - return n[s] < r(i[l]) && (t.offsets.popper[l] = r(i[l]) - n[u]), n[l] > r(i[s]) && (t.offsets.popper[l] = r(i[s])), t; - }, - }, - arrow: { - order: 500, - enabled: !0, - fn: function (t, e) { - var n; - if (!Mt(t.instance.modifiers, "arrow", "keepTogether")) return t; - var i = e.element; - if ("string" == typeof i) { - if (!(i = t.instance.popper.querySelector(i))) return t; - } else if (!t.instance.popper.contains(i)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), t; - var o = t.placement.split("-")[0], - r = t.offsets, - a = r.popper, - s = r.reference, - l = -1 !== ["left", "right"].indexOf(o), - u = l ? "height" : "width", - f = l ? "Top" : "Left", - d = f.toLowerCase(), - c = l ? "left" : "top", - h = l ? "bottom" : "right", - p = Tt(i)[u]; - s[h] - p < a[d] && (t.offsets.popper[d] -= a[d] - (s[h] - p)), - s[d] + p > a[h] && (t.offsets.popper[d] += s[d] + p - a[h]), - (t.offsets.popper = ht(t.offsets.popper)); - var m = s[d] + s[u] / 2 - p / 2, - g = K(t.instance.popper), - _ = parseFloat(g["margin" + f]), - v = parseFloat(g["border" + f + "Width"]), - b = m - t.offsets.popper[d] - _ - v; - return ( - (b = Math.max(Math.min(a[u] - p, b), 0)), (t.arrowElement = i), (t.offsets.arrow = (dt((n = {}), d, Math.round(b)), dt(n, c, ""), n)), t - ); - }, - element: "[x-arrow]", - }, - flip: { - order: 600, - enabled: !0, - fn: function (t, e) { - if (kt(t.instance.modifiers, "inner")) return t; - if (t.flipped && t.placement === t.originalPlacement) return t; - var n = bt(t.instance.popper, t.instance.reference, e.padding, e.boundariesElement, t.positionFixed), - i = t.placement.split("-")[0], - o = Ct(i), - r = t.placement.split("-")[1] || "", - a = []; - switch (e.behavior) { - case "flip": - a = [i, o]; - break; - case "clockwise": - a = Wt(i); - break; - case "counterclockwise": - a = Wt(i, !0); - break; - default: - a = e.behavior; - } - return ( - a.forEach(function (s, l) { - if (i !== s || a.length === l + 1) return t; - (i = t.placement.split("-")[0]), (o = Ct(i)); - var u = t.offsets.popper, - f = t.offsets.reference, - d = Math.floor, - c = - ("left" === i && d(u.right) > d(f.left)) || - ("right" === i && d(u.left) < d(f.right)) || - ("top" === i && d(u.bottom) > d(f.top)) || - ("bottom" === i && d(u.top) < d(f.bottom)), - h = d(u.left) < d(n.left), - p = d(u.right) > d(n.right), - m = d(u.top) < d(n.top), - g = d(u.bottom) > d(n.bottom), - _ = ("left" === i && h) || ("right" === i && p) || ("top" === i && m) || ("bottom" === i && g), - v = -1 !== ["top", "bottom"].indexOf(i), - b = - !!e.flipVariations && - ((v && "start" === r && h) || (v && "end" === r && p) || (!v && "start" === r && m) || (!v && "end" === r && g)), - y = - !!e.flipVariationsByContent && - ((v && "start" === r && p) || (v && "end" === r && h) || (!v && "start" === r && g) || (!v && "end" === r && m)), - E = b || y; - (c || _ || E) && - ((t.flipped = !0), - (c || _) && (i = a[l + 1]), - E && - (r = (function (t) { - return "end" === t ? "start" : "start" === t ? "end" : t; - })(r)), - (t.placement = i + (r ? "-" + r : "")), - (t.offsets.popper = ct({}, t.offsets.popper, St(t.instance.popper, t.offsets.reference, t.placement))), - (t = Dt(t.instance.modifiers, t, "flip"))); - }), - t - ); - }, - behavior: "flip", - padding: 5, - boundariesElement: "viewport", - flipVariations: !1, - flipVariationsByContent: !1, - }, - inner: { - order: 700, - enabled: !1, - fn: function (t) { - var e = t.placement, - n = e.split("-")[0], - i = t.offsets, - o = i.popper, - r = i.reference, - a = -1 !== ["left", "right"].indexOf(n), - s = -1 === ["top", "left"].indexOf(n); - return (o[a ? "left" : "top"] = r[n] - (s ? o[a ? "width" : "height"] : 0)), (t.placement = Ct(e)), (t.offsets.popper = ht(o)), t; - }, - }, - hide: { - order: 800, - enabled: !0, - fn: function (t) { - if (!Mt(t.instance.modifiers, "hide", "preventOverflow")) return t; - var e = t.offsets.reference, - n = Nt(t.instance.modifiers, function (t) { - return "preventOverflow" === t.name; - }).boundaries; - if (e.bottom < n.top || e.left > n.right || e.top > n.bottom || e.right < n.left) { - if (!0 === t.hide) return t; - (t.hide = !0), (t.attributes["x-out-of-boundaries"] = ""); - } else { - if (!1 === t.hide) return t; - (t.hide = !1), (t.attributes["x-out-of-boundaries"] = !1); - } - return t; - }, - }, - computeStyle: { - order: 850, - enabled: !0, - fn: function (t, e) { - var n = e.x, - i = e.y, - o = t.offsets.popper, - r = Nt(t.instance.modifiers, function (t) { - return "applyStyle" === t.name; - }).gpuAcceleration; - void 0 !== r && - console.warn( - "WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!" - ); - var a, - s, - l = void 0 !== r ? r : e.gpuAcceleration, - u = et(t.instance.popper), - f = pt(u), - d = { position: o.position }, - c = (function (t, e) { - var n = t.offsets, - i = n.popper, - o = n.reference, - r = Math.round, - a = Math.floor, - s = function (t) { - return t; - }, - l = r(o.width), - u = r(i.width), - f = -1 !== ["left", "right"].indexOf(t.placement), - d = -1 !== t.placement.indexOf("-"), - c = e ? (f || d || l % 2 == u % 2 ? r : a) : s, - h = e ? r : s; - return { - left: c(l % 2 == 1 && u % 2 == 1 && !d && e ? i.left - 1 : i.left), - top: h(i.top), - bottom: h(i.bottom), - right: c(i.right), - }; - })(t, window.devicePixelRatio < 2 || !Ht), - h = "bottom" === n ? "top" : "bottom", - p = "right" === i ? "left" : "right", - m = It("transform"); - if ( - ((s = "bottom" === h ? ("HTML" === u.nodeName ? -u.clientHeight + c.bottom : -f.height + c.bottom) : c.top), - (a = "right" === p ? ("HTML" === u.nodeName ? -u.clientWidth + c.right : -f.width + c.right) : c.left), - l && m) - ) - (d[m] = "translate3d(" + a + "px, " + s + "px, 0)"), (d[h] = 0), (d[p] = 0), (d.willChange = "transform"); - else { - var g = "bottom" === h ? -1 : 1, - _ = "right" === p ? -1 : 1; - (d[h] = s * g), (d[p] = a * _), (d.willChange = h + ", " + p); - } - var v = { "x-placement": t.placement }; - return ( - (t.attributes = ct({}, v, t.attributes)), (t.styles = ct({}, d, t.styles)), (t.arrowStyles = ct({}, t.offsets.arrow, t.arrowStyles)), t - ); - }, - gpuAcceleration: !0, - x: "bottom", - y: "right", - }, - applyStyle: { - order: 900, - enabled: !0, - fn: function (t) { - var e, n; - return ( - Bt(t.instance.popper, t.styles), - (e = t.instance.popper), - (n = t.attributes), - Object.keys(n).forEach(function (t) { - !1 !== n[t] ? e.setAttribute(t, n[t]) : e.removeAttribute(t); - }), - t.arrowElement && Object.keys(t.arrowStyles).length && Bt(t.arrowElement, t.arrowStyles), - t - ); - }, - onLoad: function (t, e, n, i, o) { - var r = wt(o, e, t, n.positionFixed), - a = Et(n.placement, r, e, t, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding); - return ( - e.setAttribute("x-placement", a), - Bt(e, { - position: n.positionFixed ? "fixed" : "absolute", - }), - n - ); - }, - gpuAcceleration: void 0, - }, - }, - }, - Vt = (function () { - function t(e, n) { - var i = this, - o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; - ut(this, t), - (this.scheduleUpdate = function () { - return requestAnimationFrame(i.update); - }), - (this.update = Y(this.update.bind(this))), - (this.options = ct({}, t.Defaults, o)), - (this.state = { - isDestroyed: !1, - isCreated: !1, - scrollParents: [], - }), - (this.reference = e && e.jquery ? e[0] : e), - (this.popper = n && n.jquery ? n[0] : n), - (this.options.modifiers = {}), - Object.keys(ct({}, t.Defaults.modifiers, o.modifiers)).forEach(function (e) { - i.options.modifiers[e] = ct({}, t.Defaults.modifiers[e] || {}, o.modifiers ? o.modifiers[e] : {}); - }), - (this.modifiers = Object.keys(this.options.modifiers) - .map(function (t) { - return ct({ name: t }, i.options.modifiers[t]); - }) - .sort(function (t, e) { - return t.order - e.order; - })), - this.modifiers.forEach(function (t) { - t.enabled && z(t.onLoad) && t.onLoad(i.reference, i.popper, i.options, t, i.state); - }), - this.update(); - var r = this.options.eventsEnabled; - r && this.enableEventListeners(), (this.state.eventsEnabled = r); - } - return ( - ft(t, [ - { - key: "update", - value: function () { - return At.call(this); - }, - }, - { - key: "destroy", - value: function () { - return Ot.call(this); - }, - }, - { - key: "enableEventListeners", - value: function () { - return Pt.call(this); - }, - }, - { - key: "disableEventListeners", - value: function () { - return Ft.call(this); - }, - }, - ]), - t - ); - })(); - (Vt.Utils = ("undefined" != typeof window ? window : global).PopperUtils), (Vt.placements = qt), (Vt.Defaults = Ut); - var Yt = Vt, - zt = "dropdown", - Kt = "bs.dropdown", - Xt = i.default.fn[zt], - Gt = new RegExp("38|40|27"), - $t = "disabled", - Jt = "show", - Zt = "dropdown-menu-right", - te = "hide.bs.dropdown", - ee = "hidden.bs.dropdown", - ne = "click.bs.dropdown.data-api", - ie = "keydown.bs.dropdown.data-api", - oe = '[data-toggle="dropdown"]', - re = ".dropdown-menu", - ae = { - offset: 0, - flip: !0, - boundary: "scrollParent", - reference: "toggle", - display: "dynamic", - popperConfig: null, - }, - se = { - offset: "(number|string|function)", - flip: "boolean", - boundary: "(string|element)", - reference: "(string|element)", - display: "string", - popperConfig: "(null|object)", - }, - le = (function () { - function t(t, e) { - (this._element = t), - (this._popper = null), - (this._config = this._getConfig(e)), - (this._menu = this._getMenuElement()), - (this._inNavbar = this._detectNavbar()), - this._addEventListeners(); - } - var e = t.prototype; - return ( - (e.toggle = function () { - if (!this._element.disabled && !i.default(this._element).hasClass($t)) { - var e = i.default(this._menu).hasClass(Jt); - t._clearMenus(), e || this.show(!0); - } - }), - (e.show = function (e) { - if ((void 0 === e && (e = !1), !(this._element.disabled || i.default(this._element).hasClass($t) || i.default(this._menu).hasClass(Jt)))) { - var n = { relatedTarget: this._element }, - o = i.default.Event("show.bs.dropdown", n), - r = t._getParentFromElement(this._element); - if ((i.default(r).trigger(o), !o.isDefaultPrevented())) { - if (!this._inNavbar && e) { - if ("undefined" == typeof Yt) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); - var a = this._element; - "parent" === this._config.reference - ? (a = r) - : u.isElement(this._config.reference) && - ((a = this._config.reference), "undefined" != typeof this._config.reference.jquery && (a = this._config.reference[0])), - "scrollParent" !== this._config.boundary && i.default(r).addClass("position-static"), - (this._popper = new Yt(a, this._menu, this._getPopperConfig())); - } - "ontouchstart" in document.documentElement && - 0 === i.default(r).closest(".navbar-nav").length && - i.default(document.body).children().on("mouseover", null, i.default.noop), - this._element.focus(), - this._element.setAttribute("aria-expanded", !0), - i.default(this._menu).toggleClass(Jt), - i.default(r).toggleClass(Jt).trigger(i.default.Event("shown.bs.dropdown", n)); - } - } - }), - (e.hide = function () { - if (!this._element.disabled && !i.default(this._element).hasClass($t) && i.default(this._menu).hasClass(Jt)) { - var e = { relatedTarget: this._element }, - n = i.default.Event(te, e), - o = t._getParentFromElement(this._element); - i.default(o).trigger(n), - n.isDefaultPrevented() || - (this._popper && this._popper.destroy(), - i.default(this._menu).toggleClass(Jt), - i.default(o).toggleClass(Jt).trigger(i.default.Event(ee, e))); - } - }), - (e.dispose = function () { - i.default.removeData(this._element, Kt), - i.default(this._element).off(".bs.dropdown"), - (this._element = null), - (this._menu = null), - null !== this._popper && (this._popper.destroy(), (this._popper = null)); - }), - (e.update = function () { - (this._inNavbar = this._detectNavbar()), null !== this._popper && this._popper.scheduleUpdate(); - }), - (e._addEventListeners = function () { - var t = this; - i.default(this._element).on("click.bs.dropdown", function (e) { - e.preventDefault(), e.stopPropagation(), t.toggle(); - }); - }), - (e._getConfig = function (t) { - return (t = a({}, this.constructor.Default, i.default(this._element).data(), t)), u.typeCheckConfig(zt, t, this.constructor.DefaultType), t; - }), - (e._getMenuElement = function () { - if (!this._menu) { - var e = t._getParentFromElement(this._element); - e && (this._menu = e.querySelector(re)); - } - return this._menu; - }), - (e._getPlacement = function () { - var t = i.default(this._element.parentNode), - e = "bottom-start"; - return ( - t.hasClass("dropup") - ? (e = i.default(this._menu).hasClass(Zt) ? "top-end" : "top-start") - : t.hasClass("dropright") - ? (e = "right-start") - : t.hasClass("dropleft") - ? (e = "left-start") - : i.default(this._menu).hasClass(Zt) && (e = "bottom-end"), - e - ); - }), - (e._detectNavbar = function () { - return i.default(this._element).closest(".navbar").length > 0; - }), - (e._getOffset = function () { - var t = this, - e = {}; - return ( - "function" == typeof this._config.offset - ? (e.fn = function (e) { - return (e.offsets = a({}, e.offsets, t._config.offset(e.offsets, t._element))), e; - }) - : (e.offset = this._config.offset), - e - ); - }), - (e._getPopperConfig = function () { - var t = { - placement: this._getPlacement(), - modifiers: { - offset: this._getOffset(), - flip: { enabled: this._config.flip }, - preventOverflow: { - boundariesElement: this._config.boundary, - }, - }, - }; - return "static" === this._config.display && (t.modifiers.applyStyle = { enabled: !1 }), a({}, t, this._config.popperConfig); - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this).data(Kt); - if ((n || ((n = new t(this, "object" == typeof e ? e : null)), i.default(this).data(Kt, n)), "string" == typeof e)) { - if ("undefined" == typeof n[e]) throw new TypeError('No method named "' + e + '"'); - n[e](); - } - }); - }), - (t._clearMenus = function (e) { - if (!e || (3 !== e.which && ("keyup" !== e.type || 9 === e.which))) - for (var n = [].slice.call(document.querySelectorAll(oe)), o = 0, r = n.length; o < r; o++) { - var a = t._getParentFromElement(n[o]), - s = i.default(n[o]).data(Kt), - l = { relatedTarget: n[o] }; - if ((e && "click" === e.type && (l.clickEvent = e), s)) { - var u = s._menu; - if ( - i.default(a).hasClass(Jt) && - !( - e && - (("click" === e.type && /input|textarea/i.test(e.target.tagName)) || ("keyup" === e.type && 9 === e.which)) && - i.default.contains(a, e.target) - ) - ) { - var f = i.default.Event(te, l); - i.default(a).trigger(f), - f.isDefaultPrevented() || - ("ontouchstart" in document.documentElement && i.default(document.body).children().off("mouseover", null, i.default.noop), - n[o].setAttribute("aria-expanded", "false"), - s._popper && s._popper.destroy(), - i.default(u).removeClass(Jt), - i.default(a).removeClass(Jt).trigger(i.default.Event(ee, l))); - } - } - } - }), - (t._getParentFromElement = function (t) { - var e, - n = u.getSelectorFromElement(t); - return n && (e = document.querySelector(n)), e || t.parentNode; - }), - (t._dataApiKeydownHandler = function (e) { - if ( - !(/input|textarea/i.test(e.target.tagName) - ? 32 === e.which || (27 !== e.which && ((40 !== e.which && 38 !== e.which) || i.default(e.target).closest(re).length)) - : !Gt.test(e.which)) && - !this.disabled && - !i.default(this).hasClass($t) - ) { - var n = t._getParentFromElement(this), - o = i.default(n).hasClass(Jt); - if (o || 27 !== e.which) { - if ((e.preventDefault(), e.stopPropagation(), !o || 27 === e.which || 32 === e.which)) - return 27 === e.which && i.default(n.querySelector(oe)).trigger("focus"), void i.default(this).trigger("click"); - var r = [].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function (t) { - return i.default(t).is(":visible"); - }); - if (0 !== r.length) { - var a = r.indexOf(e.target); - 38 === e.which && a > 0 && a--, 40 === e.which && a < r.length - 1 && a++, a < 0 && (a = 0), r[a].focus(); - } - } - } - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "Default", - get: function () { - return ae; - }, - }, - { - key: "DefaultType", - get: function () { - return se; - }, - }, - ]), - t - ); - })(); - i - .default(document) - .on(ie, oe, le._dataApiKeydownHandler) - .on(ie, re, le._dataApiKeydownHandler) - .on(ne + " keyup.bs.dropdown.data-api", le._clearMenus) - .on(ne, oe, function (t) { - t.preventDefault(), t.stopPropagation(), le._jQueryInterface.call(i.default(this), "toggle"); - }) - .on(ne, ".dropdown form", function (t) { - t.stopPropagation(); - }), - (i.default.fn[zt] = le._jQueryInterface), - (i.default.fn[zt].Constructor = le), - (i.default.fn[zt].noConflict = function () { - return (i.default.fn[zt] = Xt), le._jQueryInterface; - }); - var ue = "bs.modal", - fe = i.default.fn.modal, - de = "modal-open", - ce = "fade", - he = "show", - pe = "modal-static", - me = "hidden.bs.modal", - ge = "show.bs.modal", - _e = "focusin.bs.modal", - ve = "resize.bs.modal", - be = "click.dismiss.bs.modal", - ye = "keydown.dismiss.bs.modal", - Ee = "mousedown.dismiss.bs.modal", - we = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", - Te = { backdrop: !0, keyboard: !0, focus: !0, show: !0 }, - Ce = { - backdrop: "(boolean|string)", - keyboard: "boolean", - focus: "boolean", - show: "boolean", - }, - Se = (function () { - function t(t, e) { - (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); - } - var e = t.prototype; - return ( - (e.toggle = function (t) { - return this._isShown ? this.hide() : this.show(t); - }), - (e.show = function (t) { - var e = this; - if (!this._isShown && !this._isTransitioning) { - var n = i.default.Event(ge, { relatedTarget: t }); - i.default(this._element).trigger(n), - n.isDefaultPrevented() || - ((this._isShown = !0), - i.default(this._element).hasClass(ce) && (this._isTransitioning = !0), - this._checkScrollbar(), - this._setScrollbar(), - this._adjustDialog(), - this._setEscapeEvent(), - this._setResizeEvent(), - i.default(this._element).on(be, '[data-dismiss="modal"]', function (t) { - return e.hide(t); - }), - i.default(this._dialog).on(Ee, function () { - i.default(e._element).one("mouseup.dismiss.bs.modal", function (t) { - i.default(t.target).is(e._element) && (e._ignoreBackdropClick = !0); - }); - }), - this._showBackdrop(function () { - return e._showElement(t); - })); - } - }), - (e.hide = function (t) { - var e = this; - if ((t && t.preventDefault(), this._isShown && !this._isTransitioning)) { - var n = i.default.Event("hide.bs.modal"); - if ((i.default(this._element).trigger(n), this._isShown && !n.isDefaultPrevented())) { - this._isShown = !1; - var o = i.default(this._element).hasClass(ce); - if ( - (o && (this._isTransitioning = !0), - this._setEscapeEvent(), - this._setResizeEvent(), - i.default(document).off(_e), - i.default(this._element).removeClass(he), - i.default(this._element).off(be), - i.default(this._dialog).off(Ee), - o) - ) { - var r = u.getTransitionDurationFromElement(this._element); - i.default(this._element) - .one(u.TRANSITION_END, function (t) { - return e._hideModal(t); - }) - .emulateTransitionEnd(r); - } else this._hideModal(); - } - } - }), - (e.dispose = function () { - [window, this._element, this._dialog].forEach(function (t) { - return i.default(t).off(".bs.modal"); - }), - i.default(document).off(_e), - i.default.removeData(this._element, ue), - (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); - }), - (e.handleUpdate = function () { - this._adjustDialog(); - }), - (e._getConfig = function (t) { - return (t = a({}, Te, t)), u.typeCheckConfig("modal", t, Ce), t; - }), - (e._triggerBackdropTransition = function () { - var t = this, - e = i.default.Event("hidePrevented.bs.modal"); - if ((i.default(this._element).trigger(e), !e.isDefaultPrevented())) { - var n = this._element.scrollHeight > document.documentElement.clientHeight; - n || (this._element.style.overflowY = "hidden"), this._element.classList.add(pe); - var o = u.getTransitionDurationFromElement(this._dialog); - i.default(this._element).off(u.TRANSITION_END), - i - .default(this._element) - .one(u.TRANSITION_END, function () { - t._element.classList.remove(pe), - n || - i - .default(t._element) - .one(u.TRANSITION_END, function () { - t._element.style.overflowY = ""; - }) - .emulateTransitionEnd(t._element, o); - }) - .emulateTransitionEnd(o), - this._element.focus(); - } - }), - (e._showElement = function (t) { - var e = this, - n = i.default(this._element).hasClass(ce), - o = this._dialog ? this._dialog.querySelector(".modal-body") : null; - (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"), - i.default(this._dialog).hasClass("modal-dialog-scrollable") && o ? (o.scrollTop = 0) : (this._element.scrollTop = 0), - n && u.reflow(this._element), - i.default(this._element).addClass(he), - this._config.focus && this._enforceFocus(); - var r = i.default.Event("shown.bs.modal", { - relatedTarget: t, - }), - a = function () { - e._config.focus && e._element.focus(), (e._isTransitioning = !1), i.default(e._element).trigger(r); - }; - if (n) { - var s = u.getTransitionDurationFromElement(this._dialog); - i.default(this._dialog).one(u.TRANSITION_END, a).emulateTransitionEnd(s); - } else a(); - }), - (e._enforceFocus = function () { - var t = this; - i.default(document) - .off(_e) - .on(_e, function (e) { - document !== e.target && t._element !== e.target && 0 === i.default(t._element).has(e.target).length && t._element.focus(); - }); - }), - (e._setEscapeEvent = function () { - var t = this; - this._isShown - ? i.default(this._element).on(ye, function (e) { - t._config.keyboard && 27 === e.which - ? (e.preventDefault(), t.hide()) - : t._config.keyboard || 27 !== e.which || t._triggerBackdropTransition(); - }) - : this._isShown || i.default(this._element).off(ye); - }), - (e._setResizeEvent = function () { - var t = this; - this._isShown - ? i.default(window).on(ve, function (e) { - return t.handleUpdate(e); - }) - : i.default(window).off(ve); - }), - (e._hideModal = function () { - var t = this; - (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 () { - i.default(document.body).removeClass(de), t._resetAdjustments(), t._resetScrollbar(), i.default(t._element).trigger(me); - }); - }), - (e._removeBackdrop = function () { - this._backdrop && (i.default(this._backdrop).remove(), (this._backdrop = null)); - }), - (e._showBackdrop = function (t) { - var e = this, - n = i.default(this._element).hasClass(ce) ? ce : ""; - if (this._isShown && this._config.backdrop) { - if ( - ((this._backdrop = document.createElement("div")), - (this._backdrop.className = "modal-backdrop"), - n && this._backdrop.classList.add(n), - i.default(this._backdrop).appendTo(document.body), - i.default(this._element).on(be, function (t) { - e._ignoreBackdropClick - ? (e._ignoreBackdropClick = !1) - : t.target === t.currentTarget && ("static" === e._config.backdrop ? e._triggerBackdropTransition() : e.hide()); - }), - n && u.reflow(this._backdrop), - i.default(this._backdrop).addClass(he), - !t) - ) - return; - if (!n) return void t(); - var o = u.getTransitionDurationFromElement(this._backdrop); - i.default(this._backdrop).one(u.TRANSITION_END, t).emulateTransitionEnd(o); - } else if (!this._isShown && this._backdrop) { - i.default(this._backdrop).removeClass(he); - var r = function () { - e._removeBackdrop(), t && t(); - }; - if (i.default(this._element).hasClass(ce)) { - var a = u.getTransitionDurationFromElement(this._backdrop); - i.default(this._backdrop).one(u.TRANSITION_END, r).emulateTransitionEnd(a); - } else r(); - } else t && t(); - }), - (e._adjustDialog = function () { - var t = this._element.scrollHeight > document.documentElement.clientHeight; - !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), - this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px"); - }), - (e._resetAdjustments = function () { - (this._element.style.paddingLeft = ""), (this._element.style.paddingRight = ""); - }), - (e._checkScrollbar = function () { - var t = document.body.getBoundingClientRect(); - (this._isBodyOverflowing = Math.round(t.left + t.right) < window.innerWidth), (this._scrollbarWidth = this._getScrollbarWidth()); - }), - (e._setScrollbar = function () { - var t = this; - if (this._isBodyOverflowing) { - var e = [].slice.call(document.querySelectorAll(we)), - n = [].slice.call(document.querySelectorAll(".sticky-top")); - i.default(e).each(function (e, n) { - var o = n.style.paddingRight, - r = i.default(n).css("padding-right"); - i.default(n) - .data("padding-right", o) - .css("padding-right", parseFloat(r) + t._scrollbarWidth + "px"); - }), - i.default(n).each(function (e, n) { - var o = n.style.marginRight, - r = i.default(n).css("margin-right"); - i.default(n) - .data("margin-right", o) - .css("margin-right", parseFloat(r) - t._scrollbarWidth + "px"); - }); - var o = document.body.style.paddingRight, - r = i.default(document.body).css("padding-right"); - i.default(document.body) - .data("padding-right", o) - .css("padding-right", parseFloat(r) + this._scrollbarWidth + "px"); - } - i.default(document.body).addClass(de); - }), - (e._resetScrollbar = function () { - var t = [].slice.call(document.querySelectorAll(we)); - i.default(t).each(function (t, e) { - var n = i.default(e).data("padding-right"); - i.default(e).removeData("padding-right"), (e.style.paddingRight = n || ""); - }); - var e = [].slice.call(document.querySelectorAll(".sticky-top")); - i.default(e).each(function (t, e) { - var n = i.default(e).data("margin-right"); - "undefined" != typeof n && i.default(e).css("margin-right", n).removeData("margin-right"); - }); - var n = i.default(document.body).data("padding-right"); - i.default(document.body).removeData("padding-right"), (document.body.style.paddingRight = n || ""); - }), - (e._getScrollbarWidth = function () { - var t = document.createElement("div"); - (t.className = "modal-scrollbar-measure"), document.body.appendChild(t); - var e = t.getBoundingClientRect().width - t.clientWidth; - return document.body.removeChild(t), e; - }), - (t._jQueryInterface = function (e, n) { - return this.each(function () { - var o = i.default(this).data(ue), - r = a({}, Te, i.default(this).data(), "object" == typeof e && e ? e : {}); - if ((o || ((o = new t(this, r)), i.default(this).data(ue, o)), "string" == typeof e)) { - if ("undefined" == typeof o[e]) throw new TypeError('No method named "' + e + '"'); - o[e](n); - } else r.show && o.show(n); - }); - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "Default", - get: function () { - return Te; - }, - }, - ]), - t - ); - })(); - i.default(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function (t) { - var e, - n = this, - o = u.getSelectorFromElement(this); - o && (e = document.querySelector(o)); - var r = i.default(e).data(ue) ? "toggle" : a({}, i.default(e).data(), i.default(this).data()); - ("A" !== this.tagName && "AREA" !== this.tagName) || t.preventDefault(); - var s = i.default(e).one(ge, function (t) { - t.isDefaultPrevented() || - s.one(me, function () { - i.default(n).is(":visible") && n.focus(); - }); - }); - Se._jQueryInterface.call(i.default(e), r, this); - }), - (i.default.fn.modal = Se._jQueryInterface), - (i.default.fn.modal.Constructor = Se), - (i.default.fn.modal.noConflict = function () { - return (i.default.fn.modal = fe), Se._jQueryInterface; - }); - var Ne = ["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"], - De = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i, - Ae = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; - function ke(t, e, n) { - if (0 === t.length) return t; - if (n && "function" == typeof n) return n(t); - for ( - var i = new window.DOMParser().parseFromString(t, "text/html"), - o = Object.keys(e), - r = [].slice.call(i.body.querySelectorAll("*")), - a = function (t, n) { - var i = r[t], - a = i.nodeName.toLowerCase(); - if (-1 === o.indexOf(i.nodeName.toLowerCase())) return i.parentNode.removeChild(i), "continue"; - var s = [].slice.call(i.attributes), - l = [].concat(e["*"] || [], e[a] || []); - s.forEach(function (t) { - (function (t, e) { - var n = t.nodeName.toLowerCase(); - if (-1 !== e.indexOf(n)) return -1 === Ne.indexOf(n) || Boolean(De.test(t.nodeValue) || Ae.test(t.nodeValue)); - for ( - var i = e.filter(function (t) { - return t instanceof RegExp; - }), - o = 0, - r = i.length; - o < r; - o++ - ) - if (i[o].test(n)) return !0; - return !1; - })(t, l) || i.removeAttribute(t.nodeName); - }); - }, - s = 0, - l = r.length; - s < l; - s++ - ) - a(s); - return i.body.innerHTML; - } - var Ie = "tooltip", - Oe = "bs.tooltip", - xe = i.default.fn.tooltip, - je = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), - Le = ["sanitize", "whiteList", "sanitizeFn"], - Pe = "fade", - Fe = "show", - Re = "show", - Be = "out", - He = "hover", - Me = "focus", - qe = { - AUTO: "auto", - TOP: "top", - RIGHT: "right", - BOTTOM: "bottom", - LEFT: "left", - }, - Qe = { - animation: !0, - template: '', - trigger: "hover focus", - title: "", - delay: 0, - html: !1, - selector: !1, - placement: "top", - offset: 0, - container: !1, - fallbackPlacement: "flip", - boundary: "scrollParent", - customClass: "", - sanitize: !0, - sanitizeFn: null, - whiteList: { - "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], - a: ["target", "href", "title", "rel"], - area: [], - b: [], - br: [], - col: [], - code: [], - div: [], - em: [], - hr: [], - h1: [], - h2: [], - h3: [], - h4: [], - h5: [], - h6: [], - i: [], - img: ["src", "srcset", "alt", "title", "width", "height"], - li: [], - ol: [], - p: [], - pre: [], - s: [], - small: [], - span: [], - sub: [], - sup: [], - strong: [], - u: [], - ul: [], - }, - popperConfig: null, - }, - We = { - animation: "boolean", - template: "string", - title: "(string|element|function)", - trigger: "string", - delay: "(number|object)", - html: "boolean", - selector: "(string|boolean)", - placement: "(string|function)", - offset: "(number|string|function)", - container: "(string|element|boolean)", - fallbackPlacement: "(string|array)", - boundary: "(string|element)", - customClass: "(string|function)", - sanitize: "boolean", - sanitizeFn: "(null|function)", - whiteList: "object", - popperConfig: "(null|object)", - }, - Ue = { - HIDE: "hide.bs.tooltip", - HIDDEN: "hidden.bs.tooltip", - SHOW: "show.bs.tooltip", - SHOWN: "shown.bs.tooltip", - INSERTED: "inserted.bs.tooltip", - CLICK: "click.bs.tooltip", - FOCUSIN: "focusin.bs.tooltip", - FOCUSOUT: "focusout.bs.tooltip", - MOUSEENTER: "mouseenter.bs.tooltip", - MOUSELEAVE: "mouseleave.bs.tooltip", - }, - Ve = (function () { - function t(t, e) { - if ("undefined" == typeof Yt) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)"); - (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(); - } - var e = t.prototype; - return ( - (e.enable = function () { - this._isEnabled = !0; - }), - (e.disable = function () { - this._isEnabled = !1; - }), - (e.toggleEnabled = function () { - this._isEnabled = !this._isEnabled; - }), - (e.toggle = function (t) { - if (this._isEnabled) - if (t) { - var e = this.constructor.DATA_KEY, - n = i.default(t.currentTarget).data(e); - n || ((n = new this.constructor(t.currentTarget, this._getDelegateConfig())), i.default(t.currentTarget).data(e, n)), - (n._activeTrigger.click = !n._activeTrigger.click), - n._isWithActiveTrigger() ? n._enter(null, n) : n._leave(null, n); - } else { - if (i.default(this.getTipElement()).hasClass(Fe)) return void this._leave(null, this); - this._enter(null, this); - } - }), - (e.dispose = function () { - clearTimeout(this._timeout), - i.default.removeData(this.element, this.constructor.DATA_KEY), - i.default(this.element).off(this.constructor.EVENT_KEY), - i.default(this.element).closest(".modal").off("hide.bs.modal", this._hideModalHandler), - this.tip && i.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); - }), - (e.show = function () { - var t = this; - if ("none" === i.default(this.element).css("display")) throw new Error("Please use show on visible elements"); - var e = i.default.Event(this.constructor.Event.SHOW); - if (this.isWithContent() && this._isEnabled) { - i.default(this.element).trigger(e); - var n = u.findShadowRoot(this.element), - o = i.default.contains(null !== n ? n : this.element.ownerDocument.documentElement, this.element); - if (e.isDefaultPrevented() || !o) return; - var r = this.getTipElement(), - a = u.getUID(this.constructor.NAME); - r.setAttribute("id", a), - this.element.setAttribute("aria-describedby", a), - this.setContent(), - this.config.animation && i.default(r).addClass(Pe); - var s = "function" == typeof this.config.placement ? this.config.placement.call(this, r, this.element) : this.config.placement, - l = this._getAttachment(s); - this.addAttachmentClass(l); - var f = this._getContainer(); - i.default(r).data(this.constructor.DATA_KEY, this), - i.default.contains(this.element.ownerDocument.documentElement, this.tip) || i.default(r).appendTo(f), - i.default(this.element).trigger(this.constructor.Event.INSERTED), - (this._popper = new Yt(this.element, r, this._getPopperConfig(l))), - i.default(r).addClass(Fe), - i.default(r).addClass(this.config.customClass), - "ontouchstart" in document.documentElement && i.default(document.body).children().on("mouseover", null, i.default.noop); - var d = function () { - t.config.animation && t._fixTransition(); - var e = t._hoverState; - (t._hoverState = null), i.default(t.element).trigger(t.constructor.Event.SHOWN), e === Be && t._leave(null, t); - }; - if (i.default(this.tip).hasClass(Pe)) { - var c = u.getTransitionDurationFromElement(this.tip); - i.default(this.tip).one(u.TRANSITION_END, d).emulateTransitionEnd(c); - } else d(); - } - }), - (e.hide = function (t) { - var e = this, - n = this.getTipElement(), - o = i.default.Event(this.constructor.Event.HIDE), - r = function () { - e._hoverState !== Re && n.parentNode && n.parentNode.removeChild(n), - e._cleanTipClass(), - e.element.removeAttribute("aria-describedby"), - i.default(e.element).trigger(e.constructor.Event.HIDDEN), - null !== e._popper && e._popper.destroy(), - t && t(); - }; - if ((i.default(this.element).trigger(o), !o.isDefaultPrevented())) { - if ( - (i.default(n).removeClass(Fe), - "ontouchstart" in document.documentElement && i.default(document.body).children().off("mouseover", null, i.default.noop), - (this._activeTrigger.click = !1), - (this._activeTrigger.focus = !1), - (this._activeTrigger.hover = !1), - i.default(this.tip).hasClass(Pe)) - ) { - var a = u.getTransitionDurationFromElement(n); - i.default(n).one(u.TRANSITION_END, r).emulateTransitionEnd(a); - } else r(); - this._hoverState = ""; - } - }), - (e.update = function () { - null !== this._popper && this._popper.scheduleUpdate(); - }), - (e.isWithContent = function () { - return Boolean(this.getTitle()); - }), - (e.addAttachmentClass = function (t) { - i.default(this.getTipElement()).addClass("bs-tooltip-" + t); - }), - (e.getTipElement = function () { - return (this.tip = this.tip || i.default(this.config.template)[0]), this.tip; - }), - (e.setContent = function () { - var t = this.getTipElement(); - this.setElementContent(i.default(t.querySelectorAll(".tooltip-inner")), this.getTitle()), i.default(t).removeClass("fade show"); - }), - (e.setElementContent = function (t, e) { - "object" != typeof e || (!e.nodeType && !e.jquery) - ? this.config.html - ? (this.config.sanitize && (e = ke(e, this.config.whiteList, this.config.sanitizeFn)), t.html(e)) - : t.text(e) - : this.config.html - ? i.default(e).parent().is(t) || t.empty().append(e) - : t.text(i.default(e).text()); - }), - (e.getTitle = function () { - var t = this.element.getAttribute("data-original-title"); - return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t; - }), - (e._getPopperConfig = function (t) { - var e = this; - return a( - {}, - { - placement: t, - modifiers: { - offset: this._getOffset(), - flip: { - behavior: this.config.fallbackPlacement, - }, - arrow: { element: ".arrow" }, - preventOverflow: { - boundariesElement: this.config.boundary, - }, - }, - onCreate: function (t) { - t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t); - }, - onUpdate: function (t) { - return e._handlePopperPlacementChange(t); - }, - }, - this.config.popperConfig - ); - }), - (e._getOffset = function () { - var t = this, - e = {}; - return ( - "function" == typeof this.config.offset - ? (e.fn = function (e) { - return (e.offsets = a({}, e.offsets, t.config.offset(e.offsets, t.element))), e; - }) - : (e.offset = this.config.offset), - e - ); - }), - (e._getContainer = function () { - return !1 === this.config.container - ? document.body - : u.isElement(this.config.container) - ? i.default(this.config.container) - : i.default(document).find(this.config.container); - }), - (e._getAttachment = function (t) { - return qe[t.toUpperCase()]; - }), - (e._setListeners = function () { - var t = this; - this.config.trigger.split(" ").forEach(function (e) { - if ("click" === e) - i.default(t.element).on(t.constructor.Event.CLICK, t.config.selector, function (e) { - return t.toggle(e); - }); - else if ("manual" !== e) { - var n = e === He ? t.constructor.Event.MOUSEENTER : t.constructor.Event.FOCUSIN, - o = e === He ? t.constructor.Event.MOUSELEAVE : t.constructor.Event.FOCUSOUT; - i.default(t.element) - .on(n, t.config.selector, function (e) { - return t._enter(e); - }) - .on(o, t.config.selector, function (e) { - return t._leave(e); - }); - } - }), - (this._hideModalHandler = function () { - t.element && t.hide(); - }), - i.default(this.element).closest(".modal").on("hide.bs.modal", this._hideModalHandler), - this.config.selector - ? (this.config = a({}, this.config, { - trigger: "manual", - selector: "", - })) - : this._fixTitle(); - }), - (e._fixTitle = function () { - var t = typeof this.element.getAttribute("data-original-title"); - (this.element.getAttribute("title") || "string" !== t) && - (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", "")); - }), - (e._enter = function (t, e) { - var n = this.constructor.DATA_KEY; - (e = e || i.default(t.currentTarget).data(n)) || - ((e = new this.constructor(t.currentTarget, this._getDelegateConfig())), i.default(t.currentTarget).data(n, e)), - t && (e._activeTrigger["focusin" === t.type ? Me : He] = !0), - i.default(e.getTipElement()).hasClass(Fe) || e._hoverState === Re - ? (e._hoverState = Re) - : (clearTimeout(e._timeout), - (e._hoverState = Re), - e.config.delay && e.config.delay.show - ? (e._timeout = setTimeout(function () { - e._hoverState === Re && e.show(); - }, e.config.delay.show)) - : e.show()); - }), - (e._leave = function (t, e) { - var n = this.constructor.DATA_KEY; - (e = e || i.default(t.currentTarget).data(n)) || - ((e = new this.constructor(t.currentTarget, this._getDelegateConfig())), i.default(t.currentTarget).data(n, e)), - t && (e._activeTrigger["focusout" === t.type ? Me : He] = !1), - e._isWithActiveTrigger() || - (clearTimeout(e._timeout), - (e._hoverState = Be), - e.config.delay && e.config.delay.hide - ? (e._timeout = setTimeout(function () { - e._hoverState === Be && e.hide(); - }, e.config.delay.hide)) - : e.hide()); - }), - (e._isWithActiveTrigger = function () { - for (var t in this._activeTrigger) if (this._activeTrigger[t]) return !0; - return !1; - }), - (e._getConfig = function (t) { - var e = i.default(this.element).data(); - return ( - Object.keys(e).forEach(function (t) { - -1 !== Le.indexOf(t) && delete e[t]; - }), - "number" == typeof (t = a({}, this.constructor.Default, e, "object" == typeof t && t ? t : {})).delay && - (t.delay = { show: t.delay, hide: t.delay }), - "number" == typeof t.title && (t.title = t.title.toString()), - "number" == typeof t.content && (t.content = t.content.toString()), - u.typeCheckConfig(Ie, t, this.constructor.DefaultType), - t.sanitize && (t.template = ke(t.template, t.whiteList, t.sanitizeFn)), - t - ); - }), - (e._getDelegateConfig = function () { - var t = {}; - if (this.config) for (var e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]); - return t; - }), - (e._cleanTipClass = function () { - var t = i.default(this.getTipElement()), - e = t.attr("class").match(je); - null !== e && e.length && t.removeClass(e.join("")); - }), - (e._handlePopperPlacementChange = function (t) { - (this.tip = t.instance.popper), this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement)); - }), - (e._fixTransition = function () { - var t = this.getTipElement(), - e = this.config.animation; - null === t.getAttribute("x-placement") && - (i.default(t).removeClass(Pe), (this.config.animation = !1), this.hide(), this.show(), (this.config.animation = e)); - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this), - o = n.data(Oe), - r = "object" == typeof e && e; - if ((o || !/dispose|hide/.test(e)) && (o || ((o = new t(this, r)), n.data(Oe, o)), "string" == typeof e)) { - if ("undefined" == typeof o[e]) throw new TypeError('No method named "' + e + '"'); - o[e](); - } - }); - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "Default", - get: function () { - return Qe; - }, - }, - { - key: "NAME", - get: function () { - return Ie; - }, - }, - { - key: "DATA_KEY", - get: function () { - return Oe; - }, - }, - { - key: "Event", - get: function () { - return Ue; - }, - }, - { - key: "EVENT_KEY", - get: function () { - return ".bs.tooltip"; - }, - }, - { - key: "DefaultType", - get: function () { - return We; - }, - }, - ]), - t - ); - })(); - (i.default.fn.tooltip = Ve._jQueryInterface), - (i.default.fn.tooltip.Constructor = Ve), - (i.default.fn.tooltip.noConflict = function () { - return (i.default.fn.tooltip = xe), Ve._jQueryInterface; - }); - var Ye = "bs.popover", - ze = i.default.fn.popover, - Ke = new RegExp("(^|\\s)bs-popover\\S+", "g"), - Xe = a({}, Ve.Default, { - placement: "right", - trigger: "click", - content: "", - template: '', - }), - Ge = a({}, Ve.DefaultType, { content: "(string|element|function)" }), - $e = { - HIDE: "hide.bs.popover", - HIDDEN: "hidden.bs.popover", - SHOW: "show.bs.popover", - SHOWN: "shown.bs.popover", - INSERTED: "inserted.bs.popover", - CLICK: "click.bs.popover", - FOCUSIN: "focusin.bs.popover", - FOCUSOUT: "focusout.bs.popover", - MOUSEENTER: "mouseenter.bs.popover", - MOUSELEAVE: "mouseleave.bs.popover", - }, - Je = (function (t) { - var e, n; - function o() { - return t.apply(this, arguments) || this; - } - (n = t), ((e = o).prototype = Object.create(n.prototype)), (e.prototype.constructor = e), s(e, n); - var a = o.prototype; - return ( - (a.isWithContent = function () { - return this.getTitle() || this._getContent(); - }), - (a.addAttachmentClass = function (t) { - i.default(this.getTipElement()).addClass("bs-popover-" + t); - }), - (a.getTipElement = function () { - return (this.tip = this.tip || i.default(this.config.template)[0]), this.tip; - }), - (a.setContent = function () { - var t = i.default(this.getTipElement()); - this.setElementContent(t.find(".popover-header"), this.getTitle()); - var e = this._getContent(); - "function" == typeof e && (e = e.call(this.element)), this.setElementContent(t.find(".popover-body"), e), t.removeClass("fade show"); - }), - (a._getContent = function () { - return this.element.getAttribute("data-content") || this.config.content; - }), - (a._cleanTipClass = function () { - var t = i.default(this.getTipElement()), - e = t.attr("class").match(Ke); - null !== e && e.length > 0 && t.removeClass(e.join("")); - }), - (o._jQueryInterface = function (t) { - return this.each(function () { - var e = i.default(this).data(Ye), - n = "object" == typeof t ? t : null; - if ((e || !/dispose|hide/.test(t)) && (e || ((e = new o(this, n)), i.default(this).data(Ye, e)), "string" == typeof t)) { - if ("undefined" == typeof e[t]) throw new TypeError('No method named "' + t + '"'); - e[t](); - } - }); - }), - r(o, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "Default", - get: function () { - return Xe; - }, - }, - { - key: "NAME", - get: function () { - return "popover"; - }, - }, - { - key: "DATA_KEY", - get: function () { - return Ye; - }, - }, - { - key: "Event", - get: function () { - return $e; - }, - }, - { - key: "EVENT_KEY", - get: function () { - return ".bs.popover"; - }, - }, - { - key: "DefaultType", - get: function () { - return Ge; - }, - }, - ]), - o - ); - })(Ve); - (i.default.fn.popover = Je._jQueryInterface), - (i.default.fn.popover.Constructor = Je), - (i.default.fn.popover.noConflict = function () { - return (i.default.fn.popover = ze), Je._jQueryInterface; - }); - var Ze = "scrollspy", - tn = "bs.scrollspy", - en = i.default.fn[Ze], - nn = "active", - on = "position", - rn = ".nav, .list-group", - an = { offset: 10, method: "auto", target: "" }, - sn = { offset: "number", method: "string", target: "(string|element)" }, - ln = (function () { - function t(t, e) { - var n = this; - (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), - i.default(this._scrollElement).on("scroll.bs.scrollspy", function (t) { - return n._process(t); - }), - this.refresh(), - this._process(); - } - var e = t.prototype; - return ( - (e.refresh = function () { - var t = this, - e = this._scrollElement === this._scrollElement.window ? "offset" : on, - n = "auto" === this._config.method ? e : this._config.method, - o = n === on ? this._getScrollTop() : 0; - (this._offsets = []), - (this._targets = []), - (this._scrollHeight = this._getScrollHeight()), - [].slice - .call(document.querySelectorAll(this._selector)) - .map(function (t) { - var e, - r = u.getSelectorFromElement(t); - if ((r && (e = document.querySelector(r)), e)) { - var a = e.getBoundingClientRect(); - if (a.width || a.height) return [i.default(e)[n]().top + o, r]; - } - return null; - }) - .filter(Boolean) - .sort(function (t, e) { - return t[0] - e[0]; - }) - .forEach(function (e) { - t._offsets.push(e[0]), t._targets.push(e[1]); - }); - }), - (e.dispose = function () { - i.default.removeData(this._element, tn), - i.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); - }), - (e._getConfig = function (t) { - if ("string" != typeof (t = a({}, an, "object" == typeof t && t ? t : {})).target && u.isElement(t.target)) { - var e = i.default(t.target).attr("id"); - e || ((e = u.getUID(Ze)), i.default(t.target).attr("id", e)), (t.target = "#" + e); - } - return u.typeCheckConfig(Ze, t, sn), t; - }), - (e._getScrollTop = function () { - return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; - }), - (e._getScrollHeight = function () { - return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); - }), - (e._getOffsetHeight = function () { - return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height; - }), - (e._process = function () { - var t = this._getScrollTop() + this._config.offset, - e = this._getScrollHeight(), - n = this._config.offset + e - this._getOffsetHeight(); - if ((this._scrollHeight !== e && this.refresh(), t >= n)) { - var i = this._targets[this._targets.length - 1]; - this._activeTarget !== i && this._activate(i); - } else { - if (this._activeTarget && t < this._offsets[0] && this._offsets[0] > 0) return (this._activeTarget = null), void this._clear(); - for (var o = this._offsets.length; o--; ) - 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]); - } - }), - (e._activate = function (t) { - (this._activeTarget = t), this._clear(); - var e = this._selector.split(",").map(function (e) { - return e + '[data-target="' + t + '"],' + e + '[href="' + t + '"]'; - }), - n = i.default([].slice.call(document.querySelectorAll(e.join(",")))); - n.hasClass("dropdown-item") - ? (n.closest(".dropdown").find(".dropdown-toggle").addClass(nn), n.addClass(nn)) - : (n.addClass(nn), - n.parents(rn).prev(".nav-link, .list-group-item").addClass(nn), - n.parents(rn).prev(".nav-item").children(".nav-link").addClass(nn)), - i.default(this._scrollElement).trigger("activate.bs.scrollspy", { - relatedTarget: t, - }); - }), - (e._clear = function () { - [].slice - .call(document.querySelectorAll(this._selector)) - .filter(function (t) { - return t.classList.contains(nn); - }) - .forEach(function (t) { - return t.classList.remove(nn); - }); - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this).data(tn); - if ((n || ((n = new t(this, "object" == typeof e && e)), i.default(this).data(tn, n)), "string" == typeof e)) { - if ("undefined" == typeof n[e]) throw new TypeError('No method named "' + e + '"'); - n[e](); - } - }); - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "Default", - get: function () { - return an; - }, - }, - ]), - t - ); - })(); - i.default(window).on("load.bs.scrollspy.data-api", function () { - for (var t = [].slice.call(document.querySelectorAll('[data-spy="scroll"]')), e = t.length; e--; ) { - var n = i.default(t[e]); - ln._jQueryInterface.call(n, n.data()); - } - }), - (i.default.fn[Ze] = ln._jQueryInterface), - (i.default.fn[Ze].Constructor = ln), - (i.default.fn[Ze].noConflict = function () { - return (i.default.fn[Ze] = en), ln._jQueryInterface; - }); - var un = "bs.tab", - fn = i.default.fn.tab, - dn = "active", - cn = "fade", - hn = "show", - pn = ".active", - mn = "> li > .active", - gn = (function () { - function t(t) { - this._element = t; - } - var e = t.prototype; - return ( - (e.show = function () { - var t = this; - if ( - !( - (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && i.default(this._element).hasClass(dn)) || - i.default(this._element).hasClass("disabled") || - this._element.hasAttribute("disabled") - ) - ) { - var e, - n, - o = i.default(this._element).closest(".nav, .list-group")[0], - r = u.getSelectorFromElement(this._element); - if (o) { - var a = "UL" === o.nodeName || "OL" === o.nodeName ? mn : pn; - n = (n = i.default.makeArray(i.default(o).find(a)))[n.length - 1]; - } - var s = i.default.Event("hide.bs.tab", { - relatedTarget: this._element, - }), - l = i.default.Event("show.bs.tab", { - relatedTarget: n, - }); - if ((n && i.default(n).trigger(s), i.default(this._element).trigger(l), !l.isDefaultPrevented() && !s.isDefaultPrevented())) { - r && (e = document.querySelector(r)), this._activate(this._element, o); - var f = function () { - var e = i.default.Event("hidden.bs.tab", { - relatedTarget: t._element, - }), - o = i.default.Event("shown.bs.tab", { - relatedTarget: n, - }); - i.default(n).trigger(e), i.default(t._element).trigger(o); - }; - e ? this._activate(e, e.parentNode, f) : f(); - } - } - }), - (e.dispose = function () { - i.default.removeData(this._element, un), (this._element = null); - }), - (e._activate = function (t, e, n) { - var o = this, - r = (!e || ("UL" !== e.nodeName && "OL" !== e.nodeName) ? i.default(e).children(pn) : i.default(e).find(mn))[0], - a = n && r && i.default(r).hasClass(cn), - s = function () { - return o._transitionComplete(t, r, n); - }; - if (r && a) { - var l = u.getTransitionDurationFromElement(r); - i.default(r).removeClass(hn).one(u.TRANSITION_END, s).emulateTransitionEnd(l); - } else s(); - }), - (e._transitionComplete = function (t, e, n) { - if (e) { - i.default(e).removeClass(dn); - var o = i.default(e.parentNode).find("> .dropdown-menu .active")[0]; - o && i.default(o).removeClass(dn), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !1); - } - i.default(t).addClass(dn), - "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), - u.reflow(t), - t.classList.contains(cn) && t.classList.add(hn); - var r = t.parentNode; - if ((r && "LI" === r.nodeName && (r = r.parentNode), r && i.default(r).hasClass("dropdown-menu"))) { - var a = i.default(t).closest(".dropdown")[0]; - if (a) { - var s = [].slice.call(a.querySelectorAll(".dropdown-toggle")); - i.default(s).addClass(dn); - } - t.setAttribute("aria-expanded", !0); - } - n && n(); - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this), - o = n.data(un); - if ((o || ((o = new t(this)), n.data(un, o)), "string" == typeof e)) { - if ("undefined" == typeof o[e]) throw new TypeError('No method named "' + e + '"'); - o[e](); - } - }); - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - ]), - t - ); - })(); - i.default(document).on("click.bs.tab.data-api", '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', function (t) { - t.preventDefault(), gn._jQueryInterface.call(i.default(this), "show"); - }), - (i.default.fn.tab = gn._jQueryInterface), - (i.default.fn.tab.Constructor = gn), - (i.default.fn.tab.noConflict = function () { - return (i.default.fn.tab = fn), gn._jQueryInterface; - }); - var _n = "bs.toast", - vn = i.default.fn.toast, - bn = "hide", - yn = "show", - En = "showing", - wn = "click.dismiss.bs.toast", - Tn = { animation: !0, autohide: !0, delay: 500 }, - Cn = { animation: "boolean", autohide: "boolean", delay: "number" }, - Sn = (function () { - function t(t, e) { - (this._element = t), (this._config = this._getConfig(e)), (this._timeout = null), this._setListeners(); - } - var e = t.prototype; - return ( - (e.show = function () { - var t = this, - e = i.default.Event("show.bs.toast"); - if ((i.default(this._element).trigger(e), !e.isDefaultPrevented())) { - this._clearTimeout(), this._config.animation && this._element.classList.add("fade"); - var n = function () { - t._element.classList.remove(En), - t._element.classList.add(yn), - i.default(t._element).trigger("shown.bs.toast"), - t._config.autohide && - (t._timeout = setTimeout(function () { - t.hide(); - }, t._config.delay)); - }; - if ((this._element.classList.remove(bn), u.reflow(this._element), this._element.classList.add(En), this._config.animation)) { - var o = u.getTransitionDurationFromElement(this._element); - i.default(this._element).one(u.TRANSITION_END, n).emulateTransitionEnd(o); - } else n(); - } - }), - (e.hide = function () { - if (this._element.classList.contains(yn)) { - var t = i.default.Event("hide.bs.toast"); - i.default(this._element).trigger(t), t.isDefaultPrevented() || this._close(); - } - }), - (e.dispose = function () { - this._clearTimeout(), - this._element.classList.contains(yn) && this._element.classList.remove(yn), - i.default(this._element).off(wn), - i.default.removeData(this._element, _n), - (this._element = null), - (this._config = null); - }), - (e._getConfig = function (t) { - return ( - (t = a({}, Tn, i.default(this._element).data(), "object" == typeof t && t ? t : {})), - u.typeCheckConfig("toast", t, this.constructor.DefaultType), - t - ); - }), - (e._setListeners = function () { - var t = this; - i.default(this._element).on(wn, '[data-dismiss="toast"]', function () { - return t.hide(); - }); - }), - (e._close = function () { - var t = this, - e = function () { - t._element.classList.add(bn), i.default(t._element).trigger("hidden.bs.toast"); - }; - if ((this._element.classList.remove(yn), this._config.animation)) { - var n = u.getTransitionDurationFromElement(this._element); - i.default(this._element).one(u.TRANSITION_END, e).emulateTransitionEnd(n); - } else e(); - }), - (e._clearTimeout = function () { - clearTimeout(this._timeout), (this._timeout = null); - }), - (t._jQueryInterface = function (e) { - return this.each(function () { - var n = i.default(this), - o = n.data(_n); - if ((o || ((o = new t(this, "object" == typeof e && e)), n.data(_n, o)), "string" == typeof e)) { - if ("undefined" == typeof o[e]) throw new TypeError('No method named "' + e + '"'); - o[e](this); - } - }); - }), - r(t, null, [ - { - key: "VERSION", - get: function () { - return "4.6.2"; - }, - }, - { - key: "DefaultType", - get: function () { - return Cn; - }, - }, - { - key: "Default", - get: function () { - return Tn; - }, - }, - ]), - t - ); - })(); - (i.default.fn.toast = Sn._jQueryInterface), - (i.default.fn.toast.Constructor = Sn), - (i.default.fn.toast.noConflict = function () { - return (i.default.fn.toast = vn), Sn._jQueryInterface; - }), - (t.Alert = c), - (t.Button = b), - (t.Carousel = O), - (t.Collapse = W), - (t.Dropdown = le), - (t.Modal = Se), - (t.Popover = Je), - (t.Scrollspy = ln), - (t.Tab = gn), - (t.Toast = Sn), - (t.Tooltip = Ve), - (t.Util = u), - Object.defineProperty(t, "__esModule", { value: !0 }); -}); -//# sourceMappingURL=bootstrap.bundle.min.js.map + * Bootstrap v4.6.2 (https://getbootstrap.com/) + * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery)}(this,(function(t,e){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=n(e);function o(t,e){for(var n=0;n=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};u.jQueryDetection(),i.default.fn.emulateTransitionEnd=function(t){var e=this,n=!1;return i.default(this).one(u.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||u.triggerTransitionEnd(e)}),t),this},i.default.event.special[u.TRANSITION_END]={bindType:l,delegateType:l,handle:function(t){if(i.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var f="bs.alert",d=i.default.fn.alert,c=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){i.default.removeData(this._element,f),this._element=null},e._getRootElement=function(t){var e=u.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=i.default(t).closest(".alert")[0]),n},e._triggerCloseEvent=function(t){var e=i.default.Event("close.bs.alert");return i.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(i.default(t).removeClass("show"),i.default(t).hasClass("fade")){var n=u.getTransitionDurationFromElement(t);i.default(t).one(u.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){i.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data(f);o||(o=new t(this),n.data(f,o)),"close"===e&&o[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},r(t,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),t}();i.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',c._handleDismiss(new c)),i.default.fn.alert=c._jQueryInterface,i.default.fn.alert.Constructor=c,i.default.fn.alert.noConflict=function(){return i.default.fn.alert=d,c._jQueryInterface};var h="bs.button",p=i.default.fn.button,m="active",g='[data-toggle^="button"]',_='input:not([type="hidden"])',v=".btn",b=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=i.default(this._element).closest('[data-toggle="buttons"]')[0];if(n){var o=this._element.querySelector(_);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(m))t=!1;else{var r=n.querySelector(".active");r&&i.default(r).removeClass(m)}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains(m)),this.shouldAvoidTriggerChange||i.default(o).trigger("change")),o.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(m)),t&&i.default(this._element).toggleClass(m))},e.dispose=function(){i.default.removeData(this._element,h),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var o=i.default(this),r=o.data(h);r||(r=new t(this),o.data(h,r)),r.shouldAvoidTriggerChange=n,"toggle"===e&&r[e]()}))},r(t,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),t}();i.default(document).on("click.bs.button.data-api",g,(function(t){var e=t.target,n=e;if(i.default(e).hasClass("btn")||(e=i.default(e).closest(v)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var o=e.querySelector(_);if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===e.tagName||b._jQueryInterface.call(i.default(e),"toggle","INPUT"===n.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",g,(function(t){var e=i.default(t.target).closest(v)[0];i.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))})),i.default(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(C)},e.nextWhenVisible=function(){var t=i.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(S)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(u.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){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))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(D);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)i.default(this._element).one(N,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var o=t>n?C:S;this._slide(o,this._items[t])}},e.dispose=function(){i.default(this._element).off(".bs.carousel"),i.default.removeData(this._element,E),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=a({},A,t),u.typeCheckConfig(y,t,k),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&i.default(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&i.default(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&I[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&I[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){return t.cycle(e)}),500+t._config.interval))};i.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(i.default(this._element).on("pointerdown.bs.carousel",(function(t){return e(t)})),i.default(this._element).on("pointerup.bs.carousel",(function(t){return n(t)})),this._element.classList.add("pointer-event")):(i.default(this._element).on("touchstart.bs.carousel",(function(t){return e(t)})),i.default(this._element).on("touchmove.bs.carousel",(function(e){return function(e){t.touchDeltaX=e.originalEvent.touches&&e.originalEvent.touches.length>1?0:e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),i.default(this._element).on("touchend.bs.carousel",(function(t){return n(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===C,i=t===S,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var a=(o+(t===S?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(D)),r=i.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:o,to:n});return i.default(this._element).trigger(r),r},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));i.default(e).removeClass(T);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&i.default(n).addClass(T)}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(D);if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var n,o,r,a=this,s=this._element.querySelector(D),l=this._getItemIndex(s),f=e||s&&this._getItemByDirection(t,s),d=this._getItemIndex(f),c=Boolean(this._interval);if(t===C?(n="carousel-item-left",o="carousel-item-next",r="left"):(n="carousel-item-right",o="carousel-item-prev",r="right"),f&&i.default(f).hasClass(T))this._isSliding=!1;else if(!this._triggerSlideEvent(f,r).isDefaultPrevented()&&s&&f){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(f),this._activeElement=f;var h=i.default.Event(N,{relatedTarget:f,direction:r,from:l,to:d});if(i.default(this._element).hasClass("slide")){i.default(f).addClass(o),u.reflow(f),i.default(s).addClass(n),i.default(f).addClass(n);var p=u.getTransitionDurationFromElement(s);i.default(s).one(u.TRANSITION_END,(function(){i.default(f).removeClass(n+" "+o).addClass(T),i.default(s).removeClass("active "+o+" "+n),a._isSliding=!1,setTimeout((function(){return i.default(a._element).trigger(h)}),0)})).emulateTransitionEnd(p)}else i.default(s).removeClass(T),i.default(f).addClass(T),this._isSliding=!1,i.default(this._element).trigger(h);c&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data(E),o=a({},A,i.default(this).data());"object"==typeof e&&(o=a({},o,e));var r="string"==typeof e?e:o.slide;if(n||(n=new t(this,o),i.default(this).data(E,n)),"number"==typeof e)n.to(e);else if("string"==typeof r){if("undefined"==typeof n[r])throw new TypeError('No method named "'+r+'"');n[r]()}else o.interval&&o.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=u.getSelectorFromElement(this);if(n){var o=i.default(n)[0];if(o&&i.default(o).hasClass("carousel")){var r=a({},i.default(o).data(),i.default(this).data()),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),t._jQueryInterface.call(i.default(o),r),s&&i.default(o).data(E).to(s),e.preventDefault()}}},r(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return A}}]),t}();i.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",O._dataApiClickHandler),i.default(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,n=t.length;e0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){i.default(this._element).hasClass(P)?this.hide():this.show()},e.show=function(){var e,n,o=this;if(!(this._isTransitioning||i.default(this._element).hasClass(P)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(F)}))).length&&(e=null),e&&(n=i.default(e).not(this._selector).data(j))&&n._isTransitioning))){var r=i.default.Event("show.bs.collapse");if(i.default(this._element).trigger(r),!r.isDefaultPrevented()){e&&(t._jQueryInterface.call(i.default(e).not(this._selector),"hide"),n||i.default(e).data(j,null));var a=this._getDimension();i.default(this._element).removeClass(F).addClass(R),this._element.style[a]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass(B).attr("aria-expanded",!0),this.setTransitioning(!0);var s="scroll"+(a[0].toUpperCase()+a.slice(1)),l=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,(function(){i.default(o._element).removeClass(R).addClass("collapse show"),o._element.style[a]="",o.setTransitioning(!1),i.default(o._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(l),this._element.style[a]=this._element[s]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&i.default(this._element).hasClass(P)){var e=i.default.Event("hide.bs.collapse");if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",u.reflow(this._element),i.default(this._element).addClass(R).removeClass("collapse show");var o=this._triggerArray.length;if(o>0)for(var r=0;r=0)return 1;return 0}(),Y=U&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),V))}};function z(t){return t&&"[object Function]"==={}.toString.call(t)}function K(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function X(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function G(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=K(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:G(X(t))}function $(t){return t&&t.referenceNode?t.referenceNode:t}var J=U&&!(!window.MSInputMethodContext||!document.documentMode),Z=U&&/MSIE 10/.test(navigator.userAgent);function tt(t){return 11===t?J:10===t?Z:J||Z}function et(t){if(!t)return document.documentElement;for(var e=tt(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===K(n,"position")?et(n):n:t?t.ownerDocument.documentElement:document.documentElement}function nt(t){return null!==t.parentNode?nt(t.parentNode):t}function it(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&et(a.firstElementChild)!==a?et(l):l;var u=nt(t);return u.host?it(u.host,e):it(t,nt(e).host)}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function rt(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=ot(e,"top"),o=ot(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function at(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function st(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],tt(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function lt(t){var e=t.body,n=t.documentElement,i=tt(10)&&getComputedStyle(n);return{height:st("Height",e,n,i),width:st("Width",e,n,i)}}var ut=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},ft=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=tt(10),o="HTML"===e.nodeName,r=pt(t),a=pt(e),s=G(t),l=K(e),u=parseFloat(l.borderTopWidth),f=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=ht({top:r.top-a.top-u,left:r.left-a.left-f,width:r.width,height:r.height});if(d.marginTop=0,d.marginLeft=0,!i&&o){var c=parseFloat(l.marginTop),h=parseFloat(l.marginLeft);d.top-=u-c,d.bottom-=u-c,d.left-=f-h,d.right-=f-h,d.marginTop=c,d.marginLeft=h}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=rt(d,e)),d}function gt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=mt(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:ot(n),s=e?0:ot(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r};return ht(l)}function _t(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===K(t,"position"))return!0;var n=X(t);return!!n&&_t(n)}function vt(t){if(!t||!t.parentElement||tt())return document.documentElement;for(var e=t.parentElement;e&&"none"===K(e,"transform");)e=e.parentElement;return e||document.documentElement}function bt(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?vt(t):it(t,$(e));if("viewport"===i)r=gt(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=G(X(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var l=mt(s,a,o);if("HTML"!==s.nodeName||_t(a))r=l;else{var u=lt(t.ownerDocument),f=u.height,d=u.width;r.top+=l.top-l.marginTop,r.bottom=f+l.top,r.left+=l.left-l.marginLeft,r.right=d+l.left}}var c="number"==typeof(n=n||0);return r.left+=c?n:n.left||0,r.top+=c?n:n.top||0,r.right-=c?n:n.right||0,r.bottom-=c?n:n.bottom||0,r}function yt(t){return t.width*t.height}function Et(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=bt(n,i,r,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return ct({key:t},s[t],{area:yt(s[t])})})).sort((function(t,e){return e.area-t.area})),u=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),f=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return f+(d?"-"+d:"")}function wt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?vt(e):it(e,$(n));return mt(n,o,i)}function Tt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function Ct(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function St(t,e,n){n=n.split("-")[0];var i=Tt(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return o[a]=e[a]+e[l]/2-i[l]/2,o[s]=n===s?e[s]-i[u]:e[Ct(s)],o}function Nt(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Dt(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t.name===n}));var i=Nt(t,(function(t){return t.name===n}));return t.indexOf(i)}(t,0,n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&z(n)&&(e.offsets.popper=ht(e.offsets.popper),e.offsets.reference=ht(e.offsets.reference),e=n(e,t))})),e}function At(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=wt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=Et(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=St(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Dt(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function kt(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function It(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=Qt.indexOf(t),i=Qt.slice(n+1).concat(Qt.slice(0,n));return e?i.reverse():i}var Ut={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",f={start:dt({},l,r[l]),end:dt({},l,r[l]+r[u]-a[u])};t.offsets.popper=ct({},a,f[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n,i=e.offset,o=t.placement,r=t.offsets,a=r.popper,s=r.reference,l=o.split("-")[0];return n=Rt(+i)?[+i,0]:function(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(Nt(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map((function(t,i){var o=(1===i?!r:r)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];return r?0===a.indexOf("%")?ht("%p"===a?n:i)[e]/100*r:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r:t}(t,o,e,n)}))})),u.forEach((function(t,e){t.forEach((function(n,i){Rt(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}(i,a,s,l),"left"===l?(a.top+=n[0],a.left-=n[1]):"right"===l?(a.top+=n[0],a.left+=n[1]):"top"===l?(a.left+=n[0],a.top-=n[1]):"bottom"===l&&(a.left+=n[0],a.top+=n[1]),t.popper=a,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||et(t.instance.popper);t.instance.reference===n&&(n=et(n));var i=It("transform"),o=t.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=bt(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=a,o[i]=s,e.boundaries=l;var u=e.priority,f=t.offsets.popper,d={primary:function(t){var n=f[t];return f[t]l[t]&&!e.escapeWithReference&&(i=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),dt({},n,i)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=ct({},f,d[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]r(i[s])&&(t.offsets.popper[l]=r(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Mt(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),u=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),c=l?"left":"top",h=l?"bottom":"right",p=Tt(i)[u];s[h]-pa[h]&&(t.offsets.popper[d]+=s[d]+p-a[h]),t.offsets.popper=ht(t.offsets.popper);var m=s[d]+s[u]/2-p/2,g=K(t.instance.popper),_=parseFloat(g["margin"+f]),v=parseFloat(g["border"+f+"Width"]),b=m-t.offsets.popper[d]-_-v;return b=Math.max(Math.min(a[u]-p,b),0),t.arrowElement=i,t.offsets.arrow=(dt(n={},d,Math.round(b)),dt(n,c,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(kt(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=bt(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=Ct(i),r=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case"flip":a=[i,o];break;case"clockwise":a=Wt(i);break;case"counterclockwise":a=Wt(i,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],o=Ct(i);var u=t.offsets.popper,f=t.offsets.reference,d=Math.floor,c="left"===i&&d(u.right)>d(f.left)||"right"===i&&d(u.left)d(f.top)||"bottom"===i&&d(u.top)d(n.right),m=d(u.top)d(n.bottom),_="left"===i&&h||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,v=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(v&&"start"===r&&h||v&&"end"===r&&p||!v&&"start"===r&&m||!v&&"end"===r&&g),y=!!e.flipVariationsByContent&&(v&&"start"===r&&p||v&&"end"===r&&h||!v&&"start"===r&&g||!v&&"end"===r&&m),E=b||y;(c||_||E)&&(t.flipped=!0,(c||_)&&(i=a[l+1]),E&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=ct({},t.offsets.popper,St(t.instance.popper,t.offsets.reference,t.placement)),t=Dt(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),t.placement=Ct(e),t.offsets.popper=ht(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Mt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=Nt(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};ut(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Y(this.update.bind(this)),this.options=ct({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(ct({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=ct({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return ct({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&z(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return ft(t,[{key:"update",value:function(){return At.call(this)}},{key:"destroy",value:function(){return Ot.call(this)}},{key:"enableEventListeners",value:function(){return Pt.call(this)}},{key:"disableEventListeners",value:function(){return Ft.call(this)}}]),t}();Vt.Utils=("undefined"!=typeof window?window:global).PopperUtils,Vt.placements=qt,Vt.Defaults=Ut;var Yt=Vt,zt="dropdown",Kt="bs.dropdown",Xt=i.default.fn[zt],Gt=new RegExp("38|40|27"),$t="disabled",Jt="show",Zt="dropdown-menu-right",te="hide.bs.dropdown",ee="hidden.bs.dropdown",ne="click.bs.dropdown.data-api",ie="keydown.bs.dropdown.data-api",oe='[data-toggle="dropdown"]',re=".dropdown-menu",ae={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},se={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},le=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!i.default(this._element).hasClass($t)){var e=i.default(this._menu).hasClass(Jt);t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||i.default(this._element).hasClass($t)||i.default(this._menu).hasClass(Jt))){var n={relatedTarget:this._element},o=i.default.Event("show.bs.dropdown",n),r=t._getParentFromElement(this._element);if(i.default(r).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&e){if("undefined"==typeof Yt)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var a=this._element;"parent"===this._config.reference?a=r:u.isElement(this._config.reference)&&(a=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&i.default(r).addClass("position-static"),this._popper=new Yt(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===i.default(r).closest(".navbar-nav").length&&i.default(document.body).children().on("mouseover",null,i.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),i.default(this._menu).toggleClass(Jt),i.default(r).toggleClass(Jt).trigger(i.default.Event("shown.bs.dropdown",n))}}},e.hide=function(){if(!this._element.disabled&&!i.default(this._element).hasClass($t)&&i.default(this._menu).hasClass(Jt)){var e={relatedTarget:this._element},n=i.default.Event(te,e),o=t._getParentFromElement(this._element);i.default(o).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),i.default(this._menu).toggleClass(Jt),i.default(o).toggleClass(Jt).trigger(i.default.Event(ee,e)))}},e.dispose=function(){i.default.removeData(this._element,Kt),i.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;i.default(this._element).on("click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=a({},this.constructor.Default,i.default(this._element).data(),t),u.typeCheckConfig(zt,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(re))}return this._menu},e._getPlacement=function(){var t=i.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=i.default(this._menu).hasClass(Zt)?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":i.default(this._menu).hasClass(Zt)&&(e="bottom-end"),e},e._detectNavbar=function(){return i.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets,t._element)),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),a({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data(Kt);if(n||(n=new t(this,"object"==typeof e?e:null),i.default(this).data(Kt,n)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=[].slice.call(document.querySelectorAll(oe)),o=0,r=n.length;o0&&a--,40===e.which&&adocument.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(pe);var o=u.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(u.TRANSITION_END),i.default(this._element).one(u.TRANSITION_END,(function(){t._element.classList.remove(pe),n||i.default(t._element).one(u.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,o)})).emulateTransitionEnd(o),this._element.focus()}},e._showElement=function(t){var e=this,n=i.default(this._element).hasClass(ce),o=this._dialog?this._dialog.querySelector(".modal-body"):null;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"),i.default(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,n&&u.reflow(this._element),i.default(this._element).addClass(he),this._config.focus&&this._enforceFocus();var r=i.default.Event("shown.bs.modal",{relatedTarget:t}),a=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,i.default(e._element).trigger(r)};if(n){var s=u.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(u.TRANSITION_END,a).emulateTransitionEnd(s)}else a()},e._enforceFocus=function(){var t=this;i.default(document).off(_e).on(_e,(function(e){document!==e.target&&t._element!==e.target&&0===i.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?i.default(this._element).on(ye,(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||i.default(this._element).off(ye)},e._setResizeEvent=function(){var t=this;this._isShown?i.default(window).on(ve,(function(e){return t.handleUpdate(e)})):i.default(window).off(ve)},e._hideModal=function(){var t=this;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(){i.default(document.body).removeClass(de),t._resetAdjustments(),t._resetScrollbar(),i.default(t._element).trigger(me)}))},e._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=i.default(this._element).hasClass(ce)?ce:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on(be,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),n&&u.reflow(this._backdrop),i.default(this._backdrop).addClass(he),!t)return;if(!n)return void t();var o=u.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(u.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass(he);var r=function(){e._removeBackdrop(),t&&t()};if(i.default(this._element).hasClass(ce)){var a=u.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(u.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
    ',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},We={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Ue={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Ve=function(){function t(t,e){if("undefined"==typeof Yt)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");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()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=i.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i.default(this.getTipElement()).hasClass(Fe))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.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},e.show=function(){var t=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(e);var n=u.findShadowRoot(this.element),o=i.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!o)return;var r=this.getTipElement(),a=u.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&i.default(r).addClass(Pe);var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,l=this._getAttachment(s);this.addAttachmentClass(l);var f=this._getContainer();i.default(r).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(r).appendTo(f),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Yt(this.element,r,this._getPopperConfig(l)),i.default(r).addClass(Fe),i.default(r).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var d=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,i.default(t.element).trigger(t.constructor.Event.SHOWN),e===Be&&t._leave(null,t)};if(i.default(this.tip).hasClass(Pe)){var c=u.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(u.TRANSITION_END,d).emulateTransitionEnd(c)}else d()}},e.hide=function(t){var e=this,n=this.getTipElement(),o=i.default.Event(this.constructor.Event.HIDE),r=function(){e._hoverState!==Re&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),i.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(i.default(this.element).trigger(o),!o.isDefaultPrevented()){if(i.default(n).removeClass(Fe),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,i.default(this.tip).hasClass(Pe)){var a=u.getTransitionDurationFromElement(n);i.default(n).one(u.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(i.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),i.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=ke(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?i.default(e).parent().is(t)||t.empty().append(e):t.text(i.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return a({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t.config.offset(e.offsets,t.element)),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:u.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},e._getAttachment=function(t){return qe[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)i.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var n=e===He?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=e===He?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;i.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Me:He]=!0),i.default(e.getTipElement()).hasClass(Fe)||e._hoverState===Re?e._hoverState=Re:(clearTimeout(e._timeout),e._hoverState=Re,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===Re&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Me:He]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=Be,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===Be&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=i.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Le.indexOf(t)&&delete e[t]})),"number"==typeof(t=a({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),u.typeCheckConfig(Ie,t,this.constructor.DefaultType),t.sanitize&&(t.template=ke(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(je);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(i.default(t).removeClass(Pe),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data(Oe),r="object"==typeof e&&e;if((o||!/dispose|hide/.test(e))&&(o||(o=new t(this,r),n.data(Oe,o)),"string"==typeof e)){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Qe}},{key:"NAME",get:function(){return Ie}},{key:"DATA_KEY",get:function(){return Oe}},{key:"Event",get:function(){return Ue}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return We}}]),t}();i.default.fn.tooltip=Ve._jQueryInterface,i.default.fn.tooltip.Constructor=Ve,i.default.fn.tooltip.noConflict=function(){return i.default.fn.tooltip=xe,Ve._jQueryInterface};var Ye="bs.popover",ze=i.default.fn.popover,Ke=new RegExp("(^|\\s)bs-popover\\S+","g"),Xe=a({},Ve.Default,{placement:"right",trigger:"click",content:"",template:''}),Ge=a({},Ve.DefaultType,{content:"(string|element|function)"}),$e={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Je=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,s(e,n);var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},a.setContent=function(){var t=i.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(Ke);null!==e&&e.length>0&&t.removeClass(e.join(""))},o._jQueryInterface=function(t){return this.each((function(){var e=i.default(this).data(Ye),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,n),i.default(this).data(Ye,e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},r(o,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"Default",get:function(){return Xe}},{key:"NAME",get:function(){return"popover"}},{key:"DATA_KEY",get:function(){return Ye}},{key:"Event",get:function(){return $e}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Ge}}]),o}(Ve);i.default.fn.popover=Je._jQueryInterface,i.default.fn.popover.Constructor=Je,i.default.fn.popover.noConflict=function(){return i.default.fn.popover=ze,Je._jQueryInterface};var Ze="scrollspy",tn="bs.scrollspy",en=i.default.fn[Ze],nn="active",on="position",rn=".nav, .list-group",an={offset:10,method:"auto",target:""},sn={offset:"number",method:"string",target:"(string|element)"},ln=function(){function t(t,e){var n=this;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,i.default(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":on,n="auto"===this._config.method?e:this._config.method,o=n===on?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,r=u.getSelectorFromElement(t);if(r&&(e=document.querySelector(r)),e){var a=e.getBoundingClientRect();if(a.width||a.height)return[i.default(e)[n]().top+o,r]}return null})).filter(Boolean).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){i.default.removeData(this._element,tn),i.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},e._getConfig=function(t){if("string"!=typeof(t=a({},an,"object"==typeof t&&t?t:{})).target&&u.isElement(t.target)){var e=i.default(t.target).attr("id");e||(e=u.getUID(Ze),i.default(t.target).attr("id",e)),t.target="#"+e}return u.typeCheckConfig(Ze,t,sn),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t li > .active",gn=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&i.default(this._element).hasClass(dn)||i.default(this._element).hasClass("disabled")||this._element.hasAttribute("disabled"))){var e,n,o=i.default(this._element).closest(".nav, .list-group")[0],r=u.getSelectorFromElement(this._element);if(o){var a="UL"===o.nodeName||"OL"===o.nodeName?mn:pn;n=(n=i.default.makeArray(i.default(o).find(a)))[n.length-1]}var s=i.default.Event("hide.bs.tab",{relatedTarget:this._element}),l=i.default.Event("show.bs.tab",{relatedTarget:n});if(n&&i.default(n).trigger(s),i.default(this._element).trigger(l),!l.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,o);var f=function(){var e=i.default.Event("hidden.bs.tab",{relatedTarget:t._element}),o=i.default.Event("shown.bs.tab",{relatedTarget:n});i.default(n).trigger(e),i.default(t._element).trigger(o)};e?this._activate(e,e.parentNode,f):f()}}},e.dispose=function(){i.default.removeData(this._element,un),this._element=null},e._activate=function(t,e,n){var o=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?i.default(e).children(pn):i.default(e).find(mn))[0],a=n&&r&&i.default(r).hasClass(cn),s=function(){return o._transitionComplete(t,r,n)};if(r&&a){var l=u.getTransitionDurationFromElement(r);i.default(r).removeClass(hn).one(u.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},e._transitionComplete=function(t,e,n){if(e){i.default(e).removeClass(dn);var o=i.default(e.parentNode).find("> .dropdown-menu .active")[0];o&&i.default(o).removeClass(dn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}i.default(t).addClass(dn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),u.reflow(t),t.classList.contains(cn)&&t.classList.add(hn);var r=t.parentNode;if(r&&"LI"===r.nodeName&&(r=r.parentNode),r&&i.default(r).hasClass("dropdown-menu")){var a=i.default(t).closest(".dropdown")[0];if(a){var s=[].slice.call(a.querySelectorAll(".dropdown-toggle"));i.default(s).addClass(dn)}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data(un);if(o||(o=new t(this),n.data(un,o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.6.2"}}]),t}();i.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),gn._jQueryInterface.call(i.default(this),"show")})),i.default.fn.tab=gn._jQueryInterface,i.default.fn.tab.Constructor=gn,i.default.fn.tab.noConflict=function(){return i.default.fn.tab=fn,gn._jQueryInterface};var _n="bs.toast",vn=i.default.fn.toast,bn="hide",yn="show",En="showing",wn="click.dismiss.bs.toast",Tn={animation:!0,autohide:!0,delay:500},Cn={animation:"boolean",autohide:"boolean",delay:"number"},Sn=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=i.default.Event("show.bs.toast");if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){t._element.classList.remove(En),t._element.classList.add(yn),i.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(bn),u.reflow(this._element),this._element.classList.add(En),this._config.animation){var o=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,n).emulateTransitionEnd(o)}else n()}},e.hide=function(){if(this._element.classList.contains(yn)){var t=i.default.Event("hide.bs.toast");i.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains(yn)&&this._element.classList.remove(yn),i.default(this._element).off(wn),i.default.removeData(this._element,_n),this._element=null,this._config=null},e._getConfig=function(t){return t=a({},Tn,i.default(this._element).data(),"object"==typeof t&&t?t:{}),u.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;i.default(this._element).on(wn,'[data-dismiss="toast"]',(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add(bn),i.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove(yn),this._config.animation){var n=u.getTransitionDurationFromElement(this._element);i.default(this._element).one(u.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data(_n);if(o||(o=new t(this,"object"==typeof e&&e),n.data(_n,o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e](this)}}))},r(t,null,[{key:"VERSION",get:function(){return"4.6.2"}},{key:"DefaultType",get:function(){return Cn}},{key:"Default",get:function(){return Tn}}]),t}();i.default.fn.toast=Sn._jQueryInterface,i.default.fn.toast.Constructor=Sn,i.default.fn.toast.noConflict=function(){return i.default.fn.toast=vn,Sn._jQueryInterface},t.Alert=c,t.Button=b,t.Carousel=O,t.Collapse=W,t.Dropdown=le,t.Modal=Se,t.Popover=Je,t.Scrollspy=ln,t.Tab=gn,t.Toast=Sn,t.Tooltip=Ve,t.Util=u,Object.defineProperty(t,"__esModule",{value:!0})})); +//# sourceMappingURL=bootstrap.bundle.min.js.map \ No newline at end of file diff --git a/assets/js/mdb.min.js b/assets/js/mdb.min.js index 92554c01faa3..18f7dfb038ea 100644 --- a/assets/js/mdb.min.js +++ b/assets/js/mdb.min.js @@ -1,7874 +1,20 @@ /*! * MDB5 * Version: FREE 6.4.0 - * - * + * + * * Copyright: Material Design for Bootstrap * https://mdbootstrap.com/ - * + * * Read the license: https://mdbootstrap.com/general/license/ - * - * + * + * * Documentation: https://mdbootstrap.com/docs/standard/ - * + * * Support: https://mdbootstrap.com/support/ - * + * * Contact: contact@mdbootstrap.com - * + * */ -!(function (t, e) { - "object" == typeof exports && "object" == typeof module - ? (module.exports = e()) - : "function" == typeof define && define.amd - ? define("mdb", [], e) - : "object" == typeof exports - ? (exports.mdb = e()) - : (t.mdb = e()); -})(this, function () { - return ( - (n = [ - function (t, e, n) { - "use strict"; - var i = n(16), - o = n(68), - r = n(44), - s = n(25), - a = n(11).f, - c = n(110), - l = n(113), - u = n(24), - n = n(8), - h = "Array Iterator", - d = s.set, - f = s.getterFor(h), - s = - ((t.exports = c( - Array, - "Array", - function (t, e) { - d(this, { - type: h, - target: i(t), - index: 0, - kind: e, - }); - }, - function () { - var t = f(this), - e = t.target, - n = t.kind, - i = t.index++; - return !e || i >= e.length ? ((t.target = void 0), l(void 0, !0)) : l("keys" == n ? i : "values" == n ? e[i] : [i, e[i]], !1); - }, - "values" - )), - (r.Arguments = r.Array)); - if ((o("keys"), o("values"), o("entries"), !u && n && "values" !== s.name)) - try { - a(s, "name", { value: "values" }); - } catch (t) {} - }, - function (t, e, n) { - function i(e, t) { - if (e) { - if (e[u] !== d) - try { - l(e, u, d); - } catch (t) { - e[u] = d; - } - if ((e[h] || l(e, h, t), s[t])) - for (var n in c) - if (e[n] !== c[n]) - try { - l(e, n, c[n]); - } catch (t) { - e[n] = c[n]; - } - } - } - var o, - r = n(6), - s = n(114), - a = n(115), - c = n(0), - l = n(15), - n = n(7), - u = n("iterator"), - h = n("toStringTag"), - d = c.values; - for (o in s) i(r[o] && r[o].prototype, o); - i(a, "DOMTokenList"); - }, - function (t, e) { - t.exports = function (t) { - try { - return !!t(); - } catch (t) { - return !0; - } - }; - }, - function (t, e, n) { - var n = n(47), - i = n.all; - t.exports = n.IS_HTMLDDA - ? function (t) { - return "function" == typeof t || t === i; - } - : function (t) { - return "function" == typeof t; - }; - }, - function (t, e, n) { - var n = n(30), - i = Function.prototype, - o = i.call, - i = n && i.bind.bind(o, o); - t.exports = n - ? i - : function (t) { - return function () { - return o.apply(t, arguments); - }; - }; - }, - function (t, e, n) { - "use strict"; - var i = n(22), - n = n(43); - i({ target: "RegExp", proto: !0, forced: /./.exec !== n }, { exec: n }); - }, - function (n, t, e) { - !function (t) { - function e(t) { - return t && t.Math == Math && t; - } - n.exports = - e("object" == typeof globalThis && globalThis) || - e("object" == typeof window && window) || - e("object" == typeof self && self) || - e("object" == typeof t && t) || - (function () { - return this; - })() || - this || - Function("return this")(); - }.call(this, e(72)); - }, - function (t, e, n) { - var i = n(6), - o = n(34), - r = n(9), - s = n(53), - a = n(50), - n = n(49), - c = i.Symbol, - l = o("wks"), - u = n ? c.for || c : (c && c.withoutSetter) || s; - t.exports = function (t) { - return r(l, t) || (l[t] = a && r(c, t) ? c[t] : u("Symbol." + t)), l[t]; - }; - }, - function (t, e, n) { - n = n(2); - t.exports = !n(function () { - return ( - 7 != - Object.defineProperty({}, 1, { - get: function () { - return 7; - }, - })[1] - ); - }); - }, - function (t, e, n) { - var i = n(4), - o = n(37), - r = i({}.hasOwnProperty); - t.exports = - Object.hasOwn || - function (t, e) { - return r(o(t), e); - }; - }, - function (t, e, n) { - "use strict"; - var i = n(22), - o = n(59).includes, - r = n(2), - n = n(68); - i( - { - target: "Array", - proto: !0, - forced: r(function () { - return !Array(1).includes(); - }), - }, - { - includes: function (t) { - return o(this, t, 1 < arguments.length ? arguments[1] : void 0); - }, - } - ), - n("includes"); - }, - function (t, e, n) { - var i = n(8), - o = n(54), - r = n(55), - s = n(14), - a = n(46), - c = TypeError, - l = Object.defineProperty, - u = Object.getOwnPropertyDescriptor, - h = "enumerable", - d = "configurable", - f = "writable"; - e.f = i - ? r - ? function (t, e, n) { - var i; - return ( - s(t), - (e = a(e)), - s(n), - "function" == typeof t && - "prototype" === e && - "value" in n && - f in n && - !n[f] && - (i = u(t, e)) && - i[f] && - ((t[e] = n.value), - (n = { - configurable: (d in n ? n : i)[d], - enumerable: (h in n ? n : i)[h], - writable: !1, - })), - l(t, e, n) - ); - } - : l - : function (t, e, n) { - if ((s(t), (e = a(e)), s(n), o)) - try { - return l(t, e, n); - } catch (t) {} - if ("get" in n || "set" in n) throw c("Accessors not supported"); - return "value" in n && (t[e] = n.value), t; - }; - }, - function (t, e, n) { - var n = n(30), - i = Function.prototype.call; - t.exports = n - ? i.bind(i) - : function () { - return i.apply(i, arguments); - }; - }, - function (t, e, n) { - var i = n(3), - n = n(47), - o = n.all; - t.exports = n.IS_HTMLDDA - ? function (t) { - return "object" == typeof t ? null !== t : i(t) || t === o; - } - : function (t) { - return "object" == typeof t ? null !== t : i(t); - }; - }, - function (t, e, n) { - var i = n(13), - o = String, - r = TypeError; - t.exports = function (t) { - if (i(t)) return t; - throw r(o(t) + " is not an object"); - }; - }, - function (t, e, n) { - var i = n(8), - o = n(11), - r = n(31); - t.exports = i - ? function (t, e, n) { - return o.f(t, e, r(1, n)); - } - : function (t, e, n) { - return (t[e] = n), t; - }; - }, - function (t, e, n) { - var i = n(74), - o = n(18); - t.exports = function (t) { - return i(o(t)); - }; - }, - function (t, e, n) { - var n = n(4), - i = n({}.toString), - o = n("".slice); - t.exports = function (t) { - return o(i(t), 8, -1); - }; - }, - function (t, e, n) { - var i = n(32), - o = TypeError; - t.exports = function (t) { - if (i(t)) throw o("Can't call method on " + t); - return t; - }; - }, - function (t, e, n) { - var s = n(3), - a = n(11), - c = n(56), - l = n(36); - t.exports = function (t, e, n, i) { - var o = (i = i || {}).enumerable, - r = void 0 !== i.name ? i.name : e; - if ((s(n) && c(n, r, i), i.global)) o ? (t[e] = n) : l(e, n); - else { - try { - i.unsafe ? t[e] && (o = !0) : delete t[e]; - } catch (t) {} - o - ? (t[e] = n) - : a.f(t, e, { - value: n, - enumerable: !1, - configurable: !i.nonConfigurable, - writable: !i.nonWritable, - }); - } - return t; - }; - }, - function (t, e, n) { - var i = n(88), - o = String; - t.exports = function (t) { - if ("Symbol" === i(t)) throw TypeError("Cannot convert a Symbol value to a string"); - return o(t); - }; - }, - function (t, e, n) { - "use strict"; - var E = n(103), - o = n(12), - i = n(4), - r = n(104), - s = n(2), - x = n(14), - C = n(3), - a = n(32), - A = n(26), - T = n(60), - O = n(20), - c = n(18), - L = n(106), - l = n(51), - S = n(108), - I = n(109), - u = n(7)("replace"), - k = Math.max, - D = Math.min, - j = i([].concat), - M = i([].push), - P = i("".indexOf), - N = i("".slice), - n = "$0" === "a".replace(/./, "$0"), - h = !!/./[u] && "" === /./[u]("a", "$0"); - r( - "replace", - function (t, b, y) { - var w = h ? "$" : "$0"; - return [ - function (t, e) { - var n = c(this), - i = a(t) ? void 0 : l(t, u); - return i ? o(i, t, n, e) : o(b, O(n), t, e); - }, - function (t, e) { - var n = x(this), - i = O(t); - if ("string" == typeof e && -1 === P(e, w) && -1 === P(e, "$<")) { - t = y(b, n, i, e); - if (t.done) return t.value; - } - for ( - var o, r = C(e), s = (r || (e = O(e)), n.global), a = (s && ((o = n.unicode), (n.lastIndex = 0)), []); - null !== (d = I(n, i)) && (M(a, d), s); - - ) - "" === O(d[0]) && (n.lastIndex = L(i, T(n.lastIndex), o)); - for (var c, l = "", u = 0, h = 0; h < a.length; h++) { - for (var d, f = O((d = a[h])[0]), p = k(D(A(d.index), i.length), 0), g = [], m = 1; m < d.length; m++) - M(g, void 0 === (c = d[m]) ? c : String(c)); - var _ = d.groups, - v = r ? ((v = j([f], g, p, i)), void 0 !== _ && M(v, _), O(E(e, void 0, v))) : S(f, i, p, g, _, e); - u <= p && ((l += N(i, u, p) + v), (u = p + f.length)); - } - return l + N(i, u); - }, - ]; - }, - !!s(function () { - var t = /./; - return ( - (t.exec = function () { - var t = []; - return (t.groups = { a: "7" }), t; - }), - "7" !== "".replace(t, "$") - ); - }) || - !n || - h - ); - }, - function (t, e, n) { - var l = n(6), - u = n(45).f, - h = n(15), - d = n(19), - f = n(36), - p = n(82), - g = n(61); - t.exports = function (t, e) { - var n, - i, - o, - r = t.target, - s = t.global, - a = t.stat, - c = s ? l : a ? l[r] || f(r, {}) : (l[r] || {}).prototype; - if (c) - for (n in e) { - if ( - ((i = e[n]), (o = t.dontCallGetSet ? (o = u(c, n)) && o.value : c[n]), !g(s ? n : r + (a ? "." : "#") + n, t.forced) && void 0 !== o) - ) { - if (typeof i == typeof o) continue; - p(i, o); - } - (t.sham || (o && o.sham)) && h(i, "sham", !0), d(c, n, i, t); - } - }; - }, - function (t, e, n) { - var i = n(6), - o = n(3); - t.exports = function (t, e) { - return arguments.length < 2 ? ((n = i[t]), o(n) ? n : void 0) : i[t] && i[t][e]; - var n; - }; - }, - function (t, e) { - t.exports = !1; - }, - function (t, e, n) { - var i, - o, - r, - s, - a = n(81), - c = n(6), - l = n(13), - u = n(15), - h = n(9), - d = n(35), - f = n(40), - n = n(41), - p = "Object already initialized", - g = c.TypeError, - c = c.WeakMap, - m = - a || d.state - ? (((r = d.state || (d.state = new c())).get = r.get), - (r.has = r.has), - (r.set = r.set), - (i = function (t, e) { - if (r.has(t)) throw g(p); - return (e.facade = t), r.set(t, e), e; - }), - (o = function (t) { - return r.get(t) || {}; - }), - function (t) { - return r.has(t); - }) - : ((n[(s = f("state"))] = !0), - (i = function (t, e) { - if (h(t, s)) throw g(p); - return (e.facade = t), u(t, s, e), e; - }), - (o = function (t) { - return h(t, s) ? t[s] : {}; - }), - function (t) { - return h(t, s); - }); - t.exports = { - set: i, - get: o, - has: m, - enforce: function (t) { - return m(t) ? o(t) : i(t, {}); - }, - getterFor: function (e) { - return function (t) { - if (l(t) && (t = o(t)).type === e) return t; - throw g("Incompatible receiver, " + e + " required"); - }; - }, - }; - }, - function (t, e, n) { - var i = n(85); - t.exports = function (t) { - t = +t; - return t != t || 0 == t ? 0 : i(t); - }; - }, - function (t, e, n) { - function i() {} - function o(t) { - t.write(g("")), t.close(); - var e = t.parentWindow.Object; - return (t = null), e; - } - var r, - s = n(14), - a = n(90), - c = n(42), - l = n(41), - u = n(92), - h = n(38), - n = n(40), - d = "prototype", - f = "script", - p = n("IE_PROTO"), - g = function (t) { - return "<" + f + ">" + t + ""; - }, - m = function () { - try { - r = new ActiveXObject("htmlfile"); - } catch (t) {} - m = - "undefined" == typeof document || (document.domain && r) - ? o(r) - : ((t = h("iframe")), - (e = "java" + f + ":"), - (t.style.display = "none"), - u.appendChild(t), - (t.src = String(e)), - (e = t.contentWindow.document).open(), - e.write(g("document.F=Object")), - e.close(), - e.F); - for (var t, e, n = c.length; n--; ) delete m[d][c[n]]; - return m(); - }; - (l[p] = !0), - (t.exports = - Object.create || - function (t, e) { - var n; - return null !== t ? ((i[d] = s(t)), (n = new i()), (i[d] = null), (n[p] = t)) : (n = m()), void 0 === e ? n : a.f(n, e); - }); - }, - function (t, e, n) { - "use strict"; - var i = n(22), - o = n(93).trim; - i( - { target: "String", proto: !0, forced: n(94)("trim") }, - { - trim: function () { - return o(this); - }, - } - ); - }, - function (N, R, t) { - var e = t(8), - n = t(6), - i = t(4), - o = t(61), - l = t(95), - u = t(15), - r = t(57).f, - h = t(33), - d = t(98), - f = t(20), - p = t(99), - s = t(63), - a = t(100), - c = t(19), - g = t(2), - m = t(9), - _ = t(25).enforce, - v = t(101), - b = t(7), - y = t(64), - w = t(65), - E = b("match"), - x = n.RegExp, - C = x.prototype, - A = n.SyntaxError, - T = i(C.exec), - O = i("".charAt), - L = i("".replace), - S = i("".indexOf), - H = i("".slice), - B = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/, - I = /a/g, - k = /a/g, - t = new x(I) !== I, - D = s.MISSED_STICKY, - W = s.UNSUPPORTED_Y, - b = - e && - (!t || - D || - y || - w || - g(function () { - return (k[E] = !1), x(I) != I || x(k) == k || "/a/i" != x(I, "i"); - })); - if (o("RegExp", b)) { - function j(t, e) { - var n, - i, - o = h(C, this), - r = d(t), - s = void 0 === e, - a = [], - c = t; - if (!o && r && s && t.constructor === j) return t; - if ( - ((r || h(C, t)) && ((t = t.source), s) && (e = p(c)), - (t = void 0 === t ? "" : f(t)), - (e = void 0 === e ? "" : f(e)), - (c = t), - (r = e = y && "dotAll" in I && (n = !!e && -1 < S(e, "s")) ? L(e, /s/g, "") : e), - D && "sticky" in I && (i = !!e && -1 < S(e, "y")) && W && (e = L(e, /y/g, "")), - w && - ((t = (s = (function (t) { - for (var e, n = t.length, i = 0, o = "", r = [], s = {}, a = !1, c = !1, l = 0, u = ""; i <= n; i++) { - if ("\\" === (e = O(t, i))) e += O(t, ++i); - else if ("]" === e) a = !1; - else if (!a) - switch (!0) { - case "[" === e: - a = !0; - break; - case "(" === e: - T(B, H(t, i + 1)) && ((i += 2), (c = !0)), (o += e), l++; - continue; - case ">" === e && c: - if ("" === u || m(s, u)) throw new A("Invalid capture group name"); - (s[u] = !0), (c = !(r[r.length] = [u, l])), (u = ""); - continue; - } - c ? (u += e) : (o += e); - } - return [o, r]; - })(t))[0]), - (a = s[1])), - (s = l(x(t, e), o ? this : C, j)), - (n || i || a.length) && - ((e = _(s)), - n && - ((e.dotAll = !0), - (e.raw = j( - (function (t) { - for (var e, n = t.length, i = 0, o = "", r = !1; i <= n; i++) - "\\" === (e = O(t, i)) - ? (o += e + O(t, ++i)) - : r || "." !== e - ? ("[" === e ? (r = !0) : "]" === e && (r = !1), (o += e)) - : (o += "[\\s\\S]"); - return o; - })(t), - r - ))), - i && (e.sticky = !0), - a.length) && - (e.groups = a), - t !== c) - ) - try { - u(s, "source", "" === c ? "(?:)" : c); - } catch (t) {} - return s; - } - for (var M = r(x), P = 0; M.length > P; ) a(j, x, M[P++]); - ((C.constructor = j).prototype = C), c(n, "RegExp", j, { constructor: !0 }); - } - v("RegExp"); - }, - function (t, e, n) { - n = n(2); - t.exports = !n(function () { - var t = function () {}.bind(); - return "function" != typeof t || t.hasOwnProperty("prototype"); - }); - }, - function (t, e) { - t.exports = function (t, e) { - return { - enumerable: !(1 & t), - configurable: !(2 & t), - writable: !(4 & t), - value: e, - }; - }; - }, - function (t, e) { - t.exports = function (t) { - return null == t; - }; - }, - function (t, e, n) { - n = n(4); - t.exports = n({}.isPrototypeOf); - }, - function (t, e, n) { - var i = n(24), - o = n(35); - (t.exports = function (t, e) { - return o[t] || (o[t] = void 0 !== e ? e : {}); - })("versions", []).push({ - version: "3.30.2", - mode: i ? "pure" : "global", - copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)", - license: "https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE", - source: "https://github.com/zloirock/core-js", - }); - }, - function (t, e, n) { - var i = n(6), - n = n(36), - o = "__core-js_shared__", - i = i[o] || n(o, {}); - t.exports = i; - }, - function (t, e, n) { - var i = n(6), - o = Object.defineProperty; - t.exports = function (e, n) { - try { - o(i, e, { value: n, configurable: !0, writable: !0 }); - } catch (t) { - i[e] = n; - } - return n; - }; - }, - function (t, e, n) { - var i = n(18), - o = Object; - t.exports = function (t) { - return o(i(t)); - }; - }, - function (t, e, n) { - var i = n(6), - n = n(13), - o = i.document, - r = n(o) && n(o.createElement); - t.exports = function (t) { - return r ? o.createElement(t) : {}; - }; - }, - function (t, e, n) { - var i = n(8), - n = n(9), - o = Function.prototype, - r = i && Object.getOwnPropertyDescriptor, - n = n(o, "name"), - s = n && "something" === function () {}.name, - i = n && (!i || r(o, "name").configurable); - t.exports = { EXISTS: n, PROPER: s, CONFIGURABLE: i }; - }, - function (t, e, n) { - var i = n(34), - o = n(53), - r = i("keys"); - t.exports = function (t) { - return r[t] || (r[t] = o(t)); - }; - }, - function (t, e) { - t.exports = {}; - }, - function (t, e) { - t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"]; - }, - function (t, e, n) { - "use strict"; - var p = n(12), - i = n(4), - g = n(20), - m = n(62), - o = n(63), - r = n(34), - _ = n(27), - v = n(25).get, - s = n(64), - n = n(65), - b = r("native-string-replace", String.prototype.replace), - y = RegExp.prototype.exec, - w = y, - E = i("".charAt), - x = i("".indexOf), - C = i("".replace), - A = i("".slice), - T = ((r = /b*/g), p(y, (i = /a/), "a"), p(y, r, "a"), 0 !== i.lastIndex || 0 !== r.lastIndex), - O = o.BROKEN_CARET, - L = void 0 !== /()??/.exec("")[1]; - (T || L || O || s || n) && - (w = function (t) { - var e, - n, - i, - o, - r, - s, - a = this, - c = v(a), - t = g(t), - l = c.raw; - if (l) return (l.lastIndex = a.lastIndex), (h = p(w, l, t)), (a.lastIndex = l.lastIndex), h; - var u = c.groups, - l = O && a.sticky, - h = p(m, a), - c = a.source, - d = 0, - f = t; - if ( - (l && - ((h = C(h, "y", "")), - -1 === x(h, "g") && (h += "g"), - (f = A(t, a.lastIndex)), - 0 < a.lastIndex && (!a.multiline || (a.multiline && "\n" !== E(t, a.lastIndex - 1))) && ((c = "(?: " + c + ")"), (f = " " + f), d++), - (e = new RegExp("^(?:" + c + ")", h))), - L && (e = new RegExp("^" + c + "$(?!\\s)", h)), - T && (n = a.lastIndex), - (i = p(y, l ? e : a, f)), - l - ? i - ? ((i.input = A(i.input, d)), (i[0] = A(i[0], d)), (i.index = a.lastIndex), (a.lastIndex += i[0].length)) - : (a.lastIndex = 0) - : T && i && (a.lastIndex = a.global ? i.index + i[0].length : n), - L && - i && - 1 < i.length && - p(b, i[0], e, function () { - for (o = 1; o < arguments.length - 2; o++) void 0 === arguments[o] && (i[o] = void 0); - }), - i && u) - ) - for (i.groups = r = _(null), o = 0; o < u.length; o++) r[(s = u[o])[0]] = i[s[1]]; - return i; - }), - (t.exports = w); - }, - function (t, e) { - t.exports = {}; - }, - function (t, e, n) { - var i = n(8), - o = n(12), - r = n(73), - s = n(31), - a = n(16), - c = n(46), - l = n(9), - u = n(54), - h = Object.getOwnPropertyDescriptor; - e.f = i - ? h - : function (t, e) { - if (((t = a(t)), (e = c(e)), u)) - try { - return h(t, e); - } catch (t) {} - if (l(t, e)) return s(!o(r.f, t, e), t[e]); - }; - }, - function (t, e, n) { - var i = n(75), - o = n(48); - t.exports = function (t) { - t = i(t, "string"); - return o(t) ? t : t + ""; - }; - }, - function (t, e) { - var n = "object" == typeof document && document.all; - t.exports = { - all: n, - IS_HTMLDDA: void 0 === n && void 0 !== n, - }; - }, - function (t, e, n) { - var i = n(23), - o = n(3), - r = n(33), - n = n(49), - s = Object; - t.exports = n - ? function (t) { - return "symbol" == typeof t; - } - : function (t) { - var e = i("Symbol"); - return o(e) && r(e.prototype, s(t)); - }; - }, - function (t, e, n) { - n = n(50); - t.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator; - }, - function (t, e, n) { - var i = n(76), - o = n(2), - r = n(6).String; - t.exports = - !!Object.getOwnPropertySymbols && - !o(function () { - var t = Symbol(); - return !r(t) || !(Object(t) instanceof Symbol) || (!Symbol.sham && i && i < 41); - }); - }, - function (t, e, n) { - var i = n(52), - o = n(32); - t.exports = function (t, e) { - t = t[e]; - return o(t) ? void 0 : i(t); - }; - }, - function (t, e, n) { - var i = n(3), - o = n(78), - r = TypeError; - t.exports = function (t) { - if (i(t)) return t; - throw r(o(t) + " is not a function"); - }; - }, - function (t, e, n) { - var n = n(4), - i = 0, - o = Math.random(), - r = n((1).toString); - t.exports = function (t) { - return "Symbol(" + (void 0 === t ? "" : t) + ")_" + r(++i + o, 36); - }; - }, - function (t, e, n) { - var i = n(8), - o = n(2), - r = n(38); - t.exports = - !i && - !o(function () { - return ( - 7 != - Object.defineProperty(r("div"), "a", { - get: function () { - return 7; - }, - }).a - ); - }); - }, - function (t, e, n) { - var i = n(8), - n = n(2); - t.exports = - i && - n(function () { - return ( - 42 != - Object.defineProperty(function () {}, "prototype", { - value: 42, - writable: !1, - }).prototype - ); - }); - }, - function (t, e, n) { - var i = n(4), - o = n(2), - r = n(3), - s = n(9), - a = n(8), - c = n(39).CONFIGURABLE, - l = n(80), - n = n(25), - u = n.enforce, - h = n.get, - d = String, - f = Object.defineProperty, - p = i("".slice), - g = i("".replace), - m = i([].join), - _ = - a && - !o(function () { - return 8 !== f(function () {}, "length", { value: 8 }).length; - }), - v = String(String).split("String"), - n = (t.exports = function (t, e, n) { - "Symbol(" === p(d(e), 0, 7) && (e = "[" + g(d(e), /^Symbol\(([^)]*)\)/, "$1") + "]"), - n && n.getter && (e = "get " + e), - n && n.setter && (e = "set " + e), - (!s(t, "name") || (c && t.name !== e)) && - (a - ? f(t, "name", { - value: e, - configurable: !0, - }) - : (t.name = e)), - _ && n && s(n, "arity") && t.length !== n.arity && f(t, "length", { value: n.arity }); - try { - n && s(n, "constructor") && n.constructor ? a && f(t, "prototype", { writable: !1 }) : t.prototype && (t.prototype = void 0); - } catch (t) {} - n = u(t); - return s(n, "source") || (n.source = m(v, "string" == typeof e ? e : "")), t; - }); - Function.prototype.toString = n(function () { - return (r(this) && h(this).source) || l(this); - }, "toString"); - }, - function (t, e, n) { - var i = n(58), - o = n(42).concat("length", "prototype"); - e.f = - Object.getOwnPropertyNames || - function (t) { - return i(t, o); - }; - }, - function (t, e, n) { - var i = n(4), - s = n(9), - a = n(16), - c = n(59).indexOf, - l = n(41), - u = i([].push); - t.exports = function (t, e) { - var n, - i = a(t), - o = 0, - r = []; - for (n in i) !s(l, n) && s(i, n) && u(r, n); - for (; e.length > o; ) !s(i, (n = e[o++])) || ~c(r, n) || u(r, n); - return r; - }; - }, - function (t, e, n) { - function i(a) { - return function (t, e, n) { - var i, - o = c(t), - r = u(o), - s = l(n, r); - if (a && e != e) { - for (; s < r; ) if ((i = o[s++]) != i) return !0; - } else for (; s < r; s++) if ((a || s in o) && o[s] === e) return a || s || 0; - return !a && -1; - }; - } - var c = n(16), - l = n(84), - u = n(86); - t.exports = { includes: i(!0), indexOf: i(!1) }; - }, - function (t, e, n) { - var i = n(26), - o = Math.min; - t.exports = function (t) { - return 0 < t ? o(i(t), 9007199254740991) : 0; - }; - }, - function (t, e, n) { - function i(t, e) { - return (t = c[a(t)]) == u || (t != l && (r(e) ? o(e) : !!e)); - } - var o = n(2), - r = n(3), - s = /#|\.prototype\./, - a = (i.normalize = function (t) { - return String(t).replace(s, ".").toLowerCase(); - }), - c = (i.data = {}), - l = (i.NATIVE = "N"), - u = (i.POLYFILL = "P"); - t.exports = i; - }, - function (t, e, n) { - "use strict"; - var i = n(14); - t.exports = function () { - var t = i(this), - e = ""; - return ( - t.hasIndices && (e += "d"), - t.global && (e += "g"), - t.ignoreCase && (e += "i"), - t.multiline && (e += "m"), - t.dotAll && (e += "s"), - t.unicode && (e += "u"), - t.unicodeSets && (e += "v"), - t.sticky && (e += "y"), - e - ); - }; - }, - function (t, e, n) { - var i = n(2), - o = n(6).RegExp, - n = i(function () { - var t = o("a", "y"); - return (t.lastIndex = 2), null != t.exec("abcd"); - }), - r = - n || - i(function () { - return !o("a", "y").sticky; - }), - i = - n || - i(function () { - var t = o("^r", "gy"); - return (t.lastIndex = 2), null != t.exec("str"); - }); - t.exports = { - BROKEN_CARET: i, - MISSED_STICKY: r, - UNSUPPORTED_Y: n, - }; - }, - function (t, e, n) { - var i = n(2), - o = n(6).RegExp; - t.exports = i(function () { - var t = o(".", "s"); - return !(t.dotAll && t.exec("\n") && "s" === t.flags); - }); - }, - function (t, e, n) { - var i = n(2), - o = n(6).RegExp; - t.exports = i(function () { - var t = o("(?b)", "g"); - return "b" !== t.exec("b").groups.a || "bc" !== "b".replace(t, "$c"); - }); - }, - function (t, e) { - t.exports = "\t\n\v\f\r                 \u2028\u2029\ufeff"; - }, - function (t, e, n) { - var o = n(96), - r = n(14), - s = n(97); - t.exports = - Object.setPrototypeOf || - ("__proto__" in {} - ? (function () { - var n, - i = !1, - t = {}; - try { - (n = o(Object.prototype, "__proto__", "set"))(t, []), (i = t instanceof Array); - } catch (t) {} - return function (t, e) { - return r(t), s(e), i ? n(t, e) : (t.__proto__ = e), t; - }; - })() - : void 0); - }, - function (t, e, n) { - var i = n(7), - o = n(27), - n = n(11).f, - r = i("unscopables"), - s = Array.prototype; - null == s[r] && n(s, r, { configurable: !0, value: o(null) }), - (t.exports = function (t) { - s[r][t] = !0; - }); - }, - function (t, e, n) { - "use strict"; - var i, - o, - r = n(2), - s = n(3), - a = n(13), - c = n(27), - l = n(70), - u = n(19), - h = n(7), - n = n(24), - d = h("iterator"), - h = !1; - [].keys && ("next" in (o = [].keys()) ? (l = l(l(o))) !== Object.prototype && (i = l) : (h = !0)), - !a(i) || - r(function () { - var t = {}; - return i[d].call(t) !== t; - }) - ? (i = {}) - : n && (i = c(i)), - s(i[d]) || - u(i, d, function () { - return this; - }), - (t.exports = { - IteratorPrototype: i, - BUGGY_SAFARI_ITERATORS: h, - }); - }, - function (t, e, n) { - var i = n(9), - o = n(3), - r = n(37), - s = n(40), - n = n(112), - a = s("IE_PROTO"), - c = Object, - l = c.prototype; - t.exports = n - ? c.getPrototypeOf - : function (t) { - var e, - t = r(t); - return i(t, a) ? t[a] : ((e = t.constructor), o(e) && t instanceof e ? e.prototype : t instanceof c ? l : null); - }; - }, - function (t, e, n) { - var i = n(11).f, - o = n(9), - r = n(7)("toStringTag"); - t.exports = function (t, e, n) { - (t = t && !n ? t.prototype : t) && !o(t, r) && i(t, r, { configurable: !0, value: e }); - }; - }, - function (t, e) { - var n = (function () { - return this; - })(); - try { - n = n || new Function("return this")(); - } catch (t) { - "object" == typeof window && (n = window); - } - t.exports = n; - }, - function (t, e, n) { - "use strict"; - var i = {}.propertyIsEnumerable, - o = Object.getOwnPropertyDescriptor, - r = o && !i.call({ 1: 2 }, 1); - e.f = r - ? function (t) { - t = o(this, t); - return !!t && t.enumerable; - } - : i; - }, - function (t, e, n) { - var i = n(4), - o = n(2), - r = n(17), - s = Object, - a = i("".split); - t.exports = o(function () { - return !s("z").propertyIsEnumerable(0); - }) - ? function (t) { - return "String" == r(t) ? a(t, "") : s(t); - } - : s; - }, - function (t, e, n) { - var i = n(12), - o = n(13), - r = n(48), - s = n(51), - a = n(79), - n = n(7), - c = TypeError, - l = n("toPrimitive"); - t.exports = function (t, e) { - if (!o(t) || r(t)) return t; - var n = s(t, l); - if (n) { - if (((n = i(n, t, (e = void 0 === e ? "default" : e))), !o(n) || r(n))) return n; - throw c("Can't convert object to primitive value"); - } - return a(t, (e = void 0 === e ? "number" : e)); - }; - }, - function (t, e, n) { - var i, - o, - r = n(6), - n = n(77), - s = r.process, - r = r.Deno, - s = (s && s.versions) || (r && r.version), - r = s && s.v8; - !(o = r ? (0 < (i = r.split("."))[0] && i[0] < 4 ? 1 : +(i[0] + i[1])) : o) && - n && - (!(i = n.match(/Edge\/(\d+)/)) || 74 <= i[1]) && - (i = n.match(/Chrome\/(\d+)/)) && - (o = +i[1]), - (t.exports = o); - }, - function (t, e) { - t.exports = ("undefined" != typeof navigator && String(navigator.userAgent)) || ""; - }, - function (t, e) { - var n = String; - t.exports = function (t) { - try { - return n(t); - } catch (t) { - return "Object"; - } - }; - }, - function (t, e, n) { - var o = n(12), - r = n(3), - s = n(13), - a = TypeError; - t.exports = function (t, e) { - var n, i; - if ("string" === e && r((n = t.toString)) && !s((i = o(n, t)))) return i; - if (r((n = t.valueOf)) && !s((i = o(n, t)))) return i; - if ("string" !== e && r((n = t.toString)) && !s((i = o(n, t)))) return i; - throw a("Can't convert object to primitive value"); - }; - }, - function (t, e, n) { - var i = n(4), - o = n(3), - n = n(35), - r = i(Function.toString); - o(n.inspectSource) || - (n.inspectSource = function (t) { - return r(t); - }), - (t.exports = n.inspectSource); - }, - function (t, e, n) { - var i = n(6), - n = n(3), - i = i.WeakMap; - t.exports = n(i) && /native code/.test(String(i)); - }, - function (t, e, n) { - var c = n(9), - l = n(83), - u = n(45), - h = n(11); - t.exports = function (t, e, n) { - for (var i = l(e), o = h.f, r = u.f, s = 0; s < i.length; s++) { - var a = i[s]; - c(t, a) || (n && c(n, a)) || o(t, a, r(e, a)); - } - }; - }, - function (t, e, n) { - var i = n(23), - o = n(4), - r = n(57), - s = n(87), - a = n(14), - c = o([].concat); - t.exports = - i("Reflect", "ownKeys") || - function (t) { - var e = r.f(a(t)), - n = s.f; - return n ? c(e, n(t)) : e; - }; - }, - function (t, e, n) { - var i = n(26), - o = Math.max, - r = Math.min; - t.exports = function (t, e) { - t = i(t); - return t < 0 ? o(t + e, 0) : r(t, e); - }; - }, - function (t, e) { - var n = Math.ceil, - i = Math.floor; - t.exports = - Math.trunc || - function (t) { - t = +t; - return (0 < t ? i : n)(t); - }; - }, - function (t, e, n) { - var i = n(60); - t.exports = function (t) { - return i(t.length); - }; - }, - function (t, e) { - e.f = Object.getOwnPropertySymbols; - }, - function (t, e, n) { - var i = n(89), - o = n(3), - r = n(17), - s = n(7)("toStringTag"), - a = Object, - c = - "Arguments" == - r( - (function () { - return arguments; - })() - ); - t.exports = i - ? r - : function (t) { - var e; - return void 0 === t - ? "Undefined" - : null === t - ? "Null" - : "string" == - typeof (e = (function (t, e) { - try { - return t[e]; - } catch (t) {} - })((t = a(t)), s)) - ? e - : c - ? r(t) - : "Object" == (e = r(t)) && o(t.callee) - ? "Arguments" - : e; - }; - }, - function (t, e, n) { - var i = {}; - (i[n(7)("toStringTag")] = "z"), (t.exports = "[object z]" === String(i)); - }, - function (t, e, n) { - var i = n(8), - o = n(55), - a = n(11), - c = n(14), - l = n(16), - u = n(91); - e.f = - i && !o - ? Object.defineProperties - : function (t, e) { - c(t); - for (var n, i = l(e), o = u(e), r = o.length, s = 0; s < r; ) a.f(t, (n = o[s++]), i[n]); - return t; - }; - }, - function (t, e, n) { - var i = n(58), - o = n(42); - t.exports = - Object.keys || - function (t) { - return i(t, o); - }; - }, - function (t, e, n) { - n = n(23); - t.exports = n("document", "documentElement"); - }, - function (t, e, n) { - function i(e) { - return function (t) { - t = s(r(t)); - return 1 & e && (t = a(t, c, "")), (t = 2 & e ? a(t, l, "$1") : t); - }; - } - var o = n(4), - r = n(18), - s = n(20), - n = n(66), - a = o("".replace), - c = RegExp("^[" + n + "]+"), - l = RegExp("(^|[^" + n + "])[" + n + "]+$"); - t.exports = { start: i(1), end: i(2), trim: i(3) }; - }, - function (t, e, n) { - var i = n(39).PROPER, - o = n(2), - r = n(66); - t.exports = function (t) { - return o(function () { - return !!r[t]() || "​…᠎" !== "​…᠎"[t]() || (i && r[t].name !== t); - }); - }; - }, - function (t, e, n) { - var i = n(3), - o = n(13), - r = n(67); - t.exports = function (t, e, n) { - return r && i((e = e.constructor)) && e !== n && o((e = e.prototype)) && e !== n.prototype && r(t, e), t; - }; - }, - function (t, e, n) { - var i = n(4), - o = n(52); - t.exports = function (t, e, n) { - try { - return i(o(Object.getOwnPropertyDescriptor(t, e)[n])); - } catch (t) {} - }; - }, - function (t, e, n) { - var i = n(3), - o = String, - r = TypeError; - t.exports = function (t) { - if ("object" == typeof t || i(t)) return t; - throw r("Can't set " + o(t) + " as a prototype"); - }; - }, - function (t, e, n) { - var i = n(13), - o = n(17), - r = n(7)("match"); - t.exports = function (t) { - var e; - return i(t) && (void 0 !== (e = t[r]) ? !!e : "RegExp" == o(t)); - }; - }, - function (t, e, n) { - var i = n(12), - o = n(9), - r = n(33), - s = n(62), - a = RegExp.prototype; - t.exports = function (t) { - var e = t.flags; - return void 0 !== e || "flags" in a || o(t, "flags") || !r(a, t) ? e : i(s, t); - }; - }, - function (t, e, n) { - var i = n(11).f; - t.exports = function (t, e, n) { - n in t || - i(t, n, { - configurable: !0, - get: function () { - return e[n]; - }, - set: function (t) { - e[n] = t; - }, - }); - }; - }, - function (t, e, n) { - "use strict"; - var i = n(23), - o = n(102), - r = n(7), - s = n(8), - a = r("species"); - t.exports = function (t) { - t = i(t); - s && - t && - !t[a] && - o(t, a, { - configurable: !0, - get: function () { - return this; - }, - }); - }; - }, - function (t, e, n) { - var i = n(56), - o = n(11); - t.exports = function (t, e, n) { - return n.get && i(n.get, e, { getter: !0 }), n.set && i(n.set, e, { setter: !0 }), o.f(t, e, n); - }; - }, - function (t, e, n) { - var n = n(30), - i = Function.prototype, - o = i.apply, - r = i.call; - t.exports = - ("object" == typeof Reflect && Reflect.apply) || - (n - ? r.bind(o) - : function () { - return r.apply(o, arguments); - }); - }, - function (t, e, n) { - "use strict"; - n(5); - var c = n(105), - l = n(19), - u = n(43), - h = n(2), - d = n(7), - f = n(15), - p = d("species"), - g = RegExp.prototype; - t.exports = function (n, t, e, i) { - var s, - o = d(n), - a = !h(function () { - var t = {}; - return ( - (t[o] = function () { - return 7; - }), - 7 != ""[n](t) - ); - }), - r = - a && - !h(function () { - var t = !1, - e = /a/; - return ( - "split" === n && - (((e = { constructor: {} }).constructor[p] = function () { - return e; - }), - (e.flags = ""), - (e[o] = /./[o])), - (e.exec = function () { - return (t = !0), null; - }), - e[o](""), - !t - ); - }); - (a && r && !e) || - ((s = c(/./[o])), - (r = t(o, ""[n], function (t, e, n, i, o) { - var t = c(t), - r = e.exec; - return r === u || r === g.exec ? (a && !o ? { done: !0, value: s(e, n, i) } : { done: !0, value: t(n, e, i) }) : { done: !1 }; - })), - l(String.prototype, n, r[0]), - l(g, o, r[1])), - i && f(g[o], "sham", !0); - }; - }, - function (t, e, n) { - var i = n(17), - o = n(4); - t.exports = function (t) { - if ("Function" === i(t)) return o(t); - }; - }, - function (t, e, n) { - "use strict"; - var i = n(107).charAt; - t.exports = function (t, e, n) { - return e + (n ? i(t, e).length : 1); - }; - }, - function (t, e, n) { - function i(o) { - return function (t, e) { - var n, - t = s(a(t)), - e = r(e), - i = t.length; - return e < 0 || i <= e - ? o - ? "" - : void 0 - : (n = l(t, e)) < 55296 || 56319 < n || e + 1 === i || (i = l(t, e + 1)) < 56320 || 57343 < i - ? o - ? c(t, e) - : n - : o - ? u(t, e, e + 2) - : i - 56320 + ((n - 55296) << 10) + 65536; - }; - } - var o = n(4), - r = n(26), - s = n(20), - a = n(18), - c = o("".charAt), - l = o("".charCodeAt), - u = o("".slice); - t.exports = { codeAt: i(!1), charAt: i(!0) }; - }, - function (t, e, n) { - var i = n(4), - o = n(37), - d = Math.floor, - f = i("".charAt), - p = i("".replace), - g = i("".slice), - m = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, - _ = /\$([$&'`]|\d{1,2})/g; - t.exports = function (r, s, a, c, l, t) { - var u = a + r.length, - h = c.length, - e = _; - return ( - void 0 !== l && ((l = o(l)), (e = m)), - p(t, e, function (t, e) { - var n; - switch (f(e, 0)) { - case "$": - return "$"; - case "&": - return r; - case "`": - return g(s, 0, a); - case "'": - return g(s, u); - case "<": - n = l[g(e, 1, -1)]; - break; - default: - var i, - o = +e; - if (0 == o) return t; - if (h < o) return 0 !== (i = d(o / 10)) && i <= h ? (void 0 === c[i - 1] ? f(e, 1) : c[i - 1] + f(e, 1)) : t; - n = c[o - 1]; - } - return void 0 === n ? "" : n; - }) - ); - }; - }, - function (t, e, n) { - var i = n(12), - o = n(14), - r = n(3), - s = n(17), - a = n(43), - c = TypeError; - t.exports = function (t, e) { - var n = t.exec; - if (r(n)) return null !== (n = i(n, t, e)) && o(n), n; - if ("RegExp" === s(t)) return i(a, t, e); - throw c("RegExp#exec called on incompatible receiver"); - }; - }, - function (t, e, n) { - "use strict"; - function g() { - return this; - } - var m = n(22), - _ = n(12), - v = n(24), - i = n(39), - b = n(3), - y = n(111), - w = n(70), - E = n(67), - x = n(71), - C = n(15), - A = n(19), - o = n(7), - T = n(44), - n = n(69), - O = i.PROPER, - L = i.CONFIGURABLE, - S = n.IteratorPrototype, - I = n.BUGGY_SAFARI_ITERATORS, - k = o("iterator"), - D = "values", - j = "entries"; - t.exports = function (t, e, n, i, o, r, s) { - y(n, e, i); - function a(t) { - if (t === o && f) return f; - if (!I && t in h) return h[t]; - switch (t) { - case "keys": - case D: - case j: - return function () { - return new n(this, t); - }; - } - return function () { - return new n(this); - }; - } - var c, - l, - i = e + " Iterator", - u = !1, - h = t.prototype, - d = h[k] || h["@@iterator"] || (o && h[o]), - f = (!I && d) || a(o), - p = ("Array" == e && h.entries) || d; - if ( - (p && - (p = w(p.call(new t()))) !== Object.prototype && - p.next && - (v || w(p) === S || (E ? E(p, S) : b(p[k]) || A(p, k, g)), x(p, i, !0, !0), v) && - (T[i] = g), - O && - o == D && - d && - d.name !== D && - (!v && L - ? C(h, "name", D) - : ((u = !0), - (f = function () { - return _(d, this); - }))), - o) - ) - if ( - ((c = { - values: a(D), - keys: r ? f : a("keys"), - entries: a(j), - }), - s) - ) - for (l in c) (!I && !u && l in h) || A(h, l, c[l]); - else m({ target: e, proto: !0, forced: I || u }, c); - return (v && !s) || h[k] === f || A(h, k, f, { name: o }), (T[e] = f), c; - }; - }, - function (t, e, n) { - "use strict"; - function o() { - return this; - } - var r = n(69).IteratorPrototype, - s = n(27), - a = n(31), - c = n(71), - l = n(44); - t.exports = function (t, e, n, i) { - e += " Iterator"; - return (t.prototype = s(r, { next: a(+!i, n) })), c(t, e, !1, !0), (l[e] = o), t; - }; - }, - function (t, e, n) { - n = n(2); - t.exports = !n(function () { - function t() {} - return (t.prototype.constructor = null), Object.getPrototypeOf(new t()) !== t.prototype; - }); - }, - function (t, e) { - t.exports = function (t, e) { - return { value: t, done: e }; - }; - }, - function (t, e) { - t.exports = { - CSSRuleList: 0, - CSSStyleDeclaration: 0, - CSSValueList: 0, - ClientRectList: 0, - DOMRectList: 0, - DOMStringList: 0, - DOMTokenList: 1, - DataTransferItemList: 0, - FileList: 0, - HTMLAllCollection: 0, - HTMLCollection: 0, - HTMLFormElement: 0, - HTMLSelectElement: 0, - MediaList: 0, - MimeTypeArray: 0, - NamedNodeMap: 0, - NodeList: 1, - PaintRequestList: 0, - Plugin: 0, - PluginArray: 0, - SVGLengthList: 0, - SVGNumberList: 0, - SVGPathSegList: 0, - SVGPointList: 0, - SVGStringList: 0, - SVGTransformList: 0, - SourceBufferList: 0, - StyleSheetList: 0, - TextTrackCueList: 0, - TextTrackList: 0, - TouchList: 0, - }; - }, - function (t, e, n) { - (n = n(38)("span").classList), (n = n && n.constructor && n.constructor.prototype); - t.exports = n === Object.prototype ? void 0 : n; - }, - function (t, e) { - function o(t) { - var e = i[t]; - return void 0 !== e || ((e = i[t] = { id: t, exports: {} }), n[t](e, e.exports, o)), e.exports; - } - var n, i; - (n = { - 454: (t, e, n) => { - "use strict"; - n.d(e, { Z: () => i }); - (e = n(645)), - (n = n.n(e)()(function (t) { - return t[1]; - })); - n.push([ - t.id, - "INPUT:-webkit-autofill,SELECT:-webkit-autofill,TEXTAREA:-webkit-autofill{animation-name:onautofillstart}INPUT:not(:-webkit-autofill),SELECT:not(:-webkit-autofill),TEXTAREA:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{}@keyframes onautofillcancel{}", - "", - ]); - const i = n; - }, - 645: (t) => { - "use strict"; - t.exports = function (n) { - var c = []; - return ( - (c.toString = function () { - return this.map(function (t) { - var e = n(t); - return t[2] ? "@media ".concat(t[2], " {").concat(e, "}") : e; - }).join(""); - }), - (c.i = function (t, e, n) { - "string" == typeof t && (t = [[null, t, ""]]); - var i = {}; - if (n) - for (var o = 0; o < this.length; o++) { - var r = this[o][0]; - null != r && (i[r] = !0); - } - for (var s = 0; s < t.length; s++) { - var a = [].concat(t[s]); - (n && i[a[0]]) || (e && (a[2] ? (a[2] = "".concat(e, " and ").concat(a[2])) : (a[2] = e)), c.push(a)); - } - }), - c - ); - }; - }, - 810: () => { - if ("undefined" != typeof window) - try { - var t = new window.CustomEvent("test", { - cancelable: !0, - }); - if ((t.preventDefault(), !0 !== t.defaultPrevented)) throw new Error("Could not prevent default"); - } catch (t) { - function e(t, e) { - var n, i; - return ( - ((e = e || {}).bubbles = !!e.bubbles), - (e.cancelable = !!e.cancelable), - (n = document.createEvent("CustomEvent")).initCustomEvent(t, e.bubbles, e.cancelable, e.detail), - (i = n.preventDefault), - (n.preventDefault = function () { - i.call(this); - try { - Object.defineProperty(this, "defaultPrevented", { - get: function () { - return !0; - }, - }); - } catch (t) { - this.defaultPrevented = !0; - } - }), - n - ); - } - (e.prototype = window.Event.prototype), (window.CustomEvent = e); - } - }, - 379: (t, e, o) => { - "use strict"; - i = {}; - var n, - i, - r = function (t) { - if (void 0 === i[t]) { - var e = document.querySelector(t); - if (window.HTMLIFrameElement && e instanceof window.HTMLIFrameElement) - try { - e = e.contentDocument.head; - } catch (t) { - e = null; - } - i[t] = e; - } - return i[t]; - }, - l = []; - function u(t) { - for (var e = -1, n = 0; n < l.length; n++) - if (l[n].identifier === t) { - e = n; - break; - } - return e; - } - function a(t, e) { - for (var n = {}, i = [], o = 0; o < t.length; o++) { - var r = t[o], - s = e.base ? r[0] + e.base : r[0], - a = n[s] || 0, - c = "".concat(s, " ").concat(a), - s = ((n[s] = a + 1), u(c)), - a = { - css: r[1], - media: r[2], - sourceMap: r[3], - }; - -1 !== s - ? (l[s].references++, l[s].updater(a)) - : l.push({ - identifier: c, - updater: (function (e, t) { - var n, i, o; - { - var r; - o = t.singleton - ? ((r = p++), (n = f = f || h(t)), (i = d.bind(null, n, r, !1)), d.bind(null, n, r, !0)) - : ((n = h(t)), - (i = function (t, e, n) { - var i = n.css, - o = n.media, - n = n.sourceMap; - if ( - (o ? t.setAttribute("media", o) : t.removeAttribute("media"), - n && - "undefined" != typeof btoa && - (i += "\n/*# sourceMappingURL=data:application/json;base64,".concat( - btoa(unescape(encodeURIComponent(JSON.stringify(n)))), - " */" - )), - t.styleSheet) - ) - t.styleSheet.cssText = i; - else { - for (; t.firstChild; ) t.removeChild(t.firstChild); - t.appendChild(document.createTextNode(i)); - } - }.bind(null, n, t)), - function () { - var t; - null !== (t = n).parentNode && t.parentNode.removeChild(t); - }); - } - return ( - i(e), - function (t) { - t ? (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap) || i((e = t)) : o(); - } - ); - })(a, e), - references: 1, - }), - i.push(c); - } - return i; - } - function h(t) { - var e = document.createElement("style"), - n = t.attributes || {}; - if ( - (void 0 === n.nonce && (i = o.nc) && (n.nonce = i), - Object.keys(n).forEach(function (t) { - e.setAttribute(t, n[t]); - }), - "function" == typeof t.insert) - ) - t.insert(e); - else { - var i = r(t.insert || "head"); - if (!i) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid."); - i.appendChild(e); - } - return e; - } - s = []; - var s, - c = function (t, e) { - return (s[t] = e), s.filter(Boolean).join("\n"); - }; - function d(t, e, n, i) { - var n = n ? "" : i.media ? "@media ".concat(i.media, " {").concat(i.css, "}") : i.css; - t.styleSheet - ? (t.styleSheet.cssText = c(e, n)) - : ((i = document.createTextNode(n)), - (n = t.childNodes)[e] && t.removeChild(n[e]), - n.length ? t.insertBefore(i, n[e]) : t.appendChild(i)); - } - var f = null, - p = 0; - t.exports = function (t, r) { - (r = r || {}).singleton || - "boolean" == typeof r.singleton || - (r.singleton = n = void 0 === n ? Boolean(window && document && document.all && !window.atob) : n); - var s = a((t = t || []), r); - return function (t) { - if (((t = t || []), "[object Array]" === Object.prototype.toString.call(t))) { - for (var e = 0; e < s.length; e++) { - var n = u(s[e]); - l[n].references--; - } - for (var t = a(t, r), i = 0; i < s.length; i++) { - var o = u(s[i]); - 0 === l[o].references && (l[o].updater(), l.splice(o, 1)); - } - s = t; - } - }; - }; - }, - }), - (i = {}), - (o.n = (t) => { - var e = t && t.__esModule ? () => t.default : () => t; - return o.d(e, { a: e }), e; - }), - (o.d = (t, e) => { - for (var n in e) - o.o(e, n) && - !o.o(t, n) && - Object.defineProperty(t, n, { - enumerable: !0, - get: e[n], - }); - }), - (o.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e)), - (() => { - "use strict"; - var t = o(379), - t = o.n(t), - e = o(454); - function n(t) { - var e; - t.hasAttribute("autocompleted") || - (t.setAttribute("autocompleted", ""), - (e = new window.CustomEvent("onautocomplete", { - bubbles: !0, - cancelable: !0, - detail: null, - })), - t.dispatchEvent(e)) || - (t.value = ""); - } - function i(t) { - t.hasAttribute("autocompleted") && - (t.removeAttribute("autocompleted"), - t.dispatchEvent( - new window.CustomEvent("onautocomplete", { - bubbles: !0, - cancelable: !1, - detail: null, - }) - )); - } - t()(e.Z, { insert: "head", singleton: !1 }), - e.Z.locals, - o(810), - document.addEventListener( - "animationstart", - function (t) { - ("onautofillstart" === t.animationName ? n : i)(t.target); - }, - !0 - ), - document.addEventListener( - "input", - function (t) { - ("insertReplacementText" !== t.inputType && "data" in t ? i : n)(t.target); - }, - !0 - ); - })(); - }, - , - , - function (N, t, e) { - "use strict"; - e.r(t), - e.d(t, "Alert", function () { - return Be; - }), - e.d(t, "Button", function () { - return ne; - }), - e.d(t, "Carousel", function () { - return vn; - }), - e.d(t, "Collapse", function () { - return ls; - }), - e.d(t, "Offcanvas", function () { - return De; - }), - e.d(t, "Dropdown", function () { - return zs; - }), - e.d(t, "Input", function () { - return Yr; - }), - e.d(t, "Modal", function () { - return Nn; - }), - e.d(t, "Popover", function () { - return Io; - }), - e.d(t, "Ripple", function () { - return ea; - }), - e.d(t, "ScrollSpy", function () { - return Uo; - }), - e.d(t, "Tab", function () { - return fr; - }), - e.d(t, "Toast", function () { - return Mr; - }), - e.d(t, "Tooltip", function () { - return _r; - }), - e.d(t, "Range", function () { - return ca; - }); - var n = {}; - e.r(n), - e.d(n, "top", function () { - return O; - }), - e.d(n, "bottom", function () { - return L; - }), - e.d(n, "right", function () { - return S; - }), - e.d(n, "left", function () { - return I; - }), - e.d(n, "auto", function () { - return Rn; - }), - e.d(n, "basePlacements", function () { - return Hn; - }), - e.d(n, "start", function () { - return Bn; - }), - e.d(n, "end", function () { - return Wn; - }), - e.d(n, "clippingParents", function () { - return Fn; - }), - e.d(n, "viewport", function () { - return qn; - }), - e.d(n, "popper", function () { - return zn; - }), - e.d(n, "reference", function () { - return Qn; - }), - e.d(n, "variationPlacements", function () { - return Vn; - }), - e.d(n, "placements", function () { - return Un; - }), - e.d(n, "beforeRead", function () { - return Yn; - }), - e.d(n, "read", function () { - return Xn; - }), - e.d(n, "afterRead", function () { - return Kn; - }), - e.d(n, "beforeMain", function () { - return $n; - }), - e.d(n, "main", function () { - return Gn; - }), - e.d(n, "afterMain", function () { - return Zn; - }), - e.d(n, "beforeWrite", function () { - return Jn; - }), - e.d(n, "write", function () { - return ti; - }), - e.d(n, "afterWrite", function () { - return ei; - }), - e.d(n, "modifierPhases", function () { - return ni; - }), - e.d(n, "applyStyles", function () { - return ri; - }), - e.d(n, "arrow", function () { - return xi; - }), - e.d(n, "computeStyles", function () { - return Oi; - }), - e.d(n, "eventListeners", function () { - return Si; - }), - e.d(n, "flip", function () { - return zi; - }), - e.d(n, "hide", function () { - return Ui; - }), - e.d(n, "offset", function () { - return Yi; - }), - e.d(n, "popperOffsets", function () { - return Xi; - }), - e.d(n, "preventOverflow", function () { - return Ki; - }), - e.d(n, "popperGenerator", function () { - return to; - }), - e.d(n, "detectOverflow", function () { - return qi; - }), - e.d(n, "createPopperBase", function () { - return eo; - }), - e.d(n, "createPopper", function () { - return no; - }), - e.d(n, "createPopperLite", function () { - return io; - }), - e(5), - e(28), - e(29); - const R = (t) => { - let e = t.getAttribute("data-mdb-target"); - return (e && "#" !== e) || ((t = t.getAttribute("href")), (e = t && "#" !== t ? t.trim() : null)), e; - }, - H = (t) => { - t = R(t); - return t && document.querySelector(t) ? t : null; - }, - B = (t) => { - t = R(t); - return t ? document.querySelector(t) : null; - }; - const W = (o, r, s) => { - Object.keys(s).forEach((t) => { - var e, - n = s[t], - i = r[t], - i = - i && ((e = i)[0] || e).nodeType - ? "element" - : null == (e = i) - ? "".concat(e) - : {}.toString - .call(e) - .match(/\s([a-z]+)/i)[1] - .toLowerCase(); - if (!new RegExp(n).test(i)) - throw new Error( - "".concat(o.toUpperCase(), ": ") + 'Option "'.concat(t, '" provided type "').concat(i, '" ') + 'but expected type "'.concat(n, '".') - ); - }); - }; - const i = () => { - var t = window["jQuery"]; - return t && !document.body.hasAttribute("data-mdb-no-jquery") ? t : null; - }, - o = (t) => { - "loading" === document.readyState ? document.addEventListener("DOMContentLoaded", t) : t(); - }; - document.documentElement.dir; - const F = (t) => document.createElement(t); - const q = (() => { - const i = {}; - let o = 1; - return { - set(t, e, n) { - void 0 === t[e] && ((t[e] = { key: e, id: o }), o++), (i[t[e].id] = n); - }, - get(t, e) { - return t && void 0 !== t[e] && (t = t[e]).key === e ? i[t.id] : null; - }, - delete(t, e) { - var n; - void 0 !== t[e] && (n = t[e]).key === e && (delete i[n.id], delete t[e]); - }, - }; - })(); - var r = { - setData(t, e, n) { - q.set(t, e, n); - }, - getData(t, e) { - return q.get(t, e); - }, - removeData(t, e) { - q.delete(t, e); - }, - }; - e(21), e(0), e(1); - const z = i(), - Q = /[^.]*(?=\..*)\.|.*/, - V = /\..*/, - U = /::\d+$/, - Y = {}; - let X = 1; - const K = { mouseenter: "mouseover", mouseleave: "mouseout" }, - $ = [ - "click", - "dblclick", - "mouseup", - "mousedown", - "contextmenu", - "mousewheel", - "DOMMouseScroll", - "mouseover", - "mouseout", - "mousemove", - "selectstart", - "selectend", - "keydown", - "keypress", - "keyup", - "orientationchange", - "touchstart", - "touchmove", - "touchend", - "touchcancel", - "pointerdown", - "pointermove", - "pointerup", - "pointerleave", - "pointercancel", - "gesturestart", - "gesturechange", - "gestureend", - "focus", - "blur", - "change", - "reset", - "select", - "submit", - "focusin", - "focusout", - "load", - "unload", - "beforeunload", - "resize", - "move", - "DOMContentLoaded", - "readystatechange", - "error", - "abort", - "scroll", - ]; - function G(t, e) { - return (e && "".concat(e, "::").concat(X++)) || t.uidEvent || X++; - } - function Z(t) { - var e = G(t); - return (t.uidEvent = e), (Y[e] = Y[e] || {}), Y[e]; - } - function J(n, i, t) { - var o = 2 < arguments.length && void 0 !== t ? t : null, - r = Object.keys(n); - for (let t = 0, e = r.length; t < e; t++) { - var s = n[r[t]]; - if (s.originalHandler === i && s.delegationSelector === o) return s; - } - return null; - } - function tt(t, e, n) { - var i = "string" == typeof e, - n = i ? n : e; - let o = t.replace(V, ""); - (e = K[o]), e && (o = e), (e = -1 < $.indexOf(o)); - return [i, n, (o = e ? o : t)]; - } - function et(t, e, n, i, o) { - var r, s, a, c, l, u, h, d, f, p; - "string" == typeof e && - t && - (n || ((n = i), (i = null)), - ([r, s, a] = tt(e, n, i)), - (l = J((c = (c = Z(t))[a] || (c[a] = {})), s, r ? n : null)) - ? (l.oneOff = l.oneOff && o) - : ((l = G(s, e.replace(Q, ""))), - ((e = r - ? ((d = t), - (f = n), - (p = i), - function n(i) { - var o = d.querySelectorAll(f); - for (let e = i["target"]; e && e !== this; e = e.parentNode) - for (let t = o.length; t--; ) - if (o[t] === e) return (i.delegateTarget = e), n.oneOff && it.off(d, i.type, p), p.apply(e, [i]); - return null; - }) - : ((u = t), - (h = n), - function t(e) { - return (e.delegateTarget = u), t.oneOff && it.off(u, e.type, h), h.apply(u, [e]); - })).delegationSelector = r ? n : null), - (e.originalHandler = s), - (e.oneOff = o), - (c[(e.uidEvent = l)] = e), - t.addEventListener(a, e, r))); - } - function nt(t, e, n, i, o) { - i = J(e[n], i, o); - i && (t.removeEventListener(n, i, Boolean(o)), delete e[n][i.uidEvent]); - } - const it = { - on(t, e, n, i) { - et(t, e, n, i, !1); - }, - one(t, e, n, i) { - et(t, e, n, i, !0); - }, - extend(i, t, o) { - t.forEach((t) => { - it.on(i, "".concat(t.name, ".bs.").concat(o), (e) => { - const n = {}; - t.parametersToCopy && - t.parametersToCopy.forEach((t) => { - n[t] = e[t]; - }), - it.trigger(i, "".concat(t.name, ".mdb.").concat(o), n); - }); - }); - }, - off(s, a, t, e) { - if ("string" == typeof a && s) { - const [n, i, o] = tt(a, t, e), - r = o !== a, - c = Z(s); - e = "." === a.charAt(0); - if (void 0 !== i) return c && c[o] ? void nt(s, c, o, i, n ? t : null) : void 0; - e && - Object.keys(c).forEach((t) => { - { - var e = s, - n = c, - i = t, - o = a.slice(1); - const r = n[i] || {}; - Object.keys(r).forEach((t) => { - -1 < t.indexOf(o) && ((t = r[t]), nt(e, n, i, t.originalHandler, t.delegationSelector)); - }); - } - }); - const l = c[o] || {}; - Object.keys(l).forEach((t) => { - var e = t.replace(U, ""); - (!r || -1 < a.indexOf(e)) && ((e = l[t]), nt(s, c, o, e.originalHandler, e.delegationSelector)); - }); - } - }, - trigger(t, e, n) { - if ("string" != typeof e || !t) return null; - var i = e.replace(V, ""), - o = e !== i, - r = -1 < $.indexOf(i); - let s, - a = !0, - c = !0, - l = !1, - u = null; - return ( - o && - z && - ((s = z.Event(e, n)), - z(t).trigger(s), - (a = !s.isPropagationStopped()), - (c = !s.isImmediatePropagationStopped()), - (l = s.isDefaultPrevented())), - r - ? (u = document.createEvent("HTMLEvents")).initEvent(i, a, !0) - : (u = new CustomEvent(e, { - bubbles: a, - cancelable: !0, - })), - void 0 !== n && - Object.keys(n).forEach((t) => { - Object.defineProperty(u, t, { - get() { - return n[t]; - }, - }); - }), - l && u.preventDefault(), - c && t.dispatchEvent(u), - u.defaultPrevented && void 0 !== s && s.preventDefault(), - u - ); - }, - }; - var s = it; - function ot(t) { - return "true" === t || ("false" !== t && (t === Number(t).toString() ? Number(t) : "" === t || "null" === t ? null : t)); - } - function rt(t) { - return t.replace(/[A-Z]/g, (t) => "-".concat(t.toLowerCase())); - } - var c = { - setDataAttribute(t, e, n) { - t.setAttribute("data-mdb-".concat(rt(e)), n); - }, - removeDataAttribute(t, e) { - t.removeAttribute("data-mdb-".concat(rt(e))); - }, - getDataAttributes(t) { - if (!t) return {}; - const n = { ...t.dataset }; - return ( - Object.keys(n) - .filter((t) => t.startsWith("mdb")) - .forEach((t) => { - let e = t.replace(/^mdb/, ""); - (e = e.charAt(0).toLowerCase() + e.slice(1, e.length)), (n[e] = ot(n[t])); - }), - n - ); - }, - getDataAttribute(t, e) { - return ot(t.getAttribute("data-mdb-".concat(rt(e)))); - }, - offset(t) { - t = t.getBoundingClientRect(); - return { - top: t.top + document.body.scrollTop, - left: t.left + document.body.scrollLeft, - }; - }, - position(t) { - return { top: t.offsetTop, left: t.offsetLeft }; - }, - style(t, e) { - Object.assign(t.style, e); - }, - toggleClass(t, e) { - t && (t.classList.contains(e) ? t.classList.remove(e) : t.classList.add(e)); - }, - addClass(t, e) { - t.classList.contains(e) || t.classList.add(e); - }, - addStyle(e, n) { - Object.keys(n).forEach((t) => { - e.style[t] = n[t]; - }); - }, - removeClass(t, e) { - t.classList.contains(e) && t.classList.remove(e); - }, - hasClass(t, e) { - return t.classList.contains(e); - }, - }; - var a = { - closest(t, e) { - return t.closest(e); - }, - matches(t, e) { - return t.matches(e); - }, - find(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.documentElement; - return [].concat(...Element.prototype.querySelectorAll.call(e, t)); - }, - findOne(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.documentElement; - return Element.prototype.querySelector.call(e, t); - }, - children(t, e) { - return [].concat(...t.children).filter((t) => t.matches(e)); - }, - parents(t, e) { - var n = []; - let i = t.parentNode; - for (; i && i.nodeType === Node.ELEMENT_NODE && 3 !== i.nodeType; ) this.matches(i, e) && n.push(i), (i = i.parentNode); - return n; - }, - prev(t, e) { - let n = t.previousElementSibling; - for (; n; ) { - if (n.matches(e)) return [n]; - n = n.previousElementSibling; - } - return []; - }, - next(t, e) { - let n = t.nextElementSibling; - for (; n; ) { - if (this.matches(n, e)) return [n]; - n = n.nextElementSibling; - } - return []; - }, - }; - e(10); - const st = 1e3, - at = "transitionend", - ct = (e) => { - let n = e.getAttribute("data-mdb-target"); - if (!n || "#" === n) { - let t = e.getAttribute("href"); - if (!t || (!t.includes("#") && !t.startsWith("."))) return null; - t.includes("#") && !t.startsWith("#") && (t = "#".concat(t.split("#")[1])), (n = t && "#" !== t ? t.trim() : null); - } - return n; - }, - lt = (t) => { - t = ct(t); - return t && document.querySelector(t) ? t : null; - }, - l = (t) => { - t = ct(t); - return t ? document.querySelector(t) : null; - }, - ut = (t) => { - t.dispatchEvent(new Event(at)); - }, - u = (t) => !(!t || "object" != typeof t) && void 0 !== (t = void 0 !== t.jquery ? t[0] : t).nodeType, - ht = (t) => (u(t) ? (t.jquery ? t[0] : t) : "string" == typeof t && 0 < t.length ? document.querySelector(t) : null), - dt = (t) => { - if (!u(t) || 0 === t.getClientRects().length) return !1; - var e = "visible" === getComputedStyle(t).getPropertyValue("visibility"), - n = t.closest("details:not([open])"); - if (n && n !== t) { - t = t.closest("summary"); - if (t && t.parentNode !== n) return !1; - if (null === t) return !1; - } - return e; - }, - ft = (t) => - !t || - t.nodeType !== Node.ELEMENT_NODE || - !!t.classList.contains("disabled") || - (void 0 !== t.disabled ? t.disabled : t.hasAttribute("disabled") && "false" !== t.getAttribute("disabled")), - pt = (t) => { - var e; - return document.documentElement.attachShadow - ? "function" == typeof t.getRootNode - ? (e = t.getRootNode()) instanceof ShadowRoot - ? e - : null - : t instanceof ShadowRoot - ? t - : t.parentNode - ? pt(t.parentNode) - : null - : null; - }, - gt = () => {}, - mt = (t) => { - t.offsetHeight; - }, - _t = () => (window.jQuery && !document.body.hasAttribute("data-mdb-no-jquery") ? window.jQuery : null), - vt = [], - h = () => "rtl" === document.documentElement.dir; - t = (i) => { - var t; - (t = () => { - const t = _t(); - if (t) { - const e = i.NAME, - n = t.fn[e]; - (t.fn[e] = i.jQueryInterface), (t.fn[e].Constructor = i), (t.fn[e].noConflict = () => ((t.fn[e] = n), i.jQueryInterface)); - } - }), - "loading" === document.readyState - ? (vt.length || - document.addEventListener("DOMContentLoaded", () => { - for (const t of vt) t(); - }), - vt.push(t)) - : t(); - }; - function bt(n, i) { - if (!(2 < arguments.length && void 0 !== arguments[2]) || arguments[2]) { - var t = - ((t) => { - if (!t) return 0; - let { transitionDuration: e, transitionDelay: n } = window.getComputedStyle(t); - var t = Number.parseFloat(e), - i = Number.parseFloat(n); - return t || i ? ((e = e.split(",")[0]), (n = n.split(",")[0]), (Number.parseFloat(e) + Number.parseFloat(n)) * st) : 0; - })(i) + 5; - let e = !1; - const o = (t) => { - t = t.target; - t === i && ((e = !0), i.removeEventListener(at, o), d(n)); - }; - i.addEventListener(at, o), - setTimeout(() => { - e || ut(i); - }, t); - } else d(n); - } - const d = (t) => { - "function" == typeof t && t(); - }, - yt = (t, e, n, i) => { - var o = t.length; - let r = t.indexOf(e); - return -1 === r ? (!n && i ? t[o - 1] : t[0]) : ((r += n ? 1 : -1), i && (r = (r + o) % o), t[Math.max(0, Math.min(r, o - 1))]); - }, - wt = /[^.]*(?=\..*)\.|.*/, - Et = /\..*/, - xt = /::\d+$/, - Ct = {}; - let At = 1; - const Tt = { mouseenter: "mouseover", mouseleave: "mouseout" }, - Ot = new Set([ - "click", - "dblclick", - "mouseup", - "mousedown", - "contextmenu", - "mousewheel", - "DOMMouseScroll", - "mouseover", - "mouseout", - "mousemove", - "selectstart", - "selectend", - "keydown", - "keypress", - "keyup", - "orientationchange", - "touchstart", - "touchmove", - "touchend", - "touchcancel", - "pointerdown", - "pointermove", - "pointerup", - "pointerleave", - "pointercancel", - "gesturestart", - "gesturechange", - "gestureend", - "focus", - "blur", - "change", - "reset", - "select", - "submit", - "focusin", - "focusout", - "load", - "unload", - "beforeunload", - "resize", - "move", - "DOMContentLoaded", - "readystatechange", - "error", - "abort", - "scroll", - ]); - function Lt(t, e) { - return (e && "".concat(e, "::").concat(At++)) || t.uidEvent || At++; - } - function St(t) { - var e = Lt(t); - return (t.uidEvent = e), (Ct[e] = Ct[e] || {}), Ct[e]; - } - function It(t, e, n) { - let i = 2 < arguments.length && void 0 !== n ? n : null; - return Object.values(t).find((t) => t.callable === e && t.delegationSelector === i); - } - function kt(t, e, n) { - var i = "string" == typeof e, - e = (!i && e) || n; - let o = Mt(t); - return [i, e, (o = Ot.has(o) ? o : t)]; - } - function Dt(i, o, r, s, a) { - if ("string" == typeof o && i) { - let [t, e, n] = kt(o, r, s); - o in Tt && - (e = - ((c = e), - function (t) { - if (!t.relatedTarget || (t.relatedTarget !== t.delegateTarget && !t.delegateTarget.contains(t.relatedTarget))) - return c.call(this, t); - })); - var c, - l, - u, - h, - d, - f, - s = St(i), - s = s[n] || (s[n] = {}), - p = It(s, e, t ? r : null); - p - ? (p.oneOff = p.oneOff && a) - : ((p = Lt(e, o.replace(wt, ""))), - ((o = t - ? ((h = i), - (d = r), - (f = e), - function e(n) { - var i = h.querySelectorAll(d); - for (let t = n["target"]; t && t !== this; t = t.parentNode) - for (const o of i) - if (o === t) - return ( - Nt(n, { - delegateTarget: t, - }), - e.oneOff && Pt.off(h, n.type, d, f), - f.apply(t, [n]) - ); - }) - : ((l = i), - (u = e), - function t(e) { - return Nt(e, { delegateTarget: l }), t.oneOff && Pt.off(l, e.type, u), u.apply(l, [e]); - })).delegationSelector = t ? r : null), - (o.callable = e), - (o.oneOff = a), - (s[(o.uidEvent = p)] = o), - i.addEventListener(n, o, t)); - } - } - function jt(t, e, n, i, o) { - i = It(e[n], i, o); - i && (t.removeEventListener(n, i, Boolean(o)), delete e[n][i.uidEvent]); - } - function Mt(t) { - return (t = t.replace(Et, "")), Tt[t] || t; - } - const Pt = { - on(t, e, n, i) { - Dt(t, e, n, i, !1); - }, - one(t, e, n, i) { - Dt(t, e, n, i, !0); - }, - off(t, e, n, i) { - if ("string" == typeof e && t) { - var [i, o, r] = kt(e, n, i), - s = r !== e, - a = St(t), - c = a[r] || {}, - l = e.startsWith("."); - if (void 0 !== o) return Object.keys(c).length ? void jt(t, a, r, o, i ? n : null) : void 0; - if (l) - for (const _ of Object.keys(a)) { - u = g = p = f = d = h = void 0; - var u, - h = t, - d = a, - f = _, - p = e.slice(1), - g = d[f] || {}; - for (const v of Object.keys(g)) v.includes(p) && jt(h, d, f, (u = g[v]).callable, u.delegationSelector); - } - for (const b of Object.keys(c)) { - var m = b.replace(xt, ""); - (s && !e.includes(m)) || jt(t, a, r, (m = c[b]).callable, m.delegationSelector); - } - } - }, - trigger(t, e, n) { - if ("string" != typeof e || !t) return null; - var i = _t(); - let o = null, - r = !0, - s = !0, - a = !1; - e !== Mt(e) && - i && - ((o = i.Event(e, n)), - i(t).trigger(o), - (r = !o.isPropagationStopped()), - (s = !o.isImmediatePropagationStopped()), - (a = o.isDefaultPrevented())); - i = Nt((i = new Event(e, { bubbles: r, cancelable: !0 })), n); - return a && i.preventDefault(), s && t.dispatchEvent(i), i.defaultPrevented && o && o.preventDefault(), i; - }, - }; - function Nt(e, t) { - for (const [n, i] of Object.entries(t || {})) - try { - e[n] = i; - } catch (t) { - Object.defineProperty(e, n, { - configurable: !0, - get() { - return i; - }, - }); - } - return e; - } - var f = Pt; - const Rt = new Map(); - var Ht = function (t, e, n) { - Rt.has(t) || Rt.set(t, new Map()); - t = Rt.get(t); - t.has(e) || 0 === t.size - ? t.set(e, n) - : console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(t.keys())[0], ".")); - }, - Bt = function (t, e) { - return (Rt.has(t) && Rt.get(t).get(e)) || null; - }, - Wt = function (t, e) { - var n; - Rt.has(t) && ((n = Rt.get(t)).delete(e), 0 === n.size) && Rt.delete(t); - }; - function Ft(e) { - if ("true" === e) return !0; - if ("false" === e) return !1; - if (e === Number(e).toString()) return Number(e); - if ("" === e || "null" === e) return null; - if ("string" != typeof e) return e; - try { - return JSON.parse(decodeURIComponent(e)); - } catch (t) { - return e; - } - } - function qt(t) { - return t.replace(/[A-Z]/g, (t) => "-".concat(t.toLowerCase())); - } - var p = { - setDataAttribute(t, e, n) { - t.setAttribute("data-mdb-".concat(qt(e)), n); - }, - removeDataAttribute(t, e) { - t.removeAttribute("data-mdb-".concat(qt(e))); - }, - getDataAttributes(e) { - if (!e) return {}; - var n = {}; - for (const i of Object.keys(e.dataset).filter((t) => t.startsWith("mdb") && !t.startsWith("mdbConfig"))) { - let t = i.replace(/^mdb/, ""); - n[(t = t.charAt(0).toLowerCase() + t.slice(1, t.length))] = Ft(e.dataset[i]); - } - return n; - }, - getDataAttribute(t, e) { - return Ft(t.getAttribute("data-mdb-".concat(qt(e)))); - }, - }; - var g = class { - static get Default() { - return {}; - } - static get DefaultType() { - return {}; - } - static get NAME() { - throw new Error('You have to implement the static method "NAME", for each component!'); - } - _getConfig(t) { - return (t = this._mergeConfigObj(t)), (t = this._configAfterMerge(t)), this._typeCheckConfig(t), t; - } - _configAfterMerge(t) { - return t; - } - _mergeConfigObj(t, e) { - var n = u(e) ? p.getDataAttribute(e, "config") : {}; - return { - ...this.constructor.Default, - ...("object" == typeof n ? n : {}), - ...(u(e) ? p.getDataAttributes(e) : {}), - ...("object" == typeof t ? t : {}), - }; - } - _typeCheckConfig(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : this.constructor.DefaultType; - for (const o of Object.keys(e)) { - var n = e[o], - i = t[o], - i = u(i) - ? "element" - : null == (i = i) - ? "".concat(i) - : Object.prototype.toString - .call(i) - .match(/\s([a-z]+)/i)[1] - .toLowerCase(); - if (!new RegExp(n).test(i)) - throw new TypeError( - "" - .concat(this.constructor.NAME.toUpperCase(), ': Option "') - .concat(o, '" provided type "') - .concat(i, '" but expected type "') - .concat(n, '".') - ); - } - } - }; - var m = class extends g { - constructor(t, e) { - super(), (t = ht(t)) && ((this._element = t), (this._config = this._getConfig(e)), Ht(this._element, this.constructor.DATA_KEY, this)); - } - dispose() { - Wt(this._element, this.constructor.DATA_KEY), f.off(this._element, this.constructor.EVENT_KEY); - for (const t of Object.getOwnPropertyNames(this)) this[t] = null; - } - _queueCallback(t, e) { - var n = !(2 < arguments.length && void 0 !== arguments[2]) || arguments[2]; - bt(t, e, n); - } - _getConfig(t) { - return (t = this._mergeConfigObj(t, this._element)), (t = this._configAfterMerge(t)), this._typeCheckConfig(t), t; - } - static getInstance(t) { - return Bt(ht(t), this.DATA_KEY); - } - static getOrCreateInstance(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}; - return this.getInstance(t) || new this(t, "object" == typeof e ? e : null); - } - static get VERSION() { - return "5.2.3"; - } - static get DATA_KEY() { - return "bs.".concat(this.NAME); - } - static get EVENT_KEY() { - return ".".concat(this.DATA_KEY); - } - static eventName(t) { - return "".concat(t).concat(this.EVENT_KEY); - } - }; - var _ = ".".concat("bs.button"); - const zt = '[data-mdb-toggle="button"]'; - _ = "click".concat(_).concat(".data-api"); - class Qt extends m { - static get NAME() { - return "button"; - } - toggle() { - this._element.setAttribute("aria-pressed", this._element.classList.toggle("active")); - } - static jQueryInterface(e) { - return this.each(function () { - var t = Qt.getOrCreateInstance(this); - "toggle" === e && t[e](); - }); - } - } - f.on(document, _, zt, (t) => { - t.preventDefault(); - t = t.target.closest(zt); - Qt.getOrCreateInstance(t).toggle(); - }), - t(Qt); - _ = Qt; - const Vt = "button", - Ut = "mdb.".concat(Vt); - var v = ".".concat(Ut); - const Yt = "click".concat(v), - Xt = "transitionend", - Kt = "mouseenter", - $t = "mouseleave", - Gt = "hide".concat(v), - Zt = "hidden".concat(v), - Jt = "show".concat(v), - te = "shown".concat(v), - ee = "fixed-action-btn"; - class b extends _ { - constructor(t) { - super(t), (this._fn = {}), this._element && (r.setData(this._element, Ut, this), this._init()); - } - static get NAME() { - return Vt; - } - static jQueryInterface(n, i) { - return this.each(function () { - let t = r.getData(this, Ut); - var e = "object" == typeof n && n; - if ((t || !/dispose/.test(n)) && ((t = t || new b(this, e)), "string" == typeof n)) { - if (void 0 === t[n]) throw new TypeError('No method named "'.concat(n, '"')); - t[n](i); - } - }); - } - get _actionButton() { - return a.findOne(".fixed-action-btn:not(.smooth-scroll) > .btn-floating", this._element); - } - get _buttonListElements() { - return a.find("ul .btn", this._element); - } - get _buttonList() { - return a.findOne("ul", this._element); - } - get _isTouchDevice() { - return "ontouchstart" in document.documentElement; - } - show() { - c.hasClass(this._element, ee) && - (s.off(this._buttonList, Xt), - s.trigger(this._element, Jt), - this._bindListOpenTransitionEnd(), - c.addStyle(this._element, { - height: "".concat(this._fullContainerHeight, "px"), - }), - this._toggleVisibility(!0)); - } - hide() { - c.hasClass(this._element, ee) && - (s.off(this._buttonList, Xt), s.trigger(this._element, Gt), this._bindListHideTransitionEnd(), this._toggleVisibility(!1)); - } - dispose() { - c.hasClass(this._element, ee) && - (s.off(this._actionButton, Yt), - this._actionButton.removeEventListener(Kt, this._fn.mouseenter), - this._element.removeEventListener($t, this._fn.mouseleave)), - super.dispose(); - } - _init() { - c.hasClass(this._element, ee) && (this._saveInitialHeights(), this._setInitialStyles(), this._bindInitialEvents()); - } - _bindMouseEnter() { - this._actionButton.addEventListener( - Kt, - (this._fn.mouseenter = () => { - this._isTouchDevice || this.show(); - }) - ); - } - _bindMouseLeave() { - this._element.addEventListener( - $t, - (this._fn.mouseleave = () => { - this.hide(); - }) - ); - } - _bindClick() { - s.on(this._actionButton, Yt, () => { - c.hasClass(this._element, "active") ? this.hide() : this.show(); - }); - } - _bindListHideTransitionEnd() { - s.on(this._buttonList, Xt, (t) => { - "transform" === t.propertyName && - (s.off(this._buttonList, Xt), - (this._element.style.height = "".concat(this._initialContainerHeight, "px")), - s.trigger(this._element, Zt)); - }); - } - _bindListOpenTransitionEnd() { - s.on(this._buttonList, Xt, (t) => { - "transform" === t.propertyName && (s.off(this._buttonList, Xt), s.trigger(this._element, te)); - }); - } - _toggleVisibility(t) { - const e = t ? "addClass" : "removeClass"; - t = t ? "translate(0)" : "translateY(".concat(this._fullContainerHeight, "px)"); - c.addStyle(this._buttonList, { transform: t }), - this._buttonListElements && this._buttonListElements.forEach((t) => c[e](t, "shown")), - c[e](this._element, "active"); - } - _getHeight(t) { - t = window.getComputedStyle(t); - return parseFloat(t.getPropertyValue("height")); - } - _saveInitialHeights() { - (this._initialContainerHeight = this._getHeight(this._element)), - (this._initialListHeight = this._getHeight(this._buttonList)), - (this._fullContainerHeight = this._initialContainerHeight + this._initialListHeight); - } - _bindInitialEvents() { - this._bindClick(), this._bindMouseEnter(), this._bindMouseLeave(); - } - _setInitialStyles() { - (this._buttonList.style.marginBottom = "".concat(this._initialContainerHeight, "px")), - (this._buttonList.style.transform = "translateY(".concat(this._fullContainerHeight, "px)")), - (this._element.style.height = "".concat(this._initialContainerHeight, "px")); - } - } - a.find(".fixed-action-btn").forEach((t) => { - let e = b.getInstance(t); - return (e = e || new b(t)); - }), - a.find('[data-mdb-toggle="button"]').forEach((t) => { - let e = b.getInstance(t); - return (e = e || new b(t)); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[Vt]; - (t.fn[Vt] = b.jQueryInterface), (t.fn[Vt].Constructor = b), (t.fn[Vt].noConflict = () => ((t.fn[Vt] = e), b.jQueryInterface)); - } - }); - var ne = b, - y = { - find(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.documentElement; - return [].concat(...Element.prototype.querySelectorAll.call(e, t)); - }, - findOne(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : document.documentElement; - return Element.prototype.querySelector.call(e, t); - }, - children(t, e) { - return [].concat(...t.children).filter((t) => t.matches(e)); - }, - parents(t, e) { - var n = []; - let i = t.parentNode.closest(e); - for (; i; ) n.push(i), (i = i.parentNode.closest(e)); - return n; - }, - prev(t, e) { - let n = t.previousElementSibling; - for (; n; ) { - if (n.matches(e)) return [n]; - n = n.previousElementSibling; - } - return []; - }, - next(t, e) { - let n = t.nextElementSibling; - for (; n; ) { - if (n.matches(e)) return [n]; - n = n.nextElementSibling; - } - return []; - }, - focusableChildren(t) { - var e = ["a", "button", "input", "textarea", "select", "details", "[tabindex]", '[contenteditable="true"]'] - .map((t) => "".concat(t, ':not([tabindex^="-"])')) - .join(","); - return this.find(e, t).filter((t) => !ft(t) && dt(t)); - }, - }; - const ie = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", - oe = ".sticky-top", - re = "padding-right", - se = "margin-right"; - var ae = class { - constructor() { - this._element = document.body; - } - getWidth() { - var t = document.documentElement.clientWidth; - return Math.abs(window.innerWidth - t); - } - hide() { - const e = this.getWidth(); - this._disableOverFlow(), - this._setElementAttributes(this._element, re, (t) => t + e), - this._setElementAttributes(ie, re, (t) => t + e), - this._setElementAttributes(oe, se, (t) => t - e); - } - reset() { - this._resetElementAttributes(this._element, "overflow"), - this._resetElementAttributes(this._element, re), - this._resetElementAttributes(ie, re), - this._resetElementAttributes(oe, se); - } - isOverflowing() { - return 0 < this.getWidth(); - } - _disableOverFlow() { - this._saveInitialAttribute(this._element, "overflow"), (this._element.style.overflow = "hidden"); - } - _setElementAttributes(t, n, i) { - const o = this.getWidth(); - this._applyManipulationCallback(t, (t) => { - var e; - (t !== this._element && window.innerWidth > t.clientWidth + o) || - (this._saveInitialAttribute(t, n), - (e = window.getComputedStyle(t).getPropertyValue(n)), - t.style.setProperty(n, "".concat(i(Number.parseFloat(e)), "px"))); - }); - } - _saveInitialAttribute(t, e) { - var n = t.style.getPropertyValue(e); - n && p.setDataAttribute(t, e, n); - } - _resetElementAttributes(t, n) { - this._applyManipulationCallback(t, (t) => { - var e = p.getDataAttribute(t, n); - null === e ? t.style.removeProperty(n) : (p.removeDataAttribute(t, n), t.style.setProperty(n, e)); - }); - } - _applyManipulationCallback(t, e) { - if (u(t)) e(t); - else for (const n of y.find(t, this._element)) e(n); - } - }; - const ce = "backdrop", - le = "mousedown.bs.".concat(ce), - ue = { - className: "modal-backdrop", - clickCallback: null, - isAnimated: !1, - isVisible: !0, - rootElement: "body", - }, - he = { - className: "string", - clickCallback: "(function|null)", - isAnimated: "boolean", - isVisible: "boolean", - rootElement: "(element|string)", - }; - var de = class extends g { - constructor(t) { - super(), (this._config = this._getConfig(t)), (this._isAppended = !1), (this._element = null); - } - static get Default() { - return ue; - } - static get DefaultType() { - return he; - } - static get NAME() { - return ce; - } - show(t) { - var e; - this._config.isVisible - ? (this._append(), - (e = this._getElement()), - this._config.isAnimated && mt(e), - e.classList.add("show"), - this._emulateAnimation(() => { - d(t); - })) - : d(t); - } - hide(t) { - this._config.isVisible - ? (this._getElement().classList.remove("show"), - this._emulateAnimation(() => { - this.dispose(), d(t); - })) - : d(t); - } - dispose() { - this._isAppended && (f.off(this._element, le), this._element.remove(), (this._isAppended = !1)); - } - _getElement() { - var t; - return ( - this._element || - (((t = document.createElement("div")).className = this._config.className), - this._config.isAnimated && t.classList.add("fade"), - (this._element = t)), - this._element - ); - } - _configAfterMerge(t) { - return (t.rootElement = ht(t.rootElement)), t; - } - _append() { - var t; - this._isAppended || - ((t = this._getElement()), - this._config.rootElement.append(t), - f.on(t, le, () => { - d(this._config.clickCallback); - }), - (this._isAppended = !0)); - } - _emulateAnimation(t) { - bt(t, this._getElement(), this._config.isAnimated); - } - }; - const fe = ".".concat("bs.focustrap"), - pe = "focusin".concat(fe), - ge = "keydown.tab".concat(fe), - me = "backward", - _e = { autofocus: !0, trapElement: null }, - ve = { autofocus: "boolean", trapElement: "element" }; - function be(e) { - let n = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "hide"; - var t = "click.dismiss".concat(e.EVENT_KEY); - const i = e.NAME; - f.on(document, t, '[data-mdb-dismiss="'.concat(i, '"]'), function (t) { - ["A", "AREA"].includes(this.tagName) && t.preventDefault(), - ft(this) || ((t = l(this) || this.closest(".".concat(i))), e.getOrCreateInstance(t)[n]()); - }); - } - var ye = class extends g { - constructor(t) { - super(), (this._config = this._getConfig(t)), (this._isActive = !1), (this._lastTabNavDirection = null); - } - static get Default() { - return _e; - } - static get DefaultType() { - return ve; - } - static get NAME() { - return "focustrap"; - } - activate() { - this._isActive || - (this._config.autofocus && this._config.trapElement.focus(), - f.off(document, fe), - f.on(document, pe, (t) => this._handleFocusin(t)), - f.on(document, ge, (t) => this._handleKeydown(t)), - (this._isActive = !0)); - } - deactivate() { - this._isActive && ((this._isActive = !1), f.off(document, fe)); - } - _handleFocusin(t) { - var e = this._config["trapElement"]; - t.target === document || - t.target === e || - e.contains(t.target) || - (0 === (t = y.focusableChildren(e)).length ? e : this._lastTabNavDirection === me ? t[t.length - 1] : t[0]).focus(); - } - _handleKeydown(t) { - "Tab" === t.key && (this._lastTabNavDirection = t.shiftKey ? me : "forward"); - } - }; - var v = ".".concat("bs.offcanvas"), - _ = ".data-api", - w = "load".concat(v).concat(_); - const we = "showing", - Ee = ".offcanvas.show", - xe = "show".concat(v), - Ce = "shown".concat(v), - Ae = "hide".concat(v), - Te = "hidePrevented".concat(v), - Oe = "hidden".concat(v); - var E = "resize".concat(v), - _ = "click".concat(v).concat(_); - const Le = "keydown.dismiss".concat(v); - const Se = { backdrop: !0, keyboard: !0, scroll: !1 }, - Ie = { - backdrop: "(boolean|string)", - keyboard: "boolean", - scroll: "boolean", - }; - class ke extends m { - constructor(t, e) { - super(t, e), - (this._isShown = !1), - (this._backdrop = this._initializeBackDrop()), - (this._focustrap = this._initializeFocusTrap()), - this._addEventListeners(); - } - static get Default() { - return Se; - } - static get DefaultType() { - return Ie; - } - static get NAME() { - return "offcanvas"; - } - toggle(t) { - return this._isShown ? this.hide() : this.show(t); - } - show(t) { - this._isShown || - f.trigger(this._element, xe, { relatedTarget: t }).defaultPrevented || - ((this._isShown = !0), - this._backdrop.show(), - this._config.scroll || new ae().hide(), - this._element.setAttribute("aria-modal", !0), - this._element.setAttribute("role", "dialog"), - this._element.classList.add(we), - this._queueCallback( - () => { - (this._config.scroll && !this._config.backdrop) || this._focustrap.activate(), - this._element.classList.add("show"), - this._element.classList.remove(we), - f.trigger(this._element, Ce, { - relatedTarget: t, - }); - }, - this._element, - !0 - )); - } - hide() { - this._isShown && - !f.trigger(this._element, Ae).defaultPrevented && - (this._focustrap.deactivate(), - this._element.blur(), - (this._isShown = !1), - this._element.classList.add("hiding"), - this._backdrop.hide(), - this._queueCallback( - () => { - this._element.classList.remove("show", "hiding"), - this._element.removeAttribute("aria-modal"), - this._element.removeAttribute("role"), - this._config.scroll || new ae().reset(), - f.trigger(this._element, Oe); - }, - this._element, - !0 - )); - } - dispose() { - this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose(); - } - _initializeBackDrop() { - var t = Boolean(this._config.backdrop); - return new de({ - className: "offcanvas-backdrop", - isVisible: t, - isAnimated: !0, - rootElement: this._element.parentNode, - clickCallback: t - ? () => { - "static" === this._config.backdrop ? f.trigger(this._element, Te) : this.hide(); - } - : null, - }); - } - _initializeFocusTrap() { - return new ye({ trapElement: this._element }); - } - _addEventListeners() { - f.on(this._element, Le, (t) => { - "Escape" === t.key && (this._config.keyboard ? this.hide() : f.trigger(this._element, Te)); - }); - } - static jQueryInterface(e) { - return this.each(function () { - var t = ke.getOrCreateInstance(this, e); - if ("string" == typeof e) { - if (void 0 === t[e] || e.startsWith("_") || "constructor" === e) throw new TypeError('No method named "'.concat(e, '"')); - t[e](this); - } - }); - } - } - f.on(document, _, '[data-mdb-toggle="offcanvas"]', function (t) { - var e = l(this); - ["A", "AREA"].includes(this.tagName) && t.preventDefault(), - ft(this) || - (f.one(e, Oe, () => { - dt(this) && this.focus(); - }), - (t = y.findOne(Ee)) && t !== e && ke.getInstance(t).hide(), - ke.getOrCreateInstance(e).toggle(this)); - }), - f.on(window, w, () => { - for (const t of y.find(Ee)) ke.getOrCreateInstance(t).show(); - }), - f.on(window, E, () => { - for (const t of y.find("[aria-modal][class*=show][class*=offcanvas-]")) - "fixed" !== getComputedStyle(t).position && ke.getOrCreateInstance(t).hide(); - }), - be(ke), - t(ke); - var De = ke; - v = ".".concat("bs.alert"); - const je = "close".concat(v), - Me = "closed".concat(v); - class Pe extends m { - static get NAME() { - return "alert"; - } - close() { - var t; - f.trigger(this._element, je).defaultPrevented || - (this._element.classList.remove("show"), - (t = this._element.classList.contains("fade")), - this._queueCallback(() => this._destroyElement(), this._element, t)); - } - _destroyElement() { - this._element.remove(), f.trigger(this._element, Me), this.dispose(); - } - static jQueryInterface(e) { - return this.each(function () { - var t = Pe.getOrCreateInstance(this); - if ("string" == typeof e) { - if (void 0 === t[e] || e.startsWith("_") || "constructor" === e) throw new TypeError('No method named "'.concat(e, '"')); - t[e](this); - } - }); - } - } - be(Pe, "close"), t(Pe); - _ = Pe; - const Ne = "alert", - Re = [{ name: "close" }, { name: "closed" }]; - class He extends _ { - constructor(t) { - super(t, 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}), this._init(); - } - dispose() { - s.off(this._element, "close.bs.alert"), s.off(this._element, "closed.bs.alert"), super.dispose(); - } - static get NAME() { - return Ne; - } - _init() { - this._bindMdbEvents(); - } - _bindMdbEvents() { - s.extend(this._element, Re, Ne); - } - } - a.find(".alert").forEach((t) => { - var e = He.getInstance(t); - e || new He(t); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[Ne]; - (t.fn[Ne] = He.jQueryInterface), (t.fn[Ne].Constructor = He), (t.fn[Ne].noConflict = () => ((t.fn[Ne] = e), He.jQueryInterface)); - } - }); - var Be = He; - const We = ".bs.swipe", - Fe = "touchstart".concat(We), - qe = "touchmove".concat(We), - ze = "touchend".concat(We), - Qe = "pointerdown".concat(We), - Ve = "pointerup".concat(We), - Ue = { - endCallback: null, - leftCallback: null, - rightCallback: null, - }, - Ye = { - endCallback: "(function|null)", - leftCallback: "(function|null)", - rightCallback: "(function|null)", - }; - class Xe extends g { - constructor(t, e) { - super(), - (this._element = t) && - Xe.isSupported() && - ((this._config = this._getConfig(e)), - (this._deltaX = 0), - (this._supportPointerEvents = Boolean(window.PointerEvent)), - this._initEvents()); - } - static get Default() { - return Ue; - } - static get DefaultType() { - return Ye; - } - static get NAME() { - return "swipe"; - } - dispose() { - f.off(this._element, We); - } - _start(t) { - this._supportPointerEvents ? this._eventIsPointerPenTouch(t) && (this._deltaX = t.clientX) : (this._deltaX = t.touches[0].clientX); - } - _end(t) { - this._eventIsPointerPenTouch(t) && (this._deltaX = t.clientX - this._deltaX), this._handleSwipe(), d(this._config.endCallback); - } - _move(t) { - this._deltaX = t.touches && 1 < t.touches.length ? 0 : t.touches[0].clientX - this._deltaX; - } - _handleSwipe() { - var t = Math.abs(this._deltaX); - t <= 40 || ((t = t / this._deltaX), (this._deltaX = 0), t && d(0 < t ? this._config.rightCallback : this._config.leftCallback)); - } - _initEvents() { - this._supportPointerEvents - ? (f.on(this._element, Qe, (t) => this._start(t)), - f.on(this._element, Ve, (t) => this._end(t)), - this._element.classList.add("pointer-event")) - : (f.on(this._element, Fe, (t) => this._start(t)), - f.on(this._element, qe, (t) => this._move(t)), - f.on(this._element, ze, (t) => this._end(t))); - } - _eventIsPointerPenTouch(t) { - return this._supportPointerEvents && ("pen" === t.pointerType || "touch" === t.pointerType); - } - static isSupported() { - return "ontouchstart" in document.documentElement || 0 < navigator.maxTouchPoints; - } - } - var Ke = Xe; - (w = ".".concat("bs.carousel")), (E = ".data-api"); - const $e = "next", - Ge = "prev", - Ze = "left", - Je = "right", - tn = "slide".concat(w), - en = "slid".concat(w), - nn = "keydown".concat(w), - on = "mouseenter".concat(w), - rn = "mouseleave".concat(w), - sn = "dragstart".concat(w); - (v = "load".concat(w).concat(E)), (_ = "click".concat(w).concat(E)); - const an = "carousel", - cn = "active", - ln = ".active", - un = ".carousel-item"; - ln, un; - const hn = { ArrowLeft: Je, ArrowRight: Ze }, - dn = { - interval: 5e3, - keyboard: !0, - pause: "hover", - ride: !1, - touch: !0, - wrap: !0, - }, - fn = { - interval: "(number|boolean)", - keyboard: "boolean", - pause: "(string|boolean)", - ride: "(boolean|string)", - touch: "boolean", - wrap: "boolean", - }; - class pn extends m { - constructor(t, e) { - super(t, e), - (this._interval = null), - (this._activeElement = null), - (this._isSliding = !1), - (this.touchTimeout = null), - (this._swipeHelper = null), - (this._indicatorsElement = y.findOne(".carousel-indicators", this._element)), - this._addEventListeners(), - this._config.ride === an && this.cycle(); - } - static get Default() { - return dn; - } - static get DefaultType() { - return fn; - } - static get NAME() { - return "carousel"; - } - next() { - this._slide($e); - } - nextWhenVisible() { - !document.hidden && dt(this._element) && this.next(); - } - prev() { - this._slide(Ge); - } - pause() { - this._isSliding && ut(this._element), this._clearInterval(); - } - cycle() { - this._clearInterval(), this._updateInterval(), (this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval)); - } - _maybeEnableCycle() { - this._config.ride && (this._isSliding ? f.one(this._element, en, () => this.cycle()) : this.cycle()); - } - to(t) { - var e, - n = this._getItems(); - t > n.length - 1 || - t < 0 || - (this._isSliding - ? f.one(this._element, en, () => this.to(t)) - : (e = this._getItemIndex(this._getActive())) !== t && ((e = e < t ? $e : Ge), this._slide(e, n[t]))); - } - dispose() { - this._swipeHelper && this._swipeHelper.dispose(), super.dispose(); - } - _configAfterMerge(t) { - return (t.defaultInterval = t.interval), t; - } - _addEventListeners() { - this._config.keyboard && f.on(this._element, nn, (t) => this._keydown(t)), - "hover" === this._config.pause && - (f.on(this._element, on, () => this.pause()), f.on(this._element, rn, () => this._maybeEnableCycle())), - this._config.touch && Ke.isSupported() && this._addTouchEventListeners(); - } - _addTouchEventListeners() { - for (const t of y.find(".carousel-item img", this._element)) f.on(t, sn, (t) => t.preventDefault()); - this._swipeHelper = new Ke(this._element, { - leftCallback: () => this._slide(this._directionToOrder(Ze)), - rightCallback: () => this._slide(this._directionToOrder(Je)), - endCallback: () => { - "hover" === this._config.pause && - (this.pause(), - this.touchTimeout && clearTimeout(this.touchTimeout), - (this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), 500 + this._config.interval))); - }, - }); - } - _keydown(t) { - var e; - /input|textarea/i.test(t.target.tagName) || ((e = hn[t.key]) && (t.preventDefault(), this._slide(this._directionToOrder(e)))); - } - _getItemIndex(t) { - return this._getItems().indexOf(t); - } - _setActiveIndicatorElement(t) { - var e; - this._indicatorsElement && - ((e = y.findOne(ln, this._indicatorsElement)).classList.remove(cn), - e.removeAttribute("aria-current"), - (e = y.findOne('[data-mdb-slide-to="'.concat(t, '"]'), this._indicatorsElement))) && - (e.classList.add(cn), e.setAttribute("aria-current", "true")); - } - _updateInterval() { - var t = this._activeElement || this._getActive(); - t && ((t = Number.parseInt(t.getAttribute("data-mdb-interval"), 10)), (this._config.interval = t || this._config.defaultInterval)); - } - _slide(e) { - var t = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : null; - if (!this._isSliding) { - const i = this._getActive(); - var n = e === $e; - const o = t || yt(this._getItems(), i, n, this._config.wrap); - if (o !== i) { - const r = this._getItemIndex(o), - s = (t) => - f.trigger(this._element, t, { - relatedTarget: o, - direction: this._orderToDirection(e), - from: this._getItemIndex(i), - to: r, - }); - t = s(tn); - if (!t.defaultPrevented && i && o) { - t = Boolean(this._interval); - this.pause(), (this._isSliding = !0), this._setActiveIndicatorElement(r), (this._activeElement = o); - const a = n ? "carousel-item-start" : "carousel-item-end", - c = n ? "carousel-item-next" : "carousel-item-prev"; - o.classList.add(c), mt(o), i.classList.add(a), o.classList.add(a); - this._queueCallback( - () => { - o.classList.remove(a, c), o.classList.add(cn), i.classList.remove(cn, c, a), (this._isSliding = !1), s(en); - }, - i, - this._isAnimated() - ), - t && this.cycle(); - } - } - } - } - _isAnimated() { - return this._element.classList.contains("slide"); - } - _getActive() { - return y.findOne(".active.carousel-item", this._element); - } - _getItems() { - return y.find(un, this._element); - } - _clearInterval() { - this._interval && (clearInterval(this._interval), (this._interval = null)); - } - _directionToOrder(t) { - return h() ? (t === Ze ? Ge : $e) : t === Ze ? $e : Ge; - } - _orderToDirection(t) { - return h() ? (t === Ge ? Ze : Je) : t === Ge ? Je : Ze; - } - static jQueryInterface(e) { - return this.each(function () { - var t = pn.getOrCreateInstance(this, e); - if ("number" == typeof e) t.to(e); - else if ("string" == typeof e) { - if (void 0 === t[e] || e.startsWith("_") || "constructor" === e) throw new TypeError('No method named "'.concat(e, '"')); - t[e](); - } - }); - } - } - f.on(document, _, "[data-mdb-slide], [data-mdb-slide-to]", function (t) { - var e = l(this); - e && - e.classList.contains(an) && - (t.preventDefault(), - (t = pn.getOrCreateInstance(e)), - (e = this.getAttribute("data-mdb-slide-to")) ? t.to(e) : "next" === p.getDataAttribute(this, "slide") ? t.next() : t.prev(), - t._maybeEnableCycle()); - }), - f.on(window, v, () => { - for (const t of y.find('[data-mdb-ride="carousel"]')) pn.getOrCreateInstance(t); - }), - t(pn); - w = pn; - const gn = "carousel", - mn = [ - { - name: "slide", - parametersToCopy: ["relatedTarget", "direction", "from", "to"], - }, - { - name: "slid", - parametersToCopy: ["relatedTarget", "direction", "from", "to"], - }, - ]; - class _n extends w { - constructor(t, e) { - super(t, e), this._init(); - } - dispose() { - s.off(this._element, "slide.bs.carousel"), s.off(this._element, "slid.bs.carousel"), super.dispose(); - } - static get NAME() { - return gn; - } - _init() { - this._bindMdbEvents(); - } - _bindMdbEvents() { - s.extend(this._element, mn, gn); - } - } - a.find('[data-mdb-ride="carousel"]').forEach((t) => { - var e = _n.getInstance(t); - e || new _n(t, c.getDataAttributes(t)); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[gn]; - (t.fn[gn] = _n.jQueryInterface), (t.fn[gn].Constructor = _n), (t.fn[gn].noConflict = () => ((t.fn[gn] = e), _n.jQueryInterface)); - } - }); - var vn = _n; - const x = ".".concat("bs.modal"); - const bn = "hide".concat(x), - yn = "hidePrevented".concat(x), - wn = "hidden".concat(x), - En = "show".concat(x), - xn = "shown".concat(x), - Cn = "resize".concat(x), - An = "click.dismiss".concat(x), - Tn = "mousedown.dismiss".concat(x), - On = "keydown.dismiss".concat(x); - E = "click".concat(x).concat(".data-api"); - const Ln = "modal-open", - Sn = "modal-static"; - const In = { backdrop: !0, focus: !0, keyboard: !0 }, - kn = { - backdrop: "(boolean|string)", - focus: "boolean", - keyboard: "boolean", - }; - class Dn extends m { - constructor(t, e) { - super(t, e), - (this._dialog = y.findOne(".modal-dialog", this._element)), - (this._backdrop = this._initializeBackDrop()), - (this._focustrap = this._initializeFocusTrap()), - (this._isShown = !1), - (this._isTransitioning = !1), - (this._scrollBar = new ae()), - this._addEventListeners(); - } - static get Default() { - return In; - } - static get DefaultType() { - return kn; - } - static get NAME() { - return "modal"; - } - toggle(t) { - return this._isShown ? this.hide() : this.show(t); - } - show(t) { - this._isShown || - this._isTransitioning || - f.trigger(this._element, En, { relatedTarget: t }).defaultPrevented || - ((this._isShown = !0), - (this._isTransitioning = !0), - this._scrollBar.hide(), - document.body.classList.add(Ln), - this._adjustDialog(), - this._backdrop.show(() => this._showElement(t))); - } - hide() { - !this._isShown || - this._isTransitioning || - f.trigger(this._element, bn).defaultPrevented || - ((this._isShown = !1), - (this._isTransitioning = !0), - this._focustrap.deactivate(), - this._element.classList.remove("show"), - this._queueCallback(() => this._hideModal(), this._element, this._isAnimated())); - } - dispose() { - for (const t of [window, this._dialog]) f.off(t, x); - this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose(); - } - handleUpdate() { - this._adjustDialog(); - } - _initializeBackDrop() { - return new de({ - isVisible: Boolean(this._config.backdrop) && Boolean(!this._config.modalNonInvasive), - isAnimated: this._isAnimated(), - }); - } - _initializeFocusTrap() { - return new ye({ trapElement: this._element }); - } - _showElement(t) { - document.body.contains(this._element) || document.body.append(this._element), - (this._element.style.display = "block"), - this._element.removeAttribute("aria-hidden"), - this._element.setAttribute("aria-modal", !0), - this._element.setAttribute("role", "dialog"), - (this._element.scrollTop = 0); - var e = y.findOne(".modal-body", this._dialog); - e && (e.scrollTop = 0), mt(this._element), this._element.classList.add("show"); - this._queueCallback( - () => { - this._config.focus && this._focustrap.activate(), - (this._isTransitioning = !1), - f.trigger(this._element, xn, { - relatedTarget: t, - }); - }, - this._dialog, - this._isAnimated() - ); - } - _addEventListeners() { - f.on(this._element, On, (t) => { - "Escape" === t.key && (this._config.keyboard ? (t.preventDefault(), this.hide()) : this._triggerBackdropTransition()); - }), - f.on(window, Cn, () => { - this._isShown && !this._isTransitioning && this._adjustDialog(); - }), - f.on(this._element, Tn, (e) => { - f.one(this._element, An, (t) => { - this._element === e.target && - this._element === t.target && - ("static" === this._config.backdrop ? this._triggerBackdropTransition() : this._config.backdrop && this.hide()); - }); - }); - } - _hideModal() { - (this._element.style.display = "none"), - this._element.setAttribute("aria-hidden", !0), - this._element.removeAttribute("aria-modal"), - this._element.removeAttribute("role"), - (this._isTransitioning = !1), - this._backdrop.hide(() => { - document.body.classList.remove(Ln), this._resetAdjustments(), this._scrollBar.reset(), f.trigger(this._element, wn); - }); - } - _isAnimated() { - return this._element.classList.contains("fade"); - } - _triggerBackdropTransition() { - var t = f.trigger(this._element, yn); - if (!t.defaultPrevented) { - t = this._element.scrollHeight > document.documentElement.clientHeight; - const e = this._element.style.overflowY; - "hidden" === e || - this._element.classList.contains(Sn) || - (t || (this._element.style.overflowY = "hidden"), - this._element.classList.add(Sn), - this._queueCallback(() => { - this._element.classList.remove(Sn), - this._queueCallback(() => { - this._element.style.overflowY = e; - }, this._dialog); - }, this._dialog), - this._element.focus()); - } - } - _adjustDialog() { - var t, - e = this._element.scrollHeight > document.documentElement.clientHeight, - n = this._scrollBar.getWidth(), - i = 0 < n; - i && !e && ((t = h() ? "paddingLeft" : "paddingRight"), (this._element.style[t] = "".concat(n, "px"))), - !i && e && ((t = h() ? "paddingRight" : "paddingLeft"), (this._element.style[t] = "".concat(n, "px"))); - } - _resetAdjustments() { - (this._element.style.paddingLeft = ""), (this._element.style.paddingRight = ""); - } - static jQueryInterface(e, n) { - return this.each(function () { - var t = Dn.getOrCreateInstance(this, e); - if ("string" == typeof e) { - if (void 0 === t[e]) throw new TypeError('No method named "'.concat(e, '"')); - t[e](n); - } - }); - } - } - f.on(document, E, '[data-mdb-toggle="modal"]', function (t) { - const e = l(this); - ["A", "AREA"].includes(this.tagName) && t.preventDefault(), - f.one(e, En, (t) => { - t.defaultPrevented || - f.one(e, wn, () => { - dt(this) && this.focus(); - }); - }), - y.find(".modal.show").forEach((t) => { - t.classList.contains("modal-non-invasive-show") || Dn.getInstance(t).hide(); - }), - Dn.getOrCreateInstance(e).toggle(this); - }), - be(Dn), - t(Dn); - _ = Dn; - const jn = "modal", - Mn = [ - { name: "show", parametersToCopy: ["relatedTarget"] }, - { name: "shown", parametersToCopy: ["relatedTarget"] }, - { name: "hide" }, - { name: "hidePrevented" }, - { name: "hidden" }, - ]; - class Pn extends _ { - constructor(t, e) { - super(t, e), this._init(); - } - dispose() { - s.off(this._element, "show.bs.modal"), - s.off(this._element, "shown.bs.modal"), - s.off(this._element, "hide.bs.modal"), - s.off(this._element, "hidden.bs.modal"), - s.off(this._element, "hidePrevented.bs.modal"), - super.dispose(); - } - static get NAME() { - return jn; - } - _init() { - this._bindMdbEvents(); - } - _bindMdbEvents() { - s.extend(this._element, Mn, jn); - } - } - a.find('[data-mdb-toggle="modal"]').forEach((t) => { - var t = H(t), - t = a.findOne(t), - e = Pn.getInstance(t); - e || new Pn(t); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[jn]; - (t.fn[jn] = Pn.jQueryInterface), (t.fn[jn].Constructor = Pn), (t.fn[jn].noConflict = () => ((t.fn[jn] = e), Pn.jQueryInterface)); - } - }); - var Nn = Pn, - O = "top", - L = "bottom", - S = "right", - I = "left", - Rn = "auto", - Hn = [O, L, S, I], - Bn = "start", - Wn = "end", - Fn = "clippingParents", - qn = "viewport", - zn = "popper", - Qn = "reference", - Vn = Hn.reduce(function (t, e) { - return t.concat([e + "-" + Bn, e + "-" + Wn]); - }, []), - Un = [].concat(Hn, [Rn]).reduce(function (t, e) { - return t.concat([e, e + "-" + Bn, e + "-" + Wn]); - }, []), - Yn = "beforeRead", - Xn = "read", - Kn = "afterRead", - $n = "beforeMain", - Gn = "main", - Zn = "afterMain", - Jn = "beforeWrite", - ti = "write", - ei = "afterWrite", - ni = [Yn, Xn, Kn, $n, Gn, Zn, Jn, ti, ei]; - function C(t) { - return t ? (t.nodeName || "").toLowerCase() : null; - } - function A(t) { - var e; - return null == t ? window : "[object Window]" !== t.toString() ? ((e = t.ownerDocument) && e.defaultView) || window : t; - } - function ii(t) { - return t instanceof A(t).Element || t instanceof Element; - } - function T(t) { - return t instanceof A(t).HTMLElement || t instanceof HTMLElement; - } - function oi(t) { - return "undefined" != typeof ShadowRoot && (t instanceof A(t).ShadowRoot || t instanceof ShadowRoot); - } - var ri = { - name: "applyStyles", - enabled: !0, - phase: "write", - fn: function (t) { - var o = t.state; - Object.keys(o.elements).forEach(function (t) { - var e = o.styles[t] || {}, - n = o.attributes[t] || {}, - i = o.elements[t]; - T(i) && - C(i) && - (Object.assign(i.style, e), - Object.keys(n).forEach(function (t) { - var e = n[t]; - !1 === e ? i.removeAttribute(t) : i.setAttribute(t, !0 === e ? "" : e); - })); - }); - }, - effect: function (t) { - var i = t.state, - o = { - popper: { - position: i.options.strategy, - left: "0", - top: "0", - margin: "0", - }, - arrow: { position: "absolute" }, - reference: {}, - }; - return ( - Object.assign(i.elements.popper.style, o.popper), - (i.styles = o), - i.elements.arrow && Object.assign(i.elements.arrow.style, o.arrow), - function () { - Object.keys(i.elements).forEach(function (t) { - var e = i.elements[t], - n = i.attributes[t] || {}, - t = Object.keys((i.styles.hasOwnProperty(t) ? i.styles : o)[t]).reduce(function (t, e) { - return (t[e] = ""), t; - }, {}); - T(e) && - C(e) && - (Object.assign(e.style, t), - Object.keys(n).forEach(function (t) { - e.removeAttribute(t); - })); - }); - } - ); - }, - requires: ["computeStyles"], - }; - function k(t) { - return t.split("-")[0]; - } - var si = Math.max, - ai = Math.min, - ci = Math.round; - function li() { - var t = navigator.userAgentData; - return null != t && t.brands && Array.isArray(t.brands) - ? t.brands - .map(function (t) { - return t.brand + "/" + t.version; - }) - .join(" ") - : navigator.userAgent; - } - function ui() { - return !/^((?!chrome|android).)*safari/i.test(li()); - } - function hi(t, e, n) { - void 0 === e && (e = !1), void 0 === n && (n = !1); - var i = t.getBoundingClientRect(), - o = 1, - r = 1; - e && - T(t) && - ((o = (0 < t.offsetWidth && ci(i.width) / t.offsetWidth) || 1), (r = (0 < t.offsetHeight && ci(i.height) / t.offsetHeight) || 1)); - (e = (ii(t) ? A(t) : window).visualViewport), - (t = !ui() && n), - (n = (i.left + (t && e ? e.offsetLeft : 0)) / o), - (t = (i.top + (t && e ? e.offsetTop : 0)) / r), - (e = i.width / o), - (o = i.height / r); - return { - width: e, - height: o, - top: t, - right: n + e, - bottom: t + o, - left: n, - x: n, - y: t, - }; - } - function di(t) { - var e = hi(t), - n = t.offsetWidth, - i = t.offsetHeight; - return ( - Math.abs(e.width - n) <= 1 && (n = e.width), - Math.abs(e.height - i) <= 1 && (i = e.height), - { x: t.offsetLeft, y: t.offsetTop, width: n, height: i } - ); - } - function fi(t, e) { - var n = e.getRootNode && e.getRootNode(); - if (t.contains(e)) return !0; - if (n && oi(n)) { - var i = e; - do { - if (i && t.isSameNode(i)) return !0; - } while ((i = i.parentNode || i.host)); - } - return !1; - } - function D(t) { - return A(t).getComputedStyle(t); - } - function pi(t) { - return ((ii(t) ? t.ownerDocument : t.document) || window.document).documentElement; - } - function gi(t) { - return "html" === C(t) ? t : t.assignedSlot || t.parentNode || (oi(t) ? t.host : null) || pi(t); - } - function mi(t) { - return T(t) && "fixed" !== D(t).position ? t.offsetParent : null; - } - function _i(t) { - for (var e, n = A(t), i = mi(t); i && ((e = i), 0 <= ["table", "td", "th"].indexOf(C(e))) && "static" === D(i).position; ) i = mi(i); - return ( - ((!i || ("html" !== C(i) && ("body" !== C(i) || "static" !== D(i).position))) && - (i || - (function (t) { - var e = /firefox/i.test(li()), - n = /Trident/i.test(li()); - if (!n || !T(t) || "fixed" !== D(t).position) { - var i = gi(t); - for (oi(i) && (i = i.host); T(i) && ["html", "body"].indexOf(C(i)) < 0; ) { - var o = D(i); - if ( - "none" !== o.transform || - "none" !== o.perspective || - "paint" === o.contain || - -1 !== ["transform", "perspective"].indexOf(o.willChange) || - (e && "filter" === o.willChange) || - (e && o.filter && "none" !== o.filter) - ) - return i; - i = i.parentNode; - } - } - return null; - })(t))) || - n - ); - } - function vi(t) { - return 0 <= ["top", "bottom"].indexOf(t) ? "x" : "y"; - } - function bi(t, e, n) { - return si(t, ai(e, n)); - } - function yi() { - return { top: 0, right: 0, bottom: 0, left: 0 }; - } - function wi(t) { - return Object.assign({}, yi(), t); - } - function Ei(n, t) { - return t.reduce(function (t, e) { - return (t[e] = n), t; - }, {}); - } - var xi = { - name: "arrow", - enabled: !0, - phase: "main", - fn: function (t) { - var e, - n, - i, - o, - r = t.state, - s = t.name, - t = t.options, - a = r.elements.arrow, - c = r.modifiersData.popperOffsets, - l = vi((u = k(r.placement))), - u = 0 <= [I, S].indexOf(u) ? "height" : "width"; - a && - c && - ((t = t.padding), - (n = r), - (n = wi( - "number" != - typeof (t = - "function" == typeof t - ? t( - Object.assign({}, n.rects, { - placement: n.placement, - }) - ) - : t) - ? t - : Ei(t, Hn) - )), - (t = di(a)), - (o = "y" === l ? O : I), - (i = "y" === l ? L : S), - (e = r.rects.reference[u] + r.rects.reference[l] - c[l] - r.rects.popper[u]), - (c = c[l] - r.rects.reference[l]), - (a = (a = _i(a)) ? ("y" === l ? a.clientHeight || 0 : a.clientWidth || 0) : 0), - (o = n[o]), - (n = a - t[u] - n[i]), - (o = bi(o, (i = a / 2 - t[u] / 2 + (e / 2 - c / 2)), n)), - (r.modifiersData[s] = (((a = {})[l] = o), (a.centerOffset = o - i), a))); - }, - effect: function (t) { - var e = t.state; - null != (t = void 0 === (t = t.options.element) ? "[data-popper-arrow]" : t) && - ("string" != typeof t || (t = e.elements.popper.querySelector(t))) && - fi(e.elements.popper, t) && - (e.elements.arrow = t); - }, - requires: ["popperOffsets"], - requiresIfExists: ["preventOverflow"], - }; - function Ci(t) { - return t.split("-")[1]; - } - var Ai = { - top: "auto", - right: "auto", - bottom: "auto", - left: "auto", - }; - function Ti(t) { - var e, - n = t.popper, - i = t.popperRect, - o = t.placement, - r = t.variation, - s = t.offsets, - a = t.position, - c = t.gpuAcceleration, - l = t.adaptive, - u = t.roundOffsets, - t = t.isFixed, - h = s.x, - h = void 0 === h ? 0 : h, - d = s.y, - d = void 0 === d ? 0 : d, - f = "function" == typeof u ? u({ x: h, y: d }) : { x: h, y: d }, - f = ((h = f.x), (d = f.y), s.hasOwnProperty("x")), - s = s.hasOwnProperty("y"), - p = I, - g = O, - m = window, - _ = - (l && - ((_ = "clientHeight"), - (e = "clientWidth"), - (v = _i(n)) === A(n) && "static" !== D((v = pi(n))).position && "absolute" === a && ((_ = "scrollHeight"), (e = "scrollWidth")), - (o !== O && ((o !== I && o !== S) || r !== Wn)) || - ((g = L), (d = (d - ((t && v === m && m.visualViewport ? m.visualViewport.height : v[_]) - i.height)) * (c ? 1 : -1))), - (o !== I && ((o !== O && o !== L) || r !== Wn)) || - ((p = S), (h = (h - ((t && v === m && m.visualViewport ? m.visualViewport.width : v[e]) - i.width)) * (c ? 1 : -1)))), - Object.assign({ position: a }, l && Ai)), - v = - !0 === u - ? ((o = { x: h, y: d }), - (r = A(n)), - (t = o.x), - (o = o.y), - (r = r.devicePixelRatio || 1), - { - x: ci(t * r) / r || 0, - y: ci(o * r) / r || 0, - }) - : { x: h, y: d }; - return ( - (h = v.x), - (d = v.y), - c - ? Object.assign( - {}, - _, - (((e = {})[g] = s ? "0" : ""), - (e[p] = f ? "0" : ""), - (e.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + d + "px)" : "translate3d(" + h + "px, " + d + "px, 0)"), - e) - ) - : Object.assign({}, _, (((i = {})[g] = s ? d + "px" : ""), (i[p] = f ? h + "px" : ""), (i.transform = ""), i)) - ); - } - var Oi = { - name: "computeStyles", - enabled: !0, - phase: "beforeWrite", - fn: function (t) { - var e = t.state, - t = t.options, - n = void 0 === (n = t.gpuAcceleration) || n, - i = void 0 === (i = t.adaptive) || i, - t = void 0 === (t = t.roundOffsets) || t, - n = { - placement: k(e.placement), - variation: Ci(e.placement), - popper: e.elements.popper, - popperRect: e.rects.popper, - gpuAcceleration: n, - isFixed: "fixed" === e.options.strategy, - }; - null != e.modifiersData.popperOffsets && - (e.styles.popper = Object.assign( - {}, - e.styles.popper, - Ti( - Object.assign({}, n, { - offsets: e.modifiersData.popperOffsets, - position: e.options.strategy, - adaptive: i, - roundOffsets: t, - }) - ) - )), - null != e.modifiersData.arrow && - (e.styles.arrow = Object.assign( - {}, - e.styles.arrow, - Ti( - Object.assign({}, n, { - offsets: e.modifiersData.arrow, - position: "absolute", - adaptive: !1, - roundOffsets: t, - }) - ) - )), - (e.attributes.popper = Object.assign({}, e.attributes.popper, { - "data-popper-placement": e.placement, - })); - }, - data: {}, - }, - Li = { passive: !0 }; - var Si = { - name: "eventListeners", - enabled: !0, - phase: "write", - fn: function () {}, - effect: function (t) { - var e = t.state, - n = t.instance, - i = (t = t.options).scroll, - o = void 0 === i || i, - r = void 0 === (i = t.resize) || i, - s = A(e.elements.popper), - a = [].concat(e.scrollParents.reference, e.scrollParents.popper); - return ( - o && - a.forEach(function (t) { - t.addEventListener("scroll", n.update, Li); - }), - r && s.addEventListener("resize", n.update, Li), - function () { - o && - a.forEach(function (t) { - t.removeEventListener("scroll", n.update, Li); - }), - r && s.removeEventListener("resize", n.update, Li); - } - ); - }, - data: {}, - }, - Ii = { - left: "right", - right: "left", - bottom: "top", - top: "bottom", - }; - function ki(t) { - return t.replace(/left|right|bottom|top/g, function (t) { - return Ii[t]; - }); - } - var Di = { start: "end", end: "start" }; - function ji(t) { - return t.replace(/start|end/g, function (t) { - return Di[t]; - }); - } - function Mi(t) { - t = A(t); - return { - scrollLeft: t.pageXOffset, - scrollTop: t.pageYOffset, - }; - } - function Pi(t) { - return hi(pi(t)).left + Mi(t).scrollLeft; - } - function Ni(t) { - var t = D(t), - e = t.overflow, - n = t.overflowX, - t = t.overflowY; - return /auto|scroll|overlay|hidden/.test(e + t + n); - } - function Ri(t, e) { - void 0 === e && (e = []); - var n = (function t(e) { - return 0 <= ["html", "body", "#document"].indexOf(C(e)) ? e.ownerDocument.body : T(e) && Ni(e) ? e : t(gi(e)); - })(t), - t = n === (null == (t = t.ownerDocument) ? void 0 : t.body), - i = A(n), - i = t ? [i].concat(i.visualViewport || [], Ni(n) ? n : []) : n, - n = e.concat(i); - return t ? n : n.concat(Ri(gi(i))); - } - function Hi(t) { - return Object.assign({}, t, { - left: t.x, - top: t.y, - right: t.x + t.width, - bottom: t.y + t.height, - }); - } - function Bi(t, e, n) { - return e === qn - ? Hi( - ((o = n), - (s = A((i = t))), - (a = pi(i)), - (s = s.visualViewport), - (c = a.clientWidth), - (a = a.clientHeight), - (u = l = 0), - s && ((c = s.width), (a = s.height), (r = ui()) || (!r && "fixed" === o)) && ((l = s.offsetLeft), (u = s.offsetTop)), - { width: c, height: a, x: l + Pi(i), y: u }) - ) - : ii(e) - ? (((o = hi((r = e), !1, "fixed" === (o = n))).top = o.top + r.clientTop), - (o.left = o.left + r.clientLeft), - (o.bottom = o.top + r.clientHeight), - (o.right = o.left + r.clientWidth), - (o.width = r.clientWidth), - (o.height = r.clientHeight), - (o.x = o.left), - (o.y = o.top), - o) - : Hi( - ((s = pi(t)), - (c = pi(s)), - (a = Mi(s)), - (l = null == (l = s.ownerDocument) ? void 0 : l.body), - (i = si(c.scrollWidth, c.clientWidth, l ? l.scrollWidth : 0, l ? l.clientWidth : 0)), - (u = si(c.scrollHeight, c.clientHeight, l ? l.scrollHeight : 0, l ? l.clientHeight : 0)), - (s = -a.scrollLeft + Pi(s)), - (a = -a.scrollTop), - "rtl" === D(l || c).direction && (s += si(c.clientWidth, l ? l.clientWidth : 0) - i), - { width: i, height: u, x: s, y: a }) - ); - var i, o, r, s, a, c, l, u; - } - function Wi(n, t, e, i) { - var o, - r = - "clippingParents" === t - ? ((s = Ri(gi((r = n)))), - ii((o = 0 <= ["absolute", "fixed"].indexOf(D(r).position) && T(r) ? _i(r) : r)) - ? s.filter(function (t) { - return ii(t) && fi(t, o) && "body" !== C(t); - }) - : []) - : [].concat(t), - s = [].concat(r, [e]), - t = s[0], - e = s.reduce( - function (t, e) { - e = Bi(n, e, i); - return ( - (t.top = si(e.top, t.top)), (t.right = ai(e.right, t.right)), (t.bottom = ai(e.bottom, t.bottom)), (t.left = si(e.left, t.left)), t - ); - }, - Bi(n, t, i) - ); - return (e.width = e.right - e.left), (e.height = e.bottom - e.top), (e.x = e.left), (e.y = e.top), e; - } - function Fi(t) { - var e, - n = t.reference, - i = t.element, - t = t.placement, - o = t ? k(t) : null, - t = t ? Ci(t) : null, - r = n.x + n.width / 2 - i.width / 2, - s = n.y + n.height / 2 - i.height / 2; - switch (o) { - case O: - e = { x: r, y: n.y - i.height }; - break; - case L: - e = { x: r, y: n.y + n.height }; - break; - case S: - e = { x: n.x + n.width, y: s }; - break; - case I: - e = { x: n.x - i.width, y: s }; - break; - default: - e = { x: n.x, y: n.y }; - } - var a = o ? vi(o) : null; - if (null != a) { - var c = "y" === a ? "height" : "width"; - switch (t) { - case Bn: - e[a] = e[a] - (n[c] / 2 - i[c] / 2); - break; - case Wn: - e[a] = e[a] + (n[c] / 2 - i[c] / 2); - } - } - return e; - } - function qi(t, e) { - var i, - e = (e = void 0 === e ? {} : e), - n = e.placement, - n = void 0 === n ? t.placement : n, - o = e.strategy, - o = void 0 === o ? t.strategy : o, - r = e.boundary, - r = void 0 === r ? Fn : r, - s = e.rootBoundary, - s = void 0 === s ? qn : s, - a = e.elementContext, - a = void 0 === a ? zn : a, - c = e.altBoundary, - c = void 0 !== c && c, - e = e.padding, - e = void 0 === e ? 0 : e, - e = wi("number" != typeof e ? e : Ei(e, Hn)), - l = t.rects.popper, - c = t.elements[c ? (a === zn ? Qn : zn) : a], - c = Wi(ii(c) ? c : c.contextElement || pi(t.elements.popper), r, s, o), - r = hi(t.elements.reference), - s = Fi({ - reference: r, - element: l, - strategy: "absolute", - placement: n, - }), - o = Hi(Object.assign({}, l, s)), - l = a === zn ? o : r, - u = { - top: c.top - l.top + e.top, - bottom: l.bottom - c.bottom + e.bottom, - left: c.left - l.left + e.left, - right: l.right - c.right + e.right, - }, - s = t.modifiersData.offset; - return ( - a === zn && - s && - ((i = s[n]), - Object.keys(u).forEach(function (t) { - var e = 0 <= [S, L].indexOf(t) ? 1 : -1, - n = 0 <= [O, L].indexOf(t) ? "y" : "x"; - u[t] += i[n] * e; - })), - u - ); - } - var zi = { - name: "flip", - enabled: !0, - phase: "main", - fn: function (t) { - var h = t.state, - e = t.options, - t = t.name; - if (!h.modifiersData[t]._skip) { - for ( - var n = e.mainAxis, - i = void 0 === n || n, - n = e.altAxis, - o = void 0 === n || n, - n = e.fallbackPlacements, - d = e.padding, - f = e.boundary, - p = e.rootBoundary, - r = e.altBoundary, - s = e.flipVariations, - g = void 0 === s || s, - m = e.allowedAutoPlacements, - s = h.options.placement, - e = k(s), - n = n || (e === s || !g ? [ki(s)] : k((n = s)) === Rn ? [] : ((e = ki(n)), [ji(n), e, ji(e)])), - a = [s].concat(n).reduce(function (t, e) { - return t.concat( - k(e) === Rn - ? ((n = h), - (i = (t = t = - void 0 === - (t = { - placement: e, - boundary: f, - rootBoundary: p, - padding: d, - flipVariations: g, - allowedAutoPlacements: m, - }) - ? {} - : t).placement), - (o = t.boundary), - (r = t.rootBoundary), - (s = t.padding), - (a = t.flipVariations), - (c = void 0 === (t = t.allowedAutoPlacements) ? Un : t), - (l = Ci(i)), - (t = l - ? a - ? Vn - : Vn.filter(function (t) { - return Ci(t) === l; - }) - : Hn), - (u = (i = - 0 === - (i = t.filter(function (t) { - return 0 <= c.indexOf(t); - })).length - ? t - : i).reduce(function (t, e) { - return ( - (t[e] = qi(n, { - placement: e, - boundary: o, - rootBoundary: r, - padding: s, - })[k(e)]), - t - ); - }, {})), - Object.keys(u).sort(function (t, e) { - return u[t] - u[e]; - })) - : e - ); - var n, i, o, r, s, a, c, l, u; - }, []), - c = h.rects.reference, - l = h.rects.popper, - u = new Map(), - _ = !0, - v = a[0], - b = 0; - b < a.length; - b++ - ) { - var y = a[b], - w = k(y), - E = Ci(y) === Bn, - x = 0 <= [O, L].indexOf(w), - C = x ? "width" : "height", - A = qi(h, { - placement: y, - boundary: f, - rootBoundary: p, - altBoundary: r, - padding: d, - }), - x = x ? (E ? S : I) : E ? L : O, - E = (c[C] > l[C] && (x = ki(x)), ki(x)), - C = []; - if ( - (i && C.push(A[w] <= 0), - o && C.push(A[x] <= 0, A[E] <= 0), - C.every(function (t) { - return t; - })) - ) { - (v = y), (_ = !1); - break; - } - u.set(y, C); - } - if (_) - for (var T = g ? 3 : 1; 0 < T; T--) - if ( - "break" === - (function (e) { - var t = a.find(function (t) { - t = u.get(t); - if (t) - return t.slice(0, e).every(function (t) { - return t; - }); - }); - if (t) return (v = t), "break"; - })(T) - ) - break; - h.placement !== v && ((h.modifiersData[t]._skip = !0), (h.placement = v), (h.reset = !0)); - } - }, - requiresIfExists: ["offset"], - data: { _skip: !1 }, - }; - function Qi(t, e, n) { - return { - top: t.top - e.height - (n = void 0 === n ? { x: 0, y: 0 } : n).y, - right: t.right - e.width + n.x, - bottom: t.bottom - e.height + n.y, - left: t.left - e.width - n.x, - }; - } - function Vi(e) { - return [O, S, L, I].some(function (t) { - return 0 <= e[t]; - }); - } - var Ui = { - name: "hide", - enabled: !0, - phase: "main", - requiresIfExists: ["preventOverflow"], - fn: function (t) { - var e = t.state, - t = t.name, - n = e.rects.reference, - i = e.rects.popper, - o = e.modifiersData.preventOverflow, - r = qi(e, { elementContext: "reference" }), - s = qi(e, { altBoundary: !0 }), - r = Qi(r, n), - n = Qi(s, i, o), - s = Vi(r), - i = Vi(n); - (e.modifiersData[t] = { - referenceClippingOffsets: r, - popperEscapeOffsets: n, - isReferenceHidden: s, - hasPopperEscaped: i, - }), - (e.attributes.popper = Object.assign({}, e.attributes.popper, { - "data-popper-reference-hidden": s, - "data-popper-escaped": i, - })); - }, - }; - var Yi = { - name: "offset", - enabled: !0, - phase: "main", - requires: ["popperOffsets"], - fn: function (t) { - var s = t.state, - e = t.options, - t = t.name, - a = void 0 === (e = e.offset) ? [0, 0] : e, - e = Un.reduce(function (t, e) { - var n, i, o, r; - return ( - (t[e] = - ((e = e), - (n = s.rects), - (i = a), - (o = k(e)), - (r = 0 <= [I, O].indexOf(o) ? -1 : 1), - (e = - (n = - "function" == typeof i - ? i( - Object.assign({}, n, { - placement: e, - }) - ) - : i)[0] || 0), - (i = (n[1] || 0) * r), - 0 <= [I, S].indexOf(o) ? { x: i, y: e } : { x: e, y: i })), - t - ); - }, {}), - n = (i = e[s.placement]).x, - i = i.y; - null != s.modifiersData.popperOffsets && ((s.modifiersData.popperOffsets.x += n), (s.modifiersData.popperOffsets.y += i)), - (s.modifiersData[t] = e); - }, - }; - var Xi = { - name: "popperOffsets", - enabled: !0, - phase: "read", - fn: function (t) { - var e = t.state, - t = t.name; - e.modifiersData[t] = Fi({ - reference: e.rects.reference, - element: e.rects.popper, - strategy: "absolute", - placement: e.placement, - }); - }, - data: {}, - }; - var Ki = { - name: "preventOverflow", - enabled: !0, - phase: "main", - fn: function (t) { - var e, - n, - i, - o, - r, - s, - a, - c, - l, - u = t.state, - h = t.options, - t = t.name, - d = void 0 === (d = h.mainAxis) || d, - f = void 0 !== (f = h.altAxis) && f, - p = h.boundary, - g = h.rootBoundary, - m = h.altBoundary, - _ = h.padding, - v = void 0 === (v = h.tether) || v, - h = void 0 === (h = h.tetherOffset) ? 0 : h, - p = qi(u, { - boundary: p, - rootBoundary: g, - padding: _, - altBoundary: m, - }), - g = k(u.placement), - m = !(_ = Ci(u.placement)), - b = vi(g), - y = "x" === b ? "y" : "x", - w = u.modifiersData.popperOffsets, - E = u.rects.reference, - x = u.rects.popper, - h = - "number" == - typeof (h = - "function" == typeof h - ? h( - Object.assign({}, u.rects, { - placement: u.placement, - }) - ) - : h) - ? { mainAxis: h, altAxis: h } - : Object.assign({ mainAxis: 0, altAxis: 0 }, h), - C = u.modifiersData.offset ? u.modifiersData.offset[u.placement] : null, - A = { x: 0, y: 0 }; - w && - (d && - ((d = "y" === b ? "height" : "width"), - (s = (a = w[b]) + p[(n = "y" === b ? O : I)]), - (c = a - p[(l = "y" === b ? L : S)]), - (e = v ? -x[d] / 2 : 0), - (o = (_ === Bn ? E : x)[d]), - (_ = _ === Bn ? -x[d] : -E[d]), - (r = u.elements.arrow), - (r = v && r ? di(r) : { width: 0, height: 0 }), - (n = (i = u.modifiersData["arrow#persistent"] ? u.modifiersData["arrow#persistent"].padding : yi())[n]), - (i = i[l]), - (l = bi(0, E[d], r[d])), - (r = m ? E[d] / 2 - e - l - n - h.mainAxis : o - l - n - h.mainAxis), - (o = m ? -E[d] / 2 + e + l + i + h.mainAxis : _ + l + i + h.mainAxis), - (m = (n = u.elements.arrow && _i(u.elements.arrow)) ? ("y" === b ? n.clientTop || 0 : n.clientLeft || 0) : 0), - (_ = a + o - (e = null != (d = null == C ? void 0 : C[b]) ? d : 0)), - (l = bi(v ? ai(s, a + r - e - m) : s, a, v ? si(c, _) : c)), - (w[b] = l), - (A[b] = l - a)), - f && - ((i = "y" == y ? "height" : "width"), - (o = (n = w[y]) + p["x" === b ? O : I]), - (d = n - p["x" === b ? L : S]), - (r = -1 !== [O, I].indexOf(g)), - (m = null != (e = null == C ? void 0 : C[y]) ? e : 0), - (s = r ? o : n - E[i] - x[i] - m + h.altAxis), - (_ = r ? n + E[i] + x[i] - m - h.altAxis : d), - (a = v && r ? ((c = bi((c = s), n, (l = _))), l < c ? l : c) : bi(v ? s : o, n, v ? _ : d)), - (w[y] = a), - (A[y] = a - n)), - (u.modifiersData[t] = A)); - }, - requiresIfExists: ["offset"], - }; - function $i(t, e, n) { - void 0 === n && (n = !1); - var i = T(e), - o = - T(e) && - ((s = (o = e).getBoundingClientRect()), - (r = ci(s.width) / o.offsetWidth || 1), - (s = ci(s.height) / o.offsetHeight || 1), - 1 !== r || 1 !== s), - r = pi(e), - s = hi(t, o, n), - t = { scrollLeft: 0, scrollTop: 0 }, - a = { x: 0, y: 0 }; - return ( - (!i && n) || - (("body" === C(e) && !Ni(r)) || - (t = - (i = e) !== A(i) && T(i) - ? { - scrollLeft: i.scrollLeft, - scrollTop: i.scrollTop, - } - : Mi(i)), - T(e) ? (((a = hi(e, !0)).x += e.clientLeft), (a.y += e.clientTop)) : r && (a.x = Pi(r))), - { - x: s.left + t.scrollLeft - a.x, - y: s.top + t.scrollTop - a.y, - width: s.width, - height: s.height, - } - ); - } - function Gi(t) { - var n = new Map(), - i = new Set(), - o = []; - return ( - t.forEach(function (t) { - n.set(t.name, t); - }), - t.forEach(function (t) { - i.has(t.name) || - !(function e(t) { - i.add(t.name), - [].concat(t.requires || [], t.requiresIfExists || []).forEach(function (t) { - i.has(t) || ((t = n.get(t)) && e(t)); - }), - o.push(t); - })(t); - }), - o - ); - } - var Zi = { - placement: "bottom", - modifiers: [], - strategy: "absolute", - }; - function Ji() { - for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n]; - return !e.some(function (t) { - return !(t && "function" == typeof t.getBoundingClientRect); - }); - } - function to(t) { - var t = (t = void 0 === t ? {} : t), - e = t.defaultModifiers, - h = void 0 === e ? [] : e, - e = t.defaultOptions, - d = void 0 === e ? Zi : e; - return function (i, o, e) { - void 0 === e && (e = d); - var n, - r, - s = { - placement: "bottom", - orderedModifiers: [], - options: Object.assign({}, Zi, d), - modifiersData: {}, - elements: { reference: i, popper: o }, - attributes: {}, - styles: {}, - }, - a = [], - c = !1, - l = { - state: s, - setOptions: function (t) { - var n, - e, - t = "function" == typeof t ? t(s.options) : t, - t = - (u(), - (s.options = Object.assign({}, d, s.options, t)), - (s.scrollParents = { - reference: ii(i) ? Ri(i) : i.contextElement ? Ri(i.contextElement) : [], - popper: Ri(o), - }), - (t = [].concat(h, s.options.modifiers)), - (e = t.reduce(function (t, e) { - var n = t[e.name]; - return ( - (t[e.name] = n - ? Object.assign({}, n, e, { - options: Object.assign({}, n.options, e.options), - data: Object.assign({}, n.data, e.data), - }) - : e), - t - ); - }, {})), - (t = Object.keys(e).map(function (t) { - return e[t]; - })), - (n = Gi(t)), - ni.reduce(function (t, e) { - return t.concat( - n.filter(function (t) { - return t.phase === e; - }) - ); - }, [])); - return ( - (s.orderedModifiers = t.filter(function (t) { - return t.enabled; - })), - s.orderedModifiers.forEach(function (t) { - var e = t.name, - n = t.options, - t = t.effect; - "function" == typeof t && - ((t = t({ - state: s, - name: e, - instance: l, - options: void 0 === n ? {} : n, - })), - a.push(t || function () {})); - }), - l.update() - ); - }, - forceUpdate: function () { - if (!c) { - var t = s.elements, - e = t.reference, - t = t.popper; - if (Ji(e, t)) { - (s.rects = { - reference: $i(e, _i(t), "fixed" === s.options.strategy), - popper: di(t), - }), - (s.reset = !1), - (s.placement = s.options.placement), - s.orderedModifiers.forEach(function (t) { - return (s.modifiersData[t.name] = Object.assign({}, t.data)); - }); - for (var n, i, o, r = 0; r < s.orderedModifiers.length; r++) - !0 === s.reset - ? ((s.reset = !1), (r = -1)) - : ((n = (o = s.orderedModifiers[r]).fn), - (i = o.options), - (o = o.name), - "function" == typeof n && - (s = - n({ - state: s, - options: void 0 === i ? {} : i, - name: o, - instance: l, - }) || s)); - } - } - }, - update: - ((n = function () { - return new Promise(function (t) { - l.forceUpdate(), t(s); - }); - }), - function () { - return (r = - r || - new Promise(function (t) { - Promise.resolve().then(function () { - (r = void 0), t(n()); - }); - })); - }), - destroy: function () { - u(), (c = !0); - }, - }; - return ( - Ji(i, o) && - l.setOptions(e).then(function (t) { - !c && e.onFirstUpdate && e.onFirstUpdate(t); - }), - l - ); - function u() { - a.forEach(function (t) { - return t(); - }), - (a = []); - } - }; - } - var eo = to(), - no = to({ - defaultModifiers: [Si, Xi, Oi, ri, Yi, zi, Ki, xi, Ui], - }), - io = to({ defaultModifiers: [Si, Xi, Oi, ri] }); - const oo = new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]); - const ro = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i, - so = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; - v = { - "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], - a: ["target", "href", "title", "rel"], - area: [], - b: [], - br: [], - col: [], - code: [], - div: [], - em: [], - hr: [], - h1: [], - h2: [], - h3: [], - h4: [], - h5: [], - h6: [], - i: [], - img: ["src", "srcset", "alt", "title", "width", "height"], - li: [], - ol: [], - p: [], - pre: [], - s: [], - small: [], - span: [], - sub: [], - sup: [], - strong: [], - u: [], - ul: [], - }; - function ao(t, e, n) { - if (!t.length) return t; - if (n && "function" == typeof n) return n(t); - n = new window.DOMParser().parseFromString(t, "text/html"); - for (const s of [].concat(...n.body.querySelectorAll("*"))) { - var i = s.nodeName.toLowerCase(); - if (Object.keys(e).includes(i)) { - var o = [].concat(...s.attributes), - r = [].concat(e["*"] || [], e[i] || []); - for (const a of o) - ((t, e) => { - const n = t.nodeName.toLowerCase(); - return e.includes(n) - ? !oo.has(n) || Boolean(ro.test(t.nodeValue) || so.test(t.nodeValue)) - : e.filter((t) => t instanceof RegExp).some((t) => t.test(n)); - })(a, r) || s.removeAttribute(a.nodeName); - } else s.remove(); - } - return n.body.innerHTML; - } - const co = { - allowList: v, - content: {}, - extraClass: "", - html: !1, - sanitize: !0, - sanitizeFn: null, - template: "
    ", - }, - lo = { - allowList: "object", - content: "object", - extraClass: "(string|function)", - html: "boolean", - sanitize: "boolean", - sanitizeFn: "(null|function)", - template: "string", - }, - uo = { - entry: "(string|element|function|null)", - selector: "(string|element)", - }; - var ho = class extends g { - constructor(t) { - super(), (this._config = this._getConfig(t)); - } - static get Default() { - return co; - } - static get DefaultType() { - return lo; - } - static get NAME() { - return "TemplateFactory"; - } - getContent() { - return Object.values(this._config.content) - .map((t) => this._resolvePossibleFunction(t)) - .filter(Boolean); - } - hasContent() { - return 0 < this.getContent().length; - } - changeContent(t) { - return ( - this._checkContent(t), - (this._config.content = { - ...this._config.content, - ...t, - }), - this - ); - } - toHtml() { - var t, - e, - n = document.createElement("div"); - n.innerHTML = this._maybeSanitize(this._config.template); - for ([t, e] of Object.entries(this._config.content)) this._setContent(n, e, t); - var i = n.children[0], - o = this._resolvePossibleFunction(this._config.extraClass); - return o && i.classList.add(...o.split(" ")), i; - } - _typeCheckConfig(t) { - super._typeCheckConfig(t), this._checkContent(t.content); - } - _checkContent(t) { - for (var [e, n] of Object.entries(t)) super._typeCheckConfig({ selector: e, entry: n }, uo); - } - _setContent(t, e, n) { - n = y.findOne(n, t); - n && - ((e = this._resolvePossibleFunction(e)) - ? u(e) - ? this._putElementInTemplate(ht(e), n) - : this._config.html - ? (n.innerHTML = this._maybeSanitize(e)) - : (n.textContent = e) - : n.remove()); - } - _maybeSanitize(t) { - return this._config.sanitize ? ao(t, this._config.allowList, this._config.sanitizeFn) : t; - } - _resolvePossibleFunction(t) { - return "function" == typeof t ? t(this) : t; - } - _putElementInTemplate(t, e) { - this._config.html ? ((e.innerHTML = ""), e.append(t)) : (e.textContent = t.textContent); - } - }; - const fo = new Set(["sanitize", "allowList", "sanitizeFn"]), - po = "fade"; - const go = "show", - mo = ".".concat("modal"), - _o = "hide.bs.modal", - vo = "hover", - bo = "focus", - yo = { - AUTO: "auto", - TOP: "top", - RIGHT: h() ? "left" : "right", - BOTTOM: "bottom", - LEFT: h() ? "right" : "left", - }, - wo = { - allowList: v, - animation: !0, - boundary: "clippingParents", - container: !1, - customClass: "", - delay: 0, - fallbackPlacements: ["top", "right", "bottom", "left"], - html: !1, - offset: [0, 0], - placement: "top", - popperConfig: null, - sanitize: !0, - sanitizeFn: null, - selector: !1, - template: '', - title: "", - trigger: "hover focus", - }, - Eo = { - allowList: "object", - animation: "boolean", - boundary: "(string|element)", - container: "(string|element|boolean)", - customClass: "(string|function)", - delay: "(number|object)", - fallbackPlacements: "array", - html: "boolean", - offset: "(array|string|function)", - placement: "(string|function)", - popperConfig: "(null|object|function)", - sanitize: "boolean", - sanitizeFn: "(null|function)", - selector: "(string|boolean)", - template: "string", - title: "(string|element|function)", - trigger: "string", - }; - class xo extends m { - constructor(t, e) { - if (void 0 === n) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)"); - super(t, e), - (this._isEnabled = !0), - (this._timeout = 0), - (this._isHovered = null), - (this._activeTrigger = {}), - (this._popper = null), - (this._templateFactory = null), - (this._newContent = null), - (this.tip = null), - this._setListeners(), - this._config.selector || this._fixTitle(); - } - static get Default() { - return wo; - } - static get DefaultType() { - return Eo; - } - static get NAME() { - return "tooltip"; - } - enable() { - this._isEnabled = !0; - } - disable() { - this._isEnabled = !1; - } - toggleEnabled() { - this._isEnabled = !this._isEnabled; - } - toggle() { - this._isEnabled && ((this._activeTrigger.click = !this._activeTrigger.click), this._isShown() ? this._leave() : this._enter()); - } - dispose() { - clearTimeout(this._timeout), - f.off(this._element.closest(mo), _o, this._hideModalHandler), - this._element.getAttribute("data-mdb-original-title") && - this._element.setAttribute("title", this._element.getAttribute("data-mdb-original-title")), - this._disposePopper(), - super.dispose(); - } - show() { - if ("none" === this._element.style.display) throw new Error("Please use show on visible elements"); - if (this._isWithContent() && this._isEnabled) { - var t = f.trigger(this._element, this.constructor.eventName("show")), - e = (pt(this._element) || this._element.ownerDocument.documentElement).contains(this._element); - if (!t.defaultPrevented && e) { - this._disposePopper(); - (t = this._getTipElement()), (e = (this._element.setAttribute("aria-describedby", t.getAttribute("id")), this._config)["container"]); - if ( - (this._element.ownerDocument.documentElement.contains(this.tip) || - (e.append(t), f.trigger(this._element, this.constructor.eventName("inserted"))), - (this._popper = this._createPopper(t)), - t.classList.add(go), - "ontouchstart" in document.documentElement) - ) - for (const n of [].concat(...document.body.children)) f.on(n, "mouseover", gt); - this._queueCallback( - () => { - f.trigger(this._element, this.constructor.eventName("shown")), !1 === this._isHovered && this._leave(), (this._isHovered = !1); - }, - this.tip, - this._isAnimated() - ); - } - } - } - hide() { - if (this._isShown()) { - var t = f.trigger(this._element, this.constructor.eventName("hide")); - if (!t.defaultPrevented) { - if ((this._getTipElement().classList.remove(go), "ontouchstart" in document.documentElement)) - for (const e of [].concat(...document.body.children)) f.off(e, "mouseover", gt); - (this._activeTrigger.click = !1), (this._activeTrigger[bo] = !1), (this._activeTrigger[vo] = !1), (this._isHovered = null); - this._queueCallback( - () => { - this._isWithActiveTrigger() || - (this._isHovered || this._disposePopper(), - this._element.removeAttribute("aria-describedby"), - f.trigger(this._element, this.constructor.eventName("hidden"))); - }, - this.tip, - this._isAnimated() - ); - } - } - } - update() { - this._popper && this._popper.update(); - } - _isWithContent() { - return Boolean(this._getTitle()); - } - _getTipElement() { - return this.tip || (this.tip = this._createTipElement(this._newContent || this._getContentForTemplate())), this.tip; - } - _createTipElement(t) { - t = this._getTemplateFactory(t).toHtml(); - if (!t) return null; - t.classList.remove(po, go), t.classList.add("bs-".concat(this.constructor.NAME, "-auto")); - var e = ((t) => { - for (; (t += Math.floor(1e6 * Math.random())), document.getElementById(t); ); - return t; - })(this.constructor.NAME).toString(); - return t.setAttribute("id", e), this._isAnimated() && t.classList.add(po), t; - } - setContent(t) { - (this._newContent = t), this._isShown() && (this._disposePopper(), this.show()); - } - _getTemplateFactory(t) { - return ( - this._templateFactory - ? this._templateFactory.changeContent(t) - : (this._templateFactory = new ho({ - ...this._config, - content: t, - extraClass: this._resolvePossibleFunction(this._config.customClass), - })), - this._templateFactory - ); - } - _getContentForTemplate() { - return { ".tooltip-inner": this._getTitle() }; - } - _getTitle() { - return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute("data-mdb-original-title"); - } - _initializeOnDelegatedTarget(t) { - return this.constructor.getOrCreateInstance(t.delegateTarget, this._getDelegateConfig()); - } - _isAnimated() { - return this._config.animation || (this.tip && this.tip.classList.contains(po)); - } - _isShown() { - return this.tip && this.tip.classList.contains(go); - } - _createPopper(t) { - var e = "function" == typeof this._config.placement ? this._config.placement.call(this, t, this._element) : this._config.placement, - e = yo[e.toUpperCase()]; - return no(this._element, t, this._getPopperConfig(e)); - } - _getOffset() { - const e = this._config["offset"]; - return "string" == typeof e ? e.split(",").map((t) => Number.parseInt(t, 10)) : "function" == typeof e ? (t) => e(t, this._element) : e; - } - _resolvePossibleFunction(t) { - return "function" == typeof t ? t.call(this._element) : t; - } - _getPopperConfig(t) { - t = { - placement: t, - modifiers: [ - { - name: "flip", - options: { - fallbackPlacements: this._config.fallbackPlacements, - }, - }, - { - name: "offset", - options: { offset: this._getOffset() }, - }, - { - name: "preventOverflow", - options: { - boundary: this._config.boundary, - }, - }, - { - name: "arrow", - options: { - element: ".".concat(this.constructor.NAME, "-arrow"), - }, - }, - { - name: "preSetPlacement", - enabled: !0, - phase: "beforeMain", - fn: (t) => { - this._getTipElement().setAttribute("data-popper-placement", t.state.placement); - }, - }, - ], - }; - return { - ...t, - ...("function" == typeof this._config.popperConfig ? this._config.popperConfig(t) : this._config.popperConfig), - }; - } - _setListeners() { - var t, e; - for (const n of this._config.trigger.split(" ")) - "click" === n - ? f.on(this._element, this.constructor.eventName("click"), this._config.selector, (t) => { - this._initializeOnDelegatedTarget(t).toggle(); - }) - : "manual" !== n && - ((t = n === vo ? this.constructor.eventName("mouseenter") : this.constructor.eventName("focusin")), - (e = n === vo ? this.constructor.eventName("mouseleave") : this.constructor.eventName("focusout")), - f.on(this._element, t, this._config.selector, (t) => { - var e = this._initializeOnDelegatedTarget(t); - (e._activeTrigger["focusin" === t.type ? bo : vo] = !0), e._enter(); - }), - f.on(this._element, e, this._config.selector, (t) => { - var e = this._initializeOnDelegatedTarget(t); - (e._activeTrigger["focusout" === t.type ? bo : vo] = e._element.contains(t.relatedTarget)), e._leave(); - })); - (this._hideModalHandler = () => { - this._element && this.hide(); - }), - f.on(this._element.closest(mo), _o, this._hideModalHandler); - } - _fixTitle() { - var t = this._element.getAttribute("title"); - t && - (this._element.getAttribute("aria-label") || this._element.textContent.trim() || this._element.setAttribute("aria-label", t), - this._element.setAttribute("data-mdb-original-title", t), - this._element.removeAttribute("title")); - } - _enter() { - this._isShown() || this._isHovered - ? (this._isHovered = !0) - : ((this._isHovered = !0), - this._setTimeout(() => { - this._isHovered && this.show(); - }, this._config.delay.show)); - } - _leave() { - this._isWithActiveTrigger() || - ((this._isHovered = !1), - this._setTimeout(() => { - this._isHovered || this.hide(); - }, this._config.delay.hide)); - } - _setTimeout(t, e) { - clearTimeout(this._timeout), (this._timeout = setTimeout(t, e)); - } - _isWithActiveTrigger() { - return Object.values(this._activeTrigger).includes(!0); - } - _getConfig(t) { - var e = p.getDataAttributes(this._element); - for (const n of Object.keys(e)) fo.has(n) && delete e[n]; - return ( - (t = { - ...e, - ...("object" == typeof t && t ? t : {}), - }), - (t = this._mergeConfigObj(t)), - (t = this._configAfterMerge(t)), - this._typeCheckConfig(t), - t - ); - } - _configAfterMerge(t) { - return ( - (t.container = !1 === t.container ? document.body : ht(t.container)), - "number" == typeof t.delay && (t.delay = { show: t.delay, hide: t.delay }), - "number" == typeof t.title && (t.title = t.title.toString()), - "number" == typeof t.content && (t.content = t.content.toString()), - t - ); - } - _getDelegateConfig() { - var t = {}; - for (const e in this._config) this.constructor.Default[e] !== this._config[e] && (t[e] = this._config[e]); - return (t.selector = !1), (t.trigger = "manual"), t; - } - _disposePopper() { - this._popper && (this._popper.destroy(), (this._popper = null)), this.tip && (this.tip.remove(), (this.tip = null)); - } - static jQueryInterface(e) { - return this.each(function () { - var t = xo.getOrCreateInstance(this, e); - if ("string" == typeof e) { - if (void 0 === t[e]) throw new TypeError('No method named "'.concat(e, '"')); - t[e](); - } - }); - } - } - t(xo); - w = xo; - const Co = { - ...w.Default, - content: "", - offset: [0, 8], - placement: "right", - template: - '', - trigger: "click", - }, - Ao = { - ...w.DefaultType, - content: "(null|string|element|function)", - }; - class To extends w { - static get Default() { - return Co; - } - static get DefaultType() { - return Ao; - } - static get NAME() { - return "popover"; - } - _isWithContent() { - return this._getTitle() || this._getContent(); - } - _getContentForTemplate() { - return { - ".popover-header": this._getTitle(), - ".popover-body": this._getContent(), - }; - } - _getContent() { - return this._resolvePossibleFunction(this._config.content); - } - static jQueryInterface(e) { - return this.each(function () { - var t = To.getOrCreateInstance(this, e); - if ("string" == typeof e) { - if (void 0 === t[e]) throw new TypeError('No method named "'.concat(e, '"')); - t[e](); - } - }); - } - } - t(To); - E = To; - const Oo = "popover", - Lo = [{ name: "show" }, { name: "shown" }, { name: "hide" }, { name: "hidden" }, { name: "inserted" }]; - class So extends E { - constructor(t, e) { - super(t, e), this._init(); - } - dispose() { - s.off(this.element, "show.bs.popover"), - s.off(this.element, "shown.bs.popover"), - s.off(this.element, "hide.bs.popover"), - s.off(this.element, "hidden.bs.popover"), - s.off(this.element, "inserted.bs.popover"), - super.dispose(); - } - static get NAME() { - return Oo; - } - _init() { - this._bindMdbEvents(); - } - _bindMdbEvents() { - s.extend(this._element, Lo, Oo); - } - } - a.find('[data-mdb-toggle="popover"]').forEach((t) => { - var e = So.getInstance(t); - e || new So(t); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[Oo]; - (t.fn[Oo] = So.jQueryInterface), (t.fn[Oo].Constructor = So), (t.fn[Oo].noConflict = () => ((t.fn[Oo] = e), So.jQueryInterface)); - } - }); - var Io = So; - _ = ".".concat("bs.scrollspy"); - const ko = "activate".concat(_), - Do = "click".concat(_); - "load".concat(_).concat(".data-api"); - const jo = "active"; - const Mo = "[href]"; - g = ".nav-link"; - const Po = "".concat(g, ", ").concat(".nav-item", " > ").concat(g, ", ").concat(".list-group-item"), - No = { - offset: null, - rootMargin: "0px 0px -25%", - smoothScroll: !1, - target: null, - threshold: [0.1, 0.5, 1], - }, - Ro = { - offset: "(number|null)", - rootMargin: "string", - smoothScroll: "boolean", - target: "element", - threshold: "array", - }; - class Ho extends m { - constructor(t, e) { - super(t, e), - this._config.target && - ((this._targetLinks = new Map()), - (this._observableSections = new Map()), - (this._rootElement = "visible" === getComputedStyle(this._element).overflowY ? null : this._element), - (this._activeTarget = null), - (this._observer = null), - (this._previousScrollData = { - visibleEntryTop: 0, - parentScrollTop: 0, - }), - this.refresh()); - } - static get Default() { - return No; - } - static get DefaultType() { - return Ro; - } - static get NAME() { - return "scrollspy"; - } - refresh() { - this._initializeTargetsAndObservables(), - this._maybeEnableSmoothScroll(), - this._observer ? this._observer.disconnect() : (this._observer = this._getNewObserver()); - for (const t of this._observableSections.values()) this._observer.observe(t); - } - dispose() { - this._observer && this._observer.disconnect(), super.dispose(); - } - _configAfterMerge(t) { - return ( - (t.target = ht(t.target) || document.body), - (t.rootMargin = t.offset ? "".concat(t.offset, "px 0px -30%") : t.rootMargin), - "string" == typeof t.threshold && (t.threshold = t.threshold.split(",").map((t) => Number.parseFloat(t))), - t - ); - } - _maybeEnableSmoothScroll() { - this._config.smoothScroll && - (f.off(this._config.target, Do), - f.on(this._config.target, Do, Mo, (t) => { - var e = this._observableSections.get(t.target.hash); - e && - (t.preventDefault(), - (t = this._rootElement || window), - (e = e.offsetTop - this._element.offsetTop), - t.scrollTo - ? t.scrollTo({ - top: e, - behavior: "smooth", - }) - : (t.scrollTop = e)); - })); - } - _getNewObserver() { - var t = { - root: this._rootElement, - threshold: this._config.threshold, - rootMargin: this._config.rootMargin, - }; - return new IntersectionObserver((t) => this._observerCallback(t), t); - } - _observerCallback(t) { - const e = (t) => this._targetLinks.get("#".concat(t.target.id)); - var n = (t) => { - (this._previousScrollData.visibleEntryTop = t.target.offsetTop), this._process(e(t)); - }, - i = (this._rootElement || document.documentElement).scrollTop, - o = i >= this._previousScrollData.parentScrollTop; - this._previousScrollData.parentScrollTop = i; - for (const s of t) - if (s.isIntersecting) { - var r = s.target.offsetTop >= this._previousScrollData.visibleEntryTop; - if (o && r) { - if ((n(s), i)) continue; - return; - } - o || r || n(s); - } else (this._activeTarget = null), this._clearActiveClass(e(s)); - } - _initializeTargetsAndObservables() { - var t; - (this._targetLinks = new Map()), (this._observableSections = new Map()); - for (const e of y.find(Mo, this._config.target)) - e.hash && - !ft(e) && - ((t = y.findOne(e.hash, this._element)), dt(t)) && - (this._targetLinks.set(e.hash, e), this._observableSections.set(e.hash, t)); - } - _process(t) { - this._activeTarget !== t && - (this._clearActiveClass(this._config.target), - (this._activeTarget = t).classList.add(jo), - this._activateParents(t), - f.trigger(this._element, ko, { relatedTarget: t })); - } - _activateParents(t) { - if (t.classList.contains("dropdown-item")) y.findOne(".dropdown-toggle", t.closest(".dropdown")).classList.add(jo); - else for (const e of y.parents(t, ".nav, .list-group")) for (const n of y.prev(e, Po)) n.classList.add(jo); - } - _clearActiveClass(t) { - t.classList.remove(jo); - for (const e of y.find("".concat(Mo, ".").concat(jo), t)) e.classList.remove(jo); - } - static jQueryInterface(e) { - return this.each(function () { - var t = Ho.getOrCreateInstance(this, e); - if ("string" == typeof e) { - if (void 0 === t[e] || e.startsWith("_") || "constructor" === e) throw new TypeError('No method named "'.concat(e, '"')); - t[e](); - } - }); - } - } - t(Ho); - v = Ho; - const Bo = "scrollspy"; - (E = "mdb.".concat(Bo)), (_ = ".".concat(E)); - const Wo = "activate.bs.scrollspy", - Fo = "activate".concat(_); - g = "load".concat(_).concat(".data-api"); - const qo = "collapsible-scrollspy"; - const zo = ".".concat("active"), - Qo = ".".concat(qo); - class Vo extends v { - constructor(t, e) { - super(t, e), (this._collapsibles = []), this._init(); - } - dispose() { - s.off(this._scrollElement, Wo), super.dispose(); - } - static get NAME() { - return Bo; - } - _init() { - this._bindActivateEvent(), this._getCollapsibles(), 0 !== this._collapsibles.length && (this._showSubsection(), this._hideSubsection()); - } - _getHeight(t) { - return t.offsetHeight; - } - _hide(t) { - t = a.findOne("ul", t.parentNode); - (t.style.overflow = "hidden"), (t.style.height = "".concat(0, "px")); - } - _show(t, e) { - t.style.height = e; - } - _getCollapsibles() { - var t = a.find(Qo); - t && - t.forEach((t) => { - var e = t.parentNode, - e = a.findOne("ul", e), - n = e.offsetHeight; - this._collapsibles.push({ - element: e, - relatedTarget: t.getAttribute("href"), - height: "".concat(n, "px"), - }); - }); - } - _showSubsection() { - a.find(zo) - .filter((t) => c.hasClass(t, qo)) - .forEach((e) => { - var t = a.findOne("ul", e.parentNode), - n = this._collapsibles.find((t) => (t.relatedTarget = e.getAttribute("href"))).height; - this._show(t, n); - }); - } - _hideSubsection() { - a.find(Qo) - .filter((t) => !1 === c.hasClass(t, "active")) - .forEach((t) => { - this._hide(t); - }); - } - _bindActivateEvent() { - s.on(this._element, Wo, (t) => { - this._showSubsection(), - this._hideSubsection(), - s.trigger(this._element, Fo, { - relatedTarget: t.relatedTarget, - }); - }); - } - } - s.on(window, g, () => { - a.find('[data-mdb-spy="scroll"]').forEach((t) => { - var e = Vo.getInstance(t); - e || new Vo(t, c.getDataAttributes(t)); - }); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[Bo]; - (t.fn[Bo] = Vo.jQueryInterface), (t.fn[Bo].Constructor = Vo), (t.fn[Bo].noConflict = () => ((t.fn[Bo] = e), Vo.jQueryInterface)); - } - }); - var Uo = Vo; - E = ".".concat("bs.tab"); - const Yo = "hide".concat(E), - Xo = "hidden".concat(E), - Ko = "show".concat(E), - $o = "shown".concat(E); - _ = "click".concat(E); - const Go = "keydown".concat(E); - v = "load".concat(E); - const Zo = "ArrowRight", - Jo = "ArrowDown", - tr = "active", - er = "show"; - g = ":not(.dropdown-toggle)"; - (E = ".nav-link".concat(g, ", .list-group-item").concat(g, ', [role="tab"]').concat(g)), - (g = '[data-mdb-toggle="tab"], [data-mdb-toggle="pill"], [data-mdb-toggle="list"]'); - const nr = "".concat(E, ", ").concat(g), - ir = ".".concat(tr, '[data-mdb-toggle="tab"], .').concat(tr, '[data-mdb-toggle="pill"], .').concat(tr, '[data-mdb-toggle="list"]'); - class or extends m { - constructor(t) { - super(t), - (this._parent = this._element.closest('.list-group, .nav, [role="tablist"]')), - this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), f.on(this._element, Go, (t) => this._keydown(t))); - } - static get NAME() { - return "tab"; - } - show() { - var t, - e, - n = this._element; - this._elemIsActive(n) || - ((e = (t = this._getActiveElem()) ? f.trigger(t, Yo, { relatedTarget: n }) : null), - f.trigger(n, Ko, { relatedTarget: t }).defaultPrevented) || - (e && e.defaultPrevented) || - (this._deactivate(t, n), this._activate(n, t)); - } - _activate(t, e) { - t && - (t.classList.add(tr), - this._activate(l(t)), - this._queueCallback( - () => { - "tab" !== t.getAttribute("role") - ? t.classList.add(er) - : (t.removeAttribute("tabindex"), - t.setAttribute("aria-selected", !0), - this._toggleDropDown(t, !0), - f.trigger(t, $o, { - relatedTarget: e, - })); - }, - t, - t.classList.contains("fade") - )); - } - _deactivate(t, e) { - t && - (t.classList.remove(tr), - t.blur(), - this._deactivate(l(t)), - this._queueCallback( - () => { - "tab" !== t.getAttribute("role") - ? t.classList.remove(er) - : (t.setAttribute("aria-selected", !1), - t.setAttribute("tabindex", "-1"), - this._toggleDropDown(t, !1), - f.trigger(t, Xo, { - relatedTarget: e, - })); - }, - t, - t.classList.contains("fade") - )); - } - _keydown(t) { - var e; - ["ArrowLeft", Zo, "ArrowUp", Jo].includes(t.key) && - (t.stopPropagation(), - t.preventDefault(), - (e = [Zo, Jo].includes(t.key)), - (t = yt( - this._getChildren().filter((t) => !ft(t)), - t.target, - e, - !0 - ))) && - (t.focus({ preventScroll: !0 }), or.getOrCreateInstance(t).show()); - } - _getChildren() { - return y.find(nr, this._parent); - } - _getActiveElem() { - return this._getChildren().find((t) => this._elemIsActive(t)) || null; - } - _setInitialAttributes(t, e) { - this._setAttributeIfNotExists(t, "role", "tablist"); - for (const n of e) this._setInitialAttributesOnChild(n); - } - _setInitialAttributesOnChild(t) { - t = this._getInnerElement(t); - var e = this._elemIsActive(t), - n = this._getOuterElement(t); - t.setAttribute("aria-selected", e), - n !== t && this._setAttributeIfNotExists(n, "role", "presentation"), - e || t.setAttribute("tabindex", "-1"), - this._setAttributeIfNotExists(t, "role", "tab"), - this._setInitialAttributesOnTargetPanel(t); - } - _setInitialAttributesOnTargetPanel(t) { - var e = l(t); - e && - (this._setAttributeIfNotExists(e, "role", "tabpanel"), t.id) && - this._setAttributeIfNotExists(e, "aria-labelledby", "#".concat(t.id)); - } - _toggleDropDown(t, n) { - const i = this._getOuterElement(t); - i.classList.contains("dropdown") && - ((t = (t, e) => { - t = y.findOne(t, i); - t && t.classList.toggle(e, n); - })(".dropdown-toggle", tr), - t(".dropdown-menu", er), - i.setAttribute("aria-expanded", n)); - } - _setAttributeIfNotExists(t, e, n) { - t.hasAttribute(e) || t.setAttribute(e, n); - } - _elemIsActive(t) { - return t.classList.contains(tr); - } - _getInnerElement(t) { - return t.matches(nr) ? t : y.findOne(nr, t); - } - _getOuterElement(t) { - return t.closest(".nav-item, .list-group-item") || t; - } - static jQueryInterface(e) { - return this.each(function () { - var t = or.getOrCreateInstance(this); - if ("string" == typeof e) { - if (void 0 === t[e] || e.startsWith("_") || "constructor" === e) throw new TypeError('No method named "'.concat(e, '"')); - t[e](); - } - }); - } - } - f.on(document, _, g, function (t) { - ["A", "AREA"].includes(this.tagName) && t.preventDefault(), ft(this) || or.getOrCreateInstance(this).show(); - }), - f.on(window, v, () => { - for (const t of y.find(ir)) or.getOrCreateInstance(t); - }), - t(or); - E = or; - const rr = "tab"; - (_ = "mdb.".concat(rr)), (g = ".".concat(_)); - const sr = "show.bs.tab", - ar = "shown.bs.tab", - cr = "show".concat(g), - lr = "shown".concat(g), - ur = "hide".concat(g), - hr = "hidden".concat(g); - class dr extends E { - dispose() { - s.off(this._element, sr), s.off(this._element, ar), super.dispose(); - } - static get NAME() { - return rr; - } - show() { - var n = this._element; - if (!this._elemIsActive(n)) { - var i = this._getActiveElem(); - let t = null, - e = null; - i && - ((t = s.trigger(i, "hide.bs.tab", { - relatedTarget: n, - })), - (e = s.trigger(i, ur, { relatedTarget: n }))); - var o = s.trigger(n, sr, { relatedTarget: i }), - r = s.trigger(n, cr, { relatedTarget: i }); - (o.defaultPrevented && r.defaultPrevented) || - (t && t.defaultPrevented && e && e.defaultPrevented) || - (this._deactivate(i, n), this._activate(n, i)); - } - } - _activate(t, e) { - t && - (t.classList.add("active"), - this._activate(B(t)), - this._queueCallback( - () => { - "tab" !== t.getAttribute("role") - ? t.classList.add("show") - : (t.focus(), - t.removeAttribute("tabindex"), - t.setAttribute("aria-selected", !0), - this._toggleDropDown(t, !0), - s.trigger(t, ar, { - relatedTarget: e, - }), - s.trigger(t, lr, { - relatedTarget: e, - })); - }, - t, - t.classList.contains("fade") - )); - } - _deactivate(t, e) { - t && - (t.classList.remove("active"), - t.blur(), - this._deactivate(B(t)), - this._queueCallback( - () => { - "tab" !== t.getAttribute("role") - ? t.classList.remove("show") - : (t.setAttribute("aria-selected", !1), - t.setAttribute("tabindex", "-1"), - this._toggleDropDown(t, !1), - s.trigger(t, "hidden.bs.tab", { - relatedTarget: e, - }), - s.trigger(t, hr, { - relatedTarget: e, - })); - }, - t, - t.classList.contains("fade") - )); - } - } - a.find('[data-mdb-toggle="tab"], [data-mdb-toggle="pill"], [data-mdb-toggle="list"]').forEach((t) => { - var e = dr.getInstance(t); - e || new dr(t); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn.tab; - (t.fn.tab = dr.jQueryInterface), (t.fn.tab.Constructor = dr), (t.fn.tab.noConflict = () => ((t.fn.tab = e), dr.jQueryInterface)); - } - }); - var fr = dr; - const pr = "tooltip", - gr = [{ name: "show" }, { name: "shown" }, { name: "hide" }, { name: "hidden" }, { name: "inserted" }]; - class mr extends w { - constructor(t, e) { - super(t, e), this._init(); - } - dispose() { - s.off(this._element, "show.bs.tooltip"), - s.off(this._element, "shown.bs.tooltip"), - s.off(this._element, "hide.bs.tooltip"), - s.off(this._element, "hidden.bs.tooltip"), - s.off(this._element, "inserted.bs.tooltip"), - super.dispose(); - } - static get NAME() { - return pr; - } - _init() { - this._bindMdbEvents(); - } - _bindMdbEvents() { - s.extend(this._element, gr, pr); - } - } - a.find('[data-mdb-toggle="tooltip"]').forEach((t) => { - var e = mr.getInstance(t); - e || new mr(t); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[pr]; - (t.fn[pr] = mr.jQueryInterface), (t.fn[pr].Constructor = mr), (t.fn[pr].noConflict = () => ((t.fn[pr] = e), mr.jQueryInterface)); - } - }); - var _r = mr; - v = ".".concat("bs.toast"); - const vr = "mouseover".concat(v), - br = "mouseout".concat(v), - yr = "focusin".concat(v), - wr = "focusout".concat(v), - Er = "hide".concat(v), - xr = "hidden".concat(v), - Cr = "show".concat(v), - Ar = "shown".concat(v), - Tr = "show", - Or = "showing", - Lr = { - animation: "boolean", - autohide: "boolean", - delay: "number", - }, - Sr = { animation: !0, autohide: !0, delay: 5e3 }; - class Ir extends m { - constructor(t, e) { - super(t, e), (this._timeout = null), (this._hasMouseInteraction = !1), (this._hasKeyboardInteraction = !1), this._setListeners(); - } - static get Default() { - return Sr; - } - static get DefaultType() { - return Lr; - } - static get NAME() { - return "toast"; - } - show() { - f.trigger(this._element, Cr).defaultPrevented || - (this._clearTimeout(), - this._config.animation && this._element.classList.add("fade"), - this._element.classList.remove("hide"), - mt(this._element), - this._element.classList.add(Tr, Or), - this._queueCallback( - () => { - this._element.classList.remove(Or), f.trigger(this._element, Ar), this._maybeScheduleHide(); - }, - this._element, - this._config.animation - )); - } - hide() { - this.isShown() && - !f.trigger(this._element, Er).defaultPrevented && - (this._element.classList.add(Or), - this._queueCallback( - () => { - this._element.classList.add("hide"), this._element.classList.remove(Or, Tr), f.trigger(this._element, xr); - }, - this._element, - this._config.animation - )); - } - dispose() { - this._clearTimeout(), this.isShown() && this._element.classList.remove(Tr), super.dispose(); - } - isShown() { - return this._element.classList.contains(Tr); - } - _maybeScheduleHide() { - !this._config.autohide || - this._hasMouseInteraction || - this._hasKeyboardInteraction || - (this._timeout = setTimeout(() => { - this.hide(); - }, this._config.delay)); - } - _onInteraction(t, e) { - switch (t.type) { - case "mouseover": - case "mouseout": - this._hasMouseInteraction = e; - break; - case "focusin": - case "focusout": - this._hasKeyboardInteraction = e; - } - e ? this._clearTimeout() : ((t = t.relatedTarget), this._element === t || this._element.contains(t) || this._maybeScheduleHide()); - } - _setListeners() { - f.on(this._element, vr, (t) => this._onInteraction(t, !0)), - f.on(this._element, br, (t) => this._onInteraction(t, !1)), - f.on(this._element, yr, (t) => this._onInteraction(t, !0)), - f.on(this._element, wr, (t) => this._onInteraction(t, !1)); - } - _clearTimeout() { - clearTimeout(this._timeout), (this._timeout = null); - } - static jQueryInterface(e) { - return this.each(function () { - var t = Ir.getOrCreateInstance(this, e); - if ("string" == typeof e) { - if (void 0 === t[e]) throw new TypeError('No method named "'.concat(e, '"')); - t[e](this); - } - }); - } - } - be(Ir), t(Ir); - _ = Ir; - const kr = "toast", - Dr = [{ name: "show" }, { name: "shown" }, { name: "hide" }, { name: "hidden" }]; - class jr extends _ { - constructor(t, e) { - super(t, e), this._init(); - } - dispose() { - s.off(this._element, "show.bs.toast"), - s.off(this._element, "shown.bs.toast"), - s.off(this._element, "hide.bs.toast"), - s.off(this._element, "hidden.bs.toast"), - super.dispose(); - } - static get NAME() { - return kr; - } - _init() { - this._bindMdbEvents(); - } - _bindMdbEvents() { - s.extend(this._element, Dr, kr); - } - } - a.find(".toast").forEach((t) => { - var e = jr.getInstance(t); - e || new jr(t); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[kr]; - (t.fn[kr] = jr.jQueryInterface), (t.fn[kr].Constructor = jr), (t.fn[kr].noConflict = () => ((t.fn[kr] = e), jr.jQueryInterface)); - } - }); - var Mr = jr; - e(116); - const Pr = "input", - Nr = "mdb.input"; - g = "form-outline"; - const Rr = "active", - Hr = "form-notch", - Br = "form-notch-leading", - Wr = "form-notch-middle"; - const Fr = ".".concat(g, " input"), - qr = ".".concat(g, " textarea"), - zr = ".".concat(Hr), - Qr = ".".concat(Br), - Vr = ".".concat(Wr), - Ur = ".".concat("form-helper"); - class j { - constructor(t) { - (this._element = t), - (this._label = null), - (this._labelWidth = 0), - (this._labelMarginLeft = 0), - (this._notchLeading = null), - (this._notchMiddle = null), - (this._notchTrailing = null), - (this._initiated = !1), - (this._helper = null), - (this._counter = !1), - (this._counterElement = null), - (this._maxLength = 0), - (this._leadingIcon = null), - this._element && (r.setData(t, Nr, this), this.init()); - } - static get NAME() { - return Pr; - } - get input() { - return a.findOne("input", this._element) || a.findOne("textarea", this._element); - } - init() { - this._initiated || - (this._getLabelData(), - this._applyDivs(), - this._applyNotch(), - this._activate(), - this._getHelper(), - this._getCounter(), - (this._initiated = !0)); - } - update() { - this._getLabelData(), this._getNotchData(), this._applyNotch(), this._activate(), this._getHelper(), this._getCounter(); - } - forceActive() { - c.addClass(this.input, Rr); - } - forceInactive() { - c.removeClass(this.input, Rr); - } - dispose() { - this._removeBorder(), r.removeData(this._element, Nr), (this._element = null); - } - _getLabelData() { - (this._label = a.findOne("label", this._element)), - null === this._label - ? this._showPlaceholder() - : (this._getLabelWidth(), this._getLabelPositionInInputGroup(), this._toggleDefaultDatePlaceholder()); - } - _getHelper() { - this._helper = a.findOne(Ur, this._element); - } - _getCounter() { - (this._counter = c.getDataAttribute(this.input, "showcounter")), - this._counter && ((this._maxLength = this.input.maxLength), this._showCounter()); - } - _showCounter() { - var t; - 0 < a.find(".form-counter", this._element).length || - ((this._counterElement = document.createElement("div")), - c.addClass(this._counterElement, "form-counter"), - (t = this.input.value.length), - (this._counterElement.innerHTML = "".concat(t, " / ").concat(this._maxLength)), - this._helper.appendChild(this._counterElement), - this._bindCounter()); - } - _bindCounter() { - s.on(this.input, "input", () => { - var t = this.input.value.length; - this._counterElement.innerHTML = "".concat(t, " / ").concat(this._maxLength); - }); - } - _toggleDefaultDatePlaceholder() { - var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : this.input; - "date" === t.getAttribute("type") && (document.activeElement === t || t.value ? (t.style.opacity = 1) : (t.style.opacity = 0)); - } - _showPlaceholder() { - c.addClass(this.input, "placeholder-active"); - } - _getNotchData() { - (this._notchMiddle = a.findOne(Vr, this._element)), (this._notchLeading = a.findOne(Qr, this._element)); - } - _getLabelWidth() { - this._labelWidth = 0.8 * this._label.clientWidth + 8; - } - _getLabelPositionInInputGroup() { - var t; - (this._labelMarginLeft = 0), - this._element.classList.contains("input-group") && - ((t = this.input), (t = a.prev(t, ".input-group-text")[0]), (this._labelMarginLeft = void 0 === t ? 0 : t.offsetWidth - 1)); - } - _applyDivs() { - var t = a.find(zr, this._element), - e = F("div"); - c.addClass(e, Hr), - (this._notchLeading = F("div")), - c.addClass(this._notchLeading, Br), - (this._notchMiddle = F("div")), - c.addClass(this._notchMiddle, Wr), - (this._notchTrailing = F("div")), - c.addClass(this._notchTrailing, "form-notch-trailing"), - 1 <= t.length || (e.append(this._notchLeading), e.append(this._notchMiddle), e.append(this._notchTrailing), this._element.append(e)); - } - _applyNotch() { - (this._notchMiddle.style.width = "".concat(this._labelWidth, "px")), - (this._notchLeading.style.width = "".concat(this._labelMarginLeft + 9, "px")), - null !== this._label && (this._label.style.marginLeft = "".concat(this._labelMarginLeft, "px")); - } - _removeBorder() { - var t = a.findOne(zr, this._element); - t && t.remove(); - } - _activate(e) { - o(() => { - this._getElements(e); - var t = e ? e.target : this.input; - "" !== t.value && c.addClass(t, Rr), this._toggleDefaultDatePlaceholder(t); - }); - } - _getElements(t) { - var e; - t && ((this._element = t.target.parentNode), (this._label = a.findOne("label", this._element))), - t && - this._label && - ((e = this._labelWidth), this._getLabelData(), e !== this._labelWidth) && - ((this._notchMiddle = a.findOne(".form-notch-middle", t.target.parentNode)), - (this._notchLeading = a.findOne(Qr, t.target.parentNode)), - this._applyNotch()); - } - _deactivate(t) { - t = t ? t.target : this.input; - "" === t.value && t.classList.remove(Rr), this._toggleDefaultDatePlaceholder(t); - } - static activate(e) { - return function (t) { - e._activate(t); - }; - } - static deactivate(e) { - return function (t) { - e._deactivate(t); - }; - } - static jQueryInterface(n, i) { - return this.each(function () { - let t = r.getData(this, Nr); - var e = "object" == typeof n && n; - if ((t || !/dispose/.test(n)) && ((t = t || new j(this, e)), "string" == typeof n)) { - if (void 0 === t[n]) throw new TypeError('No method named "'.concat(n, '"')); - t[n](i); - } - }); - } - static getInstance(t) { - return r.getData(t, Nr); - } - static getOrCreateInstance(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}; - return this.getInstance(t) || new this(t, "object" == typeof e ? e : null); - } - } - s.on(document, "focus", Fr, j.activate(new j())), - s.on(document, "input", Fr, j.activate(new j())), - s.on(document, "blur", Fr, j.deactivate(new j())), - s.on(document, "focus", qr, j.activate(new j())), - s.on(document, "input", qr, j.activate(new j())), - s.on(document, "blur", qr, j.deactivate(new j())), - s.on(window, "shown.bs.modal", (t) => { - a.find(Fr, t.target).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.update(); - }), - a.find(qr, t.target).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.update(); - }); - }), - s.on(window, "shown.bs.dropdown", (t) => { - t = t.target.parentNode.querySelector(".dropdown-menu"); - t && - (a.find(Fr, t).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.update(); - }), - a.find(qr, t).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.update(); - })); - }), - s.on(window, "shown.bs.tab", (t) => { - let e; - e = (t.target.href || c.getDataAttribute(t.target, "target")).split("#")[1]; - t = a.findOne("#".concat(e)); - a.find(Fr, t).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.update(); - }), - a.find(qr, t).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.update(); - }); - }), - a.find(".".concat(g)).map((t) => new j(t)), - s.on(window, "reset", (t) => { - a.find(Fr, t.target).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.forceInactive(); - }), - a.find(qr, t.target).forEach((t) => { - t = j.getInstance(t.parentNode); - t && t.forceInactive(); - }); - }), - s.on(window, "onautocomplete", (t) => { - var e = j.getInstance(t.target.parentNode); - e && t.cancelable && e.forceActive(); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[Pr]; - (t.fn[Pr] = j.jQueryInterface), (t.fn[Pr].Constructor = j), (t.fn[Pr].noConflict = () => ((t.fn[Pr] = e), j.jQueryInterface)); - } - }); - var Yr = j; - E = ".".concat("bs.collapse"); - const Xr = "show".concat(E), - Kr = "shown".concat(E), - $r = "hide".concat(E), - Gr = "hidden".concat(E); - w = "click".concat(E).concat(".data-api"); - const Zr = "show", - Jr = "collapse", - ts = "collapsing", - es = ":scope .".concat(Jr, " .").concat(Jr), - ns = '[data-mdb-toggle="collapse"]', - is = { parent: null, toggle: !0 }, - os = { parent: "(null|element)", toggle: "boolean" }; - class rs extends m { - constructor(t, e) { - super(t, e), (this._isTransitioning = !1), (this._triggerArray = []); - for (const o of y.find(ns)) { - var n = lt(o), - i = y.find(n).filter((t) => t === this._element); - null !== n && i.length && this._triggerArray.push(o); - } - this._initializeChildren(), - this._config.parent || this._addAriaAndCollapsedClass(this._triggerArray, this._isShown()), - this._config.toggle && this.toggle(); - } - static get Default() { - return is; - } - static get DefaultType() { - return os; - } - static get NAME() { - return "collapse"; - } - toggle() { - this._isShown() ? this.hide() : this.show(); - } - show() { - if (!this._isTransitioning && !this._isShown()) { - let t = []; - if ( - !(t = this._config.parent - ? this._getFirstLevelChildren(".collapse.show, .collapse.collapsing") - .filter((t) => t !== this._element) - .map((t) => - rs.getOrCreateInstance(t, { - toggle: !1, - }) - ) - : t).length || - !t[0]._isTransitioning - ) { - var e = f.trigger(this._element, Xr); - if (!e.defaultPrevented) { - for (const i of t) i.hide(); - const n = this._getDimension(); - this._element.classList.remove(Jr), - this._element.classList.add(ts), - (this._element.style[n] = 0), - this._addAriaAndCollapsedClass(this._triggerArray, !0), - (this._isTransitioning = !0); - (e = n[0].toUpperCase() + n.slice(1)), (e = "scroll".concat(e)); - this._queueCallback( - () => { - (this._isTransitioning = !1), - this._element.classList.remove(ts), - this._element.classList.add(Jr, Zr), - (this._element.style[n] = ""), - f.trigger(this._element, Kr); - }, - this._element, - !0 - ), - (this._element.style[n] = "".concat(this._element[e], "px")); - } - } - } - } - hide() { - if (!this._isTransitioning && this._isShown()) { - var t = f.trigger(this._element, $r); - if (!t.defaultPrevented) { - t = this._getDimension(); - (this._element.style[t] = "".concat(this._element.getBoundingClientRect()[t], "px")), - mt(this._element), - this._element.classList.add(ts), - this._element.classList.remove(Jr, Zr); - for (const n of this._triggerArray) { - var e = l(n); - e && !this._isShown(e) && this._addAriaAndCollapsedClass([n], !1); - } - this._isTransitioning = !0; - (this._element.style[t] = ""), - this._queueCallback( - () => { - (this._isTransitioning = !1), this._element.classList.remove(ts), this._element.classList.add(Jr), f.trigger(this._element, Gr); - }, - this._element, - !0 - ); - } - } - } - _isShown() { - return (0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : this._element).classList.contains(Zr); - } - _configAfterMerge(t) { - return (t.toggle = Boolean(t.toggle)), (t.parent = ht(t.parent)), t; - } - _getDimension() { - return this._element.classList.contains("collapse-horizontal") ? "width" : "height"; - } - _initializeChildren() { - if (this._config.parent) - for (const e of this._getFirstLevelChildren(ns)) { - var t = l(e); - t && this._addAriaAndCollapsedClass([e], this._isShown(t)); - } - } - _getFirstLevelChildren(t) { - const e = y.find(es, this._config.parent); - return y.find(t, this._config.parent).filter((t) => !e.includes(t)); - } - _addAriaAndCollapsedClass(t, e) { - if (t.length) for (const n of t) n.classList.toggle("collapsed", !e), n.setAttribute("aria-expanded", e); - } - static jQueryInterface(e) { - const n = {}; - return ( - "string" == typeof e && /show|hide/.test(e) && (n.toggle = !1), - this.each(function () { - var t = rs.getOrCreateInstance(this, n); - if ("string" == typeof e) { - if (void 0 === t[e]) throw new TypeError('No method named "'.concat(e, '"')); - t[e](); - } - }) - ); - } - } - f.on(document, w, ns, function (t) { - ("A" === t.target.tagName || (t.delegateTarget && "A" === t.delegateTarget.tagName)) && t.preventDefault(); - t = lt(this); - for (const e of y.find(t)) rs.getOrCreateInstance(e, { toggle: !1 }).toggle(); - }), - t(rs); - v = rs; - const ss = "collapse", - as = [{ name: "show" }, { name: "shown" }, { name: "hide" }, { name: "hidden" }]; - class cs extends v { - constructor(t) { - super(t, 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}), this._init(); - } - dispose() { - s.off(this._element, "show.bs.collapse"), - s.off(this._element, "shown.bs.collapse"), - s.off(this._element, "hide.bs.collapse"), - s.off(this._element, "hidden.bs.collapse"), - super.dispose(); - } - static get NAME() { - return ss; - } - _init() { - this._bindMdbEvents(); - } - _bindMdbEvents() { - s.extend(this._element, as, ss); - } - } - a.find('[data-mdb-toggle="collapse"]').forEach((t) => { - t = H(t); - a.find(t).forEach((t) => { - cs.getOrCreateInstance(t, { toggle: !1 }); - }); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[ss]; - (t.fn[ss] = cs.jQueryInterface), (t.fn[ss].Constructor = cs), (t.fn[ss].noConflict = () => ((t.fn[ss] = e), cs.jQueryInterface)); - } - }); - var ls = cs; - const us = "dropdown"; - (_ = ".".concat("bs.dropdown")), (e = ".data-api"); - const hs = "ArrowDown", - ds = "hide".concat(_), - fs = "hidden".concat(_), - ps = "show".concat(_), - gs = "shown".concat(_); - (g = "click".concat(_).concat(e)), (E = "keydown".concat(_).concat(e)), (w = "keyup".concat(_).concat(e)); - const ms = "show", - _s = '[data-mdb-toggle="dropdown"]:not(.disabled):not(:disabled)', - vs = "".concat(_s, ".").concat(ms), - bs = ".dropdown-menu", - ys = h() ? "top-end" : "top-start", - ws = h() ? "top-start" : "top-end", - Es = h() ? "bottom-end" : "bottom-start", - xs = h() ? "bottom-start" : "bottom-end", - Cs = h() ? "left-start" : "right-start", - As = h() ? "right-start" : "left-start", - Ts = { - autoClose: !0, - boundary: "clippingParents", - display: "dynamic", - offset: [0, 2], - popperConfig: null, - reference: "toggle", - }, - Os = { - autoClose: "(boolean|string)", - boundary: "(string|element)", - display: "string", - offset: "(array|string|function)", - popperConfig: "(null|object|function)", - reference: "(string|element|object)", - }; - class M extends m { - constructor(t, e) { - super(t, e), - (this._popper = null), - (this._parent = this._element.parentNode), - (this._menu = y.next(this._element, bs)[0] || y.prev(this._element, bs)[0] || y.findOne(bs, this._parent)), - (this._inNavbar = this._detectNavbar()); - } - static get Default() { - return Ts; - } - static get DefaultType() { - return Os; - } - static get NAME() { - return us; - } - toggle() { - return this._isShown() ? this.hide() : this.show(); - } - show() { - if (!ft(this._element) && !this._isShown()) { - var t = { relatedTarget: this._element }, - e = f.trigger(this._element, ps, t); - if (!e.defaultPrevented) { - if ((this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(".navbar-nav"))) - for (const n of [].concat(...document.body.children)) f.on(n, "mouseover", gt); - this._element.focus(), - this._element.setAttribute("aria-expanded", !0), - this._menu.classList.add(ms), - this._element.classList.add(ms), - f.trigger(this._element, gs, t); - } - } - } - hide() { - var t; - !ft(this._element) && this._isShown() && ((t = { relatedTarget: this._element }), this._completeHide(t)); - } - dispose() { - this._popper && this._popper.destroy(), super.dispose(); - } - update() { - (this._inNavbar = this._detectNavbar()), this._popper && this._popper.update(); - } - _completeHide(t) { - var e = f.trigger(this._element, ds, t); - if (!e.defaultPrevented) { - if ("ontouchstart" in document.documentElement) for (const n of [].concat(...document.body.children)) f.off(n, "mouseover", gt); - this._popper && this._popper.destroy(), - this._menu.classList.remove(ms), - this._element.classList.remove(ms), - this._element.setAttribute("aria-expanded", "false"), - p.removeDataAttribute(this._menu, "popper"), - f.trigger(this._element, fs, t); - } - } - _getConfig(t) { - if ("object" != typeof (t = super._getConfig(t)).reference || u(t.reference) || "function" == typeof t.reference.getBoundingClientRect) - return t; - throw new TypeError( - "".concat(us.toUpperCase(), ': Option "reference" provided type "object" without a required "getBoundingClientRect" method.') - ); - } - _createPopper() { - if (void 0 === n) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); - let t = this._element; - "parent" === this._config.reference - ? (t = this._parent) - : u(this._config.reference) - ? (t = ht(this._config.reference)) - : "object" == typeof this._config.reference && (t = this._config.reference); - var e = this._getPopperConfig(); - this._popper = no(t, this._menu, e); - } - _isShown() { - return this._menu.classList.contains(ms); - } - _getPlacement() { - var t, - e = this._parent; - return e.classList.contains("dropend") - ? Cs - : e.classList.contains("dropstart") - ? As - : e.classList.contains("dropup-center") - ? "top" - : e.classList.contains("dropdown-center") - ? "bottom" - : ((t = "end" === getComputedStyle(this._menu).getPropertyValue("--mdb-position").trim()), - e.classList.contains("dropup") ? (t ? ws : ys) : t ? xs : Es); - } - _detectNavbar() { - return null !== this._element.closest(".navbar"); - } - _getOffset() { - const e = this._config["offset"]; - return "string" == typeof e ? e.split(",").map((t) => Number.parseInt(t, 10)) : "function" == typeof e ? (t) => e(t, this._element) : e; - } - _getPopperConfig() { - var t = { - placement: this._getPlacement(), - modifiers: [ - { - name: "preventOverflow", - options: { - boundary: this._config.boundary, - }, - }, - { - name: "offset", - options: { offset: this._getOffset() }, - }, - ], - }; - return ( - (!this._inNavbar && "static" !== this._config.display) || - (p.setDataAttribute(this._menu, "popper", "static"), (t.modifiers = [{ name: "applyStyles", enabled: !1 }])), - { - ...t, - ...("function" == typeof this._config.popperConfig ? this._config.popperConfig(t) : this._config.popperConfig), - } - ); - } - _selectMenuItem(t) { - var { key: t, target: e } = t, - n = y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", this._menu).filter((t) => dt(t)); - n.length && yt(n, e, t === hs, !n.includes(e)).focus(); - } - static jQueryInterface(e) { - return this.each(function () { - var t = M.getOrCreateInstance(this, e); - if ("string" == typeof e) { - if (void 0 === t[e]) throw new TypeError('No method named "'.concat(e, '"')); - t[e](); - } - }); - } - static clearMenus(t) { - if (2 !== t.button && ("keyup" !== t.type || "Tab" === t.key)) - for (const o of y.find(vs)) { - var e, - n, - i = M.getInstance(o); - i && - !1 !== i._config.autoClose && - ((e = (n = t.composedPath()).includes(i._menu)), - n.includes(i._element) || - ("inside" === i._config.autoClose && !e) || - ("outside" === i._config.autoClose && e) || - (i._menu.contains(t.target) && - (("keyup" === t.type && "Tab" === t.key) || /input|select|option|textarea|form/i.test(t.target.tagName))) || - ((n = { relatedTarget: i._element }), "click" === t.type && (n.clickEvent = t), i._completeHide(n))); - } - } - static dataApiKeydownHandler(t) { - var e = /input|textarea/i.test(t.target.tagName), - n = "Escape" === t.key, - i = ["ArrowUp", hs].includes(t.key); - (!i && !n) || - (e && !n) || - (t.preventDefault(), - (e = this.matches(_s) ? this : y.prev(this, _s)[0] || y.next(this, _s)[0] || y.findOne(_s, t.delegateTarget.parentNode)), - (n = M.getOrCreateInstance(e)), - i ? (t.stopPropagation(), n.show(), n._selectMenuItem(t)) : n._isShown() && (t.stopPropagation(), n.hide(), e.focus())); - } - } - f.on(document, E, _s, M.dataApiKeydownHandler), - f.on(document, E, bs, M.dataApiKeydownHandler), - f.on(document, g, M.clearMenus), - f.on(document, w, M.clearMenus), - f.on(document, g, _s, function (t) { - t.preventDefault(), M.getOrCreateInstance(this).toggle(); - }), - t(M); - v = M; - const Ls = "dropdown"; - (_ = "mdb.".concat(Ls)), (e = ".".concat(_)); - const Ss = { - offset: [0, 2], - flip: !0, - boundary: "clippingParents", - reference: "toggle", - display: "dynamic", - popperConfig: null, - dropdownAnimation: "on", - }, - Is = { - offset: "(array|string|function)", - flip: "boolean", - boundary: "(string|element)", - reference: "(string|element|object)", - display: "string", - popperConfig: "(null|object|function)", - dropdownAnimation: "string", - }, - ks = "hide.bs.dropdown", - Ds = "hidden.bs.dropdown", - js = "show.bs.dropdown", - Ms = "shown.bs.dropdown", - Ps = "hide".concat(e), - Ns = "hidden".concat(e), - Rs = "show".concat(e), - Hs = "shown".concat(e), - Bs = "animation", - Ws = "fade-in", - Fs = "fade-out"; - class qs extends v { - constructor(t, e) { - super(t, e), (this._config = this._getConfig(e)), (this._menuStyle = ""), (this._popperPlacement = ""), (this._mdbPopperConfig = ""); - t = window.matchMedia("(prefers-reduced-motion: reduce)").matches; - "on" !== this._config.dropdownAnimation || t || this._init(); - } - dispose() { - s.off(this._element, js), s.off(this._parent, Ms), s.off(this._parent, ks), s.off(this._parent, Ds), super.dispose(); - } - static get NAME() { - return Ls; - } - _init() { - this._bindShowEvent(), this._bindShownEvent(), this._bindHideEvent(), this._bindHiddenEvent(); - } - _getConfig(t) { - t = { - ...Ss, - ...c.getDataAttributes(this._element), - ...t, - }; - return W(Ls, t, Is), t; - } - _getOffset() { - const e = this._config["offset"]; - return "string" == typeof e ? e.split(",").map((t) => Number.parseInt(t, 10)) : "function" == typeof e ? (t) => e(t, this._element) : e; - } - _getPopperConfig() { - var t = { - placement: this._getPlacement(), - modifiers: [ - { - name: "preventOverflow", - options: { - altBoundary: this._config.flip, - boundary: this._config.boundary, - }, - }, - { - name: "offset", - options: { offset: this._getOffset() }, - }, - ], - }; - return ( - "static" === this._config.display && - (c.setDataAttribute(this._menu, "popper", "static"), (t.modifiers = [{ name: "applyStyles", enabled: !1 }])), - { - ...t, - ...("function" == typeof this._config.popperConfig ? this._config.popperConfig(t) : this._config.popperConfig), - } - ); - } - _bindShowEvent() { - s.on(this._element, js, (t) => { - s.trigger(this._element, Rs, { - relatedTarget: t.relatedTarget, - }).defaultPrevented - ? t.preventDefault() - : this._dropdownAnimationStart("show"); - }); - } - _bindShownEvent() { - s.on(this._parent, Ms, (t) => { - s.trigger(this._parent, Hs, { - relatedTarget: t.relatedTarget, - }).defaultPrevented && t.preventDefault(); - }); - } - _bindHideEvent() { - s.on(this._parent, ks, (t) => { - s.trigger(this._parent, Ps, { - relatedTarget: t.relatedTarget, - }).defaultPrevented - ? t.preventDefault() - : ((this._menuStyle = this._menu.style.cssText), - (this._popperPlacement = this._menu.getAttribute("data-popper-placement")), - (this._mdbPopperConfig = this._menu.getAttribute("data-mdb-popper"))); - }); - } - _bindHiddenEvent() { - s.on(this._parent, Ds, (t) => { - s.trigger(this._parent, Ns, { - relatedTarget: t.relatedTarget, - }).defaultPrevented - ? t.preventDefault() - : ("static" !== this._config.display && "" !== this._menuStyle && (this._menu.style.cssText = this._menuStyle), - this._menu.setAttribute("data-popper-placement", this._popperPlacement), - this._menu.setAttribute("data-mdb-popper", this._mdbPopperConfig), - this._dropdownAnimationStart("hide")); - }); - } - _dropdownAnimationStart(t) { - "show" === t - ? (this._menu.classList.add(Bs, Ws), this._menu.classList.remove(Fs)) - : (this._menu.classList.add(Bs, Fs), this._menu.classList.remove(Ws)), - this._bindAnimationEnd(); - } - _bindAnimationEnd() { - s.one(this._menu, "animationend", () => { - this._menu.classList.remove(Bs, Fs, Ws); - }); - } - } - a.find('[data-mdb-toggle="dropdown"]').forEach((t) => { - var e = qs.getInstance(t); - e || new qs(t); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[Ls]; - (t.fn[Ls] = qs.jQueryInterface), (t.fn[Ls].Constructor = qs), (t.fn[Ls].noConflict = () => ((t.fn[Ls] = e), qs.jQueryInterface)); - } - }); - var zs = qs; - const Qs = "ripple", - Vs = "mdb.ripple", - P = "ripple-surface", - Us = "ripple-wave", - Ys = "input-wrapper", - Xs = [".btn", ".ripple"], - Ks = "ripple-surface-unbound", - $s = [0, 0, 0], - Gs = ["primary", "secondary", "success", "danger", "warning", "info", "light", "dark"], - Zs = { - rippleCentered: !1, - rippleColor: "", - rippleDuration: "500ms", - rippleRadius: 0, - rippleUnbound: !1, - }, - Js = { - rippleCentered: "boolean", - rippleColor: "string", - rippleDuration: "string", - rippleRadius: "number", - rippleUnbound: "boolean", - }; - class ta { - constructor(t, e) { - (this._element = t), - (this._options = this._getConfig(e)), - this._element && (r.setData(t, Vs, this), c.addClass(this._element, P)), - (this._clickHandler = this._createRipple.bind(this)), - (this._rippleTimer = null), - (this._isMinWidthSet = !1), - (this._rippleInSpan = !1), - this.init(); - } - static get NAME() { - return Qs; - } - init() { - this._addClickEvent(this._element); - } - dispose() { - r.removeData(this._element, Vs), s.off(this._element, "click", this._clickHandler), (this._element = null), (this._options = null); - } - _autoInit(e) { - if ( - (Xs.forEach((t) => { - a.closest(e.target, t) && (this._element = a.closest(e.target, t)); - }), - (this._options = this._getConfig()), - "input" === this._element.tagName.toLowerCase()) - ) { - var t = this._element.parentNode; - if (((this._rippleInSpan = !0), "span" === t.tagName.toLowerCase() && t.classList.contains(P))) this._element = t; - else { - var n = getComputedStyle(this._element).boxShadow; - const o = this._element; - var i = document.createElement("span"); - o.classList.contains("btn-block") && (i.style.display = "block"), - s.one(i, "mouseup", (t) => { - 0 === t.button && o.click(); - }), - i.classList.add(P, Ys), - c.addStyle(i, { - border: 0, - "box-shadow": n, - }), - t.replaceChild(i, this._element), - i.appendChild(this._element), - (this._element = i); - } - this._element.focus(); - } - this._element.style.minWidth || - (c.style(this._element, { - "min-width": "".concat(getComputedStyle(this._element).width), - }), - (this._isMinWidthSet = !0)), - c.addClass(this._element, P), - this._createRipple(e); - } - _addClickEvent(t) { - s.on(t, "mousedown", this._clickHandler); - } - _getEventLayer(t) { - return { - layerX: Math.round(t.clientX - t.target.getBoundingClientRect().x), - layerY: Math.round(t.clientY - t.target.getBoundingClientRect().y), - }; - } - _createRipple(t) { - var e, n, i, o, r, s, a; - null !== this._element && - (c.hasClass(this._element, P) || c.addClass(this._element, P), - ({ layerX: t, layerY: e } = this._getEventLayer(t)), - (t = t), - (e = e), - (n = this._element.offsetHeight), - (a = this._element.offsetWidth), - (i = this._durationToMsNumber(this._options.rippleDuration)), - (o = { - offsetX: this._options.rippleCentered ? n / 2 : t, - offsetY: this._options.rippleCentered ? a / 2 : e, - height: n, - width: a, - }), - (o = this._getDiameter(o)), - (r = this._options.rippleRadius || o / 2), - (s = { delay: 0.5 * i, duration: i - 0.5 * i }), - (a = { - left: this._options.rippleCentered ? "".concat(a / 2 - r, "px") : "".concat(t - r, "px"), - top: this._options.rippleCentered ? "".concat(n / 2 - r, "px") : "".concat(e - r, "px"), - height: "".concat(2 * this._options.rippleRadius || o, "px"), - width: "".concat(2 * this._options.rippleRadius || o, "px"), - transitionDelay: "0s, ".concat(s.delay, "ms"), - transitionDuration: "".concat(i, "ms, ").concat(s.duration, "ms"), - }), - (t = F("div")), - this._createHTMLRipple({ - wrapper: this._element, - ripple: t, - styles: a, - }), - this._removeHTMLRipple({ ripple: t, duration: i })); - } - _createHTMLRipple(t) { - let { wrapper: e, ripple: n, styles: i } = t; - Object.keys(i).forEach((t) => (n.style[t] = i[t])), - n.classList.add(Us), - "" !== this._options.rippleColor && (this._removeOldColorClasses(e), this._addColor(n, e)), - this._toggleUnbound(e), - this._appendRipple(n, e); - } - _removeHTMLRipple(t) { - let { ripple: e, duration: n } = t; - this._rippleTimer && (clearTimeout(this._rippleTimer), (this._rippleTimer = null)), - (this._rippleTimer = setTimeout(() => { - e && - (e.remove(), this._element) && - (a.find(".".concat(Us), this._element).forEach((t) => { - t.remove(); - }), - this._isMinWidthSet && - (c.style(this._element, { - "min-width": "", - }), - (this._isMinWidthSet = !1)), - this._rippleInSpan && this._element.classList.contains(Ys) ? this._removeWrapperSpan() : c.removeClass(this._element, P)); - }, n)); - } - _removeWrapperSpan() { - var t = this._element.firstChild; - this._element.replaceWith(t), (this._element = t), this._element.focus(), (this._rippleInSpan = !1); - } - _durationToMsNumber(t) { - return Number(t.replace("ms", "").replace("s", "000")); - } - _getConfig() { - var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}, - e = c.getDataAttributes(this._element), - t = { ...Zs, ...e, ...t }; - return W(Qs, t, Js), t; - } - _getDiameter(t) { - var { offsetX: t, offsetY: e, height: n, width: i } = t, - o = e <= n / 2, - r = t <= i / 2, - s = (t, e) => Math.sqrt(t ** 2 + e ** 2), - a = e === n / 2 && t === i / 2; - const c = !0 == o && !1 == r, - l = !0 == o && !0 == r, - u = !1 == o && !0 == r, - h = !1 == o && !1 == r; - o = { - topLeft: s(t, e), - topRight: s(i - t, e), - bottomLeft: s(t, n - e), - bottomRight: s(i - t, n - e), - }; - let d = 0; - return a || h ? (d = o.topLeft) : u ? (d = o.topRight) : l ? (d = o.bottomRight) : c && (d = o.bottomLeft), 2 * d; - } - _appendRipple(t, e) { - e.appendChild(t), - setTimeout(() => { - c.addClass(t, "active"); - }, 50); - } - _toggleUnbound(t) { - !0 === this._options.rippleUnbound ? c.addClass(t, Ks) : t.classList.remove(Ks); - } - _addColor(t, e) { - Gs.find((t) => t === this._options.rippleColor.toLowerCase()) - ? c.addClass(e, "".concat(P, "-").concat(this._options.rippleColor.toLowerCase())) - : ((e = this._colorToRGB(this._options.rippleColor).join(",")), - (e = "rgba({{color}}, 0.2) 0, rgba({{color}}, 0.3) 40%, rgba({{color}}, 0.4) 50%, rgba({{color}}, 0.5) 60%, rgba({{color}}, 0) 70%" - .split("{{color}}") - .join("".concat(e))), - (t.style.backgroundImage = "radial-gradient(circle, ".concat(e, ")"))); - } - _removeOldColorClasses(e) { - var t = new RegExp("".concat(P, "-[a-z]+"), "gi"); - (e.classList.value.match(t) || []).forEach((t) => { - e.classList.remove(t); - }); - } - _colorToRGB(t) { - var e, n, i; - return "transparent" === t.toLowerCase() - ? $s - : "#" === t[0] - ? ((e = t).length < 7 && (e = "#".concat(e[1]).concat(e[1]).concat(e[2]).concat(e[2]).concat(e[3]).concat(e[3])), - [parseInt(e.substr(1, 2), 16), parseInt(e.substr(3, 2), 16), parseInt(e.substr(5, 2), 16)]) - : (-1 === t.indexOf("rgb") && - ((e = t), - (n = document.body.appendChild(document.createElement("fictum"))), - (i = "rgb(1, 2, 3)"), - (n.style.color = i), - (t = - n.style.color !== i || ((n.style.color = e), n.style.color === i) || "" === n.style.color - ? $s - : ((e = getComputedStyle(n).color), document.body.removeChild(n), e))), - 0 === t.indexOf("rgb") ? (((i = (i = t).match(/[.\d]+/g).map((t) => +Number(t))).length = 3), i) : $s); - } - static autoInitial(e) { - return function (t) { - e._autoInit(t); - }; - } - static jQueryInterface(t) { - return this.each(function () { - return r.getData(this, Vs) ? null : new ta(this, t); - }); - } - static getInstance(t) { - return r.getData(t, Vs); - } - static getOrCreateInstance(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}; - return this.getInstance(t) || new this(t, "object" == typeof e ? e : null); - } - } - Xs.forEach((t) => { - s.one(document, "mousedown", t, ta.autoInitial(new ta())); - }), - o(() => { - const t = i(); - if (t) { - const e = t.fn[Qs]; - (t.fn[Qs] = ta.jQueryInterface), (t.fn[Qs].Constructor = ta), (t.fn[Qs].noConflict = () => ((t.fn[Qs] = e), ta.jQueryInterface)); - } - }); - var ea = ta; - const na = "range", - ia = "mdb.range"; - const oa = "thumb-active"; - const ra = ".".concat("thumb-value"), - sa = ".".concat("thumb"); - m = ".".concat("range"); - class aa { - constructor(t) { - (this._element = t), (this._initiated = !1), (this._thumb = null), this._element && (r.setData(t, ia, this), this.init()); - } - static get NAME() { - return na; - } - get rangeInput() { - return a.findOne("input[type=range]", this._element); - } - init() { - this._initiated || (this._addThumb(), this._thumbUpdate(), this._handleEvents(), (this._initiated = !0)); - } - dispose() { - this._disposeEvents(), r.removeData(this._element, ia), (this._element = null), (this._thumb = null); - } - _addThumb() { - var t = F("span"); - c.addClass(t, "thumb"), - (t.innerHTML = ''), - this._element.append(t), - (this._thumb = a.findOne(sa, this._element)); - } - _handleEvents() { - s.on(this.rangeInput, "mousedown", () => this._showThumb()), - s.on(this.rangeInput, "mouseup", () => this._hideThumb()), - s.on(this.rangeInput, "touchstart", () => this._showThumb()), - s.on(this.rangeInput, "touchend", () => this._hideThumb()), - s.on(this.rangeInput, "input", () => this._thumbUpdate()); - } - _disposeEvents() { - s.off(this.rangeInput, "mousedown", this._showThumb), - s.off(this.rangeInput, "mouseup", this._hideThumb), - s.off(this.rangeInput, "touchstart", this._showThumb), - s.off(this.rangeInput, "touchend", this._hideThumb), - s.off(this.rangeInput, "input", this._thumbUpdate); - } - _showThumb() { - c.addClass(this._thumb, oa); - } - _hideThumb() { - c.removeClass(this._thumb, oa); - } - _thumbUpdate() { - var t = this.rangeInput, - e = t.value, - n = t.min || 0, - t = t.max || 100, - e = ((a.findOne(ra, this._thumb).textContent = e), Number((100 * (e - n)) / (t - n))); - c.style(this._thumb, { - left: "calc(".concat(e, "% + (").concat(8 - 0.15 * e, "px))"), - }); - } - static getInstance(t) { - return r.getData(t, ia); - } - static getOrCreateInstance(t) { - var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : {}; - return this.getInstance(t) || new this(t, "object" == typeof e ? e : null); - } - static jQueryInterface(n, i) { - return this.each(function () { - let t = r.getData(this, ia); - var e = "object" == typeof n && n; - if ((t || !/dispose/.test(n)) && ((t = t || new aa(this, e)), "string" == typeof n)) { - if (void 0 === t[n]) throw new TypeError('No method named "'.concat(n, '"')); - t[n](i); - } - }); - } - } - a.find(m).map((t) => new aa(t)), - o(() => { - const t = i(); - if (t) { - const e = t.fn[na]; - (t.fn[na] = aa.jQueryInterface), (t.fn[na].Constructor = aa), (t.fn[na].noConflict = () => ((t.fn[na] = e), aa.jQueryInterface)); - } - }); - var ca = aa; - }, - ]), - (i = {}), - (o.m = n), - (o.c = i), - (o.d = function (t, e, n) { - o.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n }); - }), - (o.r = function (t) { - "undefined" != typeof Symbol && - Symbol.toStringTag && - Object.defineProperty(t, Symbol.toStringTag, { - value: "Module", - }), - Object.defineProperty(t, "__esModule", { value: !0 }); - }), - (o.t = function (e, t) { - if ((1 & t && (e = o(e)), 8 & t)) return e; - if (4 & t && "object" == typeof e && e && e.__esModule) return e; - var n = Object.create(null); - if ( - (o.r(n), - Object.defineProperty(n, "default", { - enumerable: !0, - value: e, - }), - 2 & t && "string" != typeof e) - ) - for (var i in e) - o.d( - n, - i, - function (t) { - return e[t]; - }.bind(null, i) - ); - return n; - }), - (o.n = function (t) { - var e = - t && t.__esModule - ? function () { - return t.default; - } - : function () { - return t; - }; - return o.d(e, "a", e), e; - }), - (o.o = function (t, e) { - return Object.prototype.hasOwnProperty.call(t, e); - }), - (o.p = ""), - o((o.s = 119)) - ); - function o(t) { - var e; - return (i[t] || ((e = i[t] = { i: t, l: !1, exports: {} }), n[t].call(e.exports, e, e.exports, o), (e.l = !0), e)).exports; - } - var n, i; -}); -//# sourceMappingURL=mdb.min.js.map +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("mdb",[],e):"object"==typeof exports?exports.mdb=e():t.mdb=e()}(this,function(){return n=[function(t,e,n){"use strict";var i=n(16),o=n(68),r=n(44),s=n(25),a=n(11).f,c=n(110),l=n(113),u=n(24),n=n(8),h="Array Iterator",d=s.set,f=s.getterFor(h),s=(t.exports=c(Array,"Array",function(t,e){d(this,{type:h,target:i(t),index:0,kind:e})},function(){var t=f(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,l(void 0,!0)):l("keys"==n?i:"values"==n?e[i]:[i,e[i]],!1)},"values"),r.Arguments=r.Array);if(o("keys"),o("values"),o("entries"),!u&&n&&"values"!==s.name)try{a(s,"name",{value:"values"})}catch(t){}},function(t,e,n){function i(e,t){if(e){if(e[u]!==d)try{l(e,u,d)}catch(t){e[u]=d}if(e[h]||l(e,h,t),s[t])for(var n in c)if(e[n]!==c[n])try{l(e,n,c[n])}catch(t){e[n]=c[n]}}}var o,r=n(6),s=n(114),a=n(115),c=n(0),l=n(15),n=n(7),u=n("iterator"),h=n("toStringTag"),d=c.values;for(o in s)i(r[o]&&r[o].prototype,o);i(a,"DOMTokenList")},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var n=n(47),i=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},function(t,e,n){var n=n(30),i=Function.prototype,o=i.call,i=n&&i.bind.bind(o,o);t.exports=n?i:function(t){return function(){return o.apply(t,arguments)}}},function(t,e,n){"use strict";var i=n(22),n=n(43);i({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},function(n,t,e){!function(t){function e(t){return t&&t.Math==Math&&t}n.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||this||Function("return this")()}.call(this,e(72))},function(t,e,n){var i=n(6),o=n(34),r=n(9),s=n(53),a=n(50),n=n(49),c=i.Symbol,l=o("wks"),u=n?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return r(l,t)||(l[t]=a&&r(c,t)?c[t]:u("Symbol."+t)),l[t]}},function(t,e,n){n=n(2);t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e,n){var i=n(4),o=n(37),r=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(o(t),e)}},function(t,e,n){"use strict";var i=n(22),o=n(59).includes,r=n(2),n=n(68);i({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return o(this,t,1")})||!n||h)},function(t,e,n){var l=n(6),u=n(45).f,h=n(15),d=n(19),f=n(36),p=n(82),g=n(61);t.exports=function(t,e){var n,i,o,r=t.target,s=t.global,a=t.stat,c=s?l:a?l[r]||f(r,{}):(l[r]||{}).prototype;if(c)for(n in e){if(i=e[n],o=t.dontCallGetSet?(o=u(c,n))&&o.value:c[n],!g(s?n:r+(a?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;p(i,o)}(t.sham||o&&o.sham)&&h(i,"sham",!0),d(c,n,i,t)}}},function(t,e,n){var i=n(6),o=n(3);t.exports=function(t,e){return arguments.length<2?(n=i[t],o(n)?n:void 0):i[t]&&i[t][e];var n}},function(t,e){t.exports=!1},function(t,e,n){var i,o,r,s,a=n(81),c=n(6),l=n(13),u=n(15),h=n(9),d=n(35),f=n(40),n=n(41),p="Object already initialized",g=c.TypeError,c=c.WeakMap,m=a||d.state?((r=d.state||(d.state=new c)).get=r.get,r.has=r.has,r.set=r.set,i=function(t,e){if(r.has(t))throw g(p);return e.facade=t,r.set(t,e),e},o=function(t){return r.get(t)||{}},function(t){return r.has(t)}):(n[s=f("state")]=!0,i=function(t,e){if(h(t,s))throw g(p);return e.facade=t,u(t,s,e),e},o=function(t){return h(t,s)?t[s]:{}},function(t){return h(t,s)});t.exports={set:i,get:o,has:m,enforce:function(t){return m(t)?o(t):i(t,{})},getterFor:function(e){return function(t){if(l(t)&&(t=o(t)).type===e)return t;throw g("Incompatible receiver, "+e+" required")}}}},function(t,e,n){var i=n(85);t.exports=function(t){t=+t;return t!=t||0==t?0:i(t)}},function(t,e,n){function i(){}function o(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e}var r,s=n(14),a=n(90),c=n(42),l=n(41),u=n(92),h=n(38),n=n(40),d="prototype",f="script",p=n("IE_PROTO"),g=function(t){return"<"+f+">"+t+""},m=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}m="undefined"==typeof document||document.domain&&r?o(r):(t=h("iframe"),e="java"+f+":",t.style.display="none",u.appendChild(t),t.src=String(e),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F);for(var t,e,n=c.length;n--;)delete m[d][c[n]];return m()};l[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(i[d]=s(t),n=new i,i[d]=null,n[p]=t):n=m(),void 0===e?n:a.f(n,e)}},function(t,e,n){"use strict";var i=n(22),o=n(93).trim;i({target:"String",proto:!0,forced:n(94)("trim")},{trim:function(){return o(this)}})},function(N,R,t){var e=t(8),n=t(6),i=t(4),o=t(61),l=t(95),u=t(15),r=t(57).f,h=t(33),d=t(98),f=t(20),p=t(99),s=t(63),a=t(100),c=t(19),g=t(2),m=t(9),_=t(25).enforce,v=t(101),b=t(7),y=t(64),w=t(65),E=b("match"),x=n.RegExp,C=x.prototype,A=n.SyntaxError,T=i(C.exec),O=i("".charAt),L=i("".replace),S=i("".indexOf),H=i("".slice),B=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,k=/a/g,t=new x(I)!==I,D=s.MISSED_STICKY,W=s.UNSUPPORTED_Y,b=e&&(!t||D||y||w||g(function(){return k[E]=!1,x(I)!=I||x(k)==k||"/a/i"!=x(I,"i")}));if(o("RegExp",b)){function j(t,e){var n,i,o=h(C,this),r=d(t),s=void 0===e,a=[],c=t;if(!o&&r&&s&&t.constructor===j)return t;if((r||h(C,t))&&(t=t.source,s)&&(e=p(c)),t=void 0===t?"":f(t),e=void 0===e?"":f(e),c=t,r=e=y&&"dotAll"in I&&(n=!!e&&-1"===e&&c:if(""===u||m(s,u))throw new A("Invalid capture group name");s[u]=!0,c=!(r[r.length]=[u,l]),u="";continue}c?u+=e:o+=e}return[o,r]}(t))[0],a=s[1]),s=l(x(t,e),o?this:C,j),(n||i||a.length)&&(e=_(s),n&&(e.dotAll=!0,e.raw=j(function(t){for(var e,n=t.length,i=0,o="",r=!1;i<=n;i++)"\\"===(e=O(t,i))?o+=e+O(t,++i):r||"."!==e?("["===e?r=!0:"]"===e&&(r=!1),o+=e):o+="[\\s\\S]";return o}(t),r)),i&&(e.sticky=!0),a.length)&&(e.groups=a),t!==c)try{u(s,"source",""===c?"(?:)":c)}catch(t){}return s}for(var M=r(x),P=0;M.length>P;)a(j,x,M[P++]);(C.constructor=j).prototype=C,c(n,"RegExp",j,{constructor:!0})}v("RegExp")},function(t,e,n){n=n(2);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){n=n(4);t.exports=n({}.isPrototypeOf)},function(t,e,n){var i=n(24),o=n(35);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:i?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){var i=n(6),n=n(36),o="__core-js_shared__",i=i[o]||n(o,{});t.exports=i},function(t,e,n){var i=n(6),o=Object.defineProperty;t.exports=function(e,n){try{o(i,e,{value:n,configurable:!0,writable:!0})}catch(t){i[e]=n}return n}},function(t,e,n){var i=n(18),o=Object;t.exports=function(t){return o(i(t))}},function(t,e,n){var i=n(6),n=n(13),o=i.document,r=n(o)&&n(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},function(t,e,n){var i=n(8),n=n(9),o=Function.prototype,r=i&&Object.getOwnPropertyDescriptor,n=n(o,"name"),s=n&&"something"===function(){}.name,i=n&&(!i||r(o,"name").configurable);t.exports={EXISTS:n,PROPER:s,CONFIGURABLE:i}},function(t,e,n){var i=n(34),o=n(53),r=i("keys");t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports={}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){"use strict";var p=n(12),i=n(4),g=n(20),m=n(62),o=n(63),r=n(34),_=n(27),v=n(25).get,s=n(64),n=n(65),b=r("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,w=y,E=i("".charAt),x=i("".indexOf),C=i("".replace),A=i("".slice),T=(r=/b*/g,p(y,i=/a/,"a"),p(y,r,"a"),0!==i.lastIndex||0!==r.lastIndex),O=o.BROKEN_CARET,L=void 0!==/()??/.exec("")[1];(T||L||O||s||n)&&(w=function(t){var e,n,i,o,r,s,a=this,c=v(a),t=g(t),l=c.raw;if(l)return l.lastIndex=a.lastIndex,h=p(w,l,t),a.lastIndex=l.lastIndex,h;var u=c.groups,l=O&&a.sticky,h=p(m,a),c=a.source,d=0,f=t;if(l&&(h=C(h,"y",""),-1===x(h,"g")&&(h+="g"),f=A(t,a.lastIndex),0o;)!s(i,n=e[o++])||~c(r,n)||u(r,n);return r}},function(t,e,n){function i(a){return function(t,e,n){var i,o=c(t),r=u(o),s=l(n,r);if(a&&e!=e){for(;sb)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$
    c")})},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){var o=n(96),r=n(14),s=n(97);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,t={};try{(n=o(Object.prototype,"__proto__","set"))(t,[]),i=t instanceof Array}catch(t){}return function(t,e){return r(t),s(e),i?n(t,e):t.__proto__=e,t}}():void 0)},function(t,e,n){var i=n(7),o=n(27),n=n(11).f,r=i("unscopables"),s=Array.prototype;null==s[r]&&n(s,r,{configurable:!0,value:o(null)}),t.exports=function(t){s[r][t]=!0}},function(t,e,n){"use strict";var i,o,r=n(2),s=n(3),a=n(13),c=n(27),l=n(70),u=n(19),h=n(7),n=n(24),d=h("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(l=l(l(o)))!==Object.prototype&&(i=l):h=!0),!a(i)||r(function(){var t={};return i[d].call(t)!==t})?i={}:n&&(i=c(i)),s(i[d])||u(i,d,function(){return this}),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:h}},function(t,e,n){var i=n(9),o=n(3),r=n(37),s=n(40),n=n(112),a=s("IE_PROTO"),c=Object,l=c.prototype;t.exports=n?c.getPrototypeOf:function(t){var e,t=r(t);return i(t,a)?t[a]:(e=t.constructor,o(e)&&t instanceof e?e.prototype:t instanceof c?l:null)}},function(t,e,n){var i=n(11).f,o=n(9),r=n(7)("toStringTag");t.exports=function(t,e,n){(t=t&&!n?t.prototype:t)&&!o(t,r)&&i(t,r,{configurable:!0,value:e})}},function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);e.f=r?function(t){t=o(this,t);return!!t&&t.enumerable}:i},function(t,e,n){var i=n(4),o=n(2),r=n(17),s=Object,a=i("".split);t.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"==r(t)?a(t,""):s(t)}:s},function(t,e,n){var i=n(12),o=n(13),r=n(48),s=n(51),a=n(79),n=n(7),c=TypeError,l=n("toPrimitive");t.exports=function(t,e){if(!o(t)||r(t))return t;var n=s(t,l);if(n){if(n=i(n,t,e=void 0===e?"default":e),!o(n)||r(n))return n;throw c("Can't convert object to primitive value")}return a(t,e=void 0===e?"number":e)}},function(t,e,n){var i,o,r=n(6),n=n(77),s=r.process,r=r.Deno,s=s&&s.versions||r&&r.version,r=s&&s.v8;!(o=r?0<(i=r.split("."))[0]&&i[0]<4?1:+(i[0]+i[1]):o)&&n&&(!(i=n.match(/Edge\/(\d+)/))||74<=i[1])&&(i=n.match(/Chrome\/(\d+)/))&&(o=+i[1]),t.exports=o},function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},function(t,e,n){var o=n(12),r=n(3),s=n(13),a=TypeError;t.exports=function(t,e){var n,i;if("string"===e&&r(n=t.toString)&&!s(i=o(n,t)))return i;if(r(n=t.valueOf)&&!s(i=o(n,t)))return i;if("string"!==e&&r(n=t.toString)&&!s(i=o(n,t)))return i;throw a("Can't convert object to primitive value")}},function(t,e,n){var i=n(4),o=n(3),n=n(35),r=i(Function.toString);o(n.inspectSource)||(n.inspectSource=function(t){return r(t)}),t.exports=n.inspectSource},function(t,e,n){var i=n(6),n=n(3),i=i.WeakMap;t.exports=n(i)&&/native code/.test(String(i))},function(t,e,n){var c=n(9),l=n(83),u=n(45),h=n(11);t.exports=function(t,e,n){for(var i=l(e),o=h.f,r=u.f,s=0;s]*>)/g,_=/\$([$&'`]|\d{1,2})/g;t.exports=function(r,s,a,c,l,t){var u=a+r.length,h=c.length,e=_;return void 0!==l&&(l=o(l),e=m),p(t,e,function(t,e){var n;switch(f(e,0)){case"$":return"$";case"&":return r;case"`":return g(s,0,a);case"'":return g(s,u);case"<":n=l[g(e,1,-1)];break;default:var i,o=+e;if(0==o)return t;if(h{"use strict";n.d(e,{Z:()=>i});e=n(645),n=n.n(e)()(function(t){return t[1]});n.push([t.id,"INPUT:-webkit-autofill,SELECT:-webkit-autofill,TEXTAREA:-webkit-autofill{animation-name:onautofillstart}INPUT:not(:-webkit-autofill),SELECT:not(:-webkit-autofill),TEXTAREA:not(:-webkit-autofill){animation-name:onautofillcancel}@keyframes onautofillstart{}@keyframes onautofillcancel{}",""]);const i=n},645:t=>{"use strict";t.exports=function(n){var c=[];return c.toString=function(){return this.map(function(t){var e=n(t);return t[2]?"@media ".concat(t[2]," {").concat(e,"}"):e}).join("")},c.i=function(t,e,n){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(n)for(var o=0;o{if("undefined"!=typeof window)try{var t=new window.CustomEvent("test",{cancelable:!0});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default")}catch(t){function e(t,e){var n,i;return(e=e||{}).bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i=n.preventDefault,n.preventDefault=function(){i.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(t){this.defaultPrevented=!0}},n}e.prototype=window.Event.prototype,window.CustomEvent=e}},379:(t,e,o)=>{"use strict";i={};var n,i,r=function(t){if(void 0===i[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}i[t]=e}return i[t]},l=[];function u(t){for(var e=-1,n=0;n{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=o(379),t=o.n(t),e=o(454);function n(t){var e;t.hasAttribute("autocompleted")||(t.setAttribute("autocompleted",""),e=new window.CustomEvent("onautocomplete",{bubbles:!0,cancelable:!0,detail:null}),t.dispatchEvent(e))||(t.value="")}function i(t){t.hasAttribute("autocompleted")&&(t.removeAttribute("autocompleted"),t.dispatchEvent(new window.CustomEvent("onautocomplete",{bubbles:!0,cancelable:!1,detail:null})))}t()(e.Z,{insert:"head",singleton:!1}),e.Z.locals,o(810),document.addEventListener("animationstart",function(t){("onautofillstart"===t.animationName?n:i)(t.target)},!0),document.addEventListener("input",function(t){("insertReplacementText"!==t.inputType&&"data"in t?i:n)(t.target)},!0)})()},,,function(N,t,e){"use strict";e.r(t),e.d(t,"Alert",function(){return Be}),e.d(t,"Button",function(){return ne}),e.d(t,"Carousel",function(){return vn}),e.d(t,"Collapse",function(){return ls}),e.d(t,"Offcanvas",function(){return De}),e.d(t,"Dropdown",function(){return zs}),e.d(t,"Input",function(){return Yr}),e.d(t,"Modal",function(){return Nn}),e.d(t,"Popover",function(){return Io}),e.d(t,"Ripple",function(){return ea}),e.d(t,"ScrollSpy",function(){return Uo}),e.d(t,"Tab",function(){return fr}),e.d(t,"Toast",function(){return Mr}),e.d(t,"Tooltip",function(){return _r}),e.d(t,"Range",function(){return ca});var n={};e.r(n),e.d(n,"top",function(){return O}),e.d(n,"bottom",function(){return L}),e.d(n,"right",function(){return S}),e.d(n,"left",function(){return I}),e.d(n,"auto",function(){return Rn}),e.d(n,"basePlacements",function(){return Hn}),e.d(n,"start",function(){return Bn}),e.d(n,"end",function(){return Wn}),e.d(n,"clippingParents",function(){return Fn}),e.d(n,"viewport",function(){return qn}),e.d(n,"popper",function(){return zn}),e.d(n,"reference",function(){return Qn}),e.d(n,"variationPlacements",function(){return Vn}),e.d(n,"placements",function(){return Un}),e.d(n,"beforeRead",function(){return Yn}),e.d(n,"read",function(){return Xn}),e.d(n,"afterRead",function(){return Kn}),e.d(n,"beforeMain",function(){return $n}),e.d(n,"main",function(){return Gn}),e.d(n,"afterMain",function(){return Zn}),e.d(n,"beforeWrite",function(){return Jn}),e.d(n,"write",function(){return ti}),e.d(n,"afterWrite",function(){return ei}),e.d(n,"modifierPhases",function(){return ni}),e.d(n,"applyStyles",function(){return ri}),e.d(n,"arrow",function(){return xi}),e.d(n,"computeStyles",function(){return Oi}),e.d(n,"eventListeners",function(){return Si}),e.d(n,"flip",function(){return zi}),e.d(n,"hide",function(){return Ui}),e.d(n,"offset",function(){return Yi}),e.d(n,"popperOffsets",function(){return Xi}),e.d(n,"preventOverflow",function(){return Ki}),e.d(n,"popperGenerator",function(){return to}),e.d(n,"detectOverflow",function(){return qi}),e.d(n,"createPopperBase",function(){return eo}),e.d(n,"createPopper",function(){return no}),e.d(n,"createPopperLite",function(){return io}),e(5),e(28),e(29);const R=t=>{let e=t.getAttribute("data-mdb-target");return e&&"#"!==e||(t=t.getAttribute("href"),e=t&&"#"!==t?t.trim():null),e},H=t=>{t=R(t);return t&&document.querySelector(t)?t:null},B=t=>{t=R(t);return t?document.querySelector(t):null};const W=(o,r,s)=>{Object.keys(s).forEach(t=>{var e,n=s[t],i=r[t],i=i&&((e=i)[0]||e).nodeType?"element":null==(e=i)?"".concat(e):{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(i))throw new Error("".concat(o.toUpperCase(),": ")+'Option "'.concat(t,'" provided type "').concat(i,'" ')+'but expected type "'.concat(n,'".'))})};const i=()=>{var t=window["jQuery"];return t&&!document.body.hasAttribute("data-mdb-no-jquery")?t:null},o=t=>{"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()};document.documentElement.dir;const F=t=>document.createElement(t);const q=(()=>{const i={};let o=1;return{set(t,e,n){void 0===t[e]&&(t[e]={key:e,id:o},o++),i[t[e].id]=n},get(t,e){return t&&void 0!==t[e]&&(t=t[e]).key===e?i[t.id]:null},delete(t,e){var n;void 0!==t[e]&&(n=t[e]).key===e&&(delete i[n.id],delete t[e])}}})();var r={setData(t,e,n){q.set(t,e,n)},getData(t,e){return q.get(t,e)},removeData(t,e){q.delete(t,e)}};e(21),e(0),e(1);const z=i(),Q=/[^.]*(?=\..*)\.|.*/,V=/\..*/,U=/::\d+$/,Y={};let X=1;const K={mouseenter:"mouseover",mouseleave:"mouseout"},$=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"];function G(t,e){return e&&"".concat(e,"::").concat(X++)||t.uidEvent||X++}function Z(t){var e=G(t);return t.uidEvent=e,Y[e]=Y[e]||{},Y[e]}function J(n,i,t){var o=2{it.on(i,"".concat(t.name,".bs.").concat(o),e=>{const n={};t.parametersToCopy&&t.parametersToCopy.forEach(t=>{n[t]=e[t]}),it.trigger(i,"".concat(t.name,".mdb.").concat(o),n)})})},off(s,a,t,e){if("string"==typeof a&&s){const[n,i,o]=tt(a,t,e),r=o!==a,c=Z(s);e="."===a.charAt(0);if(void 0!==i)return c&&c[o]?void nt(s,c,o,i,n?t:null):void 0;e&&Object.keys(c).forEach(t=>{{var e=s,n=c,i=t,o=a.slice(1);const r=n[i]||{};Object.keys(r).forEach(t=>{-1{var e=t.replace(U,"");(!r||-1{Object.defineProperty(u,t,{get(){return n[t]}})}),l&&u.preventDefault(),c&&t.dispatchEvent(u),u.defaultPrevented&&void 0!==s&&s.preventDefault(),u}};var s=it;function ot(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function rt(t){return t.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase()))}var c={setDataAttribute(t,e,n){t.setAttribute("data-mdb-".concat(rt(e)),n)},removeDataAttribute(t,e){t.removeAttribute("data-mdb-".concat(rt(e)))},getDataAttributes(t){if(!t)return{};const n={...t.dataset};return Object.keys(n).filter(t=>t.startsWith("mdb")).forEach(t=>{let e=t.replace(/^mdb/,"");e=e.charAt(0).toLowerCase()+e.slice(1,e.length),n[e]=ot(n[t])}),n},getDataAttribute(t,e){return ot(t.getAttribute("data-mdb-".concat(rt(e))))},offset(t){t=t.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position(t){return{top:t.offsetTop,left:t.offsetLeft}},style(t,e){Object.assign(t.style,e)},toggleClass(t,e){t&&(t.classList.contains(e)?t.classList.remove(e):t.classList.add(e))},addClass(t,e){t.classList.contains(e)||t.classList.add(e)},addStyle(e,n){Object.keys(n).forEach(t=>{e.style[t]=n[t]})},removeClass(t,e){t.classList.contains(e)&&t.classList.remove(e)},hasClass(t,e){return t.classList.contains(e)}};var a={closest(t,e){return t.closest(e)},matches(t,e){return t.matches(e)},find(t){var e=1t.matches(e))},parents(t,e){var n=[];let i=t.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)this.matches(i,e)&&n.push(i),i=i.parentNode;return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(this.matches(n,e))return[n];n=n.nextElementSibling}return[]}};e(10);const st=1e3,at="transitionend",ct=e=>{let n=e.getAttribute("data-mdb-target");if(!n||"#"===n){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t="#".concat(t.split("#")[1])),n=t&&"#"!==t?t.trim():null}return n},lt=t=>{t=ct(t);return t&&document.querySelector(t)?t:null},l=t=>{t=ct(t);return t?document.querySelector(t):null},ut=t=>{t.dispatchEvent(new Event(at))},u=t=>!(!t||"object"!=typeof t)&&void 0!==(t=void 0!==t.jquery?t[0]:t).nodeType,ht=t=>u(t)?t.jquery?t[0]:t:"string"==typeof t&&0{if(!u(t)||0===t.getClientRects().length)return!1;var e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(n&&n!==t){t=t.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return e},ft=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),pt=t=>{var e;return document.documentElement.attachShadow?"function"==typeof t.getRootNode?(e=t.getRootNode())instanceof ShadowRoot?e:null:t instanceof ShadowRoot?t:t.parentNode?pt(t.parentNode):null:null},gt=()=>{},mt=t=>{t.offsetHeight},_t=()=>window.jQuery&&!document.body.hasAttribute("data-mdb-no-jquery")?window.jQuery:null,vt=[],h=()=>"rtl"===document.documentElement.dir;t=i=>{var t;t=()=>{const t=_t();if(t){const e=i.NAME,n=t.fn[e];t.fn[e]=i.jQueryInterface,t.fn[e].Constructor=i,t.fn[e].noConflict=()=>(t.fn[e]=n,i.jQueryInterface)}},"loading"===document.readyState?(vt.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of vt)t()}),vt.push(t)):t()};function bt(n,i){if(!(2{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);var t=Number.parseFloat(e),i=Number.parseFloat(n);return t||i?(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*st):0})(i)+5;let e=!1;const o=t=>{t=t.target;t===i&&(e=!0,i.removeEventListener(at,o),d(n))};i.addEventListener(at,o),setTimeout(()=>{e||ut(i)},t)}else d(n)}const d=t=>{"function"==typeof t&&t()},yt=(t,e,n,i)=>{var o=t.length;let r=t.indexOf(e);return-1===r?!n&&i?t[o-1]:t[0]:(r+=n?1:-1,i&&(r=(r+o)%o),t[Math.max(0,Math.min(r,o-1))])},wt=/[^.]*(?=\..*)\.|.*/,Et=/\..*/,xt=/::\d+$/,Ct={};let At=1;const Tt={mouseenter:"mouseover",mouseleave:"mouseout"},Ot=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Lt(t,e){return e&&"".concat(e,"::").concat(At++)||t.uidEvent||At++}function St(t){var e=Lt(t);return t.uidEvent=e,Ct[e]=Ct[e]||{},Ct[e]}function It(t,e,n){let i=2t.callable===e&&t.delegationSelector===i)}function kt(t,e,n){var i="string"==typeof e,e=!i&&e||n;let o=Mt(t);return[i,e,o=Ot.has(o)?o:t]}function Dt(i,o,r,s,a){if("string"==typeof o&&i){let[t,e,n]=kt(o,r,s);o in Tt&&(e=(c=e,function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return c.call(this,t)}));var c,l,u,h,d,f,s=St(i),s=s[n]||(s[n]={}),p=It(s,e,t?r:null);p?p.oneOff=p.oneOff&&a:(p=Lt(e,o.replace(wt,"")),(o=t?(h=i,d=r,f=e,function e(n){var i=h.querySelectorAll(d);for(let t=n["target"];t&&t!==this;t=t.parentNode)for(const o of i)if(o===t)return Nt(n,{delegateTarget:t}),e.oneOff&&Pt.off(h,n.type,d,f),f.apply(t,[n])}):(l=i,u=e,function t(e){return Nt(e,{delegateTarget:l}),t.oneOff&&Pt.off(l,e.type,u),u.apply(l,[e])})).delegationSelector=t?r:null,o.callable=e,o.oneOff=a,s[o.uidEvent=p]=o,i.addEventListener(n,o,t))}}function jt(t,e,n,i,o){i=It(e[n],i,o);i&&(t.removeEventListener(n,i,Boolean(o)),delete e[n][i.uidEvent])}function Mt(t){return t=t.replace(Et,""),Tt[t]||t}const Pt={on(t,e,n,i){Dt(t,e,n,i,!1)},one(t,e,n,i){Dt(t,e,n,i,!0)},off(t,e,n,i){if("string"==typeof e&&t){var[i,o,r]=kt(e,n,i),s=r!==e,a=St(t),c=a[r]||{},l=e.startsWith(".");if(void 0!==o)return Object.keys(c).length?void jt(t,a,r,o,i?n:null):void 0;if(l)for(const _ of Object.keys(a)){u=g=p=f=d=h=void 0;var u,h=t,d=a,f=_,p=e.slice(1),g=d[f]||{};for(const v of Object.keys(g))v.includes(p)&&jt(h,d,f,(u=g[v]).callable,u.delegationSelector)}for(const b of Object.keys(c)){var m=b.replace(xt,"");s&&!e.includes(m)||jt(t,a,r,(m=c[b]).callable,m.delegationSelector)}}},trigger(t,e,n){if("string"!=typeof e||!t)return null;var i=_t();let o=null,r=!0,s=!0,a=!1;e!==Mt(e)&&i&&(o=i.Event(e,n),i(t).trigger(o),r=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());i=Nt(i=new Event(e,{bubbles:r,cancelable:!0}),n);return a&&i.preventDefault(),s&&t.dispatchEvent(i),i.defaultPrevented&&o&&o.preventDefault(),i}};function Nt(e,t){for(const[n,i]of Object.entries(t||{}))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get(){return i}})}return e}var f=Pt;const Rt=new Map;var Ht=function(t,e,n){Rt.has(t)||Rt.set(t,new Map);t=Rt.get(t);t.has(e)||0===t.size?t.set(e,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(t.keys())[0],"."))},Bt=function(t,e){return Rt.has(t)&&Rt.get(t).get(e)||null},Wt=function(t,e){var n;Rt.has(t)&&((n=Rt.get(t)).delete(e),0===n.size)&&Rt.delete(t)};function Ft(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function qt(t){return t.replace(/[A-Z]/g,t=>"-".concat(t.toLowerCase()))}var p={setDataAttribute(t,e,n){t.setAttribute("data-mdb-".concat(qt(e)),n)},removeDataAttribute(t,e){t.removeAttribute("data-mdb-".concat(qt(e)))},getDataAttributes(e){if(!e)return{};var n={};for(const i of Object.keys(e.dataset).filter(t=>t.startsWith("mdb")&&!t.startsWith("mdbConfig"))){let t=i.replace(/^mdb/,"");n[t=t.charAt(0).toLowerCase()+t.slice(1,t.length)]=Ft(e.dataset[i])}return n},getDataAttribute(t,e){return Ft(t.getAttribute("data-mdb-".concat(qt(e))))}};var g=class{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){var n=u(e)?p.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...u(e)?p.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t){var e=1{t.preventDefault();t=t.target.closest(zt);Qt.getOrCreateInstance(t).toggle()}),t(Qt);_=Qt;const Vt="button",Ut="mdb.".concat(Vt);var v=".".concat(Ut);const Yt="click".concat(v),Xt="transitionend",Kt="mouseenter",$t="mouseleave",Gt="hide".concat(v),Zt="hidden".concat(v),Jt="show".concat(v),te="shown".concat(v),ee="fixed-action-btn";class b extends _{constructor(t){super(t),this._fn={},this._element&&(r.setData(this._element,Ut,this),this._init())}static get NAME(){return Vt}static jQueryInterface(n,i){return this.each(function(){let t=r.getData(this,Ut);var e="object"==typeof n&&n;if((t||!/dispose/.test(n))&&(t=t||new b(this,e),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'.concat(n,'"'));t[n](i)}})}get _actionButton(){return a.findOne(".fixed-action-btn:not(.smooth-scroll) > .btn-floating",this._element)}get _buttonListElements(){return a.find("ul .btn",this._element)}get _buttonList(){return a.findOne("ul",this._element)}get _isTouchDevice(){return"ontouchstart"in document.documentElement}show(){c.hasClass(this._element,ee)&&(s.off(this._buttonList,Xt),s.trigger(this._element,Jt),this._bindListOpenTransitionEnd(),c.addStyle(this._element,{height:"".concat(this._fullContainerHeight,"px")}),this._toggleVisibility(!0))}hide(){c.hasClass(this._element,ee)&&(s.off(this._buttonList,Xt),s.trigger(this._element,Gt),this._bindListHideTransitionEnd(),this._toggleVisibility(!1))}dispose(){c.hasClass(this._element,ee)&&(s.off(this._actionButton,Yt),this._actionButton.removeEventListener(Kt,this._fn.mouseenter),this._element.removeEventListener($t,this._fn.mouseleave)),super.dispose()}_init(){c.hasClass(this._element,ee)&&(this._saveInitialHeights(),this._setInitialStyles(),this._bindInitialEvents())}_bindMouseEnter(){this._actionButton.addEventListener(Kt,this._fn.mouseenter=()=>{this._isTouchDevice||this.show()})}_bindMouseLeave(){this._element.addEventListener($t,this._fn.mouseleave=()=>{this.hide()})}_bindClick(){s.on(this._actionButton,Yt,()=>{c.hasClass(this._element,"active")?this.hide():this.show()})}_bindListHideTransitionEnd(){s.on(this._buttonList,Xt,t=>{"transform"===t.propertyName&&(s.off(this._buttonList,Xt),this._element.style.height="".concat(this._initialContainerHeight,"px"),s.trigger(this._element,Zt))})}_bindListOpenTransitionEnd(){s.on(this._buttonList,Xt,t=>{"transform"===t.propertyName&&(s.off(this._buttonList,Xt),s.trigger(this._element,te))})}_toggleVisibility(t){const e=t?"addClass":"removeClass";t=t?"translate(0)":"translateY(".concat(this._fullContainerHeight,"px)");c.addStyle(this._buttonList,{transform:t}),this._buttonListElements&&this._buttonListElements.forEach(t=>c[e](t,"shown")),c[e](this._element,"active")}_getHeight(t){t=window.getComputedStyle(t);return parseFloat(t.getPropertyValue("height"))}_saveInitialHeights(){this._initialContainerHeight=this._getHeight(this._element),this._initialListHeight=this._getHeight(this._buttonList),this._fullContainerHeight=this._initialContainerHeight+this._initialListHeight}_bindInitialEvents(){this._bindClick(),this._bindMouseEnter(),this._bindMouseLeave()}_setInitialStyles(){this._buttonList.style.marginBottom="".concat(this._initialContainerHeight,"px"),this._buttonList.style.transform="translateY(".concat(this._fullContainerHeight,"px)"),this._element.style.height="".concat(this._initialContainerHeight,"px")}}a.find(".fixed-action-btn").forEach(t=>{let e=b.getInstance(t);return e=e||new b(t)}),a.find('[data-mdb-toggle="button"]').forEach(t=>{let e=b.getInstance(t);return e=e||new b(t)}),o(()=>{const t=i();if(t){const e=t.fn[Vt];t.fn[Vt]=b.jQueryInterface,t.fn[Vt].Constructor=b,t.fn[Vt].noConflict=()=>(t.fn[Vt]=e,b.jQueryInterface)}});var ne=b,y={find(t){var e=1t.matches(e))},parents(t,e){var n=[];let i=t.parentNode.closest(e);for(;i;)n.push(i),i=i.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){var e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>"".concat(t,':not([tabindex^="-"])')).join(",");return this.find(e,t).filter(t=>!ft(t)&&dt(t))}};const ie=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",oe=".sticky-top",re="padding-right",se="margin-right";var ae=class{constructor(){this._element=document.body}getWidth(){var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,re,t=>t+e),this._setElementAttributes(ie,re,t=>t+e),this._setElementAttributes(oe,se,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,re),this._resetElementAttributes(ie,re),this._resetElementAttributes(oe,se)}isOverflowing(){return 0{var e;t!==this._element&&window.innerWidth>t.clientWidth+o||(this._saveInitialAttribute(t,n),e=window.getComputedStyle(t).getPropertyValue(n),t.style.setProperty(n,"".concat(i(Number.parseFloat(e)),"px")))})}_saveInitialAttribute(t,e){var n=t.style.getPropertyValue(e);n&&p.setDataAttribute(t,e,n)}_resetElementAttributes(t,n){this._applyManipulationCallback(t,t=>{var e=p.getDataAttribute(t,n);null===e?t.style.removeProperty(n):(p.removeDataAttribute(t,n),t.style.setProperty(n,e))})}_applyManipulationCallback(t,e){if(u(t))e(t);else for(const n of y.find(t,this._element))e(n)}};const ce="backdrop",le="mousedown.bs.".concat(ce),ue={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},he={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};var de=class extends g{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ue}static get DefaultType(){return he}static get NAME(){return ce}show(t){var e;this._config.isVisible?(this._append(),e=this._getElement(),this._config.isAnimated&&mt(e),e.classList.add("show"),this._emulateAnimation(()=>{d(t)})):d(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),d(t)})):d(t)}dispose(){this._isAppended&&(f.off(this._element,le),this._element.remove(),this._isAppended=!1)}_getElement(){var t;return this._element||((t=document.createElement("div")).className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t),this._element}_configAfterMerge(t){return t.rootElement=ht(t.rootElement),t}_append(){var t;this._isAppended||(t=this._getElement(),this._config.rootElement.append(t),f.on(t,le,()=>{d(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(t){bt(t,this._getElement(),this._config.isAnimated)}};const fe=".".concat("bs.focustrap"),pe="focusin".concat(fe),ge="keydown.tab".concat(fe),me="backward",_e={autofocus:!0,trapElement:null},ve={autofocus:"boolean",trapElement:"element"};function be(e){let n=1this._handleFocusin(t)),f.on(document,ge,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,fe))}_handleFocusin(t){var e=this._config["trapElement"];t.target===document||t.target===e||e.contains(t.target)||(0===(t=y.focusableChildren(e)).length?e:this._lastTabNavDirection===me?t[t.length-1]:t[0]).focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?me:"forward")}};var v=".".concat("bs.offcanvas"),_=".data-api",w="load".concat(v).concat(_);const we="showing",Ee=".offcanvas.show",xe="show".concat(v),Ce="shown".concat(v),Ae="hide".concat(v),Te="hidePrevented".concat(v),Oe="hidden".concat(v);var E="resize".concat(v),_="click".concat(v).concat(_);const Le="keydown.dismiss".concat(v);const Se={backdrop:!0,keyboard:!0,scroll:!1},Ie={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class ke extends m{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Se}static get DefaultType(){return Ie}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||f.trigger(this._element,xe,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ae).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(we),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(we),f.trigger(this._element,Ce,{relatedTarget:t})},this._element,!0))}hide(){this._isShown&&!f.trigger(this._element,Ae).defaultPrevented&&(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ae).reset(),f.trigger(this._element,Oe)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var t=Boolean(this._config.backdrop);return new de({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"===this._config.backdrop?f.trigger(this._element,Te):this.hide()}:null})}_initializeFocusTrap(){return new ye({trapElement:this._element})}_addEventListeners(){f.on(this._element,Le,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():f.trigger(this._element,Te))})}static jQueryInterface(e){return this.each(function(){var t=ke.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}})}}f.on(document,_,'[data-mdb-toggle="offcanvas"]',function(t){var e=l(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),ft(this)||(f.one(e,Oe,()=>{dt(this)&&this.focus()}),(t=y.findOne(Ee))&&t!==e&&ke.getInstance(t).hide(),ke.getOrCreateInstance(e).toggle(this))}),f.on(window,w,()=>{for(const t of y.find(Ee))ke.getOrCreateInstance(t).show()}),f.on(window,E,()=>{for(const t of y.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&ke.getOrCreateInstance(t).hide()}),be(ke),t(ke);var De=ke;v=".".concat("bs.alert");const je="close".concat(v),Me="closed".concat(v);class Pe extends m{static get NAME(){return"alert"}close(){var t;f.trigger(this._element,je).defaultPrevented||(this._element.classList.remove("show"),t=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,t))}_destroyElement(){this._element.remove(),f.trigger(this._element,Me),this.dispose()}static jQueryInterface(e){return this.each(function(){var t=Pe.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}})}}be(Pe,"close"),t(Pe);_=Pe;const Ne="alert",Re=[{name:"close"},{name:"closed"}];class He extends _{constructor(t){super(t,1{var e=He.getInstance(t);e||new He(t)}),o(()=>{const t=i();if(t){const e=t.fn[Ne];t.fn[Ne]=He.jQueryInterface,t.fn[Ne].Constructor=He,t.fn[Ne].noConflict=()=>(t.fn[Ne]=e,He.jQueryInterface)}});var Be=He;const We=".bs.swipe",Fe="touchstart".concat(We),qe="touchmove".concat(We),ze="touchend".concat(We),Qe="pointerdown".concat(We),Ve="pointerup".concat(We),Ue={endCallback:null,leftCallback:null,rightCallback:null},Ye={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Xe extends g{constructor(t,e){super(),(this._element=t)&&Xe.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return Ue}static get DefaultType(){return Ye}static get NAME(){return"swipe"}dispose(){f.off(this._element,We)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),d(this._config.endCallback)}_move(t){this._deltaX=t.touches&&1this._start(t)),f.on(this._element,Ve,t=>this._end(t)),this._element.classList.add("pointer-event")):(f.on(this._element,Fe,t=>this._start(t)),f.on(this._element,qe,t=>this._move(t)),f.on(this._element,ze,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,en,()=>this.cycle()):this.cycle())}to(t){var e,n=this._getItems();t>n.length-1||t<0||(this._isSliding?f.one(this._element,en,()=>this.to(t)):(e=this._getItemIndex(this._getActive()))!==t&&(e=ethis._keydown(t)),"hover"===this._config.pause&&(f.on(this._element,on,()=>this.pause()),f.on(this._element,rn,()=>this._maybeEnableCycle())),this._config.touch&&Ke.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of y.find(".carousel-item img",this._element))f.on(t,sn,t=>t.preventDefault());this._swipeHelper=new Ke(this._element,{leftCallback:()=>this._slide(this._directionToOrder(Ze)),rightCallback:()=>this._slide(this._directionToOrder(Je)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(t){var e;/input|textarea/i.test(t.target.tagName)||(e=hn[t.key])&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){var e;this._indicatorsElement&&((e=y.findOne(ln,this._indicatorsElement)).classList.remove(cn),e.removeAttribute("aria-current"),e=y.findOne('[data-mdb-slide-to="'.concat(t,'"]'),this._indicatorsElement))&&(e.classList.add(cn),e.setAttribute("aria-current","true"))}_updateInterval(){var t=this._activeElement||this._getActive();t&&(t=Number.parseInt(t.getAttribute("data-mdb-interval"),10),this._config.interval=t||this._config.defaultInterval)}_slide(e){var t=1f.trigger(this._element,t,{relatedTarget:o,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:r});t=s(tn);if(!t.defaultPrevented&&i&&o){t=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=o;const a=n?"carousel-item-start":"carousel-item-end",c=n?"carousel-item-next":"carousel-item-prev";o.classList.add(c),mt(o),i.classList.add(a),o.classList.add(a);this._queueCallback(()=>{o.classList.remove(a,c),o.classList.add(cn),i.classList.remove(cn,c,a),this._isSliding=!1,s(en)},i,this._isAnimated()),t&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return y.findOne(".active.carousel-item",this._element)}_getItems(){return y.find(un,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return h()?t===Ze?Ge:$e:t===Ze?$e:Ge}_orderToDirection(t){return h()?t===Ge?Ze:Je:t===Ge?Je:Ze}static jQueryInterface(e){return this.each(function(){var t=pn.getOrCreateInstance(this,e);if("number"==typeof e)t.to(e);else if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}f.on(document,_,"[data-mdb-slide], [data-mdb-slide-to]",function(t){var e=l(this);e&&e.classList.contains(an)&&(t.preventDefault(),t=pn.getOrCreateInstance(e),(e=this.getAttribute("data-mdb-slide-to"))?t.to(e):"next"===p.getDataAttribute(this,"slide")?t.next():t.prev(),t._maybeEnableCycle())}),f.on(window,v,()=>{for(const t of y.find('[data-mdb-ride="carousel"]'))pn.getOrCreateInstance(t)}),t(pn);w=pn;const gn="carousel",mn=[{name:"slide",parametersToCopy:["relatedTarget","direction","from","to"]},{name:"slid",parametersToCopy:["relatedTarget","direction","from","to"]}];class _n extends w{constructor(t,e){super(t,e),this._init()}dispose(){s.off(this._element,"slide.bs.carousel"),s.off(this._element,"slid.bs.carousel"),super.dispose()}static get NAME(){return gn}_init(){this._bindMdbEvents()}_bindMdbEvents(){s.extend(this._element,mn,gn)}}a.find('[data-mdb-ride="carousel"]').forEach(t=>{var e=_n.getInstance(t);e||new _n(t,c.getDataAttributes(t))}),o(()=>{const t=i();if(t){const e=t.fn[gn];t.fn[gn]=_n.jQueryInterface,t.fn[gn].Constructor=_n,t.fn[gn].noConflict=()=>(t.fn[gn]=e,_n.jQueryInterface)}});var vn=_n;const x=".".concat("bs.modal");const bn="hide".concat(x),yn="hidePrevented".concat(x),wn="hidden".concat(x),En="show".concat(x),xn="shown".concat(x),Cn="resize".concat(x),An="click.dismiss".concat(x),Tn="mousedown.dismiss".concat(x),On="keydown.dismiss".concat(x);E="click".concat(x).concat(".data-api");const Ln="modal-open",Sn="modal-static";const In={backdrop:!0,focus:!0,keyboard:!0},kn={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Dn extends m{constructor(t,e){super(t,e),this._dialog=y.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ae,this._addEventListeners()}static get Default(){return In}static get DefaultType(){return kn}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||f.trigger(this._element,En,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ln),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||f.trigger(this._element,bn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const t of[window,this._dialog])f.off(t,x);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new de({isVisible:Boolean(this._config.backdrop)&&Boolean(!this._config.modalNonInvasive),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ye({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var e=y.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),mt(this._element),this._element.classList.add("show");this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,xn,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,On,t=>{"Escape"===t.key&&(this._config.keyboard?(t.preventDefault(),this.hide()):this._triggerBackdropTransition())}),f.on(window,Cn,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,Tn,e=>{f.one(this._element,An,t=>{this._element===e.target&&this._element===t.target&&("static"===this._config.backdrop?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ln),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,wn)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){var t=f.trigger(this._element,yn);if(!t.defaultPrevented){t=this._element.scrollHeight>document.documentElement.clientHeight;const e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Sn)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Sn),this._queueCallback(()=>{this._element.classList.remove(Sn),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){var t,e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),i=0{t.defaultPrevented||f.one(e,wn,()=>{dt(this)&&this.focus()})}),y.find(".modal.show").forEach(t=>{t.classList.contains("modal-non-invasive-show")||Dn.getInstance(t).hide()}),Dn.getOrCreateInstance(e).toggle(this)}),be(Dn),t(Dn);_=Dn;const jn="modal",Mn=[{name:"show",parametersToCopy:["relatedTarget"]},{name:"shown",parametersToCopy:["relatedTarget"]},{name:"hide"},{name:"hidePrevented"},{name:"hidden"}];class Pn extends _{constructor(t,e){super(t,e),this._init()}dispose(){s.off(this._element,"show.bs.modal"),s.off(this._element,"shown.bs.modal"),s.off(this._element,"hide.bs.modal"),s.off(this._element,"hidden.bs.modal"),s.off(this._element,"hidePrevented.bs.modal"),super.dispose()}static get NAME(){return jn}_init(){this._bindMdbEvents()}_bindMdbEvents(){s.extend(this._element,Mn,jn)}}a.find('[data-mdb-toggle="modal"]').forEach(t=>{var t=H(t),t=a.findOne(t),e=Pn.getInstance(t);e||new Pn(t)}),o(()=>{const t=i();if(t){const e=t.fn[jn];t.fn[jn]=Pn.jQueryInterface,t.fn[jn].Constructor=Pn,t.fn[jn].noConflict=()=>(t.fn[jn]=e,Pn.jQueryInterface)}});var Nn=Pn,O="top",L="bottom",S="right",I="left",Rn="auto",Hn=[O,L,S,I],Bn="start",Wn="end",Fn="clippingParents",qn="viewport",zn="popper",Qn="reference",Vn=Hn.reduce(function(t,e){return t.concat([e+"-"+Bn,e+"-"+Wn])},[]),Un=[].concat(Hn,[Rn]).reduce(function(t,e){return t.concat([e,e+"-"+Bn,e+"-"+Wn])},[]),Yn="beforeRead",Xn="read",Kn="afterRead",$n="beforeMain",Gn="main",Zn="afterMain",Jn="beforeWrite",ti="write",ei="afterWrite",ni=[Yn,Xn,Kn,$n,Gn,Zn,Jn,ti,ei];function C(t){return t?(t.nodeName||"").toLowerCase():null}function A(t){var e;return null==t?window:"[object Window]"!==t.toString()?(e=t.ownerDocument)&&e.defaultView||window:t}function ii(t){return t instanceof A(t).Element||t instanceof Element}function T(t){return t instanceof A(t).HTMLElement||t instanceof HTMLElement}function oi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof A(t).ShadowRoot||t instanceof ShadowRoot)}var ri={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var o=t.state;Object.keys(o.elements).forEach(function(t){var e=o.styles[t]||{},n=o.attributes[t]||{},i=o.elements[t];T(i)&&C(i)&&(Object.assign(i.style,e),Object.keys(n).forEach(function(t){var e=n[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var i=t.state,o={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,o.popper),i.styles=o,i.elements.arrow&&Object.assign(i.elements.arrow.style,o.arrow),function(){Object.keys(i.elements).forEach(function(t){var e=i.elements[t],n=i.attributes[t]||{},t=Object.keys((i.styles.hasOwnProperty(t)?i.styles:o)[t]).reduce(function(t,e){return t[e]="",t},{});T(e)&&C(e)&&(Object.assign(e.style,t),Object.keys(n).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]};function k(t){return t.split("-")[0]}var si=Math.max,ai=Math.min,ci=Math.round;function li(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ui(){return!/^((?!chrome|android).)*safari/i.test(li())}function hi(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),o=1,r=1;e&&T(t)&&(o=0l[C]&&(x=ki(x)),ki(x)),C=[];if(i&&C.push(A[w]<=0),o&&C.push(A[x]<=0,A[E]<=0),C.every(function(t){return t})){v=y,_=!1;break}u.set(y,C)}if(_)for(var T=g?3:1;0{const n=t.nodeName.toLowerCase();return e.includes(n)?!oo.has(n)||Boolean(ro.test(t.nodeValue)||so.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(n))})(a,r)||s.removeAttribute(a.nodeName)}else s.remove()}return n.body.innerHTML}const co={allowList:v,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
    "},lo={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},uo={entry:"(string|element|function|null)",selector:"(string|element)"};var ho=class extends g{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return co}static get DefaultType(){return lo}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return 0
    ',title:"",trigger:"hover focus"},Eo={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class xo extends m{constructor(t,e){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return wo}static get DefaultType(){return Eo}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),f.off(this._element.closest(mo),_o,this._hideModalHandler),this._element.getAttribute("data-mdb-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-mdb-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this._isWithContent()&&this._isEnabled){var t=f.trigger(this._element,this.constructor.eventName("show")),e=(pt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!t.defaultPrevented&&e){this._disposePopper();t=this._getTipElement(),e=(this._element.setAttribute("aria-describedby",t.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(e.append(t),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(t),t.classList.add(go),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))f.on(n,"mouseover",gt);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()){var t=f.trigger(this._element,this.constructor.eventName("hide"));if(!t.defaultPrevented){if(this._getTipElement().classList.remove(go),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))f.off(e,"mouseover",gt);this._activeTrigger.click=!1,this._activeTrigger[bo]=!1,this._activeTrigger[vo]=!1,this._isHovered=null;this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){t=this._getTemplateFactory(t).toHtml();if(!t)return null;t.classList.remove(po,go),t.classList.add("bs-".concat(this.constructor.NAME,"-auto"));var e=(t=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t})(this.constructor.NAME).toString();return t.setAttribute("id",e),this._isAnimated()&&t.classList.add(po),t}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new ho({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-mdb-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(po)}_isShown(){return this.tip&&this.tip.classList.contains(go)}_createPopper(t){var e="function"==typeof this._config.placement?this._config.placement.call(this,t,this._element):this._config.placement,e=yo[e.toUpperCase()];return no(this._element,t,this._getPopperConfig(e))}_getOffset(){const e=this._config["offset"];return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){t={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){var t,e;for(const n of this._config.trigger.split(" "))"click"===n?f.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{this._initializeOnDelegatedTarget(t).toggle()}):"manual"!==n&&(t=n===vo?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),e=n===vo?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout"),f.on(this._element,t,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?bo:vo]=!0,e._enter()}),f.on(this._element,e,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?bo:vo]=e._element.contains(t.relatedTarget),e._leave()}));this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(mo),_o,this._hideModalHandler)}_fixTitle(){var t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-mdb-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){var e=p.getDataAttributes(this._element);for(const n of Object.keys(e))fo.has(n)&&delete e[n];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:ht(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){var t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){var t=xo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}t(xo);w=xo;const Co={...w.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Ao={...w.DefaultType,content:"(null|string|element|function)"};class To extends w{static get Default(){return Co}static get DefaultType(){return Ao}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){var t=To.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}t(To);E=To;const Oo="popover",Lo=[{name:"show"},{name:"shown"},{name:"hide"},{name:"hidden"},{name:"inserted"}];class So extends E{constructor(t,e){super(t,e),this._init()}dispose(){s.off(this.element,"show.bs.popover"),s.off(this.element,"shown.bs.popover"),s.off(this.element,"hide.bs.popover"),s.off(this.element,"hidden.bs.popover"),s.off(this.element,"inserted.bs.popover"),super.dispose()}static get NAME(){return Oo}_init(){this._bindMdbEvents()}_bindMdbEvents(){s.extend(this._element,Lo,Oo)}}a.find('[data-mdb-toggle="popover"]').forEach(t=>{var e=So.getInstance(t);e||new So(t)}),o(()=>{const t=i();if(t){const e=t.fn[Oo];t.fn[Oo]=So.jQueryInterface,t.fn[Oo].Constructor=So,t.fn[Oo].noConflict=()=>(t.fn[Oo]=e,So.jQueryInterface)}});var Io=So;_=".".concat("bs.scrollspy");const ko="activate".concat(_),Do="click".concat(_);"load".concat(_).concat(".data-api");const jo="active";const Mo="[href]";g=".nav-link";const Po="".concat(g,", ").concat(".nav-item"," > ").concat(g,", ").concat(".list-group-item"),No={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Ro={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Ho extends m{constructor(t,e){super(t,e),this._config.target&&(this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh())}static get Default(){return No}static get DefaultType(){return Ro}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer&&this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=ht(t.target)||document.body,t.rootMargin=t.offset?"".concat(t.offset,"px 0px -30%"):t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,Do),f.on(this._config.target,Do,Mo,t=>{var e=this._observableSections.get(t.target.hash);e&&(t.preventDefault(),t=this._rootElement||window,e=e.offsetTop-this._element.offsetTop,t.scrollTo?t.scrollTo({top:e,behavior:"smooth"}):t.scrollTop=e)}))}_getNewObserver(){var t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),t)}_observerCallback(t){const e=t=>this._targetLinks.get("#".concat(t.target.id));var n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const s of t)if(s.isIntersecting){var r=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&r){if(n(s),i)continue;return}o||r||n(s)}else this._activeTarget=null,this._clearActiveClass(e(s))}_initializeTargetsAndObservables(){var t;this._targetLinks=new Map,this._observableSections=new Map;for(const e of y.find(Mo,this._config.target))e.hash&&!ft(e)&&(t=y.findOne(e.hash,this._element),dt(t))&&(this._targetLinks.set(e.hash,e),this._observableSections.set(e.hash,t))}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),(this._activeTarget=t).classList.add(jo),this._activateParents(t),f.trigger(this._element,ko,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))y.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(jo);else for(const e of y.parents(t,".nav, .list-group"))for(const n of y.prev(e,Po))n.classList.add(jo)}_clearActiveClass(t){t.classList.remove(jo);for(const e of y.find("".concat(Mo,".").concat(jo),t))e.classList.remove(jo)}static jQueryInterface(e){return this.each(function(){var t=Ho.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}t(Ho);v=Ho;const Bo="scrollspy";E="mdb.".concat(Bo),_=".".concat(E);const Wo="activate.bs.scrollspy",Fo="activate".concat(_);g="load".concat(_).concat(".data-api");const qo="collapsible-scrollspy";const zo=".".concat("active"),Qo=".".concat(qo);class Vo extends v{constructor(t,e){super(t,e),this._collapsibles=[],this._init()}dispose(){s.off(this._scrollElement,Wo),super.dispose()}static get NAME(){return Bo}_init(){this._bindActivateEvent(),this._getCollapsibles(),0!==this._collapsibles.length&&(this._showSubsection(),this._hideSubsection())}_getHeight(t){return t.offsetHeight}_hide(t){t=a.findOne("ul",t.parentNode);t.style.overflow="hidden",t.style.height="".concat(0,"px")}_show(t,e){t.style.height=e}_getCollapsibles(){var t=a.find(Qo);t&&t.forEach(t=>{var e=t.parentNode,e=a.findOne("ul",e),n=e.offsetHeight;this._collapsibles.push({element:e,relatedTarget:t.getAttribute("href"),height:"".concat(n,"px")})})}_showSubsection(){a.find(zo).filter(t=>c.hasClass(t,qo)).forEach(e=>{var t=a.findOne("ul",e.parentNode),n=this._collapsibles.find(t=>t.relatedTarget=e.getAttribute("href")).height;this._show(t,n)})}_hideSubsection(){a.find(Qo).filter(t=>!1===c.hasClass(t,"active")).forEach(t=>{this._hide(t)})}_bindActivateEvent(){s.on(this._element,Wo,t=>{this._showSubsection(),this._hideSubsection(),s.trigger(this._element,Fo,{relatedTarget:t.relatedTarget})})}}s.on(window,g,()=>{a.find('[data-mdb-spy="scroll"]').forEach(t=>{var e=Vo.getInstance(t);e||new Vo(t,c.getDataAttributes(t))})}),o(()=>{const t=i();if(t){const e=t.fn[Bo];t.fn[Bo]=Vo.jQueryInterface,t.fn[Bo].Constructor=Vo,t.fn[Bo].noConflict=()=>(t.fn[Bo]=e,Vo.jQueryInterface)}});var Uo=Vo;E=".".concat("bs.tab");const Yo="hide".concat(E),Xo="hidden".concat(E),Ko="show".concat(E),$o="shown".concat(E);_="click".concat(E);const Go="keydown".concat(E);v="load".concat(E);const Zo="ArrowRight",Jo="ArrowDown",tr="active",er="show";g=":not(.dropdown-toggle)";E=".nav-link".concat(g,", .list-group-item").concat(g,', [role="tab"]').concat(g),g='[data-mdb-toggle="tab"], [data-mdb-toggle="pill"], [data-mdb-toggle="list"]';const nr="".concat(E,", ").concat(g),ir=".".concat(tr,'[data-mdb-toggle="tab"], .').concat(tr,'[data-mdb-toggle="pill"], .').concat(tr,'[data-mdb-toggle="list"]');class or extends m{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,Go,t=>this._keydown(t)))}static get NAME(){return"tab"}show(){var t,e,n=this._element;this._elemIsActive(n)||(e=(t=this._getActiveElem())?f.trigger(t,Yo,{relatedTarget:n}):null,f.trigger(n,Ko,{relatedTarget:t}).defaultPrevented)||e&&e.defaultPrevented||(this._deactivate(t,n),this._activate(n,t))}_activate(t,e){t&&(t.classList.add(tr),this._activate(l(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.add(er):(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),f.trigger(t,$o,{relatedTarget:e}))},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove(tr),t.blur(),this._deactivate(l(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.remove(er):(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),f.trigger(t,Xo,{relatedTarget:e}))},t,t.classList.contains("fade")))}_keydown(t){var e;["ArrowLeft",Zo,"ArrowUp",Jo].includes(t.key)&&(t.stopPropagation(),t.preventDefault(),e=[Zo,Jo].includes(t.key),t=yt(this._getChildren().filter(t=>!ft(t)),t.target,e,!0))&&(t.focus({preventScroll:!0}),or.getOrCreateInstance(t).show())}_getChildren(){return y.find(nr,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const n of e)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);var e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){var e=l(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id)&&this._setAttributeIfNotExists(e,"aria-labelledby","#".concat(t.id))}_toggleDropDown(t,n){const i=this._getOuterElement(t);i.classList.contains("dropdown")&&((t=(t,e)=>{t=y.findOne(t,i);t&&t.classList.toggle(e,n)})(".dropdown-toggle",tr),t(".dropdown-menu",er),i.setAttribute("aria-expanded",n))}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(tr)}_getInnerElement(t){return t.matches(nr)?t:y.findOne(nr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each(function(){var t=or.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}f.on(document,_,g,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),ft(this)||or.getOrCreateInstance(this).show()}),f.on(window,v,()=>{for(const t of y.find(ir))or.getOrCreateInstance(t)}),t(or);E=or;const rr="tab";_="mdb.".concat(rr),g=".".concat(_);const sr="show.bs.tab",ar="shown.bs.tab",cr="show".concat(g),lr="shown".concat(g),ur="hide".concat(g),hr="hidden".concat(g);class dr extends E{dispose(){s.off(this._element,sr),s.off(this._element,ar),super.dispose()}static get NAME(){return rr}show(){var n=this._element;if(!this._elemIsActive(n)){var i=this._getActiveElem();let t=null,e=null;i&&(t=s.trigger(i,"hide.bs.tab",{relatedTarget:n}),e=s.trigger(i,ur,{relatedTarget:n}));var o=s.trigger(n,sr,{relatedTarget:i}),r=s.trigger(n,cr,{relatedTarget:i});o.defaultPrevented&&r.defaultPrevented||t&&t.defaultPrevented&&e&&e.defaultPrevented||(this._deactivate(i,n),this._activate(n,i))}}_activate(t,e){t&&(t.classList.add("active"),this._activate(B(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.add("show"):(t.focus(),t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),s.trigger(t,ar,{relatedTarget:e}),s.trigger(t,lr,{relatedTarget:e}))},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove("active"),t.blur(),this._deactivate(B(t)),this._queueCallback(()=>{"tab"!==t.getAttribute("role")?t.classList.remove("show"):(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),s.trigger(t,"hidden.bs.tab",{relatedTarget:e}),s.trigger(t,hr,{relatedTarget:e}))},t,t.classList.contains("fade")))}}a.find('[data-mdb-toggle="tab"], [data-mdb-toggle="pill"], [data-mdb-toggle="list"]').forEach(t=>{var e=dr.getInstance(t);e||new dr(t)}),o(()=>{const t=i();if(t){const e=t.fn.tab;t.fn.tab=dr.jQueryInterface,t.fn.tab.Constructor=dr,t.fn.tab.noConflict=()=>(t.fn.tab=e,dr.jQueryInterface)}});var fr=dr;const pr="tooltip",gr=[{name:"show"},{name:"shown"},{name:"hide"},{name:"hidden"},{name:"inserted"}];class mr extends w{constructor(t,e){super(t,e),this._init()}dispose(){s.off(this._element,"show.bs.tooltip"),s.off(this._element,"shown.bs.tooltip"),s.off(this._element,"hide.bs.tooltip"),s.off(this._element,"hidden.bs.tooltip"),s.off(this._element,"inserted.bs.tooltip"),super.dispose()}static get NAME(){return pr}_init(){this._bindMdbEvents()}_bindMdbEvents(){s.extend(this._element,gr,pr)}}a.find('[data-mdb-toggle="tooltip"]').forEach(t=>{var e=mr.getInstance(t);e||new mr(t)}),o(()=>{const t=i();if(t){const e=t.fn[pr];t.fn[pr]=mr.jQueryInterface,t.fn[pr].Constructor=mr,t.fn[pr].noConflict=()=>(t.fn[pr]=e,mr.jQueryInterface)}});var _r=mr;v=".".concat("bs.toast");const vr="mouseover".concat(v),br="mouseout".concat(v),yr="focusin".concat(v),wr="focusout".concat(v),Er="hide".concat(v),xr="hidden".concat(v),Cr="show".concat(v),Ar="shown".concat(v),Tr="show",Or="showing",Lr={animation:"boolean",autohide:"boolean",delay:"number"},Sr={animation:!0,autohide:!0,delay:5e3};class Ir extends m{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Sr}static get DefaultType(){return Lr}static get NAME(){return"toast"}show(){f.trigger(this._element,Cr).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),mt(this._element),this._element.classList.add(Tr,Or),this._queueCallback(()=>{this._element.classList.remove(Or),f.trigger(this._element,Ar),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&!f.trigger(this._element,Er).defaultPrevented&&(this._element.classList.add(Or),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(Or,Tr),f.trigger(this._element,xr)},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Tr),super.dispose()}isShown(){return this._element.classList.contains(Tr)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}e?this._clearTimeout():(t=t.relatedTarget,this._element===t||this._element.contains(t)||this._maybeScheduleHide())}_setListeners(){f.on(this._element,vr,t=>this._onInteraction(t,!0)),f.on(this._element,br,t=>this._onInteraction(t,!1)),f.on(this._element,yr,t=>this._onInteraction(t,!0)),f.on(this._element,wr,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){var t=Ir.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}})}}be(Ir),t(Ir);_=Ir;const kr="toast",Dr=[{name:"show"},{name:"shown"},{name:"hide"},{name:"hidden"}];class jr extends _{constructor(t,e){super(t,e),this._init()}dispose(){s.off(this._element,"show.bs.toast"),s.off(this._element,"shown.bs.toast"),s.off(this._element,"hide.bs.toast"),s.off(this._element,"hidden.bs.toast"),super.dispose()}static get NAME(){return kr}_init(){this._bindMdbEvents()}_bindMdbEvents(){s.extend(this._element,Dr,kr)}}a.find(".toast").forEach(t=>{var e=jr.getInstance(t);e||new jr(t)}),o(()=>{const t=i();if(t){const e=t.fn[kr];t.fn[kr]=jr.jQueryInterface,t.fn[kr].Constructor=jr,t.fn[kr].noConflict=()=>(t.fn[kr]=e,jr.jQueryInterface)}});var Mr=jr;e(116);const Pr="input",Nr="mdb.input";g="form-outline";const Rr="active",Hr="form-notch",Br="form-notch-leading",Wr="form-notch-middle";const Fr=".".concat(g," input"),qr=".".concat(g," textarea"),zr=".".concat(Hr),Qr=".".concat(Br),Vr=".".concat(Wr),Ur=".".concat("form-helper");class j{constructor(t){this._element=t,this._label=null,this._labelWidth=0,this._labelMarginLeft=0,this._notchLeading=null,this._notchMiddle=null,this._notchTrailing=null,this._initiated=!1,this._helper=null,this._counter=!1,this._counterElement=null,this._maxLength=0,this._leadingIcon=null,this._element&&(r.setData(t,Nr,this),this.init())}static get NAME(){return Pr}get input(){return a.findOne("input",this._element)||a.findOne("textarea",this._element)}init(){this._initiated||(this._getLabelData(),this._applyDivs(),this._applyNotch(),this._activate(),this._getHelper(),this._getCounter(),this._initiated=!0)}update(){this._getLabelData(),this._getNotchData(),this._applyNotch(),this._activate(),this._getHelper(),this._getCounter()}forceActive(){c.addClass(this.input,Rr)}forceInactive(){c.removeClass(this.input,Rr)}dispose(){this._removeBorder(),r.removeData(this._element,Nr),this._element=null}_getLabelData(){this._label=a.findOne("label",this._element),null===this._label?this._showPlaceholder():(this._getLabelWidth(),this._getLabelPositionInInputGroup(),this._toggleDefaultDatePlaceholder())}_getHelper(){this._helper=a.findOne(Ur,this._element)}_getCounter(){this._counter=c.getDataAttribute(this.input,"showcounter"),this._counter&&(this._maxLength=this.input.maxLength,this._showCounter())}_showCounter(){var t;0{var t=this.input.value.length;this._counterElement.innerHTML="".concat(t," / ").concat(this._maxLength)})}_toggleDefaultDatePlaceholder(){var t=0{this._getElements(e);var t=e?e.target:this.input;""!==t.value&&c.addClass(t,Rr),this._toggleDefaultDatePlaceholder(t)})}_getElements(t){var e;t&&(this._element=t.target.parentNode,this._label=a.findOne("label",this._element)),t&&this._label&&(e=this._labelWidth,this._getLabelData(),e!==this._labelWidth)&&(this._notchMiddle=a.findOne(".form-notch-middle",t.target.parentNode),this._notchLeading=a.findOne(Qr,t.target.parentNode),this._applyNotch())}_deactivate(t){t=t?t.target:this.input;""===t.value&&t.classList.remove(Rr),this._toggleDefaultDatePlaceholder(t)}static activate(e){return function(t){e._activate(t)}}static deactivate(e){return function(t){e._deactivate(t)}}static jQueryInterface(n,i){return this.each(function(){let t=r.getData(this,Nr);var e="object"==typeof n&&n;if((t||!/dispose/.test(n))&&(t=t||new j(this,e),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'.concat(n,'"'));t[n](i)}})}static getInstance(t){return r.getData(t,Nr)}static getOrCreateInstance(t){var e=1{a.find(Fr,t.target).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.update()}),a.find(qr,t.target).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.update()})}),s.on(window,"shown.bs.dropdown",t=>{t=t.target.parentNode.querySelector(".dropdown-menu");t&&(a.find(Fr,t).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.update()}),a.find(qr,t).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.update()}))}),s.on(window,"shown.bs.tab",t=>{let e;e=(t.target.href||c.getDataAttribute(t.target,"target")).split("#")[1];t=a.findOne("#".concat(e));a.find(Fr,t).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.update()}),a.find(qr,t).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.update()})}),a.find(".".concat(g)).map(t=>new j(t)),s.on(window,"reset",t=>{a.find(Fr,t.target).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.forceInactive()}),a.find(qr,t.target).forEach(t=>{t=j.getInstance(t.parentNode);t&&t.forceInactive()})}),s.on(window,"onautocomplete",t=>{var e=j.getInstance(t.target.parentNode);e&&t.cancelable&&e.forceActive()}),o(()=>{const t=i();if(t){const e=t.fn[Pr];t.fn[Pr]=j.jQueryInterface,t.fn[Pr].Constructor=j,t.fn[Pr].noConflict=()=>(t.fn[Pr]=e,j.jQueryInterface)}});var Yr=j;E=".".concat("bs.collapse");const Xr="show".concat(E),Kr="shown".concat(E),$r="hide".concat(E),Gr="hidden".concat(E);w="click".concat(E).concat(".data-api");const Zr="show",Jr="collapse",ts="collapsing",es=":scope .".concat(Jr," .").concat(Jr),ns='[data-mdb-toggle="collapse"]',is={parent:null,toggle:!0},os={parent:"(null|element)",toggle:"boolean"};class rs extends m{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];for(const o of y.find(ns)){var n=lt(o),i=y.find(n).filter(t=>t===this._element);null!==n&&i.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return is}static get DefaultType(){return os}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t=[];if(!(t=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(t=>rs.getOrCreateInstance(t,{toggle:!1})):t).length||!t[0]._isTransitioning){var e=f.trigger(this._element,Xr);if(!e.defaultPrevented){for(const i of t)i.hide();const n=this._getDimension();this._element.classList.remove(Jr),this._element.classList.add(ts),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;e=n[0].toUpperCase()+n.slice(1),e="scroll".concat(e);this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ts),this._element.classList.add(Jr,Zr),this._element.style[n]="",f.trigger(this._element,Kr)},this._element,!0),this._element.style[n]="".concat(this._element[e],"px")}}}}hide(){if(!this._isTransitioning&&this._isShown()){var t=f.trigger(this._element,$r);if(!t.defaultPrevented){t=this._getDimension();this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),mt(this._element),this._element.classList.add(ts),this._element.classList.remove(Jr,Zr);for(const n of this._triggerArray){var e=l(n);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([n],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ts),this._element.classList.add(Jr),f.trigger(this._element,Gr)},this._element,!0)}}}_isShown(){return(0!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(e){const n={};return"string"==typeof e&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){var t=rs.getOrCreateInstance(this,n);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}f.on(document,w,ns,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();t=lt(this);for(const e of y.find(t))rs.getOrCreateInstance(e,{toggle:!1}).toggle()}),t(rs);v=rs;const ss="collapse",as=[{name:"show"},{name:"shown"},{name:"hide"},{name:"hidden"}];class cs extends v{constructor(t){super(t,1{t=H(t);a.find(t).forEach(t=>{cs.getOrCreateInstance(t,{toggle:!1})})}),o(()=>{const t=i();if(t){const e=t.fn[ss];t.fn[ss]=cs.jQueryInterface,t.fn[ss].Constructor=cs,t.fn[ss].noConflict=()=>(t.fn[ss]=e,cs.jQueryInterface)}});var ls=cs;const us="dropdown";_=".".concat("bs.dropdown"),e=".data-api";const hs="ArrowDown",ds="hide".concat(_),fs="hidden".concat(_),ps="show".concat(_),gs="shown".concat(_);g="click".concat(_).concat(e),E="keydown".concat(_).concat(e),w="keyup".concat(_).concat(e);const ms="show",_s='[data-mdb-toggle="dropdown"]:not(.disabled):not(:disabled)',vs="".concat(_s,".").concat(ms),bs=".dropdown-menu",ys=h()?"top-end":"top-start",ws=h()?"top-start":"top-end",Es=h()?"bottom-end":"bottom-start",xs=h()?"bottom-start":"bottom-end",Cs=h()?"left-start":"right-start",As=h()?"right-start":"left-start",Ts={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Os={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class M extends m{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=y.next(this._element,bs)[0]||y.prev(this._element,bs)[0]||y.findOne(bs,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ts}static get DefaultType(){return Os}static get NAME(){return us}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!ft(this._element)&&!this._isShown()){var t={relatedTarget:this._element},e=f.trigger(this._element,ps,t);if(!e.defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const n of[].concat(...document.body.children))f.on(n,"mouseover",gt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ms),this._element.classList.add(ms),f.trigger(this._element,gs,t)}}}hide(){var t;!ft(this._element)&&this._isShown()&&(t={relatedTarget:this._element},this._completeHide(t))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){var e=f.trigger(this._element,ds,t);if(!e.defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))f.off(n,"mouseover",gt);this._popper&&this._popper.destroy(),this._menu.classList.remove(ms),this._element.classList.remove(ms),this._element.setAttribute("aria-expanded","false"),p.removeDataAttribute(this._menu,"popper"),f.trigger(this._element,fs,t)}}_getConfig(t){if("object"!=typeof(t=super._getConfig(t)).reference||u(t.reference)||"function"==typeof t.reference.getBoundingClientRect)return t;throw new TypeError("".concat(us.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'))}_createPopper(){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:u(this._config.reference)?t=ht(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);var e=this._getPopperConfig();this._popper=no(t,this._menu,e)}_isShown(){return this._menu.classList.contains(ms)}_getPlacement(){var t,e=this._parent;return e.classList.contains("dropend")?Cs:e.classList.contains("dropstart")?As:e.classList.contains("dropup-center")?"top":e.classList.contains("dropdown-center")?"bottom":(t="end"===getComputedStyle(this._menu).getPropertyValue("--mdb-position").trim(),e.classList.contains("dropup")?t?ws:ys:t?xs:Es)}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const e=this._config["offset"];return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){var t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(p.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem(t){var{key:t,target:e}=t,n=y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>dt(t));n.length&&yt(n,e,t===hs,!n.includes(e)).focus()}static jQueryInterface(e){return this.each(function(){var t=M.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}static clearMenus(t){if(2!==t.button&&("keyup"!==t.type||"Tab"===t.key))for(const o of y.find(vs)){var e,n,i=M.getInstance(o);i&&!1!==i._config.autoClose&&(e=(n=t.composedPath()).includes(i._menu),n.includes(i._element)||"inside"===i._config.autoClose&&!e||"outside"===i._config.autoClose&&e||i._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName))||(n={relatedTarget:i._element},"click"===t.type&&(n.clickEvent=t),i._completeHide(n)))}}static dataApiKeydownHandler(t){var e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,i=["ArrowUp",hs].includes(t.key);!i&&!n||e&&!n||(t.preventDefault(),e=this.matches(_s)?this:y.prev(this,_s)[0]||y.next(this,_s)[0]||y.findOne(_s,t.delegateTarget.parentNode),n=M.getOrCreateInstance(e),i?(t.stopPropagation(),n.show(),n._selectMenuItem(t)):n._isShown()&&(t.stopPropagation(),n.hide(),e.focus()))}}f.on(document,E,_s,M.dataApiKeydownHandler),f.on(document,E,bs,M.dataApiKeydownHandler),f.on(document,g,M.clearMenus),f.on(document,w,M.clearMenus),f.on(document,g,_s,function(t){t.preventDefault(),M.getOrCreateInstance(this).toggle()}),t(M);v=M;const Ls="dropdown";_="mdb.".concat(Ls),e=".".concat(_);const Ss={offset:[0,2],flip:!0,boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,dropdownAnimation:"on"},Is={offset:"(array|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",dropdownAnimation:"string"},ks="hide.bs.dropdown",Ds="hidden.bs.dropdown",js="show.bs.dropdown",Ms="shown.bs.dropdown",Ps="hide".concat(e),Ns="hidden".concat(e),Rs="show".concat(e),Hs="shown".concat(e),Bs="animation",Ws="fade-in",Fs="fade-out";class qs extends v{constructor(t,e){super(t,e),this._config=this._getConfig(e),this._menuStyle="",this._popperPlacement="",this._mdbPopperConfig="";t=window.matchMedia("(prefers-reduced-motion: reduce)").matches;"on"!==this._config.dropdownAnimation||t||this._init()}dispose(){s.off(this._element,js),s.off(this._parent,Ms),s.off(this._parent,ks),s.off(this._parent,Ds),super.dispose()}static get NAME(){return Ls}_init(){this._bindShowEvent(),this._bindShownEvent(),this._bindHideEvent(),this._bindHiddenEvent()}_getConfig(t){t={...Ss,...c.getDataAttributes(this._element),...t};return W(Ls,t,Is),t}_getOffset(){const e=this._config["offset"];return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){var t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{altBoundary:this._config.flip,boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(c.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_bindShowEvent(){s.on(this._element,js,t=>{s.trigger(this._element,Rs,{relatedTarget:t.relatedTarget}).defaultPrevented?t.preventDefault():this._dropdownAnimationStart("show")})}_bindShownEvent(){s.on(this._parent,Ms,t=>{s.trigger(this._parent,Hs,{relatedTarget:t.relatedTarget}).defaultPrevented&&t.preventDefault()})}_bindHideEvent(){s.on(this._parent,ks,t=>{s.trigger(this._parent,Ps,{relatedTarget:t.relatedTarget}).defaultPrevented?t.preventDefault():(this._menuStyle=this._menu.style.cssText,this._popperPlacement=this._menu.getAttribute("data-popper-placement"),this._mdbPopperConfig=this._menu.getAttribute("data-mdb-popper"))})}_bindHiddenEvent(){s.on(this._parent,Ds,t=>{s.trigger(this._parent,Ns,{relatedTarget:t.relatedTarget}).defaultPrevented?t.preventDefault():("static"!==this._config.display&&""!==this._menuStyle&&(this._menu.style.cssText=this._menuStyle),this._menu.setAttribute("data-popper-placement",this._popperPlacement),this._menu.setAttribute("data-mdb-popper",this._mdbPopperConfig),this._dropdownAnimationStart("hide"))})}_dropdownAnimationStart(t){"show"===t?(this._menu.classList.add(Bs,Ws),this._menu.classList.remove(Fs)):(this._menu.classList.add(Bs,Fs),this._menu.classList.remove(Ws)),this._bindAnimationEnd()}_bindAnimationEnd(){s.one(this._menu,"animationend",()=>{this._menu.classList.remove(Bs,Fs,Ws)})}}a.find('[data-mdb-toggle="dropdown"]').forEach(t=>{var e=qs.getInstance(t);e||new qs(t)}),o(()=>{const t=i();if(t){const e=t.fn[Ls];t.fn[Ls]=qs.jQueryInterface,t.fn[Ls].Constructor=qs,t.fn[Ls].noConflict=()=>(t.fn[Ls]=e,qs.jQueryInterface)}});var zs=qs;const Qs="ripple",Vs="mdb.ripple",P="ripple-surface",Us="ripple-wave",Ys="input-wrapper",Xs=[".btn",".ripple"],Ks="ripple-surface-unbound",$s=[0,0,0],Gs=["primary","secondary","success","danger","warning","info","light","dark"],Zs={rippleCentered:!1,rippleColor:"",rippleDuration:"500ms",rippleRadius:0,rippleUnbound:!1},Js={rippleCentered:"boolean",rippleColor:"string",rippleDuration:"string",rippleRadius:"number",rippleUnbound:"boolean"};class ta{constructor(t,e){this._element=t,this._options=this._getConfig(e),this._element&&(r.setData(t,Vs,this),c.addClass(this._element,P)),this._clickHandler=this._createRipple.bind(this),this._rippleTimer=null,this._isMinWidthSet=!1,this._rippleInSpan=!1,this.init()}static get NAME(){return Qs}init(){this._addClickEvent(this._element)}dispose(){r.removeData(this._element,Vs),s.off(this._element,"click",this._clickHandler),this._element=null,this._options=null}_autoInit(e){if(Xs.forEach(t=>{a.closest(e.target,t)&&(this._element=a.closest(e.target,t))}),this._options=this._getConfig(),"input"===this._element.tagName.toLowerCase()){var t=this._element.parentNode;if(this._rippleInSpan=!0,"span"===t.tagName.toLowerCase()&&t.classList.contains(P))this._element=t;else{var n=getComputedStyle(this._element).boxShadow;const o=this._element;var i=document.createElement("span");o.classList.contains("btn-block")&&(i.style.display="block"),s.one(i,"mouseup",t=>{0===t.button&&o.click()}),i.classList.add(P,Ys),c.addStyle(i,{border:0,"box-shadow":n}),t.replaceChild(i,this._element),i.appendChild(this._element),this._element=i}this._element.focus()}this._element.style.minWidth||(c.style(this._element,{"min-width":"".concat(getComputedStyle(this._element).width)}),this._isMinWidthSet=!0),c.addClass(this._element,P),this._createRipple(e)}_addClickEvent(t){s.on(t,"mousedown",this._clickHandler)}_getEventLayer(t){return{layerX:Math.round(t.clientX-t.target.getBoundingClientRect().x),layerY:Math.round(t.clientY-t.target.getBoundingClientRect().y)}}_createRipple(t){var e,n,i,o,r,s,a;null!==this._element&&(c.hasClass(this._element,P)||c.addClass(this._element,P),{layerX:t,layerY:e}=this._getEventLayer(t),t=t,e=e,n=this._element.offsetHeight,a=this._element.offsetWidth,i=this._durationToMsNumber(this._options.rippleDuration),o={offsetX:this._options.rippleCentered?n/2:t,offsetY:this._options.rippleCentered?a/2:e,height:n,width:a},o=this._getDiameter(o),r=this._options.rippleRadius||o/2,s={delay:.5*i,duration:i-.5*i},a={left:this._options.rippleCentered?"".concat(a/2-r,"px"):"".concat(t-r,"px"),top:this._options.rippleCentered?"".concat(n/2-r,"px"):"".concat(e-r,"px"),height:"".concat(2*this._options.rippleRadius||o,"px"),width:"".concat(2*this._options.rippleRadius||o,"px"),transitionDelay:"0s, ".concat(s.delay,"ms"),transitionDuration:"".concat(i,"ms, ").concat(s.duration,"ms")},t=F("div"),this._createHTMLRipple({wrapper:this._element,ripple:t,styles:a}),this._removeHTMLRipple({ripple:t,duration:i}))}_createHTMLRipple(t){let{wrapper:e,ripple:n,styles:i}=t;Object.keys(i).forEach(t=>n.style[t]=i[t]),n.classList.add(Us),""!==this._options.rippleColor&&(this._removeOldColorClasses(e),this._addColor(n,e)),this._toggleUnbound(e),this._appendRipple(n,e)}_removeHTMLRipple(t){let{ripple:e,duration:n}=t;this._rippleTimer&&(clearTimeout(this._rippleTimer),this._rippleTimer=null),this._rippleTimer=setTimeout(()=>{e&&(e.remove(),this._element)&&(a.find(".".concat(Us),this._element).forEach(t=>{t.remove()}),this._isMinWidthSet&&(c.style(this._element,{"min-width":""}),this._isMinWidthSet=!1),this._rippleInSpan&&this._element.classList.contains(Ys)?this._removeWrapperSpan():c.removeClass(this._element,P))},n)}_removeWrapperSpan(){var t=this._element.firstChild;this._element.replaceWith(t),this._element=t,this._element.focus(),this._rippleInSpan=!1}_durationToMsNumber(t){return Number(t.replace("ms","").replace("s","000"))}_getConfig(){var t=0Math.sqrt(t**2+e**2),a=e===n/2&&t===i/2;const c=!0==o&&!1==r,l=!0==o&&!0==r,u=!1==o&&!0==r,h=!1==o&&!1==r;o={topLeft:s(t,e),topRight:s(i-t,e),bottomLeft:s(t,n-e),bottomRight:s(i-t,n-e)};let d=0;return a||h?d=o.topLeft:u?d=o.topRight:l?d=o.bottomRight:c&&(d=o.bottomLeft),2*d}_appendRipple(t,e){e.appendChild(t),setTimeout(()=>{c.addClass(t,"active")},50)}_toggleUnbound(t){!0===this._options.rippleUnbound?c.addClass(t,Ks):t.classList.remove(Ks)}_addColor(t,e){Gs.find(t=>t===this._options.rippleColor.toLowerCase())?c.addClass(e,"".concat(P,"-").concat(this._options.rippleColor.toLowerCase())):(e=this._colorToRGB(this._options.rippleColor).join(","),e="rgba({{color}}, 0.2) 0, rgba({{color}}, 0.3) 40%, rgba({{color}}, 0.4) 50%, rgba({{color}}, 0.5) 60%, rgba({{color}}, 0) 70%".split("{{color}}").join("".concat(e)),t.style.backgroundImage="radial-gradient(circle, ".concat(e,")"))}_removeOldColorClasses(e){var t=new RegExp("".concat(P,"-[a-z]+"),"gi");(e.classList.value.match(t)||[]).forEach(t=>{e.classList.remove(t)})}_colorToRGB(t){var e,n,i;return"transparent"===t.toLowerCase()?$s:"#"===t[0]?((e=t).length<7&&(e="#".concat(e[1]).concat(e[1]).concat(e[2]).concat(e[2]).concat(e[3]).concat(e[3])),[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)]):(-1===t.indexOf("rgb")&&(e=t,n=document.body.appendChild(document.createElement("fictum")),i="rgb(1, 2, 3)",n.style.color=i,t=n.style.color!==i||(n.style.color=e,n.style.color===i)||""===n.style.color?$s:(e=getComputedStyle(n).color,document.body.removeChild(n),e)),0===t.indexOf("rgb")?((i=(i=t).match(/[.\d]+/g).map(t=>+Number(t))).length=3,i):$s)}static autoInitial(e){return function(t){e._autoInit(t)}}static jQueryInterface(t){return this.each(function(){return r.getData(this,Vs)?null:new ta(this,t)})}static getInstance(t){return r.getData(t,Vs)}static getOrCreateInstance(t){var e=1{s.one(document,"mousedown",t,ta.autoInitial(new ta))}),o(()=>{const t=i();if(t){const e=t.fn[Qs];t.fn[Qs]=ta.jQueryInterface,t.fn[Qs].Constructor=ta,t.fn[Qs].noConflict=()=>(t.fn[Qs]=e,ta.jQueryInterface)}});var ea=ta;const na="range",ia="mdb.range";const oa="thumb-active";const ra=".".concat("thumb-value"),sa=".".concat("thumb");m=".".concat("range");class aa{constructor(t){this._element=t,this._initiated=!1,this._thumb=null,this._element&&(r.setData(t,ia,this),this.init())}static get NAME(){return na}get rangeInput(){return a.findOne("input[type=range]",this._element)}init(){this._initiated||(this._addThumb(),this._thumbUpdate(),this._handleEvents(),this._initiated=!0)}dispose(){this._disposeEvents(),r.removeData(this._element,ia),this._element=null,this._thumb=null}_addThumb(){var t=F("span");c.addClass(t,"thumb"),t.innerHTML='',this._element.append(t),this._thumb=a.findOne(sa,this._element)}_handleEvents(){s.on(this.rangeInput,"mousedown",()=>this._showThumb()),s.on(this.rangeInput,"mouseup",()=>this._hideThumb()),s.on(this.rangeInput,"touchstart",()=>this._showThumb()),s.on(this.rangeInput,"touchend",()=>this._hideThumb()),s.on(this.rangeInput,"input",()=>this._thumbUpdate())}_disposeEvents(){s.off(this.rangeInput,"mousedown",this._showThumb),s.off(this.rangeInput,"mouseup",this._hideThumb),s.off(this.rangeInput,"touchstart",this._showThumb),s.off(this.rangeInput,"touchend",this._hideThumb),s.off(this.rangeInput,"input",this._thumbUpdate)}_showThumb(){c.addClass(this._thumb,oa)}_hideThumb(){c.removeClass(this._thumb,oa)}_thumbUpdate(){var t=this.rangeInput,e=t.value,n=t.min||0,t=t.max||100,e=(a.findOne(ra,this._thumb).textContent=e,Number(100*(e-n)/(t-n)));c.style(this._thumb,{left:"calc(".concat(e,"% + (").concat(8-.15*e,"px))")})}static getInstance(t){return r.getData(t,ia)}static getOrCreateInstance(t){var e=1new aa(t)),o(()=>{const t=i();if(t){const e=t.fn[na];t.fn[na]=aa.jQueryInterface,t.fn[na].Constructor=aa,t.fn[na].noConflict=()=>(t.fn[na]=e,aa.jQueryInterface)}});var ca=aa}],i={},o.m=n,o.c=i,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=119);function o(t){var e;return(i[t]||(e=i[t]={i:t,l:!1,exports:{}},n[t].call(e.exports,e,e.exports,o),e.l=!0,e)).exports}var n,i}); +//# sourceMappingURL=mdb.min.js.map \ No newline at end of file