async-array-buffer-worker
Advanced tools
Comparing version 3.0.11 to 3.0.12
@@ -1,1 +0,1 @@ | ||
!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={};e.m=t,e.c=n,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=27)}([function(t,e,n){var r=n(22)("wks"),o=n(23),u=n(1).Symbol,i="function"==typeof u;(t.exports=function(t){return r[t]||(r[t]=i&&u[t]||(i?u: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){var r=n(3),o=n(11);t.exports=n(5)?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(4),o=n(40),u=n(41),i=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=u(e,!0),r(n),o)try{return i(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(10);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(17)(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){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,n){var r=n(22)("keys"),o=n(23);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return a});var r=n(31),o=(n.n(r),{INTERNAL_ERROR:-32603,INVALID_PARAMS:-32602,METHOD_NOT_FOUND:-32601}),u=Object(r.compile)({message:'The requested method called "${method}" is not supported.',status:o.METHOD_NOT_FOUND}),i=Object(r.compile)({message:'The handler of the method called "${method}" returned no required result.',status:o.INTERNAL_ERROR}),c=Object(r.compile)({message:'The handler of the method called "${method}" returned an unexpected result.',status:o.INTERNAL_ERROR}),a=Object(r.compile)({message:'The specified parameter called "portId" with the given value "${portId}" does not identify a port connected to this worker.',status:o.INVALID_PARAMS})},function(t,e,n){var r=n(1),o=n(9),u=n(16),i=n(2),c=function(t,e,n){var a,f,s,l=t&c.F,p=t&c.G,d=t&c.S,v=t&c.P,h=t&c.B,y=t&c.W,m=p?o:o[e]||(o[e]={}),b=m.prototype,g=p?r:d?r[e]:(r[e]||{}).prototype;p&&(n=e);for(a in n)(f=!l&&g&&void 0!==g[a])&&a in m||(s=f?g[a]:n[a],m[a]=p&&"function"!=typeof g[a]?n[a]:h&&f?u(s,r):y&&g[a]==s?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}(s):v&&"function"==typeof s?u(Function.call,s):s,v&&((m.virtual||(m.virtual={}))[a]=s,t&c.R&&b&&!b[a]&&i(b,a,s)))};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(39);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){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(10),o=n(1).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,e,n){var r=n(48),o=n(8);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(7),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},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){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(3).f,o=n(6),u=n(0)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,u)&&r(t,u,{configurable:!0,value:e})}},function(t,e,n){var r=n(8);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=n(64);Object(r.a)(self,{allocate:function(t){var e=t.length,n=Object(o.a)(e);return{result:n,transferables:[n]}},deallocate:function(){return{result:void 0}}})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(29),o=n(62),u=function(t,e){var n=Object(o.a)(u,e),i=Object(r.a)(t,n);return t.addEventListener("message",i),function(){return t.removeEventListener("message",i)}}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(30),o=n(14),u=this,i=function(t,e){return function(n){var i=n.data,c=i.id,a=i.method,f=i.params;return r.a(u,void 0,void 0,function(){var n,u,i,s,l,p,d,v,l,h,d,y,m,b,g,x;return r.b(this,function(r){switch(r.label){case 0:n=e[a],r.label=1;case 1:if(r.trys.push([1,6,,7]),void 0===n)throw Object(o.a)({method:a});if(void 0===(u=n(f)))throw Object(o.b)({method:a});if(null!==c)return[3,2];if(void 0!==u.result)throw Object(o.c)({method:a});return[3,5];case 2:return u instanceof Promise?[4,u]:[3,4];case 3:if(i=r.sent(),void 0===i.result)throw Object(o.c)({method:a});return s=i,l=s.result,p=s.transferables,d=void 0===p?[]:p,t.postMessage({id:c,result:l},d),[3,5];case 4:if(void 0===u.result)throw Object(o.c)({method:a});v=u,l=v.result,h=v.transferables,d=void 0===h?[]:h,t.postMessage({id:c,result:l},d),r.label=5;case 5:return[3,7];case 6:return y=r.sent(),m=y,b=m.message,g=m.status,x=void 0===g?-32603:g,t.postMessage({error:{code:x,message:b},id:c}),[3,7];case 7:return[2]}})})}}},function(t,e,n){"use strict";function r(t,e,n,r){return new(n||(n=Promise))(function(o,u){function i(t){try{a(r.next(t))}catch(t){u(t)}}function c(t){try{a(r.throw(t))}catch(t){u(t)}}function a(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(i,c)}a((r=r.apply(t,e||[])).next())})}function o(t,e){function n(t){return function(e){return r([t,e])}}function r(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,u&&(i=u[2&n[0]?"return":n[0]?"throw":"next"])&&!(i=i.call(u,n[1])).done)return i;switch(u=0,i&&(n=[0,i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,u=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===n[0]||2===n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],u=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}var o,u,i,c,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return c={next:n(0),throw:n(1),return:n(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c}e.a=r,e.b=o;Object.setPrototypeOf||Array,Object.assign},function(t,e,n){!function(t,r){r(e,n(32),n(60),n(61))}(0,function(t,e,n,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if("capitalize"===e){return""+t.charAt(0).toUpperCase()+t.slice(1)}return"dashify"===e?n(t):"prependIndefiniteArticle"===e?r(t)+" "+t:t},t)},u=function(t){var e=t.name+t.modifiers.map(function(t){return"\\."+t+"\\(\\)"}).join("");return new RegExp("\\$\\{"+e+"}","g")},i=function(t,n){for(var r=/\${([^.}]+)((\.[^(]+\(\))*)}/g,i=[],c=r.exec(t);null!==c;){var a={modifiers:[],name:c[1]};if(void 0!==c[3])for(var f=/\.[^(]+\(\)/g,s=f.exec(c[2]);null!==s;)a.modifiers.push(s[0].slice(1,-2)),s=f.exec(c[2]);i.push(a),c=r.exec(t)}var l=i.reduce(function(t,r){return t.map(function(t){return"string"==typeof t?t.split(u(r)).reduce(function(t,u,i){return 0===i?[u]:r.name in n?[].concat(e(t),[o(n[r.name],r.modifiers),u]):[].concat(e(t),[function(t){return o(t[r.name],r.modifiers)},u])},[]):[t]}).reduce(function(t,n){return[].concat(e(t),e(n))},[])},[t]);return function(t){return l.reduce(function(n,r){return"string"==typeof r?[].concat(e(n),[r]):[].concat(e(n),[r(t)])},[]).join("")}},c=function(t){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],u=void 0===n&&(e instanceof Error||void 0!==e.code&&"Exception"===e.code.slice(-9)),i=u?{cause:e,missingParameters:{}}:{cause:n,missingParameters:e},c=i.cause,a=i.missingParameters,f=void 0===o?new Error:new Error(o(a));return null!==c&&(f.cause=c),void 0!==r&&(f.code=r(a)),void 0!==t.status&&(f.status=t.status),f}var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0===t.code?void 0:i(t.code,n),o=void 0===t.message?void 0:i(t.message,n);return e};t.compile=c,Object.defineProperty(t,"__esModule",{value:!0})})},function(t,e,n){"use strict";e.__esModule=!0;var r=n(33),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},function(t,e,n){t.exports={default:n(34),__esModule:!0}},function(t,e,n){n(35),n(53),t.exports=n(9).Array.from},function(t,e,n){"use strict";var r=n(36)(!0);n(37)(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){var r=n(7),o=n(8);t.exports=function(t){return function(e,n){var u,i,c=String(o(e)),a=r(n),f=c.length;return a<0||a>=f?t?"":void 0:(u=c.charCodeAt(a),u<55296||u>56319||a+1===f||(i=c.charCodeAt(a+1))<56320||i>57343?t?c.charAt(a):u:t?c.slice(a,a+2):i-56320+(u-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(38),o=n(15),u=n(42),i=n(2),c=n(6),a=n(12),f=n(43),s=n(25),l=n(52),p=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,h,y,m,b){f(n,e,h);var g,x,O,w=function(t){if(!d&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",j="values"==y,A=!1,E=t.prototype,M=E[p]||E["@@iterator"]||y&&E[y],P=M||w(y),S=y?j?w("entries"):P:void 0,N="Array"==e?E.entries||M:M;if(N&&(O=l(N.call(new t)))!==Object.prototype&&O.next&&(s(O,_,!0),r||c(O,p)||i(O,p,v)),j&&M&&"values"!==M.name&&(A=!0,P=function(){return M.call(this)}),r&&!b||!d&&!A&&E[p]||i(E,p,P),a[e]=P,a[_]=v,y)if(g={values:j?P:w("values"),keys:m?P:w("keys"),entries:S},b)for(x in g)x in E||u(E,x,g[x]);else o(o.P+o.F*(d||A),e,g);return g}},function(t,e){t.exports=!0},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=!n(5)&&!n(17)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(10);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){t.exports=n(2)},function(t,e,n){"use strict";var r=n(44),o=n(11),u=n(25),i={};n(2)(i,n(0)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(i,{next:o(1,n)}),u(t,e+" Iterator")}},function(t,e,n){var r=n(4),o=n(45),u=n(24),i=n(13)("IE_PROTO"),c=function(){},a=function(){var t,e=n(18)("iframe"),r=u.length;for(e.style.display="none",n(51).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[u[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[i]=t):n=a(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(3),o=n(4),u=n(46);t.exports=n(5)?Object.defineProperties:function(t,e){o(t);for(var n,i=u(e),c=i.length,a=0;c>a;)r.f(t,n=i[a++],e[n]);return t}},function(t,e,n){var r=n(47),o=n(24);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(19),u=n(49)(!1),i=n(13)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=i&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~u(f,n)||f.push(n));return f}},function(t,e,n){var r=n(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(19),o=n(21),u=n(50);t.exports=function(t){return function(e,n,i){var c,a=r(e),f=o(a.length),s=u(i,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(7),o=Math.max,u=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):u(t,e)}},function(t,e,n){var r=n(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(6),o=n(26),u=n(13)("IE_PROTO"),i=Object.prototype;t.exports=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?i:null}},function(t,e,n){"use strict";var r=n(16),o=n(15),u=n(26),i=n(54),c=n(55),a=n(21),f=n(56),s=n(57);o(o.S+o.F*!n(59)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=u(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,b=s(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==b||d==Array&&c(b))for(e=a(p.length),n=new d(e);e>m;m++)f(n,m,y?h(p[m],m):p[m]);else for(l=b.call(p),n=new d;!(o=l.next()).done;m++)f(n,m,y?i(l,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var u=t.return;throw void 0!==u&&r(u.call(t)),e}}},function(t,e,n){var r=n(12),o=n(0)("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||u[o]===t)}},function(t,e,n){"use strict";var r=n(3),o=n(11);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(58),o=n(0)("iterator"),u=n(12);t.exports=n(9).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||u[r(t)]}},function(t,e,n){var r=n(20),o=n(0)("toStringTag"),u="Arguments"==r(function(){return arguments}()),i=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=i(e=Object(t),o))?n:u?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var u=[7][r]();u.return=function(){o=!0},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var u=[7],i=u[r]();i.next=function(){return{done:n=!0}},u[r]=function(){return i},t(u)}catch(t){}return n}},function(t,e,n){"use strict";t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");return t.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\W/g,function(t){return/[À-ž]/.test(t)?t:"-"}).replace(/^-+|-+$/g,"").replace(/-{2,}/g,function(t){return e&&e.condense?"-":t}).toLowerCase()}},function(t,e){var n=function(t){var e,n,r=/\w+/.exec(t);if(!r)return"an";n=r[0];var o=n.toLowerCase(),u=["honest","hour","hono"];for(e in u)if(0==o.indexOf(u[e]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var i=[/^e[uw]/,/^onc?e\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<i.length;e++)if(o.match(i[e]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==t&&void 0!==t.exports?t.exports=n:window.indefiniteArticle=n},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n(63),o=(n.n(r),n(14)),u=new Map,i=function(t,e){return Object.assign({},e,{connect:function(n){var o=n.port;o.start();var i=t(o,e),c=Object(r.generateUniqueNumber)(u);return u.set(c,function(){i(),o.close(),u.delete(c)}),{result:c}},disconnect:function(t){var e=t.portId,n=u.get(e);if(void 0===n)throw Object(o.d)({portId:e.toString()});return n(),{result:null}}})}},function(t,e,n){!function(t,n){n(e)}(0,function(t){"use strict";var e=new WeakMap,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=function(t){var r=e.get(t),o=void 0===r||r>2147483648?0:r+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;t.has(o);)o=Math.floor(Math.random()*n);return e.set(t,o),o},o=function(t){var e=r(t);return t.add(e),e};t.addUniqueNumber=o,t.generateUniqueNumber=r,Object.defineProperty(t,"__esModule",{value:!0})})},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return new ArrayBuffer(t)}}]); | ||
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=28)}([function(t,e,n){var r=n(19)("wks"),o=n(18),i=n(1).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){!function(t,e,n,r){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n,r=r&&r.hasOwnProperty("default")?r.default:r;var o=function(t,e){return void 0===e?t:e.reduce(function(t,e){if("capitalize"===e){var o=t.charAt(0).toUpperCase(),i=t.slice(1);return""+o+i}return"dashify"===e?n(t):"prependIndefiniteArticle"===e?r(t)+" "+t:t},t)},i=function(t,n){for(var r=/\${([^.}]+)((\.[^(]+\(\))*)}/g,i=[],u=r.exec(t);null!==u;){var c={modifiers:[],name:u[1]};if(void 0!==u[3])for(var a=/\.[^(]+\(\)/g,f=a.exec(u[2]);null!==f;)c.modifiers.push(f[0].slice(1,-2)),f=a.exec(u[2]);i.push(c),u=r.exec(t)}var s=i.reduce(function(t,r){return t.map(function(t){return"string"==typeof t?t.split(function(t){var e=t.name+t.modifiers.map(function(t){return"\\."+t+"\\(\\)"}).join("");return new RegExp("\\$\\{"+e+"}","g")}(r)).reduce(function(t,i,u){return 0===u?[i]:r.name in n?[].concat(e(t),[o(n[r.name],r.modifiers),i]):[].concat(e(t),[function(t){return o(t[r.name],r.modifiers)},i])},[]):[t]}).reduce(function(t,n){return[].concat(e(t),e(n))},[])},[t]);return function(t){return s.reduce(function(n,r){return[].concat(e(n),"string"==typeof r?[r]:[r(t)])},[]).join("")}};t.compile=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0===t.code?void 0:i(t.code,e),r=void 0===t.message?void 0:i(t.message,e);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments[1],i=void 0===o&&(e instanceof Error||void 0!==e.code&&"Exception"===e.code.slice(-9))?{cause:e,missingParameters:{}}:{cause:o,missingParameters:e},u=i.cause,c=i.missingParameters,a=void 0===r?new Error:new Error(r(c));return null!==u&&(a.cause=u),void 0!==n&&(a.code=n(c)),void 0!==t.status&&(a.status=t.status),a}},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(58),n(30),n(29))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){t.exports=!n(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},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(5),o=n(50),i=n(49),u=Object.defineProperty;e.f=n(4)?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(6),o=n(10);t.exports=n(4)?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(19)("keys"),o=n(18);t.exports=function(t){return r[t]||(r[t]=o(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){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n=t.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return 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(13);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(6).f,o=n(3),i=n(0)("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){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},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,n){var r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(14),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(42),o=n(13);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(11),o=n(1).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(51);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(1),o=n(12),i=n(25),u=n(7),c=function(t,e,n){var a,f,s,l=t&c.F,p=t&c.G,d=t&c.S,v=t&c.P,h=t&c.B,y=t&c.W,m=p?o:o[e]||(o[e]={}),g=m.prototype,x=p?r:d?r[e]:(r[e]||{}).prototype;for(a in p&&(n=e),n)(f=!l&&x&&void 0!==x[a])&&a in m||(s=f?x[a]:n[a],m[a]=p&&"function"!=typeof x[a]?n[a]:h&&f?i(s,r):y&&x[a]==s?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}(s):v&&"function"==typeof s?i(Function.call,s):s,v&&((m.virtual||(m.virtual={}))[a]=s,t&c.R&&g&&!g[a]&&u(g,a,s)))};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){!function(t){"use strict";var e=new WeakMap,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=function(t){var r=e.get(t),o=void 0===r||r>2147483648?0:r+1;if(t.size<1073741824){for(;t.has(o);)o=Math.floor(2147483648*Math.random());return e.set(t,o),o}if(t.size>n)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;t.has(o);)o=Math.floor(Math.random()*n);return e.set(t,o),o};t.addUniqueNumber=function(t){var e=r(t);return t.add(e),e},t.generateUniqueNumber=r,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,n){"use strict";n.r(e);Object.setPrototypeOf||Array;Object.assign;function r(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=r[2&i[0]?"return":i[0]?"throw":"next"])&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[0,o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,r=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=e.call(t,u)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var o=n(2),i=-32603,u=-32602,c=-32601,a=Object(o.compile)({message:'The requested method called "${method}" is not supported.',status:c}),f=Object(o.compile)({message:'The handler of the method called "${method}" returned no required result.',status:i}),s=Object(o.compile)({message:'The handler of the method called "${method}" returned an unexpected result.',status:i}),l=Object(o.compile)({message:'The specified parameter called "portId" with the given value "${portId}" does not identify a port connected to this worker.',status:u}),p=function(t,e){return function(n){var o,i,u,c,l=n.data,p=l.id,d=l.method,v=l.params;return o=void 0,i=void 0,c=function(){var n,o,i,u,c,l,h,y,m,g,x,b,w,O;return r(this,function(r){switch(r.label){case 0:n=e[d],r.label=1;case 1:if(r.trys.push([1,6,,7]),void 0===n)throw a({method:d});if(void 0===(o=n(v)))throw f({method:d});if(null!==p)return[3,2];if(void 0!==o.result)throw s({method:d});return[3,5];case 2:return o instanceof Promise?[4,o]:[3,4];case 3:if(void 0===(i=r.sent()).result)throw s({method:d});return h=(u=i).result,c=u.transferables,m=void 0===c?[]:c,t.postMessage({id:p,result:h},m),[3,5];case 4:if(void 0===o.result)throw s({method:d});h=(l=o).result,y=l.transferables,m=void 0===y?[]:y,t.postMessage({id:p,result:h},m),r.label=5;case 5:return[3,7];case 6:return g=r.sent(),b=(x=g).message,w=x.status,O=void 0===w?-32603:w,t.postMessage({error:{code:O,message:b},id:p}),[3,7];case 7:return[2]}})},new((u=void 0)||(u=Promise))(function(t,e){function n(t){try{a(c.next(t))}catch(t){e(t)}}function r(t){try{a(c.throw(t))}catch(t){e(t)}}function a(e){e.done?t(e.value):new u(function(t){t(e.value)}).then(n,r)}a((c=c.apply(o,i||[])).next())})}},d=n(27),v=new Map,h=function(t,e){var n,r,o=(n=h,r=e,Object.assign({},r,{connect:function(t){var e=t.port;e.start();var o=n(e,r),i=Object(d.generateUniqueNumber)(v);return v.set(i,function(){o(),e.close(),v.delete(i)}),{result:i}},disconnect:function(t){var e=t.portId,n=v.get(e);if(void 0===n)throw l({portId:e.toString()});return n(),{result:null}}})),i=p(t,o);return t.addEventListener("message",i),function(){return t.removeEventListener("message",i)}};h(self,{allocate:function(t){var e=function(t){return new ArrayBuffer(t)}(t.length);return{result:e,transferables:[e]}},deallocate:function(){return{result:void 0}}})},function(t,e){var n=function(t){var e,n,r=/\w+/.exec(t);if(!r)return"an";var o=(n=r[0]).toLowerCase(),i=["honest","hour","hono"];for(e in i)if(0==o.indexOf(i[e]))return"an";if(1==o.length)return"aedhilmnorsx".indexOf(o)>=0?"an":"a";if(n.match(/(?!FJO|[HLMNS]Y.|RY[EO]|SQU|(F[LR]?|[HL]|MN?|N|RH?|S[CHKLMNPTVW]?|X(YL)?)[AEIOU])[FHLMNRSX][A-Z]/))return"an";var u=[/^e[uw]/,/^onc?e\b/,/^uni([^nmd]|mo)/,/^u[bcfhjkqrst][aeiou]/];for(e=0;e<u.length;e++)if(o.match(u[e]))return"a";return n.match(/^U[NK][AIEO]/)?"a":n==n.toUpperCase()?"aedhilmnorsx".indexOf(o[0])>=0?"an":"a":"aeiou".indexOf(o[0])>=0?"an":o.match(/^y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt)/)?"an":"a"};void 0!==t&&void 0!==t.exports?t.exports=n:window.indefiniteArticle=n},function(t,e,n){"use strict";t.exports=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");return t.trim().replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\W/g,function(t){return/[À-ž]/.test(t)?t:"-"}).replace(/^-+|-+$/g,"").replace(/-{2,}/g,function(t){return e&&e.condense?"-":t}).toLowerCase()}},function(t,e,n){var r=n(0)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){var r=n(21),o=n(0)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(32),o=n(0)("iterator"),i=n(9);t.exports=n(12).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){"use strict";var r=n(6),o=n(10);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(9),o=n(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(25),o=n(26),i=n(15),u=n(36),c=n(35),a=n(20),f=n(34),s=n(33);o(o.S+o.F*!n(31)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,y=void 0!==h,m=0,g=s(p);if(y&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&c(g))for(n=new d(e=a(p.length));e>m;m++)f(n,m,y?h(p[m],m):p[m]);else for(l=g.call(p),n=new d;!(o=l.next()).done;m++)f(n,m,y?u(l,h,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(3),o=n(15),i=n(8)("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(1).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(14),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(22),o=n(20),i=n(40);t.exports=function(t){return function(e,n,u){var c,a=r(e),f=o(a.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((c=a[s++])!=c)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(21);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(3),o=n(22),i=n(41)(!1),u=n(8)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),a=0,f=[];for(n in c)n!=u&&r(c,n)&&f.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(43),o=n(17);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(5),i=n(44);t.exports=n(4)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),c=u.length,a=0;c>a;)r.f(t,n=u[a++],e[n]);return t}},function(t,e,n){var r=n(5),o=n(45),i=n(17),u=n(8)("IE_PROTO"),c=function(){},a=function(){var t,e=n(23)("iframe"),r=i.length;for(e.style.display="none",n(39).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};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=a(),void 0===e?n:o(n,e)}},function(t,e,n){"use strict";var r=n(46),o=n(10),i=n(16),u={};n(7)(u,n(0)("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,n){t.exports=n(7)},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){t.exports=!n(4)&&!n(24)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},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=!0},function(t,e,n){"use strict";var r=n(52),o=n(26),i=n(48),u=n(7),c=n(3),a=n(9),f=n(47),s=n(16),l=n(38),p=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,h,y,m,g){f(n,e,h);var x,b,w,O=function(t){if(!d&&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)}},_=e+" Iterator",j="values"==y,M=!1,P=t.prototype,A=P[p]||P["@@iterator"]||y&&P[y],E=A||O(y),S=y?j?O("entries"):E:void 0,T="Array"==e&&P.entries||A;if(T&&(w=l(T.call(new t)))!==Object.prototype&&w.next&&(s(w,_,!0),r||c(w,p)||u(w,p,v)),j&&A&&"values"!==A.name&&(M=!0,E=function(){return A.call(this)}),r&&!g||!d&&!M&&P[p]||u(P,p,E),a[e]=E,a[_]=v,y)if(x={values:j?E:O("values"),keys:m?E:O("keys"),entries:S},g)for(b in x)b in P||i(P,b,x[b]);else o(o.P+o.F*(d||M),e,x);return x}},function(t,e,n){var r=n(14),o=n(13);t.exports=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),f=c.length;return a<0||a>=f?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===f||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(54)(!0);n(53)(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(55),n(37),t.exports=n(12).Array.from},function(t,e,n){t.exports={default:n(56),__esModule:!0}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(57),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,i.default)(t)}}]); |
@@ -9,3 +9,3 @@ { | ||
"tslib": "^1.9.0", | ||
"worker-factory": "^2.2.0" | ||
"worker-factory": "^2.2.1" | ||
}, | ||
@@ -15,3 +15,3 @@ "description": "The worker which is used by the async-array-buffer package.", | ||
"babel-core": "^6.26.0", | ||
"babel-loader": "^7.1.2", | ||
"babel-loader": "^7.1.3", | ||
"babel-plugin-external-helpers": "^6.22.0", | ||
@@ -41,15 +41,15 @@ "babel-plugin-transform-runtime": "^6.23.0", | ||
"karma-sinon-chai": "^1.3.3", | ||
"karma-webpack": "^2.0.9", | ||
"karma-webpack": "^2.0.11", | ||
"load-grunt-config": "^0.19.2", | ||
"mocha": "^5.0.1", | ||
"rollup": "^0.56.2", | ||
"rollup": "^0.56.3", | ||
"rollup-plugin-babel": "^3.0.3", | ||
"sinon": "^4.3.0", | ||
"sinon": "^4.4.2", | ||
"sinon-chai": "^2.14.0", | ||
"ts-loader": "^3.5.0", | ||
"ts-loader": "^4.0.0", | ||
"tsconfig-holy-grail": "^4.0.0", | ||
"tslint": "^5.9.1", | ||
"tslint-config-holy-grail": "^22.0.5", | ||
"tslint-config-holy-grail": "^22.0.6", | ||
"typescript": "^2.7.2", | ||
"webpack": "^3.11.0" | ||
"webpack": "^4.0.0" | ||
}, | ||
@@ -77,3 +77,3 @@ "files": [ | ||
"types": "build/es2015/module.d.ts", | ||
"version": "3.0.11" | ||
"version": "3.0.12" | ||
} |
28071
Updatedworker-factory@^2.2.1