/*! UIkit 3.0.0-beta.34 | 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){this.state=je,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)}}function e(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function i(t,e){return qe.call(t,e)}function n(t){return t.replace(Xe,function(t,e){return e?e.toUpperCase():""})}function o(t){return t.replace(Je,"$1-$2").toLowerCase()}function s(t){return t.replace(Ge,r)}function r(t,e){return e?e.toUpperCase():""}function a(t){return t.length?r(null,t.charAt(0))+t.slice(1):""}function l(t,e){return Ke.call(t,e)}function h(t,e){return Qe.call(t,e)}function c(t,e){return t&&(v(t)?ei:ii).call(t,e)}function u(t){return"function"==typeof t}function f(t){return null!==t&&"object"==typeof t}function d(t){return f(t)&&Object.getPrototypeOf(t)===Object.prototype}function p(t){return f(t)&&t===t.window}function m(t){return f(t)&&9===t.nodeType}function g(t){return"boolean"==typeof t}function v(t){return"string"==typeof t}function w(t){return"number"==typeof t}function y(t){return w(t)||v(t)&&!isNaN(t-parseFloat(t))}function b(t){return void 0===t}function x(t){return g(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function k(t){var e=Number(t);return!isNaN(e)&&e}function _(t){return parseFloat(t)||0}function T(t){return ni(t)?t:v(t)?t.split(",").map(function(t){return y(t)?k(t):x(t.trim())}):[t]}function E(t){if(v(t))if("@"===t[0]){var e="media-"+t.substr(1);t=oi[e]||(oi[e]=_(Nt(e)))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}function C(t,e,i){return t===Boolean?x(e):t===Number?k(e):"query"===t?L(e,i):"list"===t?T(e):"media"===t?E(e):t?t(e):e}function A(t){return t?h(t,"ms")?_(t):1e3*_(t):0}function S(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}function I(t,e){for(var i in t)if(!1===e.call(t[i],t[i],i))break}function N(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.min(Math.max(t,e),i)}function D(){}function O(t,e){return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}function B(t,e){return O({top:t.y,bottom:t.y,left:t.x,right:t.x},e)}function P(t,e){return new Ue(function(i,n){var o=si({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:D,responseType:""},e),s=o.xhr;o.beforeSend(o);for(var r in o)if(r in s)try{s[r]=o[r]}catch(t){}s.open(o.method.toUpperCase(),t);for(var a in o.headers)s.setRequestHeader(a,o.headers[a]);Rt(s,"load",function(){0===s.status||s.status>=200&&s.status<300||304===s.status?i(s):n(si(Error(s.statusText),{xhr:s,status:s.status}))}),Rt(s,"error",function(){return n(si(Error("Network Error"),{xhr:s}))}),Rt(s,"timeout",function(){return n(si(Error("Network Timeout"),{xhr:s}))}),s.send(o.data)})}function M(t,e){return v(t)?z(t)?Q(Et(t)):W(t,e):Q(t)}function H(t,e){return v(t)?z(t)?tt(Et(t)):F(t,e):tt(t)}function z(t){return"<"===t[0]||t.match(/^\s*")&&(e=e.slice(1)),Z(t)?t.parentNode&&ui.call(t,e):tt(t).map(function(t){return t.parentNode&&ui.call(t,e)}).filter(Boolean)}function J(t,e){for(var i=[],n=Q(t).parentNode;n&&1===n.nodeType;)U(n,e)&&i.push(n),n=n.parentNode;return i}function G(t){return f(t)&&!!t.jquery}function Z(t){return t instanceof Node||f(t)&&1===t.nodeType}function K(t){return t instanceof NodeList||t instanceof HTMLCollection}function Q(t){return Z(t)||p(t)||m(t)?t:K(t)||G(t)?t[0]:ni(t)?Q(t[0]):null}function tt(t){return Z(t)?[t]:K(t)?ri.slice.call(t):ni(t)?t.map(Q).filter(Boolean):G(t)?t.toArray():[]}function et(t,e,i){if(f(e))for(var n in e)et(t,n,e[n]);else{if(b(i))return(t=Q(t))&&t.getAttribute(e);tt(t).forEach(function(t){u(i)&&(i=i.call(t,et(t,e))),null===i?nt(t,e):t.setAttribute(e,i)})}}function it(t,e){return tt(t).some(function(t){return t.hasAttribute(e)})}function nt(t,e){t=tt(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeAttribute(e)})})}function ot(t,e,i,n){et(t,e,function(t){return t?t.replace(i,n):t})}function st(t,e){for(var i=0,n=[e,"data-"+e];i1?tt(i.childNodes):i.firstChild}function Ct(t,e){return e?tt(t).indexOf(Q(e)):tt((t=Q(t))&&t.parentNode.children).indexOf(t)}function At(t,e,i){return tt(t).map(function(t){if(v(e)){if(e=Dt(e),b(i))return It(t,e);i||0===i?t.style[e]=y(i)&&!Ai[e]?i+"px":i:t.style.removeProperty(e)}else{if(ni(e)){var n=St(t);return e.reduce(function(t,e){return t[e]=Dt(n[e]),t},{})}f(e)&&I(e,function(e,i){return At(t,i,e)})}return t})[0]}function St(t,e){return(t=Q(t)).ownerDocument.defaultView.getComputedStyle(t,e)}function It(t,e,i){return St(t,i)[e]}function Nt(t){if(!(t in Si)){var e=wt(pi,di.createElement("div"));Bt(e,"var-"+t);try{Si[t]=It(e,"content",":before").replace(/^["'](.*)["']$/,"$1"),Si[t]=JSON.parse(Si[t])}catch(t){}pi.removeChild(e)}return Si[t]}function Dt(t){var e=Ii[t];return e||(e=Ii[t]=Ot(t)||t),e}function Ot(t){if((t=o(t))in Di)return t;for(var e,i=Ni.length;i--;)if((e="-"+Ni[i]+t)in Di)return e}function Bt(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];jt(t,e,"add")}function Pt(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];jt(t,e,"remove")}function Mt(t,e){ot(t,"class",new RegExp("(^|\\s)"+e+"(?!\\S)","g"),"")}function Ht(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];e[0]&&Pt(t,e[0]),e[1]&&Bt(t,e[1])}function zt(t,e){return Re&&tt(t).some(function(t){return t.classList.contains(e)})}function Lt(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(Re&&e.length){var n=v((e=Wt(e))[e.length-1])?void 0:e.pop();tt(t).forEach(function(t){for(var i=t.classList,o=0;o1&&(r=Gt(r)),o.split(" ").forEach(function(t){return n.addEventListener(t,r,a)}),function(){return Yt(n,o,r,a)}}function Yt(t,e,i,n){void 0===n&&(n=!1),e.split(" ").forEach(function(e){return Kt(t).removeEventListener(e,i,n)})}function Vt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Xt(t),n=i[0],o=i[1],s=i[2],r=i[3],a=i[4],l=i[5],h=Rt(n,o,s,function(t){var e=!l||l(t);e&&(h(),r(t,e))},a);return h}function qt(t,e,i){return Qt(t).reduce(function(t,n){return t&&n.dispatchEvent(Ut(e,!0,!0,i))},!0)}function Ut(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),v(t)){var o=di.createEvent("CustomEvent");o.initCustomEvent(t,e,i,n),t=o}return t}function Xt(t){return v(t[0])&&(t[0]=M(t[0])),u(t[2])&&t.splice(2,0,!1),t}function Jt(t,e,i){var n=this;return function(o){var s=o.target,r=">"===e[0]?H(e,t).filter(function(t){return V(s,t)})[0]:X(s,e);r&&(o.delegate=t,o.current=r,i.call(n,o))}}function Gt(t){return function(e){return ni(e.detail)?t.apply(t,[e].concat(e.detail)):t(e)}}function Zt(t){return"EventTarget"in fi?t instanceof EventTarget:"addEventListener"in t}function Kt(t){return Zt(t)?t:Q(t)}function Qt(t){return Zt(t)?[t]:ni(t)?t.map(Kt).filter(Boolean):tt(t)}function te(){qi.scheduled||(qi.scheduled=!0,Bi(qi.flush.bind(qi)))}function ee(t){for(var e;e=t.shift();)e()}function ie(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}function ne(){}function oe(t,e){return(e.y-t.y)/(e.x-t.x)}function se(t,e){function n(i){s[i]=(Ui[i]||Xi)(t[i],e[i])}var o,s={};if(e.mixins)for(var r=0,a=e.mixins.length;r=a[p]&&n+h[e]<=a[m])return f[p]=n,["element","target"].forEach(function(i){l[i][d]=t?l[i][d]===en[e][1]?en[e][2]:en[e][1]:l[i][d]}),!0}var d=t[0],p=t[1],m=t[2];if(!0===r||c(r,d)){var g=i[d]===p?-h[e]:i[d]===m?h[e]:0,v=n[d]===p?u[e]:n[d]===m?-u[e]:0;if(f[p]a[m]){var w=h[e]/2,y="center"===n[d]?-u[e]/2:0;"center"===i[d]&&(s(w,y)||s(-w,-y))||s(g,v)}}}),he(t,f),l}function he(t,e){t=Q(t);{if(!e)return ce(t);var i=he(t),n=At(t,"position");["left","top"].forEach(function(o){if(o in e){var s=At(t,o);t.style[o]=e[o]-i[o]+_("absolute"===n&&"auto"===s?ue(t)[o]:s)+"px"}})}}function ce(t){var e=me(t=Q(t)),i=e.pageYOffset,n=e.pageXOffset;if(p(t)){var o=t.innerHeight,s=t.innerWidth;return{top:i,left:n,height:o,width:s,bottom:i+o,right:n+s}}var r=!1;pt(t)||(r=t.style.display,t.style.display="block");var a=t.getBoundingClientRect();return!1!==r&&(t.style.display=r),{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=fe(t=Q(t)),i=e===xe(t)?{top:0,left:0}:he(e);return["top","left"].reduce(function(n,o){var s=a(o);return n[o]-=i[o]+(_(At(t,"margin"+s))||0)+(_(At(e,"border"+s+"Width"))||0),n},he(t))}function fe(t){for(var e=Q(t).offsetParent;e&&"static"===At(e,"position");)e=e.offsetParent;return e||xe(t)}function de(t){var e=a(t);return function(i,n){if(i=Q(i),b(n)){if(p(i))return i["inner"+e];if(m(i)){var o=i.documentElement;return Math.max(o.offsetHeight,o.scrollHeight)}return n=At(i,t),n="auto"===n?i["offset"+e]:_(n)||0,pe(t,i,n)}At(i,t,n||0===n?pe(t,i,n)+"px":"")}}function pe(t,e,i){return"border-box"===At(e,"boxSizing")?en[t].slice(1).map(a).reduce(function(t,i){return t-_(At(e,"padding"+i))-_(At(e,"border"+i+"Width"))},i):i}function me(t){return p(t)?t:be(t).defaultView}function ge(t,e,i,n){I(en,function(o,s){var r=o[0],a=o[1],l=o[2];e[r]===l?t[a]+=i[s]*n:"center"===e[r]&&(t[a]+=i[s]*n/2)})}function ve(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 we(t,e,i){var n=(t||"").split(" "),o=n[0],s=n[1];return{x:o?_(o)*(h(o,"%")?e/100:1):0,y:s?_(s)*(h(s,"%")?i/100:1):0}}function ye(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function be(t){return Q(t).ownerDocument}function xe(t){return be(t).documentElement}function ke(t){var e=t.x1,i=t.x2,n=t.y1,o=t.y2;return Math.abs(e-i)>=Math.abs(n-o)?e-i>0?"Left":"Right":n-o>0?"Up":"Down"}function $e(){Zi&&clearTimeout(Zi),Ki&&clearTimeout(Ki),Qi&&clearTimeout(Qi),Zi=Ki=Qi=null,sn={}}function _e(t){return rn||"touch"===t.pointerType}function Te(t){var e=t.touches,i=t.changedTouches,n=e&&e[0]||i&&i[0]||t;return{x:n.pageX,y:n.pageY}}function Ee(){cn||(cn=[Rt(pi,"click",function(t){var e=t.target,i=t.defaultPrevented;hn&&hn.bgClose&&!i&&!V(e,hn.panel)&&hn.hide()}),Rt(di,"keydown",function(t){27===t.keyCode&&hn&&hn.escClose&&(t.preventDefault(),hn.hide())})])}function Ce(){cn&&cn.forEach(function(t){return t()}),cn=null}function Ae(t){function e(t){var e=t-Date.now();return{total:e,seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24}}if(!Ae.installed){var i=t.util,n=i.$,o=i.doc,s=i.empty,r=i.html;t.component("countdown",{mixins:[t.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 s(t[e])})},events:[{name:"visibilitychange",el:o,handler:function(){o.hidden?this.stop():this.start()}}],update:{write:function(){var t=this,i=e(this.date);i.total<=0&&(this.stop(),i.days=i.hours=i.minutes=i.seconds=0),this.units.forEach(function(e){var n=String(Math.floor(i[e]));n=n.length<2?"0"+n:n;var o=t[e];o.textContent!==n&&((n=n.split("")).length!==o.children.length&&r(o,n.map(function(){return""}).join("")),n.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)}}})}}function Se(t){function e(t,e){return t.sort(function(t,i){return t[e]>i[e]?1:i[e]>t[e]?-1:0})}if(!Se.installed){var i=t.util,n=i.$$,o=i.addClass,s=i.css,r=i.scrolledOver,a=i.toFloat,l=i.toNodes;t.component("grid-parallax",t.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)},items:function(t,e){var i=t.target;return i?n(i,e):l(e.children)}},init:function(){o(this.$el,"uk-grid")},disconnected:function(){this.reset(),s(this.$el,"marginBottom","")},update:[{read:function(){this.columns=this.rows&&this.rows[0]&&this.rows[0].length||0,this.rows=this.rows&&this.rows.map(function(t){return e(t,"offsetLeft")})},write:function(){s(this.$el,"marginBottom",this.columns>1?this.translate+a(s(s(this.$el,"marginBottom",""),"marginBottom")):"")},events:["load","resize"]},{read:function(){this.scrolled=r(this.$el)*this.translate},write:function(){var t=this;if(!this.rows||1===this.columns||!this.scrolled)return this.reset();this.rows.forEach(function(e){return e.forEach(function(e,i){return s(e,"transform","translateY("+(i%2?t.scrolled:t.scrolled/8)+"px)")})})},events:["scroll","load","resize"]}],methods:{reset:function(){s(this.items,"transform","")}}})),t.component("grid-parallax").options.update.unshift({read:function(){this.reset()},events:["load","resize"]})}}function Ie(t){return void 0===t&&(t=0),"translate("+t+(t?"%":"")+", 0)"}function Ne(t){return"scale3d("+t+", "+t+", 1)"}function De(t){function e(t,e,n,o,s,r){var a=t.percent,l=t.translate,h=(0,t.show)(s);return{animation:t,dir:s,current:n,next:o,show:function(t,a,l){var c=this;void 0===a&&(a=0);var u=l?"linear":e;return t-=Math.round(t*a),this.translate(a),i(o,"itemin",{percent:a,duration:t,ease:u,dir:s}),n&&i(n,"itemout",{percent:1-a,duration:t,ease:u,dir:s}),I.all([B.start(o,h[1],t,u),n&&B.start(n,h[0],t,u)]).then(function(){c.reset(),r()},$)},stop:function(){return B.stop([o,n])},cancel:function(){B.cancel([o,n])},reset:function(){for(var t in h[0])d([o,n],t,"")},forward:function(t){var e=this.percent();B.cancel([o,n]),this.show(t,e,!0)},translate:function(t){var e=l(t,s);d(o,e[1]),n&&d(n,e[0]),i(o,"itemtranslatein",{percent:t,dir:s}),n&&i(n,"itemtranslateout",{percent:1-t,dir:s})},percent:function(){return a(n,o,s)}}}function i(t,e,i){P(t,f(e,!1,!1,i))}function n(t){return~~t}function o(t,e){return"next"===t?1:"previous"===t?-1:t *"},handler:function(t){!k(t)&&r(t.target)||this.start(t)}},{name:"visibilitychange",el:m,handler:function(){m.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}},{name:"beforeitemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;c(e,this.clsActive)}},{name:"itemshown",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;c(e,this.clsActivated)}},{name:"itemshow itemhide",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.type,i=t.target;D(l("["+this.attrItem+'="'+x(i)+'"],[data-'+this.attrItem+'="'+x(i)+'"]',this.$el),this.clsActive,g(e,"show"))}},{name:"itemhidden",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=t.target;N(e,this.clsActive),N(e,this.clsActivated)}},{name:"itemshow itemhide itemshown itemhidden",self:!0,delegate:function(){return this.selList+" > *"},handler:function(e){var i=e.target;t.update(null,i)}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(t){if(!(t.button&&0!==t.button||this.slides.length<2||this._animation&&this._animation.animation!==this.animation)){var e=0;if(this.stack.length){var i=this._animation,n=i.dir,o=i.percent,s=i.cancel,r=i.translate;e=o()*n,this.percent=H(e)*-n,this.stack.splice(0,this.stack.length),s(),r(H(e)),this.index=this.getIndex(this.index-n),this.dragging=!0}this.unbindMove=T(m,C,this.move,{capture:!0,passive:!1}),T(M,"scroll",this.unbindMove),T(m,A,this.end,!0),this.drag=this.pos+this.$el.offsetWidth*e}},move:function(i){var o=this,s=this.pos-this.drag;if(!(this.prevPos===this.pos||!this.dragging&&H(s)this.prevPos)&&(this.index=this.getIndex(t>0?"previous":"next"),this.percent=1-this.percent,t*=-1),this._animation&&this._animation.reset(),this.show(t>0?"previous":"next",!0),S()}this.drag=this.dragging=this.percent=null},show:function(t,e){var i=this;if(void 0===e&&(e=!1),e||!this.drag)if(this.stack[e?"unshift":"push"](t),!e&&this.stack.length>1)2===this.stack.length&&this._animation.forward(250);else{var n=this.index,s=this.getIndex(t),r=b(this.slides,"uk-active")&&this.slides[n],a=this.slides[s];if(r!==a){r&&P(r,"beforeitemhide",[this]),P(a,"beforeitemshow",[this]),this.index=s;var l=function(){r&&P(r,"itemhidden",[i]),P(a,"itemshown",[i]),v.mutate(function(){i.stack.shift(),i.stack.length?i.show(i.stack.shift(),!0):i._animation=null})};(r||this.initialAnimation)&&this._show(r?this.animation:this.Animations[this.initialAnimation],e?"cubic-bezier(0.165, 0.840, 0.440, 1.000)":this.easing,r,a,o(t,n),this.stack.length>1,l),r&&P(r,"itemhide",[this]),P(a,"itemshow",[this]),r||this.initialAnimation||l(),r&&v.flush()}else this.stack[e?"shift":"pop"]()}},_show:function(t,i,n,o,s,r,a){this._animation=new e(t,i,n,o,s,a),this._animation.show(n===o?300:r?150:this.duration,this.percent,r)},getIndex:function(t){return void 0===t&&(t=this.index),w(t,this.slides,this.index)},startAutoplay:function(){var t=this;this.stopAutoplay(),this.autoplay&&(this.interval=setInterval(function(){t.isHovering&&t.pauseOnHover||t.stack.length||t.show("next")},this.autoplayInterval))},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}}}}function Oe(t){function e(t,e,i,n){return''}if(!Oe.installed){t.use(De);var i=t.mixin,n=t.util,o=n.$,s=n.$$,r=n.addClass,a=n.ajax,l=n.append,h=n.assign,c=n.attr,u=n.css,f=n.doc,d=n.docEl,p=n.data,m=n.getImage,g=n.html,v=n.index,w=n.on,y=n.pointerDown,b=n.pointerMove,x=n.removeClass,k=n.Transition,$=n.trigger;t.component("lightbox",{attrs:!0,props:{animation:String,toggle:String,autoplay:Boolean,autoplayInterval:Number,videoAutoplay:Boolean},defaults:{animation:void 0,toggle:"a",autoplay:0,videoAutoplay:!1},computed:{toggles:function(t,e){var i=this,n=t.toggle,o=s(n,e);return this._changed=!this._toggles||o.length!==this._toggles.length||o.some(function(t,e){return t!==i._toggles[e]}),this._toggles=o}},disconnected:function(){this.panel&&(this.panel.$destroy(!0),this.panel=null)},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),t.current.blur(),this.show(v(this.toggles,t.current))}}],update:function(){this.panel&&this.animation&&(this.panel.$props.animation=this.animation,this.panel.$emit()),this.toggles.length&&this._changed&&this.panel&&(this.panel.$destroy(!0),this._init())},methods:{_init:function(){return this.panel=this.panel||t.lightboxPanel(h({},this.$props,{items:this.toggles.reduce(function(t,e){return t.push(["href","caption","type","poster"].reduce(function(t,i){return t["href"===i?"source":i]=p(e,i),t},{})),t},[])}))},show:function(t){return this.panel||this._init(),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}}),t.component("lightbox-panel",{mixins:[i.container,i.togglable,i.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",initialAnimation:"scale",pauseOnHover:!1,velocity:2,Animations:Un(t),template:'
    '},created:function(){var t=this;this.$mount(l(this.container,this.template)),this.caption=o(".uk-lightbox-caption",this.$el),this.items.forEach(function(e,i){return l(t.list,"
  • ")})},events:[{name:b+" "+y+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){t.preventDefault(),this.hide()}},{name:"show",self:!0,handler:function(){r(d,this.clsPage)}},{name:"shown",self:!0,handler:"showControls"},{name:"hide",self:!0,handler:"hideControls"},{name:"hidden",self:!0,handler:function(){x(d,this.clsPage)}},{name:"keyup",el:function(){return f},handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 27:this.hide();break;case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"toggle",handler:function(t){t.preventDefault(),this.toggle()}},{name:"beforeitemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(){this.isToggled()||this.toggleNow(this.$el,!0)}},{name:"itemshow",self:!0,delegate:function(){return this.selList+" > *"},handler:function(t){var e=this,i=t.target,n=v(i),o=this.getItem(n).caption;u(this.caption,"display",o?"":"none"),g(this.caption,o);for(var s=0;s<=this.preload;s++)e.loadItem(e.getIndex(n+s)),e.loadItem(e.getIndex(n-s))}},{name:"itemload",handler:function(t,i){var n,s=this,r=i.source,l=i.type;if(this.setItem(i,""),r)if("image"===l||r.match(/\.(jp(e)?g|png|gif|svg)$/i))m(r).then(function(t){return s.setItem(i,'')},function(){return s.setError(i)});else if("video"===l||r.match(/\.(mp4|webm|ogv)$/i)){var h=o("');c(h,"src",r),w(h,"error",function(){return s.setError(i)}),w(h,"loadedmetadata",function(){c(h,{width:h.videoWidth,height:h.videoHeight}),s.setItem(i,h)})}else if("iframe"===l)this.setItem(i,'');else if(n=r.match(/\/\/.*?youtube\.[a-z]+\/watch\?v=([^&\s]+)/)||r.match(/youtu\.be\/(.*)/)){var u=n[1],f=function(t,n){return void 0===t&&(t=640),void 0===n&&(n=450),s.setItem(i,e("//www.youtube.com/embed/"+u,t,n,s.videoAutoplay))};m("//img.youtube.com/vi/"+u+"/maxresdefault.jpg").then(function(t){var e=t.width,i=t.height;120===e&&90===i?m("//img.youtube.com/vi/"+u+"/0.jpg").then(function(t){var e=t.width,i=t.height;return f(e,i)},f):f(e,i)},f)}else(n=r.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&a("//vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(r),{responseType:"json"}).then(function(t){var o=t.response,r=o.height,a=o.width;return s.setItem(i,e("//player.vimeo.com/video/"+n[2],a,r,s.videoAutoplay))})}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},hide:function(){this.isToggled()&&this.toggleNow(this.$el,!1),x(this.slides,this.clsActive),k.stop(this.slides),delete this.index,delete this.percent,delete this._animation},loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);e.content||$(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(e,i){h(e,{content:i});var n=g(this.slides[this.items.indexOf(e)],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),c(s("["+this.attrItem+"],[data-"+this.attrItem+"]",this.$el),"hidden",this.items.length<2?"":null),r(this.$el,"uk-active uk-transition-active")},hideControls:function(){x(this.$el,"uk-active uk-transition-active")}}})}}function Be(t){if(!Be.installed){var e=t.util,i=e.append,n=e.closest,o=e.css,s=e.each,r=e.pointerEnter,a=e.pointerLeave,l=e.remove,h=e.toFloat,c=e.Transition,u=e.trigger,f={};t.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(){f[this.pos]||(f[this.pos]=i(t.container,'
    '));var e=o(f[this.pos],"display","block");this.$mount(i(e,'
    '+this.message+"
    "))},ready:function(){var t=this,e=h(o(this.$el,"marginBottom"));c.start(o(this.$el,{opacity:0,marginTop:-1*this.$el.offsetHeight,marginBottom:0}),{opacity:1,marginTop:0,marginBottom:e}).then(function(){t.timeout&&(t.timer=setTimeout(t.close,t.timeout))})},events:(d={click:function(t){n(t.target,'a[href="#"]')&&t.preventDefault(),this.close()}},d[r]=function(){this.timer&&clearTimeout(this.timer)},d[a]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},d),methods:{close:function(t){var e=this,i=function(){u(e.$el,"close",[e]),l(e.$el),f[e.pos].children.length||o(f[e.pos],"display","none")};this.timer&&clearTimeout(this.timer),t?i():c.start(this.$el,{opacity:0,marginTop:-1*this.$el.offsetHeight,marginBottom:0}).then(i)}}});var d;t.notification.closeAll=function(e,i){s(t.instances,function(t){"notification"!==t.$options.name||e&&e!==t.group||t.close(i)})}}}function Pe(t){function e(t,e){return a(t*(1-(e-e*t)))}function i(t,e){return l(l(t,"color",e),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(function(t){return g(t)})}function n(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 o(t,e){var i=n(t,e),o=i[0],s=i[1],r=i[2];return(d(o)?o+Math.abs(o-s)*r*(or&&(a=parseFloat(a))&&(t.props[o].steps=l.map(function(t){return t-(u-r)/(100/a)})),n=h.cover(e,i))}),l(this.$el,{backgroundSize:n.width+"px "+n.height+"px",backgroundRepeat:"no-repeat"})}else l(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["load","resize"]}],methods:{reset:function(){var t=this;c(this.getCss(0),function(e,i){return l(t.$el,i,"")})},getCss:function(t){var e=!1,i=this.props;return Object.keys(i).reduce(function(s,r){var a=i[r],l=a.steps,h=a.unit,c=a.pos,u=o(l,t);switch(r){case"x":case"y":if(e)break;var f=["x","y"].map(function(e){return r===e?u+h:i[e]?o(i[e].steps,t)+i[e].unit:0}),d=f[0],p=f[1];e=s.transform+=" translate3d("+d+", "+p+", 0)";break;case"rotate":s.transform+=" rotate("+u+"deg)";break;case"scale":s.transform+=" scale("+u+")";break;case"bgy":case"bgx":s["background-position-"+r[2]]="calc("+c+" + "+(u+h)+")";break;case"color":case"backgroundColor":case"borderColor":var m=n(l,t),v=m[0],w=m[1],y=m[2];s[r]="rgba("+v.map(function(t,e){return t+=y*(w[e]-t),3===e?g(t):parseInt(t,10)}).join(",")+")";break;case"blur":s.filter+=" blur("+u+"px)";break;case"hue":s.filter+=" hue-rotate("+u+"deg)";break;case"fopacity":s.filter+=" opacity("+u+"%)";break;case"grayscale":case"invert":case"saturate":case"sepia":s.filter+=" "+r+"("+u+"%)";break;default:s[r]=u}return s},{transform:"",filter:""})}}},t.component("parallax",{mixins:[s.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&&v(i,e)||e}},disconnected:function(){delete this._prev},update:[{read:function(){this._percent=e(m(this.target)/(this.viewport||1),this.easing)},write:function(t){"scroll"!==t.type&&delete this._prev,this._active?this._prev!==this._percent&&(l(this.$el,this.getCss(this._percent)),this._prev=this._percent):this.reset()},events:["scroll","load","resize"]}]})}}function Me(t){function e(t){return l(t,"in")}function i(t,i,n){return n/=2,e(t)?i<0?1-n:n:i<0?n:1-n}if(!Me.installed){t.use(Pe),t.use(De);var n=t.mixin,o=t.util,s=o.closest,r=o.css,a=o.fastdom,l=o.endsWith,h=o.height,c=o.noop,u=o.Transition;t.component("slideshow",{mixins:[n.class,n.slideshow],props:{ratio:String,minHeight:Boolean,maxHeight:Boolean},defaults:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",Animations:Xn(t)},ready:function(){var t=this;a.mutate(function(){return t.show(t.index)})},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],i=t[1];this.height=i*this.$el.offsetWidth/e,this.minHeight&&(this.height=Math.max(this.minHeight,this.height)),this.maxHeight&&(this.height=Math.min(this.maxHeight,this.height))},write:function(){h(this.list,Math.floor(this.height))},events:["load","resize"]}}),t.component("slideshow-parallax",{mixins:[n.parallax],computed:{item:function(){var e=t.getComponent(s(this.$el,".uk-slideshow"),"slideshow");return e&&s(this.$el,e.selList+" > *")}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){r(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var n=t.type,o=t.detail,s=o.percent,a=o.duration,l=o.ease,h=o.dir;u.cancel(this.$el),r(this.$el,this.getCss(i(n,h,s))),u.start(this.$el,this.getCss(e(n)?.5:h>0?1:0),a,l).catch(c)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){u.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,n=t.detail,o=n.percent,s=n.dir;u.cancel(this.$el),r(this.$el,this.getCss(i(e,s,o)))}}]})}}function He(t){function e(i){return i&&(t.getComponent(i,"sortable")||e(i.parentNode))}function i(t,e){return t.parentNode===e.parentNode&&y(t)>y(e)}if(!He.installed){var n=t.mixin,o=t.util,s=o.addClass,r=o.after,a=o.assign,l=o.append,h=o.attr,c=o.before,u=o.closest,f=o.css,d=o.doc,p=o.docEl,m=o.height,g=o.fastdom,v=o.getPos,w=o.includes,y=o.index,b=o.isInput,x=o.noop,k=o.offset,$=o.off,_=o.on,T=o.pointerDown,E=o.pointerMove,C=o.pointerUp,A=o.position,S=o.preventClick,I=o.Promise,N=o.remove,D=o.removeClass,O=o.toggleClass,B=o.toNodes,P=o.Transition,M=o.trigger,H=o.win,z=o.within;t.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.scrollY;var n=v(e),o=n.x,s=n.y;t.pos={x:o,y:s},i(e)}})},events:(L={},L[T]="init",L),update:{write:function(){if(this.clsEmpty&&O(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||b(t.target)||this.handle&&!z(e,this.handle)||0!==i||z(e,"."+this.clsNoDrag)||n||(t.preventDefault(),this.touched=[this],this.placeholder=o,this.origin=a({target:e,index:y(o)},this.pos),_(p,E,this.move),_(p,C,this.end),_(H,"scroll",this.scroll),this.threshold||this.start(t))},start:function(e){this.drag=l(t.container,this.placeholder.outerHTML.replace(/^
  • $/i,"div>")),f(this.drag,a({boxSizing:"border-box",width:this.placeholder.offsetWidth,height:this.placeholder.offsetHeight},f(this.placeholder,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),h(this.drag,"uk-no-boot",""),s(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}),s(this.placeholder,this.clsPlaceholder),s(this.$el.children,this.clsItem),s(p,this.clsDragState),M(this.$el,"start",[this,this.placeholder,this.drag]),this.move(e)},move:function(t){if(this.drag){this.$emit();var i="mousemove"===t.type?t.target:d.elementFromPoint(this.pos.x-d.body.scrollLeft,this.pos.y-d.body.scrollTop),n=e(i),o=e(this.placeholder),s=n!==o;if(n&&!z(i,this.placeholder)&&(!s||n.group&&n.group===o.group)){if(i=n.$el===i.parentNode&&i||B(n.$el.children).filter(function(t){return z(i,t)})[0],s)o.remove(this.placeholder);else if(!i)return;n.insert(this.placeholder,i),w(this.touched,n)||this.touched.push(n)}}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.scrollY;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},end:function(t){if($(p,E,this.move),$(p,C,this.end),$(H,"scroll",this.scroll),this.drag){S();var i=e(this.placeholder);this===i?this.origin.index!==y(this.placeholder)&&M(this.$el,"moved",[this,this.placeholder]):(M(i.$el,"added",[i,this.placeholder]),M(this.$el,"removed",[this,this.placeholder])),M(this.$el,"stop",[this]),N(this.drag),this.drag=null;var n=this.touched.map(function(t){return t.clsPlaceholder+" "+t.clsItem}).join(" ");this.touched.forEach(function(t){return D(t.$el.children,n)}),D(p,this.clsDragState)}else"mouseup"!==t.type&&z(t.target,"a[href]")&&(location.href=u(t.target,"a[href]").href)},insert:function(t,e){var n=this;s(this.$el.children,this.clsItem);var o=function(){e?!z(t,n.$el)||i(t,e)?c(e,t):r(e,t):l(n.$el,t)};this.animation?this.animate(o):o()},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},A(t)))}),t(),n.forEach(P.cancel),f(this.$el.children,o),this.$update("update",!0),g.flush(),f(this.$el,"minHeight",m(this.$el));var s=n.map(function(t){return A(t)});I.all(n.map(function(t,n){return P.start(f(t,i[n]),s[n],e.animation)})).then(function(){f(e.$el,"minHeight",""),f(n,o),e.$update("update",!0),g.flush()},x)}}});var L}}function ze(t){if(!ze.installed){var e=t.util,i=t.mixin,n=e.append,o=e.attr,s=e.doc,r=e.fastdom,a=e.flipPosition,l=e.includes,h=e.isTouch,c=e.isVisible,u=e.matches,f=e.on,d=e.pointerDown,p=e.pointerEnter,m=e.pointerLeave,g=e.remove,v=e.within,w=[];t.component("tooltip",{attrs:!0,mixins:[i.container,i.togglable,i.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"},connected:function(){var t=this;r.mutate(function(){return o(t.$el,{title:null,"aria-expanded":!1})})},disconnected:function(){this.hide()},methods:{show:function(){var t=this;l(w,this)||(w.forEach(function(t){return t.hide()}),w.push(this),this._unbind=f(s,"click",function(e){return!v(e.target,t.$el)&&t.hide()}),clearTimeout(this.showTimer),this.tooltip=n(this.container,'
    '+this.title+"
    "),o(this.$el,"aria-expanded",!0),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?a(this.dir)+"-"+this.align:this.align+"-"+a(this.dir),this.showTimer=setTimeout(function(){t.toggleElement(t.tooltip,!0),t.hideTimer=setInterval(function(){c(t.$el)||t.hide()},150)},this.delay))},hide:function(){var t=w.indexOf(this);!~t||u(this.$el,"input")&&this.$el===s.activeElement||(w.splice(t,1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),o(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&g(this.tooltip),this.tooltip=!1,this._unbind())}},events:(y={blur:"hide"},y["focus "+p+" "+d]=function(t){t.type===d&&h(t)||this.show()},y[m]=function(t){h(t)||this.hide()},y)});var y}}function Le(t){function e(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function i(t,e){for(var i=[],n=0;n0;)e[n]=arguments[n+1];t=Object(t);for(var o=0;o+~]/,li=/([!>+~])(?=\s+[!>+~]|\s*$)/g,hi=Element.prototype,ci=hi.matches||hi.msMatchesSelector,ui=hi.closest||function(t){var e=this;do{if(U(e,t))return e;e=e.parentNode}while(e&&1===e.nodeType)},fi=window,di=document,pi=di.documentElement,mi="rtl"===et(pi,"dir"),gi="transitioncanceled",vi={start:lt,stop:function(t){return qt(t,Ri),Ue.resolve()},cancel:function(t){qt(t,gi)},inProgress:function(t){return zt(t,"uk-transition")}},wi="animationcancel",yi="uk-animation-",bi="uk-cancel-animation",xi=new RegExp(yi+"(enter|leave)"),ki={in:function(t,e,i,n){return ht(t,e,i,n,!1)},out:function(t,e,i,n){return ht(t,e,i,n,!0)},inProgress:function(t){return xi.test(et(t,"class"))},cancel:function(t){qt(t,wi)}},$i={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},_i={ratio:function(t,e,i){var n="width"===e?"height":"width";return o={},o[n]=Math.round(i*t[n]/t[e]),o[e]=i,o;var o},contain:function(t,e){var i=this;return t=si({},t),I(t,function(n,o){return t=t[o]>e[o]?i.ratio(t,o,e[o]):t}),t},cover:function(t,e){var i=this;return t=this.contain(t,e),I(t,function(n,o){return t=t[o]]*>/,Ci=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Ai={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,widows:!0,"z-index":!0,zoom:!0},Si={},Ii={},Ni=["webkit","moz","ms"],Di=di.createElement("div").style;!function(){var t=di.createElement("_").classList;t&&(t.add("a","b"),t.toggle("c",!1),Ye=t.contains("b"),Ve=!t.contains("c"),Re=!0),t=null}();var Oi=fi.MutationObserver||fi.WebKitMutationObserver,Bi=fi.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},Pi="ontouchstart"in fi,Mi=fi.PointerEvent,Hi="ontouchstart"in fi||fi.DocumentTouch&&di instanceof DocumentTouch||navigator.msPointerEnabled&&navigator.msMaxTouchPoints||navigator.pointerEnabled&&navigator.maxTouchPoints,zi=Hi?"mousedown "+(Pi?"touchstart":"pointerdown"):"mousedown",Li=Hi?"mousemove "+(Pi?"touchmove":"pointermove"):"mousemove",ji=Hi?"mouseup "+(Pi?"touchend":"pointerup"):"mouseup",Wi=Hi&&Mi?"pointerenter":"mouseenter",Fi=Hi&&Mi?"pointerleave":"mouseleave",Ri=Ft("transition","transition-end"),Yi=Ft("animation","animation-start"),Vi=Ft("animation","animation-end"),qi={reads:[],writes:[],measure:function(t){return this.reads.push(t),te(),t},mutate:function(t){return this.writes.push(t),te(),t},clear:function(t){return ie(this.reads,t)||ie(this.writes,t)},flush:function(){ee(this.reads),ee(this.writes.splice(0,this.writes.length)),this.scheduled=!1,(this.reads.length||this.writes.length)&&te()}};ne.prototype={positions:[],position:null,init:function(){var t=this;this.positions=[],this.position=null;var e=!1;this.unbind=Rt(di,"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=he(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+(oe(n,e[0])oe(i,e[1]))},0)}};var Ui={};Ui.args=Ui.created=Ui.events=Ui.init=Ui.ready=Ui.connected=Ui.disconnected=Ui.destroy=function(t,e){return t=t&&!ni(t)?[t]:t,e?t?t.concat(e):ni(e)?e:[e]:t},Ui.update=function(t,e){return Ui.args(t,u(e)?{read:e}:e)},Ui.props=function(t,e){return ni(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),Ui.methods(t,e)},Ui.computed=Ui.defaults=Ui.methods=function(t,e){return e?t?si({},t,e):e:t};var Xi=function(t,e){return b(e)?t:e},Ji=0,Gi=function(t){this.id=++Ji,this.el=Q(t)};Gi.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},Gi.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},Gi.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},Gi.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},Gi.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},Gi.prototype.enableApi=function(){var t=this;if(this.ready)return this.ready;var e,i=this.isYoutube(),n=this.isVimeo();return i||n?this.ready=new Ue(function(o){Vt(t.el,"load",function(){if(i){var n=function(){return re(t.el,{event:"listening",id:t.id})};e=setInterval(n,100),n()}}),ae(function(e){return i&&e.id===t.id&&"onReady"===e.event||n&&Number(e.player_id)===t.id}).then(function(){o(),e&&clearInterval(e)}),et(t.el,"src",t.el.src+(c(t.el.src,"?")?"&":"?")+(i?"enablejsapi=1":"api=1&player_id="+Ji))}):Ue.resolve()},Gi.prototype.play=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return re(t.el,{func:"playVideo",method:"play"})}):this.isHTML5()&&this.el.play())},Gi.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return re(t.el,{func:"pauseVideo",method:"pause"})}):this.isHTML5()&&this.el.pause())},Gi.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then(function(){return re(t.el,{func:"mute",method:"setVolume",value:0})}):this.isHTML5()&&(this.el.muted=!0,et(this.el,"muted","")))};var Zi,Ki,Qi,tn,en={width:["x","left","right"],height:["y","top","bottom"]},nn=de("height"),on=de("width"),sn={};at(function(){Rt(di,"click",function(){return tn=!0},!0),Rt(di,zi,function(t){var e=t.target,i=Te(t),n=i.x,o=i.y,s=Date.now();sn.el="tagName"in e?e:e.parentNode,Zi&&clearTimeout(Zi),sn.x1=n,sn.y1=o,sn.last&&s-sn.last<=250&&(sn={}),sn.last=s,tn=t.button>0}),Rt(di,Li,function(t){var e=Te(t),i=e.x,n=e.y;sn.x2=i,sn.y2=n}),Rt(di,ji,function(t){var e=t.target;sn.x2&&Math.abs(sn.x1-sn.x2)>30||sn.y2&&Math.abs(sn.y1-sn.y2)>30?Ki=setTimeout(function(){sn.el&&(qt(sn.el,"swipe"),qt(sn.el,"swipe"+ke(sn))),sn={}}):"last"in sn?(Qi=setTimeout(function(){return sn.el&&qt(sn.el,"tap")}),sn.el&&V(e,sn.el)&&(Zi=setTimeout(function(){Zi=null,sn.el&&!tn&&qt(sn.el,"click"),sn={}},350))):sn={}}),Rt(di,"touchcancel",$e),Rt(fi,"scroll",$e)});var rn=!1;Rt(di,"touchstart",function(){return rn=!0},!0),Rt(di,"click",function(){rn=!1}),Rt(di,"touchcancel",function(){return rn=!1},!0);var an=Object.freeze({bind:e,hasOwn:i,Promise:Ue,classify:n,hyphenate:o,camelize:s,ucfirst:a,startsWith:l,endsWith:h,includes:c,isArray:ni,isFunction:u,isObject:f,isPlainObject:d,isWindow:p,isDocument:m,isBoolean:g,isString:v,isNumber:w,isNumeric:y,isUndefined:b,toBoolean:x,toNumber:k,toFloat:_,toList:T,toMedia:E,coerce:C,toMs:A,swap:S,assign:si,each:I,clamp:N,noop:D,intersectRect:O,pointInRect:B,ajax:P,$:M,$$:H,query:L,queryAll:j,filter:Y,within:V,matches:U,closest:X,parents:J,isJQuery:G,toNode:Q,toNodes:tt,attr:et,hasAttr:it,removeAttr:nt,filterAttr:ot,data:st,win:fi,doc:di,docEl:pi,isRtl:mi,isReady:rt,ready:at,transition:lt,Transition:vi,animate:ht,Animation:ki,isInView:ct,scrolledOver:function(t){var e=(t=Q(t)).offsetHeight,i=ut(t),n=nn(fi),o=n+Math.min(0,i-n),s=Math.max(0,n-(nn(di)-(i+e)));return N((o+fi.pageYOffset-i)/((o+(e-(s *",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 H(t.targets,e)}},events:[{name:"click",self:!0,delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Ct(H(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],ready:function(){var t=!1!==this.active&&this.items[Number(this.active)]&&!zt(t,this.clsOpen);t&&this.toggle(t,!1)},update:function(){var t=this;this.items.forEach(function(e){return t.toggleNow(M(t.content,e),zt(e,t.clsOpen))});var e=!this.collapsible&&!zt(this.items,this.clsOpen)&&this.items[0];e&&this.toggle(e,!1)},methods:{toggle:function(t,e){var i=this,n=ft(t,this.items),o=Y(this.items,"."+this.clsOpen);(t=this.items[n])&&[t].concat(!this.multiple&&!c(o,t)&&o||[]).forEach(function(n){var s=n===t,r=s&&!zt(n,i.clsOpen);if(r||!s||i.collapsible||!(o.length<2)){Lt(n,i.clsOpen,r);var a=n._wrapper?n._wrapper.firstElementChild:M(i.content,n);n._wrapper||(n._wrapper=$t(a,"
    "),et(n._wrapper,"hidden",r?"":null)),i._toggleImmediate(a,!0),i.toggleElement(n._wrapper,r,e).then(function(){zt(n,i.clsOpen)===r&&(r||i._toggleImmediate(a,!1),n._wrapper=null,Tt(a))})}})}}})},wn=function(t){t.component("alert",{attrs:!0,mixins:[fn,pn],args:"animation",props:{close:String},defaults:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:si({opacity:0},pn.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)})}}})},yn=function(t){t.component("cover",{mixins:[fn,t.components.video.options],props:{width:Number,height:Number},defaults:{automute:!0},update:{write:function(){var t=this.$el;if(pt(t)){var e=t.parentNode,i=e.offsetHeight,n=e.offsetWidth;At(At(t,{width:"",height:""}),_i.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()}}})},bn=function(t){function e(){n||(n=!0,Rt(pi,"click",function(t){var e,n=t.target;if(!t.defaultPrevented)for(;i&&i!==e&&!V(n,i.$el)&&(!i.toggle||!V(n,i.toggle.$el));)e=i,i.hide(!1)}))}var i;t.component("drop",{mixins:[gn,pn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:"query",boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},defaults:{mode:["click","hover"],toggle:!0,boundary:fi,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},init:function(){this.tracker=new ne,this.clsDrop=this.clsDrop||"uk-"+this.$options.name,this.clsPos=this.clsDrop,Bt(this.$el,this.clsDrop)},ready:function(){this.updateAria(this.$el),this.toggle&&(this.toggle=t.toggle(v(this.toggle)?L(this.toggle,this.$el):this.$el.previousElementSibling,{target:this.$el,mode:this.mode}))},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&&V(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:Wi,filter:function(){return c(this.mode,"hover")},handler:function(t){_e(t)||(i&&i!==this&&i.toggle&&c(i.toggle.mode,"hover")&&!V(t.target,i.toggle.$el)&&!B({x:t.pageX,y:t.pageY},he(i.$el))&&i.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!c(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+Fi,handler:function(t,e){_e(t)||e&&!c(e.target,this.$el)||(t.preventDefault(),this.toggle&&c(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers()}},{name:"show",self:!0,handler:function(){this.tracker.init(),Bt(this.toggle.$el,this.cls),et(this.toggle.$el,"aria-expanded","true"),e()}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(i=this.isActive()?null:i,Pt(this.toggle.$el,this.cls),et(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),H("a, button",this.toggle.$el).forEach(function(t){return t.blur()}),this.tracker.cancel()):i=null===i&&V(e,this.$el)&&this.isToggled()?this:i}}],update:{write:function(){this.isToggled()&&!ki.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(t,e){var n=this;void 0===e&&(e=!0);var o=function(){n.isToggled()||(n.position(),n.toggleElement(n.$el,!0))},s=function(){if(n.toggle=t||n.toggle,n.clearTimers(),!n.isActive())if(e&&i&&i!==n&&i.isDelaying)n.showTimer=setTimeout(n.show,10);else{if(n.isParentOf(i)){if(!i.hideTimer)return;i.hide(!1)}else if(i&&!n.isChildOf(i)&&!n.isParentOf(i))for(var s;i&&i!==s&&!n.isChildOf(i);)s=i,i.hide(!1);e&&n.delayShow?n.showTimer=setTimeout(o,n.delayShow):o(),i=n}};t&&this.toggle&&t.$el!==this.toggle.$el?(Vt(this.$el,"hide",s),this.hide(!1)):s()},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 i===this},isChildOf:function(t){return t&&t!==this&&V(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&V(t.$el,this.$el)},position:function(){Mt(this.$el,this.clsDrop+"-(stack|boundary)"),At(this.$el,{top:"",left:"",display:"block"}),Lt(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 i="y"===this.getAxis()?"width":"height";At(this.$el,i,e[i])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&(Bt(this.$el,this.clsDrop+"-stack"),qt(this.$el,"stack",[this]));this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),At(this.$el,"display","")}}}),t.drop.getActive=function(){return i};var n},xn=function(t){t.component("dropdown",t.components.drop.extend({name:"dropdown"}))},kn=function(t){t.component("form-custom",{mixins:[fn],args:"target",props:{target:Boolean},defaults:{target:!1},computed:{input:function(t,e){return M(Ti,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||L(i,e))}},connected:function(){qt(this.input,"change")},events:[{name:"focusin focusout mouseenter mouseleave",delegate:Ti,handler:function(t){var e=t.type;t.current===this.input&&Lt(this.state,"uk-"+(c(e,"focus")?"focus":"hover"),c(["focusin","mouseenter"],e))}},{name:"change",handler:function(){var t,e=this.target,i=this.input;e&&(e[mt(e)?"value":"textContent"]=i.files&&i.files[0]?i.files[0].name:U(i,"select")&&(t=H("option",i).filter(function(t){return t.selected})[0])?t.textContent:i.value)}}]})},$n=function(t){t.component("gif",{update:{read:function(){var t=ct(this.$el);!this.isInView&&t&&(this.$el.src=this.$el.src),this.isInView=t},events:["scroll","load","resize"]}})},_n=function(t){t.component("grid",t.components.margin.extend({mixins:[fn],name:"grid",defaults:{margin:"uk-grid-margin",clsStack:"uk-grid-stack"},update:{write:function(){Lt(this.$el,this.clsStack,this.stacks)},events:["load","resize"]}}))},Tn=function(t){t.component("height-match",{args:"target",props:{target:String,row:Boolean},defaults:{target:"> *",row:!0},computed:{elements:function(t,e){return H(t.target,e)}},update:{read:function(){var t=this,e=!1;At(this.elements,"minHeight",""),this.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(){this.rows.forEach(function(t){var e=t.height;return At(t.elements,"minHeight",e)})},events:["load","resize"]},methods:{match:function(t){if(t.length<2)return{};var e=0,i=[];return t.forEach(function(t){var n,o;pt(t)||(n=et(t,"style"),o=et(t,"hidden"),et(t,{style:(n||"")+";display:block !important;",hidden:null})),e=Math.max(e,t.offsetHeight),i.push(t.offsetHeight),b(n)||et(t,{style:n,hidden:o})}),t=t.filter(function(t,n){return i[n]0&&(t=e(this.$el)+o)}else{var s=he(this.$el).top;sr&&At(this.$el,"minHeight",this.minHeight),i-n>=r&&At(this.$el,"height",t)}},events:["load","resize"]}})},Cn=function(t){at(function(){if(Hi){var e="uk-hover";Rt(di,"tap",function(t){var i=t.target;return H("."+e).forEach(function(t,n){return!V(i,n)&&Pt(n,e)})}),Object.defineProperty(t,"hoverSelector",{set:function(t){Rt(di,"tap",t,function(t){return Bt(t.current,e)})}}),t.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})},An=function(t){function e(e,i){t.component(e,t.components.icon.extend({name:e,mixins:i?[i]:[],defaults:{icon:e}}))}function i(t){return o[t]?(n[t]||(n[t]=M(o[t].trim())),n[t]):null}var n={},o={spinner:'',totop:'',marker:'',"close-icon":'',"close-large":'',"navbar-toggle-icon":'',"overlay-icon":'',"pagination-next":'',"pagination-previous":'',"search-icon":'',"search-large":'',"search-navbar":'',"slidenav-next":'',"slidenav-next-large":'',"slidenav-previous":'',"slidenav-previous-large":''};t.component("icon",t.components.svg.extend({attrs:["icon","ratio"],mixins:[fn],name:"icon",args:"icon",props:["icon"],defaults:{exclude:["id","style","class","src","icon"]},init:function(){Bt(this.$el,"uk-icon"),mi&&(this.icon=S(S(this.icon,"left","right"),"previous","next"))},disconnected:function(){delete this.delay},methods:{getSvg:function(){var t=i(this.icon);return t?Ue.resolve(t):Ue.reject("Icon not found.")}}})),["marker","navbar-toggle-icon","overlay-icon","pagination-previous","pagination-next","totop"].forEach(function(t){return e(t)}),["slidenav-previous","slidenav-next"].forEach(function(t){return e(t,{init:function(){Bt(this.$el,"uk-slidenav"),zt(this.$el,"uk-slidenav-large")&&(this.icon+="-large")}})}),e("search-icon",{init:function(){zt(this.$el,"uk-search-icon")&&J(this.$el,".uk-search-large").length?this.icon="search-large":J(this.$el,".uk-search-navbar").length&&(this.icon="search-navbar")}}),e("close",{init:function(){this.icon="close-"+(zt(this.$el,"uk-close-large")?"large":"icon")}}),e("spinner",{connected:function(){var t=this;this.svg.then(function(e){return 1!==t.ratio&&At(M("circle",e),"stroke-width",1/t.ratio)},D)}}),t.icon.add=function(e){Object.keys(e).forEach(function(t){o[t]=e[t],delete n[t]}),t._initialized&&I(t.instances,function(t){"icon"===t.$options.name&&t.$reset()})}},Sn=function(t){t.component("leader",{mixins:[fn],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||Nt("leader-fill")}},connected:function(){this.wrapper=_t(this.$el,'')[0]},disconnected:function(){Tt(this.wrapper.childNodes),delete this._width},update:[{read:function(){var t=this._width;this._width=Math.floor(this.$el.offsetWidth/2),this._changed=t!==this._width,this._hide=this.media&&!fi.matchMedia(this.media).matches},write:function(){Lt(this.wrapper,this.clsHide,this._hide),this._changed&&et(this.wrapper,this.attrFill,new Array(this._width).join(this.fill))},events:["load","resize"]}]})},In=function(t){t.component("margin",{props:{margin:String,firstColumn:Boolean},defaults:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(){var t=this,e=this.$el.children;if(e.length&&pt(this.$el)){this.stacks=!0;for(var i=[[]],n=0;n=0;r--){var a=i[r];if(!a[0]){a.push(o);break}var l=a[0].getBoundingClientRect();if(s.top>=Math.floor(l.bottom)){i.push([o]);break}if(Math.floor(s.bottom)>l.top){if(t.stacks=!1,s.left
    '+e+"
    ",i);return Rt(n.$el,"hidden",function(t){t.target===t.current&&n.$destroy(!0)}),n.show(),n},t.modal.alert=function(e,i){return i=si({bgClose:!1,escClose:!1,labels:t.modal.labels},i),new Ue(function(n){return Rt(t.modal.dialog('
    '+(v(e)?e:vt(e))+'
    ",i).$el,"hide",n)})},t.modal.confirm=function(e,i){return i=si({bgClose:!1,escClose:!1,labels:t.modal.labels},i),new Ue(function(n,o){return Rt(t.modal.dialog('
    '+(v(e)?e:vt(e))+'
    ",i).$el,"click",".uk-modal-footer button",function(t){return 0===Ct(t.target)?o():n()})})},t.modal.prompt=function(e,i,n){return n=si({bgClose:!1,escClose:!1,labels:t.modal.labels},n),new Ue(function(o){var s=!1,r=t.modal.dialog('
    ",n),a=M("input",r.$el);a.value=i,Rt(r.$el,"submit","form",function(t){t.preventDefault(),o(a.value),s=!0,r.hide()}),Rt(r.$el,"hide",function(){s||o(null)})})},t.modal.labels={ok:"Ok",cancel:"Cancel"}},Dn=function(t){t.component("nav",t.components.accordion.extend({name:"nav",defaults:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}}))},On=function(t){t.component("navbar",{mixins:[fn],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:mi?"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}},ready:function(){this.dropbar&&t.navbarDropbar(L(this.dropbar,this.$el)||bt(this.dropbarAnchor||this.$el,"
    "),{clsDrop:this.clsDrop,mode:this.dropbarMode,duration:this.duration,navbar:this})},update:function(){t.drop(H(this.dropdown+" ."+this.clsDrop,this.$el).filter(function(e){return!t.getComponent(e,"dropdown")}),si({},this.$props,{boundary:this.boundary,pos:this.pos}))},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,i=this.getActive();i&&i.toggle&&!V(i.toggle.$el,e)&&!i.tracker.movesTo(i.$el)&&i.hide(!1)}}],methods:{getActive:function(){var e=t.drop.getActive();return e&&c(e.mode,"hover")&&V(e.toggle.$el,this.$el)&&e}}}),t.component("navbar-dropbar",{mixins:[fn],defaults:{clsDrop:"",mode:"slide",navbar:null,duration:200},init:function(){"slide"===this.mode&&Bt(this.$el,"uk-navbar-dropbar-slide")},events:[{name:"beforeshow",el:function(){return this.navbar.$el},handler:function(t,e){var i=e.$el;"bottom"!==e.dir||V(i,this.$el)||(wt(this.$el,i),e.show(),t.preventDefault())}},{name:"mouseleave",handler:function(){var t=this.navbar.getActive();t&&!U(this.$el,":hover")&&t.hide()}},{name:"show",handler:function(t,e){var i=e.$el;this.clsDrop&&Bt(i,this.clsDrop+"-dropbar"),this.transitionTo(i.offsetHeight+_(At(i,"margin-top"))+_(At(i,"margin-bottom")))}},{name:"beforehide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();U(this.$el,":hover")&&n&&n.$el===i&&t.preventDefault()}},{name:"hide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();(!n||n&&n.$el===i)&&this.transitionTo(0)}}],methods:{transitionTo:function(t){return nn(this.$el,pt(this.$el)?nn(this.$el):0),vi.cancel(this.$el),vi.start(this.$el,{height:t},this.duration).catch(D)}}})},Bn=function(t){t.component("offcanvas",{mixins:[mn],args:"mode",props:{content:String,mode:String,flip:Boolean,overlay:Boolean},defaults:{content:".uk-offcanvas-content",mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",clsPanel:"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){var e=t.content;return M(e)},clsFlip:function(t){var e=t.flip,i=t.clsFlip;return e?i:""},clsOverlay:function(t){var e=t.overlay,i=t.clsOverlay;return e?i:""},clsMode:function(t){var e=t.mode,i=t.clsMode;return i+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,i=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":i},clsContentAnimation:function(t){var e=t.mode,i=t.clsContentAnimation;return"push"!==e&&"reveal"!==e?"":i},transitionElement:function(t){return"reveal"===t.mode?this.panel.parentNode:this.panel}},update:{write:function(){this.getActive()===this&&((this.overlay||this.clsContentAnimation)&&on(this.content,on(fi)-this.scrollbarWidth),this.overlay&&(nn(this.content,nn(fi)),un&&(this.content.scrollTop=un.y)))},events:["resize"]},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current;e.hash&&M(e.hash,this.content)&&(un=null,this.hide())}},{name:"beforescroll",filter:function(){return this.overlay},handler:function(t,e,i){e&&i&&this.isToggled()&&M(i,this.content)&&(Vt(this.$el,"hidden",function(){return e.scrollTo(i)}),t.preventDefault())}},{name:"show",self:!0,handler:function(){un=un||{x:fi.pageXOffset,y:fi.pageYOffset},"reveal"!==this.mode||zt(this.panel,this.clsMode)||($t(this.panel,"
    "),Bt(this.panel.parentNode,this.clsMode)),At(pi,"overflowY",(!this.clsContentAnimation||this.flip)&&this.scrollbarWidth&&this.overlay?"scroll":""),Bt(di.body,this.clsContainer+" "+this.clsFlip+" "+this.clsOverlay),nn(di.body),Bt(this.content,this.clsContentAnimation),Bt(this.panel,this.clsSidebarAnimation+" "+("reveal"!==this.mode?this.clsMode:"")),Bt(this.$el,this.clsOverlay),At(this.$el,"display","block"),nn(this.$el)}},{name:"hide",self:!0,handler:function(){Pt(this.content,this.clsContentAnimation);var t=this.getActive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&qt(this.panel,Ri)}},{name:"hidden",self:!0,handler:function(){if("reveal"===this.mode&&Tt(this.panel),this.overlay){if(!un){var t=this.content,e=t.scrollLeft,i=t.scrollTop;un={x:e,y:i}}}else un={x:fi.pageXOffset,y:fi.pageYOffset};Pt(this.panel,this.clsSidebarAnimation+" "+this.clsMode),Pt(this.$el,this.clsOverlay),At(this.$el,"display",""),Pt(di.body,this.clsContainer+" "+this.clsFlip+" "+this.clsOverlay),di.body.scrollTop=un.y,At(pi,"overflow-y",""),on(this.content,""),nn(this.content,""),fi.scrollTo(un.x,un.y),un=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&_e(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]})},Pn=function(t){t.component("responsive",{props:["width","height"],init:function(){Bt(this.$el,"uk-responsive-width")},update:{read:function(){this.dim=!!(pt(this.$el)&&this.width&&this.height)&&{width:on(this.$el.parentNode),height:this.height}},write:function(){this.dim&&nn(this.$el,_i.contain({height:this.height,width:this.width},this.dim).height)},events:["load","resize"]}})},Mn=function(t){function e(t){return.5*(1-Math.cos(Math.PI*t))}t.component("scroll",{props:{duration:Number,offset:Number},defaults:{duration:1e3,offset:0},methods:{scrollTo:function(t){var i=this,n=he(t=t&&M(v(t)?t.replace(/\//g,"\\/"):t)||di.body).top-this.offset,o=nn(di),s=nn(fi);if(n+s>o&&(n=o-s),qt(this.$el,"beforescroll",[this,t])){var r=Date.now(),a=fi.pageYOffset,l=function(){var o=a+(n-a)*e(N((Date.now()-r)/i.duration));fi.scrollTo(fi.pageXOffset,o),o!==n?Bi(l):qt(i.$el,"scrolled",[i,t])};l()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(this.$el.hash))}}})},Hn=function(t){t.component("scrollspy",{args:"cls",props:{cls:"list",target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},defaults:{cls:["uk-scrollspy-inview"],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&&H(i,e)||[e]}},update:[{write:function(){this.hidden&&At(Y(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(){var t=this;this.elements.forEach(function(e){if(!e._scrollspy){var i=et(e,"uk-scrollspy-class");e._scrollspy={toggles:i&&i.split(",")||t.cls}}e._scrollspy.show=ct(e,t.offsetTop,t.offsetLeft)})},write:function(){var t=this,e=1===this.elements.length?1:0;this.elements.forEach(function(i,n){var o=i._scrollspy,s=o.toggles[n]||o.toggles[0];if(o.show){if(!o.inview&&!o.timer){var r=function(){At(i,"visibility",""),Bt(i,t.inViewClass),Lt(i,s),qt(i,"inview"),t.$update(),o.inview=!0,delete o.timer};t.delay&&e?o.timer=setTimeout(r,t.delay*e):r(),e++}}else o.inview&&t.repeat&&(o.timer&&(clearTimeout(o.timer),delete o.timer),At(i,"visibility",t.hidden?"hidden":""),Pt(i,t.inViewClass),Lt(i,s),qt(i,"outview"),t.$update(),o.inview=!1)})},events:["scroll","load","resize"]}]})},zn=function(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 H('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(){return this.closest?X(this.links,this.closest):this.links},targets:function(){return H(this.links.map(function(t){return t.hash}).join(","))}},update:[{read:function(){this.scroll&&t.scroll(this.links,{offset:this.offset||0})}},{read:function(){var t=this,e=fi.pageYOffset+this.offset+1,i=nn(di)-nn(fi)+this.offset;this.active=!1,this.targets.every(function(n,o){var s=he(n).top,r=o+1===t.targets.length;if(!t.overflow&&(0===o&&s>e||r&&s+n.offsetTop=i)for(var a=t.targets.length-1;a>o;a--)if(ct(t.targets[a])){n=t.targets[a];break}return!(t.active=M(Y(t.links,'[href="#'+n.id+'"]')))})},write:function(){this.links.forEach(function(t){return t.blur()}),Pt(this.elements,this.cls),this.active&&qt(this.$el,"active",[this.active,Bt(this.closest?X(this.active,this.closest):this.active,this.cls)])},events:["scroll","load","resize"]}]})},Ln=function(t){t.component("sticky",{mixins:[fn],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&&M(i,e)||e}},connected:function(){this.placeholder=M('
    '),this.widthElement=this.$props.widthElement||this.placeholder,this.isActive||this.hide()},disconnected:function(){this.isActive&&(this.isActive=!1,this.hide(),Pt(this.$el,this.clsInactive)),kt(this.placeholder),this.placeholder=null,this.widthElement=null},ready:function(){var t=this;if(this.target&&location.hash&&fi.pageYOffset>0){var e=M(location.hash);e&&Bi(function(){var i=he(e).top,n=he(t.$el).top,o=t.$el.offsetHeight;n+o>=i&&n<=i+e.offsetHeight&&fi.scrollTo(0,i-o-t.target-t.offset)})}},events:[{name:"active",self:!0,handler:function(){Ht(this.selTarget,this.clsInactive,this.clsActive)}},{name:"inactive",self:!0,handler:function(){Ht(this.selTarget,this.clsActive,this.clsInactive)}}],update:[{write:function(){var t,e=this,i=this.placeholder,n=(this.isActive?i:this.$el).offsetHeight;At(i,si({height:"absolute"!==At(this.$el,"position")?n:""},At(this.$el,["marginTop","marginBottom","marginLeft","marginRight"]))),V(i,pi)||(bt(this.$el,i),et(i,"hidden","")),et(this.widthElement,"hidden",null),this.width=this.widthElement.offsetWidth,et(this.widthElement,"hidden",this.isActive?null:""),this.topOffset=he(this.isActive?i:this.$el).top,this.bottomOffset=this.topOffset+n,["top","bottom"].forEach(function(i){e[i]=e.$props[i],e[i]&&(y(e[i])?e[i]=e[i+"Offset"]+_(e[i]):v(e[i])&&e[i].match(/^-?\d+vh$/)?e[i]=nn(fi)*_(e[i])/100:(t=!0===e[i]?e.$el.parentNode:L(e[i],e.$el))&&(e[i]=he(t).top+t.offsetHeight))}),this.top=Math.max(_(this.top),this.topOffset)-this.offset,this.bottom=this.bottom&&this.bottom-n,this.inactive=this.media&&!fi.matchMedia(this.media).matches,this.isActive&&this.update()},events:["load","resize"]},{read:function(){this.offsetTop=he(this.$el).top,this.scroll=fi.pageYOffset,this.visible=pt(this.$el)},write:function(t){var e=this;void 0===t&&(t={});var i=t.dir,n=this.scroll;if(!(n<0||!this.visible||this.disabled||this.showOnUp&&!i))if(this.inactive||nthis.topOffset?(ki.cancel(this.$el),ki.out(this.$el,this.animation).then(function(){return e.hide()},D)):this.hide()}else this.isActive?this.update():this.animation?(ki.cancel(this.$el),this.show(),ki.in(this.$el,this.animation).catch(D)):this.show()},events:["scroll"]}],methods:{show:function(){this.isActive=!0,this.update(),et(this.placeholder,"hidden",null)},hide:function(){this.isActive&&!zt(this.selTarget,this.clsActive)||qt(this.$el,"inactive"),Pt(this.$el,this.clsFixed,this.clsBelow),At(this.$el,{position:"",top:"",width:""}),et(this.placeholder,"hidden","")},update:function(){var t=Math.max(0,this.offset),e=this.scroll>this.top;this.bottom&&this.scroll>this.bottom-this.offset&&(t=this.bottom-this.scroll),At(this.$el,{position:"fixed",top:t+"px",width:this.width}),zt(this.selTarget,this.clsActive)?e||qt(this.$el,"inactive"):e&&qt(this.$el,"active"),Lt(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Bt(this.$el,this.clsFixed)}}})},jn={},Wn=function(t){function e(t,e){if(!n[t]){n[t]={};for(var o;o=i.exec(t);)n[t][o[3]]='"}return n[t][e]}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&&c(this.src,"#")){var i=this.src.split("#");i.length>1&&(this.src=i[0],this.icon=i[1])}this.svg=this.getSvg().then(function(i){var n;if(v(i)?(t.icon&&c(i,"/g,n={}},Fn=function(t){t.component("switcher",{mixins:[pn],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 j(t.connect,e)},toggles:function(t,e){return H(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(st(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){_e(t)&&(t.preventDefault(),fi.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(Y(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&&Ct(Y(this.connects[0].children,"."+this.cls)[0]),s=o>=0,r=ft(t,this.toggles,o),a="previous"===t?-1:1,l=0;l=0&&zt(e,this.cls)||o===r||(Pt(this.toggles,this.cls),et(this.toggles,"aria-expanded",!1),Bt(e,this.cls),et(e,"aria-expanded",!0),this.connects.forEach(function(t){s?i.toggleElement([t.children[o],t.children[r]]):i.toggleNow(t.children[r])}))}}})},Rn=function(t){t.component("tab",t.components.switcher.extend({mixins:[fn],name:"tab",props:{media:"media"},defaults:{media:960,attrItem:"uk-tab-item"},init:function(){var e=zt(this.$el,"uk-tab-left")?"uk-tab-left":!!zt(this.$el,"uk-tab-right")&&"uk-tab-right";e&&t.toggle(this.$el,{cls:e,mode:"media",media:this.media})}}))},Yn=function(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=j(n||i,e),n.length&&n||[e]}},events:[{name:Wi+" "+Fi,filter:function(){return c(this.mode,"hover")},handler:function(t){_e(t)||this.toggle("toggle"+(t.type===Wi?"show":"hide"))}},{name:"click",filter:function(){return c(this.mode,"click")||Hi},handler:function(t){if(_e(t)||c(this.mode,"click")){var e;(X(t.target,'a[href="#"], button')||(e=X(t.target,"a[href]"))&&(this.cls||!pt(this.target)||e.hash&&U(this.target,e.hash)))&&t.preventDefault(),this.toggle()}}}],update:{write:function(){if(c(this.mode,"media")&&this.media){var t=this.isToggled(this.target);(fi.matchMedia(this.media).matches?!t:t)&&this.toggle()}},events:["load","resize"]},methods:{toggle:function(t){qt(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}})},Vn=function(t){t.component("video",{props:{automute:Boolean,autoplay:Boolean},defaults:{automute:!1,autoplay:!0},ready:function(){this.player=new Gi(this.$el),this.automute&&this.player.mute()},update:{write:function(){this.player&&(pt(this.$el)&&"hidden"!==At(this.$el,"visibility")?this.autoplay&&this.player.play():this.player.pause())},events:["load"]}})};ln.version="3.0.0-beta.34",function(t){t.mixin.class=fn,t.mixin.container=dn,t.mixin.modal=mn,t.mixin.position=gn,t.mixin.togglable=pn}(ln),function(t){var e=0,i=0;Rt(fi,"load resize",t.update),Rt(fi,"scroll",function(i){i.dir=e0?1-s.translated(e):s.translated(t)},translate:function(t,e){return e<0?[{transform:Ie(100*t),zIndex:0},{transform:Ie(-30*(1-t)),zIndex:-1}]:[{transform:Ie(-30*t),zIndex:-1},{transform:Ie(100*(1-t)),zIndex:0}]}}});return s};return ln.use(Ae),ln.use(Se),ln.use(Oe),ln.use(Be),ln.use(Pe),ln.use(Me),ln.use(He),ln.use(ze),ln.use(Le),function(t){function e(){i(di.body,n),qi.flush(),new Oi(function(e){return e.forEach(function(e){for(var s=e.addedNodes,r=e.removedNodes,a=e.target,l=0;l