!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t=t||self).mdpUIkit=e()}(this,(function(){"use strict";var t=Object.prototype,e=t.hasOwnProperty;function i(t,i){return e.call(t,i)}var n={},r=/([a-z\d])([A-Z])/g;function o(t){return t in n||(n[t]=t.replace(r,"$1-$2").toLowerCase()),n[t]}var s=/-(\w)/g;function a(t){return t.replace(s,h)}function h(t,e){return e?e.toUpperCase():""}function c(t){return t.length?h(0,t.charAt(0))+t.slice(1):""}var l=String.prototype,u=l.startsWith||function(t){return 0===this.lastIndexOf(t,0)};function d(t,e){return u.call(t,e)}var f=l.endsWith||function(t){return this.substr(-t.length)===t};function p(t,e){return f.call(t,e)}var m=Array.prototype,g=function(t,e){return~this.indexOf(t,e)},v=l.includes||g,w=m.includes||g;function b(t,e){return t&&(D(t)?v:w).call(t,e)}var y=m.findIndex||function(t){for(var e=arguments,i=0;i<this.length;i++)if(t.call(e[1],this[i],i,this))return i;return-1};function x(t,e){return y.call(t,e)}var $=Array.isArray;function I(t){return"function"==typeof t}function S(t){return null!==t&&"object"==typeof t}var T=t.toString;function k(t){return"[object Object]"===T.call(t)}function E(t){return S(t)&&t===t.window}function _(t){return S(t)&&9===t.nodeType}function A(t){return S(t)&&!!t.jquery}function C(t){return S(t)&&t.nodeType>=1}function N(t){return S(t)&&1===t.nodeType}function M(t){return T.call(t).match(/^\[object (NodeList|HTMLCollection)\]$/)}function z(t){return"boolean"==typeof t}function D(t){return"string"==typeof t}function P(t){return"number"==typeof t}function O(t){return P(t)||D(t)&&!isNaN(t-parseFloat(t))}function B(t){return!($(t)?t.length:S(t)&&Object.keys(t).length)}function H(t){return void 0===t}function L(t){return z(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function F(t){var e=Number(t);return!isNaN(e)&&e}function j(t){return parseFloat(t)||0}function W(t){return C(t)?t:M(t)||A(t)?t[0]:$(t)?W(t[0]):null}function V(t){return C(t)?[t]:M(t)?m.slice.call(t):$(t)?t.map(W).filter(Boolean):A(t)?t.toArray():[]}function R(t){return E(t)?t:(t=W(t))?(_(t)?t:t.ownerDocument).defaultView:window}function q(t){return $(t)?t:D(t)?t.split(/,(?![^(]*\))/).map((function(t){return O(t)?F(t):L(t.trim())})):[t]}function Y(t){return t?p(t,"ms")?j(t):1e3*j(t):0}function U(t,e){return t===e||S(t)&&S(e)&&Object.keys(t).length===Object.keys(e).length&&J(t,(function(t,i){return t===e[i]}))}function X(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),(function(t){return t===e?i:e}))}var G=Object.assign||function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];t=Object(t);for(var r=0;r<e.length;r++){var o=e[r];if(null!==o)for(var s in o)i(o,s)&&(t[s]=o[s])}return t};function K(t){return t[t.length-1]}function J(t,e){for(var i in t)if(!1===e(t[i],i))return!1;return!0}function Z(t,e){return t.sort((function(t,i){var n=t[e];void 0===n&&(n=0);var r=i[e];return void 0===r&&(r=0),n>r?1:r>n?-1:0}))}function Q(t,e){var i=new Set;return t.filter((function(t){var n=t[e];return!i.has(n)&&(i.add(n)||!0)}))}function tt(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.min(Math.max(F(t)||0,e),i)}function et(){}function it(t,e){return t.left<e.right&&t.right>e.left&&t.top<e.bottom&&t.bottom>e.top}function nt(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var rt={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(t,e){var i=this;return J(t=G({},t),(function(n,r){return t=t[r]>e[r]?i.ratio(t,r,e[r]):t})),t},cover:function(t,e){var i=this;return J(t=this.contain(t,e),(function(n,r){return t=t[r]<e[r]?i.ratio(t,r,e[r]):t})),t}};function ot(t,e,i){if(S(e))for(var n in e)ot(t,n,e[n]);else{if(H(i))return(t=W(t))&&t.getAttribute(e);V(t).forEach((function(t){I(i)&&(i=i.call(t,ot(t,e))),null===i?at(t,e):t.setAttribute(e,i)}))}}function st(t,e){return V(t).some((function(t){return t.hasAttribute(e)}))}function at(t,e){t=V(t),e.split(" ").forEach((function(e){return t.forEach((function(t){return t.hasAttribute(e)&&t.removeAttribute(e)}))}))}function ht(t,e){for(var i=0,n=[e,"data-"+e];i<n.length;i++)if(st(t,n[i]))return ot(t,n[i])}var ct=/msie|trident/i.test(window.navigator.userAgent),lt="rtl"===ot(document.documentElement,"dir"),ut="ontouchstart"in window,dt=window.PointerEvent,ft=ut||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints,pt=dt?"pointerdown":ut?"touchstart":"mousedown",mt=dt?"pointermove":ut?"touchmove":"mousemove",gt=dt?"pointerup":ut?"touchend":"mouseup",vt=dt?"pointerenter":ut?"":"mouseenter",wt=dt?"pointerleave":ut?"":"mouseleave",bt=dt?"pointercancel":"touchcancel";function yt(t,e){return W(t)||It(t,$t(t,e))}function xt(t,e){var i=V(t);return i.length&&i||St(t,$t(t,e))}function $t(t,e){return void 0===e&&(e=document),_t(t)||_(e)?e:e.ownerDocument}function It(t,e){return W(Tt(t,e,"querySelector"))}function St(t,e){return V(Tt(t,e,"querySelectorAll"))}function Tt(t,e,i){if(void 0===e&&(e=document),!t||!D(t))return null;var n;_t(t=t.replace(Et,"$1 *"))&&(n=[],t=function(t){return t.match(At).map((function(t){return t.replace(/,$/,"").trim()}))}(t).map((function(t,i){var r=e;if("!"===t[0]){var o=t.substr(1).trim().split(" ");r=Dt(Pt(e),o[0]),t=o.slice(1).join(" ").trim()}if("-"===t[0]){var s=t.substr(1).trim().split(" "),a=(r||e).previousElementSibling;r=Mt(a,t.substr(1))?a:null,t=s.slice(1).join(" ")}return r?(r.id||(r.id="mdp-"+Date.now()+i,n.push((function(){return at(r,"id")}))),"#"+Lt(r.id)+" "+t):null})).filter(Boolean).join(","),e=document);try{return e[i](t)}catch(t){return null}finally{n&&n.forEach((function(t){return t()}))}}var kt=/(^|[^\\],)\s*[!>+~-]/,Et=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g;function _t(t){return D(t)&&t.match(kt)}var At=/.*?[^\\](?:,|$)/g;var Ct=Element.prototype,Nt=Ct.matches||Ct.webkitMatchesSelector||Ct.msMatchesSelector;function Mt(t,e){return V(t).some((function(t){return Nt.call(t,e)}))}var zt=Ct.closest||function(t){var e=this;do{if(Mt(e,t))return e}while(e=Pt(e))};function Dt(t,e){return d(e,">")&&(e=e.slice(1)),N(t)?zt.call(t,e):V(t).map((function(t){return Dt(t,e)})).filter(Boolean)}function Pt(t){return(t=W(t))&&N(t.parentNode)&&t.parentNode}function Ot(t,e){for(var i=[];t=Pt(t);)e&&!Mt(t,e)||i.push(t);return i}function Bt(t,e){var i=(t=W(t))?V(t.children):[];return e?i.filter((function(t){return Mt(t,e)})):i}var Ht=window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,(function(t){return"\\"+t}))};function Lt(t){return D(t)?Ht.call(null,t):""}var Ft={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 jt(t){return V(t).some((function(t){return Ft[t.tagName.toLowerCase()]}))}function Wt(t){return V(t).some((function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length}))}var Vt="input,select,textarea,button";function Rt(t){return V(t).some((function(t){return Mt(t,Vt)}))}function qt(t,e){return V(t).filter((function(t){return Mt(t,e)}))}function Yt(t,e){return D(e)?Mt(t,e)||Dt(t,e):t===e||(_(e)?e.documentElement:W(e)).contains(W(t))}function Ut(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Zt(t),n=i[0],r=i[1],o=i[2],s=i[3],a=i[4];return n=oe(n),s.length>1&&(s=te(s)),a&&a.self&&(s=ee(s)),o&&(s=Qt(n,o,s)),a=ie(a),r.split(" ").forEach((function(t){return n.forEach((function(e){return e.addEventListener(t,s,a)}))})),function(){return Xt(n,r,s,a)}}function Xt(t,e,i,n){void 0===n&&(n=!1),n=ie(n),t=oe(t),e.split(" ").forEach((function(e){return t.forEach((function(t){return t.removeEventListener(e,i,n)}))}))}function Gt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var i=Zt(t),n=i[0],r=i[1],o=i[2],s=i[3],a=i[4],h=i[5],c=Ut(n,r,o,(function(t){var e=!h||h(t);e&&(c(),s(t,e))}),a);return c}function Kt(t,e,i){return oe(t).reduce((function(t,n){return t&&n.dispatchEvent(Jt(e,!0,!0,i))}),!0)}function Jt(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),D(t)){var r=document.createEvent("CustomEvent");r.initCustomEvent(t,e,i,n),t=r}return t}function Zt(t){return I(t[2])&&t.splice(2,0,!1),t}function Qt(t,e,i){var n=this;return function(r){t.forEach((function(t){var o=">"===e[0]?St(e,t).reverse().filter((function(t){return Yt(r.target,t)}))[0]:Dt(r.target,e);o&&(r.delegate=t,r.current=o,i.call(n,r))}))}}function te(t){return function(e){return $(e.detail)?t.apply(void 0,[e].concat(e.detail)):t(e)}}function ee(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}function ie(t){return t&&ct&&!z(t)?!!t.capture:t}function ne(t){return t&&"addEventListener"in t}function re(t){return ne(t)?t:W(t)}function oe(t){return $(t)?t.map(re).filter(Boolean):D(t)?St(t):ne(t)?[t]:V(t)}function se(t){return"touch"===t.pointerType||!!t.touches}function ae(t,e){void 0===e&&(e="client");var i=t.touches,n=t.changedTouches,r=i&&i[0]||n&&n[0]||t;return{x:r[e+"X"],y:r[e+"Y"]}}var he="Promise"in window?window.Promise:ue,ce=function(){var t=this;this.promise=new he((function(e,i){t.reject=i,t.resolve=e}))},le="setImmediate"in window?setImmediate:setTimeout;function ue(t){this.state=2,this.value=void 0,this.deferred=[];var e=this;try{t((function(t){e.resolve(t)}),(function(t){e.reject(t)}))}catch(t){e.reject(t)}}ue.reject=function(t){return new ue((function(e,i){i(t)}))},ue.resolve=function(t){return new ue((function(e,i){e(t)}))},ue.all=function(t){return new ue((function(e,i){var n=[],r=0;function o(i){return function(o){n[i]=o,(r+=1)===t.length&&e(n)}}0===t.length&&e(n);for(var s=0;s<t.length;s+=1)ue.resolve(t[s]).then(o(s),i)}))},ue.race=function(t){return new ue((function(e,i){for(var n=0;n<t.length;n+=1)ue.resolve(t[n]).then(e,i)}))};var de=ue.prototype;function fe(t,e){return new he((function(i,n){var r=G({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:et,responseType:""},e);r.beforeSend(r);var o=r.xhr;for(var s in r)if(s in o)try{o[s]=r[s]}catch(t){}for(var a in o.open(r.method.toUpperCase(),t),r.headers)o.setRequestHeader(a,r.headers[a]);Ut(o,"load",(function(){0===o.status||o.status>=200&&o.status<300||304===o.status?i(o):n(G(Error(o.statusText),{xhr:o,status:o.status}))})),Ut(o,"error",(function(){return n(G(Error("Network Error"),{xhr:o}))})),Ut(o,"timeout",(function(){return n(G(Error("Network Timeout"),{xhr:o}))})),o.send(r.data)}))}function pe(t,e,i){return new he((function(n,r){var o=new Image;o.onerror=r,o.onload=function(){return n(o)},i&&(o.sizes=i),e&&(o.srcset=e),o.src=t}))}function me(t){if("loading"===document.readyState)var e=Ut(document,"DOMContentLoaded",(function(){e(),t()}));else t()}function ge(t,e){return e?V(t).indexOf(W(e)):Bt(Pt(t)).indexOf(t)}function ve(t,e,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var r=(e=V(e)).length;return t=O(t)?F(t):"next"===t?i+1:"previous"===t?i-1:ge(e,t),n?tt(t,0,r-1):(t%=r)<0?t+r:t}function we(t){return(t=Me(t)).innerHTML="",t}function be(t,e){return t=Me(t),H(e)?t.innerHTML:ye(t.hasChildNodes()?we(t):t,e)}function ye(t,e){return t=Me(t),Ie(e,(function(e){return t.appendChild(e)}))}function xe(t,e){return t=Me(t),Ie(e,(function(e){return t.parentNode.insertBefore(e,t)}))}function $e(t,e){return t=Me(t),Ie(e,(function(e){return t.nextSibling?xe(t.nextSibling,e):ye(t.parentNode,e)}))}function Ie(t,e){return(t=D(t)?Ce(t):t)?"length"in t?V(t).map(e):e(t):null}function Se(t){V(t).map((function(t){return t.parentNode&&t.parentNode.removeChild(t)}))}function Te(t,e){for(e=W(xe(t,e));e.firstChild;)e=e.firstChild;return ye(e,t),e}function ke(t,e){return V(V(t).map((function(t){return t.hasChildNodes?Te(V(t.childNodes),e):ye(t,e)})))}function Ee(t){V(t).map(Pt).filter((function(t,e,i){return i.indexOf(t)===e})).forEach((function(t){xe(t,t.childNodes),Se(t)}))}de.resolve=function(t){var e=this;if(2===e.state){if(t===e)throw new TypeError("Promise settled with itself.");var i=!1;try{var n=t&&t.then;if(null!==t&&S(t)&&I(n))return void n.call(t,(function(t){i||e.resolve(t),i=!0}),(function(t){i||e.reject(t),i=!0}))}catch(t){return void(i||e.reject(t))}e.state=0,e.value=t,e.notify()}},de.reject=function(t){if(2===this.state){if(t===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=t,this.notify()}},de.notify=function(){var t=this;le((function(){if(2!==t.state)for(;t.deferred.length;){var e=t.deferred.shift(),i=e[0],n=e[1],r=e[2],o=e[3];try{0===t.state?I(i)?r(i.call(void 0,t.value)):r(t.value):1===t.state&&(I(n)?r(n.call(void 0,t.value)):o(t.value))}catch(t){o(t)}}}))},de.then=function(t,e){var i=this;return new ue((function(n,r){i.deferred.push([t,e,n,r]),i.notify()}))},de.catch=function(t){return this.then(void 0,t)};var _e=/^\s*<(\w+|!)[^>]*>/,Ae=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ce(t){var e=Ae.exec(t);if(e)return document.createElement(e[1]);var i=document.createElement("div");return _e.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,i.childNodes.length>1?V(i.childNodes):i.firstChild}function Ne(t,e){if(N(t))for(e(t),t=t.firstElementChild;t;){var i=t.nextElementSibling;Ne(t,e),t=i}}function Me(t,e){return D(t)?De(t)?W(Ce(t)):It(t,e):W(t)}function ze(t,e){return D(t)?De(t)?V(Ce(t)):St(t,e):V(t)}function De(t){return"<"===t[0]||t.match(/^\s*</)}function Pe(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];je(t,e,"add")}function Oe(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];je(t,e,"remove")}function Be(t,e){ot(t,"class",(function(t){return(t||"").replace(new RegExp("\\b"+e+"\\b","g"),"")}))}function He(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];e[0]&&Oe(t,e[0]),e[1]&&Pe(t,e[1])}function Le(t,e){return e&&V(t).some((function(t){return t.classList.contains(e.split(" ")[0])}))}function Fe(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];if(e.length){var n=D(K(e=We(e)))?[]:e.pop();e=e.filter(Boolean),V(t).forEach((function(t){for(var i=t.classList,r=0;r<e.length;r++)Ve.Force?i.toggle.apply(i,[e[r]].concat(n)):i[(H(n)?!i.contains(e[r]):n)?"add":"remove"](e[r])}))}}function je(t,e,i){(e=We(e).filter(Boolean)).length&&V(t).forEach((function(t){var n=t.classList;Ve.Multiple?n[i].apply(n,e):e.forEach((function(t){return n[i](t)}))}))}function We(t){return t.reduce((function(t,e){return t.concat.call(t,D(e)&&b(e," ")?e.trim().split(" "):e)}),[])}var Ve={get Multiple(){return this.get("_multiple")},get Force(){return this.get("_force")},get:function(t){if(!i(this,t)){var e=document.createElement("_").classList;e.add("a","b"),e.toggle("c",!1),this._multiple=e.contains("b"),this._force=!e.contains("c")}return this[t]}},Re={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function qe(t,e,i){return V(t).map((function(t){if(D(e)){if(e=Je(e),H(i))return Ue(t,e);i||P(i)?t.style[e]=O(i)&&!Re[e]?i+"px":i:t.style.removeProperty(e)}else{if($(e)){var n=Ye(t);return e.reduce((function(t,e){return t[e]=n[Je(e)],t}),{})}S(e)&&J(e,(function(e,i){return qe(t,i,e)}))}return t}))[0]}function Ye(t,e){return(t=W(t)).ownerDocument.defaultView.getComputedStyle(t,e)}function Ue(t,e,i){return Ye(t,i)[e]}var Xe={};function Ge(t){var e=document.documentElement;if(!ct)return Ye(e).getPropertyValue("--mdp-"+t);if(!(t in Xe)){var i=ye(e,document.createElement("div"));Pe(i,"mdp-"+t),Xe[t]=Ue(i,"content",":before").replace(/^["'](.*)["']$/,"$1"),Se(i)}return Xe[t]}var Ke={};function Je(t){var e=Ke[t];return e||(e=Ke[t]=function(t){t=o(t);var e=document.documentElement.style;if(t in e)return t;var i,n=Ze.length;for(;n--;)if((i="-"+Ze[n]+"-"+t)in e)return i}(t)||t),e}var Ze=["webkit","moz","ms"];function Qe(t,e,i,n){return void 0===i&&(i=400),void 0===n&&(n="linear"),he.all(V(t).map((function(t){return new he((function(r,o){for(var s in e){var a=qe(t,s);""===a&&qe(t,s,a)}var h=setTimeout((function(){return Kt(t,"transitionend")}),i);Gt(t,"transitionend transitioncanceled",(function(e){var i=e.type;clearTimeout(h),Oe(t,"mdp-transition"),qe(t,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),"transitioncanceled"===i?o():r()}),{self:!0}),Pe(t,"mdp-transition"),qe(t,G({transitionProperty:Object.keys(e).map(Je).join(","),transitionDuration:i+"ms",transitionTimingFunction:n},e))}))})))}var ti={start:Qe,stop:function(t){return Kt(t,"transitionend"),he.resolve()},cancel:function(t){Kt(t,"transitioncanceled")},inProgress:function(t){return Le(t,"mdp-transition")}};function ei(t,e,i,n,r){var o=arguments;return void 0===i&&(i=200),he.all(V(t).map((function(t){return new he((function(s,a){if(Le(t,"mdp-cancel-animation"))requestAnimationFrame((function(){return he.resolve().then((function(){return ei.apply(void 0,o).then(s,a)}))}));else{var h=e+" mdp-animation-"+(r?"leave":"enter");d(e,"mdp-animation-")&&(n&&(h+=" mdp-transform-origin-"+n),r&&(h+=" mdp-animation-reverse")),c(),Gt(t,"animationend animationcancel",(function(e){var i=e.type,n=!1;"animationcancel"===i?(a(),c()):(s(),he.resolve().then((function(){n=!0,c()}))),requestAnimationFrame((function(){n||(Pe(t,"mdp-cancel-animation"),requestAnimationFrame((function(){return Oe(t,"mdp-cancel-animation")})))}))}),{self:!0}),qe(t,"animationDuration",i+"ms"),Pe(t,h)}function c(){qe(t,"animationDuration",""),Be(t,"mdp-animation-\\S*")}}))})))}var ii=new RegExp("mdp-animation-(enter|leave)"),ni={in:function(t,e,i,n){return ei(t,e,i,n,!1)},out:function(t,e,i,n){return ei(t,e,i,n,!0)},inProgress:function(t){return ii.test(ot(t,"class"))},cancel:function(t){Kt(t,"animationcancel")}},ri={width:["x","left","right"],height:["y","top","bottom"]};function oi(t,e,i,n,r,o,s,a){i=mi(i),n=mi(n);var h={element:i,target:n};if(!t||!e)return h;var c=ai(t),l=ai(e),u=l;if(pi(u,i,c,-1),pi(u,n,l,1),r=gi(r,c.width,c.height),o=gi(o,l.width,l.height),r.x+=o.x,r.y+=o.y,u.left+=r.x,u.top+=r.y,s){var d=[ai(R(t))];a&&d.unshift(ai(a)),J(ri,(function(t,e){var o=t[0],a=t[1],f=t[2];(!0===s||b(s,o))&&d.some((function(t){var s=i[o]===a?-c[e]:i[o]===f?c[e]:0,d=n[o]===a?l[e]:n[o]===f?-l[e]:0;if(u[a]<t[a]||u[a]+c[e]>t[f]){var p=c[e]/2,m="center"===n[o]?-l[e]/2:0;return"center"===i[o]&&(g(p,m)||g(-p,-m))||g(s,d)}function g(i,n){var s=u[a]+i+n-2*r[o];if(s>=t[a]&&s+c[e]<=t[f])return u[a]=s,["element","target"].forEach((function(t){h[t][o]=i?h[t][o]===ri[e][1]?ri[e][2]:ri[e][1]:h[t][o]})),!0}}))}))}return si(t,u),h}function si(t,e){if(!e)return ai(t);var i=si(t),n=qe(t,"position");["left","top"].forEach((function(r){if(r in e){var o=qe(t,r);qe(t,r,e[r]-i[r]+j("absolute"===n&&"auto"===o?hi(t)[r]:o))}}))}function ai(t){if(!t)return{};var e,i,n=R(t),r=n.pageYOffset,o=n.pageXOffset;if(E(t)){var s=t.innerHeight,a=t.innerWidth;return{top:r,left:o,height:s,width:a,bottom:r+s,right:o+a}}Wt(t)||"none"!==qe(t,"display")||(e=ot(t,"style"),i=ot(t,"hidden"),ot(t,{style:(e||"")+";display:block !important;",hidden:null}));var h=(t=W(t)).getBoundingClientRect();return H(e)||ot(t,{style:e,hidden:i}),{height:h.height,width:h.width,top:h.top+r,left:h.left+o,bottom:h.bottom+r,right:h.right+o}}function hi(t,e){e=e||W(t).offsetParent||R(t).document.documentElement;var i=si(t),n=si(e);return{top:i.top-n.top-j(qe(e,"borderTopWidth")),left:i.left-n.left-j(qe(e,"borderLeftWidth"))}}function ci(t){var e=[0,0];t=W(t);do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===qe(t,"position")){var i=R(t);return e[0]+=i.pageYOffset,e[1]+=i.pageXOffset,e}}while(t=t.offsetParent);return e}var li=di("height"),ui=di("width");function di(t){var e=c(t);return function(i,n){if(H(n)){if(E(i))return i["inner"+e];if(_(i)){var r=i.documentElement;return Math.max(r["offset"+e],r["scroll"+e])}return(n="auto"===(n=qe(i=W(i),t))?i["offset"+e]:j(n)||0)-fi(i,t)}qe(i,t,n||0===n?+n+fi(i,t)+"px":"")}}function fi(t,e,i){return void 0===i&&(i="border-box"),qe(t,"boxSizing")===i?ri[e].slice(1).map(c).reduce((function(e,i){return e+j(qe(t,"padding"+i))+j(qe(t,"border"+i+"Width"))}),0):0}function pi(t,e,i,n){J(ri,(function(r,o){var s=r[0],a=r[1],h=r[2];e[s]===h?t[a]+=i[o]*n:"center"===e[s]&&(t[a]+=i[o]*n/2)}))}function mi(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 gi(t,e,i){var n=(t||"").split(" "),r=n[0],o=n[1];return{x:r?j(r)*(p(r,"%")?e/100:1):0,y:o?j(o)*(p(o,"%")?i/100:1):0}}function vi(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function wi(t,e,i){return void 0===e&&(e="width"),void 0===i&&(i=window),O(t)?+t:p(t,"vh")?bi(li(R(i)),t):p(t,"vw")?bi(ui(R(i)),t):p(t,"%")?bi(ai(i)[e],t):j(t)}function bi(t,e){return t*j(e)/100}var yi={reads:[],writes:[],read:function(t){return this.reads.push(t),$i(),t},write:function(t){return this.writes.push(t),$i(),t},clear:function(t){return Si(this.reads,t)||Si(this.writes,t)},flush:xi};function xi(t){void 0===t&&(t=1),Ii(yi.reads),Ii(yi.writes.splice(0,yi.writes.length)),yi.scheduled=!1,(yi.reads.length||yi.writes.length)&&$i(t+1)}function $i(t){if(!yi.scheduled){if(yi.scheduled=!0,t>5)throw new Error("Maximum recursion limit reached.");t?he.resolve().then((function(){return xi(t)})):requestAnimationFrame((function(){return xi()}))}}function Ii(t){for(var e;e=t.shift();)e()}function Si(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}function Ti(){}Ti.prototype={positions:[],init:function(){var t,e=this;this.positions=[],this.unbind=Ut(document,"mousemove",(function(e){return t=ae(e,"page")})),this.interval=setInterval((function(){t&&(e.positions.push(t),e.positions.length>5&&e.positions.shift())}),50)},cancel:function(){this.unbind&&this.unbind(),this.interval&&clearInterval(this.interval)},movesTo:function(t){if(this.positions.length<2)return!1;var e=si(t),i=e.left,n=e.right,r=e.top,o=e.bottom,s=this.positions[0],a=K(this.positions),h=[s,a];return!nt(a,e)&&[[{x:i,y:r},{x:n,y:o}],[{x:i,y:o},{x:n,y:r}]].some((function(t){var i=function(t,e){var i=t[0],n=i.x,r=i.y,o=t[1],s=o.x,a=o.y,h=e[0],c=h.x,l=h.y,u=e[1],d=u.x,f=u.y,p=(f-l)*(s-n)-(d-c)*(a-r);if(0===p)return!1;var m=((d-c)*(r-l)-(f-l)*(n-c))/p;if(m<0)return!1;return{x:n+m*(s-n),y:r+m*(a-r)}}(h,t);return i&&nt(i,e)}))}};var ki={};function Ei(t,e,i){return ki.computed(I(t)?t.call(i,i):t,I(e)?e.call(i,i):e)}function _i(t,e){return t=t&&!$(t)?[t]:t,e?t?t.concat(e):$(e)?e:[e]:t}function Ai(t,e){return H(e)?t:e}function Ci(t,e,n){var r={};if(I(e)&&(e=e.options),e.extends&&(t=Ci(t,e.extends,n)),e.mixins)for(var o=0,s=e.mixins.length;o<s;o++)t=Ci(t,e.mixins[o],n);for(var a in t)c(a);for(var h in e)i(t,h)||c(h);function c(i){r[i]=(ki[i]||Ai)(t[i],e[i],n)}return r}function Ni(t,e){var i;void 0===e&&(e=[]);try{return t?d(t,"{")?JSON.parse(t):e.length&&!b(t,":")?((i={})[e[0]]=t,i):t.split(";").reduce((function(t,e){var i=e.split(/:(.*)/),n=i[0],r=i[1];return n&&!H(r)&&(t[n.trim()]=r.trim()),t}),{}):{}}catch(t){return{}}}ki.events=ki.created=ki.beforeConnect=ki.connected=ki.beforeDisconnect=ki.disconnected=ki.destroy=_i,ki.args=function(t,e){return!1!==e&&_i(e||t)},ki.update=function(t,e){return Z(_i(t,I(e)?{read:e}:e),"order")},ki.props=function(t,e){return $(e)&&(e=e.reduce((function(t,e){return t[e]=String,t}),{})),ki.methods(t,e)},ki.computed=ki.methods=function(t,e){return e?t?G({},t,e):e:t},ki.data=function(t,e,i){return i?Ei(t,e,i):e?t?function(i){return Ei(t,e,i)}:e:t};var Mi=0,zi=function(t){this.id=++Mi,this.el=W(t)};function Di(t,e){try{t.contentWindow.postMessage(JSON.stringify(G({event:"command"},e)),"*")}catch(t){}}function Pi(t,e,i){if(void 0===e&&(e=0),void 0===i&&(i=0),!Wt(t))return!1;for(var n=ji(t).concat(t),r=0;r<n.length-1;r++){var o=si(Fi(n[r])),s={top:o.top-e,left:o.left-i,bottom:o.bottom+e,right:o.right+i},a=si(n[r+1]);if(!it(a,s)&&!nt({x:a.left,y:a.top},s))return!1}return!0}function Oi(t,e){(t=E(t)||_(t)?Wi(t):W(t)).scrollTop=e}function Bi(t,e){void 0===e&&(e={});var i=e.duration;void 0===i&&(i=1e3);var n=e.offset;if(void 0===n&&(n=0),Wt(t)){var r=ji(t).concat(t);i/=r.length-1;for(var o=he.resolve(),s=function(t){o=o.then((function(){return new he((function(e){var o=r[t],s=r[t+1],a=o.scrollTop,h=hi(s,Fi(o)).top-n,c=Date.now(),l=function(){var t,n=(t=tt((Date.now()-c)/i),.5*(1-Math.cos(Math.PI*t)));Oi(o,a+h*n),1!==n?requestAnimationFrame(l):e()};l()}))}))},a=0;a<r.length-1;a++)s(a);return o}}function Hi(t,e){if(void 0===e&&(e=0),!Wt(t))return 0;var i=K(Li(t)),n=i.scrollHeight,r=i.scrollTop,o=si(Fi(i)).height,s=ci(t)[0]-r-ci(i)[0],a=Math.min(o,s+r);return tt(-1*(s-a)/Math.min(si(t).height+e+a,n-(s+r),n-o))}function Li(t,e){void 0===e&&(e=/auto|scroll/);var i=Wi(t),n=Ot(t).filter((function(t){return t===i||e.test(qe(t,"overflow"))&&t.scrollHeight>Math.round(si(t).height)})).reverse();return n.length?n:[i]}function Fi(t){return t===Wi(t)?window:t}function ji(t){return Li(t,/auto|scroll|hidden/)}function Wi(t){var e=R(t).document;return e.scrollingElement||e.documentElement}zi.prototype.isVideo=function(){return this.isYoutube()||this.isVimeo()||this.isHTML5()},zi.prototype.isHTML5=function(){return"VIDEO"===this.el.tagName},zi.prototype.isIFrame=function(){return"IFRAME"===this.el.tagName},zi.prototype.isYoutube=function(){return this.isIFrame()&&!!this.el.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)},zi.prototype.isVimeo=function(){return this.isIFrame()&&!!this.el.src.match(/vimeo\.com\/video\/.*/)},zi.prototype.enableApi=function(){var t=this;if(this.ready)return this.ready;var e,i=this.isYoutube(),n=this.isVimeo();return i||n?this.ready=new he((function(r){var o;Gt(t.el,"load",(function(){if(i){var n=function(){return Di(t.el,{event:"listening",id:t.id})};e=setInterval(n,100),n()}})),(o=function(e){return i&&e.id===t.id&&"onReady"===e.event||n&&Number(e.player_id)===t.id},new he((function(t){Gt(window,"message",(function(e,i){return t(i)}),!1,(function(t){var e=t.data;if(e&&D(e)){try{e=JSON.parse(e)}catch(t){return}return e&&o(e)}}))}))).then((function(){r(),e&&clearInterval(e)})),ot(t.el,"src",t.el.src+(b(t.el.src,"?")?"&":"?")+(i?"enablejsapi=1":"api=1&player_id="+t.id))})):he.resolve()},zi.prototype.play=function(){var t=this;if(this.isVideo())if(this.isIFrame())this.enableApi().then((function(){return Di(t.el,{func:"playVideo",method:"play"})}));else if(this.isHTML5())try{var e=this.el.play();e&&e.catch(et)}catch(t){}},zi.prototype.pause=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then((function(){return Di(t.el,{func:"pauseVideo",method:"pause"})})):this.isHTML5()&&this.el.pause())},zi.prototype.mute=function(){var t=this;this.isVideo()&&(this.isIFrame()?this.enableApi().then((function(){return Di(t.el,{func:"mute",method:"setVolume",value:0})})):this.isHTML5()&&(this.el.muted=!0,ot(this.el,"muted","")))};var Vi="IntersectionObserver"in window?window.IntersectionObserver:function(){function t(t,e){var i=this;void 0===e&&(e={});var n=e.rootMargin;void 0===n&&(n="0 0"),this.targets=[];var r,o=(n||"0 0").split(" ").map(j),s=o[0],a=o[1];this.offsetTop=s,this.offsetLeft=a,this.apply=function(){r||(r=requestAnimationFrame((function(){return setTimeout((function(){var e=i.takeRecords();e.length&&t(e,i),r=!1}))})))},this.off=Ut(window,"scroll resize load",this.apply,{passive:!0,capture:!0})}return t.prototype.takeRecords=function(){var t=this;return this.targets.filter((function(e){var i=Pi(e.target,t.offsetTop,t.offsetLeft);if(null===e.isIntersecting||i^e.isIntersecting)return e.isIntersecting=i,!0}))},t.prototype.observe=function(t){this.targets.push({target:t,isIntersecting:null}),this.apply()},t.prototype.disconnect=function(){this.targets=[],this.off()},t}();function Ri(t){return!(!d(t,"mdp-")&&!d(t,"data-mdp-"))&&a(t.replace("data-mdp-","").replace("mdp-",""))}var qi=function(t){this._init(t)};qi.util=Object.freeze({__proto__:null,ajax:fe,getImage:pe,transition:Qe,Transition:ti,animate:ei,Animation:ni,attr:ot,hasAttr:st,removeAttr:at,data:ht,addClass:Pe,removeClass:Oe,removeClasses:Be,replaceClass:He,hasClass:Le,toggleClass:Fe,positionAt:oi,offset:si,position:hi,offsetPosition:ci,height:li,width:ui,boxModelAdjust:fi,flipPosition:vi,toPx:wi,ready:me,index:ge,getIndex:ve,empty:we,html:be,prepend:function(t,e){return(t=Me(t)).hasChildNodes()?Ie(e,(function(e){return t.insertBefore(e,t.firstChild)})):ye(t,e)},append:ye,before:xe,after:$e,remove:Se,wrapAll:Te,wrapInner:ke,unwrap:Ee,fragment:Ce,apply:Ne,$:Me,$$:ze,isIE:ct,isRtl:lt,hasTouch:ft,pointerDown:pt,pointerMove:mt,pointerUp:gt,pointerEnter:vt,pointerLeave:wt,pointerCancel:bt,on:Ut,off:Xt,once:Gt,trigger:Kt,createEvent:Jt,toEventTargets:oe,isTouch:se,getEventPos:ae,fastdom:yi,isVoidElement:jt,isVisible:Wt,selInput:Vt,isInput:Rt,filter:qt,within:Yt,hasOwn:i,hyphenate:o,camelize:a,ucfirst:c,startsWith:d,endsWith:p,includes:b,findIndex:x,isArray:$,isFunction:I,isObject:S,isPlainObject:k,isWindow:E,isDocument:_,isJQuery:A,isNode:C,isElement:N,isNodeCollection:M,isBoolean:z,isString:D,isNumber:P,isNumeric:O,isEmpty:B,isUndefined:H,toBoolean:L,toNumber:F,toFloat:j,toNode:W,toNodes:V,toWindow:R,toList:q,toMs:Y,isEqual:U,swap:X,assign:G,last:K,each:J,sortBy:Z,uniqueBy:Q,clamp:tt,noop:et,intersectRect:it,pointInRect:nt,Dimensions:rt,MouseTracker:Ti,mergeOptions:Ci,parseOptions:Ni,Player:zi,Promise:he,Deferred:ce,IntersectionObserver:Vi,query:yt,queryAll:xt,find:It,findAll:St,matches:Mt,closest:Dt,parent:Pt,parents:Ot,children:Bt,escape:Lt,css:qe,getStyles:Ye,getStyle:Ue,getCssVar:Ge,propName:Je,isInView:Pi,scrollTop:Oi,scrollIntoView:Bi,scrolledOver:Hi,scrollParents:Li,getViewport:Fi}),qi.data="__uikit__",qi.prefix="mdp-",qi.options={},qi.version="3.3.1",function(t){var e,i=t.data;function n(t,e){if(t)for(var i in t)t[i]._connected&&t[i]._callUpdate(e)}t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(e,i){(i=(D(i)?t.component(i):i)||this).options=Ci(i.options,e)},t.extend=function(t){t=t||{};var e=function(t){this._init(t)};return(e.prototype=Object.create(this.prototype)).constructor=e,e.options=Ci(this.options,t),e.super=this,e.extend=this.extend,e},t.update=function(t,e){Ot(t=t?W(t):document.body).reverse().forEach((function(t){return n(t[i],e)})),Ne(t,(function(t){return n(t[i],e)}))},Object.defineProperty(t,"container",{get:function(){return e||document.body},set:function(t){e=Me(t)}})}(qi),function(t){t.prototype._callHook=function(t){var e=this,i=this.$options[t];i&&i.forEach((function(t){return t.call(e)}))},t.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initWatches(),this._initEvents(),this._initObserver(),this._callHook("connected"),this._callUpdate())},t.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._observer&&(this._observer.disconnect(),this._observer=null),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1)},t.prototype._callUpdate=function(t){var e=this;void 0===t&&(t="update");var i=t.type||t;b(["update","resize"],i)&&this._callWatches();var n=this.$options.update,r=this._frames,o=r.reads,s=r.writes;n&&n.forEach((function(t,n){var r=t.read,a=t.write,h=t.events;("update"===i||b(h,i))&&(r&&!b(yi.reads,o[n])&&(o[n]=yi.read((function(){var t=e._connected&&r.call(e,e._data,i);!1===t&&a?yi.clear(s[n]):k(t)&&G(e._data,t)}))),a&&!b(yi.writes,s[n])&&(s[n]=yi.write((function(){return e._connected&&a.call(e,e._data,i)}))))}))}}(qi),function(t){var e=0;function n(t,e){var i={},n=t.args;void 0===n&&(n=[]);var r=t.props;void 0===r&&(r={});var s=t.el;if(!r)return i;for(var h in r){var l=o(h),u=ht(s,l);if(!H(u)){if(u=r[h]===Boolean&&""===u||c(r[h],u),"target"===l&&(!u||d(u,"_")))continue;i[h]=u}}var f=Ni(ht(s,e),n);for(var p in f){var m=a(p);void 0!==r[m]&&(i[m]=c(r[m],f[p]))}return i}function r(t,e,n){Object.defineProperty(t,e,{enumerable:!0,get:function(){var r=t._computeds,o=t.$props,s=t.$el;return i(r,e)||(r[e]=(n.get||n).call(t,o,s)),r[e]},set:function(i){var r=t._computeds;r[e]=n.set?n.set.call(t,i):i,H(r[e])&&delete r[e]}})}function s(t,e,i){k(e)||(e={name:i,handler:e});var n=e.name,r=e.el,o=e.handler,a=e.capture,h=e.passive,c=e.delegate,l=e.filter,u=e.self;r=I(r)?r.call(t):r||t.$el,$(r)?r.forEach((function(n){return s(t,G({},e,{el:n}),i)})):!r||l&&!l.call(t)||t._events.push(Ut(r,n,c?D(c)?c:c.call(t):null,D(o)?t[o]:o.bind(t),{passive:h,capture:a,self:u}))}function h(t,e){return t.every((function(t){return!t||!i(t,e)}))}function c(t,e){return t===Boolean?L(e):t===Number?F(e):"list"===t?q(e):t?t(e):e}t.prototype._init=function(t){(t=t||{}).data=function(t,e){var i=t.data,n=(t.el,e.args),r=e.props;void 0===r&&(r={});if(i=$(i)?B(n)?void 0:i.slice(0,n.length).reduce((function(t,e,i){return k(e)?G(t,e):t[n[i]]=e,t}),{}):i)for(var o in i)H(i[o])?delete i[o]:i[o]=r[o]?c(r[o],i[o]):i[o];return i}(t,this.constructor.options),this.$options=Ci(this.constructor.options,t,this),this.$el=null,this.$props={},this._frames={reads:{},writes:{}},this._events=[],this._uid=e++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),t.el&&this.$mount(t.el)},t.prototype._initData=function(){var t=this.$options.data;for(var e in void 0===t&&(t={}),t)this.$props[e]=this[e]=t[e]},t.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=t[e].bind(this)},t.prototype._initComputeds=function(){var t=this.$options.computed;if(this._computeds={},t)for(var e in t)r(this,e,t[e])},t.prototype._initWatches=function(){var t=this.$options.computed;if(t)for(var e in t){var i=t[e],n=i.watch,r=i.immediate;n&&r&&n.call(this,this[e])}},t.prototype._callWatches=function(){var t=this.$options.computed,e=this._computeds;for(var i in e){var n=e[i];delete e[i],t[i].watch&&!U(n,this[i])&&t[i].watch.call(this,this[i],n)}},t.prototype._initProps=function(t){var e;for(e in t=t||n(this.$options,this.$name))H(t[e])||(this.$props[e]=t[e]);var i=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&h(i,e)&&(this[e]=this.$props[e])},t.prototype._initEvents=function(){var t=this,e=this.$options.events;e&&e.forEach((function(e){if(i(e,"handler"))s(t,e);else for(var n in e)s(t,e[n],n)}))},t.prototype._unbindEvents=function(){this._events.forEach((function(t){return t()})),this._events=[]},t.prototype._initObserver=function(){var t=this,e=this.$options,i=e.attrs,r=e.props,s=e.el;if(!this._observer&&r&&!1!==i){i=$(i)?i:Object.keys(r),this._observer=new MutationObserver((function(){var e=n(t.$options,t.$name);i.some((function(i){return!H(e[i])&&e[i]!==t.$props[i]}))&&t.$reset()}));var a=i.map((function(t){return o(t)})).concat(this.$name);this._observer.observe(s,{attributes:!0,attributeFilter:a.concat(a.map((function(t){return"data-"+t})))})}}}(qi),function(t){var e=t.data,i={};t.component=function(e,n){var r=o(e);if(e=a(r),!n)return k(i[e])&&(i[e]=t.extend(i[e])),i[e];t[e]=function(i,n){for(var r=arguments.length,o=Array(r);r--;)o[r]=arguments[r];var s=t.component(e);return s.options.functional?new s({data:k(i)?i:[].concat(o)}):i?ze(i).map(a)[0]:a(i);function a(i){var r=t.getComponent(i,e);if(r){if(!n)return r;r.$destroy()}return new s({el:i,data:n})}};var s=k(n)?G({},n):n.options;return s.name=e,s.install&&s.install(t,s,e),t._initialized&&!s.functional&&yi.read((function(){return t[e]("[mdp-"+r+"],[data-mdp-"+r+"]")})),i[e]=k(n)?s:n},t.getComponents=function(t){return t&&t[e]||{}},t.getComponent=function(e,i){return t.getComponents(e)[i]},t.connect=function(n){if(n[e])for(var r in n[e])n[e][r]._callConnected();for(var o=0;o<n.attributes.length;o++){var s=Ri(n.attributes[o].name);s&&s in i&&t[s](n)}},t.disconnect=function(t){for(var i in t[e])t[e][i]._callDisconnected()}}(qi),function(t){var e=t.data;t.prototype.$mount=function(t){var i=this.$options.name;t[e]||(t[e]={}),t[e][i]||(t[e][i]=this,this.$el=this.$options.el=this.$options.el||t,Yt(t,document)&&this._callConnected())},t.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},t.prototype.$destroy=function(t){void 0===t&&(t=!1);var i=this.$options,n=i.el,r=i.name;n&&this._callDisconnected(),this._callHook("destroy"),n&&n[e]&&(delete n[e][r],B(n[e])||delete n[e],t&&Se(this.$el))},t.prototype.$create=function(e,i,n){return t[e](i,n)},t.prototype.$update=function(e,i){void 0===e&&(e=this.$el),t.update(e,i)},t.prototype.$getComponent=t.getComponent;var i={};Object.defineProperties(t.prototype,{$container:Object.getOwnPropertyDescriptor(t,"container"),$name:{get:function(){var e=this.$options.name;return i[e]||(i[e]=t.prefix+o(e)),i[e]}}})}(qi);var Yi={connected:function(){!Le(this.$el,this.$name)&&Pe(this.$el,this.$name)}},Ui={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String,queued:Boolean},data:{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(t){return!!t.animation[0]},hasTransition:function(t){var e=t.animation;return this.hasAnimation&&!0===e[0]}},methods:{toggleElement:function(t,e,i){var n=this;return new he((function(r){t=V(t);var o,s=function(t){return he.all(t.map((function(t){return n._toggleElement(t,e,i)})))};if(n.queued&&H(i)&&H(e)&&n.hasAnimation&&!(t.length<2)){var a=t.filter((function(t){return n.isToggled(t)})),h=t.filter((function(t){return!b(a,t)})),c=document.body,l=c.scrollTop,u=a[0],d=ni.inProgress(u)&&Le(u,"mdp-animation-leave")||ti.inProgress(u)&&"0px"===u.style.height;o=s(a),d||(o=o.then((function(){var t=s(h);return c.scrollTop=l,t})))}else o=s(t);o.then(r,et)}))},toggleNow:function(t,e){return this.toggleElement(t,e,!1)},isToggled:function(t){var e=V(t||this.$el);return this.cls?Le(e,this.cls.split(" ")[0]):!st(e,"hidden")},updateAria:function(t){!1===this.cls&&ot(t,"aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,i){var n=this;if(e=z(e)?e:ni.inProgress(t)?Le(t,"mdp-animation-leave"):ti.inProgress(t)?"0px"===t.style.height:!this.isToggled(t),!Kt(t,"before"+(e?"show":"hide"),[this]))return he.reject();var r,o,s,a,h,c=(I(i)?i:!1!==i&&this.hasAnimation?this.hasTransition?function(t){var e=t.isToggled,i=t.duration,n=t.initProps,r=t.hideProps,o=t.transition,s=t._toggle;return function(t,a){var h=ti.inProgress(t),c=t.hasChildNodes?j(qe(t.firstElementChild,"marginTop"))+j(qe(t.lastElementChild,"marginBottom")):0,l=Wt(t)?li(t)+(h?0:c):0;ti.cancel(t),e(t)||s(t,!0),li(t,""),yi.flush();var u=li(t)+(h?0:c);return li(t,l),(a?ti.start(t,G({},n,{overflow:"hidden",height:u}),Math.round(i*(1-l/u)),o):ti.start(t,r,Math.round(i*(l/u)),o).then((function(){return s(t,!1)}))).then((function(){return qe(t,n)}))}}(this):(o=(r=this).animation,s=r.duration,a=r.origin,h=r._toggle,function(t,e){return ni.cancel(t),e?(h(t,!0),ni.in(t,o[0],s,a)):ni.out(t,o[1]||o[0],s,a).then((function(){return h(t,!1)}))}):this._toggle)(t,e);Kt(t,e?"show":"hide",[this]);var l=function(){Kt(t,e?"shown":"hidden",[n]),n.$update(t)};return c?c.then(l):he.resolve(l())},_toggle:function(t,e){var i;t&&(e=Boolean(e),this.cls?(i=b(this.cls," ")||e!==Le(t,this.cls))&&Fe(t,this.cls,b(this.cls," ")?void 0:e):(i=e===st(t,"hidden"))&&ot(t,"hidden",e?null:""),ze("[autofocus]",t).some((function(t){return Wt(t)?t.focus()||!0:t.blur()})),this.updateAria(t),i&&this.$update(t))}}};var Xi={mixins:[Yi,Ui],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"mdp-open",toggle:"> .mdp-accordion-title",content:"> .mdp-accordion-content",transition:"ease"},computed:{items:{get:function(t,e){return ze(t.targets,e)},watch:function(t,e){var i=this;if(t.forEach((function(t){return i._toggle(Me(i.content,t),Le(t,i.clsOpen))})),!Le(t,this.clsOpen)){var n=!e&&!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0];n&&this.toggle(n,!1)}},immediate:!0}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(ge(ze(this.targets+" "+this.$props.toggle,this.$el),t.current))}}],methods:{toggle:function(t,e){var i=this,n=ve(t,this.items),r=qt(this.items,"."+this.clsOpen);(t=this.items[n])&&[t].concat(!this.multiple&&!b(r,t)&&r||[]).forEach((function(n){var o=n===t,s=o&&!Le(n,i.clsOpen);if(s||!o||i.collapsible||!(r.length<2)){Fe(n,i.clsOpen,s);var a=n._wrapper?n._wrapper.firstElementChild:Me(i.content,n);n._wrapper||(n._wrapper=Te(a,"<div>"),ot(n._wrapper,"hidden",s?"":null)),i._toggle(a,!0),i.toggleElement(n._wrapper,s,e).then((function(){if(Le(n,i.clsOpen)===s){if(s){var t=Me(i.$props.toggle,n);!1===e||Pi(t)||Bi(t)}else i._toggle(a,!1);n._wrapper=null,Ee(a)}}))}}))}}},Gi={mixins:[Yi,Ui],args:"animation",props:{close:String},data:{animation:[!0],selClose:".mdp-alert-close",duration:150,hideProps:G({opacity:0},Ui.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)}))}}},Ki={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!st(this.$el,"preload")&&(this.$el.preload="none"),this.player=new zi(this.$el),this.automute&&this.player.mute()},update:{read:function(){return!!this.player&&{visible:Wt(this.$el)&&"hidden"!==qe(this.$el,"visibility"),inView:this.inView&&Pi(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:["resize","scroll"]}},Ji={mixins:[Yi,Ki],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el,e=function(t){for(;t=Pt(t);)if("static"!==qe(t,"position"))return t}(t)||t.parentNode,i=e.offsetHeight,n=e.offsetWidth,r=rt.cover({width:this.width||t.naturalWidth||t.videoWidth||t.clientWidth,height:this.height||t.naturalHeight||t.videoHeight||t.clientHeight},{width:n+(n%2?1:0),height:i+(i%2?1:0)});return!(!r.width||!r.height)&&r},write:function(t){var e=t.height,i=t.width;qe(this.$el,{height:e,width:i})},events:["resize"]}};var Zi,Qi={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(lt?"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;Be(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),qe(t,{top:"",left:""});var r=this.offset,o=this.getAxis();O(r)||(r=(n=Me(r))?si(n)["x"===o?"left":"top"]-si(e)["x"===o?"right":"bottom"]:0);var s=oi(t,e,"x"===o?vi(this.dir)+" "+this.align:this.align+" "+vi(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,h=s.y;this.dir="x"===o?a:h,this.align="x"===o?h:a,Fe(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},tn={mixins:[Qi,Ui],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,animation:["mdp-animation-fade"],cls:"mdp-open"},computed:{boundary:function(t,e){return yt(t.boundary,e)},clsDrop:function(t){return t.clsDrop||"mdp-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new Ti},connected:function(){Pe(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",yt(t,this.$el),{target:this.$el,mode:this.mode}),!this.toggle&&Kt(this.$el,"updatearia")},disconnected:function(){this.isActive()&&(Zi=null)},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){var e=t.defaultPrevented,i=t.current.hash;e||!i||Yt(i,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:"toggleshow",self:!0,handler:function(t,e){t.preventDefault(),this.show(e)}},{name:"togglehide",self:!0,handler:function(t){t.preventDefault(),this.hide()}},{name:vt,filter:function(){return b(this.mode,"hover")},handler:function(t){se(t)||this.clearTimers()}},{name:wt,filter:function(){return b(this.mode,"hover")},handler:function(t){se(t)||Mt(this.$el,":hover")||this.hide()}},{name:"beforeshow",self:!0,handler:function(){this.clearTimers(),ni.cancel(this.$el),this.position()}},{name:"show",self:!0,handler:function(){var t=this;Zi=this,this.tracker.init(),Kt(this.$el,"updatearia");var e=en(document,"click",(function(e){var i=e.defaultPrevented,n=e.target;i||Yt(n,t.$el)||t.toggle&&Yt(n,t.toggle.$el)||t.hide(!1)}));Gt(this.$el,"hide",e,{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){var e=t.target;this.$el===e?(Zi=this.isActive()?null:Zi,Kt(this.$el,"updatearia"),this.tracker.cancel()):Zi=null===Zi&&Yt(e,this.$el)&&this.isToggled()?this:Zi}},{name:"updatearia",self:!0,handler:function(t,e){t.preventDefault(),this.updateAria(this.$el),(e||this.toggle)&&(ot((e||this.toggle).$el,"aria-expanded",this.isToggled()),Fe(this.toggle.$el,this.cls,this.isToggled()))}}],update:{write:function(){this.isToggled()&&!ni.inProgress(this.$el)&&this.position()},events:["resize"]},methods:{show:function(t,e){var i=this;if(void 0===t&&(t=this.toggle),void 0===e&&(e=!0),this.isToggled()&&t&&this.toggle&&t.$el!==this.toggle.$el&&this.hide(!1),this.toggle=t,this.clearTimers(),!this.isActive()){if(Zi){if(e&&Zi.isDelaying)return void(this.showTimer=setTimeout(this.show,10));for(;Zi&&!Yt(this.$el,Zi.$el);)Zi.hide(!1)}this.showTimer=setTimeout((function(){return!i.isToggled()&&i.toggleElement(i.$el,!0)}),e&&this.delayShow||0)}},hide:function(t){var e=this;void 0===t&&(t=!0);var i,n,r=function(){return e.toggleNow(e.$el,!1)};this.clearTimers(),this.isDelaying=(i=this.$el,n=[],Ne(i,(function(t){return"static"!==qe(t,"position")&&n.push(t)})),n).some((function(t){return e.tracker.movesTo(t)})),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(r,this.delayHide):r()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive:function(){return Zi===this},position:function(){Be(this.$el,this.clsDrop+"-(stack|boundary)"),qe(this.$el,{top:"",left:"",display:"block"}),Fe(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t=si(this.boundary),e=this.boundaryAlign?t:si(this.toggle.$el);if("justify"===this.align){var i="y"===this.getAxis()?"width":"height";qe(this.$el,i,e[i])}else this.$el.offsetWidth>Math.max(t.right-e.left,e.right-t.left)&&Pe(this.$el,this.clsDrop+"-stack");this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary),qe(this.$el,"display","")}}};function en(t,e,i){var n=Gt(t,e,(function(){return n=Ut(t,e,i)}),!0);return function(){return n()}}var nn={extends:tn},rn={mixins:[Yi],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Me(Vt,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||yt(i,e))}},update:function(){var t=this.target,e=this.input;if(t){var i,n=Rt(t)?"value":"textContent",r=t[n],o=e.files&&e.files[0]?e.files[0].name:Mt(e,"select")&&(i=ze("option",e).filter((function(t){return t.selected}))[0])?i.textContent:e.value;r!==o&&(t[n]=o)}},events:[{name:"change",handler:function(){this.$update()}},{name:"reset",el:function(){return Dt(this.$el,"form")},handler:function(){this.$update()}}]},on={update:{read:function(t){var e=Pi(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=this.$el.src},events:["scroll","resize"]}},sn={props:{margin:String,firstColumn:Boolean},data:{margin:"mdp-margin-small-top",firstColumn:"mdp-first-column"},update:{read:function(t){var e=this.$el.children;if(!e.length||!Wt(this.$el))return t.rows=[[]];t.rows=an(e),t.stacks=!t.rows.some((function(t){return t.length>1}))},write:function(t){var e=this;t.rows.forEach((function(t,i){return t.forEach((function(t,n){Fe(t,e.margin,0!==i),Fe(t,e.firstColumn,0===n)}))}))},events:["resize"]}};function an(t){for(var e=[[]],i=0;i<t.length;i++){var n=t[i],r=hn(n);if(r.height)for(var o=e.length-1;o>=0;o--){var s=e[o];if(!s[0]){s.push(n);break}var a=void 0;if(s[0].offsetParent===n.offsetParent?a=hn(s[0]):(r=hn(n,!0),a=hn(s[0],!0)),r.top>=a.bottom-1&&r.top!==a.top){e.push([n]);break}if(r.bottom>a.top){if(r.left<a.left&&!lt){s.unshift(n);break}s.push(n);break}if(0===o){e.unshift([n]);break}}}return e}function hn(t,e){var i;void 0===e&&(e=!1);var n=t.offsetTop,r=t.offsetLeft,o=t.offsetHeight;return e&&(n=(i=ci(t))[0],r=i[1]),{top:n,left:r,height:o,bottom:n+o}}var cn={extends:sn,mixins:[Yi],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"mdp-grid-margin",clsStack:"mdp-grid-stack",masonry:!1,parallax:0},computed:{length:function(t,e){return e.children.length},parallax:function(t){var e=t.parallax;return e&&this.length?Math.abs(e):""}},connected:function(){this.masonry&&Pe(this.$el,"mdp-flex-top mdp-flex-wrap-top")},update:[{write:function(t){var e=t.stacks;Fe(this.$el,this.clsStack,e)},events:["resize"]},{read:function(t){var e=t.rows;if(!this.masonry&&!this.parallax)return!1;e=e.map((function(t){return Z(t,"offsetLeft")})),lt&&e.map((function(t){return t.reverse()}));var i,n,r,o,s=e.some((function(t){return t.some(ti.inProgress)})),a=!1,h="";if(this.masonry&&this.length){var c=0;a=e.reduce((function(t,i,n){return t[n]=i.map((function(i,r){return 0===n?0:j(t[n-1][r])+(c-j(e[n-1][r]&&e[n-1][r].offsetHeight))})),c=i.reduce((function(t,e){return Math.max(t,e.offsetHeight)}),0),t}),[]),h=function(t){return Math.max.apply(Math,t.reduce((function(t,e){return e.forEach((function(e,i){return t[i]=(t[i]||0)+e.offsetHeight})),t}),[]))}(e)+(i=this.$el,n=this.margin,r=Bt(i),j((o=r.filter((function(t){return Le(t,n)}))[0])?qe(o,"marginTop"):qe(r[0],"paddingLeft"))*(e.length-1))}return{padding:this.parallax&&ln(this.parallax,e,a),rows:e,translates:a,height:!s&&h}},write:function(t){var e=t.stacks,i=t.height,n=t.padding;Fe(this.$el,this.clsStack,e),qe(this.$el,"paddingBottom",n),!1!==i&&qe(this.$el,"height",i)},events:["resize"]},{read:function(t){var e=t.height;return{scrolled:!!this.parallax&&Hi(this.$el,e?e-li(this.$el):0)*this.parallax}},write:function(t){var e=t.rows,i=t.scrolled,n=t.translates;(!1!==i||n)&&e.forEach((function(t,e){return t.forEach((function(t,r){return qe(t,"transform",i||n?"translateY("+((n&&-n[e][r])+(i?r%2?i:i/8:0))+"px)":"")}))}))},events:["scroll","resize"]}]};function ln(t,e,i){for(var n=0,r=0,o=0,s=e.length-1;s>=0;s--)for(var a=n;a<e[s].length;a++){var h=e[s][a],c=h.offsetTop+li(h)+(i&&-i[s][a]);r=Math.max(r,c),o=Math.max(o,c+(a%2?t:t/8)),n++}return o-r}var un=ct?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){var i=t.selMinHeight;return i?ze(i,e):[e]}},update:[{read:function(){qe(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var t=this;this.elements.forEach((function(e){var i=j(qe(e,"minHeight"));i&&(t.forceHeight||Math.round(i+fi(e,"height","content-box"))>=e.offsetHeight)&&qe(e,"height",i)}))},order:5,events:["resize"]}]}:{},dn={mixins:[un],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return ze(t.target,e)}},update:{read:function(){return{rows:(this.row?an(this.elements):[this.elements]).map(fn)}},write:function(t){t.rows.forEach((function(t){var e=t.heights;return t.elements.forEach((function(t,i){return qe(t,"minHeight",e[i])}))}))},events:["resize"]}};function fn(t){var e;if(t.length<2)return{heights:[""],elements:t};var i=pn(t),n=i.heights,r=i.max,o=t.some((function(t){return t.style.minHeight})),s=t.some((function(t,e){return!t.style.minHeight&&n[e]<r}));return o&&s&&(qe(t,"minHeight",""),e=pn(t),n=e.heights,r=e.max),{heights:n=t.map((function(t,e){return n[e]===r&&j(t.style.minHeight).toFixed(2)!==r.toFixed(2)?"":r})),elements:t}}function pn(t){var e=t.map((function(t){return si(t).height-fi(t,"height","content-box")}));return{heights:e,max:Math.max.apply(null,e)}}var mn={mixins:[un],props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},update:{read:function(t){var e=t.minHeight;if(!Wt(this.$el))return!1;var i="",n=fi(this.$el,"height","content-box");if(this.expand){if(this.$el.dataset.heightExpand="",Me("[data-height-expand]")!==this.$el)return!1;i=li(window)-(gn(document.documentElement)-gn(this.$el))-n||""}else{if(i="calc(100vh",this.offsetTop){var r=si(this.$el).top;i+=r>0&&r<li(window)/2?" - "+r+"px":""}!0===this.offsetBottom?i+=" - "+gn(this.$el.nextElementSibling)+"px":O(this.offsetBottom)?i+=" - "+this.offsetBottom+"vh":this.offsetBottom&&p(this.offsetBottom,"px")?i+=" - "+j(this.offsetBottom)+"px":D(this.offsetBottom)&&(i+=" - "+gn(yt(this.offsetBottom,this.$el))+"px"),i+=(n?" - "+n+"px":"")+")"}return{minHeight:i,prev:e}},write:function(t){var e=t.minHeight,i=t.prev;qe(this.$el,{minHeight:e}),e!==i&&this.$update(this.$el,"resize"),this.minHeight&&j(qe(this.$el,"minHeight"))<this.minHeight&&qe(this.$el,"minHeight",this.minHeight)},events:["resize"]}};function gn(t){return t&&si(t).height||0}var vn={args:"src",props:{id:Boolean,icon:String,src:String,style:String,width:Number,height:Number,ratio:Number,class:String,strokeAnimation:Boolean,focusable:Boolean,attributes:"list"},data:{ratio:1,include:["style","class","focusable"],class:"",strokeAnimation:!1},beforeConnect:function(){var t,e=this;if(this.class+=" mdp-svg",!this.icon&&b(this.src,"#")){var i=this.src.split("#");i.length>1&&(t=i,this.src=t[0],this.icon=t[1])}this.svg=this.getSvg().then((function(t){return e.applyAttributes(t),e.svgEl=function(t,e){if(jt(e)||"CANVAS"===e.tagName){ot(e,"hidden",!0);var i=e.nextElementSibling;return $n(t,i)?i:$e(e,t)}var n=e.lastElementChild;return $n(t,n)?n:ye(e,t)}(t,e.$el)}),et)},disconnected:function(){var t=this;jt(this.$el)&&ot(this.$el,"hidden",null),this.svg&&this.svg.then((function(e){return(!t._connected||e!==t.svgEl)&&Se(e)}),et),this.svg=this.svgEl=null},update:{read:function(){return!!(this.strokeAnimation&&this.svgEl&&Wt(this.svgEl))},write:function(){var t,e;t=this.svgEl,(e=xn(t))&&t.style.setProperty("--mdp-animation-stroke",e)},type:["resize"]},methods:{getSvg:function(){var t=this;return function(t){if(wn[t])return wn[t];return wn[t]=new he((function(e,i){t?d(t,"data:")?e(decodeURIComponent(t.split(",")[1])):fe(t).then((function(t){return e(t.response)}),(function(){return i("SVG not found.")})):i()}))}(this.src).then((function(e){return function(t,e){e&&b(t,"<symbol")&&(t=function(t,e){if(!yn[t]){var i;for(yn[t]={};i=bn.exec(t);)yn[t][i[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+i[1]+"svg>";bn.lastIndex=0}return yn[t][e]}(t,e)||t);return(t=Me(t.substr(t.indexOf("<svg"))))&&t.hasChildNodes()&&t}(e,t.icon)||he.reject("SVG not found.")}))},applyAttributes:function(t){var e=this;for(var i in this.$options.props)this[i]&&b(this.include,i)&&ot(t,i,this[i]);for(var n in this.attributes){var r=this.attributes[n].split(":",2),o=r[0],s=r[1];ot(t,o,s)}this.id||at(t,"id");var a=["width","height"],h=[this.width,this.height];h.some((function(t){return t}))||(h=a.map((function(e){return ot(t,e)})));var c=ot(t,"viewBox");c&&!h.some((function(t){return t}))&&(h=c.split(" ").slice(2)),h.forEach((function(i,n){(i=(0|i)*e.ratio)&&ot(t,a[n],i),i&&!h[1^n]&&at(t,a[1^n])})),ot(t,"data-svg",this.icon||this.src)}}},wn={};var bn=/<symbol(.*?id=(['"])(.*?)\2[^]*?<\/)symbol>/g,yn={};function xn(t){return Math.ceil(Math.max.apply(Math,ze("[stroke]",t).map((function(t){return t.getTotalLength&&t.getTotalLength()||0})).concat([0])))}function $n(t,e){return ot(t,"data-svg")===ot(e,"data-svg")}var In={},Sn={spinner:'<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9 "/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect x="9" y="4" width="1" height="11"/><rect x="4" y="9" width="11" height="1"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect y="9" width="20" height="2"/><rect y="3" width="20" height="2"/><rect y="15" width="20" height="2"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><rect x="19" y="0" width="1" height="40"/><rect x="0" y="19" width="40" height="1"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":'<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-navbar":'<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>'},Tn={install:function(t){t.icon.add=function(e,i){var n,r=D(e)?((n={})[e]=i,n):e;J(r,(function(t,e){Sn[e]=t,delete In[e]})),t._initialized&&Ne(document.body,(function(e){return J(t.getComponents(e),(function(t){t.$options.isIcon&&t.icon in r&&t.$reset()}))}))}},extends:vn,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect:function(){Pe(this.$el,"mdp-icon")},methods:{getSvg:function(){var t=function(t){if(!Sn[t])return null;In[t]||(In[t]=Me(Sn[t].trim()));return In[t].cloneNode(!0)}(function(t){return lt?X(X(t,"left","right"),"previous","next"):t}(this.icon));return t?he.resolve(t):he.reject("Icon not found.")}}},kn={args:!1,extends:Tn,data:function(t){return{icon:o(t.constructor.options.name)}},beforeConnect:function(){Pe(this.$el,this.$name)}},En={extends:kn,beforeConnect:function(){Pe(this.$el,"mdp-slidenav")},computed:{icon:function(t,e){var i=t.icon;return Le(e,"mdp-slidenav-large")?i+"-large":i}}},_n={extends:kn,computed:{icon:function(t,e){var i=t.icon;return Le(e,"mdp-search-icon")&&Ot(e,".mdp-search-large").length?"search-large":Ot(e,".mdp-search-navbar").length?"search-navbar":i}}},An={extends:kn,computed:{icon:function(){return"close-"+(Le(this.$el,"mdp-close-large")?"large":"icon")}}},Cn={extends:kn,connected:function(){var t=this;this.svg.then((function(e){return 1!==t.ratio&&qe(Me("circle",e),"strokeWidth",1/t.ratio)}),et)}};var Nn={args:"dataSrc",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 Hn(e)},target:{get:function(t){var e=t.target;return[this.$el].concat(xt(e,this.$el))},watch:function(){this.observe()}},offsetTop:function(t){return wi(t.offsetTop,"height")},offsetLeft:function(t){return wi(t.offsetLeft,"width")}},connected:function(){Fn[this.cacheKey]?Mn(this.$el,Fn[this.cacheKey]||this.dataSrc,this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&Mn(this.$el,function(t,e,i){var n;i&&(n=rt.ratio({width:t,height:e},"width",wi(Dn(i))),t=n.width,e=n.height);return'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+e+'"></svg>'}(this.width,this.height,this.sizes)),this.observer=new Vi(this.load,{rootMargin:this.offsetTop+"px "+this.offsetLeft+"px"}),requestAnimationFrame(this.observe)},disconnected:function(){this.observer.disconnect()},update:{read:function(t){var e=this,i=t.image;if(i||"complete"!==document.readyState||this.load(this.observer.takeRecords()),this.isImg)return!1;i&&i.then((function(t){return t&&""!==t.currentSrc&&Mn(e.$el,Ln(t))}))},write:function(t){if(this.dataSrcset&&1!==window.devicePixelRatio){var e=qe(this.$el,"backgroundSize");(e.match(/^(auto\s?)+$/)||j(e)===t.bgSize)&&(t.bgSize=(i=this.dataSrcset,n=this.sizes,r=wi(Dn(n)),(o=(i.match(Bn)||[]).map(j).sort((function(t,e){return t-e}))).filter((function(t){return t>=r}))[0]||o.pop()||""),qe(this.$el,"backgroundSize",t.bgSize+"px"))}var i,n,r,o},events:["resize"]},methods:{load:function(t){var e=this;t.some((function(t){return H(t.isIntersecting)||t.isIntersecting}))&&(this._data.image=pe(this.dataSrc,this.dataSrcset,this.sizes).then((function(t){return Mn(e.$el,Ln(t),t.srcset,t.sizes),Fn[e.cacheKey]=Ln(t),t}),et),this.observer.disconnect())},observe:function(){var t=this;this._connected&&!this._data.image&&this.target.forEach((function(e){return t.observer.observe(e)}))}}};function Mn(t,e,i,n){if(Hn(t))n&&(t.sizes=n),i&&(t.srcset=i),e&&(t.src=e);else if(e){!b(t.style.backgroundImage,e)&&(qe(t,"backgroundImage","url("+Lt(e)+")"),Kt(t,Jt("load",!1)))}}var zn=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;function Dn(t){var e,i;for(zn.lastIndex=0;e=zn.exec(t);)if(!e[1]||window.matchMedia(e[1]).matches){e=d(i=e[2],"calc")?i.substring(5,i.length-1).replace(Pn,(function(t){return wi(t)})).replace(/ /g,"").match(On).reduce((function(t,e){return t+ +e}),0):i;break}return e||"100vw"}var Pn=/\d+(?:\w+|%)/g,On=/[+-]?(\d+)/g;var Bn=/\s+\d+w\s*(?:,|$)/g;function Hn(t){return"IMG"===t.tagName}function Ln(t){return t.currentSrc||t.src}var Fn;try{(Fn=window.sessionStorage||{}).__test__=1,delete Fn.__test__}catch(t){Fn={}}var jn={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var t=function(t){if(D(t))if("@"===t[0]){var e="breakpoint-"+t.substr(1);t=j(Ge(e))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(this.media);return!t||window.matchMedia(t).matches}}};var Wn={mixins:[Yi,jn],props:{fill:String},data:{fill:"",clsWrapper:"mdp-leader-fill",clsHide:"mdp-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||Ge("leader-fill-content")}},connected:function(){var t;t=ke(this.$el,'<span class="'+this.clsWrapper+'">'),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),fill:this.fill,changed:e||n!==i,hide:!this.matchMedia}},write:function(t){Fe(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,ot(this.wrapper,this.attrFill,new Array(t.width).join(t.fill)))},events:["resize"]}},Vn={props:{container:Boolean},data:{container:!0},computed:{container:function(t){var e=t.container;return!0===e&&this.$container||e&&Me(e)}}},Rn=[],qn={mixins:[Yi,Vn,Ui],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"mdp-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Me(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleNow(this.$el,!1)},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){if(b(Rn,this))return!1;!this.stack&&Rn.length?(he.all(Rn.map((function(t){return t.hide()}))).then(this.show),t.preventDefault()):Rn.push(this)}},{name:"show",self:!0,handler:function(){var t=this;ui(window)-ui(document)&&this.overlay&&qe(document.body,"overflowY","scroll"),Pe(document.documentElement,this.clsPage),this.bgClose&&Gt(this.$el,"hide",en(document,"click",(function(e){var i=e.defaultPrevented,n=e.target,r=K(Rn);i||r!==t||r.overlay&&!Yt(n,r.$el)||Yt(n,r.panel)||r.hide()})),{self:!0}),this.escClose&&Gt(this.$el,"hide",Ut(document,"keydown",(function(e){var i=K(Rn);27===e.keyCode&&i===t&&(e.preventDefault(),i.hide())})),{self:!0})}},{name:"hidden",self:!0,handler:function(){var t=this;Rn.splice(Rn.indexOf(this),1),Rn.length||qe(document.body,"overflowY",""),Rn.some((function(e){return e.clsPage===t.clsPage}))||Oe(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var t=this;return this.container&&this.$el.parentNode!==this.container?(ye(this.container,this.$el),new he((function(e){return requestAnimationFrame((function(){return t.show().then(e)}))}))):this.toggleElement(this.$el,!0,Yn(this))},hide:function(){return this.toggleElement(this.$el,!1,Yn(this))}}};function Yn(t){var e=t.transitionElement,i=t._toggle;return function(t,n){return new he((function(r,o){return Gt(t,"show hide",(function(){t._reject&&t._reject(),t._reject=o,i(t,n);var s=Gt(e,"transitionstart",(function(){Gt(e,"transitionend transitioncancel",r,{self:!0}),clearTimeout(a)}),{self:!0}),a=setTimeout((function(){s(),r()}),Y(qe(e,"transitionDuration")))}))}))}}var Un={install:function(t){t.modal.dialog=function(e,i){var n=t.modal(' <div class="mdp-modal"> <div class="mdp-modal-dialog">'+e+"</div> </div> ",i);return n.show(),Ut(n.$el,"hidden",(function(){return he.resolve((function(){return n.$destroy(!0)}))}),{self:!0}),n},t.modal.alert=function(e,i){return i=G({bgClose:!1,escClose:!1,labels:t.modal.labels},i),new he((function(n){return Ut(t.modal.dialog(' <div class="mdp-modal-body">'+(D(e)?e:be(e))+'</div> <div class="mdp-modal-footer mdp-text-right"> <button class="mdp-button mdp-button-primary mdp-modal-close" autofocus>'+i.labels.ok+"</button> </div> ",i).$el,"hide",n)}))},t.modal.confirm=function(e,i){return i=G({bgClose:!1,escClose:!0,labels:t.modal.labels},i),new he((function(n,r){var o=t.modal.dialog(' <form> <div class="mdp-modal-body">'+(D(e)?e:be(e))+'</div> <div class="mdp-modal-footer mdp-text-right"> <button class="mdp-button mdp-button-default mdp-modal-close" type="button">'+i.labels.cancel+'</button> <button class="mdp-button mdp-button-primary" autofocus>'+i.labels.ok+"</button> </div> </form> ",i),s=!1;Ut(o.$el,"submit","form",(function(t){t.preventDefault(),n(),s=!0,o.hide()})),Ut(o.$el,"hide",(function(){s||r()}))}))},t.modal.prompt=function(e,i,n){return n=G({bgClose:!1,escClose:!0,labels:t.modal.labels},n),new he((function(r){var o=t.modal.dialog(' <form class="mdp-form-stacked"> <div class="mdp-modal-body"> <label>'+(D(e)?e:be(e))+'</label> <input class="mdp-input" autofocus> </div> <div class="mdp-modal-footer mdp-text-right"> <button class="mdp-button mdp-button-default mdp-modal-close" type="button">'+n.labels.cancel+'</button> <button class="mdp-button mdp-button-primary">'+n.labels.ok+"</button> </div> </form> ",n),s=Me("input",o.$el);s.value=i;var a=!1;Ut(o.$el,"submit","form",(function(t){t.preventDefault(),r(s.value),a=!0,o.hide()})),Ut(o.$el,"hide",(function(){a||r(null)}))}))},t.modal.labels={ok:"Ok",cancel:"Cancel"}},mixins:[qn],data:{clsPage:"mdp-modal-page",selPanel:".mdp-modal-dialog",selClose:".mdp-modal-close, .mdp-modal-close-default, .mdp-modal-close-outside, .mdp-modal-close-full"},events:[{name:"show",self:!0,handler:function(){Le(this.panel,"mdp-margin-auto-vertical")?Pe(this.$el,"mdp-flex"):qe(this.$el,"display","block"),li(this.$el)}},{name:"hidden",self:!0,handler:function(){qe(this.$el,"display",""),Oe(this.$el,"mdp-flex")}}]};var Xn={extends:Xi,data:{targets:"> .mdp-parent",toggle:"> a",content:"> ul"}},Gn={mixins:[Yi,un],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:".mdp-navbar-nav > li",align:lt?"right":"left",clsDrop:"mdp-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,forceHeight:!0,selMinHeight:".mdp-navbar-nav > li > a, .mdp-navbar-item, .mdp-navbar-toggle"},computed:{boundary:function(t,e){var i=t.boundary,n=t.boundaryAlign;return!0===i||n?e:i},dropbarAnchor:function(t,e){return yt(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropbar:{get:function(t){var e=t.dropbar;return e?(e=this._dropbar||yt(e,this.$el)||Me("+ .mdp-navbar-dropbar",this.$el))||(this._dropbar=Me("<div></div>")):null},watch:function(t){Pe(t,"mdp-navbar-dropbar"),Fe(t,"mdp-navbar-dropbar-slide","slide"===this.dropbarMode)},immediate:!0},dropdowns:{get:function(t,e){return ze(t.dropdown+" ."+t.clsDrop,e)},watch:function(t){var e=this;this.$create("drop",t.filter((function(t){return!e.getDropdown(t)})),G({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},immediate:!0}},disconnected:function(){this.dropbar&&Se(this.dropbar),delete this._dropbar},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current,i=this.getActive();i&&i.toggle&&!Yt(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&&!this.dropdowns.some((function(t){return Mt(t,":hover")}))&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){this.dropbar.parentNode||$e(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&&Pe(i,this.clsDrop+"-dropbar"),"bottom"===n&&this.transitionTo(i.offsetHeight+j(qe(i,"marginTop"))+j(qe(i,"marginBottom")),i)}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var i=e.$el,n=this.getActive();Mt(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&&t.isActive()}))[0];return t&&b(t.mode,"hover")&&Yt(t.toggle.$el,this.$el)&&t},transitionTo:function(t,e){var i=this,n=this.dropbar,r=Wt(n)?li(n):0;return qe(e=r<t&&e,"clip","rect(0,"+e.offsetWidth+"px,"+r+"px,0)"),li(n,r),ti.cancel([e,n]),he.all([ti.start(n,{height:t},this.duration),ti.start(e,{clip:"rect(0,"+e.offsetWidth+"px,"+t+"px,0)"},this.duration)]).catch(et).then((function(){qe(e,{clip:""}),i.$update(n)}))},getDropdown:function(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")}}},Kn={mixins:[qn],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"mdp-offcanvas-page",clsContainer:"mdp-offcanvas-container",selPanel:".mdp-offcanvas-bar",clsFlip:"mdp-offcanvas-flip",clsContainerAnimation:"mdp-offcanvas-container-animation",clsSidebarAnimation:"mdp-offcanvas-bar-animation",clsMode:"mdp-offcanvas",clsOverlay:"mdp-offcanvas-overlay",selClose:".mdp-offcanvas-close",container:!1},computed:{clsFlip:function(t){var e=t.flip,i=t.clsFlip;return e?i:""},clsOverlay:function(t){var e=t.overlay,i=t.clsOverlay;return e?i:""},clsMode:function(t){var e=t.mode;return t.clsMode+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,i=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":i},clsContainerAnimation:function(t){var e=t.mode,i=t.clsContainerAnimation;return"push"!==e&&"reveal"!==e?"":i},transitionElement:function(t){return"reveal"===t.mode?this.panel.parentNode:this.panel}},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current.hash;!t.defaultPrevented&&e&&Me(e,document.body)&&this.hide()}},{name:"touchstart",passive:!0,el:function(){return this.panel},handler:function(t){var e=t.targetTouches;1===e.length&&(this.clientY=e[0].clientY)}},{name:"touchmove",self:!0,passive:!1,filter:function(){return this.overlay},handler:function(t){t.cancelable&&t.preventDefault()}},{name:"touchmove",passive:!1,el:function(){return this.panel},handler:function(t){if(1===t.targetTouches.length){var e=event.targetTouches[0].clientY-this.clientY,i=this.panel,n=i.scrollTop,r=i.scrollHeight,o=i.clientHeight;(o>=r||0===n&&e>0||r-n<=o&&e<0)&&t.cancelable&&t.preventDefault()}}},{name:"show",self:!0,handler:function(){"reveal"!==this.mode||Le(this.panel.parentNode,this.clsMode)||(Te(this.panel,"<div>"),Pe(this.panel.parentNode,this.clsMode)),qe(document.documentElement,"overflowY",this.overlay?"hidden":""),Pe(document.body,this.clsContainer,this.clsFlip),qe(document.body,"touch-action","pan-y pinch-zoom"),qe(this.$el,"display","block"),Pe(this.$el,this.clsOverlay),Pe(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),li(document.body),Pe(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&(Jn().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){Oe(document.body,this.clsContainerAnimation),qe(document.body,"touch-action","")}},{name:"hidden",self:!0,handler:function(){var t;this.clsContainerAnimation&&((t=Jn()).content=t.content.replace(/,user-scalable=0$/,"")),"reveal"===this.mode&&Ee(this.panel),Oe(this.panel,this.clsSidebarAnimation,this.clsMode),Oe(this.$el,this.clsOverlay),qe(this.$el,"display",""),Oe(document.body,this.clsContainer,this.clsFlip),qe(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&p(t.type,"Left")^this.flip&&this.hide()}}]};function Jn(){return Me('meta[name="viewport"]',document.head)||ye(document.head,'<meta name="viewport">')}var Zn={mixins:[Yi],props:{selContainer:String,selContent:String},data:{selContainer:".mdp-modal",selContent:".mdp-modal-dialog"},computed:{container:function(t,e){return Dt(e,t.selContainer)},content:function(t,e){return Dt(e,t.selContent)}},connected:function(){qe(this.$el,"minHeight",150)},update:{read:function(){return!(!this.content||!this.container)&&{current:j(qe(this.$el,"maxHeight")),max:Math.max(150,li(this.container)-(si(this.content).height-li(this.$el)))}},write:function(t){var e=t.current,i=t.max;qe(this.$el,"maxHeight",i),Math.round(e)!==Math.round(i)&&Kt(this.$el,"resize")},events:["resize"]}},Qn={props:["width","height"],connected:function(){Pe(this.$el,"mdp-responsive-width")},update:{read:function(){return!!(Wt(this.$el)&&this.width&&this.height)&&{width:ui(this.$el.parentNode),height:this.height}},write:function(t){li(this.$el,rt.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},tr={props:{duration:Number,offset:Number},data:{duration:1e3,offset:0},methods:{scrollTo:function(t){var e=this;t=t&&Me(t)||document.body,Kt(this.$el,"beforescroll",[this,t])&&Bi(t,this.$props).then((function(){return Kt(e.$el,"scrolled",[e,t])}))}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo(Lt(decodeURIComponent(this.$el.hash)).substr(1)))}}},er={args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},data:function(){return{cls:!1,target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"mdp-scrollspy-inview"}},computed:{elements:{get:function(t,e){var i=t.target;return i?ze(i,e):[e]},watch:function(t){this.hidden&&qe(qt(t,":not(."+this.inViewClass+")"),"visibility","hidden")},immediate:!0}},update:[{read:function(t){var e=this;t.update&&this.elements.forEach((function(t){var i=t._ukScrollspyState;i||(i={cls:ht(t,"mdp-scrollspy-class")||e.cls}),i.show=Pi(t,e.offsetTop,e.offsetLeft),t._ukScrollspyState=i}))},write:function(t){var e=this;if(!t.update)return this.$update(),t.update=!0;this.elements.forEach((function(i){var n=i._ukScrollspyState,r=function(t){qe(i,"visibility",!t&&e.hidden?"hidden":""),Fe(i,e.inViewClass,t),Fe(i,n.cls),Kt(i,t?"inview":"outview"),n.inview=t,e.$update(i)};!n.show||n.inview||n.queued?!n.show&&n.inview&&!n.queued&&e.repeat&&r(!1):(n.queued=!0,t.promise=(t.promise||he.resolve()).then((function(){return new he((function(t){return setTimeout(t,e.delay)}))})).then((function(){r(!0),setTimeout((function(){return n.queued=!1}),300)})))}))},events:["scroll","resize"]}]},ir={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"mdp-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:{get:function(t,e){return ze('a[href^="#"]',e).filter((function(t){return t.hash}))},watch:function(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})},immediate:!0},targets:function(){return ze(this.links.map((function(t){return Lt(t.hash).substr(1)})).join(","))},elements:function(t){var e=t.closest;return Dt(ze(this.targets.map((function(t){return'[href="#'+t.id+'"]'})).join(",")),e||"*")}},update:[{read:function(){var t=this,e=this.targets.length;if(!e||!Wt(this.$el))return!1;var i=K(Li(this.targets[0])),n=i.scrollTop,r=i.scrollHeight,o=Fi(i),s=n,a=r-si(o).height,h=!1;return s===a?h=e-1:(this.targets.every((function(e,i){if(hi(e,o).top-t.offset<=0)return h=i,!0})),!1===h&&this.overflow&&(h=0)),{active:h}},write:function(t){var e=t.active;this.links.forEach((function(t){return t.blur()})),Oe(this.elements,this.cls),!1!==e&&Kt(this.$el,"active",[e,Pe(this.elements[e],this.cls)])},events:["scroll","resize"]}]},nr={mixins:[Yi,jn],props:{top:null,bottom:Boolean,offset:String,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,widthElement:Boolean,showOnUp:Boolean,targetOffset:Number},data:{top:0,bottom:!1,offset:0,animation:"",clsActive:"mdp-active",clsInactive:"",clsFixed:"mdp-sticky-fixed",clsBelow:"mdp-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{offset:function(t){return wi(t.offset)},selTarget:function(t,e){var i=t.selTarget;return i&&Me(i,e)||e},widthElement:function(t,e){return yt(t.widthElement,e)||this.placeholder},isActive:{get:function(){return Le(this.selTarget,this.clsActive)},set:function(t){t&&!this.isActive?(He(this.selTarget,this.clsInactive,this.clsActive),Kt(this.$el,"active")):t||Le(this.selTarget,this.clsInactive)||(He(this.selTarget,this.clsActive,this.clsInactive),Kt(this.$el,"inactive"))}}},connected:function(){this.placeholder=Me("+ .mdp-sticky-placeholder",this.$el)||Me('<div class="mdp-sticky-placeholder"></div>'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),Oe(this.selTarget,this.clsInactive)),Se(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:window,handler:function(){var t=this;if(!1!==this.targetOffset&&location.hash&&window.pageYOffset>0){var e=Me(location.hash);e&&yi.read((function(){var i=si(e).top,n=si(t.$el).top,r=t.$el.offsetHeight;t.isFixed&&n+r>=i&&n<=i+e.offsetHeight&&Oi(window,i-r-(O(t.targetOffset)?t.targetOffset:0)-t.offset)}))}}}],update:[{read:function(t,e){var i=t.height;this.isActive&&"update"!==e&&(this.hide(),i=this.$el.offsetHeight,this.show()),i=this.isActive?i:this.$el.offsetHeight,this.topOffset=si(this.isFixed?this.placeholder:this.$el).top,this.bottomOffset=this.topOffset+i;var n=rr("bottom",this);return this.top=Math.max(j(rr("top",this)),this.topOffset)-this.offset,this.bottom=n&&n-i,this.inactive=!this.matchMedia,{lastScroll:!1,height:i,margins:qe(this.$el,["marginTop","marginBottom","marginLeft","marginRight"])}},write:function(t){var e=t.height,i=t.margins,n=this.placeholder;qe(n,G({height:e},i)),Yt(n,document)||($e(this.$el,n),ot(n,"hidden","")),this.isActive=this.isActive},events:["resize"]},{read:function(t){var e=t.scroll;return void 0===e&&(e=0),this.width=(Wt(this.widthElement)?this.widthElement:this.$el).offsetWidth,this.scroll=window.pageYOffset,{dir:e<=this.scroll?"down":"up",scroll:this.scroll,visible:Wt(this.$el),top:ci(this.placeholder)[0]}},write:function(t,e){var i=this,n=t.initTimestamp;void 0===n&&(n=0);var r=t.dir,o=t.lastDir,s=t.lastScroll,a=t.scroll,h=t.top,c=t.visible,l=performance.now();if(t.lastScroll=a,!(a<0||a===s||!c||this.disabled||this.showOnUp&&"scroll"!==e||((l-n>300||r!==o)&&(t.initScroll=a,t.initTimestamp=l),t.lastDir=r,this.showOnUp&&Math.abs(t.initScroll-a)<=30&&Math.abs(s-a)<=10)))if(this.inactive||a<this.top||this.showOnUp&&(a<=this.top||"down"===r||"up"===r&&!this.isFixed&&a<=this.bottomOffset)){if(!this.isFixed)return void(ni.inProgress(this.$el)&&h>a&&(ni.cancel(this.$el),this.hide()));this.isFixed=!1,this.animation&&a>this.topOffset?(ni.cancel(this.$el),ni.out(this.$el,this.animation).then((function(){return i.hide()}),et)):this.hide()}else this.isFixed?this.update():this.animation?(ni.cancel(this.$el),this.show(),ni.in(this.$el,this.animation).catch(et)):this.show()},events:["resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),ot(this.placeholder,"hidden",null)},hide:function(){this.isActive=!1,Oe(this.$el,this.clsFixed,this.clsBelow),qe(this.$el,{position:"",top:"",width:""}),ot(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),qe(this.$el,{position:"fixed",top:e+"px",width:this.width}),this.isActive=t,Fe(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Pe(this.$el,this.clsFixed)}}};function rr(t,e){var i=e.$props,n=e.$el,r=e[t+"Offset"],o=i[t];if(o)return O(o)&&D(o)&&o.match(/^-?\d/)?r+wi(o):si(!0===o?n.parentNode:yt(o,n)).bottom}var or={mixins:[Ui],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.mdp-switcher",toggle:"> * > :first-child",active:0,swiping:!0,cls:"mdp-active",clsContainer:"mdp-switcher",attrItem:"mdp-switcher-item",queued:!0},computed:{connects:{get:function(t,e){return xt(t.connect,e)},watch:function(t){var e=this;t.forEach((function(t){return e.updateAria(t.children)})),this.swiping&&qe(t,"touch-action","pan-y pinch-zoom")},immediate:!0},children:{get:function(){return V(this.$el.children)},watch:function(t){this.show(qt(t,"."+this.cls)[0]||t[this.active]||t[0])},immediate:!0},toggles:function(t,e){return ze(t.toggle,e)}},events:[{name:"click",delegate:function(){return this.toggle+":not(.mdp-disabled)"},handler:function(t){t.preventDefault(),this.show(Bt(this.$el).filter((function(e){return Yt(t.current,e)}))[0])}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(ht(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){var e=t.type;this.show(p(e,"Left")?"next":"previous")}}],methods:{index:function(){return B(this.connects)?-1:ge(qt(this.connects[0].children,"."+this.cls)[0])},show:function(t){for(var e,i,n=this,r=this.children,o=r.length,s=this.index(),a=s>=0,h="previous"===t?-1:1,c=ve(t,r,s),l=0;l<o;l++,c=(c+h+o)%o)if(!Mt(this.toggles[c],".mdp-disabled *, .mdp-disabled, [disabled]")){e=this.toggles[c],i=r[c];break}i&&s!==c&&(Oe(r,this.cls),Pe(i,this.cls),ot(this.toggles,"aria-expanded",!1),ot(e,"aria-expanded",!0),this.connects.forEach((function(t){a?n.toggleElement([t.children[s],t.children[c]]):n.toggleNow(t.children[c])})))}}},sr={mixins:[Yi],extends:or,props:{media:Boolean},data:{media:960,attrItem:"mdp-tab-item"},connected:function(){var t=Le(this.$el,"mdp-tab-left")?"mdp-tab-left":!!Le(this.$el,"mdp-tab-right")&&"mdp-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},ar={mixins:[jn,Ui],args:"target",props:{href:String,target:null,mode:"list"},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get:function(t,e){var i=t.href,n=t.target;return(n=xt(n||i,e)).length&&n||[e]},watch:function(){Kt(this.target,"updatearia",[this])},immediate:!0}},events:[{name:vt+" "+wt,filter:function(){return b(this.mode,"hover")},handler:function(t){se(t)||this.toggle("toggle"+(t.type===vt?"show":"hide"))}},{name:"click",filter:function(){return b(this.mode,"click")||ft&&b(this.mode,"hover")},handler:function(t){var e;(Dt(t.target,'a[href="#"], a[href=""]')||(e=Dt(t.target,"a[href]"))&&(this.cls&&!Le(this.target,this.cls.split(" ")[0])||!Wt(this.target)||e.hash&&Mt(this.target,e.hash)))&&t.preventDefault(),this.toggle()}}],update:{read:function(){return!(!b(this.mode,"media")||!this.media)&&{match:this.matchMedia}},write:function(t){var e=t.match,i=this.isToggled(this.target);(e?!i:i)&&this.toggle()},events:["resize"]},methods:{toggle:function(t){Kt(this.target,t||"toggle",[this])&&this.toggleElement(this.target)}}},hr=Object.freeze({__proto__:null,Accordion:Xi,Alert:Gi,Cover:Ji,Drop:tn,Dropdown:nn,FormCustom:rn,Gif:on,Grid:cn,HeightMatch:dn,HeightViewport:mn,Icon:Tn,Img:Nn,Leader:Wn,Margin:sn,Modal:Un,Nav:Xn,Navbar:Gn,Offcanvas:Kn,OverflowAuto:Zn,Responsive:Qn,Scroll:tr,Scrollspy:er,ScrollspyNav:ir,Sticky:nr,Svg:vn,Switcher:or,Tab:sr,Toggle:ar,Video:Ki,Close:An,Spinner:Cn,SlidenavNext:En,SlidenavPrevious:En,SearchIcon:_n,Marker:kn,NavbarToggleIcon:kn,OverlayIcon:kn,PaginationNext:kn,PaginationPrevious:kn,Totop:kn}),cr={mixins:[Yi],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".mdp-countdown-%unit%"},computed:{date:function(t){var e=t.date;return Date.parse(e)},days:function(t,e){return Me(t.clsWrapper.replace("%unit%","days"),e)},hours:function(t,e){return Me(t.clsWrapper.replace("%unit%","hours"),e)},minutes:function(t,e){return Me(t.clsWrapper.replace("%unit%","minutes"),e)},seconds:function(t,e){return Me(t.clsWrapper.replace("%unit%","seconds"),e)},units:function(){var t=this;return["days","hours","minutes","seconds"].filter((function(e){return t[e]}))}},connected:function(){this.start()},disconnected:function(){var t=this;this.stop(),this.units.forEach((function(e){return we(t[e])}))},events:[{name:"visibilitychange",el:document,handler:function(){document.hidden?this.stop():this.start()}}],update:{write:function(){var t,e,i=this,n=(t=this.date,{total:e=t-Date.now(),seconds:e/1e3%60,minutes:e/1e3/60%60,hours:e/1e3/60/60%24,days:e/1e3/60/60/24});n.total<=0&&(this.stop(),n.days=n.hours=n.minutes=n.seconds=0),this.units.forEach((function(t){var e=String(Math.floor(n[t]));e=e.length<2?"0"+e:e;var r=i[t];r.textContent!==e&&((e=e.split("")).length!==r.children.length&&be(r,e.map((function(){return"<span></span>"})).join("")),e.forEach((function(t,e){return r.children[e].textContent=t})))}))}},methods:{start:function(){this.stop(),this.date&&this.units.length&&(this.$update(),this.timer=setInterval(this.$update,1e3))},stop:function(){this.timer&&(clearInterval(this.timer),this.timer=null)}}};var lr,ur={props:{animation:Number},data:{animation:150},computed:{target:function(){return this.$el}},methods:{animate:function(t){var e=this;!function(){if(lr)return;(lr=ye(document.head,"<style>").sheet).insertRule(".mdp-animation-target > * {\n            margin-top: 0 !important;\n            transform: none !important;\n        }",0)}();var i=Bt(this.target),n=i.map((function(t){return dr(t,!0)})),r=li(this.target),o=window.pageYOffset;t(),ti.cancel(this.target),i.forEach(ti.cancel),fr(this.target),this.$update(this.target),yi.flush();var s=li(this.target),a=(i=i.concat(Bt(this.target).filter((function(t){return!b(i,t)})))).map((function(t,e){return!(!t.parentNode||!(e in n))&&(n[e]?Wt(t)?pr(t):{opacity:0}:{opacity:Wt(t)?1:0})}));return n=a.map((function(t,r){var o=i[r].parentNode===e.target&&(n[r]||dr(i[r]));if(o)if(t){if(!("opacity"in t)){o.opacity%1?t.opacity=1:delete o.opacity}}else delete o.opacity;return o})),Pe(this.target,"mdp-animation-target"),i.forEach((function(t,e){return n[e]&&qe(t,n[e])})),qe(this.target,"height",r),Oi(window,o),he.all(i.map((function(t,i){return n[i]&&a[i]?ti.start(t,a[i],e.animation,"ease"):he.resolve()})).concat(ti.start(this.target,{height:s},this.animation,"ease"))).then((function(){i.forEach((function(t,e){return qe(t,{display:0===a[e].opacity?"none":"",zIndex:""})})),fr(e.target),e.$update(e.target),yi.flush()}),et)}}};function dr(t,e){var i=qe(t,"zIndex");return!!Wt(t)&&G({display:"",opacity:e?qe(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===i?ge(t):i},pr(t))}function fr(t){qe(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",width:""}),Oe(t,"mdp-animation-target"),qe(t,"height","")}function pr(t){var e=si(t),i=e.height,n=e.width,r=hi(t);return{top:r.top,left:r.left,height:i,width:n}}var mr={mixins:[ur],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"mdp-filter-control",cls:"mdp-active",animation:250},computed:{toggles:{get:function(t,e){t.attrItem;return ze("["+this.attrItem+"],[data-"+this.attrItem+"]",e)},watch:function(){var t=this;if(this.updateState(),!1!==this.selActive){var e=ze(this.selActive,this.$el);this.toggles.forEach((function(i){return Fe(i,t.cls,b(e,i))}))}},immediate:!0},target:function(t,e){return Me(t.target,e)},children:{get:function(){return Bt(this.target)},watch:function(t,e){var i,n;n=e,(i=t).length===n.length&&i.every((function(t){return~n.indexOf(t)}))||this.updateState()}}},events:[{name:"click",delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.apply(t.current)}}],methods:{apply:function(t){this.setState(vr(t,this.attrItem,this.getState()))},getState:function(){var t=this;return this.toggles.filter((function(e){return Le(e,t.cls)})).reduce((function(e,i){return vr(i,t.attrItem,e)}),{filter:{"":""},sort:[]})},setState:function(t,e){var i=this;void 0===e&&(e=!0),t=G({filter:{"":""},sort:[]},t),Kt(this.$el,"beforeFilter",[this,t]);var n=this.children;this.toggles.forEach((function(e){return Fe(e,i.cls,!!function(t,e,i){var n=i.filter;void 0===n&&(n={"":""});var r=i.sort,o=r[0],s=r[1],a=gr(t,e),h=a.filter;void 0===h&&(h="");var c=a.group;void 0===c&&(c="");var l=a.sort,u=a.order;void 0===u&&(u="asc");return H(l)?c in n&&h===n[c]||!h&&c&&!(c in n)&&!n[""]:o===l&&s===u}(e,i.attrItem,t))}));var r=function(){var e=function(t){var e=t.filter,i="";return J(e,(function(t){return i+=t||""})),i}(t);n.forEach((function(t){return qe(t,"display",e&&!Mt(t,e)?"none":"")}));var r=t.sort,o=r[0],s=r[1];if(o){var a=function(t,e,i){return G([],t).sort((function(t,n){return ht(t,e).localeCompare(ht(n,e),void 0,{numeric:!0})*("asc"===i||-1)}))}(n,o,s);U(a,n)||a.forEach((function(t){return ye(i.target,t)}))}};e?this.animate(r).then((function(){return Kt(i.$el,"afterFilter",[i])})):(r(),Kt(this.$el,"afterFilter",[this]))},updateState:function(){var t=this;yi.write((function(){return t.setState(t.getState(),!1)}))}}};function gr(t,e){return Ni(ht(t,e),["filter"])}function vr(t,e,i){var n=gr(t,e),r=n.filter,o=n.group,s=n.sort,a=n.order;return void 0===a&&(a="asc"),(r||H(s))&&(o?r?(delete i.filter[""],i.filter[o]=r):(delete i.filter[o],(B(i.filter)||""in i.filter)&&(i.filter={"":r||""})):i.filter={"":r||""}),H(s)||(i.sort=[s,a]),i}var wr={slide:{show:function(t){return[{transform:yr(-100*t)},{transform:yr()}]},percent:function(t){return br(t)},translate:function(t,e){return[{transform:yr(-100*e*t)},{transform:yr(100*e*(1-t))}]}}};function br(t){return Math.abs(qe(t,"transform").split(",")[4]/t.offsetWidth)||0}function yr(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),t+=t?e:"",ct?"translateX("+t+")":"translate3d("+t+", 0, 0)"}function xr(t){return"scale3d("+t+", "+t+", 1)"}var $r=G({},wr,{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-qe(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:xr(.8)},{opacity:1,transform:xr(1)}]},percent:function(t){return 1-qe(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:xr(1-.2*t)},{opacity:t,transform:xr(.8+.2*t)}]}}});function Ir(t,e,i){Kt(t,Jt(e,!1,!1,i))}var Sr={mixins:[{props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected:function(){this.autoplay&&this.startAutoplay()},disconnected:function(){this.stopAutoplay()},update:function(){ot(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:document,filter:function(){return this.autoplay},handler:function(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay:function(){var t=this;this.stopAutoplay(),this.interval=setInterval((function(){return(!t.draggable||!Me(":focus",t.$el))&&(!t.pauseOnHover||!Mt(t.$el,":hover"))&&!t.stack.length&&t.show("next")}),this.autoplayInterval)},stopAutoplay:function(){this.interval&&clearInterval(this.interval)}}},{props:{draggable:Boolean},data:{draggable:!0,threshold:10},created:function(){var t=this;["start","move","end"].forEach((function(e){var i=t[e];t[e]=function(e){var n=ae(e).x*(lt?-1:1);t.prevPos=n!==t.pos?t.pos:t.prevPos,t.pos=n,i(e)}}))},events:[{name:pt,delegate:function(){return this.selSlides},handler:function(t){var e;!this.draggable||!se(t)&&(e=t.target,!e.children.length&&e.childNodes.length)||Dt(t.target,Vt)||t.button>0||this.length<2||this.start(t)}},{name:"touchmove",passive:!1,handler:"move",delegate:function(){return this.selSlides}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(){var t=this;this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index;var e="touchmove"!==mt?Ut(document,mt,this.move,{passive:!1}):et;this.unbindMove=function(){e(),t.unbindMove=null},Ut(window,"scroll",this.unbindMove),Ut(document,gt,this.end,!0),qe(this.list,"userSelect","none")},move:function(t){if(!window.mdpGliderElementorEditor){var e=this;if(this.unbindMove){var i=this.pos-this.drag;if(!(0===i||this.prevPos===this.pos||!this.dragging&&Math.abs(i)<this.threshold)){qe(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=i<0?1:-1;for(var n=this.slides,r=this.prevIndex,o=Math.abs(i),s=this.getIndex(r+this.dir,r),a=this._getDistance(r,s)||n[r].offsetWidth;s!==r&&o>a;)this.drag-=a*this.dir,r=s,o-=a,s=this.getIndex(r+this.dir,r),a=this._getDistance(r,s)||n[r].offsetWidth;this.percent=o/a;var h,c=n[r],l=n[s],u=this.index!==s,d=r===s;[this.index,this.prevIndex].filter((function(t){return!b([s,r],t)})).forEach((function(t){Kt(n[t],"itemhidden",[e]),d&&(h=!0,e.prevIndex=r)})),(this.index===r&&this.prevIndex!==r||h)&&Kt(n[this.index],"itemshown",[this]),u&&(this.prevIndex=r,this.index=s,!d&&Kt(c,"beforeitemhide",[this]),Kt(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),c,!d&&l),u&&(!d&&Kt(c,"itemhide",[this]),Kt(l,"itemshow",[this]))}}}},end:function(){if(Xt(window,"scroll",this.unbindMove),this.unbindMove&&this.unbindMove(),Xt(document,gt,this.end,!0),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{var t=(lt?this.dir*(lt?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}qe(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}},{data:{selNav:!1},computed:{nav:function(t,e){return Me(t.selNav,e)},selNavItem:function(t){var e=t.attrItem;return"["+e+"],[data-"+e+"]"},navItems:function(t,e){return ze(this.selNavItem,e)}},update:{write:function(){var t=this;this.nav&&this.length!==this.nav.children.length&&be(this.nav,this.slides.map((function(e,i){return"<li "+t.attrItem+'="'+i+'"><a href="#"></a></li>'})).join("")),Fe(ze(this.selNavItem,this.$el).concat(this.nav),"mdp-hidden",!this.maxIndex),this.updateNav()},events:["resize"]},events:[{name:"click",delegate:function(){return this.selNavItem},handler:function(t){t.preventDefault(),this.show(ht(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var t=this,e=this.getValidIndex();this.navItems.forEach((function(i){var n=ht(i,t.attrItem);Fe(i,t.clsActive,F(n)===e),Fe(i,"mdp-invisible",t.finite&&("previous"===n&&0===e||"next"===n&&e>=t.maxIndex))}))}}}],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number,selSlides:String},data:function(){return{easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"mdp-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}},connected:function(){this.prevIndex=-1,this.index=this.getValidIndex(this.index),this.stack=[]},disconnected:function(){Oe(this.slides,this.clsActive)},computed:{duration:function(t,e){var i=t.velocity;return Tr(e.offsetWidth/i)},list:function(t,e){return Me(t.selList,e)},maxIndex:function(){return this.length-1},selSlides:function(t){return t.selList+" "+(t.selSlides||"> *")},slides:{get:function(){return ze(this.selSlides,this.$el)},watch:function(){this.$reset()}},length:function(){return this.slides.length}},events:{itemshown:function(){this.$update(this.list)}},methods:{show:function(t,e){var i=this;if(void 0===e&&(e=!1),!this.dragging&&this.length){var n=this.stack,r=e?0:n.length,o=function(){n.splice(r,1),n.length&&i.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1)2===n.length&&this._transitioner.forward(Math.min(this.duration,200));else{var s=this.index,a=Le(this.slides,this.clsActive)&&this.slides[s],h=this.getIndex(t,this.index),c=this.slides[h];if(a!==c){if(this.dir=function(t,e){return"next"===t?1:"previous"===t||t<e?-1:1}(t,s),this.prevIndex=s,this.index=h,a&&Kt(a,"beforeitemhide",[this]),!Kt(c,"beforeitemshow",[this,a]))return this.index=this.prevIndex,void o();var l=this._show(a,c,e).then((function(){return a&&Kt(a,"itemhidden",[i]),Kt(c,"itemshown",[i]),new he((function(t){yi.write((function(){n.shift(),n.length?i.show(n.shift(),!0):i._transitioner=null,t()}))}))}));return a&&Kt(a,"itemhide",[this]),Kt(c,"itemshow",[this]),l}o()}}},getIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.index),tt(ve(t,this.slides,e,this.finite),0,this.maxIndex)},getValidIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),this.getIndex(t,e)},_show:function(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,G({easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing},this.transitionOptions)),!i&&!t)return this._translate(1),he.resolve();var n=this.stack.length;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_getDistance:function(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate:function(t,e,i){void 0===e&&(e=this.prevIndex),void 0===i&&(i=this.index);var n=this._getTransitioner(e!==i&&e,i);return n.translate(t),n},_getTransitioner:function(t,e,i,n){return void 0===t&&(t=this.prevIndex),void 0===e&&(e=this.index),void 0===i&&(i=this.dir||1),void 0===n&&(n=this.transitionOptions),new this.Transitioner(P(t)?this.slides[t]:t,P(e)?this.slides[e]:e,i*(lt?-1:1),n)}}};function Tr(t){return.5*t+300}var kr={mixins:[Sr],props:{animation:String},data:{animation:"slide",clsActivated:"mdp-transition-active",Animations:wr,Transitioner:function(t,e,i,n){var r=n.animation,o=n.easing,s=r.percent,a=r.translate,h=r.show;void 0===h&&(h=et);var c=h(i),l=new ce;return{dir:i,show:function(n,r,s){var a=this;void 0===r&&(r=0);var h=s?"linear":o;return n-=Math.round(n*tt(r,-1,1)),this.translate(r),Ir(e,"itemin",{percent:r,duration:n,timing:h,dir:i}),Ir(t,"itemout",{percent:1-r,duration:n,timing:h,dir:i}),he.all([ti.start(e,c[1],n,h),ti.start(t,c[0],n,h)]).then((function(){a.reset(),l.resolve()}),et),l.promise},stop:function(){return ti.stop([e,t])},cancel:function(){ti.cancel([e,t])},reset:function(){for(var i in c[0])qe([e,t],i,"")},forward:function(i,n){return void 0===n&&(n=this.percent()),ti.cancel([e,t]),this.show(i,n,!0)},translate:function(n){this.reset();var r=a(n,i);qe(e,r[1]),qe(t,r[0]),Ir(e,"itemtranslatein",{percent:n,dir:i}),Ir(t,"itemtranslateout",{percent:1-n,dir:i})},percent:function(){return s(t||e,e,i)},getDistance:function(){return t&&t.offsetWidth}}}},computed:{animation:function(t){var e=t.animation,i=t.Animations;return G(e in i?i[e]:i.slide,{name:e})},transitionOptions:function(){return{animation:this.animation}}},events:{"itemshow itemhide itemshown itemhidden":function(t){var e=t.target;this.$update(e)},beforeitemshow:function(t){Pe(t.target,this.clsActive)},itemshown:function(t){Pe(t.target,this.clsActivated)},itemhidden:function(t){Oe(t.target,this.clsActive,this.clsActivated)}}},Er={mixins:[Vn,qn,Ui,kr],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:function(){return{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"mdp-open",clsPage:"mdp-lightbox-page",selList:".mdp-lightbox-items",attrItem:"mdp-lightbox-item",selClose:".mdp-close-large",selCaption:".mdp-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:$r,template:'<div class="mdp-lightbox mdp-overflow-hidden"> <ul class="mdp-lightbox-items"></ul> <div class="mdp-lightbox-toolbar mdp-position-top mdp-text-right mdp-transition-slide-top mdp-transition-opaque"> <button class="mdp-lightbox-toolbar-icon mdp-close-large" type="button" mdp-close></button> </div> <a class="mdp-lightbox-button mdp-position-center-left mdp-position-medium mdp-transition-fade" href="#" mdp-slidenav-previous mdp-lightbox-item="previous"></a> <a class="mdp-lightbox-button mdp-position-center-right mdp-position-medium mdp-transition-fade" href="#" mdp-slidenav-next mdp-lightbox-item="next"></a> <div class="mdp-lightbox-toolbar mdp-lightbox-caption mdp-position-bottom mdp-text-center mdp-transition-slide-bottom mdp-transition-opaque"></div> </div>'}},created:function(){var t=Me(this.template),e=Me(this.selList,t);this.items.forEach((function(){return ye(e,"<li></li>")})),this.$mount(ye(this.container,t))},computed:{caption:function(t,e){t.selCaption;return Me(".mdp-lightbox-caption",e)}},events:[{name:mt+" "+pt+" keydown",handler:"showControls"},{name:"click",self:!0,delegate:function(){return this.selSlides},handler:function(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler:function(){this.showControls()}},{name:"hide",self:!0,handler:function(){this.hideControls(),Oe(this.slides,this.clsActive),ti.stop(this.slides)}},{name:"hidden",self:!0,handler:function(){this.$destroy(!0)}},{name:"keyup",el:document,handler:function(t){if(this.isToggled(this.$el))switch(t.keyCode){case 37:this.show("previous");break;case 39:this.show("next")}}},{name:"beforeitemshow",handler:function(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleNow(this.$el,!0),this.animation=$r.scale,Oe(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler:function(t){var e=ge(t.target),i=this.getItem(e).caption;qe(this.caption,"display",i?"":"none"),be(this.caption,i);for(var n=0;n<=this.preload;n++)this.loadItem(this.getIndex(e+n)),this.loadItem(this.getIndex(e-n))}},{name:"itemshown",handler:function(){this.draggable=this.$props.draggable}},{name:"itemload",handler:function(t,e){var i,n=this,r=e.source,o=e.type,s=e.alt;if(this.setItem(e,"<span mdp-spinner></span>"),r)if("image"===o||r.match(/\.(jpe?g|png|gif|svg|webp)($|\?)/i))pe(r).then((function(t){return n.setItem(e,'<img width="'+t.width+'" height="'+t.height+'" src="'+r+'" alt="'+(s||"")+'">')}),(function(){return n.setError(e)}));else if("video"===o||r.match(/\.(mp4|webm|ogv)($|\?)/i)){var a=Me("<video controls playsinline"+(e.poster?' poster="'+e.poster+'"':"")+' mdp-video="'+this.videoAutoplay+'"></video>');ot(a,"src",r),Gt(a,"error loadedmetadata",(function(t){"error"===t?n.setError(e):(ot(a,{width:a.videoWidth,height:a.videoHeight}),n.setItem(e,a))}))}else if("iframe"===o||r.match(/\.(html|php)($|\?)/i))this.setItem(e,'<iframe class="mdp-lightbox-iframe" src="'+r+'" frameborder="0" allowfullscreen></iframe>');else if(i=r.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/watch\?v=([^&\s]+)/)||r.match(/()youtu\.be\/(.*)/)){var h=i[2],c=function(t,r){return void 0===t&&(t=640),void 0===r&&(r=450),n.setItem(e,_r("https://www.youtube"+(i[1]||"")+".com/embed/"+h,t,r,n.videoAutoplay))};pe("https://img.youtube.com/vi/"+h+"/maxresdefault.jpg").then((function(t){var e=t.width,i=t.height;120===e&&90===i?pe("https://img.youtube.com/vi/"+h+"/0.jpg").then((function(t){var e=t.width,i=t.height;return c(e,i)}),c):c(e,i)}),c)}else(i=r.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/))&&fe("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(r),{responseType:"json",withCredentials:!1}).then((function(t){var r=t.response,o=r.height,s=r.width;return n.setItem(e,_r("https://player.vimeo.com/video/"+i[2],s,o,n.videoAutoplay))}),(function(){return n.setError(e)}))}}],methods:{loadItem:function(t){void 0===t&&(t=this.index);var e=this.getItem(t);e.content||Kt(this.$el,"itemload",[e])},getItem:function(t){return void 0===t&&(t=this.index),this.items[t]||{}},setItem:function(t,e){G(t,{content:e});var i=be(this.slides[this.items.indexOf(t)],e);Kt(this.$el,"itemloaded",[this,i]),this.$update(i)},setError:function(t){this.setItem(t,'<span mdp-icon="icon: bolt; ratio: 2"></span>')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),Pe(this.$el,"mdp-active","mdp-transition-active")},hideControls:function(){Oe(this.$el,"mdp-active","mdp-transition-active")}}};function _r(t,e,i,n){return'<iframe src="'+t+'" width="'+e+'" height="'+i+'" style="max-width: 100%; box-sizing: border-box;" frameborder="0" allowfullscreen mdp-video="autoplay: '+n+'" mdp-responsive></iframe>'}var Ar,Cr={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",Er);G(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get:function(t,e){return ze(t.toggle,e)},watch:function(){this.hide()}},items:function(){return Q(this.toggles.map(Nr),"source")}},disconnected:function(){this.hide()},events:[{name:"click",delegate:function(){return this.toggle+":not(.mdp-disabled)"},handler:function(t){t.preventDefault();var e=ht(t.current,"href");this.show(x(this.items,(function(t){return t.source===e})))}}],methods:{show:function(t){var e=this;return this.panel=this.panel||this.$create("lightboxPanel",G({},this.$props,{items:this.items})),Ut(this.panel.$el,"hidden",(function(){return e.panel=!1})),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}};function Nr(t){return["href","caption","type","poster","alt"].reduce((function(e,i){return e["href"===i?"source":i]=ht(t,i),e}),{})}var Mr={},zr={functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsClose:"mdp-notification-close",clsMsg:"mdp-notification-message"},install:function(t){t.notification.closeAll=function(e,i){Ne(document.body,(function(n){var r=t.getComponent(n,"notification");!r||e&&e!==r.group||r.close(i)}))}},computed:{marginProp:function(t){return"margin"+(d(t.pos,"top")?"Top":"Bottom")},startProps:function(){var t;return(t={opacity:0})[this.marginProp]=-this.$el.offsetHeight,t}},created:function(){Mr[this.pos]||(Mr[this.pos]=ye(this.$container,'<div class="mdp-notification mdp-notification-'+this.pos+'"></div>'));var t=qe(Mr[this.pos],"display","block");this.$mount(ye(t,'<div class="'+this.clsMsg+(this.status?" "+this.clsMsg+"-"+this.status:"")+'"> <a href="#" class="'+this.clsClose+'" data-mdp-close></a> <div>'+this.message+"</div> </div>"))},connected:function(){var t,e=this,i=j(qe(this.$el,this.marginProp));ti.start(qe(this.$el,this.startProps),(t={opacity:1},t[this.marginProp]=i,t)).then((function(){e.timeout&&(e.timer=setTimeout(e.close,e.timeout))}))},events:(Ar={click:function(t){Dt(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()}},Ar[vt]=function(){this.timer&&clearTimeout(this.timer)},Ar[wt]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},Ar),methods:{close:function(t){var e=this,i=function(){Kt(e.$el,"close",[e]),Se(e.$el),Mr[e.pos].children.length||qe(Mr[e.pos],"display","none")};this.timer&&clearTimeout(this.timer),t?i():ti.start(this.$el,this.startProps).then(i)}}};var Dr=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity","stroke"],Pr={mixins:[jn],props:Dr.reduce((function(t,e){return t[e]="list",t}),{}),data:Dr.reduce((function(t,e){return t[e]=void 0,t}),{}),computed:{props:function(t,e){var i=this;return Dr.reduce((function(n,r){if(H(t[r]))return n;var o,s,a,h=r.match(/color/i),c=h||"opacity"===r,l=t[r].slice(0);c&&qe(e,r,""),l.length<2&&l.unshift(("scale"===r?1:c?qe(e,r):0)||0);var u=function(t){return t.reduce((function(t,e){return D(e)&&e.replace(/-|\d/g,"").trim()||t}),"")}(l);if(h){var f=e.style.color;l=l.map((function(t){return function(t,e){return qe(qe(t,"color",e),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(j)}(e,t)})),e.style.color=f}else if(d(r,"bg")){var p="bgy"===r?"height":"width";if(l=l.map((function(t){return wi(t,p,i.$el)})),qe(e,"background-position-"+r[2],""),s=qe(e,"backgroundPosition").split(" ")["x"===r[2]?0:1],i.covers){var m=Math.min.apply(Math,l),g=Math.max.apply(Math,l),v=l.indexOf(m)<l.indexOf(g);a=g-m,l=l.map((function(t){return t-(v?m:g)})),o=(v?-a:0)+"px"}else o=s}else l=l.map(j);if("stroke"===r){if(!l.some((function(t){return t})))return n;var w=xn(i.$el);qe(e,"strokeDasharray",w),"%"===u&&(l=l.map((function(t){return t*w/100}))),l=l.reverse(),r="strokeDashoffset"}return n[r]={steps:l,unit:u,pos:o,bgPos:s,diff:a},n}),{})},bgProps:function(){var t=this;return["bgx","bgy"].filter((function(e){return e in t.props}))},covers:function(t,e){return function(t){var e=t.style.backgroundSize,i="cover"===qe(qe(t,"backgroundSize",""),"backgroundSize");return t.style.backgroundSize=e,i}(e)}},disconnected:function(){delete this._image},update:{read:function(t){var e=this;if(t.active=this.matchMedia,t.active){if(!t.image&&this.covers&&this.bgProps.length){var i=qe(this.$el,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(i){var n=new Image;n.src=i,t.image=n,n.naturalWidth||(n.onload=function(){return e.$update()})}}var r=t.image;if(r&&r.naturalWidth){var o={width:this.$el.offsetWidth,height:this.$el.offsetHeight},s={width:r.naturalWidth,height:r.naturalHeight},a=rt.cover(s,o);this.bgProps.forEach((function(t){var i=e.props[t],n=i.diff,r=i.bgPos,h=i.steps,c="bgy"===t?"height":"width",l=a[c]-o[c];if(l<n)o[c]=a[c]+n-l;else if(l>n){var u=o[c]/wi(r,c,e.$el);u&&(e.props[t].steps=h.map((function(t){return t-(l-n)/u})))}a=rt.cover(s,o)})),t.dim=a}}},write:function(t){var e=t.dim;t.active?e&&qe(this.$el,{backgroundSize:e.width+"px "+e.height+"px",backgroundRepeat:"no-repeat"}):qe(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["resize"]},methods:{reset:function(){var t=this;J(this.getCss(0),(function(e,i){return qe(t.$el,i,"")}))},getCss:function(t){var e=this.props;return Object.keys(e).reduce((function(i,n){var r=e[n],o=r.steps,s=r.unit,a=r.pos,h=function(t,e,i){void 0===i&&(i=2);var n=Or(t,e),r=n[0],o=n[1],s=n[2];return(P(r)?r+Math.abs(r-o)*s*(r<o?1:-1):+o).toFixed(i)}(o,t);switch(n){case"x":case"y":s=s||"px",i.transform+=" translate"+c(n)+"("+j(h).toFixed("px"===s?0:2)+s+")";break;case"rotate":s=s||"deg",i.transform+=" rotate("+(h+s)+")";break;case"scale":i.transform+=" scale("+h+")";break;case"bgy":case"bgx":i["background-position-"+n[2]]="calc("+a+" + "+h+"px)";break;case"color":case"backgroundColor":case"borderColor":var l=Or(o,t),u=l[0],d=l[1],f=l[2];i[n]="rgba("+u.map((function(t,e){return t+=f*(d[e]-t),3===e?j(t):parseInt(t,10)})).join(",")+")";break;case"blur":s=s||"px",i.filter+=" blur("+(h+s)+")";break;case"hue":s=s||"deg",i.filter+=" hue-rotate("+(h+s)+")";break;case"fopacity":s=s||"%",i.filter+=" opacity("+(h+s)+")";break;case"grayscale":case"invert":case"saturate":case"sepia":s=s||"%",i.filter+=" "+n+"("+(h+s)+")";break;default:i[n]=h}return i}),{transform:"",filter:""})}}};function Or(t,e){var i=t.length-1,n=Math.min(Math.floor(i*e),i-1),r=t.slice(n,n+2);return r.push(1===e?1:e%(1/i)*i),r}var Br={mixins:[Pr],props:{target:String,viewport:Number,easing:Number},data:{target:!1,viewport:1,easing:1},computed:{target:function(t,e){var i=t.target;return function t(e){return e?"offsetTop"in e?e:t(e.parentNode):document.body}(i&&yt(i,e)||e)}},update:{read:function(t,e){var i=t.percent;if("scroll"!==e&&(i=!1),t.active){var n=i;return{percent:i=function(t,e){return tt(t*(1-(e-e*t)))}(Hi(this.target)/(this.viewport||1),this.easing),style:n!==i&&this.getCss(i)}}},write:function(t){var e=t.style;t.active?e&&qe(this.$el,e):this.reset()},events:["scroll","resize"]}};var Hr={update:{write:function(){if(!this.stack.length&&!this.dragging){var t=this.getValidIndex(this.index);~this.prevIndex&&this.index===t||this.show(t)}},events:["resize"]}};function Lr(t,e,i){var n=Wr(t,e);return i?n-function(t,e){return si(e).width/2-si(t).width/2}(t,e):Math.min(n,Fr(e))}function Fr(t){return Math.max(0,jr(t)-si(t).width)}function jr(t){return Rr(t).reduce((function(t,e){return si(e).width+t}),0)}function Wr(t,e){return(hi(t).left+(lt?si(t).width-si(e).width:0))*(lt?-1:1)}function Vr(t,e,i){Kt(t,Jt(e,!1,!1,i))}function Rr(t){return Bt(t)}var qr={mixins:[Yi,Sr,Hr],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"mdp-slider-item",selList:".mdp-slider-items",selNav:".mdp-slider-nav",clsContainer:"mdp-slider-container",Transitioner:function(t,e,i,n){var r=n.center,o=n.easing,s=n.list,a=new ce,h=t?Lr(t,s,r):Lr(e,s,r)+si(e).width*i,c=e?Lr(e,s,r):h+si(t).width*i*(lt?-1:1);return{dir:i,show:function(e,n,r){void 0===n&&(n=0);var h=r?"linear":o;return e-=Math.round(e*tt(n,-1,1)),this.translate(n),t&&this.updateTranslates(),n=t?n:tt(n,0,1),Vr(this.getItemIn(),"itemin",{percent:n,duration:e,timing:h,dir:i}),t&&Vr(this.getItemIn(!0),"itemout",{percent:1-n,duration:e,timing:h,dir:i}),ti.start(s,{transform:yr(-c*(lt?-1:1),"px")},e,h).then(a.resolve,et),a.promise},stop:function(){return ti.stop(s)},cancel:function(){ti.cancel(s)},reset:function(){qe(s,"transform","")},forward:function(t,e){return void 0===e&&(e=this.percent()),ti.cancel(s),this.show(t,e,!0)},translate:function(e){var n=this.getDistance()*i*(lt?-1:1);qe(s,"transform",yr(tt(n-n*e-c,-jr(s),si(s).width)*(lt?-1:1),"px")),this.updateTranslates(),t&&(e=tt(e,-1,1),Vr(this.getItemIn(),"itemtranslatein",{percent:e,dir:i}),Vr(this.getItemIn(!0),"itemtranslateout",{percent:1-e,dir:i}))},percent:function(){return Math.abs((qe(s,"transform").split(",")[4]*(lt?-1:1)+h)/(c-h))},getDistance:function(){return Math.abs(c-h)},getItemIn:function(e){void 0===e&&(e=!1);var n=this.getActives(),r=Z(Rr(s),"offsetLeft"),o=ge(r,n[i*(e?-1:1)>0?n.length-1:0]);return~o&&r[o+(t&&!e?i:0)]},getActives:function(){var i=Lr(t||e,s,r);return Z(Rr(s).filter((function(t){var e=Wr(t,s);return e>=i&&e+si(t).width<=si(s).width+i})),"offsetLeft")},updateTranslates:function(){var t=this.getActives();Rr(s).forEach((function(i){var n=b(t,i);Vr(i,"itemtranslate"+(n?"in":"out"),{percent:n?1:0,dir:i.offsetLeft<=e.offsetLeft?1:-1})}))}}}},computed:{avgWidth:function(){return jr(this.list)/this.length},finite:function(t){return t.finite||Math.ceil(jr(this.list))<si(this.list).width+Rr(this.list).reduce((function(t,e){return Math.max(t,si(e).width)}),0)+this.center},maxIndex:function(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return K(this.sets);qe(this.slides,"order","");for(var t=Fr(this.list),e=this.length;e--;)if(Wr(this.list.children[e],this.list)<t)return Math.min(e+1,this.length-1);return 0},sets:function(t){var e=this,i=t.sets,n=si(this.list).width/(this.center?2:1),r=0,o=n,s=0;return!B(i=i&&this.slides.reduce((function(t,i,a){var h=si(i).width;if(s+h>r&&(!e.center&&a>e.maxIndex&&(a=e.maxIndex),!b(t,a))){var c=e.slides[a+1];e.center&&c&&h<o-si(c).width/2?o-=h:(o=n,t.push(a),r=s+n+(e.center?h/2:0))}return s+=h,t}),[]))&&i},transitionOptions:function(){return{center:this.center,list:this.list}}},connected:function(){Fe(this.$el,this.clsContainer,!Me("."+this.clsContainer,this.$el))},update:{write:function(){var t=this;ze("["+this.attrItem+"],[data-"+this.attrItem+"]",this.$el).forEach((function(e){var i=ht(e,t.attrItem);t.maxIndex&&Fe(e,"mdp-hidden",O(i)&&(t.sets&&!b(t.sets,j(i))||i>t.maxIndex))})),!this.length||this.dragging||this.stack.length||this._translate(1)},events:["resize"]},events:{beforeitemshow:function(t){!this.dragging&&this.sets&&this.stack.length<2&&!b(this.sets,this.index)&&(this.index=this.getValidIndex());var e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(var i=0;i<e;i++)this.stack.splice(1,0,this.dir>0?"next":"previous");t.preventDefault()}else this.duration=Tr(this.avgWidth/this.velocity)*(si(this.dir<0||!this.slides[this.prevIndex]?this.slides[this.index]:this.slides[this.prevIndex]).width/this.avgWidth),this.reorder()},itemshow:function(){!H(this.prevIndex)&&Pe(this._getTransitioner().getItemIn(),this.clsActive)},itemshown:function(){var t=this,e=this._getTransitioner(this.index).getActives();this.slides.forEach((function(i){return Fe(i,t.clsActive,b(e,i))})),(!this.sets||b(this.sets,j(this.index)))&&this.slides.forEach((function(i){return Fe(i,t.clsActivated,b(e,i))}))}},methods:{reorder:function(){var t=this;if(qe(this.slides,"order",""),!this.finite){var e=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((function(i,n){return qe(i,"order",t.dir>0&&n<e?1:t.dir<0&&n>=t.index?-1:"")})),this.center)for(var i=this.slides[e],n=si(this.list).width/2-si(i).width/2,r=0;n>0;){var o=this.getIndex(--r+e,e),s=this.slides[o];qe(s,"order",o>e?-2:-1),n-=si(s).width}}},getValidIndex:function(t,e){if(void 0===t&&(t=this.index),void 0===e&&(e=this.prevIndex),t=this.getIndex(t,e),!this.sets)return t;var i;do{if(b(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t}}},Yr={mixins:[Pr],data:{selItem:"!li"},computed:{item:function(t,e){return yt(t.selItem,e)}},events:[{name:"itemshown",self:!0,el:function(){return this.item},handler:function(){qe(this.$el,this.getCss(.5))}},{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,n=i.percent,r=i.duration,o=i.timing,s=i.dir;ti.cancel(this.$el),qe(this.$el,this.getCss(Xr(e,s,n))),ti.start(this.$el,this.getCss(Ur(e)?.5:s>0?1:0),r,o).catch(et)}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){ti.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=t.type,i=t.detail,n=i.percent,r=i.dir;ti.cancel(this.$el),qe(this.$el,this.getCss(Xr(e,r,n)))}}]};function Ur(t){return p(t,"in")}function Xr(t,e,i){return i/=2,Ur(t)?e<0?1-i:i:e<0?i:1-i}var Gr,Kr,Jr=G({},wr,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-qe(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:xr(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-qe(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:xr(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:yr(30),zIndex:-1},{transform:yr(),zIndex:0}]:[{transform:yr(-100),zIndex:0},{transform:yr(),zIndex:-1}]},percent:function(t,e,i){return i<0?1-br(e):br(t)},translate:function(t,e){return e<0?[{transform:yr(30*t),zIndex:-1},{transform:yr(-100*(1-t)),zIndex:0}]:[{transform:yr(100*-t),zIndex:0},{transform:yr(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:yr(100),zIndex:0},{transform:yr(),zIndex:-1}]:[{transform:yr(-30),zIndex:-1},{transform:yr(),zIndex:0}]},percent:function(t,e,i){return i>0?1-br(e):br(t)},translate:function(t,e){return e<0?[{transform:yr(100*t),zIndex:0},{transform:yr(-30*(1-t)),zIndex:-1}]:[{transform:yr(-30*t),zIndex:-1},{transform:yr(100*(1-t)),zIndex:0}]}}}),Zr={mixins:[Yi,kr,Hr],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".mdp-slideshow-items",attrItem:"mdp-slideshow-item",selNav:".mdp-slideshow-nav",Animations:Jr},update:{read:function(){var t=this.ratio.split(":").map(Number),e=t[0],i=t[1];return i=i*this.list.offsetWidth/e||0,this.minHeight&&(i=Math.max(this.minHeight,i)),this.maxHeight&&(i=Math.min(this.maxHeight,i)),{height:i-fi(this.list,"height","content-box")}},write:function(t){var e=t.height;e>0&&qe(this.list,"minHeight",e)},events:["resize"]}},Qr={mixins:[Yi,ur],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"mdp-sortable-item",clsPlaceholder:"mdp-sortable-placeholder",clsDrag:"mdp-sortable-drag",clsDragState:"mdp-drag",clsBase:"mdp-sortable",clsNoDrag:"mdp-sortable-nodrag",clsEmpty:"mdp-sortable-empty",clsCustom:"",handle:!1,pos:{}},created:function(){var t=this;["init","start","move","end"].forEach((function(e){var i=t[e];t[e]=function(e){t.scrollY=window.pageYOffset,G(t.pos,ae(e,"page")),i(e)}}))},events:{name:pt,passive:!1,handler:"init"},update:{write:function(){if(this.clsEmpty&&Fe(this.$el,this.clsEmpty,B(this.$el.children)),qe(this.handle?ze(this.handle,this.$el):this.$el.children,{touchAction:"none",userSelect:"none"}),this.drag){var t=si(window),e=t.right,i=t.bottom;si(this.drag,{top:tt(this.pos.y+this.origin.top,0,i-this.drag.offsetHeight),left:tt(this.pos.x+this.origin.left,0,e-this.drag.offsetWidth)})}}},methods:{init:function(t){var e=t.target,i=t.button,n=t.defaultPrevented,r=Bt(this.$el).filter((function(t){return Yt(e,t)}))[0];!r||n||i>0||Rt(e)||Yt(e,"."+this.clsNoDrag)||this.handle&&!Yt(e,this.handle)||(t.preventDefault(),this.touched=[this],this.placeholder=r,this.origin=G({target:e,index:ge(r)},this.pos),Ut(document,mt,this.move),Ut(document,gt,this.end),Ut(window,"scroll",this.scroll),this.threshold||this.start(t))},start:function(t){var e,i,n;this.drag=(e=this.$container,i=this.placeholder,qe(n=ye(e,i.outerHTML.replace(/(^<)li|li(\/>$)/g,"$1div$2")),G({boxSizing:"border-box",width:i.offsetWidth,height:i.offsetHeight,overflow:"hidden"},qe(i,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),li(n.firstElementChild,li(i.firstElementChild)),n);var r,o=si(this.placeholder),s=o.left,a=o.top;G(this.origin,{left:s-this.pos.x,top:a-this.pos.y}),Pe(this.drag,this.clsDrag,this.clsCustom),Pe(this.placeholder,this.clsPlaceholder),Pe(this.$el.children,this.clsItem),Pe(document.documentElement,this.clsDragState),Kt(this.$el,"start",[this,this.placeholder]),r=this.pos,Gr=setInterval((function(){var t=r.x,e=r.y;Li(document.elementFromPoint(t-window.pageXOffset,e-window.pageYOffset)).some((function(t){var i=t.scrollTop,n=t.scrollHeight,r=si(Fi(t)),o=r.top,s=r.bottom,a=r.height;if(o<e&&o+30>e)i-=5;else{if(!(s>e&&s-30<e))return;i+=5}if(i>0&&i<n-a)return Oi(t,i),!0}))}),15),this.move(t)},move:function(t){if(this.drag){this.$update();var e="mousemove"===t.type?t.target:document.elementFromPoint(this.pos.x-window.pageXOffset,this.pos.y-window.pageYOffset),i=this.getSortable(e),n=this.getSortable(this.placeholder),r=i!==n;if(i&&!Yt(e,this.placeholder)&&(!r||i.group&&i.group===n.group)){if(e=i.$el===e.parentNode&&e||Bt(i.$el).filter((function(t){return Yt(e,t)}))[0],r)n.remove(this.placeholder);else if(!e)return;i.insert(this.placeholder,e),b(this.touched,i)||this.touched.push(i)}}else(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end:function(t){if(Xt(document,mt,this.move),Xt(document,gt,this.end),Xt(window,"scroll",this.scroll),this.drag){clearInterval(Gr);var e=this.getSortable(this.placeholder);this===e?this.origin.index!==ge(this.placeholder)&&Kt(this.$el,"moved",[this,this.placeholder]):(Kt(e.$el,"added",[e,this.placeholder]),Kt(this.$el,"removed",[this,this.placeholder])),Kt(this.$el,"stop",[this,this.placeholder]),Se(this.drag),this.drag=null;var i=this.touched.map((function(t){return t.clsPlaceholder+" "+t.clsItem})).join(" ");this.touched.forEach((function(t){return Oe(t.$el.children,i)})),Oe(document.documentElement,this.clsDragState)}else"touchend"===t.type&&t.target.click()},scroll:function(){var t=window.pageYOffset;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$update())},insert:function(t,e){var i=this;Pe(this.$el.children,this.clsItem);var n=function(){e?!Yt(t,i.$el)||function(t,e){return t.parentNode===e.parentNode&&ge(t)>ge(e)}(t,e)?xe(e,t):$e(e,t):ye(i.$el,t)};this.animation?this.animate(n):n()},remove:function(t){Yt(t,this.$el)&&(qe(this.handle?ze(this.handle,t):t,{touchAction:"",userSelect:""}),this.animation?this.animate((function(){return Se(t)})):Se(t))},getSortable:function(t){return t&&(this.$getComponent(t,"sortable")||this.getSortable(t.parentNode))}}};var to=[],eo={mixins:[Vn,Ui,Qi],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["mdp-animation-scale-up"],duration:100,cls:"mdp-active",clsPos:"mdp-tooltip"},beforeConnect:function(){this._hasTitle=st(this.$el,"title"),ot(this.$el,{title:"","aria-expanded":!1})},disconnected:function(){this.hide(),ot(this.$el,{title:this._hasTitle?this.title:null,"aria-expanded":null})},methods:{show:function(){var t=this;!this.isActive()&&this.title&&(to.forEach((function(t){return t.hide()})),to.push(this),this._unbind=Ut(document,gt,(function(e){return!Yt(e.target,t.$el)&&t.hide()})),clearTimeout(this.showTimer),this.showTimer=setTimeout((function(){t._show(),t.hideTimer=setInterval((function(){Wt(t.$el)||t.hide()}),150)}),this.delay))},hide:function(){this.isActive()&&!Mt(this.$el,"input:focus")&&(to.splice(to.indexOf(this),1),clearTimeout(this.showTimer),clearInterval(this.hideTimer),ot(this.$el,"aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&Se(this.tooltip),this.tooltip=!1,this._unbind())},_show:function(){this.tooltip=ye(this.container,'<div class="'+this.clsPos+'" aria-expanded="true" aria-hidden> <div class="'+this.clsPos+'-inner">'+this.title+"</div> </div>"),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?vi(this.dir)+"-"+this.align:this.align+"-"+vi(this.dir),this.toggleElement(this.tooltip,!0)},isActive:function(){return b(to,this)}},events:(Kr={focus:"show",blur:"hide"},Kr[vt+" "+wt]=function(t){se(t)||(t.type===vt?this.show():this.hide())},Kr[pt]=function(t){se(t)&&(this.isActive()?this.hide():this.show())},Kr)},io={props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,msgInvalidMime:String,msgInvalidName:String,msgInvalidSize:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"mdp-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,msgInvalidMime:"Invalid File Type: %s",msgInvalidName:"Invalid File Name: %s",msgInvalidSize:"Invalid File Size: %s Kilobytes Max",multiple:!1,name:"files[]",params:{},type:"",url:"",abort:et,beforeAll:et,beforeSend:et,complete:et,completeAll:et,error:et,fail:et,load:et,loadEnd:et,loadStart:et,progress:et},events:{change:function(t){Mt(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){ro(t);var e=t.dataTransfer;e&&e.files&&(Oe(this.$el,this.clsDragover),this.upload(e.files))},dragenter:function(t){ro(t)},dragover:function(t){ro(t),Pe(this.$el,this.clsDragover)},dragleave:function(t){ro(t),Oe(this.$el,this.clsDragover)}},methods:{upload:function(t){var e=this;if(t.length){Kt(this.$el,"upload",[t]);for(var i=0;i<t.length;i++){if(this.maxSize&&1e3*this.maxSize<t[i].size)return void this.fail(this.msgInvalidSize.replace("%s",this.maxSize));if(this.allow&&!no(this.allow,t[i].name))return void this.fail(this.msgInvalidName.replace("%s",this.allow));if(this.mime&&!no(this.mime,t[i].type))return void this.fail(this.msgInvalidMime.replace("%s",this.mime))}this.multiple||(t=[t[0]]),this.beforeAll(this,t);var n=function(t,e){for(var i=[],n=0;n<t.length;n+=e){for(var r=[],o=0;o<e;o++)r.push(t[n+o]);i.push(r)}return i}(t,this.concurrent),r=function(t){var i=new FormData;for(var o in t.forEach((function(t){return i.append(e.name,t)})),e.params)i.append(o,e.params[o]);fe(e.url,{data:i,method:e.method,responseType:e.type,beforeSend:function(t){var i=t.xhr;i.upload&&Ut(i.upload,"progress",e.progress),["loadStart","load","loadEnd","abort"].forEach((function(t){return Ut(i,t.toLowerCase(),e[t])})),e.beforeSend(t)}}).then((function(t){e.complete(t),n.length?r(n.shift()):e.completeAll(t)}),(function(t){return e.error(t)}))};r(n.shift())}}}};function no(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function ro(t){t.preventDefault(),t.stopPropagation()}var oo=Object.freeze({__proto__:null,Countdown:cr,Filter:mr,Lightbox:Cr,LightboxPanel:Er,Notification:zr,Parallax:Br,Slider:qr,SliderParallax:Yr,Slideshow:Zr,SlideshowParallax:Yr,Sortable:Qr,Tooltip:eo,Upload:io});function so(t,e){qi.component(e,t)}return J(hr,so),J(oo,so),qi.use((function(t){me((function(){var e;t.update(),Ut(window,"load resize",(function(){return t.update(null,"resize")})),Ut(document,"loadedmetadata load",(function(e){var i=e.target;return t.update(i,"resize")}),!0),Ut(window,"scroll",(function(i){e||(e=!0,yi.write((function(){return e=!1})),t.update(null,i.type))}),{passive:!0,capture:!0});var i,n=0;Ut(document,"animationstart",(function(t){var e=t.target;(qe(e,"animationName")||"").match(/^mdp-.*(left|right)/)&&(n++,qe(document.body,"overflowX","hidden"),setTimeout((function(){--n||qe(document.body,"overflowX","")}),Y(qe(e,"animationDuration"))+100))}),!0),Ut(document,pt,(function(t){if(i&&i(),se(t)){var e=ae(t),n="tagName"in t.target?t.target:t.target.parentNode;i=Gt(document,gt+" "+bt,(function(t){var i=ae(t),r=i.x,o=i.y;(n&&r&&Math.abs(e.x-r)>100||o&&Math.abs(e.y-o)>100)&&setTimeout((function(){var t,i,s,a;Kt(n,"swipe"),Kt(n,"swipe"+(t=e.x,i=e.y,s=r,a=o,Math.abs(t-s)>=Math.abs(i-a)?t-s>0?"Left":"Right":i-a>0?"Up":"Down"))}))})),"touchstart"===pt&&(qe(document.body,"cursor","pointer"),Gt(document,gt+" "+bt,(function(){return setTimeout((function(){return qe(document.body,"cursor","")}),50)})))}}),{passive:!0})}))})),function(t){var e=t.connect,i=t.disconnect;"MutationObserver"in window&&yi.read((function(){document.body&&Ne(document.body,e);new MutationObserver((function(n){var r=[];n.forEach((function(n){return function(n,r){var o=n.target;("attributes"!==n.type?function(t){for(var n=t.addedNodes,r=t.removedNodes,o=0;o<n.length;o++)Ne(n[o],e);for(var s=0;s<r.length;s++)Ne(r[s],i);return!0}(n):function(e){var i=e.target,n=e.attributeName;if("href"===n)return!0;var r=Ri(n);if(!r||!(r in t))return;if(st(i,n))return t[r](i),!0;var o=t.getComponent(i,r);if(o)return o.$destroy(),!0}(n))&&!r.some((function(t){return t.contains(o)}))&&r.push(o)}(n,r)})),r.forEach(t.update)})).observe(document,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),t._initialized=!0}))}(qi),qi}));