stacks 0.56.24 → 0.58.18

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 (1580) hide show
  1. package/buddy +2 -0
  2. package/core/.env +38 -0
  3. package/core/.simple-git-hooks.js +3 -0
  4. package/core/Caddyfile +23 -0
  5. package/core/README.md +415 -0
  6. package/core/buddy +2 -0
  7. package/core/env.ts +42 -0
  8. package/core/playwright.config.ts +109 -0
  9. package/core/scripts/build +84 -0
  10. package/core/scripts/ensure +33 -0
  11. package/core/scripts/fresh +14 -0
  12. package/core/scripts/link +14 -0
  13. package/core/scripts/move-built-src-files.ts +28 -0
  14. package/core/scripts/move-dts-files.ts +35 -0
  15. package/core/scripts/publish +37 -0
  16. package/core/scripts/setup +176 -0
  17. package/core/src/actions/README.md +58 -0
  18. package/core/src/actions/build.ts +5 -0
  19. package/core/src/actions/dist/src/add.js +29 -0
  20. package/core/src/actions/dist/src/build/component-libs.js +6 -0
  21. package/core/src/actions/dist/src/build/core.js +25 -0
  22. package/core/src/actions/dist/src/build/stacks.js +8 -0
  23. package/core/src/actions/dist/src/build.js +226 -0
  24. package/core/src/actions/dist/src/bump.js +8 -0
  25. package/core/src/actions/dist/src/changelog.js +9 -0
  26. package/core/src/actions/dist/src/clean.js +6 -0
  27. package/core/src/actions/dist/src/commit.js +17 -0
  28. package/core/src/actions/dist/src/copy-types.js +14 -0
  29. package/core/src/actions/dist/src/database/seed.js +4 -0
  30. package/core/src/actions/dist/src/deploy/index.js +31 -0
  31. package/core/src/actions/dist/src/dev/components.js +11 -0
  32. package/core/src/actions/dist/src/dev/docs.js +7 -0
  33. package/core/src/actions/dist/src/dev/index.js +90 -0
  34. package/core/src/actions/dist/src/examples.js +43 -0
  35. package/core/src/actions/dist/src/fresh.js +18 -0
  36. package/core/src/actions/dist/src/generate/component-meta.js +57 -0
  37. package/core/src/actions/dist/src/generate/ide-helpers.js +83 -0
  38. package/core/src/actions/dist/src/generate/index.js +161 -0
  39. package/core/src/actions/dist/src/generate/lib-entries.js +168 -0
  40. package/core/src/actions/dist/src/generate/vscode-custom-data.js +82 -0
  41. package/core/src/actions/dist/src/generate/vue-compat.js +18 -0
  42. package/core/src/actions/dist/src/helpers/component-meta.js +50 -0
  43. package/core/src/actions/dist/src/helpers/index.js +56 -0
  44. package/core/src/actions/dist/src/helpers/lib-entries.js +160 -0
  45. package/core/src/actions/dist/src/helpers/package-json.js +135 -0
  46. package/core/src/actions/dist/src/helpers/utils.js +56 -0
  47. package/core/src/actions/dist/src/helpers/vscode-custom-data.js +75 -0
  48. package/core/src/actions/dist/src/helpers/vue-compat.js +16 -0
  49. package/core/src/actions/dist/src/index.js +577 -0
  50. package/core/src/actions/dist/src/key-generate.js +10 -0
  51. package/core/src/actions/dist/src/lint/fix.js +8 -0
  52. package/core/src/actions/dist/src/lint/index.js +21 -0
  53. package/core/src/actions/dist/src/make.js +291 -0
  54. package/core/src/actions/dist/src/prepublish.js +14 -0
  55. package/core/src/actions/dist/src/release.js +545 -0
  56. package/core/src/actions/dist/src/test/coverage.js +6 -0
  57. package/core/src/actions/dist/src/test/feature.js +6 -0
  58. package/core/src/actions/dist/src/test/ui.js +6 -0
  59. package/core/src/actions/dist/src/test/unit.js +6 -0
  60. package/core/src/actions/dist/src/test.js +6 -0
  61. package/core/src/actions/dist/src/tinker.js +5 -0
  62. package/core/src/actions/dist/src/typecheck.js +6 -0
  63. package/core/src/actions/dist/src/types.js +21 -0
  64. package/core/src/actions/dist/src/upgrade/dependencies.js +6 -0
  65. package/core/src/actions/dist/src/upgrade/framework.js +1 -0
  66. package/core/src/actions/dist/src/upgrade/index.js +1 -0
  67. package/core/src/actions/dist/src/upgrade.js +39 -0
  68. package/core/src/actions/package.json +89 -0
  69. package/core/src/actions/src/action.ts +11 -0
  70. package/core/src/actions/src/actions.ts +2 -0
  71. package/core/src/actions/src/add.ts +27 -0
  72. package/core/src/actions/src/ai/request-model-access.ts +74 -0
  73. package/core/src/actions/src/build/component-libs.ts +5 -0
  74. package/core/src/actions/src/build/core.ts +66 -0
  75. package/core/src/actions/src/build/desktop.ts +7 -0
  76. package/core/src/actions/src/build/stacks.ts +7 -0
  77. package/core/src/actions/src/build.ts +89 -0
  78. package/core/src/actions/src/bump.ts +11 -0
  79. package/core/src/actions/src/cdn/invalidate-cache.ts +27 -0
  80. package/core/src/actions/src/changelog.ts +11 -0
  81. package/core/src/actions/src/clean.ts +6 -0
  82. package/core/src/actions/src/commit.ts +14 -0
  83. package/core/src/actions/src/copy-types.ts +22 -0
  84. package/core/src/actions/src/database/fields.ts +111 -0
  85. package/core/src/actions/src/database/migration-mysql.ts +72 -0
  86. package/core/src/actions/src/database/migration-sqlite.ts +67 -0
  87. package/core/src/actions/src/database/migration.ts +10 -0
  88. package/core/src/actions/src/database/mydb.sqlite +0 -0
  89. package/core/src/actions/src/database/seed.ts +4 -0
  90. package/core/src/actions/src/database/stacks.sqlite +0 -0
  91. package/core/src/actions/src/database/user-migration.ts +20 -0
  92. package/core/src/actions/src/deploy/create-receipt-rule.ts +55 -0
  93. package/core/src/actions/src/deploy/index.ts +46 -0
  94. package/core/src/actions/src/dev/api.ts +19 -0
  95. package/core/src/actions/src/dev/components.ts +14 -0
  96. package/core/src/actions/src/dev/desktop.ts +7 -0
  97. package/core/src/actions/src/dev/docs.ts +7 -0
  98. package/core/src/actions/src/dev/index.ts +38 -0
  99. package/core/src/actions/src/dev/views.ts +7 -0
  100. package/core/src/actions/src/domains/add.ts +82 -0
  101. package/core/src/actions/src/domains/purchase.ts +76 -0
  102. package/core/src/actions/src/domains/remove.ts +38 -0
  103. package/core/src/actions/src/examples.ts +46 -0
  104. package/core/src/actions/src/fresh.ts +20 -0
  105. package/core/src/actions/src/generate/caddyfile.ts +1 -0
  106. package/core/src/actions/src/generate/component-meta.ts +15 -0
  107. package/core/src/actions/src/generate/env-files.ts +89 -0
  108. package/core/src/actions/src/generate/ide-helpers.ts +20 -0
  109. package/core/src/actions/src/generate/index.ts +141 -0
  110. package/core/src/actions/src/generate/lib-entries.ts +17 -0
  111. package/core/src/actions/src/generate/model-classes.ts +299 -0
  112. package/core/src/actions/src/generate/model-generate.ts +12 -0
  113. package/core/src/actions/src/generate/pkgx-file.ts +72 -0
  114. package/core/src/actions/src/generate/vscode-custom-data.ts +16 -0
  115. package/core/src/actions/src/generate/vue-compat.ts +10 -0
  116. package/core/src/actions/src/helpers/component-meta.ts +93 -0
  117. package/core/src/actions/src/helpers/index.ts +1 -0
  118. package/core/src/actions/src/helpers/lib-entries.ts +139 -0
  119. package/core/src/actions/src/helpers/package-json.ts +96 -0
  120. package/core/src/actions/src/helpers/utils.ts +82 -0
  121. package/core/src/actions/src/helpers/vscode-custom-data.ts +28 -0
  122. package/core/src/actions/src/helpers/vue-compat.ts +16 -0
  123. package/core/src/actions/src/index.ts +29 -0
  124. package/core/src/actions/src/key-generate.ts +10 -0
  125. package/core/src/actions/src/lint/fix.ts +7 -0
  126. package/core/src/actions/src/lint/index.ts +19 -0
  127. package/core/src/actions/src/make.ts +322 -0
  128. package/core/src/actions/src/migrate/database.ts +1 -0
  129. package/core/src/actions/src/migrate/dns.ts +3 -0
  130. package/core/src/actions/src/prepublish.ts +17 -0
  131. package/core/src/actions/src/release.ts +15 -0
  132. package/core/src/actions/src/start-caddy.ts +13 -0
  133. package/core/src/actions/src/test/coverage.ts +5 -0
  134. package/core/src/actions/src/test/feature.ts +5 -0
  135. package/core/src/actions/src/test/ui.ts +5 -0
  136. package/core/src/actions/src/test/unit.ts +5 -0
  137. package/core/src/actions/src/test.ts +5 -0
  138. package/core/src/actions/src/tinker.ts +10 -0
  139. package/core/src/actions/src/typecheck.ts +5 -0
  140. package/core/src/actions/src/types.ts +20 -0
  141. package/core/src/actions/src/upgrade/bun.ts +4 -0
  142. package/core/src/actions/src/upgrade/framework.ts +30 -0
  143. package/core/src/actions/src/upgrade/index.ts +25 -0
  144. package/core/src/actions/src/upgrade.ts +65 -0
  145. package/core/src/actions/src/zip/api.ts +22 -0
  146. package/core/src/actions/tests/example.test.ts +5 -0
  147. package/core/src/ai/README.md +67 -0
  148. package/core/src/ai/build.ts +9 -0
  149. package/core/src/ai/package.json +59 -0
  150. package/core/src/ai/src/index.ts +8 -0
  151. package/core/src/ai/src/text-generation.ts +0 -0
  152. package/core/src/ai/src/text-summary.ts +0 -0
  153. package/core/src/ai/src/utils/client-bedrock-runtime.ts +38 -0
  154. package/core/src/ai/src/utils/client-bedrock.ts +53 -0
  155. package/core/src/ai/tests/example.test.ts +5 -0
  156. package/core/src/alias/README.md +53 -0
  157. package/core/src/alias/build.ts +8 -0
  158. package/core/src/alias/dist/index.js +218 -0
  159. package/core/src/alias/package.json +51 -0
  160. package/core/src/alias/src/index.ts +220 -0
  161. package/core/src/alias/tests/example.test.ts +5 -0
  162. package/core/src/analytics/README.md +55 -0
  163. package/core/src/analytics/build.ts +8 -0
  164. package/core/src/analytics/dist/index.js +5 -0
  165. package/core/src/analytics/package.json +54 -0
  166. package/core/src/analytics/src/drivers/fathom.ts +1 -0
  167. package/core/src/analytics/src/drivers/index.ts +1 -0
  168. package/core/src/analytics/src/index.ts +1 -0
  169. package/core/src/analytics/tests/example.test.ts +5 -0
  170. package/core/src/api/build.ts +7 -0
  171. package/core/src/api/package.json +61 -0
  172. package/core/src/api/src/index.ts +114 -0
  173. package/core/src/arrays/README.md +59 -0
  174. package/core/src/arrays/build.ts +8 -0
  175. package/core/src/arrays/dist/index.js +469 -0
  176. package/core/src/arrays/package.json +59 -0
  177. package/core/src/arrays/src/arr.ts +3 -0
  178. package/core/src/arrays/src/contains.ts +87 -0
  179. package/core/src/arrays/src/helpers.ts +272 -0
  180. package/core/src/arrays/src/index.ts +3 -0
  181. package/core/src/arrays/src/macro.ts +131 -0
  182. package/core/src/arrays/src/math.ts +220 -0
  183. package/core/src/arrays/tests/example.test.ts +5 -0
  184. package/core/src/auth/README.md +59 -0
  185. package/core/src/auth/build.ts +8 -0
  186. package/core/src/auth/dist/index.js +5 -0
  187. package/core/src/auth/package.json +50 -0
  188. package/core/src/auth/tests/example.test.ts +5 -0
  189. package/core/src/bud +2 -0
  190. package/core/src/buddy/README.md +390 -0
  191. package/core/src/buddy/art/social.jpg +0 -0
  192. package/core/src/buddy/build.ts +8 -0
  193. package/core/src/buddy/dist/chunk-815e657d8c6ba584.js +1677 -0
  194. package/core/src/buddy/dist/chunk-b75e6db0012faa55.js +22 -0
  195. package/core/src/buddy/dist/cli.js +49 -0
  196. package/core/src/buddy/dist/index.js +70 -0
  197. package/core/src/buddy/package.json +174 -0
  198. package/core/src/buddy/src/cli.ts +51 -0
  199. package/core/src/buddy/src/commands/add.ts +65 -0
  200. package/core/src/buddy/src/commands/build.ts +172 -0
  201. package/core/src/buddy/src/commands/changelog.ts +36 -0
  202. package/core/src/buddy/src/commands/clean.ts +34 -0
  203. package/core/src/buddy/src/commands/cloud.ts +299 -0
  204. package/core/src/buddy/src/commands/commit.ts +22 -0
  205. package/core/src/buddy/src/commands/configure.ts +65 -0
  206. package/core/src/buddy/src/commands/create.ts +131 -0
  207. package/core/src/buddy/src/commands/deploy.ts +99 -0
  208. package/core/src/buddy/src/commands/dev.ts +228 -0
  209. package/core/src/buddy/src/commands/dns.ts +78 -0
  210. package/core/src/buddy/src/commands/domains.ts +156 -0
  211. package/core/src/buddy/src/commands/example.ts +62 -0
  212. package/core/src/buddy/src/commands/fresh.ts +34 -0
  213. package/core/src/buddy/src/commands/generate.ts +142 -0
  214. package/core/src/buddy/src/commands/http.ts +53 -0
  215. package/core/src/buddy/src/commands/index.ts +30 -0
  216. package/core/src/buddy/src/commands/inspire.ts +24 -0
  217. package/core/src/buddy/src/commands/install.ts +26 -0
  218. package/core/src/buddy/src/commands/key.ts +32 -0
  219. package/core/src/buddy/src/commands/lint.ts +49 -0
  220. package/core/src/buddy/src/commands/make.ts +259 -0
  221. package/core/src/buddy/src/commands/migrate.ts +55 -0
  222. package/core/src/buddy/src/commands/prepublish.ts +23 -0
  223. package/core/src/buddy/src/commands/release.ts +33 -0
  224. package/core/src/buddy/src/commands/seed.ts +36 -0
  225. package/core/src/buddy/src/commands/setup.ts +116 -0
  226. package/core/src/buddy/src/commands/test.ts +122 -0
  227. package/core/src/buddy/src/commands/tinker.ts +34 -0
  228. package/core/src/buddy/src/commands/types.ts +30 -0
  229. package/core/src/buddy/src/commands/upgrade.ts +109 -0
  230. package/core/src/buddy/src/commands/version.ts +24 -0
  231. package/core/src/buddy/src/compile.ts +9 -0
  232. package/core/src/build/README.md +59 -0
  233. package/core/src/build/build.ts +8 -0
  234. package/core/src/build/dist/index.js +19 -0
  235. package/core/src/build/package.json +63 -0
  236. package/core/src/build/src/index.ts +11 -0
  237. package/core/src/build/tests/example.test.ts +5 -0
  238. package/core/src/build/web-types.ts +15 -0
  239. package/core/src/bun-create/bud/README.md +45 -0
  240. package/core/src/bun-create/bud/package.json +152 -0
  241. package/core/src/bun-create/buddy/README.md +45 -0
  242. package/core/src/bun-create/buddy/package.json +152 -0
  243. package/core/src/bun-create/stack/README.md +45 -0
  244. package/core/src/bun-create/stack/package.json +152 -0
  245. package/core/src/bun-create/stacks/README.md +45 -0
  246. package/core/src/bun-create/stacks/package.json +152 -0
  247. package/core/src/bun-create/stx/README.md +45 -0
  248. package/core/src/bun-create/stx/package.json +152 -0
  249. package/core/src/bun-plugin-yaml/README.md +56 -0
  250. package/core/src/bun-plugin-yaml/build.ts +8 -0
  251. package/core/src/bun-plugin-yaml/dist/index.js +2781 -0
  252. package/core/src/bun-plugin-yaml/package.json +57 -0
  253. package/core/src/bun-plugin-yaml/src/index.ts +22 -0
  254. package/core/src/bun-plugin-yaml/tests/example.test.ts +5 -0
  255. package/core/src/cache/README.md +59 -0
  256. package/core/src/cache/build.ts +8 -0
  257. package/core/src/cache/dist/index.js +88 -0
  258. package/core/src/cache/package.json +65 -0
  259. package/core/src/cache/src/drivers/index.ts +2 -0
  260. package/core/src/cache/src/drivers/redis.ts +37 -0
  261. package/core/src/cache/src/index.ts +1 -0
  262. package/core/src/cache/tests/DynamoDB.test.ts +135 -0
  263. package/core/src/cache/tests/Memcached.test.ts +51 -0
  264. package/core/src/cache/tests/Redis.test.ts +84 -0
  265. package/core/src/chat/README.md +83 -0
  266. package/core/src/chat/build.ts +8 -0
  267. package/core/src/chat/dist/index.js +42 -0
  268. package/core/src/chat/package.json +73 -0
  269. package/core/src/chat/tests/example.test.ts +5 -0
  270. package/core/src/cli/README.md +168 -0
  271. package/core/src/cli/build.ts +8 -0
  272. package/core/src/cli/dist/index.js +372 -0
  273. package/core/src/cli/package.json +90 -0
  274. package/core/src/cli/src/actions/install.ts +40 -0
  275. package/core/src/cli/src/cli.ts +52 -0
  276. package/core/src/cli/src/command.ts +47 -0
  277. package/core/src/cli/src/console.ts +79 -0
  278. package/core/src/cli/src/exec.ts +89 -0
  279. package/core/src/cli/src/helpers.ts +90 -0
  280. package/core/src/cli/src/index.ts +10 -0
  281. package/core/src/cli/src/parse.ts +101 -0
  282. package/core/src/cli/src/run.ts +97 -0
  283. package/core/src/cli/src/utilities.ts +2 -0
  284. package/core/src/cli/tests/example.test.ts +5 -0
  285. package/core/src/cloud/README.md +67 -0
  286. package/core/src/cloud/build-server.ts +8 -0
  287. package/core/src/cloud/build.ts +8 -0
  288. package/core/src/cloud/cdk.json +62 -0
  289. package/core/src/cloud/deploy.ts +75 -0
  290. package/core/src/cloud/dist/origin-request.js +27 -0
  291. package/core/src/cloud/package.json +119 -0
  292. package/core/src/cloud/src/cloud/ai.ts +115 -0
  293. package/core/src/cloud/src/cloud/aws-sdk-layer/nodejs/package-lock.json +386 -0
  294. package/core/src/cloud/src/cloud/aws-sdk-layer/nodejs/package.json +15 -0
  295. package/core/src/cloud/src/cloud/cache.ts +0 -0
  296. package/core/src/cloud/src/cloud/cdn.ts +335 -0
  297. package/core/src/cloud/src/cloud/compute.ts +79 -0
  298. package/core/src/cloud/src/cloud/dashboard.ts +85 -0
  299. package/core/src/cloud/src/cloud/database.ts +0 -0
  300. package/core/src/cloud/src/cloud/deployment.ts +41 -0
  301. package/core/src/cloud/src/cloud/dns.ts +34 -0
  302. package/core/src/cloud/src/cloud/docs.ts +51 -0
  303. package/core/src/cloud/src/cloud/email.ts +339 -0
  304. package/core/src/cloud/src/cloud/file-system.ts +35 -0
  305. package/core/src/cloud/src/cloud/index.ts +93 -0
  306. package/core/src/cloud/src/cloud/jump-box.ts +48 -0
  307. package/core/src/cloud/src/cloud/lambda/ask/index.js +35 -0
  308. package/core/src/cloud/src/cloud/lambda/summarize/index.js +35 -0
  309. package/core/src/cloud/src/cloud/network.ts +52 -0
  310. package/core/src/cloud/src/cloud/permissions.ts +33 -0
  311. package/core/src/cloud/src/cloud/queue.ts +0 -0
  312. package/core/src/cloud/src/cloud/redirects.ts +45 -0
  313. package/core/src/cloud/src/cloud/search-engine.ts +108 -0
  314. package/core/src/cloud/src/cloud/security.ts +259 -0
  315. package/core/src/cloud/src/cloud/storage.ts +168 -0
  316. package/core/src/cloud/src/edge/origin-request.ts +49 -0
  317. package/core/src/cloud/src/helpers.ts +597 -0
  318. package/core/src/cloud/src/index.ts +2 -0
  319. package/core/src/cloud/src/runtime/README.md +116 -0
  320. package/core/src/cloud/src/runtime/bootstrap +3 -0
  321. package/core/src/cloud/src/runtime/example/lambda.ts +36 -0
  322. package/core/src/cloud/src/runtime/runtime.ts +829 -0
  323. package/core/src/cloud/src/runtime/scripts/build-layer.ts +104 -0
  324. package/core/src/cloud/src/runtime/scripts/publish-layer.ts +110 -0
  325. package/core/src/cloud/src/runtime/server.ts +39 -0
  326. package/core/src/cloud/src/server/.dockerignore +15 -0
  327. package/core/src/cloud/src/server/Dockerfile +20 -0
  328. package/core/src/cloud/src/server/index.ts +39 -0
  329. package/core/src/cloud/src/server/package.json +12 -0
  330. package/core/src/cloud/src/server/runtime.ts +828 -0
  331. package/core/src/cloud/src/types.ts +28 -0
  332. package/core/src/cloud/tests/example.test.ts +5 -0
  333. package/core/src/cloud/zip.ts +8 -0
  334. package/core/src/collections/README.md +71 -0
  335. package/core/src/collections/build.ts +8 -0
  336. package/core/src/collections/dist/index.js +6 -0
  337. package/core/src/collections/package.json +57 -0
  338. package/core/src/collections/tests/example.test.ts +5 -0
  339. package/core/src/config/README.md +71 -0
  340. package/core/src/config/build.ts +8 -0
  341. package/core/src/config/dist/index.js +1670 -0
  342. package/core/src/config/package.json +55 -0
  343. package/core/src/config/src/config.ts +38 -0
  344. package/core/src/config/src/defaults.ts +460 -0
  345. package/core/src/config/src/helpers.ts +256 -0
  346. package/core/src/config/src/index.ts +2 -0
  347. package/core/src/config/src/overrides.ts +49 -0
  348. package/core/src/config/tests/example.test.ts +5 -0
  349. package/core/src/database/README.md +59 -0
  350. package/core/src/database/build.ts +8 -0
  351. package/core/src/database/dist/index.js +200 -0
  352. package/core/src/database/package.json +78 -0
  353. package/core/src/database/src/index.ts +63 -0
  354. package/core/src/database/src/kysely-bun-worker/driver.ts +143 -0
  355. package/core/src/database/src/kysely-bun-worker/index.ts +46 -0
  356. package/core/src/database/src/kysely-bun-worker/mitt.ts +24 -0
  357. package/core/src/database/src/kysely-bun-worker/type.ts +40 -0
  358. package/core/src/database/src/kysely-bun-worker/worker.ts +53 -0
  359. package/core/src/database/src/migrations/index.ts +73 -0
  360. package/core/src/database/src/seeder/index.ts +79 -0
  361. package/core/src/database/tests/example.test.ts +5 -0
  362. package/core/src/datetime/README.md +66 -0
  363. package/core/src/datetime/build.ts +8 -0
  364. package/core/src/datetime/dist/index.js +9 -0
  365. package/core/src/datetime/package.json +56 -0
  366. package/core/src/datetime/tests/example.test.ts +5 -0
  367. package/core/src/desktop/README.md +49 -0
  368. package/core/src/desktop/build.ts +8 -0
  369. package/core/src/desktop/dist/index.js +3075 -0
  370. package/core/src/desktop/package.json +84 -0
  371. package/core/src/desktop/src/index.ts +41 -0
  372. package/core/src/desktop/tests/example.test.ts +5 -0
  373. package/core/src/development/README.md +27 -0
  374. package/core/src/development/build.ts +8 -0
  375. package/core/src/development/dist/index.js +6 -0
  376. package/core/src/development/package.json +77 -0
  377. package/core/src/development/src/index.ts +0 -0
  378. package/core/src/development/tests/example.test.ts +5 -0
  379. package/core/src/dns/README.md +56 -0
  380. package/core/src/dns/build.ts +8 -0
  381. package/core/src/dns/dist/index.js +166 -0
  382. package/core/src/dns/package.json +76 -0
  383. package/core/src/dns/src/drivers/aws.ts +224 -0
  384. package/core/src/dns/src/index.ts +20 -0
  385. package/core/src/dns/tests/example.test.ts +5 -0
  386. package/core/src/docs/README.md +59 -0
  387. package/core/src/docs/build.ts +8 -0
  388. package/core/src/docs/dist/index.js +214608 -0
  389. package/core/src/docs/package.json +68 -0
  390. package/core/src/docs/src/index.ts +61 -0
  391. package/core/src/docs/src/plugins.ts +4 -0
  392. package/core/src/docs/tests/example.test.ts +5 -0
  393. package/core/src/email/README.md +155 -0
  394. package/core/src/email/build-inbound.ts +8 -0
  395. package/core/src/email/build.ts +8 -0
  396. package/core/src/email/dist/index.js +325 -0
  397. package/core/src/email/email-forwarder.cjs +406 -0
  398. package/core/src/email/email-forwarder.zip +0 -0
  399. package/core/src/email/package.json +94 -0
  400. package/core/src/email/src/drivers/emailjs.ts +23 -0
  401. package/core/src/email/src/drivers/index.ts +9 -0
  402. package/core/src/email/src/drivers/mailgun.ts +21 -0
  403. package/core/src/email/src/drivers/mailjet.ts +21 -0
  404. package/core/src/email/src/drivers/mandrill.ts +19 -0
  405. package/core/src/email/src/drivers/netcore.ts +19 -0
  406. package/core/src/email/src/drivers/nodemailer.ts +23 -0
  407. package/core/src/email/src/drivers/postmark.ts +19 -0
  408. package/core/src/email/src/drivers/sendgrid.ts +20 -0
  409. package/core/src/email/src/drivers/ses.ts +22 -0
  410. package/core/src/email/src/index.ts +1 -0
  411. package/core/src/email/src/send.ts +37 -0
  412. package/core/src/email/src/server/converter.ts +304 -0
  413. package/core/src/email/src/server/inbound.ts +389 -0
  414. package/core/src/email/src/server/outbound.ts +294 -0
  415. package/core/src/email/tests/example.test.ts +5 -0
  416. package/core/src/enums/README.md +54 -0
  417. package/core/src/enums/build.ts +8 -0
  418. package/core/src/enums/dist/index.js +98 -0
  419. package/core/src/enums/package.json +50 -0
  420. package/core/src/enums/src/index.ts +95 -0
  421. package/core/src/enums/tests/example.test.ts +5 -0
  422. package/core/src/env/README.md +71 -0
  423. package/core/src/env/build.ts +8 -0
  424. package/core/src/env/dist/index.js +221 -0
  425. package/core/src/env/package.json +55 -0
  426. package/core/src/env/src/index.ts +76 -0
  427. package/core/src/env/src/types.ts +54 -0
  428. package/core/src/env/tests/example.test.ts +5 -0
  429. package/core/src/error-handling/README.md +131 -0
  430. package/core/src/error-handling/build.ts +8 -0
  431. package/core/src/error-handling/dist/index.js +432 -0
  432. package/core/src/error-handling/package.json +62 -0
  433. package/core/src/error-handling/src/handler.ts +51 -0
  434. package/core/src/error-handling/src/index.ts +2 -0
  435. package/core/src/error-handling/tests/example.test.ts +5 -0
  436. package/core/src/eslint-config/.gitattributes +2 -0
  437. package/core/src/eslint-config/README.md +587 -0
  438. package/core/src/eslint-config/build.ts +8 -0
  439. package/core/src/eslint-config/package.json +119 -0
  440. package/core/src/eslint-config/src/configs/comments.ts +19 -0
  441. package/core/src/eslint-config/src/configs/formatters.ts +187 -0
  442. package/core/src/eslint-config/src/configs/ignores.ts +10 -0
  443. package/core/src/eslint-config/src/configs/imports.ts +37 -0
  444. package/core/src/eslint-config/src/configs/index.ts +21 -0
  445. package/core/src/eslint-config/src/configs/javascript.ts +226 -0
  446. package/core/src/eslint-config/src/configs/jsdoc.ts +42 -0
  447. package/core/src/eslint-config/src/configs/jsonc.ts +86 -0
  448. package/core/src/eslint-config/src/configs/markdown.ts +110 -0
  449. package/core/src/eslint-config/src/configs/node.ts +23 -0
  450. package/core/src/eslint-config/src/configs/perfectionist.ts +18 -0
  451. package/core/src/eslint-config/src/configs/react.ts +111 -0
  452. package/core/src/eslint-config/src/configs/sort.ts +223 -0
  453. package/core/src/eslint-config/src/configs/stylistic.ts +57 -0
  454. package/core/src/eslint-config/src/configs/svelte.ts +106 -0
  455. package/core/src/eslint-config/src/configs/test.ts +54 -0
  456. package/core/src/eslint-config/src/configs/toml.ts +72 -0
  457. package/core/src/eslint-config/src/configs/typescript.ts +156 -0
  458. package/core/src/eslint-config/src/configs/unicorn.ts +41 -0
  459. package/core/src/eslint-config/src/configs/unocss.ts +43 -0
  460. package/core/src/eslint-config/src/configs/vue.ts +169 -0
  461. package/core/src/eslint-config/src/configs/yaml.ts +72 -0
  462. package/core/src/eslint-config/src/factory.ts +260 -0
  463. package/core/src/eslint-config/src/globs.ts +92 -0
  464. package/core/src/eslint-config/src/index.ts +9 -0
  465. package/core/src/eslint-config/src/plugins.ts +10 -0
  466. package/core/src/eslint-config/src/stub.d.ts +3 -0
  467. package/core/src/eslint-config/src/types.ts +366 -0
  468. package/core/src/eslint-config/src/utils.ts +72 -0
  469. package/core/src/eslint-config/src/vendor/prettier-types.ts +136 -0
  470. package/core/src/eslint-config/test/cli.spec.ts +90 -0
  471. package/core/src/eslint-config/test/fixtures.test.ts +125 -0
  472. package/core/src/eslint-config/tsconfig.json +17 -0
  473. package/core/src/eslint-config/tsup.config.ts +8 -0
  474. package/core/src/events/README.md +76 -0
  475. package/core/src/events/build.ts +8 -0
  476. package/core/src/events/dist/index.js +63 -0
  477. package/core/src/events/package.json +52 -0
  478. package/core/src/events/src/index.ts +170 -0
  479. package/core/src/events/tests/example.test.ts +5 -0
  480. package/core/src/faker/README.md +53 -0
  481. package/core/src/faker/build.ts +8 -0
  482. package/core/src/faker/dist/index.js +6 -0
  483. package/core/src/faker/package.json +61 -0
  484. package/core/src/faker/tests/example.test.ts +5 -0
  485. package/core/src/git/README.md +65 -0
  486. package/core/src/git/build.ts +8 -0
  487. package/core/src/git/dist/index.js +6 -0
  488. package/core/src/git/package.json +68 -0
  489. package/core/src/git/src/index.ts +1 -0
  490. package/core/src/git/tests/example.test.ts +5 -0
  491. package/core/src/health/README.md +56 -0
  492. package/core/src/health/build.ts +8 -0
  493. package/core/src/health/dist/index.js +9 -0
  494. package/core/src/health/package.json +58 -0
  495. package/core/src/health/src/drivers/index.ts +1 -0
  496. package/core/src/health/src/drivers/ohdear.ts +1 -0
  497. package/core/src/health/src/index.ts +2 -0
  498. package/core/src/health/src/notifications/index.ts +1 -0
  499. package/core/src/health/tests/example.test.ts +5 -0
  500. package/core/src/http/README.md +59 -0
  501. package/core/src/http/build.ts +8 -0
  502. package/core/src/http/dist/index.js +65 -0
  503. package/core/src/http/package.json +52 -0
  504. package/core/src/http/src/index.ts +71 -0
  505. package/core/src/index.ts +57 -0
  506. package/core/src/lint/.eslintrc.json +3 -0
  507. package/core/src/lint/README.md +73 -0
  508. package/core/src/lint/build.ts +8 -0
  509. package/core/src/lint/dist/index.js +6 -0
  510. package/core/src/lint/package.json +69 -0
  511. package/core/src/lint/tests/example.test.ts +5 -0
  512. package/core/src/logging/README.md +58 -0
  513. package/core/src/logging/build.ts +8 -0
  514. package/core/src/logging/dist/index.js +1809 -0
  515. package/core/src/logging/package.json +61 -0
  516. package/core/src/logging/src/index.ts +27 -0
  517. package/core/src/logging/tests/example.test.ts +5 -0
  518. package/core/src/music/package.json +46 -0
  519. package/core/src/music/src/components/SampleComponent.stx +5 -0
  520. package/core/src/music/src/layouts/default.stx +3 -0
  521. package/core/src/music/src/pages/index.stx +10 -0
  522. package/core/src/music/src/pages/music.stx +10 -0
  523. package/core/src/music/src/styles/main.css +1 -0
  524. package/core/src/notifications/README.md +272 -0
  525. package/core/src/notifications/build.ts +8 -0
  526. package/core/src/notifications/dist/index.js +54 -0
  527. package/core/src/notifications/package.json +103 -0
  528. package/core/src/notifications/src/drivers/index.ts +4 -0
  529. package/core/src/notifications/src/index.ts +51 -0
  530. package/core/src/notifications/src/tailwind.config.ts +39 -0
  531. package/core/src/notifications/src/utils/config.ts +5 -0
  532. package/core/src/notifications/tests/chat/Slack.test.ts +34 -0
  533. package/core/src/notifications/tests/email/Mailgun.test.ts +40 -0
  534. package/core/src/notifications/tests/email/Sendgrid.test.ts +40 -0
  535. package/core/src/notifications/tests/sms/Twilio.test.ts +37 -0
  536. package/core/src/objects/README.md +71 -0
  537. package/core/src/objects/build.ts +8 -0
  538. package/core/src/objects/dist/index.js +64 -0
  539. package/core/src/objects/package.json +63 -0
  540. package/core/src/objects/src/index.ts +145 -0
  541. package/core/src/objects/tests/example.test.ts +5 -0
  542. package/core/src/orm/README.md +48 -0
  543. package/core/src/orm/build.ts +8 -0
  544. package/core/src/orm/dist/index.js +6 -0
  545. package/core/src/orm/package.json +59 -0
  546. package/core/src/orm/src/index.ts +49 -0
  547. package/core/src/orm/tests/example.test.ts +5 -0
  548. package/core/src/path/README.md +64 -0
  549. package/core/src/path/build.ts +8 -0
  550. package/core/src/path/dist/index.js +495 -0
  551. package/core/src/path/package.json +54 -0
  552. package/core/src/path/src/index.ts +529 -0
  553. package/core/src/path/tests/example.test.ts +5 -0
  554. package/core/src/payments/README.md +64 -0
  555. package/core/src/payments/build.ts +8 -0
  556. package/core/src/payments/dist/index.js +6261 -0
  557. package/core/src/payments/package.json +60 -0
  558. package/core/src/payments/src/drivers/stripe.ts +116 -0
  559. package/core/src/payments/tests/example.test.ts +5 -0
  560. package/core/src/push/README.md +71 -0
  561. package/core/src/push/build.ts +9 -0
  562. package/core/src/push/package.json +64 -0
  563. package/core/src/push/src/drivers/expo.ts +21 -0
  564. package/core/src/push/src/drivers/fcm.ts +21 -0
  565. package/core/src/push/src/drivers/index.ts +2 -0
  566. package/core/src/push/src/index.ts +1 -0
  567. package/core/src/push/tests/example.test.ts +5 -0
  568. package/core/src/query-builder/README.md +48 -0
  569. package/core/src/query-builder/build.ts +8 -0
  570. package/core/src/query-builder/dist/index.js +18 -0
  571. package/core/src/query-builder/package.json +59 -0
  572. package/core/src/query-builder/src/kysely.ts +38 -0
  573. package/core/src/query-builder/tests/example.test.ts +5 -0
  574. package/core/src/queue/README.md +59 -0
  575. package/core/src/queue/build.ts +8 -0
  576. package/core/src/queue/dist/index.js +19 -0
  577. package/core/src/queue/package.json +55 -0
  578. package/core/src/queue/src/index.ts +17 -0
  579. package/core/src/queue/tests/example.test.ts +5 -0
  580. package/core/src/realtime/README.md +59 -0
  581. package/core/src/realtime/build.ts +8 -0
  582. package/core/src/realtime/dist/index.js +6 -0
  583. package/core/src/realtime/package.json +52 -0
  584. package/core/src/realtime/src/drivers/index.ts +1 -0
  585. package/core/src/realtime/src/index.ts +1 -0
  586. package/core/src/realtime/tests/example.test.ts +5 -0
  587. package/core/src/repl/README.md +53 -0
  588. package/core/src/repl/build.ts +8 -0
  589. package/core/src/repl/dist/index.js +6 -0
  590. package/core/src/repl/package.json +59 -0
  591. package/core/src/repl/tests/example.test.ts +5 -0
  592. package/core/src/router/README.md +59 -0
  593. package/core/src/router/build.ts +8 -0
  594. package/core/src/router/dist/index.js +841 -0
  595. package/core/src/router/package.json +62 -0
  596. package/core/src/router/src/index.ts +4 -0
  597. package/core/src/router/src/middleware.ts +34 -0
  598. package/core/src/router/src/request.ts +44 -0
  599. package/core/src/router/src/router.ts +162 -0
  600. package/core/src/router/src/server.ts +154 -0
  601. package/core/src/router/tests/example.test.ts +5 -0
  602. package/core/src/scheduler/README.md +137 -0
  603. package/core/src/scheduler/build.ts +8 -0
  604. package/core/src/scheduler/dist/index.js +208 -0
  605. package/core/src/scheduler/package.json +56 -0
  606. package/core/src/scheduler/src/index.ts +321 -0
  607. package/core/src/scheduler/tests/example.test.ts +5 -0
  608. package/core/src/search-engine/README.md +66 -0
  609. package/core/src/search-engine/build.ts +8 -0
  610. package/core/src/search-engine/dist/index.js +89 -0
  611. package/core/src/search-engine/package.json +67 -0
  612. package/core/src/search-engine/src/drivers/index.ts +1 -0
  613. package/core/src/search-engine/src/drivers/meilisearch.ts +124 -0
  614. package/core/src/search-engine/src/drivers/opensearch.ts +59 -0
  615. package/core/src/search-engine/src/helpers.ts +138 -0
  616. package/core/src/search-engine/src/index.ts +69 -0
  617. package/core/src/search-engine/tests/example.test.ts +5 -0
  618. package/core/src/security/README.md +66 -0
  619. package/core/src/security/build.ts +8 -0
  620. package/core/src/security/dist/index.js +3288 -0
  621. package/core/src/security/package.json +65 -0
  622. package/core/src/security/src/crypt.ts +23 -0
  623. package/core/src/security/src/hash.ts +54 -0
  624. package/core/src/security/src/key.ts +11 -0
  625. package/core/src/security/tests/example.test.ts +5 -0
  626. package/core/src/server/README.md +51 -0
  627. package/core/src/server/build.ts +8 -0
  628. package/core/src/server/dist/index.js +48 -0
  629. package/core/src/server/package.json +67 -0
  630. package/core/src/server/src/api.ts +5 -0
  631. package/core/src/server/src/config.ts +59 -0
  632. package/core/src/server/src/index.ts +1 -0
  633. package/core/src/server/tests/example.test.ts +5 -0
  634. package/core/src/signals/README.md +105 -0
  635. package/core/src/signals/build.ts +8 -0
  636. package/core/src/signals/dist/index.js +9 -0
  637. package/core/src/signals/package.json +63 -0
  638. package/core/src/signals/tests/example.test.ts +5 -0
  639. package/core/src/slug/README.md +59 -0
  640. package/core/src/slug/build.ts +8 -0
  641. package/core/src/slug/dist/index.js +5 -0
  642. package/core/src/slug/package.json +65 -0
  643. package/core/src/slug/src/index.ts +56 -0
  644. package/core/src/slug/tests/example.test.ts +5 -0
  645. package/core/src/sms/README.md +137 -0
  646. package/core/src/sms/build.ts +9 -0
  647. package/core/src/sms/package.json +82 -0
  648. package/core/src/sms/src/drivers/index.ts +8 -0
  649. package/core/src/sms/src/index.ts +1 -0
  650. package/core/src/sms/tests/example.test.ts +5 -0
  651. package/core/src/storage/README.md +74 -0
  652. package/core/src/storage/build.ts +8 -0
  653. package/core/src/storage/dist/index.js +798 -0
  654. package/core/src/storage/package.json +77 -0
  655. package/core/src/storage/src/copy.ts +42 -0
  656. package/core/src/storage/src/delete.ts +131 -0
  657. package/core/src/storage/src/drivers/aws.ts +15 -0
  658. package/core/src/storage/src/drivers/index.ts +1 -0
  659. package/core/src/storage/src/files.ts +182 -0
  660. package/core/src/storage/src/folders.ts +51 -0
  661. package/core/src/storage/src/fs.ts +9 -0
  662. package/core/src/storage/src/glob.ts +1 -0
  663. package/core/src/storage/src/hash.ts +39 -0
  664. package/core/src/storage/src/helpers.ts +29 -0
  665. package/core/src/storage/src/index.ts +11 -0
  666. package/core/src/storage/src/move.ts +84 -0
  667. package/core/src/storage/src/storage.ts +10 -0
  668. package/core/src/storage/src/visibility.ts +6 -0
  669. package/core/src/storage/src/zip.ts +55 -0
  670. package/core/src/storage/tests/example.test.ts +5 -0
  671. package/core/src/strings/README.md +137 -0
  672. package/core/src/strings/build.ts +9 -0
  673. package/core/src/strings/dist/index.js +393 -0
  674. package/core/src/strings/package.json +81 -0
  675. package/core/src/strings/src/case.ts +27 -0
  676. package/core/src/strings/src/helpers.ts +3 -0
  677. package/core/src/strings/src/index.ts +2 -0
  678. package/core/src/strings/src/macro.ts +131 -0
  679. package/core/src/strings/src/pluralize.ts +26 -0
  680. package/core/src/strings/src/string.ts +5 -0
  681. package/core/src/strings/src/types.ts +4 -0
  682. package/core/src/strings/src/utils.ts +117 -0
  683. package/core/src/strings/tests/example.test.ts +5 -0
  684. package/core/src/tables/README.md +110 -0
  685. package/core/src/tables/examples/vue/App.stx +12 -0
  686. package/core/src/tables/examples/vue/favicon.png +0 -0
  687. package/core/src/tables/examples/vue/index.html +20 -0
  688. package/core/src/tables/examples/web/favicon.png +0 -0
  689. package/core/src/tables/examples/web/index.html +13 -0
  690. package/core/src/tables/package.json +57 -0
  691. package/core/src/tables/src/App.stx +23 -0
  692. package/core/src/tables/src/components/README.md +109 -0
  693. package/core/src/tables/src/components/Table.stx +342 -0
  694. package/core/src/tables/src/components/TableBody.stx +32 -0
  695. package/core/src/tables/src/components/TableFilters.stx +704 -0
  696. package/core/src/tables/src/components/TableHead.stx +60 -0
  697. package/core/src/tables/src/components/TablePagination.stx +131 -0
  698. package/core/src/tables/src/components/TableRow.stx +73 -0
  699. package/core/src/tables/src/components/TableSearch.stx +39 -0
  700. package/core/src/tables/src/components/Tooltip.stx +10 -0
  701. package/core/src/tables/src/components.d.ts +24 -0
  702. package/core/src/tables/src/config/tables.ts +2 -0
  703. package/core/src/tables/src/docs/index.md +0 -0
  704. package/core/src/tables/src/main.ts +4 -0
  705. package/core/src/tables/tests/example.test.ts +5 -0
  706. package/core/src/tables/vite.config.ts +84 -0
  707. package/core/src/testing/README.md +59 -0
  708. package/core/src/testing/build.ts +8 -0
  709. package/core/src/testing/dist/index.js +6 -0
  710. package/core/src/testing/package.json +62 -0
  711. package/core/src/testing/src/index.ts +3 -0
  712. package/core/src/tinker/package.json +46 -0
  713. package/core/src/tunnel/README.md +53 -0
  714. package/core/src/tunnel/build.ts +8 -0
  715. package/core/src/tunnel/dist/index.js +10 -0
  716. package/core/src/tunnel/package.json +57 -0
  717. package/core/src/tunnel/src/index.ts +6 -0
  718. package/core/src/tunnel/tests/example.test.ts +5 -0
  719. package/core/src/types/README.md +59 -0
  720. package/core/src/types/build.ts +8 -0
  721. package/core/src/types/dist/index.js +501 -0
  722. package/core/src/types/package.json +86 -0
  723. package/core/src/types/src/ai.ts +25 -0
  724. package/core/src/types/src/analytics.ts +21 -0
  725. package/core/src/types/src/api.ts +63 -0
  726. package/core/src/types/src/app.ts +172 -0
  727. package/core/src/types/src/binary.ts +12 -0
  728. package/core/src/types/src/cache.ts +98 -0
  729. package/core/src/types/src/cdn.ts +17 -0
  730. package/core/src/types/src/chat.ts +5 -0
  731. package/core/src/types/src/cli.ts +305 -0
  732. package/core/src/types/src/cloud.ts +82 -0
  733. package/core/src/types/src/components.ts +64 -0
  734. package/core/src/types/src/configure.ts +6 -0
  735. package/core/src/types/src/cron-jobs.ts +44 -0
  736. package/core/src/types/src/database.ts +45 -0
  737. package/core/src/types/src/dependencies.ts +69 -0
  738. package/core/src/types/src/deploy.ts +13 -0
  739. package/core/src/types/src/dns.ts +186 -0
  740. package/core/src/types/src/docs.ts +22 -0
  741. package/core/src/types/src/email.ts +16 -0
  742. package/core/src/types/src/env.ts +1 -0
  743. package/core/src/types/src/errors.ts +11 -0
  744. package/core/src/types/src/events.ts +30 -0
  745. package/core/src/types/src/file-systems.ts +70 -0
  746. package/core/src/types/src/git.ts +133 -0
  747. package/core/src/types/src/hashing.ts +131 -0
  748. package/core/src/types/src/helpers.ts +11 -0
  749. package/core/src/types/src/index.ts +58 -0
  750. package/core/src/types/src/layout.ts +8 -0
  751. package/core/src/types/src/library.ts +154 -0
  752. package/core/src/types/src/model.ts +72 -0
  753. package/core/src/types/src/money.ts +3 -0
  754. package/core/src/types/src/notifications.ts +147 -0
  755. package/core/src/types/src/payments.ts +65 -0
  756. package/core/src/types/src/push.ts +36 -0
  757. package/core/src/types/src/queue.ts +36 -0
  758. package/core/src/types/src/router.ts +70 -0
  759. package/core/src/types/src/scheduler.ts +1 -0
  760. package/core/src/types/src/search-engine.ts +136 -0
  761. package/core/src/types/src/security.ts +23 -0
  762. package/core/src/types/src/services.ts +44 -0
  763. package/core/src/types/src/sms.ts +5 -0
  764. package/core/src/types/src/ssg.ts +3 -0
  765. package/core/src/types/src/stacks.ts +236 -0
  766. package/core/src/types/src/storage.ts +13 -0
  767. package/core/src/types/src/team.ts +8 -0
  768. package/core/src/types/src/ui.ts +197 -0
  769. package/core/src/types/src/utils.ts +47 -0
  770. package/core/src/ui/README.md +66 -0
  771. package/core/src/ui/build.ts +8 -0
  772. package/core/src/ui/dist/components.js +68 -0
  773. package/core/src/ui/dist/index.js +69 -0
  774. package/core/src/ui/package.json +91 -0
  775. package/core/src/ui/src/components/autocomplete.ts +0 -0
  776. package/core/src/ui/src/components/disclosure.ts +5 -0
  777. package/core/src/ui/src/components/menu.ts +1 -0
  778. package/core/src/ui/src/components/modal.ts +6 -0
  779. package/core/src/ui/src/components/popover.ts +1 -0
  780. package/core/src/ui/src/components/radio-group.ts +5 -0
  781. package/core/src/ui/src/components/select.ts +6 -0
  782. package/core/src/ui/src/components/tabs.ts +1 -0
  783. package/core/src/ui/src/components/toggle.ts +1 -0
  784. package/core/src/ui/src/components/transition.ts +1 -0
  785. package/core/src/ui/src/components.ts +10 -0
  786. package/core/src/ui/src/index.ts +15 -0
  787. package/core/src/ui/src/uno.config.ts +64 -0
  788. package/core/src/ui/tests/example.test.ts +5 -0
  789. package/core/src/utils/build.ts +8 -0
  790. package/core/src/utils/dist/index.js +1276 -0
  791. package/core/src/utils/package.json +110 -0
  792. package/core/src/utils/scripts/export-size.ts +94 -0
  793. package/core/src/utils/src/base.ts +12 -0
  794. package/core/src/utils/src/clean.ts +17 -0
  795. package/core/src/utils/src/config.ts +25 -0
  796. package/core/src/utils/src/delete.ts +1 -0
  797. package/core/src/utils/src/equal.ts +27 -0
  798. package/core/src/utils/src/export-size.ts +1 -0
  799. package/core/src/utils/src/git.ts +11 -0
  800. package/core/src/utils/src/glob.ts +1 -0
  801. package/core/src/utils/src/hash.ts +17 -0
  802. package/core/src/utils/src/helpers.ts +187 -0
  803. package/core/src/utils/src/index.ts +22 -0
  804. package/core/src/utils/src/macroable.ts +1 -0
  805. package/core/src/utils/src/math.ts +30 -0
  806. package/core/src/utils/src/promise.ts +117 -0
  807. package/core/src/utils/src/regex.ts +2 -0
  808. package/core/src/utils/src/sleep.ts +60 -0
  809. package/core/src/utils/src/throttle.ts +44 -0
  810. package/core/src/utils/src/vendors.ts +258 -0
  811. package/core/src/utils/src/versions.ts +6 -0
  812. package/core/src/utils/tests/example.test.ts +5 -0
  813. package/core/src/validation/README.md +53 -0
  814. package/core/src/validation/build.ts +5 -0
  815. package/core/src/validation/dist/index.js +187 -0
  816. package/core/src/validation/package.json +63 -0
  817. package/core/src/validation/src/is.ts +111 -0
  818. package/core/src/validation/src/rules.ts +126 -0
  819. package/core/src/validation/src/types/index.ts +7 -0
  820. package/core/src/validation/src/types/money.ts +17 -0
  821. package/core/src/validation/src/validate.ts +33 -0
  822. package/core/src/validation/tests/example.test.ts +5 -0
  823. package/core/src/vite/README.md +59 -0
  824. package/core/src/vite/build.ts +9 -0
  825. package/core/src/vite/dist/index.js +649 -0
  826. package/core/src/vite/package.json +122 -0
  827. package/core/src/vite/src/api.ts +19 -0
  828. package/core/src/vite/src/components.ts +79 -0
  829. package/core/src/vite/src/desktop.ts +59 -0
  830. package/core/src/vite/src/example-vue.ts +27 -0
  831. package/core/src/vite/src/example-wc.ts +27 -0
  832. package/core/src/vite/src/functions.ts +55 -0
  833. package/core/src/vite/src/index.ts +20 -0
  834. package/core/src/vite/src/plugin/auto-imports.ts +40 -0
  835. package/core/src/vite/src/plugin/components.ts +18 -0
  836. package/core/src/vite/src/plugin/css-engine.ts +16 -0
  837. package/core/src/vite/src/plugin/devtools.ts +1 -0
  838. package/core/src/vite/src/plugin/docs.ts +16 -0
  839. package/core/src/vite/src/plugin/fonts.ts +6 -0
  840. package/core/src/vite/src/plugin/i18n.ts +13 -0
  841. package/core/src/vite/src/plugin/index.ts +21 -0
  842. package/core/src/vite/src/plugin/inspect.ts +6 -0
  843. package/core/src/vite/src/plugin/layouts.ts +21 -0
  844. package/core/src/vite/src/plugin/markdown.ts +26 -0
  845. package/core/src/vite/src/plugin/pages.ts +34 -0
  846. package/core/src/vite/src/plugin/presets.ts +17 -0
  847. package/core/src/vite/src/plugin/pwa.ts +33 -0
  848. package/core/src/vite/src/plugin/router.ts +15 -0
  849. package/core/src/vite/src/plugin/stacks.ts +149 -0
  850. package/core/src/vite/src/plugin/ui-engine.ts +19 -0
  851. package/core/src/vite/src/stacks.ts +12 -0
  852. package/core/src/vite/src/views.ts +86 -0
  853. package/core/src/vite/src/web-components.ts +67 -0
  854. package/core/src/vite/tests/example.test.ts +5 -0
  855. package/core/src/vite-plugin-vue-layouts/README.md +59 -0
  856. package/core/src/vite-plugin-vue-layouts/build.ts +8 -0
  857. package/core/src/vite-plugin-vue-layouts/client.d.ts +5 -0
  858. package/core/src/vite-plugin-vue-layouts/dist/index.js +271 -0
  859. package/core/src/vite-plugin-vue-layouts/package.json +64 -0
  860. package/core/src/vite-plugin-vue-layouts/src/RouteLayout.ts +26 -0
  861. package/core/src/vite-plugin-vue-layouts/src/clientSide.ts +99 -0
  862. package/core/src/vite-plugin-vue-layouts/src/files.ts +24 -0
  863. package/core/src/vite-plugin-vue-layouts/src/importCode.ts +32 -0
  864. package/core/src/vite-plugin-vue-layouts/src/index.ts +150 -0
  865. package/core/src/vite-plugin-vue-layouts/src/types.ts +53 -0
  866. package/core/src/vite-plugin-vue-layouts/src/utils.ts +15 -0
  867. package/core/src/vite-plugin-vue-layouts/tests/example.test.ts +5 -0
  868. package/core/src/whois/README.md +55 -0
  869. package/core/src/whois/build.ts +8 -0
  870. package/core/src/whois/dist/index.js +601 -0
  871. package/core/src/whois/package.json +60 -0
  872. package/core/src/whois/src/index.ts +497 -0
  873. package/core/src/whois/src/parameters.ts +4 -0
  874. package/core/src/whois/src/servers.ts +318 -0
  875. package/core/src/whois/src/test.ts +5 -0
  876. package/core/src/whois/tests/example.test.ts +5 -0
  877. package/core/src/x-ray/README.md +55 -0
  878. package/core/src/x-ray/package.json +53 -0
  879. package/core/src/x-ray/src/client.ts +14 -0
  880. package/core/src/x-ray/src/desktop/api/nitro.config.ts +19 -0
  881. package/core/src/x-ray/src/desktop/api/storage/index.ts +7 -0
  882. package/core/src/x-ray/src/desktop/app.stx +377 -0
  883. package/core/src/x-ray/src/desktop/functions/http.ts +26 -0
  884. package/core/src/x-ray/src/desktop/main.ts +14 -0
  885. package/core/src/x-ray/src/desktop/plugins/unified/unified-styles.scss +0 -0
  886. package/core/src/x-ray/src/desktop/styles/app.scss +0 -0
  887. package/core/src/x-ray/src/http.ts +26 -0
  888. package/core/src/x-ray/src/index.ts +42 -0
  889. package/core/src/x-ray/tests/example.test.ts +5 -0
  890. package/core/tsconfig.json +73 -0
  891. package/core/web-types.json +67 -0
  892. package/ide/dictionary.txt +306 -0
  893. package/ide/jetbrains/.idea/jsLinters/eslint.xml +1 -1
  894. package/ide/jetbrains/.idea/stacks.iml +56 -56
  895. package/ide/jetbrains/options/nodejs.xml +3 -3
  896. package/ide/vscode/.vscode/settings.json +55 -51
  897. package/ide/vscode/LICENSE.md +1 -1
  898. package/ide/vscode/README.md +1 -2
  899. package/ide/vscode/package.json +10 -9
  900. package/package.json +477 -201
  901. package/stubs/.gitkeep +0 -0
  902. package/stubs/TODO.md +18 -0
  903. package/vcs/github/CODE_OF_CONDUCT.md +1 -1
  904. package/vcs/github/CONTRIBUTING.md +6 -8
  905. package/vcs/github/EXPLANATIONS.md +2 -2
  906. package/vcs/github/ISSUE_TEMPLATE/bug_report.yml +1 -14
  907. package/vcs/github/ISSUE_TEMPLATE/config.yml +1 -1
  908. package/vcs/github/SECURITY.md +1 -1
  909. package/vcs/github/workflows/README.md +1 -1
  910. package/vcs/github/workflows/ci.yml +26 -47
  911. package/vcs/github/workflows/export-size.yml +5 -14
  912. package/vcs/github/workflows/labeler.yml +13 -0
  913. package/vcs/github/workflows/release.yml +21 -21
  914. package/.gitignore +0 -18
  915. package/README.md +0 -416
  916. package/api/nitro.config.ts +0 -17
  917. package/api/package.json +0 -43
  918. package/api/routes/index.ts +0 -1
  919. package/art/logo-dark.svg +0 -11
  920. package/art/logo.svg +0 -11
  921. package/auto-imports.d.ts +0 -2572
  922. package/components.d.ts +0 -19
  923. package/core/actions/README.md +0 -58
  924. package/core/actions/build.config.ts +0 -187
  925. package/core/actions/package.json +0 -276
  926. package/core/actions/src/add.ts +0 -32
  927. package/core/actions/src/build/component-libs.ts +0 -5
  928. package/core/actions/src/build/core.ts +0 -6
  929. package/core/actions/src/build/stacks.ts +0 -9
  930. package/core/actions/src/build.ts +0 -93
  931. package/core/actions/src/bump.ts +0 -7
  932. package/core/actions/src/changelog.ts +0 -7
  933. package/core/actions/src/clean.ts +0 -12
  934. package/core/actions/src/commit.ts +0 -19
  935. package/core/actions/src/copy-types.ts +0 -22
  936. package/core/actions/src/deploy/domains.ts +0 -8
  937. package/core/actions/src/deploy.ts +0 -8
  938. package/core/actions/src/dev/components.ts +0 -5
  939. package/core/actions/src/dev/docs.ts +0 -5
  940. package/core/actions/src/dev/index.ts +0 -25
  941. package/core/actions/src/examples.ts +0 -48
  942. package/core/actions/src/fresh.ts +0 -7
  943. package/core/actions/src/generate/component-meta.ts +0 -15
  944. package/core/actions/src/generate/ide-helpers.ts +0 -20
  945. package/core/actions/src/generate/index.ts +0 -134
  946. package/core/actions/src/generate/lib-entries.ts +0 -17
  947. package/core/actions/src/generate/settings.ts +0 -4
  948. package/core/actions/src/generate/vscode-custom-data.ts +0 -16
  949. package/core/actions/src/generate/vue-compat.ts +0 -10
  950. package/core/actions/src/helpers/component-meta.ts +0 -93
  951. package/core/actions/src/helpers/index.ts +0 -6
  952. package/core/actions/src/helpers/lib-entries.ts +0 -138
  953. package/core/actions/src/helpers/package-json.ts +0 -96
  954. package/core/actions/src/helpers/utils.ts +0 -76
  955. package/core/actions/src/helpers/vscode-custom-data.ts +0 -28
  956. package/core/actions/src/helpers/vue-compat.ts +0 -17
  957. package/core/actions/src/index.ts +0 -1
  958. package/core/actions/src/key-generate.ts +0 -10
  959. package/core/actions/src/lint/fix.ts +0 -5
  960. package/core/actions/src/lint/index.ts +0 -17
  961. package/core/actions/src/make.ts +0 -328
  962. package/core/actions/src/migrate.ts +0 -3
  963. package/core/actions/src/preinstall.ts +0 -27
  964. package/core/actions/src/prepublish.ts +0 -16
  965. package/core/actions/src/release.ts +0 -15
  966. package/core/actions/src/seed.ts +0 -3
  967. package/core/actions/src/test/coverage.ts +0 -5
  968. package/core/actions/src/test/feature.ts +0 -5
  969. package/core/actions/src/test/ui.ts +0 -5
  970. package/core/actions/src/test/unit.ts +0 -5
  971. package/core/actions/src/test.ts +0 -5
  972. package/core/actions/src/tinker.ts +0 -10
  973. package/core/actions/src/typecheck.ts +0 -5
  974. package/core/actions/src/types.ts +0 -23
  975. package/core/actions/src/upgrade/framework.ts +0 -29
  976. package/core/actions/src/upgrade/index.ts +0 -25
  977. package/core/actions/src/upgrade/node.ts +0 -4
  978. package/core/actions/src/upgrade/package-manager.ts +0 -4
  979. package/core/actions/src/upgrade.ts +0 -75
  980. package/core/actions/tests/example.test.ts +0 -7
  981. package/core/ai/README.md +0 -62
  982. package/core/ai/build.config.ts +0 -13
  983. package/core/ai/package.json +0 -54
  984. package/core/ai/src/drivers/openai.ts +0 -1
  985. package/core/ai/tests/example.test.ts +0 -7
  986. package/core/alias/README.md +0 -62
  987. package/core/alias/build.config.ts +0 -13
  988. package/core/alias/package.json +0 -51
  989. package/core/alias/src/index.ts +0 -108
  990. package/core/alias/tests/example.test.ts +0 -7
  991. package/core/analytics/README.md +0 -62
  992. package/core/analytics/build.config.ts +0 -13
  993. package/core/analytics/package.json +0 -64
  994. package/core/analytics/src/drivers/fathom.ts +0 -1
  995. package/core/analytics/tests/example.test.ts +0 -7
  996. package/core/arrays/README.md +0 -59
  997. package/core/arrays/build.config.ts +0 -12
  998. package/core/arrays/package.json +0 -60
  999. package/core/arrays/src/contains.ts +0 -23
  1000. package/core/arrays/src/helpers.ts +0 -206
  1001. package/core/arrays/src/index.ts +0 -4
  1002. package/core/arrays/src/macro.ts +0 -135
  1003. package/core/arrays/src/math.ts +0 -19
  1004. package/core/arrays/tests/example.test.ts +0 -7
  1005. package/core/auth/README.md +0 -59
  1006. package/core/auth/build.config.ts +0 -12
  1007. package/core/auth/package.json +0 -48
  1008. package/core/auth/tests/example.test.ts +0 -7
  1009. package/core/buddy/README.md +0 -416
  1010. package/core/buddy/art/social.png +0 -0
  1011. package/core/buddy/build.config.ts +0 -14
  1012. package/core/buddy/package.json +0 -128
  1013. package/core/buddy/src/cli.ts +0 -65
  1014. package/core/buddy/src/commands/add.ts +0 -62
  1015. package/core/buddy/src/commands/build.ts +0 -149
  1016. package/core/buddy/src/commands/changelog.ts +0 -31
  1017. package/core/buddy/src/commands/clean.ts +0 -29
  1018. package/core/buddy/src/commands/commit.ts +0 -18
  1019. package/core/buddy/src/commands/create.ts +0 -126
  1020. package/core/buddy/src/commands/deploy.ts +0 -29
  1021. package/core/buddy/src/commands/dev.ts +0 -142
  1022. package/core/buddy/src/commands/example.ts +0 -59
  1023. package/core/buddy/src/commands/fresh.ts +0 -29
  1024. package/core/buddy/src/commands/generate.ts +0 -118
  1025. package/core/buddy/src/commands/index.ts +0 -27
  1026. package/core/buddy/src/commands/inspire.ts +0 -24
  1027. package/core/buddy/src/commands/key.ts +0 -28
  1028. package/core/buddy/src/commands/lint.ts +0 -45
  1029. package/core/buddy/src/commands/make.ts +0 -257
  1030. package/core/buddy/src/commands/migrate.ts +0 -31
  1031. package/core/buddy/src/commands/onboarding.ts +0 -22
  1032. package/core/buddy/src/commands/preinstall.ts +0 -18
  1033. package/core/buddy/src/commands/prepublish.ts +0 -19
  1034. package/core/buddy/src/commands/release.ts +0 -28
  1035. package/core/buddy/src/commands/seed.ts +0 -31
  1036. package/core/buddy/src/commands/setting.ts +0 -26
  1037. package/core/buddy/src/commands/setup.ts +0 -26
  1038. package/core/buddy/src/commands/test.ts +0 -118
  1039. package/core/buddy/src/commands/tinker.ts +0 -29
  1040. package/core/buddy/src/commands/types.ts +0 -26
  1041. package/core/buddy/src/commands/upgrade.ts +0 -134
  1042. package/core/buddy/src/commands/version.ts +0 -28
  1043. package/core/build/README.md +0 -59
  1044. package/core/build/build.config.ts +0 -27
  1045. package/core/build/package.json +0 -77
  1046. package/core/build/src/desktop.ts +0 -152
  1047. package/core/build/src/example-vue.ts +0 -25
  1048. package/core/build/src/example-wc.ts +0 -25
  1049. package/core/build/src/functions.ts +0 -54
  1050. package/core/build/src/index.ts +0 -7
  1051. package/core/build/src/stacks.ts +0 -200
  1052. package/core/build/src/views.ts +0 -50
  1053. package/core/build/src/vue-components.ts +0 -137
  1054. package/core/build/src/web-components.ts +0 -62
  1055. package/core/build/tests/example.test.ts +0 -7
  1056. package/core/build/web-types.ts +0 -14
  1057. package/core/cache/README.md +0 -59
  1058. package/core/cache/build.config.ts +0 -15
  1059. package/core/cache/package.json +0 -77
  1060. package/core/cache/src/drivers/memcached.ts +0 -21
  1061. package/core/cache/src/drivers/redis.ts +0 -44
  1062. package/core/cache/src/drivers/upstash.ts +0 -2
  1063. package/core/cache/src/index.ts +0 -4
  1064. package/core/cache/tests/DynamoDB.test.ts +0 -135
  1065. package/core/cache/tests/Memcached.test.ts +0 -52
  1066. package/core/cache/tests/Redis.test.ts +0 -82
  1067. package/core/cache/vite.config.ts +0 -7
  1068. package/core/chat/README.md +0 -83
  1069. package/core/chat/build.config.ts +0 -13
  1070. package/core/chat/package.json +0 -60
  1071. package/core/chat/tests/example.test.ts +0 -7
  1072. package/core/cli/README.md +0 -129
  1073. package/core/cli/build.config.ts +0 -12
  1074. package/core/cli/package.json +0 -71
  1075. package/core/cli/src/actions/install.ts +0 -40
  1076. package/core/cli/src/command.ts +0 -2
  1077. package/core/cli/src/console.ts +0 -78
  1078. package/core/cli/src/helpers.ts +0 -74
  1079. package/core/cli/src/index.ts +0 -10
  1080. package/core/cli/src/parse.ts +0 -99
  1081. package/core/cli/src/run.ts +0 -100
  1082. package/core/cli/src/utilities.ts +0 -1
  1083. package/core/cli/tests/example.test.ts +0 -7
  1084. package/core/cloud/README.md +0 -59
  1085. package/core/cloud/build.config.ts +0 -12
  1086. package/core/cloud/netlify.toml +0 -18
  1087. package/core/cloud/package.json +0 -66
  1088. package/core/cloud/src/aws/index.ts +0 -9
  1089. package/core/cloud/src/aws/logger.ts +0 -8
  1090. package/core/cloud/src/aws/metrics.ts +0 -8
  1091. package/core/cloud/src/aws/stack.ts +0 -12
  1092. package/core/cloud/src/aws/tracer.ts +0 -3
  1093. package/core/cloud/src/index.ts +0 -1
  1094. package/core/cloud/src/runtime/nodejs/bootstrap.ts +0 -16
  1095. package/core/cloud/src/runtime/nodejs/build.sh +0 -1
  1096. package/core/cloud/tests/example.test.ts +0 -7
  1097. package/core/collections/README.md +0 -71
  1098. package/core/collections/build.config.ts +0 -11
  1099. package/core/collections/package.json +0 -55
  1100. package/core/collections/tests/example.test.ts +0 -7
  1101. package/core/config/README.md +0 -71
  1102. package/core/config/build.config.ts +0 -46
  1103. package/core/config/package.json +0 -54
  1104. package/core/config/src/defaults.ts +0 -17
  1105. package/core/config/src/index.ts +0 -4
  1106. package/core/config/src/stacks.ts +0 -48
  1107. package/core/config/tests/example.test.ts +0 -7
  1108. package/core/database/README.md +0 -59
  1109. package/core/database/build.config.ts +0 -16
  1110. package/core/database/package.json +0 -64
  1111. package/core/database/src/factory/index.ts +0 -24
  1112. package/core/database/src/index.ts +0 -3
  1113. package/core/database/src/migrations/index.ts +0 -148
  1114. package/core/database/src/seeder/index.ts +0 -79
  1115. package/core/database/tests/example.test.ts +0 -7
  1116. package/core/datetime/README.md +0 -66
  1117. package/core/datetime/build.config.ts +0 -12
  1118. package/core/datetime/package.json +0 -54
  1119. package/core/datetime/tests/example.test.ts +0 -7
  1120. package/core/desktop/README.md +0 -49
  1121. package/core/desktop/build.config.ts +0 -16
  1122. package/core/desktop/package.json +0 -68
  1123. package/core/desktop/src/drivers/tauri/index.ts +0 -1
  1124. package/core/desktop/src/index.ts +0 -1
  1125. package/core/desktop/tests/example.test.ts +0 -7
  1126. package/core/development/README.md +0 -27
  1127. package/core/development/build.config.ts +0 -25
  1128. package/core/development/package.json +0 -68
  1129. package/core/development/src/index.ts +0 -4
  1130. package/core/development/tests/example.test.ts +0 -7
  1131. package/core/dns/README.md +0 -56
  1132. package/core/dns/build.config.ts +0 -18
  1133. package/core/dns/package.json +0 -55
  1134. package/core/dns/src/index.ts +0 -18
  1135. package/core/dns/tests/example.test.ts +0 -7
  1136. package/core/docs/README.md +0 -59
  1137. package/core/docs/build.config.ts +0 -15
  1138. package/core/docs/package.json +0 -54
  1139. package/core/docs/src/index.ts +0 -5
  1140. package/core/docs/tests/example.test.ts +0 -7
  1141. package/core/email/README.md +0 -155
  1142. package/core/email/build.config.ts +0 -12
  1143. package/core/email/package.json +0 -82
  1144. package/core/email/src/actions/send.ts +0 -38
  1145. package/core/email/src/drivers/emailjs.ts +0 -23
  1146. package/core/email/src/drivers/mailgun.ts +0 -21
  1147. package/core/email/src/drivers/mailjet.ts +0 -21
  1148. package/core/email/src/drivers/mandrill.ts +0 -19
  1149. package/core/email/src/drivers/netcore.ts +0 -19
  1150. package/core/email/src/drivers/nodemailer.ts +0 -23
  1151. package/core/email/src/drivers/postmark.ts +0 -19
  1152. package/core/email/src/drivers/sendgrid.ts +0 -20
  1153. package/core/email/src/drivers/ses.ts +0 -22
  1154. package/core/email/src/index.ts +0 -9
  1155. package/core/email/tests/example.test.ts +0 -7
  1156. package/core/error-handling/README.md +0 -131
  1157. package/core/error-handling/build.config.ts +0 -19
  1158. package/core/error-handling/package.json +0 -58
  1159. package/core/error-handling/src/index.ts +0 -58
  1160. package/core/error-handling/tests/example.test.ts +0 -7
  1161. package/core/events/README.md +0 -76
  1162. package/core/events/build.config.ts +0 -12
  1163. package/core/events/package.json +0 -53
  1164. package/core/events/src/index.ts +0 -38
  1165. package/core/events/tests/example.test.ts +0 -7
  1166. package/core/faker/README.md +0 -62
  1167. package/core/faker/build.config.ts +0 -17
  1168. package/core/faker/package.json +0 -55
  1169. package/core/faker/tests/example.test.ts +0 -7
  1170. package/core/git/README.md +0 -69
  1171. package/core/git/build.config.ts +0 -17
  1172. package/core/git/package.json +0 -58
  1173. package/core/git/src/index.ts +0 -1
  1174. package/core/git/tests/example.test.ts +0 -7
  1175. package/core/health/README.md +0 -56
  1176. package/core/health/build.config.ts +0 -17
  1177. package/core/health/package.json +0 -53
  1178. package/core/health/src/drivers/ohdear.ts +0 -1
  1179. package/core/health/src/index.ts +0 -1
  1180. package/core/health/src/notifications/index.ts +0 -1
  1181. package/core/health/tests/example.test.ts +0 -7
  1182. package/core/lint/README.md +0 -73
  1183. package/core/lint/build.config.ts +0 -17
  1184. package/core/lint/package.json +0 -58
  1185. package/core/lint/tests/example.test.ts +0 -7
  1186. package/core/logging/README.md +0 -58
  1187. package/core/logging/build.config.ts +0 -26
  1188. package/core/logging/package.json +0 -61
  1189. package/core/logging/src/index.ts +0 -11
  1190. package/core/logging/tests/example.test.ts +0 -7
  1191. package/core/modules/README.md +0 -51
  1192. package/core/modules/build.config.ts +0 -18
  1193. package/core/modules/package.json +0 -61
  1194. package/core/modules/src/i18n.ts +0 -23
  1195. package/core/modules/src/nprogress.ts +0 -14
  1196. package/core/modules/src/pwa.ts +0 -12
  1197. package/core/modules/tests/example.test.ts +0 -7
  1198. package/core/notifications/README.md +0 -272
  1199. package/core/notifications/build.config.ts +0 -16
  1200. package/core/notifications/package.json +0 -93
  1201. package/core/notifications/src/index.ts +0 -51
  1202. package/core/notifications/src/tailwind.config.ts +0 -39
  1203. package/core/notifications/src/utils/config.ts +0 -5
  1204. package/core/notifications/tests/chat/Slack.test.ts +0 -35
  1205. package/core/notifications/tests/email/Mailgun.test.ts +0 -41
  1206. package/core/notifications/tests/email/Sendgrid.test.ts +0 -41
  1207. package/core/notifications/tests/sms/Twilio.test.ts +0 -38
  1208. package/core/objects/README.md +0 -71
  1209. package/core/objects/build.config.ts +0 -19
  1210. package/core/objects/package.json +0 -55
  1211. package/core/objects/src/index.ts +0 -147
  1212. package/core/objects/tests/example.test.ts +0 -7
  1213. package/core/orm/README.md +0 -48
  1214. package/core/orm/build.config.ts +0 -12
  1215. package/core/orm/package.json +0 -52
  1216. package/core/orm/src/index.ts +0 -43
  1217. package/core/orm/tests/example.test.ts +0 -7
  1218. package/core/pages/build.config.ts +0 -12
  1219. package/core/pages/package.json +0 -57
  1220. package/core/pages/src/index.ts +0 -39
  1221. package/core/pages/tests/example.test.ts +0 -7
  1222. package/core/path/README.md +0 -64
  1223. package/core/path/build.config.ts +0 -16
  1224. package/core/path/package.json +0 -55
  1225. package/core/path/src/index.ts +0 -486
  1226. package/core/path/tests/example.test.ts +0 -7
  1227. package/core/payments/README.md +0 -64
  1228. package/core/payments/build.config.ts +0 -12
  1229. package/core/payments/package.json +0 -58
  1230. package/core/payments/src/drivers/stripe.ts +0 -137
  1231. package/core/payments/tests/example.test.ts +0 -7
  1232. package/core/push/README.md +0 -71
  1233. package/core/push/build.config.ts +0 -12
  1234. package/core/push/package.json +0 -56
  1235. package/core/push/src/drivers/expo.ts +0 -21
  1236. package/core/push/src/drivers/fcm.ts +0 -21
  1237. package/core/push/src/index.ts +0 -2
  1238. package/core/push/tests/example.test.ts +0 -7
  1239. package/core/query-builder/README.md +0 -48
  1240. package/core/query-builder/build.config.ts +0 -12
  1241. package/core/query-builder/package.json +0 -56
  1242. package/core/query-builder/src/kysely.ts +0 -37
  1243. package/core/query-builder/tests/example.test.ts +0 -7
  1244. package/core/queue/README.md +0 -59
  1245. package/core/queue/build.config.ts +0 -12
  1246. package/core/queue/package.json +0 -53
  1247. package/core/queue/src/index.ts +0 -1
  1248. package/core/queue/tests/example.test.ts +0 -7
  1249. package/core/realtime/README.md +0 -59
  1250. package/core/realtime/build.config.ts +0 -12
  1251. package/core/realtime/package.json +0 -50
  1252. package/core/realtime/src/drivers/index.ts +0 -3
  1253. package/core/realtime/src/index.ts +0 -5
  1254. package/core/realtime/tests/example.test.ts +0 -7
  1255. package/core/repl/README.md +0 -53
  1256. package/core/repl/build.config.ts +0 -12
  1257. package/core/repl/package.json +0 -56
  1258. package/core/repl/tests/example.test.ts +0 -7
  1259. package/core/router/README.md +0 -59
  1260. package/core/router/build.config.ts +0 -17
  1261. package/core/router/package.json +0 -53
  1262. package/core/router/src/index.ts +0 -120
  1263. package/core/router/tests/example.test.ts +0 -7
  1264. package/core/scheduler/README.md +0 -137
  1265. package/core/scheduler/build.config.ts +0 -12
  1266. package/core/scheduler/package.json +0 -51
  1267. package/core/scheduler/src/index.ts +0 -120
  1268. package/core/scheduler/tests/example.test.ts +0 -7
  1269. package/core/search-engine/README.md +0 -66
  1270. package/core/search-engine/build.config.ts +0 -20
  1271. package/core/search-engine/package.json +0 -65
  1272. package/core/search-engine/src/drivers/meilisearch.ts +0 -39
  1273. package/core/search-engine/src/helpers.ts +0 -134
  1274. package/core/search-engine/src/index.ts +0 -67
  1275. package/core/search-engine/tests/example.test.ts +0 -7
  1276. package/core/security/README.md +0 -66
  1277. package/core/security/build.config.ts +0 -21
  1278. package/core/security/package.json +0 -57
  1279. package/core/security/src/crypt.ts +0 -23
  1280. package/core/security/src/hash.ts +0 -52
  1281. package/core/security/src/key.ts +0 -11
  1282. package/core/security/tests/example.test.ts +0 -7
  1283. package/core/server/README.md +0 -51
  1284. package/core/server/build.config.ts +0 -11
  1285. package/core/server/package.json +0 -59
  1286. package/core/server/src/config.ts +0 -7
  1287. package/core/server/src/index.ts +0 -2
  1288. package/core/server/src/nitro.config.ts +0 -7
  1289. package/core/server/tests/example.test.ts +0 -7
  1290. package/core/signals/README.md +0 -105
  1291. package/core/signals/build.config.ts +0 -12
  1292. package/core/signals/package.json +0 -55
  1293. package/core/signals/tests/example.test.ts +0 -7
  1294. package/core/slug/README.md +0 -59
  1295. package/core/slug/build.config.ts +0 -12
  1296. package/core/slug/package.json +0 -55
  1297. package/core/slug/src/index.ts +0 -57
  1298. package/core/slug/tests/example.test.ts +0 -7
  1299. package/core/sms/README.md +0 -137
  1300. package/core/sms/build.config.ts +0 -17
  1301. package/core/sms/package.json +0 -72
  1302. package/core/sms/src/index.ts +0 -8
  1303. package/core/sms/tests/example.test.ts +0 -7
  1304. package/core/storage/README.md +0 -74
  1305. package/core/storage/build.config.ts +0 -12
  1306. package/core/storage/package.json +0 -61
  1307. package/core/storage/src/index.ts +0 -208
  1308. package/core/storage/tests/example.test.ts +0 -7
  1309. package/core/strings/README.md +0 -77
  1310. package/core/strings/build.config.ts +0 -12
  1311. package/core/strings/package.json +0 -78
  1312. package/core/strings/src/case.ts +0 -27
  1313. package/core/strings/src/index.ts +0 -4
  1314. package/core/strings/src/macro.ts +0 -139
  1315. package/core/strings/src/pluralize.ts +0 -5
  1316. package/core/strings/src/utils.ts +0 -120
  1317. package/core/strings/tests/example.test.ts +0 -7
  1318. package/core/testing/README.md +0 -59
  1319. package/core/testing/build.config.ts +0 -17
  1320. package/core/testing/package.json +0 -62
  1321. package/core/testing/src/index.ts +0 -3
  1322. package/core/tinker/README.md +0 -61
  1323. package/core/tinker/build.config.ts +0 -13
  1324. package/core/tinker/package.json +0 -58
  1325. package/core/tinker/src/index.ts +0 -1
  1326. package/core/tinker/src/tinker.ts +0 -2
  1327. package/core/types/README.md +0 -59
  1328. package/core/types/build.config.ts +0 -37
  1329. package/core/types/package.json +0 -88
  1330. package/core/types/src/app.ts +0 -119
  1331. package/core/types/src/cache.ts +0 -78
  1332. package/core/types/src/cdn.ts +0 -15
  1333. package/core/types/src/cli.ts +0 -303
  1334. package/core/types/src/components.ts +0 -64
  1335. package/core/types/src/cron-jobs.ts +0 -38
  1336. package/core/types/src/database.ts +0 -49
  1337. package/core/types/src/debug.ts +0 -6
  1338. package/core/types/src/deploy.ts +0 -8
  1339. package/core/types/src/dns.ts +0 -49
  1340. package/core/types/src/docs.ts +0 -5
  1341. package/core/types/src/errors.ts +0 -24
  1342. package/core/types/src/events.ts +0 -30
  1343. package/core/types/src/fs.ts +0 -30
  1344. package/core/types/src/git.ts +0 -131
  1345. package/core/types/src/hashing.ts +0 -122
  1346. package/core/types/src/index.ts +0 -40
  1347. package/core/types/src/layout.ts +0 -8
  1348. package/core/types/src/library.ts +0 -146
  1349. package/core/types/src/model.ts +0 -59
  1350. package/core/types/src/money.ts +0 -3
  1351. package/core/types/src/notifications.ts +0 -205
  1352. package/core/types/src/payments.ts +0 -63
  1353. package/core/types/src/queue.ts +0 -34
  1354. package/core/types/src/router.ts +0 -52
  1355. package/core/types/src/search-engine.ts +0 -166
  1356. package/core/types/src/ssg.ts +0 -3
  1357. package/core/types/src/stacks.ts +0 -192
  1358. package/core/types/src/ui.ts +0 -193
  1359. package/core/types/src/utils.ts +0 -43
  1360. package/core/ui/README.md +0 -66
  1361. package/core/ui/build.config.ts +0 -13
  1362. package/core/ui/package.json +0 -69
  1363. package/core/ui/src/index.ts +0 -20
  1364. package/core/ui/src/unocss.config.ts +0 -47
  1365. package/core/ui/src/unocss.ts +0 -45
  1366. package/core/ui/tests/example.test.ts +0 -7
  1367. package/core/utils/build.config.ts +0 -36
  1368. package/core/utils/package.json +0 -102
  1369. package/core/utils/src/base.ts +0 -25
  1370. package/core/utils/src/config.ts +0 -135
  1371. package/core/utils/src/delete.ts +0 -1
  1372. package/core/utils/src/equal.ts +0 -27
  1373. package/core/utils/src/helpers.ts +0 -169
  1374. package/core/utils/src/index.ts +0 -15
  1375. package/core/utils/src/math.ts +0 -30
  1376. package/core/utils/src/promise.ts +0 -124
  1377. package/core/utils/src/throttle.ts +0 -42
  1378. package/core/utils/src/vendors.ts +0 -222
  1379. package/core/utils/src/versions.ts +0 -1
  1380. package/core/utils/tests/example.test.ts +0 -7
  1381. package/core/validation/README.md +0 -53
  1382. package/core/validation/build.config.ts +0 -21
  1383. package/core/validation/package.json +0 -56
  1384. package/core/validation/src/is.ts +0 -110
  1385. package/core/validation/src/rules.ts +0 -126
  1386. package/core/validation/src/types/env.ts +0 -147
  1387. package/core/validation/src/types/index.ts +0 -2
  1388. package/core/validation/src/types/money.ts +0 -17
  1389. package/core/validation/src/validate.ts +0 -18
  1390. package/core/validation/tests/example.test.ts +0 -7
  1391. package/core/vite-plugin/README.md +0 -59
  1392. package/core/vite-plugin/build.config.ts +0 -17
  1393. package/core/vite-plugin/package.json +0 -51
  1394. package/core/vite-plugin/src/index.ts +0 -23
  1395. package/core/vite-plugin/tests/example.test.ts +0 -7
  1396. package/dictionary.txt +0 -228
  1397. package/docs/.vitepress/config.ts +0 -9
  1398. package/docs/README.md +0 -13
  1399. package/docs/package.json +0 -47
  1400. package/env.d.ts +0 -7
  1401. package/ide/jetbrains/.idea/.gitignore +0 -5
  1402. package/libs/components/vue/index.html +0 -13
  1403. package/libs/components/vue/main.ts +0 -19
  1404. package/libs/components/vue/package.json +0 -41
  1405. package/libs/components/web/package.json +0 -41
  1406. package/libs/examples/vue/App.vue +0 -12
  1407. package/libs/examples/vue/favicon.png +0 -0
  1408. package/libs/examples/vue/index.html +0 -20
  1409. package/libs/examples/web/favicon.png +0 -0
  1410. package/libs/examples/web/index.html +0 -13
  1411. package/libs/functions/package.json +0 -41
  1412. package/reset.d.ts +0 -1
  1413. package/scripts/ensure.sh +0 -33
  1414. package/scripts/publish.sh +0 -18
  1415. package/scripts/setup.sh +0 -540
  1416. package/shims.d.ts +0 -17
  1417. package/simple-git-hooks.cjs +0 -5
  1418. package/stacks/dashboard/README.md +0 -74
  1419. package/stacks/dashboard/build.config.ts +0 -15
  1420. package/stacks/dashboard/package.json +0 -47
  1421. package/stacks/dashboard/tests/example.test.ts +0 -7
  1422. package/stacks/tables/README.md +0 -109
  1423. package/stacks/tables/build.config.ts +0 -14
  1424. package/stacks/tables/examples/vue/App.vue +0 -12
  1425. package/stacks/tables/examples/vue/favicon.png +0 -0
  1426. package/stacks/tables/examples/vue/index.html +0 -20
  1427. package/stacks/tables/examples/web/favicon.png +0 -0
  1428. package/stacks/tables/examples/web/index.html +0 -13
  1429. package/stacks/tables/package.json +0 -57
  1430. package/stacks/tables/src/App.vue +0 -23
  1431. package/stacks/tables/src/cli/index.ts +0 -1
  1432. package/stacks/tables/src/components/README.md +0 -110
  1433. package/stacks/tables/src/components/Table.vue +0 -342
  1434. package/stacks/tables/src/components/TableBody.vue +0 -32
  1435. package/stacks/tables/src/components/TableFilters.vue +0 -704
  1436. package/stacks/tables/src/components/TableHead.vue +0 -60
  1437. package/stacks/tables/src/components/TablePagination.vue +0 -131
  1438. package/stacks/tables/src/components/TableRow.vue +0 -73
  1439. package/stacks/tables/src/components/TableSearch.vue +0 -39
  1440. package/stacks/tables/src/components/Tooltip.vue +0 -10
  1441. package/stacks/tables/src/config/tables.ts +0 -1
  1442. package/stacks/tables/src/main.ts +0 -4
  1443. package/stacks/tables/tests/example.test.ts +0 -7
  1444. package/stacks/tables/vite.config.ts +0 -26
  1445. package/stacks/tinker/package.json +0 -49
  1446. package/stacks/tinker/src/index.ts +0 -1
  1447. package/stacks/x-ray/README.md +0 -55
  1448. package/stacks/x-ray/build.config.ts +0 -15
  1449. package/stacks/x-ray/package.json +0 -56
  1450. package/stacks/x-ray/src/client.ts +0 -14
  1451. package/stacks/x-ray/src/desktop/api/nitro.config.ts +0 -19
  1452. package/stacks/x-ray/src/desktop/api/storage/index.ts +0 -7
  1453. package/stacks/x-ray/src/desktop/app.vue +0 -377
  1454. package/stacks/x-ray/src/desktop/functions/http.ts +0 -26
  1455. package/stacks/x-ray/src/desktop/main.ts +0 -14
  1456. package/stacks/x-ray/src/http.ts +0 -26
  1457. package/stacks/x-ray/src/index.ts +0 -42
  1458. package/stacks/x-ray/tests/example.test.ts +0 -7
  1459. package/stacks.d.ts +0 -22
  1460. package/tsconfig.json +0 -159
  1461. package/views/desktop/.gitignore +0 -24
  1462. package/views/desktop/README.md +0 -73
  1463. package/views/desktop/index.html +0 -13
  1464. package/views/desktop/package.json +0 -29
  1465. package/views/desktop/public/favicon.svg +0 -1
  1466. package/views/desktop/src/.gitignore +0 -3
  1467. package/views/desktop/src/Cargo.lock +0 -3916
  1468. package/views/desktop/src/Cargo.toml +0 -28
  1469. package/views/desktop/src/build.rs +0 -3
  1470. package/views/desktop/src/icons/128x128.png +0 -0
  1471. package/views/desktop/src/icons/128x128@2x.png +0 -0
  1472. package/views/desktop/src/icons/32x32.png +0 -0
  1473. package/views/desktop/src/icons/Square107x107Logo.png +0 -0
  1474. package/views/desktop/src/icons/Square142x142Logo.png +0 -0
  1475. package/views/desktop/src/icons/Square150x150Logo.png +0 -0
  1476. package/views/desktop/src/icons/Square284x284Logo.png +0 -0
  1477. package/views/desktop/src/icons/Square30x30Logo.png +0 -0
  1478. package/views/desktop/src/icons/Square310x310Logo.png +0 -0
  1479. package/views/desktop/src/icons/Square44x44Logo.png +0 -0
  1480. package/views/desktop/src/icons/Square71x71Logo.png +0 -0
  1481. package/views/desktop/src/icons/Square89x89Logo.png +0 -0
  1482. package/views/desktop/src/icons/StoreLogo.png +0 -0
  1483. package/views/desktop/src/icons/icon.icns +0 -0
  1484. package/views/desktop/src/icons/icon.ico +0 -0
  1485. package/views/desktop/src/icons/icon.png +0 -0
  1486. package/views/desktop/src/src/main.rs +0 -10
  1487. package/views/desktop/src/tauri.conf.json +0 -73
  1488. package/views/web/App.vue +0 -26
  1489. package/views/web/index.html +0 -23
  1490. package/views/web/main.ts +0 -26
  1491. package/views/web/public/_headers +0 -3
  1492. package/views/web/public/favicon-dark.svg +0 -3
  1493. package/views/web/public/favicon.svg +0 -3
  1494. package/views/web/public/pwa-192x192.png +0 -0
  1495. package/views/web/public/pwa-512x512.png +0 -0
  1496. package/views/web/public/safari-pinned-tab.svg +0 -41
  1497. package/views/web/styles/main.css +0 -29
  1498. package/views/web/styles/markdown.css +0 -28
  1499. package/vitest.config.ts +0 -31
  1500. package/web-types.json +0 -67
  1501. /package/{custom-elements.json → core/custom-elements.json} +0 -0
  1502. /package/core/{actions → src/actions}/src/upgrade/dependencies.ts +0 -0
  1503. /package/{stacks/dashboard/src/index.ts → core/src/ai/src/chatbots.ts} +0 -0
  1504. /package/{stacks/tables/src/docs/index.md → core/src/ai/src/image-generation.ts} +0 -0
  1505. /package/{stacks/x-ray/src/desktop/plugins/unified/unified-styles.scss → core/src/ai/src/personalization.ts} +0 -0
  1506. /package/{stacks/x-ray/src/desktop/styles/app.scss → core/src/ai/src/search.ts} +0 -0
  1507. /package/core/{auth → src/auth}/src/index.ts +0 -0
  1508. /package/core/{buddy → src/buddy}/src/index.ts +0 -0
  1509. /package/core/{build → src/build}/web-types.config.cjs +0 -0
  1510. /package/core/{cache → src/cache}/src/drivers/dynamodb.ts +0 -0
  1511. /package/core/{chat → src/chat}/src/drivers/discord.ts +0 -0
  1512. /package/core/{chat → src/chat}/src/drivers/slack.ts +0 -0
  1513. /package/core/{chat → src/chat}/src/drivers/teams.ts +0 -0
  1514. /package/core/{chat → src/chat}/src/index.ts +0 -0
  1515. /package/core/{cli → src/cli}/src/actions/index.ts +0 -0
  1516. /package/core/{cli → src/cli}/src/spinner.ts +0 -0
  1517. /package/core/{collections → src/collections}/src/index.ts +0 -0
  1518. /package/core/{datetime → src/datetime}/src/index.ts +0 -0
  1519. /package/core/{email → src/email}/src/tailwind.config.ts +0 -0
  1520. /package/core/{email → src/email}/src/utils/config.ts +0 -0
  1521. /package/core/{email → src/email}/src/utils/template.html +0 -0
  1522. /package/core/{faker → src/faker}/src/index.ts +0 -0
  1523. /package/core/{lint → src/lint}/src/index.ts +0 -0
  1524. /package/core/{notifications → src/notifications}/src/drivers/chat.ts +0 -0
  1525. /package/core/{notifications → src/notifications}/src/drivers/email.ts +0 -0
  1526. /package/core/{notifications → src/notifications}/src/drivers/push.ts +0 -0
  1527. /package/core/{notifications → src/notifications}/src/drivers/sms.ts +0 -0
  1528. /package/core/{notifications → src/notifications}/src/utils/template.html +0 -0
  1529. /package/core/{payments → src/payments}/src/index.ts +0 -0
  1530. /package/core/{query-builder → src/query-builder}/src/index.ts +0 -0
  1531. /package/core/{repl → src/repl}/src/index.ts +0 -0
  1532. /package/core/{security → src/security}/src/index.ts +0 -0
  1533. /package/core/{signals → src/signals}/src/index.ts +0 -0
  1534. /package/core/{sms → src/sms}/src/drivers/gupshup.ts +0 -0
  1535. /package/core/{sms → src/sms}/src/drivers/nexmo.ts +0 -0
  1536. /package/core/{sms → src/sms}/src/drivers/plivo.ts +0 -0
  1537. /package/core/{sms → src/sms}/src/drivers/sms77.ts +0 -0
  1538. /package/core/{sms → src/sms}/src/drivers/sns.ts +0 -0
  1539. /package/core/{sms → src/sms}/src/drivers/telnyx.ts +0 -0
  1540. /package/core/{sms → src/sms}/src/drivers/termii.ts +0 -0
  1541. /package/core/{sms → src/sms}/src/drivers/twilio.ts +0 -0
  1542. /package/core/{strings → src/strings}/src/is.ts +0 -0
  1543. /package/{stacks → core/src}/tables/index.html +0 -0
  1544. /package/core/{ai/src → src/tables/src/commands}/index.ts +0 -0
  1545. /package/{stacks/tables/src/components/Demo.vue → core/src/tables/src/components/Demo.stx} +0 -0
  1546. /package/{stacks/tables/src/components/TableCellActionItems.vue → core/src/tables/src/components/TableCellActionItems.stx} +0 -0
  1547. /package/{stacks → core/src}/tables/src/functions/README.md +0 -0
  1548. /package/{stacks → core/src}/tables/src/functions/dark.ts +0 -0
  1549. /package/{stacks → core/src}/tables/src/functions/index.ts +0 -0
  1550. /package/{stacks → core/src}/tables/src/functions/table.ts +0 -0
  1551. /package/core/{analytics → src/tinker}/src/index.ts +0 -0
  1552. /package/core/{types → src/types}/src/auto-imports.ts +0 -0
  1553. /package/core/{types → src/types}/src/build.ts +0 -0
  1554. /package/core/{types → src/types}/src/exit-code.ts +0 -0
  1555. /package/core/{types → src/types}/src/i18n.ts +0 -0
  1556. /package/core/{types → src/types}/src/inspect.ts +0 -0
  1557. /package/core/{types → src/types}/src/manifest.ts +0 -0
  1558. /package/core/{types → src/types}/src/pages.ts +0 -0
  1559. /package/core/{types → src/types}/src/promise.ts +0 -0
  1560. /package/core/{types → src/types}/src/pwa.ts +0 -0
  1561. /package/core/{types → src/types}/src/reactivity.ts +0 -0
  1562. /package/core/{types → src/types}/src/tables.ts +0 -0
  1563. /package/core/{utils → src/utils}/src/currency.ts +0 -0
  1564. /package/core/{utils → src/utils}/src/debounce.ts +0 -0
  1565. /package/core/{utils → src/utils}/src/function.ts +0 -0
  1566. /package/core/{utils → src/utils}/src/guards.ts +0 -0
  1567. /package/core/{utils → src/utils}/src/p.ts +0 -0
  1568. /package/core/{validation → src/validation}/src/index.ts +0 -0
  1569. /package/{stacks → core/src}/x-ray/index.html +0 -0
  1570. /package/{stacks → core/src}/x-ray/routes/index.ts +0 -0
  1571. /package/{stacks → core/src}/x-ray/src/desktop/api/routes/api/logs.ts +0 -0
  1572. /package/{stacks → core/src}/x-ray/src/desktop/api/routes/api/store-logs.ts +0 -0
  1573. /package/{stacks → core/src}/x-ray/src/desktop/api/src/types.ts +0 -0
  1574. /package/{stacks → core/src}/x-ray/src/desktop/functions/types.ts +0 -0
  1575. /package/{stacks/x-ray/src/desktop/modules/counter/mod.vue → core/src/x-ray/src/desktop/modules/counter/mod.stx} +0 -0
  1576. /package/{stacks/x-ray/src/desktop/modules/fetcher/mod.vue → core/src/x-ray/src/desktop/modules/fetcher/mod.stx} +0 -0
  1577. /package/{stacks → core/src}/x-ray/src/desktop/plugins/unified/unified-app.ts +0 -0
  1578. /package/{stacks → core/src}/x-ray/src/desktop/services/http.ts +0 -0
  1579. /package/{stacks → core/src}/x-ray/src/ray.config.ts +0 -0
  1580. /package/{stacks → core/src}/x-ray/src/types.ts +0 -0
