create-vorma 0.82.0

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.
package/dist/main.js ADDED
@@ -0,0 +1,999 @@
1
+ #!/usr/bin/env node
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __commonJS = (cb, mod) => function __require() {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+
28
+ // internal/framework/_typescript/create/node_modules/sisteransi/src/index.js
29
+ var require_src = __commonJS({
30
+ "internal/framework/_typescript/create/node_modules/sisteransi/src/index.js"(exports, module) {
31
+ "use strict";
32
+ var ESC = "\x1B";
33
+ var CSI = `${ESC}[`;
34
+ var beep = "\x07";
35
+ var cursor = {
36
+ to(x2, y3) {
37
+ if (!y3) return `${CSI}${x2 + 1}G`;
38
+ return `${CSI}${y3 + 1};${x2 + 1}H`;
39
+ },
40
+ move(x2, y3) {
41
+ let ret = "";
42
+ if (x2 < 0) ret += `${CSI}${-x2}D`;
43
+ else if (x2 > 0) ret += `${CSI}${x2}C`;
44
+ if (y3 < 0) ret += `${CSI}${-y3}A`;
45
+ else if (y3 > 0) ret += `${CSI}${y3}B`;
46
+ return ret;
47
+ },
48
+ up: (count = 1) => `${CSI}${count}A`,
49
+ down: (count = 1) => `${CSI}${count}B`,
50
+ forward: (count = 1) => `${CSI}${count}C`,
51
+ backward: (count = 1) => `${CSI}${count}D`,
52
+ nextLine: (count = 1) => `${CSI}E`.repeat(count),
53
+ prevLine: (count = 1) => `${CSI}F`.repeat(count),
54
+ left: `${CSI}G`,
55
+ hide: `${CSI}?25l`,
56
+ show: `${CSI}?25h`,
57
+ save: `${ESC}7`,
58
+ restore: `${ESC}8`
59
+ };
60
+ var scroll = {
61
+ up: (count = 1) => `${CSI}S`.repeat(count),
62
+ down: (count = 1) => `${CSI}T`.repeat(count)
63
+ };
64
+ var erase = {
65
+ screen: `${CSI}2J`,
66
+ up: (count = 1) => `${CSI}1J`.repeat(count),
67
+ down: (count = 1) => `${CSI}J`.repeat(count),
68
+ line: `${CSI}2K`,
69
+ lineEnd: `${CSI}K`,
70
+ lineStart: `${CSI}1K`,
71
+ lines(count) {
72
+ let clear = "";
73
+ for (let i = 0; i < count; i++)
74
+ clear += this.line + (i < count - 1 ? cursor.up() : "");
75
+ if (count)
76
+ clear += cursor.left;
77
+ return clear;
78
+ }
79
+ };
80
+ module.exports = { cursor, scroll, erase, beep };
81
+ }
82
+ });
83
+
84
+ // internal/framework/_typescript/create/node_modules/picocolors/picocolors.browser.js
85
+ var require_picocolors_browser = __commonJS({
86
+ "internal/framework/_typescript/create/node_modules/picocolors/picocolors.browser.js"(exports, module) {
87
+ "use strict";
88
+ var x2 = String;
89
+ var create = function() {
90
+ return { isColorSupported: false, reset: x2, bold: x2, dim: x2, italic: x2, underline: x2, inverse: x2, hidden: x2, strikethrough: x2, black: x2, red: x2, green: x2, yellow: x2, blue: x2, magenta: x2, cyan: x2, white: x2, gray: x2, bgBlack: x2, bgRed: x2, bgGreen: x2, bgYellow: x2, bgBlue: x2, bgMagenta: x2, bgCyan: x2, bgWhite: x2, blackBright: x2, redBright: x2, greenBright: x2, yellowBright: x2, blueBright: x2, magentaBright: x2, cyanBright: x2, whiteBright: x2, bgBlackBright: x2, bgRedBright: x2, bgGreenBright: x2, bgYellowBright: x2, bgBlueBright: x2, bgMagentaBright: x2, bgCyanBright: x2, bgWhiteBright: x2 };
91
+ };
92
+ module.exports = create();
93
+ module.exports.createColors = create;
94
+ }
95
+ });
96
+
97
+ // internal/framework/_typescript/create/node_modules/@clack/prompts/dist/index.mjs
98
+ import { stripVTControlCharacters as S2 } from "node:util";
99
+
100
+ // internal/framework/_typescript/create/node_modules/@clack/core/dist/index.mjs
101
+ var import_sisteransi = __toESM(require_src(), 1);
102
+ var import_picocolors = __toESM(require_picocolors_browser(), 1);
103
+ import { stdin as j, stdout as M } from "node:process";
104
+ import * as g from "node:readline";
105
+ import O from "node:readline";
106
+ import { Writable as X } from "node:stream";
107
+ function DD({ onlyFirst: e2 = false } = {}) {
108
+ const t = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
109
+ return new RegExp(t, e2 ? void 0 : "g");
110
+ }
111
+ var uD = DD();
112
+ function P(e2) {
113
+ if (typeof e2 != "string") throw new TypeError(`Expected a \`string\`, got \`${typeof e2}\``);
114
+ return e2.replace(uD, "");
115
+ }
116
+ function L(e2) {
117
+ return e2 && e2.__esModule && Object.prototype.hasOwnProperty.call(e2, "default") ? e2.default : e2;
118
+ }
119
+ var W = { exports: {} };
120
+ (function(e2) {
121
+ var u2 = {};
122
+ e2.exports = u2, u2.eastAsianWidth = function(F2) {
123
+ var s = F2.charCodeAt(0), i = F2.length == 2 ? F2.charCodeAt(1) : 0, D2 = s;
124
+ return 55296 <= s && s <= 56319 && 56320 <= i && i <= 57343 && (s &= 1023, i &= 1023, D2 = s << 10 | i, D2 += 65536), D2 == 12288 || 65281 <= D2 && D2 <= 65376 || 65504 <= D2 && D2 <= 65510 ? "F" : D2 == 8361 || 65377 <= D2 && D2 <= 65470 || 65474 <= D2 && D2 <= 65479 || 65482 <= D2 && D2 <= 65487 || 65490 <= D2 && D2 <= 65495 || 65498 <= D2 && D2 <= 65500 || 65512 <= D2 && D2 <= 65518 ? "H" : 4352 <= D2 && D2 <= 4447 || 4515 <= D2 && D2 <= 4519 || 4602 <= D2 && D2 <= 4607 || 9001 <= D2 && D2 <= 9002 || 11904 <= D2 && D2 <= 11929 || 11931 <= D2 && D2 <= 12019 || 12032 <= D2 && D2 <= 12245 || 12272 <= D2 && D2 <= 12283 || 12289 <= D2 && D2 <= 12350 || 12353 <= D2 && D2 <= 12438 || 12441 <= D2 && D2 <= 12543 || 12549 <= D2 && D2 <= 12589 || 12593 <= D2 && D2 <= 12686 || 12688 <= D2 && D2 <= 12730 || 12736 <= D2 && D2 <= 12771 || 12784 <= D2 && D2 <= 12830 || 12832 <= D2 && D2 <= 12871 || 12880 <= D2 && D2 <= 13054 || 13056 <= D2 && D2 <= 19903 || 19968 <= D2 && D2 <= 42124 || 42128 <= D2 && D2 <= 42182 || 43360 <= D2 && D2 <= 43388 || 44032 <= D2 && D2 <= 55203 || 55216 <= D2 && D2 <= 55238 || 55243 <= D2 && D2 <= 55291 || 63744 <= D2 && D2 <= 64255 || 65040 <= D2 && D2 <= 65049 || 65072 <= D2 && D2 <= 65106 || 65108 <= D2 && D2 <= 65126 || 65128 <= D2 && D2 <= 65131 || 110592 <= D2 && D2 <= 110593 || 127488 <= D2 && D2 <= 127490 || 127504 <= D2 && D2 <= 127546 || 127552 <= D2 && D2 <= 127560 || 127568 <= D2 && D2 <= 127569 || 131072 <= D2 && D2 <= 194367 || 177984 <= D2 && D2 <= 196605 || 196608 <= D2 && D2 <= 262141 ? "W" : 32 <= D2 && D2 <= 126 || 162 <= D2 && D2 <= 163 || 165 <= D2 && D2 <= 166 || D2 == 172 || D2 == 175 || 10214 <= D2 && D2 <= 10221 || 10629 <= D2 && D2 <= 10630 ? "Na" : D2 == 161 || D2 == 164 || 167 <= D2 && D2 <= 168 || D2 == 170 || 173 <= D2 && D2 <= 174 || 176 <= D2 && D2 <= 180 || 182 <= D2 && D2 <= 186 || 188 <= D2 && D2 <= 191 || D2 == 198 || D2 == 208 || 215 <= D2 && D2 <= 216 || 222 <= D2 && D2 <= 225 || D2 == 230 || 232 <= D2 && D2 <= 234 || 236 <= D2 && D2 <= 237 || D2 == 240 || 242 <= D2 && D2 <= 243 || 247 <= D2 && D2 <= 250 || D2 == 252 || D2 == 254 || D2 == 257 || D2 == 273 || D2 == 275 || D2 == 283 || 294 <= D2 && D2 <= 295 || D2 == 299 || 305 <= D2 && D2 <= 307 || D2 == 312 || 319 <= D2 && D2 <= 322 || D2 == 324 || 328 <= D2 && D2 <= 331 || D2 == 333 || 338 <= D2 && D2 <= 339 || 358 <= D2 && D2 <= 359 || D2 == 363 || D2 == 462 || D2 == 464 || D2 == 466 || D2 == 468 || D2 == 470 || D2 == 472 || D2 == 474 || D2 == 476 || D2 == 593 || D2 == 609 || D2 == 708 || D2 == 711 || 713 <= D2 && D2 <= 715 || D2 == 717 || D2 == 720 || 728 <= D2 && D2 <= 731 || D2 == 733 || D2 == 735 || 768 <= D2 && D2 <= 879 || 913 <= D2 && D2 <= 929 || 931 <= D2 && D2 <= 937 || 945 <= D2 && D2 <= 961 || 963 <= D2 && D2 <= 969 || D2 == 1025 || 1040 <= D2 && D2 <= 1103 || D2 == 1105 || D2 == 8208 || 8211 <= D2 && D2 <= 8214 || 8216 <= D2 && D2 <= 8217 || 8220 <= D2 && D2 <= 8221 || 8224 <= D2 && D2 <= 8226 || 8228 <= D2 && D2 <= 8231 || D2 == 8240 || 8242 <= D2 && D2 <= 8243 || D2 == 8245 || D2 == 8251 || D2 == 8254 || D2 == 8308 || D2 == 8319 || 8321 <= D2 && D2 <= 8324 || D2 == 8364 || D2 == 8451 || D2 == 8453 || D2 == 8457 || D2 == 8467 || D2 == 8470 || 8481 <= D2 && D2 <= 8482 || D2 == 8486 || D2 == 8491 || 8531 <= D2 && D2 <= 8532 || 8539 <= D2 && D2 <= 8542 || 8544 <= D2 && D2 <= 8555 || 8560 <= D2 && D2 <= 8569 || D2 == 8585 || 8592 <= D2 && D2 <= 8601 || 8632 <= D2 && D2 <= 8633 || D2 == 8658 || D2 == 8660 || D2 == 8679 || D2 == 8704 || 8706 <= D2 && D2 <= 8707 || 8711 <= D2 && D2 <= 8712 || D2 == 8715 || D2 == 8719 || D2 == 8721 || D2 == 8725 || D2 == 8730 || 8733 <= D2 && D2 <= 8736 || D2 == 8739 || D2 == 8741 || 8743 <= D2 && D2 <= 8748 || D2 == 8750 || 8756 <= D2 && D2 <= 8759 || 8764 <= D2 && D2 <= 8765 || D2 == 8776 || D2 == 8780 || D2 == 8786 || 8800 <= D2 && D2 <= 8801 || 8804 <= D2 && D2 <= 8807 || 8810 <= D2 && D2 <= 8811 || 8814 <= D2 && D2 <= 8815 || 8834 <= D2 && D2 <= 8835 || 8838 <= D2 && D2 <= 8839 || D2 == 8853 || D2 == 8857 || D2 == 8869 || D2 == 8895 || D2 == 8978 || 9312 <= D2 && D2 <= 9449 || 9451 <= D2 && D2 <= 9547 || 9552 <= D2 && D2 <= 9587 || 9600 <= D2 && D2 <= 9615 || 9618 <= D2 && D2 <= 9621 || 9632 <= D2 && D2 <= 9633 || 9635 <= D2 && D2 <= 9641 || 9650 <= D2 && D2 <= 9651 || 9654 <= D2 && D2 <= 9655 || 9660 <= D2 && D2 <= 9661 || 9664 <= D2 && D2 <= 9665 || 9670 <= D2 && D2 <= 9672 || D2 == 9675 || 9678 <= D2 && D2 <= 9681 || 9698 <= D2 && D2 <= 9701 || D2 == 9711 || 9733 <= D2 && D2 <= 9734 || D2 == 9737 || 9742 <= D2 && D2 <= 9743 || 9748 <= D2 && D2 <= 9749 || D2 == 9756 || D2 == 9758 || D2 == 9792 || D2 == 9794 || 9824 <= D2 && D2 <= 9825 || 9827 <= D2 && D2 <= 9829 || 9831 <= D2 && D2 <= 9834 || 9836 <= D2 && D2 <= 9837 || D2 == 9839 || 9886 <= D2 && D2 <= 9887 || 9918 <= D2 && D2 <= 9919 || 9924 <= D2 && D2 <= 9933 || 9935 <= D2 && D2 <= 9953 || D2 == 9955 || 9960 <= D2 && D2 <= 9983 || D2 == 10045 || D2 == 10071 || 10102 <= D2 && D2 <= 10111 || 11093 <= D2 && D2 <= 11097 || 12872 <= D2 && D2 <= 12879 || 57344 <= D2 && D2 <= 63743 || 65024 <= D2 && D2 <= 65039 || D2 == 65533 || 127232 <= D2 && D2 <= 127242 || 127248 <= D2 && D2 <= 127277 || 127280 <= D2 && D2 <= 127337 || 127344 <= D2 && D2 <= 127386 || 917760 <= D2 && D2 <= 917999 || 983040 <= D2 && D2 <= 1048573 || 1048576 <= D2 && D2 <= 1114109 ? "A" : "N";
125
+ }, u2.characterLength = function(F2) {
126
+ var s = this.eastAsianWidth(F2);
127
+ return s == "F" || s == "W" || s == "A" ? 2 : 1;
128
+ };
129
+ function t(F2) {
130
+ return F2.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g) || [];
131
+ }
132
+ u2.length = function(F2) {
133
+ for (var s = t(F2), i = 0, D2 = 0; D2 < s.length; D2++) i = i + this.characterLength(s[D2]);
134
+ return i;
135
+ }, u2.slice = function(F2, s, i) {
136
+ textLen = u2.length(F2), s = s || 0, i = i || 1, s < 0 && (s = textLen + s), i < 0 && (i = textLen + i);
137
+ for (var D2 = "", C2 = 0, n = t(F2), E = 0; E < n.length; E++) {
138
+ var a = n[E], o2 = u2.length(a);
139
+ if (C2 >= s - (o2 == 2 ? 1 : 0)) if (C2 + o2 <= i) D2 += a;
140
+ else break;
141
+ C2 += o2;
142
+ }
143
+ return D2;
144
+ };
145
+ })(W);
146
+ var tD = W.exports;
147
+ var eD = L(tD);
148
+ var FD = function() {
149
+ 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;
150
+ };
151
+ var sD = L(FD);
152
+ function p(e2, u2 = {}) {
153
+ if (typeof e2 != "string" || e2.length === 0 || (u2 = { ambiguousIsNarrow: true, ...u2 }, e2 = P(e2), e2.length === 0)) return 0;
154
+ e2 = e2.replace(sD(), " ");
155
+ const t = u2.ambiguousIsNarrow ? 1 : 2;
156
+ let F2 = 0;
157
+ for (const s of e2) {
158
+ const i = s.codePointAt(0);
159
+ if (i <= 31 || i >= 127 && i <= 159 || i >= 768 && i <= 879) continue;
160
+ switch (eD.eastAsianWidth(s)) {
161
+ case "F":
162
+ case "W":
163
+ F2 += 2;
164
+ break;
165
+ case "A":
166
+ F2 += t;
167
+ break;
168
+ default:
169
+ F2 += 1;
170
+ }
171
+ }
172
+ return F2;
173
+ }
174
+ var w = 10;
175
+ var N = (e2 = 0) => (u2) => `\x1B[${u2 + e2}m`;
176
+ var I = (e2 = 0) => (u2) => `\x1B[${38 + e2};5;${u2}m`;
177
+ var R = (e2 = 0) => (u2, t, F2) => `\x1B[${38 + e2};2;${u2};${t};${F2}m`;
178
+ var 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] } };
179
+ Object.keys(r.modifier);
180
+ var iD = Object.keys(r.color);
181
+ var CD = Object.keys(r.bgColor);
182
+ [...iD, ...CD];
183
+ function rD() {
184
+ const e2 = /* @__PURE__ */ new Map();
185
+ for (const [u2, t] of Object.entries(r)) {
186
+ for (const [F2, s] of Object.entries(t)) r[F2] = { open: `\x1B[${s[0]}m`, close: `\x1B[${s[1]}m` }, t[F2] = r[F2], e2.set(s[0], s[1]);
187
+ Object.defineProperty(r, u2, { value: t, enumerable: false });
188
+ }
189
+ return Object.defineProperty(r, "codes", { value: e2, enumerable: false }), r.color.close = "\x1B[39m", r.bgColor.close = "\x1B[49m", r.color.ansi = N(), r.color.ansi256 = I(), r.color.ansi16m = R(), r.bgColor.ansi = N(w), r.bgColor.ansi256 = I(w), r.bgColor.ansi16m = R(w), Object.defineProperties(r, { rgbToAnsi256: { value: (u2, t, F2) => u2 === t && t === F2 ? u2 < 8 ? 16 : u2 > 248 ? 231 : Math.round((u2 - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(u2 / 255 * 5) + 6 * Math.round(t / 255 * 5) + Math.round(F2 / 255 * 5), enumerable: false }, hexToRgb: { value: (u2) => {
190
+ const t = /[a-f\d]{6}|[a-f\d]{3}/i.exec(u2.toString(16));
191
+ if (!t) return [0, 0, 0];
192
+ let [F2] = t;
193
+ F2.length === 3 && (F2 = [...F2].map((i) => i + i).join(""));
194
+ const s = Number.parseInt(F2, 16);
195
+ return [s >> 16 & 255, s >> 8 & 255, s & 255];
196
+ }, enumerable: false }, hexToAnsi256: { value: (u2) => r.rgbToAnsi256(...r.hexToRgb(u2)), enumerable: false }, ansi256ToAnsi: { value: (u2) => {
197
+ if (u2 < 8) return 30 + u2;
198
+ if (u2 < 16) return 90 + (u2 - 8);
199
+ let t, F2, s;
200
+ if (u2 >= 232) t = ((u2 - 232) * 10 + 8) / 255, F2 = t, s = t;
201
+ else {
202
+ u2 -= 16;
203
+ const C2 = u2 % 36;
204
+ t = Math.floor(u2 / 36) / 5, F2 = Math.floor(C2 / 6) / 5, s = C2 % 6 / 5;
205
+ }
206
+ const i = Math.max(t, F2, s) * 2;
207
+ if (i === 0) return 30;
208
+ let D2 = 30 + (Math.round(s) << 2 | Math.round(F2) << 1 | Math.round(t));
209
+ return i === 2 && (D2 += 60), D2;
210
+ }, enumerable: false }, rgbToAnsi: { value: (u2, t, F2) => r.ansi256ToAnsi(r.rgbToAnsi256(u2, t, F2)), enumerable: false }, hexToAnsi: { value: (u2) => r.ansi256ToAnsi(r.hexToAnsi256(u2)), enumerable: false } }), r;
211
+ }
212
+ var ED = rD();
213
+ var d = /* @__PURE__ */ new Set(["\x1B", "\x9B"]);
214
+ var oD = 39;
215
+ var y = "\x07";
216
+ var V = "[";
217
+ var nD = "]";
218
+ var G = "m";
219
+ var _ = `${nD}8;;`;
220
+ var z = (e2) => `${d.values().next().value}${V}${e2}${G}`;
221
+ var K = (e2) => `${d.values().next().value}${_}${e2}${y}`;
222
+ var aD = (e2) => e2.split(" ").map((u2) => p(u2));
223
+ var k = (e2, u2, t) => {
224
+ const F2 = [...u2];
225
+ let s = false, i = false, D2 = p(P(e2[e2.length - 1]));
226
+ for (const [C2, n] of F2.entries()) {
227
+ const E = p(n);
228
+ if (D2 + E <= t ? e2[e2.length - 1] += n : (e2.push(n), D2 = 0), d.has(n) && (s = true, i = F2.slice(C2 + 1).join("").startsWith(_)), s) {
229
+ i ? n === y && (s = false, i = false) : n === G && (s = false);
230
+ continue;
231
+ }
232
+ D2 += E, D2 === t && C2 < F2.length - 1 && (e2.push(""), D2 = 0);
233
+ }
234
+ !D2 && e2[e2.length - 1].length > 0 && e2.length > 1 && (e2[e2.length - 2] += e2.pop());
235
+ };
236
+ var hD = (e2) => {
237
+ const u2 = e2.split(" ");
238
+ let t = u2.length;
239
+ for (; t > 0 && !(p(u2[t - 1]) > 0); ) t--;
240
+ return t === u2.length ? e2 : u2.slice(0, t).join(" ") + u2.slice(t).join("");
241
+ };
242
+ var lD = (e2, u2, t = {}) => {
243
+ if (t.trim !== false && e2.trim() === "") return "";
244
+ let F2 = "", s, i;
245
+ const D2 = aD(e2);
246
+ let C2 = [""];
247
+ for (const [E, a] of e2.split(" ").entries()) {
248
+ t.trim !== false && (C2[C2.length - 1] = C2[C2.length - 1].trimStart());
249
+ let o2 = p(C2[C2.length - 1]);
250
+ if (E !== 0 && (o2 >= u2 && (t.wordWrap === false || t.trim === false) && (C2.push(""), o2 = 0), (o2 > 0 || t.trim === false) && (C2[C2.length - 1] += " ", o2++)), t.hard && D2[E] > u2) {
251
+ const c = u2 - o2, f = 1 + Math.floor((D2[E] - c - 1) / u2);
252
+ Math.floor((D2[E] - 1) / u2) < f && C2.push(""), k(C2, a, u2);
253
+ continue;
254
+ }
255
+ if (o2 + D2[E] > u2 && o2 > 0 && D2[E] > 0) {
256
+ if (t.wordWrap === false && o2 < u2) {
257
+ k(C2, a, u2);
258
+ continue;
259
+ }
260
+ C2.push("");
261
+ }
262
+ if (o2 + D2[E] > u2 && t.wordWrap === false) {
263
+ k(C2, a, u2);
264
+ continue;
265
+ }
266
+ C2[C2.length - 1] += a;
267
+ }
268
+ t.trim !== false && (C2 = C2.map((E) => hD(E)));
269
+ const n = [...C2.join(`
270
+ `)];
271
+ for (const [E, a] of n.entries()) {
272
+ if (F2 += a, d.has(a)) {
273
+ const { groups: c } = new RegExp(`(?:\\${V}(?<code>\\d+)m|\\${_}(?<uri>.*)${y})`).exec(n.slice(E).join("")) || { groups: {} };
274
+ if (c.code !== void 0) {
275
+ const f = Number.parseFloat(c.code);
276
+ s = f === oD ? void 0 : f;
277
+ } else c.uri !== void 0 && (i = c.uri.length === 0 ? void 0 : c.uri);
278
+ }
279
+ const o2 = ED.codes.get(Number(s));
280
+ n[E + 1] === `
281
+ ` ? (i && (F2 += K("")), s && o2 && (F2 += z(o2))) : a === `
282
+ ` && (s && o2 && (F2 += z(s)), i && (F2 += K(i)));
283
+ }
284
+ return F2;
285
+ };
286
+ function Y(e2, u2, t) {
287
+ return String(e2).normalize().replace(/\r\n/g, `
288
+ `).split(`
289
+ `).map((F2) => lD(F2, u2, t)).join(`
290
+ `);
291
+ }
292
+ var xD = ["up", "down", "left", "right", "space", "enter", "cancel"];
293
+ var B = { actions: new Set(xD), aliases: /* @__PURE__ */ new Map([["k", "up"], ["j", "down"], ["h", "left"], ["l", "right"], ["", "cancel"], ["escape", "cancel"]]) };
294
+ function $(e2, u2) {
295
+ if (typeof e2 == "string") return B.aliases.get(e2) === u2;
296
+ for (const t of e2) if (t !== void 0 && $(t, u2)) return true;
297
+ return false;
298
+ }
299
+ function BD(e2, u2) {
300
+ if (e2 === u2) return;
301
+ const t = e2.split(`
302
+ `), F2 = u2.split(`
303
+ `), s = [];
304
+ for (let i = 0; i < Math.max(t.length, F2.length); i++) t[i] !== F2[i] && s.push(i);
305
+ return s;
306
+ }
307
+ var AD = globalThis.process.platform.startsWith("win");
308
+ var S = Symbol("clack:cancel");
309
+ function pD(e2) {
310
+ return e2 === S;
311
+ }
312
+ function m(e2, u2) {
313
+ const t = e2;
314
+ t.isTTY && t.setRawMode(u2);
315
+ }
316
+ function fD({ input: e2 = j, output: u2 = M, overwrite: t = true, hideCursor: F2 = true } = {}) {
317
+ const s = g.createInterface({ input: e2, output: u2, prompt: "", tabSize: 1 });
318
+ g.emitKeypressEvents(e2, s), e2.isTTY && e2.setRawMode(true);
319
+ const i = (D2, { name: C2, sequence: n }) => {
320
+ const E = String(D2);
321
+ if ($([E, C2, n], "cancel")) {
322
+ F2 && u2.write(import_sisteransi.cursor.show), process.exit(0);
323
+ return;
324
+ }
325
+ if (!t) return;
326
+ const a = C2 === "return" ? 0 : -1, o2 = C2 === "return" ? -1 : 0;
327
+ g.moveCursor(u2, a, o2, () => {
328
+ g.clearLine(u2, 1, () => {
329
+ e2.once("keypress", i);
330
+ });
331
+ });
332
+ };
333
+ return F2 && u2.write(import_sisteransi.cursor.hide), e2.once("keypress", i), () => {
334
+ e2.off("keypress", i), F2 && u2.write(import_sisteransi.cursor.show), e2.isTTY && !AD && e2.setRawMode(false), s.terminal = false, s.close();
335
+ };
336
+ }
337
+ var gD = Object.defineProperty;
338
+ var vD = (e2, u2, t) => u2 in e2 ? gD(e2, u2, { enumerable: true, configurable: true, writable: true, value: t }) : e2[u2] = t;
339
+ var h = (e2, u2, t) => (vD(e2, typeof u2 != "symbol" ? u2 + "" : u2, t), t);
340
+ var x = class {
341
+ constructor(u2, t = true) {
342
+ h(this, "input"), h(this, "output"), h(this, "_abortSignal"), h(this, "rl"), h(this, "opts"), h(this, "_render"), h(this, "_track", false), h(this, "_prevFrame", ""), h(this, "_subscribers", /* @__PURE__ */ new Map()), h(this, "_cursor", 0), h(this, "state", "initial"), h(this, "error", ""), h(this, "value");
343
+ const { input: F2 = j, output: s = M, render: i, signal: D2, ...C2 } = u2;
344
+ this.opts = C2, this.onKeypress = this.onKeypress.bind(this), this.close = this.close.bind(this), this.render = this.render.bind(this), this._render = i.bind(this), this._track = t, this._abortSignal = D2, this.input = F2, this.output = s;
345
+ }
346
+ unsubscribe() {
347
+ this._subscribers.clear();
348
+ }
349
+ setSubscriber(u2, t) {
350
+ const F2 = this._subscribers.get(u2) ?? [];
351
+ F2.push(t), this._subscribers.set(u2, F2);
352
+ }
353
+ on(u2, t) {
354
+ this.setSubscriber(u2, { cb: t });
355
+ }
356
+ once(u2, t) {
357
+ this.setSubscriber(u2, { cb: t, once: true });
358
+ }
359
+ emit(u2, ...t) {
360
+ const F2 = this._subscribers.get(u2) ?? [], s = [];
361
+ for (const i of F2) i.cb(...t), i.once && s.push(() => F2.splice(F2.indexOf(i), 1));
362
+ for (const i of s) i();
363
+ }
364
+ prompt() {
365
+ return new Promise((u2, t) => {
366
+ if (this._abortSignal) {
367
+ if (this._abortSignal.aborted) return this.state = "cancel", this.close(), u2(S);
368
+ this._abortSignal.addEventListener("abort", () => {
369
+ this.state = "cancel", this.close();
370
+ }, { once: true });
371
+ }
372
+ const F2 = new X();
373
+ F2._write = (s, i, D2) => {
374
+ this._track && (this.value = this.rl?.line.replace(/\t/g, ""), this._cursor = this.rl?.cursor ?? 0, this.emit("value", this.value)), D2();
375
+ }, this.input.pipe(F2), this.rl = O.createInterface({ input: this.input, output: F2, tabSize: 2, prompt: "", escapeCodeTimeout: 50, terminal: true }), O.emitKeypressEvents(this.input, this.rl), this.rl.prompt(), this.opts.initialValue !== void 0 && this._track && this.rl.write(this.opts.initialValue), this.input.on("keypress", this.onKeypress), m(this.input, true), this.output.on("resize", this.render), this.render(), this.once("submit", () => {
376
+ this.output.write(import_sisteransi.cursor.show), this.output.off("resize", this.render), m(this.input, false), u2(this.value);
377
+ }), this.once("cancel", () => {
378
+ this.output.write(import_sisteransi.cursor.show), this.output.off("resize", this.render), m(this.input, false), u2(S);
379
+ });
380
+ });
381
+ }
382
+ onKeypress(u2, t) {
383
+ if (this.state === "error" && (this.state = "active"), t?.name && (!this._track && B.aliases.has(t.name) && this.emit("cursor", B.aliases.get(t.name)), B.actions.has(t.name) && this.emit("cursor", t.name)), u2 && (u2.toLowerCase() === "y" || u2.toLowerCase() === "n") && this.emit("confirm", u2.toLowerCase() === "y"), u2 === " " && this.opts.placeholder && (this.value || (this.rl?.write(this.opts.placeholder), this.emit("value", this.opts.placeholder))), u2 && this.emit("key", u2.toLowerCase()), t?.name === "return") {
384
+ if (this.opts.validate) {
385
+ const F2 = this.opts.validate(this.value);
386
+ F2 && (this.error = F2 instanceof Error ? F2.message : F2, this.state = "error", this.rl?.write(this.value));
387
+ }
388
+ this.state !== "error" && (this.state = "submit");
389
+ }
390
+ $([u2, t?.name, t?.sequence], "cancel") && (this.state = "cancel"), (this.state === "submit" || this.state === "cancel") && this.emit("finalize"), this.render(), (this.state === "submit" || this.state === "cancel") && this.close();
391
+ }
392
+ close() {
393
+ this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(`
394
+ `), m(this.input, false), this.rl?.close(), this.rl = void 0, this.emit(`${this.state}`, this.value), this.unsubscribe();
395
+ }
396
+ restoreCursor() {
397
+ const u2 = Y(this._prevFrame, process.stdout.columns, { hard: true }).split(`
398
+ `).length - 1;
399
+ this.output.write(import_sisteransi.cursor.move(-999, u2 * -1));
400
+ }
401
+ render() {
402
+ const u2 = Y(this._render(this) ?? "", process.stdout.columns, { hard: true });
403
+ if (u2 !== this._prevFrame) {
404
+ if (this.state === "initial") this.output.write(import_sisteransi.cursor.hide);
405
+ else {
406
+ const t = BD(this._prevFrame, u2);
407
+ if (this.restoreCursor(), t && t?.length === 1) {
408
+ const F2 = t[0];
409
+ this.output.write(import_sisteransi.cursor.move(0, F2)), this.output.write(import_sisteransi.erase.lines(1));
410
+ const s = u2.split(`
411
+ `);
412
+ this.output.write(s[F2]), this._prevFrame = u2, this.output.write(import_sisteransi.cursor.move(0, s.length - F2 - 1));
413
+ return;
414
+ }
415
+ if (t && t?.length > 1) {
416
+ const F2 = t[0];
417
+ this.output.write(import_sisteransi.cursor.move(0, F2)), this.output.write(import_sisteransi.erase.down());
418
+ const s = u2.split(`
419
+ `).slice(F2);
420
+ this.output.write(s.join(`
421
+ `)), this._prevFrame = u2;
422
+ return;
423
+ }
424
+ this.output.write(import_sisteransi.erase.down());
425
+ }
426
+ this.output.write(u2), this.state === "initial" && (this.state = "active"), this._prevFrame = u2;
427
+ }
428
+ }
429
+ };
430
+ var dD = class extends x {
431
+ get cursor() {
432
+ return this.value ? 0 : 1;
433
+ }
434
+ get _value() {
435
+ return this.cursor === 0;
436
+ }
437
+ constructor(u2) {
438
+ super(u2, false), this.value = !!u2.initialValue, this.on("value", () => {
439
+ this.value = this._value;
440
+ }), this.on("confirm", (t) => {
441
+ this.output.write(import_sisteransi.cursor.move(0, -1)), this.value = t, this.state = "submit", this.close();
442
+ }), this.on("cursor", () => {
443
+ this.value = !this.value;
444
+ });
445
+ }
446
+ };
447
+ var A;
448
+ A = /* @__PURE__ */ new WeakMap();
449
+ var OD = Object.defineProperty;
450
+ var PD = (e2, u2, t) => u2 in e2 ? OD(e2, u2, { enumerable: true, configurable: true, writable: true, value: t }) : e2[u2] = t;
451
+ var J = (e2, u2, t) => (PD(e2, typeof u2 != "symbol" ? u2 + "" : u2, t), t);
452
+ var LD = class extends x {
453
+ constructor(u2) {
454
+ super(u2, false), J(this, "options"), J(this, "cursor", 0), this.options = u2.options, this.cursor = this.options.findIndex(({ value: t }) => t === u2.initialValue), this.cursor === -1 && (this.cursor = 0), this.changeValue(), this.on("cursor", (t) => {
455
+ switch (t) {
456
+ case "left":
457
+ case "up":
458
+ this.cursor = this.cursor === 0 ? this.options.length - 1 : this.cursor - 1;
459
+ break;
460
+ case "down":
461
+ case "right":
462
+ this.cursor = this.cursor === this.options.length - 1 ? 0 : this.cursor + 1;
463
+ break;
464
+ }
465
+ this.changeValue();
466
+ });
467
+ }
468
+ get _value() {
469
+ return this.options[this.cursor];
470
+ }
471
+ changeValue() {
472
+ this.value = this._value.value;
473
+ }
474
+ };
475
+ var RD = class extends x {
476
+ get valueWithCursor() {
477
+ if (this.state === "submit") return this.value;
478
+ if (this.cursor >= this.value.length) return `${this.value}\u2588`;
479
+ const u2 = this.value.slice(0, this.cursor), [t, ...F2] = this.value.slice(this.cursor);
480
+ return `${u2}${import_picocolors.default.inverse(t)}${F2.join("")}`;
481
+ }
482
+ get cursor() {
483
+ return this._cursor;
484
+ }
485
+ constructor(u2) {
486
+ super(u2), this.on("finalize", () => {
487
+ this.value || (this.value = u2.defaultValue);
488
+ });
489
+ }
490
+ };
491
+
492
+ // internal/framework/_typescript/create/node_modules/@clack/prompts/dist/index.mjs
493
+ var import_picocolors2 = __toESM(require_picocolors_browser(), 1);
494
+ var import_sisteransi2 = __toESM(require_src(), 1);
495
+ import y2 from "node:process";
496
+ function ce() {
497
+ return y2.platform !== "win32" ? y2.env.TERM !== "linux" : !!y2.env.CI || !!y2.env.WT_SESSION || !!y2.env.TERMINUS_SUBLIME || y2.env.ConEmuTask === "{cmd::Cmder}" || y2.env.TERM_PROGRAM === "Terminus-Sublime" || y2.env.TERM_PROGRAM === "vscode" || y2.env.TERM === "xterm-256color" || y2.env.TERM === "alacritty" || y2.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
498
+ }
499
+ var V2 = ce();
500
+ var u = (t, n) => V2 ? t : n;
501
+ var le = u("\u25C6", "*");
502
+ var L2 = u("\u25A0", "x");
503
+ var W2 = u("\u25B2", "x");
504
+ var C = u("\u25C7", "o");
505
+ var ue = u("\u250C", "T");
506
+ var o = u("\u2502", "|");
507
+ var d2 = u("\u2514", "\u2014");
508
+ var k2 = u("\u25CF", ">");
509
+ var P2 = u("\u25CB", " ");
510
+ var A2 = u("\u25FB", "[\u2022]");
511
+ var T = u("\u25FC", "[+]");
512
+ var F = u("\u25FB", "[ ]");
513
+ var $e = u("\u25AA", "\u2022");
514
+ var _2 = u("\u2500", "-");
515
+ var me = u("\u256E", "+");
516
+ var de = u("\u251C", "+");
517
+ var pe = u("\u256F", "+");
518
+ var q = u("\u25CF", "\u2022");
519
+ var D = u("\u25C6", "*");
520
+ var U = u("\u25B2", "!");
521
+ var K2 = u("\u25A0", "x");
522
+ var b2 = (t) => {
523
+ switch (t) {
524
+ case "initial":
525
+ case "active":
526
+ return import_picocolors2.default.cyan(le);
527
+ case "cancel":
528
+ return import_picocolors2.default.red(L2);
529
+ case "error":
530
+ return import_picocolors2.default.yellow(W2);
531
+ case "submit":
532
+ return import_picocolors2.default.green(C);
533
+ }
534
+ };
535
+ var G2 = (t) => {
536
+ const { cursor: n, options: r2, style: i } = t, s = t.maxItems ?? Number.POSITIVE_INFINITY, c = Math.max(process.stdout.rows - 4, 0), a = Math.min(c, Math.max(s, 5));
537
+ let l2 = 0;
538
+ n >= l2 + a - 3 ? l2 = Math.max(Math.min(n - a + 3, r2.length - a), 0) : n < l2 + 2 && (l2 = Math.max(n - 2, 0));
539
+ const $2 = a < r2.length && l2 > 0, g2 = a < r2.length && l2 + a < r2.length;
540
+ return r2.slice(l2, l2 + a).map((p2, v2, f) => {
541
+ const j2 = v2 === 0 && $2, E = v2 === f.length - 1 && g2;
542
+ return j2 || E ? import_picocolors2.default.dim("...") : i(p2, v2 + l2 === n);
543
+ });
544
+ };
545
+ var he = (t) => new RD({ validate: t.validate, placeholder: t.placeholder, defaultValue: t.defaultValue, initialValue: t.initialValue, render() {
546
+ const n = `${import_picocolors2.default.gray(o)}
547
+ ${b2(this.state)} ${t.message}
548
+ `, r2 = t.placeholder ? import_picocolors2.default.inverse(t.placeholder[0]) + import_picocolors2.default.dim(t.placeholder.slice(1)) : import_picocolors2.default.inverse(import_picocolors2.default.hidden("_")), i = this.value ? this.valueWithCursor : r2;
549
+ switch (this.state) {
550
+ case "error":
551
+ return `${n.trim()}
552
+ ${import_picocolors2.default.yellow(o)} ${i}
553
+ ${import_picocolors2.default.yellow(d2)} ${import_picocolors2.default.yellow(this.error)}
554
+ `;
555
+ case "submit":
556
+ return `${n}${import_picocolors2.default.gray(o)} ${import_picocolors2.default.dim(this.value || t.placeholder)}`;
557
+ case "cancel":
558
+ return `${n}${import_picocolors2.default.gray(o)} ${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(this.value ?? ""))}${this.value?.trim() ? `
559
+ ${import_picocolors2.default.gray(o)}` : ""}`;
560
+ default:
561
+ return `${n}${import_picocolors2.default.cyan(o)} ${i}
562
+ ${import_picocolors2.default.cyan(d2)}
563
+ `;
564
+ }
565
+ } }).prompt();
566
+ var ye = (t) => {
567
+ const n = t.active ?? "Yes", r2 = t.inactive ?? "No";
568
+ return new dD({ active: n, inactive: r2, initialValue: t.initialValue ?? true, render() {
569
+ const i = `${import_picocolors2.default.gray(o)}
570
+ ${b2(this.state)} ${t.message}
571
+ `, s = this.value ? n : r2;
572
+ switch (this.state) {
573
+ case "submit":
574
+ return `${i}${import_picocolors2.default.gray(o)} ${import_picocolors2.default.dim(s)}`;
575
+ case "cancel":
576
+ return `${i}${import_picocolors2.default.gray(o)} ${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(s))}
577
+ ${import_picocolors2.default.gray(o)}`;
578
+ default:
579
+ return `${i}${import_picocolors2.default.cyan(o)} ${this.value ? `${import_picocolors2.default.green(k2)} ${n}` : `${import_picocolors2.default.dim(P2)} ${import_picocolors2.default.dim(n)}`} ${import_picocolors2.default.dim("/")} ${this.value ? `${import_picocolors2.default.dim(P2)} ${import_picocolors2.default.dim(r2)}` : `${import_picocolors2.default.green(k2)} ${r2}`}
580
+ ${import_picocolors2.default.cyan(d2)}
581
+ `;
582
+ }
583
+ } }).prompt();
584
+ };
585
+ var ve = (t) => {
586
+ const n = (r2, i) => {
587
+ const s = r2.label ?? String(r2.value);
588
+ switch (i) {
589
+ case "selected":
590
+ return `${import_picocolors2.default.dim(s)}`;
591
+ case "active":
592
+ return `${import_picocolors2.default.green(k2)} ${s} ${r2.hint ? import_picocolors2.default.dim(`(${r2.hint})`) : ""}`;
593
+ case "cancelled":
594
+ return `${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(s))}`;
595
+ default:
596
+ return `${import_picocolors2.default.dim(P2)} ${import_picocolors2.default.dim(s)}`;
597
+ }
598
+ };
599
+ return new LD({ options: t.options, initialValue: t.initialValue, render() {
600
+ const r2 = `${import_picocolors2.default.gray(o)}
601
+ ${b2(this.state)} ${t.message}
602
+ `;
603
+ switch (this.state) {
604
+ case "submit":
605
+ return `${r2}${import_picocolors2.default.gray(o)} ${n(this.options[this.cursor], "selected")}`;
606
+ case "cancel":
607
+ return `${r2}${import_picocolors2.default.gray(o)} ${n(this.options[this.cursor], "cancelled")}
608
+ ${import_picocolors2.default.gray(o)}`;
609
+ default:
610
+ return `${r2}${import_picocolors2.default.cyan(o)} ${G2({ cursor: this.cursor, options: this.options, maxItems: t.maxItems, style: (i, s) => n(i, s ? "active" : "inactive") }).join(`
611
+ ${import_picocolors2.default.cyan(o)} `)}
612
+ ${import_picocolors2.default.cyan(d2)}
613
+ `;
614
+ }
615
+ } }).prompt();
616
+ };
617
+ var xe = (t = "") => {
618
+ process.stdout.write(`${import_picocolors2.default.gray(d2)} ${import_picocolors2.default.red(t)}
619
+
620
+ `);
621
+ };
622
+ var Ie = (t = "") => {
623
+ process.stdout.write(`${import_picocolors2.default.gray(ue)} ${t}
624
+ `);
625
+ };
626
+ var M2 = { message: (t = "", { symbol: n = import_picocolors2.default.gray(o) } = {}) => {
627
+ const r2 = [`${import_picocolors2.default.gray(o)}`];
628
+ if (t) {
629
+ const [i, ...s] = t.split(`
630
+ `);
631
+ r2.push(`${n} ${i}`, ...s.map((c) => `${import_picocolors2.default.gray(o)} ${c}`));
632
+ }
633
+ process.stdout.write(`${r2.join(`
634
+ `)}
635
+ `);
636
+ }, info: (t) => {
637
+ M2.message(t, { symbol: import_picocolors2.default.blue(q) });
638
+ }, success: (t) => {
639
+ M2.message(t, { symbol: import_picocolors2.default.green(D) });
640
+ }, step: (t) => {
641
+ M2.message(t, { symbol: import_picocolors2.default.green(C) });
642
+ }, warn: (t) => {
643
+ M2.message(t, { symbol: import_picocolors2.default.yellow(U) });
644
+ }, warning: (t) => {
645
+ M2.warn(t);
646
+ }, error: (t) => {
647
+ M2.message(t, { symbol: import_picocolors2.default.red(K2) });
648
+ } };
649
+ var J2 = `${import_picocolors2.default.gray(o)} `;
650
+ var Y2 = ({ indicator: t = "dots" } = {}) => {
651
+ const n = V2 ? ["\u25D2", "\u25D0", "\u25D3", "\u25D1"] : ["\u2022", "o", "O", "0"], r2 = V2 ? 80 : 120, i = process.env.CI === "true";
652
+ let s, c, a = false, l2 = "", $2, g2 = performance.now();
653
+ const p2 = (m2) => {
654
+ const h2 = m2 > 1 ? "Something went wrong" : "Canceled";
655
+ a && N2(h2, m2);
656
+ }, v2 = () => p2(2), f = () => p2(1), j2 = () => {
657
+ process.on("uncaughtExceptionMonitor", v2), process.on("unhandledRejection", v2), process.on("SIGINT", f), process.on("SIGTERM", f), process.on("exit", p2);
658
+ }, E = () => {
659
+ process.removeListener("uncaughtExceptionMonitor", v2), process.removeListener("unhandledRejection", v2), process.removeListener("SIGINT", f), process.removeListener("SIGTERM", f), process.removeListener("exit", p2);
660
+ }, B2 = () => {
661
+ if ($2 === void 0) return;
662
+ i && process.stdout.write(`
663
+ `);
664
+ const m2 = $2.split(`
665
+ `);
666
+ process.stdout.write(import_sisteransi2.cursor.move(-999, m2.length - 1)), process.stdout.write(import_sisteransi2.erase.down(m2.length));
667
+ }, R2 = (m2) => m2.replace(/\.+$/, ""), O2 = (m2) => {
668
+ const h2 = (performance.now() - m2) / 1e3, w2 = Math.floor(h2 / 60), I2 = Math.floor(h2 % 60);
669
+ return w2 > 0 ? `[${w2}m ${I2}s]` : `[${I2}s]`;
670
+ }, H = (m2 = "") => {
671
+ a = true, s = fD(), l2 = R2(m2), g2 = performance.now(), process.stdout.write(`${import_picocolors2.default.gray(o)}
672
+ `);
673
+ let h2 = 0, w2 = 0;
674
+ j2(), c = setInterval(() => {
675
+ if (i && l2 === $2) return;
676
+ B2(), $2 = l2;
677
+ const I2 = import_picocolors2.default.magenta(n[h2]);
678
+ if (i) process.stdout.write(`${I2} ${l2}...`);
679
+ else if (t === "timer") process.stdout.write(`${I2} ${l2} ${O2(g2)}`);
680
+ else {
681
+ const z2 = ".".repeat(Math.floor(w2)).slice(0, 3);
682
+ process.stdout.write(`${I2} ${l2}${z2}`);
683
+ }
684
+ h2 = h2 + 1 < n.length ? h2 + 1 : 0, w2 = w2 < n.length ? w2 + 0.125 : 0;
685
+ }, r2);
686
+ }, N2 = (m2 = "", h2 = 0) => {
687
+ a = false, clearInterval(c), B2();
688
+ const w2 = h2 === 0 ? import_picocolors2.default.green(C) : h2 === 1 ? import_picocolors2.default.red(L2) : import_picocolors2.default.red(W2);
689
+ l2 = R2(m2 ?? l2), t === "timer" ? process.stdout.write(`${w2} ${l2} ${O2(g2)}
690
+ `) : process.stdout.write(`${w2} ${l2}
691
+ `), E(), s();
692
+ };
693
+ return { start: H, stop: N2, message: (m2 = "") => {
694
+ l2 = R2(m2 ?? l2);
695
+ } };
696
+ };
697
+
698
+ // internal/framework/_typescript/create/main.ts
699
+ import { execSync } from "node:child_process";
700
+ import * as fs from "node:fs";
701
+ import * as os from "node:os";
702
+ import * as path from "node:path";
703
+ import { dirname as dirname2 } from "node:path";
704
+ import { fileURLToPath } from "node:url";
705
+ var __filename = fileURLToPath(import.meta.url);
706
+ var __dirname = dirname2(__filename);
707
+ async function main() {
708
+ const args = process.argv.slice(2);
709
+ const isLocalTest = args.includes("--local-test");
710
+ console.log();
711
+ Ie("Welcome to the Vorma new app creator!");
712
+ let goVersion = "";
713
+ try {
714
+ goVersion = execSync("go version", { encoding: "utf8" }).trim();
715
+ const versionMatch = goVersion.match(/go(\d+)\.(\d+)/);
716
+ if (versionMatch) {
717
+ if (!versionMatch[1] || !versionMatch[2]) {
718
+ xe(
719
+ "Go version not recognized. Please ensure Go is installed correctly. See https://go.dev/doc/install for installation instructions."
720
+ );
721
+ process.exit(1);
722
+ }
723
+ const major = parseInt(versionMatch[1]);
724
+ const minor = parseInt(versionMatch[2]);
725
+ if (major < 1 || major === 1 && minor < 24) {
726
+ xe(
727
+ "Go version 1.24 or higher is required. See https://go.dev/doc/install for installation instructions."
728
+ );
729
+ process.exit(1);
730
+ }
731
+ }
732
+ } catch {
733
+ xe(
734
+ "Go is not installed. See https://go.dev/doc/install for installation instructions."
735
+ );
736
+ process.exit(1);
737
+ }
738
+ const nodeVersion = process.version;
739
+ const firstPart = nodeVersion.split(".")[0];
740
+ if (!firstPart || firstPart.length < 2 || !firstPart.startsWith("v")) {
741
+ xe(
742
+ "Node.js version not recognized. Please ensure Node.js is installed correctly."
743
+ );
744
+ process.exit(1);
745
+ }
746
+ const nodeMajor = parseInt(firstPart.substring(1));
747
+ if (nodeMajor < 22) {
748
+ xe("Node.js version 22.11 or higher is required");
749
+ process.exit(1);
750
+ }
751
+ const createNewDir = await ye({
752
+ message: "Create a new directory for your Vorma app?",
753
+ initialValue: true
754
+ });
755
+ if (pD(createNewDir)) {
756
+ xe("Operation cancelled");
757
+ process.exit(0);
758
+ }
759
+ let targetDir = process.cwd();
760
+ if (createNewDir) {
761
+ const dirName = await he({
762
+ message: "Enter directory name:",
763
+ validate: (value) => {
764
+ if (!value || value.trim() === "")
765
+ return "Directory name is required";
766
+ if (!/^[a-zA-Z0-9-_]+$/.test(value)) {
767
+ return "Directory name can only contain letters, numbers, hyphens, and underscores";
768
+ }
769
+ const proposedPath = path.join(process.cwd(), value);
770
+ if (fs.existsSync(proposedPath)) {
771
+ return `Directory "${value}" already exists`;
772
+ }
773
+ return void 0;
774
+ }
775
+ });
776
+ if (pD(dirName)) {
777
+ xe("Operation cancelled");
778
+ process.exit(0);
779
+ }
780
+ targetDir = path.join(process.cwd(), dirName);
781
+ fs.mkdirSync(targetDir, { recursive: true });
782
+ process.chdir(targetDir);
783
+ M2.success(`Created directory: ${dirName}`);
784
+ }
785
+ let goModPath = null;
786
+ let moduleRoot = null;
787
+ let moduleName = null;
788
+ let createNewModule = false;
789
+ let currentDir = process.cwd();
790
+ while (currentDir !== path.dirname(currentDir)) {
791
+ const modPath = path.join(currentDir, "go.mod");
792
+ if (fs.existsSync(modPath)) {
793
+ goModPath = modPath;
794
+ moduleRoot = currentDir;
795
+ break;
796
+ }
797
+ currentDir = path.dirname(currentDir);
798
+ }
799
+ if (goModPath) {
800
+ const modContent = fs.readFileSync(goModPath, "utf8");
801
+ const moduleMatch = modContent.match(/^module\s+(.+)$/m);
802
+ if (moduleMatch && moduleMatch[1]) {
803
+ moduleName = moduleMatch[1].trim();
804
+ }
805
+ const moduleChoice = await ve({
806
+ message: `Found parent Go module: ${moduleName}`,
807
+ options: [
808
+ { value: "new", label: "Create new go.mod" },
809
+ { value: "use", label: "Use parent go.mod" }
810
+ ]
811
+ });
812
+ if (pD(moduleChoice)) {
813
+ xe("Operation cancelled");
814
+ process.exit(0);
815
+ }
816
+ if (moduleChoice === "new") {
817
+ createNewModule = true;
818
+ goModPath = null;
819
+ moduleRoot = null;
820
+ moduleName = null;
821
+ }
822
+ } else {
823
+ createNewModule = true;
824
+ }
825
+ if (createNewModule) {
826
+ const modNameInput = await he({
827
+ message: 'Enter module name (e.g., "myapp" or "github.com/user/myapp"):',
828
+ validate: (value) => {
829
+ if (!value || value.trim() === "")
830
+ return "Module name is required";
831
+ return void 0;
832
+ }
833
+ });
834
+ if (pD(modNameInput)) {
835
+ xe("Operation cancelled");
836
+ process.exit(0);
837
+ }
838
+ moduleName = modNameInput;
839
+ moduleRoot = process.cwd();
840
+ const s = Y2();
841
+ s.start("Initializing Go module");
842
+ try {
843
+ execSync(`go mod init ${moduleName}`, { cwd: moduleRoot });
844
+ if (isLocalTest) {
845
+ const vormaPath = path.resolve(__dirname, "../../../../../");
846
+ execSync(
847
+ `go mod edit -replace github.com/vormadev/vorma=${vormaPath}`,
848
+ { cwd: moduleRoot }
849
+ );
850
+ M2.info("Using local Vorma code for testing");
851
+ }
852
+ s.stop("Go module initialized");
853
+ } catch (error) {
854
+ s.stop("Failed to initialize module");
855
+ xe(`Error: ${error}`);
856
+ process.exit(1);
857
+ }
858
+ }
859
+ const pathFromModuleRoot = moduleRoot ? path.relative(moduleRoot, process.cwd()) : "";
860
+ const pathSegments = pathFromModuleRoot.split(path.sep).filter((seg) => seg.length > 0);
861
+ const underscoreSegments = pathSegments.filter(
862
+ (seg) => seg.startsWith("_")
863
+ );
864
+ if (underscoreSegments.length > 0) {
865
+ xe(
866
+ `Cannot create Vorma app in a path containing directories that start with underscores:
867
+ ${underscoreSegments.join(", ")}
868
+ Go ignores directories starting with underscores, which will cause build issues.`
869
+ );
870
+ process.exit(1);
871
+ }
872
+ let importPath = moduleName;
873
+ if (moduleRoot !== process.cwd()) {
874
+ const relativePath = path.relative(moduleRoot, process.cwd());
875
+ importPath = path.posix.join(
876
+ moduleName,
877
+ ...relativePath.split(path.sep)
878
+ );
879
+ }
880
+ const uiVariant = await ve({
881
+ message: "Choose frontend UI library:",
882
+ options: [
883
+ { value: "react", label: "React" },
884
+ { value: "preact", label: "Preact" },
885
+ { value: "solid", label: "Solid" }
886
+ ]
887
+ });
888
+ if (pD(uiVariant)) {
889
+ xe("Operation cancelled");
890
+ process.exit(0);
891
+ }
892
+ const packageManager = await ve({
893
+ message: "Choose JS package manager:",
894
+ options: [
895
+ { value: "npm", label: "npm" },
896
+ { value: "pnpm", label: "pnpm" },
897
+ { value: "yarn", label: "yarn" },
898
+ { value: "bun", label: "bun" }
899
+ ]
900
+ });
901
+ if (pD(packageManager)) {
902
+ xe("Operation cancelled");
903
+ process.exit(0);
904
+ }
905
+ const deploymentTarget = await ve({
906
+ message: "Choose deployment target:",
907
+ options: [
908
+ {
909
+ value: "docker",
910
+ label: "Docker"
911
+ },
912
+ {
913
+ value: "vercel",
914
+ label: "Vercel"
915
+ },
916
+ {
917
+ value: "none",
918
+ label: "None (I'll figure it out myself)"
919
+ }
920
+ ]
921
+ });
922
+ if (pD(deploymentTarget)) {
923
+ xe("Operation cancelled");
924
+ process.exit(0);
925
+ }
926
+ const includeTailwind = await ye({
927
+ message: "Include Tailwind CSS?",
928
+ initialValue: false
929
+ });
930
+ if (pD(includeTailwind)) {
931
+ xe("Operation cancelled");
932
+ process.exit(0);
933
+ }
934
+ console.log();
935
+ console.log("\u{1F6E0}\uFE0F Preparing bootstrapper...");
936
+ const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), "create-vorma-"));
937
+ const bootstrapFile = path.join(tempDir, "main.go");
938
+ const goVersionMatch = goVersion.match(/go\d+\.\d+\.\d+/);
939
+ const goVersionString = goVersionMatch ? goVersionMatch[0] : "";
940
+ try {
941
+ const goCode = `package main
942
+
943
+ import "github.com/vormadev/vorma/bootstrap"
944
+
945
+ func main() {
946
+ bootstrap.Init(bootstrap.Options{
947
+ GoImportBase: "${importPath}",
948
+ UIVariant: "${uiVariant}",
949
+ JSPackageManager: "${packageManager}",
950
+ DeploymentTarget: "${deploymentTarget}",
951
+ IncludeTailwind: ${includeTailwind},
952
+ NodeMajorVersion: "${nodeMajor}",
953
+ GoVersion: "${goVersionString}",
954
+ ${createNewDir ? `CreatedInDir: "${path.basename(targetDir)}",` : ""}
955
+ ModuleRoot: "${moduleRoot || process.cwd()}",
956
+ CurrentDir: "${process.cwd()}",
957
+ HasParentModule: ${moduleRoot !== null && moduleRoot !== process.cwd()},
958
+ })
959
+ }
960
+ `;
961
+ fs.writeFileSync(bootstrapFile, goCode);
962
+ const packageJsonPath = path.join(__dirname, "../package.json");
963
+ const packageJson = JSON.parse(
964
+ fs.readFileSync(packageJsonPath, "utf8")
965
+ );
966
+ const version = packageJson.version;
967
+ const usingExistingModule = !createNewModule;
968
+ const skipVormaGet = isLocalTest && usingExistingModule;
969
+ if (!skipVormaGet) {
970
+ execSync(`go get github.com/vormadev/vorma@v${version}`, {
971
+ cwd: process.cwd(),
972
+ stdio: "pipe"
973
+ });
974
+ }
975
+ console.log("\u{1F6E0}\uFE0F Running bootstrapper...");
976
+ try {
977
+ execSync(`go run ${bootstrapFile}`, {
978
+ cwd: process.cwd(),
979
+ stdio: "inherit"
980
+ });
981
+ } catch (error) {
982
+ console.error("Failed to create app");
983
+ throw error;
984
+ }
985
+ } catch (error) {
986
+ xe(`Error: ${error}`);
987
+ process.exit(1);
988
+ } finally {
989
+ try {
990
+ fs.rmSync(tempDir, { recursive: true, force: true });
991
+ } catch {
992
+ }
993
+ }
994
+ }
995
+ main().catch((error) => {
996
+ console.error("Unexpected error:", error);
997
+ process.exit(1);
998
+ });
999
+ //# sourceMappingURL=main.js.map