text: /* anim8js-pixi 1.0.2 - anim8 PixiJS (http://www.pixijs.com/) by Philip Diffenderfer */
  !function(a,t){"function"==typeof define&&define.amd?define(["anim8js"],function(e){return t(e,a)}):"object"==typeof module&&module.exports?module.exports=t(require("anim8js"),global):t(a.anim8,a)}(this,function(a,t){function e(a){var t=p(Math.floor(a.r),0,255),e=p(Math.floor(a.g),0,255),l=p(Math.floor(a.b),0,255);return t<<16|e<<8|l}function l(a){return V(a)&&a in y?y[a]:y["default"]}function u(a){return!!(V(a)&&a in g)&&g[a]}function i(){this.priority=3,this.attributes={}}function n(a){this.reset(a),this.dynamics=new r}var r=a.FastMap,o=a.Animator,d=a.Factory,c=a.Class,f=a.Color,s=a.isObject,h=a.isArray,V=a.isString,m=a.calculator,p=a.clamp,y={};y["default"]={defaultValue:0},y.maxX={defaultValue:0},y.minX={defaultValue:0},y.maxY={defaultValue:0},y.minY={defaultValue:0},y.padding={defaultValue:0},y.resolution={defaultValue:1},y.alpha={defaultValue:1},y.height={defaultValue:0},y.pivot={defaultValue:0,calculator:"2d"},y.pivotX={defaultValue:0,dynamic:"pivotX"},y.pivotY={defaultValue:0,dynamic:"pivotY"},y.position={defaultValue:0,calculator:"2d"},y.rotation={defaultValue:0},y.scale={defaultValue:1,calculator:"2d"},y.scaleX={defaultValue:1,dynamic:"scaleX"},y.scaleY={defaultValue:1,dynamic:"scaleY"},y.skew={defaultValue:1,calculator:"2d"},y.skewX={defaultValue:1,dynamic:"skewX"},y.skewY={defaultValue:1,dynamic:"skewY"},y.anchor={defaultValue:1,calculator:"2d"},y.anchorX={defaultValue:1,dynamic:"anchorX"},y.anchorY={defaultValue:1,dynamic:"anchorY"},y.width={defaultValue:0},y.x={defaultValue:0},y.y={defaultValue:0},y.blur={defaultValue:2},y.blurX={defaultValue:2},y.blurY={defaultValue:2},y.quality={defaultValue:1},y.radius={defaultValue:0},y.canvasPadding={defaultValue:0},y.boundsPadding={defaultValue:0},y.fillAlpha={defaultValue:1},y.fill={defaultValue:f(),calculator:"rgba",dynamic:"fill"},y.fillColor={defaultValue:f(),calculator:"rgba",dynamic:"fill"},y.lineColor={defaultValue:f(),calculator:"rgba",dynamic:"lineColor"},y.lineWidth={defaultValue:0},y.lineAlignment={defaultValue:.5},y.tint={defaultValue:f(),calculator:"rgb",dynamic:"tint"},y.noise={defaultValue:.5},y.seed={defaultValue:Math.random()},y.tilePosition={defaultValue:0,calculator:"2d"},y.tileScale={defaultValue:1,calculator:"2d"},y.cursor={defaultValue:"inherit",calculator:"string"},y.dropShadowAlpha={defaultValue:1},y.dropShadowAngle={defaultValue:Math.PI/4},y.dropShadowBlur={defaultValue:1},y.dropShadowDistance={defaultValue:5},y.dropShadowColor={defaultValue:f(0,0,0),calculator:"rgba",dynamic:"dropShadowColor"},y.animationSpeed={defaultValue:1},y.text={defaultValue:"",calculator:"string"},y.fontSize={defaultValue:12},y.leading={defaultValue:0},y.letterSpacing={defaultValue:0},y.lineHeight={defaultValue:0},y.lineJoin={defaultValue:"miter",calculator:"string"},y.miterLimit={defaultValue:0},y.stroke={defaultValue:f(),calculator:"rgba",dynamic:"stroke"},y.strokeThickness={defaultValue:0},y.wordWrapWidth={defaultValue:100};var g={};return g.scaleX=function(a,t){t.scale.x=a},g.scaleY=function(a,t){t.scale.y=a},g.pivotX=function(a,t){t.pivot.x=a},g.pivotY=function(a,t){t.pivot.y=a},g.skewX=function(a,t){t.skew.x=a},g.skewX=function(a,t){t.skew.y=a},g.anchorX=function(a,t){t.anchor.x=a},g.anchorY=function(a,t){t.anchor.y=a},g.color=function(a,t){t.color=f.format(a)},g.lineColor=function(a,t){t.lineColor=e(a)},g.fill=function(a,t){t.fill=f.format(a)},g.stroke=function(a,t){t.stroke=f.format(a)},g.dropShadowColor=function(a,t){t.dropShadowColor=f.format(a)},g.tint=function(a,t){t.tint=e(a)},c.extend(i,d,{is:function(a){return s(a)&&!h(a)},animatorFor:function(a){var t=a.$animator;return t||(t=new n(a),t.factory=this,a.$animator=t),t},destroy:function(a){delete a.subject.$animator},attribute:function(a){var t=this.attributes[a];if(!t){t=this.attributes[a]=l(a);var e=t.calculator,i=m(e),n=i.parse(t.defaultValue,i.ZERO),r=t.dynamic,o=u(r);t.calculatorName=e,t.calculator=i,t.defaultValue=n,t.name=a,t.dynamicName=r,t.dynamic=o,t.parse=function(a,t){return this.calculator.parse(a,this.defaultValue,t)},t.cloneDefault=function(){return this.calculator.clone(this.defaultValue)}}return t}}),c.extend(n,o,{placeAttrimator:function(a){this._placeAttrimator(a);var t=a.attribute,e=this.getAttribute(t),l=e.dynamic;return l&&this.dynamics.put(t,l),this},preupdate:function(a){var t=this.attrimatorsAdded;if(t.length){for(var e=0;e<t.length;e++){var l=t[e],u=l.attribute,i=this.dynamics.get(u);u in this.subject?i?this.setDefault(u):this.frame[u]=this.subject[u]:this.setDefault(u),l.start(a,this)}t.length=0}return this.trigger("preupdate"),this},apply:function(){for(var a in this.frame){var t=this.dynamics.get(a);this.updated[a]&&t&&(t(this.frame[a],this.subject),this.updated[a]=!1)}return this._apply(),this}}),a.Factories.pixi=new i,a.AnimatorPixi=n,a.FactoryPixi=i,a.pixi={Attributes:y,attribute:l,Dynamics:g,dynamic:u,getRGB:e},a});
  //# sourceMappingURL=anim8js-pixi.min.js.map
  