likec4 1.20.0 → 1.20.1
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/__app__/src/chunks/{-index-overview-r2wnjkuP.js → -index-overview-B8Ngh4J7.js} +1 -1
- package/__app__/src/chunks/{main-DnSU4JID.js → main-DwHOiMDD.js} +3 -6
- package/__app__/src/main.js +1 -1
- package/__app__/webcomponent/webcomponent.js +2 -5
- package/dist/chunks/prompt.cjs +1 -1
- package/dist/chunks/prompt.mjs +1 -1
- package/dist/cli/index.cjs +1 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{likec4.DCOeDSBO.mjs → likec4.Buej2FfJ.mjs} +1 -1
- package/dist/shared/{likec4.DBfW7tKq.cjs → likec4.pZxbrzrY.cjs} +1 -1
- package/package.json +9 -9
- package/react/index.js +2 -4
|
@@ -4,7 +4,7 @@ import { nonexhaustive as R } from "@likec4/core";
|
|
|
4
4
|
import { u as V } from "./tanstack-router-B9I-d36d.js";
|
|
5
5
|
import { B as G, H as v, P as g, u as $, a as K, i as U, b as A, c as X } from "./likec4-CK8zVxjc.js";
|
|
6
6
|
import { memo as k, useRef as Y, useMemo as B } from "react";
|
|
7
|
-
import { c as b, I as q, n as S, u as j, i as J } from "./main-
|
|
7
|
+
import { c as b, I as q, n as S, u as j, i as J } from "./main-DwHOiMDD.js";
|
|
8
8
|
import { P as O, c as I, G as C, T as F, a as y, C as Q, b as W, d as ee, I as te, B as P, u as se } from "./mantine-B9NZkjVg.js";
|
|
9
9
|
import { usePreviewUrl as ae } from "virtual:likec4/previews";
|
|
10
10
|
/**
|
|
@@ -16161,8 +16161,7 @@ const XI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16161
16161
|
clickOutsideEvents: ["pointerdown", "mousedown", "click"],
|
|
16162
16162
|
onOpen: () => {
|
|
16163
16163
|
setTimeout(() => {
|
|
16164
|
-
|
|
16165
|
-
console.log("item", h), h?.scrollIntoView({ behavior: "instant", block: "nearest" });
|
|
16164
|
+
o.current?.querySelector(`[data-value="${e}"]`)?.scrollIntoView({ behavior: "instant", block: "nearest" });
|
|
16166
16165
|
}, 100);
|
|
16167
16166
|
},
|
|
16168
16167
|
children: [
|
|
@@ -19502,9 +19501,7 @@ function L3(e) {
|
|
|
19502
19501
|
};
|
|
19503
19502
|
}
|
|
19504
19503
|
function to(e, n, i = 0) {
|
|
19505
|
-
const r = L3(e), { width: o, height: s } = $n(e), a = new Ue(n.x, n.y).sub(r);
|
|
19506
|
-
console.log(e);
|
|
19507
|
-
const l = (i + (o || 0) / 2) / a.x, c = (i + (s || 0) / 2) / a.y, u = Math.min(Math.abs(l), Math.abs(c));
|
|
19504
|
+
const r = L3(e), { width: o, height: s } = $n(e), a = new Ue(n.x, n.y).sub(r), l = (i + (o || 0) / 2) / a.x, c = (i + (s || 0) / 2) / a.y, u = Math.min(Math.abs(l), Math.abs(c));
|
|
19508
19505
|
return Sn(a).mul(u).add(r);
|
|
19509
19506
|
}
|
|
19510
19507
|
const $3 = _3().curve(S3).x((e) => e.x).y((e) => e.y), z3 = Ic((e) => {
|
|
@@ -20693,7 +20690,7 @@ function fN({ diagram: e }) {
|
|
|
20693
20690
|
}
|
|
20694
20691
|
) });
|
|
20695
20692
|
}
|
|
20696
|
-
const pN = /* @__PURE__ */ T0(() => import("./-index-overview-
|
|
20693
|
+
const pN = /* @__PURE__ */ T0(() => import("./-index-overview-B8Ngh4J7.js"));
|
|
20697
20694
|
function mN() {
|
|
20698
20695
|
return /* @__PURE__ */ d(P0, { children: /* @__PURE__ */ d(pN, {}) });
|
|
20699
20696
|
}
|
package/__app__/src/main.js
CHANGED
|
@@ -34022,8 +34022,7 @@ const classes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
34022
34022
|
clickOutsideEvents: ["pointerdown", "mousedown", "click"],
|
|
34023
34023
|
onOpen: () => {
|
|
34024
34024
|
setTimeout(() => {
|
|
34025
|
-
|
|
34026
|
-
console.log("item", item), item?.scrollIntoView({ behavior: "instant", block: "nearest" });
|
|
34025
|
+
viewport.current?.querySelector(`[data-value="${subjectId}"]`)?.scrollIntoView({ behavior: "instant", block: "nearest" });
|
|
34027
34026
|
}, 100);
|
|
34028
34027
|
},
|
|
34029
34028
|
children: [
|
|
@@ -37363,9 +37362,7 @@ function getNodeCenter(node2) {
|
|
|
37363
37362
|
};
|
|
37364
37363
|
}
|
|
37365
37364
|
function getNodeIntersectionFromCenterToPoint(intersectionNode, target, nodeMargin = 0) {
|
|
37366
|
-
const nodeCenter = getNodeCenter(intersectionNode), { width: width2, height } = getNodeDimensions(intersectionNode), v2 = new VectorImpl(target.x, target.y).sub(nodeCenter);
|
|
37367
|
-
console.log(intersectionNode);
|
|
37368
|
-
const xScale = (nodeMargin + (width2 || 0) / 2) / v2.x, yScale = (nodeMargin + (height || 0) / 2) / v2.y, scale2 = Math.min(Math.abs(xScale), Math.abs(yScale));
|
|
37365
|
+
const nodeCenter = getNodeCenter(intersectionNode), { width: width2, height } = getNodeDimensions(intersectionNode), v2 = new VectorImpl(target.x, target.y).sub(nodeCenter), xScale = (nodeMargin + (width2 || 0) / 2) / v2.x, yScale = (nodeMargin + (height || 0) / 2) / v2.y, scale2 = Math.min(Math.abs(xScale), Math.abs(yScale));
|
|
37369
37366
|
return vector(v2).mul(scale2).add(nodeCenter);
|
|
37370
37367
|
}
|
|
37371
37368
|
const curve = d3line().curve(curveCatmullRomOpen).x((d2) => d2.x).y((d2) => d2.y), RelationshipEdge = customEdge((props) => {
|
package/dist/chunks/prompt.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const process$1=require("node:process"),M=require("node:readline"),P$1=require("node:tty"),LikeC4=require("../shared/likec4.DBfW7tKq.cjs");require("node:util"),require("node:path"),require("node:fs"),require("node:url"),require("tty"),require("util"),require("path"),require("os"),require("crypto"),require("net"),require("url"),require("fs"),require("child_process"),require("node:fs/promises"),require("@likec4/core"),require("@hpcc-js/wasm-graphviz"),require("buffer"),require("@likec4/core/compute-view"),require("node:child_process"),require("node:string_decoder"),require("node:timers/promises"),require("node:os"),require("node:events"),require("node:v8"),require("node:stream"),require("node:buffer"),require("node:stream/promises"),require("vite"),require("@likec4/core/model");function _interopDefaultCompat(e){return e&&typeof e=="object"&&"default"in e?e.default:e}const M__default=_interopDefaultCompat(M);function sD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y,W;function CD(){if(W)return y;W=1;const e="\x1B",u=`${e}[`,t="\x07",r={to(D,C){return C?`${u}${C+1};${D+1}H`:`${u}${D+1}G`},move(D,C){let i="";return D<0?i+=`${u}${-D}D`:D>0&&(i+=`${u}${D}C`),C<0?i+=`${u}${-C}A`:C>0&&(i+=`${u}${C}B`),i},up:(D=1)=>`${u}${D}A`,down:(D=1)=>`${u}${D}B`,forward:(D=1)=>`${u}${D}C`,backward:(D=1)=>`${u}${D}D`,nextLine:(D=1)=>`${u}E`.repeat(D),prevLine:(D=1)=>`${u}F`.repeat(D),left:`${u}G`,hide:`${u}?25l`,show:`${u}?25h`,save:`${e}7`,restore:`${e}8`},F={up:(D=1)=>`${u}S`.repeat(D),down:(D=1)=>`${u}T`.repeat(D)},s={screen:`${u}2J`,up:(D=1)=>`${u}1J`.repeat(D),down:(D=1)=>`${u}J`.repeat(D),line:`${u}2K`,lineEnd:`${u}K`,lineStart:`${u}1K`,lines(D){let C="";for(let i=0;i<D;i++)C+=this.line+(i<D-1?r.up():"");return D&&(C+=r.left),C}};return y={cursor:r,scroll:F,erase:s,beep:t},y}var m=CD(),p={exports:{}},P;function nD(){if(P)return p.exports;P=1;let e=process||{},u=e.argv||[],t=e.env||{},r=!(t.NO_COLOR||u.includes("--no-color"))&&(!!t.FORCE_COLOR||u.includes("--color")||e.platform==="win32"||(e.stdout||{}).isTTY&&t.TERM!=="dumb"||!!t.CI),F=(C,i,o=C)=>l=>{let n=""+l,c=n.indexOf(i,C.length);return~c?C+s(n,i,o,c)+i:C+n+i},s=(C,i,o,l)=>{let n="",c=0;do n+=C.substring(c,l)+o,c=l+i.length,l=C.indexOf(i,c);while(~l);return n+C.substring(c)},D=(C=r)=>{let i=C?F:()=>String;return{isColorSupported:C,reset:i("\x1B[0m","\x1B[0m"),bold:i("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:i("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:i("\x1B[3m","\x1B[23m"),underline:i("\x1B[4m","\x1B[24m"),inverse:i("\x1B[7m","\x1B[27m"),hidden:i("\x1B[8m","\x1B[28m"),strikethrough:i("\x1B[9m","\x1B[29m"),black:i("\x1B[30m","\x1B[39m"),red:i("\x1B[31m","\x1B[39m"),green:i("\x1B[32m","\x1B[39m"),yellow:i("\x1B[33m","\x1B[39m"),blue:i("\x1B[34m","\x1B[39m"),magenta:i("\x1B[35m","\x1B[39m"),cyan:i("\x1B[36m","\x1B[39m"),white:i("\x1B[37m","\x1B[39m"),gray:i("\x1B[90m","\x1B[39m"),bgBlack:i("\x1B[40m","\x1B[49m"),bgRed:i("\x1B[41m","\x1B[49m"),bgGreen:i("\x1B[42m","\x1B[49m"),bgYellow:i("\x1B[43m","\x1B[49m"),bgBlue:i("\x1B[44m","\x1B[49m"),bgMagenta:i("\x1B[45m","\x1B[49m"),bgCyan:i("\x1B[46m","\x1B[49m"),bgWhite:i("\x1B[47m","\x1B[49m"),blackBright:i("\x1B[90m","\x1B[39m"),redBright:i("\x1B[91m","\x1B[39m"),greenBright:i("\x1B[92m","\x1B[39m"),yellowBright:i("\x1B[93m","\x1B[39m"),blueBright:i("\x1B[94m","\x1B[39m"),magentaBright:i("\x1B[95m","\x1B[39m"),cyanBright:i("\x1B[96m","\x1B[39m"),whiteBright:i("\x1B[97m","\x1B[39m"),bgBlackBright:i("\x1B[100m","\x1B[49m"),bgRedBright:i("\x1B[101m","\x1B[49m"),bgGreenBright:i("\x1B[102m","\x1B[49m"),bgYellowBright:i("\x1B[103m","\x1B[49m"),bgBlueBright:i("\x1B[104m","\x1B[49m"),bgMagentaBright:i("\x1B[105m","\x1B[49m"),bgCyanBright:i("\x1B[106m","\x1B[49m"),bgWhiteBright:i("\x1B[107m","\x1B[49m")}};return p.exports=D(),p.exports.createColors=D,p.exports}var aD=nD();const _=sD(aD);function oD({onlyFirst:e=!1}={}){const u=["[\\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("|");return new RegExp(u,e?void 0:"g")}const ED=oD();function R(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(ED,"")}function I(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var L={exports:{}};(function(e){var u={};e.exports=u,u.eastAsianWidth=function(r){var F=r.charCodeAt(0),s=r.length==2?r.charCodeAt(1):0,D=F;return 55296<=F&&F<=56319&&56320<=s&&s<=57343&&(F&=1023,s&=1023,D=F<<10|s,D+=65536),D==12288||65281<=D&&D<=65376||65504<=D&&D<=65510?"F":D==8361||65377<=D&&D<=65470||65474<=D&&D<=65479||65482<=D&&D<=65487||65490<=D&&D<=65495||65498<=D&&D<=65500||65512<=D&&D<=65518?"H":4352<=D&&D<=4447||4515<=D&&D<=4519||4602<=D&&D<=4607||9001<=D&&D<=9002||11904<=D&&D<=11929||11931<=D&&D<=12019||12032<=D&&D<=12245||12272<=D&&D<=12283||12289<=D&&D<=12350||12353<=D&&D<=12438||12441<=D&&D<=12543||12549<=D&&D<=12589||12593<=D&&D<=12686||12688<=D&&D<=12730||12736<=D&&D<=12771||12784<=D&&D<=12830||12832<=D&&D<=12871||12880<=D&&D<=13054||13056<=D&&D<=19903||19968<=D&&D<=42124||42128<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||55216<=D&&D<=55238||55243<=D&&D<=55291||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65106||65108<=D&&D<=65126||65128<=D&&D<=65131||110592<=D&&D<=110593||127488<=D&&D<=127490||127504<=D&&D<=127546||127552<=D&&D<=127560||127568<=D&&D<=127569||131072<=D&&D<=194367||177984<=D&&D<=196605||196608<=D&&D<=262141?"W":32<=D&&D<=126||162<=D&&D<=163||165<=D&&D<=166||D==172||D==175||10214<=D&&D<=10221||10629<=D&&D<=10630?"Na":D==161||D==164||167<=D&&D<=168||D==170||173<=D&&D<=174||176<=D&&D<=180||182<=D&&D<=186||188<=D&&D<=191||D==198||D==208||215<=D&&D<=216||222<=D&&D<=225||D==230||232<=D&&D<=234||236<=D&&D<=237||D==240||242<=D&&D<=243||247<=D&&D<=250||D==252||D==254||D==257||D==273||D==275||D==283||294<=D&&D<=295||D==299||305<=D&&D<=307||D==312||319<=D&&D<=322||D==324||328<=D&&D<=331||D==333||338<=D&&D<=339||358<=D&&D<=359||D==363||D==462||D==464||D==466||D==468||D==470||D==472||D==474||D==476||D==593||D==609||D==708||D==711||713<=D&&D<=715||D==717||D==720||728<=D&&D<=731||D==733||D==735||768<=D&&D<=879||913<=D&&D<=929||931<=D&&D<=937||945<=D&&D<=961||963<=D&&D<=969||D==1025||1040<=D&&D<=1103||D==1105||D==8208||8211<=D&&D<=8214||8216<=D&&D<=8217||8220<=D&&D<=8221||8224<=D&&D<=8226||8228<=D&&D<=8231||D==8240||8242<=D&&D<=8243||D==8245||D==8251||D==8254||D==8308||D==8319||8321<=D&&D<=8324||D==8364||D==8451||D==8453||D==8457||D==8467||D==8470||8481<=D&&D<=8482||D==8486||D==8491||8531<=D&&D<=8532||8539<=D&&D<=8542||8544<=D&&D<=8555||8560<=D&&D<=8569||D==8585||8592<=D&&D<=8601||8632<=D&&D<=8633||D==8658||D==8660||D==8679||D==8704||8706<=D&&D<=8707||8711<=D&&D<=8712||D==8715||D==8719||D==8721||D==8725||D==8730||8733<=D&&D<=8736||D==8739||D==8741||8743<=D&&D<=8748||D==8750||8756<=D&&D<=8759||8764<=D&&D<=8765||D==8776||D==8780||D==8786||8800<=D&&D<=8801||8804<=D&&D<=8807||8810<=D&&D<=8811||8814<=D&&D<=8815||8834<=D&&D<=8835||8838<=D&&D<=8839||D==8853||D==8857||D==8869||D==8895||D==8978||9312<=D&&D<=9449||9451<=D&&D<=9547||9552<=D&&D<=9587||9600<=D&&D<=9615||9618<=D&&D<=9621||9632<=D&&D<=9633||9635<=D&&D<=9641||9650<=D&&D<=9651||9654<=D&&D<=9655||9660<=D&&D<=9661||9664<=D&&D<=9665||9670<=D&&D<=9672||D==9675||9678<=D&&D<=9681||9698<=D&&D<=9701||D==9711||9733<=D&&D<=9734||D==9737||9742<=D&&D<=9743||9748<=D&&D<=9749||D==9756||D==9758||D==9792||D==9794||9824<=D&&D<=9825||9827<=D&&D<=9829||9831<=D&&D<=9834||9836<=D&&D<=9837||D==9839||9886<=D&&D<=9887||9918<=D&&D<=9919||9924<=D&&D<=9933||9935<=D&&D<=9953||D==9955||9960<=D&&D<=9983||D==10045||D==10071||10102<=D&&D<=10111||11093<=D&&D<=11097||12872<=D&&D<=12879||57344<=D&&D<=63743||65024<=D&&D<=65039||D==65533||127232<=D&&D<=127242||127248<=D&&D<=127277||127280<=D&&D<=127337||127344<=D&&D<=127386||917760<=D&&D<=917999||983040<=D&&D<=1048573||1048576<=D&&D<=1114109?"A":"N"},u.characterLength=function(r){var F=this.eastAsianWidth(r);return F=="F"||F=="W"||F=="A"?2:1};function t(r){return r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}u.length=function(r){for(var F=t(r),s=0,D=0;D<F.length;D++)s=s+this.characterLength(F[D]);return s},u.slice=function(r,F,s){textLen=u.length(r),F=F||0,s=s||1,F<0&&(F=textLen+F),s<0&&(s=textLen+s);for(var D="",C=0,i=t(r),o=0;o<i.length;o++){var l=i[o],n=u.length(l);if(C>=F-(n==2?1:0))if(C+n<=s)D+=l;else break;C+=n}return D}})(L);var lD=L.exports;const cD=I(lD);var hD=function(){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\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DF84\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\u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1\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};const BD=I(hD);function g(e,u={}){if(typeof e!="string"||e.length===0||(u={ambiguousIsNarrow:!0,...u},e=R(e),e.length===0))return 0;e=e.replace(BD()," ");const t=u.ambiguousIsNarrow?1:2;let r=0;for(const F of e){const s=F.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(cD.eastAsianWidth(F)){case"F":case"W":r+=2;break;case"A":r+=t;break;default:r+=1}}return r}const S=10,N=(e=0)=>u=>`\x1B[${u+e}m`,q=(e=0)=>u=>`\x1B[${38+e};5;${u}m`,K=(e=0)=>(u,t,r)=>`\x1B[${38+e};2;${u};${t};${r}m`,E={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]}};Object.keys(E.modifier);const mD=Object.keys(E.color),bD=Object.keys(E.bgColor);[...mD,...bD];function AD(){const e=new Map;for(const[u,t]of Object.entries(E)){for(const[r,F]of Object.entries(t))E[r]={open:`\x1B[${F[0]}m`,close:`\x1B[${F[1]}m`},t[r]=E[r],e.set(F[0],F[1]);Object.defineProperty(E,u,{value:t,enumerable:!1})}return Object.defineProperty(E,"codes",{value:e,enumerable:!1}),E.color.close="\x1B[39m",E.bgColor.close="\x1B[49m",E.color.ansi=N(),E.color.ansi256=q(),E.color.ansi16m=K(),E.bgColor.ansi=N(S),E.bgColor.ansi256=q(S),E.bgColor.ansi16m=K(S),Object.defineProperties(E,{rgbToAnsi256:{value:(u,t,r)=>u===t&&t===r?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:u=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!t)return[0,0,0];let[r]=t;r.length===3&&(r=[...r].map(s=>s+s).join(""));const F=Number.parseInt(r,16);return[F>>16&255,F>>8&255,F&255]},enumerable:!1},hexToAnsi256:{value:u=>E.rgbToAnsi256(...E.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value:u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let t,r,F;if(u>=232)t=((u-232)*10+8)/255,r=t,F=t;else{u-=16;const C=u%36;t=Math.floor(u/36)/5,r=Math.floor(C/6)/5,F=C%6/5}const s=Math.max(t,r,F)*2;if(s===0)return 30;let D=30+(Math.round(F)<<2|Math.round(r)<<1|Math.round(t));return s===2&&(D+=60),D},enumerable:!1},rgbToAnsi:{value:(u,t,r)=>E.ansi256ToAnsi(E.rgbToAnsi256(u,t,r)),enumerable:!1},hexToAnsi:{value:u=>E.ansi256ToAnsi(E.hexToAnsi256(u)),enumerable:!1}}),E}const gD=AD(),f=new Set(["\x1B","\x9B"]),dD=39,k="\x07",z="[",pD="]",G="m",T=`${pD}8;;`,Y=e=>`${f.values().next().value}${z}${e}${G}`,H=e=>`${f.values().next().value}${T}${e}${k}`,fD=e=>e.split(" ").map(u=>g(u)),j=(e,u,t)=>{const r=[...u];let F=!1,s=!1,D=g(R(e[e.length-1]));for(const[C,i]of r.entries()){const o=g(i);if(D+o<=t?e[e.length-1]+=i:(e.push(i),D=0),f.has(i)&&(F=!0,s=r.slice(C+1).join("").startsWith(T)),F){s?i===k&&(F=!1,s=!1):i===G&&(F=!1);continue}D+=o,D===t&&C<r.length-1&&(e.push(""),D=0)}!D&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},$D=e=>{const u=e.split(" ");let t=u.length;for(;t>0&&!(g(u[t-1])>0);)t--;return t===u.length?e:u.slice(0,t).join(" ")+u.slice(t).join("")},vD=(e,u,t={})=>{if(t.trim!==!1&&e.trim()==="")return"";let r="",F,s;const D=fD(e);let C=[""];for(const[o,l]of e.split(" ").entries()){t.trim!==!1&&(C[C.length-1]=C[C.length-1].trimStart());let n=g(C[C.length-1]);if(o!==0&&(n>=u&&(t.wordWrap===!1||t.trim===!1)&&(C.push(""),n=0),(n>0||t.trim===!1)&&(C[C.length-1]+=" ",n++)),t.hard&&D[o]>u){const c=u-n,h=1+Math.floor((D[o]-c-1)/u);Math.floor((D[o]-1)/u)<h&&C.push(""),j(C,l,u);continue}if(n+D[o]>u&&n>0&&D[o]>0){if(t.wordWrap===!1&&n<u){j(C,l,u);continue}C.push("")}if(n+D[o]>u&&t.wordWrap===!1){j(C,l,u);continue}C[C.length-1]+=l}t.trim!==!1&&(C=C.map(o=>$D(o)));const i=[...C.join(`
|
|
1
|
+
"use strict";const process$1=require("node:process"),M=require("node:readline"),P$1=require("node:tty"),LikeC4=require("../shared/likec4.pZxbrzrY.cjs");require("node:util"),require("node:path"),require("node:fs"),require("node:url"),require("tty"),require("util"),require("path"),require("os"),require("crypto"),require("net"),require("url"),require("fs"),require("child_process"),require("node:fs/promises"),require("@likec4/core"),require("@hpcc-js/wasm-graphviz"),require("buffer"),require("@likec4/core/compute-view"),require("node:child_process"),require("node:string_decoder"),require("node:timers/promises"),require("node:os"),require("node:events"),require("node:v8"),require("node:stream"),require("node:buffer"),require("node:stream/promises"),require("vite"),require("@likec4/core/model");function _interopDefaultCompat(e){return e&&typeof e=="object"&&"default"in e?e.default:e}const M__default=_interopDefaultCompat(M);function sD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y,W;function CD(){if(W)return y;W=1;const e="\x1B",u=`${e}[`,t="\x07",r={to(D,C){return C?`${u}${C+1};${D+1}H`:`${u}${D+1}G`},move(D,C){let i="";return D<0?i+=`${u}${-D}D`:D>0&&(i+=`${u}${D}C`),C<0?i+=`${u}${-C}A`:C>0&&(i+=`${u}${C}B`),i},up:(D=1)=>`${u}${D}A`,down:(D=1)=>`${u}${D}B`,forward:(D=1)=>`${u}${D}C`,backward:(D=1)=>`${u}${D}D`,nextLine:(D=1)=>`${u}E`.repeat(D),prevLine:(D=1)=>`${u}F`.repeat(D),left:`${u}G`,hide:`${u}?25l`,show:`${u}?25h`,save:`${e}7`,restore:`${e}8`},F={up:(D=1)=>`${u}S`.repeat(D),down:(D=1)=>`${u}T`.repeat(D)},s={screen:`${u}2J`,up:(D=1)=>`${u}1J`.repeat(D),down:(D=1)=>`${u}J`.repeat(D),line:`${u}2K`,lineEnd:`${u}K`,lineStart:`${u}1K`,lines(D){let C="";for(let i=0;i<D;i++)C+=this.line+(i<D-1?r.up():"");return D&&(C+=r.left),C}};return y={cursor:r,scroll:F,erase:s,beep:t},y}var m=CD(),p={exports:{}},P;function nD(){if(P)return p.exports;P=1;let e=process||{},u=e.argv||[],t=e.env||{},r=!(t.NO_COLOR||u.includes("--no-color"))&&(!!t.FORCE_COLOR||u.includes("--color")||e.platform==="win32"||(e.stdout||{}).isTTY&&t.TERM!=="dumb"||!!t.CI),F=(C,i,o=C)=>l=>{let n=""+l,c=n.indexOf(i,C.length);return~c?C+s(n,i,o,c)+i:C+n+i},s=(C,i,o,l)=>{let n="",c=0;do n+=C.substring(c,l)+o,c=l+i.length,l=C.indexOf(i,c);while(~l);return n+C.substring(c)},D=(C=r)=>{let i=C?F:()=>String;return{isColorSupported:C,reset:i("\x1B[0m","\x1B[0m"),bold:i("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:i("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:i("\x1B[3m","\x1B[23m"),underline:i("\x1B[4m","\x1B[24m"),inverse:i("\x1B[7m","\x1B[27m"),hidden:i("\x1B[8m","\x1B[28m"),strikethrough:i("\x1B[9m","\x1B[29m"),black:i("\x1B[30m","\x1B[39m"),red:i("\x1B[31m","\x1B[39m"),green:i("\x1B[32m","\x1B[39m"),yellow:i("\x1B[33m","\x1B[39m"),blue:i("\x1B[34m","\x1B[39m"),magenta:i("\x1B[35m","\x1B[39m"),cyan:i("\x1B[36m","\x1B[39m"),white:i("\x1B[37m","\x1B[39m"),gray:i("\x1B[90m","\x1B[39m"),bgBlack:i("\x1B[40m","\x1B[49m"),bgRed:i("\x1B[41m","\x1B[49m"),bgGreen:i("\x1B[42m","\x1B[49m"),bgYellow:i("\x1B[43m","\x1B[49m"),bgBlue:i("\x1B[44m","\x1B[49m"),bgMagenta:i("\x1B[45m","\x1B[49m"),bgCyan:i("\x1B[46m","\x1B[49m"),bgWhite:i("\x1B[47m","\x1B[49m"),blackBright:i("\x1B[90m","\x1B[39m"),redBright:i("\x1B[91m","\x1B[39m"),greenBright:i("\x1B[92m","\x1B[39m"),yellowBright:i("\x1B[93m","\x1B[39m"),blueBright:i("\x1B[94m","\x1B[39m"),magentaBright:i("\x1B[95m","\x1B[39m"),cyanBright:i("\x1B[96m","\x1B[39m"),whiteBright:i("\x1B[97m","\x1B[39m"),bgBlackBright:i("\x1B[100m","\x1B[49m"),bgRedBright:i("\x1B[101m","\x1B[49m"),bgGreenBright:i("\x1B[102m","\x1B[49m"),bgYellowBright:i("\x1B[103m","\x1B[49m"),bgBlueBright:i("\x1B[104m","\x1B[49m"),bgMagentaBright:i("\x1B[105m","\x1B[49m"),bgCyanBright:i("\x1B[106m","\x1B[49m"),bgWhiteBright:i("\x1B[107m","\x1B[49m")}};return p.exports=D(),p.exports.createColors=D,p.exports}var aD=nD();const _=sD(aD);function oD({onlyFirst:e=!1}={}){const u=["[\\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("|");return new RegExp(u,e?void 0:"g")}const ED=oD();function R(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(ED,"")}function I(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var L={exports:{}};(function(e){var u={};e.exports=u,u.eastAsianWidth=function(r){var F=r.charCodeAt(0),s=r.length==2?r.charCodeAt(1):0,D=F;return 55296<=F&&F<=56319&&56320<=s&&s<=57343&&(F&=1023,s&=1023,D=F<<10|s,D+=65536),D==12288||65281<=D&&D<=65376||65504<=D&&D<=65510?"F":D==8361||65377<=D&&D<=65470||65474<=D&&D<=65479||65482<=D&&D<=65487||65490<=D&&D<=65495||65498<=D&&D<=65500||65512<=D&&D<=65518?"H":4352<=D&&D<=4447||4515<=D&&D<=4519||4602<=D&&D<=4607||9001<=D&&D<=9002||11904<=D&&D<=11929||11931<=D&&D<=12019||12032<=D&&D<=12245||12272<=D&&D<=12283||12289<=D&&D<=12350||12353<=D&&D<=12438||12441<=D&&D<=12543||12549<=D&&D<=12589||12593<=D&&D<=12686||12688<=D&&D<=12730||12736<=D&&D<=12771||12784<=D&&D<=12830||12832<=D&&D<=12871||12880<=D&&D<=13054||13056<=D&&D<=19903||19968<=D&&D<=42124||42128<=D&&D<=42182||43360<=D&&D<=43388||44032<=D&&D<=55203||55216<=D&&D<=55238||55243<=D&&D<=55291||63744<=D&&D<=64255||65040<=D&&D<=65049||65072<=D&&D<=65106||65108<=D&&D<=65126||65128<=D&&D<=65131||110592<=D&&D<=110593||127488<=D&&D<=127490||127504<=D&&D<=127546||127552<=D&&D<=127560||127568<=D&&D<=127569||131072<=D&&D<=194367||177984<=D&&D<=196605||196608<=D&&D<=262141?"W":32<=D&&D<=126||162<=D&&D<=163||165<=D&&D<=166||D==172||D==175||10214<=D&&D<=10221||10629<=D&&D<=10630?"Na":D==161||D==164||167<=D&&D<=168||D==170||173<=D&&D<=174||176<=D&&D<=180||182<=D&&D<=186||188<=D&&D<=191||D==198||D==208||215<=D&&D<=216||222<=D&&D<=225||D==230||232<=D&&D<=234||236<=D&&D<=237||D==240||242<=D&&D<=243||247<=D&&D<=250||D==252||D==254||D==257||D==273||D==275||D==283||294<=D&&D<=295||D==299||305<=D&&D<=307||D==312||319<=D&&D<=322||D==324||328<=D&&D<=331||D==333||338<=D&&D<=339||358<=D&&D<=359||D==363||D==462||D==464||D==466||D==468||D==470||D==472||D==474||D==476||D==593||D==609||D==708||D==711||713<=D&&D<=715||D==717||D==720||728<=D&&D<=731||D==733||D==735||768<=D&&D<=879||913<=D&&D<=929||931<=D&&D<=937||945<=D&&D<=961||963<=D&&D<=969||D==1025||1040<=D&&D<=1103||D==1105||D==8208||8211<=D&&D<=8214||8216<=D&&D<=8217||8220<=D&&D<=8221||8224<=D&&D<=8226||8228<=D&&D<=8231||D==8240||8242<=D&&D<=8243||D==8245||D==8251||D==8254||D==8308||D==8319||8321<=D&&D<=8324||D==8364||D==8451||D==8453||D==8457||D==8467||D==8470||8481<=D&&D<=8482||D==8486||D==8491||8531<=D&&D<=8532||8539<=D&&D<=8542||8544<=D&&D<=8555||8560<=D&&D<=8569||D==8585||8592<=D&&D<=8601||8632<=D&&D<=8633||D==8658||D==8660||D==8679||D==8704||8706<=D&&D<=8707||8711<=D&&D<=8712||D==8715||D==8719||D==8721||D==8725||D==8730||8733<=D&&D<=8736||D==8739||D==8741||8743<=D&&D<=8748||D==8750||8756<=D&&D<=8759||8764<=D&&D<=8765||D==8776||D==8780||D==8786||8800<=D&&D<=8801||8804<=D&&D<=8807||8810<=D&&D<=8811||8814<=D&&D<=8815||8834<=D&&D<=8835||8838<=D&&D<=8839||D==8853||D==8857||D==8869||D==8895||D==8978||9312<=D&&D<=9449||9451<=D&&D<=9547||9552<=D&&D<=9587||9600<=D&&D<=9615||9618<=D&&D<=9621||9632<=D&&D<=9633||9635<=D&&D<=9641||9650<=D&&D<=9651||9654<=D&&D<=9655||9660<=D&&D<=9661||9664<=D&&D<=9665||9670<=D&&D<=9672||D==9675||9678<=D&&D<=9681||9698<=D&&D<=9701||D==9711||9733<=D&&D<=9734||D==9737||9742<=D&&D<=9743||9748<=D&&D<=9749||D==9756||D==9758||D==9792||D==9794||9824<=D&&D<=9825||9827<=D&&D<=9829||9831<=D&&D<=9834||9836<=D&&D<=9837||D==9839||9886<=D&&D<=9887||9918<=D&&D<=9919||9924<=D&&D<=9933||9935<=D&&D<=9953||D==9955||9960<=D&&D<=9983||D==10045||D==10071||10102<=D&&D<=10111||11093<=D&&D<=11097||12872<=D&&D<=12879||57344<=D&&D<=63743||65024<=D&&D<=65039||D==65533||127232<=D&&D<=127242||127248<=D&&D<=127277||127280<=D&&D<=127337||127344<=D&&D<=127386||917760<=D&&D<=917999||983040<=D&&D<=1048573||1048576<=D&&D<=1114109?"A":"N"},u.characterLength=function(r){var F=this.eastAsianWidth(r);return F=="F"||F=="W"||F=="A"?2:1};function t(r){return r.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}u.length=function(r){for(var F=t(r),s=0,D=0;D<F.length;D++)s=s+this.characterLength(F[D]);return s},u.slice=function(r,F,s){textLen=u.length(r),F=F||0,s=s||1,F<0&&(F=textLen+F),s<0&&(s=textLen+s);for(var D="",C=0,i=t(r),o=0;o<i.length;o++){var l=i[o],n=u.length(l);if(C>=F-(n==2?1:0))if(C+n<=s)D+=l;else break;C+=n}return D}})(L);var lD=L.exports;const cD=I(lD);var hD=function(){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\u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DE80\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])|\uD83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DD36\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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D1-\uDDDD])/g};const BD=I(hD);function g(e,u={}){if(typeof e!="string"||e.length===0||(u={ambiguousIsNarrow:!0,...u},e=R(e),e.length===0))return 0;e=e.replace(BD()," ");const t=u.ambiguousIsNarrow?1:2;let r=0;for(const F of e){const s=F.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(cD.eastAsianWidth(F)){case"F":case"W":r+=2;break;case"A":r+=t;break;default:r+=1}}return r}const S=10,N=(e=0)=>u=>`\x1B[${u+e}m`,q=(e=0)=>u=>`\x1B[${38+e};5;${u}m`,K=(e=0)=>(u,t,r)=>`\x1B[${38+e};2;${u};${t};${r}m`,E={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]}};Object.keys(E.modifier);const mD=Object.keys(E.color),bD=Object.keys(E.bgColor);[...mD,...bD];function AD(){const e=new Map;for(const[u,t]of Object.entries(E)){for(const[r,F]of Object.entries(t))E[r]={open:`\x1B[${F[0]}m`,close:`\x1B[${F[1]}m`},t[r]=E[r],e.set(F[0],F[1]);Object.defineProperty(E,u,{value:t,enumerable:!1})}return Object.defineProperty(E,"codes",{value:e,enumerable:!1}),E.color.close="\x1B[39m",E.bgColor.close="\x1B[49m",E.color.ansi=N(),E.color.ansi256=q(),E.color.ansi16m=K(),E.bgColor.ansi=N(S),E.bgColor.ansi256=q(S),E.bgColor.ansi16m=K(S),Object.defineProperties(E,{rgbToAnsi256:{value:(u,t,r)=>u===t&&t===r?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:u=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!t)return[0,0,0];let[r]=t;r.length===3&&(r=[...r].map(s=>s+s).join(""));const F=Number.parseInt(r,16);return[F>>16&255,F>>8&255,F&255]},enumerable:!1},hexToAnsi256:{value:u=>E.rgbToAnsi256(...E.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value:u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let t,r,F;if(u>=232)t=((u-232)*10+8)/255,r=t,F=t;else{u-=16;const C=u%36;t=Math.floor(u/36)/5,r=Math.floor(C/6)/5,F=C%6/5}const s=Math.max(t,r,F)*2;if(s===0)return 30;let D=30+(Math.round(F)<<2|Math.round(r)<<1|Math.round(t));return s===2&&(D+=60),D},enumerable:!1},rgbToAnsi:{value:(u,t,r)=>E.ansi256ToAnsi(E.rgbToAnsi256(u,t,r)),enumerable:!1},hexToAnsi:{value:u=>E.ansi256ToAnsi(E.hexToAnsi256(u)),enumerable:!1}}),E}const gD=AD(),f=new Set(["\x1B","\x9B"]),dD=39,k="\x07",z="[",pD="]",G="m",T=`${pD}8;;`,Y=e=>`${f.values().next().value}${z}${e}${G}`,H=e=>`${f.values().next().value}${T}${e}${k}`,fD=e=>e.split(" ").map(u=>g(u)),j=(e,u,t)=>{const r=[...u];let F=!1,s=!1,D=g(R(e[e.length-1]));for(const[C,i]of r.entries()){const o=g(i);if(D+o<=t?e[e.length-1]+=i:(e.push(i),D=0),f.has(i)&&(F=!0,s=r.slice(C+1).join("").startsWith(T)),F){s?i===k&&(F=!1,s=!1):i===G&&(F=!1);continue}D+=o,D===t&&C<r.length-1&&(e.push(""),D=0)}!D&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},$D=e=>{const u=e.split(" ");let t=u.length;for(;t>0&&!(g(u[t-1])>0);)t--;return t===u.length?e:u.slice(0,t).join(" ")+u.slice(t).join("")},vD=(e,u,t={})=>{if(t.trim!==!1&&e.trim()==="")return"";let r="",F,s;const D=fD(e);let C=[""];for(const[o,l]of e.split(" ").entries()){t.trim!==!1&&(C[C.length-1]=C[C.length-1].trimStart());let n=g(C[C.length-1]);if(o!==0&&(n>=u&&(t.wordWrap===!1||t.trim===!1)&&(C.push(""),n=0),(n>0||t.trim===!1)&&(C[C.length-1]+=" ",n++)),t.hard&&D[o]>u){const c=u-n,h=1+Math.floor((D[o]-c-1)/u);Math.floor((D[o]-1)/u)<h&&C.push(""),j(C,l,u);continue}if(n+D[o]>u&&n>0&&D[o]>0){if(t.wordWrap===!1&&n<u){j(C,l,u);continue}C.push("")}if(n+D[o]>u&&t.wordWrap===!1){j(C,l,u);continue}C[C.length-1]+=l}t.trim!==!1&&(C=C.map(o=>$D(o)));const i=[...C.join(`
|
|
2
2
|
`)];for(const[o,l]of i.entries()){if(r+=l,f.has(l)){const{groups:c}=new RegExp(`(?:\\${z}(?<code>\\d+)m|\\${T}(?<uri>.*)${k})`).exec(i.slice(o).join(""))||{groups:{}};if(c.code!==void 0){const h=Number.parseFloat(c.code);F=h===dD?void 0:h}else c.uri!==void 0&&(s=c.uri.length===0?void 0:c.uri)}const n=gD.codes.get(Number(F));i[o+1]===`
|
|
3
3
|
`?(s&&(r+=H("")),F&&n&&(r+=Y(n))):l===`
|
|
4
4
|
`&&(F&&n&&(r+=Y(F)),s&&(r+=H(s)))}return r};function J(e,u,t){return String(e).normalize().replace(/\r\n/g,`
|
package/dist/chunks/prompt.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{stdin as eD,stdout as FD}from"node:process";import T from"node:readline";import{WriteStream as rD}from"node:tty";import{F as iD,l as i}from"../shared/likec4.DCOeDSBO.mjs";import"node:util";import"node:path";import"node:fs";import"node:url";import"tty";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"node:fs/promises";import"@likec4/core";import"@hpcc-js/wasm-graphviz";import"buffer";import"@likec4/core/compute-view";import"node:child_process";import"node:string_decoder";import"node:timers/promises";import"node:os";import"node:events";import"node:v8";import"node:stream";import"node:buffer";import"node:stream/promises";import"vite";import"@likec4/core/model";function sD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var w,W;function CD(){if(W)return w;W=1;const e="\x1B",u=`${e}[`,t="\x07",F={to(D,n){return n?`${u}${n+1};${D+1}H`:`${u}${D+1}G`},move(D,n){let s="";return D<0?s+=`${u}${-D}D`:D>0&&(s+=`${u}${D}C`),n<0?s+=`${u}${-n}A`:n>0&&(s+=`${u}${n}B`),s},up:(D=1)=>`${u}${D}A`,down:(D=1)=>`${u}${D}B`,forward:(D=1)=>`${u}${D}C`,backward:(D=1)=>`${u}${D}D`,nextLine:(D=1)=>`${u}E`.repeat(D),prevLine:(D=1)=>`${u}F`.repeat(D),left:`${u}G`,hide:`${u}?25l`,show:`${u}?25h`,save:`${e}7`,restore:`${e}8`},r={up:(D=1)=>`${u}S`.repeat(D),down:(D=1)=>`${u}T`.repeat(D)},C={screen:`${u}2J`,up:(D=1)=>`${u}1J`.repeat(D),down:(D=1)=>`${u}J`.repeat(D),line:`${u}2K`,lineEnd:`${u}K`,lineStart:`${u}1K`,lines(D){let n="";for(let s=0;s<D;s++)n+=this.line+(s<D-1?F.up():"");return D&&(n+=F.left),n}};return w={cursor:F,scroll:r,erase:C,beep:t},w}var m=CD(),b={exports:{}},P;function nD(){if(P)return b.exports;P=1;let e=process||{},u=e.argv||[],t=e.env||{},F=!(t.NO_COLOR||u.includes("--no-color"))&&(!!t.FORCE_COLOR||u.includes("--color")||e.platform==="win32"||(e.stdout||{}).isTTY&&t.TERM!=="dumb"||!!t.CI),r=(n,s,l=n)=>B=>{let a=""+B,h=a.indexOf(s,n.length);return~h?n+C(a,s,l,h)+s:n+a+s},C=(n,s,l,B)=>{let a="",h=0;do a+=n.substring(h,B)+l,h=B+s.length,B=n.indexOf(s,h);while(~B);return a+n.substring(h)},D=(n=F)=>{let s=n?r:()=>String;return{isColorSupported:n,reset:s("\x1B[0m","\x1B[0m"),bold:s("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:s("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:s("\x1B[3m","\x1B[23m"),underline:s("\x1B[4m","\x1B[24m"),inverse:s("\x1B[7m","\x1B[27m"),hidden:s("\x1B[8m","\x1B[28m"),strikethrough:s("\x1B[9m","\x1B[29m"),black:s("\x1B[30m","\x1B[39m"),red:s("\x1B[31m","\x1B[39m"),green:s("\x1B[32m","\x1B[39m"),yellow:s("\x1B[33m","\x1B[39m"),blue:s("\x1B[34m","\x1B[39m"),magenta:s("\x1B[35m","\x1B[39m"),cyan:s("\x1B[36m","\x1B[39m"),white:s("\x1B[37m","\x1B[39m"),gray:s("\x1B[90m","\x1B[39m"),bgBlack:s("\x1B[40m","\x1B[49m"),bgRed:s("\x1B[41m","\x1B[49m"),bgGreen:s("\x1B[42m","\x1B[49m"),bgYellow:s("\x1B[43m","\x1B[49m"),bgBlue:s("\x1B[44m","\x1B[49m"),bgMagenta:s("\x1B[45m","\x1B[49m"),bgCyan:s("\x1B[46m","\x1B[49m"),bgWhite:s("\x1B[47m","\x1B[49m"),blackBright:s("\x1B[90m","\x1B[39m"),redBright:s("\x1B[91m","\x1B[39m"),greenBright:s("\x1B[92m","\x1B[39m"),yellowBright:s("\x1B[93m","\x1B[39m"),blueBright:s("\x1B[94m","\x1B[39m"),magentaBright:s("\x1B[95m","\x1B[39m"),cyanBright:s("\x1B[96m","\x1B[39m"),whiteBright:s("\x1B[97m","\x1B[39m"),bgBlackBright:s("\x1B[100m","\x1B[49m"),bgRedBright:s("\x1B[101m","\x1B[49m"),bgGreenBright:s("\x1B[102m","\x1B[49m"),bgYellowBright:s("\x1B[103m","\x1B[49m"),bgBlueBright:s("\x1B[104m","\x1B[49m"),bgMagentaBright:s("\x1B[105m","\x1B[49m"),bgCyanBright:s("\x1B[106m","\x1B[49m"),bgWhiteBright:s("\x1B[107m","\x1B[49m")}};return b.exports=D(),b.exports.createColors=D,b.exports}var oD=nD();const _=sD(oD);function aD({onlyFirst:e=!1}={}){const u=["[\\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("|");return new RegExp(u,e?void 0:"g")}const ED=aD();function L(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(ED,"")}function R(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var z={exports:{}};(function(e){var u={};e.exports=u,u.eastAsianWidth=function(F){var r=F.charCodeAt(0),C=F.length==2?F.charCodeAt(1):0,D=r;return 55296<=r&&r<=56319&&56320<=C&&C<=57343&&(r&=1023,C&=1023,D=r<<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"},u.characterLength=function(F){var r=this.eastAsianWidth(F);return r=="F"||r=="W"||r=="A"?2:1};function t(F){return F.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}u.length=function(F){for(var r=t(F),C=0,D=0;D<r.length;D++)C=C+this.characterLength(r[D]);return C},u.slice=function(F,r,C){textLen=u.length(F),r=r||0,C=C||1,r<0&&(r=textLen+r),C<0&&(C=textLen+C);for(var D="",n=0,s=t(F),l=0;l<s.length;l++){var B=s[l],a=u.length(B);if(n>=r-(a==2?1:0))if(n+a<=C)D+=B;else break;n+=a}return D}})(z);var lD=z.exports;const BD=R(lD);var hD=function(){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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DB3\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\uDDB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FC\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};const cD=R(hD);function A(e,u={}){if(typeof e!="string"||e.length===0||(u={ambiguousIsNarrow:!0,...u},e=L(e),e.length===0))return 0;e=e.replace(cD()," ");const t=u.ambiguousIsNarrow?1:2;let F=0;for(const r of e){const C=r.codePointAt(0);if(!(C<=31||C>=127&&C<=159||C>=768&&C<=879))switch(BD.eastAsianWidth(r)){case"F":case"W":F+=2;break;case"A":F+=t;break;default:F+=1}}return F}const k=10,K=(e=0)=>u=>`\x1B[${u+e}m`,N=(e=0)=>u=>`\x1B[${38+e};5;${u}m`,G=(e=0)=>(u,t,F)=>`\x1B[${38+e};2;${u};${t};${F}m`,E={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]}};Object.keys(E.modifier);const mD=Object.keys(E.color),pD=Object.keys(E.bgColor);[...mD,...pD];function gD(){const e=new Map;for(const[u,t]of Object.entries(E)){for(const[F,r]of Object.entries(t))E[F]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},t[F]=E[F],e.set(r[0],r[1]);Object.defineProperty(E,u,{value:t,enumerable:!1})}return Object.defineProperty(E,"codes",{value:e,enumerable:!1}),E.color.close="\x1B[39m",E.bgColor.close="\x1B[49m",E.color.ansi=K(),E.color.ansi256=N(),E.color.ansi16m=G(),E.bgColor.ansi=K(k),E.bgColor.ansi256=N(k),E.bgColor.ansi16m=G(k),Object.defineProperties(E,{rgbToAnsi256:{value:(u,t,F)=>u===t&&t===F?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(t/255*5)+Math.round(F/255*5),enumerable:!1},hexToRgb:{value:u=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!t)return[0,0,0];let[F]=t;F.length===3&&(F=[...F].map(C=>C+C).join(""));const r=Number.parseInt(F,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:u=>E.rgbToAnsi256(...E.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value:u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let t,F,r;if(u>=232)t=((u-232)*10+8)/255,F=t,r=t;else{u-=16;const n=u%36;t=Math.floor(u/36)/5,F=Math.floor(n/6)/5,r=n%6/5}const C=Math.max(t,F,r)*2;if(C===0)return 30;let D=30+(Math.round(r)<<2|Math.round(F)<<1|Math.round(t));return C===2&&(D+=60),D},enumerable:!1},rgbToAnsi:{value:(u,t,F)=>E.ansi256ToAnsi(E.rgbToAnsi256(u,t,F)),enumerable:!1},hexToAnsi:{value:u=>E.ansi256ToAnsi(E.hexToAnsi256(u)),enumerable:!1}}),E}const AD=gD(),$=new Set(["\x1B","\x9B"]),dD=39,j="\x07",q="[",bD="]",I="m",S=`${bD}8;;`,Y=e=>`${$.values().next().value}${q}${e}${I}`,Z=e=>`${$.values().next().value}${S}${e}${j}`,$D=e=>e.split(" ").map(u=>A(u)),V=(e,u,t)=>{const F=[...u];let r=!1,C=!1,D=A(L(e[e.length-1]));for(const[n,s]of F.entries()){const l=A(s);if(D+l<=t?e[e.length-1]+=s:(e.push(s),D=0),$.has(s)&&(r=!0,C=F.slice(n+1).join("").startsWith(S)),r){C?s===j&&(r=!1,C=!1):s===I&&(r=!1);continue}D+=l,D===t&&n<F.length-1&&(e.push(""),D=0)}!D&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},vD=e=>{const u=e.split(" ");let t=u.length;for(;t>0&&!(A(u[t-1])>0);)t--;return t===u.length?e:u.slice(0,t).join(" ")+u.slice(t).join("")},fD=(e,u,t={})=>{if(t.trim!==!1&&e.trim()==="")return"";let F="",r,C;const D=$D(e);let n=[""];for(const[l,B]of e.split(" ").entries()){t.trim!==!1&&(n[n.length-1]=n[n.length-1].trimStart());let a=A(n[n.length-1]);if(l!==0&&(a>=u&&(t.wordWrap===!1||t.trim===!1)&&(n.push(""),a=0),(a>0||t.trim===!1)&&(n[n.length-1]+=" ",a++)),t.hard&&D[l]>u){const h=u-a,d=1+Math.floor((D[l]-h-1)/u);Math.floor((D[l]-1)/u)<d&&n.push(""),V(n,B,u);continue}if(a+D[l]>u&&a>0&&D[l]>0){if(t.wordWrap===!1&&a<u){V(n,B,u);continue}n.push("")}if(a+D[l]>u&&t.wordWrap===!1){V(n,B,u);continue}n[n.length-1]+=B}t.trim!==!1&&(n=n.map(l=>vD(l)));const s=[...n.join(`
|
|
1
|
+
import{stdin as eD,stdout as FD}from"node:process";import T from"node:readline";import{WriteStream as rD}from"node:tty";import{F as iD,l as i}from"../shared/likec4.Buej2FfJ.mjs";import"node:util";import"node:path";import"node:fs";import"node:url";import"tty";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"node:fs/promises";import"@likec4/core";import"@hpcc-js/wasm-graphviz";import"buffer";import"@likec4/core/compute-view";import"node:child_process";import"node:string_decoder";import"node:timers/promises";import"node:os";import"node:events";import"node:v8";import"node:stream";import"node:buffer";import"node:stream/promises";import"vite";import"@likec4/core/model";function sD(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var w,W;function CD(){if(W)return w;W=1;const e="\x1B",u=`${e}[`,t="\x07",F={to(D,n){return n?`${u}${n+1};${D+1}H`:`${u}${D+1}G`},move(D,n){let s="";return D<0?s+=`${u}${-D}D`:D>0&&(s+=`${u}${D}C`),n<0?s+=`${u}${-n}A`:n>0&&(s+=`${u}${n}B`),s},up:(D=1)=>`${u}${D}A`,down:(D=1)=>`${u}${D}B`,forward:(D=1)=>`${u}${D}C`,backward:(D=1)=>`${u}${D}D`,nextLine:(D=1)=>`${u}E`.repeat(D),prevLine:(D=1)=>`${u}F`.repeat(D),left:`${u}G`,hide:`${u}?25l`,show:`${u}?25h`,save:`${e}7`,restore:`${e}8`},r={up:(D=1)=>`${u}S`.repeat(D),down:(D=1)=>`${u}T`.repeat(D)},C={screen:`${u}2J`,up:(D=1)=>`${u}1J`.repeat(D),down:(D=1)=>`${u}J`.repeat(D),line:`${u}2K`,lineEnd:`${u}K`,lineStart:`${u}1K`,lines(D){let n="";for(let s=0;s<D;s++)n+=this.line+(s<D-1?F.up():"");return D&&(n+=F.left),n}};return w={cursor:F,scroll:r,erase:C,beep:t},w}var m=CD(),b={exports:{}},P;function nD(){if(P)return b.exports;P=1;let e=process||{},u=e.argv||[],t=e.env||{},F=!(t.NO_COLOR||u.includes("--no-color"))&&(!!t.FORCE_COLOR||u.includes("--color")||e.platform==="win32"||(e.stdout||{}).isTTY&&t.TERM!=="dumb"||!!t.CI),r=(n,s,l=n)=>B=>{let a=""+B,h=a.indexOf(s,n.length);return~h?n+C(a,s,l,h)+s:n+a+s},C=(n,s,l,B)=>{let a="",h=0;do a+=n.substring(h,B)+l,h=B+s.length,B=n.indexOf(s,h);while(~B);return a+n.substring(h)},D=(n=F)=>{let s=n?r:()=>String;return{isColorSupported:n,reset:s("\x1B[0m","\x1B[0m"),bold:s("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:s("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:s("\x1B[3m","\x1B[23m"),underline:s("\x1B[4m","\x1B[24m"),inverse:s("\x1B[7m","\x1B[27m"),hidden:s("\x1B[8m","\x1B[28m"),strikethrough:s("\x1B[9m","\x1B[29m"),black:s("\x1B[30m","\x1B[39m"),red:s("\x1B[31m","\x1B[39m"),green:s("\x1B[32m","\x1B[39m"),yellow:s("\x1B[33m","\x1B[39m"),blue:s("\x1B[34m","\x1B[39m"),magenta:s("\x1B[35m","\x1B[39m"),cyan:s("\x1B[36m","\x1B[39m"),white:s("\x1B[37m","\x1B[39m"),gray:s("\x1B[90m","\x1B[39m"),bgBlack:s("\x1B[40m","\x1B[49m"),bgRed:s("\x1B[41m","\x1B[49m"),bgGreen:s("\x1B[42m","\x1B[49m"),bgYellow:s("\x1B[43m","\x1B[49m"),bgBlue:s("\x1B[44m","\x1B[49m"),bgMagenta:s("\x1B[45m","\x1B[49m"),bgCyan:s("\x1B[46m","\x1B[49m"),bgWhite:s("\x1B[47m","\x1B[49m"),blackBright:s("\x1B[90m","\x1B[39m"),redBright:s("\x1B[91m","\x1B[39m"),greenBright:s("\x1B[92m","\x1B[39m"),yellowBright:s("\x1B[93m","\x1B[39m"),blueBright:s("\x1B[94m","\x1B[39m"),magentaBright:s("\x1B[95m","\x1B[39m"),cyanBright:s("\x1B[96m","\x1B[39m"),whiteBright:s("\x1B[97m","\x1B[39m"),bgBlackBright:s("\x1B[100m","\x1B[49m"),bgRedBright:s("\x1B[101m","\x1B[49m"),bgGreenBright:s("\x1B[102m","\x1B[49m"),bgYellowBright:s("\x1B[103m","\x1B[49m"),bgBlueBright:s("\x1B[104m","\x1B[49m"),bgMagentaBright:s("\x1B[105m","\x1B[49m"),bgCyanBright:s("\x1B[106m","\x1B[49m"),bgWhiteBright:s("\x1B[107m","\x1B[49m")}};return b.exports=D(),b.exports.createColors=D,b.exports}var oD=nD();const _=sD(oD);function aD({onlyFirst:e=!1}={}){const u=["[\\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("|");return new RegExp(u,e?void 0:"g")}const ED=aD();function L(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(ED,"")}function R(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var z={exports:{}};(function(e){var u={};e.exports=u,u.eastAsianWidth=function(F){var r=F.charCodeAt(0),C=F.length==2?F.charCodeAt(1):0,D=r;return 55296<=r&&r<=56319&&56320<=C&&C<=57343&&(r&=1023,C&=1023,D=r<<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"},u.characterLength=function(F){var r=this.eastAsianWidth(F);return r=="F"||r=="W"||r=="A"?2:1};function t(F){return F.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}u.length=function(F){for(var r=t(F),C=0,D=0;D<r.length;D++)C=C+this.characterLength(r[D]);return C},u.slice=function(F,r,C){textLen=u.length(F),r=r||0,C=C||1,r<0&&(r=textLen+r),C<0&&(C=textLen+C);for(var D="",n=0,s=t(F),l=0;l<s.length;l++){var B=s[l],a=u.length(B);if(n>=r-(a==2?1:0))if(n+a<=C)D+=B;else break;n+=a}return D}})(z);var lD=z.exports;const BD=R(lD);var hD=function(){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])|\uD83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\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(?: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DDB5\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\uDD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/g};const cD=R(hD);function A(e,u={}){if(typeof e!="string"||e.length===0||(u={ambiguousIsNarrow:!0,...u},e=L(e),e.length===0))return 0;e=e.replace(cD()," ");const t=u.ambiguousIsNarrow?1:2;let F=0;for(const r of e){const C=r.codePointAt(0);if(!(C<=31||C>=127&&C<=159||C>=768&&C<=879))switch(BD.eastAsianWidth(r)){case"F":case"W":F+=2;break;case"A":F+=t;break;default:F+=1}}return F}const k=10,K=(e=0)=>u=>`\x1B[${u+e}m`,N=(e=0)=>u=>`\x1B[${38+e};5;${u}m`,G=(e=0)=>(u,t,F)=>`\x1B[${38+e};2;${u};${t};${F}m`,E={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]}};Object.keys(E.modifier);const mD=Object.keys(E.color),pD=Object.keys(E.bgColor);[...mD,...pD];function gD(){const e=new Map;for(const[u,t]of Object.entries(E)){for(const[F,r]of Object.entries(t))E[F]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},t[F]=E[F],e.set(r[0],r[1]);Object.defineProperty(E,u,{value:t,enumerable:!1})}return Object.defineProperty(E,"codes",{value:e,enumerable:!1}),E.color.close="\x1B[39m",E.bgColor.close="\x1B[49m",E.color.ansi=K(),E.color.ansi256=N(),E.color.ansi16m=G(),E.bgColor.ansi=K(k),E.bgColor.ansi256=N(k),E.bgColor.ansi16m=G(k),Object.defineProperties(E,{rgbToAnsi256:{value:(u,t,F)=>u===t&&t===F?u<8?16:u>248?231:Math.round((u-8)/247*24)+232:16+36*Math.round(u/255*5)+6*Math.round(t/255*5)+Math.round(F/255*5),enumerable:!1},hexToRgb:{value:u=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(u.toString(16));if(!t)return[0,0,0];let[F]=t;F.length===3&&(F=[...F].map(C=>C+C).join(""));const r=Number.parseInt(F,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:u=>E.rgbToAnsi256(...E.hexToRgb(u)),enumerable:!1},ansi256ToAnsi:{value:u=>{if(u<8)return 30+u;if(u<16)return 90+(u-8);let t,F,r;if(u>=232)t=((u-232)*10+8)/255,F=t,r=t;else{u-=16;const n=u%36;t=Math.floor(u/36)/5,F=Math.floor(n/6)/5,r=n%6/5}const C=Math.max(t,F,r)*2;if(C===0)return 30;let D=30+(Math.round(r)<<2|Math.round(F)<<1|Math.round(t));return C===2&&(D+=60),D},enumerable:!1},rgbToAnsi:{value:(u,t,F)=>E.ansi256ToAnsi(E.rgbToAnsi256(u,t,F)),enumerable:!1},hexToAnsi:{value:u=>E.ansi256ToAnsi(E.hexToAnsi256(u)),enumerable:!1}}),E}const AD=gD(),$=new Set(["\x1B","\x9B"]),dD=39,j="\x07",q="[",bD="]",I="m",S=`${bD}8;;`,Y=e=>`${$.values().next().value}${q}${e}${I}`,Z=e=>`${$.values().next().value}${S}${e}${j}`,$D=e=>e.split(" ").map(u=>A(u)),V=(e,u,t)=>{const F=[...u];let r=!1,C=!1,D=A(L(e[e.length-1]));for(const[n,s]of F.entries()){const l=A(s);if(D+l<=t?e[e.length-1]+=s:(e.push(s),D=0),$.has(s)&&(r=!0,C=F.slice(n+1).join("").startsWith(S)),r){C?s===j&&(r=!1,C=!1):s===I&&(r=!1);continue}D+=l,D===t&&n<F.length-1&&(e.push(""),D=0)}!D&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},vD=e=>{const u=e.split(" ");let t=u.length;for(;t>0&&!(A(u[t-1])>0);)t--;return t===u.length?e:u.slice(0,t).join(" ")+u.slice(t).join("")},fD=(e,u,t={})=>{if(t.trim!==!1&&e.trim()==="")return"";let F="",r,C;const D=$D(e);let n=[""];for(const[l,B]of e.split(" ").entries()){t.trim!==!1&&(n[n.length-1]=n[n.length-1].trimStart());let a=A(n[n.length-1]);if(l!==0&&(a>=u&&(t.wordWrap===!1||t.trim===!1)&&(n.push(""),a=0),(a>0||t.trim===!1)&&(n[n.length-1]+=" ",a++)),t.hard&&D[l]>u){const h=u-a,d=1+Math.floor((D[l]-h-1)/u);Math.floor((D[l]-1)/u)<d&&n.push(""),V(n,B,u);continue}if(a+D[l]>u&&a>0&&D[l]>0){if(t.wordWrap===!1&&a<u){V(n,B,u);continue}n.push("")}if(a+D[l]>u&&t.wordWrap===!1){V(n,B,u);continue}n[n.length-1]+=B}t.trim!==!1&&(n=n.map(l=>vD(l)));const s=[...n.join(`
|
|
2
2
|
`)];for(const[l,B]of s.entries()){if(F+=B,$.has(B)){const{groups:h}=new RegExp(`(?:\\${q}(?<code>\\d+)m|\\${S}(?<uri>.*)${j})`).exec(s.slice(l).join(""))||{groups:{}};if(h.code!==void 0){const d=Number.parseFloat(h.code);r=d===dD?void 0:d}else h.uri!==void 0&&(C=h.uri.length===0?void 0:h.uri)}const a=AD.codes.get(Number(r));s[l+1]===`
|
|
3
3
|
`?(C&&(F+=Z("")),r&&a&&(F+=Y(a))):B===`
|
|
4
4
|
`&&(r&&a&&(F+=Y(r)),C&&(F+=Z(C)))}return F};function J(e,u,t){return String(e).normalize().replace(/\r\n/g,`
|
package/dist/cli/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";const LikeC4=require("../shared/likec4.
|
|
2
|
+
"use strict";const LikeC4=require("../shared/likec4.pZxbrzrY.cjs");require("node:util");const path$1=require("node:path"),process$1=require("node:process");require("node:tty");const assert=require("assert"),require$$0=require("path"),require$$0$1=require("fs"),require$$0$2=require("util"),require$$0$3=require("url"),fs=require("node:fs"),fsPromises=require("node:fs/promises"),os=require("node:os"),node_url=require("node:url"),c$1=require("@vitejs/plugin-react-swc"),core=require("@likec4/core"),vite=require("vite"),playwright=require("playwright"),net=require("node:net"),promises=require("node:timers/promises");require("tty"),require("os"),require("crypto"),require("net"),require("child_process"),require("@hpcc-js/wasm-graphviz"),require("buffer"),require("@likec4/core/compute-view"),require("node:child_process"),require("node:string_decoder"),require("node:events"),require("node:v8"),require("node:stream"),require("node:buffer"),require("node:stream/promises"),require("@likec4/core/model");var _documentCurrentScript=typeof document<"u"?document.currentScript:null;function _interopDefaultCompat(s){return s&&typeof s=="object"&&"default"in s?s.default:s}const path__default=_interopDefaultCompat(path$1),process__default=_interopDefaultCompat(process$1),fs__default=_interopDefaultCompat(fs),os__default=_interopDefaultCompat(os),c__default=_interopDefaultCompat(c$1),net__default=_interopDefaultCompat(net),i=!1,align={right:alignRight,center:alignCenter},top=0,right=1,bottom=2,left=3;class UI{constructor(e){var t;this.width=e.width,this.wrap=(t=e.wrap)!==null&&t!==void 0?t:!0,this.rows=[]}span(...e){const t=this.div(...e);t.span=!0}resetOutput(){this.rows=[]}div(...e){if(e.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]=="string")return this.applyLayoutDSL(e[0]);const t=e.map(n=>typeof n=="string"?this.colFromString(n):n);return this.rows.push(t),t}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]=="string"&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){const t=e.split(`
|
|
3
3
|
`).map(o=>o.split(" "));let n=0;return t.forEach(o=>{o.length>1&&mixin$1.stringWidth(o[0])>n&&(n=Math.min(Math.floor(this.width*.5),mixin$1.stringWidth(o[0])))}),t.forEach(o=>{this.div(...o.map((a,l)=>({text:a.trim(),padding:this.measurePadding(a),width:l===0&&o.length>1?n:void 0})))}),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const t=mixin$1.stripAnsi(e);return[0,t.match(/\s*$/)[0].length,0,t.match(/^\s*/)[0].length]}toString(){const e=[];return this.rows.forEach(t=>{this.rowToString(t,e)}),e.filter(t=>!t.hidden).map(t=>t.text).join(`
|
|
4
4
|
`)}rowToString(e,t){return this.rasterize(e).forEach((n,o)=>{let a="";n.forEach((l,d)=>{const{width:w}=e[d],_=this.negatePadding(e[d]);let E=l;if(_>mixin$1.stringWidth(l)&&(E+=" ".repeat(_-mixin$1.stringWidth(l))),e[d].align&&e[d].align!=="left"&&this.wrap){const L=align[e[d].align];E=L(E,_),mixin$1.stringWidth(E)<_&&(E+=" ".repeat((w||0)-mixin$1.stringWidth(E)-1))}const y=e[d].padding||[0,0,0,0];y[left]&&(a+=" ".repeat(y[left])),a+=addBorder(e[d],E,"| "),a+=E,a+=addBorder(e[d],E," |"),y[right]&&(a+=" ".repeat(y[right])),o===0&&t.length>0&&(a=this.renderInline(a,t[t.length-1]))}),t.push({text:a.replace(/ +$/,""),span:e.span})}),t}renderInline(e,t){const n=e.match(/^ */),o=n?n[0].length:0,a=t.text,l=mixin$1.stringWidth(a.trimRight());return t.span?this.wrap?o<l?e:(t.hidden=!0,a.trimRight()+" ".repeat(o-l)+e.trimLeft()):(t.hidden=!0,a+e):e}rasterize(e){const t=[],n=this.columnWidths(e);let o;return e.forEach((a,l)=>{a.width=n[l],this.wrap?o=mixin$1.wrap(a.text,this.negatePadding(a),{hard:!0}).split(`
|
|
5
5
|
`):o=a.text.split(`
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{f as Kr,Y as De,g as Di,a as Qr,T as Xr,N as Ci,i as Zr,n as wi,x as es,b as ts,c as Ai,d as Ei,t as ns,p as A,e as is,h as rs,j as Le,w as ss,k as os,m as us,o as bi,u as Fi,L as ze,q as as,s as $t,r as On,v as yi,y as cs,z as ls}from"../shared/likec4.
|
|
2
|
+
import{f as Kr,Y as De,g as Di,a as Qr,T as Xr,N as Ci,i as Zr,n as wi,x as es,b as ts,c as Ai,d as Ei,t as ns,p as A,e as is,h as rs,j as Le,w as ss,k as os,m as us,o as bi,u as Fi,L as ze,q as as,s as $t,r as On,v as yi,y as cs,z as ls}from"../shared/likec4.Buej2FfJ.mjs";import"node:util";import Ft,{resolve as J,dirname as ot,join as xt,extname as It,relative as ut,isAbsolute as _n,basename as Xt}from"node:path";import vi,{hrtime as fs,cwd as Sn,stdout as ds,exit as hs,argv as ps}from"node:process";import"node:tty";import{notStrictEqual as ms,strictEqual as gs}from"assert";import{resolve as ve,dirname as $n,normalize as Ds,basename as Cs,extname as ws,relative as As}from"path";import{statSync as Bi,readdirSync as Es,readFileSync as xn,writeFile as bs}from"fs";import{format as Oi,inspect as Fs}from"util";import{fileURLToPath as ys}from"url";import vs,{existsSync as Ke,copyFileSync as _i,rmSync as Si}from"node:fs";import{mkdtemp as Zt,writeFile as at,mkdir as He,stat as In,copyFile as Bs,rm as Os}from"node:fs/promises";import _s,{tmpdir as en}from"node:os";import{fileURLToPath as $i}from"node:url";import xi from"@vitejs/plugin-react-swc";import{sortNaturalByFqn as Ii,compareNatural as Ss,hasAtLeast as $s,nonexhaustive as ji,invariant as jn,delay as Li}from"@likec4/core";import{build as jt,createServer as xs,preview as Is}from"vite";import{chromium as Pi}from"playwright";import js from"node:net";import{setTimeout as Ls}from"node:timers/promises";import"tty";import"os";import"crypto";import"net";import"child_process";import"@hpcc-js/wasm-graphviz";import"buffer";import"@likec4/core/compute-view";import"node:child_process";import"node:string_decoder";import"node:events";import"node:v8";import"node:stream";import"node:buffer";import"node:stream/promises";import"@likec4/core/model";const Ps=!1,Ns={right:Ws,center:Vs},ks=0,tn=1,Ms=2,nn=3;class Ts{constructor(e){var t;this.width=e.width,this.wrap=(t=e.wrap)!==null&&t!==void 0?t:!0,this.rows=[]}span(...e){const t=this.div(...e);t.span=!0}resetOutput(){this.rows=[]}div(...e){if(e.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]=="string")return this.applyLayoutDSL(e[0]);const t=e.map(n=>typeof n=="string"?this.colFromString(n):n);return this.rows.push(t),t}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]=="string"&&/[\t\n]/.test(e[0])}applyLayoutDSL(e){const t=e.split(`
|
|
3
3
|
`).map(r=>r.split(" "));let n=0;return t.forEach(r=>{r.length>1&&Ee.stringWidth(r[0])>n&&(n=Math.min(Math.floor(this.width*.5),Ee.stringWidth(r[0])))}),t.forEach(r=>{this.div(...r.map((s,o)=>({text:s.trim(),padding:this.measurePadding(s),width:o===0&&r.length>1?n:void 0})))}),this.rows[this.rows.length-1]}colFromString(e){return{text:e,padding:this.measurePadding(e)}}measurePadding(e){const t=Ee.stripAnsi(e);return[0,t.match(/\s*$/)[0].length,0,t.match(/^\s*/)[0].length]}toString(){const e=[];return this.rows.forEach(t=>{this.rowToString(t,e)}),e.filter(t=>!t.hidden).map(t=>t.text).join(`
|
|
4
4
|
`)}rowToString(e,t){return this.rasterize(e).forEach((n,r)=>{let s="";n.forEach((o,a)=>{const{width:c}=e[a],h=this.negatePadding(e[a]);let l=o;if(h>Ee.stringWidth(o)&&(l+=" ".repeat(h-Ee.stringWidth(o))),e[a].align&&e[a].align!=="left"&&this.wrap){const p=Ns[e[a].align];l=p(l,h),Ee.stringWidth(l)<h&&(l+=" ".repeat((c||0)-Ee.stringWidth(l)-1))}const f=e[a].padding||[0,0,0,0];f[nn]&&(s+=" ".repeat(f[nn])),s+=Ni(e[a],l,"| "),s+=l,s+=Ni(e[a],l," |"),f[tn]&&(s+=" ".repeat(f[tn])),r===0&&t.length>0&&(s=this.renderInline(s,t[t.length-1]))}),t.push({text:s.replace(/ +$/,""),span:e.span})}),t}renderInline(e,t){const n=e.match(/^ */),r=n?n[0].length:0,s=t.text,o=Ee.stringWidth(s.trimRight());return t.span?this.wrap?r<o?e:(t.hidden=!0,s.trimRight()+" ".repeat(r-o)+e.trimLeft()):(t.hidden=!0,s+e):e}rasterize(e){const t=[],n=this.columnWidths(e);let r;return e.forEach((s,o)=>{s.width=n[o],this.wrap?r=Ee.wrap(s.text,this.negatePadding(s),{hard:!0}).split(`
|
|
5
5
|
`):r=s.text.split(`
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const model=require("@likec4/core/model");require("@likec4/core");const LikeC4=require("./shared/likec4.
|
|
1
|
+
"use strict";const model=require("@likec4/core/model");require("@likec4/core");const LikeC4=require("./shared/likec4.pZxbrzrY.cjs");require("node:fs"),require("node:path"),require("node:url"),require("tty"),require("node:util"),require("util"),require("path"),require("os"),require("crypto"),require("net"),require("url"),require("fs"),require("child_process"),require("node:fs/promises"),require("node:process"),require("node:tty"),require("@hpcc-js/wasm-graphviz"),require("buffer"),require("@likec4/core/compute-view"),require("node:child_process"),require("node:string_decoder"),require("node:timers/promises"),require("node:os"),require("node:events"),require("node:v8"),require("node:stream"),require("node:buffer"),require("node:stream/promises"),require("vite"),exports.LikeC4DeploymentModel=model.LikeC4DeploymentModel,exports.LikeC4Model=model.LikeC4Model,exports.LikeC4ViewModel=model.LikeC4ViewModel,exports.LikeC4=LikeC4.L;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";import"@likec4/core";export{L as LikeC4}from"./shared/likec4.
|
|
1
|
+
export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";import"@likec4/core";export{L as LikeC4}from"./shared/likec4.Buej2FfJ.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"node:fs/promises";import"node:process";import"node:tty";import"@hpcc-js/wasm-graphviz";import"buffer";import"@likec4/core/compute-view";import"node:child_process";import"node:string_decoder";import"node:timers/promises";import"node:os";import"node:events";import"node:v8";import"node:stream";import"node:buffer";import"node:stream/promises";import"vite";
|
|
@@ -1837,7 +1837,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
1837
1837
|
but returned
|
|
1838
1838
|
${n.stdout}`):Ct.error(`[BinaryGraphvizLayouter.layout] '${n.command}' failed: ${n.stderr}
|
|
1839
1839
|
|
|
1840
|
-
nothing returned, ignoring...`)),n.stdout&&(e=n.stdout.replaceAll(/\t\[/g," [").replaceAll(/\t/g," ")),e})}async layoutJson(e){return await pb(async()=>{const n=await fb(this.path,["-Tjson","-y"],{reject:!1,timeout:1e4,input:e,stdin:"pipe",encoding:"utf8"});if(n instanceof Error){if(!n.stdout)throw Ct.error(`[BinaryGraphvizLayouter.layout] '${n.command}' nothing returned and failed: "${n.stderr}"`),n;Ct.warn(`[BinaryGraphvizLayouter.layout] '${n.command}' returned result but also failed "${n.stderr}"`)}return n.stdout})}async acyclic(e){return Promise.reject(new Error("Method not implemented."))}async svg(e){return await pb(async()=>{const n=await fb(this.path,["-Tsvg","-y"],{reject:!1,timeout:1e4,input:e,stdin:"pipe",encoding:"utf8"});if(n instanceof Error){if(!n.stdout)throw Ct.error(`[BinaryGraphvizLayouter.layout] '${n.command}' nothing returned and failed: ${n.stderr}`),n;Ct.warn(`[BinaryGraphvizLayouter.layout] '${n.command}' returned result but also failed ${n.stderr}`)}return n.stdout})}};const Y1="1.20.
|
|
1840
|
+
nothing returned, ignoring...`)),n.stdout&&(e=n.stdout.replaceAll(/\t\[/g," [").replaceAll(/\t/g," ")),e})}async layoutJson(e){return await pb(async()=>{const n=await fb(this.path,["-Tjson","-y"],{reject:!1,timeout:1e4,input:e,stdin:"pipe",encoding:"utf8"});if(n instanceof Error){if(!n.stdout)throw Ct.error(`[BinaryGraphvizLayouter.layout] '${n.command}' nothing returned and failed: "${n.stderr}"`),n;Ct.warn(`[BinaryGraphvizLayouter.layout] '${n.command}' returned result but also failed "${n.stderr}"`)}return n.stdout})}async acyclic(e){return Promise.reject(new Error("Method not implemented."))}async svg(e){return await pb(async()=>{const n=await fb(this.path,["-Tsvg","-y"],{reject:!1,timeout:1e4,input:e,stdin:"pipe",encoding:"utf8"});if(n instanceof Error){if(!n.stdout)throw Ct.error(`[BinaryGraphvizLayouter.layout] '${n.command}' nothing returned and failed: ${n.stderr}`),n;Ct.warn(`[BinaryGraphvizLayouter.layout] '${n.command}' returned result but also failed ${n.stderr}`)}return n.stdout})}};const Y1="1.20.1",Hne=t=>{hb.forEach(e=>{Vne(t,e)})},hb=["name","message","stack","cause","errors"],Vne=(t,e)=>{const n=mb(t,e);if(n!==void 0){if(Kne(n)){oi(t,e,t[e]);return}Yne(n)&&X1(t,e,n)}},mb=(t,e)=>{const n=Object.getOwnPropertyDescriptor(t,e);if(n!==void 0)return n;const r=Object.getPrototypeOf(t);return r===null?void 0:mb(r,e)},Kne=({get:t,set:e})=>t!==void 0&&e===void 0,Yne=({enumerable:t,writable:e})=>t||!e,oi=(t,e,n)=>{X1(t,e,{value:n})},X1=(t,e,n)=>{Object.defineProperty(t,e,{...n,..."get"in n||"set"in n?{}:{writable:!0},enumerable:!1,configurable:!0})},Xne=(t,e)=>{if(Array.isArray(t.errors)){const n=t.errors.filter(Jne).map(e).filter(Boolean);oi(t,"errors",n)}else Qne(t)?oi(t,"errors",[]):t.errors!==void 0&&Zne(t)},Jne=t=>t!==void 0,Qne=t=>"AggregateError"in globalThis&&(t.name==="AggregateError"||t instanceof AggregateError),Zne=t=>{delete t.errors,t.errors!==void 0&&oi(t,"errors",[])},ere=(t,e)=>{if(!("cause"in t))return;const n=t.cause===void 0?t.cause:e(t.cause);n===void 0?delete t.cause:oi(t,"cause",n)},tre=t=>nre(t)||rre(t),nre=t=>{try{return t instanceof Error}catch{return!1}},rre=t=>{try{return ire.has(Object.prototype.toString.call(t))}catch{return!1}},ire=new Set(["[object Error]","[object DOMException]","[object DOMError]","[object Exception]"]),sre=t=>!Object.isExtensible(t)||hb.some(e=>ore(t,e)||are(t,e)),ore=(t,e)=>{const n=Object.getOwnPropertyDescriptor(t,e);return n!==void 0&&!n.configurable},are=(t,e)=>{try{return t[e],!1}catch{return!0}},gb=t=>{const e=cre(t.message,t.name);oi(t,"stack",e)},cre=(t="",e="Error")=>{const n=ure(e),{stack:r}=new n(t);return typeof r=="string"&&r!==""?r:`${e}: ${t}`},ure=t=>{const e={value:t,enumerable:!1,writable:!0,configurable:!0},n=Object.defineProperty(class extends Error{},"name",e);return Object.defineProperty(n.prototype,"name",e),n},lre=t=>{const e={};for(const n of dre(t))try{const r=t[n],{enumerable:i,configurable:s,writable:o=!0}=mb(t,n);Object.defineProperty(e,n,{value:r,enumerable:i,configurable:s,writable:o})}catch{}return e},dre=t=>{const e=fre(t);for(const n of hb)pre(t,n)&&e.push(n);return e},fre=t=>{try{return Reflect.ownKeys(t)}catch{return[]}},pre=(t,e)=>{try{return e in t&&!Object.hasOwn(t,e)}catch{return!1}},J1=t=>{const{name:e,message:n,stack:r,cause:i,errors:s,...o}=lre(t),a=hre(n,o),c=vre(e,a);return n===a&&wre(c,o),Object.entries({name:e,stack:r,cause:i,errors:s}).forEach(([u,l])=>{bre(c,u,l)}),r===void 0&&gb(c),c},hre=(t,e)=>typeof t=="string"&&t!==""?t:yre(mre(e)),mre=t=>{try{return JSON.stringify(t)}catch{return gre(t)}},gre=t=>{try{return String(t)}catch{return"Invalid error"}},yre=t=>t.length<Q1?t:`${t.slice(0,Q1)}...`,Q1=1e3,vre=(t,e)=>t==="AggregateError"&&"AggregateError"in globalThis?new AggregateError([],e):t in Z1?new Z1[t](e):new Error(e),Z1={Error,ReferenceError,TypeError,SyntaxError,RangeError,URIError,EvalError},wre=(t,e)=>{for(const n in e)n in t||(t[n]=e[n])},bre=(t,e,n)=>{n!==void 0&&oi(t,e,n)},Dre=t=>{try{const e=new Error(String(t));return gb(e),e}catch(e){return e}},{toString:Ere}=Object.prototype,Rre=t=>Tre(t)?J1(t):tre(t)?$re(t)?J1(t):t:Dre(t),Tre=t=>{try{return en(t)}catch{return!1}},$re=t=>Sre(t)||sre(t)||Cre(t),Sre=t=>{try{return Ere.call(t)==="[object Object]"}catch{return!0}},Cre=t=>typeof t.constructor!="function"||typeof t.constructor.name!="string"||t.constructor.name===""||t.constructor.prototype!==Object.getPrototypeOf(t),Kh=(t,{shallow:e=!1}={})=>eI(t,[],e),eI=(t,e,n)=>{if(e.includes(t))return;const r=n?kre:s=>eI(s,[...e,t],n),i=Rre(t);return Are(i,r),i},kre=t=>t,Are=(t,e)=>{_re(t),Pre(t),Ire(t),ere(t,e),Xne(t,e),Hne(t)},_re=t=>{if(Yh(t.name))return;const e=Object.getPrototypeOf(t).name,n=Yh(e)?e:t.constructor.name;oi(t,"name",n)},Pre=t=>{Yh(t.message)||oi(t,"message","")},Ire=t=>{Yh(t.stack)||gb(t)},Yh=t=>typeof t=="string"&&t!=="",xre=(t,e,n=t.name)=>{if(Ore(e),typeof n!="string")throw new TypeError(`currentName must be a string: ${n}`);return n},Ore=t=>{if(!Nre(t))throw new TypeError(`ErrorClass must be a class: ${t}`);if(!tI(t.prototype))throw new TypeError(`ErrorClass must inherit from Error: ${t}`);if(!Fre(t))throw new TypeError(`ErrorClass must be have a valid constructor: ${t}`)},Nre=t=>typeof t=="function"&&typeof t.prototype=="object"&&t.prototype!==null,tI=t=>t!==null&&(t.name==="Error"||tI(Object.getPrototypeOf(t))),Fre=t=>typeof t.prototype.constructor=="function",nI=(t,e,n)=>{Object.defineProperty(t,e,{value:n,enumerable:!1,writable:!0,configurable:!0})},Lre=(t,e)=>{Object.getPrototypeOf(t)!==e.prototype&&(Mre(t,e),sI(t,"constructor"),Bre(t,e))},Mre=(t,e)=>{Object.setPrototypeOf(t,e.prototype)},Bre=(t,e)=>{sI(t,"name");const n=rI(e.prototype);t.name!==n&&nI(t,"name",n)},rI=t=>zre(t)??qre(t)??rI(Object.getPrototypeOf(t)),zre=t=>Object.hasOwn(t,"name")&&iI(t.name)?t.name:void 0,qre=t=>typeof t.constructor=="function"&&iI(t.constructor.name)?t.constructor.name:void 0,iI=t=>typeof t=="string"&&t!=="",sI=(t,e)=>{Object.hasOwn(t,e)&&delete t[e]},jre=(t,e)=>{if(!Ure(t,e))return;const n=Wre(t,e);nI(t,"stack",n)},Ure=(t,e)=>e!==t.name&&e!==""&&t.stack.includes(e)&&Gre(),Gre=()=>{class t extends Error{}const e={value:oI,enumerable:!1,writable:!0,configurable:!0};Object.defineProperty(t,"name",e),Object.defineProperty(t.prototype,"name",e);const{stack:n}=new t("");return typeof n=="string"&&n.includes(oI)},oI="SetErrorClassError",Wre=({name:t,stack:e},n)=>{if(e.startsWith(`${n}: `))return e.replace(n,t);const r=Hre(n,t),[i,s]=r.find(([o])=>e.includes(o));return e.replace(i,s)},Hre=(t,e)=>[[`
|
|
1841
1841
|
${t}: `,`
|
|
1842
1842
|
${e}: `],[`${t}: `,`${e}: `],[`${t} `,`${e} `],[t,e]],Vre=(t,e,n)=>{const r=Kh(t),i=xre(r,e,n);return Lre(r,e),jre(r,i),r},Kre=(t,e)=>e.configurable===!1?Yre(t,e):Qre(t,e),Yre=(t,e)=>({...e,...Xre(t,e),...Jre(t,e)}),Xre=(t,e)=>e.writable===!0&&t.writable===!1?{writable:!1}:{},Jre=(t,e)=>t.hasValue&&"value"in e&&e.writable===!0?{value:t.value}:{},Qre=(t,e)=>{const n=pd(t.enumerable,e.enumerable,!0),r=pd(t.writable,e.writable,!0),i=pd(t.configurable,e.configurable,!0);return{...Zre(t,e,r),enumerable:n,configurable:i}},Zre=(t,e,n)=>t.hasValue?{value:t.value,writable:n}:!aI(t)&&!aI(e)?{value:e.value,writable:n}:{get:pd(t.get,e.get),set:pd(t.set,e.set)},aI=({get:t,set:e})=>t!==void 0||e!==void 0,pd=(t,e,n)=>t??e??n,eie=(t,e,n)=>{if(!tie(t))throw new TypeError(`Argument must be an object: ${t}`);if(!nie(e))throw new TypeError(`Property key must be a string, a symbol or an integer: ${e}`);return rie(n)},tie=t=>typeof t=="object"&&t!==null,nie=t=>{const e=typeof t;return e==="string"||e==="symbol"||e==="number"},rie=t=>{if(!en(t))throw new TypeError(`Descriptor must be a plain object: ${t}`);const{enumerable:e,writable:n,configurable:r,value:i,get:s,set:o,...a}=t,c="value"in t;return iie({enumerable:e,writable:n,configurable:r,get:s,set:o,unknownProps:a,hasValue:c}),{enumerable:e,writable:n,configurable:r,value:i,get:s,set:o,hasValue:c}},iie=({enumerable:t,writable:e,configurable:n,get:r,set:i,unknownProps:s,hasValue:o})=>{cI(o,r,"get"),cI(o,i,"set"),yb(t,"enumerable"),yb(e,"writable"),yb(n,"configurable"),oie(s)},cI=(t,e,n)=>{if(sie(e,n),t&&e!==void 0)throw new TypeError(`Descriptor property "value" and "${n}" must not both be defined: ${e}`)},sie=(t,e)=>{if(t!==void 0&&typeof t!="function")throw new TypeError(`Descriptor property "${e}" must be a function: ${t}`)},yb=(t,e)=>{if(t!==void 0&&typeof t!="boolean")throw new TypeError(`Descriptor property "${e}" must be a boolean: ${t}`)},oie=t=>{const[e]=Object.keys(t);if(e!==void 0)throw new TypeError(`Unknown descriptor property "${e}": ${t[e]}`)},aie=(t,e,n)=>{const r=eie(t,e,n),i=uI(t,e),s=Kre(r,i);return cie(t,e,s),t},uI=(t,e)=>{const n=Object.getOwnPropertyDescriptor(t,e);if(n!==void 0)return n;const r=Object.getPrototypeOf(t);return r===null?{}:uI(r,e)},cie=(t,e,n)=>{try{Object.defineProperty(t,e,n)}catch{}},uie=(t,e,n)=>{if(n!==void 0)return lI(t,e,n);try{delete t[e]}catch{}if(t[e]!==void 0)return lI(t,e)},lI=(t,e,n)=>{const r=lie(e);aie(t,e,{value:n,...r})},lie=t=>typeof t=="string"&&t.startsWith("_")?{enumerable:!1}:{},die=t=>fie(t)||pie(t),fie=t=>{try{return t instanceof Error}catch{return!1}},pie=t=>{try{return hie.has(Object.prototype.toString.call(t))}catch{return!1}},hie=new Set(["[object Error]","[object DOMException]","[object DOMError]","[object Exception]"]),mie=(t,e,n={})=>{if(dI(t,"First argument"),dI(e,"Second argument"),!en(n))throw new TypeError(`Options must be a plain object: ${n}`);const{soft:r=!1}=n;if(typeof r!="boolean")throw new TypeError(`Option "soft" must be a boolean: ${r}`);return{soft:r}},dI=(t,e)=>{if(t===void 0)throw new TypeError(`${e} is required.`);if(!gie(t))throw new TypeError(`${e} must be a plain object or an error: ${t}`)},gie=t=>en(t)||die(t),yie=({error:t,props:e,propName:n,soft:r})=>vie(n)||!Die.call(e,n)||r&&t[n]!==void 0,vie=t=>t in wie||bie.has(t),wie=new Error("check"),bie=new Set(["prototype","errors","cause"]),{propertyIsEnumerable:Die}=Object.prototype,Eie=(t,e,n)=>{const{soft:r}=mie(t,e,n);for(const i of Reflect.ownKeys(e))Rie({error:t,props:e,propName:i,soft:r});return t},Rie=({error:t,props:e,propName:n,soft:r})=>{yie({error:t,props:e,propName:n,soft:r})||uie(t,n,e[n])},Xh=(t,e,n)=>{Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!1,configurable:!0})},Tie=(t,e)=>{if(t.errors===void 0)return;const n=t.errors.map(r=>e(r).error).filter(Boolean);Xh(t,"errors",n)},$ie=({target:t,source:e,parent:n,child:r})=>{if(!fI(t)){Sie(t,e);return}fI(e)&&Xh(t,"errors",[...r.errors,...n.errors])},Sie=(t,e)=>{e.errors!==void 0&&Xh(t,"errors",e.errors)},fI=t=>t.errors!==void 0&&t.errors.length!==0,Cie=(t,e,n=t.message)=>{if(typeof e!="string")throw new TypeError(`newMessage must be a string: ${e}`);if(typeof n!="string")throw new TypeError(`currentMessage must be a string: ${n}`);return n},kie=({name:t,stack:e},n,r)=>r!==""&&e.includes(r)?Aie({name:t,stack:e,newMessage:n,currentMessage:r}):Pie(t,e,n),Aie=({name:t,stack:e,newMessage:n,currentMessage:r})=>{const i=_ie(t,n,r),[s,o]=i.find(([a])=>e.includes(a));return e.replace(s,o)},_ie=(t,e,n)=>[[`${t}: ${n}`,`${t}: ${e}`],[`: ${n}`,`: ${e}`],[`
|
|
1843
1843
|
${n}`,`
|
|
@@ -1837,7 +1837,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
|
|
|
1837
1837
|
but returned
|
|
1838
1838
|
${Ve.stdout}`):Ye.error(`[BinaryGraphvizLayouter.layout] '${Ve.command}' failed: ${Ve.stderr}
|
|
1839
1839
|
|
|
1840
|
-
nothing returned, ignoring...`)),Ve.stdout&&(H=Ve.stdout.replaceAll(/\t\[/g," [").replaceAll(/\t/g," ")),H})}async layoutJson(H){return await n$1(async()=>{const Ve=await execa(this.path,["-Tjson","-y"],{reject:!1,timeout:1e4,input:H,stdin:"pipe",encoding:"utf8"});if(Ve instanceof Error){if(!Ve.stdout)throw Ye.error(`[BinaryGraphvizLayouter.layout] '${Ve.command}' nothing returned and failed: "${Ve.stderr}"`),Ve;Ye.warn(`[BinaryGraphvizLayouter.layout] '${Ve.command}' returned result but also failed "${Ve.stderr}"`)}return Ve.stdout})}async acyclic(H){return Promise.reject(new Error("Method not implemented."))}async svg(H){return await n$1(async()=>{const Ve=await execa(this.path,["-Tsvg","-y"],{reject:!1,timeout:1e4,input:H,stdin:"pipe",encoding:"utf8"});if(Ve instanceof Error){if(!Ve.stdout)throw Ye.error(`[BinaryGraphvizLayouter.layout] '${Ve.command}' nothing returned and failed: ${Ve.stderr}`),Ve;Ye.warn(`[BinaryGraphvizLayouter.layout] '${Ve.command}' returned result but also failed ${Ve.stderr}`)}return Ve.stdout})}};const version="1.20.
|
|
1840
|
+
nothing returned, ignoring...`)),Ve.stdout&&(H=Ve.stdout.replaceAll(/\t\[/g," [").replaceAll(/\t/g," ")),H})}async layoutJson(H){return await n$1(async()=>{const Ve=await execa(this.path,["-Tjson","-y"],{reject:!1,timeout:1e4,input:H,stdin:"pipe",encoding:"utf8"});if(Ve instanceof Error){if(!Ve.stdout)throw Ye.error(`[BinaryGraphvizLayouter.layout] '${Ve.command}' nothing returned and failed: "${Ve.stderr}"`),Ve;Ye.warn(`[BinaryGraphvizLayouter.layout] '${Ve.command}' returned result but also failed "${Ve.stderr}"`)}return Ve.stdout})}async acyclic(H){return Promise.reject(new Error("Method not implemented."))}async svg(H){return await n$1(async()=>{const Ve=await execa(this.path,["-Tsvg","-y"],{reject:!1,timeout:1e4,input:H,stdin:"pipe",encoding:"utf8"});if(Ve instanceof Error){if(!Ve.stdout)throw Ye.error(`[BinaryGraphvizLayouter.layout] '${Ve.command}' nothing returned and failed: ${Ve.stderr}`),Ve;Ye.warn(`[BinaryGraphvizLayouter.layout] '${Ve.command}' returned result but also failed ${Ve.stderr}`)}return Ve.stdout})}};const version="1.20.1",normalizeDescriptors=He=>{CORE_ERROR_PROPS.forEach(H=>{normalizeDescriptor$1(He,H)})},CORE_ERROR_PROPS=["name","message","stack","cause","errors"],normalizeDescriptor$1=(He,H)=>{const Ve=getDescriptor(He,H);if(Ve!==void 0){if(isReadonlyGetter(Ve)){setErrorProperty$1(He,H,He[H]);return}isInvalidDescriptor(Ve)&&setErrorDescriptor(He,H,Ve)}},getDescriptor=(He,H)=>{const Ve=Object.getOwnPropertyDescriptor(He,H);if(Ve!==void 0)return Ve;const Ke=Object.getPrototypeOf(He);return Ke===null?void 0:getDescriptor(Ke,H)},isReadonlyGetter=({get:He,set:H})=>He!==void 0&&H===void 0,isInvalidDescriptor=({enumerable:He,writable:H})=>He||!H,setErrorProperty$1=(He,H,Ve)=>{setErrorDescriptor(He,H,{value:Ve})},setErrorDescriptor=(He,H,Ve)=>{Object.defineProperty(He,H,{...Ve,..."get"in Ve||"set"in Ve?{}:{writable:!0},enumerable:!1,configurable:!0})},normalizeAggregate=(He,H)=>{if(Array.isArray(He.errors)){const Ve=He.errors.filter(isDefined).map(H).filter(Boolean);setErrorProperty$1(He,"errors",Ve)}else isAggregateError(He)?setErrorProperty$1(He,"errors",[]):He.errors!==void 0&&deleteAggregateErrors(He)},isDefined=He=>He!==void 0,isAggregateError=He=>"AggregateError"in globalThis&&(He.name==="AggregateError"||He instanceof AggregateError),deleteAggregateErrors=He=>{delete He.errors,He.errors!==void 0&&setErrorProperty$1(He,"errors",[])},normalizeCause=(He,H)=>{if(!("cause"in He))return;const Ve=He.cause===void 0?He.cause:H(He.cause);Ve===void 0?delete He.cause:setErrorProperty$1(He,"cause",Ve)},isErrorInstance$1=He=>isInstanceOfError$1(He)||hasErrorTag$1(He),isInstanceOfError$1=He=>{try{return He instanceof Error}catch{return!1}},hasErrorTag$1=He=>{try{return ERROR_TAGS$1.has(Object.prototype.toString.call(He))}catch{return!1}},ERROR_TAGS$1=new Set(["[object Error]","[object DOMException]","[object DOMError]","[object Exception]"]),isNonModifiableError=He=>!Object.isExtensible(He)||CORE_ERROR_PROPS.some(H=>isNonConfigurableProp(He,H)||isThrowingProp(He,H)),isNonConfigurableProp=(He,H)=>{const Ve=Object.getOwnPropertyDescriptor(He,H);return Ve!==void 0&&!Ve.configurable},isThrowingProp=(He,H)=>{try{return He[H],!1}catch{return!0}},setStack=He=>{const H=getStack$3(He.message,He.name);setErrorProperty$1(He,"stack",H)},getStack$3=(He="",H="Error")=>{const Ve=getErrorClass(H),{stack:Ke}=new Ve(He);return typeof Ke=="string"&&Ke!==""?Ke:`${H}: ${He}`},getErrorClass=He=>{const H={value:He,enumerable:!1,writable:!0,configurable:!0},Ve=Object.defineProperty(class extends Error{},"name",H);return Object.defineProperty(Ve.prototype,"name",H),Ve},copyObject=He=>{const H={};for(const Ve of getPropsToCopy(He))try{const Ke=He[Ve],{enumerable:Xe,configurable:Je,writable:Qe=!0}=getDescriptor(He,Ve);Object.defineProperty(H,Ve,{value:Ke,enumerable:Xe,configurable:Je,writable:Qe})}catch{}return H},getPropsToCopy=He=>{const H=getOwnKeys(He);for(const Ve of CORE_ERROR_PROPS)isInheritedProp(He,Ve)&&H.push(Ve);return H},getOwnKeys=He=>{try{return Reflect.ownKeys(He)}catch{return[]}},isInheritedProp=(He,H)=>{try{return H in He&&!Object.hasOwn(He,H)}catch{return!1}},objectifyError=He=>{const{name:H,message:Ve,stack:Ke,cause:Xe,errors:Je,...Qe}=copyObject(He),Ze=getMessage$1(Ve,Qe),en=newError(H,Ze);return Ve===Ze&&assignObjectProps(en,Qe),Object.entries({name:H,stack:Ke,cause:Xe,errors:Je}).forEach(([tn,nn])=>{setNewErrorProperty(en,tn,nn)}),Ke===void 0&&setStack(en),en},getMessage$1=(He,H)=>typeof He=="string"&&He!==""?He:truncateMessage(safeJsonStringify(H)),safeJsonStringify=He=>{try{return JSON.stringify(He)}catch{return safeStringify(He)}},safeStringify=He=>{try{return String(He)}catch{return"Invalid error"}},truncateMessage=He=>He.length<MESSAGE_MAX_SIZE?He:`${He.slice(0,MESSAGE_MAX_SIZE)}...`,MESSAGE_MAX_SIZE=1e3,newError=(He,H)=>He==="AggregateError"&&"AggregateError"in globalThis?new AggregateError([],H):He in NATIVE_ERRORS?new NATIVE_ERRORS[He](H):new Error(H),NATIVE_ERRORS={Error,ReferenceError,TypeError,SyntaxError,RangeError,URIError,EvalError},assignObjectProps=(He,H)=>{for(const Ve in H)Ve in He||(He[Ve]=H[Ve])},setNewErrorProperty=(He,H,Ve)=>{Ve!==void 0&&setErrorProperty$1(He,H,Ve)},stringifyError=He=>{try{const H=new Error(String(He));return setStack(H),H}catch(H){return H}},{toString:objectToString}=Object.prototype,createError=He=>isErrorPlainObj(He)?objectifyError(He):isErrorInstance$1(He)?isInvalidError(He)?objectifyError(He):He:stringifyError(He),isErrorPlainObj=He=>{try{return isPlainObject(He)}catch{return!1}},isInvalidError=He=>isProxy(He)||isNonModifiableError(He)||hasInvalidConstructor(He),isProxy=He=>{try{return objectToString.call(He)==="[object Object]"}catch{return!0}},hasInvalidConstructor=He=>typeof He.constructor!="function"||typeof He.constructor.name!="string"||He.constructor.name===""||He.constructor.prototype!==Object.getPrototypeOf(He),normalizeException=(He,{shallow:H=!1}={})=>recurseException(He,[],H),recurseException=(He,H,Ve)=>{if(H.includes(He))return;const Ke=Ve?identity:Je=>recurseException(Je,[...H,He],Ve),Xe=createError(He);return normalizeProps(Xe,Ke),Xe},identity=He=>He,normalizeProps=(He,H)=>{normalizeName(He),normalizeMessage(He),normalizeStack(He),normalizeCause(He,H),normalizeAggregate(He,H),normalizeDescriptors(He)},normalizeName=He=>{if(isDefinedString$1(He.name))return;const H=Object.getPrototypeOf(He).name,Ve=isDefinedString$1(H)?H:He.constructor.name;setErrorProperty$1(He,"name",Ve)},normalizeMessage=He=>{isDefinedString$1(He.message)||setErrorProperty$1(He,"message","")},normalizeStack=He=>{isDefinedString$1(He.stack)||setStack(He)},isDefinedString$1=He=>typeof He=="string"&&He!=="",normalizeArgs$1=(He,H,Ve=He.name)=>{if(validateErrorClass(H),typeof Ve!="string")throw new TypeError(`currentName must be a string: ${Ve}`);return Ve},validateErrorClass=He=>{if(!isClass(He))throw new TypeError(`ErrorClass must be a class: ${He}`);if(!isErrorClass(He.prototype))throw new TypeError(`ErrorClass must inherit from Error: ${He}`);if(!hasConstructor(He))throw new TypeError(`ErrorClass must be have a valid constructor: ${He}`)},isClass=He=>typeof He=="function"&&typeof He.prototype=="object"&&He.prototype!==null,isErrorClass=He=>He!==null&&(He.name==="Error"||isErrorClass(Object.getPrototypeOf(He))),hasConstructor=He=>typeof He.prototype.constructor=="function",setNonEnumProp$1=(He,H,Ve)=>{Object.defineProperty(He,H,{value:Ve,enumerable:!1,writable:!0,configurable:!0})},updatePrototype=(He,H)=>{Object.getPrototypeOf(He)!==H.prototype&&(setPrototype(He,H),deleteOwnProperty(He,"constructor"),fixName(He,H))},setPrototype=(He,H)=>{Object.setPrototypeOf(He,H.prototype)},fixName=(He,H)=>{deleteOwnProperty(He,"name");const Ve=getClassName(H.prototype);He.name!==Ve&&setNonEnumProp$1(He,"name",Ve)},getClassName=He=>getPrototypeName(He)??getConstructorName(He)??getClassName(Object.getPrototypeOf(He)),getPrototypeName=He=>Object.hasOwn(He,"name")&&isDefinedString(He.name)?He.name:void 0,getConstructorName=He=>typeof He.constructor=="function"&&isDefinedString(He.constructor.name)?He.constructor.name:void 0,isDefinedString=He=>typeof He=="string"&&He!=="",deleteOwnProperty=(He,H)=>{Object.hasOwn(He,H)&&delete He[H]},updateStack$1=(He,H)=>{if(!shouldUpdateStack(He,H))return;const Ve=getStack$2(He,H);setNonEnumProp$1(He,"stack",Ve)},shouldUpdateStack=(He,H)=>H!==He.name&&H!==""&&He.stack.includes(H)&&stackIncludesName(),stackIncludesName=()=>{class He extends Error{}const H={value:EXAMPLE_NAME,enumerable:!1,writable:!0,configurable:!0};Object.defineProperty(He,"name",H),Object.defineProperty(He.prototype,"name",H);const{stack:Ve}=new He("");return typeof Ve=="string"&&Ve.includes(EXAMPLE_NAME)},EXAMPLE_NAME="SetErrorClassError",getStack$2=({name:He,stack:H},Ve)=>{if(H.startsWith(`${Ve}: `))return H.replace(Ve,He);const Ke=getReplacers$1(Ve,He),[Xe,Je]=Ke.find(([Qe])=>H.includes(Qe));return H.replace(Xe,Je)},getReplacers$1=(He,H)=>[[`
|
|
1841
1841
|
${He}: `,`
|
|
1842
1842
|
${H}: `],[`${He}: `,`${H}: `],[`${He} `,`${H} `],[He,H]],setErrorClass=(He,H,Ve)=>{const Ke=normalizeException(He),Xe=normalizeArgs$1(Ke,H,Ve);return updatePrototype(Ke,H),updateStack$1(Ke,Xe),Ke},mergeDescriptors=(He,H)=>H.configurable===!1?mergeNonConfig(He,H):mergeConfig(He,H),mergeNonConfig=(He,H)=>({...H,...getNonConfigWritable(He,H),...getNonConfigValue(He,H)}),getNonConfigWritable=(He,H)=>H.writable===!0&&He.writable===!1?{writable:!1}:{},getNonConfigValue=(He,H)=>He.hasValue&&"value"in H&&H.writable===!0?{value:He.value}:{},mergeConfig=(He,H)=>{const Ve=mergeDescriptor(He.enumerable,H.enumerable,!0),Ke=mergeDescriptor(He.writable,H.writable,!0),Xe=mergeDescriptor(He.configurable,H.configurable,!0);return{...mergeValue(He,H,Ke),enumerable:Ve,configurable:Xe}},mergeValue=(He,H,Ve)=>He.hasValue?{value:He.value,writable:Ve}:!hasGetSet(He)&&!hasGetSet(H)?{value:H.value,writable:Ve}:{get:mergeDescriptor(He.get,H.get),set:mergeDescriptor(He.set,H.set)},hasGetSet=({get:He,set:H})=>He!==void 0||H!==void 0,mergeDescriptor=(He,H,Ve)=>He??H??Ve,normalizeInput=(He,H,Ve)=>{if(!isAnyObj(He))throw new TypeError(`Argument must be an object: ${He}`);if(!isValidKey(H))throw new TypeError(`Property key must be a string, a symbol or an integer: ${H}`);return normalizeDescriptor(Ve)},isAnyObj=He=>typeof He=="object"&&He!==null,isValidKey=He=>{const H=typeof He;return H==="string"||H==="symbol"||H==="number"},normalizeDescriptor=He=>{if(!isPlainObject(He))throw new TypeError(`Descriptor must be a plain object: ${He}`);const{enumerable:H,writable:Ve,configurable:Ke,value:Xe,get:Je,set:Qe,...Ze}=He,en="value"in He;return validateDescriptor({enumerable:H,writable:Ve,configurable:Ke,get:Je,set:Qe,unknownProps:Ze,hasValue:en}),{enumerable:H,writable:Ve,configurable:Ke,value:Xe,get:Je,set:Qe,hasValue:en}},validateDescriptor=({enumerable:He,writable:H,configurable:Ve,get:Ke,set:Xe,unknownProps:Je,hasValue:Qe})=>{validateGetSet(Qe,Ke,"get"),validateGetSet(Qe,Xe,"set"),validateBoolean(He,"enumerable"),validateBoolean(H,"writable"),validateBoolean(Ve,"configurable"),validateUnknownProps(Je)},validateGetSet=(He,H,Ve)=>{if(validateFunction(H,Ve),He&&H!==void 0)throw new TypeError(`Descriptor property "value" and "${Ve}" must not both be defined: ${H}`)},validateFunction=(He,H)=>{if(He!==void 0&&typeof He!="function")throw new TypeError(`Descriptor property "${H}" must be a function: ${He}`)},validateBoolean=(He,H)=>{if(He!==void 0&&typeof He!="boolean")throw new TypeError(`Descriptor property "${H}" must be a boolean: ${He}`)},validateUnknownProps=He=>{const[H]=Object.keys(He);if(H!==void 0)throw new TypeError(`Unknown descriptor property "${H}": ${He[H]}`)},redefineProperty=(He,H,Ve)=>{const Ke=normalizeInput(He,H,Ve),Xe=getCurrentDescriptor(He,H),Je=mergeDescriptors(Ke,Xe);return setProperty(He,H,Je),He},getCurrentDescriptor=(He,H)=>{const Ve=Object.getOwnPropertyDescriptor(He,H);if(Ve!==void 0)return Ve;const Ke=Object.getPrototypeOf(He);return Ke===null?{}:getCurrentDescriptor(Ke,H)},setProperty=(He,H,Ve)=>{try{Object.defineProperty(He,H,Ve)}catch{}},assignProp=(He,H,Ve)=>{if(Ve!==void 0)return setProp(He,H,Ve);try{delete He[H]}catch{}if(He[H]!==void 0)return setProp(He,H)},setProp=(He,H,Ve)=>{const Ke=getNonEnum(H);redefineProperty(He,H,{value:Ve,...Ke})},getNonEnum=He=>typeof He=="string"&&He.startsWith("_")?{enumerable:!1}:{},isErrorInstance=He=>isInstanceOfError(He)||hasErrorTag(He),isInstanceOfError=He=>{try{return He instanceof Error}catch{return!1}},hasErrorTag=He=>{try{return ERROR_TAGS.has(Object.prototype.toString.call(He))}catch{return!1}},ERROR_TAGS=new Set(["[object Error]","[object DOMException]","[object DOMError]","[object Exception]"]),normalizeOptions=(He,H,Ve={})=>{if(validateErrorOrObject(He,"First argument"),validateErrorOrObject(H,"Second argument"),!isPlainObject(Ve))throw new TypeError(`Options must be a plain object: ${Ve}`);const{soft:Ke=!1}=Ve;if(typeof Ke!="boolean")throw new TypeError(`Option "soft" must be a boolean: ${Ke}`);return{soft:Ke}},validateErrorOrObject=(He,H)=>{if(He===void 0)throw new TypeError(`${H} is required.`);if(!isErrorOrObject(He))throw new TypeError(`${H} must be a plain object or an error: ${He}`)},isErrorOrObject=He=>isPlainObject(He)||isErrorInstance(He),shouldSkipProp=({error:He,props:H,propName:Ve,soft:Ke})=>isIgnoredPropName(Ve)||!isEnum.call(H,Ve)||Ke&&He[Ve]!==void 0,isIgnoredPropName=He=>He in CHECK_ERROR||IGNORED_PROPS.has(He),CHECK_ERROR=new Error("check"),IGNORED_PROPS=new Set(["prototype","errors","cause"]),{propertyIsEnumerable:isEnum}=Object.prototype,setErrorProps=(He,H,Ve)=>{const{soft:Ke}=normalizeOptions(He,H,Ve);for(const Xe of Reflect.ownKeys(H))setErrorProp({error:He,props:H,propName:Xe,soft:Ke});return He},setErrorProp=({error:He,props:H,propName:Ve,soft:Ke})=>{shouldSkipProp({error:He,props:H,propName:Ve,soft:Ke})||assignProp(He,Ve,H[Ve])},setErrorProperty=(He,H,Ve)=>{Object.defineProperty(He,H,{value:Ve,writable:!0,enumerable:!1,configurable:!0})},mergeAggregateCauses=(He,H)=>{if(He.errors===void 0)return;const Ve=He.errors.map(Ke=>H(Ke).error).filter(Boolean);setErrorProperty(He,"errors",Ve)},mergeAggregateErrors=({target:He,source:H,parent:Ve,child:Ke})=>{if(!hasErrors(He)){mergeSourceErrors(He,H);return}hasErrors(H)&&setErrorProperty(He,"errors",[...Ke.errors,...Ve.errors])},mergeSourceErrors=(He,H)=>{H.errors!==void 0&&setErrorProperty(He,"errors",H.errors)},hasErrors=He=>He.errors!==void 0&&He.errors.length!==0,normalizeArgs=(He,H,Ve=He.message)=>{if(typeof H!="string")throw new TypeError(`newMessage must be a string: ${H}`);if(typeof Ve!="string")throw new TypeError(`currentMessage must be a string: ${Ve}`);return Ve},getStack$1=({name:He,stack:H},Ve,Ke)=>Ke!==""&&H.includes(Ke)?replaceMessage({name:He,stack:H,newMessage:Ve,currentMessage:Ke}):insertMessage(He,H,Ve),replaceMessage=({name:He,stack:H,newMessage:Ve,currentMessage:Ke})=>{const Xe=getReplacers(He,Ve,Ke),[Je,Qe]=Xe.find(([Ze])=>H.includes(Ze));return H.replace(Je,Qe)},getReplacers=(He,H,Ve)=>[[`${He}: ${Ve}`,`${He}: ${H}`],[`: ${Ve}`,`: ${H}`],[`
|
|
1843
1843
|
${Ve}`,`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "likec4",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://likec4.dev",
|
|
6
6
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
107
|
"@hpcc-js/wasm-graphviz": "1.7.0",
|
|
108
|
-
"@likec4/core": "~1.20.
|
|
108
|
+
"@likec4/core": "~1.20.1",
|
|
109
109
|
"@vitejs/plugin-react-swc": "3.7.2",
|
|
110
110
|
"playwright": "1.49.1",
|
|
111
111
|
"react": "~19.0.0",
|
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@fontsource/ibm-plex-sans": "^5.1.1",
|
|
118
|
-
"@likec4/diagram": "1.20.
|
|
119
|
-
"@likec4/generators": "1.20.
|
|
120
|
-
"@likec4/icons": "1.20.
|
|
121
|
-
"@likec4/language-server": "1.20.
|
|
122
|
-
"@likec4/layouts": "1.20.
|
|
123
|
-
"@likec4/log": "1.20.
|
|
124
|
-
"@likec4/tsconfig": "1.20.
|
|
118
|
+
"@likec4/diagram": "1.20.1",
|
|
119
|
+
"@likec4/generators": "1.20.1",
|
|
120
|
+
"@likec4/icons": "1.20.1",
|
|
121
|
+
"@likec4/language-server": "1.20.1",
|
|
122
|
+
"@likec4/layouts": "1.20.1",
|
|
123
|
+
"@likec4/log": "1.20.1",
|
|
124
|
+
"@likec4/tsconfig": "1.20.1",
|
|
125
125
|
"@mantine/core": "7.15.2",
|
|
126
126
|
"@mantine/hooks": "7.15.2",
|
|
127
127
|
"@mantine/spotlight": "7.15.2",
|
package/react/index.js
CHANGED
|
@@ -33930,7 +33930,7 @@ const classes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
33930
33930
|
setTimeout(() => {
|
|
33931
33931
|
var _a;
|
|
33932
33932
|
const item = (_a = viewport.current) == null ? void 0 : _a.querySelector(`[data-value="${subjectId}"]`);
|
|
33933
|
-
|
|
33933
|
+
item == null || item.scrollIntoView({ behavior: "instant", block: "nearest" });
|
|
33934
33934
|
}, 100);
|
|
33935
33935
|
},
|
|
33936
33936
|
children: [
|
|
@@ -37309,9 +37309,7 @@ function getNodeCenter(node2) {
|
|
|
37309
37309
|
};
|
|
37310
37310
|
}
|
|
37311
37311
|
function getNodeIntersectionFromCenterToPoint(intersectionNode, target, nodeMargin = 0) {
|
|
37312
|
-
const nodeCenter = getNodeCenter(intersectionNode), { width: width2, height } = getNodeDimensions(intersectionNode), v2 = new VectorImpl(target.x, target.y).sub(nodeCenter);
|
|
37313
|
-
console.log(intersectionNode);
|
|
37314
|
-
const xScale = (nodeMargin + (width2 || 0) / 2) / v2.x, yScale = (nodeMargin + (height || 0) / 2) / v2.y, scale2 = Math.min(Math.abs(xScale), Math.abs(yScale));
|
|
37312
|
+
const nodeCenter = getNodeCenter(intersectionNode), { width: width2, height } = getNodeDimensions(intersectionNode), v2 = new VectorImpl(target.x, target.y).sub(nodeCenter), xScale = (nodeMargin + (width2 || 0) / 2) / v2.x, yScale = (nodeMargin + (height || 0) / 2) / v2.y, scale2 = Math.min(Math.abs(xScale), Math.abs(yScale));
|
|
37315
37313
|
return vector(v2).mul(scale2).add(nodeCenter);
|
|
37316
37314
|
}
|
|
37317
37315
|
const curve = d3line().curve(curveCatmullRomOpen).x((d2) => d2.x).y((d2) => d2.y), RelationshipEdge = customEdge((props) => {
|