import{n as e}from"./rolldown-runtime-8BhlS34s.js";function t(e){"@babel/helpers - typeof";return t=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t(e)}var n=e((()=>{}));function r(e,n){if(t(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,n||`default`);if(t(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(e)}var i=e((()=>{n()}));function a(e){var n=r(e,`string`);return t(n)==`symbol`?n:n+``}var o=e((()=>{n(),i()}));function s(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=e((()=>{o()}));function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function u(){throw Error(`setTimeout has not been defined`)}function d(){throw Error(`clearTimeout has not been defined`)}function f(e){if(b===setTimeout)return setTimeout(e,0);if((b===u||!b)&&setTimeout)return b=setTimeout,setTimeout(e,0);try{return b(e,0)}catch{try{return b.call(null,e,0)}catch{return b.call(this,e,0)}}}function p(e){if(x===clearTimeout)return clearTimeout(e);if((x===d||!x)&&clearTimeout)return x=clearTimeout,clearTimeout(e);try{return x(e)}catch{try{return x.call(null,e)}catch{return x.call(this,e)}}}function m(){!C||!w||(C=!1,w.length?S=w.concat(S):T=-1,S.length&&h())}function h(){if(!C){var e=f(m);C=!0;for(var t=S.length;t;){for(w=S,S=[];++T<t;)w&&w[T].run();T=-1,t=S.length}w=null,C=!1,p(e)}}function g(e,t){this.fun=e,this.array=t}function _(){}var v,y,b,x,S,C,w,T,E,D,O=e((()=>{v={exports:{}},y=v.exports={},(function(){try{b=typeof setTimeout==`function`?setTimeout:u}catch{b=u}try{x=typeof clearTimeout==`function`?clearTimeout:d}catch{x=d}})(),S=[],C=!1,T=-1,y.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];S.push(new g(e,t)),S.length===1&&!C&&f(h)},g.prototype.run=function(){this.fun.apply(null,this.array)},y.title=`browser`,y.browser=!0,y.env={},y.argv=[],y.version=``,y.versions={},y.on=_,y.addListener=_,y.once=_,y.off=_,y.removeListener=_,y.removeAllListeners=_,y.emit=_,y.prependListener=_,y.prependOnceListener=_,y.listeners=function(e){return[]},y.binding=function(e){throw Error(`process.binding is not supported`)},y.cwd=function(){return`/`},y.chdir=function(e){throw Error(`process.chdir is not supported`)},y.umask=function(){return 0},E=v.exports,D=l(E)}));export{c as i,D as n,s as r,O as t};