/*! UIkit 3.0.0-beta.40 | 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 t(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}var e=Object.prototype.hasOwnProperty;function i(t,i){return e.call(t,i)}var n=/([a-z\d])([A-Z])/g;function o(t){return t.replace(n,"$1-$2").toLowerCase()}var r=/-(\w)/g;function s(t){return t.replace(r,a)}function a(t,e){return e?e.toUpperCase():""}function l(t){return t.length?a(0,t.charAt(0))+t.slice(1):""}var h=String.prototype,u=h.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function c(t,e){return u.call(t,e)}var d=h.endsWith||function(t){return this.substr(-t.length)===t};function f(t,e){return d.call(t,e)}var p=function(t){return~this.indexOf(t)},m=h.includes||p,g=Array.prototype.includes||p;function v(t,e){return t&&(S(t)?m:g).call(t,e)}var w=Array.isArray;function b(t){return"function"==typeof t}function y(t){return null!==t&&"object"==typeof t}function x(t){return y(t)&&Object.getPrototypeOf(t)===Object.prototype}function k(t){return y(t)&&t===t.window}function $(t){return y(t)&&9===t.nodeType}function I(t){return y(t)&&!!t.jquery}function T(t){return t instanceof Node||y(t)&&1===t.nodeType}function C(t){return t instanceof NodeList||t instanceof HTMLCollection}function E(t){return"boolean"==typeof t}function S(t){return"string"==typeof t}function _(t){return"number"==typeof t}function A(t){return _(t)||S(t)&&!isNaN(t-parseFloat(t))}function N(t){return void 0===t}function D(t){return E(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function M(t){var e=Number(t);return!isNaN(e)&&e}function B(t){return parseFloat(t)||0}function O(t){return T(t)||k(t)||$(t)?t:C(t)||I(t)?t[0]:w(t)?O(t[0]):null}var P=Array.prototype;function H(t){return T(t)?[t]:C(t)?P.slice.call(t):w(t)?t.map(O).filter(Boolean):I(t)?t.toArray():[]}function z(t){return w(t)?t:S(t)?t.split(/,(?![^(]*\))/).map(function(t){return A(t)?M(t):D(t.trim())}):[t]}function W(t){return t?f(t,"ms")?B(t):1e3*B(t):0}function L(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}var j=Object.assign||function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];t=Object(t);for(var o=0;oe[o]?i.ratio(t,o,e[o]):t}),t},cover:function(t,e){var i=this;return F(t=this.contain(t,e),function(n,o){return t=t[o]+~]/,Tt=/([!>+~])(?=\s+[!>+~]|\s*$)/g;function Ct(t){return S(t)&&t.match(It)}var Et=Element.prototype,St=Et.matches||Et.webkitMatchesSelector||Et.msMatchesSelector;function _t(t,e){return H(t).some(function(t){return St.call(t,e)})}var At=Et.closest||function(t){var e=this;do{if(_t(e,t))return e;e=e.parentNode}while(e&&1===e.nodeType)};function Nt(t,e){return c(e,">")&&(e=e.slice(1)),T(t)?t.parentNode&&At.call(t,e):H(t).map(function(t){return t.parentNode&&At.call(t,e)}).filter(Boolean)}function Dt(t,e){for(var i=[],n=O(t).parentNode;n&&1===n.nodeType;)_t(n,e)&&i.push(n),n=n.parentNode;return i}var Mt=ot.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function Bt(t){return S(t)?Mt.call(null,t):""}var Ot={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 Pt(t){return H(t).some(function(t){return Ot[t.tagName.toLowerCase()]})}function Ht(t){return H(t).some(function(t){return t.offsetHeight||t.getBoundingClientRect().height})}var zt="input,select,textarea,button";function Wt(t){return H(t).some(function(t){return _t(t,zt)})}function Lt(t,e){return H(t).filter(function(t){return _t(t,e)})}function jt(t,e){return S(e)?_t(t,e)||Nt(t,e):t===e||O(e).contains(O(t))}function Ft(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,n=Ut(t),o=n[0],r=n[1],s=n[2],a=n[3],l=n[4];return o=Jt(o),s&&(a=function(t,e,i){var n=this;return function(o){var r=o.target,s=">"===e[0]?kt(e,t).reverse().filter(function(t){return jt(r,t)})[0]:Nt(r,e);s&&(o.delegate=t,o.current=s,i.call(n,o))}}(o,s,a)),a.length>1&&(i=a,a=function(t){return w(t.detail)?i.apply(i,[t].concat(t.detail)):i(t)}),r.split(" ").forEach(function(t){return o&&o.addEventListener(t,a,l)}),function(){return Vt(o,r,a,l)}}function Vt(t,e,i,n){void 0===n&&(n=!1),(t=Jt(t))&&e.split(" ").forEach(function(e){return t.removeEventListener(e,i,n)})}function Rt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Ut(t),n=i[0],o=i[1],r=i[2],s=i[3],a=i[4],l=i[5],h=Ft(n,o,r,function(t){var e=!l||l(t);e&&(h(),s(t,e))},a);return h}function Yt(t,e,i){return Gt(t).reduce(function(t,n){return t&&n.dispatchEvent(qt(e,!0,!0,i))},!0)}function qt(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),S(t)){var o=document.createEvent("CustomEvent");o.initCustomEvent(t,e,i,n),t=o}return t}function Ut(t){return S(t[0])&&(t[0]=xt(t[0])),b(t[2])&&t.splice(2,0,!1),t}function Xt(t){return"EventTarget"in window?t instanceof EventTarget:t&&"addEventListener"in t}function Jt(t){return Xt(t)?t:O(t)}function Gt(t){return Xt(t)?[t]:w(t)?t.map(Jt).filter(Boolean):H(t)}function Zt(t,e){return new K(function(i,n){var o=j({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:R,responseType:""},e);o.beforeSend(o);var r=o.xhr;for(var s in o)if(s in r)try{r[s]=o[s]}catch(t){}for(var a in r.open(o.method.toUpperCase(),t),o.headers)r.setRequestHeader(a,o.headers[a]);Ft(r,"load",function(){0===r.status||r.status>=200&&r.status<300||304===r.status?i(r):n(j(Error(r.statusText),{xhr:r,status:r.status}))}),Ft(r,"error",function(){return n(j(Error("Network Error"),{xhr:r}))}),Ft(r,"timeout",function(){return n(j(Error("Network Timeout"),{xhr:r}))}),r.send(o.data)})}function Qt(){return"complete"===rt.readyState||"loading"!==rt.readyState&&!st.doScroll}function Kt(t){if(Qt())t();else var e=function(){i(),n(),t()},i=Ft(rt,"DOMContentLoaded",e),n=Ft(ot,"load",e)}function te(t,e){return e?H(t).indexOf(O(e)):H((t=O(t))&&t.parentNode.children).indexOf(t)}function ee(t,e,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var o=(e=H(e)).length;return t=A(t)?M(t):"next"===t?i+1:"previous"===t?i-1:te(e,t),n?V(t,0,o-1):(t%=o)<0?t+o:t}function ie(t){return(t=O(t)).innerHTML="",t}function ne(t,e){return t=O(t),N(e)?t.innerHTML:oe(t.hasChildNodes()?ie(t):t,e)}function oe(t,e){return t=O(t),ae(e,function(e){return t.appendChild(e)})}function re(t,e){return t=O(t),ae(e,function(e){return t.parentNode.insertBefore(e,t)})}function se(t,e){return t=O(t),ae(e,function(e){return t.nextSibling?re(t.nextSibling,e):oe(t.parentNode,e)})}function ae(t,e){return(t=S(t)?pe(t):t)?"length"in t?H(t).map(e):e(t):null}function le(t){H(t).map(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function he(t,e){for(e=O(re(t,e));e.firstChild;)e=e.firstChild;return oe(e,t),e}function ue(t,e){return H(H(t).map(function(t){return t.hasChildNodes?he(H(t.childNodes),e):oe(t,e)}))}function ce(t){H(t).map(function(t){return t.parentNode}).filter(function(t,e,i){return i.indexOf(t)===e}).forEach(function(t){re(t,t.childNodes),le(t)})}var de=/^\s*<(\w+|!)[^>]*>/,fe=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function pe(t){var e=fe.exec(t);if(e)return rt.createElement(e[1]);var i=rt.createElement("div");return de.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,i.childNodes.length>1?H(i.childNodes):i.firstChild}function me(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];xe(t,e,"add")}function ge(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];xe(t,e,"remove")}function ve(t,e){Z(t,"class",new RegExp("(^|\\s)"+e+"(?!\\S)","g"),"")}function we(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];e[0]&&ge(t,e[0]),e[1]&&me(t,e[1])}function be(t,e){return wt.ClassList&&H(t).some(function(t){return t.classList.contains(e)})}function ye(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(wt.ClassList&&e.length){var n=S((e=ke(e))[e.length-1])?[]:e.pop();e=e.filter(Boolean),H(t).forEach(function(t){for(var i=t.classList,o=0;oa[f]){var g=h[e]/2,w="center"===n[r]?-u[e]/2:0;"center"===i[r]&&(b(g,w)||b(-g,-w))||b(p,m)}}function b(t,i){var n=c[d]+t+i-2*o[r];if(n>=a[d]&&n+h[e]<=a[f])return c[d]=n,["element","target"].forEach(function(i){l[i][r]=t?l[i][r]===Ve[e][1]?Ve[e][2]:Ve[e][1]:l[i][r]}),!0}}),Ye(t,c),l}function Ye(t,e){if(t=O(t),!e)return qe(t);var i=Ye(t),n=Ie(t,"position");["left","top"].forEach(function(o){if(o in e){var r=Ie(t,o);t.style[o]=e[o]-i[o]+B("absolute"===n&&"auto"===r?Ue(t)[o]:r)+"px"}})}function qe(t){var e=ni(t=O(t)),i=e.pageYOffset,n=e.pageXOffset;if(k(t)){var o=t.innerHeight,r=t.innerWidth;return{top:i,left:n,height:o,width:r,bottom:i+o,right:n+r}}var s=!1;Ht(t)||(s=t.style.display,t.style.display="block");var a=t.getBoundingClientRect();return!1!==s&&(t.style.display=s),{height:a.height,width:a.width,top:a.top+i,left:a.left+n,bottom:a.bottom+i,right:a.right+n}}function Ue(t){var e=function(t){var e=O(t).offsetParent;for(;e&&"static"===Ie(e,"position");)e=e.offsetParent;return e||ri(t)}(t=O(t)),i=e===ri(t)?{top:0,left:0}:Ye(e),n=["top","left"].reduce(function(n,o){var r=l(o);return n[o]-=i[o]+(B(Ie(t,"margin"+r))||0)+(B(Ie(e,"border"+r+"Width"))||0),n},Ye(t));return{top:n.top,left:n.left}}var Xe=Ge("height"),Je=Ge("width");function Ge(t){var e=l(t);return function(i,n){if(i=O(i),N(n)){if(k(i))return i["inner"+e];if($(i)){var o=i.documentElement;return Math.max(o.offsetHeight,o.scrollHeight)}return n="auto"===(n=Ie(i,t))?i["offset"+e]:B(n)||0,Ze(t,i,n)}Ie(i,t,n||0===n?Ze(t,i,n)+"px":"")}}function Ze(t,e,i){return"border-box"===Ie(e,"boxSizing")?Ve[t].slice(1).map(l).reduce(function(t,i){return t-B(Ie(e,"padding"+i))-B(Ie(e,"border"+i+"Width"))},i):i}function Qe(t,e,i,n){F(Ve,function(o,r){var s=o[0],a=o[1],l=o[2];e[s]===l?t[a]+=i[r]*n:"center"===e[s]&&(t[a]+=i[r]*n/2)})}function Ke(t){var e=/left|center|right/,i=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat(["center"]):i.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:i.test(t[1])?t[1]:"center"}}function ti(t,e,i){var n=(t||"").split(" "),o=n[0],r=n[1];return{x:o?B(o)*(f(o,"%")?e/100:1):0,y:r?B(r)*(f(r,"%")?i/100:1):0}}function ei(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function ii(t,e,i){void 0===e&&(e=0),void 0===i&&(i=0);var n=ni(t=O(t));return Y(t.getBoundingClientRect(),{top:e,left:i,bottom:e+Xe(n),right:i+Je(n)})}function ni(t){return k(t)?t:oi(t).defaultView}function oi(t){return O(t).ownerDocument}function ri(t){return oi(t).documentElement}var si={reads:[],writes:[],read:function(t){return this.reads.push(t),ai(),t},write:function(t){return this.writes.push(t),ai(),t},clear:function(t){return hi(this.reads,t)||hi(this.writes,t)},flush:function(){li(this.reads),li(this.writes.splice(0,this.writes.length)),this.scheduled=!1,(this.reads.length||this.writes.length)&&ai()}};function ai(){si.scheduled||(si.scheduled=!0,requestAnimationFrame(si.flush.bind(si)))}function li(t){for(var e;e=t.shift();)e()}function hi(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}function ui(){}function ci(t,e){return(e.y-t.y)/(e.x-t.x)}ui.prototype={positions:[],position:null,init:function(){var t=this;this.positions=[],this.position=null;var e=!1;this.unbind=Ft(rt,"mousemove",function(i){e||(setTimeout(function(){var n=Date.now(),o=t.positions.length;o&&n-t.positions[o-1].time>100&&t.positions.splice(0,o),t.positions.push({time:n,x:i.pageX,y:i.pageY}),t.positions.length>5&&t.positions.shift(),e=!1},5),e=!0)})},cancel:function(){this.unbind&&this.unbind()},movesTo:function(t){if(this.positions.length<2)return!1;var e=Ye(t),i=this.positions[this.positions.length-1],n=this.positions[0];if(e.left<=i.x&&i.x<=e.right&&e.top<=i.y&&i.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<=i.x||(e.left>=i.x?(o[0].reverse(),o[1].reverse()):e.bottom<=i.y?o[0].reverse():e.top>=i.y&&o[1].reverse()),!!o.reduce(function(t,e){return t+(ci(n,e[0])ci(i,e[1]))},0)}};var di={};di.args=di.events=di.init=di.created=di.beforeConnect=di.connected=di.ready=di.beforeDisconnect=di.disconnected=di.destroy=function(t,e){return t=t&&!w(t)?[t]:t,e?t?t.concat(e):w(e)?e:[e]:t},di.update=function(t,e){return di.args(t,b(e)?{read:e}:e)},di.props=function(t,e){return w(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),di.methods(t,e)},di.computed=di.defaults=di.methods=function(t,e){return e?t?j({},t,e):e:t};var fi=function(t,e){return N(e)?t:e};function pi(t,e){var n={};if(e.mixins)for(var o=0,r=e.mixins.length;o0)}),Ft(rt,ft,function(t){if(!t.defaultPrevented){var e=Ci(t),i=e.x,n=e.y;ki.x2=i,ki.y2=n}}),Ft(rt,pt,function(t){var e=t.type,i=t.target;ki.type===Ei(e)&&(ki.x2&&Math.abs(ki.x1-ki.x2)>30||ki.y2&&Math.abs(ki.y1-ki.y2)>30?bi=setTimeout(function(){var t,e,i,n,o;ki.el&&(Yt(ki.el,"swipe"),Yt(ki.el,"swipe"+(e=(t=ki).x1,i=t.x2,n=t.y1,o=t.y2,Math.abs(e-i)>=Math.abs(n-o)?e-i>0?"Left":"Right":n-o>0?"Up":"Down"))),ki={}}):"last"in ki?(yi=setTimeout(function(){return Yt(ki.el,"tap")}),ki.el&&"mouseup"!==e&&jt(i,ki.el)&&(wi=setTimeout(function(){wi=null,ki.el&&!xi&&Yt(ki.el,"click"),ki={}},350))):ki={})}),Ft(rt,"touchcancel",$i),Ft(ot,"scroll",$i)});var Ii=!1;function Ti(t){return Ii||"touch"===t.pointerType}function Ci(t){var e=t.touches,i=t.changedTouches,n=e&&e[0]||i&&i[0]||t;return{x:n.pageX,y:n.pageY}}function Ei(t){return t.slice(0,5)}Ft(rt,"touchstart",function(){return Ii=!0},!0),Ft(rt,"click",function(){Ii=!1}),Ft(rt,"touchcancel",function(){return Ii=!1},!0);var Si=Object.freeze({ajax:Zt,transition:Me,Transition:Be,animate:He,Animation:We,attr:X,hasAttr:J,removeAttr:G,filterAttr:Z,data:Q,addClass:me,removeClass:ge,removeClasses:ve,replaceClass:we,hasClass:be,toggleClass:ye,$:Le,$$:je,positionAt:Re,offset:Ye,position:Ue,height:Xe,width:Je,flipPosition:ei,isInView:ii,scrolledOver:function(t){var e=ni(t=O(t)),i=oi(t),n=t.offsetHeight,o=function(t){var e=0;do{e+=t.offsetTop}while(t=t.offsetParent);return e}(t),r=Xe(e),s=r+Math.min(0,o-r),a=Math.max(0,r-(Xe(i)-(o+n)));return V((s+e.pageYOffset-o)/((s+(n-(ai[e]?1:i[e]>t[e]?-1:0})},clamp:V,noop:R,intersectRect:Y,pointInRect:q,Dimensions:U,MouseTracker:ui,mergeOptions:pi,Player:gi,Promise:K,Deferred:function(){var t=this;this.promise=new K(function(e,i){t.reject=i,t.resolve=e})},query:bt,queryAll:yt,find:xt,findAll:kt,matches:_t,closest:Nt,parents:Dt,escape:Bt,css:Ie,getStyles:Te,getStyle:Ce,getCssVar:Se,propName:Ae,isTouch:Ti,getPos:Ci});function _i(t){return!(!c(t,"uk-")&&!c(t,"data-uk-"))&&s(t.replace("data-uk-","").replace("uk-",""))}var Ai,Ni,Di,Mi,Bi,Oi=function(t){this._init(t)};Oi.util=Si,Oi.data="__uikit__",Oi.prefix="uk-",Oi.options={},Oi.instances={},Oi.elements=[],function(t){var e,i=t.data;function n(t,e){if(t)for(var i in t)t[i]._isReady&&t[i]._callUpdate(e)}t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(e,i){i=(S(i)?t.components[i]:i)||this,(e=pi({},e)).mixins=i.options.mixins,delete i.options.mixins,i.options=pi(e,i.options)},t.extend=function(t){t=t||{};var e=function(t){this._init(t)};return(e.prototype=Object.create(this.prototype)).constructor=e,e.options=pi(this.options,t),e.super=this,e.extend=this.extend,e},t.update=function(e,o,r){if(void 0===r&&(r=!1),e=qt(e||"update"),o)if(o=O(o),r)do{n(o[i],e),o=o.parentNode}while(o);else!function t(e,i){if(1===e.nodeType)for(i(e),e=e.firstElementChild;e;)t(e,i),e=e.nextElementSibling}(o,function(t){return n(t[i],e)});else n(t.instances,e)},Object.defineProperty(t,"container",{get:function(){return e||rt.body},set:function(t){e=Le(t)}})}(Oi),(Ai=Oi).prototype._callHook=function(t){var e=this,i=this.$options[t];i&&i.forEach(function(t){return t.call(e)})},Ai.prototype._callConnected=function(){var t=this;this._connected||(v(Ai.elements,this.$options.el)||Ai.elements.push(this.$options.el),Ai.instances[this._uid]=this,this._data={},this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObserver(),this._callHook("connected"),this._isReady||Kt(function(){return t._callReady()}),this._callUpdate())},Ai.prototype._callDisconnected=function(){if(this._connected){this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null);var t=Ai.elements.indexOf(this.$options.el);~t&&Ai.elements.splice(t,1),delete Ai.instances[this._uid],this._unbindEvents(),this._callHook("disconnected"),this._connected=!1}},Ai.prototype._callReady=function(){this._isReady||(this._isReady=!0,this._callHook("ready"),this._resetComputeds(),this._callUpdate())},Ai.prototype._callUpdate=function(t){var e=this,i=(t=qt(t||"update")).type;v(["update","load","resize"],i)&&this._resetComputeds();var n=this.$options.update,o=this._frames,r=o.reads,s=o.writes;n&&n.forEach(function(n,o){var a=n.read,l=n.write,h=n.events;("update"===i||v(h,i))&&(a&&!v(si.reads,r[o])&&(r[o]=si.read(function(){var i=a.call(e,e._data,t);!1===i&&l?(si.clear(s[o]),delete s[o]):x(i)&&j(e._data,i),delete r[o]})),l&&!v(si.writes,s[o])&&(s[o]=si.write(function(){l.call(e,e._data,t),delete s[o]})))})},function(e){var n=0;function r(t,e){var i={},n=t.args;void 0===n&&(n=[]);var r=t.props;void 0===r&&(r={});var a=t.el;if(!r)return i;for(var l in r){var h=o(l);if(J(a,h)){var d=u(r[l],X(a,h),a);if("target"===h&&(!d||c(d,"_")))continue;i[l]=d}}var f=function(t,e){var i;void 0===e&&(e=[]);try{return t?c(t,"{")?JSON.parse(t):e.length&&!v(t,":")?((i={})[e[0]]=t,i):t.split(";").reduce(function(t,e){var i=e.split(/:(.+)/),n=i[0],o=i[1];return n&&o&&(t[n.trim()]=o.trim()),t},{}):{}}catch(t){return{}}}(Q(a,e),n);for(var p in f){var m=s(p);void 0!==r[m]&&(i[m]=u(r[m],f[p],a))}return i}function a(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get:function(){var o=t._computeds,r=t.$props,s=t.$el;return i(o,e)||(o[e]=n.call(t,r,s)),o[e]},set:function(i){t._computeds[e]=i}})}function l(e,i,n){x(i)||(i={name:n,handler:i});var o,r,s=i.name,a=i.el,h=i.handler,u=i.capture,c=i.delegate,d=i.filter,f=i.self;a=b(a)?a.call(e):a||e.$el,w(a)?a.forEach(function(t){return l(e,j({},i,{el:t}),n)}):!a||d&&!d.call(e)||(o=S(h)?e[h]:t(h,e),h=function(t){return w(t.detail)?o.apply(void 0,[t].concat(t.detail)):o(t)},f&&(r=h,h=function(t){if(t.target===t.currentTarget||t.target===t.current)return r.call(null,t)}),e._events.push(Ft(a,s,c?S(c)?c:c.call(e):null,h,u)))}function h(t,e){return t.every(function(t){return!t||!i(t,e)})}function u(t,e,i){return t===Boolean?D(e):t===Number?M(e):"query"===t?bt(e,i):"list"===t?z(e):"media"===t?function(t){if(S(t))if("@"===t[0]){var e="media-"+t.substr(1);t=B(Se(e))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(e):t?t(e):e}e.prototype.props={},e.prototype._init=function(t){t=t||{},t=this.$options=pi(this.constructor.options,t),this.$el=null,this.$name=e.prefix+o(this.$options.name),this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=n++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},e.prototype._initData=function(){var t=this.$options,e=t.defaults,n=t.data;void 0===n&&(n={});var o=t.args;void 0===o&&(o=[]);var r=t.props;void 0===r&&(r={});var s=t.el;for(var a in o.length&&w(n)&&(n=n.slice(0,o.length).reduce(function(t,e,i){return x(e)?j(t,e):t[o[i]]=e,t},{})),j({},e,r))this.$props[a]=this[a]=i(n,a)&&!N(n[a])?u(r[a],n[a],s):e?e[a]&&w(e[a])?e[a].concat():e[a]:null},e.prototype._initMethods=function(){var e=this.$options.methods;if(e)for(var i in e)this[i]=t(e[i],this)},e.prototype._initComputeds=function(){var t=this.$options.computed;if(this._resetComputeds(),t)for(var e in t)a(this,e,t[e])},e.prototype._resetComputeds=function(){this._computeds={}},e.prototype._initProps=function(t){var e;for(e in this._resetComputeds(),t=t||r(this.$options,this.$name))N(t[e])||(this.$props[e]=t[e]);var i=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&h(i,e)&&(this[e]=this.$props[e])},e.prototype._initEvents=function(){var t=this,e=this.$options.events;e&&e.forEach(function(e){if(i(e,"handler"))l(t,e);else for(var n in e)l(t,e[n],n)})},e.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),this._events=[]},e.prototype._initObserver=function(){var t=this,e=this.$options,i=e.attrs,n=e.props,s=e.el;!this._observer&&n&&i&<&&(i=w(i)?i:Object.keys(n).map(function(t){return o(t)}),this._observer=new lt(function(){var e=r(t.$options,t.$name);i.some(function(i){return!N(e[i])&&e[i]!==t.$props[i]})&&t.$reset(e)}),this._observer.observe(s,{attributes:!0,attributeFilter:i.concat([this.$name,"data-"+this.$name])}))}}(Oi),Di=(Ni=Oi).data,Ni.prototype.$mount=function(t){var e=this.$options.name;t[Di]||(t[Di]={}),t[Di][e]||(t[Di][e]=this,this.$el=this.$options.el=this.$options.el||t,this._initProps(),this._callHook("init"),jt(t,st)&&this._callConnected())},Ni.prototype.$emit=function(t){this._callUpdate(t)},Ni.prototype.$update=function(t,e){Ni.update(t,this.$options.el,e)},Ni.prototype.$reset=function(t){this._callDisconnected(),this._initProps(t),this._callConnected()},Ni.prototype.$destroy=function(t){void 0===t&&(t=!1);var e=this.$options,i=e.el,n=e.name;i&&this._callDisconnected(),this._callHook("destroy"),i&&i[Di]&&(delete i[Di][n],Object.keys(i[Di]).length||delete i[Di],t&&le(this.$el))},Bi=(Mi=Oi).data,Mi.components={},Mi.component=function(t,e){var i=s(t);if(x(e))e.name=i,e=Mi.extend(e);else{if(N(e))return Mi.components[i];e.options.name=i}return Mi.components[i]=e,Mi[i]=function(t,e){for(var n=arguments.length,o=Array(n);n--;)o[n]=arguments[n];return x(t)?new Mi.components[i]({data:t}):Mi.components[i].options.functional?new Mi.components[i]({data:[].concat(o)}):t&&t.nodeType?r(t):je(t).map(r)[0];function r(t){var n=Mi.getComponent(t,i);return n&&e&&n.$reset(e),n||new Mi.components[i]({el:t,data:e||{}})}},Mi._initialized&&!e.options.functional&&si.read(function(){return Mi[i]("[uk-"+t+"],[data-uk-"+t+"]")}),Mi.components[i]},Mi.getComponents=function(t){return t&&(t=I(t)?t[0]:t)&&t[Bi]||{}},Mi.getComponent=function(t,e){return Mi.getComponents(t)[e]},Mi.connect=function(t){if(t[Bi])for(var e in t[Bi])t[Bi][e]._callConnected();for(var i=0;i *",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 je(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(te(je(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],connected:function(){if(!1!==this.active){var t=this.items[Number(this.active)];t&&!be(t,this.clsOpen)&&this.toggle(t,!1)}},update:function(){var t=this;this.items.forEach(function(e){return t._toggleImmediate(Le(t.content,e),be(e,t.clsOpen))});var e=!this.collapsible&&!be(this.items,this.clsOpen)&&this.items[0];e&&this.toggle(e,!1)},methods:{toggle:function(t,e){var i=this,n=ee(t,this.items),o=Lt(this.items,"."+this.clsOpen);(t=this.items[n])&&[t].concat(!this.multiple&&!v(o,t)&&o||[]).forEach(function(n){var r=n===t,s=r&&!be(n,i.clsOpen);if(s||!r||i.collapsible||!(o.length<2)){ye(n,i.clsOpen,s);var a=n._wrapper?n._wrapper.firstElementChild:Le(i.content,n);n._wrapper||(n._wrapper=he(a,"
"),X(n._wrapper,"hidden",s?"":null)),i._toggleImmediate(a,!0),i.toggleElement(n._wrapper,s,e).then(function(){be(n,i.clsOpen)===s&&(s||i._toggleImmediate(a,!1),n._wrapper=null,ce(a))})}})}}})}function Ri(t){t.component("alert",{attrs:!0,mixins:[zi,Li],args:"animation",props:{close:String},defaults:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:j({opacity:0},Li.defaults.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 Yi(t){Kt(function(){var e=0,i=0;if(Ft(ot,"load resize",t.update),Ft(ot,"scroll",function(i){i.dir=e<=ot.pageYOffset?"down":"up",i.scrollY=e=ot.pageYOffset,t.update(i)}),Ft(rt,"animationstart",function(t){var e=t.target;(Ie(e,"animationName")||"").match(/^uk-.*(left|right)/)&&(i++,rt.body.style.overflowX="hidden",setTimeout(function(){--i||(rt.body.style.overflowX="")},W(Ie(e,"animationDuration"))+100))},!0),ct){var n="uk-hover";Ft(rt,"tap",function(t){var e=t.target;return je("."+n).forEach(function(t){return!jt(e,t)&&ge(t,n)})}),Object.defineProperty(t,"hoverSelector",{set:function(t){Ft(rt,"tap",t,function(t){return me(t.current,n)})}}),t.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})}function qi(t){t.component("cover",{mixins:[zi,t.components.video.options],props:{width:Number,height:Number},defaults:{automute:!0},update:{write:function(){var t=this.$el;if(Ht(t)){var e=t.parentNode,i=e.offsetHeight,n=e.offsetWidth;Ie(Ie(t,{width:"",height:""}),U.cover({width:this.width||t.clientWidth,height:this.height||t.clientHeight},{width:n+(n%2?1:0),height:i+(i%2?1:0)}))}},events:["load","resize"]},events:{loadedmetadata:function(){this.$emit()}}})}function Ui(t){var e,i;t.component("drop",{mixins:[Fi,Li],args:"pos",props:{mode:"list",toggle:Boolean,boundary:"query",boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},defaults:{mode:["click","hover"],toggle:!0,boundary:ot,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},computed:{clsDrop:function(t){var e=t.clsDrop;return e||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},init:function(){this.tracker=new ui,me(this.$el,this.clsDrop)},connected:function(){var e=this.$props.toggle;this.toggle=e&&t.toggle(S(e)?bt(e,this.$el):this.$el.previousElementSibling,{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&&jt(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:mt,filter:function(){return v(this.mode,"hover")},handler:function(t){Ti(t)||(e&&e!==this&&e.toggle&&v(e.toggle.mode,"hover")&&!jt(t.target,e.toggle.$el)&&!q({x:t.pageX,y:t.pageY},Ye(e.$el))&&e.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!v(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+gt,handler:function(t,e){Ti(t)||e&&!v(e.target,this.$el)||(t.preventDefault(),this.toggle&&v(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers(),this.position()}},{name:"show",self:!0,handler:function(){this.tracker.init(),me(this.toggle.$el,this.cls),X(this.toggle.$el,"aria-expanded","true"),function(){if(i)return;i=!0,Ft(st,"click",function(t){var i,n=t.target,o=t.defaultPrevented;if(!o)for(;e&&e!==i&&!jt(n,e.$el)&&(!e.toggle||!jt(n,e.toggle.$el));)i=e,e.hide(!1)})}()}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var i=t.target;this.$el===i?(e=this.isActive()?null:e,ge(this.toggle.$el,this.cls),X(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),je("a, button",this.toggle.$el).forEach(function(t){return t.blur()}),this.tracker.cancel()):e=null===e&&jt(i,this.$el)&&this.isToggled()?this:e}}],update:{write:function(){this.isToggled()&&!We.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(t,i){var n=this;void 0===i&&(i=!0);var o=function(){return!n.isToggled()&&n.toggleElement(n.$el,!0)},r=function(){if(n.toggle=t||n.toggle,n.clearTimers(),!n.isActive())if(i&&e&&e!==n&&e.isDelaying)n.showTimer=setTimeout(n.show,10);else{if(n.isParentOf(e)){if(!e.hideTimer)return;e.hide(!1)}else if(e&&!n.isChildOf(e)&&!n.isParentOf(e))for(var r;e&&e!==r&&!n.isChildOf(e);)r=e,e.hide(!1);i&&n.delayShow?n.showTimer=setTimeout(o,n.delayShow):o(),e=n}};t&&this.toggle&&t.$el!==this.toggle.$el?(Rt(this.$el,"hide",r),this.hide(!1)):r()},hide:function(t){var e=this;void 0===t&&(t=!0);var i=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(i,this.delayHide):i()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return e===this},isChildOf:function(t){return t&&t!==this&&jt(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&jt(t.$el,this.$el)},position:function(){ve(this.$el,this.clsDrop+"-(stack|boundary)"),Ie(this.$el,{top:"",left:"",display:"block"}),ye(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=Ye(this.boundary),e=this.boundaryAlign?t:Ye(this.toggle.$el);if("justify"===this.align){var i="y"===this.getAxis()?"width":"height";Ie(this.$el,i,e[i])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&me(this.$el,this.clsDrop+"-stack");this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),Ie(this.$el,"display","")}}}),t.drop.getActive=function(){return e}}function Xi(t){t.component("dropdown",t.components.drop.extend({name:"dropdown"}))}function Ji(t){t.component("form-custom",{mixins:[zi],args:"target",props:{target:Boolean},defaults:{target:!1},computed:{input:function(t,e){return Le(zt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){var i=t.target;return i&&(!0===i&&this.input.parentNode===e&&this.input.nextElementSibling||bt(i,e))}},update:function(){var t,e=this.target,i=this.input;e&&(e[Wt(e)?"value":"textContent"]=i.files&&i.files[0]?i.files[0].name:_t(i,"select")&&(t=je("option",i).filter(function(t){return t.selected})[0])?t.textContent:i.value)},events:[{name:"focusin focusout mouseenter mouseleave",delegate:zt,handler:function(t){var e=t.type;t.current===this.input&&ye(this.state,"uk-"+(v(e,"focus")?"focus":"hover"),v(["focusin","mouseenter"],e))}},{name:"change",handler:function(){this.$emit()}}]})}function Gi(t){t.component("gif",{update:{read:function(t){var e=ii(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","load","resize"]}})}function Zi(t){t.component("grid",t.components.margin.extend({mixins:[zi],name:"grid",defaults:{margin:"uk-grid-margin",clsStack:"uk-grid-stack"},update:{write:function(t){var e=t.stacks;ye(this.$el,this.clsStack,e)},events:["load","resize"]}}))}function Qi(t){t.component("height-match",{args:"target",props:{target:String,row:Boolean},defaults:{target:"> *",row:!0},computed:{elements:function(t,e){return je(t.target,e)}},update:{read:function(){var t=this,e=!1;return Ie(this.elements,"minHeight",""),{rows:this.row?this.elements.reduce(function(t,i){return e!==i.offsetTop?t.push([i]):t[t.length-1].push(i),e=i.offsetTop,t},[]).map(function(e){return t.match(e)}):[this.match(this.elements)]}},write:function(t){t.rows.forEach(function(t){var e=t.height;return Ie(t.elements,"minHeight",e)})},events:["load","resize"]},methods:{match:function(t){if(t.length<2)return{};var e=[],i=0;return t.forEach(function(t){var n,o;Ht(t)||(n=X(t,"style"),o=X(t,"hidden"),X(t,{style:(n||"")+";display:block !important;",hidden:null})),i=Math.max(i,t.offsetHeight),e.push(t.offsetHeight),N(n)||X(t,{style:n,hidden:o})}),t=t.filter(function(t,n){return e[n]0&&(t=e(this.$el)+o)}else{var r=Ye(this.$el).top;rs&&Ie(this.$el,"minHeight",this.minHeight),i-n>=s&&Ie(this.$el,"height",t)}},events:["load","resize"]}})}var tn,en='',nn='',on='',rn='',sn='',an='',ln='',hn='',un='',cn='',dn='',fn='',pn='',mn='',gn='',vn='';function wn(t){var e={},i={spinner:gn,totop:vn,marker:on,"close-icon":en,"close-large":nn,"navbar-toggle-icon":rn,"overlay-icon":sn,"pagination-next":an,"pagination-previous":ln,"search-icon":hn,"search-large":un,"search-navbar":cn,"slidenav-next":dn,"slidenav-next-large":fn,"slidenav-previous":pn,"slidenav-previous-large":mn};function n(e,i){t.component(e,t.components.icon.extend({name:e,mixins:i?[i]:[],defaults:{icon:e}}))}t.component("icon",t.components.svg.extend({attrs:["icon","ratio"],mixins:[zi],name:"icon",args:"icon",props:["icon"],defaults:{exclude:["id","style","class","src","icon"]},init:function(){me(this.$el,"uk-icon"),at&&(this.icon=L(L(this.icon,"left","right"),"previous","next"))},methods:{getSvg:function(){var t=function(t){if(!i[t])return null;e[t]||(e[t]=Le(i[t].trim()));return e[t]}(this.icon);return t?K.resolve(t):K.reject("Icon not found.")}}})),["marker","navbar-toggle-icon","overlay-icon","pagination-previous","pagination-next","totop"].forEach(function(t){return n(t)}),["slidenav-previous","slidenav-next"].forEach(function(t){return n(t,{init:function(){me(this.$el,"uk-slidenav"),be(this.$el,"uk-slidenav-large")&&(this.icon+="-large")}})}),n("search-icon",{init:function(){be(this.$el,"uk-search-icon")&&Dt(this.$el,".uk-search-large").length?this.icon="search-large":Dt(this.$el,".uk-search-navbar").length&&(this.icon="search-navbar")}}),n("close",{init:function(){this.icon="close-"+(be(this.$el,"uk-close-large")?"large":"icon")}}),n("spinner",{connected:function(){var t=this;this.svg.then(function(e){return 1!==t.ratio&&Ie(Le("circle",e),"stroke-width",1/t.ratio)},R)}}),t.icon.add=function(n){Object.keys(n).forEach(function(t){i[t]=n[t],delete e[t]}),t._initialized&&F(t.instances,function(t){"icon"===t.$options.name&&t.$reset()})}}function bn(t){t.component("leader",{mixins:[zi],props:{fill:String,media:"media"},defaults:{fill:"",media:!1,clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){var e=t.fill;return e||Se("leader-fill")}},connected:function(){var t;t=ue(this.$el,''),this.wrapper=t[0]},disconnected:function(){ce(this.wrapper.childNodes)},update:[{read:function(t){var e=t.changed,i=t.width,n=i;return{width:i=Math.floor(this.$el.offsetWidth/2),changed:e||n!==i,hide:this.media&&!ot.matchMedia(this.media).matches}},write:function(t){ye(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,X(this.wrapper,this.attrFill,new Array(t.width).join(this.fill)))},events:["load","resize"]}]})}function yn(t){t.component("margin",{props:{margin:String,firstColumn:Boolean},defaults:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!Ht(this.$el))return t.rows=!1;t.stacks=!0;for(var i=[[]],n=0;n=0;s--){var a=i[s];if(!a[0]){a.push(o);break}var l=a[0].getBoundingClientRect();if(r.top>=Math.floor(l.bottom)){i.push([o]);break}if(Math.floor(r.bottom)>l.top){if(t.stacks=!1,r.left
'+e+"
",i);return n.show(),Ft(n.$el,"hidden",function(t){t.target===t.currentTarget&&n.$destroy(!0)}),n},t.modal.alert=function(e,i){return i=j({bgClose:!1,escClose:!1,labels:t.modal.labels},i),new K(function(n){return Ft(t.modal.dialog('
'+(S(e)?e:ne(e))+'
",i).$el,"hide",n)})},t.modal.confirm=function(e,i){return i=j({bgClose:!1,escClose:!0,labels:t.modal.labels},i),new K(function(n,o){var r=t.modal.dialog('
'+(S(e)?e:ne(e))+'
",i),s=!1;Ft(r.$el,"submit","form",function(t){t.preventDefault(),n(),s=!0,r.hide()}),Ft(r.$el,"hide",function(){s||o()})})},t.modal.prompt=function(e,i,n){return n=j({bgClose:!1,escClose:!0,labels:t.modal.labels},n),new K(function(o){var r=t.modal.dialog('
",n),s=Le("input",r.$el);s.value=i;var a=!1;Ft(r.$el,"submit","form",function(t){t.preventDefault(),o(s.value),a=!0,r.hide()}),Ft(r.$el,"hide",function(){a||o(null)})})},t.modal.labels={ok:"Ok",cancel:"Cancel"}}function kn(t){t.component("nav",t.components.accordion.extend({name:"nav",defaults:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}}))}function $n(t){t.component("navbar",{mixins:[zi],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:"query",duration:Number},defaults:{dropdown:".uk-navbar-nav > li",align:at?"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 i=t.boundary,n=t.boundaryAlign;return!0===i||n?e:i},pos:function(t){return"bottom-"+t.align}},beforeConnect:function(){var t=this.$props.dropbar;this.dropbar=t&&(S(t)&&bt(t,this.$el)||Le("
")),this.dropbar&&(me(this.dropbar,"uk-navbar-dropbar"),"slide"===this.dropbarMode&&me(this.dropbar,"uk-navbar-dropbar-slide"))},disconnected:function(){this.dropbar&&le(this.dropbar)},update:function(){t.drop(je(this.dropdown+" ."+this.clsDrop,this.$el).filter(function(e){return!t.getComponent(e,"drop")&&!t.getComponent(e,"dropdown")}),j({},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,i=this.getActive();i&&i.toggle&&!jt(i.toggle.$el,e)&&!i.tracker.movesTo(i.$el)&&i.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!_t(this.dropbar,":hover")&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||se(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",capture:!0,filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el;this.clsDrop&&me(i,this.clsDrop+"-dropbar"),this.transitionTo(i.offsetHeight+B(Ie(i,"margin-top"))+B(Ie(i,"margin-bottom")),i)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getActive();_t(this.dropbar,":hover")&&n&&n.$el===i&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getActive();(!n||n&&n.$el===i)&&this.transitionTo(0)}}],methods:{getActive:function(){var e=t.drop.getActive();return e&&v(e.mode,"hover")&&jt(e.toggle.$el,this.$el)&&e},transitionTo:function(t,e){var i=this.dropbar,n=Ht(i)?Xe(i):0;return Ie(e=n"),me(this.panel.parentNode,this.clsMode)),Ie(st,"overflowY",(!this.clsContentAnimation||this.flip)&&this.scrollbarWidth&&this.overlay?"scroll":""),me(rt.body,this.clsContainer,this.clsFlip,this.clsOverlay),Xe(rt.body),me(this.content,this.clsContentAnimation),me(this.panel,this.clsSidebarAnimation+" "+("reveal"!==this.mode?this.clsMode:"")),me(this.$el,this.clsOverlay),Ie(this.$el,"display","block"),Xe(this.$el)}},{name:"hide",self:!0,handler:function(){ge(this.content,this.clsContentAnimation);var t=this.getActive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&Yt(this.panel,"transitionend")}},{name:"hidden",self:!0,handler:function(){if("reveal"===this.mode&&ce(this.panel),this.overlay){if(!tn){var t=this.content,e=t.scrollLeft,i=t.scrollTop;tn={x:e,y:i}}}else tn={x:ot.pageXOffset,y:ot.pageYOffset};ge(this.panel,this.clsSidebarAnimation,this.clsMode),ge(this.$el,this.clsOverlay),Ie(this.$el,"display",""),ge(rt.body,this.clsContainer,this.clsFlip,this.clsOverlay),rt.body.scrollTop=tn.y,Ie(st,"overflow-y",""),Je(this.content,""),Xe(this.content,""),ot.scrollTo(tn.x,tn.y),tn=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&Ti(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]})}function Tn(t){t.component("responsive",{props:["width","height"],init:function(){me(this.$el,"uk-responsive-width")},update:{read:function(){return!!(Ht(this.$el)&&this.width&&this.height)&&{width:Je(this.$el.parentNode),height:this.height}},write:function(t){Xe(this.$el,U.contain({height:this.height,width:this.width},t).height)},events:["load","resize"]}})}function Cn(t){t.component("scroll",{props:{duration:Number,offset:Number},defaults:{duration:1e3,offset:0},methods:{scrollTo:function(t){var e=this;t=t&&Le(t)||rt.body;var i=Xe(rt),n=Xe(ot),o=Ye(t).top-this.offset;if(o+n>i&&(o=i-n),Yt(this.$el,"beforescroll",[this,t])){var r=Date.now(),s=ot.pageYOffset,a=function(){var i,n=s+(o-s)*(i=V((Date.now()-r)/e.duration),.5*(1-Math.cos(Math.PI*i)));ot.scrollTo(ot.pageXOffset,n),n!==o?requestAnimationFrame(a):Yt(e.$el,"scrolled",[e,t])};a()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(Bt(this.$el.hash).substr(1)))}}})}function En(t){t.component("scrollspy",{args:"cls",props:{cls:"list",target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},defaults:{cls:[],target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"},computed:{elements:function(t,e){var i=t.target;return i?je(i,e):[e]}},update:[{write:function(){this.hidden&&Ie(Lt(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(e){var i=this;if(!t._initialized)return"complete"===rt.readyState&&requestAnimationFrame(function(){return i.$emit()}),!1;this.elements.forEach(function(t,n){var o=e[n];if(!o||o.el!==t){var r=Q(t,"uk-scrollspy-class");o={el:t,toggles:r&&r.split(",")||i.cls}}o.show=ii(t,i.offsetTop,i.offsetLeft),e[n]=o})},write:function(e){var i=this,n=1===this.elements.length?1:0;this.elements.forEach(function(o,r){var s=e[r],a=s.toggles[r]||s.toggles[0];if(!s.show||s.inview||s.timer)!s.show&&s.inview&&i.repeat&&(s.timer&&(clearTimeout(s.timer),delete s.timer),Ie(o,"visibility",i.hidden?"hidden":""),ge(o,i.inViewClass),ye(o,a),Yt(o,"outview"),t.update(null,o),s.inview=!1);else{var l=function(){Ie(o,"visibility",""),me(o,i.inViewClass),ye(o,a),Yt(o,"inview"),t.update(null,o),s.inview=!0,delete s.timer};i.delay&&n?s.timer=setTimeout(l,i.delay*n):l(),n++}})},events:["scroll","load","resize"]}]})}function Sn(t){t.component("scrollspy-nav",{props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},defaults:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:function(t,e){return je('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(){return this.closest?Nt(this.links,this.closest):this.links},targets:function(){return je(this.links.map(function(t){return t.hash}).join(","))}},update:[{read:function(){this.scroll&&t.scroll(this.links,{offset:this.offset||0})}},{read:function(t){var e=this,i=ot.pageYOffset+this.offset+1,n=Xe(rt)-Xe(ot)+this.offset;t.active=!1,this.targets.every(function(o,r){var s=Ye(o).top,a=r+1===e.targets.length;if(!e.overflow&&(0===r&&s>i||a&&s+o.offsetTop=n)for(var l=e.targets.length-1;l>r;l--)if(ii(e.targets[l])){o=e.targets[l];break}return!(t.active=Le(Lt(e.links,'[href="#'+o.id+'"]')))})},write:function(t){var e=t.active;this.links.forEach(function(t){return t.blur()}),ge(this.elements,this.cls),e&&Yt(this.$el,"active",[e,me(this.closest?Nt(e,this.closest):e,this.cls)])},events:["scroll","load","resize"]}]})}function _n(t){function e(t,e){var i=e.$props,n=e.$el,o=e[t+"Offset"],r=i[t];if(r){if(A(r))return o+B(r);if(S(r)&&r.match(/^-?\d+vh$/))return Xe(ot)*B(r)/100;var s=!0===r?n.parentNode:bt(r,n);return s?Ye(s).top+s.offsetHeight:void 0}}t.component("sticky",{mixins:[zi],attrs:!0,props:{top:null,bottom:Boolean,offset:Number,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:"query",showOnUp:Boolean,media:"media",target:Number},defaults:{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,target:!1},computed:{selTarget:function(t,e){var i=t.selTarget;return i&&Le(i,e)||e}},connected:function(){this.placeholder=Le('
'),this.widthElement=this.$props.widthElement||this.placeholder,this.isActive||this.hide()},disconnected:function(){this.isActive&&(this.isActive=!1,this.hide(),ge(this.selTarget,this.clsInactive)),le(this.placeholder),this.placeholder=null,this.widthElement=null},ready:function(){var t=this;if(this.target&&location.hash&&ot.pageYOffset>0){var e=Le(location.hash);e&&si.read(function(){var i=Ye(e).top,n=Ye(t.$el).top,o=t.$el.offsetHeight;n+o>=i&&n<=i+e.offsetHeight&&ot.scrollTo(0,i-o-t.target-t.offset)})}},events:[{name:"active",self:!0,handler:function(){we(this.selTarget,this.clsInactive,this.clsActive)}},{name:"inactive",self:!0,handler:function(){we(this.selTarget,this.clsActive,this.clsInactive)}}],update:[{write:function(){var t=this.placeholder,i=(this.isActive?t:this.$el).offsetHeight;Ie(t,j({height:"absolute"!==Ie(this.$el,"position")?i:""},Ie(this.$el,["marginTop","marginBottom","marginLeft","marginRight"]))),jt(t,st)||(se(this.$el,t),X(t,"hidden","")),X(this.widthElement,"hidden",null),this.width=this.widthElement.offsetWidth,X(this.widthElement,"hidden",this.isActive?null:""),this.topOffset=Ye(this.isActive?t:this.$el).top,this.bottomOffset=this.topOffset+i;var n=e("bottom",this);this.top=Math.max(B(e("top",this)),this.topOffset)-this.offset,this.bottom=n&&n-i,this.inactive=this.media&&!ot.matchMedia(this.media).matches,this.isActive&&this.update()},events:["load","resize"]},{read:function(t,e){var i=e.scrollY;return void 0===i&&(i=ot.pageYOffset),{scroll:this.scroll=i,visible:Ht(this.$el)}},write:function(t,e){var i=this,n=t.visible,o=t.scroll;void 0===e&&(e={});var r=e.dir;if(!(o<0||!n||this.disabled||this.showOnUp&&!r))if(this.inactive||othis.topOffset?(We.cancel(this.$el),We.out(this.$el,this.animation).then(function(){return i.hide()},R)):this.hide()}else this.isActive?this.update():this.animation?(We.cancel(this.$el),this.show(),We.in(this.$el,this.animation).catch(R)):this.show()},events:["scroll"]}],methods:{show:function(){this.isActive=!0,this.update(),X(this.placeholder,"hidden",null)},hide:function(){this.isActive&&!be(this.selTarget,this.clsActive)||Yt(this.$el,"inactive"),ge(this.$el,this.clsFixed,this.clsBelow),Ie(this.$el,{position:"",top:"",width:""}),X(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),Ie(this.$el,{position:"fixed",top:e+"px",width:this.width}),be(this.selTarget,this.clsActive)?t||Yt(this.$el,"inactive"):t&&Yt(this.$el,"active"),ye(this.$el,this.clsBelow,this.scroll>this.bottomOffset),me(this.$el,this.clsFixed)}}})}var An,Nn,Dn={};function Mn(t){t.component("svg",{attrs:!0,props:{id:String,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String},defaults:{ratio:1,id:!1,exclude:["src"],class:""},init:function(){this.class+=" uk-svg"},connected:function(){var t=this;if(!this.icon&&v(this.src,"#")){var n,o=this.src.split("#");if(o.length>1)n=o,this.src=n[0],this.icon=n[1]}this.svg=this.getSvg().then(function(n){var o;if(S(n)?(t.icon&&v(n,""}return i[t][n]}(n,t.icon)||n),o=Le(n.substr(n.indexOf("/g,i={}}function Bn(t){t.component("switcher",{mixins:[Li],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},defaults:{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 yt(t.connect,e)},toggles:function(t,e){return je(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(Q(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){Ti(t)&&(t.preventDefault(),ot.getSelection().toString()||this.show("swipeLeft"===t.type?"next":"previous"))}}],update:function(){var t=this;this.connects.forEach(function(e){return t.updateAria(e.children)}),this.show(Lt(this.toggles,"."+this.cls)[0]||this.toggles[this.active]||this.toggles[0])},methods:{show:function(t){for(var e,i=this,n=this.toggles.length,o=!!this.connects.length&&te(Lt(this.connects[0].children,"."+this.cls)[0]),r=o>=0,s="previous"===t?-1:1,a=ee(t,this.toggles,o),l=0;l=0&&be(e,this.cls)||o===a||(ge(this.toggles,this.cls),X(this.toggles,"aria-expanded",!1),me(e,this.cls),X(e,"aria-expanded",!0),this.connects.forEach(function(t){r?i.toggleElement([t.children[o],t.children[a]]):i.toggleNow(t.children[a])}))}}})}function On(t){t.component("tab",t.components.switcher.extend({mixins:[zi],name:"tab",props:{media:"media"},defaults:{media:960,attrItem:"uk-tab-item"},init:function(){var e=be(this.$el,"uk-tab-left")?"uk-tab-left":!!be(this.$el,"uk-tab-right")&&"uk-tab-right";e&&t.toggle(this.$el,{cls:e,mode:"media",media:this.media})}}))}function Pn(t){t.component("toggle",{mixins:[t.mixin.togglable],args:"target",props:{href:String,target:null,mode:"list",media:"media"},defaults:{href:!1,target:!1,mode:"click",queued:!0,media:!1},computed:{target:function(t,e){var i=t.href,n=t.target;return n=yt(n||i,e),n.length&&n||[e]}},events:[{name:mt+" "+gt,filter:function(){return v(this.mode,"hover")},handler:function(t){Ti(t)||this.toggle("toggle"+(t.type===mt?"show":"hide"))}},{name:"click",filter:function(){return v(this.mode,"click")||ct},handler:function(t){var e;(Ti(t)||v(this.mode,"click"))&&((Nt(t.target,'a[href="#"], button')||(e=Nt(t.target,"a[href]"))&&(this.cls||!Ht(this.target)||e.hash&&_t(this.target,e.hash)))&&Rt(rt,"click",function(t){return t.preventDefault()}),this.toggle())}}],update:{write:function(){if(v(this.mode,"media")&&this.media){var t=this.isToggled(this.target);(ot.matchMedia(this.media).matches?!t:t)&&this.toggle()}},events:["load","resize"]},methods:{toggle:function(t){Yt(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}})}function Hn(t){t.component("video",{props:{automute:Boolean,autoplay:Boolean},defaults:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},ready:function(){this.player=new gi(this.$el),this.automute&&this.player.mute()},update:[{read:function(t,e){var i=e.type;return!(!this.player||!("scroll"!==i&&"resize"!==i||this.inView))&&{visible:Ht(this.$el)&&"hidden"!==Ie(this.$el,"visibility"),inView:this.inView&&ii(this.$el)}},write:function(t){var e=t.visible,i=t.inView;!e||this.inView&&!i?this.player.pause():(!0===this.autoplay||this.inView&&i)&&this.player.play()},events:["load","resize","scroll"]}]})}function zn(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),"translateX("+t+(t?e:"")+")"}function Wn(t){return"scale3d("+t+", "+t+", 1)"}function Ln(t){if(!Ln.installed){var e,i,n,o,r,s,a,l,h,u,c,d,f,p,m,g,v,w,b,y,x,k,$,I,T,C,E,S=t.util,_=S.$,A=S.assign,N=S.clamp,D=S.fastdom,M=S.getIndex,B=S.hasClass,O=S.isNumber,P=S.isRtl,H=S.Promise,z=S.toNodes,W=S.trigger;t.mixin.slider={attrs:!0,mixins:[(I=t,T=I.util,C=T.doc,E=T.pointerDown,{props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},defaults:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected:function(){this.startAutoplay()},disconnected:function(){this.stopAutoplay()},events:[{name:"visibilitychange",el:C,handler:function(){C.hidden?this.stopAutoplay():this.startAutoplay()}},{name:E,handler:"stopAutoplay"},{name:"mouseenter",filter:function(){return this.autoplay},handler:function(){this.isHovering=!0}},{name:"mouseleave",filter:function(){return this.autoplay},handler:function(){this.isHovering=!1}}],methods:{startAutoplay:function(){var t=this;this.stopAutoplay(),this.autoplay&&(this.interval=setInterval(function(){return!(t.isHovering&&t.pauseOnHover)&&!t.stack.length&&t.show("next")},this.autoplayInterval))},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}}),(h=t,u=h.util,c=u.doc,d=u.getPos,f=u.includes,p=u.isRtl,m=u.isTouch,g=u.off,v=u.on,w=u.pointerDown,b=u.pointerMove,y=u.pointerUp,x=u.preventClick,k=u.trigger,$=u.win,{defaults:{threshold:10,preventCatch:!1},init:function(){var t=this;["start","move","end"].forEach(function(e){var i=t[e];t[e]=function(e){var n=d(e).x*(p?-1:1);t.prevPos=n!==t.pos?t.pos:t.prevPos,t.pos=n,i(e)}})},events:[{name:w,delegate:function(){return this.slidesSelector},handler:function(t){var e;!m(t)&&!(e=t.target).children.length&&e.childNodes.length||t.button>0||this.length<2||this.preventCatch||this.start(t)}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.translate(this.percent),this._transitioner.cancel(),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,this.unbindMove=v(c,b,this.move,{capture:!0,passive:!1}),v($,"scroll",this.unbindMove),v(c,y,this.end,!0)},move:function(t){var e=this,i=this.pos-this.drag;if(!(0===i||this.prevPos===this.pos||!this.dragging&&Math.abs(i)a;)e.drag-=a*e.dir,o=s,r-=a,s=e.getIndex(o+e.dir,o),a=e._getDistance(o,s)||n[o].offsetWidth;this.percent=r/a;var l,h=n[o],u=n[s],c=this.index!==s,d=o===s;[this.index,this.prevIndex].filter(function(t){return!f([s,o],t)}).forEach(function(t){k(n[t],"itemhidden",[e]),l=!0,d&&(e.prevIndex=o)}),(this.index===o&&this.prevIndex!==o||l&&d)&&k(n[this.index],"itemshown",[this]),c&&(this.prevIndex=o,this.index=s,!d&&k(h,"beforeitemhide",[this]),k(u,"beforeitemshow",[this])),(l||this.length<3)&&this._transitioner&&this._transitioner.reset(),this._transitioner=this._translate(Math.abs(this.percent),h,!d&&u),c&&(!d&&k(h,"itemhide",[this]),k(u,"itemshow",[this]))}},end:function(){if(g($,"scroll",this.unbindMove),this.unbindMove(),g(c,y,this.end,!0),this.dragging){if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{var t=(p?this.dir*(p?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}x()}this.drag=this.percent=null}}}),(e=t,i=e.util,n=i.$,o=i.$$,r=i.data,s=i.html,a=i.toggleClass,l=i.toNumber,{defaults:{selNav:!1},computed:{nav:function(t,e){var i=t.selNav;return n(i,e)},navItemSelector:function(t){var e=t.attrItem;return"["+e+"],[data-"+e+"]"},navItems:function(t,e){return o(this.navItemSelector,e)}},update:[{write:function(){var t=this;this.nav&&this.length!==this.nav.children.length&&s(this.nav,this.slides.map(function(e,i){return"
  • '}).join("")),a(o(this.navItemSelector,this.$el).concat(this.nav),"uk-hidden",!this.maxIndex),this.updateNav()},events:["load","resize"]}],events:[{name:"click",delegate:function(){return this.navItemSelector},handler:function(t){t.preventDefault(),t.current.blur(),this.show(r(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var t=this,e=this.getValidIndex();this.navItems.forEach(function(i){var n=r(i,t.attrItem);a(i,t.clsActive,l(n)===e),a(i,"uk-invisible",t.finite&&("previous"===n&&0===e||"next"===n&&e>=t.maxIndex))})}}})],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},defaults:{easing:"ease",finite:!1,velocity:1,index:0,stack:[],percent:0,clsActive:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}},computed:{duration:function(t,e){var i=t.velocity;return jn(e.offsetWidth/i)},length:function(){return this.slides.length},list:function(t,e){var i=t.selList;return _(i,e)},maxIndex:function(){return this.length-1},slidesSelector:function(t){return t.selList+" > *"},slides:function(){return z(this.list.children)}},methods:{show:function(t,e){var i=this;if(void 0===e&&(e=!1),!this.dragging&&this.length){var n=this.stack,o=e?0:n.length,r=function(){n.splice(o,1),n.length&&i.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1)2===n.length&&this._transitioner.forward(Math.min(this.duration,200));else{var s=this.index,a=B(this.slides,this.clsActive)&&this.slides[s],l=this.getIndex(t,this.index),h=this.slides[l];if(a!==h){var u;if(this.dir="next"===(u=t)?1:"previous"===u?-1:u1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_getDistance:function(t,e){return new this._getTransitioner(t,t!==e&&e).getDistance()},_translate:function(t,e,i){void 0===e&&(e=this.prevIndex),void 0===i&&(i=this.index);var n=this._getTransitioner(e!==i&&e,i);return n.translate(t),n},_getTransitioner:function(t,e,i,n){return void 0===t&&(t=this.prevIndex),void 0===e&&(e=this.index),void 0===i&&(i=this.dir||1),void 0===n&&(n=this.transitionOptions),new this.Transitioner(O(t)?this.slides[t]:t,O(e)?this.slides[e]:e,i*(P?-1:1),n)}}}}}function jn(t){return.5*t+300}function Fn(t){if(!Fn.installed){t.use(Ln);var e,i,n=t.mixin,o=t.util,r=o.addClass,s=o.assign,a=o.fastdom,l=o.isNumber,h=o.removeClass,u=(e=t.util.css,i={slide:{show:function(t){return[{transform:zn(-100*t)},{transform:zn()}]},percent:function(t){return i.translated(t)},translate:function(t,e){return[{transform:zn(-100*e*t)},{transform:zn(100*e*(1-t))}]}},translated:function(t){return Math.abs(e(t,"transform").split(",")[4]/t.offsetWidth)||0}}),c=function(t){var e=t.util,i=e.createEvent,n=e.clamp,o=e.css,r=e.Deferred,s=e.noop,a=e.Promise,l=e.Transition,h=e.trigger;function u(t,e,n){h(t,i(e,!1,!1,n))}return function(t,e,i,h){var c=h.animation,d=h.easing,f=c.percent,p=c.translate,m=c.show;void 0===m&&(m=s);var g=m(i),v=new r;return{dir:i,show:function(o,r,h){var c=this;void 0===r&&(r=0);var f=h?"linear":d;return o-=Math.round(o*n(r,-1,1)),this.translate(r),u(e,"itemin",{percent:r,duration:o,timing:f,dir:i}),u(t,"itemout",{percent:1-r,duration:o,timing:f,dir:i}),a.all([l.start(e,g[1],o,f),l.start(t,g[0],o,f)]).then(function(){c.reset(),v.resolve()},s),v.promise},stop:function(){return l.stop([e,t])},cancel:function(){l.cancel([e,t])},reset:function(){for(var i in g[0])o([e,t],i,"")},forward:function(i,n){return void 0===n&&(n=this.percent()),l.cancel([e,t]),this.show(i,n,!0)},translate:function(n){var r=p(n,i);o(e,r[1]),o(t,r[0]),u(e,"itemtranslatein",{percent:n,dir:i}),u(t,"itemtranslateout",{percent:1-n,dir:i})},percent:function(){return f(t||e,e,i)},getDistance:function(){return t.offsetWidth}}}}(t);t.mixin.slideshow={mixins:[n.slider],props:{animation:String},defaults:{animation:"slide",clsActivated:"uk-transition-active",Animations:u,Transitioner:c},computed:{animation:function(t){var e=t.animation,i=t.Animations;return s(e in i?i[e]:i.slide,{name:e})},transitionOptions:function(){return{animation:this.animation}}},events:{"itemshow itemhide itemshown itemhidden":function(e){var i=e.target;t.update(null,i)},itemshow:function(){l(this.prevIndex)&&a.flush()},beforeitemshow:function(t){var e=t.target;r(e,this.clsActive)},itemshown:function(t){var e=t.target;r(e,this.clsActivated)},itemhidden:function(t){var e=t.target;h(e,this.clsActive,this.clsActivated)}}}}}function Vn(t){if(!Vn.installed){t.use(Fn);var e,i,n,o,r,s=t.mixin,a=t.util,l=a.$,h=a.addClass,u=a.ajax,c=a.append,d=a.assign,f=a.attr,p=a.css,m=a.doc,g=a.getImage,v=a.html,w=a.index,b=a.on,y=a.pointerDown,x=a.pointerMove,k=a.removeClass,$=a.Transition,I=a.trigger,T=(i=(e=t).mixin,n=e.util,o=n.assign,r=n.css,o({},i.slideshow.defaults.Animations,{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-r(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:Wn(.8)},{opacity:1,transform:Wn(1)}]},percent:function(t){return 1-r(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Wn(1-.2*t)},{opacity:t,transform:Wn(.8+.2*t)}]}}}));t.component("lightbox-panel",{mixins:[s.container,s.modal,s.togglable,s.slideshow],functional:!0,defaults:{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",pauseOnHover:!1,velocity:2,Animations:T,template:'
      '},created:function(){var t=this;this.$mount(c(this.container,this.template)),this.caption=l(".uk-lightbox-caption",this.$el),this.items.forEach(function(){return c(t.list,"
    • ")})},events:[{name:x+" "+y+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.slidesSelector},handler:function(t){t.preventDefault(),this.hide()}},{name:"shown",self:!0,handler:"showControls"},{name:"hide",self:!0,handler:function(){this.hideControls(),k(this.slides,this.clsActive),$.stop(this.slides)}},{name:"keyup",el:function(){return m},handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"beforeitemshow",handler:function(t){this.isToggled()||(this.preventCatch=!0,t.preventDefault(),this.toggleNow(this.$el,!0),this.animation=T.scale,k(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler:function(t){var e=t.target,i=w(e),n=this.getItem(i).caption;p(this.caption,"display",n?"":"none"),v(this.caption,n);for(var o=0;o<=this.preload;o++)this.loadItem(this.getIndex(i+o)),this.loadItem(this.getIndex(i-o))}},{name:"itemshown",handler:function(){this.preventCatch=!1}},{name:"itemload",handler:function(t,e){var i,n=this,o=e.source,r=e.type,s=e.alt;if(this.setItem(e,""),o)if("image"===r||o.match(/\.(jp(e)?g|png|gif|svg)$/i))g(o).then(function(t){return n.setItem(e,''+(s||')},function(){return n.setError(e)});else if("video"===r||o.match(/\.(mp4|webm|ogv)$/i)){var a=l("');f(a,"src",o),b(a,"error",function(){return n.setError(e)}),b(a,"loadedmetadata",function(){f(a,{width:a.videoWidth,height:a.videoHeight}),n.setItem(e,a)})}else if("iframe"===r)this.setItem(e,'');else if(i=o.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/watch\?v=([^&\s]+)/)||o.match(/()youtu\.be\/(.*)/)){var h=i[2],c=function(t,o){return void 0===t&&(t=640),void 0===o&&(o=450),n.setItem(e,C("//www.youtube"+(i[1]||"")+".com/embed/"+h,t,o,n.videoAutoplay))};g("//img.youtube.com/vi/"+h+"/maxresdefault.jpg").then(function(t){var e=t.width,i=t.height;120===e&&90===i?g("//img.youtube.com/vi/"+h+"/0.jpg").then(function(t){var e=t.width,i=t.height;return c(e,i)},c):c(e,i)},c)}else(i=o.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&u("//vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(o),{responseType:"json"}).then(function(t){var o=t.response,r=o.height,s=o.width;return n.setItem(e,C("//player.vimeo.com/video/"+i[2],s,r,n.videoAutoplay))})}}],methods:{loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);e.content||I(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(e,i){d(e,{content:i});var n=v(this.slides[this.items.indexOf(e)],i);I(this.$el,"itemloaded",[this,n]),t.update(null,n)},setError:function(t){this.setItem(t,'')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),h(this.$el,"uk-active","uk-transition-active")},hideControls:function(){k(this.$el,"uk-active","uk-transition-active")}}})}function C(t,e,i,n){return''}}function Rn(t){if(!Rn.installed){var e=t.mixin,i=t.util,n=i.css,o=i.Dimensions,r=i.each,s=i.getImage,a=i.includes,l=i.isNumber,h=i.isUndefined,u=i.toFloat,c=i.win,d=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity"];e.parallax={props:d.reduce(function(t,e){return t[e]="list",t},{media:"media"}),defaults:d.reduce(function(t,e){return t[e]=void 0,t},{media:!1}),computed:{props:function(t,e){var i=this;return d.reduce(function(o,r){if(h(t[r]))return o;var s,l,c,d=r.match(/color/i),f=d||"opacity"===r,p=t[r].slice(0);f&&n(e,r,""),p.length<2&&p.unshift(("scale"===r?1:f?n(e,r):0)||0);var m=a(p.join(""),"%")?"%":"px";if(d){var g=e.style.color;p=p.map(function(t){return n(n(e,"color",t),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(function(t){return u(t)})}),e.style.color=g}else p=p.map(u);if(r.match(/^bg/))if(n(e,"background-position-"+r[2],""),l=n(e,"backgroundPosition").split(" ")["x"===r[2]?0:1],i.covers){var v=Math.min.apply(Math,p),w=Math.max.apply(Math,p),b=p.indexOf(v)r){var d=parseFloat(l);d&&(e.props[t].steps=h.map(function(t){return t-(c-r)/(100/d)}))}a=o.cover(i,s)}}),n(this.$el,{backgroundSize:a.width+"px "+a.height+"px",backgroundRepeat:"no-repeat"})}else n(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["load","resize"]}],methods:{reset:function(){var t=this;r(this.getCss(0),function(e,i){return n(t.$el,i,"")})},getCss:function(t){var e=this.props,i=!1;return Object.keys(e).reduce(function(n,o){var r=e[o],s=r.steps,a=r.unit,l=r.pos,h=p(s,t);switch(o){case"x":case"y":if(i)break;var c=["x","y"].map(function(i){return o===i?h+a:e[i]?p(e[i].steps,t)+e[i].unit:0}),d=c[0],m=c[1];i=n.transform+=" translate3d("+d+", "+m+", 0)";break;case"rotate":n.transform+=" rotate("+h+"deg)";break;case"scale":n.transform+=" scale("+h+")";break;case"bgy":case"bgx":n["background-position-"+o[2]]="calc("+l+" + "+(h+a)+")";break;case"color":case"backgroundColor":case"borderColor":var g=f(s,t),v=g[0],w=g[1],b=g[2];n[o]="rgba("+v.map(function(t,e){return t+=b*(w[e]-t),3===e?u(t):parseInt(t,10)}).join(",")+")";break;case"blur":n.filter+=" blur("+h+"px)";break;case"hue":n.filter+=" hue-rotate("+h+"deg)";break;case"fopacity":n.filter+=" opacity("+h+"%)";break;case"grayscale":case"invert":case"saturate":case"sepia":n.filter+=" "+o+"("+h+"%)";break;default:n[o]=h}return n},{transform:"",filter:""})}}}}function f(t,e){var i=t.length-1,n=Math.min(Math.floor(i*e),i-1),o=t.slice(n,n+2);return o.push(1===e?1:e%(1/i)*i),o}function p(t,e){var i=f(t,e),n=i[0],o=i[1],r=i[2];return(l(n)?n+Math.abs(n-o)*r*(n0?1:0),o,s).catch(a)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){l.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,n=i.percent,o=i.dir;l.cancel(this.$el),r(this.$el,this.getCss(u(e,o,n)))}}]};function h(t){return s(t,"in")}function u(t,e,i){return i/=2,h(t)?e<0?1-i:i:e<0?i:1-i}}return Oi.version="3.0.0-beta.40",(An=Oi).mixin.class=zi,An.mixin.container=Wi,An.mixin.modal=ji,An.mixin.position=Fi,An.mixin.togglable=Li,(Nn=Oi).use(Pn),Nn.use(Vi),Nn.use(Ri),Nn.use(Hn),Nn.use(qi),Nn.use(Ui),Nn.use(Xi),Nn.use(Ji),Nn.use(Qi),Nn.use(Ki),Nn.use(yn),Nn.use(Gi),Nn.use(Zi),Nn.use(bn),Nn.use(xn),Nn.use(kn),Nn.use($n),Nn.use(In),Nn.use(Tn),Nn.use(Cn),Nn.use(En),Nn.use(Sn),Nn.use(_n),Nn.use(Mn),Nn.use(wn),Nn.use(Bn),Nn.use(On),Nn.use(Yi),Oi.use(function t(e){if(!t.installed){var i=e.util,n=i.$,o=i.doc,r=i.empty,s=i.html;e.component("countdown",{mixins:[e.mixin.class],attrs:!0,props:{date:String,clsWrapper:String},defaults:{date:"",clsWrapper:".uk-countdown-%unit%"},computed:{date:function(t){var e=t.date;return Date.parse(e)},days:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","days"),e)},hours:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","hours"),e)},minutes:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","minutes"),e)},seconds:function(t,e){var i=t.clsWrapper;return n(i.replace("%unit%","seconds"),e)},units:function(){var t=this;return["days","hours","minutes","seconds"].filter(function(e){return t[e]})}},connected:function(){this.start()},disconnected:function(){var t=this;this.stop(),this.units.forEach(function(e){return r(t[e])})},events:[{name:"visibilitychange",el:o,handler:function(){o.hidden?this.stop():this.start()}}],update:{write:function(){var t,e,i=this,n=(t=this.date,{total:e=t-Date.now(),seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24});n.total<=0&&(this.stop(),n.days=n.hours=n.minutes=n.seconds=0),this.units.forEach(function(t){var e=String(Math.floor(n[t]));e=e.length<2?"0"+e:e;var o=i[t];o.textContent!==e&&((e=e.split("")).length!==o.children.length&&s(o,e.map(function(){return""}).join("")),e.forEach(function(t,e){return o.children[e].textContent=t}))})}},methods:{start:function(){var t=this;this.stop(),this.date&&this.units.length&&(this.$emit(),this.timer=setInterval(function(){return t.$emit()},1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}})}}),Oi.use(function t(e){if(!t.installed){var i=e.util,n=i.addClass,o=i.css,r=i.scrolledOver,s=i.sortBy,a=i.toFloat;e.component("grid-parallax",e.components.grid.extend({props:{target:String,translate:Number},defaults:{target:!1,translate:150},computed:{translate:function(t){var e=t.translate;return Math.abs(e)}},init:function(){n(this.$el,"uk-grid")},disconnected:function(){this.reset(),o(this.$el,"marginBottom","")},update:[{read:function(t){var e=t.rows;return{columns:e&&e[0]&&e[0].length||0,rows:e&&e.map(function(t){return s(t,"offsetLeft")})}},write:function(t){var e=t.columns;o(this.$el,"marginBottom",e>1?this.translate+a(o(o(this.$el,"marginBottom",""),"marginBottom")):"")},events:["load","resize"]},{read:function(){return{scrolled:r(this.$el)*this.translate}},write:function(t){var e=t.rows,i=t.columns,n=t.scrolled;if(!e||1===i||!n)return this.reset();e.forEach(function(t){return t.forEach(function(t,e){return o(t,"transform","translateY("+(e%2?n:n/8)+"px)")})})},events:["scroll","load","resize"]}],methods:{reset:function(){o(this.$el.children,"transform","")}}})),e.components.gridParallax.options.update.unshift({read:function(){this.reset()},events:["load","resize"]})}}),Oi.use(function t(e){if(!t.installed){e.use(Vn);var i=e.util,n=i.$$,o=i.assign,r=i.data,s=i.index,a=e.components.lightboxPanel.options;e.component("lightbox",{attrs:!0,props:o({toggle:String},a.props),defaults:o({toggle:"a"},Object.keys(a.props).reduce(function(t,e){return t[e]=a.defaults[e],t},{})),computed:{toggles:function(t,e){var i=t.toggle;return n(i,e)}},disconnected:function(){this._destroy()},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),t.current.blur(),this.show(s(this.toggles,t.current))}}],update:function(t){var e,i;this.panel&&this.animation&&(this.panel.$props.animation=this.animation,this.panel.$emit()),!this.panel||t.toggles&&(e=t.toggles,i=this.toggles,e.length===i.length&&e.every(function(t,e){return t!==i[e]}))||(t.toggles=this.toggles,this._destroy(),this._init())},methods:{_init:function(){return this.panel=this.panel||e.lightboxPanel(o({},this.$props,{items:this.toggles.reduce(function(t,e){return t.push(["href","caption","type","poster","alt"].reduce(function(t,i){return t["href"===i?"source":i]=r(e,i),t},{})),t},[])}))},_destroy:function(){this.panel&&(this.panel.$destroy(!0),this.panel=null)},show:function(t){return this.panel||this._init(),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}})}}),Oi.use(function t(e){var i;if(!t.installed){var n=e.util,o=n.append,r=n.closest,s=n.css,a=n.each,l=n.pointerEnter,h=n.pointerLeave,u=n.remove,c=n.toFloat,d=n.Transition,f=n.trigger,p={};e.component("notification",{functional:!0,args:["message","status"],defaults:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},created:function(){p[this.pos]||(p[this.pos]=o(e.container,'
      '));var t=s(p[this.pos],"display","block");this.$mount(o(t,'
      '+this.message+"
      "))},ready:function(){var t=this,e=c(s(this.$el,"marginBottom"));d.start(s(this.$el,{opacity:0,marginTop:-this.$el.offsetHeight,marginBottom:0}),{opacity:1,marginTop:0,marginBottom:e}).then(function(){t.timeout&&(t.timer=setTimeout(t.close,t.timeout))})},events:(i={click:function(t){r(t.target,'a[href="#"]')&&t.preventDefault(),this.close()}},i[l]=function(){this.timer&&clearTimeout(this.timer)},i[h]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},i),methods:{close:function(t){var e=this,i=function(){f(e.$el,"close",[e]),u(e.$el),p[e.pos].children.length||s(p[e.pos],"display","none")};this.timer&&clearTimeout(this.timer),t?i():d.start(this.$el,{opacity:0,marginTop:-this.$el.offsetHeight,marginBottom:0}).then(i)}}}),e.notification.closeAll=function(t,i){a(e.instances,function(e){"notification"!==e.$options.name||t&&t!==e.group||e.close(i)})}}}),Oi.use(function t(e){if(!t.installed){e.use(Rn);var i=e.mixin,n=e.util,o=n.clamp,r=n.css,s=n.scrolledOver,a=n.query;e.component("parallax",{mixins:[i.parallax],props:{target:String,viewport:Number,easing:Number},defaults:{target:!1,viewport:1,easing:1},computed:{target:function(t,e){var i=t.target;return i&&a(i,e)||e}},update:[{read:function(t){var e,i;return{prev:t.percent,percent:(e=s(this.target)/(this.viewport||1),i=this.easing,o(e*(1-(i-i*e))))}},write:function(t,e){var i=t.prev,n=t.percent,o=t.active;"scroll"!==e.type&&(i=!1),o?i!==n&&r(this.$el,this.getCss(n)):this.reset()},events:["scroll","load","resize"]}]})}}),Oi.use(function t(e){if(!t.installed){e.use(Ln);var i=e.mixin,n=e.util,o=n.$,r=n.$$,s=n.addClass,a=n.css,l=n.data,h=n.includes,u=n.isNumeric,c=n.isUndefined,d=n.toggleClass,f=n.toFloat,p=function(t){var e=t.util,i=e.assign,n=e.clamp,o=e.createEvent,r=e.css,s=e.Deferred,a=e.includes,l=e.index,h=e.isRtl,u=e.noop,c=e.sortBy,d=e.toNodes,f=e.Transition,p=e.trigger,m=i(function(t,e,i,o){var d=o.center,p=o.easing,w=o.list,b=new s,y=t?m.getLeft(t,w,d):m.getLeft(e,w,d)+e.offsetWidth*i,x=e?m.getLeft(e,w,d):y+t.offsetWidth*i*(h?-1:1);return{dir:i,show:function(e,o,r){void 0===o&&(o=0);var s=r?"linear":p;return e-=Math.round(e*n(o,-1,1)),this.translate(o),t&&this.updateTranslates(),o=t?o:n(o,0,1),g(this.getItemIn(),"itemin",{percent:o,duration:e,timing:s,dir:i}),t&&g(this.getItemIn(!0),"itemout",{percent:1-o,duration:e,timing:s,dir:i}),f.start(w,{transform:zn(-x*(h?-1:1),"px")},e,s).then(b.resolve,u),b.promise},stop:function(){return f.stop(w)},cancel:function(){f.cancel(w)},reset:function(){r(w,"transform","")},forward:function(t,e){return void 0===e&&(e=this.percent()),f.cancel(w),this.show(t,e,!0)},translate:function(e){var o=this.getDistance()*i*(h?-1:1);r(w,"transform",zn(n(o-o*e-x,-m.getWidth(w),w.offsetWidth)*(h?-1:1),"px")),this.updateTranslates(),t&&(e=n(e,-1,1),g(this.getItemIn(),"itemtranslatein",{percent:e,dir:i}),g(this.getItemIn(!0),"itemtranslateout",{percent:1-e,dir:i}))},percent:function(){return Math.abs((r(w,"transform").split(",")[4]*(h?-1:1)+y)/(x-y))},getDistance:function(){return Math.abs(x-y)},getItemIn:function(e){void 0===e&&(e=!1);var n=this.getActives(),o=c(v(w),"offsetLeft"),r=l(o,n[i*(e?-1:1)>0?n.length-1:0]);return~r&&o[r+(t&&!e?i:0)]},getActives:function(){var i=m.getLeft(t||e,w,d);return c(v(w).filter(function(t){var e=m.getElLeft(t,w);return e>=i&&e+t.offsetWidth<=w.offsetWidth+i}),"offsetLeft")},updateTranslates:function(){var t=this.getActives();v(w).forEach(function(i){var n=a(t,i);g(i,"itemtranslate"+(n?"in":"out"),{percent:n?1:0,dir:i.offsetLeft<=e.offsetLeft?1:-1})})}}},{getLeft:function(t,e,i){var n=this.getElLeft(t,e);return i?n-this.center(t,e):Math.min(n,this.getMax(e))},getMax:function(t){return Math.max(0,this.getWidth(t)-t.offsetWidth)},getWidth:function(t){return v(t).reduce(function(t,e){return e.offsetWidth+t},0)},getMaxWidth:function(t){return v(t).reduce(function(t,e){return Math.max(t,e.offsetWidth)},0)},center:function(t,e){return e.offsetWidth/2-t.offsetWidth/2},getElLeft:function(t,e){return(t.offsetLeft+(h?t.offsetWidth-e.offsetWidth:0))*(h?-1:1)}});function g(t,e,i){p(t,o(e,!1,!1,i))}function v(t){return d(t.children)}return m}(e);e.component("slider-parallax",qn(e,"slider")),e.component("slider",{mixins:[i.class,i.slider,Yn(e)],props:{center:Boolean,sets:Boolean},defaults:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:p},computed:{avgWidth:function(){return p.getWidth(this.list)/this.length},finite:function(t){var e=t.finite;return e||p.getWidth(this.list)o&&(!e.center&&a>e.maxIndex&&(a=e.maxIndex),!h(t,a))){var u=e.slides[a+1];e.center&&u&&lt.maxIndex))})},events:["load","resize"]},events:{beforeitemshow:function(t){!this.dragging&&this.sets&&this.stack.length<2&&!h(this.sets,this.index)&&(this.index=this.getValidIndex());var e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.indexthis.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(var i=0;i0?"next":"previous");t.preventDefault()}else this.duration=jn(this.avgWidth/this.velocity)*((this.dir<0||!this.slides[this.prevIndex]?this.slides[this.index]:this.slides[this.prevIndex]).offsetWidth/this.avgWidth),this.reorder()},itemshow:function(){!c(this.prevIndex)&&s(this._getTransitioner().getItemIn(),this.clsActive)},itemshown:function(){var t=this,e=this._getTransitioner(this.index).getActives();this.slides.forEach(function(i){return d(i,t.clsActive,h(e,i))}),(!this.sets||h(this.sets,f(this.index)))&&this.slides.forEach(function(i){return d(i,t.clsActivated,h(e,i))})}},methods:{reorder:function(){var t=this;if(a(this.slides,"order",""),!this.finite){var e=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(function(i,n){return a(i,"order",t.dir>0&&n=t.index?-1:"")}),this.center)for(var i=this.slides[e],n=this.list.offsetWidth/2-i.offsetWidth/2,o=0;n>0;){var r=t.getIndex(--o+e,e),s=t.slides[r];a(s,"order",r>e?-2:-1),n-=s.offsetWidth}}},getValidIndex:function(t,e){var i;if(void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;do{if(h(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t}}})}}),Oi.use(function t(e){if(!t.installed){e.use(Fn);var i,n,o,r,s,a,l=e.mixin,h=e.util.height,u=(n=(i=e).mixin,o=i.util,r=o.assign,s=o.css,a=r({},n.slideshow.defaults.Animations,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-s(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:Wn(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-s(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Wn(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:zn(30),zIndex:-1},{transform:zn(),zIndex:0}]:[{transform:zn(-100),zIndex:0},{transform:zn(),zIndex:-1}]},percent:function(t,e,i){return i<0?1-a.translated(e):a.translated(t)},translate:function(t,e){return e<0?[{transform:zn(30*t),zIndex:-1},{transform:zn(-100*(1-t)),zIndex:0}]:[{transform:zn(100*-t),zIndex:0},{transform:zn(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:zn(100),zIndex:0},{transform:zn(),zIndex:-1}]:[{transform:zn(-30),zIndex:-1},{transform:zn(),zIndex:0}]},percent:function(t,e,i){return i>0?1-a.translated(e):a.translated(t)},translate:function(t,e){return e<0?[{transform:zn(100*t),zIndex:0},{transform:zn(-30*(1-t)),zIndex:-1}]:[{transform:zn(-30*t),zIndex:-1},{transform:zn(100*(1-t)),zIndex:0}]}}}));e.component("slideshow-parallax",qn(e,"slideshow")),e.component("slideshow",{mixins:[l.class,l.slideshow,Yn(e)],props:{ratio:String,minHeight:Boolean,maxHeight:Boolean},defaults:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:u},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],i=t[1];return i=i*this.$el.offsetWidth/e,this.minHeight&&(i=Math.max(this.minHeight,i)),this.maxHeight&&(i=Math.min(this.maxHeight,i)),{height:i}},write:function(t){var e=t.height;h(this.list,Math.floor(e))},events:["load","resize"]}})}}),Oi.use(function t(e){var i;if(!t.installed){var n=e.mixin,o=e.util,r=o.addClass,s=o.after,a=o.assign,l=o.append,h=o.attr,u=o.before,c=o.closest,d=o.css,f=o.doc,p=o.docEl,m=o.height,g=o.fastdom,v=o.getPos,w=o.includes,b=o.index,y=o.isInput,x=o.noop,k=o.offset,$=o.off,I=o.on,T=o.pointerDown,C=o.pointerMove,E=o.pointerUp,S=o.position,_=o.preventClick,A=o.Promise,N=o.remove,D=o.removeClass,M=o.toggleClass,B=o.toNodes,O=o.Transition,P=o.trigger,H=o.win,z=o.within;e.component("sortable",{mixins:[n.class],props:{group:String,animation:Number,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},defaults:{group:!1,animation:150,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1},init:function(){var t=this;["init","start","move","end"].forEach(function(e){var i=t[e];t[e]=function(e){t.scrollY=H.pageYOffset;var n=v(e),o=n.x,r=n.y;t.pos={x:o,y:r},i(e)}})},events:(i={},i[T]="init",i),update:{write:function(){if(this.clsEmpty&&M(this.$el,this.clsEmpty,!this.$el.children.length),this.drag){k(this.drag,{top:this.pos.y+this.origin.top,left:this.pos.x+this.origin.left});var t,e=k(this.drag).top,i=e+this.drag.offsetHeight;e>0&&em(H)+this.scrollY&&(t=this.scrollY+5),t&&setTimeout(function(){return H.scrollTo(H.scrollX,t)},5)}}},methods:{init:function(t){var e=t.target,i=t.button,n=t.defaultPrevented,o=B(this.$el.children).filter(function(t){return z(e,t)})[0];!o||y(t.target)||this.handle&&!z(e,this.handle)||i>0||z(e,"."+this.clsNoDrag)||n||(t.preventDefault(),this.touched=[this],this.placeholder=o,this.origin=a({target:e,index:b(o)},this.pos),I(p,C,this.move),I(p,E,this.end),I(H,"scroll",this.scroll),this.threshold||this.start(t))},start:function(t){this.drag=l(e.container,this.placeholder.outerHTML.replace(/^
    • $/i,"div>")),d(this.drag,a({boxSizing:"border-box",width:this.placeholder.offsetWidth,height:this.placeholder.offsetHeight},d(this.placeholder,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),h(this.drag,"uk-no-boot",""),r(this.drag,this.clsDrag,this.clsCustom),m(this.drag.firstElementChild,m(this.placeholder.firstElementChild));var i=k(this.placeholder),n=i.left,o=i.top;a(this.origin,{left:n-this.pos.x,top:o-this.pos.y}),r(this.placeholder,this.clsPlaceholder),r(this.$el.children,this.clsItem),r(p,this.clsDragState),P(this.$el,"start",[this,this.placeholder,this.drag]),this.move(t)},move:function(t){if(this.drag){this.$emit();var e="mousemove"===t.type?t.target:f.elementFromPoint(this.pos.x-f.body.scrollLeft,this.pos.y-f.body.scrollTop),i=W(e),n=W(this.placeholder),o=i!==n;if(i&&!z(e,this.placeholder)&&(!o||i.group&&i.group===n.group)){if(e=i.$el===e.parentNode&&e||B(i.$el.children).filter(function(t){return z(e,t)})[0],o)n.remove(this.placeholder);else if(!e)return;i.insert(this.placeholder,e),w(this.touched,i)||this.touched.push(i)}}else(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},scroll:function(){var t=H.pageYOffset;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},end:function(t){if($(p,C,this.move),$(p,E,this.end),$(H,"scroll",this.scroll),this.drag){_();var e=W(this.placeholder);this===e?this.origin.index!==b(this.placeholder)&&P(this.$el,"moved",[this,this.placeholder]):(P(e.$el,"added",[e,this.placeholder]),P(this.$el,"removed",[this,this.placeholder])),P(this.$el,"stop",[this]),N(this.drag),this.drag=null;var i=this.touched.map(function(t){return t.clsPlaceholder+" "+t.clsItem}).join(" ");this.touched.forEach(function(t){return D(t.$el.children,i)}),D(p,this.clsDragState)}else"mouseup"!==t.type&&z(t.target,"a[href]")&&(location.href=c(t.target,"a[href]").href)},insert:function(t,e){var i=this;r(this.$el.children,this.clsItem);var n=function(){var n,o;e?!z(t,i.$el)||(o=e,(n=t).parentNode===o.parentNode&&b(n)>b(o))?u(e,t):s(e,t):l(i.$el,t)};this.animation?this.animate(n):n()},remove:function(t){z(t,this.$el)&&(this.animation?this.animate(function(){return N(t)}):N(t))},animate:function(t){var e=this,i=[],n=B(this.$el.children),o={position:"",width:"",height:"",pointerEvents:"",top:"",left:"",bottom:"",right:""};n.forEach(function(t){i.push(a({position:"absolute",pointerEvents:"none",width:t.offsetWidth,height:t.offsetHeight},S(t)))}),t(),n.forEach(O.cancel),d(this.$el.children,o),this.$update("update",!0),g.flush(),d(this.$el,"minHeight",m(this.$el));var r=n.map(function(t){return S(t)});A.all(n.map(function(t,n){return O.start(d(t,i[n]),r[n],e.animation)})).then(function(){d(e.$el,"minHeight",""),d(n,o),e.$update("update",!0),g.flush()},x)}}})}function W(t){return t&&(e.getComponent(t,"sortable")||W(t.parentNode))}}),Oi.use(function t(e){var i;if(!t.installed){var n=e.util,o=e.mixin,r=n.append,s=n.attr,a=n.doc,l=n.flipPosition,h=n.hasAttr,u=n.includes,c=n.isTouch,d=n.isVisible,f=n.matches,p=n.on,m=n.pointerDown,g=n.pointerEnter,v=n.pointerLeave,w=n.remove,b=n.within,y=[];e.component("tooltip",{attrs:!0,args:"title",mixins:[o.container,o.togglable,o.position],props:{delay:Number,title:String},defaults:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active",clsPos:"uk-tooltip"},beforeConnect:function(){this._hasTitle=h(this.$el,"title"),s(this.$el,{title:"","aria-expanded":!1})},disconnected:function(){this.hide(),s(this.$el,{title:this._hasTitle?this.title:null,"aria-expanded":null})},methods:{show:function(){var t=this;u(y,this)||(y.forEach(function(t){return t.hide()}),y.push(this),this._unbind=p(a,"click",function(e){return!b(e.target,t.$el)&&t.hide()}),clearTimeout(this.showTimer),this.tooltip=r(this.container,'
      '+this.title+"
      "),s(this.$el,"aria-expanded",!0),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?l(this.dir)+"-"+this.align:this.align+"-"+l(this.dir),this.showTimer=setTimeout(function(){t.toggleElement(t.tooltip,!0),t.hideTimer=setInterval(function(){d(t.$el)||t.hide()},150)},this.delay))},hide:function(){var t=y.indexOf(this);!~t||f(this.$el,"input")&&this.$el===a.activeElement||(y.splice(t,1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),s(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&w(this.tooltip),this.tooltip=!1,this._unbind())}},events:(i={},i["focus "+g+" "+m]=function(t){t.type===m&&c(t)||this.show()},i.blur="hide",i[v]=function(t){c(t)||this.hide()},i)})}}),Oi.use(function t(e){if(!t.installed){var i=e.util,n=i.addClass,o=i.ajax,r=i.matches,s=i.noop,a=i.on,l=i.removeClass,h=i.trigger;e.component("upload",{props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},defaults:{allow:!1,clsDragover:"uk-dragover",concurrent:1,maxSize:0,mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Bytes Max",multiple:!1,name:"files[]",params:{},type:"POST",url:"",abort:s,beforeAll:s,beforeSend:s,complete:s,completeAll:s,error:s,fail:s,load:s,loadEnd:s,loadStart:s,progress:s},events:{change:function(t){r(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){c(t);var e=t.dataTransfer;e&&e.files&&(l(this.$el,this.clsDragover),this.upload(e.files))},dragenter:function(t){c(t)},dragover:function(t){c(t),n(this.$el,this.clsDragover)},dragleave:function(t){c(t),l(this.$el,this.clsDragover)}},methods:{upload:function(t){var e=this;if(t.length){h(this.$el,"upload",[t]);for(var i=0;i