!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t="undefined"!=typeof globalThis?globalThis:t||self).UIkit=e()}(this,function(){"use strict";var n=(fr=Object.prototype).hasOwnProperty;function c(t,e){return n.call(t,e)}var e=/\B([A-Z])/g,d=nt(function(t){return t.replace(e,"-$1").toLowerCase()}),i=/-(\w)/g,f=nt(function(t){return t.replace(i,r)}),p=nt(function(t){return t.length?r(0,t.charAt(0))+t.slice(1):""});function r(t,e){return e?e.toUpperCase():""}var o=(dr=String.prototype).startsWith||function(t){return 0===this.lastIndexOf(t,0)};function g(t,e){return o.call(t,e)}var s=dr.endsWith||function(t){return this.substr(-t.length)===t};function a(t,e){return s.call(t,e)}var u=Array.prototype,t=function(t,e){return!!~this.indexOf(t,e)},h=dr.includes||t,l=u.includes||t;function v(t,e){return t&&(A(t)?h:l).call(t,e)}var m=u.findIndex||function(t){for(var e=arguments,n=0;n<this.length;n++)if(t.call(e[1],this[n],n,this))return n;return-1};function w(t,e){return m.call(t,e)}var b=Array.isArray;function x(t){return"function"==typeof t}function y(t){return null!==t&&"object"==typeof t}var k=fr.toString;function $(t){return"[object Object]"===k.call(t)}function S(t){return y(t)&&t===t.window}function I(t){return 9===C(t)}function T(t){return 1<=C(t)}function E(t){return 1===C(t)}function C(t){return!S(t)&&y(t)&&t.nodeType}function _(t){return"boolean"==typeof t}function A(t){return"string"==typeof t}function M(t){return"number"==typeof t}function z(t){return M(t)||A(t)&&!isNaN(t-parseFloat(t))}function N(t){return!(b(t)?t.length:y(t)&&Object.keys(t).length)}function B(t){return void 0===t}function D(t){return _(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function O(t){return t=Number(t),!isNaN(t)&&t}function P(t){return parseFloat(t)||0}var H=Array.from||function(t){return u.slice.call(t)};function L(t){return j(t)[0]}function j(t){return t&&(T(t)?[t]:H(t).filter(T))||[]}function F(t){return S(t)?t:(t=L(t))?(I(t)?t:t.ownerDocument).defaultView:window}function W(t){return t?a(t,"ms")?P(t):1e3*P(t):0}function V(t,n){return t===n||y(t)&&y(n)&&Object.keys(t).length===Object.keys(n).length&&Y(t,function(t,e){return t===n[e]})}function R(t,e,n){return t.replace(new RegExp(e+"|"+n,"g"),function(t){return t===e?n:e})}var q=Object.assign||function(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];t=Object(t);for(var i=0;i<e.length;i++){var r=e[i];if(null!==r)for(var o in r)c(r,o)&&(t[o]=r[o])}return t};function U(t){return t[t.length-1]}function Y(t,e){for(var n in t)if(!1===e(t[n],n))return!1;return!0}function X(t,n){return t.slice().sort(function(t,e){return void 0===(t=t[n])&&(t=0),(e=void 0===(e=e[n])?0:e)<t?1:t<e?-1:0})}function G(t,e){var n=new Set;return t.filter(function(t){return t=t[e],!n.has(t)&&(n.add(t)||!0)})}function K(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.min(Math.max(O(t)||0,e),n)}function J(){}function Z(){for(var i=[],t=arguments.length;t--;)i[t]=arguments[t];return[["bottom","top"],["right","left"]].every(function(t){var e=t[0],n=t[1];return 0<Math.min.apply(Math,i.map(function(t){return t[e]}))-Math.max.apply(Math,i.map(function(t){return t[n]}))})}function Q(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}var tt={ratio:function(t,e,n){var i="width"===e?"height":"width",r={};return r[i]=t[e]?Math.round(n*t[i]/t[e]):t[i],r[e]=n,r},contain:function(n,i){var r=this;return Y(n=q({},n),function(t,e){return n=n[e]>i[e]?r.ratio(n,e,i[e]):n}),n},cover:function(n,i){var r=this;return Y(n=this.contain(n,i),function(t,e){return n=n[e]<i[e]?r.ratio(n,e,i[e]):n}),n}};function et(t,e,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var r=(e=j(e)).length;return t=z(t)?O(t):"next"===t?n+1:"previous"===t?n-1:e.indexOf(L(t)),i?K(t,0,r-1):(t%=r)<0?t+r:t}function nt(e){var n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}}function it(t,e,n){if(y(e))for(var i in e)it(t,i,e[i]);else{if(B(n))return(t=L(t))&&t.getAttribute(e);j(t).forEach(function(t){null===(n=x(n)?n.call(t,it(t,e)):n)?ot(t,e):t.setAttribute(e,n)})}}function rt(t,e){return j(t).some(function(t){return t.hasAttribute(e)})}function ot(t,e){t=j(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.hasAttribute(e)&&t.removeAttribute(e)})})}function st(t,e){for(var n=0,i=[e,"data-"+e];n<i.length;n++)if(rt(t,i[n]))return it(t,i[n])}var at="undefined"!=typeof window,ut=at&&/msie|trident/i.test(window.navigator.userAgent),ct=at&&"rtl"===it(document.documentElement,"dir"),ht=at&&"ontouchstart"in window,lt=at&&window.PointerEvent,dt=at&&(ht||window.DocumentTouch&&document instanceof DocumentTouch||navigator.maxTouchPoints),ft=lt?"pointerdown":ht?"touchstart":"mousedown",pt=lt?"pointermove":ht?"touchmove":"mousemove",mt=lt?"pointerup":ht?"touchend":"mouseup",gt=lt?"pointerenter":ht?"":"mouseenter",vt=lt?"pointerleave":ht?"":"mouseleave",wt=lt?"pointercancel":"touchcancel",bt={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 xt(t){return j(t).some(function(t){return bt[t.tagName.toLowerCase()]})}function yt(t){return j(t).some(function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length})}var kt="input,select,textarea,button";function $t(t){return j(t).some(function(t){return Et(t,kt)})}function St(t){return(t=L(t))&&E(t.parentNode)&&t.parentNode}function It(t,e){return j(t).filter(function(t){return Et(t,e)})}var Tt=(mr=at?Element.prototype:{}).matches||mr.webkitMatchesSelector||mr.msMatchesSelector||J;function Et(t,e){return j(t).some(function(t){return Tt.call(t,e)})}var Ct=mr.closest||function(t){var e=this;do{if(Et(e,t))return e}while(e=St(e))};function _t(t,e){return g(e,">")&&(e=e.slice(1)),E(t)?Ct.call(t,e):j(t).map(function(t){return _t(t,e)}).filter(Boolean)}function At(t,e){return A(e)?Et(t,e)||!!_t(t,e):t===e||(I(e)?e.documentElement:L(e)).contains(L(t))}function Mt(t,e){for(var n=[];t=St(t);)e&&!Et(t,e)||n.push(t);return n}function zt(t,e){return t=(t=L(t))?j(t.children):[],e?It(t,e):t}function Nt(t,e){return e?j(t).indexOf(L(e)):zt(St(t)).indexOf(t)}function Bt(t,e){return L(t)||Pt(t,Ot(t,e))}function Dt(t,e){var n=j(t);return n.length&&n||Ht(t,Ot(t,e))}function Ot(t,e){return void 0===e&&(e=document),A(t)&&Wt(t)||I(e)?e:e.ownerDocument}function Pt(t,e){return L(Lt(t,e,"querySelector"))}function Ht(t,e){return j(Lt(t,e,"querySelectorAll"))}function Lt(t,o,e){if(void 0===o&&(o=document),!t||!A(t))return null;t=t.replace(Ft,"$1 *"),Wt(t)&&(t=Rt(t).map(function(t,e){var n,i,r=o;return"!"===t[0]&&(i=t.substr(1).trim().split(" "),r=_t(St(o),i[0]),t=i.slice(1).join(" ").trim()),"-"===t[0]&&(n=t.substr(1).trim().split(" "),r=Et(i=(r||o).previousElementSibling,t.substr(1))?i:null,t=n.slice(1).join(" ")),r?function(t){for(var e=[];t.parentNode;){if(t.id){e.unshift("#"+Ut(t.id));break}var n=t.tagName;"HTML"!==n&&(n+=":nth-child("+(Nt(t)+1)+")"),e.unshift(n),t=t.parentNode}return e.join(" > ")}(r)+" "+t:null}).filter(Boolean).join(","),o=document);try{return o[e](t)}catch(t){return null}}var jt=/(^|[^\\],)\s*[!>+~-]/,Ft=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,Wt=nt(function(t){return t.match(jt)}),Vt=/.*?[^\\](?:,|$)/g,Rt=nt(function(t){return t.match(Vt).map(function(t){return t.replace(/,$/,"").trim()})}),qt=at&&window.CSS&&CSS.escape||function(t){return t.replace(/([^\x7f-\uFFFF\w-])/g,function(t){return"\\"+t})};function Ut(t){return A(t)?qt.call(null,t):""}function Yt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,i,r=Zt(t),o=r[0],s=r[1],a=r[2],u=r[3],c=r[4],o=ne(o);return 1<u.length&&(n=u,u=function(t){return b(t.detail)?n.apply(void 0,[t].concat(t.detail)):n(t)}),c&&c.self&&(i=u,u=function(t){if(t.target===t.currentTarget||t.target===t.current)return i.call(null,t)}),a&&(u=function(n,i){var r=this;return function(e){var t=">"===n[0]?Ht(n,e.currentTarget).reverse().filter(function(t){return At(e.target,t)})[0]:_t(e.target,n);t&&(e.current=t,i.call(r,e))}}(a,u)),c=Qt(c),s.split(" ").forEach(function(e){return o.forEach(function(t){return t.addEventListener(e,u,c)})}),function(){return Xt(o,s,u,c)}}function Xt(t,e,n,i){i=Qt(i=void 0!==i&&i),t=ne(t),e.split(" ").forEach(function(e){return t.forEach(function(t){return t.removeEventListener(e,n,i)})})}function Gt(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Zt(t),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u=n[5],c=Yt(i,r,o,function(t){var e=!u||u(t);e&&(c(),s(t,e))},a);return c}function Kt(t,n,i){return ne(t).reduce(function(t,e){return t&&e.dispatchEvent(Jt(n,!0,!0,i))},!0)}function Jt(t,e,n,i){var r;return void 0===e&&(e=!0),void 0===n&&(n=!1),A(t)&&((r=document.createEvent("CustomEvent")).initCustomEvent(t,e,n,i),t=r),t}function Zt(t){return x(t[2])&&t.splice(2,0,!1),t}function Qt(t){return t&&ut&&!_(t)?!!t.capture:t}function te(t){return t&&"addEventListener"in t}function ee(t){return te(t)?t:L(t)}function ne(t){return b(t)?t.map(ee).filter(Boolean):A(t)?Ht(t):te(t)?[t]:j(t)}function ie(t){return"touch"===t.pointerType||!!t.touches}function re(t){var e=t.touches,n=t.changedTouches;return{x:(t=e&&e[0]||n&&n[0]||t).clientX,y:t.clientY}}function oe(){var n=this;this.promise=new se(function(t,e){n.reject=e,n.resolve=t})}var se=at&&window.Promise||ce,ae=2,ue=at&&window.setImmediate||setTimeout;function ce(t){this.state=ae,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)}}ce.reject=function(n){return new ce(function(t,e){e(n)})},ce.resolve=function(n){return new ce(function(t,e){t(n)})},ce.all=function(o){return new ce(function(n,t){var i=[],r=0;0===o.length&&n(i);for(var e=0;e<o.length;e+=1)ce.resolve(o[e]).then(function(e){return function(t){i[e]=t,(r+=1)===o.length&&n(i)}}(e),t)})},ce.race=function(i){return new ce(function(t,e){for(var n=0;n<i.length;n+=1)ce.resolve(i[n]).then(t,e)})};var he=ce.prototype;function le(t,e){var n=q({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:J,responseType:""},e);return se.resolve().then(function(){return n.beforeSend(n)}).then(function(){return o=t,s=n,new se(function(t,e){var n,i,r=s.xhr;for(n in s)if(n in r)try{r[n]=s[n]}catch(t){}for(i in r.open(s.method.toUpperCase(),o),s.headers)r.setRequestHeader(i,s.headers[i]);Yt(r,"load",function(){0===r.status||200<=r.status&&r.status<300||304===r.status?("json"===s.responseType&&A(r.response)&&(r=q(function(t){var e,n={};for(e in t)n[e]=t[e];return n}(r),{response:JSON.parse(r.response)})),t(r)):e(q(Error(r.statusText),{xhr:r,status:r.status}))}),Yt(r,"error",function(){return e(q(Error("Network Error"),{xhr:r}))}),Yt(r,"timeout",function(){return e(q(Error("Network Timeout"),{xhr:r}))}),r.send(s.data)});var o,s})}function de(i,r,o){return new se(function(t,e){var n=new Image;n.onerror=function(t){return e(t)},n.onload=function(){return t(n)},o&&(n.sizes=o),r&&(n.srcset=r),n.src=i})}function fe(t){return(t=Ee(t)).innerHTML="",t}function pe(t,e){return t=Ee(t),B(e)?t.innerHTML:me(t.hasChildNodes()?fe(t):t,e)}function me(e,t){return e=Ee(e),we(t,function(t){return e.appendChild(t)})}function ge(e,t){return e=Ee(e),we(t,function(t){return e.parentNode.insertBefore(t,e)})}function ve(e,t){return e=Ee(e),we(t,function(t){return e.nextSibling?ge(e.nextSibling,t):me(e.parentNode,t)})}function we(t,e){return(t=A(t)?Ie(t):t)?"length"in t?j(t).map(e):e(t):null}function be(t){j(t).forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)})}function xe(t,e){for(e=L(ge(t,e));e.firstChild;)e=e.firstChild;return me(e,t),e}function ye(t,e){return j(j(t).map(function(t){return t.hasChildNodes?xe(j(t.childNodes),e):me(t,e)}))}function ke(t){j(t).map(St).filter(function(t,e,n){return n.indexOf(t)===e}).forEach(function(t){ge(t,t.childNodes),be(t)})}he.resolve=function(t){var e=this;if(e.state===ae){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&y(t)&&x(i))return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},he.reject=function(t){var e=this;if(e.state===ae){if(t===e)throw new TypeError("Promise settled with itself.");e.state=1,e.value=t,e.notify()}},he.notify=function(){var o=this;ue(function(){if(o.state!==ae)for(;o.deferred.length;){var t=o.deferred.shift(),e=t[0],n=t[1],i=t[2],r=t[3];try{0===o.state?x(e)?i(e.call(void 0,o.value)):i(o.value):1===o.state&&(x(n)?i(n.call(void 0,o.value)):r(o.value))}catch(t){r(t)}}})},he.then=function(n,i){var r=this;return new ce(function(t,e){r.deferred.push([n,i,t,e]),r.notify()})},he.catch=function(t){return this.then(void 0,t)};var $e=/^\s*<(\w+|!)[^>]*>/,Se=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function Ie(t){var e=Se.exec(t);return e?document.createElement(e[1]):(e=document.createElement("div"),$e.test(t)?e.insertAdjacentHTML("beforeend",t.trim()):e.textContent=t,1<e.childNodes.length?j(e.childNodes):e.firstChild)}function Te(t,e){if(E(t))for(e(t),t=t.firstElementChild;t;){var n=t.nextElementSibling;Te(t,e),t=n}}function Ee(t,e){return A(t)?_e(t)?L(Ie(t)):Pt(t,e):L(t)}function Ce(t,e){return A(t)?_e(t)?j(Ie(t)):Ht(t,e):j(t)}function _e(t){return"<"===t[0]||t.match(/^\s*</)}function Ae(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];Oe(t,e,"add")}function Me(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];Oe(t,e,"remove")}function ze(t,e){it(t,"class",function(t){return(t||"").replace(new RegExp("\\b"+e+"\\b","g"),"")})}function Ne(t){for(var e=[],n=arguments.length-1;0<n--;)e[n]=arguments[n+1];e[0]&&Me(t,e[0]),e[1]&&Ae(t,e[1])}function Be(t,e){e=Pe(e)[0];for(var n=j(t),i=0;i<n.length;i++)if(e&&n[i].classList.contains(e))return!0;return!1}function De(t,e,n){e=Pe(e);for(var i=j(t),r=0;r<i.length;r++)for(var o=i[r].classList,s=0;s<e.length;s++)B(n)?o.toggle(e[s]):He.Force?o.toggle(e[s],!!n):o[n?"add":"remove"](e[s])}function Oe(t,n,i){var r;n=n.reduce(function(t,e){return t.concat(Pe(e))},[]);for(var o=j(t),e=0;e<o.length;e++)!function(e){He.Multiple?(r=o[e].classList)[i].apply(r,n):n.forEach(function(t){return o[e].classList[i](t)})}(e)}function Pe(t){return(~(t=String(t)).indexOf(" ")?t.split(" "):[t]).filter(Boolean)}var He={get Multiple(){return this.get("Multiple")},get Force(){return this.get("Force")},get:function(t){var e=document.createElement("_").classList;return e.add("a","b"),e.toggle("c",!1),(He={Multiple:e.contains("b"),Force:!e.contains("c")})[t]}},Le={"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 je(t,e,r,o){return void 0===o&&(o=""),j(t).map(function(n){if(A(e)){if(e=qe(e),B(r))return We(n,e);r||M(r)?n.style.setProperty(e,z(r)&&!Le[e]?r+"px":r,o):n.style.removeProperty(e)}else{if(b(e)){var i=Fe(n);return e.reduce(function(t,e){return t[e]=i[qe(e)],t},{})}y(e)&&(o=r,Y(e,function(t,e){return je(n,e,t,o)}))}return n})[0]}function Fe(t,e){return F(t).getComputedStyle(t,e)}function We(t,e,n){return Fe(t,n)[e]}var Ve=nt(function(t){var e=me(document.documentElement,document.createElement("div"));return Ae(e,"uk-"+t),t=We(e,"content",":before").replace(/^["'](.*)["']$/,"$1"),be(e),t});function Re(t){return ut?Ve(t):Fe(document.documentElement).getPropertyValue("--uk-"+t)}var qe=nt(function(t){t=d(t);var e=document.documentElement.style;if(t in e)return t;for(var n,i=Ue.length;i--;)if((n="-"+Ue[i]+"-"+t)in e)return n}),Ue=["webkit","moz","ms"];function Ye(t,s,a,u){return void 0===a&&(a=400),void 0===u&&(u="linear"),se.all(j(t).map(function(o){return new se(function(e,n){for(var t in s){var i=je(o,t);""===i&&je(o,t,i)}var r=setTimeout(function(){return Kt(o,"transitionend")},a);Gt(o,"transitionend transitioncanceled",function(t){t=t.type,clearTimeout(r),Me(o,"uk-transition"),je(o,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),"transitioncanceled"===t?n():e(o)},{self:!0}),Ae(o,"uk-transition"),je(o,q({transitionProperty:Object.keys(s).map(qe).join(","),transitionDuration:a+"ms",transitionTimingFunction:u},s))})}))}var Xe={start:Ye,stop:function(t){return Kt(t,"transitionend"),se.resolve()},cancel:function(t){Kt(t,"transitioncanceled")},inProgress:function(t){return Be(t,"uk-transition")}},Ge="uk-animation-";function Ke(t,o,s,a,u){return void 0===s&&(s=200),se.all(j(t).map(function(r){return new se(function(e,n){Kt(r,"animationcanceled");var i=setTimeout(function(){return Kt(r,"animationend")},s);Gt(r,"animationend animationcanceled",function(t){t=t.type,clearTimeout(i),"animationcanceled"===t?n():e(r),je(r,"animationDuration",""),ze(r,Ge+"\\S*")},{self:!0}),je(r,"animationDuration",s+"ms"),Ae(r,o,Ge+(u?"leave":"enter")),g(o,Ge)&&(a&&Ae(r,"uk-transform-origin-"+a),u&&Ae(r,Ge+"reverse"))})}))}var Je=new RegExp(Ge+"(enter|leave)"),Ze={in:Ke,out:function(t,e,n,i){return Ke(t,e,n,i,!0)},inProgress:function(t){return Je.test(it(t,"class"))},cancel:function(t){Kt(t,"animationcanceled")}},Qe={width:["left","right"],height:["top","bottom"]};function tn(t){return{height:(t=E(t)?L(t).getBoundingClientRect():{height:on(t),width:sn(t),top:0,left:0}).height,width:t.width,top:t.top,left:t.left,bottom:t.top+t.height,right:t.left+t.width}}function en(n,i){var t,r=tn(n),e=F(n),o={height:e.pageYOffset,width:e.pageXOffset};for(t in Qe)for(var s in Qe[t])r[Qe[t][s]]+=o[t];if(!i)return r;var a=je(n,"position");Y(je(n,["left","top"]),function(t,e){return je(n,e,i[e]-r[e]+P("absolute"===a&&"auto"===t?nn(n)[e]:t))})}function nn(t){for(var e=en(t),n=e.top,i=e.left,r=L(t),o=(e=r.ownerDocument).body,s=e.documentElement,a=r.offsetParent||s;a&&(a===o||a===s)&&"static"===je(a,"position");)a=a.parentNode;return E(a)&&(n-=(r=en(a)).top+P(je(a,"borderTopWidth")),i-=r.left+P(je(a,"borderLeftWidth"))),{top:n-P(je(t,"marginTop")),left:i-P(je(t,"marginLeft"))}}function rn(t){var e=[0,0];t=L(t);do{if(e[0]+=t.offsetTop,e[1]+=t.offsetLeft,"fixed"===je(t,"position")){var n=F(t);return e[0]+=n.pageYOffset,e[1]+=n.pageXOffset,e}}while(t=t.offsetParent);return e}var on=an("height"),sn=an("width");function an(i){var r=p(i);return function(t,e){if(B(e)){if(S(t))return t["inner"+r];if(I(t)){var n=t.documentElement;return Math.max(n["offset"+r],n["scroll"+r])}return(e="auto"===(e=je(t=L(t),i))?t["offset"+r]:P(e)||0)-un(t,i)}return je(t,i,e||0===e?+e+un(t,i)+"px":"")}}function un(n,t,e){return void 0===e&&(e="border-box"),je(n,"boxSizing")===e?Qe[t].map(p).reduce(function(t,e){return t+P(je(n,"padding"+e))+P(je(n,"border"+e+"Width"))},0):0}function cn(t){for(var e in Qe)for(var n in Qe[e])if(Qe[e][n]===t)return Qe[e][1-n];return t}function hn(t,e,n){return void 0===e&&(e="width"),void 0===n&&(n=window),z(t)?+t:a(t,"vh")?ln(on(F(n)),t):a(t,"vw")?ln(sn(F(n)),t):a(t,"%")?ln(tn(n)[e],t):P(t)}function ln(t,e){return t*P(e)/100}var dn={reads:[],writes:[],read:function(t){return this.reads.push(t),mn(),t},write:function(t){return this.writes.push(t),mn(),t},clear:function(t){vn(this.reads,t),vn(this.writes,t)},flush:fn};function fn(t){void 0===t&&(t=1),gn(dn.reads),gn(dn.writes.splice(0)),dn.scheduled=!1,(dn.reads.length||dn.writes.length)&&mn(t+1)}var pn=4;function mn(t){dn.scheduled||(dn.scheduled=!0,t&&t<pn?se.resolve().then(function(){return fn(t)}):requestAnimationFrame(function(){return fn()}))}function gn(t){for(var e;e=t.shift();)try{e()}catch(t){console.error(t)}}function vn(t,e){return~(e=t.indexOf(e))&&t.splice(e,1)}function wn(){}wn.prototype={positions:[],init:function(){var e,t=this;this.positions=[],this.unbind=Yt(document,"mousemove",function(t){return e=re(t)}),this.interval=setInterval(function(){e&&(t.positions.push(e),5<t.positions.length&&t.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 h=t.getBoundingClientRect(),e=h.left,n=h.right,i=h.top,r=h.bottom,l=[this.positions[0],t=U(this.positions)];return!Q(t,h)&&[[{x:e,y:i},{x:n,y:r}],[{x:e,y:r},{x:n,y:i}]].some(function(t){var e,n,i,r,o,s,a,u,c;return n=t,i=(u=(e=l)[0]).x,r=u.y,s=(o=e[1]).x,a=o.y,u=(c=n[0]).x,e=c.y,c=(o=n[1]).x,(t=0!=(o=((n=o.y)-e)*(s-i)-(c-u)*(a-r))&&(!((o=((c-u)*(r-e)-(n-e)*(i-u))/o)<0)&&{x:i+o*(s-i),y:r+o*(a-r)}))&&Q(t,h)})}};var bn={};function xn(t,e,n){return bn.computed(x(t)?t.call(n,n):t,x(e)?e.call(n,n):e)}function yn(t,e){return t=t&&!b(t)?[t]:t,e?t?t.concat(e):b(e)?e:[e]:t}function kn(e,n,i){var t,r,o={};if((n=x(n)?n.options:n).extends&&(e=kn(e,n.extends,i)),n.mixins)for(var s=0,a=n.mixins.length;s<a;s++)e=kn(e,n.mixins[s],i);for(t in e)u(t);for(r in n)c(e,r)||u(r);function u(t){o[t]=(bn[t]||function(t,e){return B(e)?t:e})(e[t],n[t],i)}return o}function $n(t,e){var n;void 0===e&&(e=[]);try{return t?g(t,"{")?JSON.parse(t):e.length&&!v(t,":")?((n={})[e[0]]=t,n):t.split(";").reduce(function(t,e){var e=(n=e.split(/:(.*)/))[0],n=n[1];return e&&!B(n)&&(t[e.trim()]=n.trim()),t},{}):{}}catch(t){return{}}}function Sn(t){if(Cn(t)&&Mn(t,{func:"playVideo",method:"play"}),En(t))try{t.play().catch(J)}catch(t){}}function In(t){Cn(t)&&Mn(t,{func:"pauseVideo",method:"pause"}),En(t)&&t.pause()}function Tn(t){Cn(t)&&Mn(t,{func:"mute",method:"setVolume",value:0}),En(t)&&(t.muted=!0)}function En(t){return t&&"VIDEO"===t.tagName}function Cn(t){return t&&"IFRAME"===t.tagName&&(_n(t)||An(t))}function _n(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function An(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}function Mn(t,e){!function(e){if(e[Nn])return e[Nn];var n,i=_n(e),r=An(e),o=++Bn;return e[Nn]=new se(function(t){i&&Gt(e,"load",function(){function t(){return zn(e,{event:"listening",id:o})}n=setInterval(t,100),t()}),Gt(window,"message",t,!1,function(t){var e=t.data;try{return(e=JSON.parse(e))&&(i&&e.id===o&&"onReady"===e.event||r&&Number(e.player_id)===o)}catch(t){}}),e.src=e.src+(v(e.src,"?")?"&":"?")+(i?"enablejsapi=1":"api=1&player_id="+o)}).then(function(){return clearInterval(n)})}(t).then(function(){return zn(t,e)})}function zn(t,e){try{t.contentWindow.postMessage(JSON.stringify(q({event:"command"},e)),"*")}catch(t){}}bn.events=bn.created=bn.beforeConnect=bn.connected=bn.beforeDisconnect=bn.disconnected=bn.destroy=yn,bn.args=function(t,e){return!1!==e&&yn(e||t)},bn.update=function(t,e){return X(yn(t,x(e)?{read:e}:e),"order")},bn.props=function(t,e){return b(e)&&(e=e.reduce(function(t,e){return t[e]=String,t},{})),bn.methods(t,e)},bn.computed=bn.methods=function(t,e){return e?t?q({},t,e):e:t},bn.data=function(e,n,t){return t?xn(e,n,t):n?e?function(t){return xn(e,n,t)}:n:e};var Nn="_ukPlayer",Bn=0;function Dn(t,r,o){return void 0===r&&(r=0),void 0===o&&(o=0),!!yt(t)&&Z.apply(void 0,Ln(t).map(function(t){var e=(i=en(jn(t))).top,n=i.left,t=i.bottom,i=i.right;return{top:e-r,left:n-o,bottom:t+r,right:i+o}}).concat(en(t)))}function On(t,e){(t=(S(t)||I(t)?Fn:L)(t)).scrollTop=e}function Pn(s,t){var a=(t=void 0===t?{}:t).offset;if(void 0===a&&(a=0),yt(s)){var u=Ln(s),c=0;return u.reduce(function(t,e,n){var i=e.scrollTop,r=e.scrollHeight-e.clientHeight,o=Math.ceil(en(u[n-1]||s).top-en(jn(e)).top-a+c+i);return r<o?(c=o-r,o=r):c=0,function(){return s=e,a=o-i,new se(function(n){var t,i=s.scrollTop,r=(t=Math.abs(a),40*Math.pow(t,.375)),o=Date.now();!function t(){var e=(e=K((Date.now()-o)/r),.5*(1-Math.cos(Math.PI*e)));On(s,i+a*e),1!=e?requestAnimationFrame(t):n()}()}).then(t);var s,a}},function(){return se.resolve()})()}}function Hn(t,e){if(void 0===e&&(e=0),!yt(t))return 0;var n=Ln(t,/auto|scroll/,!0)[0],i=n.clientHeight,r=n.scrollHeight,o=n.scrollTop,s=rn(t)[0]-o-rn(n)[0];return K(-1*(s-(n=Math.min(i,s+o)))/Math.min(t.offsetHeight+e+n,r-(s+o),r-i))}function Ln(t,e,n){void 0===e&&(e=/auto|scroll|hidden/),void 0===n&&(n=!1);var i=Fn(t),r=Mt(t).reverse();return~(t=w(r=r.slice(r.indexOf(i)+1),function(t){return"fixed"===je(t,"position")}))&&(r=r.slice(t)),[i].concat(r.filter(function(t){return e.test(je(t,"overflow"))&&(!n||t.scrollHeight>t.clientHeight)})).reverse()}function jn(t){return t===Fn(t)?window:t}function Fn(t){return(t=F(t).document).scrollingElement||t.documentElement}var Wn={width:["x","left","right"],height:["y","top","bottom"]};function Vn(t,e,h,l,d,n,i,r){h=qn(h),l=qn(l);var f={element:h,target:l};if(!t||!e)return f;var o,p=en(t),m=en(e),g=m;return Rn(g,h,p,-1),Rn(g,l,m,1),d=Un(d,p.width,p.height),n=Un(n,m.width,m.height),d.x+=n.x,d.y+=n.y,g.left+=d.x,g.top+=d.y,i&&(o=Ln(t).map(jn),r&&v(o,r)&&o.unshift(r),o=o.map(function(t){return en(t)}),Y(Wn,function(t,s){var a=t[0],u=t[1],c=t[2];!0!==i&&!v(i,a)||o.some(function(n){var t=h[a]===u?-p[s]:h[a]===c?p[s]:0,e=l[a]===u?m[s]:l[a]===c?-m[s]:0;if(g[u]<n[u]||g[u]+p[s]>n[c]){var i=p[s]/2,r="center"===l[a]?-m[s]/2:0;return"center"===h[a]&&(o(i,r)||o(-i,-r))||o(t,e)}function o(e,t){if((t=P((g[u]+e+t-2*d[a]).toFixed(4)))>=n[u]&&t+p[s]<=n[c])return g[u]=t,["element","target"].forEach(function(t){f[t][a]=e?f[t][a]===Wn[s][1]?Wn[s][2]:Wn[s][1]:f[t][a]}),!0}})})),en(t,g),f}function Rn(r,o,s,a){Y(Wn,function(t,e){var n=t[0],i=t[1],t=t[2];o[n]===t?r[i]+=s[e]*a:"center"===o[n]&&(r[i]+=s[e]*a/2)})}function qn(t){var e=/left|center|right/,n=/top|center|bottom/;return 1===(t=(t||"").split(" ")).length&&(t=e.test(t[0])?t.concat("center"):n.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:n.test(t[1])?t[1]:"center"}}function Un(t,e,n){var t=(i=(t||"").split(" "))[0],i=i[1];return{x:t?P(t)*(a(t,"%")?e/100:1):0,y:i?P(i)*(a(i,"%")?n/100:1):0}}var Yn=Object.freeze({__proto__:null,ajax:le,getImage:de,transition:Ye,Transition:Xe,animate:Ke,Animation:Ze,attr:it,hasAttr:rt,removeAttr:ot,data:st,addClass:Ae,removeClass:Me,removeClasses:ze,replaceClass:Ne,hasClass:Be,toggleClass:De,dimensions:tn,offset:en,position:nn,offsetPosition:rn,height:on,width:sn,boxModelAdjust:un,flipPosition:cn,toPx:hn,ready:function(t){var e;"loading"===document.readyState?e=Yt(document,"DOMContentLoaded",function(){e(),t()}):t()},empty:fe,html:pe,prepend:function(e,t){return(e=Ee(e)).hasChildNodes()?we(t,function(t){return e.insertBefore(t,e.firstChild)}):me(e,t)},append:me,before:ge,after:ve,remove:be,wrapAll:xe,wrapInner:ye,unwrap:ke,fragment:Ie,apply:Te,$:Ee,$$:Ce,inBrowser:at,isIE:ut,isRtl:ct,hasTouch:dt,pointerDown:ft,pointerMove:pt,pointerUp:mt,pointerEnter:gt,pointerLeave:vt,pointerCancel:wt,on:Yt,off:Xt,once:Gt,trigger:Kt,createEvent:Jt,toEventTargets:ne,isTouch:ie,getEventPos:re,fastdom:dn,isVoidElement:xt,isVisible:yt,selInput:kt,isInput:$t,parent:St,filter:It,matches:Et,closest:_t,within:At,parents:Mt,children:zt,index:Nt,hasOwn:c,hyphenate:d,camelize:f,ucfirst:p,startsWith:g,endsWith:a,includes:v,findIndex:w,isArray:b,isFunction:x,isObject:y,isPlainObject:$,isWindow:S,isDocument:I,isNode:T,isElement:E,isBoolean:_,isString:A,isNumber:M,isNumeric:z,isEmpty:N,isUndefined:B,toBoolean:D,toNumber:O,toFloat:P,toArray:H,toNode:L,toNodes:j,toWindow:F,toMs:W,isEqual:V,swap:R,assign:q,last:U,each:Y,sortBy:X,uniqueBy:G,clamp:K,noop:J,intersectRect:Z,pointInRect:Q,Dimensions:tt,getIndex:et,cacheFunction:nt,MouseTracker:wn,mergeOptions:kn,parseOptions:$n,play:Sn,pause:In,mute:Tn,positionAt:Vn,Promise:se,Deferred:oe,query:Bt,queryAll:Dt,find:Pt,findAll:Ht,escape:Ut,css:je,getCssVar:Re,propName:qe,isInView:Dn,scrollTop:On,scrollIntoView:Pn,scrolledOver:Hn,scrollParents:Ln,getViewport:jn});function Xn(t){this._init(t)}var Gn,Kn,Jn,Zn,Qn,ti,ei,ni=nt(function(t){return!(!g(t,"uk-")&&!g(t,"data-uk-"))&&f(t.replace("data-uk-","").replace("uk-",""))});function ii(t,e){if(t)for(var n in t)t[n]._connected&&t[n]._callUpdate(e)}function ri(t,e){var n={},i=t.args;void 0===i&&(i=[]);var r=t.props;void 0===r&&(r={});var o,s=t.el;if(!r)return n;for(o in r){var a=d(o),u=st(s,a);B(u)||(u=r[o]===Boolean&&""===u||si(r[o],u),("target"!==a||u&&!g(u,"_"))&&(n[o]=u))}var c,h=$n(st(s,e),i);for(c in h){var l=f(c);void 0!==r[l]&&(n[l]=si(r[l],h[c]))}return n}function oi(e,n,i){var t=(n=$(n)?n:{name:i,handler:n}).name,r=n.el,o=n.handler,s=n.capture,a=n.passive,u=n.delegate,c=n.filter,h=n.self,r=x(r)?r.call(e):r||e.$el;b(r)?r.forEach(function(t){return oi(e,q({},n,{el:t}),i)}):!r||c&&!c.call(e)||e._events.push(Yt(r,t,u?A(u)?u:u.call(e):null,A(o)?e[o]:o.bind(e),{passive:a,capture:s,self:h}))}function si(t,e){return t===Boolean?D(e):t===Number?O(e):"list"===t?b(n=e)?n:A(n)?n.split(/,(?![^(]*\))/).map(function(t){return z(t)?O(t):D(t.trim())}):[n]:t?t(e):e;var n}Xn.util=Yn,Xn.data="__uikit__",Xn.prefix="uk-",Xn.options={},Xn.version="3.6.16",Jn=(Gn=Xn).data,Gn.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},Gn.mixin=function(t,e){(e=(A(e)?Gn.component(e):e)||this).options=kn(e.options,t)},Gn.extend=function(t){function e(t){this._init(t)}return t=t||{},((e.prototype=Object.create(this.prototype)).constructor=e).options=kn(this.options,t),e.super=this,e.extend=this.extend,e},Gn.update=function(t,e){Mt(t=t?L(t):document.body).reverse().forEach(function(t){return ii(t[Jn],e)}),Te(t,function(t){return ii(t[Jn],e)})},Object.defineProperty(Gn,"container",{get:function(){return Kn||document.body},set:function(t){Kn=Ee(t)}}),(cr=Xn).prototype._callHook=function(t){var e=this;(t=this.$options[t])&&t.forEach(function(t){return t.call(e)})},cr.prototype._callConnected=function(){this._connected||(this._data={},this._computeds={},this._initProps(),this._callHook("beforeConnect"),this._connected=!0,this._initEvents(),this._initObservers(),this._callHook("connected"),this._callUpdate())},cr.prototype._callDisconnected=function(){this._connected&&(this._callHook("beforeDisconnect"),this._disconnectObservers(),this._unbindEvents(),this._callHook("disconnected"),this._connected=!1,delete this._watch)},cr.prototype._callUpdate=function(t){var e=this;void 0===t&&(t="update"),this._connected&&("update"!==t&&"resize"!==t||this._callWatches(),this.$options.update&&(this._updates||(this._updates=new Set,dn.read(function(){(function(i){for(var r=this,o=this.$options.update,t=0;t<o.length;t++)!function(t){var t=(n=o[t]).read,e=n.write,n=n.events;(i.has("update")||n&&n.some(function(t){return i.has(t)}))&&(n=void 0,t&&(n=t.call(r,r._data,i))&&$(n)&&q(r._data,n),e&&!1!==n&&dn.write(function(){return e.call(r,r._data,i)}))}(t)}).call(e,e._updates),delete e._updates})),this._updates.add(t.type||t)))},cr.prototype._callWatches=function(){var a,u=this;this._watch||(a=!c(this,"_watch"),this._watch=dn.read(function(){var t,e=u.$options.computed,n=u._computeds;for(t in e){var i=c(n,t),r=n[t];delete n[t];var o=(s=e[t]).watch,s=s.immediate;o&&(a&&s||i&&!V(r,u[t]))&&o.call(u,u[t],r)}u._watch=null}))},Zn=0,(hr=Xn).prototype._init=function(o){(o=o||{}).data=function(t){var e=o.data,i=t.args,n=t.props;if(void 0===n&&(n={}),e=b(e)?N(i)?void 0:e.slice(0,i.length).reduce(function(t,e,n){return $(e)?q(t,e):t[i[n]]=e,t},{}):e)for(var r in e)B(e[r])?delete e[r]:e[r]=n[r]?si(n[r],e[r]):e[r];return e}(this.constructor.options),this.$options=kn(this.constructor.options,o,this),this.$el=null,this.$props={},this._uid=Zn++,this._initData(),this._initMethods(),this._initComputeds(),this._callHook("created"),o.el&&this.$mount(o.el)},hr.prototype._initData=function(){var t,e=this.$options.data;for(t in e=void 0===e?{}:e)this.$props[t]=this[t]=e[t]},hr.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=t[e].bind(this)},hr.prototype._initComputeds=function(){var t=this.$options.computed;if(this._computeds={},t)for(var e in t)!function(i,r,o){Object.defineProperty(i,r,{enumerable:!0,get:function(){var t=i._computeds,e=i.$props,n=i.$el;return c(t,r)||(t[r]=(o.get||o).call(i,e,n)),t[r]},set:function(t){var e=i._computeds;e[r]=o.set?o.set.call(i,t):t,B(e[r])&&delete e[r]}})}(this,e,t[e])},hr.prototype._initProps=function(t){for(var e in t=t||ri(this.$options,this.$name))B(t[e])||(this.$props[e]=t[e]);var n=[this.$options.computed,this.$options.methods];for(e in this.$props)e in t&&function(e){return n.every(function(t){return!t||!c(t,e)})}(e)&&(this[e]=this.$props[e])},hr.prototype._initEvents=function(){var n=this;this._events=[];var t=this.$options.events;t&&t.forEach(function(t){if(c(t,"handler"))oi(n,t);else for(var e in t)oi(n,t[e],e)})},hr.prototype._unbindEvents=function(){this._events.forEach(function(t){return t()}),delete this._events},hr.prototype._initObservers=function(){var t,e,n;this._observers=[(e=(t=this).$options.el,(n=new MutationObserver(function(){return t.$emit()})).observe(e,{childList:!0,subtree:!0}),n),function(e){var i=e.$name,r=e.$options,o=e.$props,t=r.attrs,n=r.props,s=r.el;if(n&&!1!==t){var a=b(t)?t:Object.keys(n),t=a.map(function(t){return d(t)}).concat(i);return(n=new MutationObserver(function(t){var n=ri(r,i);t.some(function(t){var e=t.attributeName;return((t=e.replace("data-",""))===i?a:[f(t),f(e)]).some(function(t){return!B(n[t])&&n[t]!==o[t]})})&&e.$reset()})).observe(s,{attributes:!0,attributeFilter:t.concat(t.map(function(t){return"data-"+t}))}),n}}(this)]},hr.prototype._disconnectObservers=function(){this._observers.forEach(function(t){return t&&t.disconnect()})},ti=(Qn=Xn).data,ei={},Qn.component=function(s,t){var e=d(s);if(s=f(e),!t)return $(ei[s])&&(ei[s]=Qn.extend(ei[s])),ei[s];Qn[s]=function(t,n){for(var e=arguments.length,i=Array(e);e--;)i[e]=arguments[e];var r=Qn.component(s);return r.options.functional?new r({data:$(t)?t:[].concat(i)}):t?Ce(t).map(o)[0]:o(t);function o(t){var e=Qn.getComponent(t,s);if(e){if(!n)return e;e.$destroy()}return new r({el:t,data:n})}};var n=$(t)?q({},t):t.options;return n.name=s,n.install&&n.install(Qn,n,s),Qn._initialized&&!n.functional&&dn.read(function(){return Qn[s]("[uk-"+e+"],[data-uk-"+e+"]")}),ei[s]=$(t)?n:t},Qn.getComponents=function(t){return t&&t[ti]||{}},Qn.getComponent=function(t,e){return Qn.getComponents(t)[e]},Qn.connect=function(t){if(t[ti])for(var e in t[ti])t[ti][e]._callConnected();for(var n=0;n<t.attributes.length;n++){var i=ni(t.attributes[n].name);i&&i in ei&&Qn[i](t)}},Qn.disconnect=function(t){for(var e in t[ti])t[ti][e]._callDisconnected()},function(i){var r=i.data;i.prototype.$create=function(t,e,n){return i[t](e,n)},i.prototype.$mount=function(t){var e=this.$options.name;t[r]||(t[r]={}),t[r][e]||((t[r][e]=this).$el=this.$options.el=this.$options.el||t,At(t,document)&&this._callConnected())},i.prototype.$reset=function(){this._callDisconnected(),this._callConnected()},i.prototype.$destroy=function(t){void 0===t&&(t=!1);var e=(n=this.$options).el,n=n.name;e&&this._callDisconnected(),this._callHook("destroy"),e&&e[r]&&(delete e[r][n],N(e[r])||delete e[r],t&&be(this.$el))},i.prototype.$emit=function(t){this._callUpdate(t)},i.prototype.$update=function(t,e){void 0===t&&(t=this.$el),i.update(t,e)},i.prototype.$getComponent=i.getComponent;var t=nt(function(t){return i.prefix+d(t)});Object.defineProperties(i.prototype,{$container:Object.getOwnPropertyDescriptor(i,"container"),$name:{get:function(){return t(this.$options.name)}}})}(Xn);var ai={connected:function(){Be(this.$el,this.$name)||Ae(this.$el,this.$name)}},ui={props:{cls:Boolean,animation:"list",duration:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,origin:!1,transition:"linear",clsEnter:"uk-togglabe-enter",clsLeave:"uk-togglabe-leave",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){return t=t.animation,this.hasAnimation&&!0===t[0]}},methods:{toggleElement:function(e,s,a){var u=this;return new se(function(t){return se.all(j(e).map(function(t){var e=_(s)?s:!u.isToggled(t);if(!Kt(t,"before"+(e?"show":"hide"),[u]))return se.reject();var o,n=(x(a)?a:!1!==a&&u.hasAnimation?u.hasTransition?ci(u):(o=u,function(t,e){Ze.cancel(t);var n=o.animation,i=o.duration,r=o._toggle;return e?(r(t,!0),Ze.in(t,n[0],i,o.origin)):Ze.out(t,n[1]||n[0],i,o.origin).then(function(){return r(t,!1)})}):u._toggle)(t,e),i=e?u.clsEnter:u.clsLeave;function r(){Me(t,i),Kt(t,e?"shown":"hidden",[u]),u.$update(t)}return Ae(t,i),Kt(t,e?"show":"hide",[u]),n?n.then(r,function(){return Me(t,i),se.reject()}):r()})).then(t,J)})},isToggled:function(t){return!!Be(t=void 0===t?this.$el:t,this.clsEnter)||!Be(t,this.clsLeave)&&(this.cls?Be(t,this.cls.split(" ")[0]):!rt(t,"hidden"))},_toggle:function(t,e){var n;t&&(e=Boolean(e),this.cls?(n=v(this.cls," ")||e!==Be(t,this.cls))&&De(t,this.cls,v(this.cls," ")?void 0:e):(n=e===t.hidden)&&(t.hidden=!e),Ce("[autofocus]",t).some(function(t){return yt(t)?t.focus()||!0:t.blur()}),n&&(Kt(t,"toggled",[e,this]),this.$update(t)))}}};function ci(t){var o=t.isToggled,s=t.duration,a=t.initProps,u=t.hideProps,c=t.transition,h=t._toggle;return function(t,e){var n=Xe.inProgress(t),i=t.hasChildNodes?P(je(t.firstElementChild,"marginTop"))+P(je(t.lastElementChild,"marginBottom")):0,r=yt(t)?on(t)+(n?0:i):0;return Xe.cancel(t),o(t)||h(t,!0),on(t,""),dn.flush(),i=on(t)+(n?0:i),on(t,r),(e?Xe.start(t,q({},a,{overflow:"hidden",height:i}),Math.round(s*(1-r/i)),c):Xe.start(t,u,Math.round(s*(r/i)),c).then(function(){return h(t,!1)})).then(function(){return je(t,a)})}}var hi={mixins:[ai,ui],props:{targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,transition:String,offset:Number},data:{targets:"> *",active:!1,animation:[!0],collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:"> .uk-accordion-title",content:"> .uk-accordion-content",transition:"ease",offset:0},computed:{items:{get:function(t,e){return Ce(t.targets,e)},watch:function(t,e){var n=this;t.forEach(function(t){return li(Ee(n.content,t),!Be(t,n.clsOpen))}),e||Be(t,this.clsOpen)||(t=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0])&&this.toggle(t,!1)},immediate:!0},toggles:function(t){var e=t.toggle;return this.items.map(function(t){return Ee(e,t)})}},events:[{name:"click",delegate:function(){return this.targets+" "+this.$props.toggle},handler:function(t){t.preventDefault(),this.toggle(Nt(this.toggles,t.current))}}],methods:{toggle:function(t,r){var o=this,e=[this.items[et(t,this.items)]],t=It(this.items,"."+this.clsOpen);this.multiple||v(t,e[0])||(e=e.concat(t)),!this.collapsible&&t.length<2&&!It(e,":not(."+this.clsOpen+")").length||e.forEach(function(t){return o.toggleElement(t,!Be(t,o.clsOpen),function(e,n){De(e,o.clsOpen,n),it(Ee(o.$props.toggle,e),"aria-expanded",n);var i=Ee((e._wrapper?"> * ":"")+o.content,e);if(!1!==r&&o.hasTransition)return e._wrapper||(e._wrapper=xe(i,"<div"+(n?" hidden":"")+">")),li(i,!1),ci(o)(e._wrapper,n).then(function(){var t;li(i,!n),delete e._wrapper,ke(i),n&&(Dn(t=Ee(o.$props.toggle,e))||Pn(t,{offset:o.offset}))});li(i,!n)})})}}};function li(t,e){t&&(t.hidden=e)}var di,fi={mixins:[ai,ui],args:"animation",props:{close:String},data:{animation:[!0],selClose:".uk-alert-close",duration:150,hideProps:q({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)})}}},pi={mixins:[ai,eo={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},computed:{inView:function(t){return"inview"===t.autoplay}},connected:function(){this.inView&&!rt(this.$el,"preload")&&(this.$el.preload="none"),this.automute&&Tn(this.$el)},update:{read:function(){return{visible:yt(this.$el)&&"hidden"!==je(this.$el,"visibility"),inView:this.inView&&Dn(this.$el)}},write:function(t){var e=t.visible,t=t.inView;!e||this.inView&&!t?In(this.$el):(!0===this.autoplay||this.inView&&t)&&Sn(this.$el)},events:["resize","scroll"]}}],props:{width:Number,height:Number},data:{automute:!0},update:{read:function(){var t=this.$el,e=(n=function(t){for(;t=St(t);)if("static"!==je(t,"position"))return t}(t)||St(t)).offsetHeight,n=n.offsetWidth;return!(!(e=tt.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:e+(e%2?1:0)})).width||!e.height)&&e},write:function(t){var e=t.height,t=t.width;je(this.$el,{height:e,width:t})},events:["resize"]}},mi={props:{pos:String,offset:null,flip:Boolean,clsPos:String},data:{pos:"bottom-"+(ct?"right":"left"),flip:!0,offset:!1,clsPos:""},computed:{pos:function(t){return((t=t.pos)+(v(t,"-")?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,n){ze(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?");var i,r=this.offset,o=this.getAxis();z(r)||(r=(i=Ee(r))?en(i)["x"===o?"left":"top"]-en(e)["x"===o?"right":"bottom"]:0),n=(r=Vn(t,e,"x"===o?cn(this.dir)+" "+this.align:this.align+" "+cn(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,n).target).x,r=r.y,this.dir="x"===o?n:r,this.align="x"===o?r:n,De(t,this.clsPos+"-"+this.dir+"-"+this.align,!1===this.offset)},getAxis:function(){return"top"===this.dir||"bottom"===this.dir?"y":"x"}}},gi={mixins:[mi,ui],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},data:{mode:["click","hover"],toggle:"- *",boundary:!0,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,animation:["uk-animation-fade"],cls:"uk-open"},computed:{boundary:function(t,e){return!0===(t=t.boundary)?window:Bt(t,e)},clsDrop:function(t){return t.clsDrop||"uk-"+this.$options.name},clsPos:function(){return this.clsDrop}},created:function(){this.tracker=new wn},connected:function(){Ae(this.$el,this.clsDrop);var t=this.$props.toggle;this.toggle=t&&this.$create("toggle",Bt(t,this.$el),{target:this.$el,mode:this.mode})},disconnected:function(){this.isActive()&&(di=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,t=t.current.hash;e||!t||At(t,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:gt,filter:function(){return v(this.mode,"hover")},handler:function(t){ie(t)||this.clearTimers()}},{name:vt,filter:function(){return v(this.mode,"hover")},handler:function(t){!ie(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler:function(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler:function(){var r=this;(di=this).tracker.init(),Gt(this.$el,"hide",Yt(document,ft,function(t){var i=t.target;return!At(i,r.$el)&&Gt(document,mt+" "+wt+" scroll",function(t){var e=t.defaultPrevented,n=t.type,t=t.target;e||n!==mt||i!==t||r.toggle&&At(i,r.toggle.$el)||r.hide(!1)},!0)}),{self:!0}),Gt(this.$el,"hide",Yt(document,"keydown",function(t){27===t.keyCode&&r.hide(!1)}),{self:!0})}},{name:"beforehide",self:!0,handler:function(){this.clearTimers()}},{name:"hide",handler:function(t){t=t.target,this.$el===t?(di=this.isActive()?null:di,this.tracker.cancel()):di=null===di&&At(t,this.$el)&&this.isToggled()?this:di}}],update:{write:function(){this.isToggled()&&!Be(this.$el,this.clsEnter)&&this.position()},events:["resize"]},methods:{show:function(t,e){var n,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(di){if(e&&di.isDelaying)return void(this.showTimer=setTimeout(this.show,10));for(;di&&n!==di&&!At(this.$el,di.$el);)(n=di).hide(!1)}this.showTimer=setTimeout(function(){return!i.isToggled()&&i.toggleElement(i.$el,!0)},e&&this.delayShow||0)}},hide:function(t){var e,n,i=this;function r(){return i.toggleElement(i.$el,!1,!1)}void 0===t&&(t=!0),this.clearTimers(),this.isDelaying=(e=this.$el,n=[],Te(e,function(t){return"static"!==je(t,"position")&&n.push(t)}),n.some(function(t){return i.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 di===this},position:function(){Me(this.$el,this.clsDrop+"-stack"),De(this.$el,this.clsDrop+"-boundary",this.boundaryAlign);var t,e=en(this.boundary),n=this.boundaryAlign?e:en(this.toggle.$el);"justify"===this.align?(t="y"===this.getAxis()?"width":"height",je(this.$el,t,n[t])):this.boundary&&this.$el.offsetWidth>Math.max(e.right-n.left,n.right-e.left)&&Ae(this.$el,this.clsDrop+"-stack"),this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary)}}},vi={mixins:[ai],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:function(t,e){return Ee(kt,e)},state:function(){return this.input.nextElementSibling},target:function(t,e){return(t=t.target)&&(!0===t&&St(this.input)===e&&this.input.nextElementSibling||Bt(t,e))}},update:function(){var t,e,n=this.target,i=this.input;!n||n[e=$t(n)?"value":"textContent"]!==(i=i.files&&i.files[0]?i.files[0].name:Et(i,"select")&&(t=Ce("option",i).filter(function(t){return t.selected})[0])?t.textContent:i.value)&&(n[e]=i)},events:[{name:"change",handler:function(){this.$update()}},{name:"reset",el:function(){return _t(this.$el,"form")},handler:function(){this.$update()}}]},wi={update:{read:function(t){var e=Dn(this.$el);if(!e||t.isInView===e)return!1;t.isInView=e},write:function(){this.$el.src=""+this.$el.src},events:["scroll","resize"]}},bi={props:{margin:String,firstColumn:Boolean},data:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},update:{read:function(){var t=xi(this.$el.children);return{rows:t,columns:function(t){for(var e=[],n=0;n<t.length;n++)for(var i=yi(t[n],"left","right"),r=0;r<i.length;r++)e[r]=e[r]?e[r].concat(i[r]):i[r];return ct?e.reverse():e}(t)}},write:function(t){for(var e=t.columns,n=t.rows,i=0;i<n.length;i++)for(var r=0;r<n[i].length;r++)De(n[i][r],this.margin,0!==i),De(n[i][r],this.firstColumn,!!~e[0].indexOf(n[i][r]))},events:["resize"]}};function xi(t){return yi(t,"top","bottom")}function yi(t,e,n){for(var i=[[]],r=0;r<t.length;r++){var o=t[r];if(yt(o))for(var s=ki(o),a=i.length-1;0<=a;a--){var u=i[a];if(!u[0]){u.push(o);break}var c=u[0].offsetParent===o.offsetParent?ki(u[0]):(s=ki(o,!0),ki(u[0],!0));if(s[e]>=c[n]-1&&s[e]!==c[e]){i.push([o]);break}if(s[n]-1>c[e]||s[e]===c[e]){u.push(o);break}if(0===a){i.unshift([o]);break}}}return i}function ki(t,e){void 0===e&&(e=!1);var n=t.offsetTop,i=t.offsetLeft,r=t.offsetHeight,o=t.offsetWidth;return e&&(n=(t=rn(t))[0],i=t[1]),{top:n,left:i,bottom:n+r,right:i+o}}var $i={extends:bi,mixins:[ai],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"uk-grid-margin",clsStack:"uk-grid-stack",masonry:!1,parallax:0},connected:function(){this.masonry&&Ae(this.$el,"uk-flex-top uk-flex-wrap-top")},update:[{write:function(t){t=t.columns,De(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read:function(t){var e=t.columns,n=t.rows;if(!e.length||!this.masonry&&!this.parallax||Si(this.$el))return t.translates=!1;var i,r,o=!1,s=zt(this.$el),a=e.map(function(t){return t.reduce(function(t,e){return t+e.offsetHeight},0)}),u=(t=s,i=this.margin,P((s=t.filter(function(t){return Be(t,i)})[0])?je(s,"marginTop"):je(t[0],"paddingLeft"))*(n.length-1)),c=Math.max.apply(Math,a)+u;this.masonry&&(t=e=e.map(function(t){return X(t,"offsetTop")}),r=n.map(function(t){return Math.max.apply(Math,t.map(function(t){return t.offsetHeight}))}),o=t.map(function(n){var i=0;return n.map(function(t,e){return i+=e?r[e-1]-n[e-1].offsetHeight:0})}));var h=Math.abs(this.parallax);return{padding:h=h&&a.reduce(function(t,e,n){return Math.max(t,e+u+(n%2?h:h/8)-c)},0),columns:e,translates:o,height:o?c:""}},write:function(t){var e=t.height,t=t.padding;je(this.$el,"paddingBottom",t||""),!1!==e&&je(this.$el,"height",e)},events:["resize"]},{read:function(t){return t=t.height,!Si(this.$el)&&{scrolled:!!this.parallax&&Hn(this.$el,t?t-on(this.$el):0)*Math.abs(this.parallax)}},write:function(t){var e=t.columns,i=t.scrolled,r=t.translates;!1===i&&!r||e.forEach(function(t,n){return t.forEach(function(t,e){return je(t,"transform",i||r?"translateY("+((r&&-r[n][e])+(i?n%2?i:i/8:0))+"px)":"")})})},events:["scroll","resize"]}]};function Si(t){return zt(t).some(function(t){return"absolute"===je(t,"position")})}var Ii={mixins:[xr=ut?{props:{selMinHeight:String},data:{selMinHeight:!1,forceHeight:!1},computed:{elements:function(t,e){return(t=t.selMinHeight)?Ce(t,e):[e]}},update:[{read:function(){je(this.elements,"height","")},order:-5,events:["resize"]},{write:function(){var n=this;this.elements.forEach(function(t){var e=P(je(t,"minHeight"));e&&(n.forceHeight||Math.round(e+un(t,"height","content-box"))>=t.offsetHeight)&&je(t,"height",e)})},order:5,events:["resize"]}]}:{}],args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0,forceHeight:!0},computed:{elements:function(t,e){return Ce(t.target,e)}},update:{read:function(){return{rows:(this.row?xi(this.elements):[this.elements]).map(Ti)}},write:function(t){t.rows.forEach(function(t){var n=t.heights;return t.elements.forEach(function(t,e){return je(t,"minHeight",n[e])})})},events:["resize"]}};function Ti(t){if(t.length<2)return{heights:[""],elements:t};var n=t.map(Ei),i=Math.max.apply(Math,n),e=t.some(function(t){return t.style.minHeight}),r=t.some(function(t,e){return!t.style.minHeight&&n[e]<i});return e&&r&&(je(t,"minHeight",""),n=t.map(Ei),i=Math.max.apply(Math,n)),{heights:n=t.map(function(t,e){return n[e]===i&&P(t.style.minHeight).toFixed(2)!==i.toFixed(2)?"":i}),elements:t}}function Ei(t){var e=!1;yt(t)||(e=t.style.display,je(t,"display","block","important"));var n=tn(t).height-un(t,"height","content-box");return!1!==e&&je(t,"display",e),n}var Ci={mixins:[xr],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(!yt(this.$el))return!1;var n="",i=un(this.$el,"height","content-box");return this.expand?n=on(window)-(tn(document.documentElement).height-tn(this.$el).height)-i||"":(n="calc(100vh",this.offsetTop&&(n+=0<(t=en(this.$el).top)&&t<on(window)/2?" - "+t+"px":""),!0===this.offsetBottom?n+=" - "+tn(this.$el.nextElementSibling).height+"px":z(this.offsetBottom)?n+=" - "+this.offsetBottom+"vh":this.offsetBottom&&a(this.offsetBottom,"px")?n+=" - "+P(this.offsetBottom)+"px":A(this.offsetBottom)&&(n+=" - "+tn(Bt(this.offsetBottom,this.$el)).height+"px"),n+=(i?" - "+i+"px":"")+")"),{minHeight:n,prev:e}},write:function(t){var e=t.minHeight,t=t.prev;je(this.$el,{minHeight:e}),e!==t&&this.$update(this.$el,"resize"),this.minHeight&&P(je(this.$el,"minHeight"))<this.minHeight&&je(this.$el,"minHeight",this.minHeight)},events:["resize"]}},_i={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(){this.class+=" uk-svg"},connected:function(){var t,n=this;!this.icon&&v(this.src,"#")&&(t=this.src.split("#"),this.src=t[0],this.icon=t[1]),this.svg=this.getSvg().then(function(t){if(n._connected){var e=function(t,e){if(xt(e)||"CANVAS"===e.tagName){e.hidden=!0;var n=e.nextElementSibling;return Bi(t,n)?n:ve(e,t)}return Bi(t,n=e.lastElementChild)?n:me(e,t)}(t,n.$el);return n.svgEl&&e!==n.svgEl&&be(n.svgEl),n.applyAttributes(e,t),n.$emit(),n.svgEl=e}},J)},disconnected:function(){var e=this;this.svg.then(function(t){e._connected||(xt(e.$el)&&(e.$el.hidden=!1),be(t),e.svgEl=null)}),this.svg=null},update:{read:function(){return!!(this.strokeAnimation&&this.svgEl&&yt(this.svgEl))},write:function(){var t,e=this.svgEl;(t=Ni(e))&&e.style.setProperty("--uk-animation-stroke",t)},type:["resize"]},methods:{getSvg:function(){var n=this;return Ai(this.src).then(function(t){return e=t,t=n.icon,(e=Ee((e=t&&v(e,"<symbol")?function(t,e){var n;if(!zi[t])for(zi[t]={},Mi.lastIndex=0;n=Mi.exec(t);)zi[t][n[3]]='<svg xmlns="http://www.w3.org/2000/svg"'+n[1]+"svg>";return zi[t][e]}(e,t)||e:e).substr(e.indexOf("<svg"))))&&e.hasChildNodes()&&e||se.reject("SVG not found.");var e})},applyAttributes:function(n,e){var t,i,r=this;for(t in this.$options.props)v(this.include,t)&&t in this&&it(n,t,this[t]);for(i in this.attributes){var o=(s=this.attributes[i].split(":",2))[0],s=s[1];it(n,o,s)}this.id||ot(n,"id");var a=["width","height"],u=a.map(function(t){return r[t]});u.some(function(t){return t})||(u=a.map(function(t){return it(e,t)}));var c=it(e,"viewBox");(u=c&&!u.some(function(t){return t})?c.split(" ").slice(2):u).forEach(function(t,e){return it(n,a[e],P(t)*r.ratio||null)})}}},Ai=nt(function(n){return new se(function(e,t){n?g(n,"data:")?e(decodeURIComponent(n.split(",")[1])):le(n).then(function(t){return e(t.response)},function(){return t("SVG not found.")}):t()})}),Mi=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,zi={};function Ni(t){return Math.ceil(Math.max.apply(Math,[0].concat(Ce("[stroke]",t).map(function(t){try{return t.getTotalLength()}catch(t){return 0}}))))}function Bi(t,e){return Di(t)&&Di(e)&&Oi(t)===Oi(e)}function Di(t){return t&&"svg"===t.tagName}function Oi(t){return(t.innerHTML||(new XMLSerializer).serializeToString(t).replace(/<svg.*?>(.*?)<\/svg>/g,"$1")).replace(/\s/g,"")}var Pi={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>',"slidenav-next":'<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1 "/></svg>',"slidenav-next-large":'<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5 "/></svg>',"slidenav-previous":'<svg width="14" height="24" viewBox="0 0 14 24" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23 "/></svg>',"slidenav-previous-large":'<svg width="25" height="40" viewBox="0 0 25 40" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547 "/></svg>'},Hi={install:function(r){r.icon.add=function(t,e){var n,i=A(t)?((n={})[t]=e,n):t;Y(i,function(t,e){Pi[e]=t,delete Vi[e]}),r._initialized&&Te(document.body,function(t){return Y(r.getComponents(t),function(t){t.$options.isIcon&&t.icon in i&&t.$reset()})})}},extends:_i,args:"icon",props:["icon"],data:{include:["focusable"]},isIcon:!0,beforeConnect:function(){Ae(this.$el,"uk-icon")},methods:{getSvg:function(){var t,e,t=(t=this.icon,Pi[t]?(Vi[t]||(Vi[t]=Ee((Pi[e=t,ct?R(R(e,"left","right"),"previous","next"):e]||Pi[t]).trim())),Vi[t].cloneNode(!0)):null);return t?se.resolve(t):se.reject("Icon not found.")}}},Li={extends:Rr={args:!1,extends:Hi,data:function(t){return{icon:d(t.constructor.options.name)}},beforeConnect:function(){Ae(this.$el,this.$name)}},beforeConnect:function(){Ae(this.$el,"uk-slidenav")},computed:{icon:function(t,e){return t=t.icon,Be(e,"uk-slidenav-large")?t+"-large":t}}},ji={extends:Rr,computed:{icon:function(t,e){return t=t.icon,Be(e,"uk-search-icon")&&Mt(e,".uk-search-large").length?"search-large":Mt(e,".uk-search-navbar").length?"search-navbar":t}}},Fi={extends:Rr,computed:{icon:function(){return"close-"+(Be(this.$el,"uk-close-large")?"large":"icon")}}},Wi={extends:Rr,connected:function(){var e=this;this.svg.then(function(t){return t&&1!==e.ratio&&je(Ee("circle",t),"strokeWidth",1/e.ratio)})}},Vi={},Ri={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:"50vw",target:!1},computed:{cacheKey:function(t){return t=t.dataSrc,this.$name+"."+t},width:function(t){var e=t.width,t=t.dataWidth;return e||t},height:function(t){var e=t.height,t=t.dataHeight;return e||t},sizes:function(t){var e=t.sizes,t=t.dataSizes;return e||t},isImg:function(t,e){return Ji(e)},target:{get:function(t){return t=t.target,[this.$el].concat(Dt(t,this.$el))},watch:function(){this.observe()}},offsetTop:function(t){return hn(t.offsetTop,"height")},offsetLeft:function(t){return hn(t.offsetLeft,"width")}},connected:function(){var t,e,n;window.IntersectionObserver?(Qi[this.cacheKey]?qi(this.$el,Qi[this.cacheKey],this.dataSrcset,this.sizes):this.isImg&&this.width&&this.height&&qi(this.$el,(t=this.width,e=this.height,(n=this.sizes)&&(t=(n=tt.ratio({width:t,height:e},"width",hn(Yi(n)))).width,e=n.height),'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="'+t+'" height="'+e+'"></svg>')),this.observer=new IntersectionObserver(this.load,{rootMargin:this.offsetTop+"px "+this.offsetLeft+"px"}),requestAnimationFrame(this.observe)):qi(this.$el,this.dataSrc,this.dataSrcset,this.sizes)},disconnected:function(){this.observer&&this.observer.disconnect()},update:{read:function(t){var e=this,t=t.image;return!!this.observer&&(t||"complete"!==document.readyState||this.load(this.observer.takeRecords()),!this.isImg&&void(t&&t.then(function(t){return t&&""!==t.currentSrc&&qi(e.$el,Zi(t))})))},write:function(t){var e,n,i;this.dataSrcset&&1!==window.devicePixelRatio&&(!(n=je(this.$el,"backgroundSize")).match(/^(auto\s?)+$/)&&P(n)!==t.bgSize||(t.bgSize=(e=this.dataSrcset,n=this.sizes,i=hn(Yi(n)),(e=(e.match(Ki)||[]).map(P).sort(function(t,e){return t-e})).filter(function(t){return i<=t})[0]||e.pop()||""),je(this.$el,"backgroundSize",t.bgSize+"px")))},events:["resize"]},methods:{load:function(t){var e=this;t.some(function(t){return B(t.isIntersecting)||t.isIntersecting})&&(this._data.image=de(this.dataSrc,this.dataSrcset,this.sizes).then(function(t){return qi(e.$el,Zi(t),t.srcset,t.sizes),Qi[e.cacheKey]=Zi(t),t},function(t){return Kt(e.$el,new t.constructor(t.type,t))}),this.observer.disconnect())},observe:function(){var e=this;this._connected&&!this._data.image&&this.target.forEach(function(t){return e.observer.observe(t)})}}};function qi(t,e,n,i){Ji(t)?(i&&(t.sizes=i),n&&(t.srcset=n),e&&(t.src=e)):e&&!v(t.style.backgroundImage,e)&&(je(t,"backgroundImage","url("+Ut(e)+")"),Kt(t,Jt("load",!1)))}var Ui=/\s*(.*?)\s*(\w+|calc\(.*?\))\s*(?:,|$)/g;function Yi(t){var e,n;for(Ui.lastIndex=0;e=Ui.exec(t);)if(!e[1]||window.matchMedia(e[1]).matches){e=g(n=e[2],"calc")?n.slice(5,-1).replace(Xi,function(t){return hn(t)}).replace(/ /g,"").match(Gi).reduce(function(t,e){return t+ +e},0):n;break}return e||"100vw"}var Xi=/\d+(?:\w+|%)/g,Gi=/[+-]?(\d+)/g,Ki=/\s+\d+w\s*(?:,|$)/g;function Ji(t){return"IMG"===t.tagName}function Zi(t){return t.currentSrc||t.src}var Qi,tr="__test__";try{(Qi=window.sessionStorage||{})[tr]=1,delete Qi[tr]}catch(fr){Qi={}}var er={props:{media:Boolean},data:{media:!1},computed:{matchMedia:function(){var t=function(t){if(A(t))if("@"===t[0])t=P(Re("breakpoint-"+t.substr(1)));else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}(this.media);return!t||window.matchMedia(t).matches}}},nr={mixins:[ai,er],props:{fill:String},data:{fill:"",clsWrapper:"uk-leader-fill",clsHide:"uk-leader-hide",attrFill:"data-fill"},computed:{fill:function(t){return t.fill||Re("leader-fill-content")}},connected:function(){var t=ye(this.$el,'<span class="'+this.clsWrapper+'">');this.wrapper=t[0]},disconnected:function(){ke(this.wrapper.childNodes)},update:{read:function(t){var e=t.changed,n=t.width,t=n;return{width:n=Math.floor(this.$el.offsetWidth/2),fill:this.fill,changed:e||t!==n,hide:!this.matchMedia}},write:function(t){De(this.wrapper,this.clsHide,t.hide),t.changed&&(t.changed=!1,it(this.wrapper,this.attrFill,new Array(t.width).join(t.fill)))},events:["resize"]}},ir={props:{container:Boolean},data:{container:!0},computed:{container:function(t){return!0===(t=t.container)&&this.$container||t&&Ee(t)}}},rr=[],or={mixins:[ai,ir,ui],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},data:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},computed:{panel:function(t,e){return Ee(t.selPanel,e)},transitionElement:function(){return this.panel},bgClose:function(t){return t.bgClose&&this.panel}},beforeDisconnect:function(){this.isToggled()&&this.toggleElement(this.$el,!1,!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.isToggled()===v(rr,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler:function(t){if(v(rr,this))return!1;!this.stack&&rr.length?(se.all(rr.map(function(t){return t.hide()})).then(this.show),t.preventDefault()):rr.push(this)}},{name:"show",self:!0,handler:function(){var r=this;sn(window)-sn(document)&&this.overlay&&je(document.body,"overflowY","scroll"),this.stack&&je(this.$el,"zIndex",P(je(this.$el,"zIndex"))+rr.length),Ae(document.documentElement,this.clsPage),this.bgClose&&Gt(this.$el,"hide",Yt(document,ft,function(t){var i=t.target;U(rr)!==r||r.overlay&&!At(i,r.$el)||At(i,r.panel)||Gt(document,mt+" "+wt+" scroll",function(t){var e=t.defaultPrevented,n=t.type,t=t.target;e||n!==mt||i!==t||r.hide()},!0)}),{self:!0}),this.escClose&&Gt(this.$el,"hide",Yt(document,"keydown",function(t){27===t.keyCode&&U(rr)===r&&r.hide()}),{self:!0})}},{name:"hidden",self:!0,handler:function(){var e=this;v(rr,this)&&rr.splice(rr.indexOf(this),1),rr.length||je(document.body,"overflowY",""),je(this.$el,"zIndex",""),rr.some(function(t){return t.clsPage===e.clsPage})||Me(document.documentElement,this.clsPage)}}],methods:{toggle:function(){return this.isToggled()?this.hide():this.show()},show:function(){var e=this;return this.container&&St(this.$el)!==this.container?(me(this.container,this.$el),new se(function(t){return requestAnimationFrame(function(){return e.show().then(t)})})):this.toggleElement(this.$el,!0,sr(this))},hide:function(){return this.toggleElement(this.$el,!1,sr(this))}}};function sr(t){var s=t.transitionElement,a=t._toggle;return function(r,o){return new se(function(n,i){return Gt(r,"show hide",function(){r._reject&&r._reject(),r._reject=i,a(r,o);var t=Gt(s,"transitionstart",function(){Gt(s,"transitionend transitioncancel",n,{self:!0}),clearTimeout(e)},{self:!0}),e=setTimeout(function(){t(),n()},W(je(s,"transitionDuration")))})}).then(function(){return delete r._reject})}}var ar={install:function(t){var a=t.modal;function i(t,e,n,i){e=q({bgClose:!1,escClose:!0,labels:a.labels},e);var r=a.dialog(t(e),e),o=new oe,s=!1;return Yt(r.$el,"submit","form",function(t){t.preventDefault(),o.resolve(i&&i(r)),s=!0,r.hide()}),Yt(r.$el,"hide",function(){return!s&&n(o)}),o.promise.dialog=r,o.promise}a.dialog=function(t,e){var n=a('<div class="uk-modal"> <div class="uk-modal-dialog">'+t+"</div> </div>",e);return n.show(),Yt(n.$el,"hidden",function(){return se.resolve().then(function(){return n.$destroy(!0)})},{self:!0}),n},a.alert=function(e,t){return i(function(t){return t=t.labels,'<div class="uk-modal-body">'+(A(e)?e:pe(e))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-primary uk-modal-close" autofocus>'+t.ok+"</button> </div>"},t,function(t){return t.resolve()})},a.confirm=function(e,t){return i(function(t){return t=t.labels,'<form> <div class="uk-modal-body">'+(A(e)?e:pe(e))+'</div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+t.cancel+'</button> <button class="uk-button uk-button-primary" autofocus>'+t.ok+"</button> </div> </form>"},t,function(t){return t.reject()})},a.prompt=function(e,n,t){return i(function(t){return t=t.labels,'<form class="uk-form-stacked"> <div class="uk-modal-body"> <label>'+(A(e)?e:pe(e))+'</label> <input class="uk-input" value="'+(n||"")+'" autofocus> </div> <div class="uk-modal-footer uk-text-right"> <button class="uk-button uk-button-default uk-modal-close" type="button">'+t.cancel+'</button> <button class="uk-button uk-button-primary">'+t.ok+"</button> </div> </form>"},t,function(t){return t.resolve(null)},function(t){return Ee("input",t.$el).value})},a.labels={ok:"Ok",cancel:"Cancel"}},mixins:[or],data:{clsPage:"uk-modal-page",selPanel:".uk-modal-dialog",selClose:".uk-modal-close, .uk-modal-close-default, .uk-modal-close-outside, .uk-modal-close-full"},events:[{name:"show",self:!0,handler:function(){Be(this.panel,"uk-margin-auto-vertical")?Ae(this.$el,"uk-flex"):je(this.$el,"display","block"),on(this.$el)}},{name:"hidden",self:!0,handler:function(){je(this.$el,"display",""),Me(this.$el,"uk-flex")}}]},ur={extends:hi,data:{targets:"> .uk-parent",toggle:"> a",content:"> ul"}},cr={mixins:[ai,xr],props:{dropdown:String,mode:"list",align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:Boolean,duration:Number},data:{dropdown:".uk-navbar-nav > li",align:ct?"right":"left",clsDrop:"uk-navbar-dropdown",mode:void 0,offset:void 0,delayShow:void 0,delayHide:void 0,boundaryAlign:void 0,flip:"x",boundary:!0,dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200,forceHeight:!0,selMinHeight:".uk-navbar-nav > li > a, .uk-navbar-item, .uk-navbar-toggle"},computed:{boundary:function(t,e){var n=t.boundary,t=t.boundaryAlign;return!0===n||t?e:n},dropbarAnchor:function(t,e){return Bt(t.dropbarAnchor,e)},pos:function(t){return"bottom-"+t.align},dropbar:{get:function(t){return(t=t.dropbar)?(t=this._dropbar||Bt(t,this.$el)||Ee("+ .uk-navbar-dropbar",this.$el))||(this._dropbar=Ee("<div></div>")):null},watch:function(t){Ae(t,"uk-navbar-dropbar")},immediate:!0},dropdowns:{get:function(t,e){return Ce(t.dropdown+" ."+t.clsDrop,e)},watch:function(t){var e=this;this.$create("drop",t.filter(function(t){return!e.getDropdown(t)}),q({},this.$props,{boundary:this.boundary,pos:this.pos,offset:this.dropbar||this.offset}))},immediate:!0}},disconnected:function(){this.dropbar&&be(this.dropbar),delete this._dropbar},events:[{name:"mouseover",delegate:function(){return this.dropdown},handler:function(t){var e=t.current;(t=this.getActive())&&t.toggle&&!At(t.toggle.$el,e)&&!t.tracker.movesTo(t.$el)&&t.hide(!1)}},{name:"mouseleave",el:function(){return this.dropbar},handler:function(){var t=this.getActive();t&&!this.dropdowns.some(function(t){return Et(t,":hover")})&&t.hide()}},{name:"beforeshow",capture:!0,filter:function(){return this.dropbar},handler:function(){St(this.dropbar)||ve(this.dropbarAnchor||this.$el,this.dropbar)}},{name:"show",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,e=e.dir;Be(n,this.clsDrop)&&("slide"===this.dropbarMode&&Ae(this.dropbar,"uk-navbar-dropbar-slide"),this.clsDrop&&Ae(n,this.clsDrop+"-dropbar"),"bottom"===e&&this.transitionTo(n.offsetHeight+P(je(n,"marginTop"))+P(je(n,"marginBottom")),n))}},{name:"beforehide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el,e=this.getActive();Et(this.dropbar,":hover")&&e&&e.$el===n&&t.preventDefault()}},{name:"hide",filter:function(){return this.dropbar},handler:function(t,e){var n=e.$el;!Be(n,this.clsDrop)||(!(e=this.getActive())||e&&e.$el===n)&&this.transitionTo(0)}}],methods:{getActive:function(){var t=this.dropdowns.map(this.getDropdown).filter(function(t){return t&&t.isActive()})[0];return t&&v(t.mode,"hover")&&At(t.toggle.$el,this.$el)&&t},transitionTo:function(t,e){var n=this,i=this.dropbar,r=yt(i)?on(i):0;return je(e=r<t&&e,"clip","rect(0,"+e.offsetWidth+"px,"+r+"px,0)"),on(i,r),Xe.cancel([e,i]),se.all([Xe.start(i,{height:t},this.duration),Xe.start(e,{clip:"rect(0,"+e.offsetWidth+"px,"+t+"px,0)"},this.duration)]).catch(J).then(function(){je(e,{clip:""}),n.$update(i)})},getDropdown:function(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")}}},hr={mixins:[or],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsContainer:"uk-offcanvas-container",selPanel:".uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsContainerAnimation:"uk-offcanvas-container-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",selClose:".uk-offcanvas-close",container:!1},computed:{clsFlip:function(t){var e=t.flip,t=t.clsFlip;return e?t:""},clsOverlay:function(t){var e=t.overlay,t=t.clsOverlay;return e?t:""},clsMode:function(t){var e=t.mode;return t.clsMode+"-"+e},clsSidebarAnimation:function(t){var e=t.mode,t=t.clsSidebarAnimation;return"none"===e||"reveal"===e?"":t},clsContainerAnimation:function(t){var e=t.mode,t=t.clsContainerAnimation;return"push"!==e&&"reveal"!==e?"":t},transitionElement:function(t){return"reveal"===t.mode?St(this.panel):this.panel}},update:{read:function(){this.isToggled()&&!yt(this.$el)&&this.hide()},events:["resize"]},events:[{name:"click",delegate:function(){return'a[href^="#"]'},handler:function(t){var e=t.current.hash;!t.defaultPrevented&&e&&Ee(e,document.body)&&this.hide()}},{name:"touchstart",passive:!0,el:function(){return this.panel},handler:function(t){1===(t=t.targetTouches).length&&(this.clientY=t[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){var e,n,i,r;1===t.targetTouches.length&&(e=event.targetTouches[0].clientY-this.clientY,n=(r=this.panel).scrollTop,((i=r.scrollHeight)<=(r=r.clientHeight)||0===n&&0<e||i-n<=r&&e<0)&&t.cancelable&&t.preventDefault())}},{name:"show",self:!0,handler:function(){"reveal"!==this.mode||Be(St(this.panel),this.clsMode)||(xe(this.panel,"<div>"),Ae(St(this.panel),this.clsMode)),je(document.documentElement,"overflowY",this.overlay?"hidden":""),Ae(document.body,this.clsContainer,this.clsFlip),je(document.body,"touch-action","pan-y pinch-zoom"),je(this.$el,"display","block"),Ae(this.$el,this.clsOverlay),Ae(this.panel,this.clsSidebarAnimation,"reveal"!==this.mode?this.clsMode:""),on(document.body),Ae(document.body,this.clsContainerAnimation),this.clsContainerAnimation&&(lr().content+=",user-scalable=0")}},{name:"hide",self:!0,handler:function(){Me(document.body,this.clsContainerAnimation),je(document.body,"touch-action","")}},{name:"hidden",self:!0,handler:function(){var t;this.clsContainerAnimation&&((t=lr()).content=t.content.replace(/,user-scalable=0$/,"")),"reveal"===this.mode&&ke(this.panel),Me(this.panel,this.clsSidebarAnimation,this.clsMode),Me(this.$el,this.clsOverlay),je(this.$el,"display",""),Me(document.body,this.clsContainer,this.clsFlip),je(document.documentElement,"overflowY","")}},{name:"swipeLeft swipeRight",handler:function(t){this.isToggled()&&a(t.type,"Left")^this.flip&&this.hide()}}]};function lr(){return Ee('meta[name="viewport"]',document.head)||me(document.head,'<meta name="viewport">')}var dr={mixins:[ai],props:{selContainer:String,selContent:String},data:{selContainer:".uk-modal",selContent:".uk-modal-dialog"},computed:{container:function(t,e){return _t(e,t.selContainer)},content:function(t,e){return _t(e,t.selContent)}},connected:function(){je(this.$el,"minHeight",150)},update:{read:function(){return!!(this.content&&this.container&&yt(this.$el))&&{current:P(je(this.$el,"maxHeight")),max:Math.max(150,on(this.container)-(tn(this.content).height-on(this.$el)))}},write:function(t){var e=t.current,t=t.max;je(this.$el,"maxHeight",t),Math.round(e)!==Math.round(t)&&Kt(this.$el,"resize")},events:["resize"]}},t={props:["width","height"],connected:function(){Ae(this.$el,"uk-responsive-width")},update:{read:function(){return!!(yt(this.$el)&&this.width&&this.height)&&{width:sn(St(this.$el)),height:this.height}},write:function(t){on(this.$el,tt.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},fr={props:{offset:Number},data:{offset:0},methods:{scrollTo:function(t){var e=this;t=t&&Ee(t)||document.body,Kt(this.$el,"beforescroll",[this,t])&&Pn(t,{offset:this.offset}).then(function(){return Kt(e.$el,"scrolled",[e,t])})}},events:{click:function(t){t.defaultPrevented||(t.preventDefault(),this.scrollTo("#"+Ut(decodeURIComponent((this.$el.hash||"").substr(1)))))}}},pr="_ukScrollspy",ht={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:"uk-scrollspy-inview"}},computed:{elements:{get:function(t,e){return(t=t.target)?Ce(t,e):[e]},watch:function(t){this.hidden&&je(It(t,":not(."+this.inViewClass+")"),"visibility","hidden")},immediate:!0}},disconnected:function(){var e=this;this.elements.forEach(function(t){Me(t,e.inViewClass,t[pr]?t[pr].cls:""),delete t[pr]})},update:[{read:function(t){var e=this;t.update&&this.elements.forEach(function(t){t[pr]||(t[pr]={cls:st(t,"uk-scrollspy-class")||e.cls}),t[pr].show=Dn(t,e.offsetTop,e.offsetLeft)})},write:function(i){var r=this;if(!i.update)return this.$emit(),i.update=!0;this.elements.forEach(function(e){function t(t){je(e,"visibility",!t&&r.hidden?"hidden":""),De(e,r.inViewClass,t),De(e,n.cls),Kt(e,t?"inview":"outview"),n.inview=t,r.$update(e)}var n=e[pr];!n.show||n.inview||n.queued?!n.show&&n.inview&&!n.queued&&r.repeat&&t(!1):(n.queued=!0,i.promise=(i.promise||se.resolve()).then(function(){return new se(function(t){return setTimeout(t,r.delay)})}).then(function(){t(!0),setTimeout(function(){n.queued=!1,r.$emit()},300)}))})},events:["scroll","resize"]}]},lt={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:{get:function(t,e){return Ce('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 Ce(this.links.map(function(t){return Ut(t.hash).substr(1)}).join(","))},elements:function(t){return t=t.closest,_t(this.links,t||"*")}},update:[{read:function(){var n=this,t=this.targets.length;if(!t||!yt(this.$el))return!1;var i=Ln(this.targets,/auto|scroll/,!0)[0],e=i.clientHeight,r=i.scrollTop,o=i.scrollHeight,s=!1;return r===o-e?s=t-1:(this.targets.every(function(t,e){if(en(t).top-en(jn(i)).top-n.offset<=0)return s=e,!0}),!1===s&&this.overflow&&(s=0)),{active:s}},write:function(t){t=t.active,this.links.forEach(function(t){return t.blur()}),Me(this.elements,this.cls),!1!==t&&Kt(this.$el,"active",[t,Ae(this.elements[t],this.cls)])},events:["scroll","resize"]}]},mr={mixins:[ai,er],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:"uk-active",clsInactive:"",clsFixed:"uk-sticky-fixed",clsBelow:"uk-sticky-below",selTarget:"",widthElement:!1,showOnUp:!1,targetOffset:!1},computed:{offset:function(t){return hn(t.offset)},selTarget:function(t,e){return(t=t.selTarget)&&Ee(t,e)||e},widthElement:function(t,e){return Bt(t.widthElement,e)||this.placeholder},isActive:{get:function(){return Be(this.selTarget,this.clsActive)},set:function(t){t&&!this.isActive?(Ne(this.selTarget,this.clsInactive,this.clsActive),Kt(this.$el,"active")):t||Be(this.selTarget,this.clsInactive)||(Ne(this.selTarget,this.clsActive,this.clsInactive),Kt(this.$el,"inactive"))}}},connected:function(){this.placeholder=Ee("+ .uk-sticky-placeholder",this.$el)||Ee('<div class="uk-sticky-placeholder"></div>'),this.isFixed=!1,this.isActive=!1},disconnected:function(){this.isFixed&&(this.hide(),Me(this.selTarget,this.clsInactive)),be(this.placeholder),this.placeholder=null,this.widthElement=null},events:[{name:"load hashchange popstate",el:function(){return window},handler:function(){var i,r=this;!1!==this.targetOffset&&location.hash&&0<window.pageYOffset&&(i=Ee(location.hash))&&dn.read(function(){var t=en(i).top,e=en(r.$el).top,n=r.$el.offsetHeight;r.isFixed&&t<=e+n&&e<=t+i.offsetHeight&&On(window,t-n-(z(r.targetOffset)?r.targetOffset:0)-r.offset)})}}],update:[{read:function(t,e){return t=t.height,this.inactive=!this.matchMedia||!yt(this.$el),!this.inactive&&(this.isActive&&e.has("resize")&&(this.hide(),t=this.$el.offsetHeight,this.show()),t=this.isActive?t:this.$el.offsetHeight,this.topOffset=en(this.isFixed?this.placeholder:this.$el).top,this.bottomOffset=this.topOffset+t,e=gr("bottom",this),this.top=Math.max(P(gr("top",this)),this.topOffset)-this.offset,this.bottom=e&&e-this.$el.offsetHeight,this.width=tn(yt(this.widthElement)?this.widthElement:this.$el).width,{height:t,top:rn(this.placeholder)[0],margins:je(this.$el,["marginTop","marginBottom","marginLeft","marginRight"])})},write:function(t){var e=t.height,n=t.margins;je(t=this.placeholder,q({height:e},n)),At(t,document)||(ve(this.$el,t),t.hidden=!0),this.isActive=!!this.isActive},events:["resize"]},{read:function(t){return void 0===(t=t.scroll)&&(t=0),this.scroll=window.pageYOffset,{dir:t<=this.scroll?"down":"up",scroll:this.scroll}},write:function(t,e){var n=this,i=Date.now(),r=e.has("scroll"),o=t.initTimestamp;void 0===o&&(o=0);var s=t.dir,a=t.lastDir,u=t.lastScroll,c=t.scroll,e=t.top;(t.lastScroll=c)<0||c===u&&r||this.showOnUp&&!r&&!this.isFixed||((300<i-o||s!==a)&&(t.initScroll=c,t.initTimestamp=i),t.lastDir=s,this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-c)<=30&&Math.abs(u-c)<=10||(this.inactive||c<this.top||this.showOnUp&&(c<=this.top||"down"===s&&r||"up"===s&&!this.isFixed&&c<=this.bottomOffset)?this.isFixed?(this.isFixed=!1,this.animation&&c>this.topOffset?(Ze.cancel(this.$el),Ze.out(this.$el,this.animation).then(function(){return n.hide()},J)):this.hide()):Ze.inProgress(this.$el)&&c<e&&(Ze.cancel(this.$el),this.hide()):this.isFixed?this.update():this.animation?(Ze.cancel(this.$el),this.show(),Ze.in(this.$el,this.animation).catch(J)):this.show()))},events:["resize","scroll"]}],methods:{show:function(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide:function(){this.isActive=!1,Me(this.$el,this.clsFixed,this.clsBelow),je(this.$el,{position:"",top:"",width:""}),this.placeholder.hidden=!0},update:function(){var t=0!==this.top||this.scroll>this.top,e=Math.max(0,this.offset);z(this.bottom)&&this.scroll>this.bottom-this.offset&&(e=this.bottom-this.scroll),je(this.$el,{position:"fixed",top:e+"px",width:this.width}),this.isActive=t,De(this.$el,this.clsBelow,this.scroll>this.bottomOffset),Ae(this.$el,this.clsFixed)}}};function gr(t,e){var n=e.$props,i=e.$el,e=e[t+"Offset"];if(t=n[t])return A(t)&&t.match(/^-?\d/)?e+hn(t):en(!0===t?St(i):Bt(t,i)).bottom}var vr,wr,br,Yn={mixins:[ai],extends:he={mixins:[ui],args:"connect",props:{connect:String,toggle:String,active:Number,swiping:Boolean},data:{connect:"~.uk-switcher",toggle:"> * > :first-child",active:0,swiping:!0,cls:"uk-active",attrItem:"uk-switcher-item"},computed:{connects:{get:function(t,e){return Dt(t.connect,e)},watch:function(t){var n=this;this.swiping&&je(t,"touch-action","pan-y pinch-zoom");var i=this.index();this.connects.forEach(function(t){return zt(t).forEach(function(t,e){return De(t,n.cls,e===i)})})},immediate:!0},toggles:{get:function(t,e){return Ce(t.toggle,e).filter(function(t){return!Et(t,".uk-disabled *, .uk-disabled, [disabled]")})},watch:function(t){var e=this.index();this.show(~e?e:t[this.active]||t[0])},immediate:!0},children:function(){var t=this;return zt(this.$el).filter(function(e){return t.toggles.some(function(t){return At(t,e)})})}},events:[{name:"click",delegate:function(){return this.toggle},handler:function(t){t.preventDefault(),this.show(t.current)}},{name:"click",el:function(){return this.connects},delegate:function(){return"["+this.attrItem+"],[data-"+this.attrItem+"]"},handler:function(t){t.preventDefault(),this.show(st(t.current,this.attrItem))}},{name:"swipeRight swipeLeft",filter:function(){return this.swiping},el:function(){return this.connects},handler:function(t){t=t.type,this.show(a(t,"Left")?"next":"previous")}}],methods:{index:function(){var e=this;return w(this.children,function(t){return Be(t,e.cls)})},show:function(t){var n=this,i=this.index(),r=et(this.children[et(t,this.toggles,i)],zt(this.$el));i!==r&&(this.children.forEach(function(t,e){De(t,n.cls,r===e),it(n.toggles[e],"aria-expanded",r===e)}),this.connects.forEach(function(t){var e=t.children;return n.toggleElement(j(e).filter(function(t){return Be(t,n.cls)}),!1,0<=i).then(function(){return n.toggleElement(e[r],!0,0<=i)})}))}}},props:{media:Boolean},data:{media:960,attrItem:"uk-tab-item"},connected:function(){var t=Be(this.$el,"uk-tab-left")?"uk-tab-left":!!Be(this.$el,"uk-tab-right")&&"uk-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}},xr={mixins:[er,ui],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get:function(t,e){var n=t.href;return(t=Dt((t=t.target)||n,e)).length&&t||[e]},watch:function(){this.updateAria()},immediate:!0}},events:[{name:gt+" "+vt,filter:function(){return v(this.mode,"hover")},handler:function(t){ie(t)||this.toggle("toggle"+(t.type===gt?"show":"hide"))}},{name:"click",filter:function(){return v(this.mode,"click")||dt&&v(this.mode,"hover")},handler:function(t){var e;(_t(t.target,'a[href="#"], a[href=""]')||(e=_t(t.target,"a[href]"))&&(!yr(this.target,this.cls)||e.hash&&Et(this.target,e.hash)))&&t.preventDefault(),this.toggle()}},{name:"toggled",self:!0,el:function(){return this.target},handler:function(t,e){this.updateAria(e)}}],update:{read:function(){return!(!v(this.mode,"media")||!this.media)&&{match:this.matchMedia}},write:function(t){var e=t.match,t=this.isToggled(this.target);(e?!t:t)&&this.toggle()},events:["resize"]},methods:{toggle:function(t){var n=this;if(Kt(this.target,t||"toggle",[this])){if(!this.queued)return this.toggleElement(this.target);var e,i=this.target.filter(function(t){return Be(t,n.clsLeave)});i.length?this.target.forEach(function(t){var e=v(i,t);n.toggleElement(t,e,e)}):(e=this.target.filter(this.isToggled),this.toggleElement(e,!1).then(function(){return n.toggleElement(n.target.filter(function(t){return!v(e,t)}),!0)}))}},updateAria:function(t){it(this.$el,"aria-expanded",_(t)?t:yr(this.target,this.cls))}}};function yr(t,e){return e?Be(t,e.split(" ")[0]):yt(t)}function kr(t){for(var e=t.addedNodes,n=t.removedNodes,i=0;i<e.length;i++)Te(e[i],wr);for(var r=0;r<n.length;r++)Te(n[r],br)}function $r(t){var e=t.target,n=t.attributeName;(t=ni(n))&&t in vr&&(rt(e,n)?vr[t](e):(t=vr.getComponent(e,t))&&t.$destroy())}Y(Object.freeze({__proto__:null,Accordion:hi,Alert:fi,Cover:pi,Drop:gi,Dropdown:gi,FormCustom:vi,Gif:wi,Grid:$i,HeightMatch:Ii,HeightViewport:Ci,Icon:Hi,Img:Ri,Leader:nr,Margin:bi,Modal:ar,Nav:ur,Navbar:cr,Offcanvas:hr,OverflowAuto:dr,Responsive:t,Scroll:fr,Scrollspy:ht,ScrollspyNav:lt,Sticky:mr,Svg:_i,Switcher:he,Tab:Yn,Toggle:xr,Video:eo,Close:Fi,Spinner:Wi,SlidenavNext:Li,SlidenavPrevious:Li,SearchIcon:ji,Marker:Rr,NavbarToggleIcon:Rr,OverlayIcon:Rr,PaginationNext:Rr,PaginationPrevious:Rr,Totop:Rr}),function(t,e){return Xn.component(e,t)}),Xn.use(function(e){var t,n,i,r;at&&(n=function(){t||(t=!0,dn.write(function(){return t=!1}),e.update(null,"resize"))},Yt(window,"load resize",n),Yt(document,"loadedmetadata load",n,!0),"ResizeObserver"in window&&new ResizeObserver(n).observe(document.documentElement),Yt(window,"scroll",function(t){i||(i=!0,dn.write(function(){return i=!1}),e.update(null,t.type))},{passive:!0,capture:!0}),r=0,Yt(document,"animationstart",function(t){(je(t=t.target,"animationName")||"").match(/^uk-.*(left|right)/)&&(r++,je(document.documentElement,"overflowX","hidden"),setTimeout(function(){--r||je(document.documentElement,"overflowX","")},W(je(t,"animationDuration"))+100))},!0),Yt(document,ft,function(t){var s,a;ie(t)&&(s=re(t),a="tagName"in t.target?t.target:St(t.target),Gt(document,mt+" "+wt+" scroll",function(t){var e=re(t),r=e.x,o=e.y;("scroll"!==t.type&&a&&r&&100<Math.abs(s.x-r)||o&&100<Math.abs(s.y-o))&&setTimeout(function(){var t,e,n,i;Kt(a,"swipe"),Kt(a,"swipe"+(t=s.x,e=s.y,n=r,i=o,Math.abs(t-n)>=Math.abs(e-i)?0<t-n?"Left":"Right":0<e-i?"Up":"Down"))})}))},{passive:!0}))}),wr=(vr=Xn).connect,br=vr.disconnect,at&&window.MutationObserver&&dn.read(function(){document.body&&Te(document.body,wr),new MutationObserver(function(t){return t.forEach(kr)}).observe(document,{childList:!0,subtree:!0}),new MutationObserver(function(t){return t.forEach($r)}).observe(document,{attributes:!0,subtree:!0}),vr._initialized=!0}),he={mixins:[ai],props:{date:String,clsWrapper:String},data:{date:"",clsWrapper:".uk-countdown-%unit%"},computed:{date:function(t){return t=t.date,Date.parse(t)},days:function(t,e){return Ee(t.clsWrapper.replace("%unit%","days"),e)},hours:function(t,e){return Ee(t.clsWrapper.replace("%unit%","hours"),e)},minutes:function(t,e){return Ee(t.clsWrapper.replace("%unit%","minutes"),e)},seconds:function(t,e){return Ee(t.clsWrapper.replace("%unit%","seconds"),e)},units:function(){var e=this;return["days","hours","minutes","seconds"].filter(function(t){return e[t]})}},connected:function(){this.start()},disconnected:function(){var e=this;this.stop(),this.units.forEach(function(t){return fe(e[t])})},events:[{name:"visibilitychange",el:function(){return document},handler:function(){document.hidden?this.stop():this.start()}}],update:{write:function(){var t,i=this,r=(t=this.date,{total:t-=Date.now(),seconds:t/1e3%60,minutes:t/1e3/60%60,hours:t/1e3/60/60%24,days:t/1e3/60/60/24});r.total<=0&&(this.stop(),r.days=r.hours=r.minutes=r.seconds=0),this.units.forEach(function(t){var e=(e=String(Math.floor(r[t]))).length<2?"0"+e:e,n=i[t];n.textContent!==e&&((e=e.split("")).length!==n.children.length&&pe(n,e.map(function(){return"<span></span>"}).join("")),e.forEach(function(t,e){return n.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 Sr="uk-transition-leave",Ir="uk-transition-enter";function Tr(t,s,a,u){void 0===u&&(u=0);var c=Er(s,!0),h={opacity:1},l={opacity:0},e=(n=function(t){return function(){return c===Er(s)?t():se.reject()}})(function(){return Ae(s,Sr),se.all(_r(s).map(function(e,n){return new se(function(t){return setTimeout(function(){return Xe.start(e,l,a/2,"ease").then(t)},n*u)})})).then(function(){return Me(s,Sr)})}),n=n(function(){var o=on(s);return Ae(s,Ir),t(),je(zt(s),{opacity:0}),new se(function(r){return requestAnimationFrame(function(){var t=zt(s),e=on(s);on(s,o);var n=_r(s);je(t,l);var i=n.map(function(e,n){return new se(function(t){return setTimeout(function(){return Xe.start(e,h,a/2,"ease").then(t)},n*u)})});o!==e&&i.push(Xe.start(s,{height:e},a/2+n.length*u,"ease")),se.all(i).then(function(){Me(s,Ir),c===Er(s)&&(je(s,"height",""),je(t,{opacity:""}),delete s.dataset.transition),r()})})})});return(Be(s,Sr)?Cr(s):Be(s,Ir)?Cr(s).then(e):e()).then(n)}function Er(t,e){return e&&(t.dataset.transition=1+Er(t)),O(t.dataset.transition)||0}function Cr(t){return se.all(zt(t).filter(Xe.inProgress).map(function(e){return new se(function(t){return Gt(e,"transitionend transitioncanceled",t)})}))}function _r(t){return xi(zt(t)).reduce(function(t,e){return t.concat(X(e.filter(function(t){return Dn(t)}),"offsetLeft"))},[])}function Ar(t,e){var n=je(t,"zIndex");return!!yt(t)&&q({display:"",opacity:e?je(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===n?Nt(t):n},zr(t))}function Mr(t){je(t.children,{height:"",left:"",opacity:"",pointerEvents:"",position:"",top:"",marginTop:"",marginLeft:"",transform:"",width:"",zIndex:""}),je(t,{height:"",display:"",padding:""})}function zr(t){var e=en(t),n=e.height,i=e.width,r=nn(t);return{top:e=r.top,left:r=r.left,height:n,width:i,marginLeft:(t=je(t,["marginTop","marginLeft"])).marginLeft,marginTop:t.marginTop,transform:""}}function Nr(t,e){return $n(st(t,e),["filter"])}function Br(t,e,n){var i=Nr(t,e),r=i.filter,t=i.group,e=i.sort;return void 0===(i=i.order)&&(i="asc"),(r||B(e))&&(t?r?(delete n.filter[""],n.filter[t]=r):(delete n.filter[t],(N(n.filter)||""in n.filter)&&(n.filter={"":r||""})):n.filter={"":r||""}),B(e)||(n.sort=[e,i]),n}function Dr(t){return Math.abs(je(t,"transform").split(",")[4]/t.offsetWidth)||0}function Or(t,e){return void 0===t&&(t=0),void 0===e&&(e="%"),t+=t?e:"",ut?"translateX("+t+")":"translate3d("+t+", 0, 0)"}function Pr(t){return"scale3d("+t+", "+t+", 1)"}xr={mixins:[Yn={props:{duration:Number,animation:String},data:{duration:150,animation:"slide"},methods:{animate:function(t,e){var n=this;void 0===e&&(e=this.$el);var i=this.animation;return("fade"===i?Tr:"delayed-fade"===i?function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Tr.apply(void 0,t.concat([40]))}:function(t,d,f){return new se(function(l){return requestAnimationFrame(function(){var u=zt(d),c=u.map(function(t){return Ar(t,!0)}),h=je(d,["height","padding"]);Xe.cancel(d),u.forEach(Xe.cancel),Mr(d),t(),u=u.concat(zt(d).filter(function(t){return!v(u,t)})),se.resolve().then(function(){dn.flush();var n,i,r,t,e=je(d,["height","padding"]),o=(n=d,r=c,o=(t=(i=u).map(function(t,e){return!!(St(t)&&e in r)&&(r[e]?yt(t)?zr(t):{opacity:0}:{opacity:yt(t)?1:0})})).map(function(t,e){return!!(e=St(i[e])===n&&(r[e]||Ar(i[e])))&&(t?"opacity"in t||(e.opacity%1?t.opacity=1:delete e.opacity):delete e.opacity,e)}),[t,o]),s=o[0],a=o[1];u.forEach(function(t,e){return a[e]&&je(t,a[e])}),je(d,q({display:"block"},h)),requestAnimationFrame(function(){var t=u.map(function(t,e){return St(t)===d&&Xe.start(t,s[e],f,"ease")}).concat(Xe.start(d,e,f,"ease"));se.all(t).then(function(){u.forEach(function(t,e){return St(t)===d&&je(t,"display",0===s[e].opacity?"none":"")}),Mr(d)},J).then(l)})})})})})(t,e,this.duration).then(function(){return n.$update(e,"resize")},J)}}}],args:"target",props:{target:Boolean,selActive:Boolean},data:{target:null,selActive:!1,attrItem:"uk-filter-control",cls:"uk-active",duration:250},computed:{toggles:{get:function(t,e){return Ce("["+(t=t.attrItem)+"],[data-"+t+"]",e)},watch:function(){var e,n=this;this.updateState(),!1!==this.selActive&&(e=Ce(this.selActive,this.$el),this.toggles.forEach(function(t){return De(t,n.cls,v(e,t))}))},immediate:!0},children:{get:function(t,e){return Ce(t.target+" > *",e)},watch:function(t,e){var n=e;t.length===n.length&&t.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){var e=this.getState(),t=Br(t,this.attrItem,this.getState()),n=e,i=t;["filter","sort"].every(function(t){return V(n[t],i[t])})||this.setState(t)},getState:function(){var n=this;return this.toggles.filter(function(t){return Be(t,n.cls)}).reduce(function(t,e){return Br(e,n.attrItem,t)},{filter:{"":""},sort:[]})},setState:function(n,i){var r=this;void 0===i&&(i=!0),n=q({filter:{"":""},sort:[]},n),Kt(this.$el,"beforeFilter",[this,n]),this.toggles.forEach(function(t){return De(t,r.cls,!!function(t,e,n){var i=n.filter;void 0===i&&(i={"":""});var r=n.sort,o=r[0],s=r[1];return void 0===(r=(n=Nr(t,e)).filter)&&(r=""),void 0===(t=n.group)&&(t=""),e=n.sort,void 0===(n=n.order)&&(n="asc"),B(e)?t in i&&r===i[t]||!r&&t&&!(t in i)&&!i[""]:o===e&&s===n}(t,r.attrItem,n))}),se.all(Ce(this.target,this.$el).map(function(t){function e(){!function(t,e,n){var i,r=(a=(a=t).filter,i="",Y(a,function(t){return i+=t||""}),i);n.forEach(function(t){return je(t,"display",r&&!Et(t,r)?"none":"")});var o,s,t=(a=t.sort)[0],a=a[1];t&&(V((o=t,s=a,a=q([],n).sort(function(t,e){return st(t,o).localeCompare(st(e,o),void 0,{numeric:!0})*("asc"===s||-1)})),n)||me(e,a))}(n,t,zt(t)),r.$update(r.$el)}return i?r.animate(e,t):e()})).then(function(){return Kt(r.$el,"afterFilter",[r])})},updateState:function(){var t=this;dn.write(function(){return t.setState(t.getState(),!1)})}}};var Hr=q({},eo={slide:{show:function(t){return[{transform:Or(-100*t)},{transform:Or()}]},percent:Dr,translate:function(t,e){return[{transform:Or(-100*e*t)},{transform:Or(100*e*(1-t))}]}}},{fade:{show:function(){return[{opacity:0},{opacity:1}]},percent:function(t){return 1-je(t,"opacity")},translate:function(t){return[{opacity:1-t},{opacity:t}]}},scale:{show:function(){return[{opacity:0,transform:Pr(.8)},{opacity:1,transform:Pr(1)}]},percent:function(t){return 1-je(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Pr(1-.2*t)},{opacity:t,transform:Pr(.8+.2*t)}]}}});function Lr(t,e,n){Kt(t,Jt(e,!1,!1,n))}function jr(t){return.5*t+300}var Fr={mixins:[ir,or,ui,Wi={mixins:[Fi={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(){it(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:function(){return 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||!Ee(":focus",t.$el))&&(!t.pauseOnHover||!Et(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 i=this;["start","move","end"].forEach(function(t){var n=i[t];i[t]=function(t){var e=re(t).x*(ct?-1:1);i.prevPos=e!==i.pos?i.pos:i.prevPos,i.pos=e,n(t)}})},events:[{name:ft,delegate:function(){return this.selSlides},handler:function(t){var e;!this.draggable||!ie(t)&&!(e=t.target).children.length&&e.childNodes.length||_t(t.target,kt)||0<t.button||this.length<2||this.start(t)}},{name:"dragstart",handler:function(t){t.preventDefault()}}],methods:{start:function(){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,Yt(document,pt,this.move,{passive:!1}),Yt(document,mt+" "+wt,this.end,!0),je(this.list,"userSelect","none")},move:function(t){var e=this;if(!(0==(c=this.pos-this.drag)||this.prevPos===this.pos||!this.dragging&&Math.abs(c)<this.threshold)){je(this.list,"pointerEvents","none"),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=c<0?1:-1;for(var n=this.slides,i=this.prevIndex,r=Math.abs(c),o=this.getIndex(i+this.dir,i),s=this._getDistance(i,o)||n[i].offsetWidth;o!==i&&s<r;)this.drag-=s*this.dir,i=o,r-=s,o=this.getIndex(i+this.dir,i),s=this._getDistance(i,o)||n[i].offsetWidth;this.percent=r/s;var a,u=n[i],t=n[o],c=this.index!==o,h=i===o;[this.index,this.prevIndex].filter(function(t){return!v([o,i],t)}).forEach(function(t){Kt(n[t],"itemhidden",[e]),h&&(a=!0,e.prevIndex=i)}),(this.index===i&&this.prevIndex!==i||a)&&Kt(n[this.index],"itemshown",[this]),c&&(this.prevIndex=i,this.index=o,h||Kt(u,"beforeitemhide",[this]),Kt(t,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),u,!h&&t),c&&(h||Kt(u,"itemhide",[this]),Kt(t,"itemshow",[this]))}},end:function(){var t;Xt(document,pt,this.move,{passive:!1}),Xt(document,mt+" "+wt,this.end,!0),this.dragging&&(this.dragging=null,this.index===this.prevIndex?(this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null):(t=(ct?this.dir*(ct?1:-1):this.dir)<0==this.prevPos>this.pos,this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(0<this.dir&&!t||this.dir<0&&t?"next":"previous",!0))),je(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null}}},{data:{selNav:!1},computed:{nav:function(t,e){return Ee(t.selNav,e)},selNavItem:function(t){return"["+(t=t.attrItem)+"],[data-"+t+"]"},navItems:function(t,e){return Ce(this.selNavItem,e)}},update:{write:function(){var n=this;this.nav&&this.length!==this.nav.children.length&&pe(this.nav,this.slides.map(function(t,e){return"<li "+n.attrItem+'="'+e+'"><a href></a></li>'}).join("")),this.navItems.concat(this.nav).forEach(function(t){return t&&(t.hidden=!n.maxIndex)}),this.updateNav()},events:["resize"]},events:[{name:"click",delegate:function(){return this.selNavItem},handler:function(t){t.preventDefault(),this.show(st(t.current,this.attrItem))}},{name:"itemshow",handler:"updateNav"}],methods:{updateNav:function(){var n=this,i=this.getValidIndex();this.navItems.forEach(function(t){var e=st(t,n.attrItem);De(t,n.clsActive,O(e)===i),De(t,"uk-invisible",n.finite&&("previous"===e&&0===i||"next"===e&&i>=n.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:"uk-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}},connected:function(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected:function(){Me(this.slides,this.clsActive)},computed:{duration:function(t,e){return t=t.velocity,jr(e.offsetWidth/t)},list:function(t,e){return Ee(t.selList,e)},maxIndex:function(){return this.length-1},selSlides:function(t){return t.selList+" "+(t.selSlides||"> *")},slides:{get:function(){return Ce(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 n=this;if(void 0===e&&(e=!1),!this.dragging&&this.length){var i=this.stack,r=e?0:i.length,o=function(){i.splice(r,1),i.length&&n.show(i.shift(),!0)};if(i[e?"unshift":"push"](t),!e&&1<i.length)2===i.length&&this._transitioner.forward(Math.min(this.duration,200));else{var s=this.getIndex(this.index),a=Be(this.slides,this.clsActive)&&this.slides[s],u=this.getIndex(t,this.index),c=this.slides[u];if(a!==c)return this.dir="next"!==t&&("previous"===t||t<s)?-1:1,this.prevIndex=s,this.index=u,a&&!Kt(a,"beforeitemhide",[this])||!Kt(c,"beforeitemshow",[this,a])?(this.index=this.prevIndex,void o()):(e=this._show(a,c,e).then(function(){return a&&Kt(a,"itemhidden",[n]),Kt(c,"itemshown",[n]),new se(function(t){dn.write(function(){i.shift(),i.length?n.show(i.shift(),!0):n._transitioner=null,t()})})}),a&&Kt(a,"itemhide",[this]),Kt(c,"itemshow",[this]),e);o()}}},getIndex:function(t,e){return void 0===t&&(t=this.index),void 0===e&&(e=this.index),K(et(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,n){return this._transitioner=this._getTransitioner(t,e,this.dir,q({easing:n?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)),n||t?(t=this.stack.length,this._transitioner[1<t?"forward":"show"](1<t?Math.min(this.duration,75+75/(t-1)):this.duration,this.percent)):(this._translate(1),se.resolve())},_getDistance:function(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()},_translate:function(t,e,n){return void 0===e&&(e=this.prevIndex),void 0===n&&(n=this.index),(n=this._getTransitioner(e!==n&&e,n)).translate(t),n},_getTransitioner:function(t,e,n,i){return void 0===t&&(t=this.prevIndex),void 0===e&&(e=this.index),void 0===n&&(n=this.dir||1),void 0===i&&(i=this.transitionOptions),new this.Transitioner(M(t)?this.slides[t]:t,M(e)?this.slides[e]:e,n*(ct?-1:1),i)}}}],props:{animation:String},data:{animation:"slide",clsActivated:"uk-transition-active",Animations:eo,Transitioner:function(r,o,s,t){var e=t.animation,a=t.easing,n=e.percent,i=e.translate,u=(e=void 0===(e=e.show)?J:e)(s),c=new oe;return{dir:s,show:function(t,e,n){var i=this;return void 0===e&&(e=0),n=n?"linear":a,t-=Math.round(t*K(e,-1,1)),this.translate(e),Lr(o,"itemin",{percent:e,duration:t,timing:n,dir:s}),Lr(r,"itemout",{percent:1-e,duration:t,timing:n,dir:s}),se.all([Xe.start(o,u[1],t,n),Xe.start(r,u[0],t,n)]).then(function(){i.reset(),c.resolve()},J),c.promise},cancel:function(){Xe.cancel([o,r])},reset:function(){for(var t in u[0])je([o,r],t,"")},forward:function(t,e){return void 0===e&&(e=this.percent()),Xe.cancel([o,r]),this.show(t,e,!0)},translate:function(t){this.reset();var e=i(t,s);je(o,e[1]),je(r,e[0]),Lr(o,"itemtranslatein",{percent:t,dir:s}),Lr(r,"itemtranslateout",{percent:1-t,dir:s})},percent:function(){return n(r||o,o,s)},getDistance:function(){return r&&r.offsetWidth}}}},computed:{animation:function(t){var e=t.animation,t=t.Animations;return q(t[e]||t.slide,{name:e})},transitionOptions:function(){return{animation:this.animation}}},events:{"itemshow itemhide itemshown itemhidden":function(t){t=t.target,this.$update(t)},beforeitemshow:function(t){Ae(t.target,this.clsActive)},itemshown:function(t){Ae(t.target,this.clsActivated)},itemhidden:function(t){Me(t.target,this.clsActive,this.clsActivated)}}}],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:function(){return{preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"uk-open",clsPage:"uk-lightbox-page",selList:".uk-lightbox-items",attrItem:"uk-lightbox-item",selClose:".uk-close-large",selCaption:".uk-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Hr,template:'<div class="uk-lightbox uk-overflow-hidden"> <ul class="uk-lightbox-items"></ul> <div class="uk-lightbox-toolbar uk-position-top uk-text-right uk-transition-slide-top uk-transition-opaque"> <button class="uk-lightbox-toolbar-icon uk-close-large" type="button" uk-close></button> </div> <a class="uk-lightbox-button uk-position-center-left uk-position-medium uk-transition-fade" href uk-slidenav-previous uk-lightbox-item="previous"></a> <a class="uk-lightbox-button uk-position-center-right uk-position-medium uk-transition-fade" href uk-slidenav-next uk-lightbox-item="next"></a> <div class="uk-lightbox-toolbar uk-lightbox-caption uk-position-bottom uk-text-center uk-transition-slide-bottom uk-transition-opaque"></div> </div>'}},created:function(){var t=Ee(this.template),e=Ee(this.selList,t);this.items.forEach(function(){return me(e,"<li>")}),this.$mount(me(this.container,t))},computed:{caption:function(t,e){return Ee(t.selCaption,e)}},events:[{name:pt+" "+ft+" 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(),Me(this.slides,this.clsActive),Xe.stop(this.slides)}},{name:"hidden",self:!0,handler:function(){this.$destroy(!0)}},{name:"keyup",el:function(){return document},handler:function(t){if(this.isToggled(this.$el)&&this.draggable)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.toggleElement(this.$el,!0,!1),this.animation=Hr.scale,Me(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler:function(){pe(this.caption,this.getItem().caption||"");for(var t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler:function(){this.draggable=this.$props.draggable}},{name:"itemload",handler:function(t,n){var i=this,r=n.source,e=n.type,o=n.alt;void 0===o&&(o="");var s,a,u,c=n.poster,h=n.attrs;void 0===h&&(h={}),this.setItem(n,"<span uk-spinner></span>"),r&&(a={frameborder:"0",allow:"autoplay",allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","uk-responsive":"","uk-video":""+this.videoAutoplay},"image"===e||r.match(/\.(avif|jpe?g|a?png|gif|svg|webp)($|\?)/i)?de(r,h.srcset,h.size).then(function(t){var e=t.width,t=t.height;return i.setItem(n,Wr("img",q({src:r,width:e,height:t,alt:o},h)))},function(){return i.setError(n)}):"video"===e||r.match(/\.(mp4|webm|ogv)($|\?)/i)?(Yt(u=Wr("video",q({src:r,poster:c,controls:"",playsinline:"","uk-video":""+this.videoAutoplay},h)),"loadedmetadata",function(){it(u,{width:u.videoWidth,height:u.videoHeight}),i.setItem(n,u)}),Yt(u,"error",function(){return i.setError(n)})):"iframe"===e||r.match(/\.(html|php)($|\?)/i)?this.setItem(n,Wr("iframe",q({src:r,frameborder:"0",allowfullscreen:"",class:"uk-lightbox-iframe"},h))):(s=r.match(/\/\/(?:.*?youtube(-nocookie)?\..*?[?&]v=|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))?this.setItem(n,Wr("iframe",q({src:"https://www.youtube"+(s[1]||"")+".com/embed/"+s[2]+(s[3]?"?"+s[3]:""),width:1920,height:1080},a,h))):(s=r.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))&&le("https://vimeo.com/api/oembed.json?maxwidth=1920&url="+encodeURI(r),{responseType:"json",withCredentials:!1}).then(function(t){var t=(e=t.response).height,e=e.width;return i.setItem(n,Wr("iframe",q({src:"https://player.vimeo.com/video/"+s[1]+(s[2]?"?"+s[2]:""),width:e,height:t},a,h)))},function(){return i.setError(n)}))}}],methods:{loadItem:function(t){void 0===t&&(t=this.index),t=this.getItem(t),this.getSlide(t).childElementCount||Kt(this.$el,"itemload",[t])},getItem:function(t){return void 0===t&&(t=this.index),this.items[et(t,this.slides)]},setItem:function(t,e){Kt(this.$el,"itemloaded",[this,pe(this.getSlide(t),e)])},getSlide:function(t){return this.slides[this.items.indexOf(t)]},setError:function(t){this.setItem(t,'<span uk-icon="icon: bolt; ratio: 2"></span>')},showControls:function(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),Ae(this.$el,"uk-active","uk-transition-active")},hideControls:function(){Me(this.$el,"uk-active","uk-transition-active")}}};function Wr(t,e){return it(t=Ie("<"+t+">"),e),t}function Vr(e){var n={};return["href","caption","type","poster","alt","attrs"].forEach(function(t){n["href"===t?"source":t]=st(e,t)}),n.attrs=$n(n.attrs),n}var Li={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",Fr),q(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:{get:function(t,e){return Ce(t.toggle,e)},watch:function(){this.hide()}}},disconnected:function(){this.hide()},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),this.show(t.current)}}],methods:{show:function(t){var e,n=this,i=G(this.toggles.map(Vr),"source");return E(t)&&(e=Vr(t).source,t=w(i,function(t){return t=t.source,e===t})),this.panel=this.panel||this.$create("lightboxPanel",q({},this.$props,{items:i})),Yt(this.panel.$el,"hidden",function(){return n.panel=!1}),this.panel.show(t)},hide:function(){return this.panel&&this.panel.hide()}}},Rr={mixins:[ir],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"uk-notification",clsClose:"uk-notification-close",clsMsg:"uk-notification-message"},install:function(i){i.notification.closeAll=function(e,n){Te(document.body,function(t){!(t=i.getComponent(t,"notification"))||e&&e!==t.group||t.close(n)})}},computed:{marginProp:function(t){return"margin"+(g(t.pos,"top")?"Top":"Bottom")},startProps:function(){var t={opacity:0};return t[this.marginProp]=-this.$el.offsetHeight,t}},created:function(){var t=Ee("."+this.clsContainer+"-"+this.pos,this.container)||me(this.container,'<div class="'+this.clsContainer+" "+this.clsContainer+"-"+this.pos+'" style="display: block"></div>');this.$mount(me(t,'<div class="'+this.clsMsg+(this.status?" "+this.clsMsg+"-"+this.status:"")+'"> <a href class="'+this.clsClose+'" data-uk-close></a> <div>'+this.message+"</div> </div>"))},connected:function(){var t,e=this,n=P(je(this.$el,this.marginProp));Xe.start(je(this.$el,this.startProps),((t={opacity:1})[this.marginProp]=n,t)).then(function(){e.timeout&&(e.timer=setTimeout(e.close,e.timeout))})},events:((ji={click:function(t){_t(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()}})[gt]=function(){this.timer&&clearTimeout(this.timer)},ji[vt]=function(){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},ji),methods:{close:function(t){function e(t){var e=St(t);Kt(t,"close",[n]),be(t),e&&!e.hasChildNodes()&&be(e)}var n=this;this.timer&&clearTimeout(this.timer),t?e(this.$el):Xe.start(this.$el,this.startProps).then(e)}}},qr=["x","y","bgx","bgy","rotate","scale","color","backgroundColor","borderColor","opacity","blur","hue","grayscale","invert","saturate","sepia","fopacity","stroke"];function Ur(t,e){var n=t.length-1,i=Math.min(Math.floor(n*e),n-1);return(i=t.slice(i,i+2)).push(1===e?1:e%(1/n)*n),i}function Yr(t,e,n){var i=Kr(t,e);return n?i-(tn(e).width/2-tn(t).width/2):Math.min(i,Xr(e))}function Xr(t){return Math.max(0,Gr(t)-tn(t).width)}function Gr(t){return zt(t).reduce(function(t,e){return tn(e).width+t},0)}function Kr(t,e){return t&&(nn(t).left+(ct?tn(t).width-tn(e).width:0))*(ct?-1:1)||0}function Jr(t,e,n){Kt(t,Jt(e,!1,!1,n))}function Zr(t){return a(t,"in")}function Qr(t,e,n){return n/=2,Zr(t)?e<0?1-n:n:e<0?n:1-n}ji={mixins:[or={mixins:[er],props:qr.reduce(function(t,e){return t[e]="list",t},{}),data:qr.reduce(function(t,e){return t[e]=void 0,t},{}),computed:{props:function(f,p){var m=this;return qr.reduce(function(t,e){if(B(f[e]))return t;var n,i,r=e.match(/color/i),o=r||"opacity"===e,s=f[e].slice();o&&je(p,e,""),s.length<2&&s.unshift(("scale"===e?1:o?je(p,e):0)||0);var a,u,c,h,l,o=s.reduce(function(t,e){return A(e)&&e.replace(/-|\d/g,"").trim()||t},"");if(r?(r=p.style.color,s=s.map(function(t){return je(je(p,"color",t),"color").split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(P)}),p.style.color=r):g(e,"bg")?(a="bgy"===e?"height":"width",s=s.map(function(t){return hn(t,a,m.$el)}),je(p,"background-position-"+e[2],""),i=je(p,"backgroundPosition").split(" ")["x"===e[2]?0:1],n=m.covers?(u=Math.min.apply(Math,s),c=Math.max.apply(Math,s),h=s.indexOf(u)<s.indexOf(c),l=c-u,s=s.map(function(t){return t-(h?u:c)}),(h?-l:0)+"px"):i):s=s.map(P),"stroke"===e){if(!s.some(function(t){return t}))return t;var d=Ni(m.$el);je(p,"strokeDasharray",d),s=(s="%"===o?s.map(function(t){return t*d/100}):s).reverse(),e="strokeDashoffset"}return t[e]={steps:s,unit:o,pos:n,bgPos:i,diff:l},t},{})},bgProps:function(){var e=this;return["bgx","bgy"].filter(function(t){return t in e.props})},covers:function(t,e){return i=(n=e).style.backgroundSize,e="cover"===je(je(n,"backgroundSize",""),"backgroundSize"),n.style.backgroundSize=i,e;var n,i}},disconnected:function(){delete this._image},update:{read:function(t){var e,n,a,u,c,h=this;this.matchMedia&&(t.image||!this.covers||!this.bgProps.length||(e=je(this.$el,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1"))&&((n=new Image).src=e,(t.image=n).naturalWidth||(n.onload=function(){return h.$update()})),(n=t.image)&&n.naturalWidth&&(a={width:this.$el.offsetWidth,height:this.$el.offsetHeight},u={width:n.naturalWidth,height:n.naturalHeight},c=tt.cover(u,a),this.bgProps.forEach(function(t){var e,n=h.props[t],i=n.diff,r=n.bgPos,o=n.steps,s=c[n="bgy"===t?"height":"width"]-a[n];s<i?a[n]=c[n]+i-s:i<s&&(e=a[n]/hn(r,n,h.$el))&&(h.props[t].steps=o.map(function(t){return t-(s-i)/e})),c=tt.cover(u,a)}),t.dim=c))},write:function(t){t=t.dim,this.matchMedia?t&&je(this.$el,{backgroundSize:t.width+"px "+t.height+"px",backgroundRepeat:"no-repeat"}):je(this.$el,{backgroundSize:"",backgroundRepeat:""})},events:["resize"]},methods:{reset:function(){var n=this;Y(this.getCss(0),function(t,e){return je(n.$el,e,"")})},getCss:function(l){var d=this.props;return Object.keys(d).reduce(function(t,e){var n=d[e],i=n.steps,r=n.unit,o=n.pos,s=function(t,e,n){void 0===n&&(n=2);var t=(i=Ur(t,e))[0],e=i[1],i=i[2];return(M(t)?t+Math.abs(t-e)*i*(t<e?1:-1):+e).toFixed(n)}(i,l);switch(e){case"x":case"y":r=r||"px",t.transform+=" translate"+p(e)+"("+P(s).toFixed("px"===r?0:2)+r+")";break;case"rotate":r=r||"deg",t.transform+=" rotate("+(s+r)+")";break;case"scale":t.transform+=" scale("+s+")";break;case"bgy":case"bgx":t["background-position-"+e[2]]="calc("+o+" + "+s+"px)";break;case"color":case"backgroundColor":case"borderColor":var a=Ur(i,l),u=a[0],c=a[1],h=a[2];t[e]="rgba("+u.map(function(t,e){return t+=h*(c[e]-t),3===e?P(t):parseInt(t,10)}).join(",")+")";break;case"blur":r=r||"px",t.filter+=" blur("+(s+r)+")";break;case"hue":r=r||"deg",t.filter+=" hue-rotate("+(s+r)+")";break;case"fopacity":r=r||"%",t.filter+=" opacity("+(s+r)+")";break;case"grayscale":case"invert":case"saturate":case"sepia":r=r||"%",t.filter+=" "+e+"("+(s+r)+")";break;default:t[e]=s}return t},{transform:"",filter:""})}}}],props:{target:String,viewport:Number,easing:Number},data:{target:!1,viewport:1,easing:1},computed:{target:function(t,e){return function t(e){return e?"offsetTop"in e?e:t(St(e)):document.body}((t=t.target)&&Bt(t,e)||e)}},update:{read:function(t,e){var n=t.percent;if(e.has("scroll")||(n=!1),this.matchMedia){var i=n;return{percent:n=K((t=Hn(this.target)/(this.viewport||1))*(1-((e=this.easing)-e*t))),style:i!==n&&this.getCss(n)}}},write:function(t){t=t.style,this.matchMedia?t&&je(this.$el,t):this.reset()},events:["scroll","resize"]}},Fi={mixins:[ai,Fi,er={update:{write:function(){var t;this.stack.length||this.dragging||(t=this.getValidIndex(this.index),~this.prevIndex&&this.index===t||this.show(t))},events:["resize"]}}],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"uk-slider-item",selList:".uk-slider-items",selNav:".uk-slider-nav",clsContainer:"uk-slider-container",Transitioner:function(i,r,o,t){var e=t.center,s=t.easing,a=t.list,u=new oe,n=i?Yr(i,a,e):Yr(r,a,e)+tn(r).width*o,c=r?Yr(r,a,e):n+tn(i).width*o*(ct?-1:1);return{dir:o,show:function(t,e,n){return void 0===e&&(e=0),n=n?"linear":s,t-=Math.round(t*K(e,-1,1)),this.translate(e),i&&this.updateTranslates(),e=i?e:K(e,0,1),Jr(this.getItemIn(),"itemin",{percent:e,duration:t,timing:n,dir:o}),i&&Jr(this.getItemIn(!0),"itemout",{percent:1-e,duration:t,timing:n,dir:o}),Xe.start(a,{transform:Or(-c*(ct?-1:1),"px")},t,n).then(u.resolve,J),u.promise},cancel:function(){Xe.cancel(a)},reset:function(){je(a,"transform","")},forward:function(t,e){return void 0===e&&(e=this.percent()),Xe.cancel(a),this.show(t,e,!0)},translate:function(t){var e=this.getDistance()*o*(ct?-1:1);je(a,"transform",Or(K(e-e*t-c,-Gr(a),tn(a).width)*(ct?-1:1),"px")),this.updateTranslates(),i&&(t=K(t,-1,1),Jr(this.getItemIn(),"itemtranslatein",{percent:t,dir:o}),Jr(this.getItemIn(!0),"itemtranslateout",{percent:1-t,dir:o}))},percent:function(){return Math.abs((je(a,"transform").split(",")[4]*(ct?-1:1)+n)/(c-n))},getDistance:function(){return Math.abs(c-n)},getItemIn:function(t){void 0===t&&(t=!1);var e=X(this.getActives(),"offsetLeft"),n=X(zt(a),"offsetLeft");return~(e=Nt(n,e[0<o*(t?-1:1)?e.length-1:0]))&&n[e+(i&&!t?o:0)]},getActives:function(){return[i||r].concat(zt(a).filter(function(t){var e=Kr(t,a);return n<e&&e+tn(t).width<=tn(a).width+n}))},updateTranslates:function(){var n=this.getActives();zt(a).forEach(function(t){var e=v(n,t);Jr(t,"itemtranslate"+(e?"in":"out"),{percent:e?1:0,dir:t.offsetLeft<=r.offsetLeft?1:-1})})}}}},computed:{avgWidth:function(){return Gr(this.list)/this.length},finite:function(t){return t.finite||Math.ceil(Gr(this.list))<tn(this.list).width+(t=this.list,Math.max.apply(Math,[0].concat(zt(t).map(function(t){return tn(t).width}))))+this.center},maxIndex:function(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return U(this.sets);var e=0,n=Xr(this.list),t=w(this.slides,function(t){return n<=e||void(e+=tn(t).width)});return~t?t:this.length-1},sets:function(t){var r=this;if(t=t.sets){var o=tn(this.list).width/(this.center?2:1),s=0,a=o,u=0;return!N(t=X(this.slides,"offsetLeft").reduce(function(t,e,n){var i=tn(e).width;return s<u+i&&(v(t,n=!r.center&&n>r.maxIndex?r.maxIndex:n)||(e=r.slides[n+1],r.center&&e&&i<a-tn(e).width/2?a-=i:(a=o,t.push(n),s=u+o+(r.center?i/2:0)))),u+=i,t},[]))&&t}},transitionOptions:function(){return{center:this.center,list:this.list}}},connected:function(){De(this.$el,this.clsContainer,!Ee("."+this.clsContainer,this.$el))},update:{write:function(){var n=this;this.navItems.forEach(function(t){var e=O(st(t,n.attrItem));!1!==e&&(t.hidden=!n.maxIndex||e>n.maxIndex||n.sets&&!v(n.sets,e))}),!this.length||this.dragging||this.stack.length||(this.reorder(),this._translate(1));var e=this._getTransitioner(this.index).getActives();this.slides.forEach(function(t){return De(t,n.clsActive,v(e,t))}),!this.clsActivated||this.sets&&!v(this.sets,P(this.index))||this.slides.forEach(function(t){return De(t,n.clsActivated||"",v(e,t))})},events:["resize"]},events:{beforeitemshow:function(t){!this.dragging&&this.sets&&this.stack.length<2&&!v(this.sets,this.index)&&(this.index=this.getValidIndex());var e=Math.abs(this.index-this.prevIndex+(0<this.dir&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&1<e){for(var n=0;n<e;n++)this.stack.splice(1,0,0<this.dir?"next":"previous");t.preventDefault()}else t=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,this.duration=jr(this.avgWidth/this.velocity)*(tn(this.slides[t]).width/this.avgWidth),this.reorder()},itemshow:function(){~this.prevIndex&&Ae(this._getTransitioner().getItemIn(),this.clsActive)}},methods:{reorder:function(){var n=this;if(this.finite)je(this.slides,"order","");else{var i=0<this.dir&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(function(t,e){return je(t,"order",0<n.dir&&e<i?1:n.dir<0&&e>=n.index?-1:"")}),this.center)for(var t=this.slides[i],e=tn(this.list).width/2-tn(t).width/2,r=0;0<e;){var o=this.getIndex(--r+i,i),s=this.slides[o];je(s,"order",i<o?-2:-1),e-=tn(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 n;do{if(v(this.sets,t))return t}while(n=t,(t=this.getIndex(t+this.dir,e))!==n);return t}}},or={mixins:[or],data:{selItem:"!li"},computed:{item:function(t,e){return Bt(t.selItem,e)}},events:[{name:"itemin itemout",self:!0,el:function(){return this.item},handler:function(t){var n=this,i=t.type,r=(t=t.detail).percent,o=t.duration,s=t.timing,a=t.dir;dn.read(function(){var t=n.getCss(Qr(i,a,r)),e=n.getCss(Zr(i)?.5:0<a?1:0);dn.write(function(){je(n.$el,t),Xe.start(n.$el,e,o,s).catch(J)})})}},{name:"transitioncanceled transitionend",self:!0,el:function(){return this.item},handler:function(){Xe.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:function(){return this.item},handler:function(t){var e=this,n=t.type,i=(t=t.detail).percent,r=t.dir;dn.read(function(){var t=e.getCss(Qr(n,r,i));dn.write(function(){return je(e.$el,t)})})}}]};var to,eo=q({},eo,{fade:{show:function(){return[{opacity:0,zIndex:0},{zIndex:-1}]},percent:function(t){return 1-je(t,"opacity")},translate:function(t){return[{opacity:1-t,zIndex:0},{zIndex:-1}]}},scale:{show:function(){return[{opacity:0,transform:Pr(1.5),zIndex:0},{zIndex:-1}]},percent:function(t){return 1-je(t,"opacity")},translate:function(t){return[{opacity:1-t,transform:Pr(1+.5*t),zIndex:0},{zIndex:-1}]}},pull:{show:function(t){return t<0?[{transform:Or(30),zIndex:-1},{transform:Or(),zIndex:0}]:[{transform:Or(-100),zIndex:0},{transform:Or(),zIndex:-1}]},percent:function(t,e,n){return n<0?1-Dr(e):Dr(t)},translate:function(t,e){return e<0?[{transform:Or(30*t),zIndex:-1},{transform:Or(-100*(1-t)),zIndex:0}]:[{transform:Or(100*-t),zIndex:0},{transform:Or(30*(1-t)),zIndex:-1}]}},push:{show:function(t){return t<0?[{transform:Or(100),zIndex:0},{transform:Or(),zIndex:-1}]:[{transform:Or(-30),zIndex:-1},{transform:Or(),zIndex:0}]},percent:function(t,e,n){return 0<n?1-Dr(e):Dr(t)},translate:function(t,e){return e<0?[{transform:Or(100*t),zIndex:0},{transform:Or(-30*(1-t)),zIndex:-1}]:[{transform:Or(-30*t),zIndex:-1},{transform:Or(100*(1-t)),zIndex:0}]}}}),eo={mixins:[ai,Wi,er],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".uk-slideshow-items",attrItem:"uk-slideshow-item",selNav:".uk-slideshow-nav",Animations:eo},update:{read:function(){var t=(e=this.ratio.split(":").map(Number))[0],e=(e=e[1])*this.list.offsetWidth/t||0;return this.minHeight&&(e=Math.max(this.minHeight,e)),{height:(e=this.maxHeight?Math.min(this.maxHeight,e):e)-un(this.list,"height","content-box")}},write:function(t){0<(t=t.height)&&je(this.list,"minHeight",t)},events:["resize"]}},Yn={mixins:[ai,Yn],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:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1,pos:{}},created:function(){var n=this;["init","start","move","end"].forEach(function(t){var e=n[t];n[t]=function(t){q(n.pos,re(t)),e(t)}})},events:{name:ft,passive:!1,handler:"init"},computed:{target:function(){return(this.$el.tBodies||[this.$el])[0]},items:function(){return zt(this.target)},isEmpty:{get:function(){return N(this.items)},watch:function(t){De(this.target,this.clsEmpty,t)},immediate:!0},handles:{get:function(t,e){return(t=t.handle)?Ce(t,e):this.items},watch:function(t,e){je(e,{touchAction:"",userSelect:""}),je(t,{touchAction:dt?"none":"",userSelect:"none"})},immediate:!0}},update:{write:function(t){var e,n,i,r,o,s,a;this.drag&&St(this.placeholder)&&(e=(n=this.pos).x,a=n.y,s=(i=this.origin).offsetTop,r=i.offsetLeft,n=this.placeholder,je(this.drag,{top:a-s,left:e-r}),(i=this.getSortable(document.elementFromPoint(e,a)))&&((s=i.items).some(Xe.inProgress)||(o={x:e,y:a},r=(r=s)[w(r,function(t){return Q(o,t.getBoundingClientRect())})],(!s.length||r&&r!==n)&&(s=this.getSortable(n),!1!==(a=function(t,e,n,i,r,o){if(zt(t).length){var s=e.getBoundingClientRect();return o?(o=n.getBoundingClientRect(),n=(t=no([s.top,s.bottom],[o.top,o.bottom]))?i:r,i=t?"width":"height",r=t?"left":"top",t=t?"right":"bottom",i=o[i]<s[i]?s[i]-o[i]:0,o[r]<s[r]?!(i&&n<s[r]+i)&&e.nextElementSibling:!(i&&n>s[t]-i)&&e):function(t,e){var n=1===zt(t).length;n&&me(t,e);var i=zt(t),t=i.some(function(t,e){var n=t.getBoundingClientRect();return i.slice(e+1).some(function(t){return t=t.getBoundingClientRect(),!no([n.left,n.right],[t.left,t.right])})});return n&&be(e),t}(t,n)||r<s.top+s.height/2?e:e.nextElementSibling}}(i.target,r,n,e,a,i===s&&t.moved!==r))&&(a&&n===a||(i!==s?(s.remove(n),t.moved=r):delete t.moved,i.insert(n,a),this.touched.add(i)))))))},events:["move"]},methods:{init:function(t){var e=t.target,n=t.button,i=t.defaultPrevented,r=this.items.filter(function(t){return At(e,t)})[0];!r||i||0<n||$t(e)||At(e,"."+this.clsNoDrag)||this.handle&&!At(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=r,this.origin=q({target:e,index:Nt(r)},this.pos),Yt(document,pt,this.move),Yt(document,mt,this.end),this.threshold||this.start(t))},start:function(t){this.drag=(i=this.$container,r=this.placeholder,je(i=me(i,r.outerHTML.replace(/(^<)(?:li|tr)|(?:li|tr)(\/>$)/g,"$1div$2")),"margin","0","important"),je(i,q({boxSizing:"border-box",width:r.offsetWidth,height:r.offsetHeight},je(r,["paddingLeft","paddingRight","paddingTop","paddingBottom"]))),on(i.firstElementChild,on(r.firstElementChild)),i);var e,n,i=(r=this.placeholder.getBoundingClientRect()).left,r=r.top;q(this.origin,{offsetLeft:this.pos.x-i,offsetTop:this.pos.y-r}),Ae(this.drag,this.clsDrag,this.clsCustom),Ae(this.placeholder,this.clsPlaceholder),Ae(this.items,this.clsItem),Ae(document.documentElement,this.clsDragState),Kt(this.$el,"start",[this,this.placeholder]),e=this.pos,n=Date.now(),to=setInterval(function(){var t=e.x,s=e.y;s+=window.pageYOffset;var a=.3*(Date.now()-n);n=Date.now(),Ln(document.elementFromPoint(t,e.y)).reverse().some(function(t){var e=t.scrollTop,n=t.scrollHeight,i=(o=en(jn(t))).top,r=o.bottom,o=o.height;if(i<s&&s<i+35)e-=a;else{if(!(s<r&&r-35<s))return;e+=a}if(0<e&&e<n-o)return On(t,e),!0})},15),this.move(t)},move:function(t){this.drag?this.$emit("move"):(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(){var t,i=this;Xt(document,pt,this.move),Xt(document,mt,this.end),Xt(window,"scroll",this.scroll),this.drag&&(clearInterval(to),t=this.getSortable(this.placeholder),this===t?this.origin.index!==Nt(this.placeholder)&&Kt(this.$el,"moved",[this,this.placeholder]):(Kt(t.$el,"added",[t,this.placeholder]),Kt(this.$el,"removed",[this,this.placeholder])),Kt(this.$el,"stop",[this,this.placeholder]),be(this.drag),this.drag=null,this.touched.forEach(function(t){var e=t.clsPlaceholder,n=t.clsItem;return i.touched.forEach(function(t){return Me(t.items,e,n)})}),this.touched=null,Me(document.documentElement,this.clsDragState))},insert:function(t,e){var n=this;function i(){return e?ge(e,t):me(n.target,t)}Ae(this.items,this.clsItem),this.animation?this.animate(i):i()},remove:function(t){At(t,this.target)&&(this.animation?this.animate(function(){return be(t)}):be(t))},getSortable:function(t){do{var e=this.$getComponent(t,"sortable");if(e&&(e===this||!1!==this.group&&e.group===this.group))return e}while(t=St(t))}}};function no(t,e){return t[1]>e[0]&&e[1]>t[0]}function io(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()}return vt={mixins:[ir,ui,mi],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["uk-animation-scale-up"],duration:100,cls:"uk-active",clsPos:"uk-tooltip"},beforeConnect:function(){var t,e;this._hasTitle=rt(this.$el,"title"),it(this.$el,"title",""),this.updateAria(!1),$t(e=t=this.$el)||Et(e,"a,button")||rt(e,"tabindex")||it(t,"tabindex","0")},disconnected:function(){this.hide(),it(this.$el,"title",this._hasTitle?this.title:null)},methods:{show:function(){var e=this;!this.isToggled(this.tooltip)&&this.title&&(this._unbind=Gt(document,"show keydown "+ft,this.hide,!1,function(t){return t.type===ft&&!At(t.target,e.$el)||"keydown"===t.type&&27===t.keyCode||"show"===t.type&&t.detail[0]!==e&&t.detail[0].$name===e.$name}),clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},hide:function(){var t=this;Et(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip)&&this.toggleElement(this.tooltip,!1,!1).then(function(){t.tooltip=be(t.tooltip),t._unbind()}))},_show:function(){var n=this;this.tooltip=me(this.container,'<div class="'+this.clsPos+'"> <div class="'+this.clsPos+'-inner">'+this.title+"</div> </div>"),Yt(this.tooltip,"toggled",function(t,e){n.updateAria(e),e&&(n.positionAt(n.tooltip,n.$el),n.origin="y"===n.getAxis()?cn(n.dir)+"-"+n.align:n.align+"-"+cn(n.dir))}),this.toggleElement(this.tooltip,!0)},updateAria:function(t){it(this.$el,"aria-expanded",t)}},events:((mi={focus:"show",blur:"hide"})[gt+" "+vt]=function(t){ie(t)||this[t.type===gt?"show":"hide"]()},mi[ft]=function(t){ie(t)&&this.show()},mi)},mi={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:"uk-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:J,beforeAll:J,beforeSend:J,complete:J,completeAll:J,error:J,fail:J,load:J,loadEnd:J,loadStart:J,progress:J},events:{change:function(t){Et(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop:function(t){ro(t),(t=t.dataTransfer)&&t.files&&(Me(this.$el,this.clsDragover),this.upload(t.files))},dragenter:function(t){ro(t)},dragover:function(t){ro(t),Ae(this.$el,this.clsDragover)},dragleave:function(t){ro(t),Me(this.$el,this.clsDragover)}},methods:{upload:function(t){var i=this;if(t.length){Kt(this.$el,"upload",[t]);for(var e=0;e<t.length;e++){if(this.maxSize&&1e3*this.maxSize<t[e].size)return void this.fail(this.msgInvalidSize.replace("%s",this.maxSize));if(this.allow&&!io(this.allow,t[e].name))return void this.fail(this.msgInvalidName.replace("%s",this.allow));if(this.mime&&!io(this.mime,t[e].type))return void this.fail(this.msgInvalidMime.replace("%s",this.mime))}this.multiple||(t=[t[0]]),this.beforeAll(this,t);var r=function(t,e){for(var n=[],i=0;i<t.length;i+=e){for(var r=[],o=0;o<e;o++)r.push(t[i+o]);n.push(r)}return n}(t,this.concurrent),o=function(t){var e,n=new FormData;for(e in t.forEach(function(t){return n.append(i.name,t)}),i.params)n.append(e,i.params[e]);le(i.url,{data:n,method:i.method,responseType:i.type,beforeSend:function(t){var e=t.xhr;return e.upload&&Yt(e.upload,"progress",i.progress),["loadStart","load","loadEnd","abort"].forEach(function(t){return Yt(e,t.toLowerCase(),i[t])}),i.beforeSend(t)}}).then(function(t){i.complete(t),r.length?o(r.shift()):i.completeAll(t)},function(t){return i.error(t)})};o(r.shift())}}}},Y(Object.freeze({__proto__:null,Countdown:he,Filter:xr,Lightbox:Li,LightboxPanel:Fr,Notification:Rr,Parallax:ji,Slider:Fi,SliderParallax:or,Slideshow:eo,SlideshowParallax:or,Sortable:Yn,Tooltip:vt,Upload:mi}),function(t,e){return Xn.component(e,t)}),Xn});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,function(){"use strict";function e(e,t){for(var a=0;a<t.length;a++){var i=t[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a,i=arguments[t];for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(this,arguments)}function i(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(t,a){void 0===t&&(t={}),void 0===a&&(a={}),Object.keys(a).forEach(function(e){void 0===t[e]?t[e]=a[e]:i(a[e])&&i(t[e])&&0<Object.keys(a[e]).length&&s(t[e],a[e])})}var a={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function b(){var e="undefined"!=typeof document?document:{};return s(e,a),e}var r={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function U(){var e="undefined"!=typeof window?window:{};return s(e,r),e}function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t,a){return(l=function(){if("undefined"!=typeof Reflect&&Reflect.construct&&!Reflect.construct.sham){if("function"==typeof Proxy)return 1;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),1}catch(e){return}}}()?Reflect.construct:function(e,t,a){var i=[null];i.push.apply(i,t);i=new(Function.bind.apply(e,i));return a&&o(i,a.prototype),i}).apply(null,arguments)}function d(e){var a="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==a){if(a.has(e))return a.get(e);a.set(e,t)}function t(){return l(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)})(e)}var p,c=(p=d(Array),A=p,(O=u).prototype=Object.create(A.prototype),(O.prototype.constructor=O).__proto__=A,u);function u(e){var t=p.call.apply(p,[this].concat(e))||this,e=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),a=e.__proto__;return Object.defineProperty(e,"__proto__",{get:function(){return a},set:function(e){a.__proto__=e}}),t}function h(e){var t=[];return(e=void 0===e?[]:e).forEach(function(e){Array.isArray(e)?t.push.apply(t,h(e)):t.push(e)}),t}function m(e,t){return Array.prototype.filter.call(e,t)}function C(e,s){var t=U(),r=b(),a=[];if(!s&&e instanceof c)return e;if(!e)return new c(a);if("string"==typeof e){var i=e.trim();if(0<=i.indexOf("<")&&0<=i.indexOf(">")){var n="div";0===i.indexOf("<li")&&(n="ul"),0===i.indexOf("<tr")&&(n="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(n="tr"),0===i.indexOf("<tbody")&&(n="table"),0===i.indexOf("<option")&&(n="select");var o=r.createElement(n);o.innerHTML=i;for(var l=0;l<o.childNodes.length;l+=1)a.push(o.childNodes[l])}else a=function(e){if("string"!=typeof e)return[e];for(var t=[],a=(s||r).querySelectorAll(e),i=0;i<a.length;i+=1)t.push(a[i]);return t}(e.trim())}else if(e.nodeType||e===t||e===r)a.push(e);else if(Array.isArray(e)){if(e instanceof c)return e;a=e}return new c(function(e){for(var t=[],a=0;a<e.length;a+=1)-1===t.indexOf(e[a])&&t.push(e[a]);return t}(a))}C.fn=c.prototype;var f,w,y,v={addClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=h(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).add.apply(e,i)}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=h(t.map(function(e){return e.split(" ")}));return this.forEach(function(e){(e=e.classList).remove.apply(e,i)}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=h(t.map(function(e){return e.split(" ")}));return 0<m(this,function(t){return 0<i.filter(function(e){return t.classList.contains(e)}).length}).length},toggleClass:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=h(t.map(function(e){return e.split(" ")}));this.forEach(function(t){i.forEach(function(e){t.classList.toggle(e)})})},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var a=0;a<this.length;a+=1)if(2===arguments.length)this[a].setAttribute(e,t);else for(var i in e)this[a][i]=e[i],this[a].setAttribute(i,e[i]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(var t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?e+"ms":e;return this},on:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],r=t[1],n=t[2],s=t[3];function o(e){var t=e.target;if(t){var a=e.target.dom7EventData||[];if(a.indexOf(e)<0&&a.unshift(e),C(t).is(r))n.apply(t,a);else for(var i=C(t).parents(),s=0;s<i.length;s+=1)C(i[s]).is(r)&&n.apply(i[s],a)}}function l(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(i=t[0],n=t[1],s=t[2],r=void 0);for(var d,s=s||!1,p=i.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(d=0;d<p.length;d+=1){var h=p[d];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[h]||(u.dom7LiveListeners[h]=[]),u.dom7LiveListeners[h].push({listener:n,proxyListener:o}),u.addEventListener(h,o,s)}else for(d=0;d<p.length;d+=1){var m=p[d];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[m]||(u.dom7Listeners[m]=[]),u.dom7Listeners[m].push({listener:n,proxyListener:l}),u.addEventListener(m,l,s)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=t[0],s=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(i=t[0],r=t[1],n=t[2],s=void 0);for(var n=n||!1,o=i.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],p=0;p<this.length;p+=1){var c=this[p],u=void 0;if(!s&&c.dom7Listeners?u=c.dom7Listeners[d]:s&&c.dom7LiveListeners&&(u=c.dom7LiveListeners[d]),u&&u.length)for(var h=u.length-1;0<=h;--h){var m=u[h];!(r&&m.listener===r||r&&m.listener&&m.listener.dom7proxy&&m.listener.dom7proxy===r)&&r||(c.removeEventListener(d,m.proxyListener,n),u.splice(h,1))}}return this},trigger:function(){for(var e=U(),t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];for(var s=a[0].split(" "),r=a[1],n=0;n<s.length;n+=1)for(var o=s[n],l=0;l<this.length;l+=1){var d,p=this[l];e.CustomEvent&&(d=new e.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0}),p.dom7EventData=a.filter(function(e,t){return 0<t}),p.dispatchEvent(d),p.dom7EventData=[],delete p.dom7EventData)}return this},transitionEnd:function(a){var i=this;return a&&i.on("transitionend",function e(t){t.target===this&&(a.call(this,t),i.off("transitionend",e))}),this},outerWidth:function(e){if(0<this.length){if(e){e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(0<this.length){if(e){e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=U();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(0<this.length){var e=U(),t=b(),a=this[0],i=a.getBoundingClientRect(),s=t.body,r=a.clientTop||s.clientTop||0,t=a.clientLeft||s.clientLeft||0,s=a===e?e.scrollY:a.scrollTop,a=a===e?e.scrollX:a.scrollLeft;return{top:i.top+s-r,left:i.left+a-t}}return null},css:function(e,t){var a,i=U();if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(var s in e)this[a].style[s]=e[s];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2!==arguments.length||"string"!=typeof e)return this;for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this},each:function(a){return a&&this.forEach(function(e,t){a.apply(e,[e,t])}),this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,a,i=U(),s=b(),r=this[0];if(!r||void 0===e)return!1;if("string"==typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(r.msMatchesSelector)return r.msMatchesSelector(e);for(t=C(e),a=0;a<t.length;a+=1)if(t[a]===r)return!0;return!1}if(e===s)return r===s;if(e===i)return r===i;if(e.nodeType||e instanceof c){for(t=e.nodeType?[e]:e,a=0;a<t.length;a+=1)if(t[a]===r)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t=this.length;if(t-1<e)return C([]);if(e<0){t=t+e;return C(t<0?[]:[this[t]])}return C([this[e]])},append:function(){for(var e=b(),t=0;t<arguments.length;t+=1)for(var a=t<0||arguments.length<=t?void 0:arguments[t],i=0;i<this.length;i+=1)if("string"==typeof a){var s=e.createElement("div");for(s.innerHTML=a;s.firstChild;)this[i].appendChild(s.firstChild)}else if(a instanceof c)for(var r=0;r<a.length;r+=1)this[i].appendChild(a[r]);else this[i].appendChild(a);return this},prepend:function(e){for(var t,a=b(),i=0;i<this.length;i+=1)if("string"==typeof e){var s=a.createElement("div");for(s.innerHTML=e,t=s.childNodes.length-1;0<=t;--t)this[i].insertBefore(s.childNodes[t],this[i].childNodes[0])}else if(e instanceof c)for(t=0;t<e.length;t+=1)this[i].insertBefore(e[t],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return 0<this.length?e?this[0].nextElementSibling&&C(this[0].nextElementSibling).is(e)?C([this[0].nextElementSibling]):C([]):this[0].nextElementSibling?C([this[0].nextElementSibling]):C([]):C([])},nextAll:function(e){var t=[],a=this[0];if(!a)return C([]);for(;a.nextElementSibling;){var i=a.nextElementSibling;e&&!C(i).is(e)||t.push(i),a=i}return C(t)},prev:function(e){if(0<this.length){var t=this[0];return e?t.previousElementSibling&&C(t.previousElementSibling).is(e)?C([t.previousElementSibling]):C([]):t.previousElementSibling?C([t.previousElementSibling]):C([])}return C([])},prevAll:function(e){var t=[],a=this[0];if(!a)return C([]);for(;a.previousElementSibling;){var i=a.previousElementSibling;e&&!C(i).is(e)||t.push(i),a=i}return C(t)},parent:function(e){for(var t=[],a=0;a<this.length;a+=1)null===this[a].parentNode||e&&!C(this[a].parentNode).is(e)||t.push(this[a].parentNode);return C(t)},parents:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].parentNode;i;)e&&!C(i).is(e)||t.push(i),i=i.parentNode;return C(t)},closest:function(e){var t=this;return void 0===e?C([]):t=!t.is(e)?t.parents(e).eq(0):t},find:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].querySelectorAll(e),s=0;s<i.length;s+=1)t.push(i[s]);return C(t)},children:function(e){for(var t=[],a=0;a<this.length;a+=1)for(var i=this[a].children,s=0;s<i.length;s+=1)e&&!C(i[s]).is(e)||t.push(i[s]);return C(t)},filter:function(e){return C(m(this,e))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function S(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function M(){return Date.now()}function g(e,t){void 0===t&&(t="x");var a,i,s,r=U(),e=r.getComputedStyle(e,null);return r.WebKitCSSMatrix?(6<(i=e.transform||e.webkitTransform).split(",").length&&(i=i.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),s=new r.WebKitCSSMatrix("none"===i?"":i)):a=(s=e.MozTransform||e.OTransform||e.MsTransform||e.msTransform||e.transform||e.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=r.WebKitCSSMatrix?s.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),(i="y"===t?r.WebKitCSSMatrix?s.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5]):i)||0}function E(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object}function K(e){for(var t=Object(arguments.length<=0?void 0:e),a=1;a<arguments.length;a+=1){var i=a<0||arguments.length<=a?void 0:arguments[a];if(null!=i)for(var s=Object.keys(Object(i)),r=0,n=s.length;r<n;r+=1){var o=s[r],l=Object.getOwnPropertyDescriptor(i,o);void 0!==l&&l.enumerable&&(E(t[o])&&E(i[o])?K(t[o],i[o]):!E(t[o])&&E(i[o])?(t[o]={},K(t[o],i[o])):t[o]=i[o])}}return t}function x(a,i){Object.keys(i).forEach(function(t){E(i[t])&&Object.keys(i[t]).forEach(function(e){"function"==typeof i[t][e]&&(i[t][e]=i[t][e].bind(a))}),a[t]=i[t]})}function T(){return f||(a=U(),e=b(),f={touch:!!("ontouchstart"in a||a.DocumentTouch&&e instanceof a.DocumentTouch),pointerEvents:!!a.PointerEvent&&"maxTouchPoints"in a.navigator&&0<=a.navigator.maxTouchPoints,observer:"MutationObserver"in a||"WebkitMutationObserver"in a,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});a.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in a}),f;var a,e}Object.keys(v).forEach(function(e){C.fn[e]=v[e]});var z={name:"resize",create:function(){var r=this;K(r,{resize:{observer:null,createObserver:function(){r&&!r.destroyed&&r.initialized&&(r.resize.observer=new ResizeObserver(function(e){var t=r.width,a=r.height,i=t,s=a;e.forEach(function(e){var t=e.contentBoxSize,a=e.contentRect,e=e.target;e&&e!==r.el||(i=a?a.width:(t[0]||t).inlineSize,s=a?a.height:(t[0]||t).blockSize)}),i===t&&s===a||r.resize.resizeHandler()}),r.resize.observer.observe(r.el))},removeObserver:function(){r.resize.observer&&r.resize.observer.unobserve&&r.el&&(r.resize.observer.unobserve(r.el),r.resize.observer=null)},resizeHandler:function(){r&&!r.destroyed&&r.initialized&&(r.emit("beforeResize"),r.emit("resize"))},orientationChangeHandler:function(){r&&!r.destroyed&&r.initialized&&r.emit("orientationchange")}}})},on:{init:function(e){var t=U();e.params.resizeObserver&&void 0!==U().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=U();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},P={attach:function(e,t){void 0===t&&(t={});var a=U(),i=this,s=new(a.MutationObserver||a.WebkitMutationObserver)(function(e){var t;1!==e.length?(t=function(){i.emit("observerUpdate",e[0])},a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)):i.emit("observerUpdate",e[0])});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),a=0;a<t.length;a+=1)e.observer.attach(t[a]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},k={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){x(this,{observer:t({},P,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}};function $(){var e,t,a=this,i=a.params,s=a.el;s&&0===s.offsetWidth||(i.breakpoints&&a.setBreakpoint(),e=a.allowSlideNext,t=a.allowSlidePrev,s=a.snapGrid,a.allowSlideNext=!0,a.allowSlidePrev=!0,a.updateSize(),a.updateSlides(),a.updateSlidesClasses(),("auto"===i.slidesPerView||1<i.slidesPerView)&&a.isEnd&&!a.isBeginning&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0),a.autoplay&&a.autoplay.running&&a.autoplay.paused&&a.autoplay.run(),a.allowSlidePrev=t,a.allowSlideNext=e,a.params.watchOverflow&&s!==a.snapGrid&&a.checkOverflow())}var L=!1;function I(){}var O,A,D,G={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1},N={modular:{useParams:function(t){var a=this;a.modules&&Object.keys(a.modules).forEach(function(e){e=a.modules[e];e.params&&K(t,e.params)})},useModules:function(a){void 0===a&&(a={});var i=this;i.modules&&Object.keys(i.modules).forEach(function(e){var t=i.modules[e],e=a[e]||{};t.on&&i.on&&Object.keys(t.on).forEach(function(e){i.on(e,t.on[e])}),t.create&&t.create.bind(i)(e)})}},eventsEmitter:{on:function(e,t,a){var i=this;if("function"!=typeof t)return i;var s=a?"unshift":"push";return e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][s](t)}),i},once:function(i,s,e){var r=this;return"function"!=typeof s?r:(n.__emitterProxy=s,r.on(i,n,e));function n(){r.off(i,n),n.__emitterProxy&&delete n.__emitterProxy;for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];s.apply(r,t)}},onAny:function(e,t){if("function"!=typeof e)return this;t=t?"unshift":"push";return this.eventsAnyListeners.indexOf(e)<0&&this.eventsAnyListeners[t](e),this},offAny:function(e){var t=this;if(!t.eventsAnyListeners)return t;e=t.eventsAnyListeners.indexOf(e);return 0<=e&&t.eventsAnyListeners.splice(e,1),t},off:function(e,i){var s=this;return s.eventsListeners&&e.split(" ").forEach(function(a){void 0===i?s.eventsListeners[a]=[]:s.eventsListeners[a]&&s.eventsListeners[a].forEach(function(e,t){(e===i||e.__emitterProxy&&e.__emitterProxy===i)&&s.eventsListeners[a].splice(t,1)})}),s},emit:function(){var e,a,i,s=this;if(!s.eventsListeners)return s;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return i="string"==typeof r[0]||Array.isArray(r[0])?(e=r[0],a=r.slice(1,r.length),s):(e=r[0].events,a=r[0].data,r[0].context||s),a.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(function(t){s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(function(e){e.apply(i,[t].concat(a))}),s.eventsListeners&&s.eventsListeners[t]&&s.eventsListeners[t].forEach(function(e){e.apply(i,a)})}),s}},update:{updateSize:function(){var e=this,t=e.$el,a=void 0!==e.params.width&&null!==e.params.width?e.params.width:t[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:t[0].clientHeight;0===a&&e.isHorizontal()||0===i&&e.isVertical()||(a=a-parseInt(t.css("padding-left")||0,10)-parseInt(t.css("padding-right")||0,10),i=i-parseInt(t.css("padding-top")||0,10)-parseInt(t.css("padding-bottom")||0,10),K(e,{width:a=Number.isNaN(a)?0:a,height:i=Number.isNaN(i)?0:i,size:e.isHorizontal()?a:i}))},updateSlides:function(){function a(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function e(e,t){return parseFloat(e.getPropertyValue(a(t))||0)}var t=this,i=U(),s=t.params,r=t.$wrapperEl,n=t.size,o=t.rtlTranslate,l=t.wrongRTL,d=t.virtual&&s.virtual.enabled,p=(d?t.virtual:t).slides.length,c=r.children("."+t.params.slideClass),u=(d?t.virtual.slides:c).length,h=[],m=[],f=[],v=s.slidesOffsetBefore;"function"==typeof v&&(v=s.slidesOffsetBefore.call(t));var g=s.slidesOffsetAfter;"function"==typeof g&&(g=s.slidesOffsetAfter.call(t));var b,w=t.snapGrid.length,d=t.slidesGrid.length,y=s.spaceBetween,E=-v,x=0,T=0;if(void 0!==n){"string"==typeof y&&0<=y.indexOf("%")&&(y=parseFloat(y.replace("%",""))/100*n),t.virtualSize=-y,o?c.css({marginLeft:"",marginTop:""}):c.css({marginRight:"",marginBottom:""}),1<s.slidesPerColumn&&(b=Math.floor(u/s.slidesPerColumn)===u/t.params.slidesPerColumn?u:Math.ceil(u/s.slidesPerColumn)*s.slidesPerColumn,"auto"!==s.slidesPerView&&"row"===s.slidesPerColumnFill&&(b=Math.max(b,s.slidesPerView*s.slidesPerColumn)));for(var C,S,M,z,P,k=s.slidesPerColumn,$=b/k,L=Math.floor(u/s.slidesPerColumn),I=0;I<u;I+=1){Y=0;var O,A,D,G,N,B,H,X,R,Y,V=c.eq(I);1<s.slidesPerColumn&&(R=H=B=void 0,"row"===s.slidesPerColumnFill&&1<s.slidesPerGroup?(N=Math.floor(I/(s.slidesPerGroup*s.slidesPerColumn)),D=I-s.slidesPerColumn*s.slidesPerGroup*N,G=0===N?s.slidesPerGroup:Math.min(Math.ceil((u-N*k*s.slidesPerGroup)/k),s.slidesPerGroup),B=(H=D-(R=Math.floor(D/G))*G+N*s.slidesPerGroup)+R*b/k,V.css({"-webkit-box-ordinal-group":B,"-moz-box-ordinal-group":B,"-ms-flex-order":B,"-webkit-order":B,order:B})):"column"===s.slidesPerColumnFill?(R=I-(H=Math.floor(I/k))*k,(L<H||H===L&&R===k-1)&&(R+=1)>=k&&(R=0,H+=1)):H=I-(R=Math.floor(I/$))*$,V.css(a("margin-top"),0!==R&&s.spaceBetween&&s.spaceBetween+"px")),"none"!==V.css("display")&&("auto"===s.slidesPerView?(X=i.getComputedStyle(V[0],null),O=V[0].style.transform,A=V[0].style.webkitTransform,O&&(V[0].style.transform="none"),A&&(V[0].style.webkitTransform="none"),Y=s.roundLengths?t.isHorizontal()?V.outerWidth(!0):V.outerHeight(!0):(D=e(X,"width"),G=e(X,"padding-left"),N=e(X,"padding-right"),B=e(X,"margin-left"),H=e(X,"margin-right"),(R=X.getPropertyValue(X,"box-sizing"))&&"border-box"===R?D+B+H:(R=(X=V[0]).clientWidth,D+G+N+B+H+(X.offsetWidth-R))),O&&(V[0].style.transform=O),A&&(V[0].style.webkitTransform=A),s.roundLengths&&(Y=Math.floor(Y))):(Y=(n-(s.slidesPerView-1)*y)/s.slidesPerView,s.roundLengths&&(Y=Math.floor(Y)),c[I]&&(c[I].style[a("width")]=Y+"px")),c[I]&&(c[I].swiperSlideSize=Y),f.push(Y),s.centeredSlides?(E=E+Y/2+x/2+y,0===x&&0!==I&&(E=E-n/2-y),0===I&&(E=E-n/2-y),Math.abs(E)<.001&&(E=0),s.roundLengths&&(E=Math.floor(E)),T%s.slidesPerGroup==0&&h.push(E),m.push(E)):(s.roundLengths&&(E=Math.floor(E)),(T-Math.min(t.params.slidesPerGroupSkip,T))%t.params.slidesPerGroup==0&&h.push(E),m.push(E),E=E+Y+y),t.virtualSize+=Y+y,x=Y,T+=1)}if(t.virtualSize=Math.max(t.virtualSize,n)+g,o&&l&&("slide"===s.effect||"coverflow"===s.effect)&&r.css({width:t.virtualSize+s.spaceBetween+"px"}),s.setWrapperSize&&r.css(((l={})[a("width")]=t.virtualSize+s.spaceBetween+"px",l)),1<s.slidesPerColumn&&(t.virtualSize=(Y+s.spaceBetween)*b,t.virtualSize=Math.ceil(t.virtualSize/s.slidesPerColumn)-s.spaceBetween,r.css(((C={})[a("width")]=t.virtualSize+s.spaceBetween+"px",C)),s.centeredSlides)){for(var W=[],F=0;F<h.length;F+=1){var q=h[F];s.roundLengths&&(q=Math.floor(q)),h[F]<t.virtualSize+h[0]&&W.push(q)}h=W}if(!s.centeredSlides){W=[];for(var j=0;j<h.length;j+=1){var _=h[j];s.roundLengths&&(_=Math.floor(_)),h[j]<=t.virtualSize-n&&W.push(_)}h=W,1<Math.floor(t.virtualSize-n)-Math.floor(h[h.length-1])&&h.push(t.virtualSize-n)}0===h.length&&(h=[0]),0!==s.spaceBetween&&(C=t.isHorizontal()&&o?"marginLeft":a("marginRight"),c.filter(function(e,t){return!s.cssMode||t!==c.length-1}).css(((o={})[C]=y+"px",o))),s.centeredSlides&&s.centeredSlidesBounds&&(S=0,f.forEach(function(e){S+=e+(s.spaceBetween||0)}),M=(S-=s.spaceBetween)-n,h=h.map(function(e){return e<0?-v:M<e?M+g:e})),s.centerInsufficientSlides&&(z=0,f.forEach(function(e){z+=e+(s.spaceBetween||0)}),(z-=s.spaceBetween)<n&&(P=(n-z)/2,h.forEach(function(e,t){h[t]=e-P}),m.forEach(function(e,t){m[t]=e+P}))),K(t,{slides:c,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),u!==p&&t.emit("slidesLengthChange"),h.length!==w&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==d&&t.emit("slidesGridLengthChange"),(s.watchSlidesProgress||s.watchSlidesVisibility)&&t.updateSlidesOffset()}},updateAutoHeight:function(e){var t,a,i=this,s=[],r=0;if("number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed),"auto"!==i.params.slidesPerView&&1<i.params.slidesPerView)if(i.params.centeredSlides)i.visibleSlides.each(function(e){s.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var n=i.activeIndex+t;if(n>i.slides.length)break;s.push(i.slides.eq(n)[0])}else s.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t<s.length;t+=1)void 0!==s[t]&&(r=r<(a=s[t].offsetHeight)?a:r);r&&i.$wrapperEl.css("height",r+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.slides,s=t.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();var r=s?e:-e;i.removeClass(a.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o,l,d=i[n],p=(r+(a.centeredSlides?t.minTranslate():0)-d.swiperSlideOffset)/(d.swiperSlideSize+a.spaceBetween);(a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&(l=(o=-(r-d.swiperSlideOffset))+t.slidesSizesGrid[n],(0<=o&&o<t.size-1||1<l&&l<=t.size||o<=0&&l>=t.size)&&(t.visibleSlides.push(d),t.visibleSlidesIndexes.push(n),i.eq(n).addClass(a.slideVisibleClass))),d.progress=s?-p:p}t.visibleSlides=C(t.visibleSlides)}},updateProgress:function(e){var t=this;void 0===e&&(o=t.rtlTranslate?-1:1,e=t&&t.translate&&t.translate*o||0);var a=t.params,i=t.maxTranslate()-t.minTranslate(),s=t.progress,r=t.isBeginning,n=r,o=l=t.isEnd,l=0==i?r=!(s=0):(r=(s=(e-t.minTranslate())/i)<=0,1<=s);K(t,{progress:s,isBeginning:r,isEnd:l}),(a.watchSlidesProgress||a.watchSlidesVisibility||a.centeredSlides&&a.autoHeight)&&t.updateSlidesProgress(e),r&&!n&&t.emit("reachBeginning toEdge"),l&&!o&&t.emit("reachEnd toEdge"),(n&&!r||o&&!l)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e=this,t=e.slides,a=e.params,i=e.$wrapperEl,s=e.activeIndex,r=e.realIndex,n=e.virtual&&a.virtual.enabled;t.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass),(s=n?e.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+s+'"]'):t.eq(s)).addClass(a.slideActiveClass),a.loop&&(s.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]'):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]')).addClass(a.slideDuplicateActiveClass);r=s.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass);a.loop&&0===r.length&&(r=t.eq(0)).addClass(a.slideNextClass);s=s.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass);a.loop&&0===s.length&&(s=t.eq(-1)).addClass(a.slidePrevClass),a.loop&&((r.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]'):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+r.attr("data-swiper-slide-index")+'"]')).addClass(a.slideDuplicateNextClass),(s.hasClass(a.slideDuplicateClass)?i.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]'):i.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]')).addClass(a.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){var t=this,a=t.rtlTranslate?t.translate:-t.translate,i=t.slidesGrid,s=t.snapGrid,r=t.params,n=t.activeIndex,o=t.realIndex,l=t.snapIndex,d=e;if(void 0===d){for(var p=0;p<i.length;p+=1)void 0!==i[p+1]?a>=i[p]&&a<i[p+1]-(i[p+1]-i[p])/2?d=p:a>=i[p]&&a<i[p+1]&&(d=p+1):a>=i[p]&&(d=p);r.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}(r=0<=s.indexOf(a)?s.indexOf(a):(e=Math.min(r.slidesPerGroupSkip,d))+Math.floor((d-e)/r.slidesPerGroup))>=s.length&&(r=s.length-1),d!==n?(s=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10),K(t,{snapIndex:r,realIndex:s,previousIndex:n,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==s&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")):r!==l&&(t.snapIndex=r,t.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,a=this,i=a.params,s=C(e.target).closest("."+i.slideClass)[0],r=!1;if(s)for(var n=0;n<a.slides.length;n+=1)if(a.slides[n]===s){r=!0,t=n;break}if(!s||!r)return a.clickedSlide=void 0,void(a.clickedIndex=void 0);a.clickedSlide=s,a.virtual&&a.params.virtual.enabled?a.clickedIndex=parseInt(C(s).attr("data-swiper-slide-index"),10):a.clickedIndex=t,i.slideToClickedSlide&&void 0!==a.clickedIndex&&a.clickedIndex!==a.activeIndex&&a.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,a=this.rtlTranslate,i=this.translate,s=this.$wrapperEl;if(t.virtualTranslate)return a?-i:i;if(t.cssMode)return i;e=g(s[0],e);return(e=a?-e:e)||0},setTranslate:function(e,t){var a=this,i=a.rtlTranslate,s=a.params,r=a.$wrapperEl,n=a.wrapperEl,o=a.progress,l=0,d=0;a.isHorizontal()?l=i?-e:e:d=e,s.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),s.cssMode?n[a.isHorizontal()?"scrollLeft":"scrollTop"]=a.isHorizontal()?-l:-d:s.virtualTranslate||r.transform("translate3d("+l+"px, "+d+"px, 0px)"),a.previousTranslate=a.translate,a.translate=a.isHorizontal()?l:d;d=a.maxTranslate()-a.minTranslate();(0==d?0:(e-a.minTranslate())/d)!==o&&a.updateProgress(e),a.emit("setTranslate",a.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,a,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),void 0===i&&(i=!0);var r=this,n=r.params,o=r.wrapperEl;if(r.animating&&n.preventInteractionOnTransition)return!1;var l=r.minTranslate(),d=r.maxTranslate(),d=i&&l<e?l:i&&e<d?d:e;if(r.updateProgress(d),n.cssMode){e=r.isHorizontal();return 0!==t&&o.scrollTo?o.scrollTo(((n={})[e?"left":"top"]=-d,n.behavior="smooth",n)):o[e?"scrollLeft":"scrollTop"]=-d,!0}return 0===t?(r.setTransition(0),r.setTranslate(d),a&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(d),a&&(r.emit("beforeTransitionStart",t,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,a&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.params,r=a.previousIndex;s.cssMode||(s.autoHeight&&a.updateAutoHeight(),t=(t=t)||(r<i?"next":i<r?"prev":"reset"),a.emit("transitionStart"),e&&i!==r&&("reset"!==t?(a.emit("slideChangeTransitionStart"),"next"===t?a.emit("slideNextTransitionStart"):a.emit("slidePrevTransitionStart")):a.emit("slideResetTransitionStart")))},transitionEnd:function(e,t){void 0===e&&(e=!0);var a=this,i=a.activeIndex,s=a.previousIndex,r=a.params;a.animating=!1,r.cssMode||(a.setTransition(0),t=(t=t)||(s<i?"next":i<s?"prev":"reset"),a.emit("transitionEnd"),e&&i!==s&&("reset"!==t?(a.emit("slideChangeTransitionEnd"),"next"===t?a.emit("slideNextTransitionEnd"):a.emit("slidePrevTransitionEnd")):a.emit("slideResetTransitionEnd")))}},slide:{slideTo:function(e,t,a,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof e+"] given.");if("string"==typeof e){var s=parseInt(e,10);if(!isFinite(s))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+e+"] given.");e=s}var r=this,n=e;n<0&&(n=0);var o=r.params,l=r.snapGrid,d=r.slidesGrid,p=r.previousIndex,c=r.activeIndex,u=r.rtlTranslate,s=r.wrapperEl;if(r.animating&&o.preventInteractionOnTransition)return!1;e=Math.min(r.params.slidesPerGroupSkip,n),e+=Math.floor((n-e)/r.params.slidesPerGroup);e>=l.length&&(e=l.length-1),(c||o.initialSlide||0)===(p||0)&&a&&r.emit("beforeSlideChangeStart");var h,m=-l[e];if(r.updateProgress(m),o.normalizeSlideIndex)for(var f=0;f<d.length;f+=1){var v=-Math.floor(100*m),g=Math.floor(100*d[f]),b=Math.floor(100*d[f+1]);void 0!==d[f+1]?g<=v&&v<b-(b-g)/2?n=f:g<=v&&v<b&&(n=f+1):g<=v&&(n=f)}if(r.initialized&&n!==c){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(c||0)!==n)return!1}if(h=c<n?"next":n<c?"prev":"reset",u&&-m===r.translate||!u&&m===r.translate)return r.updateActiveIndex(n),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(m),"reset"!=h&&(r.transitionStart(a,h),r.transitionEnd(a,h)),!1;if(o.cssMode){c=r.isHorizontal(),o=-m;return u&&(o=s.scrollWidth-s.offsetWidth-o),0!==t&&s.scrollTo?s.scrollTo(((u={})[c?"left":"top"]=o,u.behavior="smooth",u)):s[c?"scrollLeft":"scrollTop"]=o,!0}return 0===t?(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(a,h),r.transitionEnd(a,h)):(r.setTransition(t),r.setTranslate(m),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(a,h),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(a,h))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(e,t,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===a&&(a=!0);return this.params.loop&&(e+=this.loopedSlides),this.slideTo(e,t,a,i)},slideNext:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.activeIndex<s.slidesPerGroupSkip?1:s.slidesPerGroup;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return i.slideTo(i.activeIndex+n,e,t,a)},slidePrev:function(e,t,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this,s=i.params,r=i.animating,n=i.snapGrid,o=i.slidesGrid,l=i.rtlTranslate;if(s.loop){if(r&&s.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var p=d(l?i.translate:-i.translate),l=n.map(d);n[l.indexOf(p)];var c,u=n[l.indexOf(p)-1];return void 0===u&&s.cssMode&&n.forEach(function(e){!u&&e<=p&&(u=e)}),void 0!==u&&(c=o.indexOf(u))<0&&(c=i.activeIndex-1),i.slideTo(c,e,t,a)},slideReset:function(e,t,a){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,a)},slideToClosest:function(e,t,a,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===i&&(i=.5);var s=this,r=s.activeIndex,n=Math.min(s.params.slidesPerGroupSkip,r),o=n+Math.floor((r-n)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;return l>=s.snapGrid[o]?l-(n=s.snapGrid[o])>(s.snapGrid[o+1]-n)*i&&(r+=s.params.slidesPerGroup):l-(l=s.snapGrid[o-1])<=(s.snapGrid[o]-l)*i&&(r-=s.params.slidesPerGroup),r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,t,a)},slideToClickedSlide:function(){var e,t=this,a=t.params,i=t.$wrapperEl,s="auto"===a.slidesPerView?t.slidesPerViewDynamic():a.slidesPerView,r=t.clickedIndex;a.loop?t.animating||(e=parseInt(C(t.clickedSlide).attr("data-swiper-slide-index"),10),a.centeredSlides?r<t.loopedSlides-s/2||r>t.slides.length-t.loopedSlides+s/2?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),S(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-s?(t.loopFix(),r=i.children("."+a.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideDuplicateClass+")").eq(0).index(),S(function(){t.slideTo(r)})):t.slideTo(r)):t.slideTo(r)}},loop:{loopCreate:function(){var i=this,e=b(),t=i.params,a=i.$wrapperEl;a.children("."+t.slideClass+"."+t.slideDuplicateClass).remove();var s=a.children("."+t.slideClass);if(t.loopFillGroupWithBlank){var r=t.slidesPerGroup-s.length%t.slidesPerGroup;if(r!==t.slidesPerGroup){for(var n=0;n<r;n+=1){var o=C(e.createElement("div")).addClass(t.slideClass+" "+t.slideBlankClass);a.append(o)}s=a.children("."+t.slideClass)}}"auto"!==t.slidesPerView||t.loopedSlides||(t.loopedSlides=s.length),i.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),i.loopedSlides+=t.loopAdditionalSlides,i.loopedSlides>s.length&&(i.loopedSlides=s.length);var l=[],d=[];s.each(function(e,t){var a=C(e);t<i.loopedSlides&&d.push(e),t<s.length&&t>=s.length-i.loopedSlides&&l.push(e),a.attr("data-swiper-slide-index",t)});for(var p=0;p<d.length;p+=1)a.append(C(d[p].cloneNode(!0)).addClass(t.slideDuplicateClass));for(var c=l.length-1;0<=c;--c)a.prepend(C(l[c].cloneNode(!0)).addClass(t.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,a=e.activeIndex,i=e.slides,s=e.loopedSlides,r=e.allowSlidePrev,n=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;o=-o[a]-e.getTranslate();a<s?(t=i.length-3*s+a,t+=s,e.slideTo(t,0,!1,!0)&&0!=o&&e.setTranslate((l?-e.translate:e.translate)-o)):a>=i.length-s&&(t=-i.length+a+s,t+=s,e.slideTo(t,0,!1,!0)&&0!=o&&e.setTranslate((l?-e.translate:e.translate)-o)),e.allowSlidePrev=r,e.allowSlideNext=n,e.emit("loopFix")},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,a=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),a.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||((t=t.el).style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab")},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this,a=t.$wrapperEl,i=t.params;if(i.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&a.append(e[s]);else a.append(e);i.loop&&t.loopCreate(),i.observer&&t.support.observer||t.update()},prependSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&t.loopDestroy();var r=s+1;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)e[n]&&i.prepend(e[n]);r=s+e.length}else i.prepend(e);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),t.slideTo(r,0,!1)},addSlide:function(e,t){var a=this,i=a.$wrapperEl,s=a.params,r=a.activeIndex;s.loop&&(r-=a.loopedSlides,a.loopDestroy(),a.slides=i.children("."+s.slideClass));var n=a.slides.length;if(e<=0)a.prependSlide(t);else if(n<=e)a.appendSlide(t);else{for(var o=e<r?r+1:r,l=[],d=n-1;e<=d;--d){var p=a.slides.eq(d);p.remove(),l.unshift(p)}if("object"==typeof t&&"length"in t){for(var c=0;c<t.length;c+=1)t[c]&&i.append(t[c]);o=e<r?r+t.length:r}else i.append(t);for(var u=0;u<l.length;u+=1)i.append(l[u]);s.loop&&a.loopCreate(),s.observer&&a.support.observer||a.update(),s.loop?a.slideTo(o+a.loopedSlides,0,!1):a.slideTo(o,0,!1)}},removeSlide:function(e){var t=this,a=t.params,i=t.$wrapperEl,s=t.activeIndex;a.loop&&(s-=t.loopedSlides,t.loopDestroy(),t.slides=i.children("."+a.slideClass));var r,n=s;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)r=e[o],t.slides[r]&&t.slides.eq(r).remove(),r<n&&--n;n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides.eq(r).remove(),r<n&&--n,n=Math.max(n,0);a.loop&&t.loopCreate(),a.observer&&t.support.observer||t.update(),a.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},events:{attachEvents:function(){var e=this,t=b(),a=e.params,i=e.touchEvents,s=e.el,r=e.wrapperEl,n=e.device,o=e.support;e.onTouchStart=function(e){var t=this,a=b(),i=U(),s=t.touchEventsData,r=t.params,n=t.touches;if(!t.animating||!r.preventInteractionOnTransition){var o=e,l=C((o=o.originalEvent?o.originalEvent:o).target);if(("wrapper"!==r.touchEventsTarget||l.closest(t.wrapperEl).length)&&(s.isTouchEvent="touchstart"===o.type,(s.isTouchEvent||!("which"in o)||3!==o.which)&&!(!s.isTouchEvent&&"button"in o&&0<o.button||s.isTouched&&s.isMoved)))if(r.noSwipingClass&&""!==r.noSwipingClass&&o.target&&o.target.shadowRoot&&e.path&&e.path[0]&&(l=C(e.path[0])),r.noSwiping&&l.closest(r.noSwipingSelector||"."+r.noSwipingClass)[0])t.allowClick=!0;else if(!r.swipeHandler||l.closest(r.swipeHandler)[0]){n.currentX=("touchstart"===o.type?o.targetTouches[0]:o).pageX,n.currentY=("touchstart"===o.type?o.targetTouches[0]:o).pageY;var d=n.currentX,p=n.currentY,c=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,u=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(c&&(d<=u||d>=i.innerWidth-u)){if("prevent"!==c)return;e.preventDefault()}K(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=d,n.startY=p,s.touchStartTime=M(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,0<r.threshold&&(s.allowThresholdMove=!1),"touchstart"!==o.type&&(p=!0,l.is(s.formElements)&&(p=!1),a.activeElement&&C(a.activeElement).is(s.formElements)&&a.activeElement!==l[0]&&a.activeElement.blur(),p=p&&t.allowTouchMove&&r.touchStartPreventDefault,!r.touchStartForcePreventDefault&&!p||l[0].isContentEditable||o.preventDefault()),t.emit("touchStart",o)}}}.bind(e),e.onTouchMove=function(e){var t=b(),a=this,i=a.touchEventsData,s=a.params,r=a.touches,n=a.rtlTranslate,o=e;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"touchmove"===o.type){var l="touchmove"===o.type&&o.targetTouches&&(o.targetTouches[0]||o.changedTouches[0]),e=("touchmove"===o.type?l:o).pageX,l=("touchmove"===o.type?l:o).pageY;if(o.preventedByNestedSwiper)return r.startX=e,void(r.startY=l);if(!a.allowTouchMove)return a.allowClick=!1,void(i.isTouched&&(K(r,{startX:e,startY:l,currentX:e,currentY:l}),i.touchStartTime=M()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(a.isVertical()){if(l<r.startY&&a.translate<=a.maxTranslate()||l>r.startY&&a.translate>=a.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(e<r.startX&&a.translate<=a.maxTranslate()||e>r.startX&&a.translate>=a.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&o.target===t.activeElement&&C(o.target).is(i.formElements))return i.isMoved=!0,void(a.allowClick=!1);if(i.allowTouchCallbacks&&a.emit("touchMove",o),!(o.targetTouches&&1<o.targetTouches.length)){r.currentX=e,r.currentY=l;t=r.currentX-r.startX,e=r.currentY-r.startY;if(!(a.params.threshold&&Math.sqrt(Math.pow(t,2)+Math.pow(e,2))<a.params.threshold))if(void 0===i.isScrolling&&(a.isHorizontal()&&r.currentY===r.startY||a.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:25<=t*t+e*e&&(l=180*Math.atan2(Math.abs(e),Math.abs(t))/Math.PI,i.isScrolling=a.isHorizontal()?l>s.touchAngle:90-l>s.touchAngle)),i.isScrolling&&a.emit("touchMoveOpposite",o),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){a.allowClick=!1,!s.cssMode&&o.cancelable&&o.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&o.stopPropagation(),i.isMoved||(s.loop&&a.loopFix(),i.startTranslate=a.getTranslate(),a.setTransition(0),a.animating&&a.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==a.allowSlideNext&&!0!==a.allowSlidePrev||a.setGrabCursor(!0),a.emit("sliderFirstMove",o)),a.emit("sliderMove",o),i.isMoved=!0;t=a.isHorizontal()?t:e;r.diff=t,t*=s.touchRatio,n&&(t=-t),a.swipeDirection=0<t?"prev":"next",i.currentTranslate=t+i.startTranslate;e=!0,n=s.resistanceRatio;if(s.touchReleaseOnEdges&&(n=0),0<t&&i.currentTranslate>a.minTranslate()?(e=!1,s.resistance&&(i.currentTranslate=a.minTranslate()-1+Math.pow(-a.minTranslate()+i.startTranslate+t,n))):t<0&&i.currentTranslate<a.maxTranslate()&&(e=!1,s.resistance&&(i.currentTranslate=a.maxTranslate()+1-Math.pow(a.maxTranslate()-i.startTranslate-t,n))),e&&(o.preventedByNestedSwiper=!0),!a.allowSlideNext&&"next"===a.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!a.allowSlidePrev&&"prev"===a.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),a.allowSlidePrev||a.allowSlideNext||(i.currentTranslate=i.startTranslate),0<s.threshold){if(!(Math.abs(t)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=a.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&!s.cssMode&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(a.updateActiveIndex(),a.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[a.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[a.isHorizontal()?"currentX":"currentY"],time:M()})),a.updateProgress(i.currentTranslate),a.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&a.emit("touchMoveOpposite",o)}.bind(e),e.onTouchEnd=function(e){var t=this,a=t.touchEventsData,i=t.params,s=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),a.allowTouchCallbacks&&t.emit("touchEnd",d),a.allowTouchCallbacks=!1,!a.isTouched)return a.isMoved&&i.grabCursor&&t.setGrabCursor(!1),a.isMoved=!1,void(a.startMoving=!1);i.grabCursor&&a.isMoved&&a.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,c=M(),e=c-a.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),e<300&&c-a.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),a.lastClickTime=M(),S(function(){t.destroyed||(t.allowClick=!0)}),!a.isTouched||!a.isMoved||!t.swipeDirection||0===s.diff||a.currentTranslate===a.startTranslate)return a.isTouched=!1,a.isMoved=!1,void(a.startMoving=!1);if(a.isTouched=!1,a.isMoved=!1,a.startMoving=!1,p=i.followFinger?r?t.translate:-t.translate:-a.currentTranslate,!i.cssMode)if(i.freeMode)if(p<-t.minTranslate())t.slideTo(t.activeIndex);else if(p>-t.maxTranslate())t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1);else{if(i.freeModeMomentum){1<a.velocities.length?(g=a.velocities.pop(),h=a.velocities.pop(),u=g.position-h.position,h=g.time-h.time,t.velocity=u/h,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(150<h||300<M()-g.time)&&(t.velocity=0)):t.velocity=0,t.velocity*=i.freeModeMomentumVelocityRatio,a.velocities.length=0;var u=1e3*i.freeModeMomentumRatio,h=t.velocity*u,m=t.translate+h;r&&(m=-m);var f,v,g=!1,h=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(m<t.maxTranslate())i.freeModeMomentumBounce?(m+t.maxTranslate()<-h&&(m=t.maxTranslate()-h),f=t.maxTranslate(),g=!0,a.allowMomentumBounce=!0):m=t.maxTranslate(),i.loop&&i.centeredSlides&&(v=!0);else if(m>t.minTranslate())i.freeModeMomentumBounce?(m-t.minTranslate()>h&&(m=t.minTranslate()+h),f=t.minTranslate(),g=!0,a.allowMomentumBounce=!0):m=t.minTranslate(),i.loop&&i.centeredSlides&&(v=!0);else if(i.freeModeSticky){for(var b,w=0;w<l.length;w+=1)if(l[w]>-m){b=w;break}m=-(Math.abs(l[b]-m)<Math.abs(l[b-1]-m)||"next"===t.swipeDirection?l[b]:l[b-1])}if(v&&t.once("transitionEnd",function(){t.loopFix()}),0!==t.velocity)u=r?Math.abs((-m-t.translate)/t.velocity):Math.abs((m-t.translate)/t.velocity),i.freeModeSticky&&(u=(v=Math.abs((r?-m:m)-t.translate))<(r=t.slidesSizesGrid[t.activeIndex])?i.speed:v<2*r?1.5*i.speed:2.5*i.speed);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&g?(t.updateProgress(f),t.setTransition(u),t.setTranslate(m),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&a.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),setTimeout(function(){t.setTranslate(f),n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(t.updateProgress(m),t.setTransition(u),t.setTranslate(m),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):(t.emit("_freeModeNoMomentumRelease"),t.updateProgress(m)),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(i.freeModeSticky)return void t.slideToClosest();i.freeMode&&t.emit("_freeModeNoMomentumRelease")}(!i.freeModeMomentum||e>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var y=0,E=t.slidesSizesGrid[0],x=0;x<o.length;x+=x<i.slidesPerGroupSkip?1:i.slidesPerGroup){var T=x<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==o[x+T]?p>=o[x]&&p<o[x+T]&&(E=o[(y=x)+T]-o[x]):p>=o[x]&&(y=x,E=o[o.length-1]-o[o.length-2])}g=(p-o[y])/E,u=y<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;e>i.longSwipesMs?i.longSwipes?("next"===t.swipeDirection&&(g>=i.longSwipesRatio?t.slideTo(y+u):t.slideTo(y)),"prev"===t.swipeDirection&&(g>1-i.longSwipesRatio?t.slideTo(y+u):t.slideTo(y))):t.slideTo(t.activeIndex):i.shortSwipes?!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(y+u),"prev"===t.swipeDirection&&t.slideTo(y)):d.target===t.navigation.nextEl?t.slideTo(y+u):t.slideTo(y):t.slideTo(t.activeIndex)}}.bind(e),a.cssMode&&(e.onScroll=function(){var e=this,t=e.wrapperEl,a=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=a?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(t=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/t)!==e.progress&&e.updateProgress(a?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}.bind(e)),e.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var l,d=!!a.nested;!o.touch&&o.pointerEvents?(s.addEventListener(i.start,e.onTouchStart,!1),t.addEventListener(i.move,e.onTouchMove,d),t.addEventListener(i.end,e.onTouchEnd,!1)):(o.touch&&(l=!("touchstart"!==i.start||!o.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1},s.addEventListener(i.start,e.onTouchStart,l),s.addEventListener(i.move,e.onTouchMove,o.passiveListener?{passive:!1,capture:d}:d),s.addEventListener(i.end,e.onTouchEnd,l),i.cancel&&s.addEventListener(i.cancel,e.onTouchEnd,l),L||(t.addEventListener("touchstart",I),L=!0)),(a.simulateTouch&&!n.ios&&!n.android||a.simulateTouch&&!o.touch&&n.ios)&&(s.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))),(a.preventClicks||a.preventClicksPropagation)&&s.addEventListener("click",e.onClick,!0),a.cssMode&&r.addEventListener("scroll",e.onScroll),a.updateOnWindowResize?e.on(n.ios||n.android?"resize orientationchange observerUpdate":"resize observerUpdate",$,!0):e.on("observerUpdate",$,!0)},detachEvents:function(){var e,t=this,a=b(),i=t.params,s=t.touchEvents,r=t.el,n=t.wrapperEl,o=t.device,l=t.support,d=!!i.nested;!l.touch&&l.pointerEvents?(r.removeEventListener(s.start,t.onTouchStart,!1),a.removeEventListener(s.move,t.onTouchMove,d),a.removeEventListener(s.end,t.onTouchEnd,!1)):(l.touch&&(e=!("onTouchStart"!==s.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1},r.removeEventListener(s.start,t.onTouchStart,e),r.removeEventListener(s.move,t.onTouchMove,d),r.removeEventListener(s.end,t.onTouchEnd,e),s.cancel&&r.removeEventListener(s.cancel,t.onTouchEnd,e)),(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(r.removeEventListener("mousedown",t.onTouchStart,!1),a.removeEventListener("mousemove",t.onTouchMove,d),a.removeEventListener("mouseup",t.onTouchEnd,!1))),(i.preventClicks||i.preventClicksPropagation)&&r.removeEventListener("click",t.onClick,!0),i.cssMode&&n.removeEventListener("scroll",t.onScroll),t.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",$)}},breakpoints:{setBreakpoint:function(){var e,a,t,i=this,s=i.activeIndex,r=i.initialized,n=i.loopedSlides,o=void 0===n?0:n,l=i.params,d=i.$el,p=l.breakpoints;!p||p&&0===Object.keys(p).length||(e=i.getBreakpoint(p,i.params.breakpointsBase,i.el))&&i.currentBreakpoint!==e&&((a=e in p?p[e]:void 0)&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=a[e];void 0!==t&&(a[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}),t=a||i.originalParams,n=1<l.slidesPerColumn,p=1<t.slidesPerColumn,n&&!p?(d.removeClass(l.containerModifierClass+"multirow "+l.containerModifierClass+"multirow-column"),i.emitContainerClasses()):!n&&p&&(d.addClass(l.containerModifierClass+"multirow"),"column"===t.slidesPerColumnFill&&d.addClass(l.containerModifierClass+"multirow-column"),i.emitContainerClasses()),d=t.direction&&t.direction!==l.direction,l=l.loop&&(t.slidesPerView!==l.slidesPerView||d),d&&r&&i.changeDirection(),K(i.params,t),K(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),i.currentBreakpoint=e,i.emit("_beforeBreakpoint",t),l&&r&&(i.loopDestroy(),i.loopCreate(),i.updateSlides(),i.slideTo(s-o+i.loopedSlides,0,!1)),i.emit("breakpoint",t))},getBreakpoint:function(e,t,a){if(void 0===t&&(t="window"),e&&("container"!==t||a)){var i=!1,s=U(),r="window"===t?s.innerWidth:a.clientWidth,n="window"===t?s.innerHeight:a.clientHeight,o=Object.keys(e).map(function(e){if("string"!=typeof e||0!==e.indexOf("@"))return{value:e,point:e};var t=parseFloat(e.substr(1));return{value:n*t,point:e}});o.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var l=0;l<o.length;l+=1){var d=o[l],p=d.point;d.value<=r&&(i=p)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e=this,t=e.params,a=e.isLocked,i=0<e.slides.length&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&i?e.isLocked=i<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,a!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),a&&a!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){var a,i,e=this,t=e.classNames,s=e.params,r=e.rtl,n=e.$el,o=e.device,l=e.support,o=(o=["initialized",s.direction,{"pointer-events":l.pointerEvents&&!l.touch},{"free-mode":s.freeMode},{autoheight:s.autoHeight},{rtl:r},{multirow:1<s.slidesPerColumn},{"multirow-column":1<s.slidesPerColumn&&"column"===s.slidesPerColumnFill},{android:o.android},{ios:o.ios},{"css-mode":s.cssMode}],a=s.containerModifierClass,i=[],o.forEach(function(e){"object"==typeof e?Object.entries(e).forEach(function(e){var t=e[0];e[1]&&i.push(a+t)}):"string"==typeof e&&i.push(a+e)}),i);t.push.apply(t,o),n.addClass([].concat(t).join(" ")),e.emitContainerClasses()},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,a,i,s,r){var n=U();function o(){r&&r()}!(C(e).parent("picture")[0]||e.complete&&s)&&t?((n=new n.Image).onload=o,n.onerror=o,i&&(n.sizes=i),a&&(n.srcset=a),t&&(n.src=t)):o()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var a=0;a<e.imagesToLoad.length;a+=1){var i=e.imagesToLoad[a];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},B={},H=((D=X.prototype).emitContainerClasses=function(){var e,t=this;t.params._emitClasses&&t.el&&(e=t.el.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-container")||0===e.indexOf(t.params.containerModifierClass)}),t.emit("_containerClasses",e.join(" ")))},D.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},D.emitSlidesClasses=function(){var a,i=this;i.params._emitClasses&&i.el&&(a=[],i.slides.each(function(e){var t=i.getSlideClasses(e);a.push({slideEl:e,classNames:t}),i.emit("_slideClass",e,t)}),i.emit("_slideClasses",a))},D.slidesPerViewDynamic=function(){var e=this,t=e.params,a=e.slides,i=e.slidesGrid,s=e.size,r=e.activeIndex,n=1;if(t.centeredSlides){for(var o,l=a[r].swiperSlideSize,d=r+1;d<a.length;d+=1)a[d]&&!o&&(n+=1,(l+=a[d].swiperSlideSize)>s&&(o=!0));for(var p=r-1;0<=p;--p)a[p]&&!o&&(n+=1,(l+=a[p].swiperSlideSize)>s&&(o=!0))}else for(var c=r+1;c<a.length;c+=1)i[c]-i[r]<s&&(n+=1);return n},D.update=function(){var e,t,a=this;function i(){var e=a.rtlTranslate?-1*a.translate:a.translate,e=Math.min(Math.max(e,a.maxTranslate()),a.minTranslate());a.setTranslate(e),a.updateActiveIndex(),a.updateSlidesClasses()}a&&!a.destroyed&&(e=a.snapGrid,(t=a.params).breakpoints&&a.setBreakpoint(),a.updateSize(),a.updateSlides(),a.updateProgress(),a.updateSlidesClasses(),a.params.freeMode?(i(),a.params.autoHeight&&a.updateAutoHeight()):(("auto"===a.params.slidesPerView||1<a.params.slidesPerView)&&a.isEnd&&!a.params.centeredSlides?a.slideTo(a.slides.length-1,0,!1,!0):a.slideTo(a.activeIndex,0,!1,!0))||i(),t.watchOverflow&&e!==a.snapGrid&&a.checkOverflow(),a.emit("update"))},D.changeDirection=function(t,e){void 0===e&&(e=!0);var a=this,i=a.params.direction;return(t=t||("horizontal"===i?"vertical":"horizontal"))===i||"horizontal"!==t&&"vertical"!==t||(a.$el.removeClass(""+a.params.containerModifierClass+i).addClass(""+a.params.containerModifierClass+t),a.emitContainerClasses(),a.params.direction=t,a.slides.each(function(e){"vertical"===t?e.style.width="":e.style.height=""}),a.emit("changeDirection"),e&&a.update()),a},D.mount=function(e){var t=this;if(t.mounted)return!0;var a,i=C(e||t.params.el);return!!(e=i[0])&&(e.swiper=t,e&&e.shadowRoot&&e.shadowRoot.querySelector?(a=C(e.shadowRoot.querySelector("."+t.params.wrapperClass))).children=function(e){return i.children(e)}:a=i.children("."+t.params.wrapperClass),K(t,{$el:i,el:e,$wrapperEl:a,wrapperEl:a[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===a.css("display")}),!0)},D.init=function(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},D.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var a,i=this,s=i.params,r=i.$el,n=i.$wrapperEl,o=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),n.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,a=i,Object.keys(a).forEach(function(e){try{a[e]=null}catch(e){}try{delete a[e]}catch(e){}})),i.destroyed=!0),null},X.extendDefaults=function(e){K(B,e)},X.installModule=function(e){X.prototype.modules||(X.prototype.modules={});var t=e.name||Object.keys(X.prototype.modules).length+"_"+M();X.prototype.modules[t]=e},X.use=function(e){return Array.isArray(e)?e.forEach(function(e){return X.installModule(e)}):X.installModule(e),X},O=X,A=[{key:"extendedDefaults",get:function(){return B}},{key:"defaults",get:function(){return G}}],(D=null)&&e(O.prototype,D),e(O,A),X);function X(){for(var a,e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(a=K({},a=(a=1===t.length&&t[0].constructor&&t[0].constructor===Object?t[0]:(g=t[0],t[1]))||{}),g&&!a.el&&(a.el=g),a.el&&1<C(a.el).length){var s=[];return C(a.el).each(function(e){e=K({},a,{el:e});s.push(new X(e))}),s}var r,n,o,l,d,p,c,u,h,m,f,v=this;v.support=T(),v.device=(void 0===(r={userAgent:a.userAgent})&&(r={}),w||(n=(void 0===r?{}:r).userAgent,o=T(),l=U(),d=l.navigator.platform,p=n||l.navigator.userAgent,c={ios:!1,android:!1},u=l.screen.width,h=l.screen.height,m=p.match(/(Android);?[\s\/]+([\d.]+)?/),f=p.match(/(iPad).*OS\s([\d_]+)/),r=p.match(/(iPod)(.*OS\s([\d_]+))?/),n=!f&&p.match(/(iPhone\sOS|iOS)\s([\d_]+)/),l="Win32"===d,d="MacIntel"===d,!f&&d&&o.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(u+"x"+h)&&((f=p.match(/(Version)\/([\d.]+)/))||(f=[0,1,"13_0_0"]),d=!1),m&&!l&&(c.os="android",c.android=!0),(f||n||r)&&(c.os="ios",c.ios=!0),w=c),w),v.browser=(y||(b=U(),y={isEdge:!!b.navigator.userAgent.match(/Edge/g),isSafari:0<=(c=b.navigator.userAgent.toLowerCase()).indexOf("safari")&&c.indexOf("chrome")<0&&c.indexOf("android")<0,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(b.navigator.userAgent)}),y),v.eventsListeners={},v.eventsAnyListeners=[],void 0===v.modules&&(v.modules={}),Object.keys(v.modules).forEach(function(e){var t=v.modules[e];t.params&&(e=Object.keys(t.params)[0],"object"==typeof(t=t.params[e])&&null!==t&&e in a&&"enabled"in t&&(!0===a[e]&&(a[e]={enabled:!0}),"object"!=typeof a[e]||"enabled"in a[e]||(a[e].enabled=!0),a[e]||(a[e]={enabled:!1})))});var g,b=K({},G);return v.useParams(b),v.params=K({},b,B,a),v.originalParams=K({},v.params),v.passedParams=K({},a),v.params&&v.params.on&&Object.keys(v.params.on).forEach(function(e){v.on(e,v.params.on[e])}),v.params&&v.params.onAny&&v.onAny(v.params.onAny),v.$=C,K(v,{el:g,classNames:[],slides:C(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===v.params.direction},isVertical:function(){return"vertical"===v.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:v.params.allowSlideNext,allowSlidePrev:v.params.allowSlidePrev,touchEvents:(b=["touchstart","touchmove","touchend","touchcancel"],g=["mousedown","mousemove","mouseup"],v.support.pointerEvents&&(g=["pointerdown","pointermove","pointerup"]),v.touchEventsTouch={start:b[0],move:b[1],end:b[2],cancel:b[3]},v.touchEventsDesktop={start:g[0],move:g[1],end:g[2]},v.support.touch||!v.params.simulateTouch?v.touchEventsTouch:v.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video, label",lastClickTime:M(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:v.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),v.useModules(),v.emit("_swiper"),v.params.init&&v.init(),v}Object.keys(N).forEach(function(t){Object.keys(N[t]).forEach(function(e){H.prototype[e]=N[t][e]})}),H.use([z,k]);var R={update:function(e){var t=this,a=t.params,i=a.slidesPerView,s=a.slidesPerGroup,r=a.centeredSlides,n=t.params.virtual,o=n.addSlidesBefore,l=n.addSlidesAfter,d=t.virtual,p=d.from,c=d.to,u=d.slides,h=d.slidesGrid,m=d.renderSlide,a=d.offset;t.updateActiveIndex();var n=t.activeIndex||0,d=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",o=r?(g=Math.floor(i/2)+s+l,Math.floor(i/2)+s+o):(g=i+(s-1)+l,s+o),f=Math.max((n||0)-o,0),v=Math.min((n||0)+g,u.length-1),g=(t.slidesGrid[f]||0)-(t.slidesGrid[0]||0);function b(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(K(t.virtual,{from:f,to:v,offset:g,slidesGrid:t.slidesGrid}),p===f&&c===v&&!e)return t.slidesGrid!==h&&g!==a&&t.slides.css(d,g+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:g,from:f,to:v,slides:function(){for(var e=[],t=f;t<=v;t+=1)e.push(u[t]);return e}()}),void(t.params.virtual.renderExternalUpdate&&b());var w=[],y=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var E=p;E<=c;E+=1)(E<f||v<E)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+E+'"]').remove();for(var x=0;x<u.length;x+=1)f<=x&&x<=v&&(void 0===c||e?y.push(x):(c<x&&y.push(x),x<p&&w.push(x)));y.forEach(function(e){t.$wrapperEl.append(m(u[e],e))}),w.sort(function(e,t){return t-e}).forEach(function(e){t.$wrapperEl.prepend(m(u[e],e))}),t.$wrapperEl.children(".swiper-slide").css(d,g+"px"),b()},renderSlide:function(e,t){var a=this,i=a.params.virtual;if(i.cache&&a.virtual.cache[t])return a.virtual.cache[t];e=i.renderSlide?C(i.renderSlide.call(a,e,t)):C('<div class="'+a.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return e.attr("data-swiper-slide-index")||e.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=e),e},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var i,s,t=this,a=t.activeIndex,r=a+1,n=1;if(Array.isArray(e)){for(var o=0;o<e.length;o+=1)e[o]&&t.virtual.slides.unshift(e[o]);r=a+e.length,n=e.length}else t.virtual.slides.unshift(e);t.params.virtual.cache&&(i=t.virtual.cache,s={},Object.keys(i).forEach(function(e){var t=i[e],a=t.attr("data-swiper-slide-index");a&&t.attr("data-swiper-slide-index",parseInt(a,10)+1),s[parseInt(e,10)+n]=t}),t.virtual.cache=s),t.virtual.update(!0),t.slideTo(r,0)},removeSlide:function(e){var t=this;if(null!=e){var a=t.activeIndex;if(Array.isArray(e))for(var i=e.length-1;0<=i;--i)t.virtual.slides.splice(e[i],1),t.params.virtual.cache&&delete t.virtual.cache[e[i]],e[i]<a&&--a,a=Math.max(a,0);else t.virtual.slides.splice(e,1),t.params.virtual.cache&&delete t.virtual.cache[e],e<a&&--a,a=Math.max(a,0);t.virtual.update(!0),t.slideTo(a,0)}},removeAllSlides:function(){var e=this;e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),e.virtual.update(!0),e.slideTo(0,0)}},z={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){x(this,{virtual:t({},R,{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(e){var t;e.params.virtual.enabled&&(e.classNames.push(e.params.containerModifierClass+"virtual"),t={watchSlidesProgress:!0},K(e.params,t),K(e.originalParams,t),e.params.initialSlide||e.virtual.update())},setTranslate:function(e){e.params.virtual.enabled&&e.virtual.update()}}},Y={handle:function(e){var t=this,a=U(),i=b(),s=t.rtlTranslate,r=e,n=(r=r.originalEvent?r.originalEvent:r).keyCode||r.charCode,o=t.params.keyboard.pageUpDown,l=o&&33===n,d=o&&34===n,p=37===n,c=39===n,e=38===n,o=40===n;if(!t.allowSlideNext&&(t.isHorizontal()&&c||t.isVertical()&&o||d))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&e||l))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||i.activeElement&&i.activeElement.nodeName&&("input"===i.activeElement.nodeName.toLowerCase()||"textarea"===i.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(l||d||p||c||e||o)){var u=!1;if(0<t.$el.parents("."+t.params.slideClass).length&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var h=a.innerWidth,m=a.innerHeight,a=t.$el.offset();s&&(a.left-=t.$el[0].scrollLeft);for(var f=[[a.left,a.top],[a.left+t.width,a.top],[a.left,a.top+t.height],[a.left+t.width,a.top+t.height]],v=0;v<f.length;v+=1){var g=f[v];0<=g[0]&&g[0]<=h&&0<=g[1]&&g[1]<=m&&(0===g[0]&&0===g[1]||(u=!0))}if(!u)return}t.isHorizontal()?((l||d||p||c)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),((d||c)&&!s||(l||p)&&s)&&t.slideNext(),((l||p)&&!s||(d||c)&&s)&&t.slidePrev()):((l||d||e||o)&&(r.preventDefault?r.preventDefault():r.returnValue=!1),(d||o)&&t.slideNext(),(l||e)&&t.slidePrev()),t.emit("keyPress",n)}},enable:function(){var e=b();this.keyboard.enabled||(C(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){var e=b();this.keyboard.enabled&&(C(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},k={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){x(this,{keyboard:t({enabled:!1},Y)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},V={lastScrollTime:M(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return-1<U().navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":(t=b(),(i=(a="onwheel")in t)||((e=t.createElement("div")).setAttribute(a,"return;"),i="function"==typeof e.onwheel),(i=!i&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")?t.implementation.hasFeature("Events.wheel","3.0"):i)?"wheel":"mousewheel");var e,t,a,i},normalize:function(e){var t=0,a=0,i=0,s=0;return"detail"in e&&(a=e.detail),"wheelDelta"in e&&(a=-e.wheelDelta/120),"wheelDeltaY"in e&&(a=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=a,a=0),i=10*t,s=10*a,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=s,s=0),(i||s)&&e.deltaMode&&(1===e.deltaMode?(i*=40,s*=40):(i*=800,s*=800)),{spinX:t=i&&!t?i<1?-1:1:t,spinY:a=s&&!a?s<1?-1:1:a,pixelX:i,pixelY:s}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,a=this,i=a.params.mousewheel;a.params.cssMode&&t.preventDefault();var s=a.$el;if("container"!==a.params.mousewheel.eventsTarget&&(s=C(a.params.mousewheel.eventsTarget)),!a.mouseEntered&&!s[0].contains(t.target)&&!i.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,n=a.rtlTranslate?-1:1,s=V.normalize(t);if(i.forceToAxis)if(a.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;r=-s.pixelX*n}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;r=-s.pixelY}else r=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*n:-s.pixelY;if(0===r)return!0;i.invert&&(r=-r);n=a.getTranslate()+r*i.sensitivity;if((n=n>=a.minTranslate()?a.minTranslate():n)<=a.maxTranslate()&&(n=a.maxTranslate()),(a.params.loop||n!==a.minTranslate()&&n!==a.maxTranslate())&&a.params.nested&&t.stopPropagation(),a.params.freeMode){var o={time:M(),delta:Math.abs(r),direction:Math.sign(r)},s=a.mousewheel.lastEventBeforeSnap,n=s&&o.time<s.time+500&&o.delta<=s.delta&&o.direction===s.direction;if(!n){a.mousewheel.lastEventBeforeSnap=void 0,a.params.loop&&a.loopFix();var l,d,p=a.getTranslate()+r*i.sensitivity,s=a.isBeginning,i=a.isEnd;if((p=p>=a.minTranslate()?a.minTranslate():p)<=a.maxTranslate()&&(p=a.maxTranslate()),a.setTransition(0),a.setTranslate(p),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!s&&a.isBeginning||!i&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=void 0,15<=(l=a.mousewheel.recentWheelEvents).length&&l.shift(),s=l.length?l[l.length-1]:void 0,i=l[0],l.push(o),s&&(o.delta>s.delta||o.direction!==s.direction)?l.splice(0):15<=l.length&&o.time-i.time<500&&1<=i.delta-o.delta&&o.delta<=6&&(d=0<r?.8:.2,a.mousewheel.lastEventBeforeSnap=o,l.splice(0),a.mousewheel.timeout=S(function(){a.slideToClosest(a.params.speed,!0,void 0,d)},0)),a.mousewheel.timeout||(a.mousewheel.timeout=S(function(){a.mousewheel.lastEventBeforeSnap=o,l.splice(0),a.slideToClosest(a.params.speed,!0,void 0,.5)},500))),n||a.emit("scroll",t),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),p===a.minTranslate()||p===a.maxTranslate())return!0}}else{p={time:M(),delta:Math.abs(r),direction:Math.sign(r),raw:e},r=a.mousewheel.recentWheelEvents;2<=r.length&&r.shift();e=r.length?r[r.length-1]:void 0;if(r.push(p),(!e||p.direction!==e.direction||p.delta>e.delta||p.time>e.time+150)&&a.mousewheel.animateSlider(p),a.mousewheel.releaseScroll(p))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this,a=U();return!(this.params.mousewheel.thresholdDelta&&e.delta<this.params.mousewheel.thresholdDelta||this.params.mousewheel.thresholdTime&&M()-t.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime||!(6<=e.delta&&M()-t.mousewheel.lastScrollTime<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new a.Date).getTime(),1))},releaseScroll:function(e){var t=this,a=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&a.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&a.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=V.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var a=e.$el;return(a="container"!==e.params.mousewheel.eventsTarget?C(e.params.mousewheel.eventsTarget):a).on("mouseenter",e.mousewheel.handleMouseEnter),a.on("mouseleave",e.mousewheel.handleMouseLeave),a.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0},disable:function(){var e=this,t=V.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var a=e.$el;return(a="container"!==e.params.mousewheel.eventsTarget?C(e.params.mousewheel.eventsTarget):a).off(t,e.mousewheel.handle),!(e.mousewheel.enabled=!1)}},W={update:function(){var e,t,a=this,i=a.params.navigation;a.params.loop||(e=(t=a.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(a.isBeginning?t.addClass(i.disabledClass):t.removeClass(i.disabledClass),t[a.params.watchOverflow&&a.isLocked?"addClass":"removeClass"](i.lockClass)),e&&0<e.length&&(a.isEnd?e.addClass(i.disabledClass):e.removeClass(i.disabledClass),e[a.params.watchOverflow&&a.isLocked?"addClass":"removeClass"](i.lockClass)))},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,a=this,i=a.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=C(i.nextEl),a.params.uniqueNavElements&&"string"==typeof i.nextEl&&1<e.length&&1===a.$el.find(i.nextEl).length&&(e=a.$el.find(i.nextEl))),i.prevEl&&(t=C(i.prevEl),a.params.uniqueNavElements&&"string"==typeof i.prevEl&&1<t.length&&1===a.$el.find(i.prevEl).length&&(t=a.$el.find(i.prevEl))),e&&0<e.length&&e.on("click",a.navigation.onNextClick),t&&0<t.length&&t.on("click",a.navigation.onPrevClick),K(a.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,a=t.$nextEl,t=t.$prevEl;a&&a.length&&(a.off("click",e.navigation.onNextClick),a.removeClass(e.params.navigation.disabledClass)),t&&t.length&&(t.off("click",e.navigation.onPrevClick),t.removeClass(e.params.navigation.disabledClass))}},F={update:function(){var e=this,t=e.rtl,a=e.params.pagination;if(a.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i,s=(e.virtual&&e.params.virtual.enabled?e.virtual:e).slides.length,r=e.pagination.$el,n=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((i=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>s-1-2*e.loopedSlides&&(i-=s-2*e.loopedSlides),n-1<i&&(i-=n),i<0&&"bullets"!==e.params.paginationType&&(i=n+i)):i=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===a.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var o,l,d,p,c,u=e.pagination.bullets;if(a.dynamicBullets&&(e.pagination.bulletSize=u.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(a.dynamicMainBullets+4)+"px"),1<a.dynamicMainBullets&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=i-e.previousIndex,e.pagination.dynamicBulletIndex>a.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=a.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=i-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(u.length,a.dynamicMainBullets)-1))+o)/2),u.removeClass(a.bulletActiveClass+" "+a.bulletActiveClass+"-next "+a.bulletActiveClass+"-next-next "+a.bulletActiveClass+"-prev "+a.bulletActiveClass+"-prev-prev "+a.bulletActiveClass+"-main"),1<r.length)u.each(function(e){var t=C(e),e=t.index();e===i&&t.addClass(a.bulletActiveClass),a.dynamicBullets&&(o<=e&&e<=l&&t.addClass(a.bulletActiveClass+"-main"),e===o&&t.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),e===l&&t.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next"))});else{var h=u.eq(i),m=h.index();if(h.addClass(a.bulletActiveClass),a.dynamicBullets){for(var s=u.eq(o),h=u.eq(l),f=o;f<=l;f+=1)u.eq(f).addClass(a.bulletActiveClass+"-main");if(e.params.loop)if(m>=u.length-a.dynamicMainBullets){for(var v=a.dynamicMainBullets;0<=v;--v)u.eq(u.length-v).addClass(a.bulletActiveClass+"-main");u.eq(u.length-a.dynamicMainBullets-1).addClass(a.bulletActiveClass+"-prev")}else s.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),h.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next");else s.prev().addClass(a.bulletActiveClass+"-prev").prev().addClass(a.bulletActiveClass+"-prev-prev"),h.next().addClass(a.bulletActiveClass+"-next").next().addClass(a.bulletActiveClass+"-next-next")}}a.dynamicBullets&&(c=Math.min(u.length,a.dynamicMainBullets+4),p=(e.pagination.bulletSize*c-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,c=t?"right":"left",u.css(e.isHorizontal()?c:"top",p+"px"))}"fraction"===a.type&&(r.find("."+a.currentClass).text(a.formatFractionCurrent(i+1)),r.find("."+a.totalClass).text(a.formatFractionTotal(n))),"progressbar"===a.type&&(d=a.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical",t=(i+1)/n,p=c=1,"horizontal"==d?c=t:p=t,r.find("."+a.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+c+") scaleY("+p+")").transition(e.params.speed)),"custom"===a.type&&a.renderCustom?(r.html(a.renderCustom(e,i+1,n)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](a.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var a=(e.virtual&&e.params.virtual.enabled?e.virtual:e).slides.length,i=e.pagination.$el,s="";if("bullets"===t.type){var r=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&a<r&&(r=a);for(var n=0;n<r;n+=1)t.renderBullet?s+=t.renderBullet.call(e,n,t.bulletClass):s+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";i.html(s),e.pagination.bullets=i.find("."+t.bulletClass.replace(/ /g,"."))}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',i.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',i.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e,t=this,a=t.params.pagination;!a.el||0!==(e=C(a.el)).length&&(t.params.uniqueNavElements&&"string"==typeof a.el&&1<e.length&&(e=t.$el.find(a.el)),"bullets"===a.type&&a.clickable&&e.addClass(a.clickableClass),e.addClass(a.modifierClass+a.type),"bullets"===a.type&&a.dynamicBullets&&(e.addClass(""+a.modifierClass+a.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,a.dynamicMainBullets<1&&(a.dynamicMainBullets=1)),"progressbar"===a.type&&a.progressbarOpposite&&e.addClass(a.progressbarOppositeClass),a.clickable&&e.on("click","."+a.bulletClass.replace(/ /g,"."),function(e){e.preventDefault();e=C(this).index()*t.params.slidesPerGroup;t.params.loop&&(e+=t.loopedSlides),t.slideTo(e)}),K(t.pagination,{$el:e,el:e[0]}))},destroy:function(){var e,t=this,a=t.params.pagination;a.el&&t.pagination.el&&t.pagination.$el&&0!==t.pagination.$el.length&&((e=t.pagination.$el).removeClass(a.hiddenClass),e.removeClass(a.modifierClass+a.type),t.pagination.bullets&&t.pagination.bullets.removeClass(a.bulletActiveClass),a.clickable&&e.off("click","."+a.bulletClass.replace(/ /g,".")))}},q={setTranslate:function(){var e,t,a,i,s,r,n,o,l=this;l.params.scrollbar.el&&l.scrollbar.el&&(n=l.scrollbar,e=l.rtlTranslate,o=l.progress,t=n.dragSize,a=n.trackSize,i=n.$dragEl,s=n.$el,r=l.params.scrollbar,o=(a-(n=t))*o,e?0<(o=-o)?(n=t-o,o=0):a<-o+t&&(n=a+o):o<0?(n=t+o,o=0):a<o+t&&(n=a-o),l.isHorizontal()?(i.transform("translate3d("+o+"px, 0, 0)"),i[0].style.width=n+"px"):(i.transform("translate3d(0px, "+o+"px, 0)"),i[0].style.height=n+"px"),r.hide&&(clearTimeout(l.scrollbar.timeout),s[0].style.opacity=1,l.scrollbar.timeout=setTimeout(function(){s[0].style.opacity=0,s.transition(400)},1e3)))},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e,t,a,i,s,r,n,o=this;o.params.scrollbar.el&&o.scrollbar.el&&(t=(e=o.scrollbar).$dragEl,a=e.$el,t[0].style.width="",t[0].style.height="",i=o.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,r=(s=o.size/o.virtualSize)*(i/o.size),n="auto"===o.params.scrollbar.dragSize?i*s:parseInt(o.params.scrollbar.dragSize,10),o.isHorizontal()?t[0].style.width=n+"px":t[0].style.height=n+"px",a[0].style.display=1<=s?"none":"",o.params.scrollbar.hide&&(a[0].style.opacity=0),K(e,{trackSize:i,divider:s,moveDivider:r,dragSize:n}),e.$el[o.params.watchOverflow&&o.isLocked?"addClass":"removeClass"](o.params.scrollbar.lockClass))},getPointerPosition:function(e){return this.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY},setDragPosition:function(e){var t=this,a=t.scrollbar,i=t.rtlTranslate,s=a.$el,r=a.dragSize,n=a.trackSize,o=a.dragStartPos,r=(a.getPointerPosition(e)-s.offset()[t.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r);r=Math.max(Math.min(r,1),0),i&&(r=1-r);r=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(r),t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()},onDragStart:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el,n=i.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===n[0]||e.target===n?i.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),n.transition(100),i.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),a.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,a=this.$wrapperEl,i=t.$el,s=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),a.transition(0),i.transition(0),s.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,a=t.params.scrollbar,i=t.scrollbar,s=t.$wrapperEl,r=i.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),s.transition("")),a.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=S(function(){r.css("opacity",0),r.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),a.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e,t,a,i,s,r,n,o=this;o.params.scrollbar.el&&(e=b(),r=o.scrollbar,t=o.touchEventsTouch,a=o.touchEventsDesktop,n=o.params,i=o.support,s=r.$el[0],r=!(!i.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},n=!(!i.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1},s&&(i.touch?(s.addEventListener(t.start,o.scrollbar.onDragStart,r),s.addEventListener(t.move,o.scrollbar.onDragMove,r),s.addEventListener(t.end,o.scrollbar.onDragEnd,n)):(s.addEventListener(a.start,o.scrollbar.onDragStart,r),e.addEventListener(a.move,o.scrollbar.onDragMove,r),e.addEventListener(a.end,o.scrollbar.onDragEnd,n))))},disableDraggable:function(){var e,t,a,i,s,r,n,o=this;o.params.scrollbar.el&&(e=b(),r=o.scrollbar,t=o.touchEventsTouch,a=o.touchEventsDesktop,n=o.params,i=o.support,s=r.$el[0],r=!(!i.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},n=!(!i.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1},s&&(i.touch?(s.removeEventListener(t.start,o.scrollbar.onDragStart,r),s.removeEventListener(t.move,o.scrollbar.onDragMove,r),s.removeEventListener(t.end,o.scrollbar.onDragEnd,n)):(s.removeEventListener(a.start,o.scrollbar.onDragStart,r),e.removeEventListener(a.move,o.scrollbar.onDragMove,r),e.removeEventListener(a.end,o.scrollbar.onDragEnd,n))))},init:function(){var e,t,a,i,s=this;s.params.scrollbar.el&&(e=s.scrollbar,i=s.$el,a=C((t=s.params.scrollbar).el),0===(i=(a=s.params.uniqueNavElements&&"string"==typeof t.el&&1<a.length&&1===i.find(t.el).length?i.find(t.el):a).find("."+s.params.scrollbar.dragClass)).length&&(i=C('<div class="'+s.params.scrollbar.dragClass+'"></div>'),a.append(i)),K(e,{$el:a,el:a[0],$dragEl:i,dragEl:i[0]}),t.draggable&&e.enableDraggable())},destroy:function(){this.scrollbar.disableDraggable()}},j={setTransform:function(e,t){var a=this.rtl,i=C(e),s=a?-1:1,r=i.attr("data-swiper-parallax")||"0",n=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),e=i.attr("data-swiper-parallax-scale"),a=i.attr("data-swiper-parallax-opacity");n||o?(n=n||"0",o=o||"0"):this.isHorizontal()?(n=r,o="0"):(o=r,n="0"),n=0<=n.indexOf("%")?parseInt(n,10)*t*s+"%":n*t*s+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=a&&(a=a-(a-1)*(1-Math.abs(t)),i[0].style.opacity=a),null==e?i.transform("translate3d("+n+", "+o+", 0px)"):(t=e-(e-1)*(1-Math.abs(t)),i.transform("translate3d("+n+", "+o+", 0px) scale("+t+")"))},setTranslate:function(){var i=this,e=i.$el,t=i.slides,s=i.progress,r=i.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){i.parallax.setTransform(e,s)}),t.each(function(e,t){var a=e.progress;1<i.params.slidesPerGroup&&"auto"!==i.params.slidesPerView&&(a+=Math.ceil(t/2)-s*(r.length-1)),a=Math.min(Math.max(a,-1),1),C(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){i.parallax.setTransform(e,a)})})},setTransition:function(a){void 0===a&&(a=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(e){var t=C(e),e=parseInt(t.attr("data-swiper-parallax-duration"),10)||a;0===a&&(e=0),t.transition(e)})}},_={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,a=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(e-a,2))},onGestureStart:function(e){var t=this,a=t.support,i=t.params.zoom,s=t.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!a.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=_.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=C(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+i.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this.support,a=this.params.zoom,i=this.zoom,s=i.gesture;if(!t.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=_.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length?(t.gestures?i.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<a.minRatio&&(i.scale=a.minRatio+1-Math.pow(a.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")")):"gesturechange"===e.type&&i.onGestureStart(e)},onGestureEnd:function(e){var t=this,a=t.device,i=t.support,s=t.params.zoom,r=t.zoom,n=r.gesture;if(!i.gestures){if(!r.fakeGestureTouched||!r.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!a.android)return;r.fakeGestureTouched=!1,r.fakeGestureMoved=!1}n.$imageEl&&0!==n.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,n.maxRatio),s.minRatio),n.$imageEl.transition(t.params.speed).transform("translate3d(0,0,0) scale("+r.scale+")"),r.currentScale=r.scale,r.isScaling=!1,1===r.scale&&(n.$slideEl=void 0))},onTouchStart:function(e){var t=this.device,a=this.zoom,i=a.gesture,a=a.image;i.$imageEl&&0!==i.$imageEl.length&&(a.isTouched||(t.android&&e.cancelable&&e.preventDefault(),a.isTouched=!0,a.touchesStart.x=("touchstart"===e.type?e.targetTouches[0]:e).pageX,a.touchesStart.y=("touchstart"===e.type?e.targetTouches[0]:e).pageY))},onTouchMove:function(e){var t=this,a=t.zoom,i=a.gesture,s=a.image,r=a.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(t.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=g(i.$imageWrapEl[0],"x")||0,s.startY=g(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),t.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var n=s.width*a.scale,o=s.height*a.scale;if(!(n<i.slideWidth&&o<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-o/2,0),s.maxY=-s.minY,s.touchesCurrent.x=("touchmove"===e.type?e.targetTouches[0]:e).pageX,s.touchesCurrent.y=("touchmove"===e.type?e.targetTouches[0]:e).pageY,!s.isMoved&&!a.isScaling){if(t.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=s.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=s.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(s.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(s.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(s.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(s.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=s.touchesCurrent.x,r.prevPositionY=s.touchesCurrent.y,r.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!a.isTouched||!a.isMoved)return a.isTouched=!1,void(a.isMoved=!1);a.isTouched=!1,a.isMoved=!1;var s=300,r=300,n=i.x*s,o=a.currentX+n,n=i.y*r,n=a.currentY+n;0!==i.x&&(s=Math.abs((o-a.currentX)/i.x)),0!==i.y&&(r=Math.abs((n-a.currentY)/i.y));r=Math.max(s,r);a.currentX=o,a.currentY=n;n=a.width*e.scale,e=a.height*e.scale;a.minX=Math.min(t.slideWidth/2-n/2,0),a.maxX=-a.minX,a.minY=Math.min(t.slideHeight/2-e/2,0),a.maxY=-a.minY,a.currentX=Math.max(Math.min(a.currentX,a.maxX),a.minX),a.currentY=Math.max(Math.min(a.currentY,a.maxY),a.minY),t.$imageWrapEl.transition(r).transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl&&t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl&&t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s=this,r=U(),n=s.zoom,o=s.params.zoom,l=n.gesture,d=n.image;l.$slideEl||(s.params.virtual&&s.params.virtual.enabled&&s.virtual?l.$slideEl=s.$wrapperEl.children("."+s.params.slideActiveClass):l.$slideEl=s.slides.eq(s.activeIndex),l.$imageEl=l.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),l.$imageWrapEl=l.$imageEl.parent("."+o.containerClass)),l.$imageEl&&0!==l.$imageEl.length&&(l.$slideEl.addClass(""+o.zoomedSlideClass),d=void 0===d.touchesStart.x&&e?(t=("touchend"===e.type?e.changedTouches[0]:e).pageX,("touchend"===e.type?e.changedTouches[0]:e).pageY):(t=d.touchesStart.x,d.touchesStart.y),n.scale=l.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,n.currentScale=l.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,e?(o=l.$slideEl[0].offsetWidth,e=l.$slideEl[0].offsetHeight,a=l.$slideEl.offset().left+r.scrollX+o/2-t,i=l.$slideEl.offset().top+r.scrollY+e/2-d,r=l.$imageEl[0].offsetWidth,d=l.$imageEl[0].offsetHeight,r=r*n.scale,d=d*n.scale,r=-(o=Math.min(o/2-r/2,0)),d=-(e=Math.min(e/2-d/2,0)),r<(a=(a=a*n.scale)<o?o:a)&&(a=r),d<(i=(i=i*n.scale)<e?e:i)&&(i=d)):i=a=0,l.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+i+"px,0)"),l.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+n.scale+")"))},out:function(){var e=this,t=e.zoom,a=e.params.zoom,i=t.gesture;i.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?i.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):i.$slideEl=e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),i.$imageWrapEl=i.$imageEl.parent("."+a.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(t.scale=1,t.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+a.zoomedSlideClass),i.$slideEl=void 0)},toggleGestures:function(e){var t=this.zoom,a=t.slideSelector,i=t.passiveListener;this.$wrapperEl[e]("gesturestart",a,t.onGestureStart,i),this.$wrapperEl[e]("gesturechange",a,t.onGestureChange,i),this.$wrapperEl[e]("gestureend",a,t.onGestureEnd,i)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e,t,a,i=this,s=i.support,r=i.zoom;r.enabled||(r.enabled=!0,e=!("touchstart"!==i.touchEvents.start||!s.passiveListener||!i.params.passiveListeners)&&{passive:!0,capture:!1},t=!s.passiveListener||{passive:!1,capture:!0},a="."+i.params.slideClass,i.zoom.passiveListener=e,i.zoom.slideSelector=a,s.gestures?(i.$wrapperEl.on(i.touchEvents.start,i.zoom.enableGestures,e),i.$wrapperEl.on(i.touchEvents.end,i.zoom.disableGestures,e)):"touchstart"===i.touchEvents.start&&(i.$wrapperEl.on(i.touchEvents.start,a,r.onGestureStart,e),i.$wrapperEl.on(i.touchEvents.move,a,r.onGestureChange,t),i.$wrapperEl.on(i.touchEvents.end,a,r.onGestureEnd,e),i.touchEvents.cancel&&i.$wrapperEl.on(i.touchEvents.cancel,a,r.onGestureEnd,e)),i.$wrapperEl.on(i.touchEvents.move,"."+i.params.zoom.containerClass,r.onTouchMove,t))},disable:function(){var e,t,a,i,s=this,r=s.zoom;r.enabled&&(e=s.support,s.zoom.enabled=!1,t=!("touchstart"!==s.touchEvents.start||!e.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1},a=!e.passiveListener||{passive:!1,capture:!0},i="."+s.params.slideClass,e.gestures?(s.$wrapperEl.off(s.touchEvents.start,s.zoom.enableGestures,t),s.$wrapperEl.off(s.touchEvents.end,s.zoom.disableGestures,t)):"touchstart"===s.touchEvents.start&&(s.$wrapperEl.off(s.touchEvents.start,i,r.onGestureStart,t),s.$wrapperEl.off(s.touchEvents.move,i,r.onGestureChange,a),s.$wrapperEl.off(s.touchEvents.end,i,r.onGestureEnd,t),s.touchEvents.cancel&&s.$wrapperEl.off(s.touchEvents.cancel,i,r.onGestureEnd,t)),s.$wrapperEl.off(s.touchEvents.move,"."+s.params.zoom.containerClass,r.onTouchMove,a))}},Z={loadInSlide:function(e,l){void 0===l&&(l=!0);var d,p=this,c=p.params.lazy;void 0!==e&&0!==p.slides.length&&(e=(d=p.virtual&&p.params.virtual.enabled?p.$wrapperEl.children("."+p.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):p.slides.eq(e)).find("."+c.elementClass+":not(."+c.loadedClass+"):not(."+c.loadingClass+")"),!d.hasClass(c.elementClass)||d.hasClass(c.loadedClass)||d.hasClass(c.loadingClass)||e.push(d[0]),0!==e.length&&e.each(function(e){var a=C(e);a.addClass(c.loadingClass);var i=a.attr("data-background"),s=a.attr("data-src"),r=a.attr("data-srcset"),n=a.attr("data-sizes"),o=a.parent("picture");p.loadImage(a[0],s||i,r,n,!1,function(){var e,t;null==p||!p||p&&!p.params||p.destroyed||(i?(a.css("background-image",'url("'+i+'")'),a.removeAttr("data-background")):(r&&(a.attr("srcset",r),a.removeAttr("data-srcset")),n&&(a.attr("sizes",n),a.removeAttr("data-sizes")),o.length&&o.children("source").each(function(e){e=C(e);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))}),s&&(a.attr("src",s),a.removeAttr("data-src"))),a.addClass(c.loadedClass).removeClass(c.loadingClass),d.find("."+c.preloaderClass).remove(),p.params.loop&&l&&(t=d.attr("data-swiper-slide-index"),d.hasClass(p.params.slideDuplicateClass)?(e=p.$wrapperEl.children('[data-swiper-slide-index="'+t+'"]:not(.'+p.params.slideDuplicateClass+")"),p.lazy.loadInSlide(e.index(),!1)):(t=p.$wrapperEl.children("."+p.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]'),p.lazy.loadInSlide(t.index(),!1))),p.emit("lazyImageReady",d[0],a[0]),p.params.autoHeight&&p.updateAutoHeight())}),p.emit("lazyImageLoad",d[0],a[0])}))},load:function(){var t=this,a=t.$wrapperEl,i=t.params,s=t.slides,e=t.activeIndex,r=t.virtual&&i.virtual.enabled,n=i.lazy,o=i.slidesPerView;function l(e){if(r){if(a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return 1}else if(s[e])return 1}function d(e){return r?C(e).attr("data-swiper-slide-index"):C(e).index()}if("auto"===o&&(o=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)a.children("."+i.slideVisibleClass).each(function(e){e=r?C(e).attr("data-swiper-slide-index"):C(e).index();t.lazy.loadInSlide(e)});else if(1<o)for(var p=e;p<e+o;p+=1)l(p)&&t.lazy.loadInSlide(p);else t.lazy.loadInSlide(e);if(n.loadPrevNext)if(1<o||n.loadPrevNextAmount&&1<n.loadPrevNextAmount){for(var c=n.loadPrevNextAmount,n=o,u=Math.min(e+n+Math.max(c,n),s.length),c=Math.max(e-Math.max(n,c),0),h=e+o;h<u;h+=1)l(h)&&t.lazy.loadInSlide(h);for(var m=c;m<e;m+=1)l(m)&&t.lazy.loadInSlide(m)}else{c=a.children("."+i.slideNextClass);0<c.length&&t.lazy.loadInSlide(d(c));c=a.children("."+i.slidePrevClass);0<c.length&&t.lazy.loadInSlide(d(c))}},checkInViewOnLoad:function(){var e=U(),t=this;if(t&&!t.destroyed){var a=t.params.lazy.scrollingElement?C(t.params.lazy.scrollingElement):C(e),i=a[0]===e,s=i?e.innerWidth:a[0].offsetWidth,r=i?e.innerHeight:a[0].offsetHeight,e=t.$el.offset(),n=!1;t.rtlTranslate&&(e.left-=t.$el[0].scrollLeft);for(var o=[[e.left,e.top],[e.left+t.width,e.top],[e.left,e.top+t.height],[e.left+t.width,e.top+t.height]],l=0;l<o.length;l+=1){var d=o[l];0<=d[0]&&d[0]<=s&&0<=d[1]&&d[1]<=r&&(0===d[0]&&0===d[1]||(n=!0))}n?(t.lazy.load(),a.off("scroll",t.lazy.checkInViewOnLoad)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,a.on("scroll",t.lazy.checkInViewOnLoad))}}},J={LinearSpline:function(e,t){var a,i,s,r,n;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=function(e,t){for(i=-1,a=e.length;1<a-i;)e[s=a+i>>1]<=t?i=s:a=s;return a}(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new J.LinearSpline(t.slidesGrid,e.slidesGrid):new J.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var a,i,s=this,r=s.controller.control,n=s.constructor;function o(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),i=(t-s.minTranslate())*a+e.minTranslate()),s.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var l=0;l<r.length;l+=1)r[l]!==t&&r[l]instanceof n&&o(r[l]);else r instanceof n&&t!==r&&o(r)},setTransition:function(t,e){var a,i=this,s=i.constructor,r=i.controller.control;function n(e){e.setTransition(t,i),0!==t&&(e.transitionStart(),e.params.autoHeight&&S(function(){e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(function(){r&&(e.params.loop&&"slide"===i.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(r))for(a=0;a<r.length;a+=1)r[a]!==e&&r[a]instanceof s&&n(r[a]);else r instanceof s&&e!==r&&n(r)}},Q={getRandomNumber:function(e){return"x".repeat(e=void 0===e?16:e).replace(/x/g,function(){return Math.round(16*Math.random()).toString(16)})},makeElFocusable:function(e){return e.attr("tabIndex","0"),e},makeElNotFocusable:function(e){return e.attr("tabIndex","-1"),e},addElRole:function(e,t){return e.attr("role",t),e},addElRoleDescription:function(e,t){return e.attr("aria-role-description",t),e},addElControls:function(e,t){return e.attr("aria-controls",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},addElId:function(e,t){return e.attr("id",t),e},addElLive:function(e,t){return e.attr("aria-live",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterOrSpaceKey:function(e){var t,a;13!==e.keyCode&&32!==e.keyCode||(a=(t=this).params.a11y,e=C(e.target),t.navigation&&t.navigation.$nextEl&&e.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(a.lastSlideMessage):t.a11y.notify(a.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&e.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(a.firstSlideMessage):t.a11y.notify(a.prevSlideMessage)),t.pagination&&e.is("."+t.params.pagination.bulletClass.replace(/ /g,"."))&&e[0].click())},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e,t,a=this;!a.params.loop&&a.navigation&&(e=(t=a.navigation).$nextEl,(t=t.$prevEl)&&0<t.length&&(a.isBeginning?(a.a11y.disableEl(t),a.a11y.makeElNotFocusable(t)):(a.a11y.enableEl(t),a.a11y.makeElFocusable(t))),e&&0<e.length&&(a.isEnd?(a.a11y.disableEl(e),a.a11y.makeElNotFocusable(e)):(a.a11y.enableEl(e),a.a11y.makeElFocusable(e))))},updatePagination:function(){var t=this,a=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each(function(e){e=C(e);t.a11y.makeElFocusable(e),t.params.pagination.renderBullet||(t.a11y.addElRole(e,"button"),t.a11y.addElLabel(e,a.paginationBulletMessage.replace(/\{\{index\}\}/,e.index()+1)))})},init:function(){var t=this,e=t.params.a11y;t.$el.append(t.a11y.liveRegion);var a=t.$el;e.containerRoleDescriptionMessage&&t.a11y.addElRoleDescription(a,e.containerRoleDescriptionMessage),e.containerMessage&&t.a11y.addElLabel(a,e.containerMessage);var i,s,r=t.$wrapperEl,n=r.attr("id")||"swiper-wrapper-"+t.a11y.getRandomNumber(16);t.a11y.addElId(r,n),a=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite",t.a11y.addElLive(r,a),e.itemRoleDescriptionMessage&&t.a11y.addElRoleDescription(C(t.slides),e.itemRoleDescriptionMessage),t.a11y.addElRole(C(t.slides),"group"),t.slides.each(function(e){e=C(e);t.a11y.addElLabel(e,e.index()+1+" / "+t.slides.length)}),t.navigation&&t.navigation.$nextEl&&(i=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(s=t.navigation.$prevEl),i&&i.length&&(t.a11y.makeElFocusable(i),"BUTTON"!==i[0].tagName&&(t.a11y.addElRole(i,"button"),i.on("keydown",t.a11y.onEnterOrSpaceKey)),t.a11y.addElLabel(i,e.nextSlideMessage),t.a11y.addElControls(i,n)),s&&s.length&&(t.a11y.makeElFocusable(s),"BUTTON"!==s[0].tagName&&(t.a11y.addElRole(s,"button"),s.on("keydown",t.a11y.onEnterOrSpaceKey)),t.a11y.addElLabel(s,e.prevSlideMessage),t.a11y.addElControls(s,n)),t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.$el.on("keydown","."+t.params.pagination.bulletClass.replace(/ /g,"."),t.a11y.onEnterOrSpaceKey)},destroy:function(){var e,t,a=this;a.a11y.liveRegion&&0<a.a11y.liveRegion.length&&a.a11y.liveRegion.remove(),a.navigation&&a.navigation.$nextEl&&(e=a.navigation.$nextEl),a.navigation&&a.navigation.$prevEl&&(t=a.navigation.$prevEl),e&&e.off("keydown",a.a11y.onEnterOrSpaceKey),t&&t.off("keydown",a.a11y.onEnterOrSpaceKey),a.pagination&&a.params.pagination.clickable&&a.pagination.bullets&&a.pagination.bullets.length&&a.pagination.$el.off("keydown","."+a.params.pagination.bulletClass.replace(/ /g,"."),a.a11y.onEnterOrSpaceKey)}},ee={init:function(){var e=this,t=U();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var a=e.history;a.initialized=!0,a.paths=ee.getPathValues(e.params.url),(a.paths.key||a.paths.value)&&(a.scrollToSlide(0,a.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=U();this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=ee.getPathValues(e.params.url),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(e){var t=U(),e=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){var a,i=this,s=U();i.history.initialized&&i.params.history.enabled&&(a=i.params.url?new URL(i.params.url):s.location,t=i.slides.eq(t),t=ee.slugify(t.attr("data-history")),a.pathname.includes(e)||(t=e+"/"+t),(e=s.history.state)&&e.value===t||(i.params.history.replaceState?s.history.replaceState({value:t},null,t):s.history.pushState({value:t},null,t)))},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,a){var i=this;if(t)for(var s=0,r=i.slides.length;s<r;s+=1){var n=i.slides.eq(s);ee.slugify(n.attr("data-history"))!==t||n.hasClass(i.params.slideDuplicateClass)||(n=n.index(),i.slideTo(n,e,a))}else i.slideTo(0,e,a)}},te={onHashCange:function(){var e=this,t=b();e.emit("hashChange");t=t.location.hash.replace("#","");t===e.slides.eq(e.activeIndex).attr("data-hash")||void 0!==(t=e.$wrapperEl.children("."+e.params.slideClass+'[data-hash="'+t+'"]').index())&&e.slideTo(t)},setHash:function(){var e=this,t=U(),a=b();e.hashNavigation.initialized&&e.params.hashNavigation.enabled&&(e.params.hashNavigation.replaceState&&t.history&&t.history.replaceState?t.history.replaceState(null,null,"#"+e.slides.eq(e.activeIndex).attr("data-hash")||""):(t=(t=e.slides.eq(e.activeIndex)).attr("data-hash")||t.attr("data-history"),a.location.hash=t||""),e.emit("hashSet"))},init:function(){var e=this,t=b(),a=U();if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var i=t.location.hash.replace("#","");if(i)for(var s=0,r=e.slides.length;s<r;s+=1){var n=e.slides.eq(s);(n.attr("data-hash")||n.attr("data-history"))!==i||n.hasClass(e.params.slideDuplicateClass)||(n=n.index(),e.slideTo(n,0,e.params.runCallbacksOnInit,!0))}e.params.hashNavigation.watchState&&C(a).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){var e=U();this.params.hashNavigation.watchState&&C(e).off("hashchange",this.hashNavigation.onHashCange)}},ae={run:function(){var t=this,e=t.slides.eq(t.activeIndex),a=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(a=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=S(function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),(t.params.cssMode&&t.autoplay.running||!1===e)&&t.autoplay.run()},a)},start:function(){var e=this;return void 0===e.autoplay.timeout&&!e.autoplay.running&&(e.autoplay.running=!0,e.emit("autoplayStart"),e.autoplay.run(),!0)},stop:function(){var e=this;return!!e.autoplay.running&&void 0!==e.autoplay.timeout&&(e.autoplay.timeout&&(clearTimeout(e.autoplay.timeout),e.autoplay.timeout=void 0),e.autoplay.running=!1,e.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0!==e&&t.params.autoplay.waitForTransition?(t.$wrapperEl[0].addEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].addEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd)):(t.autoplay.paused=!1,t.autoplay.run())))},onVisibilityChange:function(){var e=this,t=b();"hidden"===t.visibilityState&&e.autoplay.running&&e.autoplay.pause(),"visible"===t.visibilityState&&e.autoplay.paused&&(e.autoplay.run(),e.autoplay.paused=!1)},onTransitionEnd:function(e){var t=this;t&&!t.destroyed&&t.$wrapperEl&&e.target===t.$wrapperEl[0]&&(t.$wrapperEl[0].removeEventListener("transitionend",t.autoplay.onTransitionEnd),t.$wrapperEl[0].removeEventListener("webkitTransitionEnd",t.autoplay.onTransitionEnd),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}},ie={setTranslate:function(){for(var e=this,t=e.slides,a=0;a<t.length;a+=1){var i=e.slides.eq(a),s=-i[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);var r=0;e.isHorizontal()||(r=s,s=0);var n=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var a,i=this,t=i.slides,s=i.$wrapperEl;t.transition(e),i.params.virtualTranslate&&0!==e&&(a=!1,t.transitionEnd(function(){if(!a&&i&&!i.destroyed){a=!0,i.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}}))}},se={setTranslate:function(){var e,t=this,a=t.$el,i=t.$wrapperEl,s=t.slides,r=t.width,n=t.height,o=t.rtlTranslate,l=t.size,d=t.browser,p=t.params.cubeEffect,c=t.isHorizontal(),u=t.virtual&&t.params.virtual.enabled,h=0;p.shadow&&(c?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=C('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=C('<div class="swiper-cube-shadow"></div>'),a.append(e)));for(var m,f=0;f<s.length;f+=1){var v=s.eq(f),g=f,b=90*(g=u?parseInt(v.attr("data-swiper-slide-index"),10):g),w=Math.floor(b/360);o&&(b=-b,w=Math.floor(-b/360));var y=Math.max(Math.min(v[0].progress,1),-1),E=0,x=0,T=0;g%4==0?(E=4*-w*l,T=0):(g-1)%4==0?(E=0,T=4*-w*l):(g-2)%4==0?(E=l+4*w*l,T=l):(g-3)%4==0&&(E=-l,T=3*l+4*l*w),o&&(E=-E),c||(x=E,E=0);T="rotateX("+(c?0:-b)+"deg) rotateY("+(c?b:0)+"deg) translate3d("+E+"px, "+x+"px, "+T+"px)";y<=1&&-1<y&&(h=o?90*-g-90*y:90*g+90*y),v.transform(T),p.slideShadows&&(g=c?v.find(".swiper-slide-shadow-left"):v.find(".swiper-slide-shadow-top"),T=c?v.find(".swiper-slide-shadow-right"):v.find(".swiper-slide-shadow-bottom"),0===g.length&&(g=C('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),v.append(g)),0===T.length&&(T=C('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),v.append(T)),g.length&&(g[0].style.opacity=Math.max(-y,0)),T.length&&(T[0].style.opacity=Math.max(y,0)))}i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),p.shadow&&(c?e.transform("translate3d(0px, "+(r/2+p.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+p.shadowScale+")"):(m=Math.abs(h)-90*Math.floor(Math.abs(h)/90),a=1.5-(Math.sin(2*m*Math.PI/360)/2+Math.cos(2*m*Math.PI/360)/2),r=p.shadowScale,m=p.shadowScale/a,a=p.shadowOffset,e.transform("scale3d("+r+", 1, "+m+") translate3d(0px, "+(n/2+a)+"px, "+-n/2/m+"px) rotateX(-90deg)")));d=d.isSafari||d.isWebView?-l/2:0;i.transform("translate3d(0px,0,"+d+"px) rotateX("+(t.isHorizontal()?0:h)+"deg) rotateY("+(t.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},re={setTranslate:function(){for(var e=this,t=e.slides,a=e.rtlTranslate,i=0;i<t.length;i+=1){var s,r,n=t.eq(i),o=n[0].progress,l=-180*(o=e.params.flipEffect.limitRotation?Math.max(Math.min(n[0].progress,1),-1):o),d=0,p=-n[0].swiperSlideOffset,c=0;e.isHorizontal()?a&&(l=-l):(c=p,d=-l,l=p=0),n[0].style.zIndex=-Math.abs(Math.round(o))+t.length,e.params.flipEffect.slideShadows&&(s=e.isHorizontal()?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),r=e.isHorizontal()?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom"),0===s.length&&(s=C('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"left":"top")+'"></div>'),n.append(s)),0===r.length&&(r=C('<div class="swiper-slide-shadow-'+(e.isHorizontal()?"right":"bottom")+'"></div>'),n.append(r)),s.length&&(s[0].style.opacity=Math.max(-o,0)),r.length&&(r[0].style.opacity=Math.max(o,0))),n.transform("translate3d("+p+"px, "+c+"px, 0px) rotateX("+d+"deg) rotateY("+l+"deg)")}},setTransition:function(e){var a,i=this,t=i.slides,s=i.activeIndex,r=i.$wrapperEl;t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),i.params.virtualTranslate&&0!==e&&(a=!1,t.eq(s).transitionEnd(function(){if(!a&&i&&!i.destroyed){a=!0,i.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)r.trigger(e[t])}}))}},ne={setTranslate:function(){for(var e=this,t=e.width,a=e.height,i=e.slides,s=e.slidesSizesGrid,r=e.params.coverflowEffect,n=e.isHorizontal(),e=e.translate,o=n?t/2-e:a/2-e,l=n?r.rotate:-r.rotate,d=r.depth,p=0,c=i.length;p<c;p+=1){var u=i.eq(p),h=s[p],m=(o-u[0].swiperSlideOffset-h/2)/h*r.modifier,f=n?l*m:0,v=n?0:l*m,g=-d*Math.abs(m),b=r.stretch;"string"==typeof b&&-1!==b.indexOf("%")&&(b=parseFloat(r.stretch)/100*h);var w=n?0:b*m,h=n?b*m:0,b=1-(1-r.scale)*Math.abs(m);Math.abs(h)<.001&&(h=0),Math.abs(w)<.001&&(w=0),Math.abs(g)<.001&&(g=0),Math.abs(f)<.001&&(f=0);f="translate3d("+h+"px,"+w+"px,"+g+"px)  rotateX("+(v=Math.abs(v)<.001?0:v)+"deg) rotateY("+f+"deg) scale("+(b=Math.abs(b)<.001?0:b)+")";u.transform(f),u[0].style.zIndex=1-Math.abs(Math.round(m)),r.slideShadows&&(b=n?u.find(".swiper-slide-shadow-left"):u.find(".swiper-slide-shadow-top"),f=n?u.find(".swiper-slide-shadow-right"):u.find(".swiper-slide-shadow-bottom"),0===b.length&&(b=C('<div class="swiper-slide-shadow-'+(n?"left":"top")+'"></div>'),u.append(b)),0===f.length&&(f=C('<div class="swiper-slide-shadow-'+(n?"right":"bottom")+'"></div>'),u.append(f)),b.length&&(b[0].style.opacity=0<m?m:0),f.length&&(f[0].style.opacity=0<-m?-m:0))}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},oe={init:function(){var e=this,t=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var a=e.constructor;return t.swiper instanceof a?(e.thumbs.swiper=t.swiper,K(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),K(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):E(t.swiper)&&(e.thumbs.swiper=new a(K({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick),!0},onThumbClick:function(){var e,t,a,i=this,s=i.thumbs.swiper;s&&(t=s.clickedIndex,(e=s.clickedSlide)&&C(e).hasClass(i.params.thumbs.slideThumbActiveClass)||null==t||(a=s.params.loop?parseInt(C(s.clickedSlide).attr("data-swiper-slide-index"),10):t,i.params.loop&&(e=i.activeIndex,i.slides.eq(e).hasClass(i.params.slideDuplicateClass)&&(i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft,e=i.activeIndex),s=i.slides.eq(e).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),t=i.slides.eq(e).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),a=void 0===s||void 0!==t&&t-e<e-s?t:s),i.slideTo(a)))},update:function(e){var t=this,a=t.thumbs.swiper;if(a){var i,s,r,n="auto"===a.params.slidesPerView?a.slidesPerViewDynamic():a.params.slidesPerView,o=t.params.thumbs.autoScrollOffset,l=o&&!a.params.loop;t.realIndex===a.realIndex&&!l||(i=a.activeIndex,r=a.params.loop?(a.slides.eq(i).hasClass(a.params.slideDuplicateClass)&&(a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft,i=a.activeIndex),r=a.slides.eq(i).prevAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),s=a.slides.eq(i).nextAll('[data-swiper-slide-index="'+t.realIndex+'"]').eq(0).index(),s=void 0===r?s:void 0===s?r:s-i==i-r?i:s-i<i-r?s:r,t.activeIndex>t.previousIndex?"next":"prev"):(s=t.realIndex)>t.previousIndex?"next":"prev",l&&(s+="next"===r?o:-1*o),a.visibleSlidesIndexes&&a.visibleSlidesIndexes.indexOf(s)<0&&(a.params.centeredSlides?s=i<s?s-Math.floor(n/2)+1:s+Math.floor(n/2)-1:i<s&&(s=s-n+1),a.slideTo(s,e?0:void 0)));var d=1,p=t.params.thumbs.slideThumbActiveClass;if(1<t.params.slidesPerView&&!t.params.centeredSlides&&(d=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),a.slides.removeClass(p),a.params.loop||a.params.virtual&&a.params.virtual.enabled)for(var c=0;c<d;c+=1)a.$wrapperEl.children('[data-swiper-slide-index="'+(t.realIndex+c)+'"]').addClass(p);else for(var u=0;u<d;u+=1)a.slides.eq(t.realIndex+u).addClass(p)}}},k=[z,k,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){x(this,{mousewheel:{enabled:!1,lastScrollTime:M(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:V.enable,disable:V.disable,handle:V.handle,handleMouseEnter:V.handleMouseEnter,handleMouseLeave:V.handleMouseLeave,animateSlider:V.animateSlider,releaseScroll:V.releaseScroll}})},on:{init:function(e){!e.params.mousewheel.enabled&&e.params.cssMode&&e.mousewheel.disable(),e.params.mousewheel.enabled&&e.mousewheel.enable()},destroy:function(e){e.params.cssMode&&e.mousewheel.enable(),e.mousewheel.enabled&&e.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){x(this,{navigation:t({},W)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},click:function(e,t){var a,i=e.navigation,s=i.$nextEl,i=i.$prevEl,t=t.target;!e.params.navigation.hideOnClick||C(t).is(i)||C(t).is(s)||e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===t||e.pagination.el.contains(t))||(s?a=s.hasClass(e.params.navigation.hiddenClass):i&&(a=i.hasClass(e.params.navigation.hiddenClass)),!0===a?e.emit("navigationShow"):e.emit("navigationHide"),s&&s.toggleClass(e.params.navigation.hiddenClass),i&&i.toggleClass(e.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){x(this,{pagination:t({dynamicBulletIndex:0},F)})},on:{init:function(e){e.pagination.init(),e.pagination.render(),e.pagination.update()},activeIndexChange:function(e){!e.params.loop&&void 0!==e.snapIndex||e.pagination.update()},snapIndexChange:function(e){e.params.loop||e.pagination.update()},slidesLengthChange:function(e){e.params.loop&&(e.pagination.render(),e.pagination.update())},snapGridLengthChange:function(e){e.params.loop||(e.pagination.render(),e.pagination.update())},destroy:function(e){e.pagination.destroy()},click:function(e,t){t=t.target;e.params.pagination.el&&e.params.pagination.hideOnClick&&0<e.pagination.$el.length&&!C(t).hasClass(e.params.pagination.bulletClass)&&(e.navigation&&(e.navigation.nextEl&&t===e.navigation.nextEl||e.navigation.prevEl&&t===e.navigation.prevEl)||(!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){x(this,{scrollbar:t({isTouched:!1,timeout:null,dragTimeout:null},q)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){x(this,{parallax:t({},j)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var i=this;x(i,{zoom:t({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},_)});var s=1;Object.defineProperty(i.zoom,"scale",{get:function(){return s},set:function(e){var t,a;s!==e&&(t=i.zoom.gesture.$imageEl?i.zoom.gesture.$imageEl[0]:void 0,a=i.zoom.gesture.$slideEl?i.zoom.gesture.$slideEl[0]:void 0,i.emit("zoomChange",e,t,a)),s=e}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){x(this,{lazy:t({initialImageLoaded:!1},Z)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&(e.params.lazy.checkInView?e.lazy.checkInViewOnLoad():e.lazy.load())},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){x(this,{controller:t({control:this.params.controller.control},J)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,a){e.controller.control&&e.controller.setTranslate(t,a)},setTransition:function(e,t,a){e.controller.control&&e.controller.setTransition(t,a)}}},{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null}},create:function(){x(this,{a11y:t({},Q,{liveRegion:C('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){x(this,{history:t({},ee)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},transitionEnd:function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){x(this,{hashNavigation:t({initialized:!1},te)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){x(this,{autoplay:t({},ae,{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),b().addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t,a){e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.running&&e.autoplay.stop(),b().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){x(this,{fadeEffect:t({},ie)})},on:{beforeInit:function(e){var t;"fade"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"fade"),t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},K(e.params,t),K(e.originalParams,t))},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){x(this,{cubeEffect:t({},se)})},on:{beforeInit:function(e){var t;"cube"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d"),t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0},K(e.params,t),K(e.originalParams,t))},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){x(this,{flipEffect:t({},re)})},on:{beforeInit:function(e){var t;"flip"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d"),t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0},K(e.params,t),K(e.originalParams,t))},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){x(this,{coverflowEffect:t({},ne)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){x(this,{thumbs:t({swiper:null,initialized:!1},oe)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){e=e.thumbs.swiper;e&&e.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}];return H.use(k),H});
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";function g(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,s=t.slice,y=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,r={},o=r.toString,m=r.hasOwnProperty,a=m.toString,l=a.call(Object),v={},x=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function h(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=h(e);return!x(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=S.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||x(o)||(o={}),a===s&&(o=this,a--);a<s;a++)if(null!=(e=arguments[a]))for(t in e)n=e[t],"__proto__"!==t&&o!==n&&(u&&n&&(S.isPlainObject(n)||(r=Array.isArray(n)))?(i=o[t],i=r&&!Array.isArray(i)?[]:r||S.isPlainObject(i)?i:{},r=!1,o[t]=S.extend(u,i,n)):void 0!==n&&(o[t]=n));return o},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==o.call(e)||(e=n(e))&&("function"!=typeof(e=m.call(e,"constructor")&&e.constructor)||a.call(e)!==l))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){t=t||[];return null!=e&&(p(Object(e))?S.merge(t,"string"==typeof e?[e]:e):u.call(t,e)),t},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!=a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return y(a)},guid:1,support:v}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){r["[object "+t+"]"]=t.toLowerCase()});var d=function(n){function f(e,t){return e="0x"+e.slice(1)-65536,t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))}function r(){T()}var e,d,b,o,i,h,p,g,w,u,l,T,C,a,E,y,s,c,m,S="sizzle"+ +new Date,v=n.document,k=0,x=0,A=ue(),N=ue(),j=ue(),D=ue(),q=function(e,t){return e===t&&(l=!0),0},L={}.hasOwnProperty,t=[],H=t.pop,O=t.push,P=t.push,R=t.slice,M=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",W="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+W+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\["+W+"*("+F+")(?:"+W+"*([*^$|!~]?=)"+W+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+W+"*\\]",$=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",_=new RegExp(W+"+","g"),z=new RegExp("^"+W+"+|((?:^|[^\\\\])(?:\\\\.)*)"+W+"+$","g"),U=new RegExp("^"+W+"*,"+W+"*"),X=new RegExp("^"+W+"*([>+~]|"+W+")"+W+"*"),V=new RegExp(W+"|>"),G=new RegExp($),Y=new RegExp("^"+F+"$"),Q={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+W+"*(even|odd|(([+-]|)(\\d*)n|)"+W+"*(?:([+-]|)"+W+"*(\\d+)|))"+W+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+W+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+W+"*((?:-\\d)?\\d*)"+W+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,ee=/^[^{]+\{\s*\[native \w/,te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ne=/[+~]/,re=new RegExp("\\\\[\\da-fA-F]{1,6}"+W+"?|\\\\([^\\r\\n\\f])","g"),ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=ve(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(t=R.call(v.childNodes),v.childNodes),t[v.childNodes.length].nodeType}catch(e){P={apply:t.length?function(e,t){O.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,n,r){var i,o,a,s,u,l,c,f=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(t),t=t||C,E)){if(11!==p&&(u=te.exec(e)))if(i=u[1]){if(9===p){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&m(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return P.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&d.getElementsByClassName&&t.getElementsByClassName)return P.apply(n,t.getElementsByClassName(i)),n}if(d.qsa&&!D[e+" "]&&(!y||!y.test(e))&&(1!==p||"object"!==t.nodeName.toLowerCase())){if(c=e,f=t,1===p&&(V.test(e)||X.test(e))){for((f=ne.test(e)&&ge(t.parentNode)||t)===t&&d.scope||((s=t.getAttribute("id"))?s=s.replace(ie,oe):t.setAttribute("id",s=S)),o=(l=h(e)).length;o--;)l[o]=(s?"#"+s:":scope")+" "+me(l[o]);c=l.join(",")}try{return P.apply(n,f.querySelectorAll(c)),n}catch(t){D(e,!0)}finally{s===S&&t.removeAttribute("id")}}}return g(e.replace(z,"$1"),t,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function he(a){return le(function(o){return o=+o,le(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!J.test(t||e&&e.nodeName||"HTML")},T=se.setDocument=function(e){var t,e=e?e.ownerDocument||e:v;return e!=C&&9===e.nodeType&&e.documentElement&&(a=(C=e).documentElement,E=!i(C),v!=C&&(t=C.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",r,!1):t.attachEvent&&t.attachEvent("onunload",r)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=ee.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(re,f);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){e=t.getElementById(e);return e?[e]:[]}}):(b.filter.ID=function(e){var t=e.replace(re,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=ee.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+W+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+W+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+W+"*name"+W+"*="+W+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+W+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=ee.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=ee.test(a.compareDocumentPosition),m=t||ee.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},q=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==v&&m(v,e)?-1:t==C||t.ownerDocument==v&&m(v,t)?1:u?M(u,e)-M(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?M(u,e)-M(u,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]==v?-1:s[r]==v?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!D[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){D(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),m(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],n=n&&L.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==n?n:d.attributes||!E?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},se.escape=function(e){return(e+"").replace(ie,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(q),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,f),e[3]=(e[3]||e[4]||e[5]||"").replace(re,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(re,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+W+")"+e+"("+W+"|$)"))&&A(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=se.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(_," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(h,e,t,g,y){var m="nth"!==h.slice(0,3),v="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===y?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=m!=v?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(m){for(;l;){for(a=e;a=a[l];)if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[v?c.firstChild:c.lastChild],v&&p){for(d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];a=++s&&a&&a[l]||(d=s=0)||u.pop();)if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(!1===(d=p?s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]:d))for(;(a=++s&&a&&a[l]||(d=s=0)||u.pop())&&((x?a.nodeName.toLowerCase()!==f:1!==a.nodeType)||!++d||(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a!==e)););return(d-=y)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=M(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=p(e.replace(z,"$1"));return s[S]?le(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(re,f),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return Y.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(re,f).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function ye(){}function me(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=x++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[k,f];if(n){for(;e=e[s];)if((1===e.nodeType||c)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||c)if(r=(i=e[S]||(e[S]={}))[e.uniqueID]||(i[e.uniqueID]={}),u&&u===e.nodeName.toLowerCase())e=e[s]||e;else{if((i=r[l])&&i[0]===k&&i[1]===f)return o[2]=i[2];if((r[l]=o)[2]=a(e,t,n))return!0}return!1}}function xe(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function be(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function we(e){for(var r,t,n,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=ve(function(e){return e===r},a,!0),l=ve(function(e){return-1<M(r,e)},a,!0),c=[function(e,t,n){n=!o&&(n||t!==w)||((r=t).nodeType?u:l)(e,t,n);return r=null,n}];s<i;s++)if(t=b.relative[e[s].type])c=[ve(xe(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<i&&!b.relative[e[n].type];n++);return function e(d,h,g,y,m,t){return y&&!y[S]&&(y=e(y)),m&&!m[S]&&(m=e(m,t)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:be(c,s,d,n,r),p=g?m||(e?d:l||y)?[]:t:f;if(g&&g(f,p,n,r),y)for(i=be(p,u),y(i,[],n,r),o=i.length;o--;)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a));if(e){if(m||d){if(m){for(i=[],o=p.length;o--;)(a=p[o])&&i.push(f[o]=a);m(null,p=[],i,r)}for(o=p.length;o--;)(a=p[o])&&-1<(i=m?M(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=be(p===t?p.splice(l,p.length):p),m?m(null,t,p,r):P.apply(t,p)})}(1<s&&xe(c),1<s&&me(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(z,"$1"),t,s<n&&we(e.slice(s,n)),n<i&&we(e=e.slice(n)),n<i&&me(e))}c.push(t)}return xe(c)}return ye.prototype=b.filters=b.pseudos,b.setFilters=new ye,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=N[e+" "];if(l)return t?0:l.slice(0);for(a=e,s=[],u=b.preFilter;a;){for(o in n&&!(r=U.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=X.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),a=a.slice(n.length)),b.filter)!(r=Q[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):N(e,s).slice(0)},p=se.compile=function(e,t){var n,y,m,v,x,r,i=[],o=[],a=j[e+" "];if(!a){for(n=(t=t||h(e)).length;n--;)((a=we(t[n]))[S]?i:o).push(a);(a=j(e,(y=o,v=0<(m=i).length,x=0<y.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){for(a=0,t||o.ownerDocument==C||(T(o),n=!E);s=y[a++];)if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}v&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,v&&l!==u){for(a=0;s=m[a++];)s(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=H.call(r));f=be(f)}P.apply(r,f),i&&!e&&0<f.length&&1<u+m.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},v?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(re,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=Q.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((u=b.find[s])&&(r=u(a.matches[0].replace(re,f),ne.test(o[0].type)&&ge(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&me(o)))return P.apply(n,r),n;break}}return(l||p(e,c))(r,t,!E,n,!t||ne.test(e)&&ge(t.parentNode)||t),n},d.sortStable=S.split("").sort(q).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(I,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(t=e.getAttributeNode(t))&&t.specified?t.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;function w(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r}function T(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return x(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){if(!e)return this;if(n=n||q,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):x(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:D.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(var r in t)x(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(e=E.getElementById(r[2]))&&(this[0]=e,this.length=1),this}).prototype=S.fn;var q=S(E),L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return w(e,"parentNode")},parentsUntil:function(e,t,n){return w(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return w(e,"nextSibling")},prevAll:function(e){return w(e,"previousSibling")},nextUntil:function(e,t,n){return w(e,"nextSibling",n)},prevUntil:function(e,t,n){return w(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&x(i=e.promise)?i.call(e).done(t).fail(n):e&&x(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var n;r="string"==typeof r?(n={},S.each(r.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);function i(){for(a=a||r.once,t=o=!0;u.length;l=-1)for(e=u.shift();++l<s.length;)!1===s[l].apply(e[0],e[1])&&r.stopOnFalse&&(l=s.length,e=!1);r.memory||(e=!1),o=!1,a&&(s=e?[]:"")}var o,e,t,a,s=[],u=[],l=-1,c={add:function(){return s&&(e&&!o&&(l=s.length-1,u.push(e)),function n(e){S.each(e,function(e,t){x(t)?r.unique&&c.has(t)||s.push(t):t&&t.length&&"string"!==h(t)&&n(t)})}(arguments),e&&!o&&i()),this},remove:function(){return S.each(arguments,function(e,t){for(var n;-1<(n=S.inArray(t,s,n));)s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s=s&&[],this},disable:function(){return a=u=[],s=e="",this},disabled:function(){return!s},lock:function(){return a=u=[],e||o||(s=e=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),o||i()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!t}};return c},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=x(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&x(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){function e(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,x(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}}var n=this,r=arguments,t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,x(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,x(t)?t:R)),o[2][3].add(l(0,e,x(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){function t(t){return function(e){i[t]=this,o[t]=1<arguments.length?s.call(arguments):e,--n||a.resolveWith(i,o)}}var n=arguments.length,r=n,i=Array(r),o=s.call(arguments),a=S.Deferred();if(n<=1&&(I(e,a.done(t(r)).resolve,a.reject,!n),"pending"===a.state()||x(o[r]&&o[r].then)))return a.then();for(;r--;)I(o[r],t(r),a.reject);return a.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var F=S.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),S.ready()}S.fn.ready=function(e){return F.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===h(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,x(r)||(a=!0),t=l?a?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(S(e),n)}):t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}function V(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;for(;n--;)delete r[t[n]]}void 0!==t&&!S.isEmptyObject(r)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;return o&&void 0===e?void 0!==(t=Q.get(o,n))||void 0!==(t=Z(o,n))?t:void 0:void this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){for(t=a.length;t--;)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=S.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(r=Y.get(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});function ae(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")}function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u=[],l=0,c=e.length;l<c;l++)(r=e[l]).style&&(n=r.style.display,t?("none"===n&&(u[l]=Y.get(r,"display")||null,u[l]||(r.style.display="")),""===r.style.display&&ae(r)&&(u[l]=(s=o=i=void 0,o=r.ownerDocument,a=r.nodeName,(s=ue[a])||(i=o.body.appendChild(o.createElement(a)),s=S.css(i,"display"),i.parentNode.removeChild(i),"none"===s&&(s="block"),ue[a]=s)))):"none"!==n&&(u[l]="none",Y.set(r,"display",n)));for(l=0;l<c;l++)null!=u[l]&&(e[l].style.display=u[l]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,f=E.createDocumentFragment().appendChild(E.createElement("div"));(d=E.createElement("input")).setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),f.appendChild(d),v.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked,f.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!f.cloneNode(!0).lastChild.defaultValue,f.innerHTML="<option></option>",v.option=!!f.lastChild;var de={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function he(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&A(e,t)?S.merge([e],n):n}function ge(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td,v.option||(de.optgroup=de.option=[1,"<select multiple='multiple'>","</select>"]);var ye=/<|&#?\w+;/;function me(e,t,n,r,i){for(var o,a,s,u,l,c=t.createDocumentFragment(),f=[],p=0,d=e.length;p<d;p++)if((o=e[p])||0===o)if("object"===h(o))S.merge(f,o.nodeType?[o]:o);else if(ye.test(o)){for(a=a||c.appendChild(t.createElement("div")),s=(fe.exec(o)||["",""])[1].toLowerCase(),s=de[s]||de._default,a.innerHTML=s[1]+S.htmlPrefilter(o)+s[2],l=s[0];l--;)a=a.lastChild;S.merge(f,a.childNodes),(a=c.firstChild).textContent=""}else f.push(t.createTextNode(o));for(c.textContent="",p=0;o=f[p++];)if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(u=ie(o),a=he(c.appendChild(o),"script"),u&&ge(a),n)for(l=0;o=a[l++];)pe.test(o.type||"")&&n.push(o);return c}var ve=/^([^.]*)(?:\.(.+)|)/;function xe(){return!0}function be(){return!1}function we(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Te(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Te(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=be;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Ce(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,xe)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h=Y.get(t);if(V(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(s=h.events)||(s=h.events=Object.create(null)),(a=h.handle)||(a=h.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(P)||[""]).length;u--;)f=d=(l=ve.exec(e[u])||[])[1],p=(l[2]||"").split(".").sort(),f&&(c=S.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=S.event.special[f]||{},l=S.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=s[f])||((d=s[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(f,a)),c.add&&(c.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),S.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=Y.hasData(e)&&Y.get(e);if(y&&(u=y.events)){for(l=(t=(t||"").match(P)||[""]).length;l--;)if(d=g=(s=ve.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||S.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a=new Array(arguments.length),s=S.event.fix(e),u=(Y.get(this,"events")||Object.create(null))[s.type]||[],e=S.event.special[s.type]||{};for(a[0]=s,t=1;t<arguments.length;t++)a[t]=arguments[t];if(s.delegateTarget=this,!e.preDispatch||!1!==e.preDispatch.call(this,s)){for(o=S.event.handlers.call(this,s,u),t=0;(r=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==i.namespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(i=((S.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))&&!1===(s.result=i)&&(s.preventDefault(),s.stopPropagation()));return e.postDispatch&&e.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:x(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return ce.test(e.type)&&e.click&&A(e,"input")&&Ce(e,"click",xe),!1},trigger:function(e){e=this||e;return ce.test(e.type)&&e.click&&A(e,"input")&&Ce(e,"click"),!0},_default:function(e){e=e.target;return ce.test(e.type)&&e.click&&A(e,"input")&&Y.get(e,"click")||A(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?xe:be,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:be,isPropagationStopped:be,isImmediatePropagationStopped:be,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=xe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Ce(this,e,we),!1},trigger:function(){return Ce(this,e),!0},_default:function(){return!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return Te(this,e,t,n,r)},one:function(e,t,n,r){return Te(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=be),this.each(function(){S.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var Ee=/<script|<style|<link/i,Se=/checked\s*(?:[^=]|=\s*.checked.)/i,ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ae(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,i,o;if(1===t.nodeType){if(Y.hasData(e)&&(o=Y.get(e).events))for(i in Y.remove(t,"handle events"),o)for(n=0,r=o[i].length;n<r;n++)S.event.add(t,i,o[i][n]);Q.hasData(e)&&(e=Q.access(e),e=S.extend({},e),Q.set(t,e))}}function qe(n,r,i,o){r=y(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=x(d);if(h||1<f&&"string"==typeof d&&!v.checkClone&&Se.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),qe(t,r,i,o)});if(f&&(t=(e=me(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(he(e,"script"),Ne)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,he(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,je),c=0;c<s;c++)u=a[c],pe.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(ke,""),u,l))}return n}function Le(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(he(r)),r.parentNode&&(n&&ie(r)&&ge(he(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=he(c),r=0,i=(o=he(e)).length;r<i;r++)s=o[r],"input"===(l=(u=a[r]).nodeName.toLowerCase())&&ce.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||he(e),a=a||he(c),r=0,i=o.length;r<i;r++)De(o[r],a[r]);else De(e,c);return 0<(a=he(c,"script")).length&&ge(a,!f&&he(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Le(this,e,!0)},remove:function(e){return Le(this,e)},text:function(e){return $(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return qe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ae(this,e).appendChild(e)})},prepend:function(){return qe(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Ae(this,e)).insertBefore(e,t.firstChild)})},before:function(){return qe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return qe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(he(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!de[(fe.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(he(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return qe(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(he(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});function He(e,t,n){var r,i={};for(r in t)i[r]=e.style[r],e.style[r]=t[r];for(r in n=n.call(e),t)e.style[r]=i[r];return n}var Oe,Pe,Re,Me,Ie,We,Fe,Be,$e=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),_e=function(e){var t=e.ownerDocument.defaultView;return(t=!t||!t.opener?C:t).getComputedStyle(e)},ze=new RegExp(ne.join("|"),"i");function Ue(e,t,n){var r,i,o=e.style;return(n=n||_e(e))&&(""!==(i=n.getPropertyValue(t)||n[t])||ie(e)||(i=S.style(e,t)),!v.pixelBoxStyles()&&$e.test(i)&&ze.test(t)&&(r=o.width,e=o.minWidth,t=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=r,o.minWidth=e,o.maxWidth=t)),void 0!==i?i+"":i}function Xe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function Ve(){var e;Be&&(Fe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Be.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(Fe).appendChild(Be),e=C.getComputedStyle(Be),Oe="1%"!==e.top,We=12===Ge(e.marginLeft),Be.style.right="60%",Me=36===Ge(e.right),Pe=36===Ge(e.width),Be.style.position="absolute",Re=12===Ge(Be.offsetWidth/3),re.removeChild(Fe),Be=null)}function Ge(e){return Math.round(parseFloat(e))}Fe=E.createElement("div"),(Be=E.createElement("div")).style&&(Be.style.backgroundClip="content-box",Be.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===Be.style.backgroundClip,S.extend(v,{boxSizingReliable:function(){return Ve(),Pe},pixelBoxStyles:function(){return Ve(),Me},pixelPosition:function(){return Ve(),Oe},reliableMarginLeft:function(){return Ve(),We},scrollboxSize:function(){return Ve(),Re},reliableTrDimensions:function(){var e,t,n;return null==Ie&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",re.appendChild(e).appendChild(t).appendChild(n),n=C.getComputedStyle(t),Ie=parseInt(n.height,10)+parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10)===t.offsetHeight,re.removeChild(e)),Ie}}));var Ye=["Webkit","Moz","ms"],Qe=E.createElement("div").style,Je={};function Ke(e){return S.cssProps[e]||Je[e]||(e in Qe?e:Je[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in Qe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,et=/^--/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function ot(e,t,n){var r=_e(e),i=(!v.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Ue(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if($e.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){e=Ue(e,"opacity");return""===e?"1":e}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=et.test(t),l=e.style;if(u||(t=Ke(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o=X(t);return et.test(t)||(t=Ke(o)),"normal"===(i=void 0===(i=(o=S.cssHooks[t]||S.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?Ue(e,t,r):i)&&t in nt&&(i=nt[t]),""===n||n?(t=parseFloat(i),!0===n||isFinite(t)?t||0:i):i}}),S.each(["height","width"],function(e,s){S.cssHooks[s]={get:function(e,t,n){if(t)return!Ze.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,s,n):He(e,tt,function(){return ot(e,s,n)})},set:function(e,t,n){var r,i=_e(e),o=!v.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),n=n?it(e,s,n,a,i):0;return a&&o&&(n-=Math.ceil(e["offset"+s[0].toUpperCase()+s.slice(1)]-parseFloat(i[s])-it(e,s,"border",!1,i)-.5)),n&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[s]=t,t=S.css(e,s)),rt(0,t,n)}}}),S.cssHooks.marginLeft=Xe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=rt)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=_e(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return(e&&e.get?e:at.propHooks._default).get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:at.propHooks._default).set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=S.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Ke(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=at.prototype.init,S.fx.step={};var st,ut,lt=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function ft(){ut&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(ft):C.setTimeout(ft,S.fx.interval),S.fx.tick())}function pt(){return C.setTimeout(function(){st=void 0}),st=Date.now()}function dt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ht(e,t,n){for(var r,i=(gt.tweeners[t]||[]).concat(gt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function gt(i,e,t){var n,o,r=0,a=gt.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var e=st||pt(),e=Math.max(0,l.startTime+l.duration-e),t=1-(e/l.duration||0),n=0,r=l.tweens.length;n<r;n++)l.tweens[n].run(t);return s.notifyWith(i,[l,t,e]),t<1&&r?e:(r||s.notifyWith(i,[l,1,0]),s.resolveWith(i,[l]),!1)},l=s.promise({elem:i,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||pt(),duration:t.duration,tweens:[],createTween:function(e,t){e=S.Tween(i,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(e),e},stop:function(e){var t=0,n=e?l.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(i,[l,1,0]),s.resolveWith(i,[l,e])):s.rejectWith(i,[l,e]),this}}),c=l.props;for(function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<a;r++)if(n=gt.prefilters[r].call(l,i,c,l.opts))return x(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ht,l),x(l.opts.start)&&l.opts.start.call(i,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:i,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(gt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=x(e)?(t=e,["*"]):e.match(P)).length;r<i;r++)n=e[r],gt.tweeners[n]=gt.tweeners[n]||[],gt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c="width"in t||"height"in t,f=this,p={},d=e.style,h=e.nodeType&&ae(e),g=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],lt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;h=!0}p[r]=g&&g[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(r in c&&1===e.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],null==(l=g&&g.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(f.done(function(){d.display=l}),null==l&&(c=d.display,l="none"===c?"":c)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),u=!1,p)u||(g?"hidden"in g&&(h=g.hidden):g=Y.access(e,"fxshow",{display:l}),o&&(g.hidden=!h),h&&le([e],!0),f.done(function(){for(r in h||le([e]),Y.remove(e,"fxshow"),p)S.style(e,r,p[r])})),u=ht(h?g[r]:0,r,f),r in g||(g[r]=u.start,h&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?gt.prefilters.unshift(e):gt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||x(e)&&e,duration:e,easing:n&&t||t&&!x(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){x(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),r=function(){var e=gt(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return r.finish=r,i||!1===o.queue?this.each(r):this.queue(o.queue,r)},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&ct.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(dt(r,!0),e,t,n)}}),S.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),st=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ut||(ut=!0,ft())},S.fx.stop=function(){ut=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},f=E.createElement("input"),ee=E.createElement("select").appendChild(E.createElement("option")),f.type="checkbox",v.checkOn=""!==f.value,v.optSelected=ee.selected,(f=E.createElement("input")).value="t",f.type="radio",v.radioValue="t"===f.value;var yt,mt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return $(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):!(i&&"get"in i&&null!==(r=i.get(e,t)))&&null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=mt[t]||S.find.attr;mt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=mt[o],mt[o]=r,r=null!=a(e,t,n)?o:null,mt[o]=i),r}});var vt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function bt(e){return(e.match(P)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function Tt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(S.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,s=0;if(x(t))return this.each(function(e){S(this).addClass(t.call(this,e,wt(this)))});if((e=Tt(t)).length)for(;n=this[s++];)if(a=wt(n),r=1===n.nodeType&&" "+bt(a)+" "){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(a=bt(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,a,s=0;if(x(t))return this.each(function(e){S(this).removeClass(t.call(this,e,wt(this)))});if(!arguments.length)return this.attr("class","");if((e=Tt(t)).length)for(;n=this[s++];)if(a=wt(n),r=1===n.nodeType&&" "+bt(a)+" "){for(o=0;i=e[o++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");a!==(a=bt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(i,t){var o=typeof i,a="string"==o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):x(i)?this.each(function(e){S(this).toggleClass(i.call(this,e,wt(this),t),t)}):this.each(function(){var e,t,n,r;if(a)for(t=0,n=S(this),r=Tt(i);e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!=o||((e=wt(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==i&&Y.get(this,"__className__")||""))})},hasClass:function(e){for(var t,n=0,r=" "+e+" ";t=this[n++];)if(1===t.nodeType&&-1<(" "+bt(wt(t))+" ").indexOf(r))return!0;return!1}});var Ct=/\r/g;S.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=x(t),this.each(function(e){1===this.nodeType&&(null==(e=r?t.call(this,e,S(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=S.map(e,function(e){return null==e?"":e+""})),(n=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):i?(n=S.valHooks[i.type]||S.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(Ct,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:bt(S.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type,o=i?null:[],a=i?r+1:n.length,s=r<0?a:i?r:0;s<a;s++)if(((t=n[s]).selected||s===r)&&!t.disabled&&(!t.parentNode.disabled||!A(t.parentNode,"optgroup"))){if(t=S(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=S.makeArray(t),a=i.length;a--;)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},v.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in C;function Et(e){e.stopPropagation()}var St=/^(?:focusinfocus|focusoutblur)$/;S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f=[n||E],p=m.call(e,"type")?e.type:e,d=m.call(e,"namespace")?e.namespace.split("."):[],h=c=o=n=n||E;if(3!==n.nodeType&&8!==n.nodeType&&!St.test(p+S.event.triggered)&&(-1<p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),s=p.indexOf(":")<0&&"on"+p,(e=e[S.expando]?e:new S.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),l=S.event.special[p]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!g(n)){for(a=l.delegateType||p,St.test(a+p)||(h=h.parentNode);h;h=h.parentNode)f.push(h),o=h;o===(n.ownerDocument||E)&&f.push(o.defaultView||o.parentWindow||C)}for(i=0;(h=f[i++])&&!e.isPropagationStopped();)c=h,e.type=1<i?a:l.bindType||p,(u=(Y.get(h,"events")||Object.create(null))[e.type]&&Y.get(h,"handle"))&&u.apply(h,t),(u=s&&h[s])&&u.apply&&V(h)&&(e.result=u.apply(h,t),!1===e.result&&e.preventDefault());return e.type=p,r||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(f.pop(),t)||!V(n)||s&&x(n[p])&&!g(n)&&((o=n[s])&&(n[s]=null),S.event.triggered=p,e.isPropagationStopped()&&c.addEventListener(p,Et),n[p](),e.isPropagationStopped()&&c.removeEventListener(p,Et),S.event.triggered=void 0,o&&(n[s]=o)),e.result}},simulate:function(e,t,n){e=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(e,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),v.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){S.event.simulate(r,e.target,S.event.fix(e))}S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var kt=C.location,At={guid:Date.now()},Nt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var jt=/\[\]$/,Dt=/\r?\n/g,qt=/^(?:submit|button|image|reset|file)$/i,Lt=/^(?:input|select|textarea|keygen)/i;S.param=function(e,t){function n(e,t){t=x(t)?t():t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var r,i=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(Array.isArray(e))S.each(e,function(e,t){i||jt.test(r)?o(r,t):n(r+"["+("object"==typeof t&&null!=t?e:"")+"]",t,i,o)});else if(i||"object"!==h(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Lt.test(this.nodeName)&&!qt.test(e)&&(this.checked||!ce.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var Ht=/%20/g,Ot=/#.*$/,Pt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,It=/^\/\//,Wt={},Ft={},Bt="*/".concat("*"),$t=E.createElement("a");function _t(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(x(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function zt(t,r,i,o){var a={},s=t===Ft;function u(e){var n;return a[e]=!0,S.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||s||a[t]?s?!(n=t):void 0:(r.dataTypes.unshift(t),u(t),!1)}),n}return u(r.dataTypes[0])||!a["*"]&&u("*")}function Ut(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r=r||{})[n]=t[n]);return r&&S.extend(!0,e,r),e}$t.href=kt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,S.ajaxSettings),t):Ut(S.ajaxSettings,e)},ajaxPrefilter:_t(Wt),ajaxTransport:_t(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,l,c,n,f,r,p,d,i,o,h=S.ajaxSetup({},t),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?S(g):S.event,m=S.Deferred(),v=S.Callbacks("once memory"),x=h.statusCode||{},a={},s={},b="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(p){if(!n)for(n={};t=Rt.exec(c);)n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return p?c:null},setRequestHeader:function(e,t){return null==p&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==p&&(h.mimeType=e),this},statusCode:function(e){if(e)if(p)w.always(e[w.status]);else for(var t in e)x[t]=[x[t],e[t]];return this},abort:function(e){e=e||b;return u&&u.abort(e),T(0,e),this}};if(m.promise(w),h.url=((e||h.url||kt.href)+"").replace(It,kt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(P)||[""],null==h.crossDomain){r=E.createElement("a");try{r.href=h.url,r.href=r.href,h.crossDomain=$t.protocol+"//"+$t.host!=r.protocol+"//"+r.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=S.param(h.data,h.traditional)),zt(Wt,h,t,w),p)return w;for(i in(d=S.event&&h.global)&&0==S.active++&&S.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),l=h.url.replace(Ot,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ht,"+")):(o=h.url.slice(l.length),h.data&&(h.processData||"string"==typeof h.data)&&(l+=(Nt.test(l)?"&":"?")+h.data,delete h.data),!1===h.cache&&(l=l.replace(Pt,"$1"),o=(Nt.test(l)?"&":"?")+"_="+At.guid+++o),h.url=l+o),h.ifModified&&(S.lastModified[l]&&w.setRequestHeader("If-Modified-Since",S.lastModified[l]),S.etag[l]&&w.setRequestHeader("If-None-Match",S.etag[l])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]),h.headers)w.setRequestHeader(i,h.headers[i]);if(h.beforeSend&&(!1===h.beforeSend.call(g,w,h)||p))return w.abort();if(b="abort",v.add(h.complete),w.done(h.success),w.fail(h.error),u=zt(Ft,h,t,w)){if(w.readyState=1,d&&y.trigger("ajaxSend",[w,h]),p)return w;h.async&&0<h.timeout&&(f=C.setTimeout(function(){w.abort("timeout")},h.timeout));try{p=!1,u.send(a,T)}catch(e){if(p)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,n,r){var i,o,a,s=t;p||(p=!0,f&&C.clearTimeout(f),u=void 0,c=r||"",w.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a=a||i}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,w,n)),!r&&-1<S.inArray("script",h.dataTypes)&&S.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),a=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,a,w,r),r?(h.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(S.lastModified[l]=n),(n=w.getResponseHeader("etag"))&&(S.etag[l]=n)),204===e||"HEAD"===h.type?s="nocontent":304===e?s="notmodified":(s=a.state,i=a.data,r=!(o=a.error))):(o=s,!e&&s||(s="error",e<0&&(e=0))),w.status=e,w.statusText=(t||s)+"",r?m.resolveWith(g,[i,s,w]):m.rejectWith(g,[w,s,o]),w.statusCode(x),x=void 0,d&&y.trigger(r?"ajaxSuccess":"ajaxError",[w,h,r?i:o]),v.fireWith(g,[w,s]),d&&(y.trigger("ajaxComplete",[w,h]),--S.active||S.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return x(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){return this[0]&&(x(e)&&(e=e.call(this[0])),e=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return x(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=x(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var Xt={0:200,1223:204},Vt=S.ajaxSettings.xhr();v.cors=!!Vt&&"withCredentials"in Vt,v.ajax=Vt=!!Vt,S.ajaxTransport(function(i){var o,a;if(v.cors||Vt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Xt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||S.expando+"_"+At.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=x(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(Nt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&x(i)&&i(o[0]),o=i=void 0}),"script"}),v.createHTMLDocument=((f=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===f.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),r=!n&&[],(n=N.exec(e))?[t.createElement(n[1])]:(n=me([e],t,r),r&&r.length&&S(r).remove(),S.merge([],n.childNodes)));var r},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=bt(e.slice(s)),e=e.slice(0,s)),x(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s=S.css(e,"position"),u=S(e),l={};"static"===s&&(e.style.position="relative"),o=u.offset(),r=S.css(e,"top"),a=S.css(e,"left"),a=("absolute"===s||"fixed"===s)&&-1<(r+a).indexOf("auto")?(i=(s=u.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=x(t)?t.call(e,n,S.extend({},o)):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):u.css(l)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;return g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Xe(v.pixelPosition,function(e,t){if(t)return t=Ue(e,n),$e.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return g(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Qt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r;if("string"==typeof t&&(r=e[t],t=e,e=r),x(e))return n=s.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,r},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=x,S.isWindow=g,S.camelCase=X,S.type=h,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Qt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Jt=C.jQuery,Kt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Kt),e&&C.jQuery===S&&(C.jQuery=Jt),S},void 0===e&&(C.jQuery=C.$=S),S});
