/*! UIkit 3.6.3 | https://www.getuikit.com | (c) 2014 - 2020 YOOtheme | MIT License */
!function (t, e) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define("uikit", e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).UIkit = e();
}(this, function () {
"use strict";
var t = Object.prototype,
n = t.hasOwnProperty;
function h(t, e) {
return n.call(t, e);
}
var e = {},
i = /([a-z\d])([A-Z])/g;
function d(t) {
return t in e || (e[t] = t.replace(i, "$1-$2").toLowerCase()), e[t];
}
var r = /-(\w)/g;
function f(t) {
return t.replace(r, o);
}
function o(t, e) {
return e ? e.toUpperCase() : "";
}
function p(t) {
return t.length ? o(0, t.charAt(0)) + t.slice(1) : "";
}
var s = String.prototype,
a = s.startsWith || function (t) {
return 0 === this.lastIndexOf(t, 0);
};
function g(t, e) {
return a.call(t, e);
}
var u = s.endsWith || function (t) {
return this.substr(-t.length) === t;
};
function c(t, e) {
return u.call(t, e);
}
var l = Array.prototype,
m = function (t, e) {
return !!~this.indexOf(t, e);
},
v = s.includes || m,
w = l.includes || m;
function b(t, e) {
return t && (D(t) ? v : w).call(t, e);
}
var x = l.findIndex || function (t) {
for (var e = arguments, n = 0; n < this.length; n++) if (t.call(e[1], this[n], n, this)) return n;
return -1;
};
function y(t, e) {
return x.call(t, e);
}
var k = Array.isArray;
function $(t) {
return "function" == typeof t;
}
function S(t) {
return null !== t && "object" == typeof t;
}
var I = t.toString;
function E(t) {
return "[object Object]" === I.call(t);
}
function T(t) {
return S(t) && t === t.window;
}
function C(t) {
return 9 === M(t);
}
function _(t) {
return 1 <= M(t);
}
function A(t) {
return 1 === M(t);
}
function M(t) {
return !T(t) && S(t) && t.nodeType;
}
function z(t) {
return "boolean" == typeof t;
}
function D(t) {
return "string" == typeof t;
}
function N(t) {
return "number" == typeof t;
}
function B(t) {
return N(t) || D(t) && !isNaN(t - parseFloat(t));
}
function P(t) {
return !(k(t) ? t.length : S(t) && Object.keys(t).length);
}
function O(t) {
return void 0 === t;
}
function H(t) {
return z(t) ? t : "true" === t || "1" === t || "" === t || "false" !== t && "0" !== t && t;
}
function L(t) {
t = Number(t);
return !isNaN(t) && t;
}
function j(t) {
return parseFloat(t) || 0;
}
var F = Array.from || function (t) {
return l.slice.call(t);
};
function W(t) {
return V(t)[0];
}
function V(t) {
return t && (_(t) ? [t] : F(t).filter(_)) || [];
}
function R(t) {
return T(t) ? t : (t = W(t)) ? (C(t) ? t : t.ownerDocument).defaultView : window;
}
function q(t) {
return t ? c(t, "ms") ? j(t) : 1e3 * j(t) : 0;
}
function U(t, n) {
return t === n || S(t) && S(n) && Object.keys(t).length === Object.keys(n).length && K(t, function (t, e) {
return t === n[e];
});
}
function Y(t, e, n) {
return t.replace(new RegExp(e + "|" + n, "g"), function (t) {
return t === e ? n : e;
});
}
var X = Object.assign || function (t) {
for (var e = [], n = arguments.length - 1; 0 < n--;) e[n] = arguments[n + 1];
t = Object(t);
for (var i = 0; i < e.length; i++) {
var r = e[i];
if (null !== r) for (var o in r) h(r, o) && (t[o] = r[o]);
}
return t;
};
function G(t) {
return t[t.length - 1];
}
function K(t, e) {
for (var n in t) if (!1 === e(t[n], n)) return !1;
return !0;
}
function J(t, n) {
return t.slice().sort(function (t, e) {
t = t[n];
void 0 === t && (t = 0);
e = e[n];
return void 0 === e && (e = 0), e < t ? 1 : t < e ? -1 : 0;
});
}
function Z(t, e) {
var n = new Set();
return t.filter(function (t) {
t = t[e];
return !n.has(t) && (n.add(t) || !0);
});
}
function Q(t, e, n) {
return void 0 === e && (e = 0), void 0 === n && (n = 1), Math.min(Math.max(L(t) || 0, e), n);
}
function tt() {}
function et() {
for (var i = [], t = arguments.length; t--;) i[t] = arguments[t];
return [["bottom", "top"], ["right", "left"]].every(function (t) {
var e = t[0],
n = t[1];
return 0 < Math.min.apply(Math, i.map(function (t) {
return t[e];
})) - Math.max.apply(Math, i.map(function (t) {
return t[n];
}));
});
}
function nt(t, e) {
return t.x <= e.right && t.x >= e.left && t.y <= e.bottom && t.y >= e.top;
}
var it = {
ratio: function (t, e, n) {
var i = "width" === e ? "height" : "width",
r = {};
return r[i] = t[e] ? Math.round(n * t[i] / t[e]) : t[i], r[e] = n, r;
},
contain: function (n, i) {
var r = this;
return K(n = X({}, n), function (t, e) {
return n = n[e] > i[e] ? r.ratio(n, e, i[e]) : n;
}), n;
},
cover: function (n, i) {
var r = this;
return K(n = this.contain(n, i), function (t, e) {
return n = n[e] < i[e] ? r.ratio(n, e, i[e]) : n;
}), n;
}
};
function rt(t, e, n) {
if (S(e)) for (var i in e) rt(t, i, e[i]);else {
if (O(n)) return (t = W(t)) && t.getAttribute(e);
V(t).forEach(function (t) {
$(n) && (n = n.call(t, rt(t, e))), null === n ? st(t, e) : t.setAttribute(e, n);
});
}
}
function ot(t, e) {
return V(t).some(function (t) {
return t.hasAttribute(e);
});
}
function st(t, e) {
t = V(t), e.split(" ").forEach(function (e) {
return t.forEach(function (t) {
return t.hasAttribute(e) && t.removeAttribute(e);
});
});
}
function at(t, e) {
for (var n = 0, i = [e, "data-" + e]; n < i.length; n++) if (ot(t, i[n])) return rt(t, i[n]);
}
var ut = "undefined" != typeof window,
ct = ut && /msie|trident/i.test(window.navigator.userAgent),
ht = ut && "rtl" === rt(document.documentElement, "dir"),
lt = ut && "ontouchstart" in window,
dt = ut && window.PointerEvent,
ft = ut && (lt || window.DocumentTouch && document instanceof DocumentTouch || navigator.maxTouchPoints),
pt = dt ? "pointerdown" : lt ? "touchstart" : "mousedown",
mt = dt ? "pointermove" : lt ? "touchmove" : "mousemove",
gt = dt ? "pointerup" : lt ? "touchend" : "mouseup",
vt = dt ? "pointerenter" : lt ? "" : "mouseenter",
wt = dt ? "pointerleave" : lt ? "" : "mouseleave",
bt = dt ? "pointercancel" : "touchcancel";
function xt(t, e) {
return W(t) || $t(t, kt(t, e));
}
function yt(t, e) {
var n = V(t);
return n.length && n || St(t, kt(t, e));
}
function kt(t, e) {
return void 0 === e && (e = document), Ct(t) || C(e) ? e : e.ownerDocument;
}
function $t(t, e) {
return W(It(t, e, "querySelector"));
}
function St(t, e) {
return V(It(t, e, "querySelectorAll"));
}
function It(t, o, e) {
if (void 0 === o && (o = document), !t || !D(t)) return null;
var s;
Ct(t = t.replace(Tt, "$1 *")) && (s = [], t = t.match(_t).map(function (t) {
return t.replace(/,$/, "").trim();
}).map(function (t, e) {
var n,
i,
r = o;
return "!" === t[0] && (i = t.substr(1).trim().split(" "), r = Nt(Bt(o), i[0]), t = i.slice(1).join(" ").trim()), "-" === t[0] && (n = t.substr(1).trim().split(" "), i = (r || o).previousElementSibling, r = zt(i, t.substr(1)) ? i : null, t = n.slice(1).join(" ")), r ? (r.id || (r.id = "uk-" + Date.now() + e, s.push(function () {
return st(r, "id");
})), "#" + Ot(r.id) + " " + t) : null;
}).filter(Boolean).join(","), o = document);
try {
return o[e](t);
} catch (t) {
return null;
} finally {
s && s.forEach(function (t) {
return t();
});
}
}
var Et = /(^|[^\\],)\s*[!>+~-]/,
Tt = /([!>+~-])(?=\s+[!>+~-]|\s*$)/g;
function Ct(t) {
return D(t) && t.match(Et);
}
var _t = /.*?[^\\](?:,|$)/g;
var At = ut ? Element.prototype : {},
Mt = At.matches || At.webkitMatchesSelector || At.msMatchesSelector || tt;
function zt(t, e) {
return V(t).some(function (t) {
return Mt.call(t, e);
});
}
var Dt = At.closest || function (t) {
var e = this;
do {
if (zt(e, t)) return e;
} while (e = Bt(e));
};
function Nt(t, e) {
return g(e, ">") && (e = e.slice(1)), A(t) ? Dt.call(t, e) : V(t).map(function (t) {
return Nt(t, e);
}).filter(Boolean);
}
function Bt(t) {
return (t = W(t)) && A(t.parentNode) && t.parentNode;
}
var Pt = ut && window.CSS && CSS.escape || function (t) {
return t.replace(/([^\x7f-\uFFFF\w-])/g, function (t) {
return "\\" + t;
});
};
function Ot(t) {
return D(t) ? Pt.call(null, t) : "";
}
var Ht = {
area: !0,
base: !0,
br: !0,
col: !0,
embed: !0,
hr: !0,
img: !0,
input: !0,
keygen: !0,
link: !0,
menuitem: !0,
meta: !0,
param: !0,
source: !0,
track: !0,
wbr: !0
};
function Lt(t) {
return V(t).some(function (t) {
return Ht[t.tagName.toLowerCase()];
});
}
function jt(t) {
return V(t).some(function (t) {
return t.offsetWidth || t.offsetHeight || t.getClientRects().length;
});
}
var Ft = "input,select,textarea,button";
function Wt(t) {
return V(t).some(function (t) {
return zt(t, Ft);
});
}
function Vt(t, e) {
return V(t).filter(function (t) {
return zt(t, e);
});
}
function Rt(t, e) {
return D(e) ? zt(t, e) || !!Nt(t, e) : t === e || (C(e) ? e.documentElement : W(e)).contains(W(t));
}
function qt(t, e) {
for (var n = []; t = Bt(t);) e && !zt(t, e) || n.push(t);
return n;
}
function Ut(t, e) {
t = (t = W(t)) ? V(t.children) : [];
return e ? Vt(t, e) : t;
}
function Yt() {
for (var t = [], e = arguments.length; e--;) t[e] = arguments[e];
var n,
i,
r = Zt(t),
o = r[0],
s = r[1],
a = r[2],
u = r[3],
c = r[4],
o = ne(o);
return 1 < u.length && (n = u, u = function (t) {
return k(t.detail) ? n.apply(void 0, [t].concat(t.detail)) : n(t);
}), c && c.self && (i = u, u = function (t) {
if (t.target === t.currentTarget || t.target === t.current) return i.call(null, t);
}), a && (u = function (t, i, r) {
var o = this;
return function (n) {
t.forEach(function (t) {
var e = ">" === i[0] ? St(i, t).reverse().filter(function (t) {
return Rt(n.target, t);
})[0] : Nt(n.target, i);
e && (n.delegate = t, n.current = e, r.call(o, n));
});
};
}(o, a, u)), c = Qt(c), s.split(" ").forEach(function (e) {
return o.forEach(function (t) {
return t.addEventListener(e, u, c);
});
}), function () {
return Xt(o, s, u, c);
};
}
function Xt(t, e, n, i) {
void 0 === i && (i = !1), i = Qt(i), t = ne(t), e.split(" ").forEach(function (e) {
return t.forEach(function (t) {
return t.removeEventListener(e, n, i);
});
});
}
function Gt() {
for (var t = [], e = arguments.length; e--;) t[e] = arguments[e];
var n = Zt(t),
i = n[0],
r = n[1],
o = n[2],
s = n[3],
a = n[4],
u = n[5],
c = Yt(i, r, o, function (t) {
var e = !u || u(t);
e && (c(), s(t, e));
}, a);
return c;
}
function Kt(t, n, i) {
return ne(t).reduce(function (t, e) {
return t && e.dispatchEvent(Jt(n, !0, !0, i));
}, !0);
}
function Jt(t, e, n, i) {
var r;
return void 0 === e && (e = !0), void 0 === n && (n = !1), D(t) && ((r = document.createEvent("CustomEvent")).initCustomEvent(t, e, n, i), t = r), t;
}
function Zt(t) {
return $(t[2]) && t.splice(2, 0, !1), t;
}
function Qt(t) {
return t && ct && !z(t) ? !!t.capture : t;
}
function te(t) {
return t && "addEventListener" in t;
}
function ee(t) {
return te(t) ? t : W(t);
}
function ne(t) {
return k(t) ? t.map(ee).filter(Boolean) : D(t) ? St(t) : te(t) ? [t] : V(t);
}
function ie(t) {
return "touch" === t.pointerType || !!t.touches;
}
function re(t) {
var e = t.touches,
n = t.changedTouches,
t = e && e[0] || n && n[0] || t;
return {
x: t.clientX,
y: t.clientY
};
}
function oe() {
var n = this;
this.promise = new se(function (t, e) {
n.reject = e, n.resolve = t;
});
}
var se = ut && window.Promise || ce,
ae = 2,
ue = ut && window.setImmediate || setTimeout;
function ce(t) {
this.state = ae, this.value = void 0, this.deferred = [];
var e = this;
try {
t(function (t) {
e.resolve(t);
}, function (t) {
e.reject(t);
});
} catch (t) {
e.reject(t);
}
}
ce.reject = function (n) {
return new ce(function (t, e) {
e(n);
});
}, ce.resolve = function (n) {
return new ce(function (t, e) {
t(n);
});
}, ce.all = function (o) {
return new ce(function (n, t) {
var i = [],
r = 0;
0 === o.length && n(i);
for (var e = 0; e < o.length; e += 1) ce.resolve(o[e]).then(function (e) {
return function (t) {
i[e] = t, (r += 1) === o.length && n(i);
};
}(e), t);
});
}, ce.race = function (i) {
return new ce(function (t, e) {
for (var n = 0; n < i.length; n += 1) ce.resolve(i[n]).then(t, e);
});
};
var he = ce.prototype;
function le(s, a) {
return new se(function (t, e) {
var n = X({
data: null,
method: "GET",
headers: {},
xhr: new XMLHttpRequest(),
beforeSend: tt,
responseType: ""
}, a);
n.beforeSend(n);
var i,
r,
o = n.xhr;
for (i in n) if (i in o) try {
o[i] = n[i];
} catch (t) {}
for (r in o.open(n.method.toUpperCase(), s), n.headers) o.setRequestHeader(r, n.headers[r]);
Yt(o, "load", function () {
0 === o.status || 200 <= o.status && o.status < 300 || 304 === o.status ? ("json" === n.responseType && D(o.response) && (o = X(function (t) {
var e,
n = {};
for (e in t) n[e] = t[e];
return n;
}(o), {
response: JSON.parse(o.response)
})), t(o)) : e(X(Error(o.statusText), {
xhr: o,
status: o.status
}));
}), Yt(o, "error", function () {
return e(X(Error("Network Error"), {
xhr: o
}));
}), Yt(o, "timeout", function () {
return e(X(Error("Network Timeout"), {
xhr: o
}));
}), o.send(n.data);
});
}
function de(i, r, o) {
return new se(function (t, e) {
var n = new Image();
n.onerror = function (t) {
return e(t);
}, n.onload = function () {
return t(n);
}, o && (n.sizes = o), r && (n.srcset = r), n.src = i;
});
}
function fe(t) {
var e;
"loading" === document.readyState ? e = Yt(document, "DOMContentLoaded", function () {
e(), t();
}) : t();
}
function pe(t, e) {
return e ? V(t).indexOf(W(e)) : Ut(Bt(t)).indexOf(t);
}
function me(t, e, n, i) {
void 0 === n && (n = 0), void 0 === i && (i = !1);
var r = (e = V(e)).length;
return t = B(t) ? L(t) : "next" === t ? n + 1 : "previous" === t ? n - 1 : pe(e, t), i ? Q(t, 0, r - 1) : (t %= r) < 0 ? t + r : t;
}
function ge(t) {
return (t = Ae(t)).innerHTML = "", t;
}
function ve(t, e) {
return t = Ae(t), O(e) ? t.innerHTML : we(t.hasChildNodes() ? ge(t) : t, e);
}
function we(e, t) {
return e = Ae(e), ye(t, function (t) {
return e.appendChild(t);
});
}
function be(e, t) {
return e = Ae(e), ye(t, function (t) {
return e.parentNode.insertBefore(t, e);
});
}
function xe(e, t) {
return e = Ae(e), ye(t, function (t) {
return e.nextSibling ? be(e.nextSibling, t) : we(e.parentNode, t);
});
}
function ye(t, e) {
return (t = D(t) ? Ce(t) : t) ? "length" in t ? V(t).map(e) : e(t) : null;
}
function ke(t) {
V(t).forEach(function (t) {
return t.parentNode && t.parentNode.removeChild(t);
});
}
function $e(t, e) {
for (e = W(be(t, e)); e.firstChild;) e = e.firstChild;
return we(e, t), e;
}
function Se(t, e) {
return V(V(t).map(function (t) {
return t.hasChildNodes ? $e(V(t.childNodes), e) : we(t, e);
}));
}
function Ie(t) {
V(t).map(Bt).filter(function (t, e, n) {
return n.indexOf(t) === e;
}).forEach(function (t) {
be(t, t.childNodes), ke(t);
});
}
he.resolve = function (t) {
var e = this;
if (e.state === ae) {
if (t === e) throw new TypeError("Promise settled with itself.");
var n = !1;
try {
var i = t && t.then;
if (null !== t && S(t) && $(i)) return void i.call(t, function (t) {
n || e.resolve(t), n = !0;
}, function (t) {
n || e.reject(t), n = !0;
});
} catch (t) {
return void (n || e.reject(t));
}
e.state = 0, e.value = t, e.notify();
}
}, he.reject = function (t) {
var e = this;
if (e.state === ae) {
if (t === e) throw new TypeError("Promise settled with itself.");
e.state = 1, e.value = t, e.notify();
}
}, he.notify = function () {
var o = this;
ue(function () {
if (o.state !== ae) for (; o.deferred.length;) {
var t = o.deferred.shift(),
e = t[0],
n = t[1],
i = t[2],
r = t[3];
try {
0 === o.state ? $(e) ? i(e.call(void 0, o.value)) : i(o.value) : 1 === o.state && ($(n) ? i(n.call(void 0, o.value)) : r(o.value));
} catch (t) {
r(t);
}
}
});
}, he.then = function (n, i) {
var r = this;
return new ce(function (t, e) {
r.deferred.push([n, i, t, e]), r.notify();
});
}, he.catch = function (t) {
return this.then(void 0, t);
};
var Ee = /^\s*<(\w+|!)[^>]*>/,
Te = /^<(\w+)\s*\/?>(?:<\/\1>)?$/;
function Ce(t) {
var e = Te.exec(t);
if (e) return document.createElement(e[1]);
e = document.createElement("div");
return Ee.test(t) ? e.insertAdjacentHTML("beforeend", t.trim()) : e.textContent = t, 1 < e.childNodes.length ? V(e.childNodes) : e.firstChild;
}
function _e(t, e) {
if (A(t)) for (e(t), t = t.firstElementChild; t;) {
var n = t.nextElementSibling;
_e(t, e), t = n;
}
}
function Ae(t, e) {
return D(t) ? ze(t) ? W(Ce(t)) : $t(t, e) : W(t);
}
function Me(t, e) {
return D(t) ? ze(t) ? V(Ce(t)) : St(t, e) : V(t);
}
function ze(t) {
return "<" === t[0] || t.match(/^\s*);
}
function De(t) {
for (var e = [], n = arguments.length - 1; 0 < n--;) e[n] = arguments[n + 1];
Le(t, e, "add");
}
function Ne(t) {
for (var e = [], n = arguments.length - 1; 0 < n--;) e[n] = arguments[n + 1];
Le(t, e, "remove");
}
function Be(t, e) {
rt(t, "class", function (t) {
return (t || "").replace(new RegExp("\\b" + e + "\\b", "g"), "");
});
}
function Pe(t) {
for (var e = [], n = arguments.length - 1; 0 < n--;) e[n] = arguments[n + 1];
e[0] && Ne(t, e[0]), e[1] && De(t, e[1]);
}
function Oe(t, e) {
return e && V(t).some(function (t) {
return t.classList.contains(e.split(" ")[0]);
});
}
function He(t) {
for (var i, r = [], e = arguments.length - 1; 0 < e--;) r[e] = arguments[e + 1];
r.length && (i = D(G(r = je(r))) ? [] : r.pop(), r = r.filter(Boolean), V(t).forEach(function (t) {
for (var e = t.classList, n = 0; n < r.length; n++) Fe.Force ? e.toggle.apply(e, [r[n]].concat(i)) : e[(O(i) ? !e.contains(r[n]) : i) ? "add" : "remove"](r[n]);
}));
}
function Le(t, n, i) {
(n = je(n).filter(Boolean)).length && V(t).forEach(function (t) {
var e = t.classList;
Fe.Multiple ? e[i].apply(e, n) : n.forEach(function (t) {
return e[i](t);
});
});
}
function je(t) {
return t.reduce(function (t, e) {
return t.concat.call(t, D(e) && b(e, " ") ? e.trim().split(" ") : e);
}, []);
}
var Fe = {
get Multiple() {
return this.get("_multiple");
},
get Force() {
return this.get("_force");
},
get: function (t) {
var e;
return h(this, t) || ((e = document.createElement("_").classList).add("a", "b"), e.toggle("c", !1), this._multiple = e.contains("b"), this._force = !e.contains("c")), this[t];
}
},
We = {
"animation-iteration-count": !0,
"column-count": !0,
"fill-opacity": !0,
"flex-grow": !0,
"flex-shrink": !0,
"font-weight": !0,
"line-height": !0,
opacity: !0,
order: !0,
orphans: !0,
"stroke-dasharray": !0,
"stroke-dashoffset": !0,
widows: !0,
"z-index": !0,
zoom: !0
};
function Ve(t, e, r, o) {
return V(t).map(function (n) {
if (D(e)) {
if (e = Ge(e), O(r)) return qe(n, e);
r || N(r) ? n.style.setProperty(e, B(r) && !We[e] ? r + "px" : r, o) : n.style.removeProperty(e);
} else {
if (k(e)) {
var i = Re(n);
return e.reduce(function (t, e) {
return t[e] = i[Ge(e)], t;
}, {});
}
S(e) && (o = r, K(e, function (t, e) {
return Ve(n, e, t, o);
}));
}
return n;
})[0];
}
function Re(t, e) {
return (t = W(t)).ownerDocument.defaultView.getComputedStyle(t, e);
}
function qe(t, e, n) {
return Re(t, n)[e];
}
var Ue = {};
function Ye(t) {
var e,
n = document.documentElement;
return ct ? (t in Ue || (De(e = we(n, document.createElement("div")), "uk-" + t), Ue[t] = qe(e, "content", ":before").replace(/^["'](.*)["']$/, "$1"), ke(e)), Ue[t]) : Re(n).getPropertyValue("--uk-" + t);
}
var Xe = {};
function Ge(t) {
return Xe[t] || (Xe[t] = function (t) {
t = d(t);
var e = document.documentElement.style;
if (t in e) return t;
var n,
i = Ke.length;
for (; i--;) if ((n = "-" + Ke[i] + "-" + t) in e) return n;
return t;
}(t)), Xe[t];
}
var Ke = ["webkit", "moz", "ms"];
function Je(t, s, a, u) {
return void 0 === a && (a = 400), void 0 === u && (u = "linear"), se.all(V(t).map(function (o) {
return new se(function (e, n) {
for (var t in s) {
var i = Ve(o, t);
"" === i && Ve(o, t, i);
}
var r = setTimeout(function () {
return Kt(o, "transitionend");
}, a);
Gt(o, "transitionend transitioncanceled", function (t) {
t = t.type;
clearTimeout(r), Ne(o, "uk-transition"), Ve(o, {
transitionProperty: "",
transitionDuration: "",
transitionTimingFunction: ""
}), "transitioncanceled" === t ? n() : e(o);
}, {
self: !0
}), De(o, "uk-transition"), Ve(o, X({
transitionProperty: Object.keys(s).map(Ge).join(","),
transitionDuration: a + "ms",
transitionTimingFunction: u
}, s));
});
}));
}
var Ze = {
start: Je,
stop: function (t) {
return Kt(t, "transitionend"), se.resolve();
},
cancel: function (t) {
Kt(t, "transitioncanceled");
},
inProgress: function (t) {
return Oe(t, "uk-transition");
}
},
Qe = "uk-animation-";
function tn(t, o, s, a, u) {
return void 0 === s && (s = 200), se.all(V(t).map(function (r) {
return new se(function (e, n) {
Kt(r, "animationcanceled");
var i = setTimeout(function () {
return Kt(r, "animationend");
}, s);
Gt(r, "animationend animationcanceled", function (t) {
t = t.type;
clearTimeout(i), "animationcanceled" === t ? n() : e(r), Ve(r, "animationDuration", ""), Be(r, Qe + "\\S*");
}, {
self: !0
}), Ve(r, "animationDuration", s + "ms"), De(r, o, Qe + (u ? "leave" : "enter")), g(o, Qe) && De(r, a && "uk-transform-origin-" + a, u && Qe + "reverse");
});
}));
}
var en = new RegExp(Qe + "(enter|leave)"),
nn = {
in: tn,
out: function (t, e, n, i) {
return tn(t, e, n, i, !0);
},
inProgress: function (t) {
return en.test(rt(t, "class"));
},
cancel: function (t) {
Kt(t, "animationcanceled");
}
},
rn = {
width: ["left", "right"],
height: ["top", "bottom"]
};
function on(t) {
t = T(t) || !W(t) ? {
height: cn(t),
width: hn(t),
top: 0,
left: 0
} : W(t).getBoundingClientRect();
return {
height: t.height,
width: t.width,
top: t.top,
left: t.left,
bottom: t.top + t.height,
right: t.left + t.width
};
}
function sn(n, i) {
var t,
r = on(n),
e = R(n),
o = {
height: e.pageYOffset,
width: e.pageXOffset
};
for (t in rn) for (var s in rn[t]) r[rn[t][s]] += o[t];
if (!i) return r;
var a = Ve(n, "position");
K(Ve(n, ["left", "top"]), function (t, e) {
return Ve(n, e, i[e] - r[e] + j("absolute" === a && "auto" === t ? an(n)[e] : t));
});
}
function an(t, e) {
t = W(t), e = e || t.offsetParent || t.documentElement;
var n = sn(t),
t = sn(e);
return {
top: n.top - t.top - j(Ve(e, "borderTopWidth")),
left: n.left - t.left - j(Ve(e, "borderLeftWidth"))
};
}
function un(t) {
var e = [0, 0];
t = W(t);
do {
if (e[0] += t.offsetTop, e[1] += t.offsetLeft, "fixed" === Ve(t, "position")) {
var n = R(t);
return e[0] += n.pageYOffset, e[1] += n.pageXOffset, e;
}
} while (t = t.offsetParent);
return e;
}
var cn = ln("height"),
hn = ln("width");
function ln(i) {
var r = p(i);
return function (t, e) {
if (O(e)) {
if (T(t)) return t["inner" + r];
if (C(t)) {
var n = t.documentElement;
return Math.max(n["offset" + r], n["scroll" + r]);
}
return (e = "auto" === (e = Ve(t = W(t), i)) ? t["offset" + r] : j(e) || 0) - dn(t, i);
}
return Ve(t, i, e || 0 === e ? +e + dn(t, i) + "px" : "");
};
}
function dn(n, t, e) {
return void 0 === e && (e = "border-box"), Ve(n, "boxSizing") === e ? rn[t].map(p).reduce(function (t, e) {
return t + j(Ve(n, "padding" + e)) + j(Ve(n, "border" + e + "Width"));
}, 0) : 0;
}
function fn(t) {
for (var e in rn) for (var n in rn[e]) if (rn[e][n] === t) return rn[e][1 - n];
return t;
}
function pn(t, e, n) {
return void 0 === e && (e = "width"), void 0 === n && (n = window), B(t) ? +t : c(t, "vh") ? mn(cn(R(n)), t) : c(t, "vw") ? mn(hn(R(n)), t) : c(t, "%") ? mn(on(n)[e], t) : j(t);
}
function mn(t, e) {
return t * j(e) / 100;
}
var gn = {
reads: [],
writes: [],
read: function (t) {
return this.reads.push(t), bn(), t;
},
write: function (t) {
return this.writes.push(t), bn(), t;
},
clear: function (t) {
return yn(this.reads, t) || yn(this.writes, t);
},
flush: vn
};
function vn(t) {
void 0 === t && (t = 1), xn(gn.reads), xn(gn.writes.splice(0, gn.writes.length)), gn.scheduled = !1, (gn.reads.length || gn.writes.length) && bn(t + 1);
}
var wn = 4;
function bn(t) {
gn.scheduled || (gn.scheduled = !0, t && t < wn ? se.resolve().then(function () {
return vn(t);
}) : requestAnimationFrame(function () {
return vn();
}));
}
function xn(t) {
for (var e; e = t.shift();) e();
}
function yn(t, e) {
e = t.indexOf(e);
return !!~e && !!t.splice(e, 1);
}
function kn() {}
kn.prototype = {
positions: [],
init: function () {
var e,
t = this;
this.positions = [], this.unbind = Yt(document, "mousemove", function (t) {
return e = re(t);
}), this.interval = setInterval(function () {
e && (t.positions.push(e), 5 < t.positions.length && t.positions.shift());
}, 50);
},
cancel: function () {
this.unbind && this.unbind(), this.interval && clearInterval(this.interval);
},
movesTo: function (t) {
if (this.positions.length < 2) return !1;
var e = t.getBoundingClientRect(),
n = e.left,
i = e.right,
r = e.top,
o = e.bottom,
s = this.positions[0],
t = G(this.positions),
a = [s, t];
return !nt(t, e) && [[{
x: n,
y: r
}, {
x: i,
y: o
}], [{
x: n,
y: o
}, {
x: i,
y: r
}]].some(function (t) {
t = function (t, e) {
var n = t[0],
i = n.x,
r = n.y,
o = t[1],
s = o.x,
a = o.y,
u = e[0],
n = u.x,
t = u.y,
o = e[1],
u = o.x,
e = o.y,
o = (e - t) * (s - i) - (u - n) * (a - r);
if (0 == o) return !1;
o = ((u - n) * (r - t) - (e - t) * (i - n)) / o;
if (o < 0) return !1;
return {
x: i + o * (s - i),
y: r + o * (a - r)
};
}(a, t);
return t && nt(t, e);
});
}
};
var $n = {};
function Sn(t, e, n) {
return $n.computed($(t) ? t.call(n, n) : t, $(e) ? e.call(n, n) : e);
}
function In(t, e) {
return t = t && !k(t) ? [t] : t, e ? t ? t.concat(e) : k(e) ? e : [e] : t;
}
function En(e, n, i) {
var t,
r,
o = {};
if ($(n) && (n = n.options), n.extends && (e = En(e, n.extends, i)), n.mixins) for (var s = 0, a = n.mixins.length; s < a; s++) e = En(e, n.mixins[s], i);
for (t in e) u(t);
for (r in n) h(e, r) || u(r);
function u(t) {
o[t] = ($n[t] || function (t, e) {
return O(e) ? t : e;
})(e[t], n[t], i);
}
return o;
}
function Tn(t, e) {
var n;
void 0 === e && (e = []);
try {
return t ? g(t, "{") ? JSON.parse(t) : e.length && !b(t, ":") ? ((n = {})[e[0]] = t, n) : t.split(";").reduce(function (t, e) {
var n = e.split(/:(.*)/),
e = n[0],
n = n[1];
return e && !O(n) && (t[e.trim()] = n.trim()), t;
}, {}) : {};
} catch (t) {
return {};
}
}
function Cn(t) {
if (zn(t) && Bn(t, {
func: "playVideo",
method: "play"
}), Mn(t)) try {
t.play().catch(tt);
} catch (t) {}
}
function _n(t) {
zn(t) && Bn(t, {
func: "pauseVideo",
method: "pause"
}), Mn(t) && t.pause();
}
function An(t) {
zn(t) && Bn(t, {
func: "mute",
method: "setVolume",
value: 0
}), Mn(t) && (t.muted = !0);
}
function Mn(t) {
return t && "VIDEO" === t.tagName;
}
function zn(t) {
return t && "IFRAME" === t.tagName && (Dn(t) || Nn(t));
}
function Dn(t) {
return !!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/);
}
function Nn(t) {
return !!t.src.match(/vimeo\.com\/video\/.*/);
}
function Bn(t, e) {
(function (e) {
if (e[On]) return e[On];
var n,
i = Dn(e),
r = Nn(e),
o = ++Hn;
return e[On] = new se(function (t) {
i && Gt(e, "load", function () {
function t() {
return Pn(e, {
event: "listening",
id: o
});
}
n = setInterval(t, 100), t();
}), Gt(window, "message", t, !1, function (t) {
var e = t.data;
try {
return (e = JSON.parse(e)) && (i && e.id === o && "onReady" === e.event || r && Number(e.player_id) === o);
} catch (t) {}
}), e.src = e.src + (b(e.src, "?") ? "&" : "?") + (i ? "enablejsapi=1" : "api=1&player_id=" + o);
}).then(function () {
return clearInterval(n);
});
})(t).then(function () {
return Pn(t, e);
});
}
function Pn(t, e) {
try {
t.contentWindow.postMessage(JSON.stringify(X({
event: "command"
}, e)), "*");
} catch (t) {}
}
$n.events = $n.created = $n.beforeConnect = $n.connected = $n.beforeDisconnect = $n.disconnected = $n.destroy = In, $n.args = function (t, e) {
return !1 !== e && In(e || t);
}, $n.update = function (t, e) {
return J(In(t, $(e) ? {
read: e
} : e), "order");
}, $n.props = function (t, e) {
return k(e) && (e = e.reduce(function (t, e) {
return t[e] = String, t;
}, {})), $n.methods(t, e);
}, $n.computed = $n.methods = function (t, e) {
return e ? t ? X({}, t, e) : e : t;
}, $n.data = function (e, n, t) {
return t ? Sn(e, n, t) : n ? e ? function (t) {
return Sn(e, n, t);
} : n : e;
};
var On = "_ukPlayer",
Hn = 0;
function Ln(t, r, o) {
return void 0 === r && (r = 0), void 0 === o && (o = 0), !!jt(t) && et.apply(void 0, Vn(t).map(function (t) {
var e = sn(Rn(t)),
n = e.top,
i = e.left,
t = e.bottom,
e = e.right;
return {
top: n - r,
left: i - o,
bottom: t + r,
right: e + o
};
}).concat(sn(t)));
}
function jn(t, e) {
(t = (T(t) || C(t) ? qn : W)(t)).scrollTop = e;
}
function Fn(s, t) {
void 0 === t && (t = {});
var a = t.offset;
if (void 0 === a && (a = 0), jt(s)) {
var c = Vn(s),
h = 0;
return c.reduce(function (t, e, n) {
var i = e.scrollTop,
r = e.scrollHeight,
o = Rn(e),
r = r - cn(o),
u = Math.ceil(an(c[n - 1] || s, o).top - a) + h + i;
return r < u ? (h = u - r, u = r) : h = 0, function () {
return s = e, a = u - i, new se(function (n) {
var t,
i = s.scrollTop,
r = (t = Math.abs(a), 40 * Math.pow(t, .375)),
o = Date.now();
!function t() {
var e,
e = (e = Q((Date.now() - o) / r), .5 * (1 - Math.cos(Math.PI * e)));
jn(s, i + a * e), 1 != e ? requestAnimationFrame(t) : n();
}();
}).then(t);
var s, a;
};
}, function () {
return se.resolve();
})();
}
}
function Wn(t, e) {
if (void 0 === e && (e = 0), !jt(t)) return 0;
var n = Vn(t, /auto|scroll/)[0],
i = n.scrollHeight,
r = n.scrollTop,
o = Rn(n),
s = cn(o),
o = un(t)[0] - r - un(n)[0],
n = Math.min(s, o + r);
return Q(-1 * (o - n) / Math.min(cn(t) + e + n, i - (o + r), i - s));
}
function Vn(t, e, n) {
void 0 === e && (e = /auto|scroll|hidden/), void 0 === n && (n = !1);
var i = qn(t),
r = qt(t).reverse(),
t = y(r = r.slice(r.indexOf(i) + 1), function (t) {
return "fixed" === Ve(t, "position");
});
return ~t && (r = r.slice(t)), [i].concat(r.filter(function (t) {
return e.test(Ve(t, "overflow")) && (!n || t.scrollHeight > cn(t));
})).reverse();
}
function Rn(t) {
return t === qn(t) ? window : t;
}
function qn(t) {
t = R(t).document;
return t.scrollingElement || t.documentElement;
}
var Un = {
width: ["x", "left", "right"],
height: ["y", "top", "bottom"]
};
function Yn(t, e, h, l, d, n, i, r) {
h = Gn(h), l = Gn(l);
var f = {
element: h,
target: l
};
if (!t || !e) return f;
var o,
p = sn(t),
m = sn(e),
g = m;
return Xn(g, h, p, -1), Xn(g, l, m, 1), d = Kn(d, p.width, p.height), n = Kn(n, m.width, m.height), d.x += n.x, d.y += n.y, g.left += d.x, g.top += d.y, i && (o = Vn(e).map(Rn), r && b(o, r) && o.unshift(r), o = o.map(function (t) {
return sn(t);
}), K(Un, function (t, s) {
var a = t[0],
u = t[1],
c = t[2];
!0 !== i && !b(i, a) || o.some(function (n) {
var t = h[a] === u ? -p[s] : h[a] === c ? p[s] : 0,
e = l[a] === u ? m[s] : l[a] === c ? -m[s] : 0;
if (g[u] < n[u] || g[u] + p[s] > n[c]) {
var i = p[s] / 2,
r = "center" === l[a] ? -m[s] / 2 : 0;
return "center" === h[a] && (o(i, r) || o(-i, -r)) || o(t, e);
}
function o(e, t) {
t = j((g[u] + e + t - 2 * d[a]).toFixed(4));
if (t >= n[u] && t + p[s] <= n[c]) return g[u] = t, ["element", "target"].forEach(function (t) {
f[t][a] = e ? f[t][a] === Un[s][1] ? Un[s][2] : Un[s][1] : f[t][a];
}), !0;
}
});
})), sn(t, g), f;
}
function Xn(r, o, s, a) {
K(Un, function (t, e) {
var n = t[0],
i = t[1],
t = t[2];
o[n] === t ? r[i] += s[e] * a : "center" === o[n] && (r[i] += s[e] * a / 2);
});
}
function Gn(t) {
var e = /left|center|right/,
n = /top|center|bottom/;
return 1 === (t = (t || "").split(" ")).length && (t = e.test(t[0]) ? t.concat("center") : n.test(t[0]) ? ["center"].concat(t) : ["center", "center"]), {
x: e.test(t[0]) ? t[0] : "center",
y: n.test(t[1]) ? t[1] : "center"
};
}
function Kn(t, e, n) {
var i = (t || "").split(" "),
t = i[0],
i = i[1];
return {
x: t ? j(t) * (c(t, "%") ? e / 100 : 1) : 0,
y: i ? j(i) * (c(i, "%") ? n / 100 : 1) : 0
};
}
function Jn(t) {
return !(!g(t, "uk-") && !g(t, "data-uk-")) && f(t.replace("data-uk-", "").replace("uk-", ""));
}
function Zn(t) {
this._init(t);
}
var Qn, ti, ei, ni, ii, ri, oi, si, ai;
function ui(t, e) {
if (t) for (var n in t) t[n]._connected && t[n]._callUpdate(e);
}
function ci(t, e) {
var n = {},
i = t.args;
void 0 === i && (i = []);
var r = t.props;
void 0 === r && (r = {});
var o,
s = t.el;
if (!r) return n;
for (o in r) {
var a = d(o),
u = at(s, a);
O(u) || (u = r[o] === Boolean && "" === u || li(r[o], u), ("target" !== a || u && !g(u, "_")) && (n[o] = u));
}
var c,
h = Tn(at(s, e), i);
for (c in h) {
var l = f(c);
void 0 !== r[l] && (n[l] = li(r[l], h[c]));
}
return n;
}
function hi(e, n, i) {
E(n) || (n = {
name: i,
handler: n
});
var t = n.name,
r = n.el,
o = n.handler,
s = n.capture,
a = n.passive,
u = n.delegate,
c = n.filter,
h = n.self,
r = $(r) ? r.call(e) : r || e.$el;
k(r) ? r.forEach(function (t) {
return hi(e, X({}, n, {
el: t
}), i);
}) : !r || c && !c.call(e) || e._events.push(Yt(r, t, u ? D(u) ? u : u.call(e) : null, D(o) ? e[o] : o.bind(e), {
passive: a,
capture: s,
self: h
}));
}
function li(t, e) {
return t === Boolean ? H(e) : t === Number ? L(e) : "list" === t ? k(n = e) ? n : D(n) ? n.split(/,(?![^(]*\))/).map(function (t) {
return B(t) ? L(t) : H(t.trim());
}) : [n] : t ? t(e) : e;
var n;
}
Zn.util = Object.freeze({
__proto__: null,
ajax: le,
getImage: de,
transition: Je,
Transition: Ze,
animate: tn,
Animation: nn,
attr: rt,
hasAttr: ot,
removeAttr: st,
data: at,
addClass: De,
removeClass: Ne,
removeClasses: Be,
replaceClass: Pe,
hasClass: Oe,
toggleClass: He,
dimensions: on,
offset: sn,
position: an,
offsetPosition: un,
height: cn,
width: hn,
boxModelAdjust: dn,
flipPosition: fn,
toPx: pn,
ready: fe,
index: pe,
getIndex: me,
empty: ge,
html: ve,
prepend: function (e, t) {
return (e = Ae(e)).hasChildNodes() ? ye(t, function (t) {
return e.insertBefore(t, e.firstChild);
}) : we(e, t);
},
append: we,
before: be,
after: xe,
remove: ke,
wrapAll: $e,
wrapInner: Se,
unwrap: Ie,
fragment: Ce,
apply: _e,
$: Ae,
$$: Me,
inBrowser: ut,
isIE: ct,
isRtl: ht,
hasTouch: ft,
pointerDown: pt,
pointerMove: mt,
pointerUp: gt,
pointerEnter: vt,
pointerLeave: wt,
pointerCancel: bt,
on: Yt,
off: Xt,
once: Gt,
trigger: Kt,
createEvent: Jt,
toEventTargets: ne,
isTouch: ie,
getEventPos: re,
fastdom: gn,
isVoidElement: Lt,
isVisible: jt,
selInput: Ft,
isInput: Wt,
filter: Vt,
within: Rt,
parents: qt,
children: Ut,
hasOwn: h,
hyphenate: d,
camelize: f,
ucfirst: p,
startsWith: g,
endsWith: c,
includes: b,
findIndex: y,
isArray: k,
isFunction: $,
isObject: S,
isPlainObject: E,
isWindow: T,
isDocument: C,
isNode: _,
isElement: A,
isBoolean: z,
isString: D,
isNumber: N,
isNumeric: B,
isEmpty: P,
isUndefined: O,
toBoolean: H,
toNumber: L,
toFloat: j,
toArray: F,
toNode: W,
toNodes: V,
toWindow: R,
toMs: q,
isEqual: U,
swap: Y,
assign: X,
last: G,
each: K,
sortBy: J,
uniqueBy: Z,
clamp: Q,
noop: tt,
intersectRect: et,
pointInRect: nt,
Dimensions: it,
MouseTracker: kn,
mergeOptions: En,
parseOptions: Tn,
play: Cn,
pause: _n,
mute: An,
positionAt: Yn,
Promise: se,
Deferred: oe,
query: xt,
queryAll: yt,
find: $t,
findAll: St,
matches: zt,
closest: Nt,
parent: Bt,
escape: Ot,
css: Ve,
getStyles: Re,
getStyle: qe,
getCssVar: Ye,
propName: Ge,
isInView: Ln,
scrollTop: jn,
scrollIntoView: Fn,
scrolledOver: Wn,
scrollParents: Vn,
getViewport: Rn
}), Zn.data = "__uikit__", Zn.prefix = "uk-", Zn.options = {}, Zn.version = "3.6.3", ei = (Qn = Zn).data, Qn.use = function (t) {
if (!t.installed) return t.call(null, this), t.installed = !0, this;
}, Qn.mixin = function (t, e) {
(e = (D(e) ? Qn.component(e) : e) || this).options = En(e.options, t);
}, Qn.extend = function (t) {
t = t || {};
function e(t) {
this._init(t);
}
return ((e.prototype = Object.create(this.prototype)).constructor = e).options = En(this.options, t), e.super = this, e.extend = this.extend, e;
}, Qn.update = function (t, e) {
qt(t = t ? W(t) : document.body).reverse().forEach(function (t) {
return ui(t[ei], e);
}), _e(t, function (t) {
return ui(t[ei], e);
});
}, Object.defineProperty(Qn, "container", {
get: function () {
return ti || document.body;
},
set: function (t) {
ti = Ae(t);
}
}), (ni = Zn).prototype._callHook = function (t) {
var e = this,
t = this.$options[t];
t && t.forEach(function (t) {
return t.call(e);
});
}, ni.prototype._callConnected = function () {
this._connected || (this._data = {}, this._computeds = {}, this._frames = {
reads: {},
writes: {}
}, this._initProps(), this._callHook("beforeConnect"), this._connected = !0, this._initEvents(), this._initObserver(), this._callHook("connected"), this._callUpdate());
}, ni.prototype._callDisconnected = function () {
this._connected && (this._callHook("beforeDisconnect"), this._observer && (this._observer.disconnect(), this._observer = null), this._unbindEvents(), this._callHook("disconnected"), this._connected = !1);
}, ni.prototype._callUpdate = function (t) {
var r = this;
void 0 === t && (t = "update");
var o = t.type || t;
b(["update", "resize"], o) && this._callWatches();
var e = this.$options.update,
t = this._frames,
s = t.reads,
a = t.writes;
e && e.forEach(function (t, e) {
var n = t.read,
i = t.write,
t = t.events;
"update" !== o && !b(t, o) || (n && !b(gn.reads, s[e]) && (s[e] = gn.read(function () {
var t = r._connected && n.call(r, r._data, o);
!1 === t && i ? gn.clear(a[e]) : E(t) && X(r._data, t);
})), i && !b(gn.writes, a[e]) && (a[e] = gn.write(function () {
return r._connected && i.call(r, r._data, o);
})));
});
}, ni.prototype._callWatches = function () {
var a,
u = this,
c = this._frames;
c._watch || (a = !h(c, "_watch"), c._watch = gn.read(function () {
if (u._connected) {
var t,
e = u.$options.computed,
n = u._computeds;
for (t in e) {
var i = h(n, t),
r = n[t];
delete n[t];
var o = e[t],
s = o.watch,
o = o.immediate;
s && (a && o || i && !U(r, u[t])) && s.call(u, u[t], r);
}
c._watch = null;
}
}));
}, ri = 0, (ii = Zn).prototype._init = function (t) {
(t = t || {}).data = function (t, e) {
var n = t.data,
i = (t.el, e.args),
r = e.props;
void 0 === r && (r = {});
if (n = k(n) ? P(i) ? void 0 : n.slice(0, i.length).reduce(function (t, e, n) {
return E(e) ? X(t, e) : t[i[n]] = e, t;
}, {}) : n) for (var o in n) O(n[o]) ? delete n[o] : n[o] = r[o] ? li(r[o], n[o]) : n[o];
return n;
}(t, this.constructor.options), this.$options = En(this.constructor.options, t, this), this.$el = null, this.$props = {}, this._uid = ri++, this._initData(), this._initMethods(), this._initComputeds(), this._callHook("created"), t.el && this.$mount(t.el);
}, ii.prototype._initData = function () {
var t,
e = this.$options.data;
for (t in void 0 === e && (e = {}), e) this.$props[t] = this[t] = e[t];
}, ii.prototype._initMethods = function () {
var t = this.$options.methods;
if (t) for (var e in t) this[e] = t[e].bind(this);
}, ii.prototype._initComputeds = function () {
var t = this.$options.computed;
if (this._computeds = {}, t) for (var e in t) !function (i, r, o) {
Object.defineProperty(i, r, {
enumerable: !0,
get: function () {
var t = i._computeds,
e = i.$props,
n = i.$el;
return h(t, r) || (t[r] = (o.get || o).call(i, e, n)), t[r];
},
set: function (t) {
var e = i._computeds;
e[r] = o.set ? o.set.call(i, t) : t, O(e[r]) && delete e[r];
}
});
}(this, e, t[e]);
}, ii.prototype._initProps = function (t) {
for (var e in t = t || ci(this.$options, this.$name)) O(t[e]) || (this.$props[e] = t[e]);
var n = [this.$options.computed, this.$options.methods];
for (e in this.$props) e in t && function (t, e) {
return t.every(function (t) {
return !t || !h(t, e);
});
}(n, e) && (this[e] = this.$props[e]);
}, ii.prototype._initEvents = function () {
var n = this;
this._events = [];
var t = this.$options.events;
t && t.forEach(function (t) {
if (h(t, "handler")) hi(n, t);else for (var e in t) hi(n, t[e], e);
});
}, ii.prototype._unbindEvents = function () {
this._events.forEach(function (t) {
return t();
}), delete this._events;
}, ii.prototype._initObserver = function () {
var i = this,
t = this.$options,
r = t.attrs,
e = t.props,
t = t.el;
!this._observer && e && !1 !== r && (r = k(r) ? r : Object.keys(e), this._observer = new MutationObserver(function (t) {
var n = ci(i.$options, i.$name);
t.some(function (t) {
var e = t.attributeName,
t = e.replace("data-", "");
return (t === i.$name ? r : [f(t), f(e)]).some(function (t) {
return !O(n[t]) && n[t] !== i.$props[t];
});
}) && i.$reset();
}), e = r.map(d).concat(this.$name), this._observer.observe(t, {
attributes: !0,
attributeFilter: e.concat(e.map(function (t) {
return "data-" + t;
}))
}));
}, si = (oi = Zn).data, ai = {}, oi.component = function (s, t) {
var e = d(s);
if (s = f(e), !t) return E(ai[s]) && (ai[s] = oi.extend(ai[s])), ai[s];
oi[s] = function (t, n) {
for (var e = arguments.length, i = Array(e); e--;) i[e] = arguments[e];
var r = oi.component(s);
return r.options.functional ? new r({
data: E(t) ? t : [].concat(i)
}) : t ? Me(t).map(o)[0] : o(t);
function o(t) {
var e = oi.getComponent(t, s);
if (e) {
if (!n) return e;
e.$destroy();
}
return new r({
el: t,
data: n
});
}
};
var n = E(t) ? X({}, t) : t.options;
return n.name = s, n.install && n.install(oi, n, s), oi._initialized && !n.functional && gn.read(function () {
return oi[s]("[uk-" + e + "],[data-uk-" + e + "]");
}), ai[s] = E(t) ? n : t;
}, oi.getComponents = function (t) {
return t && t[si] || {};
}, oi.getComponent = function (t, e) {
return oi.getComponents(t)[e];
}, oi.connect = function (t) {
if (t[si]) for (var e in t[si]) t[si][e]._callConnected();
for (var n = 0; n < t.attributes.length; n++) {
var i = Jn(t.attributes[n].name);
i && i in ai && oi[i](t);
}
}, oi.disconnect = function (t) {
for (var e in t[si]) t[si][e]._callDisconnected();
}, function (i) {
var r = i.data;
i.prototype.$create = function (t, e, n) {
return i[t](e, n);
}, i.prototype.$mount = function (t) {
var e = this.$options.name;
t[r] || (t[r] = {}), t[r][e] || ((t[r][e] = this).$el = this.$options.el = this.$options.el || t, Rt(t, document) && this._callConnected());
}, i.prototype.$reset = function () {
this._callDisconnected(), this._callConnected();
}, i.prototype.$destroy = function (t) {
void 0 === t && (t = !1);
var e = this.$options,
n = e.el,
e = e.name;
n && this._callDisconnected(), this._callHook("destroy"), n && n[r] && (delete n[r][e], P(n[r]) || delete n[r], t && ke(this.$el));
}, i.prototype.$emit = function (t) {
this._callUpdate(t);
}, i.prototype.$update = function (t, e) {
void 0 === t && (t = this.$el), i.update(t, e);
}, i.prototype.$getComponent = i.getComponent;
var e = {};
Object.defineProperties(i.prototype, {
$container: Object.getOwnPropertyDescriptor(i, "container"),
$name: {
get: function () {
var t = this.$options.name;
return e[t] || (e[t] = i.prefix + d(t)), e[t];
}
}
});
}(Zn);
var di = {
connected: function () {
Oe(this.$el, this.$name) || De(this.$el, this.$name);
}
},
fi = {
props: {
cls: Boolean,
animation: "list",
duration: Number,
origin: String,
transition: String
},
data: {
cls: !1,
animation: [!1],
duration: 200,
origin: !1,
transition: "linear",
clsEnter: "uk-togglabe-enter",
clsLeave: "uk-togglabe-leave",
initProps: {
overflow: "",
height: "",
paddingTop: "",
paddingBottom: "",
marginTop: "",
marginBottom: ""
},
hideProps: {
overflow: "hidden",
height: 0,
paddingTop: 0,
paddingBottom: 0,
marginTop: 0,
marginBottom: 0
}
},
computed: {
hasAnimation: function (t) {
return !!t.animation[0];
},
hasTransition: function (t) {
t = t.animation;
return this.hasAnimation && !0 === t[0];
}
},
methods: {
toggleElement: function (t, i, r) {
var s = this;
return se.all(V(t).map(function (t) {
var e = z(i) ? i : !s.isToggled(t);
if (!Kt(t, "before" + (e ? "show" : "hide"), [s])) return se.reject();
var o,
n = ($(r) ? r : !1 !== r && s.hasAnimation ? s.hasTransition ? pi(s) : (o = s, function (t, e) {
nn.cancel(t);
var n = o.animation,
i = o.duration,
r = o._toggle;
return e ? (r(t, !0), nn.in(t, n[0], i, o.origin)) : nn.out(t, n[1] || n[0], i, o.origin).then(function () {
return r(t, !1);
});
}) : s._toggle)(t, e) || se.resolve();
return De(t, e ? s.clsEnter : s.clsLeave), Kt(t, e ? "show" : "hide", [s]), n.catch(tt).then(function () {
return Ne(t, e ? s.clsEnter : s.clsLeave);
}), n.then(function () {
Ne(t, e ? s.clsEnter : s.clsLeave), Kt(t, e ? "shown" : "hidden", [s]), s.$update(t);
}, tt);
}));
},
isToggled: function (t) {
return void 0 === t && (t = this.$el), !!Oe(this.clsEnter) || !Oe(this.clsLeave) && (this.cls ? Oe(t, this.cls.split(" ")[0]) : !ot(t, "hidden"));
},
_toggle: function (t, e) {
var n;
t && (e = Boolean(e), this.cls ? (n = b(this.cls, " ") || e !== Oe(t, this.cls)) && He(t, this.cls, b(this.cls, " ") ? void 0 : e) : (n = e === t.hidden) && (t.hidden = !e), Me("[autofocus]", t).some(function (t) {
return jt(t) ? t.focus() || !0 : t.blur();
}), n && (Kt(t, "toggled", [e, this]), this.$update(t)));
}
}
};
function pi(t) {
var o = t.isToggled,
s = t.duration,
a = t.initProps,
u = t.hideProps,
c = t.transition,
h = t._toggle;
return function (t, e) {
var n = Ze.inProgress(t),
i = t.hasChildNodes ? j(Ve(t.firstElementChild, "marginTop")) + j(Ve(t.lastElementChild, "marginBottom")) : 0,
r = jt(t) ? cn(t) + (n ? 0 : i) : 0;
Ze.cancel(t), o(t) || h(t, !0), cn(t, ""), gn.flush();
i = cn(t) + (n ? 0 : i);
return cn(t, r), (e ? Ze.start(t, X({}, a, {
overflow: "hidden",
height: i
}), Math.round(s * (1 - r / i)), c) : Ze.start(t, u, Math.round(s * (r / i)), c).then(function () {
return h(t, !1);
})).then(function () {
return Ve(t, a);
});
};
}
var mi = {
mixins: [di, fi],
props: {
targets: String,
active: null,
collapsible: Boolean,
multiple: Boolean,
toggle: String,
content: String,
transition: String,
offset: Number
},
data: {
targets: "> *",
active: !1,
animation: [!0],
collapsible: !0,
multiple: !1,
clsOpen: "uk-open",
toggle: "> .uk-accordion-title",
content: "> .uk-accordion-content",
transition: "ease",
offset: 0
},
computed: {
items: {
get: function (t, e) {
return Me(t.targets, e);
},
watch: function (t, e) {
var n = this;
t.forEach(function (t) {
return gi(Ae(n.content, t), !Oe(t, n.clsOpen));
}), e || Oe(t, this.clsOpen) || (t = !1 !== this.active && t[Number(this.active)] || !this.collapsible && t[0]) && this.toggle(t, !1);
},
immediate: !0
},
toggles: function (t) {
var e = t.toggle;
return this.items.map(function (t) {
return Ae(e, t);
});
}
},
events: [{
name: "click",
el: function () {
return this.toggles;
},
handler: function (t) {
t.preventDefault(), this.toggle(pe(this.toggles, t.target));
}
}],
methods: {
toggle: function (t, r) {
var o = this,
e = [this.items[me(t, this.items)]],
t = Vt(this.items, "." + this.clsOpen);
this.multiple || b(t, e[0]) || (e = e.concat(t)), !this.collapsible && t.length < 2 && !Vt(e, ":not(." + this.clsOpen + ")").length || e.forEach(function (t) {
return o.toggleElement(t, !Oe(t, o.clsOpen), function (e, n) {
He(e, o.clsOpen, n), rt(Ae(o.$props.toggle, e), "aria-expanded", n);
var i = Ae((e._wrapper ? "> * " : "") + o.content, e);
if (!1 !== r && o.hasTransition) return e._wrapper || (e._wrapper = $e(i, "
")), gi(i, !1), pi(o)(e._wrapper, n).then(function () {
var t;
gi(i, !n), delete e._wrapper, Ie(i), n && (Ln(t = Ae(o.$props.toggle, e)) || Fn(t, {
offset: o.offset
}));
});
gi(i, !n);
});
});
}
}
};
function gi(t, e) {
t && (t.hidden = e);
}
var vi = {
mixins: [di, fi],
args: "animation",
props: {
close: String
},
data: {
animation: [!0],
selClose: ".uk-alert-close",
duration: 150,
hideProps: X({
opacity: 0
}, fi.data.hideProps)
},
events: [{
name: "click",
delegate: function () {
return this.selClose;
},
handler: function (t) {
t.preventDefault(), this.close();
}
}],
methods: {
close: function () {
var t = this;
this.toggleElement(this.$el).then(function () {
return t.$destroy(!0);
});
}
}
},
wi = {
args: "autoplay",
props: {
automute: Boolean,
autoplay: Boolean
},
data: {
automute: !1,
autoplay: !0
},
computed: {
inView: function (t) {
return "inview" === t.autoplay;
}
},
connected: function () {
this.inView && !ot(this.$el, "preload") && (this.$el.preload = "none"), this.automute && An(this.$el);
},
update: {
read: function () {
return {
visible: jt(this.$el) && "hidden" !== Ve(this.$el, "visibility"),
inView: this.inView && Ln(this.$el)
};
},
write: function (t) {
var e = t.visible,
t = t.inView;
!e || this.inView && !t ? _n(this.$el) : (!0 === this.autoplay || this.inView && t) && Cn(this.$el);
},
events: ["resize", "scroll"]
}
},
bi = {
mixins: [di, wi],
props: {
width: Number,
height: Number
},
data: {
automute: !0
},
update: {
read: function () {
var t = this.$el,
e = function (t) {
for (; t = Bt(t);) if ("static" !== Ve(t, "position")) return t;
}(t) || Bt(t),
n = e.offsetHeight,
e = e.offsetWidth,
n = it.cover({
width: this.width || t.naturalWidth || t.videoWidth || t.clientWidth,
height: this.height || t.naturalHeight || t.videoHeight || t.clientHeight
}, {
width: e + (e % 2 ? 1 : 0),
height: n + (n % 2 ? 1 : 0)
});
return !(!n.width || !n.height) && n;
},
write: function (t) {
var e = t.height,
t = t.width;
Ve(this.$el, {
height: e,
width: t
});
},
events: ["resize"]
}
};
var xi,
yi = {
props: {
pos: String,
offset: null,
flip: Boolean,
clsPos: String
},
data: {
pos: "bottom-" + (ht ? "right" : "left"),
flip: !0,
offset: !1,
clsPos: ""
},
computed: {
pos: function (t) {
t = t.pos;
return (t + (b(t, "-") ? "" : "-center")).split("-");
},
dir: function () {
return this.pos[0];
},
align: function () {
return this.pos[1];
}
},
methods: {
positionAt: function (t, e, n) {
Be(t, this.clsPos + "-(top|bottom|left|right)(-[a-z]+)?");
var i,
r = this.offset,
o = this.getAxis();
B(r) || (r = (i = Ae(r)) ? sn(i)["x" === o ? "left" : "top"] - sn(e)["x" === o ? "right" : "bottom"] : 0);
r = Yn(t, e, "x" === o ? fn(this.dir) + " " + this.align : this.align + " " + fn(this.dir), "x" === o ? this.dir + " " + this.align : this.align + " " + this.dir, "x" === o ? "" + ("left" === this.dir ? -r : r) : " " + ("top" === this.dir ? -r : r), null, this.flip, n).target, n = r.x, r = r.y;
this.dir = "x" === o ? n : r, this.align = "x" === o ? r : n, He(t, this.clsPos + "-" + this.dir + "-" + this.align, !1 === this.offset);
},
getAxis: function () {
return "top" === this.dir || "bottom" === this.dir ? "y" : "x";
}
}
},
ki = {
mixins: [yi, fi],
args: "pos",
props: {
mode: "list",
toggle: Boolean,
boundary: Boolean,
boundaryAlign: Boolean,
delayShow: Number,
delayHide: Number,
clsDrop: String
},
data: {
mode: ["click", "hover"],
toggle: "- *",
boundary: ut && window,
boundaryAlign: !1,
delayShow: 0,
delayHide: 800,
clsDrop: !1,
animation: ["uk-animation-fade"],
cls: "uk-open"
},
computed: {
boundary: function (t, e) {
return xt(t.boundary, e);
},
clsDrop: function (t) {
return t.clsDrop || "uk-" + this.$options.name;
},
clsPos: function () {
return this.clsDrop;
}
},
created: function () {
this.tracker = new kn();
},
connected: function () {
De(this.$el, this.clsDrop);
var t = this.$props.toggle;
this.toggle = t && this.$create("toggle", xt(t, this.$el), {
target: this.$el,
mode: this.mode
});
},
disconnected: function () {
this.isActive() && (xi = null);
},
events: [{
name: "click",
delegate: function () {
return "." + this.clsDrop + "-close";
},
handler: function (t) {
t.preventDefault(), this.hide(!1);
}
}, {
name: "click",
delegate: function () {
return 'a[href^="#"]';
},
handler: function (t) {
var e = t.defaultPrevented,
t = t.current.hash;
e || !t || Rt(t, this.$el) || this.hide(!1);
}
}, {
name: "beforescroll",
handler: function () {
this.hide(!1);
}
}, {
name: "toggle",
self: !0,
handler: function (t, e) {
t.preventDefault(), this.isToggled() ? this.hide(!1) : this.show(e, !1);
}
}, {
name: "toggleshow",
self: !0,
handler: function (t, e) {
t.preventDefault(), this.show(e);
}
}, {
name: "togglehide",
self: !0,
handler: function (t) {
t.preventDefault(), this.hide();
}
}, {
name: vt,
filter: function () {
return b(this.mode, "hover");
},
handler: function (t) {
ie(t) || this.clearTimers();
}
}, {
name: wt,
filter: function () {
return b(this.mode, "hover");
},
handler: function (t) {
!ie(t) && t.relatedTarget && this.hide();
}
}, {
name: "toggled",
self: !0,
handler: function (t, e) {
e && (this.clearTimers(), this.position());
}
}, {
name: "show",
self: !0,
handler: function () {
var r = this;
(xi = this).tracker.init(), Gt(this.$el, "hide", Yt(document, pt, function (t) {
var i = t.target;
return !Rt(i, r.$el) && Gt(document, gt + " " + bt + " scroll", function (t) {
var e = t.defaultPrevented,
n = t.type,
t = t.target;
e || n !== gt || i !== t || r.toggle && Rt(i, r.toggle.$el) || r.hide(!1);
}, !0);
}), {
self: !0
}), Gt(this.$el, "hide", Yt(document, "keydown", function (t) {
27 === t.keyCode && r.hide(!1);
}), {
self: !0
});
}
}, {
name: "beforehide",
self: !0,
handler: function () {
this.clearTimers();
}
}, {
name: "hide",
handler: function (t) {
t = t.target;
this.$el === t ? (xi = this.isActive() ? null : xi, this.tracker.cancel()) : xi = null === xi && Rt(t, this.$el) && this.isToggled() ? this : xi;
}
}],
update: {
write: function () {
this.isToggled() && !Oe(this.$el, this.clsEnter) && this.position();
},
events: ["resize"]
},
methods: {
show: function (t, e) {
var n,
i = this;
if (void 0 === t && (t = this.toggle), void 0 === e && (e = !0), this.isToggled() && t && this.toggle && t.$el !== this.toggle.$el && this.hide(!1), this.toggle = t, this.clearTimers(), !this.isActive()) {
if (xi) {
if (e && xi.isDelaying) return void (this.showTimer = setTimeout(this.show, 10));
for (; xi && n !== xi && !Rt(this.$el, xi.$el);) (n = xi).hide(!1);
}
this.showTimer = setTimeout(function () {
return !i.isToggled() && i.toggleElement(i.$el, !0);
}, e && this.delayShow || 0);
}
},
hide: function (t) {
var e = this;
void 0 === t && (t = !0);
function n() {
return e.toggleElement(e.$el, !1, !1);
}
var i, r;
this.clearTimers(), this.isDelaying = (i = this.$el, r = [], _e(i, function (t) {
return "static" !== Ve(t, "position") && r.push(t);
}), r.some(function (t) {
return e.tracker.movesTo(t);
})), t && this.isDelaying ? this.hideTimer = setTimeout(this.hide, 50) : t && this.delayHide ? this.hideTimer = setTimeout(n, this.delayHide) : n();
},
clearTimers: function () {
clearTimeout(this.showTimer), clearTimeout(this.hideTimer), this.showTimer = null, this.hideTimer = null, this.isDelaying = !1;
},
isActive: function () {
return xi === this;
},
position: function () {
Ne(this.$el, this.clsDrop + "-stack"), He(this.$el, this.clsDrop + "-boundary", this.boundaryAlign);
var t,
e = sn(this.boundary),
n = this.boundaryAlign ? e : sn(this.toggle.$el);
"justify" === this.align ? (t = "y" === this.getAxis() ? "width" : "height", Ve(this.$el, t, n[t])) : this.$el.offsetWidth > Math.max(e.right - n.left, n.right - e.left) && De(this.$el, this.clsDrop + "-stack"), this.positionAt(this.$el, this.boundaryAlign ? this.boundary : this.toggle.$el, this.boundary);
}
}
};
var $i = {
mixins: [di],
args: "target",
props: {
target: Boolean
},
data: {
target: !1
},
computed: {
input: function (t, e) {
return Ae(Ft, e);
},
state: function () {
return this.input.nextElementSibling;
},
target: function (t, e) {
t = t.target;
return t && (!0 === t && Bt(this.input) === e && this.input.nextElementSibling || xt(t, e));
}
},
update: function () {
var t,
e,
n = this.target,
i = this.input;
!n || n[e = Wt(n) ? "value" : "textContent"] !== (i = i.files && i.files[0] ? i.files[0].name : zt(i, "select") && (t = Me("option", i).filter(function (t) {
return t.selected;
})[0]) ? t.textContent : i.value) && (n[e] = i);
},
events: [{
name: "change",
handler: function () {
this.$update();
}
}, {
name: "reset",
el: function () {
return Nt(this.$el, "form");
},
handler: function () {
this.$update();
}
}]
},
Si = {
update: {
read: function (t) {
var e = Ln(this.$el);
if (!e || t.isInView === e) return !1;
t.isInView = e;
},
write: function () {
this.$el.src = "" + this.$el.src;
},
events: ["scroll", "resize"]
}
},
Ii = {
props: {
margin: String,
firstColumn: Boolean
},
data: {
margin: "uk-margin-small-top",
firstColumn: "uk-first-column"
},
update: {
read: function () {
var n,
t = Ei(this.$el.children);
return {
rows: t,
columns: (n = [[]], t.forEach(function (t) {
return Ti(t, "left", "right").forEach(function (t, e) {
return n[e] = n[e] ? n[e].concat(t) : t;
});
}), ht ? n.reverse() : n)
};
},
write: function (t) {
var n = this,
i = t.columns;
t.rows.forEach(function (t, e) {
return t.forEach(function (t) {
He(t, n.margin, 0 !== e), He(t, n.firstColumn, b(i[0], t));
});
});
},
events: ["resize"]
}
};
function Ei(t) {
return Ti(t, "top", "bottom");
}
function Ti(t, e, n) {
for (var i = [[]], r = 0; r < t.length; r++) {
var o = t[r];
if (jt(o)) for (var s = Ci(o), a = i.length - 1; 0 <= a; a--) {
var u = i[a];
if (!u[0]) {
u.push(o);
break;
}
var c = void 0,
c = u[0].offsetParent === o.offsetParent ? Ci(u[0]) : (s = Ci(o, !0), Ci(u[0], !0));
if (s[e] >= c[n] - 1 && s[e] !== c[e]) {
i.push([o]);
break;
}
if (s[n] - 1 > c[e] || s[e] === c[e]) {
u.push(o);
break;
}
if (0 === a) {
i.unshift([o]);
break;
}
}
}
return i;
}
function Ci(t, e) {
void 0 === e && (e = !1);
var n = t.offsetTop,
i = t.offsetLeft,
r = t.offsetHeight,
o = t.offsetWidth;
return e && (n = (t = un(t))[0], i = t[1]), {
top: n,
left: i,
bottom: n + r,
right: i + o
};
}
var _i = {
extends: Ii,
mixins: [di],
name: "grid",
props: {
masonry: Boolean,
parallax: Number
},
data: {
margin: "uk-grid-margin",
clsStack: "uk-grid-stack",
masonry: !1,
parallax: 0
},
connected: function () {
this.masonry && De(this.$el, "uk-flex-top uk-flex-wrap-top");
},
update: [{
write: function (t) {
t = t.columns;
He(this.$el, this.clsStack, t.length < 2);
},
events: ["resize"]
}, {
read: function (t) {
var e = t.columns,
n = t.rows,
i = Ut(this.$el);
if (!i.length || !this.masonry && !this.parallax || Ai(this.$el)) return !1;
var r,
o,
s = !1,
a = e.map(function (t) {
return t.reduce(function (t, e) {
return t + e.offsetHeight;
}, 0);
}),
u = (t = i, r = this.margin, j((i = t.filter(function (t) {
return Oe(t, r);
})[0]) ? Ve(i, "marginTop") : Ve(t[0], "paddingLeft")) * (n.length - 1)),
c = Math.max.apply(Math, a) + u;
this.masonry && (e = e.map(function (t) {
return J(t, "offsetTop");
}), t = e, o = n.map(function (t) {
return Math.max.apply(Math, t.map(function (t) {
return t.offsetHeight;
}));
}), s = t.map(function (n) {
var i = 0;
return n.map(function (t, e) {
return i += e ? o[e - 1] - n[e - 1].offsetHeight : 0;
});
}));
var h = Math.abs(this.parallax);
return {
padding: h = h && a.reduce(function (t, e, n) {
return Math.max(t, e + u + (n % 2 ? h : h / 8) - c);
}, 0),
columns: e,
translates: s,
height: s ? c : ""
};
},
write: function (t) {
var e = t.height,
t = t.padding;
Ve(this.$el, "paddingBottom", t || ""), !1 !== e && Ve(this.$el, "height", e);
},
events: ["resize"]
}, {
read: function (t) {
t = t.height;
return {
scrolled: !(!this.parallax || Ai(this.$el)) && Wn(this.$el, t ? t - cn(this.$el) : 0) * Math.abs(this.parallax)
};
},
write: function (t) {
var e = t.columns,
i = t.scrolled,
r = t.translates;
!1 === i && !r || e.forEach(function (t, n) {
return t.forEach(function (t, e) {
return Ve(t, "transform", i || r ? "translateY(" + ((r && -r[n][e]) + (i ? n % 2 ? i : i / 8 : 0)) + "px)" : "");
});
});
},
events: ["scroll", "resize"]
}]
};
function Ai(t) {
return Ut(t).some(function (t) {
return "absolute" === Ve(t, "position");
});
}
var Mi = ct ? {
props: {
selMinHeight: String
},
data: {
selMinHeight: !1,
forceHeight: !1
},
computed: {
elements: function (t, e) {
t = t.selMinHeight;
return t ? Me(t, e) : [e];
}
},
update: [{
read: function () {
Ve(this.elements, "height", "");
},
order: -5,
events: ["resize"]
}, {
write: function () {
var n = this;
this.elements.forEach(function (t) {
var e = j(Ve(t, "minHeight"));
e && (n.forceHeight || Math.round(e + dn(t, "height", "content-box")) >= t.offsetHeight) && Ve(t, "height", e);
});
},
order: 5,
events: ["resize"]
}]
} : {},
zi = {
mixins: [Mi],
args: "target",
props: {
target: String,
row: Boolean
},
data: {
target: "> *",
row: !0,
forceHeight: !0
},
computed: {
elements: function (t, e) {
return Me(t.target, e);
}
},
update: {
read: function () {
return {
rows: (this.row ? Ei(this.elements) : [this.elements]).map(Di)
};
},
write: function (t) {
t.rows.forEach(function (t) {
var n = t.heights;
return t.elements.forEach(function (t, e) {
return Ve(t, "minHeight", n[e]);
});
});
},
events: ["resize"]
}
};
function Di(t) {
if (t.length < 2) return {
heights: [""],
elements: t
};
var n = t.map(Bi),
i = Math.max.apply(Math, n),
e = t.some(function (t) {
return t.style.minHeight;
}),
r = t.some(function (t, e) {
return !t.style.minHeight && n[e] < i;
});
return e && r && (Ve(t, "minHeight", ""), n = t.map(Bi), i = Math.max.apply(Math, n)), {
heights: n = t.map(function (t, e) {
return n[e] === i && j(t.style.minHeight).toFixed(2) !== i.toFixed(2) ? "" : i;
}),
elements: t
};
}
var Ni = "uk-display-block";
function Bi(t) {
jt(t) || De(t, Ni);
var e = on(t).height - dn(t, "height", "content-box");
return Ne(t, Ni), e;
}
var Pi = {
mixins: [Mi],
props: {
expand: Boolean,
offsetTop: Boolean,
offsetBottom: Boolean,
minHeight: Number
},
data: {
expand: !1,
offsetTop: !1,
offsetBottom: !1,
minHeight: 0
},
update: {
read: function (t) {
var e = t.minHeight;
if (!jt(this.$el)) return !1;
var n = "",
i = dn(this.$el, "height", "content-box");
if (this.expand) {
if (this.$el.dataset.heightExpand = "", Ae("[data-height-expand]") !== this.$el) return !1;
n = cn(window) - (on(document.documentElement).height - on(this.$el).height) - i || "";
} else {
n = "calc(100vh";
this.offsetTop && (n += 0 < (t = sn(this.$el).top) && t < cn(window) / 2 ? " - " + t + "px" : ""), !0 === this.offsetBottom ? n += " - " + on(this.$el.nextElementSibling).height + "px" : B(this.offsetBottom) ? n += " - " + this.offsetBottom + "vh" : this.offsetBottom && c(this.offsetBottom, "px") ? n += " - " + j(this.offsetBottom) + "px" : D(this.offsetBottom) && (n += " - " + on(xt(this.offsetBottom, this.$el)).height + "px"), n += (i ? " - " + i + "px" : "") + ")";
}
return {
minHeight: n,
prev: e
};
},
write: function (t) {
var e = t.minHeight,
t = t.prev;
Ve(this.$el, {
minHeight: e
}), e !== t && this.$update(this.$el, "resize"), this.minHeight && j(Ve(this.$el, "minHeight")) < this.minHeight && Ve(this.$el, "minHeight", this.minHeight);
},
events: ["resize"]
}
},
Oi = {
args: "src",
props: {
id: Boolean,
icon: String,
src: String,
style: String,
width: Number,
height: Number,
ratio: Number,
class: String,
strokeAnimation: Boolean,
focusable: Boolean,
attributes: "list"
},
data: {
ratio: 1,
include: ["style", "class", "focusable"],
class: "",
strokeAnimation: !1
},
beforeConnect: function () {
this.class += " uk-svg";
},
connected: function () {
var t,
e = this;
!this.icon && b(this.src, "#") && (t = this.src.split("#"), this.src = t[0], this.icon = t[1]), this.svg = this.getSvg().then(function (t) {
return e.applyAttributes(t), e.svgEl = function (t, e) {
if (Lt(e) || "CANVAS" === e.tagName) {
e.hidden = !0;
var n = e.nextElementSibling;
return Wi(t, n) ? n : xe(e, t);
}
n = e.lastElementChild;
return Wi(t, n) ? n : we(e, t);
}(t, e.$el);
}, tt);
},
disconnected: function () {
var e = this;
Lt(this.$el) && (this.$el.hidden = !1), this.svg && this.svg.then(function (t) {
return (!e._connected || t !== e.svgEl) && ke(t);
}, tt), this.svg = this.svgEl = null;
},
update: {
read: function () {
return !!(this.strokeAnimation && this.svgEl && jt(this.svgEl));
},
write: function () {
var t, e;
t = this.svgEl, (e = Fi(t)) && t.style.setProperty("--uk-animation-stroke", e);
},
type: ["resize"]
},
methods: {
getSvg: function () {
var e = this;
return function (n) {
if (Hi[n]) return Hi[n];
return Hi[n] = new se(function (e, t) {
n ? g(n, "data:") ? e(decodeURIComponent(n.split(",")[1])) : le(n).then(function (t) {
return e(t.response);
}, function () {
return t("SVG not found.");
}) : t();
});
}(this.src).then(function (t) {
return function (t, e) {
e && b(t, "
";
}
return ji[t][e];
}(t, e) || t);
return (t = Ae(t.substr(t.indexOf("