@gadgetinc/ggt 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/{add-FTY6SEGW.js → add-Q2YM34TO.js} +2 -2
  2. package/dist/chunk-56W5U2JG.js +2 -0
  3. package/dist/{chunk-IOJ2LNUK.js.map → chunk-56W5U2JG.js.map} +4 -4
  4. package/dist/{chunk-VF4CDM7R.js → chunk-BWIVLBZY.js} +2 -2
  5. package/dist/{chunk-ZZIIWV6T.js → chunk-GKAC6HNS.js} +2 -2
  6. package/dist/{chunk-KXSKHE3X.js → chunk-HVJWUXJL.js} +28 -28
  7. package/dist/{chunk-KXSKHE3X.js.map → chunk-HVJWUXJL.js.map} +4 -4
  8. package/dist/{chunk-LMY5YGE5.js → chunk-JOWMHVPF.js} +2 -2
  9. package/dist/chunk-JOWMHVPF.js.map +7 -0
  10. package/dist/{chunk-O3D5GVFK.js → chunk-KP35JQJ7.js} +2 -2
  11. package/dist/{chunk-DKP76YB2.js → chunk-L4OG4HIV.js} +2 -2
  12. package/dist/{chunk-FLX4WQHD.js → chunk-M5HB5SEG.js} +2 -2
  13. package/dist/chunk-O63J4YN5.js +2 -0
  14. package/dist/{chunk-YB7NQA2X.js → chunk-OTYPO33S.js} +2 -2
  15. package/dist/chunk-P7E7PAMQ.js +2 -0
  16. package/dist/{chunk-B2QVXD4S.js.map → chunk-P7E7PAMQ.js.map} +4 -4
  17. package/dist/{chunk-SWVUOPJX.js → chunk-PRAA2FG3.js} +2 -2
  18. package/dist/chunk-YINVPQ2V.js +6 -0
  19. package/dist/chunk-YINVPQ2V.js.map +7 -0
  20. package/dist/chunk-ZCRXH55K.js +2 -0
  21. package/dist/chunk-ZCRXH55K.js.map +7 -0
  22. package/dist/chunk-ZN6HRN6U.js +50 -0
  23. package/dist/chunk-ZN6HRN6U.js.map +7 -0
  24. package/dist/{deploy-PQZW3X7G.js → deploy-T5ZUHHLZ.js} +2 -2
  25. package/dist/{dev-27YLA4GG.js → dev-5CVDVGE3.js} +2 -2
  26. package/dist/esm-BEXWGPJL.js +37 -0
  27. package/dist/esm-BEXWGPJL.js.map +7 -0
  28. package/dist/list-BV7QOWA2.js +11 -0
  29. package/dist/list-BV7QOWA2.js.map +7 -0
  30. package/dist/login-M6YPWB3H.js +2 -0
  31. package/dist/logout-QLW45MMK.js +7 -0
  32. package/dist/main.js +7 -7
  33. package/dist/main.js.map +3 -3
  34. package/dist/{open-QPMDV7ZL.js → open-TKGHV5HA.js} +2 -2
  35. package/dist/{pull-3DUIUAIP.js → pull-RRR7ISUG.js} +2 -2
  36. package/dist/push-KUORLNK6.js +2 -0
  37. package/dist/{status-N3VF5MBE.js → status-BKCHGWJO.js} +2 -2
  38. package/dist/{version-EGM7PLFX.js → version-LUMBTKD4.js} +2 -2
  39. package/dist/{whoami-ES6XN3RI.js → whoami-ONJCZDTX.js} +2 -2
  40. package/package.json +24 -22
  41. package/dist/chunk-6BALPDKR.js +0 -2
  42. package/dist/chunk-6BALPDKR.js.map +0 -7
  43. package/dist/chunk-B2QVXD4S.js +0 -2
  44. package/dist/chunk-IOJ2LNUK.js +0 -2
  45. package/dist/chunk-LMY5YGE5.js.map +0 -7
  46. package/dist/chunk-P5UB5UJ6.js +0 -6
  47. package/dist/chunk-P5UB5UJ6.js.map +0 -7
  48. package/dist/chunk-RLMEA3WE.js +0 -2
  49. package/dist/chunk-WCP5LTNQ.js +0 -50
  50. package/dist/chunk-WCP5LTNQ.js.map +0 -7
  51. package/dist/esm-RPCDY7LG.js +0 -36
  52. package/dist/esm-RPCDY7LG.js.map +0 -7
  53. package/dist/list-OTGSESA6.js +0 -11
  54. package/dist/list-OTGSESA6.js.map +0 -7
  55. package/dist/login-YOXXXAJN.js +0 -2
  56. package/dist/logout-5YOHPXGR.js +0 -7
  57. package/dist/push-RS6QHKDD.js +0 -2
  58. /package/dist/{add-FTY6SEGW.js.map → add-Q2YM34TO.js.map} +0 -0
  59. /package/dist/{chunk-VF4CDM7R.js.map → chunk-BWIVLBZY.js.map} +0 -0
  60. /package/dist/{chunk-ZZIIWV6T.js.map → chunk-GKAC6HNS.js.map} +0 -0
  61. /package/dist/{chunk-O3D5GVFK.js.map → chunk-KP35JQJ7.js.map} +0 -0
  62. /package/dist/{chunk-DKP76YB2.js.map → chunk-L4OG4HIV.js.map} +0 -0
  63. /package/dist/{chunk-FLX4WQHD.js.map → chunk-M5HB5SEG.js.map} +0 -0
  64. /package/dist/{chunk-RLMEA3WE.js.map → chunk-O63J4YN5.js.map} +0 -0
  65. /package/dist/{chunk-YB7NQA2X.js.map → chunk-OTYPO33S.js.map} +0 -0
  66. /package/dist/{chunk-SWVUOPJX.js.map → chunk-PRAA2FG3.js.map} +0 -0
  67. /package/dist/{deploy-PQZW3X7G.js.map → deploy-T5ZUHHLZ.js.map} +0 -0
  68. /package/dist/{dev-27YLA4GG.js.map → dev-5CVDVGE3.js.map} +0 -0
  69. /package/dist/{login-YOXXXAJN.js.map → login-M6YPWB3H.js.map} +0 -0
  70. /package/dist/{logout-5YOHPXGR.js.map → logout-QLW45MMK.js.map} +0 -0
  71. /package/dist/{open-QPMDV7ZL.js.map → open-TKGHV5HA.js.map} +0 -0
  72. /package/dist/{pull-3DUIUAIP.js.map → pull-RRR7ISUG.js.map} +0 -0
  73. /package/dist/{push-RS6QHKDD.js.map → push-KUORLNK6.js.map} +0 -0
  74. /package/dist/{status-N3VF5MBE.js.map → status-BKCHGWJO.js.map} +0 -0
  75. /package/dist/{version-EGM7PLFX.js.map → version-LUMBTKD4.js.map} +0 -0
  76. /package/dist/{whoami-ES6XN3RI.js.map → whoami-ONJCZDTX.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{c as Z}from"./chunk-YB7NQA2X.js";import{a as uo,b as co}from"./chunk-P5UB5UJ6.js";import{a as Br,b as Nr,i as Gr}from"./chunk-VF4CDM7R.js";import{a as mt,c as jr,f as _t,g as kt,j as Bt,l as lo,m as Dr,o as be,p as tt,t as Mr,u as we,v as _e,w as Ir,z as Tt}from"./chunk-WCP5LTNQ.js";import{a as Lr}from"./chunk-SWVUOPJX.js";import{$ as X,D as bt,K as wt,P as ve,R as Fr,U as It,X as $r,Z as S,_ as A,b as W,e as J,g as Cr,h as Sr,l as xr,m as Er,t as Or,u as Pr,v as Rr,y as Ar,z as ao}from"./chunk-KXSKHE3X.js";import{a as oo}from"./chunk-B2QVXD4S.js";import{a as n,b as ye,d as it,f as ft,h as T}from"./chunk-IOJ2LNUK.js";var Wr=it(N=>{"use strict";T();var mo=N&&N.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(N,"__esModule",{value:!0});var ho=ye("fs"),go=mo(co()),ht=go.default("@kwsites/file-exists");function yo(t,e,r){ht("checking %s",t);try{let s=ho.statSync(t);return s.isFile()&&e?(ht("[OK] path represents a file"),!0):s.isDirectory()&&r?(ht("[OK] path represents a directory"),!0):(ht("[FAIL] path represents something other than a file or directory"),!1)}catch(s){if(s.code==="ENOENT")return ht("[FAIL] path is not accessible: %o",s),!1;throw ht("[FATAL] %o",s),s}}n(yo,"check");function vo(t,e=N.READABLE){return yo(t,(e&N.FILE)>0,(e&N.FOLDER)>0)}n(vo,"exists");N.exists=vo;N.FILE=1;N.FOLDER=2;N.READABLE=N.FILE+N.FOLDER});var Qr=it(Gt=>{"use strict";T();function bo(t){for(var e in t)Gt.hasOwnProperty(e)||(Gt[e]=t[e])}n(bo,"__export");Object.defineProperty(Gt,"__esModule",{value:!0});bo(Wr())});var xe=it((Nl,Hr)=>{T();function wo(t){r.debug=r,r.default=r,r.coerce=c,r.disable=o,r.enable=i,r.enabled=a,r.humanize=oo(),r.destroy=h,Object.keys(t).forEach(p=>{r[p]=t[p]}),r.names=[],r.skips=[],r.formatters={};function e(p){let m=0;for(let d=0;d<p.length;d++)m=(m<<5)-m+p.charCodeAt(d),m|=0;return r.colors[Math.abs(m)%r.colors.length]}n(e,"selectColor"),r.selectColor=e;function r(p){let m,d=null,g,B;function q(...D){if(!q.enabled)return;let K=q,lt=Number(new Date),me=lt-(m||lt);K.diff=me,K.prev=m,K.curr=lt,m=lt,D[0]=r.coerce(D[0]),typeof D[0]!="string"&&D.unshift("%O");let pt=0;D[0]=D[0].replace(/%([a-zA-Z%])/g,(vt,he)=>{if(vt==="%%")return"%";pt++;let Mt=r.formatters[he];if(typeof Mt=="function"){let de=D[pt];vt=Mt.call(K,de),D.splice(pt,1),pt--}return vt}),r.formatArgs.call(K,D),(K.log||r.log).apply(K,D)}return n(q,"debug"),q.namespace=p,q.useColors=r.useColors(),q.color=r.selectColor(p),q.extend=s,q.destroy=r.destroy,Object.defineProperty(q,"enabled",{enumerable:!0,configurable:!1,get:n(()=>d!==null?d:(g!==r.namespaces&&(g=r.namespaces,B=r.enabled(p)),B),"get"),set:n(D=>{d=D},"set")}),typeof r.init=="function"&&r.init(q),q}n(r,"createDebug");function s(p,m){let d=r(this.namespace+(typeof m>"u"?":":m)+p);return d.log=this.log,d}n(s,"extend");function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let m,d=(typeof p=="string"?p:"").split(/[\s,]+/),g=d.length;for(m=0;m<g;m++)d[m]&&(p=d[m].replace(/\*/g,".*?"),p[0]==="-"?r.skips.push(new RegExp("^"+p.slice(1)+"$")):r.names.push(new RegExp("^"+p+"$")))}n(i,"enable");function o(){let p=[...r.names.map(u),...r.skips.map(u).map(m=>"-"+m)].join(",");return r.enable(""),p}n(o,"disable");function a(p){if(p[p.length-1]==="*")return!0;let m,d;for(m=0,d=r.skips.length;m<d;m++)if(r.skips[m].test(p))return!1;for(m=0,d=r.names.length;m<d;m++)if(r.names[m].test(p))return!0;return!1}n(a,"enabled");function u(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}n(u,"toNamespace");function c(p){return p instanceof Error?p.stack||p.message:p}n(c,"coerce");function h(){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 n(h,"destroy"),r.enable(r.load()),r}n(wo,"setup");Hr.exports=wo});var Yr=it((G,Ut)=>{T();G.formatArgs=ko;G.save=To;G.load=Co;G.useColors=_o;G.storage=So();G.destroy=(()=>{let t=!1;return()=>{t||(t=!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`."))}})();G.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 _o(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return 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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}n(_o,"useColors");function ko(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Ut.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(s=r))}),t.splice(s,0,e)}n(ko,"formatArgs");G.log=console.debug||console.log||(()=>{});function To(t){try{t?G.storage.setItem("debug",t):G.storage.removeItem("debug")}catch{}}n(To,"save");function Co(){let t;try{t=G.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}n(Co,"load");function So(){try{return localStorage}catch{}}n(So,"localstorage");Ut.exports=xe()(G);var{formatters:xo}=Ut.exports;xo.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Xr=it((R,Jt)=>{T();var Eo=ye("tty"),qt=ye("util");R.init=jo;R.log=Ao;R.formatArgs=Po;R.save=Fo;R.load=$o;R.useColors=Oo;R.destroy=qt.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");R.colors=[6,2,3,4,5,1];try{let t=uo();t&&(t.stderr||t).level>=2&&(R.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{}R.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),s=process.env[e];return/^(yes|on|true|enabled)$/i.test(s)?s=!0:/^(no|off|false|disabled)$/i.test(s)?s=!1:s==="null"?s=null:s=Number(s),t[r]=s,t},{});function Oo(){return"colors"in R.inspectOpts?!!R.inspectOpts.colors:Eo.isatty(process.stderr.fd)}n(Oo,"useColors");function Po(t){let{namespace:e,useColors:r}=this;if(r){let s=this.color,i="\x1B[3"+(s<8?s:"8;5;"+s),o=` ${i};1m${e} \x1B[0m`;t[0]=o+t[0].split(`
1
+ import{c as Z}from"./chunk-OTYPO33S.js";import{a as uo,b as co}from"./chunk-YINVPQ2V.js";import{a as Br,b as Nr,i as Gr}from"./chunk-BWIVLBZY.js";import{a as mt,c as jr,f as _t,g as kt,j as Bt,l as lo,m as Dr,o as be,p as tt,t as Mr,u as we,v as _e,w as Ir,z as Tt}from"./chunk-ZN6HRN6U.js";import{a as Lr}from"./chunk-PRAA2FG3.js";import{$ as X,D as bt,K as wt,P as ve,R as Fr,U as It,X as $r,Z as S,_ as A,b as W,e as J,g as Cr,h as Sr,l as xr,m as Er,t as Or,u as Pr,v as Rr,y as Ar,z as ao}from"./chunk-HVJWUXJL.js";import{a as oo}from"./chunk-P7E7PAMQ.js";import{a as n,b as ye,d as it,f as ft,h as T}from"./chunk-56W5U2JG.js";var Wr=it(N=>{"use strict";T();var mo=N&&N.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(N,"__esModule",{value:!0});var ho=ye("fs"),go=mo(co()),ht=go.default("@kwsites/file-exists");function yo(t,e,r){ht("checking %s",t);try{let s=ho.statSync(t);return s.isFile()&&e?(ht("[OK] path represents a file"),!0):s.isDirectory()&&r?(ht("[OK] path represents a directory"),!0):(ht("[FAIL] path represents something other than a file or directory"),!1)}catch(s){if(s.code==="ENOENT")return ht("[FAIL] path is not accessible: %o",s),!1;throw ht("[FATAL] %o",s),s}}n(yo,"check");function vo(t,e=N.READABLE){return yo(t,(e&N.FILE)>0,(e&N.FOLDER)>0)}n(vo,"exists");N.exists=vo;N.FILE=1;N.FOLDER=2;N.READABLE=N.FILE+N.FOLDER});var Qr=it(Gt=>{"use strict";T();function bo(t){for(var e in t)Gt.hasOwnProperty(e)||(Gt[e]=t[e])}n(bo,"__export");Object.defineProperty(Gt,"__esModule",{value:!0});bo(Wr())});var xe=it((Nl,Hr)=>{T();function wo(t){r.debug=r,r.default=r,r.coerce=c,r.disable=o,r.enable=i,r.enabled=a,r.humanize=oo(),r.destroy=h,Object.keys(t).forEach(p=>{r[p]=t[p]}),r.names=[],r.skips=[],r.formatters={};function e(p){let m=0;for(let d=0;d<p.length;d++)m=(m<<5)-m+p.charCodeAt(d),m|=0;return r.colors[Math.abs(m)%r.colors.length]}n(e,"selectColor"),r.selectColor=e;function r(p){let m,d=null,g,B;function q(...D){if(!q.enabled)return;let K=q,lt=Number(new Date),me=lt-(m||lt);K.diff=me,K.prev=m,K.curr=lt,m=lt,D[0]=r.coerce(D[0]),typeof D[0]!="string"&&D.unshift("%O");let pt=0;D[0]=D[0].replace(/%([a-zA-Z%])/g,(vt,he)=>{if(vt==="%%")return"%";pt++;let Mt=r.formatters[he];if(typeof Mt=="function"){let de=D[pt];vt=Mt.call(K,de),D.splice(pt,1),pt--}return vt}),r.formatArgs.call(K,D),(K.log||r.log).apply(K,D)}return n(q,"debug"),q.namespace=p,q.useColors=r.useColors(),q.color=r.selectColor(p),q.extend=s,q.destroy=r.destroy,Object.defineProperty(q,"enabled",{enumerable:!0,configurable:!1,get:n(()=>d!==null?d:(g!==r.namespaces&&(g=r.namespaces,B=r.enabled(p)),B),"get"),set:n(D=>{d=D},"set")}),typeof r.init=="function"&&r.init(q),q}n(r,"createDebug");function s(p,m){let d=r(this.namespace+(typeof m>"u"?":":m)+p);return d.log=this.log,d}n(s,"extend");function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let m,d=(typeof p=="string"?p:"").split(/[\s,]+/),g=d.length;for(m=0;m<g;m++)d[m]&&(p=d[m].replace(/\*/g,".*?"),p[0]==="-"?r.skips.push(new RegExp("^"+p.slice(1)+"$")):r.names.push(new RegExp("^"+p+"$")))}n(i,"enable");function o(){let p=[...r.names.map(u),...r.skips.map(u).map(m=>"-"+m)].join(",");return r.enable(""),p}n(o,"disable");function a(p){if(p[p.length-1]==="*")return!0;let m,d;for(m=0,d=r.skips.length;m<d;m++)if(r.skips[m].test(p))return!1;for(m=0,d=r.names.length;m<d;m++)if(r.names[m].test(p))return!0;return!1}n(a,"enabled");function u(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}n(u,"toNamespace");function c(p){return p instanceof Error?p.stack||p.message:p}n(c,"coerce");function h(){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 n(h,"destroy"),r.enable(r.load()),r}n(wo,"setup");Hr.exports=wo});var Yr=it((G,Ut)=>{T();G.formatArgs=ko;G.save=To;G.load=Co;G.useColors=_o;G.storage=So();G.destroy=(()=>{let t=!1;return()=>{t||(t=!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`."))}})();G.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 _o(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return 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&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}n(_o,"useColors");function ko(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Ut.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(s=r))}),t.splice(s,0,e)}n(ko,"formatArgs");G.log=console.debug||console.log||(()=>{});function To(t){try{t?G.storage.setItem("debug",t):G.storage.removeItem("debug")}catch{}}n(To,"save");function Co(){let t;try{t=G.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}n(Co,"load");function So(){try{return localStorage}catch{}}n(So,"localstorage");Ut.exports=xe()(G);var{formatters:xo}=Ut.exports;xo.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var Xr=it((R,Jt)=>{T();var Eo=ye("tty"),qt=ye("util");R.init=jo;R.log=Ao;R.formatArgs=Po;R.save=Fo;R.load=$o;R.useColors=Oo;R.destroy=qt.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");R.colors=[6,2,3,4,5,1];try{let t=uo();t&&(t.stderr||t).level>=2&&(R.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{}R.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),s=process.env[e];return/^(yes|on|true|enabled)$/i.test(s)?s=!0:/^(no|off|false|disabled)$/i.test(s)?s=!1:s==="null"?s=null:s=Number(s),t[r]=s,t},{});function Oo(){return"colors"in R.inspectOpts?!!R.inspectOpts.colors:Eo.isatty(process.stderr.fd)}n(Oo,"useColors");function Po(t){let{namespace:e,useColors:r}=this;if(r){let s=this.color,i="\x1B[3"+(s<8?s:"8;5;"+s),o=` ${i};1m${e} \x1B[0m`;t[0]=o+t[0].split(`
2
2
  `).join(`
3
3
  `+o),t.push(i+"m+"+Jt.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Ro()+e+" "+t[0]}n(Po,"formatArgs");function Ro(){return R.inspectOpts.hideDate?"":new Date().toISOString()+" "}n(Ro,"getDate");function Ao(...t){return process.stderr.write(qt.formatWithOptions(R.inspectOpts,...t)+`
4
4
  `)}n(Ao,"log");function Fo(t){t?process.env.DEBUG=t:delete process.env.DEBUG}n(Fo,"save");function $o(){return process.env.DEBUG}n($o,"load");function jo(t){t.inspectOpts={};let e=Object.keys(R.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=R.inspectOpts[e[r]]}n(jo,"init");Jt.exports=xe()(R);var{formatters:Kr}=Jt.exports;Kr.o=function(t){return this.inspectOpts.colors=this.useColors,qt.inspect(t,this.inspectOpts).split(`
@@ -118,4 +118,4 @@ import{c as Z}from"./chunk-YB7NQA2X.js";import{a as uo,b as co}from"./chunk-P5UB
118
118
  • ${u.join(`
119
119
  \u2022 `)}
120
120
  `)},"loadEnvironment"),Wc=n(async(t,{directory:e})=>{try{return await ji(e.path).revparse(["--abbrev-ref","HEAD"])}catch(r){t.log.warn("failed to read git branch",{error:r});return}},"loadBranch"),Qc=J.object({application:J.string(),environment:J.string(),environments:J.record(J.object({filesVersion:J.string()}))}),Hc=J.object({app:J.string(),filesVersion:J.string(),mtime:J.number()}),Yc=J.union([Qc,Hc]),Kc=Yc.transform(t=>"environment"in t?t:{application:t.app,environment:"development",environments:{development:{filesVersion:t.filesVersion}}});export{nl as a,ke as b,sl as c,il as d,ol as e,qr as f,Nt as g,Jr as h,zr as i,fo as j,yl as k,Se as l,mf as m,_r as n,hf as o};
121
- //# sourceMappingURL=chunk-LMY5YGE5.js.map
121
+ //# sourceMappingURL=chunk-JOWMHVPF.js.map