vendor: 33,526 bytes, line 1
1var tns = function () { var t = window, e = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.msRequestAnimationFrame || function (t) { return setTimeout(t, 16) }, n = window, i = n.cancelAnimationFrame || n.mozCancelAnimationFrame || function (t) { clearTimeout(t) }; function o() { for (var t, e, n, i = arguments[0] || {}, o = 1, r = arguments.length; o < r; o++)if (null !== (t = arguments[o])) for (e in t) i !== (n = t[e]) && void 0 !== n && (i[e] = n); return i } function r(t) { return 0 <= ["true", "false"].indexOf(t) ? JSON.parse(t) : t } function s(t, e, n, i) { if (i) try { t.setItem(e, n) } catch (t) { } return n } function a() { var t = document, e = t.body; return e || ((e = t.createElement("body")).fake = !0), e } var l = document.documentElement; function c(t) { var e = ""; return t.fake && (e = l.style.overflow, t.style.background = "", t.style.overflow = l.style.overflow = "hidden", l.appendChild(t)), e } function u(t, e) { t.fake && (t.remove(), l.style.overflow = e, l.offsetHeight) } function d(t, e, n, i) { "insertRule" in t ? t.insertRule(e + "{" + n + "}", i) : t.addRule(e, n, i) } function f(t) { return ("insertRule" in t ? t.cssRules : t.rules).length } function h(t, e, n) { for (var i = 0, o = t.length; i < o; i++)e.call(n, t[i], i) } var p = "classList" in document.createElement("_"), m = p ? function (t, e) { return t.classList.contains(e) } : function (t, e) { return 0 <= t.className.indexOf(e) }, g = p ? function (t, e) { m(t, e) || t.classList.add(e) } : function (t, e) { m(t, e) || (t.className += " " + e) }, v = p ? function (t, e) { m(t, e) && t.classList.remove(e) } : function (t, e) { m(t, e) && (t.className = t.className.replace(e, "")) }; function y(t, e) { return t.hasAttribute(e) } function b(t, e) { return t.getAttribute(e) } function w(t) { return void 0 !== t.item } function _(t, e) { if (t = w(t) || t instanceof Array ? t : [t], "[object Object]" === Object.prototype.toString.call(e)) for (var n = t.length; n--;)for (var i in e) t[n].setAttribute(i, e[i]) } function x(t, e) { t = w(t) || t instanceof Array ? t : [t]; for (var n = (e = e instanceof Array ? e : [e]).length, i = t.length; i--;)for (var o = n; o--;)t[i].removeAttribute(e[o]) } function E(t) { for (var e = [], n = 0, i = t.length; n < i; n++)e.push(t[n]); return e } function C(t, e) { "none" !== t.style.display && (t.style.display = "none") } function S(t, e) { "none" === t.style.display && (t.style.display = "") } function T(t) { return "none" !== window.getComputedStyle(t).display } function A(t) { if ("string" == typeof t) { var e = [t], n = t.charAt(0).toUpperCase() + t.substr(1);["Webkit", "Moz", "ms", "O"].forEach((function (i) { "ms" === i && "transform" !== t || e.push(i + n) })), t = e } for (var i = document.createElement("fakeelement"), o = (t.length, 0); o < t.length; o++) { var r = t[o]; if (void 0 !== i.style[r]) return r } return !1 } function I(t, e) { var n = !1; return /^Webkit/.test(t) ? n = "webkit" + e + "End" : /^O/.test(t) ? n = "o" + e + "End" : t && (n = e.toLowerCase() + "end"), n } var P = !1; try { var D = Object.defineProperty({}, "passive", { get: function () { P = !0 } }); window.addEventListener("test", null, D) } catch (t) { } var k = !!P && { passive: !0 }; function O(t, e, n) { for (var i in e) { var o = 0 <= ["touchstart", "touchmove"].indexOf(i) && !n && k; t.addEventListener(i, e[i], o) } } function $(t, e) { for (var n in e) { var i = 0 <= ["touchstart", "touchmove"].indexOf(n) && k; t.removeEventListener(n, e[n], i) } } function N() { return { topics: {}, on: function (t, e) { this.topics[t] = this.topics[t] || [], this.topics[t].push(e) }, off: function (t, e) { if (this.topics[t]) for (var n = 0; n < this.topics[t].length; n++)if (this.topics[t][n] === e) { this.topics[t].splice(n, 1); break } }, emit: function (t, e) { e.type = t, this.topics[t] && this.topics[t].forEach((function (n) { n(e, t) })) } } } Object.keys || (Object.keys = function (t) { var e = []; for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.push(n); return e }), "remove" in Element.prototype || (Element.prototype.remove = function () { this.parentNode && this.parentNode.removeChild(this) }); var L = function (t) { t = o({ container: ".slider", mode: "carousel", axis: "horizontal", items: 1, gutter: 0, edgePadding: 0, fixedWidth: !1, autoWidth: !1, viewportMax: !1, slideBy: 1, center: !1, controls: !0, controlsPosition: "top", controlsText: ["prev", "next"], controlsContainer: !1, prevButton: !1, nextButton: !1, nav: !0, navPosition: "top", navContainer: !1, navAsThumbnails: !1, arrowKeys: !1, speed: 300, autoplay: !1, autoplayPosition: "top", autoplayTimeout: 5e3, autoplayDirection: "forward", autoplayText: ["start", "stop"], autoplayHoverPause: !1, autoplayButton: !1, autoplayButtonOutput: !0, autoplayResetOnVisibility: !0, animateIn: "tns-fadeIn", animateOut: "tns-fadeOut", animateNormal: "tns-normal", animateDelay: !1, loop: !0, rewind: !1, autoHeight: !1, responsive: !1, lazyload: !1, lazyloadSelector: ".tns-lazy-img", touch: !0, mouseDrag: !1, swipeAngle: 15, nested: !1, preventActionWhenRunning: !1, preventScrollOnTouch: !1, freezable: !0, onInit: !1, useLocalStorage: !0 }, t || {}); var n = document, l = window, p = { ENTER: 13, SPACE: 32, LEFT: 37, RIGHT: 39 }, w = {}, P = t.useLocalStorage; if (P) { var D = navigator.userAgent, k = new Date; try { (w = l.localStorage) ? (w.setItem(k, k), P = w.getItem(k) == k, w.removeItem(k)) : P = !1, P || (w = {}) } catch (D) { P = !1 } P && (w.tnsApp && w.tnsApp !== D && ["tC", "tPL", "tMQ", "tTf", "t3D", "tTDu", "tTDe", "tADu", "tADe", "tTE", "tAE"].forEach((function (t) { w.removeItem(t) })), localStorage.tnsApp = D) } var M, H, F, R, j, B, z, W = w.tC ? r(w.tC) : s(w, "tC", function () { var t = document, e = a(), n = c(e), i = t.createElement("div"), o = !1; e.appendChild(i); try { for (var r, s = "(10px * 10)", l = ["calc" + s, "-moz-calc" + s, "-webkit-calc" + s], d = 0; d < 3; d++)if (r = l[d], i.style.width = r, 100 === i.offsetWidth) { o = r.replace(s, ""); break } } catch (t) { } return e.fake ? u(e, n) : i.remove(), o }(), P), q = w.tPL ? r(w.tPL) : s(w, "tPL", function () { var t, e = document, n = a(), i = c(n), o = e.createElement("div"), r = e.createElement("div"), s = ""; o.className = "tns-t-subp2", r.className = "tns-t-ct"; for (var l = 0; l < 70; l++)s += "<div></div>"; return r.innerHTML = s, o.appendChild(r), n.appendChild(o), t = Math.abs(o.getBoundingClientRect().left - r.children[67].getBoundingClientRect().left) < 2, n.fake ? u(n, i) : o.remove(), t }(), P), U = w.tMQ ? r(w.tMQ) : s(w, "tMQ", (H = document, R = c(F = a()), j = H.createElement("div"), z = "@media all and (min-width:1px){.tns-mq-test{position:absolute}}", (B = H.createElement("style")).type = "text/css", j.className = "tns-mq-test", F.appendChild(B), F.appendChild(j), B.styleSheet ? B.styleSheet.cssText = z : B.appendChild(H.createTextNode(z)), M = window.getComputedStyle ? window.getComputedStyle(j).position : j.currentStyle.position, F.fake ? u(F, R) : j.remove(), "absolute" === M), P), V = w.tTf ? r(w.tTf) : s(w, "tTf", A("transform"), P), Y = w.t3D ? r(w.t3D) : s(w, "t3D", function (t) { if (!t) return !1; if (!window.getComputedStyle) return !1; var e, n = document, i = a(), o = c(i), r = n.createElement("p"), s = 9 < t.length ? "-" + t.slice(0, -9).toLowerCase() + "-" : ""; return s += "transform", i.insertBefore(r, null), r.style[t] = "translate3d(1px,1px,1px)", e = window.getComputedStyle(r).getPropertyValue(s), i.fake ? u(i, o) : r.remove(), void 0 !== e && 0 < e.length && "none" !== e }(V), P), X = w.tTDu ? r(w.tTDu) : s(w, "tTDu", A("transitionDuration"), P), K = w.tTDe ? r(w.tTDe) : s(w, "tTDe", A("transitionDelay"), P), Q = w.tADu ? r(w.tADu) : s(w, "tADu", A("animationDuration"), P), Z = w.tADe ? r(w.tADe) : s(w, "tADe", A("animationDelay"), P), G = w.tTE ? r(w.tTE) : s(w, "tTE", I(X, "Transition"), P), J = w.tAE ? r(w.tAE) : s(w, "tAE", I(Q, "Animation"), P), tt = l.console && "function" == typeof l.console.warn, et = ["container", "controlsContainer", "prevButton", "nextButton", "navContainer", "autoplayButton"], nt = {}; if (et.forEach((function (e) { if ("string" == typeof t[e]) { var i = t[e], o = n.querySelector(i); if (nt[e] = i, !o || !o.nodeName) return void (tt && console.warn("Can't find", t[e])); t[e] = o } })), !(t.container.children.length < 1)) { var it = t.responsive, ot = t.nested, rt = "carousel" === t.mode; if (it) { 0 in it && (t = o(t, it[0]), delete it[0]); var st = {}; for (var at in it) { var lt = it[at]; lt = "number" == typeof lt ? { items: lt } : lt, st[at] = lt } it = st, st = null } if (rt || function t(e) { for (var n in e) rt || ("slideBy" === n && (e[n] = "page"), "edgePadding" === n && (e[n] = !1), "autoHeight" === n && (e[n] = !1)), "responsive" === n && t(e[n]) }(t), !rt) { t.axis = "horizontal", t.slideBy = "page", t.edgePadding = !1; var ct = t.animateIn, ut = t.animateOut, dt = t.animateDelay, ft = t.animateNormal } var ht, pt, mt = "horizontal" === t.axis, gt = n.createElement("div"), vt = n.createElement("div"), yt = t.container, bt = yt.parentNode, wt = yt.outerHTML, _t = yt.children, xt = _t.length, Et = Mn(), Ct = !1; it && ni(), rt && (yt.className += " tns-vpfix"); var St, Tt, At, It, Pt, Dt, kt, Ot = t.autoWidth, $t = jn("fixedWidth"), Nt = jn("edgePadding"), Lt = jn("gutter"), Mt = Fn(), Ht = jn("center"), Ft = Ot ? 1 : Math.floor(jn("items")), Rt = jn("slideBy"), jt = t.viewportMax || t.fixedWidthViewportWidth, Bt = jn("arrowKeys"), zt = jn("speed"), Wt = t.rewind, qt = !Wt && t.loop, Ut = jn("autoHeight"), Vt = jn("controls"), Yt = jn("controlsText"), Xt = jn("nav"), Kt = jn("touch"), Qt = jn("mouseDrag"), Zt = jn("autoplay"), Gt = jn("autoplayTimeout"), Jt = jn("autoplayText"), te = jn("autoplayHoverPause"), ee = jn("autoplayResetOnVisibility"), ne = (kt = document.createElement("style"), document.querySelector("head").appendChild(kt), kt.sheet ? kt.sheet : kt.styleSheet), ie = t.lazyload, oe = (t.lazyloadSelector, []), re = qt ? (Pt = function () { if (Ot || $t && !jt) return xt - 1; var e = $t ? "fixedWidth" : "items", n = []; if (($t || t[e] < xt) && n.push(t[e]), it) for (var i in it) { var o = it[i][e]; o && ($t || o < xt) && n.push(o) } return n.length || n.push(0), Math.ceil($t ? jt / Math.min.apply(null, n) : Math.max.apply(null, n)) }(), Dt = rt ? Math.ceil((5 * Pt - xt) / 2) : 4 * Pt - xt, Dt = Math.max(Pt, Dt), Rn("edgePadding") ? Dt + 1 : Dt) : 0, se = rt ? xt + 2 * re : xt + re, ae = !(!$t && !Ot || qt), le = $t ? Pi() : null, ce = !rt || !qt, ue = mt ? "left" : "top", de = "", fe = "", he = $t ? function () { return Ht && !qt ? xt - 1 : Math.ceil(-le / ($t + Lt)) } : Ot ? function () { for (var t = se; t--;)if (St[t] > -le) return t } : function () { return Ht && rt && !qt ? xt - 1 : qt || rt ? Math.max(0, se - Math.ceil(Ft)) : se - 1 }, pe = $n(jn("startIndex")), me = pe, ge = (On(), 0), ve = Ot ? null : he(), ye = t.preventActionWhenRunning, be = t.swipeAngle, we = !be || "?", _e = !1, xe = t.onInit, Ee = new N, Ce = " tns-slider tns-" + t.mode, Se = yt.id || (It = window.tnsId, window.tnsId = It ? It + 1 : 1, "tns" + window.tnsId), Te = jn("disable"), Ae = !1, Ie = t.freezable, Pe = !(!Ie || Ot) && ei(), De = !1, ke = { click: Fi, keydown: function (t) { t = Vi(t); var e = [p.LEFT, p.RIGHT].indexOf(t.keyCode); 0 <= e && (0 === e ? Ge.disabled || Fi(t, -1) : Je.disabled || Fi(t, 1)) } }, Oe = { click: function (t) { if (_e) { if (ye) return; Mi() } for (var e = Yi(t = Vi(t)); e !== on && !y(e, "data-nav");)e = e.parentNode; if (y(e, "data-nav")) { var n = ln = Number(b(e, "data-nav")), i = $t || Ot ? n * xt / sn : n * Ft; Hi(je ? n : Math.min(Math.ceil(i), xt - 1), t), cn === n && (mn && Wi(), ln = -1) } }, keydown: function (t) { t = Vi(t); var e = n.activeElement; if (y(e, "data-nav")) { var i = [p.LEFT, p.RIGHT, p.ENTER, p.SPACE].indexOf(t.keyCode), o = Number(b(e, "data-nav")); 0 <= i && (0 === i ? 0 < o && Ui(nn[o - 1]) : 1 === i ? o < sn - 1 && Ui(nn[o + 1]) : Hi(ln = o, t)) } } }, $e = { mouseover: function () { mn && (ji(), gn = !0) }, mouseout: function () { gn && (Ri(), gn = !1) } }, Ne = { visibilitychange: function () { n.hidden ? mn && (ji(), yn = !0) : yn && (Ri(), yn = !1) } }, Le = { keydown: function (t) { t = Vi(t); var e = [p.LEFT, p.RIGHT].indexOf(t.keyCode); 0 <= e && Fi(t, 0 === e ? -1 : 1) } }, Me = { touchstart: Zi, touchmove: Gi, touchend: Ji, touchcancel: Ji }, He = { mousedown: Zi, mousemove: Gi, mouseup: Ji, mouseleave: Ji }, Fe = Rn("controls"), Re = Rn("nav"), je = !!Ot || t.navAsThumbnails, Be = Rn("autoplay"), ze = Rn("touch"), We = Rn("mouseDrag"), qe = "tns-slide-active", Ue = "tns-complete", Ve = { load: function (t) { di(Yi(t)) }, error: function (t) { var e; e = Yi(t), g(e, "failed"), fi(e) } }, Ye = "force" === t.preventScrollOnTouch; if (Fe) var Xe, Ke, Qe = t.controlsContainer, Ze = t.controlsContainer ? t.controlsContainer.outerHTML : "", Ge = t.prevButton, Je = t.nextButton, tn = t.prevButton ? t.prevButton.outerHTML : "", en = t.nextButton ? t.nextButton.outerHTML : ""; if (Re) var nn, on = t.navContainer, rn = t.navContainer ? t.navContainer.outerHTML : "", sn = Ot ? xt : eo(), an = 0, ln = -1, cn = Ln(), un = cn, dn = "tns-nav-active", fn = "Carousel Page ", hn = " (Current Slide)"; if (Be) var pn, mn, gn, vn, yn, bn = "forward" === t.autoplayDirection ? 1 : -1, wn = t.autoplayButton, _n = t.autoplayButton ? t.autoplayButton.outerHTML : "", xn = ["<span class='tns-visually-hidden'>", " animation</span>"]; if (ze || We) var En, Cn, Sn = {}, Tn = {}, An = !1, In = mt ? function (t, e) { return t.x - e.x } : function (t, e) { return t.y - e.y }; Ot || kn(Te || Pe), V && (ue = V, de = "translate", Y ? (de += mt ? "3d(" : "3d(0px, ", fe = mt ? ", 0px, 0px)" : ", 0px)") : (de += mt ? "X(" : "Y(", fe = ")")), rt && (yt.className = yt.className.replace("tns-vpfix", "")), function () { (Rn("gutter"), gt.className = "tns-outer", vt.className = "tns-inner", gt.id = Se + "-ow", vt.id = Se + "-iw", "" === yt.id && (yt.id = Se), Ce += q || Ot ? " tns-subpixel" : " tns-no-subpixel", Ce += W ? " tns-calc" : " tns-no-calc", Ot && (Ce += " tns-autowidth"), Ce += " tns-" + t.axis, yt.className += Ce, rt ? ((ht = n.createElement("div")).id = Se + "-mw", ht.className = "tns-ovh", gt.appendChild(ht), ht.appendChild(vt)) : gt.appendChild(vt), Ut) && ((ht || vt).className += " tns-ah"); if (bt.insertBefore(gt, yt), vt.appendChild(yt), h(_t, (function (t, e) { g(t, "tns-item"), t.id || (t.id = Se + "-item" + e), !rt && ft && g(t, ft), _(t, { "aria-hidden": "true", tabindex: "-1" }) })), re) { for (var e = n.createDocumentFragment(), i = n.createDocumentFragment(), o = re; o--;) { var r = o % xt, s = _t[r].cloneNode(!0); if (x(s, "id"), i.insertBefore(s, i.firstChild), rt) { var a = _t[xt - 1 - r].cloneNode(!0); x(a, "id"), e.appendChild(a) } } yt.insertBefore(e, yt.firstChild), yt.appendChild(i), _t = yt.children } }(), function () { if (!rt) for (var e = pe, n = pe + Math.min(xt, Ft); e < n; e++) { var i = _t[e]; i.style.left = 100 * (e - pe) / Ft + "%", g(i, ct), v(i, ft) } if (mt && (q || Ot ? (d(ne, "#" + Se + " > .tns-item", "font-size:" + l.getComputedStyle(_t[0]).fontSize + ";", f(ne)), d(ne, "#" + Se, "font-size:0;", f(ne))) : rt && h(_t, (function (t, e) { var n; t.style.marginLeft = (n = e, W ? W + "(" + 100 * n + "% / " + se + ")" : 100 * n / se + "%") }))), U) { if (X) { var o = ht && t.autoHeight ? Vn(t.speed) : ""; d(ne, "#" + Se + "-mw", o, f(ne)) } o = Bn(t.edgePadding, t.gutter, t.fixedWidth, t.speed, t.autoHeight), d(ne, "#" + Se + "-iw", o, f(ne)), rt && (o = mt && !Ot ? "width:" + zn(t.fixedWidth, t.gutter, t.items) + ";" : "", X && (o += Vn(zt)), d(ne, "#" + Se, o, f(ne))), o = mt && !Ot ? Wn(t.fixedWidth, t.gutter, t.items) : "", t.gutter && (o += qn(t.gutter)), rt || (X && (o += Vn(zt)), Q && (o += Yn(zt))), o && d(ne, "#" + Se + " > .tns-item", o, f(ne)) } else { vi(), vt.style.cssText = Bn(Nt, Lt, $t, Ut), rt && mt && !Ot && (yt.style.width = zn($t, Lt, Ft)); o = mt && !Ot ? Wn($t, Lt, Ft) : ""; Lt && (o += qn(Lt)), o && d(ne, "#" + Se + " > .tns-item", o, f(ne)) } if (it && U) for (var r in it) { r = parseInt(r); var s = it[r], a = (o = "", ""), c = "", u = "", p = "", m = Ot ? null : jn("items", r), y = jn("fixedWidth", r), b = jn("speed", r), w = jn("edgePadding", r), _ = jn("autoHeight", r), x = jn("gutter", r); X && ht && jn("autoHeight", r) && "speed" in s && (a = "#" + Se + "-mw{" + Vn(b) + "}"), ("edgePadding" in s || "gutter" in s) && (c = "#" + Se + "-iw{" + Bn(w, x, y, b, _) + "}"), rt && mt && !Ot && ("fixedWidth" in s || "items" in s || $t && "gutter" in s) && (u = "width:" + zn(y, x, m) + ";"), X && "speed" in s && (u += Vn(b)), u && (u = "#" + Se + "{" + u + "}"), ("fixedWidth" in s || $t && "gutter" in s || !rt && "items" in s) && (p += Wn(y, x, m)), "gutter" in s && (p += qn(x)), !rt && "speed" in s && (X && (p += Vn(b)), Q && (p += Yn(b))), p && (p = "#" + Se + " > .tns-item{" + p + "}"), (o = a + c + u + p) && ne.insertRule("@media (min-width: " + r / 16 + "em) {" + o + "}", ne.cssRules.length) } }(), Xn(); var Pn = qt ? rt ? function () { var t = ge, e = ve; t += Rt, e -= Rt, Nt ? (t += 1, e -= 1) : $t && (Mt + Lt) % ($t + Lt) && (e -= 1), re && (e < pe ? pe -= xt : pe < t && (pe += xt)) } : function () { if (ve < pe) for (; ge + xt <= pe;)pe -= xt; else if (pe < ge) for (; pe <= ve - xt;)pe += xt } : function () { pe = Math.max(ge, Math.min(ve, pe)) }, Dn = rt ? function () { var t, e, n, i, o, r, s, a, l, c, u; Ai(yt, ""), X || !zt ? (Oi(), zt && T(yt) || Mi()) : (t = yt, e = ue, n = de, i = fe, o = Di(), r = zt, s = Mi, a = Math.min(r, 10), l = 0 <= o.indexOf("%") ? "%" : "px", o = o.replace(l, ""), c = Number(t.style[e].replace(n, "").replace(i, "").replace(l, "")), u = (o - c) / r * a, setTimeout((function o() { r -= a, c += u, t.style[e] = n + c + l + i, 0 < r ? setTimeout(o, a) : s() }), a)), mt || to() } : function () { oe = []; var t = {}; t[G] = t[J] = Mi, $(_t[me], t), O(_t[pe], t), $i(me, ct, ut, !0), $i(pe, ft, ct), G && J && zt && T(yt) || Mi() }; return { version: "2.9.1", getInfo: io, events: Ee, goTo: Hi, play: function () { Zt && !mn && (zi(), vn = !1) }, pause: function () { mn && (Wi(), vn = !0) }, isOn: Ct, updateSliderHeight: bi, refresh: Xn, destroy: function () { if (ne.disabled = !0, ne.ownerNode && ne.ownerNode.remove(), $(l, { resize: Jn }), Bt && $(n, Le), Qe && $(Qe, ke), on && $(on, Oe), $(yt, $e), $(yt, Ne), wn && $(wn, { click: qi }), Zt && clearInterval(pn), rt && G) { var e = {}; e[G] = Mi, $(yt, e) } Kt && $(yt, Me), Qt && $(yt, He); var i = [wt, Ze, tn, en, rn, _n]; for (var o in et.forEach((function (e, n) { var o = "container" === e ? gt : t[e]; if ("object" == typeof o) { var r = !!o.previousElementSibling && o.previousElementSibling, s = o.parentNode; o.outerHTML = i[n], t[e] = r ? r.nextElementSibling : s.firstElementChild } })), et = ct = ut = dt = ft = mt = gt = vt = yt = bt = wt = _t = xt = pt = Et = Ot = $t = Nt = Lt = Mt = Ft = Rt = jt = Bt = zt = Wt = qt = Ut = ne = ie = St = oe = re = se = ae = le = ce = ue = de = fe = he = pe = me = ge = ve = be = we = _e = xe = Ee = Ce = Se = Te = Ae = Ie = Pe = De = ke = Oe = $e = Ne = Le = Me = He = Fe = Re = je = Be = ze = We = qe = Ue = Ve = Tt = Vt = Yt = Qe = Ze = Ge = Je = Xe = Ke = Xt = on = rn = nn = sn = an = ln = cn = un = dn = fn = hn = Zt = Gt = bn = Jt = te = wn = _n = ee = xn = pn = mn = gn = vn = yn = Sn = Tn = En = An = Cn = In = Kt = Qt = null, this) "rebuild" !== o && (this[o] = null); Ct = !1 }, rebuild: function () { return L(o(t, nt)) } } } function kn(t) { t && (Vt = Xt = Kt = Qt = Bt = Zt = te = ee = !1) } function On() { for (var t = rt ? pe - re : pe; t < 0;)t += xt; return t % xt + 1 } function $n(t) { return t = t ? Math.max(0, Math.min(qt ? xt - 1 : xt - Ft, t)) : 0, rt ? t + re : t } function Nn(t) { for (null == t && (t = pe), rt && (t -= re); t < 0;)t += xt; return Math.floor(t % xt) } function Ln() { var t, e = Nn(); return t = je ? e : $t || Ot ? Math.ceil((e + 1) * sn / xt - 1) : Math.floor(e / Ft), !qt && rt && pe === ve && (t = sn - 1), t } function Mn() { return l.innerWidth || n.documentElement.clientWidth || n.body.clientWidth } function Hn(t) { return "top" === t ? "afterbegin" : "beforeend" } function Fn() { var t = Nt ? 2 * Nt - Lt : 0; return function t(e) { var i, o, r = n.createElement("div"); return e.appendChild(r), o = (i = r.getBoundingClientRect()).right - i.left, r.remove(), o || t(e.parentNode) }(bt) - t } function Rn(e) { if (t[e]) return !0; if (it) for (var n in it) if (it[n][e]) return !0; return !1 } function jn(e, n) { if (null == n && (n = Et), "items" === e && $t) return Math.floor((Mt + Lt) / ($t + Lt)) || 1; var i = t[e]; if (it) for (var o in it) n >= parseInt(o) && e in it[o] && (i = it[o][e]); return "slideBy" === e && "page" === i && (i = jn("items")), rt || "slideBy" !== e && "items" !== e || (i = Math.floor(i)), i } function Bn(t, e, n, i, o) { var r = ""; if (void 0 !== t) { var s = t; e && (s -= e), r = mt ? "margin: 0 " + s + "px 0 " + t + "px;" : "margin: " + t + "px 0 " + s + "px 0;" } else if (e && !n) { var a = "-" + e + "px"; r = "margin: 0 " + (mt ? a + " 0 0" : "0 " + a + " 0") + ";" } return !rt && o && X && i && (r += Vn(i)), r } function zn(t, e, n) { return t ? (t + e) * se + "px" : W ? W + "(" + 100 * se + "% / " + n + ")" : 100 * se / n + "%" } function Wn(t, e, n) { var i; if (t) i = t + e + "px"; else { rt || (n = Math.floor(n)); var o = rt ? se : n; i = W ? W + "(100% / " + o + ")" : 100 / o + "%" } return i = "width:" + i, "inner" !== ot ? i + ";" : i + " !important;" } function qn(t) { var e = ""; return !1 !== t && (e = (mt ? "padding-" : "margin-") + (mt ? "right" : "bottom") + ": " + t + "px;"), e } function Un(t, e) { var n = t.substring(0, t.length - e).toLowerCase(); return n && (n = "-" + n + "-"), n } function Vn(t) { return Un(X, 18) + "transition-duration:" + t / 1e3 + "s;" } function Yn(t) { return Un(Q, 17) + "animation-duration:" + t / 1e3 + "s;" } function Xn() { if (Rn("autoHeight") || Ot || !mt) { var t = yt.querySelectorAll("img"); h(t, (function (t) { var e = t.src; e && e.indexOf("data:image") < 0 ? (O(t, Ve), t.src = "", t.src = e, g(t, "loading")) : ie || di(t) })), e((function () { mi(E(t), (function () { Tt = !0 })) })), !Ot && mt && (t = hi(pe, Math.min(pe + Ft - 1, se - 1))), ie ? Kn() : e((function () { mi(E(t), Kn) })) } else rt && ki(), Zn(), Gn() } function Kn() { if (Ot) { var t = qt ? pe : xt - 1; !function e() { _t[t - 1].getBoundingClientRect().right.toFixed(2) === _t[t].getBoundingClientRect().left.toFixed(2) ? Qn() : setTimeout((function () { e() }), 16) }() } else Qn() } function Qn() { mt && !Ot || (wi(), Ot ? (le = Pi(), Ie && (Pe = ei()), ve = he(), kn(Te || Pe)) : to()), rt && ki(), Zn(), Gn() } function Zn() { if (_i(), gt.insertAdjacentHTML("afterbegin", '<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">' + li() + "</span> of " + xt + "</div>"), At = gt.querySelector(".tns-liveregion .current"), Be) { var e = Zt ? "stop" : "start"; wn ? _(wn, { "data-action": e }) : t.autoplayButtonOutput && (gt.insertAdjacentHTML(Hn(t.autoplayPosition), '<button data-action="' + e + '">' + xn[0] + e + xn[1] + Jt[0] + "</button>"), wn = gt.querySelector("[data-action]")), wn && O(wn, { click: qi }), Zt && (zi(), te && O(yt, $e), ee && O(yt, Ne)) } if (Re) { if (on) _(on, { "aria-label": "Carousel Pagination" }), h(nn = on.children, (function (t, e) { _(t, { "data-nav": e, tabindex: "-1", "aria-label": fn + (e + 1), "aria-controls": Se }) })); else { for (var n = "", i = je ? "" : 'style="display:none"', o = 0; o < xt; o++)n += '<button data-nav="' + o + '" tabindex="-1" aria-controls="' + Se + '" ' + i + ' aria-label="' + fn + (o + 1) + '"></button>'; n = '<div class="tns-nav" aria-label="Carousel Pagination">' + n + "</div>", gt.insertAdjacentHTML(Hn(t.navPosition), n), on = gt.querySelector(".tns-nav"), nn = on.children } if (no(), X) { var r = X.substring(0, X.length - 18).toLowerCase(), s = "transition: all " + zt / 1e3 + "s"; r && (s = "-" + r + "-" + s), d(ne, "[aria-controls^=" + Se + "-item]", s, f(ne)) } _(nn[cn], { "aria-label": fn + (cn + 1) + hn }), x(nn[cn], "tabindex"), g(nn[cn], dn), O(on, Oe) } Fe && (Qe || Ge && Je || (gt.insertAdjacentHTML(Hn(t.controlsPosition), '<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button data-controls="prev" tabindex="-1" aria-controls="' + Se + '">' + Yt[0] + '</button><button data-controls="next" tabindex="-1" aria-controls="' + Se + '">' + Yt[1] + "</button></div>"), Qe = gt.querySelector(".tns-controls")), Ge && Je || (Ge = Qe.children[0], Je = Qe.children[1]), t.controlsContainer && _(Qe, { "aria-label": "Carousel Navigation", tabindex: "0" }), (t.controlsContainer || t.prevButton && t.nextButton) && _([Ge, Je], { "aria-controls": Se, tabindex: "-1" }), (t.controlsContainer || t.prevButton && t.nextButton) && (_(Ge, { "data-controls": "prev" }), _(Je, { "data-controls": "next" })), Xe = Ei(Ge), Ke = Ei(Je), Ti(), Qe ? O(Qe, ke) : (O(Ge, ke), O(Je, ke))), ii() } function Gn() { if (rt && G) { var e = {}; e[G] = Mi, O(yt, e) } Kt && O(yt, Me, t.preventScrollOnTouch), Qt && O(yt, He), Bt && O(n, Le), "inner" === ot ? Ee.on("outerResized", (function () { ti(), Ee.emit("innerLoaded", io()) })) : (it || $t || Ot || Ut || !mt) && O(l, { resize: Jn }), Ut && ("outer" === ot ? Ee.on("innerLoaded", pi) : Te || pi()), ui(), Te ? si() : Pe && ri(), Ee.on("indexChanged", gi), "inner" === ot && Ee.emit("innerLoaded", io()), "function" == typeof xe && xe(io()), Ct = !0 } function Jn(t) { e((function () { ti(Vi(t)) })) } function ti(e) { if (Ct) { "outer" === ot && Ee.emit("outerResized", io(e)), Et = Mn(); var i, o = pt, r = !1; it && (ni(), (i = o !== pt) && Ee.emit("newBreakpointStart", io(e))); var s, a, l, c, u = Ft, p = Te, m = Pe, y = Bt, b = Vt, w = Xt, _ = Kt, x = Qt, E = Zt, T = te, A = ee, I = pe; if (i) { var P = $t, D = Ut, k = Yt, N = Ht, L = Jt; if (!U) var M = Lt, H = Nt } if (Bt = jn("arrowKeys"), Vt = jn("controls"), Xt = jn("nav"), Kt = jn("touch"), Ht = jn("center"), Qt = jn("mouseDrag"), Zt = jn("autoplay"), te = jn("autoplayHoverPause"), ee = jn("autoplayResetOnVisibility"), i && (Te = jn("disable"), $t = jn("fixedWidth"), zt = jn("speed"), Ut = jn("autoHeight"), Yt = jn("controlsText"), Jt = jn("autoplayText"), Gt = jn("autoplayTimeout"), U || (Nt = jn("edgePadding"), Lt = jn("gutter"))), kn(Te), Mt = Fn(), mt && !Ot || Te || (wi(), mt || (to(), r = !0)), ($t || Ot) && (le = Pi(), ve = he()), (i || $t) && (Ft = jn("items"), Rt = jn("slideBy"), (a = Ft !== u) && ($t || Ot || (ve = he()), Pn())), i && Te !== p && (Te ? si() : function () { if (Ae) { if (ne.disabled = !1, yt.className += Ce, ki(), qt) for (var t = re; t--;)rt && S(_t[t]), S(_t[se - t - 1]); if (!rt) for (var e = pe, n = pe + xt; e < n; e++) { var i = _t[e], o = e < pe + Ft ? ct : ft; i.style.left = 100 * (e - pe) / Ft + "%", g(i, o) } oi(), Ae = !1 } }()), Ie && (i || $t || Ot) && (Pe = ei()) !== m && (Pe ? (Oi(Di($n(0))), ri()) : (function () { if (De) { if (Nt && U && (vt.style.margin = ""), re) for (var t = "tns-transparent", e = re; e--;)rt && v(_t[e], t), v(_t[se - e - 1], t); oi(), De = !1 } }(), r = !0)), kn(Te || Pe), Zt || (te = ee = !1), Bt !== y && (Bt ? O(n, Le) : $(n, Le)), Vt !== b && (Vt ? Qe ? S(Qe) : (Ge && S(Ge), Je && S(Je)) : Qe ? C(Qe) : (Ge && C(Ge), Je && C(Je))), Xt !== w && (Xt ? S(on) : C(on)), Kt !== _ && (Kt ? O(yt, Me, t.preventScrollOnTouch) : $(yt, Me)), Qt !== x && (Qt ? O(yt, He) : $(yt, He)), Zt !== E && (Zt ? (wn && S(wn), mn || vn || zi()) : (wn && C(wn), mn && Wi())), te !== T && (te ? O(yt, $e) : $(yt, $e)), ee !== A && (ee ? O(n, Ne) : $(n, Ne)), i) { if ($t === P && Ht === N || (r = !0), Ut !== D && (Ut || (vt.style.height = "")), Vt && Yt !== k && (Ge.innerHTML = Yt[0], Je.innerHTML = Yt[1]), wn && Jt !== L) { var F = Zt ? 1 : 0, R = wn.innerHTML, j = R.length - L[F].length; R.substring(j) === L[F] && (wn.innerHTML = R.substring(0, j) + Jt[F]) } } else Ht && ($t || Ot) && (r = !0); if ((a || $t && !Ot) && (sn = eo(), no()), (s = pe !== I) ? (Ee.emit("indexChanged", io()), r = !0) : a ? s || gi() : ($t || Ot) && (ui(), _i(), ai()), !a && rt || function () { for (var t = pe + Math.min(xt, Ft), e = se; e--;) { var n = _t[e]; pe <= e && e < t ? (g(n, "tns-moving"), n.style.left = 100 * (e - pe) / Ft + "%", g(n, ct), v(n, ft)) : n.style.left && (n.style.left = "", g(n, ft), v(n, ct)), v(n, ut) } setTimeout((function () { h(_t, (function (t) { v(t, "tns-moving") })) }), 300) }(), !Te && !Pe) { if (i && !U && (Ut === autoheightTem && zt === speedTem || vi(), Nt === H && Lt === M || (vt.style.cssText = Bn(Nt, Lt, $t, zt, Ut)), mt)) { rt && (yt.style.width = zn($t, Lt, Ft)); var B = Wn($t, Lt, Ft) + qn(Lt); c = f(l = ne) - 1, "deleteRule" in l ? l.deleteRule(c) : l.removeRule(c), d(ne, "#" + Se + " > .tns-item", B, f(ne)) } Ut && pi(), r && (ki(), me = pe) } i && Ee.emit("newBreakpointEnd", io(e)) } } function ei() { if (!$t && !Ot) return xt <= (Ht ? Ft - (Ft - 1) / 2 : Ft); var t = $t ? ($t + Lt) * xt : St[xt], e = Nt ? Mt + 2 * Nt : Mt + Lt; return Ht && (e -= $t ? (Mt - $t) / 2 : (Mt - (St[pe + 1] - St[pe] - Lt)) / 2), t <= e } function ni() { for (var t in pt = 0, it) (t = parseInt(t)) <= Et && (pt = t) } function ii() { !Zt && wn && C(wn), !Xt && on && C(on), Vt || (Qe ? C(Qe) : (Ge && C(Ge), Je && C(Je))) } function oi() { Zt && wn && S(wn), Xt && on && S(on), Vt && (Qe ? S(Qe) : (Ge && S(Ge), Je && S(Je))) } function ri() { if (!De) { if (Nt && (vt.style.margin = "0px"), re) for (var t = "tns-transparent", e = re; e--;)rt && g(_t[e], t), g(_t[se - e - 1], t); ii(), De = !0 } } function si() { if (!Ae) { if (ne.disabled = !0, yt.className = yt.className.replace(Ce.substring(1), ""), x(yt, ["style"]), qt) for (var t = re; t--;)rt && C(_t[t]), C(_t[se - t - 1]); if (mt && rt || x(vt, ["style"]), !rt) for (var e = pe, n = pe + xt; e < n; e++) { var i = _t[e]; x(i, ["style"]), v(i, ct), v(i, ft) } ii(), Ae = !0 } } function ai() { var t = li(); At.innerHTML !== t && (At.innerHTML = t) } function li() { var t = ci(), e = t[0] + 1, n = t[1] + 1; return e === n ? e + "" : e + " to " + n } function ci(t) { null == t && (t = Di()); var e, n, i, o = pe; if (Ht || Nt ? (Ot || $t) && (n = -(parseFloat(t) + Nt), i = n + Mt + 2 * Nt) : Ot && (n = St[pe], i = n + Mt), Ot) St.forEach((function (t, r) { r < se && ((Ht || Nt) && t <= n + .5 && (o = r), .5 <= i - t && (e = r)) })); else { if ($t) { var r = $t + Lt; Ht || Nt ? (o = Math.floor(n / r), e = Math.ceil(i / r - 1)) : e = o + Math.ceil(Mt / r) - 1 } else if (Ht || Nt) { var s = Ft - 1; if (Ht ? (o -= s / 2, e = pe + s / 2) : e = pe + s, Nt) { var a = Nt * Ft / Mt; o -= a, e += a } o = Math.floor(o), e = Math.ceil(e) } else e = o + Ft - 1; o = Math.max(o, 0), e = Math.min(e, se - 1) } return [o, e] } function ui() { ie && !Te && hi.apply(null, ci()).forEach((function (t) { if (!m(t, Ue)) { var e = {}; e[G] = function (t) { t.stopPropagation() }, O(t, e), O(t, Ve), t.src = b(t, "data-src"); var n = b(t, "data-srcset"); n && (t.srcset = n), g(t, "loading") } })) } function di(t) { g(t, "loaded"), fi(t) } function fi(t) { g(t, "tns-complete"), v(t, "loading"), $(t, Ve) } function hi(t, e) { for (var n = []; t <= e;)h(_t[t].querySelectorAll("img"), (function (t) { n.push(t) })), t++; return n } function pi() { var t = hi.apply(null, ci()); e((function () { mi(t, bi) })) } function mi(t, n) { return Tt ? n() : (t.forEach((function (e, n) { m(e, Ue) && t.splice(n, 1) })), t.length ? void e((function () { mi(t, n) })) : n()) } function gi() { ui(), _i(), ai(), Ti(), function () { if (Xt && (cn = 0 <= ln ? ln : Ln(), ln = -1, cn !== un)) { var t = nn[un], e = nn[cn]; _(t, { tabindex: "-1", "aria-label": fn + (un + 1) }), v(t, dn), _(e, { "aria-label": fn + (cn + 1) + hn }), x(e, "tabindex"), g(e, dn), un = cn } }() } function vi() { rt && Ut && (ht.style[X] = zt / 1e3 + "s") } function yi(t, e) { for (var n = [], i = t, o = Math.min(t + e, se); i < o; i++)n.push(_t[i].offsetHeight); return Math.max.apply(null, n) } function bi() { var t = Ut ? yi(pe, Ft) : yi(re, xt), e = ht || vt; e.style.height !== t && (e.style.height = t + "px") } function wi() { St = [0]; var t = mt ? "left" : "top", e = mt ? "right" : "bottom", n = _t[0].getBoundingClientRect()[t]; h(_t, (function (i, o) { o && St.push(i.getBoundingClientRect()[t] - n), o === se - 1 && St.push(i.getBoundingClientRect()[e] - n) })) } function _i() { var t = ci(), e = t[0], n = t[1]; h(_t, (function (t, i) { e <= i && i <= n ? y(t, "aria-hidden") && (x(t, ["aria-hidden", "tabindex"]), g(t, qe)) : y(t, "aria-hidden") || (_(t, { "aria-hidden": "true", tabindex: "-1" }), v(t, qe)) })) } function xi(t) { return t.nodeName.toLowerCase() } function Ei(t) { return "button" === xi(t) } function Ci(t) { return "true" === t.getAttribute("aria-disabled") } function Si(t, e, n) { t ? e.disabled = n : e.setAttribute("aria-disabled", n.toString()) } function Ti() { if (Vt && !Wt && !qt) { var t = Xe ? Ge.disabled : Ci(Ge), e = Ke ? Je.disabled : Ci(Je), n = pe <= ge, i = !Wt && ve <= pe; n && !t && Si(Xe, Ge, !0), !n && t && Si(Xe, Ge, !1), i && !e && Si(Ke, Je, !0), !i && e && Si(Ke, Je, !1) } } function Ai(t, e) { X && (t.style[X] = e) } function Ii(t) { return null == t && (t = pe), Ot ? (Mt - (Nt ? Lt : 0)
1- (St[t + 1] - St[t] - Lt)) / 2 : $t ? (Mt - $t) / 2 : (Ft - 1) / 2 } function Pi() { var t = Mt + (Nt ? Lt : 0) - ($t ? ($t + Lt) * se : St[se]); return Ht && !qt && (t = $t ? -($t + Lt) * (se - 1) - Ii() : Ii(se - 1) - St[se - 1]), 0 < t && (t = 0), t } function Di(t) { var e; if (null == t && (t = pe), mt && !Ot) if ($t) e = -($t + Lt) * t, Ht && (e += Ii()); else { var n = V ? se : Ft; Ht && (t -= Ii()), e = 100 * -t / n } else e = -St[t], Ht && Ot && (e += Ii()); return ae && (e = Math.max(e, le)), e + (!mt || Ot || $t ? "px" : "%") } function ki(t) { Ai(yt, "0s"), Oi(t) } function Oi(t) { null == t && (t = Di()), yt.style[ue] = de + t + fe } function $i(t, e, n, i) { var o = t + Ft; qt || (o = Math.min(o, se)); for (var r = t; r < o; r++) { var s = _t[r]; i || (s.style.left = 100 * (r - pe) / Ft + "%"), dt && K && (s.style[K] = s.style[Z] = dt * (r - t) / 1e3 + "s"), v(s, e), g(s, n), i && oe.push(s) } } function Ni(t, e) { ce && Pn(), (pe !== me || e) && (Ee.emit("indexChanged", io()), Ee.emit("transitionStart", io()), Ut && pi(), mn && t && 0 <= ["click", "keydown"].indexOf(t.type) && Wi(), _e = !0, Dn()) } function Li(t) { return t.toLowerCase().replace(/-/g, "") } function Mi(t) { if (rt || _e) { if (Ee.emit("transitionEnd", io(t)), !rt && 0 < oe.length) for (var e = 0; e < oe.length; e++) { var n = oe[e]; n.style.left = "", Z && K && (n.style[Z] = "", n.style[K] = ""), v(n, ut), g(n, ft) } if (!t || !rt && t.target.parentNode === yt || t.target === yt && Li(t.propertyName) === Li(ue)) { if (!ce) { var i = pe; Pn(), pe !== i && (Ee.emit("indexChanged", io()), ki()) } "inner" === ot && Ee.emit("innerLoaded", io()), _e = !1, me = pe } } } function Hi(t, e) { if (!Pe) if ("prev" === t) Fi(e, -1); else if ("next" === t) Fi(e, 1); else { if (_e) { if (ye) return; Mi() } var n = Nn(), i = 0; if ("first" === t ? i = -n : "last" === t ? i = rt ? xt - Ft - n : xt - 1 - n : ("number" != typeof t && (t = parseInt(t)), isNaN(t) || (e || (t = Math.max(0, Math.min(xt - 1, t))), i = t - n)), !rt && i && Math.abs(i) < Ft) { var o = 0 < i ? 1 : -1; i += ge <= pe + i - xt ? xt * o : 2 * xt * o * -1 } pe += i, rt && qt && (pe < ge && (pe += xt), ve < pe && (pe -= xt)), Nn(pe) !== Nn(me) && Ni(e) } } function Fi(t, e) { if (_e) { if (ye) return; Mi() } var n; if (!e) { for (var i = Yi(t = Vi(t)); i !== Qe && [Ge, Je].indexOf(i) < 0;)i = i.parentNode; var o = [Ge, Je].indexOf(i); 0 <= o && (n = !0, e = 0 === o ? -1 : 1) } if (Wt) { if (pe === ge && -1 === e) return void Hi("last", t); if (pe === ve && 1 === e) return void Hi("first", t) } e && (pe += Rt * e, Ot && (pe = Math.floor(pe)), Ni(n || t && "keydown" === t.type ? t : null)) } function Ri() { pn = setInterval((function () { Fi(null, bn) }), Gt), mn = !0 } function ji() { clearInterval(pn), mn = !1 } function Bi(t, e) { _(wn, { "data-action": t }), wn.innerHTML = xn[0] + t + xn[1] + e } function zi() { Ri(), wn && Bi("stop", Jt[1]) } function Wi() { ji(), wn && Bi("start", Jt[0]) } function qi() { mn ? (Wi(), vn = !0) : (zi(), vn = !1) } function Ui(t) { t.focus() } function Vi(t) { return Xi(t = t || l.event) ? t.changedTouches[0] : t } function Yi(t) { return t.target || l.event.srcElement } function Xi(t) { return 0 <= t.type.indexOf("touch") } function Ki(t) { t.preventDefault ? t.preventDefault() : t.returnValue = !1 } function Qi() { return r = Tn.y - Sn.y, s = Tn.x - Sn.x, e = Math.atan2(r, s) * (180 / Math.PI), i = !1, 90 - (n = be) <= (o = Math.abs(90 - Math.abs(e))) ? i = "horizontal" : o <= n && (i = "vertical"), i === t.axis; var e, n, i, o, r, s } function Zi(t) { if (_e) { if (ye) return; Mi() } Zt && mn && ji(), An = !0, Cn && (i(Cn), Cn = null); var e = Vi(t); Ee.emit(Xi(t) ? "touchStart" : "dragStart", io(t)), !Xi(t) && 0 <= ["img", "a"].indexOf(xi(Yi(t))) && Ki(t), Tn.x = Sn.x = e.clientX, Tn.y = Sn.y = e.clientY, rt && (En = parseFloat(yt.style[ue].replace(de, "")), Ai(yt, "0s")) } function Gi(t) { if (An) { var n = Vi(t); Tn.x = n.clientX, Tn.y = n.clientY, rt ? Cn || (Cn = e((function () { !function t(n) { if (we) { if (i(Cn), An && (Cn = e((function () { t(n) }))), "?" === we && (we = Qi()), we) { !Ye && Xi(n) && (Ye = !0); try { n.type && Ee.emit(Xi(n) ? "touchMove" : "dragMove", io(n)) } catch (t) { } var o = En, r = In(Tn, Sn); if (!mt || $t || Ot) o += r, o += "px"; else o += V ? r * Ft * 100 / ((Mt + Lt) * se) : 100 * r / (Mt + Lt), o += "%"; yt.style[ue] = de + o + fe } } else An = !1 }(t) }))) : ("?" === we && (we = Qi()), we && (Ye = !0)), Ye && t.preventDefault() } } function Ji(n) { if (An) { Cn && (i(Cn), Cn = null), rt && Ai(yt, ""), An = !1; var o = Vi(n); Tn.x = o.clientX, Tn.y = o.clientY; var r = In(Tn, Sn); if (Math.abs(r)) { if (!Xi(n)) { var s = Yi(n); O(s, { click: function t(e) { Ki(e), $(s, { click: t }) } }) } rt ? Cn = e((function () { if (mt && !Ot) { var t = -r * Ft / (Mt + Lt); t = 0 < r ? Math.floor(t) : Math.ceil(t), pe += t } else { var e = -(En + r); if (e <= 0) pe = ge; else if (e >= St[se - 1]) pe = ve; else for (var i = 0; i < se && e >= St[i];)e > St[pe = i] && r < 0 && (pe += 1), i++ } Ni(n, r), Ee.emit(Xi(n) ? "touchEnd" : "dragEnd", io(n)) })) : we && Fi(n, 0 < r ? -1 : 1) } } "auto" === t.preventScrollOnTouch && (Ye = !1), be && (we = "?"), Zt && !mn && Ri() } function to() { (ht || vt).style.height = St[pe + Ft] - St[pe] + "px" } function eo() { var t = $t ? ($t + Lt) * xt / Mt : xt / Ft; return Math.min(Math.ceil(t), xt) } function no() { if (Xt && !je && sn !== an) { var t = an, e = sn, n = S; for (sn < an && (t = sn, e = an, n = C); t < e;)n(nn[t]), t++; an = sn } } function io(t) { return { container: yt, slideItems: _t, navContainer: on, navItems: nn, controlsContainer: Qe, hasControls: Fe, prevButton: Ge, nextButton: Je, items: Ft, slideBy: Rt, cloneCount: re, slideCount: xt, slideCountNew: se, index: pe, indexCached: me, displayIndex: On(), navCurrentIndex: cn, navCurrentIndexCached: un, pages: sn, pagesCached: an, sheet: ne, isOn: Ct, event: t || {} } } tt && console.warn("No slides found in", t.container) }; return L }(); (function () { var t, e, n, i, o, r = function (t, e) { return function () { return t.apply(e, arguments) } }, s = [].indexOf || function (t) { for (var e = 0, n = this.length; e < n; e++)if (e in this && this[e] === t) return e; return -1 }; e = function () { function t() { } return t.prototype.extend = function (t, e) { var n, i; for (n in e) i = e[n], null == t[n] && (t[n] = i); return t }, t.prototype.isMobile = function (t) { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t) }, t.prototype.createEvent = function (t, e, n, i) { var o; return null == e && (e = !1), null == n && (n = !1), null == i && (i = null), null != document.createEvent ? (o = document.createEvent("CustomEvent")).initCustomEvent(t, e, n, i) : null != document.createEventObject ? (o = document.createEventObject()).eventType = t : o.eventName = t, o }, t.prototype.emitEvent = function (t, e) { return null != t.dispatchEvent ? t.dispatchEvent(e) : e in (null != t) ? t[e]() : "on" + e in (null != t) ? t["on" + e]() : void 0 }, t.prototype.addEvent = function (t, e, n) { return null != t.addEventListener ? t.addEventListener(e, n, !1) : null != t.attachEvent ? t.attachEvent("on" + e, n) : t[e] = n }, t.prototype.removeEvent = function (t, e, n) { return null != t.removeEventListener ? t.removeEventListener(e, n, !1) : null != t.detachEvent ? t.detachEvent("on" + e, n) : delete t[e] }
1, t.prototype.innerHeight = function () { return "innerHeight" in window ? window.innerHeight : document.documentElement.clientHeight }, t }(), n = this.WeakMap || this.MozWeakMap || (n = function () { function t() { this.keys = [], this.values = [] } return t.prototype.get = function (t) { var e, n, i, o; for (e = n = 0, i = (o = this.keys).length; n < i; e = ++n)if (o[e] === t) return this.values[e] }, t.prototype.set = function (t, e) { var n, i, o, r; for (n = i = 0, o = (r = this.keys).length; i < o; n = ++i)if (r[n] === t) return void (this.values[n] = e); return this.keys.push(t), this.values.push(e) }, t }()), t = this.MutationObserver || this.WebkitMutationObserver || this.MozMutationObserver || (t = function () { function t() { "undefined" != typeof console && null !== console && console.warn("MutationObserver is not supported by your browser."), "undefined" != typeof console && null !== console && console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.") } return t.notSupported = !0, t.prototype.observe = function () { }, t }()), i = this.getComputedStyle || function (t, e) { return this.getPropertyValue = function (e) { var n; return "float" === e && (e = "styleFloat"), o.test(e) && e.replace(o, (function (t, e) { return e.toUpperCase() })), (null != (n = t.currentStyle) ? n[e] : void 0) || null }, this }, o = /(\-([a-z]){1})/g, this.WOW = function () { function o(t) { null == t && (t = {}), this.scrollCallback = r(this.scrollCallback, this), this.scrollHandler = r(this.scrollHandler, this), this.resetAnimation = r(this.resetAnimation, this), this.start = r(this.start, this), this.scrolled = !0, this.config = this.util().extend(t, this.defaults), this.animationNameCache = new n, this.wowEvent = this.util().createEvent(this.config.boxClass) } return o.prototype.defaults = { boxClass: "wow", animateClass: "animated", offset: 0, mobile: !0, live: !0, callback: null }, o.prototype.init = function () { var t; return this.element = window.document.documentElement, "interactive" === (t = document.readyState) || "complete" === t ? this.start() : this.util().addEvent(document, "DOMContentLoaded", this.start), this.finished = [] }, o.prototype.start = function () { var e, n, i, o, r; if (this.stopped = !1, this.boxes = function () { var t, n, i, o; for (o = [], t = 0, n = (i = this.element.querySelectorAll("." + this.config.boxClass)).length; t < n; t++)e = i[t], o.push(e); return o }.call(this), this.all = function () { var t, n, i, o; for (o = [], t = 0, n = (i = this.boxes).length; t < n; t++)e = i[t], o.push(e); return o }.call(this), this.boxes.length) if (this.disabled()) this.resetStyle(); else for (n = 0, i = (o = this.boxes).length; n < i; n++)e = o[n], this.applyStyle(e, !0); if (this.disabled() || (this.util().addEvent(window, "scroll", this.scrollHandler), this.util().addEvent(window, "resize", this.scrollHandler), this.interval = setInterval(this.scrollCallback, 50)), this.config.live) return new t((r = this, function (t) { var e, n, i, o, s; for (s = [], e = 0, n = t.length; e < n; e++)o = t[e], s.push(function () { var t, e, n, r; for (r = [], t = 0, e = (n = o.addedNodes || []).length; t < e; t++)i = n[t], r.push(this.doSync(i)); return r }.call(r)); return s })).observe(document.body, { childList: !0, subtree: !0 }) }, o.prototype.stop = function () { if (this.stopped = !0, this.util().removeEvent(window, "scroll", this.scrollHandler), this.util().removeEvent(window, "resize", this.scrollHandler), null != this.interval) return clearInterval(this.interval) }, o.prototype.sync = function (e) { if (t.notSupported) return this.doSync(this.element) }, o.prototype.doSync = function (t) { var e, n, i, o, r; if (null == t && (t = this.element), 1 === t.nodeType) { for (r = [], n = 0, i = (o = (t = t.parentNode || t).querySelectorAll("." + this.config.boxClass)).length; n < i; n++)e = o[n], s.call(this.all, e) < 0 ? (this.boxes.push(e), this.all.push(e), this.stopped || this.disabled() ? this.resetStyle() : this.applyStyle(e, !0), r.push(this.scrolled = !0)) : r.push(void 0); return r } }, o.prototype.show = function (t) { return this.applyStyle(t), t.className = t.className + " " + this.config.animateClass, null != this.config.callback && this.config.callback(t), this.util().emitEvent(t, this.wowEvent), this.util().addEvent(t, "animationend", this.resetAnimation), this.util().addEvent(t, "oanimationend", this.resetAnimation), this.util().addEvent(t, "webkitAnimationEnd", this.resetAnimation), this.util().addEvent(t, "MSAnimationEnd", this.resetAnimation), t }, o.prototype.applyStyle = function (t, e) { var n, i, o, r; return i = t.getAttribute("data-wow-duration"), n = t.getAttribute("data-wow-delay"), o = t.getAttribute("data-wow-iteration"), this.animate((r = this, function () { return r.customStyle(t, e, i, n, o) })) }, o.prototype.animate = "requestAnimationFrame" in window ? function (t) { return window.requestAnimationFrame(t) } : function (t) { return t() }, o.prototype.resetStyle = function () { var t, e, n, i, o; for (o = [], e = 0, n = (i = this.boxes).length; e < n; e++)t = i[e], o.push(t.style.visibility = "visible"); return o }, o.prototype.resetAnimation = function (t) { var e; if (t.type.toLowerCase().indexOf("animationend") >= 0) return (e = t.target || t.srcElement).className = e.className.replace(this.config.animateClass, "").trim() }, o.prototype.customStyle = function (t, e, n, i, o) { return e && this.cacheAnimationName(t), t.style.visibility = e ? "hidden" : "visible", n && this.vendorSet(t.style, { animationDuration: n }), i && this.vendorSet(t.style, { animationDelay: i }), o && this.vendorSet(t.style, { animationIterationCount: o }), this.vendorSet(t.style, { animationName: e ? "none" : this.cachedAnimationName(t) }), t }
1, o.prototype.vendors = ["moz", "webkit"], o.prototype.vendorSet = function (t, e) { var n, i, o, r; for (n in i = [], e) o = e[n], t["" + n] = o, i.push(function () { var e, i, s, a; for (a = [], e = 0, i = (s = this.vendors).length; e < i; e++)r = s[e], a.push(t["" + r + n.charAt(0).toUpperCase() + n.substr(1)] = o); return a }.call(this)); return i }, o.prototype.vendorCSS = function (t, e) { var n, o, r, s, a, l; for (s = (a = i(t)).getPropertyCSSValue(e), n = 0, o = (r = this.vendors).length; n < o; n++)l = r[n], s = s || a.getPropertyCSSValue("-" + l + "-" + e); return s }, o.prototype.animationName = function (t) { var e; try { e = this.vendorCSS(t, "animation-name").cssText } catch (n) { e = i(t).getPropertyValue("animation-name") } return "none" === e ? "" : e }, o.prototype.cacheAnimationName = function (t) { return this.animationNameCache.set(t, this.animationName(t)) }, o.prototype.cachedAnimationName = function (t) { return this.animationNameCache.get(t) }, o.prototype.scrollHandler = function () { return this.scrolled = !0 }, o.prototype.scrollCallback = function () { var t; if (this.scrolled && (this.scrolled = !1, this.boxes = function () { var e, n, i, o; for (o = [], e = 0, n = (i = this.boxes).length; e < n; e++)(t = i[e]) && (this.isVisible(t) ? this.show(t) : o.push(t)); return o }.call(this), !this.boxes.length && !this.config.live)) return this.stop() }, o.prototype.offsetTop = function (t) { for (var e; void 0 === t.offsetTop;)t = t.parentNode; for (e = t.offsetTop; t = t.offsetParent;)e += t.offsetTop; return e }, o.prototype.isVisible = function (t) { var e, n, i, o, r; return n = t.getAttribute("data-wow-offset") || this.config.offset, o = (r = window.pageYOffset) + Math.min(this.element.clientHeight, this.util().innerHeight()) - n, e = (i = this.offsetTop(t)) + t.clientHeight, i <= o && e >= r }, o.prototype.util = function () { return null != this._util ? this._util : this._util = new e }, o.prototype.disabled = function () { return !this.config.mobile && this.util().isMobile(navigator.userAgent) }, o }() }).call(this), function () { var t, e, n, i, o, r = function (t, e) { return function () { return t.apply(e, arguments) } }, s = [].indexOf || function (t) { for (var e = 0, n = this.length; e < n; e++)if (e in this && this[e] === t) return e; return -1 }; e = function () { function t() { } return t.prototype.extend = function (t, e) { var n, i; for (n in e) i = e[n], null == t[n] && (t[n] = i); return t }, t.prototype.isMobile = function (t) { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t) }, t.prototype.createEvent = function (t, e, n, i) { var o; return null == e && (e = !1), null == n && (n = !1), null == i && (i = null), null != document.createEvent ? (o = document.createEvent("CustomEvent")).initCustomEvent(t, e, n, i) : null != document.createEventObject ? (o = document.createEventObject()).eventType = t : o.eventName = t, o }, t.prototype.emitEvent = function (t, e) { return null != t.dispatchEvent ? t.dispatchEvent(e) : e in (null != t) ? t[e]() : "on" + e in (null != t) ? t["on" + e]() : void 0 }, t.prototype.addEvent = function (t, e, n) { return null != t.addEventListener ? t.addEventListener(e, n, !1) : null != t.attachEvent ? t.attachEvent("on" + e, n) : t[e] = n }, t.prototype.removeEvent = function (t, e, n) { return null != t.removeEventListener ? t.removeEventListener(e, n, !1) : null != t.detachEvent ? t.detachEvent("on" + e, n) : delete t[e] }
1, t.prototype.innerHeight = function () { return "innerHeight" in window ? window.innerHeight : document.documentElement.clientHeight }, t }(), n = this.WeakMap || this.MozWeakMap || (n = function () { function t() { this.keys = [], this.values = [] } return t.prototype.get = function (t) { var e, n, i, o; for (e = n = 0, i = (o = this.keys).length; n < i; e = ++n)if (o[e] === t) return this.values[e] }, t.prototype.set = function (t, e) { var n, i, o, r; for (n = i = 0, o = (r = this.keys).length; i < o; n = ++i)if (r[n] === t) return void (this.values[n] = e); return this.keys.push(t), this.values.push(e) }, t }()), t = this.MutationObserver || this.WebkitMutationObserver || this.MozMutationObserver || (t = function () { function t() { "undefined" != typeof console && null !== console && console.warn("MutationObserver is not supported by your browser."), "undefined" != typeof console && null !== console && console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.") } return t.notSupported = !0, t.prototype.observe = function () { }, t }()), i = this.getComputedStyle || function (t, e) { return this.getPropertyValue = function (e) { var n; return "float" === e && (e = "styleFloat"), o.test(e) && e.replace(o, (function (t, e) { return e.toUpperCase() })), (null != (n = t.currentStyle) ? n[e] : void 0) || null }, this }, o = /(\-([a-z]){1})/g, this.WOW = function () { function o(t) { null == t && (t = {}), this.scrollCallback = r(this.scrollCallback, this), this.scrollHandler = r(this.scrollHandler, this), this.resetAnimation = r(this.resetAnimation, this), this.start = r(this.start, this), this.scrolled = !0, this.config = this.util().extend(t, this.defaults), this.animationNameCache = new n, this.wowEvent = this.util().createEvent(this.config.boxClass) } return o.prototype.defaults = { boxClass: "wow", animateClass: "animated", offset: 0, mobile: !0, live: !0, callback: null }, o.prototype.init = function () { var t; return this.element = window.document.documentElement, "interactive" === (t = document.readyState) || "complete" === t ? this.start() : this.util().addEvent(document, "DOMContentLoaded", this.start), this.finished = [] }, o.prototype.start = function () { var e, n, i, o, r; if (this.stopped = !1, this.boxes = function () { var t, n, i, o; for (o = [], t = 0, n = (i = this.element.querySelectorAll("." + this.config.boxClass)).length; t < n; t++)e = i[t], o.push(e); return o }.call(this), this.all = function () { var t, n, i, o; for (o = [], t = 0, n = (i = this.boxes).length; t < n; t++)e = i[t], o.push(e); return o }.call(this), this.boxes.length) if (this.disabled()) this.resetStyle(); else for (n = 0, i = (o = this.boxes).length; n < i; n++)e = o[n], this.applyStyle(e, !0); if (this.disabled() || (this.util().addEvent(window, "scroll", this.scrollHandler), this.util().addEvent(window, "resize", this.scrollHandler), this.interval = setInterval(this.scrollCallback, 50)), this.config.live) return new t((r = this, function (t) { var e, n, i, o, s; for (s = [], e = 0, n = t.length; e < n; e++)o = t[e], s.push(function () { var t, e, n, r; for (r = [], t = 0, e = (n = o.addedNodes || []).length; t < e; t++)i = n[t], r.push(this.doSync(i)); return r }.call(r)); return s })).observe(document.body, { childList: !0, subtree: !0 }) }, o.prototype.stop = function () { if (this.stopped = !0, this.util().removeEvent(window, "scroll", this.scrollHandler), this.util().removeEvent(window, "resize", this.scrollHandler), null != this.interval) return clearInterval(this.interval) }, o.prototype.sync = function (e) { if (t.notSupported) return this.doSync(this.element) }, o.prototype.doSync = function (t) { var e, n, i, o, r; if (null == t && (t = this.element), 1 === t.nodeType) { for (r = [], n = 0, i = (o = (t = t.parentNode || t).querySelectorAll("." + this.config.boxClass)).length; n < i; n++)e = o[n], s.call(this.all, e) < 0 ? (this.boxes.push(e), this.all.push(e), this.stopped || this.disabled() ? this.resetStyle() : this.applyStyle(e, !0), r.push(this.scrolled = !0)) : r.push(void 0); return r } }, o.prototype.show = function (t) { return this.applyStyle(t), t.className = t.className + " " + this.config.animateClass, null != this.config.callback && this.config.callback(t), this.util().emitEvent(t, this.wowEvent), this.util().addEvent(t, "animationend", this.resetAnimation), this.util().addEvent(t, "oanimationend", this.resetAnimation), this.util().addEvent(t, "webkitAnimationEnd", this.resetAnimation), this.util().addEvent(t, "MSAnimationEnd", this.resetAnimation), t }, o.prototype.applyStyle = function (t, e) { var n, i, o, r; return i = t.getAttribute("data-wow-duration"), n = t.getAttribute("data-wow-delay"), o = t.getAttribute("data-wow-iteration"), this.animate((r = this, function () { return r.customStyle(t, e, i, n, o) })) }, o.prototype.animate = "requestAnimationFrame" in window ? function (t) { return window.requestAnimationFrame(t) } : function (t) { return t() }, o.prototype.resetStyle = function () { var t, e, n, i, o; for (o = [], e = 0, n = (i = this.boxes).length; e < n; e++)t = i[e], o.push(t.style.visibility = "visible"); return o }, o.prototype.resetAnimation = function (t) { var e; if (t.type.toLowerCase().indexOf("animationend") >= 0) return (e = t.target || t.srcElement).className = e.className.replace(this.config.animateClass, "").trim() }, o.prototype.customStyle = function (t, e, n, i, o) { return e && this.cacheAnimationName(t), t.style.visibility = e ? "hidden" : "visible", n && this.vendorSet(t.style, { animationDuration: n }), i && this.vendorSet(t.style, { animationDelay: i }), o && this.vendorSet(t.style, { animationIterationCount: o }), this.vendorSet(t.style, { animationName: e ? "none" : this.cachedAnimationName(t) }), t }
1, o.prototype.vendors = ["moz", "webkit"], o.prototype.vendorSet = function (t, e) { var n, i, o, r; for (n in i = [], e) o = e[n], t["" + n] = o, i.push(function () { var e, i, s, a; for (a = [], e = 0, i = (s = this.vendors).length; e < i; e++)r = s[e], a.push(t["" + r + n.charAt(0).toUpperCase() + n.substr(1)] = o); return a }.call(this)); return i }, o.prototype.vendorCSS = function (t, e) { var n, o, r, s, a, l; for (s = (a = i(t)).getPropertyCSSValue(e), n = 0, o = (r = this.vendors).length; n < o; n++)l = r[n], s = s || a.getPropertyCSSValue("-" + l + "-" + e); return s }, o.prototype.animationName = function (t) { var e; try { e = this.vendorCSS(t, "animation-name").cssText } catch (n) { e = i(t).getPropertyValue("animation-name") } return "none" === e ? "" : e }, o.prototype.cacheAnimationName = function (t) { return this.animationNameCache.set(t, this.animationName(t)) }, o.prototype.cachedAnimationName = function (t) { return this.animationNameCache.get(t) }, o.prototype.scrollHandler = function () { return this.scrolled = !0 }, o.prototype.scrollCallback = function () { var t; if (this.scrolled && (this.scrolled = !1, this.boxes = function () { var e, n, i, o; for (o = [], e = 0, n = (i = this.boxes).length; e < n; e++)(t = i[e]) && (this.isVisible(t) ? this.show(t) : o.push(t)); return o }.call(this), !this.boxes.length && !this.config.live)) return this.stop() }, o.prototype.offsetTop = function (t) { for (var e; void 0 === t.offsetTop;)t = t.parentNode; for (e = t.offsetTop; t = t.offsetParent;)e += t.offsetTop; return e }, o.prototype.isVisible = function (t) { var e, n, i, o, r; return n = t.getAttribute("data-wow-offset") || this.config.offset, o = (r = window.pageYOffset) + Math.min(this.element.clientHeight, this.util().innerHeight()) - n, e = (i = this.offsetTop(t)) + t.clientHeight, i <= o && e >= r }, o.prototype.util = function () { return null != this._util ? this._util : this._util = new e }, o.prototype.disabled = function () { return !this.config.mobile && this.util().isMobile(navigator.userAgent) }, o }() }.call(this), function (t, e, n, i) { "use strict"; function o(t, e) { var i, o, r, s = [], a = 0; t && t.isDefaultPrevented() || (t.preventDefault(), e = e || {}, t && t.data && (e = h(t.data.options, e)), i = e.$target || n(t.currentTarget).trigger("blur"), (r = n.fancybox.getInstance()) && r.$trigger && r.$trigger.is(i) || (e.selector ? s = n(e.selector) : (o = i.attr("data-fancybox") || "") ? s = (s = t.data ? t.data.items : []).length ? s.filter('[data-fancybox="' + o + '"]') : n('[data-fancybox="' + o + '"]') : s = [i], (a = n(s).index(i)) < 0 && (a = 0), (r = n.fancybox.open(s, e, a)).$trigger = i)) } if (t.console = t.console || { info: function (t) { } }, n) { if (n.fn.fancybox) return void console.info("fancyBox already initialized"); var 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> / <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">
1<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ßen", NEXT: "Weiter", PREV: "Zurück", ERROR: "Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.", PLAY_START: "Diaschau starten", PLAY_STOP: "Diaschau beenden", FULL_SCREEN: "Vollbild", THUMBS: "Vorschaubilder", DOWNLOAD: "Herunterladen", SHARE: "Teilen", ZOOM: "Vergrößern" } } }, s = n(t), a = n(e), l = 0, c = t.requestAnimationFrame || t.webkitRequestAnimationFrame || t.mozRequestAnimationFrame || t.oRequestAnimationFrame || function (e) { return t.setTimeout(e, 1e3 / 60) }, u = t.cancelAnimationFrame || t.webkitCancelAnimationFrame || t.mozCancelAnimationFrame || t.oCancelAnimationFrame || function (e) { t.clearTimeout(e) }, d = 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 }, h = function (t, e) { var i = n.extend(!0, {}, t, e); return n.each(e, (function (t, e) { n.isArray(e) && (i[t] = e) })), i }
vendor: 11,208 bytes, line 1
1, p = 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) }, m = function (t, e, i) { var o = this; o.opts = h({ index: i }, n.fancybox.defaults), n.isPlainObject(e) && (o.opts = h(o.opts, e)), n.fancybox.isMobile && (o.opts = h(o.opts, o.opts.mobile)), o.id = o.opts.id || ++l, o.currIndex = parseInt(o.opts.index, 10) || 0, o.prevIndex = null, o.prevPos = null, o.currPos = 0, o.firstRun = !0, o.group = [], o.slides = {}, o.addContent(t), o.group.length && o.init() }; n.extend(m.prototype, { init: function () { var i, o, r = this, s = r.group[r.currIndex].opts; s.closeExisting && n.fancybox.close(!0), n("body").addClass("fancybox-active"), !n.fancybox.getInstance() && !1 !== s.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(s.buttons, (function (t, e) { o += s.btnTpl[e] || "" })), i = n(r.translate(r, s.baseTpl.replace("{{buttons}}", o).replace("{{arrows}}", s.btnTpl.arrowLeft + s.btnTpl.arrowRight))).attr("id", "fancybox-container-" + r.id).addClass(s.baseClass).data("FancyBox", r).appendTo(s.parentEl), r.$refs = { container: i }, ["bg", "inner", "infobar", "toolbar", "stage", "caption", "navigation"].forEach((function (t) { r.$refs[t] = i.find(".fancybox-" + t) })), r.trigger("onInit"), r.activate(), r.jumpTo(r.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, r, s, 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 = h(c.opts, c.opts.mobile)), r = c.type || c.opts.type, a = c.src || "", !r && a && ((s = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (r = "video", c.opts.video.format || (c.opts.video.format = "video/" + ("ogv" === s[1] ? "ogg" : s[1]))) : a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i) ? r = "image" : a.match(/\.(pdf)((\?|#).*)?$/i) ? (r = "iframe", c = n.extend(!0, c, { contentType: "pdf", opts: { iframe: { preload: !1 } } })) : "#" === a.charAt(0) && (r = "inline")), r ? c.type = r : 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"]() })), s.on("orientationchange.fb resize.fb", (function (t) { t && t.originalEvent && "resize" === t.originalEvent.type ? (e.requestId && u(e.requestId), e.requestId = c((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)) })), a.on("keydown.fb", (function (t) { var i = (n.fancybox ? n.fancybox.getInstance() : null).current, o = t.keyCode || t.which; if (9 != o) return !i.opts.keyboard || t.ctrlKey || t.altKey || t.shiftKey || n(t.target).is("input,textarea,video,audio,select") ? void 0 : 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); i.opts.trapFocus && e.focus(t) })), e.group[e.currIndex].opts.idleTime && (e.idleSecondsCounter = 0, a.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.group[e.currIndex].opts.idleTime && !e.isDragging && (e.isIdle = !0, e.idleSecondsCounter = 0, e.hideControls()) }), 1e3)) }, removeEvents: function () { var e = this; s.off("orientationchange.fb resize.fb"), a.off("keydown.fb .fb-idle"), this.$refs.container.off(".fb-close .fb-prev .fb-next"), e.idleInterval && (t.clearInterval(e.idleInterval), e.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, r, s, 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), !(r = 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, s = h.createSlide(t), p > 1 && ((r || s.index < p - 1) && h.createSlide(t + 1), (r || s.index > 0) && h.createSlide(t - 1)), h.current = s, h.currIndex = s.index, h.currPos = s.pos, h.trigger("beforeShow", i), h.updateControls(), s.forcedDuration = void 0, n.isNumeric(e) ? s.forcedDuration = e : e = s.opts[i ? "animationDuration" : "transitionDuration"], e = parseInt(e, 10), o = h.isMoved(s), s.$slide.addClass("fancybox-slide--current"), i) return s.opts.animationEffect && e && h.$refs.container.css("transition-duration", e + "ms"), h.$refs.container.addClass("fancybox-is-open").trigger("focus"), h.loadSlide(s), 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 !== s.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 !== s.pos && i.$slide.addClass("fancybox-slide--" + (i.pos > s.pos ? "next" : "previous")), f(i.$slide), n.fancybox.animate(i.$slide, { top: 0, left: (i.pos - s.pos) * l.width + (i.pos - s.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 && s.opts.transitionEffect && (u = "fancybox-animated fancybox-fx-" + s.opts.transitionEffect, a.$slide.addClass("fancybox-slide--" + (a.pos > s.pos ? "next" : "previous")), n.fancybox.animate(a.$slide, u, e, (function () { a.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous") }), !1)), s.isLoaded ? h.revealContent(s) : h.loadSlide(s), h.preload("image") } }, createSlide: function (t) { var e, i, o = this; return i = (i = t % o.group.length) < 0 ? o.group.length + i : i, !o.slides[t] && o.group[i] && (e = n('<div class="fancybox-slide"></div>').appendTo(o.$refs.stage), o.slides[t] = n.extend(!0, {}, o.group[i], { pos: t, $slide: e, isLoaded: !1 }), o.updateSlide(o.slides[t])), o.slides[t] }, scaleToActual: function (t, e, i) { var o, r, s, a, l, c = this, u = c.current, d = u.$content, f = n.fancybox.getTranslate(u.$slide).width, h = n.fancybox.getTranslate(u.$slide).height, p = u.width, m = 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 * f : t, e = void 0 === e ? .5 * h : 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 = m / o.height, r = .5 * f - .5 * p, s = .5 * h - .5 * m, p > f && ((r = o.left * a - (t * a - t)) > 0 && (r = 0), r < f - p && (r = f - p)), m > h && ((s = o.top * l - (e * l - e)) > 0 && (s = 0), s < h - m && (s = h - m)), c.updateCursor(p, m), n.fancybox.animate(d, { top: s, left: r, 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, r = o.$content; i.isAnimating || i.isMoved() || !r || "image" != o.type || !o.isLoaded || o.hasError || (i.isAnimating = !0, n.fancybox.stop(r), e = i.getFitPos(o), i.updateCursor(e.width, e.height), n.fancybox.animate(r, { top: e.top, left: e.left, scaleX: e.width / r.width(), scaleY: e.height / r.height() }, t || 366, (function () { i.isAnimating = !1 }))) }, getFitPos: function (t) { var e, i, o, r, s = t.$content, a = t.$
1slide, l = t.width || t.opts.width, c = t.height || t.opts.height, u = {}; return !!(t.isLoaded && s && s.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(s.css("marginLeft")) + parseFloat(s.css("marginRight")), i -= parseFloat(a.css("paddingTop")) + parseFloat(a.css("paddingBottom")) + parseFloat(s.css("marginTop")) + parseFloat(s.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 / (r = t.opts.width && t.opts.height ? l / c : t.opts.ratio || 16 / 9) ? c = l / r : l > c * r && (l = c * r)), 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 = this, o = t && t.$content, r = t.width || t.opts.width, s = t.height || t.opts.height, a = t.$slide; i.adjustCaption(t), o && (r || s || "video" === t.contentType) && !t.hasError && (n.fancybox.stop(o), n.fancybox.setTranslate(o, i.getFitPos(t)), t.pos === i.currPos && (i.isAnimating = !1, i.updateCursor())), i.adjustLayout(t), a.length && (a.trigger("refresh"), t.pos === i.currPos && i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar", a.get(0).scrollHeight > a.get(0).clientHeight)), i.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, r = this, s = r.current, a = r.$refs.container; s && !r.isClosing && r.Guestures && (a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"), o = !!(i = r.canPan(t, e)) || r.isZoomable(), a.toggleClass("fancybox-is-zoomable", o), n("[data-fancybox-zoom]").prop("disabled", !o), i ? a.addClass("fancybox-can-pan") : o && ("zoom" === s.opts.clickContent || n.isFunction(s.opts.clickContent) && "zoom" == s.opts.clickContent(s)) ? a.addClass("fancybox-can-zoomIn") : s.opts.touch && (s.opts.touch.vertical || r.group.length > 1) && "video" !== s.contentType && a.addClass("fancybox-can-swipe")) }, isZoomable: function () { var t, e = this, n = e.current; if (n && !e.isClosing && "image" === n.type && !n.hasError) { if (!n.isLoaded) return !0; if ((t = e.getFitPos(n)) && (n.width > t.width || n.height > t.height)) return !0 } return !1 }, isScaledDown: function (t, e) { var i = !1, o = this.current, r = o.$content; return void 0 !== t && void 0 !== e ? i = t < o.width && e < o.height : r && (i = (i = n.fancybox.getTranslate(r)).width < o.width && i.height < o.height), i }, canPan: function (t, e) { var i = this.current, o = null, r = !1; return "image" === i.type && (i.isComplete || t && e) && !i.hasError && (r = this.getFitPos(i), void 0 !== t && void 0 !== e ? o = { width: t, height: e } : i.isComplete && (o = n.fancybox.getTranslate(i.$content)), o && r && (r = Math.abs(o.width - r.width) > 1.5 || Math.abs(o.height - r.height) > 1.5)), r }, loadSlide: function (t) { var e, i, o, r = this; if (!t.isLoading && !t.isLoaded) { if (t.isLoading = !0, !1 === r.trigger("beforeLoad", t)) return t.isLoading = !1, !1;
vendor: 12,061 bytes, line 1
1 switch (e = t.type, (i = t.$slide).off("refresh").trigger("onReset").addClass(t.opts.slideClass), e) { case "image": r.setImage(t); break; case "iframe": r.setIframe(t); break; case "html": r.setContent(t, t.src || t.content); break; case "video": r.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 ? r.setContent(t, n(t.src)) : r.setError(t); break; case "ajax": r.showLoading(t), o = n.ajax(n.extend({}, t.opts.ajax.settings, { url: t.src, success: function (e, n) { "success" === n && r.setContent(t, e) }, error: function (e, n) { e && "abort" !== n && r.setError(t) } })), i.one("onReset", (function () { o.abort() })); break; default: r.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, r, s = e.opts.srcset || e.opts.image.srcset; if (s) { o = t.devicePixelRatio || 1, r = t.innerWidth * o, i = s.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 })), i.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 >= r || "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 = s) } }, setBigImage: function (t) { var i = this, o = e.createElement("img"), r = n(o); t.$image = r.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 && s.width() / s.height() > 1 ? "100" : Math.round(t.width / t.height * 100)) + "vw"), r.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) && r.naturalWidth && r.naturalHeight ? r.trigger("load") : o.error && r.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, r = t.$slide; t.$content = n('<div class="fancybox-content' + (o.preload ? " fancybox-is-hidden" : "") + '"></div>').css(o.css).appendTo(r), r.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) })), r.on("refresh.fb", (function () { var n, i = t.$content, s = 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 && (r.css("overflow", "visible"), i.css({ width: "100%", "max-width": "100%", height: "9999px" }), void 0 === s && (s = Math.ceil(Math.max(n[0].clientWidth, n.outerWidth(!0)))), i.css("width", s || "").css("max-width", ""), void 0 === a && (a = Math.ceil(Math.max(n[0].clientHeight, n.outerHeight(!0)))), i.css("height", a || ""), r.css("overflow", "auto")), i.removeClass("fancybox-is-hidden") } }))) : i.afterLoad(t), e.attr("src", t.src), r.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; i.isClosing || (i.hideLoading(t), t.$content && n.fancybox.stop(t.$content), t.$slide.empty(), function (t) { return t && t.hasOwnProperty && t instanceof n }(e) && 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), i.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) { var e = this; (t = t || e.current) && !t.$spinner && (t.$spinner = n(e.translate(e, e.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) { var e = this; e.isClosing || (t.isLoading = !1, t.isLoaded = !0, e.trigger("afterLoad", t), e.hideLoading(t), !t.opts.smallBtn || t.$smallBtn && t.$smallBtn.length || (t.$smallBtn = n(e.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)), e.adjustCaption(t), e.adjustLayout(t), t.pos === e.currPos && e.updateCursor(), e.revealContent(t)) }, adjustCaption: function (t) { var e, n = this, i = t || n.current, o = i.opts.caption, r = i.opts.preventCaptionOverlap, s = n.$refs.caption, a = !1; s.toggleClass("fancybox-caption--separate", r), r && o && o.length && (i.pos !== n.currPos ? ((e = s.clone().appendTo(s.parent())).children().eq(0).empty().html(o), a = e.outerHeight(!0), e.empty().remove()) : n.$caption && (a = n.$caption.outerHeight(!0)), i.$slide.css("padding-bottom", a || "")) }, adjustLayout: function (t) { var e, n, i, o, r = t || this.current; r.isLoaded && !0 !== r.opts.disableLayoutFix && (r.$content.css("margin-bottom", ""), r.$content.outerHeight() > r.$slide.height() + .5 && (i = r.$slide[0].style["padding-bottom"], o = r.$slide.css("padding-bottom"), parseFloat(o) > 0 && (e = r.$slide[0].scrollHeight, r.$slide.css("padding-bottom", 0), Math.abs(e - r.$slide[0].scrollHeight) < 1 && (n = o), r.$slide.css("padding-bottom", i))), r.$content.css("margin-bottom", n)) }, revealContent: function (t) { var e, i, o, r, s = this, a = t.$slide, l = !1, c = !1, u = s.isMoved(t), d = t.isRevealed; return t.isRevealed = !0, e = t.opts[s.firstRun ? "animationEffect" : "transitionEffect"], o = t.opts[s.firstRun ? "animationDuration" : "transitionDuration"], o = parseInt(void 0 === t.forcedDuration ? o : t.forcedDuration, 10), !u && t.pos === s.currPos && o || (e = !1), "zoom" === e && (t.pos === s.currPos && o && "image" === t.type && !t.hasError && (c = s.getThumbPos(t)) ? l = s.getFitPos(t) : e = "fade"), "zoom" === e ? (s.isAnimating = !0, l.scaleX = l.width / c.width, l.scaleY = l.height / c.height, "auto" == (r = t.opts.zoomOpacity) && (r = Math.abs(t.width / t.height - c.width / c.height) > .1), r && (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 () { s.isAnimating = !1, s.complete() }))) : (s.updateSlide(t), e ? (n.fancybox.stop(a), i = "fancybox-slide--" + (t.pos >= s.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 === s.currPos && s.complete() }), !0)) : (t.$content.removeClass("fancybox-is-hidden"), d || !u || "image" !== t.type || t.hasError || t.$content.hide().fadeIn("fast"), void (t.pos === s.currPos && s.complete()))) }, getThumbPos: function (t) { var e, i, o, r, s, a = !1, l = t.$thumb; return !(!l || !p(l[0])) && (e = n.fancybox.getTranslate(l), i = parseFloat(l.css("border-top-width") || 0), o = parseFloat(l.css("border-right-width") || 0), r = parseFloat(l.css("border-bottom-width") || 0), s = parseFloat(l.css("border-left-width") || 0), a = { top: e.top + i, left: e.left + s, width: e.width - o - s, height: e.height - i - r, scaleX: 1, scaleY: 1 }, e.width > 0 && e.height > 0 && a) }, 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, i = this; i.group.length < 2 || (n = i.slides[i.currPos + 1], (e = i.slides[i.currPos - 1]) && e.type === t && i.loadSlide(e), n && n.type === t && i.loadSlide(n)) }, focus: function (t, i) { var o, r, s = this, a = ["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
1([tabindex^="-"])'].join(","); s.isClosing || ((o = (o = !t && s.current && s.current.isComplete ? s.current.$slide.find("*:visible" + (i ? ":not(.fancybox-close-small)" : "")) : s.$refs.container.find("*:visible")).filter(a).filter((function () { return "hidden" !== n(this).css("visibility") && !n(this).hasClass("disabled") }))).length ? (r = o.index(e.activeElement), t && t.shiftKey ? (r < 0 || 0 == r) && (t.preventDefault(), o.eq(o.length - 1).trigger("focus")) : (r < 0 || r == o.length - 1) && (t && t.preventDefault(), o.eq(0).trigger("focus"))) : s.$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, r, s, a, l, u, d = this, h = d.current, p = function () { d.cleanUp(t) }; return !(d.isClosing || (d.isClosing = !0, !1 === d.trigger("beforeClose", t) ? (d.isClosing = !1, c((function () { d.update() })), 1) : (d.removeEvents(), r = 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 || r && o && "image" === h.type && !d.isMoved() && !h.hasError && (u = d.getThumbPos(h)) || (i = "fade"), "zoom" === i ? (n.fancybox.stop(r), s = n.fancybox.getTranslate(r), l = { top: s.top, left: s.left, scaleX: s.width / u.width, scaleY: s.height / u.height, width: u.width, height: u.height }, a = h.opts.zoomOpacity, "auto" == a && (a = Math.abs(h.width / h.height - u.width / u.height) > .1), a && (u.opacity = 0), n.fancybox.setTranslate(r, l), f(r), n.fancybox.animate(r, u, 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, r, s = this, a = s.current.opts.$orig; s.current.$slide.trigger("onReset"), s.$refs.container.empty().remove(), s.trigger("afterClose", e), s.current.opts.backFocus && (a && a.length && a.is(":visible") || (a = s.$trigger), a && a.length && (o = t.scrollX, r = t.scrollY, a.trigger("focus"), n("html, body").scrollTop(r).scrollLeft(o))), s.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), r = this, s = e && e.opts ? e : r.current; if (s ? o.unshift(s) : s = r, o.unshift(r), n.isFunction(s.opts[t]) && (i = s.opts[t].apply(s, o)), !1 === i) return i; "afterClose" !== t && r.$refs ? r.$refs.container.trigger(t + ".fb", o) : a.trigger(t + ".fb", o) }, updateControls: function () { var t = this, i = t.current, o = i.index, r = t.$refs.container, s = t.$refs.caption, a = i.opts.caption; i.$slide.trigger("refresh"), a && a.length ? (t.$caption = s, s.children().eq(0).html(a)) : t.$caption = null, t.hasHiddenControls || t.isIdle || t.showControls(), r.find("[data-fancybox-count]").html(t.group.length), r.find("[data-fancybox-index]").html(o + 1), r.find("[data-fancybox-prev]").prop("disabled", !i.opts.loop && o <= 0), r.find("[data-fancybox-next]").prop("disabled", !i.opts.loop && o >= t.group.length - 1), "image" === i.type ? r.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href", i.opts.image.src || i.src).show() : i.opts.toolbar && r.find("[data-fancybox-download],[data-fancybox-zoom]").hide(), n(e.activeElement).is(":hidden,[disabled]") && t.$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 }
vendor: 27,060 bytes, line 1
1)).join(" ")), this.hasHiddenControls = !0 }, showControls: function () { var t = this, e = t.current ? t.current.opts : t.opts, n = t.$refs.container; t.hasHiddenControls = !1, t.idleSecondsCounter = 0, n.toggleClass("fancybox-show-toolbar", !(!e.toolbar || !e.buttons)).toggleClass("fancybox-show-infobar", !!(e.infobar && t.group.length > 1)).toggleClass("fancybox-show-caption", !!t.$caption).toggleClass("fancybox-show-nav", !!(e.arrows && t.group.length > 1)).toggleClass("fancybox-is-modal", !!e.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 m && ("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 m(t, e, n) }, close: function (t) { var e = this.getInstance(); e && (e.close(), !0 === t && this.close(t)) }, destroy: function () { this.close(!0), a.add("body").off("click.fb-start", "**") }, isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), use3d: function () { var n = e.createElement("div"); return t.getComputedStyle && t.getComputedStyle(n) && t.getComputedStyle(n).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, r) { var s, a = this; n.isFunction(i) && (o = i, i = null), a.stop(t), s = a.getTranslate(t), t.on(d, (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: s.width * e.scaleX, height: s.height * e.scaleY, scaleX: 1, scaleY: 1 }) : !0 !== r && 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(d) }), i + 33)) }, stop: function (t, e) { t && t.length && (clearTimeout(t.data("timer")), e && t.trigger(d), t.off(d).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 }, o) : this.off("click.fb-start").on("click.fb-start", { items: this, options: t }, o), this }, a.on("click.fb-start", "[data-fancybox]", o), a.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) }) })), function () { var t = null; a.on("mousedown mouseup focus blur", ".fancybox-button", (function (e) { switch (e.type) { case "mousedown": t = n(this); break; case "mouseup": t = null; break; case "focusin": n(".fancybox-button").removeClass("fancybox-focus"), n(this).is(t) || n(this).is("[disabled]") || n(this).addClass("fancybox-focus"); break; case "focusout": n(".fancybox-button").removeClass("fancybox-focus") } })) }() } }(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, r) { var s, a, l, c, u, d, f, h = r.src || "", p = !1; s = t.extend(!0, {}, e, r.opts.media), t.each(s, (function (e, i) { if (l = h.match(i.matcher)) { if (p = i.type, f = 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 s = u[o].split("=", 2); 2 == s.length && (d[s[0]] = decodeURIComponent(s[1].replace(/\+/g, " "))) } } return c = t.extend(!0, {}, i.params, r.opts[e], d), h = "function" === t.type(i.url) ? i.url.call(this, l, c, r) : n(i.url, l, c), a = "function" === t.type(i.thumb) ? i.thumb.call(this, l, c, r) : n(i.thumb, l), "youtube" === e ? h = h.replace(/&t=((\d+)m)?(\d+)s/, (function (t, e, n, i) { return "&start=" + ((n ? 60 * parseInt(n, 10) : 0) + parseInt(i, 10)) })) : "vimeo" === e && (h = h.replace("&%23", "#")), !1 } })), p ? (r.opts.thumb || r.opts.$thumb && r.opts.$thumb.length || (r.opts.thumb = a), "iframe" === p && (r.opts = t.extend(!0, r.opts, { iframe: { preload: !1, attr: { scrolling: "no" } } })), t.extend(r, { type: p, src: h, origSrc: r.src, contentSource: f, contentType: "image" === p ? "image" : "gmap_place" == f || "gmap_search" == f ? "map" : "video" })) : h && (r.type = r.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) }, r = 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 }, s = 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) { var n = t.getComputedStyle(e)["overflow-y"], i = t.getComputedStyle(e)["overflow-x"], o = ("scroll" === n || "auto" === n) && e.scrollHeight > e.clientHeight, r = ("scroll" === i || "auto" === i) && e.scrollWidth > e.clientWidth; return o || r }, c = function (t) { for (var e = !1; !(e = l(t.get(0))) && ((t = t.parent()).length && !t.hasClass("fancybox-stage") && !t.is("body"));); return e }, u = function (t) { var e = this; e.instance = t, e.$bg = t.$refs.bg, e.$stage = t.$refs.stage, e.$container = t.$refs.container, e.destroy(), e.$container.on("touchstart.fb.touch mousedown.fb.touch", n.proxy(e, "ontouchstart")) }; u.prototype.destroy = function () { var t = this; t.$container.off(".fb.touch"), n(e).off(".fb.touch"), t.requestId && (o(t.requestId), t.requestId = null), t.tapped && (clearTimeout(t.tapped), t.tapped = null) }, u.prototype.ontouchstart = function (i) { var o = this, l = n(i.target), u = o.instance, d = u.current, f = d.$slide, h = d.$content, p = "touchstart" == i.type; if (p && o.$container.off("mousedown.fb.touch"), (!i.originalEvent || 2 != i.originalEvent.button) && f.length && l.length && !a(l) && !a(l.parent()) && (l.is("img") || !(i.originalEvent.clientX > l[0].clientWidth + l.offset().left))) { if (!d || u.isAnimating || d.$slide.hasClass("fancybox-animated")) return i.stopPropagation(), void i.preventDefault(); o.realPoints = o.startPoints = r(i), o.startPoints.length && (d.touch && i.stopPropagation(), o.startEvent = i, o.canTap = !0, o.$target = l, o.$content = h, o.opts = d.opts.touch, o.isPanning = !1, o.isSwiping = !1, o.isZooming = !1, o.isScrolling = !1, o.canPan = u.canPan(), o.startTime = (new Date).getTime(), o.distanceX = o.distanceY = o.distance = 0, o.canvasWidth = Math.round(f[0].clientWidth), o.canvasHeight = Math.round(f[0].clientHeight), o.contentLastPos = null, o.contentStartPos = n.fancybox.getTranslate(o.$content) || { top: 0, left: 0 }, o.sliderStartPos = n.fancybox.getTranslate(f), o.stagePos = n.fancybox.getTranslate(u.$refs.stage), o.sliderStartPos.top -= o.stagePos.top, o.sliderStartPos.left -= o.stagePos.left, o.contentStartPos.top -= o.stagePos.top, o.contentStartPos.left -= o.stagePos.left, n(e).off(".fb.touch").on(p ? "touchend.fb.touch touchcancel.fb.touch" : "mouseup.fb.touch mouseleave.fb.touch", n.proxy(o, "ontouchend")).on(p ? "touchmove.fb.touch" : "mousemove.fb.touch", n.proxy(o, "ontouchmove")), n.fancybox.isMobile && e.addEventListener("scroll", o.onscroll, !0), ((o.opts || o.canPan) && (l.is(o.$stage) || o.$stage.find(l).length) || (l.is(".fancybox-image") && i.preventDefault(), n.fancybox.isMobile && l.parents(".fancybox-caption").length)) && (o.isScrollable = c(l) || c(l.parent()), n.fancybox.isMobile && o.isScrollable || i.preventDefault(), (1 === o.startPoints.length || d.hasError) && (o.canPan ? (n.fancybox.stop(o.$content), o.isPanning = !0) : o.isSwiping = !0, o.$container.addClass("fancybox-is-grabbing")), 2 === o.startPoints.length && "image" === d.type && (d.isLoaded || d.$ghost) && (o.canTap = !1, o.isSwiping = !1, o.isPanning = !1, o.isZooming = !0, n.fancybox.stop(o.$content), o.centerPointStartX = .5 * (o.startPoints[0].x + o.startPoints[1].x) - n(t).scrollLeft(), o.centerPointStartY = .5 * (o.startPoints[0].y + o.startPoints[1].y) - n(t).scrollTop(), o.percentageOfImageAtPinchPointX = (o.centerPointStartX - o.contentStartPos.left) / o.contentStartPos.width, o.percentageOfImageAtPinchPointY = (o.centerPointStartY - o.contentStartPos.top) / o.contentStartPos.height, o.startDistanceBetweenFingers = s(o.startPoints[0], o.startPoints[1])))) } }, u.prototype.onscroll = function (t) { this.isScrolling = !0, e.removeEventListener("scroll", this.onscroll, !0) }, u.prototype.ontouchmove = function (t) { var e = this; return void 0 !== t.originalEvent.buttons && 0 === t.originalEvent.buttons ? void e.ontouchend(t) : e.isScrolling ? void (e.canTap = !1) : (e.newPoints = r(t), void ((e.opts || e.canPan) && e.newPoints.length && e.newPoints.length && (e.isSwiping && !0 === e.isSwiping || t.preventDefault(), e.distanceX = s(e.newPoints[0], e.startPoints[0], "x"), e.distanceY = s(e.newPoints[0], e.startPoints[0], "y"), e.distance = s(e.newPoints[0], e.startPoints[0]), e.distance > 0 && (e.isSwiping ? e.onSwipe(t) : e.isPanning ? e.onPan() : e.isZooming && e.onZoom())))) }, u.prototype.onSwipe = function (e) { var r, s = this, a = s.instance, l = s.isSwiping, c = s.sliderStartPos.left || 0; if (!0 !== l) "x" == l && (s.distanceX > 0 && (s.instance.group.length < 2 || 0 === s.instance.current.index && !s.instance.current.opts.loop) ? c += Math.pow(s.distanceX, .8) : s.distanceX < 0 && (s.instance.group.length < 2 || s.instance.current.index === s.instance.group.length - 1 && !s.instance.current.opts.loop) ? c -= Math.pow(-s.distanceX, .8) : c += s.distanceX), s.sliderLastPos = { top: "x" == l ? 0 : s.sliderStartPos.top + s.distanceY, left: c }, s.requestId && (o(s.requestId), s.requestId = null), s.requestId = i((function () { s.sliderLastPos && (n.each(s.instance.slides, (function (t, e) { var i = e.pos - s.instance.currPos; n.fancybox.setTranslate(e.$slide, { top: s.sliderLastPos.top, left: s.sliderLastPos.left + i * s.canvasWidth + i * e.opts.gutter }) })), s.$container.addClass("fancybox-is-sliding")) })); else if (Math.abs(s.distance) > 10) { if (s.canTap = !1, a.group.length < 2 && s.opts.vertical ? s.isSwiping = "y" : a.isDragging || !1 === s.opts.vertical || "auto" === s.opts.vertical && n(t).width() > 800 ? s.isSwiping = "x" : (r = Math.abs(180 * Math.atan2(s.distanceY, s.distanceX) / Math.PI), s.isSwiping = r > 45 && r < 135 ? "y" : "x"), "y" === s.isSwiping && n.fancybox.isMobile && s.isScrollable) return void (s.isScrolling = !0); a.isDragging = s.isSwiping, s.startPoints = s.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 && (s.sliderStartPos.top = i.top - o.top, s.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() } }, u.prototype.onPan = function () { var t = this; s(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) }))) }, u.prototype.limitMovement = function () { var t, e, n, i, o, r, s = this, a = s.canvasWidth, l = s.canvasHeight, c = s.distanceX, u = s.distanceY, d = s.contentStartPos, f = d.left, h = d.top, p = d.width, m = d.height; return o = p > a ? f + c : f, r = h + u, t = Math.max(0, .5 * a - .5 * p), e = Math.max(0, .5 * l - .5 * m), n = Math.min(a - p, .5 * a - .5 * p), i = Math.min(l - m, .5 * l - .5 * m), c > 0 && o > t && (o = t - 1 + Math.pow(-t + f + c, .8) || 0), c < 0 && o < n && (o = n + 1 - Math.pow(n - f - c, .8) || 0), u > 0 && r > e && (r = e - 1 + Math.pow(-e + h + u, .8) || 0), u < 0 && r < i && (r = i + 1 - Math.pow(i - h - u, .8) || 0), { top: r, left: o } }, u.prototype.limitPosition = function (t, e, n, i) { var o = this.canvasWidth, r = this.canvasHeight; return n > o ? t = (t = t > 0 ? 0 : t) < o - n ? o - n : t : t = Math.max(0, o / 2 - n / 2), i > r ? e = (e = e > 0 ? 0 : e) < r - i ? r - i : e : e = Math.max(0, r / 2 - i / 2), { top: e, left: t } }, u.prototype.onZoom = function () { var e = this, r = e.contentStartPos, a = r.width, l = r.height, c = r.left, u = r.top, d = s(e.newPoints[0], e.newPoints[1]) / e.startDistanceBetweenFingers, f = Math.floor(a * d), h = Math.floor(l * d), p = (a - f) * e.percentageOfImageAtPinchPointX, m = (l - h) * e.percentageOfImageAtPinchPointY, g = (e.newPoints[0].x + e.newPoints[1].x) / 2 - n(t).scrollLeft(), v = (e.newPoints[0].y + e.newPoints[1].y) / 2 - n(t).scrollTop(), y = g - e.centerPointStartX, b = { top: u + (m + (v - e.centerPointStartY)), left: c + (p + y), scaleX: d, scaleY: d }; e.canTap = !1, e.newWidth = f, e.newHeight = h, e.contentLastPos = b, e.requestId && o(e.requestId), e.requestId = i((function () { n.fancybox.setTranslate(e.$content, e.contentLastPos) })) }, u.prototype.ontouchend = function (t) { var i = this, s = i.isSwiping, a = i.isPanning, l = i.isZooming, c = i.isScrolling; if (i.endPoints = r(t), i.dMs = Math.max((new Date).getTime() - i.startTime, 1), i.$container.removeClass("fancybox-is-grabbing"), n(e).off(".fb.touch"), e.removeEventListener("scroll", i.onscroll, !0), i.requestId && (o(i.requestId), i.requestId = null), i.isSwiping = !1, i.isPanning = !1, i.isZooming = !1, i.isScrolling = !1, i.instance.isDragging = !1, i.canTap) return i.onTap(t); i.speed = 100, i.velocityX = i.distanceX / i.dMs * .5, i.velocityY = i.distanceY / i.dMs * .5, a ? i.endPanning() : l ? i.endZooming() : i.endSwiping(s, c) }, u.prototype.endSwiping = function (t, e) { var i = this, o = !1, r = i.instance.group.length, s = Math.abs(i.distanceX), a = "x" == t && r > 1 && (i.dMs > 130 && s > 10 || s > 50); i.sliderLastPos = null, "y" == t && !e && Math.abs(i.distanceY) > 50 ? (n.fancybox.animate(i.instance.current.$slide, { top: i.sliderStartPos.top + i.distanceY + 150 * i.velocityY, opacity: 0 }, 200), o = i.instance.close(!0, 250)) : a && i.distanceX > 0 ? o = i.instance.previous(300) : a && i.distanceX < 0 && (o = i.instance.next(300)), !1 !== o || "x" != t && "y" != t || i.instance.centerSlide(200), i.$container.removeClass("fancybox-is-sliding") }, u.prototype.endPanning = function () { var t, e, i, o = this; o.contentLastPos && (!1 === o.opts.momentum || o.dMs > 350 ? (t = o.contentLastPos.left, e = o.contentLastPos.top) : (t = o.contentLastPos.left + 500 * o.velocityX, e = o.contentLastPos.top + 500 * o.velocityY), (i = o.limitPosition(t, e, o.contentStartPos.width, o.contentStartPos.height)).width = o.contentStartPos.width, i.height = o.contentStartPos.height, n.fancybox.animate(o.$content, i, 366)) }, u.prototype.endZooming = function () { var t, e, i, o, r = this, s = r.instance.current, a = r.newWidth, l = r.newHeight; r.contentLastPos && (t = r.contentLastPos.left, o = { top: e = r.contentLastPos.top, left: t, width: a, height: l, scaleX: 1, scaleY: 1 }, n.fancybox.setTranslate(r.$content, o), a < r.canvasWidth && l < r.canvasHeight ? r.instance.scaleToFit(150) : a > s.width || l > s.height ? r.instance.scaleToActual(r.centerPointStartX, r.centerPointStartY, 150) : (i = r.limitPosition(t, e, a, l), n.fancybox.animate(r.$content, i, 150))) }, u.prototype.onTap = function (e) { var i, o = this, s = n(e.target), a = o.instance, l = a.current, c = e && r(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, f = 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) && (s.is("img") || !(u > s[0].clientWidth + s.offset().left))) { if (s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container")) i = "Outside"; else if (s.is(".fancybox-slide")) i = "Slide"; else { if (!a.current.$content || !a.current.$content.find(s).addBack().filter(s).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; f("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 || f("click" + i) }), 500) : f("click" + i); return this } }, n(e).on("onActivate.fb", (function (t, e) { e && !e.Guestures && (e.Guestures = new u(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, i = n.instance, o = i.current; o && (!0 === t || o.opts.loop || i.currIndex < i.group.length - 1) ? n.isActive && "video" !== o.contentType && (n.$progress && e.fancybox.animate(n.$progress.show(), { scaleX: 1 }, o.opts.slideShow.speed), n.timer = setTimeout((function () { i.current.opts.loop || i.current.index != i.group.length - 1 ? i.next() : i.jumpTo(0) }), o.opts.slideShow.speed)) : (n.stop(), i.idleSecondsCounter = 0, i.showControls()) }, clear: function () { var t = this; clearTimeout(t.timer), t.timer = null, t.$progress && t.$progress.removeAttr("style").hide() }, start: function () { var t = this, e = t.instance.current; e && (t.$button.attr("title", (e.opts.i18n[e.opts.lang] || e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"), t.isActive = !0, e.isComplete && t.set(!0), t.instance.trigger("onSlideShowChange", !0)) }, stop: function () { var t = this, e = t.instance.current; t.clear(), t.$button.attr("title", (e.opts.i18n[e.opts.lang] || e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"), t.isActive = !1, t.instance.trigger("onSlideShowChange", !1), t.$progress && t.$progress.removeAttr("style").hide() }, toggle: function () { var t = this; t.isActive ? t.stop() : t.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, r, s) { var a = i && i.SlideShow; !a || !o.opts.slideShow || 80 !== s && 32 !== s || e(t.activeElement).is("button,a,input") || (r.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 r = 0; r < o.length; r++)n[e[0][r]] = o[r]; 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">
1<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, r = n.length; o < r && (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, o = i.instance, r = i.opts.parentEl, s = []; i.$grid || (i.$grid = e('<div class="' + n + " " + n + "-" + i.opts.axis + '"></div>').appendTo(o.$refs.container.find(r).addBack().filter(r)), i.$grid.on("click", "a", (function () { o.jumpTo(e(this).attr("data-index")) }))), i.$list || (i.$list = e('<div class="' + n + '__list">').appendTo(i.$grid)), e.each(o.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>") })), i.$list[0].innerHTML = s.join(""), "x" === i.opts.axis && i.$list.width(parseInt(i.$grid.css("padding-right"), 10) + o.group.length * i.$list.children().eq(0).outerWidth(!0)) }, focus: function (t) { var e, n, i = this, o = i.$list, r = i.$grid; i.instance.current && (n = (e = o.children().removeClass("fancybox-thumbs-active").filter('[data-index="' + i.instance.current.index + '"]').addClass("fancybox-thumbs-active")).position(), "y" === i.opts.axis && (n.top < 0 || n.top > o.height() - e.outerHeight()) ? o.stop().animate({ scrollTop: o.scrollTop() + n.top }, t) : "x" === i.opts.axis && (n.left < r.scrollLeft() || n.left > r.scrollLeft() + (r.width() - e.outerWidth())) && o.parent().stop().animate({ scrollLeft: n.left }, t)) }, update: function () { var t = this; t.instance.$refs.container.toggleClass("fancybox-show-thumbs", this.isVisible), t.isVisible ? (t.$grid || t.create(), t.instance.trigger("onThumbsShow"), t.focus(0)) : t.$grid && t.instance.trigger("onThumbsHide"), t.instance.update(
1) }, 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 r = e && e.Thumbs; r && r.isActive && 71 === o && (i.preventDefault(), r.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 = e.fancybox.getInstance(), o = i.current || null; o && ("function" === e.type(o.opts.share.url) && (t = o.opts.share.url.apply(o, [i, o])), n = o.opts.share.tpl.replace(/\{\{media\}\}/g, "image" === o.type ? encodeURIComponent(o.src) : "").replace(/\{\{url\}\}/g, encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g, function (t) { var e = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'", "/": "/", "`": "`", "=": "=" }; return String(t).replace(/[&<>"'`=\/]/g, (function (t) { return e[t] })) }(t)).replace(/\{\{descr\}\}/g, i.$caption ? encodeURIComponent(i.$caption.text()) : ""), e.fancybox.open({ src: i.translate(i, n), type: "html", opts: { touch: !1, animationEffect: !1, afterLoad: function (t, e) { i.$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 r(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 = r(e)) && n.gallery && o == n.gallery && (e.currIndex = n.index - 1)) }, "beforeShow.fb": function (n, i, o, s) { var a; o && !1 !== o.opts.hash && (a = r(i)) && (i.currentHash = a + (i.group.length > 1 ? "-" + (o.index + 1) : ""), t.location.hash !== "#" + i.currentHash && (s && !i.origHash && (i.origHash = t.location.hash), i.hashTimer && clearTimeout(i.hashTimer), i.hashTimer = setTimeout((function () { "replaceState" in t.history ? (t.history[s ? "pushState" : "replaceState"]({}, e.title, t.location.pathname + t.location.search + "#" + i.currentHash), s && (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) { "object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : t.Popper = e() }(this, (function () { "use strict"; function t(t) { return t && "[object Function]" === {}.toString.call(t) } function e(t, e) { if (1 !== t.nodeType) return []; var n = t.ownerDocument.defaultView.getComputedStyle(t, null); return e ? n[e] : n } function n(t) { return "HTML" === t.nodeName ? t : t.parentNode || t.host } function i(t) { if (!t) return document.body; switch (t.nodeName) { case "HTML": case "BODY": return t.ownerDocument.body; case "#document": return t.body }var o = e(t), r = o.overflow, s = o.overflowX, a = o.overflowY; return /(auto|scroll|overlay)/.test(r + a + s) ? t : i(n(t)) } function o(t) { return 11 === t ? Z : 10 === t ? G : Z || G } function r(t) { if (!t) return document.documentElement; for (var n = o(10) ? document.body : null, i = t.offsetParent || null; i === n && t.nextElementSibling;)i = (t = t.nextElementSibling).offsetParent; var s = i && i.nodeName;
vendor: 3,299 bytes, line 1
1 return s && "BODY" !== s && "HTML" !== s ? -1 !== ["TH", "TD", "TABLE"].indexOf(i.nodeName) && "static" === e(i, "position") ? r(i) : i : t ? t.ownerDocument.documentElement : document.documentElement } function s(t) { return null === t.parentNode ? t : s(t.parentNode) } function a(t, e) { if (!(t && t.nodeType && e && e.nodeType)) return document.documentElement; var n = t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING, i = n ? t : e, o = n ? e : t, l = document.createRange(); l.setStart(i, 0), l.setEnd(o, 0); var c = l.commonAncestorContainer; if (t !== c && e !== c || i.contains(o)) return function (t) { var e = t.nodeName; return "BODY" !== e && ("HTML" === e || r(t.firstElementChild) === t) }(c) ? c : r(c); var u = s(t); return u.host ? a(u.host, e) : a(t, s(e).host) } function l(t) { var e = 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : "top", n = "top" === e ? "scrollTop" : "scrollLeft", i = t.nodeName; if ("BODY" === i || "HTML" === i) { var o = t.ownerDocument.documentElement, r = t.ownerDocument.scrollingElement || o; return r[n] } return t[n] } function c(t, e) { var n = 2 < arguments.length && void 0 !== arguments[2] && arguments[2], i = l(e, "top"), o = l(e, "left"), r = n ? -1 : 1; return t.top += i * r, t.bottom += i * r, t.left += o * r, t.right += o * r, t } function u(t, e) { var n = "x" === e ? "Left" : "Top", i = "Left" == n ? "Right" : "Bottom"; return parseFloat(t["border" + n + "Width"], 10) + parseFloat(t["border" + i + "Width"], 10) } function d(t, e, n, i) { return U(e["offset" + t], e["scroll" + t], n["client" + t], n["offset" + t], n["scroll" + t], o(10) ? parseInt(n["offset" + t]) + parseInt(i["margin" + ("Height" === t ? "Top" : "Left")]) + parseInt(i["margin" + ("Height" === t ? "Bottom" : "Right")]) : 0) } function f(t) { var e = t.body, n = t.documentElement, i = o(10) && getComputedStyle(n); return { height: d("Height", e, n, i), width: d("Width", e, n, i) } } function h(t) { return nt({}, t, { right: t.left + t.width, bottom: t.top + t.height }) } function p(t) { var n = {}; try { if (o(10)) { n = t.getBoundingClientRect(); var i = l(t, "top"), r = l(t, "left"); n.top += i, n.left += r, n.bottom += i, n.right += r } else n = t.getBoundingClientRect() } catch (t) { } var s = { left: n.left, top: n.top, width: n.right - n.left, height: n.bottom - n.top }, a = "HTML" === t.nodeName ? f(t.ownerDocument) : {}, c = a.width || t.clientWidth || s.right - s.left, d = a.height || t.clientHeight || s.bottom - s.top, p = t.offsetWidth - c, m = t.offsetHeight - d; if (p || m) { var g = e(t); p -= u(g, "x"), m -= u(g, "y"), s.width -= p, s.height -= m } return h(s) } function m(t, n) { var r = 2 < arguments.length && void 0 !== arguments[2] && arguments[2], s = o(10), a = "HTML" === n.nodeName, l = p(t), u = p(n), d = i(t), f = e(n), m = parseFloat(f.borderTopWidth, 10), g = parseFloat(f.borderLeftWidth, 10); r && a && (u.top = U(u.top, 0), u.left = U(u.left, 0)); var v = h({ top: l.top - u.top - m, left: l.left - u.left - g, width: l.width, height: l.height }); if (v.marginTop = 0, v.marginLeft = 0, !s && a) { var y = parseFloat(f.marginTop, 10), b = parseFloat(f.marginLeft, 10); v.top -= m - y, v.bottom -= m - y, v.left -= g - b, v.right -= g - b, v.marginTop = y, v.marginLeft = b }
vendor: 2,743 bytes, line 1
1 return (s && !r ? n.contains(d) : n === d && "BODY" !== d.nodeName) && (v = c(v, n)), v } function g(t) { var e = 1 < arguments.length && void 0 !== arguments[1] && arguments[1], n = t.ownerDocument.documentElement, i = m(t, n), o = U(n.clientWidth, window.innerWidth || 0), r = U(n.clientHeight, window.innerHeight || 0), s = e ? 0 : l(n), a = e ? 0 : l(n, "left"), c = { top: s - i.top + i.marginTop, left: a - i.left + i.marginLeft, width: o, height: r }; return h(c) } function v(t) { var i = t.nodeName; if ("BODY" === i || "HTML" === i) return !1; if ("fixed" === e(t, "position")) return !0; var o = n(t); return !!o && v(o) } function y(t) { if (!t || !t.parentElement || o()) return document.documentElement; for (var n = t.parentElement; n && "none" === e(n, "transform");)n = n.parentElement; return n || document.documentElement } function b(t, e, o, r) { var s = 4 < arguments.length && void 0 !== arguments[4] && arguments[4], l = { top: 0, left: 0 }, c = s ? y(t) : a(t, e); if ("viewport" === r) l = g(c, s); else { var u; "scrollParent" === r ? "BODY" === (u = i(n(e))).nodeName && (u = t.ownerDocument.documentElement) : u = "window" === r ? t.ownerDocument.documentElement : r; var d = m(u, c, s); if ("HTML" !== u.nodeName || v(c)) l = d; else { var h = f(t.ownerDocument), p = h.height, b = h.width; l.top += d.top - d.marginTop, l.bottom = p + d.top, l.left += d.left - d.marginLeft, l.right = b + d.left } } var w = "number" == typeof (o = o || 0); return l.left += w ? o : o.left || 0, l.top += w ? o : o.top || 0, l.right -= w ? o : o.right || 0, l.bottom -= w ? o : o.bottom || 0, l } function w(t) { return t.width * t.height } function _(t, e, n, i, o) { var r = 5 < arguments.length && void 0 !== arguments[5] ? arguments[5] : 0; if (-1 === t.indexOf("auto")) return t; var s = b(n, i, r, o), a = { top: { width: s.width, height: e.top - s.top }, right: { width: s.right - e.right, height: s.height }, bottom: { width: s.width, height: s.bottom - e.bottom }, left: { width: e.left - s.left, height: s.height } }, l = Object.keys(a).map((function (t) { return nt({ key: t }, a[t], { area: w(a[t]) }) })).sort((function (t, e) { return e.area - t.area })), c = l.filter((function (t) { var e = t.width, i = t.height; return e >= n.clientWidth && i >= n.clientHeight })), u = 0 < c.length ? c[0].key : l[0].key, d = t.split("-")[1]; return u + (d ? "-" + d : "") } function x(t, e, n) { var i = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null, o = i ? y(e) : a(e, n); return m(n, o, i) } function E(t) { var e = t.ownerDocument.defaultView.getComputedStyle(t), n = parseFloat(e.marginTop || 0) + parseFloat(e.marginBottom || 0), i = parseFloat(e.marginLeft || 0) + parseFloat(e.marginRight || 0
vendor: 5,115 bytes, line 1
1); return { width: t.offsetWidth + i, height: t.offsetHeight + n } } function C(t) { var e = { left: "right", right: "left", bottom: "top", top: "bottom" }; return t.replace(/left|right|bottom|top/g, (function (t) { return e[t] })) } function S(t, e, n) { n = n.split("-")[0]; var i = E(t), o = { width: i.width, height: i.height }, r = -1 !== ["right", "left"].indexOf(n), s = r ? "top" : "left", a = r ? "left" : "top", l = r ? "height" : "width", c = r ? "width" : "height"; return o[s] = e[s] + e[l] / 2 - i[l] / 2, o[a] = n === a ? e[a] - i[c] : e[C(a)], o } function T(t, e) { return Array.prototype.find ? t.find(e) : t.filter(e)[0] } function A(e, n, i) { var o = void 0 === i ? e : e.slice(0, function (t, e, n) { if (Array.prototype.findIndex) return t.findIndex((function (t) { return t[e] === n })); var i = T(t, (function (t) { return t[e] === n })); return t.indexOf(i) }(e, "name", i)); return o.forEach((function (e) { e.function && console.warn("`modifier.function` is deprecated, use `modifier.fn`!"); var i = e.function || e.fn; e.enabled && t(i) && (n.offsets.popper = h(n.offsets.popper), n.offsets.reference = h(n.offsets.reference), n = i(n, e)) })), n } function I() { if (!this.state.isDestroyed) { var t = { instance: this, styles: {}, arrowStyles: {}, attributes: {}, flipped: !1, offsets: {} }; t.offsets.reference = x(this.state, this.popper, this.reference, this.options.positionFixed), t.placement = _(this.options.placement, t.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding), t.originalPlacement = t.placement, t.positionFixed = this.options.positionFixed, t.offsets.popper = S(this.popper, t.offsets.reference, t.placement), t.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute", t = A(this.modifiers, t), this.state.isCreated ? this.options.onUpdate(t) : (this.state.isCreated = !0, this.options.onCreate(t)) } } function P(t, e) { return t.some((function (t) { var n = t.name; return t.enabled && n === e })) } function D(t) { for (var e = [!1, "ms", "Webkit", "Moz", "O"], n = t.charAt(0).toUpperCase() + t.slice(1), i = 0; i < e.length; i++) { var o = e[i], r = o ? "" + o + n : t; if (void 0 !== document.body.style[r]) return r } return null } function k() { return this.state.isDestroyed = !0, P(this.modifiers, "applyStyle") && (this.popper.removeAttribute("x-placement"), this.popper.style.position = "", this.popper.style.top = "", this.popper.style.left = "", this.popper.style.right = "", this.popper.style.bottom = "", this.popper.style.willChange = "", this.popper.style[D("transform")] = ""), this.disableEventListeners(), this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), this } function O(t) { var e = t.ownerDocument; return e ? e.defaultView : window } function $(t, e, n, o) { var r = "BODY" === t.nodeName, s = r ? t.ownerDocument.defaultView : t; s.addEventListener(e, n, { passive: !0 }), r || $(i(s.parentNode), e, n, o), o.push(s) } function N(t, e, n, o) { n.updateBound = o, O(t).addEventListener("resize", n.updateBound, { passive: !0 }); var r = i(t); return $(r, "scroll", n.updateBound, n.scrollParents), n.scrollElement = r, n.eventsEnabled = !0, n } function L() { this.state.eventsEnabled || (this.state = N(this.reference, this.options, this.state, this.scheduleUpdate)) } function M() { this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = function (t, e) { return O(t).removeEventListener("resize", e.updateBound), e.scrollParents.forEach((function (t) { t.removeEventListener("scroll", e.updateBound) })), e.updateBound = null, e.scrollParents = [], e.scrollElement = null, e.eventsEnabled = !1, e }(this.reference, this.state)) } function H(t) { return "" !== t && !isNaN(parseFloat(t)) && isFinite(t) } function F(t, e) { Object.keys(e).forEach((function (n) { var i = ""; -1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(n) && H(e[n]) && (i = "px"), t.style[n] = e[n] + i })) } function R(t, e, n) { var i = T(t, (function (t) { return t.name === e })), o = !!i && t.some((function (t) { return t.name === n && t.enabled && t.order < i.order })); if (!o) { var r = "`" + e + "`"; console.warn("`" + n + "` modifier is required by " + r + " modifier in order to work, be sure to include it before " + r + "!") } return o } function j(t) { var e = 1 < arguments.length && void 0 !== arguments[1] && arguments[1], n = rt.indexOf(t), i = rt.slice(n + 1).concat(rt.slice(0, n)); return e ? i.reverse() : i } function B(t, e, n, i) { var o = [0, 0], r = -1 !== ["right", "left"].indexOf(i), s = t.split(/(\+|\-)/).map((function (t) { return t.trim() })), a = s.indexOf(T(s, (function (t) { return -1 !== t.search(/,|\s/) }))); s[a] && -1 === s[a].indexOf(",") && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."); var l = /\s*,\s*|\s+/, c = -1 === a ? [s] : [s.slice(0, a).concat([s[a].split(l)[0]]), [s[a].split(l)[1]].concat(s.slice(a + 1))]; return c = c.map((function (t, i) { var o = (1 === i ? !r : r) ? "he
1ight" : "width", s = !1; return t.reduce((function (t, e) { return "" === t[t.length - 1] && -1 !== ["+", "-"].indexOf(e) ? (t[t.length - 1] = e, s = !0, t) : s ? (t[t.length - 1] += e, s = !1, t) : t.concat(e) }), []).map((function (t) { return function (t, e, n, i) { var o = t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/), r = +o[1], s = o[2]; if (!r) return t; if (0 === s.indexOf("%")) { return h("%p" === s ? n : i)[e] / 100 * r } return "vh" === s || "vw" === s ? ("vh" === s ? U(document.documentElement.clientHeight, window.innerHeight || 0) : U(document.documentElement.clientWidth, window.innerWidth || 0)) / 100 * r : r }(t, o, e, n) })) })), c.forEach((function (t, e) { t.forEach((function (n, i) { H(n) && (o[e] += n * ("-" === t[i - 1] ? -1 : 1)) })) })), o } for (var z = Math.min, W = Math.floor, q = Math.round, U = Math.max, V = "undefined" != typeof window && "undefined" != typeof document, Y = ["Edge", "Trident", "Firefox"], X = 0, K = 0; K < Y.length; K += 1)if (V && 0 <= navigator.userAgent.indexOf(Y[K])) { X = 1; break } var Q = V && window.Promise ? function (t) { var e = !1; return function () { e || (e = !0, window.Promise.resolve().then((function () { e = !1, t() }))) } } : function (t) { var e = !1; return function () { e || (e = !0, setTimeout((function () { e = !1, t() }), X)) } }, Z = V && !(!window.MSInputMethodContext || !document.documentMode), G = V && /MSIE 10/.test(navigator.userAgent), J = function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }, tt = function () { function t(t, e) { for (var n, i = 0; i < e.length; i++)(n = e[i]).enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n) } return function (e, n, i) { return n && t(e.prototype, n), i && t(e, i), e } }(), et = function (t, e, n) { return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t }, nt = Object.assign || function (t) { for (var e, n = 1; n < arguments.length; n++)for (var i in e = arguments[n]) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]); return t }, it = V && /Firefox/i.test(navigator.userAgent), ot = ["auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start"], rt = ot.slice(3), st = "flip", at = "clockwise", lt = "counterclockwise", ct = function () { function e(n, i) { var o = this, r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : {}; J(this, e), this.scheduleUpdate = function () { return requestAnimationFrame(o.update) }, this.update = Q(this.update.bind(this)), this.options = nt({}, e.Defaults, r), this.state = { isDestroyed: !1, isCreated: !1, scrollParents: [] }, this.reference = n && n.jquery ? n[0] : n, this.popper = i && i.jquery ? i[0] : i, this.options.modifiers = {}, Object.keys(nt({}, e.Defaults.modifiers, r.modifiers)).forEach((function (t) { o.options.modifiers[t] = nt({}, e.Defaults.modifiers[t] || {}, r.modifiers ? r.modifiers[t] : {}) })), this.modifiers = Object.keys(this.options.modifiers).map((function (t) { return nt({ name: t }, o.options.modifiers[t]) })).sort((function (t, e) { return t.order - e.order })), this.modifiers.forEach((function (e) { e.enabled && t(e.onLoad) && e.onLoad(o.reference, o.popper, o.options, e, o.state) })), this.update(); var s = this.options.eventsEnabled; s && this.enableEventListeners(), this.state.eventsEnabled = s } return tt(e, [{ key: "update", value: function () { return I.call(this) } }
vendor: 8,265 bytes, line 1
1, { key: "destroy", value: function () { return k.call(this) } }, { key: "enableEventListeners", value: function () { return L.call(this) } }, { key: "disableEventListeners", value: function () { return M.call(this) } }]), e }(); return ct.Utils = ("undefined" == typeof window ? global : window).PopperUtils, ct.placements = ot, ct.Defaults = { placement: "bottom", positionFixed: !1, eventsEnabled: !0, removeOnDestroy: !1, onCreate: function () { }, onUpdate: function () { }, modifiers: { shift: { order: 100, enabled: !0, fn: function (t) { var e = t.placement, n = e.split("-")[0], i = e.split("-")[1]; if (i) { var o = t.offsets, r = o.reference, s = o.popper, a = -1 !== ["bottom", "top"].indexOf(n), l = a ? "left" : "top", c = a ? "width" : "height", u = { start: et({}, l, r[l]), end: et({}, l, r[l] + r[c] - s[c]) }; t.offsets.popper = nt({}, s, u[i]) } return t } }, offset: { order: 200, enabled: !0, fn: function (t, e) { var n, i = e.offset, o = t.placement, r = t.offsets, s = r.popper, a = r.reference, l = o.split("-")[0]; return n = H(+i) ? [+i, 0] : B(i, s, a, l), "left" === l ? (s.top += n[0], s.left -= n[1]) : "right" === l ? (s.top += n[0], s.left += n[1]) : "top" === l ? (s.left += n[0], s.top -= n[1]) : "bottom" === l && (s.left += n[0], s.top += n[1]), t.popper = s, t }, offset: 0 }, preventOverflow: { order: 300, enabled: !0, fn: function (t, e) { var n = e.boundariesElement || r(t.instance.popper); t.instance.reference === n && (n = r(n)); var i = D("transform"), o = t.instance.popper.style, s = o.top, a = o.left, l = o[i]; o.top = "", o.left = "", o[i] = ""; var c = b(t.instance.popper, t.instance.reference, e.padding, n, t.positionFixed); o.top = s, o.left = a, o[i] = l, e.boundaries = c; var u = e.priority, d = t.offsets.popper, f = { primary: function (t) { var n = d[t]; return d[t] < c[t] && !e.escapeWithReference && (n = U(d[t], c[t])), et({}, t, n) }, secondary: function (t) { var n = "right" === t ? "left" : "top", i = d[n]; return d[t] > c[t] && !e.escapeWithReference && (i = z(d[n], c[t] - ("right" === t ? d.width : d.height))), et({}, n, i) } }; return u.forEach((function (t) { var e = -1 === ["left", "top"].indexOf(t) ? "secondary" : "primary"; d = nt({}, d, f[e](t)) })), t.offsets.popper = d, t }, priority: ["left", "right", "top", "bottom"], padding: 5, boundariesElement: "scrollParent" }, keepTogether: { order: 400, enabled: !0, fn: function (t) { var e = t.offsets, n = e.popper, i = e.reference, o = t.placement.split("-")[0], r = W, s = -1 !== ["top", "bottom"].indexOf(o), a = s ? "right" : "bottom", l = s ? "left" : "top", c = s ? "width" : "height"; return n[a] < r(i[l]) && (t.offsets.popper[l] = r(i[l]) - n[c]), n[l] > r(i[a]) && (t.offsets.popper[l] = r(i[a])), t } }, arrow: { order: 500, enabled: !0, fn: function (t, n) { var i; if (!R(t.instance.modifiers, "arrow", "keepTogether")) return t; var o = n.element; if ("string" == typeof o) { if (!(o = t.instance.popper.querySelector(o))) return t } else if (!t.instance.popper.contains(o)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), t; var r = t.placement.split("-")[0], s = t.offsets, a = s.popper, l = s.reference, c = -1 !== ["left", "right"].indexOf(r), u = c ? "height" : "width", d = c ? "Top" : "Left", f = d.toLowerCase(), p = c ? "left" : "top", m = c ? "bottom" : "right", g = E(o)[u]; l[m] - g < a[f] && (t.offsets.popper[f] -= a[f] - (l[m] - g)), l[f] + g > a[m] && (t.offsets.popper[f] += l[f] + g - a[m]), t.offsets.popper = h(t.offsets.popper); var v = l[f] + l[u] / 2 - g / 2, y = e(t.instance.popper), b = parseFloat(y["margin" + d], 10), w = parseFloat(y["border" + d + "Width"], 10), _ = v - t.offsets.popper[f] - b - w; return _ = U(z(a[u] - g, _), 0), t.arrowElement = o, t.offsets.arrow = (et(i = {}, f, q(_)), et(i, p, ""), i), t }, element: "[x-arrow]" }, flip: { order: 600, enabled: !0, fn: function (t, e) { if (P(t.instance.modifiers, "inner")) return t; if (t.flipped && t.placement === t.originalPlacement) return t; var n = b(t.instance.popper, t.instance.reference, e.padding, e.boundariesElement, t.positionFixed), i = t.placement.split("-")[0], o = C(i), r = t.placement.split("-")[1] || "", s = []; switch (e.behavior) { case st: s = [i, o]; break; case at: s = j(i); break; case lt: s = j(i, !0); break; default: s = e.behavior }return s.forEach((function (a, l) { if (i !== a || s.length === l + 1) return t; i = t.placement.split("-")[0], o = C(i); var c = t.offsets.popper, u = t.offsets.reference, d = W, f = "left" === i && d(c.right) > d(u.left) || "right" === i && d(c.left) < d(u.right) || "top" === i && d(c.bottom) > d(u.top) || "bottom" === i && d(c.top) < d(u.bottom), h = d(c.left) < d(n.left), p = d(c.right) > d(n.right), m = d(c.top) < d(n.top), g = d(c.bottom) > d(n.bottom), v = "left" === i && h || "right" === i && p || "top" === i && m || "bottom" === i && g, y = -1 !== ["top", "bottom"].indexOf(i), b = !!e.flipVariations && (y && "start" === r && h || y && "end" === r && p || !y && "start" === r && m || !y && "end" === r && g); (f || v || b) && (t.flipped = !0, (f || v) && (i = s[l + 1]), b && (r = function (t) { return "end" === t ? "start" : "start" === t ? "end" : t }(r)), t.placement = i + (r ? "-" + r : ""), t.offsets.popper = nt({}, t.offsets.popper, S(t.instance.popper, t.offsets.reference, t.placement)), t = A(t.instance.modifiers, t, "flip")) })), t }, behavior: "flip", padding: 5, boundariesElement: "viewport" }, inner: { order: 700, enabled: !1, fn: function (t) { var e = t.placement, n = e.split("-")[0], i = t.offsets, o = i.popper, r = i.reference, s = -1 !== ["left", "right"].indexOf(n), a = -1 === ["top", "left"].indexOf(n); return o[s ? "left" : "top"] = r[n] - (a ? o[s ? "width" : "height"] : 0), t.placement = C(e), t.offsets.popper = h(o), t } }, hide: { order: 800, enabled: !0, fn: function (t) { if (!R(t.instance.modifiers, "hide", "preventOverflow")) return t; var e = t.offsets.reference, n = T(t.instance.modifiers, (function (t) { return "preventOverflow" === t.name })).boundaries; if (e.bottom < n.top || e.left > n.right || e.top > n.bottom || e.right < n.left) { if (!0 === t.hide) return t; t.hide = !0, t.attributes["x-out-of-boundaries"] = "" } else { if (!1 === t.hide) return t; t.hide = !1, t.attributes["x-out-of-boundaries"] = !1 } return t } }, computeStyle: { order: 850, enabled: !0, fn: function (t, e) { var n = e.x, i = e.y, o = t.offsets.popper, s = T(t.instance.modifiers, (function (t) { return "applyStyle" === t.name })).gpuAcceleration; void 0 !== s && console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"); var a, l, c = void 0 === s ? e.gpuAcceleration : s, u = r(t.instance.popper), d = p(u), f = { position: o.position }, h = function (t, e) { var n = t.offsets, i = n.popper, o = n.reference, r = q, s = function (t) { return t }, a = r(o.width), l = r(i.width), c = -1 !== ["left", "right"].indexOf(t.placement), u = -1 !== t.placement.indexOf("-"), d = e ? c || u || a % 2 == l % 2 ? r : W : s, f = e ? r : s; return { left: d(1 == a % 2 && 1 == l % 2 && !u && e ? i.left - 1 : i.left), top: f(i.top), bottom: f(i.bottom), right: d(i.right) } }(t, 2 > window.devicePixelRatio || !it), m = "bottom" === n ? "top" : "bottom", g = "right" === i ? "left" : "right", v = D("transform"); if (l = "bottom" == m ? "HTML" === u.nodeName ? -u.clientHeight + h.bottom : -d.height + h.bottom : h.top, a = "right" == g ? "HTML" === u.nodeName ? -u.clientWidth + h.right : -d.width + h.right : h.left, c && v) f[v] = "translate3d(" + a + "px, " + l + "px, 0)", f[m] = 0, f[g] = 0, f.willChange = "transform"; else { var y = "bottom" == m ? -1 : 1, b = "right" == g ? -1 : 1; f[m] = l * y, f[g] = a * b, f.willChange = m + ", " + g } var w = { "x-placement": t.placement }; return t.attributes = nt({}, w, t.attributes), t.styles = nt({}, f, t.styles), t.arrowStyles = nt({}, t.offsets.arrow, t.arrowStyles), t }, gpuAcceleration: !0, x: "bottom", y: "right" }, applyStyle: { order: 900, enabled: !0, fn: function (t) { return F(t.instance.popper, t.styles), function (t, e) { Object.keys(e).forEach((function (n) { !1 === e[n] ? t.removeAttribute(n) : t.setAttribute(n, e[n]) })) }
1(t.instance.popper, t.attributes), t.arrowElement && Object.keys(t.arrowStyles).length && F(t.arrowElement, t.arrowStyles), t }, onLoad: function (t, e, n, i, o) { var r = x(o, e, t, n.positionFixed), s = _(n.placement, r, e, t, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding); return e.setAttribute("x-placement", s), F(e, { position: n.positionFixed ? "fixed" : "absolute" }), n }, gpuAcceleration: void 0 } } }, ct })), function (t, e) { "object" == typeof exports && "undefined" != typeof module ? e(exports, require("jquery"), require("popper.js")) : "function" == typeof define && define.amd ? define(["exports", "jquery", "popper.js"], e) : e((t = t || self).bootstrap = {}, t.jQuery, t.Popper) }(this, (function (t, e, n) { "use strict"; function i(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 o(t, e, n) { return e && i(t.prototype, e), n && i(t, n), t } function r(t) { for (var e = 1; e < arguments.length; e++) { var n = null != arguments[e] ? arguments[e] : {}, i = Object.keys(n); "function" == typeof Object.getOwnPropertySymbols && (i = i.concat(Object.getOwnPropertySymbols(n).filter((function (t) { return Object.getOwnPropertyDescriptor(n, t).enumerable })))), i.forEach((function (e) { var i, o, r; i = t, r = n[o = e], o in i ? Object.defineProperty(i, o, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : i[o] = r })) } return t } e = e && e.hasOwnProperty("default") ? e.default : e, n = n && n.hasOwnProperty("default") ? n.default : n; var s = "transitionend"; var a = { TRANSITION_END: "bsTransitionEnd", getUID: function (t) { for (; t += ~~(1e6 * Math.random()), document.getElementById(t);); return t }, getSelectorFromElement: function (t) { var e = t.getAttribute("data-target"); if (!e || "#" === e) { var n = t.getAttribute("href"); e = n && "#" !== n ? n.trim() : "" } try { return document.querySelector(e) ? e : null } catch (t) { return null } }, getTransitionDurationFromElement: function (t) { if (!t) return 0; var n = e(t).css("transition-duration"), i = e(t).css("transition-delay"), o = parseFloat(n), r = parseFloat(i); return o || r ? (n = n.split(",")[0], i = i.split(",")[0], 1e3 * (parseFloat(n) + parseFloat(i))) : 0 }, reflow: function (t) { return t.offsetHeight }, triggerTransitionEnd: function (t) { e(t).trigger(s) }, supportsTransitionEnd: function () { return Boolean(s) }, isElement: function (t) { return (t[0] || t).nodeType }, typeCheckConfig: function (t, e, n) { for (var i in n) if (Object.prototype.hasOwnProperty.call(n, i)) { var o = n[i], r = e[i], s = r && a.isElement(r) ? "element" : (l = r, {}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase()); if (!new RegExp(o).test(s)) throw new Error(t.toUpperCase() + ': Option "' + i + '" provided type "' + s + '" but expected type "' + o + '".') } var l }, findShadowRoot: function (t) { if (!document.documentElement.attachShadow) return null; if ("function" != typeof t.getRootNode) return t instanceof ShadowRoot ? t : t.parentNode ? a.findShadowRoot(t.parentNode) : null; var e = t.getRootNode(); return e instanceof ShadowRoot ? e : null } }; e.fn.emulateTransitionEnd = function (t) { var n = this, i = !1; return e(this).one(a.TRANSITION_END, (function () { i = !0 })), setTimeout((function () { i || a.triggerTransitionEnd(n) }), t), this }, e.event.special[a.TRANSITION_END] = { bindType: s, delegateType: s, handle: function (t) { if (e(t.target).is(this)) return t.handleObj.handler.apply(this, arguments) } }; var l = "alert", c = "bs.alert", u = "." + c, d = e.fn[l], f = { CLOSE: "close" + u, CLOSED: "closed" + u, CLICK_DATA_API: "click" + u + ".data-api" }, h = function () { function t(t) { this._element = t } var n = t.prototype; return n.close = function (t) { var e = this._element; t && (e = this._getRootElement(t)), this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e) }, n.dispose = function () { e.removeData(this._element, c), this._element = null }, n._getRootElement = function (t) { var n = a.getSelectorFromElement(t), i = !1; return n && (i = document.querySelector(n)), i || (i = e(t).closest(".alert")[0]), i }, n._triggerCloseEvent = function (t) { var n = e.Event(f.CLOSE); return e(t).trigger(n), n }, n._removeElement = function (t) { var n = this; if (e(t).removeClass("show"), e(t).hasClass("fade")) { var i = a.getTransitionDurationFromElement(t); e(t).one(a.TRANSITION_END, (function (e) { return n._destroyElement(t, e) })).emulateTransitionEnd(i) } else this._destroyElement(t) }, n._destroyElement = function (t) { e(t).detach().trigger(f.CLOSED).remove() }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this), o = i.data(c); o || (o = new t(this), i.data(c, o)), "close" === n && o[n](this) })) }, t._handleDismiss = function (t) { return function (e) { e && e.preventDefault(), t.close(this) } }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }]), t }(); e(document).on(f.CLICK_DATA_API, '[data-dismiss="alert"]', h._handleDismiss(new h)), e.fn[l] = h._jQueryInterface, e.fn[l].Constructor = h, e.fn[l].noConflict = function () { return e.fn[l] = d, h._jQueryInterface }; var p = "button", m = "bs.button", g = "." + m, v = ".data-api", y = e.fn[p], b = "active", w = '[data-toggle^="button"]', _ = ".btn", x = { CLICK_DATA_API: "click" + g + v, FOCUS_BLUR_DATA_API: "focus" + g + v + " blur" + g + v }, E = function () { function t(t) { this._element = t } var n = t.prototype; return n.toggle = function () { var t = !0, n = !0, i = e(this._element).closest('[data-toggle="buttons"]')[0]; if (i) { var o = this._element.querySelector('input:not([type="hidden"])'); if (o) { if ("radio" === o.type) if (o.checked && this._element.classList.contains(b)) t = !1; else { var r = i.querySelector(".active"); r && e(r).removeClass(b) } if (t) { if (o.hasAttribute("disabled") || i.hasAttribute("disabled") || o.classList.contains("disabled") || i.classList.contains("disabled")) return; o.checked = !this._element.classList.contains(b), e(o).trigger("change") } o.focus(), n = !1 } } n && this._element.setAttribute("aria-pressed", !this._element.classList.contains(b)), t && e(this._element).toggleClass(b) }, n.dispose = function () { e.removeData(this._element, m), this._element = null }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this).data(m); i || (i = new t(this), e(this).data(m, i)), "toggle" === n && i[n]() })) }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }]), t }(); e(document).on(x.CLICK_DATA_API, w, (function (t) { t.preventDefault(); var n = t.target; e(n).hasClass("btn") || (n = e(n).closest(_)), E._jQueryInterface.call(e(n), "toggle") })).on(x.FOCUS_BLUR_DATA_API, w, (function (t) { var n = e(t.target).closest(_)[0]; e(n).toggleClass("focus", /^focus(in)?$/.test(t.type)) })), e.fn[p] = E._jQueryInterface, e.fn[p].Constructor = E, e.fn[p].noConflict = function () { return e.fn[p] = y, E._jQueryInterface }; var C = "carousel", S = "bs.carousel", T = "." + S, A = ".data-api", I = e.fn[C], P = { interval: 5e3, keyboard: !0, slide: !1, pause: "hover", wrap: !0, touch: !0 }, D = { interval: "(number|boolean)", keyboard: "boolean", slide: "(boolean|string)", pause: "(string|boolean)", wrap: "boolean", touch: "boolean" }, k = "next", O = "prev", $ = { SLIDE: "slide" + T, SLID: "slid" + T, KEYDOWN: "keydown" + T, MOUSEENTER: "mouseenter" + T, MOUSELEAVE: "mouseleave" + T, TOUCHSTART: "touchstart" + T, TOUCHMOVE: "touchmove" + T, TOUCHEND: "touchend" + T, POINTERDOWN: "pointerdown" + T, POINTERUP: "pointerup" + T, DRAG_START: "dragstart" + T, LOAD_DATA_API: "load" + T + A, CLICK_DATA_API: "click" + T + A }, N = "active", L = ".active.carousel-item", M = { TOUCH: "touch", PEN: "pen" }, H = function () { function t(t, e) { this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this.touchStartX = 0, this.touchDeltaX = 0, this._config = this._getConfig(e), this._element = t, this._indicatorsElement = this._element.querySelector(".carousel-indicators"), this._touchSupported = "ontouchstart" in document.documentElement || 0 < navigator.maxTouchPoints, this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent), this._addEventListeners() } var n = t.prototype; return n.next = function () { this._isSliding || this._slide(k) }, n.nextWhenVisible = function () { !document.hidden && e(this._element).is(":visible") && "hidden" !== e(this._element).css("visibility") && this.next() }, n.prev = function () { this._isSliding || this._slide(O) }, n.pause = function (t) { t || (this._isPaused = !0), this._element.querySelector(".carousel-item-next, .carousel-item-prev") && (a.triggerTransitionEnd(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null }, n.cycle = function (t) { t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config.interval && !this._isPaused && (this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval)) }, n.to = function (t) { var n = this; this._activeElement = this._element.querySelector(L); var i = this._getItemIndex(this._activeElement); if (!(t > this._items.length - 1 || t < 0)) if (this._isSliding) e(this._element).one($.SLID, (function () { return n.to(t) })); else { if (i === t) return this.pause(), void this.cycle(); var o = i < t ? k : O; this._slide(o, this._items[t]) } }, n.dispose = function () { e(this._element).off(T), e.removeData(this._element, S), this._items = null, this._config = null, this._element = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null }, n._getConfig = function (t) { return t = r({}, P, t), a.typeCheckConfig(C, t, D), t }, n._handleSwipe = function () { var t = Math.abs(this.touchDeltaX); if (!(t <= 40)) { var e = t / this.touchDeltaX; 0 < e && this.prev(), e < 0 && this.next() } }, n._addEventListeners = function () { var t = this; this._config.keyboard && e(this._element).on($.KEYDOWN, (function (e) { return t._keydown(e) })), "hover" === this._config.pause && e(this._element).on($.MOUSEENTER, (function (e) { return t.pause(e) })).on($.MOUSELEAVE, (function (e) { return t.cycle(e) })), this._config.touch && this._addTouchEventListeners() }, n._addTouchEventListeners = function () { var t = this; if (this._touchSupported) { var n = function (e) { t._pointerEvent && M[e.originalEvent.pointerType.toUpperCase()] ? t.touchStartX = e.originalEvent.clientX : t._pointerEvent || (t.touchStartX = e.originalEvent.touches[0].clientX) }, i = function (e) { t._pointerEvent && M[e.originalEvent.pointerType.toUpperCase()] && (t.touchDeltaX = e.originalEvent.clientX - t.touchStartX), t._handleSwipe(), "hover" === t._config.pause && (t.pause(), t.touchTimeout && clearTimeout(t.touchTimeout), t.touchTimeout = setTimeout((function (e) { return t.cycle(e) }), 500 + t._config.interval)) }; e(this._element.querySelectorAll(".carousel-item img")).on($.DRAG_START, (function (t) { return t.preventDefault() })), this._pointerEvent ? (e(this._element).on($.POINTERDOWN, (function (t) { return n(t) })), e(this._element).on($.POINTERUP, (function (t) { return i(t) })), this._element.classList.add("pointer-event")) : (e(this._element).on($.TOUCHSTART, (function (t) { return n(t) })), e(this._element).on($.TOUCHMOVE, (function (e) { var n; (n = e).originalEvent.touches && 1 < n.originalEvent.touches.length ? t.touchDeltaX = 0 : t.touchDeltaX = n.originalEvent.touches[0].clientX - t.touchStartX })), e(this._element).on($.TOUCHEND, (function (t) { return i(t) }))) } }, n._keydown = function (t) { if (!/input|textarea/i.test(t.target.tagName)) switch (t.which) { case 37: t.preventDefault(), this.prev(); break; case 39: t.preventDefault(), this.next() } }, n._getItemIndex = function (t) { return this._items = t && t.parentNode ? [].slice.call(t.parentNode.querySelectorAll(".carousel-item")) : [], this._items.indexOf(t) }, n._getItemByDirection = function (t, e) { var n = t === k, i = t === O, o = this._getItemIndex(e), r = this._items.length - 1; if ((i && 0 === o || n && o === r) && !this._config.wrap) return e; var s = (o + (t === O ? -1 : 1)) % this._items.length; return -1 === s ? this._items[this._items.length - 1] : this._items[s] }, n._triggerSlideEvent = function (t, n) { var i = this._getItemIndex(t), o = this._getItemIndex(this._element.querySelector(L)), r = e.Event($.SLIDE, { relatedTarget: t, direction: n, from: o, to: i }); return e(this._element).trigger(r), r }, n._setActiveIndicatorElement = function (t) { if (this._indicatorsElement) { var n = [].slice.call(this._indicatorsElement.querySelectorAll(".active")); e(n).removeClass(N); var i = this._indicatorsElement.children[this._getItemIndex(t)]; i && e(i).addClass(N) } }, n._slide = function (t, n) { var i, o, r, s = this, l = this._element.querySelector(L), c = this._getItemIndex(l), u = n || l && this._getItemByDirection(t, l), d = this._getItemIndex(u), f = Boolean(this._interval); if (r = t === k ? (i = "carousel-item-left", o = "carousel-item-next", "left") : (i = "carousel-item-right", o = "carousel-item-prev", "right"), u && e(u).hasClass(N)) this._isSliding = !1; else if (!this._triggerSlideEvent(u, r).isDefaultPrevented() && l && u) { this._isSliding = !0, f && this.pause(), this._setActiveIndicatorElement(u);
1 var h = e.Event($.SLID, { relatedTarget: u, direction: r, from: c, to: d }); if (e(this._element).hasClass("slide")) { e(u).addClass(o), a.reflow(u), e(l).addClass(i), e(u).addClass(i); var p = parseInt(u.getAttribute("data-interval"), 10); this._config.interval = p ? (this._config.defaultInterval = this._config.defaultInterval || this._config.interval, p) : this._config.defaultInterval || this._config.interval; var m = a.getTransitionDurationFromElement(l); e(l).one(a.TRANSITION_END, (function () { e(u).removeClass(i + " " + o).addClass(N), e(l).removeClass(N + " " + o + " " + i), s._isSliding = !1, setTimeout((function () { return e(s._element).trigger(h) }), 0) })).emulateTransitionEnd(m) } else e(l).removeClass(N), e(u).addClass(N), this._isSliding = !1, e(this._element).trigger(h); f && this.cycle() } }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this).data(S), o = r({}, P, e(this).data()); "object" == typeof n && (o = r({}, o, n)); var s = "string" == typeof n ? n : o.slide; if (i || (i = new t(this, o), e(this).data(S, i)), "number" == typeof n) i.to(n); else if ("string" == typeof s) { if (void 0 === i[s]) throw new TypeError('No method named "' + s + '"'); i[s]() } else o.interval && o.ride && (i.pause(), i.cycle()) })) }, t._dataApiClickHandler = function (n) { var i = a.getSelectorFromElement(this); if (i) { var o = e(i)[0]; if (o && e(o).hasClass("carousel")) { var s = r({}, e(o).data(), e(this).data()), l = this.getAttribute("data-slide-to"); l && (s.interval = !1), t._jQueryInterface.call(e(o), s), l && e(o).data(S).to(l), n.preventDefault() } } }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "Default", get: function () { return P } }]), t }(); e(document).on($.CLICK_DATA_API, "[data-slide], [data-slide-to]", H._dataApiClickHandler), e(window).on($.LOAD_DATA_API, (function () { for (var t = [].slice.call(document.querySelectorAll('[data-ride="carousel"]')), n = 0, i = t.length; n < i; n++) { var o = e(t[n]); H._jQueryInterface.call(o, o.data()) } })), e.fn[C] = H._jQueryInterface, e.fn[C].Constructor = H, e.fn[C].noConflict = function () { return e.fn[C] = I, H._jQueryInterface }; var F = "collapse", R = "bs.collapse", j = "." + R, B = e.fn[F], z = { toggle: !0, parent: "" }, W = { toggle: "boolean", parent: "(string|element)" }, q = { SHOW: "show" + j, SHOWN: "shown" + j, HIDE: "hide" + j, HIDDEN: "hidden" + j, CLICK_DATA_API: "click" + j + ".data-api" }, U = "show", V = "collapse", Y = "collapsing", X = "collapsed", K = "width", Q = '[data-toggle="collapse"]', Z = function () { function t(t, e) { this._isTransitioning = !1, this._element = t, this._config = this._getConfig(e), this._triggerArray = [].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#' + t.id + '"],[data-toggle="collapse"][data-target="#' + t.id + '"]')); for (var n = [].slice.call(document.querySelectorAll(Q)), i = 0, o = n.length; i < o; i++) { var r = n[i], s = a.getSelectorFromElement(r), l = [].slice.call(document.querySelectorAll(s)).filter((function (e) { return e === t })); null !== s && 0 < l.length && (this._selector = s, this._triggerArray.push(r)) } this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle() } var n = t.prototype; return n.toggle = function () { e(this._element).hasClass(U) ? this.hide() : this.show() }, n.show = function () { var n, i, o = this; if (!(this._isTransitioning || e(this._element).hasClass(U) || (this._parent && 0 === (n = [].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function (t) { return "string" == typeof o._config.parent ? t.getAttribute("data-parent") === o._config.parent : t.classList.contains(V) }))).length && (n = null), n && (i = e(n).not(this._selector).data(R)) && i._isTransitioning))) { var r = e.Event(q.SHOW); if (e(this._element).trigger(r), !r.isDefaultPrevented()) { n && (t._jQueryInterface.call(e(n).not(this._selector), "hide"), i || e(n).data(R, null)); var s = this._getDimension(); e(this._element).removeClass(V).addClass(Y), this._element.style[s] = 0, this._triggerArray.length && e(this._triggerArray).removeClass(X).attr("aria-expanded", !0), this.setTransitioning(!0); var l = "scroll" + (s[0].toUpperCase() + s.slice(1)), c = a.getTransitionDurationFromElement(this._element); e(this._element).one(a.TRANSITION_END, (function () { e(o._element).removeClass(Y).addClass(V).addClass(U), o._element.style[s] = "", o.setTransitioning(!1), e(o._element).trigger(q.SHOWN) })).emulateTransitionEnd(c), this._element.style[s] = this._element[l] + "px" } } }, n.hide = function () { var t = this; if (!this._isTransitioning && e(this._element).hasClass(U)) { var n = e.Event(q.HIDE); if (e(this._element).trigger(n), !n.isDefaultPrevented()) { var i = this._getDimension(); this._element.style[i] = this._element.getBoundingClientRect()[i] + "px", a.reflow(this._element), e(this._element).addClass(Y).removeClass(V).removeClass(U); var o = this._triggerArray.length; if (0 < o) for (var r = 0; r < o; r++) { var s = this._triggerArray[r], l = a.getSelectorFromElement(s); null !== l && (e([].slice.call(document.querySelectorAll(l))).hasClass(U) || e(s).addClass(X).attr("aria-expanded", !1)) } this.setTransitioning(!0), this._element.style[i] = ""; var c = a.getTransitionDurationFromElement(this._element); e(this._element).one(a.TRANSITION_END, (function () { t.setTransitioning(!1), e(t._element).removeClass(Y).addClass(V).trigger(q.HIDDEN) })).emulateTransitionEnd(c) } } }, n.setTransitioning = function (t) { this._isTransitioning = t }, n.dispose = function () { e.removeData(this._element, R), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null }, n._getConfig = function (t) { return (t = r({}, z, t)).toggle = Boolean(t.toggle), a.typeCheckConfig(F, t, W), t }, n._getDimension = function () { return e(this._element).hasClass(K) ? K : "height" }, n._getParent = function () { var n, i = this; a.isElement(this._config.parent) ? (n = this._config.parent, void 0 !== this._config.parent.jquery && (n = this._config.parent[0])) : n = document.querySelector(this._config.parent); var o = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]', r = [].slice.call(n.querySelectorAll(
1o)); return e(r).each((function (e, n) { i._addAriaAndCollapsedClass(t._getTargetFromElement(n), [n]) })), n }, n._addAriaAndCollapsedClass = function (t, n) { var i = e(t).hasClass(U); n.length && e(n).toggleClass(X, !i).attr("aria-expanded", i) }, t._getTargetFromElement = function (t) { var e = a.getSelectorFromElement(t); return e ? document.querySelector(e) : null }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this), o = i.data(R), s = r({}, z, i.data(), "object" == typeof n && n ? n : {}); if (!o && s.toggle && /show|hide/.test(n) && (s.toggle = !1), o || (o = new t(this, s), i.data(R, o)), "string" == typeof n) { if (void 0 === o[n]) throw new TypeError('No method named "' + n + '"'); o[n]() } })) }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "Default", get: function () { return z } }]), t }(); e(document).on(q.CLICK_DATA_API, Q, (function (t) { "A" === t.currentTarget.tagName && t.preventDefault(); var n = e(this), i = a.getSelectorFromElement(this), o = [].slice.call(document.querySelectorAll(i)); e(o).each((function () { var t = e(this), i = t.data(R) ? "toggle" : n.data(); Z._jQueryInterface.call(t, i) })) })), e.fn[F] = Z._jQueryInterface, e.fn[F].Constructor = Z, e.fn[F].noConflict = function () { return e.fn[F] = B, Z._jQueryInterface }; var G = "dropdown", J = "bs.dropdown", tt = "." + J, et = ".data-api", nt = e.fn[G], it = new RegExp("38|40|27"), ot = { HIDE: "hide" + tt, HIDDEN: "hidden" + tt, SHOW: "show" + tt, SHOWN: "shown" + tt, CLICK: "click" + tt, CLICK_DATA_API: "click" + tt + et, KEYDOWN_DATA_API: "keydown" + tt + et, KEYUP_DATA_API: "keyup" + tt + et }, rt = "disabled", st = "show", at = "dropdown-menu-right", lt = '[data-toggle="dropdown"]', ct = ".dropdown-menu", ut = { offset: 0, flip: !0, boundary: "scrollParent", reference: "toggle", display: "dynamic" }, dt = { offset: "(number|string|function)", flip: "boolean", boundary: "(string|element)", reference: "(string|element)", display: "string" }, ft = function () { function t(t, e) { this._element = t, this._popper = null, this._config = this._getConfig(e), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners() } var i = t.prototype; return i.toggle = function () { if (!this._element.disabled && !e(this._element).hasClass(rt)) { var i = t._getParentFromElement(this._element), o = e(this._menu).hasClass(st); if (t._clearMenus(), !o) { var r = { relatedTarget: this._element }, s = e.Event(ot.SHOW, r); if (e(i).trigger(s), !s.isDefaultPrevented()) { if (!this._inNavbar) { if (void 0 === n) throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)"); var l = this._element; "parent" === this._config.reference ? l = i : a.isElement(this._config.reference) && (l = this._config.reference, void 0 !== this._config.reference.jquery && (l = this._config.reference[0])), "scrollParent" !== this._config.boundary && e(i).addClass("position-static"), this._popper = new n(l, this._menu, this._getPopperConfig()) } "ontouchstart" in document.documentElement && 0 === e(i).closest(".navbar-nav").length && e(document.body).children().on("mouseover", null, e.noop), this._element.focus(), this._element.setAttribute("aria-expanded", !0), e(this._menu).toggleClass(st), e(i).toggleClass(st).trigger(e.Event(ot.SHOWN, r)) } } } }, i.show = function () { if (!(this._element.disabled || e(this._element).hasClass(rt) || e(this._menu).hasClass(st))) { var n = { relatedTarget: this._element }, i = e.Event(ot.SHOW, n), o = t._getParentFromElement(this._element); e(o).trigger(i), i.isDefaultPrevented() || (e(this._menu).toggleClass(st), e(o).toggleClass(st).trigger(e.Event(ot.SHOWN, n))) } }, i.hide = function () { if (!this._element.disabled && !e(this._element).hasClass(rt) && e(this._menu).hasClass(st)) { var n = { relatedTarget: this._element }, i = e.Event(ot.HIDE, n), o = t._getParentFromElement(this._element); e(o).trigger(i), i.isDefaultPrevented() || (e(this._menu).toggleClass(st), e(o).toggleClass(st).trigger(e.Event(ot.HIDDEN, n))) } }, i.dispose = function () { e.removeData(this._element, J), e(this._element).off(tt), this._element = null, (this._menu = null) !== this._popper && (this._popper.destroy(), this._popper = null) }, i.update = function () { this._inNavbar = this._detectNavbar(), null !== this._popper && this._popper.scheduleUpdate() }, i._addEventListeners = function () { var t = this; e(this._element).on(ot.CLICK, (function (e) { e.preventDefault(), e.stopPropagation(), t.toggle(
1) })) }, i._getConfig = function (t) { return t = r({}, this.constructor.Default, e(this._element).data(), t), a.typeCheckConfig(G, t, this.constructor.DefaultType), t }, i._getMenuElement = function () { if (!this._menu) { var e = t._getParentFromElement(this._element); e && (this._menu = e.querySelector(ct)) } return this._menu }, i._getPlacement = function () { var t = e(this._element.parentNode), n = "bottom-start"; return t.hasClass("dropup") ? (n = "top-start", e(this._menu).hasClass(at) && (n = "top-end")) : t.hasClass("dropright") ? n = "right-start" : t.hasClass("dropleft") ? n = "left-start" : e(this._menu).hasClass(at) && (n = "bottom-end"), n }, i._detectNavbar = function () { return 0 < e(this._element).closest(".navbar").length }, i._getOffset = function () { var t = this, e = {}; return "function" == typeof this._config.offset ? e.fn = function (e) { return e.offsets = r({}, e.offsets, t._config.offset(e.offsets, t._element) || {}), e } : e.offset = this._config.offset, e }, i._getPopperConfig = function () { var t = { placement: this._getPlacement(), modifiers: { offset: this._getOffset(), flip: { enabled: this._config.flip }, preventOverflow: { boundariesElement: this._config.boundary } } }; return "static" === this._config.display && (t.modifiers.applyStyle = { enabled: !1 }), t }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this).data(J); if (i || (i = new t(this, "object" == typeof n ? n : null), e(this).data(J, i)), "string" == typeof n) { if (void 0 === i[n]) throw new TypeError('No method named "' + n + '"'); i[n]() } })) }, t._clearMenus = function (n) { if (!n || 3 !== n.which && ("keyup" !== n.type || 9 === n.which)) for (var i = [].slice.call(document.querySelectorAll(lt)), o = 0, r = i.length; o < r; o++) { var s = t._getParentFromElement(i[o]), a = e(i[o]).data(J), l = { relatedTarget: i[o] }; if (n && "click" === n.type && (l.clickEvent = n), a) { var c = a._menu; if (e(s).hasClass(st) && !(n && ("click" === n.type && /input|textarea/i.test(n.target.tagName) || "keyup" === n.type && 9 === n.which) && e.contains(s, n.target))) { var u = e.Event(ot.HIDE, l); e(s).trigger(u), u.isDefaultPrevented() || ("ontouchstart" in document.documentElement && e(document.body).children().off("mouseover", null, e.noop), i[o].setAttribute("aria-expanded", "false"), e(c).removeClass(st), e(s).removeClass(st).trigger(e.Event(ot.HIDDEN, l))) } } } }, t._getParentFromElement = function (t) { var e, n = a.getSelectorFromElement(t); return n && (e = document.querySelector(n)), e || t.parentNode }, t._dataApiKeydownHandler = function (n) { if ((/input|textarea/i.test(n.target.tagName) ? !(32 === n.which || 27 !== n.which && (40 !== n.which && 38 !== n.which || e(n.target).closest(ct).length)) : it.test(n.which)) && (n.preventDefault(), n.stopPropagation(), !this.disabled && !e(this).hasClass(rt))) { var i = t._getParentFromElement(this), o = e(i).hasClass(st); if (o && (!o || 27 !== n.which && 32 !== n.which)) { var r = [].slice.call(i.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")); if (0 !== r.length) { var s = r.indexOf(n.target); 38 === n.which && 0 < s && s--, 40 === n.which && s < r.length - 1 && s++, s < 0 && (s = 0), r[s].focus() } } else { if (27 === n.which) { var a = i.querySelector(lt); e(a).trigger("focus") } e(this).trigger("click") } } }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "Default", get: function () { return ut } }, { key: "DefaultType", get: function () { return dt } }]), t }(); e(document).on(ot.KEYDOWN_DATA_API, lt, ft._dataApiKeydownHandler).on(ot.KEYDOWN_DATA_API, ct, ft._dataApiKeydownHandler).on(ot.CLICK_DATA_API + " " + ot.KEYUP_DATA_API, ft._clearMenus).on(ot.CLICK_DATA_API, lt, (function (t) { t.preventDefault(), t.stopPropagation(), ft._jQueryInterface.call(e(this), "toggle") })).on(ot.CLICK_DATA_API, ".dropdown form", (function (t) { t.stopPropagation() })), e.fn[G] = ft._jQueryInterface, e.fn[G].Constructor = ft, e.fn[G].noConflict = function () { return e.fn[G] = nt, ft._jQueryInterface }; var ht = "modal", pt = "bs.modal", mt = "." + pt, gt = e.fn[ht], vt = { backdrop: !0, keyboard: !0, focus: !0, show: !0 }, yt = { backdrop: "(boolean|string)", keyboard: "boolean", focus: "boolean", show: "boolean" }, bt = { HIDE: "hide" + mt, HIDDEN: "hidden" + mt, SHOW: "show" + mt, SHOWN: "shown" + mt, FOCUSIN: "focusin" + mt, RESIZE: "resize" + mt, CLICK_DISMISS: "click.dismiss" + mt, KEYDOWN_DISMISS: "keydown.dismiss" + mt, MOUSEUP_DISMISS: "mouseup.dismiss" + mt, MOUSEDOWN_DISMISS: "mousedown.dismiss" + mt, CLICK_DATA_API: "click" + mt + ".data-api" }
1, wt = "modal-open", _t = "fade", xt = "show", Et = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", Ct = ".sticky-top", St = function () { function t(t, e) { this._config = this._getConfig(e), this._element = t, this._dialog = t.querySelector(".modal-dialog"), this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1, this._scrollbarWidth = 0 } var n = t.prototype; return n.toggle = function (t) { return this._isShown ? this.hide() : this.show(t) }, n.show = function (t) { var n = this; if (!this._isShown && !this._isTransitioning) { e(this._element).hasClass(_t) && (this._isTransitioning = !0); var i = e.Event(bt.SHOW, { relatedTarget: t }); e(this._element).trigger(i), this._isShown || i.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), e(this._element).on(bt.CLICK_DISMISS, '[data-dismiss="modal"]', (function (t) { return n.hide(t) })), e(this._dialog).on(bt.MOUSEDOWN_DISMISS, (function () { e(n._element).one(bt.MOUSEUP_DISMISS, (function (t) { e(t.target).is(n._element) && (n._ignoreBackdropClick = !0) })) })), this._showBackdrop((function () { return n._showElement(t) }))) } }, n.hide = function (t) { var n = this; if (t && t.preventDefault(), this._isShown && !this._isTransitioning) { var i = e.Event(bt.HIDE); if (e(this._element).trigger(i), this._isShown && !i.isDefaultPrevented()) { this._isShown = !1; var o = e(this._element).hasClass(_t); if (o && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), e(document).off(bt.FOCUSIN), e(this._element).removeClass(xt), e(this._element).off(bt.CLICK_DISMISS), e(this._dialog).off(bt.MOUSEDOWN_DISMISS), o) { var r = a.getTransitionDurationFromElement(this._element); e(this._element).one(a.TRANSITION_END, (function (t) { return n._hideModal(t) })).emulateTransitionEnd(r) } else this._hideModal() } } }, n.dispose = function () { [window, this._element, this._dialog].forEach((function (t) { return e(t).off(mt) })), e(document).off(bt.FOCUSIN), e.removeData(this._element, pt), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._isTransitioning = null, this._scrollbarWidth = null }, n.handleUpdate = function () { this._adjustDialog() }, n._getConfig = function (t) { return t = r({}, vt, t), a.typeCheckConfig(ht, t, yt), t }, n._showElement = function (t) { var n = this, i = e(this._element).hasClass(_t); 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), e(this._dialog).hasClass("modal-dialog-scrollable") ? this._dialog.querySelector(".modal-body").scrollTop = 0 : this._element.scrollTop = 0, i && a.reflow(this._element), e(this._element).addClass(xt), this._config.focus && this._enforceFocus(); var o = e.Event(bt.SHOWN, { relatedTarget: t }), r = function () { n._config.focus && n._element.focus(), n._isTransitioning = !1, e(n._element).trigger(o) }; if (i) { var s = a.getTransitionDurationFromElement(this._dialog); e(this._dialog).one(a.TRANSITION_END, r).emulateTransitionEnd(s) } else r() }, n._enforceFocus = function () { var t = this; e(document).off(bt.FOCUSIN).on(bt.FOCUSIN, (function (n) { document !== n.target && t._element !== n.target && 0 === e(t._element).has(n.target).length && t._element.focus() })) }, n._setEscapeEvent = function () { var t = this; this._isShown && this._config.keyboard ? e(this._element).on(bt.KEYDOWN_DISMISS, (function (e) { 27 === e.which && (e.preventDefault(), t.hide()) })) : this._isShown || e(this._element).off(bt.KEYDOWN_DISMISS) }, n._setResizeEvent = function () { var t = this; this._isShown ? e(window).on(bt.RESIZE, (function (e) { return t.handleUpdate(e) })) : e(window).off(bt.RESIZE) }, n._hideModal = function () { var t = this; this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._isTransitioning = !1, this._showBackdrop((function () { e(document.body).removeClass(wt), t._resetAdjustments(), t._resetScrollbar(), e(t._element).trigger(bt.HIDDEN) })) }, n._removeBackdrop = function () { this._backdrop && (e(this._backdrop).remove(), this._backdrop = null) }, n._showBackdrop = function (t) { var n = this, i = e(this._element).hasClass(_t) ? _t : ""; if (this._isShown && this._config.backdrop) { if (this._backdrop = document.createElement("div"), this._backdrop.className = "modal
1-backdrop", i && this._backdrop.classList.add(i), e(this._backdrop).appendTo(document.body), e(this._element).on(bt.CLICK_DISMISS, (function (t) { n._ignoreBackdropClick ? n._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === n._config.backdrop ? n._element.focus() : n.hide()) })), i && a.reflow(this._backdrop), e(this._backdrop).addClass(xt), !t) return; if (!i) return void t(); var o = a.getTransitionDurationFromElement(this._backdrop); e(this._backdrop).one(a.TRANSITION_END, t).emulateTransitionEnd(o) } else if (!this._isShown && this._backdrop) { e(this._backdrop).removeClass(xt); var r = function () { n._removeBackdrop(), t && t() }; if (e(this._element).hasClass(_t)) { var s = a.getTransitionDurationFromElement(this._backdrop); e(this._backdrop).one(a.TRANSITION_END, r).emulateTransitionEnd(s) } else r() } else t && t() }, n._adjustDialog = function () { var t = this._element.scrollHeight > document.documentElement.clientHeight; !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px") }, n._resetAdjustments = function () { this._element.style.paddingLeft = "", this._element.style.paddingRight = "" }, n._checkScrollbar = function () { var t = document.body.getBoundingClientRect(); this._isBodyOverflowing = t.left + t.right < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth() }, n._setScrollbar = function () { var t = this; if (this._isBodyOverflowing) { var n = [].slice.call(document.querySelectorAll(Et)), i = [].slice.call(document.querySelectorAll(Ct)); e(n).each((function (n, i) { var o = i.style.paddingRight, r = e(i).css("padding-right"); e(i).data("padding-right", o).css("padding-right", parseFloat(r) + t._scrollbarWidth + "px") })), e(i).each((function (n, i) { var o = i.style.marginRight, r = e(i).css("margin-right"); e(i).data("margin-right", o).css("margin-right", parseFloat(r) - t._scrollbarWidth + "px") })); var o = document.body.style.paddingRight, r = e(document.body).css("padding-right"); e(document.body).data("padding-right", o).css("padding-right", parseFloat(r) + this._scrollbarWidth + "px") } e(document.body).addClass(wt) }, n._resetScrollbar = function () { var t = [].slice.call(document.querySelectorAll(Et)); e(t).each((function (t, n) { var i = e(n).data("padding-right"); e(n).removeData("padding-right"), n.style.paddingRight = i || "" })); var n = [].slice.call(document.querySelectorAll("" + Ct)); e(n).each((function (t, n) { var i = e(n).data("margin-right"); void 0 !== i && e(n).css("margin-right", i).removeData("margin-right") })); var i = e(document.body).data("padding-right"); e(document.body).removeData("padding-right"), document.body.style.paddingRight = i || "" }, n._getScrollbarWidth = function () { var t = document.createElement("div"); t.className = "modal-scrollbar-measure", document.body.appendChild(t); var e = t.getBoundingClientRect().width - t.clientWidth; return document.body.removeChild(t), e }, t._jQueryInterface = function (n, i) { return this.each((function () { var o = e(this).data(pt), s = r({}, vt, e(this).data(), "object" == typeof n && n ? n : {}); if (o || (o = new t(this, s), e(this).data(pt, o)), "string" == typeof n) { if (void 0 === o[n]) throw new TypeError('No method named "' + n + '"'); o[n](i) } else s.show && o.show(i) })) }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "Default", get: function () { return vt } }]), t }(); e(document).on(bt.CLICK_DATA_API, '[data-toggle="modal"]', (function (t) { var n, i = this, o = a.getSelectorFromElement(this); o && (n = document.querySelector(o)); var s = e(n).data(pt) ? "toggle" : r({}, e(n).data(), e(this).data()); "A" !== this.tagName && "AREA" !== this.tagName || t.preventDefault(); var l = e(n).one(bt.SHOW, (function (t) { t.isDefaultPrevented() || l.one(bt.HIDDEN, (function () { e(i).is(":visible") && i.focus() })) })); St._jQueryInterface.call(e(n), s, this) })), e.fn[ht] = St._jQueryInterface, e.fn[ht].Constructor = St, e.fn[ht].noConflict = function () { return e.fn[ht] = gt, St._jQueryInterface }; var Tt = ["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"], At = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi, It = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i; function Pt(t, e, n) { if (0 === t.length) return t; if (n && "function" == typeof n) return n(t); for (var i = (new window.DOMParser).parseFromString(t, "text/html"), o = Object.keys(e), r = [].slice.call(i.body.querySelectorAll("*")), s = function (t, n) { var i = r[t], s = i.nodeName.toLowerCase(); if (-1 === o.indexOf(i.nodeName.toLowerCase())) return i.parentNode.removeChild(i), "continue"; var a = [].slice.call(i.attributes), l = [].concat(e["*"] || [], e[s] || []); a.forEach((function (t) { (function (t, e) { var n = t.nodeName.toLowerCase(); if (-1 !== e.indexOf(n)) return -1 === Tt.indexOf(n) || Boolean(t.nodeValue.match(At) || t.nodeValue.match(It)); for (var i = e.filter((function (t) { return t instanceof RegExp })), o = 0, r = i.length; o < r; o++)if (n.match(i[o])) return !0; return !1 })(t, l) || i.removeAttribute(t.nodeName) })) }, a = 0, l = r.length; a < l; a++)s(a); return i.body.innerHTML } var Dt = "tooltip", kt = "bs.tooltip", Ot = "." + kt, $t = e.fn[Dt], Nt = "bs-tooltip", Lt = new RegExp("(^|\\s)" + Nt + "\\S+", "g"), Mt = ["sanitize", "whiteList", "sanitizeFn"], Ht = { animation: "boolean", template: "string", title: "(string|element|function)", trigger: "string", delay: "(number|object)", html: "boolean", selector: "(string|boolean)", placement: "(string|function)", offset: "(number|string|function)", container: "(string|element|boolean)", fallbackPlacement: "(string|array)", boundary: "(string|element)", sanitize: "boolean", sanitizeFn: "(null|function)", whiteList: "object" }, Ft = { AUTO: "auto", TOP: "top", RIGHT: "right", BOTTOM: "bottom", LEFT: "left" }, Rt = { animation: !0, template: '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>', trigger: "hover focus", title: "", delay: 0, html: !1, selector: !1, placement: "top", offset: 0, container: !1, fallbackPlacement: "flip", boundary: "scrollParent", sanitize: !0, sanitizeFn: null, whiteList: { "*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], a: ["target", "href", "title", "rel"], area: [], b: [], br: [], col: [], code: [], div: [], em: [], hr: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], i: [], img: ["src", "alt", "title", "width", "height"], li: [], ol: [], p: [], pre: [], s: [], small: [], span: [], sub: [], sup: [], strong: [], u: [], ul: [] } }, jt = "show", Bt = "out", zt = { HIDE: "hide" + Ot, HIDDEN: "hidden" + Ot, SHOW: "show" + Ot, SHOWN: "shown" + Ot, INSERTED: "inserted" + Ot, CLICK: "click" + Ot, FOCUSIN: "focusin" + Ot, FOCUSOUT: "focusout" + Ot, MOUSEENTER: "mouseenter" + Ot, MOUSELEAVE: "mouseleave" + Ot }, Wt = "fade", qt = "show", Ut = "hover", Vt = "focus", Yt = function () { function t(t, e) { if (void 0 === n) throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)"); this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger = {}, this._popper = null, this.element = t, this.config = this._getConfig(e), this.tip = null, this._setListeners() } var i = t.prototype; return i.enable = function () { this._isEnabled = !0 }, i.disable = function () { this._isEnabled = !1 }, i.toggleEnabled = function () { this._isEnabled = !this._isEnabled }, i.toggle = function (t) { if (this._isEnabled) if (t) { var n = this.constructor.DATA_KEY, i = e(t.currentTarget).data(n); i || (i = new this.constructor(t.currentTarget, this._getDelegateConfig()), e(t.currentTarget).data(n, i)
1), i._activeTrigger.click = !i._activeTrigger.click, i._isWithActiveTrigger() ? i._enter(null, i) : i._leave(null, i) } else { if (e(this.getTipElement()).hasClass(qt)) return void this._leave(null, this); this._enter(null, this) } }, i.dispose = function () { clearTimeout(this._timeout), e.removeData(this.element, this.constructor.DATA_KEY), e(this.element).off(this.constructor.EVENT_KEY), e(this.element).closest(".modal").off("hide.bs.modal"), this.tip && e(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, (this._activeTrigger = null) !== this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null }, i.show = function () { var t = this; if ("none" === e(this.element).css("display")) throw new Error("Please use show on visible elements"); var i = e.Event(this.constructor.Event.SHOW); if (this.isWithContent() && this._isEnabled) { e(this.element).trigger(i); var o = a.findShadowRoot(this.element), r = e.contains(null !== o ? o : this.element.ownerDocument.documentElement, this.element); if (i.isDefaultPrevented() || !r) return; var s = this.getTipElement(), l = a.getUID(this.constructor.NAME); s.setAttribute("id", l), this.element.setAttribute("aria-describedby", l), this.setContent(), this.config.animation && e(s).addClass(Wt); var c = "function" == typeof this.config.placement ? this.config.placement.call(this, s, this.element) : this.config.placement, u = this._getAttachment(c); this.addAttachmentClass(u); var d = this._getContainer(); e(s).data(this.constructor.DATA_KEY, this), e.contains(this.element.ownerDocument.documentElement, this.tip) || e(s).appendTo(d), e(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new n(this.element, s, { placement: u, modifiers: { offset: this._getOffset(), flip: { behavior: this.config.fallbackPlacement }, arrow: { element: ".arrow" }, preventOverflow: { boundariesElement: this.config.boundary } }, onCreate: function (e) { e.originalPlacement !== e.placement && t._handlePopperPlacementChange(e) }, onUpdate: function (e) { return t._handlePopperPlacementChange(e) } }), e(s).addClass(qt), "ontouchstart" in document.documentElement && e(document.body).children().on("mouseover", null, e.noop); var f = function () { t.config.animation && t._fixTransition(); var n = t._hoverState; t._hoverState = null, e(t.element).trigger(t.constructor.Event.SHOWN), n === Bt && t._leave(null, t) }; if (e(this.tip).hasClass(Wt)) { var h = a.getTransitionDurationFromElement(this.tip); e(this.tip).one(a.TRANSITION_END, f).emulateTransitionEnd(h) } else f() } }, i.hide = function (t) { var n = this, i = this.getTipElement(), o = e.Event(this.constructor.Event.HIDE), r = function () { n._hoverState !== jt && i.parentNode && i.parentNode.removeChild(i), n._cleanTipClass(), n.element.removeAttribute("aria-describedby"), e(n.element).trigger(n.constructor.Event.HIDDEN), null !== n._popper && n._popper.destroy(), t && t() }; if (e(this.element).trigger(o), !o.isDefaultPrevented()) { if (e(i).removeClass(qt), "ontouchstart" in document.documentElement && e(document.body).children().off("mouseover", null, e.noop), this._activeTrigger.click = !1, this._activeTrigger[Vt] = !1, this._activeTrigger[Ut] = !1, e(this.tip).hasClass(Wt)) { var s = a.getTransitionDurationFromElement(i); e(i).one(a.TRANSITION_END, r).emulateTransitionEnd(s) } else r(); this._hoverState = "" } }, i.update = function () { null !== this._popper && this._popper.scheduleUpdate() }, i.isWithContent = function () { return Boolean(this.getTitle()) }, i.addAttachmentClass = function (t) { e(this.getTipElement()).addClass(Nt + "-" + t) }, i.getTipElement = function () { return this.tip = this.tip || e(this.config.template)[0], this.tip }, i.setContent = function () { var t = this.getTipElement(); this.setElementContent(e(t.querySelectorAll(".tooltip-inner")), this.getTitle()), e(t).removeClass(Wt + " " + qt) }, i.setElementContent = function (t, n) { "object" != typeof n || !n.nodeType && !n.jquery ? this.config.html ? (this.config.sanitize && (n = Pt(n, this.config.whiteList, this.config.sanitizeFn)), t.html(n)) : t.text(n) : this.config.html ? e(n).parent().is(t) || t.empty().append(n) : t.text(e(n).text()) }, i.getTitle = function () { var t = this.element.getAttribute("data-original-title"); return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t }, i._getOffset = function () { var t = this, e = {}; return "function" == typeof this.config.offset ? e.fn = function (e) { return e.offsets = r({}, e.offsets, t.config.offset(e.offsets, t.element) || {}), e } : e.offset = this.config.offset, e }, i._getContainer = function () { return !1 === this.config.container ? document.body : a.isElement(this.config.container) ? e(this.config.container) : e(document).find(this.config.container) }, i._getAttachment = function (t) { return Ft[t.toUpperCase()] }, i._setListeners = function () { var t = this; this.config.trigger.split(" ").forEach((function (n) { if ("click" === n) e(t.element).on(t.constructor.Event.CLICK, t.config.selector, (function (e) { return t.toggle(e) })); else if ("manual" !== n) { var i = n === Ut ? t.constructor.Event.MOUSEENTER : t.constructor.Event.FOCUSIN, o = n === Ut ? t.constructor.Event.MOUSELEAVE : t.constructor.Event.FOCUSOUT; e(t.element).on(i, t.config.selector, (function (e) { return t._enter(e) })).on(o, t.config.selector, (function (e) { return t._leave(e) })) } })), e(this.element).closest(".modal").on("hide.bs.modal", (function () { t.element && t.hide() })), this.config.selector ? this.config = r({}, this.config, { trigger: "manual", selector: "" }) : this._fixTitle() }, i._fixTitle = function () { var t = typeof this.element.getAttribute("data-original-title"); (this.element.getAttribute("title") || "string" !== t) && (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", "")) }, i._enter = function (t, n) { var i = this.constructor.DATA_KEY; (n = n || e(t.currentTarget).data(i)) || (n = new this.constructor(t.currentTarget, this._getDelegateConfig()), e(t.currentTarget).data(i, n)), t && (n._activeTrigger["focusin" === t.type ? Vt : Ut] = !0), e(n.getTipElement()).hasClass(qt) || n._hoverState === jt ? n._hoverState = jt : (clearTimeout(n._timeout), n._hoverState = jt, n.config.delay && n.config.delay.show ? n._timeout = setTimeout((function () { n._hoverState === jt && n.show() }), n.config.delay.show) : n.show()) }, i._leave = function (t, n) { var i = this.constructor.DATA_KEY; (n = n || e(t.currentTarget).data(i)) || (n = new this.constructor(t.currentTarget, this._getDelegateConfig()), e(t.currentTarget).data(i, n)), t && (n._activeTrigger["focusout" === t.type ? Vt : Ut] = !1), n._isWithActiveTrigger() || (clearTimeout(n._timeout), n._hoverState = Bt, n.config.delay && n.config.delay.hide ? n._timeout = setTimeout((function () { n._hoverState === Bt && n.hide() }), n.config.delay.hide) : n.hide()) }, i._isWithActiveTrigger = function () { for (var t in this._activeTrigger) if (this._activeTrigger[t]) return !0; return !1 }, i._getConfig = function (t) { var n = e(this.element).data();
1 return Object.keys(n).forEach((function (t) { -1 !== Mt.indexOf(t) && delete n[t] })), "number" == typeof (t = r({}, this.constructor.Default, n, "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()), a.typeCheckConfig(Dt, t, this.constructor.DefaultType), t.sanitize && (t.template = Pt(t.template, t.whiteList, t.sanitizeFn)), t }, i._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 }, i._cleanTipClass = function () { var t = e(this.getTipElement()), n = t.attr("class").match(Lt); null !== n && n.length && t.removeClass(n.join("")) }, i._handlePopperPlacementChange = function (t) { var e = t.instance; this.tip = e.popper, this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement)) }, i._fixTransition = function () { var t = this.getTipElement(), n = this.config.animation; null === t.getAttribute("x-placement") && (e(t).removeClass(Wt), this.config.animation = !1, this.hide(), this.show(), this.config.animation = n) }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this).data(kt), o = "object" == typeof n && n; if ((i || !/dispose|hide/.test(n)) && (i || (i = new t(this, o), e(this).data(kt, i)), "string" == typeof n)) { if (void 0 === i[n]) throw new TypeError('No method named "' + n + '"'); i[n]() } })) }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "Default", get: function () { return Rt } }, { key: "NAME", get: function () { return Dt } }, { key: "DATA_KEY", get: function () { return kt } }, { key: "Event", get: function () { return zt } }, { key: "EVENT_KEY", get: function () { return Ot } }, { key: "DefaultType", get: function () { return Ht } }]), t }(); e.fn[Dt] = Yt._jQueryInterface, e.fn[Dt].Constructor = Yt, e.fn[Dt].noConflict = function () { return e.fn[Dt] = $t, Yt._jQueryInterface }; var Xt = "popover", Kt = "bs.popover", Qt = "." + Kt, Zt = e.fn[Xt], Gt = "bs-popover", Jt = new RegExp("(^|\\s)" + Gt + "\\S+", "g"), te = r({}, Yt.Default, { placement: "right", trigger: "click", content: "", template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' }), ee = r({}, Yt.DefaultType, { content: "(string|element|function)" }), ne = { HIDE: "hide" + Qt, HIDDEN: "hidden" + Qt, SHOW: "show" + Qt, SHOWN: "shown" + Qt, INSERTED: "inserted" + Qt, CLICK: "click" + Qt, FOCUSIN: "focusin" + Qt, FOCUSOUT: "focusout" + Qt, MOUSEENTER: "mouseenter" + Qt, MOUSELEAVE: "mouseleave" + Qt }, ie = function (t) { var n, i; function r() { return t.apply(this, arguments) || this } i = t, (n = r).prototype = Object.create(i.prototype), (n.prototype.constructor = n).__proto__ = i; var s = r.prototype; return s.isWithContent = function () { return this.getTitle() || this._getContent() }, s.addAttachmentClass = function (t) { e(this.getTipElement()).addClass(Gt + "-" + t) }, s.getTipElement = function () { return this.tip = this.tip || e(this.config.template)[0], this.tip }, s.setContent = function () { var t = e(this.getTipElement()); this.setElementContent(t.find(".popover-header"), this.getTitle()); var n = this._getContent(); "function" == typeof n && (n = n.call(this.element)), this.setElementContent(t.find(".popover-body"), n), t.removeClass("fade show") }, s._getContent = function () { return this.element.getAttribute("data-content") || this.config.content }, s._cleanTipClass = function () { var t = e(this.getTipElement()), n = t.attr("class").match(Jt); null !== n && 0 < n.length && t.removeClass(n.join("")) }, r._jQueryInterface = function (t) { return this.each((function () { var n = e(this).data(Kt), i = "object" == typeof t ? t : null; if ((n || !/dispose|hide/.test(t)) && (n || (n = new r(this, i), e(this).data(Kt, n)), "string" == typeof t)) { if (void 0 === n[t]) throw new TypeError('No method n
1amed "' + t + '"'); n[t]() } })) }, o(r, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "Default", get: function () { return te } }, { key: "NAME", get: function () { return Xt } }, { key: "DATA_KEY", get: function () { return Kt } }, { key: "Event", get: function () { return ne } }, { key: "EVENT_KEY", get: function () { return Qt } }, { key: "DefaultType", get: function () { return ee } }]), r }(Yt); e.fn[Xt] = ie._jQueryInterface, e.fn[Xt].Constructor = ie, e.fn[Xt].noConflict = function () { return e.fn[Xt] = Zt, ie._jQueryInterface }; var oe = "scrollspy", re = "bs.scrollspy", se = "." + re, ae = e.fn[oe], le = { offset: 10, method: "auto", target: "" }, ce = { offset: "number", method: "string", target: "(string|element)" }, ue = { ACTIVATE: "activate" + se, SCROLL: "scroll" + se, LOAD_DATA_API: "load" + se + ".data-api" }, de = "active", fe = ".nav, .list-group", he = ".nav-link", pe = ".list-group-item", me = "position", ge = function () { function t(t, n) { var i = this; this._element = t, this._scrollElement = "BODY" === t.tagName ? window : t, this._config = this._getConfig(n), this._selector = this._config.target + " " + he + "," + this._config.target + " " + pe + "," + this._config.target + " .dropdown-item", this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, e(this._scrollElement).on(ue.SCROLL, (function (t) { return i._process(t) })), this.refresh(), this._process() } var n = t.prototype; return n.refresh = function () { var t = this, n = this._scrollElement === this._scrollElement.window ? "offset" : me, i = "auto" === this._config.method ? n : this._config.method, o = i === me ? this._getScrollTop() : 0; this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), [].slice.call(document.querySelectorAll(this._selector)).map((function (t) { var n, r = a.getSelectorFromElement(t); if (r && (n = document.querySelector(r)), n) { var s = n.getBoundingClientRect(); if (s.width || s.height) return [e(n)[i]().top + o, r] } 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]) })) }, n.dispose = function () { e.removeData(this._element, re), e(this._scrollElement).off(se), this._element = null, this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null }, n._getConfig = function (t) { if ("string" != typeof (t = r({}, le, "object" == typeof t && t ? t : {})).target) { var n = e(t.target).attr("id"); n || (n = a.getUID(oe), e(t.target).attr("id", n)), t.target = "#" + n } return a.typeCheckConfig(oe, t, ce), t }, n._getScrollTop = function () { return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop }, n._getScrollHeight = function () { return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight) }, n._getOffsetHeight = function () { return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height }, n._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(), n <= t) { var i = this._targets[this._targets.length - 1]; this._activeTarget !== i && this._activate(i) } else { if (this._activeTarget && t < this._offsets[0] && 0 < this._offsets[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]) } }, n._activate = function (t) { this._activeTarget = t, this._clear(); var n = this._selector.split(",").map((function (e) { return e + '[data-target="' + t + '"],' + e + '[href="' + t + '"]' })), i = e([].slice.call(document.querySelectorAll(n.join(",")))); i.hasClass("dropdown-item") ? (i.closest(".dropdown").find(".dropdown-toggle").addClass(de), i.addClass(de)) : (i.addClass(de), i.parents(fe).prev(he + ", " + pe).addClass(de), i.parents(fe).prev(".nav-item").children(he).addClass(de)), e(this._scrollElement).trigger(ue.ACTIVATE, { relatedTarget: t }) }, n._clear = function () { [].slice.call(document.querySelectorAll(this._selector)).filter((function (t) { return t.classList.contains(de) }
1)).forEach((function (t) { return t.classList.remove(de) })) }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this).data(re); if (i || (i = new t(this, "object" == typeof n && n), e(this).data(re, i)), "string" == typeof n) { if (void 0 === i[n]) throw new TypeError('No method named "' + n + '"'); i[n]() } })) }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "Default", get: function () { return le } }]), t }(); e(window).on(ue.LOAD_DATA_API, (function () { for (var t = [].slice.call(document.querySelectorAll('[data-spy="scroll"]')), n = t.length; n--;) { var i = e(t[n]); ge._jQueryInterface.call(i, i.data()) } })), e.fn[oe] = ge._jQueryInterface, e.fn[oe].Constructor = ge, e.fn[oe].noConflict = function () { return e.fn[oe] = ae, ge._jQueryInterface }; var ve = "bs.tab", ye = "." + ve, be = e.fn.tab, we = { HIDE: "hide" + ye, HIDDEN: "hidden" + ye, SHOW: "show" + ye, SHOWN: "shown" + ye, CLICK_DATA_API: "click" + ye + ".data-api" }, _e = "active", xe = "fade", Ee = "show", Ce = ".active", Se = "> li > .active", Te = function () { function t(t) { this._element = t } var n = t.prototype; return n.show = function () { var t = this; if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && e(this._element).hasClass(_e) || e(this._element).hasClass("disabled"))) { var n, i, o = e(this._element).closest(".nav, .list-group")[0], r = a.getSelectorFromElement(this._element); if (o) { var s = "UL" === o.nodeName || "OL" === o.nodeName ? Se : Ce; i = (i = e.makeArray(e(o).find(s)))[i.length - 1] } var l = e.Event(we.HIDE, { relatedTarget: this._element }), c = e.Event(we.SHOW, { relatedTarget: i }); if (i && e(i).trigger(l), e(this._element).trigger(c), !c.isDefaultPrevented() && !l.isDefaultPrevented()) { r && (n = document.querySelector(r)), this._activate(this._element, o); var u = function () { var n = e.Event(we.HIDDEN, { relatedTarget: t._element }), o = e.Event(we.SHOWN, { relatedTarget: i }); e(i).trigger(n), e(t._element).trigger(o) }; n ? this._activate(n, n.parentNode, u) : u() } } }, n.dispose = function () { e.removeData(this._element, ve), this._element = null }, n._activate = function (t, n, i) { var o = this, r = (!n || "UL" !== n.nodeName && "OL" !== n.nodeName ? e(n).children(Ce) : e(n).find(Se))[0], s = i && r && e(r).hasClass(xe), l = function () { return o._transitionComplete(t, r, i) }; if (r && s) { var c = a.getTransitionDurationFromElement(r); e(r).removeClass(Ee).one(a.TRANSITION_END, l).emulateTransitionEnd(c) } else l() }, n._transitionComplete = function (t, n, i) { if (n) { e(n).removeClass(_e); var o = e(n.parentNode).find("> .dropdown-menu .active")[0]; o && e(o).removeClass(_e), "tab" === n.getAttribute("role") && n.setAttribute("aria-selected", !1) } if (e(t).addClass(_e), "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !0), a.reflow(t), t.classList.contains(xe) && t.classList.add(Ee), t.parentNode && e(t.parentNode).hasClass("dropdown-menu")) { var r = e(t).closest(".dropdown")[0]; if (r) { var s = [].slice.call(r.querySelectorAll(".dropdown-toggle")); e(s).addClass(_e) } t.setAttribute("aria-expanded", !0) } i && i() }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this), o = i.data(ve); if (o || (o = new t(this), i.data(ve, o)), "string" == typeof n) { if (void 0 === o[n]) throw new TypeError('No method named "' + n + '"'); o[n]() } })) }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }]), t }(); e(document).on(we.CLICK_DATA_API, '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', (function (t) { t.preventDefault(), Te._jQueryInterface.call(e(this), "show") })), e.fn.tab = Te._jQueryInterface, e.fn.tab.Constructor = Te, e.fn.tab.noConflict = function () { return e.fn.tab = be, Te._jQueryInterface }; var Ae = "toast", Ie = "bs.toast", Pe = "." + Ie, De = e.fn[Ae], ke = { CLICK_DISMISS: "click.dismiss" + Pe, HIDE: "hide" + Pe, HIDDEN: "hidden" + Pe, SHOW: "show" + Pe, SHOWN: "shown" + Pe }, Oe = "hide", $e = "show", Ne = "showing", Le = { animation: "boolean", auto
1hide: "boolean", delay: "number" }, Me = { animation: !0, autohide: !0, delay: 500 }, He = function () { function t(t, e) { this._element = t, this._config = this._getConfig(e), this._timeout = null, this._setListeners() } var n = t.prototype; return n.show = function () { var t = this; e(this._element).trigger(ke.SHOW), this._config.animation && this._element.classList.add("fade"); var n = function () { t._element.classList.remove(Ne), t._element.classList.add($e), e(t._element).trigger(ke.SHOWN), t._config.autohide && t.hide() }; if (this._element.classList.remove(Oe), this._element.classList.add(Ne), this._config.animation) { var i = a.getTransitionDurationFromElement(this._element); e(this._element).one(a.TRANSITION_END, n).emulateTransitionEnd(i) } else n() }, n.hide = function (t) { var n = this; this._element.classList.contains($e) && (e(this._element).trigger(ke.HIDE), t ? this._close() : this._timeout = setTimeout((function () { n._close() }), this._config.delay)) }, n.dispose = function () { clearTimeout(this._timeout), this._timeout = null, this._element.classList.contains($e) && this._element.classList.remove($e), e(this._element).off(ke.CLICK_DISMISS), e.removeData(this._element, Ie), this._element = null, this._config = null }, n._getConfig = function (t) { return t = r({}, Me, e(this._element).data(), "object" == typeof t && t ? t : {}), a.typeCheckConfig(Ae, t, this.constructor.DefaultType), t }, n._setListeners = function () { var t = this; e(this._element).on(ke.CLICK_DISMISS, '[data-dismiss="toast"]', (function () { return t.hide(!0) })) }, n._close = function () { var t = this, n = function () { t._element.classList.add(Oe), e(t._element).trigger(ke.HIDDEN) }; if (this._element.classList.remove($e), this._config.animation) { var i = a.getTransitionDurationFromElement(this._element); e(this._element).one(a.TRANSITION_END, n).emulateTransitionEnd(i) } else n() }, t._jQueryInterface = function (n) { return this.each((function () { var i = e(this), o = i.data(Ie); if (o || (o = new t(this, "object" == typeof n && n), i.data(Ie, o)), "string" == typeof n) { if (void 0 === o[n]) throw new TypeError('No method named "' + n + '"'); o[n](this) } })) }, o(t, null, [{ key: "VERSION", get: function () { return "4.3.1" } }, { key: "DefaultType", get: function () { return Le } }, { key: "Default", get: function () { return Me } }]), t }(); e.fn[Ae] = He._jQueryInterface, e.fn[Ae].Constructor = He, e.fn[Ae].noConflict = function () { return e.fn[Ae] = De, He._jQueryInterface }, function () { if (void 0 === e) throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript."); var t = e.fn.jquery.split(" ")[0].split("."); if (t[0] < 2 && t[1] < 9 || 1 === t[0] && 9 === t[1] && t[2] < 1 || 4 <= t[0]) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0") }(), t.Util = a, t.Alert = h, t.Button = E, t.Carousel = H, t.Collapse = Z, t.Dropdown = ft, t.Modal = St, t.Popover = ie, t.Scrollspy = ge, t.Tab = Te, t.Toast = He, t.Tooltip = Yt, Object.defineProperty(t, "__esModule", { value: !0 }) })); const carrusel1 = document.getElementsByClassName("c-1"); carrusel1 && [].forEach.call(document.querySelectorAll(".c-1"), (function (t) { tns({ container: t, items: 1, controls: !0, nav: !0, navPosition: "bottom", gutter: 10, preventScrollOnTouch: "force", responsive: { 0: { items: 1 }, 480: { items: 1 }, 640: { items: 1 }, 1200: { items: 1 } } }) })); const carrusel2 = document.getElementsByClassName("c-2"); carrusel2 && [].forEach.call(document.querySelectorAll(".c-2"), (function (t) { tns({ container: t, items: 1, controls: !0, nav: !0, navPosition: "bottom", gutter: 10, preventScrollOnTouch: "force", responsive: { 0: { items: 1 }, 480: { items: 1 }, 640: { items: 2 }, 1200: { items: 2 } } }) })), function (t, e) { "object" == typeof exports ? module.exports = e(t) : "function" == typeof define && define.amd ? define([], e) : t.LazyLoad = e(t) }("undefined" != typeof global ? global : this.window || this.global, (function (t) { "use strict"; function e(t, e) { this.settings = i(n, e || {}), this.images = t || document.querySelectorAll(this.settings.selector), this.observer = null, this.init() } "function" == typeof define && define.amd && (t = window); const n = { src: "data-src", srcset: "data-srcset", selector: ".lazyload", root: null, rootMargin: "0px", threshold: 0 }, i = function () { let t = {}, e = !1, n = 0, o = arguments.length; "[object Boolean]" === Object.prototype.toString.call(arguments[0]) && (e = arguments[0], n++); let r = function (n) { for (let o in n) Object.prototype.hasOwnProperty.call(n, o) && (e && "[object Object]" === Object.prototype.toString.call(n[o]) ? t[o] = i(!0, t[o], n[o]) : t[o] = n[o]) }; for (; n < o; n++)r(arguments[n]); return t }; if (e.prototype = { init: function () { if (!t.IntersectionObserver) return void this.loadImages(); let e = this, n = { root: this.settings.root, rootMargin: this.settings.rootMargin, threshold: [this.settings.threshold] }; this.observer = new IntersectionObserver((function (t) { Array.prototype.forEach.call(t, (function (t) { if (t.isIntersecting) { e.observer.unobserve(t.target); let n = t.target.getAttribute(e.settings.src), i = t.target.getAttribute(e.settings.srcset); "img" === t.target.tagName.toLowerCase() ? (n && (t.target.src = n), i && (t.target.srcset = i)) : t.target.style.backgroundImage = "url(" + n + ")" } })) }), n), Array.prototype.forEach.call(this.images, (function (t) { e.observer.observe(t) })) }, loadAndDestroy: function () { this.settings && (this.loadImages(), this.destroy()) }, loadImages: function () { if (!this.settings) return; let t = this; Array.prototype.forEach.call(this.images, (function (e) { let n = e.getAttribute(t.settings.src), i = e.getAttribute(t.settings.srcset); "img" === e.tagName.toLowerCase() ? (n && (e.src = n), i && (e.srcset = i)) : e.style.backgroundImage = "url('" + n + "')" })) }, destroy: function () { this.settings && (this.observer.disconnect(), this.settings = null) } }, t.lazyload = function (t, n) { return new e(t, n) }, t.jQuery) { const n = t.jQuery; n.fn.lazyload = function (t) { return (t = t || {}).attribute = t.attribute || "data-src", new e(n.makeArray(this), t), this } } return e })), $(document).ready((function () { lazyload() })), $(document).ready((function () { $(".btn-menu").click((function () { $("nav").addClass("visible") })), $(".cerrar-menu").click((function () { $("nav").removeClass("visible") })) })), $(document).ready((function () { $(".twitter_link").click((function (t) { t.preventDefault(); var e = $(this).attr("href"), n = $(this).attr("title"); window.open("http://twitter.com/share?url=" + encodeURIComponent(e) + "&text=" + encodeURIComponent(n) + "&count=none/", "tweet", "height=480,width=550,resizable=1") })), $(".facebook_link").click((function (t) { t.preventDefault(); var e = $(this).attr("href"), n = $(this).attr("title"); window.open("http://www.facebook.com/sharer.php?u=" + encodeURIComponent(e) + "&t=" + encodeURIComponent(n), "facebook", "height=500,width=550,resizable=1") })), $(".whatsapp_link").click((function (t) { t.preventDefault(); var e = $(this).attr("href"), n = $(this).attr("title"); window.open("whatsapp://send?text=" + encodeURIComponent(e) + " - " + encodeURIComponent(n), "whatsapp", "height=500,width=550,resizable=1") })), $(".whatsapp_link_web").click((function (t) { t.preventDefault(); var e = $(this).attr("href"), n = $(this).attr("title");
1 window.open("https://web.whatsapp.com/send?text=" + encodeURIComponent(e) + " - " + encodeURIComponent(n), "whatsapp", "height=1500,width=1550,resizable=1") })), $("#lnkPrint").click((function () { window.print() })), $("#lnkPrintDos").click((function () { window.print() })), $(".menu-select").change((function () { var t = $(".menu-select").val(); "0" != t && (window.location.href = t) })), $(".menu-select-2").change((function () { var t = $(".menu-select-2").val(); "0" != t && (window.location.href = t) })) })), $(document).ready((function () { $(".take").each((function () { var t = $(this).text().slice(32, 43); $(this).next(".aqui").append(`<iframe style="display: block;" width="100%" height="255" src="https://www.youtube.com/embed/${t}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`) })), $(".take-detail").each((function () { var t = $(this).text().slice(32, 43); $(this).next(".aqui").append(`<iframe style="display: block;" width="100%" height="355" src="https://www.youtube.com/embed/${t}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>`) })) })), function (t, e, n, i) { var o = "ontouchstart" in e, r = o ? "touchstart" : "mousedown", s = o ? "touchmove" : "mousemove", a = o ? "touchcancel" : "mouseup", l = function (t) { var e = Math.floor(t / 3600), n = Math.floor(t % 3600 / 60), i = Math.ceil(t % 3600 % 60); return (0 == e ? "" : e > 0 && e.toString().length < 2 ? "0" + e + ":" : e + ":") + (n.toString().length < 2 ? "0" + n : n) + ":" + (i.toString().length < 2 ? "0" + i : i) }, c = function (t) { var e = n.createElement("audio"); return !(!e.canPlayType || !e.canPlayType("audio/" + t.split(".").pop().toLowerCase() + ";").replace(/no/, "")) }; t.fn.audioPlayer = function (e) { e = t.extend({ classPrefix: "audioplayer", strPlay: "Play", strPause: "Pause", strVolume: "Volume" }, e); var n = {}, i = { playPause: "playpause", playing: "playing", time: "time", timeCurrent: "time-current", timeDuration: "time-duration", bar: "bar", barLoaded: "bar-loaded", barPlayed: "bar-played", volume: "volume", volumeButton: "volume-button", volumeAdjust: "volume-adjust", noVolume: "novolume", mute: "mute", mini: "mini" }; for (var u in i) n[u] = e.classPrefix + "-" + i[u]; return this.each((function () { if ("audio" != t(this).prop("tagName").toLowerCase()) return !1; var i = t(this), u = i.attr("src"), d = "" === (d = i.get(0).getAttribute("autoplay")) || "autoplay" === d, f = "" === (f = i.get(0).getAttribute("loop")) || "loop" === f, h = !1; void 0 === u ? i.find("source").each((function () { if (void 0 !== (u = t(this).attr("src")) && c(u)) return h = !0, !1 })) : c(u) && (h = !0); var p = t('<div class="' + e.classPrefix + '">' + (h ? t("<div>").append(i.eq(0).clone()).html() : '<embed src="' + u + '" width="0" height="0" volume="100" autostart="' + d.toString() + '" loop="' + f.toString() + '" />') + '<div class="' + n.playPause + '" title="' + e.strPlay + '"><a href="#">' + e.strPlay + "</a></div></div>"), m = (m = h ? p.find("audio") : p.find("embed")).get(0); if (h) { p.find("audio").css({ width: 0, height: 0, visibility: "hidden" }), p.append('<div class="' + n.time + " " + n.timeCurrent + '"></div><div class="' + n.bar + '"><div class="' + n.barLoaded + '"></div><div class="' + n.barPlayed + '"></div></div><div class="' + n.time + " " + n.timeDuration + '"></div><div class="' + n.volume + '"><div class="' + n.volumeButton + '" title="' + e.strVolume + '"><a href="#">' + e.strVolume + '</a></div><div class="' + n.volumeAdjust + '"><div><div></div></div></div></div>'); var g = p.find("." + n.bar), v = p.find("." + n.barPlayed), y = p.find("." + n.barLoaded), b = p.find("." + n.timeCurrent), w = p.find("." + n.timeDuration), _ = p.find("." + n.volumeButton), x = p.find("." + n.volumeAdjust + " > div"), E = 0, C = function (t) { theRealEvent = o ? t.originalEvent.touches[0] : t, m.currentTime = Math.round(m.duration * (theRealEvent.pageX - g.offset().left) / g.width()) }, S = function (t) { theRealEvent = o ? t.originalEvent.touches[0] : t, m.volume = Math.abs((theRealEvent.pageY - (x.offset().top + x.height())) / x.height()) }, T = setInterval((function () { y.width(m.buffered.end(0) / m.duration * 100 + "%"), m.buffered.end(0) >= m.duration && clearInterval(T) }), 100), A = m.volume, I = m.volume = .111; Math.round(1e3 * m.volume) / 1e3 == I ? m.volume = A : p.addClass(n.noVolume), w.html("…"), b.text(l(0)), m.addEventListener("loadeddata", (function () { w.text(l(m.duration)), x.find("div").height(100 * m.volume + "%"), E = m.volume })), m.addEventListener("timeupdate", (function () { b.text(l(m.currentTime)), v.width(m.currentTime / m.duration * 100 + "%") })), m.addEventListener("volumechange", (function () { x.find("div").height(100 * m.volume + "%"), m.volume > 0 && p.hasClass(n.mute) && p.removeClass(n.mute), m.volume <= 0 && !p.hasClass(n.mute) && p.addClass(n.mute) })), m.addEventListener("ended", (function () { p.removeClass(n.playing) })), g.on(r, (function (t) { C(t), g.on(s, (function (t) { C(t) })) })).on(a, (function () { g.unbind(s) })), _.on("click", (function () { return p.hasClass(n.mute) ? (p.removeClass(n.mute), m.volume = E) : (p.addClass(n.mute), E = m.volume, m.volume = 0), !1 })), x.on(r, (function (t) { S(t), x.on(s, (function (t) { S(t) })) })).on(a, (function () { x.unbind(s) })) } else p.addClass(n.mini); d && p.addClass(n.playing), p.find("." + n.playPause).on("click", (function () { return p.hasClass(n.playing) ? (t(this).attr("title", e.strPlay).find("a").html(e.strPlay), p.removeClass(n.playing), h ? m.pause() : m.Stop()) : (t(this).attr("title", e.strPause).find("a").html(e.strPause), p.addClass(n.playing), h ? m.play() : m.Play()), !1 })), i.replaceWith(p) })), this } }(jQuery, window, document), $((function () { $("audio").audioPlayer() })), $(".take-podcast").each((function () { var t = $(this).text().slice(0, -32); console.log(t), $(this).next().children().next().children().children().attr("src", t) })); const cTestim = document.getElementsByClassName("c-testim"); cTestim && [].forEach.call(document.querySelectorAll(".c-testim"), (function (t) { tns({ container: t, items: 3, controls: !0, nav: !1, navPosition: "bottom", gutter: 10, preventScrollOnTouch: "force", responsive: { 0: { items: 1 }, 480: { items: 1 }, 640: { items: 2 }, 1200: { items: 3 } } }) })); const cSlide = document.getElementsByClassName("c-home"); cSlide && [].forEach.call(document.querySelectorAll(".c-home"), (function (t) { var e = tns({ container: t, items: 1, controls: !0, autoplay: !0, autoplayTimeou: 7e3, nav: !0, navPosition: "bottom", preventScrollOnTouch: "auto" }); e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) })); const carrusel3 = document.getElementsByClassName("c-3"); carrusel3 && [].forEach.call(document.querySelectorAll(".c-3"), (function (t) { tns({ container: t, items: 3, controls: !0, nav: !0, navPosition: "bottom", gutter: 10, preventScrollOnTouch: "force", responsive: { 0: { items: 1 }, 480: { items: 2 }, 640: { items: 3 }, 1200: { items: 3 } } }) })); const carrusel4 = document.getElementsByClassName("c-4"); carrusel4 && [].forEach.call(document.querySelectorAll(".c-4"), (function (t) { tns({ container: t, items: 4, controls: !0, nav: !0, navPosition: "bottom", gutter: 0, preventScrollOnTouch: "force", responsive: { 0: { items: 1 }, 480: { items: 2 }, 640: { items: 3 }, 1200: { items: 4 } } }) })); const carrusel5 = document.getElementsByClassName("c-5"); carrusel5 && [].forEach.call(document.querySelectorAll(".c-5"), (function (t) { var e = tns({ container: t, items: 1, controls: !0, nav: !0, navPosition: "bottom", gutter: 0, preventScrollOnTouch: "auto" }); e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) })); const carruselAd = document.getElementsByClassName("c-admision"); carruselAd && [].forEach.call(document.querySelectorAll(".c-admision"), (function (t) { tns({ container: t, items: 5, controls: !0, nav: !1, navPosition: "bottom", gutter: 0, preventScrollOnTouch: "force", responsive: { 0: { items: 1 }, 480: { items: 3 }, 640: { items: 4 }, 1200: { items: 4 } } }) })), wow = new WOW({ animateClass: "animated", offset: 100, mobile: !1, callback: function (t) { } }), wow.init(), $((function () { $("a.ancla[href*=\\#]").click((function () { if ($("header nav").removeClass("visible"), location.pathname.replace(/^\//, "") == this.pathname.replace(/^\//, "") && location.hostname == this.hostname) { var t = $(this.hash); if ((t = t.length && t || $("[name=" + this.hash.slice(1) + "]")).length) { var e = t.offset().top; return $("html,body").animate({ scrollTop: e }, 1e3), !1 } } })) })), $(document).ready((function () { $(".nav-tabs li.active").click(), $(".nav-tabs li").click((function (t) { t.preventDefault(), $(".nav-tabs li").removeClass("active"), $(this).classList.add("active"); let e = $(this).querySelector("a").attr("href"); console.log("ID:" + e), $(".tab-pane").removeClass("active in"), $(e).classList.add("active in") })) })); var i, acc = document.getElementsByClassName("accordion"); for (i = 0; i < acc.length; i++)acc[i].addEventListener("click", (function () { this.classList.toggle("active"); var t = this.nextElementSibling; "block" === t.style.display ? t.style.display = "none" : t.style.display = "block" })); 2
3// landing colegios admision 2024 4 5window.addEventListener('DOMContentLoaded', (event) => { 6 7 const componenteTabs = document.querySelector(".ua-admi-cole-recursos.fix-tab"); 8 if (componenteTabs) { 9 $('.tabs a').click(function (e) { 10 e.preventDefault(); 11 var t = $(this).data('rel'); 12 console.log(t); 13 $('.tabs li').removeClass('activo'); 14 $('.tabs a').removeClass('activo'); 15 $(this).addClass('activo'); 16 $(this).parent().addClass('activo'); 17 $('.panel-tab').removeClass('visible'); 18 $('.panel-tab#equipo-' + t).addClass('visible'); 19 }); 20 } 21 22 const inyectarPlaceholder = document.querySelector(".ua-admi-cole-newsletter input#Email"); 23 if (inyectarPlaceholder) { 24 inyectarPlaceholder.placeholder = "Ingresa tu email"; 25 } 26 27 const cRecursos01Fix = document.getElementsByClassName("c-recursos-01-fix"); 28 cRecursos01Fix && [].forEach.call(document.querySelectorAll(".c-recursos-01-fix"), (function (t) { 29 var e = tns({ 30 container: t, 31 items: 3, 32 controls: !0, 33 autoplay: !0, 34 autoplayTimeou: 7e3, 35 nav: !0, 36 navPosition: "bottom", 37 gutter: 80, 38 preventScrollOnTouch: "auto", 39 responsive: { 40 0: { 41 items: 1 42 }, 43 800: { 44 items: 2 45 }, 46 1300: { 47 items: 3 48 } 49 } 50 }); 51 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 52 })); 53 54 const cRecursos02Fix = document.getElementsByClassName("c-recursos-02-fix"); 55 cRecursos02Fix && [].forEach.call(document.querySelectorAll(".c-recursos-02-fix"), (function (t) { 56 var e = tns({ 57 container: t, 58 items: 3, 59 controls: !0, 60 autoplay: !0, 61 autoplayTimeou: 7e3, 62 nav: !0, 63 navPosition: "bottom", 64 gutter: 80, 65 preventScrollOnTouch: "auto", 66 responsive: { 67 0: { 68 items: 1 69 }, 70 800: { 71 items: 2 72 }, 73 1300: { 74 items: 3 75 } 76 } 77 }); 78 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 79 })); 80 81 82 const cRecursos03Fix = document.getElementsByClassName("c-recursos-03-fix"); 83 cRecursos03Fix && [].forEach.call(document.querySelectorAll(".c-recursos-03-fix"), (function (t) { 84 var e = tns({ 85 container: t, 86 items: 3, 87 controls: !0, 88 autoplay: !0, 89 autoplayTimeou: 7e3, 90 nav: !0, 91 navPosition: "bottom", 92 gutter: 80, 93 preventScrollOnTouch: "auto", 94 responsive: { 95 0: { 96 items: 1 97 }, 98 800: { 99 items: 2 100 }, 101 1300: { 102 items: 3 103 } 104 } 105 }); 106 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 107 })); 108 109 110 const cRecursos04Fix = document.getElementsByClassName("c-recursos-04-fix"); 111 cRecursos04Fix && [].forEach.call(document.querySelectorAll(".c-recursos-04-fix"), (function (t) { 112 var e = tns({ 113 container: t, 114 items: 3, 115 controls: !0, 116 autoplay: !0, 117 autoplayTimeou: 7e3, 118 nav: !0, 119 navPosition: "bottom", 120 gutter: 80, 121 preventScrollOnTouch: "auto", 122 responsive: { 123 0: { 124 items: 1 125 }, 126 800: { 127 items: 2 128 }, 129 1300: { 130 items: 3 131 } 132 } 133 }); 134 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 135 })); 136 137 138 const cRecursos05Fix = document.getElementsByClassName("c-recursos-05-fix"); 139 cRecursos05Fix && [].forEach.call(document.querySelectorAll(".c-recursos-05-fix"), (function (t) { 140 var e = tns({ 141 container: t, 142 items: 3, 143 controls: !0, 144 autoplay: !0, 145 autoplayTimeou: 7e3, 146 nav: !0, 147 navPosition: "bottom", 148 gutter: 80, 149 preventScrollOnTouch: "auto", 150 responsive: { 151 0: { 152 items: 1 153 }, 154 800: { 155 items: 2 156 }, 157 1300: { 158 items: 3 159 } 160 } 161 }); 162 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 163 })); 164 165 166 const cRecursos06Fix = document.getElementsByClassName("c-recursos-06-fix"); 167 cRecursos06Fix && [].forEach.call(document.querySelectorAll(".c-recursos-06-fix"), (function (t) { 168 var e = tns({ 169 container: t, 170 items: 3, 171 controls: !0, 172 autoplay: !0, 173 autoplayTimeou: 7e3, 174 nav: !0, 175 navPosition: "bottom", 176 gutter: 80, 177 preventScrollOnTouch: "auto", 178 responsive: { 179 0: { 180 items: 1 181 }, 182 800: { 183 items: 2 184 }, 185 1300: { 186 items: 3 187 } 188 } 189 }); 190 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 191 })); 192 193 194 const cRecursos07Fix = document.getElementsByClassName("c-recursos-07-fi
194x"); 195 cRecursos07Fix && [].forEach.call(document.querySelectorAll(".c-recursos-07-fix"), (function (t) { 196 var e = tns({ 197 container: t, 198 items: 3, 199 controls: !0, 200 autoplay: !0, 201 autoplayTimeou: 7e3, 202 nav: !0, 203 navPosition: "bottom", 204 gutter: 80, 205 preventScrollOnTouch: "auto", 206 responsive: { 207 0: { 208 items: 1 209 }, 210 800: { 211 items: 2 212 }, 213 1300: { 214 items: 3 215 } 216 } 217 }); 218 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 219 })); 220 221 222 const cNoticias01 = document.getElementsByClassName("c-noticias-01"); 223 cNoticias01 && [].forEach.call(document.querySelectorAll(".c-noticias-01"), (function (t) { 224 var e = tns({ 225 container: t, 226 items: 3, 227 controls: !0, 228 autoplay: !0, 229 autoplayTimeou: 7e3, 230 nav: !0, 231 navPosition: "bottom", 232 gutter: 30, 233 preventScrollOnTouch: "auto", 234 responsive: { 235 0: { 236 items: 1 237 }, 238 480: { 239 items: 2 240 }, 241 640: { 242 items: 3 243 }, 244 1200: { 245 items: 3 246 } 247 } 248 }); 249 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 250 })); 251 252 253 const cBanner01 = document.getElementsByClassName("c-banner-01"); 254 cBanner01 && [].forEach.call(document.querySelectorAll(".c-banner-01"), (function (t) { 255 var e = tns({ 256 container: t, 257 items: 1, 258 controls: !0, 259 autoplay: !0, 260 autoplayTimeou: 7e3, 261 nav: !0, 262 navPosition: "bottom", 263 gutter: 80, 264 preventScrollOnTouch: "auto", 265 responsive: { 266 0: { 267 items: 1 268 }, 269 480: { 270 items: 1 271 }, 272 640: { 273 items: 1 274 }, 275 1200: { 276 items: 1 277 } 278 } 279 }); 280 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 281 })); 282 283 // var maxHeightSlideItem = Math.max.apply(null, $(".noticias-item-01").map(function () { 284 // return $(this).height(); 285 // }).get()); 286 // $(".noticias-item-01").height(maxHeightSlideItem); 287 288 289 290 const cActividades01 = document.getElementsByClassName("c-actividades-01"); 291 cActividades01 && [].forEach.call(document.querySelectorAll(".c-actividades-01"), (function (t) { 292 var e = tns({ 293 container: t, 294 items: 4, 295 controls: !0, 296 autoplay: !0, 297 autoplayTimeou: 7e3, 298 nav: !0, 299 navPosition: "bottom", 300 gutter: 30, 301 preventScrollOnTouch: "auto", 302 responsive: { 303 0: { 304 items: 1 305 }, 306 480: { 307 items: 2 308 }, 309 640: { 310 items: 4 311 }, 312 1200: { 313 items: 4 314 } 315 } 316 }); 317 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 318 })); 319 320 // var maxHeightSlideItem = Math.max.apply(null, $(".actividades-item-01").map(function () { 321 // return $(this).height(); 322 // }).get()); 323 // $(".actividades-item-01").height(maxHeightSlideItem); 324 325 const cActividades01Fix = document.getElementsByClassName("c-actividades-01-fix"); 326 cActividades01Fix && [].forEach.call(document.querySelectorAll(".c-actividades-01-fix"), (function (t) { 327 var e = tns({ 328 container: t, 329 items: 3, 330 controls: !0, 331 autoplay: !0, 332 autoplayTimeou: 7e3, 333 nav: !0, 334 navPosition: "bottom", 335 gutter: 30, 336 preventScrollOnTouch: "auto", 337 responsive: { 338 0: { 339 items: 1 340 }, 341 480: { 342 items: 2 343 }, 344 640: { 345 items: 3 346 }, 347 1200: { 348 items: 3 349 } 350 } 351 }); 352 e.events.on("transitionEnd", (function () { })), e.events.on("transitionEnd", (function () { })) 353 })); 354 355}); 356 357
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.