!function (t) {
	var e = {};

	function n(i) {
		if (e[i]) return e[i].exports;
		var o = e[i] = {i: i, l: !1, exports: {}};
		return t[i].call(o.exports, o, o.exports, n), o.l = !0, o.exports
	}

	n.m = t, n.c = e, n.d = function (t, e, i) {
		n.o(t, e) || Object.defineProperty(t, e, {enumerable: !0, get: i})
	}, n.r = function (t) {
		"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(t, "__esModule", {value: !0})
	}, n.t = function (t, e) {
		if (1 & e && (t = n(t)), 8 & e) return t;
		if (4 & e && "object" == typeof t && t && t.__esModule) return t;
		var i = Object.create(null);
		if (n.r(i), Object.defineProperty(i, "default", {enumerable: !0, value: t}), 2 & e && "string" != typeof t) for (var o in t) n.d(i, o, function (e) {
			return t[e]
		}.bind(null, o));
		return i
	}, n.n = function (t) {
		var e = t && t.__esModule ? function () {
			return t.default
		} : function () {
			return t
		};
		return n.d(e, "a", e), e
	}, n.o = function (t, e) {
		return Object.prototype.hasOwnProperty.call(t, e)
	}, n.p = "/dist/", n(n.s = 0)
}([function (t, e, n) {
	"use strict";
	n.r(e);
	n(1), n(2), n(3), n(4), n(5), n(6)
}, function (t, e, n) {
	/*!
  * Bootstrap v5.0.0-beta2 (https://getbootstrap.com/)
  * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */
	t.exports = function () {
		"use strict";

		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)
			}
		}

		function e(e, n, i) {
			return n && t(e.prototype, n), i && t(e, i), e
		}

		function n() {
			return (n = 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
			}).apply(this, arguments)
		}

		function i(t, e) {
			t.prototype = Object.create(e.prototype), t.prototype.constructor = t, o(t, e)
		}

		function o(t, e) {
			return (o = Object.setPrototypeOf || function (t, e) {
				return t.__proto__ = e, t
			})(t, e)
		}

		var s, r, a = function (t) {
			do {
				t += Math.floor(1e6 * Math.random())
			} while (document.getElementById(t));
			return t
		}, l = function (t) {
			var e = t.getAttribute("data-bs-target");
			if (!e || "#" === e) {
				var n = t.getAttribute("href");
				if (!n || !n.includes("#") && !n.startsWith(".")) return null;
				n.includes("#") && !n.startsWith("#") && (n = "#" + n.split("#")[1]), e = n && "#" !== n ? n.trim() : null
			}
			return e
		}, c = function (t) {
			var e = l(t);
			return e && document.querySelector(e) ? e : null
		}, u = function (t) {
			var e = l(t);
			return e ? document.querySelector(e) : null
		}, d = function (t) {
			if (!t) return 0;
			var e = window.getComputedStyle(t), n = e.transitionDuration, i = e.transitionDelay, o = Number.parseFloat(n), s = Number.parseFloat(i);
			return o || s ? (n = n.split(",")[0], i = i.split(",")[0], 1e3 * (Number.parseFloat(n) + Number.parseFloat(i))) : 0
		}, h = function (t) {
			t.dispatchEvent(new Event("transitionend"))
		}, f = function (t) {
			return (t[0] || t).nodeType
		}, p = function (t, e) {
			var n = !1, i = e + 5;
			t.addEventListener("transitionend", (function e() {
				n = !0, t.removeEventListener("transitionend", e)
			})), setTimeout((function () {
				n || h(t)
			}), i)
		}, g = function (t, e, n) {
			Object.keys(n).forEach((function (i) {
				var o, s = n[i], r = e[i], a = r && f(r) ? "element" : null == (o = r) ? "" + o : {}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase();
				if (!new RegExp(s).test(a)) throw new TypeError(t.toUpperCase() + ': Option "' + i + '" provided type "' + a + '" but expected type "' + s + '".')
			}))
		}, m = function (t) {
			if (!t) return !1;
			if (t.style && t.parentNode && t.parentNode.style) {
				var e = getComputedStyle(t), n = getComputedStyle(t.parentNode);
				return "none" !== e.display && "none" !== n.display && "hidden" !== e.visibility
			}
			return !1
		}, b = function () {
			return function () {
			}
		}, v = function (t) {
			return t.offsetHeight
		}, y = function () {
			var t = window.jQuery;
			return t && !document.body.hasAttribute("data-bs-no-jquery") ? t : null
		}, w = "rtl" === document.documentElement.dir, _ = function (t, e) {
			var n;
			n = function () {
				var n = y();
				if (n) {
					var i = n.fn[t];
					n.fn[t] = e.jQueryInterface, n.fn[t].Constructor = e, n.fn[t].noConflict = function () {
						return n.fn[t] = i, e.jQueryInterface
					}
				}
			}, "loading" === document.readyState ? document.addEventListener("DOMContentLoaded", n) : n()
		}, x = (s = {}, r = 1, {
			set: function (t, e, n) {
				void 0 === t.bsKey && (t.bsKey = {key: e, id: r}, r++), s[t.bsKey.id] = n
			}, get: function (t, e) {
				if (!t || void 0 === t.bsKey) return null;
				var n = t.bsKey;
				return n.key === e ? s[n.id] : null
			}, delete: function (t, e) {
				if (void 0 !== t.bsKey) {
					var n = t.bsKey;
					n.key === e && (delete s[n.id], delete t.bsKey)
				}
			}
		}), E = function (t, e, n) {
			x.set(t, e, n)
		}, T = function (t, e) {
			return x.get(t, e)
		}, C = function (t, e) {
			x.delete(t, e)
		}, S = /[^.]*(?=\..*)\.|.*/, P = /\..*/, L = /::\d+$/, $ = {}, k = 1, A = {mouseenter: "mouseover", mouseleave: "mouseout"}, O = 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 D(t, e) {
			return e && e + "::" + k++ || t.uidEvent || k++
		}

		function I(t) {
			var e = D(t);
			return t.uidEvent = e, $[e] = $[e] || {}, $[e]
		}

		function M(t, e, n) {
			void 0 === n && (n = null);
			for (var i = Object.keys(t), o = 0, s = i.length; o < s; o++) {
				var r = t[i[o]];
				if (r.originalHandler === e && r.delegationSelector === n) return r
			}
			return null
		}

		function j(t, e, n) {
			var i = "string" == typeof e, o = i ? n : e, s = t.replace(P, ""), r = A[s];
			return r && (s = r), O.has(s) || (s = t), [i, o, s]
		}

		function N(t, e, n, i, o) {
			if ("string" == typeof e && t) {
				n || (n = i, i = null);
				var s = j(e, n, i), r = s[0], a = s[1], l = s[2], c = I(t), u = c[l] || (c[l] = {}), d = M(u, a, r ? n : null);
				if (d) d.oneOff = d.oneOff && o; else {
					var h = D(a, e.replace(S, "")), f = r ? function (t, e, n) {
						return function i(o) {
							for (var s = t.querySelectorAll(e), r = o.target; r && r !== this; r = r.parentNode) for (var a = s.length; a--;) if (s[a] === r) return o.delegateTarget = r, i.oneOff && H.off(t, o.type, n), n.apply(r, [o]);
							return null
						}
					}(t, n, i) : function (t, e) {
						return function n(i) {
							return i.delegateTarget = t, n.oneOff && H.off(t, i.type, e), e.apply(t, [i])
						}
					}(t, n);
					f.delegationSelector = r ? n : null, f.originalHandler = a, f.oneOff = o, f.uidEvent = h, u[h] = f, t.addEventListener(l, f, r)
				}
			}
		}

		function F(t, e, n, i, o) {
			var s = M(e[n], i, o);
			s && (t.removeEventListener(n, s, Boolean(o)), delete e[n][s.uidEvent])
		}

		var H = {
			on: function (t, e, n, i) {
				N(t, e, n, i, !1)
			}, one: function (t, e, n, i) {
				N(t, e, n, i, !0)
			}, off: function (t, e, n, i) {
				if ("string" == typeof e && t) {
					var o = j(e, n, i), s = o[0], r = o[1], a = o[2], l = a !== e, c = I(t), u = e.startsWith(".");
					if (void 0 === r) {
						u && Object.keys(c).forEach((function (n) {
							!function (t, e, n, i) {
								var o = e[n] || {};
								Object.keys(o).forEach((function (s) {
									if (s.includes(i)) {
										var r = o[s];
										F(t, e, n, r.originalHandler, r.delegationSelector)
									}
								}))
							}(t, c, n, e.slice(1))
						}));
						var d = c[a] || {};
						Object.keys(d).forEach((function (n) {
							var i = n.replace(L, "");
							if (!l || e.includes(i)) {
								var o = d[n];
								F(t, c, a, o.originalHandler, o.delegationSelector)
							}
						}))
					} else {
						if (!c || !c[a]) return;
						F(t, c, a, r, s ? n : null)
					}
				}
			}, trigger: function (t, e, n) {
				if ("string" != typeof e || !t) return null;
				var i, o = y(), s = e.replace(P, ""), r = e !== s, a = O.has(s), l = !0, c = !0, u = !1, d = null;
				return r && o && (i = o.Event(e, n), o(t).trigger(i), l = !i.isPropagationStopped(), c = !i.isImmediatePropagationStopped(), u = i.isDefaultPrevented()), a ? (d = document.createEvent("HTMLEvents")).initEvent(s, l, !0) : d = new CustomEvent(e, {bubbles: l, cancelable: !0}), void 0 !== n && Object.keys(n).forEach((function (t) {
					Object.defineProperty(d, t, {
						get: function () {
							return n[t]
						}
					})
				})), u && d.preventDefault(), c && t.dispatchEvent(d), d.defaultPrevented && void 0 !== i && i.preventDefault(), d
			}
		}, R = function () {
			function t(t) {
				t && (this._element = t, E(t, this.constructor.DATA_KEY, this))
			}

			return t.prototype.dispose = function () {
				C(this._element, this.constructor.DATA_KEY), this._element = null
			}, t.getInstance = function (t) {
				return T(t, this.DATA_KEY)
			}, e(t, null, [{
				key: "VERSION", get: function () {
					return "5.0.0-beta2"
				}
			}]), t
		}(), B = function (t) {
			function n() {
				return t.apply(this, arguments) || this
			}

			i(n, t);
			var o = n.prototype;
			return o.close = function (t) {
				var e = t ? this._getRootElement(t) : this._element, n = this._triggerCloseEvent(e);
				null === n || n.defaultPrevented || this._removeElement(e)
			}, o._getRootElement = function (t) {
				return u(t) || t.closest(".alert")
			}, o._triggerCloseEvent = function (t) {
				return H.trigger(t, "close.bs.alert")
			}, o._removeElement = function (t) {
				var e = this;
				if (t.classList.remove("show"), t.classList.contains("fade")) {
					var n = d(t);
					H.one(t, "transitionend", (function () {
						return e._destroyElement(t)
					})), p(t, n)
				} else this._destroyElement(t)
			}, o._destroyElement = function (t) {
				t.parentNode && t.parentNode.removeChild(t), H.trigger(t, "closed.bs.alert")
			}, n.jQueryInterface = function (t) {
				return this.each((function () {
					var e = T(this, "bs.alert");
					e || (e = new n(this)), "close" === t && e[t](this)
				}))
			}, n.handleDismiss = function (t) {
				return function (e) {
					e && e.preventDefault(), t.close(this)
				}
			}, e(n, null, [{
				key: "DATA_KEY", get: function () {
					return "bs.alert"
				}
			}]), n
		}(R);
		H.on(document, "click.bs.alert.data-api", '[data-bs-dismiss="alert"]', B.handleDismiss(new B)), _("alert", B);
		var z = function (t) {
			function n() {
				return t.apply(this, arguments) || this
			}

			return i(n, t), n.prototype.toggle = function () {
				this._element.setAttribute("aria-pressed", this._element.classList.toggle("active"))
			}, n.jQueryInterface = function (t) {
				return this.each((function () {
					var e = T(this, "bs.button");
					e || (e = new n(this)), "toggle" === t && e[t]()
				}))
			}, e(n, null, [{
				key: "DATA_KEY", get: function () {
					return "bs.button"
				}
			}]), n
		}(R);

		function q(t) {
			return "true" === t || "false" !== t && (t === Number(t).toString() ? Number(t) : "" === t || "null" === t ? null : t)
		}

		function W(t) {
			return t.replace(/[A-Z]/g, (function (t) {
				return "-" + t.toLowerCase()
			}))
		}

		H.on(document, "click.bs.button.data-api", '[data-bs-toggle="button"]', (function (t) {
			t.preventDefault();
			var e = t.target.closest('[data-bs-toggle="button"]'), n = T(e, "bs.button");
			n || (n = new z(e)), n.toggle()
		})), _("button", z);
		var Y = {
			setDataAttribute: function (t, e, n) {
				t.setAttribute("data-bs-" + W(e), n)
			}, removeDataAttribute: function (t, e) {
				t.removeAttribute("data-bs-" + W(e))
			}, getDataAttributes: function (t) {
				if (!t) return {};
				var e = {};
				return Object.keys(t.dataset).filter((function (t) {
					return t.startsWith("bs")
				})).forEach((function (n) {
					var i = n.replace(/^bs/, "");
					i = i.charAt(0).toLowerCase() + i.slice(1, i.length), e[i] = q(t.dataset[n])
				})), e
			}, getDataAttribute: function (t, e) {
				return q(t.getAttribute("data-bs-" + W(e)))
			}, offset: function (t) {
				var e = t.getBoundingClientRect();
				return {top: e.top + document.body.scrollTop, left: e.left + document.body.scrollLeft}
			}, position: function (t) {
				return {top: t.offsetTop, left: t.offsetLeft}
			}
		}, X = function (t, e) {
			var n;
			return void 0 === e && (e = document.documentElement), (n = []).concat.apply(n, Element.prototype.querySelectorAll.call(e, t))
		}, V = function (t, e) {
			return void 0 === e && (e = document.documentElement), Element.prototype.querySelector.call(e, t)
		}, U = function (t, e) {
			var n;
			return (n = []).concat.apply(n, t.children).filter((function (t) {
				return t.matches(e)
			}))
		}, K = function (t, e) {
			for (var n = [], i = t.parentNode; i && i.nodeType === Node.ELEMENT_NODE && 3 !== i.nodeType;) i.matches(e) && n.push(i), i = i.parentNode;
			return n
		}, Q = function (t, e) {
			for (var n = t.previousElementSibling; n;) {
				if (n.matches(e)) return [n];
				n = n.previousElementSibling
			}
			return []
		}, Z = function (t, e) {
			for (var n = t.nextElementSibling; n;) {
				if (n.matches(e)) return [n];
				n = n.nextElementSibling
			}
			return []
		}, G = ".bs.carousel", J = {interval: 5e3, keyboard: !0, slide: !1, pause: "hover", wrap: !0, touch: !0}, tt = {interval: "(number|boolean)", keyboard: "boolean", slide: "(boolean|string)", pause: "(string|boolean)", wrap: "boolean", touch: "boolean"}, et = function (t) {
			function o(e, n) {
				var i;
				return (i = t.call(this, e) || this)._items = null, i._interval = null, i._activeElement = null, i._isPaused = !1, i._isSliding = !1, i.touchTimeout = null, i.touchStartX = 0, i.touchDeltaX = 0, i._config = i._getConfig(n), i._indicatorsElement = V(".carousel-indicators", i._element), i._touchSupported = "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0, i._pointerEvent = Boolean(window.PointerEvent), i._addEventListeners(), i
			}

			i(o, t);
			var s = o.prototype;
			return s.next = function () {
				this._isSliding || this._slide("next")
			}, s.nextWhenVisible = function () {
				!document.hidden && m(this._element) && this.next()
			}, s.prev = function () {
				this._isSliding || this._slide("prev")
			}, s.pause = function (t) {
				t || (this._isPaused = !0), V(".carousel-item-next, .carousel-item-prev", this._element) && (h(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null
			}, s.cycle = function (t) {
				t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config && this._config.interval && !this._isPaused && (this._updateInterval(), this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval))
			}, s.to = function (t) {
				var e = this;
				this._activeElement = V(".active.carousel-item", this._element);
				var n = this._getItemIndex(this._activeElement);
				if (!(t > this._items.length - 1 || t < 0)) if (this._isSliding) H.one(this._element, "slid.bs.carousel", (function () {
					return e.to(t)
				})); else {
					if (n === t) return this.pause(), void this.cycle();
					var i = t > n ? "next" : "prev";
					this._slide(i, this._items[t])
				}
			}, s.dispose = function () {
				t.prototype.dispose.call(this), H.off(this._element, G), this._items = null, this._config = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null
			}, s._getConfig = function (t) {
				return t = n({}, J, t), g("carousel", t, tt), t
			}, s._handleSwipe = function () {
				var t = Math.abs(this.touchDeltaX);
				if (!(t <= 40)) {
					var e = t / this.touchDeltaX;
					this.touchDeltaX = 0, e > 0 && (w ? this.next() : this.prev()), e < 0 && (w ? this.prev() : this.next())
				}
			}, s._addEventListeners = function () {
				var t = this;
				this._config.keyboard && H.on(this._element, "keydown.bs.carousel", (function (e) {
					return t._keydown(e)
				})), "hover" === this._config.pause && (H.on(this._element, "mouseenter.bs.carousel", (function (e) {
					return t.pause(e)
				})), H.on(this._element, "mouseleave.bs.carousel", (function (e) {
					return t.cycle(e)
				}))), this._config.touch && this._touchSupported && this._addTouchEventListeners()
			}, s._addTouchEventListeners = function () {
				var t = this, e = function (e) {
					!t._pointerEvent || "pen" !== e.pointerType && "touch" !== e.pointerType ? t._pointerEvent || (t.touchStartX = e.touches[0].clientX) : t.touchStartX = e.clientX
				}, n = function (e) {
					!t._pointerEvent || "pen" !== e.pointerType && "touch" !== e.pointerType || (t.touchDeltaX = e.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))
				};
				X(".carousel-item img", this._element).forEach((function (t) {
					H.on(t, "dragstart.bs.carousel", (function (t) {
						return t.preventDefault()
					}))
				})), this._pointerEvent ? (H.on(this._element, "pointerdown.bs.carousel", (function (t) {
					return e(t)
				})), H.on(this._element, "pointerup.bs.carousel", (function (t) {
					return n(t)
				})), this._element.classList.add("pointer-event")) : (H.on(this._element, "touchstart.bs.carousel", (function (t) {
					return e(t)
				})), H.on(this._element, "touchmove.bs.carousel", (function (e) {
					return function (e) {
						e.touches && e.touches.length > 1 ? t.touchDeltaX = 0 : t.touchDeltaX = e.touches[0].clientX - t.touchStartX
					}(e)
				})), H.on(this._element, "touchend.bs.carousel", (function (t) {
					return n(t)
				})))
			}, s._keydown = function (t) {
				/input|textarea/i.test(t.target.tagName) || ("ArrowLeft" === t.key ? (t.preventDefault(), w ? this.next() : this.prev()) : "ArrowRight" === t.key && (t.preventDefault(), w ? this.prev() : this.next()))
			}, s._getItemIndex = function (t) {
				return this._items = t && t.parentNode ? X(".carousel-item", t.parentNode) : [], this._items.indexOf(t)
			}, s._getItemByDirection = function (t, e) {
				var n = "next" === t, i = "prev" === t, o = this._getItemIndex(e), s = this._items.length - 1;
				if ((i && 0 === o || n && o === s) && !this._config.wrap) return e;
				var r = (o + ("prev" === t ? -1 : 1)) % this._items.length;
				return -1 === r ? this._items[this._items.length - 1] : this._items[r]
			}, s._triggerSlideEvent = function (t, e) {
				var n = this._getItemIndex(t), i = this._getItemIndex(V(".active.carousel-item", this._element));
				return H.trigger(this._element, "slide.bs.carousel", {relatedTarget: t, direction: e, from: i, to: n})
			}, s._setActiveIndicatorElement = function (t) {
				if (this._indicatorsElement) {
					var e = V(".active", this._indicatorsElement);
					e.classList.remove("active"), e.removeAttribute("aria-current");
					for (var n = X("[data-bs-target]", this._indicatorsElement), i = 0; i < n.length; i++) if (Number.parseInt(n[i].getAttribute("data-bs-slide-to"), 10) === this._getItemIndex(t)) {
						n[i].classList.add("active"), n[i].setAttribute("aria-current", "true");
						break
					}
				}
			}, s._updateInterval = function () {
				var t = this._activeElement || V(".active.carousel-item", this._element);
				if (t) {
					var e = Number.parseInt(t.getAttribute("data-bs-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
				}
			}, s._slide = function (t, e) {
				var n = this, i = V(".active.carousel-item", this._element), o = this._getItemIndex(i), s = e || i && this._getItemByDirection(t, i), r = this._getItemIndex(s), a = Boolean(this._interval), l = "next" === t ? "carousel-item-start" : "carousel-item-end", c = "next" === t ? "carousel-item-next" : "carousel-item-prev", u = "next" === t ? "left" : "right";
				if (s && s.classList.contains("active")) this._isSliding = !1; else if (!this._triggerSlideEvent(s, u).defaultPrevented && i && s) {
					if (this._isSliding = !0, a && this.pause(), this._setActiveIndicatorElement(s), this._activeElement = s, this._element.classList.contains("slide")) {
						s.classList.add(c), v(s), i.classList.add(l), s.classList.add(l);
						var h = d(i);
						H.one(i, "transitionend", (function () {
							s.classList.remove(l, c), s.classList.add("active"), i.classList.remove("active", c, l), n._isSliding = !1, setTimeout((function () {
								H.trigger(n._element, "slid.bs.carousel", {relatedTarget: s, direction: u, from: o, to: r})
							}), 0)
						})), p(i, h)
					} else i.classList.remove("active"), s.classList.add("active"), this._isSliding = !1, H.trigger(this._element, "slid.bs.carousel", {relatedTarget: s, direction: u, from: o, to: r});
					a && this.cycle()
				}
			}, o.carouselInterface = function (t, e) {
				var i = T(t, "bs.carousel"), s = n({}, J, Y.getDataAttributes(t));
				"object" == typeof e && (s = n({}, s, e));
				var r = "string" == typeof e ? e : s.slide;
				if (i || (i = new o(t, s)), "number" == typeof e) i.to(e); else if ("string" == typeof r) {
					if (void 0 === i[r]) throw new TypeError('No method named "' + r + '"');
					i[r]()
				} else s.interval && s.ride && (i.pause(), i.cycle())
			}, o.jQueryInterface = function (t) {
				return this.each((function () {
					o.carouselInterface(this, t)
				}))
			}, o.dataApiClickHandler = function (t) {
				var e = u(this);
				if (e && e.classList.contains("carousel")) {
					var i = n({}, Y.getDataAttributes(e), Y.getDataAttributes(this)), s = this.getAttribute("data-bs-slide-to");
					s && (i.interval = !1), o.carouselInterface(e, i), s && T(e, "bs.carousel").to(s), t.preventDefault()
				}
			}, e(o, null, [{
				key: "Default", get: function () {
					return J
				}
			}, {
				key: "DATA_KEY", get: function () {
					return "bs.carousel"
				}
			}]), o
		}(R);
		H.on(document, "click.bs.carousel.data-api", "[data-bs-slide], [data-bs-slide-to]", et.dataApiClickHandler), H.on(window, "load.bs.carousel.data-api", (function () {
			for (var t = X('[data-bs-ride="carousel"]'), e = 0, n = t.length; e < n; e++) et.carouselInterface(t[e], T(t[e], "bs.carousel"))
		})), _("carousel", et);
		var nt = {toggle: !0, parent: ""}, it = {toggle: "boolean", parent: "(string|element)"}, ot = function (t) {
			function o(e, n) {
				var i;
				(i = t.call(this, e) || this)._isTransitioning = !1, i._config = i._getConfig(n), i._triggerArray = X('[data-bs-toggle="collapse"][href="#' + e.id + '"],[data-bs-toggle="collapse"][data-bs-target="#' + e.id + '"]');
				for (var o = X('[data-bs-toggle="collapse"]'), s = 0, r = o.length; s < r; s++) {
					var a = o[s], l = c(a), u = X(l).filter((function (t) {
						return t === e
					}));
					null !== l && u.length && (i._selector = l, i._triggerArray.push(a))
				}
				return i._parent = i._config.parent ? i._getParent() : null, i._config.parent || i._addAriaAndCollapsedClass(i._element, i._triggerArray), i._config.toggle && i.toggle(), i
			}

			i(o, t);
			var s = o.prototype;
			return s.toggle = function () {
				this._element.classList.contains("show") ? this.hide() : this.show()
			}, s.show = function () {
				var t = this;
				if (!this._isTransitioning && !this._element.classList.contains("show")) {
					var e, n;
					this._parent && 0 === (e = X(".show, .collapsing", this._parent).filter((function (e) {
						return "string" == typeof t._config.parent ? e.getAttribute("data-bs-parent") === t._config.parent : e.classList.contains("collapse")
					}))).length && (e = null);
					var i = V(this._selector);
					if (e) {
						var s = e.find((function (t) {
							return i !== t
						}));
						if ((n = s ? T(s, "bs.collapse") : null) && n._isTransitioning) return
					}
					if (!H.trigger(this._element, "show.bs.collapse").defaultPrevented) {
						e && e.forEach((function (t) {
							i !== t && o.collapseInterface(t, "hide"), n || E(t, "bs.collapse", null)
						}));
						var r = this._getDimension();
						this._element.classList.remove("collapse"), this._element.classList.add("collapsing"), this._element.style[r] = 0, this._triggerArray.length && this._triggerArray.forEach((function (t) {
							t.classList.remove("collapsed"), t.setAttribute("aria-expanded", !0)
						})), this.setTransitioning(!0);
						var a = "scroll" + (r[0].toUpperCase() + r.slice(1)), l = d(this._element);
						H.one(this._element, "transitionend", (function () {
							t._element.classList.remove("collapsing"), t._element.classList.add("collapse", "show"), t._element.style[r] = "", t.setTransitioning(!1), H.trigger(t._element, "shown.bs.collapse")
						})), p(this._element, l), this._element.style[r] = this._element[a] + "px"
					}
				}
			}, s.hide = function () {
				var t = this;
				if (!this._isTransitioning && this._element.classList.contains("show") && !H.trigger(this._element, "hide.bs.collapse").defaultPrevented) {
					var e = this._getDimension();
					this._element.style[e] = this._element.getBoundingClientRect()[e] + "px", v(this._element), this._element.classList.add("collapsing"), this._element.classList.remove("collapse", "show");
					var n = this._triggerArray.length;
					if (n > 0) for (var i = 0; i < n; i++) {
						var o = this._triggerArray[i], s = u(o);
						s && !s.classList.contains("show") && (o.classList.add("collapsed"), o.setAttribute("aria-expanded", !1))
					}
					this.setTransitioning(!0), this._element.style[e] = "";
					var r = d(this._element);
					H.one(this._element, "transitionend", (function () {
						t.setTransitioning(!1), t._element.classList.remove("collapsing"), t._element.classList.add("collapse"), H.trigger(t._element, "hidden.bs.collapse")
					})), p(this._element, r)
				}
			}, s.setTransitioning = function (t) {
				this._isTransitioning = t
			}, s.dispose = function () {
				t.prototype.dispose.call(this), this._config = null, this._parent = null, this._triggerArray = null, this._isTransitioning = null
			}, s._getConfig = function (t) {
				return (t = n({}, nt, t)).toggle = Boolean(t.toggle), g("collapse", t, it), t
			}, s._getDimension = function () {
				return this._element.classList.contains("width") ? "width" : "height"
			}, s._getParent = function () {
				var t = this, e = this._config.parent;
				return f(e) ? void 0 === e.jquery && void 0 === e[0] || (e = e[0]) : e = V(e), X('[data-bs-toggle="collapse"][data-bs-parent="' + e + '"]', e).forEach((function (e) {
					var n = u(e);
					t._addAriaAndCollapsedClass(n, [e])
				})), e
			}, s._addAriaAndCollapsedClass = function (t, e) {
				if (t && e.length) {
					var n = t.classList.contains("show");
					e.forEach((function (t) {
						n ? t.classList.remove("collapsed") : t.classList.add("collapsed"), t.setAttribute("aria-expanded", n)
					}))
				}
			}, o.collapseInterface = function (t, e) {
				var i = T(t, "bs.collapse"), s = n({}, nt, Y.getDataAttributes(t), "object" == typeof e && e ? e : {});
				if (!i && s.toggle && "string" == typeof e && /show|hide/.test(e) && (s.toggle = !1), i || (i = new o(t, s)), "string" == typeof e) {
					if (void 0 === i[e]) throw new TypeError('No method named "' + e + '"');
					i[e]()
				}
			}, o.jQueryInterface = function (t) {
				return this.each((function () {
					o.collapseInterface(this, t)
				}))
			}, e(o, null, [{
				key: "Default", get: function () {
					return nt
				}
			}, {
				key: "DATA_KEY", get: function () {
					return "bs.collapse"
				}
			}]), o
		}(R);
		H.on(document, "click.bs.collapse.data-api", '[data-bs-toggle="collapse"]', (function (t) {
			("A" === t.target.tagName || t.delegateTarget && "A" === t.delegateTarget.tagName) && t.preventDefault();
			var e = Y.getDataAttributes(this), n = c(this);
			X(n).forEach((function (t) {
				var n, i = T(t, "bs.collapse");
				i ? (null === i._parent && "string" == typeof e.parent && (i._config.parent = e.parent, i._parent = i._getParent()), n = "toggle") : n = e, ot.collapseInterface(t, n)
			}))
		})), _("collapse", ot);
		var st = "top", rt = "bottom", at = "right", lt = "left", ct = [st, rt, at, lt], ut = ct.reduce((function (t, e) {
			return t.concat([e + "-start", e + "-end"])
		}), []), dt = [].concat(ct, ["auto"]).reduce((function (t, e) {
			return t.concat([e, e + "-start", e + "-end"])
		}), []), ht = ["beforeRead", "read", "afterRead", "beforeMain", "main", "afterMain", "beforeWrite", "write", "afterWrite"];

		function ft(t) {
			return t ? (t.nodeName || "").toLowerCase() : null
		}

		function pt(t) {
			if ("[object Window]" !== t.toString()) {
				var e = t.ownerDocument;
				return e && e.defaultView || window
			}
			return t
		}

		function gt(t) {
			return t instanceof pt(t).Element || t instanceof Element
		}

		function mt(t) {
			return t instanceof pt(t).HTMLElement || t instanceof HTMLElement
		}

		var bt = {
			name: "applyStyles", enabled: !0, phase: "write", fn: function (t) {
				var e = t.state;
				Object.keys(e.elements).forEach((function (t) {
					var n = e.styles[t] || {}, i = e.attributes[t] || {}, o = e.elements[t];
					mt(o) && ft(o) && (Object.assign(o.style, n), Object.keys(i).forEach((function (t) {
						var e = i[t];
						!1 === e ? o.removeAttribute(t) : o.setAttribute(t, !0 === e ? "" : e)
					})))
				}))
			}, effect: function (t) {
				var e = t.state, n = {popper: {position: e.options.strategy, left: "0", top: "0", margin: "0"}, arrow: {position: "absolute"}, reference: {}};
				return Object.assign(e.elements.popper.style, n.popper), e.elements.arrow && Object.assign(e.elements.arrow.style, n.arrow), function () {
					Object.keys(e.elements).forEach((function (t) {
						var i = e.elements[t], o = e.attributes[t] || {}, s = Object.keys(e.styles.hasOwnProperty(t) ? e.styles[t] : n[t]).reduce((function (t, e) {
							return t[e] = "", t
						}), {});
						mt(i) && ft(i) && (Object.assign(i.style, s), Object.keys(o).forEach((function (t) {
							i.removeAttribute(t)
						})))
					}))
				}
			}, requires: ["computeStyles"]
		};

		function vt(t) {
			return t.split("-")[0]
		}

		function yt(t) {
			return {x: t.offsetLeft, y: t.offsetTop, width: t.offsetWidth, height: t.offsetHeight}
		}

		function wt(t, e) {
			var n, i = e.getRootNode && e.getRootNode();
			if (t.contains(e)) return !0;
			if (i && ((n = i) instanceof pt(n).ShadowRoot || n instanceof ShadowRoot)) {
				var o = e;
				do {
					if (o && t.isSameNode(o)) return !0;
					o = o.parentNode || o.host
				} while (o)
			}
			return !1
		}

		function _t(t) {
			return pt(t).getComputedStyle(t)
		}

		function xt(t) {
			return ["table", "td", "th"].indexOf(ft(t)) >= 0
		}

		function Et(t) {
			return ((gt(t) ? t.ownerDocument : t.document) || window.document).documentElement
		}

		function Tt(t) {
			return "html" === ft(t) ? t : t.assignedSlot || t.parentNode || t.host || Et(t)
		}

		function Ct(t) {
			if (!mt(t) || "fixed" === _t(t).position) return null;
			var e = t.offsetParent;
			if (e) {
				var n = Et(e);
				if ("body" === ft(e) && "static" === _t(e).position && "static" !== _t(n).position) return n
			}
			return e
		}

		function St(t) {
			for (var e = pt(t), n = Ct(t); n && xt(n) && "static" === _t(n).position;) n = Ct(n);
			return n && "body" === ft(n) && "static" === _t(n).position ? e : n || function (t) {
				for (var e = Tt(t); mt(e) && ["html", "body"].indexOf(ft(e)) < 0;) {
					var n = _t(e);
					if ("none" !== n.transform || "none" !== n.perspective || n.willChange && "auto" !== n.willChange) return e;
					e = e.parentNode
				}
				return null
			}(t) || e
		}

		function Pt(t) {
			return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y"
		}

		function Lt(t, e, n) {
			return Math.max(t, Math.min(e, n))
		}

		function $t(t) {
			return Object.assign(Object.assign({}, {top: 0, right: 0, bottom: 0, left: 0}), t)
		}

		function kt(t, e) {
			return e.reduce((function (e, n) {
				return e[n] = t, e
			}), {})
		}

		var At = {
			name: "arrow", enabled: !0, phase: "main", fn: function (t) {
				var e, n = t.state, i = t.name, o = n.elements.arrow, s = n.modifiersData.popperOffsets, r = vt(n.placement), a = Pt(r), l = [lt, at].indexOf(r) >= 0 ? "height" : "width";
				if (o && s) {
					var c = n.modifiersData[i + "#persistent"].padding, u = yt(o), d = "y" === a ? st : lt, h = "y" === a ? rt : at, f = n.rects.reference[l] + n.rects.reference[a] - s[a] - n.rects.popper[l], p = s[a] - n.rects.reference[a], g = St(o), m = g ? "y" === a ? g.clientHeight || 0 : g.clientWidth || 0 : 0, b = f / 2 - p / 2, v = c[d], y = m - u[l] - c[h], w = m / 2 - u[l] / 2 + b, _ = Lt(v, w, y), x = a;
					n.modifiersData[i] = ((e = {})[x] = _, e.centerOffset = _ - w, e)
				}
			}, effect: function (t) {
				var e = t.state, n = t.options, i = t.name, o = n.element, s = void 0 === o ? "[data-popper-arrow]" : o, r = n.padding, a = void 0 === r ? 0 : r;
				null != s && ("string" != typeof s || (s = e.elements.popper.querySelector(s))) && wt(e.elements.popper, s) && (e.elements.arrow = s, e.modifiersData[i + "#persistent"] = {padding: $t("number" != typeof a ? a : kt(a, ct))})
			}, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"]
		}, Ot = {top: "auto", right: "auto", bottom: "auto", left: "auto"};

		function Dt(t) {
			var e, n = t.popper, i = t.popperRect, o = t.placement, s = t.offsets, r = t.position, a = t.gpuAcceleration, l = t.adaptive, c = t.roundOffsets ? function (t) {
				var e = t.x, n = t.y, i = window.devicePixelRatio || 1;
				return {x: Math.round(e * i) / i || 0, y: Math.round(n * i) / i || 0}
			}(s) : s, u = c.x, d = void 0 === u ? 0 : u, h = c.y, f = void 0 === h ? 0 : h, p = s.hasOwnProperty("x"), g = s.hasOwnProperty("y"), m = lt, b = st, v = window;
			if (l) {
				var y = St(n);
				y === pt(n) && (y = Et(n)), o === st && (b = rt, f -= y.clientHeight - i.height, f *= a ? 1 : -1), o === lt && (m = at, d -= y.clientWidth - i.width, d *= a ? 1 : -1)
			}
			var w, _ = Object.assign({position: r}, l && Ot);
			return a ? Object.assign(Object.assign({}, _), {}, ((w = {})[b] = g ? "0" : "", w[m] = p ? "0" : "", w.transform = (v.devicePixelRatio || 1) < 2 ? "translate(" + d + "px, " + f + "px)" : "translate3d(" + d + "px, " + f + "px, 0)", w)) : Object.assign(Object.assign({}, _), {}, ((e = {})[b] = g ? f + "px" : "", e[m] = p ? d + "px" : "", e.transform = "", e))
		}

		var It = {
			name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: function (t) {
				var e = t.state, n = t.options, i = n.gpuAcceleration, o = void 0 === i || i, s = n.adaptive, r = void 0 === s || s, a = n.roundOffsets, l = void 0 === a || a, c = {placement: vt(e.placement), popper: e.elements.popper, popperRect: e.rects.popper, gpuAcceleration: o};
				null != e.modifiersData.popperOffsets && (e.styles.popper = Object.assign(Object.assign({}, e.styles.popper), Dt(Object.assign(Object.assign({}, c), {}, {offsets: e.modifiersData.popperOffsets, position: e.options.strategy, adaptive: r, roundOffsets: l})))), null != e.modifiersData.arrow && (e.styles.arrow = Object.assign(Object.assign({}, e.styles.arrow), Dt(Object.assign(Object.assign({}, c), {}, {offsets: e.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: l})))), e.attributes.popper = Object.assign(Object.assign({}, e.attributes.popper), {}, {"data-popper-placement": e.placement})
			}, data: {}
		}, Mt = {passive: !0}, jt = {
			name: "eventListeners", enabled: !0, phase: "write", fn: function () {
			}, effect: function (t) {
				var e = t.state, n = t.instance, i = t.options, o = i.scroll, s = void 0 === o || o, r = i.resize, a = void 0 === r || r, l = pt(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
				return s && c.forEach((function (t) {
					t.addEventListener("scroll", n.update, Mt)
				})), a && l.addEventListener("resize", n.update, Mt), function () {
					s && c.forEach((function (t) {
						t.removeEventListener("scroll", n.update, Mt)
					})), a && l.removeEventListener("resize", n.update, Mt)
				}
			}, data: {}
		}, Nt = {left: "right", right: "left", bottom: "top", top: "bottom"};

		function Ft(t) {
			return t.replace(/left|right|bottom|top/g, (function (t) {
				return Nt[t]
			}))
		}

		var Ht = {start: "end", end: "start"};

		function Rt(t) {
			return t.replace(/start|end/g, (function (t) {
				return Ht[t]
			}))
		}

		function Bt(t) {
			var e = t.getBoundingClientRect();
			return {width: e.width, height: e.height, top: e.top, right: e.right, bottom: e.bottom, left: e.left, x: e.left, y: e.top}
		}

		function zt(t) {
			var e = pt(t);
			return {scrollLeft: e.pageXOffset, scrollTop: e.pageYOffset}
		}

		function qt(t) {
			return Bt(Et(t)).left + zt(t).scrollLeft
		}

		function Wt(t) {
			var e = _t(t), n = e.overflow, i = e.overflowX, o = e.overflowY;
			return /auto|scroll|overlay|hidden/.test(n + o + i)
		}

		function Yt(t, e) {
			void 0 === e && (e = []);
			var n = function t(e) {
				return ["html", "body", "#document"].indexOf(ft(e)) >= 0 ? e.ownerDocument.body : mt(e) && Wt(e) ? e : t(Tt(e))
			}(t), i = "body" === ft(n), o = pt(n), s = i ? [o].concat(o.visualViewport || [], Wt(n) ? n : []) : n, r = e.concat(s);
			return i ? r : r.concat(Yt(Tt(s)))
		}

		function Xt(t) {
			return Object.assign(Object.assign({}, t), {}, {left: t.x, top: t.y, right: t.x + t.width, bottom: t.y + t.height})
		}

		function Vt(t, e) {
			return "viewport" === e ? Xt(function (t) {
				var e = pt(t), n = Et(t), i = e.visualViewport, o = n.clientWidth, s = n.clientHeight, r = 0, a = 0;
				return i && (o = i.width, s = i.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (r = i.offsetLeft, a = i.offsetTop)), {width: o, height: s, x: r + qt(t), y: a}
			}(t)) : mt(e) ? function (t) {
				var e = Bt(t);
				return e.top = e.top + t.clientTop, e.left = e.left + t.clientLeft, e.bottom = e.top + t.clientHeight, e.right = e.left + t.clientWidth, e.width = t.clientWidth, e.height = t.clientHeight, e.x = e.left, e.y = e.top, e
			}(e) : Xt(function (t) {
				var e = Et(t), n = zt(t), i = t.ownerDocument.body, o = Math.max(e.scrollWidth, e.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), s = Math.max(e.scrollHeight, e.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), r = -n.scrollLeft + qt(t), a = -n.scrollTop;
				return "rtl" === _t(i || e).direction && (r += Math.max(e.clientWidth, i ? i.clientWidth : 0) - o), {width: o, height: s, x: r, y: a}
			}(Et(t)))
		}

		function Ut(t, e, n) {
			var i = "clippingParents" === e ? function (t) {
				var e = Yt(Tt(t)), n = ["absolute", "fixed"].indexOf(_t(t).position) >= 0 && mt(t) ? St(t) : t;
				return gt(n) ? e.filter((function (t) {
					return gt(t) && wt(t, n) && "body" !== ft(t)
				})) : []
			}(t) : [].concat(e), o = [].concat(i, [n]), s = o[0], r = o.reduce((function (e, n) {
				var i = Vt(t, n);
				return e.top = Math.max(i.top, e.top), e.right = Math.min(i.right, e.right), e.bottom = Math.min(i.bottom, e.bottom), e.left = Math.max(i.left, e.left), e
			}), Vt(t, s));
			return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r
		}

		function Kt(t) {
			return t.split("-")[1]
		}

		function Qt(t) {
			var e, n = t.reference, i = t.element, o = t.placement, s = o ? vt(o) : null, r = o ? Kt(o) : null, a = n.x + n.width / 2 - i.width / 2, l = n.y + n.height / 2 - i.height / 2;
			switch (s) {
				case st:
					e = {x: a, y: n.y - i.height};
					break;
				case rt:
					e = {x: a, y: n.y + n.height};
					break;
				case at:
					e = {x: n.x + n.width, y: l};
					break;
				case lt:
					e = {x: n.x - i.width, y: l};
					break;
				default:
					e = {x: n.x, y: n.y}
			}
			var c = s ? Pt(s) : null;
			if (null != c) {
				var u = "y" === c ? "height" : "width";
				switch (r) {
					case"start":
						e[c] = e[c] - (n[u] / 2 - i[u] / 2);
						break;
					case"end":
						e[c] = e[c] + (n[u] / 2 - i[u] / 2)
				}
			}
			return e
		}

		function Zt(t, e) {
			void 0 === e && (e = {});
			var n = e, i = n.placement, o = void 0 === i ? t.placement : i, s = n.boundary, r = void 0 === s ? "clippingParents" : s, a = n.rootBoundary, l = void 0 === a ? "viewport" : a, c = n.elementContext, u = void 0 === c ? "popper" : c, d = n.altBoundary, h = void 0 !== d && d, f = n.padding, p = void 0 === f ? 0 : f, g = $t("number" != typeof p ? p : kt(p, ct)), m = "popper" === u ? "reference" : "popper", b = t.elements.reference, v = t.rects.popper, y = t.elements[h ? m : u], w = Ut(gt(y) ? y : y.contextElement || Et(t.elements.popper), r, l), _ = Bt(b), x = Qt({reference: _, element: v, strategy: "absolute", placement: o}), E = Xt(Object.assign(Object.assign({}, v), x)), T = "popper" === u ? E : _, C = {top: w.top - T.top + g.top, bottom: T.bottom - w.bottom + g.bottom, left: w.left - T.left + g.left, right: T.right - w.right + g.right}, S = t.modifiersData.offset;
			if ("popper" === u && S) {
				var P = S[o];
				Object.keys(C).forEach((function (t) {
					var e = [at, rt].indexOf(t) >= 0 ? 1 : -1, n = [st, rt].indexOf(t) >= 0 ? "y" : "x";
					C[t] += P[n] * e
				}))
			}
			return C
		}

		function Gt(t, e) {
			void 0 === e && (e = {});
			var n = e, i = n.placement, o = n.boundary, s = n.rootBoundary, r = n.padding, a = n.flipVariations, l = n.allowedAutoPlacements, c = void 0 === l ? dt : l, u = Kt(i), d = u ? a ? ut : ut.filter((function (t) {
				return Kt(t) === u
			})) : ct, h = d.filter((function (t) {
				return c.indexOf(t) >= 0
			}));
			0 === h.length && (h = d);
			var f = h.reduce((function (e, n) {
				return e[n] = Zt(t, {placement: n, boundary: o, rootBoundary: s, padding: r})[vt(n)], e
			}), {});
			return Object.keys(f).sort((function (t, e) {
				return f[t] - f[e]
			}))
		}

		var Jt = {
			name: "flip", enabled: !0, phase: "main", fn: function (t) {
				var e = t.state, n = t.options, i = t.name;
				if (!e.modifiersData[i]._skip) {
					for (var o = n.mainAxis, s = void 0 === o || o, r = n.altAxis, a = void 0 === r || r, l = n.fallbackPlacements, c = n.padding, u = n.boundary, d = n.rootBoundary, h = n.altBoundary, f = n.flipVariations, p = void 0 === f || f, g = n.allowedAutoPlacements, m = e.options.placement, b = vt(m), v = l || (b !== m && p ? function (t) {
						if ("auto" === vt(t)) return [];
						var e = Ft(t);
						return [Rt(t), e, Rt(e)]
					}(m) : [Ft(m)]), y = [m].concat(v).reduce((function (t, n) {
						return t.concat("auto" === vt(n) ? Gt(e, {placement: n, boundary: u, rootBoundary: d, padding: c, flipVariations: p, allowedAutoPlacements: g}) : n)
					}), []), w = e.rects.reference, _ = e.rects.popper, x = new Map, E = !0, T = y[0], C = 0; C < y.length; C++) {
						var S = y[C], P = vt(S), L = "start" === Kt(S), $ = [st, rt].indexOf(P) >= 0, k = $ ? "width" : "height", A = Zt(e, {placement: S, boundary: u, rootBoundary: d, altBoundary: h, padding: c}), O = $ ? L ? at : lt : L ? rt : st;
						w[k] > _[k] && (O = Ft(O));
						var D = Ft(O), I = [];
						if (s && I.push(A[P] <= 0), a && I.push(A[O] <= 0, A[D] <= 0), I.every((function (t) {
							return t
						}))) {
							T = S, E = !1;
							break
						}
						x.set(S, I)
					}
					if (E) for (var M = function (t) {
						var e = y.find((function (e) {
							var n = x.get(e);
							if (n) return n.slice(0, t).every((function (t) {
								return t
							}))
						}));
						if (e) return T = e, "break"
					}, j = p ? 3 : 1; j > 0 && "break" !== M(j); j--) ;
					e.placement !== T && (e.modifiersData[i]._skip = !0, e.placement = T, e.reset = !0)
				}
			}, requiresIfExists: ["offset"], data: {_skip: !1}
		};

		function te(t, e, n) {
			return void 0 === n && (n = {x: 0, y: 0}), {top: t.top - e.height - n.y, right: t.right - e.width + n.x, bottom: t.bottom - e.height + n.y, left: t.left - e.width - n.x}
		}

		function ee(t) {
			return [st, at, rt, lt].some((function (e) {
				return t[e] >= 0
			}))
		}

		var ne = {
			name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: function (t) {
				var e = t.state, n = t.name, i = e.rects.reference, o = e.rects.popper, s = e.modifiersData.preventOverflow, r = Zt(e, {elementContext: "reference"}), a = Zt(e, {altBoundary: !0}), l = te(r, i), c = te(a, o, s), u = ee(l), d = ee(c);
				e.modifiersData[n] = {referenceClippingOffsets: l, popperEscapeOffsets: c, isReferenceHidden: u, hasPopperEscaped: d}, e.attributes.popper = Object.assign(Object.assign({}, e.attributes.popper), {}, {"data-popper-reference-hidden": u, "data-popper-escaped": d})
			}
		}, ie = {
			name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: function (t) {
				var e = t.state, n = t.options, i = t.name, o = n.offset, s = void 0 === o ? [0, 0] : o, r = dt.reduce((function (t, n) {
					return t[n] = function (t, e, n) {
						var i = vt(t), o = [lt, st].indexOf(i) >= 0 ? -1 : 1, s = "function" == typeof n ? n(Object.assign(Object.assign({}, e), {}, {placement: t})) : n, r = s[0], a = s[1];
						return r = r || 0, a = (a || 0) * o, [lt, at].indexOf(i) >= 0 ? {x: a, y: r} : {x: r, y: a}
					}(n, e.rects, s), t
				}), {}), a = r[e.placement], l = a.x, c = a.y;
				null != e.modifiersData.popperOffsets && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += c), e.modifiersData[i] = r
			}
		}, oe = {
			name: "popperOffsets", enabled: !0, phase: "read", fn: function (t) {
				var e = t.state, n = t.name;
				e.modifiersData[n] = Qt({reference: e.rects.reference, element: e.rects.popper, strategy: "absolute", placement: e.placement})
			}, data: {}
		}, se = {
			name: "preventOverflow", enabled: !0, phase: "main", fn: function (t) {
				var e = t.state, n = t.options, i = t.name, o = n.mainAxis, s = void 0 === o || o, r = n.altAxis, a = void 0 !== r && r, l = n.boundary, c = n.rootBoundary, u = n.altBoundary, d = n.padding, h = n.tether, f = void 0 === h || h, p = n.tetherOffset, g = void 0 === p ? 0 : p, m = Zt(e, {boundary: l, rootBoundary: c, padding: d, altBoundary: u}), b = vt(e.placement), v = Kt(e.placement), y = !v, w = Pt(b), _ = "x" === w ? "y" : "x", x = e.modifiersData.popperOffsets, E = e.rects.reference, T = e.rects.popper, C = "function" == typeof g ? g(Object.assign(Object.assign({}, e.rects), {}, {placement: e.placement})) : g, S = {x: 0, y: 0};
				if (x) {
					if (s) {
						var P = "y" === w ? st : lt, L = "y" === w ? rt : at, $ = "y" === w ? "height" : "width", k = x[w], A = x[w] + m[P], O = x[w] - m[L], D = f ? -T[$] / 2 : 0, I = "start" === v ? E[$] : T[$], M = "start" === v ? -T[$] : -E[$], j = e.elements.arrow, N = f && j ? yt(j) : {width: 0, height: 0}, F = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : {top: 0, right: 0, bottom: 0, left: 0}, H = F[P], R = F[L], B = Lt(0, E[$], N[$]), z = y ? E[$] / 2 - D - B - H - C : I - B - H - C, q = y ? -E[$] / 2 + D + B + R + C : M + B + R + C, W = e.elements.arrow && St(e.elements.arrow), Y = W ? "y" === w ? W.clientTop || 0 : W.clientLeft || 0 : 0, X = e.modifiersData.offset ? e.modifiersData.offset[e.placement][w] : 0, V = x[w] + z - X - Y, U = x[w] + q - X, K = Lt(f ? Math.min(A, V) : A, k, f ? Math.max(O, U) : O);
						x[w] = K, S[w] = K - k
					}
					if (a) {
						var Q = "x" === w ? st : lt, Z = "x" === w ? rt : at, G = x[_], J = Lt(G + m[Q], G, G - m[Z]);
						x[_] = J, S[_] = J - G
					}
					e.modifiersData[i] = S
				}
			}, requiresIfExists: ["offset"]
		};

		function re(t, e, n) {
			void 0 === n && (n = !1);
			var i, o, s = Et(e), r = Bt(t), a = mt(e), l = {scrollLeft: 0, scrollTop: 0}, c = {x: 0, y: 0};
			return (a || !a && !n) && (("body" !== ft(e) || Wt(s)) && (l = (i = e) !== pt(i) && mt(i) ? {scrollLeft: (o = i).scrollLeft, scrollTop: o.scrollTop} : zt(i)), mt(e) ? ((c = Bt(e)).x += e.clientLeft, c.y += e.clientTop) : s && (c.x = qt(s))), {x: r.left + l.scrollLeft - c.x, y: r.top + l.scrollTop - c.y, width: r.width, height: r.height}
		}

		function ae(t) {
			var e = new Map, n = new Set, i = [];
			return t.forEach((function (t) {
				e.set(t.name, t)
			})), t.forEach((function (t) {
				n.has(t.name) || function t(o) {
					n.add(o.name), [].concat(o.requires || [], o.requiresIfExists || []).forEach((function (i) {
						if (!n.has(i)) {
							var o = e.get(i);
							o && t(o)
						}
					})), i.push(o)
				}(t)
			})), i
		}

		var le = {placement: "bottom", modifiers: [], strategy: "absolute"};

		function ce() {
			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 ue(t) {
			void 0 === t && (t = {});
			var e = t, n = e.defaultModifiers, i = void 0 === n ? [] : n, o = e.defaultOptions, s = void 0 === o ? le : o;
			return function (t, e, n) {
				void 0 === n && (n = s);
				var o, r, a = {placement: "bottom", orderedModifiers: [], options: Object.assign(Object.assign({}, le), s), modifiersData: {}, elements: {reference: t, popper: e}, attributes: {}, styles: {}}, l = [], c = !1, u = {
					state: a, setOptions: function (n) {
						d(), a.options = Object.assign(Object.assign(Object.assign({}, s), a.options), n), a.scrollParents = {reference: gt(t) ? Yt(t) : t.contextElement ? Yt(t.contextElement) : [], popper: Yt(e)};
						var o, r, c = function (t) {
							var e = ae(t);
							return ht.reduce((function (t, n) {
								return t.concat(e.filter((function (t) {
									return t.phase === n
								})))
							}), [])
						}((o = [].concat(i, a.options.modifiers), r = o.reduce((function (t, e) {
							var n = t[e.name];
							return t[e.name] = n ? Object.assign(Object.assign(Object.assign({}, n), e), {}, {options: Object.assign(Object.assign({}, n.options), e.options), data: Object.assign(Object.assign({}, n.data), e.data)}) : e, t
						}), {}), Object.keys(r).map((function (t) {
							return r[t]
						}))));
						return a.orderedModifiers = c.filter((function (t) {
							return t.enabled
						})), a.orderedModifiers.forEach((function (t) {
							var e = t.name, n = t.options, i = void 0 === n ? {} : n, o = t.effect;
							if ("function" == typeof o) {
								var s = o({state: a, name: e, instance: u, options: i});
								l.push(s || function () {
								})
							}
						})), u.update()
					}, forceUpdate: function () {
						if (!c) {
							var t = a.elements, e = t.reference, n = t.popper;
							if (ce(e, n)) {
								a.rects = {reference: re(e, St(n), "fixed" === a.options.strategy), popper: yt(n)}, a.reset = !1, a.placement = a.options.placement, a.orderedModifiers.forEach((function (t) {
									return a.modifiersData[t.name] = Object.assign({}, t.data)
								}));
								for (var i = 0; i < a.orderedModifiers.length; i++) if (!0 !== a.reset) {
									var o = a.orderedModifiers[i], s = o.fn, r = o.options, l = void 0 === r ? {} : r, d = o.name;
									"function" == typeof s && (a = s({state: a, options: l, name: d, instance: u}) || a)
								} else a.reset = !1, i = -1
							}
						}
					}, update: (o = function () {
						return new Promise((function (t) {
							u.forceUpdate(), t(a)
						}))
					}, function () {
						return r || (r = new Promise((function (t) {
							Promise.resolve().then((function () {
								r = void 0, t(o())
							}))
						}))), r
					}), destroy: function () {
						d(), c = !0
					}
				};
				if (!ce(t, e)) return u;

				function d() {
					l.forEach((function (t) {
						return t()
					})), l = []
				}

				return u.setOptions(n).then((function (t) {
					!c && n.onFirstUpdate && n.onFirstUpdate(t)
				})), u
			}
		}

		var de = ue(), he = ue({defaultModifiers: [jt, oe, It, bt]}), fe = ue({defaultModifiers: [jt, oe, It, bt, ie, Jt, se, At, ne]}), pe = Object.freeze({__proto__: null, popperGenerator: ue, detectOverflow: Zt, createPopperBase: de, createPopper: fe, createPopperLite: he, top: st, bottom: rt, right: at, left: lt, auto: "auto", basePlacements: ct, start: "start", end: "end", clippingParents: "clippingParents", viewport: "viewport", popper: "popper", reference: "reference", variationPlacements: ut, placements: dt, beforeRead: "beforeRead", read: "read", afterRead: "afterRead", beforeMain: "beforeMain", main: "main", afterMain: "afterMain", beforeWrite: "beforeWrite", write: "write", afterWrite: "afterWrite", modifierPhases: ht, applyStyles: bt, arrow: At, computeStyles: It, eventListeners: jt, flip: Jt, hide: ne, offset: ie, popperOffsets: oe, preventOverflow: se}), ge = new RegExp("ArrowUp|ArrowDown|Escape"), me = w ? "top-end" : "top-start", be = w ? "top-start" : "top-end",
			ve = w ? "bottom-end" : "bottom-start", ye = w ? "bottom-start" : "bottom-end", we = w ? "left-start" : "right-start", _e = w ? "right-start" : "left-start", xe = {offset: [0, 2], flip: !0, boundary: "clippingParents", reference: "toggle", display: "dynamic", popperConfig: null}, Ee = {offset: "(array|string|function)", flip: "boolean", boundary: "(string|element)", reference: "(string|element|object)", display: "string", popperConfig: "(null|object|function)"}, Te = function (t) {
				function o(e, n) {
					var i;
					return (i = t.call(this, e) || this)._popper = null, i._config = i._getConfig(n), i._menu = i._getMenuElement(), i._inNavbar = i._detectNavbar(), i._addEventListeners(), i
				}

				i(o, t);
				var s = o.prototype;
				return s.toggle = function () {
					if (!this._element.disabled && !this._element.classList.contains("disabled")) {
						var t = this._element.classList.contains("show");
						o.clearMenus(), t || this.show()
					}
				}, s.show = function () {
					if (!(this._element.disabled || this._element.classList.contains("disabled") || this._menu.classList.contains("show"))) {
						var t = o.getParentFromElement(this._element), e = {relatedTarget: this._element};
						if (!H.trigger(this._element, "show.bs.dropdown", e).defaultPrevented) {
							if (this._inNavbar) Y.setDataAttribute(this._menu, "popper", "none"); else {
								if (void 0 === pe) throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");
								var n = this._element;
								"parent" === this._config.reference ? n = t : f(this._config.reference) ? (n = this._config.reference, void 0 !== this._config.reference.jquery && (n = this._config.reference[0])) : "object" == typeof this._config.reference && (n = this._config.reference);
								var i = this._getPopperConfig(), s = i.modifiers.find((function (t) {
									return "applyStyles" === t.name && !1 === t.enabled
								}));
								this._popper = fe(n, this._menu, i), s && Y.setDataAttribute(this._menu, "popper", "static")
							}
							var r;
							"ontouchstart" in document.documentElement && !t.closest(".navbar-nav") && (r = []).concat.apply(r, document.body.children).forEach((function (t) {
								return H.on(t, "mouseover", null, (function () {
								}))
							})), this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.toggle("show"), this._element.classList.toggle("show"), H.trigger(this._element, "shown.bs.dropdown", e)
						}
					}
				}, s.hide = function () {
					if (!this._element.disabled && !this._element.classList.contains("disabled") && this._menu.classList.contains("show")) {
						var t = {relatedTarget: this._element};
						H.trigger(this._element, "hide.bs.dropdown", t).defaultPrevented || (this._popper && this._popper.destroy(), this._menu.classList.toggle("show"), this._element.classList.toggle("show"), Y.removeDataAttribute(this._menu, "popper"), H.trigger(this._element, "hidden.bs.dropdown", t))
					}
				}, s.dispose = function () {
					t.prototype.dispose.call(this), H.off(this._element, ".bs.dropdown"), this._menu = null, this._popper && (this._popper.destroy(), this._popper = null)
				}, s.update = function () {
					this._inNavbar = this._detectNavbar(), this._popper && this._popper.update()
				}, s._addEventListeners = function () {
					var t = this;
					H.on(this._element, "click.bs.dropdown", (function (e) {
						e.preventDefault(), e.stopPropagation(), t.toggle()
					}))
				}, s._getConfig = function (t) {
					if (t = n({}, this.constructor.Default, Y.getDataAttributes(this._element), t), g("dropdown", t, this.constructor.DefaultType), "object" == typeof t.reference && !f(t.reference) && "function" != typeof t.reference.getBoundingClientRect) throw new TypeError("dropdown".toUpperCase() + ': Option "reference" provided type "object" without a required "getBoundingClientRect" method.');
					return t
				}, s._getMenuElement = function () {
					return Z(this._element, ".dropdown-menu")[0]
				}, s._getPlacement = function () {
					var t = this._element.parentNode;
					if (t.classList.contains("dropend")) return we;
					if (t.classList.contains("dropstart")) return _e;
					var e = "end" === getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();
					return t.classList.contains("dropup") ? e ? be : me : e ? ye : ve
				}, s._detectNavbar = function () {
					return null !== this._element.closest(".navbar")
				}, s._getOffset = function () {
					var t = this, e = this._config.offset;
					return "string" == typeof e ? e.split(",").map((function (t) {
						return Number.parseInt(t, 10)
					})) : "function" == typeof e ? function (n) {
						return e(n, t._element)
					} : e
				}, s._getPopperConfig = function () {
					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 && (t.modifiers = [{name: "applyStyles", enabled: !1}]), n({}, t, "function" == typeof this._config.popperConfig ? this._config.popperConfig(t) : this._config.popperConfig)
				}, o.dropdownInterface = function (t, e) {
					var n = T(t, "bs.dropdown");
					if (n || (n = new o(t, "object" == typeof e ? e : null)), "string" == typeof e) {
						if (void 0 === n[e]) throw new TypeError('No method named "' + e + '"');
						n[e]()
					}
				}, o.jQueryInterface = function (t) {
					return this.each((function () {
						o.dropdownInterface(this, t)
					}))
				}, o.clearMenus = function (t) {
					if (!t || 2 !== t.button && ("keyup" !== t.type || "Tab" === t.key)) for (var e = X('[data-bs-toggle="dropdown"]'), n = 0, i = e.length; n < i; n++) {
						var o = T(e[n], "bs.dropdown"), s = {relatedTarget: e[n]};
						if (t && "click" === t.type && (s.clickEvent = t), o) {
							var r, a = o._menu;
							if (e[n].classList.contains("show") && !(t && ("click" === t.type && /input|textarea/i.test(t.target.tagName) || "keyup" === t.type && "Tab" === t.key) && a.contains(t.target) || H.trigger(e[n], "hide.bs.dropdown", s).defaultPrevented)) "ontouchstart" in document.documentElement && (r = []).concat.apply(r, document.body.children).forEach((function (t) {
								return H.off(t, "mouseover", null, (function () {
								}))
							})), e[n].setAttribute("aria-expanded", "false"), o._popper && o._popper.destroy(), a.classList.remove("show"), e[n].classList.remove("show"), Y.removeDataAttribute(a, "popper"), H.trigger(e[n], "hidden.bs.dropdown", s)
						}
					}
				}, o.getParentFromElement = function (t) {
					return u(t) || t.parentNode
				}, o.dataApiKeydownHandler = function (t) {
					if (!(/input|textarea/i.test(t.target.tagName) ? "Space" === t.key || "Escape" !== t.key && ("ArrowDown" !== t.key && "ArrowUp" !== t.key || t.target.closest(".dropdown-menu")) : !ge.test(t.key)) && (t.preventDefault(), t.stopPropagation(), !this.disabled && !this.classList.contains("disabled"))) {
						var e = o.getParentFromElement(this), n = this.classList.contains("show");
						if ("Escape" === t.key) return (this.matches('[data-bs-toggle="dropdown"]') ? this : Q(this, '[data-bs-toggle="dropdown"]')[0]).focus(), void o.clearMenus();
						if (n || "ArrowUp" !== t.key && "ArrowDown" !== t.key) if (n && "Space" !== t.key) {
							var i = X(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", e).filter(m);
							if (i.length) {
								var s = i.indexOf(t.target);
								"ArrowUp" === t.key && s > 0 && s--, "ArrowDown" === t.key && s < i.length - 1 && s++, i[s = -1 === s ? 0 : s].focus()
							}
						} else o.clearMenus(); else (this.matches('[data-bs-toggle="dropdown"]') ? this : Q(this, '[data-bs-toggle="dropdown"]')[0]).click()
					}
				}, e(o, null, [{
					key: "Default", get: function () {
						return xe
					}
				}, {
					key: "DefaultType", get: function () {
						return Ee
					}
				}, {
					key: "DATA_KEY", get: function () {
						return "bs.dropdown"
					}
				}]), o
			}(R);
		H.on(document, "keydown.bs.dropdown.data-api", '[data-bs-toggle="dropdown"]', Te.dataApiKeydownHandler), H.on(document, "keydown.bs.dropdown.data-api", ".dropdown-menu", Te.dataApiKeydownHandler), H.on(document, "click.bs.dropdown.data-api", Te.clearMenus), H.on(document, "keyup.bs.dropdown.data-api", Te.clearMenus), H.on(document, "click.bs.dropdown.data-api", '[data-bs-toggle="dropdown"]', (function (t) {
			t.preventDefault(), t.stopPropagation(), Te.dropdownInterface(this, "toggle")
		})), H.on(document, "click.bs.dropdown.data-api", ".dropdown form", (function (t) {
			return t.stopPropagation()
		})), _("dropdown", Te);
		var Ce = {backdrop: !0, keyboard: !0, focus: !0}, Se = {backdrop: "(boolean|string)", keyboard: "boolean", focus: "boolean"}, Pe = function (t) {
			function o(e, n) {
				var i;
				return (i = t.call(this, e) || this)._config = i._getConfig(n), i._dialog = V(".modal-dialog", e), i._backdrop = null, i._isShown = !1, i._isBodyOverflowing = !1, i._ignoreBackdropClick = !1, i._isTransitioning = !1, i._scrollbarWidth = 0, i
			}

			i(o, t);
			var s = o.prototype;
			return s.toggle = function (t) {
				return this._isShown ? this.hide() : this.show(t)
			}, s.show = function (t) {
				var e = this;
				if (!this._isShown && !this._isTransitioning) {
					this._element.classList.contains("fade") && (this._isTransitioning = !0);
					var n = H.trigger(this._element, "show.bs.modal", {relatedTarget: t});
					this._isShown || n.defaultPrevented || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), H.on(this._element, "click.dismiss.bs.modal", '[data-bs-dismiss="modal"]', (function (t) {
						return e.hide(t)
					})), H.on(this._dialog, "mousedown.dismiss.bs.modal", (function () {
						H.one(e._element, "mouseup.dismiss.bs.modal", (function (t) {
							t.target === e._element && (e._ignoreBackdropClick = !0)
						}))
					})), this._showBackdrop((function () {
						return e._showElement(t)
					})))
				}
			}, s.hide = function (t) {
				var e = this;
				if (t && t.preventDefault(), this._isShown && !this._isTransitioning && !H.trigger(this._element, "hide.bs.modal").defaultPrevented) {
					this._isShown = !1;
					var n = this._element.classList.contains("fade");
					if (n && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), H.off(document, "focusin.bs.modal"), this._element.classList.remove("show"), H.off(this._element, "click.dismiss.bs.modal"), H.off(this._dialog, "mousedown.dismiss.bs.modal"), n) {
						var i = d(this._element);
						H.one(this._element, "transitionend", (function (t) {
							return e._hideModal(t)
						})), p(this._element, i)
					} else this._hideModal()
				}
			}, s.dispose = function () {
				[window, this._element, this._dialog].forEach((function (t) {
					return H.off(t, ".bs.modal")
				})), t.prototype.dispose.call(this), H.off(document, "focusin.bs.modal"), this._config = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._isTransitioning = null, this._scrollbarWidth = null
			}, s.handleUpdate = function () {
				this._adjustDialog()
			}, s._getConfig = function (t) {
				return t = n({}, Ce, t), g("modal", t, Se), t
			}, s._showElement = function (t) {
				var e = this, n = this._element.classList.contains("fade"), i = V(".modal-body", this._dialog);
				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"), this._element.scrollTop = 0, i && (i.scrollTop = 0), n && v(this._element), this._element.classList.add("show"), this._config.focus && this._enforceFocus();
				var o = function () {
					e._config.focus && e._element.focus(), e._isTransitioning = !1, H.trigger(e._element, "shown.bs.modal", {relatedTarget: t})
				};
				if (n) {
					var s = d(this._dialog);
					H.one(this._dialog, "transitionend", o), p(this._dialog, s)
				} else o()
			}, s._enforceFocus = function () {
				var t = this;
				H.off(document, "focusin.bs.modal"), H.on(document, "focusin.bs.modal", (function (e) {
					document === e.target || t._element === e.target || t._element.contains(e.target) || t._element.focus()
				}))
			}, s._setEscapeEvent = function () {
				var t = this;
				this._isShown ? H.on(this._element, "keydown.dismiss.bs.modal", (function (e) {
					t._config.keyboard && "Escape" === e.key ? (e.preventDefault(), t.hide()) : t._config.keyboard || "Escape" !== e.key || t._triggerBackdropTransition()
				})) : H.off(this._element, "keydown.dismiss.bs.modal")
			}, s._setResizeEvent = function () {
				var t = this;
				this._isShown ? H.on(window, "resize.bs.modal", (function () {
					return t._adjustDialog()
				})) : H.off(window, "resize.bs.modal")
			}, s._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 () {
					document.body.classList.remove("modal-open"), t._resetAdjustments(), t._resetScrollbar(), H.trigger(t._element, "hidden.bs.modal")
				}))
			}, s._removeBackdrop = function () {
				this._backdrop.parentNode.removeChild(this._backdrop), this._backdrop = null
			}, s._showBackdrop = function (t) {
				var e = this, n = this._element.classList.contains("fade") ? "fade" : "";
				if (this._isShown && this._config.backdrop) {
					if (this._backdrop = document.createElement("div"), this._backdrop.className = "modal-backdrop", n && this._backdrop.classList.add(n), document.body.appendChild(this._backdrop), H.on(this._element, "click.dismiss.bs.modal", (function (t) {
						e._ignoreBackdropClick ? e._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === e._config.backdrop ? e._triggerBackdropTransition() : e.hide())
					})), n && v(this._backdrop), this._backdrop.classList.add("show"), !n) return void t();
					var i = d(this._backdrop);
					H.one(this._backdrop, "transitionend", t), p(this._backdrop, i)
				} else if (!this._isShown && this._backdrop) {
					this._backdrop.classList.remove("show");
					var o = function () {
						e._removeBackdrop(), t()
					};
					if (this._element.classList.contains("fade")) {
						var s = d(this._backdrop);
						H.one(this._backdrop, "transitionend", o), p(this._backdrop, s)
					} else o()
				} else t()
			}, s._triggerBackdropTransition = function () {
				var t = this;
				if (!H.trigger(this._element, "hidePrevented.bs.modal").defaultPrevented) {
					var e = this._element.scrollHeight > document.documentElement.clientHeight;
					e || (this._element.style.overflowY = "hidden"), this._element.classList.add("modal-static");
					var n = d(this._dialog);
					H.off(this._element, "transitionend"), H.one(this._element, "transitionend", (function () {
						t._element.classList.remove("modal-static"), e || (H.one(t._element, "transitionend", (function () {
							t._element.style.overflowY = ""
						})), p(t._element, n))
					})), p(this._element, n), this._element.focus()
				}
			}, s._adjustDialog = function () {
				var t = this._element.scrollHeight > document.documentElement.clientHeight;
				(!this._isBodyOverflowing && t && !w || this._isBodyOverflowing && !t && w) && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), (this._isBodyOverflowing && !t && !w || !this._isBodyOverflowing && t && w) && (this._element.style.paddingRight = this._scrollbarWidth + "px")
			}, s._resetAdjustments = function () {
				this._element.style.paddingLeft = "", this._element.style.paddingRight = ""
			}, s._checkScrollbar = function () {
				var t = document.body.getBoundingClientRect();
				this._isBodyOverflowing = Math.round(t.left + t.right) < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth()
			}, s._setScrollbar = function () {
				var t = this;
				this._isBodyOverflowing && (this._setElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", "paddingRight", (function (e) {
					return e + t._scrollbarWidth
				})), this._setElementAttributes(".sticky-top", "marginRight", (function (e) {
					return e - t._scrollbarWidth
				})), this._setElementAttributes("body", "paddingRight", (function (e) {
					return e + t._scrollbarWidth
				}))), document.body.classList.add("modal-open")
			}, s._setElementAttributes = function (t, e, n) {
				X(t).forEach((function (t) {
					var i = t.style[e], o = window.getComputedStyle(t)[e];
					Y.setDataAttribute(t, e, i), t.style[e] = n(Number.parseFloat(o)) + "px"
				}))
			}, s._resetScrollbar = function () {
				this._resetElementAttributes(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", "paddingRight"), this._resetElementAttributes(".sticky-top", "marginRight"), this._resetElementAttributes("body", "paddingRight")
			}, s._resetElementAttributes = function (t, e) {
				X(t).forEach((function (t) {
					var n = Y.getDataAttribute(t, e);
					void 0 === n && t === document.body ? t.style[e] = "" : (Y.removeDataAttribute(t, e), t.style[e] = n)
				}))
			}, s._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
			}, o.jQueryInterface = function (t, e) {
				return this.each((function () {
					var i = T(this, "bs.modal"), s = n({}, Ce, Y.getDataAttributes(this), "object" == typeof t && t ? t : {});
					if (i || (i = new o(this, s)), "string" == typeof t) {
						if (void 0 === i[t]) throw new TypeError('No method named "' + t + '"');
						i[t](e)
					}
				}))
			}, e(o, null, [{
				key: "Default", get: function () {
					return Ce
				}
			}, {
				key: "DATA_KEY", get: function () {
					return "bs.modal"
				}
			}]), o
		}(R);
		H.on(document, "click.bs.modal.data-api", '[data-bs-toggle="modal"]', (function (t) {
			var e = this, i = u(this);
			"A" !== this.tagName && "AREA" !== this.tagName || t.preventDefault(), H.one(i, "show.bs.modal", (function (t) {
				t.defaultPrevented || H.one(i, "hidden.bs.modal", (function () {
					m(e) && e.focus()
				}))
			}));
			var o = T(i, "bs.modal");
			if (!o) {
				var s = n({}, Y.getDataAttributes(i), Y.getDataAttributes(this));
				o = new Pe(i, s)
			}
			o.toggle(this)
		})), _("modal", Pe);
		var Le = new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), $e = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi, ke = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i, Ae = {"*": ["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 Oe(t, e, n) {
			var i;
			if (!t.length) return t;
			if (n && "function" == typeof n) return n(t);
			for (var o = (new window.DOMParser).parseFromString(t, "text/html"), s = Object.keys(e), r = (i = []).concat.apply(i, o.body.querySelectorAll("*")), a = function (t, n) {
				var i, o = r[t], a = o.nodeName.toLowerCase();
				if (!s.includes(a)) return o.parentNode.removeChild(o), "continue";
				var l = (i = []).concat.apply(i, o.attributes), c = [].concat(e["*"] || [], e[a] || []);
				l.forEach((function (t) {
					(function (t, e) {
						var n = t.nodeName.toLowerCase();
						if (e.includes(n)) return !Le.has(n) || Boolean($e.test(t.nodeValue) || ke.test(t.nodeValue));
						for (var i = e.filter((function (t) {
							return t instanceof RegExp
						})), o = 0, s = i.length; o < s; o++) if (i[o].test(n)) return !0;
						return !1
					})(t, c) || o.removeAttribute(t.nodeName)
				}))
			}, l = 0, c = r.length; l < c; l++) a(l);
			return o.body.innerHTML
		}

		var De = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), Ie = new Set(["sanitize", "allowList", "sanitizeFn"]), Me = {animation: "boolean", template: "string", title: "(string|element|function)", trigger: "string", delay: "(number|object)", html: "boolean", selector: "(string|boolean)", placement: "(string|function)", offset: "(array|string|function)", container: "(string|element|boolean)", fallbackPlacements: "array", boundary: "(string|element)", customClass: "(string|function)", sanitize: "boolean", sanitizeFn: "(null|function)", allowList: "object", popperConfig: "(null|object|function)"}, je = {AUTO: "auto", TOP: "top", RIGHT: w ? "left" : "right", BOTTOM: "bottom", LEFT: w ? "right" : "left"},
			Ne = {animation: !0, template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', trigger: "hover focus", title: "", delay: 0, html: !1, selector: !1, placement: "top", offset: [0, 0], container: !1, fallbackPlacements: ["top", "right", "bottom", "left"], boundary: "clippingParents", customClass: "", sanitize: !0, sanitizeFn: null, allowList: Ae, popperConfig: null}, Fe = {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"}, He = function (t) {
				function o(e, n) {
					var i;
					if (void 0 === pe) throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");
					return (i = t.call(this, e) || this)._isEnabled = !0, i._timeout = 0, i._hoverState = "", i._activeTrigger = {}, i._popper = null, i.config = i._getConfig(n), i.tip = null, i._setListeners(), i
				}

				i(o, t);
				var s = o.prototype;
				return s.enable = function () {
					this._isEnabled = !0
				}, s.disable = function () {
					this._isEnabled = !1
				}, s.toggleEnabled = function () {
					this._isEnabled = !this._isEnabled
				}, s.toggle = function (t) {
					if (this._isEnabled) if (t) {
						var e = this._initializeOnDelegatedTarget(t);
						e._activeTrigger.click = !e._activeTrigger.click, e._isWithActiveTrigger() ? e._enter(null, e) : e._leave(null, e)
					} else {
						if (this.getTipElement().classList.contains("show")) return void this._leave(null, this);
						this._enter(null, this)
					}
				}, s.dispose = function () {
					clearTimeout(this._timeout), H.off(this._element, this.constructor.EVENT_KEY), H.off(this._element.closest(".modal"), "hide.bs.modal", this._hideModalHandler), this.tip && this.tip.parentNode && this.tip.parentNode.removeChild(this.tip), this._isEnabled = null, this._timeout = null, this._hoverState = null, this._activeTrigger = null, this._popper && this._popper.destroy(), this._popper = null, this.config = null, this.tip = null, t.prototype.dispose.call(this)
				}, s.show = function () {
					var t = this;
					if ("none" === this._element.style.display) throw new Error("Please use show on visible elements");
					if (this.isWithContent() && this._isEnabled) {
						var e = H.trigger(this._element, this.constructor.Event.SHOW), n = function t(e) {
							if (!document.documentElement.attachShadow) return null;
							if ("function" == typeof e.getRootNode) {
								var n = e.getRootNode();
								return n instanceof ShadowRoot ? n : null
							}
							return e instanceof ShadowRoot ? e : e.parentNode ? t(e.parentNode) : null
						}(this._element), i = null === n ? this._element.ownerDocument.documentElement.contains(this._element) : n.contains(this._element);
						if (!e.defaultPrevented && i) {
							var o = this.getTipElement(), s = a(this.constructor.NAME);
							o.setAttribute("id", s), this._element.setAttribute("aria-describedby", s), this.setContent(), this.config.animation && o.classList.add("fade");
							var r = "function" == typeof this.config.placement ? this.config.placement.call(this, o, this._element) : this.config.placement, l = this._getAttachment(r);
							this._addAttachmentClass(l);
							var c = this._getContainer();
							E(o, this.constructor.DATA_KEY, this), this._element.ownerDocument.documentElement.contains(this.tip) || c.appendChild(o), H.trigger(this._element, this.constructor.Event.INSERTED), this._popper = fe(this._element, o, this._getPopperConfig(l)), o.classList.add("show");
							var u, h, f = "function" == typeof this.config.customClass ? this.config.customClass() : this.config.customClass;
							f && (u = o.classList).add.apply(u, f.split(" ")), "ontouchstart" in document.documentElement && (h = []).concat.apply(h, document.body.children).forEach((function (t) {
								H.on(t, "mouseover", (function () {
								}))
							}));
							var g = function () {
								var e = t._hoverState;
								t._hoverState = null, H.trigger(t._element, t.constructor.Event.SHOWN), "out" === e && t._leave(null, t)
							};
							if (this.tip.classList.contains("fade")) {
								var m = d(this.tip);
								H.one(this.tip, "transitionend", g), p(this.tip, m)
							} else g()
						}
					}
				}, s.hide = function () {
					var t = this;
					if (this._popper) {
						var e = this.getTipElement(), n = function () {
							"show" !== t._hoverState && e.parentNode && e.parentNode.removeChild(e), t._cleanTipClass(), t._element.removeAttribute("aria-describedby"), H.trigger(t._element, t.constructor.Event.HIDDEN), t._popper && (t._popper.destroy(), t._popper = null)
						};
						if (!H.trigger(this._element, this.constructor.Event.HIDE).defaultPrevented) {
							var i;
							if (e.classList.remove("show"), "ontouchstart" in document.documentElement && (i = []).concat.apply(i, document.body.children).forEach((function (t) {
								return H.off(t, "mouseover", b)
							})), this._activeTrigger.click = !1, this._activeTrigger.focus = !1, this._activeTrigger.hover = !1, this.tip.classList.contains("fade")) {
								var o = d(e);
								H.one(e, "transitionend", n), p(e, o)
							} else n();
							this._hoverState = ""
						}
					}
				}, s.update = function () {
					null !== this._popper && this._popper.update()
				}, s.isWithContent = function () {
					return Boolean(this.getTitle())
				}, s.getTipElement = function () {
					if (this.tip) return this.tip;
					var t = document.createElement("div");
					return t.innerHTML = this.config.template, this.tip = t.children[0], this.tip
				}, s.setContent = function () {
					var t = this.getTipElement();
					this.setElementContent(V(".tooltip-inner", t), this.getTitle()), t.classList.remove("fade", "show")
				}, s.setElementContent = function (t, e) {
					if (null !== t) return "object" == typeof e && f(e) ? (e.jquery && (e = e[0]), void (this.config.html ? e.parentNode !== t && (t.innerHTML = "", t.appendChild(e)) : t.textContent = e.textContent)) : void (this.config.html ? (this.config.sanitize && (e = Oe(e, this.config.allowList, this.config.sanitizeFn)), t.innerHTML = e) : t.textContent = e)
				}, s.getTitle = function () {
					var t = this._element.getAttribute("data-bs-original-title");
					return t || (t = "function" == typeof this.config.title ? this.config.title.call(this._element) : this.config.title), t
				}, s.updateAttachment = function (t) {
					return "right" === t ? "end" : "left" === t ? "start" : t
				}, s._initializeOnDelegatedTarget = function (t, e) {
					var n = this.constructor.DATA_KEY;
					return (e = e || T(t.delegateTarget, n)) || (e = new this.constructor(t.delegateTarget, this._getDelegateConfig()), E(t.delegateTarget, n, e)), e
				}, s._getOffset = function () {
					var t = this, e = this.config.offset;
					return "string" == typeof e ? e.split(",").map((function (t) {
						return Number.parseInt(t, 10)
					})) : "function" == typeof e ? function (n) {
						return e(n, t._element)
					} : e
				}, s._getPopperConfig = function (t) {
					var e = this, i = {
						placement: t, modifiers: [{name: "flip", options: {altBoundary: !0, fallbackPlacements: this.config.fallbackPlacements}}, {name: "offset", options: {offset: this._getOffset()}}, {name: "preventOverflow", options: {boundary: this.config.boundary}}, {name: "arrow", options: {element: "." + this.constructor.NAME + "-arrow"}}, {
							name: "onChange", enabled: !0, phase: "afterWrite", fn: function (t) {
								return e._handlePopperPlacementChange(t)
							}
						}], onFirstUpdate: function (t) {
							t.options.placement !== t.placement && e._handlePopperPlacementChange(t)
						}
					};
					return n({}, i, "function" == typeof this.config.popperConfig ? this.config.popperConfig(i) : this.config.popperConfig)
				}, s._addAttachmentClass = function (t) {
					this.getTipElement().classList.add("bs-tooltip-" + this.updateAttachment(t))
				}, s._getContainer = function () {
					return !1 === this.config.container ? document.body : f(this.config.container) ? this.config.container : V(this.config.container)
				}, s._getAttachment = function (t) {
					return je[t.toUpperCase()]
				}, s._setListeners = function () {
					var t = this;
					this.config.trigger.split(" ").forEach((function (e) {
						if ("click" === e) H.on(t._element, t.constructor.Event.CLICK, t.config.selector, (function (e) {
							return t.toggle(e)
						})); else if ("manual" !== e) {
							var n = "hover" === e ? t.constructor.Event.MOUSEENTER : t.constructor.Event.FOCUSIN, i = "hover" === e ? t.constructor.Event.MOUSELEAVE : t.constructor.Event.FOCUSOUT;
							H.on(t._element, n, t.config.selector, (function (e) {
								return t._enter(e)
							})), H.on(t._element, i, t.config.selector, (function (e) {
								return t._leave(e)
							}))
						}
					})), this._hideModalHandler = function () {
						t._element && t.hide()
					}, H.on(this._element.closest(".modal"), "hide.bs.modal", this._hideModalHandler), this.config.selector ? this.config = n({}, this.config, {trigger: "manual", selector: ""}) : this._fixTitle()
				}, s._fixTitle = function () {
					var t = this._element.getAttribute("title"), e = typeof this._element.getAttribute("data-bs-original-title");
					(t || "string" !== e) && (this._element.setAttribute("data-bs-original-title", t || ""), !t || this._element.getAttribute("aria-label") || this._element.textContent || this._element.setAttribute("aria-label", t), this._element.setAttribute("title", ""))
				}, s._enter = function (t, e) {
					e = this._initializeOnDelegatedTarget(t, e), t && (e._activeTrigger["focusin" === t.type ? "focus" : "hover"] = !0), e.getTipElement().classList.contains("show") || "show" === e._hoverState ? e._hoverState = "show" : (clearTimeout(e._timeout), e._hoverState = "show", e.config.delay && e.config.delay.show ? e._timeout = setTimeout((function () {
						"show" === e._hoverState && e.show()
					}), e.config.delay.show) : e.show())
				}, s._leave = function (t, e) {
					e = this._initializeOnDelegatedTarget(t, e), t && (e._activeTrigger["focusout" === t.type ? "focus" : "hover"] = !1), e._isWithActiveTrigger() || (clearTimeout(e._timeout), e._hoverState = "out", e.config.delay && e.config.delay.hide ? e._timeout = setTimeout((function () {
						"out" === e._hoverState && e.hide()
					}), e.config.delay.hide) : e.hide())
				}, s._isWithActiveTrigger = function () {
					for (var t in this._activeTrigger) if (this._activeTrigger[t]) return !0;
					return !1
				}, s._getConfig = function (t) {
					var e = Y.getDataAttributes(this._element);
					return Object.keys(e).forEach((function (t) {
						Ie.has(t) && delete e[t]
					})), t && "object" == typeof t.container && t.container.jquery && (t.container = t.container[0]), "number" == typeof (t = n({}, 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()), g("tooltip", t, this.constructor.DefaultType), t.sanitize && (t.template = Oe(t.template, t.allowList, t.sanitizeFn)), t
				}, s._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
				}, s._cleanTipClass = function () {
					var t = this.getTipElement(), e = t.getAttribute("class").match(De);
					null !== e && e.length > 0 && e.map((function (t) {
						return t.trim()
					})).forEach((function (e) {
						return t.classList.remove(e)
					}))
				}, s._handlePopperPlacementChange = function (t) {
					var e = t.state;
					e && (this.tip = e.elements.popper, this._cleanTipClass(), this._addAttachmentClass(this._getAttachment(e.placement)))
				}, o.jQueryInterface = function (t) {
					return this.each((function () {
						var e = T(this, "bs.tooltip"), n = "object" == typeof t && t;
						if ((e || !/dispose|hide/.test(t)) && (e || (e = new o(this, n)), "string" == typeof t)) {
							if (void 0 === e[t]) throw new TypeError('No method named "' + t + '"');
							e[t]()
						}
					}))
				}, e(o, null, [{
					key: "Default", get: function () {
						return Ne
					}
				}, {
					key: "NAME", get: function () {
						return "tooltip"
					}
				}, {
					key: "DATA_KEY", get: function () {
						return "bs.tooltip"
					}
				}, {
					key: "Event", get: function () {
						return Fe
					}
				}, {
					key: "EVENT_KEY", get: function () {
						return ".bs.tooltip"
					}
				}, {
					key: "DefaultType", get: function () {
						return Me
					}
				}]), o
			}(R);
		_("tooltip", He);
		var Re = new RegExp("(^|\\s)bs-popover\\S+", "g"), Be = n({}, He.Default, {placement: "right", offset: [0, 8], trigger: "click", content: "", template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}), ze = n({}, He.DefaultType, {content: "(string|element|function)"}), qe = {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"}, We = function (t) {
			function n() {
				return t.apply(this, arguments) || this
			}

			i(n, t);
			var o = n.prototype;
			return o.isWithContent = function () {
				return this.getTitle() || this._getContent()
			}, o.setContent = function () {
				var t = this.getTipElement();
				this.setElementContent(V(".popover-header", t), this.getTitle());
				var e = this._getContent();
				"function" == typeof e && (e = e.call(this._element)), this.setElementContent(V(".popover-body", t), e), t.classList.remove("fade", "show")
			}, o._addAttachmentClass = function (t) {
				this.getTipElement().classList.add("bs-popover-" + this.updateAttachment(t))
			}, o._getContent = function () {
				return this._element.getAttribute("data-bs-content") || this.config.content
			}, o._cleanTipClass = function () {
				var t = this.getTipElement(), e = t.getAttribute("class").match(Re);
				null !== e && e.length > 0 && e.map((function (t) {
					return t.trim()
				})).forEach((function (e) {
					return t.classList.remove(e)
				}))
			}, n.jQueryInterface = function (t) {
				return this.each((function () {
					var e = T(this, "bs.popover"), i = "object" == typeof t ? t : null;
					if ((e || !/dispose|hide/.test(t)) && (e || (e = new n(this, i), E(this, "bs.popover", e)), "string" == typeof t)) {
						if (void 0 === e[t]) throw new TypeError('No method named "' + t + '"');
						e[t]()
					}
				}))
			}, e(n, null, [{
				key: "Default", get: function () {
					return Be
				}
			}, {
				key: "NAME", get: function () {
					return "popover"
				}
			}, {
				key: "DATA_KEY", get: function () {
					return "bs.popover"
				}
			}, {
				key: "Event", get: function () {
					return qe
				}
			}, {
				key: "EVENT_KEY", get: function () {
					return ".bs.popover"
				}
			}, {
				key: "DefaultType", get: function () {
					return ze
				}
			}]), n
		}(He);
		_("popover", We);
		var Ye = {offset: 10, method: "auto", target: ""}, Xe = {offset: "number", method: "string", target: "(string|element)"}, Ve = function (t) {
			function o(e, n) {
				var i;
				return (i = t.call(this, e) || this)._scrollElement = "BODY" === e.tagName ? window : e, i._config = i._getConfig(n), i._selector = i._config.target + " .nav-link, " + i._config.target + " .list-group-item, " + i._config.target + " .dropdown-item", i._offsets = [], i._targets = [], i._activeTarget = null, i._scrollHeight = 0, H.on(i._scrollElement, "scroll.bs.scrollspy", (function () {
					return i._process()
				})), i.refresh(), i._process(), i
			}

			i(o, t);
			var s = o.prototype;
			return s.refresh = function () {
				var t = this, e = this._scrollElement === this._scrollElement.window ? "offset" : "position", n = "auto" === this._config.method ? e : this._config.method, i = "position" === n ? this._getScrollTop() : 0;
				this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), X(this._selector).map((function (t) {
					var e = c(t), o = e ? V(e) : null;
					if (o) {
						var s = o.getBoundingClientRect();
						if (s.width || s.height) return [Y[n](o).top + i, e]
					}
					return null
				})).filter((function (t) {
					return t
				})).sort((function (t, e) {
					return t[0] - e[0]
				})).forEach((function (e) {
					t._offsets.push(e[0]), t._targets.push(e[1])
				}))
			}, s.dispose = function () {
				t.prototype.dispose.call(this), H.off(this._scrollElement, ".bs.scrollspy"), this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null
			}, s._getConfig = function (t) {
				if ("string" != typeof (t = n({}, Ye, "object" == typeof t && t ? t : {})).target && f(t.target)) {
					var e = t.target.id;
					e || (e = a("scrollspy"), t.target.id = e), t.target = "#" + e
				}
				return g("scrollspy", t, Xe), t
			}, s._getScrollTop = function () {
				return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop
			}, s._getScrollHeight = function () {
				return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight)
			}, s._getOffsetHeight = function () {
				return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height
			}, s._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] && (void 0 === this._offsets[o + 1] || t < this._offsets[o + 1]) && this._activate(this._targets[o])
				}
			}, s._activate = function (t) {
				this._activeTarget = t, this._clear();
				var e = this._selector.split(",").map((function (e) {
					return e + '[data-bs-target="' + t + '"],' + e + '[href="' + t + '"]'
				})), n = V(e.join(","));
				n.classList.contains("dropdown-item") ? (V(".dropdown-toggle", n.closest(".dropdown")).classList.add("active"), n.classList.add("active")) : (n.classList.add("active"), K(n, ".nav, .list-group").forEach((function (t) {
					Q(t, ".nav-link, .list-group-item").forEach((function (t) {
						return t.classList.add("active")
					})), Q(t, ".nav-item").forEach((function (t) {
						U(t, ".nav-link").forEach((function (t) {
							return t.classList.add("active")
						}))
					}))
				}))), H.trigger(this._scrollElement, "activate.bs.scrollspy", {relatedTarget: t})
			}, s._clear = function () {
				X(this._selector).filter((function (t) {
					return t.classList.contains("active")
				})).forEach((function (t) {
					return t.classList.remove("active")
				}))
			}, o.jQueryInterface = function (t) {
				return this.each((function () {
					var e = T(this, "bs.scrollspy");
					if (e || (e = new o(this, "object" == typeof t && t)), "string" == typeof t) {
						if (void 0 === e[t]) throw new TypeError('No method named "' + t + '"');
						e[t]()
					}
				}))
			}, e(o, null, [{
				key: "Default", get: function () {
					return Ye
				}
			}, {
				key: "DATA_KEY", get: function () {
					return "bs.scrollspy"
				}
			}]), o
		}(R);
		H.on(window, "load.bs.scrollspy.data-api", (function () {
			X('[data-bs-spy="scroll"]').forEach((function (t) {
				return new Ve(t, Y.getDataAttributes(t))
			}))
		})), _("scrollspy", Ve);
		var Ue = function (t) {
			function n() {
				return t.apply(this, arguments) || this
			}

			i(n, t);
			var o = n.prototype;
			return o.show = function () {
				var t = this;
				if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && this._element.classList.contains("active") || this._element.classList.contains("disabled"))) {
					var e, n = u(this._element), i = this._element.closest(".nav, .list-group");
					if (i) {
						var o = "UL" === i.nodeName || "OL" === i.nodeName ? ":scope > li > .active" : ".active";
						e = (e = X(o, i))[e.length - 1]
					}
					var s = e ? H.trigger(e, "hide.bs.tab", {relatedTarget: this._element}) : null;
					if (!(H.trigger(this._element, "show.bs.tab", {relatedTarget: e}).defaultPrevented || null !== s && s.defaultPrevented)) {
						this._activate(this._element, i);
						var r = function () {
							H.trigger(e, "hidden.bs.tab", {relatedTarget: t._element}), H.trigger(t._element, "shown.bs.tab", {relatedTarget: e})
						};
						n ? this._activate(n, n.parentNode, r) : r()
					}
				}
			}, o._activate = function (t, e, n) {
				var i = this, o = (!e || "UL" !== e.nodeName && "OL" !== e.nodeName ? U(e, ".active") : X(":scope > li > .active", e))[0], s = n && o && o.classList.contains("fade"), r = function () {
					return i._transitionComplete(t, o, n)
				};
				if (o && s) {
					var a = d(o);
					o.classList.remove("show"), H.one(o, "transitionend", r), p(o, a)
				} else r()
			}, o._transitionComplete = function (t, e, n) {
				if (e) {
					e.classList.remove("active");
					var i = V(":scope > .dropdown-menu .active", e.parentNode);
					i && i.classList.remove("active"), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !1)
				}
				t.classList.add("active"), "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), v(t), t.classList.contains("fade") && t.classList.add("show"), t.parentNode && t.parentNode.classList.contains("dropdown-menu") && (t.closest(".dropdown") && X(".dropdown-toggle").forEach((function (t) {
					return t.classList.add("active")
				})), t.setAttribute("aria-expanded", !0)), n && n()
			}, n.jQueryInterface = function (t) {
				return this.each((function () {
					var e = T(this, "bs.tab") || new n(this);
					if ("string" == typeof t) {
						if (void 0 === e[t]) throw new TypeError('No method named "' + t + '"');
						e[t]()
					}
				}))
			}, e(n, null, [{
				key: "DATA_KEY", get: function () {
					return "bs.tab"
				}
			}]), n
		}(R);
		H.on(document, "click.bs.tab.data-api", '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', (function (t) {
			t.preventDefault(), (T(this, "bs.tab") || new Ue(this)).show()
		})), _("tab", Ue);
		var Ke = {animation: "boolean", autohide: "boolean", delay: "number"}, Qe = {animation: !0, autohide: !0, delay: 5e3}, Ze = function (t) {
			function o(e, n) {
				var i;
				return (i = t.call(this, e) || this)._config = i._getConfig(n), i._timeout = null, i._setListeners(), i
			}

			i(o, t);
			var s = o.prototype;
			return s.show = function () {
				var t = this;
				if (!H.trigger(this._element, "show.bs.toast").defaultPrevented) {
					this._clearTimeout(), this._config.animation && this._element.classList.add("fade");
					var e = function () {
						t._element.classList.remove("showing"), t._element.classList.add("show"), H.trigger(t._element, "shown.bs.toast"), t._config.autohide && (t._timeout = setTimeout((function () {
							t.hide()
						}), t._config.delay))
					};
					if (this._element.classList.remove("hide"), v(this._element), this._element.classList.add("showing"), this._config.animation) {
						var n = d(this._element);
						H.one(this._element, "transitionend", e), p(this._element, n)
					} else e()
				}
			}, s.hide = function () {
				var t = this;
				if (this._element.classList.contains("show") && !H.trigger(this._element, "hide.bs.toast").defaultPrevented) {
					var e = function () {
						t._element.classList.add("hide"), H.trigger(t._element, "hidden.bs.toast")
					};
					if (this._element.classList.remove("show"), this._config.animation) {
						var n = d(this._element);
						H.one(this._element, "transitionend", e), p(this._element, n)
					} else e()
				}
			}, s.dispose = function () {
				this._clearTimeout(), this._element.classList.contains("show") && this._element.classList.remove("show"), H.off(this._element, "click.dismiss.bs.toast"), t.prototype.dispose.call(this), this._config = null
			}, s._getConfig = function (t) {
				return t = n({}, Qe, Y.getDataAttributes(this._element), "object" == typeof t && t ? t : {}), g("toast", t, this.constructor.DefaultType), t
			}, s._setListeners = function () {
				var t = this;
				H.on(this._element, "click.dismiss.bs.toast", '[data-bs-dismiss="toast"]', (function () {
					return t.hide()
				}))
			}, s._clearTimeout = function () {
				clearTimeout(this._timeout), this._timeout = null
			}, o.jQueryInterface = function (t) {
				return this.each((function () {
					var e = T(this, "bs.toast");
					if (e || (e = new o(this, "object" == typeof t && t)), "string" == typeof t) {
						if (void 0 === e[t]) throw new TypeError('No method named "' + t + '"');
						e[t](this)
					}
				}))
			}, e(o, null, [{
				key: "DefaultType", get: function () {
					return Ke
				}
			}, {
				key: "Default", get: function () {
					return Qe
				}
			}, {
				key: "DATA_KEY", get: function () {
					return "bs.toast"
				}
			}]), o
		}(R);
		return _("toast", Ze), {Alert: B, Button: z, Carousel: et, Collapse: ot, Dropdown: Te, Modal: Pe, Popover: We, ScrollSpy: Ve, Tab: Ue, Toast: Ze, Tooltip: He}
	}()
}, function (t, e) {
	!function (t, e, n, i) {
		"use strict";
		if (t.console = t.console || {
			info: function (t) {
			}
		}, n) if (n.fn.fancybox) console.info("fancyBox already initialized"); else {
			var o, s, r = {
				closeExisting: !1,
				loop: !1,
				gutter: 50,
				keyboard: !0,
				preventCaptionOverlap: !0,
				arrows: !0,
				infobar: !0,
				smallBtn: "auto",
				toolbar: "auto",
				buttons: ["zoom", "slideShow", "thumbs", "close"],
				idleTime: 3,
				protect: !1,
				modal: !1,
				image: {preload: !1},
				ajax: {settings: {data: {fancybox: !0}}},
				iframe: {tpl: '<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>', preload: !0, css: {}, attr: {scrolling: "auto"}},
				video: {tpl: '<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>', format: "", autoStart: !0},
				defaultType: "image",
				animationEffect: "zoom",
				animationDuration: 366,
				zoomOpacity: "auto",
				transitionEffect: "fade",
				transitionDuration: 366,
				slideClass: "",
				baseClass: "",
				baseTpl: '<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span>&nbsp;/&nbsp;<span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',
				spinnerTpl: '<div class="fancybox-loading"></div>',
				errorTpl: '<div class="fancybox-error"><p>{{ERROR}}</p></div>',
				btnTpl: {
					download: '<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',
					zoom: '<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',
					close: '<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',
					arrowLeft: '<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',
					arrowRight: '<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',
					smallBtn: '<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'
				},
				parentEl: "body",
				hideScrollbar: !0,
				autoFocus: !0,
				backFocus: !0,
				trapFocus: !0,
				fullScreen: {autoStart: !1},
				touch: {vertical: !0, momentum: !0},
				hash: null,
				media: {},
				slideShow: {autoStart: !1, speed: 3e3},
				thumbs: {autoStart: !1, hideOnClose: !0, parentEl: ".fancybox-container", axis: "y"},
				wheel: "auto",
				onInit: n.noop,
				beforeLoad: n.noop,
				afterLoad: n.noop,
				beforeShow: n.noop,
				afterShow: n.noop,
				beforeClose: n.noop,
				afterClose: n.noop,
				onActivate: n.noop,
				onDeactivate: n.noop,
				clickContent: function (t, e) {
					return "image" === t.type && "zoom"
				},
				clickSlide: "close",
				clickOutside: "close",
				dblclickContent: !1,
				dblclickSlide: !1,
				dblclickOutside: !1,
				mobile: {
					preventCaptionOverlap: !1, idleTime: !1, clickContent: function (t, e) {
						return "image" === t.type && "toggleControls"
					}, clickSlide: function (t, e) {
						return "image" === t.type ? "toggleControls" : "close"
					}, dblclickContent: function (t, e) {
						return "image" === t.type && "zoom"
					}, dblclickSlide: function (t, e) {
						return "image" === t.type && "zoom"
					}
				},
				lang: "en",
				i18n: {en: {CLOSE: "Close", NEXT: "Next", PREV: "Previous", ERROR: "The requested content cannot be loaded. <br/> Please try again later.", PLAY_START: "Start slideshow", PLAY_STOP: "Pause slideshow", FULL_SCREEN: "Full screen", THUMBS: "Thumbnails", DOWNLOAD: "Download", SHARE: "Share", ZOOM: "Zoom"}, de: {CLOSE: "Schlie&szlig;en", NEXT: "Weiter", PREV: "Zur&uuml;ck", ERROR: "Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es sp&auml;ter nochmal.", PLAY_START: "Diaschau starten", PLAY_STOP: "Diaschau beenden", FULL_SCREEN: "Vollbild", THUMBS: "Vorschaubilder", DOWNLOAD: "Herunterladen", SHARE: "Teilen", ZOOM: "Vergr&ouml;&szlig;ern"}}
			}, a = n(t), l = n(e), c = 0, u = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.oRequestAnimationFrame || function (e) {
				return t.setTimeout(e, 1e3 / 60)
			}, d = t.cancelAnimationFrame || t.webkitCancelAnimationFrame || t.mozCancelAnimationFrame || t.oCancelAnimationFrame || function (e) {
				t.clearTimeout(e)
			}, h = function () {
				var t, n = e.createElement("fakeelement"), i = {transition: "transitionend", OTransition: "oTransitionEnd", MozTransition: "transitionend", WebkitTransition: "webkitTransitionEnd"};
				for (t in i) if (void 0 !== n.style[t]) return i[t];
				return "transitionend"
			}(), f = function (t) {
				return t && t.length && t[0].offsetHeight
			}, p = function (t, e) {
				var i = n.extend(!0, {}, t, e);
				return n.each(e, (function (t, e) {
					n.isArray(e) && (i[t] = e)
				})), i
			}, g = function (t, e, i) {
				this.opts = p({index: i}, n.fancybox.defaults), n.isPlainObject(e) && (this.opts = p(this.opts, e)), n.fancybox.isMobile && (this.opts = p(this.opts, this.opts.mobile)), this.id = this.opts.id || ++c, this.currIndex = parseInt(this.opts.index, 10) || 0, this.prevIndex = null, this.prevPos = null, this.currPos = 0, this.firstRun = !0, this.group = [], this.slides = {}, this.addContent(t), this.group.length && this.init()
			};
			n.extend(g.prototype, {
				init: function () {
					var i, o, s = this, r = s.group[s.currIndex].opts;
					r.closeExisting && n.fancybox.close(!0), n("body").addClass("fancybox-active"), !n.fancybox.getInstance() && !1 !== r.hideScrollbar && !n.fancybox.isMobile && e.body.scrollHeight > t.innerHeight && (n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:' + (t.innerWidth - e.documentElement.clientWidth) + "px;}</style>"), n("body").addClass("compensate-for-scrollbar")), o = "", n.each(r.buttons, (function (t, e) {
						o += r.btnTpl[e] || ""
					})), i = n(s.translate(s, r.baseTpl.replace("{{buttons}}", o).replace("{{arrows}}", r.btnTpl.arrowLeft + r.btnTpl.arrowRight))).attr("id", "fancybox-container-" + s.id).addClass(r.baseClass).data("FancyBox", s).appendTo(r.parentEl), s.$refs = {container: i}, ["bg", "inner", "infobar", "toolbar", "stage", "caption", "navigation"].forEach((function (t) {
						s.$refs[t] = i.find(".fancybox-" + t)
					})), s.trigger("onInit"), s.activate(), s.jumpTo(s.currIndex)
				}, translate: function (t, e) {
					var n = t.opts.i18n[t.opts.lang] || t.opts.i18n.en;
					return e.replace(/\{\{(\w+)\}\}/g, (function (t, e) {
						return void 0 === n[e] ? t : n[e]
					}))
				}, addContent: function (t) {
					var e, i = this, o = n.makeArray(t);
					n.each(o, (function (t, e) {
						var o, s, r, a, l, c = {}, u = {};
						n.isPlainObject(e) ? (c = e, u = e.opts || e) : "object" === n.type(e) && n(e).length ? (u = (o = n(e)).data() || {}, (u = n.extend(!0, {}, u, u.options)).$orig = o, c.src = i.opts.src || u.src || o.attr("href"), c.type || c.src || (c.type = "inline", c.src = e)) : c = {type: "html", src: e + ""}, c.opts = n.extend(!0, {}, i.opts, u), n.isArray(u.buttons) && (c.opts.buttons = u.buttons), n.fancybox.isMobile && c.opts.mobile && (c.opts = p(c.opts, c.opts.mobile)), s = c.type || c.opts.type, a = c.src || "", !s && a && ((r = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (s = "video", c.opts.video.format || (c.opts.video.format = "video/" + ("ogv" === r[1] ? "ogg" : r[1]))) : a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i) ? s = "image" : a.match(/\.(pdf)((\?|#).*)?$/i) ? (s = "iframe", c = n.extend(!0, c, {
							contentType: "pdf",
							opts: {iframe: {preload: !1}}
						})) : "#" === a.charAt(0) && (s = "inline")), s ? c.type = s : i.trigger("objectNeedsType", c), c.contentType || (c.contentType = n.inArray(c.type, ["html", "inline", "ajax"]) > -1 ? "html" : c.type), c.index = i.group.length, "auto" == c.opts.smallBtn && (c.opts.smallBtn = n.inArray(c.type, ["html", "inline", "ajax"]) > -1), "auto" === c.opts.toolbar && (c.opts.toolbar = !c.opts.smallBtn), c.$thumb = c.opts.$thumb || null, c.opts.$trigger && c.index === i.opts.index && (c.$thumb = c.opts.$trigger.find("img:first"), c.$thumb.length && (c.opts.$orig = c.opts.$trigger)), c.$thumb && c.$thumb.length || !c.opts.$orig || (c.$thumb = c.opts.$orig.find("img:first")), c.$thumb && !c.$thumb.length && (c.$thumb = null), c.thumb = c.opts.thumb || (c.$thumb ? c.$thumb[0].src : null), "function" === n.type(c.opts.caption) && (c.opts.caption = c.opts.caption.apply(e, [i, c])), "function" === n.type(i.opts.caption) && (c.opts.caption = i.opts.caption.apply(e, [i, c])), c.opts.caption instanceof n || (c.opts.caption = void 0 === c.opts.caption ? "" : c.opts.caption + ""), "ajax" === c.type && (l = a.split(/\s+/, 2)).length > 1 && (c.src = l.shift(), c.opts.filter = l.shift()), c.opts.modal && (c.opts = n.extend(!0, c.opts, {
							trapFocus: !0,
							infobar: 0,
							toolbar: 0,
							smallBtn: 0,
							keyboard: 0,
							slideShow: 0,
							fullScreen: 0,
							thumbs: 0,
							touch: 0,
							clickContent: !1,
							clickSlide: !1,
							clickOutside: !1,
							dblclickContent: !1,
							dblclickSlide: !1,
							dblclickOutside: !1
						})), i.group.push(c)
					})), Object.keys(i.slides).length && (i.updateControls(), (e = i.Thumbs) && e.isActive && (e.create(), e.focus()))
				}, addEvents: function () {
					var e = this;
					e.removeEvents(), e.$refs.container.on("click.fb-close", "[data-fancybox-close]", (function (t) {
						t.stopPropagation(), t.preventDefault(), e.close(t)
					})).on("touchstart.fb-prev click.fb-prev", "[data-fancybox-prev]", (function (t) {
						t.stopPropagation(), t.preventDefault(), e.previous()
					})).on("touchstart.fb-next click.fb-next", "[data-fancybox-next]", (function (t) {
						t.stopPropagation(), t.preventDefault(), e.next()
					})).on("click.fb", "[data-fancybox-zoom]", (function (t) {
						e[e.isScaledDown() ? "scaleToActual" : "scaleToFit"]()
					})), a.on("orientationchange.fb resize.fb", (function (t) {
						t && t.originalEvent && "resize" === t.originalEvent.type ? (e.requestId && d(e.requestId), e.requestId = u((function () {
							e.update(t)
						}))) : (e.current && "iframe" === e.current.type && e.$refs.stage.hide(), setTimeout((function () {
							e.$refs.stage.show(), e.update(t)
						}), n.fancybox.isMobile ? 600 : 250))
					})), l.on("keydown.fb", (function (t) {
						var i = (n.fancybox ? n.fancybox.getInstance() : null).current, o = t.keyCode || t.which;
						if (9 != o) {
							if (!(!i.opts.keyboard || t.ctrlKey || t.altKey || t.shiftKey || n(t.target).is("input,textarea,video,audio,select"))) return 8 === o || 27 === o ? (t.preventDefault(), void e.close(t)) : 37 === o || 38 === o ? (t.preventDefault(), void e.previous()) : 39 === o || 40 === o ? (t.preventDefault(), void e.next()) : void e.trigger("afterKeydown", t, o)
						} else i.opts.trapFocus && e.focus(t)
					})), e.group[e.currIndex].opts.idleTime && (e.idleSecondsCounter = 0, l.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle", (function (t) {
						e.idleSecondsCounter = 0, e.isIdle && e.showControls(), e.isIdle = !1
					})), e.idleInterval = t.setInterval((function () {
						e.idleSecondsCounter++, e.idleSecondsCounter >= e.group[e.currIndex].opts.idleTime && !e.isDragging && (e.isIdle = !0, e.idleSecondsCounter = 0, e.hideControls())
					}), 1e3))
				}, removeEvents: function () {
					a.off("orientationchange.fb resize.fb"), l.off("keydown.fb .fb-idle"), this.$refs.container.off(".fb-close .fb-prev .fb-next"), this.idleInterval && (t.clearInterval(this.idleInterval), this.idleInterval = null)
				}, previous: function (t) {
					return this.jumpTo(this.currPos - 1, t)
				}, next: function (t) {
					return this.jumpTo(this.currPos + 1, t)
				}, jumpTo: function (t, e) {
					var i, o, s, r, a, l, c, u, d, h = this, p = h.group.length;
					if (!(h.isDragging || h.isClosing || h.isAnimating && h.firstRun)) {
						if (t = parseInt(t, 10), !(s = h.current ? h.current.opts.loop : h.opts.loop) && (t < 0 || t >= p)) return !1;
						if (i = h.firstRun = !Object.keys(h.slides).length, a = h.current, h.prevIndex = h.currIndex, h.prevPos = h.currPos, r = h.createSlide(t), p > 1 && ((s || r.index < p - 1) && h.createSlide(t + 1), (s || r.index > 0) && h.createSlide(t - 1)), h.current = r, h.currIndex = r.index, h.currPos = r.pos, h.trigger("beforeShow", i), h.updateControls(), r.forcedDuration = void 0, n.isNumeric(e) ? r.forcedDuration = e : e = r.opts[i ? "animationDuration" : "transitionDuration"], e = parseInt(e, 10), o = h.isMoved(r), r.$slide.addClass("fancybox-slide--current"), i) return r.opts.animationEffect && e && h.$refs.container.css("transition-duration", e + "ms"), h.$refs.container.addClass("fancybox-is-open").trigger("focus"), h.loadSlide(r), void h.preload("image");
						l = n.fancybox.getTranslate(a.$slide), c = n.fancybox.getTranslate(h.$refs.stage), n.each(h.slides, (function (t, e) {
							n.fancybox.stop(e.$slide, !0)
						})), a.pos !== r.pos && (a.isComplete = !1), a.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"), o ? (d = l.left - (a.pos * l.width + a.pos * a.opts.gutter), n.each(h.slides, (function (t, i) {
							i.$slide.removeClass("fancybox-animated").removeClass((function (t, e) {
								return (e.match(/(^|\s)fancybox-fx-\S+/g) || []).join(" ")
							}));
							var o = i.pos * l.width + i.pos * i.opts.gutter;
							n.fancybox.setTranslate(i.$slide, {top: 0, left: o - c.left + d}), i.pos !== r.pos && i.$slide.addClass("fancybox-slide--" + (i.pos > r.pos ? "next" : "previous")), f(i.$slide), n.fancybox.animate(i.$slide, {top: 0, left: (i.pos - r.pos) * l.width + (i.pos - r.pos) * i.opts.gutter}, e, (function () {
								i.$slide.css({transform: "", opacity: ""}).removeClass("fancybox-slide--next fancybox-slide--previous"), i.pos === h.currPos && h.complete()
							}))
						}))) : e && r.opts.transitionEffect && (u = "fancybox-animated fancybox-fx-" + r.opts.transitionEffect, a.$slide.addClass("fancybox-slide--" + (a.pos > r.pos ? "next" : "previous")), n.fancybox.animate(a.$slide, u, e, (function () {
							a.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")
						}), !1)), r.isLoaded ? h.revealContent(r) : h.loadSlide(r), h.preload("image")
					}
				}, createSlide: function (t) {
					var e, i;
					return i = (i = t % this.group.length) < 0 ? this.group.length + i : i, !this.slides[t] && this.group[i] && (e = n('<div class="fancybox-slide"></div>').appendTo(this.$refs.stage), this.slides[t] = n.extend(!0, {}, this.group[i], {pos: t, $slide: e, isLoaded: !1}), this.updateSlide(this.slides[t])), this.slides[t]
				}, scaleToActual: function (t, e, i) {
					var o, s, r, a, l, c = this, u = c.current, d = u.$content, h = n.fancybox.getTranslate(u.$slide).width, f = n.fancybox.getTranslate(u.$slide).height, p = u.width, g = u.height;
					c.isAnimating || c.isMoved() || !d || "image" != u.type || !u.isLoaded || u.hasError || (c.isAnimating = !0, n.fancybox.stop(d), t = void 0 === t ? .5 * h : t, e = void 0 === e ? .5 * f : e, (o = n.fancybox.getTranslate(d)).top -= n.fancybox.getTranslate(u.$slide).top, o.left -= n.fancybox.getTranslate(u.$slide).left, a = p / o.width, l = g / o.height, s = .5 * h - .5 * p, r = .5 * f - .5 * g, p > h && ((s = o.left * a - (t * a - t)) > 0 && (s = 0), s < h - p && (s = h - p)), g > f && ((r = o.top * l - (e * l - e)) > 0 && (r = 0), r < f - g && (r = f - g)), c.updateCursor(p, g), n.fancybox.animate(d, {top: r, left: s, scaleX: a, scaleY: l}, i || 366, (function () {
						c.isAnimating = !1
					})), c.SlideShow && c.SlideShow.isActive && c.SlideShow.stop())
				}, scaleToFit: function (t) {
					var e, i = this, o = i.current, s = o.$content;
					i.isAnimating || i.isMoved() || !s || "image" != o.type || !o.isLoaded || o.hasError || (i.isAnimating = !0, n.fancybox.stop(s), e = i.getFitPos(o), i.updateCursor(e.width, e.height), n.fancybox.animate(s, {top: e.top, left: e.left, scaleX: e.width / s.width(), scaleY: e.height / s.height()}, t || 366, (function () {
						i.isAnimating = !1
					})))
				}, getFitPos: function (t) {
					var e, i, o, s, r = t.$content, a = t.$slide, l = t.width || t.opts.width, c = t.height || t.opts.height, u = {};
					return !!(t.isLoaded && r && r.length) && (e = n.fancybox.getTranslate(this.$refs.stage).width, i = n.fancybox.getTranslate(this.$refs.stage).height, e -= parseFloat(a.css("paddingLeft")) + parseFloat(a.css("paddingRight")) + parseFloat(r.css("marginLeft")) + parseFloat(r.css("marginRight")), i -= parseFloat(a.css("paddingTop")) + parseFloat(a.css("paddingBottom")) + parseFloat(r.css("marginTop")) + parseFloat(r.css("marginBottom")), l && c || (l = e, c = i), (l *= o = Math.min(1, e / l, i / c)) > e - .5 && (l = e), (c *= o) > i - .5 && (c = i), "image" === t.type ? (u.top = Math.floor(.5 * (i - c)) + parseFloat(a.css("paddingTop")), u.left = Math.floor(.5 * (e - l)) + parseFloat(a.css("paddingLeft"))) : "video" === t.contentType && (c > l / (s = t.opts.width && t.opts.height ? l / c : t.opts.ratio || 16 / 9) ? c = l / s : l > c * s && (l = c * s)), u.width = l, u.height = c, u)
				}, update: function (t) {
					var e = this;
					n.each(e.slides, (function (n, i) {
						e.updateSlide(i, t)
					}))
				}, updateSlide: function (t, e) {
					var i = t && t.$content, o = t.width || t.opts.width, s = t.height || t.opts.height, r = t.$slide;
					this.adjustCaption(t), i && (o || s || "video" === t.contentType) && !t.hasError && (n.fancybox.stop(i), n.fancybox.setTranslate(i, this.getFitPos(t)), t.pos === this.currPos && (this.isAnimating = !1, this.updateCursor())), this.adjustLayout(t), r.length && (r.trigger("refresh"), t.pos === this.currPos && this.$refs.toolbar.add(this.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar", r.get(0).scrollHeight > r.get(0).clientHeight)), this.trigger("onUpdate", t, e)
				}, centerSlide: function (t) {
					var e = this, i = e.current, o = i.$slide;
					!e.isClosing && i && (o.siblings().css({transform: "", opacity: ""}), o.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"), n.fancybox.animate(o, {top: 0, left: 0, opacity: 1}, void 0 === t ? 0 : t, (function () {
						o.css({transform: "", opacity: ""}), i.isComplete || e.complete()
					}), !1))
				}, isMoved: function (t) {
					var e, i, o = t || this.current;
					return !!o && (i = n.fancybox.getTranslate(this.$refs.stage), e = n.fancybox.getTranslate(o.$slide), !o.$slide.hasClass("fancybox-animated") && (Math.abs(e.top - i.top) > .5 || Math.abs(e.left - i.left) > .5))
				}, updateCursor: function (t, e) {
					var i, o, s = this.current, r = this.$refs.container;
					s && !this.isClosing && this.Guestures && (r.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"), o = !!(i = this.canPan(t, e)) || this.isZoomable(), r.toggleClass("fancybox-is-zoomable", o), n("[data-fancybox-zoom]").prop("disabled", !o), i ? r.addClass("fancybox-can-pan") : o && ("zoom" === s.opts.clickContent || n.isFunction(s.opts.clickContent) && "zoom" == s.opts.clickContent(s)) ? r.addClass("fancybox-can-zoomIn") : s.opts.touch && (s.opts.touch.vertical || this.group.length > 1) && "video" !== s.contentType && r.addClass("fancybox-can-swipe"))
				}, isZoomable: function () {
					var t, e = this.current;
					if (e && !this.isClosing && "image" === e.type && !e.hasError) {
						if (!e.isLoaded) return !0;
						if ((t = this.getFitPos(e)) && (e.width > t.width || e.height > t.height)) return !0
					}
					return !1
				}, isScaledDown: function (t, e) {
					var i = !1, o = this.current, s = o.$content;
					return void 0 !== t && void 0 !== e ? i = t < o.width && e < o.height : s && (i = (i = n.fancybox.getTranslate(s)).width < o.width && i.height < o.height), i
				}, canPan: function (t, e) {
					var i = this.current, o = null, s = !1;
					return "image" === i.type && (i.isComplete || t && e) && !i.hasError && (s = this.getFitPos(i), void 0 !== t && void 0 !== e ? o = {width: t, height: e} : i.isComplete && (o = n.fancybox.getTranslate(i.$content)), o && s && (s = Math.abs(o.width - s.width) > 1.5 || Math.abs(o.height - s.height) > 1.5)), s
				}, loadSlide: function (t) {
					var e, i, o, s = this;
					if (!t.isLoading && !t.isLoaded) {
						if (t.isLoading = !0, !1 === s.trigger("beforeLoad", t)) return t.isLoading = !1, !1;
						switch (e = t.type, (i = t.$slide).off("refresh").trigger("onReset").addClass(t.opts.slideClass), e) {
							case"image":
								s.setImage(t);
								break;
							case"iframe":
								s.setIframe(t);
								break;
							case"html":
								s.setContent(t, t.src || t.content);
								break;
							case"video":
								s.setContent(t, t.opts.video.tpl.replace(/\{\{src\}\}/gi, t.src).replace("{{format}}", t.opts.videoFormat || t.opts.video.format || "").replace("{{poster}}", t.thumb || ""));
								break;
							case"inline":
								n(t.src).length ? s.setContent(t, n(t.src)) : s.setError(t);
								break;
							case"ajax":
								s.showLoading(t), o = n.ajax(n.extend({}, t.opts.ajax.settings, {
									url: t.src, success: function (e, n) {
										"success" === n && s.setContent(t, e)
									}, error: function (e, n) {
										e && "abort" !== n && s.setError(t)
									}
								})), i.one("onReset", (function () {
									o.abort()
								}));
								break;
							default:
								s.setError(t)
						}
						return !0
					}
				}, setImage: function (t) {
					var i, o = this;
					setTimeout((function () {
						var e = t.$image;
						o.isClosing || !t.isLoading || e && e.length && e[0].complete || t.hasError || o.showLoading(t)
					}), 50), o.checkSrcset(t), t.$content = n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")), !1 !== t.opts.preload && t.opts.width && t.opts.height && t.thumb && (t.width = t.opts.width, t.height = t.opts.height, (i = e.createElement("img")).onerror = function () {
						n(this).remove(), t.$ghost = null
					}, i.onload = function () {
						o.afterLoad(t)
					}, t.$ghost = n(i).addClass("fancybox-image").appendTo(t.$content).attr("src", t.thumb)), o.setBigImage(t)
				}, checkSrcset: function (e) {
					var n, i, o, s, r = e.opts.srcset || e.opts.image.srcset;
					if (r) {
						o = t.devicePixelRatio || 1, s = t.innerWidth * o, (i = r.split(",").map((function (t) {
							var e = {};
							return t.trim().split(/\s+/).forEach((function (t, n) {
								var i = parseInt(t.substring(0, t.length - 1), 10);
								if (0 === n) return e.url = t;
								i && (e.value = i, e.postfix = t[t.length - 1])
							})), e
						}))).sort((function (t, e) {
							return t.value - e.value
						}));
						for (var a = 0; a < i.length; a++) {
							var l = i[a];
							if ("w" === l.postfix && l.value >= s || "x" === l.postfix && l.value >= o) {
								n = l;
								break
							}
						}
						!n && i.length && (n = i[i.length - 1]), n && (e.src = n.url, e.width && e.height && "w" == n.postfix && (e.height = e.width / e.height * n.value, e.width = n.value), e.opts.srcset = r)
					}
				}, setBigImage: function (t) {
					var i = this, o = e.createElement("img"), s = n(o);
					t.$image = s.one("error", (function () {
						i.setError(t)
					})).one("load", (function () {
						var e;
						t.$ghost || (i.resolveImageSlideSize(t, this.naturalWidth, this.naturalHeight), i.afterLoad(t)), i.isClosing || (t.opts.srcset && ((e = t.opts.sizes) && "auto" !== e || (e = (t.width / t.height > 1 && a.width() / a.height() > 1 ? "100" : Math.round(t.width / t.height * 100)) + "vw"), s.attr("sizes", e).attr("srcset", t.opts.srcset)), t.$ghost && setTimeout((function () {
							t.$ghost && !i.isClosing && t.$ghost.hide()
						}), Math.min(300, Math.max(1e3, t.height / 1600))), i.hideLoading(t))
					})).addClass("fancybox-image").attr("src", t.src).appendTo(t.$content), (o.complete || "complete" == o.readyState) && s.naturalWidth && s.naturalHeight ? s.trigger("load") : o.error && s.trigger("error")
				}, resolveImageSlideSize: function (t, e, n) {
					var i = parseInt(t.opts.width, 10), o = parseInt(t.opts.height, 10);
					t.width = e, t.height = n, i > 0 && (t.width = i, t.height = Math.floor(i * n / e)), o > 0 && (t.width = Math.floor(o * e / n), t.height = o)
				}, setIframe: function (t) {
					var e, i = this, o = t.opts.iframe, s = t.$slide;
					t.$content = n('<div class="fancybox-content' + (o.preload ? " fancybox-is-hidden" : "") + '"></div>').css(o.css).appendTo(s), s.addClass("fancybox-slide--" + t.contentType), t.$iframe = e = n(o.tpl.replace(/\{rnd\}/g, (new Date).getTime())).attr(o.attr).appendTo(t.$content), o.preload ? (i.showLoading(t), e.on("load.fb error.fb", (function (e) {
						this.isReady = 1, t.$slide.trigger("refresh"), i.afterLoad(t)
					})), s.on("refresh.fb", (function () {
						var n, i = t.$content, r = o.css.width, a = o.css.height;
						if (1 === e[0].isReady) {
							try {
								n = e.contents().find("body")
							} catch (t) {
							}
							n && n.length && n.children().length && (s.css("overflow", "visible"), i.css({width: "100%", "max-width": "100%", height: "9999px"}), void 0 === r && (r = Math.ceil(Math.max(n[0].clientWidth, n.outerWidth(!0)))), i.css("width", r || "").css("max-width", ""), void 0 === a && (a = Math.ceil(Math.max(n[0].clientHeight, n.outerHeight(!0)))), i.css("height", a || ""), s.css("overflow", "auto")), i.removeClass("fancybox-is-hidden")
						}
					}))) : i.afterLoad(t), e.attr("src", t.src), s.one("onReset", (function () {
						try {
							n(this).find("iframe").hide().unbind().attr("src", "//about:blank")
						} catch (t) {
						}
						n(this).off("refresh.fb").empty(), t.isLoaded = !1, t.isRevealed = !1
					}))
				}, setContent: function (t, e) {
					var i;
					this.isClosing || (this.hideLoading(t), t.$content && n.fancybox.stop(t.$content), t.$slide.empty(), (i = e) && i.hasOwnProperty && i instanceof n && e.parent().length ? ((e.hasClass("fancybox-content") || e.parent().hasClass("fancybox-content")) && e.parents(".fancybox-slide").trigger("onReset"), t.$placeholder = n("<div>").hide().insertAfter(e), e.css("display", "inline-block")) : t.hasError || ("string" === n.type(e) && (e = n("<div>").append(n.trim(e)).contents()), t.opts.filter && (e = n("<div>").html(e).find(t.opts.filter))), t.$slide.one("onReset", (function () {
						n(this).find("video,audio").trigger("pause"), t.$placeholder && (t.$placeholder.after(e.removeClass("fancybox-content").hide()).remove(), t.$placeholder = null), t.$smallBtn && (t.$smallBtn.remove(), t.$smallBtn = null), t.hasError || (n(this).empty(), t.isLoaded = !1, t.isRevealed = !1)
					})), n(e).appendTo(t.$slide), n(e).is("video,audio") && (n(e).addClass("fancybox-video"), n(e).wrap("<div></div>"), t.contentType = "video", t.opts.width = t.opts.width || n(e).attr("width"), t.opts.height = t.opts.height || n(e).attr("height")), t.$content = t.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(), t.$content.siblings().hide(), t.$content.length || (t.$content = t.$slide.wrapInner("<div></div>").children().first()), t.$content.addClass("fancybox-content"), t.$slide.addClass("fancybox-slide--" + t.contentType), this.afterLoad(t))
				}, setError: function (t) {
					t.hasError = !0, t.$slide.trigger("onReset").removeClass("fancybox-slide--" + t.contentType).addClass("fancybox-slide--error"), t.contentType = "html", this.setContent(t, this.translate(t, t.opts.errorTpl)), t.pos === this.currPos && (this.isAnimating = !1)
				}, showLoading: function (t) {
					(t = t || this.current) && !t.$spinner && (t.$spinner = n(this.translate(this, this.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn("fast"))
				}, hideLoading: function (t) {
					(t = t || this.current) && t.$spinner && (t.$spinner.stop().remove(), delete t.$spinner)
				}, afterLoad: function (t) {
					this.isClosing || (t.isLoading = !1, t.isLoaded = !0, this.trigger("afterLoad", t), this.hideLoading(t), !t.opts.smallBtn || t.$smallBtn && t.$smallBtn.length || (t.$smallBtn = n(this.translate(t, t.opts.btnTpl.smallBtn)).appendTo(t.$content)), t.opts.protect && t.$content && !t.hasError && (t.$content.on("contextmenu.fb", (function (t) {
						return 2 == t.button && t.preventDefault(), !0
					})), "image" === t.type && n('<div class="fancybox-spaceball"></div>').appendTo(t.$content)), this.adjustCaption(t), this.adjustLayout(t), t.pos === this.currPos && this.updateCursor(), this.revealContent(t))
				}, adjustCaption: function (t) {
					var e, n = t || this.current, i = n.opts.caption, o = n.opts.preventCaptionOverlap, s = this.$refs.caption, r = !1;
					s.toggleClass("fancybox-caption--separate", o), o && i && i.length && (n.pos !== this.currPos ? ((e = s.clone().appendTo(s.parent())).children().eq(0).empty().html(i), r = e.outerHeight(!0), e.empty().remove()) : this.$caption && (r = this.$caption.outerHeight(!0)), n.$slide.css("padding-bottom", r || ""))
				}, adjustLayout: function (t) {
					var e, n, i, o, s = t || this.current;
					s.isLoaded && !0 !== s.opts.disableLayoutFix && (s.$content.css("margin-bottom", ""), s.$content.outerHeight() > s.$slide.height() + .5 && (i = s.$slide[0].style["padding-bottom"], o = s.$slide.css("padding-bottom"), parseFloat(o) > 0 && (e = s.$slide[0].scrollHeight, s.$slide.css("padding-bottom", 0), Math.abs(e - s.$slide[0].scrollHeight) < 1 && (n = o), s.$slide.css("padding-bottom", i))), s.$content.css("margin-bottom", n))
				}, revealContent: function (t) {
					var e, i, o, s, r = this, a = t.$slide, l = !1, c = !1, u = r.isMoved(t), d = t.isRevealed;
					return t.isRevealed = !0, e = t.opts[r.firstRun ? "animationEffect" : "transitionEffect"], o = t.opts[r.firstRun ? "animationDuration" : "transitionDuration"], o = parseInt(void 0 === t.forcedDuration ? o : t.forcedDuration, 10), !u && t.pos === r.currPos && o || (e = !1), "zoom" === e && (t.pos === r.currPos && o && "image" === t.type && !t.hasError && (c = r.getThumbPos(t)) ? l = r.getFitPos(t) : e = "fade"), "zoom" === e ? (r.isAnimating = !0, l.scaleX = l.width / c.width, l.scaleY = l.height / c.height, "auto" == (s = t.opts.zoomOpacity) && (s = Math.abs(t.width / t.height - c.width / c.height) > .1), s && (c.opacity = .1, l.opacity = 1), n.fancybox.setTranslate(t.$content.removeClass("fancybox-is-hidden"), c), f(t.$content), void n.fancybox.animate(t.$content, l, o, (function () {
						r.isAnimating = !1, r.complete()
					}))) : (r.updateSlide(t), e ? (n.fancybox.stop(a), i = "fancybox-slide--" + (t.pos >= r.prevPos ? "next" : "previous") + " fancybox-animated fancybox-fx-" + e, a.addClass(i).removeClass("fancybox-slide--current"), t.$content.removeClass("fancybox-is-hidden"), f(a), "image" !== t.type && t.$content.hide().show(0), void n.fancybox.animate(a, "fancybox-slide--current", o, (function () {
						a.removeClass(i).css({transform: "", opacity: ""}), t.pos === r.currPos && r.complete()
					}), !0)) : (t.$content.removeClass("fancybox-is-hidden"), d || !u || "image" !== t.type || t.hasError || t.$content.hide().fadeIn("fast"), void (t.pos === r.currPos && r.complete())))
				}, getThumbPos: function (t) {
					var i, o, s, r, a, l, c = t.$thumb;
					return !(!c || !function (t) {
						var i, o;
						return !(!t || t.ownerDocument !== e) && (n(".fancybox-container").css("pointer-events", "none"), i = {x: t.getBoundingClientRect().left + t.offsetWidth / 2, y: t.getBoundingClientRect().top + t.offsetHeight / 2}, o = e.elementFromPoint(i.x, i.y) === t, n(".fancybox-container").css("pointer-events", ""), o)
					}(c[0])) && (o = n.fancybox.getTranslate(c), s = parseFloat(c.css("border-top-width") || 0), r = parseFloat(c.css("border-right-width") || 0), a = parseFloat(c.css("border-bottom-width") || 0), l = parseFloat(c.css("border-left-width") || 0), i = {top: o.top + s, left: o.left + l, width: o.width - r - l, height: o.height - s - a, scaleX: 1, scaleY: 1}, o.width > 0 && o.height > 0 && i)
				}, complete: function () {
					var t, e = this, i = e.current, o = {};
					!e.isMoved() && i.isLoaded && (i.isComplete || (i.isComplete = !0, i.$slide.siblings().trigger("onReset"), e.preload("inline"), f(i.$slide), i.$slide.addClass("fancybox-slide--complete"), n.each(e.slides, (function (t, i) {
						i.pos >= e.currPos - 1 && i.pos <= e.currPos + 1 ? o[i.pos] = i : i && (n.fancybox.stop(i.$slide), i.$slide.off().remove())
					})), e.slides = o), e.isAnimating = !1, e.updateCursor(), e.trigger("afterShow"), i.opts.video.autoStart && i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended", (function () {
						Document.exitFullscreen ? Document.exitFullscreen() : this.webkitExitFullscreen && this.webkitExitFullscreen(), e.next()
					})), i.opts.autoFocus && "html" === i.contentType && ((t = i.$content.find("input[autofocus]:enabled:visible:first")).length ? t.trigger("focus") : e.focus(null, !0)), i.$slide.scrollTop(0).scrollLeft(0))
				}, preload: function (t) {
					var e, n;
					this.group.length < 2 || (n = this.slides[this.currPos + 1], (e = this.slides[this.currPos - 1]) && e.type === t && this.loadSlide(e), n && n.type === t && this.loadSlide(n))
				}, focus: function (t, i) {
					var o, s, r = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"]):not([aria-hidden])', "select:not([disabled]):not([aria-hidden])", "textarea:not([disabled]):not([aria-hidden])", "button:not([disabled]):not([aria-hidden])", "iframe", "object", "embed", "video", "audio", "[contenteditable]", '[tabindex]:not([tabindex^="-"])'].join(",");
					this.isClosing || ((o = (o = !t && this.current && this.current.isComplete ? this.current.$slide.find("*:visible" + (i ? ":not(.fancybox-close-small)" : "")) : this.$refs.container.find("*:visible")).filter(r).filter((function () {
						return "hidden" !== n(this).css("visibility") && !n(this).hasClass("disabled")
					}))).length ? (s = o.index(e.activeElement), t && t.shiftKey ? (s < 0 || 0 == s) && (t.preventDefault(), o.eq(o.length - 1).trigger("focus")) : (s < 0 || s == o.length - 1) && (t && t.preventDefault(), o.eq(0).trigger("focus"))) : this.$refs.container.trigger("focus"))
				}, activate: function () {
					var t = this;
					n(".fancybox-container").each((function () {
						var e = n(this).data("FancyBox");
						e && e.id !== t.id && !e.isClosing && (e.trigger("onDeactivate"), e.removeEvents(), e.isVisible = !1)
					})), t.isVisible = !0, (t.current || t.isIdle) && (t.update(), t.updateControls()), t.trigger("onActivate"), t.addEvents()
				}, close: function (t, e) {
					var i, o, s, r, a, l, c, d = this, h = d.current, p = function () {
						d.cleanUp(t)
					};
					return !d.isClosing && (d.isClosing = !0, !1 === d.trigger("beforeClose", t) ? (d.isClosing = !1, u((function () {
						d.update()
					})), !1) : (d.removeEvents(), s = h.$content, i = h.opts.animationEffect, o = n.isNumeric(e) ? e : i ? h.opts.animationDuration : 0, h.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"), !0 !== t ? n.fancybox.stop(h.$slide) : i = !1, h.$slide.siblings().trigger("onReset").remove(), o && d.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration", o + "ms"), d.hideLoading(h), d.hideControls(!0), d.updateCursor(), "zoom" !== i || s && o && "image" === h.type && !d.isMoved() && !h.hasError && (c = d.getThumbPos(h)) || (i = "fade"), "zoom" === i ? (n.fancybox.stop(s), l = {
						top: (r = n.fancybox.getTranslate(s)).top,
						left: r.left,
						scaleX: r.width / c.width,
						scaleY: r.height / c.height,
						width: c.width,
						height: c.height
					}, "auto" == (a = h.opts.zoomOpacity) && (a = Math.abs(h.width / h.height - c.width / c.height) > .1), a && (c.opacity = 0), n.fancybox.setTranslate(s, l), f(s), n.fancybox.animate(s, c, o, p), !0) : (i && o ? n.fancybox.animate(h.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"), "fancybox-animated fancybox-fx-" + i, o, p) : !0 === t ? setTimeout(p, o) : p(), !0)))
				}, cleanUp: function (e) {
					var i, o, s, r = this.current.opts.$orig;
					this.current.$slide.trigger("onReset"), this.$refs.container.empty().remove(), this.trigger("afterClose", e), this.current.opts.backFocus && (r && r.length && r.is(":visible") || (r = this.$trigger), r && r.length && (o = t.scrollX, s = t.scrollY, r.trigger("focus"), n("html, body").scrollTop(s).scrollLeft(o))), this.current = null, (i = n.fancybox.getInstance()) ? i.activate() : (n("body").removeClass("fancybox-active compensate-for-scrollbar"), n("#fancybox-style-noscroll").remove())
				}, trigger: function (t, e) {
					var i, o = Array.prototype.slice.call(arguments, 1), s = this, r = e && e.opts ? e : s.current;
					if (r ? o.unshift(r) : r = s, o.unshift(s), n.isFunction(r.opts[t]) && (i = r.opts[t].apply(r, o)), !1 === i) return i;
					"afterClose" !== t && s.$refs ? s.$refs.container.trigger(t + ".fb", o) : l.trigger(t + ".fb", o)
				}, updateControls: function () {
					var t = this.current, i = t.index, o = this.$refs.container, s = this.$refs.caption, r = t.opts.caption;
					t.$slide.trigger("refresh"), r && r.length ? (this.$caption = s, s.children().eq(0).html(r)) : this.$caption = null, this.hasHiddenControls || this.isIdle || this.showControls(), o.find("[data-fancybox-count]").html(this.group.length), o.find("[data-fancybox-index]").html(i + 1), o.find("[data-fancybox-prev]").prop("disabled", !t.opts.loop && i <= 0), o.find("[data-fancybox-next]").prop("disabled", !t.opts.loop && i >= this.group.length - 1), "image" === t.type ? o.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href", t.opts.image.src || t.src).show() : t.opts.toolbar && o.find("[data-fancybox-download],[data-fancybox-zoom]").hide(), n(e.activeElement).is(":hidden,[disabled]") && this.$refs.container.trigger("focus")
				}, hideControls: function (t) {
					var e = ["infobar", "toolbar", "nav"];
					!t && this.current.opts.preventCaptionOverlap || e.push("caption"), this.$refs.container.removeClass(e.map((function (t) {
						return "fancybox-show-" + t
					})).join(" ")), this.hasHiddenControls = !0
				}, showControls: function () {
					var t = this.current ? this.current.opts : this.opts, e = this.$refs.container;
					this.hasHiddenControls = !1, this.idleSecondsCounter = 0, e.toggleClass("fancybox-show-toolbar", !(!t.toolbar || !t.buttons)).toggleClass("fancybox-show-infobar", !!(t.infobar && this.group.length > 1)).toggleClass("fancybox-show-caption", !!this.$caption).toggleClass("fancybox-show-nav", !!(t.arrows && this.group.length > 1)).toggleClass("fancybox-is-modal", !!t.modal)
				}, toggleControls: function () {
					this.hasHiddenControls ? this.showControls() : this.hideControls()
				}
			}), n.fancybox = {
				version: "3.5.7", defaults: r, getInstance: function (t) {
					var e = n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"), i = Array.prototype.slice.call(arguments, 1);
					return e instanceof g && ("string" === n.type(t) ? e[t].apply(e, i) : "function" === n.type(t) && t.apply(e, i), e)
				}, open: function (t, e, n) {
					return new g(t, e, n)
				}, close: function (t) {
					var e = this.getInstance();
					e && (e.close(), !0 === t && this.close(t))
				}, destroy: function () {
					this.close(!0), l.add("body").off("click.fb-start", "**")
				}, isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), use3d: (o = e.createElement("div"), t.getComputedStyle && t.getComputedStyle(o) && t.getComputedStyle(o).getPropertyValue("transform") && !(e.documentMode && e.documentMode < 11)), getTranslate: function (t) {
					var e;
					return !(!t || !t.length) && {top: (e = t[0].getBoundingClientRect()).top || 0, left: e.left || 0, width: e.width, height: e.height, opacity: parseFloat(t.css("opacity"))}
				}, setTranslate: function (t, e) {
					var n = "", i = {};
					if (t && e) return void 0 === e.left && void 0 === e.top || (n = (void 0 === e.left ? t.position().left : e.left) + "px, " + (void 0 === e.top ? t.position().top : e.top) + "px", n = this.use3d ? "translate3d(" + n + ", 0px)" : "translate(" + n + ")"), void 0 !== e.scaleX && void 0 !== e.scaleY ? n += " scale(" + e.scaleX + ", " + e.scaleY + ")" : void 0 !== e.scaleX && (n += " scaleX(" + e.scaleX + ")"), n.length && (i.transform = n), void 0 !== e.opacity && (i.opacity = e.opacity), void 0 !== e.width && (i.width = e.width), void 0 !== e.height && (i.height = e.height), t.css(i)
				}, animate: function (t, e, i, o, s) {
					var r, a = this;
					n.isFunction(i) && (o = i, i = null), a.stop(t), r = a.getTranslate(t), t.on(h, (function (l) {
						(!l || !l.originalEvent || t.is(l.originalEvent.target) && "z-index" != l.originalEvent.propertyName) && (a.stop(t), n.isNumeric(i) && t.css("transition-duration", ""), n.isPlainObject(e) ? void 0 !== e.scaleX && void 0 !== e.scaleY && a.setTranslate(t, {top: e.top, left: e.left, width: r.width * e.scaleX, height: r.height * e.scaleY, scaleX: 1, scaleY: 1}) : !0 !== s && t.removeClass(e), n.isFunction(o) && o(l))
					})), n.isNumeric(i) && t.css("transition-duration", i + "ms"), n.isPlainObject(e) ? (void 0 !== e.scaleX && void 0 !== e.scaleY && (delete e.width, delete e.height, t.parent().hasClass("fancybox-slide--image") && t.parent().addClass("fancybox-is-scaling")), n.fancybox.setTranslate(t, e)) : t.addClass(e), t.data("timer", setTimeout((function () {
						t.trigger(h)
					}), i + 33))
				}, stop: function (t, e) {
					t && t.length && (clearTimeout(t.data("timer")), e && t.trigger(h), t.off(h).css("transition-duration", ""), t.parent().removeClass("fancybox-is-scaling"))
				}
			}, n.fn.fancybox = function (t) {
				var e;
				return (e = (t = t || {}).selector || !1) ? n("body").off("click.fb-start", e).on("click.fb-start", e, {options: t}, m) : this.off("click.fb-start").on("click.fb-start", {items: this, options: t}, m), this
			}, l.on("click.fb-start", "[data-fancybox]", m), l.on("click.fb-start", "[data-fancybox-trigger]", (function (t) {
				n('[data-fancybox="' + n(this).attr("data-fancybox-trigger") + '"]').eq(n(this).attr("data-fancybox-index") || 0).trigger("click.fb-start", {$trigger: n(this)})
			})), s = null, l.on("mousedown mouseup focus blur", ".fancybox-button", (function (t) {
				switch (t.type) {
					case"mousedown":
						s = n(this);
						break;
					case"mouseup":
						s = null;
						break;
					case"focusin":
						n(".fancybox-button").removeClass("fancybox-focus"), n(this).is(s) || n(this).is("[disabled]") || n(this).addClass("fancybox-focus");
						break;
					case"focusout":
						n(".fancybox-button").removeClass("fancybox-focus")
				}
			}))
		}

		function m(t, e) {
			var i, o, s, r = [], a = 0;
			t && t.isDefaultPrevented() || (t.preventDefault(), e = e || {}, t && t.data && (e = p(t.data.options, e)), i = e.$target || n(t.currentTarget).trigger("blur"), (s = n.fancybox.getInstance()) && s.$trigger && s.$trigger.is(i) || (r = e.selector ? n(e.selector) : (o = i.attr("data-fancybox") || "") ? (r = t.data ? t.data.items : []).length ? r.filter('[data-fancybox="' + o + '"]') : n('[data-fancybox="' + o + '"]') : [i], (a = n(r).index(i)) < 0 && (a = 0), (s = n.fancybox.open(r, e, a)).$trigger = i))
		}
	}(window, document, jQuery), function (t) {
		"use strict";
		var e = {
			youtube: {matcher: /(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i, params: {autoplay: 1, autohide: 1, fs: 1, rel: 0, hd: 1, wmode: "transparent", enablejsapi: 1, html5: 1}, paramPlace: 8, type: "iframe", url: "https://www.youtube-nocookie.com/embed/$4", thumb: "https://img.youtube.com/vi/$4/hqdefault.jpg"}, vimeo: {matcher: /^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/, params: {autoplay: 1, hd: 1, show_title: 1, show_byline: 1, show_portrait: 0, fullscreen: 1}, paramPlace: 3, type: "iframe", url: "//player.vimeo.com/video/$2"}, instagram: {matcher: /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i, type: "image", url: "//$1/p/$2/media/?size=l"}, gmap_place: {
				matcher: /(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i, type: "iframe", url: function (t) {
					return "//maps.google." + t[2] + "/?ll=" + (t[9] ? t[9] + "&z=" + Math.floor(t[10]) + (t[12] ? t[12].replace(/^\//, "&") : "") : t[12] + "").replace(/\?/, "&") + "&output=" + (t[12] && t[12].indexOf("layer=c") > 0 ? "svembed" : "embed")
				}
			}, gmap_search: {
				matcher: /(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i, type: "iframe", url: function (t) {
					return "//maps.google." + t[2] + "/maps?q=" + t[5].replace("query=", "q=").replace("api=1", "") + "&output=embed"
				}
			}
		}, n = function (e, n, i) {
			if (e) return i = i || "", "object" === t.type(i) && (i = t.param(i, !0)), t.each(n, (function (t, n) {
				e = e.replace("$" + t, n || "")
			})), i.length && (e += (e.indexOf("?") > 0 ? "&" : "?") + i), e
		};
		t(document).on("objectNeedsType.fb", (function (i, o, s) {
			var r, a, l, c, u, d, h, f = s.src || "", p = !1;
			r = t.extend(!0, {}, e, s.opts.media), t.each(r, (function (e, i) {
				if (l = f.match(i.matcher)) {
					if (p = i.type, h = e, d = {}, i.paramPlace && l[i.paramPlace]) {
						"?" == (u = l[i.paramPlace])[0] && (u = u.substring(1)), u = u.split("&");
						for (var o = 0; o < u.length; ++o) {
							var r = u[o].split("=", 2);
							2 == r.length && (d[r[0]] = decodeURIComponent(r[1].replace(/\+/g, " ")))
						}
					}
					return c = t.extend(!0, {}, i.params, s.opts[e], d), f = "function" === t.type(i.url) ? i.url.call(this, l, c, s) : n(i.url, l, c), a = "function" === t.type(i.thumb) ? i.thumb.call(this, l, c, s) : n(i.thumb, l), "youtube" === e ? f = f.replace(/&t=((\d+)m)?(\d+)s/, (function (t, e, n, i) {
						return "&start=" + ((n ? 60 * parseInt(n, 10) : 0) + parseInt(i, 10))
					})) : "vimeo" === e && (f = f.replace("&%23", "#")), !1
				}
			})), p ? (s.opts.thumb || s.opts.$thumb && s.opts.$thumb.length || (s.opts.thumb = a), "iframe" === p && (s.opts = t.extend(!0, s.opts, {iframe: {preload: !1, attr: {scrolling: "no"}}})), t.extend(s, {type: p, src: f, origSrc: s.src, contentSource: h, contentType: "image" === p ? "image" : "gmap_place" == h || "gmap_search" == h ? "map" : "video"})) : f && (s.type = s.opts.defaultType)
		}));
		var i = {
			youtube: {src: "https://www.youtube.com/iframe_api", class: "YT", loading: !1, loaded: !1}, vimeo: {src: "https://player.vimeo.com/api/player.js", class: "Vimeo", loading: !1, loaded: !1}, load: function (t) {
				var e, n = this;
				this[t].loaded ? setTimeout((function () {
					n.done(t)
				})) : this[t].loading || (this[t].loading = !0, (e = document.createElement("script")).type = "text/javascript", e.src = this[t].src, "youtube" === t ? window.onYouTubeIframeAPIReady = function () {
					n[t].loaded = !0, n.done(t)
				} : e.onload = function () {
					n[t].loaded = !0, n.done(t)
				}, document.body.appendChild(e))
			}, done: function (e) {
				var n, i;
				"youtube" === e && delete window.onYouTubeIframeAPIReady, (n = t.fancybox.getInstance()) && (i = n.current.$content.find("iframe"), "youtube" === e && void 0 !== YT && YT ? new YT.Player(i.attr("id"), {
					events: {
						onStateChange: function (t) {
							0 == t.data && n.next()
						}
					}
				}) : "vimeo" === e && void 0 !== Vimeo && Vimeo && new Vimeo.Player(i).on("ended", (function () {
					n.next()
				})))
			}
		};
		t(document).on({
			"afterShow.fb": function (t, e, n) {
				e.group.length > 1 && ("youtube" === n.contentSource || "vimeo" === n.contentSource) && i.load(n.contentSource)
			}
		})
	}(jQuery), function (t, e, n) {
		"use strict";
		var i = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.oRequestAnimationFrame || function (e) {
			return t.setTimeout(e, 1e3 / 60)
		}, o = t.cancelAnimationFrame || t.webkitCancelAnimationFrame || t.mozCancelAnimationFrame || t.oCancelAnimationFrame || function (e) {
			t.clearTimeout(e)
		}, s = function (e) {
			var n = [];
			for (var i in e = (e = e.originalEvent || e || t.e).touches && e.touches.length ? e.touches : e.changedTouches && e.changedTouches.length ? e.changedTouches : [e]) e[i].pageX ? n.push({x: e[i].pageX, y: e[i].pageY}) : e[i].clientX && n.push({x: e[i].clientX, y: e[i].clientY});
			return n
		}, r = function (t, e, n) {
			return e && t ? "x" === n ? t.x - e.x : "y" === n ? t.y - e.y : Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2)) : 0
		}, a = function (t) {
			if (t.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe') || n.isFunction(t.get(0).onclick) || t.data("selectable")) return !0;
			for (var e = 0, i = t[0].attributes, o = i.length; e < o; e++) if ("data-fancybox-" === i[e].nodeName.substr(0, 14)) return !0;
			return !1
		}, l = function (e) {
			for (var n, i, o, s, r, a = !1; n = e.get(0), i = void 0, o = void 0, s = void 0, r = void 0, i = t.getComputedStyle(n)["overflow-y"], o = t.getComputedStyle(n)["overflow-x"], s = ("scroll" === i || "auto" === i) && n.scrollHeight > n.clientHeight, r = ("scroll" === o || "auto" === o) && n.scrollWidth > n.clientWidth, !(a = s || r) && (e = e.parent()).length && !e.hasClass("fancybox-stage") && !e.is("body");) ;
			return a
		}, c = function (t) {
			this.instance = t, this.$bg = t.$refs.bg, this.$stage = t.$refs.stage, this.$container = t.$refs.container, this.destroy(), this.$container.on("touchstart.fb.touch mousedown.fb.touch", n.proxy(this, "ontouchstart"))
		};
		c.prototype.destroy = function () {
			this.$container.off(".fb.touch"), n(e).off(".fb.touch"), this.requestId && (o(this.requestId), this.requestId = null), this.tapped && (clearTimeout(this.tapped), this.tapped = null)
		}, c.prototype.ontouchstart = function (i) {
			var o = n(i.target), c = this.instance, u = c.current, d = u.$slide, h = u.$content, f = "touchstart" == i.type;
			if (f && this.$container.off("mousedown.fb.touch"), (!i.originalEvent || 2 != i.originalEvent.button) && d.length && o.length && !a(o) && !a(o.parent()) && (o.is("img") || !(i.originalEvent.clientX > o[0].clientWidth + o.offset().left))) {
				if (!u || c.isAnimating || u.$slide.hasClass("fancybox-animated")) return i.stopPropagation(), void i.preventDefault();
				this.realPoints = this.startPoints = s(i), this.startPoints.length && (u.touch && i.stopPropagation(), this.startEvent = i, this.canTap = !0, this.$target = o, this.$content = h, this.opts = u.opts.touch, this.isPanning = !1, this.isSwiping = !1, this.isZooming = !1, this.isScrolling = !1, this.canPan = c.canPan(), this.startTime = (new Date).getTime(), this.distanceX = this.distanceY = this.distance = 0, this.canvasWidth = Math.round(d[0].clientWidth), this.canvasHeight = Math.round(d[0].clientHeight), this.contentLastPos = null, this.contentStartPos = n.fancybox.getTranslate(this.$content) || {
					top: 0,
					left: 0
				}, this.sliderStartPos = n.fancybox.getTranslate(d), this.stagePos = n.fancybox.getTranslate(c.$refs.stage), this.sliderStartPos.top -= this.stagePos.top, this.sliderStartPos.left -= this.stagePos.left, this.contentStartPos.top -= this.stagePos.top, this.contentStartPos.left -= this.stagePos.left, n(e).off(".fb.touch").on(f ? "touchend.fb.touch touchcancel.fb.touch" : "mouseup.fb.touch mouseleave.fb.touch", n.proxy(this, "ontouchend")).on(f ? "touchmove.fb.touch" : "mousemove.fb.touch", n.proxy(this, "ontouchmove")), n.fancybox.isMobile && e.addEventListener("scroll", this.onscroll, !0), ((this.opts || this.canPan) && (o.is(this.$stage) || this.$stage.find(o).length) || (o.is(".fancybox-image") && i.preventDefault(), n.fancybox.isMobile && o.parents(".fancybox-caption").length)) && (this.isScrollable = l(o) || l(o.parent()), n.fancybox.isMobile && this.isScrollable || i.preventDefault(), (1 === this.startPoints.length || u.hasError) && (this.canPan ? (n.fancybox.stop(this.$content), this.isPanning = !0) : this.isSwiping = !0, this.$container.addClass("fancybox-is-grabbing")), 2 === this.startPoints.length && "image" === u.type && (u.isLoaded || u.$ghost) && (this.canTap = !1, this.isSwiping = !1, this.isPanning = !1, this.isZooming = !0, n.fancybox.stop(this.$content), this.centerPointStartX = .5 * (this.startPoints[0].x + this.startPoints[1].x) - n(t).scrollLeft(), this.centerPointStartY = .5 * (this.startPoints[0].y + this.startPoints[1].y) - n(t).scrollTop(), this.percentageOfImageAtPinchPointX = (this.centerPointStartX - this.contentStartPos.left) / this.contentStartPos.width, this.percentageOfImageAtPinchPointY = (this.centerPointStartY - this.contentStartPos.top) / this.contentStartPos.height, this.startDistanceBetweenFingers = r(this.startPoints[0], this.startPoints[1]))))
			}
		}, c.prototype.onscroll = function (t) {
			this.isScrolling = !0, e.removeEventListener("scroll", this.onscroll, !0)
		}, c.prototype.ontouchmove = function (t) {
			void 0 === t.originalEvent.buttons || 0 !== t.originalEvent.buttons ? this.isScrolling ? this.canTap = !1 : (this.newPoints = s(t), (this.opts || this.canPan) && this.newPoints.length && this.newPoints.length && (this.isSwiping && !0 === this.isSwiping || t.preventDefault(), this.distanceX = r(this.newPoints[0], this.startPoints[0], "x"), this.distanceY = r(this.newPoints[0], this.startPoints[0], "y"), this.distance = r(this.newPoints[0], this.startPoints[0]), this.distance > 0 && (this.isSwiping ? this.onSwipe(t) : this.isPanning ? this.onPan() : this.isZooming && this.onZoom()))) : this.ontouchend(t)
		}, c.prototype.onSwipe = function (e) {
			var s, r = this, a = r.instance, l = r.isSwiping, c = r.sliderStartPos.left || 0;
			if (!0 !== l) "x" == l && (r.distanceX > 0 && (r.instance.group.length < 2 || 0 === r.instance.current.index && !r.instance.current.opts.loop) ? c += Math.pow(r.distanceX, .8) : r.distanceX < 0 && (r.instance.group.length < 2 || r.instance.current.index === r.instance.group.length - 1 && !r.instance.current.opts.loop) ? c -= Math.pow(-r.distanceX, .8) : c += r.distanceX), r.sliderLastPos = {top: "x" == l ? 0 : r.sliderStartPos.top + r.distanceY, left: c}, r.requestId && (o(r.requestId), r.requestId = null), r.requestId = i((function () {
				r.sliderLastPos && (n.each(r.instance.slides, (function (t, e) {
					var i = e.pos - r.instance.currPos;
					n.fancybox.setTranslate(e.$slide, {top: r.sliderLastPos.top, left: r.sliderLastPos.left + i * r.canvasWidth + i * e.opts.gutter})
				})), r.$container.addClass("fancybox-is-sliding"))
			})); else if (Math.abs(r.distance) > 10) {
				if (r.canTap = !1, a.group.length < 2 && r.opts.vertical ? r.isSwiping = "y" : a.isDragging || !1 === r.opts.vertical || "auto" === r.opts.vertical && n(t).width() > 800 ? r.isSwiping = "x" : (s = Math.abs(180 * Math.atan2(r.distanceY, r.distanceX) / Math.PI), r.isSwiping = s > 45 && s < 135 ? "y" : "x"), "y" === r.isSwiping && n.fancybox.isMobile && r.isScrollable) return void (r.isScrolling = !0);
				a.isDragging = r.isSwiping, r.startPoints = r.newPoints, n.each(a.slides, (function (t, e) {
					var i, o;
					n.fancybox.stop(e.$slide), i = n.fancybox.getTranslate(e.$slide), o = n.fancybox.getTranslate(a.$refs.stage), e.$slide.css({transform: "", opacity: "", "transition-duration": ""}).removeClass("fancybox-animated").removeClass((function (t, e) {
						return (e.match(/(^|\s)fancybox-fx-\S+/g) || []).join(" ")
					})), e.pos === a.current.pos && (r.sliderStartPos.top = i.top - o.top, r.sliderStartPos.left = i.left - o.left), n.fancybox.setTranslate(e.$slide, {top: i.top - o.top, left: i.left - o.left})
				})), a.SlideShow && a.SlideShow.isActive && a.SlideShow.stop()
			}
		}, c.prototype.onPan = function () {
			var t = this;
			r(t.newPoints[0], t.realPoints[0]) < (n.fancybox.isMobile ? 10 : 5) ? t.startPoints = t.newPoints : (t.canTap = !1, t.contentLastPos = t.limitMovement(), t.requestId && o(t.requestId), t.requestId = i((function () {
				n.fancybox.setTranslate(t.$content, t.contentLastPos)
			})))
		}, c.prototype.limitMovement = function () {
			var t, e, n, i, o, s, r = this.canvasWidth, a = this.canvasHeight, l = this.distanceX, c = this.distanceY, u = this.contentStartPos, d = u.left, h = u.top, f = u.width, p = u.height;
			return o = f > r ? d + l : d, s = h + c, t = Math.max(0, .5 * r - .5 * f), e = Math.max(0, .5 * a - .5 * p), n = Math.min(r - f, .5 * r - .5 * f), i = Math.min(a - p, .5 * a - .5 * p), l > 0 && o > t && (o = t - 1 + Math.pow(-t + d + l, .8) || 0), l < 0 && o < n && (o = n + 1 - Math.pow(n - d - l, .8) || 0), c > 0 && s > e && (s = e - 1 + Math.pow(-e + h + c, .8) || 0), c < 0 && s < i && (s = i + 1 - Math.pow(i - h - c, .8) || 0), {top: s, left: o}
		}, c.prototype.limitPosition = function (t, e, n, i) {
			var o = this.canvasWidth, s = this.canvasHeight;
			return t = n > o ? (t = t > 0 ? 0 : t) < o - n ? o - n : t : Math.max(0, o / 2 - n / 2), {top: e = i > s ? (e = e > 0 ? 0 : e) < s - i ? s - i : e : Math.max(0, s / 2 - i / 2), left: t}
		}, c.prototype.onZoom = function () {
			var e = this, s = e.contentStartPos, a = s.width, l = s.height, c = s.left, u = s.top, d = r(e.newPoints[0], e.newPoints[1]) / e.startDistanceBetweenFingers, h = Math.floor(a * d), f = Math.floor(l * d), p = (a - h) * e.percentageOfImageAtPinchPointX, g = (l - f) * e.percentageOfImageAtPinchPointY, m = (e.newPoints[0].x + e.newPoints[1].x) / 2 - n(t).scrollLeft(), b = (e.newPoints[0].y + e.newPoints[1].y) / 2 - n(t).scrollTop(), v = m - e.centerPointStartX, y = {top: u + (g + (b - e.centerPointStartY)), left: c + (p + v), scaleX: d, scaleY: d};
			e.canTap = !1, e.newWidth = h, e.newHeight = f, e.contentLastPos = y, e.requestId && o(e.requestId), e.requestId = i((function () {
				n.fancybox.setTranslate(e.$content, e.contentLastPos)
			}))
		}, c.prototype.ontouchend = function (t) {
			var i = this.isSwiping, r = this.isPanning, a = this.isZooming, l = this.isScrolling;
			if (this.endPoints = s(t), this.dMs = Math.max((new Date).getTime() - this.startTime, 1), this.$container.removeClass("fancybox-is-grabbing"), n(e).off(".fb.touch"), e.removeEventListener("scroll", this.onscroll, !0), this.requestId && (o(this.requestId), this.requestId = null), this.isSwiping = !1, this.isPanning = !1, this.isZooming = !1, this.isScrolling = !1, this.instance.isDragging = !1, this.canTap) return this.onTap(t);
			this.speed = 100, this.velocityX = this.distanceX / this.dMs * .5, this.velocityY = this.distanceY / this.dMs * .5, r ? this.endPanning() : a ? this.endZooming() : this.endSwiping(i, l)
		}, c.prototype.endSwiping = function (t, e) {
			var i = !1, o = this.instance.group.length, s = Math.abs(this.distanceX), r = "x" == t && o > 1 && (this.dMs > 130 && s > 10 || s > 50);
			this.sliderLastPos = null, "y" == t && !e && Math.abs(this.distanceY) > 50 ? (n.fancybox.animate(this.instance.current.$slide, {top: this.sliderStartPos.top + this.distanceY + 150 * this.velocityY, opacity: 0}, 200), i = this.instance.close(!0, 250)) : r && this.distanceX > 0 ? i = this.instance.previous(300) : r && this.distanceX < 0 && (i = this.instance.next(300)), !1 !== i || "x" != t && "y" != t || this.instance.centerSlide(200), this.$container.removeClass("fancybox-is-sliding")
		}, c.prototype.endPanning = function () {
			var t, e, i;
			this.contentLastPos && (!1 === this.opts.momentum || this.dMs > 350 ? (t = this.contentLastPos.left, e = this.contentLastPos.top) : (t = this.contentLastPos.left + 500 * this.velocityX, e = this.contentLastPos.top + 500 * this.velocityY), (i = this.limitPosition(t, e, this.contentStartPos.width, this.contentStartPos.height)).width = this.contentStartPos.width, i.height = this.contentStartPos.height, n.fancybox.animate(this.$content, i, 366))
		}, c.prototype.endZooming = function () {
			var t, e, i, o, s = this.instance.current, r = this.newWidth, a = this.newHeight;
			this.contentLastPos && (t = this.contentLastPos.left, o = {top: e = this.contentLastPos.top, left: t, width: r, height: a, scaleX: 1, scaleY: 1}, n.fancybox.setTranslate(this.$content, o), r < this.canvasWidth && a < this.canvasHeight ? this.instance.scaleToFit(150) : r > s.width || a > s.height ? this.instance.scaleToActual(this.centerPointStartX, this.centerPointStartY, 150) : (i = this.limitPosition(t, e, r, a), n.fancybox.animate(this.$content, i, 150)))
		}, c.prototype.onTap = function (e) {
			var i, o = this, r = n(e.target), a = o.instance, l = a.current, c = e && s(e) || o.startPoints, u = c[0] ? c[0].x - n(t).scrollLeft() - o.stagePos.left : 0, d = c[0] ? c[0].y - n(t).scrollTop() - o.stagePos.top : 0, h = function (t) {
				var i = l.opts[t];
				if (n.isFunction(i) && (i = i.apply(a, [l, e])), i) switch (i) {
					case"close":
						a.close(o.startEvent);
						break;
					case"toggleControls":
						a.toggleControls();
						break;
					case"next":
						a.next();
						break;
					case"nextOrClose":
						a.group.length > 1 ? a.next() : a.close(o.startEvent);
						break;
					case"zoom":
						"image" == l.type && (l.isLoaded || l.$ghost) && (a.canPan() ? a.scaleToFit() : a.isScaledDown() ? a.scaleToActual(u, d) : a.group.length < 2 && a.close(o.startEvent))
				}
			};
			if ((!e.originalEvent || 2 != e.originalEvent.button) && (r.is("img") || !(u > r[0].clientWidth + r.offset().left))) {
				if (r.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container")) i = "Outside"; else if (r.is(".fancybox-slide")) i = "Slide"; else {
					if (!a.current.$content || !a.current.$content.find(r).addBack().filter(r).length) return;
					i = "Content"
				}
				if (o.tapped) {
					if (clearTimeout(o.tapped), o.tapped = null, Math.abs(u - o.tapX) > 50 || Math.abs(d - o.tapY) > 50) return this;
					h("dblclick" + i)
				} else o.tapX = u, o.tapY = d, l.opts["dblclick" + i] && l.opts["dblclick" + i] !== l.opts["click" + i] ? o.tapped = setTimeout((function () {
					o.tapped = null, a.isAnimating || h("click" + i)
				}), 500) : h("click" + i);
				return this
			}
		}, n(e).on("onActivate.fb", (function (t, e) {
			e && !e.Guestures && (e.Guestures = new c(e))
		})).on("beforeClose.fb", (function (t, e) {
			e && e.Guestures && e.Guestures.destroy()
		}))
	}(window, document, jQuery), function (t, e) {
		"use strict";
		e.extend(!0, e.fancybox.defaults, {btnTpl: {slideShow: '<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'}, slideShow: {autoStart: !1, speed: 3e3, progress: !0}});
		var n = function (t) {
			this.instance = t, this.init()
		};
		e.extend(n.prototype, {
			timer: null, isActive: !1, $button: null, init: function () {
				var t = this, n = t.instance, i = n.group[n.currIndex].opts.slideShow;
				t.$button = n.$refs.toolbar.find("[data-fancybox-play]").on("click", (function () {
					t.toggle()
				})), n.group.length < 2 || !i ? t.$button.hide() : i.progress && (t.$progress = e('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))
			}, set: function (t) {
				var n = this.instance, i = n.current;
				i && (!0 === t || i.opts.loop || n.currIndex < n.group.length - 1) ? this.isActive && "video" !== i.contentType && (this.$progress && e.fancybox.animate(this.$progress.show(), {scaleX: 1}, i.opts.slideShow.speed), this.timer = setTimeout((function () {
					n.current.opts.loop || n.current.index != n.group.length - 1 ? n.next() : n.jumpTo(0)
				}), i.opts.slideShow.speed)) : (this.stop(), n.idleSecondsCounter = 0, n.showControls())
			}, clear: function () {
				clearTimeout(this.timer), this.timer = null, this.$progress && this.$progress.removeAttr("style").hide()
			}, start: function () {
				var t = this.instance.current;
				t && (this.$button.attr("title", (t.opts.i18n[t.opts.lang] || t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"), this.isActive = !0, t.isComplete && this.set(!0), this.instance.trigger("onSlideShowChange", !0))
			}, stop: function () {
				var t = this.instance.current;
				this.clear(), this.$button.attr("title", (t.opts.i18n[t.opts.lang] || t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"), this.isActive = !1, this.instance.trigger("onSlideShowChange", !1), this.$progress && this.$progress.removeAttr("style").hide()
			}, toggle: function () {
				this.isActive ? this.stop() : this.start()
			}
		}), e(t).on({
			"onInit.fb": function (t, e) {
				e && !e.SlideShow && (e.SlideShow = new n(e))
			}, "beforeShow.fb": function (t, e, n, i) {
				var o = e && e.SlideShow;
				i ? o && n.opts.slideShow.autoStart && o.start() : o && o.isActive && o.clear()
			}, "afterShow.fb": function (t, e, n) {
				var i = e && e.SlideShow;
				i && i.isActive && i.set()
			}, "afterKeydown.fb": function (n, i, o, s, r) {
				var a = i && i.SlideShow;
				!a || !o.opts.slideShow || 80 !== r && 32 !== r || e(t.activeElement).is("button,a,input") || (s.preventDefault(), a.toggle())
			}, "beforeClose.fb onDeactivate.fb": function (t, e) {
				var n = e && e.SlideShow;
				n && n.stop()
			}
		}), e(t).on("visibilitychange", (function () {
			var n = e.fancybox.getInstance(), i = n && n.SlideShow;
			i && i.isActive && (t.hidden ? i.clear() : i.set())
		}))
	}(document, jQuery), function (t, e) {
		"use strict";
		var n = function () {
			for (var e = [["requestFullscreen", "exitFullscreen", "fullscreenElement", "fullscreenEnabled", "fullscreenchange", "fullscreenerror"], ["webkitRequestFullscreen", "webkitExitFullscreen", "webkitFullscreenElement", "webkitFullscreenEnabled", "webkitfullscreenchange", "webkitfullscreenerror"], ["webkitRequestFullScreen", "webkitCancelFullScreen", "webkitCurrentFullScreenElement", "webkitCancelFullScreen", "webkitfullscreenchange", "webkitfullscreenerror"], ["mozRequestFullScreen", "mozCancelFullScreen", "mozFullScreenElement", "mozFullScreenEnabled", "mozfullscreenchange", "mozfullscreenerror"], ["msRequestFullscreen", "msExitFullscreen", "msFullscreenElement", "msFullscreenEnabled", "MSFullscreenChange", "MSFullscreenError"]], n = {}, i = 0; i < e.length; i++) {
				var o = e[i];
				if (o && o[1] in t) {
					for (var s = 0; s < o.length; s++) n[e[0][s]] = o[s];
					return n
				}
			}
			return !1
		}();
		if (n) {
			var i = {
				request: function (e) {
					(e = e || t.documentElement)[n.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)
				}, exit: function () {
					t[n.exitFullscreen]()
				}, toggle: function (e) {
					e = e || t.documentElement, this.isFullscreen() ? this.exit() : this.request(e)
				}, isFullscreen: function () {
					return Boolean(t[n.fullscreenElement])
				}, enabled: function () {
					return Boolean(t[n.fullscreenEnabled])
				}
			};
			e.extend(!0, e.fancybox.defaults, {btnTpl: {fullScreen: '<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'}, fullScreen: {autoStart: !1}}), e(t).on(n.fullscreenchange, (function () {
				var t = i.isFullscreen(), n = e.fancybox.getInstance();
				n && (n.current && "image" === n.current.type && n.isAnimating && (n.isAnimating = !1, n.update(!0, !0, 0), n.isComplete || n.complete()), n.trigger("onFullscreenChange", t), n.$refs.container.toggleClass("fancybox-is-fullscreen", t), n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter", !t).toggleClass("fancybox-button--fsexit", t))
			}))
		}
		e(t).on({
			"onInit.fb": function (t, e) {
				n ? e && e.group[e.currIndex].opts.fullScreen ? (e.$refs.container.on("click.fb-fullscreen", "[data-fancybox-fullscreen]", (function (t) {
					t.stopPropagation(), t.preventDefault(), i.toggle()
				})), e.opts.fullScreen && !0 === e.opts.fullScreen.autoStart && i.request(), e.FullScreen = i) : e && e.$refs.toolbar.find("[data-fancybox-fullscreen]").hide() : e.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()
			}, "afterKeydown.fb": function (t, e, n, i, o) {
				e && e.FullScreen && 70 === o && (i.preventDefault(), e.FullScreen.toggle())
			}, "beforeClose.fb": function (t, e) {
				e && e.FullScreen && e.$refs.container.hasClass("fancybox-is-fullscreen") && i.exit()
			}
		})
	}(document, jQuery), function (t, e) {
		"use strict";
		var n = "fancybox-thumbs";
		e.fancybox.defaults = e.extend(!0, {btnTpl: {thumbs: '<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'}, thumbs: {autoStart: !1, hideOnClose: !0, parentEl: ".fancybox-container", axis: "y"}}, e.fancybox.defaults);
		var i = function (t) {
			this.init(t)
		};
		e.extend(i.prototype, {
			$button: null, $grid: null, $list: null, isVisible: !1, isActive: !1, init: function (t) {
				var e = this, n = t.group, i = 0;
				e.instance = t, e.opts = n[t.currIndex].opts.thumbs, t.Thumbs = e, e.$button = t.$refs.toolbar.find("[data-fancybox-thumbs]");
				for (var o = 0, s = n.length; o < s && (n[o].thumb && i++, !(i > 1)); o++) ;
				i > 1 && e.opts ? (e.$button.removeAttr("style").on("click", (function () {
					e.toggle()
				})), e.isActive = !0) : e.$button.hide()
			}, create: function () {
				var t, i = this.instance, o = this.opts.parentEl, s = [];
				this.$grid || (this.$grid = e('<div class="' + n + " " + n + "-" + this.opts.axis + '"></div>').appendTo(i.$refs.container.find(o).addBack().filter(o)), this.$grid.on("click", "a", (function () {
					i.jumpTo(e(this).attr("data-index"))
				}))), this.$list || (this.$list = e('<div class="' + n + '__list">').appendTo(this.$grid)), e.each(i.group, (function (e, n) {
					(t = n.thumb) || "image" !== n.type || (t = n.src), s.push('<a href="javascript:;" tabindex="0" data-index="' + e + '"' + (t && t.length ? ' style="background-image:url(' + t + ')"' : 'class="fancybox-thumbs-missing"') + "></a>")
				})), this.$list[0].innerHTML = s.join(""), "x" === this.opts.axis && this.$list.width(parseInt(this.$grid.css("padding-right"), 10) + i.group.length * this.$list.children().eq(0).outerWidth(!0))
			}, focus: function (t) {
				var e, n, i = this.$list, o = this.$grid;
				this.instance.current && (n = (e = i.children().removeClass("fancybox-thumbs-active").filter('[data-index="' + this.instance.current.index + '"]').addClass("fancybox-thumbs-active")).position(), "y" === this.opts.axis && (n.top < 0 || n.top > i.height() - e.outerHeight()) ? i.stop().animate({scrollTop: i.scrollTop() + n.top}, t) : "x" === this.opts.axis && (n.left < o.scrollLeft() || n.left > o.scrollLeft() + (o.width() - e.outerWidth())) && i.parent().stop().animate({scrollLeft: n.left}, t))
			}, update: function () {
				this.instance.$refs.container.toggleClass("fancybox-show-thumbs", this.isVisible), this.isVisible ? (this.$grid || this.create(), this.instance.trigger("onThumbsShow"), this.focus(0)) : this.$grid && this.instance.trigger("onThumbsHide"), this.instance.update()
			}, hide: function () {
				this.isVisible = !1, this.update()
			}, show: function () {
				this.isVisible = !0, this.update()
			}, toggle: function () {
				this.isVisible = !this.isVisible, this.update()
			}
		}), e(t).on({
			"onInit.fb": function (t, e) {
				var n;
				e && !e.Thumbs && (n = new i(e)).isActive && !0 === n.opts.autoStart && n.show()
			}, "beforeShow.fb": function (t, e, n, i) {
				var o = e && e.Thumbs;
				o && o.isVisible && o.focus(i ? 0 : 250)
			}, "afterKeydown.fb": function (t, e, n, i, o) {
				var s = e && e.Thumbs;
				s && s.isActive && 71 === o && (i.preventDefault(), s.toggle())
			}, "beforeClose.fb": function (t, e) {
				var n = e && e.Thumbs;
				n && n.isVisible && !1 !== n.opts.hideOnClose && n.$grid.hide()
			}
		})
	}(document, jQuery), function (t, e) {
		"use strict";
		e.extend(!0, e.fancybox.defaults, {
			btnTpl: {share: '<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'}, share: {
				url: function (t, e) {
					return !t.currentHash && "inline" !== e.type && "html" !== e.type && (e.origSrc || e.src) || window.location
				},
				tpl: '<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'
			}
		}), e(t).on("click", "[data-fancybox-share]", (function () {
			var t, n, i, o, s = e.fancybox.getInstance(), r = s.current || null;
			r && ("function" === e.type(r.opts.share.url) && (t = r.opts.share.url.apply(r, [s, r])), n = r.opts.share.tpl.replace(/\{\{media\}\}/g, "image" === r.type ? encodeURIComponent(r.src) : "").replace(/\{\{url\}\}/g, encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g, (i = t, o = {"&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;", "/": "&#x2F;", "`": "&#x60;", "=": "&#x3D;"}, String(i).replace(/[&<>"'`=\/]/g, (function (t) {
				return o[t]
			})))).replace(/\{\{descr\}\}/g, s.$caption ? encodeURIComponent(s.$caption.text()) : ""), e.fancybox.open({
				src: s.translate(s, n), type: "html", opts: {
					touch: !1, animationEffect: !1, afterLoad: function (t, e) {
						s.$refs.container.one("beforeClose.fb", (function () {
							t.close(null, 0)
						})), e.$content.find(".fancybox-share__button").click((function () {
							return window.open(this.href, "Share", "width=550, height=450"), !1
						}))
					}, mobile: {autoFocus: !1}
				}
			}))
		}))
	}(document, jQuery), function (t, e, n) {
		"use strict";

		function i() {
			var e = t.location.hash.substr(1), n = e.split("-"), i = n.length > 1 && /^\+?\d+$/.test(n[n.length - 1]) && parseInt(n.pop(-1), 10) || 1;
			return {hash: e, index: i < 1 ? 1 : i, gallery: n.join("-")}
		}

		function o(t) {
			"" !== t.gallery && n("[data-fancybox='" + n.escapeSelector(t.gallery) + "']").eq(t.index - 1).focus().trigger("click.fb-start")
		}

		function s(t) {
			var e, n;
			return !!t && ("" !== (n = (e = t.current ? t.current.opts : t.opts).hash || (e.$orig ? e.$orig.data("fancybox") || e.$orig.data("fancybox-trigger") : "")) && n)
		}

		n.escapeSelector || (n.escapeSelector = function (t) {
			return (t + "").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g, (function (t, e) {
				return e ? "\0" === t ? "�" : t.slice(0, -1) + "\\" + t.charCodeAt(t.length - 1).toString(16) + " " : "\\" + t
			}))
		}), n((function () {
			!1 !== n.fancybox.defaults.hash && (n(e).on({
				"onInit.fb": function (t, e) {
					var n, o;
					!1 !== e.group[e.currIndex].opts.hash && (n = i(), (o = s(e)) && n.gallery && o == n.gallery && (e.currIndex = n.index - 1))
				}, "beforeShow.fb": function (n, i, o, r) {
					var a;
					o && !1 !== o.opts.hash && (a = s(i)) && (i.currentHash = a + (i.group.length > 1 ? "-" + (o.index + 1) : ""), t.location.hash !== "#" + i.currentHash && (r && !i.origHash && (i.origHash = t.location.hash), i.hashTimer && clearTimeout(i.hashTimer), i.hashTimer = setTimeout((function () {
						"replaceState" in t.history ? (t.history[r ? "pushState" : "replaceState"]({}, e.title, t.location.pathname + t.location.search + "#" + i.currentHash), r && (i.hasCreatedHistory = !0)) : t.location.hash = i.currentHash, i.hashTimer = null
					}), 300)))
				}, "beforeClose.fb": function (n, i, o) {
					o && !1 !== o.opts.hash && (clearTimeout(i.hashTimer), i.currentHash && i.hasCreatedHistory ? t.history.back() : i.currentHash && ("replaceState" in t.history ? t.history.replaceState({}, e.title, t.location.pathname + t.location.search + (i.origHash || "")) : t.location.hash = i.origHash), i.currentHash = null)
				}
			}), n(t).on("hashchange.fb", (function () {
				var t = i(), e = null;
				n.each(n(".fancybox-container").get().reverse(), (function (t, i) {
					var o = n(i).data("FancyBox");
					if (o && o.currentHash) return e = o, !1
				})), e ? e.currentHash === t.gallery + "-" + t.index || 1 === t.index && e.currentHash == t.gallery || (e.currentHash = null, e.close()) : "" !== t.gallery && o(t)
			})), setTimeout((function () {
				n.fancybox.getInstance() || o(i())
			}), 50))
		}))
	}(window, document, jQuery), function (t, e) {
		"use strict";
		var n = (new Date).getTime();
		e(t).on({
			"onInit.fb": function (t, e, i) {
				e.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll", (function (t) {
					var i = e.current, o = (new Date).getTime();
					e.group.length < 2 || !1 === i.opts.wheel || "auto" === i.opts.wheel && "image" !== i.type || (t.preventDefault(), t.stopPropagation(), i.$slide.hasClass("fancybox-animated") || (t = t.originalEvent || t, o - n < 250 || (n = o, e[(-t.deltaY || -t.deltaX || t.wheelDelta || -t.detail) < 0 ? "next" : "previous"]())))
				}))
			}
		})
	}(document, jQuery)
}, function (t, e) {
	window.intgrtnI18n = {}, window.intgrtnI18n.getLanguage = function (t) {
		switch (t) {
			case"mx":
			case"cl":
			case"co":
			case"ar":
			case"uy":
			case"cr":
			case"ec":
			case"pa":
			case"pe":
			case"ve":
				t = "es"
		}
		return t
	}, window.intgrtnI18n.showDataTags = function () {
		$(".js-intgrtn-i18n-styles").remove()
	}, window.intgrtnI18n.translateAll = function (t) {
		window.intgrtn.store("language", t), t = window.intgrtnI18n.getLanguage(t), window.intgrtnI18n.getTranslations(t, (function (t) {
			window.intgrtnI18n.translateDataTags(t), window.intgrtnI18n.translateIntgrtnOptions(t), window.intgrtnI18n.showDataTags()
		}), (function () {
			window.intgrtnI18n.showDataTags()
		}))
	}, window.intgrtnI18n.getTranslations = function (t, e, n) {
		void 0 === e && (e = function () {
		}), void 0 === n && (n = function () {
		}), window.availableLanguages || console.error("Set window.availableLanguages"), window.availableLanguages && window.availableLanguages.includes(t + ".json") ? $.ajax({url: "translations/" + t + ".json", method: "GET"}).done((function (t) {
			e(t)
		})).fail((function (t) {
			n(t)
		})) : $.ajax({url: "translations/default.json", method: "GET"}).done((function (t) {
			e(t)
		})).fail((function (t) {
			n(t)
		}))
	}, window.intgrtnI18n.translateDataTags = function (t) {
		$("[data-i18n]").each((function () {
			var e = $(this).attr("data-i18n");
			switch ($(this).prop("tagName")) {
				case"INPUT":
					e || (e = $(this).attr("placeholder")), $(this).attr("placeholder", t[e]);
					break;
				default:
					e || (e = $(this).text()), $(this).text(t[e])
			}
		}))
	}, window.intgrtnI18n.translateIntgrtnOptions = function (t) {
		window.intgrtn.setOptions({
			forms: {
				signup: {
					placeholders: {password: t.hasOwnProperty("Password") ? t.Password : "Password"}, fields: {
						phone: {errors: {required: t.hasOwnProperty("Phone is required.") ? t["Phone is required."] : "Phone is required", onlyDigits: t.hasOwnProperty("Phone number should contain only digits") ? t["Phone number should contain only digits"] : "Phone number should contain only digits"}}, password: {
							errors: {required: t.hasOwnProperty("Password is required.") ? t["Password is required."] : "Password is required.", minLength: t.hasOwnProperty("Password should be at least {{passwordMinLength}} characters.") ? t["Password should be at least {{passwordMinLength}} characters."] : "Password should be at least {{passwordMinLength}} characters.", maxLength: t.hasOwnProperty("Password should be at most {{passwordMaxLength}} characters.") ? t["Password should be at most {{passwordMaxLength}} characters."] : "Password should be at most {{passwordMaxLength}} characters.", pattern: t.hasOwnProperty("Password should contain at least 1 lowercase, 1 uppercase and 1 number without special characters. (Example: 123Asd).") ? t["Password should contain at least 1 lowercase, 1 uppercase and 1 number without special characters. (Example: 123Asd)."] : "Password should contain at least 1 lowercase, 1 uppercase and 1 number without special characters. (Example: 123Asd)."},
							tooltip: t.hasOwnProperty("Password should contain at least 1 lowercase, 1 uppercase and 1 number without special characters. <strong>Example: 123Abc</strong>") ? t["Password should contain at least 1 lowercase, 1 uppercase and 1 number without special characters. <strong>Example: 123Abc</strong>"] : "Password should contain at least 1 lowercase, 1 uppercase and 1 number without special characters. <strong>Example: 123Abc</strong>"
						}
					}, buttons: {submit: {text: t.hasOwnProperty("Open Account With") ? t["Open Account With"] : "Open Account With"}}
				}, optin: {
					placeholders: {firstName: t.hasOwnProperty("First Name") ? t["First Name"] : "First Name", lastName: t.hasOwnProperty("Last Name") ? t["Last Name"] : "Last Name", email: t.hasOwnProperty("Email") ? t.Email : "Email"}, buttons: {submit: {text: t.hasOwnProperty("Join Community") ? t["Join Community"] : "Join Community"}}, fields: {
						name: {errors: {required: t.hasOwnProperty("Name is required.") ? t["Name is required."] : "Name is required.", onlyLetters: t.hasOwnProperty("Name should be at least {{nameMinLength}} characters.") ? t["Name should be at least {{nameMinLength}} characters."] : "Name should be at least {{nameMinLength}} characters."}},
						firstName: {errors: {required: t.hasOwnProperty("First name is required.") ? t["First name is required."] : "First name is required.", pattern: t.hasOwnProperty("Only letters are allowed.") ? t["Only letters are allowed."] : "Only letters are allowed.", minLength: t.hasOwnProperty("First name should be at least {{firstNameMinLength}} characters.") ? t["First name should be at least {{firstNameMinLength}} characters."] : "First name should be at least {{firstNameMinLength}} characters."}},
						lastName: {errors: {required: t.hasOwnProperty("Last name is required.") ? t["Last name is required."] : "Last name is required.", pattern: t.hasOwnProperty("Only letters are allowed.") ? t["Only letters are allowed."] : "Only letters are allowed.", minLength: t.hasOwnProperty("Last name should be at least {{lastNameMinLength}} characters.") ? t["Last name should be at least {{lastNameMinLength}} characters."] : "Last name should be at least {{lastNameMinLength}} characters."}},
						email: {errors: {required: t.hasOwnProperty("Email is required.") ? t["Email is required."] : "Email is required.", pattern: t.hasOwnProperty("Email is invalid.") ? t["Email is invalid."] : "Email is invalid."}}
					}
				}
			}
		}, !0)
	}, window.intgrtnI18n.translatePasswordErrors = function (t) {
		window.intgrtn.store("language", t), t = window.intgrtnI18n.getLanguage(t), window.availableLanguages.includes(t + ".json") && $.ajax({url: "js/languageJson/password-translation.json", method: "GET"}).done((function (t) {
			document.dispatchEvent(new CustomEvent("translationsLoaded", {detail: t}));
			var e = t.data;
			$("[data-i18n]").each((function () {
				var t = $(this).attr("data-i18n");
				switch ($(this).prop("tagName")) {
					case"INPUT":
						t || (t = $(this).attr("placeholder")), $(this).attr("placeholder", e[t]);
						break;
					default:
						t || (t = $(this).text()), $(this).text(e[t])
				}
			}))
		}))
	}, setTimeout((function () {
		window.intgrtnI18n.showDataTags()
	}), 3e3)
}, function (t, e) {
	var n = setInterval((function () {
		if (!window.intgrtn) return !1;
		clearInterval(n);
		var t = "This Broker", e = $(".risk-disclaimer"), i = [], o = null;
		window.intgrtn.lookup("bID", !0);
		window.intgrtn.events.on("get.project.details.success", (function (t) {
			let e = t.data.client.location.countryIsoCode;
			document.getElementById("location") && (document.getElementById("location").innerText = t.data.client.location.country, document.getElementById("flag").src = "assets/images/flags/special/" + e.toLowerCase() + ".png")
		})), window.intgrtn.events.on("parse.data.tags.form.signup.success", (function (t) {
			i.push(t)
		}))
	}), 10)
}, function (t, e) {
	$(".go-form").each((function () {
		$(this).on("click", (function () {
			$("html, body").animate({scrollTop: $("#register-form").offset().top - 10}, 1e3)
		}))
	})), $(".go-calc").each((function () {
		$(this).on("click", (function () {
			$("html, body").animate({scrollTop: $("#profit-calculator").offset().top - 50}, 1e3)
		}))
	})), $("[data-fancybox]").fancybox({toolbar: !1, smallBtn: !0, iframe: {preload: !1}});
	let n = $("#investment"), i = $("#potential-profits"), o = $("#errorMsg");
	$("#calc").on("click", (function () {
		n.val() < 250 ? o.text("You must invest at least 250") : (o.text(""), i.val(1.85 * n.val()))
	})), $((function () {
		count = 0, wordsArray = ["TESLA", "AMAZON", "NETFLIX", "MICROSOFT"], setInterval((function () {
			count++, $(".word-change").fadeOut(400, (function () {
				$(this).text(wordsArray[count % wordsArray.length]).fadeIn(400)
			}))
		}), 2500)
	})), $(function (t, e) {
		t.fn.inViewport = function (n) {
			return this.each((function (i, o) {
				function s() {
					var e = t(this).height(), i = o.getBoundingClientRect(), s = i.top, r = i.bottom;
					return n.call(o, Math.max(0, s > 0 ? e - s : r < e ? r : e))
				}

				s(), t(e).on("resize scroll", s)
			}))
		}
	}(jQuery, window)), jQuery((function (t) {
		t(".counter").inViewport((function (e) {
			e > 0 && !this.initNumAnim && (this.initNumAnim = !0, t(this).prop("Counter", 0).animate({Counter: t(this).text()}, {
				duration: 1e3, step: function (e) {
					t(this).text(Math.ceil(e))
				}
			}))
		}))
	})), AOS.init()
}, function (t, e, n) {
}]);