forked from Popmotion/popmotion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popmotion.global.min.js
2 lines (2 loc) · 39.2 KB
/
popmotion.global.min.js
1
2
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";var r=n(44),i=window.ui;window.ui=window.popmotion=r,window.ui.noConflict=function(){window.ui=i}},function(t,e,n){"use strict";var r=["scope","dom"],i=function(t){return-1!==r.indexOf(t)},s=function(t){return Object.prototype.toString.call(t).slice(8,-1)};t.exports={each:function(t,e){for(var n=Object.keys(t),r=n.length,i=0;r>i;i++){var s=n[i],o=t[s];if(e(s,o)===!1)break}},hasChanged:function o(t,e){var o=!1,n="";for(n in e)t.hasOwnProperty(n)&&e.hasOwnProperty(n)?t[n]!==e[n]&&(o=!0):o=!0;return o},isNum:function(t){return"number"==typeof t},isObj:function(t){return"object"==typeof t},isFunc:function(t){return"Function"===s(t)},isString:function(t){return"string"==typeof t},isRelativeValue:function(t){return t&&t.indexOf&&t.indexOf("=")>0},isArray:function(t){return"Array"===s(t)},copy:function(t){return this.isArray(t)?this.copyArray(t):this.copyObject(t)},copyObject:function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=this.isObj(t[n])&&!i(n)?this.copy(t[n]):t[n]);return e},copyArray:function(t){for(var e=[],n=t.length,r=0;n>r;r++)e[r]=t[r];return e},merge:function(t,e){return this.isArray(t)?this.copyArray(e):this.mergeObject(t,e)},mergeObject:function(t,e){var n=this.isObj(t),r=n?this.copy(t):this.copy(e),s="";if(n)for(s in e)e.hasOwnProperty(s)&&(r[s]=this.isObj(e[s])&&!i(s)?this.merge(t[s],e[s]):e[s]);return r},splitValUnit:function(t){var e=t.match(/(-?\d*\.?\d*)(.*)/);return{value:e[1],unit:e[2]}},stepProgress:function(t,e){var n=1/(e-1),r=1-1/e,i=Math.min(t/r,1);return Math.floor(i/n)*n},currentTime:function(){return"undefined"!=typeof performance?performance.now():(new Date).getTime()}}},function(t,e,n){"use strict";var r=n(1),i={angle:function(t,e){var n=e?t:{x:0,y:0},r=e||t,i={x:r.x-n.x,y:r.y-n.y};return this.angleFromCenter(i.x,i.y)},angleFromCenter:function(t,e){return this.radiansToDegrees(Math.atan2(e,t))},degreesToRadians:function(t){return t*Math.PI/180},dilate:function(t,e,n){return t+(e-t)*n},distance:function(t,e){return"number"==typeof t?this.distance1D(t,e):this.distance2D(t,e)},distance1D:function(t,e){var n="number"==typeof e,r=n?t:0,i=n?e:t;return o(i-r)},distance2D:function(t,e){var n="object"==typeof e,r=n?t:{x:0,y:0},i=n?e:t,s={x:o(i.x-r.x),y:o(i.y-r.y)};return this.hypotenuse(s.x,s.y)},hypotenuse:function(t,e){var n=t*t,r=e*e,i=n+r;return Math.sqrt(i)},offset:function a(t,e){var a={};for(var n in e)e.hasOwnProperty(n)&&(t.hasOwnProperty(n)?a[n]=e[n]-t[n]:a[n]=0);return s(a.x)&&s(a.y)&&(a.angle=this.angle(t,e),a.distance=this.distance2D(t,e)),a},pointFromAngleAndDistance:function(t,e,n){var r={};return r.x=n*Math.cos(e)+t.x,r.y=n*Math.sin(e)+t.y,r},progress:function u(t,e,n){var r="number"==typeof n,i=r?e:0,s=r?n:e,o=s-i,u=(t-i)/o;return u},radiansToDegrees:function(t){return 180*t/Math.PI},random:function(){var t=arguments.length<=0||void 0===arguments[0]?0:arguments[0],e=arguments.length<=1||void 0===arguments[1]?1:arguments[1];return Math.random()*(e-t)+t},relativeValue:function(t,e){var n=t,i=e.split("="),s=i[0],o=r.splitValUnit(i[1]);switch(s){case"+":n+=o.value;break;case"-":n-=o.value;break;case"*":n*=o.value;break;case"/":n/=o.value}return o.unit&&(n+=o.unit),n},restricted:function c(t,e,n){var c=void 0!==e?Math.max(t,e):t;return c=void 0!==n?Math.min(c,n):c},speedPerFrame:function(t,e){return s(t)?t/(1e3/e):0},speedPerSecond:function(t,e){return t*(1e3/e)},value:function(t,e,n){var r="number"==typeof n,i=r?e:0,s=r?n:e;return-t*i+t*s+i},valueEased:function(t,e,n,r){var i=r(t);return this.value(i,e,n)}},s=r.isNum,o=Math.abs;t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(2),s=n(1),o=s.each,a=n(16),u="current",c=["onStart","onFrame","onUpdate","onComplete"],p=function(){function t(e){r(this,t);var n=this;s.each(this.getDefaultProps(),function(t,e){n[t]=e}),this.values={},this.set(e,this.getDefaultValueProp())}return t.prototype.set=function(){var t=this,e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=arguments.length<=1||void 0===arguments[1]?u:arguments[1];return o(e,function(e,n){"values"!==e&&(t[e]=n)}),e.values&&!function(){var r=t.values,i=e.values;o(i,function(t,e){var i=r[t],o={};s.isObj(e)?o=e:o[n]=e,r[t]=i?s.merge(i,o):o})}(),this},t.prototype.process=function(t,e){return e.current},t.prototype.hasEnded=function(){return!0},t.prototype.limit=function(t,e){var n=i.restricted(t,e.min,e.max),r=void 0!==e.escapeAmp?e.escapeAmp:0;return n+(t-n)*r},t.prototype.getControls=function(){return a},t.prototype.getDefaultProps=function(){return{}},t.prototype.getDefaultValue=function(){return{}},t.prototype.getDefaultValueProp=function(){return u},t.prototype.getSet=function(){var t=this,e={values:this.values};return o(this,function(n,r){t.hasOwnProperty(n)&&-1===c.indexOf(n)&&(e[n]=r)}),e},t.prototype.extend=function(t){return new this.constructor(s.merge(this,t),this.getDefaultValueProp())},t.prototype.getPlayable=function(){return this.extend()},t.prototype.activate=function(){return this.isActive=!0,this},t.prototype.deactivate=function(){return this.isActive=!1,this},t}();t.exports=p},function(t,e,n){"use strict";var r=n(1),i=r.each,s=function(t){var e=this;e._map={},i(t,function(t,n){e[t]=r.isObj(n)?r.copy(n):n})},o=function(t,e){var n=new s(t);return i(e,function(t,e){n._map[t]=e}),n};s.prototype={map:function(t){return r.isString(t)?this._map[t]||t:o(this,t)}},t.exports=s},function(t,e,n){"use strict";var r="X",i="Y",s="Alpha",o={colors:["Red","Green","Blue",s],positions:[r,i,"Z"],dimensions:["Top","Right","Bottom","Left"],shadow:[r,i,"Radius","Spread","Color"],hsl:["Hue","Saturation","Lightness",s]};t.exports=o},function(t,e,n){"use strict";t.exports=function(t,e,n,r){for(var i="",s="",o=0,a=e.length;a>o;o++)s=e[o],t.hasOwnProperty(s)&&(i+=t[s]+n);return r&&(i=i.slice(0,-r)),i}},function(t,e,n){"use strict";t.exports={defaultProps:{unit:"px"}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(20),o=n(41),a=n(1),u=n(17),c=n(39),p=n(15),h=n(52),f=n(21),l=n(25),v=n(24),d=n(3),m=a.each,g=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];r(this,t);var n=a.isString(e)?{element:e}:e;this.values={},this.state={values:{}},this.queue=new o,this.process=new s(this,c),this.activeActions={},this.numActive=0,this.actionCounter=0,this.activeValues=[],this.activeParents=[],a.isString(n.element)&&(n.element=u(n.element)[0]),this.assignRoles(n.element,n.as,!0),this.set(n),this.initRoles()}return t.prototype.set=function(t){var e=this;return m(t,function(t,n){"values"!==t&&"action"!==t&&(e[t]=n)}),t&&t.values&&(this.values=p.process(this.values,t.values,t,"current",this)),m(this.activeActions,function(t,n){var r=!1;m(e.values,function(t,e){r=e.action===n?!0:r}),r||e.unbindAction(t)}),this},t.prototype.controls=function(t){var e=t.getControls();return new e(this,t.getPlayable())},t.prototype.start=function(t,e){var n=a.isNum(t),r=n?this.getAction(t):t.getPlayable(),i=r.getSet(),s=arguments[arguments.length-1]===!1;if(i.action=r,this.set(i),e&&r.bindInput(e),s||this.queue.clear(),!this.isActive)for(var o=this.roles.length,u=0;o>u;u++){var c=this.roles[u];c.start&&c.start.call(this)}if(!r.isActive&&r.onStart&&r.onStart(),this.activate(),!n){var p=r.getControls();return new p(this,r,!0)}},t.prototype.pause=function(){return this.isActive=!1,m(this.activeActions,function(t,e){return e.deactivate()}),this.process.stop(),this},t.prototype.resume=function(){return this.isActive=!0,m(this.activeActions,function(t,e){return e.activate()}),this.process.start(),this},t.prototype.stop=function(){var t=this;return this.pause(),m(this.activeActions,function(e){return t.unbindAction(e)}),this},t.prototype.toggle=function(){return this.isActive?this.pause():this.resume()},t.prototype.sync=function(){return this.start(new d({values:this.values}))},t.prototype.then=function(){return this.queue.add.apply(this.queue,arguments),this},t.prototype.next=function e(){var e=this.queue.next();return e?a.isFunc(e[0])?(e[0](),this.next()):(e.push(!1),this.start.apply(this,e)):this.stop(),this},t.prototype.assignRoles=function(t,e,n){this.roles=[h],!e&&t?this.autoAssignRoles(t):e&&(a.isArray(e)?this.roles.push.apply(this.roles,e):this.roles.push(e)),n||this.initRoles()},t.prototype.autoAssignRoles=function(t){t instanceof HTMLElement?this.roles.push(f):t instanceof SVGElement&&(this.roles.push(l),"path"===t.tagName&&this.roles.push(v))},t.prototype.initRoles=function(){var t=this;this.roles.forEach(function(e){e.init&&e.init.call(t)})},t.prototype.activate=function(){this.isActive||(this.isActive=!0,this.firstFrame=!0,this.process.start())},t.prototype.bindAction=function(t,e){return void 0===e&&(e=this.actionCounter++),this.hasAction(e)||(this.activeActions[e]=t,this.numActive++),e},t.prototype.unbindAction=function(t){this.activeActions.hasOwnProperty(t)&&(this.numActive--,delete this.activeActions[t]),this.numActive||this.stop()},t.prototype.getAction=function(t){return this.activeActions[t]},t.prototype.hasAction=function(t){return void 0!==this.getAction(t)},t.prototype.updateOrder=function(t,e,n){var r=n?this.activeParents:this.activeValues,i=r.indexOf(t);(-1===i||e)&&(r.push(t),i>-1&&r.splice(i,1))},i(t,[{key:"isActive",get:function(){return this._isActive},set:function(t){t===!0&&(this.hasChanged=t),this._isActive=t}}]),t}();t.exports=g},function(t,e,n){"use strict";var r=n(4),i=n(1).each,s=new r({update:function(t){var e=this;i(t,function(t,n){s.set(e.element,t,n)})},get:function(t,e){return t.getAttribute(e)},set:function(t,e,n){t.setAttribute(e,n)}});t.exports=s},function(t,e,n){"use strict";var r=n(1).each,i=function(){};i.prototype={extend:function(t,e){var n=this,i="object"==typeof t,s=i?t:{};i||(s[t]=e),r(s,function(t,e){n[t]=e})},defaultProps:function s(t,e){var n=this[t],s=n.defaultProps?n.defaultProps[e]||n.defaultProps:{};return s},test:function(t){var e=!1;return r(this,function(n,r){r.test&&r.test(t)&&(e=n)}),e}},t.exports=new i},function(t,e,n){"use strict";t.exports=function(t){return"string"==typeof t?t.split(" "):[t]}},function(t,e,n){"use strict";var r=n(6),i=n(30),s=n(29),o=n(31),a=o.color,u=n(5).colors;t.exports={defaultProps:{Red:a,Green:a,Blue:a,Alpha:o.opacity},test:function(t){return t&&t.indexOf("rgb")>-1},split:function(t){return i(t,u)},combine:function(t){return s(r(t,u,", ",2),"rgba")}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}var s=n(3),o=n(2),a=n(1),u=a.each,c=n(38),p=n(15),h=n(37),f={loop:"restart",yoyo:"reverse",flip:"flipValues"},l=function(t,e,n,r){var i=o.restricted(t,0,1),s=a.isString(r)?c[r]:r;return o.valueEased(i,e,n,s)},v="count",d=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.getControls=function(){return h},e.prototype.getDefaultProps=function(){return{delay:0,dilate:1,duration:300,loop:!1,yoyo:!1,flip:!1,playDirection:1,ended:!0,elapsed:0}},e.prototype.getDefaultValue=function(){return{delay:0,duration:300,ease:"easeOut",stagger:0,steps:0,to:0,round:!1}},e.prototype.getDefaultValueProp=function(){return"to"},e.prototype.onFrameStart=function(t,e){this.elapsed=this.elapsed||0,e&&(this.elapsed+=e*t.dilate*this.playDirection,this.ended=!0)},e.prototype.process=function(t,e){var n,r=e.to,i=1===this.playDirection?1:0,s=e.current;return void 0!==r&&(n=o.restricted(o.progress(this.elapsed-e.delay,e.duration)-e.stagger,0,1),n!==i&&(this.ended=!1),e.steps&&(n=a.stepProgress(n,e.steps)),s=l(n,e.origin,r,e.ease)),s},e.prototype.hasEnded=function(t){var e=this;return this.ended&&u(f,function(n,r){return e.checkNextStep(t,n,e[r])?(e.ended=!1,t.hasChanged=!0,!1):void 0}),this.ended},e.prototype.checkNextStep=function(t,e,n){var r=!1,i=this[e],s=this[e+v]||0,o=i===!0;return(o||a.isNum(i))&&(++s,this[e+v]=s,(o||i>=s)&&(n.call(this,t),r=!0)),r},e.prototype.flipValues=function(t){var e=t.values;this.elapsed=this.duration-this.elapsed,u(this.values,function(t){var n=e[t];n.children&&u(n.children,function(n){p.flip(e[t+n])}),p.flip(n)})},e.prototype.reverse=function(){this.playDirection*=-1},e.prototype.restart=function(){this.elapsed=1===this.playDirection?0:this.duration,this.started=a.currentTime()},e}(s);t.exports=d},function(t,e,n){"use strict";var r=n(36),i=function(t,e){return.5>=t?e(2*t)/2:(2-e(2*(1-t)))/2},s=function(t,e){return 1-e(1-t)},o=function(t,e,n,o){var a,u=t;return arguments.length>1?a=new r(t,e,n,o):(a=function(t){return u(t)},a["in"]=function(t){return u(t)},a.out=function(t){return s(t,u)},a.inOut=function(t){return i(t,u)}),a};t.exports=o},function(t,e,n){"use strict";function r(t){return d.indexOf(t)>-1}function i(t,e){var n;return v(e,function(e,r){r._typeMap&&(n=r._typeMap[r.map(t)]||n)}),n}function s(t,e,n,r){var s;return t&&t.type?s=t.type:(n.roles&&(s=i(r,n.roles)),!s&&f.isString(e.current)&&(s=p.test(e.current))),s}function o(t,e,n,i){var s=r(t);return f.isFunc(e)&&s&&(e=e.call(i,i)),f.isString(e)&&(e.indexOf("=")>0&&(e=h.relativeValue(n.current,e)),s&&u(e,n)),s&&(e=parseFloat(e)),e}function a(t,e,n,r){for(var i={},s=0,o=function(){var t=d[s],o={};if(e.hasOwnProperty(t)){var a=e[t];if(f.isFunc(a)&&(a=a.call(n,n)),!f.isString(a))return"continue";o=r.split(a),v(o,function(n,r){i[n]=i[n]||f.copy(p.defaultProps(e.type,n)),i[n][t]=r,f.isString(o[n])&&u(i[n][t],i[n])})}};m>s;s++){o()}return i}function u(t,e){if(f.isNum(t))return t;var n=t,r=f.splitValUnit(t),i=r.value,s=r.unit;return isNaN(i)||(n=i,s&&(e.unit=s)),n}function c(t,e,n,r){var i={};return v(e,function(e,o){var u=t[e],c={};if(f.isObj(o)?c=o:c[r]=o,c.type=s(u,c,n,e),c.watch=f.isString(c.watch)?c.watch:void 0,i[e]=c,c.type){var h=p[c.type];if(h.split){var l=a(e,c,n,h);c.children={},v(l,function(t,n){n=f.merge(c,n),n.parent=n.name=e,n.propName=t,delete n.type,delete n.children,c.children[t]=i[e+t]=n}),h.template&&(c.template=u?u.template:h.template(c.current))}else i[e]=f.merge(p.defaultProps(c.type,e),c)}}),i}var p=n(10),h=n(2),f=n(1),l=f.isNum,v=f.each,d=["current","to","min","max","velocity","friction","spring"],m=d.length,g={current:0,velocity:0,speed:0,frameChange:0};t.exports={flip:function(t){var e=void 0!==t.target?t.target:t.current;t.target=t.to=t.origin,t.origin=e},process:function(t,e,n,r,i){t=t||{},r=r||"current";var s=c(t,e,i,r);return v(s,function(e,r){var s=t[e]||f.copy(g),a=void 0!==r.children,u=n.action?n.action.getDefaultValue():{};r.action=n.action,v(u,function(t,e){s[t]=n.hasOwnProperty(t)&&!r.hasOwnProperty(t)?n[t]:e}),v(r,function(t,e){void 0===e||l(e)||a||(e=o(t,e,s,i)),s[t]=e,"to"===t&&(s.target=s.to)}),s.origin=s.current,s.hasRange=l(s.min)||l(s.max)?!0:!1,t[e]=s,i.updateOrder(e,f.isString(s.watch),a)}),t}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(e,n,i){r(this,t),this.actor=e,this.action=n,i&&(this.id=this.bindAction(),this.action.activate())}return t.prototype.start=function(t){return this.id=this.bindAction(),this.actor.start(this.id,t),this.action.activate(),this},t.prototype.stop=function(){return this.actor.unbindAction(this.id),this.action.deactivate(),this},t.prototype.pause=function(){return this.action.deactivate(),this},t.prototype.resume=function(){return this.action.activate(),this},t.prototype.toggle=function(){var t=this.actor.hasAction(this.id)?this.resume:this.start;return this.action.isActive?this.pause():t.call(this)},t.prototype.then=function(){var t;return(t=this.actor).then.apply(t,arguments),this},t.prototype.bindAction=function(){return this.actor.bindAction(this.action,this.id)},t}();t.exports=i},function(t,e,n){"use strict";t.exports=function(t){var e="string"==typeof t?document.querySelectorAll(t):t,n=[];return e.get?n=e.get():e.length?n=[].slice.call(e):n.push(e),n}},function(t,e,n){"use strict";var r=n(2),i=n(1),s=n(40),o=function(){var t=arguments.length-1;this.current={},this.offset={},this.velocity={},this.history=new s,this.update(arguments[0],arguments[1]),i.isFunc(arguments[t])&&(this.poll=arguments[t])};o.prototype={maxInactiveFrames:2,inactiveFrames:0,get:function(t){var e=this.history.get(),n=void 0!==t?e[t]:e;return n},update:function(t,e){var n={};return i.isNum(e)?n[t]=e:n=t,this.history.add(i.merge(this.current,n)),this},onFrame:function(t){var e,n;if(t!==this.lastFrame)return e=this.poll?this.poll():this.history.get(),n=i.hasChanged(this.current,e),n?(this.velocity=r.offset(this.current,e),this.current=e,this.inactiveFrames=0):this.inactiveFrames>=this.maxInactiveFrames?this.velocity=r.offset(this.current,this.current):this.inactiveFrames++,this.lastFrame=t,this}},t.exports=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;e>r;r++)n[r-1]=arguments[r];return a.isString(t)?function(e){return e[t].apply(e,n)}:t}var s=n(8),o=n(13),a=n(1),u="linear",c=function(){function t(e){r(this,t),this.clear(),e&&this.add(e),this._stagger=new s}return t.prototype.add=function(t){return this.members=this.members.concat(t),this},t.prototype.clear=function(){return this.members=[],this},t.prototype.each=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;e>r;r++)n[r-1]=arguments[r];var s=i.apply(void 0,[t].concat(n));return this.members.forEach(s),this},t.prototype.eachIntoNew=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),s=1;n>s;s++)r[s-1]=arguments[s];var o=i.apply(void 0,[e].concat(r)),a=new t;return this.members.forEach(function(t){return a.add(o(t))}),a},t.prototype.stagger=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),s=2;n>s;s++)r[s-2]=arguments[s];var c=a.copyArray(this.members),p=c.length,h=a.isNum(e),f=h?e:e.interval,l={},v=-1,d=i.apply(void 0,[t].concat(r));return l.values={i:{current:-.6,duration:f*p,ease:h?u:e.ease||u,round:!0,to:p-.6}},l.onUpdate=function(t){var e=t.i,n=v+1;if(e===v+1)d(c[n],n);else for(;e>=n;n++)d(c[n],n);v=e},this._stagger.start(new o(l)),this},t.prototype.reverse=function(){return this.members.reverse(),this},t}();t.exports=c},function(t,e,n){"use strict";var r=n(47),i=function(t,e){var n=void 0!==e;this.callback=n?e:t,this.scope=n?t:this,this.id=r.register(),this.isActive=!1};i.prototype={fire:function(t,e){return this.callback.call(this.scope,t,e),this.isInterval&&this.deactivate(),this},start:function(t){var e=this;return this.reset(),this.activate(),t&&(this.stopTimer=setTimeout(function(){e.stop()},t),this.isStopTimerActive=!0),this},stop:function(){return this.reset(),this.deactivate(),this},activate:function(){return this.isActive=!0,r.activate(this,this.id),this},deactivate:function(){return this.isActive=!1,r.deactivate(this.id),this},every:function(t){var e=this;return this.reset(),this.isInterval=!0,this.intervalTimer=setInterval(function(){e.activate()},t),this.isIntervalTimeActive=!0,this},reset:function(){return this.isInterval=!1,this.isStopTimerActive&&clearTimeout(this.stopTimer),this.isIntervalTimeActive&&clearInterval(this.intervalTimer),this}},t.exports=i},function(t,e,n){"use strict";var r=n(4),i=n(50),s=n(1).each,o=["Webkit","Moz","O","ms",""],a=o.length,u={},c=document.createElement("div"),p=function(t){if(u[t]===!1)return!1;u[t]=!1;for(var e=0;a>e;e++){var n=o[e],r=""===n?t:n+t.charAt(0).toUpperCase()+t.slice(1);r in c.style&&(u[t]=r)}return u[t]},h=new r({_map:n(22),_typeMap:n(51),init:function(){this._cssCache={}},update:function(t){var e=this;s(i(t,e._cssCache),function(t,n){h.set(e.element,t,n)})},get:function(t,e){return e=u[e]||p(e),e?window.getComputedStyle(t,null)[e]:void 0},set:function(t,e,n){e=u[e]||p(e),e&&(t.style[e]=n)}});t.exports=h},function(t,e,n){"use strict";var r="translate";t.exports={x:r+"X",y:r+"Y",z:r+"Z"}},function(t,e,n){"use strict";var r=n(5).positions,i=r.length,s="transformPerspective",o="scale",a="rotate",u={funcs:["translate",o,a,"skew",s],props:{}};!function(){var t=u.funcs,e=u.props,n=t.length,c=0,p=function(t){for(var n=0;i>n;n++)e[t+r[n]]=!0};for(e[a]=e[o]=e[s]=!0;n>c;c++)p(t[c])}(),t.exports=u},function(t,e,n){"use strict";var r=n(4),i=n(9),s=n(1).each,o=function(t,e){return parseFloat(t)/100*e+"px"},a=function(t,e){var n=!1,r={length:0,spacing:e+"px"},i={};return s(t,function(t,s){switch(t=u._map[t]||t){case"length":case"spacing":n=!0,r[t]=o(s,e);break;case"offset":i["stroke-dashoffset"]=o(-s,e);break;default:i[t]=s}}),n&&(i["stroke-dasharray"]=r.length+" "+r.spacing),i},u=new r({_map:n(53),_typeMap:{stroke:"color",d:"complex"},init:function(){this.pathLength=this.element.getTotalLength()},update:function(t){i.update.call(this,a(t,this.pathLength))}});t.exports=u},function(t,e,n){"use strict";var r=n(4),i=n(9),s=n(54),o=n(1).each;t.exports=new r({name:"svg",_map:n(22),_typeMap:n(55),start:function(){var t=this.element.getBBox(),e=this.values,n=e.transformOriginX?e.transformOriginX.current:50,r=e.transformOriginY?e.transformOriginY.current:50,i={x:t.width*(n/100)+t.x,y:t.height*(r/100)+t.y};this.svgOrigin=i},update:function(t){var e=this;o(s(t,this.svgOrigin),function(t,n){i.set(e.element,t,n)})}})},function(t,e,n){"use strict";var r=n(1),i=n(12),s=n(28),o=n(27),a=[i,s,o],u=3,c=function(t,e){for(var n=0;u>n;n++)if(a[n].test(e))return a[n][t](e)};t.exports={defaultProps:r.merge(i.defaultProps,s.defaultProps),test:function(t){return i.test(t)||o.test(t)||s.test(t)},split:function(t){return c("split",t)},combine:function(t){return void 0!==t.Red?i.combine(t):s.combine(t)}}},function(t,e,n){"use strict";var r=n(12);t.exports={defaultProps:r.defaultProps,test:function(t){return t&&t.indexOf("#")>-1},split:function(t){var e,n,r;return t.length>4?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),e+=e,n+=n,r+=r),{Red:parseInt(e,16),Green:parseInt(n,16),Blue:parseInt(r,16),Alpha:1}},combine:function(t){return r.combine(t)}}},function(t,e,n){"use strict";var r=n(6),i=n(30),s=n(29),o=n(31),a=n(5).hsl;t.exports={defaultProps:{Hue:{min:0,max:360},Saturation:o.percent,Lightness:o.percent,Alpha:o.opacity},test:function(t){return t&&t.indexOf("hsl")>-1},split:function(t){return i(t,a)},combine:function(t){return s(r(t,a,", ",2),"hsla")}}},function(t,e,n){"use strict";t.exports=function(t,e){return e+"("+t+")"}},function(t,e,n){"use strict";var r=n(61),i=n(60);t.exports=function(t,e){for(var n={},s=e.length,o=r(i(t)),a=0;s>a;a++)n[e[a]]=void 0!==o[a]?o[a]:1;return n}},function(t,e,n){"use strict";t.exports={color:{min:0,max:255,round:!0},opacity:{min:0,max:1},percent:{min:0,max:100,unit:"%"}}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}var s=n(3),o=n(2),a=n(1),u=n(35),c="velocity",p=function(t){function e(){r(this,e);for(var n=arguments.length,i=Array(n),s=0;n>s;s++)i[s]=arguments[s];t.call.apply(t,[this].concat(i)),this.calculatesVelocity=!0,this.inactiveFrames=0}return i(e,t),e.prototype.getDefaultProps=function(){return{maxInactiveFrames:3}},e.prototype.getDefaultValue=function(){return{simulate:c,deceleration:0,acceleration:0,bounce:0,spring:80,timeConstant:395,stopSpeed:5,capture:!1,friction:0,to:0,round:!1}},e.prototype.getDefaultValueProp=function(){return c},e.prototype.onStart=function(){this.started=a.currentTime()},e.prototype.process=function(t,e,n,r){var i=e.simulate,s=a.isString(i)?u[i]:i,c=s?s(e,r,this.started):0;return e.velocity=Math.abs(c)>=e.stopSpeed?c:0,e.current+o.speedPerFrame(e.velocity,r)},e.prototype.hasEnded=function(t,e){return this.inactiveFrames=e?0:this.inactiveFrames+1,this.inactiveFrames>t.maxInactiveFrames},e.prototype.limit=function(t,e){var n=t>=e.max,r=t<=e.min,i=n||r;return i&&(t=o.restricted(t,e.min,e.max),e.bounce?e.velocity=u.bounce(e):e.capture&&u.capture(e,n?e.max:e.min)),t},e}(s);t.exports=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}function s(t,e,n,r){return e+n*(t-e)/r}var o=n(3),a=n(43),u=n(2),c=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.onFrameStart=function(t,e,n){t.state.input=this.input.onFrame(n),this.inputOffset=u.offset(this.inputOrigin,this.input.current),this.frameDuration=e},e.prototype.process=function(t,e,n){var r=e.current,i=void 0!==e.unmapped?e.unmapped:e.current;return this.inputOffset.hasOwnProperty(n)&&(r=e.direct?this.input.current[n]:e.origin+this.inputOffset[n]*e.amp,r=e.smooth?s(r,i,this.frameDuration,e.smooth):r),r},e.prototype.hasEnded=function(){return!1},e.prototype.deactivate=function(){return t.prototype.deactivate.call(this),this.input&&this.input.stop&&this.input.stop(),this},e.prototype.bindInput=function(t){this.input=t.current?t:new a(t),this.inputOrigin=this.input.get()},e.prototype.getDefaultValue=function(){return{amp:1,direct:!1,smooth:0}},e}(o);t.exports=c},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}var s=n(3),o=n(2),a="string",u=function(t,e,n,r,i){for(var s,u,c,p,h=r.length,f=1;h>f;f++)if(s=typeof r[f-1]===a?e[r[f-1]]:r[f-1],u=typeof r[f]===a?e[r[f]]:r[f],c=typeof i[f-1]===a?n[i[f-1]]:i[f-1],p=typeof i[f]===a?n[i[f]]:i[f],u>t||f===h-1){t=o.value(o.restricted(o.progress(t,s,u),0,1),c,p);break}return t},c=function(t){function e(){r(this,e);for(var n=arguments.length,i=Array(n),s=0;n>s;s++)i[s]=arguments[s];t.call.apply(t,[this].concat(i)),this.isActive=!0}return i(e,t),e.prototype.process=function(t,e,n){var r=t.values,i=e.current,s=e.watch,o=r[s]?r[s]:{},a=e.action?e.action.inputOffset:!1;return void 0!==o.current&&n!==s?i=o.current:a&&a.hasOwnProperty(s)&&(i=e.action.process(t,e,s)),e.mapFrom&&e.mapTo&&(e.unmapped=i,i=u(i,o,e,e.mapFrom,e.mapTo)),i},e}(s);t.exports=c},function(t,e,n){"use strict";var r=n(2),i=n(1),s=r.speedPerFrame,o={velocity:function(t,e){return t.velocity=t.velocity-s(t.deceleration,e)+s(t.acceleration,e),o.friction(t,e)},glide:function(t,e,n){var r=-i.currentTime()-n,s=-t.to*Math.exp(r/t.timeConstant);return t.to+s-t.current},friction:function(t,e){var n=s(t.velocity,e)*(1-t.friction);return r.speedPerSecond(n,e)},spring:function(t,e){var n=t.to-t.current;return t.velocity+=n*s(t.spring,e),o.friction(t,e)},bounce:function a(t){var e=0,n=t.to,r=t.current,a=t.bounce;return"glide"===t.simulate&&(e=n-r,t.to=r-e*a),t.velocity*=-a},capture:function(t,e){t.to=e,t.simulate="spring",t.capture=t.min=t.max=void 0}};t.exports=o},function(t,e,n){"use strict";var r=8,i=.001,s=1e-7,o=10,a=11,u=1/(a-1),c="undefined"!=typeof Float32Array,p=function(t,e){return 1-3*e+3*t},h=function(t,e){return 3*e-6*t},f=function(t){return 3*t},l=function(t,e,n){return 3*p(e,n)*t*t+2*h(e,n)*t+f(e)},v=function(t,e,n){return((p(e,n)*t+h(e,n))*t+f(e))*t},d=function(t,e,n,p){var h=c?new Float32Array(a):new Array(a),f=!1,d=function(e,r,i){var a,u,c=0;do u=r+(i-r)/2,a=v(u,t,n)-e,a>0?i=u:r=u;while(Math.abs(a)>s&&++c<o);return u},m=function(e,i){for(var s,o=0,a=0;r>o;++o){if(a=l(i,t,n),0===a)return i;s=v(i,t,n)-e,i-=s/a}return i},g=function(){for(var e=0;a>e;++e)h[e]=v(e*u,t,n)},y=function(e){for(var r=0,s=1,o=a-1,c=0,p=0,f=0;s!=o&&h[s]<=e;++s)r+=u;return--s,c=(e-h[s])/(h[s+1]-h[s]),p=r+c*u,f=l(p,t,n),f>=i?m(e,p):0===f?p:d(e,r,r+u)},x=function(){f=!0,(t!=e||n!=p)&&g()},b=function(r){var i;return f||x(),i=t===e&&n===p?r:0===r?0:1===r?1:v(y(r),e,p)};return b};t.exports=d},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.__proto__=e)}var s=n(16),o=function(t){function e(){r(this,e),t.apply(this,arguments)}return i(e,t),e.prototype.restart=function(){return this.action.restart(),this},e.prototype.reverse=function(){return this.action.reverse(),this},e.prototype.seek=function(t){return this.actor.hasAction(this.id)||this.start().pause(),this.action.elapsed=this.action.duration*t,this.action.isActive||(this.action.activate(),this.actor.process.fire(),this.action.deactivate()),this},e}(s);t.exports=o},function(t,e,n){"use strict";var r,i=n(14),s=function(t){return function(e){return Math.pow(e,t)}},o={circ:function(t){return 1-Math.sin(Math.acos(t))},back:function(t){var e=1.5;return t*t*((e+1)*t-e)}};["ease","cubic","quart","quint"].forEach(function(t,e){o[t]=s(e+2)});for(var a in o)o.hasOwnProperty(a)&&(r=new i(o[a]),o[a+"In"]=r["in"],o[a+"Out"]=r.out,o[a+"InOut"]=r.inOut);o.linear=function(t){return t},t.exports=o},function(t,e,n){"use strict";var r=n(10),i=n(2),s=n(1),o=s.each,a=n(3),u=new a,c=n(34),p=new c,h=function(t,e){return function(n,r){e[t.map(n)]=r}},f=function(t,e){var n=!0,r=t.state.values;return o(t.activeActions,function(i,s){s&&(s.onFrame&&s.onFrame.call(t,r),s.onUpdate&&e&&s.onUpdate.call(t,r),s.hasEnded&&s.hasEnded(t,e)===!1?n=!1:(s.onComplete&&s.onComplete.call(t),t.unbindAction(i)))}),n},l=function(t,e){for(var n=this.activeValues.length,a=this.activeParents.length,c=this.roles.length,l=this.state,v=!1,d=0;n>d;d++){var m=this.activeValues[d],g=this.values[m],y=!g.action||g.action&&!g.action.isActive?u:g.action;y.onFrameStart&&y.lastUpdate!==t&&(y.onFrameStart(this,e,t),y.lastUpdate=t);var x=s.isString(g.watch)?p.process(this,g):y.process(this,g,m,e);y.limit&&g.hasRange&&(x=y.limit(x,g)),g.round&&(x=Math.round(x)),g.frameChange=x-g.current,y.calculatesVelocity||(g.velocity=i.speedPerSecond(g.frameChange,e)),g.speed=Math.abs(g.velocity),(g.current!==x||this.firstFrame)&&(v=!0),g.current=x;var b=g.unit?x+g.unit:x;g.parent?(l[g.parent]=l[g.parent]||{},l[g.parent][g.propName]=b):l.values[m]=b}for(var d=0;a>d;d++){var m=this.activeParents[d],g=this.values[m];g.current=r[g.type].combine(l[m],g.template),l.values[m]=g.current}for(var d=0;c>d;d++){var w=this.roles[d],A={};o(l.values,h(w,A)),w.frame&&w.frame.call(this,A),w.update&&v&&w.update.call(this,A)}if(this.hasChanged=!1,this.isActive)if(this.isActive=!1,f(this,v)){for(var d=0;c>d;d++){var w=this.roles[d];w.complete&&w.complete.call(this)}this.isActive||this.next()}else this.isActive=!0,this.firstFrame=!1;this.framestamp=t};t.exports=l},function(t,e,n){"use strict";var r=3,i=function(t,e){this.max=e||r,this.entries=[],this.add(t)};i.prototype={
add:function(t){var e=this.getSize();this.entries.push(t),e>=this.max&&this.entries.shift()},get:function(t){return t="number"==typeof t?t:this.getSize()-1,this.entries[t]},getPrevious:function(){return this.get(this.getSize()-2)},getSize:function(){return this.entries.length}},t.exports=i},function(t,e,n){"use strict";var r=function(){this.clear()};r.prototype={add:function(){this.queue.push([].slice.call(arguments))},next:function(t){var e=this.queue,n=!1,r=this.index;return t=arguments.length?t:1,r>=0&&r<e.length?(n=e[r],this.index=r+t):this.clear(),n},clear:function(){this.queue=[],this.index=0}},t.exports=r},function(t,e,n){"use strict";var r=n(8),i=n(19),s=n(17),o="__pm_actor_";t.exports=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=s(t),a=[];return n.forEach(function(t){var n=t[o];n||(e.element=t,n=t[o]=new r(e)),a.push(n)}),a.length>1?new i(a):a[0]}},function(t,e,n){"use strict";var r,i=n(18),s="touchmove",o="mousemove",a=function(t,e){var n=e?t.changedTouches[0]:!1;return{x:n?n.clientX:t.pageX,y:n?n.clientY:t.pageY}},u=function(t){return t.originalEvent||t},c=function(t){var e=u(t),n=e.touches?!0:!1,r=a(e,n);this.update(r),this.isTouch=n,this.bindEvents()},p=c.prototype=new i;p.bindEvents=function(){this.moveEvent=this.isTouch?s:o,r=this,document.documentElement.addEventListener(this.moveEvent,this.onMove)},p.unbindEvents=function(){document.documentElement.removeEventListener(this.moveEvent,this.onMove)},p.onMove=function(t){var e=a(t,r.isTouch);t=u(t),t.preventDefault(),r.update(e)},p.stop=function(){this.unbindEvents()},t.exports=c},function(t,e,n){"use strict";var r=n(45);r.addValueType({alpha:n(56),angle:n(57),px:n(7),hsl:n(28),rgb:n(12),hex:n(27),color:n(26),positions:n(62),dimensions:n(59),scale:n(63),shadow:n(64),complex:n(58)}),r.attr=n(9),r.css=n(21),r.svg=n(25),r.drawPath=n(24),t.exports=r},function(t,e,n){"use strict";var r=n(10),i={Actor:n(8),Input:n(18),Iterator:n(19),Process:n(20),Easing:n(14),Role:n(4),Action:n(3),Tween:n(13),Simulate:n(32),Track:n(33),select:n(42),addValueType:function(){return r.extend.apply(r,arguments),this},calc:n(2)};t.exports=i},function(t,e,n){"use strict";var r=n(49),i=n(48),s=function(){this.timer=new r};s.prototype={isRunning:!1,frame:function(){var t=this;i(function(){var e=t.timer.update(),n=t.callback.call(t.scope,e,t.timer.getElapsed());n?t.frame():t.stop()})},start:function(){this.isRunning||(this.timer.clock(),this.isRunning=!0,this.frame())},stop:function(){this.isRunning=!1},setCallback:function(t,e){this.scope=t,this.callback=e}},t.exports=new s},function(t,e,n){"use strict";var r=n(46),i=function(){this.activeIds=[],this.activeProcesses={},this.deactivateQueue=[],r.setCallback(this,this.fireActive)};i.prototype={processCounter:0,activeCount:0,getProcess:function(t){return this.activeProcesses[t]},getActiveCount:function(){return this.activeCount},getActive:function(){return this.activeIds},getQueueLength:function(){return this.deactivateQueue.length},fireActive:function(t,e){var n,r=0,i=[],s=0;for(this.purge(),r=this.getActiveCount(),i=this.getActive();r>s;s++)n=this.getProcess(i[s]),n&&n.fire(t,e);return this.purge(),r=this.getActiveCount(),r?!0:!1},register:function(){return this.processCounter++},activate:function(t,e){var n=this.deactivateQueue.indexOf(e),i=n>-1,s=this.activeIds.indexOf(e)>-1;i&&this.deactivateQueue.splice(n,1),s||(this.activeIds.push(e),this.activeProcesses[e]=t,this.activeCount++,r.start())},deactivate:function(t){this.deactivateQueue.push(t)},purge:function(){for(var t=this.getQueueLength(),e=0,n=0;t--;)n=this.deactivateQueue[t],e=this.activeIds.indexOf(n),e>-1&&(this.activeIds.splice(e,1),this.activeCount--,delete this.activeProcesses[n]);this.deactivateQueue=[]}},t.exports=new i},function(t,e,n){"use strict";var r,i=0,s="undefined"!=typeof window;r=s?window.requestAnimationFrame:function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-i)),r=setTimeout(function(){t(e+n)},n);return i=e+n,r},t.exports=r},function(t,e,n){"use strict";var r=n(1),i=33,s=function(){this.elapsed=16.7,this.current=r.currentTime(),this.update()};s.prototype={update:function(){return this.prev=this.current,this.current=r.currentTime(),this.elapsed=Math.min(this.current-this.prev,i),this.current},getElapsed:function(){return this.elapsed},clock:function(){this.current=r.currentTime()}},t.exports=s},function(t,e,n){"use strict";var r=n(1).each,i=n(23),s=i.props,o="translateZ";t.exports=function(t,e){var n={},i="",a=!1;return r(t,function(t,r){s[t]?(i+=t+"("+r+")",a=t===o?!0:a):r!==e[t]&&(e[t]=n[t]=r)}),""!==i&&(a||(i+=" "+o+"(0px)"),i!==e.transform&&(n.transform=i),e.transform=i),n}},function(t,e,n){"use strict";var r="color",i="positions",s="dimensions",o="shadow",a="angle",u="alpha",c="px";t.exports={color:r,backgroundColor:r,outlineColor:r,fill:r,stroke:r,borderColor:r,borderTopColor:r,borderRightColor:r,borderBottomColor:r,borderLeftColor:r,borderRadius:c,margin:s,padding:s,width:c,height:c,backgroundPosition:i,perspectiveOrigin:i,transformOrigin:i,textShadow:o,boxShadow:o,rotate:a,rotateX:a,rotateY:a,rotateZ:a,skewX:a,skewY:a,translateX:c,translateY:c,translateZ:c,perspective:c,opacity:u}},function(t,e,n){"use strict";var r=n(4);t.exports=new r({init:function(){this.init&&this.init()},start:function(){this.onStart&&this.onStart()},frame:function(t){this.onFrame&&this.onFrame(t)},update:function(t){this.onUpdate&&this.onUpdate(t)},complete:function(){this.onComplete&&this.onComplete()}})},function(t,e,n){"use strict";var r="stroke";t.exports={opacity:r+"-opacity",width:r+"-width",miterlimit:r+"-miterlimit"}},function(t,e,n){"use strict";var r=n(1).each,i=n(23),s=i.props,o=1e-4;t.exports=function(t,e){var n={},i=!1,a=void 0!==t.scale?t.scale||o:t.scaleX||1,u=void 0!==t.scaleY?t.scaleY||o:a||1,c=e.x,p=e.y,h=1*-c*a,f=1*-p*u,l=c/a,v=p/u,d={translate:"translate("+t.translateX+", "+t.translateY+") ",scale:"translate("+h+", "+f+") scale("+a+", "+u+") translate("+l+", "+v+") ",rotate:"rotate("+t.rotate+", "+c+", "+p+") ",skewX:"skewX("+t.skewX+") ",skewY:"skewY("+t.skewY+") "};return r(t,function(t,e){s[t]?i=!0:n[t]=e}),i&&(n.transform="",r(d,function(t,e){var r="scale"===t?"1":"0";n.transform+=e.replace(/undefined/g,r)})),n}},function(t,e,n){"use strict";var r="color",i="scale";t.exports={fill:r,stroke:r,scale:i,scaleX:i,scaleY:i,transformOrigin:"positions",d:"complex"}},function(t,e,n){"use strict";t.exports={defaultProps:{min:0,max:1}}},function(t,e,n){"use strict";t.exports={defaultProps:{unit:"deg"}}},function(t,e,n){"use strict";var r=n(1),i=r.each,s=/(-)?(\d[\d\.]*)/g,o=function(t){return"${"+t+"}"};t.exports={test:function(t){var e=t.match(s);return r.isArray(e)&&e.length>1},template:function(t){var e=0;return t.replace(s,function(){return o(e++)})},split:function(t){for(var e={},n=t.match(s),r=n.length,i=0;r>i;i++)e[i]=n[i];return e},combine:function(t,e){var n=e;return i(t,function(t,e){n=n.replace(o(t),e)}),n}}},function(t,e,n){"use strict";var r=n(5).dimensions,i=n(7).defaultProps,s=n(6),o=n(11);t.exports={defaultProps:i,split:function(t){for(var e=o(t),n=e.length,i=1!==n?2:1,s=0,a=0,u={};4>s;s++)u[r[s]]=e[a],a++,a=a===n?a-i:a;return u},combine:function(t){return s(t,r," ")}}},function(t,e,n){"use strict";t.exports=function(t){return t.substring(t.indexOf("(")+1,t.lastIndexOf(")"))}},function(t,e,n){"use strict";t.exports=function(t){return"string"==typeof t?t.split(/,\s*/):[t]}},function(t,e,n){"use strict";var r=n(6),i=n(7).defaultProps,s=n(11),o=n(5).positions;t.exports={defaultProps:i,split:function(t){var e=s(t),n=e.length,r={X:e[0],Y:n>1?e[1]:e[0]};return n>2&&(r.Z=e[2]),r},combine:function(t){return r(t,o," ")}}},function(t,e,n){"use strict";t.exports={defaultProps:{init:1}}},function(t,e,n){"use strict";var r=n(26),i=n(1),s=n(7).defaultProps,o=n(5).shadow,a=n(11),u=n(6),c=o.slice(0,4);t.exports={defaultProps:i.merge(r.defaultProps,{X:s,Y:s,Radius:s,Spread:s}),split:function(t){for(var e,n=a(t),s=n.length,u=!1,c="",p=0,h={};s>p;p++)e=n[p],u||r.test(e)?(u=!0,c+=e):h[o[p]]=e;return i.merge(h,r.split(c))},combine:function(t){return u(t,c," ")+r.combine(t)}}}]);