!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(e){returnt="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft},t(e)}functione(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionn(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,r.key,r)}}functionr(t,e,r){returne&&n(t.prototype,e),r&&n(t,r),t}functioni(){returni=Object.assign||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},i.apply(this,arguments)}functiono(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}}),e&&a(t,e)}functions(t){returns=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)},s(t)}functiona(t,e){returna=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t},a(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}}functionu(t,e,n){returnu=c()?Reflect.construct:function(t,e,n){varr=[null];r.push.apply(r,e);vari=new(Function.bind.apply(t,r));returnn&&a(i,n.prototype),i},u.apply(null,arguments)}functionh(t){vare="function"==typeofMap?newMap:void0;returnh=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(){returnu(t,arguments,s(this).constructor)}returnr.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,t)},h(t)}functionf(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}functionl(t,e){if(e&&("object"==typeofe||"function"==typeofe))returne;if(void0!==e)thrownewTypeError("Derived constructors may only return object or undefined");returnf(t)}functionp(t){vare=c();returnfunction(){varn,r=s(t);if(e){vari=s(this).constructor;n=Reflect.construct(r,arguments,i)}elsen=r.apply(this,arguments);returnl(this,n)}}functiond(t,e,n){returnd="undefined"!=typeofReflect&&Reflect.get?Reflect.get:function(t,e,n){varr=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););returnt}(t,e);if(r){vari=Object.getOwnPropertyDescriptor(r,e);returni.get?i.get.call(n):i.value}},d(t,e,n||t)}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){varn="undefined"!=typeofSymbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeoft)returny(t,e);varn=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(t,e):void0}}(t))||e&&t&&"number"==typeoft.length){n&&(t=n);varr=0,i=function(){};return{s:i,n:function(){returnr>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throwt},f:i}}thrownewTypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}varo,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){vart=n.next();returns=t.done,t},e:function(t){