PageSourceSearch

https://namelesspace.com/wp-content/themes/customcode/js/scripts.min.js?ver=1791288727

js namelesspace.com collected 2026-10-06 12:12:21 UTC 358,680 bytes, 3,564 lines download raw bytes

vendor: 88,147 bytes, lines 1-4
1/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}k.fn=k.prototype={jquery:f,constructor:k,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(n){return this.pushStack(k.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},k.extend=k.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(k.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||k.isPlainObject(n)?n:{},i=!1,a[t]=k.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},k.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){b(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(d(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(p,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?k.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=t[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var h=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,k="sizzle"+1*new Date,m=n.document,S=0,r=0,p=ue(),x=ue(),N=ue(),A=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",$=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",F=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<a id='"+k+"'></a><select id='"+k+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!==C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&j.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(D),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(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]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(F," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[k]||(a[k]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===S&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[S,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[k]||(a[k]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===S&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[k]||(a[k]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[S,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[k]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace(B,"$1"));return s[k]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[S,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[k]||(e[k]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===S&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[k]&&(v=Ce(v)),y&&!y[k]&&(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[k]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=N[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[k]?i.push(a):o.push(a);(a=N(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=S+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t===C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument===C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&&(S=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(S=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=k.split("").sort(D).join("")===k,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);k.find=h,k.expr=h.selectors,k.expr[":"]=k.expr.pseudos,k.uniqueSort=k.unique=h.uniqueSort,k.text=h.getText,k.isXMLDoc=h.isXML,k.contains=h.contains,k.escapeSelector=h.escape;var T=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=k.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1<i.call(n,e)!==r}):k.filter(n,e,r)}k.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?k.find.matchesSelector(r,e)?[r]:[]:k.find.matches(e,k.grep(t,function(e){return 1===e.nodeType}))},k.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(k(e).filter(function(){for(t=0;t<r;t++)if(k.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)k.find(e,i[t],n);return 1<r?k.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&N.test(e)?k(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"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 k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&k(e);if(!N.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&k.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?k.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(k(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return"undefined"!=typeof e.contentDocument?e.contentDocument:(A(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},function(r,i){k.fn[r]=function(e,t){var n=k.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=k.filter(t,n)),1<this.length&&(O[r]||k.uniqueSort(n),H.test(r)&&n.reverse()),this.pushStack(n)}});var R=/[^\x20\t\r\n\f]+/g;function M(e){return e}function I(e){throw e}function W(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},k.each(e.match(R)||[],function(e,t){n[t]=!0}),n):k.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){k.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return k.each(arguments,function(e,t){var n;while(-1<(n=k.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<k.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},k.extend({Deferred:function(e){var o=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return k.Deferred(function(r){k.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,M,s),l(u,o,I,s)):(u++,t.call(e,l(u,o,M,s),l(u,o,I,s),l(u,o,M,o.notifyWith))):(a!==M&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==I&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(k.Deferred.getStackHook&&(t.stackTrace=k.Deferred.getStackHook()),C.setTimeout(t))}}return k.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:M,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:M)),o[2][3].add(l(0,e,m(n)?n:I))}).promise()},promise:function(e){return null!=e?k.extend(e,a):a}},s={};return k.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=k.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(W(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)W(i[t],a(t),o.reject);return o.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&$.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){C.setTimeout(function(){throw e})};var F=k.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),k.ready()}k.fn.ready=function(e){return F.then(e)["catch"](function(e){k.readyException(e)}),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0)!==e&&0<--k.readyWait||F.resolveWith(E,[k])}}),k.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(k.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var _=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)_(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(k(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},z=/^-ms-/,U=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function V(e){return e.replace(z,"ms-").replace(U,X)}var G=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=k.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[V(t)]=n;else for(r in t)i[V(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in r?[t]:t.match(R)||[]).length;while(n--)delete r[t[n]]}(void 0===t||k.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var Q=new Y,J=new Y,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function ee(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Z,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:K.test(i)?JSON.parse(i):i)}catch(e){}J.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),k.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=V(r.slice(5)),ee(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){J.set(this,n)}):_(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=J.get(o,n))?t:void 0!==(t=ee(o,n))?t:void 0;this.each(function(){J.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),k.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,k.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),r=n.length,i=n.shift(),o=k._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){k.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:k.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),k.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?k.queue(this[0],t):void 0===n?this:this.each(function(){var e=k.queue(this,t,n);k._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&k.dequeue(this,t)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=k.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ie=E.documentElement,oe=function(e){return k.contains(e.ownerDocument,e)},ae={composed:!0};ie.getRootNode&&(oe=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(ae)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&oe(e)&&"none"===k.css(e,"display")},ue=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return k.css(e,t,"")},u=s(),l=n&&n[3]||(k.cssNumber[t]?"":"px"),c=e.nodeType&&(k.cssNumber[t]||"px"!==l&&+u)&&ne.exec(k.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)k.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,k.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ce={};function fe(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Q.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&se(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ce[s])||(o=a.body.appendChild(a.createElement(s)),u=k.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ce[s]=u)))):"none"!==n&&(l[c]="none",Q.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}k.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?k(this).show():k(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;var me,xe,be=/<|&#?\w+;/;function we(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))k.merge(p,o.nodeType?[o]:o);else if(be.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+k.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;k.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<k.inArray(o,r))i&&i.push(o);else if(l=oe(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}me=E.createDocumentFragment().appendChild(E.createElement("div")),(xe=E.createElement("input")).setAttribute("type","radio"),xe.setAttribute("checked","checked"),xe.setAttribute("name","t"),me.appendChild(xe),y.checkClone=me.cloneNode(!0).cloneNode(!0).lastChild.checked,me.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){a=k.event.handlers.call(this,s,l),t=0;while((i=a[t++])&&!s.isPropagationStopped()){s.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!s.isImmediatePropagationStopped())s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((k.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<k(i,this).index(l):k.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(k.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&De(t,"click",ke),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&De(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Q.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Te.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ce.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},function(e,t){k.event.special[e]={setup:function(){return De(this,e,Ne),!1},trigger:function(){return De(this,e),!0},delegateType:t}}),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){k.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||k.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),k.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,k(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each(function(){k.event.remove(this,e,n,t)})}});var je=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,He=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)k.event.add(t,i,l[i][n]);J.hasData(e)&&(s=J.access(e),u=k.extend({},s),J.set(t,u))}}function Ie(n,r,i,o){r=g.apply([],r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!y.checkClone&&Le.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),Ie(t,r,i,o)});if(f&&(t=(e=we(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=k.map(ve(e,"script"),Pe)).length;c<f;c++)u=e,c!==p&&(u=k.clone(u,!0,!0),s&&k.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,k.map(a,Re),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Q.access(u,"globalEval")&&k.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?k._evalUrl&&!u.noModule&&k._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")}):b(u.textContent.replace(He,""),u,l))}return n}function We(e,t,n){for(var r,i=t?k.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||k.cleanData(ve(r)),r.parentNode&&(n&&oe(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}k.extend({htmlPrefilter:function(e){return e.replace(je,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Me(o[r],a[r]);else Me(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=k.event.special,o=0;void 0!==(n=e[o]);o++)if(G(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?k.event.remove(n,r):k.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),k.fn.extend({detach:function(e){return We(this,e,!0)},remove:function(e){return We(this,e)},text:function(e){return _(this,function(e){return void 0===e?k.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ie(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return Ie(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ie(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ie(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(k.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return _(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!qe.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Ie(this,arguments,function(e){var t=this.parentNode;k.inArray(this,n)<0&&(k.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){k.fn[e]=function(e){for(var t,n=[],r=k(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),k(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var $e=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},Be=new RegExp(re.join("|"),"i");function _e(e,t,n){var r,i,o,a,s=e.style;return(n=n||Fe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||oe(e)||(a=k.style(e,t)),!y.pixelBoxStyles()&&$e.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(s).appendChild(u);var e=C.getComputedStyle(u);n="1%"!==e.top,a=12===t(e.marginLeft),u.style.right="60%",o=36===t(e.right),r=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ie.removeChild(s),u=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s=E.createElement("div"),u=E.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===u.style.backgroundClip,k.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),a},scrollboxSize:function(){return e(),i}}))}();var Ue=["Webkit","Moz","ms"],Xe=E.createElement("div").style,Ve={};function Ge(e){var t=k.cssProps[e]||Ve[e];return t||(e in Xe?e:Ve[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Ue.length;while(n--)if((e=Ue[n]+t)in Xe)return e}(e)||e)}var Ye=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Je={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,n){var r=ne.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=k.css(e,n+re[a],!0,i)),r?("content"===n&&(u-=k.css(e,"padding"+re[a],!0,i)),"margin"!==n&&(u-=k.css(e,"border"+re[a]+"Width",!0,i))):(u+=k.css(e,"padding"+re[a],!0,i),"padding"!==n?u+=k.css(e,"border"+re[a]+"Width",!0,i):s+=k.css(e,"border"+re[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function tt(e,t,n){var r=Fe(e),i=(!y.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,r),o=i,a=_e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if($e.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===k.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===k.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(i?"border":"content"),o,r,a)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=_e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=V(t),u=Qe.test(t),l=e.style;if(u||(t=Ge(s)),a=k.cssHooks[t]||k.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=ne.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(k.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=V(t);return Qe.test(t)||(t=Ge(s)),(a=k.cssHooks[t]||k.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=_e(e,t,r)),"normal"===i&&t in Ke&&(i=Ke[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),k.each(["height","width"],function(e,u){k.cssHooks[u]={get:function(e,t,n){if(t)return!Ye.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,u,n):ue(e,Je,function(){return tt(e,u,n)})},set:function(e,t,n){var r,i=Fe(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===k.css(e,"boxSizing",!1,i),s=n?et(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-et(e,u,"border",!1,i)-.5)),s&&(r=ne.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=k.css(e,u)),Ze(0,t,s)}}}),k.cssHooks.marginLeft=ze(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(_e(e,"marginLeft"))||e.getBoundingClientRect().left-ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(i,o){k.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+re[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(k.cssHooks[i+o].set=Ze)}),k.fn.extend({css:function(e,t){return _(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Fe(e),i=t.length;a<i;a++)o[t[a]]=k.css(e,t[a],!1,r);return o}return void 0!==n?k.style(e,t,n):k.css(e,t)},e,t,1<arguments.length)}}),((k.Tween=nt).prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(k.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=k.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}}).init.prototype=nt.prototype,(nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=nt.prototype.init,k.fx.step={};var rt,it,ot,at,st=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function lt(){it&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(lt):C.setTimeout(lt,k.fx.interval),k.fx.tick())}function ct(){return C.setTimeout(function(){rt=void 0}),rt=Date.now()}function ft(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=re[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function pt(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function dt(o,e,t){var n,a,r=0,i=dt.prefilters.length,s=k.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=rt||ct(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:k.extend({},e),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},t),originalProperties:e,originalOptions:t,startTime:rt||ct(),duration:t.duration,tweens:[],createTween:function(e,t){var n=k.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=V(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=k.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=dt.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(k._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return k.map(c,pt,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),k.fx.timer(k.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}k.Animation=k.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&se(e),v=Q.get(e,"fxshow");for(r in n.queue||(null==(a=k._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,k.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],st.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||k.style(e,r)}if((u=!k.isEmptyObject(t))||!k.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Q.get(e,"display")),"none"===(c=k.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=k.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===k.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Q.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&fe([e],!0),p.done(function(){for(r in g||fe([e]),Q.remove(e,"fxshow"),d)k.style(e,r,d[r])})),u=pt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),k.speed=function(e,t,n){var r=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return k.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in k.fx.speeds?r.duration=k.fx.speeds[r.duration]:r.duration=k.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&k.dequeue(this,r.queue)},r},k.fn.extend({fadeTo:function(e,t,n,r){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=k.isEmptyObject(t),o=k.speed(e,n,r),a=function(){var e=dt(this,k.extend({},t),o);(i||Q.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=k.timers,r=Q.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&ut.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||k.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Q.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=k.timers,o=n?n.length:0;for(t.finish=!0,k.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),k.each(["toggle","show","hide"],function(e,r){var i=k.fn[r];k.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(ft(r,!0),e,t,n)}}),k.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){k.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),rt=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){it||(it=!0,lt())},k.fx.stop=function(){it=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(r,e){return r=k.fx&&k.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},ot=E.createElement("input"),at=E.createElement("select").appendChild(E.createElement("option")),ot.type="checkbox",y.checkOn=""!==ot.value,y.optSelected=at.selected,(ot=E.createElement("input")).value="t",ot.type="radio",y.radioValue="t"===ot.value;var ht,gt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return _(this,k.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})}}),k.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?k.prop(e,t,n):(1===o&&k.isXMLDoc(e)||(i=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=k.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(R);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),function(e,t){var a=gt[t]||k.find.attr;gt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=gt[o],gt[o]=r,r=null!=a(e,t,n)?o:null,gt[o]=i),r}});var vt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function mt(e){return(e.match(R)||[]).join(" ")}function xt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}k.fn.extend({prop:function(e,t){return _(this,k.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[k.propFix[e]||e]})}}),k.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&k.isXMLDoc(e)||(t=k.propFix[t]||t,i=k.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){k.propFix[this.toLowerCase()]=this}),k.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){k(this).addClass(t.call(this,e,xt(this)))});if((e=bt(t)).length)while(n=this[u++])if(i=xt(n),r=1===n.nodeType&&" "+mt(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){k(this).removeClass(t.call(this,e,xt(this)))});if(!arguments.length)return this.attr("class","");if((e=bt(t)).length)while(n=this[u++])if(i=xt(n),r=1===n.nodeType&&" "+mt(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=mt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):m(i)?this.each(function(e){k(this).toggleClass(i.call(this,e,xt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=k(this),r=bt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=xt(this))&&Q.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+mt(xt(n))+" ").indexOf(t))return!0;return!1}});var wt=/\r/g;k.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,k(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=k.map(t,function(e){return null==e?"":e+""})),(r=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=k.valHooks[t.type]||k.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(wt,""):null==e?"":e:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:mt(k.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=k(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=k.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<k.inArray(k.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<k.inArray(k(e).val(),t)}},y.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var Tt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!Tt.test(d+k.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[k.expando]?e:new k.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:k.makeArray(t,[e]),c=k.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,Tt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Q.get(o,"events")||{})[e.type]&&Q.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&G(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!G(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),k.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Ct),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Ct),k.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(r,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}}),y.focusin||k.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){k.event.simulate(r,e.target,k.event.fix(e))};k.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=Q.access(e,r);t||e.addEventListener(n,i,!0),Q.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=Q.access(e,r)-1;t?Q.access(e,r,t):(e.removeEventListener(n,i,!0),Q.remove(e,r))}}});var Et=C.location,kt=Date.now(),St=/\?/;k.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||k.error("Invalid XML: "+e),t};var Nt=/\[\]$/,At=/\r?\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function qt(n,e,r,i){var t;if(Array.isArray(e))k.each(e,function(e,t){r||Nt.test(n)?i(n,t):qt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)qt(n+"["+t+"]",e[t],r,i)}k.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){i(this.name,this.value)});else for(n in e)qt(n,e[n],t,i);return r.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&jt.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,function(e){return{name:t.name,value:e.replace(At,"\r\n")}}):{name:t.name,value:n.replace(At,"\r\n")}}).get()}});var Lt=/%20/g,Ht=/#.*$/,Ot=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Mt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Ft=E.createElement("a");function Bt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(R)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function _t(t,i,o,a){var s={},u=t===Wt;function l(e){var r;return s[e]=!0,k.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function zt(e,t){var n,r,i=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&k.extend(!0,e,r),e}Ft.href=Et.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,k.ajaxSettings),t):zt(k.ajaxSettings,e)},ajaxPrefilter:Bt(It),ajaxTransport:Bt(Wt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=k.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?k(y):k.event,x=k.Deferred(),b=k.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Pt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace(Mt,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(R)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Ft.protocol+"//"+Ft.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=k.param(v.data,v.traditional)),_t(It,v,t,T),h)return T;for(i in(g=k.event&&v.global)&&0==k.active++&&k.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Rt.test(v.type),f=v.url.replace(Ht,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Lt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(St.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Ot,"$1"),o=(St.test(f)?"&":"?")+"_="+kt+++o),v.url=f+o),v.ifModified&&(k.lastModified[f]&&T.setRequestHeader("If-Modified-Since",k.lastModified[f]),k.etag[f]&&T.setRequestHeader("If-None-Match",k.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+$t+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=_t(Wt,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(k.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(k.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--k.active||k.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],function(e,i){k[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),k.ajax(k.extend({url:e,type:i,dataType:r,data:t,success:n},k.isPlainObject(e)&&e))}}),k._evalUrl=function(e,t){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){k(this).wrapInner(n.call(this,e))}):this.each(function(){var e=k(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){k(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){k(this).replaceWith(this.childNodes)}),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Xt=k.ajaxSettings.xhr();y.cors=!!Xt&&"withCredentials"in Xt,y.ajax=Xt=!!Xt,k.ajaxTransport(function(i){var o,a;if(y.cors||Xt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Ut[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),k.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),k.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=k("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=mt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&k.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?k("<div>").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),k.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),k.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||k.guid++,i},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=A,k.isFunction=m,k.isWindow=x,k.camelCase=V,k.type=w,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return k});var Qt=C.jQuery,Jt=C.$;return k.noConflict=function(e){return C.$===k&&(C.$=Jt),e&&C.jQuery===k&&(C.jQuery=Qt),k},e||(C.jQuery=C.$=k),k});
3
4/
4/============================================================
5//
6// The MIT License
7//
8// Copyright (C) 2014 Matthew Wagerfield - @wagerfield
9//
10// Permission is hereby granted, free of charge, to any
11// person obtaining a copy of this software and associated
12// documentation files (the "Software"), to deal in the
13// Software without restriction, including without limitation
14// the rights to use, copy, modify, merge, publish, distribute,
15// sublicense, and/or sell copies of the Software, and to
16// permit persons to whom the Software is furnished to do
17// so, subject to the following conditions:
18//
19// The above copyright notice and this permission notice
20// shall be included in all copies or substantial portions
21// of the Software.
22//
23// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
24// OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
25// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
26// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
27// EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
28// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
29// AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
31// OR OTHER DEALINGS IN THE SOFTWARE.
32//
33//============================================================
34
35/**
36 * jQuery || Zepto Parallax Plugin
37 * @author Matthew Wagerfield - @wagerfield
38 * @description Creates a parallax effect between an array of layers,
39 *              driving the motion from the gyroscope output of a smartdevice.
40 *              If no gyroscope is available, the cursor position is used.
41 */
42;(function($, window, document, undefined) {
43
44  // Strict Mode
45  'use strict';
46
47  // Strict Mode
48  'use strict';
49
50  // Constants
51  var NAME = 'parallax';
52  var MAGIC_NUMBER = 30;
53  var DEFAULTS = {
54    relativeInput: false,
55    clipRelativeInput: false,
56    calibrationThreshold: 100,
57    calibrationDelay: 500,
58    supportDelay: 500,
59    calibrateX: false,
60    calibrateY: true,
61    invertX: true,
62    invertY: true,
63    limitX: false,
64    limitY: false,
65    scalarX: 10.0,
66    scalarY: 10.0,
67    frictionX: 0.1,
68    frictionY: 0.1,
69    originX: 0.5,
70    originY: 0.5,
71    pointerEvents: true,
72    precision: 1
73  };
74
75  function Plugin(element, options) {
76
77    // DOM Context
78    this.element = element;
79
80    // Selections
81    this.$context = $(element).data('api', this);
82    this.$layers = this.$context.find('.layer');
83
84    // Data Extraction
85    var data = {
86      calibrateX: this.$context.data('calibrate-x') || null,
87      calibrateY: this.$context.data('calibrate-y') || null,
88      invertX: this.$context.data('invert-x') || null,
89      invertY: this.$context.data('invert-y') || null,
90      limitX: parseFloat(this.$context.data('limit-x')) || null,
91      limitY: parseFloat(this.$context.data('limit-y')) || null,
92      scalarX: parseFloat(this.$context.data('scalar-x')) || null,
93      scalarY: parseFloat(this.$context.data('scalar-y')) || null,
94      frictionX: parseFloat(this.$context.data('friction-x')) || null,
95      frictionY: parseFloat(this.$context.data('friction-y')) || null,
96      originX: parseFloat(this.$context.data('origin-x')) || null,
97      originY: parseFloat(this.$context.data('origin-y')) || null,
98      pointerEvents: this.$context.data('pointer-events') || true,
99      precision: parseFloat(this.$context.data('precision')) || 1
100    };
101
102    // Delete Null Data Values
103    for (var key in data) {
104      if (data[key] === null) delete data[key];
105    }
106
107    // Compose Settings Object
108    $.extend(this, DEFAULTS, options, data);
109
110    // States
111    this.calibrationTimer = null;
112    this.calibrationFlag = true;
113    this.enabled = false;
114    this.depthsX = [];
115    this.depthsY = [];
116    this.raf = null;
117
118    // Element Bounds
119    this.bounds = null;
120    this.ex = 0;
121    this.ey = 0;
122    this.ew = 0;
123    this.eh = 0;
124
125    // Element Center
126    this.ecx = 0;
127    this.ecy = 0;
128
129    // Element Range
130    this.erx = 0;
131    this.ery = 0;
132
133    // Calibration
134    this.cx = 0;
135    this.cy = 0;
136
137    // Input
138    this.ix = 0;
139    this.iy = 0;
140
141    // Motion
142    this.mx = 0;
143    this.my = 0;
144
145    // Velocity
146    this.vx = 0;
147    this.vy = 0;
148
149    // Callbacks
150    this.onMouseMove = this.onMouseMove.bind(this);
151    this.onDeviceOrientation = this.onDeviceOrientation.bind(this);
152    this.onOrientationTimer = this.onOrientationTimer.bind(this);
153    this.onCalibrationTimer = this.onCalibrationTimer.bind(this);
154    this.onAnimationFrame = this.onAnimationFrame.bind(this);
155    this.onWindowResize = this.onWindowResize.bind(this);
156
157    // Initialise
158    this.initialise();
159  }
160
161  Plugin.prototype.transformSupport = function(value) {
162    var element = document.createElement('div');
163    var propertySupport = false;
164    var propertyValue = null;
165    var featureSupport = false;
166    var cssProperty = null;
167    var jsProperty = null;
168    for (var i = 0, l = this.vendors.length; i < l; i++) {
169      if (this.vendors[i] !== null) {
170        cssProperty = this.vendors[i][0] + 'transform';
171        jsProperty = this.vendors[i][1] + 'Transform';
172      } else {
173        cssProperty = 'transform';
174        jsProperty = 'transform';
175      }
176      if (element.style[jsProperty] !== undefined) {
177        propertySupport = true;
178        break;
179      }
180    }
181    switch(value) {
182      case '2D':
183        featureSupport = propertySupport;
184        break;
185      case '3D':
186        if (propertySupport) {
187          var body = document.body || document.createElement('body');
188          var documentElement = document.documentElement;
189          var documentOverflow = documentElement.style.overflow;
190          var isCreatedBody = false;
191          if (!document.body) {
192            isCreatedBody = true;
193            documentElement.style.overflow = 'hidden';
194            documentElement.appendChild(body);
195            body.style.overflow = 'hidden';
196            body.style.background = '';
197          }
198          body.appendChild(element);
199          element.style[jsProperty] = 'translate3d(1px,1px,1px)';
200          propertyValue = window.getComputedStyle(element).getPropertyValue(cssProperty);
201          featureSupport = propertyValue !== undefined && propertyValue.length > 0 && propertyValue !== "none";
202          documentElement.style.overflow = documentOverflow;
203          body.removeChild(element);
204          if ( isCreatedBody ) {
205            body.removeAttribute('style');
206            body.parentNode.removeChild(body);
207          }
208        }
209        break;
210    }
211    return featureSupport;
212  };
213
214  Plugin.prototype.ww = null;
215  Plugin.prototype.wh = null;
216  Plugin.prototype.wcx = null;
217  Plugin.prototype.wcy = null;
218  Plugin.prototype.wrx = null;
219  Plugin.prototype.wry = null;
220  Plugin.prototype.portrait = null;
221  Plugin.prototype.desktop = !navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i);
222  Plugin.prototype.vendors = [null,['-webkit-','webkit'],['-moz-','Moz'],['-o-','O'],['-ms-','ms']];
223  Plugin.prototype.motionSupport = !!window.DeviceMotionEvent;
224  Plugin.prototype.orientationSupport = !!window.DeviceOrientationEvent;
225  Plugin.prototype.orientationStatus = 0;
226  Plugin.prototype.transform2DSupport = Plugin.prototype.transformSupport('2D');
227  Plugin.prototype.transform3DSupport = Plugin.prototype.transformSupport('3D');
228  Plugin.prototype.propertyCache = {};
229
230  Plugin.prototype.initialise = function() {
231
232    // Configure Styles
233    if (this.$context.css('position') === 'static') {
234      this.$context.css({
235        position:'relative'
236      });
237    }
238
239    // Pointer events
240    if(!this.pointerEvents){
241      this.$context.css({
242        pointerEvents: 'none'
243      });
244    }
245
246    // Hardware Accelerate Context
247    this.accelerate(this.$context);
248
249    // Setup
250    this.updateLayers();
251    this.updateDimensions();
252    this.enable();
253    this.queueCalibration(this.calibrationDelay);
254  };
255
256  Plugin.prototype.updateLayers = function() {
257
258    // Cache Layer Elements
259    this.$layers = this.$context.find('.layer');
260    this.depthsX = [];
261    this.depthsY = [];
262
263    // Configure Layer Styles
264    this.$layers.css({
265      position:'absolute',
266      display:'block',
267      left: 0,
268      top: 0
269    });
270    this.$layers.first().css({
271      position:'relative'
272    });
273
274    // Hardware Accelerate Layers
275    this.accelerate(this.$layers);
276
277    // Cache Depths
278    this.$layers.each($.proxy(function(index, element) {
279      //Graceful fallback on depth if depth-x or depth-y is absent
280      var depth = $(element).data('depth') || 0;
281      this.depthsX.push($(element).data('depth-x') || depth);
282      this.depthsY.push($(element).data('depth-y') || depth);
283    }, this));
284  };
285
286  Plugin.prototype.updateDimensions = function() {
287    this.ww = window.innerWidth;
288    this.wh = window.innerHeight;
289    this.wcx = this.ww * this.originX;
290    this.wcy = this.wh * this.originY;
291    this.wrx = Math.max(this.wcx, this.ww - this.wcx);
292    this.wry = Math.max(this.wcy, this.wh - this.wcy);
293  };
294
295  Plugin.prototype.updateBounds = function() {
296    this.bounds = this.element.getBoundingClientRect();
297    this.ex = this.bounds.left;
298    this.ey = this.bounds.top;
299    this.ew = this.bounds.width;
300    this.eh = this.bounds.height;
301    this.ecx = this.ew * this.originX;
302    this.ecy = this.eh * this.originY;
303    this.erx = Math.max(this.ecx, this.ew - this.ecx);
304    this.ery = Math.max(this.ecy, this.eh - this.ecy);
305  };
306
307  Plugin.prototype.queueCalibration = function(delay) {
308    clearTimeout(this.calibrationTimer);
309    this.calibrationTimer = setTimeout(this.onCalibrationTimer, delay);
310  };
311
312  Plugin.prototype.enable = function() {
313    if (!this.enabled) {
314      this.enabled = true;
315      if (this.orientationSupport) {
316        this.portrait = null;
317        window.addEventListener('deviceorientation', this.onDeviceOrientation);
318        setTimeout(this.onOrientationTimer, this.supportDelay);
319      } else {
320        this.cx = 0;
321        this.cy = 0;
322        this.portrait = false;
323        window.addEventListener('mousemove', this.onMouseMove);
324      }
325      window.addEventListener('resize', this.onWindowResize);
326      this.raf = requestAnimationFrame(this.onAnimationFrame);
327    }
328  };
329
330  Plugin.prototype.disable = function() {
331    if (this.enabled) {
332      this.enabled = false;
333      if (this.orientationSupport) {
334        window.removeEventListener('deviceorientation', this.onDeviceOrientation);
335      } else {
336        window.removeEventListener('mousemove', this.onMouseMove);
337      }
338      window.removeEventListener('resize', this.onWindowResize);
339      cancelAnimationFrame(this.raf);
340    }
341  };
342
343  Plugin.prototype.calibrate = function(x, y) {
344    this.calibrateX = x === undefined ? this.calibrateX : x;
345    this.calibrateY = y === undefined ? this.calibrateY : y;
346  };
347
348  Plugin.prototype.invert = function(x, y) {
349    this.invertX = x === undefined ? this.invertX : x;
350    this.invertY = y === undefined ? this.invertY : y;
351  };
352
353  Plugin.prototype.friction = function(x, y) {
354    this.frictionX = x === undefined ? this.frictionX : x;
355    this.frictionY = y === undefined ? this.frictionY : y;
356  };
357
358  Plugin.prototype.scalar = function(x, y) {
359    this.scalarX = x === undefined ? this.scalarX : x;
360    this.scalarY = y === undefined ? this.scalarY : y;
361  };
362
363  Plugin.prototype.limit = function(x, y) {
364    this.limitX = x === undefined ? this.limitX : x;
365    this.limitY = y === undefined ? this.limitY : y;
366  };
367
368  Plugin.prototype.origin = function(x, y) {
369    this.originX = x === undefined ? this.originX : x;
370    this.originY = y === undefined ? this.originY : y;
371  };
372
373  Plugin.prototype.clamp = function(value, min, max) {
374    value = Math.max(value, min);
375    value = Math.min(value, max);
376    return value;
377  };
378
379  Plugin.prototype.css = function(element, property, value) {
380    var jsProperty = this.propertyCache[property];
381    if (!jsProperty) {
382      for (var i = 0, l = this.vendors.length; i < l; i++) {
383        if (this.vendors[i] !== null) {
384          jsProperty = $.camelCase(this.vendors[i][1] + '-' + property);
385        } else {
386          jsProperty = property;
387        }
388        if (element.style[jsProperty] !== undefined) {
389          this.propertyCache[property] = jsProperty;
390          break;
391        }
392      }
393    }
394    element.style[jsProperty] = value;
395  };
396
397  Plugin.prototype.accelerate = function($element) {
398    for (var i = 0, l = $element.length; i < l; i++) {
399      var element = $element[i];
400      this.css(element, 'transform', 'translate3d(0,0,0)');
401      this.css(element, 'transform-style', 'preserve-3d');
402      this.css(element, 'backface-visibility', 'hidden');
403    }
404  };
405
406  Plugin.prototype.setPosition = function(element, x, y) {
407    x += 'px';
408    y += 'px';
409    if (this.transform3DSupport) {
410      this.css(element, 'transform', 'translate3d('+x+','+y+',0)');
411    } else if (this.transform2DSupport) {
412      this.css(element, 'transform', 'translate('+x+','+y+')');
413    } else {
414      element.style.left = x;
415      element.style.top = y;
416    }
417  };
418
419  Plugin.prototype.onOrientationTimer = function(event) {
420    if (this.orientationSupport && this.orientationStatus === 0) {
421      this.disable();
422      this.orientationSupport = false;
423      this.enable();
424    }
425  };
426
427  Plugin.prototype.onCalibrationTimer = function(event) {
428    this.calibrationFlag = true;
429  };
430
431  Plugin.prototype.onWindowResize = function(event) {
432    this.updateDimensions();
433  };
434
435  Plugin.prototype.onAnimationFrame = function() {
436    this.updateBounds();
437    var dx = this.ix - this.cx;
438    var dy = this.iy - this.cy;
439    if ((Math.abs(dx) > this.calibrationThreshold) || (Math.abs(dy) > this.calibrationThreshold)) {
440      this.queueCalibration(0);
441    }
442    if (this.portrait) {
443      this.mx = this.calibrateX ? dy : this.iy;
444      this.my = this.calibrateY ? dx : this.ix;
445    } else {
446      this.mx = this.calibrateX ? dx : this.ix;
447      this.my = this.calibrateY ? dy : this.iy;
448    }
449    this.mx *= this.ew * (this.scalarX / 100);
450    this.my *= this.eh * (this.scalarY / 100);
451    if (!isNaN(parseFloat(this.limitX))) {
452      this.mx = this.clamp(this.mx, -this.limitX, this.limitX);
453    }
454    if (!isNaN(parseFloat(this.limitY))) {
455      this.my = this.clamp(this.my, -this.limitY, this.limitY);
456    }
457    this.vx += (this.mx - this.vx) * this.frictionX;
458    this.vy += (this.my - this.vy) * this.frictionY;
459    for (var i = 0, l = this.$layers.length; i < l; i++) {
460      var depthX = this.depthsX[i];
461      var depthY = this.depthsY[i];
462      var layer = this.$layers[i];
463      var xOffset = this.vx * (depthX * (this.invertX ? -1 : 1));
464      var yOffset = this.vy * (depthY * (this.invertY ? -1 : 1));
465      this.setPosition(layer, xOffset, yOffset);
466    }
467    this.raf = requestAnimationFrame(this.onAnimationFrame);
468  };
469
470  Plugin.prototype.onDeviceOrientation = function(event) {
471
472    // Validate environment and event properties.
473    if (!this.desktop && event.beta !== null && event.gamma !== null) {
474
475      // Set orientation status.
476      this.orientationStatus = 1;
477
478      // Extract Rotation
479      var x = (event.beta  || 0) / MAGIC_NUMBER; //  -90 :: 90
480      var y = (event.gamma || 0) / MAGIC_NUMBER; // -180 :: 180
481
482      // Detect Orientation Change
483      var portrait = window.innerHeight > window.innerWidth;
484      if (this.portrait !== portrait) {
485        this.portrait = portrait;
486        this.calibrationFlag = true;
487      }
488
489      // Set Calibration
490      if (this.calibrationFlag) {
491        this.calibrationFlag = false;
492        this.cx = x;
493        this.cy = y;
494      }
495
496      // Set Input
497      this.ix = x;
498      this.iy = y;
499    }
500  };
501
502  Plugin.prototype.onMouseMove = function(event) {
503
504    // Cache mouse coordinates.
505    var clientX = event.clientX;
506    var clientY = event.clientY;
507
508    // Calculate Mouse Input
509    if (!this.orientationSupport && this.relativeInput) {
510
511      // Clip mouse coordinates inside element bounds.
512      if (this.clipRelativeInput) {
513        clientX = Math.max(clientX, this.ex);
514        clientX = Math.min(clientX, this.ex + this.ew);
515        clientY = Math.max(clientY, this.ey);
516        clientY = Math.min(clientY, this.ey + this.eh);
517      }
518
519      // Calculate input relative to the element.
520      this.ix = (clientX - this.ex - this.ecx) / this.erx;
521      this.iy = (clientY - this.ey - this.ecy) / this.ery;
522
523    } else {
524
525      // Calculate input relative to the window.
526      this.ix = (clientX - this.wcx) / this.wrx;
527      this.iy = (clientY - this.wcy) / this.wry;
528    }
529  };
530
531  var API = {
532    enable: Plugin.prototype.enable,
533    disable: Plugin.prototype.disable,
534    updateLayers: Plugin.prototype.updateLayers,
535    calibrate: Plugin.prototype.calibrate,
536    friction: Plugin.prototype.friction,
537    invert: Plugin.prototype.invert,
538    scalar: Plugin.prototype.scalar,
539    limit: Plugin.prototype.limit,
540    origin: Plugin.prototype.origin
541  };
542
543  $.fn[NAME] = function (value) {
544    var args = arguments;
545    return this.each(function () {
546      var $this = $(this);
547      var plugin = $this.data(NAME);
548      if (!plugin) {
549        plugin = new Plugin(this, value);
550        $this.data(NAME, plugin);
551      }
552      if (API[value]) {
553        plugin[value].apply(plugin, Array.prototype.slice.call(args, 1));
554      }
555    });
556  };
557
558})(window.jQuery || window.Zepto, window, document);
559
560/**
561 * Request Animation Frame Polyfill.
562 * @author Tino Zijdel
563 * @author Paul Irish
564 * @see https://gist.github.com/paulirish/1579671
565 */
566;(function() {
567
568  var lastTime = 0;
569  var vendors = ['ms', 'moz', 'webkit', 'o'];
570
571  for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
572    window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];
573    window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] || window[vendors[x]+'CancelRequestAnimationFrame'];
574  }
575
576  if (!window.requestAnimationFrame) {
577    window.requestAnimationFrame = function(callback, element) {
578      var currTime = new Date().getTime();
579      var timeToCall = Math.max(0, 16 - (currTime - lastTime));
580      var id = window.setTimeout(function() { callback(currTime + timeToCall); },
581        timeToCall);
582      lastTime = currTime + timeToCall;
583      return id;
584    };
585  }
586
587  if (!window.cancelAnimationFrame) {
588    window.cancelAnimationFrame = function(id) {
589      clearTimeout(id);
590    };
591  }
592
593}());
594
595(function(factory){"use strict";if(typeof define==="function"&&define.amd){define(["jquery"],factory)}else if(typeof exports!=="undefined"){module.exports=factory(require("jquery"))}else{factory(jQuery)}})(function($){$.fn.marquee=function(options){return this.each(function(){var o=$.extend({},$.fn.marquee.defaults,options),$this=$(this),$marqueeWrapper,containerWidth,animationCss,verticalDir,elWidth,loopCount=3,playState="animation-play-state",css3AnimationIsSupported=false,_prefixedEvent=function(element,type,callback){var pfx=["webkit","moz","MS","o",""];for(var p=0;p<pfx.length;p++){if(!pfx[p])type=type.toLowerCase();element.addEventListener(pfx[p]+type,callback,false)}},_objToString=function(obj){var tabjson=[];for(var p in obj){if(obj.hasOwnProperty(p)){tabjson.push(p+":"+obj[p])}}tabjson.push();return"{"+tabjson.join(",")+"}"},_startAnimationWithDelay=function(){$this.timer=setTimeout(animate,o.delayBeforeStart)},methods={pause:function(){if(css3AnimationIsSupported&&o.allowCss3Support){$marqueeWrapper.css(playState,"paused")}else{if($.fn.pause){$marqueeWrapper.pause()}}$this.data("runningStatus","paused");$this.trigger("paused")},resume:function(){if(css3AnimationIsSupported&&o.allowCss3Support){$marqueeWrapper.css(playState,"running")}else{if($.fn.resume){$marqueeWrapper.resume()}}$this.data("runningStatus","resumed");$this.trigger("resumed")},toggle:function(){methods[$this.data("runningStatus")==="resumed"?"pause":"resume"]()},destroy:function(){clearTimeout($this.timer);$this.find("*").addBack().off();$this.html($this.find(".js-marquee:first").html())}};if(typeof options==="string"){if($.isFunction(methods[options])){if(!$marqueeWrapper){$marqueeWrapper=$this.find(".js-marquee-wrapper")}if($this.data("css3AnimationIsSupported")===true){css3AnimationIsSupported=true}methods[options]()}return}var dataAttributes={},attr;$.each(o,function(key){attr=$this.attr("data-"+key);if(typeof attr!=="undefined"){switch(attr){case"true":attr=true;break;case"false":attr=false;break}o[key]=attr}});if(o.speed){o.duration=parseInt($this.width(),10)/o.speed*1e3}verticalDir=o.direction==="up"||o.direction==="down";o.gap=o.duplicated?parseInt(o.gap):0;$this.wrapInner('<div class="js-marquee"></div>');var $el=$this.find(".js-marquee").css({"margin-right":o.gap,float:"left"});if(o.duplicated){$el.clone(true).appendTo($this)}$this.wrapInner('<div style="width:100000px" class="js-marquee-wrapper"></div>');$marqueeWrapper=$this.find(".js-marquee-wrapper");if(verticalDir){var containerHeight=$this.height();$marqueeWrapper.removeAttr("style");$this.height(containerHeight);$this.find(".js-marquee").css({float:"none","margin-bottom":o.gap,"margin-right":0});if(o.duplicated){$this.find(".js-marquee:last").css({"margin-bottom":0})}var elHeight=$this.find(".js-marquee:first").height()+o.gap;if(o.startVisible&&!o.duplicated){o._completeDuration=(parseInt(elHeight,10)+parseInt(containerHeight,10))/parseInt(containerHeight,10)*o.duration;o.duration=parseInt(elHeight,10)/parseInt(containerHeight,10)*o.duration}else{o.duration=(parseInt(elHeight,10)+parseInt(containerHeight,10))/parseInt(containerHeight,10)*o.duration}}else{elWidth=$this.find(".js-marquee:first").width()+o.gap;containerWidth=$this.width();if(o.startVisible&&!o.duplicated){o._completeDuration=(parseInt(elWidth,10)+parseInt(containerWidth,10))/parseInt(containerWidth,10)*o.duration;o.duration=parseInt(elWidth,10)/parseInt(containerWidth,10)*o.duration}else{o.duration=(parseInt(elWidth,10)+parseInt(containerWidth,10))/parseInt(containerWidth,10)*o.duration}}if(o.duplicated){o.duration=o.duration/2}if(o.allowCss3Support){var elm=document.body||document.createElement("div"),animationName="marqueeAnimation-"+Math.floor(Math.random()*1e7),domPrefixes="Webkit Moz O ms Khtml".split(" "),animationString="animation",animationCss3Str="",keyframeString="";
vendor: 4,594 bytes, line 595
595if(elm.style.animation!==undefined){keyframeString="@keyframes "+animationName+" ";css3AnimationIsSupported=true}if(css3AnimationIsSupported===false){for(var i=0;i<domPrefixes.length;i++){if(elm.style[domPrefixes[i]+"AnimationName"]!==undefined){var prefix="-"+domPrefixes[i].toLowerCase()+"-";animationString=prefix+animationString;playState=prefix+playState;keyframeString="@"+prefix+"keyframes "+animationName+" ";css3AnimationIsSupported=true;break}}}if(css3AnimationIsSupported){animationCss3Str=animationName+" "+o.duration/1e3+"s "+o.delayBeforeStart/1e3+"s infinite "+o.css3easing;$this.data("css3AnimationIsSupported",true)}}var _rePositionVertically=function(){$marqueeWrapper.css("transform","translateY("+(o.direction==="up"?containerHeight+"px":"-"+elHeight+"px")+")")},_rePositionHorizontally=function(){$marqueeWrapper.css("transform","translateX("+(o.direction==="left"?containerWidth+"px":"-"+elWidth+"px")+")")};if(o.duplicated){if(verticalDir){if(o.startVisible){$marqueeWrapper.css("transform","translateY(0)")}else{$marqueeWrapper.css("transform","translateY("+(o.direction==="up"?containerHeight+"px":"-"+(elHeight*2-o.gap)+"px")+")")}}else{if(o.startVisible){$marqueeWrapper.css("transform","translateX(0)")}else{$marqueeWrapper.css("transform","translateX("+(o.direction==="left"?containerWidth+"px":"-"+(elWidth*2-o.gap)+"px")+")")}}if(!o.startVisible){loopCount=1}}else if(o.startVisible){loopCount=2}else{if(verticalDir){_rePositionVertically()}else{_rePositionHorizontally()}}var animate=function(){if(o.duplicated){if(loopCount===1){o._originalDuration=o.duration;if(verticalDir){o.duration=o.direction==="up"?o.duration+containerHeight/(elHeight/o.duration):o.duration*2}else{o.duration=o.direction==="left"?o.duration+containerWidth/(elWidth/o.duration):o.duration*2}if(animationCss3Str){animationCss3Str=animationName+" "+o.duration/1e3+"s "+o.delayBeforeStart/1e3+"s "+o.css3easing}loopCount++}else if(loopCount===2){o.duration=o._originalDuration;if(animationCss3Str){animationName=animationName+"0";keyframeString=$.trim(keyframeString)+"0 ";animationCss3Str=animationName+" "+o.duration/1e3+"s 0s infinite "+o.css3easing}loopCount++}}if(verticalDir){if(o.duplicated){if(loopCount>2){$marqueeWrapper.css("transform","translateY("+(o.direction==="up"?0:"-"+elHeight+"px")+")")}animationCss={transform:"translateY("+(o.direction==="up"?"-"+elHeight+"px":0)+")"}}else if(o.startVisible){if(loopCount===2){if(animationCss3Str){animationCss3Str=animationName+" "+o.duration/1e3+"s "+o.delayBeforeStart/1e3+"s "+o.css3easing}animationCss={transform:"translateY("+(o.direction==="up"?"-"+elHeight+"px":containerHeight+"px")+")"};loopCount++}else if(loopCount===3){o.duration=o._completeDuration;if(animationCss3Str){animationName=animationName+"0";keyframeString=$.trim(keyframeString)+"0 ";animationCss3Str=animationName+" "+o.duration/1e3+"s 0s infinite "+o.css3easing}_rePositionVertically()}}else{_rePositionVertically();animationCss={transform:"translateY("+(o.direction==="up"?"-"+$marqueeWrapper.height()+"px":containerHeight+"px")+")"}}}else{if(o.duplicated){if(loopCount>2){$marqueeWrapper.css("transform","translateX("+(o.direction==="left"?0:"-"+elWidth+"px")+")")}animationCss={transform:"translateX("+(o.direction==="left"?"-"+elWidth+"px":0)+")"}}else if(o.startVisible){if(loopCount===2){if(animationCss3Str){animationCss3Str=animationName+" "+o.duration/1e3+"s "+o.delayBeforeStart/1e3+"s "+o.css3easing}animationCss={transform:"translateX("+(o.direction==="left"?"-"+elWidth+"px":containerWidth+"px")+")"};loopCount++}else if(loopCount===3){o.duration=o._completeDuration;if(animationCss3Str){animationName=animationName+"0";keyframeString=$.trim(keyframeString)+"0 ";animationCss3Str=animationName+" "+o.duration/1e3+"s 0s infinite "+o.css3easing}_rePositionHorizontally()}}else{_rePositionHorizontally();animationCss={transform:"translateX("+(o.direction==="left"?"-"+elWidth+"px":containerWidth+"px")+")"}}}$this.trigger("beforeStarting");if(css3AnimationIsSupported){$marqueeWrapper.css(animationString,animationCss3Str);var keyframeCss=keyframeString+" { 100%  "+_objToString(animationCss)+"}",$styles=$marqueeWrapper.find("style");if($styles.length!==0){$styles.filter(":last").html(keyframeCss)}else{$("head").append("<style>"+keyframeCss+"</style>")}_prefixedEvent($marqueeWrapper[0],"AnimationIteration",function(){$this.trigger("finished")});_prefixedEvent($marqueeWrapper[0],"AnimationEnd",function(){animate();$this.trigger("finished")})}else{$marqueeWrapper.animate(animationCss,o.duration,o.easing,function(){$this.trigger("finished");
595if(o.pauseOnCycle){_startAnimationWithDelay()}else{animate()}})}$this.data("runningStatus","resumed")};$this.on("pause",methods.pause);$this.on("resume",methods.resume);if(o.pauseOnHover){$this.on("mouseenter",methods.pause);$this.on("mouseleave",methods.resume)}if(css3AnimationIsSupported&&o.allowCss3Support){animate()}else{_startAnimationWithDelay()}})};$.fn.marquee.defaults={allowCss3Support:true,css3easing:"linear",easing:"linear",delayBeforeStart:1e3,direction:"left",duplicated:false,duration:5e3,speed:0,gap:20,pauseOnCycle:false,pauseOnHover:false,startVisible:false}});
vendor: 11,753 bytes, lines 596-605
596/*!
597 * 
598 *   typed.js - A JavaScript Typing Animation Library
599 *   Author: Matt Boldt <[email protected]>
600 *   Version: v2.0.12
601 *   Url: https://github.com/mattboldt/typed.js
602 *   License(s): MIT
603 * 
604 */
605(function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Typed=e():t.Typed=e()})(this,function(){return function(t){function e(n){if(s[n])return s[n].exports;var i=s[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var s={};return e.m=t,e.c=s,e.p="",e(0)}([function(t,e,s){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,s,n){return s&&t(e.prototype,s),n&&t(e,n),e}}(),r=s(1),o=s(3),a=function(){function t(e,s){n(this,t),r.initializer.load(this,s,e),this.begin()}return i(t,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var t=arguments.length<=0||void 0===arguments[0]||arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){t.currentElContent&&0!==t.currentElContent.length?t.backspace(t.currentElContent,t.currentElContent.length):t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)}},{key:"typewrite",value:function(t,e){var s=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var n=this.humanizer(this.typeSpeed),i=1;return this.pause.status===!0?void this.setPauseStatus(t,e,!0):void(this.timeout=setTimeout(function(){e=o.htmlParser.typeHtmlChars(t,e,s);var n=0,r=t.substr(e);if("^"===r.charAt(0)&&/^\^\d+/.test(r)){var a=1;r=/\d+/.exec(r)[0],a+=r.length,n=parseInt(r),s.temporaryPause=!0,s.options.onTypingPaused(s.arrayPos,s),t=t.substring(0,e)+t.substring(e+a),s.toggleBlinking(!0)}if("`"===r.charAt(0)){for(;"`"!==t.substr(e+i).charAt(0)&&(i++,!(e+i>t.length)););var u=t.substring(0,e),l=t.substring(u.length+1,e+i),c=t.substring(e+i+1);t=u+l+c,i--}s.timeout=setTimeout(function(){s.toggleBlinking(!1),e>=t.length?s.doneTyping(t,e):s.keepTyping(t,e,i),s.temporaryPause&&(s.temporaryPause=!1,s.options.onTypingResumed(s.arrayPos,s))},n)},n))}},{key:"keepTyping",value:function(t,e,s){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=s;var n=t.substr(0,e);this.replaceText(n),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var s=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){s.backspace(t,e)},this.backDelay))}},{key:"backspace",value:function(t,e){var s=this;if(this.pause.status===!0)return void this.setPauseStatus(t,e,!1);if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){e=o.htmlParser.backSpaceHtmlChars(t,e,s);var n=t.substr(0,e);if(s.replaceText(n),s.smartBackspace){var i=s.strings[s.arrayPos+1];i&&n===i.substr(0,e)?s.stopNum=e:s.stopNum=0}e>s.stopNum?(e--,s.backspace(t,e)):e<=s.stopNum&&(s.arrayPos++,s.arrayPos===s.strings.length?(s.arrayPos=0,s.options.onLastStringBackspaced(),s.shuffleStringsIfNeeded(),s.begin()):s.typewrite(s.strings[s.sequence[s.arrayPos]],e))},n)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,s){this.pause.typewrite=s,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(e){t.stop()}),this.el.addEventListener("blur",function(e){t.el.value&&0!==t.el.value.length||t.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),t}();e["default"]=a,t.exports=e["default"]},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},o=function(){function t(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,s,n){return s&&t(e.prototype,s),n&&t(e,n),e}}(),a=s(2),u=n(a),l=function(){function t(){i(this,t)}return o(t,[{key:"load",value:function(t,e,s){if("string"==typeof s?t.el=document.querySelector(s):t.el=s,t.options=r({},u["default"],e),t.isInput="input"===t.el.tagName.toLowerCase(),t.attr=t.options.attr,t.bindInputFocusEvents=t.options.bindInputFocusEvents,t.showCursor=!t.isInput&&t.options.showCursor,t.cursorChar=t.options.cursorChar,t.cursorBlinking=!0,t.elContent=t.attr?t.el.getAttribute(t.attr):t.el.textContent,t.contentType=t.options.contentType,t.typeSpeed=t.options.typeSpeed,t.startDelay=t.options.startDelay,t.backSpeed=t.options.backSpeed,t.smartBackspace=t.options.smartBackspace,t.backDelay=t.options.backDelay,t.fadeOut=t.options.fadeOut,t.fadeOutClass=t.options.fadeOutClass,t.fadeOutDelay=t.options.fadeOutDelay,t.isPaused=!1,t.strings=t.options.strings.map(function(t){return t.trim()}),"string"==typeof t.options.stringsElement?t.stringsElement=document.querySelector(t.options.stringsElement):t.stringsElement=t.options.stringsElement,t.stringsElement){t.strings=[],t.stringsElement.style.display="none";var n=Array.prototype.slice.apply(t.stringsElement.children),i=n.length;if(i)for(var o=0;o<i;o+=1){var a=n[o];t.strings.push(a.innerHTML.trim())}}t.strPos=0,t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.sequence=[],t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1;for(var o in t.strings)t.sequence[o]=o;t.currentElContent=this.getCurrentElContent(t),t.autoInsertCss=t.options.autoInsertCss,this.appendAnimationCss(t)}},{key:"getCurrentElContent",value:function(t){var e="";return e=t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent}},{key:"appendAnimationCss",value:function(t){var e="data-typed-js-css";if(t.autoInsertCss&&(t.showCursor||t.fadeOut)&&!document.querySelector("["+e+"]")){var s=document.createElement("style");s.type="text/css",s.setAttribute(e,!0);var n="";t.showCursor&&(n+="\n        .typed-cursor{\n          opacity: 1;\n        }\n        .typed-cursor.typed-cursor--blink{\n          animation: typedjsBlink 0.7s infinite;\n          -webkit-animation: typedjsBlink 0.7s infinite;\n                  animation: typedjsBlink 0.7s infinite;\n        }\n        @keyframes typedjsBlink{\n          50% { opacity: 0.0; }\n        }\n        @-webkit-keyframes typedjsBlink{\n          0% { opacity: 1; }\n          50% { opacity: 0.0; }\n          100% { opacity: 1; }\n        }\n      "),t.fadeOut&&(n+="\n        .typed-fade-out{\n          opacity: 0;\n          transition: opacity .25s;\n        }\n        .typed-cursor.typed-cursor--blink.typed-fade-out{\n          -webkit-animation: 0;\n          animation: 0;\n        }\n      "),0!==s.length&&(s.innerHTML=n,document.body.appendChild(s))}}}]),t}();e["default"]=l;var c=new l;e.initializer=c},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(t){},onComplete:function(t){},preStringTyped:function(t,e){},onStringTyped:function(t,e){},onLastStringBackspaced:function(t){},onTypingPaused:function(t,e){},onTypingResumed:function(t,e){},onReset:function(t){},onStop:function(t,e){},onStart:function(t,e){},onDestroy:function(t){}};e["default"]=s,t.exports=e["default"]},function(t,e){"use strict";function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,s,n){return s&&t(e.prototype,s),n&&t(e,n),e}}(),i=function(){function t(){s(this,t)}return n(t,[{key:"typeHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if("<"===n||"&"===n){var i="";for(i="<"===n?">":";";t.substr(e+1).charAt(0)!==i&&(e++,!(e+1>t.length)););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if(">"===n||";"===n){var i="";for(i=">"===n?"<":"&";t.substr(e-1).charAt(0)!==i&&(e--,!(e<0)););e--}return e}}]),t}();e["default"]=i;var r=new i;e.htmlParser=r}])});
vendor: 7,241 bytes, lines 605-608
605
606//# sourceMappingURL=typed.min.js.map
607
608!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AOS=t():e.AOS=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(1),a=(o(r),n(6)),u=o(a),c=n(7),f=o(c),s=n(8),d=o(s),l=n(9),p=o(l),m=n(10),b=o(m),v=n(11),y=o(v),g=n(14),h=o(g),w=[],k=!1,x={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},j=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(k=!0),k)return w=(0,y.default)(w,x),(0,b.default)(w,x.once),w},O=function(){w=(0,h.default)(),j()},_=function(){w.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})},S=function(e){return e===!0||"mobile"===e&&p.default.mobile()||"phone"===e&&p.default.phone()||"tablet"===e&&p.default.tablet()||"function"==typeof e&&e()===!0},z=function(e){x=i(x,e),w=(0,h.default)();var t=document.all&&!window.atob;return S(x.disable)||t?_():(document.querySelector("body").setAttribute("data-aos-easing",x.easing),document.querySelector("body").setAttribute("data-aos-duration",x.duration),document.querySelector("body").setAttribute("data-aos-delay",x.delay),"DOMContentLoaded"===x.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?j(!0):"load"===x.startEvent?window.addEventListener(x.startEvent,function(){j(!0)}):document.addEventListener(x.startEvent,function(){j(!0)}),window.addEventListener("resize",(0,f.default)(j,x.debounceDelay,!0)),window.addEventListener("orientationchange",(0,f.default)(j,x.debounceDelay,!0)),window.addEventListener("scroll",(0,u.default)(function(){(0,b.default)(w,x.once)},x.throttleDelay)),x.disableMutationObserver||(0,d.default)("[data-aos]",O),w)};e.exports={init:z,refresh:j,refreshHard:O}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function o(t){var n=b,o=v;return b=v=void 0,k=t,g=e.apply(o,n)}function r(e){return k=e,h=setTimeout(s,t),_?o(e):g}function a(e){var n=e-w,o=e-k,i=t-n;return S?j(i,y-o):i}function c(e){var n=e-w,o=e-k;return void 0===w||n>=t||n<0||S&&o>=y}function s(){var e=O();return c(e)?d(e):void(h=setTimeout(s,a(e)))}function d(e){return h=void 0,z&&b?o(e):(b=v=void 0,g)}function l(){void 0!==h&&clearTimeout(h),k=0,b=w=v=h=void 0}function p(){return void 0===h?g:d(O())}function m(){var e=O(),n=c(e);if(b=arguments,v=this,w=e,n){if(void 0===h)return r(w);if(S)return h=setTimeout(s,t),o(w)}return void 0===h&&(h=setTimeout(s,t)),g}var b,v,y,g,h,w,k=0,_=!1,S=!1,z=!0;if("function"!=typeof e)throw new TypeError(f);return t=u(t)||0,i(n)&&(_=!!n.leading,S="maxWait"in n,y=S?x(u(n.maxWait)||0,t):y,z="trailing"in n?!!n.trailing:z),m.cancel=l,m.flush=p,m}function o(e,t,o){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(f);return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(e,t,{leading:r,maxWait:t,trailing:a})}function i(e){var t="undefined"==typeof e?"undefined":c(e);return!!e&&("object"==t||"function"==t)}function r(e){return!!e&&"object"==("undefined"==typeof e?"undefined":c(e))}function a(e){return"symbol"==("undefined"==typeof e?"undefined":c(e))||r(e)&&k.call(e)==d}function u(e){if("number"==typeof e)return e;if(a(e))return s;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=m.test(e);return n||b.test(e)?v(e.slice(2),n?2:8):p.test(e)?s:+e}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f="Expected a function",s=NaN,d="[object Symbol]",l=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,b=/^0o[0-7]+$/i,v=parseInt,y="object"==("undefined"==typeof t?"undefined":c(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":c(self))&&self&&self.Object===Object&&self,h=y||g||Function("return this")(),w=Object.prototype,k=w.toString,x=Math.max,j=Math.min,O=function(){return h.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e,t,n){function i(t){var n=b,o=v;return b=v=void 0,O=t,g=e.apply(o,n)}function r(e){return O=e,h=setTimeout(s,t),_?i(e):g}function u(e){var n=e-w,o=e-O,i=t-n;return S?x(i,y-o):i}function f(e){var n=e-w,o=e-O;return void 0===w||n>=t||n<0||S&&o>=y}function s(){var e=j();return f(e)?d(e):void(h=setTimeout(s,u(e)))}function d(e){return h=void 0,z&&b?i(e):(b=v=void 0,g)}function l(){void 0!==h&&clearTimeout(h),O=0,b=w=v=h=void 0}function p(){return void 0===h?g:d(j())}function m(){var e=j(),n=f(e);if(b=arguments,v=this,w=e,n){if(void 0===h)return r(w);if(S)return h=setTimeout(s,t),i(w)}return void 0===h&&(h=setTimeout(s,t)),g}var b,v,y,g,h,w,O=0,_=!1,S=!1,z=!0;if("function"!=typeof e)throw new TypeError(c);return t=a(t)||0,o(n)&&(_=!!n.leading,S="maxWait"in n,y=S?k(a(n.maxWait)||0,t):y,z="trailing"in n?!!n.trailing:z),m.cancel=l,m.flush=p,m}function o(e){var t="undefined"==typeof e?"undefined":u(e);return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==("undefined"==typeof e?"undefined":u(e))}function r(e){return"symbol"==("undefined"==typeof e?"undefined":u(e))||i(e)&&w.call(e)==s}function a(e){if("number"==typeof e)return e;if(r(e))return f;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=p.test(e);return n||m.test(e)?b(e.slice(2),n?2:8):l.test(e)?f:+e}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c="Expected a function",f=NaN,s="[object Symbol]",d=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,b=parseInt,v="object"==("undefined"==typeof t?"undefined":u(t))&&t&&t.Object===Object&&t,y="object"==("undefined"==typeof self?"undefined":u(self))&&self&&self.Object===Object&&self,g=v||y||Function("return this")(),h=Object.prototype,w=h.toString,k=Math.max,x=Math.min,j=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";function n(e,t){var n=window.document,r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,a=new r(o);i=t,a.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function o(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes
608),o=t.concat(n).filter(function(e){return e.hasAttribute&&e.hasAttribute("data-aos")}).length;o&&i()})}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.default=n},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,u=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,c=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
608sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,f=function(){function e(){n(this,e)}return i(e,[{key:"phone",value:function(){var e=o();return!(!r.test(e)&&!a.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=o();return!(!u.test(e)&&!c.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new f},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,n){var o=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):"undefined"!=typeof o&&("false"===o||!n&&"true"!==o)&&e.node.classList.remove("aos-animate")},o=function(e,t){var o=window.pageYOffset,i=window.innerHeight;e.forEach(function(e,r){n(e,i+o,t)})};t.default=o},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),r=o(i),a=function(e,t){return e.forEach(function(e,n){e.node.classList.add("aos-init"),e.position=(0,r.default)(e.node,t.offset)}),e};t.default=a},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(13),r=o(i),a=function(e,t){var n=0,o=0,i=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(o=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,r.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+e.offsetHeight;break;case"center-center":n+=i/2+e.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=e.offsetHeight+i;break;case"center-top":n+=e.offsetHeight/2+i}return a.anchorPlacement||a.offset||isNaN(t)||(o=t),n+o};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(e){return{node:e}})};t.default=n}])});
609/*!
610 * parallax.js v1.5.0 (http://pixelcog.github.io/parallax.js/)
611 * @copyright 2016 PixelCog, Inc.
612 * @license MIT (https://github.com/pixelcog/parallax.js/blob/master/LICENSE)
613 */
614!function(t,i,e,s){function o(i,e){var h=this;"object"==typeof e&&(delete e.refresh,delete e.render,t.extend(this,e)),this.$element=t(i),!this.imageSrc&&this.$element.is("img")&&(this.imageSrc=this.$element.attr("src"));var r=(this.position+"").toLowerCase().match(/\S+/g)||[];if(r.length<1&&r.push("center"),1==r.length&&r.push(r[0]),"top"!=r[0]&&"bottom"!=r[0]&&"left"!=r[1]&&"right"!=r[1]||(r=[r[1],r[0]]),this.positionX!==s&&(r[0]=this.positionX.toLowerCase()),this.positionY!==s&&(r[1]=this.positionY.toLowerCase()),h.positionX=r[0],h.positionY=r[1],"left"!=this.positionX&&"right"!=this.positionX&&(isNaN(parseInt(this.positionX))?this.positionX="center":this.positionX=parseInt(this.positionX)),"top"!=this.positionY&&"bottom"!=this.positionY&&(isNaN(parseInt(this.positionY))?this.positionY="center"
vendor: 4,792 bytes, line 614
614:this.positionY=parseInt(this.positionY)),this.position=this.positionX+(isNaN(this.positionX)?"":"px")+" "+this.positionY+(isNaN(this.positionY)?"":"px"),navigator.userAgent.match(/(iPod|iPhone|iPad)/))return this.imageSrc&&this.iosFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:"url("+this.imageSrc+")",backgroundSize:"cover",backgroundPosition:this.position}),this;if(navigator.userAgent.match(/(Android)/))return this.imageSrc&&this.androidFix&&!this.$element.is("img")&&this.$element.css({backgroundImage:"url("+this.imageSrc+")",backgroundSize:"cover",backgroundPosition:this.position}),this;this.$mirror=t("<div />").prependTo(this.mirrorContainer);var a=this.$element.find(">.parallax-slider"),n=!1;0==a.length?this.$slider=t("<img />").prependTo(this.$mirror):(this.$slider=a.prependTo(this.$mirror),n=!0),this.$mirror.addClass("parallax-mirror").css({visibility:"hidden",zIndex:this.zIndex,position:"fixed",top:0,left:0,overflow:"hidden"}),this.$slider.addClass("parallax-slider").one("load",function(){h.naturalHeight&&h.naturalWidth||(h.naturalHeight=this.naturalHeight||this.height||1,h.naturalWidth=this.naturalWidth||this.width||1),h.aspectRatio=h.naturalWidth/h.naturalHeight,o.isSetup||o.setup(),o.sliders.push(h),o.isFresh=!1,o.requestRender()}),n||(this.$slider[0].src=this.imageSrc),(this.naturalHeight&&this.naturalWidth||this.$slider[0].complete||a.length>0)&&this.$slider.trigger("load")}!function(){for(var t=0,e=["ms","moz","webkit","o"],s=0;s<e.length&&!i.requestAnimationFrame;++s)i.requestAnimationFrame=i[e[s]+"RequestAnimationFrame"],i.cancelAnimationFrame=i[e[s]+"CancelAnimationFrame"]||i[e[s]+"CancelRequestAnimationFrame"];i.requestAnimationFrame||(i.requestAnimationFrame=function(e){var s=(new Date).getTime(),o=Math.max(0,16-(s-t)),h=i.setTimeout(function(){e(s+o)},o);return t=s+o,h}),i.cancelAnimationFrame||(i.cancelAnimationFrame=function(t){clearTimeout(t)})}(),t.extend(o.prototype,{speed:.2,bleed:0,zIndex:-100,iosFix:!0,androidFix:!0,position:"center",overScrollFix:!1,mirrorContainer:"body",refresh:function(){this.boxWidth=this.$element.outerWidth(),this.boxHeight=this.$element.outerHeight()+2*this.bleed,this.boxOffsetTop=this.$element.offset().top-this.bleed,this.boxOffsetLeft=this.$element.offset().left,this.boxOffsetBottom=this.boxOffsetTop+this.boxHeight;var t,i=o.winHeight,e=o.docHeight,s=Math.min(this.boxOffsetTop,e-i),h=Math.max(this.boxOffsetTop+this.boxHeight-i,0),r=this.boxHeight+(s-h)*(1-this.speed)|0,a=(this.boxOffsetTop-s)*(1-this.speed)|0;r*this.aspectRatio>=this.boxWidth?(this.imageWidth=r*this.aspectRatio|0,this.imageHeight=r,this.offsetBaseTop=a,t=this.imageWidth-this.boxWidth,"left"==this.positionX?this.offsetLeft=0:"right"==this.positionX?this.offsetLeft=-t:isNaN(this.positionX)?this.offsetLeft=-t/2|0:this.offsetLeft=Math.max(this.positionX,-t)):(this.imageWidth=this.boxWidth,this.imageHeight=this.boxWidth/this.aspectRatio|0,this.offsetLeft=0,t=this.imageHeight-r,"top"==this.positionY?this.offsetBaseTop=a:"bottom"==this.positionY?this.offsetBaseTop=a-t:isNaN(this.positionY)?this.offsetBaseTop=a-t/2|0:this.offsetBaseTop=a+Math.max(this.positionY,-t))},render:function(){var t=o.scrollTop,i=o.scrollLeft,e=this.overScrollFix?o.overScroll:0,s=t+o.winHeight;this.boxOffsetBottom>t&&this.boxOffsetTop<=s?(this.visibility="visible",this.mirrorTop=this.boxOffsetTop-t,this.mirrorLeft=this.boxOffsetLeft-i,this.offsetTop=this.offsetBaseTop-this.mirrorTop*(1-this.speed)):this.visibility="hidden",this.$mirror.css({transform:"translate3d("+this.mirrorLeft+"px, "+(this.mirrorTop-e)+"px, 0px)",visibility:this.visibility,height:this.boxHeight,width:this.boxWidth}),this.$slider.css({transform:"translate3d("+this.offsetLeft+"px, "+this.offsetTop+"px, 0px)",position:"absolute",height:this.imageHeight,width:this.imageWidth,maxWidth:"none"})}}),t.extend(o,{scrollTop:0,scrollLeft:0,winHeight:0,winWidth:0,docHeight:1<<30,docWidth:1<<30,sliders:[],isReady:!1,isFresh:!1,isBusy:!1,setup:function(){function s(){if(p==i.pageYOffset)return i.requestAnimationFrame(s),!1;p=i.pageYOffset,h.render(),i.requestAnimationFrame(s)}if(!this.isReady){var h=this,r=t(e),a=t(i),n=function(){o.winHeight=a.height(),o.winWidth=a.width(),o.docHeight=r.height(),o.docWidth=r.width()},l=function(){var t=a.scrollTop(),i=o.docHeight-o.winHeight,e=o.docWidth-o.winWidth;o.scrollTop=Math.max(0,Math.min(i,t)),o.scrollLeft=Math.max(0,Math.min(e,a.scrollLeft())),o.overScroll=Math.max(t-i,Math.min(t,0))};a.on("resize.px.parallax load.px.parallax",function(){n(),h.refresh(),o.isFresh=!1,o.requestRender()}).on("scroll.px.parallax load.px.parallax",function(){l(),o.requestRender()}),n(),l(),this.isReady=!0;var p=-1;s()}},configure:function(i){"object"==typeof i&&(delete i.refresh,delete i.render,t.extend(this.prototype,i
614))},refresh:function(){t.each(this.sliders,function(){this.refresh()}),this.isFresh=!0},render:function(){this.isFresh||this.refresh(),t.each(this.sliders,function(){this.render()})},requestRender:function(){var t=this;t.render(),t.isBusy=!1},destroy:function(e){var s,h=t(e).data("px.parallax");for(h.$mirror.remove(),s=0;s<this.sliders.length;s+=1)this.sliders[s]==h&&this.sliders.splice(s,1);t(e).data("px.parallax",!1),0===this.sliders.length&&(t(i).off("scroll.px.parallax resize.px.parallax load.px.parallax"),this.isReady=!1,o.isSetup=!1)}});var h=t.fn.parallax;t.fn.parallax=function(s){return this.each(function(){var h=t(this),r="object"==typeof s&&s;this==i||this==e||h.is("body")?o.configure(r):h.data("px.parallax")?"object"==typeof s&&t.extend(h.data("px.parallax"),r):(r=t.extend({},h.data(),r),h.data("px.parallax",new o(this,r))),"string"==typeof s&&("destroy"==s?o.destroy(this):o[s]())})},t.fn.parallax.Constructor=o,t.fn.parallax.noConflict=function(){return t.fn.parallax=h,this},t(function(){t('[data-parallax="scroll"]').parallax()})}(jQuery,window,document);
615
616var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window;
617(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () {
618    "use strict";
619    _gsScope._gsDefine(
620        "utils.Draggable",
621        ["events.EventDispatcher", "TweenLite", "plugins.CSSPlugin"],
622        function (t, e, i) {
623            var r,
624                s,
625                n,
626                a,
627                o,
628                l,
629                h,
630                u,
631                _ = { css: {} },
632                c = { css: {} },
633                f = { css: {} },
634                p = { css: {} },
635                d = _gsScope._gsDefine.globals,
636                m = {},
637                g = document,
638                v = g.documentElement || {},
639                y = function (t) {
640                    return g.createElementNS ? g.createElementNS("http://www.w3.org/1999/xhtml", t) : g.createElement(t);
641                },
642                T = y("div"),
643                x = [],
644                w = function () {
645                    return !1;
646                },
647                b = 180 / Math.PI,
648                P = 999999999999999,
649                S =
650                    Date.now ||
651                    function () {
652                        return new Date().getTime();
653                    },
654                k = !(g.addEventListener || !g.all),
655                C = g.createElement("div"),
656                R = [],
657                O = {},
658                A = 0,
659                D = /^(?:a|input|textarea|button|select)$/i,
660                M = 0,
661                L = -1 !== navigator.userAgent.toLowerCase().indexOf("android"),
662                N = 0,
663                E = {},
664                I = {},
665                z = function (t) {
666                    if (("string" == typeof t && (t = e.selector(t)), !t || t.nodeType)) return [t];
667                    var i,
668                        r = [],
669                        s = t.length;
670                    for (i = 0; i !== s; r.push(t[i++]));
671                    return r;
672                },
673                F = function () {
674                    for (var t = R.length; --t > -1; ) R[t]();
675                },
676                X = function (t) {
677                    R.push(t), 1 === R.length && e.ticker.addEventListener("tick", F, this, !1, 1);
678                },
679                B = function (t) {
680                    for (var i = R.length; --i > -1; ) R[i] === t && R.splice(i, 1);
681                    e.to(Y, 0, { overwrite: "all", delay: 15, onComplete: Y });
682                },
683                Y = function () {
684                    R.length || e.ticker.removeEventListener("tick", F);
685                },
686                W = function (t, e) {
687                    var i;
688                    for (i in e) void 0 === t[i] && (t[i] = e[i]);
689                    return t;
690                },
691                j = function () {
692                    return null != window.pageYOffset ? window.pageYOffset : null != g.scrollTop ? g.scrollTop : v.scrollTop || g.body.scrollTop || 0;
693                },
694                U = function () {
695                    return null != window.pageXOffset ? window.pageXOffset : null != g.scrollLeft ? g.scrollLeft : v.scrollLeft || g.body.scrollLeft || 0;
696                },
697                V = function (t, e) {
698                    Me(t, "scroll", e), q(t.parentNode) || V(t.parentNode, e);
699                },
700                G = function (t, e) {
701                    Le(t, "scroll", e), q(t.parentNode) || G(t.parentNode, e);
702                },
703                q = function (t) {
704                    return !(t && t !== v && t !== g && t !== g.body && t !== window && t.nodeType && t.parentNode);
705                },
706                H = function (t, e) {
707                    var i = "x" === e ? "Width" : "Height",
708                        r = "scroll" + i,
709                        s = "client" + i,
710                        n = g.body;
711                    return Math.max(0, q(t) ? Math.max(v[r], n[r]) - (window["inner" + i] || v[s] || n[s]) : t[r] - t[s]);
712                },
713                Q = function (t) {
714                    var e = q(t),
715                        i = H(t, "x"),
716                        r = H(t, "y");
717                    e ? (t = I) : Q(t.parentNode), (t._gsMaxScrollX = i), (t._gsMaxScrollY = r), (t._gsScrollX = t.scrollLeft || 0), (t._gsScrollY = t.scrollTop || 0);
718                },
719                Z = function (t, e) {
720                    return (t = t || window.event), (m.pageX = t.clientX + g.body.scrollLeft + v.scrollLeft), (m.pageY = t.clientY + g.body.scrollTop + v.scrollTop), e && (t.returnValue = !1), m;
721                },
722                $ = function (t) {
723                    return t ? ("string" == typeof t && (t = e.selector(t)), t.length && t !== window && t[0] && t[0].style && !t.nodeType && (t = t[0]), t === window || (t.nodeType && t.style) ? t : null) : t;
724                },
725                K = function (t, e) {
726                    var i,
727                        s,
728                        n,
729                        a = t.style;
730                    if (void 0 === a[e]) {
731                        for (n = ["O", "Moz", "ms", "Ms", "Webkit"], s = 5, i = e.charAt(0).toUpperCase() + e.substr(1); --s > -1 && void 0 === a[n[s] + i]; );
732                        if (0 > s) return "";
733                        (r = 3 === s ? "ms" : n[s]), (e = r + i);
734                    }
735                    return e;
736                },
737                J = function (t, e, i) {
738                    var r = t.style;
739                    r && (void 0 === r[e] && (e = K(t, e)), null == i ? (r.removeProperty ? r.removeProperty(e.replace(/([A-Z])/g, "-$1").toLowerCase()) : r.removeAttribute(e)) : void 0 !== r[e] && (r[e] = i));
740                },
741                te = g.defaultView ? g.defaultView.getComputedStyle : w,
742                ee = /(?:Left|Right|Width)/i,
743                ie = /(?:\d|\-|\+|=|#|\.)*/g,
744                re = function (t, e, i, r, s) {
745                    if ("px" === r || !r) return i;
746                    if ("auto" === r || !i) return 0;
747                    var n,
748                        a = ee.test(e),
749                        o = t,
750                        l = T.style,
751                        h = 0 > i;
752                    return (
753                        h && (i = -i),
754                        "%" === r && -1 !== e.indexOf("border")
755                            ? (n = (i / 100) * (a ? t.clientWidth : t.clientHeight))
756                            : ((l.cssText = "border:0 solid red;position:" + ne(t, "position", !0) + ";line-height:0;"),
757                              "%" !== r && o.appendChild ? (l[a ? "borderLeftWidth" : "borderTopWidth"] = i + r) : ((o = t.parentNode || g.body), (l[a ? "width" : "height"] = i + r)),
758                              o.appendChild(T),
759                              (n = parseFloat(T[a ? "offsetWidth" : "offsetHeight"])),
760                              o.removeChild(T),
761                              0 !== n || s || (n = re(t, e, i, r, !0))),
762                        h ? -n : n
763                    );
764                },
765                se = function (t, e) {
766                    if ("absolute" !== ne(t, "position", !0)) return 0;
767                    var i = "left" === e ? "Left" : "Top",
768                        r = ne(t, "margin" + i, !0);
769                    return t["offset" + i] - (re(t, e, parseFloat(r), (r + "").replace(ie, "")) || 0);
770                },
771                ne = function (t, e, i) {
772                    var r,
773                        s = (t._gsTransform || {})[e];
774                    return s || 0 === s
775                        ? s
776                        : (t.style[e] ? (s = t.style[e]) : (r = te(t)) ? ((s = r.getPropertyValue(e.replace(/([A-Z])/g, "-$1").toLowerCase())), (s = s || r.length ? s : r[e])) : t.currentStyle && (s = t.currentStyle[e]),
777                          "auto" !== s || ("top" !== e && "left" !== e) || (s = se(t, e)),
778                          i ? s : parseFloat(s) || 0);
779                },
780                ae = function (t, e, i) {
781                    var r = t.vars,
782                        s = r[i],
783                        n = t._listeners[e];
784                    "function" == typeof s && s.apply(r[i + "Scope"] || r.callbackScope || t, r[i + "Params"] || [t.pointerEvent]), n && t.dispatchEvent(e);
785                },
786                oe = function (t, e) {
787                    var i,
788                        r,
789                        s,
790                        n = $(t);
791                    return n
792                        ? Ce(n, e)
793                        : void 0 !== t.left
794                        ? ((s = xe(e)), { left: t.left - s.x, top: t.top - s.y, width: t.width, height: t.height })
795                        : ((r = t.min || t.minX || t.minRotation || 0), (i = t.min || t.minY || 0), { left: r, top: i, width: (t.max || t.maxX || t.maxRotation || 0) - r, height: (t.max || t.maxY || 0) - i });
796                },
797                le = function () {
798                    if (!g.createElementNS) return (a = 0), (o = !1), void 0;
799                    var t,
800                        e,
801                        i,
802                        r,
803                        s = y("div"),
804                        n = g.createElementNS("http://www.w3.org/2000/svg", "svg"),
805                        u = y("div"),
806                        _ = s.style,
807                        c = g.body || v;
808                    g.body && _e && ((_.position = u.style.position = "absolute"), c.appendChild(u), u.appendChild(s), (_.height = "10px"), (r = s.offsetTop), (u.style.border = "5px solid red"), (h = r !== s.offsetTop), c.removeChild(u)),
809                        (_ = n.style),
810                        n.setAttributeNS(null, "width", "400px"),
811                        n.setAttributeNS(null, "height", "400px"),
812                        n.setAttributeNS(null, "viewBox", "0 0 400 400"),
813                        (_.display = "block"),
814                        (_.boxSizing = "border-box"),
815                        (_.border = "0px solid red"),
816                        (_.transform = "none"),
817                        (s.style.cssText = "width:100px;height:100px;overflow:scroll"),
818                        c.appendChild(s),
819                        s.appendChild(n),
820                        (i = n.createSVGPoint().matrixTransform(n.getScreenCTM())),
821                        (e = i.y),
822                        (s.scrollTop = 100),
823                        (i.x = i.y = 0),
824                        (i = i.matrixTransform(n.getScreenCTM())),
825                        (l = 100.1 > e - i.y ? 0 : e - i.y - 150),
826                        s.removeChild(n),
827                        c.removeChild(s),
828                        c.appendChild(n),
829                        (t = n.getScreenCTM()),
830                        (e = t.e),
831                        (_.border = "50px solid red"),
832                        (t = n.getScreenCTM()),
833                        0 === e && 0 === t.e && 0 === t.f && 1 === t.a ? ((a = 1), (o = !0)) : ((a = e !== t.e ? 1 : 0), (o = 1 !== t.a)),
834                        c.removeChild(n);
835                },
836                he = "" !== K(T, "perspective"),
837                ue = K(T, "transformOrigin")
838                    .replace(/^ms/g, "Ms")
839                    .replace(/([A-Z])/g, "-$1")
840                    .toLowerCase(),
841                _e = K(T, "transform"),
842                ce = _e
843                    .replace(/^ms/g, "Ms")
844                    .replace(/([A-Z])/g, "-$1")
845                    .toLowerCase(),
846                fe = {},
847                pe = {},
848                de = window.SVGElement,
849                me = function (t) {
850                    return !!(de && "function" == typeof t.getBBox && t.getCTM && (!t.parentNode || (t.parentNode.getBBox && t.parentNode.getCTM)));
851                },
852                ge = (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent) || /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent)) && 11 > parseFloat(RegExp.$1),
853                ve = [],
854                ye = [],
855                Te = function (t) {
856                    if (!t.getBoundingClientRect || !t.parentNode || !_e) return { offsetTop: 0, offsetLeft: 0, scaleX: 1, scaleY: 1, offsetParent: v };
857                    if (We.cacheSVGData !== !1 && t._gsCache && t._gsCache.lastUpdate === e.ticker.frame) return t._gsCache;
858                    var i,
859                        r,
860                        s,
861                        n,
862                        h,
863                        u,
864                        _,
865                        c,
866                        f,
867                        p,
868                        d,
869                        m,
870                        y = t,
871                        T = we(t);
872                    if (((T.lastUpdate = e.ticker.frame), t.getBBox && !T.isSVGRoot)) {
873                        for (y = t.parentNode, i = t.getBBox(); y && "svg" !== (y.nodeName + "").toLowerCase(); ) y = y.parentNode;
874                        return (n = Te(y)), (T.offsetTop = i.y * n.scaleY), (T.offsetLeft = i.x * n.scaleX), (T.scaleX = n.scaleX), (T.scaleY = n.scaleY), (T.offsetParent = y || v), T;
875                    }
876                    for (
877                        s = T.offsetParent, s === g.body && (s = v), ye.length = ve.length = 0;
878                        y && ((h = ne(y, _e, !0)), "matrix(1, 0, 0, 1, 0, 0)" !== h && "none" !== h && "translate3d(0px, 0px, 0px)" !== h && (ye.push(y), ve.push(y.style[_e]), (y.style[_e] = "none")), y !== s);
879
880                    )
881                        y = y.parentNode;
882                    for (
883                        r = s.getBoundingClientRect(),
884                            h = t.getScreenCTM(),
885                            c = t.createSVGPoint(),
886                            _ = c.matrixTransform(h),
887                            c.x = c.y = 10,
888                            c = c.matrixTransform(h),
889                            T.scaleX = (c.x - _.x) / 10,
890                            T.scaleY = (c.y - _.y) / 10,
891                            void 0 === a && le(),
892                            T.borderBox &&
893                                !o &&
894                                t.getAttribute("width") &&
895                                ((n = te(t) || {}),
896                                (f = parseFloat(n.borderLeftWidth) + parseFloat(n.borderRightWidth) || 0),
897                                (p = parseFloat(n.borderTopWidth) + parseFloat(n.borderBottomWidth) || 0),
898                                (d = parseFloat(n.width) || 0),
899                                (m = parseFloat(n.height) || 0),
900                                (T.scaleX *= (d - f) / d),
901                                (T.scaleY *= (m - p) / m)),
902                            l ? ((i = t.getBoundingClientRect()), (T.offsetLeft = i.left - r.left), (T.offsetTop = i.top - r.top)) : ((T.offsetLeft = _.x - r.left), (T.offsetTop = _.y - r.top)),
903                            T.offsetParent = s,
904                            u = ye.length;
905                        --u > -1;
906
907                    )
908                        ye[u].style[_e] = ve[u];
909                    return T;
910                },
911                xe = function (t, i) {
912                    if (((i = i || {}), !t || t === v || !t.parentNode || t === window)) return { x: 0, y: 0 };
913                    var r = te(t),
914                        s = ue && r ? r.getPropertyValue(ue) : "50% 50%",
915                        n = s.split(" "),
916                        a = -1 !== s.indexOf("left") ? "0%" : -1 !== s.indexOf("right") ? "100%" : n[0],
917                        o = -1 !== s.indexOf("top") ? "0%" : -1 !== s.indexOf("bottom") ? "100%" : n[1];
918                    return (
919                        ("center" === o || null == o) && (o = "50%"),
920                        ("center" === a || isNaN(parseFloat(a))) && (a = "50%"),
921                        t.getBBox && me(t)
922                            ? (t._gsTransform || (e.set(t, { x: "+=0", overwrite: !1 }), void 0 === t._gsTransform.xOrigin && console.log("Draggable requires at least GSAP 1.17.0")),
923                              (s = t.getBBox()),
924                              (i.x = t._gsTransform.xOrigin - s.x),
925                              (i.y = t._gsTransform.yOrigin - s.y))
926                            : (t.getBBox && !t.offsetWidth && -1 !== (a + o).indexOf("%") && ((t = t.getBBox()), (t = { offsetWidth: t.width, offsetHeight: t.height })),
927                              (i.x = -1 !== a.indexOf("%") ? (t.offsetWidth * parseFloat(a)) / 100 : parseFloat(a)),
928                              (i.y = -1 !== o.indexOf("%") ? (t.offsetHeight * parseFloat(o)) / 100 : parseFloat(o))),
929                        i
930                    );
931                },
932                we = function (t) {
933                    if (We.cacheSVGData !== !1 && t._gsCache && t._gsCache.lastUpdate === e.ticker.frame) return t._gsCache;
934                    var i,
935                        r = (t._gsCache = t._gsCache || {}),
936                        s = te(t),
937                        n = t.getBBox && me(t),
938                        a = "svg" === (t.nodeName + "").toLowerCase();
939                    if (((r.isSVG = n), (r.isSVGRoot = a), (r.borderBox = "border-box" === s.boxSizing), (r.computedStyle = s), a))
940                        (r.offsetParent = t.offsetParent) || (t.parentNode.insertBefore(T, t), (r.offsetParent = T.offsetParent), t.parentNode.removeChild(T));
941                    else if (n) {
942                        for (i = t.parentNode; i && "svg" !== (i.nodeName + "").toLowerCase(); ) i = i.parentNode;
943                        r.offsetParent = i;
944                    }
945                    return r;
946                },
947                be = function (t, e, i, r) {
948                    if (t === window || !t || !t.style || !t.parentNode) return [1, 0, 0, 1, 0, 0];
949                    var s,
950                        n,
951                        o,
952                        l,
953                        u,
954                        _,
955                        c,
956                        f,
957                        p,
958                        d,
959                        m,
960                        y,
961                        T,
962                        x,
963                        w = t._gsCache || we(t),
964                        b = t.parentNode,
965                        P = b._gsCache || we(b),
966                        S = w.computedStyle,
967                        k = w.isSVG ? P.offsetParent : b.offsetParent;
968                    return (
969                        (s = w.isSVG && -1 !== (t.style[_e] + "").indexOf("matrix") ? t.style[_e] : S ? S.getPropertyValue(ce) : t.currentStyle ? t.currentStyle[_e] : "1,0,0,1,0,0"),
970                        t.getBBox && -1 !== (t.getAttribute("transform") + "").indexOf("matrix") && (s = t.getAttribute("transform")),
971                        (s = (s + "").match(/(?:\-|\b)[\d\-\.e]+\b/g) || [1, 0, 0, 1, 0, 0]),
972                        s.length > 6 && (s = [s[0], s[1], s[4], s[5], s[12], s[13]]),
973                        r
974                            ? (s[4] = s[5] = 0)
975                            : w.isSVG &&
976                              (u = t._gsTransform) &&
977                              (u.xOrigin || u.yOrigin) &&
978                              ((s[0] = parseFloat(s[0])),
979                              (s[1] = parseFloat(s[1])),
980                              (s[2] = parseFloat(s[2])),
981                              (s[3] = parseFloat(s[3])),
982                              (s[4] = parseFloat(s[4]) - (u.xOrigin - (u.xOrigin * s[0] + u.yOrigin * s[2]))),
983                              (s[5] = parseFloat(s[5]) - (u.yOrigin - (u.xOrigin * s[1] + u.yOrigin * s[3])))),
984                        e &&
985                            (void 0 === a && le(),
986                            (o = w.isSVG || w.isSVGRoot ? Te(t) : t),
987                            w.isSVG
988                                ? ((l = t.getBBox()), (d = P.isSVGRoot ? { x: 0, y: 0 } : b.getBBox()), (o = { offsetLeft: l.x - d.x, offsetTop: l.y - d.y, offsetParent: w.offsetParent }))
989                                : w.isSVGRoot
990                                ? ((m = parseInt(S.borderTopWidth, 10) || 0),
991                                  (y = parseInt(S.borderLeftWidth, 10) || 0),
992                                  (T = (s[0] - a) * y + s[2] * m),
993                                  (x = s[1] * y + (s[3] - a) * m),
994                                  (_ = e.x),
995                                  (c = e.y),
996                                  (f = _ - (_ * s[0] + c * s[2])),
997                                  (p = c - (_ * s[1] + c * s[3])),
998                                  (s[4] = parseFloat(s[4]) + f),
999                                  (s[5] = parseFloat(s[5]) + p),
1000                                  (e.x -= f),
1001                                  (e.y -= p),
1002                                  (_ = o.scaleX),
1003                                  (c = o.scaleY),
1004                                  (e.x *= _),
1005                                  (e.y *= c),
1006                                  (s[0] *= _),
1007                                  (s[1] *= c),
1008                                  (s[2] *= _),
1009                                  (s[3] *= c),
1010                                  ge || ((e.x += T), (e.y += x)))
1011                                : !h && t.offsetParent && ((e.x += parseInt(ne(t.offsetParent, "borderLeftWidth"), 10) || 0), (e.y += parseInt(ne(t.offsetParent, "borderTopWidth"), 10) || 0)),
1012                            (n = b === v || b === g.body),
1013                            (s[4] = Number(s[4]) + e.x + (o.offsetLeft || 0) - i.x - (n ? 0 : b.scrollLeft || 0)),
1014                            (s[5] = Number(s[5]) + e.y + (o.offsetTop || 0) - i.y - (n ? 0 : b.scrollTop || 0)),
1015                            b && "fixed" === ne(t, "position", S) && ((s[4] += U()), (s[5] += j())),
1016                            b &&
1017                                b !== v &&
1018                                k === o.offsetParent &&
1019                                ((s[4] -= b.offsetLeft || 0),
1020                                (s[5] -= b.offsetTop || 0),
1021                                h || !b.offsetParent || w.isSVG || w.isSVGRoot || ((s[4] -= parseInt(ne(b.offsetParent, "borderLeftWidth"), 10) || 0), (s[5] -= parseInt(ne(b.offsetParent, "borderTopWidth"), 10) || 0)))),
1022                        s
1023                    );
1024                },
1025                Pe = function (t, e) {
1026                    if (!t || t === window || !t.parentNode) return [1, 0, 0, 1, 0, 0];
1027                    for (var i, r, s, n, a, o, l, h, u = xe(t, fe), _ = xe(t.parentNode, pe), c = be(t, u, _); (t = t.parentNode) && t.parentNode && t !== v; )
1028                        (u = _),
1029                            (_ = xe(t.parentNode, u === fe ? pe : fe)),
1030                            (l = be(t, u, _)),
1031                            (i = c[0]),
1032                            (r = c[1]),
1033                            (s = c[2]),
1034                            (n = c[3]),
1035                            (a = c[4]),
1036                            (o = c[5]),
1037                            (c[0] = i * l[0] + r * l[2]),
1038                            (c[1] = i * l[1] + r * l[3]),
1039                            (c[2] = s * l[0] + n * l[2]),
1040                            (c[3] = s * l[1] + n * l[3]),
1041                            (c[4] = a * l[0] + o * l[2] + l[4]),
1042                            (c[5] = a * l[1] + o * l[3] + l[5]);
1043                    return (
1044                        e &&
1045                            ((i = c[0]),
1046                            (r = c[1]),
1047                            (s = c[2]),
1048                            (n = c[3]),
1049                            (a = c[4]),
1050                            (o = c[5]),
1051                            (h = i * n - r * s),
1052                            (c[0] = n / h),
1053                            (c[1] = -r / h),
1054                            (c[2] = -s / h),
1055                            (c[3] = i / h),
1056                            (c[4] = (s * o - n * a) / h),
1057                            (c[5] = -(i * o - r * a) / h)),
1058                        c
1059                    );
1060                },
1061                Se = function (t, e, i, r, s) {
1062                    t = $(t);
1063                    var n = Pe(t, !1, s),
1064                        a = e.x,
1065                        o = e.y;
1066                    return i && (xe(t, e), (a -= e.x), (o -= e.y)), (r = r === !0 ? e : r || {}), (r.x = a * n[0] + o * n[2] + n[4]), (r.y = a * n[1] + o * n[3] + n[5]), r;
1067                },
1068                ke = function (t, e, i) {
1069                    var r = t.x * e[0] + t.y * e[2] + e[4],
1070                        s = t.x * e[1] + t.y * e[3] + e[5];
1071                    return (t.x = r * i[0] + s * i[2] + i[4]), (t.y = r * i[1] + s * i[3] + i[5]), t;
1072                },
1073                Ce = function (t, e, i) {
1074                    if (!(t = $(t))) return null;
1075                    e = $(e);
1076                    var r,
1077                        s,
1078                        n,
1079                        a,
1080                        o,
1081                        l,
1082                        h,
1083                        u,
1084                        _,
1085                        c,
1086                        f,
1087                        p,
1088                        d,
1089                        m,
1090                        y,
1091                        T,
1092                        x,
1093                        w,
1094                        b,
1095                        P,
1096                        S,
1097                        C,
1098                        R = t.getBBox && me(t);
1099                    if (t === window)
1100                        (a = j()), (s = U()), (n = s + (v.clientWidth || t.innerWidth || g.body.clientWidth || 0)), (o = a + ((t.innerHe
1100ight || 0) - 20 < v.clientHeight ? v.clientHeight : t.innerHeight || g.body.clientHeight || 0));
1101                    else {
1102                        if (void 0 === e || e === window) return t.getBoundingClientRect();
1103                        (r = xe(t)),
1104                            (s = -r.x),
1105                            (a = -r.y),
1106                            R ? ((p = t.getBBox()), (d = p.width), (m = p.height)) : t.offsetWidth ? ((d = t.offsetWidth), (m = t.offsetHeight)) : ((S = te(t)), (d = parseFloat(S.width)), (m = parseFloat(S.height))),
1107                            (n = s + d),
1108                            (o = a + m),
1109                            "svg" !== t.nodeName.toLowerCase() ||
1110                                k ||
1111                                ((y = Te(t)),
1112                                (C = y.computedStyle || {}),
1113                                (w = (t.getAttribute("viewBox") || "0 0").split(" ")),
1114                                (b = parseFloat(w[0])),
1115                                (P = parseFloat(w[1])),
1116                                (T = parseFloat(C.borderLeftWidth) || 0),
1117                                (x = parseFloat(C.borderTopWidth) || 0),
1118                                (n -= d - (d - T) / y.scaleX - b),
1119                                (o -= m - (m - x) / y.scaleY - P),
1120                                (s -= T / y.scaleX - b),
1121                                (a -= x / y.scaleY - P),
1122                                S && ((n += (parseFloat(C.borderRightWidth) + T) / y.scaleX), (o += (x + parseFloat(C.borderBottomWidth)) / y.scaleY)));
1123                    }
1124                    return t === e
1125                        ? { left: s, top: a, width: n - s, height: o - a }
1126                        : ((l = Pe(t)),
1127                          (h = Pe(e, !0)),
1128                          (u = ke({ x: s, y: a }, l, h)),
1129                          (_ = ke({ x: n, y: a }, l, h)),
1130                          (c = ke({ x: n, y: o }, l, h)),
1131                          (f = ke({ x: s, y: o }, l, h)),
1132                          (s = Math.min(u.x, _.x, c.x, f.x)),
1133                          (a = Math.min(u.y, _.y, c.y, f.y)),
1134                          (E.x = E.y = 0),
1135                          i && xe(e, E),
1136                          { left: s + E.x, top: a + E.y, width: Math.max(u.x, _.x, c.x, f.x) - s, height: Math.max(u.y, _.y, c.y, f.y) - a });
1137                },
1138                Re = function (t) {
1139                    return t.length && t[0] && ((t[0].nodeType && t[0].style && !t.nodeType) || (t[0].length && t[0][0])) ? !0 : !1;
1140                },
1141                Oe = function (t) {
1142                    var e,
1143                        i,
1144                        r,
1145                        s = [],
1146                        n = t.length;
1147                    for (e = 0; n > e; e++)
1148                        if (((i = t[e]), Re(i))) for (r = i.length, r = 0; i.length > r; r++) s.push(i[r]);
1149                        else s.push(i);
1150                    return s;
1151                },
1152                Ae = "ontouchstart" in v && "orientation" in window,
1153                De = (function (t) {
1154                    for (
1155                        var e = t.split(","),
1156                            i = (void 0 !== T.onpointerdown ? "pointerdown,pointermove,pointerup,pointercancel" : void 0 !== T.onmspointerdown ? "MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel" : t).split(","),
1157                            r = {},
1158                            s = 8;
1159                        --s > -1;
1160
1161                    )
1162                        (r[e[s]] = i[s]), (r[i[s]] = e[s]);
1163                    return r;
1164                })("touchstart,touchmove,touchend,touchcancel"),
1165                Me = function (t, e, i, r) {
1166                    t.addEventListener ? t.addEventListener(De[e] || e, i, r) : t.attachEvent && t.attachEvent("on" + e, i);
1167                },
1168                Le = function (t, e, i) {
1169                    t.removeEventListener ? t.removeEventListener(De[e] || e, i) : t.detachEvent && t.detachEvent("on" + e, i);
1170                },
1171                Ne = function (t, e) {
1172                    for (var i = t.length; --i > -1; ) if (t[i].identifier === e) return !0;
1173                    return !1;
1174                },
1175                Ee = function (t) {
1176                    (s = t.touches && t.touches.length > M), Le(t.target, "touchend", Ee);
1177                },
1178                Ie = function (t) {
1179                    (s = t.touches && t.touches.length > M), Me(t.target, "touchend", Ee);
1180                },
1181                ze = function (t, e, i, r, s, n) {
1182                    var a,
1183                        o,
1184                        l,
1185                        h = {};
1186                    if (e)
1187                        if (1 !== s && e instanceof Array) {
1188                            for (h.end = a = [], l = e.length, o = 0; l > o; o++) a[o] = e[o] * s;
1189                            (i += 1.1), (r -= 1.1);
1190                        } else
1191                            h.end =
1192                                "function" == typeof e
1193                                    ? function (i) {
1194                                          return e.call(t, i) * s;
1195                                      }
1196                                    : e;
1197                    return (i || 0 === i) && (h.max = i), (r || 0 === r) && (h.min = r), n && (h.velocity = 0), h;
1198                },
1199                Fe = function (t) {
1200                    var e;
1201                    return t && t.getAttribute && "BODY" !== t.nodeName
1202                        ? "true" === (e = t.getAttribute("data-clickable")) || ("false" !== e && (t.onclick || D.test(t.nodeName + "") || "true" === t.getAttribute("contentEditable")))
1203                            ? !0
1204                            : Fe(t.parentNode)
1205                        : !1;
1206                },
1207                Xe = function (t, e) {
1208                    for (var i, r = t.length; --r > -1; ) (i = t[r]), (i.ondragstart = i.onselectstart = e ? null : w), J(i, "userSelect", e ? "text" : "none");
1209                },
1210                Be = (function () {
1211                    var t,
1212                        e = g.createElement("div"),
1213                        i = g.createElement("div"),
1214                        r = i.style,
1215                        s = g.body || T;
1216                    return (
1217                        (r.display = "inline-block"),
1218                        (r.position = "relative"),
1219                        (e.style.cssText = i.innerHTML = "width:90px; height:40px; padding:10px; overflow:auto; visibility: hidden"),
1220                        e.appendChild(i),
1221                        s.appendChild(e),
1222                        (u = i.offsetHeight + 18 > e.scrollHeight),
1223                        (r.width = "100%"),
1224                        _e || ((r.paddingRight = "500px"), (t = e.scrollLeft = e.scrollWidth - e.clientWidth), (r.left = "-90px"), (t = t !== e.scrollLeft)),
1225                        s.removeChild(e),
1226                        t
1227                    );
1228                })(),
1229                Ye = function (t, i) {
1230                    (t = $(t)), (i = i || {});
1231                    var r,
1232                        s,
1233                        n,
1234                        a,
1235                        o,
1236                        l,
1237                        h = g.createElement("div"),
1238                        _ = h.style,
1239                        c = t.firstChild,
1240                        f = 0,
1241                        p = 0,
1242                        d = t.scrollTop,
1243                        m = t.scrollLeft,
1244                        v = t.scrollWidth,
1245                        y = t.scrollHeight,
1246                        T = 0,
1247                        x = 0,
1248                        w = 0;
1249                    he && i.force3D !== !1 ? ((o = "translate3d("), (l = "px,0px)")) : _e && ((o = "translate("), (l = "px)")),
1250                        (this.scrollTop = function (t, e) {
1251                            return arguments.length ? (this.top(-t, e), void 0) : -this.top();
1252                        }),
1253                        (this.scrollLeft = function (t, e) {
1254                            return arguments.length ? (this.left(-t, e), void 0) : -this.left();
1255                        }),
1256                        (this.left = function (r, s) {
1257                            if (!arguments.length) return -(t.scrollLeft + p);
1258                            var n = t.scrollLeft - m,
1259                                a = p;
1260                            return (n > 2 || -2 > n) && !s
1261                                ? ((m = t.scrollLeft), e.killTweensOf(this, !0, { left: 1, scrollLeft: 1 }), this.left(-m), i.onKill && i.onKill(), void 0)
1262                                : ((r = -r),
1263                                  0 > r ? ((p = 0 | (r - 0.5)), (r = 0)) : r > x ? ((p = 0 | (r - x)), (r = x)) : (p = 0),
1264                                  (p || a) && (o ? this._suspendTransforms || (_[_e] = o + -p + "px," + -f + l) : (_.left = -p + "px"), Be && p + T >= 0 && (_.paddingRight = p + T + "px")),
1265                                  (t.scrollLeft = 0 | r),
1266                                  (m = t.scrollLeft),
1267                                  void 0);
1268                        }),
1269                        (this.top = function (r, s) {
1270                            if (!arguments.length) return -(t.scrollTop + f);
1271                            var n = t.scrollTop - d,
1272                                a = f;
1273                            return (n > 2 || -2 > n) && !s
1274                                ? ((d = t.scrollTop), e.killTweensOf(this, !0, { top: 1, scrollTop: 1 }), this.top(-d), i.onKill && i.onKill(), void 0)
1275                                : ((r = -r),
1276                                  0 > r ? ((f = 0 | (r - 0.5)), (r = 0)) : r > w ? ((f = 0 | (r - w)), (r = w)) : (f = 0),
1277                                  (f || a) && (o ? this._suspendTransforms || (_[_e] = o + -p + "px," + -f + l) : (_.top = -f + "px")),
1278                                  (t.scrollTop = 0 | r),
1279                                  (d = t.scrollTop),
1280                                  void 0);
1281                        }),
1282                        (this.maxScrollTop = function () {
1283                            return w;
1284                        }),
1285                        (this.maxScrollLeft = function () {
1286                            return x;
1287                        }),
1288                        (this.disable = function () {
1289                            for (c = h.firstChild; c; ) (a = c.nextSibling), t.appendChild(c), (c = a);
1290                            t === h.parentNode && t.removeChild(h);
1291                        }),
1292                        (this.enable = function () {
1293                            if (((c = t.firstChild), c !== h)) {
1294                                for (; c; ) (a = c.nextSibling), h.appendChild(c), (c = a);
1295                                t.appendChild(h), this.calibrate();
1296                            }
1297                        }),
1298                        (this.calibrate = function (e) {
1299                            var i,
1300                                a,
1301                                o = t.clientWidth === r;
1302                            (d = t.scrollTop),
1303                                (m = t.scrollLeft),
1304                                (!o || t.clientHeight !== s || h.offsetHeight !== n || v !== t.scrollWidth || y !== t.scrollHeight || e) &&
1305                                    ((f || p) && ((i = this.left()), (a = this.top()), this.left(-t.scrollLeft), this.top(-t.scrollTop)),
1306                                    (!o || e) && ((_.display = "block"), (_.width = "auto"), (_.paddingRight = "0px"), (T = Math.max(0, t.scrollWidth - t.clientWidth)), T && (T += ne(t, "paddingLeft") + (u ? ne(t, "paddingRight") : 0))),
1307                                    (_.display = "inline-block"),
1308                                    (_.position = "relative"),
1309                                    (_.overflow = "visible"),
1310                                    (_.verticalAlign = "top"),
1311                                    (_.width = "100%"),
1312                                    (_.paddingRight = T + "px"),
1313                                    u && (_.paddingBottom = ne(t, "paddingBottom", !0)),
1314                                    k && (_.zoom = "1"),
1315                                    (r = t.clientWidth),
1316                                    (s = t.clientHeight),
1317                                    (v = t.scrollWidth),
1318                                    (y = t.scrollHeight),
1319                                    (x = t.scrollWidth - r),
1320                                    (w = t.scrollHeight - s),
1321                                    (n = h.offsetHeight),
1322                                    (_.display = "block"),
1323                                    (i || a) && (this.left(i), this.top(a)));
1324                        }),
1325                        (this.content = h),
1326                        (this.element = t),
1327                        (this._suspendTransforms = !1),
1328                        this.enable();
1329                },
1330                We = function (r, a) {
1331                    t.call(this, r),
1332                        (r = $(r)),
1333                        n || (n = d.com.greensock.plugins.ThrowPropsPlugin),
1334                        (this.vars = a = a || {}),
1335                        (this.target = r),
1336                        (this.x = this.y = this.rotation = 0),
1337                        (this.dragResistance = parseFloat(a.dragResistance) || 0),
1338                        (this.edgeResistance = isNaN(a.edgeResistance) ? 1 : parseFloat(a.edgeResistance) || 0),
1339                        (this.lockAxis = a.lockAxis),
1340                        (this.autoScroll = a.autoScroll || 0),
1341                        (this.lockedAxis = null),
1342                        (this.allowEventDefault = !!a.allowEventDefault);
1343                    var o,
1344                        l,
1345                        h,
1346                        u,
1347                        m,
1348                        y,
1349                        T,
1350                        w,
1351                        R,
1352                        D,
1353                        E,
1354                        F,
1355                        Y,
1356                        j,
1357                        U,
1358                        H,
1359                        K,
1360                        te,
1361                        ee,
1362                        ie,
1363                        re,
1364                        se,
1365                        le,
1366                        he,
1367                        ue,
1368                        _e,
1369                        ce,
1370                        fe,
1371                        pe,
1372                        de,
1373                        me,
1374                        ge = (a.type || (k ? "top,left" : "x,y")).toLowerCase(),
1375                        ve = -1 !== ge.indexOf("x") || -1 !== ge.indexOf("y"),
1376                        ye = -1 !== ge.indexOf("rotation"),
1377                        Te = ye ? "rotation" : ve ? "x" : "left",
1378                        xe = ve ? "y" : "top",
1379                        we = -1 !== ge.indexOf("x") || -1 !== ge.indexOf("left") || "scroll" === ge,
1380                        be = -1 !== ge.indexOf("y") || -1 !== ge.indexOf("top") || "scroll" === ge,
1381                        ke = a.minimumMovement || 2,
1382                        Ce = this,
1383                        Re = z(a.trigger || a.handle || r),
1384                        Oe = {},
1385                        Ee = 0,
1386                        Be = !1,
1387                        je = a.clickableTest || Fe,
1388                        Ue = function (t) {
1389                            if (Ce.autoScroll && Ce.isDragging && (te || Be)) {
1390                                var e,
1391                                    i,
1392                                    s,
1393                                    n,
1394                                    a,
1395                                    o,
1396                                    h,
1397                                    u,
1398                                    _ = r,
1399                                    c = 15 * Ce.autoScroll;
1400                                for (
1401                                    Be = !1,
1402                                        I.scrollTop = null != window.pageYOffset ? window.pageYOffset : null != v.scrollTop ? v.scrollTop : g.body.scrollTop,
1403                                        I.scrollLeft = null != window.pageXOffset ? window.pageXOffset : null != v.scrollLeft ? v.scrollLeft : g.body.scrollLeft,
1404                                        n = Ce.pointerX - I.scrollLeft,
1405                                        a = Ce.pointerY - I.scrollTop;
1406                                    _ && !i;
1407
1408                                )
1409                                    (i = q(_.parentNode)),
1410                                        (e = i ? I : _.parentNode),
1411                                        (s = i ? { bottom: Math.max(v.clientHeight, window.innerHeight || 0), right: Math.max(v.clientWidth, window.innerWidth || 0), left: 0, top: 0 } : e.getBoundingClientRect()),
1412                                        (o = h = 0),
1413                                        be &&
1414                                            (a > s.bottom - 40 && (u = e._gsMaxScrollY - e.scrollTop)
1415                                                ? ((Be = !0), (h = Math.min(u, 0 | (c * (1 - Math.max(0, s.bottom - a) / 40)))))
1416                                                : s.top + 40 > a && e.scrollTop && ((Be = !0), (h = -Math.min(e.scrollTop, 0 | (c * (1 - Math.max(0, a - s.top) / 40))))),
1417                                            h && (e.scrollTop += h)),
1418                                        we &&
1419                                            (n > s.right - 40 && (u = e._gsMaxScrollX - e.scrollLeft)
1420                                                ? ((Be = !0), (o = Math.min(u, 0 | (c * (1 - Math.max(0, s.right - n) / 40)))))
1421                                                : s.left + 40 > n && e.scrollLeft && ((Be = !0), (o = -Math.min(e.scrollLeft, 0 | (c * (1 - Math.max(0, n - s.left) / 40))))),
1422                                            o && (e.scrollLeft += o)),
1423                                        i && (o || h) && (window.scrollTo(e.scrollLeft, e.scrollTop), ri(Ce.pointerX + o, Ce.pointerY + h)),
1424                                        (_ = e);
1425                            }
1426                            if (te) {
1427                                var f = Ce.x,
1428                                    p = Ce.y,
1429                                    d = 1e-6;
1430                                d > f && f > -d && (f = 0),
1431                                    d > p && p > -d && (p = 0),
1432                                    ye
1433                                        ? ((pe.data.rotation = Ce.rotation = f), pe.setRatio(1))
1434                                        : l
1435                                        ? (be && l.top(p), we && l.left(f))
1436                                        : ve
1437                                        ? (be && (pe.data.y = p), we && (pe.data.x = f), pe.setRatio(1))
1438                                        : (be && (r.style.top = p + "px"), we && (r.style.left = f + "px")),
1439                                    w && !t && ae(Ce, "drag", "onDrag");
1440                            }
1441                            te = !1;
1442                        },
1443                        Ge = function (t, i) {
1444                            var s;
1445                            r._gsTransform || (!ve && !ye) || e.set(r, { x: "+=0", overwrite: !1 }),
1446                                ve
1447                                    ? ((Ce.y = r._gsTransform.y), (Ce.x = r._gsTransform.x))
1448                                    : ye
1449                                    ? (Ce.x = Ce.rotation = r._gsTransform.rotation)
1450                                    : l
1451                                    ? ((Ce.y = l.top()), (Ce.x = l.left()))
1452                                    : ((Ce.y = parseInt(r.style.top, 10) || 0), (Ce.x = parseInt(r.style.left, 10) || 0)),
1453                                (!ie && !re) || i || (ie && ((s = ie(Ce.x)), s !== Ce.x && ((Ce.x = s), ye && (Ce.rotation = s), (te = !0))), re && ((s = re(Ce.y)), s !== Ce.y && ((Ce.y = s), (te = !0))), te && Ue(!0)),
1454                                t || ae(Ce, "throwupdate", "onThrowUpdate");
1455                        },
1456                        qe = function () {
1457                            var t, e, i, s;
1458                            (T = !1),
1459                                l
1460                                    ? (l.calibrate(), (Ce.minX = D = -l.maxScrollLeft()), (Ce.minY = F = -l.maxScrollTop()), (Ce.maxX = R = Ce.maxY = E = 0), (T = !0))
1461                                    : a.bounds &&
1462                                      ((t = oe(a.bounds, r.parentNode)),
1463                                      ye
1464                                          ? ((Ce.minX = D = t.left), (Ce.maxX = R = t.left + t.width), (Ce.minY = F = Ce.maxY = E = 0))
1465                                          : void 0 !== a.bounds.maxX || void 0 !== a.bounds.maxY
1466                                          ? ((t = a.bounds), (Ce.minX = D = t.minX), (Ce.minY = F = t.minY), (Ce.maxX = R = t.maxX), (Ce.maxY = E = t.maxY))
1467                                          : ((e = oe(r, r.parentNode)),
1468                                            (Ce.minX = D = ne(r, Te) + t.left - e.left),
1469                                            (Ce.minY = F = ne(r, xe) + t.top - e.top),
1470                                            (Ce.maxX = R = D + (t.width - e.width)),
1471                                            (Ce.maxY = E = F + (t.height - e.height))),
1472                                      D > R && ((Ce.minX = R), (Ce.maxX = R = D), (D = Ce.minX)),
1473                                      F > E && ((Ce.minY = E), (Ce.maxY = E = F), (F = Ce.minY)),
1474                                      ye && ((Ce.minRotation = D), (Ce.maxR
1474otation = R)),
1475                                      (T = !0)),
1476                                a.liveSnap &&
1477                                    ((i = a.liveSnap === !0 ? a.snap || {} : a.liveSnap),
1478                                    (s = i instanceof Array || "function" == typeof i),
1479                                    ye
1480                                        ? ((ie = ti(s ? i : i.rotation, D, R, 1)), (re = null))
1481                                        : (we && (ie = ti(s ? i : i.x || i.left || i.scrollLeft, D, R, l ? -1 : 1)), be && (re = ti(s ? i : i.y || i.top || i.scrollTop, F, E, l ? -1 : 1))));
1482                        },
1483                        He = function () {
1484                            (Ce.isThrowing = !1), ae(Ce, "throwcomplete", "onThrowComplete");
1485                        },
1486                        Qe = function () {
1487                            Ce.isThrowing = !1;
1488                        },
1489                        Ze = function (t, e) {
1490                            var i, s, o, h;
1491                            t && n
1492                                ? (t === !0 &&
1493                                      ((i = a.snap || {}),
1494                                      (s = i instanceof Array || "function" == typeof i),
1495                                      (t = { resistance: (a.throwResistance || a.resistance || 1e3) / (ye ? 10 : 1) }),
1496                                      ye
1497                                          ? (t.rotation = ze(Ce, s ? i : i.rotation, R, D, 1, e))
1498                                          : (we && (t[Te] = ze(Ce, s ? i : i.x || i.left || i.scrollLeft, R, D, l ? -1 : 1, e || "x" === Ce.lockedAxis)),
1499                                            be && (t[xe] = ze(Ce, s ? i : i.y || i.top || i.scrollTop, E, F, l ? -1 : 1, e || "y" === Ce.lockedAxis)))),
1500                                  (Ce.isThrowing = !0),
1501                                  (h = isNaN(a.overshootTolerance) ? (1 === a.edgeResistance ? 0 : 1 - Ce.edgeResistance + 0.2) : a.overshootTolerance),
1502                                  (Ce.tween = o = n.to(
1503                                      l || r,
1504                                      { throwProps: t, ease: a.ease || d.Power3.easeOut, onComplete: He, onOverwrite: Qe, onUpdate: a.fastMode ? ae : Ge, onUpdateParams: a.fastMode ? [Ce, "onthrowupdate", "onThrowUpdate"] : x },
1505                                      isNaN(a.maxDuration) ? 2 : a.maxDuration,
1506                                      isNaN(a.minDuration) ? (0 === h ? 0 : 0.5) : a.minDuration,
1507                                      h
1508                                  )),
1509                                  a.fastMode ||
1510                                      (l && (l._suspendTransforms = !0),
1511                                      o.render(o.duration(), !0, !0),
1512                                      Ge(!0, !0),
1513                                      (Ce.endX = Ce.x),
1514                                      (Ce.endY = Ce.y),
1515                                      ye && (Ce.endRotation = Ce.x),
1516                                      o.play(0),
1517                                      Ge(!0, !0),
1518                                      l && (l._suspendTransforms = !1)))
1519                                : T && Ce.applyBounds();
1520                        },
1521                        $e = function () {
1522                            (he = Pe(r.parentNode, !0)), he[1] || he[2] || 1 != he[0] || 1 != he[3] || 0 != he[4] || 0 != he[5] || (he = null);
1523                        },
1524                        Ke = function () {
1525                            var t = 1 - Ce.edgeResistance;
1526                            $e(),
1527                                l
1528                                    ? (qe(), (y = l.top()), (m = l.left()))
1529                                    : (Je() ? (Ge(!0, !0), qe()) : Ce.applyBounds(),
1530                                      ye
1531                                          ? ((K = Se(r, { x: 0, y: 0 })), Ge(!0, !0), (m = Ce.x), (y = Ce.y = Math.atan2(K.y - u, h - K.x) * b))
1532                                          : ((ce = r.parentNode ? r.parentNode.scrollTop || 0 : 0), (fe = r.parentNode ? r.parentNode.scrollLeft || 0 : 0), (y = ne(r, xe)), (m = ne(r, Te)))),
1533                                T && t && (m > R ? (m = R + (m - R) / t) : D > m && (m = D - (D - m) / t), ye || (y > E ? (y = E + (y - E) / t) : F > y && (y = F - (F - y) / t)));
1534                        },
1535                        Je = function () {
1536                            return Ce.tween && Ce.tween.isActive();
1537                        },
1538                        ti = function (t, e, i, r) {
1539                            return "function" == typeof t
1540                                ? function (s) {
1541                                      var n = Ce.isPressed ? 1 - Ce.edgeResistance : 1;
1542                                      return t.call(Ce, s > i ? i + (s - i) * n : e >
1542 s ? e + (s - e) * n : s) * r;
1543                                  }
1544                                : t instanceof Array
1545                                ? function (r) {
1546                                      for (var s, n, a = t.length, o = 0, l = P; --a > -1; ) (s = t[a]), (n = s - r), 0 > n && (n = -n), l > n && s >= e && i >= s && ((o = a), (l = n));
1547                                      return t[o];
1548                                  }
1549                                : isNaN(t)
1550                                ? function (t) {
1551                                      return t;
1552                                  }
1553                                : function () {
1554                                      return t * r;
1555                                  };
1556                        },
1557                        ei = function (t) {
1558                            var i, s;
1559                            if (o && !Ce.isPressed && t && !("mousedown" === t.type && 30 > S() - _e && De[Ce.pointerEvent.type])) {
1560                                if (
1561                                    ((ue = Je()),
1562                                    (Ce.pointerEvent = t),
1563                                    De[t.type]
1564                                        ? ((le = -1 !== t.type.indexOf("touch") ? t.currentTarget : g), Me(le, "touchend", si), Me(le, "touchmove", ii), Me(le, "touchcancel", si), Me(g, "touchstart", Ie))
1565                                        : ((le = null), Me(g, "mousemove", ii)),
1566                                    (me = null),
1567                                    Me(g, "mouseup", si),
1568                                    t && t.target && Me(t.target, "mouseup", si),
1569                                    (se = je.call(Ce, t.target) && !a.dragClickables))
1570                                )
1571                                    return Me(t.target, "change", si), ae(Ce, "press", "onPress"), Xe(Re, !0), void 0;
1572                                if (
1573                                    ((de = !le || we === be || l || Ce.vars.allowNativeTouchScrolling === !1 ? !1 : we ? "y" : "x"),
1574                                    k ? (t = Z(t, !0)) : de || Ce.allowEventDefault || (t.preventDefault(), t.preventManipulation && t.preventManipulation()),
1575                                    t.changedTouches ? ((t = U = t.changedTouches[0]), (H = t.identifier)) : t.pointerId ? (H = t.pointerId) : (U = H = null),
1576                                    M++,
1577                                    X(Ue),
1578                                    (u = Ce.pointerY = t.pageY),
1579                                    (h = Ce.pointerX = t.pageX),
1580                                    (de || Ce.autoScroll) && Q(r.parentNode),
1581                                    !Ce.autoScroll || ye || l || !r.parentNode || r.getBBox || !r.parentNode._gsMaxScrollX || C.parentNode || ((C.style.width = r.parentNode.scrollWidth + "px"), r.parentNode.appendChild(C)),
1582                                    Ke(),
1583                                    he && ((i = h * he[0] + u * he[2] + he[4]), (u = h * he[1] + u * he[3] + he[5]), (h = i)),
1584                                    Ce.tween && Ce.tween.kill(),
1585                                    (Ce.isThrowing = !1),
1586                                    e.killTweensOf(l || r, !0, Oe),
1587                                    l && e.killTweensOf(r, !0, { scrollTo: 1 }),
1588                                    (Ce.tween = Ce.lockedAxis = null),
1589                                    (a.zIndexBoost || (!ye && !l && a.zIndexBoost !== !1)) && (r.style.zIndex = We.zIndex++),
1590                                    (Ce.isPressed = !0),
1591                                    (w = !(!a.onDrag && !Ce._listeners.drag)),
1592                                    !ye)
1593                                )
1594                                    for (s = Re.length; --s > -1; ) J(Re[s], "cursor", a.cursor || "move");
1595                                ae(Ce, "press", "onPress");
1596                            }
1597                        },
1598                        ii = function (t) {
1599                            var e,
1600                                i,
1601                                r,
1602                                n,
1603                                a = t;
1604                            if (o && !s && Ce.isPressed && t) {
1605                                if (((Ce.pointerEvent = t), (e = t.changedTouches))) {
1606                                    if (((t = e[0]), t !== U && t.identifier !== H)) {
1607                                        for (n = e.length; --n > -1 && (t = e[n]).identifier !== H; );
1608                                        if (0 > n) return;
1609                                    }
1610                                } else if (t.pointerId && H && t.pointerId !== H) return;
1611                                if (k) t = Z(t, !0);
1612                                else {
1613                                    if (
1614                                        le &&
1615                                        de &&
1616                                        !me &&
1617                                        ((i = t.pageX),
1618                                        (r = t.pageY),
1619                                        he && ((n = i * he[0] + r * he[2] + he[4]), (r = i * he[1] + r * he[3] + he[5]), (i = n)),
1620                                        (me = Math.abs(i - h) > Math.abs(r - u) && we ? "x" : "y"),
1621                                        Ce.vars.lockAxisOnTouchScroll !== !1 && ((Ce.lockedAxis = "x" === me ? "y" : "x"), "function" == typeof Ce.vars.onLockAxis && Ce.vars.onLockAxis.call(Ce, a)),
1622                                        L && de === me)
1623                                    )
1624                                        return si(a), void 0;
1625                                    Ce.allowEventDefault || (de && (!me || de === me)) || a.cancelable === !1 || (a.preventDefault(), a.preventManipulation && a.preventManipulation());
1626                                }
1627                                Ce.autoScroll && (Be = !0), ri(t.pageX, t.pageY);
1628                            }
1629                        },
1630                        ri = function (t, e) {
1631                            var i,
1632                                r,
1633                                s,
1634                                n,
1635                                a,
1636                                o,
1637                                l = 1 - Ce.dragResistance,
1638                                _ = 1 - Ce.edgeResistance;
1639                            (Ce.pointerX = t),
1640                                (Ce.pointerY = e),
1641                                ye
1642                                    ? ((n = Math.atan2(K.y - e, t - K.x) * b), (a = Ce.y - n), (Ce.y = n), a > 180 ? (y -= 360) : -180 > a && (y += 360), (s = m + (y - n) * l))
1643                                    : (he && ((o = t * he[0] + e * he[2] + he[4]), (e = t * he[1] + e * he[3] + he[5]), (t = o)),
1644                                      (r = e - u),
1645                                      (i = t - h),
1646                                      ke > r && r > -ke && (r = 0),
1647                                      ke > i && i > -ke && (i = 0),
1648                                      (Ce.lockAxis || Ce.lockedAxis) &&
1649                                          (i || r) &&
1650                                          ((o = Ce.lockedAxis),
1651                                          o || ((Ce.lockedAxis = o = we && Math.abs(i) > Math.abs(r) ? "y" : be ? "x" : null), o && "function" == typeof Ce.vars.onLockAxis && Ce.vars.onLockAxis.call(Ce, Ce.pointerEvent)),
1652                                          "y" === o ? (r = 0) : "x" === o && (i = 0)),
1653                                      (s = m + i * l),
1654                                      (n = y + r * l)),
1655                                ie || re ? (ie && (s = ie(s)), re && (n = re(n))) : T && (s > R ? (s = R + (s - R) * _) : D > s && (s = D + (s - D) * _), ye || (n > E ? (n = E + (n - E) * _) : F > n && (n = F + (n - F) * _))),
1656                                ye || ((s = Math.round(s)), (n = Math.round(n))),
1657                                (Ce.x !== s || (Ce.y !== n && !ye)) &&
1658                                    (ye ? (Ce.endRotation = Ce.x 
1658= Ce.endX = s) : (be && (Ce.y = Ce.endY = n), we && (Ce.x = Ce.endX = s)), (te = !0), Ce.isDragging || ((Ce.isDragging = !0), ae(Ce, "dragstart", "onDragStart")));
1659                        },
1660                        si = function (t, e) {
1661                            console.log(t);
1662                            console.log(e);
1663                            if (o && Ce.isPressed && (!t || null == H || e || !((t.pointerId && t.pointerId !== H) || (t.changedTouches && !Ne(t.changedTouches, H))))) {
1664                                Ce.isPressed = !1;
1665                                var i,
1666                                    s,
1667                                    n,
1668                                    l,
1669                                    h = t,
1670                                    u = Ce.isDragging;
1671                                if (
1672                                    (le ? (Le(le, "touchend", si), Le(le, "touchmove", ii), Le(le, "touchcancel", si), Le(g, "touchstart", Ie)) : Le(g, "mousemove", ii),
1673                                    Le(g, "mouseup", si),
1674                                    t && t.target && Le(t.target, "mouseup", si),
1675                                    (te = !1),
1676                                    C.parentNode && C.parentNode.removeChild(C),
1677                                    se)
1678                                )
1679                                    return t && Le(t.target, "change", si), Xe(Re, !1), ae(Ce, "release", "onRelease"), ae(Ce, "click", "onClick"), (se = !1), void 0;
1680                                if ((B(Ue), !ye)) for (s = Re.length; --s > -1; ) J(Re[s], "cursor", a.cursor || "move");
1681                                if ((u && ((Ee = N = S()), (Ce.isDragging = !1)), M--, t)) {
1682                                    if ((k && (t = Z(t, !1)), (i = t.changedTouches), i && ((t = i[0]), t !== U && t.identifier !== H))) {
1683                                        for (s = i.length; --s > -1 && (t = i[s]).identifier !== H; );
1684                                        if (0 > s) return;
1685                                    }
1686                                    (Ce.pointerEvent = h), (Ce.pointerX = t.pageX), (Ce.pointerY = t.pageY);
1687                                }
1688                                return (
1689                                    h && !u
1690                                        ? (ue && (a.snap || a.bounds) && Ze(a.throwProps),
1691                                          ae(Ce, "release", "onRelease"),
1692                                          (L && "touchmove" === h.type) ||
1693                                              (ae(Ce, "click", "onClick"),
1694                                              (l = h.target || h.srcElement || r),
1695                                              l.click ? l.click() : g.createEvent && ((n = g.createEvent("MouseEvents")), n.initEvent("click", !0, !0), l.dispatchEvent(n)),
1696                                              (_e = S())))
1697                                        : (Ze(a.throwProps),
1698                                          k ||
1699                                              Ce.allowEventDefault ||
1700                                              !h ||
1701                                              (!a.dragClickables && je.call(Ce, h.target)) ||
1702                                              !u ||
1703                                              (de && (!me || de !== me)) ||
1704                                              h.cancelable === !1 ||
1705                                              (h.preventDefault(), h.preventManipulation && h.preventManipulation()),
1706                                          ae(Ce, "release", "onRelease")),
1707                                    u && ae(Ce, "dragend", "onDragEnd"),
1708                                    !0
1709                                );
1710                            } 
1711                           
1712                        },
1713                        ni = function (t) {
1714                            if (t && Ce.isDragging) {
1715                                var e = t.target || t.srcElement || r.parentNode,
1716                                    i = e.scrollLeft - e._gsScrollX,
1717                                    s = e.scrollTop - e._gsScrollY;
1718                                (i || s) && ((h -= i), (u -= s), (e._gsScrollX += i), (e._gsScrollY += s), ri(Ce.pointerX, Ce.pointerY));
1719                            }
1720                        },
1721                        ai = function (t) {
1722                            var e = S(),
1723                                i = 40 > e - _e,
1724                                r = 40 > e - Ee;
1725                            (Ce.isPressed || r || i) &&
1726                                (t.preventDefault ? (t.preventDefault(), (i || (r && Ce.vars.suppressClickOnDrag !== !1)) && t.stopImmediatePropagation()) : (t.returnValue = !1), t.preventManipulation && t.preventManipulation());
1727                        };
1728                    (ee = We.get(this.target)),
1729                        ee && ee.kill(),
1730                        (this.startDrag = function (t) {
1731                            ei(t), Ce.isDragging || ((Ce.isDragging = !0), ae(Ce, "dragstart", "onDragStart"));
1732                        }),
1733                        (this.drag = ii),
1734                        (this.endDrag = function (t) {
1735                            si(t, !0);
1736                        }),
1737                        (this.timeSinceDrag = function () {
1738                            return Ce.isDragging ? 0 : (S() - Ee) / 1e3;
1739                        }),
1740                        (this.hitTest = function (t, e) {
1741                            return We.hitTest(Ce.target, t, e);
1742                        }),
1743                        (this.getDirection = function (t, e) {
1744                            var i,
1745                                r,
1746                                s,
1747                                a,
1748                                o,
1749                                l,
1750                                h = "velocity" === t && n ? t : "object" != typeof t || ye ? "start" : "element";
1751                            return (
1752                                "element" === h && ((o = Ve(Ce.target)), (l = Ve(t))),
1753                                (i = "start" === h ? Ce.x - m : "velocity" === h ? n.getVelocity(this.target, Te) : o.left + o.width / 2 - (l.left + l.width / 2)),
1754                                ye
1755                                    ? 0 > i
1756                                        ? "counter-clockwise"
1757                                        : "clockwise"
1758                                    : ((e = e || 2),
1759                                      (r = "start" === h ? Ce.y - y : "velocity" === h ? n.getVelocity(this.target, xe) : o.top + o.height / 2 - (l.top + l.height / 2)),
1760                                      (s = Math.abs(i / r)),
1761                                      (a = 1 / e > s ? "" : 0 > i ? "left" : "right"),
1762                                      e > s && ("" !== a && (a += "-"), (a += 0 > r ? "up" : "down")),
1763                                      a)
1764                            );
1765                        }),
1766                        (this.applyBounds = function (t) {
1767                            var e, i;
1768                            return t && a.bounds !== t
1769                                ? ((a.bounds = t), Ce.update(!0))
1770                                : (Ge(!0),
1771                                  qe(),
1772                                  T &&
1773                                      ((e = Ce.x),
1774                                      (i = Ce.y),
1775                                      T && (e > R ? (e = R) : D > e && (e = D), i > E ? (i = E) : F > i && (i = F)),
1776                                      (Ce.x !== e || Ce.y !== i) && ((Ce.x = Ce.endX = e), ye ? (Ce.endRotation = e) : (Ce.y = Ce.endY = i), (te = !0), Ue())),
1777                                  Ce);
1778                        }),
1779                        (this.update = function (t) {
1780                            var e = Ce.x,
1781                                i = Ce.y;
1782                            return $e(), t ? Ce.applyBounds() : (te && Ue(), Ge(!0)), Ce.isPressed && ((we && Math.abs(e - Ce.x) > 0.01) || (be && Math.abs(i - Ce.y) > 0.01 && !ye)) && Ke(), Ce;
1783                        }),
1784                        (this.enable = function (t) {
1785                            var s, h, u;
1786                            if ("soft" !== t) {
1787                                for (h = Re.length; --h > -1; )
1788                                    (u = Re[h]),
1789                                        Me(u, "mousedown", ei),
1790                                        Me(u, "touchstart", ei),
1791                                        Me(u, "click", ai, !0),
1792                                        ye || J(u, "cursor", a.cursor || "move"),
1793                                        J(u, "touchCallout", "none"),
1794                                        J(u, "touchAction", we === be || l ? "none" : we ? "pan-y" : "pan-x");
1795                                Xe(Re, !1);
1796                            }
1797                            return (
1798                                V(Ce.target, ni),
1799                                (o = !0),
1800                                n && "soft" !== t && n.track(l || r, ve ? "x,y" : ye ? "rotation" : "top,left"),
1801                                l && l.enable(),
1802                                (r._gsDragID = s = "d" + A++),
1803                                (O[s] = this),
1804                                l && (l.element._gsDragID = s),
1805                                e.set(r, { x: "+=0", overwrite: !1 }),
1806                                (pe = {
1807                                    t: r,
1808                                    data: k ? j : r._gsTransform,
1809                                    tween: {},
1810                                    setRatio: k
1811                                        ? function () {
1812                                              e.set(r, Y);
1813                                          }
1814                                        : i._internals.setTransformRatio || i._internals.set3DTransformRatio,
1815                                }),
1816                                this.update(!0),
1817                                Ce
1818                            );
1819                        }),
1820                        (this.disable = function (t) {
1821                            var e,
1822                                i,
1823                                s = this.isDragging;
1824                            if (!ye) for (e = Re.length; --e > -1; ) J(Re[e], "cursor", null);
1825                            if ("soft" !== t) {
1826                                for (e = Re.length; --e > -1; ) (i = Re[e]), J(i, "touchCallout", null), J(i, "touchAction", null), Le(i, "mousedown", ei), Le(i, "touchstart", ei), Le(i, "click", ai);
1827                                Xe(Re, !0), le && (Le(le, "touchcancel", si), Le(le, "touchend", si), Le(le, "touchmove", ii)), Le(g, "mouseup", si), Le(g, "mousemove", ii);
1828                            }
1829                            return (
1830                                G(r, ni),
1831                                (o = !1),
1832                                n && "soft" !== t && n.untrack(l || r, ve ? "x,y" : ye ? "rotation" : "top,left"),
1833                                l && l.disable(),
1834                                B(Ue),
1835                                (this.isDragging = this.isPressed = se = !1),
1836                                s && ae(this, "dragend", "onDragEnd"),
1837                                Ce
1838                            );
1839                        }),
1840                        (this.enabled = function (t, e) {
1841                            return arguments.length ? (t ? this.enable(e) : this.disable(e)) : o;
1842                        }),
1843                        (this.kill = function () {
1844                            return (Ce.isThrowing = !1), e.killTweensOf(l || r, !0, Oe), Ce.disable(), delete O[r._gsDragID], Ce;
1845                        }),
1846                        -1 !== ge.indexOf("scroll") &&
1847                            ((l = this.scrollProxy = new Ye(
1848                                r,
1849                                W(
1850                                    {
1851                                        onKill: function () {
1852                                            Ce.isPressed && si(null);
1853                                        },
1854                                    },
1855                                    a
1856                                )
1857                            )),
1858                            (r.style.overflowY = be && !Ae ? "auto" : "hidden"),
1859                            (r.style.overflowX = we && !Ae ? "auto" : "hidden"),
1860                            (r = l.content)),
1861                        a.force3D !== !1 && e.set(r, { force3D: !0 }),
1862                        ye ? (Oe.rotation = 1) : (we && (Oe[Te] = 1), be && (Oe[xe] = 1)),
1863                        ye ? ((Y = p), (j = Y.css), (Y.overwrite = !1)) : ve && ((Y = we && be ? _ : we ? c : f), (j = Y.css), (Y.overwrite = !1)),
1864                        this.enable();
1865                },
1866                je = (We.prototype = new t());
1867            (je.constructor = We),
1868                (je.pointerX = je.pointerY = 0),
1869                (je.isDragging = je.isPressed = !1),
1870                (We.version = "0.14.0"),
1871                (We.zIndex = 1e3),
1872                Me(g, "touchcancel", function () {}),
1873                Me(g, "contextmenu", function () {
1874                    var t;
1875                    for (t in O) O[t].isPressed && O[t].endDrag();
1876                }),
1877                (We.create = function (t, i) {
1878                    "string" == typeof t && (t = e.selector(t));
1879                    for (var r = Re(t) ? Oe(t) : [t], s = r.length; --s > -1; ) r[s] = new We(r[s], i);
1880                    return r;
1881                }),
1882                (We.get = function (t) {
1883                    return O[($(t) || {})._gsDragID];
1884                }),
1885                (We.timeSinceDrag = function () {
1886                    return (S() - N) / 1e3;
1887                });
1888            var Ue = {},
1889                Ve = function (t, e) {
1890                    if (t === window)
1891                        return (
1892                            (Ue.left = Ue.top = 0),
1893                            (Ue.width = Ue.right = v.clientWidth || t.innerWidth || g.body.clientWidth || 0),
1894                            (Ue.height = Ue.bottom = (t.innerHeight || 0) - 20 < v.clientHeight ? v.clientHeight : t.innerHeight || g.body.clientHeight || 0),
1895                            Ue
1896                        );
1897                    var i = t.pageX !== e ? { left: t.pageX, top: t.pageY, right: t.pageX + 1, bottom: t.pageY + 1 } : t.nodeType || t.left === e || t.top === e ? $(t).getBoundingClientRect() : t;
1898                    return (
1899                        i.right === e && i.width !== e
1900                            ? ((i.right = i.left + i.width), (i.bottom = i.top + i.height))
1901                            : i.width === e && (i = { width: i.right - i.left, height: i.bottom - i.top, right: i.right, left: i.left, bottom: i.bottom, top: i.top }),
1902                        i
1903                    );
1904                };
1905            return (
1906                (We.hitTest = function (t, e, i) {
1907                    if (t === e) return !1;
1908                    var r,
1909                        s,
1910                        n,
1911                        a = Ve(t),
1912                        o = Ve(e),
1913                        l = o.left > a.right || o.right < a.left || o.top > a.bottom || o.bottom < a.top;
1914                    return l || !i
1915                        ? !l
1916                        : ((n = -1 !== (i + "").indexOf("%")),
1917                          (i = parseFloat(i) || 0),
1918                          (r = { left: Math.max(a.left, o.left), top: Math.max(a.top, o.top) }),
1919                          (r.width = Math.min(a.right, o.right) - r.left),
1920                          (r.height = Math.min(a.bottom, o.bottom) - r.top),
1921                          0 > r.width || 0 > r.height ? !1 : n ? ((i *= 0.01), (s = r.width * r.height), s >= a.width * a.height * i || s >= o.width * o.height * i) : r.width > i && r.height > i);
1922                }),
1923                (C.style.cssText = "visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;"),
1924                We
1925            );
1926        },
1927        !0
1928    );
1929}),
1930    _gsScope._gsDefine && _gsScope._gsQueue.pop()(),
1931    (function (t) {
1932        "use strict";
1933        var e = function () {
1934            return (_gsScope.GreenSockGlobals || _gsScope)[t];
1935        };
1936        "function" == typeof define && define.amd ? define(["TweenLite"], e) : "undefined" != typeof module && module.exports && (require("../TweenLite.js"), require("../plugins/CSSPlugin.js"), (module.exports = e()));
1937    })("Draggable");
1938
1939
1940var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window;
1941(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function () {
1942    "use strict";
1943    _gsScope._gsDefine(
1944        "plugins.ThrowPropsPlugin",
1945        ["plugins.TweenPlugin", "TweenLite", "easing.Ease", "utils.VelocityTracker"],
1946        function (r, S, b, T) {
1947            function N(e, t) {
1948                r.call(this, "throwProps"), (this._overwriteProps.length = 0);
1949            }
1950            function u(e, t, r, o, n) {
1951                var i,
1952                    s,
1953                    a,
1954                    c,
1955                    u = t.length,
1956                    f = 0,
1957                    p = l;
1958                if ("object" == typeof e) {
1959                    for (; -1 < --u; ) {
1960                        for (a in ((i = t[u]), (s = 0), e)) s += (c = i[a] - e[a]) * c;
1961                        s < p && ((f = u), (p = s));
1962                    }
1963                    if ((n || l) < l && n < Math.sqrt(p)) return e;
1964                } else for (; -1 < --u; ) (s = (i = t[u]) - e) < 0 && (s = -s), s < p && o <= i && i <= r && ((f = u), (p = s));
1965                return t[f];
1966            }
1967            function V(e, t, r, o, n, i) {
1968                if ("auto" === e.end) return e;
1969                var s,
1970                    a,
1971                    c = e.end;
1972                if (((r = isNaN(r) ? l : r), (o = isNaN(o) ? -l : o), "object" == typeof t)) {
1973                    if (((s = (!t.calculated && ("function" == typeof c ? c(t) : u(t, c, r, o, i))) || t), !t.calculated)) {
1974                        for (a in s) t[a] = s[a];
1975                        t.calculated = !0;
1976                    }
1977                    s = s[n];
1978                } else s = "function" == typeof c ? c(t) : c instanceof Array ? u(t, c, r, o, i) : Number(c);
1979                return r < s ? (s = r) : s < o && (s = o), { max: s, min: s, unitFactor: e.unitFactor };
1980            }
1981            function O(e, t, r) {
1982                for (var o in t) void 0 === e[o] && o !== r && (e[o] = t[o]);
1983                return e;
1984            }
1985            var _,
1986                w,
1987                C,
1988                P,
1989                l = 999999999999999,
1990                o = _gsScope._gsDefine.globals,
1991                R = !1,
1992                k = { x: 1, y: 1, z: 2, scale: 1, scaleX: 1, scaleY: 1, rotation: 1, rotationZ: 1, rotationX: 2, rotationY: 2, skewX: 1, skewY: 1, xPercent: 1, yPercent: 1 },
1993                x = "ThrowPropsPlugin",
1994                B = String.fromCharCode(103, 114, 101, 101, 110, 115, 111, 99, 107, 46, 99, 111, 109),
1995                j = String.fromCharCode(47, 114, 101, 113, 117, 105, 114, 101, 115, 45, 109, 101, 109, 98, 101, 114, 115, 104, 105, 112, 47),
1996                F = (function (e) {
1997                    for (
1998                        var t = -1 !== (window ? window.location.href : "").indexOf(String.fromCharCode(103, 114, 101, 101, 110, 115, 111, 99, 107)) && -1 !== e.indexOf(String.fromCharCode(108, 111, 99, 97, 108, 104, 111, 115, 116)),
1999                            r = [
2000                                B,
2001                                String.fromCharCode(99, 111, 100, 101, 112, 101, 110, 46, 105, 111),
2002                                String.fromCharCode(99, 111, 100, 101, 112, 101, 110, 46, 112, 108, 117, 109, 98, 105, 110, 103),
2003                                String.fromCharCode(99, 111, 100, 101, 112, 101, 110, 46, 100, 101, 118),
2004                                String.fromCharCode(99, 111, 100, 101, 112, 101, 110, 46, 97, 112, 112),
2005                                String.fromCharCode(112, 101, 110, 115, 46, 99, 108, 111, 117, 100),
2006                                String.fromCharCode(112, 101, 110, 115, 46, 105, 111),
2007                                String.fromCharCode(109, 111, 116, 105, 111, 110, 116, 114, 105, 99, 107, 115, 46, 99, 111, 109),
2008                                String.fromCharCode(99, 115, 115, 45, 116, 114, 105, 99, 107, 115, 46, 99, 111, 109),
2009                                String.fromCharCode(99, 100, 112, 110, 46, 105, 111),
2010                                String.fromCharCode(103, 97, 110, 110, 111, 110, 46, 116, 118),
2011                                String.fromCharCode(99, 111, 100, 101, 99, 97, 110, 121, 111, 110, 46, 110, 101, 116),
2012                                String.fromCharCode(116, 104, 101, 109, 101, 102, 111, 114, 101, 115, 116, 46, 110, 101, 116),
2013                                String.fromCharCode(99, 101, 114, 101, 98, 114, 97, 120, 46, 99, 111, 46, 117, 107),
2014                                String.fromCharCode(116, 121, 109, 112, 97, 110, 117, 115, 46, 110, 101, 116),
2015                                String.fromCharCode(116, 119, 101, 101, 110, 109, 97, 120, 46, 99, 111, 109),
2016                                String.fromCharCode(116, 119, 101, 101, 110, 108, 105, 116, 101, 46, 99, 111, 109),
2017                                String.fromCharCode(112, 108, 110, 107, 114, 46, 99, 111),
2018                                String.fromCharCode(104, 111, 116, 106, 97, 114, 46, 99, 111, 109),
2019                                String.fromCharCode(119, 101, 98, 112, 97, 99, 107, 98, 105, 110, 46, 99, 111, 109),
2020                                String.fromCharCode(97, 114, 99, 104, 105, 118, 101, 46, 111, 114, 103),
2021                                String.fromCharCode(99, 111, 100, 101, 115, 97, 110, 100, 98, 111, 120, 46, 105, 111),
2022                                String.fromCharCode(115, 116, 97, 99, 107, 98, 108, 105, 116, 122, 46, 99, 111, 109),
2023                                String.fromCharCode(99, 111, 100, 105, 101, 114, 46, 105, 111),
2024                                String.fromCharCode(106, 115, 102, 105, 100, 100, 108, 101, 46, 110, 101, 116),
2025                            ],
2026                            o = r.length;
2027                        -1 < --o;
2028
2029                    )
2030                        if (-1 !== e.indexOf(r[o])) return !0;
2031                    return (
2032                        t &&
2033                            window &&
2034                            window.console &&
2035                            console.log(
2036                                String.fromCharCode(87, 65, 82, 78, 73, 78, 71, 58, 32, 97, 32, 115, 112, 101, 99, 105, 97, 108, 32, 118, 101, 114, 115, 105, 111, 110, 32, 111, 102, 32) +
2037                                    x +
2038                                    String.fromCharCode(
2039                                        32,
2040                                        105,
2041                                        115,
2042                                        32,
2043                                        114,
2044                                        117,
2045                                        110,
2046                                        110,
2047                                        105,
2048                                        110,
2049                                        103,
2050                                        32,
2051                                        108,
2052                                        111,
2053                                        99,
2054                                        97,
2055                                        108,
2056                                        108,
2057                                        121,
2058                                        44,
2059                                        32,
2060                                        98,
2061                                        117,
2062                                        116,
2063                                        32,
2064                                        105,
2065                                        116,
2066                                        32,
2067                                        119,
2068                                        105,
2069                                        108,
2070                                        108,
2071                                        32,
2072                                        110,
2073                                        111,
2074                                        116,
2075                                        32,
2076                                        119,
2077                                        111,
2078                                        114,
2079                                        107,
2080                                        32,
2081                                        111,
2082                                        110,
2083                                        32,
2084                                        97,
2085                                        32,
2086                                        108,
2087                                        105,
2088                                        118,
2089                                        101,
2090                                        32,
2091                                        100,
2092                                        111,
2093                                        109,
2094                                        97,
2095                                        105,
2096                                        110,
2097                                        32,
2098                                        98,
2099                                        101,
2100                                        99,
2101                                        97,
2102                                        117,
2103                                        115,
2104                                        101,
2105                                        32,
2106                                        105,
2107                                        116,
2108                                        32,
2109                                        105,
2110                                        115,
2111                                        32,
2112                                        97,
2113                                        32,
2114                                        109,
2115                                        101,
2116                                        109,
2117                                        98,
2118                                        101,
2119                                        114,
2120                                        115,
2121                                        104,
2122                                        105,
2123                                        112,
2124                                        32,
2125                                        98,
2126                                        101,
2127                                        110,
2128                                        101,
2129                                        102,
2130                                        105,
2131                                        116,
2132                                        32,
2133                                        111,
2134                                        102,
2135                                        32,
2136                                        67,
2137                                        108,
2138                                        117,
2139                                        98,
2140                                        32,
2141                                        71,
2142                                        114,
2143                                        101,
2144                                        101,
2145                                        110,
2146                                        83,
2147                                        111,
2148                                        99,
2149                                        107,
2150                                        46,
2151                                        32,
2152                                        80,
2153                                        108,
2154                                        101,
2155                                        97,
2156                                        115,
2157                                        101,
2158                                        32,
2159                                        115,
2160                                        105,
2161                                        103,
2162                                        110,
2163                                        32,
2164                                        117,
2165                                        112,
2166                                        32,
2167                                        97,
2168                                        116,
2169                                        32,
2170                                        104,
2171                                        116,
2172                                        116,
2173                                        112,
2174                                        58,
2175                                        47,
2176                                        47,
2177                                        103,
2178                                        114,
2179                                        101,
2180                                        101,
2181                                        110,
2182                                        115,
2183                                        111,
2184                                        99,
2185                                        107,
2186                                        46,
2187                                        99,
2188                                        111,
2189                                        109,
2190                                        47,
2191                                        99,
2192                                        108,
2193                                        117,
2194                                        98,
2195                                        47,
2196                                        32,
2197                                        97,
2198                                        110,
2199                                        100,
2200                                        32,
2201                                        116,
2202                                        104,
2203                                        101,
2204                                        110,
2205                                        32,
2206                                        100,
2207                                        111,
2208                                        119,
2209                                        110,
2210                                        108,
2211                                        111,
2212                                        97,
2213                                        100,
2214                                        32,
2215                                        116,
2216                                        104,
2217                                        101,
2218                                        32,
2219                                        39,
2220                                        114,
2221                                        101,
2222                                        97,
2223                                        108,
2224                                        39,
2225                                        32,
2226                                        118,
2227                                        101,
2228                                        114,
2229                                        115,
2230                                        105,
2231                                        111,
2232                                        110,
2233                                        32,
2234                                        102,
2235                                        114,
2236                                        111,
2237                                        109,
2238                                        32,
2239                                        121,
2240                                        111,
2241                                        117,
2242                                        114,
2243                                        32,
2244                                        71,
2245                                        114,
2246                                        101,
2247                                        101,
2248                                        110,
2249                                        83,
2250                                        111,
2251                                        99,
2252                                        107,
2253                                        32,
2254                                        97,
2255                                        99,
2256                                        99,
2257                                        111,
2258                                        117,
2259                                        110,
2260                                        116,
2261                                        32,
2262                                        119,
2263                                        104,
2264                                        105,
2265                                        99,
2266                                        104,
2267                                        32,
2268                                        104,
2269                                        97,
2270                                        115,
2271                                        32,
2272                                        110,
2273                                        111,
2274                                        32,
2275                                        115,
2276                                        117,
2277                                        99,
2278                                        104,
2279                                        32,
2280                                        108,
2281                                        105,
2282                                        109,
2283                                        105,
2284                                        116,
2285                                        97,
2286                                        116,
2287                                        105,
2288                                        111,
2289                                        110,
2290                                        115,
2291                                        46,
2292                                        32,
2293                                        84,
2294                                        104,
2295                                        101,
2296                                        32,
2297                                        102,
2298                                        105,
2299                                        108,
2300                                        101,
2301                                        32,
2302                                        121,
2303                                        111,
2304                                        117,
2305                                        39,
2306                                        114,
2307                                        101,
2308                                        32,
2309                                        117,
2310                                        115,
2311                                        105,
2312                                        110,
2313                                        103,
2314                                        32,
2315                                        119,
2316                                        97,
2317                                        115,
2318                                        32,
2319                                        108,
2320                                        105,
2321                                        107,
2322                                        101,
2323                                        108,
2324                                        121,
2325                                        32,
2326                                        100,
2327                                        111,
2328                                        119,
2329                                        110,
2330                                        108,
2331                                        111,
2332                                        97,
2333                                        100,
2334                                        101,
2335                                        100,
2336                                        32,
2337                                        102,
2338                                        114,
2339                                        111,
2340                                        109,
2341                                        32,
2342                                        101,
2343                                        108,
2344                                        115,
2345                                        101,
2346                                        119,
2347                                        104,
2348                                        101,
2349                                        114,
2350                                        101,
2351                                        32,
2352                                        111,
2353                                        110,
2354                                        32,
2355                                        116,
2356                                        104,
2357                                        101,
2358                                        32,
2359                                        119,
2360                                        101,
2361                                        98,
2362                                        32,
2363                                        97,
2364                                        110,
2365                                        100,
2366                                        32,
2367                                        105,
2368                                        115,
2369                                        32,
2370                                        114,
2371                                        101,
2372                                        115,
2373                                        116,
2374                                        114,
2375                                        105,
2376                                        99,
2377                                        116,
2378                                        101,
2379                                        100,
2380                                        32,
2381                                        116,
2382                                        111,
2383                                        32,
2384                                        108,
2385                                        111,
2386                                        99,
2387                                        97,
2388                                        108,
2389                                        32,
2390                                        117,
2391                                        115,
2392                                        101,
2393                                        32,
2394                                        111,
2395                                        114,
2396                                        32,
2397                                        111,
2398                                        110,
2399                                        32,
2400                                        115,
2401                                        105,
2402                                        116,
2403                                        101,
2404                                        115,
2405                                        32,
2406                                        108,
2407                                        105,
2408                                        107,
2409                                        101,
2410                                        32,
2411                                        99,
2412                                        111,
2413                                        100,
2414                                        101,
2415                                        112,
2416                                        101,
2417                                        110,
2418                                        46,
2419                                        105,
2420                                        111,
2421                                        46
2422                                    )
2423                            ),
2424                        t
2425                    );
2426                })(window ? window.location.host : ""),
2427                D = (N.calculateChange = function (e, t, r, o) {
2428                    return null == o && (o = 0.05), (r * o * e) / (t instanceof b ? t : t ? new b(t) : S.defaultEase).getRatio(o);
2429                }),
2430                E = (N.calculateDuration = function (e, t, r, o, n) {
2431                    n = n || 0.05;
2432                    var i = o instanceof b ? o : o ? new b(o) : S.defaultEase;
2433                    return Math.abs(((t - e) * i.getRatio(n)) / r / n);
2434                }),
2435                s = (N.calculateTweenDuration = function (e, t, r, o, n, i) {
2436                    if (("string" == typeof e && (e = S.selector(e)), !e)) return 0;
2437                    null == r && (r = 10), null == o && (o = 0.2), null == n && (n = 1), e.length && (e = e[0] || e);
2438                    var s,
2439                        a,
2440                        c,
2441                        u,
2442                        f,
2443                        p,
2444                        l,
2445                        g,
2446                        d,
2447                        h,
2448                        v,
2449                        m,
2450                        y,
2451                        _ = 0,
2452                        w = 9999999999,
2453                        C = t.throwProps || t,
2454                        P = t.ease instanceof b ? t.ease : t.ease ? new b(t.ease) 
2454: S.defaultEase,
2455                        k = isNaN(C.checkpoint) ? 0.05 : Number(C.checkpoint),
2456                        x = isNaN(C.resistance) ? N.defaultResistance : Number(C.resistance);
2457                    if (C.linkedProps)
2458                        for (m = C.linkedProps.split(","), v = {}, y = 0; y < m.length; y++)
2459                            (a = C[(s = m[y])]) &&
2460                                ((c =
2461                                    0 <
2462                                    (u = void 0 !== a.velocity && "number" == typeof a.velocity ? Number(a.velocity) || 0 : (d = d || T.getByTarget(e)) && d.isTrackingProp(s) ? d.getVelocity(s) : 0) *
2463                                        (f = isNaN(a.resistance) ? x : Number(a.resistance))
2464                                        ? u / f
2465                                        : u / -f),
2466                                (p = "function" == typeof e[s] ? e[s.indexOf("set") || "function" != typeof e["get" + s.substr(3)] ? s : "get" + s.substr(3)]() : e[s] || 0),
2467                                (v[s] = p + D(u, P, c, k)));
2468                    for (s in C)
2469                        "resistance" !== s &&
2470                            "checkpoint" !== s &&
2471                            "preventOvershoot" !== s &&
2472                            "linkedProps" !== s &&
2473                            "radius" !== s &&
2474                            ("object" != typeof (a = C[s]) &&
2475                                ((d = d || T.getByTarget(e)) && d.isTrackingProp(s) ? (a = "number" == typeof a ? { velocity: a } : { velocity: d.getVelocity(s) }) : (c = 0 < (u = Number(a) || 0) * x ? u / x : u / -x)),
2476                            "object" == typeof a &&
2477                                ((c =
2478                                    0 <
2479                                    (u = void 0 !== a.velocity && "number" == typeof a.velocity ? Number(a.velocity) || 0 : (d = d || T.getByTarget(e)) && d.isTrackingProp(s) ? d.getVelocity(s) : 0) *
2480                                        (f = isNaN(a.resistance) ? x : Number(a.resistance))
2481                                        ? u / f
2482                                        : u / -f),
2483                                (l = (p = "function" == typeof e[s] ? e[s.indexOf("set") || "function" != typeof e["get" + s.substr(3)] ? s : "get" + s.substr(3)]() : e[s] || 0) + D(u, P, c, k)),
2484                                void 0 !== a.end && ((a = V(a, v && s in v ? v : l, a.max, a.min, s, C.radius)), (i || R) && (C[s] = O(a, C[s], "end"))),
2485                                void 0 !== a.max && l > Number(a.max) + 1e-10
2486                                    ? ((h = a.unitFactor || N.defaultUnitFactors[s] || 1), (g = (p > a.max && a.min !== a.max) || (-15 < u * h && u * h < 45) ? o + 0.1 * (r - o) : E(p, a.max, u, P, k)) + n < w && (w = g + n))
2487                                    : void 0 !== a.min &&
2488                                      l < Number(a.min) - 1e-10 &&
2489                                      ((h = a.unitFactor || N.defaultUnitFactors[s] || 1), (g = (p < a.min && a.min !== a.max) || (-45 < u * h && u * h < 15) ? o + 0.1 * (r - o) : E(p, a.min, u, P, k)) + n < w && (w = g + n)),
2490                                _ < g && (_ = g)),
2491                            _ < c && (_ = c));
2492                    return w < _ && (_ = w), r < _ ? r : _ < o ? o : _;
2493                }),
2494                e = (N.prototype = new r("throwProps"));
2495            return (
2496                ((e.constructor = N).version = "0.11.0"),
2497                (N.API = 2),
2498                (N._autoCSS = !0),
2499                (N.defaultResistance = 100),
2500                (N.defaultUnitFactors = { time: 1e3, totalTime: 1e3 }),
2501                (N.track = function (e, t, r) {
2502                    return T.track(e, t, r);
2503                }),
2504                (N.untrack = function (e, t) {
2505                    T.untrack(e, t);
2506                }),
2507                (N.isTracking = function (e, t) {
2508                    return T.isTracking(e, t);
2509                }),
2510                (N.getVelocity = function (e, t) {
2511                    var r = T.getByTarget(e);
2512                    return r ? r.getVelocity(t) : NaN;
2513                }),
2514                (N._cssRegister = function () {
2515                    var e,
2516                        v,
2517                        m,
2518                        y,
2519                        t = o.com.greensock.plugins.CSSPlugin;
2520                    t &&
2521                        ((e = t._internals),
2522                        (v = e._parseToProxy),
2523                        (m = e._setPluginRatio),
2524                        (y = e.CSSPropTween),
2525                        e._registerComplexSpecialProp("throwProps", {
2526                            parser: function (e, t, r, o, n, i) {
2527                                i = new N();
2528                                var s,
2529                                    a,
2530                                    c,
2531                                    u,
2532                                    f = {},
2533                                    p = {},
2534                                    l = {},
2535                                    g = {},
2536                                    d = {},
2537                                    h = {};
2538                                for (a in ((w = {}), t))
2539                                    "resistance" !== a &&
2540                                        "preventOvershoot" !== a &&
2541                                        "linkedProps" !== a &&
2542                                        "radius" !== a &&
2543                                        ("object" == typeof (s = t[a])
2544                                            ? (void 0 !== s.velocity && "number" == typeof s.velocity ? (f[a] = Number(s.velocity) || 0) : ((u = u || T.getByTarget(e)), (f[a] = u && u.isTrackingProp(a) ? u.getVelocity(a) : 0)),
2545                                              void 0 !== s.end && (g[a] = s.end),
2546                                              void 0 !== s.min && (p[a] = s.min),
2547                                              void 0 !== s.max && (l[a] = s.max),
2548                                              s.preventOvershoot && (h[a] = !0),
2549                                              void 0 !== s.resistance && (d[a] = s.resistance))
2550                                            : "number" == typeof s
2551                                            ? (f[a] = s)
2552                                            : (u = u || T.getByTarget(e)) && u.isTrackingProp(a)
2553                                            ? (f[a] = u.getVelocity(a))
2554                                            : (f[a] = s || 0),
2555                                        k[a] && o._enableTransforms(2 === k[a]));
2556                                for (a in ((c = v(e, f, o, n, i)), (_ = c.proxy), (f = c.end), _)) w[a] = { velocity: f[a], min: p[a], max: l[a], end: g[a], resistance: d[a], preventOvershoot: h[a] };
2557                                return (
2558                                    null != t.resistance && (w.resistance = t.resistance),
2559                                    null != t.linkedProps && (w.linkedProps = t.linkedProps),
2560                                    null != t.radius && (w.radius = t.radius),
2561                                    t.preventOvershoot && (w.preventOvershoot = !0),
2562                                    (n = new y(e, "throwProps", 0, 0, c.pt, 2)),
2563                                    o._overwriteProps.pop(),
2564                                    (n.plugin = i),
2565                                    (n.setRatio = m),
2566                                    (n.data = c),
2567                                    i._onInitTween(_, w, o._tween),
2568                                    n
2569                                );
2570                            },
2571                        }));
2572                }),
2573                (N.to = function (e, t, r, o, n) {
2574                    t.throwProps || (t = { throwProps: t }), 0 === n && (t.throwProps.preventOvershoot = !0), (R = !0);
2575                    var i = new S(e, o || 1, t);
2576                    return (
2577                        i.render(0, !0, !0),
2578                        (R = (i.vars.css ? (i.duration(s(_, { throwProps: w, ease: t.ease }, r, o, n)), i._delay && !i.vars.immediateRender ? i.invalidate() : C._onInitTween(_, P, i)) : (i.kill(), (i = new S(e, s(e, t, r, o, n), t))), !1)),
2579                        i
2580                    );
2581                }),
2582                (e._onInitTween = function (e, t, r, o) {
2583                    (this.target = e), (this._props = []), (C = this), (P = t);
2584                    var n,
2585                        i,
2586                        s,
2587                        a,
2588                        c,
2589                        u,
2590                        f,
2591                        p,
2592                        l,
2593                        g,
2594                        d,
2595                        h,
2596                        v = r._ease,
2597                        m = isNaN(t.checkpoint) ? 0.05 : Number(t.checkpoint),
2598                        y = r._duration,
2599                        _ = t.preventOvershoot,
2600                        w = 0;
2601   
2602                    if (!F) return 0;
2603                    if (t.linkedProps)
2604                        for (d = t.linkedProps.split(","), g = {}, h = 0; h < d.length; h++)
2605                            (i = t[(n = d[h])]) &&
2606                                ((c = void 0 !== i.velocity && "number" == typeof i.velocity ? Number(i.velocity) || 0 : (l = l || T.getByTarget(e)) && l.isTrackingProp(n) ? l.getVelocity(n) : 0),
2607                                (s = "function" == typeof e[n] ? e[n.indexOf("set") || "function" != typeof e["get" + n.substr(3)] ? n : "get" + n.substr(3)]() : e[n] || 0),
2608                                (g[n] = s + D(c, v, y, m)));
2609                    for (n in t)
2610                        if ("resistance" !== n && "checkpoint" !== n && "preventOvershoot" !== n && "linkedProps" !== n && "radius" !== n) {
2611                            if (("function" == typeof (i = t[n]) && (i = i(o, e)), "number" == typeof i)) c = Number(i) || 0;
2612                            else if ("object" != typeof i || isNaN(i.velocity)) {
2613                                if (!(l = l || T.getByTarget(e)) || !l.isTrackingProp(n)) throw "ERROR: No velocity was defined in the throwProps tween of " + e + " property: " + n;
2614                                c = l.getVelocity(n);
2615                            } else c = Number(i.velocity);
2616                            (u = D(c, v, y, m)),
2617                                (p = 0),
2618                                (s = (a = "function" == typeof e[n]) ? e[n.indexOf("set") || "function" != typeof e["get" + n.substr(3)] ? n : "get" + n.substr(3)]() : e[n]),
2619                                "object" == typeof i &&
2620                                    ((f = s + u),
2621                                    void 0 !== i.end && ((i = V(i, g && n in g ? g : f, i.max, i.min, n, t.radius)), R && (t[n] = O(i, t[n], "end"))),
2622                                    void 0 !== i.max && Number(i.max) < f
2623                                        ? _ || i.preventOvershoot
2624                                            ? (u = i.max - s)
2625                                            : (p = i.max - s - u)
2626                                        : void 0 !== i.min && Number(i.min) > f && (_ || i.preventOvershoot ? (u = i.min - s) : (p = i.min - s - u))),
2627                                (this._overwriteProps[w] = n),
2628                                (this._props[w++] = { p: n, s: s, c1: u, c2: p, f: a, r: !1 });
2629                        }
2630                    return F;
2631                }),
2632                (e._kill = function (e) {
2633                    for (var t = this._props.length; -1 < --t; ) null != e[this._props[t].p] && this._props.splice(t, 1);
2634                    return r.prototype._kill.call(this, e);
2635                }),
2636                (e._mod = function (e) {
2637                    for (var t, r = this._props, o = r.length; -1 < --o; ) "function" == typeof (t = e[r[o].p] || e.throwProps) && (r[o].m = t);
2638                }),
2639                (e.setRatio = function (e) {
2640                    for (var t, r, o = this._props.length; -1 < --o; )
2641                        (r = (t = this._props[o]).s + t.c1 * e + t.c2 * e * e), t.m ? (r = t.m(r, this.target)) : 1 === e && (r = ((1e4 * r + (r < 0 ? -0.5 : 0.5)) | 0) / 1e4), t.f ? this.target[t.p](r) : (this.target[t.p] = r);
2642                }),
2643                r.activate([N]),
2644                N
2645            );
2646        },
2647        !0
2648    ),
2649        _gsScope._gsDefine(
2650            "utils.VelocityTracker",
2651            ["TweenLite"],
2652            function (s) {
2653                function a(e, t, r) {
2654                    var o = (e._gsTransform || p)[t];
2655                    return o || 0 === o
2656                        ? o
2657                        : (e.style[t] ? (o = e.style[t]) : (r = r || g(e, null)) ? (o = r[t] || r.getPropertyValue(t) || r.getPropertyValue(t.replace(f, "-$1").toLowerCase())) : e.currentStyle && (o = e.currentStyle[t]),
2658                          parseFloat(o) || 0);
2659                }
2660                function c(e, t, r) {
2661                    (this.p = e), (this.f = t), (this.v1 = this.v2 = 0), (this.t1 = this.t2 = d.time), (this.css = !1), (this.t
2661ype = ""), (this._prev = null), r && ((this._next = r)._prev = this);
2662                }
2663                function t() {
2664                    var e,
2665                        t,
2666                        r = i,
2667                        o = d.time;
2668                    if (0.03 <= o - n)
2669                        for (n = o; r; ) {
2670                            for (t = r._firstVP; t; ) ((e = t.css ? a(r.target, t.p) : t.f ? r.target[t.p]() : r.target[t.p]) !== t.v1 || 0.15 < o - t.t1) && ((t.v2 = t.v1), (t.v1 = e), (t.t2 = t.t1), (t.t1 = o)), (t = t._next);
2671                            r = r._next;
2672                        }
2673                }
2674                function u(e) {
2675                    (this._lookup = {}), (this.target = e), (this.elem = !(!e.style || !e.nodeType)), r || (d.addEventListener("tick", t, null, !1, -100), (n = d.time), (r = !0)), i && ((this._next = i)._prev = this), (i = this);
2676                }
2677                var i,
2678                    r,
2679                    n,
2680                    f = /([A-Z])/g,
2681                    p = {},
2682                    l = { x: 1, y: 1, z: 2, scale: 1, scaleX: 1, scaleY: 1, rotation: 1, rotationZ: 1, rotationX: 2, rotationY: 2, skewX: 1, skewY: 1, xPercent: 1, yPercent: 1 },
2683                    g = document.defaultView ? document.defaultView.getComputedStyle : function () {},
2684                    d = s.ticker,
2685                    h = (u.getByTarget = function (e) {
2686                        for (var t = i; t; ) {
2687                            if (t.target === e) return t;
2688                            t = t._next;
2689                        }
2690                    }),
2691                    e = u.prototype;
2692                return (
2693                    (e.addProp = function (e, t) {
2694                        var r, o, n, i;
2695                        this._lookup[e] ||
2696                            ((n = (o = "function" == typeof (r = this.target)[e]) ? this._altProp(e) : e),
2697                            (i = this._firstVP),
2698                            (this._firstVP = this._lookup[e] = this._lookup[n] = i = new c(n !== e && 0 === e.indexOf("set") ? n : e, o, i)),
2699                            (i.css = this.elem && (void 0 !== this.target.style[i.p] || l[i.p])),
2700                            i.css && l[i.p] && !r._gsTransform && s.set(r, { x: "+=0", overwrite: !1 }),
2701                            (i.type = t || (i.css && 0 === e.indexOf("rotation")) ? "deg" : ""),
2702                            (i.v1 = i.v2 = i.css ? a(r, i.p) : o ? r[i.p]() : r[i.p]));
2703                    }),
2704                    (e.removeProp = function (e) {
2705                        var t = this._lookup[e];
2706                        t && (t._prev ? (t._prev._next = t._next) : t === this._firstVP && (this._firstVP = t._next), t._next && (t._next._prev = t._prev), (this._lookup[e] = 0), t.f && (this._lookup[this._altProp(e)] = 0));
2707                    }),
2708                    (e.isTrackingProp = function (e) {
2709                        return this._lookup[e] instanceof c;
2710                    }),
2711                    (e.getVelocity = function (e) {
2712                        var t,
2713                            r,
2714                            o = this._lookup[e],
2715                            n = this.target;
2716                        if (!o) throw "The velocity of " + e + " is not being tracked.";
2717                        return (
2718                            (t = (o.css ? a(n, o.p) : o.f ? n[o.p]() : n[o.p]) - o.v2),
2719                            ("rad" !== o.type && "deg" !== o.type) || ((t %= r = "rad" === o.type ? 2 * Math.PI : 360) !== t % (r / 2) && (t = t < 0 ? t + r : t - r)),
2720                            t / (d.time - o.t2)
2721                        );
2722                    }),
2723                    (e._altProp = function (e) {
2724                        var t = e.substr(0, 3),
2725                            r = ("get" === t ? "set" : "set" === t ? "get" : t) + e.substr(3);
2726                        return "function" == typeof this.target[r] ? r : e;
2727                    }),
2728                    (u.getByTarget = function (e) {
2729                        var t = i;
2730                        for ("string" == typeof e && (e = s.selector(e)), e.length && e !== window && e[0] && e[0].style && !e.nodeType && (e = e[0]); t; ) {
2731                            if (t.target === e) return t;
2732                            t = t._next;
2733                        }
2734                    }),
2735                    (u.track = function (e, t, r) {
2736                        var o = h(e),
2737                            n = t.split(","),
2738                            i = n.length;
2739                        for (r = (r || "").split(","), o = o || new u(e); -1 < --i; ) o.addProp(n[i], r[i] || r[0]);
2740                        return o;
2741                    }),
2742                    (u.untrack = function (e, t) {
2743                        var r = h(e),
2744                            o = (t || "").split(","),
2745                            n = o.length;
2746                        if (r) {
2747                            for (; -1 < --n; ) r.removeProp(o[n]);
2748                            (r._firstVP && t) || (r._prev ? (r._prev._next = r._next) : r === i && (i = r._next), r._next && (r._next._prev = r._prev));
2749                        }
2750                    }),
2751                    (u.isTracking = function (e, t) {
2752                        var r = h(e);
2753                        return !!r && (!(t || !r._firstVP) || r.isTrackingProp(t));
2754                    }),
2755                    u
2756                );
2757            },
2758            !0
2759        );
2760}),
2761    _gsScope._gsDefine && _gsScope._gsQueue.pop()(),
2762    (function () {
2763        "use strict";
2764        function e() {
2765            return (_gsScope.GreenSockGlobals || _gsScope).ThrowPropsPlugin;
2766        }
2767        "function" == typeof define && define.amd ? define(["TweenLite"], e) : "undefined" != typeof module && module.exports && (require("../TweenLite.js"), (module.exports = e()));
2768    })();
2769
2770/*!
2771 * VERSION: 1.18.5
2772 * DATE: 2016-05-24
2773 * UPDATES AND DOCS AT: http://greensock.com
2774 *
2775 * @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
2776 * This work is subject to the terms at http://greensock.com/standard-license or for
vendor: 27,242 bytes, lines 2777-2788
2777 * Club GreenSock members, the software agreement that was issued with your membership.
2778 * 
2779 * @author: Jack Doyle, [email protected]
2780 */
2781!function(a,b){"use strict";var c={},d=a.GreenSockGlobals=a.GreenSockGlobals||a;if(!d.TweenLite){var e,f,g,h,i,j=function(a){var b,c=a.split("."),e=d;for(b=0;b<c.length;b++)e[c[b]]=e=e[c[b]]||{};return e},k=j("com.greensock"),l=1e-10,m=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},n=function(){},o=function(){var a=Object.prototype.toString,b=a.call([]);return function(c){return null!=c&&(c instanceof Array||"object"==typeof c&&!!c.push&&a.call(c)===b)}}(),p={},q=function(e,f,g,h){this.sc=p[e]?p[e].sc:[],p[e]=this,this.gsClass=null,this.func=g;var i=[];this.check=function(k){for(var l,m,n,o,r,s=f.length,t=s;--s>-1;)(l=p[f[s]]||new q(f[s],[])).gsClass?(i[s]=l.gsClass,t--):k&&l.sc.push(this);if(0===t&&g){if(m=("com.greensock."+e).split("."),n=m.pop(),o=j(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(d[n]=o,r="undefined"!=typeof module&&module.exports,!r&&"function"==typeof define&&define.amd)define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+e.split(".").pop(),[],function(){return o});else if(r)if(e===b){module.exports=c[b]=o;for(s in c)o[s]=c[s]}else c[b]&&(c[b][n]=o);for(s=0;s<this.sc.length;s++)this.sc[s].check()}},this.check(!0)},r=a._gsDefine=function(a,b,c,d){return new q(a,b,c,d)},s=k._class=function(a,b,c){return b=b||function(){},r(a,[],function(){return b},c),b};r.globals=d;var t=[0,0,1,1],u=[],v=s("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?t.concat(b):t},!0),w=v.map={},x=v.register=function(a,b,c,d){for(var e,f,g,h,i=b.split(","),j=i.length,l=(c||"easeIn,easeOut,easeInOut").split(",");--j>-1;)for(f=i[j],e=d?s("easing."+f,null,!0):k.easing[f]||{},g=l.length;--g>-1;)h=l[g],w[f+"."+h]=w[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(g=v.prototype,g._calcEnd=!1,g.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},e=["Linear","Quad","Cubic","Quart","Quint,Strong"],f=e.length;--f>-1;)g=e[f]+",Power"+f,x(new v(null,null,1,f),g,"easeOut",!0),x(new v(null,null,2,f),g,"easeIn"+(0===f?",easeNone":"")),x(new v(null,null,3,f),g,"easeInOut");w.linear=k.easing.Linear.easeIn,w.swing=k.easing.Quad.easeInOut;var y=s("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});g=y.prototype,g.addEventListener=function(a,b,c,d,e){e=e||0;var f,g,j=this._listeners[a],k=0;for(this!==h||i||h.wake(),null==j&&(this._listeners[a]=j=[]),g=j.length;--g>-1;)f=j[g],f.c===b&&f.s===c?j.splice(g,1):0===k&&f.pr<e&&(k=g+1);j.splice(k,0,{c:b,s:c,up:d,pr:e})},g.removeEventListener=function(a,b){var c,d=this._listeners[a];if(d)for(c=d.length;--c>-1;)if(d[c].c===b)return void d.splice(c,1)},g.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,c=this._eventTarget;--b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var z=a.requestAnimationFrame,A=a.cancelAnimationFrame,B=Date.now||function(){return(new Date).getTime()},C=B();for(e=["ms","moz","webkit","o"],f=e.length;--f>-1&&!z;)z=a[e[f]+"RequestAnimationFrame"],A=a[e[f]+"CancelAnimationFrame"]||a[e[f]+"CancelRequestAnimationFrame"];s("Ticker",function(a,b){var c,d,e,f,g,j=this,k=B(),m=b!==!1&&z?"auto":!1,o=500,p=33,q="tick",r=function(a){var b,h,i=B()-C;i>o&&(k+=i-p),C+=i,j.time=(C-k)/1e3,b=j.time-g,(!c||b>0||a===!0)&&(j.frame++,g+=b+(b>=f?.004:f-b),h=!0),a!==!0&&(e=d(r)),h&&j.dispatchEvent(q)};y.call(j),j.time=j.frame=0,j.tick=function(){r(!0)},j.lagSmoothing=function(a,b){o=a||1/l,p=Math.min(b,o,0)},j.sleep=function(){null!=e&&(m&&A?A(e):clearTimeout(e),d=n,e=null,j===h&&(i=!1))},j.wake=function(a){null!==e?j.sleep():a?k+=-C+(C=B()):j.frame>10&&(C=B()-o+5),d=0===c?n:m&&z?z:function(a){return setTimeout(a,1e3*(g-j.time)+1|0)},j===h&&(i=!0),r(2)},j.fps=function(a){return arguments.length?(c=a,f=1/(c||60),g=this.time+f,void j.wake()):c},j.useRAF=function(a){return arguments.length?(j.sleep(),m=a,void j.fps(c)):m},j.fps(a),setTimeout(function(){"auto"===m&&j.frame<5&&"hidden"!==document.visibilityState&&j.useRAF(!1)},1500)}),g=k.Ticker.prototype=new k.events.EventDispatcher,g.constructor=k.Ticker;var D=s("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,W){i||h.wake();var c=this.vars.useFrames?V:W;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});h=D.ticker=new k.Ticker,g=D.prototype,g._dirty=g._gc=g._initted=g._paused=!1,g._totalTime=g._time=0,g._rawPrevTime=-1,g._next=g._last=g._onUpdate=g._timeline=g.timeline=null,g._paused=!1;var E=function(){i&&B()-C>2e3&&h.wake(),setTimeout(E,2e3)};E(),g.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},g.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},g.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},g.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},g.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},g.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},g.render=function(a,b,c){},g.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},g.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime())>=c&&a<c+this.totalDuration()/this._timeScale},g._enabled=function(a,b){return i||h.wake(),this._gc=!a,this._active=this.isActive(),b!==!0&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},g._kill=function(a,b){return this._enabled(!1,!1)},g.kill=function(a,b){return this._kill(a,b),this},g._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},g._swapSelfInParams=function(a){for(var b=a.length,c=a.concat();--b>-1;)"{self}"===a[b]&&(c[b]=this);return c},g._callback=function(a){var b=this.vars;b[a].apply(b[a+"Scope"]||b.callbackScope||this,b[a+"Params"]||u)},g.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=o(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},g.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},g.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},g.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},g.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(a>this._duration?this._duration:a,b)):this._time},g.totalTime=function(a,b,c){if(i||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(J.length&&Y(),this.render(a,b,!1),J.length&&Y())}return this},g.progress=g.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},g.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},g.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale},g.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||l,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},g.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},g.paused=function(a){if(!arguments.length)return this._paused;var b,c,d=this._timeline;return a!=this._paused&&d&&(i||a||h.wake(),b=d.rawTime(),c=b-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var F=s("core.SimpleTimeline",function(a){D.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});g=F.prototype=new D,g.constructor=F,g.kill()._gc=!1,g._first=g._last=g._recent=null,g._sortChildren=!1,g.add=g.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},g._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},g.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},g.rawTime=function(){return i||h.wake(),this._totalTime};var G=s("TweenLite",function(b,c,d){if(D.call(this,c,d),this.render=G.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:G.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?U[G.defaultOverwrite]:"number"==typeof i?i>>0:U[i],(h||b instanceof Array||b.push&&o(b))&&"number"!=typeof b[0])for(this._targets=g=m(b),this._propLookup=[],this._siblings=[],e=0;e<g.length;e++)f=g[e],f?"string"!=typeof f?f.length&&f!==a&&f[0]&&(f[0]===a||f[0].nodeType&&f[0].style&&!f.nodeType)?(g.splice(e--,1),this._targets=g=g.concat(m(f))):(this._siblings[e]=Z(f,this,!1),1===i&&this._siblings[e].length>1&&_(f,this,null,1,this._siblings[e])):(f=g[e--]=G.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=Z(b,this,!1),1===i&&this._siblings.length>1&&_(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-l,this.render(Math.min(0,-this._delay)))},!0),H=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType)},I=function(a,b){var c,d={};for(c in a)T[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!Q[c]||Q[c]&&Q[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};g=G.prototype=new D,g.constructor=G,g.kill()._gc=!1,g.ratio=0,g._firstPT=g._targets=g._overwrittenProps=g._startAt=null,g._notifyPluginsOfEnabled=g._lazy=!1,G.version="1.18.5",G.defaultEase=g._ease=new v(null,null,1,1),G.defaultOverwrite="auto",G.ticker=h,G.autoSleep=120,G.lagSmoothing=function(a,b){h.lagSmoothing(a,b)},G.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(G.selector=c,c(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)};var J=[],K={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,M=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.blob?a?this.join(""):this.start:c.c*a+c.s,c.r?b=Math.round(b):d>b&&b>-d&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next},N=function(a,b,c,d){var e,f,g,h,i,j,k,l=[a,b],m=0,n="",o=0;for(l.start=a,c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(L)||[],f=b.match(L)||[],d&&(d._next=null,d.blob=1,l._firstPT=d),i=f.length,h=0;i>h;h++)k=f[h],j=b.substr(m,b.indexOf(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parseFloat(e[h]),l.push(g),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:g,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-g)||0,f:0,r:o&&4>o}),m+=k.length;return n+=b.substr(m),n&&l.push(n),l.setRatio=M,l},O=function(a,b,c,d,e,f,g,h){var i,j,k="get"===c?a[b]:c,l=typeof a[b],m="string"==typeof d&&"="===d.charAt(1),n={t:a,p:b,s:k,f:"function"===l,pg:0,n:e||b,r:f,pr:0,c:m?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-k||0};return"number"!==l&&("function"===l&&"get"===c&&(j=b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),n.s=k=g?a[j](g):a[j]()),"string"==typeof k&&(g||isNaN(k))?(n.fp=g,i=N(k,d,h||G.defaultStringFilter,n),n={t:i,p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0}):m||(n.s=parseFloat(k),n.c=parseFloat(d)-n.s||0)),n.c?((n._next=this._firstPT)&&(n._next._prev=n),this._firstPT=n,n):void 0},P=G._internals={isArray:o,isSelector:H,lazyTweens:J,blobDif:N},Q=G._plugins={},R=P.tweenLookup={},S=0,T=P.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},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},V=D._rootFramesTimeline=new F,W=D._rootTimeline=new F,X=30,Y=P.lazyRender=function(){var a,b=J.length;for(K={};--b>-1;)a=J[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);J.length=0};W._startTime=h.time,V._startTime=h.frame,W._active=V._active=!0,setTimeout(Y,1),D._updateRoot=G.render=function(){var a,b,c;if(J.length&&Y(),W.render((h.time-W._startTime)*W._timeScale,!1,!1),V.render((h.frame-V._startTime)*V._timeScale,!1,!1),J.length&&Y(),h.frame>=X){X=h.frame+(parseInt(G.autoSleep,10)||120);for(c in R){for(b=R[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete R[c]}if(c=W._first,(!c||c._paused)&&G.autoSleep&&!V._first&&1===h._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||h.sleep()}}},h.addEventListener("tick",D._updateRoot);var Z=function(a,b,c){var d,e,f=a._gsTweenID;if(R[f||(a._gsTweenID=f="t"+S++)]||(R[f]={target:a,tweens:[]}),b&&(d=R[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return R[f].tweens},$=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=G.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},_=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,k=b._startTime+l,m=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||aa(b,0,o),0===aa(h,j,o)&&(m[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(m[n++]=h)));for(f=n;--f>-1;)if(h=m[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!$(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},aa=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*l>f-b?l:(f+=a.totalDuration()/a._timeScale/e)>b+l?0:f-b-l};g._init=function(){var a,b,c,d,e,f=this.vars,g=this._overwrittenProps,h=this._duration,i=!!f.immediateRender,j=f.ease;if(f.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in f.startAt)e[d]=f.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=i&&f.lazy!==!1,e.startAt=e.delay=null,this._startAt=G.to(this.target,0,e),i)if(this._time>0)this._startAt=null;else if(0!==h)return}else if(f.runBackwards&&0!==h)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(i=!1),c={};for(d in f)T[d]&&"autoCSS"!==d||(c[d]=f[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=i&&f.lazy!==!1,c.immediateRender=i,this._startAt=G.to(this.target,0,c),i){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=j=j?j instanceof v?j:"function"==typeof j?new v(j,f.easeParams):w[j]||G.defaultEase:G.defaultEase,f.easeParams instanceof Array&&j.config&&(this._ease=j.config.apply(j,f.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(a=this._targets.length;--a>-1;)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],g?g[a]:null)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,g);if(b&&G._onPluginEvent("_onInitAllProps",this),g&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),f.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=f.onUpdate,this._initted=!0},g._initProps=function(b,c,d,e){var f,g,h,i,j,k;if(null==b)return!1;K[b._gsTweenID]&&Y(),this.vars.css||b.style&&b!==a&&b.nodeType&&Q.css&&this.vars.autoCSS!==!1&&I(this.vars,b);for(f in this.vars)if(k=this.vars[f],T[f])k&&(k instanceof Array||k.push&&o(k))&&-1!==k.join("").indexOf("{self}")&&(this.vars[f]=k=this._swapSelfInParams(k,this));else if(Q[f]&&(i=new Q[f])._onInitTween(b,this.vars[f],this)){for(this._firstPT=j={_next:this._firstPT,t:i,p:"setRatio",s:0,c:1,f:1,n:f,pg:1,pr:i._priority},g=i._overwriteProps.length;--g>-1;)c[i._overwriteProps[g]]=this._firstPT;(i._priority||i._onInitAllProps)&&(h=!0),(i._onDisable||i._onEnable)&&(this._notifyPluginsOfEnabled=!0),j._next&&(j._next._prev=j)}else c[f]=O.call(this,b,f,"get",k,f,0,null,this.vars.stringFilter);return e&&this._kill(e,b)?this._initProps(b,c,d,e):this._overwrite>1&&this._firstPT&&d.length>1&&_(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(K[b._gsTweenID]=!0),h)},g.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i-1e-7)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===l&&"isPause"!==this.data)&&j!==a&&(c=!0,j>l&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||j===a?a:l);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==l||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:l)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var k=a/i,m=this._easeType,n=this._easePower;(1===m||3===m&&k>=.5)&&(k=1-k),3===m&&(k*=2),1===n?k*=k:2===n?k*=k*k:3===n?k*=k*k*k:4===n&&(k*=k*k*k*k),1===m?this.ratio=1-k:2===m?this.ratio=k:.5>a/i?this.ratio=k/2:this.ratio=1-k/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,J.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===l&&g!==l&&(this._rawPrevTime=0))}},g._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:G.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((o(b)||H(b))&&"number"!=typeof b[0])for(d=b.length;--d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;--d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(G.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!$(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},g.invalidate=function(){return this._notifyPluginsOfEnabled&&G._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-l,this.render(Math.min(0,-this._delay))),this},g._enabled=function(a,b){if(i||h.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=Z(d[c],this,!0);else this._siblings=Z(this.target,this,!0)}return D.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?G._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},G.to=function(a,b,c){return new G(a,b,c)},G.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new G(a,b,c)},G.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new G(a,b,d)},G.delayedCall=function(a,b,c,d,e){return new G(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},G.set=function(a,b){return new G(a,0,b)},G.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:G.selector(a)||a;var c,d,e,f;if((o(a)||H(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;)d=d.concat(G.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=Z(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},G.killTweensOf=G.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=G.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var ba=s("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=ba.prototype},!0);if(g=ba.prototype,ba.version="1.18.0",ba.API=2,g._firstPT=null,g._addTween=O,g.setRatio=M,g._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},g._roundProps=function(a,b){for(var c=this._firstPT;c;)(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])&&(c.r=b),c=c._next},G._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},ba.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===ba.API&&(Q[(new a[b])._propName]=a[b]);return!0},r.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},g=s("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){ba.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new ba(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,ba.activate([g]),g},e=a._gsQueue){for(f=0;f<e.length;f++)e[f]();for(g in p)p[g].func||a.console.log("GSAP encountered missing dependency: com.greensock."+g)}i=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenLite");
2782/*!
2783 * VERSION: 1.18.5
2784 * DATE: 2016-05-24
2785 * UPDATES AND DOCS AT: http://greensock.com
2786 *
2787 * @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
2788 * This work is subject to the terms at http://greensock.com/standard-license or for
vendor: 33,013 bytes, lines 2789-2794
2789 * Club GreenSock members, the software agreement that was issued with your membership.
2790 * 
2791 * @author: Jack Doyle, [email protected]
2792 */
2793var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h=_gsScope._gsDefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.18.5",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",g.defaultSmoothOrigin=!0,j="px",g.suffixMap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontSize:j,padding:j,margin:j,perspective:j,lineHeight:""};var k,l,m,n,o,p,q=/(?:\-|\.|\b)(\d|\.|e\-)+/g,r=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,s=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,t=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,u=/(?:\d|\-|\+|=|#|\.)*/g,v=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,x=/alpha\(opacity *=.+?\)/i,y=/^(rgb|hsl)/,z=/([A-Z])/g,A=/-([a-z])/gi,B=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(a,b){return b.toUpperCase()},D=/(?:Left|Right|Width)/i,E=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,F=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=/,(?=[^\)]*(?:\(|$))/gi,H=/[\s,\(]/i,I=Math.PI/180,J=180/Math.PI,K={},L=document,M=function(a){return L.createElementNS?L.createElementNS("http://www.w3.org/1999/xhtml",a):L.createElement(a)},N=M("div"),O=M("img"),P=g._internals={_specialProps:i},Q=navigator.userAgent,R=function(){var a=Q.indexOf("Android"),b=M("a");return m=-1!==Q.indexOf("Safari")&&-1===Q.indexOf("Chrome")&&(-1===a||Number(Q.substr(a+8,1))>3),o=m&&Number(Q.substr(Q.indexOf("Version/")+8,1))<6,n=-1!==Q.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Q)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Q))&&(p=parseFloat(RegExp.$1)),b?(b.style.cssText="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),S=function(a){return v.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},T=function(a){window.console&&console.log(a)},U="",V="",W=function(a,b){b=b||N;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(V=3===d?"ms":c[d],U="-"+V.toLowerCase()+"-",V+a):null},X=L.defaultView?L.defaultView.getComputedStyle:function(){},Y=g.getStyle=function(a,b,c,d,e){var f;return R||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||X(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(z,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):S(a)},Z=P.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=D.test(c),l=a,m=N.style,n=0>d,o=1===d;if(n&&(d=-d),o&&(d*=100),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+Y(a,"position")+";line-height:0;","%"!==e&&l.appendChild&&"v"!==e.charAt(0)&&"rem"!==e)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||L.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(N),h=parseFloat(N[k?"offsetWidth":"offsetHeight"]),l.removeChild(N),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=Z(a,c,d,e,!0))}return o&&(h/=100),n?-h:h},$=P.calculateOffset=function(a,b,c){if("absolute"!==Y(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=Y(a,"margin"+d,c);return a["offset"+d]-(Z(a,b,parseFloat(e),e.replace(u,""))||0)},_=function(a,b){var c,d,e,f={};if(b=b||X(a,null))if(c=b.length)for(;--c>-1;)e=b[c],(-1===e.indexOf("-transform")||Aa===e)&&(f[e.replace(A,C)]=b.getPropertyValue(e));else for(c in b)(-1===c.indexOf("Transform")||za===c)&&(f[c]=b[c]);else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===f[c]&&(f[c.replace(A,C)]=b[c]);return R||(f.opacity=S(a)),d=Na(a,b,!1),f.rotation=d.rotation,f.skewX=d.skewX,f.scaleX=d.scaleX,f.scaleY=d.scaleY,f.x=d.x,f.y=d.y,Ca&&(f.z=d.z,f.rotationX=d.rotationX,f.rotationY=d.rotationY,f.scaleZ=d.scaleZ),f.filters&&delete f.filters,f},aa=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(t,"")?f:0:$(a,g),void 0!==j[g]&&(h=new pa(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},ba={width:["Left","Right"],height:["Top","Bottom"]},ca=["marginLeft","marginRight","marginTop","marginBottom"],da=function(a,b,c){if("svg"===(a.nodeName+"").toLowerCase())return(c||X(a))[b]||0;if(a.getBBox&&Ka(a))return a.getBBox()[b]||0;var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=ba[b],f=e.length;for(c=c||X(a,null);--f>-1;)d-=parseFloat(Y(a,"padding"+e[f],c,!0))||0,d-=parseFloat(Y(a,"border"+e[f]+"Width",c,!0))||0;return d},ea=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a)return a+" ";(null==a||""===a)&&(a="0 0");var c,d=a.split(" "),e=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];if(d.length>3&&!b){for(d=a.split(", ").join(",").split(","),a=[],c=0;c<d.length;c++)a.push(ea(d[c]));return a.join(",")}return null==f?f="center"===e?"50%":"0":"center"===f&&(f="50%"),("center"===e||isNaN(parseFloat(e))&&-1===(e+"").indexOf("="))&&(e="50%"),a=e+" "+f+(d.length>2?" "+d[2]:""),b&&(b.oxp=-1!==e.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===e.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(e.replace(t,"")),b.oy=parseFloat(f.replace(t,"")),b.v=a),b||a},fa=function(a,b){return"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)||0},ga=function(a,b){return null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2))+b:parseFloat(a)||0},ha=function(a,b,c,d){var e,f,g,h,i,j=1e-6;return null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charAt(1),g=(i?parseInt(a.charAt(0)+"1",10)*parseFloat(f[0].substr(2)):parseFloat(f[0]))*(-1===a.indexOf("rad")?1:J)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},ia={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]},ja=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+.5|0},ka=g.parseColor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a)if("number"==typeof a)c=[a>>16,a>>8&255,255&a];else{if(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),ia[a])c=ia[a];else if("#"===a.charAt(0))4===a.length&&(d=a.charAt(1),e=a.charAt(2),f=a.charAt(3),a="#"+d+d+e+e+f+f),a=parseInt(a.substr(1),16),c=[a>>16,a>>8&255,255&a];else if("hsl"===a.substr(0,3))if(c=m=a.match(q),b){if(-1!==a.indexOf("="))return a.match(r)}else g=Number(c[0])%360/360,h=Number(c[1])/100,i=Number(c[2])/100,e=.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=Number(a[3])),c[0]=ja(g+1/3,d,e),c[1]=ja(g,d,e),c[2]=ja(g-1/3,d,e);else c=a.match(q)||ia.transparent;c[0]=Number(c[0]),c[1]=Number(c[1]),c[2]=Number(c[2]),c.length>3&&(c[3]=Number(c[3]))}else c=ia.black;return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=Math.max(d,e,f),k=Math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+.5|0,c[1]=100*h+.5|0,c[2]=100*i+.5|0),c},la=function(a,b){var c,d,e,f=a.match(ma)||[],g=0,h=f.length?"":a;for(c=0;c<f.length;c++)d=f[c],e=a.substr(g,a.indexOf(d,g)-g),g+=e.length+d.length,d=ka(d,b),3===d.length&&d.push(1),h+=e+(b?"hsla("+d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:"rgba("+d.join(","))+")";return h+a.substr(g)},ma="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(j in ia)ma+="|"+j+"\\b";ma=new RegExp(ma+")","gi"),g.colorStringFilter=function(a){var b,c=a[0]+a[1];ma.test(c)&&(b=-1!==c.indexOf("hsl(")||-1!==c.indexOf("hsla("),a[0]=la(a[0],b),a[1]=la(a[1],b)),ma.lastIndex=0},b.defaultStringFilter||(b.defaultStringFilter=g.colorStringFilter);var na=function(a,b,c,d){if(null==a)return function(a){return a};var e,f=b?(a.match(ma)||[""])[0]:"",g=a.split(f).join("").match(s)||[],h=a.substr(0,a.indexOf(g[0])),i=")"===a.charAt(a.length-1)?")":"",j=-1!==a.indexOf(" ")?" ":",",k=g.length,l=k>0?g[0].replace(q,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&G.test(a)){for(o=a.replace(G,"|").split("|"),n=0;n<o.length;n++)o[n]=e(o[n]);return o.join(",")}if(b=(a.match(ma)||[f])[0],m=a.split(b).join("").match(s)||[],n=m.length,k>n--)for(;++n<k;)m[n]=c?m[(n-1)/2|0]:g[n];return h+m.join(j)+j+b+i+(-1!==a.indexOf("inset")?" inset":"")}:function(a){var b,f,m;if("number"==typeof a)a+=l;else if(d&&G.test(a)){for(f=a.replace(G,"|").split("|"),m=0;m<f.length;m++)f[m]=e(f[m]);return f.join(",")}if(b=a.match(s)||[],m=b.length,k>m--)for(;++m<k;)b[m]=c?b[(m-1)/2|0]:g[m];return h+b.join(j)+i}:function(a){return a}},oa=function(a){return a=a.split(","),function(b,c,d,e,f,g,h){var i,j=(c+"").split(" ");for(h={},i=0;4>i;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},pa=(P._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstMPT,j=1e-6;i;)b=h[i.v],i.r?b=Math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next;if(g.autoRotate&&(g.autoRotate.rotation=h.rotation),1===a||0===a)for(i=g.firstMPT,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d<c.l;d++)e+=c["xn"+d]+c["xs"+(d+1)];c[f]=e}}else c[f]=c.s+c.xs0;i=i._next}},function(a,b,c,d,e){this.t=a,this.p=b,this.v=c,this.r=e,d&&(d._prev=this,this._next=d)}),qa=(P._parseToProxy=function(a,b,c,d,e,f){var g,h,i,j,k,l=d,m={},n={},o=c._transform,p=K;for(c._transform=null,K=b,d=k=c.parse(a,b,d,e),K=p,f&&(c._transform=o,l&&(l._prev=null,l._prev&&(l._prev._next=null)));d&&d!==l;){if(d.type<=1&&(h=d.p,n[h]=d.s+d.c,m[h]=d.s,f||(j=new pa(d,"s",h,j,d.r),d.c=0),1===d.type))for(g=d.l;--g>0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new pa(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},P.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof qa||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),ra=function(a,b,c,d,e,f){var g=new qa(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},sa=g.parseComplex=function(a,b,c,d,e,f,h,i,j,l){c=c||f||"",h=new qa(a,b,0,0,h,l?2:1,null,!1,i,c,d),d+="",e&&ma.test(d+c)&&(d=[c,d],g.colorStringFilter(d),c=d[0],d=d[1]);var m,n,o,p,s,t,u,v,w,x,y,z,A,B=c.split(", ").join(",").split(" "),C=d.split(", ").join(",").split(" "),D=B.length,E=k!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(B=B.join(" ").replace(G,", ").split(" "),C=C.join(" ").replace(G,", ").split(" "),D=B.length),D!==C.length&&(B=(f||"").split(" "),D=B.length),h.plugin=j,h.setRatio=l,ma.lastIndex=0,m=0;D>m;m++)if(p=B[m],s=C[m],v=parseFloat(p),v||0===v)h.appendXtra("",v,fa(s,v),s.replace(r,""),E&&-1!==s.indexOf("px"),!0);else if(e&&ma.test(p))z=s.indexOf(")")+1,z=")"+(z?s.substr(z):""),A=-1!==s.indexOf("hsl")&&R,p=ka(p,A),s=ka(s,A),w=p.length+s.length>6,w&&!R&&0===s[3]?(h["xs"+h.l]+=h.l?" transparent":"transparent",h.e=h.e.split(C[m]).join("transparent")):(R||(w=!1),A?h.appendXtra(w?"hsla(":"hsl(",p[0],fa(s[0],p[0]),",",!1,!0).appendXtra("",p[1],fa(s[1],p[1]),"%,",!1).appendXtra("",p[2],fa(s[2],p[2]),w?"%,":"%"+z,!1):h.appendXtra(w?"rgba(":"rgb(",p[0],s[0]-p[0],",",!0,!0).appendXtra("",p[1],s[1]-p[1],",",!0).appendXtra("",p[2],s[2]-p[2],w?",":z,!0),w&&(p=p.length<4?1:p[3],h.appendXtra("",p,(s.length<4?1:s[3])-p,z,!1))),ma.lastIndex=0;else if(t=p.match(q)){if(u=s.match(r),!u||u.length!==t.length)return h;for(o=0,n=0;n<t.length;n++)y=t[n],x=p.indexOf(y,o),h.appendXtra(p.substr(o,x-o),Number(y),fa(u[n],y),"",E&&"px"===p.substr(x+y.length,2),0===n),o=x+y.length;h["xs"+h.l]+=p.substr(o)}else h["xs"+h.l]+=h.l||h["xs"+h.l]?" "+s:s;if(-1!==d.indexOf("=")&&h.data){for(z=h.xs0+h.data.s,m=1;m<h.l;m++)z+=h["xs"+m]+h.data["xn"+m];h.e=z+h["xs"+m]}return h.l||(h.type=-1,h.xs0=h.e),h.xfirst||h},ta=9;for(j=qa.prototype,j.l=j.pr=0;--ta>0;)j["xn"+ta]=0,j["xs"+ta]="";j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setRatio=j.rxp=null,j.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&(h||g["xs"+h])?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new qa(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var ua=function(a,b){b=b||{},this.p=b.prefix?W(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||na(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},va=P._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;d<f.length;d++)b.prefix=0===d&&b.prefix,b.defaultValue=c[d]||g,e=new ua(f[d],b)},wa=function(a){if(!i[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";va(a,{parser:function(a,c,d,e,f,g,j){var k=h.com.greensock.plugins[b];return k?(k._cssRegister(),i[d].parse(a,c,d,e,f,g,j)):(T("Error: "+b+" js file not loaded."),f)}})}};j=ua.prototype,j.parseComplex=function(a,b,c,d,e,f){var g,h,i,j,k,l,m=this.keyword;if(this.multi&&(G.test(c)||G.test(b)?(h=b.replace(G,"|").split("|"),i=c.replace(G,"|").split("|")):m&&(h=[b],i=[c])),i){for(j=i.length>h.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)));b=h.join(", "),c=i.join(", ")}return sa(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parseComplex(a.style,this.format(Y(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){va(a,{parser:function(a,d,e,f,g,h,i){var j=new qa(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},priority:c})},g.useSVGTransformAttr=m||n;var xa,ya="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),za=W("transform"),Aa=U+"transform",Ba=W("transformOrigin"),Ca=null!==W("perspective"),Da=P.Transform=function(){this.perspective=parseFloat(g.defaultTransformPerspective)||0,this.force3D=g.defaultForce3D!==!1&&Ca?g.defaultForce3D||"auto":!1},Ea=window.SVGElement,Fa=function(a,b,c){var d,e=L.createElementNS("http://www.w3.org/2000/svg",a),f=/([a-z])([A-Z])/g;for(d in c)e.setAttributeNS(null,d.replace(f,"$1-$2").toLowerCase(),c[d]);return b.appendChild(e),e},Ga=L.documentElement,Ha=function(){var a,b,c,d=p||/Android/i.test(Q)&&!window.chrome;return L.createElementNS&&!d&&(a=Fa("svg",Ga),b=Fa("rect",a,{width:100,height:50,x:100}),c=b.getBoundingClientRect().width,b.style[Ba]="50% 50%",b.style[za]="scaleX(0.5)",d=c===b.getBoundingClientRect().width&&!(n&&Ca),Ga.removeChild(a)),d}(),Ia=function(a,b,c,d,e,f){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a._gsTransform,w=Ma(a,!0);v&&(t=v.xOrigin,u=v.yOrigin),(!d||(h=d.split(" ")).length<2)&&(n=a.getBBox(),b=ea(b).split(" "),h=[(-1!==b[0].indexOf("%")?parseFloat(b[0])/100*n.width:parseFloat(b[0]))+n.x,(-1!==b[1].indexOf("%")?parseFloat(b[1])/100*n.height:parseFloat(b[1]))+n.y]),c.xOrigin=k=parseFloat(h[0]),c.yOrigin=l=parseFloat(h[1]),d&&w!==La&&(m=w[0],n=w[1],o=w[2],p=w[3],q=w[4],r=w[5],s=m*p-n*o,i=k*(p/s)+l*(-o/s)+(o*r-p*q)/s,j=k*(-n/s)+l*(m/s)-(m*r-n*q)/s,k=c.xOrigin=h[0]=i,l=c.yOrigin=h[1]=j),v&&(f&&(c.xOffset=v.xOffset,c.yOffset=v.yOffset,v=c),e||e!==!1&&g.defaultSmoothOrigin!==!1?(i=k-t,j=l-u,v.xOffset+=i*w[0]+j*w[2]-i,v.yOffset+=i*w[1]+j*w[3]-j):v.xOffset=v.yOffset=0),f||a.setAttribute("data-svg-origin",h.join(" "))},Ja=function(a){try{return a.getBBox()}catch(a){}},Ka=function(a){return!!(Ea&&a.getBBox&&a.getCTM&&Ja(a)&&(!a.parentNode||a.parentNode.getBBox&&a.parentNode.getCTM))},La=[1,0,0,1,0,0],Ma=function(a,b){var c,d,e,f,g,h,i=a._gsTransform||new Da,j=1e5,k=a.style;if(za?d=Y(a,Aa,null,!0):a.currentStyle&&(d=a.currentStyle.filter.match(E),d=d&&4===d.length?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),i.x||0,i.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,c&&za&&((h="none"===X(a).display)||!a.parentNode)&&(h&&(f=k.display,k.display="block"),a.parentNode||(g=1,Ga.appendChild(a)),d=Y(a,Aa,null,!0),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,f?k.display=f:h&&Ra(k,"display"),g&&Ga.removeChild(a)),(i.svg||a.getBBox&&Ka(a))&&(c&&-1!==(k[za]+"").indexOf("matrix")&&(d=k[za],c=0),e=a.getAttribute("transform"),c&&e&&(-1!==e.indexOf("matrix")?(d=e,c=0):-1!==e.indexOf("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c)return La;for(e=(d||"").match(q)||[],ta=e.length;--ta>-1;)f=Number(e[ta]),e[ta]=(g=f-(f|=0))?(g*j+(0>g?-.5:.5)|0)/j+f:f;return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},Na=P.getTransform=function(a,c,d,e){if(a._gsTransform&&d&&!e)return a._gsTransform;var f,h,i,j,k,l,m=d?a._gsTransform||new Da:new Da,n=m.scaleX<0,o=2e-5,p=1e5,q=Ca?parseFloat(Y(a,Ba,c,!1,"0 0 0").split(" ")[2])||m.zOrigin||0:0,r=parseFloat(g.defaultTransformPerspective)||0;if(m.svg=!(!a.getBBox||!Ka(a)),m.svg&&(Ia(a,Y(a,Ba,c,!1,"50% 50%")+"",m,a.getAttribute("data-svg-origin")),xa=g.useSVGTransformAttr||Ha),f=Ma(a),f!==La){if(16===f.length){var s,t,u,v,w,x=f[0],y=f[1],z=f[2],A=f[3],B=f[4],C=f[5],D=f[6],E=f[7],F=f[8],G=f[9],H=f[10],I=f[12],K=f[13],L=f[14],M=f[11],N=Math.atan2(D,H);m.zOrigin&&(L=-m.zOrigin,I=F*L-f[12],K=G*L-f[13],L=H*L+m.zOrigin-f[14]),m.rotationX=N*J,N&&(v=Math.cos(-N),w=Math.sin(-N),s=B*v+F*w,t=C*v+G*w,u=D*v+H*w,F=B*-w+F*v,G=C*-w+G*v,H=D*-w+H*v,M=E*-w+M*v,B=s,C=t,D=u),N=Math.atan2(-z,H),m.rotationY=N*J,N&&(v=Math.cos(-N),w=Math.sin(-N),s=x*v-F*w,t=y*v-G*w,u=z*v-H*w,G=y*w+G*v,H=z*w+H*v,M=A*w+M*v,x=s,y=t,z=u),N=Math.atan2(y,x),m.rotation=N*J,N&&(v=Math.cos(-N),w=Math.sin(-N),x=x*v+B*w,t=y*v+C*w,C=y*-w+C*v,D=z*-w+D*v,y=t),m.rotationX&&Math.abs(m.rotationX)+Math.abs(m.rotation)>359.9&&(m.rotationX=m.rotation=0,m.rotationY=180-m.rotationY),m.scaleX=(Math.sqrt(x*x+y*y)*p+.5|0)/p,m.scaleY=(Math.sqrt(C*C+G*G)*p+.5|0)/p,m.scaleZ=(Math.sqrt(D*D+H*H)*p+.5|0)/p,m.rotationX||m.rotationY?m.skewX=0:(m.skewX=B||C?Math.atan2(B,C)*J+m.rotation:m.skewX||0,Math.abs(m.skewX)>90&&Math.abs(m.skewX)<270&&(n?(m.scaleX*=-1,m.skewX+=m.rotation<=0?180:-180,m.rotation+=m.rotation<=0?180:-180):(m.scaleY*=-1,m.skewX+=m.skewX<=0?180:-180))),m.perspective=M?1/(0>M?-M:M):0,m.x=I,m.y=K,m.z=L,m.svg&&(m.x-=m.xOrigin-(m.xOrigin*x-m.yOrigin*B),m.y-=m.yOrigin-(m.yOrigin*y-m.xOrigin*C))}else if(!Ca||e||!f.length||m.x!==f[4]||m.y!==f[5]||!m.rotationX&&!m.rotationY){var O=f.length>=6,P=O?f[0]:1,Q=f[1]||0,R=f[2]||0,S=O?f[3]:1;m.x=f[4]||0,m.y=f[5]||0,i=Math.sqrt(P*P+Q*Q),j=Math.sqrt(S*S+R*R),k=P||Q?Math.atan2(Q,P)*J:m.rotation||0,l=R||S?Math.atan2(R,S)*J+k:m.skewX||0,Math.abs(l)>90&&Math.abs(l)<270&&(n?(i*=-1,l+=0>=k?180:-180,k+=0>=k?180:-180):(j*=-1,l+=0>=l?180:-180)),m.scaleX=i,m.scaleY=j,m.rotation=k,m.skewX=l,Ca&&(m.rotationX=m.rotationY=m.z=0,m.perspective=r,m.scaleZ=1),m.svg&&(m.x-=m.xOrigin-(m.xOrigin*P+m.yOrigin*R),m.y-=m.yOrigin-(m.xOrigin*Q+m.yOrigin*S))}m.zOrigin=q;for(h in m)m[h]<o&&m[h]>-o&&(m[h]=0)}return d&&(a._gsTransform=m,m.svg&&(xa&&a.style[za]?b.delayedCall(.001,function(){Ra(a.style,za)}):!xa&&a.getAttribute("transform")&&b.delayedCall(.001,function(){a.removeAttribute("transform")}))),m},Oa=function(a){var b,c,d=this.data,e=-d.rotation*I,f=e+d.skewX*I,g=1e5,h=(Math.cos(e)*d.scaleX*g|0)/g,i=(Math.sin(e)*d.scaleX*g|0)/g,j=(Math.sin(f)*-d.scaleY*g|0)/g,k=(Math.cos(f)*d.scaleY*g|0)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,t="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,w=d.x+q*d.xPercent/100,x=d.y+r*d.yPercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*.01:d.ox)-q/2,o=(d.oyp?r*d.oy*.01:d.oy)-r/2,w+=n-(n*h+o*i),x+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", Dx="+(n-(n*h+o*i)+w)+", Dy="+(o-(n*j+o*k)+x)+")"):t+=", sizingMethod='auto expand')",-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?l.filter=b.replace(F,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexOf("Dx=0, Dy=0")||v.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf(b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>p?1:-1;for(n=d.ieOffsetX||0,o=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+w),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+x),ta=0;4>ta;ta++)z=ca[ta],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):Z(this.t,z,parseFloat(y),y.replace(u,""))||0,A=c!==d[z]?2>ta?-d.ieOffsetX:-d.ieOffsetY:2>ta?n-d.ieOffsetX:o-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===ta||2===ta?1:B)))+"px"}}},Pa=P.set3DTransformRatio=P.setTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation,C=z.rotationX,D=z.rotationY,E=z.scaleX,F=z.scaleY,G=z.scaleZ,H=z.x,J=z.y,K=z.z,L=z.svg,M=z.perspective,N=z.force3D;if(((1===a||0===a)&&"auto"===N&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!N)&&!K&&!M&&!D&&!C&&1===G||xa&&L||!Ca)return void(B||z.skewX||L?(B*=I,x=z.skewX*I,y=1e5,b=Math.cos(B)*E,e=Math.sin(B)*E,c=Math.sin(B-x)*-F,f=Math.cos(B-x)*F,x&&"simple"===z.skewType&&(s=Math.tan(x),s=Math.sqrt(1+s*s),c*=s,f*=s,z.skewY&&(b*=s,e*=s)),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,J+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset,xa&&(z.xPercent||z.yPercent)&&(p=this.t.getBBox(),H+=.01*z.xPercent*p.width,J+=.01*z.yPercent*p.height),p=1e-6,p>H&&H>-p&&(H=0),p>J&&J>-p&&(J=0)),u=(b*y|0)/y+","+(e*y|0)/y+","+(c*y|0)/y+","+(f*y|0)/y+","+H+","+J+")",L&&xa?this.t.setAttribute("transform","matrix("+u):A[za]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+u):A[za]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+F+","+H+","+J+")");if(n&&(p=1e-4,p>E&&E>-p&&(E=G=2e-5),p>F&&F>-p&&(F=G=2e-5),!M||z.z||z.rotationX||z.rotationY||(M=0)),B||z.skewX)B*=I,q=b=Math.cos(B),r=e=Math.sin(B),z.skewX&&(B-=z.skewX*I,q=Math.cos(B),r=Math.sin(B),"simple"===z.skewType&&(s=Math.tan(z.skewX*I),s=Math.sqrt(1+s*s),q*=s,r*=s,z.skewY&&(b*=s,e*=s))),c=-r,f=q;else{if(!(D||C||1!==G||M||L))return void(A[za]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) translate3d(":"translate3d(")+H+"px,"+J+"px,"+K+"px)"+(1!==E||1!==F?" scale("+E+","+F+")":""));b=f=1,c=e=0}j=1,d=g=h=i=k=l=0,m=M?-1/M:0,o=z.zOrigin,p=1e-6,v=",",w="0",B=D*I,B&&(q=Math.cos(B),r=Math.sin(B),h=-r,k=m*-r,d=b*r,g=e*r,j=q,m*=q,b*=q,e*=q),B=C*I,B&&(q=Math.cos(B),r=Math.sin(B),s=c*q+d*r,t=f*q+g*r,i=j*r,l=m*r,d=c*-r+d*q,g=f*-r+g*q,j*=q,m*=q,c=s,f=t),1!==G&&(d*=G,g*=G,j*=G,m*=G),1!==F&&(c*=F,f*=F,i*=F,l*=F),1!==E&&(b*=E,e*=E,h*=E,k*=E),(o||L)&&(o&&(H+=d*-o,J+=g*-o,K+=j*-o+o),L&&(H+=z.xOrigin-(z.xOrigin*b+z.yOrigin*c)+z.xOffset,J+=z.yOrigin-(z.xOrigin*e+z.yOrigin*f)+z.yOffset),p>H&&H>-p&&(H=w),p>J&&J>-p&&(J=w),p>K&&K>-p&&(K=0)),u=z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix3d(":"matrix3d(",u+=(p>b&&b>-p?w:b)+v+(p>e&&e>-p?w:e)+v+(p>h&&h>-p?w:h),u+=v+(p>k&&k>-p?w:k)+v+(p>c&&c>-p?w:c)+v+(p>f&&f>-p?w:f),C||D||1!==G?(u+=v+(p>i&&i>-p?w:i)+v+(p>l&&l>-p?w:l)+v+(p>d&&d>-p?w:d),u+=v+(p>g&&g>-p?w:g)+v+(p>j&&j>-p?w:j)+v+(p>m&&m>-p?w:m)+v):u+=",0,0,0,0,1,0,",u+=H+v+J+v+K+v+(M?1+-K/M:1)+")",A[za]=u};j=Da.prototype,j.x=j.y=j.z=j.skewX=j.skewY=j.rotation=j.rotationX=j.rotationY=j.zOrigin=j.xPercent=j.yPercent=j.xOffset=j.yOffset=0,j.scaleX=j.scaleY=j.scaleZ=1,va("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(a,b,c,d,f,h,i){if(d._lastParsedTransform===i)return f;d._lastParsedTransform=i;var j,k,l,m,n,o,p,q,r,s=a._gsTransform,t=a.style,u=1e-6,v=ya.length,w=i,x={},y="transformOrigin",z=Na(a,e,!0,i.parseTransform);if(d._transform=z,"string"==typeof w.transform&&za)k=N.style,k[za]=w.transform,k.display="block",k.position="absolute",L.body.appendChild(N),j=Na(N,null,!1),z.svg&&(p=z.xOrigin,q=z.yOrigin,j.x-=z.xOffset,j.y-=z.yOffset,(w.transformOrigin||w.svgOrigin)&&(l={},Ia(a,ea(w.transformOrigin),l,w.svgOrigin,w.smoothOrigin,!0),p=l.xOrigin,q=l.yOrigin,j.x-=l.xOffset-z.xOffset,j.y-=l.yOffset-z.yOffset),(p||q)&&(r=Ma(N,!0),j.x-=p-(p*r[0]+q*r[2]),j.y-=q-(p*r[1]+q*r[3]))),L.body.removeChild(N),j.perspective||(j.perspective=z.perspective),null!=w.xPercent&&(j.xPercent=ga(w.xPercent,z.xPercent)),null!=w.yPercent&&(j.yPercent=ga(w.yPercent,z.yPercent));else if("object"==typeof w){if(j={scaleX:ga(null!=w.scaleX?w.scaleX:w.scale,z.scaleX),scaleY:ga(null!=w.scaleY?w.scaleY:w.scale,z.scaleY),scaleZ:ga(w.scaleZ,z.scaleZ),x:ga(w.x,z.x),y:ga(w.y,z.y),z:ga(w.z,z.z),xPercent:ga(w.xPercent,z.xPercent),yPercent:ga(w.yPercent,z.yPercent),perspective:ga(w.transformPerspective,z.perspective)},o=w.directionalRotation,null!=o)if("object"==typeof o)for(k in o)w[k]=o[k];else w.rotation=o;"string"==typeof w.x&&-1!==w.x.indexOf("%")&&(j.x=0,j.xPercent=ga(w.x,z.xPercent)),"string"==typeof w.y&&-1!==w.y.indexOf("%")&&(j.y=0,j.yPercent=ga(w.y,z.yPercent)),j.rotation=ha("rotation"in w?w.rotation:"shortRotation"in w?w.shortRotation+"_short":"rotationZ"in w?w.rotationZ:z.rotation-z.skewY,z.rotation-z.skewY,"rotation",x),Ca&&(j.rotationX=ha("rotationX"in w?w.rotationX:"shortRotationX"in w?w.shortRotationX+"_short":z.rotationX||0,z.rotationX,"rotationX",x),j.rotationY=ha("rotationY"in w?w.rotationY:"shortRotationY"in w?w.shortRotationY+"_short":z.rotationY||0,z.rotationY,"rotationY",x)),j.skewX=ha(w.skewX,z.skewX-z.skewY),(j.skewY=ha(w.skewY,z.skewY))&&(j.skewX+=j.skewY,j.rotation+=j.skewY)}for(Ca&&null!=w.force3D&&(z.force3D=w.force3D,n=!0),z.skewType=w.skewType||z.skewType||g.defaultSkewType,m=z.force3D||z.z||z.rotationX||z.rotationY||j.z||j.rotationX||j.rotationY||j.perspective,m||null==w.scale||(j.scaleZ=1);--v>-1;)c=ya[v],l=j[c]-z[c],(l>u||-u>l||null!=w[c]||null!=K[c])&&(n=!0,f=new qa(z,c,z[c],l,f),c in x&&(f.e=x[c]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return l=w.transformOrigin,z.svg&&(l||w.svgOrigin)&&(p=z.xOffset,q=z.yOffset,Ia(a,ea(l),j,w.svgOrigin,w.smoothOrigin),f=ra(z,"xOrigin",(s?z:j).xOrigin,j.xOrigin,f,y),f=ra(z,"yOrigin",(s?z:j).yOrigin,j.yOrigin,f,y),(p!==z.xOffset||q!==z.yOffset)&&(f=ra(z,"xOffset",s?p:z.xOffset,z.xOffset,f,y),f=ra(z,"yOffset",s?q:z.yOffset,z.yOffset,f,y)),l=xa?null:"0px 0px"),(l||Ca&&m&&z.zOrigin)&&(za?(n=!0,c=Ba,l=(l||Y(a,c,e,!1,"50% 50%"))+"",f=new qa(t,c,0,0,f,-1,y),f.b=t[c],f.plugin=h,Ca?(k=z.zOrigin,l=l.split(" "),z.zOrigin=(l.length>2&&(0===k||"0px"!==l[2])?parseFloat(l[2]):k)||0,f.xs0=f.e=l[0]+" "+(l[1]||"50%")+" 0px",f=new qa(z,"zOrigin",0,0,f,-1,f.n),f.b=k,f.xs0=f.e=z.zOrigin):f.xs0=f.e=l):ea(l+"",z)),n&&(d._transformType=z.svg&&xa||!m&&3!==this._transformType?2:3),f},prefix:!0}),va("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),va("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],z=a.style;for(q=parseFloat(a.offsetWidth),r=parseFloat(a.offsetHeight),i=b.split(" "),j=0;j<y.length;j++)this.p.indexOf("border")&&(y[j]=W(y[j])),m=l=Y(a,y[j],e,!1,"0px"),-1!==m.indexOf(" ")&&(l=m.split(" "),m=l[0],l=l[1]),n=k=i[j],o=parseFloat(m),t=m.substr((o+"").length),u="="===n.charAt(1),u?(p=parseInt(n.charAt(0)+"1",10),n=n.substr(2),p*=parseFloat(n),s=n.substr((p+"").length-(0>p?1:0))||""):(p=parseFloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=Z(a,"borderLeft",o,t),w=Z(a,"borderTop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=Z(a,"borderLeft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parseFloat(m)+p+s,k=parseFloat(l)+p+s)),g=sa(z,y[j],m+" "+l,n+" "+k,!1,"0px",g);return g},prefix:!0,formatter:na("0px 0px 0px 0px",!1,!0)}),va("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(a,b,c,d,f,g){return sa(a.style,c,this.format(Y(a,c,e,!1,"0px 0px")),this.format(b),!1,"0px",f)},prefix:!0,formatter:na("0px 0px",!1,!0)}),va("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||X(a,null),q=this.format((o?p?o.getPropertyValue(n+"-x")+" "+o.getPropertyValue(n+"-y"):o.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&r.split(",").length<2&&(m=Y(a,"backgroundImage").replace(B,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),O.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-O.width:a.offsetHeight-O.height,h[j]=k?parseFloat(q)/100*l+"px":parseFloat(q)/l*100+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ea}),va("backgroundSize",{defaultValue:"0 0",formatter:ea}),va("perspective",{defaultValue:"0px",prefix:!0}),va("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),va("transformStyle",{prefix:!0}),va("backfaceVisibility",{prefix:!0}),va("userSelect",{prefix:!0}),va("margin",{parser:oa("marginTop,marginRight,marginBottom,marginLeft")}),va("padding",{parser:oa("paddingTop,paddingRight,paddingBottom,paddingLeft")}),va("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentStyle,j=8>p?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")",b=this.format(b).split(",").join(j)):(h=this.format(Y(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),va("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),va("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),va("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){var h=Y(a,"borderTopWidth",e,!1,"0px"),i=this.format(b).split(" "),j=i[0].replace(u,"");return"px"!==j&&(h=parseFloat(h)/Z(a,"borderTopWidth",1,j)+j),this.parseComplex(a.style,this.format(h+" "+Y(a,"borderTopStyle",e,!1,"solid")+" "+Y(a,"borderTopColor",e,!1,"#000")),i.join(" "),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(ma)||["#000"])[0]}}),va("borderWidth",{parser:oa("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),va("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssFloat"in g?"cssFloat":"styleFloat";return new qa(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var Qa=function(a){var b,c=this.t,d=c.filter||Y(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!Y(this.data,"filter")):(c.filter=d.replace(x,""),
2794b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(v,"opacity="+e))};va("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat(Y(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===Y(a,"visibility",e)&&0!==b&&(h=0),R?f=new qa(i,"opacity",h,b-h,f):(f=new qa(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Qa),j&&(f=new qa(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._over
vendor: 7,447 bytes, lines 2794-2798
2794writeProps.push(c)),f}});var Ra=function(a,b){b&&(a.removeProperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeProperty(b.replace(z,"-$1").toLowerCase())):a.removeAttribute(b))},Sa=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Ra(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};va("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new qa(a,d,0,0,g,2),g.setRatio=Sa,g.pr=-11,c=!0,g.b=o,k=_(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(new RegExp("(?:\\s|^)"+b.substr(2)+"(?![\\w-])"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),a.setAttribute("class",g.e),j=aa(a,k,_(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var Ta=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e)g.cssText="",e=!0;else for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;)c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformOrigin"===c?Ba:i[c].p),Ra(g,c);e&&(Ra(g,za),f=this.t._gsTransform,f&&(f.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(va("clearProps",{parser:function(a,b,d,e,f){return f=new qa(a,d,0,0,f,2),f.setRatio=Ta,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwProps,physicsProps,physics2D".split(","),ta=j.length;ta--;)wa(j[ta]);j=g.prototype,j._firstPT=j._lastParsedTransform=j._transform=null,j._onInitTween=function(a,b,h){if(!a.nodeType)return!1;this._target=a,this._tween=h,this._vars=b,k=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=X(a,""),f=this._overwriteProps;var j,n,p,q,r,s,t,u,v,x=a.style;if(l&&""===x.zIndex&&(j=Y(a,"zIndex",e),("auto"===j||""===j)&&this._addLazySet(x,"zIndex",0)),"string"==typeof b&&(q=x.cssText,j=_(a,e),x.cssText=q+";"+b,j=aa(a,j,_(a)).difs,!R&&w.test(b)&&(j.opacity=parseFloat(RegExp.$1)),b=j,x.cssText=q),b.className?this._firstPT=n=i.className.parse(a,b.className,"className",this,null,null,b):this._firstPT=n=this.parse(a,b,null),this._transformType){for(v=3===this._transformType,za?m&&(l=!0,""===x.zIndex&&(t=Y(a,"zIndex",e),("auto"===t||""===t)&&this._addLazySet(x,"zIndex",0)),o&&this._addLazySet(x,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(v?"visible":"hidden"))):x.zoom=1,p=n;p&&p._next;)p=p._next;u=new qa(a,"transform",0,0,null,2),this._linkCSSP(u,null,p),u.setRatio=za?Pa:Oa,u.data=this._transform||Na(a,e,!0),u.tween=h,u.pr=-1,f.pop()}if(c){for(;n;){for(s=n._next,p=q;p&&p.pr>n.pr;)p=p._next;(n._prev=p?p._prev:r)?n._prev._next=n:q=n,(n._next=p)?p._prev=n:r=n,n=s}this._firstPT=q}return!0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,q,r,s=a.style;for(g in b)n=b[g],h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=Y(a,g,e)+"",q="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||q&&y.test(n)?(q||(n=ka(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=sa(s,g,m,n,!0,"transparent",c,0,f)):q&&H.test(n)?c=sa(s,g,m,n,!0,null,c,0,f):(j=parseFloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=da(a,g,e),o="px"):"left"===g||"top"===g?(j=$(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),r=q&&"="===n.charAt(1),r?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(u,"")):(l=parseFloat(n),p=q?n.replace(u,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(r?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=Z(a,g,j,o),"%"===p?(j/=Z(a,g,100,"%")/100,b.strictUnits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=Z(a,g,1,p):"px"!==p&&(l=Z(a,g,l,p),p="px"),r&&(l||0===l)&&(n=l+j+p)),r&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==s[g]&&(n||n+""!="NaN"&&null!=n)?(c=new qa(s,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):T("invalid "+g+" tween value: "+b[g]):(c=new qa(s,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p))),f&&c&&!c.plugin&&(c.plugin=f);return c},j.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next;else for(;e;){if(2!==e.type)if(e.r&&-1!==e.type)if(b=Math.round(e.s+e.c),e.type){if(1===e.type){for(d=e.l,c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}}else e.t[e.p]=b+e.xs0;else e.t[e.p]=e.e;else e.setRatio(a);e=e._next}},j._enableTransforms=function(a){this._transform=this._transform||Na(this._target,e,!0),this._transformType=this._transform.svg&&xa||!a&&3!==this._transformType?2:3};var Ua=function(a){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};j._addLazySet=function(a,b,c){var d=this._firstPT=new qa(a,b,0,0,this._firstPT,2);d.e=c,d.setRatio=Ua,d.data=this},j._linkCSSP=function(a,b,c,d){return a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next,d=!0),c?c._next=a:d||null!==this._firstPT||(this._firstPT=a),a._next=b,a._prev=c),a},j._kill=function(b){var c,d,e,f=b;if(b.autoAlpha||b.alpha){f={};for(d in b)f[d]=b[d];f.opacity=1,f.autoAlpha&&(f.visibility=1)}return b.className&&(c=this._classNamePT)&&(e=c.xfirst,e&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=c._next),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._classNamePT=null),a.prototype._kill.call(this,f)};var Va=function(a,b,c){var d,e,f,g;if(a.slice)for(e=a.length;--e>-1;)Va(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(_(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Va(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedProps;for(a=i._targets||i.target,Va(a,k,m),i.render(c,!0,!0),Va(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;)if(f=aa(m[e],k[e],l[e]),f.firstMPT){f=f.difs;for(g in d)n[g]&&(f[g]=d[g]);h={};for(g in f)h[g]=k[e][g];j.push(b.fromTo(m[e],c,h,f))}return j},a.activate([g]),g},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"function"==typeof define&&define.amd?define(["../TweenLite"],b):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=b())}("CSSPlugin");
2795;document.addEventListener('DOMContentLoaded', () => {
2796
2797	// video width scroll
2798	$(window).scroll(() => {
2799		const $video = $('.section-video .video-wrap');
2800		
2801		if ( $(window).scrollTop() >= 100 ) {
2802			$video.addClass('w100');
2803		} else {
2804			$video.removeClass('w100');
2805		}
2806	});
2807
2808
2809if ($("body").hasClass("home")) {
2810
2811	if ($("body").hasClass("firstVisit")) {
2812    setTimeout(() => {
2813		  AOS.init({
2814			once: true,
2815			duration: 1000
2816		  });
2817	}, 2500);
2818} else {
2819
2820    setTimeout(() => {
2821		  AOS.init({
2822			once: true,
2823			duration: 1000
2824		  });
2825	}, 500);
2826}
2827
2828}
2829else {
2830   setTimeout(() => {
2831		  AOS.init({
2832			once: true,
2833			duration: 1000
2834		  });
2835	}, 500);
2836}
2837
2838	// mouse
2839	const body = document.getElementById('body_content');
2840	const mouseEl = document.createElement('div');
2841	mouseEl.classList.add('mouse');
2842
2843	body.appendChild(mouseEl);
2844
2845	$('button, a, input[type="submit"], .mouse-scale').hover(function(){
2846		$(mouseEl).addClass('scale');
2847	}, function(){
2848		$(mouseEl).removeClass('scale');
2849	});
2850
2851	$(window).mouseenter(function(){
2852		$(mouseEl).removeClass('hide');
2853	});
2854
2855	$(window).mouseout(function(){
2856		$(mouseEl).addClass('hide');
2857	});
2858
2859	window.addEventListener('mousemove', function(event){
2860		const x = event.clientX;
2861		const y = event.clientY;
2862		mouseEl.setAttribute('style', 'transform: translate3d('+x+'px, '+y+'px, 0px)');
2863	});
2864
2865	$('.js-video-team').hover(function(){
2866		$(mouseEl).addClass('video');
2867	}, function(){
2868		$(mouseEl).removeClass('video');
2869	});
2870
2871	// copy email
2872	$('.js-copy-text').hover(function(){
2873		$(mouseEl).addClass('copy');
2874	}, function(){
2875		$(mouseEl).removeClass('copy');
2876	});
2877
2878	$('.js-copy-text').click(function(e){
2879		e.preventDefault();
2880		$('.mouse').addClass('copied');
2881
2882		setTimeout(function(){
2883			$('.mouse').removeClass('copied');
2884		}, 3000);
2885	});
2886
2887
2888
2889	// header fixed
2890	$(window).scroll(() => {
2891		if ( $(window).scrollTop() >= 100 ) {
2892			$('header.header-main').addClass('fixed')
2893		} else {
2894			$('header.header-main').removeClass('fixed');
2895		}
2896	});
2897
2898	// menu toggle btn
2899	$('.js-toggle-menu').click(() => {
2900		$('.js-toggle-menu, .menu-popup').toggleClass('active');
2901
2902		$('.js-menu-anim').toggleClass('active');
2903	});
2904
2905	// menu hide on scroll
2906	$(window).scroll(() => {
2907		$('.js-toggle-menu, .menu-popup').removeClass('active');
2908		$('.js-menu-anim').removeClass('active');
2909	});
2910
2911
2912	// scroll to block
2913	$('[data-scroll-from]').click(function(e){
2914		e.preventDefault();
2915		const scroll = $(this).attr('data-scroll-from');
2916
2917		$('html, body').animate({
2918			scrollTop: $('[data-scroll-to='+scroll+']').offset().top - $('.header-main').outerHeight()
2919		}, 1000);
2920	});
2921
2922
2923
2924
2925
2926
2927
2928
2929	// play video on scroll
2930	// header fixed
2931	// const $videoScroll = $('.js-video-scroll');
2932	// if ( $videoScroll ) {
2933	// 	$(window).scroll(() => {
2934	// 		if ( $(window).scrollTop() >= 200 ) {
2935	// 			$videoScroll.trigger('play');
2936	// 		}
2937	// 	});
2938	// }
2939
2940
2941
2942	// preloader
2943	$('body').addClass('oh');
2944
2945
2946	$('.preloader img').addClass('animation-1');
2947
2948	setTimeout(() => $('.preloader img').addClass('animation-2'), 1500);
2949	setTimeout(() => $('.preloader').addClass('animation'), 2500);
2950
2951
2952
2953	
2954	setTimeout(() => $('body').removeClass('oh'), 2500);
2955
2956	// title animation onload
2957	setTimeout(() => {
2958		$('.js-title-animation').each(function() {
2959			$(this).find('span').each(function(i){
2960				setTimeout(() => {
2961					$(this).addClass('active');
2962				}, i * 50);
2963			});
2964		});
2965	}, 2500);
2966
2967
2968	// service hover
2969	$('.js-service-hover').hover(function(){
2970		const img = $(this).data('img');
2971		$('.js-serive-img img').attr('src', img);
2972
2973		$('.js-serive-img').addClass('show');
2974
2975		$('.js-service-hover').addClass('fade');
2976		$(this).removeClass('fade');
2977	}, function(){
2978		$('.js-serive-img').removeClass('show');
2979
2980		$('.js-service-hover').removeClass('fade');
2981	});
2982
2983	$('.section-services').mousemove(function(e) {
2984		const x = e.pageX - $(this).offset().left;
2985		const y = e.pageY - $(this).offset().top;
2986
2987		$('.js-serive-img').css({
2988			left: x + 'px',
2989			top: y + 'px'
2990		});
2991	});
2992
2993
2994
2995
2996	// quote hover
2997	$('.js-quote-hover').hover(function(){
2998		$('.js-quote-img').addClass('show');
2999	}, function(){
3000		$('.js-quote-img').removeClass('show');
3001	});
3002
3003	$('.section-quote').mousemove(function(e) {
3004		const x = e.pageX - $(this).offset().left;
3005		const y = e.pageY - $(this).offset().top;
3006
3007		$('.js-quote-img').css({
3008			left: x + 'px',
3009			top: y + 'px'
3010		});
3011	});
3012
3013
3014	
3015
3016	$('.js-parallax').parallax();
3017
3018
3019	
3020
3021
3022	// run line
3023	$('.js-marquee-line').marquee({
3024		duration: 30000,
3025		direction: 'left',
3026		delayBeforeStart: 0,
3027		duplicated: true,
3028		startVisible: true,
3029	});
3030
3031	$('.parallax-window').parallax({
3032		mirrorContainer: $('.section-projects')
3033	});
3034
3035	// run line
3036	function currencySlide(){
3037		const currencyPairWidth = $('.js-run-line .item:first-child').outerWidth();
3038		const animationDuration = +$('.js-run-line').data('duration');
3039
3040		$('.js-run-line').css({left: 0});
3041
3042		$('.js-run-line').animate({left:-currencyPairWidth}, animationDuration, 'linear', function(){
3043			$(this).css({left:0}).find('.item:last').after($(this).find('.item:first'));
3044			currencySlide()
3045		});
3046	}
3047	currencySlide();
3048
3049	// video team
3050	$('.js-video-team').hover(function(){
3051		$(this).trigger('play');
3052	}, function(){
3053		$(this).trigger('pause');
3054	});
3055
3056	$(window).on('load resize', () => {
3057		if( window.innerWidth < 475 ){
3058			$('.js-video-team').each(function() {
3059				$(this).trigger('play');
3060				console.log($(this));
3061			});
3062		} else {
3063			$('.js-video-team').each(function() {
3064				$(this).trigger('pause');
3065			});
3066		}
3067	});
3068
3069	// Copy from data btn
3070	$('[copy-from-btn]').click(function(){
3071		var value = $(this).attr('copy-from-btn');
3072
3073		var textarea = $('<textarea/>');
3074		textarea.css({
3075			'position': 'fixed',
3076			'top': '-999px',
3077			'left': '-999px'
3078		});
3079
3080		textarea.val(value);
3081
3082		$('body').append(textarea);
3083
3084		textarea.select();
3085		document.execCommand('copy');
3086
3087		textarea.remove();
3088	});
3089
3090	// typed text
3091	if ( $('.js-typed').length ) {
3092		const typed = new Typed('.js-typed', {
3093			strings: ['people', 'designers'],
3094			typeSpeed: 90,
3095			backDelay: 2000,
3096			startDelay: 50,
3097			loop: true,
3098			contentType: 'html',
3099			showCursor: false,
3100			preStringTyped: function(e) {
3101				$('.js-typed').removeClass('bg-green bg-pink');
3102				if (e == 0) {
3103					$('.js-typed').addClass('bg-green');
3104				} else {
3105					$('.js-typed').addClass('bg-pink');
3106				}
3107			}
3108		});
3109	}
3110
3111
3112	// archive
3113	function initMap(){
3114		// move map
3115		const drag = Draggable.create('.map-wrapper', {
3116			bounds: '#map-container',
3117			edgeResistance: 1,
3118			type: "x,y"
3119		})[0]
3120
3121		drag.addEventListener('dragend', function(e){
3122			console.log('qweqwe', drag);
3123		})
3124
3125		// center map
3126		window.setCenterMap = function(){
3127			const windowInnerWidth = window.innerWidth / 2;
3128			const windowInnerHeight = window.innerHeight / 2;
3129
3130			const halfCordX = $('.section-archive .map-wrapper').width() / 2
3131			const halfCordY = $('.section-archive .map-wrapper').height() / 2
3132			const cordX = Math.round(halfCordX - windowInnerWidth)
3133			const cordY = Math.round(halfCordY - windowInnerHeight)
3134			const cordXm = '+' + cordX
3135			const cordYm = '-' + cordY
3136
3137			TweenLite.set('.map-wrapper', {x:cordXm, y:cordYm})
3138		}
3139
3140		setCenterMap()
3141
3142		$(window).resize(setCenterMap);
3143	}
3144
3145if (document.querySelector('.map-wrapper')) {
3146		initMap();
3147	}
3148
3149
3150	$('#map-container').mouseenter(function(){
3151		$(mouseEl).addClass('hide2');
3152	});
3153
3154	$('#map-container').mouseout(function(){
3155		$(mouseEl).removeClass('hide2');
3156	});
3157
3158
3159	// 100 vh
3160	$(window).on('load resize', () => {
3161		let vh = window.innerHeight * 0.01;
3162		document.documentElement.style.setProperty('--vh', `${vh}px`);
3163	});
3164
3165});
3166
3167/**
3168 * MarqueeCarousel v1.1
3169 * Infinite auto-scrolling gallery with drag, inertia, Swiper-like options.
3170 *
3171 * v1.1 fixes:
3172 * - Container styles (overflow/min-width/max-width) are forced from JS,
3173 *   so a flex/grid parent can't blow the layout up to track width.
3174 * - Container width is clamped to viewport width when measuring clones.
3175 * - loading="lazy" is stripped from all slide images (WP adds it by default),
3176 *   otherwise cloned slides outside the viewport never load and scroll empty.
3177 * - Re-measures automatically when slide images finish loading.
3178 * - Guard against zero setWidth (images not loaded yet).
3179 * - Navigation listeners are bound once (no duplicates after update()).
3180 *
3181 * Options:
3182 *   speed         px/sec autoplay speed (default 60). 0 = no autoplay.
3183 *   spaceBetween  gap between slides in px (default 24)
3184 *   direction     'left' | 'right' (default 'left')
3185 *   draggable     enable pointer drag (default true)
3186 *   dragSpeed     drag distance multiplier (default 1)
3187 *   friction      inertia decay per frame, 0..1 (default 0.94)
3188 *   pauseOnHover  pause autoplay while hovered (default false)
3189 *   snapDuration  ms for prev/next/pagination tween (default 600)
3190 *   pagination    { el: HTMLElement|selector, clickable: bool }
3191 *   navigation    { prevEl, nextEl: HTMLElement|selector }
3192 *   on            { slideChange(index) } callbacks
3193 *
3194 * API: next(), prev(), slideTo(i), pause(), play(), update(), destroy()
3195 */
3196class MarqueeCarousel {
3197  constructor(container, options = {}) {
3198    this.el = typeof container === 'string'
3199      ? document.querySelector(container)
3200      : container;
3201    if (!this.el) throw new Error('MarqueeCarousel: container not found');
3202
3203    this.opts = Object.assign({
3204      speed: 60,
3205      spaceBetween: 24,
3206      direction: 'left',
3207      draggable: true,
3208      dragSpeed: 1,
3209      friction: 0.94,
3210      pauseOnHover: false,
3211      snapDuration: 600,
3212      pagination: null,
3213      navigation: null,
3214      on: {}
3215    }, options);
3216
3217    this.track = this.el.querySelector('.mc-track');
3218    this.slides = Array.from(this.track.children);
3219    this.count = this.slides.length;
3220
3221    this.x = 0;
3222    this.vx = 0;
3223    this.paused = false;
3224    this.hovered = false;
3225    this.dragging = false;
3226    this.tween = null;
3227    this.activeIndex = 0;
3228    this.setWidth = 0;
3229    this._navBound = false;
3230
3231    this._raf = this._raf.bind(this);
3232    this._onDown = this._onDown.bind(this);
3233    this._onMove = this._onMove.bind(this);
3234    this._onUp = this._onUp.bind(this);
3235    this._onResize = this._onResize.bind(this);
3236
3237    this._forceContainerStyles();
3238    this._watchImages();
3239    this._setup();
3240    this._bind();
3241    this._lastT = performance.now();
3242    this._rafId = requestAnimationFrame(this._raf);
3243  }
3244
3245  /* ---------- setup ---------- */
3246
3247_forceContainerStyles() {
3248  // Defensive: without overflow:hidden the track inflates the page width.
3249  // In RTL documents left-side overflow is scrollable, which is exactly
3250  // how the page grew to 13000px.
3251  Object.assign(this.el.style, {
3252    overflow: 'hidden',
3253    minWidth: '0',
3254    maxWidth: '100%',
3255    position: this.el.style.position || 'relative'
3256  });
3257  Object.assign(this.track.style, {
3258    display: 'flex',
3259    alignItems: 'center',
3260    willChange: 'transform',
3261    userSelect: 'none',
3262    touchAction: 'pan-y',
3263    // The wrap math assumes LTR flex layout. The marquee is a visual
3264    // strip, not text flow, so LTR here is safe on an RTL site.
3265    direction: 'ltr'
3266  });
3267}
3268
3269_watchImages() {
3270    // WP adds loading="lazy" automatically. Clones outside the viewport
3271    // then never load and the marquee scrolls empty slides.
3272    // draggable=false blocks native image drag instead of pointer-events:none,
3273    // so hover-based custom cursor (.mouse-scale) keeps working.
3274    this._rebuildDebounced = () => {
3275      clearTimeout(this._imgT);
3276      this._imgT = setTimeout(() => this.update(), 100);
3277    };
3278    this.slides.forEach(slide => {
3279      slide.querySelectorAll('img').forEach(img => {
3280        img.loading = 'eager';
3281        img.removeAttribute('loading');
3282        img.draggable = false;
3283        if (!img.complete) {
3284          img.addEventListener('load', this._rebuildDebounced, { once: true });
3285          img.addEventListener('error', this._rebuildDebounced, { once: true });
3286        }
3287      });
3288    });
3289  }
3290
3291_setup() {
3292    const gap = this.opts.spaceBetween;
3293    this.track.style.gap = gap + 'px';
3294
3295    this._removeClones();
3296
3297    // Measure one full set of original slides
3298    const widths = this.slides.map(s => s.getBoundingClientRect().width);
3299    this.offsets = [];
3300    let acc = 0;
3301    widths.forEach(w => { this.offsets.push(acc); acc += w + gap; });
3302    this.setWidth = acc;
3303
3304    // Images not loaded yet -> wait, _watchImages will call update()
3305    if (this.setWidth < this.count) return;
3306
3307    // Clamp container width to viewport: if the container has already
3308    // been inflated by broken parent CSS, clientWidth is garbage and
3309    // clone count explodes.
3310    const cw = Math.min(this.el.clientWidth || window.innerWidth, window.innerWidth);
3311    const need = cw + this.setWidth;
3312    const copies = Math.min(Math.max(2, Math.ceil(need / this.setWidth) + 1), 30);
3313
3314    for (let c = 0; c < copies; c++) {
3315      this.slides.forEach(s => {
3316        const clone = s.cloneNode(true);
3317        clone.setAttribute('data-mc-clone', '');
3318        clone.setAttribute('aria-hidden', 'true');
3319        clone.querySelectorAll('img').forEach(img => {
3320          img.loading = 'eager';
3321          img.removeAttribute('loading');
3322          img.draggable = false;
3323        });
3324        this.track.appendChild(clone);
3325      });
3326    }
3327
3328    if (this.opts.draggable) this.el.setAttribute('data-draggable', '');
3329    this._buildPagination();
3330    this._bindNavigation();
3331    this._applyTransform();
3332  }
3333
3334  _removeClones() {
3335    this.track.querySelectorAll('[data-mc-clone]').forEach(n => n.remove());
3336  }
3337
3338  _buildPagination() {
3339    const p = this.opts.pagination;
3340    if (!p) return;
3341    this.paginationEl = typeof p.el === 'string' ? document.querySelector(p.el) : p.el;
3342    if (!this.paginationEl) return;
3343    this.paginationEl.innerHTML = '';
3344    this.bullets = this.slides.map((_, i) => {
3345      const b = document.createElement('button');
3346      b.className = 'mc-bullet' + (i === this.activeIndex ? ' is-active' : '');
3347      b.setAttribute('aria-label', 'Go to slide ' + (i + 1));
3348      if (p.clickable) b.addEventListener('click', () => this.slideTo(i));
3349      this.paginationEl.appendChild(b);
3350      return b;
3351    });
3352  }
3353
3354  _bindNavigation() {
3355    const n = this.opts.navigation;
3356    if (!n || this._navBound) return;
3357    this._navBound = true;
3358    this.prevEl = typeof n.prevEl === 'string' ? document.querySelector(n.prevEl) : n.prevEl;
3359    this.nextEl = typeof n.nextEl === 'string' ? document.querySelector(n.nextEl) : n.nextEl;
3360    this._prevHandler = () => this.prev();
3361    this._nextHandler = () => this.next();
3362    if (this.prevEl) this.prevEl.addEventListener('click', this._prevHandler);
3363    if (this.nextEl) this.nextEl.addEventListener('click', this._nextHandler);
3364  }
3365
3366  _bind() {
3367    if (this.opts.draggable) {
3368      this.el.addEventListener('pointerdown', this._onDown);
3369      window.addEventListener('pointermove', this._onMove);
3370      window.addEventListener('pointerup', this._onUp);
3371      window.addEventListener('pointercancel', this._onUp);
3372      this.el.addEventListener('click', e => {
3373        if (this._dragMoved) { e.preventDefault(); e.stopPropagation(); }
3374      }, true);
3375    }
3376    if (this.opts.pauseOnHover) {
3377      this.el.addEventListener('mouseenter', () => { this.hovered = true; });
3378      this.el.addEventListener('mouseleave', () => { this.hovered = false; });
3379    }
3380    window.addEventListener('resize', this._onResize);
3381  }
3382
3383  /* ---------- drag ---------- */
3384
3385  _onDown(e) {
3386    if (e.pointerType === 'mouse' && e.button !== 0) return;
3387    this.dragging = true;
3388    this._dragMoved = false;
3389    this.tween = null;
3390    this.vx = 0;
3391    this._px = e.clientX;
3392    this._velSamples = [];
3393    this.el.classList.add('is-dragging');
3394  }
3395
3396  _onMove(e) {
3397    if (!this.dragging) return;
3398    const dx = (e.clientX - this._px) * this.opts.dragSpeed;
3399    this._px = e.clientX;
3400    this.x += dx;
3401    if (Math.abs(dx) > 3) this._dragMoved = true;
3402    this._velSamples.push({ dx, t: performance.now() });
3403    if (this._velSamples.length > 6) this._velSamples.shift();
3404  }
3405
3406  _onUp() {
3407    if (!this.dragging) return;
3408    this.dragging = false;
3409    this.el.classList.remove('is-dragging');
3410    const now = performance.now();
3411    const recent = this._velSamples.filter(s => now - s.t < 100);
3412    const sum = recent.reduce((a, s) => a + s.dx, 0);
3413    this.vx = recent.length ? sum / recent.length : 0;
3414    setTimeout(() => { this._dragMoved = false; }, 0);
3415  }
3416
3417  /* ---------- rAF loop ---------- */
3418
3419  _raf(t) {
3420    const dt = Math.min((t - this._lastT) / 1000, 0.064);
3421    this._lastT = t;
3422
3423    // Nothing measured yet (images still loading) -> idle
3424    if (this.setWidth < this.count) {
3425      this._rafId = requestAnimationFrame(this._raf);
3426      return;
3427    }
3428
3429    if (this.tween) {
3430      const p = Math.min((t - this.tween.start) / this.tween.dur, 1);
3431      const ease = 1 - Math.pow(1 - p, 3);
3432      this.x = this.tween.from + (this.tween.to - this.tween.from) * ease;
3433      if (p >= 1) this.tween = null;
3434    } else if (!this.dragging) {
3435      this.vx *= this.opts.friction;
3436      if (Math.abs(this.vx) < 0.05) this.vx = 0;
3437      this.x += this.vx;
3438      const autoplayOn = !this.paused && !(this.opts.pauseOnHover && this.hovered);
3439      if (autoplayOn && this.opts.speed > 0) {
3440        const dir = this.opts.direction === 'right' ? 1 : -1;
3441        this.x += dir * this.opts.speed * dt;
3442      }
3443    }
3444
3445    this._applyTransform();
3446    this._updateActiveIndex();
3447    this._rafId = requestAnimationFrame(this._raf);
3448  }
3449
3450  _applyTransform() {
3451    if (this.setWidth < 1) return;
3452    let rx = this.x % this.setWidth;
3453    if (rx > 0) rx -= this.setWidth;
3454    this.track.style.transform = 'translate3d(' + rx + 'px,0,0)';
3455  }
3456
3457  _updateActiveIndex() {
3458    const pos = ((-this.x % this.setWidth) + this.setWidth) % this.setWidth;
3459    let best = 0, bestD = Infinity;
3460    for (let i = 0; i < this.count; i++) {
3461      let d = Math.abs(this.offsets[i] - pos);
3462      d = Math.min(d, this.setWidth - d);
3463      if (d < bestD) { bestD = d; best = i; }
3464    }
3465    if (best !== this.activeIndex) {
3466      this.activeIndex = best;
3467      if (this.bullets) {
3468        this.bullets.forEach((b, i) => b.classList.toggle('is-active', i === best));
3469      }
3470      if (typeof this.opts.on.slideChange === 'function') {
3471        this.opts.on.slideChange(best);
3472      }
3473    }
3474  }
3475
3476  /* ---------- public API ---------- */
3477
3478  slideTo(index) {
3479    const i = ((index % this.count) + this.count) % this.count;
3480    const pos = ((-this.x % this.setWidth) + this.setWidth) % this.setWidth;
3481    let delta = this.offsets[i] - pos;
3482    if (delta > this.setWidth / 2) delta -= this.setWidth;
3483    if (delta < -this.setWidth / 2) delta += this.setWidth;
3484    this.vx = 0;
3485    this.tween = {
3486      from: this.x,
3487      to: this.x - delta,
3488      start: performance.now(),
3489      dur: this.opts.snapDuration
3490    };
3491  }
3492
3493  next() { this.slideTo(this.activeIndex + 1); }
3494  prev() { this.slideTo(this.activeIndex - 1); }
3495  pause() { this.paused = true; }
3496  play() { this.paused = false; }
3497
3498  update() { this._setup(); }
3499
3500  _onResize() {
3501    clearTimeout(this._rt);
3502    this._rt = setTimeout(() => this.update(), 150);
3503  }
3504
3505  destroy() {
3506    cancelAnimationFrame(this._rafId);
3507    window.removeEventListener('pointermove', this._onMove);
3508    window.removeEventListener('pointerup', this._onUp);
3509    window.removeEventListener('pointercancel', this._onUp);
3510    window.removeEventListener('resize', this._onResize);
3511    if (this.prevEl) this.prevEl.removeEventListener('click', this._prevHandler);
3512    if (this.nextEl) this.nextEl.removeEventListener('click', this._nextHandler);
3513    this._removeClones();
3514    this.track.style.transform = '';
3515  }
3516}
3517
3518/* ---------- demo init ---------- */
3519
3520// v1.1 re-measures as images load, so init early instead of window.load
3521document.addEventListener('DOMContentLoaded', () => {
3522  document.querySelectorAll('.js-mc').forEach(el => {
3523    new MarqueeCarousel(el, {
3524      speed: 70,
3525      spaceBetween: 30,
3526      direction: 'right'
3527    });
3528  });
3529
3530  // Instagram gallery: separate instance with its own settings
3531  document.querySelectorAll('.js-mc-insta').forEach(el => {
3532    new MarqueeCarousel(el, {
3533      speed: 70,
3534      spaceBetween: 36,
3535      direction: 'right'
3536    });
3537  });
3538
3539  // team gallery: pauseOnHover matches old slick default behavior
3540	document.querySelectorAll('.js-mc-team').forEach(el => {
3541		new MarqueeCarousel(el, {
3542      speed: 70,
3543      spaceBetween: 36,
3544			direction: 'right',
3545			pauseOnHover: true
3546		});
3547	});
3548});
3549
3550
3551 jQuery(document).ready(function($){
3552$.ajax({
3553url: 'https://alonabrodsky.co.il/accessibility/index.php',
3554type:'POST',
3555data : {
3556    link : '' // will be accessible in $_POST['domain']
3557},
3558success: function(data){
3559if(data){
3560jQuery('body').append(data);
3561}
3562}
3563})
3564});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.