@prisma/client
Version:
Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports MySQL, PostgreSQL, MariaDB, SQLite databases.
12 lines • 241 kB
JavaScript
"use strict";var Su=Object.create;var Ht=Object.defineProperty;var Mu=Object.getOwnPropertyDescriptor;var Ou=Object.getOwnPropertyNames;var Ru=Object.getPrototypeOf,Iu=Object.prototype.hasOwnProperty;var c=(e,t)=>Ht(e,"name",{value:t,configurable:!0});var N=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Wr=(e,t)=>{for(var r in t)Ht(e,r,{get:t[r],enumerable:!0})},Io=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ou(t))!Iu.call(e,i)&&i!==r&&Ht(e,i,{get:()=>t[i],enumerable:!(n=Mu(t,i))||n.enumerable});return e};var F=(e,t,r)=>(r=e!=null?Su(Ru(e)):{},Io(t||!e||!e.__esModule?Ht(r,"default",{value:e,enumerable:!0}):r,e)),Du=e=>Io(Ht({},"__esModule",{value:!0}),e);var Do=N((Cm,Jr)=>{var Nu=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function i(s,a){if(!n[s]){n[s]={};for(var u=0;u<s.length;u++)n[s][s.charAt(u)]=u}return n[s][a]}c(i,"getBaseValue");var o={compressToBase64:function(s){if(s==null)return"";var a=o._compress(s,6,function(u){return t.charAt(u)});switch(a.length%4){default:case 0:return a;case 1:return a+"===";case 2:return a+"==";case 3:return a+"="}},decompressFromBase64:function(s){return s==null?"":s==""?null:o._decompress(s.length,32,function(a){return i(t,s.charAt(a))})},compressToUTF16:function(s){return s==null?"":o._compress(s,15,function(a){return e(a+32)})+" "},decompressFromUTF16:function(s){return s==null?"":s==""?null:o._decompress(s.length,16384,function(a){return s.charCodeAt(a)-32})},compressToUint8Array:function(s){for(var a=o.compress(s),u=new Uint8Array(a.length*2),l=0,p=a.length;l<p;l++){var f=a.charCodeAt(l);u[l*2]=f>>>8,u[l*2+1]=f%256}return u},decompressFromUint8Array:function(s){if(s==null)return o.decompress(s);for(var a=new Array(s.length/2),u=0,l=a.length;u<l;u++)a[u]=s[u*2]*256+s[u*2+1];var p=[];return a.forEach(function(f){p.push(e(f))}),o.decompress(p.join(""))},compressToEncodedURIComponent:function(s){return s==null?"":o._compress(s,6,function(a){return r.charAt(a)})},decompressFromEncodedURIComponent:function(s){return s==null?"":s==""?null:(s=s.replace(/ /g,"+"),o._decompress(s.length,32,function(a){return i(r,s.charAt(a))}))},compress:function(s){return o._compress(s,16,function(a){return e(a)})},_compress:function(s,a,u){if(s==null)return"";var l,p,f={},d={},m="",h="",g="",x=2,y=3,w=2,b=[],E=0,v=0,S;for(S=0;S<s.length;S+=1)if(m=s.charAt(S),Object.prototype.hasOwnProperty.call(f,m)||(f[m]=y++,d[m]=!0),h=g+m,Object.prototype.hasOwnProperty.call(f,h))g=h;else{if(Object.prototype.hasOwnProperty.call(d,g)){if(g.charCodeAt(0)<256){for(l=0;l<w;l++)E=E<<1,v==a-1?(v=0,b.push(u(E)),E=0):v++;for(p=g.charCodeAt(0),l=0;l<8;l++)E=E<<1|p&1,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=p>>1}else{for(p=1,l=0;l<w;l++)E=E<<1|p,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=0;for(p=g.charCodeAt(0),l=0;l<16;l++)E=E<<1|p&1,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=p>>1}x--,x==0&&(x=Math.pow(2,w),w++),delete d[g]}else for(p=f[g],l=0;l<w;l++)E=E<<1|p&1,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=p>>1;x--,x==0&&(x=Math.pow(2,w),w++),f[h]=y++,g=String(m)}if(g!==""){if(Object.prototype.hasOwnProperty.call(d,g)){if(g.charCodeAt(0)<256){for(l=0;l<w;l++)E=E<<1,v==a-1?(v=0,b.push(u(E)),E=0):v++;for(p=g.charCodeAt(0),l=0;l<8;l++)E=E<<1|p&1,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=p>>1}else{for(p=1,l=0;l<w;l++)E=E<<1|p,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=0;for(p=g.charCodeAt(0),l=0;l<16;l++)E=E<<1|p&1,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=p>>1}x--,x==0&&(x=Math.pow(2,w),w++),delete d[g]}else for(p=f[g],l=0;l<w;l++)E=E<<1|p&1,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=p>>1;x--,x==0&&(x=Math.pow(2,w),w++)}for(p=2,l=0;l<w;l++)E=E<<1|p&1,v==a-1?(v=0,b.push(u(E)),E=0):v++,p=p>>1;for(;;)if(E=E<<1,v==a-1){b.push(u(E));break}else v++;return b.join("")},decompress:function(s){return s==null?"":s==""?null:o._decompress(s.length,32768,function(a){return s.charCodeAt(a)})},_decompress:function(s,a,u){var l=[],p,f=4,d=4,m=3,h="",g=[],x,y,w,b,E,v,S,_={val:u(0),position:a,index:1};for(x=0;x<3;x+=1)l[x]=x;for(w=0,E=Math.pow(2,2),v=1;v!=E;)b=_.val&_.position,_.position>>=1,_.position==0&&(_.position=a,_.val=u(_.index++)),w|=(b>0?1:0)*v,v<<=1;switch(p=w){case 0:for(w=0,E=Math.pow(2,8),v=1;v!=E;)b=_.val&_.position,_.position>>=1,_.position==0&&(_.position=a,_.val=u(_.index++)),w|=(b>0?1:0)*v,v<<=1;S=e(w);break;case 1:for(w=0,E=Math.pow(2,16),v=1;v!=E;)b=_.val&_.position,_.position>>=1,_.position==0&&(_.position=a,_.val=u(_.index++)),w|=(b>0?1:0)*v,v<<=1;S=e(w);break;case 2:return""}for(l[3]=S,y=S,g.push(S);;){if(_.index>s)return"";for(w=0,E=Math.pow(2,m),v=1;v!=E;)b=_.val&_.position,_.position>>=1,_.position==0&&(_.position=a,_.val=u(_.index++)),w|=(b>0?1:0)*v,v<<=1;switch(S=w){case 0:for(w=0,E=Math.pow(2,8),v=1;v!=E;)b=_.val&_.position,_.position>>=1,_.position==0&&(_.position=a,_.val=u(_.index++)),w|=(b>0?1:0)*v,v<<=1;l[d++]=e(w),S=d-1,f--;break;case 1:for(w=0,E=Math.pow(2,16),v=1;v!=E;)b=_.val&_.position,_.position>>=1,_.position==0&&(_.position=a,_.val=u(_.index++)),w|=(b>0?1:0)*v,v<<=1;l[d++]=e(w),S=d-1,f--;break;case 2:return g.join("")}if(f==0&&(f=Math.pow(2,m),m++),l[S])h=l[S];else if(S===d)h=y+y.charAt(0);else return null;g.push(h),l[d++]=y+h.charAt(0),f--,y=h,f==0&&(f=Math.pow(2,m),m++)}}};return o}();typeof Jr<"u"&&Jr!=null&&(Jr.exports=Nu)});var qo=N((jm,jo)=>{"use strict";jo.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var ui=N((qm,Uo)=>{var Qt=qo(),Bo={};for(let e of Object.keys(Qt))Bo[Qt[e]]=e;var P={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Uo.exports=P;for(let e of Object.keys(P)){if(!("channels"in P[e]))throw new Error("missing channels property: "+e);if(!("labels"in P[e]))throw new Error("missing channel labels property: "+e);if(P[e].labels.length!==P[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=P[e];delete P[e].channels,delete P[e].labels,Object.defineProperty(P[e],"channels",{value:t}),Object.defineProperty(P[e],"labels",{value:r})}P.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),o=Math.max(t,r,n),s=o-i,a,u;o===i?a=0:t===o?a=(r-n)/s:r===o?a=2+(n-t)/s:n===o&&(a=4+(t-r)/s),a=Math.min(a*60,360),a<0&&(a+=360);let l=(i+o)/2;return o===i?u=0:l<=.5?u=s/(o+i):u=s/(2-o-i),[a,u*100,l*100]};P.rgb.hsv=function(e){let t,r,n,i,o,s=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(s,a,u),p=l-Math.min(s,a,u),f=c(function(d){return(l-d)/6/p+1/2},"diffc");return p===0?(i=0,o=0):(o=p/l,t=f(s),r=f(a),n=f(u),s===l?i=n-r:a===l?i=1/3+t-n:u===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,o*100,l*100]};P.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],i=P.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,o*100,n*100]};P.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),o=(1-t-i)/(1-i)||0,s=(1-r-i)/(1-i)||0,a=(1-n-i)/(1-i)||0;return[o*100,s*100,a*100,i*100]};function Fu(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}c(Fu,"comparativeDistance");P.rgb.keyword=function(e){let t=Bo[e];if(t)return t;let r=1/0,n;for(let i of Object.keys(Qt)){let o=Qt[i],s=Fu(e,o);s<r&&(r=s,n=i)}return n};P.keyword.rgb=function(e){return Qt[e]};P.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let i=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,s=t*.0193+r*.1192+n*.9505;return[i*100,o*100,s*100]};P.rgb.lab=function(e){let t=P.rgb.xyz(e),r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let o=116*n-16,s=500*(r-n),a=200*(n-i);return[o,s,a]};P.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,i,o,s;if(r===0)return s=n*255,[s,s,s];n<.5?i=n*(1+r):i=n+r-n*r;let a=2*n-i,u=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,6*o<1?s=a+(i-a)*6*o:2*o<1?s=i:3*o<2?s=a+(i-a)*(2/3-o)*6:s=a,u[l]=s*255;return u};P.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,i=r,o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=o<=1?o:2-o;let s=(n+r)/2,a=n===0?2*i/(o+i):2*r/(n+r);return[t,a*100,s*100]};P.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),s=255*n*(1-r),a=255*n*(1-r*o),u=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,u,s];case 1:return[a,n,s];case 2:return[s,n,u];case 3:return[s,a,n];case 4:return[u,s,n];case 5:return[n,s,a]}};P.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01),o,s;s=(2-r)*n;let a=(2-r)*i;return o=r*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,o*100,s*100]};P.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,i=r+n,o;i>1&&(r/=i,n/=i);let s=Math.floor(6*t),a=1-n;o=6*t-s,(s&1)!==0&&(o=1-o);let u=r+o*(a-r),l,p,f;switch(s){default:case 6:case 0:l=a,p=u,f=r;break;case 1:l=u,p=a,f=r;break;case 2:l=r,p=a,f=u;break;case 3:l=r,p=u,f=a;break;case 4:l=u,p=r,f=a;break;case 5:l=a,p=r,f=u;break}return[l*255,p*255,f*255]};P.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,o=1-Math.min(1,t*(1-i)+i),s=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i);return[o*255,s*255,a*255]};P.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,i,o,s;return i=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,s=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[i*255,o*255,s*255]};P.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let i=116*r-16,o=500*(t-r),s=200*(r-n);return[i,o,s]};P.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],i,o,s;o=(t+16)/116,i=r/500+o,s=o-n/200;let a=o**3,u=i**3,l=s**3;return o=a>.008856?a:(o-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,s=l>.008856?l:(s-16/116)/7.787,i*=95.047,o*=100,s*=108.883,[i,o,s]};P.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);let s=Math.sqrt(r*r+n*n);return[t,s,i]};P.lch.lab=function(e){let t=e[0],r=e[1],i=e[2]/360*2*Math.PI,o=r*Math.cos(i),s=r*Math.sin(i);return[t,o,s]};P.rgb.ansi16=function(e,t=null){let[r,n,i]=e,o=t===null?P.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let s=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(s+=60),s};P.hsv.ansi16=function(e){return P.rgb.ansi16(P.hsv.rgb(e),e[2])};P.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};P.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,i,o]};P.ansi256.rgb=function(e){if(e>=232){let o=(e-232)*10+8;return[o,o,o]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]};P.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};P.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(a=>a+a).join(""));let n=parseInt(r,16),i=n>>16&255,o=n>>8&255,s=n&255;return[i,o,s]};P.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),s=i-o,a,u;return s<1?a=o/(1-s):a=0,s<=0?u=0:i===t?u=(r-n)/s%6:i===r?u=2+(n-t)/s:u=4+(t-r)/s,u/=6,u%=1,[u*360,s*100,a*100]};P.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]};P.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]};P.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];let i=[0,0,0],o=t%1*6,s=o%1,a=1-s,u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};P.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]};P.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]};P.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};P.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,i=n-t,o=0;return i<1&&(o=(n-i)/(1-i)),[e[0],i*100,o*100]};P.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};P.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};P.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};P.gray.hsl=function(e){return[0,0,e[0]]};P.gray.hsv=P.gray.hsl;P.gray.hwb=function(e){return[0,100,e[0]]};P.gray.cmyk=function(e){return[0,0,0,e[0]]};P.gray.lab=function(e){return[e[0],0,0]};P.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};P.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var Go=N((Um,Vo)=>{var Yr=ui();function ku(){let e={},t=Object.keys(Yr);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}c(ku,"buildGraph");function Lu(e){let t=ku(),r=[e];for(t[e].distance=0;r.length;){let n=r.pop(),i=Object.keys(Yr[n]);for(let o=i.length,s=0;s<o;s++){let a=i[s],u=t[a];u.distance===-1&&(u.distance=t[n].distance+1,u.parent=n,r.unshift(a))}}return t}c(Lu,"deriveBFS");function $u(e,t){return function(r){return t(e(r))}}c($u,"link");function ju(e,t){let r=[t[e].parent,e],n=Yr[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),n=$u(Yr[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}c(ju,"wrapConversion");Vo.exports=function(e){let t=Lu(e),r={},n=Object.keys(t);for(let i=n.length,o=0;o<i;o++){let s=n[o];t[s].parent!==null&&(r[s]=ju(s,t))}return r}});var Ho=N((Gm,Ko)=>{var li=ui(),qu=Go(),gt={},Bu=Object.keys(li);function Uu(e){let t=c(function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))},"wrappedFn");return"conversion"in e&&(t.conversion=e.conversion),t}c(Uu,"wrapRaw");function Vu(e){let t=c(function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let i=e(r);if(typeof i=="object")for(let o=i.length,s=0;s<o;s++)i[s]=Math.round(i[s]);return i},"wrappedFn");return"conversion"in e&&(t.conversion=e.conversion),t}c(Vu,"wrapRounded");Bu.forEach(e=>{gt[e]={},Object.defineProperty(gt[e],"channels",{value:li[e].channels}),Object.defineProperty(gt[e],"labels",{value:li[e].labels});let t=qu(e);Object.keys(t).forEach(n=>{let i=t[n];gt[e][n]=Vu(i),gt[e][n].raw=Uu(i)})});Ko.exports=gt});var Xo=N((Hm,zo)=>{"use strict";var Qo=c((e,t)=>(...r)=>`\x1B[${e(...r)+t}m`,"wrapAnsi16"),Wo=c((e,t)=>(...r)=>{let n=e(...r);return`\x1B[${38+t};5;${n}m`},"wrapAnsi256"),Jo=c((e,t)=>(...r)=>{let n=e(...r);return`\x1B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},"wrapAnsi16m"),zr=c(e=>e,"ansi2ansi"),Yo=c((e,t,r)=>[e,t,r],"rgb2rgb"),ht=c((e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},"setLazyProperty"),pi,yt=c((e,t,r,n)=>{pi===void 0&&(pi=Ho());let i=n?10:0,o={};for(let[s,a]of Object.entries(pi)){let u=s==="ansi16"?"ansi":s;s===t?o[u]=e(r,i):typeof a=="object"&&(o[u]=e(a[t],i))}return o},"makeDynamicStyles");function Gu(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[i,o]of Object.entries(n))t[i]={open:`\x1B[${o[0]}m`,close:`\x1B[${o[1]}m`},n[i]=t[i],e.set(o[0],o[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",ht(t.color,"ansi",()=>yt(Qo,"ansi16",zr,!1)),ht(t.color,"ansi256",()=>yt(Wo,"ansi256",zr,!1)),ht(t.color,"ansi16m",()=>yt(Jo,"rgb",Yo,!1)),ht(t.bgColor,"ansi",()=>yt(Qo,"ansi16",zr,!0)),ht(t.bgColor,"ansi256",()=>yt(Wo,"ansi256",zr,!0)),ht(t.bgColor,"ansi16m",()=>yt(Jo,"rgb",Yo,!0)),t}c(Gu,"assembleStyles");Object.defineProperty(zo,"exports",{enumerable:!0,get:Gu})});var es=N((Wm,Zo)=>{"use strict";Zo.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}});var mi=N((Jm,rs)=>{"use strict";var Ku=require("os"),ts=require("tty"),me=es(),{env:V}=process,je;me("no-color")||me("no-colors")||me("color=false")||me("color=never")?je=0:(me("color")||me("colors")||me("color=true")||me("color=always"))&&(je=1);"FORCE_COLOR"in V&&(V.FORCE_COLOR==="true"?je=1:V.FORCE_COLOR==="false"?je=0:je=V.FORCE_COLOR.length===0?1:Math.min(parseInt(V.FORCE_COLOR,10),3));function fi(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}c(fi,"translateLevel");function di(e,t){if(je===0)return 0;if(me("color=16m")||me("color=full")||me("color=truecolor"))return 3;if(me("color=256"))return 2;if(e&&!t&&je===void 0)return 0;let r=je||0;if(V.TERM==="dumb")return r;if(process.platform==="win32"){let n=Ku.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in V)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in V)||V.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in V)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(V.TEAMCITY_VERSION)?1:0;if(V.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in V){let n=parseInt((V.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(V.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(V.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(V.TERM)||"COLORTERM"in V?1:r}c(di,"supportsColor");function Hu(e){let t=di(e,e&&e.isTTY);return fi(t)}c(Hu,"getSupportLevel");rs.exports={supportsColor:Hu,stdout:fi(di(!0,ts.isatty(1))),stderr:fi(di(!0,ts.isatty(2)))}});var is=N((zm,ns)=>{"use strict";var Qu=c((e,t,r)=>{let n=e.indexOf(t);if(n===-1)return e;let i=t.length,o=0,s="";do s+=e.substr(o,n-o)+t+r,o=n+i,n=e.indexOf(t,o);while(n!==-1);return s+=e.substr(o),s},"stringReplaceAll"),Wu=c((e,t,r,n)=>{let i=0,o="";do{let s=e[n-1]==="\r";o+=e.substr(i,(s?n-1:n)-i)+t+(s?`\r
`:`
`)+r,i=n+1,n=e.indexOf(`
`,i)}while(n!==-1);return o+=e.substr(i),o},"stringEncaseCRLFWithFirstIndex");ns.exports={stringReplaceAll:Qu,stringEncaseCRLFWithFirstIndex:Wu}});var us=N((Zm,cs)=>{"use strict";var Ju=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,os=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Yu=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,zu=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Xu=new Map([["n",`
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function as(e){let t=e[0]==="u",r=e[1]==="{";return t&&!r&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Xu.get(e)||e}c(as,"unescape");function Zu(e,t){let r=[],n=t.trim().split(/\s*,\s*/g),i;for(let o of n){let s=Number(o);if(!Number.isNaN(s))r.push(s);else if(i=o.match(Yu))r.push(i[2].replace(zu,(a,u,l)=>u?as(u):l));else throw new Error(`Invalid Chalk template style argument: ${o} (in style '${e}')`)}return r}c(Zu,"parseArguments");function el(e){os.lastIndex=0;let t=[],r;for(;(r=os.exec(e))!==null;){let n=r[1];if(r[2]){let i=Zu(n,r[2]);t.push([n].concat(i))}else t.push([n])}return t}c(el,"parseStyle");function ss(e,t){let r={};for(let i of t)for(let o of i.styles)r[o[0]]=i.inverse?null:o.slice(1);let n=e;for(let[i,o]of Object.entries(r))if(!!Array.isArray(o)){if(!(i in n))throw new Error(`Unknown Chalk style: ${i}`);n=o.length>0?n[i](...o):n[i]}return n}c(ss,"buildStyle");cs.exports=(e,t)=>{let r=[],n=[],i=[];if(t.replace(Ju,(o,s,a,u,l,p)=>{if(s)i.push(as(s));else if(u){let f=i.join("");i=[],n.push(r.length===0?f:ss(e,r)(f)),r.push({inverse:a,styles:el(u)})}else if(l){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(ss(e,r)(i.join(""))),i=[],r.pop()}else i.push(p)}),n.push(i.join("")),r.length>0){let o=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(o)}return n.join("")}});var qe=N((tg,gs)=>{"use strict";var Wt=Xo(),{stdout:hi,stderr:yi}=mi(),{stringReplaceAll:tl,stringEncaseCRLFWithFirstIndex:rl}=is(),{isArray:Zr}=Array,ps=["ansi","ansi","ansi256","ansi16m"],bt=Object.create(null),nl=c((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=hi?hi.level:0;e.level=t.level===void 0?r:t.level},"applyOptions"),Xr=class{constructor(t){return fs(t)}};c(Xr,"ChalkClass");var fs=c(e=>{let t={};return nl(t,e),t.template=(...r)=>ms(t.template,...r),Object.setPrototypeOf(t,en.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=Xr,t.template},"chalkFactory");function en(e){return fs(e)}c(en,"Chalk");for(let[e,t]of Object.entries(Wt))bt[e]={get(){let r=tn(this,bi(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};bt.visible={get(){let e=tn(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};var ds=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of ds)bt[e]={get(){let{level:t}=this;return function(...r){let n=bi(Wt.color[ps[t]][e](...r),Wt.color.close,this._styler);return tn(this,n,this._isEmpty)}}};for(let e of ds){let t="bg"+e[0].toUpperCase()+e.slice(1);bt[t]={get(){let{level:r}=this;return function(...n){let i=bi(Wt.bgColor[ps[r]][e](...n),Wt.bgColor.close,this._styler);return tn(this,i,this._isEmpty)}}}}var il=Object.defineProperties(()=>{},{...bt,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),bi=c((e,t,r)=>{let n,i;return r===void 0?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},"createStyler"),tn=c((e,t,r)=>{let n=c((...i)=>Zr(i[0])&&Zr(i[0].raw)?ls(n,ms(n,...i)):ls(n,i.length===1?""+i[0]:i.join(" ")),"builder");return Object.setPrototypeOf(n,il),n._generator=e,n._styler=t,n._isEmpty=r,n},"createBuilder"),ls=c((e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(r===void 0)return t;let{openAll:n,closeAll:i}=r;if(t.indexOf("\x1B")!==-1)for(;r!==void 0;)t=tl(t,r.close,r.open),r=r.parent;let o=t.indexOf(`
`);return o!==-1&&(t=rl(t,i,n,o)),n+t+i},"applyStyle"),gi,ms=c((e,...t)=>{let[r]=t;if(!Zr(r)||!Zr(r.raw))return t.join(" ");let n=t.slice(1),i=[r.raw[0]];for(let o=1;o<r.length;o++)i.push(String(n[o-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[o]));return gi===void 0&&(gi=us()),gi(e,i.join(""))},"chalkTag");Object.defineProperties(en.prototype,bt);var rn=en();rn.supportsColor=hi;rn.stderr=en({level:yi?yi.level:0});rn.stderr.supportsColor=yi;gs.exports=rn});var pn=N((og,Os)=>{"use strict";Os.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))}});var _i=N((sg,Rs)=>{"use strict";Rs.exports=function(){function e(t,r,n,i,o){return t<r||n<r?t>n?n+1:t+1:i===o?r:r+1}return c(e,"_min"),function(t,r){if(t===r)return 0;if(t.length>r.length){var n=t;t=r,r=n}for(var i=t.length,o=r.length;i>0&&t.charCodeAt(i-1)===r.charCodeAt(o-1);)i--,o--;for(var s=0;s<i&&t.charCodeAt(s)===r.charCodeAt(s);)s++;if(i-=s,o-=s,i===0||o<3)return o;var a=0,u,l,p,f,d,m,h,g,x,y,w,b,E=[];for(u=0;u<i;u++)E.push(u+1),E.push(t.charCodeAt(s+u));for(var v=E.length-1;a<o-3;)for(x=r.charCodeAt(s+(l=a)),y=r.charCodeAt(s+(p=a+1)),w=r.charCodeAt(s+(f=a+2)),b=r.charCodeAt(s+(d=a+3)),m=a+=4,u=0;u<v;u+=2)h=E[u],g=E[u+1],l=e(h,l,p,x,g),p=e(l,p,f,y,g),f=e(p,f,d,w,g),m=e(f,d,m,b,g),E[u]=m,d=f,f=p,p=l,l=h;for(;a<o;)for(x=r.charCodeAt(s+(l=a)),m=++a,u=0;u<v;u+=2)h=E[u],E[u]=m=e(h,l,m,x,E[u+1]),l=h;return m}}()});var $s=N((Pg,Ls)=>{var Pt=1e3,Ct=Pt*60,St=Ct*60,st=St*24,ip=st*7,op=st*365.25;Ls.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return sp(e);if(r==="number"&&isFinite(e))return t.long?cp(e):ap(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function sp(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*op;case"weeks":case"week":case"w":return r*ip;case"days":case"day":case"d":return r*st;case"hours":case"hour":case"hrs":case"hr":case"h":return r*St;case"minutes":case"minute":case"mins":case"min":case"m":return r*Ct;case"seconds":case"second":case"secs":case"sec":case"s":return r*Pt;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}c(sp,"parse");function ap(e){var t=Math.abs(e);return t>=st?Math.round(e/st)+"d":t>=St?Math.round(e/St)+"h":t>=Ct?Math.round(e/Ct)+"m":t>=Pt?Math.round(e/Pt)+"s":e+"ms"}c(ap,"fmtShort");function cp(e){var t=Math.abs(e);return t>=st?yn(e,t,st,"day"):t>=St?yn(e,t,St,"hour"):t>=Ct?yn(e,t,Ct,"minute"):t>=Pt?yn(e,t,Pt,"second"):e+" ms"}c(cp,"fmtLong");function yn(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}c(yn,"plural")});var Mi=N((Sg,js)=>{function up(e){r.debug=r,r.default=r,r.coerce=u,r.disable=o,r.enable=i,r.enabled=s,r.humanize=$s(),r.destroy=l,Object.keys(e).forEach(p=>{r[p]=e[p]}),r.names=[],r.skips=[],r.formatters={};function t(p){let f=0;for(let d=0;d<p.length;d++)f=(f<<5)-f+p.charCodeAt(d),f|=0;return r.colors[Math.abs(f)%r.colors.length]}c(t,"selectColor"),r.selectColor=t;function r(p){let f,d=null,m,h;function g(...x){if(!g.enabled)return;let y=g,w=Number(new Date),b=w-(f||w);y.diff=b,y.prev=f,y.curr=w,f=w,x[0]=r.coerce(x[0]),typeof x[0]!="string"&&x.unshift("%O");let E=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(S,_)=>{if(S==="%%")return"%";E++;let D=r.formatters[_];if(typeof D=="function"){let j=x[E];S=D.call(y,j),x.splice(E,1),E--}return S}),r.formatArgs.call(y,x),(y.log||r.log).apply(y,x)}return c(g,"debug"),g.namespace=p,g.useColors=r.useColors(),g.color=r.selectColor(p),g.extend=n,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(m!==r.namespaces&&(m=r.namespaces,h=r.enabled(p)),h),set:x=>{d=x}}),typeof r.init=="function"&&r.init(g),g}c(r,"createDebug");function n(p,f){let d=r(this.namespace+(typeof f>"u"?":":f)+p);return d.log=this.log,d}c(n,"extend");function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let f,d=(typeof p=="string"?p:"").split(/[\s,]+/),m=d.length;for(f=0;f<m;f++)!d[f]||(p=d[f].replace(/\*/g,".*?"),p[0]==="-"?r.skips.push(new RegExp("^"+p.slice(1)+"$")):r.names.push(new RegExp("^"+p+"$")))}c(i,"enable");function o(){let p=[...r.names.map(a),...r.skips.map(a).map(f=>"-"+f)].join(",");return r.enable(""),p}c(o,"disable");function s(p){if(p[p.length-1]==="*")return!0;let f,d;for(f=0,d=r.skips.length;f<d;f++)if(r.skips[f].test(p))return!1;for(f=0,d=r.names.length;f<d;f++)if(r.names[f].test(p))return!0;return!1}c(s,"enabled");function a(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}c(a,"toNamespace");function u(p){return p instanceof Error?p.stack||p.message:p}c(u,"coerce");function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return c(l,"destroy"),r.enable(r.load()),r}c(up,"setup");js.exports=up});var qs=N((le,bn)=>{le.formatArgs=pp;le.save=fp;le.load=dp;le.useColors=lp;le.storage=mp();le.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();le.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function lp(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}c(lp,"useColors");function pp(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+bn.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}c(pp,"formatArgs");le.log=console.debug||console.log||(()=>{});function fp(e){try{e?le.storage.setItem("debug",e):le.storage.removeItem("debug")}catch{}}c(fp,"save");function dp(){let e;try{e=le.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}c(dp,"load");function mp(){try{return localStorage}catch{}}c(mp,"localstorage");bn.exports=Mi()(le);var{formatters:gp}=bn.exports;gp.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Us=N((K,xn)=>{var hp=require("tty"),En=require("util");K.init=vp;K.log=xp;K.formatArgs=bp;K.save=wp;K.load=Tp;K.useColors=yp;K.destroy=En.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");K.colors=[6,2,3,4,5,1];try{let e=mi();e&&(e.stderr||e).level>=2&&(K.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}K.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function yp(){return"colors"in K.inspectOpts?Boolean(K.inspectOpts.colors):hp.isatty(process.stderr.fd)}c(yp,"useColors");function bp(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${t} \x1B[0m`;e[0]=o+e[0].split(`
`).join(`
`+o),e.push(i+"m+"+xn.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Ep()+t+" "+e[0]}c(bp,"formatArgs");function Ep(){return K.inspectOpts.hideDate?"":new Date().toISOString()+" "}c(Ep,"getDate");function xp(...e){return process.stderr.write(En.format(...e)+`
`)}c(xp,"log");function wp(e){e?process.env.DEBUG=e:delete process.env.DEBUG}c(wp,"save");function Tp(){return process.env.DEBUG}c(Tp,"load");function vp(e){e.inspectOpts={};let t=Object.keys(K.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=K.inspectOpts[t[r]]}c(vp,"init");xn.exports=Mi()(K);var{formatters:Bs}=xn.exports;Bs.o=function(e){return this.inspectOpts.colors=this.useColors,En.inspect(e,this.inspectOpts).split(`
`).map(t=>t.trim()).join(" ")};Bs.O=function(e){return this.inspectOpts.colors=this.useColors,En.inspect(e,this.inspectOpts)}});var Vs=N((Ig,Oi)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Oi.exports=qs():Oi.exports=Us()});var ea=N((Oh,Zs)=>{"use strict";Zs.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var Pn=N((Rh,ta)=>{"use strict";var jp=ea();ta.exports=e=>typeof e=="string"?e.replace(jp(),""):e});var Fa=N((CE,Pf)=>{Pf.exports={name:"dotenv",version:"16.0.3",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{require:"./lib/main.js",types:"./lib/main.d.ts",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard","lint-readme":"standard-markdown",pretest:"npm run lint && npm run dts-check",test:"tap tests/*.js --100 -Rspec",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^17.0.9",decache:"^4.6.1",dtslint:"^3.7.0",sinon:"^12.0.1",standard:"^16.0.4","standard-markdown":"^7.1.0","standard-version":"^9.3.2",tap:"^15.1.6",tar:"^6.1.11",typescript:"^4.5.4"},engines:{node:">=12"}}});var La=N((SE,kn)=>{var Cf=require("fs"),ka=require("path"),Sf=require("os"),Mf=Fa(),Of=Mf.version,Rf=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function If(e){let t={},r=e.toString();r=r.replace(/\r\n?/mg,`
`);let n;for(;(n=Rf.exec(r))!=null;){let i=n[1],o=n[2]||"";o=o.trim();let s=o[0];o=o.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),s==='"'&&(o=o.replace(/\\n/g,`
`),o=o.replace(/\\r/g,"\r")),t[i]=o}return t}c(If,"parse");function Xi(e){console.log(`[dotenv@${Of}][DEBUG] ${e}`)}c(Xi,"_log");function Df(e){return e[0]==="~"?ka.join(Sf.homedir(),e.slice(1)):e}c(Df,"_resolveHome");function Nf(e){let t=ka.resolve(process.cwd(),".env"),r="utf8",n=Boolean(e&&e.debug),i=Boolean(e&&e.override);e&&(e.path!=null&&(t=Df(e.path)),e.encoding!=null&&(r=e.encoding));try{let o=Fn.parse(Cf.readFileSync(t,{encoding:r}));return Object.keys(o).forEach(function(s){Object.prototype.hasOwnProperty.call(process.env,s)?(i===!0&&(process.env[s]=o[s]),n&&Xi(i===!0?`"${s}" is already defined in \`process.env\` and WAS overwritten`:`"${s}" is already defined in \`process.env\` and was NOT overwritten`)):process.env[s]=o[s]}),{parsed:o}}catch(o){return n&&Xi(`Failed to load ${t} ${o.message}`),{error:o}}}c(Nf,"config");var Fn={config:Nf,parse:If};kn.exports.config=Fn.config;kn.exports.parse=Fn.parse;kn.exports=Fn});var Va=N(($E,Ua)=>{var ro=Symbol("arg flag"),oe=class extends Error{constructor(t,r){super(t),this.name="ArgError",this.code=r,Object.setPrototypeOf(this,oe.prototype)}};c(oe,"ArgError");function Or(e,{argv:t=process.argv.slice(2),permissive:r=!1,stopAtPositional:n=!1}={}){if(!e)throw new oe("argument specification object is required","ARG_CONFIG_NO_SPEC");let i={_:[]},o={},s={};for(let a of Object.keys(e)){if(!a)throw new oe("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY");if(a[0]!=="-")throw new oe(`argument key must start with '-' but found: '${a}'`,"ARG_CONFIG_NONOPT_KEY");if(a.length===1)throw new oe(`argument key must have a name; singular '-' keys are not allowed: ${a}`,"ARG_CONFIG_NONAME_KEY");if(typeof e[a]=="string"){o[a]=e[a];continue}let u=e[a],l=!1;if(Array.isArray(u)&&u.length===1&&typeof u[0]=="function"){let[p]=u;u=c((f,d,m=[])=>(m.push(p(f,d,m[m.length-1])),m),"type"),l=p===Boolean||p[ro]===!0}else if(typeof u=="function")l=u===Boolean||u[ro]===!0;else throw new oe(`type missing or not a function or valid array type: ${a}`,"ARG_CONFIG_VAD_TYPE");if(a[1]!=="-"&&a.length>2)throw new oe(`short argument keys (with a single hyphen) must have only one character: ${a}`,"ARG_CONFIG_SHORTOPT_TOOLONG");s[a]=[u,l]}for(let a=0,u=t.length;a<u;a++){let l=t[a];if(n&&i._.length>0){i._=i._.concat(t.slice(a));break}if(l==="--"){i._=i._.concat(t.slice(a+1));break}if(l.length>1&&l[0]==="-"){let p=l[1]==="-"||l.length===2?[l]:l.slice(1).split("").map(f=>`-${f}`);for(let f=0;f<p.length;f++){let d=p[f],[m,h]=d[1]==="-"?d.split(/=(.*)/,2):[d,void 0],g=m;for(;g in o;)g=o[g];if(!(g in s))if(r){i._.push(d);continue}else throw new oe(`unknown or unexpected option: ${m}`,"ARG_UNKNOWN_OPTION");let[x,y]=s[g];if(!y&&f+1<p.length)throw new oe(`option requires argument (but was followed by another short argument): ${m}`,"ARG_MISSING_REQUIRED_SHORTARG");if(y)i[g]=x(!0,g,i[g]);else if(h===void 0){if(t.length<a+2||t[a+1].length>1&&t[a+1][0]==="-"&&!(t[a+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(x===Number||typeof BigInt<"u"&&x===BigInt))){let w=m===g?"":` (alias for ${g})`;throw new oe(`option requires argument: ${m}${w}`,"ARG_MISSING_REQUIRED_LONGARG")}i[g]=x(t[a+1],g,i[g]),++a}else i[g]=x(h,g,i[g])}}else i._.push(l)}return i}c(Or,"arg");Or.flag=e=>(e[ro]=!0,e);Or.COUNT=Or.flag((e,t,r)=>(r||0)+1);Or.ArgError=oe;Ua.exports=Or});var Ka=N((qE,Ga)=>{"use strict";Ga.exports=e=>{let t=e.match(/^[ \t]*(?=\S)/gm);return t?t.reduce((r,n)=>Math.min(r,n.length),1/0):0}});var no=N((BE,Ha)=>{"use strict";var $f=Ka();Ha.exports=e=>{let t=$f(e);if(t===0)return e;let r=new RegExp(`^[ \\t]{${t}}`,"gm");return e.replace(r,"")}});var za=N((po,fo)=>{(function(e,t){typeof require=="function"&&typeof po=="object"&&typeof fo=="object"?fo.exports=t():e.pluralize=t()})(po,function(){var e=[],t=[],r={},n={},i={};function o(m){return typeof m=="string"?new RegExp("^"+m+"$","i"):m}c(o,"sanitizeRule");function s(m,h){return m===h?h:m===m.toLowerCase()?h.toLowerCase():m===m.toUpperCase()?h.toUpperCase():m[0]===m[0].toUpperCase()?h.charAt(0).toUpperCase()+h.substr(1).toLowerCase():h.toLowerCase()}c(s,"restoreCase");function a(m,h){return m.replace(/\$(\d{1,2})/g,function(g,x){return h[x]||""})}c(a,"interpolate");function u(m,h){return m.replace(h[0],function(g,x){var y=a(h[1],arguments);return s(g===""?m[x-1]:g,y)})}c(u,"replace");function l(m,h,g){if(!m.length||r.hasOwnProperty(m))return h;for(var x=g.length;x--;){var y=g[x];if(y[0].test(h))return u(h,y)}return h}c(l,"sanitizeWord");function p(m,h,g){return function(x){var y=x.toLowerCase();return h.hasOwnProperty(y)?s(x,y):m.hasOwnProperty(y)?s(x,m[y]):l(y,x,g)}}c(p,"replaceWord");function f(m,h,g,x){return function(y){var w=y.toLowerCase();return h.hasOwnProperty(w)?!0:m.hasOwnProperty(w)?!1:l(w,w,g)===w}}c(f,"checkWord");function d(m,h,g){var x=h===1?d.singular(m):d.plural(m);return(g?h+" ":"")+x}return c(d,"pluralize"),d.plural=p(i,n,e),d.isPlural=f(i,n,e),d.singular=p(n,i,t),d.isSingular=f(n,i,t),d.addPluralRule=function(m,h){e.push([o(m),h])},d.addSingularRule=function(m,h){t.push([o(m),h])},d.addUncountableRule=function(m){if(typeof m=="string"){r[m.toLowerCase()]=!0;return}d.addPluralRule(m,"$0"),d.addSingularRule(m,"$0")},d.addIrregularRule=function(m,h){h=h.toLowerCase(),m=m.toLowerCase(),i[m]=h,n[h]=m},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(m){return d.addIrregularRule(m[0],m[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(m){return d.addPluralRule(m[0],m[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(m){return d.addSingularRule(m[0],m[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(d.addUncountableRule),d})});var wc=N((pw,xc)=>{"use strict";xc.exports=e=>Object.prototype.toString.call(e)==="[object RegExp]"});var vc=N((fw,Tc)=>{"use strict";Tc.exports=e=>{let t=typeof e;return e!==null&&(t==="object"||t==="function")}});var Ac=N(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=e=>Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIs