@unocss/language-server 66.7.2-beta.1 → 66.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
- import { n as searchForIcon, t as loadIcon } from "./loader-Cc0WuaWv.mjs";
1
+ import { n as __require$1, r as __toESM, t as __commonJSMin } from "./rolldown-runtime-C7HZzL1F.mjs";
2
+ import { n as searchForIcon, t as loadIcon } from "./loader-CPktMo5A.mjs";
2
3
  import { createRequire } from "node:module";
3
4
  import { BetterMap, LAYER_IMPORTS, clone, createGenerator, createNanoEvents, cssIdRE, defaultSplitRE, definePreset, escapeRegExp, escapeSelector, isAttributifySelector, isString, isValidSelector, mergeDeep, notNull, splitWithVariantGroupRE, symbols, toArray, uniq, warnOnce } from "@unocss/core";
4
5
  import { existsSync } from "node:fs";
@@ -11,29 +12,6 @@ import { createRecoveryConfigLoader } from "@unocss/config";
11
12
  import { colordx } from "@colordx/core";
12
13
  import parserCSS from "prettier/parser-postcss";
13
14
  import prettier from "prettier/standalone";
14
- //#region \0rolldown/runtime.js
15
- var __create = Object.create;
16
- var __defProp$1 = Object.defineProperty;
17
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
18
- var __getOwnPropNames = Object.getOwnPropertyNames;
19
- var __getProtoOf = Object.getPrototypeOf;
20
- var __hasOwnProp = Object.prototype.hasOwnProperty;
21
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
22
- var __copyProps = (to, from, except, desc) => {
23
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
24
- key = keys[i];
25
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp$1(to, key, {
26
- get: ((k) => from[k]).bind(null, key),
27
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
28
- });
29
- }
30
- return to;
31
- };
32
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp$1(target, "default", {
33
- value: mod,
34
- enumerable: true
35
- }) : target, mod));
36
- var __require$1 = /* @__PURE__ */ createRequire(import.meta.url);
37
15
  const SKIP_START_COMMENT = "@unocss-skip-start";
38
16
  const SKIP_END_COMMENT = "@unocss-skip-end";
39
17
  const SKIP_COMMENT_RE = new RegExp(`(\/\/\\s*?${SKIP_START_COMMENT}\\s*?|\\/\\*\\s*?${SKIP_START_COMMENT}\\s*?\\*\\/|<!--\\s*?${SKIP_START_COMMENT}\\s*?-->)[\\s\\S]*?(\/\/\\s*?${SKIP_END_COMMENT}\\s*?|\\/\\*\\s*?${SKIP_END_COMMENT}\\s*?\\*\\/|<!--\\s*?${SKIP_END_COMMENT}\\s*?-->)`, "g");
@@ -56,8 +34,8 @@ const defaultIdeMatchExclude = [SKIP_COMMENT_RE];
56
34
  var comma = ",".charCodeAt(0);
57
35
  var semicolon = ";".charCodeAt(0);
58
36
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
59
- var intToChar = new Uint8Array(64);
60
- var charToInt = new Uint8Array(128);
37
+ var intToChar = /* @__PURE__ */ new Uint8Array(64);
38
+ var charToInt = /* @__PURE__ */ new Uint8Array(128);
61
39
  for (let i = 0; i < chars.length; i++) {
62
40
  const c = chars.charCodeAt(i);
63
41
  intToChar[i] = c;
@@ -272,7 +250,7 @@ function getBtoa() {
272
250
  throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.");
273
251
  };
274
252
  }
