/*! UIkit 3.0.0-rc.9 | 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]=t[e]?Math.round(i*t[r]/t[e]):t[r],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=Ot(r),s&&(a=function(t,n,r){var o=this;return function(i){t.forEach(function(t){var e=">"===n[0]?rt(n,t).reverse().filter(function(t){return $t(i.target,t)})[0]:ft(i.target,n);e&&(i.delegate=t,i.current=e,r.call(o,i))})}}(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]+B("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]+(B(ve(n,"margin"+i))||0)+(B(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]:B(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+B(ve(i,"padding"+e))+B(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?B(r)*(c(r,"%")?e/100:1):0,y:o?B(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 De(t.targets,e)}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Yt(De(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(Me(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:Me(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(o){Vt(function(){var i=0,n=0;if(It(window,"load resize",function(t){return o.update(null,t)}),It(window,"scroll",function(t){var e=t.target;t.dir=i<=window.pageYOffset?"down":"up",t.pageYOffset=i=window.pageYOffset,o.update(1!==e.nodeType?document.body:e,t)},{passive:!0,capture:!0}),It(document,"loadedmetadata load",function(t){var e=t.target;return o.update(e,"load")},!0),It(document,"animationstart",function(t){var e=t.target;(ve(e,"animationName")||"").match(/^uk-.*(left|right)/)&&(n++,ve(document.body,"overflowX","hidden"),setTimeout(function(){--n||ve(document.body,"overflowX","")},L(ve(e,"animationDuration"))+100))},!0),ri){var r="uk-hover";It(document,"tap",function(t){var e=t.target;return De("."+r).forEach(function(t){return!$t(e,t)&&ae(t,r)})}),Object.defineProperty(o,"hoverSelector",{set:function(t){It(document,"tap",t,function(t){return se(t.current,r)})}}),o.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:{read:function(){var t=this.$el;if(!bt(t))return!1;var e=t.parentNode;return{height:e.offsetHeight,width:e.offsetWidth}},write:function(t){var e=t.height,i=t.width,n=this.$el,r=this.width||n.naturalWidth||n.videoWidth||n.clientWidth,o=this.height||n.naturalHeight||n.videoHeight||n.clientHeight;r&&o&&ve(n,J.cover({width:r,height:o},{width:i+(i%2?1:0),height:e+(e%2?1:0)}))},events:["load","resize"]}},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=Me(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){return et(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},init:function(){this.tracker=new 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(),De("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 Me(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=De("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 De(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=Me(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(r){r.icon.add=function(t,e){var i,n=_(t)?((i={})[t]=e,i):t;V(n,function(t,e){fn[e]=t,delete dn[e]}),r._initialized&&oe(document.body,function(t){return V(r.getComponents(t),function(t){return t.$options.isIcon&&t.icon in n&&t.$reset()})})}},attrs:["icon","ratio"],mixins:[Li,hn],args:"icon",props:["icon"],data:{exclude:["id","style","class","src","icon","ratio"]},isIcon:!0,connected:function(){se(this.$el,"uk-icon")},methods:{getSvg:function(){var t,e=function(t){if(!fn[t])return null;dn[t]||(dn[t]=Me(fn[t].trim()));return dn[t]}((t=this.icon,ei?j(j(t,"left","right"),"previous","next"):t));return e?Dt.resolve(e):Dt.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(Me("circle",t),"strokeWidth",1/e.ratio)},q)}};var yn={attrs:!0,props:{dataSrc:String,dataSrcset:Boolean,sizes:String,width:Number,height:Number,offsetTop:String,offsetLeft:String,target:String},data:{dataSrc:"",dataSrcset:!1,sizes:!1,width:!1,height:!1,offsetTop:"50vh",offsetLeft:0,target:!1},computed:{cacheKey:function(t){var e=t.dataSrc;return this.$name+"."+e},width:function(t){var e=t.width,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 Cn(e)},target:function(t){var e=t.target;return[this.$el].concat(it(e,this.$el))},offsetTop:function(t){return Sn(t.offsetTop,"height")},offsetLeft:function(t){return Sn(t.offsetLeft,"width")}},connected:function(){An[this.cacheKey]?xn(this.$el,An[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&xn(this.$el,function(t,e,i){var n;if(i){for(var r;r=kn.exec(i);)if(!r[1]||window.matchMedia(r[1]).matches){o=r[2],r=v(o,"calc")?o.substring(5,o.length-1).replace($n,function(t){return Sn(t)}).replace(/ /g,"").match(In).reduce(function(t,e){return t+ +e},0):o;break}kn.lastIndex=0,n=J.ratio({width:t,height:e},"width",Sn(r||"100vw")),t=n.width,e=n.height}var o;return'data:image/svg+xml;utf8,'}(this.width,this.height,this.sizes))},update:[{read:function(t){var e=this,i=t.delay,n=t.image;if(i){if(!n&&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,_n(t),t.srcset,t.sizes),An[e.cacheKey]=_n(t),t},q)};!this.isImg&&n&&n.then(function(t){return t&&xn(e.$el,_n(t))})}},write:function(t){if(!t.delay)return this.$emit(),t.delay=!0},events:["scroll","load","resize"]}]};function xn(t,e,i,n){if(Cn(t))e&&(t.src=e),i&&(t.srcset=i),n&&(t.sizes=n);else if(e){var r=!b(t.style.backgroundImage,e);ve(t,"backgroundImage","url("+e+")"),r&&Et(t,Ct("load",!1))}}var kn=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;var $n=/\d+(?:\w+|%)/g,In=/[+-]?(\d+)/g;function Sn(t,e,i){return void 0===e&&(e="width"),void 0===i&&(i=window),N(t)?+t:c(t,"vw")?En(i,"width",t):c(t,"vh")?En(i,"height",t):c(t,"%")?En(i,e,t):B(t)}var Tn={height:je,width:Fe};function En(t,e,i){return Tn[e](t)*B(i)/100}function Cn(t){return"IMG"===t.tagName}function _n(t){return t.currentSrc||t.src}var An,Nn="__test__";try{(An=window.sessionStorage||{})[Nn]=1,delete An[Nn]}catch(t){An={}}var On,Mn,Dn={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){return t.fill||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"]}]},Bn={props:{container:Boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&Me(e)}}},zn={mixins:[Li,Bn,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 Me(t.selPanel,e)},transitionElement:function(){return this.panel},transitionDuration:function(){return L(ve(this.transitionElement,"transitionDuration"))},bgClose:function(t){return t.bgClose&&this.panel}},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",self:!0,handler:function(t){t.defaultPrevented||(t.preventDefault(),this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){var e=On&&On!==this&&On;if(On=this,e){if(!this.stack)return e.hide().then(this.show),void t.preventDefault();this.prev=e}!function(){if(Mn)return;Mn=[It(document,"click",function(t){var e=t.target,i=t.defaultPrevented;!On||!On.bgClose||i||On.overlay&&!$t(e,On.$el)||$t(e,On.panel)||On.hide()}),It(document,"keydown",function(t){27===t.keyCode&&On&&On.escClose&&(t.preventDefault(),On.hide())})]}()}},{name:"beforehide",self:!0,handler:function(){(On=On&&On!==this&&On||this.prev)||(Mn&&Mn.forEach(function(t){return t()}),Mn=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()?Dt.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):Dt.resolve()},getActive:function(){return On},_toggleImmediate:function(e,i){var n=this;return new Dt(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 Pn={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 Dt(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 Dt(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 Dt(function(e){var i=a.modal.dialog('
",s),n=Me("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:[zn],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 Hn,Wn={extends:Fi,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},Ln={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){return et(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropdowns:function(t,e){return De(t.dropdown+" ."+t.clsDrop,e)}},beforeConnect:function(){var t=this.$props.dropbar;this.dropbar=t&&(et(t,this.$el)||Me("+ .uk-navbar-dropbar",this.$el)||Me("
")),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+B(ve(i,"marginTop"))+B(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(!Hn){var t=this.content,e=t.scrollLeft,i=t.scrollTop;Hn={x:e,y:i}}}else Hn={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=Hn.y,ve(document.documentElement,"overflowY",""),Fe(this.content,""),je(this.content,""),window.scroll(Hn.x,Hn.y),Hn=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&Ni(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]},Fn={mixins:[Li],props:{selModal:String,selPanel:String},data:{selModal:".uk-modal",selPanel:".uk-modal-dialog"},computed:{modal:function(t,e){return ft(e,t.selModal)},panel:function(t,e){return ft(e,t.selPanel)}},connected:function(){ve(this.$el,"minHeight",150)},update:{read:function(){return!(!this.panel||!this.modal)&&{current:B(ve(this.$el,"maxHeight")),max:Math.max(150,je(this.modal)-(He(this.panel).height-je(this.$el)))}},write:function(t){var e=t.current,i=t.max;ve(this.$el,"maxHeight",i),Math.round(e)!==Math.round(i)&&Et(this.$el,"resize")},events:["load","resize"]}},Vn={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"]}},Yn={props:{duration:Number,offset:Number},data:{duration:1e3,offset:0},methods:{scrollTo:function(i){var n=this;i=i&&Me(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 Xn(t,e){var i=e.$props,n=e.$el,r=e[t+"Offset"],o=i[t];if(o){if(N(o))return r+B(o);if(_(o)&&o.match(/^-?\d+vh$/))return je(window)*B(o)/100;var s=!0===o?n.parentNode:et(o,n);return s?He(s).top+s.offsetHeight:void 0}}var Jn,Kn={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 De(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:{index:function(){return!!this.connects.length&&Yt(kt(this.connects[0].children,"."+this.cls)[0])},show:function(t){for(var e,i=this,n=this.toggles.length,r=this.index(),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 tr,er="uk-animation-target",ir={props:{animation:Number},data:{animation:150},computed:{target:function(){return this.$el}},methods:{animate:function(t){var n=this;tr||(tr=Xt(document.head,"