/*! UIkit 3.0.0-beta.20 | http://www.getuikit.com | (c) 2014 - 2017 YOOtheme | MIT License */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define("uikit",["jquery"],e):t.UIkit=e(t.jQuery)}(this,function(t){"use strict";function e(){return"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll}function i(t){var i=function(){o(document,"DOMContentLoaded",i),o(window,"load",i),t()};e()?t():(n(document,"DOMContentLoaded",i),n(window,"load",i))}function n(t,e,i,n){E(t).addEventListener(e,i,n)}function o(t,e,i,n){E(t).removeEventListener(e,i,n)}function s(t,e,i,n){void 0===i&&(i=400),void 0===n&&(n="linear");var o=w(function(s,r){t=Kt(t);for(var a in e)t.css(a,t.css(a));var l=setTimeout(function(){return t.trigger(_e||"transitionend")},i);t.one(_e||"transitionend",function(e,i){e.promise=o,clearTimeout(l),t.removeClass("uk-transition").css("transition",""),i?r():s()}).addClass("uk-transition").css("transition","all "+i+"ms "+n).css(e)}).then(null,function(){});return o}function r(t,e,i,n,o){void 0===i&&(i=200);var s=w(function(r){function a(){t.css("animation-duration","").removeClass(l+" "+e)}var l=o?"uk-animation-leave":"uk-animation-enter";t=Kt(t),0===e.lastIndexOf("uk-animation-",0)&&(n&&(e+=" uk-animation-"+n),o&&(e+=" uk-animation-reverse")),a(),fe(function(){return t.one(Ae||"animationend",function(t){t.promise=s,s.then(a),r()}).css("animation-duration",i+"ms").addClass(e).addClass(l)}),Ae||fe(function(){return se.cancel(t)})});return s}function a(t){return t instanceof Kt}function l(t,e){return t=Kt(t),t.is(e)||!!(k(e)?t.parents(e).length:Kt.contains(E(e),t[0]))}function h(t,e,i,n){return t=Kt(t),t.attr(e,function(t,e){return e?e.replace(i,n):e})}function c(t,e){return h(t,"class",new RegExp("(^|\\s)"+e+"(?!\\S)","g"),"")}function u(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),void 0===n&&(n=!1),k(t)){var o=document.createEvent("Event");o.initEvent(t,e,i),t=o}return n&&Kt.extend(t,n),t}function d(t,e,i){void 0===e&&(e=0),void 0===i&&(i=0);var n=E(t).getBoundingClientRect();return n.bottom>=-1*e&&n.right>=-1*i&&n.top<=(window.innerHeight||document.documentElement.clientHeight)+e&&n.left<=(window.innerWidth||document.documentElement.clientWidth)+i}function f(t,e,i){void 0===i&&(i=0),e=Kt(e);var n=Kt(e).length;return t=(C(t)?t:"next"===t?i+1:"previous"===t?i-1:k(t)?parseInt(t,10):e.index(t))%n,t<0?t+n:t}function p(t){return re[E(t).tagName.toLowerCase()]}function g(t,e){var i=S(t);return i?i.reduce(function(t,e){return A(e,t)},e):A(t)}function m(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function v(t,e){return le.call(t,e)}function w(t){if(ve)return new Promise(t);var e=Kt.Deferred();return t(e.resolve,e.reject),e}function y(t){return t.replace(/(?:^|[-_\/])(\w)/g,function(t,e){return e?e.toUpperCase():""})}function b(t){return t.replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()}function $(t){return t.replace(he,x)}function x(t,e){return e?e.toUpperCase():""}function k(t){return"string"==typeof t}function C(t){return"number"==typeof t}function T(t){return void 0===t}function _(t){return k(t)&&t.match(/^(!|>|\+|-)/)}function S(t){return _(t)&&t.split(/(?=\s(?:!|>|\+|-))/g).map(function(t){return t.trim()})}function A(t,e){if(t===!0)return null;try{if(e&&_(t)&&">"!==t[0]){var i=ce[t[0]],n=t.substr(1);e=Kt(e),"closest"===i&&(e=e.parent(),n=n||"*"),t=e[i](n)}else t=Kt(t,e)}catch(t){return null}return t.length?t:null}function E(t){return t&&(a(t)?t[0]:t)}function O(t){return"boolean"==typeof t?t:"true"===t||"1"==t||""===t||"false"!==t&&"0"!=t&&t}function D(t){var e=Number(t);return!isNaN(e)&&e}function I(e){return t.isArray(e)?e:k(e)?e.split(",").map(function(t){return O(t.trim())}):[e]}function N(t){if(k(t))if("@"==t[0]){var e="media-"+t.substr(1);t=ue[e]||(ue[e]=parseFloat(j(e)))}else if(t.match(/^\(min-width:/))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}function B(t,e,i){return t===Boolean?O(e):t===Number?D(e):"jQuery"===t?g(e,i):"list"===t?I(e):"media"===t?N(e):t?t(e):e}function P(t){return t?"ms"===t.substr(-2)?parseFloat(t):1e3*parseFloat(t):0}function H(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}function M(t,e,i){return(window.getComputedStyle(t,i)||{})[e]}function j(t){var e,i=document.documentElement,n=i.appendChild(document.createElement("div"));n.classList.add("var-"+t);try{e=M(n,"content",":before").replace(/^["'](.*)["']$/,"$1"),e=JSON.parse(e)}catch(t){}return i.removeChild(n),e||void 0}function F(t,e){var i,n=y(t),o=y(e).toLowerCase(),s=y(e),r=document.body||document.documentElement,a=(i={},i["Webkit"+n]="webkit"+s,i["Moz"+n]=o,i["o"+n]="o"+s+" o"+o,i[t]=o,i);for(t in a)if(void 0!==r.style[t])return a[t]}function L(t){t.scheduled||(t.scheduled=!0,fe(z.bind(null,t)))}function z(t){W(t.reads),W(t.writes.splice(0,t.writes.length)),t.scheduled=!1,(t.reads.length||t.writes.length)&&L(t)}function W(t){for(var e;e=t.shift();)e()}function q(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}function Y(){}function R(t,e){return(e.y-t.y)/(e.x-t.x)}function U(t,e){function i(i){o[i]=(Oe[i]||He)(t[i],e[i])}var n,o={};if(e.mixins)for(var s=0,r=e.mixins.length;sl[f]){var m=d[r]+p+g-2*s[t];m>=l[r]&&m+c[i]<=l[f]&&(d[r]=m,["element","target"].forEach(function(e){h[e][t]=p?h[e][t]===Me[t][1]?Me[t][2]:Me[t][1]:h[e][t]}))}}}),Kt(e).offset({left:d.left,top:d.top}),h}function X(t){t=E(t);var e=G(t),i=e.pageYOffset,n=e.pageXOffset;if(!t.ownerDocument)return{top:i,left:n,height:e.innerHeight,width:e.innerWidth,bottom:i+e.innerHeight,right:n+e.innerWidth};var o=!1;t.offsetHeight||(o=t.style.display,t.style.display="block");var s=t.getBoundingClientRect();return o!==!1&&(t.style.display=o),{height:s.height,width:s.width,top:s.top+i,left:s.left+n,bottom:s.bottom+i,right:s.right+n}}function Q(t){return t=E(t),t.getBoundingClientRect().top+G(t).pageYOffset}function G(t){return t&&t.ownerDocument?t.ownerDocument.defaultView:window}function J(e,i,n,o){t.each(Me,function(t,s){var r=s[0],a=s[1],l=s[2];i[t]===l?e[a]+=n[r]*o:"center"===i[t]&&(e[a]+=n[r]*o/2)})}function Z(t){var e=/left|center|right/,i=/top|center|bottom/;return t=(t||"").split(" "),1===t.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 K(t,e,i){return t=(t||"").split(" "),{x:t[0]?parseFloat(t[0])*("%"===t[0][t[0].length-1]?e/100:1):0,y:t[1]?parseFloat(t[1])*("%"===t[1][t[1].length-1]?i/100:1):0}}function tt(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function et(t,e,i,n){return Math.abs(t-e)>=Math.abs(i-n)?t-e>0?"Left":"Right":i-n>0?"Up":"Down"}function it(){De&&clearTimeout(De),Ie&&clearTimeout(Ie),Ne&&clearTimeout(Ne),De=Ie=Ne=null,je={}}function nt(t){return Fe||"touch"===(t.originalEvent||t).pointerType}function ot(t){function e(){o(document.body,t.connect),new de(function(e){return e.forEach(function(e){for(var i=0;i *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease"},computed:{items:function t(){var e=this,t=Kt(this.targets,this.$el);return this._changed=!this._items||t.length!==this._items.length||t.toArray().some(function(t,i){return t!==e._items.get(i)}),this._items=t}},connected:function(){this.$emitSync()},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(this.items.find(this.$props.toggle).index(t.currentTarget))}}],update:function(){var t=this;if(this.items&&this._changed){this.items.each(function(e,i){i=Kt(i),t.toggleNow(i.find(t.content),i.hasClass(t.clsOpen))});var e=this.active!==!1&&A(this.items.eq(Number(this.active)))||!this.collapsible&&A(this.items.eq(0));e&&!e.hasClass(this.clsOpen)&&this.toggle(e,!1)}},methods:{toggle:function(t,e){var i=this,n=f(t,this.items),o=this.items.filter("."+this.clsOpen);t=this.items.eq(n),t.add(!this.multiple&&o).each(function(n,s){s=Kt(s);var r=s.is(t),a=r&&!s.hasClass(i.clsOpen);if(a||!r||i.collapsible||!(o.length<2)){s.toggleClass(i.clsOpen,a);var l=s[0]._wrapper?s[0]._wrapper.children().first():s.find(i.content);s[0]._wrapper||(s[0]._wrapper=l.wrap("
").parent().attr("hidden",a)),i._toggleImmediate(l,!0),i.toggleElement(s[0]._wrapper,a,e).then(function(){s.hasClass(i.clsOpen)===a&&(a||i._toggleImmediate(l,!1),s[0]._wrapper=null,l.unwrap())})}})}}})}function $t(t){t.component("alert",{mixins:[Ye,Re],args:"animation",props:{close:String},defaults:{animation:[!0],close:".uk-alert-close",duration:150,hideProps:{opacity:0}},events:[{name:"click",delegate:function(){return this.close},handler:function(t){t.preventDefault(),this.closeAlert()}}],methods:{closeAlert:function(){var t=this;this.toggleElement(this.$el).then(function(){return t.$destroy(!0)})}}})}function xt(t){t.component("cover",{mixins:[Ye],props:{automute:Boolean,width:Number,height:Number},defaults:{automute:!0},computed:{el:function(){return this.$el[0]},parent:function(){return this.$el.parent()[0]}},ready:function(){if(this.$el.is("iframe")&&(this.$el.css("pointerEvents","none"),this.automute)){var t=this.$el.attr("src");this.$el.attr("src",""+t+(~t.indexOf("?")?"&":"?")+"enablejsapi=1&api=1").on("load",function(t){var e=t.target;return e.contentWindow.postMessage('{"event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")})}},update:{write:function(){0!==this.el.offsetHeight&&this.$el.css({width:"",height:""}).css(ae.cover({width:this.width||this.el.clientWidth,height:this.height||this.el.clientHeight},{width:this.parent.offsetWidth,height:this.parent.offsetHeight}))},events:["load","resize"]},events:{loadedmetadata:function(){this.$emit()}}})}function kt(t){var e;ee.on("click",function(t){for(var i;e&&e!==i&&!l(t.target,e.$el)&&(!e.toggle||!l(t.target,e.toggle.$el));)i=e,e.hide(!1)}),t.component("drop",{mixins:[Ve,Re],args:"pos",props:{mode:"list",toggle:Boolean,boundary:"jQuery",boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},defaults:{mode:["click","hover"],toggle:"- :first",boundary:window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:["uk-animation-fade"],cls:"uk-open"},init:function(){this.tracker=new Y,this.clsDrop=this.clsDrop||"uk-"+this.$options.name,this.clsPos=this.clsDrop,this.$el.addClass(this.clsDrop)},ready:function(){this.updateAria(this.$el),this.toggle&&(this.toggle=t.toggle(g(this.toggle,this.$el),{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.isDefaultPrevented()){var e=Kt(t.target).attr("href");1===e.length&&t.preventDefault(),1!==e.length&&l(e,this.$el)||this.hide(!1)}}},{name:"toggle",handler:function(t,e){e&&!this.$el.is(e.target)||(t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e,!1))}},{name:xe,filter:function(){return~this.mode.indexOf("hover")},handler:function(t){nt(t)||(e&&e!==this&&e.toggle&&~e.toggle.mode.indexOf("hover")&&!l(t.target,e.$el)&&!l(t.target,e.toggle.$el)&&e.hide(!1),t.preventDefault(),this.show(this.toggle))}},{name:"toggleshow",handler:function(t,e){e&&!this.$el.is(e.target)||(t.preventDefault(),this.show(e||this.toggle))}},{name:"togglehide "+ke,handler:function(t,e){nt(t)||e&&!this.$el.is(e.target)||(t.preventDefault(),this.toggle&&~this.toggle.mode.indexOf("hover")&&this.hide())}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers()}},{name:"show",self:!0,handler:function(){this.tracker.init(),this.toggle.$el.addClass(this.cls).attr("aria-expanded","true")}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var i=t.target;return this.$el.is(i)?(e=this.isActive()?null:e,this.toggle.$el.removeClass(this.cls).attr("aria-expanded","false").blur().find("a, button").blur(),void this.tracker.cancel()):void(e=null===e&&l(i,this.$el)&&this.isToggled()?this:e)}}],update:{write:function(){if(this.$el.hasClass(this.cls)){c(this.$el,this.clsDrop+"-(stack|boundary)").css({top:"",left:""}),this.$el.toggleClass(this.clsDrop+"-boundary",this.boundaryAlign);var t=X(this.boundary),e=this.boundaryAlign?t:X(this.toggle.$el);if("justify"===this.align){var i="y"===this.getAxis()?"width":"height";this.$el.css(i,e[i])}else this.$el.outerWidth()>Math.max(t.right-e.left,e.right-t.left)&&(this.$el.addClass(this.clsDrop+"-stack"),this.$el.trigger("stack",[this]));this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary)}},events:["resize"]},methods:{show:function t(i,n){var o=this;void 0===n&&(n=!0);var t=function(){return!o.isToggled()&&o.toggleElement(o.$el,!0)},s=function(){if(o.toggle=i||o.toggle,o.clearTimers(),!o.isActive()){if(n&&e&&e!==o&&e.isDelaying)return void(o.showTimer=setTimeout(o.show,10));if(o.isParentOf(e)){if(!e.hideTimer)return;e.hide(!1)}else if(e&&!o.isChildOf(e)&&!o.isParentOf(e))for(var s;e&&e!==s;)s=e,e.hide(!1);n&&o.delayShow?o.showTimer=setTimeout(t,o.delayShow):t(),e=o}};i&&this.toggle&&!this.toggle.$el.is(i.$el)?(this.$el.one("hide",s),this.hide(!1)):s()},hide:function t(e){var i=this;void 0===e&&(e=!0);var t=function(){return i.toggleNow(i.$el,!1)};this.clearTimers(),this.isDelaying=this.tracker.movesTo(this.$el),e&&this.isDelaying?this.hideTimer=setTimeout(this.hide,this.hoverIdle):e&&this.delayHide?this.hideTimer=setTimeout(t,this.delayHide):t()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return e===this},isChildOf:function(t){return t&&t!==this&&l(this.$el,t.$el)},isParentOf:function(t){return t&&t!==this&&l(t.$el,this.$el)}}}),t.drop.getActive=function(){return e}}function Ct(t){t.component("dropdown",t.components.drop.extend({name:"dropdown"}))}function Tt(t){t.component("form-custom",{mixins:[Ye],args:"target",props:{target:Boolean},defaults:{target:!1},computed:{input:function(){return this.$el.find(":input:first")},state:function(){return this.input.next()},target:function(){return this.$props.target&&g(this.$props.target===!0?"> :input:first + :first":this.$props.target,this.$el)}},connected:function(){this.input.trigger("change")},events:[{name:"focus blur mouseenter mouseleave",delegate:":input:first",handler:function(t){var e=t.type;this.state.toggleClass("uk-"+(~["focus","blur"].indexOf(e)?"focus":"hover"),~["focus","mouseenter"].indexOf(e))}},{name:"change",handler:function(){this.target&&this.target[this.target.is(":input")?"val":"text"](this.input[0].files&&this.input[0].files[0]?this.input[0].files[0].name:this.input.is("select")?this.input.find("option:selected").text():this.input.val())}}]})}function _t(t){t.component("gif",{update:{read:function(){var t=d(this.$el);!this.isInView&&t&&(this.$el[0].src=this.$el[0].src),this.isInView=t},events:["scroll","load","resize"]}})}function St(t){t.component("grid",t.components.margin.extend({mixins:[Ye],name:"grid",defaults:{margin:"uk-grid-margin",clsStack:"uk-grid-stack"},update:{write:function(){this.$el.toggleClass(this.clsStack,this.stacks)},events:["load","resize"]}}))}function At(t){t.component("height-match",{args:"target",props:{target:String,row:Boolean},defaults:{target:"> *",row:!0},computed:{elements:function(){return Kt(this.target,this.$el)}},update:{read:function(){var t=this,e=!1;this.elements.css("minHeight",""),this.rows=this.row?this.elements.toArray().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(Kt(e))}):[this.match(this.elements)]},write:function(){this.rows.forEach(function(t){var e=t.height,i=t.elements;return i&&i.each(function(t,i){return i.style.minHeight=e+"px"})})},events:["resize"]},methods:{match:function(t){if(t.length<2)return{};var e=0,i=[];return t=t.each(function(t,n){var o,s,r;0===n.offsetHeight&&(o=Kt(n),s=o.attr("style")||null,r=o.attr("hidden")||null,o.attr({style:s+";display:block !important;",hidden:null})),e=Math.max(e,n.offsetHeight),i.push(n.offsetHeight),o&&o.attr({style:s,hidden:r})}).filter(function(t){return i[t]0&&this.$el.css("min-height",e=this.$el.outerHeight()+o)}else{var s=Q(this.$el);if(s=this.$el.outerHeight()&&this.$el.css("height",e)},events:["load","resize"]}})}function Ot(t){i(function(){if(we){var e="uk-hover";ie.on("tap",function(t){var i=t.target;return Kt("."+e).filter(function(t,e){return!l(i,e)}).removeClass(e)}),Object.defineProperty(t,"hoverSelector",{set:function(t){ie.on("tap",t,function(t){var i=t.currentTarget;return i.classList.add(e)})}}),t.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})}function Dt(e){function i(t,i){e.component(t,e.components.icon.extend({name:t,mixins:i?[i]:[],defaults:{icon:t}}))}var n={},o={spinner:ai,totop:li,"close-icon":Xe,"close-large":Qe,"navbar-toggle-icon":Ge,"overlay-icon":Je,"pagination-next":Ze,"pagination-previous":Ke,"search-icon":ti,"search-large":ei,"search-navbar":ii,"slidenav-next":ni,"slidenav-next-large":oi,"slidenav-previous":si,"slidenav-previous-large":ri};e.component("icon",e.components.svg.extend({attrs:["icon","ratio"],mixins:[Ye],name:"icon",args:"icon",props:["icon"],defaults:{exclude:["id","style","class","src"]},init:function(){this.$el.addClass("uk-icon"),ne&&(this.icon=H(H(this.icon,"left","right"),"previous","next"))},update:{read:function(){if(this.delay){var t=this.getIcon();t&&this.delay(t)}},events:["load"]},methods:{getSvg:function(){var t=this,e=this.getIcon();return e?w.resolve(e):"complete"!==document.readyState?w(function(e){t.delay=e}):w.reject("Icon not found.")},getIcon:function(){return o[this.icon]?(n[this.icon]||(n[this.icon]=this.parse(o[this.icon])),n[this.icon]):null}}})),["navbar-toggle-icon","overlay-icon","pagination-previous","pagination-next","totop"].forEach(function(t){return i(t)}),["slidenav-previous","slidenav-next"].forEach(function(t){return i(t,{init:function(){this.$el.addClass("uk-slidenav"),this.$el.hasClass("uk-slidenav-large")&&(this.icon+="-large")}})}),i("search-icon",{init:function(){this.$el.hasClass("uk-search-icon")&&this.$el.parents(".uk-search-large").length?this.icon="search-large":this.$el.parents(".uk-search-navbar").length&&(this.icon="search-navbar")}}),i("close",{init:function(){this.icon="close-"+(this.$el.hasClass("uk-close-large")?"large":"icon")}}),i("spinner",{connected:function(){var t=this;this.height=this.width=this.$el.width(),this.svg.then(function(e){var i=e.find("circle"),n=Math.floor(t.width/2);e[0].setAttribute("viewBox","0 0 "+t.width+" "+t.width),i.attr({cx:n,cy:n,r:n-parseFloat(i.css("stroke-width")||0)})})}}),e.icon.add=function(e){return t.extend(o,e)}}function It(t){t.component("margin",{props:{margin:String,firstColumn:Boolean},defaults:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(){var t=this;if(0===this.$el[0].offsetHeight)return void(this.hidden=!0);this.hidden=!1,this.stacks=!0;var e=this.$el.children().filter(function(t,e){return e.offsetHeight>0});this.rows=[[e.get(0)]],e.slice(1).each(function(e,i){for(var n=Math.ceil(i.offsetTop),o=n+i.offsetHeight,s=t.rows.length-1;s>=0;s--){var r=t.rows[s],a=Math.ceil(r[0].offsetTop);if(n>=a+r[0].offsetHeight){t.rows.push([i]);break}if(o>a){if(t.stacks=!1,i.offsetLeftthis.panel.outerHeight(!0)).css("display",this.$el.hasClass("uk-flex")?"":"block")},events:["resize"]},events:[{name:"beforeshow",self:!0,handler:function(){this.$el.css("display","block").height()}},{name:"hidden",self:!0,handler:function(){this.$el.css("display","").removeClass("uk-flex uk-flex-center uk-flex-middle")}}]}),e.component("overflow-auto",{mixins:[Ye],computed:{panel:function(){return this.$el.closest(".uk-modal-dialog")}},connected:function(){this.$el.css("min-height",150)},update:{write:function(){var t=this.$el.css("max-height");this.$el.css("max-height",150).css("max-height",Math.max(150,150-(this.panel.outerHeight(!0)-window.innerHeight))),t!==this.$el.css("max-height")&&this.$el.trigger("resize")},events:["load","resize"]}}),e.modal.dialog=function(t,i){var n=e.modal('
\n
'+t+"
\n
",i);return n.$el.on("hidden",function(){return n.$destroy(!0)}),n.show(),n},e.modal.alert=function(i,n){return n=t.extend({bgClose:!1,escClose:!1,labels:e.modal.labels},n),w(function(t){return e.modal.dialog('\n
'+(k(i)?i:Kt(i).html())+'
\n \n ",n).$el.on("hide",t); })},e.modal.confirm=function(i,n){return n=t.extend({bgClose:!1,escClose:!1,labels:e.modal.labels},n),w(function(t,o){return e.modal.dialog('\n
'+(k(i)?i:Kt(i).html())+'
\n \n ",n).$el.on("click",".uk-modal-footer button",function(e){return 0===Kt(e.target).index()?o():t()})})},e.modal.prompt=function(i,n,o){return o=t.extend({bgClose:!1,escClose:!1,labels:e.modal.labels},o),w(function(t){var s=!1,r=e.modal.dialog('\n
\n
\n \n \n
\n \n
\n ",o),a=r.$el.find("input").val(n);r.$el.on("submit","form",function(e){e.preventDefault(),t(a.val()),s=!0,r.hide()}).on("hide",function(){s||t(null)})})},e.modal.labels={ok:"Ok",cancel:"Cancel"}}function Bt(t){t.component("nav",t.components.accordion.extend({name:"nav",defaults:{targets:"> .uk-parent",toggle:"> a",content:"ul:first"}}))}function Pt(e){e.component("navbar",{mixins:[Ye],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:"jQuery",duration:Number},defaults:{dropdown:".uk-navbar-nav > li",align:ne?"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(){return this.$props.boundary===!0||this.boundaryAlign?this.$el:this.$props.boundary},pos:function(){return"bottom-"+this.align}},ready:function(){this.dropbar&&e.navbarDropbar(g(this.dropbar,this.$el)||Kt("
").insertAfter(this.dropbarAnchor||this.$el),{clsDrop:this.clsDrop,mode:this.dropbarMode,duration:this.duration,navbar:this})},update:function(){e.drop(Kt(this.dropdown+" ."+this.clsDrop,this.$el),t.extend({},this))},events:[{name:xe,delegate:function(){return this.dropdown},handler:function(t){var e=t.currentTarget,i=this.getActive();i&&i.toggle&&!l(i.toggle.$el,e)&&!i.tracker.movesTo(i.$el)&&i.hide(!1)}}],methods:{getActive:function(){var t=e.drop.getActive();return t&&"click"!==t.mode&&l(t.toggle.$el,this.$el)&&t}}}),e.component("navbar-dropbar",{mixins:[Ye],defaults:{clsDrop:"",mode:"slide",navbar:null,duration:200},init:function(){"slide"===this.mode&&this.$el.addClass("uk-navbar-dropbar-slide")},events:[{name:"beforeshow",el:function(){return this.navbar.$el},handler:function(t,e){var i=e.$el,n=e.dir;"bottom"!==n||l(i,this.$el)||(i.appendTo(this.$el),this.$el.trigger("beforeshow",[{$el:i}]))}},{name:"mouseleave",handler:function(){var t=this.navbar.getActive();t&&!this.$el.is(":hover")&&t.hide()}},{name:"beforeshow",handler:function(t,e){var i=e.$el;this.clsDrop&&i.addClass(this.clsDrop+"-dropbar"),this.transitionTo(i.outerHeight(!0))}},{name:"beforehide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();if(this.$el.is(":hover")&&n&&n.$el.is(i))return!1}},{name:"hide",handler:function(t,e){var i=e.$el,n=this.navbar.getActive();(!n||n&&n.$el.is(i))&&this.transitionTo(0)}}],methods:{transitionTo:function(t){var e=this;return this.$el.height(this.$el[0].offsetHeight?this.$el.height():0),oe.cancel(this.$el).then(function(){return oe.start(e.$el,{height:t},e.duration)})}}})}function Ht(t){t.component("offcanvas",{mixins:[Ue],args:"mode",props:{content:String,mode:String,flip:Boolean,overlay:Boolean},defaults:{content:".uk-offcanvas-content:first",mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",clsPanel:"uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContent:"uk-offcanvas-content",clsContentAnimation:"uk-offcanvas-content-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close"},computed:{content:function(){return Kt(g(this.$props.content,this.$el))},clsFlip:function(){return this.flip?this.$props.clsFlip:""},clsOverlay:function(){return this.overlay?this.$props.clsOverlay:""},clsMode:function(){return this.$props.clsMode+"-"+this.mode},clsSidebarAnimation:function(){return"none"===this.mode||"reveal"===this.mode?"":this.$props.clsSidebarAnimation},clsContentAnimation:function(){return"push"!==this.mode&&"reveal"!==this.mode?"":this.$props.clsContentAnimation},transitionElement:function(){return"reveal"===this.mode?this.panel.parent():this.panel}},update:{write:function(){this.isToggled()&&((this.overlay||this.clsContentAnimation)&&this.content.width(window.innerWidth-this.scrollbarWidth),this.overlay&&(this.content.height(window.innerHeight),qe&&this.content.scrollTop(qe.y)))},events:["resize"]},events:[{name:"beforeshow",self:!0,handler:function(){qe=qe||{x:window.pageXOffset,y:window.pageYOffset},"reveal"!==this.mode||this.panel.parent().hasClass(this.clsMode)||this.panel.wrap("
").parent().addClass(this.clsMode),ie.css("overflow-y",(!this.clsContentAnimation||this.flip)&&this.scrollbarWidth&&this.overlay?"scroll":""),this.body.addClass(this.clsContainer+" "+this.clsFlip+" "+this.clsOverlay).height(),this.content.addClass(this.clsContentAnimation),this.panel.addClass(this.clsSidebarAnimation+" "+("reveal"!==this.mode?this.clsMode:"")),this.$el.addClass(this.clsOverlay).css("display","block").height()}},{name:"beforehide",self:!0,handler:function(){this.content.removeClass(this.clsContentAnimation),("none"===this.mode||this.getActive()&&this.getActive()!==this)&&this.panel.trigger(_e)}},{name:"hidden",self:!0,handler:function(){"reveal"===this.mode&&this.panel.unwrap(),this.overlay||(qe={x:window.pageXOffset,y:window.pageYOffset}),this.panel.removeClass(this.clsSidebarAnimation+" "+this.clsMode),this.$el.removeClass(this.clsOverlay).css("display",""),this.body.removeClass(this.clsContainer+" "+this.clsFlip+" "+this.clsOverlay).scrollTop(qe.y),ie.css("overflow-y",""),this.content.width("").height(""),window.scrollTo(qe.x,qe.y),qe=null}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&nt(t)&&("swipeLeft"===t.type&&!this.flip||"swipeRight"===t.type&&this.flip)&&this.hide()}}]})}function Mt(t){t.component("responsive",{props:["width","height"],init:function(){this.$el.addClass("uk-responsive-width")},update:{write:function(){this.$el.is(":visible")&&this.width&&this.height&&this.$el.height(ae.fit({height:this.height,width:this.width},{width:this.$el.parent().width(),height:this.height||this.$el.height()}).height)},events:["load","resize"]}})}function jt(t){t.component("scroll",{props:{duration:Number,transition:String,offset:Number},defaults:{duration:1e3,transition:"easeOutExpo",offset:0},methods:{scrollToElement:function(t){var e=this;t=Kt(t);var i=Q(t)-this.offset,n=document.documentElement.offsetHeight,o=window.innerHeight;i+o>n&&(i=n-o),Kt("html,body").stop().animate({scrollTop:parseInt(i,10)||1},this.duration,this.transition).promise().then(function(){return e.$el.trigger("scrolled",[e])})}},events:{click:function(t){t.isDefaultPrevented()||(t.preventDefault(),this.scrollToElement(Kt(this.$el[0].hash).length?this.$el[0].hash:"body"))}}}),Kt.easing.easeOutExpo||(Kt.easing.easeOutExpo=function(t,e,i,n,o){return e==o?i+n:n*(-Math.pow(2,-10*e/o)+1)+i})}function Ft(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"},init:function(){this.$emitSync()},computed:{elements:function(){return this.target&&Kt(this.target,this.$el)||this.$el}},update:[{write:function(){this.hidden&&this.elements.filter(":not(."+this.inViewClass+")").css("visibility","hidden")}},{read:function(){var t=this;this.elements.each(function(e,i){if(!i._scrollspy){var n=Kt(i).attr("uk-scrollspy-class");i._scrollspy={toggles:n&&n.split(",")||t.cls}}i._scrollspy.show=d(i,t.offsetTop,t.offsetLeft)})},write:function(){var t=this,e=1===this.elements.length?1:0;this.elements.each(function(i,n){var o=Kt(n),s=n._scrollspy;s.show?s.inview||s.timer||(s.timer=setTimeout(function(){o.css("visibility","").addClass(t.inViewClass).toggleClass(s.toggles[0]).trigger("inview"),s.inview=!0,delete s.timer},t.delay*e++)):s.inview&&t.repeat&&(s.timer&&(clearTimeout(s.timer),delete s.timer),o.removeClass(t.inViewClass).toggleClass(s.toggles[0]).css("visibility",t.hidden?"hidden":"").trigger("outview"),s.inview=!1),s.toggles.reverse()})},events:["scroll","load","resize"]}]})}function Lt(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(){return this.$el.find('a[href^="#"]').filter(function(t,e){return e.hash})},elements:function(){return this.closest?this.links.closest(this.closest):this.links},targets:function(){return Kt(this.links.toArray().map(function(t){return t.hash}).join(","))}},update:[{read:function(){this.scroll&&t.scroll(this.links,{offset:this.offset||0})}},{read:function(){var t=this,e=window.pageYOffset+this.offset,i=document.documentElement.scrollHeight-window.innerHeight+this.offset;this.active=!1,this.targets.each(function(n,o){o=Kt(o);var s=Q(o),r=n+1===t.targets.length;if(!t.overflow&&(0===n&&s>e||r&&s+o[0].offsetTop=i)for(var a=t.targets.length-1;a>n;a--)if(d(t.targets.eq(a))){o=t.targets.eq(a);break}return!(t.active=A(t.links.filter('[href="#'+o.attr("id")+'"]')))}})},write:function(){this.links.blur(),this.elements.removeClass(this.cls),this.active&&this.$el.trigger("active",[this.active,(this.closest?this.active.closest(this.closest):this.active).addClass(this.cls)])},events:["scroll","load","resize"]}]})}function zt(e){e.component("sticky",{mixins:[Ye],attrs:!0,props:{top:null,bottom:Boolean,offset:Number,animation:String,clsActive:String,clsInactive:String,clsFixed:String,widthElement:"jQuery",showOnUp:Boolean,media:"media",target:Number},defaults:{top:0,bottom:!1,offset:0,animation:"",clsActive:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",widthElement:!1,showOnUp:!1,media:!1,target:!1},connected:function(){this.placeholder=Kt('
'),this.widthElement=this.$props.widthElement||this.placeholder,this.isActive||this.$el.addClass(this.clsInactive)},disconnected:function(){this.isActive&&(this.isActive=!1,this.hide(),this.$el.removeClass(this.clsInactive)),this.placeholder.remove(),this.placeholder=null,this.widthElement=null},ready:function(){var t=this;if(this.target&&location.hash&&window.pageYOffset>0){var e=g(location.hash);e&&fe(function(){var i=Q(e),n=Q(t.$el),o=t.$el[0].offsetHeight,s=n+o;s>=i&&n<=i+e[0].offsetHeight&&window.scrollTo(0,i-o-t.target-t.offset)})}},update:[{write:function(){var e,i=this,n=this.$el[0].offsetHeight;this.placeholder.css("height","absolute"!==this.$el.css("position")?n:"").css(this.$el.css(["marginTop","marginBottom","marginLeft","marginRight"])),document.documentElement.contains(this.placeholder[0])||this.placeholder.insertAfter(this.$el).attr("hidden",!0),this.width=this.widthElement.attr("hidden",null)[0].offsetWidth,this.widthElement.attr("hidden",!this.isActive),this.topOffset=Q(this.isActive?this.placeholder:this.$el),this.bottomOffset=this.topOffset+n,["top","bottom"].forEach(function(n){i[n]=i.$props[n],i[n]&&(t.isNumeric(i[n])?i[n]=i[n+"Offset"]+parseFloat(i[n]):k(i[n])&&i[n].match(/^-?\d+vh$/)?i[n]=window.innerHeight*parseFloat(i[n])/100:(e=i[n]===!0?i.$el.parent():g(i[n],i.$el),e&&(i[n]=Q(e)+e[0].offsetHeight)))}),this.top=Math.max(parseFloat(this.top),this.topOffset)-this.offset,this.bottom=this.bottom&&this.bottom-n,this.inactive=this.media&&!window.matchMedia(this.media).matches,this.isActive&&this.update()},events:["load","resize"]},{read:function(){this.offsetTop=Q(this.$el)},write:function(t){var e=this;void 0===t&&(t={});var i=t.dir,n=window.pageYOffset;if(!(n<0||!this.$el.is(":visible")||this.disabled||this.showOnUp&&!i))if(this.inactive||nthis.top;this.bottom&&e>this.bottom-this.offset&&(t=this.bottom-e),this.$el.css({position:"fixed",top:t+"px",width:this.width}).addClass(this.clsFixed).toggleClass(this.clsActive,i).toggleClass(this.clsInactive,!i)}}})}function Wt(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&&this.src&&~this.src.indexOf("#")){var e=this.src.split("#");e.length>1&&(this.src=e[0],this.icon=e[1])}this.width=this.$props.width,this.height=this.$props.height,this.svg=this.getSvg().then(function(e){return w(function(i,n){return Ee.mutate(function(){var o,s;if(!e)return void n("SVG not found.");if(t.icon)if(o=e.getElementById(t.icon)){var r=o.outerHTML;if(!r){var a=document.createElement("div");a.appendChild(o.cloneNode(!0)),r=a.innerHTML}r=r.replace(//g,"svg>"),s=ci.parseFromString(r,"image/svg+xml").documentElement}else e.querySelector("symbol")||(s=e.documentElement.cloneNode(!0));else s=e.documentElement.cloneNode(!0);if(!s)return void n("SVG not found.");var l=s.getAttribute("viewBox");l&&(l=l.split(" "),t.width=t.width||l[2],t.height=t.height||l[3]),s=Kt(s),t.width*=t.ratio,t.height*=t.ratio;for(var h in t.$options.props)t[h]&&!~t.exclude.indexOf(h)&&s.attr(h,t[h]);t.id||s.removeAttr("id"),t.width&&!t.height&&s.removeAttr("height"),t.height&&!t.width&&s.removeAttr("width"),p(t.$el)||"CANVAS"===t.$el[0].tagName?(t.$el.attr({hidden:!0,id:null}),s.insertAfter(t.$el)):s.appendTo(t.$el),i(s)})})}).then(null,function(){}),this._isReady||this.$emitSync()},disconnected:function(){p(this.$el)&&this.$el.attr({hidden:null,id:this.id||null}),this.svg&&(this.svg.then(function(t){t&&t.remove()}),this.svg=null)},methods:{getSvg:function(){var t=this;return this.src?hi[this.src]?hi[this.src]:(hi[this.src]=w(function(e,i){0===t.src.lastIndexOf("data:",0)?e(t.parse(decodeURIComponent(t.src.split(",")[1]))):Kt.ajax(t.src,{dataType:"html"}).then(function(i){e(t.parse(i))},function(){i("SVG not found.")})}),hi[this.src]):w.reject()},parse:function(t){var e=ci.parseFromString(t,"image/svg+xml");return e.documentElement&&"svg"===e.documentElement.nodeName?e:null}}})}function qt(t){t.component("switcher",{mixins:[Re],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},defaults:{connect:!1,toggle:" > *",active:0,swiping:!0,cls:"uk-active",clsContainer:"uk-switcher",attrItem:"uk-switcher-item",queued:!0},connected:function(){this.$emitSync()},computed:{connects:function(){return g(this.connect,this.$el)||Kt(this.$el.next("."+this.clsContainer))},toggles:function(){return Kt(this.toggle,this.$el)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),this.show(t.currentTarget)}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(Kt(t.currentTarget)[t.currentTarget.hasAttribute(this.attrItem)?"attr":"data"](this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){nt(t)&&(t.preventDefault(),window.getSelection().toString()||this.show("swipeLeft"==t.type?"next":"previous"))}}],update:function(){this.updateAria(this.connects.children()),this.show(A(this.toggles.filter("."+this.cls+":first"))||A(this.toggles.eq(this.active))||this.toggles.first())},methods:{show:function(t){for(var e,i=this,n=this.toggles.length,o=this.connects.children("."+this.cls).index(),s=o>=0,r=f(t,this.toggles,o),a="previous"===t?-1:1,l=0;l=0&&e.hasClass(this.cls)||o===r||(this.toggles.removeClass(this.cls).attr("aria-expanded",!1),e.addClass(this.cls).attr("aria-expanded",!0),s?this.toggleElement(this.connects.children(":nth-child("+(o+1)+"),:nth-child("+(r+1)+")")):this.toggleNow(this.connects.children(":nth-child("+(r+1)+")")))}}})}function Yt(t){t.component("tab",t.components.switcher.extend({mixins:[Ye],name:"tab",props:{media:"media"},defaults:{media:960,attrItem:"uk-tab-item"},init:function(){var e=this.$el.hasClass("uk-tab-left")&&"uk-tab-left"||this.$el.hasClass("uk-tab-right")&&"uk-tab-right";e&&t.toggle(this.$el,{cls:e,mode:"media",media:this.media})}}))}function Rt(t){t.component("toggle",{mixins:[t.mixin.toggable],args:"target",props:{href:String,target:null,mode:"list",media:"media"},defaults:{href:!1,target:!1,mode:"click",queued:!0,media:!1},computed:{target:function(){return g(this.$props.target||this.href,this.$el)||this.$el}},events:[{name:xe+" "+ke,filter:function(){return~this.mode.indexOf("hover")},handler:function(t){nt(t)||this.toggle("toggle"+(t.type===xe?"show":"hide"))}},{name:"click",filter:function(){return~this.mode.indexOf("click")||we},handler:function(t){if(nt(t)||~this.mode.indexOf("click")){var e=Kt(t.target).closest("a[href]");(Kt(t.target).closest('a[href="#"], button').length||e.length&&(this.cls||!this.target.is(":visible")||this.target.is(e.attr("href"))))&&t.preventDefault(),this.toggle()}}}],update:{write:function(){if(~this.mode.indexOf("media")&&this.media){var t=this.isToggled(this.target);(window.matchMedia(this.media).matches?!t:t)&&this.toggle()}},events:["load","resize"]},methods:{toggle:function(t){var e=Kt.Event(t||"toggle");this.target.triggerHandler(e,[this]),e.isDefaultPrevented()||this.toggleElement(this.target)}}})}function Ut(t){t.component("leader",{mixins:[Ye],props:{fill:String,media:"media"},defaults:{fill:"",media:!1,clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(){return this.$props.fill||j("leader-fill")}},connected:function(){this.wrapper=this.$el.wrapInner('').children().first()},disconnected:function(){this.wrapper.contents().unwrap()},update:[{read:function(){var t=this._width;this._width=Math.floor(this.$el[0].offsetWidth/2),this._changed=t!==this._width,this._hide=this.media&&!window.matchMedia(this.media).matches},write:function(){this.wrapper.toggleClass(this.clsHide,this._hide),this._changed&&this.wrapper.attr(this.attrFill,Array(this._width).join(this.fill))},events:["load","resize"]}]})}function Vt(t){var e,i,o,s=null,r=0;te.on("load",t.update).on("resize",function(e){o||(fe(function(){t.update(e),o=!1}),o=!0)}).on("scroll",function(n){null===s&&(s=0),s!==window.pageYOffset&&(e=s\n \n ',{center:!0}),this.modal.$el.css("overflow","hidden").addClass("uk-modal-lightbox"),this.modal.panel.css({width:200,height:200}),this.modal.caption=n('
').appendTo(this.modal.panel),this.items.length>1&&n('
\n \n \n
\n ').appendTo(this.modal.panel.addClass("uk-slidenav-position")),this.modal.$el.on("hidden",this.hide).on("click","["+this.attrItem+"]",function(t){t.preventDefault(),o.show(n(t.currentTarget).attr(o.attrItem))}).on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||o.show("swipeLeft"==t.type?"next":"previous")})),e=this,this.modal.panel.find("[uk-transition-hide]").hide(),this.modal.panel.find("[uk-transition-show]").show(),this.modal.content&&this.modal.content.remove(),this.modal.caption.text(this.getItem().title);var s=n.Event("showitem");this.$el.trigger(s),s.isImmediatePropagationStopped()||this.setError(this.getItem())},hide:function(){var t=this;e=e&&e!==this&&e,this.modal.hide().then(function(){t.modal.$destroy(!0),t.modal=null})},getItem:function(){return this.items[this.index]||{source:"",title:"",type:""}},setItem:function(t,e,i,n){void 0===i&&(i=200),void 0===n&&(n=200),s(t,{content:e,width:i,height:n}),this.$update()},setError:function(t){this.setItem(t,'
Loading resource failed!
',400,300)}}}),t.mixin({events:{showitem:function(t){var e=this,i=this.getItem();if("image"===i.type||!i.source||i.source.match(/\.(jp(e)?g|png|gif|svg)$/i)){var n=new Image;n.onerror=function(){return e.setError(i)},n.onload=function(){return e.setItem(i,'',n.width,n.height)},n.src=i.source,t.stopImmediatePropagation()}}}},"lightbox"),t.mixin({events:{showitem:function(t){var e=this,i=this.getItem();if("video"===i.type||!i.source||i.source.match(/\.(mp4|webm|ogv)$/i)){var o=n('').on("loadedmetadata",function(){return e.setItem(i,o.attr({width:o[0].videoWidth,height:o[0].videoHeight}),o[0].videoWidth,o[0].videoHeight)}).attr("src",i.source);t.stopImmediatePropagation()}}}},"lightbox"),t.mixin({events:{showitem:function(t){var e,i=this,n=this.getItem();if((e=n.source.match(/\/\/.*?youtube\.[a-z]+\/watch\?v=([^&]+)&?(.*)/))||n.source.match(/youtu\.be\/(.*)/)){var o=e[1],s=new Image,r=!1,a=function(t,e){return i.setItem(n,'',t,e)};s.onerror=function(){return a(640,320)},s.onload=function(){120===s.width&&90===s.height?r?a(640,320):(r=!0,s.src="//img.youtube.com/vi/"+o+"/0.jpg"):a(s.width,s.height)},s.src="//img.youtube.com/vi/"+o+"/maxresdefault.jpg",t.stopImmediatePropagation()}}}},"lightbox"),t.mixin({events:{showitem:function(t){var e,i=this,o=this.getItem();if(e=o.source.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/)){var s=e[2],r=function(t,e){return i.setItem(o,'',t,e)};n.ajax({type:"GET",url:"http://vimeo.com/api/oembed.json?url="+encodeURI(o.source),jsonp:"callback",dataType:"jsonp"}).then(function(t){return r(t.width,t.height)}),t.stopImmediatePropagation()}}}},"lightbox")}}function Qt(t){if(!Qt.installed){var e=t.util,i=e.$,n=e.each,o=e.pointerEnter,s=e.pointerLeave,r=e.Transition,a={};t.component("notification",{functional:!0,args:["message","status"],defaults:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:null,clsClose:"uk-notification-close"},created:function(){a[this.pos]||(a[this.pos]=i('
').appendTo(t.container)),this.$mount(i('
\n \n
'+this.message+"
\n
").appendTo(a[this.pos].show())[0])},ready:function(){var t=this,e=parseInt(this.$el.css("margin-bottom"),10);r.start(this.$el.css({opacity:0,marginTop:-1*this.$el.outerHeight(),marginBottom:0}),{opacity:1,marginTop:0,marginBottom:e}).then(function(){t.timeout&&(t.timer=setTimeout(t.close,t.timeout),t.$el.on(o,function(){return clearTimeout(t.timer)}).on(s,function(){return t.timer=setTimeout(t.close,t.timeout)}))})},events:{click:function(t){i(t.target).closest('a[href="#"]').length&&t.preventDefault(),this.close()}},methods:{close:function(t){var e=this,i=function(){e.onClose&&e.onClose(),e.$el.trigger("close",[e]).remove(),a[e.pos].children().length||a[e.pos].hide()};this.timer&&clearTimeout(this.timer),t?i():r.start(this.$el,{opacity:0,marginTop:-1*this.$el.outerHeight(),marginBottom:0}).then(i)}}}),t.notification.closeAll=function(e,i){n(t.instances,function(t,n){"notification"!==n.$options.name||e&&e!==n.group||n.close(i)})}}}function Gt(t){function e(i){return t.getComponent(i,"sortable")||i.parentNode&&e(i.parentNode)}function i(){var t=setTimeout(function(){return r.trigger("click")},0),e=function(i){i.preventDefault(),i.stopPropagation(),clearTimeout(t),u(r,"click",e,!0)};c(r,"click",e,!0)}if(!Gt.installed){var n=t.mixin,o=t.util,s=o.$,r=o.docElement,a=o.extend,l=o.getDimensions,h=o.isWithin,c=o.on,u=o.off,d=o.offsetTop,f=o.pointerDown,p=o.pointerMove,g=o.pointerUp,m=o.promise,v=o.win;t.component("sortable",{mixins:[n.class],props:{group:String,animation:Number,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},defaults:{group:!1,animation:150,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1},init:function(){var t=this;["init","start","move","end"].forEach(function(e){var i=t[e];t[e]=function(e){e=e.originalEvent||e,t.scrollY=window.scrollY;var n=e.touches&&e.touches[0]||e,o=n.pageX,s=n.pageY;t.pos={x:o,y:s},i(e)}})},events:(w={},w[f]="init",w),update:{write:function(){var t=this;if(this.clsEmpty&&this.$el.toggleClass(this.clsEmpty,!this.$el.children().length),this.drag){this.drag.offset({top:this.pos.y+this.origin.top,left:this.pos.x+this.origin.left});var e=d(this.drag),i=e+this.drag[0].offsetHeight;e>0&&ewindow.innerHeight+this.scrollY&&setTimeout(function(){return v.scrollTop(t.scrollY+5)},5)}}},methods:{init:function(t){var e=s(t.target),i=this.$el.children().filter(function(e,i){return h(t.target,i)});!i.length||e.is(":input")||this.handle&&!h(e,this.handle)||t.button&&0!==t.button||h(e,"."+this.clsNoDrag)||(t.preventDefault(),t.stopPropagation(),this.touched=[this],this.placeholder=i,this.origin=a({target:e,index:this.placeholder.index()},this.pos),r.on(p,this.move),r.on(g,this.end),v.on("scroll",this.scroll),this.threshold||this.start(t))},start:function(e){this.drag=s(this.placeholder[0].outerHTML.replace(/^
  • $/i,"div>")).attr("uk-no-boot","").addClass(this.clsDrag+" "+this.clsCustom).css({boxSizing:"border-box",width:this.placeholder.outerWidth(),height:this.placeholder.outerHeight()}).css(this.placeholder.css(["paddingLeft","paddingRight","paddingTop","paddingBottom"])).appendTo(t.container),this.drag.children().first().height(this.placeholder.children().height());var i=l(this.placeholder),n=i.left,o=i.top;a(this.origin,{left:n-this.pos.x,top:o-this.pos.y}),this.placeholder.addClass(this.clsPlaceholder),this.$el.children().addClass(this.clsItem),r.addClass(this.clsDragState),this.$el.trigger("start",[this,this.placeholder,this.drag]),this.move(e)},move:function t(i){if(!this.drag)return void((Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(i));this.$emit();var n="mousemove"===i.type?i.target:document.elementFromPoint(this.pos.x-document.body.scrollLeft,this.pos.y-document.body.scrollTop),o=e(n),r=e(this.placeholder[0]),t=o!==r;if(o&&!h(n,this.placeholder)&&(!t||o.group&&o.group===r.group)){if(n=o.$el.is(n.parentNode)&&s(n)||o.$el.children().has(n),t)r.remove(this.placeholder);else if(!n.length)return;o.insert(this.placeholder,n),~this.touched.indexOf(o)||this.touched.push(o); }},scroll:function t(){var t=window.scrollY;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},end:function(t){if(r.off(p,this.move),r.off(g,this.end),v.off("scroll",this.scroll),!this.drag)return void("mouseup"!==t.type&&h(t.target,"a[href]")&&(location.href=s(t.target).closest("a[href]").attr("href")));i();var n=e(this.placeholder[0]);this===n?this.origin.index!==this.placeholder.index()&&this.$el.trigger("change",[this,this.placeholder,"moved"]):(n.$el.trigger("change",[n,this.placeholder,"added"]),this.$el.trigger("change",[this,this.placeholder,"removed"])),this.$el.trigger("stop",[this]),this.drag.remove(),this.drag=null,this.touched.forEach(function(t){return t.$el.children().removeClass(t.clsPlaceholder+" "+t.clsItem)}),r.removeClass(this.clsDragState)},insert:function t(e,i){var n=this;this.$el.children().addClass(this.clsItem);var t=function(){i.length?!n.$el.has(e).length||e.prevAll().filter(i).length?e.insertBefore(i):e.insertAfter(i):n.$el.append(e)};this.animation?this.animate(t):t()},remove:function(t){this.$el.has(t).length&&(this.animation?this.animate(function(){return t.detach()}):t.detach())},animate:function(t){var e=this,i=[],n=this.$el.children().toArray().map(function(t){return t=s(t),i.push(a({position:"absolute",pointerEvents:"none",width:t.outerWidth(),height:t.outerHeight()},t.position())),t}),o={position:"",width:"",height:"",pointerEvents:"",top:"",left:""};t(),n.forEach(function(t){return t.stop()}),this.$el.children().css(o),this.$updateSync("update",!0),this.$el.css("min-height",this.$el.height());var r=n.map(function(t){return t.position()});m.all(n.map(function(t,n){return t.css(i[n]).animate(r[n],e.animation).promise()})).then(function(){e.$el.css("min-height","").children().css(o),e.$updateSync("update",!0)})}}});var w}}function Jt(t){if(!Jt.installed){var e,i=t.util,n=t.mixin,o=i.$,s=i.doc,r=i.fastdom,a=i.flipPosition,l=i.isTouch,h=i.isWithin,c=i.pointerDown,u=i.pointerEnter,d=i.pointerLeave,f=i.toJQuery;s.on("click",function(t){e&&!h(t.target,e.$el)&&e.hide()}),t.component("tooltip",{attrs:!0,mixins:[n.toggable,n.position],props:{delay:Number,container:Boolean,title:String},defaults:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active",clsPos:"uk-tooltip",container:!0},init:function(){this.container=this.container===!0&&t.container||this.container&&f(this.container)},connected:function(){var t=this;r.mutate(function(){return t.$el.removeAttr("title").attr("aria-expanded",!1)})},disconnected:function(){this.hide()},methods:{show:function(){var t=this;e!==this&&(e&&e.hide(),e=this,clearTimeout(this.showTimer),this.tooltip=o('").appendTo(this.container),this.$el.attr("aria-expanded",!0),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?a(this.dir)+"-"+this.align:this.align+"-"+a(this.dir),this.showTimer=setTimeout(function(){t.toggleElement(t.tooltip,!0),t.hideTimer=setInterval(function(){t.$el.is(":visible")||t.hide()},150)},this.delay))},hide:function(){this.$el.is("input")&&this.$el[0]===document.activeElement||(e=e!==this&&e||!1,clearTimeout(this.showTimer),clearInterval(this.hideTimer),this.$el.attr("aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&this.tooltip.remove(),this.tooltip=!1)}},events:(p={blur:"hide"},p["focus "+u+" "+c]=function(t){t.type===c&&l(t)||this.show()},p[d]=function(t){l(t)||this.hide()},p)});var p}}function Zt(t){function e(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function i(t,e){for(var i=[],n=0;ni[t]?n.ratio(e,t,i[t]):e}),e},cover:function(e,i){var n=this;return e=this.fit(e,i),t.each(e,function(t){return e=e[t]0||navigator.pointerEnabled&&navigator.maxTouchPoints>0,ye=we?ge?"touchstart":"pointerdown":"mousedown",be=we?ge?"touchmove":"pointermove":"mousemove",$e=we?ge?"touchend":"pointerup":"mouseup",xe=we&&me?"pointerenter":"mouseenter",ke=we&&me?"pointerleave":"mouseleave",Ce=we&&ge?"touchcancel":"pointercancel",Te=F("transition","transition-start"),_e=F("transition","transition-end"),Se=F("animation","animation-start"),Ae=F("animation","animation-end"),Ee={reads:[],writes:[],measure:function(t){return this.reads.push(t),L(this),t},mutate:function(t){return this.writes.push(t),L(this),t},clear:function(t){return q(this.reads,t)||q(this.writes,t)}};Y.prototype={positions:[],position:null,init:function(){var t=this;this.positions=[],this.position=null;var e=!1;this.handler=function(i){e||setTimeout(function(){var n=Date.now(),o=t.positions.length;o&&n-t.positions[o-1].time>100&&t.positions.splice(0,o),t.positions.push({time:n,x:i.pageX,y:i.pageY}),t.positions.length>5&&t.positions.shift(),e=!1},5),e=!0},ee.on("mousemove",this.handler)},cancel:function(){this.handler&&ee.off("mousemove",this.handler)},movesTo:function(t){if(this.positions.length<2)return!1;var e=X(t),i=this.positions[this.positions.length-1],n=this.positions[0];if(e.left<=i.x&&i.x<=e.right&&e.top<=i.y&&i.y<=e.bottom)return!1;var o=[[{x:e.left,y:e.top},{x:e.right,y:e.bottom}],[{x:e.right,y:e.top},{x:e.left,y:e.bottom}]];return e.right<=i.x||(e.left>=i.x?(o[0].reverse(),o[1].reverse()):e.bottom<=i.y?o[0].reverse():e.top>=i.y&&o[1].reverse()),!!o.reduce(function(t,e){return t+(R(n,e[0])R(i,e[1]))},0)}};var Oe={};Oe.args=Oe.attrs=Oe.created=Oe.events=Oe.init=Oe.ready=Oe.connected=Oe.disconnected=Oe.destroy=function(e,i){return e=e&&!t.isArray(e)?[e]:e,i?e?e.concat(i):t.isArray(i)?i:[i]:e},Oe.update=function(e,i){return Oe.args(e,t.isFunction(i)?{write:i}:i)},Oe.props=function(e,i){return t.isArray(i)&&(i=i.reduce(function(t,e){return t[e]=String,t},{})),Oe.methods(e,i)},Oe.computed=Oe.defaults=Oe.methods=function(e,i){return i?e?t.extend(!0,{},e,i):i:e};var De,Ie,Ne,Be,Pe,He=function(t,e){return T(e)?t:e},Me={x:["width","left","right"],y:["height","top","bottom"]},je={};i(function(){var t,e,i,o=0,s=0;"MSGesture"in window&&(Be=new MSGesture,Be.target=document.body),n(document,"click",function(){return Pe=!0},!0);var r=function(t){var e=t.velocityX>1?"Right":t.velocityX<-1?"Left":t.velocityY>1?"Down":t.velocityY<-1?"Up":null;e&&void 0!==je.el&&(je.el.trigger("swipe"),je.el.trigger("swipe"+e))};n(document,"MSGestureEnd",r),n(document,"gestureend",r),n(document,ye,function(n){i=n.touches?n.touches[0]:n,t=Date.now(),e=t-(je.last||t),je.el=Kt("tagName"in i.target?i.target:i.target.parentNode),De&&clearTimeout(De),je.x1=i.pageX,je.y1=i.pageY,e>0&&e<=250&&(je.isDoubleTap=!0),je.last=t,!Be||"pointerdown"!=n.type&&"touchstart"!=n.type||Be.addPointer(n.pointerId),Pe=n.button>0}),n(document,be,function(t){i=t.touches?t.touches[0]:t,je.x2=i.pageX,je.y2=i.pageY,o+=Math.abs(je.x1-je.x2),s+=Math.abs(je.y1-je.y2)}),n(document,$e,function(){je.x2&&Math.abs(je.x1-je.x2)>30||je.y2&&Math.abs(je.y1-je.y2)>30?Ne=setTimeout(function(){void 0!==je.el&&(je.el.trigger("swipe"),je.el.trigger("swipe"+et(je.x1,je.x2,je.y1,je.y2))),je={}},0):"last"in je&&(isNaN(o)||o<30&&s<30?Ie=setTimeout(function(){var t=Kt.Event("tap");t.cancelTouch=it,void 0!==je.el&&je.el.trigger(t),je.isDoubleTap?(void 0!==je.el&&je.el.trigger("doubleTap"),je={}):De=setTimeout(function(){De=null,void 0!==je.el&&(je.el.trigger("singleTap"),Pe||je.el.trigger("click")),je={}},300)}):je={},o=s=0)}),n(document,Ce,it),n(window,"scroll",it)});var Fe=!1;n(document,"touchstart",function(){return Fe=!0},!0),n(document,"click",function(){Fe=!1}),n(document,"touchcancel",function(){return Fe=!1},!0);var Le=Object.freeze({win:te,doc:ee,docElement:ie,isRtl:ne,isReady:e,ready:i,on:n,off:o,transition:s,Transition:oe,animate:r,Animation:se,isJQuery:a,isWithin:l,attrFilter:h,removeClass:c,createEvent:u,isInView:d,getIndex:f,isVoidElement:p,Dimensions:ae,query:g,Observer:de,requestAnimationFrame:fe,cancelAnimationFrame:pe,hasPromise:ve,hasTouch:we,pointerDown:ye,pointerMove:be,pointerUp:$e,pointerEnter:xe,pointerLeave:ke,pointerCancel:Ce,transitionstart:Te,transitionend:_e,animationstart:Se,animationend:Ae,getStyle:M,getCssVar:j,fastdom:Ee,$:Kt,bind:m,hasOwn:v,promise:w,classify:y,hyphenate:b,camelize:$,isString:k,isNumber:C,isUndefined:T,isContextSelector:_,getContextSelectors:S,toJQuery:A,toNode:E,toBoolean:O,toNumber:D,toList:I,toMedia:N,coerce:B,toMs:P,swap:H,ajax:t.ajax,each:t.each,extend:t.extend,map:t.map,merge:t.merge,isArray:t.isArray,isNumeric:t.isNumeric,isFunction:t.isFunction,isPlainObject:t.isPlainObject,MouseTracker:Y,mergeOptions:U,position:V,getDimensions:X,offsetTop:Q,flipPosition:tt,isTouch:nt}),ze=function(t){this._init(t)};ze.util=Le,ze.data="__uikit__",ze.prefix="uk-",ze.options={},ze.instances={},ze.elements=[],st(ze),ht(ze),ct(ze),gt(ze),mt(ze);var We,qe,Ye={init:function(){this.$el.addClass(this.$name)}},Re={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},defaults:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",queued:!1,initProps:{overflow:"",height:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:""},hideProps:{overflow:"hidden",height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0}},computed:{hasAnimation:function(){return!!this.animation[0]},hasTransition:function(){return this.hasAnimation&&this.animation[0]===!0}},methods:{toggleElement:function(t,e,i){var n,o=this,s=document.body,r=s.scrollTop,a=function(t){return w.all(t.toArray().map(function(t){return o._toggleElement(t,e,i)})).then(null,function(){})},l=function(t){var e=a(t);return o._queued=null,s.scrollTop=r,e};return t=Kt(t),!this.hasAnimation||!this.queued||t.length<2?a(t):this._queued?l(t.not(this._queued)):(this._queued=t.not(n=t.filter(function(t,e){return o.isToggled(e)})),a(n).then(function(){return o._queued&&l(o._queued)}))},toggleNow:function(t,e){var i=this;return w.all(Kt(t).toArray().map(function(t){return i._toggleElement(t,e,!1)})).then(null,function(){})},isToggled:function(t){return t=t&&Kt(t)||this.$el,this.cls?t.hasClass(this.cls.split(" ")[0]):!t.attr("hidden")},updateAria:function(t){this.cls===!1&&t.attr("aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,i){var n=this;if(t=Kt(t),se.inProgress(t))return se.cancel(t).then(function(){return n._toggleElement(t,e,i)});e="boolean"==typeof e?e:!this.isToggled(t);var o=Kt.Event("before"+(e?"show":"hide"));if(t.trigger(o,[this]),o.result===!1)return w.reject();var s=(i!==!1&&this.hasAnimation?this.hasTransition?this._toggleHeight:this._toggleAnimation:this._toggleImmediate)(t,e);return t.trigger(e?"show":"hide",[this]),s.then(function(){return t.trigger(e?"shown":"hidden",[n])})},_toggle:function(t,e){t=Kt(t),this.cls?t.toggleClass(this.cls,~this.cls.indexOf(" ")?void 0:e):t.attr("hidden",!e),t.find("[autofocus]:visible").focus(),this.updateAria(t),ze.update(null,t)},_toggleImmediate:function(t,e){return this._toggle(t,e),w.resolve()},_toggleHeight:function(e,i){var n,o=this,s=oe.inProgress(e),r=parseFloat(e.children().first().css("margin-top"))+parseFloat(e.children().last().css("margin-bottom")),a=e[0].offsetHeight?e.height()+(s?0:r):0;return oe.cancel(e).then(function(){return o.isToggled(e)||o._toggle(e,!0),e.height(""),w(function(l){return fe(function(){n=e.height()+(s?0:r),e.height(a),(i?oe.start(e,t.extend(o.initProps,{overflow:"hidden",height:n}),Math.round(o.duration*(1-a/n)),o.transition):oe.start(e,o.hideProps,Math.round(o.duration*(a/n)),o.transition).then(function(){o._toggle(e,!1),e.css(o.initProps)})).then(l)})})})},_toggleAnimation:function(t,e){var i=this;return e?(this._toggle(t,!0),se.in(t,this.animation[0],this.duration,this.origin)):se.out(t,this.animation[1]||this.animation[0],this.duration,this.origin).then(function(){return i._toggle(t,!1)})}}},Ue={mixins:[Ye,Re],props:{clsPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,container:Boolean},defaults:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,container:!0},computed:{body:function(){return Kt(document.body)},panel:function(){return this.$el.find("."+this.clsPanel)},container:function(){return this.$props.container===!0&&ze.container||this.$props.container&&A(this.$props.container)},transitionElement:function(){return this.panel},transitionDuration:function(){return P(this.transitionElement.css("transition-duration"))}},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",handler:function(t){t.preventDefault(),this.toggle()}},{name:"beforeshow",self:!0,handler:function(){var t=this;if(this.isToggled())return!1;var e=We&&We!==this&&We;if(We=this,e){if(!this.stack)return e.hide().then(this.show),!1;this.prev=e}else fe(function(){return vt(t.$options.name)});e||(this.scrollbarWidth=window.innerWidth-ie[0].offsetWidth,this.body.css("overflow-y",this.scrollbarWidth&&this.overlay?"scroll":"")),ie.addClass(this.clsPage)}},{name:"beforehide",self:!0,handler:function(){return!!this.isToggled()&&(We=We&&We!==this&&We||this.prev,void(We||wt(this.$options.name)))}},{name:"hidden",self:!0,handler:function(){We||(ie.removeClass(this.clsPage),this.body.css("overflow-y",""))}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var t=this;return this.container&&!this.$el.parent().is(this.container)?(this.$el.appendTo(this.container),w(function(e){return fe(function(){return e(t.show())})})):this.toggleNow(this.$el,!0)},hide:function(){return this.toggleNow(this.$el,!1)},getActive:function(){return We},_toggleImmediate:function(t,e){var i=this;return this._toggle(t,e),this.transitionDuration?w(function(t,e){i._transition&&(i.transitionElement.off(_e,i._transition.handler),i._transition.reject()),i._transition={reject:e,handler:function(){t(),i._transition=null}},i.transitionElement.one(_e,i._transition.handler)}):w.resolve()}}},Ve={props:{pos:String,offset:null,flip:Boolean,clsPos:String},defaults:{pos:ne?"bottom-right":"bottom-left",flip:!0,offset:!1,clsPos:""},computed:{pos:function(){return(this.$props.pos+(~this.$props.pos.indexOf("-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,i){c(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?").css({top:"",left:""});var n=D(this.offset)||0,o=this.getAxis(),s=V(t,e,"x"===o?tt(this.dir)+" "+this.align:this.align+" "+tt(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-1*n:n):" "+("top"===this.dir?-1*n:n),null,this.flip,i);this.dir="x"===o?s.target.x:s.target.y,this.align="x"===o?s.target.y:s.target.x,t.toggleClass(this.clsPos+"-"+this.dir+"-"+this.align,this.offset===!1)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},Xe='',Qe='',Ge='',Je='',Ze='',Ke='',ti='',ei='',ii='',ni='',oi='',si='',ri='',ai='',li='',hi={},ci=new DOMParser;return ze.version="3.0.0-beta.20",yt(ze),Vt(ze),ze.use(Xt),ze.use(Qt),ze.use(Gt),ze.use(Jt),ze.use(Zt),ot(ze),ze});