ui-thing 0.0.3

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.
@@ -0,0 +1,19 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Install dependencies
14
+ run: npm install
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ node-version: "18.x"
18
+ - name: Build
19
+ run: npm run format && npm run build
@@ -0,0 +1,236 @@
1
+ # File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2
+ # Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,node,nuxtjs,windows
3
+ # Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,macos,node,nuxtjs,windows
4
+
5
+ ### macOS ###
6
+ # General
7
+ .DS_Store
8
+ .AppleDouble
9
+ .LSOverride
10
+
11
+ # Icon must end with two \r
12
+ Icon
13
+
14
+ # Thumbnails
15
+ ._*
16
+
17
+ # Files that might appear in the root of a volume
18
+ .DocumentRevisions-V100
19
+ .fseventsd
20
+ .Spotlight-V100
21
+ .TemporaryItems
22
+ .Trashes
23
+ .VolumeIcon.icns
24
+ .com.apple.timemachine.donotpresent
25
+
26
+ # Directories potentially created on remote AFP share
27
+ .AppleDB
28
+ .AppleDesktop
29
+ Network Trash Folder
30
+ Temporary Items
31
+ .apdisk
32
+
33
+ ### macOS Patch ###
34
+ # iCloud generated files
35
+ *.icloud
36
+
37
+ ### Node ###
38
+ # Logs
39
+ logs
40
+ *.log
41
+ npm-debug.log*
42
+ yarn-debug.log*
43
+ yarn-error.log*
44
+ lerna-debug.log*
45
+ .pnpm-debug.log*
46
+
47
+ # Diagnostic reports (https://nodejs.org/api/report.html)
48
+ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
49
+
50
+ # Runtime data
51
+ pids
52
+ *.pid
53
+ *.seed
54
+ *.pid.lock
55
+
56
+ # Directory for instrumented libs generated by jscoverage/JSCover
57
+ lib-cov
58
+
59
+ # Coverage directory used by tools like istanbul
60
+ coverage
61
+ *.lcov
62
+
63
+ # nyc test coverage
64
+ .nyc_output
65
+
66
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
67
+ .grunt
68
+
69
+ # Bower dependency directory (https://bower.io/)
70
+ bower_components
71
+
72
+ # node-waf configuration
73
+ .lock-wscript
74
+
75
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
76
+ build/Release
77
+
78
+ # Dependency directories
79
+ node_modules/
80
+ jspm_packages/
81
+
82
+ # Snowpack dependency directory (https://snowpack.dev/)
83
+ web_modules/
84
+
85
+ # TypeScript cache
86
+ *.tsbuildinfo
87
+
88
+ # Optional npm cache directory
89
+ .npm
90
+
91
+ # Optional eslint cache
92
+ .eslintcache
93
+
94
+ # Optional stylelint cache
95
+ .stylelintcache
96
+
97
+ # Microbundle cache
98
+ .rpt2_cache/
99
+ .rts2_cache_cjs/
100
+ .rts2_cache_es/
101
+ .rts2_cache_umd/
102
+
103
+ # Optional REPL history
104
+ .node_repl_history
105
+
106
+ # Output of 'npm pack'
107
+ *.tgz
108
+
109
+ # Yarn Integrity file
110
+ .yarn-integrity
111
+
112
+ # dotenv environment variable files
113
+ .env
114
+ .env.development.local
115
+ .env.test.local
116
+ .env.production.local
117
+ .env.local
118
+
119
+ # parcel-bundler cache (https://parceljs.org/)
120
+ .cache
121
+ .parcel-cache
122
+
123
+ # Next.js build output
124
+ .next
125
+ out
126
+
127
+ # Nuxt.js build / generate output
128
+ .nuxt
129
+ dist
130
+
131
+ # Gatsby files
132
+ .cache/
133
+ # Comment in the public line in if your project uses Gatsby and not Next.js
134
+ # https://nextjs.org/blog/next-9-1#public-directory-support
135
+ # public
136
+
137
+ # vuepress build output
138
+ .vuepress/dist
139
+
140
+ # vuepress v2.x temp and cache directory
141
+ .temp
142
+
143
+ # Docusaurus cache and generated files
144
+ .docusaurus
145
+
146
+ # Serverless directories
147
+ .serverless/
148
+
149
+ # FuseBox cache
150
+ .fusebox/
151
+
152
+ # DynamoDB Local files
153
+ .dynamodb/
154
+
155
+ # TernJS port file
156
+ .tern-port
157
+
158
+ # Stores VSCode versions used for testing VSCode extensions
159
+ .vscode-test
160
+
161
+ # yarn v2
162
+ .yarn/cache
163
+ .yarn/unplugged
164
+ .yarn/build-state.yml
165
+ .yarn/install-state.gz
166
+ .pnp.*
167
+
168
+ ### Node Patch ###
169
+ # Serverless Webpack directories
170
+ .webpack/
171
+
172
+ # Optional stylelint cache
173
+
174
+ # SvelteKit build / generate output
175
+ .svelte-kit
176
+
177
+ ### NuxtJS ###
178
+ # Generated dirs
179
+ .nuxt-*
180
+ .output
181
+ .gen
182
+
183
+ # Node dependencies
184
+ node_modules
185
+
186
+ # System files
187
+
188
+ ### VisualStudioCode ###
189
+ .vscode/*
190
+ !.vscode/settings.json
191
+ !.vscode/tasks.json
192
+ !.vscode/launch.json
193
+ !.vscode/extensions.json
194
+ !.vscode/*.code-snippets
195
+
196
+ # Local History for Visual Studio Code
197
+ .history/
198
+
199
+ # Built Visual Studio Code Extensions
200
+ *.vsix
201
+
202
+ ### VisualStudioCode Patch ###
203
+ # Ignore all local history of files
204
+ .history
205
+ .ionide
206
+
207
+ ### Windows ###
208
+ # Windows thumbnail cache files
209
+ Thumbs.db
210
+ Thumbs.db:encryptable
211
+ ehthumbs.db
212
+ ehthumbs_vista.db
213
+
214
+ # Dump file
215
+ *.stackdump
216
+
217
+ # Folder config file
218
+ [Dd]esktop.ini
219
+
220
+ # Recycle Bin used on file shares
221
+ $RECYCLE.BIN/
222
+
223
+ # Windows Installer files
224
+ *.cab
225
+ *.msi
226
+ *.msix
227
+ *.msm
228
+ *.msp
229
+
230
+ # Windows shortcuts
231
+ *.lnk
232
+
233
+ # End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,node,nuxtjs,windows
234
+
235
+ # Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
236
+
package/.prettierrc ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "arrowParens": "always",
3
+ "endOfLine": "lf",
4
+ "plugins": ["@ianvs/prettier-plugin-sort-imports"],
5
+ "printWidth": 100,
6
+ "semi": true,
7
+ "singleQuote": false,
8
+ "tabWidth": 2,
9
+ "trailingComma": "es5",
10
+ "useTabs": false,
11
+ "importOrder": ["<BUILTIN_MODULES>", "<THIRD_PARTY_MODULES>", "<TYPES>", "", "^[.]"]
12
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,26 @@
1
+ # Changelog
2
+
3
+ ## v0.0.3
4
+
5
+ [compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.2...v0.0.3)
6
+
7
+ ### 🏡 Chore
8
+
9
+ - Update readme ([88be325](https://github.com/BayBreezy/ui-thing-cli/commit/88be325))
10
+ - Change package name ([bd17f8d](https://github.com/BayBreezy/ui-thing-cli/commit/bd17f8d))
11
+ - Set version back to 0.0.2 ([1c7b6b2](https://github.com/BayBreezy/ui-thing-cli/commit/1c7b6b2))
12
+
13
+ ### ❤️ Contributors
14
+
15
+ - Behon Baker <behon.baker@yahoo.com>
16
+
17
+ ## v0.0.2
18
+
19
+ ### 🏡 Chore
20
+
21
+ - Add 1st changeset ([ec0083c](https://github.com/BayBreezy/ui-thing-cli/commit/ec0083c))
22
+ - Add release script ([ea11cae](https://github.com/BayBreezy/ui-thing-cli/commit/ea11cae))
23
+
24
+ ### ❤️ Contributors
25
+
26
+ - Behon Baker <behon.baker@yahoo.com>
package/README.md ADDED
@@ -0,0 +1,67 @@
1
+ # UI Thing CLI
2
+
3
+ ## Credits
4
+
5
+ - shadcn/ui
6
+ - Radiv-Vue
7
+ - TailwindCSS
8
+ - Nuxt
9
+ - Nuxt UI
10
+
11
+ Thanks to the maintainers of the other third party libraries used in this project.
12
+
13
+ ## Getting Started
14
+
15
+ - Create a Nuxt 3 project
16
+ - Install the dependencies
17
+ - Run the init command
18
+
19
+ ```bash
20
+ npx ui-thing@latest init
21
+ ```
22
+
23
+ - Start the dev server
24
+
25
+ ```bash
26
+ npm run dev
27
+ ```
28
+
29
+ - Add components to your project with the `add` command
30
+
31
+ ```bash
32
+ npx ui-thing@latest add
33
+ ```
34
+
35
+ ## Commands
36
+
37
+ ### `init`
38
+
39
+ ```bash
40
+ npx ui-thing@latest init
41
+ ```
42
+
43
+ This command will install the dependencies and add the required configuration to your project.
44
+
45
+ ### `add`
46
+
47
+ ```bash
48
+ npx ui-thing@latest add
49
+ ```
50
+
51
+ This command will add the components to your project.
52
+
53
+ ### `theme`
54
+
55
+ ```bash
56
+ npx ui-thing@latest theme
57
+ ```
58
+
59
+ This command will add the theme to your project.
60
+
61
+ ### `prettier`
62
+
63
+ ```bash
64
+ npx ui-thing@latest prettier
65
+ ```
66
+
67
+ This command will add the prettier configuration to your project.
@@ -0,0 +1,24 @@
1
+ var DD=Object.create;var $=Object.defineProperty;var uD=Object.getOwnPropertyDescriptor;var FD=Object.getOwnPropertyNames;var tD=Object.getPrototypeOf,eD=Object.prototype.hasOwnProperty;var HD=(t,u)=>()=>(u||t((u={exports:{}}).exports,u),u.exports);var rD=(t,u,F,r)=>{if(u&&typeof u=="object"||typeof u=="function")for(let e of FD(u))!eD.call(t,e)&&e!==F&&$(t,e,{get:()=>u[e],enumerable:!(r=uD(u,e))||r.enumerable});return t};var KD=(t,u,F)=>(F=t!=null?DD(tD(t)):{},rD(u||!t||!t.__esModule?$(F,"default",{value:t,enumerable:!0}):F,t));var C={silent:Number.NEGATIVE_INFINITY,fatal:0,error:0,warn:1,log:2,info:3,success:3,fail:3,ready:3,start:3,box:3,debug:4,trace:5,verbose:Number.POSITIVE_INFINITY},P={silent:{level:-1},fatal:{level:C.fatal},error:{level:C.error},warn:{level:C.warn},log:{level:C.log},info:{level:C.info},success:{level:C.success},fail:{level:C.fail},ready:{level:C.info},start:{level:C.info},box:{level:C.info},debug:{level:C.debug},trace:{level:C.trace},verbose:{level:C.verbose}};function T(t){return t!==null&&typeof t=="object"}function R(t,u,F=".",r){if(!T(u))return R(t,{},F,r);let e=Object.assign({},u);for(let o in t){if(o==="__proto__"||o==="constructor")continue;let D=t[o];D!=null&&(r&&r(e,o,D,F)||(Array.isArray(D)&&Array.isArray(e[o])?e[o]=[...D,...e[o]]:T(D)&&T(e[o])?e[o]=R(D,e[o],(F?`${F}.`:"")+o.toString(),r):e[o]=D))}return e}function oD(t){return(...u)=>u.reduce((F,r)=>R(F,r,"",t),{})}var nD=oD();function sD(t){return Object.prototype.toString.call(t)==="[object Object]"}function CD(t){return!(!sD(t)||!t.message&&!t.args||t.stack)}var S=!1,k=[],E=class t{constructor(u={}){let F=u.types||P;this.options=nD({...u,defaults:{...u.defaults},level:b(u.level,F),reporters:[...u.reporters||[]]},{types:P,throttle:1e3,throttleMin:5,formatOptions:{date:!0,colors:!1,compact:!0}});for(let r in F){let e={type:r,...this.options.defaults,...F[r]};this[r]=this._wrapLogFn(e),this[r].raw=this._wrapLogFn(e,!0)}this.options.mockFn&&this.mockTypes(),this._lastLog={}}get level(){return this.options.level}set level(u){this.options.level=b(u,this.options.types,this.options.level)}prompt(u,F){if(!this.options.prompt)throw new Error("prompt is not supported!");return this.options.prompt(u,F)}create(u){let F=new t({...this.options,...u});return this._mockFn&&F.mockTypes(this._mockFn),F}withDefaults(u){return this.create({...this.options,defaults:{...this.options.defaults,...u}})}withTag(u){return this.withDefaults({tag:this.options.defaults.tag?this.options.defaults.tag+":"+u:u})}addReporter(u){return this.options.reporters.push(u),this}removeReporter(u){if(u){let F=this.options.reporters.indexOf(u);if(F>=0)return this.options.reporters.splice(F,1)}else this.options.reporters.splice(0);return this}setReporters(u){return this.options.reporters=Array.isArray(u)?u:[u],this}wrapAll(){this.wrapConsole(),this.wrapStd()}restoreAll(){this.restoreConsole(),this.restoreStd()}wrapConsole(){for(let u in this.options.types)console["__"+u]||(console["__"+u]=console[u]),console[u]=this[u].raw}restoreConsole(){for(let u in this.options.types)console["__"+u]&&(console[u]=console["__"+u],delete console["__"+u])}wrapStd(){this._wrapStream(this.options.stdout,"log"),this._wrapStream(this.options.stderr,"log")}_wrapStream(u,F){u&&(u.__write||(u.__write=u.write),u.write=r=>{this[F].raw(String(r).trim())})}restoreStd(){this._restoreStream(this.options.stdout),this._restoreStream(this.options.stderr)}_restoreStream(u){u&&u.__write&&(u.write=u.__write,delete u.__write)}pauseLogs(){S=!0}resumeLogs(){S=!1;let u=k.splice(0);for(let F of u)F[0]._logFn(F[1],F[2])}mockTypes(u){let F=u||this.options.mockFn;if(this._mockFn=F,typeof F=="function")for(let r in this.options.types)this[r]=F(r,this.options.types[r])||this[r],this[r].raw=this[r]}_wrapLogFn(u,F){return(...r)=>{if(S){k.push([this,u,r,F]);return}return this._logFn(u,r,F)}}_logFn(u,F,r){if((u.level||0)>this.level)return!1;let e={date:new Date,args:[],...u,level:b(u.level,this.options.types)};!r&&F.length===1&&CD(F[0])?Object.assign(e,F[0]):e.args=[...F],e.message&&(e.args.unshift(e.message),delete e.message),e.additional&&(Array.isArray(e.additional)||(e.additional=e.additional.split(`
2
+ `)),e.args.push(`
3
+ `+e.additional.join(`
4
+ `)),delete e.additional),e.type=typeof e.type=="string"?e.type.toLowerCase():"log",e.tag=typeof e.tag=="string"?e.tag:"";let o=(s=!1)=>{let x=(this._lastLog.count||0)-this.options.throttleMin;if(this._lastLog.object&&x>0){let l=[...this._lastLog.object.args];x>1&&l.push(`(repeated ${x} times)`),this._log({...this._lastLog.object,args:l}),this._lastLog.count=1}s&&(this._lastLog.object=e,this._log(e))};clearTimeout(this._lastLog.timeout);let D=this._lastLog.time&&e.date?e.date.getTime()-this._lastLog.time.getTime():0;if(this._lastLog.time=e.date,D<this.options.throttle)try{let s=JSON.stringify([e.type,e.tag,e.args]),x=this._lastLog.serialized===s;if(this._lastLog.serialized=s,x&&(this._lastLog.count=(this._lastLog.count||0)+1,this._lastLog.count>this.options.throttleMin)){this._lastLog.timeout=setTimeout(o,this.options.throttle);return}}catch{}o(!0)}_log(u){for(let F of this.options.reporters)F.log(u,{options:this.options})}};function b(t,u={},F=3){return t===void 0?F:typeof t=="number"?t:u[t]&&u[t].level!==void 0?u[t].level:F}E.prototype.add=E.prototype.addReporter;E.prototype.remove=E.prototype.removeReporter;E.prototype.clear=E.prototype.removeReporter;E.prototype.withScope=E.prototype.withTag;E.prototype.mock=E.prototype.mockTypes;E.prototype.pause=E.prototype.pauseLogs;E.prototype.resume=E.prototype.resumeLogs;function U(t={}){return new E(t)}import{formatWithOptions as ED}from"node:util";import{sep as iD}from"node:path";function N(t){let u=process.cwd()+iD;return t.split(`
5
+ `).splice(1).map(r=>r.trim().replace("file://","").replace(u,""))}function xD(t,u){return(u.__write||u.write).call(u,t)}var w=t=>t?`[${t}]`:"",m=class{formatStack(u,F){return" "+N(u).join(`
6
+ `)}formatArgs(u,F){let r=u.map(e=>e&&typeof e.stack=="string"?e.message+`
7
+ `+this.formatStack(e.stack,F):e);return ED(F,...r)}formatDate(u,F){return F.date?u.toLocaleTimeString():""}filterAndJoin(u){return u.filter(Boolean).join(" ")}formatLogObj(u,F){let r=this.formatArgs(u.args,F);return u.type==="box"?`
8
+ `+[w(u.tag),u.title&&u.title,...r.split(`
9
+ `)].filter(Boolean).map(e=>" > "+e).join(`
10
+ `)+`
11
+ `:this.filterAndJoin([w(u.type),w(u.tag),r])}log(u,F){let r=this.formatLogObj(u,{columns:F.options.stdout.columns||0,...F.options.formatOptions});return xD(r+`
12
+ `,u.level<2?F.options.stderr||process.stderr:F.options.stdout||process.stdout)}};import*as L from"node:tty";var{env:h={},argv:Y=[],platform:aD=""}=typeof process>"u"?{}:process,lD="NO_COLOR"in h||Y.includes("--no-color"),BD="FORCE_COLOR"in h||Y.includes("--color"),cD=aD==="win32",V=h.TERM==="dumb",AD=L&&L.isatty&&L.isatty(1)&&h.TERM&&!V,fD="CI"in h&&("GITHUB_ACTIONS"in h||"GITLAB_CI"in h||"CIRCLECI"in h),pD=!lD&&(BD||cD&&!V||AD||fD);function z(t,u,F,r,e=u.slice(0,Math.max(0,t))+r,o=u.slice(Math.max(0,t+F.length)),D=o.indexOf(F)){return e+(D<0?o:z(D,o,F,r))}function hD(t,u,F,r,e){return t<0?F+u+r:F+z(t,u,r,e)+r}function gD(t,u,F=t,r=t.length+1){return e=>e||!(e===""||e===void 0)?hD((""+e).indexOf(u,r),e,t,u,F):""}function n(t,u,F){return gD(`\x1B[${t}m`,`\x1B[${u}m`,F)}var W={reset:n(0,0),bold:n(1,22,"\x1B[22m\x1B[1m"),dim:n(2,22,"\x1B[22m\x1B[2m"),italic:n(3,23),underline:n(4,24),inverse:n(7,27),hidden:n(8,28),strikethrough:n(9,29),black:n(30,39),red:n(31,39),green:n(32,39),yellow:n(33,39),blue:n(34,39),magenta:n(35,39),cyan:n(36,39),white:n(37,39),gray:n(90,39),bgBlack:n(40,49),bgRed:n(41,49),bgGreen:n(42,49),bgYellow:n(43,49),bgBlue:n(44,49),bgMagenta:n(45,49),bgCyan:n(46,49),bgWhite:n(47,49),blackBright:n(90,39),redBright:n(91,39),greenBright:n(92,39),yellowBright:n(93,39),blueBright:n(94,39),magentaBright:n(95,39),cyanBright:n(96,39),whiteBright:n(97,39),bgBlackBright:n(100,49),bgRedBright:n(101,49),bgGreenBright:n(102,49),bgYellowBright:n(103,49),bgBlueBright:n(104,49),bgMagentaBright:n(105,49),bgCyanBright:n(106,49),bgWhiteBright:n(107,49)};function dD(t=pD){return t?W:Object.fromEntries(Object.keys(W).map(u=>[u,String]))}var a=dD();function mD(t,u="reset"){return a[t]||a[u]}var _D=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");function d(t){return t.replace(new RegExp(_D,"g"),"")}var G={solid:{tl:"\u250C",tr:"\u2510",bl:"\u2514",br:"\u2518",h:"\u2500",v:"\u2502"},double:{tl:"\u2554",tr:"\u2557",bl:"\u255A",br:"\u255D",h:"\u2550",v:"\u2551"},doubleSingle:{tl:"\u2553",tr:"\u2556",bl:"\u2559",br:"\u255C",h:"\u2500",v:"\u2551"},doubleSingleRounded:{tl:"\u256D",tr:"\u256E",bl:"\u2570",br:"\u256F",h:"\u2500",v:"\u2551"},singleThick:{tl:"\u250F",tr:"\u2513",bl:"\u2517",br:"\u251B",h:"\u2501",v:"\u2503"},singleDouble:{tl:"\u2552",tr:"\u2555",bl:"\u2558",br:"\u255B",h:"\u2550",v:"\u2502"},singleDoubleRounded:{tl:"\u256D",tr:"\u256E",bl:"\u2570",br:"\u256F",h:"\u2550",v:"\u2502"},rounded:{tl:"\u256D",tr:"\u256E",bl:"\u2570",br:"\u256F",h:"\u2500",v:"\u2502"}},yD={borderColor:"white",borderStyle:"rounded",valign:"center",padding:2,marginLeft:1,marginTop:1,marginBottom:1};function Z(t,u={}){let F={...u,style:{...yD,...u.style}},r=t.split(`
13
+ `),e=[],o=mD(F.style.borderColor),D={...typeof F.style.borderStyle=="string"?G[F.style.borderStyle]||G.solid:F.style.borderStyle};if(o)for(let i in D)D[i]=o(D[i]);let s=F.style.padding%2===0?F.style.padding:F.style.padding+1,x=r.length+s,l=Math.max(...r.map(i=>i.length))+s,c=l+s,B=F.style.marginLeft>0?" ".repeat(F.style.marginLeft):"";if(F.style.marginTop>0&&e.push("".repeat(F.style.marginTop)),F.title){let i=D.h.repeat(Math.floor((l-d(F.title).length)/2)),g=D.h.repeat(l-d(F.title).length-d(i).length+s);e.push(`${B}${D.tl}${i}${F.title}${g}${D.tr}`)}else e.push(`${B}${D.tl}${D.h.repeat(c)}${D.tr}`);let p=F.style.valign==="center"?Math.floor((x-r.length)/2):F.style.valign==="top"?x-r.length-s:x-r.length;for(let i=0;i<x;i++)if(i<p||i>=p+r.length)e.push(`${B}${D.v}${" ".repeat(c)}${D.v}`);else{let g=r[i-p],X=" ".repeat(s),Q=" ".repeat(l-d(g).length);e.push(`${B}${D.v}${X}${g}${Q}${D.v}`)}return e.push(`${B}${D.bl}${D.h.repeat(c)}${D.br}`),F.style.marginBottom>0&&e.push("".repeat(F.style.marginBottom)),e.join(`
14
+ `)}import A from"node:process";var LD=[["APPVEYOR"],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"]];function vD(t){for(let u of LD){let F=u[1]||u[0];if(t[F])return{name:u[0].toLowerCase(),...u[2]}}return t.SHELL&&t.SHELL==="/bin/jsh"?{name:"stackblitz",ci:!1}:{name:"",ci:!1}}var I=typeof process<"u"?process:{},_=I.env||{},J=vD(_),ID=typeof process<"u"&&process.env&&process.env.NODE_ENV||"";I.platform;J.name;var j=y(_.CI)||J.ci!==!1,TD=y(I.stdout&&I.stdout.isTTY),SD=y(_.DEBUG),M=ID==="test"||y(_.TEST);y(_.MINIMAL);function y(t){return t?t!=="false":!1}function bD({onlyFirst:t=!1}={}){let u=["[\\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(u,t?void 0:"g")}var RD=bD();function wD(t){if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);return t.replace(RD,"")}function ND(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var q={exports:{}};(function(t){var u={};t.exports=u,u.eastAsianWidth=function(r){var e=r.charCodeAt(0),o=r.length==2?r.charCodeAt(1):0,D=e;return 55296<=e&&e<=56319&&56320<=o&&o<=57343&&(e&=1023,o&=1023,D=e<<10|o,D+=65536),D==12288||65281<=D&&D<=65376||65504<=D&&D<=65510?"F":D==8361||65377<=D&&D<=65470||65474<=D&&D<=65479||65482<=D&&D<=65487||65490<=D&&D<=65495||65498<=D&&D<=65500||65512<=D&&D<=65518?"H":4352<=D&&D<=4447||4515<=D&&D<=4519||4602<=D&&D<=4607||9001<=D&&D<=9002||11904<=D&&D<=11929||11931<=D&&D<=12019||12032<=D&&D<=12245||12272<=D&&D<=12283||12289<=D&&D<=12350||12353<=D&&D<=12438||12441<=D&&D<=12543||12549<=D&&D<=12589||12593<=D&&D<=12686||12688<=D&&D<=12730||12736<=D&&D<=12771||12784<=D&&D<=12830||12832<=D&&D<=12871||12880<=D&&D<=13054||13056<=D&&D<=19903||19968<=D&&D<=42124||42128<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||55216<=D&&D<=55238||55243<=D&&D<=55291||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65106||65108<=D&&D<=65126||65128<=D&&D<=65131||110592<=D&&D<=110593||127488<=D&&D<=127490||127504<=D&&D<=127546||127552<=D&&D<=127560||127568<=D&&D<=127569||131072<=D&&D<=194367||177984<=D&&D<=196605||196608<=D&&D<=262141?"W":32<=D&&D<=126||162<=D&&D<=163||165<=D&&D<=166||D==172||D==175||10214<=D&&D<=10221||10629<=D&&D<=10630?"Na":D==161||D==164||167<=D&&D<=168||D==170||173<=D&&D<=174||176<=D&&D<=180||182<=D&&D<=186||188<=D&&D<=191||D==198||D==208||215<=D&&D<=216||222<=D&&D<=225||D==230||232<=D&&D<=234||236<=D&&D<=237||D==240||242<=D&&D<=243||247<=D&&D<=250||D==252||D==254||D==257||D==273||D==275||D==283||294<=D&&D<=295||D==299||305<=D&&D<=307||D==312||319<=D&&D<=322||D==324||328<=D&&D<=331||D==333||338<=D&&D<=339||358<=D&&D<=359||D==363||D==462||D==464||D==466||D==468||D==470||D==472||D==474||D==476||D==593||D==609||D==708||D==711||713<=D&&D<=715||D==717||D==720||728<=D&&D<=731||D==733||D==735||768<=D&&D<=879||913<=D&&D<=929||931<=D&&D<=937||945<=D&&D<=961||963<=D&&D<=969||D==1025||1040<=D&&D<=1103||D==1105||D==8208||8211<=D&&D<=8214||8216<=D&&D<=8217||8220<=D&&D<=8221||8224<=D&&D<=8226||8228<=D&&D<=8231||D==8240||8242<=D&&D<=8243||D==8245||D==8251||D==8254||D==8308||D==8319||8321<=D&&D<=8324||D==8364||D==8451||D==8453||D==8457||D==8467||D==8470||8481<=D&&D<=8482||D==8486||D==8491||8531<=D&&D<=8532||8539<=D&&D<=8542||8544<=D&&D<=8555||8560<=D&&D<=8569||D==8585||8592<=D&&D<=8601||8632<=D&&D<=8633||D==8658||D==8660||D==8679||D==8704||8706<=D&&D<=8707||8711<=D&&D<=8712||D==8715||D==8719||D==8721||D==8725||D==8730||8733<=D&&D<=8736||D==8739||D==8741||8743<=D&&D<=8748||D==8750||8756<=D&&D<=8759||8764<=D&&D<=8765||D==8776||D==8780||D==8786||8800<=D&&D<=8801||8804<=D&&D<=8807||8810<=D&&D<=8811||8814<=D&&D<=8815||8834<=D&&D<=8835||8838<=D&&D<=8839||D==8853||D==8857||D==8869||D==8895||D==8978||9312<=D&&D<=9449||9451<=D&&D<=9547||9552<=D&&D<=9587||9600<=D&&D<=9615||9618<=D&&D<=9621||9632<=D&&D<=9633||9635<=D&&D<=9641||9650<=D&&D<=9651||9654<=D&&D<=9655||9660<=D&&D<=9661||9664<=D&&D<=9665||9670<=D&&D<=9672||D==9675||9678<=D&&D<=9681||9698<=D&&D<=9701||D==9711||9733<=D&&D<=9734||D==9737||9742<=D&&D<=9743||9748<=D&&D<=9749||D==9756||D==9758||D==9792||D==9794||9824<=D&&D<=9825||9827<=D&&D<=9829||9831<=D&&D<=9834||9836<=D&&D<=9837||D==9839||9886<=D&&D<=9887||9918<=D&&D<=9919||9924<=D&&D<=9933||9935<=D&&D<=9953||D==9955||9960<=D&&D<=9983||D==10045||D==10071||10102<=D&&D<=10111||11093<=D&&D<=11097||12872<=D&&D<=12879||57344<=D&&D<=63743||65024<=D&&D<=65039||D==65533||127232<=D&&D<=127242||127248<=D&&D<=127277||127280<=D&&D<=127337||127344<=D&&D<=127386||917760<=D&&D<=917999||983040<=D&&D<=1048573||1048576<=D&&D<=1114109?"A":"N"},u.characterLength=function(r){var e=this.eastAsianWidth(r);return e=="F"||e=="W"||e=="A"?2:1};function F(r){return r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}u.length=function(r){for(var e=F(r),o=0,D=0;D<e.length;D++)o=o+this.characterLength(e[D]);return o},u.slice=function(r,e,o){textLen=u.length(r),e=e||0,o=o||1,e<0&&(e=textLen+e),o<0&&(o=textLen+o);for(var D="",s=0,x=F(r),l=0;l<x.length;l++){var c=x[l],B=u.length(c);if(s>=e-(B==2?1:0))if(s+B<=o)D+=c;else break;s+=B}return D}})(q);var OD=q.exports,MD=ND(OD),$D=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\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FF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function PD(t,u){if(typeof t!="string"||t.length===0||(u={ambiguousIsNarrow:!0,countAnsiEscapeCodes:!1,...u},u.countAnsiEscapeCodes||(t=wD(t)),t.length===0))return 0;let F=u.ambiguousIsNarrow?1:2,r=0;for(let{segment:e}of new Intl.Segmenter().segment(t)){let o=e.codePointAt(0);if(o<=31||o>=127&&o<=159||o>=768&&o<=879)continue;if($D().test(e)){r+=2;continue}switch(MD.eastAsianWidth(e)){case"F":case"W":{r+=2;break}case"A":{r+=F;break}default:r+=1}}return r}function kD(){return A.platform!=="win32"?A.env.TERM!=="linux":!!A.env.CI||!!A.env.WT_SESSION||!!A.env.TERMINUS_SUBLIME||A.env.ConEmuTask==="{cmd::Cmder}"||A.env.TERM_PROGRAM==="Terminus-Sublime"||A.env.TERM_PROGRAM==="vscode"||A.env.TERM==="xterm-256color"||A.env.TERM==="alacritty"||A.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var UD={info:"cyan",fail:"red",success:"green",ready:"green",start:"magenta"},WD={0:"red",1:"yellow"},GD=kD(),f=(t,u)=>GD?t:u,H={error:f("\u2716","\xD7"),fatal:f("\u2716","\xD7"),ready:f("\u2714","\u221A"),warn:f("\u26A0","\u203C"),info:f("\u2139","i"),success:f("\u2714","\u221A"),debug:f("\u2699","D"),trace:f("\u2192","\u2192"),fail:f("\u2716","\xD7"),start:f("\u25D0","o"),log:""};function K(t){return Intl.Segmenter?PD(t):d(t).length}var O=class extends m{formatStack(u){return`
15
+ `+N(u).map(F=>" "+F.replace(/^at +/,r=>a.gray(r)).replace(/\((.+)\)/,(r,e)=>`(${a.cyan(e)})`)).join(`
16
+ `)}formatType(u,F,r){let e=UD[u.type]||WD[u.level]||"gray";if(F)return VD(e)(a.black(` ${u.type.toUpperCase()} `));let o=typeof H[u.type]=="string"?H[u.type]:u.icon||u.type;return o?YD(e)(o):""}formatLogObj(u,F){let[r,...e]=this.formatArgs(u.args,F).split(`
17
+ `);if(u.type==="box")return Z(v(r+(e.length>0?`
18
+ `+e.join(`
19
+ `):"")),{title:u.title?v(u.title):void 0,style:u.style});let o=this.formatDate(u.date,F),D=o&&a.gray(o),s=u.badge??u.level<2,x=this.formatType(u,s,F),l=u.tag?a.gray(u.tag):"",c,B=this.filterAndJoin([x,v(r)]),p=this.filterAndJoin(F.columns?[l,D]:[l]),i=(F.columns||0)-K(B)-K(p)-2;if(c=i>0&&(F.columns||0)>=80?B+" ".repeat(i)+p:(p?`${a.gray(`[${p}]`)} `:"")+B,c+=v(e.length>0?`
20
+ `+e.join(`
21
+ `):""),u.type==="trace"){let g=new Error("Trace: "+u.message);c+=this.formatStack(g.stack||"")}return s?`
22
+ `+c+`
23
+ `:c}};function v(t){return t.replace(/`([^`]+)`/gm,(u,F)=>a.cyan(F)).replace(/\s+_([^_]+)_\s+/gm,(u,F)=>` ${a.underline(F)} `)}function YD(t="white"){return a[t]||a.white}function VD(t="bgWhite"){return a[`bg${t[0].toUpperCase()}${t.slice(1)}`]||a.bgWhite}function zD(t={}){let u=ZD();return process.env.CONSOLA_LEVEL&&(u=Number.parseInt(process.env.CONSOLA_LEVEL)??u),U({level:u,defaults:{level:u},stdout:process.stdout,stderr:process.stderr,prompt:(...r)=>import("./prompt-3OFVH7AT.js").then(e=>e.prompt(...r)),reporters:t.reporters||[t.fancy??!(j||M)?new O:new m],...t})}function ZD(){return SD?C.debug:M?C.warn:C.info}var ru=zD();export{HD as a,KD as b,a as c,ND as d,kD as e,ru as f};
24
+ //# sourceMappingURL=chunk-RARRDNKZ.js.map