Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

frame-player

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frame-player - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

dist/frame-player.min.js

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.FramePlayer=e():t.FramePlayer=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(24)("wks"),o=n(14),i=n(2).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(6),o=n(35),i=n(26),u=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(2),o=n(0),i=n(33),u=n(8),c=function(t,e,n){var s,f,a,l=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,d=t&c.B,y=t&c.W,_=p?o:o[e]||(o[e]={}),m=_.prototype,b=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(s in n)(f=!l&&b&&void 0!==b[s])&&s in _||(a=f?b[s]:n[s],_[s]=p&&"function"!=typeof b[s]?n[s]:d&&f?i(a,r):y&&b[s]==a?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(a):v&&"function"==typeof a?i(Function.call,a):a,v&&((_.virtual||(_.virtual={}))[s]=a,t&c.R&&m&&!m[s]&&u(m,s,a)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(5),o=n(13);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(72),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports=!0},function(t,e,n){var r=n(6),o=n(77),i=n(17),u=n(23)("IE_PROTO"),c=function(){},s=function(){var t,e=n(34)("iframe"),r=i.length;for(e.style.display="none",n(71).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=s(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(41),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(5).f,o=n(4),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(24)("keys"),o=n(14);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(2),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(2),o=n(0),i=n(18),u=n(28),c=n(5).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:u.f(t)})}},function(t,e,n){e.f=n(1)},function(t,e,n){"use strict";var r=n(81)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(87);for(var r=n(2),o=n(8),i=n(12),u=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<c.length;s++){var f=c[s],a=r[f],l=a&&a.prototype;l&&!l[u]&&o(l,u,f),i[f]=i.Array}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(53),i=r(o),u=n(52),c=r(u),s="function"==typeof c.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c.default.prototype?"symbol":typeof t};e.default="function"==typeof c.default&&"symbol"===s(i.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c.default.prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,e,n){var r=n(15),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},function(t,e,n){var r=n(67);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(11),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=!n(3)&&!n(10)(function(){return 7!=Object.defineProperty(n(34)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(18),o=n(7),i=n(42),u=n(8),c=n(4),s=n(12),f=n(74),a=n(22),l=n(40),p=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,d,y,_,m){f(n,e,d);var b,g,x,w=function(t){if(!h&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",S="values"==y,j=!1,P=t.prototype,T=P[p]||P["@@iterator"]||y&&P[y],M=T||w(y),F=y?S?w("entries"):M:void 0,k="Array"==e?P.entries||T:T;if(k&&(x=l(k.call(new t)))!==Object.prototype&&x.next&&(a(x,O,!0),r||c(x,p)||u(x,p,v)),S&&T&&"values"!==T.name&&(j=!0,M=function(){return T.call(this)}),r&&!m||!h&&!j&&P[p]||u(P,p,M),s[e]=M,s[O]=v,y)if(b={values:S?M:w("values"),keys:_?M:w("keys"),entries:F},m)for(g in b)g in P||i(P,g,b[g]);else o(o.P+o.F*(h||j),e,b);return b}},function(t,e,n){var r=n(21),o=n(13),i=n(9),u=n(26),c=n(4),s=n(35),f=Object.getOwnPropertyDescriptor;e.f=n(3)?f:function(t,e){if(t=i(t),e=u(e,!0),s)try{return f(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(41),o=n(17).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(4),o=n(43),i=n(23)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(4),o=n(9),i=n(69)(!1),u=n(23)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),s=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>s;)r(c,n=e[s++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){t.exports=n(8)},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(58),i=r(o),u=n(50),c=r(u),s=n(54),f=r(s),a=n(57),l=r(a),p=n(55),h=r(p),v=n(56),d=r(v),y=n(99),_=r(y),m=n(96),b=r(m),g=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.canvas,r=void 0===n?"canvas":n,o=t.width,i=void 0===o?0:o,u=t.height,s=void 0===u?0:u,a=t.images,p=void 0===a?[]:a,h=t.fps,v=void 0===h?24:h,d=t.loop,y=void 0===d?0:d,_=t.alternate,m=void 0!==_&&_,b=t.transparent,g=void 0!==b&&b,x=t.autoPlay,w=void 0!==x&&x;(0,f.default)(this,e);var O=(0,l.default)(this,(e.__proto__||(0,c.default)(e)).call(this));return"string"==typeof r&&(r=document.querySelector(r)),O._ctx2d=r.getContext("2d"),r.setAttribute("width",i),r.setAttribute("height",s),O._width=i,O._height=s,O._startFrame=0,O._endFrame=p.length-1,O._currentFrame=0,O._fps=v,O._loop=y,O._alternate=m,O._transparent=g,O._isPlay=!1,O._times=0,O._timestamp=0,O._autoPlay=w,O._frames=O._load(p),O}return(0,d.default)(e,t),(0,h.default)(e,null,[{key:"version",get:function(){return"1.0.0"}}]),(0,h.default)(e,[{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._isPlay||(this._isPlay=!0,this._continue=!1,this._desc=t,this.emit("play"),this._tick())}},{key:"stop",value:function(t){this._isPlay=!1,_.default.cancel(this._rafId),this._times=0,this._draw(t),this.emit("stop")}},{key:"_load",value:function(t){var e=this,n=0,r=t.length;return t.map(function(t){var o=t;return o instanceof Image||(o=new Image),o.onload=function(){e.emit("loading",{count:++n,total:r}),n>=r&&(e.emit("ready"),e._autoPlay&&e.play())},o.src=t,o})}},{key:"_tick",value:function(){var t=this,e=(new Date).getTime();e-this._timestamp>=1e3/this._fps&&(this._timestamp=e,this._update()),this._rafId=(0,_.default)(function(){return t._tick()})}},{key:"_update",value:function(){if(this._isPlay)if(this._draw(this._currentFrame),this._currentFrame!==this._endFrame&&this._currentFrame!==this._startFrame||!this._continue)this._currentFrame+=this._desc?-1:1,this._continue=!0;else if(this._loop&&(this._times+1<this._loop||-1===this._loop)){var t=[this._startFrame,this._endFrame].sort(),e=(0,i.default)(t,2),n=e[0],r=e[1];this._alternate?(this._currentFrame=this._desc?n+1:r-1,this._desc=!this._desc):(this._continue=!1,this._currentFrame=this._desc?r:n),this._times++}else this.stop()}},{key:"_draw",value:function(t){"number"==typeof t&&(t<0&&(t=0),t>this._endFrame&&(t=this._endFrame),this._currentFrame=t,this._transparent&&this._ctx2d.clearRect(0,0,this._width,this._height),this._ctx2d.drawImage(this._frames[t],0,0,this._width,this._height),this.emit("update",{frame:t,times:this._times+1,desc:this._desc}))}},{key:"frame",get:function(){return this._currentFrame}}]),e}(b.default);e.default=g},function(t,e,n){"use strict";t.exports=n(44).default},function(t,e,n){t.exports={default:n(59),__esModule:!0}},function(t,e,n){t.exports={default:n(60),__esModule:!0}},function(t,e,n){t.exports={default:n(61),__esModule:!0}},function(t,e,n){t.exports={default:n(62),__esModule:!0}},function(t,e,n){t.exports={default:n(63),__esModule:!0}},function(t,e,n){t.exports={default:n(64),__esModule:!0}},function(t,e,n){t.exports={default:n(65),__esModule:!0}},function(t,e,n){t.exports={default:n(66),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(49),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=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),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(51),i=r(o),u=n(48),c=r(u),s=n(31),f=r(s);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,f.default)(e)));t.prototype=(0,c.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(i.default?(0,i.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(31),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(47),i=r(o),u=n(46),c=r(u);e.default=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=(0,c.default)(t);!(r=(u=s.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,i.default)(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,e,n){n(30),n(29),t.exports=n(85)},function(t,e,n){n(30),n(29),t.exports=n(86)},function(t,e,n){n(88);var r=n(0).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(89);var r=n(0).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(90),t.exports=n(0).Object.getPrototypeOf},function(t,e,n){n(91),t.exports=n(0).Object.setPrototypeOf},function(t,e,n){n(93),n(92),n(94),n(95),t.exports=n(0).Symbol},function(t,e,n){n(29),n(30),t.exports=n(28).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(9),o=n(83),i=n(82);t.exports=function(t){return function(e,n,u){var c,s=r(e),f=o(s.length),a=i(u,f);if(t&&n!=n){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}}},function(t,e,n){var r=n(20),o=n(39),i=n(21);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,c=n(t),s=i.f,f=0;c.length>f;)s.call(t,u=c[f++])&&e.push(u);return e}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(15);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(19),o=n(13),i=n(22),u={};n(8)(u,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(14)("meta"),o=n(11),i=n(4),u=n(5).f,c=0,s=Object.isExtensible||function(){return!0},f=!n(10)(function(){return s(Object.preventExtensions({}))}),a=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!e)return"E";a(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!s(t))return!0;if(!e)return!1;a(t)}return t[r].w},h=function(t){return f&&v.NEED&&s(t)&&!i(t,r)&&a(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,n){var r=n(5),o=n(6),i=n(20);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,s=0;c>s;)r.f(t,n=u[s++],e[n]);return t}},function(t,e,n){var r=n(9),o=n(38).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?c(t):o(r(t))}},function(t,e,n){var r=n(7),o=n(0),i=n(10);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(11),o=n(6),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(33)(Function.call,n(37).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(25),o=n(16);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),s=r(n),f=c.length;return s<0||s>=f?t?"":void 0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===f||(u=c.charCodeAt(s+1))<56320||u>57343?t?c.charAt(s):i:t?c.slice(s,s+2):u-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(25),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(25),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(32),o=n(1)("iterator"),i=n(12);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(6),o=n(84);t.exports=n(0).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){var r=n(32),o=n(1)("iterator"),i=n(12);t.exports=n(0).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},function(t,e,n){"use strict";var r=n(68),o=n(75),i=n(12),u=n(9);t.exports=n(36)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(7);r(r.S,"Object",{create:n(19)})},function(t,e,n){var r=n(7);r(r.S+r.F*!n(3),"Object",{defineProperty:n(5).f})},function(t,e,n){var r=n(43),o=n(40);n(79)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(7);r(r.S,"Object",{setPrototypeOf:n(80).set})},function(t,e){},function(t,e,n){"use strict";var r=n(2),o=n(4),i=n(3),u=n(7),c=n(42),s=n(76).KEY,f=n(10),a=n(24),l=n(22),p=n(14),h=n(1),v=n(28),d=n(27),y=n(70),_=n(73),m=n(6),b=n(9),g=n(26),x=n(13),w=n(19),O=n(78),S=n(37),j=n(5),P=n(20),T=S.f,M=j.f,F=O.f,k=r.Symbol,E=r.JSON,L=E&&E.stringify,A=h("_hidden"),C=h("toPrimitive"),I={}.propertyIsEnumerable,N=a("symbol-registry"),D=a("symbols"),R=a("op-symbols"),G=Object.prototype,q="function"==typeof k,V=r.QObject,W=!V||!V.prototype||!V.prototype.findChild,H=i&&f(function(){return 7!=w(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=T(G,e);r&&delete G[e],M(t,e,n),r&&t!==G&&M(G,e,r)}:M,J=function(t){var e=D[t]=w(k.prototype);return e._k=t,e},z=q&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},B=function(t,e,n){return t===G&&B(R,e,n),m(t),e=g(e,!0),m(n),o(D,e)?(n.enumerable?(o(t,A)&&t[A][e]&&(t[A][e]=!1),n=w(n,{enumerable:x(0,!1)})):(o(t,A)||M(t,A,x(1,{})),t[A][e]=!0),H(t,e,n)):M(t,e,n)},K=function(t,e){m(t);for(var n,r=y(e=b(e)),o=0,i=r.length;i>o;)B(t,n=r[o++],e[n]);return t},U=function(t,e){return void 0===e?w(t):K(w(t),e)},Y=function(t){var e=I.call(this,t=g(t,!0));return!(this===G&&o(D,t)&&!o(R,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,A)&&this[A][t])||e)},Q=function(t,e){if(t=b(t),e=g(e,!0),t!==G||!o(D,e)||o(R,e)){var n=T(t,e);return!n||!o(D,e)||o(t,A)&&t[A][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=F(b(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==A||e==s||r.push(e);return r},Z=function(t){for(var e,n=t===G,r=F(n?R:b(t)),i=[],u=0;r.length>u;)!o(D,e=r[u++])||n&&!o(G,e)||i.push(D[e]);return i};q||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===G&&e.call(R,n),o(this,A)&&o(this[A],t)&&(this[A][t]=!1),H(this,t,x(1,n))};return i&&W&&H(G,t,{configurable:!0,set:e}),J(t)},c(k.prototype,"toString",function(){return this._k}),S.f=Q,j.f=B,n(38).f=O.f=X,n(21).f=Y,n(39).f=Z,i&&!n(18)&&c(G,"propertyIsEnumerable",Y,!0),v.f=function(t){return J(h(t))}),u(u.G+u.W+u.F*!q,{Symbol:k});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)h($[tt++]);for(var et=P(h.store),nt=0;et.length>nt;)d(et[nt++]);u(u.S+u.F*!q,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=k(t)},keyFor:function(t){if(!z(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),u(u.S+u.F*!q,"Object",{create:U,defineProperty:B,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),E&&u(u.S+u.F*(!q||f(function(){var t=k();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!z(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(n=e),!n&&_(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!z(e))return e}),r[1]=e,L.apply(E,r)}}}),k.prototype[C]||n(8)(k.prototype,C,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){n(27)("asyncIterator")},function(t,e,n){n(27)("observable")},function(t,e,n){"use strict";function r(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){this._events=new r,this._eventsCount=0}var u=Object.prototype.hasOwnProperty,c="~";Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(c=!1)),i.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)u.call(t,e)&&n.push(c?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},i.prototype.listeners=function(t,e){var n=c?c+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,u=new Array(i);o<i;o++)u[o]=r[o].fn;return u},i.prototype.emit=function(t,e,n,r,o,i){var u=c?c+t:t;if(!this._events[u])return!1;var s,f,a=this._events[u],l=arguments.length;if(a.fn){switch(a.once&&this.removeListener(t,a.fn,void 0,!0),l){case 1:return a.fn.call(a.context),!0;case 2:return a.fn.call(a.context,e),!0;case 3:return a.fn.call(a.context,e,n),!0;case 4:return a.fn.call(a.context,e,n,r),!0;case 5:return a.fn.call(a.context,e,n,r,o),!0;case 6:return a.fn.call(a.context,e,n,r,o,i),!0}for(f=1,s=new Array(l-1);f<l;f++)s[f-1]=arguments[f];a.fn.apply(a.context,s)}else{var p,h=a.length;for(f=0;f<h;f++)switch(a[f].once&&this.removeListener(t,a[f].fn,void 0,!0),l){case 1:a[f].fn.call(a[f].context);break;case 2:a[f].fn.call(a[f].context,e);break;case 3:a[f].fn.call(a[f].context,e,n);break;case 4:a[f].fn.call(a[f].context,e,n,r);break;default:if(!s)for(p=1,s=new Array(l-1);p<l;p++)s[p-1]=arguments[p];a[f].fn.apply(a[f].context,s)}}return!0},i.prototype.on=function(t,e,n){var r=new o(e,n||this),i=c?c+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.once=function(t,e,n){var r=new o(e,n||this,!0),i=c?c+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.removeListener=function(t,e,n,o){var i=c?c+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new r:delete this._events[i],this;var u=this._events[i];if(u.fn)u.fn!==e||o&&!u.once||n&&u.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[i]);else{for(var s=0,f=[],a=u.length;s<a;s++)(u[s].fn!==e||o&&!u[s].once||n&&u[s].context!==n)&&f.push(u[s]);f.length?this._events[i]=1===f.length?f[0]:f:0==--this._eventsCount?this._events=new r:delete this._events[i]}return this},i.prototype.removeAllListeners=function(t){var e;return t?(e=c?c+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=c,i.EventEmitter=i,t.exports=i},function(t,e,n){(function(e){(function(){var n,r,o,i,u,c;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:void 0!==e&&null!==e&&e.hrtime?(t.exports=function(){return(n()-u)/1e6},r=e.hrtime,n=function(){var t;return t=r(),1e9*t[0]+t[1]},i=n(),c=1e9*e.uptime(),u=i-c):Date.now?(t.exports=function(){return Date.now()-o},o=Date.now()):(t.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(e,n(98))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(a===setTimeout)return setTimeout(t,0);if((a===n||!a)&&setTimeout)return a=setTimeout,setTimeout(t,0);try{return a(t,0)}catch(e){try{return a.call(null,t,0)}catch(e){return a.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function u(){d&&h&&(d=!1,h.length?v=h.concat(v):y=-1,v.length&&c())}function c(){if(!d){var t=o(u);d=!0;for(var e=v.length;e;){for(h=v,v=[];++y<e;)h&&h[y].run();y=-1,e=v.length}h=null,d=!1,i(t)}}function s(t,e){this.fun=t,this.array=e}function f(){}var a,l,p=t.exports={};!function(){try{a="function"==typeof setTimeout?setTimeout:n}catch(t){a=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var h,v=[],d=!1,y=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];v.push(new s(t,e)),1!==v.length||d||o(c)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=f,p.addListener=f,p.once=f,p.off=f,p.removeListener=f,p.removeAllListeners=f,p.emit=f,p.prependListener=f,p.prependOnceListener=f,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){(function(e){for(var r=n(97),o="undefined"==typeof window?e:window,i=["moz","webkit"],u="AnimationFrame",c=o["request"+u],s=o["cancel"+u]||o["cancelRequest"+u],f=0;!c&&f<i.length;f++)c=o[i[f]+"Request"+u],s=o[i[f]+"Cancel"+u]||o[i[f]+"CancelRequest"+u];if(!c||!s){var a=0,l=0,p=[];c=function(t){if(0===p.length){var e=r(),n=Math.max(0,1e3/60-(e-a));a=n+e,setTimeout(function(){var t=p.slice(0);p.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(a)}catch(t){setTimeout(function(){throw t},0)}},Math.round(n))}return p.push({handle:++l,callback:t,cancelled:!1}),l},s=function(t){for(var e=0;e<p.length;e++)p[e].handle===t&&(p[e].cancelled=!0)}}t.exports=function(t){return c.call(o,t)},t.exports.cancel=function(){s.apply(o,arguments)},t.exports.polyfill=function(t){t||(t=o),t.requestAnimationFrame=c,t.cancelAnimationFrame=s}}).call(e,n(100))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.FramePlayer=e():t.FramePlayer=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(24)("wks"),o=n(14),i=n(2).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){t.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(6),o=n(35),i=n(26),u=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(2),o=n(0),i=n(33),u=n(8),c=function(t,e,n){var s,f,a,l=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,d=t&c.B,y=t&c.W,_=p?o:o[e]||(o[e]={}),m=_.prototype,b=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(s in n)(f=!l&&b&&void 0!==b[s])&&s in _||(a=f?b[s]:n[s],_[s]=p&&"function"!=typeof b[s]?n[s]:d&&f?i(a,r):y&&b[s]==a?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(a):v&&"function"==typeof a?i(Function.call,a):a,v&&((_.virtual||(_.virtual={}))[s]=a,t&c.R&&m&&!m[s]&&u(m,s,a)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(5),o=n(13);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(72),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports=!0},function(t,e,n){var r=n(6),o=n(77),i=n(17),u=n(23)("IE_PROTO"),c=function(){},s=function(){var t,e=n(34)("iframe"),r=i.length;for(e.style.display="none",n(71).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[i[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[u]=t):n=s(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(41),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(5).f,o=n(4),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(24)("keys"),o=n(14);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(2),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(2),o=n(0),i=n(18),u=n(28),c=n(5).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:u.f(t)})}},function(t,e,n){e.f=n(1)},function(t,e,n){"use strict";var r=n(81)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){n(87);for(var r=n(2),o=n(8),i=n(12),u=n(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<c.length;s++){var f=c[s],a=r[f],l=a&&a.prototype;l&&!l[u]&&o(l,u,f),i[f]=i.Array}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(53),i=r(o),u=n(52),c=r(u),s="function"==typeof c.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c.default.prototype?"symbol":typeof t};e.default="function"==typeof c.default&&"symbol"===s(i.default)?function(t){return void 0===t?"undefined":s(t)}:function(t){return t&&"function"==typeof c.default&&t.constructor===c.default&&t!==c.default.prototype?"symbol":void 0===t?"undefined":s(t)}},function(t,e,n){var r=n(15),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=u(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},function(t,e,n){var r=n(67);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(11),o=n(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=!n(3)&&!n(10)(function(){return 7!=Object.defineProperty(n(34)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(18),o=n(7),i=n(42),u=n(8),c=n(4),s=n(12),f=n(74),a=n(22),l=n(40),p=n(1)("iterator"),h=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,d,y,_,m){f(n,e,d);var b,g,x,w=function(t){if(!h&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},O=e+" Iterator",S="values"==y,j=!1,P=t.prototype,T=P[p]||P["@@iterator"]||y&&P[y],M=T||w(y),F=y?S?w("entries"):M:void 0,k="Array"==e?P.entries||T:T;if(k&&(x=l(k.call(new t)))!==Object.prototype&&x.next&&(a(x,O,!0),r||c(x,p)||u(x,p,v)),S&&T&&"values"!==T.name&&(j=!0,M=function(){return T.call(this)}),r&&!m||!h&&!j&&P[p]||u(P,p,M),s[e]=M,s[O]=v,y)if(b={values:S?M:w("values"),keys:_?M:w("keys"),entries:F},m)for(g in b)g in P||i(P,g,b[g]);else o(o.P+o.F*(h||j),e,b);return b}},function(t,e,n){var r=n(21),o=n(13),i=n(9),u=n(26),c=n(4),s=n(35),f=Object.getOwnPropertyDescriptor;e.f=n(3)?f:function(t,e){if(t=i(t),e=u(e,!0),s)try{return f(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(41),o=n(17).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(4),o=n(43),i=n(23)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(4),o=n(9),i=n(69)(!1),u=n(23)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),s=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>s;)r(c,n=e[s++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){t.exports=n(8)},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(58),i=r(o),u=n(50),c=r(u),s=n(54),f=r(s),a=n(57),l=r(a),p=n(55),h=r(p),v=n(56),d=r(v),y=n(99),_=r(y),m=n(96),b=r(m),g=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.canvas,r=void 0===n?"canvas":n,o=t.width,i=void 0===o?0:o,u=t.height,s=void 0===u?0:u,a=t.images,p=void 0===a?[]:a,h=t.fps,v=void 0===h?24:h,d=t.loop,y=void 0===d?0:d,_=t.alternate,m=void 0!==_&&_,b=t.transparent,g=void 0!==b&&b,x=t.autoPlay,w=void 0!==x&&x;(0,f.default)(this,e);var O=(0,l.default)(this,(e.__proto__||(0,c.default)(e)).call(this));return"string"==typeof r&&(r=document.querySelector(r)),O._ctx2d=r.getContext("2d"),r.setAttribute("width",i),r.setAttribute("height",s),O._width=i,O._height=s,O._startFrame=0,O._endFrame=p.length-1,O._currentFrame=0,O._fps=v,O._loop=y,O._alternate=m,O._transparent=g,O._isPlay=!1,O._times=0,O._timestamp=0,O._autoPlay=w,O._frames=O._load(p),O}return(0,d.default)(e,t),(0,h.default)(e,null,[{key:"version",get:function(){return"1.0.2"}}]),(0,h.default)(e,[{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._isPlay||(this._isPlay=!0,this._continue=!1,this._desc=t,this.emit("play"),this._tick())}},{key:"stop",value:function(t){this._isPlay=!1,_.default.cancel(this._rafId),this._times=0,this._draw(t),this.emit("stop")}},{key:"_load",value:function(t){var e=this,n=0,r=t.length;return t.map(function(t){var o=t;return o instanceof Image||(o=new Image),o.onload=function(){e.emit("loading",{count:++n,total:r}),n>=r&&(e.emit("ready"),e._autoPlay&&e.play())},o.src=t,o})}},{key:"_tick",value:function(){var t=this,e=(new Date).getTime();e-this._timestamp>=1e3/this._fps&&(this._timestamp=e,this._update()),this._rafId=(0,_.default)(function(){return t._tick()})}},{key:"_update",value:function(){if(this._isPlay)if(this._draw(this._currentFrame),this._currentFrame!==this._endFrame&&this._currentFrame!==this._startFrame||!this._continue)this._currentFrame+=this._desc?-1:1,this._continue=!0;else if(this._loop&&(this._times+1<this._loop||-1===this._loop)){var t=[this._startFrame,this._endFrame].sort(),e=(0,i.default)(t,2),n=e[0],r=e[1];this._alternate?(this._currentFrame=this._desc?n+1:r-1,this._desc=!this._desc):(this._continue=!1,this._currentFrame=this._desc?r:n),this._times++}else this.stop()}},{key:"_draw",value:function(t){"number"==typeof t&&(t<0&&(t=0),t>this._endFrame&&(t=this._endFrame),this._currentFrame=t,this._transparent&&this._ctx2d.clearRect(0,0,this._width,this._height),this._ctx2d.drawImage(this._frames[t],0,0,this._width,this._height),this.emit("update",{frame:t,times:this._times+1,desc:this._desc}))}},{key:"frame",get:function(){return this._currentFrame}}]),e}(b.default);e.default=g},function(t,e,n){"use strict";t.exports=n(44).default},function(t,e,n){t.exports={default:n(59),__esModule:!0}},function(t,e,n){t.exports={default:n(60),__esModule:!0}},function(t,e,n){t.exports={default:n(61),__esModule:!0}},function(t,e,n){t.exports={default:n(62),__esModule:!0}},function(t,e,n){t.exports={default:n(63),__esModule:!0}},function(t,e,n){t.exports={default:n(64),__esModule:!0}},function(t,e,n){t.exports={default:n(65),__esModule:!0}},function(t,e,n){t.exports={default:n(66),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(49),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=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),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(51),i=r(o),u=n(48),c=r(u),s=n(31),f=r(s);e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,f.default)(e)));t.prototype=(0,c.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(i.default?(0,i.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";e.__esModule=!0;var r=n(31),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(47),i=r(o),u=n(46),c=r(u);e.default=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,s=(0,c.default)(t);!(r=(u=s.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if((0,i.default)(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(t,e,n){n(30),n(29),t.exports=n(85)},function(t,e,n){n(30),n(29),t.exports=n(86)},function(t,e,n){n(88);var r=n(0).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(89);var r=n(0).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(90),t.exports=n(0).Object.getPrototypeOf},function(t,e,n){n(91),t.exports=n(0).Object.setPrototypeOf},function(t,e,n){n(93),n(92),n(94),n(95),t.exports=n(0).Symbol},function(t,e,n){n(29),n(30),t.exports=n(28).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(9),o=n(83),i=n(82);t.exports=function(t){return function(e,n,u){var c,s=r(e),f=o(s.length),a=i(u,f);if(t&&n!=n){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}}},function(t,e,n){var r=n(20),o=n(39),i=n(21);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,c=n(t),s=i.f,f=0;c.length>f;)s.call(t,u=c[f++])&&e.push(u);return e}},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(15);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(19),o=n(13),i=n(22),u={};n(8)(u,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(14)("meta"),o=n(11),i=n(4),u=n(5).f,c=0,s=Object.isExtensible||function(){return!0},f=!n(10)(function(){return s(Object.preventExtensions({}))}),a=function(t){u(t,r,{value:{i:"O"+ ++c,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!s(t))return"F";if(!e)return"E";a(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!s(t))return!0;if(!e)return!1;a(t)}return t[r].w},h=function(t){return f&&v.NEED&&s(t)&&!i(t,r)&&a(t),t},v=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,n){var r=n(5),o=n(6),i=n(20);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,s=0;c>s;)r.f(t,n=u[s++],e[n]);return t}},function(t,e,n){var r=n(9),o=n(38).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?c(t):o(r(t))}},function(t,e,n){var r=n(7),o=n(0),i=n(10);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(11),o=n(6),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(33)(Function.call,n(37).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){var r=n(25),o=n(16);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),s=r(n),f=c.length;return s<0||s>=f?t?"":void 0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===f||(u=c.charCodeAt(s+1))<56320||u>57343?t?c.charAt(s):i:t?c.slice(s,s+2):u-56320+(i-55296<<10)+65536)}}},function(t,e,n){var r=n(25),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(25),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(32),o=n(1)("iterator"),i=n(12);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(6),o=n(84);t.exports=n(0).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){var r=n(32),o=n(1)("iterator"),i=n(12);t.exports=n(0).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},function(t,e,n){"use strict";var r=n(68),o=n(75),i=n(12),u=n(9);t.exports=n(36)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(7);r(r.S,"Object",{create:n(19)})},function(t,e,n){var r=n(7);r(r.S+r.F*!n(3),"Object",{defineProperty:n(5).f})},function(t,e,n){var r=n(43),o=n(40);n(79)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(7);r(r.S,"Object",{setPrototypeOf:n(80).set})},function(t,e){},function(t,e,n){"use strict";var r=n(2),o=n(4),i=n(3),u=n(7),c=n(42),s=n(76).KEY,f=n(10),a=n(24),l=n(22),p=n(14),h=n(1),v=n(28),d=n(27),y=n(70),_=n(73),m=n(6),b=n(9),g=n(26),x=n(13),w=n(19),O=n(78),S=n(37),j=n(5),P=n(20),T=S.f,M=j.f,F=O.f,k=r.Symbol,E=r.JSON,L=E&&E.stringify,A=h("_hidden"),C=h("toPrimitive"),I={}.propertyIsEnumerable,N=a("symbol-registry"),D=a("symbols"),R=a("op-symbols"),G=Object.prototype,q="function"==typeof k,V=r.QObject,W=!V||!V.prototype||!V.prototype.findChild,H=i&&f(function(){return 7!=w(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=T(G,e);r&&delete G[e],M(t,e,n),r&&t!==G&&M(G,e,r)}:M,J=function(t){var e=D[t]=w(k.prototype);return e._k=t,e},z=q&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},B=function(t,e,n){return t===G&&B(R,e,n),m(t),e=g(e,!0),m(n),o(D,e)?(n.enumerable?(o(t,A)&&t[A][e]&&(t[A][e]=!1),n=w(n,{enumerable:x(0,!1)})):(o(t,A)||M(t,A,x(1,{})),t[A][e]=!0),H(t,e,n)):M(t,e,n)},K=function(t,e){m(t);for(var n,r=y(e=b(e)),o=0,i=r.length;i>o;)B(t,n=r[o++],e[n]);return t},U=function(t,e){return void 0===e?w(t):K(w(t),e)},Y=function(t){var e=I.call(this,t=g(t,!0));return!(this===G&&o(D,t)&&!o(R,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,A)&&this[A][t])||e)},Q=function(t,e){if(t=b(t),e=g(e,!0),t!==G||!o(D,e)||o(R,e)){var n=T(t,e);return!n||!o(D,e)||o(t,A)&&t[A][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=F(b(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==A||e==s||r.push(e);return r},Z=function(t){for(var e,n=t===G,r=F(n?R:b(t)),i=[],u=0;r.length>u;)!o(D,e=r[u++])||n&&!o(G,e)||i.push(D[e]);return i};q||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===G&&e.call(R,n),o(this,A)&&o(this[A],t)&&(this[A][t]=!1),H(this,t,x(1,n))};return i&&W&&H(G,t,{configurable:!0,set:e}),J(t)},c(k.prototype,"toString",function(){return this._k}),S.f=Q,j.f=B,n(38).f=O.f=X,n(21).f=Y,n(39).f=Z,i&&!n(18)&&c(G,"propertyIsEnumerable",Y,!0),v.f=function(t){return J(h(t))}),u(u.G+u.W+u.F*!q,{Symbol:k});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)h($[tt++]);for(var et=P(h.store),nt=0;et.length>nt;)d(et[nt++]);u(u.S+u.F*!q,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=k(t)},keyFor:function(t){if(!z(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),u(u.S+u.F*!q,"Object",{create:U,defineProperty:B,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),E&&u(u.S+u.F*(!q||f(function(){var t=k();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!z(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return e=r[1],"function"==typeof e&&(n=e),!n&&_(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!z(e))return e}),r[1]=e,L.apply(E,r)}}}),k.prototype[C]||n(8)(k.prototype,C,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){n(27)("asyncIterator")},function(t,e,n){n(27)("observable")},function(t,e,n){"use strict";function r(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){this._events=new r,this._eventsCount=0}var u=Object.prototype.hasOwnProperty,c="~";Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(c=!1)),i.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)u.call(t,e)&&n.push(c?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},i.prototype.listeners=function(t,e){var n=c?c+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,u=new Array(i);o<i;o++)u[o]=r[o].fn;return u},i.prototype.emit=function(t,e,n,r,o,i){var u=c?c+t:t;if(!this._events[u])return!1;var s,f,a=this._events[u],l=arguments.length;if(a.fn){switch(a.once&&this.removeListener(t,a.fn,void 0,!0),l){case 1:return a.fn.call(a.context),!0;case 2:return a.fn.call(a.context,e),!0;case 3:return a.fn.call(a.context,e,n),!0;case 4:return a.fn.call(a.context,e,n,r),!0;case 5:return a.fn.call(a.context,e,n,r,o),!0;case 6:return a.fn.call(a.context,e,n,r,o,i),!0}for(f=1,s=new Array(l-1);f<l;f++)s[f-1]=arguments[f];a.fn.apply(a.context,s)}else{var p,h=a.length;for(f=0;f<h;f++)switch(a[f].once&&this.removeListener(t,a[f].fn,void 0,!0),l){case 1:a[f].fn.call(a[f].context);break;case 2:a[f].fn.call(a[f].context,e);break;case 3:a[f].fn.call(a[f].context,e,n);break;case 4:a[f].fn.call(a[f].context,e,n,r);break;default:if(!s)for(p=1,s=new Array(l-1);p<l;p++)s[p-1]=arguments[p];a[f].fn.apply(a[f].context,s)}}return!0},i.prototype.on=function(t,e,n){var r=new o(e,n||this),i=c?c+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.once=function(t,e,n){var r=new o(e,n||this,!0),i=c?c+t:t;return this._events[i]?this._events[i].fn?this._events[i]=[this._events[i],r]:this._events[i].push(r):(this._events[i]=r,this._eventsCount++),this},i.prototype.removeListener=function(t,e,n,o){var i=c?c+t:t;if(!this._events[i])return this;if(!e)return 0==--this._eventsCount?this._events=new r:delete this._events[i],this;var u=this._events[i];if(u.fn)u.fn!==e||o&&!u.once||n&&u.context!==n||(0==--this._eventsCount?this._events=new r:delete this._events[i]);else{for(var s=0,f=[],a=u.length;s<a;s++)(u[s].fn!==e||o&&!u[s].once||n&&u[s].context!==n)&&f.push(u[s]);f.length?this._events[i]=1===f.length?f[0]:f:0==--this._eventsCount?this._events=new r:delete this._events[i]}return this},i.prototype.removeAllListeners=function(t){var e;return t?(e=c?c+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new r:delete this._events[e])):(this._events=new r,this._eventsCount=0),this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=c,i.EventEmitter=i,t.exports=i},function(t,e,n){(function(e){(function(){var n,r,o,i,u,c;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:void 0!==e&&null!==e&&e.hrtime?(t.exports=function(){return(n()-u)/1e6},r=e.hrtime,n=function(){var t;return t=r(),1e9*t[0]+t[1]},i=n(),c=1e9*e.uptime(),u=i-c):Date.now?(t.exports=function(){return Date.now()-o},o=Date.now()):(t.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(e,n(98))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(a===setTimeout)return setTimeout(t,0);if((a===n||!a)&&setTimeout)return a=setTimeout,setTimeout(t,0);try{return a(t,0)}catch(e){try{return a.call(null,t,0)}catch(e){return a.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function u(){d&&h&&(d=!1,h.length?v=h.concat(v):y=-1,v.length&&c())}function c(){if(!d){var t=o(u);d=!0;for(var e=v.length;e;){for(h=v,v=[];++y<e;)h&&h[y].run();y=-1,e=v.length}h=null,d=!1,i(t)}}function s(t,e){this.fun=t,this.array=e}function f(){}var a,l,p=t.exports={};!function(){try{a="function"==typeof setTimeout?setTimeout:n}catch(t){a=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var h,v=[],d=!1,y=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];v.push(new s(t,e)),1!==v.length||d||o(c)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=f,p.addListener=f,p.once=f,p.off=f,p.removeListener=f,p.removeAllListeners=f,p.emit=f,p.prependListener=f,p.prependOnceListener=f,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e,n){(function(e){for(var r=n(97),o="undefined"==typeof window?e:window,i=["moz","webkit"],u="AnimationFrame",c=o["request"+u],s=o["cancel"+u]||o["cancelRequest"+u],f=0;!c&&f<i.length;f++)c=o[i[f]+"Request"+u],s=o[i[f]+"Cancel"+u]||o[i[f]+"CancelRequest"+u];if(!c||!s){var a=0,l=0,p=[];c=function(t){if(0===p.length){var e=r(),n=Math.max(0,1e3/60-(e-a));a=n+e,setTimeout(function(){var t=p.slice(0);p.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(a)}catch(t){setTimeout(function(){throw t},0)}},Math.round(n))}return p.push({handle:++l,callback:t,cancelled:!1}),l},s=function(t){for(var e=0;e<p.length;e++)p[e].handle===t&&(p[e].cancelled=!0)}}t.exports=function(t){return c.call(o,t)},t.exports.cancel=function(){s.apply(o,arguments)},t.exports.polyfill=function(t){t||(t=o),t.requestAnimationFrame=c,t.cancelAnimationFrame=s}}).call(e,n(100))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n}])});
{
"name": "frame-player",
"version": "1.0.1",
"version": "1.0.2",
"description": "Frame Player",

@@ -5,0 +5,0 @@ "main": "dist/frame-player.min.js",

@@ -38,2 +38,3 @@ # frame-player

- [event: 'stop'](#event-stop)
- [framePlayer.on(event, fn)](#frameplayeroneventfn)
- [framePlayer.play([desc])](#frameplayerplaydesc)

@@ -79,2 +80,8 @@ - [framePlayer.stop([frame])](#frameplayerstopframe)

#### framePlayer.on(event, fn)
- `event` <[string]> 事件名
- `fn` <[function]> 回调函数
事件监听
#### framePlayer.play([desc])

@@ -81,0 +88,0 @@ - `desc` <[boolean]> 是否反向播放。默认 `false`

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc