text: /*!
   * @autots/redpacket v2.1.0
   * Last Modified @ 2020-7-23 5:11:08 ├F10: PM┤
   * Released under the MIT License.
   */
  !function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.RedPacket=n():(t.AutoTs=t.AutoTs||{},t.AutoTs.RedPacket=n())}(this,(function(){return function(t){var n={};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}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return 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,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=64)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")()}).call(this,e(68))},function(t,n,e){var r=e(0),o=e(37),i=e(3),c=e(41),u=e(42),a=e(69),s=o("wks"),f=r.Symbol,l=a?f:f&&f.withoutSetter||c;t.exports=function(t){return i(s,t)||(u&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(8);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(0),o=e(31).f,i=e(6),c=e(11),u=e(24),a=e(75),s=e(48);t.exports=function(t,n){var e,f,l,p,h,v=t.target,d=t.global,y=t.stat;if(e=d?r:y?r[v]||u(v,{}):(r[v]||{}).prototype)for(f in n){if(p=n[f],l=t.noTargetGet?(h=o(e,f))&&h.value:e[f],!s(d?f:v+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,f,p,t)}}},function(t,n,e){var r=e(7),o=e(9),i=e(18);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(2);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(7),o=e(39),i=e(4),c=e(40),u=Object.defineProperty;n.f=r?u:function(t,n,e){if(i(t),n=c(n,!0),i(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(46),o=e(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][n]||o[t]&&o[t][n]}},function(t,n,e){var r=e(0),o=e(6),i=e(3),c=e(24),u=e(26),a=e(15),s=a.get,f=a.enforce,l=String(String).split("String");(t.exports=function(t,n,e,u){var a=!!u&&!!u.unsafe,s=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),f(e).source=l.join("string"==typeof n?n:"")),t!==r?(a?!p&&t[n]&&(s=!0):delete t[n],s?t[n]=e:o(t,n,e)):s?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||u(this)}))},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n){t.exports=!1},function(t,n,e){var r,o,i,c=e(70),u=e(0),a=e(8),s=e(6),f=e(3),l=e(27),p=e(28),h=u.WeakMap;if(c){var v=new h,d=v.get,y=v.has,g=v.set;r=function(t,n){return g.call(v,t,n),n},o=function(t){return d.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var m=l("state");p[m]=!0,r=function(t,n){return s(t,m,n),n},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!a(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n){t.exports={}},function(t,n,e){"use strict";var r=e(13),o=function(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)};t.exports.f=function(t){return new o(t)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(45),o=e(30);t.exports=function(t){return r(o(t))}},function(t,n,e){var r=e(4),o=e(94),i=e(32),c=e(21),u=e(95),a=e(96),s=function(t,n){this.stopped=t,this.result=n};(t.exports=function(t,n,e,f,l){var p,h,v,d,y,g,m,w=c(n,e,f?2:1);if(l)p=t;else{if("function"!=typeof(h=u(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((y=f?w(r(m=t[v])[0],m[1]):w(t[v]))&&y instanceof s)return y;return new s(!1)}p=h.call(t)}for(g=p.next;!(m=g.call(p)).done;)if("object"==typeof(y=a(p,w,m.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},function(t,n,e){var r=e(13);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n,e){var r={};r[e(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(0),o=e(6);t.exports=function(t,n){try{o(r,t,n)}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(0),o=e(8),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,e){var r=e(38),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,n,e){var r=e(37),o=e(41),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(7),o=e(74),i=e(18),c=e(19),u=e(40),a=e(3),s=e(39),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(t,n){if(t=c(t),n=u(n,!0),s)try{return f(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n,e){var r=e(29),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r=e(3),o=e(50),i=e(27),c=e(82),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r,o=e(4),i=e(83),c=e(33),u=e(28),a=e(51),s=e(25),f=e(27),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"<\/script>"},v=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,n;v=r?function(t){t.write(h("")),t.close();var n=t.parentWindow.Object;return t=null,n}(r):((n=s("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F);for(var e=c.length;e--;)delete v.prototype[c[e]];return v()};u[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=v(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(9).f,o=e(3),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(14),o=e(38);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(0),o=e(24),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,n,e){var r=e(7),o=e(2),i=e(25);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(8);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(2);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,n,e){var r=e(23),o=e(12),i=e(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:c?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){"use strict";var r=e(5),o=e(81),i=e(34),c=e(52),u=e(36),a=e(6),s=e(11),f=e(1),l=e(14),p=e(16),h=e(49),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g=function(){return this};t.exports=function(t,n,e,f,h,m,w){o(e,n,f);var x,b,S,j=function(t){if(t===h&&P)return P;if(!d&&t in A)return A[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},T=n+" Iterator",O=!1,A=t.prototype,E=A[y]||A["@@iterator"]||h&&A[h],P=!d&&E||j(h),_="Array"==n&&A.entries||E;if(_&&(x=i(_.call(new t)),v!==Object.prototype&&x.next&&(l||i(x)===v||(c?c(x,v):"function"!=typeof x[y]&&a(x,y,g)),u(x,T,!0,!0),l&&(p[T]=g))),"values"==h&&E&&"values"!==E.name&&(O=!0,P=function(){return E.call(this)}),l&&!w||A[y]===P||a(A,y,P),p[n]=P,h)if(b={values:j("values"),keys:m?P:j("keys"),entries:j("entries")},w)for(S in b)(d||O||!(S in A))&&s(A,S,b[S]);else r({target:n,proto:!0,forced:d||O},b);return b}},function(t,n,e){var r=e(2),o=e(12),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(0);t.exports=r},function(t,n,e){var r=e(3),o=e(19),i=e(78).indexOf,c=e(28);t.exports=function(t,n){var e,u=o(t),a=0,s=[];for(e in u)!r(c,e)&&r(u,e)&&s.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(s,e)||s.push(e));return s}},function(t,n,e){var r=e(2),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==s||e!=a&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,n,e){"use strict";var r,o,i,c=e(34),u=e(6),a=e(3),s=e(1),f=e(14),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||a(r,l)||u(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,n,e){var r=e(30);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(10);t.exports=r("document","documentElement")},function(t,n,e){var r=e(4),o=e(85);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,i){return r(e),o(i),n?t.call(e,i):e.__proto__=i,e}}():void 0)},function(t,n,e){var r=e(0);t.exports=r.Promise},function(t,n,e){var r=e(4),o=e(13),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||null==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c=e(0),u=e(2),a=e(12),s=e(21),f=e(51),l=e(25),p=e(56),h=c.location,v=c.setImmediate,d=c.clearImmediate,y=c.process,g=c.MessageChannel,m=c.Dispatch,w=0,x={},b=function(t){if(x.hasOwnProperty(t)){var n=x[t];delete x[t],n()}},S=function(t){return function(){b(t)}},j=function(t){b(t.data)},T=function(t){c.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return x[++w]=function(){("function"==typeof t?t:Function(t)).apply(void 0,n)},r(w),w},d=function(t){delete x[t]},"process"==a(y)?r=function(t){y.nextTick(S(t))}:m&&m.now?r=function(t){m.now(S(t))}:g&&!p?(i=(o=new g).port2,o.port1.onmessage=j,r=s(i.postMessage,i,1)):!c.addEventListener||"function"!=typeof postMessage||c.importScripts||u(T)||"file:"===h.protocol?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),b(t)}}:function(t){setTimeout(S(t),0)}:(r=T,c.addEventListener("message",j,!1))),t.exports={set:v,clear:d}},function(t,n,e){var r=e(57);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,n,e){var r=e(10);t.exports=r("navigator","userAgent")||""},function(t,n,e){var r=e(4),o=e(8),i=e(17);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){var r,o,i=e(0),c=e(57),u=i.process,a=u&&u.versions,s=a&&a.v8;s?o=(r=s.split("."))[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,n,e){"use strict";var r=e(5),o=e(13),i=e(17),c=e(22),u=e(20);r({target:"Promise",stat:!0},{allSettled:function(t){var n=this,e=i.f(n),r=e.resolve,a=e.reject,s=c((function(){var e=o(n.resolve),i=[],c=0,a=1;u(t,(function(t){var o=c++,u=!1;i.push(void 0),a++,e.call(n,t).then((function(t){u||(u=!0,i[o]={status:"fulfilled",value:t},--a||r(i))}),(function(t){u||(u=!0,i[o]={status:"rejected",reason:t},--a||r(i))}))})),--a||r(i)}));return s.error&&a(s.value),e.promise}})},function(t,n,e){var r=e(21),o=e(45),i=e(50),c=e(32),u=e(109),a=[].push,s=function(t){var n=1==t,e=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,y){for(var g,m,w=i(h),x=o(w),b=r(v,d,3),S=c(x.length),j=0,T=y||u,O=n?T(h,S):e?T(h,0):void 0;S>j;j++)if((p||j in x)&&(m=b(g=x[j],j,w),t))if(n)O[j]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return j;case 2:a.call(O,g)}else if(f)return!1;return l?-1:s||f?f:O}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,n,e){var r=e(7),o=e(2),i=e(3),c=Object.defineProperty,u={},a=function(t){throw t};t.exports=function(t,n){if(i(u,t))return u[t];n||(n={});var e=[][t],s=!!i(n,"ACCESSORS")&&n.ACCESSORS,f=i(n,0)?n[0]:a,l=i(n,1)?n[1]:void 0;return u[t]=!!e&&!o((function(){if(s&&!r)return!0;var t={length:-1};s?c(t,1,{enumerable:!0,get:a}):t[1]=1,e.call(t,f,l)}))}},function(t,n,e){var r=e(0),o=e(21),i=Function.call;t.exports=function(t,n,e){return o(i,r[t].prototype[n],e)}},function(t,n,e){"use strict";var r,o=this&&this.__extends||(r=function(t,n){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)},function(t,n){function e(){this.constructor=t}r(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)},c=this&&this.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function c(t){try{a(r.next(t))}catch(t){i(t)}}function u(t){try{a(r.throw(t))}catch(t){i(t)}}function a(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(c,u)}a((r=r.apply(t,n||[])).next())}))},u=this&&this.__generator||function(t,n){var e,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;c;)try{if(e=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=c.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=n.call(t,c)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),e(65),e(105),e(112);var s=a(e(116)).default(),f=s.requestAnimationFrame,l=s.cancelAnimationFrame,p=window.devicePixelRatio>1?2:1,h="ontouchstart"in window;function v(t,n){return Math.random()*(n-t)+t}var d=function(){function t(t){var n=t.type,e=t.x,r=t.y,o=t.img,i=t.speed,c=t.ratio,u=void 0===c?1:c,a=t.angle;this.type=n,this.x=e,this.y=r,this.ratio=u,this.width=o.width/2*this.ratio,this.height=o.height/2*this.ratio,this.img=o.imgDom,this.speed=i,this.angle=a}return t.prototype.draw=function(t){t.drawImage(this.img,this.x,this.y,this.width,this.height),this.y+=this.speed,this.x-=this.speed*this.angle},t}(),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n}(d),g=function(){function t(t){this.x=t.x,this.y=t.y,this.ratio=v(.5,1.2),this.config=t,this.scale=.2,this.opacity=1,this.update(),this.img=t.img.imgDom,this.score=t.score||1}return t.prototype.update=function(){this.scale>=1?this.opacity-=.05:this.scale+=.2,this.width=this.config.img.width/2*this.scale*this.ratio,this.height=this.config.img.height/2*this.scale*this.ratio},t.prototype.draw=function(t){t.drawImage(this.img,this.x-this.width/2,this.y-this.height/2,this.width,this.height),this.score>1&&(t.font="22px DINAlternate-Bold",t.fillStyle="#fff",t.fillText("x"+this.score,this.x+16,this.y-30)),this.update()},t}(),m=function(){function t(t){var n=document.getElementById(t.container);n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",n.width=window.innerWidth*p,n.height=window.innerHeight*p,n.getContext&&(this.canvasDom=n,this.imgUrl=t.imgUrl,this.angle=t.angle||.3,this.rainType=t.rainType,this.ctx=n.getContext("2d"),this.ctx.scale(p,p),this.countdownTime=t.countdownTime||0,this.remainTime=t.remainTime||30,this.onDurationCallBack=t.onDuration||function(){},this.onEndedCallBack=t.onEnded||function(){},this.onStartCallBack=t.onStart||function(){},this.count=0,this.init())}return t.prototype.init=function(){return c(this,void 0,void 0,(function(){var t,n=this;return u(this,(function(e){switch(e.label){case 0:return[4,(r=this.rainType.map((function(t,e){return n.imgUrl+"raindrop"+(e+1)+".png"})).concat([this.imgUrl+"bingo.png",this.imgUrl+"meteor.png",this.imgUrl+"countdown-bg.png",this.imgUrl+"countdown.png",this.imgUrl+"count-bg.png"]),new Promise((function(t){for(var n=0,e=r.length,o=new Array(e),i=function(i){var c=new Image;c.onload=function(r){var u=r.target,a=u.width,s=u.height;n++,o.splice(i,1,{imgDom:c,width:a,height:s}),n===e&&t(o)},c.src=r[i]},c=0;c<e;c++)i(c)})))];case 1:return t=e.sent(),this.onStartCallBack(),this.imgList={rain:t.splice(0,this.rainType.length),binggo:t.shift(),meteor:t.shift(),countdownBg:t.shift(),countdown:t.shift(),countBg:t.shift()},this.rainList=[],this.finished=!1,this.countDown(),[2]}var r}))}))},t.prototype.countDown=function(){var t=this,n=this.imgList.countdownBg,e=this.imgList.countdown;this.ctx.clearRect(0,0,window.innerWidth,window.innerHeight),this.ctx.drawImage(n.imgDom,(window.innerWidth-n.width/2)/2,(window.innerHeight-n.height/2)/2,n.width/2,n.height/2),this.ctx.drawImage(e.imgDom,0,(5-this.countdownTime)*e.height/6,e.width,e.height/6,(window.innerWidth-e.width/2)/2,(window.innerHeight-e.height/6/2)/2+130,e.width/2,e.height/6/2),setTimeout((function(){t.finished||(t.countdownTime>0?(t.countdownTime--,t.countDown()):t.start())}),1e3)},t.prototype.start=function(){var t=this;this.add();var n=setInterval((function(){t.finished?clearInterval(n):t.add()}),600);this.onDurationCallBack(this.remainTime,this.count);var e=setInterval((function(){if(t.remainTime--,t.remainTime<=0||t.finished)return clearInterval(e),void t.onEnded();t.onDurationCallBack&&t.onDurationCallBack(t.remainTime,t.count)}),1e3);this.drop(),this.onClick()},t.prototype.draw=function(){for(var t=0;t<this.rainList.length;t++){var n=this.rainList[t];this.ctx.globalAlpha=n.opacity||1,n.draw(this.ctx),(n.opacity<=0||n.x+n.width<0||n.y-n.height>window.innerHeight)&&(this.rainList.splice(t,1),t--)}this.ctx.globalAlpha=1},t.prototype.drop=function(){this.ctx.clearRect(0,0,window.innerWidth,window.innerHeight),this.draw(),this.counting(),this.remain(),this.moveAnimation=f(this.drop.bind(this)),this.finished&&l(this.moveAnimation)},t.prototype.getTypeByRatio=function(t){for(var n=0,e=0;e<this.rainType.length;e++)if(t<=(n+=this.rainType[e].ratio))return e},t.prototype.add=function(){var t=window.innerWidth-1200<=200?100:(window.innerWidth-1200)/2,n=Math.floor(v(1,4)),e=new y({angle:.3,x:v(t,window.innerWidth-t),y:-10,img:this.imgList.meteor,speed:v(5,8),ratio:v(.5,1.2)});this.rainList.push(e);for(var r=0;r<n;r++){var o=v(0,10),i=this.getTypeByRatio(o),c=new d({angle:this.angle,type:i,x:v(t,window.innerWidth-t),y:-10,img:this.imgList.rain[i],speed:v(1,3)+this.rainType[i].speed});this.rainList.push(c)}},t.prototype.onClick=function(){var t=this;this.canvasDom.addEventListener(h?"touchstart":"mousedown",(function(n){if(!t.finished){var e=function(t){var n=t.changedTouches?t.changedTouches[0]:t;return{x:n.clientX,y:n.clientY}}(n),r=[];if(t.rainList.forEach((function(n,o){n.constructor===d&&function(t,n,e){void 0===e&&(e=0);var r=t.x-(n.x+e),o=t.y-(n.y+e),i=r>0&&r<n.width-2*e,c=o>0&&o<n.height-2*e;return i&&c}(e,n,(t.rainType[n.type].useless||0)/2)&&r.push(i(i({},n),{index:o}))})),r.length>0){var o=r.pop(),c=new g({x:o.x+o.width/2,y:o.y+o.height/2,img:t.imgList.binggo,score:t.rainType[o.type].score});t.rainList.splice(o.index,1),t.rainList.push(c),t.count+=t.rainType[o.type].score}}}))},t.prototype.onEnded=function(){this.finished=!0,this.remainTime<=0&&this.onEndedCallBack(this.count)},t.prototype.remain=function(){this.ctx.font="28px DINAlternate-Bold",this.ctx.fillStyle="#fff";var t=window.innerWidth-1200>0?(window.innerWidth-1200)/2:0;this.ctx.fillText("剩余："+this.remainTime+"s",t,115)},t.prototype.close=function(){this.finished=!0},t.prototype.counting=function(){var t=this.imgList.countBg,n=(window.innerWidth-t.width/2)/2-40;this.ctx.drawImage(t.imgDom,n,70,t.width/2,t.height/2),this.ctx.shadowColor="rgba(228,57,28,1)",this.ctx.shadowBlur=20,this.ctx.font="bold 44px bold",this.ctx.fillStyle="#fff",this.ctx.fillText(String(this.count),n+t.width/2,120),this.ctx.shadowBlur=0},t}();n.default=m},function(t,n,e){var r=e(66);e(101),e(102),e(103),e(104),t.exports=r},function(t,n,e){e(67),e(72),e(86),e(90),e(60),e(100);var r=e(46);t.exports=r.Promise},function(t,n,e){var r=e(23),o=e(11),i=e(71);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(42);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(0),o=e(26),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,e){"use strict";var r=e(23),o=e(43);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,e){"use strict";var r=e(73).charAt,o=e(15),i=e(44),c=o.set,u=o.getterFor("String Iterator");i(String,"String",(function(t){c(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,n=u(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,e){var r=e(29),o=e(30),i=function(t){return function(n,e){var i,c,u=String(o(n)),a=r(e),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(3),o=e(76),i=e(31),c=e(9);t.exports=function(t,n){for(var e=o(n),u=c.f,a=i.f,s=0;s<e.length;s++){var f=e[s];r(t,f)||u(t,f,a(n,f))}}},function(t,n,e){var r=e(10),o=e(77),i=e(80),c=e(4);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(c(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(47),o=e(33).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(19),o=e(32),i=e(79),c=function(t){return function(n,e,c){var u,a=r(n),s=o(a.length),f=i(c,s);if(t&&e!=e){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,e){var r=e(29),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){"use strict";var r=e(49).IteratorPrototype,o=e(35),i=e(18),c=e(36),u=e(16),a=function(){return this};t.exports=function(t,n,e){var s=n+" Iterator";return t.prototype=o(r,{next:i(1,e)}),c(t,s,!1,!0),u[s]=a,t}},function(t,n,e){var r=e(2);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,e){var r=e(7),o=e(9),i=e(4),c=e(84);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),u=r.length,a=0;u>a;)o.f(t,e=r[a++],n[e]);return t}},function(t,n,e){var r=e(47),o=e(33);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(8);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,n,e){var r=e(0),o=e(87),i=e(88),c=e(6),u=e(1),a=u("iterator"),s=u("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[a]!==f)try{c(h,a,f)}catch(t){h[a]=f}if(h[s]||c(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{c(h,v,i[v])}catch(t){h[v]=i[v]}}}},function(t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,n,e){"use strict";var r=e(19),o=e(89),i=e(16),c=e(15),u=e(44),a=c.set,s=c.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,n){a(this,{type:"Array Iterator",target:r(t),index:0,kind:n})}),(function(){var t=s(this),n=t.target,e=t.kind,r=t.index++;return!n||r>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:r,done:!1}:"values"==e?{value:n[r],done:!1}:{value:[r,n[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,e){var r=e(1),o=e(35),i=e(9),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,n,e){"use strict";var r,o,i,c,u=e(5),a=e(14),s=e(0),f=e(10),l=e(53),p=e(11),h=e(91),v=e(36),d=e(92),y=e(8),g=e(13),m=e(93),w=e(12),x=e(26),b=e(20),S=e(97),j=e(54),T=e(55).set,O=e(98),A=e(58),E=e(99),P=e(17),_=e(22),L=e(15),k=e(48),I=e(1),M=e(59),C=I("species"),D="Promise",B=L.get,F=L.set,R=L.getterFor(D),W=l,N=s.TypeError,G=s.document,H=s.process,U=f("fetch"),V=P.f,q=V,z="process"==w(H),Y=!!(G&&G.createEvent&&s.dispatchEvent),K=k(D,(function(){if(!(x(W)!==String(W))){if(66===M)return!0;if(!z&&"function"!=typeof PromiseRejectionEvent)return!0}if(a&&!W.prototype.finally)return!0;if(M>=51&&/native code/.test(W))return!1;var t=W.resolve(1),n=function(t){t((function(){}),(function(){}))};return(t.constructor={})[C]=n,!(t.then((function(){}))instanceof n)})),X=K||!S((function(t){W.all(t).catch((function(){}))})),J=function(t){var n;return!(!y(t)||"function"!=typeof(n=t.then))&&n},Q=function(t,n,e){if(!n.notified){n.notified=!0;var r=n.reactions;O((function(){for(var o=n.value,i=1==n.state,c=0;r.length>c;){var u,a,s,f=r[c++],l=i?f.ok:f.fail,p=f.resolve,h=f.reject,v=f.domain;try{l?(i||(2===n.rejection&&nt(t,n),n.rejection=1),!0===l?u=o:(v&&v.enter(),u=l(o),v&&(v.exit(),s=!0)),u===f.promise?h(N("Promise-chain cycle")):(a=J(u))?a.call(u,p,h):p(u)):h(o)}catch(t){v&&!s&&v.exit(),h(t)}}n.reactions=[],n.notified=!1,e&&!n.rejection&&$(t,n)}))}},Z=function(t,n,e){var r,o;Y?((r=G.createEvent("Event")).promise=n,r.reason=e,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:n,reason:e},(o=s["on"+t])?o(r):"unhandledrejection"===t&&E("Unhandled promise rejection",e)},$=function(t,n){T.call(s,(function(){var e,r=n.value;if(tt(n)&&(e=_((function(){z?H.emit("unhandledRejection",r,t):Z("unhandledrejection",t,r)})),n.rejection=z||tt(n)?2:1,e.error))throw e.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,n){T.call(s,(function(){z?H.emit("rejectionHandled",t):Z("rejectionhandled",t,n.value)}))},et=function(t,n,e,r){return function(o){t(n,e,o,r)}},rt=function(t,n,e,r){n.done||(n.done=!0,r&&(n=r),n.value=e,n.state=2,Q(t,n,!0))},ot=function(t,n,e,r){if(!n.done){n.done=!0,r&&(n=r);try{if(t===e)throw N("Promise can't be resolved itself");var o=J(e);o?O((function(){var r={done:!1};try{o.call(e,et(ot,t,r,n),et(rt,t,r,n))}catch(e){rt(t,r,e,n)}})):(n.value=e,n.state=1,Q(t,n,!1))}catch(e){rt(t,{done:!1},e,n)}}};K&&(W=function(t){m(this,W,D),g(t),r.call(this);var n=B(this);try{t(et(ot,this,n),et(rt,this,n))}catch(t){rt(this,n,t)}},(r=function(t){F(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(W.prototype,{then:function(t,n){var e=R(this),r=V(j(this,W));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=z?H.domain:void 0,e.parent=!0,e.reactions.push(r),0!=e.state&&Q(this,e,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,n=B(t);this.promise=t,this.resolve=et(ot,t,n),this.reject=et(rt,t,n)},P.f=V=function(t){return t===W||t===i?new o(t):q(t)},a||"function"!=typeof l||(c=l.prototype.then,p(l.prototype,"then",(function(t,n){var e=this;return new W((function(t,n){c.call(e,t,n)})).then(t,n)}),{unsafe:!0}),"function"==typeof U&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return A(W,U.apply(s,arguments))}}))),u({global:!0,wrap:!0,forced:K},{Promise:W}),v(W,D,!1,!0),d(D),i=f(D),u({target:D,stat:!0,forced:K},{reject:function(t){var n=V(this);return n.reject.call(void 0,t),n.promise}}),u({target:D,stat:!0,forced:a||K},{resolve:function(t){return A(a&&this===i?W:this,t)}}),u({target:D,stat:!0,forced:X},{all:function(t){var n=this,e=V(n),r=e.resolve,o=e.reject,i=_((function(){var e=g(n.resolve),i=[],c=0,u=1;b(t,(function(t){var a=c++,s=!1;i.push(void 0),u++,e.call(n,t).then((function(t){s||(s=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=V(n),r=e.reject,o=_((function(){var o=g(n.resolve);b(t,(function(t){o.call(n,t).then(e.resolve,r)}))}));return o.error&&r(o.value),e.promise}})},function(t,n,e){var r=e(11);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){"use strict";var r=e(10),o=e(9),i=e(1),c=e(7),u=i("species");t.exports=function(t){var n=r(t),e=o.f;c&&n&&!n[u]&&e(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,e){if(!(t instanceof n))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t}},function(t,n,e){var r=e(1),o=e(16),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,n,e){var r=e(43),o=e(16),i=e(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(4);t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(n){var i=t.return;throw void 0!==i&&r(i.call(t)),n}}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,n,e){var r,o,i,c,u,a,s,f,l=e(0),p=e(31).f,h=e(12),v=e(55).set,d=e(56),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,m=l.Promise,w="process"==h(g),x=p(l,"queueMicrotask"),b=x&&x.value;b||(r=function(){var t,n;for(w&&(t=g.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},w?c=function(){g.nextTick(r)}:y&&!d?(u=!0,a=document.createTextNode(""),new y(r).observe(a,{characterData:!0}),c=function(){a.data=u=!u}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,c=function(){f.call(s,r)}):c=function(){v.call(l,r)}),t.exports=b||function(t){var n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,c()),i=n}},function(t,n,e){var r=e(0);t.exports=function(t,n){var e=r.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,n))}},function(t,n,e){"use strict";var r=e(5),o=e(14),i=e(53),c=e(2),u=e(10),a=e(54),s=e(58),f=e(11);r({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var n=a(this,u("Promise")),e="function"==typeof t;return this.then(e?function(e){return s(n,t()).then((function(){return e}))}:t,e?function(e){return s(n,t()).then((function(){throw e}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||f(i.prototype,"finally",u("Promise").prototype.finally)},function(t,n,e){"use strict";var r=e(5),o=e(7),i=e(34),c=e(52),u=e(35),a=e(9),s=e(18),f=e(20),l=e(6),p=e(15),h=p.set,v=p.getterFor("AggregateError"),d=function(t,n){var e=this;if(!(e instanceof d))return new d(t,n);c&&(e=c(new Error(n),i(e)));var r=[];return f(t,r.push,r),o?h(e,{errors:r,type:"AggregateError"}):e.errors=r,void 0!==n&&l(e,"message",String(n)),e};d.prototype=u(Error.prototype,{constructor:s(5,d),message:s(5,""),name:s(5,"AggregateError")}),o&&a.f(d.prototype,"errors",{get:function(){return v(this).errors},configurable:!0}),r({global:!0},{AggregateError:d})},function(t,n,e){e(60)},function(t,n,e){"use strict";var r=e(5),o=e(17),i=e(22);r({target:"Promise",stat:!0},{try:function(t){var n=o.f(this),e=i(t);return(e.error?n.reject:n.resolve)(e.value),n.promise}})},function(t,n,e){"use strict";var r=e(5),o=e(13),i=e(10),c=e(17),u=e(22),a=e(20);r({target:"Promise",stat:!0},{any:function(t){var n=this,e=c.f(n),r=e.resolve,s=e.reject,f=u((function(){var e=o(n.resolve),c=[],u=0,f=1,l=!1;a(t,(function(t){var o=u++,a=!1;c.push(void 0),f++,e.call(n,t).then((function(t){a||l||(l=!0,r(t))}),(function(t){a||l||(a=!0,c[o]=t,--f||s(new(i("AggregateError"))(c,"No one promise resolved")))}))})),--f||s(new(i("AggregateError"))(c,"No one promise resolved"))}));return f.error&&s(f.value),e.promise}})},function(t,n,e){var r=e(106);t.exports=r},function(t,n,e){e(107);var r=e(63);t.exports=r("Array","forEach")},function(t,n,e){"use strict";var r=e(5),o=e(108);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,n,e){"use strict";var r=e(61).forEach,o=e(111),i=e(62),c=o("forEach"),u=i("forEach");t.exports=c&&u?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,n,e){var r=e(8),o=e(110),i=e(1)("species");t.exports=function(t,n){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?r(e)&&null===(e=e[i])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},function(t,n,e){var r=e(12);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){"use strict";var r=e(2);t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},function(t,n,e){var r=e(113);t.exports=r},function(t,n,e){e(114);var r=e(63);t.exports=r("Array","map")},function(t,n,e){"use strict";var r=e(5),o=e(61).map,i=e(115),c=e(62),u=i("map"),a=c("map");r({target:"Array",proto:!0,forced:!u||!a},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(2),o=e(1),i=e(59),c=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[];return(n.constructor={})[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var t=window.requestAnimationFrame,n=window.cancelAnimationFrame;if(!t||!n){var e=0;t=function(t){var n=Date.now(),r=Math.max(e+16,n);return setTimeout((function(){t(e=r)}),r-n)},n=clearTimeout}return{requestAnimationFrame:t,cancelAnimationFrame:n}}}]).default}));