275
- const btoa = /* @__PURE__ */ getBtoa();
253
+ const btoa = /*#__PURE__*/ getBtoa();
276
254
  var SourceMap = class {
277
255
  constructor(properties) {
278
256
  this.version = 3;
@@ -3628,7 +3606,7 @@ function encodeSvgForCss(svg) {
3628
3606
  return encodeSVGforURL(useSvg);
3629
3607
  }
3630
3608
  //#endregion
3631
- //#region ../../packages-presets/preset-icons/dist/core-oAhSf_2m.mjs
3609
+ //#region ../../packages-presets/preset-icons/dist/core-C6nnhdU8.mjs
3632
3610
  function getEnvFlags() {
3633
3611
  const isNode = typeof process !== "undefined" && process.stdout;
3634
3612
  return {
@@ -3792,6 +3770,7 @@ var collections_default = [
3792
3770
  "oi",
3793
3771
  "ooui",
3794
3772
  "openmoji",
3773
+ "osmic",
3795
3774
  "oui",
3796
3775
  "pajamas",
3797
3776
  "pepicons-pencil",
@@ -3813,6 +3792,7 @@ var collections_default = [
3813
3792
  "ri",
3814
3793
  "rivet-icons",
3815
3794
  "roentgen",
3795
+ "selfhst",
3816
3796
  "si-glyph",
3817
3797
  "si",
3818
3798
  "sidekickicons",
@@ -3986,7 +3966,7 @@ async function parseIconWithLoader(body, loader, options = {}, safeCollectionsNa
3986
3966
  let collection = "";
3987
3967
  let name = "";
3988
3968
  let svg;
3989
- const allCollections = new Set([
3969
+ const allCollections = /* @__PURE__ */ new Set([
3990
3970
  ...collections_default,
3991
3971
  ...safeCollectionsNames,
3992
3972
  ...Object.keys(options.customCollections || {})
@@ -4013,14 +3993,14 @@ async function parseIconWithLoader(body, loader, options = {}, safeCollectionsNa
4013
3993
  };
4014
3994
  }
4015
3995
  //#endregion
4016
- //#region ../../packages-presets/preset-icons/dist/cdn-CyYCPPDQ.mjs
3996
+ //#region ../../packages-presets/preset-icons/dist/cdn-BkWglzsE.mjs
4017
3997
  async function createCDNLoader(cdnBase) {
4018
- const { $fetch } = await import("./node-oThp98aD.mjs");
3998
+ const { $fetch } = await import("./node-B1VUK7ud.mjs");
4019
3999
  return createCDNFetchLoader($fetch, cdnBase);
4020
4000
  }
4021
4001
  //#endregion
4022
4002
  //#region ../../packages-presets/preset-icons/dist/index.mjs
4023
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
4003
+ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
4024
4004
  const _factory = /* @__PURE__ */ createPresetIcons(async (options) => {
4025
4005
  const { cdn } = options;
4026
4006
  const loaders = [];
@@ -4054,7 +4034,7 @@ const presetIcons = /* @__PURE__ */ definePreset((options = {}) => {
4054
4034
  });
4055
4035
  async function createNodeLoader() {
4056
4036
  try {
4057
- return await import("./node-loader-CKcohGec.mjs").then((i) => i?.loadNodeIcon);
4037
+ return await import("./node-loader-CHKwGD9C.mjs").then((i) => i?.loadNodeIcon);
4058
4038
  } catch {}
4059
4039
  try {
4060
4040
  return __require("@iconify/utils/lib/loader/node-loader.cjs").loadNodeIcon;
@@ -6349,7 +6329,7 @@ function createWebFontPreset(fetcher) {
6349
6329
  };
6350
6330
  }
6351
6331
  const userAgentWoff2 = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36";
6352
- const defaultFetch = async (url) => (await import("./node-oThp98aD.mjs")).$fetch(url, {
6332
+ const defaultFetch = async (url) => (await import("./node-B1VUK7ud.mjs")).$fetch(url, {
6353
6333
  headers: { "User-Agent": userAgentWoff2 },
6354
6334
  retry: 3
6355
6335
  });
@@ -6390,7 +6370,7 @@ function postprocessors(options) {
6390
6370
  return [important, varPrefix].flatMap((i) => i(options));
6391
6371
  }
6392
6372
  //#endregion
6393
- //#region ../../packages-presets/preset-wind4/dist/chunk-D1SwGrFN.mjs
6373
+ //#region ../../packages-presets/preset-wind4/dist/rolldown-runtime-BBjsoOtd.mjs
6394
6374
  var __defProp = Object.defineProperty;
6395
6375
  var __exportAll = (all, no_symbols) => {
6396
6376
  let target = {};
@@ -6402,7 +6382,7 @@ var __exportAll = (all, no_symbols) => {
6402
6382
  return target;
6403
6383
  };
6404
6384
  //#endregion
6405
- //#region ../../packages-presets/preset-wind4/dist/utils-CqAvZsCu.mjs
6385
+ //#region ../../packages-presets/preset-wind4/dist/utils-CsmJLHFN.mjs
6406
6386
  const PRESET_NAME = "@unocss/preset-wind4";
6407
6387
  const CONTROL_NO_NEGATIVE = "$$mini-no-negative";
6408
6388
  const SpecialColorKey = {
@@ -7108,7 +7088,7 @@ function propertyTracking(property, value) {
7108
7088
  if (!trackedProperties.has(property)) trackedProperties.set(property, value);
7109
7089
  }
7110
7090
  //#endregion
7111
- //#region ../../packages-presets/preset-wind4/dist/container-BwY4Hhe2.mjs
7091
+ //#region ../../packages-presets/preset-wind4/dist/container-B1EqiQ2J.mjs
7112
7092
  const containerParent = [[/^@container(?:\/(\w+))?(?:-(normal))?$/, ([, l, v]) => {
7113
7093
  return {
7114
7094
  "container-type": v ?? "inline-size",
@@ -8872,6 +8852,9 @@ const rings = [
8872
8852
  ["ring-inset", { "--un-ring-inset": "inset" }]
8873
8853
  ];
8874
8854
  const scrolls = [
8855
+ ["scrollbar-gutter-auto", { "scrollbar-gutter": "auto" }],
8856
+ ["scrollbar-gutter-stable", { "scrollbar-gutter": "stable" }],
8857
+ ["scrollbar-gutter-both", { "scrollbar-gutter": "stable both-edges" }],
8875
8858
  ...[
8876
8859
  "x",
8877
8860
  "y",
@@ -10162,7 +10145,7 @@ const rules = [
10162
10145
  //#region ../../packages-presets/preset-wind4/dist/shortcuts.mjs
10163
10146
  const shortcuts = [...containerShortcuts];
10164
10147
  //#endregion
10165
- //#region ../../packages-presets/preset-wind4/dist/colors-DSN24uxs.mjs
10148
+ //#region ../../packages-presets/preset-wind4/dist/colors-LrxJAP6O.mjs
10166
10149
  const colors = {
10167
10150
  black: "#000",
10168
10151
  white: "#fff",
@@ -11149,7 +11132,7 @@ const theme = {
11149
11132
  supports: { grid: "(display: grid)" }
11150
11133
  };
11151
11134
  //#endregion
11152
- //#region ../../packages-presets/preset-wind4/dist/variants-tMjH_ofD.mjs
11135
+ //#region ../../packages-presets/preset-wind4/dist/variants-DfNU9mXN.mjs
11153
11136
  const variantAria = {
11154
11137
  name: "aria",
11155
11138
  match(matcher, ctx) {
@@ -11839,7 +11822,7 @@ function property(options) {
11839
11822
  return {
11840
11823
  getCSS: () => {
11841
11824
  if (trackedProperties.size === 0) return;
11842
- const css = Array.from(trackedProperties.entries()).map(([property, value]) => `${property.replace(/^--un-/, `--${prefix}`)}:${value};`).join("");
11825
+ const css = Array.from(trackedProperties.entries()).sort(([a], [b]) => a.localeCompare(b)).map(([property, value]) => `${property.replace(/^--un-/, `--${prefix}`)}:${value};`).join("");
11843
11826
  return parentSelector === false ? `${selector}{${css}}` : `${parentSelector}{${selector}{${css}}}`;
11844
11827
  },
11845
11828
  layer: "properties"
@@ -12270,7 +12253,7 @@ const ExcludeCssVarKeys = [
12270
12253
  "containers"
12271
12254
  ];
12272
12255
  function getThemeVarsMap(theme, keys) {
12273
- const themeMap = new Map([["--spacing", theme.spacing.DEFAULT]]);
12256
+ const themeMap = /* @__PURE__ */ new Map([["--spacing", theme.spacing.DEFAULT]]);
12274
12257
  const normalizeValue = (value) => value.replace(alphaPlaceholdersRE, "1");
12275
12258
  function process(obj, prefix) {
12276
12259
  for (const key in obj) if (Array.isArray(obj[key])) themeMap.set(`--${prefix}-${key}`, normalizeValue(obj[key].join(",")));
@@ -12859,4 +12842,4 @@ async function getPrettiedMarkdown(uno, util, remToPxRatio) {
12859
12842
  return `\`\`\`css\n${(await getPrettiedCSS(uno, util, remToPxRatio)).prettified.trimEnd()}\n\`\`\``;
12860
12843
  }
12861
12844
  //#endregion
12862
- export { ContextManager, addRemToPxComment, clearDocumentCache, defaultSettings, getCSS, getColorString, getMatchedPositionsFromCode, getMatchedPositionsFromDoc, getPrettiedCSS, getPrettiedMarkdown, isSubdir, isVueWithPug, parseColorToRGBA, shouldProvideAutocomplete, __require$1 as t };
12845
+ export { ContextManager, addRemToPxComment, clearDocumentCache, defaultSettings, getCSS, getColorString, getMatchedPositionsFromCode, getMatchedPositionsFromDoc, getPrettiedCSS, getPrettiedMarkdown, isSubdir, isVueWithPug, parseColorToRGBA, shouldProvideAutocomplete };
@@ -4208,7 +4208,7 @@ var require_jiti = /* @__PURE__ */ require_server.__commonJSMin(((exports, modul
4208
4208
  function normalizeSlash(e) {
4209
4209
  return e.replace(/\\/g, "/");
4210
4210
  }
4211
- const rt = {}.hasOwnProperty, nt = /^([A-Z][a-z\d]*)+$/, at = new Set([
4211
+ const rt = {}.hasOwnProperty, nt = /^([A-Z][a-z\d]*)+$/, at = /* @__PURE__ */ new Set([
4212
4212
  "string",
4213
4213
  "function",
4214
4214
  "number",
@@ -4704,12 +4704,12 @@ var require_jiti = /* @__PURE__ */ require_server.__commonJSMin(((exports, modul
4704
4704
  function pathToFileURL(e) {
4705
4705
  return (0, Qe.pathToFileURL)(fileURLToPath(e)).toString();
4706
4706
  }
4707
- const Ut = new Set(["node", "import"]), Mt = [
4707
+ const Ut = /* @__PURE__ */ new Set(["node", "import"]), Mt = [
4708
4708
  ".mjs",
4709
4709
  ".cjs",
4710
4710
  ".js",
4711
4711
  ".json"
4712
- ], jt = new Set([
4712
+ ], jt = /* @__PURE__ */ new Set([
4713
4713
  "ERR_MODULE_NOT_FOUND",
4714
4714
  "ERR_UNSUPPORTED_DIR_IMPORT",
4715
4715
  "MODULE_NOT_FOUND",
@@ -4769,7 +4769,7 @@ var require_jiti = /* @__PURE__ */ require_server.__commonJSMin(((exports, modul
4769
4769
  if ("string" != typeof e) throw new TypeError("Expected a string");
4770
4770
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
4771
4771
  }
4772
- const $t = new Set([
4772
+ const $t = /* @__PURE__ */ new Set([
4773
4773
  "/",
4774
4774
  "\\",
4775
4775
  void 0
@@ -1,4 +1,4 @@
1
- import { o as qn, r as br } from "./node-4QtI8xnG.mjs";
1
+ import { o as qn, r as br } from "./node-BjQk7RHX.mjs";
2
2
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs
3
3
  var B = Object.defineProperty;
4
4
  var E = (u, a) => B(u, "name", {
@@ -1,4 +1,4 @@
1
- const require_node = require("./node-B8rcTbx-.cjs");
1
+ const require_node = require("./node-DHTQ2xqh.cjs");
2
2
  require("node:path");
3
3
  require("node:url");
4
4
  require("node:util");
@@ -1,6 +1,6 @@
1
- import { c as ye, n as Mn, t as Mi } from "./node-4QtI8xnG.mjs";
2
- import http from "node:http";
3
- import https from "node:https";
1
+ import { c as ye, n as Mn, t as Mi } from "./node-BjQk7RHX.mjs";
2
+ import Bt from "node:http";
3
+ import zs from "node:https";
4
4
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs
5
5
  const o = !!globalThis.process?.env?.FORCE_NODE_FETCH, r$1 = !o && globalThis.fetch || Mi;
6
6
  !o && globalThis.Blob;
@@ -452,8 +452,8 @@ function createFetch(globalOptions = {}) {
452
452
  function createNodeFetch() {
453
453
  if (!JSON.parse(process.env.FETCH_KEEP_ALIVE || "false")) return r$1;
454
454
  const agentOptions = { keepAlive: true };
455
- const httpAgent = new http.Agent(agentOptions);
456
- const httpsAgent = new https.Agent(agentOptions);
455
+ const httpAgent = new Bt.Agent(agentOptions);
456
+ const httpsAgent = new zs.Agent(agentOptions);
457
457
  const nodeFetchOptions = { agent(parsedURL) {
458
458
  return parsedURL.protocol === "http:" ? httpAgent : httpsAgent;
459
459
  } };
@@ -1,11 +1,11 @@
1
- import { t as __require } from "./index.mjs";
1
+ import { n as __require } from "./rolldown-runtime-C7HZzL1F.mjs";
2
2
  import { createReadStream, promises, statSync } from "node:fs";
3
3
  import { basename } from "node:path";
4
4
  import { deprecate, promisify, types } from "node:util";
5
5
  import me, { PassThrough, pipeline } from "node:stream";
6
6
  import { format as format$1 } from "node:url";
7
- import http from "node:http";
8
- import https from "node:https";
7
+ import Bt from "node:http";
8
+ import zs from "node:https";
9
9
  import st from "node:zlib";
10
10
  import { Buffer as Buffer$1 } from "node:buffer";
11
11
  import { isIP } from "node:net";
@@ -2926,7 +2926,7 @@ const mr = Symbol.toStringTag, wi = n((i) => typeof i == "object" && typeof i.ap
2926
2926
  for (const [p, h] of l) f.append(p, h);
2927
2927
  return f;
2928
2928
  }
2929
- const { toFormData: a } = await import("./multipart-parser-CsdWXQgI.mjs");
2929
+ const { toFormData: a } = await import("./multipart-parser-C_wfyiQL.mjs");
2930
2930
  return a(this.body, o);
2931
2931
  }
2932
2932
  async blob() {
@@ -2992,12 +2992,12 @@ const In = n((i, o) => {
2992
2992
  return o === null ? 0 : yr(o) ? o.size : Buffer$1.isBuffer(o) ? o.length : o && typeof o.getLengthSync == "function" && o.hasKnownLength && o.hasKnownLength() ? o.getLengthSync() : null;
2993
2993
  }, "getTotalBytes"), nl = n(async (i, { body: o }) => {
2994
2994
  o === null ? i.end() : await el(o, i);
2995
- }, "writeToStream"), gr = typeof http.validateHeaderName == "function" ? http.validateHeaderName : (i) => {
2995
+ }, "writeToStream"), gr = typeof Bt.validateHeaderName == "function" ? Bt.validateHeaderName : (i) => {
2996
2996
  if (!/^[\^`\-\w!#$%&'*+.|~]+$/.test(i)) {
2997
2997
  const o = /* @__PURE__ */ new TypeError(`Header name must be a valid HTTP token [${i}]`);
2998
2998
  throw Object.defineProperty(o, "code", { value: "ERR_INVALID_HTTP_TOKEN" }), o;
2999
2999
  }
3000
- }, Fn = typeof http.validateHeaderValue == "function" ? http.validateHeaderValue : (i, o) => {
3000
+ }, Fn = typeof Bt.validateHeaderValue == "function" ? Bt.validateHeaderValue : (i, o) => {
3001
3001
  if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(o)) {
3002
3002
  const a = /* @__PURE__ */ new TypeError(`Invalid character in header content ["${i}"]`);
3003
3003
  throw Object.defineProperty(a, "code", { value: "ERR_INVALID_CHAR" }), a;
@@ -3090,7 +3090,7 @@ function ol(i = []) {
3090
3090
  }));
3091
3091
  }
3092
3092
  n(ol, "fromRawHeaders");
3093
- const il = new Set([
3093
+ const il = /* @__PURE__ */ new Set([
3094
3094
  301,
3095
3095
  302,
3096
3096
  303,
@@ -3199,7 +3199,7 @@ function Ti(i, o = !1) {
3199
3199
  return i == null || (i = new URL(i), /^(about|blob|data):$/.test(i.protocol)) ? "no-referrer" : (i.username = "", i.password = "", i.hash = "", o && (i.pathname = "", i.search = ""), i);
3200
3200
  }
3201
3201
  n(Ti, "stripURLForUseAsAReferrer");
3202
- const Ci = new Set([
3202
+ const Ci = /* @__PURE__ */ new Set([
3203
3203
  "",
3204
3204
  "no-referrer",
3205
3205
  "no-referrer-when-downgrade",
@@ -3415,7 +3415,7 @@ const vi = n((i, o, a = "") => new ut([new Sr({
3415
3415
  };
3416
3416
  He = /* @__PURE__ */ new WeakMap(), Ve = /* @__PURE__ */ new WeakMap(), n(Er, "BlobDataItem");
3417
3417
  let Sr = Er;
3418
- const wl = new Set([
3418
+ const wl = /* @__PURE__ */ new Set([
3419
3419
  "data:",
3420
3420
  "http:",
3421
3421
  "https:"
@@ -3429,7 +3429,7 @@ async function Ai(i, o) {
3429
3429
  a(new le(g, { headers: { "Content-Type": g.typeFull } }));
3430
3430
  return;
3431
3431
  }
3432
- const S = (p.protocol === "https:" ? https : http).request, { signal: v } = l;
3432
+ const S = (p.protocol === "https:" ? zs : Bt).request, { signal: v } = l;
3433
3433
  let w = null;
3434
3434
  const A = n(() => {
3435
3435
  const g = new _r("The operation was aborted.");
@@ -1,5 +1,5 @@
1
1
  const require_server = require("./server.cjs");
2
- const require_node = require("./node-B8rcTbx-.cjs");
2
+ const require_node = require("./node-DHTQ2xqh.cjs");
3
3
  require("node:path");
4
4
  require("node:url");
5
5
  require("node:util");
@@ -2930,7 +2930,7 @@ const mr = Symbol.toStringTag, wi = n((i) => typeof i == "object" && typeof i.ap
2930
2930
  for (const [p, h] of l) f.append(p, h);
2931
2931
  return f;
2932
2932
  }
2933
- const { toFormData: a } = await Promise.resolve().then(() => require("./multipart-parser-Bpu87U00.cjs"));
2933
+ const { toFormData: a } = await Promise.resolve().then(() => require("./multipart-parser-d4Kawhxd.cjs"));
2934
2934
  return a(this.body, o);
2935
2935
  }
2936
2936
  async blob() {
@@ -3094,7 +3094,7 @@ function ol(i = []) {
3094
3094
  }));
3095
3095
  }
3096
3096
  n(ol, "fromRawHeaders");
3097
- const il = new Set([
3097
+ const il = /* @__PURE__ */ new Set([
3098
3098
  301,
3099
3099
  302,
3100
3100
  303,
@@ -3203,7 +3203,7 @@ function Ti(i, o = !1) {
3203
3203
  return i == null || (i = new URL(i), /^(about|blob|data):$/.test(i.protocol)) ? "no-referrer" : (i.username = "", i.password = "", i.hash = "", o && (i.pathname = "", i.search = ""), i);
3204
3204
  }
3205
3205
  n(Ti, "stripURLForUseAsAReferrer");
3206
- const Ci = new Set([
3206
+ const Ci = /* @__PURE__ */ new Set([
3207
3207
  "",
3208
3208
  "no-referrer",
3209
3209
  "no-referrer-when-downgrade",
@@ -3419,7 +3419,7 @@ const vi = n((i, o, a = "") => new ut([new Sr({
3419
3419
  };
3420
3420
  He = /* @__PURE__ */ new WeakMap(), Ve = /* @__PURE__ */ new WeakMap(), n(Er, "BlobDataItem");
3421
3421
  let Sr = Er;
3422
- const wl = new Set([
3422
+ const wl = /* @__PURE__ */ new Set([
3423
3423
  "data:",
3424
3424
  "http:",
3425
3425
  "https:"
@@ -857,7 +857,7 @@ async function tryInstallPkg(name, autoInstall) {
857
857
  */
858
858
  const own$1 = {}.hasOwnProperty;
859
859
  const classRegExp = /^([A-Z][a-z\d]*)+$/;
860
- const kTypes = new Set([
860
+ const kTypes = /* @__PURE__ */ new Set([
861
861
  "string",
862
862
  "function",
863
863
  "number",
@@ -1,4 +1,4 @@
1
- import { n as searchForIcon, r as getPossibleIconNames, t as loadIcon } from "./loader-Cc0WuaWv.mjs";
1
+ import { n as searchForIcon, r as getPossibleIconNames, t as loadIcon } from "./loader-CPktMo5A.mjs";
2
2
  import { builtinModules, createRequire } from "node:module";
3
3
  import fs, { existsSync, realpathSync, statSync } from "node:fs";
4
4
  import fs$1 from "node:fs/promises";
@@ -850,7 +850,7 @@ async function tryInstallPkg(name, autoInstall) {
850
850
  */
851
851
  const own$1 = {}.hasOwnProperty;
852
852
  const classRegExp = /^([A-Z][a-z\d]*)+$/;
853
- const kTypes = new Set([
853
+ const kTypes = /* @__PURE__ */ new Set([
854
854
  "string",
855
855
  "function",
856
856
  "number",
@@ -138,7 +138,7 @@ function requirePicocolors() {
138
138
  picocolors.exports.createColors = createColors;
139
139
  return picocolors.exports;
140
140
  }
141
- const e = /* @__PURE__ */ getDefaultExportFromCjs(/* @__PURE__ */ requirePicocolors());
141
+ const e = /*@__PURE__*/ getDefaultExportFromCjs(/* @__PURE__ */ requirePicocolors());
142
142
  function J({ onlyFirst: t = false } = {}) {
143
143
  const F = ["[\\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("|");
144
144
  return new RegExp(F, t ? void 0 : "g");
@@ -335,7 +335,7 @@ function sD() {
335
335
  }
336
336
  }), r;
337
337
  }
338
- const iD = sD(), v = new Set(["\x1B", "›"]), CD = 39, w$1 = "\x07", W$1 = "[", rD = "]", R = "m", y = `${rD}8;;`, V$1 = (t) => `${v.values().next().value}${W$1}${t}${R}`, z = (t) => `${v.values().next().value}${y}${t}${w$1}`, ED = (t) => t.split(" ").map((u) => A$1(u)), _ = (t, u, F) => {
338
+ const iD = sD(), v = /* @__PURE__ */ new Set(["\x1B", "›"]), CD = 39, w$1 = "\x07", W$1 = "[", rD = "]", R = "m", y = `${rD}8;;`, V$1 = (t) => `${v.values().next().value}${W$1}${t}${R}`, z = (t) => `${v.values().next().value}${y}${t}${w$1}`, ED = (t) => t.split(" ").map((u) => A$1(u)), _ = (t, u, F) => {
339
339
  const e = [...u];
340
340
  let s = false, i = false, D = A$1(T$1(t[t.length - 1]));
341
341
  for (const [C, o] of e.entries()) {
@@ -403,7 +403,7 @@ function G(t, u, F) {
403
403
  `);
404
404
  }
405
405
  const c = {
406
- actions: new Set([
406
+ actions: /* @__PURE__ */ new Set([
407
407
  "up",
408
408
  "down",
409
409
  "left",
@@ -412,7 +412,7 @@ const c = {
412
412
  "enter",
413
413
  "cancel"
414
414
  ]),
415
- aliases: new Map([
415
+ aliases: /* @__PURE__ */ new Map([
416
416
  ["k", "up"],
417
417
  ["j", "down"],
418
418
  ["h", "left"],
@@ -0,0 +1,26 @@
1
+ import { createRequire } from "node:module";
2
+ //#region \0rolldown/runtime.js
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
12
+ key = keys[i];
13
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
21
+ value: mod,
22
+ enumerable: true
23
+ }) : target, mod));
24
+ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
25
+ //#endregion
26
+ export { __require as n, __toESM as r, __commonJSMin as t };