text: require=function(r,e,n){function t(n,o){function i(r){return t(i.resolve(r))}function f(e){return r[n][1][e]||e}if(!e[n]){if(!r[n]){var c="function"==typeof require&&require;if(!o&&c)return c(n,!0);if(u)return u(n,!0);var l=new Error("Cannot find module '"+n+"'");throw l.code="MODULE_NOT_FOUND",l}i.resolve=f;var a=e[n]=new t.Module;r[n][0].call(a.exports,i,a,a.exports)}return e[n].exports}function o(){this.bundle=t,this.exports={}}var u="function"==typeof require&&require;t.Module=o,t.modules=r,t.cache=e,t.parent=u;for(var i=0;i<n.length;i++)t(n[i]);return t}({25:[function(require,module,exports) {
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.dat=t():e.dat=t()}(this,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0;var o,i=n(1),r=(o=i,o&&o.__esModule?o:{default:o});t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=b(n(2)),i=b(n(6)),r=b(n(3)),a=b(n(7)),l=b(n(8)),s=b(n(10)),u=b(n(11)),d=b(n(12)),c=b(n(13)),f=b(n(14)),p=b(n(15)),_=b(n(16)),h=b(n(9)),m=b(n(17));function b(e){return e&&e.__esModule?e:{default:e}}t.default={color:{Color:o.default,math:i.default,interpret:r.default},controllers:{Controller:a.default,BooleanController:l.default,OptionController:s.default,StringController:u.default,NumberController:d.default,NumberControllerBox:c.default,NumberControllerSlider:f.default,FunctionController:p.default,ColorController:_.default},dom:{dom:h.default},gui:{GUI:m.default},GUI:m.default},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=l(n(3)),i=l(n(6)),r=l(n(4)),a=l(n(5));function l(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__state=o.default.apply(this,arguments),!1===this.__state)throw new Error("Failed to interpret color arguments");this.__state.a=this.__state.a||1}return e.prototype.toString=function(){return(0,r.default)(this)},e.prototype.toHexString=function(){return(0,r.default)(this,!0)},e.prototype.toOriginal=function(){return this.__state.conversion.write(this)},e}();function u(e,t,n){Object.defineProperty(e,t,{get:function(){return"RGB"===this.__state.space?this.__state[t]:(s.recalculateRGB(this,t,n),this.__state[t])},set:function(e){"RGB"!==this.__state.space&&(s.recalculateRGB(this,t,n),this.__state.space="RGB"),this.__state[t]=e}})}function d(e,t){Object.defineProperty(e,t,{get:function(){return"HSV"===this.__state.space?this.__state[t]:(s.recalculateHSV(this),this.__state[t])},set:function(e){"HSV"!==this.__state.space&&(s.recalculateHSV(this),this.__state.space="HSV"),this.__state[t]=e}})}s.recalculateRGB=function(e,t,n){if("HEX"===e.__state.space)e.__state[t]=i.default.component_from_hex(e.__state.hex,n);else{if("HSV"!==e.__state.space)throw new Error("Corrupted color state");a.default.extend(e.__state,i.default.hsv_to_rgb(e.__state.h,e.__state.s,e.__state.v))}},s.recalculateHSV=function(e){var t=i.default.rgb_to_hsv(e.r,e.g,e.b);a.default.extend(e.__state,{s:t.s,v:t.v}),a.default.isNaN(t.h)?a.default.isUndefined(e.__state.h)&&(e.__state.h=0):e.__state.h=t.h},s.COMPONENTS=["r","g","b","h","s","v","hex","a"],u(s.prototype,"r",2),u(s.prototype,"g",1),u(s.prototype,"b",0),d(s.prototype,"h"),d(s.prototype,"s"),d(s.prototype,"v"),Object.defineProperty(s.prototype,"a",{get:function(){return this.__state.a},set:function(e){this.__state.a=e}}),Object.defineProperty(s.prototype,"hex",{get:function(){return"HEX"!==!this.__state.space&&(this.__state.hex=i.default.rgb_to_hex(this.r,this.g,this.b)),this.__state.hex},set:function(e){this.__state.space="HEX",this.__state.hex=e}}),t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=r(n(4)),i=r(n(5));function r(e){return e&&e.__esModule?e:{default:e}}var a=[{litmus:i.default.isString,conversions:{THREE_CHAR_HEX:{read:function(e){var t=e.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);return null!==t&&{space:"HEX",hex:parseInt("0x"+t[1].toString()+t[1].toString()+t[2].toString()+t[2].toString()+t[3].toString()+t[3].toString(),0)}},write:o.default},SIX_CHAR_HEX:{read:function(e){var t=e.match(/^#([A-F0-9]{6})$/i);return null!==t&&{space:"HEX",hex:parseInt("0x"+t[1].toString(),0)}},write:o.default},CSS_RGB:{read:function(e){var t=e.match(/^rgb\(\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*\)/);return null!==t&&{space:"RGB",r:parseFloat(t[1]),g:parseFloat(t[2]),b:parseFloat(t[3])}},write:o.default},CSS_RGBA:{read:function(e){var t=e.match(/^rgba\(\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*,\s*(.+)\s*\)/);return null!==t&&{space:"RGB",r:parseFloat(t[1]),g:parseFloat(t[2]),b:parseFloat(t[3]),a:parseFloat(t[4])}},write:o.default}}},{litmus:i.default.isNumber,conversions:{HEX:{read:function(e){return{space:"HEX",hex:e,conversionName:"HEX"}},write:function(e){return e.hex}}}},{litmus:i.default.isArray,conversions:{RGB_ARRAY:{read:function(e){return 3===e.length&&{space:"RGB",r:e[0],g:e[1],b:e[2]}},write:function(e){return[e.r,e.g,e.b]}},RGBA_ARRAY:{read:function(e){return 4===e.length&&{space:"RGB",r:e[0],g:e[1],b:e[2],a:e[3]}},write:function(e){return[e.r,e.g,e.b,e.a]}}}},{litmus:i.default.isObject,conversions:{RGBA_OBJ:{read:function(e){return!!(i.default.isNumber(e.r)&&i.default.isNumber(e.g)&&i.default.isNumber(e.b)&&i.default.isNumber(e.a))&&{space:"RGB",r:e.r,g:e.g,b:e.b,a:e.a}},write:function(e){return{r:e.r,g:e.g,b:e.b,a:e.a}}},RGB_OBJ:{read:function(e){return!!(i.default.isNumber(e.r)&&i.default.isNumber(e.g)&&i.default.isNumber(e.b))&&{space:"RGB",r:e.r,g:e.g,b:e.b}},write:function(e){return{r:e.r,g:e.g,b:e.b}}},HSVA_OBJ:{read:function(e){return!!(i.default.isNumber(e.h)&&i.default.isNumber(e.s)&&i.default.isNumber(e.v)&&i.default.isNumber(e.a))&&{space:"HSV",h:e.h,s:e.s,v:e.v,a:e.a}},write:function(e){return{h:e.h,s:e.s,v:e.v,a:e.a}}},HSV_OBJ:{read:function(e){return!!(i.default.isNumber(e.h)&&i.default.isNumber(e.s)&&i.default.isNumber(e.v))&&{space:"HSV",h:e.h,s:e.s,v:e.v}},write:function(e){return{h:e.h,s:e.s,v:e.v}}}}}],l=void 0,s=void 0;t.default=function(){s=!1;var e=arguments.length>1?i.default.toArray(arguments):arguments[0];return i.default.each(a,function(t){if(t.litmus(e))return i.default.each(t.conversions,function(t,n){if(l=t.read(e),!1===s&&!1!==l)return s=l,l.conversionName=n,l.conversion=t,i.default.BREAK}),i.default.BREAK}),s},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n=e.__state.conversionName.toString(),o=Math.round(e.r),i=Math.round(e.g),r=Math.round(e.b),a=e.a,l=Math.round(e.h),s=e.s.toFixed(1),u=e.v.toFixed(1);if(t||"THREE_CHAR_HEX"===n||"SIX_CHAR_HEX"===n){for(var d=e.hex.toString(16);d.length<6;)d="0"+d;return"#"+d}return"CSS_RGB"===n?"rgb("+o+","+i+","+r+")":"CSS_RGBA"===n?"rgba("+o+","+i+","+r+","+a+")":"HEX"===n?"0x"+e.hex.toString(16):"RGB_ARRAY"===n?"["+o+","+i+","+r+"]":"RGBA_ARRAY"===n?"["+o+","+i+","+r+","+a+"]":"RGB_OBJ"===n?"{r:"+o+",g:"+i+",b:"+r+"}":"RGBA_OBJ"===n?"{r:"+o+",g:"+i+",b:"+r+",a:"+a+"}":"HSV_OBJ"===n?"{h:"+l+",s:"+s+",v:"+u+"}":"HSVA_OBJ"===n?"{h:"+l+",s:"+s+",v:"+u+",a:"+a+"}":"unknown format"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;var n=Array.prototype.forEach,o=Array.prototype.slice,i={BREAK:{},extend:function(e){return this.each(o.call(arguments,1),function(t){(this.isObject(t)?Object.keys(t):[]).forEach(function(n){this.isUndefined(t[n])||(e[n]=t[n])}.bind(this))},this),e},defaults:function(e){return this.each(o.call(arguments,1),function(t){(this.isObject(t)?Object.keys(t):[]).forEach(function(n){this.isUndefined(e[n])&&(e[n]=t[n])}.bind(this))},this),e},compose:function(){var e=o.call(arguments);return function(){for(var t=o.call(arguments),n=e.length-1;n>=0;n--)t=[e[n].apply(this,t)];return t[0]}},each:function(e,t,o){if(e)if(n&&e.forEach&&e.forEach===n)e.forEach(t,o);else if(e.length===e.length+0){var i=void 0,r=void 0;for(i=0,r=e.length;i<r;i++)if(i in e&&t.call(o,e[i],i)===this.BREAK)return}else for(var a in e)if(t.call(o,e[a],a)===this.BREAK)return},defer:function(e){setTimeout(e,0)},debounce:function(e,t,n){var o=void 0;return function(){var i=this,r=arguments;var a=n||!o;clearTimeout(o),o=setTimeout(function(){o=null,n||e.apply(i,r)},t),a&&e.apply(i,r)}},toArray:function(e){return e.toArray?e.toArray():o.call(e)},isUndefined:function(e){return void 0===e},isNull:function(e){return null===e},isNaN:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return isNaN(e)}),isArray:Array.isArray||function(e){return e.constructor===Array},isObject:function(e){return e===Object(e)},isNumber:function(e){return e===e+0},isString:function(e){return e===e+""},isBoolean:function(e){return!1===e||!0===e},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)}};t.default=i,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;var n=void 0,o={hsv_to_rgb:function(e,t,n){var o=Math.floor(e/60)%6,i=e/60-Math.floor(e/60),r=n*(1-t),a=n*(1-i*t),l=n*(1-(1-i)*t),s=[[n,l,r],[a,n,r],[r,n,l],[r,a,n],[l,r,n],[n,r,a]][o];return{r:255*s[0],g:255*s[1],b:255*s[2]}},rgb_to_hsv:function(e,t,n){var o=Math.min(e,t,n),i=Math.max(e,t,n),r=i-o,a=void 0;return 0===i?{h:NaN,s:0,v:0}:(a=e===i?(t-n)/r:t===i?2+(n-e)/r:4+(e-t)/r,(a/=6)<0&&(a+=1),{h:360*a,s:r/i,v:i/255})},rgb_to_hex:function(e,t,n){var o=this.hex_with_component(0,2,e);return o=this.hex_with_component(o,1,t),o=this.hex_with_component(o,0,n)},component_from_hex:function(e,t){return e>>8*t&255},hex_with_component:function(e,t,o){return o<<(n=8*t)|e&~(255<<n)}};t.default=o,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;var n=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialValue=t[n],this.domElement=document.createElement("div"),this.object=t,this.property=n,this.__onChange=void 0,this.__onFinishChange=void 0}return e.prototype.onChange=function(e){return this.__onChange=e,this},e.prototype.onFinishChange=function(e){return this.__onFinishChange=e,this},e.prototype.setValue=function(e){return this.object[this.property]=e,this.__onChange&&this.__onChange.call(this,e),this.updateDisplay(),this},e.prototype.getValue=function(){return this.object[this.property]},e.prototype.updateDisplay=function(){return this},e.prototype.isModified=function(){return this.initialValue!==this.getValue()},e}();t.default=n,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=r(n(7)),i=r(n(9));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o)),a=r;r.__prev=r.getValue(),r.__checkbox=document.createElement("input"),r.__checkbox.setAttribute("type","checkbox");return i.default.bind(r.__checkbox,"change",function(){a.setValue(!a.__prev)},!1),r.domElement.appendChild(r.__checkbox),r.updateDisplay(),r}return t.prototype.setValue=function(t){var n=e.prototype.setValue.call(this,t);return this.__onFinishChange&&this.__onFinishChange.call(this,this.getValue()),this.__prev=this.getValue(),n},t.prototype.updateDisplay=function(){return!0===this.getValue()?(this.__checkbox.setAttribute("checked","checked"),this.__checkbox.checked=!0,this.__prev=!0):(this.__checkbox.checked=!1,this.__prev=!1),e.prototype.updateDisplay.call(this)},t}(o.default);t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o,i=n(5),r=(o=i,o&&o.__esModule?o:{default:o});var a={};r.default.each({HTMLEvents:["change"],MouseEvents:["click","mousemove","mousedown","mouseup","mouseover"],KeyboardEvents:["keydown"]},function(e,t){r.default.each(e,function(e){a[e]=t})});var l=/(\d+(\.\d+)?)px/;function s(e){if("0"===e||r.default.isUndefined(e))return 0;var t=e.match(l);return r.default.isNull(t)?0:parseFloat(t[1])}var u={makeSelectable:function(e,t){void 0!==e&&void 0!==e.style&&(e.onselectstart=t?function(){return!1}:function(){},e.style.MozUserSelect=t?"auto":"none",e.style.KhtmlUserSelect=t?"auto":"none",e.unselectable=t?"on":"off")},makeFullscreen:function(e,t,n){var o=n,i=t;r.default.isUndefined(i)&&(i=!0),r.default.isUndefined(o)&&(o=!0),e.style.position="absolute",i&&(e.style.left=0,e.style.right=0),o&&(e.style.top=0,e.style.bottom=0)},fakeEvent:function(e,t,n,o){var i=n||{},l=a[t];if(!l)throw new Error("Event type "+t+" not supported.");var s=document.createEvent(l);switch(l){case"MouseEvents":var u=i.x||i.clientX||0,d=i.y||i.clientY||0;s.initMouseEvent(t,i.bubbles||!1,i.cancelable||!0,window,i.clickCount||1,0,0,u,d,!1,!1,!1,!1,0,null);break;case"KeyboardEvents":var c=s.initKeyboardEvent||s.initKeyEvent;r.default.defaults(i,{cancelable:!0,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,keyCode:void 0,charCode:void 0}),c(t,i.bubbles||!1,i.cancelable,window,i.ctrlKey,i.altKey,i.shiftKey,i.metaKey,i.keyCode,i.charCode);break;default:s.initEvent(t,i.bubbles||!1,i.cancelable||!0)}r.default.defaults(s,o),e.dispatchEvent(s)},bind:function(e,t,n,o){var i=o||!1;return e.addEventListener?e.addEventListener(t,n,i):e.attachEvent&&e.attachEvent("on"+t,n),u},unbind:function(e,t,n,o){var i=o||!1;return e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&e.detachEvent("on"+t,n),u},addClass:function(e,t){if(void 0===e.className)e.className=t;else if(e.className!==t){var n=e.className.split(/ +/);-1===n.indexOf(t)&&(n.push(t),e.className=n.join(" ").replace(/^\s+/,"").replace(/\s+$/,""))}return u},removeClass:function(e,t){if(t)if(e.className===t)e.removeAttribute("class");else{var n=e.className.split(/ +/),o=n.indexOf(t);-1!==o&&(n.splice(o,1),e.className=n.join(" "))}else e.className=void 0;return u},hasClass:function(e,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(e.className)||!1},getWidth:function(e){var t=getComputedStyle(e);return s(t["border-left-width"])+s(t["border-right-width"])+s(t["padding-left"])+s(t["padding-right"])+s(t.width)},getHeight:function(e){var t=getComputedStyle(e);return s(t["border-top-width"])+s(t["border-bottom-width"])+s(t["padding-top"])+s(t["padding-bottom"])+s(t.height)},getOffset:function(e){var t=e,n={left:0,top:0};if(t.offsetParent)do{n.left+=t.offsetLeft,n.top+=t.offsetTop,t=t.offsetParent}while(t);return n},isActive:function(e){return e===document.activeElement&&(e.type||e.href)}};t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=a(n(7)),i=a(n(9)),r=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o)),s=a,u=l;if(l.__select=document.createElement("select"),r.default.isArray(s)){var d={};r.default.each(s,function(e){d[e]=e}),s=d}return r.default.each(s,function(e,t){var n=document.createElement("option");n.innerHTML=t,n.setAttribute("value",e),u.__select.appendChild(n)}),l.updateDisplay(),i.default.bind(l.__select,"change",function(){var e=this.options[this.selectedIndex].value;u.setValue(e)}),l.domElement.appendChild(l.__select),l}return t.prototype.setValue=function(t){var n=e.prototype.setValue.call(this,t);return this.__onFinishChange&&this.__onFinishChange.call(this,this.getValue()),n},t.prototype.updateDisplay=function(){return i.default.isActive(this.__select)?this:(this.__select.value=this.getValue(),e.prototype.updateDisplay.call(this))},t}(o.default);t.default=l,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=r(n(7)),i=r(n(9));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o)),a=r;function l(){a.setValue(a.__input.value)}return r.__input=document.createElement("input"),r.__input.setAttribute("type","text"),i.default.bind(r.__input,"keyup",l),i.default.bind(r.__input,"change",l),i.default.bind(r.__input,"blur",function(){a.__onFinishChange&&a.__onFinishChange.call(a,a.getValue())}),i.default.bind(r.__input,"keydown",function(e){13===e.keyCode&&this.blur()}),r.updateDisplay(),r.domElement.appendChild(r.__input),r}return t.prototype.updateDisplay=function(){return i.default.isActive(this.__input)||(this.__input.value=this.getValue()),e.prototype.updateDisplay.call(this)},t}(o.default);t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=r(n(7)),i=r(n(5));function r(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=e.toString();return t.indexOf(".")>-1?t.length-t.indexOf(".")-1:0}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o)),s=r||{};return l.__min=s.min,l.__max=s.max,l.__step=s.step,i.default.isUndefined(l.__step)?0===l.initialValue?l.__impliedStep=1:l.__impliedStep=Math.pow(10,Math.floor(Math.log(Math.abs(l.initialValue))/Math.LN10))/10:l.__impliedStep=l.__step,l.__precision=a(l.__impliedStep),l}return t.prototype.setValue=function(t){var n=t;return void 0!==this.__min&&n<this.__min?n=this.__min:void 0!==this.__max&&n>this.__max&&(n=this.__max),void 0!==this.__step&&n%this.__step!=0&&(n=Math.round(n/this.__step)*this.__step),e.prototype.setValue.call(this,n)},t.prototype.min=function(e){return this.__min=e,this},t.prototype.max=function(e){return this.__max=e,this},t.prototype.step=function(e){return this.__step=e,this.__impliedStep=e,this.__precision=a(e),this},t}(o.default);t.default=l,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=a(n(12)),i=a(n(9)),r=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o,a));l.__truncationSuspended=!1;var s=l,u=void 0;function d(){s.__onFinishChange&&s.__onFinishChange.call(s,s.getValue())}function c(e){var t=u-e.clientY;s.setValue(s.getValue()+t*s.__impliedStep),u=e.clientY}function f(){i.default.unbind(window,"mousemove",c),i.default.unbind(window,"mouseup",f),d()}return l.__input=document.createElement("input"),l.__input.setAttribute("type","text"),i.default.bind(l.__input,"change",function(){var e=parseFloat(s.__input.value);r.default.isNaN(e)||s.setValue(e)}),i.default.bind(l.__input,"blur",function(){d()}),i.default.bind(l.__input,"mousedown",function(e){i.default.bind(window,"mousemove",c),i.default.bind(window,"mouseup",f),u=e.clientY}),i.default.bind(l.__input,"keydown",function(e){13===e.keyCode&&(s.__truncationSuspended=!0,this.blur(),s.__truncationSuspended=!1,d())}),l.updateDisplay(),l.domElement.appendChild(l.__input),l}return t.prototype.updateDisplay=function(){return this.__input.value=this.__truncationSuspended?this.getValue():function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}(this.getValue(),this.__precision),e.prototype.updateDisplay.call(this)},t}(o.default);t.default=l,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=r(n(12)),i=r(n(9));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o,r,a,l){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o,{min:r,max:a,step:l})),u=s;s.__background=document.createElement("div"),s.__foreground=document.createElement("div"),i.default.bind(s.__background,"mousedown",function(e){document.activeElement.blur(),i.default.bind(window,"mousemove",d),i.default.bind(window,"mouseup",c),d(e)}),i.default.addClass(s.__background,"slider"),i.default.addClass(s.__foreground,"slider-fg");function d(e){e.preventDefault();var t=u.__background.getBoundingClientRect();u.setValue((n=e.clientX,o=t.left,i=t.right,r=u.__min,a=u.__max,r+(n-o)/(i-o)*(a-r)));var n,o,i,r,a;return!1}function c(){i.default.unbind(window,"mousemove",d),i.default.unbind(window,"mouseup",c),u.__onFinishChange&&u.__onFinishChange.call(u,u.getValue())}return s.updateDisplay(),s.__background.appendChild(s.__foreground),s.domElement.appendChild(s.__background),s}return t.prototype.updateDisplay=function(){var t=(this.getValue()-this.__min)/(this.__max-this.__min);return this.__foreground.style.width=100*t+"%",e.prototype.updateDisplay.call(this)},t}(o.default);t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=r(n(7)),i=r(n(9));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o)),l=a;return a.__button=document.createElement("div"),a.__button.innerHTML=void 0===r?"Fire":r,i.default.bind(a.__button,"click",function(e){return e.preventDefault(),l.fire(),!1}),i.default.addClass(a.__button,"button"),a.domElement.appendChild(a.__button),a}return t.prototype.fire=function(){this.__onChange&&this.__onChange.call(this),this.getValue().call(this.object),this.__onFinishChange&&this.__onFinishChange.call(this,this.getValue())},t}(o.default);t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=s(n(7)),i=s(n(9)),r=s(n(2)),a=s(n(3)),l=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e);function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o));s.__color=new r.default(s.getValue()),s.__temp=new r.default(0);var u=s;s.domElement=document.createElement("div"),i.default.makeSelectable(s.domElement,!1),s.__selector=document.createElement("div"),s.__selector.className="selector",s.__saturation_field=document.createElement("div"),s.__saturation_field.className="saturation-field",s.__field_knob=document.createElement("div"),s.__field_knob.className="field-knob",s.__field_knob_border="2px solid ",s.__hue_knob=document.createElement("div"),s.__hue_knob.className="hue-knob",s.__hue_field=document.createElement("div"),s.__hue_field.className="hue-field",s.__input=document.createElement("input"),s.__input.type="text",s.__input_textShadow="0 1px 1px ",i.default.bind(s.__input,"keydown",function(e){13===e.keyCode&&h.call(this)}),i.default.bind(s.__input,"blur",h),i.default.bind(s.__selector,"mousedown",function(){i.default.addClass(this,"drag").bind(window,"mouseup",function(){i.default.removeClass(u.__selector,"drag")})});var d=document.createElement("div");l.default.extend(s.__selector.style,{width:"122px",height:"102px",padding:"3px",backgroundColor:"#222",boxShadow:"0px 1px 3px rgba(0,0,0,0.3)"}),l.default.extend(s.__field_knob.style,{position:"absolute",width:"12px",height:"12px",border:s.__field_knob_border+(s.__color.v<.5?"#fff":"#000"),boxShadow:"0px 1px 3px rgba(0,0,0,0.5)",borderRadius:"12px",zIndex:1}),l.default.extend(s.__hue_knob.style,{position:"absolute",width:"15px",height:"2px",borderRight:"4px solid #fff",zIndex:1}),l.default.extend(s.__saturation_field.style,{width:"100px",height:"100px",border:"1px solid #555",marginRight:"3px",display:"inline-block",cursor:"pointer"}),l.default.extend(d.style,{width:"100%",height:"100%",background:"none"}),c(d,"top","rgba(0,0,0,0)","#000"),l.default.extend(s.__hue_field.style,{width:"15px",height:"100px",border:"1px solid #555",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px"}),(f=s.__hue_field).style.background="",f.style.cssText+="background: -moz-linear-gradient(top,  #ff0000 0%, #ff00ff 17%, #0000ff 34%, #00ffff 50%, #00ff00 67%, #ffff00 84%, #ff0000 100%);",f.style.cssText+="background: -webkit-linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);",f.style.cssText+="background: -o-linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);",f.style.cssText+="background: -ms-linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);",f.style.cssText+="background: linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);";var f;l.default.extend(s.__input.style,{outline:"none",textAlign:"center",color:"#fff",border:0,fontWeight:"bold",textShadow:s.__input_textShadow+"rgba(0,0,0,0.7)"}),i.default.bind(s.__saturation_field,"mousedown",p),i.default.bind(s.__field_knob,"mousedown",p),i.default.bind(s.__hue_field,"mousedown",function(e){v(e),i.default.bind(window,"mousemove",v),i.default.bind(window,"mouseup",m)});function p(e){g(e),i.default.bind(window,"mousemove",g),i.default.bind(window,"mouseup",_)}function _(){i.default.unbind(window,"mousemove",g),i.default.unbind(window,"mouseup",_),b()}function h(){var e=(0,a.default)(this.value);!1!==e?(u.__color.__state=e,u.setValue(u.__color.toOriginal())):this.value=u.__color.toString()}function m(){i.default.unbind(window,"mousemove",v),i.default.unbind(window,"mouseup",m),b()}function b(){u.__onFinishChange&&u.__onFinishChange.call(u,u.__color.toOriginal())}s.__saturation_field.appendChild(d),s.__selector.appendChild(s.__field_knob),s.__selector.appendChild(s.__saturation_field),s.__selector.appendChild(s.__hue_field),s.__hue_field.appendChild(s.__hue_knob),s.domElement.appendChild(s.__input),s.domElement.appendChild(s.__selector),s.updateDisplay();function g(e){e.preventDefault();var t=u.__saturation_field.getBoundingClientRect(),n=(e.clientX-t.left)/(t.right-t.left),o=1-(e.clientY-t.top)/(t.bottom-t.top);return o>1?o=1:o<0&&(o=0),n>1?n=1:n<0&&(n=0),u.__color.v=o,u.__color.s=n,u.setValue(u.__color.toOriginal()),!1}function v(e){e.preventDefault();var t=u.__hue_field.getBoundingClientRect(),n=1-(e.clientY-t.top)/(t.bottom-t.top);return n>1?n=1:n<0&&(n=0),u.__color.h=360*n,u.setValue(u.__color.toOriginal()),!1}return s}return t.prototype.updateDisplay=function(){var e=(0,a.default)(this.getValue());if(!1!==e){var t=!1;l.default.each(r.default.COMPONENTS,function(n){if(!l.default.isUndefined(e[n])&&!l.default.isUndefined(this.__color.__state[n])&&e[n]!==this.__color.__state[n])return t=!0,{}},this),t&&l.default.extend(this.__color.__state,e)}l.default.extend(this.__temp.__state,this.__color.__state),this.__temp.a=1;var n=this.__color.v<.5||this.__color.s>.5?255:0,o=255-n;l.default.extend(this.__field_knob.style,{marginLeft:100*this.__color.s-7+"px",marginTop:100*(1-this.__color.v)-7+"px",backgroundColor:this.__temp.toHexString(),border:this.__field_knob_border+"rgb("+n+","+n+","+n+")"}),this.__hue_knob.style.marginTop=100*(1-this.__color.h/360)+"px",this.__temp.s=1,this.__temp.v=1,c(this.__saturation_field,"left","#fff",this.__temp.toHexString()),this.__input.value=this.__color.toString(),l.default.extend(this.__input.style,{backgroundColor:this.__color.toHexString(),color:"rgb("+n+","+n+","+n+")",textShadow:this.__input_textShadow+"rgba("+o+","+o+","+o+",.7)"})},t}(o.default),d=["-moz-","-o-","-webkit-","-ms-",""];function c(e,t,n,o){e.style.background="",l.default.each(d,function(i){e.style.cssText+="background: "+i+"linear-gradient("+t+", "+n+" 0%, "+o+" 100%); "})}t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=g(n(18)),r=g(n(19)),a=g(n(20)),l=g(n(7)),s=g(n(8)),u=g(n(15)),d=g(n(13)),c=g(n(14)),f=g(n(16)),p=g(n(21)),_=g(n(22)),h=g(n(9)),m=g(n(5)),b=g(n(23));function g(e){return e&&e.__esModule?e:{default:e}}i.default.inject(b.default);var v="Default",y=function(){try{return"localStorage"in window&&null!==window.localStorage}catch(e){return!1}}(),w=void 0,x=!0,E=void 0,C=!1,A=[],S=function e(t){var n=this,o=t||{};this.domElement=document.createElement("div"),this.__ul=document.createElement("ul"),this.domElement.appendChild(this.__ul),h.default.addClass(this.domElement,"dg"),this.__folders={},this.__controllers=[],this.__rememberedObjects=[],this.__rememberedObjectIndecesToControllers=[],this.__listening=[],o=m.default.defaults(o,{closeOnTop:!1,autoPlace:!0,width:e.DEFAULT_WIDTH}),o=m.default.defaults(o,{resizable:o.autoPlace,hideable:o.autoPlace}),m.default.isUndefined(o.load)?o.load={preset:v}:o.preset&&(o.load.preset=o.preset),m.default.isUndefined(o.parent)&&o.hideable&&A.push(this),o.resizable=m.default.isUndefined(o.parent)&&o.resizable,o.autoPlace&&m.default.isUndefined(o.scrollable)&&(o.scrollable=!0);var i=y&&"true"===localStorage.getItem(L(this,"isLocal")),r=void 0;if(Object.defineProperties(this,{parent:{get:function(){return o.parent}},scrollable:{get:function(){return o.scrollable}},autoPlace:{get:function(){return o.autoPlace}},closeOnTop:{get:function(){return o.closeOnTop}},preset:{get:function(){return n.parent?n.getRoot().preset:o.load.preset},set:function(e){n.parent?n.getRoot().preset=e:o.load.preset=e,function(e){for(var t=0;t<e.__preset_select.length;t++)e.__preset_select[t].value===e.preset&&(e.__preset_select.selectedIndex=t)}(this),n.revert()}},width:{get:function(){return o.width},set:function(e){o.width=e,N(n,e)}},name:{get:function(){return o.name},set:function(e){o.name=e,titleRowName&&(titleRowName.innerHTML=o.name)}},closed:{get:function(){return o.closed},set:function(t){o.closed=t,o.closed?h.default.addClass(n.__ul,e.CLASS_CLOSED):h.default.removeClass(n.__ul,e.CLASS_CLOSED),this.onResize(),n.__closeButton&&(n.__closeButton.innerHTML=t?e.TEXT_OPEN:e.TEXT_CLOSED)}},load:{get:function(){return o.load}},useLocalStorage:{get:function(){return i},set:function(e){y&&(i=e,e?h.default.bind(window,"unload",r):h.default.unbind(window,"unload",r),localStorage.setItem(L(n,"isLocal"),e))}}}),m.default.isUndefined(o.parent)){if(o.closed=!1,h.default.addClass(this.domElement,e.CLASS_MAIN),h.default.makeSelectable(this.domElement,!1),y&&i){n.useLocalStorage=!0;var a=localStorage.getItem(L(this,"gui"));a&&(o.load=JSON.parse(a))}this.__closeButton=document.createElement("div"),this.__closeButton.innerHTML=e.TEXT_CLOSED,h.default.addClass(this.__closeButton,e.CLASS_CLOSE_BUTTON),o.closeOnTop?(h.default.addClass(this.__closeButton,e.CLASS_CLOSE_TOP),this.domElement.insertBefore(this.__closeButton,this.domElement.childNodes[0])):(h.default.addClass(this.__closeButton,e.CLASS_CLOSE_BOTTOM),this.domElement.appendChild(this.__closeButton)),h.default.bind(this.__closeButton,"click",function(){n.closed=!n.closed})}else{void 0===o.closed&&(o.closed=!0);var l=document.createTextNode(o.name);h.default.addClass(l,"controller-name");var s=k(n,l),u=function(e){return e.preventDefault(),n.closed=!n.closed,!1};h.default.addClass(this.__ul,e.CLASS_CLOSED),h.default.addClass(s,"title"),h.default.bind(s,"click",u),o.closed||(this.closed=!1)}o.autoPlace&&(m.default.isUndefined(o.parent)&&(x&&(E=document.createElement("div"),h.default.addClass(E,"dg"),h.default.addClass(E,e.CLASS_AUTO_PLACE_CONTAINER),document.body.appendChild(E),x=!1),E.appendChild(this.domElement),h.default.addClass(this.domElement,e.CLASS_AUTO_PLACE)),this.parent||N(n,o.width)),this.__resizeHandler=function(){n.onResizeDebounced()},h.default.bind(window,"resize",this.__resizeHandler),h.default.bind(this.__ul,"webkitTransitionEnd",this.__resizeHandler),h.default.bind(this.__ul,"transitionend",this.__resizeHandler),h.default.bind(this.__ul,"oTransitionEnd",this.__resizeHandler),this.onResize(),o.resizable&&function(e){var t=void 0;e.__resize_handle=document.createElement("div"),m.default.extend(e.__resize_handle.style,{width:"6px",marginLeft:"-3px",height:"200px",cursor:"ew-resize",position:"absolute"});function n(n){return n.preventDefault(),e.width+=t-n.clientX,e.onResize(),t=n.clientX,!1}function o(){h.default.removeClass(e.__closeButton,S.CLASS_DRAG),h.default.unbind(window,"mousemove",n),h.default.unbind(window,"mouseup",o)}function i(i){return i.preventDefault(),t=i.clientX,h.default.addClass(e.__closeButton,S.CLASS_DRAG),h.default.bind(window,"mousemove",n),h.default.bind(window,"mouseup",o),!1}h.default.bind(e.__resize_handle,"mousedown",i),h.default.bind(e.__closeButton,"mousedown",i),e.domElement.insertBefore(e.__resize_handle,e.domElement.firstElementChild)}(this),r=function(){y&&"true"===localStorage.getItem(L(n,"isLocal"))&&localStorage.setItem(L(n,"gui"),JSON.stringify(n.getSaveObject()))},this.saveToLocalStorageIfPossible=r;o.parent||function(){var e=n.getRoot();e.width+=1,m.default.defer(function(){e.width-=1})}()};S.toggleHide=function(){C=!C,m.default.each(A,function(e){e.domElement.style.display=C?"none":""})},S.CLASS_AUTO_PLACE="a",S.CLASS_AUTO_PLACE_CONTAINER="ac",S.CLASS_MAIN="main",S.CLASS_CONTROLLER_ROW="cr",S.CLASS_TOO_TALL="taller-than-window",S.CLASS_CLOSED="closed",S.CLASS_CLOSE_BUTTON="close-button",S.CLASS_CLOSE_TOP="close-top",S.CLASS_CLOSE_BOTTOM="close-bottom",S.CLASS_DRAG="drag",S.DEFAULT_WIDTH=245,S.TEXT_CLOSED="Close Controls",S.TEXT_OPEN="Open Controls",S._keydownHandler=function(e){"text"===document.activeElement.type||72!==e.which&&72!==e.keyCode||S.toggleHide()},h.default.bind(window,"keydown",S._keydownHandler,!1),m.default.extend(S.prototype,{add:function(e,t){return R(this,e,t,{factoryArgs:Array.prototype.slice.call(arguments,2)})},addColor:function(e,t){return R(this,e,t,{color:!0})},remove:function(e){this.__ul.removeChild(e.__li),this.__controllers.splice(this.__controllers.indexOf(e),1);var t=this;m.default.defer(function(){t.onResize()})},destroy:function(){this.autoPlace&&E.removeChild(this.domElement),h.default.unbind(window,"keydown",S._keydownHandler,!1),h.default.unbind(window,"resize",this.__resizeHandler),this.saveToLocalStorageIfPossible&&h.default.unbind(window,"unload",this.saveToLocalStorageIfPossible)},addFolder:function(e){if(void 0!==this.__folders[e])throw new Error('You already have a folder in this GUI by the name "'+e+'"');var t={name:e,parent:this};t.autoPlace=this.autoPlace,this.load&&this.load.folders&&this.load.folders[e]&&(t.closed=this.load.folders[e].closed,t.load=this.load.folders[e]);var n=new S(t);this.__folders[e]=n;var o=k(this,n.domElement);return h.default.addClass(o,"folder"),n},open:function(){this.closed=!1},close:function(){this.closed=!0},onResize:function(){var e=this.getRoot();if(e.scrollable){var t=h.default.getOffset(e.__ul).top,n=0;m.default.each(e.__ul.childNodes,function(t){e.autoPlace&&t===e.__save_row||(n+=h.default.getHeight(t))}),window.innerHeight-t-20<n?(h.default.addClass(e.domElement,S.CLASS_TOO_TALL),e.__ul.style.height=window.innerHeight-t-20+"px"):(h.default.removeClass(e.domElement,S.CLASS_TOO_TALL),e.__ul.style.height="auto")}e.__resize_handle&&m.default.defer(function(){e.__resize_handle.style.height=e.__ul.offsetHeight+"px"}),e.__closeButton&&(e.__closeButton.style.width=e.width+"px")},onResizeDebounced:m.default.debounce(function(){this.onResize()},50),remember:function(){if(m.default.isUndefined(w)&&((w=new _.default).domElement.innerHTML=r.default),this.parent)throw new Error("You can only call remember on a top level GUI.");var e=this;m.default.each(Array.prototype.slice.call(arguments),function(t){0===e.__rememberedObjects.length&&function(e){var t=e.__save_row=document.createElement("li");h.default.addClass(e.domElement,"has-save"),e.__ul.insertBefore(t,e.__ul.firstChild),h.default.addClass(t,"save-row");var n=document.createElement("span");n.innerHTML="&nbsp;",h.default.addClass(n,"button gears");var o=document.createElement("span");o.innerHTML="Save",h.default.addClass(o,"button"),h.default.addClass(o,"save");var i=document.createElement("span");i.innerHTML="New",h.default.addClass(i,"button"),h.default.addClass(i,"save-as");var r=document.createElement("span");r.innerHTML="Revert",h.default.addClass(r,"button"),h.default.addClass(r,"revert");var a=e.__preset_select=document.createElement("select");e.load&&e.load.remembered?m.default.each(e.load.remembered,function(t,n){B(e,n,n===e.preset)}):B(e,v,!1);if(h.default.bind(a,"change",function(){for(var t=0;t<e.__preset_select.length;t++)e.__preset_select[t].innerHTML=e.__preset_select[t].value;e.preset=this.value}),t.appendChild(a),t.appendChild(n),t.appendChild(o),t.appendChild(i),t.appendChild(r),y){var l=document.getElementById("dg-local-explain"),s=document.getElementById("dg-local-storage"),u=document.getElementById("dg-save-locally");u.style.display="block","true"===localStorage.getItem(L(e,"isLocal"))&&s.setAttribute("checked","checked"),M(e,l),h.default.bind(s,"change",function(){e.useLocalStorage=!e.useLocalStorage,M(e,l)})}var d=document.getElementById("dg-new-constructor");h.default.bind(d,"keydown",function(e){!e.metaKey||67!==e.which&&67!==e.keyCode||w.hide()}),h.default.bind(n,"click",function(){d.innerHTML=JSON.stringify(e.getSaveObject(),void 0,2),w.show(),d.focus(),d.select()}),h.default.bind(o,"click",function(){e.save()}),h.default.bind(i,"click",function(){var t=prompt("Enter a new preset name.");t&&e.saveAs(t)}),h.default.bind(r,"click",function(){e.revert()})}(e),-1===e.__rememberedObjects.indexOf(t)&&e.__rememberedObjects.push(t)}),this.autoPlace&&N(this,this.width)},getRoot:function(){for(var e=this;e.parent;)e=e.parent;return e},getSaveObject:function(){var e=this.load;return e.closed=this.closed,this.__rememberedObjects.length>0&&(e.preset=this.preset,e.remembered||(e.remembered={}),e.remembered[this.preset]=H(this)),e.folders={},m.default.each(this.__folders,function(t,n){e.folders[n]=t.getSaveObject()}),e},save:function(){this.load.remembered||(this.load.remembered={}),this.load.remembered[this.preset]=H(this),O(this,!1),this.saveToLocalStorageIfPossible()},saveAs:function(e){this.load.remembered||(this.load.remembered={},this.load.remembered[v]=H(this,!0)),this.load.remembered[e]=H(this),this.preset=e,B(this,e,!0),this.saveToLocalStorageIfPossible()},revert:function(e){m.default.each(this.__controllers,function(t){this.getRoot().load.remembered?T(e||this.getRoot(),t):t.setValue(t.initialValue),t.__onFinishChange&&t.__onFinishChange.call(t,t.getValue())},this),m.default.each(this.__folders,function(e){e.revert(e)}),e||O(this.getRoot(),!1)},listen:function(e){var t=0===this.__listening.length;this.__listening.push(e),t&&function e(t){0!==t.length&&p.default.call(window,function(){e(t)});m.default.each(t,function(e){e.updateDisplay()})}(this.__listening)},updateDisplay:function(){m.default.each(this.__controllers,function(e){e.updateDisplay()}),m.default.each(this.__folders,function(e){e.updateDisplay()})}});function k(e,t,n){var o=document.createElement("li");return t&&o.appendChild(t),n?e.__ul.insertBefore(o,n):e.__ul.appendChild(o),e.onResize(),o}function O(e,t){var n=e.__preset_select[e.__preset_select.selectedIndex];n.innerHTML=t?n.value+"*":n.value}function T(e,t){var n=e.getRoot(),o=n.__rememberedObjects.indexOf(t.object);if(-1!==o){var i=n.__rememberedObjectIndecesToControllers[o];if(void 0===i&&(i={},n.__rememberedObjectIndecesToControllers[o]=i),i[t.property]=t,n.load&&n.load.remembered){var r=n.load.remembered,a=void 0;if(r[e.preset])a=r[e.preset];else{if(!r[v])return;a=r[v]}if(a[o]&&void 0!==a[o][t.property]){var l=a[o][t.property];t.initialValue=l,t.setValue(l)}}}}function R(e,t,n,i){if(void 0===t[n])throw new Error('Object "'+t+'" has no property "'+n+'"');var r=void 0;if(i.color)r=new f.default(t,n);else{var p=[t,n].concat(i.factoryArgs);r=a.default.apply(e,p)}i.before instanceof l.default&&(i.before=i.before.__li),T(e,r),h.default.addClass(r.domElement,"c");var _=document.createElement("span");h.default.addClass(_,"property-name"),_.innerHTML=r.property;var b=document.createElement("div");b.appendChild(_),b.appendChild(r.domElement);var g=k(e,b,i.before);return h.default.addClass(g,S.CLASS_CONTROLLER_ROW),r instanceof f.default?h.default.addClass(g,"color"):h.default.addClass(g,o(r.getValue())),function(e,t,n){if(n.__li=t,n.__gui=e,m.default.extend(n,{options:function(t){if(arguments.length>1){var o=n.__li.nextElementSibling;return n.remove(),R(e,n.object,n.property,{before:o,factoryArgs:[m.default.toArray(arguments)]})}if(m.default.isArray(t)||m.default.isObject(t)){var i=n.__li.nextElementSibling;return n.remove(),R(e,n.object,n.property,{before:i,factoryArgs:[t]})}},name:function(e){return n.__li.firstElementChild.firstElementChild.innerHTML=e,n},listen:function(){return n.__gui.listen(n),n},remove:function(){return n.__gui.remove(n),n}}),n instanceof c.default){var o=new d.default(n.object,n.property,{min:n.__min,max:n.__max,step:n.__step});m.default.each(["updateDisplay","onChange","onFinishChange","step"],function(e){var t=n[e],i=o[e];n[e]=o[e]=function(){var e=Array.prototype.slice.call(arguments);return i.apply(o,e),t.apply(n,e)}}),h.default.addClass(t,"has-slider"),n.domElement.insertBefore(o.domElement,n.domElement.firstElementChild)}else if(n instanceof d.default){var i=function(t){if(m.default.isNumber(n.__min)&&m.default.isNumber(n.__max)){var o=n.__li.firstElementChild.firstElementChild.innerHTML,i=n.__gui.__listening.indexOf(n)>-1;n.remove();var r=R(e,n.object,n.property,{before:n.__li.nextElementSibling,factoryArgs:[n.__min,n.__max,n.__step]});return r.name(o),i&&r.listen(),r}return t};n.min=m.default.compose(i,n.min),n.max=m.default.compose(i,n.max)}else n instanceof s.default?(h.default.bind(t,"click",function(){h.default.fakeEvent(n.__checkbox,"click")}),h.default.bind(n.__checkbox,"click",function(e){e.stopPropagation()})):n instanceof u.default?(h.default.bind(t,"click",function(){h.default.fakeEvent(n.__button,"click")}),h.default.bind(t,"mouseover",function(){h.default.addClass(n.__button,"hover")}),h.default.bind(t,"mouseout",function(){h.default.removeClass(n.__button,"hover")})):n instanceof f.default&&(h.default.addClass(t,"color"),n.updateDisplay=m.default.compose(function(e){return t.style.borderLeftColor=n.__color.toString(),e},n.updateDisplay),n.updateDisplay());n.setValue=m.default.compose(function(t){return e.getRoot().__preset_select&&n.isModified()&&O(e.getRoot(),!0),t},n.setValue)}(e,g,r),e.__controllers.push(r),r}function L(e,t){return document.location.href+"."+t}function B(e,t,n){var o=document.createElement("option");o.innerHTML=t,o.value=t,e.__preset_select.appendChild(o),n&&(e.__preset_select.selectedIndex=e.__preset_select.length-1)}function M(e,t){t.style.display=e.useLocalStorage?"block":"none"}function N(e,t){e.domElement.style.width=t+"px",e.__save_row&&e.autoPlace&&(e.__save_row.style.width=t+"px"),e.__closeButton&&(e.__closeButton.style.width=t+"px")}function H(e,t){var n={};return m.default.each(e.__rememberedObjects,function(o,i){var r={},a=e.__rememberedObjectIndecesToControllers[i];m.default.each(a,function(e,n){r[n]=t?e.initialValue:e.getValue()}),n[i]=r}),n}t.default=S,e.exports=t.default},function(e,t){"use strict";e.exports={load:function(e,t){var n=t||document,o=n.createElement("link");o.type="text/css",o.rel="stylesheet",o.href=e,n.getElementsByTagName("head")[0].appendChild(o)},inject:function(e,t){var n=t||document,o=document.createElement("style");o.type="text/css",o.innerHTML=e;var i=n.getElementsByTagName("head")[0];try{i.appendChild(o)}catch(e){}}}},function(e,t){e.exports='<div id="dg-save" class="dg dialogue">\n\n  Here\'s the new load parameter for your <code>GUI</code>\'s constructor:\n\n  <textarea id="dg-new-constructor"></textarea>\n\n  <div id="dg-save-locally">\n\n    <input id="dg-local-storage" type="checkbox"/> Automatically save\n    values to <code>localStorage</code> on exit.\n\n    <div id="dg-local-explain">The values saved to <code>localStorage</code> will\n      override those passed to <code>dat.GUI</code>\'s constructor. This makes it\n      easier to work incrementally, but <code>localStorage</code> is fragile,\n      and your friends may not see the same values you do.\n\n    </div>\n\n  </div>\n\n</div>'},function(e,t,n){"use strict";t.__esModule=!0;var o=d(n(10)),i=d(n(13)),r=d(n(14)),a=d(n(11)),l=d(n(15)),s=d(n(8)),u=d(n(5));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){var n=e[t];return u.default.isArray(arguments[2])||u.default.isObject(arguments[2])?new o.default(e,t,arguments[2]):u.default.isNumber(n)?u.default.isNumber(arguments[2])&&u.default.isNumber(arguments[3])?u.default.isNumber(arguments[4])?new r.default(e,t,arguments[2],arguments[3],arguments[4]):new r.default(e,t,arguments[2],arguments[3]):u.default.isNumber(arguments[4])?new i.default(e,t,{min:arguments[2],max:arguments[3],step:arguments[4]}):new i.default(e,t,{min:arguments[2],max:arguments[3]}):u.default.isString(n)?new a.default(e,t):u.default.isFunction(n)?new l.default(e,t,""):u.default.isBoolean(n)?new s.default(e,t):null},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;t.default=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var o=r(n(9)),i=r(n(5));function r(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.backgroundElement=document.createElement("div"),i.default.extend(this.backgroundElement.style,{backgroundColor:"rgba(0,0,0,0.8)",top:0,left:0,display:"none",zIndex:"1000",opacity:0,WebkitTransition:"opacity 0.2s linear",transition:"opacity 0.2s linear"}),o.default.makeFullscreen(this.backgroundElement),this.backgroundElement.style.position="fixed",this.domElement=document.createElement("div"),i.default.extend(this.domElement.style,{position:"fixed",display:"none",zIndex:"1001",opacity:0,WebkitTransition:"-webkit-transform 0.2s ease-out, opacity 0.2s linear",transition:"transform 0.2s ease-out, opacity 0.2s linear"}),document.body.appendChild(this.backgroundElement),document.body.appendChild(this.domElement);var t=this;o.default.bind(this.backgroundElement,"click",function(){t.hide()})}return e.prototype.show=function(){var e=this;this.backgroundElement.style.display="block",this.domElement.style.display="block",this.domElement.style.opacity=0,this.domElement.style.webkitTransform="scale(1.1)",this.layout(),i.default.defer(function(){e.backgroundElement.style.opacity=1,e.domElement.style.opacity=1,e.domElement.style.webkitTransform="scale(1)"})},e.prototype.hide=function(){var e=this,t=function t(){e.domElement.style.display="none",e.backgroundElement.style.display="none",o.default.unbind(e.domElement,"webkitTransitionEnd",t),o.default.unbind(e.domElement,"transitionend",t),o.default.unbind(e.domElement,"oTransitionEnd",t)};o.default.bind(this.domElement,"webkitTransitionEnd",t),o.default.bind(this.domElement,"transitionend",t),o.default.bind(this.domElement,"oTransitionEnd",t),this.backgroundElement.style.opacity=0,this.domElement.style.opacity=0,this.domElement.style.webkitTransform="scale(1.1)"},e.prototype.layout=function(){this.domElement.style.left=window.innerWidth/2-o.default.getWidth(this.domElement)/2+"px",this.domElement.style.top=window.innerHeight/2-o.default.getHeight(this.domElement)/2+"px"},e}();t.default=a,e.exports=t.default},function(e,t,n){(e.exports=n(24)()).push([e.id,".dg {\n  /** Clear list styles */\n  /* Auto-place container */\n  /* Auto-placed GUI's */\n  /* Line items that don't contain folders. */\n  /** Folder names */\n  /** Hides closed items */\n  /** Controller row */\n  /** Name-half (left) */\n  /** Controller-half (right) */\n  /** Controller placement */\n  /** Shorter number boxes when slider is present. */\n  /** Ensure the entire boolean and function row shows a hand */\n  /** allow overflow for color selector */ }\n  .dg ul {\n    list-style: none;\n    margin: 0;\n    padding: 0;\n    width: 100%;\n    clear: both; }\n  .dg.ac {\n    position: fixed;\n    top: 0;\n    left: 0;\n    right: 0;\n    height: 0;\n    z-index: 0; }\n  .dg:not(.ac) .main {\n    /** Exclude mains in ac so that we don't hide close button */\n    overflow: hidden; }\n  .dg.main {\n    -webkit-transition: opacity 0.1s linear;\n    -o-transition: opacity 0.1s linear;\n    -moz-transition: opacity 0.1s linear;\n    transition: opacity 0.1s linear; }\n    .dg.main.taller-than-window {\n      overflow-y: auto; }\n      .dg.main.taller-than-window .close-button {\n        opacity: 1;\n        /* TODO, these are style notes */\n        margin-top: -1px;\n        border-top: 1px solid #2c2c2c; }\n    .dg.main ul.closed .close-button {\n      opacity: 1 !important; }\n    .dg.main:hover .close-button,\n    .dg.main .close-button.drag {\n      opacity: 1; }\n    .dg.main .close-button {\n      /*opacity: 0;*/\n      -webkit-transition: opacity 0.1s linear;\n      -o-transition: opacity 0.1s linear;\n      -moz-transition: opacity 0.1s linear;\n      transition: opacity 0.1s linear;\n      border: 0;\n      line-height: 19px;\n      height: 20px;\n      /* TODO, these are style notes */\n      cursor: pointer;\n      text-align: center;\n      background-color: #000; }\n      .dg.main .close-button.close-top {\n        position: relative; }\n      .dg.main .close-button.close-bottom {\n        position: absolute; }\n      .dg.main .close-button:hover {\n        background-color: #111; }\n  .dg.a {\n    float: right;\n    margin-right: 15px;\n    overflow-y: visible; }\n    .dg.a.has-save > ul.close-top {\n      margin-top: 0; }\n    .dg.a.has-save > ul.close-bottom {\n      margin-top: 27px; }\n    .dg.a.has-save > ul.closed {\n      margin-top: 0; }\n    .dg.a .save-row {\n      top: 0;\n      z-index: 1002; }\n      .dg.a .save-row.close-top {\n        position: relative; }\n      .dg.a .save-row.close-bottom {\n        position: fixed; }\n  .dg li {\n    -webkit-transition: height 0.1s ease-out;\n    -o-transition: height 0.1s ease-out;\n    -moz-transition: height 0.1s ease-out;\n    transition: height 0.1s ease-out;\n    -webkit-transition: overflow 0.1s linear;\n    -o-transition: overflow 0.1s linear;\n    -moz-transition: overflow 0.1s linear;\n    transition: overflow 0.1s linear; }\n  .dg li:not(.folder) {\n    cursor: auto;\n    height: 27px;\n    line-height: 27px;\n    padding: 0 4px 0 5px; }\n  .dg li.folder {\n    padding: 0;\n    border-left: 4px solid transparent; }\n  .dg li.title {\n    cursor: pointer;\n    margin-left: -4px; }\n  .dg .closed li:not(.title),\n  .dg .closed ul li,\n  .dg .closed ul li > * {\n    height: 0;\n    overflow: hidden;\n    border: 0; }\n  .dg .cr {\n    clear: both;\n    padding-left: 3px;\n    height: 27px;\n    overflow: hidden; }\n  .dg .property-name {\n    cursor: default;\n    float: left;\n    clear: left;\n    width: 40%;\n    overflow: hidden;\n    text-overflow: ellipsis; }\n  .dg .c {\n    float: left;\n    width: 60%;\n    position: relative; }\n  .dg .c input[type=text] {\n    border: 0;\n    margin-top: 4px;\n    padding: 3px;\n    width: 100%;\n    float: right; }\n  .dg .has-slider input[type=text] {\n    width: 30%;\n    /*display: none;*/\n    margin-left: 0; }\n  .dg .slider {\n    float: left;\n    width: 66%;\n    margin-left: -5px;\n    margin-right: 0;\n    height: 19px;\n    margin-top: 4px; }\n  .dg .slider-fg {\n    height: 100%; }\n  .dg .c input[type=checkbox] {\n    margin-top: 7px; }\n  .dg .c select {\n    margin-top: 5px; }\n  .dg .cr.function,\n  .dg .cr.function .property-name,\n  .dg .cr.function *,\n  .dg .cr.boolean,\n  .dg .cr.boolean * {\n    cursor: pointer; }\n  .dg .cr.color {\n    overflow: visible; }\n  .dg .selector {\n    display: none;\n    position: absolute;\n    margin-left: -9px;\n    margin-top: 23px;\n    z-index: 10; }\n  .dg .c:hover .selector,\n  .dg .selector.drag {\n    display: block; }\n  .dg li.save-row {\n    padding: 0; }\n    .dg li.save-row .button {\n      display: inline-block;\n      padding: 0px 6px; }\n  .dg.dialogue {\n    background-color: #222;\n    width: 460px;\n    padding: 15px;\n    font-size: 13px;\n    line-height: 15px; }\n\n/* TODO Separate style and structure */\n#dg-new-constructor {\n  padding: 10px;\n  color: #222;\n  font-family: Monaco, monospace;\n  font-size: 10px;\n  border: 0;\n  resize: none;\n  box-shadow: inset 1px 1px 1px #888;\n  word-wrap: break-word;\n  margin: 12px 0;\n  display: block;\n  width: 440px;\n  overflow-y: scroll;\n  height: 100px;\n  position: relative; }\n\n#dg-local-explain {\n  display: none;\n  font-size: 11px;\n  line-height: 17px;\n  border-radius: 3px;\n  background-color: #333;\n  padding: 8px;\n  margin-top: 10px; }\n  #dg-local-explain code {\n    font-size: 10px; }\n\n#dat-gui-save-locally {\n  display: none; }\n\n/** Main type */\n.dg {\n  color: #eee;\n  font: 11px 'Lucida Grande', sans-serif;\n  text-shadow: 0 -1px 0 #111;\n  /** Auto place */\n  /* Controller row, <li> */\n  /** Controllers */ }\n  .dg.main {\n    /** Scrollbar */ }\n    .dg.main::-webkit-scrollbar {\n      width: 5px;\n      background: #1a1a1a; }\n    .dg.main::-webkit-scrollbar-corner {\n      height: 0;\n      display: none; }\n    .dg.main::-webkit-scrollbar-thumb {\n      border-radius: 5px;\n      background: #676767; }\n  .dg li:not(.folder) {\n    background: #1a1a1a;\n    border-bottom: 1px solid #2c2c2c; }\n  .dg li.save-row {\n    line-height: 25px;\n    background: #dad5cb;\n    border: 0; }\n    .dg li.save-row select {\n      margin-left: 5px;\n      width: 108px; }\n    .dg li.save-row .button {\n      margin-left: 5px;\n      margin-top: 1px;\n      border-radius: 2px;\n      font-size: 9px;\n      line-height: 7px;\n      padding: 4px 4px 5px 4px;\n      background: #c5bdad;\n      color: #fff;\n      text-shadow: 0 1px 0 #b0a58f;\n      box-shadow: 0 -1px 0 #b0a58f;\n      cursor: pointer; }\n      .dg li.save-row .button.gears {\n        background: #c5bdad url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAANCAYAAAB/9ZQ7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQJJREFUeNpiYKAU/P//PwGIC/ApCABiBSAW+I8AClAcgKxQ4T9hoMAEUrxx2QSGN6+egDX+/vWT4e7N82AMYoPAx/evwWoYoSYbACX2s7KxCxzcsezDh3evFoDEBYTEEqycggWAzA9AuUSQQgeYPa9fPv6/YWm/Acx5IPb7ty/fw+QZblw67vDs8R0YHyQhgObx+yAJkBqmG5dPPDh1aPOGR/eugW0G4vlIoTIfyFcA+QekhhHJhPdQxbiAIguMBTQZrPD7108M6roWYDFQiIAAv6Aow/1bFwXgis+f2LUAynwoIaNcz8XNx3Dl7MEJUDGQpx9gtQ8YCueB+D26OECAAQDadt7e46D42QAAAABJRU5ErkJggg==) 2px 1px no-repeat;\n        height: 7px;\n        width: 8px; }\n      .dg li.save-row .button:hover {\n        background-color: #bab19e;\n        box-shadow: 0 -1px 0 #b0a58f; }\n  .dg li.folder {\n    border-bottom: 0; }\n  .dg li.title {\n    padding-left: 16px;\n    background: #000 url(data:image/gif;base64,R0lGODlhBQAFAJEAAP////Pz8////////yH5BAEAAAIALAAAAAAFAAUAAAIIlI+hKgFxoCgAOw==) 6px 10px no-repeat;\n    cursor: pointer;\n    border-bottom: 1px solid rgba(255, 255, 255, 0.2); }\n  .dg .closed li.title {\n    background-image: url(data:image/gif;base64,R0lGODlhBQAFAJEAAP////Pz8////////yH5BAEAAAIALAAAAAAFAAUAAAIIlGIWqMCbWAEAOw==); }\n  .dg .cr.boolean {\n    border-left: 3px solid #806787; }\n  .dg .cr.color {\n    border-left: 3px solid; }\n  .dg .cr.function {\n    border-left: 3px solid #e61d5f; }\n  .dg .cr.number {\n    border-left: 3px solid #2FA1D6; }\n    .dg .cr.number input[type=text] {\n      color: #2FA1D6; }\n  .dg .cr.string {\n    border-left: 3px solid #1ed36f; }\n    .dg .cr.string input[type=text] {\n      color: #1ed36f; }\n  .dg .cr.function:hover, .dg .cr.boolean:hover {\n    background: #111; }\n  .dg .c input[type=text] {\n    background: #303030;\n    outline: none; }\n    .dg .c input[type=text]:hover {\n      background: #3c3c3c; }\n    .dg .c input[type=text]:focus {\n      background: #494949;\n      color: #fff; }\n  .dg .c .slider {\n    background: #303030;\n    cursor: ew-resize; }\n  .dg .c .slider-fg {\n    background: #2FA1D6;\n    max-width: 100%; }\n  .dg .c .slider:hover {\n    background: #3c3c3c; }\n    .dg .c .slider:hover .slider-fg {\n      background: #44abda; }\n",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(o[r]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}}])});
  },{}],10:[function(require,module,exports) {
  var global = (1,eval)("this");
  var t=(0,eval)("this"),e="undefined"!=typeof module&&module.exports&&void 0!==t?t:this||window;(e._gsQueue||(e._gsQueue=[])).push(function(){"use strict";e._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var s=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},r=function(t,e,i){var s,r,n=t.cycle;for(s in n)r=n[s],t[s]="function"==typeof r?r(i,e[i]):r[i%r.length];delete t.cycle},n=function(t,e,s){i.call(this,t,e,s),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=n.prototype.render},a=1e-10,o=i._internals,h=o.isSelector,l=o.isArray,_=n.prototype=i.to({},.1,{}),u=[];n.version="1.20.3",_.constructor=n,_.kill()._gc=!1,n.killTweensOf=n.killDelayedCallsTo=i.killTweensOf,n.getTweensOf=i.getTweensOf,n.lagSmoothing=i.lagSmoothing,n.ticker=i.ticker,n.render=i.render,_.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)},_.updateTo=function(t,e){var s,r=this.ratio,n=this.vars.immediateRender||t.immediateRender;e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(s in t)this.vars[s]=t[s];if(this._initted||n)if(e)this._initted=!1,n&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||n)for(var o,h=1/(1-r),l=this._firstPT;l;)o=l.s+l.c,l.c*=h,l.s=o-l.c,l=l._next;return this},_.render=function(t,e,s){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,n,h,l,_,u,f,c,p,d=this._dirty?this.totalDuration():this._totalDuration,m=this._time,g=this._totalTime,y=this._cycle,v=this._duration,T=this._rawPrevTime;if(t>=d-1e-7&&t>=0?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=v,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(r=!0,n="onComplete",s=s||this._timeline.autoRemoveChildren),0===v&&(this._initted||!this.vars.lazy||s)&&(this._startTime===this._timeline._duration&&(t=0),(T<0||t<=0&&t>=-1e-7||T===a&&"isPause"!==this.data)&&T!==t&&(s=!0,T>a&&(n="onReverseComplete")),this._rawPrevTime=c=!e||t||T===t?t:a)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==g||0===v&&T>0)&&(n="onReverseComplete",r=this._reversed),t<0&&(this._active=!1,0===v&&(this._initted||!this.vars.lazy||s)&&(T>=0&&(s=!0),this._rawPrevTime=c=!e||t||T===t?t:a)),this._initted||(s=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=v+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&g<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=v-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof Ease?p:Ease.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof Ease?p:"function"==typeof p?new Ease(p,this.vars.easeParams):Ease.map[p]||i.defaultEase:i.defaultEase)),this.ratio=p?1-p.getRatio((v-this._time)/v):0)),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType&&!p?(_=this._time/v,u=this._easeType,f=this._easePower,(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===f?_*=_:2===f?_*=_*_:3===f?_*=_*_*_:4===f&&(_*=_*_*_*_),1===u?this.ratio=1-_:2===u?this.ratio=_:this._time/v<.5?this.ratio=_/2:this.ratio=1-_/2):p||(this.ratio=this._ease.getRatio(this._time/v))),m!==this._time||s||y!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!s&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=g,this._rawPrevTime=T,this._cycle=y,o.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||r||p?r&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/v)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&t>=0&&(this._active=!0),0===g&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,s):n||(n="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==v||e||this._callback("onStart"))),h=this._firstPT;h;)h.f?h.t[h.p](h.c*this.ratio+h.s):h.t[h.p]=h.c*this.ratio+h.s,h=h._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,s),e||(this._totalTime!==g||n)&&this._callback("onUpdate")),this._cycle!==y&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),n&&(this._gc&&!s||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,s),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n),0===v&&this._rawPrevTime===a&&c!==a&&(this._rawPrevTime=0)))}else g!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},n.to=function(t,e,i){return new n(t,e,i)},n.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new n(t,e,i)},n.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new n(t,e,s)},n.staggerTo=n.allTo=function(t,e,a,o,_,f,c){o=o||0;var p,d,m,g,y=0,v=[],T=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),_.apply(c||a.callbackScope||this,f||u)},x=a.cycle,b=a.startAt&&a.startAt.cycle;for(l(t)||("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=s(t))),t=t||[],o<0&&((t=s(t)).reverse(),o*=-1),p=t.length-1,m=0;m<=p;m++){d={};for(g in a)d[g]=a[g];if(x&&(r(d,t,m),null!=d.duration&&(e=d.duration,delete d.duration)),b){b=d.startAt={};for(g in a.startAt)b[g]=a.startAt[g];r(d.startAt,t,m)}d.delay=y+(d.delay||0),m===p&&_&&(d.onComplete=T),v[m]=new n(t[m],e,d),y+=o}return v},n.staggerFrom=n.allFrom=function(t,e,i,s,r,a,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,n.staggerTo(t,e,i,s,r,a,o)},n.staggerFromTo=n.allFromTo=function(t,e,i,s,r,a,o,h){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,n.staggerTo(t,e,s,r,a,o,h)},n.delayedCall=function(t,e,i,s,r){return new n(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:s,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:r,overwrite:0})},n.set=function(t,e){return new n(t,0,e)},n.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var f=function(t,e){for(var s=[],r=0,n=t._first;n;)n instanceof i?s[r++]=n:(e&&(s[r++]=n),r=(s=s.concat(f(n,e))).length),n=n._next;return s},c=n.getAllTweens=function(e){return f(t._rootTimeline,e).concat(f(t._rootFramesTimeline,e))};n.killAll=function(t,i,s,r){null==i&&(i=!0),null==s&&(s=!0);var n,a,o,h=c(0!=r),l=h.length,_=i&&s&&r;for(o=0;o<l;o++)a=h[o],(_||a instanceof e||(n=a.target===a.vars.onComplete)&&s||i&&!n)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},n.killChildTweensOf=function(t,e){if(null!=t){var r,a,_,u,f,c=o.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=s(t)),l(t))for(u=t.length;--u>-1;)n.killChildTweensOf(t[u],e);else{r=[];for(_ in c)for(a=c[_].target.parentNode;a;)a===t&&(r=r.concat(c[_].tweens)),a=a.parentNode;for(f=r.length,u=0;u<f;u++)e&&r[u].totalTime(r[u].totalDuration()),r[u]._enabled(!1,!1)}}};var p=function(t,i,s,r){i=!1!==i,s=!1!==s;for(var n,a,o=c(r=!1!==r),h=i&&s&&r,l=o.length;--l>-1;)a=o[l],(h||a instanceof e||(n=a.target===a.vars.onComplete)&&s||i&&!n)&&a.paused(t)};return n.pauseAll=function(t,e,i){p(!0,t,e,i)},n.resumeAll=function(t,e,i){p(!1,t,e,i)},n.globalTimeScale=function(e){var s=t._rootTimeline,r=i.ticker.time;return arguments.length?(e=e||a,s._startTime=r-(r-s._startTime)*s._timeScale/e,s=t._rootFramesTimeline,r=i.ticker.frame,s._startTime=r-(r-s._startTime)*s._timeScale/e,s._timeScale=t._rootTimeline._timeScale=e,e):s._timeScale},_.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()},_.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},_.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},_.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},_.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)},_.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},_.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},_.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n},!0),e._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,i,s){var r=function(t){i.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,s,r=this.vars;for(s in r)e=r[s],h(e)&&-1!==e.join("").indexOf("{self}")&&(r[s]=this._swapSelfInParams(e));h(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},n=s._internals,a=r._internals={},o=n.isSelector,h=n.isArray,l=n.lazyTweens,_=n.lazyRender,u=e._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},c=function(t,e,i){var s,r,n=t.cycle;for(s in n)r=n[s],t[s]="function"==typeof r?r(i,e[i]):r[i%r.length];delete t.cycle},p=a.pauseCallback=function(){},d=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},m=r.prototype=new i;return r.version="1.20.3",m.constructor=r,m.kill()._gc=m._forcingPlayhead=m._hasPause=!1,m.to=function(t,e,i,r){var n=i.repeat&&u.TweenMax||s;return e?this.add(new n(t,e,i),r):this.set(t,i,r)},m.from=function(t,e,i,r){return this.add((i.repeat&&u.TweenMax||s).from(t,e,i),r)},m.fromTo=function(t,e,i,r,n){var a=r.repeat&&u.TweenMax||s;return e?this.add(a.fromTo(t,e,i,r),n):this.set(t,r,n)},m.staggerTo=function(t,e,i,n,a,h,l,_){var u,p,m=new r({onComplete:h,onCompleteParams:l,callbackScope:_,smoothChildTiming:this.smoothChildTiming}),g=i.cycle;for("string"==typeof t&&(t=s.selector(t)||t),o(t=t||[])&&(t=d(t)),(n=n||0)<0&&((t=d(t)).reverse(),n*=-1),p=0;p<t.length;p++)(u=f(i)).startAt&&(u.startAt=f(u.startAt),u.startAt.cycle&&c(u.startAt,t,p)),g&&(c(u,t,p),null!=u.duration&&(e=u.duration,delete u.duration)),m.to(t[p],e,u,p*n);return this.add(m,a)},m.staggerFrom=function(t,e,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,r,n,a,o)},m.staggerFromTo=function(t,e,i,s,r,n,a,o,h){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},m.call=function(t,e,i,r){return this.add(s.delayedCall(0,t,e,i),r)},m.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new s(t,0,e),i)},r.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,n,a,o,h=new r(t),l=h._timeline;for(null==e&&(e=!0),l._remove(h,!0),h._startTime=0,h._rawPrevTime=h._time=h._totalTime=l._time,a=l._first;a;)o=a._next,e&&a instanceof s&&a.target===a.vars.onComplete||((n=a._startTime-a._delay)<0&&(i=1),h.add(a,n)),a=o;return l.add(h,0),i&&h.totalDuration(),h},m.add=function(e,n,a,o){var l,_,u,f,c,p;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,e)),!(e instanceof t)){if(e instanceof Array||e&&e.push&&h(e)){for(a=a||"normal",o=o||0,l=n,_=e.length,u=0;u<_;u++)h(f=e[u])&&(f=new r({tweens:f})),this.add(f,l),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?l=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),l+=o;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,n);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=s.delayedCall(0,e)}if(i.prototype.add.call(this,e,n),e._time&&e.render((this.rawTime()-e._startTime)*e._timeScale,!1,!1),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=(c=this).rawTime()>e._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},m.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&&h(e)){for(var s=e.length;--s>-1;)this.remove(e[s]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},m._remove=function(t,e){i.prototype._remove.call(this,t,e);return this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},m.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,i,r){var n=s.delayedCall(0,p,i,r||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(e,i,s,r){var n,a;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&h(r)))for(a=r.length;--a>-1;)r[a]instanceof t&&r[a].timeline===this&&this.remove(r[a]);if(n="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,s&&"number"==typeof e&&null==this._labels[i]?e-n:0,s);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=n);else{if(-1===(a=e.indexOf("=")))return null==this._labels[e]?s?this._labels[e]=n+i:i:this._labels[e]+i;i=parseInt(e.charAt(a-1)+"1",10)*Number(e.substr(a+1)),e=a>1?this._parseTimeOrLabel(e.substr(0,a-1),0,s):n}return Number(e)+i},m.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)},m.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,r,n,a,o,h,u,f=this._time,c=this._dirty?this.totalDuration():this._totalDuration,p=this._startTime,d=this._timeScale,m=this._paused;if(f!==this._time&&(t+=this._time-f),t>=c-1e-7&&t>=0)this._totalTime=this._time=c,this._reversed||this._hasPausedChild()||(r=!0,a="onComplete",o=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(o=!0,this._rawPrevTime>1e-10&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=c+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&1e-10!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(a="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(o=r=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(o=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&r)for(s=this._first;s&&0===s._startTime;)s._duration||(r=!1),s=s._next;t=0,this._initted||(o=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(s=this._first;s&&s._startTime<=t&&!h;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(h=s),s=s._next;else for(s=this._last;s&&s._startTime>=t&&!h;)s._duration||"isPause"===s.data&&s._rawPrevTime>0&&(h=s),s=s._prev;h&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||o||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(u=this._time)>=f)for(s=this._first;s&&(n=s._next,u===this._time&&(!this._paused||m));)(s._active||s._startTime<=u&&!s._paused&&!s._gc)&&(h===s&&this.pause(),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n;else for(s=this._last;s&&(n=s._prev,u===this._time&&(!this._paused||m));){if(s._active||s._startTime<=f&&!s._paused&&!s._gc){if(h===s){for(h=s._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause()}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)}s=n}this._onUpdate&&(e||(l.length&&_(),this._callback("onUpdate"))),a&&(this._gc||p!==this._startTime&&d===this._timeScale||(0===this._time||c>=this.totalDuration())&&(r&&(l.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},m._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},m.getChildren=function(t,e,i,r){r=r||-9999999999;for(var n=[],a=this._first,o=0;a;)a._startTime<r||(a instanceof s?!1!==e&&(n[o++]=a):(!1!==i&&(n[o++]=a),!1!==t&&(o=(n=n.concat(a.getChildren(!0,e,i))).length))),a=a._next;return n},m.getTweensOf=function(t,e){var i,r,n=this._gc,a=[],o=0;for(n&&this._enabled(!0,!0),r=(i=s.getTweensOf(t)).length;--r>-1;)(i[r].timeline===this||e&&this._contains(i[r]))&&(a[o++]=i[r]);return n&&this._enabled(!1,!0),a},m.recent=function(){return this._recent},m._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},m._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},m.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)},m.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},m._enabled=function(t,e){if(t===this._gc)for(var s=this._first;s;)s._enabled(t,!0),s=s._next;return i.prototype._enabled.call(this,t,e)},m.totalTime=function(e,i,s){this._forcingPlayhead=!0;var r=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,s=0,r=this._last,n=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):n=r._startTime,r._startTime<0&&!r._paused&&(s-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),n=0),(i=r._startTime+r._totalDuration/r._timeScale)>s&&(s=i),r=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},m.paused=function(e){if(!e)for(var i=this._first,s=this._time;i;)i._startTime===s&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},m.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},m.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),e._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,i,s){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=!0===this.vars.yoyo,this._dirty=!0},n=i._internals,a=n.lazyTweens,o=n.lazyRender,h=e._gsDefine.globals,l=new s(null,null,1,0),_=r.prototype=new t;return _.constructor=r,_.kill()._gc=!1,r.version="1.20.3",_.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},_.addCallback=function(t,e,s,r){return this.add(i.delayedCall(0,t,s,r),e)},_.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),s=i.length,r=this._parseTimeOrLabel(e);--s>-1;)i[s]._startTime===r&&i[s]._enabled(!1,!1);return this},_.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},_.tweenTo=function(t,e){e=e||{};var s,r,n,a={ease:l,useFrames:this.usesFrames(),immediateRender:!1},o=e.repeat&&h.TweenMax||i;for(r in e)a[r]=e[r];return a.time=this._parseTimeOrLabel(t),s=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,n=new o(this,s,a),a.onStart=function(){n.target.paused(!0),n.vars.time!==n.target.time()&&s===n.duration()&&n.duration(Math.abs(n.vars.time-n.target.time())/n.target._timeScale),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||n,e.onStartParams||[])},n},_.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 s=this.tweenTo(e,i);return s.duration(Math.abs(s.vars.time-t)/this._timeScale||.001)},_.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,r,n,h,l,_,u,f,c=this._time,p=this._dirty?this.totalDuration():this._totalDuration,d=this._duration,m=this._totalTime,g=this._startTime,y=this._timeScale,v=this._rawPrevTime,T=this._paused,x=this._cycle;if(c!==this._time&&(t+=this._time-c),t>=p-1e-7&&t>=0)this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(r=!0,h="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||v<0||1e-10===v)&&v!==t&&this._first&&(l=!0,v>1e-10&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=d,t=d+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==c||0===d&&1e-10!==v&&(v>0||t<0&&v>=0)&&!this._locked)&&(h="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=r=!0,h="onReverseComplete"):v>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=d||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&r)for(s=this._first;s&&0===s._startTime;)s._duration||(r=!1),s=s._next;t=0,this._initted||(l=!0)}else if(0===d&&v<0&&(l=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(_=d+this._repeatDelay,this._cycle=this._totalTime/_>>0,0!==this._cycle&&this._cycle===this._totalTime/_&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*_,this._yoyo&&0!=(1&this._cycle)&&(this._time=d-this._time),this._time>d?(this._time=d,t=d+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=c||this._repeat&&x!==this._cycle)for(s=this._first;s&&s._startTime<=t&&!u;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(u=s),s=s._next;else for(s=this._last;s&&s._startTime>=t&&!u;)s._duration||"isPause"===s.data&&s._rawPrevTime>0&&(u=s),s=s._prev;u&&u._startTime<d&&(this._time=t=u._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==x&&!this._locked){var b=this._yoyo&&0!=(1&x),w=b===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,O=this._cycle,k=this._rawPrevTime,S=this._time;if(this._totalTime=x*d,this._cycle<x?b=!b:this._totalTime+=d,this._time=c,this._rawPrevTime=0===d?v-1e-4:v,this._cycle=x,this._locked=!0,c=b?0:d,this.render(c,e,0===d),e||this._gc||this.vars.onRepeat&&(this._cycle=O,this._locked=!1,this._callback("onRepeat")),c!==this._time)return;if(w&&(this._cycle=x,this._locked=!0,c=b?d+1e-4:-1e-4,this.render(c,!0,!1)),this._locked=!1,this._paused&&!T)return;this._time=S,this._totalTime=P,this._cycle=O,this._rawPrevTime=k}if(this._time!==c&&this._first||i||l||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==m&&t>0&&(this._active=!0),0===m&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=c)for(s=this._first;s&&(n=s._next,f===this._time&&(!this._paused||T));)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(u===s&&this.pause(),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n;else for(s=this._last;s&&(n=s._prev,f===this._time&&(!this._paused||T));){if(s._active||s._startTime<=c&&!s._paused&&!s._gc){if(u===s){for(u=s._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause()}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)}s=n}this._onUpdate&&(e||(a.length&&o(),this._callback("onUpdate"))),h&&(this._locked||this._gc||g!==this._startTime&&y===this._timeScale||(0===this._time||p>=this.totalDuration())&&(r&&(a.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[h]&&this._callback(h)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},_.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var s,r,n=[],a=this.getChildren(t,e,i),o=0,h=a.length;for(s=0;s<h;s++)(r=a[s]).isActive()&&(n[o++]=r);return n},_.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),s=i.length;for(e=0;e<s;e++)if(i[e].time>t)return i[e].name;return null},_.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},_.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},_.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},_.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},_.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},_.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)},_.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},_.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},_.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},_.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},_.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},r},!0),function(){var t=180/Math.PI,i=[],s=[],r=[],n={},a=e._gsDefine.globals,o=function(t,e,i,s){i===s&&(i=s-(s-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=s,this.da=s-t,this.ca=i-t,this.ba=e-t},h=function(t,e,i,s){var r={a:t},n={},a={},o={c:s},h=(t+e)/2,l=(e+i)/2,_=(i+s)/2,u=(h+l)/2,f=(l+_)/2,c=(f-u)/8;return r.b=h+(t-h)/4,n.b=u+c,r.c=n.a=(r.b+n.b)/2,n.c=a.a=(u+f)/2,a.b=f-c,o.b=_+(s-_)/4,a.c=o.a=(a.b+o.b)/2,[r,n,a,o]},l=function(t,e,n,a,o){var l,_,u,f,c,p,d,m,g,y,v,T,x,b=t.length-1,w=0,P=t[0].a;for(l=0;l<b;l++)_=(c=t[w]).a,u=c.d,f=t[w+1].d,o?(v=i[l],x=((T=s[l])+v)*e*.25/(a?.5:r[l]||.5),m=u-((p=u-(u-_)*(a?.5*e:0!==v?x/v:0))+(((d=u+(f-u)*(a?.5*e:0!==T?x/T:0))-p)*(3*v/(v+T)+.5)/4||0))):m=u-((p=u-(u-_)*e*.5)+(d=u+(f-u)*e*.5))/2,p+=m,d+=m,c.c=g=p,c.b=0!==l?P:P=c.a+.6*(c.c-c.a),c.da=u-_,c.ca=g-_,c.ba=P-_,n?(y=h(_,P,g,u),t.splice(w,1,y[0],y[1],y[2],y[3]),w+=4):w++,P=d;(c=t[w]).b=P,c.c=P+.4*(c.d-P),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=P-c.a,n&&(y=h(c.a,P,c.c,c.d),t.splice(w,1,y[0],y[1],y[2],y[3]))},_=function(t,e,r,n){var a,h,l,_,u,f,c=[];if(n)for(h=(t=[n].concat(t)).length;--h>-1;)"string"==typeof(f=t[h][e])&&"="===f.charAt(1)&&(t[h][e]=n[e]+Number(f.charAt(0)+f.substr(2)));if((a=t.length-2)<0)return c[0]=new o(t[0][e],0,0,t[0][e]),c;for(h=0;h<a;h++)l=t[h][e],_=t[h+1][e],c[h]=new o(l,0,0,_),r&&(u=t[h+2][e],i[h]=(i[h]||0)+(_-l)*(_-l),s[h]=(s[h]||0)+(u-_)*(u-_));return c[h]=new o(t[h][e],0,0,t[h+1][e]),c},u=function(t,e,a,o,h,u){var f,c,p,d,m,g,y,v,T={},x=[],b=u||t[0];h="string"==typeof h?","+h+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1);for(c in t[0])x.push(c);if(t.length>1){for(v=t[t.length-1],y=!0,f=x.length;--f>-1;)if(c=x[f],Math.abs(b[c]-v[c])>.05){y=!1;break}y&&(t=t.concat(),u&&t.unshift(u),t.push(t[1]),u=t[t.length-3])}for(i.length=s.length=r.length=0,f=x.length;--f>-1;)c=x[f],n[c]=-1!==h.indexOf(","+c+","),T[c]=_(t,c,n[c],u);for(f=i.length;--f>-1;)i[f]=Math.sqrt(i[f]),s[f]=Math.sqrt(s[f]);if(!o){for(f=x.length;--f>-1;)if(n[c])for(g=(p=T[x[f]]).length-1,d=0;d<g;d++)m=p[d+1].da/s[d]+p[d].da/i[d]||0,r[d]=(r[d]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=x.length,d=a?4:1;--f>-1;)p=T[c=x[f]],l(p,e,a,o,n[c]),y&&(p.splice(0,d),p.splice(p.length-d,d));return T},f=function(t,e,i){for(var s,r,n,a,o,h,l,_,u,f,c,p=1/i,d=t.length;--d>-1;)for(n=(f=t[d]).a,a=f.d-n,o=f.c-n,h=f.b-n,s=r=0,_=1;_<=i;_++)s=r-(r=((l=p*_)*l*a+3*(u=1-l)*(l*o+u*h))*l),e[c=d*i+_-1]=(e[c]||0)+s*s},c=e._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",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 s,r,n,a,h,l=e.values||[],_={},c=l[0],p=e.autoRotate||i.vars.orientToBezier;this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",!0===p?0:Number(p)||0]]:null;for(s in c)this._props.push(s);for(n=this._props.length;--n>-1;)s=this._props[n],this._overwriteProps.push(s),r=this._func[s]="function"==typeof t[s],_[s]=r?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(t[s]),h||_[s]!==l[0][s]&&(h=_);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?u(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,h):function(t,e,i){var s,r,n,a,h,l,_,u,f,c,p,d={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,y=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length<m+1)throw"invalid Bezier data";for(f in t[0])y.push(f);for(l=y.length;--l>-1;){for(d[f=y[l]]=h=[],c=0,u=t.length,_=0;_<u;_++)s=null==i?t[_][f]:"string"==typeof(p=t[_][f])&&"="===p.charAt(1)?i[f]+Number(p.charAt(0)+p.substr(2)):Number(p),g&&_>1&&_<u-1&&(h[c++]=(s+h[c-2])/2),h[c++]=s;for(u=c-m+1,c=0,_=0;_<u;_+=m)s=h[_],r=h[_+1],n=h[_+2],a=2===m?0:h[_+3],h[c++]=p=3===m?new o(s,r,n,a):new o(s,(2*r+s)/3,(2*r+n)/3,n);h.length=c}return d}(l,e.type,_),this._segCount=this._beziers[s].length,this._timeRes){var d=function(t,e){var i,s,r,n,a=[],o=[],h=0,l=0,_=(e=e>>0||6)-1,u=[],c=[];for(i in t)f(t[i],a,e);for(r=a.length,s=0;s<r;s++)h+=Math.sqrt(a[s]),c[n=s%e]=h,n===_&&(l+=h,u[n=s/e>>0]=c,o[n]=l,h=0,c=[]);return{length:l,lengths:o,segments:u}}(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.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(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),n=p.length;--n>-1;){for(a=0;a<3;a++)s=p[n][a],this._func[s]="function"==typeof t[s]&&t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)];s=p[n][2],this._initialRotations[n]=(this._func[s]?this._func[s].call(this._target):this._target[s])||0,this._overwriteProps.push(s)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,s,r,n,a,o,h,l,_,u,f=this._segCount,c=this._func,p=this._target,d=e!==this._startRatio;if(this._timeRes){if(_=this._lengths,u=this._curSeg,e*=this._length,r=this._li,e>this._l2&&r<f-1){for(l=f-1;r<l&&(this._l2=_[++r])<=e;);this._l1=_[r-1],this._li=r,this._curSeg=u=this._segments[r],this._s2=u[this._s1=this._si=0]}else if(e<this._l1&&r>0){for(;r>0&&(this._l1=_[--r])>=e;);0===r&&e<this._l1?this._l1=0:r++,this._l2=_[r],this._li=r,this._curSeg=u=this._segments[r],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(i=r,e-=this._l1,r=this._si,e>this._s2&&r<u.length-1){for(l=u.length-1;r<l&&(this._s2=u[++r])<=e;);this._s1=u[r-1],this._si=r}else if(e<this._s1&&r>0){for(;r>0&&(this._s1=u[--r])>=e;);0===r&&e<this._s1?this._s1=0:r++,this._s2=u[r],this._si=r}o=(r+(e-this._s1)/(this._s2-this._s1))*this._prec||0}else o=(e-(i=e<0?0:e>=1?f-1:f*e>>0)*(1/f))*f;for(s=1-o,r=this._props.length;--r>-1;)n=this._props[r],h=(o*o*(a=this._beziers[n][i]).da+3*s*(o*a.ca+s*a.ba))*o+a.a,this._mod[n]&&(h=this._mod[n](h,p)),c[n]?p[n](h):p[n]=h;if(this._autoRotate){var m,g,y,v,T,x,b,w=this._autoRotate;for(r=w.length;--r>-1;)n=w[r][2],x=w[r][3]||0,b=!0===w[r][4]?1:t,a=this._beziers[w[r][0]],m=this._beziers[w[r][1]],a&&m&&(a=a[i],m=m[i],g=a.a+(a.b-a.a)*o,g+=((v=a.b+(a.c-a.b)*o)-g)*o,v+=(a.c+(a.d-a.c)*o-v)*o,y=m.a+(m.b-m.a)*o,y+=((T=m.b+(m.c-m.b)*o)-y)*o,T+=(m.c+(m.d-m.c)*o-T)*o,h=d?Math.atan2(T-y,v-g)*b+x:this._initialRotations[r],this._mod[n]&&(h=this._mod[n](h,p)),c[n]?p[n](h):p[n]=h)}}}),p=c.prototype;c.bezierThrough=u,c.cubicToQuadratic=h,c._autoCSS=!0,c.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},c._cssRegister=function(){var t=a.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,s=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,n,a,o,h){e instanceof Array&&(e={values:e}),h=new c;var l,_,u,f=e.values,p=f.length-1,d=[],m={};if(p<0)return o;for(l=0;l<=p;l++)u=i(t,f[l],a,o,h,p!==l),d[l]=u.end;for(_ in e)m[_]=e[_];return m.values=d,(o=new r(t,"bezier",0,0,u.pt,2)).data=u,o.plugin=h,o.setRatio=s,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(l=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=u.end.left?[["left","top","rotation",l,!1]]:null!=u.end.x&&[["x","y","rotation",l,!1]]),m.autoRotate&&(a._transform||a._enableTransforms(!1),u.autoRotate=a._target._gsTransform,u.proxy.rotation=u.autoRotate.rotation||0,a._overwriteProps.push("rotation")),h._onInitTween(u.proxy,m,a._tween),o}})}},p._mod=function(t){for(var e,i=this._overwriteProps,s=i.length;--s>-1;)(e=t[i[s]])&&"function"==typeof e&&(this._mod[i[s]]=e)},p._kill=function(t){var e,i,s=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=s.length;--i>-1;)s[i]===e&&s.splice(i,1);if(s=this._autoRotate)for(i=s.length;--i>-1;)t[s[i][2]]&&s.splice(i,1);return this._super._kill.call(this,t)}}(),e._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,i){var s,r,n,a,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},h=e._gsDefine.globals,l={},_=o.prototype=new t("css");_.constructor=o,o.version="1.20.3",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,_="px",o.suffixMap={top:_,right:_,bottom:_,left:_,width:_,height:_,fontSize:_,padding:_,margin:_,perspective:_,lineHeight:""};var u,f,c,p,d,m,g,y,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,T=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *= *([^)]*)/i,O=/opacity:([^;]*)/i,k=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,R=/([A-Z])/g,A=/-([a-z])/gi,C=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,D=function(t,e){return e.toUpperCase()},M=/(?:Left|Right|Width)/i,F=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,X=Math.PI/180,N=180/Math.PI,L={},B={style:{}},Y=e.document||{createElement:function(){return B}},j=function(t,e){return Y.createElementNS?Y.createElementNS(e||"http://www.w3.org/1999/xhtml",t):Y.createElement(t)},U=j("div"),V=j("img"),q=o._internals={_specialProps:l},W=(e.navigator||{}).userAgent||"",G=function(){var t=W.indexOf("Android"),e=j("a");return c=-1!==W.indexOf("Safari")&&-1===W.indexOf("Chrome")&&(-1===t||parseFloat(W.substr(t+8,2))>3),d=c&&parseFloat(W.substr(W.indexOf("Version/")+8,2))<6,p=-1!==W.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(W)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(W))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Z=function(t){return P.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},H=function(t){e.console},$="",Q="",K=function(t,e){var i,s,r=(e=e||U).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],s=5;--s>-1&&void 0===r[i[s]+t];);return s>=0?($="-"+(Q=3===s?"ms":i[s]).toLowerCase()+"-",Q+t):null},J=Y.defaultView?Y.defaultView.getComputedStyle:function(){},tt=o.getStyle=function(t,e,i,s,r){var n;return G||"opacity"!==e?(!s&&t.style[e]?n=t.style[e]:(i=i||J(t))?n=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(R,"-$1").toLowerCase()):t.currentStyle&&(n=t.currentStyle[e]),null==r||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:r):Z(t)},et=q.convertToPixels=function(t,e,s,r,n){if("px"===r||!r&&"lineHeight"!==e)return s;if("auto"===r||!s)return 0;var a,h,l,_=M.test(e),u=t,f=U.style,c=s<0,p=1===s;if(c&&(s=-s),p&&(s*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))a=s/100*(_?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+tt(t,"position")+";line-height:0;","%"!==r&&u.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[_?"borderLeftWidth":"borderTopWidth"]=s+r;else{if(u=t.parentNode||Y.body,-1!==tt(u,"display").indexOf("flex")&&(f.position="absolute"),h=u._gsCache,l=i.ticker.frame,h&&_&&h.time===l)return h.width*s/100;f[_?"width":"height"]=s+r}u.appendChild(U),a=parseFloat(U[_?"offsetWidth":"offsetHeight"]),u.removeChild(U),_&&"%"===r&&!1!==o.cacheWidths&&((h=u._gsCache=u._gsCache||{}).time=l,h.width=a/s*100),0!==a||n||(a=et(t,e,s,r,!0))}else h=J(t).lineHeight,t.style.lineHeight=s,a=parseFloat(J(t).lineHeight),t.style.lineHeight=h;return p&&(a/=100),c?-a:a},it=q.calculateOffset=function(t,e,i){if("absolute"!==tt(t,"position",i))return 0;var s="left"===e?"Left":"Top",r=tt(t,"margin"+s,i);return t["offset"+s]-(et(t,e,parseFloat(r),r.replace(w,""))||0)},st=function(t,e){var i,s,r,n={};if(e=e||J(t,null))if(i=e.length)for(;--i>-1;)-1!==(r=e[i]).indexOf("-transform")&&Ct!==r||(n[r.replace(A,D)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&At!==i||(n[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===n[i]&&(n[i.replace(A,D)]=e[i]);return G||(n.opacity=Z(t)),s=Ut(t,e,!1),n.rotation=s.rotation,n.skewX=s.skewX,n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.x=s.x,n.y=s.y,Mt&&(n.z=s.z,n.rotationX=s.rotationX,n.rotationY=s.rotationY,n.scaleZ=s.scaleZ),n.filters&&delete n.filters,n},rt=function(t,e,i,s,r){var n,a,o,h={},l=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(n=i[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"!=typeof n&&"string"!=typeof n||(h[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(b,"")?n:0:it(t,a),void 0!==l[a]&&(o=new vt(l,a,l[a],o))));if(s)for(a in s)"className"!==a&&(h[a]=s[a]);return{difs:h,firstMPT:o}},nt={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||J(t))[e]||0;if(t.getCTM&&Bt(t))return t.getBBox()[e]||0;var s=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=nt[e],n=r.length;for(i=i||J(t,null);--n>-1;)s-=parseFloat(tt(t,"padding"+r[n],i,!0))||0,s-=parseFloat(tt(t,"border"+r[n]+"Width",i,!0))||0;return s},ht=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i,s=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":s[0],n=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":s[1];if(s.length>3&&!e){for(s=t.split(", ").join(",").split(","),t=[],i=0;i<s.length;i++)t.push(ht(s[i]));return t.join(",")}return null==n?n="center"===r?"50%":"0":"center"===n&&(n="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),t=r+" "+n+(s.length>2?" "+s[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==n.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===n.charAt(1),e.ox=parseFloat(r.replace(b,"")),e.oy=parseFloat(n.replace(b,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(y,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},_t=function(t,e){return"function"==typeof t&&(t=t(y,g)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,i,s){var r,n,a,o,h;return"function"==typeof t&&(t=t(y,g)),null==t?o=e:"number"==typeof t?o=t:(r=360,n=t.split("_"),a=((h="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(n[0].substr(2)):parseFloat(n[0]))*(-1===t.indexOf("rad")?1:N)-(h?0:e),n.length&&(s&&(s[i]=e+a),-1!==t.indexOf("short")&&(a%=r)!==a%(r/2)&&(a=a<0?a+r:a-r),-1!==t.indexOf("_cw")&&a<0?a=(a+9999999999*r)%r-(a/r|0)*r:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*r)%r-(a/r|0)*r)),o=e+a),o<1e-6&&o>-1e-6&&(o=0),o},ft={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]},ct=function(t,e,i){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},pt=o.parseColor=function(t,e){var i,s,r,n,a,o,h,l,_,u,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)),ft[t])i=ft[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(s=t.charAt(1))+s+(r=t.charAt(2))+r+(n=t.charAt(3))+n),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(T)}else a=Number(i[0])%360/360,o=Number(i[1])/100,s=2*(h=Number(i[2])/100)-(r=h<=.5?h*(o+1):h+o-h*o),i.length>3&&(i[3]=Number(i[3])),i[0]=ct(a+1/3,s,r),i[1]=ct(a,s,r),i[2]=ct(a-1/3,s,r);else i=t.match(v)||ft.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=ft.black;return e&&!f&&(s=i[0]/255,r=i[1]/255,n=i[2]/255,h=((l=Math.max(s,r,n))+(_=Math.min(s,r,n)))/2,l===_?a=o=0:(u=l-_,o=h>.5?u/(2-l-_):u/(l+_),a=l===s?(r-n)/u+(r<n?6:0):l===r?(n-s)/u+2:(s-r)/u+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*h+.5|0),i},dt=function(t,e){var i,s,r,n=t.match(mt)||[],a=0,o="";if(!n.length)return t;for(i=0;i<n.length;i++)s=n[i],a+=(r=t.substr(a,t.indexOf(s,a)-a)).length+s.length,3===(s=pt(s,e)).length&&s.push(1),o+=r+(e?"hsla("+s[0]+","+s[1]+"%,"+s[2]+"%,"+s[3]:"rgba("+s.join(","))+")";return o+t.substr(a)},mt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(_ in ft)mt+="|"+_+"\\b";mt=new RegExp(mt+")","gi"),o.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];mt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=dt(t[0],e),t[1]=dt(t[1],e)),mt.lastIndex=0},i.defaultStringFilter||(i.defaultStringFilter=o.colorStringFilter);var gt=function(t,e,i,s){if(null==t)return function(t){return t};var r,n=e?(t.match(mt)||[""])[0]:"",a=t.split(n).join("").match(x)||[],o=t.substr(0,t.indexOf(a[0])),h=")"===t.charAt(t.length-1)?")":"",l=-1!==t.indexOf(" ")?" ":",",_=a.length,u=_>0?a[0].replace(v,""):"";return _?r=e?function(t){var e,f,c,p;if("number"==typeof t)t+=u;else if(s&&E.test(t)){for(p=t.replace(E,"|").split("|"),c=0;c<p.length;c++)p[c]=r(p[c]);return p.join(",")}if(e=(t.match(mt)||[n])[0],c=(f=t.split(e).join("").match(x)||[]).length,_>c--)for(;++c<_;)f[c]=i?f[(c-1)/2|0]:a[c];return o+f.join(l)+l+e+h+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,n,f;if("number"==typeof t)t+=u;else if(s&&E.test(t)){for(n=t.replace(E,"|").split("|"),f=0;f<n.length;f++)n[f]=r(n[f]);return n.join(",")}if(f=(e=t.match(x)||[]).length,_>f--)for(;++f<_;)e[f]=i?e[(f-1)/2|0]:a[f];return o+e.join(l)+h}:function(t){return t}},yt=function(t){return t=t.split(","),function(e,i,s,r,n,a,o){var h,l=(i+"").split(" ");for(o={},h=0;h<4;h++)o[t[h]]=l[h]=l[h]||l[(h-1)/2>>0];return r.parse(e,o,n,a)}},vt=(q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,s,r,n,a=this.data,o=a.proxy,h=a.firstMPT;h;)e=o[h.v],h.r?e=Math.round(e):e<1e-6&&e>-1e-6&&(e=0),h.t[h.p]=e,h=h._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod(o.rotation,this.t):o.rotation),1===t||0===t)for(h=a.firstMPT,n=1===t?"e":"b";h;){if((i=h.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,s=1;s<i.l;s++)r+=i["xn"+s]+i["xs"+(s+1)];i[n]=r}}else i[n]=i.s+i.xs0;h=h._next}},function(t,e,i,s,r){this.t=t,this.p=e,this.v=i,this.r=r,s&&(s._prev=this,this._next=s)}),Tt=(q._parseToProxy=function(t,e,i,s,r,n){var a,o,h,l,_,u=s,f={},c={},p=i._transform,d=L;for(i._transform=null,L=e,s=_=i.parse(t,e,s,r),L=d,n&&(i._transform=p,u&&(u._prev=null,u._prev&&(u._prev._next=null)));s&&s!==u;){if(s.type<=1&&(c[o=s.p]=s.s+s.c,f[o]=s.s,n||(l=new vt(s,"s",o,l,s.r),s.c=0),1===s.type))for(a=s.l;--a>0;)h="xn"+a,c[o=s.p+"_"+h]=s.data[h],f[o]=s[h],n||(l=new vt(s,h,o,l,s.rxp[h]));s=s._next}return{proxy:f,end:c,firstMPT:l,pt:_}},q.CSSPropTween=function(t,e,i,r,n,o,h,l,_,u,f){this.t=t,this.p=e,this.s=i,this.c=r,this.n=h||e,t instanceof Tt||a.push(this.n),this.r=l,this.type=o||0,_&&(this.pr=_,s=!0),this.b=void 0===u?i:u,this.e=void 0===f?i+r:f,n&&(this._next=n,n._prev=this)}),xt=function(t,e,i,s,r,n){var a=new Tt(t,e,i,s-i,r,-1,n);return a.b=i,a.e=a.xs0=s,a},bt=o.parseComplex=function(t,e,i,s,r,n,a,h,l,_){i=i||n||"","function"==typeof s&&(s=s(y,g)),a=new Tt(t,e,0,0,a,_?2:1,null,!1,h,i,s),s+="",r&&mt.test(s+i)&&(s=[i,s],o.colorStringFilter(s),i=s[0],s=s[1]);var f,c,p,d,m,x,b,w,P,O,k,S,R,A=i.split(", ").join(",").split(" "),C=s.split(", ").join(",").split(" "),D=A.length,M=!1!==u;for(-1===s.indexOf(",")&&-1===i.indexOf(",")||(-1!==(s+i).indexOf("rgb")||-1!==(s+i).indexOf("hsl")?(A=A.join(" ").replace(E,", ").split(" "),C=C.join(" ").replace(E,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),D=A.length),D!==C.length&&(D=(A=(n||"").split(" ")).length),a.plugin=l,a.setRatio=_,mt.lastIndex=0,f=0;f<D;f++)if(d=A[f],m=C[f],(w=parseFloat(d))||0===w)a.appendXtra("",w,lt(m,w),m.replace(T,""),M&&-1!==m.indexOf("px"),!0);else if(r&&mt.test(d))S=")"+((S=m.indexOf(")")+1)?m.substr(S):""),R=-1!==m.indexOf("hsl")&&G,O=m,d=pt(d,R),m=pt(m,R),(P=d.length+m.length>6)&&!G&&0===m[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(C[f]).join("transparent")):(G||(P=!1),R?a.appendXtra(O.substr(0,O.indexOf("hsl"))+(P?"hsla(":"hsl("),d[0],lt(m[0],d[0]),",",!1,!0).appendXtra("",d[1],lt(m[1],d[1]),"%,",!1).appendXtra("",d[2],lt(m[2],d[2]),P?"%,":"%"+S,!1):a.appendXtra(O.substr(0,O.indexOf("rgb"))+(P?"rgba(":"rgb("),d[0],m[0]-d[0],",",!0,!0).appendXtra("",d[1],m[1]-d[1],",",!0).appendXtra("",d[2],m[2]-d[2],P?",":S,!0),P&&(d=d.length<4?1:d[3],a.appendXtra("",d,(m.length<4?1:m[3])-d,S,!1))),mt.lastIndex=0;else if(x=d.match(v)){if(!(b=m.match(T))||b.length!==x.length)return a;for(p=0,c=0;c<x.length;c++)k=x[c],O=d.indexOf(k,p),a.appendXtra(d.substr(p,O-p),Number(k),lt(b[c],k),"",M&&"px"===d.substr(O+k.length,2),0===c),p=O+k.length;a["xs"+a.l]+=d.substr(p)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+m:m;if(-1!==s.indexOf("=")&&a.data){for(S=a.xs0+a.data.s,f=1;f<a.l;f++)S+=a["xs"+f]+a.data["xn"+f];a.e=S+a["xs"+f]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},wt=9;for((_=Tt.prototype).l=_.pr=0;--wt>0;)_["xn"+wt]=0,_["xs"+wt]="";_.xs0="",_._next=_._prev=_.xfirst=_.data=_.plugin=_.setRatio=_.rxp=null,_.appendXtra=function(t,e,i,s,r,n){var a=this.l;return this["xs"+a]+=n&&(a||this["xs"+a])?" "+t:t||"",i||0===a||this.plugin?(this.l++,this.type=this.setRatio?2:1,this["xs"+this.l]=s||"",a>0?(this.data["xn"+a]=e+i,this.rxp["xn"+a]=r,this["xn"+a]=e,this.plugin||(this.xfirst=new Tt(this,"xn"+a,e,i,this.xfirst||this,0,this.n,r,this.pr),this.xfirst.xs0=0),this):(this.data={s:e+i},this.rxp={},this.s=e,this.c=i,this.r=r,this)):(this["xs"+a]+=e+(s||""),this)};var Pt=function(t,e){e=e||{},this.p=e.prefix?K(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||gt(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.pr=e.priority||0},Ot=q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var s,r=t.split(","),n=e.defaultValue;for(i=i||[n],s=0;s<r.length;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||n,new Pt(r[s],e)},kt=q._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Ot(t,{parser:function(t,i,s,r,n,a,o){var _=h.com.greensock.plugins[e];return _?(_._cssRegister(),l[s].parse(t,i,s,r,n,a,o)):(H(),n)}})}};(_=Pt.prototype).parseComplex=function(t,e,i,s,r,n){var a,o,h,l,_,u,f=this.keyword;if(this.multi&&(E.test(i)||E.test(e)?(o=e.replace(E,"|").split("|"),h=i.replace(E,"|").split("|")):f&&(o=[e],h=[i])),h){for(l=h.length>o.length?h.length:o.length,a=0;a<l;a++)e=o[a]=o[a]||this.dflt,i=h[a]=h[a]||this.dflt,f&&(_=e.indexOf(f))!==(u=i.indexOf(f))&&(-1===u?o[a]=o[a].split(f).join(""):-1===_&&(o[a]+=" "+f));e=o.join(", "),i=h.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,s,this.pr,r,n)},_.parse=function(t,e,i,s,r,a,o){return this.parseComplex(t.style,this.format(tt(t,this.p,n,!1,this.dflt)),this.format(e),r,a)},o.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,s,r,n,a,o,h){var l=new Tt(t,r,0,0,a,2,r,!1,i);return l.plugin=o,l.setRatio=e(t,s,n._tween,r),l},priority:i})},o.useSVGTransformAttr=!0;var St,Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),At=K("transform"),Ct=$+"transform",Dt=K("transformOrigin"),Mt=null!==K("perspective"),Ft=q.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Mt)&&(o.defaultForce3D||"auto")},zt=e.SVGElement,Et=function(t,e,i){var s,r=Y.createElementNS("http://www.w3.org/2000/svg",t),n=/([a-z])([A-Z])/g;for(s in i)r.setAttributeNS(null,s.replace(n,"$1-$2").toLowerCase(),i[s]);return e.appendChild(r),r},It=Y.documentElement||{},Xt=function(){var t,i,s,r=m||/Android/i.test(W)&&!e.chrome;return Y.createElementNS&&!r&&(t=Et("svg",It),s=(i=Et("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,i.style[Dt]="50% 50%",i.style[At]="scaleX(0.5)",r=s===i.getBoundingClientRect().width&&!(p&&Mt),It.removeChild(t)),r}(),Nt=function(t,e,i,s,r,n){var a,h,l,_,u,f,c,p,d,m,g,y,v,T,x=t._gsTransform,b=jt(t,!0);x&&(v=x.xOrigin,T=x.yOrigin),(!s||(a=s.split(" ")).length<2)&&(0===(c=t.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={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=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=_=parseFloat(a[0]),i.yOrigin=u=parseFloat(a[1]),s&&b!==Yt&&(f=b[0],c=b[1],p=b[2],d=b[3],m=b[4],g=b[5],(y=f*d-c*p)&&(h=_*(d/y)+u*(-p/y)+(p*g-d*m)/y,l=_*(-c/y)+u*(f/y)-(f*g-c*m)/y,_=i.xOrigin=a[0]=h,u=i.yOrigin=a[1]=l)),x&&(n&&(i.xOffset=x.xOffset,i.yOffset=x.yOffset,x=i),r||!1!==r&&!1!==o.defaultSmoothOrigin?(h=_-v,l=u-T,x.xOffset+=h*b[0]+l*b[2]-h,x.yOffset+=h*b[1]+l*b[3]-l):x.xOffset=x.yOffset=0),n||t.setAttribute("data-svg-origin",a.join(" "))},Lt=function(t){var e,i=j("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=this.parentNode,r=this.nextSibling,n=this.style.cssText;if(It.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Lt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?s.insertBefore(this,r):s.appendChild(this),It.removeChild(i),this.style.cssText=n,e},Bt=function(t){return!(!zt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Lt.call(t,!0)}}(t))},Yt=[1,0,0,1,0,0],jt=function(t,e){var i,s,r,n,a,o,h=t._gsTransform||new Ft,l=t.style;if(At?s=tt(t,Ct,null,!0):t.currentStyle&&(s=(s=t.currentStyle.filter.match(F))&&4===s.length?[s[0].substr(4),Number(s[2].substr(4)),Number(s[1].substr(4)),s[3].substr(4),h.x||0,h.y||0].join(","):""),i=!s||"none"===s||"matrix(1, 0, 0, 1, 0, 0)"===s,!At||!(o=!J(t)||"none"===J(t).display)&&t.parentNode||(o&&(n=l.display,l.display="block"),t.parentNode||(a=1,It.appendChild(t)),i=!(s=tt(t,Ct,null,!0))||"none"===s||"matrix(1, 0, 0, 1, 0, 0)"===s,n?l.display=n:o&&Gt(l,"display"),a&&It.removeChild(t)),(h.svg||t.getCTM&&Bt(t))&&(i&&-1!==(l[At]+"").indexOf("matrix")&&(s=l[At],i=0),r=t.getAttribute("transform"),i&&r&&(-1!==r.indexOf("matrix")?(s=r,i=0):-1!==r.indexOf("translate")&&(s="matrix(1,0,0,1,"+r.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return Yt;for(r=(s||"").match(v)||[],wt=r.length;--wt>-1;)n=Number(r[wt]),r[wt]=(a=n-(n|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+n:n;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Ut=q.getTransform=function(t,e,s,r){if(t._gsTransform&&s&&!r)return t._gsTransform;var n,a,h,l,_,u,f=s?t._gsTransform||new Ft:new Ft,c=f.scaleX<0,p=Mt?parseFloat(tt(t,Dt,e,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0,d=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Bt(t)),f.svg&&(Nt(t,tt(t,Dt,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),St=o.useSVGTransformAttr||Xt),(n=jt(t))!==Yt){if(16===n.length){var m,g,y,v,T,x=n[0],b=n[1],w=n[2],P=n[3],O=n[4],k=n[5],S=n[6],R=n[7],A=n[8],C=n[9],D=n[10],M=n[12],F=n[13],z=n[14],E=n[11],I=Math.atan2(S,D);f.zOrigin&&(M=A*(z=-f.zOrigin)-n[12],F=C*z-n[13],z=D*z+f.zOrigin-n[14]),f.rotationX=I*N,I&&(m=O*(v=Math.cos(-I))+A*(T=Math.sin(-I)),g=k*v+C*T,y=S*v+D*T,A=O*-T+A*v,C=k*-T+C*v,D=S*-T+D*v,E=R*-T+E*v,O=m,k=g,S=y),I=Math.atan2(-w,D),f.rotationY=I*N,I&&(g=b*(v=Math.cos(-I))-C*(T=Math.sin(-I)),y=w*v-D*T,C=b*T+C*v,D=w*T+D*v,E=P*T+E*v,x=m=x*v-A*T,b=g,w=y),I=Math.atan2(b,x),f.rotation=I*N,I&&(m=x*(v=Math.cos(I))+b*(T=Math.sin(I)),g=O*v+k*T,y=A*v+C*T,b=b*v-x*T,k=k*v-O*T,C=C*v-A*T,x=m,O=g,A=y),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),I=Math.atan2(O,k),f.scaleX=(1e5*Math.sqrt(x*x+b*b+w*w)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(k*k+S*S)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+D*D)+.5|0)/1e5,x/=f.scaleX,O/=f.scaleY,b/=f.scaleX,k/=f.scaleY,Math.abs(I)>2e-5?(f.skewX=I*N,O=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(I))):f.skewX=0,f.perspective=E?1/(E<0?-E:E):0,f.x=M,f.y=F,f.z=z,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*x-f.yOrigin*O),f.y-=f.yOrigin-(f.yOrigin*b-f.xOrigin*k))}else if(!Mt||r||!n.length||f.x!==n[4]||f.y!==n[5]||!f.rotationX&&!f.rotationY){var X=n.length>=6,L=X?n[0]:1,B=n[1]||0,Y=n[2]||0,j=X?n[3]:1;f.x=n[4]||0,f.y=n[5]||0,h=Math.sqrt(L*L+B*B),l=Math.sqrt(j*j+Y*Y),_=L||B?Math.atan2(B,L)*N:f.rotation||0,u=Y||j?Math.atan2(Y,j)*N+_:f.skewX||0,f.scaleX=h,f.scaleY=l,f.rotation=_,f.skewX=u,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=d,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*L+f.yOrigin*Y),f.y-=f.yOrigin-(f.xOrigin*B+f.yOrigin*j))}Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(c?(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=p;for(a in f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return s&&(t._gsTransform=f,f.svg&&(St&&t.style[At]?i.delayedCall(.001,function(){Gt(t.style,At)}):!St&&t.getAttribute("transform")&&i.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Vt=function(t){var e,i,s=this.data,r=-s.rotation*X,n=r+s.skewX*X,a=(Math.cos(r)*s.scaleX*1e5|0)/1e5,o=(Math.sin(r)*s.scaleX*1e5|0)/1e5,h=(Math.sin(n)*-s.scaleY*1e5|0)/1e5,l=(Math.cos(n)*s.scaleY*1e5|0)/1e5,_=this.t.style,u=this.t.currentStyle;if(u){i=o,o=-h,h=-i,e=u.filter,_.filter="";var f,c,p=this.t.offsetWidth,d=this.t.offsetHeight,g="absolute"!==u.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+o+", M21="+h+", M22="+l,v=s.x+p*s.xPercent/100,T=s.y+d*s.yPercent/100;if(null!=s.ox&&(v+=(f=(s.oxp?p*s.ox*.01:s.ox)-p/2)-(f*a+(c=(s.oyp?d*s.oy*.01:s.oy)-d/2)*o),T+=c-(f*h+c*l)),y+=g?", Dx="+((f=p/2)-(f*a+(c=d/2)*o)+v)+", Dy="+(c-(f*h+c*l)+T)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?_.filter=e.replace(z,y):_.filter=y+" "+e,0!==t&&1!==t||1===a&&0===o&&0===h&&1===l&&(g&&-1===y.indexOf("Dx=0, Dy=0")||P.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&_.removeAttribute("filter")),!g){var x,b,O,k=m<8?1:-1;for(f=s.ieOffsetX||0,c=s.ieOffsetY||0,s.ieOffsetX=Math.round((p-((a<0?-a:a)*p+(o<0?-o:o)*d))/2+v),s.ieOffsetY=Math.round((d-((l<0?-l:l)*d+(h<0?-h:h)*p))/2+T),wt=0;wt<4;wt++)O=(i=-1!==(x=u[b=at[wt]]).indexOf("px")?parseFloat(x):et(this.t,b,parseFloat(x),x.replace(w,""))||0)!==s[b]?wt<2?-s.ieOffsetX:-s.ieOffsetY:wt<2?f-s.ieOffsetX:c-s.ieOffsetY,_[b]=(s[b]=Math.round(i-O*(0===wt||2===wt?1:k)))+"px"}}},qt=q.set3DTransformRatio=q.setTransformRatio=function(t){var e,i,s,r,n,a,o,h,l,_,u,f,c,d,m,g,y,v,T,x,b,w=this.data,P=this.t.style,O=w.rotation,k=w.rotationX,S=w.rotationY,R=w.scaleX,A=w.scaleY,C=w.scaleZ,D=w.x,M=w.y,F=w.z,z=w.svg,E=w.perspective,I=w.force3D,N=w.skewY,L=w.skewX;if(N&&(L+=N,O+=N),!((1!==t&&0!==t||"auto"!==I||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&I||F||E||S||k||1!==C)||St&&z||!Mt)O||L||z?(O*=X,x=L*X,b=1e5,i=Math.cos(O)*R,n=Math.sin(O)*R,s=Math.sin(O-x)*-A,a=Math.cos(O-x)*A,x&&"simple"===w.skewType&&(e=Math.tan(x-N*X),s*=e=Math.sqrt(1+e*e),a*=e,N&&(e=Math.tan(N*X),i*=e=Math.sqrt(1+e*e),n*=e)),z&&(D+=w.xOrigin-(w.xOrigin*i+w.yOrigin*s)+w.xOffset,M+=w.yOrigin-(w.xOrigin*n+w.yOrigin*a)+w.yOffset,St&&(w.xPercent||w.yPercent)&&(m=this.t.getBBox(),D+=.01*w.xPercent*m.width,M+=.01*w.yPercent*m.height),D<(m=1e-6)&&D>-m&&(D=0),M<m&&M>-m&&(M=0)),T=(i*b|0)/b+","+(n*b|0)/b+","+(s*b|0)/b+","+(a*b|0)/b+","+D+","+M+")",z&&St?this.t.setAttribute("transform","matrix("+T):P[At]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+T):P[At]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+A+","+D+","+M+")";else{if(p&&(R<(m=1e-4)&&R>-m&&(R=C=2e-5),A<m&&A>-m&&(A=C=2e-5),!E||w.z||w.rotationX||w.rotationY||(E=0)),O||L)O*=X,g=i=Math.cos(O),y=n=Math.sin(O),L&&(O-=L*X,g=Math.cos(O),y=Math.sin(O),"simple"===w.skewType&&(e=Math.tan((L-N)*X),g*=e=Math.sqrt(1+e*e),y*=e,w.skewY&&(e=Math.tan(N*X),i*=e=Math.sqrt(1+e*e),n*=e))),s=-y,a=g;else{if(!(S||k||1!==C||E||z))return void(P[At]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+M+"px,"+F+"px)"+(1!==R||1!==A?" scale("+R+","+A+")":""));i=a=1,s=n=0}_=1,r=o=h=l=u=f=0,c=E?-1/E:0,d=w.zOrigin,m=1e-6,",","0",(O=S*X)&&(g=Math.cos(O),h=-(y=Math.sin(O)),u=c*-y,r=i*y,o=n*y,_=g,c*=g,i*=g,n*=g),(O=k*X)&&(e=s*(g=Math.cos(O))+r*(y=Math.sin(O)),v=a*g+o*y,l=_*y,f=c*y,r=s*-y+r*g,o=a*-y+o*g,_*=g,c*=g,s=e,a=v),1!==C&&(r*=C,o*=C,_*=C,c*=C),1!==A&&(s*=A,a*=A,l*=A,f*=A),1!==R&&(i*=R,n*=R,h*=R,u*=R),(d||z)&&(d&&(D+=r*-d,M+=o*-d,F+=_*-d+d),z&&(D+=w.xOrigin-(w.xOrigin*i+w.yOrigin*s)+w.xOffset,M+=w.yOrigin-(w.xOrigin*n+w.yOrigin*a)+w.yOffset),D<m&&D>-m&&(D="0"),M<m&&M>-m&&(M="0"),F<m&&F>-m&&(F=0)),T=w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix3d(":"matrix3d(",T+=(i<m&&i>-m?"0":i)+","+(n<m&&n>-m?"0":n)+","+(h<m&&h>-m?"0":h),T+=","+(u<m&&u>-m?"0":u)+","+(s<m&&s>-m?"0":s)+","+(a<m&&a>-m?"0":a),k||S||1!==C?(T+=","+(l<m&&l>-m?"0":l)+","+(f<m&&f>-m?"0":f)+","+(r<m&&r>-m?"0":r),T+=","+(o<m&&o>-m?"0":o)+","+(_<m&&_>-m?"0":_)+","+(c<m&&c>-m?"0":c)+","):T+=",0,0,0,0,1,0,",T+=D+","+M+","+F+","+(E?1+-F/E:1)+")",P[At]=T}};(_=Ft.prototype).x=_.y=_.z=_.skewX=_.skewY=_.rotation=_.rotationX=_.rotationY=_.zOrigin=_.xPercent=_.yPercent=_.xOffset=_.yOffset=0,_.scaleX=_.scaleY=_.scaleZ=1,Ot("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,s,r,a,h){if(s._lastParsedTransform===h)return r;s._lastParsedTransform=h;var l,_=h.scale&&"function"==typeof h.scale?h.scale:0;"function"==typeof h[i]&&(l=h[i],h[i]=e),_&&(h.scale=_(y,t));var u,f,c,p,d,m,v,T,x,b=t._gsTransform,w=t.style,P=Rt.length,O=h,k={},S="transformOrigin",R=Ut(t,n,!0,O.parseTransform),A=O.transform&&("function"==typeof O.transform?O.transform(y,g):O.transform);if(R.skewType=O.skewType||R.skewType||o.defaultSkewType,s._transform=R,A&&"string"==typeof A&&At)(f=U.style)[At]=A,f.display="block",f.position="absolute",Y.body.appendChild(U),u=Ut(U,null,!1),"simple"===R.skewType&&(u.scaleY*=Math.cos(u.skewX*X)),R.svg&&(m=R.xOrigin,v=R.yOrigin,u.x-=R.xOffset,u.y-=R.yOffset,(O.transformOrigin||O.svgOrigin)&&(A={},Nt(t,ht(O.transformOrigin),A,O.svgOrigin,O.smoothOrigin,!0),m=A.xOrigin,v=A.yOrigin,u.x-=A.xOffset-R.xOffset,u.y-=A.yOffset-R.yOffset),(m||v)&&(T=jt(U,!0),u.x-=m-(m*T[0]+v*T[2]),u.y-=v-(m*T[1]+v*T[3]))),Y.body.removeChild(U),u.perspective||(u.perspective=R.perspective),null!=O.xPercent&&(u.xPercent=_t(O.xPercent,R.xPercent)),null!=O.yPercent&&(u.yPercent=_t(O.yPercent,R.yPercent));else if("object"==typeof O){if(u={scaleX:_t(null!=O.scaleX?O.scaleX:O.scale,R.scaleX),scaleY:_t(null!=O.scaleY?O.scaleY:O.scale,R.scaleY),scaleZ:_t(O.scaleZ,R.scaleZ),x:_t(O.x,R.x),y:_t(O.y,R.y),z:_t(O.z,R.z),xPercent:_t(O.xPercent,R.xPercent),yPercent:_t(O.yPercent,R.yPercent),perspective:_t(O.transformPerspective,R.perspective)},null!=(d=O.directionalRotation))if("object"==typeof d)for(f in d)O[f]=d[f];else O.rotation=d;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(u.x=0,u.xPercent=_t(O.x,R.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(u.y=0,u.yPercent=_t(O.y,R.yPercent)),u.rotation=ut("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:R.rotation,R.rotation,"rotation",k),Mt&&(u.rotationX=ut("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":R.rotationX||0,R.rotationX,"rotationX",k),u.rotationY=ut("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":R.rotationY||0,R.rotationY,"rotationY",k)),u.skewX=ut(O.skewX,R.skewX),u.skewY=ut(O.skewY,R.skewY)}for(Mt&&null!=O.force3D&&(R.force3D=O.force3D,p=!0),(c=R.force3D||R.z||R.rotationX||R.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==O.scale||(u.scaleZ=1);--P>-1;)((A=u[x=Rt[P]]-R[x])>1e-6||A<-1e-6||null!=O[x]||null!=L[x])&&(p=!0,r=new Tt(R,x,R[x],A,r),x in k&&(r.e=k[x]),r.xs0=0,r.plugin=a,s._overwriteProps.push(r.n));return A=O.transformOrigin,R.svg&&(A||O.svgOrigin)&&(m=R.xOffset,v=R.yOffset,Nt(t,ht(A),u,O.svgOrigin,O.smoothOrigin),r=xt(R,"xOrigin",(b?R:u).xOrigin,u.xOrigin,r,S),r=xt(R,"yOrigin",(b?R:u).yOrigin,u.yOrigin,r,S),m===R.xOffset&&v===R.yOffset||(r=xt(R,"xOffset",b?m:R.xOffset,R.xOffset,r,S),r=xt(R,"yOffset",b?v:R.yOffset,R.yOffset,r,S)),A="0px 0px"),(A||Mt&&c&&R.zOrigin)&&(At?(p=!0,x=Dt,A=(A||tt(t,x,n,!1,"50% 50%"))+"",(r=new Tt(w,x,0,0,r,-1,S)).b=w[x],r.plugin=a,Mt?(f=R.zOrigin,A=A.split(" "),R.zOrigin=(A.length>2&&(0===f||"0px"!==A[2])?parseFloat(A[2]):f)||0,r.xs0=r.e=A[0]+" "+(A[1]||"50%")+" 0px",(r=new Tt(R,"zOrigin",0,0,r,-1,r.n)).b=f,r.xs0=r.e=R.zOrigin):r.xs0=r.e=A):ht(A+"",R)),p&&(s._transformType=R.svg&&St||!c&&3!==this._transformType?2:3),l&&(h[i]=l),_&&(h.scale=_),r},prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a,o){e=this.format(e);var h,l,_,u,f,c,p,d,m,g,y,v,T,x,b,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),h=e.split(" "),l=0;l<P.length;l++)this.p.indexOf("border")&&(P[l]=K(P[l])),-1!==(f=u=tt(t,P[l],n,!1,"0px")).indexOf(" ")&&(f=(u=f.split(" "))[0],u=u[1]),c=_=h[l],p=parseFloat(f),v=f.substr((p+"").length),(T="="===c.charAt(1))?(d=parseInt(c.charAt(0)+"1",10),c=c.substr(2),d*=parseFloat(c),y=c.substr((d+"").length-(d<0?1:0))||""):(d=parseFloat(c),y=c.substr((d+"").length)),""===y&&(y=r[i]||v),y!==v&&(x=et(t,"borderLeft",p,v),b=et(t,"borderTop",p,v),"%"===y?(f=x/m*100+"%",u=b/g*100+"%"):"em"===y?(f=x/(w=et(t,"borderLeft",1,"em"))+"em",u=b/w+"em"):(f=x+"px",u=b+"px"),T&&(c=parseFloat(f)+d+y,_=parseFloat(u)+d+y)),a=bt(O,P[l],f+" "+u,c+" "+_,!1,"0px",a);return a},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,s,r,a){return bt(t.style,i,this.format(tt(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",r)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,s,r,a){var o,h,l,_,u,f,c="background-position",p=n||J(t,null),d=this.format((p?m?p.getPropertyValue(c+"-x")+" "+p.getPropertyValue(c+"-y"):p.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==d.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(f=tt(t,"backgroundImage").replace(C,""))&&"none"!==f){for(o=d.split(" "),h=g.split(" "),V.setAttribute("src",f),l=2;--l>-1;)(_=-1!==(d=o[l]).indexOf("%"))!==(-1!==h[l].indexOf("%"))&&(u=0===l?t.offsetWidth-V.width:t.offsetHeight-V.height,o[l]=_?parseFloat(d)/100*u+"px":parseFloat(d)/u*100+"%");d=o.join(" ")}return this.parseComplex(t.style,d,g,r,a)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return ht(-1===(t+="").indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,s,r,a){var o,h,l;return m<9?(h=t.currentStyle,l=m<8?" ":",",o="rect("+h.clipTop+l+h.clipRight+l+h.clipBottom+l+h.clipLeft+")",e=this.format(e).split(",").join(l)):(o=this.format(tt(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,r,a)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,s,r){return r}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,s,r,a){var o=tt(t,"borderTopWidth",n,!1,"0px"),h=this.format(e).split(" "),l=h[0].replace(w,"");return"px"!==l&&(o=parseFloat(o)/et(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(o+" "+tt(t,"borderTopStyle",n,!1,"solid")+" "+tt(t,"borderTopColor",n,!1,"#000")),h.join(" "),r,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),Ot("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,s,r,n){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new Tt(a,o,0,0,r,-1,i,!1,0,a[o],e)}});var Wt=function(t){var e,i=this.t,s=i.filter||tt(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===s.indexOf("atrix(")&&-1===s.indexOf("radient(")&&-1===s.indexOf("oader(")?(i.removeAttribute("filter"),e=!tt(this.data,"filter")):(i.filter=s.replace(k,""),e=!0)),e||(this.xn1&&(i.filter=s=s||"alpha(opacity="+r+")"),-1===s.indexOf("pacity")?0===r&&this.xn1||(i.filter=s+" alpha(opacity="+r+")"):i.filter=s.replace(P,"opacity="+r))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,s,r,a){var o=parseFloat(tt(t,"opacity",n,!1,"1")),h=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),l&&1===o&&"hidden"===tt(t,"visibility",n)&&0!==e&&(o=0),G?r=new Tt(h,"opacity",o,e-o,r):((r=new Tt(h,"opacity",100*o,100*(e-o),r)).xn1=l?1:0,h.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=t,r.plugin=a,r.setRatio=Wt),l&&((r=new Tt(h,"visibility",0,0,r,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",s._overwriteProps.push(r.n),s._overwriteProps.push(i)),r}});var Gt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(R,"-$1").toLowerCase())):t.removeAttribute(e))},Zt=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:Gt(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)};Ot("className",{parser:function(t,e,i,r,a,o,h){var l,_,u,f,c,p=t.getAttribute("class")||"",d=t.style.cssText;if((a=r._classNamePT=new Tt(t,i,0,0,a,2)).setRatio=Zt,a.pr=-11,s=!0,a.b=p,_=st(t,n),u=t._gsClassPT){for(f={},c=u.data;c;)f[c.p]=1,c=c._next;u.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:p.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),l=rt(t,_,st(t),h,f),t.setAttribute("class",p),a.data=l.firstMPT,t.style.cssText=d,a=a.xfirst=r.parse(t,l.difs,a,o)}});var Ht=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,s,r,n,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(s=(e=this.e.split(" ").join("").split(",")).length;--s>-1;)i=e[s],l[i]&&(l[i].parse===o?r=!0:i="transformOrigin"===i?Dt:l[i].p),Gt(a,i);r&&(Gt(a,At),(n=this.t._gsTransform)&&(n.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(t,e,i,r,n){return(n=new Tt(t,i,0,0,n,2)).setRatio=Ht,n.e=e,n.pr=-10,n.data=r._tween,s=!0,n}}),_="bezier,throwProps,physicsProps,physics2D".split(","),wt=_.length;wt--;)kt(_[wt]);(_=o.prototype)._firstPT=_._lastParsedTransform=_._transform=null,_._onInitTween=function(t,e,i,h){if(!t.nodeType)return!1;this._target=g=t,this._tween=i,this._vars=e,y=h,u=e.autoRound,s=!1,r=e.suffixMap||o.suffixMap,n=J(t,""),a=this._overwriteProps;var _,p,m,v,T,x,b,w,P,k=t.style;if(f&&""===k.zIndex&&("auto"!==(_=tt(t,"zIndex",n))&&""!==_||this._addLazySet(k,"zIndex",0)),"string"==typeof e&&(v=k.cssText,_=st(t,n),k.cssText=v+";"+e,_=rt(t,_,st(t)).difs,!G&&O.test(e)&&(_.opacity=parseFloat(RegExp.$1)),e=_,k.cssText=v),e.className?this._firstPT=p=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=p=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,At?c&&(f=!0,""===k.zIndex&&("auto"!==(b=tt(t,"zIndex",n))&&""!==b||this._addLazySet(k,"zIndex",0)),d&&this._addLazySet(k,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):k.zoom=1,m=p;m&&m._next;)m=m._next;w=new Tt(t,"transform",0,0,null,2),this._linkCSSP(w,null,m),w.setRatio=At?qt:Vt,w.data=this._transform||Ut(t,n,!0),w.tween=i,w.pr=-1,a.pop()}if(s){for(;p;){for(x=p._next,m=v;m&&m.pr>p.pr;)m=m._next;(p._prev=m?m._prev:T)?p._prev._next=p:v=p,(p._next=m)?m._prev=p:T=p,p=x}this._firstPT=v}return!0},_.parse=function(t,e,i,s){var a,o,h,_,f,c,p,d,m,v,T=t.style;for(a in e){if("function"==typeof(c=e[a])&&(c=c(y,g)),o=l[a])i=o.parse(t,c,a,this,i,s,e);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",J(t).getPropertyValue(a)+"",c+"",a,!1,a);continue}f=tt(t,a,n)+"",m="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&S.test(c)?(m||(c=((c=pt(c)).length>3?"rgba(":"rgb(")+c.join(",")+")"),i=bt(T,a,f,c,!0,"transparent",i,0,s)):m&&I.test(c)?i=bt(T,a,f,c,!0,null,i,0,s):(p=(h=parseFloat(f))||0===h?f.substr((h+"").length):"",""!==f&&"auto"!==f||("width"===a||"height"===a?(h=ot(t,a,n),p="px"):"left"===a||"top"===a?(h=it(t,a,n),p="px"):(h="opacity"!==a?0:1,p="")),(v=m&&"="===c.charAt(1))?(_=parseInt(c.charAt(0)+"1",10),c=c.substr(2),_*=parseFloat(c),d=c.replace(w,"")):(_=parseFloat(c),d=m?c.replace(w,""):""),""===d&&(d=a in r?r[a]:p),c=_||0===_?(v?_+h:_)+d:e[a],p!==d&&(""===d&&"lineHeight"!==a||(_||0===_)&&h&&(h=et(t,a,h,p),"%"===d?(h/=et(t,a,100,"%")/100,!0!==e.strictUnits&&(f=h+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?h/=et(t,a,1,d):"px"!==d&&(_=et(t,a,_,d),d="px"),v&&(_||0===_)&&(c=_+h+d))),v&&(_+=h),!h&&0!==h||!_&&0!==_?void 0!==T[a]&&(c||c+""!="NaN"&&null!=c)?(i=new Tt(T,a,_||h||0,0,i,-1,a,!1,0,f,c)).xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:f:H(e[a]):(i=new Tt(T,a,h,_-h,i,0,a,!1!==u&&("px"===d||"zIndex"===a),0,f,c)).xs0=d)}s&&i&&!i.plugin&&(i.plugin=s)}return i},_.setRatio=function(t){var e,i,s,r=this._firstPT;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(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(s=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,s=1;s<r.l;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=Math.round(r.s+r.c),r.type){if(1===r.type){for(s=r.l,i=r.xs0+e+r.xs1,s=1;s<r.l;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},_._enableTransforms=function(t){this._transform=this._transform||Ut(this._target,n,!0),this._transformType=this._transform.svg&&St||!t&&3!==this._transformType?2:3};var $t=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};_._addLazySet=function(t,e,i){var s=this._firstPT=new Tt(t,e,0,0,this._firstPT,2);s.e=i,s.setRatio=$t,s.data=this},_._linkCSSP=function(t,e,i,s){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,s=!0),i?i._next=t:s||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},_._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&t[e.p]===Math.round&&(e.r=1),e=e._next},_._kill=function(e){var i,s,r,n=e;if(e.autoAlpha||e.alpha){n={};for(s in e)n[s]=e[s];n.opacity=1,n.autoAlpha&&(n.visibility=1)}for(e.className&&(i=this._classNamePT)&&((r=i.xfirst)&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==s&&i.plugin._kill&&(i.plugin._kill(e),s=i.plugin),i=i._next;return t.prototype._kill.call(this,n)};var Qt=function(t,e,i){var s,r,n,a;if(t.slice)for(r=t.length;--r>-1;)Qt(t[r],e,i);else for(r=(s=t.childNodes).length;--r>-1;)a=(n=s[r]).type,n.style&&(e.push(st(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childNodes.length||Qt(n,e,i)};return o.cascadeTo=function(t,e,s){var r,n,a,o,h=i.to(t,e,s),l=[h],_=[],u=[],f=[],c=i._internals.reservedProps;for(t=h._targets||h.target,Qt(t,_,f),h.render(e,!0,!0),Qt(t,u),h.render(0,!0,!0),h._enabled(!0),r=f.length;--r>-1;)if((n=rt(f[r],_[r],u[r])).firstMPT){n=n.difs;for(a in s)c[a]&&(n[a]=s[a]);o={};for(a in n)o[a]=_[r][a];l.push(i.fromTo(f[r],e,o,n))}return l},t.activate([o]),o},!0),function(){var t=function(t){for(;t;)t.f||t.blob||(t.m=Math.round),t=t._next},i=e._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}).prototype;i._onInitAllProps=function(){for(var e,i,s,r=this._tween,n=r.vars.roundProps.join?r.vars.roundProps:r.vars.roundProps.split(","),a=n.length,o={},h=r._propLookup.roundProps;--a>-1;)o[n[a]]=Math.round;for(a=n.length;--a>-1;)for(e=n[a],i=r._firstPT;i;)s=i._next,i.pg?i.t._mod(o):i.n===e&&(2===i.f&&i.t?t(i.t._firstPT):(this._add(i.t,e,i.s,i.c),s&&(s._prev=i._prev),i._prev?i._prev._next=s:r._firstPT===i&&(r._firstPT=s),i._next=i._prev=null,r._propLookup[e]=h)),i=s;return!1},i._add=function(t,e,i,s){this._addTween(t,e,i,i+s,e,Math.round),this._overwriteProps.push(e)}}(),e._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,s){var r,n;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(n=e[r])&&(n=n(s,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",n+"",r,!1,r),this._overwriteProps.push(r);return!0}}),e._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,s){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,n,a,o,h,l,_=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(o=e[r])&&(o=o(s,t)),n=(l=(o+"").split("_"))[0],a=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),h=(o=this.finals[r]="string"==typeof n&&"="===n.charAt(1)?a+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0)-a,l.length&&(-1!==(n=l.join("_")).indexOf("short")&&(h%=_)!==h%(_/2)&&(h=h<0?h+_:h-_),-1!==n.indexOf("_cw")&&h<0?h=(h+9999999999*_)%_-(h/_|0)*_:-1!==n.indexOf("ccw")&&h>0&&(h=(h-9999999999*_)%_-(h/_|0)*_)),(h>1e-6||h<-1e-6)&&(this._addTween(t,r,a,a+h,r),this._overwriteProps.push(r)));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,e._gsDefine("easing.Back",["easing.Ease"],function(t){var i,s,r,n=e.GreenSockGlobals||e,a=n.com.greensock,o=2*Math.PI,h=Math.PI/2,l=a._class,_=function(e,i){var s=l("easing."+e,function(){},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,s},u=t.register||function(){},f=function(t,e,i,s,r){var n=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return u(n,t),n},c=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)},p=function(e,i){var s=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t){return new s(t)},s},d=f("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("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=l("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)},(g=(i=l("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new t).constructor=i,g.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=i.config=function(t,e){return new i(t,e)},(g=(s=l("easing.RoughEase",function(e){for(var i,s,r,n,a,o,h=(e=e||{}).taper||"none",l=[],_=0,u=0|(e.points||20),f=u,p=!1!==e.randomize,d=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=p?Math.random():1/u*f,s=m?m.getRatio(i):i,r="none"===h?g:"out"===h?(n=1-i)*n*g:"in"===h?i*i*g:i<.5?(n=2*i)*n*.5*g:(n=2*(1-i))*n*.5*g,p?s+=Math.random()*r-.5*r:f%2?s+=.5*r:s-=.5*r,d&&(s>1?s=1:s<0&&(s=0)),l[_++]={x:i,y:s};for(l.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),f=u;--f>-1;)a=l[f],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0)).prototype=new t).constructor=s,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 s(t)},s.ease=new s,f("Bounce",_("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),_("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),_("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?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",_("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),_("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),_("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(r=function(e,i,s){var r=l("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||s)/(t<1?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),r("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",_("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),_("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),_("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",_("SineOut",function(t){return Math.sin(t*h)}),_("SineIn",function(t){return 1-Math.cos(t*h)}),_("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),u(n.SlowMo,"SlowMo","ease,"),u(s,"RoughEase","ease,"),u(i,"SteppedEase","ease,"),d},!0)}),e._gsDefine&&e._gsQueue.pop()(),function(t,e){"use strict";var i={},s=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!r.TweenLite){var n,a,o,h,l,_=function(t){var e,i=t.split("."),s=r;for(e=0;e<i.length;e++)s[i[e]]=s=s[i[e]]||{};return s},u=_("com.greensock"),f=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},c=function(){},p=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)}}(),d={},m=function(s,n,a,o){this.sc=d[s]?d[s].sc:[],d[s]=this,this.gsClass=null,this.func=a;var h=[];this.check=function(l){for(var u,f,c,p,g=n.length,y=g;--g>-1;)(u=d[n[g]]||new m(n[g],[])).gsClass?(h[g]=u.gsClass,y--):l&&u.sc.push(this);if(0===y&&a){if(c=(f=("com.greensock."+s).split(".")).pop(),p=_(f.join("."))[c]=this.gsClass=a.apply(a,h),o)if(r[c]=i[c]=p,"undefined"!=typeof module&&module.exports)if(s===e){module.exports=i[e]=p;for(g in i)p[g]=i[g]}else i[e]&&(i[e][c]=p);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+s.split(".").pop(),[],function(){return p});for(g=0;g<this.sc.length;g++)this.sc[g].check()}},this.check(!0)},g=t._gsDefine=function(t,e,i,s){return new m(t,e,i,s)},y=u._class=function(t,e,i){return e=e||function(){},g(t,[],function(){return e},i),e};g.globals=r;var v=[0,0,1,1],T=y("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?v.concat(e):v},!0),x=T.map={},b=T.register=function(t,e,i,s){for(var r,n,a,o,h=e.split(","),l=h.length,_=(i||"easeIn,easeOut,easeInOut").split(",");--l>-1;)for(n=h[l],r=s?y("easing."+n,null,!0):u.easing[n]||{},a=_.length;--a>-1;)o=_[a],x[n+"."+o]=x[o+n]=r[o]=t.getRatio?t:t[o]||new t};for((o=T.prototype)._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},a=(n=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)o=n[a]+",Power"+a,b(new T(null,null,1,a),o,"easeOut",!0),b(new T(null,null,2,a),o,"easeIn"+(0===a?",easeNone":"")),b(new T(null,null,3,a),o,"easeInOut");x.linear=u.easing.Linear.easeIn,x.swing=u.easing.Quad.easeInOut;var w=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(o=w.prototype).addEventListener=function(t,e,i,s,r){r=r||0;var n,a,o=this._listeners[t],_=0;for(this!==h||l||h.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(n=o[a]).c===e&&n.s===i?o.splice(a,1):0===_&&n.pr<r&&(_=a+1);o.splice(_,0,{c:e,s:i,up:s,pr:r})},o.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return void s.splice(i,1)},o.dispatchEvent=function(t){var e,i,s,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(s=r[e])&&(s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i))};var P=t.requestAnimationFrame,O=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},S=k();for(a=(n=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[n[a]+"RequestAnimationFrame"],O=t[n[a]+"CancelAnimationFrame"]||t[n[a]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var i,r,n,a,o,_=this,u=k(),f=!(!1===e||!P)&&"auto",p=500,d=33,m=function(t){var e,s,h=k()-S;h>p&&(u+=h-d),S+=h,_.time=(S-u)/1e3,e=_.time-o,(!i||e>0||!0===t)&&(_.frame++,o+=e+(e>=a?.004:a-e),s=!0),!0!==t&&(n=r(m)),s&&_.dispatchEvent("tick")};w.call(_),_.time=_.frame=0,_.tick=function(){m(!0)},_.lagSmoothing=function(t,e){if(!arguments.length)return p<1e10;p=t||1e10,d=Math.min(e,p,0)},_.sleep=function(){null!=n&&(f&&O?O(n):clearTimeout(n),r=c,n=null,_===h&&(l=!1))},_.wake=function(t){null!==n?_.sleep():t?u+=-S+(S=k()):_.frame>10&&(S=k()-p+5),r=0===i?c:f&&P?P:function(t){return setTimeout(t,1e3*(o-_.time)+1|0)},_===h&&(l=!0),m(2)},_.fps=function(t){if(!arguments.length)return i;a=1/((i=t)||60),o=this.time+a,_.wake()},_.useRAF=function(t){if(!arguments.length)return f;_.sleep(),f=t,_.fps(i)},_.fps(t),setTimeout(function(){"auto"===f&&_.frame<5&&"hidden"!==s.visibilityState&&_.useRAF(!1)},1500)}),(o=u.Ticker.prototype=new u.events.EventDispatcher).constructor=u.Ticker;var R=y("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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,G){l||h.wake();var i=this.vars.useFrames?W:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=R.ticker=new u.Ticker,(o=R.prototype)._dirty=o._gc=o._initted=o._paused=!1,o._totalTime=o._time=0,o._rawPrevTime=-1,o._next=o._last=o._onUpdate=o._timeline=o.timeline=null,o._paused=!1;var A=function(){l&&k()-S>2e3&&("hidden"!==s.visibilityState||!h.lagSmoothing())&&h.wake();var t=setTimeout(A,2e3);t.unref&&t.unref()};A(),o.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},o.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},o.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},o.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},o.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},o.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},o.render=function(t,e,i){},o.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},o.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-1e-7},o._enabled=function(t,e){return l||h.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},o._kill=function(t,e){return this._enabled(!1,!1)},o.kill=function(t,e){return this._kill(t,e),this},o._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},o._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},o._callback=function(t){var e=this.vars,i=e[t],s=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(s?s.length:0){case 0:i.call(r);break;case 1:i.call(r,s[0]);break;case 2:i.call(r,s[0],s[1]);break;default:i.apply(r,s)}},o.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=p(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.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)},o.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},o.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(l||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(F.length&&H(),this.render(t,e,!1),F.length&&H())}return this},o.progress=o.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},o.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},o.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},o.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-10,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},o.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},o.paused=function(t){if(!arguments.length)return this._paused;var e,i,s=this._timeline;return t!=this._paused&&s&&(l||t||h.wake(),i=(e=s.rawTime())-this._pauseTime,!t&&s.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=s.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var C=y("core.SimpleTimeline",function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(o=C.prototype=new R).constructor=C,o.kill()._gc=!1,o._first=o._last=o._recent=null,o._sortChildren=!1,o.add=o.insert=function(t,e,i,s){var r,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(n=t._startTime;r&&r._startTime>n;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},o._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},o.render=function(t,e,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)s=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(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=s},o.rawTime=function(){return l||h.wake(),this._totalTime};var D=y("TweenLite",function(e,i,s){if(R.call(this,i,s),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:D.selector(e)||e;var r,n,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),h=this.vars.overwrite;if(this._overwrite=h=null==h?q[D.defaultOverwrite]:"number"==typeof h?h>>0:q[h],(o||e instanceof Array||e.push&&p(e))&&"number"!=typeof e[0])for(this._targets=a=f(e),this._propLookup=[],this._siblings=[],r=0;r<a.length;r++)(n=a[r])?"string"!=typeof n?n.length&&n!==t&&n[0]&&(n[0]===t||n[0].nodeType&&n[0].style&&!n.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(f(n))):(this._siblings[r]=$(n,this,!1),1===h&&this._siblings[r].length>1&&K(n,this,null,1,this._siblings[r])):"string"==typeof(n=a[r--]=D.selector(n))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=$(e,this,!1),1===h&&this._siblings.length>1&&K(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),M=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(o=D.prototype=new R).constructor=D,o.kill()._gc=!1,o.ratio=0,o._firstPT=o._targets=o._overwrittenProps=o._startAt=null,o._notifyPluginsOfEnabled=o._lazy=!1,D.version="1.20.3",D.defaultEase=o._ease=new T(null,null,1,1),D.defaultOverwrite="auto",D.ticker=h,D.autoSleep=120,D.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},D.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(D.selector=i,i(e)):void 0===s?e:s.querySelectorAll?s.querySelectorAll(e):s.getElementById("#"===e.charAt(0)?e.substr(1):e)};var F=[],z={},E=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,I=/[\+-]=-?[\.\d]/,X=function(t){for(var e,i=this._firstPT;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(e,this._target||i.t):e<1e-6&&e>-1e-6&&!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},N=function(t,e,i,s){var r,n,a,o,h,l,_,u=[],f=0,c="",p=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,r=t.match(E)||[],n=e.match(E)||[],s&&(s._next=null,s.blob=1,u._firstPT=u._applyPT=s),h=n.length,o=0;o<h;o++)_=n[o],c+=(l=e.substr(f,e.indexOf(_,f)-f))||!o?l:",",f+=l.length,p?p=(p+1)%5:"rgba("===l.substr(-5)&&(p=1),_===r[o]||r.length<=o?c+=_:(c&&(u.push(c),c=""),a=parseFloat(r[o]),u.push(a),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:a,c:("="===_.charAt(1)?parseInt(_.charAt(0)+"1",10)*parseFloat(_.substr(2)):parseFloat(_)-a)||0,f:0,m:p&&p<4?Math.round:0}),f+=_.length;return(c+=e.substr(f))&&u.push(c),u.setRatio=X,I.test(e)&&(u.end=null),u},L=function(t,e,i,s,r,n,a,o,h){"function"==typeof s&&(s=s(h||0,t));var l=typeof t[e],_="function"!==l?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),u="get"!==i?i:_?a?t[_](a):t[_]():t[e],f="string"==typeof s&&"="===s.charAt(1),c={t:t,p:e,s:u,f:"function"===l,pg:0,n:r||e,m:n?"function"==typeof n?n:Math.round:0,pr:0,c:f?parseInt(s.charAt(0)+"1",10)*parseFloat(s.substr(2)):parseFloat(s)-u||0};if(("number"!=typeof u||"number"!=typeof s&&!f)&&(a||isNaN(u)||!f&&isNaN(s)||"boolean"==typeof u||"boolean"==typeof s?(c.fp=a,c={t:N(u,f?parseFloat(c.s)+c.c:s,o||D.defaultStringFilter,c),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(c.s=parseFloat(u),f||(c.c=parseFloat(s)-c.s||0))),c.c)return(c._next=this._firstPT)&&(c._next._prev=c),this._firstPT=c,c},B=D._internals={isArray:p,isSelector:M,lazyTweens:F,blobDif:N},Y=D._plugins={},j=B.tweenLookup={},U=0,V=B.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},q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},W=R._rootFramesTimeline=new C,G=R._rootTimeline=new C,Z=30,H=B.lazyRender=function(){var t,e=F.length;for(z={};--e>-1;)(t=F[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);F.length=0};G._startTime=h.time,W._startTime=h.frame,G._active=W._active=!0,setTimeout(H,1),R._updateRoot=D.render=function(){var t,e,i;if(F.length&&H(),G.render((h.time-G._startTime)*G._timeScale,!1,!1),W.render((h.frame-W._startTime)*W._timeScale,!1,!1),F.length&&H(),h.frame>=Z){Z=h.frame+(parseInt(D.autoSleep,10)||120);for(i in j){for(t=(e=j[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete j[i]}if((!(i=G._first)||i._paused)&&D.autoSleep&&!W._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",R._updateRoot);var $=function(t,e,i){var s,r,n=t._gsTweenID;if(j[n||(t._gsTweenID=n="t"+U++)]||(j[n]={target:t,tweens:[]}),e&&((s=j[n].tweens)[r=s.length]=e,i))for(;--r>-1;)s[r]===e&&s.splice(r,1);return j[n].tweens},Q=function(t,e,i,s){var r,n,a=t.vars.onOverwrite;return a&&(r=a(t,e,i,s)),(a=D.onOverwrite)&&(n=a(t,e,i,s)),!1!==r&&!1!==n},K=function(t,e,i,s,r){var n,a,o,h;if(1===s||s>=4){for(h=r.length,n=0;n<h;n++)if((o=r[n])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===s)break;return a}var l,_=e._startTime+1e-10,u=[],f=0,c=0===e._duration;for(n=r.length;--n>-1;)(o=r[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(l=l||J(e,0,c),0===J(o,l,c)&&(u[f++]=o)):o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&((c||!o._initted)&&_-o._startTime<=2e-10||(u[f++]=o)));for(n=f;--n>-1;)if(o=u[n],2===s&&o._kill(i,t,e)&&(a=!0),2!==s||!o._firstPT&&o._initted){if(2!==s&&!Q(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},J=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return(n/=r)>e?n-e:i&&n===e||!t._initted&&n-e<2e-10?1e-10:(n+=t.totalDuration()/t._timeScale/r)>e+1e-10?0:n-e-1e-10};o._init=function(){var t,e,i,s,r,n,a=this.vars,o=this._overwrittenProps,h=this._duration,l=!!a.immediateRender,_=a.ease;if(a.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={};for(s in a.startAt)r[s]=a.startAt[s];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=l&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=D.to(this.target,0,r),l)if(this._time>0)this._startAt=null;else if(0!==h)return}else if(a.runBackwards&&0!==h)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(l=!1),i={};for(s in a)V[s]&&"autoCSS"!==s||(i[s]=a[s]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==a.lazy,i.immediateRender=l,this._startAt=D.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof T?_:"function"==typeof _?new T(_,a.easeParams):x[_]||D.defaultEase:D.defaultEase,a.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(n=this._targets.length,t=0;t<n;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&D._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},o._initProps=function(e,i,s,r,n){var a,o,h,l,_,u;if(null==e)return!1;z[e._gsTweenID]&&H(),this.vars.css||e.style&&e!==t&&e.nodeType&&Y.css&&!1!==this.vars.autoCSS&&function(t,e){var i,s={};for(i in t)V[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!Y[i]||Y[i]&&Y[i]._autoCSS)||(s[i]=t[i],delete t[i]);t.css=s}(this.vars,e);for(a in this.vars)if(u=this.vars[a],V[a])u&&(u instanceof Array||u.push&&p(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[a]=u=this._swapSelfInParams(u,this));else if(Y[a]&&(l=new Y[a])._onInitTween(e,this.vars[a],this,n)){for(this._firstPT=_={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:l._priority,m:0},o=l._overwriteProps.length;--o>-1;)i[l._overwriteProps[o]]=this._firstPT;(l._priority||l._onInitAllProps)&&(h=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),_._next&&(_._next._prev=_)}else i[a]=L.call(this,e,a,"get",u,a,0,null,this.vars.stringFilter,n);return r&&this._kill(r,e)?this._initProps(e,i,s,r,n):this._overwrite>1&&this._firstPT&&s.length>1&&K(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(z[e._gsTweenID]=!0),h)},o.render=function(t,e,i){var s,r,n,a,o=this._time,h=this._duration,l=this._rawPrevTime;if(t>=h-1e-7&&t>=0)this._totalTime=this._time=h,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===h&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(l<0||t<=0&&t>=-1e-7||1e-10===l&&"isPause"!==this.data)&&l!==t&&(i=!0,l>1e-10&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||l===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===h&&l>0)&&(r="onReverseComplete",s=this._reversed),t<0&&(this._active=!1,0===h&&(this._initted||!this.vars.lazy||i)&&(l>=0&&(1e-10!==l||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||l===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var _=t/h,u=this._easeType,f=this._easePower;(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===f?_*=_:2===f?_*=_*_:3===f?_*=_*_*_:4===f&&(_*=_*_*_*_),this.ratio=1===u?1-_:2===u?_:t/h<.5?_/2:1-_/2}else this.ratio=this._ease.getRatio(t/h);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=l,F.push(this),void(this._lazy=[t,e]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/h):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==h||e||this._callback("onStart"))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==o||s||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===h&&1e-10===this._rawPrevTime&&1e-10!==a&&(this._rawPrevTime=0)))}},o._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:D.selector(e)||e;var s,r,n,a,o,h,l,_,u,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((p(e)||M(e))&&"number"!=typeof e[0])for(s=e.length;--s>-1;)this._kill(t,e[s],i)&&(h=!0);else{if(this._targets){for(s=this._targets.length;--s>-1;)if(e===this._targets[s]){o=this._propLookup[s]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[s]=t?this._overwrittenProps[s]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(l=t||o,_=t!==r&&"all"!==r&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(n in l)o[n]&&(u||(u=[]),u.push(n));if((u||!t)&&!Q(this,i,e,u))return!1}for(n in l)(a=o[n])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,h=!0),a.pg&&a.t._kill(l)&&(h=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[n]),_&&(r[n]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return h},o.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),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=-1e-10,this.render(Math.min(0,-this._delay))),this},o._enabled=function(t,e){if(l||h.wake(),t&&this._gc){var i,s=this._targets;if(s)for(i=s.length;--i>-1;)this._siblings[i]=$(s[i],this,!0);else this._siblings=$(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new D(t,e,s)},D.delayedCall=function(t,e,i,s,r){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:s,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:D.selector(t)||t;var i,s,r,n;if((p(t)||M(t))&&"number"!=typeof t[0]){for(i=t.length,s=[];--i>-1;)s=s.concat(D.getTweensOf(t[i],e));for(i=s.length;--i>-1;)for(n=s[i],r=i;--r>-1;)n===s[r]&&s.splice(i,1)}else if(t._gsTweenID)for(i=(s=$(t).concat()).length;--i>-1;)(s[i]._gc||e&&!s[i].isActive())&&s.splice(i,1);return s||[]},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var s=D.getTweensOf(t,e),r=s.length;--r>-1;)s[r]._kill(i,t)};var tt=y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=tt.prototype},!0);if(o=tt.prototype,tt.version="1.19.0",tt.API=2,o._firstPT=null,o._addTween=L,o.setRatio=X,o._kill=function(t){var e,i=this._overwriteProps,s=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(;s;)null!=t[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstPT===s&&(this._firstPT=s._next)),s=s._next;return!1},o._mod=o._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},D._onPluginEvent=function(t,e){var i,s,r,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},tt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===tt.API&&(Y[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,r=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){tt.call(this,i,s),this._overwriteProps=r||[]},!0===t.global),o=a.prototype=new tt(i);o.constructor=a,a.API=t.API;for(e in n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,tt.activate([a]),a},n=t._gsQueue){for(a=0;a<n.length;a++)n[a]();for(o in d)d[o].func||t.console.log("GSAP encountered missing dependency: "+o)}l=!1}}("undefined"!=typeof module&&module.exports&&void 0!==t?t:this||window,"TweenMax");
  },{}],11:[function(require,module,exports) {
  var global = (1,eval)("this");
  var e=(0,eval)("this");!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Stats=t()}(this,function(){"use strict";var e=function(){var t=0,n=document.createElement("div");n.style.cssText="position:fixed;top:0;left:0;cursor:pointer;opacity:0.9;z-index:10000",n.addEventListener("click",function(e){e.preventDefault(),i(++t%n.children.length)},!1);function l(e){return n.appendChild(e.dom),e}function i(e){for(var l=0;l<n.children.length;l++)n.children[l].style.display=l===e?"block":"none";t=e}var a=(performance||Date).now(),o=a,f=0,r=l(new e.Panel("FPS","#0ff","#002")),d=l(new e.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=l(new e.Panel("MB","#f08","#201"));return i(0),{REVISION:16,dom:n,addPanel:l,showPanel:i,begin:function(){a=(performance||Date).now()},end:function(){f++;var e=(performance||Date).now();if(d.update(e-a,200),e>o+1e3&&(r.update(1e3*f/(e-o),100),o=e,f=0,c)){var t=performance.memory;c.update(t.usedJSHeapSize/1048576,t.jsHeapSizeLimit/1048576)}return e},update:function(){a=this.end()},domElement:n,setMode:i}};return e.Panel=function(e,t,n){var l=1/0,i=0,a=Math.round,o=a(window.devicePixelRatio||1),f=80*o,r=48*o,d=3*o,c=2*o,p=3*o,u=15*o,s=74*o,m=30*o,h=document.createElement("canvas");h.width=f,h.height=r,h.style.cssText="width:80px;height:48px";var v=h.getContext("2d");return v.font="bold "+9*o+"px Helvetica,Arial,sans-serif",v.textBaseline="top",v.fillStyle=n,v.fillRect(0,0,f,r),v.fillStyle=t,v.fillText(e,d,c),v.fillRect(p,u,s,m),v.fillStyle=n,v.globalAlpha=.9,v.fillRect(p,u,s,m),{dom:h,update:function(r,y){l=Math.min(l,r),i=Math.max(i,r),v.fillStyle=n,v.globalAlpha=1,v.fillRect(0,0,f,u),v.fillStyle=t,v.fillText(a(r)+" "+e+" ("+a(l)+"-"+a(i)+")",d,c),v.drawImage(h,p+o,u,s-o,m,p,u,s-o,m),v.fillRect(p+s-o,u,o,m),v.fillStyle=n,v.globalAlpha=.9,v.fillRect(p+s-o,u,o,a((1-r/y)*m))}}},e});
  },{}],6:[function(require,module,exports) {
  module.exports="305fdd54c567a4d1420584d336399c78.jpg";
  },{}],7:[function(require,module,exports) {
  module.exports="76487a8c22fc7d85f8780b3986bc7980.jpg";
  },{}],22:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.webGLShader=r;function e(e){let r=e.split("\n");for(let e=0;e<r.length;e++)r[e]=e+1+": "+r[e];return r.join("\n")}function r(e,r,t){let n=e.createShader(r);return e.shaderSource(n,t),e.compileShader(n),e.getShaderParameter(n,e.COMPILE_STATUS),""!==e.getShaderInfoLog(n)?null:n}
  },{}],26:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const E=exports.DEPTH_BUFFER_BIT=256,_=exports.STENCIL_BUFFER_BIT=1024,R=exports.COLOR_BUFFER_BIT=16384,T=exports.POINTS=0,A=exports.LINES=1,e=exports.LINE_LOOP=2,x=exports.LINE_STRIP=3,t=exports.TRIANGLES=4,s=exports.TRIANGLE_STRIP=5,o=exports.TRIANGLE_FAN=6,r=exports.ZERO=0,p=exports.ONE=1,N=exports.SRC_COLOR=768,I=exports.ONE_MINUS_SRC_COLOR=769,S=exports.SRC_ALPHA=770,O=exports.ONE_MINUS_SRC_ALPHA=771,F=exports.DST_ALPHA=772,M=exports.ONE_MINUS_DST_ALPHA=773,C=exports.DST_COLOR=774,L=exports.ONE_MINUS_DST_COLOR=775,B=exports.SRC_ALPHA_SATURATE=776,U=exports.CONSTANT_COLOR=32769,D=exports.ONE_MINUS_CONSTANT_COLOR=32770,P=exports.CONSTANT_ALPHA=32771,G=exports.ONE_MINUS_CONSTANT_ALPHA=32772,X=exports.FUNC_ADD=32774,H=exports.FUNC_SUBSTRACT=32778,W=exports.FUNC_REVERSE_SUBTRACT=32779,V=exports.BLEND_EQUATION=32777,Y=exports.BLEND_EQUATION_RGB=32777,K=exports.BLEND_EQUATION_ALPHA=34877,Z=exports.BLEND_DST_RGB=32968,Q=exports.BLEND_SRC_RGB=32969,J=exports.BLEND_DST_ALPHA=32970,c=exports.BLEND_SRC_ALPHA=32971,u=exports.BLEND_COLOR=32773,d=exports.ARRAY_BUFFER_BINDING=34964,i=exports.ELEMENT_ARRAY_BUFFER_BINDING=34965,l=exports.LINE_WIDTH=2849,n=exports.ALIASED_POINT_SIZE_RANGE=33901,a=exports.ALIASED_LINE_WIDTH_RANGE=33902,b=exports.CULL_FACE_MODE=2885,f=exports.FRONT_FACE=2886,j=exports.DEPTH_RANGE=2928,v=exports.DEPTH_WRITEMASK=2930,y=exports.DEPTH_CLEAR_VALUE=2931,g=exports.DEPTH_FUNC=2932,h=exports.STENCIL_CLEAR_VALUE=2961,k=exports.STENCIL_FUNC=2962,m=exports.STENCIL_FAIL=2964,q=exports.STENCIL_PASS_DEPTH_FAIL=2965,w=exports.STENCIL_PASS_DEPTH_PASS=2966,z=exports.STENCIL_REF=2967,$=exports.STENCIL_VALUE_MASK=2963,EE=exports.STENCIL_WRITEMASK=2968,_E=exports.STENCIL_BACK_FUNC=34816,RE=exports.STENCIL_BACK_FAIL=34817,TE=exports.STENCIL_BACK_PASS_DEPTH_FAIL=34818,AE=exports.STENCIL_BACK_PASS_DEPTH_PASS=34819,eE=exports.STENCIL_BACK_REF=36003,xE=exports.STENCIL_BACK_VALUE_MASK=36004,tE=exports.STENCIL_BACK_WRITEMASK=36005,sE=exports.VIEWPORT=2978,oE=exports.SCISSOR_BOX=3088,rE=exports.COLOR_CLEAR_VALUE=3106,pE=exports.COLOR_WRITEMASK=3107,NE=exports.UNPACK_ALIGNMENT=3317,IE=exports.PACK_ALIGNMENT=3333,SE=exports.MAX_TEXTURE_SIZE=3379,OE=exports.MAX_VIEWPORT_DIMS=3386,FE=exports.SUBPIXEL_BITS=3408,ME=exports.RED_BITS=3410,CE=exports.GREEN_BITS=3411,LE=exports.BLUE_BITS=3412,BE=exports.ALPHA_BITS=3413,UE=exports.DEPTH_BITS=3414,DE=exports.STENCIL_BITS=3415,PE=exports.POLYGON_OFFSET_UNITS=10752,GE=exports.POLYGON_OFFSET_FACTOR=32824,XE=exports.TEXTURE_BINDING_2D=32873,HE=exports.SAMPLE_BUFFERS=32936,WE=exports.SAMPLES=32937,VE=exports.SAMPLE_COVERAGE_VALUE=32938,YE=exports.SAMPLE_COVERAGE_INVERT=32939,KE=exports.COMPRESSED_TEXTURE_FORMATS=34467,ZE=exports.VENDOR=7936,QE=exports.RENDERER=7937,JE=exports.VERSION=7938,cE=exports.IMPLEMENTATION_COLOR_READ_TYPE=35738,uE=exports.IMPLEMENTATION_COLOR_READ_FORMAT=35739,dE=exports.BROWSER_DEFAULT_WEBGL=37444,iE=exports.STATIC_DRAW=35044,lE=exports.STREAM_DRAW=35040,nE=exports.DYNAMIC_DRAW=35048,aE=exports.ARRAY_BUFFER=34962,bE=exports.ELEMENT_ARRAY_BUFFER=34963,fE=exports.BUFFER_SIZE=34660,jE=exports.BUFFER_USAGE=34661,vE=exports.CURRENT_VERTEX_ATTRIB=34342,yE=exports.VERTEX_ATTRIB_ARRAY_ENABLED=34338,gE=exports.VERTEX_ATTRIB_ARRAY_SIZE=34339,hE=exports.VERTEX_ATTRIB_ARRAY_STRIDE=34340,kE=exports.VERTEX_ATTRIB_ARRAY_TYPE=34341,mE=exports.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922,qE=exports.VERTEX_ATTRIB_ARRAY_POINTER=34373,wE=exports.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975,zE=exports.CULL_FACE=2884,$E=exports.FRONT=1028,E_=exports.BACK=1029,__=exports.FRONT_AND_BACK=1032,R_=exports.BLEND=3042,T_=exports.DEPTH_TEST=2929,A_=exports.DITHER=3024,e_=exports.POLYGON_OFFSET_FILL=32823,x_=exports.SAMPLE_ALPHA_TO_COVERAGE=32926,t_=exports.SAMPLE_COVERAGE=32928,s_=exports.SCISSOR_TEST=3089,o_=exports.STENCIL_TEST=2960,r_=exports.NO_ERROR=0,p_=exports.INVALID_ENUM=1280,N_=exports.INVALID_VALUE=1281,I_=exports.INVALID_OPERATION=1282,S_=exports.OUT_OF_MEMORY=1285,O_=exports.CONTEXT_LOST_WEBGL=37442,F_=exports.CW=2304,M_=exports.CCW=2305,C_=exports.DONT_CARE=4352,L_=exports.FASTEST=4353,B_=exports.NICEST=4354,U_=exports.GENERATE_MIPMAP_HINT=33170,D_=exports.BYTE=5120,P_=exports.UNSIGNED_BYTE=5121,G_=exports.SHORT=5122,X_=exports.UNSIGNED_SHORT=5123,H_=exports.INT=5124,W_=exports.UNSIGNED_INT=5125,V_=exports.FLOAT=5126,Y_=exports.DEPTH_COMPONENT=6402,K_=exports.ALPHA=6406,Z_=exports.RGB=6407,Q_=exports.RGBA=6408,J_=exports.LUMINANCE=6409,c_=exports.LUMINANCE_ALPHA=6410,u_=exports.UNSIGNED_SHORT_4_4_4_4=32819,d_=exports.UNSIGNED_SHORT_5_5_5_1=32820,i_=exports.UNSIGNED_SHORT_5_6_5=33635,l_=exports.FRAGMENT_SHADER=35632,n_=exports.VERTEX_SHADER=35633,a_=exports.COMPILE_STATUS=35713,b_=exports.DELETE_STATUS=35712,f_=exports.LINK_STATUS=35714,j_=exports.VALIDATE_STATUS=35715,v_=exports.ATTACHED_SHADERS=35717,y_=exports.ACTIVE_ATTRIBUTES=35721,g_=exports.ACTIVE_UNIFORMS=35718,h_=exports.MAX_VERTEX_ATTRIBS=34921,k_=exports.MAX_VERTEX_UNIFORM_VECTORS=2271,m_=exports.MAX_VARYING_VECTORS=2271,q_=exports.MAX_COMBINED_TEXTURE_IMAGE_UNITS=2228,w_=exports.MAX_VERTEX_TEXTURE_IMAGE_UNITS=2228,z_=exports.MAX_TEXTURE_IMAGE_UNITS=34930,$_=exports.MAX_FRAGMENT_UNIFORM_VECTORS=2271,ER=exports.SHADER_TYPE=2228,_R=exports.SHADING_LANGUAGE_VERSION=2232,RR=exports.CURRENT_PROGRAM=35725,TR=exports.NEVER=512,AR=exports.ALWAYS=519,eR=exports.LESS=513,xR=exports.EQUAL=514,tR=exports.LEQUAL=515,sR=exports.GREATER=516,oR=exports.GEQUAL=518,rR=exports.NOTEQUAL=517,pR=exports.KEEP=7680,NR=exports.REPLACE=7681,IR=exports.INCR=7682,SR=exports.DECR=7683,OR=exports.INVERT=5386,FR=exports.INCR_WRAP=34055,MR=exports.DECR_WRAP=34056,CR=exports.NEAREST=9728,LR=exports.LINEAR=9729,BR=exports.NEAREST_MIPMAP_NEAREST=9984,UR=exports.LINEAR_MIPMAP_NEAREST=9985,DR=exports.NEAREST_MIPMAP_LINEAR=9986,PR=exports.LINEAR_MIPMAP_LINEAR=9987,GR=exports.TEXTURE_MAG_FILTER=10240,XR=exports.TEXTURE_MIN_FILTER=10241,HR=exports.TEXTURE_WRAP_S=10242,WR=exports.TEXTURE_WRAP_T=10243,VR=exports.TEXTURE_2D=3553,YR=exports.TEXTURE=5890,KR=exports.TEXTURE_CUBE_MAP=34067,ZR=exports.TEXTURE_BINDING_CUBE_MAP=34068,QR=exports.TEXTURE_CUBE_MAP_POSITIVE_X=34069,JR=exports.TEXTURE_CUBE_MAP_NEGATIVE_X=34070,cR=exports.TEXTURE_CUBE_MAP_POSITIVE_Y=34071,uR=exports.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072,dR=exports.TEXTURE_CUBE_MAP_POSITIVE_Z=34073,iR=exports.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074,lR=exports.MAX_CUBE_MAP_TEXTURE_SIZE=34076,nR=exports.TEXTURE0=33984,aR=exports.ACTIVE_TEXTURE=34016,bR=exports.REPEAT=10497,fR=exports.CLAMP_TO_EDGE=33071,jR=exports.MIRRORED_REPEAT=33648,vR=exports.FLOAT_VEC2=35664,yR=exports.FLOAT_VEC3=35665,gR=exports.FLOAT_VEC4=35666,hR=exports.INT_VEC2=35667,kR=exports.INT_VEC3=35668,mR=exports.INT_VEC4=35669,qR=exports.BOOL=35670,wR=exports.BOOL_VEC2=35671,zR=exports.BOOL_VEC3=35672,$R=exports.BOOL_VEC4=35673,ET=exports.FLOAT_MAT2=35674,_T=exports.FLOAT_MAT3=35675,RT=exports.FLOAT_MAT4=35676,TT=exports.SAMPLER_2D=35678,AT=exports.SAMPLER_CUBE=35680,eT=exports.LOW_FLOAT=36336,xT=exports.MEDIUM_FLOAT=36337,tT=exports.HIGH_FLOAT=36338,sT=exports.LOW_INT=36339,oT=exports.MEDIUM_INT=36340,rT=exports.HIGH_INT=36341,pT=exports.FRAMEBUFFER=36160,NT=exports.RENDERBUFFER=36161,IT=exports.RGBA4=32854,ST=exports.RGB5_A1=32855,OT=exports.RGB565=36194,FT=exports.DEPTH_COMPONENT16=33189,MT=exports.STENCIL_INDEX=6401,CT=exports.STENCIL_INDEX8=36168,LT=exports.RENDERBUFFER_WIDTH=36162,BT=exports.RENDERBUFFER_HEIGHT=36163,UT=exports.RENDERBUFFER_INTERNAL_FORMAT=36164,DT=exports.RENDERBUFFER_RED_SIZE=36176,PT=exports.RENDERBUFFER_GREEN_SIZE=36177,GT=exports.RENDERBUFFER_BLUE_SIZE=36178,XT=exports.RENDERBUFFER_ALPHA_SIZE=36179,HT=exports.RENDERBUFFER_DEPTH_SIZE=36180,WT=exports.RENDERBUFFER_STENCIL_SIZE=36181,VT=exports.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048,YT=exports.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049,KT=exports.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050,ZT=exports.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051,QT=exports.COLOR_ATTACHMENT0=36064,JT=exports.DEPTH_ATTACHMENT=36096,cT=exports.STENCIL_ATTACHMENT=36128,uT=exports.NONE=0,dT=exports.FRAMEBUFFER_COMPLETE=36053,iT=exports.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054,lT=exports.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055,nT=exports.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057,aT=exports.FRAMEBUFFER_UNSUPPORTED=36061,bT=exports.FRAMEBUFFER_BINDING=36006,fT=exports.RENDERBUFFER_BINDING=36007,jT=exports.MAX_RENDERBUFFER_SIZE=34024,vT=exports.INVALID_FRAMEBUFFER_OPERATION=1286,yT=exports.UNPACK_FLIP_Y_WEBGL=37440,gT=exports.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441,hT=exports.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443,kT=exports.READ_BUFFER=3074,mT=exports.UNPACK_ROW_LENGTH=3314,qT=exports.UNPACK_SKIP_ROWS=3315,wT=exports.UNPACK_SKIP_PIXELS=3316,zT=exports.PACK_ROW_LENGTH=3330,$T=exports.PACK_SKIP_ROWS=3331,EA=exports.PACK_SKIP_PIXELS=3332,_A=exports.TEXTURE_BINDING_3D=32874,RA=exports.UNPACK_SKIP_IMAGES=32877,TA=exports.UNPACK_IMAGE_HEIGHT=32878,AA=exports.MAX_3D_TEXTURE_SIZE=32883,eA=exports.MAX_ELEMENTS_VERTICES=33e3,xA=exports.MAX_ELEMENTS_INDICES=33001,tA=exports.MAX_TEXTURE_LOD_BIAS=34045,sA=exports.MAX_FRAGMENT_UNIFORM_COMPONENTS=35657,oA=exports.MAX_VERTEX_UNIFORM_COMPONENTS=35658,rA=exports.MAX_ARRAY_TEXTURE_LAYERS=35071,pA=exports.MIN_PROGRAM_TEXEL_OFFSET=35076,NA=exports.MAX_PROGRAM_TEXEL_OFFSET=35077,IA=exports.MAX_VARYING_COMPONENTS=35659,SA=exports.FRAGMENT_SHADER_DERIVATIVE_HINT=35723,OA=exports.RASTERIZER_DISCARD=35977,FA=exports.VERTEX_ARRAY_BINDING=34229,MA=exports.MAX_VERTEX_OUTPUT_COMPONENTS=37154,CA=exports.MAX_FRAGMENT_INPUT_COMPONENTS=37157,LA=exports.MAX_SERVER_WAIT_TIMEOUT=37137,BA=exports.MAX_ELEMENT_INDEX=36203,UA=exports.RED=6403,DA=exports.RGB8=32849,PA=exports.RGBA8=32856,GA=exports.RGB10_A2=32857,XA=exports.TEXTURE_3D=32879,HA=exports.TEXTURE_WRAP_R=32882,WA=exports.TEXTURE_MIN_LOD=33082,VA=exports.TEXTURE_MAX_LOD=33083,YA=exports.TEXTURE_BASE_LEVEL=33084,KA=exports.TEXTURE_MAX_LEVEL=33085,ZA=exports.TEXTURE_COMPARE_MODE=34892,QA=exports.TEXTURE_COMPARE_FUNC=34893,JA=exports.SRGB=35904,cA=exports.SRGB8=35905,uA=exports.SRGB8_ALPHA8=35907,dA=exports.COMPARE_REF_TO_TEXTURE=34894,iA=exports.RGBA32F=34836,lA=exports.RGB32F=34837,nA=exports.RGBA16F=34842,aA=exports.RGB16F=34843,bA=exports.TEXTURE_2D_ARRAY=35866,fA=exports.TEXTURE_BINDING_2D_ARRAY=35869,jA=exports.R11F_G11F_B10F=35898,vA=exports.RGB9_E5=35901,yA=exports.RGBA32UI=36208,gA=exports.RGB32UI=36209,hA=exports.RGBA16UI=36214,kA=exports.RGB16UI=36215,mA=exports.RGBA8UI=36220,qA=exports.RGB8UI=36221,wA=exports.RGBA32I=36226,zA=exports.RGB32I=36227,$A=exports.RGBA16I=36232,Ee=exports.RGB16I=36233,_e=exports.RGBA8I=36238,Re=exports.RGB8I=36239,Te=exports.RED_INTEGER=36244,Ae=exports.RGB_INTEGER=36248,ee=exports.RGBA_INTEGER=36249,xe=exports.R8=33321,te=exports.RG8=33323,se=exports.R16F=33325,oe=exports.R32F=33326,re=exports.RG16F=33327,pe=exports.RG32F=33328,Ne=exports.R8I=33329,Ie=exports.R8UI=33330,Se=exports.R16I=33331,Oe=exports.R16UI=33332,Fe=exports.R32I=33333,Me=exports.R32UI=33334,Ce=exports.RG8I=33335,Le=exports.RG8UI=33336,Be=exports.RG16I=33337,Ue=exports.RG16UI=33338,De=exports.RG32I=33339,Pe=exports.RG32UI=33340,Ge=exports.R8_SNORM=36756,Xe=exports.RG8_SNORM=36757,He=exports.RGB8_SNORM=36758,We=exports.RGBA8_SNORM=36759,Ve=exports.RGB10_A2UI=36975,Ye=exports.TEXTURE_IMMUTABLE_FORMAT=37167,Ke=exports.TEXTURE_IMMUTABLE_LEVELS=33503,Ze=exports.UNSIGNED_INT_2_10_10_10_REV=33640,Qe=exports.UNSIGNED_INT_10F_11F_11F_REV=35899,Je=exports.UNSIGNED_INT_5_9_9_9_REV=35902,ce=exports.FLOAT_32_UNSIGNED_INT_24_8_REV=36269,ue=exports.UNSIGNED_INT_24_8=34042,de=exports.HALF_FLOAT=5131,ie=exports.RG=33319,le=exports.RG_INTEGER=33320,ne=exports.INT_2_10_10_10_REV=36255,ae=exports.CURRENT_QUERY=34917,be=exports.QUERY_RESULT=34918,fe=exports.QUERY_RESULT_AVAILABLE=34919,je=exports.ANY_SAMPLES_PASSED=35887,ve=exports.ANY_SAMPLES_PASSED_CONSERVATIVE=36202,ye=exports.MAX_DRAW_BUFFERS=34852,ge=exports.DRAW_BUFFER0=34853,he=exports.DRAW_BUFFER1=34854,ke=exports.DRAW_BUFFER2=34855,me=exports.DRAW_BUFFER3=34856,qe=exports.DRAW_BUFFER4=34857,we=exports.DRAW_BUFFER5=34858,ze=exports.DRAW_BUFFER6=34859,$e=exports.DRAW_BUFFER7=34860,Ex=exports.DRAW_BUFFER8=34861,_x=exports.DRAW_BUFFER9=34862,Rx=exports.DRAW_BUFFER10=34863,Tx=exports.DRAW_BUFFER11=34864,Ax=exports.DRAW_BUFFER12=34865,ex=exports.DRAW_BUFFER13=34866,xx=exports.DRAW_BUFFER14=34867,tx=exports.DRAW_BUFFER15=34868,sx=exports.MAX_COLOR_ATTACHMENTS=36063,ox=exports.COLOR_ATTACHMENT1=36065,rx=exports.COLOR_ATTACHMENT2=36066,px=exports.COLOR_ATTACHMENT3=36067,Nx=exports.COLOR_ATTACHMENT4=36068,Ix=exports.COLOR_ATTACHMENT5=36069,Sx=exports.COLOR_ATTACHMENT6=36070,Ox=exports.COLOR_ATTACHMENT7=36071,Fx=exports.COLOR_ATTACHMENT8=36072,Mx=exports.COLOR_ATTACHMENT9=36073,Cx=exports.COLOR_ATTACHMENT10=36074,Lx=exports.COLOR_ATTACHMENT11=36075,Bx=exports.COLOR_ATTACHMENT12=36076,Ux=exports.COLOR_ATTACHMENT13=36077,Dx=exports.COLOR_ATTACHMENT14=36078,Px=exports.COLOR_ATTACHMENT15=36079,Gx=exports.SAMPLER_3D=35679,Xx=exports.SAMPLER_2D_SHADOW=35682,Hx=exports.SAMPLER_2D_ARRAY=36289,Wx=exports.SAMPLER_2D_ARRAY_SHADOW=36292,Vx=exports.SAMPLER_CUBE_SHADOW=36293,Yx=exports.INT_SAMPLER_2D=36298,Kx=exports.INT_SAMPLER_3D=36299,Zx=exports.INT_SAMPLER_CUBE=36300,Qx=exports.INT_SAMPLER_2D_ARRAY=36303,Jx=exports.UNSIGNED_INT_SAMPLER_2D=36306,cx=exports.UNSIGNED_INT_SAMPLER_3D=36307,ux=exports.UNSIGNED_INT_SAMPLER_CUBE=36308,dx=exports.UNSIGNED_INT_SAMPLER_2D_ARRAY=36311,ix=exports.MAX_SAMPLES=36183,lx=exports.SAMPLER_BINDING=35097,nx=exports.PIXEL_PACK_BUFFER=35051,ax=exports.PIXEL_UNPACK_BUFFER=35052,bx=exports.PIXEL_PACK_BUFFER_BINDING=35053,fx=exports.PIXEL_UNPACK_BUFFER_BINDING=35055,jx=exports.COPY_READ_BUFFER=36662,vx=exports.COPY_WRITE_BUFFER=36663,yx=exports.COPY_READ_BUFFER_BINDING=36662,gx=exports.COPY_WRITE_BUFFER_BINDING=36663,hx=exports.FLOAT_MAT2x3=35685,kx=exports.FLOAT_MAT2x4=35686,mx=exports.FLOAT_MAT3x2=35687,qx=exports.FLOAT_MAT3x4=35688,wx=exports.FLOAT_MAT4x2=35689,zx=exports.FLOAT_MAT4x3=35690,$x=exports.UNSIGNED_INT_VEC2=36294,Et=exports.UNSIGNED_INT_VEC3=36295,_t=exports.UNSIGNED_INT_VEC4=36296,Rt=exports.UNSIGNED_NORMALIZED=35863,Tt=exports.SIGNED_NORMALIZED=36764,At=exports.VERTEX_ATTRIB_ARRAY_INTEGER=35069,et=exports.VERTEX_ATTRIB_ARRAY_DIVISOR=35070,xt=exports.TRANSFORM_FEEDBACK_BUFFER_MODE=35967,tt=exports.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS=35968,st=exports.TRANSFORM_FEEDBACK_VARYINGS=35971,ot=exports.TRANSFORM_FEEDBACK_BUFFER_START=35972,rt=exports.TRANSFORM_FEEDBACK_BUFFER_SIZE=35973,pt=exports.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN=35976,Nt=exports.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS=35978,It=exports.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS=35979,St=exports.INTERLEAVED_ATTRIBS=35980,Ot=exports.SEPARATE_ATTRIBS=35981,Ft=exports.TRANSFORM_FEEDBACK_BUFFER=35982,Mt=exports.TRANSFORM_FEEDBACK_BUFFER_BINDING=35983,Ct=exports.TRANSFORM_FEEDBACK=36386,Lt=exports.TRANSFORM_FEEDBACK_PAUSED=36387,Bt=exports.TRANSFORM_FEEDBACK_ACTIVE=36388,Ut=exports.TRANSFORM_FEEDBACK_BINDING=36389,Dt=exports.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING=33296,Pt=exports.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE=33297,Gt=exports.FRAMEBUFFER_ATTACHMENT_RED_SIZE=33298,Xt=exports.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE=33299,Ht=exports.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE=33300,Wt=exports.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE=33301,Vt=exports.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE=33302,Yt=exports.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE=33303,Kt=exports.FRAMEBUFFER_DEFAULT=33304,Zt=exports.DEPTH_STENCIL_ATTACHMENT=33306,Qt=exports.DEPTH_STENCIL=34041,Jt=exports.DEPTH24_STENCIL8=35056,ct=exports.DRAW_FRAMEBUFFER_BINDING=36006,ut=exports.READ_FRAMEBUFFER=36008,dt=exports.DRAW_FRAMEBUFFER=36009,it=exports.READ_FRAMEBUFFER_BINDING=36010,lt=exports.RENDERBUFFER_SAMPLES=36011,nt=exports.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER=36052,at=exports.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE=36182,bt=exports.UNIFORM_BUFFER=35345,ft=exports.UNIFORM_BUFFER_BINDING=35368,jt=exports.UNIFORM_BUFFER_START=35369,vt=exports.UNIFORM_BUFFER_SIZE=35370,yt=exports.MAX_VERTEX_UNIFORM_BLOCKS=35371,gt=exports.MAX_FRAGMENT_UNIFORM_BLOCKS=35373,ht=exports.MAX_COMBINED_UNIFORM_BLOCKS=35374,kt=exports.MAX_UNIFORM_BUFFER_BINDINGS=35375,mt=exports.MAX_UNIFORM_BLOCK_SIZE=35376,qt=exports.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS=35377,wt=exports.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS=35379,zt=exports.UNIFORM_BUFFER_OFFSET_ALIGNMENT=35380,$t=exports.ACTIVE_UNIFORM_BLOCKS=35382,Es=exports.UNIFORM_TYPE=35383,_s=exports.UNIFORM_SIZE=35384,Rs=exports.UNIFORM_BLOCK_INDEX=35386,Ts=exports.UNIFORM_OFFSET=35387,As=exports.UNIFORM_ARRAY_STRIDE=35388,es=exports.UNIFORM_MATRIX_STRIDE=35389,xs=exports.UNIFORM_IS_ROW_MAJOR=35390,ts=exports.UNIFORM_BLOCK_BINDING=35391,ss=exports.UNIFORM_BLOCK_DATA_SIZE=35392,os=exports.UNIFORM_BLOCK_ACTIVE_UNIFORMS=35394,rs=exports.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES=35395,ps=exports.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER=35396,Ns=exports.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER=35398,Is=exports.OBJECT_TYPE=37138,Ss=exports.SYNC_CONDITION=37139,Os=exports.SYNC_STATUS=37140,Fs=exports.SYNC_FLAGS=37141,Ms=exports.SYNC_FENCE=37142,Cs=exports.SYNC_GPU_COMMANDS_COMPLETE=37143,Ls=exports.UNSIGNALED=37144,Bs=exports.SIGNALED=37145,Us=exports.ALREADY_SIGNALED=37146,Ds=exports.TIMEOUT_EXPIRED=37147,Ps=exports.CONDITION_SATISFIED=37148,Gs=exports.WAIT_FAILED=37149,Xs=exports.SYNC_FLUSH_COMMANDS_BIT=1,Hs=exports.COLOR=6144,Ws=exports.DEPTH=6145,Vs=exports.STENCIL=6146,Ys=exports.MIN=32775,Ks=exports.MAX=32776,Zs=exports.DEPTH_COMPONENT24=33190,Qs=exports.STREAM_READ=35041,Js=exports.STREAM_COPY=35042,cs=exports.STATIC_READ=35045,us=exports.STATIC_COPY=35046,ds=exports.DYNAMIC_READ=35049,is=exports.DYNAMIC_COPY=35050,ls=exports.DEPTH_COMPONENT32F=36012,ns=exports.DEPTH32F_STENCIL8=36013,as=exports.INVALID_INDEX=4294967295,bs=exports.TIMEOUT_IGNORED=-1,fs=exports.MAX_CLIENT_WAIT_TIMEOUT_WEBGL=37447,js=exports.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE=35070,vs=exports.UNMASKED_VENDOR_WEBGL=37445,ys=exports.UNMASKED_RENDERER_WEBGL=37446,gs=exports.MAX_TEXTURE_MAX_ANISOTROPY_EXT=34047,hs=exports.TEXTURE_MAX_ANISOTROPY_EXT=34046,ks=exports.COMPRESSED_RGB_S3TC_DXT1_EXT=33776,ms=exports.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777,qs=exports.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778,ws=exports.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779,zs=exports.COMPRESSED_R11_EAC=37488,$s=exports.COMPRESSED_SIGNED_R11_EAC=37489,Eo=exports.COMPRESSED_RG11_EAC=37490,_o=exports.COMPRESSED_SIGNED_RG11_EAC=37491,Ro=exports.COMPRESSED_RGB8_ETC2=37492,To=exports.COMPRESSED_RGBA8_ETC2_EAC=37493,Ao=exports.COMPRESSED_SRGB8_ETC2=37494,eo=exports.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37495,xo=exports.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37496,to=exports.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37497,so=exports.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840,oo=exports.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842,ro=exports.COMPRESSED_RGB_PVRTC_2BPPV1_IMG=35841,po=exports.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG=35843,No=exports.COMPRESSED_RGB_ETC1_WEBGL=36196,Io=exports.COMPRESSED_RGB_ATC_WEBGL=35986,So=exports.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL=35986,Oo=exports.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL=34798,Fo=exports.UNSIGNED_INT_24_8_WEBGL=34042,Mo=exports.HALF_FLOAT_OES=36193,Co=exports.RGBA32F_EXT=34836,Lo=exports.RGB32F_EXT=34837,Bo=exports.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT=2081,Uo=exports.UNSIGNED_NORMALIZED_EXT=2241,Do=exports.MIN_EXT=32775,Po=exports.MAX_EXT=32776,Go=exports.SRGB_EXT=35904,Xo=exports.SRGB_ALPHA_EXT=35906,Ho=exports.SRGB8_ALPHA8_EXT=35907,Wo=exports.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT=33296,Vo=exports.FRAGMENT_SHADER_DERIVATIVE_HINT_OES=35723,Yo=exports.COLOR_ATTACHMENT0_WEBGL=36064,Ko=exports.COLOR_ATTACHMENT1_WEBGL=36065,Zo=exports.COLOR_ATTACHMENT2_WEBGL=36066,Qo=exports.COLOR_ATTACHMENT3_WEBGL=36067,Jo=exports.COLOR_ATTACHMENT4_WEBGL=36068,co=exports.COLOR_ATTACHMENT5_WEBGL=36069,uo=exports.COLOR_ATTACHMENT6_WEBGL=36070,io=exports.COLOR_ATTACHMENT7_WEBGL=36071,lo=exports.COLOR_ATTACHMENT8_WEBGL=36072,no=exports.COLOR_ATTACHMENT9_WEBGL=36073,ao=exports.COLOR_ATTACHMENT10_WEBGL=36074,bo=exports.COLOR_ATTACHMENT11_WEBGL=36075,fo=exports.COLOR_ATTACHMENT12_WEBGL=36076,jo=exports.COLOR_ATTACHMENT13_WEBGL=36077,vo=exports.COLOR_ATTACHMENT14_WEBGL=36078,yo=exports.COLOR_ATTACHMENT15_WEBGL=36079,go=exports.DRAW_BUFFER0_WEBGL=34853,ho=exports.DRAW_BUFFER1_WEBGL=34854,ko=exports.DRAW_BUFFER2_WEBGL=34855,mo=exports.DRAW_BUFFER3_WEBGL=34856,qo=exports.DRAW_BUFFER4_WEBGL=34857,wo=exports.DRAW_BUFFER5_WEBGL=34858,zo=exports.DRAW_BUFFER6_WEBGL=34859,$o=exports.DRAW_BUFFER7_WEBGL=34860,Er=exports.DRAW_BUFFER8_WEBGL=34861,_r=exports.DRAW_BUFFER9_WEBGL=34862,Rr=exports.DRAW_BUFFER10_WEBGL=34863,Tr=exports.DRAW_BUFFER11_WEBGL=34864,Ar=exports.DRAW_BUFFER12_WEBGL=34865,er=exports.DRAW_BUFFER13_WEBGL=34866,xr=exports.DRAW_BUFFER14_WEBGL=34867,tr=exports.DRAW_BUFFER15_WEBGL=34868,sr=exports.MAX_COLOR_ATTACHMENTS_WEBGL=36063,or=exports.MAX_DRAW_BUFFERS_WEBGL=34852,rr=exports.VERTEX_ARRAY_BINDING_OES=34229,pr=exports.QUERY_COUNTER_BITS_EXT=34916,Nr=exports.CURRENT_QUERY_EXT=34917,Ir=exports.QUERY_RESULT_EXT=34918,Sr=exports.QUERY_RESULT_AVAILABLE_EXT=34919,Or=exports.TIME_ELAPSED_EXT=35007,Fr=exports.TIMESTAMP_EXT=36392,Mr=exports.GPU_DISJOINT_EXT=36795;
  },{}],14:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Program=void 0;var t=require("./utils/webglShader"),r=require("tubugl-constants");class e{constructor(t,r,e,i={}){this._isReady=!1,this._isDebgu=i.isDebug,this._gl=t,this._initProgram(r,e,i),this._setProperties()}_initProgram(e,i,s){this._vertexShader=(0,t.webGLShader)(this._gl,r.VERTEX_SHADER,e),this._fragmentShader=(0,t.webGLShader)(this._gl,r.FRAGMENT_SHADER,i),this._program=this._gl.createProgram(),this._gl.attachShader(this._program,this._vertexShader),this._gl.attachShader(this._program,this._fragmentShader),this._gl.linkProgram(this._program);try{if(!this._gl.getProgramParameter(this._program,r.LINK_STATUS))throw this._gl.getProgramInfoLog(this._program)}catch(t){}}_setProperties(){let t;const e=this._gl.getProgramParameter(this._program,r.ACTIVE_UNIFORMS);for(this._uniform={},t=0;t<e;t++){let e,i=this._gl.getActiveUniform(this._program,t),s=this._gl.getUniformLocation(this._program,i.name);switch(i.type){case r.FLOAT:e="float";break;case r.FLOAT_VEC2:e="vec2";break;case r.FLOAT_VEC3:e="vec3";break;case r.FLOAT_VEC4:e="vec4";break;case r.FLOAT_MAT2:e="mat2";break;case r.FLOAT_MAT3:e="mat3";break;case r.FLOAT_MAT4:e="mat4";break;case r.SAMPLER_2D:e="sampler2D"}this._uniform[i.name]={location:s,type:i.type,typeName:e,size:i.size}}const i=this._gl.getProgramParameter(this._program,r.ACTIVE_ATTRIBUTES);for(this._attrib={},t=0;t<i;t++){let r=this._gl.getActiveAttrib(this._program,t);this._attrib[r.name]={location:this._gl.getAttribLocation(this._program,r.name),type:r.type,size:r.size}}return this}bind(){return this._gl.useProgram(this._program),this}getAttrib(t){return this._attrib[t]}getUniforms(t){return this._uniform[t]}setUniformTexture(t,r){let{textureNum:e}=t,i=this.getUniforms(r);this._gl.uniform1i(i.location,e)}dispose(){null!==this._gl&&(this._gl.deleteProgram(this._program),this._gl.deleteShader(this._vertexShader),this._gl.deleteShader(this._fragmentShader),this._gl=null)}}exports.Program=e;
  },{"./utils/webglShader":22,"tubugl-constants":26}],23:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.detectorWebGL=e,exports.detectorWebGL2=t;function e(){let e=document.createElement("canvas");try{return!(!window.WebGLRenderingContext||!e.getContext("experimental-webgl")&&!e.getContext("webgl"))}catch(e){return null}}function t(){let e=document.createElement("canvas");try{return!!window.WebGL2RenderingContext&&!!e.getContext("webgl")}catch(e){return null}}
  },{}],13:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Program2=void 0;var r=require("./utils/webglShader"),e=require("./utils/detector"),t=require("./program"),a=require("tubugl-constants");class s extends t.Program{constructor(r,t,a,s={}){(0,e.detectorWebGL2)(),super(r,t,a,s)}_initProgram(e,t,s={}){this._vertexShader=(0,r.webGLShader)(this._gl,a.VERTEX_SHADER,e),this._fragmentShader=(0,r.webGLShader)(this._gl,a.FRAGMENT_SHADER,t),this._program=this._gl.createProgram(),this._gl.attachShader(this._program,this._vertexShader),this._gl.attachShader(this._program,this._fragmentShader),s.transformFeedback&&Array.isArray(s.transformFeedback)&&(this._transformFeedback=s.transformFeedback,this._gl.transformFeedbackVaryings(this._program,this._transformFeedback,a.SEPARATE_ATTRIBS)),this._gl.linkProgram(this._program);try{if(!this._gl.getProgramParameter(this._program,a.LINK_STATUS))throw this._gl.getProgramInfoLog(this._program)}catch(r){}}}exports.Program2=s;
  },{"./utils/webglShader":22,"./utils/detector":23,"./program":14,"tubugl-constants":26}],17:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ArrayBuffer=void 0;var t=require("tubugl-constants");class r{constructor(t,r,e={}){this.gl=t,this.buffer=this.gl.createBuffer(),this.attribs=[];try{if(!(r instanceof Float32Array||r instanceof Float64Array))throw"data should be  Float32Array or Flaot64Array";this.bind(),this.setData(r,e.usage),this.unbind()}catch(t){}}bind(){return this.gl.bindBuffer(t.ARRAY_BUFFER,this.buffer),this}unbind(){return this.gl.bindBuffer(t.ARRAY_BUFFER,null),this}setData(r,e=t.STATIC_DRAW){return this.dataArray=r,this.gl.bufferData(t.ARRAY_BUFFER,r,e),this}setAttribs(r,e,i=t.FLOAT,s=!1,a=0,n=0){return this.attribs.push({name:r,size:e,type:i,normalize:s,stride:a,offset:n}),this}attribPointer(t){return this.attribs.forEach(r=>{let e=t.getAttrib(r.name);if(e){let t=e.location,{size:i,type:s,normalize:a,stride:n,offset:o}=r;this.gl.enableVertexAttribArray(t),this.gl.vertexAttribPointer(t,i,s,a,n,o)}else;}),this}disablePoiner(t){return this.attribs.forEach(r=>{let e=t.getAttrib(r.name).location;this.gl.disableVertexAttribArray(e)}),this}}exports.ArrayBuffer=r;
  },{"tubugl-constants":26}],15:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});class t{constructor(t,r){this.gl=t,this.buffer=this.gl.createBuffer();try{if(!(r instanceof Uint16Array))throw"data should be Uint16Array";this.setData(r)}catch(t){}}setData(t){return this.dataArray=t,this.bind(),this.gl.bufferData(this.gl.ELEMENT_ARRAY_BUFFER,t,this.gl.STATIC_DRAW),this}bind(){return this.gl.bindBuffer(this.gl.ELEMENT_ARRAY_BUFFER,this.buffer),this}}exports.IndexArrayBuffer=t;
  },{}],16:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Texture=exports.textureNum=void 0;var t=require("tubugl-constants");let e=exports.textureNum=0;class i{constructor(i,r=t.RGB,s=t.RGB,h=t.UNSIGNED_BYTE,_=e){if(this._gl=i,this._gl)return this._texture=this._gl.createTexture(),this.textureNum=e,this.unit=t.TEXTURE0+e,this.setFormat(r,s,h),exports.textureNum=e+=1,this}activeTexture(){return this._gl.activeTexture(this.unit),this}bind(){return this._gl.bindTexture(t.TEXTURE_2D,this._texture),this}fromImage(e,i,r){return this._width=i||e.width,this._height=r||e.height,this._gl.texImage2D(t.TEXTURE_2D,0,this._internalFormt,this._format,this._type,e),this}fromSize(e,i){return e&&(this._width=e),i&&(this._height=i),this._gl.texImage2D(t.TEXTURE_2D,0,this._internalFormt,this._width,this._height,0,this._format,this._type,null),this}fromData(e,i,r){return e&&(this._width=e),i&&(this._height=i),this._gl.texImage2D(t.TEXTURE_2D,0,this._internalFormt,this._width,this._height,0,this._format,this._type,r),this}setFormat(t,e,i){return t&&(this._format=t),e&&(this._internalFormt=e),i&&(this._type=i),this}isActiveTexture(t){return t===this.unit}setFilter(e=t.LINEAR){return this.setMinFilter(e),this.setMagFilter(e),this}setMagFilter(e=t.LINEAR){return this._gl.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,e),this}setMinFilter(e=t.NEAREST){return this._gl.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,e),this}wrap(e=t.CLAMP_TO_EDGE){return this._gl.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,e),this._gl.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,e),this}generateMipmap(){return this._gl.generateMipmap(t.TEXTURE_2D),this}getTexture(){return this._texture}delete(){this._gl.deleteTexture(this._texture),this._texture=null}}exports.Texture=i;
  },{"tubugl-constants":26}],24:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isPowerOf2=e;function e(e){return 0==(e&e-1)}
  },{}],18:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.FrameBuffer=void 0;var t=require("tubugl-constants"),e=require("./utils/functions"),r=require("./texture");class i{constructor(e,r,i=256,h=256){"number"==typeof r||(r.internalFormat=r.internalFormat?r.internalFormat:t.RGBA,r.format=r.format?r.format:t.RGBA,r.type=r.type?r.type:t.UNSIGNED_BYTE),this._gl=e,this._width=i,this._height=h,this.texture=this._makeTexture(r),this._frameBuffer=this._gl.createFramebuffer(),this._gl.bindFramebuffer(t.FRAMEBUFFER,this._frameBuffer),this._gl.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,this.texture.getTexture(),0)}bind(){return this._gl.bindFramebuffer(t.FRAMEBUFFER,this._frameBuffer),this}updateViewport(){return this._gl.viewport(0,0,this._width,this._height),this}unbind(){return this._gl.bindFramebuffer(t.FRAMEBUFFER,null),this}updateSize(t,e){this._width=t,this._height=e}_makeTexture(e){let i=new r.Texture(this._gl,e.internalFormat,e.format,e.type);return i.bind().setFilter(t.NEAREST).wrap(t.CLAMP_TO_EDGE).fromData(this._width,this._height,e.dataArray),i}reset(){this.texture.bind().fromSize(this._width,this._height)}delete(){this.texture.delete()}}exports.FrameBuffer=i;
  },{"tubugl-constants":26,"./utils/functions":24,"./texture":16}],19:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TransformFeedback=void 0;var r=require("tubugl-constants");class e{constructor(r){this._gl=r,this._transfromFeedback=r.createTransformFeedback(),this._arrayBuffers=[]}bind(){return this._gl.bindTransformFeedback(r.TRANSFORM_FEEDBACK,this._transfromFeedback),this}unbindBufferBase(){return this._arrayBuffers.forEach((e,a)=>this._gl.bindBufferBase(r.TRANSFORM_FEEDBACK_BUFFER,a,null)),this}updateBufferBase(e){this._arrayBuffers.forEach((a,s)=>{this._gl.bindBuffer(r.ARRAY_BUFFER,a.read.buffer),this._gl.bindBufferBase(r.TRANSFORM_FEEDBACK_BUFFER,s,a.write.buffer),a.read.attribPointer(e)})}addArrayBufer(r,e){this._arrayBuffers[r]=e}swapArrayBuffers(){this._arrayBuffers.forEach(r=>{let e=r.read;r.read=r.write,r.write=e})}update(){}}exports.TransformFeedback=e;
  },{"tubugl-constants":26}],20:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});class e{constructor(e){this._gl=e,this._vao=e.createVertexArray(),this._arrayBuffers={}}bind(){return this._gl.bindVertexArray(this._vao),this}updateArrayBuffer(e,r,t){return this._arrayBuffers[t]=r,r.attribPointer(e),this}updateIndexBuffer(e){e.bind()}delete(){return this._gl.deleteVertexArray(this._vao),this}}exports.VAO=e;
  },{}],21:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.DrawCall=exports.draw=void 0;var e=require("tubugl-constants");let t=exports.draw={array:function(t,r,n=e.TRIANGLES){t.drawArrays(n,0,r)},element:function(t,r,n=e.TRIANGLES){t.drawElements(n,r,e.UNSIGNED_SHORT,0)},elementPoints:function(t,r){this.element(t,r,e.POINTS)},arrayPoint:function(t,r){this.array(t,r,e.POINTS)},elementTriangles:function(t,r){this.element(t,r,e.POINTS)},arrayLines:function(t,r){this.array(t,r,e.LINES)},elementLines:function(t,r){this.element(t,r,e.LINES)}};class r{constructor(t=e.TRIANGLES){}draw(){}}exports.DrawCall=r;
  },{"tubugl-constants":26}],12:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./src/program");Object.defineProperty(exports,"Program",{enumerable:!0,get:function(){return e.Program}});var r=require("./src/program2");Object.defineProperty(exports,"Program2",{enumerable:!0,get:function(){return r.Program2}});var t=require("./src/arrayBuffer");Object.defineProperty(exports,"ArrayBuffer",{enumerable:!0,get:function(){return t.ArrayBuffer}});var n=require("./src/indexArrayBuffer");Object.defineProperty(exports,"IndexArrayBuffer",{enumerable:!0,get:function(){return n.IndexArrayBuffer}});var u=require("./src/texture");Object.defineProperty(exports,"Texture",{enumerable:!0,get:function(){return u.Texture}});var a=require("./src/frameBuffer");Object.defineProperty(exports,"FrameBuffer",{enumerable:!0,get:function(){return a.FrameBuffer}});var f=require("./src/tranformFeedback");Object.defineProperty(exports,"TransformFeedback",{enumerable:!0,get:function(){return f.TransformFeedback}});var o=require("./src/vao");Object.defineProperty(exports,"VAO",{enumerable:!0,get:function(){return o.VAO}});var c=require("./src/draw");Object.defineProperty(exports,"draw",{enumerable:!0,get:function(){return c.draw}});var i=require("./src/utils/webglShader");Object.defineProperty(exports,"webGLShader",{enumerable:!0,get:function(){return i.webGLShader}});
  },{"./src/program":14,"./src/program2":13,"./src/arrayBuffer":17,"./src/indexArrayBuffer":15,"./src/texture":16,"./src/frameBuffer":18,"./src/tranformFeedback":19,"./src/vao":20,"./src/draw":21,"./src/utils/webglShader":22}],8:[function(require,module,exports) {
  module.exports={frag:"\nprecision mediump float;\n\nuniform sampler2D uTexture;\nuniform float uWindowRate;\nuniform float uImageRate;\nuniform bool uIsGrey;\nuniform bool uIsFit;\nuniform vec2 uWindow;\n\nvarying vec2 vUv;\n\nfloat normpdf(in float x, in float sigma)\n{\n\treturn 0.39894*exp(-0.5*x*x/(sigma*sigma))/sigma;\n}\n\nvoid main(  )\n{\n    vec2 customUv;\n    \n    // if(uIsFit){\n    //     customUv = vUv;   \n    // }else{\n    //     if(uImageRate < uWindowRate){\n    //         float winWSize = 1.0/uWindowRate; float imgWSize = 1.0/uImageRate; \n    //         customUv.x = (imgWSize-winWSize)/imgWSize/2.0 + mix( 0.0, winWSize/imgWSize, vUv.x);\n    //         customUv.y = vUv.y;\n    //     }else{\n    //         customUv.x = vUv.x;\n    //         customUv.y = (uImageRate-uWindowRate)/uImageRate/2.0 + mix( 0.0, uWindowRate/uImageRate, vUv.y);\n    //     }\n    // }\n    customUv = vUv;   \n    \n\tvec3 c = texture2D(uTexture, customUv).rgb;\n\t\t\n\t\t//declare stuff\n\t\tconst int mSize = 11;\n\t\tconst int kSize = (mSize-1)/2;\n\t\tfloat kernel[mSize];\n\t\tvec3 final_colour = vec3(0.0);\n\t\t\n\t\t//create the 1-D kernel\n\t\tfloat sigma = 7.0;\n\t\tfloat Z = 0.0;\n\t\tfor (int j = 0; j <= kSize; ++j)\n\t\t{\n\t\t\tkernel[kSize+j] = kernel[kSize-j] = normpdf(float(j), sigma);\n\t\t}\n\t\t\n\t\t//get the normalization factor (as the gaussian has been clamped)\n\t\tfor (int j = 0; j < mSize; ++j)\n\t\t{\n\t\t\tZ += kernel[j];\n\t\t}\n\t\t\n\t\t//read out the texels\n\t\tfor (int i=-kSize; i <= kSize; ++i)\n\t\t{\n\t\t\tfor (int j=-kSize; j <= kSize; ++j)\n\t\t\t{\n\t\t\t\tfinal_colour += kernel[kSize+j]*kernel[kSize+i]*texture2D(uTexture, customUv + (vec2(float(i),float(j))) / uWindow.xy).rgb;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tgl_FragColor = vec4(final_colour/(Z*Z), 1.0);\n\t\n}"};
  },{}],9:[function(require,module,exports) {
  module.exports={frag:"\nprecision mediump float;\n\nuniform sampler2D uTexture;\nuniform vec2 uDirection;\nuniform vec2 uWindow;\nuniform bool uFlip;\n\nvarying vec2 vUv;\n\nvec4 blur9(sampler2D image, vec2 uv, vec2 resolution, vec2 direction) {\n  vec4 color = vec4(0.0);\n  vec2 off1 = vec2(1.3846153846) * direction;\n  vec2 off2 = vec2(3.2307692308) * direction;\n  \n  color += texture2D(image, uv) * 0.2270270270;\n  color += texture2D(image, uv + (off1 / resolution)) * 0.3162162162;\n  color += texture2D(image, uv - (off1 / resolution)) * 0.3162162162;\n  color += texture2D(image, uv + (off2 / resolution)) * 0.0702702703;\n  color += texture2D(image, uv - (off2 / resolution)) * 0.0702702703;\n  return color;\n}\n\nvoid main() {\n  vec2 uv;\n  if(uFlip) uv = vec2(vUv.x, 1.0 - vUv.y);\n  else      uv = vUv;\n        \n  gl_FragColor = blur9(uTexture, uv, uWindow, uDirection);\n}"};
  },{}],5:[function(require,module,exports) {
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../assets/image.jpg"),i=a(t),e=require("../assets/uv_img.jpg"),s=a(e),r=require("tubugl-core");function a(t){return t&&t.__esModule?t:{default:t}}const n=require("dat.gui/build/dat.gui"),o=require("gsap"),h=require("stats.js"),u="// an attribute will receive data from a buffer\n  precision mediump float;\n  \n  attribute vec4 position;\n  uniform float uTheta;\n  uniform float uWindowRate;\n  \n  varying vec2 vUv;\n\n  void main() {\n    float x = mix(-1., 1.0 + uWindowRate * 2.0, position.x);\n    float y = mix(-1., 1.0 + 1.0/uWindowRate * 2.0, position.y);\n    float uvX = mix(0., 1.0 + uWindowRate, position.x);\n    float uvY = 1.0 - mix(0., 1.0 + 1.0/uWindowRate, position.y);\n    \n    gl_Position = vec4(x, y, position.z, 1.0);\n    \n    vUv = vec2(uvX, uvY);\n  }",f="\n  precision mediump float;\n  \n  varying vec2 vUv;\n  \n  uniform sampler2D uTexture;\n  uniform float uWindowRate;\n  uniform float uImageRate;\n  uniform bool uIsGrey;\n  uniform bool uIsFit;\n\n  void main() {\n    vec2 customUv;\n    \n    if(uIsFit){\n        customUv = vUv;   \n    }else{\n        if(uImageRate < uWindowRate){\n            float winWSize = 1.0/uWindowRate; float imgWSize = 1.0/uImageRate; \n            customUv.x = (imgWSize-winWSize)/imgWSize/2.0 + mix( 0.0, winWSize/imgWSize, vUv.x);\n            customUv.y = vUv.y;\n        }else{\n            customUv.x = vUv.x;\n            customUv.y = (uImageRate-uWindowRate)/uImageRate/2.0 + mix( 0.0, uWindowRate/uImageRate, vUv.y);\n        }\n    }\n    \n\tvec4 color;\n\t\n\t\n    \n\tcolor = texture2D( uTexture, customUv);\n    \n    gl_FragColor = color;\n  }\n",m=require("./gausian-blur"),g=require("./fast-gausian-blur");class l{constructor(t={}){if(this._width=t.width?t.width:window.innerWidth,this._height=t.height?t.height:window.innerHeight,this.canvas=document.createElement("canvas"),this.gl=this.canvas.getContext("webgl"),this._isUVImage=!1,this._state="fast-blur",t.isDebug)this.stats=new h,document.body.appendChild(this.stats.dom),this._addGui();else{document.getElementById("tubugl-desc").style.display="none"}this._createProgram(),this.resize(this._width,this._height)}_addGui(){this.gui=new n.GUI,this.playAndStopGui=this.gui.add(this,"_playAndStop").name("pause"),this.gui.add(this,"_isUVImage").name("isUVImage").onChange(()=>{let t=this._isUVImage?this._uvimage:this._image;this._texture.bind().setFilter().wrap().fromImage(t,t.width,t.height)}),this.gui.add(this,"_state",["gausin-blur","fast-blur"])}_createProgram(){this._program=new r.Program(this.gl,u,m.frag);let t=new Float32Array([0,0,1,0,0,1]);this._arrayBuffer=new r.ArrayBuffer(this.gl,t),this._arrayBuffer.setAttribs("position",2,this.gl.FLOAT,!1,0,0),this._obj={program:this._program,positionBuffer:this._arrayBuffer,count:3};let i=new r.FrameBuffer(this.gl,{},window.innerWidth,window.innerHeight);i.unbind();let e=new r.FrameBuffer(this.gl,{},window.innerWidth,window.innerHeight);e.unbind(),this._framebuffers={front:i,back:e,read:i,write:e},this._fastBlurProgram=new r.Program(this.gl,u,g.frag),this._fastBlurObj={program:this._fastBlurProgram,positionBuffer:this._arrayBuffer,count:3}}animateIn(){this._startLoad()}loop(){this.stats&&this.stats.update(),this.gl.viewport(0,0,this._width,this._height),"gausin-blur"===this._state?this._drawBlur():this._drawFastBlur()}_drawFastBlur(){this._time?this._time+=1/60:this._time=1/60;let t=(Math.cos(this._time)+1)/2;this._fastBlurObj.program.bind();for(var i=0;i<8;i++){var e=8-i-1;e*=t,7==i?this._framebuffers.write.unbind():this._framebuffers.write.bind(),0==i?(this._fastBlurObj.program.setUniformTexture(this._texture,"uTexture"),this._texture.activeTexture().bind()):(this._fastBlurObj.program.setUniformTexture(this._framebuffers.read.texture,"uTexture"),this._framebuffers.read.texture.activeTexture().bind()),this._fastBlurObj.positionBuffer.bind().attribPointer(this._fastBlurObj.program),this.gl.uniform2f(this._fastBlurObj.program.getUniforms("uWindow").location,this._width,this._height),i%2==1?this.gl.uniform2f(this._fastBlurObj.program.getUniforms("uDirection").location,e,0):this.gl.uniform2f(this._fastBlurObj.program.getUniforms("uDirection").location,0,e),7==i?this.gl.uniform1f(this._fastBlurObj.program.getUniforms("uFlip").location,!0):this.gl.uniform1f(this._fastBlurObj.program.getUniforms("uFlip").location,!1),this.gl.drawArrays(this.gl.TRIANGLES,0,this._fastBlurObj.count),this._framebuffers.read==this._framebuffers.front?(this._framebuffers.read=this._framebuffers.back,this._framebuffers.write=this._framebuffers.front):(this._framebuffers.read=this._framebuffers.front,this._framebuffers.write=this._framebuffers.back)}}_drawBlur(){this._obj.program.bind(),this._obj.program.setUniformTexture(this._texture,"uTexture"),this._texture.activeTexture().bind(),this._obj.positionBuffer.bind().attribPointer(this._obj.program),this.gl.drawArrays(this.gl.TRIANGLES,0,this._obj.count)}animateOut(){o.ticker.removeEventListener("tick",this.loop,this)}onMouseMove(t){}onKeyDown(t){switch(t.which){case 27:this._playAndStop()}}_onload(){this._texture=new r.Texture(this.gl),this._texture.bind().setFilter().wrap().fromImage(this._image,this._image.width,this._image.height),this._playAndStop()}_startLoad(){this._image=new Image,this._image.onload=this._onload.bind(this),this._image.onerror=function(){},this._image.src=i.default,this._uvimage=new Image,this._uvimage.onerror=function(){},this._uvimage.src=s.default}_playAndStop(){this.isLoop=!this.isLoop,this.isLoop?(o.ticker.addEventListener("tick",this.loop,this),this.playAndStopGui&&this.playAndStopGui.name("pause")):(o.ticker.removeEventListener("tick",this.loop,this),this.playAndStopGui&&this.playAndStopGui.name("play"))}resize(t,i){this._width=t,this._height=i,this.canvas.width=this._width,this.canvas.height=this._height,this.gl.viewport(0,0,this._width,this._height),this._obj.program.bind(),this.gl.uniform1f(this._program.getUniforms("uWindowRate").location,this._height/this._width),this.gl.uniform2f(this._program.getUniforms("uWindow").location,this._width,this._height),this._fastBlurObj.program.bind(),this.gl.uniform1f(this._fastBlurObj.program.getUniforms("uWindowRate").location,this._height/this._width),this.gl.uniform2f(this._fastBlurObj.program.getUniforms("uWindow").location,this._width,this._height)}destroy(){}}exports.default=l;
  },{"dat.gui/build/dat.gui":25,"gsap":10,"stats.js":11,"../assets/image.jpg":6,"../assets/uv_img.jpg":7,"tubugl-core":12,"./gausian-blur":8,"./fast-gausian-blur":9}],4:[function(require,module,exports) {
  "use strict";var n=require("./app"),e=i(n);function i(n){return n&&n.__esModule?n:{default:n}}let o;var t=new URLSearchParams(window.location.search);const a=!(t.has("NoDebug")||t.has("NoDebug/"));d(),r();function d(){o=new e.default({isDebug:a}),document.body.appendChild(o.canvas)}function r(){o.animateIn()}window.addEventListener("resize",function(){o.resize(window.innerWidth,window.innerHeight)}),window.addEventListener("keydown",function(n){o.onKeyDown(n)});
  },{"./app":5}]},{},[4])