browser-504037ee-1724872791500.js 773 B

1
  1. var i={exports:{}},r=i.exports={};r.nextTick=function(){var t=typeof window<"u"&&window.setImmediate,s=typeof window<"u"&&window.postMessage&&window.addEventListener;if(t)return function(e){return window.setImmediate(e)};if(s){var o=[];return window.addEventListener("message",function(e){var n=e.source;if((n===window||n===null)&&e.data==="process-tick"&&(e.stopPropagation(),o.length>0)){var d=o.shift();d()}},!0),function(n){o.push(n),window.postMessage("process-tick","*")}}return function(n){setTimeout(n,0)}}();r.title="browser";r.browser=!0;r.env={};r.argv=[];r.binding=function(t){throw new Error("process.binding is not supported")};r.cwd=function(){return"/"};r.chdir=function(t){throw new Error("process.chdir is not supported")};var w=i.exports;export{w as b};