!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=e():"function"==typeofdefine&&define.amd?define(e):(t="undefined"!=typeofglobalThis?globalThis:t||self).io=e()}(this,(function(){"use strict";functiont(t,e){returne.forEach((function(e){e&&"string"!=typeofe&&!Array.isArray(e)&&Object.keys(e).forEach((function(n){if("default"!==n&&!(nint)){varr=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){returne[n]}})}}))})),Object.freeze(t)}functione(t){returne="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},e(t)}functionn(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionr(t,e){for(varn=0;n<e.length;n++){varr=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(t,(i=r.key,o=void0,"symbol"==typeof(o=function(t,e){if("object"!=typeoft||null===t)returnt;varn=t[Symbol.toPrimitive];if(void0!==n){varr=n.call(t,e||"default");if("object"!=typeofr)returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(i,"string"))?o:String(o)),r)}vari,o}functioni(t,e,n){returne&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}functiono(){returno=Object.assign?Object.assign.bind():function(t){for(vare=1;e<arguments.length;e++){varn=arguments[e];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}returnt},o.apply(this,arguments)}functions(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}functiona(t){returna=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){returnt.__proto__||Object.getPrototypeOf(t)},a(t)}functionu(t,e){returnu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){returnt.__proto__=e,t},u(t,e)}functionc(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}functionh(t,e,n){returnh=c()?Reflect.construct.bind():function(t,e,n){varr=[null];r.push.apply(r,e);vari=new(Function.bind.apply(t,r));returnn&&u(i,n.prototype),i},h.apply(null,arguments)}functionf(t){vare="function"==typeofMap?newMap:void0;returnf=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))returnt;varn;if("function"!=typeoft)thrownewTypeError("Super expression must either be null or a function");if(void0!==e){if(e.has(t))returne.get(t);e.set(t,r)}functionr(){returnh(t,arguments,a(this).constructor)}returnr.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),u(r,t)},f(t)}functionl(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}functionp(t){vare=c();returnfunction(){varn,r=a(t);if(e){vari=a(this).constructor;n=Reflect.construct(r,arguments,i)}elsen=r.apply(this,arguments);returnfunction(t,e){if(e&&("object"==typeofe||"function"==typeofe))returne;if(void0!==e)thrownewTypeError("Derived constructors may only return object or undefined");returnl(t)}(this,n)}}functiond(){returnd="undefined"!=typeofReflect&&Reflect.get?Reflect.get.bind():function(t,e,n){varr=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););returnt}(t,e);if(r){vari=Object.getOwnPropertyDescriptor(r,e);returni.get?i.get.call(arguments.length<3?t:n):i.value}},d.apply(this,arguments)}functiony(t,e){(null==e||e>t.length)&&(e=t.length);for(varn=0,r=newArray(e);n<e;n++)r[n]=t[n];returnr}functionv(t,e){var