You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.4 MiB

5 years ago
webpackJsonp([45],Array(767).concat([function(t,e){var n=Array.isArray;t.exports=n},function(t,e){var s={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},l={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},u=Object.prototype.toString,n=Array.prototype,o=n.forEach,c=n.filter,i=n.slice,d=n.map,h=n.reduce,r={};function p(t){if(null==t||"object"!=typeof t)return t;var e=t,n=u.call(t);if("[object Array]"===n){if(!C(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=p(t[i])}}else if(l[n]){if(!C(t)){var a=t.constructor;if(t.constructor.from)e=a.from(t);else{e=new a(t.length);for(i=0,r=t.length;i<r;i++)e[i]=p(t[i])}}}else if(!s[n]&&!C(t)&&!w(t))for(var o in e={},t)t.hasOwnProperty(o)&&(e[o]=p(t[o]));return e}function f(t,e,n){if(!x(e)||!x(t))return n?p(e):t;for(var i in e)if(e.hasOwnProperty(i)){var r=t[i],a=e[i];!x(a)||!x(r)||b(a)||b(r)||w(a)||w(r)||A(a)||A(r)||C(a)||C(r)?!n&&i in t||(t[i]=p(e[i])):f(r,a,n)}return t}function a(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}function g(){return r.createCanvas()}var m;function v(t,e,n){if(t&&e)if(t.forEach&&t.forEach===o)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function y(t,e){var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}}function b(t){return"[object Array]"===u.call(t)}function x(t){var e=typeof t;return"function"==e||!!t&&"object"==e}function A(t){return!!s[u.call(t)]}function w(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}r.createCanvas=function(){return document.createElement("canvas")};var _="__ec_primitive__";function C(t){return t[_]}function S(t){var n=b(t);this.data={};var i=this;function e(t,e){n?i.set(t,e):i.set(e,t)}t instanceof S?t.each(e):t&&v(t,e)}S.prototype={constructor:S,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){for(var n in void 0!==e&&(t=y(t,e)),this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}},e.$override=function(t,e){"createCanvas"===t&&(m=null),r[t]=e},e.clone=p,e.merge=f,e.mergeAll=function(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=f(n,t[i],e);return n},e.extend=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},e.defaults=a,e.createCanvas=g,e.getContext=function(){return m=m||g().getContext("2d")},e.indexOf=function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1},e.inherits=function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);(t.prototype.constructor=t).superClass=e},e.mixin=function(t,e,n){a(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,n)},e.isArrayLike=function(t){if(t)return"string"!=typeof t&&"number"==typeof t.length},e.each=v,e.map=function(t,e,n){if(t&&e){if(t.map&&t.map===d)return t.map(e,n);for(var i=[],r=0,a=t.length;r<a;r++)i.push(e.call(n,t[r],r,t));return i}},e.reduce=function(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===h)return t.reduce(e,n,i);for(var r=0,a=t.length;r<a;r++)n=e.call(i,n,t[r],r,t);return n}},e.filter=function(t,e,n){if(t&&e){if(t.filter&&t.filter===c)return t.filter(e,n);for(var i=[],r=0,a=t.length;r<a;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}},e.find=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]},e.bind=y,e.curry=function(t){var e=i.call(arguments,1);return function(){return t.apply(this,e.concat(i.call(arguments)))}},e.isArray=b,e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[ob