@@ -0,0 +1,1809 @@
1
+ // @bun
2
+ var __defProp = Object.defineProperty;
3
+ var __export = (target, all) => {
4
+ for (var name in all)
5
+ __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true,
8
+ configurable: true,
9
+ set: (newValue) => all[name] = () => newValue
10
+ });
11
+ };
12
+ var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
13
+
14
+ // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/core.mjs
15
+ class Consola {
16
+ constructor(options = {}) {
17
+ const types = options.types || LogTypes;
18
+ this.options = defu({
19
+ ...options,
20
+ defaults: { ...options.defaults },
21
+ level: _normalizeLogLevel(options.level, types),
22
+ reporters: [...options.reporters || []]
23
+ }, {
24
+ types: LogTypes,
25
+ throttle: 1000,
26
+ throttleMin: 5,
27
+ formatOptions: {
28
+ date: true,
29
+ colors: false,
30
+ compact: true
31
+ }
32
+ });
33
+ for (const type in types) {
34
+ const defaults = {
35
+ type,
36
+ ...this.options.defaults,
37
+ ...types[type]
38
+ };
39
+ this[type] = this._wrapLogFn(defaults);
40
+ this[type].raw = this._wrapLogFn(defaults, true);
41
+ }
42
+ if (this.options.mockFn) {
43
+ this.mockTypes();
44
+ }
45
+ this._lastLog = {};
46
+ }
47
+ get level() {
48
+ return this.options.level;
49
+ }
50
+ set level(level) {
51
+ this.options.level = _normalizeLogLevel(level, this.options.types, this.options.level);
52
+ }
53
+ prompt(message, opts) {
54
+ if (!this.options.prompt) {
55
+ throw new Error("prompt is not supported!");
56
+ }
57
+ return this.options.prompt(message, opts);
58
+ }
59
+ create(options) {
60
+ const instance = new Consola({
61
+ ...this.options,
62
+ ...options
63
+ });
64
+ if (this._mockFn) {
65
+ instance.mockTypes(this._mockFn);
66
+ }
67
+ return instance;
68
+ }
69
+ withDefaults(defaults) {
70
+ return this.create({
71
+ ...this.options,
72
+ defaults: {
73
+ ...this.options.defaults,
74
+ ...defaults
75
+ }
76
+ });
77
+ }
78
+ withTag(tag) {
79
+ return this.withDefaults({
80
+ tag: this.options.defaults.tag ? this.options.defaults.tag + ":" + tag : tag
81
+ });
82
+ }
83
+ addReporter(reporter) {
84
+ this.options.reporters.push(reporter);
85
+ return this;
86
+ }
87
+ removeReporter(reporter) {
88
+ if (reporter) {
89
+ const i = this.options.reporters.indexOf(reporter);
90
+ if (i >= 0) {
91
+ return this.options.reporters.splice(i, 1);
92
+ }
93
+ } else {
94
+ this.options.reporters.splice(0);
95
+ }
96
+ return this;
97
+ }
98
+ setReporters(reporters) {
99
+ this.options.reporters = Array.isArray(reporters) ? reporters : [reporters];
100
+ return this;
101
+ }
102
+ wrapAll() {
103
+ this.wrapConsole();
104
+ this.wrapStd();
105
+ }
106
+ restoreAll() {
107
+ this.restoreConsole();
108
+ this.restoreStd();
109
+ }
110
+ wrapConsole() {
111
+ for (const type in this.options.types) {
112
+ if (!console["__" + type]) {
113
+ console["__" + type] = console[type];
114
+ }
115
+ console[type] = this[type].raw;
116
+ }
117
+ }
118
+ restoreConsole() {
119
+ for (const type in this.options.types) {
120
+ if (console["__" + type]) {
121
+ console[type] = console["__" + type];
122
+ delete console["__" + type];
123
+ }
124
+ }
125
+ }
126
+ wrapStd() {
127
+ this._wrapStream(this.options.stdout, "log");
128
+ this._wrapStream(this.options.stderr, "log");
129
+ }
130
+ _wrapStream(stream, type) {
131
+ if (!stream) {
132
+ return;
133
+ }
134
+ if (!stream.__write) {
135
+ stream.__write = stream.write;
136
+ }
137
+ stream.write = (data) => {
138
+ this[type].raw(String(data).trim());
139
+ };
140
+ }
141
+ restoreStd() {
142
+ this._restoreStream(this.options.stdout);
143
+ this._restoreStream(this.options.stderr);
144
+ }
145
+ _restoreStream(stream) {
146
+ if (!stream) {
147
+ return;
148
+ }
149
+ if (stream.__write) {
150
+ stream.write = stream.__write;
151
+ delete stream.__write;
152
+ }
153
+ }
154
+ pauseLogs() {
155
+ paused = true;
156
+ }
157
+ resumeLogs() {
158
+ paused = false;
159
+ const _queue = queue.splice(0);
160
+ for (const item of _queue) {
161
+ item[0]._logFn(item[1], item[2]);
162
+ }
163
+ }
164
+ mockTypes(mockFn) {
165
+ const _mockFn = mockFn || this.options.mockFn;
166
+ this._mockFn = _mockFn;
167
+ if (typeof _mockFn !== "function") {
168
+ return;
169
+ }
170
+ for (const type in this.options.types) {
171
+ this[type] = _mockFn(type, this.options.types[type]) || this[type];
172
+ this[type].raw = this[type];
173
+ }
174
+ }
175
+ _wrapLogFn(defaults, isRaw) {
176
+ return (...args) => {
177
+ if (paused) {
178
+ queue.push([this, defaults, args, isRaw]);
179
+ return;
180
+ }
181
+ return this._logFn(defaults, args, isRaw);
182
+ };
183
+ }
184
+ _logFn(defaults, args, isRaw) {
185
+ if ((defaults.level || 0) > this.level) {
186
+ return false;
187
+ }
188
+ const logObj = {
189
+ date: new Date,
190
+ args: [],
191
+ ...defaults,
192
+ level: _normalizeLogLevel(defaults.level, this.options.types)
193
+ };
194
+ if (!isRaw && args.length === 1 && isLogObj(args[0])) {
195
+ Object.assign(logObj, args[0]);
196
+ } else {
197
+ logObj.args = [...args];
198
+ }
199
+ if (logObj.message) {
200
+ logObj.args.unshift(logObj.message);
201
+ delete logObj.message;
202
+ }
203
+ if (logObj.additional) {
204
+ if (!Array.isArray(logObj.additional)) {
205
+ logObj.additional = logObj.additional.split("\n");
206
+ }
207
+ logObj.args.push("\n" + logObj.additional.join("\n"));
208
+ delete logObj.additional;
209
+ }
210
+ logObj.type = typeof logObj.type === "string" ? logObj.type.toLowerCase() : "log";
211
+ logObj.tag = typeof logObj.tag === "string" ? logObj.tag : "";
212
+ const resolveLog = (newLog = false) => {
213
+ const repeated = (this._lastLog.count || 0) - this.options.throttleMin;
214
+ if (this._lastLog.object && repeated > 0) {
215
+ const args2 = [...this._lastLog.object.args];
216
+ if (repeated > 1) {
217
+ args2.push(`(repeated ${repeated} times)`);
218
+ }
219
+ this._log({ ...this._lastLog.object, args: args2 });
220
+ this._lastLog.count = 1;
221
+ }
222
+ if (newLog) {
223
+ this._lastLog.object = logObj;
224
+ this._log(logObj);
225
+ }
226
+ };
227
+ clearTimeout(this._lastLog.timeout);
228
+ const diffTime = this._lastLog.time && logObj.date ? logObj.date.getTime() - this._lastLog.time.getTime() : 0;
229
+ this._lastLog.time = logObj.date;
230
+ if (diffTime < this.options.throttle) {
231
+ try {
232
+ const serializedLog = JSON.stringify([
233
+ logObj.type,
234
+ logObj.tag,
235
+ logObj.args
236
+ ]);
237
+ const isSameLog = this._lastLog.serialized === serializedLog;
238
+ this._lastLog.serialized = serializedLog;
239
+ if (isSameLog) {
240
+ this._lastLog.count = (this._lastLog.count || 0) + 1;
241
+ if (this._lastLog.count > this.options.throttleMin) {
242
+ this._lastLog.timeout = setTimeout(resolveLog, this.options.throttle);
243
+ return;
244
+ }
245
+ }
246
+ } catch {
247
+ }
248
+ }
249
+ resolveLog(true);
250
+ }
251
+ _log(logObj) {
252
+ for (const reporter of this.options.reporters) {
253
+ reporter.log(logObj, {
254
+ options: this.options
255
+ });
256
+ }
257
+ }
258
+ }
259
+ var isObject, _defu, createDefu, isPlainObject, isLogObj, _normalizeLogLevel, createConsola, LogLevels, LogTypes, defu, paused, queue;
260
+ var init_core = __esm(() => {
261
+ isObject = function(value) {
262
+ return value !== null && typeof value === "object";
263
+ };
264
+ _defu = function(baseObject, defaults, namespace = ".", merger) {
265
+ if (!isObject(defaults)) {
266
+ return _defu(baseObject, {}, namespace, merger);
267
+ }
268
+ const object = Object.assign({}, defaults);
269
+ for (const key in baseObject) {
270
+ if (key === "__proto__" || key === "constructor") {
271
+ continue;
272
+ }
273
+ const value = baseObject[key];
274
+ if (value === null || value === undefined) {
275
+ continue;
276
+ }
277
+ if (merger && merger(object, key, value, namespace)) {
278
+ continue;
279
+ }
280
+ if (Array.isArray(value) && Array.isArray(object[key])) {
281
+ object[key] = [...value, ...object[key]];
282
+ } else if (isObject(value) && isObject(object[key])) {
283
+ object[key] = _defu(value, object[key], (namespace ? `${namespace}.` : "") + key.toString(), merger);
284
+ } else {
285
+ object[key] = value;
286
+ }
287
+ }
288
+ return object;
289
+ };
290
+ createDefu = function(merger) {
291
+ return (...arguments_) => arguments_.reduce((p, c) => _defu(p, c, "", merger), {});
292
+ };
293
+ isPlainObject = function(obj) {
294
+ return Object.prototype.toString.call(obj) === "[object Object]";
295
+ };
296
+ isLogObj = function(arg) {
297
+ if (!isPlainObject(arg)) {
298
+ return false;
299
+ }
300
+ if (!arg.message && !arg.args) {
301
+ return false;
302
+ }
303
+ if (arg.stack) {
304
+ return false;
305
+ }
306
+ return true;
307
+ };
308
+ _normalizeLogLevel = function(input, types = {}, defaultLevel = 3) {
309
+ if (input === undefined) {
310
+ return defaultLevel;
311
+ }
312
+ if (typeof input === "number") {
313
+ return input;
314
+ }
315
+ if (types[input] && types[input].level !== undefined) {
316
+ return types[input].level;
317
+ }
318
+ return defaultLevel;
319
+ };
320
+ createConsola = function(options = {}) {
321
+ return new Consola(options);
322
+ };
323
+ LogLevels = {
324
+ silent: Number.NEGATIVE_INFINITY,
325
+ fatal: 0,
326
+ error: 0,
327
+ warn: 1,
328
+ log: 2,
329
+ info: 3,
330
+ success: 3,
331
+ fail: 3,
332
+ ready: 3,
333
+ start: 3,
334
+ box: 3,
335
+ debug: 4,
336
+ trace: 5,
337
+ verbose: Number.POSITIVE_INFINITY
338
+ };
339
+ LogTypes = {
340
+ silent: {
341
+ level: -1
342
+ },
343
+ fatal: {
344
+ level: LogLevels.fatal
345
+ },
346
+ error: {
347
+ level: LogLevels.error
348
+ },
349
+ warn: {
350
+ level: LogLevels.warn
351
+ },
352
+ log: {
353
+ level: LogLevels.log
354
+ },
355
+ info: {
356
+ level: LogLevels.info
357
+ },
358
+ success: {
359
+ level: LogLevels.success
360
+ },
361
+ fail: {
362
+ level: LogLevels.fail
363
+ },
364
+ ready: {
365
+ level: LogLevels.info
366
+ },
367
+ start: {
368
+ level: LogLevels.info
369
+ },
370
+ box: {
371
+ level: LogLevels.info
372
+ },
373
+ debug: {
374
+ level: LogLevels.debug
375
+ },
376
+ trace: {
377
+ level: LogLevels.trace
378
+ },
379
+ verbose: {
380
+ level: LogLevels.verbose
381
+ }
382
+ };
383
+ defu = createDefu();
384
+ paused = false;
385
+ queue = [];
386
+ Consola.prototype.add = Consola.prototype.addReporter;
387
+ Consola.prototype.remove = Consola.prototype.removeReporter;
388
+ Consola.prototype.clear = Consola.prototype.removeReporter;
389
+ Consola.prototype.withScope = Consola.prototype.withTag;
390
+ Consola.prototype.mock = Consola.prototype.mockTypes;
391
+ Consola.prototype.pause = Consola.prototype.pauseLogs;
392
+ Consola.prototype.resume = Consola.prototype.resumeLogs;
393
+ });
394
+
395
+ // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/shared/consola.06ad8a64.mjs
396
+ import {formatWithOptions} from "util";
397
+ import {sep} from "path";
398
+
399
+ class BasicReporter {
400
+ formatStack(stack, opts) {
401
+ return " " + parseStack(stack).join("\n ");
402
+ }
403
+ formatArgs(args, opts) {
404
+ const _args = args.map((arg) => {
405
+ if (arg && typeof arg.stack === "string") {
406
+ return arg.message + "\n" + this.formatStack(arg.stack, opts);
407
+ }
408
+ return arg;
409
+ });
410
+ return formatWithOptions(opts, ..._args);
411
+ }
412
+ formatDate(date, opts) {
413
+ return opts.date ? date.toLocaleTimeString() : "";
414
+ }
415
+ filterAndJoin(arr) {
416
+ return arr.filter(Boolean).join(" ");
417
+ }
418
+ formatLogObj(logObj, opts) {
419
+ const message = this.formatArgs(logObj.args, opts);
420
+ if (logObj.type === "box") {
421
+ return "\n" + [
422
+ bracket(logObj.tag),
423
+ logObj.title && logObj.title,
424
+ ...message.split("\n")
425
+ ].filter(Boolean).map((l) => " > " + l).join("\n") + "\n";
426
+ }
427
+ return this.filterAndJoin([
428
+ bracket(logObj.type),
429
+ bracket(logObj.tag),
430
+ message
431
+ ]);
432
+ }
433
+ log(logObj, ctx) {
434
+ const line = this.formatLogObj(logObj, {
435
+ columns: ctx.options.stdout.columns || 0,
436
+ ...ctx.options.formatOptions
437
+ });
438
+ return writeStream(line + "\n", logObj.level < 2 ? ctx.options.stderr || process.stderr : ctx.options.stdout || process.stdout);
439
+ }
440
+ }
441
+ var parseStack, writeStream, bracket;
442
+ var init_consola_06ad8a64 = __esm(() => {
443
+ parseStack = function(stack) {
444
+ const cwd = process.cwd() + sep;
445
+ const lines = stack.split("\n").splice(1).map((l) => l.trim().replace("file://", "").replace(cwd, ""));
446
+ return lines;
447
+ };
448
+ writeStream = function(data, stream) {
449
+ const write = stream.__write || stream.write;
450
+ return write.call(stream, data);
451
+ };
452
+ bracket = (x) => x ? `[${x}]` : "";
453
+ });
454
+
455
+ // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/utils.mjs
456
+ import * as tty from "tty";
457
+ var replaceClose, clearBleed, filterEmpty, init, createColors, getColor, stripAnsi, box, env, argv, platform, isDisabled, isForced, isWindows, isDumbTerminal, isCompatibleTerminal, isCI, isColorSupported, colorDefs, colors, ansiRegex, boxStylePresets, defaultStyle;
458
+ var init_utils = __esm(() => {
459
+ replaceClose = function(index, string, close, replace, head = string.slice(0, Math.max(0, index)) + replace, tail = string.slice(Math.max(0, index + close.length)), next = tail.indexOf(close)) {
460
+ return head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
461
+ };
462
+ clearBleed = function(index, string, open, close, replace) {
463
+ return index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
464
+ };
465
+ filterEmpty = function(open, close, replace = open, at = open.length + 1) {
466
+ return (string) => string || !(string === "" || string === undefined) ? clearBleed(("" + string).indexOf(close, at), string, open, close, replace) : "";
467
+ };
468
+ init = function(open, close, replace) {
469
+ return filterEmpty(`\x1B[${open}m`, `\x1B[${close}m`, replace);
470
+ };
471
+ createColors = function(useColor = isColorSupported) {
472
+ return useColor ? colorDefs : Object.fromEntries(Object.keys(colorDefs).map((key) => [key, String]));
473
+ };
474
+ getColor = function(color, fallback = "reset") {
475
+ return colors[color] || colors[fallback];
476
+ };
477
+ stripAnsi = function(text) {
478
+ return text.replace(new RegExp(ansiRegex, "g"), "");
479
+ };
480
+ box = function(text, _opts = {}) {
481
+ const opts = {
482
+ ..._opts,
483
+ style: {
484
+ ...defaultStyle,
485
+ ..._opts.style
486
+ }
487
+ };
488
+ const textLines = text.split("\n");
489
+ const boxLines = [];
490
+ const _color = getColor(opts.style.borderColor);
491
+ const borderStyle = {
492
+ ...typeof opts.style.borderStyle === "string" ? boxStylePresets[opts.style.borderStyle] || boxStylePresets.solid : opts.style.borderStyle
493
+ };
494
+ if (_color) {
495
+ for (const key in borderStyle) {
496
+ borderStyle[key] = _color(borderStyle[key]);
497
+ }
498
+ }
499
+ const paddingOffset = opts.style.padding % 2 === 0 ? opts.style.padding : opts.style.padding + 1;
500
+ const height = textLines.length + paddingOffset;
501
+ const width = Math.max(...textLines.map((line) => line.length)) + paddingOffset;
502
+ const widthOffset = width + paddingOffset;
503
+ const leftSpace = opts.style.marginLeft > 0 ? " ".repeat(opts.style.marginLeft) : "";
504
+ if (opts.style.marginTop > 0) {
505
+ boxLines.push("".repeat(opts.style.marginTop));
506
+ }
507
+ if (opts.title) {
508
+ const left = borderStyle.h.repeat(Math.floor((width - stripAnsi(opts.title).length) / 2));
509
+ const right = borderStyle.h.repeat(width - stripAnsi(opts.title).length - stripAnsi(left).length + paddingOffset);
510
+ boxLines.push(`${leftSpace}${borderStyle.tl}${left}${opts.title}${right}${borderStyle.tr}`);
511
+ } else {
512
+ boxLines.push(`${leftSpace}${borderStyle.tl}${borderStyle.h.repeat(widthOffset)}${borderStyle.tr}`);
513
+ }
514
+ const valignOffset = opts.style.valign === "center" ? Math.floor((height - textLines.length) / 2) : opts.style.valign === "top" ? height - textLines.length - paddingOffset : height - textLines.length;
515
+ for (let i = 0;i < height; i++) {
516
+ if (i < valignOffset || i >= valignOffset + textLines.length) {
517
+ boxLines.push(`${leftSpace}${borderStyle.v}${" ".repeat(widthOffset)}${borderStyle.v}`);
518
+ } else {
519
+ const line = textLines[i - valignOffset];
520
+ const left = " ".repeat(paddingOffset);
521
+ const right = " ".repeat(width - stripAnsi(line).length);
522
+ boxLines.push(`${leftSpace}${borderStyle.v}${left}${line}${right}${borderStyle.v}`);
523
+ }
524
+ }
525
+ boxLines.push(`${leftSpace}${borderStyle.bl}${borderStyle.h.repeat(widthOffset)}${borderStyle.br}`);
526
+ if (opts.style.marginBottom > 0) {
527
+ boxLines.push("".repeat(opts.style.marginBottom));
528
+ }
529
+ return boxLines.join("\n");
530
+ };
531
+ ({
532
+ env = {},
533
+ argv = [],
534
+ platform = ""
535
+ } = typeof process === "undefined" ? {} : process);
536
+ isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
537
+ isForced = "FORCE_COLOR" in env || argv.includes("--color");
538
+ isWindows = platform === "win32";
539
+ isDumbTerminal = env.TERM === "dumb";
540
+ isCompatibleTerminal = tty && tty.isatty && tty.isatty(1) && env.TERM && !isDumbTerminal;
541
+ isCI = "CI" in env && (("GITHUB_ACTIONS" in env) || ("GITLAB_CI" in env) || ("CIRCLECI" in env));
542
+ isColorSupported = !isDisabled && (isForced || isWindows && !isDumbTerminal || isCompatibleTerminal || isCI);
543
+ colorDefs = {
544
+ reset: init(0, 0),
545
+ bold: init(1, 22, "\x1B[22m\x1B[1m"),
546
+ dim: init(2, 22, "\x1B[22m\x1B[2m"),
547
+ italic: init(3, 23),
548
+ underline: init(4, 24),
549
+ inverse: init(7, 27),
550
+ hidden: init(8, 28),
551
+ strikethrough: init(9, 29),
552
+ black: init(30, 39),
553
+ red: init(31, 39),
554
+ green: init(32, 39),
555
+ yellow: init(33, 39),
556
+ blue: init(34, 39),
557
+ magenta: init(35, 39),
558
+ cyan: init(36, 39),
559
+ white: init(37, 39),
560
+ gray: init(90, 39),
561
+ bgBlack: init(40, 49),
562
+ bgRed: init(41, 49),
563
+ bgGreen: init(42, 49),
564
+ bgYellow: init(43, 49),
565
+ bgBlue: init(44, 49),
566
+ bgMagenta: init(45, 49),
567
+ bgCyan: init(46, 49),
568
+ bgWhite: init(47, 49),
569
+ blackBright: init(90, 39),
570
+ redBright: init(91, 39),
571
+ greenBright: init(92, 39),
572
+ yellowBright: init(93, 39),
573
+ blueBright: init(94, 39),
574
+ magentaBright: init(95, 39),
575
+ cyanBright: init(96, 39),
576
+ whiteBright: init(97, 39),
577
+ bgBlackBright: init(100, 49),
578
+ bgRedBright: init(101, 49),
579
+ bgGreenBright: init(102, 49),
580
+ bgYellowBright: init(103, 49),
581
+ bgBlueBright: init(104, 49),
582
+ bgMagentaBright: init(105, 49),
583
+ bgCyanBright: init(106, 49),
584
+ bgWhiteBright: init(107, 49)
585
+ };
586
+ colors = createColors();
587
+ ansiRegex = [
588
+ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
589
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
590
+ ].join("|");
591
+ boxStylePresets = {
592
+ solid: {
593
+ tl: "\u250C",
594
+ tr: "\u2510",
595
+ bl: "\u2514",
596
+ br: "\u2518",
597
+ h: "\u2500",
598
+ v: "\u2502"
599
+ },
600
+ double: {
601
+ tl: "\u2554",
602
+ tr: "\u2557",
603
+ bl: "\u255A",
604
+ br: "\u255D",
605
+ h: "\u2550",
606
+ v: "\u2551"
607
+ },
608
+ doubleSingle: {
609
+ tl: "\u2553",
610
+ tr: "\u2556",
611
+ bl: "\u2559",
612
+ br: "\u255C",
613
+ h: "\u2500",
614
+ v: "\u2551"
615
+ },
616
+ doubleSingleRounded: {
617
+ tl: "\u256D",
618
+ tr: "\u256E",
619
+ bl: "\u2570",
620
+ br: "\u256F",
621
+ h: "\u2500",
622
+ v: "\u2551"
623
+ },
624
+ singleThick: {
625
+ tl: "\u250F",
626
+ tr: "\u2513",
627
+ bl: "\u2517",
628
+ br: "\u251B",
629
+ h: "\u2501",
630
+ v: "\u2503"
631
+ },
632
+ singleDouble: {
633
+ tl: "\u2552",
634
+ tr: "\u2555",
635
+ bl: "\u2558",
636
+ br: "\u255B",
637
+ h: "\u2550",
638
+ v: "\u2502"
639
+ },
640
+ singleDoubleRounded: {
641
+ tl: "\u256D",
642
+ tr: "\u256E",
643
+ bl: "\u2570",
644
+ br: "\u256F",
645
+ h: "\u2550",
646
+ v: "\u2502"
647
+ },
648
+ rounded: {
649
+ tl: "\u256D",
650
+ tr: "\u256E",
651
+ bl: "\u2570",
652
+ br: "\u256F",
653
+ h: "\u2500",
654
+ v: "\u2502"
655
+ }
656
+ };
657
+ defaultStyle = {
658
+ borderColor: "white",
659
+ borderStyle: "rounded",
660
+ valign: "center",
661
+ padding: 2,
662
+ marginLeft: 1,
663
+ marginTop: 1,
664
+ marginBottom: 1
665
+ };
666
+ });
667
+
668
+ // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/chunks/prompt.mjs
669
+ var exports_prompt = {};
670
+ __export(exports_prompt, {
671
+ prompt: () => {
672
+ {
673
+ return prompt;
674
+ }
675
+ }
676
+ });
677
+ import {stdin, stdout} from "process";
678
+ import f from "readline";
679
+ import {WriteStream} from "tty";
680
+ import require$$0 from "tty";
681
+ import"util";
682
+ import"path";
683
+ async function prompt(message, opts = {}) {
684
+ if (!opts.type || opts.type === "text") {
685
+ return await text({
686
+ message,
687
+ defaultValue: opts.default,
688
+ placeholder: opts.placeholder,
689
+ initialValue: opts.initial
690
+ });
691
+ }
692
+ if (opts.type === "confirm") {
693
+ return await confirm({
694
+ message,
695
+ initialValue: opts.initial
696
+ });
697
+ }
698
+ if (opts.type === "select") {
699
+ return await select({
700
+ message,
701
+ options: opts.options.map((o) => typeof o === "string" ? { value: o, label: o } : o)
702
+ });
703
+ }
704
+ if (opts.type === "multiselect") {
705
+ return await multiselect({
706
+ message,
707
+ options: opts.options.map((o) => typeof o === "string" ? { value: o, label: o } : o),
708
+ required: opts.required
709
+ });
710
+ }
711
+ throw new Error(`Unknown prompt type: ${opts.type}`);
712
+ }
713
+
714
+ class h {
715
+ constructor({ render: u, input: F = stdin, output: e = stdout, ...s }, C = true) {
716
+ this._track = false, this._cursor = 0, this.state = "initial", this.error = "", this.subscribers = new Map, this._prevFrame = "", this.opts = s, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = u.bind(this), this._track = C, this.input = F, this.output = e;
717
+ }
718
+ prompt() {
719
+ const u = new WriteStream(0);
720
+ return u._write = (F, e, s) => {
721
+ this._track && (this.value = this.rl.line.replace(/\t/g, ""), this._cursor = this.rl.cursor, this.emit("value", this.value)), s();
722
+ }, this.input.pipe(u), this.rl = f.createInterface({ input: this.input, output: u, tabSize: 2, prompt: "", escapeCodeTimeout: 50 }), f.emitKeypressEvents(this.input, this.rl), this.rl.prompt(), this.opts.initialValue !== undefined && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), g(this.input, true), this.output.on("resize", this.render), this.render(), new Promise((F, e) => {
723
+ this.once("submit", () => {
724
+ this.output.write(src.cursor.show), this.output.off("resize", this.render), g(this.input, false), F(this.value);
725
+ }), this.once("cancel", () => {
726
+ this.output.write(src.cursor.show), this.output.off("resize", this.render), g(this.input, false), F(R);
727
+ });
728
+ });
729
+ }
730
+ on(u, F) {
731
+ const e = this.subscribers.get(u) ?? [];
732
+ e.push({ cb: F }), this.subscribers.set(u, e);
733
+ }
734
+ once(u, F) {
735
+ const e = this.subscribers.get(u) ?? [];
736
+ e.push({ cb: F, once: true }), this.subscribers.set(u, e);
737
+ }
738
+ emit(u, ...F) {
739
+ const e = this.subscribers.get(u) ?? [], s = [];
740
+ for (const C of e)
741
+ C.cb(...F), C.once && s.push(() => e.splice(e.indexOf(C), 1));
742
+ for (const C of s)
743
+ C();
744
+ }
745
+ unsubscribe() {
746
+ this.subscribers.clear();
747
+ }
748
+ onKeypress(u, F) {
749
+ if (this.state === "error" && (this.state = "active"), F?.name && !this._track && V.has(F.name) && this.emit("cursor", V.get(F.name)), F?.name && tD.has(F.name) && this.emit("cursor", F.name), u && (u.toLowerCase() === "y" || u.toLowerCase() === "n") && this.emit("confirm", u.toLowerCase() === "y"), u && this.emit("key", u.toLowerCase()), F?.name === "return") {
750
+ if (this.opts.validate) {
751
+ const e = this.opts.validate(this.value);
752
+ e && (this.error = e, this.state = "error", this.rl.write(this.value));
753
+ }
754
+ this.state !== "error" && (this.state = "submit");
755
+ }
756
+ u === "" && (this.state = "cancel"), (this.state === "submit" || this.state === "cancel") && this.emit("finalize"), this.render(), (this.state === "submit" || this.state === "cancel") && this.close();
757
+ }
758
+ close() {
759
+ this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(`
760
+ `), g(this.input, false), this.rl.close(), this.emit(`${this.state}`, this.value), this.unsubscribe();
761
+ }
762
+ restoreCursor() {
763
+ const u = P(this._prevFrame, process.stdout.columns, { hard: true }).split(`
764
+ `).length - 1;
765
+ this.output.write(src.cursor.move(-999, u * -1));
766
+ }
767
+ render() {
768
+ const u = P(this._render(this) ?? "", process.stdout.columns, { hard: true });
769
+ if (u !== this._prevFrame) {
770
+ if (this.state === "initial")
771
+ this.output.write(src.cursor.hide);
772
+ else {
773
+ const F = FD(this._prevFrame, u);
774
+ if (this.restoreCursor(), F && F?.length === 1) {
775
+ const e = F[0];
776
+ this.output.write(src.cursor.move(0, e)), this.output.write(src.erase.lines(1));
777
+ const s = u.split(`
778
+ `);
779
+ this.output.write(s[e]), this._prevFrame = u, this.output.write(src.cursor.move(0, s.length - e - 1));
780
+ return;
781
+ } else if (F && F?.length > 1) {
782
+ const e = F[0];
783
+ this.output.write(src.cursor.move(0, e)), this.output.write(src.erase.down());
784
+ const C = u.split(`
785
+ `).slice(e);
786
+ this.output.write(C.join(`
787
+ `)), this._prevFrame = u;
788
+ return;
789
+ }
790
+ this.output.write(src.erase.down());
791
+ }
792
+ this.output.write(u), this.state === "initial" && (this.state = "active"), this._prevFrame = u;
793
+ }
794
+ }
795
+ }
796
+
797
+ class sD extends h {
798
+ get cursor() {
799
+ return this.value ? 0 : 1;
800
+ }
801
+ get _value() {
802
+ return this.cursor === 0;
803
+ }
804
+ constructor(u) {
805
+ super(u, false), this.value = !!u.initialValue, this.on("value", () => {
806
+ this.value = this._value;
807
+ }), this.on("confirm", (F) => {
808
+ this.output.write(src.cursor.move(0, -1)), this.value = F, this.state = "submit", this.close();
809
+ }), this.on("cursor", () => {
810
+ this.value = !this.value;
811
+ });
812
+ }
813
+ }
814
+
815
+ class iD extends h {
816
+ constructor(u) {
817
+ super(u, false), this.cursor = 0, this.options = u.options, this.value = [...u.initialValues ?? []], this.cursor = Math.max(this.options.findIndex(({ value: F }) => F === u.cursorAt), 0), this.on("key", (F) => {
818
+ F === "a" && this.toggleAll();
819
+ }), this.on("cursor", (F) => {
820
+ switch (F) {
821
+ case "left":
822
+ case "up":
823
+ this.cursor = this.cursor === 0 ? this.options.length - 1 : this.cursor - 1;
824
+ break;
825
+ case "down":
826
+ case "right":
827
+ this.cursor = this.cursor === this.options.length - 1 ? 0 : this.cursor + 1;
828
+ break;
829
+ case "space":
830
+ this.toggleValue();
831
+ break;
832
+ }
833
+ });
834
+ }
835
+ get _value() {
836
+ return this.options[this.cursor].value;
837
+ }
838
+ toggleAll() {
839
+ const u = this.value.length === this.options.length;
840
+ this.value = u ? [] : this.options.map((F) => F.value);
841
+ }
842
+ toggleValue() {
843
+ const u = this.value.includes(this._value);
844
+ this.value = u ? this.value.filter((F) => F !== this._value) : [...this.value, this._value];
845
+ }
846
+ }
847
+
848
+ class ED extends h {
849
+ constructor(u) {
850
+ super(u, false), this.cursor = 0, this.options = u.options, this.cursor = this.options.findIndex(({ value: F }) => F === u.initialValue), this.cursor === -1 && (this.cursor = 0), this.changeValue(), this.on("cursor", (F) => {
851
+ switch (F) {
852
+ case "left":
853
+ case "up":
854
+ this.cursor = this.cursor === 0 ? this.options.length - 1 : this.cursor - 1;
855
+ break;
856
+ case "down":
857
+ case "right":
858
+ this.cursor = this.cursor === this.options.length - 1 ? 0 : this.cursor + 1;
859
+ break;
860
+ }
861
+ this.changeValue();
862
+ });
863
+ }
864
+ get _value() {
865
+ return this.options[this.cursor];
866
+ }
867
+ changeValue() {
868
+ this.value = this._value.value;
869
+ }
870
+ }
871
+
872
+ class oD extends h {
873
+ constructor(u) {
874
+ super(u), this.valueWithCursor = "", this.on("finalize", () => {
875
+ this.value || (this.value = u.defaultValue), this.valueWithCursor = this.value;
876
+ }), this.on("value", () => {
877
+ if (this.cursor >= this.value.length)
878
+ this.valueWithCursor = `${this.value}${l.inverse(l.hidden("_"))}`;
879
+ else {
880
+ const F = this.value.slice(0, this.cursor), e = this.value.slice(this.cursor);
881
+ this.valueWithCursor = `${F}${l.inverse(e[0])}${e.slice(1)}`;
882
+ }
883
+ });
884
+ }
885
+ get cursor() {
886
+ return this._cursor;
887
+ }
888
+ }
889
+ var z, $, c, U, P, FD, g, ESC, CSI, beep, cursor, scroll, erase, src, picocolors, tty2, isColorSupported2, formatter, replaceClose2, createColors2, picocolorsExports, l, m, G, K, Y, v, L, M, T, r, Z, H, q, p, J, b, W, Q, I, w, N, j, X, _, DD, uD, R, V, tD, unicode, s, S_STEP_ACTIVE, S_STEP_CANCEL, S_STEP_ERROR, S_STEP_SUBMIT, S_BAR, S_BAR_END, S_RADIO_ACTIVE, S_RADIO_INACTIVE, S_CHECKBOX_ACTIVE, S_CHECKBOX_SELECTED, S_CHECKBOX_INACTIVE, symbol, text, confirm, select, multiselect;
890
+ var init_prompt = __esm(() => {
891
+ init_consola_36c0034f();
892
+ init_utils();
893
+ init_core();
894
+ init_consola_06ad8a64();
895
+ z = function({ onlyFirst: t = false } = {}) {
896
+ const 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("|");
897
+ return new RegExp(u, t ? undefined : "g");
898
+ };
899
+ $ = function(t) {
900
+ if (typeof t != "string")
901
+ throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);
902
+ return t.replace(z(), "");
903
+ };
904
+ c = function(t, u = {}) {
905
+ if (typeof t != "string" || t.length === 0 || (u = { ambiguousIsNarrow: true, ...u }, t = $(t), t.length === 0))
906
+ return 0;
907
+ t = t.replace(Y(), " ");
908
+ const F = u.ambiguousIsNarrow ? 1 : 2;
909
+ let e = 0;
910
+ for (const s of t) {
911
+ const C = s.codePointAt(0);
912
+ if (C <= 31 || C >= 127 && C <= 159 || C >= 768 && C <= 879)
913
+ continue;
914
+ switch (K.eastAsianWidth(s)) {
915
+ case "F":
916
+ case "W":
917
+ e += 2;
918
+ break;
919
+ case "A":
920
+ e += F;
921
+ break;
922
+ default:
923
+ e += 1;
924
+ }
925
+ }
926
+ return e;
927
+ };
928
+ U = function() {
929
+ const t = new Map;
930
+ for (const [u, F] of Object.entries(r)) {
931
+ for (const [e, s] of Object.entries(F))
932
+ r[e] = { open: `\x1B[${s[0]}m`, close: `\x1B[${s[1]}m` }, F[e] = r[e], t.set(s[0], s[1]);
933
+ Object.defineProperty(r, u, { value: F, enumerable: false });
934
+ }
935
+ return Object.defineProperty(r, "codes", { value: t, enumerable: false }), r.color.close = "\x1B[39m", r.bgColor.close = "\x1B[49m", r.color.ansi = L(), r.color.ansi256 = M(), r.color.ansi16m = T(), r.bgColor.ansi = L(v), r.bgColor.ansi256 = M(v), r.bgColor.ansi16m = T(v), Object.defineProperties(r, { rgbToAnsi256: { value: (u, F, e) => u === F && F === e ? u < 8 ? 16 : u > 248 ? 231 : Math.round((u - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(u / 255 * 5) + 6 * Math.round(F / 255 * 5) + Math.round(e / 255 * 5), enumerable: false }, hexToRgb: { value: (u) => {
936
+ const F = /[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));
937
+ if (!F)
938
+ return [0, 0, 0];
939
+ let [e] = F;
940
+ e.length === 3 && (e = [...e].map((C) => C + C).join(""));
941
+ const s = Number.parseInt(e, 16);
942
+ return [s >> 16 & 255, s >> 8 & 255, s & 255];
943
+ }, enumerable: false }, hexToAnsi256: { value: (u) => r.rgbToAnsi256(...r.hexToRgb(u)), enumerable: false }, ansi256ToAnsi: { value: (u) => {
944
+ if (u < 8)
945
+ return 30 + u;
946
+ if (u < 16)
947
+ return 90 + (u - 8);
948
+ let F, e, s;
949
+ if (u >= 232)
950
+ F = ((u - 232) * 10 + 8) / 255, e = F, s = F;
951
+ else {
952
+ u -= 16;
953
+ const i = u % 36;
954
+ F = Math.floor(u / 36) / 5, e = Math.floor(i / 6) / 5, s = i % 6 / 5;
955
+ }
956
+ const C = Math.max(F, e, s) * 2;
957
+ if (C === 0)
958
+ return 30;
959
+ let D = 30 + (Math.round(s) << 2 | Math.round(e) << 1 | Math.round(F));
960
+ return C === 2 && (D += 60), D;
961
+ }, enumerable: false }, rgbToAnsi: { value: (u, F, e) => r.ansi256ToAnsi(r.rgbToAnsi256(u, F, e)), enumerable: false }, hexToAnsi: { value: (u) => r.ansi256ToAnsi(r.hexToAnsi256(u)), enumerable: false } }), r;
962
+ };
963
+ P = function(t, u, F) {
964
+ return String(t).normalize().replace(/\r\n/g, `
965
+ `).split(`
966
+ `).map((e) => uD(e, u, F)).join(`
967
+ `);
968
+ };
969
+ FD = function(t, u) {
970
+ if (t === u)
971
+ return;
972
+ const F = t.split(`
973
+ `), e = u.split(`
974
+ `), s = [];
975
+ for (let C = 0;C < Math.max(F.length, e.length); C++)
976
+ F[C] !== e[C] && s.push(C);
977
+ return s;
978
+ };
979
+ g = function(t, u) {
980
+ t.isTTY && t.setRawMode(u);
981
+ };
982
+ ESC = "\x1B";
983
+ CSI = `${ESC}[`;
984
+ beep = "\x07";
985
+ cursor = {
986
+ to(x, y) {
987
+ if (!y)
988
+ return `${CSI}${x + 1}G`;
989
+ return `${CSI}${y + 1};${x + 1}H`;
990
+ },
991
+ move(x, y) {
992
+ let ret = "";
993
+ if (x < 0)
994
+ ret += `${CSI}${-x}D`;
995
+ else if (x > 0)
996
+ ret += `${CSI}${x}C`;
997
+ if (y < 0)
998
+ ret += `${CSI}${-y}A`;
999
+ else if (y > 0)
1000
+ ret += `${CSI}${y}B`;
1001
+ return ret;
1002
+ },
1003
+ up: (count = 1) => `${CSI}${count}A`,
1004
+ down: (count = 1) => `${CSI}${count}B`,
1005
+ forward: (count = 1) => `${CSI}${count}C`,
1006
+ backward: (count = 1) => `${CSI}${count}D`,
1007
+ nextLine: (count = 1) => `${CSI}E`.repeat(count),
1008
+ prevLine: (count = 1) => `${CSI}F`.repeat(count),
1009
+ left: `${CSI}G`,
1010
+ hide: `${CSI}?25l`,
1011
+ show: `${CSI}?25h`,
1012
+ save: `${ESC}7`,
1013
+ restore: `${ESC}8`
1014
+ };
1015
+ scroll = {
1016
+ up: (count = 1) => `${CSI}S`.repeat(count),
1017
+ down: (count = 1) => `${CSI}T`.repeat(count)
1018
+ };
1019
+ erase = {
1020
+ screen: `${CSI}2J`,
1021
+ up: (count = 1) => `${CSI}1J`.repeat(count),
1022
+ down: (count = 1) => `${CSI}J`.repeat(count),
1023
+ line: `${CSI}2K`,
1024
+ lineEnd: `${CSI}K`,
1025
+ lineStart: `${CSI}1K`,
1026
+ lines(count) {
1027
+ let clear = "";
1028
+ for (let i = 0;i < count; i++)
1029
+ clear += this.line + (i < count - 1 ? cursor.up() : "");
1030
+ if (count)
1031
+ clear += cursor.left;
1032
+ return clear;
1033
+ }
1034
+ };
1035
+ src = { cursor, scroll, erase, beep };
1036
+ picocolors = { exports: {} };
1037
+ tty2 = require$$0;
1038
+ isColorSupported2 = !(("NO_COLOR" in process.env) || process.argv.includes("--no-color")) && (("FORCE_COLOR" in process.env) || process.argv.includes("--color") || process.platform === "win32" || tty2.isatty(1) && true || ("CI" in process.env));
1039
+ formatter = (open, close, replace = open) => (input) => {
1040
+ let string = "" + input;
1041
+ let index = string.indexOf(close, open.length);
1042
+ return ~index ? open + replaceClose2(string, close, replace, index) + close : open + string + close;
1043
+ };
1044
+ replaceClose2 = (string, close, replace, index) => {
1045
+ let start = string.substring(0, index) + replace;
1046
+ let end = string.substring(index + close.length);
1047
+ let nextIndex = end.indexOf(close);
1048
+ return ~nextIndex ? start + replaceClose2(end, close, replace, nextIndex) : start + end;
1049
+ };
1050
+ createColors2 = (enabled = isColorSupported2) => ({
1051
+ isColorSupported: enabled,
1052
+ reset: enabled ? (s) => `\x1B[0m${s}\x1B[0m` : String,
1053
+ bold: enabled ? formatter("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m") : String,
1054
+ dim: enabled ? formatter("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m") : String,
1055
+ italic: enabled ? formatter("\x1B[3m", "\x1B[23m") : String,
1056
+ underline: enabled ? formatter("\x1B[4m", "\x1B[24m") : String,
1057
+ inverse: enabled ? formatter("\x1B[7m", "\x1B[27m") : String,
1058
+ hidden: enabled ? formatter("\x1B[8m", "\x1B[28m") : String,
1059
+ strikethrough: enabled ? formatter("\x1B[9m", "\x1B[29m") : String,
1060
+ black: enabled ? formatter("\x1B[30m", "\x1B[39m") : String,
1061
+ red: enabled ? formatter("\x1B[31m", "\x1B[39m") : String,
1062
+ green: enabled ? formatter("\x1B[32m", "\x1B[39m") : String,
1063
+ yellow: enabled ? formatter("\x1B[33m", "\x1B[39m") : String,
1064
+ blue: enabled ? formatter("\x1B[34m", "\x1B[39m") : String,
1065
+ magenta: enabled ? formatter("\x1B[35m", "\x1B[39m") : String,
1066
+ cyan: enabled ? formatter("\x1B[36m", "\x1B[39m") : String,
1067
+ white: enabled ? formatter("\x1B[37m", "\x1B[39m") : String,
1068
+ gray: enabled ? formatter("\x1B[90m", "\x1B[39m") : String,
1069
+ bgBlack: enabled ? formatter("\x1B[40m", "\x1B[49m") : String,
1070
+ bgRed: enabled ? formatter("\x1B[41m", "\x1B[49m") : String,
1071
+ bgGreen: enabled ? formatter("\x1B[42m", "\x1B[49m") : String,
1072
+ bgYellow: enabled ? formatter("\x1B[43m", "\x1B[49m") : String,
1073
+ bgBlue: enabled ? formatter("\x1B[44m", "\x1B[49m") : String,
1074
+ bgMagenta: enabled ? formatter("\x1B[45m", "\x1B[49m") : String,
1075
+ bgCyan: enabled ? formatter("\x1B[46m", "\x1B[49m") : String,
1076
+ bgWhite: enabled ? formatter("\x1B[47m", "\x1B[49m") : String
1077
+ });
1078
+ picocolors.exports = createColors2();
1079
+ picocolors.exports.createColors = createColors2;
1080
+ picocolorsExports = picocolors.exports;
1081
+ l = getDefaultExportFromCjs(picocolorsExports);
1082
+ m = {};
1083
+ G = { get exports() {
1084
+ return m;
1085
+ }, set exports(t) {
1086
+ m = t;
1087
+ } };
1088
+ (function(t) {
1089
+ var u = {};
1090
+ t.exports = u, u.eastAsianWidth = function(e) {
1091
+ var s = e.charCodeAt(0), C = e.length == 2 ? e.charCodeAt(1) : 0, D = s;
1092
+ return 55296 <= s && s <= 56319 && 56320 <= C && C <= 57343 && (s &= 1023, C &= 1023, D = s << 10 | C, 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";
1093
+ }, u.characterLength = function(e) {
1094
+ var s = this.eastAsianWidth(e);
1095
+ return s == "F" || s == "W" || s == "A" ? 2 : 1;
1096
+ };
1097
+ function F(e) {
1098
+ return e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
1099
+ }
1100
+ u.length = function(e) {
1101
+ for (var s = F(e), C = 0, D = 0;D < s.length; D++)
1102
+ C = C + this.characterLength(s[D]);
1103
+ return C;
1104
+ }, u.slice = function(e, s, C) {
1105
+ textLen = u.length(e), s = s || 0, C = C || 1, s < 0 && (s = textLen + s), C < 0 && (C = textLen + C);
1106
+ for (var D = "", i = 0, o = F(e), E = 0;E < o.length; E++) {
1107
+ var a = o[E], n = u.length(a);
1108
+ if (i >= s - (n == 2 ? 1 : 0))
1109
+ if (i + n <= C)
1110
+ D += a;
1111
+ else
1112
+ break;
1113
+ i += n;
1114
+ }
1115
+ return D;
1116
+ };
1117
+ })(G);
1118
+ K = m;
1119
+ Y = function() {
1120
+ return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
1121
+ };
1122
+ v = 10;
1123
+ L = (t = 0) => (u) => `\x1B[${u + t}m`;
1124
+ M = (t = 0) => (u) => `\x1B[${38 + t};5;${u}m`;
1125
+ T = (t = 0) => (u, F, e) => `\x1B[${38 + t};2;${u};${F};${e}m`;
1126
+ r = { modifier: { reset: [0, 0], bold: [1, 22], dim: [2, 22], italic: [3, 23], underline: [4, 24], overline: [53, 55], 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], gray: [90, 39], grey: [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], bgGray: [100, 49], bgGrey: [100, 49], bgRedBright: [101, 49], bgGreenBright: [102, 49], bgYellowBright: [103, 49], bgBlueBright: [104, 49], bgMagentaBright: [105, 49], bgCyanBright: [106, 49], bgWhiteBright: [107, 49] } };
1127
+ Object.keys(r.modifier);
1128
+ Z = Object.keys(r.color);
1129
+ H = Object.keys(r.bgColor);
1130
+ [...Z];
1131
+ q = U();
1132
+ p = new Set(["\x1B", "\x9B"]);
1133
+ J = 39;
1134
+ b = "\x07";
1135
+ W = "[";
1136
+ Q = "]";
1137
+ I = "m";
1138
+ w = `${Q}8;;`;
1139
+ N = (t) => `${p.values().next().value}${W}${t}${I}`;
1140
+ j = (t) => `${p.values().next().value}${w}${t}${b}`;
1141
+ X = (t) => t.split(" ").map((u) => c(u));
1142
+ _ = (t, u, F) => {
1143
+ const e = [...u];
1144
+ let s = false, C = false, D = c($(t[t.length - 1]));
1145
+ for (const [i, o] of e.entries()) {
1146
+ const E = c(o);
1147
+ if (D + E <= F ? t[t.length - 1] += o : (t.push(o), D = 0), p.has(o) && (s = true, C = e.slice(i + 1).join("").startsWith(w)), s) {
1148
+ C ? o === b && (s = false, C = false) : o === I && (s = false);
1149
+ continue;
1150
+ }
1151
+ D += E, D === F && i < e.length - 1 && (t.push(""), D = 0);
1152
+ }
1153
+ !D && t[t.length - 1].length > 0 && t.length > 1 && (t[t.length - 2] += t.pop());
1154
+ };
1155
+ DD = (t) => {
1156
+ const u = t.split(" ");
1157
+ let F = u.length;
1158
+ for (;F > 0 && !(c(u[F - 1]) > 0); )
1159
+ F--;
1160
+ return F === u.length ? t : u.slice(0, F).join(" ") + u.slice(F).join("");
1161
+ };
1162
+ uD = (t, u, F = {}) => {
1163
+ if (F.trim !== false && t.trim() === "")
1164
+ return "";
1165
+ let e = "", s, C;
1166
+ const D = X(t);
1167
+ let i = [""];
1168
+ for (const [E, a] of t.split(" ").entries()) {
1169
+ F.trim !== false && (i[i.length - 1] = i[i.length - 1].trimStart());
1170
+ let n = c(i[i.length - 1]);
1171
+ if (E !== 0 && (n >= u && (F.wordWrap === false || F.trim === false) && (i.push(""), n = 0), (n > 0 || F.trim === false) && (i[i.length - 1] += " ", n++)), F.hard && D[E] > u) {
1172
+ const B = u - n, A = 1 + Math.floor((D[E] - B - 1) / u);
1173
+ Math.floor((D[E] - 1) / u) < A && i.push(""), _(i, a, u);
1174
+ continue;
1175
+ }
1176
+ if (n + D[E] > u && n > 0 && D[E] > 0) {
1177
+ if (F.wordWrap === false && n < u) {
1178
+ _(i, a, u);
1179
+ continue;
1180
+ }
1181
+ i.push("");
1182
+ }
1183
+ if (n + D[E] > u && F.wordWrap === false) {
1184
+ _(i, a, u);
1185
+ continue;
1186
+ }
1187
+ i[i.length - 1] += a;
1188
+ }
1189
+ F.trim !== false && (i = i.map((E) => DD(E)));
1190
+ const o = [...i.join(`
1191
+ `)];
1192
+ for (const [E, a] of o.entries()) {
1193
+ if (e += a, p.has(a)) {
1194
+ const { groups: B } = new RegExp(`(?:\\${W}(?<code>\\d+)m|\\${w}(?<uri>.*)${b})`).exec(o.slice(E).join("")) || { groups: {} };
1195
+ if (B.code !== undefined) {
1196
+ const A = Number.parseFloat(B.code);
1197
+ s = A === J ? undefined : A;
1198
+ } else
1199
+ B.uri !== undefined && (C = B.uri.length === 0 ? undefined : B.uri);
1200
+ }
1201
+ const n = q.codes.get(Number(s));
1202
+ o[E + 1] === `
1203
+ ` ? (C && (e += j("")), s && n && (e += N(n))) : a === `
1204
+ ` && (s && n && (e += N(s)), C && (e += j(C)));
1205
+ }
1206
+ return e;
1207
+ };
1208
+ R = Symbol("clack:cancel");
1209
+ V = new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"]]);
1210
+ tD = new Set(["up", "down", "left", "right", "space", "enter"]);
1211
+ unicode = isUnicodeSupported();
1212
+ s = (c2, fallback) => unicode ? c2 : fallback;
1213
+ S_STEP_ACTIVE = s("\u276F", ">");
1214
+ S_STEP_CANCEL = s("\u25A0", "x");
1215
+ S_STEP_ERROR = s("\u25B2", "x");
1216
+ S_STEP_SUBMIT = s("\u2714", "\u221A");
1217
+ S_BAR = "";
1218
+ S_BAR_END = "";
1219
+ S_RADIO_ACTIVE = s("\u25CF", ">");
1220
+ S_RADIO_INACTIVE = s("\u25CB", " ");
1221
+ S_CHECKBOX_ACTIVE = s("\u25FB", "[\u2022]");
1222
+ S_CHECKBOX_SELECTED = s("\u25FC", "[+]");
1223
+ S_CHECKBOX_INACTIVE = s("\u25FB", "[ ]");
1224
+ symbol = (state) => {
1225
+ switch (state) {
1226
+ case "initial":
1227
+ case "active": {
1228
+ return colors.cyan(S_STEP_ACTIVE);
1229
+ }
1230
+ case "cancel": {
1231
+ return colors.red(S_STEP_CANCEL);
1232
+ }
1233
+ case "error": {
1234
+ return colors.yellow(S_STEP_ERROR);
1235
+ }
1236
+ case "submit": {
1237
+ return colors.green(S_STEP_SUBMIT);
1238
+ }
1239
+ }
1240
+ };
1241
+ text = (opts) => {
1242
+ return new oD({
1243
+ validate: opts.validate,
1244
+ placeholder: opts.placeholder,
1245
+ defaultValue: opts.defaultValue,
1246
+ initialValue: opts.initialValue,
1247
+ render() {
1248
+ const title = `${colors.gray(S_BAR)}
1249
+ ${symbol(this.state)} ${opts.message}
1250
+ `;
1251
+ const placeholder = opts.placeholder ? colors.inverse(opts.placeholder[0]) + colors.dim(opts.placeholder.slice(1)) : colors.inverse(colors.hidden("_"));
1252
+ const value = this.value ? this.valueWithCursor : placeholder;
1253
+ switch (this.state) {
1254
+ case "error": {
1255
+ return `${title.trim()}
1256
+ ${colors.yellow(S_BAR)} ${value}
1257
+ ${colors.yellow(S_BAR_END)} ${colors.yellow(this.error)}
1258
+ `;
1259
+ }
1260
+ case "submit": {
1261
+ return `${title}${colors.gray(S_BAR)} ${colors.dim(this.value || opts.placeholder)}`;
1262
+ }
1263
+ case "cancel": {
1264
+ return `${title}${colors.gray(S_BAR)} ${colors.strikethrough(colors.dim(this.value ?? ""))}${this.value?.trim() ? "\n" + colors.gray(S_BAR) : ""}`;
1265
+ }
1266
+ default: {
1267
+ return `${title}${colors.cyan(S_BAR)} ${value}
1268
+ ${colors.cyan(S_BAR_END)}
1269
+ `;
1270
+ }
1271
+ }
1272
+ }
1273
+ }).prompt();
1274
+ };
1275
+ confirm = (opts) => {
1276
+ const active = opts.active ?? "Yes";
1277
+ const inactive = opts.inactive ?? "No";
1278
+ return new sD({
1279
+ active,
1280
+ inactive,
1281
+ initialValue: opts.initialValue ?? true,
1282
+ render() {
1283
+ const title = `${colors.gray(S_BAR)}
1284
+ ${symbol(this.state)} ${opts.message}
1285
+ `;
1286
+ const value = this.value ? active : inactive;
1287
+ switch (this.state) {
1288
+ case "submit": {
1289
+ return `${title}${colors.gray(S_BAR)} ${colors.dim(value)}`;
1290
+ }
1291
+ case "cancel": {
1292
+ return `${title}${colors.gray(S_BAR)} ${colors.strikethrough(colors.dim(value))}
1293
+ ${colors.gray(S_BAR)}`;
1294
+ }
1295
+ default: {
1296
+ return `${title}${colors.cyan(S_BAR)} ${this.value ? `${colors.green(S_RADIO_ACTIVE)} ${active}` : `${colors.dim(S_RADIO_INACTIVE)} ${colors.dim(active)}`} ${colors.dim("/")} ${this.value ? `${colors.dim(S_RADIO_INACTIVE)} ${colors.dim(inactive)}` : `${colors.green(S_RADIO_ACTIVE)} ${inactive}`}
1297
+ ${colors.cyan(S_BAR_END)}
1298
+ `;
1299
+ }
1300
+ }
1301
+ }
1302
+ }).prompt();
1303
+ };
1304
+ select = (opts) => {
1305
+ const opt = (option, state) => {
1306
+ const label = option.label ?? String(option.value);
1307
+ switch (state) {
1308
+ case "active": {
1309
+ return `${colors.green(S_RADIO_ACTIVE)} ${label} ${option.hint ? colors.dim(`(${option.hint})`) : ""}`;
1310
+ }
1311
+ case "selected": {
1312
+ return `${colors.dim(label)}`;
1313
+ }
1314
+ case "cancelled": {
1315
+ return `${colors.strikethrough(colors.dim(label))}`;
1316
+ }
1317
+ }
1318
+ return `${colors.dim(S_RADIO_INACTIVE)} ${colors.dim(label)}`;
1319
+ };
1320
+ return new ED({
1321
+ options: opts.options,
1322
+ initialValue: opts.initialValue,
1323
+ render() {
1324
+ const title = `${colors.gray(S_BAR)}
1325
+ ${symbol(this.state)} ${opts.message}
1326
+ `;
1327
+ switch (this.state) {
1328
+ case "submit": {
1329
+ return `${title}${colors.gray(S_BAR)} ${opt(this.options[this.cursor], "selected")}`;
1330
+ }
1331
+ case "cancel": {
1332
+ return `${title}${colors.gray(S_BAR)} ${opt(this.options[this.cursor], "cancelled")}
1333
+ ${colors.gray(S_BAR)}`;
1334
+ }
1335
+ default: {
1336
+ return `${title}${colors.cyan(S_BAR)} ${this.options.map((option, i) => opt(option, i === this.cursor ? "active" : "inactive")).join(`
1337
+ ${colors.cyan(S_BAR)} `)}
1338
+ ${colors.cyan(S_BAR_END)}
1339
+ `;
1340
+ }
1341
+ }
1342
+ }
1343
+ }).prompt();
1344
+ };
1345
+ multiselect = (opts) => {
1346
+ const opt = (option, state) => {
1347
+ const label = option.label ?? String(option.value);
1348
+ switch (state) {
1349
+ case "active": {
1350
+ return `${colors.cyan(S_CHECKBOX_ACTIVE)} ${label} ${option.hint ? colors.dim(`(${option.hint})`) : ""}`;
1351
+ }
1352
+ case "selected": {
1353
+ return `${colors.green(S_CHECKBOX_SELECTED)} ${colors.dim(label)}`;
1354
+ }
1355
+ case "cancelled": {
1356
+ return `${colors.strikethrough(colors.dim(label))}`;
1357
+ }
1358
+ case "active-selected": {
1359
+ return `${colors.green(S_CHECKBOX_SELECTED)} ${label} ${option.hint ? colors.dim(`(${option.hint})`) : ""}`;
1360
+ }
1361
+ case "submitted": {
1362
+ return `${colors.dim(label)}`;
1363
+ }
1364
+ }
1365
+ return `${colors.dim(S_CHECKBOX_INACTIVE)} ${colors.dim(label)}`;
1366
+ };
1367
+ return new iD({
1368
+ options: opts.options,
1369
+ initialValues: opts.initialValues,
1370
+ required: opts.required ?? true,
1371
+ cursorAt: opts.cursorAt,
1372
+ validate(selected) {
1373
+ if (this.required && selected.length === 0) {
1374
+ return `Please select at least one option.
1375
+ ${colors.reset(colors.dim(`Press ${colors.gray(colors.bgWhite(colors.inverse(" space ")))} to select, ${colors.gray(colors.bgWhite(colors.inverse(" enter ")))} to submit`))}`;
1376
+ }
1377
+ },
1378
+ render() {
1379
+ const title = `${colors.gray(S_BAR)}
1380
+ ${symbol(this.state)} ${opts.message}
1381
+ `;
1382
+ switch (this.state) {
1383
+ case "submit": {
1384
+ return `${title}${colors.gray(S_BAR)} ${this.options.filter(({ value }) => this.value.includes(value)).map((option) => opt(option, "submitted")).join(colors.dim(", ")) || colors.dim("none")}`;
1385
+ }
1386
+ case "cancel": {
1387
+ const label = this.options.filter(({ value }) => this.value.includes(value)).map((option) => opt(option, "cancelled")).join(colors.dim(", "));
1388
+ return `${title}${colors.gray(S_BAR)} ${label.trim() ? `${label}
1389
+ ${colors.gray(S_BAR)}` : ""}`;
1390
+ }
1391
+ case "error": {
1392
+ const footer = this.error.split("\n").map((ln, i) => i === 0 ? `${colors.yellow(S_BAR_END)} ${colors.yellow(ln)}` : ` ${ln}`).join("\n");
1393
+ return title + colors.yellow(S_BAR) + " " + this.options.map((option, i) => {
1394
+ const selected = this.value.includes(option.value);
1395
+ const active = i === this.cursor;
1396
+ if (active && selected) {
1397
+ return opt(option, "active-selected");
1398
+ }
1399
+ if (selected) {
1400
+ return opt(option, "selected");
1401
+ }
1402
+ return opt(option, active ? "active" : "inactive");
1403
+ }).join(`
1404
+ ${colors.yellow(S_BAR)} `) + "\n" + footer + "\n";
1405
+ }
1406
+ default: {
1407
+ return `${title}${colors.cyan(S_BAR)} ${this.options.map((option, i) => {
1408
+ const selected = this.value.includes(option.value);
1409
+ const active = i === this.cursor;
1410
+ if (active && selected) {
1411
+ return opt(option, "active-selected");
1412
+ }
1413
+ if (selected) {
1414
+ return opt(option, "selected");
1415
+ }
1416
+ return opt(option, active ? "active" : "inactive");
1417
+ }).join(`
1418
+ ${colors.cyan(S_BAR)} `)}
1419
+ ${colors.cyan(S_BAR_END)}
1420
+ `;
1421
+ }
1422
+ }
1423
+ }
1424
+ }).prompt();
1425
+ };
1426
+ });
1427
+
1428
+ // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/shared/consola.36c0034f.mjs
1429
+ import process$1 from "process";
1430
+
1431
+ class FancyReporter extends BasicReporter {
1432
+ formatStack(stack) {
1433
+ return "\n" + parseStack(stack).map((line) => " " + line.replace(/^at +/, (m2) => colors.gray(m2)).replace(/\((.+)\)/, (_2, m2) => `(${colors.cyan(m2)})`)).join("\n");
1434
+ }
1435
+ formatType(logObj, isBadge, opts) {
1436
+ const typeColor = TYPE_COLOR_MAP[logObj.type] || LEVEL_COLOR_MAP[logObj.level] || "gray";
1437
+ if (isBadge) {
1438
+ return getBgColor(typeColor)(colors.black(` ${logObj.type.toUpperCase()} `));
1439
+ }
1440
+ const _type = typeof TYPE_ICONS[logObj.type] === "string" ? TYPE_ICONS[logObj.type] : logObj.icon || logObj.type;
1441
+ return _type ? getColor2(typeColor)(_type) : "";
1442
+ }
1443
+ formatLogObj(logObj, opts) {
1444
+ const [message, ...additional] = this.formatArgs(logObj.args, opts).split("\n");
1445
+ if (logObj.type === "box") {
1446
+ return box(characterFormat(message + (additional.length > 0 ? "\n" + additional.join("\n") : "")), {
1447
+ title: logObj.title ? characterFormat(logObj.title) : undefined,
1448
+ style: logObj.style
1449
+ });
1450
+ }
1451
+ const date = this.formatDate(logObj.date, opts);
1452
+ const coloredDate = date && colors.gray(date);
1453
+ const isBadge = logObj.badge ?? logObj.level < 2;
1454
+ const type = this.formatType(logObj, isBadge, opts);
1455
+ const tag = logObj.tag ? colors.gray(logObj.tag) : "";
1456
+ let line;
1457
+ const left = this.filterAndJoin([type, characterFormat(message)]);
1458
+ const right = this.filterAndJoin(opts.columns ? [tag, coloredDate] : [tag]);
1459
+ const space = (opts.columns || 0) - stringWidth(left) - stringWidth(right) - 2;
1460
+ line = space > 0 && (opts.columns || 0) >= 80 ? left + " ".repeat(space) + right : (right ? `${colors.gray(`[${right}]`)} ` : "") + left;
1461
+ line += characterFormat(additional.length > 0 ? "\n" + additional.join("\n") : "");
1462
+ if (logObj.type === "trace") {
1463
+ const _err = new Error("Trace: " + logObj.message);
1464
+ line += this.formatStack(_err.stack || "");
1465
+ }
1466
+ return isBadge ? "\n" + line + "\n" : line;
1467
+ }
1468
+ }
1469
+ var detectProvider, toBoolean, ansiRegex2, stripAnsi2, getDefaultExportFromCjs, stringWidth$1, isUnicodeSupported, stringWidth, characterFormat, getColor2, getBgColor, createConsola2, _getDefaultLogLevel, providers, processShim, envShim, providerInfo, nodeENV, isCI2, hasTTY, isDebug, isTest, regex, eastasianwidth, eastasianwidthExports, eastAsianWidth, emojiRegex, TYPE_COLOR_MAP, LEVEL_COLOR_MAP, unicode2, s2, TYPE_ICONS, consola;
1470
+ var init_consola_36c0034f = __esm(() => {
1471
+ init_core();
1472
+ init_consola_06ad8a64();
1473
+ init_utils();
1474
+ detectProvider = function(env2) {
1475
+ for (const provider of providers) {
1476
+ const envName = provider[1] || provider[0];
1477
+ if (env2[envName]) {
1478
+ return {
1479
+ name: provider[0].toLowerCase(),
1480
+ ...provider[2]
1481
+ };
1482
+ }
1483
+ }
1484
+ if (env2.SHELL && env2.SHELL === "/bin/jsh") {
1485
+ return {
1486
+ name: "stackblitz",
1487
+ ci: false
1488
+ };
1489
+ }
1490
+ return {
1491
+ name: "",
1492
+ ci: false
1493
+ };
1494
+ };
1495
+ toBoolean = function(val) {
1496
+ return val ? val !== "false" : false;
1497
+ };
1498
+ ansiRegex2 = function({ onlyFirst = false } = {}) {
1499
+ const pattern = [
1500
+ "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
1501
+ "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
1502
+ ].join("|");
1503
+ return new RegExp(pattern, onlyFirst ? undefined : "g");
1504
+ };
1505
+ stripAnsi2 = function(string) {
1506
+ if (typeof string !== "string") {
1507
+ throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
1508
+ }
1509
+ return string.replace(regex, "");
1510
+ };
1511
+ getDefaultExportFromCjs = function(x) {
1512
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1513
+ };
1514
+ stringWidth$1 = function(string, options) {
1515
+ if (typeof string !== "string" || string.length === 0) {
1516
+ return 0;
1517
+ }
1518
+ options = {
1519
+ ambiguousIsNarrow: true,
1520
+ countAnsiEscapeCodes: false,
1521
+ ...options
1522
+ };
1523
+ if (!options.countAnsiEscapeCodes) {
1524
+ string = stripAnsi2(string);
1525
+ }
1526
+ if (string.length === 0) {
1527
+ return 0;
1528
+ }
1529
+ const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
1530
+ let width = 0;
1531
+ for (const { segment: character } of new Intl.Segmenter().segment(string)) {
1532
+ const codePoint = character.codePointAt(0);
1533
+ if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
1534
+ continue;
1535
+ }
1536
+ if (codePoint >= 768 && codePoint <= 879) {
1537
+ continue;
1538
+ }
1539
+ if (emojiRegex().test(character)) {
1540
+ width += 2;
1541
+ continue;
1542
+ }
1543
+ const code = eastAsianWidth.eastAsianWidth(character);
1544
+ switch (code) {
1545
+ case "F":
1546
+ case "W": {
1547
+ width += 2;
1548
+ break;
1549
+ }
1550
+ case "A": {
1551
+ width += ambiguousCharacterWidth;
1552
+ break;
1553
+ }
1554
+ default: {
1555
+ width += 1;
1556
+ }
1557
+ }
1558
+ }
1559
+ return width;
1560
+ };
1561
+ isUnicodeSupported = function() {
1562
+ if (process$1.platform !== "win32") {
1563
+ return process$1.env.TERM !== "linux";
1564
+ }
1565
+ return Boolean(process$1.env.CI) || Boolean(process$1.env.WT_SESSION) || Boolean(process$1.env.TERMINUS_SUBLIME) || process$1.env.ConEmuTask === "{cmd::Cmder}" || process$1.env.TERM_PROGRAM === "Terminus-Sublime" || process$1.env.TERM_PROGRAM === "vscode" || process$1.env.TERM === "xterm-256color" || process$1.env.TERM === "alacritty" || process$1.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
1566
+ };
1567
+ stringWidth = function(str) {
1568
+ if (!Intl.Segmenter) {
1569
+ return stripAnsi(str).length;
1570
+ }
1571
+ return stringWidth$1(str);
1572
+ };
1573
+ characterFormat = function(str) {
1574
+ return str.replace(/`([^`]+)`/gm, (_2, m2) => colors.cyan(m2)).replace(/\s+_([^_]+)_\s+/gm, (_2, m2) => ` ${colors.underline(m2)} `);
1575
+ };
1576
+ getColor2 = function(color = "white") {
1577
+ return colors[color] || colors.white;
1578
+ };
1579
+ getBgColor = function(color = "bgWhite") {
1580
+ return colors[`bg${color[0].toUpperCase()}${color.slice(1)}`] || colors.bgWhite;
1581
+ };
1582
+ createConsola2 = function(options = {}) {
1583
+ let level = _getDefaultLogLevel();
1584
+ if (process.env.CONSOLA_LEVEL) {
1585
+ level = Number.parseInt(process.env.CONSOLA_LEVEL) ?? level;
1586
+ }
1587
+ const consola2 = createConsola({
1588
+ level,
1589
+ defaults: { level },
1590
+ stdout: process.stdout,
1591
+ stderr: process.stderr,
1592
+ prompt: (...args) => Promise.resolve().then(() => (init_prompt(), exports_prompt)).then((m2) => m2.prompt(...args)),
1593
+ reporters: options.reporters || [
1594
+ options.fancy ?? !(isCI2 || isTest) ? new FancyReporter : new BasicReporter
1595
+ ],
1596
+ ...options
1597
+ });
1598
+ return consola2;
1599
+ };
1600
+ _getDefaultLogLevel = function() {
1601
+ if (isDebug) {
1602
+ return LogLevels.debug;
1603
+ }
1604
+ if (isTest) {
1605
+ return LogLevels.warn;
1606
+ }
1607
+ return LogLevels.info;
1608
+ };
1609
+ providers = [
1610
+ ["APPVEYOR"],
1611
+ ["AZURE_PIPELINES", "SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],
1612
+ ["AZURE_STATIC", "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],
1613
+ ["APPCIRCLE", "AC_APPCIRCLE"],
1614
+ ["BAMBOO", "bamboo_planKey"],
1615
+ ["BITBUCKET", "BITBUCKET_COMMIT"],
1616
+ ["BITRISE", "BITRISE_IO"],
1617
+ ["BUDDY", "BUDDY_WORKSPACE_ID"],
1618
+ ["BUILDKITE"],
1619
+ ["CIRCLE", "CIRCLECI"],
1620
+ ["CIRRUS", "CIRRUS_CI"],
1621
+ ["CLOUDFLARE_PAGES", "CF_PAGES", { ci: true }],
1622
+ ["CODEBUILD", "CODEBUILD_BUILD_ARN"],
1623
+ ["CODEFRESH", "CF_BUILD_ID"],
1624
+ ["DRONE"],
1625
+ ["DRONE", "DRONE_BUILD_EVENT"],
1626
+ ["DSARI"],
1627
+ ["GITHUB_ACTIONS"],
1628
+ ["GITLAB", "GITLAB_CI"],
1629
+ ["GITLAB", "CI_MERGE_REQUEST_ID"],
1630
+ ["GOCD", "GO_PIPELINE_LABEL"],
1631
+ ["LAYERCI"],
1632
+ ["HUDSON", "HUDSON_URL"],
1633
+ ["JENKINS", "JENKINS_URL"],
1634
+ ["MAGNUM"],
1635
+ ["NETLIFY"],
1636
+ ["NETLIFY", "NETLIFY_LOCAL", { ci: false }],
1637
+ ["NEVERCODE"],
1638
+ ["RENDER"],
1639
+ ["SAIL", "SAILCI"],
1640
+ ["SEMAPHORE"],
1641
+ ["SCREWDRIVER"],
1642
+ ["SHIPPABLE"],
1643
+ ["SOLANO", "TDDIUM"],
1644
+ ["STRIDER"],
1645
+ ["TEAMCITY", "TEAMCITY_VERSION"],
1646
+ ["TRAVIS"],
1647
+ ["VERCEL", "NOW_BUILDER"],
1648
+ ["APPCENTER", "APPCENTER_BUILD_ID"],
1649
+ ["CODESANDBOX", "CODESANDBOX_SSE", { ci: false }],
1650
+ ["STACKBLITZ"],
1651
+ ["STORMKIT"],
1652
+ ["CLEAVR"]
1653
+ ];
1654
+ processShim = typeof process !== "undefined" ? process : {};
1655
+ envShim = processShim.env || {};
1656
+ providerInfo = detectProvider(envShim);
1657
+ nodeENV = typeof process !== "undefined" && process.env && "development" || "";
1658
+ processShim.platform;
1659
+ providerInfo.name;
1660
+ isCI2 = toBoolean(envShim.CI) || providerInfo.ci !== false;
1661
+ hasTTY = toBoolean(processShim.stdout && processShim.stdout.isTTY);
1662
+ isDebug = toBoolean(envShim.DEBUG);
1663
+ isTest = nodeENV === "test" || toBoolean(envShim.TEST);
1664
+ toBoolean(envShim.MINIMAL);
1665
+ regex = ansiRegex2();
1666
+ eastasianwidth = { exports: {} };
1667
+ (function(module) {
1668
+ var eaw = {};
1669
+ {
1670
+ module.exports = eaw;
1671
+ }
1672
+ eaw.eastAsianWidth = function(character) {
1673
+ var x = character.charCodeAt(0);
1674
+ var y = character.length == 2 ? character.charCodeAt(1) : 0;
1675
+ var codePoint = x;
1676
+ if (55296 <= x && x <= 56319 && (56320 <= y && y <= 57343)) {
1677
+ x &= 1023;
1678
+ y &= 1023;
1679
+ codePoint = x << 10 | y;
1680
+ codePoint += 65536;
1681
+ }
1682
+ if (codePoint == 12288 || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510) {
1683
+ return "F";
1684
+ }
1685
+ if (codePoint == 8361 || 65377 <= codePoint && codePoint <= 65470 || 65474 <= codePoint && codePoint <= 65479 || 65482 <= codePoint && codePoint <= 65487 || 65490 <= codePoint && codePoint <= 65495 || 65498 <= codePoint && codePoint <= 65500 || 65512 <= codePoint && codePoint <= 65518) {
1686
+ return "H";
1687
+ }
1688
+ if (4352 <= codePoint && codePoint <= 4447 || 4515 <= codePoint && codePoint <= 4519 || 4602 <= codePoint && codePoint <= 4607 || 9001 <= codePoint && codePoint <= 9002 || 11904 <= codePoint && codePoint <= 11929 || 11931 <= codePoint && codePoint <= 12019 || 12032 <= codePoint && codePoint <= 12245 || 12272 <= codePoint && codePoint <= 12283 || 12289 <= codePoint && codePoint <= 12350 || 12353 <= codePoint && codePoint <= 12438 || 12441 <= codePoint && codePoint <= 12543 || 12549 <= codePoint && codePoint <= 12589 || 12593 <= codePoint && codePoint <= 12686 || 12688 <= codePoint && codePoint <= 12730 || 12736 <= codePoint && codePoint <= 12771 || 12784 <= codePoint && codePoint <= 12830 || 12832 <= codePoint && codePoint <= 12871 || 12880 <= codePoint && codePoint <= 13054 || 13056 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42124 || 42128 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 55216 <= codePoint && codePoint <= 55238 || 55243 <= codePoint && codePoint <= 55291 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65106 || 65108 <= codePoint && codePoint <= 65126 || 65128 <= codePoint && codePoint <= 65131 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127490 || 127504 <= codePoint && codePoint <= 127546 || 127552 <= codePoint && codePoint <= 127560 || 127568 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 194367 || 177984 <= codePoint && codePoint <= 196605 || 196608 <= codePoint && codePoint <= 262141) {
1689
+ return "W";
1690
+ }
1691
+ if (32 <= codePoint && codePoint <= 126 || 162 <= codePoint && codePoint <= 163 || 165 <= codePoint && codePoint <= 166 || codePoint == 172 || codePoint == 175 || 10214 <= codePoint && codePoint <= 10221 || 10629 <= codePoint && codePoint <= 10630) {
1692
+ return "Na";
1693
+ }
1694
+ if (codePoint == 161 || codePoint == 164 || 167 <= codePoint && codePoint <= 168 || codePoint == 170 || 173 <= codePoint && codePoint <= 174 || 176 <= codePoint && codePoint <= 180 || 182 <= codePoint && codePoint <= 186 || 188 <= codePoint && codePoint <= 191 || codePoint == 198 || codePoint == 208 || 215 <= codePoint && codePoint <= 216 || 222 <= codePoint && codePoint <= 225 || codePoint == 230 || 232 <= codePoint && codePoint <= 234 || 236 <= codePoint && codePoint <= 237 || codePoint == 240 || 242 <= codePoint && codePoint <= 243 || 247 <= codePoint && codePoint <= 250 || codePoint == 252 || codePoint == 254 || codePoint == 257 || codePoint == 273 || codePoint == 275 || codePoint == 283 || 294 <= codePoint && codePoint <= 295 || codePoint == 299 || 305 <= codePoint && codePoint <= 307 || codePoint == 312 || 319 <= codePoint && codePoint <= 322 || codePoint == 324 || 328 <= codePoint && codePoint <= 331 || codePoint == 333 || 338 <= codePoint && codePoint <= 339 || 358 <= codePoint && codePoint <= 359 || codePoint == 363 || codePoint == 462 || codePoint == 464 || codePoint == 466 || codePoint == 468 || codePoint == 470 || codePoint == 472 || codePoint == 474 || codePoint == 476 || codePoint == 593 || codePoint == 609 || codePoint == 708 || codePoint == 711 || 713 <= codePoint && codePoint <= 715 || codePoint == 717 || codePoint == 720 || 728 <= codePoint && codePoint <= 731 || codePoint == 733 || codePoint == 735 || 768 <= codePoint && codePoint <= 879 || 913 <= codePoint && codePoint <= 929 || 931 <= codePoint && codePoint <= 937 || 945 <= codePoint && codePoint <= 961 || 963 <= codePoint && codePoint <= 969 || codePoint == 1025 || 1040 <= codePoint && codePoint <= 1103 || codePoint == 1105 || codePoint == 8208 || 8211 <= codePoint && codePoint <= 8214 || 8216 <= codePoint && codePoint <= 8217 || 8220 <= codePoint && codePoint <= 8221 || 8224 <= codePoint && codePoint <= 8226 || 8228 <= codePoint && codePoint <= 8231 || codePoint == 8240 || 8242 <= codePoint && codePoint <= 8243 || codePoint == 8245 || codePoint == 8251 || codePoint == 8254 || codePoint == 8308 || codePoint == 8319 || 8321 <= codePoint && codePoint <= 8324 || codePoint == 8364 || codePoint == 8451 || codePoint == 8453 || codePoint == 8457 || codePoint == 8467 || codePoint == 8470 || 8481 <= codePoint && codePoint <= 8482 || codePoint == 8486 || codePoint == 8491 || 8531 <= codePoint && codePoint <= 8532 || 8539 <= codePoint && codePoint <= 8542 || 8544 <= codePoint && codePoint <= 8555 || 8560 <= codePoint && codePoint <= 8569 || codePoint == 8585 || 8592 <= codePoint && codePoint <= 8601 || 8632 <= codePoint && codePoint <= 8633 || codePoint == 8658 || codePoint == 8660 || codePoint == 8679 || codePoint == 8704 || 8706 <= codePoint && codePoint <= 8707 || 8711 <= codePoint && codePoint <= 8712 || codePoint == 8715 || codePoint == 8719 || codePoint == 8721 || codePoint == 8725 || codePoint == 8730 || 8733 <= codePoint && codePoint <= 8736 || codePoint == 8739 || codePoint == 8741 || 8743 <= codePoint && codePoint <= 8748 || codePoint == 8750 || 8756 <= codePoint && codePoint <= 8759 || 8764 <= codePoint && codePoint <= 8765 || codePoint == 8776 || codePoint == 8780 || codePoint == 8786 || 8800 <= codePoint && codePoint <= 8801 || 8804 <= codePoint && codePoint <= 8807 || 8810 <= codePoint && codePoint <= 8811 || 8814 <= codePoint && codePoint <= 8815 || 8834 <= codePoint && codePoint <= 8835 || 8838 <= codePoint && codePoint <= 8839 || codePoint == 8853 || codePoint == 8857 || codePoint == 8869 || codePoint == 8895 || codePoint == 8978 || 9312 <= codePoint && codePoint <= 9449 || 9451 <= codePoint && codePoint <= 9547 || 9552 <= codePoint && codePoint <= 9587 || 9600 <= codePoint && codePoint <= 9615 || 9618 <= codePoint && codePoint <= 9621 || 9632 <= codePoint && codePoint <= 9633 || 9635 <= codePoint && codePoint <= 9641 || 9650 <= codePoint && codePoint <= 9651 || 9654 <= codePoint && codePoint <= 9655 || 9660 <= codePoint && codePoint <= 9661 || 9664 <= codePoint && codePoint <= 9665 || 9670 <= codePoint && codePoint <= 9672 || codePoint == 9675 || 9678 <= codePoint && codePoint <= 9681 || 9698 <= codePoint && codePoint <= 9701 || codePoint == 9711 || 9733 <= codePoint && codePoint <= 9734 || codePoint == 9737 || 9742 <= codePoint && codePoint <= 9743 || 9748 <= codePoint && codePoint <= 9749 || codePoint == 9756 || codePoint == 9758 || codePoint == 9792 || codePoint == 9794 || 9824 <= codePoint && codePoint <= 9825 || 9827 <= codePoint && codePoint <= 9829 || 9831 <= codePoint && codePoint <= 9834 || 9836 <= codePoint && codePoint <= 9837 || codePoint == 9839 || 9886 <= codePoint && codePoint <= 9887 || 9918 <= codePoint && codePoint <= 9919 || 9924 <= codePoint && codePoint <= 9933 || 9935 <= codePoint && codePoint <= 9953 || codePoint == 9955 || 9960 <= codePoint && codePoint <= 9983 || codePoint == 10045 || codePoint == 10071 || 10102 <= codePoint && codePoint <= 10111 || 11093 <= codePoint && codePoint <= 11097 || 12872 <= codePoint && codePoint <= 12879 || 57344 <= codePoint && codePoint <= 63743 || 65024 <= codePoint && codePoint <= 65039 || codePoint == 65533 || 127232 <= codePoint && codePoint <= 127242 || 127248 <= codePoint && codePoint <= 127277 || 127280 <= codePoint && codePoint <= 127337 || 127344 <= codePoint && codePoint <= 127386 || 917760 <= codePoint && codePoint <= 917999 || 983040 <= codePoint && codePoint <= 1048573 || 1048576 <= codePoint && codePoint <= 1114109) {
1695
+ return "A";
1696
+ }
1697
+ return "N";
1698
+ };
1699
+ eaw.characterLength = function(character) {
1700
+ var code = this.eastAsianWidth(character);
1701
+ if (code == "F" || code == "W" || code == "A") {
1702
+ return 2;
1703
+ } else {
1704
+ return 1;
1705
+ }
1706
+ };
1707
+ function stringToArray(string) {
1708
+ return string.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
1709
+ }
1710
+ eaw.length = function(string) {
1711
+ var characters = stringToArray(string);
1712
+ var len = 0;
1713
+ for (var i = 0;i < characters.length; i++) {
1714
+ len = len + this.characterLength(characters[i]);
1715
+ }
1716
+ return len;
1717
+ };
1718
+ eaw.slice = function(text2, start, end) {
1719
+ textLen = eaw.length(text2);
1720
+ start = start ? start : 0;
1721
+ end = end ? end : 1;
1722
+ if (start < 0) {
1723
+ start = textLen + start;
1724
+ }
1725
+ if (end < 0) {
1726
+ end = textLen + end;
1727
+ }
1728
+ var result = "";
1729
+ var eawLen = 0;
1730
+ var chars = stringToArray(text2);
1731
+ for (var i = 0;i < chars.length; i++) {
1732
+ var char = chars[i];
1733
+ var charLen = eaw.length(char);
1734
+ if (eawLen >= start - (charLen == 2 ? 1 : 0)) {
1735
+ if (eawLen + charLen <= end) {
1736
+ result += char;
1737
+ } else {
1738
+ break;
1739
+ }
1740
+ }
1741
+ eawLen += charLen;
1742
+ }
1743
+ return result;
1744
+ };
1745
+ })(eastasianwidth);
1746
+ eastasianwidthExports = eastasianwidth.exports;
1747
+ eastAsianWidth = getDefaultExportFromCjs(eastasianwidthExports);
1748
+ emojiRegex = () => {
1749
+ return /[#*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\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\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;
1750
+ };
1751
+ TYPE_COLOR_MAP = {
1752
+ info: "cyan",
1753
+ fail: "red",
1754
+ success: "green",
1755
+ ready: "green",
1756
+ start: "magenta"
1757
+ };
1758
+ LEVEL_COLOR_MAP = {
1759
+ 0: "red",
1760
+ 1: "yellow"
1761
+ };
1762
+ unicode2 = isUnicodeSupported();
1763
+ s2 = (c2, fallback) => unicode2 ? c2 : fallback;
1764
+ TYPE_ICONS = {
1765
+ error: s2("\u2716", "\xD7"),
1766
+ fatal: s2("\u2716", "\xD7"),
1767
+ ready: s2("\u2714", "\u221A"),
1768
+ warn: s2("\u26A0", "\u203C"),
1769
+ info: s2("\u2139", "i"),
1770
+ success: s2("\u2714", "\u221A"),
1771
+ debug: s2("\u2699", "D"),
1772
+ trace: s2("\u2192", "\u2192"),
1773
+ fail: s2("\u2716", "\xD7"),
1774
+ start: s2("\u25D0", "o"),
1775
+ log: ""
1776
+ };
1777
+ consola = createConsola2();
1778
+ });
1779
+
1780
+ // src/index.ts
1781
+ import process2 from "process";
1782
+
1783
+ // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/index.mjs
1784
+ init_consola_36c0034f();
1785
+ init_core();
1786
+ init_consola_06ad8a64();
1787
+ init_utils();
1788
+ import"process";
1789
+ import"tty";
1790
+ import"util";
1791
+ import"path";
1792
+
1793
+ // src/index.ts
1794
+ import {ExitCode} from "@stacksjs/types";
1795
+ function dump(...args) {
1796
+ return log.debug(args);
1797
+ }
1798
+ function dd(...args) {
1799
+ args.forEach((arg) => log.debug(arg));
1800
+ process2.exit(ExitCode.FatalError);
1801
+ }
1802
+ var logger = consola;
1803
+ var log = consola;
1804
+ export {
1805
+ logger,
1806
+ log,
1807
+ dump,
1808
+ dd
1809
+ };