rc-tween-one
Version:
tween-one anim component for react
1 lines • 68.2 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports["rc-tween-one"]=e(require("react"),require("react-dom")):t["rc-tween-one"]=e(t.React,t.ReactDOM)}("undefined"!=typeof self?self:this,function(t,e){return function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=55)}([function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(10),a=r(35),o=r(19),i=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),a)try{return i(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){t.exports=!r(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(0),a=r(1),o=r(34),i=r(6),s=r(4),u=function(t,e,r){var c,f,l,p=t&u.F,h=t&u.G,m=t&u.S,d=t&u.P,y=t&u.B,v=t&u.W,g=h?a:a[e]||(a[e]={}),b=g.prototype,w=h?n:m?n[e]:(n[e]||{}).prototype;h&&(r=e);for(c in r)(f=!p&&w&&void 0!==w[c])&&s(g,c)||(l=f?w[c]:r[c],g[c]=h&&"function"!=typeof w[c]?r[c]:y&&f?o(l,n):v&&w[c]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):d&&"function"==typeof l?o(Function.call,l):l,d&&((g.virtual||(g.virtual={}))[c]=l,t&u.R&&b&&!b[c]&&i(b,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e,r){var n=r(2),a=r(14);t.exports=r(3)?function(t,e,r){return n.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(38),a=r(20);t.exports=function(t){return n(a(t))}},function(t,e,r){var n=r(23)("wks"),a=r(17),o=r(0).Symbol,i="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){"use strict";function n(t){var e=[];return m.a.Children.forEach(t,function(t){e.push(t)}),e}function a(t){return t||0===t?Array.isArray(t)?t:[t]:[]}function o(t,e){if(t===e||y()(t,e))return!0;if(!t||!e)return!1;var r=!0;if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++){var a=t[n],i=e[n];for(var s in a)if(a[s]!==i[s])if("object"==typeof a[s]&&"object"==typeof i[s])r=o(a[s],i[s]);else{if("function"!=typeof a[s]||"function"!=typeof i[s])return r=!1,!1;a[s].name!==i[s].name&&(r=!1)}}}var u=function(t,e){Object.keys(t).forEach(function(n){n in e||(r=!1),"object"==typeof t[n]&&"object"==typeof e[n]?r=o(t[n],e[n]):"function"==typeof t[n]&&"function"==typeof e[n]?t[n].name!==e[n].name&&(r=!1):t[n]!==e[n]&&(r=!1)})};return u(t,e),u(e,t),r}function i(t,e){var r=null;return t&&t.forEach(function(t){!r&&t&&t.key===e&&(r=t)}),r}function s(t,e){var r=[],n={},a=[],o=void 0;return t.forEach(function(t){t&&(i(e,t.key)?(a.length&&(n[t.key]=a,a=[]),o=t.key):t.key&&a.push(t))}),o||(r=r.concat(a)),e.forEach(function(t){t&&(n.hasOwnProperty(t.key)&&(r=r.concat(n[t.key])),r.push(t),t.key===o&&(r=r.concat(a)))}),r}function u(t,e,r){return"function"==typeof t?t({key:e,index:r}):t}function c(t){return t&&t.children}function f(t,e,r,n,a,o,i,s){if(v)return n;var u=/(?:Left|Right|Width|X)/i.test(r)||s;u="padding"===r||"marign"===r||u;var c=-1!==r.indexOf("border")||-1!==r.indexOf("translate")?t:t.parentNode||document.body;c=i?document.body:c;var f=void 0,l=void 0;switch(a){case"%":f=parseFloat(n)/100*(u?c.clientWidth:c.clientHeight);break;case"vw":f=parseFloat(n)*document.body.clientWidth/100;break;case"vh":f=parseFloat(n)*document.body.clientHeight/100;break;case"em":f=parseFloat(n)*parseFloat(e.fontSize);break;case"rem":l=window.getComputedStyle(document.getElementsByTagName("html")[0]),f=parseFloat(n)*parseFloat(l.fontSize);break;default:f=parseFloat(n)}switch(o){case"%":f=f?100*f/(u?c.clientWidth:c.clientHeight):0;break;case"vw":f=parseFloat(n)/document.body.clientWidth*100;break;case"vh":f=parseFloat(n)/document.body.clientHeight*100;break;case"em":f=parseFloat(n)/parseFloat(e.fontSize);break;case"rem":l=l||window.getComputedStyle(document.getElementsByTagName("html")[0]),f=parseFloat(n)/parseFloat(l.fontSize)}return f}function l(t){if("string"==typeof t){if(t.charAt(0).match(/m/i)){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttributeNS(null,"d",t),e}return document.querySelector(t)}if(t.style)return t;throw new Error("Error while parsing the path")}function p(t){if("string"==typeof t)return t;var e=t.perspective,r=t.rotate,n=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,u=t.skewX,c=t.skewY,f="string"==typeof t.translateX?t.translateX:t.translateX+"px",l="string"==typeof t.translateY?t.translateY:t.translateY+"px",p="string"==typeof t.translateZ?t.translateZ:t.translateZ+"px",h=u||c?"skew("+u+"deg,"+c+"deg)":"",m=r?"rotate("+r+"deg)":"",d=1!==o||1!==i||1!==s?"scale3d("+o+","+i+","+s+")":"",y=n?"rotateX("+n+"deg)":"",v=a?"rotateY("+a+"deg)":"",g=e?"perspective("+e+"px)":"",b=d||m||y||v||h?"":"translate(0px, 0px)";return(g+" "+(t.translateZ?"translate3d("+f+","+l+","+p+")":(t.translateX||t.translateY)&&"translate("+f+","+l+")"||b)+" "+d+" "+m+" "+y+" "+v+" "+h).trim()}r.d(e,"k",function(){return v}),e.i=n,e.a=a,e.f=o,e.b=i,e.e=s,e.j=u,e.c=c,e.h=f,e.g=l,e.d=p;var h=r(31),m=r.n(h),d=r(101),y=r.n(d),v=!("undefined"!=typeof window&&window.document&&window.document.createElement)},function(t,e,r){"use strict";e.__esModule=!0;var n=r(58),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=a.default||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(37),a=r(24);t.exports=Object.keys||function(t){return n(t,a)}},function(t,e){t.exports=!0},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,r){var n=r(7);t.exports=function(t,e){if(!n(t))return t;var r,a;if(e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t)))return a;if("function"==typeof(r=t.valueOf)&&!n(a=r.call(t)))return a;if(!e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(23)("keys"),a=r(17);t.exports=function(t){return n[t]||(n[t]=a(t))}},function(t,e,r){var n=r(1),a=r(0),o=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(16)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports={}},function(t,e,r){var n=r(10),a=r(74),o=r(24),i=r(22)("IE_PROTO"),s=function(){},u=function(){var t,e=r(36)("iframe"),n=o.length;for(e.style.display="none",r(75).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[o[n]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(s.prototype=n(t),r=new s,s.prototype=null,r[i]=t):r=u(),void 0===e?r:a(r,e)}},function(t,e,r){var n=r(2).f,a=r(4),o=r(9)("toStringTag");t.exports=function(t,e,r){t&&!a(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e,r){e.f=r(9)},function(t,e,r){var n=r(0),a=r(1),o=r(16),i=r(29),s=r(2).f;t.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},function(e,r){e.exports=t},function(t,e,r){"use strict";var n=function(){};n.prototype.push=function(t){this[t.prototype.name]=t},e.a=new n},function(t,e,r){"use strict";function n(){}var a=r(13),o=r.n(a),i=r(41),s=r.n(i),u=r(42),c=r.n(u),f=r(43),l=r.n(f),p=r(49),h=r.n(p),m=r(31),d=r.n(m),y=r(50),v=r.n(y),g=r(100),b=r.n(g),w=r(12),O=r(103),S=r(54),T=Math.round(1e3/60),x=v.a.oneOfType([v.a.object,v.a.array]),j=function(t){function e(t){s()(this,e);var r=l()(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return k.call(r),r.rafID=-1,r.setDefalut(t),r.paused=t.paused,r.reverse=t.reverse,r.updateAnim=!1,r.forced={},r.setForcedJudg(t),r}return h()(e,t),c()(e,[{key:"componentDidMount",value:function(){this.dom=b.a.findDOMNode(this),this.dom&&"#text"!==this.dom.nodeName&&this.start()}},{key:"componentWillReceiveProps",value:function(t){if(!this.tween&&!this.dom)return void(this.updateAnim=!0);var e=t.animation,r=this.props.animation;Object(w.f)(r,e)||(t.resetStyle&&this.tween&&this.tween.resetDefaultStyle(),this.setDefalut(t),this.updateAnim=!0);var n=t.moment;"number"==typeof n&&n!==this.props.moment&&(this.tween&&!this.updateAnim?(this.startMoment=n,this.startFrame=S.a.frame,t.paused&&this.raf(),this.tween.progressTime>=this.tween.totalTime&&this.play()):(this.setDefalut(t),this.updateAnim=!0)),this.paused===t.paused&&this.reverse===t.reverse||(this.paused=t.paused,this.reverse=t.reverse,this.paused?this.cancelRequestAnimationFrame():this.reverse&&t.reverseDelay?(this.cancelRequestAnimationFrame(),S.a.timeout(this.restart,t.reverseDelay)):(this.tween&&(this.tween.resetAnimData(),this.tween.resetDefaultStyle()),this.updateAnim||this.restart())),Object(w.f)(this.props.style,t.style)||this.tween&&(this.tween.reStart(t.style),this.paused&&this.raf()),this.setForcedJudg(t)}},{key:"componentDidUpdate",value:function(){this.dom||(this.dom=b.a.findDOMNode(this)),this.updateAnim&&this.dom&&"#text"!==this.dom.nodeName&&(this.tween&&this.cancelRequestAnimationFrame(),this.start())}},{key:"componentWillUnmount",value:function(){this.cancelRequestAnimationFrame()}},{key:"render",value:function(){var t=o()({},this.props);if(["animation","component","componentProps","reverseDelay","attr","paused","reverse","repeat","yoyo","moment","resetStyle","forcedJudg"].forEach(function(e){return delete t[e]}),t.style=o()({},this.props.style),Object.keys(t.style).forEach(function(e){e.match(/filter/i)&&["Webkit","Moz","Ms","ms"].forEach(function(r){t.style[r+"Filter"]=t.style[e]})}),!this.props.component){if(!this.props.children)return this.props.children;var e=this.props.children.props,r=e.style,n=e.className,a=o()({},r,t.style),i=t.className?t.className+" "+n:n;return d.a.cloneElement(this.props.children,{style:a,className:i})}return d.a.createElement(this.props.component,o()({},t,this.props.componentProps))}}]),e}(m.Component);j.propTypes={component:v.a.any,componentProps:v.a.any,animation:x,children:v.a.any,style:v.a.object,paused:v.a.bool,reverse:v.a.bool,reverseDelay:v.a.number,yoyo:v.a.bool,repeat:v.a.number,moment:v.a.number,attr:v.a.string,onChange:v.a.func,resetStyle:v.a.bool,forcedJudg:v.a.object},j.defaultProps={component:"div",componentProps:{},reverseDelay:0,repeat:0,attr:"style",onChange:n};var k=function(){var t=this;this.setForcedJudg=function(e){Object.keys(t.forced).forEach(function(e){delete t[e],delete t.forced[e]}),e.forcedJudg&&Object.keys(e.forcedJudg).forEach(function(r){t[r]||(t[r]=e.forcedJudg[r],t.forced[r]=1)})},this.setDefalut=function(e){t.moment=e.moment||0,t.startMoment=e.moment||0,t.startFrame=S.a.frame},this.restart=function(){t.tween&&(t.startMoment=t.moment,t.startFrame=S.a.frame,t.tween.reverse=t.reverse,t.tween.reverseStartTime=t.startMoment,t.raf(),t.play())},this.start=function(){t.updateAnim=!1;var e=t.props;e.animation&&Object.keys(e.animation).length&&(t.tween=new O.a(t.dom,Object(w.a)(e.animation),{attr:e.attr}),t.tween.reverse=t.reverse,t.raf(),t.play())},this.play=function(){t.cancelRequestAnimationFrame(),t.paused||(t.rafID=S.a.add(t.raf))},this.frame=function(){var e=t.props.yoyo,r=t.props.repeat,n=-1===r?Number.MAX_VALUE:t.tween.totalTime*(r+1);r=r>=0?r:Number.MAX_VALUE;var a=(S.a.frame-t.startFrame)*T+t.startMoment;t.reverse&&(a=(t.startMoment||0)-(S.a.frame-t.startFrame)*T),a=a>n?n:a,a=a<=0?0:a;var i=Math.floor(a/t.tween.totalTime)||0;i=i>r?r:i;var s=a-t.tween.totalTime*i;s=s<T&&!t.reverse?0:s,r&&a&&a-t.tween.totalTime*i<T&&t.tween.frame(t.tween.totalTime*i),(a<t.moment&&!t.reverse||0!==r&&i&&s<=T)&&(t.tween.resetAnimData(),t.tween.resetDefaultStyle()),e&&i%2&&(s=t.tween.totalTime-s),t.tween.onChange=function(e){var r=o()({},e,{timelineMode:""});!a&&!t.reverse||t.reverse&&t.moment===t.startMoment?r.timelineMode="onTimelineStart":a>=n&&!t.reverse||!a&&t.reverse?r.timelineMode="onTimelineComplete":i!==t.timelineRepeatNum?r.timelineMode="onTimelineRepeat":r.timelineMode="onTimelineUpdate",t.props.onChange(r)},t.moment=a,t.timelineRepeatNum=i,t.tween.frame(s)},this.raf=function(){var e=t.tween;if(t.frame(),e!==t.tween)return null;var r=t.props.repeat,n=-1===r?Number.MAX_VALUE:t.tween.totalTime*(r+1);return t.moment>=n&&!t.reverse||t.paused||t.reverse&&0===t.moment?t.cancelRequestAnimationFrame():null},this.cancelRequestAnimationFrame=function(){S.a.clear(t.rafID),t.rafID=-1}};j.isTweenOne=!0,e.a=j},function(t,e,r){var n=r(61);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,a){return t.call(e,r,n,a)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){t.exports=!r(3)&&!r(11)(function(){return 7!=Object.defineProperty(r(36)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(7),a=r(0).document,o=n(a)&&n(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},function(t,e,r){var n=r(4),a=r(8),o=r(63)(!1),i=r(22)("IE_PROTO");t.exports=function(t,e){var r,s=a(t),u=0,c=[];for(r in s)r!=i&&n(s,r)&&c.push(r);for(;e.length>u;)n(s,r=e[u++])&&(~o(c,r)||c.push(r));return c}},function(t,e,r){var n=r(39);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(20);t.exports=function(t){return Object(n(t))}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,r){"use strict";e.__esModule=!0;var n=r(66),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,a.default)(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}()},function(t,e,r){"use strict";e.__esModule=!0;var n=r(44),a=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,a.default)(e))&&"function"!=typeof e?t:e}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var a=r(69),o=n(a),i=r(81),s=n(i),u="function"==typeof s.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};e.default="function"==typeof s.default&&"symbol"===u(o.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":void 0===t?"undefined":u(t)}},function(t,e,r){"use strict";var n=r(16),a=r(5),o=r(46),i=r(6),s=r(26),u=r(73),c=r(28),f=r(76),l=r(9)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,r,m,d,y,v){u(r,e,m);var g,b,w,O=function(t){if(!p&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},S=e+" Iterator",T="values"==d,x=!1,j=t.prototype,k=j[l]||j["@@iterator"]||d&&j[d],M=k||O(d),A=d?T?O("entries"):M:void 0,E="Array"==e?j.entries||k:k;if(E&&(w=f(E.call(new t)))!==Object.prototype&&w.next&&(c(w,S,!0),n||"function"==typeof w[l]||i(w,l,h)),T&&k&&"values"!==k.name&&(x=!0,M=function(){return k.call(this)}),n&&!v||!p&&!x&&j[l]||i(j,l,M),s[e]=M,s[S]=h,d)if(g={values:T?M:O("values"),keys:y?M:O("keys"),entries:A},v)for(b in g)b in j||o(j,b,g[b]);else a(a.P+a.F*(p||x),e,g);return g}},function(t,e,r){t.exports=r(6)},function(t,e,r){var n=r(37),a=r(24).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,a)}},function(t,e,r){var n=r(18),a=r(14),o=r(8),i=r(19),s=r(4),u=r(35),c=Object.getOwnPropertyDescriptor;e.f=r(3)?c:function(t,e){if(t=o(t),e=i(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return a(!n.f.call(t,e),t[e])}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var a=r(91),o=n(a),i=r(95),s=n(i),u=r(44),c=n(u);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,c.default)(e)));t.prototype=(0,s.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(o.default?(0,o.default)(t,e):t.__proto__=e)}},function(t,e,r){t.exports=r(98)()},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";function n(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}function a(t,e){var r=e?Math.pow(10,e):j,n=0|t,a=t-n,o=t;if(a){var i=(a*r+(t<0?-.5:.5)|0)/r,s=0|i,u=i.toString();o=n+s+"."+u.substring(2,u.length)}return parseFloat(o)}function o(t){if("undefined"==typeof document)return null;var e=["WebKitCSS","MozCSS","DOM","MsCSS","MSCSS","OCSS","CSS"].filter(function(t){return t+"Matrix"in window});return e.length?new window[e[0]+"Matrix"](t):(console.warn("Browsers do not support matrix."),"")}function i(t){if("undefined"==typeof document)return null;var e=["O","Moz","ms","Ms","Webkit"];if("filter"!==t&&t in document.body.style)return t;var r=t.charAt(0).toUpperCase()+t.substr(1),n=e.filter(function(t){return""+t+r in document.body.style});return n[0]?""+n[0]+r:null}function s(t){var e=t;return e="x"===e?"translateX":e,e="y"===e?"translateY":e,e="z"===e?"translateZ":e}function u(t){var e=void 0,r=void 0,n=void 0,a=void 0,o=void 0,i=void 0,s=void 0,u=t,c=/(?:\d|\-\d|\.\d|\-\.\d)+/g;return u?"number"==typeof u?e=[u>>16,u>>8&255,255&u]:(","===u.charAt(u.length-1)&&(u=u.substr(0,u.length-1)),k[u]?e=k[u]:"#"===u.charAt(0)?(4===u.length&&(r=u.charAt(1),n=u.charAt(2),a=u.charAt(3),u="#"+r+r+n+n+a+a),u=parseInt(u.substr(1),16),e=[u>>16,u>>8&255,255&u]):"hsl"===u.substr(0,3)?(e=u.match(c),o=Number(e[0])%360/360,i=Number(e[1])/100,s=Number(e[2])/100,n=s<=.5?s*(i+1):s+i-s*i,r=2*s-n,e.length>3&&(e[3]=Number(e[3])),e[0]=M(o+1/3,r,n),e[1]=M(o,r,n),e[2]=M(o-1/3,r,n)):e=u.match(c)||k.transparent,e[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),e.length>3&&(e[3]=Number(e[3]))):e=k.black,e}function c(t){if(!t)return[0,0,0,0,0,0,0];var e=void 0;if(t.indexOf("rgb")>=0){var r=t.match(/rgb+(?:a)?\((.*)\)/),n=t.replace(r[0],"").trim().split(/\s+/);e=n.indexOf("inset"),e>=0&&n.splice(e,1);var a=r[1].replace(/\s+/g,"").split(",");return 3===a.length&&a.push(1),n.concat(a,e>=0?["inset"]:[])}var o=t.split(/\s+/);(e=o.indexOf("inset"))>=0&&o.splice(e,1);var i=u(o[o.length-1]);return i[3]="number"==typeof i[3]?i[3]:1,o=o.splice(0,o.length-1),o.concat(i,e>=0?["inset"]:[])}function f(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"}function l(t){return E._lists.transformsBase.indexOf(t)>=0?"transform":t}function p(t){var e=l(t);return E.filter.indexOf(e)>=0?"filter":e}function h(t){if("none"===t||!t||""===t)return null;var e=t.replace(" ","").split(")").filter(function(t){return t}),r={};return e.forEach(function(t){var e=t.split("(");r[e[0]]=e[1]}),r}function m(t){var e=t.match(/(?:\-|\b)[\d\-\.e]+\b/gi),r={};return 6===e.length?(r.m11=parseFloat(e[0]),r.m12=parseFloat(e[1]),r.m13=0,r.m14=0,r.m21=parseFloat(e[2]),r.m22=parseFloat(e[3]),r.m23=0,r.m24=0,r.m31=0,r.m32=0,r.m33=1,r.m34=0,r.m41=parseFloat(e[4]),r.m42=parseFloat(e[5]),r.m43=0,r.m44=0):e.forEach(function(t,e){var n=e%4+1,a=Math.floor(e/4)+1;r["m"+a+n]=parseFloat(t)}),r}function d(t){var e=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)",r=m(e),n=r.m11,o=r.m12,i=r.m13,s=r.m14,u=r.m21,c=r.m22,f=r.m23,l=r.m24,p=r.m31,h=r.m32,d=r.m33,y=r.m34,v=r.m43,g=void 0,b=void 0,w=void 0,O={},S=Math.atan2(f,d),T=Math.tan(u),x=Math.tan(o),j=void 0,k=void 0;return O.rotateX=a(S*A)||0,S&&(j=Math.cos(-S),k=Math.sin(-S),g=u*j+p*k,b=c*j+h*k,w=f*j+d*k,p=u*-k+p*j,h=c*-k+h*j,d=f*-k+d*j,y=l*-k+y*j,u=g,c=b,f=w),S=Math.atan2(-i,d),O.rotateY=a(S*A)||0,S&&(j=Math.cos(-S),k=Math.sin(-S),g=n*j-p*k,b=o*j-h*k,w=i*j-d*k,h=o*k+h*j,d=i*k+d*j,y=s*k+y*j,n=g,o=b,i=w),S=Math.atan2(o,n),O.rotate=a(S*A)||0,S&&(j=Math.cos(S),k=Math.sin(S),g=n*j+o*k,b=u*j+c*k,w=p*j+h*k,o=o*j-n*k,c=c*j-u*k,h=h*j-p*k,n=g,u=b,p=w),O.rotateX&&Math.abs(O.rotateX)+Math.abs(O.rotate)>359.9&&(O.rotateX=O.rotate=0,O.rotateY=180-O.rotateY||0),O.scaleX=a(Math.sqrt(n*n+o*o+i*i)),O.scaleY=a(Math.sqrt(c*c+f*f)),O.scaleZ=a(Math.sqrt(p*p+h*h+d*d)),O.skewX=T===-x?0:T,O.skewY=x===-T?0:x,O.perspective=y?1/(y<0?-y:y):0,O.translateX=r.m41,O.translateY=r.m42,O.translateZ=v,O}function y(t,e){var r=void 0;return O[t]||"number"!=typeof e?"content"!==t||T.test(e)||(r="'"+e.replace(/'/g,"\\'")+"'"):r=" "+e+"px",r||e}function v(t,e){var r=e&&e.toString().replace(/[^a-z|%]/gi,""),n="";return t.indexOf("translate")>=0||t.indexOf("perspective")>=0||t.indexOf("blur")>=0?n="px":(t.indexOf("skew")>=0||t.indexOf("rotate")>=0)&&(n="deg"),r||n}function g(t,e,r){return t+"("+e+(r||"")+")"}function b(t,e){var r=null;return t&&t.forEach(function(t){if(!r){var n=t.split("(")[0],a=n in E.transformGroup&&e.substring(0,e.length-1).indexOf(n)>=0,o=e in E.transformGroup&&n.substring(0,n.length-1).indexOf(e)>=0,i=n in E.transformGroup&&e in E.transformGroup&&(n.substring(0,n.length-2)===e||e.substring(0,e.length-2)===n);(n===e||a||o||i)&&(r=t)}}),r}function w(t,e){if(!t||""===t)return e;if(!e||""===e)return t;var r=t.replace(/\s/g,"").split(")").filter(function(t){return""!==t&&t}).map(function(t){return t+")"});return e.replace(/\s/g,"").split(")").filter(function(t){return""!==t&&t}).forEach(function(t){var e=t.split("("),n=e[0],a=b(r,n);if(a){var o=r.indexOf(a);r[o]=t+")"}else r.push(t+")")}),r.forEach(function(t,e){t.indexOf("perspective")>=0&&e&&(r.splice(e,1),r.unshift(t))}),r.join(" ").trim()}Object.defineProperty(e,"__esModule",{value:!0}),e.toFixed=a,e.createMatrix=o,e.checkStyleName=i,e.getGsapType=s,e.parseColor=u,e.parseShadow=c,e.getColor=f,e.isTransform=l,e.isConvert=p,e.splitFilterToObject=h,e.getMatrix=m,e.getTransform=d,e.stylesToCss=y,e.getUnit=v,e.getValues=g,e.findStyleByName=b,e.mergeStyle=w;var O={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},S=["Webkit","ms","Moz","O"];Object.keys(O).forEach(function(t){S.forEach(function(e){O[n(e,t)]=O[t]})});var T=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,x=function(){return"undefined"!=typeof document&&!(!navigator||!(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0))}(),j=1e5,k={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]},M=function(t,e,r){var n=t>1?t-1:t;n=t<0?t+1:n;var a=3*n<2?e+(r-e)*(2/3-n)*6:e,o=n<.5?r:a;return 255*(6*n<1?e+(r-e)*n*6:o)+.5|0},A=(Math.PI,180/Math.PI),E={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};E._lists.transformsBase=x?E._lists.transformsBase:E._lists.transformsBase.concat(E._lists.transforms3D),e.default=E},function(t,e,r){"use strict";var n=r(104),a=r.n(n),o=r(12);a.a.path=function(t,e){var r=e||{};if(o.k)return"linear";for(var n=Object(o.g)(t),i=n.getTotalLength(),s=r.rect||100,u=r.lengthPixel||200,c=[],f=0;f<u-1;f++)c.push(n.getPointAtLength(i/(u-1)*f));return c.push(n.getPointAtLength(u)),function(t,e,r,o){var u=a.a.linear(t,e,r,o),f=s*u;return 1-(c.filter(function(t){return t.x>=f})[0]||n.getPointAtLength(u*i)).y/s}},e.a=a.a},function(t,e,r){"use strict";var n=r(106),a=r.n(n),o=Date.now||function(){return(new Date).getTime()},i=function(){};i.prototype={tickFnArray:[],tickKeyObject:{},id:-1,tweenId:0,frame:0,perFrame:Math.round(1e3/60),elapsed:0,lastUpdate:o()};var s=i.prototype;s.add=function(t){var e="TweenOneTicker"+this.tweenId;return this.tweenId++,this.wake(e,t),e},s.wake=function(t,e){var r=this;this.tickKeyObject[t]=e,this.tickFnArray=Object.keys(this.tickKeyObject).map(function(t){return r.tickKeyObject[t]}),-1===this.id&&(this.id=a()(this.tick))},s.clear=function(t){var e=this;delete this.tickKeyObject[t],this.tickFnArray=Object.keys(this.tickKeyObject).map(function(t){return e.tickKeyObject[t]})},s.sleep=function(){a.a.cancel(this.id),this.id=-1,this.frame=0};var u=new i;s.tick=function(t){if(u.elapsed=o()-u.lastUpdate,u.lastUpdate+=u.elapsed,u.tickFnArray.forEach(function(e){return e(t)}),!u.tickFnArray.length)return void u.sleep();u.frame?u.frame+=Math.round(u.elapsed/u.perFrame):u.frame++,u.id=a()(u.tick)};var c=0;s.timeout=function(t,e){var r=this;if("function"!=typeof t)return console.warn("not function");var n="timeout"+Date.now()+"-"+c,a=this.frame;return this.wake(n,function(){(r.frame-a)*r.perFrame>=(e||0)&&(r.clear(n),t())}),c++,n};var f=0;s.interval=function(t,e){var r=this;if("function"!=typeof t)return console.warn("not function"),null;var n="interval"+Date.now()+"-"+f,a=this.frame;return this.wake(n,function(){(r.frame-a)*r.perFrame>=(e||0)&&(a=r.frame,t())}),f++,n},e.a=u},function(t,e,r){r(56),t.exports=r(57)},function(t,e){},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r.d(e,"TweenOneGroup",function(){return u}),r.d(e,"easing",function(){return c}),r.d(e,"plugins",function(){return f}),r.d(e,"ticker",function(){return l});var n=r(33),a=r(109),o=r(53),i=r(32),s=r(54);n.a.TweenOneGroup=a.a,n.a.easing=o.a,n.a.plugins=i.a,n.a.ticker=s.a,e.default=n.a;var u=a.a,c=o.a,f=i.a,l=s.a},function(t,e,r){t.exports={default:r(59),__esModule:!0}},function(t,e,r){r(60),t.exports=r(1).Object.assign},function(t,e,r){var n=r(5);n(n.S+n.F,"Object",{assign:r(62)})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){"use strict";var n=r(15),a=r(25),o=r(18),i=r(40),s=r(38),u=Object.assign;t.exports=!u||r(11)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var r=i(t),u=arguments.length,c=1,f=a.f,l=o.f;u>c;)for(var p,h=s(arguments[c++]),m=f?n(h).concat(f(h)):n(h),d=m.length,y=0;d>y;)l.call(h,p=m[y++])&&(r[p]=h[p]);return r}:u},function(t,e,r){var n=r(8),a=r(64),o=r(65);t.exports=function(t){return function(e,r,i){var s,u=n(e),c=a(u.length),f=o(i,c);if(t&&r!=r){for(;c>f;)if((s=u[f++])!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}}},function(t,e,r){var n=r(21),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},function(t,e,r){var n=r(21),a=Math.max,o=Math.min;t.exports=function(t,e){return t=n(t),t<0?a(t+e,0):o(t,e)}},function(t,e,r){t.exports={default:r(67),__esModule:!0}},function(t,e,r){r(68);var n=r(1).Object;t.exports=function(t,e,r){return n.defineProperty(t,e,r)}},function(t,e,r){var n=r(5);n(n.S+n.F*!r(3),"Object",{defineProperty:r(2).f})},function(t,e,r){t.exports={default:r(70),__esModule:!0}},function(t,e,r){r(71),r(77),t.exports=r(29).f("iterator")},function(t,e,r){"use strict";var n=r(72)(!0);r(45)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){var n=r(21),a=r(20);t.exports=function(t){return function(e,r){var o,i,s=String(a(e)),u=n(r),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===c||(i=s.charCodeAt(u+1))<56320||i>57343?t?s.charAt(u):o:t?s.slice(u,u+2):i-56320+(o-55296<<10)+65536)}}},function(t,e,r){"use strict";var n=r(27),a=r(14),o=r(28),i={};r(6)(i,r(9)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(i,{next:a(1,r)}),o(t,e+" Iterator")}},function(t,e,r){var n=r(2),a=r(10),o=r(15);t.exports=r(3)?Object.defineProperties:function(t,e){a(t);for(var r,i=o(e),s=i.length,u=0;s>u;)n.f(t,r=i[u++],e[r]);return t}},function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(4),a=r(40),o=r(22)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=a(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,r){r(78);for(var n=r(0),a=r(6),o=r(26),i=r(9)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var c=s[u],f=n[c],l=f&&f.prototype;l&&!l[i]&&a(l,i,c),o[c]=o.Array}},function(t,e,r){"use strict";var n=r(79),a=r(80),o=r(26),i=r(8);t.exports=r(45)(Array,"Array",function(t,e){this._t=i(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,a(1)):"keys"==e?a(0,r):"values"==e?a(0,t[r]):a(0,[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){t.exports={default:r(82),__esModule:!0}},function(t,e,r){r(83),r(88),r(89),r(90),t.exports=r(1).Symbol},function(t,e,r){"use strict";var n=r(0),a=r(4),o=r(3),i=r(5),s=r(46),u=r(84).KEY,c=r(11),f=r(23),l=r(28),p=r(17),h=r(9),m=r(29),d=r(30),y=r(85),v=r(86),g=r(10),b=r(7),w=r(8),O=r(19),S=r(14),T=r(27),x=r(87),j=r(48),k=r(2),M=r(15),A=j.f,E=k.f,D=x.f,_=n.Symbol,C=n.JSON,F=C&&C.stringify,P=h("_hidden"),N=h("toPrimitive"),I={}.propertyIsEnumerable,L=f("symbol-registry"),R=f("symbols"),U=f("op-symbols"),z=Object.prototype,W="function"==typeof _,V=n.QObject,q=!V||!V.prototype||!V.prototype.findChild,G=o&&c(function(){return 7!=T(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=A(z,e);n&&delete z[e],E(t,e,r),n&&t!==z&&E(z,e,n)}:E,B=function(t){var e=R[t]=T(_.prototype);return e._k=t,e},X=W&&"symbol"==typeof _.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof _},Y=function(t,e,r){return t===z&&Y(U,e,r),g(t),e=O(e,!0),g(r),a(R,e)?(r.enumerable?(a(t,P)&&t[P][e]&&(t[P][e]=!1),r=T(r,{enumerable:S(0,!1)})):(a(t,P)||E(t,P,S(1,{})),t[P][e]=!0),G(t,e,r)):E(t,e,r)},Q=function(t,e){g(t);for(var r,n=y(e=w(e)),a=0,o=n.length;o>a;)Y(t,r=n[a++],e[r]);return t},H=function(t,e){return void 0===e?T(t):Q(T(t),e)},J=function(t){var e=I.call(this,t=O(t,!0));return!(this===z&&a(R,t)&&!a(U,t))&&(!(e||!a(this,t)||!a(R,t)||a(this,P)&&this[P][t])||e)},K=function(t,e){if(t=w(t),e=O(e,!0),t!==z||!a(R,e)||a(U,e)){var r=A(t,e);return!r||!a(R,e)||a(t,P)&&t[P][e]||(r.enumerable=!0),r}},Z=function(t){for(var e,r=D(w(t)),n=[],o=0;r.length>o;)a(R,e=r[o++])||e==P||e==u||n.push(e);return n},$=function(t){for(var e,r=t===z,n=D(r?U:w(t)),o=[],i=0;n.length>i;)!a(R,e=n[i++])||r&&!a(z,e)||o.push(R[e]);return o};W||(_=function(){if(this instanceof _)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===z&&e.call(U,r),a(this,P)&&a(this[P],t)&&(this[P][t]=!1),G(this,t,S(1,r))};return o&&q&&G(z,t,{configurable:!0,set:e}),B(t)},s(_.prototype,"toString",function(){return this._k}),j.f=K,k.f=Y,r(47).f=x.f=Z,r(18).f=J,r(25).f=$,o&&!r(16)&&s(z,"propertyIsEnumerable",J,!0),m.f=function(t){return B(h(t))}),i(i.G+i.W+i.F*!W,{Symbol:_});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)h(tt[et++]);for(var rt=M(h.store),nt=0;rt.length>nt;)d(rt[nt++]);i(i.S+i.F*!W,"Symbol",{for:function(t){return a(L,t+="")?L[t]:L[t]=_(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!W,"Object",{create:H,defineProperty:Y,defineProperties:Q,getOwnPropertyDescriptor:K,getOwnPropertyNames:Z,getOwnPropertySymbols:$}),C&&i(i.S+i.F*(!W||c(function(){var t=_();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;arguments.length>a;)n.push(arguments[a++]);if(r=e=n[1],(b(e)||void 0!==t)&&!X(t))return v(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!X(e))return e}),n[1]=e,F.apply(C,n)}}),_.prototype[N]||r(6)(_.prototype,N,_.prototype.valueOf),l(_,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},function(t,e,r){var n=r(17)("meta"),a=r(7),o=r(4),i=r(2).f,s=0,u=Object.isExtensible||function(){return!0},c=!r(11)(function(){return u(Object.preventExtensions({}))}),f=function(t){i(t,n,{value:{i:"O"+ ++s,w:{}}})},l=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[n].i},p=function(t,e){if(!o(t,n)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[n].w},h=function(t){return c&&m.NEED&&u(t)&&!o(t,n)&&f(t),t},m=t.exports={KEY:n,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,r){var n=r(15),a=r(25),o=r(18);t.exports=function(t){var e=n(t),r=a.f;if(r)for(var i,s=r(t),u=o.f,c=0;s.length>c;)u.call(t,i=s[c++])&&e.push(i);return e}},function(t,e,r){var n=r(39);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(8),a=r(47).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return a(t)}catch(t){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==o.call(t)?s(t):a(n(t))}},function(t,e){},function(t,e,r){r(30)("asyncIterator")},function(t,e,r){r(30)("observable")},function(t,e,r){t.exports={default:r(92),__esModule:!0}},function(t,e,r){r(93),t.exports=r(1).Object.setPrototypeOf},function(t,e,r){var n=r(5);n(n.S,"Object",{setPrototypeOf:r(94).set})},function(t,e,r){var n=r(7),a=r(10),o=function(t,e){if(a(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{n=r(34)(Function.call,r(48).f(Object.prototype,"__proto__").set,2),n(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return o(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:o}},function(t,e,r){t.exports={default:r(96),__esModule:!0}},function(t,e,r){r(97);var n=r(1).Object;t.exports=function(t,e){return n.create(t,e)}},function(t,e,r){var n=r(5);n(n.S,"Object",{create:r(27)})},function(t,e,r){"use strict";function n(){}var a=r(99);t.exports=function(){function t(t,e,r,n,o,i){if(i!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return r.checkPropTypes=n,r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,r){t.exports=e},function(t,e,r){"use strict";function n(){this._key="chai/deep-eql__"+Math.random()+Date.now()}function a(t,e,r){if(!r||w(t)||w(e))return null;var n=r.get(t);if(n){var a=n.get(e);if("boolean"==typeof a)return a}return null}function o(t,e,r,n){if(r&&!w(t)&&!w(e)){var a=r.get(t);a?a.set(e,n):(a=new S,a.set(e,n),r.set(t,a))}}function i(t,e,r){if(r&&r.comparator)return u(t,e,r);var n=s(t,e);return null!==n?n:u(t,e,r)}function s(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e||!w(t)&&!w(e)&&null}function u(t,e,r){r=r||{},r.memoize=!1!==r.memoize&&(r.memoize||new S);var n=r&&r.comparator,i=a(t,e,r.memoize);if(null!==i)return i;var u=a(e,t,r.memoize);if(null!==u)return u;if(n){var f=n(t,e);if(!1===f||!0===f)return o(t,e,r.memoize,f),f;var l=s(t,e);if(null!==l)return l}var p=O(t);if(p!==O(e))return o(t,e,r.memoize,!1),!1;o(t,e,r.memoize,!0);var h=c(t,e,p,r);return o(t,e,r.memoize,h),h}function c(t,e,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return i(t.valueOf(),e.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":case"Error":return t===e;case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return p(t,e,n);case"RegExp":return f(t,e);case"Generator":return h(t,e,n);case"DataView":return p(new Uint8Array(t.buffer),new Uint8Array(e.buffer),n);case"ArrayBuffer":return p(new Uint8Array(t),new Uint8Array(e),n);case"Set":case"Map":return l(t,e,n);default:return b(t,e,n)}}function f(t,e){return t.toString()===e.toString()}function l(t,e,r){if(t.size!==e.size)return!1;if(0===t.size)return!0;var n=[],a=[];return t.forEach(function(t,e){n.push([t,e])}),e.forEach(function(t,e){a.push([t,e])}),p(n.sort(),a.sort(),r)}function p(t,e,r){var n=t.length;if(n!==e.length)return!1;if(0===n)return!0;for(var a=-1;++a<n;)if(!1===i(t[a],e[a],r))return!1;return!0}function h(t,e,r){return p(y(t),y(e),r)}function m(t){return"undefined"!=typeof Symbol&&"object"==typeof t&&void 0!==Symbol.iterator&&"function"==typeof t[Symbol.iterator]}function d(t){if(m(t))try{return y(t[Symbol.iterator]())}catch(t){return[]}return[]}function y(t){for(var e=t.next(),r=[e.value];!1===e.done;)e=t.next(),r.push(e.value);return r}function v(t){var e=[];for(var r in t)e.push(r);return e}function g(t,e,r,n){var a=r.length;if(0===a)return!0;for(var o=0;o<a;o+=1)if(!1===i(t[r[o]],e[r[o]],n))return!1;return!0}function b(t,e,r){var n=v(t),a=v(e);if(n.length&&n.length===a.length)return n.sort(),a.sort(),!1!==p(n,a)&&g(t,e,n,r);var o=d(t),i=d(e);return o.length&&o.length===i.length?(o.sort(),i.sort(),p(o,i,r)):0===n.length&&0===o.length&&0===a.length&&0===i.length}function w(t){return null===t||"object"!=typeof t}var O=r(102);n.prototype={get:function(t){return t[this._key]},set:function(t,e){Object.isExtensible(t)&&Object.defineProperty(t,this._key,{value:e,configurable:!0})}};var S="function"==typeof WeakMap?WeakMap:n;t.exports=i,t.exports.MemoizeMap=S},function(t,e,r){(function(e){!function(e,r){t.exports=r()}(0,function(){"use strict";function t(t){var e=typeof t;if("object"!==e)return e;if(null===t)return"null";if(t===n)return"global";if(Array.isArray(t)&&(!1===l||!(Symbol.toStringTag in t)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&t===window.location)return"Location";if("object"==typeof window.document&&t===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&t===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&t===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&t instanceof window.HTMLElement){if("BLOCKQUOTE"===t.tagName)return"HTMLQuoteElement";if("TD"===t.tagName)return"HTMLTableDataCellElement";if("TH"===t.tagName)return"HTMLTableHeaderCellElement"}}var a=l&&t[Symbol.toStringTag];if("string"==typeof a)return a;var f=Object.getPrototypeOf(t);return f===RegExp.prototype?"RegExp":f===Date.prototype?"Date":r&&f===Promise.prototype?"Promise":i&&f===Set.prototype?"Set":o&&f===Map.prototype?"Map":u&&f===WeakSet.prototype?"WeakSet":s&&f===WeakMap.prototype?"WeakMap":c&&f===DataView.prototype?"DataView":o&&f===d?"Map Iterator":i&&f===m?"Set Iterator":y&&f===v?"Array Iterator":g&&f===b?"String Iterator":null===f?"Object":Object.prototype.toString.call(t).slice(w,O)}var r="function"==typeof Promise,n="object"==typeof self?self:e,a="undefined"!=typeof Symbol,o="undefined"!=typeof Map,i="undefined"!=typeof Set,s="undefined"!=typeof WeakMap,u="undefined"!=typeof WeakSet,c="undefined"!=typeof DataView,f=a&&void 0!==Symbol.iterator,l=a&&void 0!==Symbol.toStringTag,p=i&&"function"==typeof Set.prototype.entries,h=o&&"function"==typeof Map.prototype.entries,m=p&&Object.getPrototypeOf((new Set).entries()),d=h&&Object.getPrototypeOf((new Map).entries()),y=f&&"function"==typeof Array.prototype[Symbol.iterator],v=y&&Object.getPrototypeOf([][Symbol.iterator]()),g=f&&"function"==typeof String.prototype[Symbol.iterator],b=g&&Object.getPrototypeOf(""[Symbol.iterator]()),w=8,O=-1;return t})}).call(e,r(51))},function(t,e,r){"use strict";function n(){}function a(t,e){var r=t.duration||0===t.duration?t.duration:h;return{duration:"set"===t.type?0:r,delay:t.delay||m,ease:"function"==typeof t.ease?t.ease:u.a[t.ease||p],onUpdate:t.onUpdate||n,onComplete:t.onComplete||n,onStart:t.onStart||n,onRepeat:t.onRepeat||n,repeat:t.repeat||0,repeatDelay:t.repeatDelay||0,yoyo:t.yoyo||!1,type:"from"===t.type?"from":"to",initTime:e,appearTo:"number"==typeof t.appearTo?t.appearTo:null,perTime:0,currentRepeat:0}}var o=r(13),i=r.n(o),s=r(52),u=(r.n(s),r(53)),c=r(32),f=r(105),l=r(12),p="easeInOutQuad",h=450,m=0;c.a.push(f.a);var d=function(t,e,r){this.target=t,this.attr=r.attr||"style",this.accuracy=1e-5,this.totalTime=0,this.progressTime=0,this.defaultData=[],this.start={},this.startDefaultData={},this.tween={},this.data=e,this.perFrame=Math.round(1e3/60),this.register=!1,this.isSvg=this.target.ownerSVGElement;var n=this.setAttrIsStyle();this.setDefaultData(n)},y=d.prototype;y.setAttrIsStyle=function(){var t=this,e=[];return this.data.forEach(function(r,n){var o=i()({},r);"style"===t.attr?(e[n]={},Object.keys(o).forEach(function(t){t in a({},0)&&(e[n][t]=o[t],delete o[t])}),e[n].style=o,t.startDefaultData.style=t.target.getAttribute("style")):"attr"===t.attr&&(Object.keys(o).forEach(function(e){if("style"===e&&Array.isArray(r[e]))throw new Error("Style should be the object.");"bezier"===e?(o.style=i()({},o.style,{bezier:o[e]}),delete o[e],t.startDefaultData.style=t.target.getAttribute("style")):t.startDefaultData[e]=t.target.getAttribute(e)}),e[n]=o)}),e},y.setDefaultData=function(t){var e=this,r=0,n=!1,o=t.map(function(t){var o="number"==typeof t.appearTo;o||(r+=t.delay||0);var i=(t.appearTo||0)+(t.delay||0),u=a(t,o?i:r);u.vars={},Object.keys(t).forEach(function(r){if(!(r in u)){var n=t[r];if(r in c.a)u.vars[r]=new c.a[r](e.target,n,u.type);else if(r.match(/color/i)||"stroke"===r||"fill"===r)u.vars[r]={type:"color",vars:Object(s.parseColor)(n)};else if("number"==typeof n||n.split(/[,|\s]/g).length<=1){var a=parseFloat(n),o=n.toString().replace(/[^a-z|%]/g,""),i=n.toString().replace(/[^+|=|-]/g,"");u.vars[r]={unit:o,vars:a,count:i}}else("d"===r||"points"===r)&&"SVGMorph"in c.a&&(u.vars[r]=new c.a.SVGMorph(e.target,n,r))}}),u.yoyo&&!u.repeat&&console.warn("Warning: yoyo must be used together with repeat;"),-1===u.repeat&&(n=!0);var f=-1===u.repeat?0:u.repeat;if(o){var l=t.appearTo+(t.delay||0)+u.duration*(f+1)+u.repeatDelay*f;r=l>=r?l:r}else u.delay<-u.duration?r-=u.delay:r+=u.duration*(f+1)+u.repeatDelay*f;return u.mode="",u});this.totalTime=n?Number.MAX_VALUE:r,this.defaultData=o},y.getComputedStyle=function(){var t="undefined"!=typeof window&&document.defaultView?document.defaultView.getComputedStyle(this.target):{};if(this.isSvg){var e=t[Object(s.checkStyleName)("transform")]||"none";if("none"===e){var r=this.target.getAttribute("style");r&&r.indexOf("transform:")>=0?e=r.split(";").filter(function(t){return t.indexOf("transform:")>=0}).map(function(t){return Object(s.createMatrix)(t.split(":")[1].trim()).toString()})[0]:this.target.getAttribute("transform")&&console.warn("Do not add transform on the label, otherwise it will be invalid.")}t.transformSVG=e}return t},y.getAnimStartData=function(t){var e=this,r={};return Object.keys(t).forEach(function(n){if(n in c.a||"attr"===e.attr&&("d"===n||"points"===n))return e.computedStyle=e.computedStyle||e.getComputedStyle(),void(r[n]=t[n].getAnimStart(e.computedStyle,e.tween,e.isSvg));if("attr"!==e.attr)r[n]=e.target[n]||0;else{var a=e.target.getAttribute(n),o="null"!==a&&a?a:0;if(n.match(/color/i)||"stroke"===n||"fill"===n)o=o||"stroke"!==n?o:"rgba(255, 255, 255, 0)",o=Object(s.parseColor)(o),r[n]=o;else if(parseFloat(o)||0===parseFloat(o)||0===o){var i=o.toString().replace(/[^a-z|%]/g,"");r[n]=i!==t[n].unit?Object(l.h)(e.target,n,parseFloat(o),i,t[n].unit):parseFloat(o)}}}),r},y.setAnimData=function(t){var e=this;Object.keys(t).forEach(function(r){r in c.a||"attr"===e.attr&&("d"===r||"points"===r)||(e.target[r]=t[r])})},y.setRatio=function(t,e,r){var n=this;Object.keys(e.vars).forEach(function(a){if(a in c.a||"attr"===n.attr&&("d"===a||"points"===a))return void e.vars[a].setRatio(t,n.tween,n.isSvg&&n.computedStyle);var o=e.vars[a],i=n.start[r][a],u=void 0;"attr"===n.attr&&(o.type?"color"===o.type&&(3===o.vars.length&&4===i.length&&(o.vars[3]=1),u=o.vars.map(function(e,r){var n=i[r]||0;return(e-n)*t+n}),n.target.setAttribute(a,Object(s.getColor)(u))):(u="="===o.unit.charAt(1)?i+o.vars*t+o.unit:(o.vars-i)*t+i+o.unit,n.target.setAttribute(a,u)))}),this.setAnimData(this.tween)},y.render=function(){var t=this,e=this.reverse;this.defaultData.forEach(function(r,n){var a=r.initTime,o=Object(s.toFixed)(r.duration),u=Math.ceil((t.progressTime-a)/(o+r.repeatDelay))-1||0;if(u=u<0?0:u,r.repeat){if(r.repeat<u&&-1!==r.repeat)return;(r.repeat||r.repeat<=u)&&(a+=u*(o+r.repeatDelay))}var c=r.yoyo&&u%2?1:0,f=r.yoyo&&u%2?0:1;c="from"===r.type?1-c:c,f="from"===r.type?1-f:f;var l=Object(s.toFixed)(t.progressTime-a),p=void 0;if(!(l+("from"===r.type?r.delay:0)>=0)||t.start[n]||(t.start[n]=t.getAnimStartData(r.vars),l<t.perFrame?(p=r.duration||r.delay?r.ease(0,c,f,1):r.ease(1,c,f,1),t.setRatio(p,r,n)):l>o&&(p=r.ease(1,c,f,1),t.setRatio(p,r,n)),t.register&&(!n||a)||(t.register=!0,0!==l||!r.duration))){var h={index:n,target:t.target},m=i()({moment:t.progressTime},h);if(l>=(r.delay&&e?-t.perFrame+t.accuracy:0)&&!(l>o&&"onComplete"===r.mode)&&t.start[n]){var d="update"===t.updateAnim;if(((l=l<t.perFrame-t.accuracy&&!e?0:l)>=o-t.accuracy&&!e||e&&l<=0)&&u>=r.repeat){if(p=r.ease(e?0:1,c,f,1),t.setRatio(p,r,n,r.currentRepeat!==u),r.reset||d){if(l>=o+t.perFrame-t.accuracy)return}else o||(r.onStart(h),m.mode="onStart",t.onChange(m),r.onUpdate(i()({ratio:p},h)),m.mode="onUpdate",t.onChange(m)),r.onComplete(h);r.mode="onComplete"}else if(o){var y=l<0?0:l;y=y>o?o:y,p=r.ease(y,c,f,o),t.setRatio(p,r,n),d||(r.repeat&&u>0&&r.currentRepeat!==u?(r.mode="onRepeat",r.currentRepeat=u,r.onRepeat(i()({},h,{repeatNum:u}))):("number"!=typeof r.perTime||0===l||e&&r.perTime>=t.reverseStartTime-a)&&"onStart"!==r.mode?(r.mode="onStart",r.onStart(h)):(r.mode="onUpdate",r.onUpdate(i()({ratio:p},h))))}d||(m.mode=r.mode,t.on