File Manager

Current Directory: /home/astoriaah/www/templates/yootheme/vendor/assets/uikit/dist/js
Viewing File: /home/astoriaah/www/templates/yootheme/vendor/assets/uikit/dist/js/uikit-core.min.js
/*! UIkit 3.0.0-rc.8 | http://www.getuikit.com | (c) 2014 - 2017 YOOtheme | MIT License */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):t.UIkit=e()}(this,function(){"use strict";function p(n,i){return function(t){var e=arguments.length;return e?1<e?n.apply(i,arguments):n.call(i,t):n.call(i)}}var n=Object.prototype.hasOwnProperty;function c(t,e){return n.call(t,e)}var e={},i=/([a-z\d])([A-Z])/g;function g(t){return t in e||(e[t]=t.replace(i,"$1-$2").toLowerCase()),e[t]}var o=/-(\w)/g;function m(t){return t.replace(o,r)}function r(t,e){return e?e.toUpperCase():""}function s(t){return t.length?r(0,t.charAt(0))+t.slice(1):""}var t=String.prototype,a=t.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function v(t,e){return a.call(t,e)}var l=t.endsWith||function(t){return this.substr(-t.length)===t};function u(t,e){return l.call(t,e)}var h=function(t){return~this.indexOf(t)},f=t.includes||h,d=Array.prototype.includes||h;function y(t,e){return t&&(A(t)?f:d).call(t,e)}var w=Array.isArray;function b(t){return"function"==typeof t}function x(t){return null!==t&&"object"==typeof t}function k(t){return x(t)&&Object.getPrototypeOf(t)===Object.prototype}function $(t){return x(t)&&t===t.window}function T(t){return x(t)&&9===t.nodeType}function E(t){return x(t)&&!!t.jquery}function _(t){return t instanceof Node||x(t)&&1===t.nodeType}function S(t){return t instanceof NodeList||t instanceof HTMLCollection}function C(t){return"boolean"==typeof t}function A(t){return"string"==typeof t}function N(t){return"number"==typeof t}function O(t){return N(t)||A(t)&&!isNaN(t-parseFloat(t))}function B(t){return void 0===t}function D(t){return C(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function M(t){var e=Number(t);return!isNaN(e)&&e}function P(t){return parseFloat(t)||0}function H(t){return _(t)||$(t)||T(t)?t:S(t)||E(t)?t[0]:w(t)?H(t[0]):null}var I=Array.prototype;function z(t){return _(t)?[t]:S(t)?I.slice.call(t):w(t)?t.map(H).filter(Boolean):E(t)?t.toArray():[]}function L(t){return w(t)?t:A(t)?t.split(/,(?![^(]*\))/).map(function(t){return O(t)?M(t):D(t.trim())}):[t]}function j(t){return t?u(t,"ms")?P(t):1e3*P(t):0}function F(t,e,n){return t.replace(new RegExp(e+"|"+n,"mg"),function(t){return t===e?n:e})}var V=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 o=e[i];if(null!==o)for(var r in o)c(o,r)&&(t[r]=o[r])}return t};function W(t,e){for(var n in t)e.call(t[n],t[n],n)}function R(t,n){return t.sort(function(t,e){return t[n]>e[n]?1:e[n]>t[n]?-1:0})}function Y(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(Math.max(t,e),n)}function q(){}function U(t,e){return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}function X(t,e){return U({top:t.y,bottom:t.y,left:t.x,right:t.x},e)}var J={ratio:function(t,e,n){var i,o="width"===e?"height":"width";return(i={})[o]=t[e]?Math.round(n*t[o]/t[e]):t[o],i[e]=n,i},contain:function(n,i){var o=this;return W(n=V({},n),function(t,e){return n=n[e]>i[e]?o.ratio(n,e,i[e]):n}),n},cover:function(n,i){var o=this;return W(n=this.contain(n,i),function(t,e){return n=n[e]<i[e]?o.ratio(n,e,i[e]):n}),n}};function G(t,e,n){if(x(e))for(var i in e)G(t,i,e[i]);else{if(B(n))return(t=H(t))&&t.getAttribute(e);z(t).forEach(function(t){b(n)&&(n=n.call(t,G(t,e))),null===n?Z(t,e):t.setAttribute(e,n)})}}function K(t,e){return z(t).some(function(t){return t.hasAttribute(e)})}function Z(t,e){t=z(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeAttribute(e)})})}function Q(t,e,n,i){G(t,e,function(t){return t?t.replace(n,i):t})}function tt(t,e){for(var n=0,i=[e,"data-"+e];n<i.length;n++)if(K(t,i[n]))return G(t,i[n])}function et(t,e){return H(t)||it(t,lt(t)?e:document)}function nt(t,e){var n=z(t);return n.length&&n||ot(t,lt(t)?e:document)}function it(t,e){return H(rt(t,e,"querySelector"))}function ot(t,e){return z(rt(t,e,"querySelectorAll"))}function rt(t,s,e){if(void 0===s&&(s=document),!t||!A(t))return null;var a;lt(t=t.replace(at,"$1 *"))&&(a=[],t=t.split(",").map(function(t,e){var n=s;if("!"===(t=t.trim())[0]){var i=t.substr(1).trim().split(" ");n=dt(s.parentNode,i[0]),t=i.slice(1).join(" ").trim()}if("-"===t[0]){var o=t.substr(1).trim().split(" "),r=(n||s).previousElementSibling;n=ht(r,t.substr(1))?r:null,t=o.slice(1).join(" ")}return n?(n.id||(n.id="uk-"+Date.now()+e,a.push(function(){return Z(n,"id")})),"#"+mt(n.id)+" "+t):null}).filter(Boolean).join(","),s=document);try{return s[e](t)}catch(t){return null}finally{a&&a.forEach(function(t){return t()})}}var st=/(^|,)\s*[!>+~-]/,at=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function lt(t){return A(t)&&t.match(st)}var ct=Element.prototype,ut=ct.matches||ct.webkitMatchesSelector||ct.msMatchesSelector;function ht(t,e){return z(t).some(function(t){return ut.call(t,e)})}var ft=ct.closest||function(t){var e=this;do{if(ht(e,t))return e;e=e.parentNode}while(e&&1===e.nodeType)};function dt(t,e){return v(e,">")&&(e=e.slice(1)),_(t)?t.parentNode&&ft.call(t,e):z(t).map(function(t){return t.parentNode&&ft.call(t,e)}).filter(Boolean)}function pt(t,e){for(var n=[],i=H(t).parentNode;i&&1===i.nodeType;)ht(i,e)&&n.push(i),i=i.parentNode;return n}var gt=window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function mt(t){return A(t)?gt.call(null,t):""}var vt={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 wt(t){return z(t).some(function(t){return vt[t.tagName.toLowerCase()]})}function yt(t){return z(t).some(function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length})}var bt="input,select,textarea,button";function xt(t){return z(t).some(function(t){return ht(t,bt)})}function kt(t,e){return z(t).filter(function(t){return ht(t,e)})}function $t(t,e){return A(e)?ht(t,e)||dt(t,e):t===e||(T(e)?e.documentElement:H(e)).contains(H(t))}function Tt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,i=At(t),o=i[0],r=i[1],s=i[2],a=i[3],l=i[4];return o=Bt(o),s&&(a=function(t,i,o){var r=this;return function(n){t.forEach(function(t){var e=">"===i[0]?ot(i,t).reverse().filter(function(t){return $t(n.target,t)})[0]:dt(n.target,i);e&&(n.delegate=t,n.current=e,o.call(r,n))})}}(o,s,a)),1<a.length&&(n=a,a=function(t){return w(t.detail)?n.apply(void 0,[t].concat(t.detail)):n(t)}),r.split(" ").forEach(function(e){return o.forEach(function(t){return t.addEventListener(e,a,l)})}),function(){return Et(o,r,a,l)}}function Et(t,e,n,i){void 0===i&&(i=!1),t=Bt(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeEventListener(e,n,i)})})}function _t(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=At(t),i=n[0],o=n[1],r=n[2],s=n[3],a=n[4],l=n[5],c=Tt(i,o,r,function(t){var e=!l||l(t);e&&(c(),s(t,e))},a);return c}function St(t,n,i){return Bt(t).reduce(function(t,e){return t&&e.dispatchEvent(Ct(n,!0,!0,i))},!0)}function Ct(t,e,n,i){if(void 0===e&&(e=!0),void 0===n&&(n=!1),A(t)){var o=document.createEvent("CustomEvent");o.initCustomEvent(t,e,n,i),t=o}return t}function At(t){return b(t[2])&&t.splice(2,0,!1),t}function Nt(t){return"EventTarget"in window?t instanceof EventTarget:t&&"addEventListener"in t}function Ot(t){return Nt(t)?t:H(t)}function Bt(t){return Nt(t)?[t]:w(t)?t.map(Ot).filter(Boolean):A(t)?ot(t):z(t)}var Dt="Promise"in window?window.Promise:Ht,Mt=2,Pt="setImmediate"in window?setImmediate:setTimeout;function Ht(t){this.state=Mt,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)}}Ht.reject=function(n){return new Ht(function(t,e){e(n)})},Ht.resolve=function(n){return new Ht(function(t,e){t(n)})},Ht.all=function(s){return new Ht(function(n,t){var i=[],o=0;function e(e){return function(t){i[e]=t,(o+=1)===s.length&&n(i)}}0===s.length&&n(i);for(var r=0;r<s.length;r+=1)Ht.resolve(s[r]).then(e(r),t)})},Ht.race=function(i){return new Ht(function(t,e){for(var n=0;n<i.length;n+=1)Ht.resolve(i[n]).then(t,e)})};var It=Ht.prototype;function zt(s,a){return new Dt(function(t,e){var n=V({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:q,responseType:""},a);n.beforeSend(n);var i=n.xhr;for(var o in n)if(o in i)try{i[o]=n[o]}catch(t){}for(var r in i.open(n.method.toUpperCase(),s),n.headers)i.setRequestHeader(r,n.headers[r]);Tt(i,"load",function(){0===i.status||200<=i.status&&i.status<300||304===i.status?t(i):e(V(Error(i.statusText),{xhr:i,status:i.status}))}),Tt(i,"error",function(){return e(V(Error("Network Error"),{xhr:i}))}),Tt(i,"timeout",function(){return e(V(Error("Network Timeout"),{xhr:i}))}),i.send(n.data)})}function Lt(i,o,r){return new Dt(function(t,e){var n=new Image;n.onerror=e,n.onload=function(){return t(n)},n.src=i,o&&(n.srcset=o),r&&(n.sizes=r)})}function jt(){return"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll}function Ft(t){if(jt())t();else var e=function(){n(),i(),t()},n=Tt(document,"DOMContentLoaded",e),i=Tt(window,"load",e)}function Vt(t,e){return e?z(t).indexOf(H(e)):z((t=H(t))&&t.parentNode.children).indexOf(t)}function Wt(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=(e=z(e)).length;return t=O(t)?M(t):"next"===t?n+1:"previous"===t?n-1:Vt(e,t),i?Y(t,0,o-1):(t%=o)<0?t+o:t}function Rt(t){return(t=H(t)).innerHTML="",t}function Yt(t,e){return t=H(t),B(e)?t.innerHTML:qt(t.hasChildNodes()?Rt(t):t,e)}function qt(e,t){return e=H(e),Jt(t,function(t){return e.appendChild(t)})}function Ut(e,t){return e=H(e),Jt(t,function(t){return e.parentNode.insertBefore(t,e)})}function Xt(e,t){return e=H(e),Jt(t,function(t){return e.nextSibling?Ut(e.nextSibling,t):qt(e.parentNode,t)})}function Jt(t,e){return(t=A(t)?ne(t):t)?"length"in t?z(t).map(e):e(t):null}function Gt(t){z(t).map(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function Kt(t,e){for(e=H(Ut(t,e));e.firstChild;)e=e.firstChild;return qt(e,t),e}function Zt(t,e){return z(z(t).map(function(t){return t.hasChildNodes?Kt(z(t.childNodes),e):qt(t,e)}))}function Qt(t){z(t).map(function(t){return t.parentNode}).filter(function(t,e,n){return n.indexOf(t)===e}).forEach(function(t){Ut(t,t.childNodes),Gt(t)})}It.resolve=function(t){var e=this;if(e.state===Mt){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&x(t)&&b(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()}},It.reject=function(t){var e=this;if(e.state===Mt){if(t===e)throw new TypeError("Promise settled with itself.");e.state=1,e.value=t,e.notify()}},It.notify=function(){var r=this;Pt(function(){if(r.state!==Mt)for(;r.deferred.length;){var t=r.deferred.shift(),e=t[0],n=t[1],i=t[2],o=t[3];try{0===r.state?b(e)?i(e.call(void 0,r.value)):i(r.value):1===r.state&&(b(n)?i(n.call(void 0,r.value)):o(r.value))}catch(t){o(t)}}})},It.then=function(n,i){var o=this;return new Ht(function(t,e){o.deferred.push([n,i,t,e]),o.notify()})},It.catch=function(t){return this.then(void 0,t)};var te=/^\s*<(\w+|!)[^>]*>/,ee=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function ne(t){var e=ee.exec(t);if(e)return document.createElement(e[1]);var n=document.createElement("div");return te.test(t)?n.insertAdjacentHTML("beforeend",t.trim()):n.textContent=t,1<n.childNodes.length?z(n.childNodes):n.firstChild}function ie(t,e){if(t&&1===t.nodeType)for(e(t),t=t.firstElementChild;t;)ie(t,e),t=t.nextElementSibling}function oe(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];ue(t,e,"add")}function re(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];ue(t,e,"remove")}function se(t,e){Q(t,"class",new RegExp("(^|\\s)"+e+"(?!\\S)","g"),"")}function ae(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];e[0]&&re(t,e[0]),e[1]&&oe(t,e[1])}function le(t,e){return z(t).some(function(t){return t.classList.contains(e)})}function ce(t){for(var i=[],e=arguments.length-1;0<e--;)i[e]=arguments[e+1];if(i.length){var o=A((i=he(i))[i.length-1])?[]:i.pop();i=i.filter(Boolean),z(t).forEach(function(t){for(var e=t.classList,n=0;n<i.length;n++)de.Force?e.toggle.apply(e,[i[n]].concat(o)):e[(B(o)?!e.contains(i[n]):o)?"add":"remove"](i[n])})}}function ue(t,n,i){(n=he(n).filter(Boolean)).length&&z(t).forEach(function(t){var e=t.classList;de.Multiple?e[i].apply(e,n):n.forEach(function(t){return e[i](t)})})}function he(t){return t.reduce(function(t,e){return t.concat.call(t,A(e)&&y(e," ")?e.trim().split(" "):e)},[])}var fe,de={};(fe=document.createElement("_").classList)&&(fe.add("a","b"),fe.toggle("c",!1),de.Multiple=fe.contains("b"),de.Force=!fe.contains("c"));var pe={"animation-iteration-count":!(fe=null),"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,widows:!0,"z-index":!0,zoom:!0};function ge(t,e,o){return z(t).map(function(n){if(A(e)){if(e=xe(e),B(o))return ve(n,e);o||0===o?n.style[e]=O(o)&&!pe[e]?o+"px":o:n.style.removeProperty(e)}else{if(w(e)){var i=me(n);return e.reduce(function(t,e){return t[e]=i[xe(e)],t},{})}x(e)&&W(e,function(t,e){return ge(n,e,t)})}return n})[0]}function me(t,e){return(t=H(t)).ownerDocument.defaultView.getComputedStyle(t,e)}function ve(t,e,n){return me(t,n)[e]}var we={};function ye(t){if(!(t in we)){var e=qt(document.documentElement,document.createElement("div"));oe(e,"var-"+t);try{we[t]=ve(e,"content",":before").replace(/^["'](.*)["']$/,"$1"),we[t]=JSON.parse(we[t])}catch(t){}document.documentElement.removeChild(e)}return we[t]}var be={};function xe(t){var e=be[t];return e||(e=be[t]=function(t){if((t=g(t))in $e)return t;var e,n=ke.length;for(;n--;)if((e="-"+ke[n]+"-"+t)in $e)return e}(t)||t),e}var ke=["webkit","moz","ms"],$e=document.createElement("_").style;function Te(t,s,a,l){return void 0===a&&(a=400),void 0===l&&(l="linear"),Dt.all(z(t).map(function(r){return new Dt(function(n,i){for(var t in s){var e=ge(r,t);""===e&&ge(r,t,e)}var o=setTimeout(function(){return St(r,"transitionend")},a);_t(r,"transitionend transitioncanceled",function(t){var e=t.type;clearTimeout(o),re(r,"uk-transition"),ge(r,{"transition-property":"","transition-duration":"","transition-timing-function":""}),"transitioncanceled"===e?i():n()},!1,function(t){var e=t.target;return r===e}),oe(r,"uk-transition"),ge(r,V({"transition-property":Object.keys(s).map(xe).join(","),"transition-duration":a+"ms","transition-timing-function":l},s))})}))}var Ee={start:Te,stop:function(t){return St(t,"transitionend"),Dt.resolve()},cancel:function(t){St(t,"transitioncanceled")},inProgress:function(t){return le(t,"uk-transition")}},_e="uk-animation-",Se="uk-cancel-animation";function Ce(t,e,n,a,l){var c=arguments;return void 0===n&&(n=200),Dt.all(z(t).map(function(s){return new Dt(function(i,o){if(le(s,Se))requestAnimationFrame(function(){return Dt.resolve().then(function(){return Ce.apply(void 0,c).then(i,o)})});else{var t=e+" "+_e+(l?"leave":"enter");v(e,_e)&&(a&&(t+=" uk-transform-origin-"+a),l&&(t+=" "+_e+"reverse")),r(),_t(s,"animationend animationcancel",function(t){var e=t.type,n=!1;"animationcancel"===e?(o(),r()):(i(),Dt.resolve().then(function(){n=!0,r()})),requestAnimationFrame(function(){n||(oe(s,Se),requestAnimationFrame(function(){return re(s,Se)}))})},!1,function(t){var e=t.target;return s===e}),ge(s,"animationDuration",n+"ms"),oe(s,t)}function r(){ge(s,"animationDuration",""),se(s,_e+"\\S*")}})}))}var Ae=new RegExp(_e+"(enter|leave)"),Ne={in:function(t,e,n,i){return Ce(t,e,n,i,!1)},out:function(t,e,n,i){return Ce(t,e,n,i,!0)},inProgress:function(t){return Ae.test(G(t,"class"))},cancel:function(t){St(t,"animationcancel")}};function Oe(t,e){return A(t)?De(t)?H(ne(t)):it(t,e):H(t)}function Be(t,e){return A(t)?De(t)?z(ne(t)):ot(t,e):z(t)}function De(t){return"<"===t[0]||t.match(/^\s*</)}var Me={width:["x","left","right"],height:["y","top","bottom"]};function Pe(t,e,u,h,f,n,d,p){u=Re(u),h=Re(h);var g={element:u,target:h};if(!t||!e)return g;var m=Ie(t),v=Ie(e),w=v;return We(w,u,m,-1),We(w,h,v,1),f=Ye(f,m.width,m.height),n=Ye(n,v.width,v.height),f.x+=n.x,f.y+=n.y,w.left+=f.x,w.top+=f.y,p=Ie(p||Ge(t)),d&&W(Me,function(t,i){var o=t[0],r=t[1],s=t[2];if(!0===d||y(d,o)){var e=u[o]===r?-m[i]:u[o]===s?m[i]:0,n=h[o]===r?v[i]:h[o]===s?-v[i]:0;if(w[r]<p[r]||w[r]+m[i]>p[s]){var a=m[i]/2,l="center"===h[o]?-v[i]/2:0;"center"===u[o]&&(c(a,l)||c(-a,-l))||c(e,n)}}function c(e,t){var n=w[r]+e+t-2*f[o];if(n>=p[r]&&n+m[i]<=p[s])return w[r]=n,["element","target"].forEach(function(t){g[t][o]=e?g[t][o]===Me[i][1]?Me[i][2]:Me[i][1]:g[t][o]}),!0}}),He(t,w),g}function He(n,i){if(n=H(n),!i)return Ie(n);var o=He(n),r=ge(n,"position");["left","top"].forEach(function(t){if(t in i){var e=ge(n,t);ge(n,t,i[t]-o[t]+P("absolute"===r&&"auto"===e?ze(n)[t]:e))}})}function Ie(t){var e,n,i=Ge(t=H(t)),o=i.pageYOffset,r=i.pageXOffset;if($(t)){var s=t.innerHeight,a=t.innerWidth;return{top:o,left:r,height:s,width:a,bottom:o+s,right:r+a}}yt(t)||(e=G(t,"style"),n=G(t,"hidden"),G(t,{style:(e||"")+";display:block !important;",hidden:null}));var l=t.getBoundingClientRect();return B(e)||G(t,{style:e,hidden:n}),{height:l.height,width:l.width,top:l.top+o,left:l.left+r,bottom:l.bottom+o,right:l.right+r}}function ze(i){var o=function(t){var e=H(t).offsetParent;for(;e&&"static"===ge(e,"position");)e=e.offsetParent;return e||Ze(t)}(i=H(i)),r=o===Ze(i)?{top:0,left:0}:He(o),t=["top","left"].reduce(function(t,e){var n=s(e);return t[e]-=r[e]+(P(ge(i,"margin"+n))||0)+(P(ge(o,"border"+n+"Width"))||0),t},He(i));return{top:t.top,left:t.left}}var Le=Fe("height"),je=Fe("width");function Fe(i){var o=s(i);return function(t,e){if(t=H(t),B(e)){if($(t))return t["inner"+o];if(T(t)){var n=t.documentElement;return Math.max(n["offset"+o],n["scroll"+o])}return(e="auto"===(e=ge(t,i))?t["offset"+o]:P(e)||0)-Ve(i,t)}ge(t,i,e||0===e?+e+Ve(i,t)+"px":"")}}function Ve(t,n){return"border-box"===ge(n,"boxSizing")?Me[t].slice(1).map(s).reduce(function(t,e){return t+P(ge(n,"padding"+e))+P(ge(n,"border"+e+"Width"))},0):0}function We(r,s,a,l){W(Me,function(t,e){var n=t[0],i=t[1],o=t[2];s[n]===o?r[i]+=a[e]*l:"center"===s[n]&&(r[i]+=a[e]*l/2)})}function Re(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 Ye(t,e,n){var i=(t||"").split(" "),o=i[0],r=i[1];return{x:o?P(o)*(u(o,"%")?e/100:1):0,y:r?P(r)*(u(r,"%")?n/100:1):0}}function qe(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function Ue(t,e,n,i){if(void 0===e&&(e=0),void 0===n&&(n=0),!yt(t))return!1;var o=Ge(t=H(t));if(i)return U(t.getBoundingClientRect(),{top:-e,left:-n,bottom:e+Le(o),right:n+je(o)});var r=Je(t),s=r[0],a=r[1],l=o.pageYOffset,c=o.pageXOffset;return U({top:s,left:a,bottom:s+t.offsetHeight,right:s+t.offsetWidth},{top:l-e,left:c-n,bottom:l+e+Le(o),right:c+n+je(o)})}function Xe(t,e){if(void 0===e&&(e=0),!yt(t))return 0;var n=Ge(t=H(t)),i=Ke(t),o=t.offsetHeight+e,r=Je(t)[0],s=Le(n),a=s+Math.min(0,r-s),l=Math.max(0,s-(Le(i)+e-(r+o)));return Y((a+n.pageYOffset-r)/((a+(o-(l<s?l:0)))/100)/100)}function Je(t){var e=[0,0];do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===ge(t,"position")){var n=Ge(t);return e[0]+=n.pageYOffset,e[1]+=n.pageXOffset,e}}while(t=t.offsetParent);return e}function Ge(t){return $(t)?t:Ke(t).defaultView}function Ke(t){return H(t).ownerDocument}function Ze(t){return Ke(t).documentElement}var Qe="rtl"===G(document.documentElement,"dir"),tn="ontouchstart"in window,en=window.PointerEvent,nn=tn||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,on=nn?"mousedown "+(tn?"touchstart":"pointerdown"):"mousedown",rn=nn?"mousemove "+(tn?"touchmove":"pointermove"):"mousemove",sn=nn?"mouseup "+(tn?"touchend":"pointerup"):"mouseup",an=nn&&en?"pointerenter":"mouseenter",ln=nn&&en?"pointerleave":"mouseleave",cn={reads:[],writes:[],read:function(t){return this.reads.push(t),un(),t},write:function(t){return this.writes.push(t),un(),t},clear:function(t){return fn(this.reads,t)||fn(this.writes,t)},flush:function(){hn(this.reads),hn(this.writes.splice(0,this.writes.length)),this.scheduled=!1,(this.reads.length||this.writes.length)&&un()}};function un(){cn.scheduled||(cn.scheduled=!0,requestAnimationFrame(cn.flush.bind(cn)))}function hn(t){for(var e;e=t.shift();)e()}function fn(t,e){var n=t.indexOf(e);return!!~n&&!!t.splice(n,1)}function dn(){}function pn(t,e){return(e.y-t.y)/(e.x-t.x)}dn.prototype={positions:[],position:null,init:function(){var i=this;this.positions=[],this.position=null;var o=!1;this.unbind=Tt(document,"mousemove",function(n){o||(setTimeout(function(){var t=Date.now(),e=i.positions.length;e&&100<t-i.positions[e-1].time&&i.positions.splice(0,e),i.positions.push({time:t,x:n.pageX,y:n.pageY}),5<i.positions.length&&i.positions.shift(),o=!1},5),o=!0)})},cancel:function(){this.unbind&&this.unbind()},movesTo:function(t){if(this.positions.length<2)return!1;var e=He(t),n=this.positions[this.positions.length-1],i=this.positions[0];if(e.left<=n.x&&n.x<=e.right&&e.top<=n.y&&n.y<=e.bottom)return!1;var o=[[{x:e.left,y:e.top},{x:e.right,y:e.bottom}],[{x:e.right,y:e.top},{x:e.left,y:e.bottom}]];return e.right<=n.x||(e.left>=n.x?(o[0].reverse(),o[1].reverse()):e.bottom<=n.y?o[0].reverse():e.top>=n.y&&o[1].reverse()),!!o.reduce(function(t,e){return t+(pn(i,e[0])<pn(n,e[0])&&pn(i,e[1])>pn(n,e[1]))},0)}};var gn={};function mn(t,e,n){return gn.computed(b(t)?t.call(n,n):t,b(e)?e.call(n,n):e)}gn.args=gn.events=gn.init=gn.created=gn.beforeConnect=gn.connected=gn.ready=gn.beforeDisconnect=gn.disconnected=gn.destroy=function(t,e){return t=t&&!w(t)?[t]:t,e?t?t.concat(e):w(e)?e:[e]:t},gn.update=function(t,e){return gn.args(t,b(e)?{read:e}:e)},gn.props=function(t,e){return w(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),gn.methods(t,e)},gn.computed=gn.methods=function(t,e){return e?t?V({},t,e):e:t},gn.data=function(e,n,t){return t?mn(e,n,t):n?e?function(t){return mn(e,n,t)}:n:e};var vn=function(t,e){return B(e)?t:e};function wn(e,n,i){var o={};if(b(n)&&(n=n.options),n.extends&&(e=wn(e,n.extends,i)),n.mixins)for(var t=0,r=n.mixins.length;t<r;t++)e=wn(e,n.mixins[t],i);for(var s in e)l(s);for(var a in n)c(e,a)||l(a);function l(t){o[t]=(gn[t]||vn)(e[t],n[t],i)}return o}function yn(t,e){var n;void 0===e&&(e=[]);try{return t?v(t,"{")?JSON.parse(t):e.length&&!y(t,":")?((n={})[e[0]]=t,n):t.split(";").reduce(function(t,e){var n=e.split(/:(.*)/),i=n[0],o=n[1];return i&&!B(o)&&(t[i.trim()]=o.trim()),t},{}):{}}catch(t){return{}}}var bn=0,xn=function(t){this.id=++bn,this.el=H(t)};function kn(t,e){try{t.contentWindow.postMessage(JSON.stringify(V({event:"command"},e)),"*")}catch(t){}}xn.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},xn.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},xn.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},xn.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},xn.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},xn.prototype.enableApi=function(){var e=this;if(this.ready)return this.ready;var n,o=this.isYoutube(),r=this.isVimeo();return o||r?this.ready=new Dt(function(t){var i;_t(e.el,"load",function(){if(o){var t=function(){return kn(e.el,{event:"listening",id:e.id})};n=setInterval(t,100),t()}}),(i=function(t){return o&&t.id===e.id&&"onReady"===t.event||r&&Number(t.player_id)===e.id},new Dt(function(n){_t(window,"message",function(t,e){return n(e)},!1,function(t){var e=t.data;if(e&&A(e)){try{e=JSON.parse(e)}catch(t){return}return e&&i(e)}})})).then(function(){t(),n&&clearInterval(n)}),G(e.el,"src",e.el.src+(y(e.el.src,"?")?"&":"?")+(o?"enablejsapi=1":"api=1&player_id="+e.id))}):Dt.resolve()},xn.prototype.play=function(){var t=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then(function(){return kn(t.el,{func:"playVideo",method:"play"})});else if(this.isHTML5())try{var e=this.el.play();e&&e.catch(q)}catch(t){}},xn.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return kn(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},xn.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return kn(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,G(this.el,"muted","")))};var $n,Tn,En,_n,Sn={};function Cn(){$n&&clearTimeout($n),Tn&&clearTimeout(Tn),En&&clearTimeout(En),$n=Tn=En=null,Sn={}}Ft(function(){Tt(document,"click",function(){return _n=!0},!0),Tt(document,on,function(t){var e=t.target,n=On(t),i=n.x,o=n.y,r=Date.now(),s=Bn(t.type);Sn.type&&Sn.type!==s||(Sn.el="tagName"in e?e:e.parentNode,$n&&clearTimeout($n),Sn.x1=i,Sn.y1=o,Sn.last&&r-Sn.last<=250&&(Sn={}),Sn.type=s,Sn.last=r,_n=0<t.button)}),Tt(document,rn,function(t){if(!t.defaultPrevented){var e=On(t),n=e.x,i=e.y;Sn.x2=n,Sn.y2=i}}),Tt(document,sn,function(t){var e=t.type,n=t.target;Sn.type===Bn(e)&&(Sn.x2&&30<Math.abs(Sn.x1-Sn.x2)||Sn.y2&&30<Math.abs(Sn.y1-Sn.y2)?Tn=setTimeout(function(){var t,e,n,i,o;Sn.el&&(St(Sn.el,"swipe"),St(Sn.el,"swipe"+(e=(t=Sn).x1,n=t.x2,i=t.y1,o=t.y2,Math.abs(e-n)>=Math.abs(i-o)?0<e-n?"Left":"Right":0<i-o?"Up":"Down"))),Sn={}}):"last"in Sn?(En=setTimeout(function(){return St(Sn.el,"tap")}),Sn.el&&"mouseup"!==e&&$t(n,Sn.el)&&($n=setTimeout(function(){$n=null,Sn.el&&!_n&&St(Sn.el,"click"),Sn={}},350))):Sn={})}),Tt(document,"touchcancel",Cn),Tt(window,"scroll",Cn)});var An=!1;function Nn(t){return An||"touch"===t.pointerType}function On(t){var e=t.touches,n=t.changedTouches,i=e&&e[0]||n&&n[0]||t;return{x:i.pageX,y:i.pageY}}function Bn(t){return t.slice(0,5)}Tt(document,"touchstart",function(){return An=!0},!0),Tt(document,"click",function(){An=!1}),Tt(document,"touchcancel",function(){return An=!1},!0);var Dn=Object.freeze({ajax:zt,getImage:Lt,transition:Te,Transition:Ee,animate:Ce,Animation:Ne,attr:G,hasAttr:K,removeAttr:Z,filterAttr:Q,data:tt,addClass:oe,removeClass:re,removeClasses:se,replaceClass:ae,hasClass:le,toggleClass:ce,$:Oe,$$:Be,positionAt:Pe,offset:He,position:ze,height:Le,width:je,flipPosition:qe,isInView:Ue,scrolledOver:Xe,isReady:jt,ready:Ft,index:Vt,getIndex:Wt,empty:Rt,html:Yt,prepend:function(e,t){return(e=H(e)).hasChildNodes()?Jt(t,function(t){return e.insertBefore(t,e.firstChild)}):qt(e,t)},append:qt,before:Ut,after:Xt,remove:Gt,wrapAll:Kt,wrapInner:Zt,unwrap:Qt,fragment:ne,apply:ie,isRtl:Qe,hasTouch:nn,pointerDown:on,pointerMove:rn,pointerUp:sn,pointerEnter:an,pointerLeave:ln,on:Tt,off:Et,once:_t,trigger:St,createEvent:Ct,toEventTargets:Bt,preventClick:function(){var e=setTimeout(_t(document,"click",function(t){t.preventDefault(),t.stopImmediatePropagation(),clearTimeout(e)},!0));St(document,"touchcancel")},fastdom:cn,isVoidElement:wt,isVisible:yt,selInput:bt,isInput:xt,filter:kt,within:$t,bind:p,hasOwn:c,hyphenate:g,camelize:m,ucfirst:s,startsWith:v,endsWith:u,includes:y,isArray:w,isFunction:b,isObject:x,isPlainObject:k,isWindow:$,isDocument:T,isJQuery:E,isNode:_,isNodeCollection:S,isBoolean:C,isString:A,isNumber:N,isNumeric:O,isUndefined:B,toBoolean:D,toNumber:M,toFloat:P,toNode:H,toNodes:z,toList:L,toMs:j,swap:F,assign:V,each:W,sortBy:R,clamp:Y,noop:q,intersectRect:U,pointInRect:X,Dimensions:J,MouseTracker:dn,mergeOptions:wn,parseOptions:yn,Player:xn,Promise:Dt,Deferred:function(){var n=this;this.promise=new Dt(function(t,e){n.reject=e,n.resolve=t})},query:et,queryAll:nt,find:it,findAll:ot,matches:ht,closest:dt,parents:pt,escape:mt,css:ge,getStyles:me,getStyle:ve,getCssVar:ye,propName:xe,isTouch:Nn,getPos:On});function Mn(t){return!(!v(t,"uk-")&&!v(t,"data-uk-"))&&m(t.replace("data-uk-","").replace("uk-",""))}var Pn,Hn,In,zn,Ln=function(t){this._init(t)};Ln.util=Dn,Ln.data="__uikit__",Ln.prefix="uk-",Ln.options={},function(n){var e,i=n.data;function o(t,e){if(t)for(var n in t)t[n]._isReady&&t[n]._callUpdate(e)}n.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},n.mixin=function(t,e){e=(A(e)?n.component(e):e)||this,(t=wn({},t)).mixins=e.options.mixins,delete e.options.mixins,e.options=wn(t,e.options)},n.extend=function(t){t=t||{};var e=function(t){this._init(t)};return((e.prototype=Object.create(this.prototype)).constructor=e).options=wn(this.options,t),e.super=this,e.extend=this.extend,e},n.update=function(t,e){e=Ct(e||"update"),function(t){for(var e=[];t&&t!==document.body&&t.parentNode;)t=t.parentNode,e.unshift(t);return e}(t=t?H(t):document.body).map(function(t){return o(t[i],e)}),ie(t,function(t){return o(t[i],e)})},Object.defineProperty(n,"container",{get:function(){return e||document.body},set:function(t){e=Oe(t)}})}(Ln),(Pn=Ln).prototype._callHook=function(t){var e=this,n=this.$options[t];n&&n.forEach(function(t){return t.call(e)})},Pn.prototype._callConnected=function(){var t=this;this._connected||(this._data={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObserver(),this._callHook("connected"),this._isReady||Ft(function(){return t._callReady()}),this._callUpdate())},Pn.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},Pn.prototype._callReady=function(){this._isReady||(this._isReady=!0,this._callHook("ready"),this._resetComputeds(),this._callUpdate())},Pn.prototype._callUpdate=function(r){var s=this,a=(r=Ct(r||"update")).type;y(["update","load","resize"],a)&&this._resetComputeds();var t=this.$options.update,e=this._frames,l=e.reads,c=e.writes;t&&t.forEach(function(t,e){var n=t.read,i=t.write,o=t.events;("update"===a||y(o,a))&&(n&&!y(cn.reads,l[e])&&(l[e]=cn.read(function(){var t=s._connected&&n.call(s,s._data,r);!1===t&&i?(cn.clear(c[e]),delete c[e]):k(t)&&V(s._data,t),delete l[e]})),i&&!y(cn.writes,c[e])&&(c[e]=cn.write(function(){s._connected&&i.call(s,s._data,r),delete c[e]})))})},function(t){var e=0;function s(t,e){var n={},i=t.args;void 0===i&&(i=[]);var o=t.props;void 0===o&&(o={});var r=t.el;if(!o)return n;for(var s in o){var a=g(s),l=tt(r,a);if(!B(l)){if(l=d(o[s],l),"target"===a&&(!l||v(l,"_")))continue;n[s]=l}}var c=yn(tt(r,e),i);for(var u in c){var h=m(u);void 0!==o[h]&&(n[h]=d(o[h],c[u]))}return n}function n(i,o,r){Object.defineProperty(i,o,{enumerable:!0,get:function(){var t=i._computeds,e=i.$props,n=i.$el;return c(t,o)||(t[o]=r.call(i,e,n)),t[o]},set:function(t){i._computeds[o]=t}})}function f(e,n,i){k(n)||(n={name:i,handler:n});var o,r,t=n.name,s=n.el,a=n.handler,l=n.capture,c=n.delegate,u=n.filter,h=n.self;s=b(s)?s.call(e):s||e.$el,w(s)?s.forEach(function(t){return f(e,V({},n,{el:t}),i)}):!s||u&&!u.call(e)||(o=A(a)?e[a]:p(a,e),a=function(t){return w(t.detail)?o.apply(void 0,[t].concat(t.detail)):o(t)},h&&(r=a,a=function(t){if(t.target===t.currentTarget||t.target===t.current)return r.call(null,t)}),e._events.push(Tt(s,t,c?A(c)?c:c.call(e):null,a,l)))}function i(t,e){return t.every(function(t){return!t||!c(t,e)})}function d(t,e){return t===Boolean?D(e):t===Number?M(e):"list"===t?L(e):"media"===t?function(t){if(A(t))if("@"===t[0]){var e="media-"+t.substr(1);t=P(ye(e))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(e):t?t(e):e}t.prototype._init=function(t){(t=t||{}).data=function(t,e){var n=t.data,i=(t.el,e.args),o=e.props;if(void 0===o&&(o={}),n=w(n)?i&&i.length?n.slice(0,i.length).reduce(function(t,e,n){return k(e)?V(t,e):t[i[n]]=e,t},{}):void 0:n)for(var r in n)B(n[r])?delete n[r]:n[r]=o[r]?d(o[r],n[r]):n[r];return n}(t,this.constructor.options),this.$options=wn(this.constructor.options,t,this),this.$el=null,this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},t.prototype._initData=function(){var t=this.$options.data;for(var e in void 0===t&&(t={}),t)this.$props[e]=this[e]=t[e]},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=p(t[e],this)},t.prototype._initComputeds=function(){var t=this.$options.computed;if(this._resetComputeds(),t)for(var e in t)n(this,e,t[e])},t.prototype._resetComputeds=function(){this._computeds={}},t.prototype._initProps=function(t){var e;for(e in this._resetComputeds(),t=t||s(this.$options,this.$name))B(t[e])||(this.$props[e]=t[e]);var n=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&i(n,e)&&(this[e]=this.$props[e])},t.prototype._initEvents=function(){var n=this,t=this.$options.events;t&&t.forEach(function(t){if(c(t,"handler"))f(n,t);else for(var e in t)f(n,t[e],e)})},t.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),this._events=[]},t.prototype._initObserver=function(){var n=this,t=this.$options,i=t.attrs,e=t.props,o=t.el;if(!this._observer&&e&&i){i=w(i)?i:Object.keys(e),this._observer=new MutationObserver(function(){var e=s(n.$options,n.$name);i.some(function(t){return!B(e[t])&&e[t]!==n.$props[t]})&&n.$reset()});var r=i.map(function(t){return g(t)}).concat(this.$name);this._observer.observe(o,{attributes:!0,attributeFilter:r.concat(r.map(function(t){return"data-"+t}))})}}}(Ln),In=(Hn=Ln).data,zn={},Hn.component=function(s,t){if(!t)return k(zn[s])&&(zn[s]=Hn.extend(zn[s])),zn[s];Hn[s]=function(t,n){for(var e=arguments.length,i=Array(e);e--;)i[e]=arguments[e];var o=Hn.component(s);return k(t)?new o({data:t}):o.options.functional?new o({data:[].concat(i)}):t&&t.nodeType?r(t):Be(t).map(r)[0];function r(t){var e=Hn.getComponent(t,s);if(e){if(!n)return e;e.$destroy()}return new o({el:t,data:n})}};var e=k(t)?V({},t):t.options;if(e.name=s,e.install&&e.install(Hn,e,s),Hn._initialized&&!e.functional){var n=g(s);cn.read(function(){return Hn[s]("[uk-"+n+"],[data-uk-"+n+"]")})}return zn[s]=k(t)?e:t},Hn.getComponents=function(t){return t&&t[In]||{}},Hn.getComponent=function(t,e){return Hn.getComponents(t)[e]},Hn.connect=function(t){if(t[In])for(var e in t[In])t[In][e]._callConnected();for(var n=0;n<t.attributes.length;n++){var i=Mn(t.attributes[n].name);i&&i in zn&&Hn[i](t)}},Hn.disconnect=function(t){for(var e in t[In])t[In][e]._callDisconnected()},function(i){var o=i.data;i.prototype.$mount=function(t){var e=this.$options.name;t[o]||(t[o]={}),t[o][e]||((t[o][e]=this).$el=this.$options.el=this.$options.el||t,this._callHook("init"),$t(t,document)&&this._callConnected())},i.prototype.$emit=function(t){this._callUpdate(t)},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,i=e.name;n&&this._callDisconnected(),this._callHook("destroy"),n&&n[o]&&(delete n[o][i],Object.keys(n[o]).length||delete n[o],t&&Gt(this.$el))},i.prototype.$create=function(t,e,n){return i[t](e,n)},i.prototype.$update=i.update,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+g(t)),e[t]}}})}(Ln);var jn={connected:function(){oe(this.$el,this.$name)}},Fn={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},data:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",queued:!1,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){var e=t.animation;return this.hasAnimation&&!0===e[0]}},methods:{toggleElement:function(c,u,h){var f=this;return new Dt(function(t){c=z(c);var e,n=function(t){return Dt.all(t.map(function(t){return f._toggleElement(t,u,h)}))},i=c.filter(function(t){return f.isToggled(t)}),o=c.filter(function(t){return!y(i,t)});if(f.queued&&B(h)&&B(u)&&f.hasAnimation&&!(c.length<2)){var r=document.body,s=r.scrollTop,a=i[0],l=Ne.inProgress(a)&&le(a,"uk-animation-leave")||Ee.inProgress(a)&&"0px"===a.style.height;e=n(i),l||(e=e.then(function(){var t=n(o);return r.scrollTop=s,t}))}else e=n(o.concat(i));e.then(t,q)})},toggleNow:function(e,n){var i=this;return new Dt(function(t){return Dt.all(z(e).map(function(t){return i._toggleElement(t,n,!1)})).then(t,q)})},isToggled:function(t){var e=z(t||this.$el);return this.cls?le(e,this.cls.split(" ")[0]):!K(e,"hidden")},updateAria:function(t){!1===this.cls&&G(t,"aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,n){var i=this;if(e=C(e)?e:Ne.inProgress(t)?le(t,"uk-animation-leave"):Ee.inProgress(t)?"0px"===t.style.height:!this.isToggled(t),!St(t,"before"+(e?"show":"hide"),[this]))return Dt.reject();var o=(!1!==n&&this.hasAnimation?this.hasTransition?this._toggleHeight:this._toggleAnimation:this._toggleImmediate)(t,e);return St(t,e?"show":"hide",[this]),o.then(function(){St(t,e?"shown":"hidden",[i]),i.$update(t)})},_toggle:function(t,e){var n;t&&(this.cls?(n=y(this.cls," ")||Boolean(e)!==le(t,this.cls))&&ce(t,this.cls,y(this.cls," ")?void 0:e):(n=Boolean(e)===K(t,"hidden"))&&G(t,"hidden",e?null:""),Be("[autofocus]",t).some(function(t){return yt(t)&&(t.focus()||!0)}),this.updateAria(t),n&&this.$update(t))},_toggleImmediate:function(t,e){return this._toggle(t,e),Dt.resolve()},_toggleHeight:function(t,e){var n=this,i=Ee.inProgress(t),o=t.hasChildNodes?P(ge(t.firstElementChild,"marginTop"))+P(ge(t.lastElementChild,"marginBottom")):0,r=yt(t)?Le(t)+(i?0:o):0;Ee.cancel(t),this.isToggled(t)||this._toggle(t,!0),Le(t,""),cn.flush();var s=Le(t)+(i?0:o);return Le(t,r),(e?Ee.start(t,V({},this.initProps,{overflow:"hidden",height:s}),Math.round(this.duration*(1-r/s)),this.transition):Ee.start(t,this.hideProps,Math.round(this.duration*(r/s)),this.transition).then(function(){return n._toggle(t,!1)})).then(function(){return ge(t,n.initProps)})},_toggleAnimation:function(t,e){var n=this;return Ne.cancel(t),e?(this._toggle(t,!0),Ne.in(t,this.animation[0],this.duration,this.origin)):Ne.out(t,this.animation[1]||this.animation[0],this.duration,this.origin).then(function(){return n._toggle(t,!1)})}}},Vn={mixins:[jn,Fn],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease"},computed:{items:function(t,e){return Be(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Vt(Be(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],connected:function(){if(!1!==this.active){var t=this.items[Number(this.active)];t&&!le(t,this.clsOpen)&&this.toggle(t,!1)}},update:function(){var e=this;this.items.forEach(function(t){return e._toggleImmediate(Oe(e.content,t),le(t,e.clsOpen))});var t=!this.collapsible&&!le(this.items,this.clsOpen)&&this.items[0];t&&this.toggle(t,!1)},methods:{toggle:function(o,r){var s=this,t=Wt(o,this.items),a=kt(this.items,"."+this.clsOpen);(o=this.items[t])&&[o].concat(!this.multiple&&!y(a,o)&&a||[]).forEach(function(t){var e=t===o,n=e&&!le(t,s.clsOpen);if(n||!e||s.collapsible||!(a.length<2)){ce(t,s.clsOpen,n);var i=t._wrapper?t._wrapper.firstElementChild:Oe(s.content,t);t._wrapper||(t._wrapper=Kt(i,"<div>"),G(t._wrapper,"hidden",n?"":null)),s._toggleImmediate(i,!0),s.toggleElement(t._wrapper,n,r).then(function(){le(t,s.clsOpen)===n&&(n||s._toggleImmediate(i,!1),t._wrapper=null,Qt(i))})}})}}},Wn={attrs:!0,mixins:[jn,Fn],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:V({opacity:0},Fn.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)})}}};function Rn(r){Ft(function(){var n=0,i=0;if(Tt(window,"load resize",function(t){return r.update(null,t)}),Tt(window,"scroll",function(t){var e=t.target;t.dir=n<=window.pageYOffset?"down":"up",t.pageYOffset=n=window.pageYOffset,r.update(1!==e.nodeType?document.body:e,t)},{passive:!0,capture:!0}),Tt(document,"loadedmetadata load",function(t){var e=t.target;return r.update(e,"load")},!0),Tt(document,"animationstart",function(t){var e=t.target;(ge(e,"animationName")||"").match(/^uk-.*(left|right)/)&&(i++,ge(document.body,"overflowX","hidden"),setTimeout(function(){--i||ge(document.body,"overflowX","")},j(ge(e,"animationDuration"))+100))},!0),nn){var o="uk-hover";Tt(document,"tap",function(t){var e=t.target;return Be("."+o).forEach(function(t){return!$t(e,t)&&re(t,o)})}),Object.defineProperty(r,"hoverSelector",{set:function(t){Tt(document,"tap",t,function(t){return oe(t.current,o)})}}),r.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})}var Yn,qn,Un={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!K(this.$el,"preload")&&(this.$el.preload="none")},ready:function(){this.player=new xn(this.$el),this.automute&&this.player.mute()},update:[{read:function(t,e){var n=e.type;return!(!this.player||!("scroll"!==n&&"resize"!==n||this.inView))&&{visible:yt(this.$el)&&"hidden"!==ge(this.$el,"visibility"),inView:this.inView&&Ue(this.$el)}},write:function(t){var e=t.visible,n=t.inView;!e||this.inView&&!n?this.player.pause():(!0===this.autoplay||this.inView&&n)&&this.player.play()},events:["load","resize","scroll"]}]},Xn={mixins:[jn,Un],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el;if(!yt(t))return!1;var e=t.parentNode;return{height:e.offsetHeight,width:e.offsetWidth}},write:function(t){var e=t.height,n=t.width,i=this.$el,o=this.width||i.naturalWidth||i.videoWidth||i.clientWidth,r=this.height||i.naturalHeight||i.videoHeight||i.clientHeight;o&&r&&ge(i,J.cover({width:o,height:r},{width:n+(n%2?1:0),height:e+(e%2?1:0)}))},events:["load","resize"]}},Jn={mixins:[{props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(Qe?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){var e=t.pos;return(e+(y(e,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,n){var i;se(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),ge(t,{top:"",left:""});var o=this.offset;o=O(o)?o:(i=Oe(o))?He(i)["x"===r?"left":"top"]-He(e)["x"===r?"right":"bottom"]:0;var r=this.getAxis(),s=Pe(t,e,"x"===r?qe(this.dir)+" "+this.align:this.align+" "+qe(this.dir),"x"===r?this.dir+" "+this.align:this.align+" "+this.dir,"x"===r?""+("left"===this.dir?-o:o):" "+("top"===this.dir?-o:o),null,this.flip,n).target,a=s.x,l=s.y;this.dir="x"===r?a:l,this.align="x"===r?l:a,ce(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},Fn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},computed:{boundary:function(t,e){return et(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},init:function(){this.tracker=new dn},connected:function(){oe(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",et(t,this.$el),{target:this.$el,mode:this.mode}),this.updateAria(this.$el)},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){if(!t.defaultPrevented){var e=t.target.hash;e||t.preventDefault(),e&&$t(e,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:an,filter:function(){return y(this.mode,"hover")},handler:function(t){Nn(t)||(Yn&&Yn!==this&&Yn.toggle&&y(Yn.toggle.mode,"hover")&&!$t(t.target,Yn.toggle.$el)&&!X({x:t.pageX,y:t.pageY},He(Yn.$el))&&Yn.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!y(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+ln,handler:function(t,e){Nn(t)||e&&!y(e.target,this.$el)||(t.preventDefault(),this.toggle&&y(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers(),Ne.cancel(this.$el),this.position()}},{name:"show",self:!0,handler:function(){this.tracker.init(),this.toggle&&(oe(this.toggle.$el,this.cls),G(this.toggle.$el,"aria-expanded","true")),function(){if(qn)return;qn=!0,Tt(document,"click",function(t){var e,n=t.target,i=t.defaultPrevented;if(!i)for(;Yn&&Yn!==e&&!$t(n,Yn.$el)&&(!Yn.toggle||!$t(n,Yn.toggle.$el));)(e=Yn).hide(!1)})}()}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(Yn=this.isActive()?null:Yn,this.toggle&&(re(this.toggle.$el,this.cls),G(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),Be("a, button",this.toggle.$el).forEach(function(t){return t.blur()})),this.tracker.cancel()):Yn=null===Yn&&$t(e,this.$el)&&this.isToggled()?this:Yn}}],update:{write:function(){this.isToggled()&&!Ne.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(e,n){var i=this;void 0===n&&(n=!0);var o=function(){return!i.isToggled()&&i.toggleElement(i.$el,!0)},t=function(){if(i.toggle=e||i.toggle,i.clearTimers(),!i.isActive())if(n&&Yn&&Yn!==i&&Yn.isDelaying)i.showTimer=setTimeout(i.show,10);else{if(i.isParentOf(Yn)){if(!Yn.hideTimer)return;Yn.hide(!1)}else if(Yn&&!i.isChildOf(Yn)&&!i.isParentOf(Yn))for(var t;Yn&&Yn!==t&&!i.isChildOf(Yn);)(t=Yn).hide(!1);n&&i.delayShow?i.showTimer=setTimeout(o,i.delayShow):o(),Yn=i}};e&&this.toggle&&e.$el!==this.toggle.$el?(_t(this.$el,"hide",t),this.hide(!1)):t()},hide:function(t){var e=this;void 0===t&&(t=!0);var n=function(){return e.toggleNow(e.$el,!1)};this.clearTimers(),this.isDelaying=this.tracker.movesTo(this.$el),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,this.hoverIdle):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 Yn===this},isChildOf:function(t){return t&&t!==this&&$t(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&$t(t.$el,this.$el)},position:function(){se(this.$el,this.clsDrop+"-(stack|boundary)"),ge(this.$el,{top:"",left:"",display:"block"}),ce(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=He(this.boundary),e=this.boundaryAlign?t:He(this.toggle.$el);if("justify"===this.align){var n="y"===this.getAxis()?"width":"height";ge(this.$el,n,e[n])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&oe(this.$el,this.clsDrop+"-stack");this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),ge(this.$el,"display","")}}};var Gn={extends:Jn},Kn={mixins:[jn],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Oe(bt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){var n=t.target;return n&&(!0===n&&this.input.parentNode===e&&this.input.nextElementSibling||et(n,e))}},update:function(){var t=this.target,e=this.input;if(t){var n,i=xt(t)?"value":"textContent",o=t[i],r=e.files&&e.files[0]?e.files[0].name:ht(e,"select")&&(n=Be("option",e).filter(function(t){return t.selected})[0])?n.textContent:e.value;o!==r&&(t[i]=r)}},events:[{name:"focusin focusout mouseenter mouseleave",delegate:bt,handler:function(t){var e=t.type;t.current===this.input&&ce(this.state,"uk-"+(y(e,"focus")?"focus":"hover"),y(["focusin","mouseenter"],e))}},{name:"change",handler:function(){this.$emit()}}]},Zn={update:{read:function(t){var e=Ue(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","load","resize"]}},Qn={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!yt(this.$el))return t.rows=[[]];t.rows=ti(e),t.stacks=!t.rows.some(function(t){return 1<t.length})},write:function(t){var i=this;t.rows.forEach(function(t,n){return t.forEach(function(t,e){ce(t,i.margin,0!==n),ce(t,i.firstColumn,0===e)})})},events:["load","resize"]}};function ti(t){for(var e=[[]],n=0;n<t.length;n++){var i=t[n],o=ei(i);if(o.height)for(var r=e.length-1;0<=r;r--){var s=e[r];if(!s[0]){s.push(i);break}var a=ei(s[0]);if(o.top>=a.bottom-1){e.push([i]);break}if(o.bottom>a.top){if(o.left<a.left&&!Qe){s.unshift(i);break}s.push(i);break}if(0===r){e.unshift([i]);break}}}return e}function ei(t){var e=t.offsetTop,n=t.offsetLeft,i=t.offsetHeight;return{top:e,left:n,height:i,bottom:e+i}}var ni={extends:Qn,mixins:[jn],attrs:!0,name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},computed:{length:function(t,e){return e.children.length},parallax:function(t){var e=t.parallax;return e&&this.length?Math.abs(e):""}},connected:function(){this.masonry&&oe(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{read:function(t){var o=t.rows;(this.masonry||this.parallax)&&(o=o.map(function(t){return R(t,"offsetLeft")}));var e,n,i,r,s,a=o.some(function(t){return t.some(function(t){return"static"===ge(t,"position")})}),l=!1,c="";if(this.masonry&&this.length){var u=0;l=o.reduce(function(n,t,i){return n[i]=t.map(function(t,e){return 0===i?0:P(n[i-1][e])+(u-P(o[i-1][e]&&o[i-1][e].offsetHeight))}),u=t.reduce(function(t,e){return Math.max(t,e.offsetHeight)},0),n},[]),s=o,c=Math.max.apply(Math,s.reduce(function(n,t){return t.forEach(function(t,e){return n[e]=(n[e]||0)+t.offsetHeight}),n},[]))+(e=this.$el,n=this.margin,i=z(e.children),P((r=i.filter(function(t){return le(t,n)})[0])?ge(r,"marginTop"):ge(i[0],"paddingLeft"))*(o.length-1))}return{rows:o,translates:l,height:a?c:void 0}},write:function(t){var e=t.stacks,n=t.height;ce(this.$el,this.clsStack,e),ge(this.$el,{height:n,paddingBottom:this.parallax})},events:["load","resize"]},{read:function(t){var e=t.height;return{scrolled:!!this.parallax&&Xe(this.$el,e?e-Le(this.$el):0)*this.parallax}},write:function(t){var e=t.rows,i=t.scrolled,o=t.translates;(!1!==i||o)&&e.forEach(function(t,n){return t.forEach(function(t,e){return ge(t,"transform",i||o?"translateY("+((o&&-o[n][e])+(i?e%2?i:i/8:0))+"px)":"")})})},events:["scroll","load","resize"]}]};var ii={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:function(t,e){return Be(t.target,e)}},update:{read:function(){var e=this;return ge(this.elements,{minHeight:"",boxSizing:""}),{rows:this.row?ti(this.elements).map(function(t){return e.match(t)}):[this.match(this.elements)]}},write:function(t){t.rows.forEach(function(t){var e=t.height;return ge(t.elements,{minHeight:e,boxSizing:"border-box"})})},events:["load","resize"]},methods:{match:function(t){if(t.length<2)return{};var n=[],i=0;return t.forEach(function(t){var e=He(t).height;i=Math.max(i,e),n.push(e)}),t=t.filter(function(t,e){return n[e]<i}),{height:i,elements:t}}}},oi={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},update:{write:function(){ge(this.$el,"boxSizing","border-box");var t,e=Le(window),n=0;if(this.expand){ge(this.$el,{height:"",minHeight:""});var i=e-ri(document.documentElement);0<i&&(t=ri(this.$el)+i)}else{var o=He(this.$el).top;o<e/2&&this.offsetTop&&(n+=o),!0===this.offsetBottom?n+=ri(this.$el.nextElementSibling):O(this.offsetBottom)?n+=e/100*this.offsetBottom:this.offsetBottom&&u(this.offsetBottom,"px")?n+=P(this.offsetBottom):A(this.offsetBottom)&&(n+=ri(et(this.offsetBottom,this.$el))),t=n?"calc(100vh - "+n+"px)":"100vh"}if(t){ge(this.$el,{height:"",minHeight:t});var r=this.$el.offsetHeight;this.minHeight&&this.minHeight>r&&ge(this.$el,"minHeight",this.minHeight),r<=e-n&&ge(this.$el,"height",t)}},events:["load","resize"]}};function ri(t){return t&&t.offsetHeight||0}var si={},ai={attrs:!0,props:{id:String,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String},data:{ratio:1,id:!1,exclude:["ratio","src","icon"],class:""},connected:function(){var a=this;if(this.class+=" uk-svg",!this.icon&&y(this.src,"#")){var t,e=this.src.split("#");if(1<e.length)t=e,this.src=t[0],this.icon=t[1]}this.svg=this.getSvg().then(function(t){var e;if(A(t)?(a.icon&&y(t,"<symbol")&&(t=function(t,e){if(!ci[t]){var n;for(ci[t]={};n=li.exec(t);)ci[t][n[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+n[1]+"svg>";li.lastIndex=0}return ci[t][e]}(t,a.icon)||t),e=Oe(t.substr(t.indexOf("<svg")))):e=t.cloneNode(!0),!e)return Dt.reject("SVG not found.");var n=G(e,"viewBox");for(var i in n&&(n=n.split(" "),a.width=a.$props.width||n[2],a.height=a.$props.height||n[3]),a.width*=a.ratio,a.height*=a.ratio,a.$options.props)a[i]&&!y(a.exclude,i)&&G(e,i,a[i]);a.id||Z(e,"id"),a.width&&!a.height&&Z(e,"height"),a.height&&!a.width&&Z(e,"width");var o=a.$el;if(wt(o)||"CANVAS"===o.tagName){G(o,{hidden:!0,id:null});var r=o.nextElementSibling;r&&e.isEqualNode(r)?e=r:Xt(o,e)}else{var s=o.lastElementChild;s&&e.isEqualNode(s)?e=s:qt(o,e)}return a.svgEl=e},q)},disconnected:function(){var e=this;wt(this.$el)&&G(this.$el,{hidden:null,id:this.id||null}),this.svg&&this.svg.then(function(t){return(!e._connected||t!==e.svgEl)&&Gt(t)},q),this.svg=this.svgEl=null},methods:{getSvg:function(){var n=this;return this.src?(si[this.src]||(si[this.src]=new Dt(function(e,t){v(n.src,"data:")?e(decodeURIComponent(n.src.split(",")[1])):zt(n.src).then(function(t){return e(t.response)},function(){return t("SVG not found.")})})),si[this.src]):Dt.reject()}}},li=/<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g,ci={};var ui={},hi={spinner:'<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect y="9" width="20" height="2"/><rect y="3" width="20" height="2"/><rect y="15" width="20" height="2"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-navbar":'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"slidenav-next":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',"slidenav-next-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',"slidenav-previous":'<svg width="14px" height="24px" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',"slidenav-previous-large":'<svg width="25px" height="40px" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>'},fi={install:function(i){var o;i.icon.add=function(t,e){var n=A(t)?((o={})[t]=e,o):t;W(n,function(t,e){hi[e]=t,delete ui[e]}),i._initialized&&ie(document.body,function(t){return W(i.getComponents(t),function(t){return t.$options.isIcon&&t.icon in n&&t.$reset()})})}},attrs:["icon","ratio"],mixins:[jn,ai],args:"icon",props:["icon"],data:{exclude:["id","style","class","src","icon","ratio"]},isIcon:!0,connected:function(){oe(this.$el,"uk-icon")},methods:{getSvg:function(){var t,e=function(t){if(!hi[t])return null;ui[t]||(ui[t]=Oe(hi[t].trim()));return ui[t]}((t=this.icon,Qe?F(F(t,"left","right"),"previous","next"):t));return e?Dt.resolve(e):Dt.reject("Icon not found.")}}},di={extends:fi,data:function(t){return{icon:g(t.constructor.options.name)}}},pi={extends:di,connected:function(){oe(this.$el,"uk-slidenav")},computed:{icon:function(t,e){var n=t.icon;return le(e,"uk-slidenav-large")?n+"-large":n}}},gi={extends:di,computed:{icon:function(t,e){var n=t.icon;return le(e,"uk-search-icon")&&pt(e,".uk-search-large").length?"search-large":pt(e,".uk-search-navbar").length?"search-navbar":n}}},mi={extends:di,computed:{icon:function(){return"close-"+(le(this.$el,"uk-close-large")?"large":"icon")}}},vi={extends:di,connected:function(){var e=this;this.svg.then(function(t){return 1!==e.ratio&&ge(Oe("circle",t),"strokeWidth",1/e.ratio)},q)}};var wi={attrs:!0,props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:0,target:!1},computed:{cacheKey:function(t){var e=t.dataSrc;return this.$name+"."+e},width:function(t){var e=t.width,n=t.dataWidth;return e||n},height:function(t){var e=t.height,n=t.dataHeight;return e||n},sizes:function(t){var e=t.sizes,n=t.dataSizes;return e||n},isImg:function(t,e){return _i(e)},target:function(t){var e=t.target;return[this.$el].concat(nt(e,this.$el))},offsetTop:function(t){return $i(t.offsetTop,"height")},offsetLeft:function(t){return $i(t.offsetLeft,"width")}},connected:function(){Ci[this.cacheKey]?yi(this.$el,Ci[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&yi(this.$el,function(t,e,n){if(n){for(var i,o;i=bi.exec(n);)if(!i[1]||window.matchMedia(i[1]).matches){r=i[2],i=v(r,"calc")?r.substring(5,r.length-1).replace(xi,function(t){return $i(t)}).replace(/ /g,"").match(ki).reduce(function(t,e){return t+ +e},0):r;break}bi.lastIndex=0,o=J.ratio({width:t,height:e},"width",$i(i||"100vw")),t=o.width,e=o.height}var r;return'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+e+'"></svg>'}(this.width,this.height,this.sizes))},update:[{read:function(t){var e=this,n=t.delay,i=t.image;if(n){if(!i&&this.target.some(function(t){return Ue(t,e.offsetTop,e.offsetLeft,!0)}))return{image:Lt(this.dataSrc,this.dataSrcset,this.sizes).then(function(t){return yi(e.$el,Si(t),t.srcset,t.sizes),Ci[e.cacheKey]=Si(t),t},q)};!this.isImg&&i&&i.then(function(t){return t&&yi(e.$el,Si(t))})}},write:function(t){if(!t.delay)return this.$emit(),t.delay=!0},events:["scroll","load","resize"]}]};function yi(t,e,n,i){if(_i(t))e&&(t.src=e),n&&(t.srcset=n),i&&(t.sizes=i);else if(e){var o=!y(t.style.backgroundImage,e);ge(t,"backgroundImage","url("+e+")"),o&&St(t,Ct("load",!1))}}var bi=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;var xi=/\d+(?:\w+|%)/g,ki=/[+-]?(\d+)/g;function $i(t,e,n){return void 0===e&&(e="width"),void 0===n&&(n=window),O(t)?+t:u(t,"vw")?Ei(n,"width",t):u(t,"vh")?Ei(n,"height",t):u(t,"%")?Ei(n,e,t):P(t)}var Ti={height:Le,width:je};function Ei(t,e,n){return Ti[e](t)*P(n)/100}function _i(t){return"IMG"===t.tagName}function Si(t){return t.currentSrc||t.src}var Ci,Ai="__test__";try{(Ci=window.sessionStorage||{})[Ai]=1,delete Ci[Ai]}catch(t){Ci={}}var Ni,Oi,Bi={mixins:[jn],props:{fill:String,media:"media"},data:{fill:"",media:!1,clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||ye("leader-fill")}},connected:function(){var t;t=Zt(this.$el,'<span class="'+this.clsWrapper+'">'),this.wrapper=t[0]},disconnected:function(){Qt(this.wrapper.childNodes)},update:[{read:function(t){var e=t.changed,n=t.width,i=n;return{width:n=Math.floor(this.$el.offsetWidth/2),changed:e||i!==n,hide:this.media&&!window.matchMedia(this.media).matches}},write:function(t){ce(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,G(this.wrapper,this.attrFill,new Array(t.width).join(this.fill)))},events:["load","resize"]}]},Di={mixins:[jn,{props:{container:Boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&Oe(e)}}},Fn],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Oe(t.selPanel,e)},transitionElement:function(){return this.panel},transitionDuration:function(){return j(ge(this.transitionElement,"transitionDuration"))},bgClose:function(t){return t.bgClose&&this.panel}},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultPrevented||(t.preventDefault(),this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){var e=Ni&&Ni!==this&&Ni;if(Ni=this,e){if(!this.stack)return e.hide().then(this.show),void t.preventDefault();this.prev=e}!function(){if(Oi)return;Oi=[Tt(document,"click",function(t){var e=t.target,n=t.defaultPrevented;!Ni||!Ni.bgClose||n||Ni.overlay&&!$t(e,Ni.$el)||$t(e,Ni.panel)||Ni.hide()}),Tt(document,"keydown",function(t){27===t.keyCode&&Ni&&Ni.escClose&&(t.preventDefault(),Ni.hide())})]}()}},{name:"beforehide",self:!0,handler:function(){(Ni=Ni&&Ni!==this&&Ni||this.prev)||(Oi&&Oi.forEach(function(t){return t()}),Oi=null)}},{name:"show",self:!0,handler:function(){le(document.documentElement,this.clsPage)||(this.scrollbarWidth=je(window)-je(document),ge(document.body,"overflowY",this.scrollbarWidth&&this.overlay?"scroll":"")),oe(document.documentElement,this.clsPage)}},{name:"hidden",self:!0,handler:function(){for(var t,e=this.prev;e;){if(e.clsPage===this.clsPage){t=!0;break}e=e.prev}t||re(document.documentElement,this.clsPage),!this.prev&&ge(document.body,"overflowY","")}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){return this.isToggled()?Dt.resolve():(this.container&&this.$el.parentNode!==this.container&&(qt(this.container,this.$el),this._callConnected()),this.toggleNow(this.$el,!0))},hide:function(){return this.isToggled()?this.toggleNow(this.$el,!1):Dt.resolve()},getActive:function(){return Ni},_toggleImmediate:function(e,n){var i=this;return new Dt(function(t){return requestAnimationFrame(function(){i._toggle(e,n),i.transitionDuration?_t(i.transitionElement,"transitionend",t,!1,function(t){return t.target===i.transitionElement}):t()})})}}};var Mi={install:function(a){a.modal.dialog=function(t,e){var i=a.modal(' <div class="uk-modal"> <div class="uk-modal-dialog">'+t+"</div> </div> ",e);return i.show(),Tt(i.$el,"hidden",function(t){var e=t.target,n=t.currentTarget;e===n&&i.$destroy(!0)}),i},a.modal.alert=function(e,n){return n=V({bgClose:!1,escClose:!1,labels:a.modal.labels},n),new Dt(function(t){return Tt(a.modal.dialog(' <div class="uk-modal-body">'+(A(e)?e:Yt(e))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+n.labels.ok+"</button> </div> ",n).$el,"hide",t)})},a.modal.confirm=function(o,r){return r=V({bgClose:!1,escClose:!0,labels:a.modal.labels},r),new Dt(function(e,t){var n=a.modal.dialog(' <form> <div class="uk-modal-body">'+(A(o)?o:Yt(o))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+r.labels.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+r.labels.ok+"</button> </div> </form> ",r),i=!1;Tt(n.$el,"submit","form",function(t){t.preventDefault(),e(),i=!0,n.hide()}),Tt(n.$el,"hide",function(){i||t()})})},a.modal.prompt=function(t,r,s){return s=V({bgClose:!1,escClose:!0,labels:a.modal.labels},s),new Dt(function(e){var n=a.modal.dialog(' <form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(A(t)?t:Yt(t))+'</label> <input class="uk-input" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+s.labels.cancel+'</button> <button class="uk-button uk-button-primary">'+s.labels.ok+"</button> </div> </form> ",s),i=Oe("input",n.$el);i.value=r;var o=!1;Tt(n.$el,"submit","form",function(t){t.preventDefault(),e(i.value),o=!0,n.hide()}),Tt(n.$el,"hide",function(){o||e(null)})})},a.modal.labels={ok:"Ok",cancel:"Cancel"}},mixins:[Di],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler:function(){le(this.panel,"uk-margin-auto-vertical")?oe(this.$el,"uk-flex"):ge(this.$el,"display","block"),Le(this.$el)}},{name:"hidden",self:!0,handler:function(){ge(this.$el,"display",""),re(this.$el,"uk-flex")}}]};var Pi,Hi={extends:Vn,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Ii={mixins:[jn],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".uk-navbar-nav > li",align:Qe?"right":"left",clsDrop:"uk-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200},computed:{boundary:function(t,e){var n=t.boundary,i=t.boundaryAlign;return!0===n||i?e:n},dropbarAnchor:function(t,e){return et(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropdowns:function(t,e){return Be(t.dropdown+" ."+t.clsDrop,e)}},beforeConnect:function(){var t=this.$props.dropbar;this.dropbar=t&&(et(t,this.$el)||Oe("+ .uk-navbar-dropbar",this.$el)||Oe("<div></div>")),this.dropbar&&(oe(this.dropbar,"uk-navbar-dropbar"),"slide"===this.dropbarMode&&oe(this.dropbar,"uk-navbar-dropbar-slide"))},disconnected:function(){this.dropbar&&Gt(this.dropbar)},update:function(){var e=this;this.$create("drop",this.dropdowns.filter(function(t){return!e.getDropdown(t)}),V({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,n=this.getActive();n&&n.toggle&&!$t(n.toggle.$el,e)&&!n.tracker.movesTo(n.$el)&&n.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!ht(this.dropbar,":hover")&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||Xt(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",capture:!0,filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=e.dir;this.clsDrop&&oe(n,this.clsDrop+"-dropbar"),"bottom"===i&&this.transitionTo(n.offsetHeight+P(ge(n,"marginTop"))+P(ge(n,"marginBottom")),n)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=this.getActive();ht(this.dropbar,":hover")&&i&&i.$el===n&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,i=this.getActive();(!i||i&&i.$el===n)&&this.transitionTo(0)}}],methods:{getActive:function(){var t=this.dropdowns.map(this.getDropdown).filter(function(t){return t.isActive()})[0];return t&&y(t.mode,"hover")&&$t(t.toggle.$el,this.$el)&&t},transitionTo:function(t,e){var n=this.dropbar,i=yt(n)?Le(n):0;return ge(e=i<t&&e,"clip","rect(0,"+e.offsetWidth+"px,"+i+"px,0)"),Le(n,i),Ee.cancel([e,n]),Dt.all([Ee.start(n,{height:t},this.duration),Ee.start(e,{clip:"rect(0,"+e.offsetWidth+"px,"+t+"px,0)"},this.duration)]).catch(q).then(function(){return ge(e,{clip:""})})},getDropdown:function(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")}}},zi={mixins:[Di],args:"mode",props:{content:String,mode:String,flip:Boolean,overlay:Boolean},data:{content:".uk-offcanvas-content",mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContent:"uk-offcanvas-content",clsContentAnimation:"uk-offcanvas-content-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close"},computed:{content:function(t){return Oe(t.content)||document.body},clsFlip:function(t){var e=t.flip,n=t.clsFlip;return e?n:""},clsOverlay:function(t){var e=t.overlay,n=t.clsOverlay;return e?n:""},clsMode:function(t){var e=t.mode;return t.clsMode+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,n=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":n},clsContentAnimation:function(t){var e=t.mode,n=t.clsContentAnimation;return"push"!==e&&"reveal"!==e?"":n},transitionElement:function(t){return"reveal"===t.mode?this.panel.parentNode:this.panel}},update:{write:function(){this.getActive()===this&&((this.overlay||this.clsContentAnimation)&&je(this.content,je(window)-this.scrollbarWidth),this.overlay&&(Le(this.content,Le(window)),Pi&&(this.content.scrollTop=Pi.y)))},events:["resize"]},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current;e.hash&&Oe(e.hash,this.content)&&(Pi=null,this.hide())}},{name:"beforescroll",filter:function(){return this.overlay},handler:function(t,e,n){e&&n&&this.isToggled()&&Oe(n,this.content)&&(_t(this.$el,"hidden",function(){return e.scrollTo(n)}),t.preventDefault())}},{name:"show",self:!0,handler:function(){Pi=Pi||{x:window.pageXOffset,y:window.pageYOffset},"reveal"!==this.mode||le(this.panel,this.clsMode)||(Kt(this.panel,"<div>"),oe(this.panel.parentNode,this.clsMode)),ge(document.documentElement,"overflowY",(!this.clsContentAnimation||this.flip)&&this.scrollbarWidth&&this.overlay?"scroll":""),oe(document.body,this.clsContainer,this.clsFlip,this.clsOverlay),Le(document.body),oe(this.content,this.clsContentAnimation),oe(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),oe(this.$el,this.clsOverlay),ge(this.$el,"display","block"),Le(this.$el)}},{name:"hide",self:!0,handler:function(){re(this.content,this.clsContentAnimation);var t=this.getActive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&St(this.panel,"transitionend")}},{name:"hidden",self:!0,handler:function(){if("reveal"===this.mode&&Qt(this.panel),this.overlay){if(!Pi){var t=this.content,e=t.scrollLeft,n=t.scrollTop;Pi={x:e,y:n}}}else Pi={x:window.pageXOffset,y:window.pageYOffset};re(this.panel,this.clsSidebarAnimation,this.clsMode),re(this.$el,this.clsOverlay),ge(this.$el,"display",""),re(document.body,this.clsContainer,this.clsFlip,this.clsOverlay),document.body.scrollTop=Pi.y,ge(document.documentElement,"overflowY",""),je(this.content,""),Le(this.content,""),window.scroll(Pi.x,Pi.y),Pi=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&Nn(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]},Li={mixins:[jn],props:{selModal:String,selPanel:String},data:{selModal:".uk-modal",selPanel:".uk-modal-dialog"},computed:{modal:function(t,e){return dt(e,t.selModal)},panel:function(t,e){return dt(e,t.selPanel)}},connected:function(){ge(this.$el,"minHeight",150)},update:{read:function(){return!(!this.panel||!this.modal)&&{current:P(ge(this.$el,"maxHeight")),max:Math.max(150,Le(this.modal)-(He(this.panel).height-Le(this.$el)))}},write:function(t){var e=t.current,n=t.max;ge(this.$el,"maxHeight",n),Math.round(e)!==Math.round(n)&&St(this.$el,"resize")},events:["load","resize"]}},ji={props:["width","height"],connected:function(){oe(this.$el,"uk-responsive-width")},update:{read:function(){return!!(yt(this.$el)&&this.width&&this.height)&&{width:je(this.$el.parentNode),height:this.height}},write:function(t){Le(this.$el,J.contain({height:this.height,width:this.width},t).height)},events:["load","resize"]}},Fi={props:{duration:Number,offset:Number},data:{duration:1e3,offset:0},methods:{scrollTo:function(n){var i=this;n=n&&Oe(n)||document.body;var t=Le(document),e=Le(window),o=He(n).top-this.offset;if(t<o+e&&(o=t-e),St(this.$el,"beforescroll",[this,n])){var r=Date.now(),s=window.pageYOffset,a=function(){var t,e=s+(o-s)*(t=Y((Date.now()-r)/i.duration),.5*(1-Math.cos(Math.PI*t)));window.scroll(window.pageXOffset,e),e!==o?requestAnimationFrame(a):St(i.$el,"scrolled",[i,n])};a()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(mt(this.$el.hash).substr(1)))}}};var Vi={args:"cls",props:{cls:"list",target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:[],target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"}},computed:{elements:function(t,e){var n=t.target;return n?Be(n,e):[e]}},update:[{write:function(){this.hidden&&ge(kt(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(o){var r=this;o.delay&&this.elements.forEach(function(t,e){var n=o[e];if(!n||n.el!==t){var i=tt(t,"uk-scrollspy-class");n={el:t,toggles:i&&i.split(",")||r.cls}}n.show=Ue(t,r.offsetTop,r.offsetLeft),o[e]=n})},write:function(r){var s=this;if(!r.delay)return this.$emit(),r.delay=!0;var a=1===this.elements.length?1:0;this.elements.forEach(function(t,e){var n=r[e],i=n.toggles[e]||n.toggles[0];if(!n.show||n.inview||n.timer)!n.show&&n.inview&&s.repeat&&(n.timer&&(clearTimeout(n.timer),delete n.timer),ge(t,"visibility",s.hidden?"hidden":""),re(t,s.inViewClass),ce(t,i),St(t,"outview"),s.$update(t),n.inview=!1);else{var o=function(){ge(t,"visibility",""),oe(t,s.inViewClass),ce(t,i),St(t,"inview"),s.$update(t),n.inview=!0,delete n.timer};s.delay&&a?n.timer=setTimeout(o,s.delay*a):o(),a++}})},events:["scroll","load","resize"]}]},Wi={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:function(t,e){return Be('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(){return this.closest?dt(this.links,this.closest):this.links},targets:function(){return Be(this.links.map(function(t){return t.hash}).join(","))}},update:[{read:function(){this.scroll&&this.$create("scroll",this.links,{offset:this.offset||0})}},{read:function(r){var s=this,a=window.pageYOffset+this.offset+1,l=Le(document)-Le(window)+this.offset;r.active=!1,this.targets.every(function(t,e){var n=He(t).top,i=e+1===s.targets.length;if(!s.overflow&&(0===e&&a<n||i&&n+t.offsetTop<a))return!1;if(!i&&He(s.targets[e+1]).top<=a)return!0;if(l<=a)for(var o=s.targets.length-1;e<o;o--)if(Ue(s.targets[o])){t=s.targets[o];break}return!(r.active=Oe(kt(s.links,'[href="#'+t.id+'"]')))})},write:function(t){var e=t.active;this.links.forEach(function(t){return t.blur()}),re(this.elements,this.cls),e&&St(this.$el,"active",[e,oe(this.closest?dt(e,this.closest):e,this.cls)])},events:["scroll","load","resize"]}]},Ri={mixins:[jn],attrs:!0,props:{top:null,bottom:Boolean,offset:Number,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,media:"media",targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,media:!1,targetOffset:!1},computed:{selTarget:function(t,e){var n=t.selTarget;return n&&Oe(n,e)||e},widthElement:function(t,e){return et(t.widthElement,e)||this.placeholder}},connected:function(){this.placeholder=Oe("+ .uk-sticky-placeholder",this.$el)||Oe('<div class="uk-sticky-placeholder"></div>'),this.isActive||this.hide()},disconnected:function(){this.isActive&&(this.isActive=!1,this.hide(),re(this.selTarget,this.clsInactive)),Gt(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"active",self:!0,handler:function(){ae(this.selTarget,this.clsInactive,this.clsActive)}},{name:"inactive",self:!0,handler:function(){ae(this.selTarget,this.clsActive,this.clsInactive)}},{name:"load hashchange popstate",el:window,handler:function(){var i=this;if(!1!==this.targetOffset&&location.hash&&0<window.pageYOffset){var o=Oe(location.hash);o&&cn.read(function(){var t=He(o).top,e=He(i.$el).top,n=i.$el.offsetHeight;i.isActive&&t<=e+n&&e<=t+o.offsetHeight&&window.scroll(0,t-n-(O(i.targetOffset)?i.targetOffset:0)-i.offset)})}}}],update:[{read:function(){return{height:this.$el.offsetHeight,top:He(this.isActive?this.placeholder:this.$el).top}},write:function(t){var e=t.height,n=t.top,i=this.placeholder;ge(i,V({height:"absolute"!==ge(this.$el,"position")?e:""},ge(this.$el,["marginTop","marginBottom","marginLeft","marginRight"]))),$t(i,document)||(Xt(this.$el,i),G(i,"hidden","")),this.topOffset=n,this.bottomOffset=this.topOffset+e;var o=Yi("bottom",this);this.top=Math.max(P(Yi("top",this)),this.topOffset)-this.offset,this.bottom=o&&o-e,this.inactive=this.media&&!window.matchMedia(this.media).matches},events:["load","resize"]},{read:function(t,e){var n=e.scrollY;return void 0===n&&(n=window.pageYOffset),this.width=(yt(this.widthElement)?this.widthElement:this.$el).offsetWidth,{scroll:this.scroll=n,visible:yt(this.$el)}},write:function(t,e){var n=this,i=t.visible,o=t.scroll;void 0===e&&(e={});var r=e.dir;if(!(o<0||!i||this.disabled||this.showOnUp&&!r))if(this.inactive||o<this.top||this.showOnUp&&(o<=this.top||"down"===r||"up"===r&&!this.isActive&&o<=this.bottomOffset)){if(!this.isActive)return;this.isActive=!1,this.animation&&o>this.topOffset?(Ne.cancel(this.$el),Ne.out(this.$el,this.animation).then(function(){return n.hide()},q)):this.hide()}else this.isActive?this.update():this.animation?(Ne.cancel(this.$el),this.show(),Ne.in(this.$el,this.animation).catch(q)):this.show()},events:["load","resize","scroll"]}],methods:{show:function(){this.isActive=!0,this.update(),G(this.placeholder,"hidden",null)},hide:function(){this.isActive&&!le(this.selTarget,this.clsActive)||St(this.$el,"inactive"),re(this.$el,this.clsFixed,this.clsBelow),ge(this.$el,{position:"",top:"",width:""}),G(this.placeholder,"hidden","")},update:function(){var t=0!==this.top||this.scroll>this.top,e=Math.max(0,this.offset);this.bottom&&this.scroll>this.bottom-this.offset&&(e=this.bottom-this.scroll),ge(this.$el,{position:"fixed",top:e+"px",width:this.width}),le(this.selTarget,this.clsActive)?t||St(this.$el,"inactive"):t&&St(this.$el,"active"),ce(this.$el,this.clsBelow,this.scroll>this.bottomOffset),oe(this.$el,this.clsFixed)}}};function Yi(t,e){var n=e.$props,i=e.$el,o=e[t+"Offset"],r=n[t];if(r){if(O(r))return o+P(r);if(A(r)&&r.match(/^-?\d+vh$/))return Le(window)*P(r)/100;var s=!0===r?i.parentNode:et(r,i);return s?He(s).top+s.offsetHeight:void 0}}var qi,Ui={mixins:[Fn],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> *",active:0,swiping:!0,cls:"uk-active",clsContainer:"uk-switcher",attrItem:"uk-switcher-item",queued:!0},computed:{connects:function(t,e){return nt(t.connect,e)},toggles:function(t,e){return Be(t.toggle,e)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),this.show(t.current)}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(tt(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){Nn(t)&&(t.preventDefault(),window.getSelection().toString()||this.show("swipeLeft"===t.type?"next":"previous"))}}],update:function(){var e=this;this.connects.forEach(function(t){return e.updateAria(t.children)}),this.show(kt(this.toggles,"."+this.cls)[0]||this.toggles[this.active]||this.toggles[0])},methods:{index:function(){return!!this.connects.length&&Vt(kt(this.connects[0].children,"."+this.cls)[0])},show:function(t){for(var e,n=this,i=this.toggles.length,o=this.index(),r=0<=o,s="previous"===t?-1:1,a=Wt(t,this.toggles,o),l=0;l<i;l++,a=(a+s+i)%i)if(!ht(n.toggles[a],".uk-disabled, [disabled]")){e=n.toggles[a];break}!e||0<=o&&le(e,this.cls)||o===a||(re(this.toggles,this.cls),G(this.toggles,"aria-expanded",!1),oe(e,this.cls),G(e,"aria-expanded",!0),this.connects.forEach(function(t){r?n.toggleElement([t.children[o],t.children[a]]):n.toggleNow(t.children[a])}))}}},Xi={mixins:[jn],extends:Ui,props:{media:"media"},data:{media:960,attrItem:"uk-tab-item"},connected:function(){var t=le(this.$el,"uk-tab-left")?"uk-tab-left":!!le(this.$el,"uk-tab-right")&&"uk-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},Ji={mixins:[Fn],args:"target",props:{href:String,target:null,mode:"list",media:"media"},data:{href:!1,target:!1,mode:"click",queued:!0,media:!1},computed:{target:function(t,e){var n=t.href,i=t.target;return(i=nt(i||n,e)).length&&i||[e]}},events:[{name:an+" "+ln,filter:function(){return y(this.mode,"hover")},handler:function(t){Nn(t)||this.toggle("toggle"+(t.type===an?"show":"hide"))}},{name:"click",filter:function(){return y(this.mode,"click")||nn&&y(this.mode,"hover")},handler:function(t){var e;(Nn(t)||y(this.mode,"click"))&&((dt(t.target,'a[href="#"], button')||(e=dt(t.target,"a[href]"))&&(this.cls||!yt(this.target)||e.hash&&ht(this.target,e.hash)))&&_t(document,"click",function(t){return t.preventDefault()}),this.toggle())}}],update:{write:function(){if(y(this.mode,"media")&&this.media){var t=this.isToggled(this.target);(window.matchMedia(this.media).matches?!t:t)&&this.toggle()}},events:["load","resize"]},methods:{toggle:function(t){St(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}};return Ln.version="3.0.0-rc.8",(qi=Ln).component("accordion",Vn),qi.component("alert",Wn),qi.component("cover",Xn),qi.component("drop",Jn),qi.component("dropdown",Gn),qi.component("formCustom",Kn),qi.component("gif",Zn),qi.component("grid",ni),qi.component("heightMatch",ii),qi.component("heightViewport",oi),qi.component("icon",fi),qi.component("img",wi),qi.component("leader",Bi),qi.component("margin",Qn),qi.component("modal",Mi),qi.component("nav",Hi),qi.component("navbar",Ii),qi.component("offcanvas",zi),qi.component("overflowAuto",Li),qi.component("responsive",ji),qi.component("scroll",Fi),qi.component("scrollspy",Vi),qi.component("scrollspyNav",Wi),qi.component("sticky",Ri),qi.component("svg",ai),qi.component("switcher",Ui),qi.component("tab",Xi),qi.component("toggle",Ji),qi.component("video",Un),qi.component("close",mi),qi.component("marker",di),qi.component("navbarToggleIcon",di),qi.component("overlayIcon",di),qi.component("paginationNext",di),qi.component("paginationPrevious",di),qi.component("searchIcon",gi),qi.component("slidenavNext",pi),qi.component("slidenavPrevious",pi),qi.component("spinner",vi),qi.component("totop",di),qi.use(Rn),function(r){var s=r.connect,a=r.disconnect;function t(){l(document.body,s),cn.flush(),new MutationObserver(function(t){return t.forEach(e)}).observe(document,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),r._initialized=!0}function e(t){var e=t.target;("attributes"!==t.type?function(t){for(var e=t.addedNodes,n=t.removedNodes,i=0;i<e.length;i++)l(e[i],s);for(var o=0;o<n.length;o++)l(n[o],a);return!0}(t):function(t){var e=t.target,n=t.attributeName;if("href"===n)return!0;var i=Mn(n);if(i&&i in r){if(K(e,n))return r[i](e),!0;var o=r.getComponent(e,i);return o?(o.$destroy(),!0):void 0}}(t))&&r.update(e)}function l(t,e){if(1===t.nodeType&&!K(t,"uk-no-boot"))for(e(t),t=t.firstElementChild;t;){var n=t.nextElementSibling;l(t,e),t=n}}"MutationObserver"in window&&(document.body?t():new MutationObserver(function(){document.body&&(this.disconnect(),t())}).observe(document,{childList:!0,subtree:!0}))}(Ln),Ln});