/*! For license information please see plugins.js.LICENSE.txt */ !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(e,t){"use strict";var n=[],i=e.document,r=Object.getPrototypeOf,s=n.slice,o=n.concat,a=n.push,l=n.indexOf,c={},u=c.toString,d=c.hasOwnProperty,p=d.toString,f=p.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,s,o=(n=n||i).createElement("script");if(o.text=e,t)for(r in v)(s=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,s);n.head.appendChild(o).parentNode.removeChild(o)}function _(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[u.call(e)]||"object":typeof e}var b="3.4.1",w=function(e,t){return new w.fn.init(e,t)},x=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function T(e){var t=!!e&&"length"in e&&e.length,n=_(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+N+")"+N+"*"),W=new RegExp(N+"|>"),X=new RegExp(B),Y=new RegExp("^"+j+"$"),G={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+z+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,V=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},se=function(){p()},oe=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{I.apply(O=R.call(w.childNodes),w.childNodes),O[w.childNodes.length].nodeType}catch(t){I={apply:O.length?function(e,t){L.apply(e,R.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,i,r){var s,a,c,u,d,h,v,y=t&&t.ownerDocument,x=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return i;if(!r&&((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,m)){if(11!==x&&(d=Z.exec(e)))if(s=d[1]){if(9===x){if(!(c=t.getElementById(s)))return i;if(c.id===s)return i.push(c),i}else if(y&&(c=y.getElementById(s))&&_(t,c)&&c.id===s)return i.push(c),i}else{if(d[2])return I.apply(i,t.getElementsByTagName(e)),i;if((s=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.apply(i,t.getElementsByClassName(s)),i}if(n.qsa&&!C[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===x&&W.test(e)){for((u=t.getAttribute("id"))?u=u.replace(ie,re):t.setAttribute("id",u=b),a=(h=o(e)).length;a--;)h[a]="#"+u+" "+_e(h[a]);v=h.join(","),y=ee.test(e)&&ve(t.parentNode)||t}try{return I.apply(i,y.querySelectorAll(v)),i}catch(t){C(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(U,"$1"),t,i,r)}function le(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[b]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce(function(t){return t=+t,ce(function(n,i){for(var r,s=e([],n.length,t),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},s=ae.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},p=ae.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:w;return o!==f&&9===o.nodeType&&o.documentElement&&(h=(f=o).documentElement,m=!s(f),w!==f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",se,!1):r.attachEvent&&r.attachEvent("onunload",se)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(f.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!f.getElementsByName||!f.getElementsByName(b).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,i,r,s=t.getElementById(e);if(s){if((n=s.getAttributeNode("id"))&&n.value===e)return[s];for(r=t.getElementsByName(e),i=0;s=r[i++];)if((n=s.getAttributeNode("id"))&&n.value===e)return[s]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,s=t.getElementsByTagName(e);if("*"===e){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=J.test(f.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+N+"*(?:value|"+z+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=J.test(h.compareDocumentPosition),_=t||J.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===f||e.ownerDocument===w&&_(w,e)?-1:t===f||t.ownerDocument===w&&_(w,t)?1:u?D(u,e)-D(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,s=t.parentNode,o=[e],a=[t];if(!r||!s)return e===f?-1:t===f?1:r?-1:s?1:u?D(u,e)-D(u,t):0;if(r===s)return pe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;o[i]===a[i];)i++;return i?pe(o[i],a[i]):o[i]===w?-1:a[i]===w?1:0}),f},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),n.matchesSelector&&m&&!C[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){C(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||ae.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]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=o(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var r=ae.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function O(e,t,n){return m(t)?w.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var r,s;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:i,!0)),P.test(r[1])&&w.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(s=i.getElementById(r[2]))&&(this[0]=s,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,M=w(i);var I=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,i=e.length;nx",h.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var xe=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Se=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Ee(){return!1}function Ce(e,t){return e===function(){try{return i.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,i,r,s){var o,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Ae(e,a,n,i,t[a],s);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ee;else if(!r)return e;return 1===s&&(o=r,(r=function(e){return w().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=w.guid++)),e.each(function(){w.event.add(this,t,r,i,n)})}function Pe(e,t,n){n?(V.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var i,r,o=V.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),V.set(this,t,o),i=n(this,t),this[t](),o!==(r=V.get(this,t))||i?V.set(this,t,!1):r={},o!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else o.length&&(V.set(this,t,{value:w.event.trigger(w.extend(o[0],w.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===V.get(e,t)&&w.event.add(e,t,ke)}w.event={global:{},add:function(e,t,n,i,r){var s,o,a,l,c,u,d,p,f,h,m,g=V.get(e);if(g)for(n.handler&&(n=(s=n).handler,r=s.selector),r&&w.find.matchesSelector(re,r),n.guid||(n.guid=w.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(z)||[""]).length;c--;)f=m=(a=Se.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f&&(d=w.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=w.event.special[f]||{},u=w.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&w.expr.match.needsContext.test(r),namespace:h.join(".")},s),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,h,o)||e.addEventListener&&e.addEventListener(f,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),w.event.global[f]=!0)},remove:function(e,t,n,i,r){var s,o,a,l,c,u,d,p,f,h,m,g=V.hasData(e)&&V.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(z)||[""]).length;c--;)if(f=m=(a=Se.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f){for(d=w.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=s=p.length;s--;)u=p[s],!r&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(s,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));o&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||w.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)w.event.remove(e,f+t[c],n,i,!0);w.isEmptyObject(l)&&V.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,s,o,a=w.event.fix(e),l=new Array(arguments.length),c=(V.get(this,"events")||{})[a.type]||[],u=w.event.special[a.type]||{};for(l[0]=a,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,Me=/\s*$/g;function Re(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,i,r,s,o,a,l,c;if(1===t.nodeType){if(V.hasData(e)&&(s=V.access(e),o=V.set(t,s),c=s.events))for(r in delete o.handle,o.events={},c)for(n=0,i=c[r].length;n")},clone:function(e,t,n){var i,r,s,o,a,l,c,u=e.cloneNode(!0),d=se(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(o=ge(u),i=0,r=(s=ge(e)).length;i").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&s("error"===e.type?404:200,e.type)}),i.head.appendChild(t[0])},abort:function(){n&&n()}}});var Yt,Gt=[],Kt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||w.expando+"_"+kt++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,i){var r,s,o,a=!1!==t.jsonp&&(Kt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Kt,"$1"+r):!1!==t.jsonp&&(t.url+=(Et.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},t.dataTypes[0]="json",s=e[r],e[r]=function(){o=arguments},i.always(function(){void 0===s?w(e).removeProp(r):e[r]=s,t[r]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(r)),o&&m(s)&&s(o[0]),o=s=void 0}),"script"}),h.createHTMLDocument=((Yt=i.implementation.createHTMLDocument("").body).innerHTML="
",2===Yt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((r=(t=i.implementation.createHTMLDocument("")).createElement("base")).href=i.location.href,t.head.appendChild(r)):t=i),o=!n&&[],(s=P.exec(e))?[t.createElement(s[1])]:(s=we([e],t,o),o&&o.length&&w(o).remove(),w.merge([],s.childNodes)));var r,s,o},w.fn.load=function(e,t,n){var i,r,s,o=this,a=e.indexOf(" ");return-1").append(w.parseHTML(e)).find(i):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,s||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var i,r,s,o,a,l,c=w.css(e,"position"),u=w(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),s=w.css(e,"top"),l=w.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(o=(i=u.position()).top,r=i.left):(o=parseFloat(s)||0,r=parseFloat(l)||0),m(t)&&(t=t.call(e,n,w.extend({},a))),null!=t.top&&(d.top=t.top-a.top+o),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):u.css(d)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),r.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-w.css(i,"marginTop",!0),left:t.left-r.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||re})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return H(this,function(e,i,r){var s;if(g(e)?s=e:9===e.nodeType&&(s=e.defaultView),void 0===r)return s?s[t]:e[i];s?s.scrollTo(n?s.pageXOffset:r,n?r:s.pageYOffset):e[i]=r},e,i,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=$e(h.pixelPosition,function(e,n){if(n)return n=He(e,t),Be.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){w.fn[i]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===s?"margin":"border");return H(this,function(t,n,r){var s;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(s=t.documentElement,Math.max(t.body["scroll"+e],s["scroll"+e],t.body["offset"+e],s["offset"+e],s["client"+e])):void 0===r?w.css(t,n,a):w.style(t,n,r,a)},t,o?r:void 0,o)}})}),w.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,t){w.fn[t]=function(e,n){return 0_;);_--}for(w=s[b]=[],d=o?Math.min(_,b)*l-.5:i%_,p=o?b*l/_-.5:i/_|0,v=0,y=1/0,g=0;b>g;g++)f=g%_-d,h=p-(g/_|0),w[g]=m=a?Math.abs("y"===a?h:f):Math.sqrt(f*f+h*h),m>v&&(v=m),y>m&&(y=m);w.max=v-y,w.min=y,w.v=b=t.amount||t.each*(_>b?b:a?"y"===a?b/_:_:Math.max(_,b/_))||0,w.b=0>b?r-b:r}return b=(w[e]-w.min)/w.max,w.b+(n?n.getRatio(b):b)*w.v}},o=function(e,t,i){n.call(this,e,t,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=o.prototype.render},a=1e-8,l=n._internals,c=l.isSelector,u=l.isArray,d=o.prototype=n.to({},.1,{}),p=[];o.version="2.1.2",d.constructor=o,d.kill()._gc=!1,o.killTweensOf=o.killDelayedCallsTo=n.killTweensOf,o.getTweensOf=n.getTweensOf,o.lagSmoothing=n.lagSmoothing,o.ticker=n.ticker,o.render=n.render,o.distribute=s,d.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),n.prototype.invalidate.call(this)},d.updateTo=function(e,t){var i,r=this,s=r.ratio,o=r.vars.immediateRender||e.immediateRender;for(i in t&&r._startTime.998){var a=r._totalTime;r.render(0,!0,!1),r._initted=!1,r.render(a,!0,!1)}else if(r._initted=!1,r._init(),r._time>0||o)for(var l,c=1/(1-s),u=r._firstPT;u;)l=u.s+u.c,u.c*=c,u.s=l-u.c,u=u._next;return r},d.render=function(e,t,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,s,o,c,u,d,p,f,h,m=this,g=m._dirty?m.totalDuration():m._totalDuration,v=m._time,y=m._totalTime,_=m._cycle,b=m._duration,w=m._rawPrevTime;if(e>=g-a&&e>=0?(m._totalTime=g,m._cycle=m._repeat,m._yoyo&&1&m._cycle?(m._time=0,m.ratio=m._ease._calcEnd?m._ease.getRatio(0):0):(m._time=b,m.ratio=m._ease._calcEnd?m._ease.getRatio(1):1),m._reversed||(r=!0,s="onComplete",i=i||m._timeline.autoRemoveChildren),0===b&&(m._initted||!m.vars.lazy||i)&&(m._startTime===m._timeline._duration&&(e=0),(0>w||0>=e&&e>=-a||w===a&&"isPause"!==m.data)&&w!==e&&(i=!0,w>a&&(s="onReverseComplete")),m._rawPrevTime=f=!t||e||w===e?e:a)):a>e?(m._totalTime=m._time=m._cycle=0,m.ratio=m._ease._calcEnd?m._ease.getRatio(0):0,(0!==y||0===b&&w>0)&&(s="onReverseComplete",r=m._reversed),e>-a?e=0:0>e&&(m._active=!1,0===b&&(m._initted||!m.vars.lazy||i)&&(w>=0&&(i=!0),m._rawPrevTime=f=!t||e||w===e?e:a)),m._initted||(i=!0)):(m._totalTime=m._time=e,0!==m._repeat&&(c=b+m._repeatDelay,m._cycle=m._totalTime/c|0,0!==m._cycle&&m._cycle===m._totalTime/c&&e>=y&&m._cycle--,m._time=m._totalTime-m._cycle*c,m._yoyo&&!!(1&m._cycle)&&(m._time=b-m._time,(h=m._yoyoEase||m.vars.yoyoEase)&&(m._yoyoEase||(!0!==h||m._initted?m._yoyoEase=h=!0===h?m._ease:h instanceof Ease?h:Ease.map[h]:(h=m.vars.ease,m._yoyoEase=h=h?h instanceof Ease?h:"function"==typeof h?new Ease(h,m.vars.easeParams):Ease.map[h]||n.defaultEase:n.defaultEase)),m.ratio=h?1-h.getRatio((b-m._time)/b):0)),m._time>b?m._time=b:m._time<0&&(m._time=0)),m._easeType&&!h?(u=m._time/b,(1===(d=m._easeType)||3===d&&u>=.5)&&(u=1-u),3===d&&(u*=2),1===(p=m._easePower)?u*=u:2===p?u*=u*u:3===p?u*=u*u*u:4===p&&(u*=u*u*u*u),m.ratio=1===d?1-u:2===d?u:m._time/b<.5?u/2:1-u/2):h||(m.ratio=m._ease.getRatio(m._time/b))),v!==m._time||i||_!==m._cycle){if(!m._initted){if(m._init(),!m._initted||m._gc)return;if(!i&&m._firstPT&&(!1!==m.vars.lazy&&m._duration||m.vars.lazy&&!m._duration))return m._time=v,m._totalTime=y,m._rawPrevTime=w,m._cycle=_,l.lazyTweens.push(m),void(m._lazy=[e,t]);!m._time||r||h?r&&this._ease._calcEnd&&!h&&(m.ratio=m._ease.getRatio(0===m._time?0:1)):m.ratio=m._ease.getRatio(m._time/b)}for(!1!==m._lazy&&(m._lazy=!1),m._active||!m._paused&&m._time!==v&&e>=0&&(m._active=!0),0===y&&(2===m._initted&&e>0&&m._init(),m._startAt&&(e>=0?m._startAt.render(e,!0,i):s||(s="_dummyGS")),m.vars.onStart&&(0!==m._totalTime||0===b)&&(t||m._callback("onStart"))),o=m._firstPT;o;)o.f?o.t[o.p](o.c*m.ratio+o.s):o.t[o.p]=o.c*m.ratio+o.s,o=o._next;m._onUpdate&&(0>e&&m._startAt&&m._startTime&&m._startAt.render(e,!0,i),t||(m._totalTime!==y||s)&&m._callback("onUpdate")),m._cycle!==_&&(t||m._gc||m.vars.onRepeat&&m._callback("onRepeat")),s&&(!m._gc||i)&&(0>e&&m._startAt&&!m._onUpdate&&m._startTime&&m._startAt.render(e,!0,i),r&&(m._timeline.autoRemoveChildren&&m._enabled(!1,!1),m._active=!1),!t&&m.vars[s]&&m._callback(s),0===b&&m._rawPrevTime===a&&f!==a&&(m._rawPrevTime=0))}else y!==m._totalTime&&m._onUpdate&&(t||m._callback("onUpdate"))},o.to=function(e,t,n){return new o(e,t,n)},o.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new o(e,t,n)},o.fromTo=function(e,t,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new o(e,t,i)},o.staggerTo=o.allTo=function(e,t,a,l,d,f,h){var m,g,v,y,_=[],b=s(a.stagger||l),w=a.cycle,x=(a.startAt||p).cycle;for(u(e)||("string"==typeof e&&(e=n.selector(e)||e),c(e)&&(e=i(e))),m=(e=e||[]).length-1,v=0;m>=v;v++){for(y in g={},a)g[y]=a[y];if(w&&(r(g,e,v),null!=g.duration&&(t=g.duration,delete g.duration)),x){for(y in x=g.startAt={},a.startAt)x[y]=a.startAt[y];r(g.startAt,e,v)}g.delay=b(v,e[v],e)+(g.delay||0),v===m&&d&&(g.onComplete=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),d.apply(h||a.callbackScope||this,f||p)}),_[v]=new o(e[v],t,g)}return _},o.staggerFrom=o.allFrom=function(e,t,n,i,r,s,a){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,o.staggerTo(e,t,n,i,r,s,a)},o.staggerFromTo=o.allFromTo=function(e,t,n,i,r,s,a,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,o.staggerTo(e,t,i,r,s,a,l)},o.delayedCall=function(e,t,n,i,r){return new o(t,0,{delay:e,onComplete:t,onCompleteParams:n,callbackScope:i,onReverseComplete:t,onReverseCompleteParams:n,immediateRender:!1,useFrames:r,overwrite:0})},o.set=function(e,t){return new o(e,0,t)},o.isTweening=function(e){return n.getTweensOf(e,!0).length>0};var f=function(e,t){for(var i=[],r=0,s=e._first;s;)s instanceof n?i[r++]=s:(t&&(i[r++]=s),r=(i=i.concat(f(s,t))).length),s=s._next;return i},h=o.getAllTweens=function(t){return f(e._rootTimeline,t).concat(f(e._rootFramesTimeline,t))};o.killAll=function(e,n,i,r){null==n&&(n=!0),null==i&&(i=!0);var s,o,a,l=h(0!=r),c=l.length,u=n&&i&&r;for(a=0;c>a;a++)o=l[a],(u||o instanceof t||(s=o.target===o.vars.onComplete)&&i||n&&!s)&&(e?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},o.killChildTweensOf=function(e,t){if(null!=e){var r,s,a,d,p,f=l.tweenLookup;if("string"==typeof e&&(e=n.selector(e)||e),c(e)&&(e=i(e)),u(e))for(d=e.length;--d>-1;)o.killChildTweensOf(e[d],t);else{for(a in r=[],f)for(s=f[a].target.parentNode;s;)s===e&&(r=r.concat(f[a].tweens)),s=s.parentNode;for(p=r.length,d=0;p>d;d++)t&&r[d].totalTime(r[d].totalDuration()),r[d]._enabled(!1,!1)}}};var m=function(e,n,i,r){n=!1!==n,i=!1!==i;for(var s,o,a=h(r=!1!==r),l=n&&i&&r,c=a.length;--c>-1;)o=a[c],(l||o instanceof t||(s=o.target===o.vars.onComplete)&&i||n&&!s)&&o.paused(e)};return o.pauseAll=function(e,t,n){m(!0,e,t,n)},o.resumeAll=function(e,t,n){m(!1,e,t,n)},o.globalTimeScale=function(t){var i=e._rootTimeline,r=n.ticker.time;return arguments.length?(t=t||a,i._startTime=r-(r-i._startTime)*i._timeScale/t,i=e._rootFramesTimeline,r=n.ticker.frame,i._startTime=r-(r-i._startTime)*i._timeScale/t,i._timeScale=e._rootTimeline._timeScale=t,t):i._timeScale},d.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()},d.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},d.time=function(e,t){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var n=this._duration,i=this._cycle,r=i*(n+this._repeatDelay);return e>n&&(e=n),this.totalTime(this._yoyo&&1&i?n-e+r:this._repeat?e+r:e,t)},d.duration=function(t){return arguments.length?e.prototype.duration.call(this,t):this._duration},d.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},d.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},d.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},d.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},o},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(e,t,n){var i=function(e){t.call(this,e);var n,i,r=this,s=r.vars;for(i in r._labels={},r.autoRemoveChildren=!!s.autoRemoveChildren,r.smoothChildTiming=!!s.smoothChildTiming,r._sortChildren=!0,r._onUpdate=s.onUpdate,s)n=s[i],l(n)&&-1!==n.join("").indexOf("{self}")&&(s[i]=r._swapSelfInParams(n));l(s.tweens)&&r.add(s.tweens,0,s.align,s.stagger)},r=1e-8,s=n._internals,o=i._internals={},a=s.isSelector,l=s.isArray,c=s.lazyTweens,u=s.lazyRender,d=_gsScope._gsDefine.globals,p=function(e){var t,n={};for(t in e)n[t]=e[t];return n},f=function(e,t,n){var i,r,s=e.cycle;for(i in s)r=s[i],e[i]="function"==typeof r?r(n,t[n],t):r[n%r.length];delete e.cycle},h=o.pauseCallback=function(){},m=function(e,t,n,i){var r="immediateRender";return r in t||(t[r]=!(n&&!1===n[r]||i)),t},g=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},n=t.ease,i=t.from||0,r=t.base||0,s={},o=isNaN(i),a=t.axis,l={center:.5,end:1}[i]||0;return function(e,c,u){var d,p,f,h,m,g,v,y,_,b=(u||t).length,w=s[b];if(!w){if(!(_="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=u[_++].getBoundingClientRect().left)&&b>_;);_--}for(w=s[b]=[],d=o?Math.min(_,b)*l-.5:i%_,p=o?b*l/_-.5:i/_|0,v=0,y=1/0,g=0;b>g;g++)f=g%_-d,h=p-(g/_|0),w[g]=m=a?Math.abs("y"===a?h:f):Math.sqrt(f*f+h*h),m>v&&(v=m),y>m&&(y=m);w.max=v-y,w.min=y,w.v=b=t.amount||t.each*(_>b?b:a?"y"===a?b/_:_:Math.max(_,b/_))||0,w.b=0>b?r-b:r}return b=(w[e]-w.min)/w.max,w.b+(n?n.getRatio(b):b)*w.v}},v=i.prototype=new t;return i.version="2.1.2",i.distribute=g,v.constructor=i,v.kill()._gc=v._forcingPlayhead=v._hasPause=!1,v.to=function(e,t,i,r){var s=i.repeat&&d.TweenMax||n;return t?this.add(new s(e,t,i),r):this.set(e,i,r)},v.from=function(e,t,i,r){return this.add((i.repeat&&d.TweenMax||n).from(e,t,m(0,i)),r)},v.fromTo=function(e,t,i,r,s){var o=r.repeat&&d.TweenMax||n;return r=m(0,r,i),t?this.add(o.fromTo(e,t,i,r),s):this.set(e,r,s)},v.staggerTo=function(e,t,r,s,o,l,c,u){var d,h,m=new i({onComplete:l,onCompleteParams:c,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),v=g(r.stagger||s),y=r.startAt,_=r.cycle;for("string"==typeof e&&(e=n.selector(e)||e),a(e=e||[])&&(e=function(e){var t,n=[],i=e.length;for(t=0;t!==i;n.push(e[t++]));return n}(e)),h=0;h(s=o._startTime-o._delay)&&(r=1),l.add(o,s)),o=a;return c.add(l,0),r&&l.totalDuration(),l},v.add=function(r,s,o,a){var c,u,d,p,f,h,m=this;if("number"!=typeof s&&(s=m._parseTimeOrLabel(s,0,!0,r)),!(r instanceof e)){if(r instanceof Array||r&&r.push&&l(r)){for(o=o||"normal",a=a||0,c=s,u=r.length,d=0;u>d;d++)l(p=r[d])&&(p=new i({tweens:p})),m.add(p,c),"string"!=typeof p&&"function"!=typeof p&&("sequence"===o?c=p._startTime+p.totalDuration()/p._timeScale:"start"===o&&(p._startTime-=p.delay())),c+=a;return m._uncache(!0)}if("string"==typeof r)return m.addLabel(r,s);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=n.delayedCall(0,r)}if(t.prototype.add.call(m,r,s),(r._time||!r._duration&&r._initted)&&(c=(m.rawTime()-r._startTime)*r._timeScale,(!r._duration||Math.abs(Math.max(0,Math.min(r.totalDuration(),c)))-r._totalTime>1e-5)&&r.render(c,!1,!1)),(m._gc||m._time===m._duration)&&!m._paused&&m._durationr._startTime;f._timeline;)h&&f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._gc&&f._enabled(!0,!1),f=f._timeline;return m},v.remove=function(t){if(t instanceof e){this._remove(t,!1);var n=t._timeline=t.vars.useFrames?e._rootFramesTimeline:e._rootTimeline;return t._startTime=(t._paused?t._pauseTime:n._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&l(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},v._remove=function(e,n){return t.prototype._remove.call(this,e,n),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},v.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},v.insert=v.insertMultiple=function(e,t,n,i){return this.add(e,t||0,n,i)},v.appendMultiple=function(e,t,n,i){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),n,i)},v.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},v.addPause=function(e,t,i,r){var s=n.delayedCall(0,h,i,r||this);return s.vars.onComplete=s.vars.onReverseComplete=t,s.data="isPause",this._hasPause=!0,this.add(s,e)},v.removeLabel=function(e){return delete this._labels[e],this},v.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},v._parseTimeOrLabel=function(t,n,i,r){var s,o;if(r instanceof e&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(o=r.length;--o>-1;)r[o]instanceof e&&r[o].timeline===this&&this.remove(r[o]);if(s="number"!=typeof t||n?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof n)return this._parseTimeOrLabel(n,i&&"number"==typeof t&&null==this._labels[n]?t-s:0,i);if(n=n||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=s);else{if(-1===(o=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=s+n:n:this._labels[t]+n;n=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=o>1?this._parseTimeOrLabel(t.substr(0,o-1),0,i):s}return Number(t)+n},v.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},v.stop=function(){return this.paused(!0)},v.gotoAndPlay=function(e,t){return this.play(e,t)},v.gotoAndStop=function(e,t){return this.pause(e,t)},v.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var i,s,o,a,l,d,p,f,h=this,m=h._time,g=h._dirty?h.totalDuration():h._totalDuration,v=h._startTime,y=h._timeScale,_=h._paused;if(m!==h._time&&(e+=h._time-m),e>=g-r&&e>=0)h._totalTime=h._time=g,h._reversed||h._hasPausedChild()||(s=!0,a="onComplete",l=!!h._timeline.autoRemoveChildren,0===h._duration&&(0>=e&&e>=-r||h._rawPrevTime<0||h._rawPrevTime===r)&&h._rawPrevTime!==e&&h._first&&(l=!0,h._rawPrevTime>r&&(a="onReverseComplete"))),h._rawPrevTime=h._duration||!t||e||h._rawPrevTime===e?e:r,e=g+1e-4;else if(r>e)if(h._totalTime=h._time=0,e>-r&&(e=0),(0!==m||0===h._duration&&h._rawPrevTime!==r&&(h._rawPrevTime>0||0>e&&h._rawPrevTime>=0))&&(a="onReverseComplete",s=h._reversed),0>e)h._active=!1,h._timeline.autoRemoveChildren&&h._reversed?(l=s=!0,a="onReverseComplete"):h._rawPrevTime>=0&&h._first&&(l=!0),h._rawPrevTime=e;else{if(h._rawPrevTime=h._duration||!t||e||h._rawPrevTime===e?e:r,0===e&&s)for(i=h._first;i&&0===i._startTime;)i._duration||(s=!1),i=i._next;e=0,h._initted||(l=!0)}else{if(h._hasPause&&!h._forcingPlayhead&&!t){if(e>=m)for(i=h._first;i&&i._startTime<=e&&!d;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===h._rawPrevTime||(d=i),i=i._next;else for(i=h._last;i&&i._startTime>=e&&!d;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(d=i),i=i._prev;d&&(h._time=h._totalTime=e=d._startTime,f=h._startTime+e/h._timeScale)}h._totalTime=h._time=h._rawPrevTime=e}if(h._time!==m&&h._first||n||l||d){if(h._initted||(h._initted=!0),h._active||!h._paused&&h._time!==m&&e>0&&(h._active=!0),0===m&&h.vars.onStart&&(0===h._time&&h._duration||t||h._callback("onStart")),(p=h._time)>=m)for(i=h._first;i&&(o=i._next,p===h._time&&(!h._paused||_));)(i._active||i._startTime<=p&&!i._paused&&!i._gc)&&(d===i&&(h.pause(),h._pauseTime=f),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)),i=o;else for(i=h._last;i&&(o=i._prev,p===h._time&&(!h._paused||_));){if(i._active||i._startTime<=m&&!i._paused&&!i._gc){if(d===i){for(d=i._prev;d&&d.endTime()>h._time;)d.render(d._reversed?d.totalDuration()-(e-d._startTime)*d._timeScale:(e-d._startTime)*d._timeScale,t,n),d=d._prev;d=null,h.pause(),h._pauseTime=f}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)}i=o}h._onUpdate&&(t||(c.length&&u(),h._callback("onUpdate"))),a&&(h._gc||(v===h._startTime||y!==h._timeScale)&&(0===h._time||g>=h.totalDuration())&&(s&&(c.length&&u(),h._timeline.autoRemoveChildren&&h._enabled(!1,!1),h._active=!1),!t&&h.vars[a]&&h._callback(a)))}},v._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof i&&e._hasPausedChild())return!0;e=e._next}return!1},v.getChildren=function(e,t,i,r){r=r||-9999999999;for(var s=[],o=this._first,a=0;o;)o._startTime-1;)(i[r].timeline===this||t&&this._contains(i[r]))&&(o[a++]=i[r]);return s&&this._enabled(!1,!0),o},v.recent=function(){return this._recent},v._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},v.shiftChildren=function(e,t,n){n=n||0;for(var i,r=this._first,s=this._labels;r;)r._startTime>=n&&(r._startTime+=e),r=r._next;if(t)for(i in s)s[i]>=n&&(s[i]+=e);return this._uncache(!0)},v._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var n=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(e,t)&&(r=!0);return r},v.clear=function(e){var t=this.getChildren(!1,!0,!0),n=t.length;for(this._time=this._totalTime=0;--n>-1;)t[n]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},v.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},v._enabled=function(e,n){if(e===this._gc)for(var i=this._first;i;)i._enabled(e,!0),i=i._next;return t.prototype._enabled.call(this,e,n)},v.totalTime=function(t,n,i){this._forcingPlayhead=!0;var r=e.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},v.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},v.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,n,i=0,r=this,s=r._last,o=999999999999;s;)t=s._prev,s._dirty&&s.totalDuration(),s._startTime>o&&r._sortChildren&&!s._paused&&!r._calculatingDuration?(r._calculatingDuration=1,r.add(s,s._startTime-s._delay),r._calculatingDuration=0):o=s._startTime,s._startTime<0&&!s._paused&&(i-=s._startTime,r._timeline.smoothChildTiming&&(r._startTime+=s._startTime/r._timeScale,r._time-=s._startTime,r._totalTime-=s._startTime,r._rawPrevTime-=s._startTime),r.shiftChildren(-s._startTime,!1,-9999999999),o=0),(n=s._startTime+s._totalDuration/s._timeScale)>i&&(i=n),s=t;r._duration=r._totalDuration=i,r._dirty=!1}return this._totalDuration}return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this},v.paused=function(t){if(!1===t&&this._paused)for(var n=this._first;n;)n._startTime===this._time&&"isPause"===n.data&&(n._rawPrevTime=0),n=n._next;return e.prototype.paused.apply(this,arguments)},v.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===e._rootFramesTimeline},v.rawTime=function(e){return e&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(e)-this._startTime)*this._timeScale},i},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,t,n){var i=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},r=1e-8,s=t._internals,o=s.lazyTweens,a=s.lazyRender,l=_gsScope._gsDefine.globals,c=new n(null,null,1,0),u=i.prototype=new e;return u.constructor=i,u.kill()._gc=!1,i.version="2.1.2",u.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},u.addCallback=function(e,n,i,r){return this.add(t.delayedCall(0,e,i,r),n)},u.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var n=this.getTweensOf(e,!1),i=n.length,r=this._parseTimeOrLabel(t);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},u.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},u.tweenTo=function(e,n){n=n||{};var i,r,s,o={ease:c,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=n.repeat&&l.TweenMax||t;for(r in n)o[r]=n[r];return o.time=this._parseTimeOrLabel(e),i=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,s=new a(this,i,o),o.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||i!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),n.onStart&&n.onStart.apply(n.onStartScope||n.callbackScope||s,n.onStartParams||[])},s},u.tweenFromTo=function(e,t,n){n=n||{},e=this._parseTimeOrLabel(e),n.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(t,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-e)/this._timeScale||.001)},u.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var i,s,l,c,u,d,p,f,h,m=this,g=m._time,v=m._dirty?m.totalDuration():m._totalDuration,y=m._duration,_=m._totalTime,b=m._startTime,w=m._timeScale,x=m._rawPrevTime,T=m._paused,S=m._cycle;if(g!==m._time&&(e+=m._time-g),e>=v-r&&e>=0)m._locked||(m._totalTime=v,m._cycle=m._repeat),m._reversed||m._hasPausedChild()||(s=!0,c="onComplete",u=!!m._timeline.autoRemoveChildren,0===m._duration&&(0>=e&&e>=-r||0>x||x===r)&&x!==e&&m._first&&(u=!0,x>r&&(c="onReverseComplete"))),m._rawPrevTime=m._duration||!t||e||m._rawPrevTime===e?e:r,m._yoyo&&1&m._cycle?m._time=e=0:(m._time=y,e=y+1e-4);else if(r>e)if(m._locked||(m._totalTime=m._cycle=0),m._time=0,e>-r&&(e=0),(0!==g||0===y&&x!==r&&(x>0||0>e&&x>=0)&&!m._locked)&&(c="onReverseComplete",s=m._reversed),0>e)m._active=!1,m._timeline.autoRemoveChildren&&m._reversed?(u=s=!0,c="onReverseComplete"):x>=0&&m._first&&(u=!0),m._rawPrevTime=e;else{if(m._rawPrevTime=y||!t||e||m._rawPrevTime===e?e:r,0===e&&s)for(i=m._first;i&&0===i._startTime;)i._duration||(s=!1),i=i._next;e=0,m._initted||(u=!0)}else if(0===y&&0>x&&(u=!0),m._time=m._rawPrevTime=e,m._locked||(m._totalTime=e,0!==m._repeat&&(d=y+m._repeatDelay,m._cycle=m._totalTime/d|0,m._cycle&&m._cycle===m._totalTime/d&&e>=_&&m._cycle--,m._time=m._totalTime-m._cycle*d,m._yoyo&&1&m._cycle&&(m._time=y-m._time),m._time>y?(m._time=y,e=y+1e-4):m._time<0?m._time=e=0:e=m._time)),m._hasPause&&!m._forcingPlayhead&&!t){if((e=m._time)>=g||m._repeat&&S!==m._cycle)for(i=m._first;i&&i._startTime<=e&&!p;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===m._rawPrevTime||(p=i),i=i._next;else for(i=m._last;i&&i._startTime>=e&&!p;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(p=i),i=i._prev;p&&(h=m._startTime+p._startTime/m._timeScale,p._startTime0&&(m._active=!0),0===_&&m.vars.onStart&&(0===m._totalTime&&m._totalDuration||t||m._callback("onStart")),(f=m._time)>=g)for(i=m._first;i&&(l=i._next,f===m._time&&(!m._paused||T));)(i._active||i._startTime<=m._time&&!i._paused&&!i._gc)&&(p===i&&(m.pause(),m._pauseTime=h),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)),i=l;else for(i=m._last;i&&(l=i._prev,f===m._time&&(!m._paused||T));){if(i._active||i._startTime<=g&&!i._paused&&!i._gc){if(p===i){for(p=i._prev;p&&p.endTime()>m._time;)p.render(p._reversed?p.totalDuration()-(e-p._startTime)*p._timeScale:(e-p._startTime)*p._timeScale,t,n),p=p._prev;p=null,m.pause(),m._pauseTime=h}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)}i=l}m._onUpdate&&(t||(o.length&&a(),m._callback("onUpdate"))),c&&(m._locked||m._gc||(b===m._startTime||w!==m._timeScale)&&(0===m._time||v>=m.totalDuration())&&(s&&(o.length&&a(),m._timeline.autoRemoveChildren&&m._enabled(!1,!1),m._active=!1),!t&&m.vars[c]&&m._callback(c)))}else _!==m._totalTime&&m._onUpdate&&(t||m._callback("onUpdate"))},u.getActive=function(e,t,n){var i,r,s=[],o=this.getChildren(e||null==e,t||null==e,!!n),a=0,l=o.length;for(i=0;l>i;i++)(r=o[i]).isActive()&&(s[a++]=r);return s},u.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,n=this.getLabelsArray(),i=n.length;for(t=0;i>t;t++)if(n[t].time>e)return n[t].name;return null},u.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),n=t.length;--n>-1;)if(t[n].timen&&(e=n),this.totalTime(this._yoyo&&1&i?n-e+r:this._repeat?e+r:e,t)},u.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},u.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},u.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},u.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+r)},i},!0),function(){var e=180/Math.PI,t=[],n=[],i=[],r={},s=_gsScope._gsDefine.globals,o=function(e,t,n,i){n===i&&(n=i-(i-t)/1e6),e===t&&(t=e+(n-e)/1e6),this.a=e,this.b=t,this.c=n,this.d=i,this.da=i-e,this.ca=n-e,this.ba=t-e},a=function(e,t,n,i){var r={a:e},s={},o={},a={c:i},l=(e+t)/2,c=(t+n)/2,u=(n+i)/2,d=(l+c)/2,p=(c+u)/2,f=(p-d)/8;return r.b=l+(e-l)/4,s.b=d+f,r.c=s.a=(r.b+s.b)/2,s.c=o.a=(d+p)/2,o.b=p-f,a.b=u+(i-u)/4,o.c=a.a=(o.b+a.b)/2,[r,s,o,a]},l=function(e,r,s,o,l){var c,u,d,p,f,h,m,g,v,y,_,b,w,x=e.length-1,T=0,S=e[0].a;for(c=0;x>c;c++)u=(f=e[T]).a,d=f.d,p=e[T+1].d,l?(_=t[c],w=((b=n[c])+_)*r*.25/(o?.5:i[c]||.5),g=d-((h=d-(d-u)*(o?.5*r:0!==_?w/_:0))+(((m=d+(p-d)*(o?.5*r:0!==b?w/b:0))-h)*(3*_/(_+b)+.5)/4||0))):g=d-((h=d-(d-u)*r*.5)+(m=d+(p-d)*r*.5))/2,h+=g,m+=g,f.c=v=h,f.b=0!==c?S:S=f.a+.6*(f.c-f.a),f.da=d-u,f.ca=v-u,f.ba=S-u,s?(y=a(u,S,v,d),e.splice(T,1,y[0],y[1],y[2],y[3]),T+=4):T++,S=m;(f=e[T]).b=S,f.c=S+.4*(f.d-S),f.da=f.d-f.a,f.ca=f.c-f.a,f.ba=S-f.a,s&&(y=a(f.a,S,f.c,f.d),e.splice(T,1,y[0],y[1],y[2],y[3]))},c=function(e,i,r,s){var a,l,c,u,d,p,f=[];if(s)for(l=(e=[s].concat(e)).length;--l>-1;)"string"==typeof(p=e[l][i])&&"="===p.charAt(1)&&(e[l][i]=s[i]+Number(p.charAt(0)+p.substr(2)));if(0>(a=e.length-2))return f[0]=new o(e[0][i],0,0,e[0][i]),f;for(l=0;a>l;l++)c=e[l][i],u=e[l+1][i],f[l]=new o(c,0,0,u),r&&(d=e[l+2][i],t[l]=(t[l]||0)+(u-c)*(u-c),n[l]=(n[l]||0)+(d-u)*(d-u));return f[l]=new o(e[l][i],0,0,e[l+1][i]),f},u=function(e,s,o,a,u,d){var p,f,h,m,g,v,y,_,b={},w=[],x=d||e[0];for(f in u="string"==typeof u?","+u+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1),e[0])w.push(f);if(e.length>1){for(_=e[e.length-1],y=!0,p=w.length;--p>-1;)if(f=w[p],Math.abs(x[f]-_[f])>.05){y=!1;break}y&&(e=e.concat(),d&&e.unshift(d),e.push(e[1]),d=e[e.length-3])}for(t.length=n.length=i.length=0,p=w.length;--p>-1;)f=w[p],r[f]=-1!==u.indexOf(","+f+","),b[f]=c(e,f,r[f],d);for(p=t.length;--p>-1;)t[p]=Math.sqrt(t[p]),n[p]=Math.sqrt(n[p]);if(!a){for(p=w.length;--p>-1;)if(r[f])for(v=(h=b[w[p]]).length-1,m=0;v>m;m++)g=h[m+1].da/n[m]+h[m].da/t[m]||0,i[m]=(i[m]||0)+g*g;for(p=i.length;--p>-1;)i[p]=Math.sqrt(i[p])}for(p=w.length,m=o?4:1;--p>-1;)h=b[f=w[p]],l(h,s,o,a,r[f]),y&&(h.splice(0,m),h.splice(h.length-m,m));return b},d=function(e,t,n){var i,r,s,a,l,c,u,d,p,f,h,m={},g="cubic"===(t=t||"soft")?3:2,v="soft"===t,y=[];if(v&&n&&(e=[n].concat(e)),null==e||e.length-1;){for(m[p=y[c]]=l=[],f=0,d=e.length,u=0;d>u;u++)i=null==n?e[u][p]:"string"==typeof(h=e[u][p])&&"="===h.charAt(1)?n[p]+Number(h.charAt(0)+h.substr(2)):Number(h),v&&u>1&&d-1>u&&(l[f++]=(i+l[f-2])/2),l[f++]=i;for(d=f-g+1,f=0,u=0;d>u;u+=g)i=l[u],r=l[u+1],s=l[u+2],a=2===g?0:l[u+3],l[f++]=h=3===g?new o(i,r,s,a):new o(i,(2*r+i)/3,(2*r+s)/3,s);l.length=f}return m},p=function(e,t,n){for(var i,r,s,o,a,l,c,u,d,p,f,h=1/n,m=e.length;--m>-1;)for(s=(p=e[m]).a,o=p.d-s,a=p.c-s,l=p.b-s,i=r=0,u=1;n>=u;u++)i=r-(r=((c=h*u)*c*o+3*(d=1-c)*(c*a+d*l))*c),t[f=m*n+u-1]=(t[f]||0)+i*i},f=function(e,t){var n,i,r,s,o=[],a=[],l=0,c=0,u=(t=0|t||6)-1,d=[],f=[];for(n in e)p(e[n],o,t);for(r=o.length,i=0;r>i;i++)l+=Math.sqrt(o[i]),f[s=i%t]=l,s===u&&(c+=l,d[s=i/t|0]=f,a[s]=c,l=0,f=[]);return{length:c,lengths:a,segments:d}},h=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(e,t,n){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var i,r,s,o,a,l=t.values||[],c={},p=l[0],h=t.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,p)this._props.push(i);for(s=this._props.length;--s>-1;)i=this._props[s],this._overwriteProps.push(i),r=this._func[i]="function"==typeof e[i],c[i]=r?e[i.indexOf("set")||"function"!=typeof e["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(e[i]),a||c[i]!==l[0][i]&&(a=c);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?u(l,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,a):d(l,t.type,c),this._segCount=this._beziers[i].length,this._timeRes){var m=f(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),s=h.length;--s>-1;){for(o=0;3>o;o++)i=h[s][o],this._func[i]="function"==typeof e[i]&&e[i.indexOf("set")||"function"!=typeof e["get"+i.substr(3)]?i:"get"+i.substr(3)];i=h[s][2],this._initialRotations[s]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var n,i,r,s,o,a,l,c,u,d,p=this._segCount,f=this._func,h=this._target,m=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,d=this._curSeg,t*=this._length,r=this._li,t>this._l2&&p-1>r){for(c=p-1;c>r&&(this._l2=u[++r])<=t;);this._l1=u[r-1],this._li=r,this._curSeg=d=this._segments[r],this._s2=d[this._s1=this._si=0]}else if(t0){for(;r>0&&(this._l1=u[--r])>=t;);0===r&&tthis._s2&&rr&&(this._s2=d[++r])<=t;);this._s1=d[r-1],this._si=r}else if(t0){for(;r>0&&(this._s1=d[--r])>=t;);0===r&&tt?0:t>=1?p-1:p*t|0)*(1/p))*p;for(i=1-a,r=this._props.length;--r>-1;)s=this._props[r],l=(a*a*(o=this._beziers[s][n]).da+3*i*(a*o.ca+i*o.ba))*a+o.a,this._mod[s]&&(l=this._mod[s](l,h)),f[s]?h[s](l):h[s]=l;if(this._autoRotate){var g,v,y,_,b,w,x,T=this._autoRotate;for(r=T.length;--r>-1;)s=T[r][2],w=T[r][3]||0,x=!0===T[r][4]?1:e,o=this._beziers[T[r][0]],g=this._beziers[T[r][1]],o&&g&&(o=o[n],g=g[n],v=o.a+(o.b-o.a)*a,v+=((_=o.b+(o.c-o.b)*a)-v)*a,_+=(o.c+(o.d-o.c)*a-_)*a,y=g.a+(g.b-g.a)*a,y+=((b=g.b+(g.c-g.b)*a)-y)*a,b+=(g.c+(g.d-g.c)*a-b)*a,l=m?Math.atan2(b-y,_-v)*x+w:this._initialRotations[r],this._mod[s]&&(l=this._mod[s](l,h)),f[s]?h[s](l):h[s]=l)}}}),m=h.prototype;h.bezierThrough=u,h.cubicToQuadratic=a,h._autoCSS=!0,h.quadraticToCubic=function(e,t,n){return new o(e,(2*t+e)/3,(2*t+n)/3,n)},h._cssRegister=function(){var e=s.CSSPlugin;if(e){var t=e._internals,n=t._parseToProxy,i=t._setPluginRatio,r=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,s,o,a,l){t instanceof Array&&(t={values:t}),l=new h;var c,u,d,p=t.values,f=p.length-1,m=[],g={};if(0>f)return a;for(c=0;f>=c;c++)d=n(e,p[c],o,a,l,f!==c),m[c]=d.end;for(u in t)g[u]=t[u];return g.values=m,(a=new r(e,"bezier",0,0,d.pt,2)).data=d,a.plugin=l,a.setRatio=i,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=d.end.left?[["left","top","rotation",c,!1]]:null!=d.end.x&&[["x","y","rotation",c,!1]]),g.autoRotate&&(o._transform||o._enableTransforms(!1),d.autoRotate=o._target._gsTransform,d.proxy.rotation=d.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(d.proxy,g,o._tween),a}})}},m._mod=function(e){for(var t,n=this._overwriteProps,i=n.length;--i>-1;)(t=e[n[i]])&&"function"==typeof t&&(this._mod[n[i]]=t)},m._kill=function(e){var t,n,i=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],n=i.length;--n>-1;)i[n]===t&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)e[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,e)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(e,t){var n,i,r,s,o=function(){e.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},c=o.prototype=new e("css");c.constructor=o,o.version="2.1.0",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,c="px",o.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c,lineHeight:""};var u,d,p,f,h,m,g,v,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,_=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,k=/alpha\(opacity *=.+?\)/i,E=/^(rgb|hsl)/,C=/([A-Z])/g,A=/-([a-z])/gi,P=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,O=function(e,t){return t.toUpperCase()},M=/(?:Left|Right|Width)/i,L=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,I=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,R=/,(?=[^\)]*(?:\(|$))/gi,D=/[\s,\(]/i,z=Math.PI/180,N=180/Math.PI,j={},F={style:{}},B=_gsScope.document||{createElement:function(){return F}},q=function(e,t){return t&&B.createElementNS?B.createElementNS(t,e):B.createElement(e)},U=q("div"),H=q("img"),$=o._internals={_specialProps:l},W=(_gsScope.navigator||{}).userAgent||"",X=function(){var e=W.indexOf("Android"),t=q("a");return p=-1!==W.indexOf("Safari")&&-1===W.indexOf("Chrome")&&(-1===e||parseFloat(W.substr(e+8,2))>3),h=p&&parseFloat(W.substr(W.indexOf("Version/")+8,2))<6,f=-1!==W.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(W)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(W))&&(m=parseFloat(RegExp.$1)),!!t&&(t.style.cssText="top:1px;opacity:.55;",/^0.55/.test(t.style.opacity))}(),Y=function(e){return T.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(e){_gsScope.console&&console.log(e)},K="",V="",Q=function(e,t){var n,i,r=(t=t||U).style;if(void 0!==r[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+e];);return i>=0?(K="-"+(V=3===i?"ms":n[i]).toLowerCase()+"-",V+e):null},J="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},Z=function(e){return J.getComputedStyle(e)},ee=o.getStyle=function(e,t,n,i,r){var s;return X||"opacity"!==t?(!i&&e.style[t]?s=e.style[t]:(n=n||Z(e))?s=n[t]||n.getPropertyValue(t)||n.getPropertyValue(t.replace(C,"-$1").toLowerCase()):e.currentStyle&&(s=e.currentStyle[t]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):Y(e)},te=$.convertToPixels=function(e,n,i,r,s){if("px"===r||!r&&"lineHeight"!==n)return i;if("auto"===r||!i)return 0;var a,l,c,u=M.test(n),d=e,p=U.style,f=0>i,h=1===i;if(f&&(i=-i),h&&(i*=100),"lineHeight"!==n||r)if("%"===r&&-1!==n.indexOf("border"))a=i/100*(u?e.clientWidth:e.clientHeight);else{if(p.cssText="border:0 solid red;position:"+ee(e,"position")+";line-height:0;","%"!==r&&d.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)p[u?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(d=e.parentNode||B.body,-1!==ee(d,"display").indexOf("flex")&&(p.position="absolute"),l=d._gsCache,c=t.ticker.frame,l&&u&&l.time===c)return l.width*i/100;p[u?"width":"height"]=i+r}d.appendChild(U),a=parseFloat(U[u?"offsetWidth":"offsetHeight"]),d.removeChild(U),u&&"%"===r&&!1!==o.cacheWidths&&((l=d._gsCache=d._gsCache||{}).time=c,l.width=a/i*100),0!==a||s||(a=te(e,n,i,r,!0))}else l=Z(e).lineHeight,e.style.lineHeight=i,a=parseFloat(Z(e).lineHeight),e.style.lineHeight=l;return h&&(a/=100),f?-a:a},ne=$.calculateOffset=function(e,t,n){if("absolute"!==ee(e,"position",n))return 0;var i="left"===t?"Left":"Top",r=ee(e,"margin"+i,n);return e["offset"+i]-(te(e,t,parseFloat(r),r.replace(x,""))||0)},ie=function(e,t){var n,i,r,s={};if(t=t||Z(e))if(n=t.length)for(;--n>-1;)(-1===(r=t[n]).indexOf("-transform")||Oe===r)&&(s[r.replace(A,O)]=t.getPropertyValue(r));else for(n in t)(-1===n.indexOf("Transform")||Pe===n)&&(s[n]=t[n]);else if(t=e.currentStyle||e.style)for(n in t)"string"==typeof n&&void 0===s[n]&&(s[n.replace(A,O)]=t[n]);return X||(s.opacity=Y(e)),i=He(e,t,!1),s.rotation=i.rotation,s.skewX=i.skewX,s.scaleX=i.scaleX,s.scaleY=i.scaleY,s.x=i.x,s.y=i.y,Le&&(s.z=i.z,s.rotationX=i.rotationX,s.rotationY=i.rotationY,s.scaleZ=i.scaleZ),s.filters&&delete s.filters,s},re=function(e,t,n,i,r){var s,o,a,l={},c=e.style;for(o in n)"cssText"!==o&&"length"!==o&&isNaN(o)&&(t[o]!==(s=n[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof t[o]||""===t[o].replace(w,"")?s:0:ne(e,o),void 0!==c[o]&&(a=new _e(c,o,c[o],a)));if(i)for(o in i)"className"!==o&&(l[o]=i[o]);return{difs:l,firstMPT:a}},se={width:["Left","Right"],height:["Top","Bottom"]},oe=["marginLeft","marginRight","marginTop","marginBottom"],ae=function(e,t,n){if("svg"===(e.nodeName+"").toLowerCase())return(n||Z(e))[t]||0;if(e.getCTM&&Be(e))return e.getBBox()[t]||0;var i=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),r=se[t],s=r.length;for(n=n||Z(e);--s>-1;)i-=parseFloat(ee(e,"padding"+r[s],n,!0))||0,i-=parseFloat(ee(e,"border"+r[s]+"Width",n,!0))||0;return i},le=function(e,t){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";(null==e||""===e)&&(e="0 0");var n,i=e.split(" "),r=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":i[0],s=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":i[1];if(i.length>3&&!t){for(i=e.split(", ").join(",").split(","),e=[],n=0;n2?" "+i[2]:""),t&&(t.oxp=-1!==r.indexOf("%"),t.oyp=-1!==s.indexOf("%"),t.oxr="="===r.charAt(1),t.oyr="="===s.charAt(1),t.ox=parseFloat(r.replace(w,"")),t.oy=parseFloat(s.replace(w,"")),t.v=e),t||e},ce=function(e,t){return"function"==typeof e&&(e=e(v,g)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0},ue=function(e,t){"function"==typeof e&&(e=e(v,g));var n="string"==typeof e&&"="===e.charAt(1);return"string"==typeof e&&"v"===e.charAt(e.length-2)&&(e=(n?e.substr(0,2):0)+window["inner"+("vh"===e.substr(-2)?"Height":"Width")]*(parseFloat(n?e.substr(2):e)/100)),null==e?t:n?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0},de=function(e,t,n,i){var r,s,o,a,l,c=1e-6;return"function"==typeof e&&(e=e(v,g)),null==e?a=t:"number"==typeof e?a=e:(r=360,s=e.split("_"),o=((l="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===e.indexOf("rad")?1:N)-(l?0:t),s.length&&(i&&(i[n]=t+o),-1!==e.indexOf("short")&&(o%=r)!==o%180&&(o=0>o?o+r:o-r),-1!==e.indexOf("_cw")&&0>o?o=(o+9999999999*r)%r-(o/r|0)*r:-1!==e.indexOf("ccw")&&o>0&&(o=(o-9999999999*r)%r-(o/r|0)*r)),a=t+o),c>a&&a>-c&&(a=0),a},pe={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},fe=function(e,t,n){return 255*(1>6*(e=0>e?e+1:e>1?e-1:e)?t+(n-t)*e*6:.5>e?n:2>3*e?t+(n-t)*(2/3-e)*6:t)+.5|0},he=o.parseColor=function(e,t){var n,i,r,s,o,a,l,c,u,d,p;if(e)if("number"==typeof e)n=[e>>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),pe[e])n=pe[e];else if("#"===e.charAt(0))4===e.length&&(i=e.charAt(1),r=e.charAt(2),s=e.charAt(3),e="#"+i+i+r+r+s+s),n=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(n=p=e.match(y),t){if(-1!==e.indexOf("="))return e.match(_)}else o=Number(n[0])%360/360,a=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=.5>=l?l*(a+1):l+a-l*a),n.length>3&&(n[3]=Number(n[3])),n[0]=fe(o+1/3,i,r),n[1]=fe(o,i,r),n[2]=fe(o-1/3,i,r);else n=e.match(y)||pe.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=pe.black;return t&&!p&&(i=n[0]/255,r=n[1]/255,s=n[2]/255,l=((c=Math.max(i,r,s))+(u=Math.min(i,r,s)))/2,c===u?o=a=0:(d=c-u,a=l>.5?d/(2-c-u):d/(c+u),o=c===i?(r-s)/d+(s>r?6:0):c===r?(s-i)/d+2:(i-r)/d+4,o*=60),n[0]=o+.5|0,n[1]=100*a+.5|0,n[2]=100*l+.5|0),n},me=function(e,t){var n,i,r,s=e.match(ge)||[],o=0,a="";if(!s.length)return e;for(n=0;n0?o[0].replace(y,""):"";return u?r=t?function(e){var t,p,f,h;if("number"==typeof e)e+=d;else if(i&&R.test(e)){for(h=e.replace(R,"|").split("|"),f=0;ff--)for(;++fp--)for(;++pl;l++)a[e[l]]=c[l]=c[l]||c[(l-1)/2|0];return r.parse(t,a,s,o)}},_e=($._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,n,i,r,s,o=this.data,a=o.proxy,l=o.firstMPT,c=1e-6;l;)t=a[l.v],l.r?t=l.r(t):c>t&&t>-c&&(t=0),l.t[l.p]=t,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===e||0===e)for(l=o.firstMPT,s=1===e?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i0;)l="xn"+o,f[a=i.p+"_"+l]=i.data[l],p[a]=i[l],s||(c=new _e(i,l,a,c,i.rxp[l]));i=i._next}return{proxy:p,end:f,firstMPT:c,pt:u}},$.CSSPropTween=function(e,t,i,r,o,a,l,c,u,d,p){this.t=e,this.p=t,this.s=i,this.c=r,this.n=l||t,e instanceof be||s.push(this.n),this.r=c?"function"==typeof c?c:Math.round:c,this.type=a||0,u&&(this.pr=u,n=!0),this.b=void 0===d?i:d,this.e=void 0===p?i+r:p,o&&(this._next=o,o._prev=this)}),we=function(e,t,n,i,r,s){var o=new be(e,t,n,i-n,r,-1,s);return o.b=n,o.e=o.xs0=i,o},xe=o.parseComplex=function(e,t,n,i,r,s,a,l,c,d){n=n||s||"","function"==typeof i&&(i=i(v,g)),a=new be(e,t,0,0,a,d?2:1,null,!1,l,n,i),i+="",r&&ge.test(i+n)&&(i=[n,i],o.colorStringFilter(i),n=i[0],i=i[1]);var p,f,h,m,b,w,x,T,S,k,E,C,A,P=n.split(", ").join(",").split(" "),O=i.split(", ").join(",").split(" "),M=P.length,L=!1!==u;for((-1!==i.indexOf(",")||-1!==n.indexOf(","))&&(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(P=P.join(" ").replace(R,", ").split(" "),O=O.join(" ").replace(R,", ").split(" ")):(P=P.join(" ").split(",").join(", ").split(" "),O=O.join(" ").split(",").join(", ").split(" ")),M=P.length),M!==O.length&&(M=(P=(s||"").split(" ")).length),a.plugin=c,a.setRatio=d,ge.lastIndex=0,p=0;M>p;p++)if(m=P[p],b=O[p]+"",(T=parseFloat(m))||0===T)a.appendXtra("",T,ce(b,T),b.replace(_,""),!(!L||-1===b.indexOf("px"))&&Math.round,!0);else if(r&&ge.test(m))C=")"+((C=b.indexOf(")")+1)?b.substr(C):""),A=-1!==b.indexOf("hsl")&&X,k=b,m=he(m,A),b=he(b,A),(S=m.length+b.length>6)&&!X&&0===b[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(O[p]).join("transparent")):(X||(S=!1),A?a.appendXtra(k.substr(0,k.indexOf("hsl"))+(S?"hsla(":"hsl("),m[0],ce(b[0],m[0]),",",!1,!0).appendXtra("",m[1],ce(b[1],m[1]),"%,",!1).appendXtra("",m[2],ce(b[2],m[2]),S?"%,":"%"+C,!1):a.appendXtra(k.substr(0,k.indexOf("rgb"))+(S?"rgba(":"rgb("),m[0],b[0]-m[0],",",Math.round,!0).appendXtra("",m[1],b[1]-m[1],",",Math.round).appendXtra("",m[2],b[2]-m[2],S?",":C,Math.round),S&&(m=m.length<4?1:m[3],a.appendXtra("",m,(b.length<4?1:b[3])-m,C,!1))),ge.lastIndex=0;else if(w=m.match(y)){if(!(x=b.match(_))||x.length!==w.length)return a;for(h=0,f=0;f0;)c["xn"+Te]=0,c["xs"+Te]="";c.xs0="",c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null,c.appendXtra=function(e,t,n,i,r,s){var o=this,a=o.l;return o["xs"+a]+=s&&(a||o["xs"+a])?" "+e:e||"",n||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=i||"",a>0?(o.data["xn"+a]=t+n,o.rxp["xn"+a]=r,o["xn"+a]=t,o.plugin||(o.xfirst=new be(o,"xn"+a,t,n,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:t+n},o.rxp={},o.s=t,o.c=n,o.r=r,o)):(o["xs"+a]+=t+(i||""),o)};var Se=function(e,t){t=t||{},this.p=t.prefix&&Q(e)||e,l[e]=l[this.p]=this,this.format=t.formatter||ve(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.allowFunc=t.allowFunc,this.pr=t.priority||0},ke=$._registerComplexSpecialProp=function(e,t,n){"object"!=typeof t&&(t={parser:n});var i,r=e.split(","),s=t.defaultValue;for(n=n||[s],i=0;ia.length?l.length:a.length,o=0;c>o;o++)t=a[o]=a[o]||this.dflt,n=l[o]=l[o]||this.dflt,p&&(u=t.indexOf(p))!==(d=n.indexOf(p))&&(-1===d?a[o]=a[o].split(p).join(""):-1===u&&(a[o]+=" "+p));t=a.join(", "),n=l.join(", ")}return xe(e,this.p,t,n,this.clrs,this.dflt,i,this.pr,r,s)},c.parse=function(e,t,n,i,s,o,a){return this.parseComplex(e.style,this.format(ee(e,this.p,r,!1,this.dflt)),this.format(t),s,o)},o.registerSpecialProp=function(e,t,n){ke(e,{parser:function(e,i,r,s,o,a,l){var c=new be(e,r,0,0,o,2,r,!1,n);return c.plugin=a,c.setRatio=t(e,i,s._tween,r),c},priority:n})},o.useSVGTransformAttr=!0;var Ce,Ae="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Pe=Q("transform"),Oe=K+"transform",Me=Q("transformOrigin"),Le=null!==Q("perspective"),Ie=$.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Le)&&(o.defaultForce3D||"auto")},Re=_gsScope.SVGElement,De=function(e,t,n){var i,r=B.createElementNS("http://www.w3.org/2000/svg",e),s=/([a-z])([A-Z])/g;for(i in n)r.setAttributeNS(null,i.replace(s,"$1-$2").toLowerCase(),n[i]);return t.appendChild(r),r},ze=B.documentElement||{},Ne=function(){var e,t,n,i=m||/Android/i.test(W)&&!_gsScope.chrome;return B.createElementNS&&!i&&(e=De("svg",ze),n=(t=De("rect",e,{width:100,height:50,x:100})).getBoundingClientRect().width,t.style[Me]="50% 50%",t.style[Pe]="scaleX(0.5)",i=n===t.getBoundingClientRect().width&&!(f&&Le),ze.removeChild(e)),i}(),je=function(e,t,n,i,r,s){var a,l,c,u,d,p,f,h,m,g,v,y,_,b,w=e._gsTransform,x=Ue(e,!0);w&&(_=w.xOrigin,b=w.yOrigin),(!i||(a=i.split(" ")).length<2)&&(0===(f=e.getBBox()).x&&0===f.y&&f.width+f.height===0&&(f={x:parseFloat(e.hasAttribute("x")?e.getAttribute("x"):e.hasAttribute("cx")?e.getAttribute("cx"):0)||0,y:parseFloat(e.hasAttribute("y")?e.getAttribute("y"):e.hasAttribute("cy")?e.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(t=le(t).split(" "))[0].indexOf("%")?parseFloat(t[0])/100*f.width:parseFloat(t[0]))+f.x,(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*f.height:parseFloat(t[1]))+f.y]),n.xOrigin=u=parseFloat(a[0]),n.yOrigin=d=parseFloat(a[1]),i&&x!==qe&&(p=x[0],f=x[1],h=x[2],m=x[3],g=x[4],v=x[5],(y=p*m-f*h)&&(l=u*(m/y)+d*(-h/y)+(h*v-m*g)/y,c=u*(-f/y)+d*(p/y)-(p*v-f*g)/y,u=n.xOrigin=a[0]=l,d=n.yOrigin=a[1]=c)),w&&(s&&(n.xOffset=w.xOffset,n.yOffset=w.yOffset,w=n),r||!1!==r&&!1!==o.defaultSmoothOrigin?(l=u-_,c=d-b,w.xOffset+=l*x[0]+c*x[2]-l,w.yOffset+=l*x[1]+c*x[3]-c):w.xOffset=w.yOffset=0),s||e.setAttribute("data-svg-origin",a.join(" "))},Fe=function(e){var t,n=q("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,s=this.style.cssText;if(ze.appendChild(n),n.appendChild(this),this.style.display="block",e)try{t=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Fe}catch(e){}else this._originalGetBBox&&(t=this._originalGetBBox());return r?i.insertBefore(this,r):i.appendChild(this),ze.removeChild(n),this.style.cssText=s,t},Be=function(e){return!(!Re||!e.getCTM||e.parentNode&&!e.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return Fe.call(e,!0)}}(e))},qe=[1,0,0,1,0,0],Ue=function(e,t){var n,i,r,s,o,a,l,c=e._gsTransform||new Ie,u=1e5,d=e.style;if(Pe?i=ee(e,Oe,null,!0):e.currentStyle&&(i=(i=e.currentStyle.filter.match(L))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),c.x||0,c.y||0].join(","):""),n=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,Pe&&n&&!e.offsetParent&&(s=d.display,d.display="block",(l=e.parentNode)&&e.offsetParent||(o=1,a=e.nextSibling,ze.appendChild(e)),n=!(i=ee(e,Oe,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,s?d.display=s:Ye(d,"display"),o&&(a?l.insertBefore(e,a):l?l.appendChild(e):ze.removeChild(e))),(c.svg||e.getCTM&&Be(e))&&(n&&-1!==(d[Pe]+"").indexOf("matrix")&&(i=d[Pe],n=0),r=e.getAttribute("transform"),n&&r&&(i="matrix("+(r=e.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",n=0)),n)return qe;for(r=(i||"").match(y)||[],Te=r.length;--Te>-1;)s=Number(r[Te]),r[Te]=(o=s-(s|=0))?(o*u+(0>o?-.5:.5)|0)/u+s:s;return t&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},He=$.getTransform=function(e,n,i,r){if(e._gsTransform&&i&&!r)return e._gsTransform;var s,a,l,c,u,d,p=i&&e._gsTransform||new Ie,f=p.scaleX<0,h=2e-5,m=1e5,g=Le&&(parseFloat(ee(e,Me,n,!1,"0 0 0").split(" ")[2])||p.zOrigin)||0,v=parseFloat(o.defaultTransformPerspective)||0;if(p.svg=!(!e.getCTM||!Be(e)),p.svg&&(je(e,ee(e,Me,n,!1,"50% 50%")+"",p,e.getAttribute("data-svg-origin")),Ce=o.useSVGTransformAttr||Ne),(s=Ue(e))!==qe){if(16===s.length){var y,_,b,w,x,T=s[0],S=s[1],k=s[2],E=s[3],C=s[4],A=s[5],P=s[6],O=s[7],M=s[8],L=s[9],I=s[10],R=s[12],D=s[13],z=s[14],j=s[11],F=Math.atan2(P,I);p.zOrigin&&(R=M*(z=-p.zOrigin)-s[12],D=L*z-s[13],z=I*z+p.zOrigin-s[14]),p.rotationX=F*N,F&&(y=C*(w=Math.cos(-F))+M*(x=Math.sin(-F)),_=A*w+L*x,b=P*w+I*x,M=C*-x+M*w,L=A*-x+L*w,I=P*-x+I*w,j=O*-x+j*w,C=y,A=_,P=b),F=Math.atan2(-k,I),p.rotationY=F*N,F&&(_=S*(w=Math.cos(-F))-L*(x=Math.sin(-F)),b=k*w-I*x,L=S*x+L*w,I=k*x+I*w,j=E*x+j*w,T=y=T*w-M*x,S=_,k=b),F=Math.atan2(S,T),p.rotation=F*N,F&&(y=T*(w=Math.cos(F))+S*(x=Math.sin(F)),_=C*w+A*x,b=M*w+L*x,S=S*w-T*x,A=A*w-C*x,L=L*w-M*x,T=y,C=_,M=b),p.rotationX&&Math.abs(p.rotationX)+Math.abs(p.rotation)>359.9&&(p.rotationX=p.rotation=0,p.rotationY=180-p.rotationY),F=Math.atan2(C,A),p.scaleX=(Math.sqrt(T*T+S*S+k*k)*m+.5|0)/m,p.scaleY=(Math.sqrt(A*A+P*P)*m+.5|0)/m,p.scaleZ=(Math.sqrt(M*M+L*L+I*I)*m+.5|0)/m,T/=p.scaleX,C/=p.scaleY,S/=p.scaleX,A/=p.scaleY,Math.abs(F)>h?(p.skewX=F*N,C=0,"simple"!==p.skewType&&(p.scaleY*=1/Math.cos(F))):p.skewX=0,p.perspective=j?1/(0>j?-j:j):0,p.x=R,p.y=D,p.z=z,p.svg&&(p.x-=p.xOrigin-(p.xOrigin*T-p.yOrigin*C),p.y-=p.yOrigin-(p.yOrigin*S-p.xOrigin*A))}else if(!Le||r||!s.length||p.x!==s[4]||p.y!==s[5]||!p.rotationX&&!p.rotationY){var B=s.length>=6,q=B?s[0]:1,U=s[1]||0,H=s[2]||0,$=B?s[3]:1;p.x=s[4]||0,p.y=s[5]||0,l=Math.sqrt(q*q+U*U),c=Math.sqrt($*$+H*H),u=q||U?Math.atan2(U,q)*N:p.rotation||0,d=H||$?Math.atan2(H,$)*N+u:p.skewX||0,p.scaleX=l,p.scaleY=c,p.rotation=u,p.skewX=d,Le&&(p.rotationX=p.rotationY=p.z=0,p.perspective=v,p.scaleZ=1),p.svg&&(p.x-=p.xOrigin-(p.xOrigin*q+p.yOrigin*H),p.y-=p.yOrigin-(p.xOrigin*U+p.yOrigin*$))}for(a in Math.abs(p.skewX)>90&&Math.abs(p.skewX)<270&&(f?(p.scaleX*=-1,p.skewX+=p.rotation<=0?180:-180,p.rotation+=p.rotation<=0?180:-180):(p.scaleY*=-1,p.skewX+=p.skewX<=0?180:-180)),p.zOrigin=g,p)p[a]-h&&(p[a]=0)}return i&&(e._gsTransform=p,p.svg&&(Ce&&e.style[Pe]?t.delayedCall(.001,function(){Ye(e.style,Pe)}):!Ce&&e.getAttribute("transform")&&t.delayedCall(.001,function(){e.removeAttribute("transform")}))),p},$e=function(e){var t,n,i=this.data,r=-i.rotation*z,s=r+i.skewX*z,o=1e5,a=(Math.cos(r)*i.scaleX*o|0)/o,l=(Math.sin(r)*i.scaleX*o|0)/o,c=(Math.sin(s)*-i.scaleY*o|0)/o,u=(Math.cos(s)*i.scaleY*o|0)/o,d=this.t.style,p=this.t.currentStyle;if(p){n=l,l=-c,c=-n,t=p.filter,d.filter="";var f,h,g=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==p.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+c+", M22="+u,b=i.x+g*i.xPercent/100,w=i.y+v*i.yPercent/100;if(null!=i.ox&&(b+=(f=(i.oxp?g*i.ox*.01:i.ox)-g/2)-(f*a+(h=(i.oyp?v*i.oy*.01:i.oy)-v/2)*l),w+=h-(f*c+h*u)),_+=y?", Dx="+((f=g/2)-(f*a+(h=v/2)*l)+b)+", Dy="+(h-(f*c+h*u)+w)+")":", sizingMethod='auto expand')",-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?d.filter=t.replace(I,_):d.filter=_+" "+t,(0===e||1===e)&&1===a&&0===l&&0===c&&1===u&&(y&&-1===_.indexOf("Dx=0, Dy=0")||T.test(t)&&100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&d.removeAttribute("filter")),!y){var S,k,E,C=8>m?1:-1;for(f=i.ieOffsetX||0,h=i.ieOffsetY||0,i.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*v))/2+b),i.ieOffsetY=Math.round((v-((0>u?-u:u)*v+(0>c?-c:c)*g))/2+w),Te=0;4>Te;Te++)E=(n=-1!==(S=p[k=oe[Te]]).indexOf("px")?parseFloat(S):te(this.t,k,parseFloat(S),S.replace(x,""))||0)!==i[k]?2>Te?-i.ieOffsetX:-i.ieOffsetY:2>Te?f-i.ieOffsetX:h-i.ieOffsetY,d[k]=(i[k]=Math.round(n-E*(0===Te||2===Te?1:C)))+"px"}}},We=$.set3DTransformRatio=$.setTransformRatio=function(e){var t,n,i,r,s,o,a,l,c,u,d,p,h,m,g,v,y,_,b,w,x,T,S,k=this.data,E=this.t.style,C=k.rotation,A=k.rotationX,P=k.rotationY,O=k.scaleX,M=k.scaleY,L=k.scaleZ,I=k.x,R=k.y,D=k.z,N=k.svg,j=k.perspective,F=k.force3D,B=k.skewY,q=k.skewX;if(B&&(q+=B,C+=B),!((1!==e&&0!==e||"auto"!==F||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&F||D||j||P||A||1!==L)||Ce&&N||!Le)C||q||N?(C*=z,T=q*z,S=1e5,n=Math.cos(C)*O,s=Math.sin(C)*O,i=Math.sin(C-T)*-M,o=Math.cos(C-T)*M,T&&"simple"===k.skewType&&(t=Math.tan(T-B*z),i*=t=Math.sqrt(1+t*t),o*=t,B&&(t=Math.tan(B*z),n*=t=Math.sqrt(1+t*t),s*=t)),N&&(I+=k.xOrigin-(k.xOrigin*n+k.yOrigin*i)+k.xOffset,R+=k.yOrigin-(k.xOrigin*s+k.yOrigin*o)+k.yOffset,Ce&&(k.xPercent||k.yPercent)&&(g=this.t.getBBox(),I+=.01*k.xPercent*g.width,R+=.01*k.yPercent*g.height),(g=1e-6)>I&&I>-g&&(I=0),g>R&&R>-g&&(R=0)),b=(n*S|0)/S+","+(s*S|0)/S+","+(i*S|0)/S+","+(o*S|0)/S+","+I+","+R+")",N&&Ce?this.t.setAttribute("transform","matrix("+b):E[Pe]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix(":"matrix(")+b):E[Pe]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix(":"matrix(")+O+",0,0,"+M+","+I+","+R+")";else{if(f&&((g=1e-4)>O&&O>-g&&(O=L=2e-5),g>M&&M>-g&&(M=L=2e-5),!j||k.z||k.rotationX||k.rotationY||(j=0)),C||q)C*=z,v=n=Math.cos(C),y=s=Math.sin(C),q&&(C-=q*z,v=Math.cos(C),y=Math.sin(C),"simple"===k.skewType&&(t=Math.tan((q-B)*z),v*=t=Math.sqrt(1+t*t),y*=t,k.skewY&&(t=Math.tan(B*z),n*=t=Math.sqrt(1+t*t),s*=t))),i=-y,o=v;else{if(!(P||A||1!==L||j||N))return void(E[Pe]=(k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) translate3d(":"translate3d(")+I+"px,"+R+"px,"+D+"px)"+(1!==O||1!==M?" scale("+O+","+M+")":""));n=o=1,i=s=0}u=1,r=a=l=c=d=p=0,h=j?-1/j:0,m=k.zOrigin,g=1e-6,w=",",x="0",(C=P*z)&&(v=Math.cos(C),l=-(y=Math.sin(C)),d=h*-y,r=n*y,a=s*y,u=v,h*=v,n*=v,s*=v),(C=A*z)&&(t=i*(v=Math.cos(C))+r*(y=Math.sin(C)),_=o*v+a*y,c=u*y,p=h*y,r=i*-y+r*v,a=o*-y+a*v,u*=v,h*=v,i=t,o=_),1!==L&&(r*=L,a*=L,u*=L,h*=L),1!==M&&(i*=M,o*=M,c*=M,p*=M),1!==O&&(n*=O,s*=O,l*=O,d*=O),(m||N)&&(m&&(I+=r*-m,R+=a*-m,D+=u*-m+m),N&&(I+=k.xOrigin-(k.xOrigin*n+k.yOrigin*i)+k.xOffset,R+=k.yOrigin-(k.xOrigin*s+k.yOrigin*o)+k.yOffset),g>I&&I>-g&&(I=x),g>R&&R>-g&&(R=x),g>D&&D>-g&&(D=0)),b=k.xPercent||k.yPercent?"translate("+k.xPercent+"%,"+k.yPercent+"%) matrix3d(":"matrix3d(",b+=(g>n&&n>-g?x:n)+w+(g>s&&s>-g?x:s)+w+(g>l&&l>-g?x:l),b+=w+(g>d&&d>-g?x:d)+w+(g>i&&i>-g?x:i)+w+(g>o&&o>-g?x:o),A||P||1!==L?(b+=w+(g>c&&c>-g?x:c)+w+(g>p&&p>-g?x:p)+w+(g>r&&r>-g?x:r),b+=w+(g>a&&a>-g?x:a)+w+(g>u&&u>-g?x:u)+w+(g>h&&h>-g?x:h)+w):b+=",0,0,0,0,1,0,",b+=I+w+R+w+D+w+(j?1+-D/j:1)+")",E[Pe]=b}};(c=Ie.prototype).x=c.y=c.z=c.skewX=c.skewY=c.rotation=c.rotationX=c.rotationY=c.zOrigin=c.xPercent=c.yPercent=c.xOffset=c.yOffset=0,c.scaleX=c.scaleY=c.scaleZ=1,ke("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(e,t,n,i,s,a,l){if(i._lastParsedTransform===l)return s;i._lastParsedTransform=l;var c=l.scale&&"function"==typeof l.scale?l.scale:0;c&&(l.scale=c(v,e));var u,d,p,f,h,m,y,_,b,w=e._gsTransform,x=e.style,T=1e-6,S=Ae.length,k=l,E={},C="transformOrigin",A=He(e,r,!0,k.parseTransform),P=k.transform&&("function"==typeof k.transform?k.transform(v,g):k.transform);if(A.skewType=k.skewType||A.skewType||o.defaultSkewType,i._transform=A,"rotationZ"in k&&(k.rotation=k.rotationZ),P&&"string"==typeof P&&Pe)(d=U.style)[Pe]=P,d.display="block",d.position="absolute",-1!==P.indexOf("%")&&(d.width=ee(e,"width"),d.height=ee(e,"height")),B.body.appendChild(U),u=He(U,null,!1),"simple"===A.skewType&&(u.scaleY*=Math.cos(u.skewX*z)),A.svg&&(m=A.xOrigin,y=A.yOrigin,u.x-=A.xOffset,u.y-=A.yOffset,(k.transformOrigin||k.svgOrigin)&&(P={},je(e,le(k.transformOrigin),P,k.svgOrigin,k.smoothOrigin,!0),m=P.xOrigin,y=P.yOrigin,u.x-=P.xOffset-A.xOffset,u.y-=P.yOffset-A.yOffset),(m||y)&&(_=Ue(U,!0),u.x-=m-(m*_[0]+y*_[2]),u.y-=y-(m*_[1]+y*_[3]))),B.body.removeChild(U),u.perspective||(u.perspective=A.perspective),null!=k.xPercent&&(u.xPercent=ue(k.xPercent,A.xPercent)),null!=k.yPercent&&(u.yPercent=ue(k.yPercent,A.yPercent));else if("object"==typeof k){if(u={scaleX:ue(null!=k.scaleX?k.scaleX:k.scale,A.scaleX),scaleY:ue(null!=k.scaleY?k.scaleY:k.scale,A.scaleY),scaleZ:ue(k.scaleZ,A.scaleZ),x:ue(k.x,A.x),y:ue(k.y,A.y),z:ue(k.z,A.z),xPercent:ue(k.xPercent,A.xPercent),yPercent:ue(k.yPercent,A.yPercent),perspective:ue(k.transformPerspective,A.perspective)},null!=(h=k.directionalRotation))if("object"==typeof h)for(d in h)k[d]=h[d];else k.rotation=h;"string"==typeof k.x&&-1!==k.x.indexOf("%")&&(u.x=0,u.xPercent=ue(k.x,A.xPercent)),"string"==typeof k.y&&-1!==k.y.indexOf("%")&&(u.y=0,u.yPercent=ue(k.y,A.yPercent)),u.rotation=de("rotation"in k?k.rotation:"shortRotation"in k?k.shortRotation+"_short":A.rotation,A.rotation,"rotation",E),Le&&(u.rotationX=de("rotationX"in k?k.rotationX:"shortRotationX"in k?k.shortRotationX+"_short":A.rotationX||0,A.rotationX,"rotationX",E),u.rotationY=de("rotationY"in k?k.rotationY:"shortRotationY"in k?k.shortRotationY+"_short":A.rotationY||0,A.rotationY,"rotationY",E)),u.skewX=de(k.skewX,A.skewX),u.skewY=de(k.skewY,A.skewY)}for(Le&&null!=k.force3D&&(A.force3D=k.force3D,f=!0),(p=A.force3D||A.z||A.rotationX||A.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==k.scale||(u.scaleZ=1);--S>-1;)((P=u[b=Ae[S]]-A[b])>T||-T>P||null!=k[b]||null!=j[b])&&(f=!0,s=new be(A,b,A[b],P,s),b in E&&(s.e=E[b]),s.xs0=0,s.plugin=a,i._overwriteProps.push(s.n));return P="function"==typeof k.transformOrigin?k.transformOrigin(v,g):k.transformOrigin,A.svg&&(P||k.svgOrigin)&&(m=A.xOffset,y=A.yOffset,je(e,le(P),u,k.svgOrigin,k.smoothOrigin),s=we(A,"xOrigin",(w?A:u).xOrigin,u.xOrigin,s,C),s=we(A,"yOrigin",(w?A:u).yOrigin,u.yOrigin,s,C),(m!==A.xOffset||y!==A.yOffset)&&(s=we(A,"xOffset",w?m:A.xOffset,A.xOffset,s,C),s=we(A,"yOffset",w?y:A.yOffset,A.yOffset,s,C)),P="0px 0px"),(P||Le&&p&&A.zOrigin)&&(Pe?(f=!0,b=Me,P||(P=(P=(ee(e,b,r,!1,"50% 50%")+"").split(" "))[0]+" "+P[1]+" "+A.zOrigin+"px"),P+="",(s=new be(x,b,0,0,s,-1,C)).b=x[b],s.plugin=a,Le?(d=A.zOrigin,P=P.split(" "),A.zOrigin=(P.length>2?parseFloat(P[2]):d)||0,s.xs0=s.e=P[0]+" "+(P[1]||"50%")+" 0px",(s=new be(A,"zOrigin",0,0,s,-1,s.n)).b=d,s.xs0=s.e=A.zOrigin):s.xs0=s.e=P):le(P+"",A)),f&&(i._transformType=A.svg&&Ce||!p&&3!==this._transformType?2:3),c&&(l.scale=c),s},allowFunc:!0,prefix:!0}),ke("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ke("clipPath",{defaultValue:"inset(0px)",prefix:!0,multi:!0,formatter:ve("inset(0px 0px 0px 0px)",!1,!0)}),ke("borderRadius",{defaultValue:"0px",parser:function(e,t,n,s,o,a){t=this.format(t);var l,c,u,d,p,f,h,m,g,v,y,_,b,w,x,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],k=e.style;for(g=parseFloat(e.offsetWidth),v=parseFloat(e.offsetHeight),l=t.split(" "),c=0;cm?1:0))||""):(m=parseFloat(f),y=f.substr((m+"").length)),""===y&&(y=i[n]||_),y!==_&&(w=te(e,"borderLeft",h,_),x=te(e,"borderTop",h,_),"%"===y?(p=w/g*100+"%",d=x/v*100+"%"):"em"===y?(p=w/(T=te(e,"borderLeft",1,"em"))+"em",d=x/T+"em"):(p=w+"px",d=x+"px"),b&&(f=parseFloat(p)+m+y,u=parseFloat(d)+m+y)),o=xe(k,S[c],p+" "+d,f+" "+u,!1,"0px",o);return o},prefix:!0,formatter:ve("0px 0px 0px 0px",!1,!0)}),ke("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,t,n,i,s,o){return xe(e.style,n,this.format(ee(e,n,r,!1,"0px 0px")),this.format(t),!1,"0px",s)},prefix:!0,formatter:ve("0px 0px",!1,!0)}),ke("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,n,i,s,o){var a,l,c,u,d,p,f="background-position",h=r||Z(e),g=this.format((h?m?h.getPropertyValue(f+"-x")+" "+h.getPropertyValue(f+"-y"):h.getPropertyValue(f):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),v=this.format(t);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(p=ee(e,"backgroundImage").replace(P,""))&&"none"!==p){for(a=g.split(" "),l=v.split(" "),H.setAttribute("src",p),c=2;--c>-1;)(u=-1!==(g=a[c]).indexOf("%"))!=(-1!==l[c].indexOf("%"))&&(d=0===c?e.offsetWidth-H.width:e.offsetHeight-H.height,a[c]=u?parseFloat(g)/100*d+"px":parseFloat(g)/d*100+"%");g=a.join(" ")}return this.parseComplex(e.style,g,v,s,o)},formatter:le}),ke("backgroundSize",{defaultValue:"0 0",formatter:function(e){return"co"===(e+="").substr(0,2)?e:le(-1===e.indexOf(" ")?e+" "+e:e)}}),ke("perspective",{defaultValue:"0px",prefix:!0}),ke("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),ke("transformStyle",{prefix:!0}),ke("backfaceVisibility",{prefix:!0}),ke("userSelect",{prefix:!0}),ke("margin",{parser:ye("marginTop,marginRight,marginBottom,marginLeft")}),ke("padding",{parser:ye("paddingTop,paddingRight,paddingBottom,paddingLeft")}),ke("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,n,i,s,o){var a,l,c;return 9>m?(l=e.currentStyle,c=8>m?" ":",",a="rect("+l.clipTop+c+l.clipRight+c+l.clipBottom+c+l.clipLeft+")",t=this.format(t).split(",").join(c)):(a=this.format(ee(e,this.p,r,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,a,t,s,o)}}),ke("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),ke("autoRound,strictUnits",{parser:function(e,t,n,i,r){return r}}),ke("border",{defaultValue:"0px solid #000",parser:function(e,t,n,i,s,o){var a=ee(e,"borderTopWidth",r,!1,"0px"),l=this.format(t).split(" "),c=l[0].replace(x,"");return"px"!==c&&(a=parseFloat(a)/te(e,"borderTopWidth",1,c)+c),this.parseComplex(e.style,this.format(a+" "+ee(e,"borderTopStyle",r,!1,"solid")+" "+ee(e,"borderTopColor",r,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(ge)||["#000"])[0]}}),ke("borderWidth",{parser:ye("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),ke("float,cssFloat,styleFloat",{parser:function(e,t,n,i,r,s){var o=e.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new be(o,a,0,0,r,-1,n,!1,0,o[a],t)}});var Xe=function(e){var t,n=this.t,i=n.filter||ee(this.data,"filter")||"",r=this.s+this.c*e|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),t=!ee(this.data,"filter")):(n.filter=i.replace(k,""),t=!0)),t||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(T,"opacity="+r))};ke("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,n,i,s,o){var a=parseFloat(ee(e,"opacity",r,!1,"1")),l=e.style,c="autoAlpha"===n;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+a),c&&1===a&&"hidden"===ee(e,"visibility",r)&&0!==t&&(a=0),X?s=new be(l,"opacity",a,t-a,s):((s=new be(l,"opacity",100*a,100*(t-a),s)).xn1=c?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=e,s.plugin=o,s.setRatio=Xe),c&&((s=new be(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===t?"hidden":"inherit")).xs0="inherit",i._overwriteProps.push(s.n),i._overwriteProps.push(n)),s}});var Ye=function(e,t){t&&(e.removeProperty?(("ms"===t.substr(0,2)||"webkit"===t.substr(0,6))&&(t="-"+t),e.removeProperty(t.replace(C,"-$1").toLowerCase())):e.removeAttribute(t))},Ge=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,n=this.t.style;t;)t.v?n[t.p]=t.v:Ye(n,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};ke("className",{parser:function(e,t,i,s,o,a,l){var c,u,d,p,f,h=e.getAttribute("class")||"",m=e.style.cssText;if((o=s._classNamePT=new be(e,i,0,0,o,2)).setRatio=Ge,o.pr=-11,n=!0,o.b=h,u=ie(e,r),d=e._gsClassPT){for(p={},f=d.data;f;)p[f.p]=1,f=f._next;d.setRatio(1)}return e._gsClassPT=o,o.e="="!==t.charAt(1)?t:h.replace(new RegExp("(?:\\s|^)"+t.substr(2)+"(?![\\w-])"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),e.setAttribute("class",o.e),c=re(e,u,ie(e),l,p),e.setAttribute("class",h),o.data=c.firstMPT,e.style.cssText=m,o.xfirst=s.parse(e,c.difs,o,a)}});var Ke=function(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,n,i,r,s,o=this.t.style,a=l.transform.parse;if("all"===this.e)o.cssText="",r=!0;else for(i=(t=this.e.split(" ").join("").split(",")).length;--i>-1;)n=t[i],l[n]&&(l[n].parse===a?r=!0:n="transformOrigin"===n?Me:l[n].p),Ye(o,n);r&&(Ye(o,Pe),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(ke("clearProps",{parser:function(e,t,i,r,s){return(s=new be(e,i,0,0,s,2)).setRatio=Ke,s.e=t,s.pr=-10,s.data=r._tween,n=!0,s}}),c="bezier,throwProps,physicsProps,physics2D".split(","),Te=c.length;Te--;)Ee(c[Te]);(c=o.prototype)._firstPT=c._lastParsedTransform=c._transform=null,c._onInitTween=function(e,t,a,c){if(!e.nodeType)return!1;this._target=g=e,this._tween=a,this._vars=t,v=c,u=t.autoRound,n=!1,i=t.suffixMap||o.suffixMap,r=Z(e),s=this._overwriteProps;var f,m,y,_,b,w,x,T,k,E=e.style;if(d&&""===E.zIndex&&("auto"===(f=ee(e,"zIndex",r))||""===f)&&this._addLazySet(E,"zIndex",0),"string"==typeof t&&(_=E.cssText,f=ie(e,r),E.cssText=_+";"+t,f=re(e,f,ie(e)).difs,!X&&S.test(t)&&(f.opacity=parseFloat(RegExp.$1)),t=f,E.cssText=_),t.className?this._firstPT=m=l.className.parse(e,t.className,"className",this,null,null,t):this._firstPT=m=this.parse(e,t,null),this._transformType){for(k=3===this._transformType,Pe?p&&(d=!0,""===E.zIndex&&("auto"===(x=ee(e,"zIndex",r))||""===x)&&this._addLazySet(E,"zIndex",0),h&&this._addLazySet(E,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(k?"visible":"hidden"))):E.zoom=1,y=m;y&&y._next;)y=y._next;T=new be(e,"transform",0,0,null,2),this._linkCSSP(T,null,y),T.setRatio=Pe?We:$e,T.data=this._transform||He(e,r,!0),T.tween=a,T.pr=-1,s.pop()}if(n){for(;m;){for(w=m._next,y=_;y&&y.pr>m.pr;)y=y._next;(m._prev=y?y._prev:b)?m._prev._next=m:_=m,(m._next=y)?y._prev=m:b=m,m=w}this._firstPT=_}return!0},c.parse=function(e,t,n,s){var o,a,c,d,p,f,h,m,y,_,b=e.style;for(o in t){if(f=t[o],a=l[o],"function"!=typeof f||a&&a.allowFunc||(f=f(v,g)),a)n=a.parse(e,f,o,this,n,s,t);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,e.style,"setProperty",Z(e).getPropertyValue(o)+"",f+"",o,!1,o);continue}p=ee(e,o,r)+"",y="string"==typeof f,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||y&&E.test(f)?(y||(f=((f=he(f)).length>3?"rgba(":"rgb(")+f.join(",")+")"),n=xe(b,o,p,f,!0,"transparent",n,0,s)):y&&D.test(f)?n=xe(b,o,p,f,!0,null,n,0,s):(h=(c=parseFloat(p))||0===c?p.substr((c+"").length):"",(""===p||"auto"===p)&&("width"===o||"height"===o?(c=ae(e,o,r),h="px"):"left"===o||"top"===o?(c=ne(e,o,r),h="px"):(c="opacity"!==o?0:1,h="")),(_=y&&"="===f.charAt(1))?(d=parseInt(f.charAt(0)+"1",10),f=f.substr(2),d*=parseFloat(f),m=f.replace(x,"")):(d=parseFloat(f),m=y?f.replace(x,""):""),""===m&&(m=o in i?i[o]:h),f=d||0===d?(_?d+c:d)+m:t[o],h!==m&&(""!==m||"lineHeight"===o)&&(d||0===d)&&c&&(c=te(e,o,c,h),"%"===m?(c/=te(e,o,100,"%")/100,!0!==t.strictUnits&&(p=c+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?c/=te(e,o,1,m):"px"!==m&&(d=te(e,o,d,m),m="px"),_&&(d||0===d)&&(f=d+c+m)),_&&(d+=c),!c&&0!==c||!d&&0!==d?void 0!==b[o]&&(f||f+""!="NaN"&&null!=f)?(n=new be(b,o,d||c||0,0,n,-1,o,!1,0,p,f)).xs0="none"!==f||"display"!==o&&-1===o.indexOf("Style")?f:p:G("invalid "+o+" tween value: "+t[o]):(n=new be(b,o,c,d-c,n,0,o,!1!==u&&("px"===m||"zIndex"===o),0,p,f)).xs0=m)}s&&n&&!n.plugin&&(n.plugin=s)}return n},c.setRatio=function(e){var t,n,i,r=this._firstPT,s=1e-6;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(t=r.c*e+r.s,r.r?t=r.r(t):s>t&&t>-s&&(t=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+t+r.xs1,i=1;i-1;)Qe(e[r],t,n);else for(r=(i=e.childNodes).length;--r>-1;)o=(s=i[r]).type,s.style&&(t.push(ie(s)),n&&n.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Qe(s,t,n)};return o.cascadeTo=function(e,n,i){var r,s,o,a,l=t.to(e,n,i),c=[l],u=[],d=[],p=[],f=t._internals.reservedProps;for(e=l._targets||l.target,Qe(e,u,p),l.render(n,!0,!0),Qe(e,d),l.render(0,!0,!0),l._enabled(!0),r=p.length;--r>-1;)if((s=re(p[r],u[r],d[r])).firstMPT){for(o in s=s.difs,i)f[o]&&(s[o]=i[o]);for(o in a={},s)a[o]=u[r][o];c.push(t.fromTo(p[r],n,a,s))}return c},e.activate([o]),o},!0),e=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(e,t,n){return this._tween=n,!0}}),t=function(e){var t=1>e?Math.pow(10,(e+"").length-2):1;return function(n){return(Math.round(n/e)*e*t|0)/t}},n=function(e,t){for(;e;)e.f||e.blob||(e.m=t||Math.round),e=e._next},(i=e.prototype)._onInitAllProps=function(){var e,i,r,s,o=this._tween,a=o.vars.roundProps,l={},c=o._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),r=a.length;--r>-1;)l[a[r]]=Math.round;else for(s in a)l[s]=t(a[s]);for(s in l)for(e=o._firstPT;e;)i=e._next,e.pg?e.t._mod(l):e.n===s&&(2===e.f&&e.t?n(e.t._firstPT,l[s]):(this._add(e.t,s,e.s,e.c,l[s]),i&&(i._prev=e._prev),e._prev?e._prev._next=i:o._firstPT===e&&(o._firstPT=i),e._next=e._prev=null,o._propLookup[s]=c)),e=i;return!1},i._add=function(e,t,n,i,r){this._addTween(e,t,n,n+i,t,r||Math.round),this._overwriteProps.push(t)},_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(e,t,n,i){var r,s;if("function"!=typeof e.setAttribute)return!1;for(r in t)"function"==typeof(s=t[r])&&(s=s(i,e)),this._addTween(e,"setAttribute",e.getAttribute(r)+"",s+"",r,!1,r),this._overwriteProps.push(r);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(e,t,n,i){"object"!=typeof t&&(t={rotation:t}),this.finals={};var r,s,o,a,l,c,u=!0===t.useRadians?2*Math.PI:360,d=1e-6;for(r in t)"useRadians"!==r&&("function"==typeof(a=t[r])&&(a=a(i,e)),s=(c=(a+"").split("_"))[0],o=parseFloat("function"!=typeof e[r]?e[r]:e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(a=this.finals[r]="string"==typeof s&&"="===s.charAt(1)?o+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-o,c.length&&(-1!==(s=c.join("_")).indexOf("short")&&(l%=u)!==l%(u/2)&&(l=0>l?l+u:l-u),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(l>d||-d>l)&&(this._addTween(e,r,o,o+l,r),this._overwriteProps.push(r)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(e){var t,n,i,r,s=_gsScope.GreenSockGlobals||_gsScope,o=s.com.greensock,a=2*Math.PI,l=Math.PI/2,c=o._class,u=function(t,n){var i=c("easing."+t,function(){},!0),r=i.prototype=new e;return r.constructor=i,r.getRatio=n,i},d=e.register||function(){},p=function(e,t,n,i,r){var s=c("easing."+e,{easeOut:new t,easeIn:new n,easeInOut:new i},!0);return d(s,e),s},f=function(e,t,n){this.t=e,this.v=t,n&&(this.next=n,n.prev=this,this.c=n.v-t,this.gap=n.t-e)},h=function(t,n){var i=c("easing."+t,function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1},!0),r=i.prototype=new e;return r.constructor=i,r.getRatio=n,r.config=function(e){return new i(e)},i},m=p("Back",h("BackOut",function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1}),h("BackIn",function(e){return e*e*((this._p1+1)*e-this._p1)}),h("BackInOut",function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)})),g=c("easing.SlowMo",function(e,t,n){t=t||0===t?t:.7,null==e?e=.7:e>1&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===n},!0),v=g.prototype=new e;return v.constructor=g,v.getRatio=function(e){var t=e+(.5-e)*this._p;return ethis._p3?this._calcEnd?1===e?0:1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},g.ease=new g(.7,.7),v.config=g.config=function(e,t,n){return new g(e,t,n)},t=c("easing.SteppedEase",function(e,t){e=e||1,this._p1=1/e,this._p2=e+(t?0:1),this._p3=t?1:0},!0),(v=t.prototype=new e).constructor=t,v.getRatio=function(e){return 0>e?e=0:e>=1&&(e=.999999999),((this._p2*e|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},n=c("easing.ExpoScaleEase",function(e,t,n){this._p1=Math.log(t/e),this._p2=t-e,this._p3=e,this._ease=n},!0),(v=n.prototype=new e).constructor=n,v.getRatio=function(e){return this._ease&&(e=this._ease.getRatio(e)),(this._p3*Math.exp(this._p1*e)-this._p3)/this._p2},v.config=n.config=function(e,t,i){return new n(e,t,i)},i=c("easing.RoughEase",function(t){for(var n,i,r,s,o,a,l=(t=t||{}).taper||"none",c=[],u=0,d=0|(t.points||20),p=d,h=!1!==t.randomize,m=!0===t.clamp,g=t.template instanceof e?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--p>-1;)n=h?Math.random():1/d*p,i=g?g.getRatio(n):n,r="none"===l?v:"out"===l?(s=1-n)*s*v:"in"===l?n*n*v:.5>n?(s=2*n)*s*.5*v:(s=2*(1-n))*s*.5*v,h?i+=Math.random()*r-.5*r:p%2?i+=.5*r:i-=.5*r,m&&(i>1?i=1:0>i&&(i=0)),c[u++]={x:n,y:i};for(c.sort(function(e,t){return e.x-t.x}),a=new f(1,1,null),p=d;--p>-1;)o=c[p],a=new f(o.x,o.y,a);this._prev=new f(0,0,0!==a.t?a:a.next)},!0),(v=i.prototype=new e).constructor=i,v.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},v.config=function(e){return new i(e)},i.ease=new i,p("Bounce",u("BounceOut",function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),u("BounceIn",function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:2/2.75>e?1-(7.5625*(e-=1.5/2.75)*e+.75):2.5/2.75>e?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),u("BounceInOut",function(e){var t=.5>e;return e=1/2.75>(e=t?1-2*e:2*e-1)?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),p("Circ",u("CircOut",function(e){return Math.sqrt(1-(e-=1)*e)}),u("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),u("CircInOut",function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),r=function(t,n,i){var r=c("easing."+t,function(e,t){this._p1=e>=1?e:1,this._p2=(t||i)/(1>e?e:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=r.prototype=new e;return s.constructor=r,s.getRatio=n,s.config=function(e,t){return new r(e,t)},r},p("Elastic",r("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1},.3),r("ElasticIn",function(e){return-this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)},.3),r("ElasticInOut",function(e){return(e*=2)<1?this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2)*.5+1},.45)),p("Expo",u("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),u("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),u("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),p("Sine",u("SineOut",function(e){return Math.sin(e*l)}),u("SineIn",function(e){return 1-Math.cos(e*l)}),u("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),c("easing.EaseLookup",{find:function(t){return e.map[t]}},!0),d(s.SlowMo,"SlowMo","ease,"),d(i,"RoughEase","ease,"),d(t,"SteppedEase","ease,"),m},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(e,t){"use strict";var n={},i=e.document,r=e.GreenSockGlobals=e.GreenSockGlobals||e,s=r[t];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var o,a,l,c,u,d=function(e){var t,n=e.split("."),i=r;for(t=0;t-1;)(u=v[s[m]]||new y(s[m],[])).gsClass?(l[m]=u.gsClass,g--):c&&u.sc.push(this);if(0===g&&o){if(f=(p=("com.greensock."+i).split(".")).pop(),h=d(p.join("."))[f]=this.gsClass=o.apply(o,l),a)if(r[f]=n[f]=h,"undefined"!=typeof module&&module.exports)if(i===t)for(m in module.exports=n[t]=h,n)h[m]=n[m];else n[t]&&(n[t][f]=h);else"function"==typeof define&&define.amd&&define((e.GreenSockAMDPath?e.GreenSockAMDPath+"/":"")+i.split(".").pop(),[],function(){return h});for(m=0;m-1;)for(s=l[c],r=i?b("easing."+s,null,!0):p.easing[s]||{},o=u.length;--o>-1;)a=u[o],T[s+"."+a]=T[a+s]=r[a]=e.getRatio?e:e[a]||new e};for((l=x.prototype)._calcEnd=!1,l.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,n=this._power,i=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===t?1-i:2===t?i:.5>e?i/2:1-i/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=o[a]+",Power"+a,S(new x(null,null,1,a),l,"easeOut",!0),S(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),S(new x(null,null,3,a),l,"easeInOut");T.linear=p.easing.Linear.easeIn,T.swing=p.easing.Quad.easeInOut;var k=b("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});(l=k.prototype).addEventListener=function(e,t,n,i,r){r=r||0;var s,o,a=this._listeners[e],l=0;for(this!==c||u||c.wake(),null==a&&(this._listeners[e]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===t&&s.s===n?a.splice(o,1):0===l&&s.pr-1;)if(i[n].c===t)return void i.splice(n,1)},l.dispatchEvent=function(e){var t,n,i,r=this._listeners[e];if(r)for((t=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--t>-1;)(i=r[t])&&(i.up?i.c.call(i.s||n,{type:e,target:n}):i.c.call(i.s||n))};var E=e.requestAnimationFrame,C=e.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},P=A();for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!E;)E=e[o[a]+"RequestAnimationFrame"],C=e[o[a]+"CancelAnimationFrame"]||e[o[a]+"CancelRequestAnimationFrame"];b("Ticker",function(e,t){var n,r,s,o,a,l=this,d=A(),p=!(!1===t||!E)&&"auto",h=500,g=33,v=function(e){var t,i,c=A()-P;c>h&&(d+=c-g),P+=c,l.time=(P-d)/1e3,t=l.time-a,(!n||t>0||!0===e)&&(l.frame++,a+=t+(t>=o?.004:o-t),i=!0),!0!==e&&(s=r(v)),i&&l.dispatchEvent("tick")};k.call(l),l.time=l.frame=0,l.tick=function(){v(!0)},l.lagSmoothing=function(e,t){return arguments.length?(h=e||1/f,void(g=Math.min(t,h,0))):1/f>h},l.sleep=function(){null!=s&&(p&&C?C(s):clearTimeout(s),r=m,s=null,l===c&&(u=!1))},l.wake=function(e){null!==s?l.sleep():e?d+=-P+(P=A()):l.frame>10&&(P=A()-h+5),r=0===n?m:p&&E?E:function(e){return setTimeout(e,1e3*(a-l.time)+1|0)},l===c&&(u=!0),v(2)},l.fps=function(e){return arguments.length?(o=1/((n=e)||60),a=this.time+o,void l.wake()):n},l.useRAF=function(e){return arguments.length?(l.sleep(),p=e,void l.fps(n)):p},l.fps(e),setTimeout(function(){"auto"===p&&l.frame<5&&"hidden"!==(i||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var O=b("core.Animation",function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,V){u||c.wake();var n=this.vars.useFrames?K:V;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});c=O.ticker=new p.Ticker,(l=O.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var M=function(){u&&A()-P>2e3&&("hidden"!==(i||{}).visibilityState||!c.lagSmoothing())&&c.wake();var e=setTimeout(M,2e3);e.unref&&e.unref()};M(),l.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},l.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},l.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},l.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},l.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},l.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},l.render=function(e,t,n){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var e,t=this._timeline,n=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=n&&e-1;)"{self}"===e[t]&&(n[t]=this);return n},l._callback=function(e){var t=this.vars,n=t[e],i=t[e+"Params"],r=t[e+"Scope"]||t.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},l.eventCallback=function(e,t,n,i){if("on"===(e||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[e];null==t?delete r[e]:(r[e]=t,r[e+"Params"]=g(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[e+"Scope"]=i),"onUpdate"===e&&(this._onUpdate=t)}return this},l.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},l.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:e,t)):this._time},l.totalTime=function(e,t,n){if(u||c.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>e&&!n&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(e>i&&!n&&(e=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-e:e)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&(D.length&&J(),this.render(e,t,!1),D.length&&J())}return this},l.progress=l.totalProgress=function(e,t){var n=this.duration();return arguments.length?this.totalTime(n*e,t):n?this._time/n:this.ratio},l.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},l.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,n;for(e=e||f,this._timeline&&this._timeline.smoothChildTiming&&(n=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/e),this._timeScale=e,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},l.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(e){if(!arguments.length)return this._paused;var t,n,i=this._timeline;return e!=this._paused&&i&&(u||e||c.wake(),n=(t=i.rawTime())-this._pauseTime,!e&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==n&&this._initted&&this.duration()&&(t=i.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var L=b("core.SimpleTimeline",function(e){O.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=L.prototype=new O).constructor=L,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(e,t,n,i){var r,s;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=this.rawTime()-(e._timeline.rawTime()-e._pauseTime)),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),r=this._last,this._sortChildren)for(s=e._startTime;r&&r._startTime>s;)r=r._prev;return r?(e._next=r._next,r._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=r,this._recent=e,this._timeline&&this._uncache(!0),this},l._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(e,t,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;r;)i=r._next,(r._active||e>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,n):r.render((e-r._startTime)*r._timeScale,t,n)),r=i},l.rawTime=function(){return u||c.wake(),this._totalTime};var I=b("TweenLite",function(t,n,i){if(O.call(this,n,i),this.render=I.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:I.selector(t)||t;var r,s,o,a=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?G[I.defaultOverwrite]:"number"==typeof l?0|l:G[l],(a||t instanceof Array||t.push&&g(t))&&"number"!=typeof t[0])for(this._targets=o=h(t),this._propLookup=[],this._siblings=[],r=0;r1&&te(s,this,null,1,this._siblings[r])):"string"==typeof(s=o[r--]=I.selector(s))&&o.splice(r+1,1):o.splice(r--,1);else this._propLookup={},this._siblings=Z(t,this,!1),1===l&&this._siblings.length>1&&te(t,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-f,this.render(Math.min(0,-this._delay)))},!0),R=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)};(l=I.prototype=new O).constructor=I,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,I.version="2.1.2",I.defaultEase=l._ease=new x(null,null,1,1),I.defaultOverwrite="auto",I.ticker=c,I.autoSleep=120,I.lagSmoothing=function(e,t){c.lagSmoothing(e,t)},I.selector=e.$||e.jQuery||function(t){var n=e.$||e.jQuery;return n?(I.selector=n,n(t)):(i||(i=e.document),i?i.querySelectorAll?i.querySelectorAll(t):i.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var D=[],z={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+-]=-?[\.\d]/,F=function(e){for(var t,n=this._firstPT,i=1e-6;n;)t=n.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:n.c*e+n.s,n.m?t=n.m.call(this._tween,t,this._target||n.t,this._tween):i>t&&t>-i&&!n.blob&&(t=0),n.f?n.fp?n.t[n.p](n.fp,t):n.t[n.p](t):n.t[n.p]=t,n=n._next},B=function(e){return(1e3*e|0)/1e3+""},q=function(e,t,n,i){var r,s,o,a,l,c,u,d=[],p=0,f="",h=0;for(d.start=e,d.end=t,e=d[0]=e+"",t=d[1]=t+"",n&&(n(d),e=d[0],t=d[1]),d.length=0,r=e.match(N)||[],s=t.match(N)||[],i&&(i._next=null,i.blob=1,d._firstPT=d._applyPT=i),l=s.length,a=0;l>a;a++)u=s[a],f+=(c=t.substr(p,t.indexOf(u,p)-p))||!a?c:",",p+=c.length,h?h=(h+1)%5:"rgba("===c.substr(-5)&&(h=1),u===r[a]||r.length<=a?f+=u:(f&&(d.push(f),f=""),o=parseFloat(r[a]),d.push(o),d._firstPT={_next:d._firstPT,t:d,p:d.length-1,s:o,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-o)||0,f:0,m:h&&4>h?Math.round:B}),p+=u.length;return(f+=t.substr(p))&&d.push(f),d.setRatio=F,j.test(t)&&(d.end=null),d},U=function(e,t,n,i,r,s,o,a,l){"function"==typeof i&&(i=i(l||0,e));var c=typeof e[t],u="function"!==c?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),d="get"!==n?n:u?o?e[u](o):e[u]():e[t],p="string"==typeof i&&"="===i.charAt(1),f={t:e,p:t,s:d,f:"function"===c,pg:0,n:r||t,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:p?parseInt(i.charAt(0)+"1",10)*parseFloat(i.substr(2)):parseFloat(i)-d||0};return("number"!=typeof d||"number"!=typeof i&&!p)&&(o||isNaN(d)||!p&&isNaN(i)||"boolean"==typeof d||"boolean"==typeof i?(f.fp=o,f={t:q(d,p?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):i,a||I.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||t,pr:0,m:0}):(f.s=parseFloat(d),p||(f.c=parseFloat(i)-f.s||0))),f.c?((f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f):void 0},H=I._internals={isArray:g,isSelector:R,lazyTweens:D,blobDif:q},$=I._plugins={},W=H.tweenLookup={},X=0,Y=H.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},G={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},K=O._rootFramesTimeline=new L,V=O._rootTimeline=new L,Q=30,J=H.lazyRender=function(){var e,t,n=D.length;for(z={},e=0;n>e;e++)(t=D[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);D.length=0};V._startTime=c.time,K._startTime=c.frame,V._active=K._active=!0,setTimeout(J,1),O._updateRoot=I.render=function(){var e,t,n;if(D.length&&J(),V.render((c.time-V._startTime)*V._timeScale,!1,!1),K.render((c.frame-K._startTime)*K._timeScale,!1,!1),D.length&&J(),c.frame>=Q){for(n in Q=c.frame+(parseInt(I.autoSleep,10)||120),W){for(e=(t=W[n].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete W[n]}if((!(n=V._first)||n._paused)&&I.autoSleep&&!K._first&&1===c._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||c.sleep()}}},c.addEventListener("tick",O._updateRoot);var Z=function(e,t,n){var i,r,s=e._gsTweenID;if(W[s||(e._gsTweenID=s="t"+X++)]||(W[s]={target:e,tweens:[]}),t&&((i=W[s].tweens)[r=i.length]=t,n))for(;--r>-1;)i[r]===t&&i.splice(r,1);return W[s].tweens},ee=function(e,t,n,i){var r,s,o=e.vars.onOverwrite;return o&&(r=o(e,t,n,i)),(o=I.onOverwrite)&&(s=o(e,t,n,i)),!1!==r&&!1!==s},te=function(e,t,n,i,r){var s,o,a,l;if(1===i||i>=4){for(l=r.length,s=0;l>s;s++)if((a=r[s])!==t)a._gc||a._kill(null,e,t)&&(o=!0);else if(5===i)break;return o}var c,u=t._startTime+f,d=[],p=0,h=0===t._duration;for(s=r.length;--s>-1;)(a=r[s])===t||a._gc||a._paused||(a._timeline!==t._timeline?(c=c||ne(t,0,h),0===ne(a,c,h)&&(d[p++]=a)):a._startTime<=u&&a._startTime+a.totalDuration()/a._timeScale>u&&((h||!a._initted)&&u-a._startTime<=2*f||(d[p++]=a)));for(s=p;--s>-1;)if(l=(a=d[s])._firstPT,2===i&&a._kill(n,e,t)&&(o=!0),2!==i||!a._firstPT&&a._initted&&l){if(2!==i&&!ee(a,t))continue;a._enabled(!1,!1)&&(o=!0)}return o},ne=function(e,t,n){for(var i=e._timeline,r=i._timeScale,s=e._startTime;i._timeline;){if(s+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(s/=r)>t?s-t:n&&s===t||!e._initted&&2*f>s-t?f:(s+=e.totalDuration()/e._timeScale/r)>t+f?0:s-t-f};l._init=function(){var e,t,n,i,r,s,o=this.vars,a=this._overwrittenProps,l=this._duration,c=!!o.immediateRender,u=o.ease,d=this._startAt;if(o.startAt){for(i in d&&(d.render(-1,!0),d.kill()),r={},o.startAt)r[i]=o.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=c&&!1!==o.lazy,r.startAt=r.delay=null,r.onUpdate=o.onUpdate,r.onUpdateParams=o.onUpdateParams,r.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=I.to(this.target||{},0,r),c)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(d)d.render(-1,!0),d.kill(),this._startAt=null;else{for(i in 0!==this._time&&(c=!1),n={},o)Y[i]&&"autoCSS"!==i||(n[i]=o[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=c&&!1!==o.lazy,n.immediateRender=c,this._startAt=I.to(this.target,0,n),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof x?u:"function"==typeof u?new x(u,o.easeParams):T[u]||I.defaultEase:I.defaultEase,o.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,e=0;s>e;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],a?a[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(t&&I._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=o.onUpdate,this._initted=!0},l._initProps=function(t,n,i,r,s){var o,a,l,c,u,d;if(null==t)return!1;for(o in z[t._gsTweenID]&&J(),this.vars.css||t.style&&t!==e&&t.nodeType&&$.css&&!1!==this.vars.autoCSS&&function(e,t){var n,i={};for(n in e)Y[n]||n in t&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!$[n]||$[n]&&$[n]._autoCSS)||(i[n]=e[n],delete e[n]);e.css=i}(this.vars,t),this.vars)if(d=this.vars[o],Y[o])d&&(d instanceof Array||d.push&&g(d))&&-1!==d.join("").indexOf("{self}")&&(this.vars[o]=d=this._swapSelfInParams(d,this));else if($[o]&&(c=new $[o])._onInitTween(t,this.vars[o],this,s)){for(this._firstPT=u={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:c._priority,m:0},a=c._overwriteProps.length;--a>-1;)n[c._overwriteProps[a]]=this._firstPT;(c._priority||c._onInitAllProps)&&(l=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else n[o]=U.call(this,t,o,"get",d,o,0,null,this.vars.stringFilter,s);return r&&this._kill(r,t)?this._initProps(t,n,i,r,s):this._overwrite>1&&this._firstPT&&i.length>1&&te(t,this,n,this._overwrite,i)?(this._kill(n,t),this._initProps(t,n,i,r,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(z[t._gsTweenID]=!0),l)},l.render=function(e,t,n){var i,r,s,o,a=this,l=a._time,c=a._duration,u=a._rawPrevTime;if(e>=c-f&&e>=0)a._totalTime=a._time=c,a.ratio=a._ease._calcEnd?a._ease.getRatio(1):1,a._reversed||(i=!0,r="onComplete",n=n||a._timeline.autoRemoveChildren),0===c&&(a._initted||!a.vars.lazy||n)&&(a._startTime===a._timeline._duration&&(e=0),(0>u||0>=e&&e>=-f||u===f&&"isPause"!==a.data)&&u!==e&&(n=!0,u>f&&(r="onReverseComplete")),a._rawPrevTime=o=!t||e||u===e?e:f);else if(f>e)a._totalTime=a._time=0,a.ratio=a._ease._calcEnd?a._ease.getRatio(0):0,(0!==l||0===c&&u>0)&&(r="onReverseComplete",i=a._reversed),e>-f?e=0:0>e&&(a._active=!1,0===c&&(a._initted||!a.vars.lazy||n)&&(u>=0&&(u!==f||"isPause"!==a.data)&&(n=!0),a._rawPrevTime=o=!t||e||u===e?e:f)),(!a._initted||a._startAt&&a._startAt.progress())&&(n=!0);else if(a._totalTime=a._time=e,a._easeType){var d=e/c,p=a._easeType,h=a._easePower;(1===p||3===p&&d>=.5)&&(d=1-d),3===p&&(d*=2),1===h?d*=d:2===h?d*=d*d:3===h?d*=d*d*d:4===h&&(d*=d*d*d*d),a.ratio=1===p?1-d:2===p?d:.5>e/c?d/2:1-d/2}else a.ratio=a._ease.getRatio(e/c);if(a._time!==l||n){if(!a._initted){if(a._init(),!a._initted||a._gc)return;if(!n&&a._firstPT&&(!1!==a.vars.lazy&&a._duration||a.vars.lazy&&!a._duration))return a._time=a._totalTime=l,a._rawPrevTime=u,D.push(a),void(a._lazy=[e,t]);a._time&&!i?a.ratio=a._ease.getRatio(a._time/c):i&&a._ease._calcEnd&&(a.ratio=a._ease.getRatio(0===a._time?0:1))}for(!1!==a._lazy&&(a._lazy=!1),a._active||!a._paused&&a._time!==l&&e>=0&&(a._active=!0),0===l&&(a._startAt&&(e>=0?a._startAt.render(e,!0,n):r||(r="_dummyGS")),a.vars.onStart&&(0!==a._time||0===c)&&(t||a._callback("onStart"))),s=a._firstPT;s;)s.f?s.t[s.p](s.c*a.ratio+s.s):s.t[s.p]=s.c*a.ratio+s.s,s=s._next;a._onUpdate&&(0>e&&a._startAt&&-1e-4!==e&&a._startAt.render(e,!0,n),t||(a._time!==l||i||n)&&a._callback("onUpdate")),r&&(!a._gc||n)&&(0>e&&a._startAt&&!a._onUpdate&&-1e-4!==e&&a._startAt.render(e,!0,n),i&&(a._timeline.autoRemoveChildren&&a._enabled(!1,!1),a._active=!1),!t&&a.vars[r]&&a._callback(r),0===c&&a._rawPrevTime===f&&o!==f&&(a._rawPrevTime=0))}},l._kill=function(e,t,n){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:I.selector(t)||t;var i,r,s,o,a,l,c,u,d,p=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,f=this._firstPT;if((g(t)||R(t))&&"number"!=typeof t[0])for(i=t.length;--i>-1;)this._kill(e,t[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(t===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=e?this._overwrittenProps[i]||{}:"all";break}}else{if(t!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(a){if(c=e||a,u=e!==r&&"all"!==r&&e!==a&&("object"!=typeof e||!e._tempKill),n&&(I.onOverwrite||this.vars.onOverwrite)){for(s in c)a[s]&&(d||(d=[]),d.push(s));if((d||!e)&&!ee(this,n,t,d))return!1}for(s in c)(o=a[s])&&(p&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(c)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[s]),u&&(r[s]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],O.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-f,this.render(e,!1,!1!==this.vars.lazy)),this},l._enabled=function(e,t){if(u||c.wake(),e&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=Z(i[n],this,!0);else this._siblings=Z(this.target,this,!0)}return O.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(e?"_onEnable":"_onDisable",this)},I.to=function(e,t,n){return new I(e,t,n)},I.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new I(e,t,n)},I.fromTo=function(e,t,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new I(e,t,i)},I.delayedCall=function(e,t,n,i,r){return new I(t,0,{delay:e,onComplete:t,onCompleteParams:n,callbackScope:i,onReverseComplete:t,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},I.set=function(e,t){return new I(e,0,t)},I.getTweensOf=function(e,t){if(null==e)return[];var n,i,r,s;if(e="string"!=typeof e?e:I.selector(e)||e,(g(e)||R(e))&&"number"!=typeof e[0]){for(n=e.length,i=[];--n>-1;)i=i.concat(I.getTweensOf(e[n],t));for(n=i.length;--n>-1;)for(s=i[n],r=n;--r>-1;)s===i[r]&&i.splice(n,1)}else if(e._gsTweenID)for(n=(i=Z(e).concat()).length;--n>-1;)(i[n]._gc||t&&!i[n].isActive())&&i.splice(n,1);return i||[]},I.killTweensOf=I.killDelayedCallsTo=function(e,t,n){"object"==typeof t&&(n=t,t=!1);for(var i=I.getTweensOf(e,t),r=i.length;--r>-1;)i[r]._kill(n,e)};var ie=b("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ie.prototype},!0);if(l=ie.prototype,ie.version="1.19.0",ie.API=2,l._firstPT=null,l._addTween=U,l.setRatio=F,l._kill=function(e){var t,n=this._overwriteProps,i=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=n.length;--t>-1;)null!=e[n[t]]&&n.splice(t,1);for(;i;)null!=e[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},l._mod=l._roundProps=function(e){for(var t,n=this._firstPT;n;)(t=e[this._propName]||null!=n.n&&e[n.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===n.f?n.t._applyPT.m=t:n.m=t),n=n._next},I._onPluginEvent=function(e,t){var n,i,r,s,o,a=t._firstPT;if("_onInitAllProps"===e){for(;a;){for(o=a._next,i=r;i&&i.pr>a.pr;)i=i._next;(a._prev=i?i._prev:s)?a._prev._next=a:r=a,(a._next=i)?i._prev=a:s=a,a=o}a=t._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[e]&&a.t[e]()&&(n=!0),a=a._next;return n},ie.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===ie.API&&($[(new e[t])._propName]=e[t]);return!0},_.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,n=e.propName,i=e.priority||0,r=e.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){ie.call(this,n,i),this._overwriteProps=r||[]},!0===e.global),a=o.prototype=new ie(n);for(t in a.constructor=o,o.API=e.API,s)"function"==typeof e[t]&&(a[s[t]]=e[t]);return o.version=e.version,ie.activate([o]),o},o=e._gsQueue){for(a=0;a{void 0===n[r]?n[r]=i[r]:e(i[r])&&e(n[r])&&Object.keys(i[r]).length>0&&t(n[r],i[r])})}const n={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function i(){const e="undefined"!=typeof document?document:{};return t(e,n),e}const r={document:n,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function s(){const e="undefined"!=typeof window?window:{};return t(e,r),e}function o(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function l(){return Date.now()}function c(e,t){void 0===t&&(t="x");const n=s();let i,r,o;const a=function(e){const t=s();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix("none"===r?"":r)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function u(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let i=1;it.indexOf(e)<0);for(let t=0,i=n.length;to?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,p=()=>{a=(new Date).getTime(),null===l&&(l=a);const e=Math.max(Math.min((a-l)/c,1),0),s=.5-Math.cos(e*Math.PI)/2;let u=o+s*(n-o);if(d(u,n)&&(u=n),t.wrapperEl.scrollTo({[i]:u}),d(u,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:u})}),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(p)};p()}function h(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function m(e,t){void 0===t&&(t="");const n=s(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(e=>e.matches(t)):i}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:o(t)),n}function y(e){const t=s(),n=i(),r=e.getBoundingClientRect(),o=n.body,a=e.clientTop||o.clientTop||0,l=e.clientLeft||o.clientLeft||0,c=e===t?t.scrollY:e.scrollTop,u=e===t?t.scrollX:e.scrollLeft;return{top:r.top+c-a,left:r.left+u-l}}function _(e,t){return s().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function w(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function x(e,t){t&&e.addEventListener("transitionend",function n(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",n))})}function T(e,t,n){const i=s();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function S(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function k(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}let E,C,A;function P(){return E||(E=function(){const e=s(),t=i();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),E}function O(e){return void 0===e&&(e={}),C||(C=function(e){let{userAgent:t}=void 0===e?{}:e;const n=P(),i=s(),r=i.navigator.platform,o=t||i.navigator.userAgent,a={ios:!1,android:!1},l=i.screen.width,c=i.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/);let d=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let m="MacIntel"===r;return!d&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),m=!1),u&&!h&&(a.os="android",a.android=!0),(d||f||p)&&(a.os="ios",a.ios=!0),a}(e)),C}function M(){return A||(A=function(){const e=s(),t=O();let n=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&i<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=i();return{isSafari:n||o,needPerspectiveFix:n,need3dFix:o||r&&t.ios,isWebView:r}}()),A}var L={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,s=new Array(n),o=0;o=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,i;for(var r=arguments.length,s=new Array(r),o=0;o{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(i,[t,...n])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(i,n)})}),e}};const I=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},R=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},D=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())})),t&&t.remove()}},z=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},N=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=r,s=[n-t];return s.push(...Array.from({length:t}).map((e,t)=>n+i+t)),void e.slides.forEach((t,n)=>{s.includes(t.column)&&z(e,n)})}const s=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=s+t;i+=1){const t=(i%n+n)%n;(ts)&&z(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(s+t,n-1);i+=1)i!==r&&(i>s||i=0?x=parseFloat(x.replace("%",""))/100*s:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x,u.forEach(e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(p(i,"--swiper-centered-offset-before",""),p(i,"--swiper-centered-offset-after",""));const C=n.grid&&n.grid.rows>1&&e.grid;let A;C?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const P="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i1&&f.push(e.virtualSize-s)}if(l&&n.loop){const t=g[0]+x;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),r=t*n.slidesPerGroup;for(let e=0;e!(n.cssMode&&!n.loop)||t!==u.length-1).forEach(e=>{e.style[t]=`${x}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(x||0)}),e-=x;const t=e>s?e-s:0;f=f.map(e=>e<=0?-v:e>t?t+y:e)}if(n.centerInsufficientSlides){let e=0;g.forEach(t=>{e+=t+(x||0)}),e-=x;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t{f[t]=e-n}),h.forEach((e,t)=>{h[t]=e+n})}}if(Object.assign(e,{slides:u,snapGrid:f,slidesGrid:h,slidesSizesGrid:g}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){p(i,"--swiper-centered-offset-before",-f[0]+"px"),p(i,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(d!==c&&e.emit("slidesLengthChange"),f.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==w&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r,s=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const o=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(r=0;rt.slides.length&&!i)break;n.push(o(e))}else n.push(o(t.activeIndex));for(r=0;rs?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e=0&&p<=t.size-t.slidesSizesGrid[e],m=p>=0&&p1&&f<=t.size||p<=0&&f>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),I(l,m,n.slideVisibleClass),I(l,h,n.slideFullyVisibleClass),l.progress=r?-u:u,l.originalProgress=r?-d:d}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:s,isEnd:o,progressLoop:a}=t;const l=s,c=o;if(0===i)r=0,s=!0,o=!0;else{r=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;s=n||r<=0,o=a||r>=1,n&&(r=0),a&&(r=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[n],s=t.slidesGrid[i],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=r?(l-r)/o:(l+o-s)/o,a>1&&(a-=1)}Object.assign(t,{progress:r,progressLoop:a,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:r}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=e=>m(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,u;if(s)if(n.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${r}"]`);else o?(l=t.find(e=>e.column===r),u=t.find(e=>e.column===r+1),c=t.find(e=>e.column===r-1)):l=t[r];l&&(o||(u=function(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u&&(u=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{R(e,e===l,n.slideActiveClass),R(e,e===u,n.slideNextClass),R(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:r,activeIndex:s,realIndex:o,snapIndex:a}=t;let l,c=e;const u=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e=t[e]&&i=t[e]&&i=t[e]&&(r=e);return n.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===s&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const d=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=u(c);else if(d){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:o,realIndex:p,previousIndex:s,activeIndex:c}),t.initialized&&N(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)});let s,o=!1;if(r)for(let e=0;el?l:i&&eo?"next":s=l.length&&(v=l.length-1);const y=-l[v];if(a.normalizeSlideIndex)for(let e=0;e=n&&t=n&&t=n&&(o=e)}if(s.initialized&&o!==d){if(!s.allowSlideNext&&(p?y>s.translate&&y>s.minTranslate():ys.translate&&y>s.maxTranslate()&&(d||0)!==o)return!1}let _;o!==(u||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(y),_=o>d?"next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=n})):h[e?"scrollLeft":"scrollTop"]=n,b&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return f({swiper:s,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(y),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,i),s.transitionStart(n,_),0===t?s.transitionEnd(n,_):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(e){s&&!s.destroyed&&e.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,_))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let o=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)o+=r.virtual.slidesBefore;else{let e;if(s){const t=o*r.params.grid.rows;e=r.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(o);const t=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n}=r.params;let a=r.params.slidesPerView;"auto"===a?a=r.slidesPerViewDynamic():(a=Math.ceil(parseFloat(r.params.slidesPerView,10)),n&&a%2==0&&(a+=1));let l=t-e1*t.getAttribute("data-swiper-slide-index")===e).column}else o=r.getSlideIndexByData(o)}return requestAnimationFrame(()=>{r.slideTo(o,t,n,i)}),r},slideNext:function(e,t,n){void 0===t&&(t=!0);const i=this,{enabled:r,params:s,animating:o}=i;if(!r||i.destroyed)return i;void 0===e&&(e=i.params.speed);let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const i=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const u=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!u&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=d(a?i.translate:-i.translate),f=s.map(e=>d(e));let h=s[f.indexOf(p)-1];if(void 0===h&&r.cssMode){let e;s.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(h=s[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=o.indexOf(h),m<0&&(m=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=m-i.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),r.rewind&&i.isBeginning){const r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(m,e,t,n)}),!0):i.slideTo(m,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let s=r.activeIndex;const o=Math.min(r.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[a]){const e=r.snapGrid[a];l-e>(r.snapGrid[a+1]-e)*i&&(s+=r.params.slidesPerGroup)}else{const e=r.snapGrid[a-1];l-e<=(r.snapGrid[a]-e)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,s=e.clickedIndex;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?se.slides.length-e.loopedSlides+i/2?(e.loopFix(),s=e.getSlideIndex(m(n,`${o}[data-swiper-slide-index="${r}"]`)[0]),a(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-i?(e.loopFix(),s=e.getSlideIndex(m(n,`${o}[data-swiper-slide-index="${r}"]`)[0]),a(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}},U={loopCreate:function(e){const t=this,{params:n,slidesEl:i}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const r=()=>{m(i,`.${n.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),a=t.slides.length%o!=0,l=s&&t.slides.length%n.grid.rows!=0,c=e=>{for(let i=0;i1;c.lengthe.classList.contains(f.slideActiveClass))):x=s;const T="next"===i||!i,S="prev"===i||!i;let k=0,E=0;const C=_?Math.ceil(c.length/f.grid.rows):c.length,A=(_?c[s].column:s)+(h&&void 0===r?-m/2+.5:0);if(A=0;t-=1)c[t].column===e&&b.push(t)}else b.push(C-t-1)}}else if(A+m>C-y){E=Math.max(A-(C-2*y),v);for(let e=0;e{e.column===t&&w.push(n)}):w.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),S&&b.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),T&&w.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===f.slidesPerView?l.updateSlides():_&&(b.length>0&&S||w.length>0&&T)&&l.slides.forEach((e,t)=>{l.grid.updateSlide(t,e,l.slides)}),f.watchSlidesProgress&&l.updateSlidesOffset(),n)if(b.length>0&&S){if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x+k]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x+Math.ceil(k),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(r){const e=_?b.length/f.grid.rows:b.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&T)if(void 0===t){const e=l.slidesGrid[x],t=l.slidesGrid[x-E]-e;a?l.setTranslate(l.translate-t):(l.slideTo(x-E,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=_?w.length/f.grid.rows:w.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!o){const e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&n})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===f.slidesPerView&&n})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function H(e,t,n){const i=s(),{params:r}=e,o=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return!o||!(n<=a||n>=i.innerWidth-a)||"prevent"===o&&(t.preventDefault(),!0)}function $(e){const t=this,n=i();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if("pointerdown"===r.type){if(null!==o.pointerId&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else"touchstart"===r.type&&1===r.targetTouches.length&&(o.touchId=r.targetTouches[0].identifier);if("touchstart"===r.type)return void H(t,r,r.targetTouches[0].pageX);const{params:a,touches:c,enabled:u}=t;if(!u)return;if(!a.simulateTouch&&"mouse"===r.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let d=r.target;if("wrapper"===a.touchEventsTarget&&!function(e,t){const n=s();let i=t.contains(e);return!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?.children||[],...t.assignedElements?.()||[])}}(e,t))),i}(d,t.wrapperEl))return;if("which"in r&&3===r.which)return;if("button"in r&&r.button>0)return;if(o.isTouched&&o.isMoved)return;const p=!!a.noSwipingClass&&""!==a.noSwipingClass,f=r.composedPath?r.composedPath():r.path;p&&r.target&&r.target.shadowRoot&&f&&(d=f[0]);const h=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!(!r.target||!r.target.shadowRoot);if(a.noSwiping&&(m?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===i()||n===s())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(h,d):d.closest(h)))return void(t.allowClick=!0);if(a.swipeHandler&&!d.closest(a.swipeHandler))return;c.currentX=r.pageX,c.currentY=r.pageY;const g=c.currentX,v=c.currentY;if(!H(t,r,g))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),c.startX=g,c.startY=v,o.touchStartTime=l(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(o.allowThresholdMove=!1);let y=!0;d.matches(o.focusableElements)&&(y=!1,"SELECT"===d.nodeName&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==d&&("mouse"===r.pointerType||"mouse"!==r.pointerType&&!d.matches(o.focusableElements))&&n.activeElement.blur();const _=y&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!_||d.isContentEditable||r.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function W(e){const t=i(),n=this,r=n.touchEventsData,{params:s,touches:o,rtlTranslate:a,enabled:c}=n;if(!c)return;if(!s.simulateTouch&&"mouse"===e.pointerType)return;let u,d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type){if(null!==r.touchId)return;if(d.pointerId!==r.pointerId)return}if("touchmove"===d.type){if(u=[...d.changedTouches].find(e=>e.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=d;if(!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",d));const p=u.pageX,f=u.pageY;if(d.preventedByNestedSwiper)return o.startX=p,void(o.startY=f);if(!n.allowTouchMove)return d.target.matches(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:p,startY:f,currentX:p,currentY:f}),r.touchStartTime=l()));if(s.touchReleaseOnEdges&&!s.loop)if(n.isVertical()){if(fo.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(po.startX&&n.translate>=n.minTranslate())return;if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==d.target&&"mouse"!==d.pointerType&&t.activeElement.blur(),t.activeElement&&d.target===t.activeElement&&d.target.matches(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);r.allowTouchCallbacks&&n.emit("touchMove",d),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=f;const h=o.currentX-o.startX,m=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(h**2+m**2)=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,r.isScrolling=n.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",d),void 0===r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling||"touchmove"===d.type&&r.preventTouchMoveFromPointerMove)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let g=n.isHorizontal()?h:m,v=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;s.oneWayMovement&&(g=Math.abs(g)*(a?1:-1),v=Math.abs(v)*(a?1:-1)),o.diff=g,g*=s.touchRatio,a&&(g=-g,v=-v);const y=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=v>0?"prev":"next";const _=n.params.loop&&!s.cssMode,b="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!r.isMoved){if(_&&b&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}r.allowMomentumBounce=!1,!s.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}if((new Date).getTime(),r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&_&&b&&Math.abs(g)>=1)return Object.assign(o,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,void(r.startTranslate=r.currentTranslate);n.emit("sliderMove",d),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let w=!0,x=s.resistanceRatio;if(s.touchReleaseOnEdges&&(x=0),g>0?(_&&b&&r.allowThresholdMove&&r.currentTranslate>(s.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==s.slidesPerView&&n.slides.length-s.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,s.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+g)**x))):g<0&&(_&&b&&r.allowThresholdMove&&r.currentTranslate<(s.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==s.slidesPerView&&n.slides.length-s.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===s.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),s.threshold>0){if(!(Math.abs(g)>s.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&n.freeMode||s.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function X(e){const t=this,n=t.touchEventsData;let i,r=e;if(r.originalEvent&&(r=r.originalEvent),"touchend"===r.type||"touchcancel"===r.type){if(i=[...r.changedTouches].find(e=>e.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&(!["pointercancel","contextmenu"].includes(r.type)||!t.browser.isSafari&&!t.browser.isWebView))return;n.pointerId=null,n.touchId=null;const{params:s,touches:o,rtlTranslate:c,slidesGrid:u,enabled:d}=t;if(!d)return;if(!s.simulateTouch&&"mouse"===r.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);s.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const p=l(),f=p-n.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),f<300&&p-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=l(),a(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===o.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=s.followFinger?c?t.translate:-t.translate:-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const m=h>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e=u[e]&&h=u[e])&&(g=e,v=u[u.length-1]-u[u.length-2])}let y=null,_=null;s.rewind&&(t.isBeginning?_=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(y=0));const b=(h-u[g])/v,w=gs.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?y:g+w):t.slideTo(g)),"prev"===t.swipeDirection&&(b>1-s.longSwipesRatio?t.slideTo(g+w):null!==_&&b<0&&Math.abs(b)>s.longSwipesRatio?t.slideTo(_):t.slideTo(g))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||r.target!==t.navigation.nextEl&&r.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==y?y:g+w),"prev"===t.swipeDirection&&t.slideTo(null!==_?_:g)):r.target===t.navigation.nextEl?t.slideTo(g+w):t.slideTo(g)}}function Y(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function G(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function K(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const s=e.maxTranslate()-e.minTranslate();r=0===s?0:(e.translate-e.minTranslate())/s,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function V(e){const t=this;D(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function Q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const J=(e,t)=>{const n=i(),{params:r,el:s,wrapperEl:o,device:a}=e,l=!!r.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;s&&"string"!=typeof s&&(n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),s[c]("touchstart",e.onTouchStart,{passive:!1}),s[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&s[c]("click",e.onClick,!0),r.cssMode&&o[c]("scroll",e.onScroll),r.updateOnWindowResize?e[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Y,!0):e[u]("observerUpdate",Y,!0),s[c]("load",e.onLoad,{capture:!0}))},Z=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var ee={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function te(e,t){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),d(t,n)):d(t,n)):d(t,n)}}const ne={eventsEmitter:L,update:j,translate:F,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),B({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),B({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:q,loop:U,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=$.bind(e),e.onTouchMove=W.bind(e),e.onTouchEnd=X.bind(e),e.onDocumentTouchStart=Q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=G.bind(e),e.onLoad=V.bind(e),J(e,"on")},detachEvents:function(){J(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:r,el:s}=e,o=r.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const a=i(),l="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,c=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:a.querySelector(r.breakpointsBase),u=e.getBreakpoint(o,l,c);if(!u||e.currentBreakpoint===u)return;const p=(u in o?o[u]:void 0)||e.originalParams,f=Z(e,r),h=Z(e,p),m=e.params.grabCursor,g=p.grabCursor,v=r.enabled;f&&!h?(s.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!f&&h&&(s.classList.add(`${r.containerModifierClass}grid`),(p.grid.fill&&"column"===p.grid.fill||!p.grid.fill&&"column"===r.grid.fill)&&s.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===p[t])return;const n=r[t]&&r[t].enabled,i=p[t]&&p[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});const y=p.direction&&p.direction!==r.direction,_=r.loop&&(p.slidesPerView!==r.slidesPerView||y),b=r.loop;y&&n&&e.changeDirection(),d(e.params,p);const w=e.params.enabled,x=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!w?e.disable():!v&&w&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",p),n&&(_?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&x?(e.loopCreate(t),e.updateSlides()):b&&!x&&e.loopDestroy()),e.emit("breakpoint",p)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let i=!1;const r=s(),o="window"===t?r.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;en}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:r,device:s}=e,o=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ie={};class re{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),s=0;s1){const e=[];return o.querySelectorAll(t.el).forEach(n=>{const i=d({},t,{el:n});e.push(new re(i))}),e}const a=this;a.__swiper__=!0,a.support=P(),a.device=O({userAgent:t.userAgent}),a.browser=M(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const l={};a.modules.forEach(e=>{e({params:t,swiper:a,extendParams:te(t,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const c=d({},ee,l);return a.params=d({},c,ie,t),a.originalParams=d({},a.params),a.passedParams=d({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,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,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.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]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=b(m(t,`.${n.slideClass}, swiper-slide`)[0]);return b(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=m(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),r=(n.maxTranslate()-i)*e+i;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[a]?Math.ceil(i[a].swiperSlideSize):0;for(let n=a+1;no&&(e=!0));for(let n=a-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e=0;e-=1)r[a]-r[e]{t.complete&&D(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):m(n,i())[0];return!r&&t.params.createElements&&(r=v("div",t.params.wrapperClass),n.append(r),m(n,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===_(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===_(n,"direction")),wrongRTL:"-webkit-box"===_(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?D(t,e):e.addEventListener("load",e=>{D(t,e.target)})}),N(t),t.initialized=!0,N(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:i,el:r,wrapperEl:s,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){d(ie,e)}static get extendedDefaults(){return ie}static get defaults(){return ee}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>re.installModule(e)),re):(re.installModule(e),re)}}function se(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(r=>{if(!n[r]&&!0===n.auto){let s=m(e.el,`.${i[r]}`)[0];s||(s=v("div",i[r]),s.className=i[r],e.el.append(s)),n[r]=s,t[r]=s}}),n}function oe(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ae(e){const t=this,{params:n,slidesEl:i}=t;n.loop&&t.loopDestroy();const r=e=>{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,i.append(t.children[0]),t.innerHTML=""}else i.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t{if("string"==typeof e){const t=document.createElement("div");t.innerHTML=e,r.prepend(t.children[0]),t.innerHTML=""}else r.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t=a)return void n.appendSlide(t);let l=o>e?o+1:o;const c=[];for(let t=a-1;t>=e;t-=1){const e=n.slides[t];e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?o+t.length:o}else s.append(t);for(let e=0;e{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const e=o?o():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),i("setTranslate",()=>{n.params.effect===t&&r()}),i("setTransition",(e,i)=>{n.params.effect===t&&s(i)}),i("transitionEnd",()=>{if(n.params.effect===t&&l){if(!c||!c().slideShadows)return;n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),l()}}),i("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(u=!0),requestAnimationFrame(()=>{u&&n.slides&&n.slides.length&&(r(),u=!1)}))})}function fe(e,t){const n=h(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function he(e){let{swiper:t,duration:n,transformElements:i,allSlides:r}=e;const{activeIndex:s}=t;if(t.params.virtualTranslate&&0!==n){let e,n=!1;e=r?i:i.filter(e=>{const n=e.classList.contains("swiper-slide-transform")?(e=>e.parentElement?e.parentElement:t.slides.find(t=>t.shadowRoot&&t.shadowRoot===e.parentNode))(e):e;return t.getSlideIndex(n)===s}),e.forEach(e=>{x(e,()=>{if(n)return;if(!t||t.destroyed)return;n=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)})})}}function me(e,t,n){const i=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,r=h(t);let s=r.querySelector(`.${i.split(" ").join(".")}`);return s||(s=v("div",i.split(" ")),r.append(s)),s}Object.keys(ne).forEach(e=>{Object.keys(ne[e]).forEach(t=>{re.prototype[t]=ne[e][t]})}),re.use([function(e){let{swiper:t,on:n,emit:i}=e;const r=s();let o=null,a=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};n("init",()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver(e=>{a=r.requestAnimationFrame(()=>{const{width:n,height:i}=t;let r=n,s=i;e.forEach(e=>{let{contentBoxSize:n,contentRect:i,target:o}=e;o&&o!==t.el||(r=i?i.width:(n[0]||n).inlineSize,s=i?i.height:(n[0]||n).blockSize)}),r===n&&s===i||l()})}),o.observe(t.el)):(r.addEventListener("resize",l),r.addEventListener("orientationchange",c))}),n("destroy",()=>{a&&r.cancelAnimationFrame(a),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",c)})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=[],a=s(),l=function(e,n){void 0===n&&(n={});const i=new(a.MutationObserver||a.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const n=function(){r("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)});i.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),o.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=w(t.hostEl);for(let t=0;t{o.forEach(e=>{e.disconnect()}),o.splice(0,o.length)})}]);const ge=[function(e){let t,{swiper:n,extendParams:r,on:s,emit:o}=e;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const a=i();n.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=a.createElement("div");function c(e,t){const i=n.params.virtual;if(i.cache&&n.virtual.cache[t])return n.virtual.cache[t];let r;return i.renderSlide?(r=i.renderSlide.call(n,e,t),"string"==typeof r&&(l.innerHTML=r,r=l.children[0])):r=n.isElement?v("swiper-slide"):v("div",n.params.slideClass),r.setAttribute("data-swiper-slide-index",t),i.renderSlide||(r.innerHTML=e),i.cache&&(n.virtual.cache[t]=r),r}function u(e,t){const{slidesPerView:i,slidesPerGroup:r,centeredSlides:s,loop:a,initialSlide:l}=n.params;if(t&&!a&&l>0)return;const{addSlidesBefore:u,addSlidesAfter:d}=n.params.virtual,{from:p,to:f,slides:h,slidesGrid:g,offset:v}=n.virtual;n.params.cssMode||n.updateActiveIndex();const y=n.activeIndex||0;let _,b,w;_=n.rtlTranslate?"right":n.isHorizontal()?"left":"top",s?(b=Math.floor(i/2)+r+d,w=Math.floor(i/2)+r+u):(b=i+(r-1)+d,w=(a?i:r)+u);let x=y-w,T=y+b;a||(x=Math.max(x,0),T=Math.min(T,h.length-1));let S=(n.slidesGrid[x]||0)-(n.slidesGrid[0]||0);function k(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),o("virtualUpdate")}if(a&&y>=w?(x-=w,s||(S+=n.slidesGrid[0])):a&&y{e.style[_]=S-Math.abs(n.cssOverflowAdjustment())+"px"}),n.updateProgress(),void o("virtualUpdate");if(n.params.virtual.renderExternal)return n.params.virtual.renderExternal.call(n,{offset:S,from:x,to:T,slides:function(){const e=[];for(let t=x;t<=T;t+=1)e.push(h[t]);return e}()}),void(n.params.virtual.renderExternalUpdate?k():o("virtualUpdate"));const E=[],C=[],A=e=>{let t=e;return e<0?t=h.length+e:t>=h.length&&(t-=h.length),t};if(e)n.slides.filter(e=>e.matches(`.${n.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let e=p;e<=f;e+=1)if(eT){const t=A(e);n.slides.filter(e=>e.matches(`.${n.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}"]`)).forEach(e=>{e.remove()})}const P=a?-h.length:0,O=a?2*h.length:h.length;for(let t=P;t=x&&t<=T){const n=A(t);void 0===f||e?C.push(n):(t>f&&C.push(n),t{n.slidesEl.append(c(h[e],e))}),a)for(let e=E.length-1;e>=0;e-=1){const t=E[e];n.slidesEl.prepend(c(h[t],t))}else E.sort((e,t)=>t-e),E.forEach(e=>{n.slidesEl.prepend(c(h[e],e))});m(n.slidesEl,".swiper-slide, swiper-slide").forEach(e=>{e.style[_]=S-Math.abs(n.cssOverflowAdjustment())+"px"}),k()}s("beforeInit",()=>{if(!n.params.virtual.enabled)return;let e;if(void 0===n.passedParams.virtual.slides){const t=[...n.slidesEl.children].filter(e=>e.matches(`.${n.params.slideClass}, swiper-slide`));t&&t.length&&(n.virtual.slides=[...t],e=!0,t.forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t),n.virtual.cache[t]=e,e.remove()}))}e||(n.virtual.slides=n.params.virtual.slides),n.classNames.push(`${n.params.containerModifierClass}virtual`),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0,u(!1,!0)}),s("setTranslate",()=>{n.params.virtual.enabled&&(n.params.cssMode&&!n._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{u()},100)):u())}),s("init update resize",()=>{n.params.virtual.enabled&&n.params.cssMode&&p(n.wrapperEl,"--swiper-virtual-size",`${n.virtualSize}px`)}),Object.assign(n.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t{const i=e[n],s=i.getAttribute("data-swiper-slide-index");s&&i.setAttribute("data-swiper-slide-index",parseInt(s,10)+r),t[parseInt(n,10)+r]=i}),n.virtual.cache=t}u(!0),n.slideTo(i,0)},removeSlide:function(e){if(null==e)return;let t=n.activeIndex;if(Array.isArray(e))for(let i=e.length-1;i>=0;i-=1)n.params.virtual.cache&&(delete n.virtual.cache[e[i]],Object.keys(n.virtual.cache).forEach(t=>{t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])})),n.virtual.slides.splice(e[i],1),e[i]{t>e&&(n.virtual.cache[t-1]=n.virtual.cache[t],n.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete n.virtual.cache[t])})),n.virtual.slides.splice(e,1),e0&&0===w(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,r=i.clientWidth,s=i.clientHeight,o=l.innerWidth,a=l.innerHeight,c=y(i);n&&(c.left-=i.scrollLeft);const u=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+s],[c.left+r,c.top+s]];for(let t=0;t=0&&n[0]<=o&&n[1]>=0&&n[1]<=a){if(0===n[0]&&0===n[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((c||u||d||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((u||p)&&!n||(c||d)&&n)&&t.slideNext(),((c||d)&&!n||(u||p)&&n)&&t.slidePrev()):((c||u||f||h)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(u||h)&&t.slideNext(),(c||f)&&t.slidePrev()),o("keyPress",r)}}function u(){t.keyboard.enabled||(a.addEventListener("keydown",c),t.keyboard.enabled=!0)}function d(){t.keyboard.enabled&&(a.removeEventListener("keydown",c),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),r("init",()=>{t.params.keyboard.enabled&&u()}),r("destroy",()=>{t.keyboard.enabled&&d()}),Object.assign(t.keyboard,{enable:u,disable:d})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=s();let c;n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let u,d=l();const p=[];function f(){t.enabled&&(t.mouseEntered=!0)}function h(){t.enabled&&(t.mouseEntered=!1)}function m(e){return!(t.params.mousewheel.thresholdDelta&&e.delta=6&&l()-d<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),r("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),r("scroll",e.raw)),d=(new o.Date).getTime(),1))}function g(e){let n=e,i=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const s=t.params.mousewheel;t.params.cssMode&&n.preventDefault();let o=t.el;"container"!==t.params.mousewheel.eventsTarget&&(o=document.querySelector(t.params.mousewheel.eventsTarget));const d=o&&o.contains(n.target);if(!t.mouseEntered&&!d&&!s.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);let f=0;const h=t.rtlTranslate?-1:1,g=function(e){let t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=r,r=0),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}}(n);if(s.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;f=-g.pixelX*h}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;f=-g.pixelY}else f=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*h:-g.pixelY;if(0===f)return!0;s.invert&&(f=-f);let v=t.getTranslate()+f*s.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),i=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),i&&t.params.nested&&n.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:l(),delta:Math.abs(f),direction:Math.sign(f)},i=u&&e.time=t.minTranslate()&&(o=t.minTranslate()),o<=t.maxTranslate()&&(o=t.maxTranslate()),t.setTransition(0),t.setTranslate(o),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!l&&t.isBeginning||!d&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(c),c=void 0,p.length>=15&&p.shift();const n=p.length?p[p.length-1]:void 0,i=p[0];if(p.push(e),n&&(e.delta>n.delta||e.direction!==n.direction))p.splice(0);else if(p.length>=15&&e.time-i.time<500&&i.delta-e.delta>=1&&e.delta<=6){const n=f>0?.8:.2;u=e,p.splice(0),c=a(()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,n)},0)}c||(c=a(()=>{!t.destroyed&&t.params&&(u=e,p.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5))},500))}if(i||r("scroll",n),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),s.releaseOnEdges&&(o===t.minTranslate()||o===t.maxTranslate()))return!0}}else{const n={time:l(),delta:Math.abs(f),direction:Math.sign(f),raw:e};p.length>=2&&p.shift();const i=p.length?p[p.length-1]:void 0;if(p.push(n),i?(n.direction!==i.direction||n.delta>i.delta||n.time>i.time+150)&&m(n):m(n),function(e){const n=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&n.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&n.releaseOnEdges)return!0;return!1}(n))return!0}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1}function v(e){let n=t.el;"container"!==t.params.mousewheel.eventsTarget&&(n=document.querySelector(t.params.mousewheel.eventsTarget)),n[e]("mouseenter",f),n[e]("mouseleave",h),n[e]("wheel",g)}function y(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function _(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}i("init",()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&_(),t.params.mousewheel.enabled&&y()}),i("destroy",()=>{t.params.cssMode&&y(),t.mousewheel.enabled&&_()}),Object.assign(t.mousewheel,{enable:y,disable:_})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;function s(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function o(e,n){const i=t.params.navigation;(e=S(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function a(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return o(n,!1),void o(e,!1);o(n,t.isBeginning&&!t.params.rewind),o(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function u(){const e=t.params.navigation;if(t.params.navigation=se(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=s(e.nextEl),i=s(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:i}),n=S(n),i=S(i);const r=(n,i)=>{n&&n.addEventListener("click","next"===i?c:l),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach(e=>r(e,"next")),i.forEach(e=>r(e,"prev"))}function d(){let{nextEl:e,prevEl:n}=t.navigation;e=S(e),n=S(n);const i=(e,n)=>{e.removeEventListener("click","next"===n?c:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),n.forEach(e=>i(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?p():(u(),a())}),i("toEdge fromEdge lock unlock",()=>{a()}),i("destroy",()=>{d()}),i("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;e=S(e),n=S(n),t.enabled?a():[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,n)=>{let{nextEl:i,prevEl:s}=t.navigation;i=S(i),s=S(s);const o=n.target;let a=s.includes(o)||i.includes(o);if(t.isElement&&!a){const e=n.path||n.composedPath&&n.composedPath();e&&(a=e.find(e=>i.includes(e)||s.includes(e)))}if(t.params.navigation.hideOnClick&&!a){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===o||t.pagination.el.contains(o)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):s.length&&(e=s[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...i,...s].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});const p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),u(),a()},disable:p,update:a,init:u,destroy:d})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const s="swiper-pagination";let o;n({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:e=>e,formatFractionTotal:e=>e,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),t.pagination={el:null,bullets:[]};let a=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,n){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${n}-${n}`))}function u(e){const n=e.target.closest(oe(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const i=b(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(r=t.realIndex,s=i,(s%=o=t.slides.length)==1+(r%=o)?"next":s===r-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var r,s,o}function d(){const e=t.rtl,n=t.params.pagination;if(l())return;let i,s,u=t.pagination.el;u=S(u);const d=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,p=t.params.loop?Math.ceil(d/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(s=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(i=t.snapIndex,s=t.previousSnapIndex):(s=t.previousIndex||0,i=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let l,d,p;if(n.dynamicBullets&&(o=T(r[0],t.isHorizontal()?"width":"height",!0),u.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=o*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==s&&(a+=i-(s||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),l=Math.max(i-a,0),d=l+(Math.min(r.length,n.dynamicMainBullets)-1),p=(d+l)/2),r.forEach(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),u.length>1)r.forEach(e=>{const r=b(e);r===i?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(r>=l&&r<=d&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),r===l&&c(e,"prev"),r===d&&c(e,"next"))});else{const e=r[i];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&r.forEach((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")}),n.dynamicBullets){const e=r[l],t=r[d];for(let e=l;e<=d;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),s=(o*i-o)/2-p*o,a=e?"right":"left";r.forEach(e=>{e.style[t.isHorizontal()?a:"top"]=`${s}px`})}}u.forEach((e,s)=>{if("fraction"===n.type&&(e.querySelectorAll(oe(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(i+1)}),e.querySelectorAll(oe(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(p)})),"progressbar"===n.type){let r;r=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const s=(i+1)/p;let o=1,a=1;"horizontal"===r?o=s:a=s,e.querySelectorAll(oe(n.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${o}) scaleY(${a})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(e.innerHTML=n.renderCustom(t,i+1,p),0===s&&r("paginationRender",e)):(0===s&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)})}function p(){const e=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let i=t.pagination.el;i=S(i);let s="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n`}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):` / `),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):``),t.pagination.bullets=[],i.forEach(n=>{"custom"!==e.type&&(n.innerHTML=s||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(oe(e.bulletClass)))}),"custom"!==e.type&&r("paginationRender",i[0])}function f(){t.params.pagination=se(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.find(e=>w(e,".swiper")[0]===t.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=S(n),n.forEach(n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),a=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",u),t.enabled||n.classList.add(e.lockClass)}))}function h(){const e=t.params.pagination;if(l())return;let n=t.pagination.el;n&&(n=S(n),n.forEach(n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",u))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=S(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.pagination.enabled?m():(f(),p(),d())}),i("activeIndexChange",()=>{void 0===t.snapIndex&&d()}),i("snapIndexChange",()=>{d()}),i("snapGridLengthChange",()=>{p(),d()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{el:e}=t.pagination;e&&(e=S(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),i("lock unlock",()=>{d()}),i("click",(e,n)=>{const i=n.target,s=S(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&s&&s.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=s[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),s.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const m=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=S(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),h()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=S(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),f(),p(),d()},disable:m,render:p,update:d,init:f,destroy:h})},function(e){let{swiper:t,extendParams:n,on:r,emit:s}=e;const l=i();let c,u,d,p,f=!1,h=null,m=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:n}=t,{dragEl:i,el:r}=e,s=t.params.scrollbar,o=t.params.loop?t.progressLoop:t.progress;let a=u,l=(d-u)*o;n?(l=-l,l>0?(a=u-l,l=0):-l+u>d&&(a=d+l)):l<0?(a=u+l,l=0):l+u>d&&(a=d-l),t.isHorizontal()?(i.style.transform=`translate3d(${l}px, 0, 0)`,i.style.width=`${a}px`):(i.style.transform=`translate3d(0px, ${l}px, 0)`,i.style.height=`${a}px`),s.hide&&(clearTimeout(h),r.style.opacity=1,h=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}function _(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:n,el:i}=e;n.style.width="",n.style.height="",d=t.isHorizontal()?i.offsetWidth:i.offsetHeight,p=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),u="auto"===t.params.scrollbar.dragSize?d*p:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?n.style.width=`${u}px`:n.style.height=`${u}px`,i.style.display=p>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function b(e){return t.isHorizontal()?e.clientX:e.clientY}function w(e){const{scrollbar:n,rtlTranslate:i}=t,{el:r}=n;let s;s=(b(e)-y(r)[t.isHorizontal()?"left":"top"]-(null!==c?c:u/2))/(d-u),s=Math.max(Math.min(s,1),0),i&&(s=1-s);const o=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*s;t.updateProgress(o),t.setTranslate(o),t.updateActiveIndex(),t.updateSlidesClasses()}function x(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:r}=t,{el:o,dragEl:a}=i;f=!0,c=e.target===a?b(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),r.style.transitionDuration="100ms",a.style.transitionDuration="100ms",w(e),clearTimeout(m),o.style.transitionDuration="0ms",n.hide&&(o.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",e)}function T(e){const{scrollbar:n,wrapperEl:i}=t,{el:r,dragEl:o}=n;f&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,w(e),i.style.transitionDuration="0ms",r.style.transitionDuration="0ms",o.style.transitionDuration="0ms",s("scrollbarDragMove",e))}function k(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:r}=t,{el:o}=i;f&&(f=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),n.hide&&(clearTimeout(m),m=a(()=>{o.style.opacity=0,o.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())}function E(e){const{scrollbar:n,params:i}=t,r=n.el;if(!r)return;const s=r,o=!!i.passiveListeners&&{passive:!1,capture:!1},a=!!i.passiveListeners&&{passive:!0,capture:!1};if(!s)return;const c="on"===e?"addEventListener":"removeEventListener";s[c]("pointerdown",x,o),l[c]("pointermove",T,o),l[c]("pointerup",k,a)}function C(){const{scrollbar:e,el:n}=t;t.params.scrollbar=se(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let r,s;if("string"==typeof i.el&&t.isElement&&(r=t.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=l.querySelectorAll(i.el),!r.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===n.querySelectorAll(i.el).length&&(r=n.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(s=r.querySelector(oe(t.params.scrollbar.dragClass)),s||(s=v("div",t.params.scrollbar.dragClass),r.append(s))),Object.assign(e,{el:r,dragEl:s}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&E("on"),r&&r.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))}function A(){const e=t.params.scrollbar,n=t.scrollbar.el;n&&n.classList.remove(...o(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&E("off")}n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},r("changeDirection",()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:n}=t.scrollbar;n=S(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),r("init",()=>{!1===t.params.scrollbar.enabled?P():(C(),_(),g())}),r("update resize observerUpdate lock unlock changeDirection",()=>{_()}),r("setTranslate",()=>{g()}),r("setTransition",(e,n)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(n)}),r("enable disable",()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...o(t.params.scrollbar.lockClass))}),r("destroy",()=>{A()});const P=()=>{t.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...o(t.params.scrollbar.scrollbarDisabledClass)),A()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...o(t.params.scrollbar.scrollbarDisabledClass)),C(),_(),g()},disable:P,updateSize:_,setTranslate:g,init:C,destroy:A})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(e,n)=>{const{rtl:i}=t,r=i?-1:1,s=e.getAttribute("data-swiper-parallax")||"0";let o=e.getAttribute("data-swiper-parallax-x"),a=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),c=e.getAttribute("data-swiper-parallax-opacity"),u=e.getAttribute("data-swiper-parallax-rotate");if(o||a?(o=o||"0",a=a||"0"):t.isHorizontal()?(o=s,a="0"):(a=s,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*n*r+"%":o*n*r+"px",a=a.indexOf("%")>=0?parseInt(a,10)*n+"%":a*n+"px",null!=c){const t=c-(c-1)*(1-Math.abs(n));e.style.opacity=t}let d=`translate3d(${o}, ${a}, 0px)`;null!=l&&(d+=` scale(${l-(l-1)*(1-Math.abs(n))})`),u&&null!=u&&(d+=` rotate(${u*n*-1}deg)`),e.style.transform=d},o=()=>{const{el:e,slides:n,progress:i,snapGrid:o,isElement:a}=t,l=m(e,r);t.isElement&&l.push(...m(t.hostEl,r)),l.forEach(e=>{s(e,i)}),n.forEach((e,n)=>{let a=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(a+=Math.ceil(n/2)-i*(o.length-1)),a=Math.min(Math.max(a,-1),1),e.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach(e=>{s(e,a)})})};i("beforeInit",()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)}),i("init",()=>{t.params.parallax.enabled&&o()}),i("setTranslate",()=>{t.params.parallax.enabled&&o()}),i("setTransition",(e,n)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{el:n,hostEl:i}=t,s=[...n.querySelectorAll(r)];t.isElement&&s.push(...i.querySelectorAll(r)),s.forEach(t=>{let n=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),t.style.transitionDuration=`${n}ms`})}(n)})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const o=s();n({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let a,l,u=1,d=!1,p=!1,f={x:0,y:0};const h=[],g={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},v={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:{}},_={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let b,x=1;function T(){if(h.length<2)return 1;const e=h[0].pageX,t=h[0].pageY,n=h[1].pageX,i=h[1].pageY;return Math.sqrt((n-e)**2+(i-t)**2)}function S(){const e=t.params.zoom,n=g.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&g.imageEl&&g.imageEl.naturalWidth){const e=g.imageEl.naturalWidth/g.imageEl.offsetWidth;return Math.min(e,n)}return n}function k(e){const n=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(n)||t.slides.filter(t=>t.contains(e.target)).length>0}function E(e){const n=`.${t.params.zoom.containerClass}`;return!!e.target.matches(n)||[...t.hostEl.querySelectorAll(n)].filter(t=>t.contains(e.target)).length>0}function C(e){if("mouse"===e.pointerType&&h.splice(0,h.length),!k(e))return;const n=t.params.zoom;if(a=!1,l=!1,h.push(e),!(h.length<2)){if(a=!0,g.scaleStart=T(),!g.slideEl){g.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),g.slideEl||(g.slideEl=t.slides[t.activeIndex]);let i=g.slideEl.querySelector(`.${n.containerClass}`);if(i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),g.imageEl=i,g.imageWrapEl=i?w(g.imageEl,`.${n.containerClass}`)[0]:void 0,!g.imageWrapEl)return void(g.imageEl=void 0);g.maxRatio=S()}if(g.imageEl){const[e,t]=function(){if(h.length<2)return{x:null,y:null};const e=g.imageEl.getBoundingClientRect();return[(h[0].pageX+(h[1].pageX-h[0].pageX)/2-e.x-o.scrollX)/u,(h[0].pageY+(h[1].pageY-h[0].pageY)/2-e.y-o.scrollY)/u]}();g.originX=e,g.originY=t,g.imageEl.style.transitionDuration="0ms"}d=!0}}function A(e){if(!k(e))return;const n=t.params.zoom,i=t.zoom,r=h.findIndex(t=>t.pointerId===e.pointerId);r>=0&&(h[r]=e),h.length<2||(l=!0,g.scaleMove=T(),g.imageEl&&(i.scale=g.scaleMove/g.scaleStart*u,i.scale>g.maxRatio&&(i.scale=g.maxRatio-1+(i.scale-g.maxRatio+1)**.5),i.scalet.pointerId===e.pointerId);r>=0&&h.splice(r,1),a&&l&&(a=!1,l=!1,g.imageEl&&(i.scale=Math.max(Math.min(i.scale,g.maxRatio),n.minRatio),g.imageEl.style.transitionDuration=`${t.params.speed}ms`,g.imageEl.style.transform=`translate3d(0,0,0) scale(${i.scale})`,u=i.scale,d=!1,i.scale>1&&g.slideEl?g.slideEl.classList.add(`${n.zoomedSlideClass}`):i.scale<=1&&g.slideEl&&g.slideEl.classList.remove(`${n.zoomedSlideClass}`),1===i.scale&&(g.originX=0,g.originY=0,g.slideEl=void 0)))}function O(){t.touchEventsData.preventTouchMoveFromPointerMove=!1}function M(e){const n="mouse"===e.pointerType&&t.params.zoom.panOnMouseMove;if(!k(e)||!E(e))return;const i=t.zoom;if(!g.imageEl)return;if(!v.isTouched||!g.slideEl)return void(n&&I(e));if(n)return void I(e);v.isMoved||(v.width=g.imageEl.offsetWidth||g.imageEl.clientWidth,v.height=g.imageEl.offsetHeight||g.imageEl.clientHeight,v.startX=c(g.imageWrapEl,"x")||0,v.startY=c(g.imageWrapEl,"y")||0,g.slideWidth=g.slideEl.offsetWidth,g.slideHeight=g.slideEl.offsetHeight,g.imageWrapEl.style.transitionDuration="0ms");const r=v.width*i.scale,s=v.height*i.scale;if(v.minX=Math.min(g.slideWidth/2-r/2,0),v.maxX=-v.minX,v.minY=Math.min(g.slideHeight/2-s/2,0),v.maxY=-v.minY,v.touchesCurrent.x=h.length>0?h[0].pageX:e.pageX,v.touchesCurrent.y=h.length>0?h[0].pageY:e.pageY,Math.max(Math.abs(v.touchesCurrent.x-v.touchesStart.x),Math.abs(v.touchesCurrent.y-v.touchesStart.y))>5&&(t.allowClick=!1),!v.isMoved&&!d){if(t.isHorizontal()&&(Math.floor(v.minX)===Math.floor(v.startX)&&v.touchesCurrent.xv.touchesStart.x))return v.isTouched=!1,void O();if(!t.isHorizontal()&&(Math.floor(v.minY)===Math.floor(v.startY)&&v.touchesCurrent.yv.touchesStart.y))return v.isTouched=!1,void O()}e.cancelable&&e.preventDefault(),e.stopPropagation(),clearTimeout(b),t.touchEventsData.preventTouchMoveFromPointerMove=!0,b=setTimeout(()=>{t.destroyed||O()}),v.isMoved=!0;const o=(i.scale-u)/(g.maxRatio-t.params.zoom.minRatio),{originX:a,originY:l}=g;v.currentX=v.touchesCurrent.x-v.touchesStart.x+v.startX+o*(v.width-2*a),v.currentY=v.touchesCurrent.y-v.touchesStart.y+v.startY+o*(v.height-2*l),v.currentXv.maxX&&(v.currentX=v.maxX-1+(v.currentX-v.maxX+1)**.8),v.currentYv.maxY&&(v.currentY=v.maxY-1+(v.currentY-v.maxY+1)**.8),_.prevPositionX||(_.prevPositionX=v.touchesCurrent.x),_.prevPositionY||(_.prevPositionY=v.touchesCurrent.y),_.prevTime||(_.prevTime=Date.now()),_.x=(v.touchesCurrent.x-_.prevPositionX)/(Date.now()-_.prevTime)/2,_.y=(v.touchesCurrent.y-_.prevPositionY)/(Date.now()-_.prevTime)/2,Math.abs(v.touchesCurrent.x-_.prevPositionX)<2&&(_.x=0),Math.abs(v.touchesCurrent.y-_.prevPositionY)<2&&(_.y=0),_.prevPositionX=v.touchesCurrent.x,_.prevPositionY=v.touchesCurrent.y,_.prevTime=Date.now(),g.imageWrapEl.style.transform=`translate3d(${v.currentX}px, ${v.currentY}px,0)`}function L(){const e=t.zoom;g.slideEl&&t.activeIndex!==t.slides.indexOf(g.slideEl)&&(g.imageEl&&(g.imageEl.style.transform="translate3d(0,0,0) scale(1)"),g.imageWrapEl&&(g.imageWrapEl.style.transform="translate3d(0,0,0)"),g.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,u=1,g.slideEl=void 0,g.imageEl=void 0,g.imageWrapEl=void 0,g.originX=0,g.originY=0)}function I(e){if(u<=1||!g.imageWrapEl)return;if(!k(e)||!E(e))return;const t=o.getComputedStyle(g.imageWrapEl).transform,n=new o.DOMMatrix(t);if(!p)return p=!0,f.x=e.clientX,f.y=e.clientY,v.startX=n.e,v.startY=n.f,v.width=g.imageEl.offsetWidth||g.imageEl.clientWidth,v.height=g.imageEl.offsetHeight||g.imageEl.clientHeight,g.slideWidth=g.slideEl.offsetWidth,void(g.slideHeight=g.slideEl.offsetHeight);const i=-3*(e.clientX-f.x),r=-3*(e.clientY-f.y),s=v.width*u,a=v.height*u,l=g.slideWidth,c=g.slideHeight,d=Math.min(l/2-s/2,0),h=-d,m=Math.min(c/2-a/2,0),y=-m,_=Math.max(Math.min(v.startX+i,h),d),b=Math.max(Math.min(v.startY+r,y),m);g.imageWrapEl.style.transitionDuration="0ms",g.imageWrapEl.style.transform=`translate3d(${_}px, ${b}px, 0)`,f.x=e.clientX,f.y=e.clientY,v.startX=_,v.startY=b}function R(e){const n=t.zoom,i=t.params.zoom;if(!g.slideEl){e&&e.target&&(g.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),g.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?g.slideEl=m(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:g.slideEl=t.slides[t.activeIndex]);let n=g.slideEl.querySelector(`.${i.containerClass}`);n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),g.imageEl=n,g.imageWrapEl=n?w(g.imageEl,`.${i.containerClass}`)[0]:void 0}if(!g.imageEl||!g.imageWrapEl)return;let r,s,a,l,c,d,p,f,h,_,b,x,T,k,E,C,A,P;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),g.slideEl.classList.add(`${i.zoomedSlideClass}`),void 0===v.touchesStart.x&&e?(r=e.pageX,s=e.pageY):(r=v.touchesStart.x,s=v.touchesStart.y);const O="number"==typeof e?e:null;1===u&&O&&(r=void 0,s=void 0,v.touchesStart.x=void 0,v.touchesStart.y=void 0);const M=S();n.scale=O||M,u=O||M,!e||1===u&&O?(p=0,f=0):(A=g.slideEl.offsetWidth,P=g.slideEl.offsetHeight,a=y(g.slideEl).left+o.scrollX,l=y(g.slideEl).top+o.scrollY,c=a+A/2-r,d=l+P/2-s,h=g.imageEl.offsetWidth||g.imageEl.clientWidth,_=g.imageEl.offsetHeight||g.imageEl.clientHeight,b=h*n.scale,x=_*n.scale,T=Math.min(A/2-b/2,0),k=Math.min(P/2-x/2,0),E=-T,C=-k,p=c*n.scale,f=d*n.scale,pE&&(p=E),fC&&(f=C)),O&&1===n.scale&&(g.originX=0,g.originY=0),g.imageWrapEl.style.transitionDuration="300ms",g.imageWrapEl.style.transform=`translate3d(${p}px, ${f}px,0)`,g.imageEl.style.transitionDuration="300ms",g.imageEl.style.transform=`translate3d(0,0,0) scale(${n.scale})`}function D(){const e=t.zoom,n=t.params.zoom;if(!g.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?g.slideEl=m(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:g.slideEl=t.slides[t.activeIndex];let e=g.slideEl.querySelector(`.${n.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),g.imageEl=e,g.imageWrapEl=e?w(g.imageEl,`.${n.containerClass}`)[0]:void 0}g.imageEl&&g.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,u=1,v.touchesStart.x=void 0,v.touchesStart.y=void 0,g.imageWrapEl.style.transitionDuration="300ms",g.imageWrapEl.style.transform="translate3d(0,0,0)",g.imageEl.style.transitionDuration="300ms",g.imageEl.style.transform="translate3d(0,0,0) scale(1)",g.slideEl.classList.remove(`${n.zoomedSlideClass}`),g.slideEl=void 0,g.originX=0,g.originY=0,t.params.zoom.panOnMouseMove&&(f={x:0,y:0},p&&(p=!1,v.startX=0,v.startY=0)))}function z(e){const n=t.zoom;n.scale&&1!==n.scale?D():R(e)}function N(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function j(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:n,activeListenerWithCapture:i}=N();t.wrapperEl.addEventListener("pointerdown",C,n),t.wrapperEl.addEventListener("pointermove",A,i),["pointerup","pointercancel","pointerout"].forEach(e=>{t.wrapperEl.addEventListener(e,P,n)}),t.wrapperEl.addEventListener("pointermove",M,i)}function F(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:n,activeListenerWithCapture:i}=N();t.wrapperEl.removeEventListener("pointerdown",C,n),t.wrapperEl.removeEventListener("pointermove",A,i),["pointerup","pointercancel","pointerout"].forEach(e=>{t.wrapperEl.removeEventListener(e,P,n)}),t.wrapperEl.removeEventListener("pointermove",M,i)}Object.defineProperty(t.zoom,"scale",{get:()=>x,set(e){if(x!==e){const t=g.imageEl,n=g.slideEl;r("zoomChange",e,t,n)}x=e}}),i("init",()=>{t.params.zoom.enabled&&j()}),i("destroy",()=>{F()}),i("touchStart",(e,n)=>{t.zoom.enabled&&function(e){const n=t.device;if(!g.imageEl)return;if(v.isTouched)return;n.android&&e.cancelable&&e.preventDefault(),v.isTouched=!0;const i=h.length>0?h[0]:e;v.touchesStart.x=i.pageX,v.touchesStart.y=i.pageY}(n)}),i("touchEnd",(e,n)=>{t.zoom.enabled&&function(){const e=t.zoom;if(h.length=0,!g.imageEl)return;if(!v.isTouched||!v.isMoved)return v.isTouched=!1,void(v.isMoved=!1);v.isTouched=!1,v.isMoved=!1;let n=300,i=300;const r=_.x*n,s=v.currentX+r,o=_.y*i,a=v.currentY+o;0!==_.x&&(n=Math.abs((s-v.currentX)/_.x)),0!==_.y&&(i=Math.abs((a-v.currentY)/_.y));const l=Math.max(n,i);v.currentX=s,v.currentY=a;const c=v.width*e.scale,u=v.height*e.scale;v.minX=Math.min(g.slideWidth/2-c/2,0),v.maxX=-v.minX,v.minY=Math.min(g.slideHeight/2-u/2,0),v.maxY=-v.minY,v.currentX=Math.max(Math.min(v.currentX,v.maxX),v.minX),v.currentY=Math.max(Math.min(v.currentY,v.maxY),v.minY),g.imageWrapEl.style.transitionDuration=`${l}ms`,g.imageWrapEl.style.transform=`translate3d(${v.currentX}px, ${v.currentY}px,0)`}()}),i("doubleTap",(e,n)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&z(n)}),i("transitionEnd",()=>{t.zoom.enabled&&t.params.zoom.enabled&&L()}),i("slideChange",()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&L()}),Object.assign(t.zoom,{enable:j,disable:F,in:R,out:D,toggle:z})},function(e){let{swiper:t,extendParams:n,on:i}=e;function r(e,t){const n=function(){let e,t,n;return(i,r)=>{for(t=-1,e=i.length;e-t>1;)n=e+t>>1,i[n]<=r?t=n:e=n;return e}}();let i,r;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(r=n(this.x,e),i=r-1,(e-this.x[i])*(this.y[r]-this.y[i])/(this.x[r]-this.x[i])+this.y[i]):0},this}function s(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}n({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},i("beforeInit",()=>{"undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)?("string"==typeof t.params.controller.control?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEach(e=>{if(t.controller.control||(t.controller.control=[]),e&&e.swiper)t.controller.control.push(e.swiper);else if(e){const n=`${t.params.eventsPrefix}init`,i=r=>{t.controller.control.push(r.detail[0]),t.update(),e.removeEventListener(n,i)};e.addEventListener(n,i)}}):t.controller.control=t.params.controller.control}),i("update",()=>{s()}),i("resize",()=>{s()}),i("observerUpdate",()=>{s()}),i("setTranslate",(e,n,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(n,i)}),i("setTransition",(e,n,i)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(n,i)}),Object.assign(t.controller,{setTranslate:function(e,n){const i=t.controller.control;let s,o;const a=t.constructor;function l(e){if(e.destroyed)return;const n=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(function(e){t.controller.spline=t.params.loop?new r(t.slidesGrid,e.slidesGrid):new r(t.snapGrid,e.snapGrid)}(e),o=-t.controller.spline.interpolate(-n)),o&&"container"!==t.params.controller.by||(s=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(s)&&Number.isFinite(s)||(s=1),o=(n-t.minTranslate())*s+e.minTranslate()),t.params.controller.inverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setTranslate(o,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e{n.updateAutoHeight()}),x(n.wrapperEl,()=>{r&&n.transitionEnd()})))}if(Array.isArray(r))for(s=0;s{e.setAttribute("tabIndex","0")})}function d(e){(e=S(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function p(e,t){(e=S(e)).forEach(e=>{e.setAttribute("role",t)})}function f(e,t){(e=S(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function h(e,t){(e=S(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function m(e){(e=S(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function g(e){(e=S(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function y(e){if(13!==e.keyCode&&32!==e.keyCode)return;const n=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(oe(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=S(t.navigation.prevEl);S(t.navigation.nextEl).includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?c(n.lastSlideMessage):c(n.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?c(n.firstSlideMessage):c(n.prevSlideMessage))}t.pagination&&i.matches(oe(t.params.pagination.bulletClass))&&i.click()}}function _(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function w(){return _()&&t.params.pagination.clickable}const x=(e,t,n)=>{u(e),"BUTTON"!==e.tagName&&(p(e,"button"),e.addEventListener("keydown",y)),h(e,n),function(e,t){(e=S(e)).forEach(e=>{e.setAttribute("aria-controls",t)})}(e,t)},T=e=>{o&&o!==e.target&&!o.contains(e.target)&&(s=!0),t.a11y.clicked=!0},k=()=>{s=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},E=e=>{l=(new Date).getTime()},C=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-l<100)return;const n=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!n||!t.slides.includes(n))return;o=n;const i=t.slides.indexOf(n)===t.activeIndex,r=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(n);i||r||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>{s||(t.params.loop?t.slideToLoop(parseInt(n.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(n),0),s=!1)}))},A=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&f(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&p(t.slides,e.slideRole);const n=t.slides.length;e.slideLabelMessage&&t.slides.forEach((i,r)=>{const s=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):r;h(i,e.slideLabelMessage.replace(/\{\{index\}\}/,s+1).replace(/\{\{slidesLength\}\}/,n))})};r("beforeInit",()=>{a=v("span",t.params.a11y.notificationClass),a.setAttribute("aria-live","assertive"),a.setAttribute("aria-atomic","true")}),r("afterInit",()=>{t.params.a11y.enabled&&(()=>{const e=t.params.a11y;t.el.append(a);const n=t.el;e.containerRoleDescriptionMessage&&f(n,e.containerRoleDescriptionMessage),e.containerMessage&&h(n,e.containerMessage),e.containerRole&&p(n,e.containerRole);const r=t.wrapperEl,s=e.id||r.getAttribute("id")||`swiper-wrapper-${o=16,void 0===o&&(o=16),"x".repeat(o).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`;var o;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var c;c=s,S(r).forEach(e=>{e.setAttribute("id",c)}),function(e,t){(e=S(e)).forEach(e=>{e.setAttribute("aria-live",t)})}(r,l),A();let{nextEl:u,prevEl:d}=t.navigation?t.navigation:{};u=S(u),d=S(d),u&&u.forEach(t=>x(t,s,e.nextSlideMessage)),d&&d.forEach(t=>x(t,s,e.prevSlideMessage)),w()&&S(t.pagination.el).forEach(e=>{e.addEventListener("keydown",y)}),i().addEventListener("visibilitychange",E),t.el.addEventListener("focus",C,!0),t.el.addEventListener("focus",C,!0),t.el.addEventListener("pointerdown",T,!0),t.el.addEventListener("pointerup",k,!0)})()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&A()}),r("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:n}=t.navigation;n&&(t.isBeginning?(m(n),d(n)):(g(n),u(n))),e&&(t.isEnd?(m(e),d(e)):(g(e),u(e)))}()}),r("paginationUpdate",()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;_()&&t.pagination.bullets.forEach(n=>{t.params.pagination.clickable&&(u(n),t.params.pagination.renderBullet||(p(n,"button"),h(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,b(n)+1)))),n.matches(oe(t.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")})}()}),r("destroy",()=>{t.params.a11y.enabled&&function(){a&&a.remove();let{nextEl:e,prevEl:n}=t.navigation?t.navigation:{};e=S(e),n=S(n),e&&e.forEach(e=>e.removeEventListener("keydown",y)),n&&n.forEach(e=>e.removeEventListener("keydown",y)),w()&&S(t.pagination.el).forEach(e=>{e.removeEventListener("keydown",y)}),i().removeEventListener("visibilitychange",E),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",C,!0),t.el.removeEventListener("pointerdown",T,!0),t.el.removeEventListener("pointerup",k,!0))}()})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,o={};const a=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=s();let n;n=e?new URL(e):t.location;const i=n.pathname.slice(1).split("/").filter(e=>""!==e),r=i.length;return{key:i[r-2],value:i[r-1]}},c=(e,n)=>{const i=s();if(!r||!t.params.history.enabled)return;let o;o=t.params.url?new URL(t.params.url):i.location;const l=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${n}"]`):t.slides[n];let c=a(l.getAttribute("data-history"));if(t.params.history.root.length>0){let n=t.params.history.root;"/"===n[n.length-1]&&(n=n.slice(0,n.length-1)),c=`${n}/${e?`${e}/`:""}${c}`}else o.pathname.includes(e)||(c=`${e?`${e}/`:""}${c}`);t.params.history.keepQuery&&(c+=o.search);const u=i.history.state;u&&u.value===c||(t.params.history.replaceState?i.history.replaceState({value:c},null,c):i.history.pushState({value:c},null,c))},u=(e,n,i)=>{if(n)for(let r=0,s=t.slides.length;r{o=l(t.params.url),u(t.params.speed,o.value,!1)};i("init",()=>{t.params.history.enabled&&(()=>{const e=s();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);r=!0,o=l(t.params.url),o.key||o.value?(u(0,o.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",d)):t.params.history.replaceState||e.addEventListener("popstate",d)}})()}),i("destroy",()=>{t.params.history.enabled&&(()=>{const e=s();t.params.history.replaceState||e.removeEventListener("popstate",d)})()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{r&&c(t.params.history.key,t.activeIndex)}),i("slideChange",()=>{r&&t.params.cssMode&&c(t.params.history.key,t.activeIndex)})},function(e){let{swiper:t,extendParams:n,emit:r,on:o}=e,a=!1;const l=i(),c=s();n({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,n){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.find(e=>e.getAttribute("data-hash")===n);return e?parseInt(e.getAttribute("data-swiper-slide-index"),10):0}return t.getSlideIndex(m(t.slidesEl,`.${t.params.slideClass}[data-hash="${n}"], swiper-slide[data-hash="${n}"]`)[0])}}});const u=()=>{r("hashChange");const e=l.location.hash.replace("#",""),n=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(n?n.getAttribute("data-hash"):"")){const n=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===n||Number.isNaN(n))return;t.slideTo(n)}},d=()=>{if(!a||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],n=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&c.history&&c.history.replaceState?(c.history.replaceState(null,null,`#${n}`||""),r("hashSet")):(l.location.hash=n||"",r("hashSet"))};o("init",()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;a=!0;const e=l.location.hash.replace("#","");if(e){const n=0,i=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(i||0,n,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&c.addEventListener("hashchange",u)})()}),o("destroy",()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&c.removeEventListener("hashchange",u)}),o("transitionEnd _freeModeNoMomentumRelease",()=>{a&&d()}),o("slideChange",()=>{a&&t.params.cssMode&&d()})},function(e){let t,n,{swiper:r,extendParams:s,on:o,emit:a,params:l}=e;r.autoplay={running:!1,paused:!1,timeLeft:0},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let c,u,d,p,f,h,m,g,v=l&&l.autoplay?l.autoplay.delay:3e3,y=l&&l.autoplay?l.autoplay.delay:3e3,_=(new Date).getTime();function b(e){r&&!r.destroyed&&r.wrapperEl&&e.target===r.wrapperEl&&(r.wrapperEl.removeEventListener("transitionend",b),g||e.detail&&e.detail.bySwiperTouchMove||E())}const w=()=>{if(r.destroyed||!r.autoplay.running)return;r.autoplay.paused?u=!0:u&&(y=c,u=!1);const e=r.autoplay.paused?c:_+y-(new Date).getTime();r.autoplay.timeLeft=e,a("autoplayTimeLeft",e,e/v),n=requestAnimationFrame(()=>{w()})},x=e=>{if(r.destroyed||!r.autoplay.running)return;cancelAnimationFrame(n),w();let i=void 0===e?r.params.autoplay.delay:e;v=r.params.autoplay.delay,y=r.params.autoplay.delay;const s=(()=>{let e;if(e=r.virtual&&r.params.virtual.enabled?r.slides.find(e=>e.classList.contains("swiper-slide-active")):r.slides[r.activeIndex],e)return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(s)&&s>0&&void 0===e&&(i=s,v=s,y=s),c=i;const o=r.params.speed,l=()=>{r&&!r.destroyed&&(r.params.autoplay.reverseDirection?!r.isBeginning||r.params.loop||r.params.rewind?(r.slidePrev(o,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(r.slides.length-1,o,!0,!0),a("autoplay")):!r.isEnd||r.params.loop||r.params.rewind?(r.slideNext(o,!0,!0),a("autoplay")):r.params.autoplay.stopOnLastSlide||(r.slideTo(0,o,!0,!0),a("autoplay")),r.params.cssMode&&(_=(new Date).getTime(),requestAnimationFrame(()=>{x()})))};return i>0?(clearTimeout(t),t=setTimeout(()=>{l()},i)):requestAnimationFrame(()=>{l()}),i},T=()=>{_=(new Date).getTime(),r.autoplay.running=!0,x(),a("autoplayStart")},S=()=>{r.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),a("autoplayStop")},k=(e,n)=>{if(r.destroyed||!r.autoplay.running)return;clearTimeout(t),e||(m=!0);const i=()=>{a("autoplayPause"),r.params.autoplay.waitForTransition?r.wrapperEl.addEventListener("transitionend",b):E()};if(r.autoplay.paused=!0,n)return h&&(c=r.params.autoplay.delay),h=!1,void i();const s=c||r.params.autoplay.delay;c=s-((new Date).getTime()-_),r.isEnd&&c<0&&!r.params.loop||(c<0&&(c=0),i())},E=()=>{r.isEnd&&c<0&&!r.params.loop||r.destroyed||!r.autoplay.running||(_=(new Date).getTime(),m?(m=!1,x(c)):x(),r.autoplay.paused=!1,a("autoplayResume"))},C=()=>{if(r.destroyed||!r.autoplay.running)return;const e=i();"hidden"===e.visibilityState&&(m=!0,k(!0)),"visible"===e.visibilityState&&E()},A=e=>{"mouse"===e.pointerType&&(m=!0,g=!0,r.animating||r.autoplay.paused||k(!0))},P=e=>{"mouse"===e.pointerType&&(g=!1,r.autoplay.paused&&E())};o("init",()=>{r.params.autoplay.enabled&&(r.params.autoplay.pauseOnMouseEnter&&(r.el.addEventListener("pointerenter",A),r.el.addEventListener("pointerleave",P)),i().addEventListener("visibilitychange",C),T())}),o("destroy",()=>{r.el&&"string"!=typeof r.el&&(r.el.removeEventListener("pointerenter",A),r.el.removeEventListener("pointerleave",P)),i().removeEventListener("visibilitychange",C),r.autoplay.running&&S()}),o("_freeModeStaticRelease",()=>{(p||m)&&E()}),o("_freeModeNoMomentumRelease",()=>{r.params.autoplay.disableOnInteraction?S():k(!0,!0)}),o("beforeTransitionStart",(e,t,n)=>{!r.destroyed&&r.autoplay.running&&(n||!r.params.autoplay.disableOnInteraction?k(!0,!0):S())}),o("sliderFirstMove",()=>{!r.destroyed&&r.autoplay.running&&(r.params.autoplay.disableOnInteraction?S():(d=!0,p=!1,m=!1,f=setTimeout(()=>{m=!0,p=!0,k(!0)},200)))}),o("touchEnd",()=>{if(!r.destroyed&&r.autoplay.running&&d){if(clearTimeout(f),clearTimeout(t),r.params.autoplay.disableOnInteraction)return p=!1,void(d=!1);p&&r.params.cssMode&&E(),p=!1,d=!1}}),o("slideChange",()=>{!r.destroyed&&r.autoplay.running&&(h=!0)}),Object.assign(r.autoplay,{start:T,stop:S,pause:k,resume:E})},function(e){let{swiper:t,extendParams:n,on:r}=e;n({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let s=!1,o=!1;function a(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const n=e.clickedIndex,i=e.clickedSlide;if(i&&i.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let r;r=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):n,t.params.loop?t.slideToLoop(r):t.slideTo(r)}function l(){const{thumbs:e}=t.params;if(s)return!1;s=!0;const n=t.constructor;if(e.swiper instanceof n)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update();else if(u(e.swiper)){const i=Object.assign({},e.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new n(i),o=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",a),!0}function c(e){const n=t.thumbs.swiper;if(!n||n.destroyed)return;const i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView;let r=1;const s=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(r=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),n.slides.forEach(e=>e.classList.remove(s)),n.params.loop||n.params.virtual&&n.params.virtual.enabled)for(let e=0;e{e.classList.add(s)});else for(let e=0;ee.getAttribute("data-swiper-slide-index")===`${t.realIndex}`);s=n.slides.indexOf(e),l=t.activeIndex>t.previousIndex?"next":"prev"}else s=t.realIndex,l=s>t.previousIndex?"next":"prev";a&&(s+="next"===l?o:-1*o),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(s)<0&&(n.params.centeredSlides?s=s>r?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>r&&n.params.slidesPerGroup,n.slideTo(s,e?0:void 0))}}t.thumbs={swiper:null},r("beforeInit",()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const n=i(),r=()=>{const i="string"==typeof e.swiper?n.querySelector(e.swiper):e.swiper;if(i&&i.swiper)e.swiper=i.swiper,l(),c(!0);else if(i){const n=`${t.params.eventsPrefix}init`,r=s=>{e.swiper=s.detail[0],i.removeEventListener(n,r),l(),c(!0),e.swiper.update(),t.update()};i.addEventListener(n,r)}return i},s=()=>{t.destroyed||r()||requestAnimationFrame(s)};requestAnimationFrame(s)}else l(),c(!0)}),r("slideChange update resize observerUpdate",()=>{c()}),r("setTransition",(e,n)=>{const i=t.thumbs.swiper;i&&!i.destroyed&&i.setTransition(n)}),r("beforeDestroy",()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&o&&e.destroy()}),Object.assign(t.thumbs,{init:l,update:c})},function(e){let{swiper:t,extendParams:n,emit:i,once:r}=e;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:n}=t;0===e.velocities.length&&e.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:l()})},onTouchEnd:function(e){let{currentPos:n}=e;if(t.params.cssMode)return;const{params:s,wrapperEl:o,rtlTranslate:a,snapGrid:c,touchEventsData:u}=t,d=l()-u.touchStartTime;if(n<-t.minTranslate())t.slideTo(t.activeIndex);else if(n>-t.maxTranslate())t.slides.length1){const e=u.velocities.pop(),n=u.velocities.pop(),i=e.position-n.position,r=e.time-n.time;t.velocity=i/r,t.velocity/=2,Math.abs(t.velocity)150||l()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeMode.momentumVelocityRatio,u.velocities.length=0;let e=1e3*s.freeMode.momentumRatio;const n=t.velocity*e;let d=t.translate+n;a&&(d=-d);let p,f=!1;const h=20*Math.abs(t.velocity)*s.freeMode.momentumBounceRatio;let m;if(dt.minTranslate())s.freeMode.momentumBounce?(d-t.minTranslate()>h&&(d=t.minTranslate()+h),p=t.minTranslate(),f=!0,u.allowMomentumBounce=!0):d=t.minTranslate(),s.loop&&s.centeredSlides&&(m=!0);else if(s.freeMode.sticky){let e;for(let t=0;t-d){e=t;break}d=Math.abs(c[e]-d){t.loopFix()}),0!==t.velocity){if(e=a?Math.abs((-d-t.translate)/t.velocity):Math.abs((d-t.translate)/t.velocity),s.freeMode.sticky){const n=Math.abs((a?-d:d)-t.translate),i=t.slidesSizesGrid[t.activeIndex];e=n{t&&!t.destroyed&&u.allowMomentumBounce&&(i("momentumBounce"),t.setTransition(s.speed),setTimeout(()=>{t.setTranslate(p),x(o,()=>{t&&!t.destroyed&&t.transitionEnd()})},0))})):t.velocity?(i("_freeModeNoMomentumRelease"),t.updateProgress(d),t.setTransition(e),t.setTranslate(d),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,x(o,()=>{t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(d),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(s.freeMode.sticky)return void t.slideToClosest();s.freeMode&&i("_freeModeNoMomentumRelease")}(!s.freeMode.momentum||d>=s.longSwipesMs)&&(i("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,n,i,r,{swiper:s,extendParams:o,on:a}=e;o({grid:{rows:1,fill:"column"}});const l=()=>{let e=s.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*s.size:"string"==typeof e&&(e=parseFloat(e)),e};a("init",()=>{r=s.params.grid&&s.params.grid.rows>1}),a("update",()=>{const{params:e,el:t}=s,n=e.grid&&e.grid.rows>1;r&&!n?(t.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),i=1,s.emitContainerClasses()):!r&&n&&(t.classList.add(`${e.containerModifierClass}grid`),"column"===e.grid.fill&&t.classList.add(`${e.containerModifierClass}grid-column`),s.emitContainerClasses()),r=n}),s.grid={initSlides:e=>{const{slidesPerView:r}=s.params,{rows:o,fill:a}=s.params.grid,l=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:e.length;i=Math.floor(l/o),t=Math.floor(l/o)===l/o?l:Math.ceil(l/o)*o,"auto"!==r&&"row"===a&&(t=Math.max(t,r*o)),n=t/o},unsetSlides:()=>{s.slides&&s.slides.forEach(e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[s.getDirectionLabel("margin-top")]="")})},updateSlide:(e,r,o)=>{const{slidesPerGroup:a}=s.params,c=l(),{rows:u,fill:d}=s.params.grid,p=s.virtual&&s.params.virtual.enabled?s.virtual.slides.length:o.length;let f,h,m;if("row"===d&&a>1){const n=Math.floor(e/(a*u)),i=e-u*a*n,s=0===n?a:Math.min(Math.ceil((p-n*u*a)/u),a);m=Math.floor(i/s),h=i-m*s+n*a,f=h+m*t/u,r.style.order=f}else"column"===d?(h=Math.floor(e/u),m=e-h*u,(h>i||h===i&&m===u-1)&&(m+=1,m>=u&&(m=0,h+=1))):(m=Math.floor(e/n),h=e-m*n);r.row=m,r.column=h,r.style.height=`calc((100% - ${(u-1)*c}px) / ${u})`,r.style[s.getDirectionLabel("margin-top")]=0!==m?c&&`${c}px`:"",r.swiperSlideGridSet=!0},updateWrapperSize:(e,n)=>{const{centeredSlides:i,roundLengths:r}=s.params,o=l(),{rows:a}=s.params.grid;if(s.virtualSize=(e+o)*t,s.virtualSize=Math.ceil(s.virtualSize/a)-o,s.params.cssMode||(s.wrapperEl.style[s.getDirectionLabel("width")]=`${s.virtualSize+o}px`),i){const e=[];for(let t=0;t{const{slides:e}=t;t.params.fadeEffect;for(let n=0;n{const n=t.slides.map(e=>h(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`}),he({swiper:t,duration:e,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(e,t,n)=>{let i=n?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=n?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(n?"left":"top")).split(" ")),e.append(i)),r||(r=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(n?"right":"bottom")).split(" ")),e.append(r)),i&&(i.style.opacity=Math.max(-t,0)),r&&(r.style.opacity=Math.max(t,0))};pe({effect:"cube",swiper:t,on:i,setTranslate:()=>{const{el:e,wrapperEl:n,slides:i,width:s,height:o,rtlTranslate:a,size:l,browser:c}=t,u=k(t),d=t.params.cubeEffect,p=t.isHorizontal(),f=t.virtual&&t.params.virtual.enabled;let h,m=0;d.shadow&&(p?(h=t.wrapperEl.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),t.wrapperEl.append(h)),h.style.height=`${s}px`):(h=e.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),e.append(h))));for(let e=0;e-1&&(m=90*n+90*c,a&&(m=90*-n-90*c)),t.style.transform=y,d.slideShadows&&r(t,c,p)}if(n.style.transformOrigin=`50% 50% -${l/2}px`,n.style["-webkit-transform-origin"]=`50% 50% -${l/2}px`,d.shadow)if(p)h.style.transform=`translate3d(0px, ${s/2+d.shadowOffset}px, ${-s/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${d.shadowScale})`;else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=d.shadowScale,i=d.shadowScale/t,r=d.shadowOffset;h.style.transform=`scale3d(${n}, 1, ${i}) translate3d(0px, ${o/2+r}px, ${-o/2/i}px) rotateX(-89.99deg)`}const g=(c.isSafari||c.isWebView)&&c.needPerspectiveFix?-l/2:0;n.style.transform=`translate3d(0px,0,${g}px) rotateX(${u(t.isHorizontal()?0:m)}deg) rotateY(${u(t.isHorizontal()?-m:0)}deg)`,n.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:n,slides:i}=t;if(i.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=n.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach(t=>{const n=Math.max(Math.min(t.progress,1),-1);r(t,n,e)})},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({flipEffect:{slideShadows:!0,limitRotation:!0}});const r=(e,n)=>{let i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=me("flip",e,t.isHorizontal()?"left":"top")),r||(r=me("flip",e,t.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-n,0)),r&&(r.style.opacity=Math.max(n,0))};pe({effect:"flip",swiper:t,on:i,setTranslate:()=>{const{slides:e,rtlTranslate:n}=t,i=t.params.flipEffect,s=k(t);for(let o=0;o{const n=t.slides.map(e=>h(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),he({swiper:t,duration:e,transformElements:n})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach(e=>{let n=e.progress;t.params.flipEffect.limitRotation&&(n=Math.max(Math.min(e.progress,1),-1)),r(e,n)})},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),pe({effect:"coverflow",swiper:t,on:i,setTranslate:()=>{const{width:e,height:n,slides:i,slidesSizesGrid:r}=t,s=t.params.coverflowEffect,o=t.isHorizontal(),a=t.translate,l=o?e/2-a:n/2-a,c=o?s.rotate:-s.rotate,u=s.depth,d=k(t);for(let e=0,t=i.length;e0?p:0),n&&(n.style.opacity=-p>0?-p:0)}}},setTransition:e=>{t.slides.map(e=>h(e)).forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=e=>"string"==typeof e?e:`${e}px`;pe({effect:"creative",swiper:t,on:i,setTranslate:()=>{const{slides:e,wrapperEl:n,slidesSizesGrid:i}=t,s=t.params.creativeEffect,{progressMultiplier:o}=s,a=t.params.centeredSlides,l=k(t);if(a){const e=i[0]/2-t.params.slidesOffsetBefore||0;n.style.transform=`translateX(calc(50% - ${e}px))`}for(let n=0;n0&&(g=s.prev,m=!0),f.forEach((e,t)=>{f[t]=`calc(${e}px + (${r(g.translate[t])} * ${Math.abs(u*o)}))`}),h.forEach((e,t)=>{let n=g.rotate[t]*Math.abs(u*o);h[t]=n}),i.style.zIndex=-Math.abs(Math.round(c))+e.length;const v=f.join(", "),y=`rotateX(${l(h[0])}deg) rotateY(${l(h[1])}deg) rotateZ(${l(h[2])}deg)`,_=d<0?`scale(${1+(1-g.scale)*d*o})`:`scale(${1-(1-g.scale)*d*o})`,b=d<0?1+(1-g.opacity)*d*o:1-(1-g.opacity)*d*o,w=`translate3d(${v}) ${y} ${_}`;if(m&&g.shadow||!m){let e=i.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=me("creative",i)),e){const t=s.shadowPerProgress?u*(1/s.limitProgress):u;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const x=fe(0,i);x.style.transform=w,x.style.opacity=b,g.origin&&(x.style.transformOrigin=g.origin)}},setTransition:e=>{const n=t.slides.map(e=>h(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),he({swiper:t,duration:e,transformElements:n,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:n,on:i}=e;n({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),pe({effect:"cards",swiper:t,on:i,setTranslate:()=>{const{slides:e,activeIndex:n,rtlTranslate:i}=t,r=t.params.cardsEffect,{startTranslate:s,isTouched:o}=t.touchEventsData,a=i?-t.translate:t.translate;for(let l=0;l0&&d<1&&(o||t.params.cssMode)&&a-1&&(o||t.params.cssMode)&&a>s;if(b||w){const e=(1-Math.abs((Math.abs(d)-.5)/.5))**.5;v+=-28*d*e,g+=-.5*e,y+=96*e,h=-25*e*Math.abs(d)+"%"}if(f=d<0?`calc(${f}px ${i?"-":"+"} (${y*Math.abs(d)}%))`:d>0?`calc(${f}px ${i?"-":"+"} (-${y*Math.abs(d)}%))`:`${f}px`,!t.isHorizontal()){const e=h;h=f,f=e}const x=d<0?""+(1+(1-g)*d):""+(1-(1-g)*d),T=`\n translate3d(${f}, ${h}, ${m}px)\n rotateZ(${r.rotate?i?-v:v:0}deg)\n scale(${x})\n `;if(r.slideShadows){let e=c.querySelector(".swiper-slide-shadow");e||(e=me("cards",c)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(d)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(u))+e.length,fe(0,c).style.transform=T}},setTransition:e=>{const n=t.slides.map(e=>h(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),he({swiper:t,duration:e,transformElements:n})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}];return re.use(ge),re}();window.bezierease=function(){var e=.1,t="Float32Array"in window;function n(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function r(e){return 3*e}function s(e,t,s){return((n(t,s)*e+i(t,s))*e+r(t))*e}function o(e,t,s){return 3*n(t,s)*e*e+2*i(t,s)*e+r(t)}function a(e,t,n){var i,r,o=0;do{(i=s(r=t+(n-t)/2,mX1,mX2)-e)>0?n=r:t=r}while(Math.abs(i)>1e-7&&++o<10);return r}return function(n,i,r,l){if(4!==arguments.length)throw new Error("BezierEasing requires 4 arguments.");for(var c=0;c<4;++c)if("number"!=typeof arguments[c]||isNaN(arguments[c])||!isFinite(arguments[c]))throw new Error("BezierEasing arguments should be integers.");if(n<0||n>1||r<0||r>1)throw new Error("BezierEasing x values must be in [0, 1] range.");var u=t?new Float32Array(11):new Array(11);var d=!1;var p=function(t){return d||(d=!0,n==i&&r==l||function(){for(var t=0;t<11;++t)u[t]=s(t*e,n,r)}()),n===i&&r===l?t:0===t?0:1===t?1:s(function(t){for(var i=0,l=1;10!=l&&u[l]<=t;++l)i+=e;--l;var c=i+(t-u[l])/(u[l+1]-u[l])*e,d=o(c,n,r);return d>=.001?function(e,t){for(var i=0;i<4;++i){var a=o(t,n,r);if(0===a)return t;t-=(s(t,n,r)-e)/a}return t}(t,c):0===d?c:a(t,i,i+e)}(t),i,l)};p.getControlPoints=function(){return[{x:n,y:i},{x:r,y:l}]};var f=[n,i,r,l],h="BezierEasing("+f+")";p.toString=function(){return h};var m="cubic-bezier("+f+")";return p.toCSS=function(){return m},p}}(),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},i=n[e]=n[e]||[];return-1==i.indexOf(t)&&i.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var i=n.indexOf(t);return-1!=i&&n.splice(i,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var i=this._onceEvents&&this._onceEvents[e],r=0;r