import{b as t}from"./p-6279360b.js";const s={turquoise:"#1abc9c",emerald:"#2ecc71",river:"#3498db",amethyst:"#9b59b6",asphalt:"#34495e",sun:"#f1c40f",carrot:"#e67e22",alizarin:"#e74c3c",cloud:"#ecf0f1",concrete:"#95a5a6"},i={info:"#3498db",debug:"#9b59b6",warn:"#e67e22",error:"#e74c3c",log:"#95a5a6"},o={debug:0,log:1,info:2,warn:3,error:4};class h{constructor(t){this.level=1,this.new=t=>{const s=new h(t);return s.level=this.level,s.color=this.color,s},this.setColor=t=>(this.color=s[t],this),this.setLevel=t=>(this.level=o[t],this),this.debug=(...t)=>this.print("debug",...t),this.debugGroup=(t,...s)=>this.printGroup("debug",t,...s),this.log=(...t)=>this.print("log",...t),this.logGroup=(t,...s)=>this.printGroup("log",t,...s),this.info=(...t)=>this.print("info",...t),this.infoGroup=(t,...s)=>this.printGroup("info",t,...s),this.warn=(...t)=>this.print("warn",...t),this.warnGroup=(t,...s)=>this.printGroup("warn",t,...s),this.error=(...t)=>this.print("error",...t),this.errorGroup=(t,...s)=>this.printGroup("error",t,...s),this.print=(t,...s)=>{o[t]<this.level||console[t](...this.getColoredMessage(t,s))},this.printGroup=(t,s,...i)=>{o[t]<this.level||(console.groupCollapsed(...this.getColoredMessage(t,s)),console[t](...i),console.groupEnd())},this.getColoredMessage=(t,...s)=>[`%c${t.toUpperCase()} %c${this.prefix} %c${s.join(" ")}`,`color:${i[t]}; font-weight: bold;`,`color:${this.color}; font-weight: bold;`,"color:white; font-weight: normal;"],this.prefix=t}}function e(){const s=new t("network");return s.status=401,s}function r(){const s=new t("network");return s.status=404,s}function n(s=""){const i=new t("network");return i.status=501,i.statusText=s,i}export{h as L,r as a,n,e as u}