!function(t,e){"object"==typeofexports&&"undefined"!=typeofmodule?e(exports):"function"==typeofdefine&&define.amd?define(["exports"],e):e((t="undefined"!=typeofglobalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";functione(t,e){vari=Object.keys(t);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){returnObject.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}returni}functioni(t){for(vari=1;i<arguments.length;i++){varn=null!=arguments[i]?arguments[i]:{};i%2?e(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}returnt}functionn(t){return(n="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}functiono(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionr(t,e){for(vari=0;i<e.length;i++){varn=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}functions(t,e,i){returne&&r(t.prototype,e),i&&r(t,i),t}functiona(t,e,i){returneint?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}functionc(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){returnt.__proto__||Object.getPrototypeOf(t)})(t)}functionh(t,e){return(h=Object.setPrototypeOf||function(t,e){returnt.__proto__=e,t})(t,e)}functionl(t){if(void0===t)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returnt}functionu(t,e){return!e||"object"!=typeofe&&"function"!=typeofe?l(t):e}functionf(t){vare=function(){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}}();returnfunction(){vari,n=c(t);if(e){varo=c(this).constructor;i=Reflect.construct(n,arguments,o)}elsei=n.apply(this,arguments);returnu(this,i)}}functiond(t,e){returnfunction(t){if(Array.isArray(t))returnt}(t)||function(t,e){vari=null==t?null:"undefined"!=typeofSymbol&&t[Symbol.iterator]||t["@@iterator"];if(null==i)return;varn,o,r=[],s=!0,a=!1;try{for(i=i.call(t);!(s=(n=i.next()).done)&&(r.push(n.value),!e||r.length!==e);s=!0);}catch(t){a=!0,o=t}finally{try{s||null==i.return||i.return()}finally{if(a)throwo}}returnr}(t,e)||g(t,e)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functionv(t){returnfunction(t){if(Array.isArray(t))returnp(t)}(t)||function(t){if("undefined"!=typeofSymbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])returnArray.from(t)}(t)||g(t)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functiong(t,e){if(t){if("string"==typeoft)returnp(t,e);vari=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(t,e):void0}}functionp(t,e){(null==e||e>t.length)&&(e=t.length);for(vari=0,n=newArray(e);i<e;i++)n[i]=t[i];returnn}functiony(t,e){vari="undefined"!=typeofSymbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=g(t))||e&&t&&"number"==typeoft.length){i&&(t=i);varn=0,o=function(){};return{s:o,n:function(){returnn>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throwt},f:o}}thrownewTypeError("Invalidattempttoiteratenon-iterableinstance.\nInordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterato