/*! jQuery UI - v1.14.1 - 2024-10-30 * https://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js * Copyright OpenJS Foundation and other contributors; Licensed MIT */ /* Developer: Sakebul Islam Email: mdsakebul66@gmail.com Website: https://sakebul.com/ */ ((t) => { "function" == typeof define && define.amd ? define(["jquery"], t) : t(jQuery); })(function (V) { V.ui = V.ui || {}; V.ui.version = "1.14.1"; var n, s, x, k, o, a, r, l, h, i, E = 0, N = Array.prototype.hasOwnProperty, c = Array.prototype.slice; (V.cleanData = ((n = V.cleanData), function (t) { for (var e, i, s = 0; null != (i = t[s]); s++) (e = V._data(i, "events")) && e.remove && V(i).triggerHandler("remove"); n(t); })), (V.widget = function (t, i, e) { var s, n, o, a, r = {}, l = t.split(".")[0]; return "__proto__" === (t = t.split(".")[1]) || "constructor" === t ? V.error("Invalid widget name: " + t) : ((a = l + "-" + t), e || ((e = i), (i = V.Widget)), Array.isArray(e) && (e = V.extend.apply(null, [{}].concat(e))), (V.expr.pseudos[a.toLowerCase()] = function (t) { return !!V.data(t, a); }), (V[l] = V[l] || {}), (s = V[l][t]), (n = V[l][t] = function (t, e) { if (!this || !this._createWidget) return new n(t, e); arguments.length && this._createWidget(t, e); }), V.extend(n, s, { version: e.version, _proto: V.extend({}, e), _childConstructors: [], }), ((o = new i()).options = V.widget.extend({}, o.options)), V.each(e, function (e, s) { function n() { return i.prototype[e].apply(this, arguments); } function o(t) { return i.prototype[e].apply(this, t); } r[e] = "function" != typeof s ? s : function () { var t, e = this._super, i = this._superApply; return ( (this._super = n), (this._superApply = o), (t = s.apply(this, arguments)), (this._super = e), (this._superApply = i), t ); }; }), (n.prototype = V.widget.extend( o, { widgetEventPrefix: (s && o.widgetEventPrefix) || t }, r, { constructor: n, namespace: l, widgetName: t, widgetFullName: a } )), s ? (V.each(s._childConstructors, function (t, e) { var i = e.prototype; V.widget(i.namespace + "." + i.widgetName, n, e._proto); }), delete s._childConstructors) : i._childConstructors.push(n), V.widget.bridge(t, n), n); }), (V.widget.extend = function (t) { for (var e, i, s = c.call(arguments, 1), n = 0, o = s.length; n < o; n++) for (e in s[n]) (i = s[n][e]), N.call(s[n], e) && void 0 !== i && (V.isPlainObject(i) ? (t[e] = V.isPlainObject(t[e]) ? V.widget.extend({}, t[e], i) : V.widget.extend({}, i)) : (t[e] = i)); return t; }), (V.widget.bridge = function (o, e) { var a = e.prototype.widgetFullName || o; V.fn[o] = function (i) { var t = "string" == typeof i, s = c.call(arguments, 1), n = this; return ( t ? this.length || "instance" !== i ? this.each(function () { var t, e = V.data(this, a); return "instance" === i ? ((n = e), !1) : e ? "function" != typeof e[i] || "_" === i.charAt(0) ? V.error( "no such method '" + i + "' for " + o + " widget instance" ) : (t = e[i].apply(e, s)) !== e && void 0 !== t ? ((n = t && t.jquery ? n.pushStack(t.get()) : t), !1) : void 0 : V.error( "cannot call methods on " + o + " prior to initialization; attempted to call method '" + i + "'" ); }) : (n = void 0) : (s.length && (i = V.widget.extend.apply(null, [i].concat(s))), this.each(function () { var t = V.data(this, a); t ? (t.option(i || {}), t._init && t._init()) : V.data(this, a, new e(i, this)); })), n ); }; }), (V.Widget = function () {}), (V.Widget._childConstructors = []), (V.Widget.prototype = { widgetName: "widget", widgetEventPrefix: "", defaultElement: "
", options: { classes: {}, disabled: !1, create: null }, _createWidget: function (t, e) { (e = V(e || this.defaultElement || this)[0]), (this.element = V(e)), (this.uuid = E++), (this.eventNamespace = "." + this.widgetName + this.uuid), (this.bindings = V()), (this.hoverable = V()), (this.focusable = V()), (this.classesElementLookup = {}), e !== this && (V.data(e, this.widgetFullName, this), this._on(!0, this.element, { remove: function (t) { t.target === e && this.destroy(); }, }), (this.document = V(e.style ? e.ownerDocument : e.document || e)), (this.window = V( this.document[0].defaultView || this.document[0].parentWindow ))), (this.options = V.widget.extend( {}, this.options, this._getCreateOptions(), t )), this._create(), this.options.disabled && this._setOptionDisabled(this.options.disabled), this._trigger("create", null, this._getCreateEventData()), this._init(); }, _getCreateOptions: function () { return {}; }, _getCreateEventData: V.noop, _create: V.noop, _init: V.noop, destroy: function () { var i = this; this._destroy(), V.each(this.classesElementLookup, function (t, e) { i._removeClass(e, t); }), this.element.off(this.eventNamespace).removeData(this.widgetFullName), this.widget().off(this.eventNamespace).removeAttr("aria-disabled"), this.bindings.off(this.eventNamespace); }, _destroy: V.noop, widget: function () { return this.element; }, option: function (t, e) { var i, s, n, o = t; if (0 === arguments.length) return V.widget.extend({}, this.options); if ("string" == typeof t) if (((o = {}), (t = (i = t.split(".")).shift()), i.length)) { for ( s = o[t] = V.widget.extend({}, this.options[t]), n = 0; n < i.length - 1; n++ ) (s[i[n]] = s[i[n]] || {}), (s = s[i[n]]); if (((t = i.pop()), 1 === arguments.length)) return void 0 === s[t] ? null : s[t]; s[t] = e; } else { if (1 === arguments.length) return void 0 === this.options[t] ? null : this.options[t]; o[t] = e; } return this._setOptions(o), this; }, _setOptions: function (t) { for (var e in t) this._setOption(e, t[e]); return this; }, _setOption: function (t, e) { return ( "classes" === t && this._setOptionClasses(e), (this.options[t] = e), "disabled" === t && this._setOptionDisabled(e), this ); }, _setOptionClasses: function (t) { var e, i, s; for (e in t) (s = this.classesElementLookup[e]), t[e] !== this.options.classes[e] && s && s.length && ((i = V(s.get())), this._removeClass(s, e), i.addClass( this._classes({ element: i, keys: e, classes: t, add: !0 }) )); }, _setOptionDisabled: function (t) { this._toggleClass( this.widget(), this.widgetFullName + "-disabled", null, !!t ), t && (this._removeClass(this.hoverable, null, "ui-state-hover"), this._removeClass(this.focusable, null, "ui-state-focus")); }, enable: function () { return this._setOptions({ disabled: !1 }); }, disable: function () { return this._setOptions({ disabled: !0 }); }, _classes: function (n) { var o = [], a = this; function t(t, e) { for (var i, s = 0; s < t.length; s++) (i = a.classesElementLookup[t[s]] || V()), (i = n.add ? ((() => { var i = []; n.element.each(function (t, e) { V.map(a.classesElementLookup, function (t) { return t; }).some(function (t) { return t.is(e); }) || i.push(e); }), a._on(V(i), { remove: "_untrackClassesElement" }); })(), V(V.uniqueSort(i.get().concat(n.element.get())))) : V(i.not(n.element).get())), (a.classesElementLookup[t[s]] = i), o.push(t[s]), e && n.classes[t[s]] && o.push(n.classes[t[s]]); } return ( (n = V.extend( { element: this.element, classes: this.options.classes || {} }, n )).keys && t(n.keys.match(/\S+/g) || [], !0), n.extra && t(n.extra.match(/\S+/g) || []), o.join(" ") ); }, _untrackClassesElement: function (i) { var s = this; V.each(s.classesElementLookup, function (t, e) { -1 !== V.inArray(i.target, e) && (s.classesElementLookup[t] = V(e.not(i.target).get())); }), this._off(V(i.target)); }, _removeClass: function (t, e, i) { return this._toggleClass(t, e, i, !1); }, _addClass: function (t, e, i) { return this._toggleClass(t, e, i, !0); }, _toggleClass: function (t, e, i, s) { var n = "string" == typeof t || null === t, e = { extra: n ? e : i, keys: n ? t : e, element: n ? this.element : t, add: (s = "boolean" == typeof s ? s : i), }; return e.element.toggleClass(this._classes(e), s), this; }, _on: function (n, o, t) { var a, r = this; "boolean" != typeof n && ((t = o), (o = n), (n = !1)), t ? ((o = a = V(o)), (this.bindings = this.bindings.add(o))) : ((t = o), (o = this.element), (a = this.widget())), V.each(t, function (t, e) { function i() { if ( n || (!0 !== r.options.disabled && !V(this).hasClass("ui-state-disabled")) ) return ("string" == typeof e ? r[e] : e).apply(r, arguments); } "string" != typeof e && (i.guid = e.guid = e.guid || i.guid || V.guid++); var t = t.match(/^([\w:-]*)\s*(.*)$/), s = t[1] + r.eventNamespace, t = t[2]; t ? a.on(s, t, i) : o.on(s, i); }); }, _off: function (t, e) { (e = (e || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace), t.off(e), (this.bindings = V(this.bindings.not(t).get())), (this.focusable = V(this.focusable.not(t).get())), (this.hoverable = V(this.hoverable.not(t).get())); }, _delay: function (t, e) { var i = this; return setTimeout(function () { return ("string" == typeof t ? i[t] : t).apply(i, arguments); }, e || 0); }, _hoverable: function (t) { (this.hoverable = this.hoverable.add(t)), this._on(t, { mouseenter: function (t) { this._addClass(V(t.currentTarget), null, "ui-state-hover"); }, mouseleave: function (t) { this._removeClass(V(t.currentTarget), null, "ui-state-hover"); }, }); }, _focusable: function (t) { (this.focusable = this.focusable.add(t)), this._on(t, { focusin: function (t) { this._addClass(V(t.currentTarget), null, "ui-state-focus"); }, focusout: function (t) { this._removeClass(V(t.currentTarget), null, "ui-state-focus"); }, }); }, _trigger: function (t, e, i) { var s, n, o = this.options[t]; if ( ((i = i || {}), ((e = V.Event(e)).type = ( t === this.widgetEventPrefix ? t : this.widgetEventPrefix + t ).toLowerCase()), (e.target = this.element[0]), (n = e.originalEvent)) ) for (s in n) s in e || (e[s] = n[s]); return ( this.element.trigger(e, i), !( ("function" == typeof o && !1 === o.apply(this.element[0], [e].concat(i))) || e.isDefaultPrevented() ) ); }, }), V.each({ show: "fadeIn", hide: "fadeOut" }, function (o, a) { V.Widget.prototype["_" + o] = function (e, t, i) { var s, n = (t = "string" == typeof t ? { effect: t } : t) ? (!0 !== t && "number" != typeof t && t.effect) || a : o; "number" == typeof (t = t || {}) ? (t = { duration: t }) : !0 === t && (t = {}), (s = !V.isEmptyObject(t)), (t.complete = i), t.delay && e.delay(t.delay), s && V.effects && V.effects.effect[n] ? e[o](t) : n !== o && e[n] ? e[n](t.duration, t.easing, i) : e.queue(function (t) { V(this)[o](), i && i.call(e[0]), t(); }); }; }), V.widget; function C(t, e, i) { return [ parseFloat(t[0]) * (h.test(t[0]) ? e / 100 : 1), parseFloat(t[1]) * (h.test(t[1]) ? i / 100 : 1), ]; } function D(t, e) { return parseInt(V.css(t, e), 10) || 0; } function I(t) { return null != t && t === t.window; } (x = Math.max), (k = Math.abs), (o = /left|center|right/), (a = /top|center|bottom/), (r = /[\+\-]\d+(\.[\d]+)?%?/), (l = /^\w+/), (h = /%$/), (i = V.fn.position), (V.position = { scrollbarWidth: function () { var t, e, i; return void 0 !== s ? s : ((i = (e = V( "
" )).children()[0]), V("body").append(e), (t = i.offsetWidth), e.css("overflow", "scroll"), t === (i = i.offsetWidth) && (i = e[0].clientWidth), e.remove(), (s = t - i)); }, getScrollInfo: function (t) { var e = t.isWindow || t.isDocument ? "" : t.element.css("overflow-x"), i = t.isWindow || t.isDocument ? "" : t.element.css("overflow-y"), e = "scroll" === e || ("auto" === e && t.width < t.element[0].scrollWidth); return { width: "scroll" === i || ("auto" === i && t.height < t.element[0].scrollHeight) ? V.position.scrollbarWidth() : 0, height: e ? V.position.scrollbarWidth() : 0, }; }, getWithinInfo: function (t) { var e = V(t || window), i = I(e[0]), s = !!e[0] && 9 === e[0].nodeType; return { element: e, isWindow: i, isDocument: s, offset: !i && !s ? V(t).offset() : { left: 0, top: 0 }, scrollLeft: e.scrollLeft(), scrollTop: e.scrollTop(), width: e.outerWidth(), height: e.outerHeight(), }; }, }), (V.fn.position = function (u) { var d, p, f, g, m, _, v, b, y, w, t, e; return u && u.of ? ((_ = "string" == typeof (u = V.extend({}, u)).of ? V(document).find(u.of) : V(u.of)), (v = V.position.getWithinInfo(u.within)), (b = V.position.getScrollInfo(v)), (y = (u.collision || "flip").split(" ")), (w = {}), (e = 9 === (e = (t = _)[0]).nodeType ? { width: t.width(), height: t.height(), offset: { top: 0, left: 0 }, } : I(e) ? { width: t.width(), height: t.height(), offset: { top: t.scrollTop(), left: t.scrollLeft() }, } : e.preventDefault ? { width: 0, height: 0, offset: { top: e.pageY, left: e.pageX } } : { width: t.outerWidth(), height: t.outerHeight(), offset: t.offset(), }), _[0].preventDefault && (u.at = "left top"), (p = e.width), (f = e.height), (m = V.extend({}, (g = e.offset))), V.each(["my", "at"], function () { var t, e, i = (u[this] || "").split(" "); ((i = 1 === i.length ? o.test(i[0]) ? i.concat(["center"]) : a.test(i[0]) ? ["center"].concat(i) : ["center", "center"] : i)[0] = o.test(i[0]) ? i[0] : "center"), (i[1] = a.test(i[1]) ? i[1] : "center"), (t = r.exec(i[0])), (e = r.exec(i[1])), (w[this] = [t ? t[0] : 0, e ? e[0] : 0]), (u[this] = [l.exec(i[0])[0], l.exec(i[1])[0]]); }), 1 === y.length && (y[1] = y[0]), "right" === u.at[0] ? (m.left += p) : "center" === u.at[0] && (m.left += p / 2), "bottom" === u.at[1] ? (m.top += f) : "center" === u.at[1] && (m.top += f / 2), (d = C(w.at, p, f)), (m.left += d[0]), (m.top += d[1]), this.each(function () { var i, t, a = V(this), r = a.outerWidth(), l = a.outerHeight(), e = D(this, "marginLeft"), s = D(this, "marginTop"), n = r + e + D(this, "marginRight") + b.width, o = l + s + D(this, "marginBottom") + b.height, h = V.extend({}, m), c = C(w.my, a.outerWidth(), a.outerHeight()); "right" === u.my[0] ? (h.left -= r) : "center" === u.my[0] && (h.left -= r / 2), "bottom" === u.my[1] ? (h.top -= l) : "center" === u.my[1] && (h.top -= l / 2), (h.left += c[0]), (h.top += c[1]), (i = { marginLeft: e, marginTop: s }), V.each(["left", "top"], function (t, e) { V.ui.position[y[t]] && V.ui.position[y[t]][e](h, { targetWidth: p, targetHeight: f, elemWidth: r, elemHeight: l, collisionPosition: i, collisionWidth: n, collisionHeight: o, offset: [d[0] + c[0], d[1] + c[1]], my: u.my, at: u.at, within: v, elem: a, }); }), u.using && (t = function (t) { var e = g.left - h.left, i = e + p - r, s = g.top - h.top, n = s + f - l, o = { target: { element: _, left: g.left, top: g.top, width: p, height: f, }, element: { element: a, left: h.left, top: h.top, width: r, height: l, }, horizontal: i < 0 ? "left" : 0 < e ? "right" : "center", vertical: n < 0 ? "top" : 0 < s ? "bottom" : "middle", }; p < r && k(e + i) < p && (o.horizontal = "center"), f < l && k(s + n) < f && (o.vertical = "middle"), x(k(e), k(i)) > x(k(s), k(n)) ? (o.important = "horizontal") : (o.important = "vertical"), u.using.call(this, t, o); }), a.offset(V.extend(h, { using: t })); })) : i.apply(this, arguments); }), (V.ui.position = { fit: { left: function (t, e) { var i, s = e.within, n = s.isWindow ? s.scrollLeft : s.offset.left, s = s.width, o = t.left - e.collisionPosition.marginLeft, a = n - o, r = o + e.collisionWidth - s - n; s < e.collisionWidth ? 0 < a && r <= 0 ? ((i = t.left + a + e.collisionWidth - s - n), (t.left += a - i)) : (t.left = !(0 < r && a <= 0) && r < a ? n + s - e.collisionWidth : n) : 0 < a ? (t.left += a) : 0 < r ? (t.left -= r) : (t.left = x(t.left - o, t.left)); }, top: function (t, e) { var i, s = e.within, s = s.isWindow ? s.scrollTop : s.offset.top, n = e.within.height, o = t.top - e.collisionPosition.marginTop, a = s - o, r = o + e.collisionHeight - n - s; n < e.collisionHeight ? 0 < a && r <= 0 ? ((i = t.top + a + e.collisionHeight - n - s), (t.top += a - i)) : (t.top = !(0 < r && a <= 0) && r < a ? s + n - e.collisionHeight : s) : 0 < a ? (t.top += a) : 0 < r ? (t.top -= r) : (t.top = x(t.top - o, t.top)); }, }, flip: { left: function (t, e) { var i = e.within, s = i.offset.left + i.scrollLeft, n = i.width, i = i.isWindow ? i.scrollLeft : i.offset.left, o = t.left - e.collisionPosition.marginLeft, a = o - i, o = o + e.collisionWidth - n - i, r = "left" === e.my[0] ? -e.elemWidth : "right" === e.my[0] ? e.elemWidth : 0, l = "left" === e.at[0] ? e.targetWidth : "right" === e.at[0] ? -e.targetWidth : 0, h = -2 * e.offset[0]; a < 0 ? ((n = t.left + r + l + h + e.collisionWidth - n - s) < 0 || n < k(a)) && (t.left += r + l + h) : 0 < o && (0 < (s = t.left - e.collisionPosition.marginLeft + r + l + h - i) || k(s) < o) && (t.left += r + l + h); }, top: function (t, e) { var i = e.within, s = i.offset.top + i.scrollTop, n = i.height, i = i.isWindow ? i.scrollTop : i.offset.top, o = t.top - e.collisionPosition.marginTop, a = o - i, o = o + e.collisionHeight - n - i, r = "top" === e.my[1] ? -e.elemHeight : "bottom" === e.my[1] ? e.elemHeight : 0, l = "top" === e.at[1] ? e.targetHeight : "bottom" === e.at[1] ? -e.targetHeight : 0, h = -2 * e.offset[1]; a < 0 ? ((n = t.top + r + l + h + e.collisionHeight - n - s) < 0 || n < k(a)) && (t.top += r + l + h) : 0 < o && (0 < (s = t.top - e.collisionPosition.marginTop + r + l + h - i) || k(s) < o) && (t.top += r + l + h); }, }, flipfit: { left: function () { V.ui.position.flip.left.apply(this, arguments), V.ui.position.fit.left.apply(this, arguments); }, top: function () { V.ui.position.flip.top.apply(this, arguments), V.ui.position.fit.top.apply(this, arguments); }, }, }); V.ui.position, V.extend(V.expr.pseudos, { data: V.expr.createPseudo(function (e) { return function (t) { return !!V.data(t, e); }; }), }), V.fn.extend({ disableSelection: ((t = "onselectstart" in document.createElement("div") ? "selectstart" : "mousedown"), function () { return this.on(t + ".ui-disableSelection", function (t) { t.preventDefault(); }); }), enableSelection: function () { return this.off(".ui-disableSelection"); }, }); var t, u = V, d = {}, W = d.toString, F = /^([\-+])=\s*(\d+\.?\d*)/, L = [ { re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, parse: function (t) { return [t[1], t[2], t[3], t[4]]; }, }, { re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, parse: function (t) { return [2.55 * t[1], 2.55 * t[2], 2.55 * t[3], t[4]]; }, }, { re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/, parse: function (t) { return [ parseInt(t[1], 16), parseInt(t[2], 16), parseInt(t[3], 16), t[4] ? (parseInt(t[4], 16) / 255).toFixed(2) : 1, ]; }, }, { re: /#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/, parse: function (t) { return [ parseInt(t[1] + t[1], 16), parseInt(t[2] + t[2], 16), parseInt(t[3] + t[3], 16), t[4] ? (parseInt(t[4] + t[4], 16) / 255).toFixed(2) : 1, ]; }, }, { re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/, space: "hsla", parse: function (t) { return [t[1], t[2] / 100, t[3] / 100, t[4]]; }, }, ], p = (u.Color = function (t, e, i, s) { return new u.Color.fn.parse(t, e, i, s); }), f = { rgba: { props: { red: { idx: 0, type: "byte" }, green: { idx: 1, type: "byte" }, blue: { idx: 2, type: "byte" }, }, }, hsla: { props: { hue: { idx: 0, type: "degrees" }, saturation: { idx: 1, type: "percent" }, lightness: { idx: 2, type: "percent" }, }, }, }, R = { byte: { floor: !0, max: 255 }, percent: { max: 1 }, degrees: { mod: 360, floor: !0 }, }, g = u.each; function m(t) { return null == t ? t + "" : "object" == typeof t ? d[W.call(t)] || "object" : typeof t; } function _(t, e, i) { var s = R[e.type] || {}; return null == t ? i || !e.def ? null : e.def : ((t = s.floor ? ~~t : parseFloat(t)), s.mod ? (t + s.mod) % s.mod : Math.min(s.max, Math.max(0, t))); } function Y(s) { var n = p(), o = (n._rgba = []); return ( (s = s.toLowerCase()), g(L, function (t, e) { var i = e.re.exec(s), i = i && e.parse(i), e = e.space || "rgba"; if (i) return ( (i = n[e](i)), (n[f[e].cache] = i[f[e].cache]), (o = n._rgba = i._rgba), !1 ); }), o.length ? ("0,0,0,0" === o.join() && u.extend(o, y.transparent), n) : y[s] ); } function v(t, e, i) { return 6 * (i = (i + 1) % 1) < 1 ? t + (e - t) * i * 6 : 2 * i < 1 ? e : 3 * i < 2 ? t + (e - t) * (2 / 3 - i) * 6 : t; } g(f, function (t, e) { (e.cache = "_" + t), (e.props.alpha = { idx: 3, type: "percent", def: 1 }); }), u.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), function (t, e) { d["[object " + e + "]"] = e.toLowerCase(); } ), (p.fn = u.extend(p.prototype, { parse: function (n, t, e, i) { if (void 0 === n) return (this._rgba = [null, null, null, null]), this; (n.jquery || n.nodeType) && ((n = u(n).css(t)), (t = void 0)); var o = this, s = m(n), a = (this._rgba = []); return ( void 0 !== t && ((n = [n, t, e, i]), (s = "array")), "string" === s ? this.parse(Y(n) || y._default) : "array" === s ? (g(f.rgba.props, function (t, e) { a[e.idx] = _(n[e.idx], e); }), this) : "object" === s ? (n instanceof p ? g(f, function (t, e) { n[e.cache] && (o[e.cache] = n[e.cache].slice()); }) : g(f, function (t, i) { var s = i.cache; g(i.props, function (t, e) { if (!o[s] && i.to) { if ("alpha" === t || null == n[t]) return; o[s] = i.to(o._rgba); } o[s][e.idx] = _(n[t], e, !0); }), o[s] && u.inArray(null, o[s].slice(0, 3)) < 0 && (null == o[s][3] && (o[s][3] = 1), i.from) && (o._rgba = i.from(o[s])); }), this) : void 0 ); }, is: function (t) { var n = p(t), o = !0, a = this; return ( g(f, function (t, e) { var i, s = n[e.cache]; return ( s && ((i = a[e.cache] || (e.to && e.to(a._rgba)) || []), g(e.props, function (t, e) { if (null != s[e.idx]) return (o = s[e.idx] === i[e.idx]); })), o ); }), o ); }, _space: function () { var i = [], s = this; return ( g(f, function (t, e) { s[e.cache] && i.push(t); }), i.pop() ); }, transition: function (t, a) { var t = (h = p(t))._space(), e = f[t], i = 0 === this.alpha() ? p("transparent") : this, r = i[e.cache] || e.to(i._rgba), l = r.slice(), h = h[e.cache]; return ( g(e.props, function (t, e) { var i = e.idx, s = r[i], n = h[i], o = R[e.type] || {}; null !== n && (null === s ? (l[i] = n) : (o.mod && (n - s > o.mod / 2 ? (s += o.mod) : s - n > o.mod / 2 && (s -= o.mod)), (l[i] = _((n - s) * a + s, e)))); }), this[t](l) ); }, blend: function (t) { var e, i, s; return 1 === this._rgba[3] ? this : ((e = this._rgba.slice()), (i = e.pop()), (s = p(t)._rgba), p( u.map(e, function (t, e) { return (1 - i) * s[e] + i * t; }) )); }, toRgbaString: function () { var t = "rgba(", e = u.map(this._rgba, function (t, e) { return null != t ? t : 2 < e ? 1 : 0; }); return 1 === e[3] && (e.pop(), (t = "rgb(")), t + e.join(", ") + ")"; }, toHslaString: function () { var t = "hsla(", e = u.map(this.hsla(), function (t, e) { return ( null == t && (t = 2 < e ? 1 : 0), (t = e && e < 3 ? Math.round(100 * t) + "%" : t) ); }); return 1 === e[3] && (e.pop(), (t = "hsl(")), t + e.join(", ") + ")"; }, toHexString: function (t) { var e = this._rgba.slice(), i = e.pop(); return ( t && e.push(~~(255 * i)), "#" + u .map(e, function (t) { return ("0" + (t || 0).toString(16)).substr(-2); }) .join("") ); }, toString: function () { return this.toRgbaString(); }, })), (p.fn.parse.prototype = p.fn), (f.hsla.to = function (t) { var e, i, s, n, o, a, r, l; return null == t[0] || null == t[1] || null == t[2] ? [null, null, null, t[3]] : ((e = t[0] / 255), (i = t[1] / 255), (s = t[2] / 255), (t = t[3]), (n = (l = Math.max(e, i, s)) - (r = Math.min(e, i, s))), (a = 0.5 * (o = l + r)), (r = r === l ? 0 : e === l ? (60 * (i - s)) / n + 360 : i === l ? (60 * (s - e)) / n + 120 : (60 * (e - i)) / n + 240), (l = 0 == n ? 0 : a <= 0.5 ? n / o : n / (2 - o)), [Math.round(r) % 360, l, a, null == t ? 1 : t]); }), (f.hsla.from = function (t) { var e, i, s; return null == t[0] || null == t[1] || null == t[2] ? [null, null, null, t[3]] : ((e = t[0] / 360), (s = t[1]), (i = t[3]), (s = 2 * (t = t[2]) - (t = t <= 0.5 ? t * (1 + s) : t + s - t * s)), [ Math.round(255 * v(s, t, e + 1 / 3)), Math.round(255 * v(s, t, e)), Math.round(255 * v(s, t, e - 1 / 3)), i, ]); }), g(f, function (r, t) { var e = t.props, o = t.cache, a = t.to, l = t.from; (p.fn[r] = function (t) { var i, s, n; return ( a && !this[o] && (this[o] = a(this._rgba)), void 0 === t ? this[o].slice() : ((i = m(t)), (s = "array" === i || "object" === i ? t : arguments), (n = this[o].slice()), g(e, function (t, e) { t = s["object" === i ? t : e.idx]; null == t && (t = n[e.idx]), (n[e.idx] = _(t, e)); }), l ? (((t = p(l(n)))[o] = n), t) : p(n)) ); }), g(e, function (o, a) { p.fn[o] || (p.fn[o] = function (t) { var e = m(t), i = "alpha" === o ? (this._hsla ? "hsla" : "rgba") : r, s = this[i](), n = s[a.idx]; return "undefined" === e ? n : ("function" === e && (e = m((t = t.call(this, n)))), null == t && a.empty ? this : ("string" === e && (e = F.exec(t)) && (t = n + parseFloat(e[2]) * ("+" === e[1] ? 1 : -1)), (s[a.idx] = t), this[i](s))); }); }); }), (p.hook = function (t) { t = t.split(" "); g(t, function (t, s) { (u.cssHooks[s] = { set: function (t, e) { var i; "transparent" === e || ("string" === m(e) && !(i = Y(e))) || (e = (e = p(i || e)).toRgbaString()), (t.style[s] = e); }, }), (u.fx.step[s] = function (t) { t.colorInit || ((t.start = p(t.elem, s)), (t.end = p(t.end)), (t.colorInit = !0)), u.cssHooks[s].set(t.elem, t.start.transition(t.end, t.pos)); }); }); }), p.hook( "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor" ), (u.cssHooks.borderColor = { expand: function (i) { var s = {}; return ( g(["Top", "Right", "Bottom", "Left"], function (t, e) { s["border" + e + "Color"] = i; }), s ); }, }); var B, j, q, K, U, X, $, G, Q, b, y = (u.Color.names = { aqua: "#00ffff", black: "#000000", blue: "#0000ff", fuchsia: "#ff00ff", gray: "#808080", green: "#008000", lime: "#00ff00", maroon: "#800000", navy: "#000080", olive: "#808000", purple: "#800080", red: "#ff0000", silver: "#c0c0c0", teal: "#008080", white: "#ffffff", yellow: "#ffff00", transparent: [null, null, null, 0], _default: "#ffffff", }), w = "ui-effects-", e = "ui-effects-style", T = "ui-effects-animated"; function J(t) { for ( var e, i = t.ownerDocument.defaultView.getComputedStyle(t), s = {}, n = i.length; n--; ) "string" == typeof i[(e = i[n])] && (s[ e.replace(/-([\da-z])/gi, function (t, e) { return e.toUpperCase(); }) ] = i[e]); return s; } function P(t, e, i, s) { return ( (t = { effect: (t = V.isPlainObject(t) ? (e = t).effect : t) }), "function" == typeof (e = null == e ? {} : e) && ((s = e), (i = null), (e = {})), ("number" != typeof e && !V.fx.speeds[e]) || ((s = i), (i = e), (e = {})), "function" == typeof i && ((s = i), (i = null)), e && V.extend(t, e), (i = i || e.duration), (t.duration = V.fx.off ? 0 : "number" == typeof i ? i : i in V.fx.speeds ? V.fx.speeds[i] : V.fx.speeds._default), (t.complete = s || e.complete), t ); } function M(t) { return ( !t || "number" == typeof t || V.fx.speeds[t] || ("string" == typeof t && !V.effects.effect[t]) || "function" == typeof t || ("object" == typeof t && !t.effect) ); } function Z(t, e) { var i = e.outerWidth(), e = e.outerHeight(), t = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec( t ) || ["", 0, i, e, 0]; return { top: parseFloat(t[1]) || 0, right: "auto" === t[2] ? i : parseFloat(t[2]), bottom: "auto" === t[3] ? e : parseFloat(t[3]), left: parseFloat(t[4]) || 0, }; } (V.effects = { effect: {} }), (K = ["add", "remove", "toggle"]), (U = { border: 1, borderBottom: 1, borderColor: 1, borderLeft: 1, borderRight: 1, borderTop: 1, borderWidth: 1, margin: 1, padding: 1, }), V.each( [ "borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle", ], function (t, e) { V.fx.step[e] = function (t) { (("none" !== t.end && !t.setAttr) || (1 === t.pos && !t.setAttr)) && (u.style(t.elem, e, t.end), (t.setAttr = !0)); }; } ), (V.effects.animateClass = function (n, t, e, i) { var o = V.speed(t, e, i); return this.queue(function () { var i = V(this), t = i.attr("class") || "", e = (e = o.children ? i.find("*").addBack() : i).map(function () { return { el: V(this), start: J(this) }; }), s = function () { V.each(K, function (t, e) { n[e] && i[e + "Class"](n[e]); }); }; s(), (e = e.map(function () { return ( (this.end = J(this.el[0])), (this.diff = ((t, e) => { var i, s, n = {}; for (i in e) (s = e[i]), t[i] === s || U[i] || (!V.fx.step[i] && isNaN(parseFloat(s))) || (n[i] = s); return n; })(this.start, this.end)), this ); })), i.attr("class", t), (e = e.map(function () { var t = this, e = V.Deferred(), i = V.extend({}, o, { queue: !1, complete: function () { e.resolve(t); }, }); return this.el.animate(this.diff, i), e.promise(); })), V.when.apply(V, e.get()).done(function () { s(), V.each(arguments, function () { var e = this.el; V.each(this.diff, function (t) { e.css(t, ""); }); }), o.complete.call(i[0]); }); }); }), V.fn.extend({ addClass: ((q = V.fn.addClass), function (t, e, i, s) { return e ? V.effects.animateClass.call(this, { add: t }, e, i, s) : q.apply(this, arguments); }), removeClass: ((j = V.fn.removeClass), function (t, e, i, s) { return 1 < arguments.length ? V.effects.animateClass.call(this, { remove: t }, e, i, s) : j.apply(this, arguments); }), toggleClass: ((B = V.fn.toggleClass), function (t, e, i, s, n) { return "boolean" == typeof e || void 0 === e ? i ? V.effects.animateClass.call( this, e ? { add: t } : { remove: t }, i, s, n ) : B.apply(this, arguments) : V.effects.animateClass.call(this, { toggle: t }, e, i, s); }), switchClass: function (t, e, i, s, n) { return V.effects.animateClass.call( this, { add: e, remove: t }, i, s, n ); }, }), V.expr && V.expr.pseudos && V.expr.pseudos.animated && (V.expr.pseudos.animated = ((X = V.expr.pseudos.animated), function (t) { return !!V(t).data(T) || X(t); })), !0 === V.uiBackCompat && V.extend(V.effects, { save: function (t, e) { for (var i = 0, s = e.length; i < s; i++) null !== e[i] && t.data(w + e[i], t[0].style[e[i]]); }, restore: function (t, e) { for (var i, s = 0, n = e.length; s < n; s++) null !== e[s] && ((i = t.data(w + e[s])), t.css(e[s], i)); }, setMode: function (t, e) { return (e = "toggle" === e ? (t.is(":hidden") ? "show" : "hide") : e); }, createWrapper: function (i) { if (i.parent().is(".ui-effects-wrapper")) return i.parent(); var s = { width: i.outerWidth(!0), height: i.outerHeight(!0), float: i.css("float"), }, t = V("
") .addClass("ui-effects-wrapper") .css({ fontSize: "100%", background: "transparent", border: "none", margin: 0, padding: 0, }), e = { width: i.width(), height: i.height() }, n = document.activeElement; try { n.id; } catch (t) { n = document.body; } return ( i.wrap(t), (i[0] !== n && !V.contains(i[0], n)) || V(n).trigger("focus"), (t = i.parent()), "static" === i.css("position") ? (t.css({ position: "relative" }), i.css({ position: "relative" })) : (V.extend(s, { position: i.css("position"), zIndex: i.css("z-index"), }), V.each(["top", "left", "bottom", "right"], function (t, e) { (s[e] = i.css(e)), isNaN(parseInt(s[e], 10)) && (s[e] = "auto"); }), i.css({ position: "relative", top: 0, left: 0, right: "auto", bottom: "auto", })), i.css(e), t.css(s).show() ); }, removeWrapper: function (t) { var e = document.activeElement; return ( t.parent().is(".ui-effects-wrapper") && (t.parent().replaceWith(t), (t[0] !== e && !V.contains(t[0], e)) || V(e).trigger("focus")), t ); }, }), V.extend(V.effects, { version: "1.14.1", define: function (t, e, i) { return ( i || ((i = e), (e = "effect")), (V.effects.effect[t] = i), (V.effects.effect[t].mode = e), i ); }, scaledDimensions: function (t, e, i) { var s; return 0 === e ? { height: 0, width: 0, outerHeight: 0, outerWidth: 0 } : ((s = "horizontal" !== i ? (e || 100) / 100 : 1), (i = "vertical" !== i ? (e || 100) / 100 : 1), { height: t.height() * i, width: t.width() * s, outerHeight: t.outerHeight() * i, outerWidth: t.outerWidth() * s, }); }, clipToBox: function (t) { return { width: t.clip.right - t.clip.left, height: t.clip.bottom - t.clip.top, left: t.clip.left, top: t.clip.top, }; }, unshift: function (t, e, i) { var s = t.queue(); 1 < e && s.splice.apply(s, [1, 0].concat(s.splice(e, i))), t.dequeue(); }, saveStyle: function (t) { t.data(e, t[0].style.cssText); }, restoreStyle: function (t) { (t[0].style.cssText = t.data(e) || ""), t.removeData(e); }, mode: function (t, e) { t = t.is(":hidden"); return ( "toggle" === e && (e = t ? "show" : "hide"), (e = (t ? "hide" === e : "show" === e) ? "none" : e) ); }, getBaseline: function (t, e) { var i, s; switch (t[0]) { case "top": i = 0; break; case "middle": i = 0.5; break; case "bottom": i = 1; break; default: i = t[0] / e.height; } switch (t[1]) { case "left": s = 0; break; case "center": s = 0.5; break; case "right": s = 1; break; default: s = t[1] / e.width; } return { x: s, y: i }; }, createPlaceholder: function (t) { var e, i = t.css("position"), s = t.position(); return ( t .css({ marginTop: t.css("marginTop"), marginBottom: t.css("marginBottom"), marginLeft: t.css("marginLeft"), marginRight: t.css("marginRight"), }) .outerWidth(t.outerWidth()) .outerHeight(t.outerHeight()), /^(static|relative)/.test(i) && ((i = "absolute"), (e = V("<" + t[0].nodeName + ">") .insertAfter(t) .css({ display: /^(inline|ruby)/.test(t.css("display")) ? "inline-block" : "block", visibility: "hidden", marginTop: t.css("marginTop"), marginBottom: t.css("marginBottom"), marginLeft: t.css("marginLeft"), marginRight: t.css("marginRight"), float: t.css("float"), }) .outerWidth(t.outerWidth()) .outerHeight(t.outerHeight()) .addClass("ui-effects-placeholder")), t.data(w + "placeholder", e)), t.css({ position: i, left: s.left, top: s.top }), e ); }, removePlaceholder: function (t) { var e = w + "placeholder", i = t.data(e); i && (i.remove(), t.removeData(e)); }, cleanUp: function (t) { V.effects.restoreStyle(t), V.effects.removePlaceholder(t); }, setTransition: function (s, t, n, o) { return ( (o = o || {}), V.each(t, function (t, e) { var i = s.cssUnit(e); 0 < i[0] && (o[e] = i[0] * n + i[1]); }), o ); }, }), V.fn.extend({ effect: function () { function t(t) { var e = V(this), i = V.effects.mode(e, r) || o; e.data(T, !0), l.push(i), o && ("show" === i || (i === o && "hide" === i)) && e.show(), (o && "none" === i) || V.effects.saveStyle(e), "function" == typeof t && t(); } var s = P.apply(this, arguments), n = V.effects.effect[s.effect], o = n.mode, e = s.queue, i = e || "fx", a = s.complete, r = s.mode, l = []; return V.fx.off || !n ? r ? this[r](s.duration, a) : this.each(function () { a && a.call(this); }) : !1 === e ? this.each(t).each(h) : this.queue(i, t).queue(i, h); function h(t) { var e = V(this); function i() { "function" == typeof a && a.call(e[0]), "function" == typeof t && t(); } (s.mode = l.shift()), !0 !== V.uiBackCompat || o ? "none" === s.mode ? (e[r](), i()) : n.call(e[0], s, function () { e.removeData(T), V.effects.cleanUp(e), "hide" === s.mode && e.hide(), i(); }) : (e.is(":hidden") ? "hide" === r : "show" === r) ? (e[r](), i()) : n.call(e[0], s, i); } }, show: ((Q = V.fn.show), function (t) { return M(t) ? Q.apply(this, arguments) : (((t = P.apply(this, arguments)).mode = "show"), this.effect.call(this, t)); }), hide: ((G = V.fn.hide), function (t) { return M(t) ? G.apply(this, arguments) : (((t = P.apply(this, arguments)).mode = "hide"), this.effect.call(this, t)); }), toggle: (($ = V.fn.toggle), function (t) { return M(t) || "boolean" == typeof t ? $.apply(this, arguments) : (((t = P.apply(this, arguments)).mode = "toggle"), this.effect.call(this, t)); }), cssUnit: function (t) { var i = this.css(t), s = []; return ( V.each(["em", "px", "%", "pt"], function (t, e) { 0 < i.indexOf(e) && (s = [parseFloat(i), e]); }), s ); }, cssClip: function (t) { return t ? this.css( "clip", "rect(" + t.top + "px " + t.right + "px " + t.bottom + "px " + t.left + "px)" ) : Z(this.css("clip"), this); }, transfer: function (t, e) { var i = V(this), s = V(t.to), n = "fixed" === s.css("position"), o = V("body"), a = n ? o.scrollTop() : 0, o = n ? o.scrollLeft() : 0, r = s.offset(), r = { top: r.top - a, left: r.left - o, height: s.innerHeight(), width: s.innerWidth(), }, s = i.offset(), l = V("
"); l.appendTo("body") .addClass(t.className) .css({ top: s.top - a, left: s.left - o, height: i.innerHeight(), width: i.innerWidth(), position: n ? "fixed" : "absolute", }) .animate(r, t.duration, t.easing, function () { l.remove(), "function" == typeof e && e(); }); }, }), (V.fx.step.clip = function (t) { t.clipInit || ((t.start = V(t.elem).cssClip()), "string" == typeof t.end && (t.end = Z(t.end, t.elem)), (t.clipInit = !0)), V(t.elem).cssClip({ top: t.pos * (t.end.top - t.start.top) + t.start.top, right: t.pos * (t.end.right - t.start.right) + t.start.right, bottom: t.pos * (t.end.bottom - t.start.bottom) + t.start.bottom, left: t.pos * (t.end.left - t.start.left) + t.start.left, }); }), (b = {}), V.each(["Quad", "Cubic", "Quart", "Quint", "Expo"], function (e, t) { b[t] = function (t) { return Math.pow(t, e + 2); }; }), V.extend(b, { Sine: function (t) { return 1 - Math.cos((t * Math.PI) / 2); }, Circ: function (t) { return 1 - Math.sqrt(1 - t * t); }, Elastic: function (t) { return 0 === t || 1 === t ? t : -Math.pow(2, 8 * (t - 1)) * Math.sin(((80 * (t - 1) - 7.5) * Math.PI) / 15); }, Back: function (t) { return t * t * (3 * t - 2); }, Bounce: function (t) { for (var e, i = 4; t < ((e = Math.pow(2, --i)) - 1) / 11; ); return ( 1 / Math.pow(4, 3 - i) - 7.5625 * Math.pow((3 * e - 2) / 22 - t, 2) ); }, }), V.each(b, function (t, e) { (V.easing["easeIn" + t] = e), (V.easing["easeOut" + t] = function (t) { return 1 - e(1 - t); }), (V.easing["easeInOut" + t] = function (t) { return t < 0.5 ? e(2 * t) / 2 : 1 - e(-2 * t + 2) / 2; }); }); var tt, et, S, it = V.effects, st = (V.effects.define("blind", "hide", function (t, e) { var i = { up: ["bottom", "top"], vertical: ["bottom", "top"], down: ["top", "bottom"], left: ["right", "left"], horizontal: ["right", "left"], right: ["left", "right"], }, s = V(this), n = t.direction || "up", o = s.cssClip(), a = { clip: V.extend({}, o) }, r = V.effects.createPlaceholder(s); (a.clip[i[n][0]] = a.clip[i[n][1]]), "show" === t.mode && (s.cssClip(a.clip), r && r.css(V.effects.clipToBox(a)), (a.clip = o)), r && r.animate(V.effects.clipToBox(a), t.duration, t.easing), s.animate(a, { queue: !1, duration: t.duration, easing: t.easing, complete: e, }); }), V.effects.define("bounce", function (t, e) { var i, s, n = V(this), o = t.mode, a = "hide" === o, o = "show" === o, r = t.direction || "up", l = t.distance, h = t.times || 5, c = 2 * h + (o || a ? 1 : 0), u = t.duration / c, d = t.easing, p = "up" === r || "down" === r ? "top" : "left", f = "up" === r || "left" === r, g = 0, t = n.queue().length; for ( V.effects.createPlaceholder(n), r = n.css(p), l = l || n["top" == p ? "outerHeight" : "outerWidth"]() / 3, o && (((s = { opacity: 1 })[p] = r), n .css("opacity", 0) .css(p, f ? 2 * -l : 2 * l) .animate(s, u, d)), a && (l /= Math.pow(2, h - 1)), (s = {})[p] = r; g < h; g++ ) ((i = {})[p] = (f ? "-=" : "+=") + l), n.animate(i, u, d).animate(s, u, d), (l = a ? 2 * l : l / 2); a && (((i = { opacity: 0 })[p] = (f ? "-=" : "+=") + l), n.animate(i, u, d)), n.queue(e), V.effects.unshift(n, t, 1 + c); }), V.effects.define("clip", "hide", function (t, e) { var i = {}, s = V(this), n = t.direction || "vertical", o = "both" === n, a = o || "horizontal" === n, o = o || "vertical" === n, n = s.cssClip(); (i.clip = { top: o ? (n.bottom - n.top) / 2 : n.top, right: a ? (n.right - n.left) / 2 : n.right, bottom: o ? (n.bottom - n.top) / 2 : n.bottom, left: a ? (n.right - n.left) / 2 : n.left, }), V.effects.createPlaceholder(s), "show" === t.mode && (s.cssClip(i.clip), (i.clip = n)), s.animate(i, { queue: !1, duration: t.duration, easing: t.easing, complete: e, }); }), V.effects.define("drop", "hide", function (t, e) { var i, s = V(this), n = "show" === t.mode, o = t.direction || "left", a = "up" === o || "down" === o ? "top" : "left", o = "up" === o || "left" === o ? "-=" : "+=", r = "+=" == o ? "-=" : "+=", l = { opacity: 0 }; V.effects.createPlaceholder(s), (i = t.distance || s["top" == a ? "outerHeight" : "outerWidth"](!0) / 2), (l[a] = o + i), n && (s.css(l), (l[a] = r + i), (l.opacity = 1)), s.animate(l, { queue: !1, duration: t.duration, easing: t.easing, complete: e, }); }), V.effects.define("explode", "hide", function (t, e) { var i, s, n, o, a, r, l = t.pieces ? Math.round(Math.sqrt(t.pieces)) : 3, h = l, c = V(this), u = "show" === t.mode, d = c.show().css("visibility", "hidden").offset(), p = Math.ceil(c.outerWidth() / h), f = Math.ceil(c.outerHeight() / l), g = []; function m() { g.push(this), g.length === l * h && (c.css({ visibility: "visible" }), V(g).remove(), e()); } for (i = 0; i < l; i++) for (o = d.top + i * f, r = i - (l - 1) / 2, s = 0; s < h; s++) (n = d.left + s * p), (a = s - (h - 1) / 2), c .clone() .appendTo("body") .wrap("
") .css({ position: "absolute", visibility: "visible", left: -s * p, top: -i * f, }) .parent() .addClass("ui-effects-explode") .css({ position: "absolute", overflow: "hidden", width: p, height: f, left: n + (u ? a * p : 0), top: o + (u ? r * f : 0), opacity: u ? 0 : 1, }) .animate( { left: n + (u ? 0 : a * p), top: o + (u ? 0 : r * f), opacity: u ? 1 : 0, }, t.duration || 500, t.easing, m ); }), V.effects.define("fade", "toggle", function (t, e) { var i = "show" === t.mode; V(this) .css("opacity", i ? 0 : 1) .animate( { opacity: i ? 1 : 0 }, { queue: !1, duration: t.duration, easing: t.easing, complete: e } ); }), V.effects.define("fold", "hide", function (e, t) { var i = V(this), s = e.mode, n = "show" === s, s = "hide" === s, o = e.size || 15, a = /([0-9]+)%/.exec(o), r = !!e.horizFirst ? ["right", "bottom"] : ["bottom", "right"], l = e.duration / 2, h = V.effects.createPlaceholder(i), c = i.cssClip(), u = { clip: V.extend({}, c) }, d = { clip: V.extend({}, c) }, p = [c[r[0]], c[r[1]]], f = i.queue().length; a && (o = (parseInt(a[1], 10) / 100) * p[s ? 0 : 1]), (u.clip[r[0]] = o), (d.clip[r[0]] = o), (d.clip[r[1]] = 0), n && (i.cssClip(d.clip), h && h.css(V.effects.clipToBox(d)), (d.clip = c)), i .queue(function (t) { h && h .animate(V.effects.clipToBox(u), l, e.easing) .animate(V.effects.clipToBox(d), l, e.easing), t(); }) .animate(u, l, e.easing) .animate(d, l, e.easing) .queue(t), V.effects.unshift(i, f, 4); }), V.effects.define("highlight", "show", function (t, e) { var i = V(this), s = { backgroundColor: i.css("backgroundColor") }; "hide" === t.mode && (s.opacity = 0), V.effects.saveStyle(i), i .css({ backgroundImage: "none", backgroundColor: t.color || "#ffff99", }) .animate(s, { queue: !1, duration: t.duration, easing: t.easing, complete: e, }); }), V.effects.define("size", function (s, e) { var n, i = V(this), t = ["fontSize"], o = [ "borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom", ], a = [ "borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight", ], r = s.mode, l = "effect" !== r, h = s.scale || "both", c = s.origin || ["middle", "center"], u = i.css("position"), d = i.position(), p = V.effects.scaledDimensions(i), f = s.from || p, g = s.to || V.effects.scaledDimensions(i, 0); V.effects.createPlaceholder(i), "show" === r && ((r = f), (f = g), (g = r)), (n = { from: { y: f.height / p.height, x: f.width / p.width }, to: { y: g.height / p.height, x: g.width / p.width }, }), ("box" !== h && "both" !== h) || (n.from.y !== n.to.y && ((f = V.effects.setTransition(i, o, n.from.y, f)), (g = V.effects.setTransition(i, o, n.to.y, g))), n.from.x !== n.to.x && ((f = V.effects.setTransition(i, a, n.from.x, f)), (g = V.effects.setTransition(i, a, n.to.x, g)))), ("content" !== h && "both" !== h) || (n.from.y !== n.to.y && ((f = V.effects.setTransition(i, t, n.from.y, f)), (g = V.effects.setTransition(i, t, n.to.y, g)))), c && ((r = V.effects.getBaseline(c, p)), (f.top = (p.outerHeight - f.outerHeight) * r.y + d.top), (f.left = (p.outerWidth - f.outerWidth) * r.x + d.left), (g.top = (p.outerHeight - g.outerHeight) * r.y + d.top), (g.left = (p.outerWidth - g.outerWidth) * r.x + d.left)), delete f.outerHeight, delete f.outerWidth, i.css(f), ("content" !== h && "both" !== h) || ((o = o.concat(["marginTop", "marginBottom"]).concat(t)), (a = a.concat(["marginLeft", "marginRight"])), i.find("*[width]").each(function () { var t = V(this), e = V.effects.scaledDimensions(t), i = { height: e.height * n.from.y, width: e.width * n.from.x, outerHeight: e.outerHeight * n.from.y, outerWidth: e.outerWidth * n.from.x, }, e = { height: e.height * n.to.y, width: e.width * n.to.x, outerHeight: e.height * n.to.y, outerWidth: e.width * n.to.x, }; n.from.y !== n.to.y && ((i = V.effects.setTransition(t, o, n.from.y, i)), (e = V.effects.setTransition(t, o, n.to.y, e))), n.from.x !== n.to.x && ((i = V.effects.setTransition(t, a, n.from.x, i)), (e = V.effects.setTransition(t, a, n.to.x, e))), l && V.effects.saveStyle(t), t.css(i), t.animate(e, s.duration, s.easing, function () { l && V.effects.restoreStyle(t); }); })), i.animate(g, { queue: !1, duration: s.duration, easing: s.easing, complete: function () { var t = i.offset(); 0 === g.opacity && i.css("opacity", f.opacity), l || (i.css("position", "static" === u ? "relative" : u).offset(t), V.effects.saveStyle(i)), e(); }, }); }), V.effects.define("scale", function (t, e) { var i = V(this), s = t.mode, s = parseInt(t.percent, 10) || (0 === parseInt(t.percent, 10) || "effect" !== s ? 0 : 100), i = V.extend( !0, { from: V.effects.scaledDimensions(i), to: V.effects.scaledDimensions(i, s, t.direction || "both"), origin: t.origin || ["middle", "center"], }, t ); t.fade && ((i.from.opacity = 1), (i.to.opacity = 0)), V.effects.effect.size.call(this, i, e); }), V.effects.define("puff", "hide", function (t, e) { t = V.extend(!0, {}, t, { fade: !0, percent: parseInt(t.percent, 10) || 150, }); V.effects.effect.scale.call(this, t, e); }), V.effects.define("pulsate", "show", function (t, e) { var i = V(this), s = t.mode, n = "show" === s, o = 2 * (t.times || 5) + (n || "hide" === s ? 1 : 0), a = t.duration / o, r = 0, l = 1, s = i.queue().length; for ( (!n && i.is(":visible")) || (i.css("opacity", 0).show(), (r = 1)); l < o; l++ ) i.animate({ opacity: r }, a, t.easing), (r = 1 - r); i.animate({ opacity: r }, a, t.easing), i.queue(e), V.effects.unshift(i, s, 1 + o); }), V.effects.define("shake", function (t, e) { var i = 1, s = V(this), n = t.direction || "left", o = t.distance || 20, a = t.times || 3, r = 2 * a + 1, l = Math.round(t.duration / r), h = "up" === n || "down" === n ? "top" : "left", n = "up" === n || "left" === n, c = {}, u = {}, d = {}, p = s.queue().length; for ( V.effects.createPlaceholder(s), c[h] = (n ? "-=" : "+=") + o, u[h] = (n ? "+=" : "-=") + 2 * o, d[h] = (n ? "-=" : "+=") + 2 * o, s.animate(c, l, t.easing); i < a; i++ ) s.animate(u, l, t.easing).animate(d, l, t.easing); s .animate(u, l, t.easing) .animate(c, l / 2, t.easing) .queue(e), V.effects.unshift(s, p, 1 + r); }), V.effects.define("slide", "show", function (t, e) { var i, s, n = V(this), o = { up: ["bottom", "top"], down: ["top", "bottom"], left: ["right", "left"], right: ["left", "right"], }, a = t.mode, r = t.direction || "left", l = "up" === r || "down" === r ? "top" : "left", h = "up" === r || "left" === r, c = t.distance || n["top" == l ? "outerHeight" : "outerWidth"](!0), u = {}; V.effects.createPlaceholder(n), (i = n.cssClip()), (s = n.position()[l]), (u[l] = (h ? -1 : 1) * c + s), (u.clip = n.cssClip()), (u.clip[o[r][1]] = u.clip[o[r][0]]), "show" === a && (n.cssClip(u.clip), n.css(l, u[l]), (u.clip = i), (u[l] = s)), n.animate(u, { queue: !1, duration: t.duration, easing: t.easing, complete: e, }); }), (it = !0 === V.uiBackCompat ? V.effects.define("transfer", function (t, e) { V(this).transfer(t, e); }) : it), (V.ui.focusable = function (t, e) { var i, s, n, o = t.nodeName.toLowerCase(); return "area" === o ? ((n = (i = t.parentNode).name), !(!t.href || !n || "map" !== i.nodeName.toLowerCase()) && 0 < (i = V("img[usemap='#" + n + "']")).length && i.is(":visible")) : (/^(input|select|textarea|button|object)$/.test(o) ? (s = !t.disabled) && (n = V(t).closest("fieldset")[0]) && (s = !n.disabled) : (s = ("a" === o && t.href) || e), s && V(t).is(":visible") && "visible" === V(t).css("visibility")); }), V.extend(V.expr.pseudos, { focusable: function (t) { return V.ui.focusable(t, null != V.attr(t, "tabindex")); }, }), V.ui.focusable, (V.ui.formResetMixin = { _formResetHandler: function () { var e = V(this); setTimeout(function () { var t = e.data("ui-form-reset-instances"); V.each(t, function () { this.refresh(); }); }); }, _bindFormResetHandler: function () { var t; (this.form = V(this.element.prop("form"))), this.form.length && ((t = this.form.data("ui-form-reset-instances") || []).length || this.form.on("reset.ui-form-reset", this._formResetHandler), t.push(this), this.form.data("ui-form-reset-instances", t)); }, _unbindFormResetHandler: function () { var t; this.form.length && ((t = this.form.data("ui-form-reset-instances")).splice( V.inArray(this, t), 1 ), t.length ? this.form.data("ui-form-reset-instances", t) : this.form .removeData("ui-form-reset-instances") .off("reset.ui-form-reset")); }, }), V.escapeSelector || (V.escapeSelector = function (t) { return CSS.escape(t + ""); }), (V.fn.even && V.fn.odd) || V.fn.extend({ even: function () { return this.filter(function (t) { return t % 2 == 0; }); }, odd: function () { return this.filter(function (t) { return t % 2 == 1; }); }, }), (V.ui.keyCode = { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38, }), (V.fn.labels = function () { var t, e, i; return this.length ? this[0].labels && this[0].labels.length ? this.pushStack(this[0].labels) : ((e = this.eq(0).parents("label")), (t = this.attr("id")) && ((i = (i = this.eq(0).parents().last()).add( (i.length ? i : this).siblings() )), (t = "label[for='" + CSS.escape(t) + "']"), (e = e.add(i.find(t).addBack(t)))), this.pushStack(e)) : this.pushStack([]); }), (V.fn.scrollParent = function (t) { var e = this.css("position"), i = "absolute" === e, s = t ? /(auto|scroll|hidden)/ : /(auto|scroll)/, t = this.parents() .filter(function () { var t = V(this); return ( (!i || "static" !== t.css("position")) && s.test( t.css("overflow") + t.css("overflow-y") + t.css("overflow-x") ) ); }) .eq(0); return "fixed" !== e && t.length ? t : V(this[0].ownerDocument || document); }), V.extend(V.expr.pseudos, { tabbable: function (t) { var e = V.attr(t, "tabindex"), i = null != e; return (!i || 0 <= e) && V.ui.focusable(t, i); }, }), V.fn.extend({ uniqueId: ((tt = 0), function () { return this.each(function () { this.id || (this.id = "ui-id-" + ++tt); }); }), removeUniqueId: function () { return this.each(function () { /^ui-id-\d+$/.test(this.id) && V(this).removeAttr("id"); }); }, }), V.widget("ui.accordion", { version: "1.14.1", options: { active: 0, animate: {}, classes: { "ui-accordion-header": "ui-corner-top", "ui-accordion-header-collapsed": "ui-corner-all", "ui-accordion-content": "ui-corner-bottom", }, collapsible: !1, event: "click", header: function (t) { return t.find("> li > :first-child").add( t.find("> :not(li)").filter(function (t) { return t % 2 == 0; }) ); }, heightStyle: "auto", icons: { activeHeader: "ui-icon-triangle-1-s", header: "ui-icon-triangle-1-e", }, activate: null, beforeActivate: null, }, hideProps: { borderTopWidth: "hide", borderBottomWidth: "hide", paddingTop: "hide", paddingBottom: "hide", height: "hide", }, showProps: { borderTopWidth: "show", borderBottomWidth: "show", paddingTop: "show", paddingBottom: "show", height: "show", }, _create: function () { var t = this.options; (this.prevShow = this.prevHide = V()), this._addClass("ui-accordion", "ui-widget ui-helper-reset"), this.element.attr("role", "tablist"), t.collapsible || (!1 !== t.active && null != t.active) || (t.active = 0), this._processPanels(), t.active < 0 && (t.active += this.headers.length), this._refresh(); }, _getCreateEventData: function () { return { header: this.active, panel: this.active.length ? this.active.next() : V(), }; }, _createIcons: function () { var t, e = this.options.icons; e && ((t = V("")), this._addClass( t, "ui-accordion-header-icon", "ui-icon " + e.header ), t.prependTo(this.headers), (t = this.active.children(".ui-accordion-header-icon")), this._removeClass(t, e.header) ._addClass(t, null, e.activeHeader) ._addClass(this.headers, "ui-accordion-icons")); }, _destroyIcons: function () { this._removeClass(this.headers, "ui-accordion-icons"), this.headers.children(".ui-accordion-header-icon").remove(); }, _destroy: function () { var t; this.element.removeAttr("role"), this.headers .removeAttr( "role aria-expanded aria-selected aria-controls tabIndex" ) .removeUniqueId(), this._destroyIcons(), (t = this.headers .next() .css("display", "") .removeAttr("role aria-hidden aria-labelledby") .removeUniqueId()), "content" !== this.options.heightStyle && t.css("height", ""); }, _setOption: function (t, e) { "active" === t ? this._activate(e) : ("event" === t && (this.options.event && this._off(this.headers, this.options.event), this._setupEvents(e)), this._super(t, e), "collapsible" !== t || e || !1 !== this.options.active || this._activate(0), "icons" === t && (this._destroyIcons(), e) && this._createIcons()); }, _setOptionDisabled: function (t) { this._super(t), this.element.attr("aria-disabled", t), this._toggleClass(null, "ui-state-disabled", !!t); }, _keydown: function (t) { if (!t.altKey && !t.ctrlKey) { var e = V.ui.keyCode, i = this.headers.length, s = this.headers.index(t.target), n = !1; switch (t.keyCode) { case e.RIGHT: case e.DOWN: n = this.headers[(s + 1) % i]; break; case e.LEFT: case e.UP: n = this.headers[(s - 1 + i) % i]; break; case e.SPACE: case e.ENTER: this._eventHandler(t); break; case e.HOME: n = this.headers[0]; break; case e.END: n = this.headers[i - 1]; } n && (V(t.target).attr("tabIndex", -1), V(n).attr("tabIndex", 0), V(n).trigger("focus"), t.preventDefault()); } }, _panelKeyDown: function (t) { t.keyCode === V.ui.keyCode.UP && t.ctrlKey && V(t.currentTarget).prev().trigger("focus"); }, refresh: function () { var t = this.options; this._processPanels(), (!1 === t.active && !0 === t.collapsible) || !this.headers.length ? ((t.active = !1), (this.active = V())) : !1 === t.active ? this._activate(0) : this.active.length && !V.contains(this.element[0], this.active[0]) ? this.headers.length === this.headers.find(".ui-state-disabled").length ? ((t.active = !1), (this.active = V())) : this._activate(Math.max(0, t.active - 1)) : (t.active = this.headers.index(this.active)), this._destroyIcons(), this._refresh(); }, _processPanels: function () { var t = this.headers, e = this.panels; "function" == typeof this.options.header ? (this.headers = this.options.header(this.element)) : (this.headers = this.element.find(this.options.header)), this._addClass( this.headers, "ui-accordion-header ui-accordion-header-collapsed", "ui-state-default" ), (this.panels = this.headers .next() .filter(":not(.ui-accordion-content-active)") .hide()), this._addClass( this.panels, "ui-accordion-content", "ui-helper-reset ui-widget-content" ), e && (this._off(t.not(this.headers)), this._off(e.not(this.panels))); }, _refresh: function () { var i, t = this.options, e = t.heightStyle, s = this.element.parent(); (this.active = this._findActive(t.active)), this._addClass( this.active, "ui-accordion-header-active", "ui-state-active" )._removeClass(this.active, "ui-accordion-header-collapsed"), this._addClass(this.active.next(), "ui-accordion-content-active"), this.active.next().show(), this.headers .attr("role", "tab") .each(function () { var t = V(this), e = t.uniqueId().attr("id"), i = t.next(), s = i.uniqueId().attr("id"); t.attr("aria-controls", s), i.attr("aria-labelledby", e); }) .next() .attr("role", "tabpanel"), this.headers .not(this.active) .attr({ "aria-selected": "false", "aria-expanded": "false", tabIndex: -1, }) .next() .attr({ "aria-hidden": "true" }) .hide(), this.active.length ? this.active .attr({ "aria-selected": "true", "aria-expanded": "true", tabIndex: 0, }) .next() .attr({ "aria-hidden": "false" }) : this.headers.eq(0).attr("tabIndex", 0), this._createIcons(), this._setupEvents(t.event), "fill" === e ? ((i = s.height()), this.element.siblings(":visible").each(function () { var t = V(this), e = t.css("position"); "absolute" !== e && "fixed" !== e && (i -= t.outerHeight(!0)); }), this.headers.each(function () { i -= V(this).outerHeight(!0); }), this.headers .next() .each(function () { V(this).height( Math.max(0, i - V(this).innerHeight() + V(this).height()) ); }) .css("overflow", "auto")) : "auto" === e && ((i = 0), this.headers .next() .each(function () { var t = V(this).is(":visible"); t || V(this).show(), (i = Math.max(i, V(this).css("height", "").height())), t || V(this).hide(); }) .height(i)); }, _activate: function (t) { t = this._findActive(t)[0]; t !== this.active[0] && ((t = t || this.active[0]), this._eventHandler({ target: t, currentTarget: t, preventDefault: V.noop, })); }, _findActive: function (t) { return "number" == typeof t ? this.headers.eq(t) : V(); }, _setupEvents: function (t) { var i = { keydown: "_keydown" }; t && V.each(t.split(" "), function (t, e) { i[e] = "_eventHandler"; }), this._off(this.headers.add(this.headers.next())), this._on(this.headers, i), this._on(this.headers.next(), { keydown: "_panelKeyDown" }), this._hoverable(this.headers), this._focusable(this.headers); }, _eventHandler: function (t) { var e = this.options, i = this.active, s = V(t.currentTarget), n = s[0] === i[0], o = n && e.collapsible, a = o ? V() : s.next(), r = i.next(), r = { oldHeader: i, oldPanel: r, newHeader: o ? V() : s, newPanel: a, }; t.preventDefault(), (n && !e.collapsible) || !1 === this._trigger("beforeActivate", t, r) || ((e.active = !o && this.headers.index(s)), (this.active = n ? V() : s), this._toggle(r), this._removeClass( i, "ui-accordion-header-active", "ui-state-active" ), e.icons && ((a = i.children(".ui-accordion-header-icon")), this._removeClass(a, null, e.icons.activeHeader)._addClass( a, null, e.icons.header )), n) || (this._removeClass(s, "ui-accordion-header-collapsed")._addClass( s, "ui-accordion-header-active", "ui-state-active" ), e.icons && ((t = s.children(".ui-accordion-header-icon")), this._removeClass(t, null, e.icons.header)._addClass( t, null, e.icons.activeHeader )), this._addClass(s.next(), "ui-accordion-content-active")); }, _toggle: function (t) { var e = t.newPanel, i = this.prevShow.length ? this.prevShow : t.oldPanel; this.prevShow.add(this.prevHide).stop(!0, !0), (this.prevShow = e), (this.prevHide = i), this.options.animate ? this._animate(e, i, t) : (i.hide(), e.show(), this._toggleComplete(t)), i.attr({ "aria-hidden": "true" }), i .prev() .attr({ "aria-selected": "false", "aria-expanded": "false" }), e.length && i.length ? i.prev().attr({ tabIndex: -1, "aria-expanded": "false" }) : e.length && this.headers .filter(function () { return 0 === parseInt(V(this).attr("tabIndex"), 10); }) .attr("tabIndex", -1), e .attr("aria-hidden", "false") .prev() .attr({ "aria-selected": "true", "aria-expanded": "true", tabIndex: 0, }); }, _animate: function (t, i, e) { function s() { o._toggleComplete(e); } var n, o = this, a = 0, r = t.css("box-sizing"), l = t.length && (!i.length || t.index() < i.index()), h = this.options.animate || {}, l = (l && h.down) || h, c = (c = "string" == typeof l ? l : c) || l.easing || h.easing, u = (u = "number" == typeof l ? l : u) || l.duration || h.duration; return i.length ? t.length ? ((n = t.show().outerHeight()), i.animate(this.hideProps, { duration: u, easing: c, step: function (t, e) { e.now = Math.round(t); }, }), void t.hide().animate(this.showProps, { duration: u, easing: c, complete: s, step: function (t, e) { (e.now = Math.round(t)), "height" !== e.prop ? "content-box" === r && (a += e.now) : "content" !== o.options.heightStyle && ((e.now = Math.round(n - i.outerHeight() - a)), (a = 0)); }, })) : i.animate(this.hideProps, u, c, s) : t.animate(this.showProps, u, c, s); }, _toggleComplete: function (t) { var e = t.oldPanel, i = e.prev(); this._removeClass(e, "ui-accordion-content-active"), this._removeClass(i, "ui-accordion-header-active")._addClass( i, "ui-accordion-header-collapsed" ), this._trigger("activate", null, t); }, }), V.widget("ui.menu", { version: "1.14.1", defaultElement: "