function e(){let e=[];return function(t,n){if(typeof n!=`object`||!n)return n;for(;e.length>0&&e[e.length-1]!==this;)e.pop();return e.includes(n)?`[Circular]`:e.length>=3?`[Object]`:(e.push(n),n)}}function t(t){if(typeof t==`object`&&t)try{return JSON.stringify(t,e(),4)}catch{return String(t)}return String(t)}function n(...e){return e.map(t).join(` `)}function r(){return(()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n})()}export{n,r as t};