@mixer/webpack-bundle-compare
Version:
Tool to compare webpack bundle files
2 lines • 87.4 kB
JavaScript
/*! For license information please see bundle.worker.js.LICENSE.txt */
(()=>{var t={258:t=>{!function(e){t.exports=e;var r={on:function(t,e){return a(this,t).push(e),this},once:function(t,e){var r=this;return n.originalListener=e,a(r,t).push(n),r;function n(){i.call(r,t,n),e.apply(this,arguments)}},off:i,emit:function(t,e){var r=this,n=a(r,t,!0);if(!n)return!1;var i=arguments.length;if(1===i)n.forEach(s);else if(2===i)n.forEach(u);else{var o=Array.prototype.slice.call(arguments,1);n.forEach(c)}return!!n.length;function s(t){t.call(r)}function u(t){t.call(r,e)}function c(t){t.apply(r,o)}}};function n(t){for(var e in r)t[e]=r[e];return t}function i(t,e){var r,n=this;if(arguments.length){if(e){if(r=a(n,t,!0)){if(!(r=r.filter(o)).length)return i.call(n,t);n.listeners[t]=r}}else if((r=n.listeners)&&(delete r[t],!Object.keys(r).length))return i.call(n)}else delete n.listeners;return n;function o(t){return t!==e&&t.originalListener!==e}}function a(t,e,r){if(!r||t.listeners){var n=t.listeners||(t.listeners={});return n[e]||(n[e]=[])}}n(e.prototype),e.mixin=n}((function t(){if(!(this instanceof t))return new t}))},645:(t,e)=>{e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<<s)-1,c=u>>1,f=-7,l=r?i-1:0,h=r?-1:1,d=t[e+l];for(l+=h,a=d&(1<<-f)-1,d>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=h,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=h,f-=8);if(0===a)a=1-c;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=c}return(d?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,c=8*a-i-1,f=(1<<c)-1,l=f>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,_=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+l>=1?h/u:h*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;t[r+d]=255&o,d+=p,o/=256,c-=8);t[r+d-p]|=128*_}},166:function(t,e){!function(t){var e,r="undefined",n=r!==typeof Buffer&&Buffer,i=r!==typeof Uint8Array&&Uint8Array,a=r!==typeof ArrayBuffer&&ArrayBuffer,o=[0,0,0,0,0,0,0,0],s=Array.isArray||function(t){return!!t&&"[object Array]"==Object.prototype.toString.call(t)},u=4294967296;function c(s,c,v){var m=c?0:4,k=c?4:0,x=c?0:3,E=c?1:2,A=c?2:1,U=c?3:0,S=c?b:y,z=c?w:g,B=T.prototype,R="is"+s,O="_"+R;return B.buffer=void 0,B.offset=0,B[O]=!0,B.toNumber=P,B.toString=function(t){var e=this.buffer,r=this.offset,n=I(e,r+m),i=I(e,r+k),a="",o=!v&&2147483648&n;for(o&&(n=~n,i=u-i),t=t||10;;){var s=n%t*u+i;if(n=Math.floor(n/t),i=Math.floor(s/t),a=(s%t).toString(t)+a,!n&&!i)break}return o&&(a="-"+a),a},B.toJSON=P,B.toArray=f,n&&(B.toBuffer=l),i&&(B.toArrayBuffer=h),T[R]=function(t){return!(!t||!t[O])},t[s]=T,T;function T(t,n,s,c){return this instanceof T?function(t,n,s,c,f){i&&a&&(n instanceof a&&(n=new i(n)),c instanceof a&&(c=new i(c))),n||s||c||e?(d(n,s)||(f=s,c=n,s=0,n=new(e||Array)(8)),t.buffer=n,t.offset=s|=0,r!==typeof c&&("string"==typeof c?function(t,e,r,n){var i=0,a=r.length,o=0,s=0;"-"===r[0]&&i++;for(var c=i;i<a;){var f=parseInt(r[i++],n);if(!(f>=0))break;s=s*n+f,o=o*n+Math.floor(s/u),s%=u}c&&(o=~o,s?s=u-s:o++),Z(t,e+m,o),Z(t,e+k,s)}(n,s,c,f||10):d(c,f)?p(n,s,c,f):"number"==typeof f?(Z(n,s+m,c),Z(n,s+k,f)):c>0?S(n,s,c):c<0?z(n,s,c):p(n,s,o,0))):t.buffer=_(o,0)}(this,t,n,s,c):new T(t,n,s,c)}function P(){var t=this.buffer,e=this.offset,r=I(t,e+m),n=I(t,e+k);return v||(r|=0),r?r*u+n:n}function Z(t,e,r){t[e+U]=255&r,r>>=8,t[e+A]=255&r,r>>=8,t[e+E]=255&r,r>>=8,t[e+x]=255&r}function I(t,e){return 16777216*t[e+x]+(t[e+E]<<16)+(t[e+A]<<8)+t[e+U]}}function f(t){var r=this.buffer,n=this.offset;return e=null,!1!==t&&0===n&&8===r.length&&s(r)?r:_(r,n)}function l(t){var r=this.buffer,i=this.offset;if(e=n,!1!==t&&0===i&&8===r.length&&Buffer.isBuffer(r))return r;var a=new n(8);return p(a,0,r,i),a}function h(t){var r=this.buffer,n=this.offset,o=r.buffer;if(e=i,!1!==t&&0===n&&o instanceof a&&8===o.byteLength)return o;var s=new i(8);return p(s,0,r,n),s.buffer}function d(t,e){var r=t&&t.length;return e|=0,r&&e+8<=r&&"string"!=typeof t[e]}function p(t,e,r,n){e|=0,n|=0;for(var i=0;i<8;i++)t[e++]=255&r[n++]}function _(t,e){return Array.prototype.slice.call(t,e,e+8)}function b(t,e,r){for(var n=e+8;n>e;)t[--n]=255&r,r/=256}function w(t,e,r){var n=e+8;for(r++;n>e;)t[--n]=255&-r^255,r/=256}function y(t,e,r){for(var n=e+8;e<n;)t[e++]=255&r,r/=256}function g(t,e,r){var n=e+8;for(r++;e<n;)t[e++]=255&-r^255,r/=256}c("Uint64BE",!0,!0),c("Int64BE",!0,!1),c("Uint64LE",!1,!0),c("Int64LE",!1,!1)}("string"!=typeof e.nodeName?e:this||{})},826:t=>{var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},374:(t,e,r)=>{r(764).c,e.decode=r(299).decode,r(883),r(441),r(832),r(766)},679:function(t){function e(t){return t&&t.isBuffer&&t}t.exports=e("undefined"!=typeof Buffer&&Buffer)||e(this.Buffer)||e("undefined"!=typeof window&&window.Buffer)||this.Buffer},947:(t,e)=>{e.copy=function(t,e,r,n){var i;r||(r=0),n||0===n||(n=this.length),e||(e=0);var a=n-r;if(t===this&&r<e&&e<n)for(i=a-1;i>=0;i--)t[i+e]=this[i+r];else for(i=0;i<a;i++)t[i+e]=this[i+r];return a},e.toString=function(t,e,r){var n=this,i=0|e;r||(r=n.length);for(var a="",o=0;i<r;)(o=n[i++])<128?a+=String.fromCharCode(o):(192==(224&o)?o=(31&o)<<6|63&n[i++]:224==(240&o)?o=(15&o)<<12|(63&n[i++])<<6|63&n[i++]:240==(248&o)&&(o=(7&o)<<18|(63&n[i++])<<12|(63&n[i++])<<6|63&n[i++]),o>=65536?(o-=65536,a+=String.fromCharCode(55296+(o>>>10),56320+(1023&o))):a+=String.fromCharCode(o));return a},e.write=function(t,e){for(var r=this,n=e||(e|=0),i=t.length,a=0,o=0;o<i;)(a=t.charCodeAt(o++))<128?r[n++]=a:a<2048?(r[n++]=192|a>>>6,r[n++]=128|63&a):a<55296||a>57343?(r[n++]=224|a>>>12,r[n++]=128|a>>>6&63,r[n++]=128|63&a):(a=65536+(a-55296<<10|t.charCodeAt(o++)-56320),r[n++]=240|a>>>18,r[n++]=128|a>>>12&63,r[n++]=128|a>>>6&63,r[n++]=128|63&a);return n-e}},683:(t,e,r)=>{var n=r(895),i=t.exports=a(0);function a(t){return new Array(t)}i.alloc=a,i.concat=n.concat,i.from=function(t){if(!n.isBuffer(t)&&n.isView(t))t=n.Uint8Array.from(t);else if(n.isArrayBuffer(t))t=new Uint8Array(t);else{if("string"==typeof t)return n.from.call(i,t);if("number"==typeof t)throw new TypeError('"value" argument must not be a number')}return Array.prototype.slice.call(t)}},580:(t,e,r)=>{var n=r(895),i=n.global,a=t.exports=n.hasBuffer?o(0):[];function o(t){return new i(t)}a.alloc=n.hasBuffer&&i.alloc||o,a.concat=n.concat,a.from=function(t){if(!n.isBuffer(t)&&n.isView(t))t=n.Uint8Array.from(t);else if(n.isArrayBuffer(t))t=new Uint8Array(t);else{if("string"==typeof t)return n.from.call(a,t);if("number"==typeof t)throw new TypeError('"value" argument must not be a number')}return i.from&&1!==i.from.length?i.from(t):new i(t)}},190:(t,e,r)=>{var n=r(947);e.copy=u,e.slice=c,e.toString=function(t,e,r){var a=!o&&i.isBuffer(this)?this.toString:n.toString;return a.apply(this,arguments)},e.write=("write",function(){return(this.write||n.write).apply(this,arguments)});var i=r(895),a=i.global,o=i.hasBuffer&&"TYPED_ARRAY_SUPPORT"in a,s=o&&!a.TYPED_ARRAY_SUPPORT;function u(t,e,r,a){var o=i.isBuffer(this),u=i.isBuffer(t);if(o&&u)return this.copy(t,e,r,a);if(s||o||u||!i.isView(this)||!i.isView(t))return n.copy.call(this,t,e,r,a);var f=r||null!=a?c.call(this,r,a):this;return t.set(f,e),f.length}function c(t,e){var r=this.slice||!s&&this.subarray;if(r)return r.call(this,t,e);var n=i.alloc.call(this,e-t);return u.call(this,n,0,t,e),n}},37:(t,e,r)=>{var n=r(895),i=t.exports=n.hasArrayBuffer?a(0):[];function a(t){return new Uint8Array(t)}i.alloc=a,i.concat=n.concat,i.from=function(t){if(n.isView(t)){var e=t.byteOffset,r=t.byteLength;(t=t.buffer).byteLength!==r&&(t.slice?t=t.slice(e,e+r):(t=new Uint8Array(t)).byteLength!==r&&(t=Array.prototype.slice.call(t,e,e+r)))}else{if("string"==typeof t)return n.from.call(i,t);if("number"==typeof t)throw new TypeError('"value" argument must not be a number')}return new Uint8Array(t)}},895:(t,e,r)=>{var n=e.global=r(679),i=e.hasBuffer=n&&!!n.isBuffer,a=e.hasArrayBuffer="undefined"!=typeof ArrayBuffer,o=e.isArray=r(826);e.isArrayBuffer=a?function(t){return t instanceof ArrayBuffer||p(t)}:w;var s=e.isBuffer=i?n.isBuffer:w,u=e.isView=a?ArrayBuffer.isView||y("ArrayBuffer","buffer"):w;e.alloc=d,e.concat=function(t,r){r||(r=0,Array.prototype.forEach.call(t,(function(t){r+=t.length})));var n=this!==e&&this||t[0],i=d.call(n,r),a=0;return Array.prototype.forEach.call(t,(function(t){a+=h.copy.call(t,i,a)})),i},e.from=function(t){return"string"==typeof t?_.call(this,t):b(this).from(t)};var c=e.Array=r(683),f=e.Buffer=r(580),l=e.Uint8Array=r(37),h=e.prototype=r(190);function d(t){return b(this).alloc(t)}var p=y("ArrayBuffer");function _(t){var e=3*t.length,r=d.call(this,e),n=h.write.call(r,t);return e!==n&&(r=h.slice.call(r,0,n)),r}function b(t){return s(t)?f:u(t)?l:o(t)?c:i?f:a?l:c}function w(){return!1}function y(t,e){return t="[object "+t+"]",function(r){return null!=r&&{}.toString.call(e?r[e]:r)===t}}},877:(t,e,r)=>{var n=r(826);e.createCodec=s,e.install=function(t){for(var e in t)a.prototype[e]=o(a.prototype[e],t[e])},e.filter=function(t){return n(t)?function(t){return t=t.slice(),function(r){return t.reduce(e,r)};function e(t,e){return e(t)}}(t):t};var i=r(895);function a(t){if(!(this instanceof a))return new a(t);this.options=t,this.init()}function o(t,e){return t&&e?function(){return t.apply(this,arguments),e.apply(this,arguments)}:t||e}function s(t){return new a(t)}a.prototype.init=function(){var t=this.options;return t&&t.uint8array&&(this.bufferish=i.Uint8Array),this},e.preset=s({preset:!0})},766:(t,e,r)=>{r(350),r(312),r(877).preset},170:(t,e,r)=>{e.T=i;var n=r(350).preset;function i(t){if(!(this instanceof i))return new i(t);if(t&&(this.options=t,t.codec)){var e=this.codec=t.codec;e.bufferish&&(this.bufferish=e.bufferish)}}r(822).k.mixin(i.prototype),i.prototype.codec=n,i.prototype.fetch=function(){return this.codec.decode(this)}},299:(t,e,r)=>{e.decode=function(t,e){var r=new n(e);return r.write(t),r.read()};var n=r(170).T},441:(t,e,r)=>{var n=r(258),i=r(170).T;function a(t){if(!(this instanceof a))return new a(t);i.call(this,t)}a.prototype=new i,n.mixin(a.prototype),a.prototype.decode=function(t){arguments.length&&this.write(t),this.flush()},a.prototype.push=function(t){this.emit("data",t)},a.prototype.end=function(t){this.decode(t),this.emit("end")}},517:(t,e,r)=>{e.F=i;var n=r(312).preset;function i(t){if(!(this instanceof i))return new i(t);if(t&&(this.options=t,t.codec)){var e=this.codec=t.codec;e.bufferish&&(this.bufferish=e.bufferish)}}r(822).I.mixin(i.prototype),i.prototype.codec=n,i.prototype.write=function(t){this.codec.encode(this,t)}},764:(t,e,r)=>{e.c=function(t,e){var r=new n(e);return r.write(t),r.read()};var n=r(517).F},883:(t,e,r)=>{var n=r(258),i=r(517).F;function a(t){if(!(this instanceof a))return new a(t);i.call(this,t)}a.prototype=new i,n.mixin(a.prototype),a.prototype.encode=function(t){this.write(t),this.emit("data",this.read())},a.prototype.end=function(t){arguments.length&&this.encode(t),this.flush(),this.emit("end")}},83:(t,e,r)=>{e.S=function t(e,r){if(!(this instanceof t))return new t(e,r);this.buffer=n.from(e),this.type=r};var n=r(895)},431:(t,e,r)=>{e.setExtPackers=function(t){t.addExtPacker(14,Error,[l,u]),t.addExtPacker(1,EvalError,[l,u]),t.addExtPacker(2,RangeError,[l,u]),t.addExtPacker(3,ReferenceError,[l,u]),t.addExtPacker(4,SyntaxError,[l,u]),t.addExtPacker(5,TypeError,[l,u]),t.addExtPacker(6,URIError,[l,u]),t.addExtPacker(10,RegExp,[f,u]),t.addExtPacker(11,Boolean,[c,u]),t.addExtPacker(12,String,[c,u]),t.addExtPacker(13,Date,[Number,u]),t.addExtPacker(15,Number,[c,u]),"undefined"!=typeof Uint8Array&&(t.addExtPacker(17,Int8Array,o),t.addExtPacker(18,Uint8Array,o),t.addExtPacker(19,Int16Array,o),t.addExtPacker(20,Uint16Array,o),t.addExtPacker(21,Int32Array,o),t.addExtPacker(22,Uint32Array,o),t.addExtPacker(23,Float32Array,o),"undefined"!=typeof Float64Array&&t.addExtPacker(24,Float64Array,o),"undefined"!=typeof Uint8ClampedArray&&t.addExtPacker(25,Uint8ClampedArray,o),t.addExtPacker(26,ArrayBuffer,o),t.addExtPacker(29,DataView,o)),i.hasBuffer&&t.addExtPacker(27,a,i.from)};var n,i=r(895),a=i.global,o=i.Uint8Array.from,s={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function u(t){return n||(n=r(764).c),n(t)}function c(t){return t.valueOf()}function f(t){(t=RegExp.prototype.toString.call(t).split("/")).shift();var e=[t.pop()];return e.unshift(t.join("/")),e}function l(t){var e={};for(var r in s)e[r]=t[r];return e}},600:(t,e,r)=>{e.setExtUnpackers=function(t){t.addExtUnpacker(14,[s,c(Error)]),t.addExtUnpacker(1,[s,c(EvalError)]),t.addExtUnpacker(2,[s,c(RangeError)]),t.addExtUnpacker(3,[s,c(ReferenceError)]),t.addExtUnpacker(4,[s,c(SyntaxError)]),t.addExtUnpacker(5,[s,c(TypeError)]),t.addExtUnpacker(6,[s,c(URIError)]),t.addExtUnpacker(10,[s,u]),t.addExtUnpacker(11,[s,f(Boolean)]),t.addExtUnpacker(12,[s,f(String)]),t.addExtUnpacker(13,[s,f(Date)]),t.addExtUnpacker(15,[s,f(Number)]),"undefined"!=typeof Uint8Array&&(t.addExtUnpacker(17,f(Int8Array)),t.addExtUnpacker(18,f(Uint8Array)),t.addExtUnpacker(19,[l,f(Int16Array)]),t.addExtUnpacker(20,[l,f(Uint16Array)]),t.addExtUnpacker(21,[l,f(Int32Array)]),t.addExtUnpacker(22,[l,f(Uint32Array)]),t.addExtUnpacker(23,[l,f(Float32Array)]),"undefined"!=typeof Float64Array&&t.addExtUnpacker(24,[l,f(Float64Array)]),"undefined"!=typeof Uint8ClampedArray&&t.addExtUnpacker(25,f(Uint8ClampedArray)),t.addExtUnpacker(26,l),t.addExtUnpacker(29,[l,f(DataView)])),i.hasBuffer&&t.addExtUnpacker(27,f(a))};var n,i=r(895),a=i.global,o={name:1,message:1,stack:1,columnNumber:1,fileName:1,lineNumber:1};function s(t){return n||(n=r(299).decode),n(t)}function u(t){return RegExp.apply(null,t)}function c(t){return function(e){var r=new t;for(var n in o)r[n]=e[n];return r}}function f(t){return function(e){return new t(e)}}function l(t){return new Uint8Array(t).buffer}},832:(t,e,r)=>{r(350),r(312),r(877).createCodec},822:(t,e,r)=>{e.k=a,e.I=o;var n=r(895),i="BUFFER_SHORTAGE";function a(){if(!(this instanceof a))return new a}function o(){if(!(this instanceof o))return new o}function s(){return this.buffers&&this.buffers.length?(this.flush(),this.pull()):this.fetch()}function u(t){(this.buffers||(this.buffers=[])).push(t)}function c(t){return function(e){for(var r in t)e[r]=t[r];return e}}a.mixin=c({bufferish:n,write:function(t){var e=this.offset?n.prototype.slice.call(this.buffer,this.offset):this.buffer;this.buffer=e?t?this.bufferish.concat([e,t]):e:t,this.offset=0},fetch:function(){throw new Error("method not implemented: fetch()")},flush:function(){for(;this.offset<this.buffer.length;){var t,e=this.offset;try{t=this.fetch()}catch(t){if(t&&t.message!=i)throw t;this.offset=e;break}this.push(t)}},push:u,pull:function(){return(this.buffers||(this.buffers=[])).shift()},read:s,reserve:function(t){var e=this.offset,r=e+t;if(r>this.buffer.length)throw new Error(i);return this.offset=r,e},offset:0}),a.mixin(a.prototype),o.mixin=c({bufferish:n,write:function(){throw new Error("method not implemented: write()")},fetch:function(){var t=this.start;if(t<this.offset){var e=this.start=this.offset;return n.prototype.slice.call(this.buffer,t,e)}},flush:function(){for(;this.start<this.offset;){var t=this.fetch();t&&this.push(t)}},push:u,pull:function(){var t=this.buffers||(this.buffers=[]),e=t.length>1?this.bufferish.concat(t):t[0];return t.length=0,e},read:s,reserve:function(t){var e=0|t;if(this.buffer){var r=this.buffer.length,n=0|this.offset,i=n+e;if(i<r)return this.offset=i,n;this.flush(),t=Math.max(t,Math.min(2*r,this.maxBufferSize))}return t=Math.max(t,this.minBufferSize),this.buffer=this.bufferish.alloc(t),this.start=0,this.offset=e,0},send:function(t){var e=t.length;if(e>this.minBufferSize)this.flush(),this.push(t);else{var r=this.reserve(e);n.prototype.copy.call(t,this.buffer,r)}},maxBufferSize:65536,minBufferSize:2048,offset:0,start:0}),o.mixin(o.prototype)},350:(t,e,r)=>{var n=r(83).S,i=r(600),a=r(76).readUint8,o=r(738),s=r(877);function u(){var t=this.options;return this.decode=function(t){var e=o.getReadToken(t);return function(t){var r=a(t),n=e[r];if(!n)throw new Error("Invalid type: "+(r?"0x"+r.toString(16):r));return n(t)}}(t),t&&t.preset&&i.setExtUnpackers(this),this}s.install({addExtUnpacker:function(t,e){(this.extUnpackers||(this.extUnpackers=[]))[t]=s.filter(e)},getExtUnpacker:function(t){return(this.extUnpackers||(this.extUnpackers=[]))[t]||function(e){return new n(e,t)}},init:u}),e.preset=u.call(s.preset)},76:(t,e,r)=>{var n=r(645),i=r(166),a=i.Uint64BE,o=i.Int64BE;e.getReadFormat=function(t){var e=s.hasArrayBuffer&&t&&t.binarraybuffer,r=t&&t.int64;return{map:c&&t&&t.usemap?l:f,array:h,str:d,bin:e?_:p,ext:b,uint8:w,uint16:g,uint32:m,uint64:x(8,r?U:E),int8:y,int16:v,int32:k,int64:x(8,r?S:A),float32:x(4,z),float64:x(8,B)}},e.readUint8=w;var s=r(895),u=r(190),c="undefined"!=typeof Map;function f(t,e){var r,n={},i=new Array(e),a=new Array(e),o=t.codec.decode;for(r=0;r<e;r++)i[r]=o(t),a[r]=o(t);for(r=0;r<e;r++)n[i[r]]=a[r];return n}function l(t,e){var r,n=new Map,i=new Array(e),a=new Array(e),o=t.codec.decode;for(r=0;r<e;r++)i[r]=o(t),a[r]=o(t);for(r=0;r<e;r++)n.set(i[r],a[r]);return n}function h(t,e){for(var r=new Array(e),n=t.codec.decode,i=0;i<e;i++)r[i]=n(t);return r}function d(t,e){var r=t.reserve(e),n=r+e;return u.toString.call(t.buffer,"utf-8",r,n)}function p(t,e){var r=t.reserve(e),n=r+e,i=u.slice.call(t.buffer,r,n);return s.from(i)}function _(t,e){var r=t.reserve(e),n=r+e,i=u.slice.call(t.buffer,r,n);return s.Uint8Array.from(i).buffer}function b(t,e){var r=t.reserve(e+1),n=t.buffer[r++],i=r+e,a=t.codec.getExtUnpacker(n);if(!a)throw new Error("Invalid ext type: "+(n?"0x"+n.toString(16):n));return a(u.slice.call(t.buffer,r,i))}function w(t){var e=t.reserve(1);return t.buffer[e]}function y(t){var e=t.reserve(1),r=t.buffer[e];return 128&r?r-256:r}function g(t){var e=t.reserve(2),r=t.buffer;return r[e++]<<8|r[e]}function v(t){var e=t.reserve(2),r=t.buffer,n=r[e++]<<8|r[e];return 32768&n?n-65536:n}function m(t){var e=t.reserve(4),r=t.buffer;return 16777216*r[e++]+(r[e++]<<16)+(r[e++]<<8)+r[e]}function k(t){var e=t.reserve(4),r=t.buffer;return r[e++]<<24|r[e++]<<16|r[e++]<<8|r[e]}function x(t,e){return function(r){var n=r.reserve(t);return e.call(r.buffer,n,!0)}}function E(t){return new a(this,t).toNumber()}function A(t){return new o(this,t).toNumber()}function U(t){return new a(this,t)}function S(t){return new o(this,t)}function z(t){return n.read(this,t,!1,23,4)}function B(t){return n.read(this,t,!1,52,8)}},738:(t,e,r)=>{var n=r(76);function i(t){var e,r=new Array(256);for(e=0;e<=127;e++)r[e]=a(e);for(e=128;e<=143;e++)r[e]=s(e-128,t.map);for(e=144;e<=159;e++)r[e]=s(e-144,t.array);for(e=160;e<=191;e++)r[e]=s(e-160,t.str);for(r[192]=a(null),r[193]=null,r[194]=a(!1),r[195]=a(!0),r[196]=o(t.uint8,t.bin),r[197]=o(t.uint16,t.bin),r[198]=o(t.uint32,t.bin),r[199]=o(t.uint8,t.ext),r[200]=o(t.uint16,t.ext),r[201]=o(t.uint32,t.ext),r[202]=t.float32,r[203]=t.float64,r[204]=t.uint8,r[205]=t.uint16,r[206]=t.uint32,r[207]=t.uint64,r[208]=t.int8,r[209]=t.int16,r[210]=t.int32,r[211]=t.int64,r[212]=s(1,t.ext),r[213]=s(2,t.ext),r[214]=s(4,t.ext),r[215]=s(8,t.ext),r[216]=s(16,t.ext),r[217]=o(t.uint8,t.str),r[218]=o(t.uint16,t.str),r[219]=o(t.uint32,t.str),r[220]=o(t.uint16,t.array),r[221]=o(t.uint32,t.array),r[222]=o(t.uint16,t.map),r[223]=o(t.uint32,t.map),e=224;e<=255;e++)r[e]=a(e-256);return r}function a(t){return function(){return t}}function o(t,e){return function(r){var n=t(r);return e(r,n)}}function s(t,e){return function(r){return e(r,t)}}e.getReadToken=function(t){var e=n.getReadFormat(t);return t&&t.useraw?function(t){var e,r=i(t).slice();for(r[217]=r[196],r[218]=r[197],r[219]=r[198],e=160;e<=191;e++)r[e]=s(e-160,t.bin);return r}(e):i(e)}},312:(t,e,r)=>{var n=r(83).S,i=r(431),a=r(943),o=r(877);function s(){var t=this.options;return this.encode=function(t){var e=a.getWriteType(t);return function(t,r){var n=e[typeof r];if(!n)throw new Error('Unsupported type "'+typeof r+'": '+r);n(t,r)}}(t),t&&t.preset&&i.setExtPackers(this),this}o.install({addExtPacker:function(t,e,r){r=o.filter(r);var i=e.name;function a(e){return r&&(e=r(e)),new n(e,t)}i&&"Object"!==i?(this.extPackers||(this.extPackers={}))[i]=a:(this.extEncoderList||(this.extEncoderList=[])).unshift([e,a])},getExtPacker:function(t){var e=this.extPackers||(this.extPackers={}),r=t.constructor,n=r&&r.name&&e[r.name];if(n)return n;for(var i=this.extEncoderList||(this.extEncoderList=[]),a=i.length,o=0;o<a;o++){var s=i[o];if(r===s[0])return s[1]}},init:s}),e.preset=s.call(o.preset)},598:(t,e,r)=>{var n=r(645),i=r(166),a=i.Uint64BE,o=i.Int64BE,s=r(370).w,u=r(895),c=u.global,f=u.hasBuffer&&"TYPED_ARRAY_SUPPORT"in c&&!c.TYPED_ARRAY_SUPPORT,l=u.hasBuffer&&c.prototype||{};function h(){var t=s.slice();return t[196]=d(196),t[197]=p(197),t[198]=_(198),t[199]=d(199),t[200]=p(200),t[201]=_(201),t[202]=b(202,4,l.writeFloatBE||g,!0),t[203]=b(203,8,l.writeDoubleBE||v,!0),t[204]=d(204),t[205]=p(205),t[206]=_(206),t[207]=b(207,8,w),t[208]=d(208),t[209]=p(209),t[210]=_(210),t[211]=b(211,8,y),t[217]=d(217),t[218]=p(218),t[219]=_(219),t[220]=p(220),t[221]=_(221),t[222]=p(222),t[223]=_(223),t}function d(t){return function(e,r){var n=e.reserve(2),i=e.buffer;i[n++]=t,i[n]=r}}function p(t){return function(e,r){var n=e.reserve(3),i=e.buffer;i[n++]=t,i[n++]=r>>>8,i[n]=r}}function _(t){return function(e,r){var n=e.reserve(5),i=e.buffer;i[n++]=t,i[n++]=r>>>24,i[n++]=r>>>16,i[n++]=r>>>8,i[n]=r}}function b(t,e,r,n){return function(i,a){var o=i.reserve(e+1);i.buffer[o++]=t,r.call(i.buffer,a,o,n)}}function w(t,e){new a(this,e,t)}function y(t,e){new o(this,e,t)}function g(t,e){n.write(this,t,e,!1,23,4)}function v(t,e){n.write(this,t,e,!1,52,8)}e.getWriteToken=function(t){return t&&t.uint8array?((e=h())[202]=b(202,4,g),e[203]=b(203,8,v),e):f||u.hasBuffer&&t&&t.safe?function(){var t=s.slice();return t[196]=b(196,1,c.prototype.writeUInt8),t[197]=b(197,2,c.prototype.writeUInt16BE),t[198]=b(198,4,c.prototype.writeUInt32BE),t[199]=b(199,1,c.prototype.writeUInt8),t[200]=b(200,2,c.prototype.writeUInt16BE),t[201]=b(201,4,c.prototype.writeUInt32BE),t[202]=b(202,4,c.prototype.writeFloatBE),t[203]=b(203,8,c.prototype.writeDoubleBE),t[204]=b(204,1,c.prototype.writeUInt8),t[205]=b(205,2,c.prototype.writeUInt16BE),t[206]=b(206,4,c.prototype.writeUInt32BE),t[207]=b(207,8,w),t[208]=b(208,1,c.prototype.writeInt8),t[209]=b(209,2,c.prototype.writeInt16BE),t[210]=b(210,4,c.prototype.writeInt32BE),t[211]=b(211,8,y),t[217]=b(217,1,c.prototype.writeUInt8),t[218]=b(218,2,c.prototype.writeUInt16BE),t[219]=b(219,4,c.prototype.writeUInt32BE),t[220]=b(220,2,c.prototype.writeUInt16BE),t[221]=b(221,4,c.prototype.writeUInt32BE),t[222]=b(222,2,c.prototype.writeUInt16BE),t[223]=b(223,4,c.prototype.writeUInt32BE),t}():h();var e}},943:(t,e,r)=>{var n=r(826),i=r(166),a=i.Uint64BE,o=i.Int64BE,s=r(895),u=r(190),c=r(598),f=r(370).w,l=r(83).S,h="undefined"!=typeof Uint8Array,d="undefined"!=typeof Map,p=[];p[1]=212,p[2]=213,p[4]=214,p[8]=215,p[16]=216,e.getWriteType=function(t){var e,r=c.getWriteToken(t),i=t&&t.useraw,_=h&&t&&t.binarraybuffer,b=_?s.isArrayBuffer:s.isBuffer,w=_?function(t,e){m(t,new Uint8Array(e))}:m,y=d&&t&&t.usemap?function(t,e){if(!(e instanceof Map))return k(t,e);var n=e.size;r[n<16?128+n:n<=65535?222:223](t,n);var i=t.codec.encode;e.forEach((function(e,r,n){i(t,r),i(t,e)}))}:k;return{boolean:function(t,e){r[e?195:194](t,e)},function:v,number:function(t,e){var n=0|e;e===n?r[-32<=n&&n<=127?255&n:0<=n?n<=255?204:n<=65535?205:206:-128<=n?208:-32768<=n?209:210](t,n):r[203](t,e)},object:i?function(t,e){if(b(e))return function(t,e){var n=e.length;r[n<32?160+n:n<=65535?218:219](t,n),t.send(e)}(t,e);g(t,e)}:g,string:(e=i?function(t){return t<32?1:t<=65535?3:5}:function(t){return t<32?1:t<=255?2:t<=65535?3:5},function(t,n){var i=n.length,a=5+3*i;t.offset=t.reserve(a);var o=t.buffer,s=e(i),c=t.offset+s;i=u.write.call(o,n,c);var f=e(i);if(s!==f){var l=c+f-s,h=c+i;u.copy.call(o,o,l,c,h)}r[1===f?160+i:f<=3?215+f:219](t,i),t.offset+=i}),symbol:v,undefined:v};function g(t,e){if(null===e)return v(t,e);if(b(e))return w(t,e);if(n(e))return function(t,e){var n=e.length;r[n<16?144+n:n<=65535?220:221](t,n);for(var i=t.codec.encode,a=0;a<n;a++)i(t,e[a])}(t,e);if(a.isUint64BE(e))return function(t,e){r[207](t,e.toArray())}(t,e);if(o.isInt64BE(e))return function(t,e){r[211](t,e.toArray())}(t,e);var i=t.codec.getExtPacker(e);if(i&&(e=i(e)),e instanceof l)return function(t,e){var n=e.buffer,i=n.length,a=p[i]||(i<255?199:i<=65535?200:201);r[a](t,i),f[e.type](t),t.send(n)}(t,e);y(t,e)}function v(t,e){r[192](t,e)}function m(t,e){var n=e.length;r[n<255?196:n<=65535?197:198](t,n),t.send(e)}function k(t,e){var n=Object.keys(e),i=n.length;r[i<16?128+i:i<=65535?222:223](t,i);var a=t.codec.encode;n.forEach((function(r){a(t,r),a(t,e[r])}))}}},370:(t,e)=>{for(var r=e.w=new Array(256),n=0;n<=255;n++)r[n]=i(n);function i(t){return function(e){var r=e.reserve(1);e.buffer[r]=t}}},757:function(t,e){!function(t){"use strict";function e(t){return null==t}function r(t){throw new Error("Argument "+t+" is empty.")}function n(t){return"function"==typeof t&&"getType"in t}function i(t){throw new Error("Argument "+t+' is invalid, it should be an action-creator instance from "typesafe-actions"')}function a(t,e){if(null==t)throw new Error("Argument contains array with empty element at index "+e);if(null==t.getType)throw new Error("Argument contains array with invalid element at index "+e+', it should be an action-creator instance from "typesafe-actions"')}function o(t){return"string"==typeof t||"symbol"==typeof t}function s(t){return!o(t)}function u(t){throw new Error("Argument "+t+" is invalid, it should be an action type of type: string | symbol")}function c(t,e){if(null==t)throw new Error("Argument contains array with empty element at index "+e);if("string"!=typeof t&&"symbol"!=typeof t)throw new Error("Argument contains array with invalid element at index "+e+", it should be of type: string | symbol")}function f(t,n,a,o){return e(t)&&r(1),s(t)&&i(1),{type:t,payload:n,meta:a,error:o}}function l(t,n){return e(t)&&r(1),s(t)&&u(1),Object.assign((function(){var e=null!=n?n.apply(void 0,arguments):void 0;return Object.assign({type:t},e)}),{getType:function(){return t},toString:function(){return t}})}function h(t,n,i){return e(t)&&r(1),s(t)&&u(1),function(){return l(t,(function(){var t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1];return null==n&&null==i||(t=null!=n?n.apply(void 0,arguments):void 0,e=null!=i?i.apply(void 0,arguments):void 0),Object.assign({},void 0!==t&&{payload:t},{},void 0!==e&&{meta:e})}))}}function d(t){return e(t)&&r(1),n(t)||i(1),t.getType()}function p(t,n){e(t)&&r(1),s(t)&&u(1);var i=null!=n?n(t):function(){return{type:t}};return Object.assign(i,{getType:function(){return t},toString:function(){return t}})}var _={createAction:function(t,e){var r=null==e?function(){return f(t)}:e(f.bind(null,t));return Object.assign(r,{getType:function(){return t},toString:function(){return t}})},createCustomAction:p,createStandardAction:function(t){return e(t)&&r(1),s(t)&&u(1),Object.assign((function(){return p(t,(function(t){return function(e,r){return{type:t,payload:e,meta:r}}}))}),{map:function(e){return p(t,(function(t){return function(r,n){return Object.assign(e(r,n),{type:t})}}))}})}};t.action=f,t.createAction=h,t.createAsyncAction=function(t,e,r,n){return function(){var i=[t,e,r,n].map((function(t,e){return Array.isArray(t)?h(t[0],t[1],t[2])():"string"==typeof t||"symbol"==typeof t?h(t)():void(e<3&&function(t){throw new Error("Argument "+t+' is invalid, it should be an action type of "string | symbol" or a tuple of "[string | symbol, Function, Function?]"')}(e))}));return{request:i[0],success:i[1],failure:i[2],cancel:i[3]}}},t.createCustomAction=l,t.createReducer=function t(e,r){void 0===r&&(r={});var i=Object.assign({},r),a=function(r,a){var s=Array.isArray(r)?r:[r],u={};return s.map((function(t,e){return n(t)?d(t):o(t)?t:function(t){throw new Error("Argument "+t+' is invalid, it should be an action-creator instance from "typesafe-actions" or action type of type: string | symbol')}(e+1)})).forEach((function(t){return u[t]=a})),t(e,Object.assign({},i,{},u))};return Object.assign((function(t,r){if(void 0===t&&(t=e),i.hasOwnProperty(r.type)){var n=i[r.type];if("function"!=typeof n)throw Error('Reducer under "'+r.type+'" key is not a valid reducer');return n(t,r)}return t}),{handlers:Object.assign({},i),handleAction:a,handleType:a})},t.deprecated=_,t.getType=d,t.isActionOf=function(t,n){e(t)&&r(1);var i=Array.isArray(t)?t:[t];i.forEach(a);var o=function(t){return i.some((function(e){return t.type===e.getType()}))};return void 0===n?o:o(n)},t.isOfType=function(t,n){e(t)&&r(1);var i=Array.isArray(t)?t:[t];i.forEach(c);var a=function(t){return i.includes(t.type)};return void 0===n?a:a(n)}}(e)}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={exports:{}};return t[n].call(a.exports,a,a.exports,r),a.exports}(()=>{"use strict";var t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(e,r)};function e(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}function n(t){return"function"==typeof t}var i=!1,a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack,i=t},get useDeprecatedSynchronousErrorHandling(){return i}};function o(t){setTimeout((function(){throw t}),0)}var s={closed:!0,next:function(t){},error:function(t){if(a.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete:function(){}},u=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}();function c(t){return null!==t&&"object"==typeof t}var f=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}(),l=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var e;if(!this.closed){var r=this,i=r._parentOrParents,a=r._ctorUnsubscribe,o=r._unsubscribe,s=r._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(var l=0;l<i.length;++l)i[l].remove(this);if(n(o)){a&&(this._unsubscribe=void 0);try{o.call(this)}catch(t){e=t instanceof f?h(t.errors):[t]}}if(u(s)){l=-1;for(var d=s.length;++l<d;){var p=s[l];if(c(p))try{p.unsubscribe()}catch(t){e=e||[],t instanceof f?e=e.concat(h(t.errors)):e.push(t)}}}if(e)throw new f(e)}},t.prototype.add=function(e){var r=e;if(!e)return t.EMPTY;switch(typeof e){case"function":r=new t(e);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof t)){var n=r;(r=new t)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof t){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[r]:a.push(r),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();function h(t){return t.reduce((function(t,e){return t.concat(e instanceof f?e.errors:e)}),[])}var d=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),p=function(t){function r(e,n,i){var a=t.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=s;break;case 1:if(!e){a.destination=s;break}if("object"==typeof e){e instanceof r?(a.syncErrorThrowable=e.syncErrorThrowable,a.destination=e,e.add(a)):(a.syncErrorThrowable=!0,a.destination=new _(a,e));break}default:a.syncErrorThrowable=!0,a.destination=new _(a,e,n,i)}return a}return e(r,t),r.prototype[d]=function(){return this},r.create=function(t,e,n){var i=new r(t,e,n);return i.syncErrorThrowable=!1,i},r.prototype.next=function(t){this.isStopped||this._next(t)},r.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},r.prototype._next=function(t){this.destination.next(t)},r.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},r.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},r.prototype._unsubscribeAndRecycle=function(){var t=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},r}(l),_=function(t){function r(e,r,i,a){var o,u=t.call(this)||this;u._parentSubscriber=e;var c=u;return n(r)?o=r:r&&(o=r.next,i=r.error,a=r.complete,r!==s&&(n((c=Object.create(r)).unsubscribe)&&u.add(c.unsubscribe.bind(c)),c.unsubscribe=u.unsubscribe.bind(u))),u._context=c,u._next=o,u._error=i,u._complete=a,u}return e(r,t),r.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},r.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,r=a.useDeprecatedSynchronousErrorHandling;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;o(t)}}},r.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var r=function(){return t._complete.call(t._context)};a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},r.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),a.useDeprecatedSynchronousErrorHandling)throw t;o(t)}},r.prototype.__tryOrSetError=function(t,e,r){if(!a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(e){return a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(o(e),!0)}return!1},r.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},r}(p),b=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function w(t){return t}function y(t){return 0===t.length?w:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}}var g=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=function(t,e,r){if(t){if(t instanceof p)return t;if(t[d])return t[d]()}return t||e||r?new p(t,e,r):new p(s)}(t,e,r);if(n?i.add(n.call(i,this.source)):i.add(this.source||a.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t,r=e.closed,n=e.destination,i=e.isStopped;if(r||i)return!1;t=n&&n instanceof p?n:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=v(e))((function(e,n){var i;i=r.subscribe((function(e){try{t(e)}catch(t){n(t),i&&i.unsubscribe()}}),n,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[b]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:y(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=v(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function v(t){if(t||(t=a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var m=new g((function(t){return t.complete()}));var k=r(757);const x=(0,k.createAsyncAction)("doAnalysisRequest","doAnalysisSuccess","doAnalysisFailure","doAnalysisCancel")(),E=((0,k.createAsyncAction)("getBundlephobiaRequest","getBundlephobiaSuccess","getBundlephobiaFailure")(),(0,k.createAction)("loadAllUrls")(),(0,k.createAction)("clearLoadedBundles")(),(0,k.createAction)("webworkerErrored")());var A=r(374);function U(t){let e=t.length;for(;--e>=0;)t[e]=0}const S=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),z=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),B=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),R=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),O=new Array(576);U(O);const T=new Array(60);U(T);const P=new Array(512);U(P);const Z=new Array(256);U(Z);const I=new Array(29);U(I);const D=new Array(30);function C(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}let F,N,M;function L(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}U(D);const j=t=>t<256?P[t]:P[256+(t>>>7)],H=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},Y=(t,e,r)=>{t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,H(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)},V=(t,e,r)=>{Y(t,r[2*e],r[2*e+1])},K=(t,e)=>{let r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1},q=(t,e,r)=>{const n=new Array(16);let i,a,o=0;for(i=1;i<=15;i++)n[i]=o=o+r[i-1]<<1;for(a=0;a<=e;a++){let e=t[2*a+1];0!==e&&(t[2*a]=K(n[e]++,e))}},W=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},G=t=>{t.bi_valid>8?H(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},X=(t,e,r,n)=>{const i=2*e,a=2*r;return t[i]<t[a]||t[i]===t[a]&&n[e]<=n[r]},J=(t,e,r)=>{const n=t.heap[r];let i=r<<1;for(;i<=t.heap_len&&(i<t.heap_len&&X(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!X(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n},$=(t,e,r)=>{let n,i,a,o,s=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],i=t.pending_buf[t.l_buf+s],s++,0===n?V(t,i,e):(a=Z[i],V(t,a+256+1,e),o=S[a],0!==o&&(i-=I[a],Y(t,i,o)),n--,a=j(n),V(t,a,r),o=z[a],0!==o&&(n-=D[a],Y(t,n,o)))}while(s<t.last_lit);V(t,256,e)},Q=(t,e)=>{const r=e.dyn_tree,n=e.stat_desc.static_tree,i=e.stat_desc.has_stree,a=e.stat_desc.elems;let o,s,u,c=-1;for(t.heap_len=0,t.heap_max=573,o=0;o<a;o++)0!==r[2*o]?(t.heap[++t.heap_len]=c=o,t.depth[o]=0):r[2*o+1]=0;for(;t.heap_len<2;)u=t.heap[++t.heap_len]=c<2?++c:0,r[2*u]=1,t.depth[u]=0,t.opt_len--,i&&(t.static_len-=n[2*u+1]);for(e.max_code=c,o=t.heap_len>>1;o>=1;o--)J(t,r,o);u=a;do{o=t.heap[1],t.heap[1]=t.heap[t.heap_len--],J(t,r,1),s=t.heap[1],t.heap[--t.heap_max]=o,t.heap[--t.heap_max]=s,r[2*u]=r[2*o]+r[2*s],t.depth[u]=(t.depth[o]>=t.depth[s]?t.depth[o]:t.depth[s])+1,r[2*o+1]=r[2*s+1]=u,t.heap[1]=u++,J(t,r,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const r=e.dyn_tree,n=e.max_code,i=e.stat_desc.static_tree,a=e.stat_desc.has_stree,o=e.stat_desc.extra_bits,s=e.stat_desc.extra_base,u=e.stat_desc.max_length;let c,f,l,h,d,p,_=0;for(h=0;h<=15;h++)t.bl_count[h]=0;for(r[2*t.heap[t.heap_max]+1]=0,c=t.heap_max+1;c<573;c++)f=t.heap[c],h=r[2*r[2*f+1]+1]+1,h>u&&(h=u,_++),r[2*f+1]=h,f>n||(t.bl_count[h]++,d=0,f>=s&&(d=o[f-s]),p=r[2*f],t.opt_len+=p*(h+d),a&&(t.static_len+=p*(i[2*f+1]+d)));if(0!==_){do{for(h=u-1;0===t.bl_count[h];)h--;t.bl_count[h]--,t.bl_count[h+1]+=2,t.bl_count[u]--,_-=2}while(_>0);for(h=u;0!==h;h--)for(f=t.bl_count[h];0!==f;)l=t.heap[--c],l>n||(r[2*l+1]!==h&&(t.opt_len+=(h-r[2*l+1])*r[2*l],r[2*l+1]=h),f--)}})(t,e),q(r,c,t.bl_count)},tt=(t,e,r)=>{let n,i,a=-1,o=e[1],s=0,u=7,c=4;for(0===o&&(u=138,c=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=e[2*(n+1)+1],++s<u&&i===o||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==a&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,a=i,0===o?(u=138,c=3):i===o?(u=6,c=3):(u=7,c=4))},et=(t,e,r)=>{let n,i,a=-1,o=e[1],s=0,u=7,c=4;for(0===o&&(u=138,c=3),n=0;n<=r;n++)if(i=o,o=e[2*(n+1)+1],!(++s<u&&i===o)){if(s<c)do{V(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(V(t,i,t.bl_tree),s--),V(t,16,t.bl_tree),Y(t,s-3,2)):s<=10?(V(t,17,t.bl_tree),Y(t,s-3,3)):(V(t,18,t.bl_tree),Y(t,s-11,7));s=0,a=i,0===o?(u=138,c=3):i===o?(u=6,c=3):(u=7,c=4)}};let rt=!1;const nt=(t,e,r,n)=>{Y(t,0+(n?1:0),3),((t,e,r,n)=>{G(t),H(t,r),H(t,~r),t.pending_buf.set(t.window.subarray(e,e+r),t.pending),t.pending+=r})(t,e,r)};var it={_tr_init:t=>{rt||((()=>{let t,e,r,n,i;const a=new Array(16);for(r=0,n=0;n<28;n++)for(I[n]=r,t=0;t<1<<S[n];t++)Z[r++]=n;for(Z[r-1]=n,i=0,n=0;n<16;n++)for(D[n]=i,t=0;t<1<<z[n];t++)P[i++]=n;for(i>>=7;n<30;n++)for(D[n]=i<<7,t=0;t<1<<z[n]-7;t++)P[256+i++]=n;for(e=0;e<=15;e++)a[e]=0;for(t=0;t<=143;)O[2*t+1]=8,t++,a[8]++;for(;t<=255;)O[2*t+1]=9,t++,a[9]++;for(;t<=279;)O[2*t+1]=7,t++,a[7]++;for(;t<=287;)O[2*t+1]=8,t++,a[8]++;for(q(O,287,a),t=0;t<30;t++)T[2*t+1]=5,T[2*t]=K(t,5);F=new C(O,S,257,286,15),N=new C(T,z,0,30,15),M=new C(new Array(0),B,0,19,7)})(),rt=!0),t.l_desc=new L(t.dyn_ltree,F),t.d_desc=new L(t.dyn_dtree,N),t.bl_desc=new L(t.bl_tree,M),t.bi_buf=0,t.bi_valid=0,W(t)},_tr_stored_block:nt,_tr_flush_block:(t,e,r,n)=>{let i,a,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),Q(t,t.l_desc),Q(t,t.d_desc),o=(t=>{let e;for(tt(t,t.dyn_ltree,t.l_desc.max_code),tt(t,t.dyn_dtree,t.d_desc.max_code),Q(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*R[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),i=t.opt_len+3+7>>>3,a=t.static_len+3+7>>>3,a<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==e?nt(t,e,r,n):4===t.strategy||a===i?(Y(t,2+(n?1:0),3),$(t,O,T)):(Y(t,4+(n?1:0),3),((t,e,r,n)=>{let i;for(Y(t,e-257,5),Y(t,r-1,5),Y(t,n-4,4),i=0;i<n;i++)Y(t,t.bl_tree[2*R[i]+1],3);et(t,t.dyn_ltree,e-1),et(t,t.dyn_dtree,r-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),$(t,t.dyn_ltree,t.dyn_dtree)),W(t),n&&G(t)},_tr_tally:(t,e,r)=>(t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(Z[r]+256+1)]++,t.dyn_dtree[2*j(e)]++),t.last_lit===t.lit_bufsize-1),_tr_align:t=>{Y(t,2,3),V(t,256,O),(t=>{16===t.bi_valid?(H(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}},at=(t,e,r,n)=>{let i=65535&t|0,a=t>>>16&65535|0,o=0;for(;0!==r;){o=r>2e3?2e3:r,r-=o;do{i=i+e[n++]|0,a=a+i|0}while(--o);i%=65521,a%=65521}return i|a<<16|0};const ot=new Uint32Array((()=>{let t,e=[];for(var r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e})());var st=(t,e,r,n)=>{const i=ot,a=n+r;t^=-1;for(let r=n;r<a;r++)t=t>>>8^i[255&(t^e[r])];return-1^t},ut={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},ct={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:ft,_tr_stored_block:lt,_tr_flush_block:ht,_tr_tally:dt,_tr_align:pt}=it,{Z_NO_FLUSH:_t,Z_PARTIAL_FLUSH:bt,Z_FULL_FLUSH:wt,Z_FINISH:yt,Z_BLOCK:gt,Z_OK:vt,Z_STREAM_END:mt,Z_STREAM_ERROR:kt,Z_DATA_ERROR:xt,Z_BUF_ERROR:Et,Z_DEFAULT_COMPRESSION:At,Z_FILTERED:Ut,Z_HUFFMAN_ONLY:St,Z_RLE:zt,Z_FIXED:Bt,Z_DEFAULT_STRATEGY:Rt,Z_UNKNOWN:Ot,Z_DEFLATED:Tt}=ct,Pt=258,Zt=262,It=103,Dt=113,Ct=666,Ft=(t,e)=>(t.msg=ut[e],e),Nt=t=>(t<<1)-(t>4?9:0),Mt=t=>{let e=t.length;for(;--e>=0;)t[e]=0};let Lt=(t,e,r)=>(e<<t.hash_shift^r)&t.hash_mask;const jt=t=>{const e=t.state;let r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+r),t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))},Ht=(t,e)=>{ht(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,jt(t.strm)},Yt=(t,e)=>{t.pending_buf[t.pending++]=e},Vt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Kt=(t,e,r,n)=>{let i=t.avail_in;return i>n&&(i=n),0===i?0:(t.avail_in-=i,e.set(t.input.subarray(t.next_in,t.next_in+i),r),1===t.state.wrap?t.adler=at(t.adler,e,i,r):2===t.state.wrap&&(t.adler=st(t.adler,e,i,r)),t.next_in+=i,t.total_in+=i,i)},qt=(t,e)=>{let r,n,i=t.max_chain_length,a=t.strstart,o=t.prev_length,s=t.nice_match;const u=t.strstart>t.w_size-Zt?t.strstart-(t.w_size-Zt):0,c=t.window,f=t.w_mask,l=t.prev,h=t.strstart+Pt;let d=c[a+o-1],p=c[a+o];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(r=e,c[r+o]===p&&c[r+o-1]===d&&c[r]===c[a]&&c[++r]===c[a+1]){a+=2,r++;do{}while(c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&c[++a]===c[++r]&&a<h);if(n=Pt-(h-a),a=h-Pt,n>o){if(t.match_start=e,o=n,n>=s)break;d=c[a+o-1],p=c[a+o]}}}while((e=l[e&f])>u&&0!=--i);return o<=t.lookahead?o:t.lookahead},Wt=t=>{const e=t.w_size;let r,n,i,a,o;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-Zt)){t.window.set(t.window.subarray(e,e+e),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,n=t.hash_size,r=n;do{i=t.head[--r],t.head[r]=i>=e?i-e:0}while(--n);n=e,r=n;do{i=t.prev[--r],t.prev[r]=i>=e?i-e:0}while(--n);a+=e}if(0===t.strm.avail_in)break;if(n=Kt(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=n,t.lookahead+t.insert>=3)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=Lt(t,t.ins_h,t.window[o+1]);t.insert&&(t.ins_h=Lt(t,t.ins_h,t.window[o+3-1]),t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<Zt&&0!==t.strm.avail_in)},Gt=(t,e)=>{let r,n;for(;;){if(t.lookahead<Zt){if(Wt(t),t.lookahead<Zt&&e===_t)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=Lt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-Zt&&(t.match_length=qt(t,r)),t.match_length>=3)if(n=dt(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=Lt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=Lt(t,t.ins_h,t.window[t.strstart+1]);else n=dt(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Ht(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===yt?(Ht(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ht(t,!1),0===t.strm.avail_out)?1:2},Xt=(t,e)=>{let r,n,i;for(;;){if(t.lookahead<Zt){if(Wt(t),t.lookahead<Zt&&e===_t)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=Lt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-Zt&&(t.match_length=qt(t,r),t.match_length<=5&&(t.strategy===Ut||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=dt(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=Lt(t,t.ins_h,t.window[t.strstart+3-1]),r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Ht(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(n=dt(t,0,t.window[t.strstart-1]),n&&Ht(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=dt(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===yt?(Ht(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ht(t,!1),0===t.strm.avail_out)?1:2};function Jt(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}