/*! uikit 3.0.0-rc.2 | http://www.getuikit.com | (c) 2014 - 2017 yootheme | mit license */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):t.uikit=e()}(this,function(){"use strict";function p(i,n){return function(t){var e=arguments.length;return e?1e[i]?1:e[i]>t[i]?-1:0})}function r(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),math.min(math.max(t,e),i)}function q(){}function u(t,e){return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}function x(t,e){return u({top:t.y,bottom:t.y,left:t.x,right:t.x},e)}var j={ratio:function(t,e,i){var n,r="width"===e?"height":"width";return(n={})[r]=math.round(i*t[r]/t[e]),n[e]=i,n},contain:function(i,n){var r=this;return v(i=f({},i),function(t,e){return i=i[e]>n[e]?r.ratio(i,e,n[e]):i}),i},cover:function(i,n){var r=this;return v(i=this.contain(i,n),function(t,e){return i=i[e]+~-]/,at=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function lt(t){return _(t)&&t.match(st)}var ht=element.prototype,ct=ht.matches||ht.webkitmatchesselector||ht.msmatchesselector;function ut(t,e){return h(t).some(function(t){return ct.call(t,e)})}var dt=ht.closest||function(t){var e=this;do{if(ut(e,t))return e;e=e.parentnode}while(e&&1===e.nodetype)};function ft(t,e){return v(e,">")&&(e=e.slice(1)),t(t)?t.parentnode&&dt.call(t,e):h(t).map(function(t){return t.parentnode&&dt.call(t,e)}).filter(boolean)}function pt(t,e){for(var i=[],n=z(t).parentnode;n&&1===n.nodetype;)ut(n,e)&&i.push(n),n=n.parentnode;return i}var mt=window.css&&css.escape||function(t){return t.replace(/([^\x7f-\uffff\w-])/g,function(t){return"\\"+t})};function gt(t){return _(t)?mt.call(null,t):""}var vt={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function wt(t){return h(t).some(function(t){return vt[t.tagname.tolowercase()]})}function bt(t){return h(t).some(function(t){return t.offsetwidth||t.offsetheight||t.getclientrects().length})}var yt="input,select,textarea,button";function xt(t){return h(t).some(function(t){return ut(t,yt)})}function kt(t,e){return h(t).filter(function(t){return ut(t,e)})}function $t(t,e){return _(e)?ut(t,e)||ft(t,e):t===e||(i(e)?e.documentelement:z(e)).contains(z(t))}function it(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i,n=_t(t),r=n[0],o=n[1],s=n[2],a=n[3],l=n[4];return r=nt(r),s&&(a=function(n,r,o){var s=this;return function(t){var e=t.target,i=">"===r[0]?rt(r,n).reverse().filter(function(t){return $t(e,t)})[0]:ft(e,r);i&&(t.delegate=n,t.current=i,o.call(s,t))}}(r,s,a)),1]*>/,ne=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function re(t){var e=ne.exec(t);if(e)return document.createelement(e[1]);var i=document.createelement("div");return ie.test(t)?i.insertadjacenthtml("beforeend",t.trim()):i.textcontent=t,1p[s]){var a=g[n]/2,l="center"===u[r]?-v[n]/2:0;"center"===c[r]&&(h(a,l)||h(-a,-l))||h(e,i)}}function h(e,t){var i=w[o]+e+t-2*d[r];if(i>=p[o]&&i+g[n]<=p[s])return w[o]=i,["element","target"].foreach(function(t){m[t][r]=e?m[t][r]===ze[n][1]?ze[n][2]:ze[n][1]:m[t][r]}),!0}}),he(t,w),m}function he(i,n){if(i=z(i),!n)return we(i);var r=he(i),o=ve(i,"position");["left","top"].foreach(function(t){if(t in n){var e=ve(i,t);ve(i,t,n[t]-r[t]+m("absolute"===o&&"auto"===e?le(i)[t]:e))}})}function we(t){var e,i,n=ze(t=z(t)),r=n.pageyoffset,o=n.pagexoffset;if($(t)){var s=t.innerheight,a=t.innerwidth;return{top:r,left:o,height:s,width:a,bottom:r+s,right:o+a}}bt(t)||(e=k(t,"style"),i=k(t,"hidden"),k(t,{style:(e||"")+";display:block !important;",hidden:null}));var l=t.getboundingclientrect();return o(e)||k(t,{style:e,hidden:i}),{height:l.height,width:l.width,top:l.top+r,left:l.left+o,bottom:l.bottom+r,right:l.right+o}}function le(n){var r=function(t){var e=z(t).offsetparent;for(;e&&"static"===ve(e,"position");)e=e.offsetparent;return e||ti(t)}(n=z(n)),o=r===ti(n)?{top:0,left:0}:he(r),t=["top","left"].reduce(function(t,e){var i=s(e);return t[e]-=o[e]+(m(ve(n,"margin"+i))||0)+(m(ve(r,"border"+i+"width"))||0),t},he(n));return{top:t.top,left:t.left}}var je=ve("height"),fe=ve("width");function ve(n){var r=s(n);return function(t,e){if(t=z(t),o(e)){if($(t))return t["inner"+r];if(i(t)){var i=t.documentelement;return math.max(i["offset"+r],i["scroll"+r])}return(e="auto"===(e=ve(t,n))?t["offset"+r]:m(e)||0)-ye(n,t)}ve(t,n,e||0===e?+e+ye(n,t)+"px":"")}}function ye(t,i){return"border-box"===ve(i,"boxsizing")?ze[t].slice(1).map(s).reduce(function(t,e){return t+m(ve(i,"padding"+e))+m(ve(i,"border"+e+"width"))},0):0}function re(o,s,a,l){v(ze,function(t,e){var i=t[0],n=t[1],r=t[2];s[i]===r?o[n]+=a[e]*l:"center"===s[i]&&(o[n]+=a[e]*l/2)})}function qe(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 ue(t,e,i){var n=(t||"").split(" "),r=n[0],o=n[1];return{x:r?m(r)*(c(r,"%")?e/100:1):0,y:o?m(o)*(c(o,"%")?i/100:1):0}}function xe(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function je(t,e,i,n){if(void 0===e&&(e=0),void 0===i&&(i=0),!bt(t))return!1;var r=ze(t=z(t));if(n)return u(t.getboundingclientrect(),{top:-e,left:-i,bottom:e+je(r),right:i+fe(r)});var o=ge(t),s=o[0],a=o[1],l=r.pageyoffset,h=r.pagexoffset;return u({top:s,left:a,bottom:s+t.offsetheight,right:s+t.offsetwidth},{top:l-e,left:h-i,bottom:l+e+je(r),right:h+i+fe(r)})}function ke(t,e){if(void 0===e&&(e=0),!bt(t))return 0;var i=ze(t=z(t)),n=qe(t),r=t.offsetheight+e,o=ge(t)[0],s=je(i),a=s+math.min(0,o-s),l=math.max(0,s-(je(n)+e-(o+r)));return r((a+i.pageyoffset-o)/((a+(r-(l=i.x?(r[0].reverse(),r[1].reverse()):e.bottom<=i.y?r[0].reverse():e.top>=i.y&&r[1].reverse()),!!r.reduce(function(t,e){return t+(mi(n,e[0])mi(i,e[1]))},0)}};var gi={};function vi(t,e,i){return gi.computed(y(t)?t.call(i,i):t,y(e)?e.call(i,i):e)}gi.args=gi.events=gi.init=gi.created=gi.beforeconnect=gi.connected=gi.ready=gi.beforedisconnect=gi.disconnected=gi.destroy=function(t,e){return t=t&&!w(t)?[t]:t,e?t?t.concat(e):w(e)?e:[e]:t},gi.update=function(t,e){return gi.args(t,y(e)?{read:e}:e)},gi.props=function(t,e){return w(e)&&(e=e.reduce(function(t,e){return t[e]=string,t},{})),gi.methods(t,e)},gi.computed=gi.methods=function(t,e){return e?t?f({},t,e):e:t},gi.data=function(e,i,t){return t?vi(e,i,t):i?e?function(t){return vi(e,i,t)}:i:e};var wi=function(t,e){return o(e)?t:e};function bi(e,i,n){var r={};if(y(i)&&(i=i.options),i.extends&&(e=bi(e,i.extends,n)),i.mixins)for(var t=0,o=i.mixins.length;t=math.abs(n-r)?0 *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsopen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease"},computed:{items:function(t,e){return be(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventdefault(),this.toggle(yt(be(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],connected:function(){if(!1!==this.active){var t=this.items[number(this.active)];t&&!ce(t,this.clsopen)&&this.toggle(t,!1)}},update:function(){var e=this;this.items.foreach(function(t){return e._toggleimmediate(de(e.content,t),ce(t,e.clsopen))});var t=!this.collapsible&&!ce(this.items,this.clsopen)&&this.items[0];t&&this.toggle(t,!1)},methods:{toggle:function(r,o){var s=this,t=rt(r,this.items),a=kt(this.items,"."+this.clsopen);(r=this.items[t])&&[r].concat(!this.multiple&&!b(a,r)&&a||[]).foreach(function(t){var e=t===r,i=e&&!ce(t,s.clsopen);if(i||!e||s.collapsible||!(a.length<2)){ue(t,s.clsopen,i);var n=t._wrapper?t._wrapper.firstelementchild:de(s.content,t);t._wrapper||(t._wrapper=qt(n,"
"),k(t._wrapper,"hidden",i?"":null)),s._toggleimmediate(n,!0),s.toggleelement(t._wrapper,i,o).then(function(){ce(t,s.clsopen)===i&&(i||s._toggleimmediate(n,!1),t._wrapper=null,ee(n))})}})}}},vi={attrs:!0,mixins:[li,ji],args:"animation",props:{close:string},data:{animation:[!0],selclose:".uk-alert-close",duration:150,hideprops:f({opacity:0},ji.data.hideprops)},events:[{name:"click",delegate:function(){return this.selclose},handler:function(t){t.preventdefault(),this.close()}}],methods:{close:function(){var t=this;this.toggleelement(this.$el).then(function(){return t.$destroy(!0)})}}};function yi(r){vt(function(){var e=0,i=0;if(it(window,"load resize",function(t){return r.update(null,t)}),it(window,"scroll",function(t){t.dir=e<=window.pageyoffset?"down":"up",t.pageyoffset=e=window.pageyoffset,r.update(null,t)},{capture:!0,passive:!1}),it(document,"animationstart",function(t){var e=t.target;(ve(e,"animationname")||"").match(/^uk-.*(left|right)/)&&(i++,ve(document.body,"overflowx","hidden"),settimeout(function(){--i||ve(document.body,"overflowx","")},l(ve(e,"animationduration"))+100))},!0),ri){var n="uk-hover";it(document,"tap",function(t){var e=t.target;return be("."+n).foreach(function(t){return!$t(e,t)&&ae(t,n)})}),object.defineproperty(r,"hoverselector",{set:function(t){it(document,"tap",t,function(t){return se(t.current,n)})}}),r.hoverselector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})}var ri,qi,ui={args:"autoplay",props:{automute:boolean,autoplay:boolean},data:{automute:!1,autoplay:!0},computed:{inview:function(t){return"inview"===t.autoplay}},connected:function(){this.inview&&!g(this.$el,"preload")&&(this.$el.preload="none")},ready:function(){this.player=new ki(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:bt(this.$el)&&"hidden"!==ve(this.$el,"visibility"),inview:this.inview&&je(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"]}]},xi={mixins:[li,ui],props:{width:number,height:number},data:{automute:!0},update:{write:function(){var t=this.$el;if(bt(t)){var e=t.parentnode,i=e.offsetheight,n=e.offsetwidth;ve(ve(t,{width:"",height:""}),j.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()}}},ji={props:{pos:string,offset:null,flip:boolean,clspos:string},data:{pos:"bottom-"+(ei?"right":"left"),flip:!0,offset:!1,clspos:""},computed:{pos:function(t){var e=t.pos;return(e+(b(e,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionat:function(t,e,i){var n;le(t,this.clspos+"-(top|bottom|left|right)(-[a-z]+)?"),ve(t,{top:"",left:""});var r=this.offset;r=n(r)?r:(n=de(r))?he(n)["x"===o?"left":"top"]-he(e)["x"===o?"right":"bottom"]:0;var o=this.getaxis(),s=pe(t,e,"x"===o?xe(this.dir)+" "+this.align:this.align+" "+xe(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-r:r):" "+("top"===this.dir?-r:r),null,this.flip,i).target,a=s.x,l=s.y;this.dir="x"===o?a:l,this.align="x"===o?l:a,ue(t,this.clspos+"-"+this.dir+"-"+this.align,!1===this.offset)},getaxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},ki={mixins:[ji,ji],args:"pos",props:{mode:"list",toggle:boolean,boundary:boolean,boundaryalign:boolean,delayshow:number,delayhide:number,clsdrop:string},data:{mode:["click","hover"],toggle:"- *",boundary:window,boundaryalign:!1,delayshow:0,delayhide:800,clsdrop:!1,hoveridle:200,animation:["uk-animation-fade"],cls:"uk-open"},computed:{boundary:function(t,e){var i=t.boundary;return et(i,e)},clsdrop:function(t){var e=t.clsdrop;return e||"uk-"+this.$options.name},clspos:function(){return this.clsdrop}},init:function(){this.tracker=new pi},connected:function(){se(this.$el,this.clsdrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",et(t,this.$el),{target:this.$el,mode:this.mode}),this.updatearia(this.$el)},events:[{name:"click",delegate:function(){return"."+this.clsdrop+"-close"},handler:function(t){t.preventdefault(),this.hide(!1)}},{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){if(!t.defaultprevented){var e=t.target.hash;e||t.preventdefault(),e&&$t(e,this.$el)||this.hide(!1)}}},{name:"beforescroll",handler:function(){this.hide(!1)}},{name:"toggle",self:!0,handler:function(t,e){t.preventdefault(),this.istoggled()?this.hide(!1):this.show(e,!1)}},{name:li,filter:function(){return b(this.mode,"hover")},handler:function(t){ni(t)||(ri&&ri!==this&&ri.toggle&&b(ri.toggle.mode,"hover")&&!$t(t.target,ri.toggle.$el)&&!x({x:t.pagex,y:t.pagey},he(ri.$el))&&ri.hide(!1),t.preventdefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!b(e.target,this.$el)||(t.preventdefault(),this.show(e||this.toggle))}},{name:"togglehide "+hi,handler:function(t,e){ni(t)||e&&!b(e.target,this.$el)||(t.preventdefault(),this.toggle&&b(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.cleartimers(),oe.cancel(this.$el),this.position()}},{name:"show",self:!0,handler:function(){this.tracker.init(),this.toggle&&(se(this.toggle.$el,this.cls),k(this.toggle.$el,"aria-expanded","true")),function(){if(qi)return;qi=!0,it(document,"click",function(t){var e,i=t.target,n=t.defaultprevented;if(!n)for(;ri&&ri!==e&&!$t(i,ri.$el)&&(!ri.toggle||!$t(i,ri.toggle.$el));)(e=ri).hide(!1)})}()}},{name:"beforehide",self:!0,handler:function(){this.cleartimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(ri=this.isactive()?null:ri,this.toggle&&(ae(this.toggle.$el,this.cls),k(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),be("a, button",this.toggle.$el).foreach(function(t){return t.blur()})),this.tracker.cancel()):ri=null===ri&&$t(e,this.$el)&&this.istoggled()?this:ri}}],update:{write:function(){this.istoggled()&&!oe.inprogress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(e,i){var n=this;void 0===i&&(i=!0);var r=function(){return!n.istoggled()&&n.toggleelement(n.$el,!0)},t=function(){if(n.toggle=e||n.toggle,n.cleartimers(),!n.isactive())if(i&&ri&&ri!==n&&ri.isdelaying)n.showtimer=settimeout(n.show,10);else{if(n.isparentof(ri)){if(!ri.hidetimer)return;ri.hide(!1)}else if(ri&&!n.ischildof(ri)&&!n.isparentof(ri))for(var t;ri&&ri!==t&&!n.ischildof(ri);)(t=ri).hide(!1);i&&n.delayshow?n.showtimer=settimeout(r,n.delayshow):r(),ri=n}};e&&this.toggle&&e.$el!==this.toggle.$el?(tt(this.$el,"hide",t),this.hide(!1)):t()},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 ri===this},ischildof:function(t){return t&&t!==this&&$t(this.$el,t.$el)},isparentof:function(t){return t&&t!==this&&$t(t.$el,this.$el)},position:function(){le(this.$el,this.clsdrop+"-(stack|boundary)"),ve(this.$el,{top:"",left:"",display:"block"}),ue(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";ve(this.$el,i,e[i])}else this.$el.offsetwidth>math.max(t.right-e.left,e.right-t.left)&&se(this.$el,this.clsdrop+"-stack");this.positionat(this.$el,this.boundaryalign?this.boundary:this.toggle.$el,this.boundary),ve(this.$el,"display","")}}};var gi={extends:ki},zi={mixins:[li],args:"target",props:{target:boolean},data:{target:!1},computed:{input:function(t,e){return de(yt,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||et(i,e))}},update:function(){var t=this.target,e=this.input;if(t){var i,n=xt(t)?"value":"textcontent",r=t[n],o=e.files&&e.files[0]?e.files[0].name:ut(e,"select")&&(i=be("option",e).filter(function(t){return t.selected})[0])?i.textcontent:e.value;r!==o&&(t[n]=o)}},events:[{name:"focusin focusout mouseenter mouseleave",delegate:yt,handler:function(t){var e=t.type;t.current===this.input&&ue(this.state,"uk-"+(b(e,"focus")?"focus":"hover"),b(["focusin","mouseenter"],e))}},{name:"change",handler:function(){this.$emit()}}]},qi={update:{read:function(t){var e=je(this.$el);if(!e||t.isinview===e)return!1;t.isinview=e},write:function(){this.$el.src=this.$el.src},events:["scroll","load","resize"]}},tn={props:{margin:string,firstcolumn:boolean},data:{margin:"uk-margin-small-top",firstcolumn:"uk-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!bt(this.$el))return t.rows=[[]];t.rows=en(e),t.stacks=!t.rows.some(function(t){return 1=a.bottom-1){e.push([n]);break}if(r.bottom>a.top){if(r.left *",row:!0},computed:{elements:function(t,e){return be(t.target,e)}},update:{read:function(){var e=this;return ve(this.elements,{minheight:"",boxsizing:""}),{rows:this.row?en(this.elements).map(function(t){return e.match(t)}):[this.match(this.elements)]}},write:function(t){t.rows.foreach(function(t){var e=t.height;return ve(t.elements,{minheight:e,boxsizing:"border-box"})})},events:["load","resize"]},methods:{match:function(t){if(t.length<2)return{};var i=[],n=0;return t.foreach(function(t){var e=he(t).height;n=math.max(n,e),i.push(e)}),t=t.filter(function(t,e){return i[e]o&&ve(this.$el,"minheight",this.minheight),o<=e-i&&ve(this.$el,"height",t)}},events:["load","resize"]}};function an(t){return t&&t.offsetheight||0}var ln={},hn={attrs:!0,props:{id:string,icon:string,src:string,style:string,width:number,height:number,ratio:number,class:string},data:{ratio:1,id:!1,exclude:["ratio","src","icon"],class:""},connected:function(){var t,a=this;if(this.class+=" uk-svg",!this.icon&&b(this.src,"#")){var e=this.src.split("#");1";cn.lastindex=0}return un[t][e]}(t,a.icon)||t),e=de(t.substr(t.indexof("/g,un={};var dn={},fn={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":''},pn={install:function(i){i.icon.add=function(e){object.keys(e).foreach(function(t){fn[t]=e[t],delete dn[t]}),i._initialized&&oe(document.body,function(t){var e=i.getcomponent(t,"icon");e&&e.$reset()})}},attrs:["icon","ratio"],mixins:[li,hn],name:"icon",args:"icon",props:["icon"],data:{exclude:["id","style","class","src","icon","ratio"]},connected:function(){se(this.$el,"uk-icon")},methods:{getsvg:function(){var t,e=function(t){if(!fn[t])return null;dn[t]||(dn[t]=de(fn[t].trim()));return dn[t]}((t=this.icon,ei?j(j(t,"left","right"),"previous","next"):t));return e?bt.resolve(e):bt.reject("icon not found.")}}},mn={extends:pn,data:function(t){return{icon:m(t.constructor.options.name)}}},gn={extends:mn,connected:function(){se(this.$el,"uk-slidenav")},computed:{icon:function(t,e){var i=t.icon;return ce(e,"uk-slidenav-large")?i+"-large":i}}},vn={extends:mn,computed:{icon:function(t,e){var i=t.icon;return ce(e,"uk-search-icon")&&pt(e,".uk-search-large").length?"search-large":pt(e,".uk-search-navbar").length?"search-navbar":i}}},wn={extends:mn,computed:{icon:function(){return"close-"+(ce(this.$el,"uk-close-large")?"large":"icon")}}},bn={extends:mn,connected:function(){var e=this;this.svg.then(function(t){return 1!==e.ratio&&ve(de("circle",t),"strokewidth",1/e.ratio)},q)}};var yn={attrs:!0,props:{datasrc:string,datasrcset:boolean,datasizes:boolean,sizes:string,width:number,height:number,datawidth:number,dataheight:number,offsettop:string,offsetleft:string,target:string},data:{datasrc:"",datasrcset:!1,datasizes:!1,sizes:!1,width:!1,height:!1,offsettop:"50vh",offsetleft:0,loaded:!1,target:!1},computed:{cachekey:function(t){var e=t.datasrc;return this.$name+"."+e},width:function(t){var e=t.width,i=t.datawidth;return e||i},height:function(t){var e=t.height,i=t.dataheight;return e||i},sizes:function(t){var e=t.sizes,i=t.datasizes;return e||i},isimg:function(t,e){return _n(e)},target:function(t){var e=t.target;return[this.$el].concat(it(e,this.$el))},offsettop:function(t){var e=t.offsettop;return tn(e,"height")},offsetleft:function(t){var e=t.offsetleft;return tn(e,"width")}},connected:function(){this.loaded=!1,!on[this.cachekey]&&this.width&&this.height?this.isimg&&xn(this.$el,function(t,e,i,n){var r;void 0===n&&(n="transparent");if(i){for(var o;o=$n.exec(i);)if(!o[1]||window.matchmedia(o[1]).matches){s=o[2],o=v(s,"calc")?s.substring(5,s.length-1).replace(in,function(t){return tn(t)}).replace(/ /g,"").match(sn).reduce(function(t,e){return t+ +e},0):s;break}$n.lastindex=0,r=j.ratio({width:t,height:e},"width",tn(o||"100vw")),t=r.width,e=r.height}var s;var a=t+"."+e+"."+n;if(kn[a])return kn[a];var l=document.createelement("canvas");l.width=t,l.height=e;var h=l.getcontext("2d");return h.fillstyle=n,h.fillrect(0,0,t,e),kn[a]=l.todataurl("image/png")}(this.width,this.height,this.sizes)):xn(this.$el,on[this.cachekey]||this.datasrc,this.datasrcset,this.sizes)},update:[{read:function(t){var e=this,i=t.image;if(!(i||!this.loaded&&this.isimg||on[this.cachekey]&&this.isimg)&&this.target.some(function(t){return je(t,e.offsettop,e.offsetleft,!0)}))return{image:jt(this.datasrc,this.datasrcset,this.sizes).then(function(t){return xn(e.$el,an(t),t.srcset,t.sizes),on[e.cachekey]=an(t),t},q)};!this.isimg&&i&&i.then(function(t){return t&&xn(e.$el,an(t))})},events:["scroll","load","resize"]}],events:{load:function(){this.loaded=!0}}};function xn(t,e,i,n){_n(t)?(e&&(t.src=e),i&&(t.srcset=i),n&&(t.sizes=n)):e&&ve(t,"backgroundimage","url("+e+")")}var kn={},$n=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;var in=/\d+(?:\w+|%)/g,sn=/[+-]?(\d+)/g;function tn(t,e,i){return void 0===e&&(e="width"),void 0===i&&(i=window),n(t)?+t:c(t,"vw")?cn(i,"width",t):c(t,"vh")?cn(i,"height",t):c(t,"%")?cn(i,e,t):m(t)}var en={height:je,width:fe};function cn(t,e,i){return en[e](t)*m(i)/100}function _n(t){return"img"===t.tagname}function an(t){return t.currentsrc||t.src}var nn="__test__",on=window.sessionstorage||{};try{on[nn]=1,delete on[nn]}catch(t){on={}}var dn,bn,mn={mixins:[li],props:{fill:string,media:"media"},data:{fill:"",media:!1,clswrapper:"uk-leader-fill",clshide:"uk-leader-hide",attrfill:"data-fill"},computed:{fill:function(t){var e=t.fill;return e||xe("leader-fill")}},connected:function(){var t;t=te(this.$el,''),this.wrapper=t[0]},disconnected:function(){ee(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&&!window.matchmedia(this.media).matches}},write:function(t){ue(this.wrapper,this.clshide,t.hide),t.changed&&(t.changed=!1,k(this.wrapper,this.attrfill,new array(t.width).join(this.fill)))},events:["load","resize"]}]},zn={props:{container:boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&de(e)}}},pn={mixins:[li,zn,ji],props:{selpanel:string,selclose:string,escclose:boolean,bgclose:boolean,stack:boolean},data:{cls:"uk-open",escclose:!0,bgclose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return de(t.selpanel,e)},transitionelement:function(){return this.panel},transitionduration:function(){return l(ve(this.transitionelement,"transitionduration"))},bgclose:function(t){var e=t.bgclose;return e&&this.panel}},events:[{name:"click",delegate:function(){return this.selclose},handler:function(t){t.preventdefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultprevented||(t.preventdefault(),this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){var e=dn&&dn!==this&&dn;if(dn=this,e){if(!this.stack)return e.hide().then(this.show),void t.preventdefault();this.prev=e}!function(){if(bn)return;bn=[it(document,"click",function(t){var e=t.target,i=t.defaultprevented;!dn||!dn.bgclose||i||dn.overlay&&!$t(e,dn.$el)||$t(e,dn.panel)||dn.hide()}),it(document,"keydown",function(t){27===t.keycode&&dn&&dn.escclose&&(t.preventdefault(),dn.hide())})]}()}},{name:"beforehide",self:!0,handler:function(){(dn=dn&&dn!==this&&dn||this.prev)||(bn&&bn.foreach(function(t){return t()}),bn=null)}},{name:"show",self:!0,handler:function(){ce(document.documentelement,this.clspage)||(this.scrollbarwidth=fe(window)-fe(document),ve(document.body,"overflowy",this.scrollbarwidth&&this.overlay?"scroll":"")),se(document.documentelement,this.clspage)}},{name:"hidden",self:!0,handler:function(){for(var t,e=this.prev;e;){if(e.clspage===this.clspage){t=!0;break}e=e.prev}t||ae(document.documentelement,this.clspage),!this.prev&&ve(document.body,"overflowy","")}}],methods:{toggle:function(){return this.istoggled()?this.hide():this.show()},show:function(){return this.istoggled()?bt.resolve():(this.container&&this.$el.parentnode!==this.container&&(xt(this.container,this.$el),this._callconnected()),this.togglenow(this.$el,!0))},hide:function(){return this.istoggled()?this.togglenow(this.$el,!1):bt.resolve()},getactive:function(){return dn},_toggleimmediate:function(e,i){var n=this;return new bt(function(t){return requestanimationframe(function(){n._toggle(e,i),n.transitionduration?tt(n.transitionelement,"transitionend",t,!1,function(t){return t.target===n.transitionelement}):t()})})}}};var hn={install:function(a){a.modal.dialog=function(t,e){var n=a.modal('
'+t+"
",e);return n.show(),it(n.$el,"hidden",function(t){var e=t.target,i=t.currenttarget;e===i&&n.$destroy(!0)}),n},a.modal.alert=function(e,i){return i=f({bgclose:!1,escclose:!1,labels:a.modal.labels},i),new bt(function(t){return it(a.modal.dialog('
'+(_(e)?e:ut(e))+'
",i).$el,"hide",t)})},a.modal.confirm=function(r,o){return o=f({bgclose:!1,escclose:!0,labels:a.modal.labels},o),new bt(function(e,t){var i=a.modal.dialog('
'+(_(r)?r:ut(r))+'
",o),n=!1;it(i.$el,"submit","form",function(t){t.preventdefault(),e(),n=!0,i.hide()}),it(i.$el,"hide",function(){n||t()})})},a.modal.prompt=function(t,o,s){return s=f({bgclose:!1,escclose:!0,labels:a.modal.labels},s),new bt(function(e){var i=a.modal.dialog('
",s),n=de("input",i.$el);n.value=o;var r=!1;it(i.$el,"submit","form",function(t){t.preventdefault(),e(n.value),r=!0,i.hide()}),it(i.$el,"hide",function(){r||e(null)})})},a.modal.labels={ok:"ok",cancel:"cancel"}},mixins:[pn],data:{clspage:"uk-modal-page",selpanel:".uk-modal-dialog",selclose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler:function(){ce(this.panel,"uk-margin-auto-vertical")?se(this.$el,"uk-flex"):ve(this.$el,"display","block"),je(this.$el)}},{name:"hidden",self:!0,handler:function(){ve(this.$el,"display",""),ae(this.$el,"uk-flex")}}]};var wn,ln={extends:fi,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},jn={mixins:[li],props:{dropdown:string,mode:"list",align:string,offset:number,boundary:boolean,boundaryalign:boolean,clsdrop:string,delayshow:number,delayhide:number,dropbar:boolean,dropbarmode:string,dropbaranchor:boolean,duration:number},data:{dropdown:".uk-navbar-nav > li",align:ei?"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},dropbaranchor:function(t,e){var i=t.dropbaranchor;return et(i,e)},pos:function(t){return"bottom-"+t.align},dropdowns:function(t,e){return be(t.dropdown+" ."+t.clsdrop,e)}},beforeconnect:function(){var t=this.$props.dropbar;this.dropbar=t&&(_(t)&&et(t,this.$el)||de("
")),this.dropbar&&(se(this.dropbar,"uk-navbar-dropbar"),"slide"===this.dropbarmode&&se(this.dropbar,"uk-navbar-dropbar-slide"))},disconnected:function(){this.dropbar&&zt(this.dropbar)},update:function(){var e=this;this.$create("drop",this.dropdowns.filter(function(t){return!e.getdropdown(t)}),f({},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&&!$t(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&&!ut(this.dropbar,":hover")&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentnode||kt(this.dropbaranchor||this.$el,this.dropbar)}},{name:"show",capture:!0,filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=e.dir;this.clsdrop&&se(i,this.clsdrop+"-dropbar"),"bottom"===n&&this.transitionto(i.offsetheight+m(ve(i,"margintop"))+m(ve(i,"marginbottom")),i)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getactive();ut(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 t=this.dropdowns.map(this.getdropdown).filter(function(t){return t.isactive()})[0];return t&&b(t.mode,"hover")&&$t(t.toggle.$el,this.$el)&&t},transitionto:function(t,e){var i=this.dropbar,n=bt(i)?je(i):0;return ve(e=n"),se(this.panel.parentnode,this.clsmode)),ve(document.documentelement,"overflowy",(!this.clscontentanimation||this.flip)&&this.scrollbarwidth&&this.overlay?"scroll":""),se(document.body,this.clscontainer,this.clsflip,this.clsoverlay),je(document.body),se(this.content,this.clscontentanimation),se(this.panel,this.clssidebaranimation,"reveal"!==this.mode?this.clsmode:""),se(this.$el,this.clsoverlay),ve(this.$el,"display","block"),je(this.$el)}},{name:"hide",self:!0,handler:function(){ae(this.content,this.clscontentanimation);var t=this.getactive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&et(this.panel,"transitionend")}},{name:"hidden",self:!0,handler:function(){if("reveal"===this.mode&&ee(this.panel),this.overlay){if(!wn){var t=this.content,e=t.scrollleft,i=t.scrolltop;wn={x:e,y:i}}}else wn={x:window.pagexoffset,y:window.pageyoffset};ae(this.panel,this.clssidebaranimation,this.clsmode),ae(this.$el,this.clsoverlay),ve(this.$el,"display",""),ae(document.body,this.clscontainer,this.clsflip,this.clsoverlay),document.body.scrolltop=wn.y,ve(document.documentelement,"overflowy",""),fe(this.content,""),je(this.content,""),window.scroll(wn.x,wn.y),wn=null}},{name:"swipeleft swiperight",handler:function(t){this.istoggled()&&ni(t)&&("swipeleft"===t.type&&!this.flip||"swiperight"===t.type&&this.flip)&&this.hide()}}]},vn={mixins:[li],computed:{modal:function(t,e){return ft(e,".uk-modal")},panel:function(t,e){return ft(e,".uk-modal-dialog")}},connected:function(){ve(this.$el,"minheight",150)},update:{write:function(){if(this.panel&&this.modal){var t=ve(this.$el,"maxheight");ve(ve(this.$el,"maxheight",150),"maxheight",math.max(150,150+je(this.modal)-this.panel.offsetheight)),t!==ve(this.$el,"maxheight")&&et(this.$el,"resize")}},events:["load","resize"]}},yn={props:["width","height"],connected:function(){se(this.$el,"uk-responsive-width")},update:{read:function(){return!!(bt(this.$el)&&this.width&&this.height)&&{width:fe(this.$el.parentnode),height:this.height}},write:function(t){je(this.$el,j.contain({height:this.height,width:this.width},t).height)},events:["load","resize"]}},rn={props:{duration:number,offset:number},data:{duration:1e3,offset:0},methods:{scrollto:function(i){var n=this;i=i&&de(i)||document.body;var t=je(document),e=je(window),r=he(i).top-this.offset;if(t
'),this.isactive||this.hide()},disconnected:function(){this.isactive&&(this.isactive=!1,this.hide(),ae(this.seltarget,this.clsinactive)),zt(this.placeholder),this.placeholder=null,this.widthelement=null},events:[{name:"active",self:!0,handler:function(){he(this.seltarget,this.clsinactive,this.clsactive)}},{name:"inactive",self:!0,handler:function(){he(this.seltarget,this.clsactive,this.clsinactive)}},{name:"load hashchange popstate",el:window,handler:function(){var n=this;if(!1!==this.targetoffset&&location.hash&&0this.topoffset?(oe.cancel(this.$el),oe.out(this.$el,this.animation).then(function(){return i.hide()},q)):this.hide()}else this.isactive?this.update():this.animation?(oe.cancel(this.$el),this.show(),oe.in(this.$el,this.animation).catch(q)):this.show()},events:["load","resize","scroll"]}],methods:{show:function(){this.isactive=!0,this.update(),k(this.placeholder,"hidden",null)},hide:function(){this.isactive&&!ce(this.seltarget,this.clsactive)||et(this.$el,"inactive"),ae(this.$el,this.clsfixed,this.clsbelow),ve(this.$el,{position:"",top:"",width:""}),k(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),ve(this.$el,{position:"fixed",top:e+"px",width:this.width}),ce(this.seltarget,this.clsactive)?t||et(this.$el,"inactive"):t&&et(this.$el,"active"),ue(this.$el,this.clsbelow,this.scroll>this.bottomoffset),se(this.$el,this.clsfixed)}}};function jn(t,e){var i=e.$props,n=e.$el,r=e[t+"offset"],o=i[t];if(o){if(n(o))return r+m(o);if(_(o)&&o.match(/^-?\d+vh$/))return je(window)*m(o)/100;var s=!0===o?n.parentnode:et(o,n);return s?he(s).top+s.offsetheight:void 0}}var kn,gn={mixins:[ji],args:"connect",props:{connect:string,toggle:string,active:number,swiping:boolean},data:{connect:"~.uk-switcher",toggle:"> *",active:0,swiping:!0,cls:"uk-active",clscontainer:"uk-switcher",attritem:"uk-switcher-item",queued:!0},computed:{connects:function(t,e){return it(t.connect,e)},toggles:function(t,e){return be(t.toggle,e)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventdefault(),this.show(t.current)}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attritem+"],[data-"+this.attritem+"]"},handler:function(t){t.preventdefault(),this.show(tt(t.current,this.attritem))}},{name:"swiperight swipeleft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){ni(t)&&(t.preventdefault(),window.getselection().tostring()||this.show("swipeleft"===t.type?"next":"previous"))}}],update:function(){var e=this;this.connects.foreach(function(t){return e.updatearia(t.children)}),this.show(kt(this.toggles,"."+this.cls)[0]||this.toggles[this.active]||this.toggles[0])},methods:{show:function(t){for(var e,i=this,n=this.toggles.length,r=!!this.connects.length&&yt(kt(this.connects[0].children,"."+this.cls)[0]),o=0<=r,s="previous"===t?-1:1,a=rt(t,this.toggles,r),l=0;l"}).join("")),e.foreach(function(t,e){return i.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)}}};var er,ir="uk-animation-target",nr={props:{animation:number},data:{animation:150},computed:{target:function(){return this.$el}},methods:{animate:function(t){var n=this;er||(er=xt(document.head,"