!function(){"use strict";for(var t=0,e=["webkit","moz"],i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[e[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[i]+"CancelAnimationFrame"]||window[e[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){var r=(new Date).getTime(),n=Math.max(0,16-(r-t)),s=window.setTimeout((function(){e(r+n)}),n);return t=r+n,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}(),function(t,e){"use strict";if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var i=[];n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},n.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,i){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==i[e-1]}))},n.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,o(t,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},n.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),i=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(n){var s=n.element,o=a(s),l=this._rootContainsTarget(s),u=n.entry,c=e&&l&&this._computeTargetAndRootIntersection(s,i),h=n.entry=new r({time:t.performance&&performance.now&&performance.now(),target:s,boundingClientRect:o,rootBounds:i,intersectionRect:c});u?e&&l?this._hasCrossedThreshold(u,h)&&this._queuedEntries.push(h):u&&u.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(i,r){if("none"!=t.getComputedStyle(i).display){for(var n,s,o,l,c,h,f,p,d=a(i),_=u(i),m=!1;!m;){var g=null,v=1==_.nodeType?t.getComputedStyle(_):{};if("none"==v.display)return;if(_==this.root||_==e?(m=!0,g=r):_!=e.body&&_!=e.documentElement&&"visible"!=v.overflow&&(g=a(_)),g&&(n=g,s=d,o=void 0,l=void 0,c=void 0,h=void 0,f=void 0,p=void 0,o=Math.max(n.top,s.top),l=Math.min(n.bottom,s.bottom),c=Math.max(n.left,s.left),h=Math.min(n.right,s.right),p=l-o,!(d=(f=h-c)>=0&&p>=0&&{top:o,bottom:l,left:c,right:h,width:f,height:p})))break;_=u(_)}return d}},n.prototype._getRootRect=function(){var t;if(this.root)t=a(this.root);else{var i=e.documentElement,r=e.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,i){return"px"==e.unit?e.value:e.value*(i%2?t.width:t.height)/100})),i={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},n.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==r)for(var n=0;n<this.thresholds.length;n++){var s=this.thresholds[n];if(s==i||s==r||s<i!=s<r)return!0}},n.prototype._rootIsInDom=function(){return!this.root||l(e,this.root)},n.prototype._rootContainsTarget=function(t){return l(this.root||e,t)},n.prototype._registerInstance=function(){i.indexOf(this)<0&&i.push(this)},n.prototype._unregisterInstance=function(){var t=i.indexOf(this);-1!=t&&i.splice(t,1)},t.IntersectionObserver=n,t.IntersectionObserverEntry=r}function r(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,i=e.width*e.height,r=this.intersectionRect,n=r.width*r.height;this.intersectionRatio=i?n/i:this.isIntersecting?1:0}function n(t,e){var i,r,n,s=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(s.root&&1!=s.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(i=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,n=null,function(){n||(n=setTimeout((function(){i(),n=null}),r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(s.rootMargin),this.thresholds=this._initThresholds(s.threshold),this.root=s.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function s(t,e,i,r){"function"==typeof t.addEventListener?t.addEventListener(e,i,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,i)}function o(t,e,i,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,i,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,i)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t,e){for(var i=e;i;){if(i==t)return!0;i=u(i)}return!1}function u(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}}(window,document),Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){"use strict";if(null==t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r){r=Object(r);for(var n=Object.keys(Object(r)),s=0,o=n.length;s<o;s++){var a=n[s],l=Object.getOwnPropertyDescriptor(r,a);void 0!==l&&l.enumerable&&(e[a]=r[a])}}}return e}})
    /*! lozad.js - v1.14.0 - 2019-10-31
    * https://github.com/ApoorvSaxena/lozad.js
    * Copyright (c) 2019 Apoorv Saxena; Licensed MIT */,function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e()}(this,(function(){"use strict";var t="undefined"!=typeof document&&document.documentMode,e={rootMargin:"0px",threshold:0,load:function(e){if("picture"===e.nodeName.toLowerCase()){var i=document.createElement("img");t&&e.getAttribute("data-iesrc")&&(i.src=e.getAttribute("data-iesrc")),e.getAttribute("data-alt")&&(i.alt=e.getAttribute("data-alt")),e.append(i)}if("video"===e.nodeName.toLowerCase()&&!e.getAttribute("data-src")&&e.children){for(var r=e.children,n=void 0,s=0;s<=r.length-1;s++)(n=r[s].getAttribute("data-src"))&&(r[s].src=n);e.load()}if(e.getAttribute("data-poster")&&(e.poster=e.getAttribute("data-poster")),e.getAttribute("data-src")&&(e.src=e.getAttribute("data-src")),e.getAttribute("data-srcset")&&e.setAttribute("srcset",e.getAttribute("data-srcset")),e.getAttribute("data-background-image"))e.style.backgroundImage="url('"+e.getAttribute("data-background-image").split(",").join("'),url('")+"')";else if(e.getAttribute("data-background-image-set")){var o=e.getAttribute("data-background-image-set").split(","),a=o[0].substr(0,o[0].indexOf(" "))||o[0];a=-1===a.indexOf("url(")?"url("+a+")":a,1===o.length?e.style.backgroundImage=a:e.setAttribute("style",(e.getAttribute("style")||"")+"background-image: "+a+"; background-image: -webkit-image-set("+o+"); background-image: image-set("+o+")")}e.getAttribute("data-toggle-class")&&e.classList.toggle(e.getAttribute("data-toggle-class"))},loaded:function(){}};function i(t){t.setAttribute("data-loaded",!0)}var r=function(t){return"true"===t.getAttribute("data-loaded")};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".lozad",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=Object.assign({},e,n),o=s.root,a=s.rootMargin,l=s.threshold,u=s.load,c=s.loaded,h=void 0;return"undefined"!=typeof window&&window.IntersectionObserver&&(h=new IntersectionObserver(function(t,e){return function(n,s){n.forEach((function(n){(n.intersectionRatio>0||n.isIntersecting)&&(s.unobserve(n.target),r(n.target)||(t(n.target),i(n.target),e(n.target)))}))}}(u,c),{root:o,rootMargin:a,threshold:l})),{observe:function(){for(var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)}(t,o),n=0;n<e.length;n++)r(e[n])||(h?h.observe(e[n]):(u(e[n]),i(e[n]),c(e[n])))},triggerLoad:function(t){r(t)||(u(t),i(t),c(t))},observer:h}}})),window.ut_global_wait=!1,function(t){var e,i,r=[],n=!1,s=!1,o={interval:100,force_process:!1,support_seamless_iframes:!1},a=t(window),l=!1,u=[];function c(){s=!1;for(var e=0,i=r.length;e<i;e++){var n=t(r[e]).filter((function(){return t(this).is(":appeared")}));if(n.trigger("appear",[n]),u[e]){var o=u[e].not(n);o.trigger("disappear",[o])}u[e]=n}}t.expr[":"].appeared=function(r){var n=t(r);if("undefined"==typeof preloader_settings||!preloader_settings.loader_active){if(!n.is(":visible"))return!1;if(1===n.data("ut-wait"))return n.data("ut-remove-wait")&&!wait_timer&&(s=n,wait_timer=setTimeout((function(){s.data("ut-wait",0),wait_timer=!1}),s.data("ut-remove-wait"))),!1;var s;if(window.ut_global_wait)return!1;if(n.hasClass("ut-element-revealer")&&1===n.parent(".ut-element-revealer-parent").length&&1===n.parent().parent(".ut-element-revealer-parent:not(.ut-element-revealer-in-back-parent):not(.ut-element-revealer-ready)").length)return!1;if(n.hasClass("ut-element-revealer")&&1===n.parent().closest(".ut-element-revealer-parent").length&&1===n.parent().parent().closest(".ut-element-revealer-parent:not(.ut-element-revealer-ready)").length)return!1;if(!n.hasClass("ut-element-revealer")&&1===n.closest(".ut-element-revealer-parent:not(.ut-element-revealer-ready)").not(this).length)return!1;var o=a.scrollLeft(),u=o+a.width(),c=a.scrollTop(),h=c+a.height(),f=n.offset(),p=f.left,d=f.top;if(l){var _=t(window.top).scrollTop(),m=_+t(window.top).height(),g=t(window.top).scrollLeft(),v=g+t(window.top).width(),y=i.top,w=y+e.height(),b=i.left,x=b+e.width();if(_>w||y>m||g>x||b>v)return!1;_>y&&(c+=_-y),w>m&&(h-=w-m),g>b&&(o+=g-b),x>v&&(u-=x-v)}return d+n.height()>=c&&d-(n.data("appear-top-offset")||0)<=h&&p+n.width()>=o&&p-(n.data("appear-left-offset")||0)<=u}},t.fn.extend({appear:function(a){var h=t.extend({},o,a||{}),f=this.selector||this;if(!n){var p=function(){s||(s=!0,setTimeout(c,h.interval))};h.support_seamless_iframes&&window.frameElement&&(e=t(window.frameElement),l="no"===e.attr("scrolling")||e.is("[seamless]")),l?(i=e.offset(),t(window.top).scroll(p).resize(p)):t(window).scroll(p).resize(p),n=!0}return h.force_process&&setTimeout(c,h.interval),function(t){r.push(t),u.push()}(f),t(f)}}),t.extend({force_appear:function(){return!!n&&(c(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){var e,i,r,n=[],s=document,o=window,a=(t(o),s.documentElement),l=!1;function u(t){l=setTimeout((function(){t.data("ut-wait",0),l=!1}),t.data("ut-remove-wait"))}function c(){if(n.length&&("undefined"==typeof preloader_settings||!preloader_settings.loader_active)){var r,c,h,f=0,p=t.map(n,(function(t){var e=t.data.selector,i=t.$element;return e?i.find(e):i}));for(e=e||((h={height:o.innerHeight,width:o.innerWidth}).height||!(r=s.compatMode)&&t.support.boxModel||(h={height:(c="CSS1Compat"===r?a:s.body).clientHeight,width:c.clientWidth}),h),i=i||{top:o.pageYOffset||a.scrollTop||s.body.scrollTop};f<n.length;f++)if(t.contains(a,p[f][0])){var d=t(p[f]),_={height:d[0].offsetHeight,width:d[0].offsetWidth},m=d.offset(),g=d.data("appear-top-offset"),v=d.data("inview");if(d.is(":visible"))if(d.hasClass("ut-has-background-video"),1!==d.data("ut-wait")){if(!window.ut_global_wait){if(!i||!e)return;void 0!==g&&"full"===g&&_.height<e.height?m.top>=i.top&&m.top+_.height<=i.top+e.height?v||d.data("inview",!0).trigger("inview",[!0]):v&&d.data("inview",!1).trigger("inview",[!1]):(void 0===g||"none"!==g||v||(g=0),void 0===g||"auto"!==g||v||(g=.5*_.height),void 0===g||"almost"!==g||v||(g=.75*_.height),void 0===g||"partial"!==g||v||(g=.33*_.height),(void 0!==g&&"auto"===g&&v||void 0===g)&&(g=0),g=-Math.abs(g),m.top+_.height>=i.top&&m.top-(g||0)<=i.top+e.height?v||d.data("inview",!0).trigger("inview",[!0]):v&&d.data("inview",!1).trigger("inview",[!1]))}}else d.data("ut-remove-wait")&&!l&&u(d);else d.data("inview",!1).trigger("inview",[!1])}}}t.event.special.inview={add:function(e){n.push({data:e,$element:t(this),element:this}),!r&&n.length&&(r=setInterval(c,100))},remove:function(t){for(var e=0;e<n.length;e++){var i=n[e];if(i.element===this&&i.data.guid===t.guid){n.splice(e,1);break}}n.length||(clearInterval(r),r=null)}},t(o).on("scroll resize scrollstop",(function(){e=i=null}))})),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){var e,i="waitForImages",r=(e=new Image).srcset&&e.sizes;t.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},t.expr.pseudos["has-src"]=function(e){return t(e).is('img[src][src!=""]')},t.expr.pseudos.uncached=function(e){return!!t(e).is(":has-src")&&!e.complete},t.fn.waitForImages=function(){var e,n,s,o,a=0,l=t.Deferred(),u=this,c=[],h=t.waitForImages.hasImageProperties||[],f=t.waitForImages.hasImageAttributes||[],p=/url\(\s*(['"]?)(.*?)\1\s*\)/g;if(t.isPlainObject(arguments[0])?(o=arguments[0].waitForAll,s=arguments[0].each,n=arguments[0].finished):1===arguments.length&&"boolean"===t.type(arguments[0])?o=arguments[0]:(n=arguments[0],s=arguments[1],o=arguments[2]),n=n||t.noop,s=s||t.noop,o=!!o,!t.isFunction(n)||!t.isFunction(s))throw new TypeError("An invalid callback was supplied.");return this.each((function(){var e=t(this);o?e.find("*").addBack().each((function(){var e=t(this);e.is("img:has-src")&&!e.is("[srcset]")&&c.push({src:e.attr("src"),element:e[0]}),t.each(h,(function(t,i){var r,n=e.css(i);if(!n)return!0;for(;r=p.exec(n);)c.push({src:r[2],element:e[0]})})),t.each(f,(function(t,i){if(!e.attr(i))return!0;c.push({src:e.attr("src"),srcset:e.attr("srcset"),element:e[0]})}))})):e.find("img:has-src").each((function(){c.push({src:this.src,element:this})}))})),e=c.length,a=0,0===e&&(n.call(u),l.resolveWith(u)),t.each(c,(function(o,c){var h=new Image,f="load."+i+" error."+i;t(h).one(f,(function i(r){var o=[a,e,"load"==r.type];if(a++,s.apply(c.element,o),l.notifyWith(c.element,o),t(this).off(f,i),a==e)return n.call(u[0]),l.resolveWith(u[0]),!1})),r&&c.srcset&&(h.srcset=c.srcset,h.sizes=c.sizes),h.src=c.src})),l.promise()}})),
    /*!
     * imagesLoaded PACKAGED v4.1.3
     * JavaScript is all like "You images are done yet or what?"
     * MIT License
     */
    function(t,e){"function"==typeof define&&define.amd?(H,define("ev-emitter/ev-emitter",e)):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},r=i[t]=i[t]||[];return-1==r.indexOf(e)&&r.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var r=i.indexOf(e);return-1!=r&&i.splice(r,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var r=0,n=i[r];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];n;){var o=s&&s[n];o&&(this.off(t,n),delete s[n]),n.apply(this,e),n=i[r+=o?0:1]}return this}},e.allOff=e.removeAllListeners=function(){delete this._events,delete this._onceEvents},t})),
    /*!
     * imagesLoaded v4.1.3
     * JavaScript is all like "You images are done yet or what?"
     * MIT License
     */
    function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){var i=t.jQuery,r=t.console;function n(t,e){for(var i in e)t[i]=e[i];return t}function s(t,e,r){if(!(this instanceof s))return new s(t,e,r);"string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=function(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}(t),this.options=n({},this.options),"function"==typeof e?r=e:n(this.options,e),r&&this.on("always",r),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(function(){this.check()}.bind(this))}s.prototype=Object.create(e.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&o[e]){for(var i=t.querySelectorAll("img"),r=0;r<i.length;r++){var n=i[r];this.addImage(n)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(r=0;r<s.length;r++){var a=s[r];this.addElementBackgroundImages(a)}}}};var o={1:!0,9:!0,11:!0};function a(t){this.img=t}function l(t,e){this.url=t,this.element=e,this.img=new Image}return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,r=i.exec(e.backgroundImage);null!==r;){var n=r&&r[2];n&&this.addBackground(n,t),r=i.exec(e.backgroundImage)}},s.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},s.prototype.addBackground=function(t,e){var i=new l(t,e);this.images.push(i)},s.prototype.check=function(){var t=this;function e(e,i,r){setTimeout((function(){t.progress(e,i,r)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},s.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+i,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(e.prototype),a.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(i(this))})},s.makeJQueryPlugin(),s})),
    /*! Keyframes
     */
    function(t){var e=!1,i="animation",r=prefix="",n=["Webkit","Moz","O","ms","Khtml"];t(document).ready((function(){var t=document.body.style;if(void 0!==t.animationName&&(e=!0),!1===e)for(var s=0;s<n.length;s++)if(void 0!==t[n[s]+"AnimationName"]){prefix=n[s],i=prefix+"Animation",r="-"+prefix.toLowerCase()+"-",e=!0;break}}));var s=function(e,i){return t.keyframe.debug&&console.log(e+" "+i),t("<style>"+i+"</style>").attr({class:"keyframe-style",id:e,type:"text/css"}).appendTo("head")};t.keyframe={debug:!1,getVendorPrefix:function(){return r},isSupported:function(){return e},generate:function(e){var n=e.name||"",o="@"+r+"keyframes "+n+" {";for(var a in e)if("name"!==a&&"media"!==a&&"complete"!==a){for(var l in o+=a+" {",e[a])o+=l+":"+e[a][l]+";";o+="}"}window.PrefixFree?o=PrefixFree.prefixCSS(o+"}"):o+="}",e.media&&(o="@media "+e.media+"{"+o+"}");var u=t("style#"+e.name);u.length>0?(u.html(o),t("*").filter((function(){return this.style[i+"Name"]===n})).each((function(){var e=t(this),i=e.data("keyframeOptions");e.resetKeyframe((function(){e.playKeyframe(i)}))}))):s(n,o)},define:function(t){if(t.length)for(var e=0;e<t.length;e++){var i=t[e];this.generate(i)}else this.generate(t)}};var o="animation-play-state",a="running";t.fn.resetKeyframe=function(e){t(this).css(r+o,a).css(r+"animation","none");e&&setTimeout(e,1)},t.fn.pauseKeyframe=function(){t(this).css(r+o,"paused")},t.fn.resumeKeyframe=function(){t(this).css(r+o,a)},t.fn.playKeyframe=function(e,i){var n=function(e){return[(e=t.extend({duration:"0s",timingFunction:"ease",delay:"0s",iterationCount:1,direction:"normal",fillMode:"forwards"},e)).name,e.duration,e.timingFunction,e.delay,e.iterationCount,e.direction,e.fillMode].join(" ")},s="";if(t.isArray(e)){for(var l=[],u=0;u<e.length;u++)"string"==typeof e[u]?l.push(e[u]):l.push(n(e[u]));s=l.join(", ")}else s="string"==typeof e?e:n(e);var c=r+"animation",h=["webkit","moz","MS","o",""];!i&&e.complete&&(i=e.complete);var f=function(t,e,i){for(var r=0;r<h.length;r++){h[r]||(e=e.toLowerCase());var n=h[r]+e;t.off(n).on(n,i)}};return this.each((function(){var n=t(this).addClass("boostKeyframe").css(r+o,a).css(c,s).data("keyframeOptions",e);if(t.keyframe.debug){console.group(),r&&console.log("Vendor Prefix: "+r),console.log("Style Applied: "+s);var l=n.css(c);console.log("Rendered Style: "+(l||n[0].style.animation)),console.groupEnd()}i&&(f(n,"AnimationIteration",i),f(n,"AnimationEnd",i))})),this},s("boost-keyframe"," .boostKeyframe{"+r+"transform:scale3d(1,1,1);}")}(jQuery),
    /*! Picturefill - v3.0.1 - 2015-09-30
     * http://scottjehl.github.io/picturefill
     * Copyright (c) 2015 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
     */
    /*! Gecko-Picture - v1.0
     * https://github.com/scottjehl/picturefill/tree/3.0/src/plugins/gecko-picture
     * Firefox's early picture implementation (prior to FF41) is static and does
     * not react to viewport changes. This tiny module fixes this.
     */
    function(t){var e,i,r,n,s,o,a,l=navigator.userAgent;t.HTMLPictureElement&&/ecko/.test(l)&&l.match(/rv\:(\d+)/)&&RegExp.$1<41&&addEventListener("resize",(i=document.createElement("source"),r=function(t){var e,r,n=t.parentNode;"PICTURE"===n.nodeName.toUpperCase()?(e=i.cloneNode(),n.insertBefore(e,n.firstElementChild),setTimeout((function(){n.removeChild(e)}))):(!t._pfLastSize||t.offsetWidth>t._pfLastSize)&&(t._pfLastSize=t.offsetWidth,r=t.sizes,t.sizes+=",100vw",setTimeout((function(){t.sizes=r})))},n=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t<e.length;t++)r(e[t])},s=function(){clearTimeout(e),e=setTimeout(n,99)},o=t.matchMedia&&matchMedia("(orientation: landscape)"),a=function(){s(),o&&o.addListener&&o.addListener(s)},i.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||"")?a():document.addEventListener("DOMContentLoaded",a),s))}(window),
    /*! Picturefill - v3.0.1
     * http://scottjehl.github.io/picturefill
     * Copyright (c) 2015 https://github.com/scottjehl/picturefill/blob/master/Authors.txt;
     *  License: MIT
     */
    function(t,e,i){"use strict";var r,n,s;e.createElement("picture");var o={},a=function(){},l=e.createElement("img"),u=l.getAttribute,c=l.setAttribute,h=l.removeAttribute,f=e.documentElement,p={},d={algorithm:""},_="data-pfsrc",m=_+"set",g=navigator.userAgent,v=/rident/.test(g)||/ecko/.test(g)&&g.match(/rv\:(\d+)/)&&RegExp.$1>35,y="currentSrc",w=/\s+\+?\d+(e\d+)?w/,b=/(\([^)]+\))?\s*(.+)/,x=t.picturefillCFG,T="font-size:100%!important;",A=!0,S={},P={},k=t.devicePixelRatio,O={px:1,in:96},C=e.createElement("a"),R=!1,E=/^[ \t\n\r\u000c]+/,I=/^[, \t\n\r\u000c]+/,M=/^[^ \t\n\r\u000c]+/,z=/[,]+$/,D=/^\d+$/,F=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,L=function(t,e,i,r){t.addEventListener?t.addEventListener(e,i,r||!1):t.attachEvent&&t.attachEvent("on"+e,i)},j=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}};function N(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}var B,X,q,U,W,Q,Y,V,H,$,G,Z,K,J=(B=/^([\d\.]+)(em|vw|px)$/,X=j((function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"})),function(t,e){var i;if(!(t in S))if(S[t]=!1,e&&(i=t.match(B)))S[t]=i[1]*O[i[2]];else try{S[t]=new Function("e",X(t))(O)}catch(t){}return S[t]}),tt=function(t,e){return t.w?(t.cWidth=o.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},et=function(t){var i,r,n,s=t||{};if(s.elements&&1===s.elements.nodeType&&("IMG"===s.elements.nodeName.toUpperCase()?s.elements=[s.elements]:(s.context=s.elements,s.elements=null)),n=(i=s.elements||o.qsa(s.context||e,s.reevaluate||s.reselect?o.sel:o.selShort)).length){for(o.setupRun(s),R=!0,r=0;r<n;r++)o.fillImg(i[r],s);o.teardownRun(s)}};function it(t,e){return t.res-e.res}function rt(t,e){var i,r,n;if(t&&e)for(n=o.parseSet(e),t=o.makeUrl(t),i=0;i<n.length;i++)if(t===o.makeUrl(n[i].url)){r=n[i];break}return r}t.console&&console.warn,y in l||(y="src"),p["image/jpeg"]=!0,p["image/gif"]=!0,p["image/png"]=!0,p["image/svg+xml"]=e.implementation.hasFeature("http://wwwindow.w3.org/TR/SVG11/feature#Image","1.1"),o.ns=("pf"+(new Date).getTime()).substr(0,9),o.supSrcset="srcset"in l,o.supSizes="sizes"in l,o.supPicture=!!t.HTMLPictureElement,o.supSrcset&&o.supPicture&&!o.supSizes&&(q=e.createElement("img"),l.srcset="data:,a",q.src="data:,a",o.supSrcset=l.complete===q.complete,o.supPicture=o.supSrcset&&o.supPicture),o.selShort="picture>img,img[srcset]",o.sel=o.selShort,o.cfg=d,o.supSrcset&&(o.sel+=",img["+m+"]"),o.DPR=k||1,o.u=O,o.types=p,n=o.supSrcset&&!o.supSizes,o.setSize=a,o.makeUrl=j((function(t){return C.href=t,C.href})),o.qsa=function(t,e){return t.querySelectorAll(e)},o.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?o.matchesMedia=function(t){return!t||matchMedia(t).matches}:o.matchesMedia=o.mMQ,o.matchesMedia.apply(this,arguments)},o.mMQ=function(t){return!t||J(t)},o.calcLength=function(t){var e=J(t,!0)||!1;return e<0&&(e=!1),e},o.supportsType=function(t){return!t||p[t]},o.parseSize=j((function(t){var e=(t||"").match(b);return{media:e&&e[1],length:e&&e[2]}})),o.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,r=e.exec(t.substring(u));if(r)return i=r[0],u+=i.length,i}var r,n,s,o,a,l=t.length,u=0,c=[];function h(){var t,i,s,o,a,l,u,h,f,p=!1,d={};for(o=0;o<n.length;o++)l=(a=n[o])[a.length-1],u=a.substring(0,a.length-1),h=parseInt(u,10),f=parseFloat(u),D.test(u)&&"w"===l?((t||i)&&(p=!0),0===h?p=!0:t=h):F.test(u)&&"x"===l?((t||i||s)&&(p=!0),f<0?p=!0:i=f):D.test(u)&&"h"===l?((s||i)&&(p=!0),0===h?p=!0:s=h):p=!0;p||(d.url=r,t&&(d.w=t),i&&(d.d=i),s&&(d.h=s),s||i||t||(d.d=1),1===d.d&&(e.has1x=!0),d.set=e,c.push(d))}function f(){for(i(E),s="",o="in descriptor";;){if(a=t.charAt(u),"in descriptor"===o)if(N(a))s&&(n.push(s),s="",o="after descriptor");else{if(","===a)return u+=1,s&&n.push(s),void h();if("("===a)s+=a,o="in parens";else{if(""===a)return s&&n.push(s),void h();s+=a}}else if("in parens"===o)if(")"===a)s+=a,o="in descriptor";else{if(""===a)return n.push(s),void h();s+=a}else if("after descriptor"===o)if(N(a));else{if(""===a)return void h();o="in descriptor",u-=1}u+=1}}for(;;){if(i(I),u>=l)return c;r=i(M),n=[],","===r.slice(-1)?(r=r.replace(z,""),h()):f()}}(t.srcset,t)),t.cands},o.getEmValue=function(){var t;if(!r&&(t=e.body)){var i=e.createElement("div"),n=f.style.cssText,s=t.style.cssText;i.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",f.style.cssText=T,t.style.cssText=T,t.appendChild(i),r=i.offsetWidth,t.removeChild(i),r=parseFloat(r,10),f.style.cssText=n,t.style.cssText=s}return r||16},o.calcListLength=function(t){if(!(t in P)||d.uT){var e=o.calcLength(function(t){var e,i,r,n,s,a,l,u=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,c=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(r=(i=function(t){var e,i="",r=[],n=[],s=0,o=0,a=!1;function l(){i&&(r.push(i),i="")}function u(){r[0]&&(n.push(r),r=[])}for(;;){if(""===(e=t.charAt(o)))return l(),u(),n;if(a){if("*"===e&&"/"===t[o+1]){a=!1,o+=2,l();continue}o+=1}else{if(N(e)){if(t.charAt(o-1)&&N(t.charAt(o-1))||!i){o+=1;continue}if(0===s){l(),o+=1;continue}e=" "}else if("("===e)s+=1;else if(")"===e)s-=1;else{if(","===e){l(),u(),o+=1;continue}if("/"===e&&"*"===t.charAt(o+1)){a=!0,o+=2;continue}}i+=e,o+=1}}}(t)).length,e=0;e<r;e++)if(s=(n=i[e])[n.length-1],l=s,u.test(l)&&parseFloat(l)>=0||c.test(l)||"0"===l||"-0"===l||"+0"===l){if(a=s,n.pop(),0===n.length)return a;if(n=n.join(" "),o.matchesMedia(n))return a}return"100vw"}(t));P[t]=e||O.width}return P[t]},o.setRes=function(t){var e;if(t)for(var i=0,r=(e=o.parseSet(t)).length;i<r;i++)tt(e[i],t.sizes);return e},o.setRes.res=tt,o.applySetCandidate=function(t,e){if(t.length){var i,r,n,s,a,l,u,c,h,f,p,_,m,g,w,b,x=e[o.ns],T=o.DPR;if(l=x.curSrc||e[y],u=x.curCan||function(t,e,i){var r;return!i&&e&&(i=(i=t[o.ns].sets)&&i[i.length-1]),(r=rt(e,i))&&(e=o.makeUrl(e),t[o.ns].curSrc=e,t[o.ns].curCan=r,r.res||tt(r,r.set.sizes)),r}(e,l,t[0].set),u&&u.set===t[0].set&&((h=v&&!e.complete&&u.res-.1>T)||(u.cached=!0,u.res>=T&&(a=u))),!a)for(t.sort(it),a=t[(s=t.length)-1],r=0;r<s;r++)if((i=t[r]).res>=T){a=t[n=r-1]&&(h||l!==o.makeUrl(i.url))&&(f=t[n].res,p=i.res,_=T,m=t[n].cached,g=void 0,w=void 0,b=void 0,"saveData"===d.algorithm?f>2.7?b=_+1:(w=(p-_)*(g=Math.pow(f-.6,1.5)),m&&(w+=.1*g),b=f+w):b=_>1?Math.sqrt(f*p):f,b>_)?t[n]:i;break}a&&(c=o.makeUrl(a.url),x.curSrc=c,x.curCan=a,c!==l&&o.setSrc(e,a),o.setSize(e))}},o.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},o.getSet=function(t){var e,i,r,n=!1,s=t[o.ns].sets;for(e=0;e<s.length&&!n;e++)if((i=s[e]).srcset&&o.matchesMedia(i.media)&&(r=o.supportsType(i.type))){"pending"===r&&(i=r),n=i;break}return n},o.parseSets=function(t,e,r){var s,a,l,f,p=e&&"PICTURE"===e.nodeName.toUpperCase(),d=t[o.ns];(d.src===i||r.src)&&(d.src=u.call(t,"src"),d.src?c.call(t,_,d.src):h.call(t,_)),(d.srcset===i||r.srcset||!o.supSrcset||t.srcset)&&(s=u.call(t,"srcset"),d.srcset=s,f=!0),d.sets=[],p&&(d.pic=!0,function(t,e){var i,r,n,s,a=t.getElementsByTagName("source");for(i=0,r=a.length;i<r;i++)(n=a[i])[o.ns]=!0,(s=n.getAttribute("srcset"))&&e.push({srcset:s,media:n.getAttribute("media"),type:n.getAttribute("type"),sizes:n.getAttribute("sizes")})}(e,d.sets)),d.srcset?(a={srcset:d.srcset,sizes:u.call(t,"sizes")},d.sets.push(a),(l=(n||d.src)&&w.test(d.srcset||""))||!d.src||rt(d.src,a)||a.has1x||(a.srcset+=", "+d.src,a.cands.push({url:d.src,d:1,set:a}))):d.src&&d.sets.push({srcset:d.src,sizes:null}),d.curCan=null,d.curSrc=i,d.supported=!(p||a&&!o.supSrcset||l),f&&o.supSrcset&&!d.supported&&(s?(c.call(t,m,s),t.srcset=""):h.call(t,m)),d.supported&&!d.srcset&&(!d.src&&t.src||t.src!==o.makeUrl(d.src))&&(null===d.src?t.removeAttribute("src"):t.src=d.src),d.parsed=!0},o.fillImg=function(t,e){var i,r,n,a,l,u=e.reselect||e.reevaluate;(t[o.ns]||(t[o.ns]={}),i=t[o.ns],u||i.evaled!==s)&&(i.parsed&&!e.reevaluate||o.parseSets(t,t.parentNode,e),i.supported?i.evaled=s:(r=t,a=o.getSet(r),l=!1,"pending"!==a&&(l=s,a&&(n=o.setRes(a),o.applySetCandidate(n,r))),r[o.ns].evaled=l))},o.setupRun=function(){R&&!A&&k===t.devicePixelRatio||(A=!1,k=t.devicePixelRatio,S={},P={},o.DPR=k||1,O.width=Math.max(t.innerWidth||0,f.clientWidth),O.height=Math.max(t.innerHeight||0,f.clientHeight),O.vw=O.width/100,O.vh=O.height/100,s=[O.height,O.width,k].join("-"),O.em=o.getEmValue(),O.rem=O.em)},o.supPicture?(et=a,o.fillImg=a):($=t.attachEvent?/d$|^c/:/d$|^c|^i/,G=function(){var t=e.readyState||"";Z=setTimeout(G,"loading"===t?200:999),e.body&&(o.fillImgs(),(U=U||$.test(t))&&clearTimeout(Z))},Z=setTimeout(G,e.body?9:99),K=f.clientHeight,L(t,"resize",(W=function(){A=Math.max(t.innerWidth||0,f.clientWidth)!==O.width||f.clientHeight!==K,K=f.clientHeight,A&&o.fillImgs()},Q=99,H=function(){var t=new Date-V;t<Q?Y=setTimeout(H,Q-t):(Y=null,W())},function(){V=new Date,Y||(Y=setTimeout(H,Q))})),L(e,"readystatechange",G)),o.picturefill=et,o.fillImgs=et,o.teardownRun=a,et._=o,t.picturefillCFG={pf:o,push:function(t){var e=t.shift();"function"==typeof o[e]?o[e].apply(o,t):(d[e]=t[0],R&&o.fillImgs({reselect:!0}))}};for(;x&&x.length;)t.picturefillCFG.push(x.shift());t.picturefill=et,"object"==typeof module&&"object"==typeof module.exports?module.exports=et:"function"==typeof define&&define.amd&&define("picturefill",(function(){return et})),o.supPicture||(p["image/webp"]=function(e,i){var r=new t.Image;return r.onerror=function(){p[e]=!1,et()},r.onload=function(){p[e]=1===r.width,et()},r.src=i,"pending"}("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}((function(t){"use strict";var e=t.scrollTo=function(e,i,r){return t(window).scrollTo(e,i,r)};function i(e){return!e.nodeName||-1!==t.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function r(e){return t.isFunction(e)||t.isPlainObject(e)?e:{top:e,left:e}}return e.defaults={axis:"xy",duration:0,limit:!0},t.fn.scrollTo=function(n,s,o){"object"==typeof s&&(o=s,s=0),"function"==typeof o&&(o={onAfter:o}),"max"===n&&(n=9e9),o=t.extend({},e.defaults,o),s=s||o.duration;var a=o.queue&&o.axis.length>1;return a&&(s/=2),o.offset=r(o.offset),o.over=r(o.over),this.each((function(){if(null!==n){var l,u=i(this),c=u?this.contentWindow||window:this,h=t(c),f=n,p={};switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=r(f);break}f=u?t(f):t(f,c);case"object":if(0===f.length)return;(f.is||f.style)&&(l=(f=t(f)).offset())}var d=t.isFunction(o.offset)&&o.offset(c,f)||o.offset;t.each(o.axis.split(""),(function(t,i){var r="x"===i?"Left":"Top",n=r.toLowerCase(),s="scroll"+r,m=h[s](),g=e.max(c,i);if(l)p[s]=l[n]+(u?0:m-h.offset()[n]),o.margin&&(p[s]-=parseInt(f.css("margin"+r),10)||0,p[s]-=parseInt(f.css("border"+r+"Width"),10)||0),p[s]+=d[n]||0,o.over[n]&&(p[s]+=f["x"===i?"width":"height"]()*o.over[n]);else{var v=f[n];p[s]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*g:v}o.limit&&/^\d+$/.test(p[s])&&(p[s]=p[s]<=0?0:Math.min(p[s],g)),!t&&o.axis.length>1&&(m===p[s]?p={}:a&&(_(o.onAfterFirst),p={}))})),_(o.onAfter)}function _(e){var i=t.extend({},o,{queue:!0,duration:s,complete:e&&function(){e.call(c,f,o)}});h.animate(p,i)}}))},e.max=function(e,r){var n="x"===r?"Width":"Height",s="scroll"+n;if(!i(e))return e[s]-t(e)[n.toLowerCase()]();var o="client"+n,a=e.ownerDocument||e.document,l=a.documentElement,u=a.body;return Math.max(l[s],u[s])-Math.min(l[o],u[o])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var i=this.get(e);if(e.options.interrupt&&e._last&&e._last!==i)return t(e.elem).stop();var r=Math.round(e.now);i!==r&&(t(e.elem)[e.prop](r),e._last=this.get(e))}},e})),
    /*!
     * jQuery.utresize
     * @author UnitedThemes
     * @version 1.0
     *
     */
    function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.on("resize",(i=t,s="",function(){var t=this,e=arguments;s?clearTimeout(s):n&&i.apply(t,e),s=setTimeout((function(){n||i.apply(t,e),s=null}),r||100)})):this.trigger(e);var i,r,n,s}}(jQuery,"utresize"),jQuery.fn.isOnScreen=function(){var t=jQuery(window),e={top:t.scrollTop(),left:t.scrollLeft()};e.right=e.left+t.width(),e.bottom=e.top+t.height();var i=this.offset();return i.right=i.left+this.outerWidth(),i.bottom=i.top+this.outerHeight(),!(e.right<i.left||e.left>i.right||e.bottom<i.top||e.top>i.bottom)},
    /*!
     * jQuery.utresize_faster
     * @author UnitedThemes
     * @version 1.0
     *
     */
    function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.on("resize",(i=t,s="",function(){var t=this,e=arguments;s?clearTimeout(s):n&&i.apply(t,e),s=setTimeout((function(){n||i.apply(t,e),s=null}),r||50)})):this.trigger(e);var i,r,n,s}}(jQuery,"utresize_fast"),function(t){"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e)})):"object"==typeof module&&"object"==typeof module.exports?exports=t(require("jquery")):t(jQuery)}((function(t){t.easing.jswing=t.easing.swing;var e=Math.pow,i=Math.sqrt,r=Math.sin,n=Math.cos,s=Math.PI,o=1.70158,a=1.525*o,l=o+1,u=2*s/3,c=2*s/4.5;function h(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375}t.extend(t.easing,{def:"easeOutQuad",swing:function(e){return t.easing[t.easing.def](e)},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-e(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-e(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-e(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-e(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-e(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-e(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-e(-2*t+2,5)/2},easeInSine:function(t){return 1-n(t*s/2)},easeOutSine:function(t){return r(t*s/2)},easeInOutSine:function(t){return-(n(s*t)-1)/2},easeInExpo:function(t){return 0===t?0:e(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-e(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?e(2,20*t-10)/2:(2-e(2,-20*t+10))/2},easeInCirc:function(t){return 1-i(1-e(t,2))},easeOutCirc:function(t){return i(1-e(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-i(1-e(2*t,2)))/2:(i(1-e(-2*t+2,2))+1)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-e(2,10*t-10)*r((10*t-10.75)*u)},easeOutElastic:function(t){return 0===t?0:1===t?1:e(2,-10*t)*r((10*t-.75)*u)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-e(2,20*t-10)*r((20*t-11.125)*c)/2:e(2,-20*t+10)*r((20*t-11.125)*c)/2+1},easeInBack:function(t){return l*t*t*t-o*t*t},easeOutBack:function(t){return 1+l*e(t-1,3)+o*e(t-1,2)},easeInOutBack:function(t){return t<.5?e(2*t,2)*(7.189819*t-a)/2:(e(2*t-2,2)*((a+1)*(2*t-2)+a)+2)/2},easeInBounce:function(t){return 1-h(1-t)},easeOutBounce:h,easeInOutBounce:function(t){return t<.5?(1-h(1-2*t))/2:(1+h(2*t-1))/2}})})),
    /*!
     * Lazy Load - jQuery plugin for lazy loading images
     *
     * Copyright (c) 2007-2015 Mika Tuupola
     *
     * Licensed under the MIT license:
     *   http://www.opensource.org/licenses/mit-license.php
     *
     * Project home:
     *   http://www.appelsiini.net/projects/lazyload
     *
     * Version:  1.9.7
     *
     */
    function(t,e,i,r){var n=t(e);t.fn.lazyload=function(s){var o,a=this,l={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};function u(){var e=0;a.each((function(){var i=t(this);if(!l.skip_invisible||i.is(":visible"))if(t.abovethetop(this,l)||t.leftofbegin(this,l));else if(t.belowthefold(this,l)||t.rightoffold(this,l)){if(++e>l.failure_limit)return!1}else i.trigger("appear"),e=0}))}return s&&(r!==s.failurelimit&&(s.failure_limit=s.failurelimit,delete s.failurelimit),r!==s.effectspeed&&(s.effect_speed=s.effectspeed,delete s.effectspeed),t.extend(l,s)),o=l.container===r||l.container===e?n:t(l.container),0===l.event.indexOf("scroll")&&o.on(l.event,(function(){return u()})),this.each((function(){var e=this,i=t(e);e.loaded=!1,i.attr("src")!==r&&!1!==i.attr("src")||i.is("img")&&i.attr("src",l.placeholder),i.one("appear",(function(){if(!this.loaded){if(l.appear){var r=a.length;l.appear.call(e,r,l)}t("<img />").on("load",(function(){var r=i.attr("data-"+l.data_attribute);i.hide(),i.is("img")?i.attr("src",r):i.css({"background-image":"url('"+r+"')","background-size":"cover","background-position":"center center"}),e.loaded=!0;var n=t.grep(a,(function(t){return!t.loaded}));if(a=t(n),l.load){var s=a.length;l.load.call(e,s,l)}})).attr("src",i.attr("data-"+l.data_attribute))}})),0!==l.event.indexOf("scroll")&&i.on(l.event,(function(){e.loaded||i.trigger("appear")}))})),n.on("resize",(function(){u()})),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.on("pageshow",(function(e){e.originalEvent&&e.originalEvent.persisted&&a.each((function(){t(this).trigger("appear")}))})),t(i).ready((function(){u()})),this},t.belowthefold=function(i,s){return(s.container===r||s.container===e?(e.innerHeight?e.innerHeight:n.height())+n.scrollTop():t(s.container).offset().top+t(s.container).height())<=t(i).offset().top-s.threshold},t.rightoffold=function(i,s){return(s.container===r||s.container===e?n.width()+n.scrollLeft():t(s.container).offset().left+t(s.container).width())<=t(i).offset().left-s.threshold},t.abovethetop=function(i,s){return(s.container===r||s.container===e?n.scrollTop():t(s.container).offset().top)>=t(i).offset().top+s.threshold+t(i).height()},t.leftofbegin=function(i,s){return(s.container===r||s.container===e?n.scrollLeft():t(s.container).offset().left)>=t(i).offset().left+s.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document),
    /*!
     * jQuery Waypoints - v2.0.5
     * Copyright (c) 2011-2014 Caleb Troughton
     * Licensed under the MIT license.
     * https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
    */
    function(){var t,e,i=[].indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return-1},r=[].slice;t=window,e=function(t,e){var n,s,o,a,l,u,c,h,f,p,d,_,m,g,v,y;return n=t(e),h=i.call(e,"ontouchstart")>=0,a={horizontal:{},vertical:{}},l=1,c={},u="waypoints-context-id",d="resize.waypoints",_="scroll.waypoints",m=1,g="waypoints-waypoint-ids",v="waypoint",y="waypoints",s=function(){function i(i){var r=this;this.$element=i,this.element=i[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:i.scrollLeft(),y:i.scrollTop()},this.waypoints={horizontal:{},vertical:{}},this.element[u]=this.id,c[this.id]=this,i.on(_,(function(){var i;if(!r.didScroll&&!h)return r.didScroll=!0,i=function(){return r.doScroll(),r.didScroll=!1},e.setTimeout(i,t[y].settings.scrollThrottle)})),i.on(d,(function(){var i;if(!r.didResize)return r.didResize=!0,i=function(){return t[y]("refresh"),r.didResize=!1},e.setTimeout(i,t[y].settings.resizeThrottle)}))}return i.prototype.doScroll=function(){var e,i=this;return e={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!h||e.vertical.oldScroll&&e.vertical.newScroll||t[y]("refresh"),t.each(e,(function(e,r){var n,s,o;return o=[],s=r.newScroll>r.oldScroll,n=s?r.forward:r.backward,t.each(i.waypoints[e],(function(t,e){var i,n;return r.oldScroll<(i=e.offset)&&i<=r.newScroll||r.newScroll<(n=e.offset)&&n<=r.oldScroll?o.push(e):void 0})),o.sort((function(t,e){return t.offset-e.offset})),s||o.reverse(),t.each(o,(function(t,e){if(e.options.continuous||t===o.length-1)return e.trigger([n])}))})),this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},i.prototype.refresh=function(){var e,i,r,n=this;return r=t.isWindow(this.element),i=this.$element.offset(),this.doScroll(),e={horizontal:{contextOffset:r?0:i.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:i.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?t[y]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},t.each(e,(function(e,i){return t.each(n.waypoints[e],(function(e,r){var n,s,o,a,l;if(n=r.options.offset,o=r.offset,s=t.isWindow(r.element)?0:r.$element.offset()[i.offsetProp],t.isFunction(n)?n=n.apply(r.element):"string"==typeof n&&(n=parseFloat(n),r.options.offset.indexOf("%")>-1&&(n=Math.ceil(i.contextDimension*n/100))),r.offset=s-i.contextOffset+i.contextScroll-n,(!r.options.onlyOnScroll||null==o)&&r.enabled)return null!==o&&o<(a=i.oldScroll)&&a<=r.offset?r.trigger([i.backward]):null!==o&&o>(l=i.oldScroll)&&l>=r.offset||null===o&&i.oldScroll>=r.offset?r.trigger([i.forward]):void 0}))}))},i.prototype.checkEmpty=function(){if(t.isEmptyObject(this.waypoints.horizontal)&&t.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([d,_].join(" ")),delete c[this.id]},i}(),o=function(){function e(e,i,r){var n,s;"bottom-in-view"===r.offset&&(r.offset=function(){var e;return e=t[y]("viewportHeight"),t.isWindow(i.element)||(e=i.$element.height()),e-t(this).outerHeight()}),this.$element=e,this.element=e[0],this.axis=r.horizontal?"horizontal":"vertical",this.callback=r.handler,this.context=i,this.enabled=r.enabled,this.id="waypoints"+m++,this.offset=null,this.options=r,i.waypoints[this.axis][this.id]=this,a[this.axis][this.id]=this,(n=null!=(s=this.element[g])?s:[]).push(this.id),this.element[g]=n}return e.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},e.prototype.disable=function(){return this.enabled=!1},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},e.prototype.destroy=function(){return delete a[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},e.getWaypointsByElement=function(e){var i,r;return(r=e[g])?(i=t.extend({},a.horizontal,a.vertical),t.map(r,(function(t){return i[t]}))):[]},e}(),p={init:function(e,i){return null==(i=t.extend({},t.fn[v].defaults,i)).handler&&(i.handler=e),this.each((function(){var e,r,n,a;return e=t(this),n=null!=(a=i.context)?a:t.fn[v].defaults.context,t.isWindow(n)||(n=e.closest(n)),n=t(n),(r=c[n[0][u]])||(r=new s(n)),new o(e,r,i)})),t[y]("refresh"),this},disable:function(){return p._invoke.call(this,"disable")},enable:function(){return p._invoke.call(this,"enable")},destroy:function(){return p._invoke.call(this,"destroy")},prev:function(t,e){return p._traverse.call(this,t,e,(function(t,e,i){if(e>0)return t.push(i[e-1])}))},next:function(t,e){return p._traverse.call(this,t,e,(function(t,e,i){if(e<i.length-1)return t.push(i[e+1])}))},_traverse:function(i,r,n){var s,o;return null==i&&(i="vertical"),null==r&&(r=e),o=f.aggregate(r),s=[],this.each((function(){var e;return e=t.inArray(this,o[i]),n(s,e,o[i])})),this.pushStack(s)},_invoke:function(e){return this.each((function(){var i;return i=o.getWaypointsByElement(this),t.each(i,(function(t,i){return i[e](),!0}))})),this}},t.fn[v]=function(){var e,i;return i=arguments[0],e=2<=arguments.length?r.call(arguments,1):[],p[i]?p[i].apply(this,e):t.isFunction(i)?p.init.apply(this,arguments):t.isPlainObject(i)?p.init.apply(this,[null,i]):i?t.error("The "+i+" method does not exist in jQuery Waypoints."):t.error("jQuery Waypoints needs a callback function or handler option.")},t.fn[v].defaults={context:e,continuous:!0,enabled:!0,horizontal:!1,offset:0,triggerOnce:!1},f={refresh:function(){return t.each(c,(function(t,e){return e.refresh()}))},viewportHeight:function(){var t;return null!=(t=e.innerHeight)?t:n.height()},aggregate:function(e){var i,r,n;return i=a,e&&(i=null!=(n=c[t(e)[0][u]])?n.waypoints:void 0),i?(r={horizontal:[],vertical:[]},t.each(r,(function(e,n){return t.each(i[e],(function(t,e){return n.push(e)})),n.sort((function(t,e){return t.offset-e.offset})),r[e]=t.map(n,(function(t){return t.element})),r[e]=t.unique(r[e])})),r):[]},above:function(t){return null==t&&(t=e),f._filter(t,"vertical",(function(t,e){return e.offset<=t.oldScroll.y}))},below:function(t){return null==t&&(t=e),f._filter(t,"vertical",(function(t,e){return e.offset>t.oldScroll.y}))},left:function(t){return null==t&&(t=e),f._filter(t,"horizontal",(function(t,e){return e.offset<=t.oldScroll.x}))},right:function(t){return null==t&&(t=e),f._filter(t,"horizontal",(function(t,e){return e.offset>t.oldScroll.x}))},enable:function(){return f._invoke("enable")},disable:function(){return f._invoke("disable")},destroy:function(){return f._invoke("destroy")},extendFn:function(t,e){return p[t]=e},_invoke:function(e){var i;return i=t.extend({},a.vertical,a.horizontal),t.each(i,(function(t,i){return i[e](),!0}))},_filter:function(e,i,r){var n,s;return(n=c[t(e)[0][u]])?(s=[],t.each(n.waypoints[i],(function(t,e){if(r(n,e))return s.push(e)})),s.sort((function(t,e){return t.offset-e.offset})),t.map(s,(function(t){return t.element}))):[]}},t[y]=function(){var t,e;return e=arguments[0],t=2<=arguments.length?r.call(arguments,1):[],f[e]?f[e].apply(null,t):f.aggregate.call(null,e)},t[y].settings={resizeThrottle:100,scrollThrottle:30},n.on("load.waypoints",(function(){return t[y]("refresh")}))},"function"==typeof define&&define.amd?define("waypoints",["jquery"],(function(i){return e(i,t)})):e(t.jQuery,t)}.call(this),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ResizeSensor=e()}(this,(function(){var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function e(t,e){var i=Object.prototype.toString.call(t),r="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,n=0,s=t.length;if(r)for(;n<s;n++)e(t[n]);else e(t)}var i=function(r,n){function s(){var t,e,i=[];this.add=function(t){i.push(t)},this.call=function(){for(t=0,e=i.length;t<e;t++)i[t].call()},this.remove=function(r){var n=[];for(t=0,e=i.length;t<e;t++)i[t]!==r&&n.push(i[t]);i=n},this.length=function(){return i.length}}function o(e,i){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(i)}else e.resizedAttached=new s,e.resizedAttached.add(i);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var r="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",n="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=r,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+r+'"><div style="'+n+'"></div></div><div class="resize-sensor-shrink" style="'+r+'"><div style="'+n+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),"static"==function(t,e){return t.currentStyle?t.currentStyle[e]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(e):t.style[e]}(e,"position")&&(e.style.position="relative");var o=e.resizeSensor.childNodes[0],a=o.childNodes[0],l=e.resizeSensor.childNodes[1],u=function(){a.style.width="100000px",a.style.height="100000px",o.scrollLeft=1e5,o.scrollTop=1e5,l.scrollLeft=1e5,l.scrollTop=1e5};u();var c,h,f,p,d=!1,_=function(){e.resizedAttached&&(d&&(e.resizedAttached.call(),d=!1),t(_))};t(_);var m=function(){(f=e.offsetWidth)==c&&(p=e.offsetHeight)==h||(d=!0,c=f,h=p),u()},g=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};g(o,"scroll",m),g(l,"scroll",m)}e(r,(function(t){o(t,n)})),this.detach=function(t){i.detach(r,t)}};return i.detach=function(t,i){e(t,(function(t){t.resizedAttached&&"function"==typeof i&&(t.resizedAttached.remove(i),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached)}))},i})),function(t){"use strict";var e,i,r,n,s,o,a,l,u,c,h,f,p,d,_,m,g=(i="sf-breadcrumb",r="sf-js-enabled",n="sf-with-ul",s="sf-arrows",o=function(){var e=/iPhone|iPad|iPod/i.test(navigator.userAgent);return e&&t(window).on("load",(function(){t("body").children().on("click",t.noop)})),e}(),a="behavior"in(e=document.documentElement.style)&&"fill"in e&&/iemobile/i.test(navigator.userAgent),l=function(t,e){var i=r;e.cssArrows&&(i+=" "+s),t.toggleClass(i)},u=function(t){t.children("a").toggleClass(n)},c=function(t){var e=t.css("ms-touch-action");e="pan-y"===e?"auto":"pan-y",t.css("ms-touch-action",e)},h=function(e){var i=t(this),r=i.siblings(e.data.popUpSelector);r.length>0&&r.is(":hidden")&&(i.one("click.superfish",!1),"MSPointerDown"===e.type?i.trigger("focus"):t.proxy(f,i.parent("li"))())},f=function(){var e=t(this),i=m(e);clearTimeout(i.sfTimer),e.siblings().superfish("hide").end().superfish("show")},p=function(){var e=t(this),i=m(e);o?t.proxy(d,e,i)():(clearTimeout(i.sfTimer),i.sfTimer=setTimeout(t.proxy(d,e,i),i.delay))},d=function(e){e.retainPath=t.inArray(this[0],e.$path)>-1,this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(_(this)),e.$path.length&&t.proxy(f,e.$path)())},_=function(t){return t.closest("."+r)},m=function(t){return _(t).data("sf-options")},{hide:function(t){if(this.length){var e=m(this);if(!e)return this;var i=!0===e.retainPath?e.$path:"",r=this.find("li."+e.hoverClass).add(this).not(i).removeClass(e.hoverClass).children(e.popUpSelector);e.speedOut,t&&r.show(),e.retainPath=!1,e.onBeforeHide.call(r),e.onHide.call(r)}return this},show:function(){var t=m(this);if(!t)return this;var e=this.addClass(t.hoverClass).children(t.popUpSelector);return t.onBeforeShow.call(e),t.onShow.call(e),this},destroy:function(){return this.each((function(){var e,r=t(this),n=r.data("sf-options");if(!n)return!1;e=r.find(n.popUpSelector).parent("li"),clearTimeout(n.sfTimer),l(r,n),u(e),c(r),r.off(".superfish").off(".hoverIntent"),e.children(n.popUpSelector).attr("style",(function(t,e){return e.replace(/display[^;]+;?/g,"")})),n.$path.removeClass(n.hoverClass+" "+i).addClass(n.pathClass),r.find("."+n.hoverClass).removeClass(n.hoverClass),n.onDestroy.call(r),r.removeData("sf-options")}))},init:function(e){return this.each((function(){var r=t(this);if(r.data("sf-options"))return!1;var n=t.extend({},t.fn.superfish.defaults,e),s=r.find(n.popUpSelector).parent("li");n.$path=function(e,r){return e.find("li."+r.pathClass).slice(0,r.pathLevels).addClass(r.hoverClass+" "+i).filter((function(){return t(this).children(r.popUpSelector).hide().show().length})).removeClass(r.pathClass)}(r,n),r.data("sf-options",n),l(r,n),u(s),c(r),function(e,i){var r="li:has("+i.popUpSelector+")";t.fn.hoverIntent&&!i.disableHI?e.hoverIntent(f,p,r):e.on("mouseenter.superfish",r,f).on("mouseleave.superfish",r,p);var n="MSPointerDown.superfish";o||(n+=" touchend.superfish"),a&&(n+=" mousedown.superfish"),e.on(n,"a",i,h)}(r,n),s.not("."+i).superfish("hide",!0),n.onInit.call(this)}))}});t.fn.superfish=function(e,i){return g[e]?g[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?t.error("Method "+e+" does not exist on jQuery.fn.superfish"):g.init.apply(this,arguments)},t.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:400,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:t.noop,onBeforeShow:t.noop,onShow:t.noop,onBeforeHide:t.noop,onHide:t.noop,onIdle:t.noop,onDestroy:t.noop},t.fn.extend({hideSuperfishUl:g.hide,showSuperfishUl:g.show})}(jQuery),
    /*!
    * FitVids 1.1
    *
    * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
    * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
    * Released under the WTFPL license - http://sam.zoy.org/wtfpl/
    *
    */
    function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("div");n.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',r.appendChild(n.childNodes[1])}return e&&t.extend(i,e),this.each((function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='twitch.tv']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var n=t(this).find(e.join(","));(n=(n=n.not("object object")).not(r)).each((function(){var e=t(this);if(!e.hasClass("jwswf")&&!e.hasClass("embed-pdf-viewer")&&!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var n="fitvid"+t.fn.fitVids._count;e.attr("name",n),t.fn.fitVids._count++}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}}))}))},t.fn.fitVids._count=0}(window.jQuery||window.Zepto);
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 *
 * @author: Jack Doyle, jack@greensock.com
 **/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push((function(){"use strict";var t,e,i,r,n,s,o,a,l,u,c,h,f,p,d,_;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(t,e,i){var r=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},n=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},s=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},o=function(t,e,r){i.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=o.prototype.render},a=1e-8,l=i._internals,u=l.isSelector,c=l.isArray,h=o.prototype=i.to({},.1,{}),f=[];o.version="2.1.3",h.constructor=o,h.kill()._gc=!1,o.killTweensOf=o.killDelayedCallsTo=i.killTweensOf,o.getTweensOf=i.getTweensOf,o.lagSmoothing=i.lagSmoothing,o.ticker=i.ticker,o.render=i.render,o.distribute=s,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},h.updateTo=function(t,e){var r,n=this,s=n.ratio,o=n.vars.immediateRender||t.immediateRender;for(r in e&&n._startTime<n._timeline._time&&(n._startTime=n._timeline._time,n._uncache(!1),n._gc?n._enabled(!0,!1):n._timeline.insert(n,n._startTime-n._delay)),t)n.vars[r]=t[r];if(n._initted||o)if(e)n._initted=!1,o&&n.render(0,!0,!0);else if(n._gc&&n._enabled(!0,!1),n._notifyPluginsOfEnabled&&n._firstPT&&i._onPluginEvent("_onDisable",n),n._time/n._duration>.998){var a=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(a,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||o)for(var l,u=1/(1-s),c=n._firstPT;c;)l=c.s+c.c,c.c*=u,c.s=l-c.c,c=c._next;return n},h.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,o,u,c,h,f,p,d,_=this,m=_._dirty?_.totalDuration():_._totalDuration,g=_._time,v=_._totalTime,y=_._cycle,w=_._duration,b=_._rawPrevTime;if(t>=m-a&&t>=0?(_._totalTime=m,_._cycle=_._repeat,_._yoyo&&0!=(1&_._cycle)?(_._time=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0):(_._time=w,_.ratio=_._ease._calcEnd?_._ease.getRatio(1):1),_._reversed||(n=!0,s="onComplete",r=r||_._timeline.autoRemoveChildren),0===w&&(_._initted||!_.vars.lazy||r)&&(_._startTime===_._timeline._duration&&(t=0),(0>b||0>=t&&t>=-a||b===a&&"isPause"!==_.data)&&b!==t&&(r=!0,b>a&&(s="onReverseComplete")),_._rawPrevTime=p=!e||t||b===t?t:a)):a>t?(_._totalTime=_._time=_._cycle=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0,(0!==v||0===w&&b>0)&&(s="onReverseComplete",n=_._reversed),t>-a?t=0:0>t&&(_._active=!1,0===w&&(_._initted||!_.vars.lazy||r)&&(b>=0&&(r=!0),_._rawPrevTime=p=!e||t||b===t?t:a)),_._initted||(r=!0)):(_._totalTime=_._time=t,0!==_._repeat&&(u=w+_._repeatDelay,_._cycle=_._totalTime/u>>0,0!==_._cycle&&_._cycle===_._totalTime/u&&t>=v&&_._cycle--,_._time=_._totalTime-_._cycle*u,_._yoyo&&0!=(1&_._cycle)&&(_._time=w-_._time,(d=_._yoyoEase||_.vars.yoyoEase)&&(_._yoyoEase||(!0!==d||_._initted?_._yoyoEase=d=!0===d?_._ease:d instanceof Ease?d:Ease.map[d]:(d=_.vars.ease,_._yoyoEase=d=d?d instanceof Ease?d:"function"==typeof d?new Ease(d,_.vars.easeParams):Ease.map[d]||i.defaultEase:i.defaultEase)),_.ratio=d?1-d.getRatio((w-_._time)/w):0)),_._time>w?_._time=w:_._time<0&&(_._time=0)),_._easeType&&!d?(c=_._time/w,(1===(h=_._easeType)||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===(f=_._easePower)?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),_.ratio=1===h?1-c:2===h?c:_._time/w<.5?c/2:1-c/2):d||(_.ratio=_._ease.getRatio(_._time/w))),g!==_._time||r||y!==_._cycle){if(!_._initted){if(_._init(),!_._initted||_._gc)return;if(!r&&_._firstPT&&(!1!==_.vars.lazy&&_._duration||_.vars.lazy&&!_._duration))return _._time=g,_._totalTime=v,_._rawPrevTime=b,_._cycle=y,l.lazyTweens.push(_),void(_._lazy=[t,e]);!_._time||n||d?n&&this._ease._calcEnd&&!d&&(_.ratio=_._ease.getRatio(0===_._time?0:1)):_.ratio=_._ease.getRatio(_._time/w)}for(!1!==_._lazy&&(_._lazy=!1),_._active||!_._paused&&_._time!==g&&t>=0&&(_._active=!0),0===v&&(2===_._initted&&t>0&&_._init(),_._startAt&&(t>=0?_._startAt.render(t,!0,r):s||(s="_dummyGS")),_.vars.onStart&&(0!==_._totalTime||0===w)&&(e||_._callback("onStart"))),o=_._firstPT;o;)o.f?o.t[o.p](o.c*_.ratio+o.s):o.t[o.p]=o.c*_.ratio+o.s,o=o._next;_._onUpdate&&(0>t&&_._startAt&&_._startTime&&_._startAt.render(t,!0,r),e||(_._totalTime!==v||s)&&_._callback("onUpdate")),_._cycle!==y&&(e||_._gc||_.vars.onRepeat&&_._callback("onRepeat")),s&&(!_._gc||r)&&(0>t&&_._startAt&&!_._onUpdate&&_._startTime&&_._startAt.render(t,!0,r),n&&(_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[s]&&_._callback(s),0===w&&_._rawPrevTime===a&&p!==a&&(_._rawPrevTime=0))}else v!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new o(t,e,i)},o.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new o(t,e,r)},o.staggerTo=o.allTo=function(t,e,a,l,h,p,d){var _,m,g,v,y=[],w=s(a.stagger||l),b=a.cycle,x=(a.startAt||f).cycle;for(c(t)||("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t))),_=(t=t||[]).length-1,g=0;_>=g;g++){for(v in m={},a)m[v]=a[v];if(b&&(n(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),x){for(v in x=m.startAt={},a.startAt)x[v]=a.startAt[v];n(m.startAt,t,g)}m.delay=w(g,t[g],t)+(m.delay||0),g===_&&h&&(m.onComplete=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),h.apply(d||a.callbackScope||this,p||f)}),y[g]=new o(t[g],e,m)}return y},o.staggerFrom=o.allFrom=function(t,e,i,r,n,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,o.staggerTo(t,e,i,r,n,s,a)},o.staggerFromTo=o.allFromTo=function(t,e,i,r,n,s,a,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,o.staggerTo(t,e,r,n,s,a,l)},o.delayedCall=function(t,e,i,r,n){return new o(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},o.set=function(t,e){return new o(t,0,e)},o.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var p=function(t,e){for(var r=[],n=0,s=t._first;s;)s instanceof i?r[n++]=s:(e&&(r[n++]=s),n=(r=r.concat(p(s,e))).length),s=s._next;return r},d=o.getAllTweens=function(e){return p(t._rootTimeline,e).concat(p(t._rootFramesTimeline,e))};o.killAll=function(t,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,o,a,l=d(0!=n),u=l.length,c=i&&r&&n;for(a=0;u>a;a++)o=l[a],(c||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},o.killChildTweensOf=function(t,e){if(null!=t){var n,s,a,h,f,p=l.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t)),c(t))for(h=t.length;--h>-1;)o.killChildTweensOf(t[h],e);else{for(a in n=[],p)for(s=p[a].target.parentNode;s;)s===t&&(n=n.concat(p[a].tweens)),s=s.parentNode;for(f=n.length,h=0;f>h;h++)e&&n[h].totalTime(n[h].totalDuration()),n[h]._enabled(!1,!1)}}};var _=function(t,i,r,n){i=!1!==i,r=!1!==r;for(var s,o,a=d(n=!1!==n),l=i&&r&&n,u=a.length;--u>-1;)o=a[u],(l||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&o.paused(t)};return o.pauseAll=function(t,e,i){_(!0,t,e,i)},o.resumeAll=function(t,e,i){_(!1,t,e,i)},o.globalTimeScale=function(e){var r=t._rootTimeline,n=i.ticker.time;return arguments.length?(e=e||a,r._startTime=n-(n-r._startTime)*r._timeScale/e,r=t._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/e,r._timeScale=t._rootTimeline._timeScale=e,e):r._timeScale},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},h.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},h.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o}),!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,s=n.vars;for(r in n._labels={},n.autoRemoveChildren=!!s.autoRemoveChildren,n.smoothChildTiming=!!s.smoothChildTiming,n._sortChildren=!0,n._onUpdate=s.onUpdate,s)i=s[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[r]=n._swapSelfInParams(i));l(s.tweens)&&n.add(s.tweens,0,s.align,s.stagger)},n=1e-8,s=i._internals,o=r._internals={},a=s.isSelector,l=s.isArray,u=s.lazyTweens,c=s.lazyRender,h=_gsScope._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},d=o.pauseCallback=function(){},_=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},m=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},g=r.prototype=new e;return r.version="2.1.3",r.distribute=m,g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&h.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&h.TweenMax||i).from(t,e,_(0,r)),n)},g.fromTo=function(t,e,r,n,s){var o=n.repeat&&h.TweenMax||i;return n=_(0,n,r),e?this.add(o.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,o,l,u,c){var h,d,_=new r({onComplete:l,onCompleteParams:u,callbackScope:c,smoothChildTiming:this.smoothChildTiming}),g=m(n.stagger||s),v=n.startAt,y=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),a(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),d=0;d<t.length;d++)h=f(n),v&&(h.startAt=f(v),v.cycle&&p(h.startAt,t,d)),y&&(p(h,t,d),null!=h.duration&&(e=h.duration,delete h.duration)),_.to(t[d],e,h,g(d,t[d],t));return this.add(_,o)},g.staggerFrom=function(t,e,i,r,n,s,o,a){return i.runBackwards=!0,this.staggerTo(t,e,_(0,i),r,n,s,o,a)},g.staggerFromTo=function(t,e,i,r,n,s,o,a,l){return r.startAt=i,this.staggerTo(t,e,_(0,r,i),n,s,o,a,l)},g.call=function(t,e,r,n){return this.add(i.delayedCall(0,t,e,r),n)},g.set=function(t,e,r){return this.add(new i(t,0,_(0,e,null,!0)),r)},r.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var n,s,o,a,l=new r(t),u=l._timeline;for(null==e&&(e=!0),u._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=u._time,o=u._first;o;)a=o._next,e&&o instanceof i&&o.target===o.vars.onComplete||(0>(s=o._startTime-o._delay)&&(n=1),l.add(o,s)),o=a;return u.add(l,0),n&&l.totalDuration(),l},g.add=function(n,s,o,a){var u,c,h,f,p,d,_=this;if("number"!=typeof s&&(s=_._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(o=o||"normal",a=a||0,u=s,c=n.length,h=0;c>h;h++)l(f=n[h])&&(f=new r({tweens:f})),_.add(f,u),"string"!=typeof f&&"function"!=typeof f&&("sequence"===o?u=f._startTime+f.totalDuration()/f._timeScale:"start"===o&&(f._startTime-=f.delay())),u+=a;return _._uncache(!0)}if("string"==typeof n)return _.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(_,n,s),(n._time||!n._duration&&n._initted)&&(u=(_.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),u)))-n._totalTime>1e-5)&&n.render(u,!1,!1)),(_._gc||_._time===_._duration)&&!_._paused&&_._duration<_.duration())for(d=(p=_).rawTime()>n._startTime;p._timeline;)d&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return _},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){return e.prototype._remove.call(this,t,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,d,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,r,n){var s,o;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(o=n.length;--o>-1;)n[o]instanceof t&&n[o].timeline===this&&this.remove(n[o]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(o=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,r):s}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,o,a,l,h,f,p,d=this,_=d._time,m=d._dirty?d.totalDuration():d._totalDuration,g=d._startTime,v=d._timeScale,y=d._paused;if(_!==d._time&&(t+=d._time-_),d._hasPause&&!d._forcingPlayhead&&!e){if(t>_)for(r=d._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(h=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(d._time=d._totalTime=t=h._startTime,p=d._startTime+(d._reversed?d._duration-t:t)/d._timeScale)}if(t>=m-n&&t>=0)d._totalTime=d._time=m,d._reversed||d._hasPausedChild()||(s=!0,a="onComplete",l=!!d._timeline.autoRemoveChildren,0===d._duration&&(0>=t&&t>=-n||d._rawPrevTime<0||d._rawPrevTime===n)&&d._rawPrevTime!==t&&d._first&&(l=!0,d._rawPrevTime>n&&(a="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,t=m+1e-4;else if(n>t)if(d._totalTime=d._time=0,t>-n&&(t=0),(0!==_||0===d._duration&&d._rawPrevTime!==n&&(d._rawPrevTime>0||0>t&&d._rawPrevTime>=0))&&(a="onReverseComplete",s=d._reversed),0>t)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(l=s=!0,a="onReverseComplete"):d._rawPrevTime>=0&&d._first&&(l=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,0===t&&s)for(r=d._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,d._initted||(l=!0)}else d._totalTime=d._time=d._rawPrevTime=t;if(d._time!==_&&d._first||i||l||h){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._time!==_&&t>0&&(d._active=!0),0===_&&d.vars.onStart&&(0===d._time&&d._duration||e||d._callback("onStart")),(f=d._time)>=_)for(r=d._first;r&&(o=r._next,f===d._time&&(!d._paused||y));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(h===r&&(d.pause(),d._pauseTime=p),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=o;else for(r=d._last;r&&(o=r._prev,f===d._time&&(!d._paused||y));){if(r._active||r._startTime<=_&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>d._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,d.pause(),d._pauseTime=p}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=o}d._onUpdate&&(e||(u.length&&c(),d._callback("onUpdate"))),a&&(d._gc||(g===d._startTime||v!==d._timeScale)&&(0===d._time||m>=d.totalDuration())&&(s&&(u.length&&c(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[a]&&d._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],o=this._first,a=0;o;)o._startTime<n||(o instanceof i?!1!==e&&(s[a++]=o):(!1!==r&&(s[a++]=o),!1!==t&&(a=(s=s.concat(o.getChildren(!0,e,r))).length))),o=o._next;return s},g.getTweensOf=function(t,e){var r,n,s=this._gc,o=[],a=0;for(s&&this._enabled(!0,!0),n=(r=i.getTweensOf(t)).length;--n>-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(o[a++]=r[n]);return s&&this._enabled(!1,!0),o},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,s=n._last,o=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>o&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):o=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),o=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r}),!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,s=e._internals,o=s.lazyTweens,a=s.lazyRender,l=_gsScope._gsDefine.globals,u=new i(null,null,1,0),c=r.prototype=new t;return c.constructor=r,c.kill()._gc=!1,r.version="2.1.3",c.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},c.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},c.tweenTo=function(t,i){i=i||{};var r,n,s,o={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=i.repeat&&l.TweenMax||e;for(n in i)o[n]=i[n];return o.time=this._parseTimeOrLabel(t),r=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,s=new a(this,r,o),o.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||r!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,l,u,c,h,f,p,d,_=this,m=_._time,g=_._dirty?_.totalDuration():_._totalDuration,v=_._duration,y=_._totalTime,w=_._startTime,b=_._timeScale,x=_._rawPrevTime,T=_._paused,A=_._cycle;if(m!==_._time&&(t+=_._time-m),t>=g-n&&t>=0)_._locked||(_._totalTime=g,_._cycle=_._repeat),_._reversed||_._hasPausedChild()||(s=!0,u="onComplete",c=!!_._timeline.autoRemoveChildren,0===_._duration&&(0>=t&&t>=-n||0>x||x===n)&&x!==t&&_._first&&(c=!0,x>n&&(u="onReverseComplete"))),_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:n,_._yoyo&&1&_._cycle?_._time=t=0:(_._time=v,t=v+1e-4);else if(n>t)if(_._locked||(_._totalTime=_._cycle=0),_._time=0,t>-n&&(t=0),(0!==m||0===v&&x!==n&&(x>0||0>t&&x>=0)&&!_._locked)&&(u="onReverseComplete",s=_._reversed),0>t)_._active=!1,_._timeline.autoRemoveChildren&&_._reversed?(c=s=!0,u="onReverseComplete"):x>=0&&_._first&&(c=!0),_._rawPrevTime=t;else{if(_._rawPrevTime=v||!e||t||_._rawPrevTime===t?t:n,0===t&&s)for(r=_._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,_._initted||(c=!0)}else 0===v&&0>x&&(c=!0),_._time=_._rawPrevTime=t,_._locked||(_._totalTime=t,0!==_._repeat&&(h=v+_._repeatDelay,_._cycle=_._totalTime/h>>0,_._cycle&&_._cycle===_._totalTime/h&&t>=y&&_._cycle--,_._time=_._totalTime-_._cycle*h,_._yoyo&&1&_._cycle&&(_._time=v-_._time),_._time>v?(_._time=v,t=v+1e-4):_._time<0?_._time=t=0:t=_._time));if(_._hasPause&&!_._forcingPlayhead&&!e){if((t=_._time)>m||_._repeat&&A!==_._cycle)for(r=_._first;r&&r._startTime<=t&&!f;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===_._rawPrevTime||(f=r),r=r._next;else for(r=_._last;r&&r._startTime>=t&&!f;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(f=r),r=r._prev;f&&(d=_._startTime+(_._reversed?_._duration-f._startTime:f._startTime)/_._timeScale,f._startTime<v&&(_._time=_._rawPrevTime=t=f._startTime,_._totalTime=t+_._cycle*(_._totalDuration+_._repeatDelay)))}if(_._cycle!==A&&!_._locked){var S=_._yoyo&&0!=(1&A),P=S===(_._yoyo&&0!=(1&_._cycle)),k=_._totalTime,O=_._cycle,C=_._rawPrevTime,R=_._time;if(_._totalTime=A*v,_._cycle<A?S=!S:_._totalTime+=v,_._time=m,_._rawPrevTime=0===v?x-1e-4:x,_._cycle=A,_._locked=!0,m=S?0:v,_.render(m,e,0===v),e||_._gc||_.vars.onRepeat&&(_._cycle=O,_._locked=!1,_._callback("onRepeat")),m!==_._time)return;if(P&&(_._cycle=A,_._locked=!0,m=S?v+1e-4:-1e-4,_.render(m,!0,!1)),_._locked=!1,_._paused&&!T)return;_._time=R,_._totalTime=k,_._cycle=O,_._rawPrevTime=C}if(_._time!==m&&_._first||i||c||f){if(_._initted||(_._initted=!0),_._active||!_._paused&&_._totalTime!==y&&t>0&&(_._active=!0),0===y&&_.vars.onStart&&(0===_._totalTime&&_._totalDuration||e||_._callback("onStart")),(p=_._time)>=m)for(r=_._first;r&&(l=r._next,p===_._time&&(!_._paused||T));)(r._active||r._startTime<=_._time&&!r._paused&&!r._gc)&&(f===r&&(_.pause(),_._pauseTime=d),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=l;else for(r=_._last;r&&(l=r._prev,p===_._time&&(!_._paused||T));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(f===r){for(f=r._prev;f&&f.endTime()>_._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,i),f=f._prev;f=null,_.pause(),_._pauseTime=d}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=l}_._onUpdate&&(e||(o.length&&a(),_._callback("onUpdate"))),u&&(_._locked||_._gc||(w===_._startTime||b!==_._timeScale)&&(0===_._time||g>=_.totalDuration())&&(s&&(o.length&&a(),_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[u]&&_._callback(u)))}else y!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},c.getActive=function(t,e,i){var r,n,s=[],o=this.getChildren(t||null==t,e||null==t,!!i),a=0,l=o.length;for(r=0;l>r;r++)(n=o[r]).isActive()&&(s[a++]=n);return s},c.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;r>e;e++)if(i[e].time>t)return i[e].name;return null},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},c.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort((function(t,e){return t.time-e.time})),e},c.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},c.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},c.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},c.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},c.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r}),!0),t=180/Math.PI,e=[],i=[],r=[],n={},s=_gsScope._gsDefine.globals,o=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},a=function(t,e,i,r){var n={a:t},s={},o={},a={c:r},l=(t+e)/2,u=(e+i)/2,c=(i+r)/2,h=(l+u)/2,f=(u+c)/2,p=(f-h)/8;return n.b=l+(t-l)/4,s.b=h+p,n.c=s.a=(n.b+s.b)/2,s.c=o.a=(h+f)/2,o.b=f-p,a.b=c+(r-c)/4,o.c=a.a=(o.b+a.b)/2,[n,s,o,a]},l=function(t,n,s,o,l){var u,c,h,f,p,d,_,m,g,v,y,w,b,x=t.length-1,T=0,A=t[0].a;for(u=0;x>u;u++)c=(p=t[T]).a,h=p.d,f=t[T+1].d,l?(y=e[u],b=((w=i[u])+y)*n*.25/(o?.5:r[u]||.5),m=h-((d=h-(h-c)*(o?.5*n:0!==y?b/y:0))+(((_=h+(f-h)*(o?.5*n:0!==w?b/w:0))-d)*(3*y/(y+w)+.5)/4||0))):m=h-((d=h-(h-c)*n*.5)+(_=h+(f-h)*n*.5))/2,d+=m,_+=m,p.c=g=d,p.b=0!==u?A:A=p.a+.6*(p.c-p.a),p.da=h-c,p.ca=g-c,p.ba=A-c,s?(v=a(c,A,g,h),t.splice(T,1,v[0],v[1],v[2],v[3]),T+=4):T++,A=_;(p=t[T]).b=A,p.c=A+.4*(p.d-A),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=A-p.a,s&&(v=a(p.a,A,p.c,p.d),t.splice(T,1,v[0],v[1],v[2],v[3]))},u=function(t,r,n,s){var a,l,u,c,h,f,p=[];if(s)for(l=(t=[s].concat(t)).length;--l>-1;)"string"==typeof(f=t[l][r])&&"="===f.charAt(1)&&(t[l][r]=s[r]+Number(f.charAt(0)+f.substr(2)));if(0>(a=t.length-2))return p[0]=new o(t[0][r],0,0,t[0][r]),p;for(l=0;a>l;l++)u=t[l][r],c=t[l+1][r],p[l]=new o(u,0,0,c),n&&(h=t[l+2][r],e[l]=(e[l]||0)+(c-u)*(c-u),i[l]=(i[l]||0)+(h-c)*(h-c));return p[l]=new o(t[l][r],0,0,t[l+1][r]),p},c=function(t,s,o,a,c,h){var f,p,d,_,m,g,v,y,w={},b=[],x=h||t[0];for(p in c="string"==typeof c?","+c+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1),t[0])b.push(p);if(t.length>1){for(y=t[t.length-1],v=!0,f=b.length;--f>-1;)if(p=b[f],Math.abs(x[p]-y[p])>.05){v=!1;break}v&&(t=t.concat(),h&&t.unshift(h),t.push(t[1]),h=t[t.length-3])}for(e.length=i.length=r.length=0,f=b.length;--f>-1;)p=b[f],n[p]=-1!==c.indexOf(","+p+","),w[p]=u(t,p,n[p],h);for(f=e.length;--f>-1;)e[f]=Math.sqrt(e[f]),i[f]=Math.sqrt(i[f]);if(!a){for(f=b.length;--f>-1;)if(n[p])for(g=(d=w[b[f]]).length-1,_=0;g>_;_++)m=d[_+1].da/i[_]+d[_].da/e[_]||0,r[_]=(r[_]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=b.length,_=o?4:1;--f>-1;)d=w[p=b[f]],l(d,s,o,a,n[p]),v&&(d.splice(0,_),d.splice(d.length-_,_));return w},h=function(t,e,i){var r,n,s,a,l,u,c,h,f,p,d,_={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,v=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length<m+1)throw"invalid Bezier data";for(f in t[0])v.push(f);for(u=v.length;--u>-1;){for(_[f=v[u]]=l=[],p=0,h=t.length,c=0;h>c;c++)r=null==i?t[c][f]:"string"==typeof(d=t[c][f])&&"="===d.charAt(1)?i[f]+Number(d.charAt(0)+d.substr(2)):Number(d),g&&c>1&&h-1>c&&(l[p++]=(r+l[p-2])/2),l[p++]=r;for(h=p-m+1,p=0,c=0;h>c;c+=m)r=l[c],n=l[c+1],s=l[c+2],a=2===m?0:l[c+3],l[p++]=d=3===m?new o(r,n,s,a):new o(r,(2*n+r)/3,(2*n+s)/3,s);l.length=p}return _},f=function(t,e,i){for(var r,n,s,o,a,l,u,c,h,f,p,d=1/i,_=t.length;--_>-1;)for(s=(f=t[_]).a,o=f.d-s,a=f.c-s,l=f.b-s,r=n=0,c=1;i>=c;c++)r=n-(n=((u=d*c)*u*o+3*(h=1-u)*(u*a+h*l))*u),e[p=_*i+c-1]=(e[p]||0)+r*r},p=function(t,e){var i,r,n,s,o=[],a=[],l=0,u=0,c=(e=e>>0||6)-1,h=[],p=[];for(i in t)f(t[i],o,e);for(n=o.length,r=0;n>r;r++)l+=Math.sqrt(o[r]),p[s=r%e]=l,s===c&&(u+=l,h[s=r/e>>0]=p,a[s]=u,l=0,p=[]);return{length:u,lengths:a,segments:h}},d=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var r,n,s,o,a,l=e.values||[],u={},f=l[0],d=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null,f)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],u[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),a||u[r]!==l[0][r]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):h(l,e.type,u),this._segCount=this._beziers[r].length,this._timeRes){var _=p(this._beziers,this._timeRes);this._length=_.length,this._lengths=_.lengths,this._segments=_.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(d=this._autoRotate)for(this._initialRotations=[],d[0]instanceof Array||(this._autoRotate=d=[d]),s=d.length;--s>-1;){for(o=0;3>o;o++)r=d[s][o],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=d[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,r,n,s,o,a,l,u,c,h,f,p=this._segCount,d=this._func,_=this._target,m=e!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,f=e*this._length,n=this._li,f>this._l2&&p-1>n){for(u=p-1;u>n&&(this._l2=c[++n])<=f;);this._l1=c[n-1],this._li=n,this._curSeg=h=this._segments[n],this._s2=h[this._s1=this._si=0]}else if(f<this._l1&&n>0){for(;n>0&&(this._l1=c[--n])>=f;);0===n&&f<this._l1?this._l1=0:n++,this._l2=c[n],this._li=n,this._curSeg=h=this._segments[n],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(i=n,f-=this._l1,n=this._si,f>this._s2&&n<h.length-1){for(u=h.length-1;u>n&&(this._s2=h[++n])<=f;);this._s1=h[n-1],this._si=n}else if(f<this._s1&&n>0){for(;n>0&&(this._s1=h[--n])>=f;);0===n&&f<this._s1?this._s1=0:n++,this._s2=h[n],this._si=n}a=1===e?1:(n+(f-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(e-(i=0>e?0:e>=1?p-1:p*e>>0)*(1/p))*p;for(r=1-a,n=this._props.length;--n>-1;)s=this._props[n],l=(a*a*(o=this._beziers[s][i]).da+3*r*(a*o.ca+r*o.ba))*a+o.a,this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l;if(this._autoRotate){var g,v,y,w,b,x,T,A=this._autoRotate;for(n=A.length;--n>-1;)s=A[n][2],x=A[n][3]||0,T=!0===A[n][4]?1:t,o=this._beziers[A[n][0]],g=this._beziers[A[n][1]],o&&g&&(o=o[i],g=g[i],v=o.a+(o.b-o.a)*a,v+=((w=o.b+(o.c-o.b)*a)-v)*a,w+=(o.c+(o.d-o.c)*a-w)*a,y=g.a+(g.b-g.a)*a,y+=((b=g.b+(g.c-g.b)*a)-y)*a,b+=(g.c+(g.d-g.c)*a-b)*a,l=m?Math.atan2(b-y,w-v)*T+x:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l)}}}),_=d.prototype,d.bezierThrough=c,d.cubicToQuadratic=a,d._autoCSS=!0,d.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},d._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,o,a,l){e instanceof Array&&(e={values:e}),l=new d;var u,c,h,f=e.values,p=f.length-1,_=[],m={};if(0>p)return a;for(u=0;p>=u;u++)h=i(t,f[u],o,a,l,p!==u),_[u]=h.end;for(c in e)m[c]=e[c];return m.values=_,(a=new n(t,"bezier",0,0,h.pt,2)).data=h,a.plugin=l,a.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(u=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),m.autoRotate&&(o._transform||o._enableTransforms(!1),h.autoRotate=o._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(h.proxy,m,o._tween),a}})}},_._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},_._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(t,e){var i,r,n,s,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},u=o.prototype=new t("css");u.constructor=o,o.version="2.1.3",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,u="px",o.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,h,f,p,d,_,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,A=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,O=/([A-Z])/g,C=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(t,e){return e.toUpperCase()},I=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,F=/[\s,\(]/i,L=Math.PI/180,j=180/Math.PI,N={},B={style:{}},X=_gsScope.document||{createElement:function(){return B}},q=function(t,e){var i=X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t);return i.style?i:X.createElement(t)},U=q("div"),W=q("img"),Q=o._internals={_specialProps:l},Y=(_gsScope.navigator||{}).userAgent||"",V=function(){var t=Y.indexOf("Android"),e=q("a");return f=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===t||parseFloat(Y.substr(t+8,2))>3),d=f&&parseFloat(Y.substr(Y.indexOf("Version/")+8,2))<6,p=-1!==Y.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),H=function(t){return A.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},$=function(t){_gsScope.console&&console.log(t)},G="",Z="",K=function(t,e){var i,r,n=(e=e||U).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(G="-"+(Z=3===r?"ms":i[r]).toLowerCase()+"-",Z+t):null},J="undefined"!=typeof window?window:X.defaultView||{getComputedStyle:function(){}},tt=function(t){return J.getComputedStyle(t)},et=o.getStyle=function(t,e,i,r,n){var s;return V||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(O,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):H(t)},it=Q.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var a,l,u,c=I.test(i),h=t,f=U.style,p=0>r,d=1===r;if(p&&(r=-r),d&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))a=r/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&h.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[c?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(h=t.parentNode||X.body,-1!==et(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=e.ticker.frame,l&&c&&l.time===u)return l.width*r/100;f[c?"width":"height"]=r+n}h.appendChild(U),a=parseFloat(U[c?"offsetWidth":"offsetHeight"]),h.removeChild(U),c&&"%"===n&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=a/r*100),0!==a||s||(a=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,a=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},rt=Q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(T,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Et===n)&&(s[n.replace(C,E)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||Rt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(C,E)]=e[i]);return V||(s.opacity=H(t)),r=Wt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Mt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,r,n){var s,o,a,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||n&&n[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(x,"")?s:0:rt(t,o),void 0!==u[o]&&(a=new wt(u,o,u[o],a)));if(r)for(o in r)"className"!==o&&(l[o]=r[o]);return{difs:l,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ot[e],s=n.length;for(i=i||tt(t);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ut=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(ut(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+s+(r.length>2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(x,"")),e.oy=parseFloat(s.replace(x,"")),e.v=t),e||t},ct=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){"function"==typeof t&&(t=t(g,m));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,r){var n,s,o,a,l,u=1e-6;return"function"==typeof t&&(t=t(g,m)),null==t?a=e:"number"==typeof t?a=t:(n=360,s=t.split("_"),o=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:j)-(l?0:e),s.length&&(r&&(r[i]=e+o),-1!==t.indexOf("short")&&((o%=n)!==o%180&&(o=0>o?o+n:o-n)),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*n)%n-(o/n|0)*n:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*n)%n-(o/n|0)*n)),a=e+o),u>a&&a>-u&&(a=0),a},pt={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]},dt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},_t=o.parseColor=function(t,e){var i,r,n,s,o,a,l,u,c,h,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else o=Number(i[0])%360/360,a=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=.5>=l?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=dt(o+1/3,r,n),i[1]=dt(o,r,n),i[2]=dt(o-1/3,r,n);else i=t.match(v)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((u=Math.max(r,n,s))+(c=Math.min(r,n,s)))/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===r?(n-s)/h+(s>n?6:0):u===n?(s-r)/h+2:(r-n)/h+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],o=0,a="";if(!s.length)return t;for(i=0;i<s.length;i++)r=s[i],o+=(n=t.substr(o,t.indexOf(r,o)-o)).length+r.length,3===(r=_t(r,e)).length&&r.push(1),a+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return a+t.substr(o)},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(u in pt)gt+="|"+u+"\\b";gt=new RegExp(gt+")","gi"),o.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=mt(t[0],e),t[1]=mt(t[1],e)),gt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=o.colorStringFilter);var vt=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(gt)||[""])[0]:"",o=t.split(s).join("").match(w)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",c=o.length,h=c>0?o[0].replace(v,""):"";return c?n=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(r&&D.test(t)){for(d=t.replace(D,"|").split("|"),p=0;p<d.length;p++)d[p]=n(d[p]);return d.join(",")}if(e=(t.match(gt)||[s])[0],p=(f=t.split(e).join("").match(w)||[]).length,c>p--)for(;++p<c;)f[p]=i?f[(p-1)/2|0]:o[p];return a+f.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,f;if("number"==typeof t)t+=h;else if(r&&D.test(t)){for(s=t.replace(D,"|").split("|"),f=0;f<s.length;f++)s[f]=n(s[f]);return s.join(",")}if(f=(e=t.match(","===u?w:b)||[]).length,c>f--)for(;++f<c;)e[f]=i?e[(f-1)/2|0]:o[f];return(a&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||a)+e.join(u)+l}:function(t){return t}},yt=function(t){return t=t.split(","),function(e,i,r,n,s,o,a){var l,u=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return n.parse(e,a,s,o)}},wt=(Q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,o=this.data,a=o.proxy,l=o.firstMPT,u=1e-6;l;)e=a[l.v],l.r?e=l.r(e):u>e&&e>-u&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=o.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),bt=(Q._parseToProxy=function(t,e,i,r,n,s){var o,a,l,u,c,h=r,f={},p={},d=i._transform,_=N;for(i._transform=null,N=e,r=c=i.parse(t,e,r,n),N=_,s&&(i._transform=d,h&&(h._prev=null,h._prev&&(h._prev._next=null)));r&&r!==h;){if(r.type<=1&&(p[a=r.p]=r.s+r.c,f[a]=r.s,s||(u=new wt(r,"s",a,u,r.r),r.c=0),1===r.type))for(o=r.l;--o>0;)l="xn"+o,p[a=r.p+"_"+l]=r.data[l],f[a]=r[l],s||(u=new wt(r,l,a,u,r.rxp[l]));r=r._next}return{proxy:f,end:p,firstMPT:u,pt:c}},Q.CSSPropTween=function(t,e,r,n,o,a,l,u,c,h,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof bt||s.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,i=!0),this.b=void 0===h?r:h,this.e=void 0===f?r+n:f,o&&(this._next=o,o._prev=this)}),xt=function(t,e,i,r,n,s){var o=new bt(t,e,i,r-i,n,-1,s);return o.b=i,o.e=o.xs0=r,o},Tt=o.parseComplex=function(t,e,i,r,n,s,a,l,u,h){i=i||s||"","function"==typeof r&&(r=r(g,m)),a=new bt(t,e,0,0,a,h?2:1,null,!1,l,i,r),r+="",n&&gt.test(r+i)&&(r=[i,r],o.colorStringFilter(r),i=r[0],r=r[1]);var f,p,d,_,w,b,x,T,A,S,P,k,O,C=i.split(", ").join(",").split(" "),R=r.split(", ").join(",").split(" "),E=C.length,I=!1!==c;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(C=C.join(" ").replace(D,", ").split(" "),R=R.join(" ").replace(D,", ").split(" ")):(C=C.join(" ").split(",").join(", ").split(" "),R=R.join(" ").split(",").join(", ").split(" ")),E=C.length),E!==R.length&&(E=(C=(s||"").split(" ")).length),a.plugin=u,a.setRatio=h,gt.lastIndex=0,f=0;E>f;f++)if(_=C[f],w=R[f]+"",(T=parseFloat(_))||0===T)a.appendXtra("",T,ct(w,T),w.replace(y,""),!(!I||-1===w.indexOf("px"))&&Math.round,!0);else if(n&&gt.test(_))k=")"+((k=w.indexOf(")")+1)?w.substr(k):""),O=-1!==w.indexOf("hsl")&&V,S=w,_=_t(_,O),w=_t(w,O),(A=_.length+w.length>6)&&!V&&0===w[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(R[f]).join("transparent")):(V||(A=!1),O?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(A?"hsla(":"hsl("),_[0],ct(w[0],_[0]),",",!1,!0).appendXtra("",_[1],ct(w[1],_[1]),"%,",!1).appendXtra("",_[2],ct(w[2],_[2]),A?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(A?"rgba(":"rgb("),_[0],w[0]-_[0],",",Math.round,!0).appendXtra("",_[1],w[1]-_[1],",",Math.round).appendXtra("",_[2],w[2]-_[2],A?",":k,Math.round),A&&(_=_.length<4?1:_[3],a.appendXtra("",_,(w.length<4?1:w[3])-_,k,!1))),gt.lastIndex=0;else if(b=_.match(v)){if(!(x=w.match(y))||x.length!==b.length)return a;for(d=0,p=0;p<b.length;p++)P=b[p],S=_.indexOf(P,d),a.appendXtra(_.substr(d,S-d),Number(P),ct(x[p],P),"",!(!I||"px"!==_.substr(S+P.length,2))&&Math.round,0===p),d=S+P.length;a["xs"+a.l]+=_.substr(d)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+w:w;if(-1!==r.indexOf("=")&&a.data){for(k=a.xs0+a.data.s,f=1;f<a.l;f++)k+=a["xs"+f]+a.data["xn"+f];a.e=k+a["xs"+f]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},At=9;for((u=bt.prototype).l=u.pr=0;--At>0;)u["xn"+At]=0,u["xs"+At]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,r,n,s){var o=this,a=o.l;return o["xs"+a]+=s&&(a||o["xs"+a])?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=r||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=n,o["xn"+a]=e,o.plugin||(o.xfirst=new bt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,n,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=n,o)):(o["xs"+a]+=e+(r||""),o)};var St=function(t,e){e=e||{},this.p=e.prefix&&K(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Pt=Q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new St(n[r],e)},kt=Q._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Pt(t,{parser:function(t,i,r,n,s,o,u){var c=a.com.greensock.plugins[e];return c?(c._cssRegister(),l[r].parse(t,i,r,n,s,o,u)):($("Error: "+e+" js file not loaded."),s)}})}};(u=St.prototype).parseComplex=function(t,e,i,r,n,s){var o,a,l,u,c,h,f=this.keyword;if(this.multi&&(D.test(i)||D.test(e)?(a=e.replace(D,"|").split("|"),l=i.replace(D,"|").split("|")):f&&(a=[e],l=[i])),l){for(u=l.length>a.length?l.length:a.length,o=0;u>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&((c=e.indexOf(f))!==(h=i.indexOf(f))&&(-1===h?a[o]=a[o].split(f).join(""):-1===c&&(a[o]+=" "+f)));e=a.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},u.parse=function(t,e,i,r,s,o,a){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,r,n,s,o,a,l){var u=new bt(t,n,0,0,o,2,n,!1,i);return u.plugin=a,u.setRatio=e(t,r,s._tween,n),u},priority:i})},o.useSVGTransformAttr=!0;var Ot,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=K("transform"),Et=G+"transform",It=K("transformOrigin"),Mt=null!==K("perspective"),zt=Q.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Mt)&&(o.defaultForce3D||"auto")},Dt=_gsScope.SVGElement,Ft=function(t,e,i){var r,n=X.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Lt=X.documentElement||{},jt=function(){var t,e,i,r=_||/Android/i.test(Y)&&!_gsScope.chrome;return X.createElementNS&&Lt.appendChild&&!r&&(t=Ft("svg",Lt),i=(e=Ft("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[It]="50% 50%",e.style[Rt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(p&&Mt),Lt.removeChild(t)),r}(),Nt=function(t,e,i,r,n,s){var a,l,u,c,h,f,p,d,_,m,g,v,y,w,b=t._gsTransform,x=Ut(t,!0);b&&(y=b.xOrigin,w=b.yOrigin),(!r||(a=r.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=ut(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=c=parseFloat(a[0]),i.yOrigin=h=parseFloat(a[1]),r&&x!==qt&&(f=x[0],p=x[1],d=x[2],_=x[3],m=x[4],g=x[5],(v=f*_-p*d)&&(l=c*(_/v)+h*(-d/v)+(d*g-_*m)/v,u=c*(-p/v)+h*(f/v)-(f*g-p*m)/v,c=i.xOrigin=a[0]=l,h=i.yOrigin=a[1]=u)),b&&(s&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),n||!1!==n&&!1!==o.defaultSmoothOrigin?(l=c-y,u=h-w,b.xOffset+=l*x[0]+u*x[2]-l,b.yOffset+=l*x[1]+u*x[3]-u):b.xOffset=b.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Bt=function(t){var e,i=q("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(Lt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Bt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),Lt.removeChild(i),this.style.cssText=s,e},Xt=function(t){return!(!Dt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Bt.call(t,!0)}}(t))},qt=[1,0,0,1,0,0],Ut=function(t,e){var i,r,n,s,o,a,l,u=t._gsTransform||new zt,c=1e5,h=t.style;if(Rt?r=et(t,Et,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(M))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),u.x||0,u.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,Rt&&i&&!t.offsetParent&&t!==Lt&&(s=h.display,h.display="block",(l=t.parentNode)&&t.offsetParent||(o=1,a=t.nextSibling,Lt.appendChild(t)),i=!(r=et(t,Et,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?h.display=s:Ht(h,"display"),o&&(a?l.insertBefore(t,a):l?l.appendChild(t):Lt.removeChild(t))),(u.svg||t.getCTM&&Xt(t))&&(i&&-1!==(h[Rt]+"").indexOf("matrix")&&(r=h[Rt],i=0),n=t.getAttribute("transform"),i&&n&&(r="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return qt;for(n=(r||"").match(v)||[],At=n.length;--At>-1;)s=Number(n[At]),n[At]=(o=s-(s|=0))?(o*c+(0>o?-.5:.5)|0)/c+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Wt=Q.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,a,l,u,c,h,f=r&&t._gsTransform||new zt,p=f.scaleX<0,d=2e-5,_=1e5,m=Mt&&(parseFloat(et(t,It,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,g=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Xt(t)),f.svg&&(Nt(t,et(t,It,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=o.useSVGTransformAttr||jt),(s=Ut(t))!==qt){if(16===s.length){var v,y,w,b,x,T=s[0],A=s[1],S=s[2],P=s[3],k=s[4],O=s[5],C=s[6],R=s[7],E=s[8],I=s[9],M=s[10],z=s[12],D=s[13],F=s[14],L=s[11],N=Math.atan2(C,M);f.zOrigin&&(z=E*(F=-f.zOrigin)-s[12],D=I*F-s[13],F=M*F+f.zOrigin-s[14]),f.rotationX=N*j,N&&(v=k*(b=Math.cos(-N))+E*(x=Math.sin(-N)),y=O*b+I*x,w=C*b+M*x,E=k*-x+E*b,I=O*-x+I*b,M=C*-x+M*b,L=R*-x+L*b,k=v,O=y,C=w),N=Math.atan2(-S,M),f.rotationY=N*j,N&&(y=A*(b=Math.cos(-N))-I*(x=Math.sin(-N)),w=S*b-M*x,I=A*x+I*b,M=S*x+M*b,L=P*x+L*b,T=v=T*b-E*x,A=y,S=w),N=Math.atan2(A,T),f.rotation=N*j,N&&(v=T*(b=Math.cos(N))+A*(x=Math.sin(N)),y=k*b+O*x,w=E*b+I*x,A=A*b-T*x,O=O*b-k*x,I=I*b-E*x,T=v,k=y,E=w),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(k,O),f.scaleX=(Math.sqrt(T*T+A*A+S*S)*_+.5|0)/_,f.scaleY=(Math.sqrt(O*O+C*C)*_+.5|0)/_,f.scaleZ=(Math.sqrt(E*E+I*I+M*M)*_+.5|0)/_,T/=f.scaleX,k/=f.scaleY,A/=f.scaleX,O/=f.scaleY,Math.abs(N)>d?(f.skewX=N*j,k=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(0>L?-L:L):0,f.x=z,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*k),f.y-=f.yOrigin-(f.yOrigin*A-f.xOrigin*O))}else if(!Mt||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var B=s.length>=6,X=B?s[0]:1,q=s[1]||0,U=s[2]||0,W=B?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(X*X+q*q),u=Math.sqrt(W*W+U*U),c=X||q?Math.atan2(q,X)*j:f.rotation||0,h=U||W?Math.atan2(U,W)*j+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*X+f.yOrigin*U),f.y-=f.yOrigin-(f.xOrigin*q+f.yOrigin*W))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=m,f)f[a]<d&&f[a]>-d&&(f[a]=0)}return r&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?e.delayedCall(.001,(function(){Ht(t.style,Rt)})):!Ot&&t.getAttribute("transform")&&e.delayedCall(.001,(function(){t.removeAttribute("transform")})))),f},Qt=function(t){var e,i,r=this.data,n=-r.rotation*L,s=n+r.skewX*L,o=1e5,a=(Math.cos(n)*r.scaleX*o|0)/o,l=(Math.sin(n)*r.scaleX*o|0)/o,u=(Math.sin(s)*-r.scaleY*o|0)/o,c=(Math.cos(s)*r.scaleY*o|0)/o,h=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-u,u=-i,e=f.filter,h.filter="";var p,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==f.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+c,w=r.x+m*r.xPercent/100,b=r.y+g*r.yPercent/100;if(null!=r.ox&&(w+=(p=(r.oxp?m*r.ox*.01:r.ox)-m/2)-(p*a+(d=(r.oyp?g*r.oy*.01:r.oy)-g/2)*l),b+=d-(p*u+d*c)),v?y+=", Dx="+((p=m/2)-(p*a+(d=g/2)*l)+w)+", Dy="+(d-(p*u+d*c)+b)+")":y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(z,y):h.filter=y+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===c&&(v&&-1===y.indexOf("Dx=0, Dy=0")||A.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!v){var x,S,P,k=8>_?1:-1;for(p=r.ieOffsetX||0,d=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>a?-a:a)*m+(0>l?-l:l)*g))/2+w),r.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>u?-u:u)*m))/2+b),At=0;4>At;At++)P=(i=-1!==(x=f[S=at[At]]).indexOf("px")?parseFloat(x):it(this.t,S,parseFloat(x),x.replace(T,""))||0)!==r[S]?2>At?-r.ieOffsetX:-r.ieOffsetY:2>At?p-r.ieOffsetX:d-r.ieOffsetY,h[S]=(r[S]=Math.round(i-P*(0===At||2===At?1:k)))+"px"}}},Yt=Q.set3DTransformRatio=Q.setTransformRatio=function(t){var e,i,r,n,s,o,a,l,u,c,h,f,d,_,m,g,v,y,w,b,x,T,A,S=this.data,P=this.t.style,k=S.rotation,O=S.rotationX,C=S.rotationY,R=S.scaleX,E=S.scaleY,I=S.scaleZ,M=S.x,z=S.y,D=S.z,F=S.svg,j=S.perspective,N=S.force3D,B=S.skewY,X=S.skewX;if(B&&(X+=B,k+=B),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||D||j||C||O||1!==I)||Ot&&F||!Mt)k||X||F?(k*=L,T=X*L,A=1e5,i=Math.cos(k)*R,s=Math.sin(k)*R,r=Math.sin(k-T)*-E,o=Math.cos(k-T)*E,T&&"simple"===S.skewType&&(e=Math.tan(T-B*L),r*=e=Math.sqrt(1+e*e),o*=e,B&&(e=Math.tan(B*L),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset,Ot&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),M+=.01*S.xPercent*m.width,z+=.01*S.yPercent*m.height),(m=1e-6)>M&&M>-m&&(M=0),m>z&&z>-m&&(z=0)),w=(i*A|0)/A+","+(s*A|0)/A+","+(r*A|0)/A+","+(o*A|0)/A+","+M+","+z+")",F&&Ot?this.t.setAttribute("transform","matrix("+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+E+","+M+","+z+")";else{if(p&&((m=1e-4)>R&&R>-m&&(R=I=2e-5),m>E&&E>-m&&(E=I=2e-5),!j||S.z||S.rotationX||S.rotationY||(j=0)),k||X)k*=L,g=i=Math.cos(k),v=s=Math.sin(k),X&&(k-=X*L,g=Math.cos(k),v=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((X-B)*L),g*=e=Math.sqrt(1+e*e),v*=e,S.skewY&&(e=Math.tan(B*L),i*=e=Math.sqrt(1+e*e),s*=e))),r=-v,o=g;else{if(!(C||O||1!==I||j||F))return void(P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+z+"px,"+D+"px)"+(1!==R||1!==E?" scale("+R+","+E+")":""));i=o=1,r=s=0}c=1,n=a=l=u=h=f=0,d=j?-1/j:0,_=S.zOrigin,m=1e-6,b=",",x="0",(k=C*L)&&(g=Math.cos(k),l=-(v=Math.sin(k)),h=d*-v,n=i*v,a=s*v,c=g,d*=g,i*=g,s*=g),(k=O*L)&&(e=r*(g=Math.cos(k))+n*(v=Math.sin(k)),y=o*g+a*v,u=c*v,f=d*v,n=r*-v+n*g,a=o*-v+a*g,c*=g,d*=g,r=e,o=y),1!==I&&(n*=I,a*=I,c*=I,d*=I),1!==E&&(r*=E,o*=E,u*=E,f*=E),1!==R&&(i*=R,s*=R,l*=R,h*=R),(_||F)&&(_&&(M+=n*-_,z+=a*-_,D+=c*-_+_),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset),m>M&&M>-m&&(M=x),m>z&&z>-m&&(z=x),m>D&&D>-m&&(D=0)),w=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",w+=(m>i&&i>-m?x:i)+b+(m>s&&s>-m?x:s)+b+(m>l&&l>-m?x:l),w+=b+(m>h&&h>-m?x:h)+b+(m>r&&r>-m?x:r)+b+(m>o&&o>-m?x:o),O||C||1!==I?(w+=b+(m>u&&u>-m?x:u)+b+(m>f&&f>-m?x:f)+b+(m>n&&n>-m?x:n),w+=b+(m>a&&a>-m?x:a)+b+(m>c&&c>-m?x:c)+b+(m>d&&d>-m?x:d)+b):w+=",0,0,0,0,1,0,",w+=M+b+z+b+D+b+(j?1+-D/j:1)+")",P[Rt]=w}};(u=zt.prototype).x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(g,t));var c,h,f,p,d,_,v,y,w,b=t._gsTransform,x=t.style,T=1e-6,A=Ct.length,S=l,P={},k="transformOrigin",O=Wt(t,n,!0,S.parseTransform),C=S.transform&&("function"==typeof S.transform?S.transform(g,m):S.transform);if(O.skewType=S.skewType||O.skewType||o.defaultSkewType,r._transform=O,"rotationZ"in S&&(S.rotation=S.rotationZ),C&&"string"==typeof C&&Rt)(h=U.style)[Rt]=C,h.display="block",h.position="absolute",-1!==C.indexOf("%")&&(h.width=et(t,"width"),h.height=et(t,"height")),X.body.appendChild(U),c=Wt(U,null,!1),"simple"===O.skewType&&(c.scaleY*=Math.cos(c.skewX*L)),O.svg&&(_=O.xOrigin,v=O.yOrigin,c.x-=O.xOffset,c.y-=O.yOffset,(S.transformOrigin||S.svgOrigin)&&(C={},Nt(t,ut(S.transformOrigin),C,S.svgOrigin,S.smoothOrigin,!0),_=C.xOrigin,v=C.yOrigin,c.x-=C.xOffset-O.xOffset,c.y-=C.yOffset-O.yOffset),(_||v)&&(y=Ut(U,!0),c.x-=_-(_*y[0]+v*y[2]),c.y-=v-(_*y[1]+v*y[3]))),X.body.removeChild(U),c.perspective||(c.perspective=O.perspective),null!=S.xPercent&&(c.xPercent=ht(S.xPercent,O.xPercent)),null!=S.yPercent&&(c.yPercent=ht(S.yPercent,O.yPercent));else if("object"==typeof S){if(c={scaleX:ht(null!=S.scaleX?S.scaleX:S.scale,O.scaleX),scaleY:ht(null!=S.scaleY?S.scaleY:S.scale,O.scaleY),scaleZ:ht(S.scaleZ,O.scaleZ),x:ht(S.x,O.x),y:ht(S.y,O.y),z:ht(S.z,O.z),xPercent:ht(S.xPercent,O.xPercent),yPercent:ht(S.yPercent,O.yPercent),perspective:ht(S.transformPerspective,O.perspective)},null!=(d=S.directionalRotation))if("object"==typeof d)for(h in d)S[h]=d[h];else S.rotation=d;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(c.x=0,c.xPercent=ht(S.x,O.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(c.y=0,c.yPercent=ht(S.y,O.yPercent)),c.rotation=ft("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":O.rotation,O.rotation,"rotation",P),Mt&&(c.rotationX=ft("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":O.rotationX||0,O.rotationX,"rotationX",P),c.rotationY=ft("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":O.rotationY||0,O.rotationY,"rotationY",P)),c.skewX=ft(S.skewX,O.skewX),c.skewY=ft(S.skewY,O.skewY)}for(Mt&&null!=S.force3D&&(O.force3D=S.force3D,p=!0),(f=O.force3D||O.z||O.rotationX||O.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==S.scale||(c.scaleZ=1);--A>-1;)((C=c[w=Ct[A]]-O[w])>T||-T>C||null!=S[w]||null!=N[w])&&(p=!0,s=new bt(O,w,O[w],C,s),w in P&&(s.e=P[w]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return C="function"==typeof S.transformOrigin?S.transformOrigin(g,m):S.transformOrigin,O.svg&&(C||S.svgOrigin)&&(_=O.xOffset,v=O.yOffset,Nt(t,ut(C),c,S.svgOrigin,S.smoothOrigin),s=xt(O,"xOrigin",(b?O:c).xOrigin,c.xOrigin,s,k),s=xt(O,"yOrigin",(b?O:c).yOrigin,c.yOrigin,s,k),(_!==O.xOffset||v!==O.yOffset)&&(s=xt(O,"xOffset",b?_:O.xOffset,O.xOffset,s,k),s=xt(O,"yOffset",b?v:O.yOffset,O.yOffset,s,k)),C="0px 0px"),(C||Mt&&f&&O.zOrigin)&&(Rt?(p=!0,w=It,C||(C=(C=(et(t,w,n,!1,"50% 50%")+"").split(" "))[0]+" "+C[1]+" "+O.zOrigin+"px"),C+="",(s=new bt(x,w,0,0,s,-1,k)).b=x[w],s.plugin=a,Mt?(h=O.zOrigin,C=C.split(" "),O.zOrigin=(C.length>2?parseFloat(C[2]):h)||0,s.xs0=s.e=C[0]+" "+(C[1]||"50%")+" 0px",(s=new bt(O,"zOrigin",0,0,s,-1,s.n)).b=h,s.xs0=s.e=O.zOrigin):s.xs0=s.e=C):ut(C+"",O)),p&&(r._transformType=O.svg&&Ot||!f&&3!==this._transformType?2:3),u&&(l.scale=u),s},allowFunc:!0,prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:vt("inset(0% 0% 0% 0%)",!1,!0)}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o,a){e=this.format(e);var l,u,c,h,f,p,d,_,m,g,v,y,w,b,x,T,A=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),u=0;u<A.length;u++)this.p.indexOf("border")&&(A[u]=K(A[u])),-1!==(f=h=et(t,A[u],n,!1,"0px")).indexOf(" ")&&(h=f.split(" "),f=h[0],h=h[1]),p=c=l[u],d=parseFloat(f),y=f.substr((d+"").length),(w="="===p.charAt(1))?(_=parseInt(p.charAt(0)+"1",10),p=p.substr(2),_*=parseFloat(p),v=p.substr((_+"").length-(0>_?1:0))||""):(_=parseFloat(p),v=p.substr((_+"").length)),""===v&&(v=r[i]||y),v!==y&&(b=it(t,"borderLeft",d,y),x=it(t,"borderTop",d,y),"%"===v?(f=b/m*100+"%",h=x/g*100+"%"):"em"===v?(f=b/(T=it(t,"borderLeft",1,"em"))+"em",h=x/T+"em"):(f=b+"px",h=x+"px"),w&&(p=parseFloat(f)+_+v,c=parseFloat(h)+_+v)),o=Tt(S,A[u],f+" "+h,p+" "+c,!1,"0px",o);return o},prefix:!0,formatter:vt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,o){return Tt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:vt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,o){var a,l,u,c,h,f,p="background-position",d=n||tt(t),m=this.format((d?_?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&((f=et(t,"backgroundImage").replace(R,""))&&"none"!==f)){for(a=m.split(" "),l=g.split(" "),W.setAttribute("src",f),u=2;--u>-1;)(c=-1!==(m=a[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-W.width:t.offsetHeight-W.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,g,s,o)},formatter:ut}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ut(-1===t.indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,o){var a,l,u;return 9>_?(l=t.currentStyle,u=8>_?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,o){var a=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/it(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Pt("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new bt(o,a,0,0,n,-1,i,!1,0,o[a],e)}});var Vt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(P,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(A,"opacity="+n))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,o){var a=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===et(t,"visibility",n)&&0!==e&&(a=0),V?s=new bt(l,"opacity",a,e-a,s):((s=new bt(l,"opacity",100*a,100*(e-a),s)).xn1=u?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Vt),u&&((s=new bt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Ht=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(O,"-$1").toLowerCase())):t.removeAttribute(e))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ht(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(t,e,r,s,o,a,l){var u,c,h,f,p,d=t.getAttribute("class")||"",_=t.style.cssText;if((o=s._classNamePT=new bt(t,r,0,0,o,2)).setRatio=$t,o.pr=-11,i=!0,o.b=d,c=nt(t,n),h=t._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",o.e),u=st(t,c,nt(t),l,f),t.setAttribute("class",d),o.data=u.firstMPT,t.style.cssText!==_&&(t.style.cssText=_),o.xfirst=s.parse(t,u.difs,o,a)}});var Gt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,o=this.t.style,a=l.transform.parse;if("all"===this.e)o.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],l[i]&&(l[i].parse===a?n=!0:i="transformOrigin"===i?It:l[i].p),Ht(o,i);n&&(Ht(o,Rt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(t,e,r,n,s){return(s=new bt(t,r,0,0,s,2)).setRatio=Gt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),At=u.length;At--;)kt(u[At]);(u=o.prototype)._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a,u){if(!t.nodeType)return!1;this._target=m=t,this._tween=a,this._vars=e,g=u,c=e.autoRound,i=!1,r=e.suffixMap||o.suffixMap,n=tt(t),s=this._overwriteProps;var p,_,v,y,w,b,x,T,A,P=t.style;if(h&&""===P.zIndex&&(("auto"===(p=et(t,"zIndex",n))||""===p)&&this._addLazySet(P,"zIndex",0)),"string"==typeof e&&(y=P.cssText,p=nt(t,n),P.cssText=y+";"+e,p=st(t,p,nt(t)).difs,!V&&S.test(e)&&(p.opacity=parseFloat(RegExp.$1)),e=p,P.cssText=y),e.className?this._firstPT=_=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(A=3===this._transformType,Rt?f&&(h=!0,""===P.zIndex&&(("auto"===(x=et(t,"zIndex",n))||""===x)&&this._addLazySet(P,"zIndex",0)),d&&this._addLazySet(P,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(A?"visible":"hidden"))):P.zoom=1,v=_;v&&v._next;)v=v._next;T=new bt(t,"transform",0,0,null,2),this._linkCSSP(T,null,v),T.setRatio=Rt?Yt:Qt,T.data=this._transform||Wt(t,n,!0),T.tween=a,T.pr=-1,s.pop()}if(i){for(;_;){for(b=_._next,v=y;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:w)?_._prev._next=_:y=_,(_._next=v)?v._prev=_:w=_,_=b}this._firstPT=y}return!0},u.parse=function(t,e,i,s){var o,a,u,h,f,p,d,_,v,y,w=t.style;for(o in e){if(p=e[o],a=l[o],"function"!=typeof p||a&&a.allowFunc||(p=p(g,m)),a)i=a.parse(t,p,o,this,i,s,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}f=et(t,o,n)+"",v="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||v&&k.test(p)?(v||(p=((p=_t(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),i=Tt(w,o,f,p,!0,"transparent",i,0,s)):v&&F.test(p)?i=Tt(w,o,f,p,!0,null,i,0,s):(d=(u=parseFloat(f))||0===u?f.substr((u+"").length):"",(""===f||"auto"===f)&&("width"===o||"height"===o?(u=lt(t,o,n),d="px"):"left"===o||"top"===o?(u=rt(t,o,n),d="px"):(u="opacity"!==o?0:1,d="")),(y=v&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),_=p.replace(T,"")):(h=parseFloat(p),_=v?p.replace(T,""):""),""===_&&(_=o in r?r[o]:d),p=h||0===h?(y?h+u:h)+_:e[o],d!==_&&(""!==_||"lineHeight"===o)&&(h||0===h)&&u&&(u=it(t,o,u,d),"%"===_?(u/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(f=u+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?u/=it(t,o,1,_):"px"!==_&&(h=it(t,o,h,_),_="px"),y&&(h||0===h)&&(p=h+u+_)),y&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==w[o]&&(p||p+""!="NaN"&&null!=p)?(i=new bt(w,o,h||u||0,0,i,-1,o,!1,0,f,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f:$("invalid "+o+" tween value: "+e[o]):(i=new bt(w,o,u,h-u,i,0,o,!1!==c&&("px"===_||"zIndex"===o),0,f,p)).xs0=_)}s&&i&&!i.plugin&&(i.plugin=s)}return i},u.setRatio=function(t){var e,i,r,n=this._firstPT,s=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):s>e&&e>-s&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},u._enableTransforms=function(t){this._transform=this._transform||Wt(this._target,n,!0),this._transformType=this._transform.svg&&Ot||!t&&3!==this._transformType?2:3};var Zt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};u._addLazySet=function(t,e,i){var r=this._firstPT=new bt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=Zt,r.data=this},u._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},u._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},u._kill=function(e){var i,r,n,s=e;if(e.autoAlpha||e.alpha){for(r in s={},e)s[r]=e[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&((n=i.xfirst)&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==r&&i.plugin._kill&&(i.plugin._kill(e),r=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var Kt=function(t,e,i){var r,n,s,o;if(t.slice)for(n=t.length;--n>-1;)Kt(t[n],e,i);else for(n=(r=t.childNodes).length;--n>-1;)o=(s=r[n]).type,s.style&&(e.push(nt(s)),i&&i.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Kt(s,e,i)};return o.cascadeTo=function(t,i,r){var n,s,o,a,l=e.to(t,i,r),u=[l],c=[],h=[],f=[],p=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,c,f),l.render(i,!0,!0),Kt(t,h),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],c[n],h[n])).firstMPT){for(o in s=s.difs,r)p[o]&&(s[o]=r[o]);for(o in a={},s)a[o]=c[n][o];u.push(e.fromTo(f[n],i,a,s))}return u},t.activate([o]),o}),!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,o=this._tween,a=o.vars.roundProps,l={},u=o._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),n=a.length;--n>-1;)l[a[n]]=Math.round;else for(s in a)l[s]=e(a[s]);for(s in l)for(t=o._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:o._firstPT===t&&(o._firstPT=r),t._next=t._prev=null,o._propLookup[s]=u)),t=r;return!1},r._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,o,a,l,u,c=!0===e.useRadians?2*Math.PI:360,h=1e-6;for(n in e)"useRadians"!==n&&("function"==typeof(a=e[n])&&(a=a(r,t)),s=(u=(a+"").split("_"))[0],o=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(a=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?o+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-o,u.length&&(-1!==(s=u.join("_")).indexOf("short")&&((l%=c)!==l%(c/2)&&(l=0>l?l+c:l-c)),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>h||-h>l)&&(this._addTween(t,n,o,o+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],(function(t){var e,i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,o=s.com.greensock,a=2*Math.PI,l=Math.PI/2,u=o._class,c=function(e,i){var r=u("easing."+e,(function(){}),!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},h=t.register||function(){},f=function(t,e,i,r,n){var s=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return h(s,t),s},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(e,i){var r=u("easing."+e,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},_=f("Back",d("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),d("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),d("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),m=u("easing.SlowMo",(function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i}),!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=u("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0),(g=e.prototype=new t).constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=u("easing.ExpoScaleEase",(function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i}),!0),(g=i.prototype=new t).constructor=i,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=i.config=function(t,e,r){return new i(t,e,r)},r=u("easing.RoughEase",(function(e){for(var i,r,n,s,o,a,l=(e=e||{}).taper||"none",u=[],c=0,h=0|(e.points||20),f=h,d=!1!==e.randomize,_=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=d?Math.random():1/h*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?n=(s=1-i)*s*g:"in"===l?n=i*i*g:.5>i?n=(s=2*i)*s*.5*g:n=(s=2*(1-i))*s*.5*g,d?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,_&&(r>1?r=1:0>r&&(r=0)),u[c++]={x:i,y:r};for(u.sort((function(t,e){return t.x-e.x})),a=new p(1,1,null),f=h;--f>-1;)o=u[f],a=new p(o.x,o.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)}),!0),(g=r.prototype=new t).constructor=r,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new r(t)},r.ease=new r,f("Bounce",c("BounceOut",(function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),c("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),c("BounceInOut",(function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),f("Circ",c("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),c("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),c("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),n=function(e,i,r){var n=u("easing."+e,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2}),!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},f("Elastic",n("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),n("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),n("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),f("Expo",c("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),c("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),c("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),f("Sine",c("SineOut",(function(t){return Math.sin(t*l)})),c("SineIn",(function(t){return 1-Math.cos(t*l)})),c("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),u("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(r,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),_}),!0)})),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},r=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t,s=n[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var o,a,l,u,c,h=function(t){var e,i=t.split("."),r=n;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},f=h("com.greensock"),p=1e-8,d=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},_=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),g={},v=function(r,s,o,a){this.sc=g[r]?g[r].sc:[],g[r]=this,this.gsClass=null,this.func=o;var l=[];this.check=function(u){for(var c,f,p,d,_=s.length,m=_;--_>-1;)(c=g[s[_]]||new v(s[_],[])).gsClass?(l[_]=c.gsClass,m--):u&&c.sc.push(this);if(0===m&&o){if(p=(f=("com.greensock."+r).split(".")).pop(),d=h(f.join("."))[p]=this.gsClass=o.apply(o,l),a)if(n[p]=i[p]=d,"undefined"!=typeof module&&module.exports)if(r===e)for(_ in module.exports=i[e]=d,i)d[_]=i[_];else i[e]&&(i[e][p]=d);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],(function(){return d}));for(_=0;_<this.sc.length;_++)this.sc[_].check()}},this.check(!0)},y=t._gsDefine=function(t,e,i,r){return new v(t,e,i,r)},w=f._class=function(t,e,i){return e=e||function(){},y(t,[],(function(){return e}),i),e};y.globals=n;var b=[0,0,1,1],x=w("easing.Ease",(function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?b.concat(e):b}),!0),T=x.map={},A=x.register=function(t,e,i,r){for(var n,s,o,a,l=e.split(","),u=l.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(s=l[u],n=r?w("easing."+s,null,!0):f.easing[s]||{},o=c.length;--o>-1;)a=c[o],T[s+"."+a]=T[a+s]=n[a]=t.getRatio?t:t[a]||new t};for((l=x.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=o[a]+",Power"+a,A(new x(null,null,1,a),l,"easeOut",!0),A(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),A(new x(null,null,3,a),l,"easeInOut");T.linear=f.easing.Linear.easeIn,T.swing=f.easing.Quad.easeInOut;var S=w("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(l=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,o,a=this._listeners[t],l=0;for(this!==u||c||u.wake(),null==a&&(this._listeners[t]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===e&&s.s===i?a.splice(o,1):0===l&&s.pr<n&&(l=o+1);a.splice(l,0,{c:e,s:i,up:r,pr:n})},l.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var P=t.requestAnimationFrame,k=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},C=O();for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[o[a]+"RequestAnimationFrame"],k=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];w("Ticker",(function(t,e){var i,n,s,o,a,l=this,h=O(),f=!(!1===e||!P)&&"auto",d=500,m=33,g=function(t){var e,r,u=O()-C;u>d&&(h+=u-m),C+=u,l.time=(C-h)/1e3,e=l.time-a,(!i||e>0||!0===t)&&(l.frame++,a+=e+(e>=o?.004:o-e),r=!0),!0!==t&&(s=n(g)),r&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){g(!0)},l.lagSmoothing=function(t,e){return arguments.length?(d=t||1/p,void(m=Math.min(e,d,0))):1/p>d},l.sleep=function(){null!=s&&(f&&k?k(s):clearTimeout(s),n=_,s=null,l===u&&(c=!1))},l.wake=function(t){null!==s?l.sleep():t?h+=-C+(C=O()):l.frame>10&&(C=O()-d+5),n=0===i?_:f&&P?P:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===u&&(c=!0),g(2)},l.fps=function(t){return arguments.length?(o=1/((i=t)||60),a=this.time+o,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout((function(){"auto"===f&&l.frame<5&&"hidden"!==(r||{}).visibilityState&&l.useRAF(!1)}),1500)})),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var R=w("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,G){c||u.wake();var i=this.vars.useFrames?$:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));u=R.ticker=new f.Ticker,(l=R.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var E=function(){c&&O()-C>2e3&&("hidden"!==(r||{}).visibilityState||!u.lagSmoothing())&&u.wake();var t=setTimeout(E,2e3);t.unref&&t.unref()};E(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-p},l._enabled=function(t,e){return c||u.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},l._kill=function(t,e){return this._enabled(!1,!1)},l.kill=function(t,e){return this._kill(t,e),this},l._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},l._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},l.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(c||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(D.length&&K(),this.render(t,e,!1),D.length&&K())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||p,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},l.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(c||t||u.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=w("core.SimpleTimeline",(function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(l=I.prototype=new R).constructor=I,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},l.rawTime=function(){return c||u.wake(),this._totalTime};var M=w("TweenLite",(function(e,i,r){if(R.call(this,i,r),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var n,s,o,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?H[M.defaultOverwrite]:"number"==typeof l?l>>0:H[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=o=d(e),this._propLookup=[],this._siblings=[],n=0;n<o.length;n++)(s=o[n])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(n--,1),this._targets=o=o.concat(d(s))):(this._siblings[n]=J(s,this,!1),1===l&&this._siblings[n].length>1&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=o[n--]=M.selector(s))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-p,this.render(Math.min(0,-this._delay)))}),!0),z=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=M.prototype=new R).constructor=M,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,M.version="2.1.3",M.defaultEase=l._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=u,M.autoSleep=120,M.lagSmoothing=function(t,e){u.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(M.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var D=[],F={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+-]=-?[\.\d]/,N=function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):r>e&&e>-r&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},B=function(t){return(1e3*t|0)/1e3+""},X=function(t,e,i,r){var n,s,o,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",i&&(i(h),t=h[0],e=h[1]),h.length=0,n=t.match(L)||[],s=e.match(L)||[],r&&(r._next=null,r.blob=1,h._firstPT=h._applyPT=r),l=s.length,a=0;l>a;a++)c=s[a],p+=(u=e.substr(f,e.indexOf(c,f)-f))||!a?u:",",f+=u.length,d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),c===n[a]||n.length<=a?p+=c:(p&&(h.push(p),p=""),o=parseFloat(n[a]),h.push(o),h._firstPT={_next:h._firstPT,t:h,p:h.length-1,s:o,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-o)||0,f:0,m:d&&4>d?Math.round:B}),f+=c.length;return(p+=e.substr(f))&&h.push(p),h.setRatio=N,j.test(e)&&(h.end=null),h},q=function(t,e,i,r,n,s,o,a,l){"function"==typeof r&&(r=r(l||0,t));var u=typeof t[e],c="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),h="get"!==i?i:c?o?t[c](o):t[c]():t[e],f="string"==typeof r&&"="===r.charAt(1),p={t:t,p:e,s:h,f:"function"===u,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:f?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-h||0};return("number"!=typeof h||"number"!=typeof r&&!f)&&(o||isNaN(h)||!f&&isNaN(r)||"boolean"==typeof h||"boolean"==typeof r?(p.fp=o,p={t:X(h,f?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):r,a||M.defaultStringFilter,p),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(p.s=parseFloat(h),f||(p.c=parseFloat(r)-p.s||0))),p.c?((p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p):void 0},U=M._internals={isArray:m,isSelector:z,lazyTweens:D,blobDif:X},W=M._plugins={},Q=U.tweenLookup={},Y=0,V=U.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},$=R._rootFramesTimeline=new I,G=R._rootTimeline=new I,Z=30,K=U.lazyRender=function(){var t,e,i=D.length;for(F={},t=0;i>t;t++)(e=D[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);D.length=0};G._startTime=u.time,$._startTime=u.frame,G._active=$._active=!0,setTimeout(K,1),R._updateRoot=M.render=function(){var t,e,i;if(D.length&&K(),G.render((u.time-G._startTime)*G._timeScale,!1,!1),$.render((u.frame-$._startTime)*$._timeScale,!1,!1),D.length&&K(),u.frame>=Z){for(i in Z=u.frame+(parseInt(M.autoSleep,10)||120),Q){for(t=(e=Q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Q[i]}if((!(i=G._first)||i._paused)&&M.autoSleep&&!$._first&&1===u._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||u.sleep()}}},u.addEventListener("tick",R._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(Q[s||(t._gsTweenID=s="t"+Y++)]||(Q[s]={target:t,tweens:[]}),e&&((r=Q[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return Q[s].tweens},tt=function(t,e,i,r){var n,s,o=t.vars.onOverwrite;return o&&(n=o(t,e,i,r)),(o=M.onOverwrite)&&(s=o(t,e,i,r)),!1!==n&&!1!==s},et=function(t,e,i,r,n){var s,o,a,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((a=n[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===r)break;return o}var u,c=e._startTime+p,h=[],f=0,d=0===e._duration;for(s=n.length;--s>-1;)(a=n[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||it(e,0,d),0===it(a,u,d)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((d||!a._initted)&&c-a._startTime<=2*p||(h[f++]=a)));for(s=f;--s>-1;)if(l=(a=h[s])._firstPT,2===r&&a._kill(i,t,e)&&(o=!0),2!==r||!a._firstPT&&a._initted&&l){if(2!==r&&!tt(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},it=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&2*p>s-e?p:(s+=t.totalDuration()/t._timeScale/n)>e+p?0:s-e-p};l._init=function(){var t,e,i,r,n,s,o=this.vars,a=this._overwrittenProps,l=this._duration,u=!!o.immediateRender,c=o.ease,h=this._startAt;if(o.startAt){for(r in h&&(h.render(-1,!0),h.kill()),n={},o.startAt)n[r]=o.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=u&&!1!==o.lazy,n.startAt=n.delay=null,n.onUpdate=o.onUpdate,n.onUpdateParams=o.onUpdateParams,n.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=M.to(this.target||{},0,n),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{for(r in 0!==this._time&&(u=!1),i={},o)V[r]&&"autoCSS"!==r||(i[r]=o[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==o.lazy,i.immediateRender=u,this._startAt=M.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,o.easeParams):T[c]||M.defaultEase:M.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&M._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},l._initProps=function(e,i,r,n,s){var o,a,l,u,c,h;if(null==e)return!1;for(o in F[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)V[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!W[i]||W[i]&&W[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e),this.vars)if(h=this.vars[o],V[o])h&&(h instanceof Array||h.push&&m(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[o]=h=this._swapSelfInParams(h,this));else if(W[o]&&(u=new W[o])._onInitTween(e,this.vars[o],this,s)){for(this._firstPT=c={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:u._priority,m:0},a=u._overwriteProps.length;--a>-1;)i[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else i[o]=q.call(this,e,o,"get",h,o,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&et(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,o,a=this,l=a._time,u=a._duration,c=a._rawPrevTime;if(t>=u-p&&t>=0)a._totalTime=a._time=u,a.ratio=a._ease._calcEnd?a._ease.getRatio(1):1,a._reversed||(r=!0,n="onComplete",i=i||a._timeline.autoRemoveChildren),0===u&&(a._initted||!a.vars.lazy||i)&&(a._startTime===a._timeline._duration&&(t=0),(0>c||0>=t&&t>=-p||c===p&&"isPause"!==a.data)&&c!==t&&(i=!0,c>p&&(n="onReverseComplete")),a._rawPrevTime=o=!e||t||c===t?t:p);else if(p>t)a._totalTime=a._time=0,a.ratio=a._ease._calcEnd?a._ease.getRatio(0):0,(0!==l||0===u&&c>0)&&(n="onReverseComplete",r=a._reversed),t>-p?t=0:0>t&&(a._active=!1,0===u&&(a._initted||!a.vars.lazy||i)&&(c>=0&&(c!==p||"isPause"!==a.data)&&(i=!0),a._rawPrevTime=o=!e||t||c===t?t:p)),(!a._initted||a._startAt&&a._startAt.progress())&&(i=!0);else if(a._totalTime=a._time=t,a._easeType){var h=t/u,f=a._easeType,d=a._easePower;(1===f||3===f&&h>=.5)&&(h=1-h),3===f&&(h*=2),1===d?h*=h:2===d?h*=h*h:3===d?h*=h*h*h:4===d&&(h*=h*h*h*h),a.ratio=1===f?1-h:2===f?h:.5>t/u?h/2:1-h/2}else a.ratio=a._ease.getRatio(t/u);if(a._time!==l||i){if(!a._initted){if(a._init(),!a._initted||a._gc)return;if(!i&&a._firstPT&&(!1!==a.vars.lazy&&a._duration||a.vars.lazy&&!a._duration))return a._time=a._totalTime=l,a._rawPrevTime=c,D.push(a),void(a._lazy=[t,e]);a._time&&!r?a.ratio=a._ease.getRatio(a._time/u):r&&a._ease._calcEnd&&(a.ratio=a._ease.getRatio(0===a._time?0:1))}for(!1!==a._lazy&&(a._lazy=!1),a._active||!a._paused&&a._time!==l&&t>=0&&(a._active=!0),0===l&&(a._startAt&&(t>=0?a._startAt.render(t,!0,i):n||(n="_dummyGS")),a.vars.onStart&&(0!==a._time||0===u)&&(e||a._callback("onStart"))),s=a._firstPT;s;)s.f?s.t[s.p](s.c*a.ratio+s.s):s.t[s.p]=s.c*a.ratio+s.s,s=s._next;a._onUpdate&&(0>t&&a._startAt&&-1e-4!==t&&a._startAt.render(t,!0,i),e||(a._time!==l||r||i)&&a._callback("onUpdate")),n&&(!a._gc||i)&&(0>t&&a._startAt&&!a._onUpdate&&-1e-4!==t&&a._startAt.render(t,!0,i),r&&(a._timeline.autoRemoveChildren&&a._enabled(!1,!1),a._active=!1),!e&&a.vars[n]&&a._callback(n),0===u&&a._rawPrevTime===p&&o!==p&&(a._rawPrevTime=0))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:M.selector(e)||e;var r,n,s,o,a,l,u,c,h,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,p=this._firstPT;if((m(e)||z(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){a=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==n&&"all"!==n&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(M.onOverwrite||this.vars.onOverwrite)){for(s in u)a[s]&&(h||(h=[]),h.push(s));if((h||!t)&&!tt(this,i,e,h))return!1}for(s in u)(o=a[s])&&(f&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(u)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[s]),c&&(n[s]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-p,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(c||u.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,i){return new M(t,e,i)},M.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new M(t,e,i)},M.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new M(t,e,r)},M.delayedCall=function(t,e,i,r,n){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:M.selector(t)||t,(m(t)||z(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(M.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=J(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},M.killTweensOf=M.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=M.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var rt=w("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=rt.prototype}),!0);if(l=rt.prototype,rt.version="1.19.0",rt.API=2,l._firstPT=null,l._addTween=q,l.setRatio=N,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},M._onPluginEvent=function(t,e){var i,r,n,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:s)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:s=a,a=o}a=e._firstPT=n}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},rt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===rt.API&&(W[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){rt.call(this,i,r),this._overwriteProps=n||[]}),!0===t.global),a=o.prototype=new rt(i);for(e in a.constructor=o,o.API=t.API,s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,rt.activate([o]),o},o=t._gsQueue){for(a=0;a<o.length;a++)o[a]();for(l in g)g[l].func||t.console.log("GSAP encountered missing dependency: "+l)}c=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");