UNPKG

actuate

Version:

Actuate is a flexible, fast "tween" library for animations

2 lines 60.6 kB
/*! For license information please see actuate.min.js.LICENSE.txt */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("openfl/display/DisplayObject"),require("openfl/geom/ColorTransform"),require("openfl/media/SoundTransform"),require("openfl/Lib")):"function"==typeof define&&define.amd?define(["openfl/display/DisplayObject","openfl/geom/ColorTransform","openfl/media/SoundTransform","openfl/Lib"],e):"object"==typeof exports?exports.motion=e(require("openfl/display/DisplayObject"),require("openfl/geom/ColorTransform"),require("openfl/media/SoundTransform"),require("openfl/Lib")):t.motion=e(t.openfl.display.DisplayObject,t.openfl.geom.ColorTransform,t.openfl.media.SoundTransform,t.openfl.Lib)}(self,((t,e,n,i)=>(()=>{var r={7071:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["HxOverrides"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i.HxOverrides=r,r.remove=function(t,e){var n=t.indexOf(e);return-1!=n&&(t.splice(n,1),!0)},r.iter=function(t){return{cur:0,arr:t,hasNext:function(){return this.cur<this.arr.length},next:function(){return this.arr[this.cur++]}}},e.default=r},1446:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["Reflect"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i.Reflect=r,r.hasField=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.field=function(t,e){try{return t[e]}catch(t){return null}},r.setField=function(t,e,n){t[e]=n},r.getProperty=function(t,e){var n;return null==t?null:t.__properties__&&(n=t.__properties__["get_"+e])?t[n]():t[e]},r.setProperty=function(t,e,n){var i;t.__properties__&&(i=t.__properties__["set_"+e])?t[i](n):t[e]=n},r.callMethod=function(t,e,n){return e.apply(t,n)},r.fields=function(t){var e=[];if(null!=t){var n=Object.prototype.hasOwnProperty;for(var i in t)"__id__"!=i&&"hx__closures__"!=i&&n.call(t,i)&&e.push(i)}return e},e.default=r},6295:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;function r(){return n(4851)}n(8941).Z;var o=function(){};o.__name__=["Std"],o.__isInterface__=!1,(o.prototype={}).__class__=o.prototype.constructor=i.Std=o,String.prototype.__class__=String,String.__name__=!0,Array.__name__=!0,Number.__name__=["Float"],Boolean.__ename__=["Bool"],o.is=function(t,e){return r().default.__instanceof(t,e)},o.string=function(t){return r().default.__string_rec(t,"")},e.default=o},4395:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["Type"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i.Type=r,r.getClass=function(t){return null==t?null:n(4851).default.getClass(t)},r.getSuperClass=function(t){return t.__super__},r.createInstance=function(t,e){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6]);case 8:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]);case 9:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8]);case 10:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9]);case 11:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10]);case 12:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11]);case 13:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12]);case 14:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13]);default:throw new(n(3436).default)("Too many arguments")}},e.default=r},2803:(t,e)=>{e.Z=function(t,e){function n(){}n.prototype=t;var i=new n;for(var r in e)i[r]=e[r];return e.toString!==Object.prototype.toString&&(i.toString=e.toString),i}},9287:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["haxe","IMap"],r.__isInterface__=!0,(r.prototype={}).__class__=r.prototype.constructor=i["haxe.IMap"]=r,e.default=r},2150:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){this.h={__keys__:{}}};r.__name__=["haxe","ds","ObjectMap"],r.__isInterface__=!1,r.__interfaces__=[n(9287).default],(r.prototype={set:function(t,e){var n=r.getId(t)||r.assignId(t);this.h[n]=e,this.h.__keys__[n]=t},get:function(t){return this.h[r.getId(t)]},exists:function(t){return null!=this.h.__keys__[r.getId(t)]},remove:function(t){var e=r.getId(t);return null!=this.h.__keys__[e]&&(delete this.h[e],delete this.h.__keys__[e],!0)},keys:function(){var t=[];for(var e in this.h.__keys__)this.h.hasOwnProperty(e)&&t.push(this.h.__keys__[e]);return n(7071).default.iter(t)},iterator:function(){return{ref:this.h,it:this.keys(),hasNext:function(){return this.it.hasNext()},next:function(){var t=this.it.next();return this.ref[r.getId(t)]}}}}).__class__=r.prototype.constructor=i["haxe.ds.ObjectMap"]=r,r.assignId=function(t){return t.__id__=++r.count},r.getId=function(t){return t.__id__},r.count=0,e.default=r},9588:(t,e)=>{e.Z={Enum:{}}},8941:(t,e)=>{e.Z=function(t){return t&&t.__esModule?t:{default:t}}},4851:function(t,e,n){var i="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this;i.Object.defineProperty(e,"__esModule",{value:!0});var r=n(9588).Z;function o(){return n(6295)}n(8941).Z;var s=function(){};s.__name__=["js","Boot"],s.__isInterface__=!1,(s.prototype={}).__class__=s.prototype.constructor=r["js.Boot"]=s,s.isClass=function(t){return t.__name__},s.isEnum=function(t){return t.__ename__},s.getClass=function(t){if(t instanceof Array&&null==t.__enum__)return Array;var e=t.__class__;if(null!=e)return e;var n=s.__nativeClassName(t);return null!=n?s.__resolveNativeClass(n):null},s.__string_rec=function(t,e){if(null==t)return"null";if(e.length>=5)return"<...>";var n=typeof t;switch("function"==n&&(s.isClass(t)||s.isEnum(t))&&(n="object"),n){case"function":return"<function>";case"object":if(t instanceof Array){if(t.__enum__){if(2==t.length)return t[0];var i=t[0]+"(";e+="\t";for(var r=2,o=t.length;r<o;){var a=r++;i+=2!=a?","+s.__string_rec(t[a],e):s.__string_rec(t[a],e)}return i+")"}var u="[";e+="\t";for(var f=0,l=t.length;f<l;){var _=f++;u+=(_>0?",":"")+s.__string_rec(t[_],e)}return u+"]"}var d;try{d=t.toString}catch(t){return"???"}if(null!=d&&d!=Object.toString&&"function"==typeof d){var c=t.toString();if("[object Object]"!=c)return c}var p=null,h="{\n";e+="\t";var g=null!=t.hasOwnProperty;for(var p in t)g&&!t.hasOwnProperty(p)||"prototype"!=p&&"__class__"!=p&&"__super__"!=p&&"__interfaces__"!=p&&"__properties__"!=p&&(2!=h.length&&(h+=", \n"),h+=e+p+" : "+s.__string_rec(t[p],e));return h+"\n"+(e=e.substring(1))+"}";case"string":return t;default:return String(t)}},s.__interfLoop=function(t,e){if(null==t)return!1;if(t==e)return!0;var n=t.__interfaces__;if(null!=n)for(var i=0,r=n.length;i<r;){var o=n[i++];if(o==e||s.__interfLoop(o,e))return!0}return s.__interfLoop(t.__super__,e)},s.__instanceof=function(t,e){if(null==e)return!1;switch(e){case Array:return t instanceof Array&&null==t.__enum__;case r.Bool:return"boolean"==typeof t;case r.Dynamic:return!0;case r.Float:return"number"==typeof t;case r.Int:return"number"==typeof t&&(0|t)===t;case String:return"string"==typeof t;default:if(null==t)return!1;if("function"==typeof e){if(t instanceof e)return!0;if(s.__interfLoop(s.getClass(t),e))return!0}else if("object"==typeof e&&s.__isNativeObj(e)&&t instanceof e)return!0;return e==r.Class&&null!=t.__name__||e==r.Enum&&null!=t.__ename__||t.__enum__==e}},s.__cast=function(t,e){if(s.__instanceof(t,e))return t;throw new(n(3436).default)("Cannot cast "+o().default.string(t)+" to "+o().default.string(e))},s.__nativeClassName=function(t){var e=s.__toStr.call(t).slice(8,-1);return"Object"==e||"Function"==e||"Math"==e||"JSON"==e?null:e},s.__isNativeObj=function(t){return null!=s.__nativeClassName(t)},s.__resolveNativeClass=function(t){return i[t]},s.__toStr={}.toString,e.default=s},3436:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=(n(8941).Z,n(2803).Z),o=function(t){Error.call(this),this.val=t,this.message=String(t),Error.captureStackTrace&&Error.captureStackTrace(this,o)};o.__name__=["js","_Boot","HaxeError"],o.__isInterface__=!1,o.__super__=Error,o.prototype=r(Error.prototype,{}),o.prototype.__class__=o.prototype.constructor=i["js._Boot.HaxeError"]=o,o.wrap=function(t){return t instanceof Error?t:new o(t)},e.default=o},9694:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;function r(){return n(2150)}function o(){return n(4395)}function s(){return n(6295)}function a(){return n(7894)}function u(){return n(1446)}function f(){return n(1514)}n(8941).Z;var l=function(){};l.__name__=["motion","Actuate"],l.__isInterface__=!1,(l.prototype={}).__class__=l.prototype.constructor=i["motion.Actuate"]=l,l.apply=function(t,e,n){l.stop(t,e),null==n&&(n=l.defaultActuator);var i=o().default.createInstance(n,[t,0,e]);return i.apply(),i},l.effects=function(t,e,i){return null==i&&(i=!0),new(n(4973).default)(t,e,i)},l.getLibrary=function(t,e){return null==e&&(e=!0),!l.targetLibraries.exists(t)&&e&&l.targetLibraries.set(t,[]),l.targetLibraries.get(t)},l.isActive=function(){for(var t=!1,e=l.targetLibraries.iterator();e.hasNext();){e.next(),t=!0;break}return t},l.motionPath=function(t,e,i,r){return null==r&&(r=!0),l.tween(t,e,i,r,n(6911).default)},l.pause=function(t){if(s().default.is(t,a().default))t.pause();else{var e=l.getLibrary(t,!1);if(null!=e)for(var n=0;n<e.length;){var i=e[n];++n,i.pause()}}},l.pauseAll=function(){for(var t=l.targetLibraries.iterator();t.hasNext();)for(var e=t.next(),n=0;n<e.length;){var i=e[n];++n,i.pause()}},l.reset=function(){for(var t=l.targetLibraries.iterator();t.hasNext();)for(var e=t.next(),n=e.length-1;n>=0;)e[n].stop(null,!1,!1),--n;l.targetLibraries=new(r().default)},l.resume=function(t){if(s().default.is(t,a().default))t.resume();else{var e=l.getLibrary(t,!1);if(null!=e)for(var n=0;n<e.length;){var i=e[n];++n,i.resume()}}},l.resumeAll=function(){for(var t=l.targetLibraries.iterator();t.hasNext();)for(var e=t.next(),n=0;n<e.length;){var i=e[n];++n,i.resume()}},l.stop=function(t,e,i,r){if(null==r&&(r=!0),null==i&&(i=!1),null!=t)if(s().default.is(t,a().default))t.stop(null,i,r);else{var o=l.getLibrary(t,!1);if(null!=o){if("string"==typeof e){var f={};u().default.setField(f,e,null),e=f}else if(e instanceof Array&&null==e.__enum__){for(var _={},d=0,c=n(4851).default.__cast(e,Array);d<c.length;){var p=c[d];++d,u().default.setField(_,p,null)}e=_}for(var h=o.length-1;h>=0;)o[h].stop(e,i,r),--h}}},l.timer=function(t,e){return l.tween(new(f().default)(0),t,new(f().default)(1),!1,e)},l.transform=function(t,e,i){return null==i&&(i=!0),null==e&&(e=0),new(n(8315).default)(t,e,i)},l.tween=function(t,e,n,i,r){if(null==i&&(i=!0),null!=t){if(e>0){null==r&&(r=l.defaultActuator);var s=o().default.createInstance(r,[t,e,n]),a=l.getLibrary(s.target);if(i){for(var u=a.length-1;u>=0;)a[u].stop(s.properties,!1,!1),--u;a=l.getLibrary(s.target)}return a.push(s),s.move(),s}return l.apply(t,n,r)}return null},l.unload=function(t){var e=t.target;l.targetLibraries.exists(e)&&(n(7071).default.remove(l.targetLibraries.get(e),t),0==l.targetLibraries.get(e).length&&l.targetLibraries.remove(e))},l.update=function(t,e,i,r,o){return null==o&&(o=!0),l.tween(t,e,{start:i,end:r},o,n(5080).default)},l.defaultActuator=n(3567).default,l.defaultEase=n(8811).default.easeOut,l.targetLibraries=new(r().default),e.default=l},6740:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["motion","IComponentPath"],r.__isInterface__=!0,(r.prototype={}).__class__=r.prototype.constructor=i["motion.IComponentPath"]=r,e.default=r},4396:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;function r(){return n(6705)}function o(){return n(9789)}function s(){return n(8883)}n(8941).Z;var a=function(){this._x=new(s().default),this._y=new(s().default),this._rotation=null};a.__name__=["motion","MotionPath"],a.__isInterface__=!1,(a.prototype={bezier:function(t,e,n,i,r){return null==r&&(r=1),this.bezierN(t,e,[n],[i],r)},bezierN:function(t,e,n,i,o){return null==o&&(o=1),this._x.addPath(new(r().default)(t,n,o)),this._y.addPath(new(r().default)(e,i,o)),this},bezierSpline:function(t,e,n){return null==n&&(n=1),this._x.addPath(new(o().default)(t,n)),this._y.addPath(new(o().default)(e,n)),this},line:function(t,e,n){return null==n&&(n=1),this.bezierN(t,e,[],[],n)},get_rotation:function(){return null==this._rotation&&(this._rotation=new(n(3412).default)(this._x,this._y)),this._rotation},get_x:function(){return this._x},get_y:function(){return this._y}}).__class__=a.prototype.constructor=i["motion.MotionPath"]=a,Object.defineProperties(a.prototype,{rotation:{get:function(){return this.get_rotation()}},x:{get:function(){return this.get_x()}},y:{get:function(){return this.get_y()}}}),e.default=a},4973:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(t,e,n){this.target=t,this.duration=e,this.overwrite=n};r.__name__=["motion","_Actuate","EffectsOptions"],r.__isInterface__=!1,(r.prototype={filter:function(t,e){return e.filter=t,n(9694).default.tween(this.target,this.duration,e,this.overwrite,n(5481).default)}}).__class__=r.prototype.constructor=i["motion._Actuate.EffectsOptions"]=r,e.default=r},8315:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;function r(){return n(9694)}function o(){return n(4328)}n(8941).Z;var s=function(t,e,n){this.target=t,this.duration=e,this.overwrite=n};s.__name__=["motion","_Actuate","TransformOptions"],s.__isInterface__=!1,(s.prototype={color:function(t,e,n){null==e&&(e=1),null==t&&(t=0);var i={colorValue:t,colorStrength:e};return null!=n&&(i.colorAlpha=n),r().default.tween(this.target,this.duration,i,this.overwrite,o().default)},sound:function(t,e){var n={};return null!=t&&(n.soundVolume=t),null!=e&&(n.soundPan=e),r().default.tween(this.target,this.duration,n,this.overwrite,o().default)}}).__class__=s.prototype.constructor=i["motion._Actuate.TransformOptions"]=s,e.default=s},1514:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(t){this.progress=t};r.__name__=["motion","_Actuate","TweenTimer"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion._Actuate.TweenTimer"]=r,e.default=r},6705:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(t,e,n){this._end=t,this.control=e,this.strength=n};r.__name__=["motion","_MotionPath","BezierPath"],r.__isInterface__=!1,r.__interfaces__=[n(6740).default],(r.prototype={calculate:function(t){var e=1-t;switch(this.control.length){case 0:return e*this._start+t*this._end;case 1:return e*e*this._start+2*e*t*this.control[0]+t*t*this._end;case 2:return e*e*e*this._start+3*e*e*t*this.control[0]+3*e*t*t*this.control[1]+t*t*t*this._end;default:if(e<1e-7)return this._end;for(var n=t/e,i=this.control.length+1,r=Math.pow(e,i),o=r*this._start,s=1,a=i;s<a;){var u=s++;o+=(r*=n*(i+1-u)/u)*this.control[u-1]}return o+(r*=n/i)*this._end}},get_start:function(){return this._start},set_start:function(t){return this._start=t},get_end:function(){return this._end}}).__class__=r.prototype.constructor=i["motion._MotionPath.BezierPath"]=r,e.default=r},9789:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=(n(8941).Z,n(2803).Z);function o(){return n(8883)}var s=function(t,e){o().default.call(this),this.through=t,this.strength=e};s.__name__=["motion","_MotionPath","BezierSplinePath"],s.__isInterface__=!1,s.__super__=o().default,(s.prototype=r(o().default.prototype,{computeControlPoints:function(t){for(var e=[t].concat(this.through),n=e.length,i=[],r=0,o=n;r<o;)r++,i.push([0,0]);var s=i,a=[],u=[],f=[],l=[];a[0]=0,u[0]=2,f[0]=1,l[0]=e[0]+2*e[1];for(var _=1,d=n-1;_<d;){var c=_++;a[c]=1,u[c]=4,f[c]=1,l[c]=4*e[c]+2*e[c+1]}a[n-1]=1,u[n-1]=2,f[n-1]=0,l[n-1]=3*e[n-1];for(var p=1,h=n;p<h;){var g=p++,y=a[g]/u[g-1];u[g]-=y*f[g-1],l[g]-=y*l[g-1]}s[n-1][0]=l[n-1]/u[n-1];for(var v=n-2;v>=0;)s[v][0]=(l[v]-f[v]*s[v+1][0])/u[v],--v;for(var m=0,w=n-1;m<w;){var P=m++;s[P][1]=2*e[P+1]-s[P+1][0]}return s[n-1][1]=.5*(e[n]+s[n-1][0]),s.pop(),s},set_start:function(t){if(0==this.paths.length||Math.abs(t-this.get_start())>1e-7){var e=this.computeControlPoints(t),i=this.strength/e.length;this.strength=0,this.paths.splice(0,this.paths.length);for(var r=0,s=e.length;r<s;){var a=r++;this.addPath(new(n(6705).default)(this.through[a],e[a],i))}}return o().default.prototype.set_start.call(this,t)},get_end:function(){return this.through[this.through.length-1]}})).__class__=s.prototype.constructor=i["motion._MotionPath.BezierSplinePath"]=s,e.default=s},8883:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){this.paths=[],this.strength=0};r.__name__=["motion","_MotionPath","ComponentPath"],r.__isInterface__=!1,r.__interfaces__=[n(6740).default],(r.prototype={addPath:function(t){this.paths.length>0&&t.set_start(this.paths[this.paths.length-1].get_end()),this.paths.push(t),this.strength+=t.strength},calculate:function(t){if(1==this.paths.length)return this.paths[0].calculate(t);for(var e=t*this.strength,n=0,i=this.paths;n<i.length;){var r=i[n];if(++n,!(e-r.strength>1e-7))return r.calculate(e/r.strength);e-=r.strength}return 0},get_start:function(){return this.paths.length>0?this.paths[0].get_start():0},set_start:function(t){return this.paths.length>0?this.paths[0].set_start(t):0},get_end:function(){return this.paths.length>0?this.paths[this.paths.length-1].get_end():this.get_start()}}).__class__=r.prototype.constructor=i["motion._MotionPath.ComponentPath"]=r,e.default=r},3412:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(t,e){this.step=.01,this._x=t,this._y=e,this.offset=0,this.set_start(this.calculate(0))};r.__name__=["motion","_MotionPath","RotationPath"],r.__isInterface__=!1,r.__interfaces__=[n(6740).default],(r.prototype={calculate:function(t){var e=this._x.calculate(t)-this._x.calculate(t+this.step),n=this._y.calculate(t)-this._y.calculate(t+this.step),i=Math.atan2(n,e)*(180/Math.PI);return(i+this.offset)%360},get_start:function(){return this._start},set_start:function(t){return this._start},get_end:function(){return this.calculate(1)}}).__class__=r.prototype.constructor=i["motion._MotionPath.RotationPath"]=r,e.default=r},5481:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=(n(8941).Z,n(2803).Z);function o(){return n(3567)}function s(){return n(1446)}function a(){return n(6295)}var u=function(t,e,r){if(this.filterIndex=-1,o().default.call(this,t,e,r),a().default.is(r.filter,i.Class)){this.filterClass=r.filter,0==t.get_filters().length&&t.set_filters([n(4395).default.createInstance(this.filterClass,[])]);for(var s=0,u=t.get_filters();s<u.length;){var f=u[s];++s,a().default.is(f,this.filterClass)&&(this.filter=f)}}else this.filterIndex=r.filter,this.filter=t.get_filters()[this.filterIndex]};u.__name__=["motion","actuators","FilterActuator"],u.__isInterface__=!1,u.__super__=o().default,(u.prototype=r(o().default.prototype,{apply:function(){for(var t=0,e=s().default.fields(this.properties);t<e.length;){var n=e[t];++t,"filter"!=n&&s().default.setProperty(this.filter,n,s().default.field(this.properties,n))}this.setFilter()},initialize:function(){for(var t,e,i=0,r=s().default.fields(this.properties);i<r.length;){var o=r[i];++i,"filter"!=o&&(e=this.getField(this.filter,o),t=new(n(8230).default)(this.filter,o,e,s().default.field(this.properties,o)-e,s().default.hasField(this.filter,"set_"+o)),this.propertyDetails.push(t))}this.detailsLength=this.propertyDetails.length,this.initialized=!0},setFilter:function(){var t=this.target.get_filters();if(this.filterIndex>-1)t[this.filterIndex]=this.filter;else for(var e=0,n=t.length;e<n;){var i=e++;a().default.is(t[i],this.filterClass)&&(t[i]=this.filter)}this.setField(this.target,"filters",t)},update:function(t){o().default.prototype.update.call(this,t),this.setFilter()}})).__class__=u.prototype.constructor=i["motion.actuators.FilterActuator"]=u,e.default=u},5350:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;function r(){return n(1446)}function o(){return n(9694)}n(8941).Z;var s=function(t,e,n){this._autoVisible=!0,this._delay=0,this._reflect=!1,this._repeat=0,this._reverse=!1,this._smartRotation=!1,this._snapping=!1,this.special=!1,this.target=t,this.properties=n,this.duration=e,this._ease=o().default.defaultEase};s.__name__=["motion","actuators","GenericActuator"],s.__isInterface__=!1,s.__interfaces__=[n(7894).default],(s.prototype={apply:function(){for(var t=0,e=r().default.fields(this.properties);t<e.length;){var n=e[t];++t,r().default.hasField(this.target,n)?r().default.setField(this.target,n,r().default.field(this.properties,n)):r().default.setProperty(this.target,n,r().default.field(this.properties,n))}},autoVisible:function(t){return null==t&&(t=!0),this._autoVisible=t,this},callMethod:function(t,e){return null==e&&(e=[]),r().default.callMethod(t,t,e)},change:function(){null!=this._onUpdate&&this.callMethod(this._onUpdate,this._onUpdateParams)},complete:function(t){null==t&&(t=!0),t&&(this.change(),null!=this._onComplete&&this.callMethod(this._onComplete,this._onCompleteParams)),o().default.unload(this)},delay:function(t){return this._delay=t,this},ease:function(t){return this._ease=t,this},move:function(){},onComplete:function(t,e){return this._onComplete=t,this._onCompleteParams=null==e?[]:e,0==this.duration&&this.complete(),this},onRepeat:function(t,e){return this._onRepeat=t,this._onRepeatParams=null==e?[]:e,this},onUpdate:function(t,e){return this._onUpdate=t,this._onUpdateParams=null==e?[]:e,this},onPause:function(t,e){return this._onPause=t,this._onPauseParams=null==e?[]:e,this},onResume:function(t,e){return this._onResume=t,this._onResumeParams=null==e?[]:e,this},pause:function(){null!=this._onPause&&this.callMethod(this._onPause,this._onPauseParams)},reflect:function(t){return null==t&&(t=!0),this._reflect=t,this.special=!0,this},repeat:function(t){return null==t&&(t=-1),this._repeat=t,this},resume:function(){null!=this._onResume&&this.callMethod(this._onResume,this._onResumeParams)},reverse:function(t){return null==t&&(t=!0),this._reverse=t,this.special=!0,this},smartRotation:function(t){return null==t&&(t=!0),this._smartRotation=t,this.special=!0,this},snapping:function(t){return null==t&&(t=!0),this._snapping=t,this.special=!0,this},stop:function(t,e,n){}}).__class__=s.prototype.constructor=i["motion.actuators.GenericActuator"]=s,e.default=s},7894:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["motion","actuators","IGenericActuator"],r.__isInterface__=!0,(r.prototype={}).__class__=r.prototype.constructor=i["motion.actuators.IGenericActuator"]=r,e.default=r},5080:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=(n(8941).Z,n(2803).Z);function o(){return n(3567)}function s(){return n(1446)}var a=function(t,e,n){this.currentParameters=[],this.tweenProperties={},o().default.call(this,t,e,n),s().default.hasField(n,"start")||(this.properties.start=[]),s().default.hasField(n,"end")||(this.properties.end=this.properties.start);for(var i=0,r=this.properties.start.length;i<r;){var a=i++;this.currentParameters.push(this.properties.start[a])}};a.__name__=["motion","actuators","MethodActuator"],a.__isInterface__=!1,a.__super__=o().default,(a.prototype=r(o().default.prototype,{apply:function(){this.callMethod(this.target,this.properties.end)},complete:function(t){if(null==t&&(t=!0),this.initialized){for(var e=0,n=this.properties.start.length;e<n;){var i=e++;this.currentParameters[i]=s().default.field(this.tweenProperties,"param"+i)}this.callMethod(this.target,this.currentParameters)}o().default.prototype.complete.call(this,t)},initialize:function(){for(var t,e,i,r=0,o=this.properties.start.length;r<o;){var a=r++;e="param"+a,i=this.properties.start[a],s().default.setField(this.tweenProperties,e,i),("number"==typeof i||"number"==typeof i&&(0|i)===i)&&(t=new(n(8230).default)(this.tweenProperties,e,i,this.properties.end[a]-i),this.propertyDetails.push(t))}this.detailsLength=this.propertyDetails.length,this.initialized=!0},update:function(t){if(o().default.prototype.update.call(this,t),this.active&&!this.paused){for(var e=0,n=this.properties.start.length;e<n;){var i=e++;this.currentParameters[i]=s().default.field(this.tweenProperties,"param"+i)}this.callMethod(this.target,this.currentParameters)}}})).__class__=a.prototype.constructor=i["motion.actuators.MethodActuator"]=a,e.default=a},6911:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=(n(8941).Z,n(2803).Z);function o(){return n(3567)}function s(){return n(1446)}function a(){return n(4851)}function u(){return n(6740)}function f(){return n(9349)}var l=function(t,e,n){o().default.call(this,t,e,n)};l.__name__=["motion","actuators","MotionPathActuator"],l.__isInterface__=!1,l.__super__=o().default,(l.prototype=r(o().default.prototype,{apply:function(){for(var t=0,e=s().default.fields(this.properties);t<e.length;){var n=e[t];++t,s().default.hasField(this.target,n)?s().default.setField(this.target,n,a().default.__cast(s().default.field(this.properties,n),u().default).get_end()):s().default.setProperty(this.target,n,a().default.__cast(s().default.field(this.properties,n),u().default).get_end())}},initialize:function(){for(var t,e,n=0,i=s().default.fields(this.properties);n<i.length;){var r=i[n];if(++n,null!=(e=a().default.__cast(s().default.field(this.properties,r),u().default))){var o=!0;s().default.hasField(this.target,r)?e.set_start(s().default.field(this.target,r)):(o=!1,e.set_start(s().default.getProperty(this.target,r))),t=new(f().default)(this.target,r,e,o),this.propertyDetails.push(t)}}this.detailsLength=this.propertyDetails.length,this.initialized=!0},update:function(t){if(!this.paused){var e,n=(t-this.timeOffset)/this.duration;if(n>1&&(n=1),this.initialized||this.initialize(),this.special){e=this._reverse?this._ease.calculate(1-n):this._ease.calculate(n);for(var i=0,r=this.propertyDetails;i<r.length;){var o=r[i];++i,this._snapping?o.isField?s().default.setField(o.target,o.propertyName,Math.round(a().default.__cast(o,f().default).path.calculate(e))):s().default.setProperty(o.target,o.propertyName,Math.round(a().default.__cast(o,f().default).path.calculate(e))):o.isField?s().default.setField(o.target,o.propertyName,a().default.__cast(o,f().default).path.calculate(e)):s().default.setProperty(o.target,o.propertyName,a().default.__cast(o,f().default).path.calculate(e))}}else{e=this._ease.calculate(n);for(var u=0,l=this.propertyDetails;u<l.length;){var _=l[u];++u,_.isField?s().default.setField(_.target,_.propertyName,a().default.__cast(_,f().default).path.calculate(e)):s().default.setProperty(_.target,_.propertyName,a().default.__cast(_,f().default).path.calculate(e))}}if(1==n){if(0==this._repeat)return this.active=!1,this.toggleVisible&&0==this.getField(this.target,"alpha")&&this.setField(this.target,"visible",!1),void this.complete(!0);null!=this._onRepeat&&this.callMethod(this._onRepeat,this._onRepeatParams),this._reflect&&(this._reverse=!this._reverse),this.startTime=t,this.timeOffset=this.startTime+this._delay,this._repeat>0&&this._repeat--}this.sendChange&&this.change()}}})).__class__=l.prototype.constructor=i["motion.actuators.MotionPathActuator"]=l,e.default=l},8230:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(t,e,n,i,r){null==r&&(r=!0),this.target=t,this.propertyName=e,this.start=n,this.change=i,this.isField=r};r.__name__=["motion","actuators","PropertyDetails"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.actuators.PropertyDetails"]=r,e.default=r},9349:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=(n(8941).Z,n(2803).Z);function o(){return n(8230)}var s=function(t,e,n,i){null==i&&(i=!0),o().default.call(this,t,e,0,0,i),this.path=n};s.__name__=["motion","actuators","PropertyPathDetails"],s.__isInterface__=!1,s.__super__=o().default,(s.prototype=r(o().default.prototype,{})).__class__=s.prototype.constructor=i["motion.actuators.PropertyPathDetails"]=s,e.default=s},3567:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=n(8941).Z,o=n(2803).Z;function s(){return n(5350)}function a(){return r(n(6968))}function u(){return n(1446)}var f=function(t,e,n){this.active=!0,this.propertyDetails=[],this.sendChange=!1,this.paused=!1,this.cacheVisible=!1,this.initialized=!1,this.setVisible=!1,this.toggleVisible=!1,this.startTime=a().default.getTimer()/1e3,s().default.call(this,t,e,n),f.addedEvent||(f.addedEvent=!0,a().default.current.stage.addEventListener("enterFrame",f.stage_onEnterFrame))};f.__name__=["motion","actuators","SimpleActuator"],f.__isInterface__=!1,f.__super__=s().default,f.prototype=o(s().default.prototype,{reverse:function(t){var e,n=s().default.prototype.reverse.call(this,t);return e=a().default.getTimer()/1e3,this.update(e),n},apply:function(){s().default.prototype.apply.call(this),this.toggleVisible&&u().default.hasField(this.properties,"alpha")&&null!=this.getField(this.target,"visible")&&this.setField(this.target,"visible",u().default.field(this.properties,"alpha")>0)},autoVisible:function(t){return null==t&&(t=!0),this._autoVisible=t,t||(this.toggleVisible=!1,this.setVisible&&this.setField(this.target,"visible",this.cacheVisible)),this},delay:function(t){return this._delay=t,this.timeOffset=this.startTime+t,this},getField:function(t,e){return u().default.hasField(t,e)?u().default.field(t,e):u().default.getProperty(t,e)},initialize:function(){for(var t,e,i=0,r=u().default.fields(this.properties);i<r.length;){var o=r[i];++i;var s=!0;if(!u().default.hasField(this.target,o)||this.target.__properties__&&this.target.__properties__["set_"+o]?(s=!1,e=u().default.getProperty(this.target,o)):e=u().default.field(this.target,o),"number"==typeof e){var a=this.getField(this.properties,o);null==e&&(e=0),null==a&&(a=0),t=new(n(8230).default)(this.target,o,e,a-e,s),this.propertyDetails.push(t)}}this.detailsLength=this.propertyDetails.length,this.initialized=!0},move:function(){this.toggleVisible=u().default.hasField(this.properties,"alpha")&&n(6295).default.is(this.target,r(n(5513)).default),this.toggleVisible&&0!=this.properties.alpha&&!this.getField(this.target,"visible")&&(this.setVisible=!0,this.cacheVisible=this.getField(this.target,"visible"),this.setField(this.target,"visible",!0)),this.timeOffset=this.startTime,f.actuators.push(this),++f.actuatorsLength},onUpdate:function(t,e){return this._onUpdate=t,this._onUpdateParams=null==e?[]:e,this.sendChange=!0,this},pause:function(){this.paused||(this.paused=!0,s().default.prototype.pause.call(this),this.pauseTime=a().default.getTimer())},resume:function(){this.paused&&(this.paused=!1,this.timeOffset+=(a().default.getTimer()-this.pauseTime)/1e3,s().default.prototype.resume.call(this))},setField:function(t,e,n){!u().default.hasField(t,e)||t.__properties__&&t.__properties__["set_"+e]?u().default.setProperty(t,e,n):u().default.setField(t,e,n)},setProperty:function(t,e){t.isField?u().default.setField(t.target,t.propertyName,e):u().default.setProperty(t.target,t.propertyName,e)},stop:function(t,e,n){if(this.active){if(null==t)return this.active=!1,e&&this.apply(),void this.complete(n);for(var i=0,r=u().default.fields(t);i<r.length;){var o=r[i];if(++i,u().default.hasField(this.properties,o))return this.active=!1,e&&this.apply(),void this.complete(n)}}},update:function(t){if(!this.paused){var e,n,i=(t-this.timeOffset)/this.duration;if(i>1&&(i=1),this.initialized||this.initialize(),this.special){var r;n=this._reverse?this._ease.calculate(1-i):this._ease.calculate(i);for(var o=0,s=this.detailsLength;o<s;){var a=o++;if(e=this.propertyDetails[a],!this._smartRotation||"rotation"!=e.propertyName&&"rotationX"!=e.propertyName&&"rotationY"!=e.propertyName&&"rotationZ"!=e.propertyName)r=e.start+e.change*n;else{var u=e.change%360;u>180?u-=360:u<-180&&(u+=360),r=e.start+u*n}this._snapping?this.setProperty(e,Math.round(r)):this.setProperty(e,r)}}else{n=this._ease.calculate(i);for(var f=0,l=this.detailsLength;f<l;){var _=f++;e=this.propertyDetails[_],this.setProperty(e,e.start+e.change*n)}}if(1==i){if(0==this._repeat)return this.active=!1,this.toggleVisible&&0==this.getField(this.target,"alpha")&&this.setField(this.target,"visible",!1),void this.complete(!0);null!=this._onRepeat&&this.callMethod(this._onRepeat,this._onRepeatParams),this._reflect&&(this._reverse=!this._reverse),this.startTime=t,this.timeOffset=this.startTime+this._delay,this._repeat>0&&this._repeat--}this.sendChange&&this.change()}}}),f.prototype.__class__=f.prototype.constructor=i["motion.actuators.SimpleActuator"]=f,f.stage_onEnterFrame=function(t){for(var e,n=a().default.getTimer()/1e3,i=0,r=0,o=f.actuatorsLength;r<o;)r++,null!=(e=f.actuators[i])&&e.active?(n>=e.timeOffset&&e.update(n),++i):(f.actuators.splice(i,1),--f.actuatorsLength)},f.actuators=[],f.actuatorsLength=0,f.addedEvent=!1,e.default=f},4328:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=n(8941).Z,o=n(2803).Z;function s(){return n(3567)}function a(){return n(1446)}function u(){return r(n(7094))}function f(){return n(8230)}function l(){return r(n(805))}var _=function(t,e,n){s().default.call(this,t,e,n)};_.__name__=["motion","actuators","TransformActuator"],_.__isInterface__=!1,_.__super__=s().default,(_.prototype=o(s().default.prototype,{apply:function(){if(this.initialize(),null!=this.endColorTransform){var t=this.getField(this.target,"transform");this.setField(t,"colorTransform",this.endColorTransform)}null!=this.endSoundTransform&&this.setField(this.target,"soundTransform",this.endSoundTransform)},initialize:function(){a().default.hasField(this.properties,"colorValue")&&n(6295).default.is(this.target,r(n(5513)).default)&&this.initializeColor(),(a().default.hasField(this.properties,"soundVolume")||a().default.hasField(this.properties,"soundPan"))&&this.initializeSound(),this.detailsLength=this.propertyDetails.length,this.initialized=!0},initializeColor:function(){this.endColorTransform=new(u().default);var t,e,n=this.properties.colorValue,i=this.properties.colorStrength;i<1?(i<.5?(t=1,e=2*i):(t=1-2*(i-.5),e=1),this.endColorTransform.redMultiplier=t,this.endColorTransform.greenMultiplier=t,this.endColorTransform.blueMultiplier=t,this.endColorTransform.redOffset=e*(n>>16&255),this.endColorTransform.greenOffset=e*(n>>8&255),this.endColorTransform.blueOffset=e*(255&n)):(this.endColorTransform.redMultiplier=0,this.endColorTransform.greenMultiplier=0,this.endColorTransform.blueMultiplier=0,this.endColorTransform.redOffset=n>>16&255,this.endColorTransform.greenOffset=n>>8&255,this.endColorTransform.blueOffset=255&n);var r=["redMultiplier","greenMultiplier","blueMultiplier","redOffset","greenOffset","blueOffset"];a().default.hasField(this.properties,"colorAlpha")?(this.endColorTransform.alphaMultiplier=this.properties.colorAlpha,r.push("alphaMultiplier")):this.endColorTransform.alphaMultiplier=this.getField(this.target,"alpha");var o,s,l=this.getField(this.target,"transform"),_=this.getField(l,"colorTransform");this.tweenColorTransform=new(u().default);for(var d=0;d<r.length;){var c=r[d];++d,s=this.getField(_,c),o=new(f().default)(this.tweenColorTransform,c,s,this.getField(this.endColorTransform,c)-s),this.propertyDetails.push(o)}},initializeSound:function(){null==this.getField(this.target,"soundTransform")&&this.setField(this.target,"soundTransform",new(l().default));var t=this.getField(this.target,"soundTransform");this.endSoundTransform=this.getField(this.target,"soundTransform"),this.tweenSoundTransform=new(l().default),a().default.hasField(this.properties,"soundVolume")&&(this.endSoundTransform.volume=this.properties.soundVolume,this.propertyDetails.push(new(f().default)(this.tweenSoundTransform,"volume",t.volume,this.endSoundTransform.volume-t.volume))),a().default.hasField(this.properties,"soundPan")&&(this.endSoundTransform.pan=this.properties.soundPan,this.propertyDetails.push(new(f().default)(this.tweenSoundTransform,"pan",t.pan,this.endSoundTransform.pan-t.pan)))},update:function(t){if(s().default.prototype.update.call(this,t),null!=this.endColorTransform){var e=this.getField(this.target,"transform");this.setField(e,"colorTransform",this.tweenColorTransform)}null!=this.endSoundTransform&&this.setField(this.target,"soundTransform",this.tweenSoundTransform)}})).__class__=_.prototype.constructor=i["motion.actuators.TransformActuator"]=_,e.default=_},9713:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;function r(){return n(8838)}function o(){return n(4526)}function s(){return n(6835)}n(8941).Z;var a=function(){};a.__name__=["motion","easing","Back"],a.__isInterface__=!1,(a.prototype={}).__class__=a.prototype.constructor=i["motion.easing.Back"]=a,a.easeInWith=function(t){return new(r().default)(t)},a.easeInOutWith=function(t){return new(o().default)(t)},a.easeOutWith=function(t){return new(s().default)(t)},a.easeIn=new(r().default)(1.70158),a.easeInOut=new(o().default)(1.70158),a.easeOut=new(s().default)(1.70158),e.default=a},3227:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["motion","easing","Cubic"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.Cubic"]=r,r.easeIn=new(n(4645).default),r.easeInOut=new(n(19).default),r.easeOut=new(n(6156).default),e.default=r},6087:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;function r(){return n(4454)}function o(){return n(8630)}function s(){return n(1959)}n(8941).Z;var a=function(){};a.__name__=["motion","easing","Elastic"],a.__isInterface__=!1,(a.prototype={}).__class__=a.prototype.constructor=i["motion.easing.Elastic"]=a,a.easeInWith=function(t,e){return new(r().default)(t,e)},a.easeInOutWith=function(t,e){return new(o().default)(t,e)},a.easeOutWith=function(t,e){return new(s().default)(t,e)},a.easeIn=new(r().default)(.1,.4),a.easeInOut=new(o().default)(.1,.4),a.easeOut=new(s().default)(.1,.4),e.default=a},8811:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["motion","easing","Expo"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.Expo"]=r,r.easeIn=new(n(821).default),r.easeInOut=new(n(9637).default),r.easeOut=new(n(3830).default),e.default=r},5302:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["motion","easing","IEasing"],r.__isInterface__=!0,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.IEasing"]=r,e.default=r},7064:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["motion","easing","Linear"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.Linear"]=r,Object.defineProperties(r,{easeNone:{get:function(){return r.get_easeNone()}}}),r.get_easeNone=function(){return new(n(2753).default)},e.default=r},2753:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["motion","easing","LinearEaseNone"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return t},ease:function(t,e,n,i){return n*t/i+e}}).__class__=r.prototype.constructor=i["motion.easing.LinearEaseNone"]=r,e.default=r},5391:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["motion","easing","Quad"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.Quad"]=r,r.easeIn=new(n(5452).default),r.easeInOut=new(n(7170).default),r.easeOut=new(n(2316).default),e.default=r},8227:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["motion","easing","Quart"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.Quart"]=r,r.easeIn=new(n(7842).default),r.easeInOut=new(n(5090).default),r.easeOut=new(n(1858).default),e.default=r},1536:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["motion","easing","Quint"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.Quint"]=r,r.easeIn=new(n(214).default),r.easeInOut=new(n(8707).default),r.easeOut=new(n(98).default),e.default=r},784:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(){};r.__name__=["motion","easing","Sine"],r.__isInterface__=!1,(r.prototype={}).__class__=r.prototype.constructor=i["motion.easing.Sine"]=r,r.easeIn=new(n(741).default),r.easeInOut=new(n(8253).default),r.easeOut=new(n(207).default),e.default=r},8838:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(t){this.s=t};r.__name__=["motion","easing","_Back","BackEaseIn"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return t*t*((this.s+1)*t-this.s)},ease:function(t,e,n,i){return n*(t/=i)*t*((this.s+1)*t-this.s)+e}}).__class__=r.prototype.constructor=i["motion.easing._Back.BackEaseIn"]=r,e.default=r},4526:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(t){this.s=t};r.__name__=["motion","easing","_Back","BackEaseInOut"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return(t/=.5)<1?t*t*((1+(this.s*=1.525))*t-this.s)*.5:.5*((t-=2)*t*((1+(this.s*=1.525))*t+this.s)+2)},ease:function(t,e,n,i){return(t/=i/2)<1?n/2*(t*t*((1+(this.s*=1.525))*t-this.s))+e:n/2*((t-=2)*t*((1+(this.s*=1.525))*t+this.s)+2)+e}}).__class__=r.prototype.constructor=i["motion.easing._Back.BackEaseInOut"]=r,e.default=r},6835:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(t){this.s=t};r.__name__=["motion","easing","_Back","BackEaseOut"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return--t*t*((this.s+1)*t+this.s)+1},ease:function(t,e,n,i){return n*((t=t/i-1)*t*((this.s+1)*t+this.s)+1)+e}}).__class__=r.prototype.constructor=i["motion.easing._Back.BackEaseOut"]=r,e.default=r},4645:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["motion","easing","_Cubic","CubicEaseIn"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return t*t*t},ease:function(t,e,n,i){return n*(t/=i)*t*t+e}}).__class__=r.prototype.constructor=i["motion.easing._Cubic.CubicEaseIn"]=r,e.default=r},19:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["motion","easing","_Cubic","CubicEaseInOut"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},ease:function(t,e,n,i){return(t/=i/2)<1?n/2*t*t*t+e:n/2*((t-=2)*t*t+2)+e}}).__class__=r.prototype.constructor=i["motion.easing._Cubic.CubicEaseInOut"]=r,e.default=r},6156:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z,r=function(){};r.__name__=["motion","easing","_Cubic","CubicEaseOut"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return--t*t*t+1},ease:function(t,e,n,i){return n*((t=t/i-1)*t*t+1)+e}}).__class__=r.prototype.constructor=i["motion.easing._Cubic.CubicEaseOut"]=r,e.default=r},4454:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(t,e){this.a=t,this.p=e};r.__name__=["motion","easing","_Elastic","ElasticEaseIn"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){return 0==t?0:1==t?1:(this.a<1?(this.a=1,e=this.p/4):e=this.p/(2*Math.PI)*Math.asin(1/this.a),-this.a*Math.exp(6.931471805599453*--t)*Math.sin((t-e)*(2*Math.PI)/this.p));var e},ease:function(t,e,n,i){return 0==t?e:1==(t/=i)?e+n:(this.a<Math.abs(n)?(this.a=n,r=this.p/4):r=this.p/(2*Math.PI)*Math.asin(n/this.a),-this.a*Math.exp(6.931471805599453*--t)*Math.sin((t*i-r)*(2*Math.PI)/this.p)+e);var r}}).__class__=r.prototype.constructor=i["motion.easing._Elastic.ElasticEaseIn"]=r,e.default=r},8630:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:this).Object.defineProperty(e,"__esModule",{value:!0});var i=n(9588).Z;n(8941).Z;var r=function(t,e){this.a=t,this.p=e};r.__name__=["motion","easing","_Elastic","ElasticEaseInOut"],r.__isInterface__=!1,r.__interfaces__=[n(5302).default],(r.prototype={calculate:function(t){if(0==t)return 0;if(2==(t/=.5))return 1;var e=.44999999999999996,n=e/4;return t<1?Math.exp(6.931471805599453*--t)*Math.sin((t-n)*(2*Math.PI)/e)*-.5:Math.exp(-6.931471805599453*--t)*Math.sin((t-n)*(2*Math.PI)/e)*.5+1},ease:function(t,e,n,i){return 0==t?e:2==(t/=i/2)?e+n:(this.a<Math.abs(n)?(this.a=n,r=this.p/4):r=this.p/(2*Math.PI)*Math.asin(n/this.a),t<1?this.a*Math.exp(6.931471805599453*--t)*Math.sin((t*i-r)*(2*Math.PI)/this.p)*-.5+e:this.a*Math.exp(-6.931471805599453*--t)*Math.sin((t*i-r)*(2*Math.PI)/this.p)*.5+n+e);var r}}).__class__=r.prototype.constructor=i["motion.easing._Elastic.ElasticEaseInOut"]=r,e.default=r},1959:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof