"),ee(n._wrapper,"hidden",r?"":null)),i._toggleImmediate(a,!0),i.toggleElement(n._wrapper,r,e).then(function(){X(n,i.clsOpen)===r&&(r||i._toggleImmediate(a,!1),n._wrapper=null,Ot(a))})}})}}})},tn=function(t){t.component("alert",{attrs:!0,mixins:[Xi,Gi],args:"animation",props:{close:String},defaults:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:We({opacity:0},Gi.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)})}}})},en=function(t){t.component("cover",{mixins:[Xi,t.components.video.options],props:{width:Number,height:Number},defaults:{automute:!0},update:{write:function(){var t=this.$el;if($t(t)){var e=t.parentNode,i=e.offsetHeight,n=e.offsetWidth;Q(Q(t,{width:"",height:""}),xi.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()}}})},nn=function(e){var o;e.component("drop",{mixins:[Qi,Gi],args:"pos",props:{mode:"list",toggle:Boolean,boundary:"query",boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},defaults:{mode:["click","hover"],toggle:!0,boundary:qe,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},init:function(){this.tracker=new ue,this.clsDrop=this.clsDrop||"uk-"+this.$options.name,this.clsPos=this.clsDrop,R(this.$el,this.clsDrop)},ready:function(){this.updateAria(this.$el),this.toggle&&(this.toggle=e.toggle(C(this.toggle)?jt(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&&Rt(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:ni,filter:function(){return w(this.mode,"hover")},handler:function(t){pe(t)||(o&&o!==this&&o.toggle&&w(o.toggle.mode,"hover")&&!Rt(t.target,o.toggle.$el)&&!F({x:t.pageX,y:t.pageY},ot(o.$el))&&o.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!w(e.target,this.$el)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+oi,handler:function(t,e){pe(t)||e&&!w(e.target,this.$el)||(t.preventDefault(),this.toggle&&w(this.toggle.mode,"hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers()}},{name:"show",self:!0,handler:function(){this.tracker.init(),R(this.toggle.$el,this.cls),ee(this.toggle.$el,"aria-expanded","true"),s||(s=!0,t(Xe,"click",function(t){var e,i=t.target;if(!t.defaultPrevented)for(;o&&o!==e&&!Rt(i,o.$el)&&(!o.toggle||!Rt(i,o.toggle.$el));)e=o,o.hide(!1)}))}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(o=this.isActive()?null:o,Y(this.toggle.$el,this.cls),ee(this.toggle.$el,"aria-expanded","false"),this.toggle.$el.blur(),zt("a, button",this.toggle.$el).forEach(function(t){return t.blur()}),this.tracker.cancel()):o=null===o&&Rt(e,this.$el)&&this.isToggled()?this:o}}],update:{write:function(){this.isToggled()&&!yi.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(t,e){var n=this;void 0===e&&(e=!0);var s=function(){n.isToggled()||(n.position(),n.toggleElement(n.$el,!0))},r=function(){if(n.toggle=t||n.toggle,n.clearTimers(),!n.isActive())if(e&&o&&o!==n&&o.isDelaying)n.showTimer=setTimeout(n.show,10);else{if(n.isParentOf(o)){if(!o.hideTimer)return;o.hide(!1)}else if(o&&!n.isChildOf(o)&&!n.isParentOf(o))for(var i;o&&o!==i&&!n.isChildOf(o);)i=o,o.hide(!1);e&&n.delayShow?n.showTimer=setTimeout(s,n.delayShow):s(),o=n}};t&&this.toggle&&t.$el!==this.toggle.$el?(i(this.$el,"hide",r),this.hide(!1)):r()},hide:function(t){var e=this;void 0===t&&(t=!0);var i=function(){return e.toggleNow(e.$el,!1)};this.clearTimers(),this.isDelaying=this.tracker.movesTo(this.$el),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,this.hoverIdle):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return o===this},isChildOf:function(t){return t&&t!==this&&Rt(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&Rt(t.$el,this.$el)},position:function(){q(this.$el,this.clsDrop+"-(stack|boundary)"),Q(this.$el,{top:"",left:"",display:"block"}),J(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=ot(this.boundary),e=this.boundaryAlign?t:ot(this.toggle.$el);if("justify"===this.align){var i="y"===this.getAxis()?"width":"height";Q(this.$el,i,e[i])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&(R(this.$el,this.clsDrop+"-stack"),n(this.$el,"stack",[this]));this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),Q(this.$el,"display","")}}}),e.drop.getActive=function(){return o};var s},on=function(t){t.component("dropdown",t.components.drop.extend({name:"dropdown"}))},sn=function(t){t.component("form-custom",{mixins:[Xi],args:"target",props:{target:Boolean},defaults:{target:!1},computed:{input:function(t,e){return Ht(ki,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||jt(i,e))}},connected:function(){n(this.input,"change")},events:[{name:"focusin focusout mouseenter mouseleave",delegate:ki,handler:function(t){var e=t.type;t.current===this.input&&J(this.state,"uk-"+(w(e,"focus")?"focus":"hover"),w(["focusin","mouseenter"],e))}},{name:"change",handler:function(){var t,e=this.target,i=this.input;e&&(e[Tt(e)?"value":"textContent"]=i.files&&i.files[0]?i.files[0].name:qt(i,"select")&&(t=zt("option",i).filter(function(t){return t.selected})[0])?t.textContent:i.value)}}]})},rn=function(t){t.component("gif",{update:{read:function(t){var e=bt(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","load","resize"]}})},an=function(t){t.component("grid",t.components.margin.extend({mixins:[Xi],name:"grid",defaults:{margin:"uk-grid-margin",clsStack:"uk-grid-stack"},update:{write:function(t){var e=t.stacks;J(this.$el,this.clsStack,e)},events:["load","resize"]}}))},ln=function(t){t.component("height-match",{args:"target",props:{target:String,row:Boolean},defaults:{target:"> *",row:!0},computed:{elements:function(t,e){return zt(t.target,e)}},update:{read:function(){var t=this,e=!1;return Q(this.elements,"minHeight",""),{rows:this.row?this.elements.reduce(function(t,i){return e!==i.offsetTop?t.push([i]):t[t.length-1].push(i),e=i.offsetTop,t},[]).map(function(e){return t.match(e)}):[this.match(this.elements)]}},write:function(t){t.rows.forEach(function(t){var e=t.height;return Q(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;$t(t)||(n=ee(t,"style"),o=ee(t,"hidden"),ee(t,{style:(n||"")+";display:block !important;",hidden:null})),e=Math.max(e,t.offsetHeight),i.push(t.offsetHeight),_(n)||ee(t,{style:n,hidden:o})}),t=t.filter(function(t,n){return i[n]
0&&(t=e(this.$el)+o)}else{var s=ot(this.$el).top;sr&&Q(this.$el,"minHeight",this.minHeight),i-n>=r&&Q(this.$el,"height",t)}},events:["load","resize"]}})},cn=function(e){vt(function(){if(Ke){t(Ue,"tap",function(t){var e=t.target;return zt(".uk-hover").forEach(function(t,i){return!Rt(e,i)&&Y(i,"uk-hover")})}),Object.defineProperty(e,"hoverSelector",{set:function(e){t(Ue,"tap",e,function(t){return R(t.current,"uk-hover")})}}),e.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})},hn=function(t){function e(e,i){t.component(e,t.components.icon.extend({name:e,mixins:i?[i]:[],defaults:{icon:e}}))}var i={},n={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:[Xi],name:"icon",args:"icon",props:["icon"],defaults:{exclude:["id","style","class","src","icon"]},init:function(){R(this.$el,"uk-icon"),pi&&(this.icon=M(M(this.icon,"left","right"),"previous","next"))},methods:{getSvg:function(){var t=function(t){return n[t]?(i[t]||(i[t]=Ht(n[t].trim())),i[t]):null}(this.icon);return t?Ie.resolve(t):Ie.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(){R(this.$el,"uk-slidenav"),X(this.$el,"uk-slidenav-large")&&(this.icon+="-large")}})}),e("search-icon",{init:function(){X(this.$el,"uk-search-icon")&&Xt(this.$el,".uk-search-large").length?this.icon="search-large":Xt(this.$el,".uk-search-navbar").length&&(this.icon="search-navbar")}}),e("close",{init:function(){this.icon="close-"+(X(this.$el,"uk-close-large")?"large":"icon")}}),e("spinner",{connected:function(){var t=this;this.svg.then(function(e){return 1!==t.ratio&&Q(Ht("circle",e),"stroke-width",1/t.ratio)},L)}}),t.icon.add=function(e){Object.keys(e).forEach(function(t){n[t]=e[t],delete i[t]}),t._initialized&&H(t.instances,function(t){"icon"===t.$options.name&&t.$reset()})}},fn=function(t){t.component("leader",{mixins:[Xi],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||et("leader-fill")}},connected:function(){this.wrapper=Bt(this.$el,'')[0]},disconnected:function(){Ot(this.wrapper.childNodes)},update:[{read:function(t){var e=t.changed,i=t.width,n=i;return i=Math.floor(this.$el.offsetWidth/2),{width:i,changed:e||n!==i,hide:this.media&&!qe.matchMedia(this.media).matches}},write:function(t){J(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,ee(this.wrapper,this.attrFill,new Array(t.width).join(this.fill)))},events:["load","resize"]}]})},dn=function(t){t.component("margin",{props:{margin:String,firstColumn:Boolean},defaults:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!$t(this.$el))return t.rows=!1;t.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 '+i+"
",n);return t(o.$el,"hidden",function(t){t.target===t.current&&o.$destroy(!0)}),o.show(),o},e.modal.alert=function(i,n){return n=We({bgClose:!1,escClose:!1,labels:e.modal.labels},n),new Ie(function(o){return t(e.modal.dialog(' "),R(this.panel.parentNode,this.clsMode)),Q(Xe,"overflowY",(!this.clsContentAnimation||this.flip)&&this.scrollbarWidth&&this.overlay?"scroll":""),R(Ue.body,this.clsContainer,this.clsFlip,this.clsOverlay),fi(Ue.body),R(this.content,this.clsContentAnimation),R(this.panel,this.clsSidebarAnimation+" "+("reveal"!==this.mode?this.clsMode:"")),R(this.$el,this.clsOverlay),Q(this.$el,"display","block"),fi(this.$el)}},{name:"hide",self:!0,handler:function(){Y(this.content,this.clsContentAnimation);var t=this.getActive();("none"===this.mode||t&&t!==this&&t!==this.prev)&&n(this.panel,"transitionend")}},{name:"hidden",self:!0,handler:function(){if("reveal"===this.mode&&Ot(this.panel),this.overlay){if(!Ui){var t=this.content,e=t.scrollLeft,i=t.scrollTop;Ui={x:e,y:i}}}else Ui={x:qe.pageXOffset,y:qe.pageYOffset};Y(this.panel,this.clsSidebarAnimation,this.clsMode),Y(this.$el,this.clsOverlay),Q(this.$el,"display",""),Y(Ue.body,this.clsContainer,this.clsFlip,this.clsOverlay),Ue.body.scrollTop=Ui.y,Q(Xe,"overflow-y",""),di(this.content,""),fi(this.content,""),qe.scrollTo(Ui.x,Ui.y),Ui=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&pe(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]})},wn=function(t){t.component("responsive",{props:["width","height"],init:function(){R(this.$el,"uk-responsive-width")},update:{read:function(){return!!($t(this.$el)&&this.width&&this.height)&&{width:di(this.$el.parentNode),height:this.height}},write:function(t){fi(this.$el,xi.contain({height:this.height,width:this.width},t).height)},events:["load","resize"]}})},yn=function(t){t.component("scroll",{props:{duration:Number,offset:Number},defaults:{duration:1e3,offset:0},methods:{scrollTo:function(t){var e=this,i=ot(t=t&&Ht(t)||Ue.body).top-this.offset,o=fi(Ue),s=fi(qe);if(i+s>o&&(i=o-s),n(this.$el,"beforescroll",[this,t])){var r=Date.now(),a=qe.pageYOffset,l=function(){var o=a+(i-a)*function(t){return.5*(1-Math.cos(Math.PI*t))}(z((Date.now()-r)/e.duration));qe.scrollTo(qe.pageXOffset,o),o!==i?Ge(l):n(e.$el,"scrolled",[e,t])};l()}}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(te(this.$el.hash).substr(1)))}}})},bn=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?zt(i,e):[e]}},update:[{write:function(){this.hidden&&Q(Vt(this.elements,":not(."+this.inViewClass+")"),"visibility","hidden")}},{read:function(e){var i=this;if(!t._initialized)return!1;this.elements.forEach(function(t,n){var o=e[n];if(!o){var s=ee(t,"uk-scrollspy-class");o={toggles:s&&s.split(",")||i.cls}}o.show=bt(t,i.offsetTop,i.offsetLeft),e[n]=o})},write:function(t){var e=this,i=1===this.elements.length?1:0;this.elements.forEach(function(o,s){var r=t[s],a=r.toggles[s]||r.toggles[0];if(r.show){if(!r.inview&&!r.timer){var l=function(){Q(o,"visibility",""),R(o,e.inViewClass),J(o,a),n(o,"inview"),e.$update(),r.inview=!0,delete r.timer};e.delay&&i?r.timer=setTimeout(l,e.delay*i):l(),i++}}else r.inview&&e.repeat&&(r.timer&&(clearTimeout(r.timer),delete r.timer),Q(o,"visibility",e.hidden?"hidden":""),Y(o,e.inViewClass),J(o,a),n(o,"outview"),e.$update(),r.inview=!1)})},events:["scroll","load","resize"]}]})},xn=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 zt('a[href^="#"]',e).filter(function(t){return t.hash})},elements:function(){return this.closest?Ut(this.links,this.closest):this.links},targets:function(){return zt(this.links.map(function(t){return t.hash}).join(","))}},update:[{read:function(){this.scroll&&t.scroll(this.links,{offset:this.offset||0})}},{read:function(t){var e=this,i=qe.pageYOffset+this.offset+1,n=fi(Ue)-fi(qe)+this.offset;t.active=!1,this.targets.every(function(o,s){var r=ot(o).top,a=s+1===e.targets.length;if(!e.overflow&&(0===s&&r>i||a&&r+o.offsetTop
=n)for(var l=e.targets.length-1;l>s;l--)if(bt(e.targets[l])){o=e.targets[l];break}return!(t.active=Ht(Vt(e.links,'[href="#'+o.id+'"]')))})},write:function(t){var e=t.active;this.links.forEach(function(t){return t.blur()}),Y(this.elements,this.cls),e&&n(this.$el,"active",[e,R(this.closest?Ut(e,this.closest):e,this.cls)])},events:["scroll","load","resize"]}]})},kn=function(t){t.component("sticky",{mixins:[Xi],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&&Ht(i,e)||e}},connected:function(){this.placeholder=Ht(''),this.widthElement=this.$props.widthElement||this.placeholder,this.isActive||this.hide()},disconnected:function(){this.isActive&&(this.isActive=!1,this.hide(),Y(this.$el,this.clsInactive)),Nt(this.placeholder),this.placeholder=null,this.widthElement=null},ready:function(){var t=this;if(this.target&&location.hash&&qe.pageYOffset>0){var e=Ht(location.hash);e&&Di.read(function(){var i=ot(e).top,n=ot(t.$el).top,o=t.$el.offsetHeight;n+o>=i&&n<=i+e.offsetHeight&&qe.scrollTo(0,i-o-t.target-t.offset)})}},events:[{name:"active",self:!0,handler:function(){U(this.selTarget,this.clsInactive,this.clsActive)}},{name:"inactive",self:!0,handler:function(){U(this.selTarget,this.clsActive,this.clsInactive)}}],update:[{write:function(){var t,e=this,i=this.placeholder,n=(this.isActive?i:this.$el).offsetHeight;Q(i,We({height:"absolute"!==Q(this.$el,"position")?n:""},Q(this.$el,["marginTop","marginBottom","marginLeft","marginRight"]))),Rt(i,Xe)||(St(this.$el,i),ee(i,"hidden","")),ee(this.widthElement,"hidden",null),this.width=this.widthElement.offsetWidth,ee(this.widthElement,"hidden",this.isActive?null:""),this.topOffset=ot(this.isActive?i:this.$el).top,this.bottomOffset=this.topOffset+n,["top","bottom"].forEach(function(i){e[i]=e.$props[i],e[i]&&(A(e[i])?e[i]=e[i+"Offset"]+N(e[i]):C(e[i])&&e[i].match(/^-?\d+vh$/)?e[i]=fi(qe)*N(e[i])/100:(t=!0===e[i]?e.$el.parentNode:jt(e[i],e.$el))&&(e[i]=ot(t).top+t.offsetHeight))}),this.top=Math.max(N(this.top),this.topOffset)-this.offset,this.bottom=this.bottom&&this.bottom-n,this.inactive=this.media&&!qe.matchMedia(this.media).matches,this.isActive&&this.update()},events:["load","resize"]},{read:function(t,e){var i=e.scrollY;return void 0===i&&(i=qe.pageYOffset),{scroll:this.scroll=i,visible:$t(this.$el)}},write:function(t,e){var i=this,n=t.visible,o=t.scroll;void 0===e&&(e={});var s=e.dir;if(!(o<0||!n||this.disabled||this.showOnUp&&!s))if(this.inactive||othis.topOffset?(yi.cancel(this.$el),yi.out(this.$el,this.animation).then(function(){return i.hide()},L)):this.hide()}else this.isActive?this.update():this.animation?(yi.cancel(this.$el),this.show(),yi.in(this.$el,this.animation).catch(L)):this.show()},events:["scroll"]}],methods:{show:function(){this.isActive=!0,this.update(),ee(this.placeholder,"hidden",null)},hide:function(){this.isActive&&!X(this.selTarget,this.clsActive)||n(this.$el,"inactive"),Y(this.$el,this.clsFixed,this.clsBelow),Q(this.$el,{position:"",top:"",width:""}),ee(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),Q(this.$el,{position:"fixed",top:t+"px",width:this.width}),X(this.selTarget,this.clsActive)?e||n(this.$el,"inactive"):e&&n(this.$el,"active"),J(this.$el,this.clsBelow,this.scroll>this.bottomOffset),R(this.$el,this.clsFixed)}}})},$n={},Tn=function(t){t.component("svg",{attrs:!0,props:{id:String,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String},defaults:{ratio:1,id:!1,exclude:["src"],class:""},init:function(){this.class+=" uk-svg"},connected:function(){var t=this;if(!this.icon&&w(this.src,"#")){var n=this.src.split("#");n.length>1&&(this.src=n[0],this.icon=n[1])}this.svg=this.getSvg().then(function(n){var o;if(C(n)?(t.icon&&w(n,""}return i[t][n]}(n,t.icon)||n),o=Ht(n.substr(n.indexOf("',ban:'',behance:'',bell:'',bold:'',bolt:'',bookmark:'',calendar:'',camera:'',cart:'',check:'',clock:'',close:'',code:'',cog:'',comment:'',commenting:'',comments:'',copy:'',database:'',desktop:'',download:'',dribbble:'',expand:'',facebook:'',file:'',flickr:'',folder:'',forward:'',foursquare:'',future:'',github:'',gitter:'',google:'',grid:'',happy:'',hashtag:'',heart:'',history:'',home:'',image:'',info:'',instagram:'',italic:'',joomla:'',laptop:'',lifesaver:'',link:'',linkedin:'',list:'',location:'',lock:'',mail:'',menu:'',minus:'',more:'',move:'',nut:'',pagekit:'',pencil:'',phone:'',pinterest:'',play:'',plus:'',pull:'',push:'',question:'',receiver:'',refresh:'',reply:'',rss:'',search:'',server:'',settings:'',shrink:'',social:'',soundcloud:'',star:'',strikethrough:'',table:'',tablet:'',tag:'',thumbnails:'',trash:'',tripadvisor:'',tumblr:'',tv:'',twitter:'',uikit:'',unlock:'',upload:'',user:'',users:'',vimeo:'',warning:'',whatsapp:'',wordpress:'',world:'',xing:'',yelp:'',youtube:'',"500px":'',"arrow-down":'',"arrow-left":'',"arrow-right":'',"arrow-up":'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"cloud-download":'',"cloud-upload":'',"credit-card":'',"file-edit":'',"git-branch":'',"git-fork":'',"github-alt":'',"google-plus":'',"minus-circle":'',"more-vertical":'',"paint-bucket":'',"phone-landscape":'',"play-circle":'',"plus-circle":'',"quote-right":'',"sign-in":'',"sign-out":'',"tablet-landscape":'',"triangle-down":'',"triangle-left":'',"triangle-right":'',"triangle-up":'',"video-camera":'',"slidenav-next-large":'',"slidenav-next":'',"slidenav-previous-large":'',"slidenav-previous":''};return"undefined"!=typeof window&&window.UIkit&&window.UIkit.use(t),t});
// Theme JavaScript
(function (UIkit) {
var util = UIkit.util,
$ = util.$,
attr = util.attr,
css = util.css,
addClass = util.addClass;
UIkit.component('header', {
name: 'header',
connected: function () {
this.initialize();
},
ready: function () {
if (!this.section) {
this.initialize();
}
},
update: [
{
read: function () {
this.prevHeight = this.height;
this.height = this.$el.offsetHeight;
var sticky = this.modifier && UIkit.getComponent(this.sticky, 'sticky');
if (sticky) {
sticky.$props.top = this.section.offsetHeight <= window.innerHeight
? this.selector
: util.offset(this.section).top + 300;
}
},
write: function () {
if (this.placeholder && this.prevHeight !== this.height) {
css(this.placeholder, {height: this.height});
}
},
events: ['load', 'resize']
}
],
methods: {
initialize: function () {
this.selector = '.tm-header ~ [class*="uk-section"], .tm-header ~ * > [class*="uk-section"]';
this.section = $(this.selector);
this.sticky = $('[uk-sticky]', this.$el);
this.modifier = attr(this.section, 'tm-header-transparent');
if (!this.modifier || !this.section) {
return;
}
addClass(this.$el, 'tm-header-transparent');
this.placeholder = util.hasAttr(this.section, 'tm-header-transparent-placeholder')
&& util.before($('[uk-grid]', this.section), '');
var container = $('.uk-navbar-container', this.$el),
navbar = $('[uk-navbar]', this.$el),
cls = 'uk-navbar-transparent uk-' + this.modifier;
addClass($('.tm-headerbar-top, .tm-headerbar-bottom'), 'uk-' + this.modifier);
if (attr(navbar, 'dropbar-mode') === 'push') {
attr(navbar, 'dropbar-mode', 'slide');
}
if (!this.sticky) {
addClass(container, cls);
} else {
attr(this.sticky, {
animation: 'uk-animation-slide-top',
top: this.selector,
'cls-inactive': cls
});
}
}
}
});
if (UIkit.util.isRtl) {
var mixin = {
init: function () {
this.$props.pos = util.swap(this.$props.pos, 'left', 'right');
}
};
UIkit.mixin(mixin, 'drop');
UIkit.mixin(mixin, 'tooltip');
}
})(UIkit);