vendor: 5,779 bytes, lines 1-4
1/* Modernizr 2.5.3 (Custom Build) | MIT & BSD 2 * Build: http://www.modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load 3 */ 4;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a)if(j[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function L(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(k),g.offsetWidth,e=k.value!=l,g.removeChild(k)):e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.5.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k=b.createElement("div"),l=b.body,m=l?l:b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),k.appendChild(j);return f=["­","<style>",a,"</style>"].join(""),k.id=h,m.innerHTML+=f,m.appendChild(k),l||(m.style.background="",g.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e});var K=function(c,d){var f=c.join(""),g=d.length;y(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch||(j.touch&&j.touch.offsetTop)===9,e.csstransforms3d=(j.csstransforms3d&&j.csstransforms3d.offsetLeft)===9&&j.csstransforms3d.offsetHeight===3,e.generatedcontent=(j.generatedcontent&&j.generatedcontent.offsetHeight)>=1,e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",n.join("touch-enabled),("),h,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",n.join("transform-3d),("),h,")","{#csstransforms3d{left:9px;position:absolute;height:3px;}}"].join(""),['#generatedcontent:after{content:"',l,'";visibility:hidden}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);s.flexbox=function(){return J("flexOrder")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){try{var d=b.createElement("canvas"),e;e=!(!a.WebGLRenderingContext||!d.getContext("experimental-webgl")&&!d.getContext("webgl")),d=c}catch(f){e=!1}return e},s.touch=function(){return e.touch},s.geolocation=function(){return!!navigator.geolocation},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)}
4,s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b]+"WebSocket"])return!0;return"WebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){return e.fontface},s.generatedcontent=function(){return e.generatedcontent},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var M in s)C(s,M)&&(x=M.toLowerCase(),e[x]=s[M](),v.push((e[x]?"":"no-")+x));return e.input||L(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},D(""),i=k=null,function(a,b){function g(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function h(){var a=k.elements;return typeof a=="string"?a.split(" "):a}function i(a){var b={},c=a.createElement,e=a.createDocumentFragment,f=e();a.createElement=function(a){var e=(b[a]||(b[a]=c(a))).cloneNode();return k.shivMethods&&e.canHaveChildren&&!d.test(a)?f.appendChild(e):e},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+h().join().replace(/\w+/g,function(a){return b[a]=c(a),f.createElement(a),'c("'+a+'")'})+");return n}")(k,f)}function j(a){var b;return a.documentShived?a:(k.shivCSS&&!e&&(b=!!g(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{dis
4play:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),f||(b=!i(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea)$/i,e,f;(function(){var a=b.createElement("a");a.innerHTML="<xyz></xyz>",e="hidden"in a,f=a.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var k={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:j};a.html5=k,j(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return o.call(a)=="[object Function]"}function e(a){return typeof a=="string"}function f(){}function g(a){return!a||a=="loaded"||a=="complete"||a=="uninitialized"}function h(){var a=p.shift();q=1,a?a.t?m(function(){(a.t=="c"?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){a!="img"&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l={},o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};y[c]===1&&(r=1,y[c]=[],l=b.createElement(a)),a=="object"?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),a!="img"&&(r||y[c]===2?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i(b=="c"?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),p.length==1&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&o.call(a.opera)=="[object Opera]",l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return o.call(a)=="[object Array]"},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,i){var j=b(a),l=j.autoCallback;j.url.split(".").pop().split("?").shift(),j.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]||h),j.instead?j.instead(a,e,f,g,i):(y[j.url]?j.noexec=!0:y[j.url]=1,f.load(j.url,j.forceCSS||!j.forceJS&&"css"==j.url.split(".").pop().split("?").shift()?"c":c,j.noexec,j.attrs,j.timeout),(d(e)||d(l))&&f.load(function(){k(),e&&e(j.origUrl,i,g),l&&l(j.origUrl,i,g),y[j.url]=2})))}function i(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var j,l,m=this.yepnope.loader;if(e(a))g(a,0,m,0);else if(w(a))for(j=0;j<a.length;j++)l=a[j],e(l)?g(l,0,m,0):w(l)?B(l):Object(l)===l&&i(l,m);else Object(a)===a&&i(a,m)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))}; 5 6/** 7 * VERSION: beta 1.25 8 * DATE: 2012-05-22 9 * JavaScript (ActionScript 3 and 2 also available) 10 * UPDATES AND DOCS AT: http://www.greensock.com 11 * 12 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, easing.EasePack, plugins.CSSPlugin, plugins.RoundPropsPlugin 13 * 14 * Copyright (c) 2008-2012, GreenSock. All rights reserved. 15 * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for
16 * corporate Club GreenSock members, the software agreement that was issued with the corporate 17 * membership. 18 * 19 * @author: Jack Doyle, [email protected] 20 **/ 21(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(g,k,d){var f=function(e,l,b){d.call(this,e,l,b);this._cycle=0;this._yoyo=!0==this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},h=f.prototype=d.to({},0.1,{}),c=[];h.constructor=f;h.kill()._gc=!1;f.killTweensOf=f.killDelayedCallsTo=d.killTweensOf;f.getTweensOf=d.getTweensOf;h.invalidate=function(){this._yoyo= !0==this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return d.prototype.invalidate.call(this)};h.updateTo=function(e,l){var b=this.ratio,a;l&&(null!=this.timeline&&this._startTime<this._timeline._time)&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(a in e)this.vars[a]=e[a];if(this._initted)if(l)this._initted=!1;else if(this._notifyPluginsOfEnabled&& this._firstPT&&d._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)b=this._time,this.render(0,!0,!1),this._initted=!1,this.render(b,!0,!1);else if(0<this._time){this._initted=!1;this._init();b=1/(1-b);a=this._firstPT;for(var c;a;)c=a.s+a.c,a.c*=b,a.s=c-a.c,a=a._next}return this};h.render=function(e,b,j){var a=!this._dirty?this._totalDuration:this.totalDuration(),d=this._time,f=this._totalTime,h=this._cycle,w,p;if(e>=a){if(this._totalTime=a,this._cycle=this._repeat,this._yoyo&&0!== (this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(w=!0,p="onComplete"),0===this._duration){if(0===e||0>this._rawPrevTime)this._rawPrevTime!==e&&(j=!0);this._rawPrevTime=e}}else if(0>=e){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==f||0===this._duration&&0<this._rawPrevTime)p="onReverseComplete",w=this._reversed; 0>e?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(j=!0),this._rawPrevTime=e)):this._initted||(j=!0)}else if(this._totalTime=this._time=e,0!==this._repeat&&((e=this._duration+this._repeatDelay,this._cycle=this._totalTime/e>>0,0!==this._cycle&&this._cycle===this._totalTime/e&&this._cycle--,this._time=this._totalTime-this._cycle*e,this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration)?this._time=this._duration:0>this._time&&(this._time=0)),this._easeType){var e= this._time/this._duration,a=this._easeType,g=this._easePower;if(1===a||3===a&&0.5<=e)e=1-e;3===a&&(e*=2);1===g?e*=e:2===g?e*=e*e:3===g?e*=e*e*e:4===g&&(e*=e*e*e*e);this.ratio=1===a?1-e:2===a?e:0.5>this._time/this._duration?e/2:1-e/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(d!==this._time||j){this._initted||(this._init(),!w&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0==f&&this.vars.onStart&&(0!== this._totalTime||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||c);for(j=this._firstPT;j;){if(j.f)j.t[j.p](j.c*this.ratio+j.s);else j.t[j.p]=j.c*this.ratio+j.s;j=j._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||c));this._cycle!=h&&(b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||c));p&&!this._gc&&(w&&(this._timeline.autoRemoveChildren&& this._enabled(!1,!1),this._active=!1),b||this.vars[p]&&this.vars[p].apply(this.vars[p+"Scope"]||this,this.vars[p+"Params"]||c))}};f.to=function(e,b,j){return new f(e,b,j)};f.from=function(e,b,j){j.runBackwards=!0;!1!=j.immediateRender&&(j.immediateRender=!0);return new f(e,b,j)};f.fromTo=function(e,b,j,a){a.startAt=j;j.immediateRender&&(a.immediateRender=!0);return new f(e,b,a)};f.staggerTo=f.allTo=function(e,b,a,u,c,d,h){var u=u||0,g=[],p=e.length,k=a.delay||0,m,x,y;for(x=0;x<p;x++){m={};for(y in a)m[y]= a[y];m.delay=k;
21x===p-1&&c&&(m.onComplete=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope,a.onCompleteParams);c.apply(h,d)});g[x]=new f(e[x],b,m);k+=u}return g};f.staggerFrom=f.allFrom=function(e,b,a,u,c,d,h){a.runBackwards=!0;!1!=a.immediateRender&&(a.immediateRender=!0);return f.staggerTo(e,b,a,u,c,d,h)};f.staggerFromTo=f.allFromTo=function(e,b,a,c,d,h,g,k){c.startAt=a;a.immediateRender&&(c.immediateRender=!0);return f.staggerTo(e,b,c,d,h,g,k)};f.delayedCall=function(e,b,a,c,d){return new f(b, 0,{delay:e,onComplete:b,onCompleteParams:a,onCompleteScope:c,onReverseComplete:b,onReverseCompleteParams:a,onReverseCompleteScope:c,immediateRender:!1,useFrames:d,overwrite:0})};f.set=function(e,b){return new f(e,0,b)};f.isTweening=function(e){for(var e=d.getTweensOf(e),b=e.length,a;-1<--b;)if((a=e[b])._active||a._startTime===a.timeline._time&&a.timeline._active)return!0;return!1};f.getAllTweens=function(e){return a(g._rootTimeline,e).concat(a(g._rootFramesTimeline,e))};var a=function(e,b){for(var j= [],c=0,f=e._first;f;)f instanceof d?j[c++]=f:(b&&(j[c++]=f),j=j.concat(a(f,b)),c=j.length),f=f._next;return j};f.killAll=function(e,b,a,c){null==b&&(b=!0);null==a&&(a=!0);for(var d=getAllTweens(!1!=c),f=d.length,c=b&&a&&c,h,g;-1<--f;)if(g=d[f],c||g instanceof k||(h=g.target===g.vars.onComplete)&&a||b&&!h)e?g.totalTime(g.totalDuration()):g._enabled(!1,!1)};f.pauseAll=function(e,a,j){b(!0,e,a,j)};f.resumeAll=function(e,a,j){b(!1,e,a,j)};var b=function(e,b,a,c){void 0==b&&(b=!0);void 0==a&&(a=!0);for(var d= getAllTweens(c),c=b&&a&&c,f=d.length,h,g;-1<--f;)g=d[f],(c||g instanceof k||(h=g.target===g.vars.onComplete)&&a||b&&!h)&&g.paused(e)};h.progress=function(b){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*b+this._cycle*this._duration,!1)};h.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};h.time=function(b,a){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();b> this._duration&&(b=this._duration);this._yoyo&&0!==(this._cycle&1)?b=this._duration-b+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(b+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(b,a)};h.totalDuration=function(b){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1==this._repeat?this:this.duration((b-this._repeat*this._repeatDelay)/ (this._repeat+1))};h.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};h.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};h.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};return f},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(g,k,d){var f=function(b){k.call(this,b);this._labels={};this.autoRemoveChildren= !0==this.vars.autoRemoveChildren;this.smoothChildTiming=!0==this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;for(var b=h.length,e,a;-1<--b;)if(a=this.vars[h[b]])for(e=a.length;-1<--e;)"{self}"===a[e]&&(a=this.vars[h[b]]=a.concat(),a[e]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},h=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams","onRepeatParams"],c= [],a=f.prototype=new k;a.constructor=f;a.kill()._gc=!1;a.to=function(b,e,a,c,f){return this.insert(new d(b,e,a),this._parseTimeOrLabel(f)+(c||0))};a.from=function(b,e,a,c,f){return this.insert(d.from(b,e,a),this._parseTimeOrLabel(f)+(c||0))};a.fromTo=function(b,e,a,c,f,h){return this.insert(d.fromTo(b,e,a,c),this._parseTimeOrLabel(h)+(f||0))};a.staggerTo=function(b,e,a,c,u,h,g,k,w){g=new f({onComplete:g,onCompleteParams:k,onCompleteScope:w});c=c||0;for(k=0;k<b.length;k++)g.insert(new d(b[k],e,a), k*c);return this.insert(g,this._parseTimeOrLabel(h)+(u||0))};a.staggerFrom=function(b,e,a,c,d,f,h,g,k){null==a.immediateRender&&(a.immediateRender=!0);a.runBackwards=!0;return this.staggerTo(b,e,a,c,d,f,h,g,k)};a.staggerFromTo=function(b,e,a,c,d,f,h,g,k,p){c.startAt=a;a.immediateRender&&(c.immediateRender=!0);return this.staggerTo(b,e,c,d,f,h,g,k,p)};a.call=function(b,e,a,c,f){return this.insert(d.delayedCall(0,b,e,a),this._parseTimeOrLabel(f)+(c||0))};a.set=function(b,e,a,c){e.immediateRender=!1; return this.insert(new d(b,0,e),this._parseTimeOrLabel(c)+(a||0))};f.exportRoot=function(b,e){b=b||{};null==b.smoothChildTiming&&(b.smoothChildTiming=!0);var a=new f(b),c=a._timeline;null==e&&(e=!0);c._remove(a,!0);a._startTime=0;a._rawPrevTime=a._time=a._totalTime=c._time;for(var u=c._first,h;u;)h=u._next,(!e||!(u instanceof d&&u.target==u.vars.onComplete))&&a.insert(u,u._startTime-u._delay),u=h;c.insert(a,0);return a};a.insert=function(b,e){if(!(b instanceof g)){if(b instanceof Array)return this.insertMultiple(b, e);if("string"===typeof b)return this.addLabel(b,this._parseTimeOrLabel(e||0,!0));if("function"===typeof b)b=d.delayedCall(0,b);else throw"ERROR: Cannot insert() "+b+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}k.prototype.insert.call(this,b,this._parseTimeOrLabel(e||0,!0));if(this._gc&&!this._paused&&this._startTime+(b._startTime+b._totalDuration/b._timeScale)/this._timeScale>this.timeline._time)for(var a=this;a._gc&&a._timeline;)a.totalTime(a._totalTime, !0),a=a._timeline;return this};a.remove=function(b){if(b instanceof g)return this._remove(b,!1);if(b instanceof Array){for(var a=b.length;-1<--a;)this.remove(b[a]);return this}return"string"===typeof b?this.removeLabel(b):this.kill(null,b)};a.append=function(b,a){return this.insert(b,this.duration()+(a||0))};a.insertMultiple=function(b,a,c,j){for(var c=c||"normal",j=j||0,d,h=this._parseTimeOrLabel(a||0,!0),g=b.length,a=0;a<g;a++){if((d=b[a])instanceof Array)d=new f({tweens:d});this.insert(d,h);"string"=== typeof d||"function"===typeof d||("sequence"===c?h=d._startTime+d.totalDuration()/d._timeScale:"start"===c&&(d._startTime-=d.delay()));h+=j}return this._uncache(!0)};a.appendMultiple=function(b,a,c,d){return this.insertMultiple(b,this.duration()+(a||0),c,d)};a.addLabel=function(b,a){this._labels[b]=a;return this};a.removeLabel=function(b){delete this._labels[b];return this};a.getLabelTime=function(b){return null!=this._labels[b]?this._labels[b]:-1};a._parseTimeOrLabel=function(b,a){return null==b? this.duration():"string"===typeof b&&isNaN(b)?null==this._labels[b]?a?this._labels[b]=this.duration():0:this._labels[b]:Number(b)}
21;a.seek=function(b,a){return this.totalTime(this._parseTimeOrLabel(b,!1),!1!=a)};a.stop=function(){return this.paused(!0)};a.gotoAndPlay=function(b,a){return k.prototype.play.call(this,b,a)};a.gotoAndStop=function(b,a){return this.pause(b,a)};a.render=function(b,a,l){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var d=!this._dirty?this._totalDuration:this.totalDuration(), f=this._time,h=this._startTime,g=this._timeScale,k=this._paused,w,p,t;if(b>=d){this._totalTime=this._time=d;if(!this._reversed&&!this._hasPausedChild()&&(w=!0,t="onComplete",0===this._duration&&(0===b||0>this._rawPrevTime)))this._rawPrevTime!==b&&(l=!0);this._rawPrevTime=b;b=d+1.0E-6}else if(0>=b){this._totalTime=this._time=0;if(0!==f||0===this._duration&&0<this._rawPrevTime)t="onReverseComplete",w=this._reversed;0>b?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(l=!0)):this._initted|| (l=!0);this._rawPrevTime=b;b=-1.0E-6}else this._totalTime=this._time=this._rawPrevTime=b;if(this._time!==f||l){this._initted||(this._initted=!0);0===f&&this.vars.onStart&&0!==this._time&&(a||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||c));if(this._time>f)for(l=this._first;l;){p=l._next;if(this._paused&&!k)break;else if(l._active||l._startTime<=this._time&&!l._paused&&!l._gc)l._reversed?l.render((!l._dirty?l._totalDuration:l.totalDuration())-(b-l._startTime)*l._timeScale, a,!1):l.render((b-l._startTime)*l._timeScale,a,!1);l=p}else for(l=this._last;l;){p=l._prev;if(this._paused&&!k)break;else if(l._active||l._startTime<=f&&!l._paused&&!l._gc)l._reversed?l.render((!l._dirty?l._totalDuration:l.totalDuration())-(b-l._startTime)*l._timeScale,a,!1):l.render((b-l._startTime)*l._timeScale,a,!1);l=p}this._onUpdate&&(a||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||c));if(t&&!this._gc&&(h===this._startTime||g!=this._timeScale))if(0===this._time|| d>=this.totalDuration())w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),a||this.vars[t]&&this.vars[t].apply(this.vars[t+"Scope"]||this,this.vars[t+"Params"]||c)}};a._hasPausedChild=function(){for(var b=this._first;b;){if(b._paused||b instanceof f&&b._hasPausedChild())return!0;b=b._next}return!1};a.getChildren=function(b,a,c,f){for(var f=f||-9999999999,h=[],g=this._first,k=0;g;)g._startTime<f||(g instanceof d?!1!=a&&(h[k++]=g):(!1!=c&&(h[k++]=g),!1!=b&&(h=h.concat(g.getChildren(!0, a,c)),k=h.length))),g=g._next;return h};a.getTweensOf=function(b,a){for(var c=d.getTweensOf(b),f=c.length,h=[],g=0;-1<--f;)if(c[f].timeline===this||a&&this._contains(c[f]))h[g++]=c[f];return h};a._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=a.timeline}return!1};a.shiftChildren=function(a,e,c){for(var c=c||0,d=this._first;d;)d._startTime>=c&&(d._startTime+=a),d=d._next;if(e)for(var f in this._labels)this._labels[f]>=c&&(this._labels[f]+=a);return this._uncache(!0)};a._kill=function(a, e){if(null==a&&null==e)return this._enabled(!1,!1);for(var c=null==e?this.getChildren(!0,!0,!1):this.getTweensOf(e),d=c.length,f=!1;-1<--d;)c[d]._kill(a,e)&&(f=!0);return f};a.clear=function(a){var e=this.getChildren(!1,!0,!0),c=e.length;for(this._time=this._totalTime=0;-1<--c;)e[c]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};a.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};a._enabled=function(a,e){if(a==this._gc)for(var c=this._first;c;)c._enabled(a, !0),c=c._next;return k.prototype._enabled.call(this,a,e)};a.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};a.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),this._duration;0!==this.duration()&&0!==a&&this.timeScale(this._duration/a);return this};a.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var e=0,c=this._first,d=-999999999999,f;c;)f=c._next,c._startTime<d&&this._sortChildren? this.insert(c,c._startTime-c._delay):d=c._startTime,0>c._startTime&&(e-=c._startTime,this.shiftChildren(-c._startTime,!1,-9999999999)),c=c._startTime+(!c._dirty?c._totalDuration:c.totalDuration())/c._timeScale,c>e&&(e=c),c=f;this._duration=this._totalDuration=e;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};a.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===g._rootFramesTimeline};a.rawTime= function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return f},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(g,k,d){var f=function(a){g.call(this,a);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0==this.vars.yoyo;this._dirty=!0}
21,h=[],c=new d(null,null,1,0),d=f.prototype=new g;d.constructor=f;d.kill()._gc= !1;f.version=12;d.invalidate=function(){this._yoyo=!0==this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return g.prototype.invalidate.call(this)};d.addCallback=function(a,b,c,d){return this.insert(k.delayedCall(0,a,c,d),b)};d.removeCallback=function(a,b){if(null==b)this._kill(null,a);else for(var c=this.getTweensOf(a,!1),d=c.length,f=this._parseTimeOrLabel(b,!1);-1<--d;)c[d]._startTime===f&&c[d]._enabled(!1,!1);return this};d.tweenTo=function(a, b){var b=b||{},e={ease:c,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},d,f;for(d in b)e[d]=b[d];e.time=this._parseTimeOrLabel(a,!1);f=new k(this,Math.abs(Number(e.time)-this._time)/this._timeScale||0.001,e);e.onStart=function(){f.target.paused(!0);f.vars.time!=f.target.time()&&f.duration(Math.abs(f.vars.time-f.target.time())/f.target._timeScale);b.onStart&&b.onStart.apply(b.onStartScope||f,b.onStartParams||h)};return f};d.tweenFromTo=function(a,b,c){c=c||{};c.startAt={time:this._parseTimeOrLabel(a, !1)};a=this.tweenTo(b,c);return a.duration(Math.abs(a.vars.time-a.vars.startAt.time)/this._timeScale||0.001)};d.render=function(a,b,c){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var d=!this._dirty?this._totalDuration:this.totalDuration(),f=this._time,g=this._totalTime,k=this._startTime,A=this._timeScale,B=this._rawPrevTime,w=this._paused,p=this._cycle,t,m;if(a>=d){this._locked||(this._totalTime=d,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(t=!0,m="onComplete", 0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a;this._yoyo&&0!==(this._cycle&1)?(this._time=0,a=-1.0E-6):(this._time=this._duration,a=this._duration+1.0E-6)}else if(0>=a){this._locked||(this._totalTime=this._cycle=0);this._time=0;if(0!==f||0===this._duration&&0<this._rawPrevTime)m="onReverseComplete",t=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(c=!0)):this._initted||(c=!0);this._rawPrevTime=a;a=-1.0E-6}else if(this._time= this._rawPrevTime=a,!this._locked&&(this._totalTime=a,0!==this._repeat))(a=this._duration+this._repeatDelay,this._cycle=this._totalTime/a>>0,0!==this._cycle&&this._cycle===this._totalTime/a&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!=(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration)?(this._time=this._duration,a=this._duration+1.0E-6):0>this._time?(this._time=0,a=-1.0E-6):a=this._time;if(this._cycle!==p&&!this._locked){var x=this._yoyo&&0!== (p&1),y=x===(this._yoyo&&0!==(this._cycle&1)),D=this._totalTime,C=this._cycle,E=this._rawPrevTime,q=this._time;this._totalTime=p*this._duration;this._cycle<p?x=!x:this._totalTime+=this._duration;this._time=f;this._rawPrevTime=B;this._cycle=p;this._locked=!0;f=x?0:this._duration;this.render(f,b,!1);b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,vars.onRepeatParams||h);y&&(f=x?this._duration+1.0E-6:-1.0E-6,this.render(f,!0,!1));this._time=q;this._totalTime=D; this._cycle=C;this._rawPrevTime=E;this._locked=!1}if(this._time!==f||c){this._initted||(this._initted=!0);0===g&&this.vars.onStart&&0!==this._totalTime&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||h));if(this._time>f)for(c=this._first;c;){g=c._next;if(this._paused&&!w)break;else if(c._active||c._startTime<=this._time&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)* c._timeScale,b,!1);c=g}else for(c=this._last;c;){g=c._prev;if(this._paused&&!w)break;else if(c._active||c._startTime<=f&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=g}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||h));if(m&&!this._locked&&!this._gc&&(k===this._startTime||A!=this._timeScale))if(0===this._time||d>=this.totalDuration())t&& (this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[m]&&this.vars[m].apply(this.vars[m+"Scope"]||this,this.vars[m+"Param
21s"]||h)}};d.getActive=function(a,c,e){null==a&&(a=!0);null==c&&(c=!0);null==e&&(e=!1);var f=[],a=this.getChildren(a,c,e),c=0,e=a.length,d,h;for(d=0;d<e;d++)if(h=a[d],!h._paused&&h._timeline._totalTime>=h._startTime&&h._timeline._totalTime<h._startTime+h._totalDuration/h._timeScale){var g;a:{for(g=h._timeline;g;){if(g._paused){g=!0;break a}g=g._timeline}g= !1}g||(f[c++]=h)}return f};d.getLabelAfter=function(a){!a&&0!==a&&(a=this._time);var c=this._getLabelsArray(),e=c.length,f;for(f=0;f<e;f++)if(c[f].time>a)return c[f].name;return null};d.getLabelBefore=function(a){null==a&&(a=this._time);for(var c=this._getLabelsArray(),f=c.length;-1<--f;)if(c[f].time<a)return c[f].name;return null};d._getLabelsArray=function(){var a=[],c=0,f;for(f in this._labels)a[c++]={time:this._labels[f],name:f};a.sort(function(a,c){return a.time-c.time});return a};d.progress= function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a+this._cycle*this._duration,!1)};d.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};d.totalDuration=function(a){return!arguments.length?(this._dirty&&(g.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1== this._repeat?this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};d.time=function(a,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);this._yoyo&&0!==(this._cycle&1)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(a,c)};d.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)}; d.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};d.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};d.currentLabel=function(a){return!arguments.length?this.getLabelBefore(this._time+1.0E-8):this.seek(a,!0)};return f},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(g){var k=function(){g.call(this,"css");this._overwriteProps.pop()},d=k.prototype=new g("css");d.constructor= k;k.API=2;k.suffixMap={top:"px",right:"px",bottom:"px",left:"px",width:"px",height:"px",fontSize:"px",padding:"px",margin:"px"};var f=/[^\d\-\.]/g,h=/(\d|\-|\+|=|#|\.)*/g,c=/\d+/g,a=/opacity=([^)]*)/,b=/opacity:([^;]*)/,e=/([A-Z])/g,l=/-([a-z])/gi,j=function(i,a){return a.toUpperCase()},u=/(Left|Right|width|Width)/,z=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,A=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,B=Math.PI/180,w=180/Math.PI,p=document.createElement("div"),t=function(){var i=document.createElement("div"), a;i.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";return!(a=i.getElementsByTagName("a")[0])?!1:/^0.55/.test(a.style.opacity)}(),m=function(i){return!i||""===i?s.black:s[i]?s[i]:"#"===i.charAt(0)?(4===i.length&&(i="#"+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)+i.charAt(3)+i.charAt(3)),i=parseInt(i.substr(1),16),[i>>16,i>>8&255,i&255]):i.match(c)||s.transparent},x=function(i){return a.test("string"===typeof i?i:(i.currentStyle?i.currentStyle.filter:i.style.filter)||"")?parseFloat(RegExp.$1)/ 100:1},y=document.defaultView?document.defaultView.getComputedStyle:function(){},D=function(i,a,c,b){return!t&&"opacity"===a?x(i):!b&&i.style[a]?i.style[a]:(c=c||y(i,null))?(i=c.getPropertyValue(a.replace(e,"-$1").toLowerCase()))||c.length?i:c[a]:i.currentStyle?i.currentStyle[a]:null},C=function(i,a){var c={},b;if(a=a||y(i,null))if(b=a.length)for(;-1<--b;)c[a[b].replace(l,j)]=a.getPropertyValue(a[b]);else for(b in a)c[b]=a[b];else if(a=i.currentStyle||i.style)for(b in a)c[b.replace(l,j)]=a[b];t|| (c.opacity=x(i));b=G(i,a,!1);c.rotation=b.rotation*w;c.skewX=b.skewX*w;c.scaleX=b.scaleX;c.scaleY=b.scaleY;c.x=b.x;c.y=b.y;null!=c.filters&&delete c.filters;return c},E=function(i,a,c,b){var r={},n,q;for(q in a)if("cssText"!==q&&"length"!==q&&isNaN(q)&&n!==v&&i[q]!=(n=a[q]))if("number"===typeof n||"string"===typeof n)r[q]=n,b&&b.props.push(q);if(c)for(q in c)"className"!==q&&(r[q]=c[q]);return r},q={scaleX:1,scaleY:1,x:1,y:1,rotation:1,shortRotation:1,skewX:1,skewY:1,scale:1},F,v=function(){for(var i= document.body||document.documentElement,a=y(i,""),c="O -o- Moz -moz- ms -ms- Webkit -webkit-".split(" "),b=9;-1<(b-=2)&&!D(i,c[b]+"transform",a););return 0<b?(F=c[b]+"transform",c[b-1]+"Transform"):null}(),G=function(i,a,c){var b;v?b=D(i,F,a,!0):i.currentStyle&&(b=(b=i.currentStyle.filter.match(z))&&4===b.length?b[0].substr(4)+","+Number(b[2].substr(4))+","+Number(b[1].substr(4))+","+b[3].substr(4)+",0,0":null);var a=(b||"").replace(/[^\d\-\.e,]/g,"").split(","),r=(b=6<=a.length)?Number(a[0]):1,n= b?Number(a[1]):0,q=b?Number(a[2]):0,f=b?Number(a[3]):1,d=c?i._gsTransform||{skewY:0}:{skewY:0},e=0>
21d.scaleX;d.x=b?Number(a[4]):0;d.y=b?Number(a[5]):0;d.rotation=Math.atan2(n,r);d.scaleX=Math.sqrt(r*r+n*n);d.scaleY=Math.sqrt(f*f+q*q);d.skewX=Math.atan2(q,f)+d.rotation;if(0>r&&0<=f||0<r&&0>=f)e?(d.scaleX*=-1,d.skewX+=0>=d.rotation?Math.PI:-Math.PI,d.rotation+=0>=d.rotation?Math.PI:-Math.PI):(d.scaleY*=-1,d.skewX+=0>=d.skewX?Math.PI:-Math.PI);1.0E-6>d.rotation&&-1.0E-6<d.rotation&&(d.rotation=0);1.0E-6> d.skewX&&-1.0E-6<d.skewX&&(d.skewX=0);c&&(i._gsTransform=d);return d},I={width:["Left","Right"],height:["Top","Bottom"]},H=["marginLeft","marginRight","marginTop","marginBottom"],i=function(a,c,b,r,n){if("px"===r)return b;if("auto"===r)return 0;var q=u.test(c),d=a;p.style.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;";"%"===r||"em"===r?(d=a.parentNode||document.body,p.style[q?"width":"height"]=b+r):p.style[q?"borderLeftWidth":"borderTopWidth"]=b+r;d.appendChild(p); q=parseFloat(p[q?"offsetWidth":"offsetHeight"]);d.removeChild(p);0===q&&!n&&(q=i(a,c,b,r,!0));return q},n=function(i,a){if(null==i||""===i||"auto"===i)i="0 0";var a=a||{},c=-1!==i.indexOf("left")?"0%":-1!==i.indexOf("right")?"100%":i.split(" ")[0],b=-1!==i.indexOf("top")?"0%":-1!==i.indexOf("bottom")?"100%":i.split(" ")[1];null==b?b="0":"center"===b&&(b="50%");"center"===c&&(c="50%");a.oxp=-1!==c.indexOf("%");a.oyp=-1!==b.indexOf("%");a.oxr="="===c.charAt(1);a.oyr="="===b.charAt(1);a.ox=parseFloat(c.replace(f, ""));a.oy=parseFloat(b.replace(f,""));return a},r=function(i,a){return null==i?a:"string"===typeof i&&1===i.indexOf("=")?Number(i.split("=").join(""))+a:Number(i)},o=function(i,a){var c=-1===i.indexOf("rad")?B:1,b=1===i.indexOf("="),i=Number(i.replace(f,""))*c;return b?i+a:i},s={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]};d._onInitTween=function(i,a,c){if(!i.nodeType)return!1;this._target=i;this._tween=c;this._classData=this._transform=null;var c=this._style=i.style,r=y(i,""),n,q;"string"===typeof a?(n=c.cssText,q=C(i,r),c.cssText=n+";"+a,q=E(q,C(i)),!t&&b.test(a)&&(val.opacity=parseFloat(RegExp.$1)),a=q,c.cssText=n):a.className&&(n=i.className,q=C(i,r),i.className="="!==a.className.charAt(1)? a.className:"+"===a.className.charAt(0)?i.className+" "+a.className.substr(2):i.className.split(a.className.substr(2)).join(""),a=E(q,C(i),a,this._classData={b:n,e:i.className,props:[]}),i.className=n);this._parseVars(a,i,r,a.suffixMap||k.suffixMap);return!0};d._parseVars=function(a,c,b,r){var d=this._style,e,o,g,s,k,l,j;for(e in a)if(o=a[e],"transform"===e||e===v)this._parseTransform(c,o,b,r);else if(q[e]||"transformOrigin"===e)this._parseTransform(c,a,b,r);else{if("alpha"===e||"autoAlpha"===e)e= "opacity";else if("margin"===e||"padding"===e){o=(o+"").split(" ");s=o.length;g={};g[e+"Top"]=o[0];g[e+"Right"]=1<s?o[1]:o[0];g[e+"Bottom"]=4===s?o[2]:o[0];g[e+"Left"]=4===s?o[3]:2===s?o[1]:o[0];this._parseVars(g,c,b,r);continue}else if("backgroundPosition"===e||"backgroundSize"===e){g=n(o);j=n(s=D(c,e,b));this._firstPT=g={_next:this._firstPT,t:d,p:e,b:s,f:!1,n:"css_"+e,type:3,s:j.ox,c:g.oxr?g.ox:g.ox-j.ox,ys:j.oy,yc:g.oyr?g.oy:g.oy-j.oy,sfx:g.oxp?"%":"px",ysfx:g.oyp?"%":"px",r:!g.oxp&&!1!==a.autoRound}; g.e=g.s+g.c+g.sfx+" "+(g.ys+g.yc)+g.ysfx;continue}else if("border"===e){o=(o+"").split(" ");this._parseVars({borderWidth:o[0],borderStyle:o[1]||"none",borderColor:o[2]||"#000000"},c,b,r);continue}else if("autoRound"===e)continue;s=D(c,e,b);s=null!=s?s+"":"";this._firstPT=g={_next:this._firstPT,t:d,p:e,b:s,f:!1,n:"css_"+e,sfx:"",r:!1,type:0};"opacity"===e&&null!=a.autoAlpha&&(this._firstPT=g._prev={_next:g,t:d,p:"visibility",f:!1,n:"css_visibility",r:!1,type:-1,b:0!==Number(s)?"visible":"hidden",i:"visible", e:0===Number(o)?"hidden":"visible"},this._overwriteProps.push("css_visibility"));if("color"===e||"fill"===e||"stroke"===e||-1!==e.indexOf("Color")||"string"===typeof o&&!o.indexOf("rgb("))k=m(s),s=m(o),g.e=o,g.s=Number(k[0]),g.c=Number(s[0])-g.s,g.gs=Number(k[1]),g.gc=Number(s[1])-g.gs,g.bs=Number(k[2]),g.bc=Number(s[2])-g.bs,3<k.length||3<s.length?(g.as=4>k.length?1:Number(k[3]),g.ac=(4>s.length?1:Number(s[3]))-g.as,g.type=g.c||g.gc||g.bc||g.ac?2:-1):g.type=g.c||g.gc||g.bc?1:-1;else{k=s.replace(h, "");if(""===s||"auto"===s)if("width"===e||"height"===e){l=e;k=c;s=b;j=parseFloat("width"===l?k.offsetWidth:k.offsetHeight);l=I[l];var p=l.length;for(s=s||y(k,null);-1<--p;)j-=parseFloat(D(k,"padding"+l[p],s,!0))||0,j-=parseFloat(D(k,"border"+l[p]+"Width",s,!0))||0;k="px"}else j="opacity"!==e?0:1;else j=-1===s.indexOf(" ")?parseFloat(s.replace(f,"")):NaN;"string"===typeof o?(s="="===o.charAt(1),l=o.replace(h,""),o=-1===o.indexOf(" ")?parseFloat(o.replace(f,"")):NaN):(s=!1,l="");""===l&&(l=r[e]||k); g.e=o||0===o?(s?o+j:o)+l:a[e];if(k!==l&&""!==l&&(o||0===o))if(j||0===j)if(j=i(c,e,j,k),"%"===l?(j/=i(c,e,100,"%")/100,100<j&&(j=100)):"em"===l?j/=i(c,e,1,"em"):(o=i(c,e,o,l),l="px"),s&&(o||0===o))g.e=o+j+l;
21if((j||0===j)&&(o||0===o)&&(g.c=s?o:o-j))if(g.s=j,g.sfx=l,"opacity"===e)t||(g.type=4,g.p="filter",g.b="alpha(opacity="+100*g.s+")",g.e="alpha(opacity="+100*(g.s+g.c)+")",g.dup=null!=a.autoAlpha,this._style.zoom=1);else{if(!1!==a.autoRound&&("px"===l||"zIndex"===e))g.r=!0}else g.type=-1,g.i=g.e, g.s=g.c=0}this._overwriteProps.push("css_"+e);g._next&&(g._next._prev=g)}};d._parseTransform=function(i,a,c){if(!this._transform){var c=this._transform=G(i,c,!0),b=this._style,e,d;if("object"===typeof a){i={scaleX:r(null!=a.scaleX?a.scaleX:a.scale,c.scaleX),scaleY:r(null!=a.scaleY?a.scaleY:a.scale,c.scaleY),x:r(a.x,c.x),y:r(a.y,c.y)};null!=a.shortRotation?(i.rotation="number"===typeof a.shortRotation?a.shortRotation*B:o(a.shortRotation,c.rotation),e=(i.rotation-c.rotation)%(2*Math.PI),e!==e%Math.PI&& (e+=Math.PI*(0>e?2:-2)),i.rotation=c.rotation+e):i.rotation=null==a.rotation?c.rotation:"number"===typeof a.rotation?a.rotation*B:o(a.rotation,c.rotation);i.skewX=null==a.skewX?c.skewX:"number"===typeof a.skewX?a.skewX*B:o(a.skewX,c.skewX);i.skewY=null==a.skewY?c.skewY:"number"===typeof a.skewY?a.skewY*B:o(a.skewY,c.skewY);if(e=i.skewY-c.skewY)i.skewX+=e,i.rotation+=e;1.0E-6>i.skewY&&-1.0E-6<i.skewY&&(i.skewY=0);1.0E-6>i.skewX&&-1.0E-6<i.skewX&&(i.skewX=0);1.0E-6>i.rotation&&-1.0E-6<i.rotation&&(i.rotation= 0);if(null!=(a=a.transformOrigin))v?(d=v+"Origin",this._firstPT=a={_next:this._firstPT,t:b,p:d,s:0,c:0,n:d,f:!1,r:!1,b:b[d],e:a,i:a,type:-1,sfx:""},a._next&&(a._next._prev=a)):n(a,c)}else if("string"===typeof a&&v)e=b[v],b[v]=a,i=G(i,null,!1),b[v]=e;else return;v?"WebkitTransform"===v&&(b[v+"Style"]="preserve-3d"):b.zoom=1;for(d in q)c[d]!==i[d]&&("shortRotation"!==d&&"scale"!==d)&&(this._firstPT=a={_next:this._firstPT,t:c,p:d,s:c[d],c:i[d]-c[d],n:d,f:!1,r:!1,b:c[d],e:i[d],type:0,sfx:0},a._next&& (a._next._prev=a),this._overwriteProps.push("css_"+d))}};d.setRatio=function(c){var b=this._firstPT,r=1.0E-6,n,d;if(1===c&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;b;)b.t[b.p]=b.e,4===b.type&&1===b.s+b.c&&this._style.removeAttribute("filter"),b=b._next;else if(c||!(this._tween._time===this._tween._duration||0===this._tween._time))for(;b;)n=b.c*c+b.s,b.r?n=0<n?n+0.5>>0:n-0.5>>0:n<r&&n>-r&&(n=0),b.type?1===b.type?b.t[b.p]="rgb("+(n>>0)+", "+(b.gs+c*b.gc>>0)+", "+(b.bs+ c*b.bc>>0)+")":2===b.type?b.t[b.p]="rgba("+(n>>0)+", "+(b.gs+c*b.gc>>0)+", "+(b.bs+c*b.bc>>0)+", "+(b.as+c*b.ac)+")":-1===b.type?b.t[b.p]=b.i:3===b.type?(d=b.ys+c*b.yc,b.r&&(d=0<d?d+0.5>>0:d-0.5>>0),b.t[b.p]=n+b.sfx+" "+d+b.ysfx):(b.dup&&(b.t.filter=b.t.filter||"alpha(opacity=100)"),b.t.filter=-1===b.t.filter.indexOf("opacity=")?b.t.filter+(" alpha(opacity="+(100*n>>0)+")"):b.t.filter.replace(a,"opacity="+(100*n>>0))):b.t[b.p]=n+b.sfx,b=b._next;else for(;b;)b.t[b.p]=b.b,4===b.type&&1===b.s&&this._style.removeAttribute("filter"), b=b._next;if(this._transform)if(b=this._transform,v&&!b.rotation)this._style[v]=(b.x||b.y?"translate("+b.x+"px,"+b.y+"px) ":"")+(b.skewX?"skewX("+b.skewX+"rad) ":"")+(1!==b.scaleX||1!==b.scaleY?"scale("+b.scaleX+","+Math.cos(b.skewX)*b.scaleY+")":"")||"translate(0px,0px)";else{var e=v?b.rotation:-b.rotation,q=v?e-b.skewX:e+b.skewX;d=Math.cos(e)*b.scaleX;var e=Math.sin(e)*b.scaleX,f=Math.sin(q)*-b.scaleY,q=Math.cos(q)*b.scaleY,g;e<r&&e>-r&&(e=0);f<r&&f>-r&&(f=0);if(v)this._style[v]="matrix("+d+","+ e+","+f+","+q+","+b.x+","+b.y+")";else if(g=this._target.currentStyle){r=e;e=-f;f=-r;r=this._style.filter;this._style.filter="";n=this._target.offsetWidth;var o=this._target.offsetHeight,s="absolute"!==g.position,k="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+e+", M21="+f+", M22="+q,l=b.x,j=b.y,m,p;null!=b.ox&&(m=(b.oxp?0.01*n*b.ox:b.ox)-n/2,p=(b.oyp?0.01*o*b.oy:b.oy)-o/2,l=m-(m*d+p*e)+b.x,j=p-(m*f+p*q)+b.y);if(s)m=n/2,p=o/2,k+=", Dx="+(m-(m*d+p*e)+l)+", Dy="+(p-(m*f+p*q)+j)+")";else{s= 4;m=b.ieOffsetX||0;p=b.ieOffsetY||0;b.ieOffsetX=Math.round((n-((0>d?-d:d)*n+(0>e?-e:e)*o))/2+l);for(b.ieOffsetY=Math.round((o-((0>q?-q:q)*o+(0>f?-f:f)*n))/2+j);-1<--s;)o=H[s],n=g[o],n=-1!==n.indexOf("px")?parseFloat(n):i(this._target,o,parseFloat(n),n.replace(h,""))||0,this._style[o]=Math.round(n-(2>s?m-b.ieOffsetX:p-b.ieOffsetY))+"px";k+=",sizingMethod='auto expand')"}this._style.filter=-1!==r.indexOf("progid:DXImageTransform.Microsoft.Matrix(")?r.replace(A,k):r+" "+k;
21if(0===c||1===c)1===d&&0=== e&&0===f&&1===q&&(!a.test(r)||100===parseFloat(RegExp.$1))&&this._style.removeAttribute("filter")}}if(this._classData)if(b=this._classData,1===c&&(this._tween._time===this._tween._duration||0===this._tween._time)){for(s=b.props.length;-1<--s;)this._style[b.props[s]]="";this._target.className=b.e}else this._target.className!==b.b&&(this._target.className=b.b)};d._kill=function(i){var a=i,b;if(i.autoAlpha||i.alpha){a={};for(b in i)a[b]=i[b];a.opacity=1;a.autoAlpha&&(a.visibility=1)}return g.prototype._kill.call(this, a)};g.activate([k]);return k},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(g){var k=function(){g.call(this,"roundProps",-1);this._overwriteProps.pop()},d=k.prototype=new g("roundProps",-1);d.constructor=k;k.API=2;d._onInitTween=function(d,g,c){this._tween=c;return!0};d._onInitAllProps=function(){for(var d=this._tween.vars.roundProps instanceof Array?this._tween.vars.roundProps:this._tween.vars.roundProps.split(","),g=d.length,c={},a,b;-1<--g;)c[d[g]]=1;for(g=d.length;-1< --g;){a=d[g];for(b=this._tween._firstPT;b;)b.pg?b.t._roundProps(c,!0):b.n==a&&(this._add(b.t,a,b.s,b.c),b._next&&(b._next._prev=b._prev),b._prev?b._prev._next=b._next:_tween._firstPT===b&&(this._tween._firstPT=b._next),b._next=b._prev=null,this._tween._propLookup[a]=this),b=b._next}return!1};d._add=function(d,g,c,a){this._addTween(d,g,c,c+a,g,!0);this._overwriteProps.push(g)};g.activate([k]);return k},!0);_gsDefine("easing.Back",["easing.Ease"],function(g){var k=window.com.greensock._class,d=function(a, b){var c=k("easing."+a,function(){},!0),d=c.prototype=new g;d.constructor=c;d.getRatio=b;return c},f=function(a,b){var c=k("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new g;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},h=f("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),c=f("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),f=f("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)* a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),a=d("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),b=d("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),e=d("BounceInOut",function(a){var b=0.5>a,a=b?1-2*a:2*a-1,a=a<1/2.75?7.5625*a*a:a<2/2.75? 7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),l=d("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j=d("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),u=d("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),z=2*Math.PI,A=function(a,b,c){var d=k("easing."+a,function(a,b){a=a||0;this._p1=!a||1>a?1:a;this._p2=b||c;this._p3=this._p2/z*Math.asin(1/this._p1)},!0), a=d.prototype=new g;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},B=A("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*z/this._p2)+1},0.3),w=A("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*z/this._p2))},0.3),A=A("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*z/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*z/this._p2)+ 1},0.45),p=d("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),t=d("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),m=d("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),x=Math.PI/2,y=d("SineOut",function(a){return Math.sin(a*x)}),D=d("SineIn",function(a){return-Math.cos(a*x)+1}),d=d("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),C=k("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=1);this._p=1!=a?b||0===b?b:0.7:0;this._p1= (1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0==c},!0),E=C.prototype=new g;
21E.constructor=C;E.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};C.ease=new C(0.7,0.7);E.config=function(a,b,c){return new C(a,b,c)};k("easing.Bounce",{easeOut:new a,easeIn:new b,easeInOut:new e},!0);k("easing.Circ",{easeOut:new l, easeIn:new j,easeInOut:new u},!0);k("easing.Elastic",{easeOut:new B,easeIn:new w,easeInOut:new A},!0);k("easing.Expo",{easeOut:new p,easeIn:new t,easeInOut:new m},!0);k("easing.Sine",{easeOut:new y,easeIn:new D,easeInOut:new d},!0);return{easeOut:new h,easeIn:new c,easeInOut:new f}},!0)}); (function(g){var k=function(a){var a=a.split("."),b=g,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},d=k("com.greensock"),f,h,c,a,b={},e=function(a,c,r,d){this.sc=b[a]?b[a].sc:[];b[a]=this;this.gsClass=null;this.def=r;var f=c||[],h=[];this.check=function(c){for(var n=f.length,l=0,j;-1<--n;)(j=b[f[n]]||new e(f[n])).gsClass?h[n]=j.gsClass:(l++,c&&j.sc.push(this));if(0===l&&r){var c=("com.greensock."+a).split("."),n=c.pop(),m=k(c.join("."))[n]=this.gsClass=r.apply(r,h);d&&((g.GreenSockGlobals|| g)[n]=m,"function"===typeof define&&define.amd?define((g.GreenSockAMDPath?g.GreenSockAMDPath+"/":"")+a.split(".").join("/"),[],function(){return m}):"undefined"!==typeof module&&module.exports&&(module.exports=m));for(n=0;n<this.sc.length;n++)this.sc[n].check(!1)}};this.check(!0)},l=d._class=function(a,b,c){new e(a,[],function(){return b},c);return b};g._gsDefine=function(a,b,c,d){return new e(a,b,c,d)};var j=[0,0,1,1],u=[],z=l("easing.Ease",function(a,b,c,d){this._func=a;this._type=c||0;this._power= d||0;this._params=b?j.concat(b):j},!0);c=z.prototype;c._calcEnd=!1;c.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:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};f=["Linear","Quad","Cubic","Quart","Quint"];for(h=f.length;-1<--h;)c=l("easing."+f[h],function(){},!0),a=l("easing.Power"+h,function(){},!0),c.easeOut=a.easeOut=new z(null, null,1,h),c.easeIn=a.easeIn=new z(null,null,2,h),c.easeInOut=a.easeInOut=new z(null,null,3,h);l("easing.Strong",d.easing.Power4,!0);d.easing.Linear.easeNone=d.easing.Linear.easeIn;c=l("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this}).prototype;c.addEventListener=function(a,b,c,d,e){var e=e||0,g=this._listeners[a],f=0,h;null==g&&(this._listeners[a]=g=[]);for(h=g.length;-1<--h;)a=g[h],a.c===b?g.splice(h,1):0===f&&a.pr<e&&(f=h+1);g.splice(f,0,{c:b,s:c,up:d,pr:e})};c.removeEventListener= function(a,b){var c=this._listeners[a];if(c)for(var d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};c.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d,e=this._eventTarget;-1<--c;)d=b[c],d.up?d.c.call(d.s||e,{type:a,target:e}):d.c.call(d.s||e)};var A=g.requestAnimationFrame,B=g.cancelAnimationFrame,w=Date.now||function(){return(new Date).getTime()};f=["ms","moz","webkit","o"];for(h=f.length;-1<--h&&!A;)A=g[f[h]+"RequestAnimationFrame"],B=g[f[h]+"CancelAnimationFrame"]|| g[f[h]+"CancelRequestAnimationFrame"];B||(B=function(a){g.clearTimeout(a)});l("Ticker",function(a,b){this.frame=this.time=0;var c=this,d=w(),e=!1!==b,f,h,k,l,j;this.tick=function(){c.time=(w()-d)/1E3;if(!f||c.time>=j)c.frame++,j=c.time+l-(c.time-j)-5.0E-4,j<=c.time&&(j=c.time+0.001),c.dispatchEvent("tick");k=h(c.tick)};this.fps=function(a){if(!arguments.length)return f;f=a;l=1/(f||60);j=this.time+l;h=0===f?function(){}:!e||!A?function(a){return g.setTimeout(a,1E3*(j-c.time)+1>>0||1)}:A;B(k);k=h(c.tick)}; this.useRAF=function(a){if(!arguments.length)return e;e=a;this.fps(f)};this.fps(a)});c=d.Ticker.prototype=new d.events.EventDispatcher;c.constructor=d.Ticker;var p=l("core.Animation",function(a,b){this.vars=b||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0==this.vars.immediateRender;this.data=this.vars.data;this._reversed=!0==this.vars.reversed;if(F){var c=this.vars.useFrames?q:F;c.insert(this,c._time);this.vars.paused&&this.paused(!0)}}), t=p.ticker=new d.Ticker;c=p.prototype;c._dirty=c._gc=c._initted=c._paused=!1;c._totalTime=c._time=0;c._rawPrevTime=-1;c._next=c._last=c._onUpdate=c._timeline=c.timeline=null;c._paused=!1;c.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};c.pause=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!0)};c.resume=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!1)};c.seek=function(a,b){return this.totalTime(Number(a),!1!=b)}; c.restart=function(a,b){this.reversed(!1);this.paused(!1);return this.totalTime(a?-this._delay:0,!1!=b)};c.reverse=function(a,b){arguments.length&&this.seek(a||this.totalDuration(),b);this.reversed(!0);return this.paused(!1)};c.render=function(){};c.invalidate=function(){return this};c._enabled=function(a,b){this._gc=!a;this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration;!0!=b&&(a&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay):!a&&null!= this.timeline&&this._timeline._remove(this,!0));return!1};
21c._kill=function(){return this._enabled(!1,!1)};c.kill=function(a,b){this._kill(a,b);return this};c._uncache=function(a){for(a=a?this:this.timeline;a;)a._dirty=!0,a=a.timeline;return this};c.eventCallback=function(a,b,c,d){if(null==a)return null;if("on"===a.substr(0,2)){if(1===arguments.length)return this.vars[a];if(null==b)delete this.vars[a];else if(this.vars[a]=b,this.vars[a+"Params"]=c,this.vars[a+"Scope"]=d,c)for(var e=c.length;-1<--e;)"{self}"=== c[e]&&(c=this.vars[a+"Params"]=c.concat(),c[e]=this);"onUpdate"===a&&(this._onUpdate=b)}return this};c.delay=function(a){if(!arguments.length)return this._delay;this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay);this._delay=a;return this};c.duration=function(a){if(!arguments.length)return this._dirty=!1,this._duration;this._duration=this._totalDuration=a;this._uncache(!0);this._timeline.smoothChildTiming&&this._active&&0!=a&&this.totalTime(this._totalTime*(a/this._duration), !0);return this};c.totalDuration=function(a){this._dirty=!1;return!arguments.length?this._totalDuration:this.duration(a)};c.time=function(a,b){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);return this.totalTime(a,b)};c.totalTime=function(a,b){if(!arguments.length)return this._totalTime;if(this._timeline){0>a&&(a+=this.totalDuration());if(this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),a>this._totalDuration&&(a=this._totalDuration), this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(!this._reversed?a:this._totalDuration-a)/this._timeScale,this._timeline._dirty||this._uncache(!1),!this._timeline._active))for(var c=this._timeline;c._timeline;)c.totalTime(c._totalTime,!0),c=c._timeline;this._gc&&this._enabled(!0,!1);this._totalTime!=a&&this.render(a,b,!1)}return this};c.startTime=function(a){if(!arguments.length)return this._startTime;a!=this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&& this.timeline.insert(this,a-this._delay));return this};c.timeScale=function(a){if(!arguments.length)return this._timeScale;a=a||1.0E-6;if(this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime||0==this._pauseTime?this._pauseTime:this._timeline._totalTime;this._startTime=b-(b-this._startTime)*this._timeScale/a}this._timeScale=a;return this._uncache(!1)};c.reversed=function(a){if(!arguments.length)return this._reversed;a!=this._reversed&&(this._reversed=a,this.totalTime(this._totalTime, !0));return this};c.paused=function(a){if(!arguments.length)return this._paused;a!=this._paused&&this._timeline&&(!a&&this._timeline.smoothChildTiming&&(this._startTime+=this._timeline.rawTime()-this._pauseTime,this._uncache(!1)),this._pauseTime=a?this._timeline.rawTime():null,this._paused=a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};d=l("core.SimpleTimeline",function(a){p.call(this,0,a);this.autoRemoveChildren= this.smoothChildTiming=!0});c=d.prototype=new p;c.constructor=d;c.kill()._gc=!1;c._first=c._last=null;c._sortChildren=!1;c.insert=function(a,b){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);var c=this._last;if(this._sortChildren)for(var d=a._startTime;c&&c._startTime>d;)c=c._prev;c?(a._next=c._next,c._next=a):(a._next= this._first,this._first=a);a._next?a._next._prev=a:this._last=a;a._prev=c;this._timeline&&this._uncache(!0);return this};c._remove=function(a,b){a.timeline===this&&(b||a._enabled(!1,!0),a.timeline=null,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),this._timeline&&this._uncache(!0));return this};c.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active|| a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};c.rawTime=function(){return this._totalTime};var m=l("TweenLite",function(a,b,c){p.call(this,b,c);if(null==a)throw"Cannot tween an undefined reference.";this.target=a;
21this._overwrite=null==this.vars.overwrite?E[m.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:E[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=v(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&G(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=v(a,this,!1),1===this._overwrite&&1<this._siblings.length&&G(a,this,null,1,this._siblings); (this.vars.immediateRender||0===b&&0===this._delay&&!1!=this.vars.immediateRender)&&this.render(0,!1,!0)},!0);c=m.prototype=new p;c.constructor=m;c.kill()._gc=!1;c.ratio=0;c._firstPT=c._targets=c._overwrittenProps=null;c._notifyPluginsOfEnabled=!1;m.version=12;m.defaultEase=c._ease=new z(null,null,1,1);m.defaultOverwrite="auto";m.ticker=t;var x=m._plugins={},y={},D=0,C={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,orientToBezier:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1},E={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},q=p._rootFramesTimeline=new d,F=p._rootTimeline=new d;F._startTime=t.time;q._startTime=t.frame;F._active=q._active=!0;p._updateRoot=function(){F.render((t.time- F._startTime)*F._timeScale,!1,!1);q.render((t.frame-q._startTime)*q._timeScale,!1,!1);if(!(t.frame%120)){var a,b,c;for(c in y){b=y[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete y[c]}}};t.addEventListener("tick",p._updateRoot);var v=function(a,b,c){var d=a._gsTweenID,e;if(!y[d||(a._gsTweenID=d="t"+D++)])y[d]={target:a,tweens:[]};if(b&&(a=y[d].tweens,a[e=a.length]=b,c))for(;-1<--e;)a[e]===b&&a.splice(e,1);return y[d].tweens},G=function(a,b,c,d,e){var g,f,h;if(1===d|| 4<=d){a=e.length;for(g=0;g<a;g++)if((h=e[g])!==b)h._gc||h._enabled(!1,!1)&&(f=!0);else if(5===d)break;return f}var j=b._startTime+1.0E-10,k=[],l=0,m;for(g=e.length;-1<--g;)if(!((h=e[g])===b||h._gc||h._paused))h._timeline!==b._timeline?(m=m||I(b,0),0===I(h,m)&&(k[l++]=h)):h._startTime<=j&&h._startTime+h.totalDuration()/h._timeScale+1.0E-10>j&&((0===b._duration||!h._initted)&&2.0E-10>=j-h._startTime||(k[l++]=h));for(g=l;-1<--g;)if(h=k[g],2===d&&h._kill(c,a)&&(f=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1, !1)&&(f=!0);return f},I=function(a,b){for(var c=a._timeline,d=c._timeScale,e=a._startTime;c._timeline;){e+=c._startTime;d*=c._timeScale;if(c._paused)return-100;c=c._timeline}e/=d;return e>b?e-b:!a._initted&&2.0E-10>e-b?1.0E-10:(e=e+a.totalDuration()/a._timeScale/d+1.0E-10)>b?0:e-b-1.0E-10};c._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,m.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof z?this.vars.easeParams instanceof Array?this.vars.ease.config.apply(this.vars.ease,this.vars.easeParams):this.vars.ease:"function"===typeof this.vars.ease?new z(this.vars.ease,this.vars.easeParams):m.defaultEase;this._easeType=this._ease._type;this._easePower=this._ease._power;this._firstPT=null;if(this._targets)for(a=this._targets.length;-1<--a;){if(this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],this._overwrittenProps?this._overwrittenProps[a]:null))b=!0}else b=this._initProps(this.target,this._propLookup, this._siblings,this._overwrittenProps);b&&m._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(a=this._firstPT;a;)a.s+=a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};c._initProps=function(a,b,c,d){var e,g,f,h,j;if(null==a)return!1;
21for(e in this.vars){if(C[e]){if("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"=== e||"onRepeatParams"===e)if(j=this.vars[e])for(g=j.length;-1<--g;)"{self}"===j[g]&&(j=this.vars[e]=j.concat(),j[g]=this)}else if(x[e]&&(h=new x[e])._onInitTween(a,this.vars[e],this)){this._firstPT={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:!0,n:e,pg:!0,pr:h._priority};for(g=h._overwriteProps.length;-1<--g;)b[h._overwriteProps[g]]=this._firstPT;if(h._priority||h._onInitAllProps)f=!0;if(h._onDisable||h._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[e]={_next:this._firstPT,t:a,p:e, f:"function"===typeof a[e],n:e,pg:!1,pr:0},this._firstPT.s=!this._firstPT.f?parseFloat(a[e]):a[e.indexOf("set")||"function"!==typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)](),this._firstPT.c="number"===typeof this.vars[e]?this.vars[e]-this._firstPT.s:"string"===typeof this.vars[e]?parseFloat(this.vars[e].split("=").join("")):0;this._firstPT&&this._firstPT._next&&(this._firstPT._next._prev=this._firstPT)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&& G(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):f};c.render=function(a,b,c){var d=this._time,e,g;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(e=!0,g="onComplete"),0===this._duration){if(0===a||0>this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&& 0<this._rawPrevTime)g="onReverseComplete",e=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var f=a/this._duration,h=this._easeType,j=this._easePower;if(1===h||3===h&&0.5<=f)f=1-f;3===h&&(f*=2);1===j?f*=f:2===j?f*=f*f:3===j?f*=f*f*f:4===j&&(f*=f*f*f*f);this.ratio=1===h?1-f:2===h?f:0.5>a/this._duration?f/2:1-f/2}else this.ratio=this._ease.getRatio(a/this._duration); if(this._time!==d||c){this._initted||(this._init(),!e&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===d&&this.vars.onStart&&(0!==this._time||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||u);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams|| u));g&&!this._gc&&(e&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[g]&&this.vars[g].apply(this.vars[g+"Scope"]||this,this.vars[g+"Params"]||u))}};c._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b==this.target))return this._enabled(!1,!1);var b=b||this._targets||this.target,c,d,e,f,g,h,j;if((b instanceof Array||b.jquery)&&"object"===typeof b[0])for(c=b.length;-1<--c;)this._kill(a,b[c])&&(g=!0);else{if(this._targets)for(c=this._targets.length;-1< --c;){if(b===this._targets[c]){f=this._propLookup[c]||{};this._overwrittenProps=this._overwrittenProps||[];d=this._overwrittenProps[c]=a?this._overwrittenProps[c]||{}:"all";break}}else{if(b!==this.target)return!1;f=this._propLookup;d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(f)for(e in h=a||f,j=a!=d&&"all"!=d&&a!=f&&(null==a||!0!=a._tempKill),h){if(c=f[e]){c.pg&&c.t._kill(h)&&(g=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT= c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete f[e]}j&&(d[e]=1)}}return g};c.invalidate=function(){this._notifyPluginsOfEnabled&&m._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=!1;this._propLookup=this._targets?{}:[];return this};c._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=v(this._targets[c],this,!0);else this._siblings= v(this.target,this,!0);p.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?m._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};m.to=function(a,b,c){return new m(a,b,c)};m.from=function(a,b,c){c.runBackwards=!0;!1!=c.immediateRender&&(c.immediateRender=!0);return new m(a,b,c)};m.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new m(a,b,d)};m.delayedCall=function(a,b,c,d,e){return new m(b,0,{delay:a,onComplete:b,onCompleteParams:c, onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})};m.set=function(a,b){return new m(a,0,b)};m.killTweensOf=m.killDelayedCallsTo=function(a,b){for(var c=m.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,a)};
21m.getTweensOf=function(a){if(null!=a){var b,c,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){b=a.length;for(c=[];-1<--b;)c=c.concat(m.getTweensOf(a[b]));for(b=c.length;-1<--b;){d=c[b];for(a=b;-1<--a;)d=== c[a]&&c.splice(b,1)}}else{c=v(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var H=l("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);c=H.prototype;H.version=12;H.API=2;c._firstPT=null;c._addTween=function(a,b,c,d,e,f){var g;if(null!=d&&(g="number"===typeof d||"="!==d.charAt(1)?Number(d)-c:Number(d.split("=").join(""))))this._firstPT={_next:this._firstPT,t:a,p:b,s:c,c:g,f:"function"== typeof a[b],n:e||b,r:f},this._firstPT._next&&(this._firstPT._next._prev=this._firstPT)};c.setRatio=function(a){for(var b=this._firstPT,c;b;){c=b.c*a+b.s;b.r&&(c=c+(0<c?0.5:-0.5)>>0);if(b.f)b.t[b.p](c);else b.t[b.p]=c;b=b._next}};c._kill=function(a){if(null!=a[this._propName])this._overwriteProps=[];else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&((b._next&&(b._next._prev=b._prev),b._prev)?(b._prev._next= b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};c._roundProps=function(a,b){for(var c=this._firstPT;c;){if(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])c.r=b;c=c._next}};m._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===a){for(var e,f,g,h;c;){h=c._next;for(e=f;e&&e.pr>c.pr;)e=e._next;(c._prev=e?e._prev:g)?c._prev._next=c:f=c;(c._next=e)?e._prev=c:g=c;c=h}c=b._firstPT=f}for(;c;)c.pg&&"function"===typeof c.t[a]&& c.t[a]()&&(d=!0),c=c._next;return d};H.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===H.API&&(m._plugins[(new a[b])._propName]=a[b]);return!0};if(f=g._gsQueue){for(h=0;h<f.length;h++)f[h]();for(c in b)b[c].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+c)}})(window); 22var general = { 23 24 init : function () { 25 general.fixGridHeight(); 26 27 }, fixGridHeight : function () { 28 window.clearTimeout(resizeTimeOut); 29 console.log('FixGridHeight'); 30 31 $('.defaultbox').css("min-height", 0); 32 $('.graycontent').css("min-height", 0); 33 34 // get max height and set it based on rows 35 var maxHeight = 0; 36 $('.content-row').each(function (index) { 37 maxHeight = 0; 38 $(this).find('.defaultbox').each(function (index) { 39 if (parseInt($(this).css("height")) > maxHeight) 40 maxHeight = parseInt($(this).css("height")); 41 }); 42 43 // set same height 44 $(this).find('.defaultbox').css("min-height", maxHeight); 45 var gh = maxHeight - 30; 46 if (gh < 360) gh = 360; 47 $(this).find('.graycontent').css("min-height", gh); 48 console.log('maxHeight: ' + maxHeight) 49 }); 50 51 } 52 53} 54 55jQuery(document).ready(general.init); 56 57$(window).load(function () { 58 general.fixGridHeight(); 59}); 60 61// BG IMAGE FADER (Requires tweenmax to be initiated) 62var FMImageFader = ( function () { 63 // Image variables 64 var _imageTime = 1.5; 65 var _imageDelay = 0; 66 var _delay = 5; 67 68 // images 69 var _images = []; 70 var _loadedImages = []; 71 72 // active image 73 var _activeImage = -1; 74 var _baseUrl = ''; 75 76 // Animation holders 77 var _target; 78 var _animation; 79 var _call; 80 81 var _debug = false; 82 83 var _loaded = false; 84 85 function initialize(target, images, time, delay, imageDelay, baseUrl) { 86 _target = target; 87 _images = images; 88 89 if (time !== undefined) { 90 _imageTime = time; 91 } 92 if (delay !== undefined) { 93 _delay = delay; 94 } 95 if (imageDelay !== undefined) { 96 _imageDelay = imageDelay; 97 } 98 99 if (baseUrl !== undefined) { 100 _baseUrl = baseUrl; 101 } 102 103 if (_debug) { 104 console.log('FMImageFader || Initialized: ' + _target + ', time: ' + _imageTime + ', delay: ' + _delay + ', image delay: ' + _imageDelay); 105 } 106 _loaded = false; 107 108 preload(); 109 } 110 111 function preload() { 112 113 for (var i = 0; i < _images.length; i++) { 114 var img = new Image(); 115 img.src = _baseUrl + _images[i]; 116 img.onLoad = imageLoaded(_images[i]); 117 } 118 } 119 120 function imageLoaded(src) { 121 if (_debug) { 122 console.log('FMImageFader || image loaded: ' + src); 123 } 124 _loadedImages.push(src); 125 126 if (_loadedImages.length == _images.length) { 127 _loaded = true; 128 startShow(); 129 } 130 } 131 132 function startShow() { 133 stopShow(); 134 if (_debug) { 135 console.log('FMImageFader || Started'); 136 } 137 TweenMax.to($(_target), 0, { 138 css : { 139 autoAlpha : 0 140 }, delay : 0 141 }); 142 143 changeImage(); 144 145 } 146 147 function stopShow() { 148 if (_debug) { 149 console.log('FMImageFader || Stopped'); 150 } 151 if (_call) 152 _call.kill(); 153 154 if (_animation) 155 _animation.kill(); 156 157 } 158 159 function changeImage() { 160 if (_debug) { 161 console.log('FMImageFader || Change Image : ' + _activeImage); 162 } 163 _activeImage = _activeImage + 1; 164 165 if (_activeImage > _loadedImages.length - 1) 166 _activeImage = 0; 167 _animation = TweenMax.to($(_target), _imageTime, { 168 css : { 169 autoAlpha : 0 170 }, delay : _imageDelay, onComplete : showImage 171 }); 172 173 } 174 175 function showImage() { 176 177 $(_target).css('background', 'url(' + _baseUrl + _loadedImages[_activeImage] + ') no-repeat top center'); 178 179 if (_debug) { 180 console.log('FMImageFader || show Image : ' + _baseUrl + _loadedImages[_activeImage]); 181 } 182 _animation = TweenMax.to($(_target), _imageTime, { 183 css : { 184 autoAlpha : 1 185 }, delay : _imageDelay 186 }); 187 _call = TweenMax.delayedCall(_delay, changeImage); 188 189 } 190 191 function resetShow() { 192 stopShow(); 193 _activeImage = -1; 194 } 195 196 return { 197 init : initialize, start : startShow, stop : stopShow, reset : resetShow 198 } 199}()); 200 201// BG LIST ANIMATOR FADER (Requires tweenmax to be initiated) 202var FMListAnimator = function () { 203 var INST = this; 204 // Image variables 205 var _time = 1.5;
206 var _delay = 0; 207 var _changeDelay = 5; 208 209 // images 210 var _items = []; 211 212 // active image 213 var _active = 0; 214 var _baseUrl = ''; 215 216 // Animation holders 217 var _target; 218 var _animation; 219 var _call; 220 221 var _debug = false; 222 223 var _loaded = false; 224 225 function initialize(target, items, time, delay, itemDelay, baseUrl) { 226 _target = target; 227 _items = items; 228 _items = $.makeArray($(target).find(items)); 229 230 if (time !== undefined) { 231 _time = time; 232 } 233 if (delay !== undefined) { 234 _changeDelay = delay; 235 } 236 if (itemDelay !== undefined) { 237 _delay = itemDelay; 238 } 239 240 if (baseUrl !== undefined) { 241 _baseUrl = baseUrl; 242 } 243 244 if (_debug) { 245 console.log('FMListAnimator|| Initialized: ' + _target + ', time: ' + _time + ', change delay: ' + _changeDelay + ', item delay: ' + _delay); 246 } 247 _loaded = false; 248 249 // Hide elements and subelements 250 $(_items).hide(); 251 $(_items).find('li').css('opacity', 0); 252 } 253 254 function startShow() { 255 stopShow(); 256 if (_debug) { 257 console.log('FMListAnimator || Started'); 258 } 259 changeList(); 260 } 261 262 function stopShow() { 263 if (_debug) { 264 console.log('FMListAnimator || Stopped'); 265 } 266 if (_call) 267 _call.kill(); 268 269 if (_animation) 270 _animation.kill(); 271 } 272 273 function changeList() { 274 if (_debug) { 275 console.log('FMListAnimator || Change Image : ' + _active); 276 } 277 278 $(_items[_active]).find('li').each(function (index, item) { 279 TweenMax.to($(item), _time / 2, { 280 css : { 281 autoAlpha : 0, marginLeft : "20px" 282 }, delay : index * (_time / 2) / 10 283 }); 284 }); 285 286 // Animating header 287 var $target = $(_target).parent().parent().find('.accent'); 288 TweenMax.to($target, _time / 2, { 289 css : { 290 autoAlpha : 0, paddingLeft : "20px" 291 }, delay : 0 292 }); 293 _animation = TweenMax.delayedCall(_time + _delay, showList); 294 } 295 296 function showList() { 297 if (_debug) { 298 console.log('FMListAnimator || show List : ' + _active + ', length: ' + _items.length); 299 } 300 301 $(_items[_active]).css('display', 'none'); 302 _active = _active + 1; 303 if (_active > _items.length - 1) 304 _active = 0; 305 306 $(_items[_active]).css('display', 'block'); 307 308 var $target = $(_target).parent().parent().find('.accent'); 309 $target.css('paddingLeft', '0px'); 310 $target.html($(_items[_active]).attr("data-header")); 311 312 // Animating header 313 TweenMax.to($target, _time / 2, { 314 css : {
315 autoAlpha : 1, paddingLeft : "0px" 316 }, delay : 0 317 }); 318 319 $(_items[_active]).find('li').each(function (index, item) { 320 $(item).css('marginLeft', '-20px'); 321 TweenMax.to($(item), _time / 2, { 322 css : { 323 autoAlpha : 1, marginLeft : "0px" 324 }, delay : index * (_time / 2) / 10 325 }); 326 }); 327 328 _call = TweenMax.delayedCall(_changeDelay, changeList); 329 330 } 331 332 function resetShow() { 333 stopShow(); 334 _active = 0; 335 } 336 337 return { 338 init : initialize, start : startShow, stop : stopShow, reset : resetShow 339 } 340}; 341 342var resizeTimeOut; 343// Resizing handler 344$(window).resize(function () { 345 window.clearTimeout(resizeTimeOut); 346 resizeTimeOut = window.setTimeout(general.fixGridHeight, 100); 347}); 348 349jQuery(document).ready(function () { 350 351 // ********** best test scores 352 var _animator1 = new FMListAnimator(); 353 354 var _lists = []; 355 _lists.push({list : "https://www.3dmark.com/proxycon/ajax/halloffame2/steel+nomad+3dmark+score+vulkan+preset/version+1.0/?resultCount=10", target : "#listAnimator", heading : "Best 3DMark Steel Nomad Vulkan results "}); 356 _lists.push({list : "https://www.3dmark.com/proxycon/ajax/halloffame2/solar+bay+3dmark+score+performance+preset/version+1.0/?resultCount=10", target : "#listAnimator", heading : "Best 3DMark Solar Bay results "}); 357 _lists.push({list : "https://www.3dmark.com/proxycon/ajax/halloffame2/speed+way+3dmark+score+performance+preset/version+1.0/?resultCount=10", target : "#listAnimator", heading : "Best 3DMark Speed Way results "}); 358 _lists.push({list : "https://www.3dmark.com/proxycon/ajax/halloffame2/timespy+3dmark+score+performance+preset/version+1.0/?resultCount=10", target : "#listAnimator", heading : "Best 3DMark Time Spy results "}); 359 360 var _loaded = 0; 361 362 for (var i = 0; i < _lists.length; i++) { 363 loadList(_lists[i].list, _lists[i].target, _lists[i].heading); 364 } 365 366 function loadList(url, target, header) { 367 $.ajax({ 368 url : url, 369 datatype : "json", 370 timeout : 25000, 371 success : function (data) { 372 renderList(data, target, header); 373 }, 374 error : function (x, t, m) { 375 console.log('Status: ' + x.status + ', response: ' + x.responseText); 376 } 377 }); 378 }; 379 380 function renderList(data, target, header) { 381 if (data === null || data === undefined) { 382 return null; 383 } 384 var list = $("<ol class=\"listSlide\" data-header=\"" + header + "\" style=\"display:none;\"></ol>"); 385 for (var i = 0; i < data.report.data.bmRunModels.length; i++) { 386 var item = data.report.data.bmRunModels[i]; 387 if (item.username === '') { 388 item.username = 'anonymous'; 389 } 390 var listItem = '<li><p><a href="' + item.results[item.selectedResultKey].resultDetailsUri + '" target="" '; 391 listItem += 'title="' + item.results[item.selectedResultKey].name + "\n" + item.gpuName + "(" + item.gpuMultiGpuSolution + " " + item.gpuCount + "x)\n" + item.cpuName + "\n" + item.moboManufacturerAndModel + '">' + item.userName + '</a><span class="score">' + item.results[item.selectedResultKey].overallScore + '</span></p></li>'; 392 list.append($(listItem)); 393 394 if (i >= 9) { 395 break; 396 } 397 } 398 399 $(target).prepend(list); 400 401 _loaded++; 402 checkList(); 403 } 404 405 function checkList() { 406 if (_loaded >= _lists.length) { 407 _animator1.init("#listAnimator", '.listSlide', 0.75, 10, 0, 'http://www.3dmark.com/wp-content/themes/3dmark11'); 408 _animator1.start(); 409 } 410 } 411 412 // ********** most popular GPU's 413 $.ajax({ 414 url: 'https://hwcenter.s3.us-east-1.amazonaws.com/gpu-list.json', 415 datatype: 'json', 416 timeout: 25000, 417 success: function (data) { 418 renderTopGpus(data); 419 }, 420 error: function (x, t, m) { 421 console.log('Status: ' + x.status + ', response: ' + x.responseText); 422 } 423 }) 424 425 // ********** most popular CPU's 426 $.ajax({ 427 url: 'https://hwcenter.s3.us-east-1.amazonaws.com/cpu-list2.json', 428 datatype: 'json', 429 timeout: 25000, 430 success: function (data) { 431 renderTopCpus(data); 432 }, 433 error: function (x, t, m) { 434 console.log('Status: ' + x.status + ', response: ' + x.responseText); 435 } 436 }) 437 438 function renderTopGpus(data, target, header) { 439 if (data === null || data === undefined) { 440 return; 441 } 442 443 var list = $("<ol class=\"listSlide\" data-header=\"" + header + "\"></ol>"); 444 var len = data.results.length; 445 446 data.results.sort((a,b) => b.popularity - a.popularity); 447 448 for (var i = 0; i < len; i++) { 449 var item = data.results[i]; 450 var listItem = '<li><p><a href="https://benchmarks.ul.com/hardware/gpu/' + createHWLink(item.name) + '+review" target="" >' + item.name + '</a>'; 451 var priceValue = parseFloat(item.price) > 0.0 ? "$" + Math.round(parseFloat(item.price)) : "N/A" 452 listItem += '<span class="emphasis">' + priceValue + '</span></li>'; 453 list.append($(listItem)); 454 455 if (i >= 9) { 456 break; 457 } 458 } 459 460 $('#listAnimator2').append(list); 461 } 462 463 function renderTopCpus(data, target, header) { 464 if (data === null || data === undefined) { 465 return; 466 } 467 468 var list = $("<ol class=\"listSlide\" data-header=\"" + header + "\"></ol>"); 469 var len = data.results.length; 470 471 data.results.sort((a,b) => b.popularity - a.popularity); 472 473 for (var i = 0; i < len; i++) { 474 var item = data.results[i]; 475 var listItem = '<li><p><a href="https://benchmarks.ul.com/hardware/cpu/' + createHWLink(item.name) + '+review" target="" >' + item.name + '</a>'; 476 var priceValue = parseFloat(item.price) > 0.0 ? "$" + Math.round(parseFloat(item.price)) : "N/A" 477 listItem += '<span class="emphasis">' + priceValue + '</span></li>'; 478 list.append($(listItem)); 479 480 if (i >= 9) { 481 break; 482 } 483 } 484 485 $('#listAnimator3').append(list); 486 } 487 488 function createHWLink(name) { 489 var urlArr = name.split(' '); 490 var url = ''; 491 for (var i = 0; i < urlArr.length; i++) { 492 if (i < urlArr.length - 1) 493 url = url + urlArr[i] + '+'; 494 else { 495 url = url + urlArr[i]; 496 } 497 } 498 499 return url; 500 } 501}); 502/* Cookies Directive - The rewrite. Now a jQuery plugin 503 * Version: 2.0.1 504 * Author: Ollie Phillips 505 * 24 October 2013 506 */ 507 508;(function($) { 509 $.cookiesDirective = function(options) { 510 511 var isChinese = window.location.href.includes("zh-hans"); 512 var msg = 'Don\'t show again'; 513 514 if (isChinese) { 515 msg = 'ä¸åæ¾ç¤º'; 516 } 517 518 // Default Cookies Directive Settings 519 var settings = $.extend({ 520 //Options 521 explicitConsent: true, 522 position: 'top', 523 duration: 10, 524 limit: 0, 525 message: null, 526 cookieScripts: null, 527 privacyPolicyUri: 'privacy.html', 528 scriptWrapper: function(){}, 529 // Styling 530 fontFamily: 'helvetica',
531 fontColor: '#FFFFFF', 532 fontSize: '13px', 533 backgroundColor: '#000000', 534 backgroundOpacity: '80', 535 linkColor: '#CA0000', 536 headerColor: '#ffffff', 537 borderColor: '#ffffff', 538 header: 'Futuremark cookie policy', 539 buttonOk: msg, 540 buttonApprove: '', 541 buttonDecline: '' 542 }, options); 543 544 // Perform consent checks 545 if(!getCookie('cookiesDirective')) { 546 if(settings.limit > 0) { 547 // Display limit in force, record the view 548 if(!getCookie('cookiesDisclosureCount')) { 549 setCookie('cookiesDisclosureCount',1,1); 550 } else { 551 var disclosureCount = getCookie('cookiesDisclosureCount'); 552 disclosureCount ++; 553 setCookie('cookiesDisclosureCount',disclosureCount,1); 554 } 555 556 // Have we reached the display limit, if not make disclosure 557 if(settings.limit >= getCookie('cookiesDisclosureCount')) { 558 disclosure(settings); 559 } 560 } else { 561 // No display limit 562 disclosure(settings); 563 } 564 565 // If we don't require explicit consent, load up our script wrapping function 566 if(!settings.explicitConsent) { 567 settings.scriptWrapper.call(); 568 } 569 } else { 570 // Cookies accepted, load script wrapping function 571 settings.scriptWrapper.call(); 572 } 573 }; 574 575 // Used to load external javascript files into the DOM 576 $.cookiesDirective.loadScript = function(options) { 577 var settings = $.extend({ 578 uri: '', 579 appendTo: 'body' 580 }, options); 581 582 var elementId = String(settings.appendTo); 583 var sA = document.createElement("script"); 584 sA.src = settings.uri; 585 sA.type = "text/javascript"; 586 sA.onload = sA.onreadystatechange = function() { 587 if ((!sA.readyState || sA.readyState == "loaded" || sA.readyState == "complete")) { 588 return; 589 } 590 } 591 switch(settings.appendTo) { 592 case 'head': 593 $('head').append(sA); 594 break; 595 case 'body': 596 $('body').append(sA); 597 break; 598 default: 599 $('#' + elementId).append(sA); 600 } 601 } 602 603 // Helper scripts 604 // Get cookie 605 var getCookie = function(name) { 606 var nameEQ = name + "="; 607 var ca = document.cookie.split(';'); 608 for(var i=0;i < ca.length;i++) { 609 var c = ca[i]; 610 while (c.charAt(0)==' ') c = c.substring(1,c.length); 611 if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); 612 } 613 return null; 614 } 615 616 // Set cookie 617 var setCookie = function(name,value,days) { 618 if (days) { 619 var date = new Date(); 620 date.setTime(date.getTime()+(days*24*60*60*1000)); 621 var expires = "; expires="+date.toGMTString(); 622 } 623 else var expires = ""; 624 document.cookie = name+"="+value+expires+"; path=/"; 625 } 626 627 // Detect IE < 9 628 var checkIE = function(){ 629 var version; 630 if (navigator.appName == 'Microsoft Internet Explorer') { 631 var ua = navigator.userAgent; 632 var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); 633 if (re.exec(ua) != null) { 634 version = parseFloat(RegExp.$1); 635 } 636 if (version <= 8.0) { 637 return true; 638 } else { 639 if(version == 9.0) { 640 if(document.compatMode == "BackCompat") { 641 // IE9 in quirks mode won't run the script properly, set to emulate IE8 642 var mA = document.createElement("meta"); 643 mA.content = "IE=EmulateIE8"; 644 document.getElementsByTagName('head')[0].appendChild(mA); 645 return true; 646 } else { 647 return false; 648 } 649 } 650 return false; 651 } 652 } else { 653 return false; 654 } 655 } 656 657 // Disclosure routines 658 var disclosure = function(options) { 659 var settings = options; 660 settings.css = 'fixed'; 661 662 // IE 9 and lower has issues with position:fixed, either out the box or in compatibility mode - fix that 663 if(checkIE()) { 664 settings.position = 'top'; 665 settings.css = 'absolute'; 666 } 667 668 // Any cookie setting scripts to disclose 669 var scriptsDisclosure = ''; 670 if (settings.cookieScripts) { 671 var scripts = settings.cookieScripts.split(','); 672 var scriptsCount = scripts.length; 673 var scriptDisclosureTxt = ''; 674 if(scriptsCount>1) { 675 for(var t=0; t < scriptsCount - 1; t++) { 676 scriptDisclosureTxt += scripts[t] + ', '; 677 } 678 scriptsDisclosure = ' We use ' + scriptDisclosureTxt.substring(0, scriptDisclosureTxt.length - 2) + ' and ' + scripts[scriptsCount - 1] + ' scripts, which all set cookies. '; 679 } else { 680 scriptsDisclosure = ' We use a ' + scripts[0] + ' script which sets cookies.'; 681 } 682 } 683 684 // Create overlay, vary the disclosure based on explicit/implied consent 685 // Set our disclosure/message if one not supplied 686 var html = ''; 687 html += '<div id="epd">'; 688 html += '<div id="cookiesdirective" style="position:'+ settings.css +';'+ settings.position + ':-300px;left:0px;width:100%;' 689 html += 'height:auto;background:' + settings.backgroundColor + ';opacity:.' + settings.backgroundOpacity + ';'; 690 html += '-ms-filter: ââ¬Åalpha(opacity=' + settings.backgroundOpacity + ')ââ¬ï¿½; filter: alpha(opacity=' + settings.backgroundOpacity + ');'; 691 html += '-khtml-opacity: .' + settings.backgroundOpacity + '; -moz-opacity: .' + settings.backgroundOpacity + ';'; 692 html += 'color:' + settings.fontColor + ';
692font-family:' + settings.fontFamily + ';font-size:' + settings.fontSize + ';'; 693 html += 'text-align:center;z-index:10000; border-top:1px solid '+settings.borderColor+'">'; 694 html += '<div style="position:relative;height:auto;width:90%;padding:10px;margin-left:auto;margin-right:auto;">'; 695 html += '<h2 style="color:'+settings.headerColor+'; padding:0;">'+settings.header+'</h2>'; 696 html += '<p style="color:'+settings.fontColor+'">'; 697 698 if(!settings.message) { 699 if(settings.explicitConsent) { 700 // Explicit consent message 701 settings.message = 'This site uses cookies. Some of the cookies we '; 702 settings.message += 'use are essential for parts of the site to operate and have already been set.'; 703 } else { 704 // Implied consent message 705 settings.message = 'We have placed cookies on your computer to help make this website better.'; 706 } 707 } 708 html += settings.message; 709 // Build the rest of the disclosure for implied and explicit consent 710 if(settings.explicitConsent) { 711 // Explicit consent disclosure 712 html += scriptsDisclosure + 'You may delete and block all cookies from this site, but parts of the site will not work.'; 713 html += 'To find out more about cookies on this website, see our <a style="color:'+ settings.linkColor + ';font-weight:bold;'; 714 html += 'font-family:' + settings.fontFamily + ';font-size:' + settings.fontSize + ';" href="'+ settings.privacyPolicyUri + '">privacy policy</a>.</p>'; 715 html += '<div id="epdnotick" style="color:#ca0000;display:none;margin:2px;"><span style="background:#cecece;padding:2px;">You must tick the "I accept cookies from this site" box to accept</span></div>' 716 html += '<div style="margin-top:5px;">I accept cookies from this site <input type="checkbox" name="epdagree" id="epdagree" /> '; 717 html += '<input type="submit" name="explicitsubmit" id="explicitsubmit" value="Continue"/><br/></div></div>'; 718 719 } else { 720 var isChinese = window.location.href.includes("zh-hans"); 721 var msg1 = 'To find out more, please read our'; 722 var msg2 = 'privacy notice'; 723 724 if (isChinese) { 725 msg1 = '妿æ¨ä¸æ´æ¹æ¨ç设置并继ç»è®¿é®æ¬ç«ï¼'; 726 msg2 = 'æä»¬åè§ä¸ºæ¨åææ¥å'; 727 } 728 729 // Implied consent disclosure 730 html += scriptsDisclosure + ' ' + msg1 + ' <a style="color:'+ settings.linkColor + ';'; 731 html += 'font-weight:bold;font-family:' + settings.fontFamily + ';font-size:' + settings.fontSize + ';" href="'+ settings.privacyPolicyUri + '">' + msg2 + '</a>.'; 732 html += '<div style="margin-top:5px;"><a href="javascript:void(0)" class="more" id="impliedsubmit">'+settings.buttonOk+'</a></div></div>'; 733 } 734 html += '</div></div>'; 735 $('body').append(html); 736 737 // Serve the disclosure, and be smarter about branching 738 var dp = settings.position.toLowerCase(); 739 if(dp != 'top' && dp!= 'bottom') { 740 dp = 'top'; 741 } 742 var opts = new Array(); 743 if(dp == 'top') { 744 opts['in'] = {'top':'0'}; 745 opts['out'] = {'top':'-300'}; 746 } else { 747 opts['in'] = {'bottom':'0'}; 748 opts['out'] = {'bottom':'-300'}; 749 } 750 751 // Start animation 752 $('#cookiesdirective').animate(opts['in'], 1000, function() { 753 // Set event handlers depending on type of disclosure 754 if(settings.explicitConsent) { 755 // Explicit, need to check a box and click a button 756 $('#explicitsubmit').click(function() { 757 if($('#epdagree').is(':checked')) { 758 // Set a cookie to prevent this being displayed again 759 setCookie('cookiesDirective',1,365); 760 // Close the overlay 761 $('#cookiesdirective').animate(opts['out'],1000,function() { 762 // Remove the elements from the DOM and reload page 763 $('#cookiesdirective').remove(); 764 location.reload(true); 765 }); 766 } else { 767 // We need the box checked we want "explicit consent", display message 768 $('#epdnotick').css('display', 'block'); 769 } 770 }); 771 } else { 772 // Implied consent, just a button to close it 773 $('#impliedsubmit').click(function() { 774 // Set a cookie to prevent this being displayed again
775 setCookie('cookiesDirective',1,365); 776 // Close the overlay 777 $('#cookiesdirective').animate(opts['out'],1000,function() { 778 // Remove the elements from the DOM and reload page 779 $('#cookiesdirective').remove(); 780 }); 781 }); 782 } 783 784 // Set a timer to remove the warning after 'settings.duration' seconds 785 setTimeout(function(){ 786 $('#cookiesdirective').animate({ 787 opacity:'0' 788 },2000, function(){ 789 $('#cookiesdirective').css(dp,'-300px'); 790 }); 791 }, settings.duration * 1000); 792 }); 793 } 794})(jQuery); 795
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.