bejamas 0.4.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,8 @@
1
1
  import { createRequire } from "node:module";
2
2
  import { createRequire as createRequire$1 } from "module";
3
- import path from "node:path";
4
3
  import { z } from "zod";
5
- import path$1, { dirname, extname as extname$1, join as join$1, posix } from "path";
4
+ import path, { dirname, extname, join, posix } from "path";
6
5
  import { existsSync } from "fs";
7
- import { readFileSync } from "node:fs";
8
- import { fileURLToPath } from "node:url";
9
6
  import fs from "fs-extra";
10
7
  import fg from "fast-glob";
11
8
  import { cyan, green, red, yellow } from "kleur/colors";
@@ -15,31 +12,33 @@ import ora from "ora";
15
12
  import { readdir } from "fs/promises";
16
13
  import { Project, SyntaxKind } from "ts-morph";
17
14
 
18
- //#region rolldown:runtime
15
+ //#region \0rolldown/runtime.js
19
16
  var __create = Object.create;
20
17
  var __defProp = Object.defineProperty;
21
18
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
22
19
  var __getOwnPropNames = Object.getOwnPropertyNames;
23
20
  var __getProtoOf = Object.getPrototypeOf;
24
21
  var __hasOwnProp = Object.prototype.hasOwnProperty;
25
- var __commonJS = (cb, mod) => function() {
26
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
27
- };
22
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
28
23
  var __copyProps = (to, from, except, desc) => {
29
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
30
- key = keys[i];
31
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
32
- get: ((k) => from[k]).bind(null, key),
33
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
34
- });
24
+ if (from && typeof from === "object" || typeof from === "function") {
25
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
26
+ key = keys[i];
27
+ if (!__hasOwnProp.call(to, key) && key !== except) {
28
+ __defProp(to, key, {
29
+ get: ((k) => from[k]).bind(null, key),
30
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
31
+ });
32
+ }
33
+ }
35
34
  }
36
35
  return to;
37
36
  };
38
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
39
38
  value: mod,
40
39
  enumerable: true
41
40
  }) : target, mod));
42
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
41
+ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
43
42
 
44
43
  //#endregion
45
44
  //#region ../registry/src/catalog/themes.ts
@@ -1413,7 +1412,8 @@ const FONT_DEFINITIONS = [
1413
1412
  provider: "google",
1414
1413
  variable: "--font-sans",
1415
1414
  subsets: ["latin"],
1416
- import: "Geist"
1415
+ import: "Geist",
1416
+ weight: "100 900"
1417
1417
  },
1418
1418
  {
1419
1419
  name: "inter",
@@ -1422,7 +1422,8 @@ const FONT_DEFINITIONS = [
1422
1422
  provider: "google",
1423
1423
  variable: "--font-sans",
1424
1424
  subsets: ["latin"],
1425
- import: "Inter"
1425
+ import: "Inter",
1426
+ weight: "100 900"
1426
1427
  },
1427
1428
  {
1428
1429
  name: "noto-sans",
@@ -1431,7 +1432,8 @@ const FONT_DEFINITIONS = [
1431
1432
  provider: "google",
1432
1433
  variable: "--font-sans",
1433
1434
  subsets: ["latin"],
1434
- import: "Noto_Sans"
1435
+ import: "Noto_Sans",
1436
+ weight: "100 900"
1435
1437
  },
1436
1438
  {
1437
1439
  name: "nunito-sans",
@@ -1440,7 +1442,8 @@ const FONT_DEFINITIONS = [
1440
1442
  provider: "google",
1441
1443
  variable: "--font-sans",
1442
1444
  subsets: ["latin"],
1443
- import: "Nunito_Sans"
1445
+ import: "Nunito_Sans",
1446
+ weight: "200 1000"
1444
1447
  },
1445
1448
  {
1446
1449
  name: "figtree",
@@ -1449,7 +1452,8 @@ const FONT_DEFINITIONS = [
1449
1452
  provider: "google",
1450
1453
  variable: "--font-sans",
1451
1454
  subsets: ["latin"],
1452
- import: "Figtree"
1455
+ import: "Figtree",
1456
+ weight: "300 900"
1453
1457
  },
1454
1458
  {
1455
1459
  name: "roboto",
@@ -1458,7 +1462,8 @@ const FONT_DEFINITIONS = [
1458
1462
  provider: "google",
1459
1463
  variable: "--font-sans",
1460
1464
  subsets: ["latin"],
1461
- import: "Roboto"
1465
+ import: "Roboto",
1466
+ weight: "100 900"
1462
1467
  },
1463
1468
  {
1464
1469
  name: "raleway",
@@ -1467,7 +1472,8 @@ const FONT_DEFINITIONS = [
1467
1472
  provider: "google",
1468
1473
  variable: "--font-sans",
1469
1474
  subsets: ["latin"],
1470
- import: "Raleway"
1475
+ import: "Raleway",
1476
+ weight: "100 900"
1471
1477
  },
1472
1478
  {
1473
1479
  name: "dm-sans",
@@ -1476,7 +1482,8 @@ const FONT_DEFINITIONS = [
1476
1482
  provider: "google",
1477
1483
  variable: "--font-sans",
1478
1484
  subsets: ["latin"],
1479
- import: "DM_Sans"
1485
+ import: "DM_Sans",
1486
+ weight: "100 1000"
1480
1487
  },
1481
1488
  {
1482
1489
  name: "public-sans",
@@ -1485,7 +1492,8 @@ const FONT_DEFINITIONS = [
1485
1492
  provider: "google",
1486
1493
  variable: "--font-sans",
1487
1494
  subsets: ["latin"],
1488
- import: "Public_Sans"
1495
+ import: "Public_Sans",
1496
+ weight: "100 900"
1489
1497
  },
1490
1498
  {
1491
1499
  name: "outfit",
@@ -1494,7 +1502,8 @@ const FONT_DEFINITIONS = [
1494
1502
  provider: "google",
1495
1503
  variable: "--font-sans",
1496
1504
  subsets: ["latin"],
1497
- import: "Outfit"
1505
+ import: "Outfit",
1506
+ weight: "100 900"
1498
1507
  },
1499
1508
  {
1500
1509
  name: "oxanium",
@@ -1503,7 +1512,8 @@ const FONT_DEFINITIONS = [
1503
1512
  provider: "google",
1504
1513
  variable: "--font-sans",
1505
1514
  subsets: ["latin"],
1506
- import: "Oxanium"
1515
+ import: "Oxanium",
1516
+ weight: "200 800"
1507
1517
  },
1508
1518
  {
1509
1519
  name: "manrope",
@@ -1512,7 +1522,8 @@ const FONT_DEFINITIONS = [
1512
1522
  provider: "google",
1513
1523
  variable: "--font-sans",
1514
1524
  subsets: ["latin"],
1515
- import: "Manrope"
1525
+ import: "Manrope",
1526
+ weight: "200 800"
1516
1527
  },
1517
1528
  {
1518
1529
  name: "space-grotesk",
@@ -1521,7 +1532,8 @@ const FONT_DEFINITIONS = [
1521
1532
  provider: "google",
1522
1533
  variable: "--font-sans",
1523
1534
  subsets: ["latin"],
1524
- import: "Space_Grotesk"
1535
+ import: "Space_Grotesk",
1536
+ weight: "300 700"
1525
1537
  },
1526
1538
  {
1527
1539
  name: "montserrat",
@@ -1530,7 +1542,8 @@ const FONT_DEFINITIONS = [
1530
1542
  provider: "google",
1531
1543
  variable: "--font-sans",
1532
1544
  subsets: ["latin"],
1533
- import: "Montserrat"
1545
+ import: "Montserrat",
1546
+ weight: "100 900"
1534
1547
  },
1535
1548
  {
1536
1549
  name: "ibm-plex-sans",
@@ -1539,7 +1552,8 @@ const FONT_DEFINITIONS = [
1539
1552
  provider: "google",
1540
1553
  variable: "--font-sans",
1541
1554
  subsets: ["latin"],
1542
- import: "IBM_Plex_Sans"
1555
+ import: "IBM_Plex_Sans",
1556
+ weight: "100 700"
1543
1557
  },
1544
1558
  {
1545
1559
  name: "source-sans-3",
@@ -1548,7 +1562,8 @@ const FONT_DEFINITIONS = [
1548
1562
  provider: "google",
1549
1563
  variable: "--font-sans",
1550
1564
  subsets: ["latin"],
1551
- import: "Source_Sans_3"
1565
+ import: "Source_Sans_3",
1566
+ weight: "200 900"
1552
1567
  },
1553
1568
  {
1554
1569
  name: "instrument-sans",
@@ -1557,7 +1572,8 @@ const FONT_DEFINITIONS = [
1557
1572
  provider: "google",
1558
1573
  variable: "--font-sans",
1559
1574
  subsets: ["latin"],
1560
- import: "Instrument_Sans"
1575
+ import: "Instrument_Sans",
1576
+ weight: "400 700"
1561
1577
  },
1562
1578
  {
1563
1579
  name: "jetbrains-mono",
@@ -1566,7 +1582,8 @@ const FONT_DEFINITIONS = [
1566
1582
  provider: "google",
1567
1583
  variable: "--font-mono",
1568
1584
  subsets: ["latin"],
1569
- import: "JetBrains_Mono"
1585
+ import: "JetBrains_Mono",
1586
+ weight: "100 800"
1570
1587
  },
1571
1588
  {
1572
1589
  name: "geist-mono",
@@ -1575,7 +1592,8 @@ const FONT_DEFINITIONS = [
1575
1592
  provider: "google",
1576
1593
  variable: "--font-mono",
1577
1594
  subsets: ["latin"],
1578
- import: "Geist_Mono"
1595
+ import: "Geist_Mono",
1596
+ weight: "100 900"
1579
1597
  },
1580
1598
  {
1581
1599
  name: "noto-serif",
@@ -1584,7 +1602,8 @@ const FONT_DEFINITIONS = [
1584
1602
  provider: "google",
1585
1603
  variable: "--font-serif",
1586
1604
  subsets: ["latin"],
1587
- import: "Noto_Serif"
1605
+ import: "Noto_Serif",
1606
+ weight: "100 900"
1588
1607
  },
1589
1608
  {
1590
1609
  name: "roboto-slab",
@@ -1593,7 +1612,8 @@ const FONT_DEFINITIONS = [
1593
1612
  provider: "google",
1594
1613
  variable: "--font-serif",
1595
1614
  subsets: ["latin"],
1596
- import: "Roboto_Slab"
1615
+ import: "Roboto_Slab",
1616
+ weight: "100 900"
1597
1617
  },
1598
1618
  {
1599
1619
  name: "merriweather",
@@ -1602,7 +1622,8 @@ const FONT_DEFINITIONS = [
1602
1622
  provider: "google",
1603
1623
  variable: "--font-serif",
1604
1624
  subsets: ["latin"],
1605
- import: "Merriweather"
1625
+ import: "Merriweather",
1626
+ weight: "300 900"
1606
1627
  },
1607
1628
  {
1608
1629
  name: "lora",
@@ -1611,7 +1632,8 @@ const FONT_DEFINITIONS = [
1611
1632
  provider: "google",
1612
1633
  variable: "--font-serif",
1613
1634
  subsets: ["latin"],
1614
- import: "Lora"
1635
+ import: "Lora",
1636
+ weight: "400 700"
1615
1637
  },
1616
1638
  {
1617
1639
  name: "playfair-display",
@@ -1620,7 +1642,8 @@ const FONT_DEFINITIONS = [
1620
1642
  provider: "google",
1621
1643
  variable: "--font-serif",
1622
1644
  subsets: ["latin"],
1623
- import: "Playfair_Display"
1645
+ import: "Playfair_Display",
1646
+ weight: "400 900"
1624
1647
  }
1625
1648
  ];
1626
1649
  function createFontItem(definition, role) {
@@ -1633,7 +1656,8 @@ function createFontItem(definition, role) {
1633
1656
  provider: definition.provider,
1634
1657
  variable: role === "body" ? definition.variable : "--font-heading",
1635
1658
  subsets: [...definition.subsets],
1636
- import: definition.import
1659
+ import: definition.import,
1660
+ weight: [definition.weight]
1637
1661
  }
1638
1662
  };
1639
1663
  }
@@ -1991,7 +2015,7 @@ const PRESET_ENCODERS = [
1991
2015
  PRESET_VERSION_B_LEGACY,
1992
2016
  PRESET_VERSION_C
1993
2017
  ];
1994
- const PRESET_VERSION_MAP = new Map([["a", PRESET_VERSION_A], ["c", PRESET_VERSION_C]]);
2018
+ const PRESET_VERSION_MAP = /* @__PURE__ */ new Map([["a", PRESET_VERSION_A], ["c", PRESET_VERSION_C]]);
1995
2019
  const VALID_VERSIONS = [
1996
2020
  "a",
1997
2021
  "b",
@@ -2107,8 +2131,8 @@ function decodePreset(code) {
2107
2131
  const version = code[0];
2108
2132
  if (!VALID_VERSIONS.includes(version)) return null;
2109
2133
  if (version === "b") {
2110
- const decoded$1 = decodePresetWithVersion(code, shouldDecodeLegacyBejamasB(code) ? PRESET_VERSION_B_LEGACY : PRESET_VERSION_B_SHARED);
2111
- return decoded$1 ? normalizeDecodedPreset(decoded$1) : null;
2134
+ const decoded = decodePresetWithVersion(code, shouldDecodeLegacyBejamasB(code) ? PRESET_VERSION_B_LEGACY : PRESET_VERSION_B_SHARED);
2135
+ return decoded ? normalizeDecodedPreset(decoded) : null;
2112
2136
  }
2113
2137
  const presetVersion = PRESET_VERSION_MAP.get(version);
2114
2138
  if (!presetVersion) return null;
@@ -2240,7 +2264,7 @@ function getFontPackageName(name) {
2240
2264
  return `@fontsource-variable/${name}`;
2241
2265
  }
2242
2266
  function getDocumentLanguage(config) {
2243
- return config.rtl ? config.rtlLanguage : DEFAULT_LANGUAGE;
2267
+ return config.rtl ? config.rtlLanguage : "en";
2244
2268
  }
2245
2269
  function getDocumentDirection(config) {
2246
2270
  return config.rtl ? "rtl" : "ltr";
@@ -2267,6 +2291,7 @@ const SEMANTIC_ICON_NAMES = [
2267
2291
  "chevron-down",
2268
2292
  "chevron-right",
2269
2293
  "chevron-up",
2294
+ "chevrons-right",
2270
2295
  "menu",
2271
2296
  "plus",
2272
2297
  "minus",
@@ -2290,7 +2315,11 @@ const SEMANTIC_ICON_NAMES = [
2290
2315
  "globe",
2291
2316
  "credit-card",
2292
2317
  "x",
2293
- "loader-circle"
2318
+ "loader-circle",
2319
+ "sun",
2320
+ "moon",
2321
+ "info",
2322
+ "alert-triangle"
2294
2323
  ];
2295
2324
  const ICON_DATA = {
2296
2325
  lucide: {
@@ -2314,6 +2343,11 @@ const ICON_DATA = {
2314
2343
  width: 24,
2315
2344
  height: 24
2316
2345
  },
2346
+ "chevrons-right": {
2347
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 17l5-5l-5-5m7 10l5-5l-5-5\"/>",
2348
+ width: 24,
2349
+ height: 24
2350
+ },
2317
2351
  "menu": {
2318
2352
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"/>",
2319
2353
  width: 24,
@@ -2433,6 +2467,26 @@ const ICON_DATA = {
2433
2467
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 12a9 9 0 1 1-6.219-8.56\"/>",
2434
2468
  width: 24,
2435
2469
  height: 24
2470
+ },
2471
+ "sun": {
2472
+ body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"/></g>",
2473
+ width: 24,
2474
+ height: 24
2475
+ },
2476
+ "moon": {
2477
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"/>",
2478
+ width: 24,
2479
+ height: 24
2480
+ },
2481
+ "info": {
2482
+ body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 16v-4m0-4h.01\"/></g>",
2483
+ width: 24,
2484
+ height: 24
2485
+ },
2486
+ "alert-triangle": {
2487
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\"/>",
2488
+ width: 24,
2489
+ height: 24
2436
2490
  }
2437
2491
  },
2438
2492
  hugeicons: {
@@ -2456,6 +2510,11 @@ const ICON_DATA = {
2456
2510
  width: 24,
2457
2511
  height: 24
2458
2512
  },
2513
+ "chevrons-right": {
2514
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12.5 18s6-4.419 6-6s-6-6-6-6m-7 12s6-4.419 6-6s-6-6-6-6\"/>",
2515
+ width: 24,
2516
+ height: 24
2517
+ },
2459
2518
  "menu": {
2460
2519
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4 5h12M4 12h16M4 19h8\"/>",
2461
2520
  width: 24,
@@ -2575,6 +2634,26 @@ const ICON_DATA = {
2575
2634
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" d=\"M12 3v3m0 12v3m9-9h-3M6 12H3m15.364-6.363l-2.122 2.121m-8.484 8.484l-2.121 2.121m12.727.001l-2.122-2.122M7.758 7.758L5.637 5.637\"/>",
2576
2635
  width: 24,
2577
2636
  height: 24
2637
+ },
2638
+ "sun": {
2639
+ body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"><path d=\"M17 12a5 5 0 1 1-10 0a5 5 0 0 1 10 0Z\"/><path stroke-linecap=\"round\" d=\"M12 2v1.5m0 17V22m7.07-2.929l-1.06-1.06M5.99 5.989L4.928 4.93M22 12h-1.5m-17 0H2m17.071-7.071l-1.06 1.06M5.99 18.011l-1.06 1.06\"/></g>",
2640
+ width: 24,
2641
+ height: 24
2642
+ },
2643
+ "moon": {
2644
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M21.5 14.078A8.557 8.557 0 0 1 9.922 2.5C5.668 3.497 2.5 7.315 2.5 11.873a9.627 9.627 0 0 0 9.627 9.627c4.558 0 8.376-3.168 9.373-7.422\"/>",
2645
+ width: 24,
2646
+ height: 24
2647
+ },
2648
+ "info": {
2649
+ body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 16v-4m.125-3.75H12m.25 0a.25.25 0 1 0-.5 0a.25.25 0 0 0 .5 0\"/></g>",
2650
+ width: 24,
2651
+ height: 24
2652
+ },
2653
+ "alert-triangle": {
2654
+ body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><path d=\"M13.925 21h-3.85c-4.63 0-6.945 0-7.799-1.506c-.853-1.506.331-3.503 2.7-7.495L6.9 8.753C9.176 4.918 10.313 3 12 3s2.824 1.918 5.1 5.753L19.023 12c2.369 3.992 3.553 5.989 2.7 7.495C20.87 21 18.555 21 13.924 21M12 9v4\"/><path d=\"M12.125 16.75H12m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0\"/></g>",
2655
+ width: 24,
2656
+ height: 24
2578
2657
  }
2579
2658
  },
2580
2659
  tabler: {
@@ -2598,6 +2677,11 @@ const ICON_DATA = {
2598
2677
  width: 24,
2599
2678
  height: 24
2600
2679
  },
2680
+ "chevrons-right": {
2681
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 7l5 5l-5 5m6-10l5 5l-5 5\"/>",
2682
+ width: 24,
2683
+ height: 24
2684
+ },
2601
2685
  "menu": {
2602
2686
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6h16M4 12h16M4 18h16\"/>",
2603
2687
  width: 24,
@@ -2717,6 +2801,26 @@ const ICON_DATA = {
2717
2801
  body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3a9 9 0 1 0 9 9\"/>",
2718
2802
  width: 24,
2719
2803
  height: 24
2804
+ },
2805
+ "sun": {
2806
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0m-5 0h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7\"/>",
2807
+ width: 24,
2808
+ height: 24
2809
+ },
2810
+ "moon": {
2811
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3h.393a7.5 7.5 0 0 0 7.92 12.446A9 9 0 1 1 12 2.992z\"/>",
2812
+ width: 24,
2813
+ height: 24
2814
+ },
2815
+ "info": {
2816
+ body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>",
2817
+ width: 24,
2818
+ height: 24
2819
+ },
2820
+ "alert-triangle": {
2821
+ body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 9v4m-1.637-9.409L2.257 17.125a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636-2.87L13.637 3.59a1.914 1.914 0 0 0-3.274 0M12 16h.01\"/>",
2822
+ width: 24,
2823
+ height: 24
2720
2824
  }
2721
2825
  },
2722
2826
  phosphor: {
@@ -2740,6 +2844,11 @@ const ICON_DATA = {
2740
2844
  width: 256,
2741
2845
  height: 256
2742
2846
  },
2847
+ "chevrons-right": {
2848
+ body: "<path fill=\"currentColor\" d=\"m141.66 133.66l-80 80a8 8 0 0 1-11.32-11.32L124.69 128L50.34 53.66a8 8 0 0 1 11.32-11.32l80 80a8 8 0 0 1 0 11.32m80-11.32l-80-80a8 8 0 0 0-11.32 11.32L204.69 128l-74.35 74.34a8 8 0 0 0 11.32 11.32l80-80a8 8 0 0 0 0-11.32\"/>",
2849
+ width: 256,
2850
+ height: 256
2851
+ },
2743
2852
  "menu": {
2744
2853
  body: "<path fill=\"currentColor\" d=\"M224 128a8 8 0 0 1-8 8H40a8 8 0 0 1 0-16h176a8 8 0 0 1 8 8M40 72h176a8 8 0 0 0 0-16H40a8 8 0 0 0 0 16m176 112H40a8 8 0 0 0 0 16h176a8 8 0 0 0 0-16\"/>",
2745
2854
  width: 256,
@@ -2859,6 +2968,26 @@ const ICON_DATA = {
2859
2968
  body: "<path fill=\"currentColor\" d=\"M136 32v32a8 8 0 0 1-16 0V32a8 8 0 0 1 16 0m37.25 58.75a8 8 0 0 0 5.66-2.35l22.63-22.62a8 8 0 0 0-11.32-11.32L167.6 77.09a8 8 0 0 0 5.65 13.66M224 120h-32a8 8 0 0 0 0 16h32a8 8 0 0 0 0-16m-45.09 47.6a8 8 0 0 0-11.31 11.31l22.62 22.63a8 8 0 0 0 11.32-11.32ZM128 184a8 8 0 0 0-8 8v32a8 8 0 0 0 16 0v-32a8 8 0 0 0-8-8m-50.91-16.4l-22.63 22.62a8 8 0 0 0 11.32 11.32l22.62-22.63a8 8 0 0 0-11.31-11.31M72 128a8 8 0 0 0-8-8H32a8 8 0 0 0 0 16h32a8 8 0 0 0 8-8m-6.22-73.54a8 8 0 0 0-11.32 11.32L77.09 88.4A8 8 0 0 0 88.4 77.09Z\"/>",
2860
2969
  width: 256,
2861
2970
  height: 256
2971
+ },
2972
+ "sun": {
2973
+ body: "<path fill=\"currentColor\" d=\"M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0m72 88a64 64 0 1 1-64-64a64.07 64.07 0 0 1 64 64m-16 0a48 48 0 1 0-48 48a48.05 48.05 0 0 0 48-48M58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68l-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32M192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72m5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8m80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8m112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16\"/>",
2974
+ width: 256,
2975
+ height: 256
2976
+ },
2977
+ "moon": {
2978
+ body: "<path fill=\"currentColor\" d=\"M233.54 142.23a8 8 0 0 0-8-2a88.08 88.08 0 0 1-109.8-109.8a8 8 0 0 0-10-10a104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.1 103.1 0 0 0 62.52-20.88a104.84 104.84 0 0 0 37-52.91a8 8 0 0 0-1.98-7.98m-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104a106 106 0 0 0 14.92-1.06a89 89 0 0 1-26.02 31.4\"/>",
2979
+ width: 256,
2980
+ height: 256
2981
+ },
2982
+ "info": {
2983
+ body: "<path fill=\"currentColor\" d=\"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88m16-40a8 8 0 0 1-8 8a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 8 8m-32-92a12 12 0 1 1 12 12a12 12 0 0 1-12-12\"/>",
2984
+ width: 256,
2985
+ height: 256
2986
+ },
2987
+ "alert-triangle": {
2988
+ body: "<path fill=\"currentColor\" d=\"M236.8 188.09L149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19a23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2a7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12\"/>",
2989
+ width: 256,
2990
+ height: 256
2862
2991
  }
2863
2992
  },
2864
2993
  remixicon: {
@@ -2882,6 +3011,11 @@ const ICON_DATA = {
2882
3011
  width: 24,
2883
3012
  height: 24
2884
3013
  },
3014
+ "chevrons-right": {
3015
+ body: "<path fill=\"currentColor\" d=\"m19.164 12l-6.207-6.207l-1.414 1.414L16.336 12l-4.793 4.793l1.414 1.414zm-5.65 0L7.307 5.793L5.893 7.207L10.686 12l-4.793 4.793l1.414 1.414z\"/>",
3016
+ width: 24,
3017
+ height: 24
3018
+ },
2885
3019
  "menu": {
2886
3020
  body: "<path fill=\"currentColor\" d=\"M3 4h18v2H3zm0 7h12v2H3zm0 7h18v2H3z\"/>",
2887
3021
  width: 24,
@@ -2973,7 +3107,7 @@ const ICON_DATA = {
2973
3107
  height: 24
2974
3108
  },
2975
3109
  "ellipsis": {
2976
- body: "<path fill=\"currentColor\" d=\"M12 3c-.825 0-1.5.675-1.5 1.5S11.175 6 12 6s1.5-.675 1.5-1.5S12.825 3 12 3m0 15c-.825 0-1.5.675-1.5 1.5S11.175 21 12 21s1.5-.675 1.5-1.5S12.825 18 12 18m0-7.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5s1.5-.675 1.5-1.5s-.675-1.5-1.5-1.5\"/>",
3110
+ body: "<path fill=\"currentColor\" d=\"M4.5 10.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S6 12.825 6 12s-.675-1.5-1.5-1.5m15 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S21 12.825 21 12s-.675-1.5-1.5-1.5m-7.5 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5s1.5-.675 1.5-1.5s-.675-1.5-1.5-1.5\"/>",
2977
3111
  width: 24,
2978
3112
  height: 24
2979
3113
  },
@@ -3001,6 +3135,26 @@ const ICON_DATA = {
3001
3135
  body: "<path fill=\"currentColor\" d=\"M12 2a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0V3a1 1 0 0 1 1-1m0 15a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0v-3a1 1 0 0 1 1-1m10-5a1 1 0 0 1-1 1h-3a1 1 0 1 1 0-2h3a1 1 0 0 1 1 1M7 12a1 1 0 0 1-1 1H3a1 1 0 1 1 0-2h3a1 1 0 0 1 1 1m12.071 7.071a1 1 0 0 1-1.414 0l-2.121-2.121a1 1 0 0 1 1.414-1.414l2.121 2.12a1 1 0 0 1 0 1.415M8.464 8.464a1 1 0 0 1-1.414 0l-2.12-2.12a1 1 0 0 1 1.414-1.415l2.12 2.121a1 1 0 0 1 0 1.414M4.93 19.071a1 1 0 0 1 0-1.414l2.121-2.121a1 1 0 0 1 1.414 1.414l-2.12 2.121a1 1 0 0 1-1.415 0M15.536 8.464a1 1 0 0 1 0-1.414l2.12-2.121a1 1 0 1 1 1.415 1.414L16.95 8.464a1 1 0 0 1-1.414 0\"/>",
3002
3136
  width: 24,
3003
3137
  height: 24
3138
+ },
3139
+ "sun": {
3140
+ body: "<path fill=\"currentColor\" d=\"M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z\"/>",
3141
+ width: 24,
3142
+ height: 24
3143
+ },
3144
+ "moon": {
3145
+ body: "<path fill=\"currentColor\" d=\"M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.98 6.98 0 0 0 10 7m-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A8 8 0 0 0 4 12\"/>",
3146
+ width: 24,
3147
+ height: 24
3148
+ },
3149
+ "info": {
3150
+ body: "<path fill=\"currentColor\" d=\"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16M11 7h2v2h-2zm0 4h2v6h-2z\"/>",
3151
+ width: 24,
3152
+ height: 24
3153
+ },
3154
+ "alert-triangle": {
3155
+ body: "<path fill=\"currentColor\" d=\"m12.866 3l9.526 16.5a1 1 0 0 1-.866 1.5H2.474a1 1 0 0 1-.866-1.5L11.134 3a1 1 0 0 1 1.732 0m-8.66 16h15.588L12 5.5zM11 16h2v2h-2zm0-7h2v5h-2z\"/>",
3156
+ width: 24,
3157
+ height: 24
3004
3158
  }
3005
3159
  }
3006
3160
  };
@@ -3011,6 +3165,8 @@ const LUCIDE_EXPORT_TO_SEMANTIC_ICON = {
3011
3165
  ChevronDownIcon: "chevron-down",
3012
3166
  ChevronRight: "chevron-right",
3013
3167
  ChevronRightIcon: "chevron-right",
3168
+ ChevronsRight: "chevrons-right",
3169
+ ChevronsRightIcon: "chevrons-right",
3014
3170
  ChevronUp: "chevron-up",
3015
3171
  ChevronUpIcon: "chevron-up",
3016
3172
  Plus: "plus",
@@ -3062,13 +3218,22 @@ const LUCIDE_EXPORT_TO_SEMANTIC_ICON = {
3062
3218
  LoaderCircle: "loader-circle",
3063
3219
  Loader2: "loader-circle",
3064
3220
  Loader2Icon: "loader-circle",
3065
- LoaderIcon: "loader-circle"
3221
+ LoaderIcon: "loader-circle",
3222
+ Sun: "sun",
3223
+ SunIcon: "sun",
3224
+ Moon: "moon",
3225
+ MoonIcon: "moon",
3226
+ Info: "info",
3227
+ InfoIcon: "info",
3228
+ TriangleAlert: "alert-triangle",
3229
+ TriangleAlertIcon: "alert-triangle"
3066
3230
  };
3067
3231
  const LUCIDE_PATH_TO_SEMANTIC_ICON = {
3068
3232
  check: "check",
3069
3233
  "chevron-down": "chevron-down",
3070
3234
  "chevron-right": "chevron-right",
3071
3235
  "chevron-up": "chevron-up",
3236
+ "chevrons-right": "chevrons-right",
3072
3237
  plus: "plus",
3073
3238
  minus: "minus",
3074
3239
  "arrow-left": "arrow-left",
@@ -3092,10 +3257,14 @@ const LUCIDE_PATH_TO_SEMANTIC_ICON = {
3092
3257
  menu: "menu",
3093
3258
  shuffle: "shuffle",
3094
3259
  x: "x",
3095
- "loader-circle": "loader-circle"
3260
+ "loader-circle": "loader-circle",
3261
+ sun: "sun",
3262
+ moon: "moon",
3263
+ info: "info",
3264
+ "triangle-alert": "alert-triangle"
3096
3265
  };
3097
- function getSemanticIconNameFromLucidePath(path$2) {
3098
- return LUCIDE_PATH_TO_SEMANTIC_ICON[path$2];
3266
+ function getSemanticIconNameFromLucidePath(path) {
3267
+ return LUCIDE_PATH_TO_SEMANTIC_ICON[path];
3099
3268
  }
3100
3269
  function getSemanticIconNameFromLucideExport(name) {
3101
3270
  return LUCIDE_EXPORT_TO_SEMANTIC_ICON[name];
@@ -3191,8 +3360,10 @@ function buildRegistryTheme(config) {
3191
3360
 
3192
3361
  //#endregion
3193
3362
  //#region ../../node_modules/picocolors/picocolors.js
3194
- var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/picocolors/picocolors.js": ((exports, module) => {
3195
- let p = process || {}, argv = p.argv || [], env = p.env || {};
3363
+ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3364
+ let p = process || {};
3365
+ let argv = p.argv || [];
3366
+ let env = p.env || {};
3196
3367
  let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
3197
3368
  let formatter = (open, close, replace = open) => (input) => {
3198
3369
  let string = "" + input, index = string.indexOf(close, open.length);
@@ -3256,11 +3427,11 @@ var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/picoco
3256
3427
  };
3257
3428
  module.exports = createColors();
3258
3429
  module.exports.createColors = createColors;
3259
- }) });
3430
+ }));
3260
3431
 
3261
3432
  //#endregion
3262
3433
  //#region ../../node_modules/postcss/lib/tokenize.js
3263
- var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/tokenize.js": ((exports, module) => {
3434
+ var require_tokenize = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3264
3435
  const SINGLE_QUOTE = "'".charCodeAt(0);
3265
3436
  const DOUBLE_QUOTE = "\"".charCodeAt(0);
3266
3437
  const BACKSLASH = "\\".charCodeAt(0);
@@ -3284,7 +3455,7 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/
3284
3455
  const RE_WORD_END = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;
3285
3456
  const RE_BAD_BRACKET = /.[\r\n"'(/\\]/;
3286
3457
  const RE_HEX_ESCAPE = /[\da-f]/i;
3287
- module.exports = function tokenizer$2(input, options = {}) {
3458
+ module.exports = function tokenizer(input, options = {}) {
3288
3459
  let css = input.css.valueOf();
3289
3460
  let ignore = options.ignoreErrors;
3290
3461
  let code, content, escape, next, quote;
@@ -3345,10 +3516,12 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/
3345
3516
  do {
3346
3517
  escaped = false;
3347
3518
  next = css.indexOf(")", next + 1);
3348
- if (next === -1) if (ignore || ignoreUnclosed) {
3349
- next = pos;
3350
- break;
3351
- } else unclosed("bracket");
3519
+ if (next === -1) {
3520
+ if (ignore || ignoreUnclosed) {
3521
+ next = pos;
3522
+ break;
3523
+ } else unclosed("bracket");
3524
+ }
3352
3525
  escapePos = next;
3353
3526
  while (css.charCodeAt(escapePos - 1) === BACKSLASH) {
3354
3527
  escapePos -= 1;
@@ -3395,10 +3568,12 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/
3395
3568
  do {
3396
3569
  escaped = false;
3397
3570
  next = css.indexOf(quote, next + 1);
3398
- if (next === -1) if (ignore || ignoreUnclosed) {
3399
- next = pos + 1;
3400
- break;
3401
- } else unclosed("string");
3571
+ if (next === -1) {
3572
+ if (ignore || ignoreUnclosed) {
3573
+ next = pos + 1;
3574
+ break;
3575
+ } else unclosed("string");
3576
+ }
3402
3577
  escapePos = next;
3403
3578
  while (css.charCodeAt(escapePos - 1) === BACKSLASH) {
3404
3579
  escapePos -= 1;
@@ -3449,33 +3624,33 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/
3449
3624
  ];
3450
3625
  pos = next;
3451
3626
  break;
3452
- default:
3453
- if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {
3454
- next = css.indexOf("*/", pos + 2) + 1;
3455
- if (next === 0) if (ignore || ignoreUnclosed) next = css.length;
3627
+ default: if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {
3628
+ next = css.indexOf("*/", pos + 2) + 1;
3629
+ if (next === 0) {
3630
+ if (ignore || ignoreUnclosed) next = css.length;
3456
3631
  else unclosed("comment");
3457
- currentToken = [
3458
- "comment",
3459
- css.slice(pos, next + 1),
3460
- pos,
3461
- next
3462
- ];
3463
- pos = next;
3464
- } else {
3465
- RE_WORD_END.lastIndex = pos + 1;
3466
- RE_WORD_END.test(css);
3467
- if (RE_WORD_END.lastIndex === 0) next = css.length - 1;
3468
- else next = RE_WORD_END.lastIndex - 2;
3469
- currentToken = [
3470
- "word",
3471
- css.slice(pos, next + 1),
3472
- pos,
3473
- next
3474
- ];
3475
- buffer.push(currentToken);
3476
- pos = next;
3477
3632
  }
3478
- break;
3633
+ currentToken = [
3634
+ "comment",
3635
+ css.slice(pos, next + 1),
3636
+ pos,
3637
+ next
3638
+ ];
3639
+ pos = next;
3640
+ } else {
3641
+ RE_WORD_END.lastIndex = pos + 1;
3642
+ RE_WORD_END.test(css);
3643
+ if (RE_WORD_END.lastIndex === 0) next = css.length - 1;
3644
+ else next = RE_WORD_END.lastIndex - 2;
3645
+ currentToken = [
3646
+ "word",
3647
+ css.slice(pos, next + 1),
3648
+ pos,
3649
+ next
3650
+ ];
3651
+ buffer.push(currentToken);
3652
+ pos = next;
3653
+ }
3479
3654
  }
3480
3655
  pos++;
3481
3656
  return currentToken;
@@ -3490,33 +3665,33 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/
3490
3665
  position
3491
3666
  };
3492
3667
  };
3493
- }) });
3668
+ }));
3494
3669
 
3495
3670
  //#endregion
3496
3671
  //#region ../../node_modules/postcss/lib/terminal-highlight.js
3497
- var require_terminal_highlight = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/terminal-highlight.js": ((exports, module) => {
3498
- let pico$1 = require_picocolors();
3499
- let tokenizer$1 = require_tokenize();
3500
- let Input$6;
3672
+ var require_terminal_highlight = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3673
+ let pico = require_picocolors();
3674
+ let tokenizer = require_tokenize();
3675
+ let Input;
3501
3676
  function registerInput(dependant) {
3502
- Input$6 = dependant;
3677
+ Input = dependant;
3503
3678
  }
3504
3679
  const HIGHLIGHT_THEME = {
3505
- ";": pico$1.yellow,
3506
- ":": pico$1.yellow,
3507
- "(": pico$1.cyan,
3508
- ")": pico$1.cyan,
3509
- "[": pico$1.yellow,
3510
- "]": pico$1.yellow,
3511
- "{": pico$1.yellow,
3512
- "}": pico$1.yellow,
3513
- "at-word": pico$1.cyan,
3514
- "brackets": pico$1.cyan,
3515
- "call": pico$1.cyan,
3516
- "class": pico$1.yellow,
3517
- "comment": pico$1.gray,
3518
- "hash": pico$1.magenta,
3519
- "string": pico$1.green
3680
+ ";": pico.yellow,
3681
+ ":": pico.yellow,
3682
+ "(": pico.cyan,
3683
+ ")": pico.cyan,
3684
+ "[": pico.yellow,
3685
+ "]": pico.yellow,
3686
+ "{": pico.yellow,
3687
+ "}": pico.yellow,
3688
+ "at-word": pico.cyan,
3689
+ "brackets": pico.cyan,
3690
+ "call": pico.cyan,
3691
+ "class": pico.yellow,
3692
+ "comment": pico.gray,
3693
+ "hash": pico.magenta,
3694
+ "string": pico.green
3520
3695
  };
3521
3696
  function getTokenType([type, value], processor) {
3522
3697
  if (type === "word") {
@@ -3530,8 +3705,8 @@ var require_terminal_highlight = /* @__PURE__ */ __commonJS({ "../../node_module
3530
3705
  }
3531
3706
  return type;
3532
3707
  }
3533
- function terminalHighlight$2(css) {
3534
- let processor = tokenizer$1(new Input$6(css), { ignoreErrors: true });
3708
+ function terminalHighlight(css) {
3709
+ let processor = tokenizer(new Input(css), { ignoreErrors: true });
3535
3710
  let result = "";
3536
3711
  while (!processor.endOfFile()) {
3537
3712
  let token = processor.nextToken();
@@ -3541,34 +3716,36 @@ var require_terminal_highlight = /* @__PURE__ */ __commonJS({ "../../node_module
3541
3716
  }
3542
3717
  return result;
3543
3718
  }
3544
- terminalHighlight$2.registerInput = registerInput;
3545
- module.exports = terminalHighlight$2;
3546
- }) });
3719
+ terminalHighlight.registerInput = registerInput;
3720
+ module.exports = terminalHighlight;
3721
+ }));
3547
3722
 
3548
3723
  //#endregion
3549
3724
  //#region ../../node_modules/postcss/lib/css-syntax-error.js
3550
- var require_css_syntax_error = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/css-syntax-error.js": ((exports, module) => {
3725
+ var require_css_syntax_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3551
3726
  let pico = require_picocolors();
3552
- let terminalHighlight$1 = require_terminal_highlight();
3553
- var CssSyntaxError$4 = class CssSyntaxError$4 extends Error {
3554
- constructor(message, line, column, source, file, plugin$1) {
3727
+ let terminalHighlight = require_terminal_highlight();
3728
+ var CssSyntaxError = class CssSyntaxError extends Error {
3729
+ constructor(message, line, column, source, file, plugin) {
3555
3730
  super(message);
3556
3731
  this.name = "CssSyntaxError";
3557
3732
  this.reason = message;
3558
3733
  if (file) this.file = file;
3559
3734
  if (source) this.source = source;
3560
- if (plugin$1) this.plugin = plugin$1;
3561
- if (typeof line !== "undefined" && typeof column !== "undefined") if (typeof line === "number") {
3562
- this.line = line;
3563
- this.column = column;
3564
- } else {
3565
- this.line = line.line;
3566
- this.column = line.column;
3567
- this.endLine = column.line;
3568
- this.endColumn = column.column;
3735
+ if (plugin) this.plugin = plugin;
3736
+ if (typeof line !== "undefined" && typeof column !== "undefined") {
3737
+ if (typeof line === "number") {
3738
+ this.line = line;
3739
+ this.column = column;
3740
+ } else {
3741
+ this.line = line.line;
3742
+ this.column = line.column;
3743
+ this.endLine = column.line;
3744
+ this.endColumn = column.column;
3745
+ }
3569
3746
  }
3570
3747
  this.setMessage();
3571
- if (Error.captureStackTrace) Error.captureStackTrace(this, CssSyntaxError$4);
3748
+ if (Error.captureStackTrace) Error.captureStackTrace(this, CssSyntaxError);
3572
3749
  }
3573
3750
  setMessage() {
3574
3751
  this.message = this.plugin ? this.plugin + ": " : "";
@@ -3584,10 +3761,10 @@ var require_css_syntax_error = /* @__PURE__ */ __commonJS({ "../../node_modules/
3584
3761
  let mark = (text) => text;
3585
3762
  let highlight = (text) => text;
3586
3763
  if (color) {
3587
- let { bold: bold$1, gray, red: red$1 } = pico.createColors(true);
3588
- mark = (text) => bold$1(red$1(text));
3764
+ let { bold, gray, red } = pico.createColors(true);
3765
+ mark = (text) => bold(red(text));
3589
3766
  aside = (text) => gray(text);
3590
- if (terminalHighlight$1) highlight = (text) => terminalHighlight$1(text);
3767
+ if (terminalHighlight) highlight = (text) => terminalHighlight(text);
3591
3768
  }
3592
3769
  let lines = css.split(/\r?\n/);
3593
3770
  let start = Math.max(this.line - 3, 0);
@@ -3602,8 +3779,8 @@ var require_css_syntax_error = /* @__PURE__ */ __commonJS({ "../../node_modules/
3602
3779
  let subLineStart = Math.max(0, this.column - padding);
3603
3780
  let subLineEnd = Math.max(this.column + padding, this.endColumn + padding);
3604
3781
  let subLine = line.slice(subLineStart, subLineEnd);
3605
- let spacing$1 = aside(gutter.replace(/\d/g, " ")) + line.slice(0, Math.min(this.column - 1, padding - 1)).replace(/[^\t]/g, " ");
3606
- return mark(">") + aside(gutter) + highlight(subLine) + "\n " + spacing$1 + mark("^");
3782
+ let spacing = aside(gutter.replace(/\d/g, " ")) + line.slice(0, Math.min(this.column - 1, 19)).replace(/[^\t]/g, " ");
3783
+ return mark(">") + aside(gutter) + highlight(subLine) + "\n " + spacing + mark("^");
3607
3784
  }
3608
3785
  let spacing = aside(gutter.replace(/\d/g, " ")) + line.slice(0, this.column - 1).replace(/[^\t]/g, " ");
3609
3786
  return mark(">") + aside(gutter) + highlight(line) + "\n " + spacing + mark("^");
@@ -3617,15 +3794,16 @@ var require_css_syntax_error = /* @__PURE__ */ __commonJS({ "../../node_modules/
3617
3794
  return this.name + ": " + this.message + code;
3618
3795
  }
3619
3796
  };
3620
- module.exports = CssSyntaxError$4;
3621
- CssSyntaxError$4.default = CssSyntaxError$4;
3622
- }) });
3797
+ module.exports = CssSyntaxError;
3798
+ CssSyntaxError.default = CssSyntaxError;
3799
+ }));
3623
3800
 
3624
3801
  //#endregion
3625
3802
  //#region ../../node_modules/postcss/lib/stringifier.js
3626
- var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/stringifier.js": ((exports, module) => {
3803
+ var require_stringifier = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3627
3804
  const STYLE_TAG = /(<)(\/?style\b)/gi;
3628
3805
  const COMMENT_OPEN = /(<)(!--)/g;
3806
+ const AT_NAME_END = /[\t\n\f\r "#'()/;[\\\]{}]/;
3629
3807
  function escapeHTMLInCSS(str) {
3630
3808
  if (typeof str !== "string") return str;
3631
3809
  if (!str.includes("<")) return str;
@@ -3648,20 +3826,64 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3648
3826
  function capitalize(str) {
3649
3827
  return str[0].toUpperCase() + str.slice(1);
3650
3828
  }
3651
- var Stringifier$2 = class {
3829
+ function atruleStart(str, node) {
3830
+ let name = "@" + node.name;
3831
+ let params = node.params ? str.rawValue(node, "params") : "";
3832
+ let afterName = node.raws.afterName;
3833
+ if (typeof afterName === "undefined") afterName = params ? " " : "";
3834
+ else if (afterName === "" && params && !AT_NAME_END.test(params[0])) afterName = " ";
3835
+ return name + afterName + params;
3836
+ }
3837
+ function isCustomProperty(node) {
3838
+ if (!node.prop.startsWith("--")) return false;
3839
+ let before = node.raws.before;
3840
+ return typeof before === "undefined" || !/\S$/.test(before);
3841
+ }
3842
+ function pushBody(str, stack, node) {
3843
+ let nodes = node.nodes;
3844
+ let last = nodes.length - 1;
3845
+ while (last > 0) {
3846
+ if (nodes[last].type !== "comment") break;
3847
+ last -= 1;
3848
+ }
3849
+ let semicolon = str.raw(node, "semicolon");
3850
+ let isDocument = node.type === "document";
3851
+ for (let i = nodes.length - 1; i >= 0; i--) {
3852
+ let child = nodes[i];
3853
+ let childSemicolon = last !== i || semicolon;
3854
+ if (!childSemicolon && i < nodes.length - 1 && (child.type === "atrule" && !child.nodes || child.type === "decl" && isCustomProperty(child))) childSemicolon = true;
3855
+ stack.push({
3856
+ document: isDocument,
3857
+ node: child,
3858
+ semicolon: childSemicolon
3859
+ });
3860
+ }
3861
+ }
3862
+ function pushBlock(str, stack, node, start) {
3863
+ let between = str.raw(node, "between", "beforeOpen");
3864
+ str.builder(escapeHTMLInCSS(start + between) + "{", node, "start");
3865
+ let hasNodes = node.nodes && node.nodes.length;
3866
+ let close = () => {
3867
+ let after = hasNodes ? str.raw(node, "after") : str.raw(node, "after", "emptyBody");
3868
+ if (after) str.builder(escapeHTMLInCSS(after));
3869
+ str.builder("}", node, "end");
3870
+ if (node.type === "rule" && node.raws.ownSemicolon) str.builder(escapeHTMLInCSS(node.raws.ownSemicolon), node, "end");
3871
+ };
3872
+ if (hasNodes) {
3873
+ stack.push(close);
3874
+ pushBody(str, stack, node);
3875
+ } else close();
3876
+ }
3877
+ var Stringifier = class Stringifier {
3652
3878
  constructor(builder) {
3653
3879
  this.builder = builder;
3654
3880
  }
3655
3881
  atrule(node, semicolon) {
3656
- let raws = node.raws;
3657
- let name = "@" + node.name;
3658
- let params = node.params ? this.rawValue(node, "params") : "";
3659
- if (typeof raws.afterName !== "undefined") name += raws.afterName;
3660
- else if (params) name += " ";
3661
- if (node.nodes) this.block(node, name + params);
3882
+ let start = atruleStart(this, node);
3883
+ if (node.nodes) this.block(node, start);
3662
3884
  else {
3663
- let end = (raws.between || "") + (semicolon ? ";" : "");
3664
- this.builder(escapeHTMLInCSS(name + params + end), node);
3885
+ let end = (node.raws.between || "") + (semicolon ? ";" : "");
3886
+ this.builder(escapeHTMLInCSS(start + end), node);
3665
3887
  }
3666
3888
  }
3667
3889
  beforeAfter(node, detect) {
@@ -3694,19 +3916,28 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3694
3916
  this.builder("}", node, "end");
3695
3917
  }
3696
3918
  body(node) {
3697
- let nodes = node.nodes;
3698
- let last = nodes.length - 1;
3699
- while (last > 0) {
3700
- if (nodes[last].type !== "comment") break;
3701
- last -= 1;
3702
- }
3703
- let semicolon = this.raw(node, "semicolon");
3704
- let isDocument = node.type === "document";
3705
- for (let i = 0; i < nodes.length; i++) {
3706
- let child = nodes[i];
3919
+ let proto = Stringifier.prototype;
3920
+ let expandable = [
3921
+ "atrule",
3922
+ "block",
3923
+ "body",
3924
+ "rule",
3925
+ "stringify"
3926
+ ].every((method) => this[method] === proto[method]);
3927
+ let stack = [];
3928
+ pushBody(this, stack, node);
3929
+ while (stack.length > 0) {
3930
+ let entry = stack.pop();
3931
+ if (typeof entry === "function") {
3932
+ entry();
3933
+ continue;
3934
+ }
3935
+ let child = entry.node;
3707
3936
  let before = this.raw(child, "before");
3708
- if (before) this.builder(isDocument ? before : escapeHTMLInCSS(before));
3709
- this.stringify(child, last !== i || semicolon);
3937
+ if (before) this.builder(entry.document ? before : escapeHTMLInCSS(before));
3938
+ if (expandable && child.type === "rule") pushBlock(this, stack, child, this.rawValue(child, "selector"));
3939
+ else if (expandable && child.type === "atrule" && child.nodes) pushBlock(this, stack, child, atruleStart(this, child));
3940
+ else this.stringify(child, entry.semicolon);
3710
3941
  }
3711
3942
  }
3712
3943
  comment(node) {
@@ -3738,14 +3969,14 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3738
3969
  if (parent && parent.type === "document") return "";
3739
3970
  }
3740
3971
  if (!parent) return DEFAULT_RAW[detect];
3741
- let root$1 = node.root();
3742
- let cache = root$1.rawCache || (root$1.rawCache = {});
3972
+ let root = node.root();
3973
+ let cache = root.rawCache || (root.rawCache = {});
3743
3974
  if (typeof cache[detect] !== "undefined") return cache[detect];
3744
3975
  if (detect === "before" || detect === "after") return this.beforeAfter(node, detect);
3745
3976
  else {
3746
3977
  let method = "raw" + capitalize(detect);
3747
- if (this[method]) value = this[method](root$1, node);
3748
- else root$1.walk((i) => {
3978
+ if (this[method]) value = this[method](root, node);
3979
+ else root.walk((i) => {
3749
3980
  value = i.raws[own];
3750
3981
  if (typeof value !== "undefined") return false;
3751
3982
  });
@@ -3754,9 +3985,9 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3754
3985
  cache[detect] = value;
3755
3986
  return value;
3756
3987
  }
3757
- rawBeforeClose(root$1) {
3988
+ rawBeforeClose(root) {
3758
3989
  let value;
3759
- root$1.walk((i) => {
3990
+ root.walk((i) => {
3760
3991
  if (i.nodes && i.nodes.length > 0) {
3761
3992
  if (typeof i.raws.after !== "undefined") {
3762
3993
  value = i.raws.after;
@@ -3768,9 +3999,9 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3768
3999
  if (value) value = value.replace(/\S/g, "");
3769
4000
  return value;
3770
4001
  }
3771
- rawBeforeComment(root$1, node) {
4002
+ rawBeforeComment(root, node) {
3772
4003
  let value;
3773
- root$1.walkComments((i) => {
4004
+ root.walkComments((i) => {
3774
4005
  if (typeof i.raws.before !== "undefined") {
3775
4006
  value = i.raws.before;
3776
4007
  if (value.includes("\n")) value = value.replace(/[^\n]+$/, "");
@@ -3781,9 +4012,9 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3781
4012
  else if (value) value = value.replace(/\S/g, "");
3782
4013
  return value;
3783
4014
  }
3784
- rawBeforeDecl(root$1, node) {
4015
+ rawBeforeDecl(root, node) {
3785
4016
  let value;
3786
- root$1.walkDecls((i) => {
4017
+ root.walkDecls((i) => {
3787
4018
  if (typeof i.raws.before !== "undefined") {
3788
4019
  value = i.raws.before;
3789
4020
  if (value.includes("\n")) value = value.replace(/[^\n]+$/, "");
@@ -3794,9 +4025,9 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3794
4025
  else if (value) value = value.replace(/\S/g, "");
3795
4026
  return value;
3796
4027
  }
3797
- rawBeforeOpen(root$1) {
4028
+ rawBeforeOpen(root) {
3798
4029
  let value;
3799
- root$1.walk((i) => {
4030
+ root.walk((i) => {
3800
4031
  if (i.type !== "decl") {
3801
4032
  value = i.raws.between;
3802
4033
  if (typeof value !== "undefined") return false;
@@ -3804,10 +4035,10 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3804
4035
  });
3805
4036
  return value;
3806
4037
  }
3807
- rawBeforeRule(root$1) {
4038
+ rawBeforeRule(root) {
3808
4039
  let value;
3809
- root$1.walk((i) => {
3810
- if (i.nodes && (i.parent !== root$1 || root$1.first !== i)) {
4040
+ root.walk((i) => {
4041
+ if (i.nodes && (i.parent !== root || root.first !== i)) {
3811
4042
  if (typeof i.raws.before !== "undefined") {
3812
4043
  value = i.raws.before;
3813
4044
  if (value.includes("\n")) value = value.replace(/[^\n]+$/, "");
@@ -3818,9 +4049,9 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3818
4049
  if (value) value = value.replace(/\S/g, "");
3819
4050
  return value;
3820
4051
  }
3821
- rawColon(root$1) {
4052
+ rawColon(root) {
3822
4053
  let value;
3823
- root$1.walkDecls((i) => {
4054
+ root.walkDecls((i) => {
3824
4055
  if (typeof i.raws.between !== "undefined") {
3825
4056
  value = i.raws.between.replace(/[^\s:]/g, "");
3826
4057
  return false;
@@ -3828,9 +4059,9 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3828
4059
  });
3829
4060
  return value;
3830
4061
  }
3831
- rawEmptyBody(root$1) {
4062
+ rawEmptyBody(root) {
3832
4063
  let value;
3833
- root$1.walk((i) => {
4064
+ root.walk((i) => {
3834
4065
  if (i.nodes && i.nodes.length === 0) {
3835
4066
  value = i.raws.after;
3836
4067
  if (typeof value !== "undefined") return false;
@@ -3838,12 +4069,12 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3838
4069
  });
3839
4070
  return value;
3840
4071
  }
3841
- rawIndent(root$1) {
3842
- if (root$1.raws.indent) return root$1.raws.indent;
4072
+ rawIndent(root) {
4073
+ if (root.raws.indent) return root.raws.indent;
3843
4074
  let value;
3844
- root$1.walk((i) => {
3845
- let p$1 = i.parent;
3846
- if (p$1 && p$1 !== root$1 && p$1.parent && p$1.parent === root$1) {
4075
+ root.walk((i) => {
4076
+ let p = i.parent;
4077
+ if (p && p !== root && p.parent && p.parent === root) {
3847
4078
  if (typeof i.raws.before !== "undefined") {
3848
4079
  let parts = i.raws.before.split("\n");
3849
4080
  value = parts[parts.length - 1];
@@ -3854,9 +4085,9 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3854
4085
  });
3855
4086
  return value;
3856
4087
  }
3857
- rawSemicolon(root$1) {
4088
+ rawSemicolon(root) {
3858
4089
  let value;
3859
- root$1.walk((i) => {
4090
+ root.walk((i) => {
3860
4091
  if (i.nodes && i.nodes.length && i.last.type === "decl") {
3861
4092
  value = i.raws.semicolon;
3862
4093
  if (typeof value !== "undefined") return false;
@@ -3871,6 +4102,7 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3871
4102
  return value;
3872
4103
  }
3873
4104
  root(node) {
4105
+ if (node.source && node.source.input.hasBOM) this.builder("", node, "start");
3874
4106
  this.body(node);
3875
4107
  if (node.raws.after) {
3876
4108
  let after = node.raws.after;
@@ -3889,51 +4121,78 @@ var require_stringifier = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
3889
4121
  this[node.type](node, semicolon);
3890
4122
  }
3891
4123
  };
3892
- module.exports = Stringifier$2;
3893
- Stringifier$2.default = Stringifier$2;
3894
- }) });
4124
+ module.exports = Stringifier;
4125
+ Stringifier.default = Stringifier;
4126
+ }));
3895
4127
 
3896
4128
  //#endregion
3897
4129
  //#region ../../node_modules/postcss/lib/stringify.js
3898
- var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/stringify.js": ((exports, module) => {
3899
- let Stringifier$1 = require_stringifier();
3900
- function stringify$5(node, builder) {
3901
- new Stringifier$1(builder).stringify(node);
4130
+ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4131
+ let Stringifier = require_stringifier();
4132
+ function stringify(node, builder) {
4133
+ new Stringifier(builder).stringify(node);
3902
4134
  }
3903
- module.exports = stringify$5;
3904
- stringify$5.default = stringify$5;
3905
- }) });
4135
+ module.exports = stringify;
4136
+ stringify.default = stringify;
4137
+ }));
3906
4138
 
3907
4139
  //#endregion
3908
4140
  //#region ../../node_modules/postcss/lib/symbols.js
3909
- var require_symbols = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/symbols.js": ((exports, module) => {
4141
+ var require_symbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3910
4142
  module.exports.isClean = Symbol("isClean");
3911
4143
  module.exports.my = Symbol("my");
3912
- }) });
4144
+ }));
3913
4145
 
3914
4146
  //#endregion
3915
4147
  //#region ../../node_modules/postcss/lib/node.js
3916
- var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/node.js": ((exports, module) => {
3917
- let CssSyntaxError$3 = require_css_syntax_error();
4148
+ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4149
+ let CssSyntaxError = require_css_syntax_error();
3918
4150
  let Stringifier = require_stringifier();
3919
- let stringify$4 = require_stringify();
3920
- let { isClean: isClean$2, my: my$2 } = require_symbols();
4151
+ let stringify = require_stringify();
4152
+ let { isClean, my } = require_symbols();
3921
4153
  function cloneNode(obj, parent) {
3922
4154
  let cloned = new obj.constructor();
3923
- for (let i in obj) {
3924
- if (!Object.prototype.hasOwnProperty.call(obj, i))
4155
+ let stack = [[
4156
+ obj,
4157
+ cloned,
4158
+ parent
4159
+ ]];
4160
+ while (stack.length > 0) {
4161
+ let [source, target, targetParent] = stack.pop();
4162
+ for (let i in source) {
4163
+ if (!Object.prototype.hasOwnProperty.call(source, i))
3925
4164
  /* c8 ignore next 2 */
3926
- continue;
3927
- if (i === "proxyCache") continue;
3928
- let value = obj[i];
3929
- let type = typeof value;
3930
- if (i === "parent" && type === "object") {
3931
- if (parent) cloned[i] = parent;
3932
- } else if (i === "source") cloned[i] = value;
3933
- else if (Array.isArray(value)) cloned[i] = value.map((j) => cloneNode(j, cloned));
3934
- else {
3935
- if (type === "object" && value !== null) value = cloneNode(value);
3936
- cloned[i] = value;
4165
+ continue;
4166
+ if (i === "proxyCache") continue;
4167
+ let value = source[i];
4168
+ let type = typeof value;
4169
+ if (i === "parent" && type === "object") {
4170
+ if (targetParent) target[i] = targetParent;
4171
+ } else if (i === "source") target[i] = value;
4172
+ else if (Array.isArray(value)) {
4173
+ let children = [];
4174
+ target[i] = children;
4175
+ for (let j of value) {
4176
+ let childClone = new j.constructor();
4177
+ children.push(childClone);
4178
+ stack.push([
4179
+ j,
4180
+ childClone,
4181
+ target
4182
+ ]);
4183
+ }
4184
+ } else {
4185
+ if (type === "object" && value !== null) {
4186
+ let valueClone = new value.constructor();
4187
+ stack.push([
4188
+ value,
4189
+ valueClone,
4190
+ void 0
4191
+ ]);
4192
+ value = valueClone;
4193
+ }
4194
+ target[i] = value;
4195
+ }
3937
4196
  }
3938
4197
  }
3939
4198
  return cloned;
@@ -3955,19 +4214,22 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
3955
4214
  }
3956
4215
  return offset;
3957
4216
  }
3958
- var Node$5 = class {
4217
+ var Node = class Node {
3959
4218
  get proxyOf() {
3960
4219
  return this;
3961
4220
  }
3962
4221
  constructor(defaults = {}) {
3963
4222
  this.raws = {};
3964
- this[isClean$2] = false;
3965
- this[my$2] = true;
3966
- for (let name in defaults) if (name === "nodes") {
3967
- this.nodes = [];
3968
- for (let node of defaults[name]) if (typeof node.clone === "function" && node.parent) this.append(node.clone());
3969
- else this.append(node);
3970
- } else this[name] = defaults[name];
4223
+ this[isClean] = false;
4224
+ this[my] = true;
4225
+ for (let name of Object.keys(defaults)) {
4226
+ if (name === "__proto__") continue;
4227
+ if (name === "nodes") {
4228
+ this.nodes = [];
4229
+ for (let node of defaults[name]) if (typeof node.clone === "function" && node.parent) this.append(node.clone());
4230
+ else this.append(node);
4231
+ } else this[name] = defaults[name];
4232
+ }
3971
4233
  }
3972
4234
  addToError(error) {
3973
4235
  error.postcssNode = this;
@@ -4020,7 +4282,7 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
4020
4282
  line: end.line
4021
4283
  }, opts);
4022
4284
  }
4023
- return new CssSyntaxError$3(message);
4285
+ return new CssSyntaxError(message);
4024
4286
  }
4025
4287
  getProxyProcessor() {
4026
4288
  return {
@@ -4032,20 +4294,22 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
4032
4294
  set(node, prop, value) {
4033
4295
  if (node[prop] === value) return true;
4034
4296
  node[prop] = value;
4035
- if (prop === "prop" || prop === "value" || prop === "name" || prop === "params" || prop === "important" || prop === "text") node.markDirty();
4297
+ if (prop === "prop" || prop === "value" || prop === "name" || prop === "params" || prop === "important" ||
4298
+ /* c8 ignore next */
4299
+ prop === "text") node.markDirty();
4036
4300
  return true;
4037
4301
  }
4038
4302
  };
4039
4303
  }
4040
4304
  /* c8 ignore next 3 */
4041
4305
  markClean() {
4042
- this[isClean$2] = true;
4306
+ this[isClean] = true;
4043
4307
  }
4044
4308
  markDirty() {
4045
- if (this[isClean$2]) {
4046
- this[isClean$2] = false;
4309
+ if (this[isClean]) {
4310
+ this[isClean] = false;
4047
4311
  let next = this;
4048
- while (next = next.parent) next[isClean$2] = false;
4312
+ while (next = next.parent) next[isClean] = false;
4049
4313
  }
4050
4314
  }
4051
4315
  next() {
@@ -4162,36 +4426,61 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
4162
4426
  return result;
4163
4427
  }
4164
4428
  toJSON(_, inputs) {
4165
- let fixed = {};
4166
4429
  let emitInputs = inputs == null;
4167
4430
  inputs = inputs || /* @__PURE__ */ new Map();
4168
- let inputsNextIndex = 0;
4169
- for (let name in this) {
4170
- if (!Object.prototype.hasOwnProperty.call(this, name))
4431
+ let holderOfRoot = [];
4432
+ let queue = [[
4433
+ this,
4434
+ holderOfRoot,
4435
+ 0
4436
+ ]];
4437
+ for (let step = 0; step < queue.length; step++) {
4438
+ let [node, holder, key] = queue[step];
4439
+ let fixed = {};
4440
+ holder[key] = fixed;
4441
+ for (let name in node) {
4442
+ if (!Object.prototype.hasOwnProperty.call(node, name))
4171
4443
  /* c8 ignore next 2 */
4172
- continue;
4173
- if (name === "parent" || name === "proxyCache") continue;
4174
- let value = this[name];
4175
- if (Array.isArray(value)) fixed[name] = value.map((i) => {
4176
- if (typeof i === "object" && i.toJSON) return i.toJSON(null, inputs);
4177
- else return i;
4178
- });
4179
- else if (typeof value === "object" && value.toJSON) fixed[name] = value.toJSON(null, inputs);
4180
- else if (name === "source") {
4181
- if (value == null) continue;
4182
- let inputId = inputs.get(value.input);
4183
- if (inputId == null) {
4184
- inputId = inputsNextIndex;
4185
- inputs.set(value.input, inputsNextIndex);
4186
- inputsNextIndex++;
4187
- }
4188
- fixed[name] = {
4189
- end: value.end,
4190
- inputId,
4191
- start: value.start
4192
- };
4193
- } else fixed[name] = value;
4444
+ continue;
4445
+ if (name === "parent" || name === "proxyCache") continue;
4446
+ let value = node[name];
4447
+ if (Array.isArray(value)) {
4448
+ let fixedArray = [];
4449
+ fixed[name] = fixedArray;
4450
+ for (let i = 0; i < value.length; i++) {
4451
+ let item = value[i];
4452
+ if (typeof item === "object" && item.toJSON) {
4453
+ if (item.toJSON === Node.prototype.toJSON) queue.push([
4454
+ item,
4455
+ fixedArray,
4456
+ i
4457
+ ]);
4458
+ else fixedArray[i] = item.toJSON(null, inputs);
4459
+ } else fixedArray[i] = item;
4460
+ }
4461
+ } else if (typeof value === "object" && value.toJSON) {
4462
+ if (value.toJSON === Node.prototype.toJSON) queue.push([
4463
+ value,
4464
+ fixed,
4465
+ name
4466
+ ]);
4467
+ else fixed[name] = value.toJSON(null, inputs);
4468
+ } else if (name === "source") {
4469
+ if (value == null) continue;
4470
+ let inputId = inputs.get(value.input);
4471
+ if (inputId == null) {
4472
+ inputId = inputs.size;
4473
+ inputs.set(value.input, inputId);
4474
+ }
4475
+ fixed[name] = {
4476
+ end: value.end,
4477
+ inputId,
4478
+ start: value.start
4479
+ };
4480
+ } else fixed[name] = value;
4481
+ }
4194
4482
  }
4483
+ let fixed = holderOfRoot[0];
4195
4484
  if (emitInputs) fixed.inputs = [...inputs.keys()].map((input) => input.toJSON());
4196
4485
  return fixed;
4197
4486
  }
@@ -4199,7 +4488,7 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
4199
4488
  if (!this.proxyCache) this.proxyCache = new Proxy(this, this.getProxyProcessor());
4200
4489
  return this.proxyCache;
4201
4490
  }
4202
- toString(stringifier = stringify$4) {
4491
+ toString(stringifier = stringify) {
4203
4492
  if (stringifier.stringify) stringifier = stringifier.stringify;
4204
4493
  let result = "";
4205
4494
  stringifier(this, (i) => {
@@ -4213,29 +4502,29 @@ var require_node = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
4213
4502
  return result.warn(text, data);
4214
4503
  }
4215
4504
  };
4216
- module.exports = Node$5;
4217
- Node$5.default = Node$5;
4218
- }) });
4505
+ module.exports = Node;
4506
+ Node.default = Node;
4507
+ }));
4219
4508
 
4220
4509
  //#endregion
4221
4510
  //#region ../../node_modules/postcss/lib/comment.js
4222
- var require_comment = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/comment.js": ((exports, module) => {
4223
- let Node$4 = require_node();
4224
- var Comment$5 = class extends Node$4 {
4511
+ var require_comment = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4512
+ let Node = require_node();
4513
+ var Comment = class extends Node {
4225
4514
  constructor(defaults) {
4226
4515
  super(defaults);
4227
4516
  this.type = "comment";
4228
4517
  }
4229
4518
  };
4230
- module.exports = Comment$5;
4231
- Comment$5.default = Comment$5;
4232
- }) });
4519
+ module.exports = Comment;
4520
+ Comment.default = Comment;
4521
+ }));
4233
4522
 
4234
4523
  //#endregion
4235
4524
  //#region ../../node_modules/postcss/lib/declaration.js
4236
- var require_declaration = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/declaration.js": ((exports, module) => {
4237
- let Node$3 = require_node();
4238
- var Declaration$5 = class extends Node$3 {
4525
+ var require_declaration = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4526
+ let Node = require_node();
4527
+ var Declaration = class extends Node {
4239
4528
  get variable() {
4240
4529
  return this.prop.startsWith("--") || this.prop[0] === "$";
4241
4530
  }
@@ -4248,30 +4537,42 @@ var require_declaration = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
4248
4537
  this.type = "decl";
4249
4538
  }
4250
4539
  };
4251
- module.exports = Declaration$5;
4252
- Declaration$5.default = Declaration$5;
4253
- }) });
4540
+ module.exports = Declaration;
4541
+ Declaration.default = Declaration;
4542
+ }));
4254
4543
 
4255
4544
  //#endregion
4256
4545
  //#region ../../node_modules/postcss/lib/container.js
4257
- var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/container.js": ((exports, module) => {
4258
- let Comment$4 = require_comment();
4259
- let Declaration$4 = require_declaration();
4260
- let Node$2 = require_node();
4261
- let { isClean: isClean$1, my: my$1 } = require_symbols();
4262
- let AtRule$5, parse$5, Root$7, Rule$5;
4546
+ var require_container = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4547
+ let Comment = require_comment();
4548
+ let Declaration = require_declaration();
4549
+ let Node = require_node();
4550
+ let { isClean, my } = require_symbols();
4551
+ let AtRule;
4552
+ let parse;
4553
+ let Root;
4554
+ let Rule;
4263
4555
  function cleanSource(nodes) {
4264
- return nodes.map((i) => {
4265
- if (i.nodes) i.nodes = cleanSource(i.nodes);
4266
- delete i.source;
4267
- return i;
4268
- });
4556
+ let stack = nodes.slice();
4557
+ while (stack.length > 0) {
4558
+ let node = stack.pop();
4559
+ delete node.source;
4560
+ if (node.nodes) {
4561
+ node.nodes = node.nodes.slice();
4562
+ for (let i of node.nodes) stack.push(i);
4563
+ }
4564
+ }
4565
+ return nodes.slice();
4269
4566
  }
4270
4567
  function markTreeDirty(node) {
4271
- node[isClean$1] = false;
4272
- if (node.proxyOf.nodes) for (let i of node.proxyOf.nodes) markTreeDirty(i);
4568
+ let stack = [node];
4569
+ while (stack.length > 0) {
4570
+ let next = stack.pop();
4571
+ next[isClean] = false;
4572
+ if (next.proxyOf.nodes) for (let i of next.proxyOf.nodes) stack.push(i);
4573
+ }
4273
4574
  }
4274
- var Container$8 = class Container$8 extends Node$2 {
4575
+ var Container = class Container extends Node {
4275
4576
  get first() {
4276
4577
  if (!this.proxyOf.nodes) return void 0;
4277
4578
  return this.proxyOf.nodes[0];
@@ -4289,8 +4590,16 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss
4289
4590
  return this;
4290
4591
  }
4291
4592
  cleanRaws(keepBetween) {
4292
- super.cleanRaws(keepBetween);
4293
- if (this.nodes) for (let node of this.nodes) node.cleanRaws(keepBetween);
4593
+ let stack = [this];
4594
+ while (stack.length > 0) {
4595
+ let node = stack.pop();
4596
+ if (node !== this && node.cleanRaws !== Container.prototype.cleanRaws) {
4597
+ node.cleanRaws(keepBetween);
4598
+ continue;
4599
+ }
4600
+ Node.prototype.cleanRaws.call(node, keepBetween);
4601
+ if (node.nodes) for (let child of node.nodes) stack.push(child);
4602
+ }
4294
4603
  }
4295
4604
  each(callback) {
4296
4605
  if (!this.proxyOf.nodes) return void 0;
@@ -4376,7 +4685,7 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss
4376
4685
  return this;
4377
4686
  }
4378
4687
  normalize(nodes, sample) {
4379
- if (typeof nodes === "string") nodes = cleanSource(parse$5(nodes).nodes);
4688
+ if (typeof nodes === "string") nodes = cleanSource(parse(nodes).nodes);
4380
4689
  else if (typeof nodes === "undefined") nodes = [];
4381
4690
  else if (Array.isArray(nodes)) {
4382
4691
  nodes = nodes.slice(0);
@@ -4388,17 +4697,17 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss
4388
4697
  else if (nodes.prop) {
4389
4698
  if (typeof nodes.value === "undefined") throw new Error("Value field is missed in node creation");
4390
4699
  else if (typeof nodes.value !== "string") nodes.value = String(nodes.value);
4391
- nodes = [new Declaration$4(nodes)];
4392
- } else if (nodes.selector || nodes.selectors) nodes = [new Rule$5(nodes)];
4393
- else if (nodes.name) nodes = [new AtRule$5(nodes)];
4394
- else if (nodes.text) nodes = [new Comment$4(nodes)];
4700
+ nodes = [new Declaration(nodes)];
4701
+ } else if (nodes.selector || nodes.selectors) nodes = [new Rule(nodes)];
4702
+ else if (nodes.name) nodes = [new AtRule(nodes)];
4703
+ else if (nodes.text) nodes = [new Comment(nodes)];
4395
4704
  else throw new Error("Unknown node type in node creation");
4396
4705
  return nodes.map((i) => {
4397
4706
  /* c8 ignore next */
4398
- if (!i[my$1]) Container$8.rebuild(i);
4707
+ if (!i[my]) Container.rebuild(i);
4399
4708
  i = i.proxyOf;
4400
4709
  if (i.parent) i.parent.removeChild(i);
4401
- if (i[isClean$1]) markTreeDirty(i);
4710
+ if (i[isClean]) markTreeDirty(i);
4402
4711
  if (!i.raws) i.raws = {};
4403
4712
  if (typeof i.raws.before === "undefined") {
4404
4713
  if (sample && typeof sample.raws.before !== "undefined") i.raws.before = sample.raws.before.replace(/\S/g, "");
@@ -4445,10 +4754,10 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss
4445
4754
  callback = opts;
4446
4755
  opts = {};
4447
4756
  }
4448
- this.walkDecls((decl$1) => {
4449
- if (opts.props && !opts.props.includes(decl$1.prop)) return;
4450
- if (opts.fast && !decl$1.value.includes(opts.fast)) return;
4451
- decl$1.value = decl$1.value.replace(pattern, callback);
4757
+ this.walkDecls((decl) => {
4758
+ if (opts.props && !opts.props.includes(decl.prop)) return;
4759
+ if (opts.fast && !decl.value.includes(opts.fast)) return;
4760
+ decl.value = decl.value.replace(pattern, callback);
4452
4761
  });
4453
4762
  this.markDirty();
4454
4763
  return this;
@@ -4457,16 +4766,38 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss
4457
4766
  return this.nodes.some(condition);
4458
4767
  }
4459
4768
  walk(callback) {
4460
- return this.each((child, i) => {
4769
+ if (!this.proxyOf.nodes) return void 0;
4770
+ let stack = [{
4771
+ iterator: this.getIterator(),
4772
+ node: this.proxyOf
4773
+ }];
4774
+ while (stack.length > 0) {
4775
+ let { iterator, node } = stack[stack.length - 1];
4776
+ let index = node.indexes[iterator];
4777
+ if (index >= node.proxyOf.nodes.length) {
4778
+ delete node.indexes[iterator];
4779
+ stack.pop();
4780
+ let parent = stack[stack.length - 1];
4781
+ if (parent) parent.node.indexes[parent.iterator] += 1;
4782
+ continue;
4783
+ }
4784
+ let child = node.proxyOf.nodes[index];
4461
4785
  let result;
4462
4786
  try {
4463
- result = callback(child, i);
4787
+ result = callback(child, index);
4464
4788
  } catch (e) {
4465
4789
  throw child.addToError(e);
4466
4790
  }
4467
- if (result !== false && child.walk) result = child.walk(callback);
4468
- return result;
4469
- });
4791
+ if (result === false) {
4792
+ for (let opened of stack) delete opened.node.indexes[opened.iterator];
4793
+ return false;
4794
+ }
4795
+ if (child.walk && child.proxyOf.nodes) stack.push({
4796
+ iterator: child.getIterator(),
4797
+ node: child
4798
+ });
4799
+ else node.indexes[iterator] += 1;
4800
+ }
4470
4801
  }
4471
4802
  walkAtRules(name, callback) {
4472
4803
  if (!callback) {
@@ -4516,40 +4847,42 @@ var require_container = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss
4516
4847
  });
4517
4848
  }
4518
4849
  };
4519
- Container$8.registerParse = (dependant) => {
4520
- parse$5 = dependant;
4850
+ Container.registerParse = (dependant) => {
4851
+ parse = dependant;
4521
4852
  };
4522
- Container$8.registerRule = (dependant) => {
4523
- Rule$5 = dependant;
4853
+ Container.registerRule = (dependant) => {
4854
+ Rule = dependant;
4524
4855
  };
4525
- Container$8.registerAtRule = (dependant) => {
4526
- AtRule$5 = dependant;
4856
+ Container.registerAtRule = (dependant) => {
4857
+ AtRule = dependant;
4527
4858
  };
4528
- Container$8.registerRoot = (dependant) => {
4529
- Root$7 = dependant;
4859
+ Container.registerRoot = (dependant) => {
4860
+ Root = dependant;
4530
4861
  };
4531
- module.exports = Container$8;
4532
- Container$8.default = Container$8;
4862
+ module.exports = Container;
4863
+ Container.default = Container;
4533
4864
  /* c8 ignore start */
4534
- Container$8.rebuild = (node) => {
4535
- if (node.type === "atrule") Object.setPrototypeOf(node, AtRule$5.prototype);
4536
- else if (node.type === "rule") Object.setPrototypeOf(node, Rule$5.prototype);
4537
- else if (node.type === "decl") Object.setPrototypeOf(node, Declaration$4.prototype);
4538
- else if (node.type === "comment") Object.setPrototypeOf(node, Comment$4.prototype);
4539
- else if (node.type === "root") Object.setPrototypeOf(node, Root$7.prototype);
4540
- node[my$1] = true;
4541
- if (node.nodes) node.nodes.forEach((child) => {
4542
- Container$8.rebuild(child);
4543
- });
4865
+ Container.rebuild = (node) => {
4866
+ let stack = [node];
4867
+ while (stack.length > 0) {
4868
+ let next = stack.pop();
4869
+ if (next.type === "atrule") Object.setPrototypeOf(next, AtRule.prototype);
4870
+ else if (next.type === "rule") Object.setPrototypeOf(next, Rule.prototype);
4871
+ else if (next.type === "decl") Object.setPrototypeOf(next, Declaration.prototype);
4872
+ else if (next.type === "comment") Object.setPrototypeOf(next, Comment.prototype);
4873
+ else if (next.type === "root") Object.setPrototypeOf(next, Root.prototype);
4874
+ next[my] = true;
4875
+ if (next.nodes) for (let child of next.nodes) stack.push(child);
4876
+ }
4544
4877
  };
4545
- }) });
4878
+ }));
4546
4879
  /* c8 ignore stop */
4547
4880
 
4548
4881
  //#endregion
4549
4882
  //#region ../../node_modules/postcss/lib/at-rule.js
4550
- var require_at_rule = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/at-rule.js": ((exports, module) => {
4551
- let Container$7 = require_container();
4552
- var AtRule$4 = class extends Container$7 {
4883
+ var require_at_rule = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4884
+ let Container = require_container();
4885
+ var AtRule = class extends Container {
4553
4886
  constructor(defaults) {
4554
4887
  super(defaults);
4555
4888
  this.type = "atrule";
@@ -4563,17 +4896,18 @@ var require_at_rule = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/l
4563
4896
  return super.prepend(...children);
4564
4897
  }
4565
4898
  };
4566
- module.exports = AtRule$4;
4567
- AtRule$4.default = AtRule$4;
4568
- Container$7.registerAtRule(AtRule$4);
4569
- }) });
4899
+ module.exports = AtRule;
4900
+ AtRule.default = AtRule;
4901
+ Container.registerAtRule(AtRule);
4902
+ }));
4570
4903
 
4571
4904
  //#endregion
4572
4905
  //#region ../../node_modules/postcss/lib/document.js
4573
- var require_document = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/document.js": ((exports, module) => {
4574
- let Container$6 = require_container();
4575
- let LazyResult$4, Processor$4;
4576
- var Document$4 = class extends Container$6 {
4906
+ var require_document = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4907
+ let Container = require_container();
4908
+ let LazyResult;
4909
+ let Processor;
4910
+ var Document = class extends Container {
4577
4911
  constructor(defaults) {
4578
4912
  super({
4579
4913
  type: "document",
@@ -4582,46 +4916,46 @@ var require_document = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/
4582
4916
  if (!this.nodes) this.nodes = [];
4583
4917
  }
4584
4918
  toResult(opts = {}) {
4585
- return new LazyResult$4(new Processor$4(), this, opts).stringify();
4919
+ return new LazyResult(new Processor(), this, opts).stringify();
4586
4920
  }
4587
4921
  };
4588
- Document$4.registerLazyResult = (dependant) => {
4589
- LazyResult$4 = dependant;
4922
+ Document.registerLazyResult = (dependant) => {
4923
+ LazyResult = dependant;
4590
4924
  };
4591
- Document$4.registerProcessor = (dependant) => {
4592
- Processor$4 = dependant;
4925
+ Document.registerProcessor = (dependant) => {
4926
+ Processor = dependant;
4593
4927
  };
4594
- module.exports = Document$4;
4595
- Document$4.default = Document$4;
4596
- }) });
4928
+ module.exports = Document;
4929
+ Document.default = Document;
4930
+ }));
4597
4931
 
4598
4932
  //#endregion
4599
4933
  //#region ../../node_modules/postcss/node_modules/nanoid/non-secure/index.cjs
4600
- var require_non_secure = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/node_modules/nanoid/non-secure/index.cjs": ((exports, module) => {
4934
+ var require_non_secure = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4601
4935
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
4602
4936
  let customAlphabet = (alphabet, defaultSize = 21) => {
4603
4937
  return (size = defaultSize) => {
4604
4938
  let id = "";
4605
4939
  let i = size | 0;
4606
- while (i--) id += alphabet[Math.random() * alphabet.length | 0];
4940
+ while (i-- > 0) id += alphabet[Math.random() * alphabet.length | 0];
4607
4941
  return id;
4608
4942
  };
4609
4943
  };
4610
- let nanoid$1 = (size = 21) => {
4944
+ let nanoid = (size = 21) => {
4611
4945
  let id = "";
4612
4946
  let i = size | 0;
4613
- while (i--) id += urlAlphabet[Math.random() * 64 | 0];
4947
+ while (i-- > 0) id += urlAlphabet[Math.random() * 64 | 0];
4614
4948
  return id;
4615
4949
  };
4616
4950
  module.exports = {
4617
- nanoid: nanoid$1,
4951
+ nanoid,
4618
4952
  customAlphabet
4619
4953
  };
4620
- }) });
4954
+ }));
4621
4955
 
4622
4956
  //#endregion
4623
4957
  //#region ../../node_modules/source-map-js/lib/base64.js
4624
- var require_base64 = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/base64.js": ((exports) => {
4958
+ var require_base64 = /* @__PURE__ */ __commonJSMin(((exports) => {
4625
4959
  var intToCharMap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
4626
4960
  /**
4627
4961
  * Encode an integer in the range of 0 to 63 to a single base 64 digit.
@@ -4652,11 +4986,11 @@ var require_base64 = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map
4652
4986
  if (charCode == slash) return 63;
4653
4987
  return -1;
4654
4988
  };
4655
- }) });
4989
+ }));
4656
4990
 
4657
4991
  //#endregion
4658
4992
  //#region ../../node_modules/source-map-js/lib/base64-vlq.js
4659
- var require_base64_vlq = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/base64-vlq.js": ((exports) => {
4993
+ var require_base64_vlq = /* @__PURE__ */ __commonJSMin(((exports) => {
4660
4994
  var base64 = require_base64();
4661
4995
  var VLQ_BASE_SHIFT = 5;
4662
4996
  var VLQ_BASE = 1 << VLQ_BASE_SHIFT;
@@ -4718,11 +5052,11 @@ var require_base64_vlq = /* @__PURE__ */ __commonJS({ "../../node_modules/source
4718
5052
  aOutParam.value = fromVLQSigned(result);
4719
5053
  aOutParam.rest = aIndex;
4720
5054
  };
4721
- }) });
5055
+ }));
4722
5056
 
4723
5057
  //#endregion
4724
5058
  //#region ../../node_modules/source-map-js/lib/util.js
4725
- var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/util.js": ((exports) => {
5059
+ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
4726
5060
  /**
4727
5061
  * This is a helper function for getting values from parameter/options
4728
5062
  * objects.
@@ -4801,47 +5135,49 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-j
4801
5135
  *
4802
5136
  * @param aPath The path or url to normalize.
4803
5137
  */
4804
- var normalize = lruMemoize(function normalize$1(aPath) {
4805
- var path$2 = aPath;
5138
+ var normalize = lruMemoize(function normalize(aPath) {
5139
+ var path = aPath;
4806
5140
  var url = urlParse(aPath);
4807
5141
  if (url) {
4808
5142
  if (!url.path) return aPath;
4809
- path$2 = url.path;
5143
+ path = url.path;
4810
5144
  }
4811
- var isAbsolute$2 = exports.isAbsolute(path$2);
5145
+ var isAbsolute = exports.isAbsolute(path);
4812
5146
  var parts = [];
4813
5147
  var start = 0;
4814
5148
  var i = 0;
4815
5149
  while (true) {
4816
5150
  start = i;
4817
- i = path$2.indexOf("/", start);
5151
+ i = path.indexOf("/", start);
4818
5152
  if (i === -1) {
4819
- parts.push(path$2.slice(start));
5153
+ parts.push(path.slice(start));
4820
5154
  break;
4821
5155
  } else {
4822
- parts.push(path$2.slice(start, i));
4823
- while (i < path$2.length && path$2[i] === "/") i++;
5156
+ parts.push(path.slice(start, i));
5157
+ while (i < path.length && path[i] === "/") i++;
4824
5158
  }
4825
5159
  }
4826
5160
  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {
4827
5161
  part = parts[i];
4828
5162
  if (part === ".") parts.splice(i, 1);
4829
5163
  else if (part === "..") up++;
4830
- else if (up > 0) if (part === "") {
4831
- parts.splice(i + 1, up);
4832
- up = 0;
4833
- } else {
4834
- parts.splice(i, 2);
4835
- up--;
5164
+ else if (up > 0) {
5165
+ if (part === "") {
5166
+ parts.splice(i + 1, up);
5167
+ up = 0;
5168
+ } else {
5169
+ parts.splice(i, 2);
5170
+ up--;
5171
+ }
4836
5172
  }
4837
5173
  }
4838
- path$2 = parts.join("/");
4839
- if (path$2 === "") path$2 = isAbsolute$2 ? "/" : ".";
5174
+ path = parts.join("/");
5175
+ if (path === "") path = isAbsolute ? "/" : ".";
4840
5176
  if (url) {
4841
- url.path = path$2;
5177
+ url.path = path;
4842
5178
  return urlGenerate(url);
4843
5179
  }
4844
- return path$2;
5180
+ return path;
4845
5181
  });
4846
5182
  exports.normalize = normalize;
4847
5183
  /**
@@ -4860,7 +5196,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-j
4860
5196
  * - Otherwise the two paths are joined with a slash.
4861
5197
  * - Joining for example 'http://' and 'www.example.com' is also supported.
4862
5198
  */
4863
- function join$3(aRoot, aPath) {
5199
+ function join(aRoot, aPath) {
4864
5200
  if (aRoot === "") aRoot = ".";
4865
5201
  if (aPath === "") aPath = ".";
4866
5202
  var aPathUrl = urlParse(aPath);
@@ -4882,7 +5218,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-j
4882
5218
  }
4883
5219
  return joined;
4884
5220
  }
4885
- exports.join = join$3;
5221
+ exports.join = join;
4886
5222
  exports.isAbsolute = function(aPath) {
4887
5223
  return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
4888
5224
  };
@@ -4892,7 +5228,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-j
4892
5228
  * @param aRoot The root path or URL.
4893
5229
  * @param aPath The path or URL to be made relative to aRoot.
4894
5230
  */
4895
- function relative$3(aRoot, aPath) {
5231
+ function relative(aRoot, aPath) {
4896
5232
  if (aRoot === "") aRoot = ".";
4897
5233
  aRoot = aRoot.replace(/\/$/, "");
4898
5234
  var level = 0;
@@ -4905,7 +5241,7 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-j
4905
5241
  }
4906
5242
  return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
4907
5243
  }
4908
- exports.relative = relative$3;
5244
+ exports.relative = relative;
4909
5245
  var supportsNullProto = function() {
4910
5246
  return !("__proto__" in Object.create(null));
4911
5247
  }();
@@ -5059,17 +5395,17 @@ var require_util = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-j
5059
5395
  var index = parsed.path.lastIndexOf("/");
5060
5396
  if (index >= 0) parsed.path = parsed.path.substring(0, index + 1);
5061
5397
  }
5062
- sourceURL = join$3(urlGenerate(parsed), sourceURL);
5398
+ sourceURL = join(urlGenerate(parsed), sourceURL);
5063
5399
  }
5064
5400
  return normalize(sourceURL);
5065
5401
  }
5066
5402
  exports.computeSourceURL = computeSourceURL;
5067
- }) });
5403
+ }));
5068
5404
 
5069
5405
  //#endregion
5070
5406
  //#region ../../node_modules/source-map-js/lib/array-set.js
5071
- var require_array_set = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/array-set.js": ((exports) => {
5072
- var util$4 = require_util();
5407
+ var require_array_set = /* @__PURE__ */ __commonJSMin(((exports) => {
5408
+ var util = require_util();
5073
5409
  var has = Object.prototype.hasOwnProperty;
5074
5410
  var hasNativeMap = typeof Map !== "undefined";
5075
5411
  /**
@@ -5078,15 +5414,15 @@ var require_array_set = /* @__PURE__ */ __commonJS({ "../../node_modules/source-
5078
5414
  * element is O(1). Removing elements from the set is not supported. Only
5079
5415
  * strings are supported for membership.
5080
5416
  */
5081
- function ArraySet$2() {
5417
+ function ArraySet() {
5082
5418
  this._array = [];
5083
5419
  this._set = hasNativeMap ? /* @__PURE__ */ new Map() : Object.create(null);
5084
5420
  }
5085
5421
  /**
5086
5422
  * Static method for creating ArraySet instances from an existing array.
5087
5423
  */
5088
- ArraySet$2.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
5089
- var set = new ArraySet$2();
5424
+ ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
5425
+ var set = new ArraySet();
5090
5426
  for (var i = 0, len = aArray.length; i < len; i++) set.add(aArray[i], aAllowDuplicates);
5091
5427
  return set;
5092
5428
  };
@@ -5096,7 +5432,7 @@ var require_array_set = /* @__PURE__ */ __commonJS({ "../../node_modules/source-
5096
5432
  *
5097
5433
  * @returns Number
5098
5434
  */
5099
- ArraySet$2.prototype.size = function ArraySet_size() {
5435
+ ArraySet.prototype.size = function ArraySet_size() {
5100
5436
  return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;
5101
5437
  };
5102
5438
  /**
@@ -5104,23 +5440,25 @@ var require_array_set = /* @__PURE__ */ __commonJS({ "../../node_modules/source-
5104
5440
  *
5105
5441
  * @param String aStr
5106
5442
  */
5107
- ArraySet$2.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
5108
- var sStr = hasNativeMap ? aStr : util$4.toSetString(aStr);
5443
+ ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {
5444
+ var sStr = hasNativeMap ? aStr : util.toSetString(aStr);
5109
5445
  var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);
5110
5446
  var idx = this._array.length;
5111
5447
  if (!isDuplicate || aAllowDuplicates) this._array.push(aStr);
5112
- if (!isDuplicate) if (hasNativeMap) this._set.set(aStr, idx);
5113
- else this._set[sStr] = idx;
5448
+ if (!isDuplicate) {
5449
+ if (hasNativeMap) this._set.set(aStr, idx);
5450
+ else this._set[sStr] = idx;
5451
+ }
5114
5452
  };
5115
5453
  /**
5116
5454
  * Is the given string a member of this set?
5117
5455
  *
5118
5456
  * @param String aStr
5119
5457
  */
5120
- ArraySet$2.prototype.has = function ArraySet_has(aStr) {
5458
+ ArraySet.prototype.has = function ArraySet_has(aStr) {
5121
5459
  if (hasNativeMap) return this._set.has(aStr);
5122
5460
  else {
5123
- var sStr = util$4.toSetString(aStr);
5461
+ var sStr = util.toSetString(aStr);
5124
5462
  return has.call(this._set, sStr);
5125
5463
  }
5126
5464
  };
@@ -5129,12 +5467,12 @@ var require_array_set = /* @__PURE__ */ __commonJS({ "../../node_modules/source-
5129
5467
  *
5130
5468
  * @param String aStr
5131
5469
  */
5132
- ArraySet$2.prototype.indexOf = function ArraySet_indexOf(aStr) {
5470
+ ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {
5133
5471
  if (hasNativeMap) {
5134
5472
  var idx = this._set.get(aStr);
5135
5473
  if (idx >= 0) return idx;
5136
5474
  } else {
5137
- var sStr = util$4.toSetString(aStr);
5475
+ var sStr = util.toSetString(aStr);
5138
5476
  if (has.call(this._set, sStr)) return this._set[sStr];
5139
5477
  }
5140
5478
  throw new Error("\"" + aStr + "\" is not in the set.");
@@ -5144,7 +5482,7 @@ var require_array_set = /* @__PURE__ */ __commonJS({ "../../node_modules/source-
5144
5482
  *
5145
5483
  * @param Number aIdx
5146
5484
  */
5147
- ArraySet$2.prototype.at = function ArraySet_at(aIdx) {
5485
+ ArraySet.prototype.at = function ArraySet_at(aIdx) {
5148
5486
  if (aIdx >= 0 && aIdx < this._array.length) return this._array[aIdx];
5149
5487
  throw new Error("No element indexed by " + aIdx);
5150
5488
  };
@@ -5153,16 +5491,16 @@ var require_array_set = /* @__PURE__ */ __commonJS({ "../../node_modules/source-
5153
5491
  * indicated by indexOf). Note that this is a copy of the internal array used
5154
5492
  * for storing the members so that no one can mess with internal state.
5155
5493
  */
5156
- ArraySet$2.prototype.toArray = function ArraySet_toArray() {
5494
+ ArraySet.prototype.toArray = function ArraySet_toArray() {
5157
5495
  return this._array.slice();
5158
5496
  };
5159
- exports.ArraySet = ArraySet$2;
5160
- }) });
5497
+ exports.ArraySet = ArraySet;
5498
+ }));
5161
5499
 
5162
5500
  //#endregion
5163
5501
  //#region ../../node_modules/source-map-js/lib/mapping-list.js
5164
- var require_mapping_list = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/mapping-list.js": ((exports) => {
5165
- var util$3 = require_util();
5502
+ var require_mapping_list = /* @__PURE__ */ __commonJSMin(((exports) => {
5503
+ var util = require_util();
5166
5504
  /**
5167
5505
  * Determine whether mappingB is after mappingA with respect to generated
5168
5506
  * position.
@@ -5172,14 +5510,14 @@ var require_mapping_list = /* @__PURE__ */ __commonJS({ "../../node_modules/sour
5172
5510
  var lineB = mappingB.generatedLine;
5173
5511
  var columnA = mappingA.generatedColumn;
5174
5512
  var columnB = mappingB.generatedColumn;
5175
- return lineB > lineA || lineB == lineA && columnB >= columnA || util$3.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
5513
+ return lineB > lineA || lineB == lineA && columnB >= columnA || util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;
5176
5514
  }
5177
5515
  /**
5178
5516
  * A data structure to provide a sorted view of accumulated mappings in a
5179
5517
  * performance conscious manner. It trades a neglibable overhead in general
5180
5518
  * case for a large speedup in case of mappings being added in order.
5181
5519
  */
5182
- function MappingList$1() {
5520
+ function MappingList() {
5183
5521
  this._array = [];
5184
5522
  this._sorted = true;
5185
5523
  this._last = {
@@ -5193,7 +5531,7 @@ var require_mapping_list = /* @__PURE__ */ __commonJS({ "../../node_modules/sour
5193
5531
  *
5194
5532
  * NOTE: The order of the mappings is NOT guaranteed.
5195
5533
  */
5196
- MappingList$1.prototype.unsortedForEach = function MappingList_forEach(aCallback, aThisArg) {
5534
+ MappingList.prototype.unsortedForEach = function MappingList_forEach(aCallback, aThisArg) {
5197
5535
  this._array.forEach(aCallback, aThisArg);
5198
5536
  };
5199
5537
  /**
@@ -5201,7 +5539,7 @@ var require_mapping_list = /* @__PURE__ */ __commonJS({ "../../node_modules/sour
5201
5539
  *
5202
5540
  * @param Object aMapping
5203
5541
  */
5204
- MappingList$1.prototype.add = function MappingList_add(aMapping) {
5542
+ MappingList.prototype.add = function MappingList_add(aMapping) {
5205
5543
  if (generatedPositionAfter(this._last, aMapping)) {
5206
5544
  this._last = aMapping;
5207
5545
  this._array.push(aMapping);
@@ -5219,22 +5557,22 @@ var require_mapping_list = /* @__PURE__ */ __commonJS({ "../../node_modules/sour
5219
5557
  * an immutable borrow. If you want to take ownership, you must make your own
5220
5558
  * copy.
5221
5559
  */
5222
- MappingList$1.prototype.toArray = function MappingList_toArray() {
5560
+ MappingList.prototype.toArray = function MappingList_toArray() {
5223
5561
  if (!this._sorted) {
5224
- this._array.sort(util$3.compareByGeneratedPositionsInflated);
5562
+ this._array.sort(util.compareByGeneratedPositionsInflated);
5225
5563
  this._sorted = true;
5226
5564
  }
5227
5565
  return this._array;
5228
5566
  };
5229
- exports.MappingList = MappingList$1;
5230
- }) });
5567
+ exports.MappingList = MappingList;
5568
+ }));
5231
5569
 
5232
5570
  //#endregion
5233
5571
  //#region ../../node_modules/source-map-js/lib/source-map-generator.js
5234
- var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/source-map-generator.js": ((exports) => {
5235
- var base64VLQ$1 = require_base64_vlq();
5236
- var util$2 = require_util();
5237
- var ArraySet$1 = require_array_set().ArraySet;
5572
+ var require_source_map_generator = /* @__PURE__ */ __commonJSMin(((exports) => {
5573
+ var base64VLQ = require_base64_vlq();
5574
+ var util = require_util();
5575
+ var ArraySet = require_array_set().ArraySet;
5238
5576
  var MappingList = require_mapping_list().MappingList;
5239
5577
  /**
5240
5578
  * An instance of the SourceMapGenerator represents a source map which is
@@ -5244,26 +5582,26 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5244
5582
  * - file: The filename of the generated source.
5245
5583
  * - sourceRoot: A root for all relative URLs in this source map.
5246
5584
  */
5247
- function SourceMapGenerator$4(aArgs) {
5585
+ function SourceMapGenerator(aArgs) {
5248
5586
  if (!aArgs) aArgs = {};
5249
- this._file = util$2.getArg(aArgs, "file", null);
5250
- this._sourceRoot = util$2.getArg(aArgs, "sourceRoot", null);
5251
- this._skipValidation = util$2.getArg(aArgs, "skipValidation", false);
5252
- this._ignoreInvalidMapping = util$2.getArg(aArgs, "ignoreInvalidMapping", false);
5253
- this._sources = new ArraySet$1();
5254
- this._names = new ArraySet$1();
5587
+ this._file = util.getArg(aArgs, "file", null);
5588
+ this._sourceRoot = util.getArg(aArgs, "sourceRoot", null);
5589
+ this._skipValidation = util.getArg(aArgs, "skipValidation", false);
5590
+ this._ignoreInvalidMapping = util.getArg(aArgs, "ignoreInvalidMapping", false);
5591
+ this._sources = new ArraySet();
5592
+ this._names = new ArraySet();
5255
5593
  this._mappings = new MappingList();
5256
5594
  this._sourcesContents = null;
5257
5595
  }
5258
- SourceMapGenerator$4.prototype._version = 3;
5596
+ SourceMapGenerator.prototype._version = 3;
5259
5597
  /**
5260
5598
  * Creates a new SourceMapGenerator based on a SourceMapConsumer
5261
5599
  *
5262
5600
  * @param aSourceMapConsumer The SourceMap.
5263
5601
  */
5264
- SourceMapGenerator$4.fromSourceMap = function SourceMapGenerator_fromSourceMap(aSourceMapConsumer, generatorOps) {
5602
+ SourceMapGenerator.fromSourceMap = function SourceMapGenerator_fromSourceMap(aSourceMapConsumer, generatorOps) {
5265
5603
  var sourceRoot = aSourceMapConsumer.sourceRoot;
5266
- var generator = new SourceMapGenerator$4(Object.assign(generatorOps || {}, {
5604
+ var generator = new SourceMapGenerator(Object.assign(generatorOps || {}, {
5267
5605
  file: aSourceMapConsumer.file,
5268
5606
  sourceRoot
5269
5607
  }));
@@ -5274,7 +5612,7 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5274
5612
  } };
5275
5613
  if (mapping.source != null) {
5276
5614
  newMapping.source = mapping.source;
5277
- if (sourceRoot != null) newMapping.source = util$2.relative(sourceRoot, newMapping.source);
5615
+ if (sourceRoot != null) newMapping.source = util.relative(sourceRoot, newMapping.source);
5278
5616
  newMapping.original = {
5279
5617
  line: mapping.originalLine,
5280
5618
  column: mapping.originalColumn
@@ -5285,7 +5623,7 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5285
5623
  });
5286
5624
  aSourceMapConsumer.sources.forEach(function(sourceFile) {
5287
5625
  var sourceRelative = sourceFile;
5288
- if (sourceRoot !== null) sourceRelative = util$2.relative(sourceRoot, sourceFile);
5626
+ if (sourceRoot !== null) sourceRelative = util.relative(sourceRoot, sourceFile);
5289
5627
  if (!generator._sources.has(sourceRelative)) generator._sources.add(sourceRelative);
5290
5628
  var content = aSourceMapConsumer.sourceContentFor(sourceFile);
5291
5629
  if (content != null) generator.setSourceContent(sourceFile, content);
@@ -5302,11 +5640,11 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5302
5640
  * - source: The original source file (relative to the sourceRoot).
5303
5641
  * - name: An optional original token name for this mapping.
5304
5642
  */
5305
- SourceMapGenerator$4.prototype.addMapping = function SourceMapGenerator_addMapping(aArgs) {
5306
- var generated = util$2.getArg(aArgs, "generated");
5307
- var original = util$2.getArg(aArgs, "original", null);
5308
- var source = util$2.getArg(aArgs, "source", null);
5309
- var name = util$2.getArg(aArgs, "name", null);
5643
+ SourceMapGenerator.prototype.addMapping = function SourceMapGenerator_addMapping(aArgs) {
5644
+ var generated = util.getArg(aArgs, "generated");
5645
+ var original = util.getArg(aArgs, "original", null);
5646
+ var source = util.getArg(aArgs, "source", null);
5647
+ var name = util.getArg(aArgs, "name", null);
5310
5648
  if (!this._skipValidation) {
5311
5649
  if (this._validateMapping(generated, original, source, name) === false) return;
5312
5650
  }
@@ -5330,14 +5668,14 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5330
5668
  /**
5331
5669
  * Set the source content for a source file.
5332
5670
  */
5333
- SourceMapGenerator$4.prototype.setSourceContent = function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {
5671
+ SourceMapGenerator.prototype.setSourceContent = function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {
5334
5672
  var source = aSourceFile;
5335
- if (this._sourceRoot != null) source = util$2.relative(this._sourceRoot, source);
5673
+ if (this._sourceRoot != null) source = util.relative(this._sourceRoot, source);
5336
5674
  if (aSourceContent != null) {
5337
5675
  if (!this._sourcesContents) this._sourcesContents = Object.create(null);
5338
- this._sourcesContents[util$2.toSetString(source)] = aSourceContent;
5676
+ this._sourcesContents[util.toSetString(source)] = aSourceContent;
5339
5677
  } else if (this._sourcesContents) {
5340
- delete this._sourcesContents[util$2.toSetString(source)];
5678
+ delete this._sourcesContents[util.toSetString(source)];
5341
5679
  if (Object.keys(this._sourcesContents).length === 0) this._sourcesContents = null;
5342
5680
  }
5343
5681
  };
@@ -5357,16 +5695,16 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5357
5695
  * paths. If so, those relative source paths need to be rewritten
5358
5696
  * relative to the SourceMapGenerator.
5359
5697
  */
5360
- SourceMapGenerator$4.prototype.applySourceMap = function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
5698
+ SourceMapGenerator.prototype.applySourceMap = function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {
5361
5699
  var sourceFile = aSourceFile;
5362
5700
  if (aSourceFile == null) {
5363
5701
  if (aSourceMapConsumer.file == null) throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's \"file\" property. Both were omitted.");
5364
5702
  sourceFile = aSourceMapConsumer.file;
5365
5703
  }
5366
5704
  var sourceRoot = this._sourceRoot;
5367
- if (sourceRoot != null) sourceFile = util$2.relative(sourceRoot, sourceFile);
5368
- var newSources = new ArraySet$1();
5369
- var newNames = new ArraySet$1();
5705
+ if (sourceRoot != null) sourceFile = util.relative(sourceRoot, sourceFile);
5706
+ var newSources = new ArraySet();
5707
+ var newNames = new ArraySet();
5370
5708
  this._mappings.unsortedForEach(function(mapping) {
5371
5709
  if (mapping.source === sourceFile && mapping.originalLine != null) {
5372
5710
  var original = aSourceMapConsumer.originalPositionFor({
@@ -5375,8 +5713,8 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5375
5713
  });
5376
5714
  if (original.source != null) {
5377
5715
  mapping.source = original.source;
5378
- if (aSourceMapPath != null) mapping.source = util$2.join(aSourceMapPath, mapping.source);
5379
- if (sourceRoot != null) mapping.source = util$2.relative(sourceRoot, mapping.source);
5716
+ if (aSourceMapPath != null) mapping.source = util.join(aSourceMapPath, mapping.source);
5717
+ if (sourceRoot != null) mapping.source = util.relative(sourceRoot, mapping.source);
5380
5718
  mapping.originalLine = original.line;
5381
5719
  mapping.originalColumn = original.column;
5382
5720
  if (original.name != null) mapping.name = original.name;
@@ -5389,12 +5727,12 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5389
5727
  }, this);
5390
5728
  this._sources = newSources;
5391
5729
  this._names = newNames;
5392
- aSourceMapConsumer.sources.forEach(function(sourceFile$1) {
5393
- var content = aSourceMapConsumer.sourceContentFor(sourceFile$1);
5730
+ aSourceMapConsumer.sources.forEach(function(sourceFile) {
5731
+ var content = aSourceMapConsumer.sourceContentFor(sourceFile);
5394
5732
  if (content != null) {
5395
- if (aSourceMapPath != null) sourceFile$1 = util$2.join(aSourceMapPath, sourceFile$1);
5396
- if (sourceRoot != null) sourceFile$1 = util$2.relative(sourceRoot, sourceFile$1);
5397
- this.setSourceContent(sourceFile$1, content);
5733
+ if (aSourceMapPath != null) sourceFile = util.join(aSourceMapPath, sourceFile);
5734
+ if (sourceRoot != null) sourceFile = util.relative(sourceRoot, sourceFile);
5735
+ this.setSourceContent(sourceFile, content);
5398
5736
  }
5399
5737
  }, this);
5400
5738
  };
@@ -5409,7 +5747,7 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5409
5747
  * To maintain consistency, we validate that any new mapping being added falls
5410
5748
  * in to one of these categories.
5411
5749
  */
5412
- SourceMapGenerator$4.prototype._validateMapping = function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, aName) {
5750
+ SourceMapGenerator.prototype._validateMapping = function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, aName) {
5413
5751
  if (aOriginal && typeof aOriginal.line !== "number" && typeof aOriginal.column !== "number") {
5414
5752
  var message = "original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";
5415
5753
  if (this._ignoreInvalidMapping) {
@@ -5436,7 +5774,7 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5436
5774
  * Serialize the accumulated mappings in to the stream of base 64 VLQs
5437
5775
  * specified by the source map format.
5438
5776
  */
5439
- SourceMapGenerator$4.prototype._serializeMappings = function SourceMapGenerator_serializeMappings() {
5777
+ SourceMapGenerator.prototype._serializeMappings = function SourceMapGenerator_serializeMappings() {
5440
5778
  var previousGeneratedColumn = 0;
5441
5779
  var previousGeneratedLine = 1;
5442
5780
  var previousOriginalColumn = 0;
@@ -5459,22 +5797,22 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5459
5797
  previousGeneratedLine++;
5460
5798
  }
5461
5799
  } else if (i > 0) {
5462
- if (!util$2.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) continue;
5800
+ if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) continue;
5463
5801
  next += ",";
5464
5802
  }
5465
- next += base64VLQ$1.encode(mapping.generatedColumn - previousGeneratedColumn);
5803
+ next += base64VLQ.encode(mapping.generatedColumn - previousGeneratedColumn);
5466
5804
  previousGeneratedColumn = mapping.generatedColumn;
5467
5805
  if (mapping.source != null) {
5468
5806
  sourceIdx = this._sources.indexOf(mapping.source);
5469
- next += base64VLQ$1.encode(sourceIdx - previousSource);
5807
+ next += base64VLQ.encode(sourceIdx - previousSource);
5470
5808
  previousSource = sourceIdx;
5471
- next += base64VLQ$1.encode(mapping.originalLine - 1 - previousOriginalLine);
5809
+ next += base64VLQ.encode(mapping.originalLine - 1 - previousOriginalLine);
5472
5810
  previousOriginalLine = mapping.originalLine - 1;
5473
- next += base64VLQ$1.encode(mapping.originalColumn - previousOriginalColumn);
5811
+ next += base64VLQ.encode(mapping.originalColumn - previousOriginalColumn);
5474
5812
  previousOriginalColumn = mapping.originalColumn;
5475
5813
  if (mapping.name != null) {
5476
5814
  nameIdx = this._names.indexOf(mapping.name);
5477
- next += base64VLQ$1.encode(nameIdx - previousName);
5815
+ next += base64VLQ.encode(nameIdx - previousName);
5478
5816
  previousName = nameIdx;
5479
5817
  }
5480
5818
  }
@@ -5482,18 +5820,18 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5482
5820
  }
5483
5821
  return result;
5484
5822
  };
5485
- SourceMapGenerator$4.prototype._generateSourcesContent = function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {
5823
+ SourceMapGenerator.prototype._generateSourcesContent = function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {
5486
5824
  return aSources.map(function(source) {
5487
5825
  if (!this._sourcesContents) return null;
5488
- if (aSourceRoot != null) source = util$2.relative(aSourceRoot, source);
5489
- var key = util$2.toSetString(source);
5826
+ if (aSourceRoot != null) source = util.relative(aSourceRoot, source);
5827
+ var key = util.toSetString(source);
5490
5828
  return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) ? this._sourcesContents[key] : null;
5491
5829
  }, this);
5492
5830
  };
5493
5831
  /**
5494
5832
  * Externalize the source map.
5495
5833
  */
5496
- SourceMapGenerator$4.prototype.toJSON = function SourceMapGenerator_toJSON() {
5834
+ SourceMapGenerator.prototype.toJSON = function SourceMapGenerator_toJSON() {
5497
5835
  var map = {
5498
5836
  version: this._version,
5499
5837
  sources: this._sources.toArray(),
@@ -5508,15 +5846,15 @@ var require_source_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modu
5508
5846
  /**
5509
5847
  * Render the source map being generated to a string.
5510
5848
  */
5511
- SourceMapGenerator$4.prototype.toString = function SourceMapGenerator_toString() {
5849
+ SourceMapGenerator.prototype.toString = function SourceMapGenerator_toString() {
5512
5850
  return JSON.stringify(this.toJSON());
5513
5851
  };
5514
- exports.SourceMapGenerator = SourceMapGenerator$4;
5515
- }) });
5852
+ exports.SourceMapGenerator = SourceMapGenerator;
5853
+ }));
5516
5854
 
5517
5855
  //#endregion
5518
5856
  //#region ../../node_modules/source-map-js/lib/binary-search.js
5519
- var require_binary_search = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/binary-search.js": ((exports) => {
5857
+ var require_binary_search = /* @__PURE__ */ __commonJSMin(((exports) => {
5520
5858
  exports.GREATEST_LOWER_BOUND = 1;
5521
5859
  exports.LEAST_UPPER_BOUND = 2;
5522
5860
  /**
@@ -5574,11 +5912,11 @@ var require_binary_search = /* @__PURE__ */ __commonJS({ "../../node_modules/sou
5574
5912
  }
5575
5913
  return index;
5576
5914
  };
5577
- }) });
5915
+ }));
5578
5916
 
5579
5917
  //#endregion
5580
5918
  //#region ../../node_modules/source-map-js/lib/quick-sort.js
5581
- var require_quick_sort = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/quick-sort.js": ((exports) => {
5919
+ var require_quick_sort = /* @__PURE__ */ __commonJSMin(((exports) => {
5582
5920
  function SortTemplate(comparator) {
5583
5921
  /**
5584
5922
  * Swap the elements indexed by `x` and `y` in the array `ary`.
@@ -5618,20 +5956,20 @@ var require_quick_sort = /* @__PURE__ */ __commonJS({ "../../node_modules/source
5618
5956
  * @param {Number} r
5619
5957
  * End index of the array
5620
5958
  */
5621
- function doQuickSort(ary, comparator$1, p$1, r) {
5622
- if (p$1 < r) {
5623
- var pivotIndex = randomIntInRange(p$1, r);
5624
- var i = p$1 - 1;
5959
+ function doQuickSort(ary, comparator, p, r) {
5960
+ if (p < r) {
5961
+ var pivotIndex = randomIntInRange(p, r);
5962
+ var i = p - 1;
5625
5963
  swap(ary, pivotIndex, r);
5626
5964
  var pivot = ary[r];
5627
- for (var j = p$1; j < r; j++) if (comparator$1(ary[j], pivot, false) <= 0) {
5965
+ for (var j = p; j < r; j++) if (comparator(ary[j], pivot, false) <= 0) {
5628
5966
  i += 1;
5629
5967
  swap(ary, i, j);
5630
5968
  }
5631
5969
  swap(ary, i + 1, j);
5632
5970
  var q = i + 1;
5633
- doQuickSort(ary, comparator$1, p$1, q - 1);
5634
- doQuickSort(ary, comparator$1, q + 1, r);
5971
+ doQuickSort(ary, comparator, p, q - 1);
5972
+ doQuickSort(ary, comparator, q + 1, r);
5635
5973
  }
5636
5974
  }
5637
5975
  return doQuickSort;
@@ -5657,30 +5995,30 @@ var require_quick_sort = /* @__PURE__ */ __commonJS({ "../../node_modules/source
5657
5995
  }
5658
5996
  doQuickSort(ary, comparator, start, ary.length - 1);
5659
5997
  };
5660
- }) });
5998
+ }));
5661
5999
 
5662
6000
  //#endregion
5663
6001
  //#region ../../node_modules/source-map-js/lib/source-map-consumer.js
5664
- var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/source-map-consumer.js": ((exports) => {
5665
- var util$1 = require_util();
6002
+ var require_source_map_consumer = /* @__PURE__ */ __commonJSMin(((exports) => {
6003
+ var util = require_util();
5666
6004
  var binarySearch = require_binary_search();
5667
6005
  var ArraySet = require_array_set().ArraySet;
5668
6006
  var base64VLQ = require_base64_vlq();
5669
6007
  var quickSort = require_quick_sort().quickSort;
5670
- function SourceMapConsumer$3(aSourceMap, aSourceMapURL) {
6008
+ function SourceMapConsumer(aSourceMap, aSourceMapURL) {
5671
6009
  var sourceMap = aSourceMap;
5672
- if (typeof aSourceMap === "string") sourceMap = util$1.parseSourceMapInput(aSourceMap);
6010
+ if (typeof aSourceMap === "string") sourceMap = util.parseSourceMapInput(aSourceMap);
5673
6011
  return sourceMap.sections != null ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL) : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);
5674
6012
  }
5675
- SourceMapConsumer$3.fromSourceMap = function(aSourceMap, aSourceMapURL) {
6013
+ SourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {
5676
6014
  return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
5677
6015
  };
5678
6016
  /**
5679
6017
  * The version of the source mapping spec that we are consuming.
5680
6018
  */
5681
- SourceMapConsumer$3.prototype._version = 3;
5682
- SourceMapConsumer$3.prototype.__generatedMappings = null;
5683
- Object.defineProperty(SourceMapConsumer$3.prototype, "_generatedMappings", {
6019
+ SourceMapConsumer.prototype._version = 3;
6020
+ SourceMapConsumer.prototype.__generatedMappings = null;
6021
+ Object.defineProperty(SourceMapConsumer.prototype, "_generatedMappings", {
5684
6022
  configurable: true,
5685
6023
  enumerable: true,
5686
6024
  get: function() {
@@ -5688,8 +6026,8 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5688
6026
  return this.__generatedMappings;
5689
6027
  }
5690
6028
  });
5691
- SourceMapConsumer$3.prototype.__originalMappings = null;
5692
- Object.defineProperty(SourceMapConsumer$3.prototype, "_originalMappings", {
6029
+ SourceMapConsumer.prototype.__originalMappings = null;
6030
+ Object.defineProperty(SourceMapConsumer.prototype, "_originalMappings", {
5693
6031
  configurable: true,
5694
6032
  enumerable: true,
5695
6033
  get: function() {
@@ -5697,7 +6035,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5697
6035
  return this.__originalMappings;
5698
6036
  }
5699
6037
  });
5700
- SourceMapConsumer$3.prototype._charIsMappingSeparator = function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
6038
+ SourceMapConsumer.prototype._charIsMappingSeparator = function SourceMapConsumer_charIsMappingSeparator(aStr, index) {
5701
6039
  var c = aStr.charAt(index);
5702
6040
  return c === ";" || c === ",";
5703
6041
  };
@@ -5706,13 +6044,13 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5706
6044
  * query (the ordered arrays in the `this.__generatedMappings` and
5707
6045
  * `this.__originalMappings` properties).
5708
6046
  */
5709
- SourceMapConsumer$3.prototype._parseMappings = function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
6047
+ SourceMapConsumer.prototype._parseMappings = function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {
5710
6048
  throw new Error("Subclasses must implement _parseMappings");
5711
6049
  };
5712
- SourceMapConsumer$3.GENERATED_ORDER = 1;
5713
- SourceMapConsumer$3.ORIGINAL_ORDER = 2;
5714
- SourceMapConsumer$3.GREATEST_LOWER_BOUND = 1;
5715
- SourceMapConsumer$3.LEAST_UPPER_BOUND = 2;
6050
+ SourceMapConsumer.GENERATED_ORDER = 1;
6051
+ SourceMapConsumer.ORIGINAL_ORDER = 2;
6052
+ SourceMapConsumer.GREATEST_LOWER_BOUND = 1;
6053
+ SourceMapConsumer.LEAST_UPPER_BOUND = 2;
5716
6054
  /**
5717
6055
  * Iterate over each mapping between an original source/line/column and a
5718
6056
  * generated line/column in this source map.
@@ -5729,15 +6067,15 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5729
6067
  * order or the original's source/line/column order, respectively. Defaults to
5730
6068
  * `SourceMapConsumer.GENERATED_ORDER`.
5731
6069
  */
5732
- SourceMapConsumer$3.prototype.eachMapping = function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
6070
+ SourceMapConsumer.prototype.eachMapping = function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {
5733
6071
  var context = aContext || null;
5734
- var order = aOrder || SourceMapConsumer$3.GENERATED_ORDER;
6072
+ var order = aOrder || SourceMapConsumer.GENERATED_ORDER;
5735
6073
  var mappings;
5736
6074
  switch (order) {
5737
- case SourceMapConsumer$3.GENERATED_ORDER:
6075
+ case SourceMapConsumer.GENERATED_ORDER:
5738
6076
  mappings = this._generatedMappings;
5739
6077
  break;
5740
- case SourceMapConsumer$3.ORIGINAL_ORDER:
6078
+ case SourceMapConsumer.ORIGINAL_ORDER:
5741
6079
  mappings = this._originalMappings;
5742
6080
  break;
5743
6081
  default: throw new Error("Unknown order of iteration.");
@@ -5750,7 +6088,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5750
6088
  for (var i = 0, n = mappings.length; i < n; i++) {
5751
6089
  var mapping = mappings[i];
5752
6090
  var source = mapping.source === null ? null : sources.at(mapping.source);
5753
- if (source !== null) source = util$1.computeSourceURL(sourceRoot, source, sourceMapURL);
6091
+ if (source !== null) source = util.computeSourceURL(sourceRoot, source, sourceMapURL);
5754
6092
  boundCallback({
5755
6093
  source,
5756
6094
  generatedLine: mapping.generatedLine,
@@ -5783,26 +6121,26 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5783
6121
  * - column: The column number in the generated source, or null.
5784
6122
  * The column number is 0-based.
5785
6123
  */
5786
- SourceMapConsumer$3.prototype.allGeneratedPositionsFor = function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
5787
- var line = util$1.getArg(aArgs, "line");
6124
+ SourceMapConsumer.prototype.allGeneratedPositionsFor = function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {
6125
+ var line = util.getArg(aArgs, "line");
5788
6126
  var needle = {
5789
- source: util$1.getArg(aArgs, "source"),
6127
+ source: util.getArg(aArgs, "source"),
5790
6128
  originalLine: line,
5791
- originalColumn: util$1.getArg(aArgs, "column", 0)
6129
+ originalColumn: util.getArg(aArgs, "column", 0)
5792
6130
  };
5793
6131
  needle.source = this._findSourceIndex(needle.source);
5794
6132
  if (needle.source < 0) return [];
5795
6133
  var mappings = [];
5796
- var index = this._findMapping(needle, this._originalMappings, "originalLine", "originalColumn", util$1.compareByOriginalPositions, binarySearch.LEAST_UPPER_BOUND);
6134
+ var index = this._findMapping(needle, this._originalMappings, "originalLine", "originalColumn", util.compareByOriginalPositions, binarySearch.LEAST_UPPER_BOUND);
5797
6135
  if (index >= 0) {
5798
6136
  var mapping = this._originalMappings[index];
5799
6137
  if (aArgs.column === void 0) {
5800
6138
  var originalLine = mapping.originalLine;
5801
6139
  while (mapping && mapping.originalLine === originalLine) {
5802
6140
  mappings.push({
5803
- line: util$1.getArg(mapping, "generatedLine", null),
5804
- column: util$1.getArg(mapping, "generatedColumn", null),
5805
- lastColumn: util$1.getArg(mapping, "lastGeneratedColumn", null)
6141
+ line: util.getArg(mapping, "generatedLine", null),
6142
+ column: util.getArg(mapping, "generatedColumn", null),
6143
+ lastColumn: util.getArg(mapping, "lastGeneratedColumn", null)
5806
6144
  });
5807
6145
  mapping = this._originalMappings[++index];
5808
6146
  }
@@ -5810,9 +6148,9 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5810
6148
  var originalColumn = mapping.originalColumn;
5811
6149
  while (mapping && mapping.originalLine === line && mapping.originalColumn == originalColumn) {
5812
6150
  mappings.push({
5813
- line: util$1.getArg(mapping, "generatedLine", null),
5814
- column: util$1.getArg(mapping, "generatedColumn", null),
5815
- lastColumn: util$1.getArg(mapping, "lastGeneratedColumn", null)
6151
+ line: util.getArg(mapping, "generatedLine", null),
6152
+ column: util.getArg(mapping, "generatedColumn", null),
6153
+ lastColumn: util.getArg(mapping, "lastGeneratedColumn", null)
5816
6154
  });
5817
6155
  mapping = this._originalMappings[++index];
5818
6156
  }
@@ -5820,7 +6158,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5820
6158
  }
5821
6159
  return mappings;
5822
6160
  };
5823
- exports.SourceMapConsumer = SourceMapConsumer$3;
6161
+ exports.SourceMapConsumer = SourceMapConsumer;
5824
6162
  /**
5825
6163
  * A BasicSourceMapConsumer instance represents a parsed source map which we can
5826
6164
  * query for information about the original file positions by giving it a file
@@ -5857,23 +6195,23 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5857
6195
  */
5858
6196
  function BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {
5859
6197
  var sourceMap = aSourceMap;
5860
- if (typeof aSourceMap === "string") sourceMap = util$1.parseSourceMapInput(aSourceMap);
5861
- var version = util$1.getArg(sourceMap, "version");
5862
- var sources = util$1.getArg(sourceMap, "sources");
5863
- var names = util$1.getArg(sourceMap, "names", []);
5864
- var sourceRoot = util$1.getArg(sourceMap, "sourceRoot", null);
5865
- var sourcesContent = util$1.getArg(sourceMap, "sourcesContent", null);
5866
- var mappings = util$1.getArg(sourceMap, "mappings");
5867
- var file = util$1.getArg(sourceMap, "file", null);
6198
+ if (typeof aSourceMap === "string") sourceMap = util.parseSourceMapInput(aSourceMap);
6199
+ var version = util.getArg(sourceMap, "version");
6200
+ var sources = util.getArg(sourceMap, "sources");
6201
+ var names = util.getArg(sourceMap, "names", []);
6202
+ var sourceRoot = util.getArg(sourceMap, "sourceRoot", null);
6203
+ var sourcesContent = util.getArg(sourceMap, "sourcesContent", null);
6204
+ var mappings = util.getArg(sourceMap, "mappings");
6205
+ var file = util.getArg(sourceMap, "file", null);
5868
6206
  if (version != this._version) throw new Error("Unsupported version: " + version);
5869
- if (sourceRoot) sourceRoot = util$1.normalize(sourceRoot);
5870
- sources = sources.map(String).map(util$1.normalize).map(function(source) {
5871
- return sourceRoot && util$1.isAbsolute(sourceRoot) && util$1.isAbsolute(source) ? util$1.relative(sourceRoot, source) : source;
6207
+ if (sourceRoot) sourceRoot = util.normalize(sourceRoot);
6208
+ sources = sources.map(String).map(util.normalize).map(function(source) {
6209
+ return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) ? util.relative(sourceRoot, source) : source;
5872
6210
  });
5873
6211
  this._names = ArraySet.fromArray(names.map(String), true);
5874
6212
  this._sources = ArraySet.fromArray(sources, true);
5875
6213
  this._absoluteSources = this._sources.toArray().map(function(s) {
5876
- return util$1.computeSourceURL(sourceRoot, s, aSourceMapURL);
6214
+ return util.computeSourceURL(sourceRoot, s, aSourceMapURL);
5877
6215
  });
5878
6216
  this.sourceRoot = sourceRoot;
5879
6217
  this.sourcesContent = sourcesContent;
@@ -5881,18 +6219,18 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5881
6219
  this._sourceMapURL = aSourceMapURL;
5882
6220
  this.file = file;
5883
6221
  }
5884
- BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer$3.prototype);
5885
- BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer$3;
6222
+ BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
6223
+ BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
5886
6224
  /**
5887
6225
  * Utility function to find the index of a source. Returns -1 if not
5888
6226
  * found.
5889
6227
  */
5890
6228
  BasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {
5891
6229
  var relativeSource = aSource;
5892
- if (this.sourceRoot != null) relativeSource = util$1.relative(this.sourceRoot, relativeSource);
6230
+ if (this.sourceRoot != null) relativeSource = util.relative(this.sourceRoot, relativeSource);
5893
6231
  if (this._sources.has(relativeSource)) return this._sources.indexOf(relativeSource);
5894
- var i;
5895
- for (i = 0; i < this._absoluteSources.length; ++i) if (this._absoluteSources[i] == aSource) return i;
6232
+ var i = 0;
6233
+ for (; i < this._absoluteSources.length; ++i) if (this._absoluteSources[i] == aSource) return i;
5896
6234
  return -1;
5897
6235
  };
5898
6236
  /**
@@ -5913,7 +6251,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5913
6251
  smc.file = aSourceMap._file;
5914
6252
  smc._sourceMapURL = aSourceMapURL;
5915
6253
  smc._absoluteSources = smc._sources.toArray().map(function(s) {
5916
- return util$1.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
6254
+ return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);
5917
6255
  });
5918
6256
  var generatedMappings = aSourceMap._mappings.toArray().slice();
5919
6257
  var destGeneratedMappings = smc.__generatedMappings = [];
@@ -5932,7 +6270,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5932
6270
  }
5933
6271
  destGeneratedMappings.push(destMapping);
5934
6272
  }
5935
- quickSort(smc.__originalMappings, util$1.compareByOriginalPositions);
6273
+ quickSort(smc.__originalMappings, util.compareByOriginalPositions);
5936
6274
  return smc;
5937
6275
  };
5938
6276
  /**
@@ -5961,7 +6299,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
5961
6299
  * query (the ordered arrays in the `this.__generatedMappings` and
5962
6300
  * `this.__originalMappings` properties).
5963
6301
  */
5964
- const compareGenerated = util$1.compareByGeneratedPositionsDeflatedNoLine;
6302
+ const compareGenerated = util.compareByGeneratedPositionsDeflatedNoLine;
5965
6303
  function sortGenerated(array, start) {
5966
6304
  let l = array.length;
5967
6305
  let n = array.length - start;
@@ -6041,7 +6379,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6041
6379
  }
6042
6380
  sortGenerated(generatedMappings, subarrayStart);
6043
6381
  this.__generatedMappings = generatedMappings;
6044
- for (var i = 0; i < originalMappings.length; i++) if (originalMappings[i] != null) quickSort(originalMappings[i], util$1.compareByOriginalPositionsNoSource);
6382
+ for (var i = 0; i < originalMappings.length; i++) if (originalMappings[i] != null) quickSort(originalMappings[i], util.compareByOriginalPositionsNoSource);
6045
6383
  this.__originalMappings = [].concat(...originalMappings);
6046
6384
  };
6047
6385
  /**
@@ -6096,24 +6434,24 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6096
6434
  */
6097
6435
  BasicSourceMapConsumer.prototype.originalPositionFor = function SourceMapConsumer_originalPositionFor(aArgs) {
6098
6436
  var needle = {
6099
- generatedLine: util$1.getArg(aArgs, "line"),
6100
- generatedColumn: util$1.getArg(aArgs, "column")
6437
+ generatedLine: util.getArg(aArgs, "line"),
6438
+ generatedColumn: util.getArg(aArgs, "column")
6101
6439
  };
6102
- var index = this._findMapping(needle, this._generatedMappings, "generatedLine", "generatedColumn", util$1.compareByGeneratedPositionsDeflated, util$1.getArg(aArgs, "bias", SourceMapConsumer$3.GREATEST_LOWER_BOUND));
6440
+ var index = this._findMapping(needle, this._generatedMappings, "generatedLine", "generatedColumn", util.compareByGeneratedPositionsDeflated, util.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND));
6103
6441
  if (index >= 0) {
6104
6442
  var mapping = this._generatedMappings[index];
6105
6443
  if (mapping.generatedLine === needle.generatedLine) {
6106
- var source = util$1.getArg(mapping, "source", null);
6444
+ var source = util.getArg(mapping, "source", null);
6107
6445
  if (source !== null) {
6108
6446
  source = this._sources.at(source);
6109
- source = util$1.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
6447
+ source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);
6110
6448
  }
6111
- var name = util$1.getArg(mapping, "name", null);
6449
+ var name = util.getArg(mapping, "name", null);
6112
6450
  if (name !== null) name = this._names.at(name);
6113
6451
  return {
6114
6452
  source,
6115
- line: util$1.getArg(mapping, "originalLine", null),
6116
- column: util$1.getArg(mapping, "originalColumn", null),
6453
+ line: util.getArg(mapping, "originalLine", null),
6454
+ column: util.getArg(mapping, "originalColumn", null),
6117
6455
  name
6118
6456
  };
6119
6457
  }
@@ -6145,9 +6483,9 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6145
6483
  var index = this._findSourceIndex(aSource);
6146
6484
  if (index >= 0) return this.sourcesContent[index];
6147
6485
  var relativeSource = aSource;
6148
- if (this.sourceRoot != null) relativeSource = util$1.relative(this.sourceRoot, relativeSource);
6486
+ if (this.sourceRoot != null) relativeSource = util.relative(this.sourceRoot, relativeSource);
6149
6487
  var url;
6150
- if (this.sourceRoot != null && (url = util$1.urlParse(this.sourceRoot))) {
6488
+ if (this.sourceRoot != null && (url = util.urlParse(this.sourceRoot))) {
6151
6489
  var fileUriAbsPath = relativeSource.replace(/^file:\/\//, "");
6152
6490
  if (url.scheme == "file" && this._sources.has(fileUriAbsPath)) return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)];
6153
6491
  if ((!url.path || url.path == "/") && this._sources.has("/" + relativeSource)) return this.sourcesContent[this._sources.indexOf("/" + relativeSource)];
@@ -6179,7 +6517,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6179
6517
  * The column number is 0-based.
6180
6518
  */
6181
6519
  BasicSourceMapConsumer.prototype.generatedPositionFor = function SourceMapConsumer_generatedPositionFor(aArgs) {
6182
- var source = util$1.getArg(aArgs, "source");
6520
+ var source = util.getArg(aArgs, "source");
6183
6521
  source = this._findSourceIndex(source);
6184
6522
  if (source < 0) return {
6185
6523
  line: null,
@@ -6188,16 +6526,16 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6188
6526
  };
6189
6527
  var needle = {
6190
6528
  source,
6191
- originalLine: util$1.getArg(aArgs, "line"),
6192
- originalColumn: util$1.getArg(aArgs, "column")
6529
+ originalLine: util.getArg(aArgs, "line"),
6530
+ originalColumn: util.getArg(aArgs, "column")
6193
6531
  };
6194
- var index = this._findMapping(needle, this._originalMappings, "originalLine", "originalColumn", util$1.compareByOriginalPositions, util$1.getArg(aArgs, "bias", SourceMapConsumer$3.GREATEST_LOWER_BOUND));
6532
+ var index = this._findMapping(needle, this._originalMappings, "originalLine", "originalColumn", util.compareByOriginalPositions, util.getArg(aArgs, "bias", SourceMapConsumer.GREATEST_LOWER_BOUND));
6195
6533
  if (index >= 0) {
6196
6534
  var mapping = this._originalMappings[index];
6197
6535
  if (mapping.source === needle.source) return {
6198
- line: util$1.getArg(mapping, "generatedLine", null),
6199
- column: util$1.getArg(mapping, "generatedColumn", null),
6200
- lastColumn: util$1.getArg(mapping, "lastGeneratedColumn", null)
6536
+ line: util.getArg(mapping, "generatedLine", null),
6537
+ column: util.getArg(mapping, "generatedColumn", null),
6538
+ lastColumn: util.getArg(mapping, "lastGeneratedColumn", null)
6201
6539
  };
6202
6540
  }
6203
6541
  return {
@@ -6258,9 +6596,9 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6258
6596
  */
6259
6597
  function IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {
6260
6598
  var sourceMap = aSourceMap;
6261
- if (typeof aSourceMap === "string") sourceMap = util$1.parseSourceMapInput(aSourceMap);
6262
- var version = util$1.getArg(sourceMap, "version");
6263
- var sections = util$1.getArg(sourceMap, "sections");
6599
+ if (typeof aSourceMap === "string") sourceMap = util.parseSourceMapInput(aSourceMap);
6600
+ var version = util.getArg(sourceMap, "version");
6601
+ var sections = util.getArg(sourceMap, "sections");
6264
6602
  if (version != this._version) throw new Error("Unsupported version: " + version);
6265
6603
  this._sources = new ArraySet();
6266
6604
  this._names = new ArraySet();
@@ -6270,9 +6608,9 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6270
6608
  };
6271
6609
  this._sections = sections.map(function(s) {
6272
6610
  if (s.url) throw new Error("Support for url field in sections not implemented.");
6273
- var offset = util$1.getArg(s, "offset");
6274
- var offsetLine = util$1.getArg(offset, "line");
6275
- var offsetColumn = util$1.getArg(offset, "column");
6611
+ var offset = util.getArg(s, "offset");
6612
+ var offsetLine = util.getArg(offset, "line");
6613
+ var offsetColumn = util.getArg(offset, "column");
6276
6614
  if (offsetLine < lastOffset.line || offsetLine === lastOffset.line && offsetColumn < lastOffset.column) throw new Error("Section offsets must be ordered and non-overlapping.");
6277
6615
  lastOffset = offset;
6278
6616
  return {
@@ -6280,12 +6618,12 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6280
6618
  generatedLine: offsetLine + 1,
6281
6619
  generatedColumn: offsetColumn + 1
6282
6620
  },
6283
- consumer: new SourceMapConsumer$3(util$1.getArg(s, "map"), aSourceMapURL)
6621
+ consumer: new SourceMapConsumer(util.getArg(s, "map"), aSourceMapURL)
6284
6622
  };
6285
6623
  });
6286
6624
  }
6287
- IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer$3.prototype);
6288
- IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer$3;
6625
+ IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);
6626
+ IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;
6289
6627
  /**
6290
6628
  * The version of the source mapping spec that we are consuming.
6291
6629
  */
@@ -6319,13 +6657,13 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6319
6657
  */
6320
6658
  IndexedSourceMapConsumer.prototype.originalPositionFor = function IndexedSourceMapConsumer_originalPositionFor(aArgs) {
6321
6659
  var needle = {
6322
- generatedLine: util$1.getArg(aArgs, "line"),
6323
- generatedColumn: util$1.getArg(aArgs, "column")
6660
+ generatedLine: util.getArg(aArgs, "line"),
6661
+ generatedColumn: util.getArg(aArgs, "column")
6324
6662
  };
6325
- var sectionIndex = binarySearch.search(needle, this._sections, function(needle$1, section$1) {
6326
- var cmp = needle$1.generatedLine - section$1.generatedOffset.generatedLine;
6663
+ var sectionIndex = binarySearch.search(needle, this._sections, function(needle, section) {
6664
+ var cmp = needle.generatedLine - section.generatedOffset.generatedLine;
6327
6665
  if (cmp) return cmp;
6328
- return needle$1.generatedColumn - section$1.generatedOffset.generatedColumn;
6666
+ return needle.generatedColumn - section.generatedOffset.generatedColumn;
6329
6667
  });
6330
6668
  var section = this._sections[sectionIndex];
6331
6669
  if (!section) return {
@@ -6383,7 +6721,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6383
6721
  IndexedSourceMapConsumer.prototype.generatedPositionFor = function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {
6384
6722
  for (var i = 0; i < this._sections.length; i++) {
6385
6723
  var section = this._sections[i];
6386
- if (section.consumer._findSourceIndex(util$1.getArg(aArgs, "source")) === -1) continue;
6724
+ if (section.consumer._findSourceIndex(util.getArg(aArgs, "source")) === -1) continue;
6387
6725
  var generatedPosition = section.consumer.generatedPositionFor(aArgs);
6388
6726
  if (generatedPosition) return {
6389
6727
  line: generatedPosition.line + (section.generatedOffset.generatedLine - 1),
@@ -6409,7 +6747,7 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6409
6747
  for (var j = 0; j < sectionMappings.length; j++) {
6410
6748
  var mapping = sectionMappings[j];
6411
6749
  var source = section.consumer._sources.at(mapping.source);
6412
- if (source !== null) source = util$1.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
6750
+ if (source !== null) source = util.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);
6413
6751
  this._sources.add(source);
6414
6752
  source = this._sources.indexOf(source);
6415
6753
  var name = null;
@@ -6430,16 +6768,16 @@ var require_source_map_consumer = /* @__PURE__ */ __commonJS({ "../../node_modul
6430
6768
  if (typeof adjustedMapping.originalLine === "number") this.__originalMappings.push(adjustedMapping);
6431
6769
  }
6432
6770
  }
6433
- quickSort(this.__generatedMappings, util$1.compareByGeneratedPositionsDeflated);
6434
- quickSort(this.__originalMappings, util$1.compareByOriginalPositions);
6771
+ quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);
6772
+ quickSort(this.__originalMappings, util.compareByOriginalPositions);
6435
6773
  };
6436
6774
  exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
6437
- }) });
6775
+ }));
6438
6776
 
6439
6777
  //#endregion
6440
6778
  //#region ../../node_modules/source-map-js/lib/source-node.js
6441
- var require_source_node = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/lib/source-node.js": ((exports) => {
6442
- var SourceMapGenerator$3 = require_source_map_generator().SourceMapGenerator;
6779
+ var require_source_node = /* @__PURE__ */ __commonJSMin(((exports) => {
6780
+ var SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
6443
6781
  var util = require_util();
6444
6782
  var REGEX_NEWLINE = /(\r?\n)/;
6445
6783
  var NEWLINE_CODE = 10;
@@ -6487,18 +6825,20 @@ var require_source_node = /* @__PURE__ */ __commonJS({ "../../node_modules/sourc
6487
6825
  var lastGeneratedLine = 1, lastGeneratedColumn = 0;
6488
6826
  var lastMapping = null;
6489
6827
  aSourceMapConsumer.eachMapping(function(mapping) {
6490
- if (lastMapping !== null) if (lastGeneratedLine < mapping.generatedLine) {
6491
- addMappingWithCode(lastMapping, shiftNextLine());
6492
- lastGeneratedLine++;
6493
- lastGeneratedColumn = 0;
6494
- } else {
6495
- var nextLine = remainingLines[remainingLinesIndex] || "";
6496
- var code = nextLine.substr(0, mapping.generatedColumn - lastGeneratedColumn);
6497
- remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - lastGeneratedColumn);
6498
- lastGeneratedColumn = mapping.generatedColumn;
6499
- addMappingWithCode(lastMapping, code);
6500
- lastMapping = mapping;
6501
- return;
6828
+ if (lastMapping !== null) {
6829
+ if (lastGeneratedLine < mapping.generatedLine) {
6830
+ addMappingWithCode(lastMapping, shiftNextLine());
6831
+ lastGeneratedLine++;
6832
+ lastGeneratedColumn = 0;
6833
+ } else {
6834
+ var nextLine = remainingLines[remainingLinesIndex] || "";
6835
+ var code = nextLine.substr(0, mapping.generatedColumn - lastGeneratedColumn);
6836
+ remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn - lastGeneratedColumn);
6837
+ lastGeneratedColumn = mapping.generatedColumn;
6838
+ addMappingWithCode(lastMapping, code);
6839
+ lastMapping = mapping;
6840
+ return;
6841
+ }
6502
6842
  }
6503
6843
  while (lastGeneratedLine < mapping.generatedLine) {
6504
6844
  node.add(shiftNextLine());
@@ -6656,7 +6996,7 @@ var require_source_node = /* @__PURE__ */ __commonJS({ "../../node_modules/sourc
6656
6996
  line: 1,
6657
6997
  column: 0
6658
6998
  };
6659
- var map = new SourceMapGenerator$3(aArgs);
6999
+ var map = new SourceMapGenerator(aArgs);
6660
7000
  var sourceMappingActive = false;
6661
7001
  var lastOriginalSource = null;
6662
7002
  var lastOriginalLine = null;
@@ -6719,29 +7059,36 @@ var require_source_node = /* @__PURE__ */ __commonJS({ "../../node_modules/sourc
6719
7059
  };
6720
7060
  };
6721
7061
  exports.SourceNode = SourceNode;
6722
- }) });
7062
+ }));
6723
7063
 
6724
7064
  //#endregion
6725
7065
  //#region ../../node_modules/source-map-js/source-map.js
6726
- var require_source_map = /* @__PURE__ */ __commonJS({ "../../node_modules/source-map-js/source-map.js": ((exports) => {
7066
+ var require_source_map = /* @__PURE__ */ __commonJSMin(((exports) => {
6727
7067
  exports.SourceMapGenerator = require_source_map_generator().SourceMapGenerator;
6728
7068
  exports.SourceMapConsumer = require_source_map_consumer().SourceMapConsumer;
6729
7069
  exports.SourceNode = require_source_node().SourceNode;
6730
- }) });
7070
+ }));
6731
7071
 
6732
7072
  //#endregion
6733
7073
  //#region ../../node_modules/postcss/lib/previous-map.js
6734
- var require_previous_map = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/previous-map.js": ((exports, module) => {
6735
- let { existsSync: existsSync$2, readFileSync: readFileSync$1 } = __require("fs");
6736
- let { dirname: dirname$2, join: join$2 } = __require("path");
6737
- let { SourceMapConsumer: SourceMapConsumer$2, SourceMapGenerator: SourceMapGenerator$2 } = require_source_map();
7074
+ var require_previous_map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7075
+ let { existsSync: existsSync$1, readFileSync, realpathSync } = __require("fs");
7076
+ let { dirname: dirname$2, isAbsolute: isAbsolute$1, join: join$1, relative: relative$2, sep: sep$1 } = __require("path");
7077
+ let { SourceMapConsumer, SourceMapGenerator } = require_source_map();
7078
+ function realPath(path) {
7079
+ try {
7080
+ return realpathSync(path);
7081
+ } catch {
7082
+ return path;
7083
+ }
7084
+ }
6738
7085
  function fromBase64(str) {
6739
7086
  if (Buffer) return Buffer.from(str, "base64").toString();
6740
7087
  else
6741
7088
  /* c8 ignore next 2 */
6742
7089
  return window.atob(str);
6743
7090
  }
6744
- var PreviousMap$2 = class {
7091
+ var PreviousMap = class {
6745
7092
  constructor(css, opts) {
6746
7093
  if (opts.map === false) return;
6747
7094
  if (opts.unsafeMap) this.unsafeMap = true;
@@ -6754,7 +7101,7 @@ var require_previous_map = /* @__PURE__ */ __commonJS({ "../../node_modules/post
6754
7101
  if (text) this.text = text;
6755
7102
  }
6756
7103
  consumer() {
6757
- if (!this.consumerCache) this.consumerCache = new SourceMapConsumer$2(this.json || this.text);
7104
+ if (!this.consumerCache) this.consumerCache = new SourceMapConsumer(this.json || this.text);
6758
7105
  return this.consumerCache;
6759
7106
  }
6760
7107
  decodeInline(text) {
@@ -6782,35 +7129,38 @@ var require_previous_map = /* @__PURE__ */ __commonJS({ "../../node_modules/post
6782
7129
  let end = css.indexOf("*/", start);
6783
7130
  if (start > -1 && end > -1) this.annotation = this.getAnnotationURL(css.substring(start, end));
6784
7131
  }
6785
- loadFile(path$2, cssFile, trusted) {
6786
- /* c8 ignore next 5 */
7132
+ loadFile(path, cssFile, trusted) {
6787
7133
  if (!trusted && !this.unsafeMap) {
6788
- if (!/\.map$/i.test(path$2)) return;
7134
+ if (!/\.map$/i.test(path)) return void 0;
7135
+ if (!cssFile) return void 0;
7136
+ let rel = relative$2(realPath(dirname$2(cssFile)), realPath(path));
7137
+ if (rel === ".." || rel.startsWith(".." + sep$1) || isAbsolute$1(rel)) return;
6789
7138
  }
6790
- this.root = dirname$2(path$2);
6791
- if (existsSync$2(path$2)) {
6792
- this.mapFile = path$2;
6793
- return readFileSync$1(path$2, "utf-8").toString().trim();
7139
+ this.root = dirname$2(path);
7140
+ if (existsSync$1(path)) {
7141
+ this.mapFile = path;
7142
+ return readFileSync(path, "utf-8").toString().trim();
6794
7143
  }
6795
7144
  }
6796
7145
  loadMap(file, prev) {
6797
7146
  if (prev === false) return false;
6798
- if (prev) if (typeof prev === "string") return prev;
6799
- else if (typeof prev === "function") {
6800
- let prevPath = prev(file);
6801
- if (prevPath) {
6802
- let map = this.loadFile(prevPath, file, true);
6803
- if (!map) throw new Error("Unable to load previous source map: " + prevPath.toString());
6804
- return map;
6805
- }
6806
- } else if (prev instanceof SourceMapConsumer$2) return SourceMapGenerator$2.fromSourceMap(prev).toString();
6807
- else if (prev instanceof SourceMapGenerator$2) return prev.toString();
6808
- else if (this.isMap(prev)) return JSON.stringify(prev);
6809
- else throw new Error("Unsupported previous source map format: " + prev.toString());
6810
- else if (this.inline) return this.decodeInline(this.annotation);
7147
+ if (prev) {
7148
+ if (typeof prev === "string") return prev;
7149
+ else if (typeof prev === "function") {
7150
+ let prevPath = prev(file);
7151
+ if (prevPath) {
7152
+ let map = this.loadFile(prevPath, file, true);
7153
+ if (!map) throw new Error("Unable to load previous source map: " + prevPath.toString());
7154
+ return map;
7155
+ }
7156
+ } else if (prev instanceof SourceMapConsumer) return SourceMapGenerator.fromSourceMap(prev).toString();
7157
+ else if (prev instanceof SourceMapGenerator) return prev.toString();
7158
+ else if (this.isMap(prev)) return JSON.stringify(prev);
7159
+ else throw new Error("Unsupported previous source map format: " + prev.toString());
7160
+ } else if (this.inline) return this.decodeInline(this.annotation);
6811
7161
  else if (this.annotation) {
6812
7162
  let map = this.annotation;
6813
- if (file) map = join$2(dirname$2(file), map);
7163
+ if (file) map = join$1(dirname$2(file), map);
6814
7164
  let unknown = this.loadFile(map, file, false);
6815
7165
  if (unknown) try {
6816
7166
  /* c8 ignore next 4 */
@@ -6829,23 +7179,23 @@ var require_previous_map = /* @__PURE__ */ __commonJS({ "../../node_modules/post
6829
7179
  return !!(this.consumer().sourcesContent && this.consumer().sourcesContent.length > 0);
6830
7180
  }
6831
7181
  };
6832
- module.exports = PreviousMap$2;
6833
- PreviousMap$2.default = PreviousMap$2;
6834
- }) });
7182
+ module.exports = PreviousMap;
7183
+ PreviousMap.default = PreviousMap;
7184
+ }));
6835
7185
 
6836
7186
  //#endregion
6837
7187
  //#region ../../node_modules/postcss/lib/input.js
6838
- var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/input.js": ((exports, module) => {
7188
+ var require_input = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6839
7189
  let { nanoid } = require_non_secure();
6840
- let { isAbsolute: isAbsolute$1, resolve: resolve$2 } = __require("path");
6841
- let { SourceMapConsumer: SourceMapConsumer$1, SourceMapGenerator: SourceMapGenerator$1 } = require_source_map();
6842
- let { fileURLToPath: fileURLToPath$1, pathToFileURL: pathToFileURL$1 } = __require("url");
6843
- let CssSyntaxError$2 = require_css_syntax_error();
6844
- let PreviousMap$1 = require_previous_map();
7190
+ let { isAbsolute, resolve: resolve$1 } = __require("path");
7191
+ let { SourceMapConsumer, SourceMapGenerator } = require_source_map();
7192
+ let { fileURLToPath, pathToFileURL: pathToFileURL$1 } = __require("url");
7193
+ let CssSyntaxError = require_css_syntax_error();
7194
+ let PreviousMap = require_previous_map();
6845
7195
  let terminalHighlight = require_terminal_highlight();
6846
7196
  let lineToIndexCache = Symbol("lineToIndexCache");
6847
- let sourceMapAvailable$1 = Boolean(SourceMapConsumer$1 && SourceMapGenerator$1);
6848
- let pathAvailable$1 = Boolean(resolve$2 && isAbsolute$1);
7197
+ let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);
7198
+ let pathAvailable = Boolean(resolve$1 && isAbsolute);
6849
7199
  function getLineToIndex(input) {
6850
7200
  if (input[lineToIndexCache]) return input[lineToIndexCache];
6851
7201
  let lines = input.css.split("\n");
@@ -6858,7 +7208,7 @@ var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
6858
7208
  input[lineToIndexCache] = lineToIndex;
6859
7209
  return lineToIndex;
6860
7210
  }
6861
- var Input$5 = class {
7211
+ var Input = class {
6862
7212
  get from() {
6863
7213
  return this.file || this.id;
6864
7214
  }
@@ -6871,10 +7221,12 @@ var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
6871
7221
  } else this.hasBOM = false;
6872
7222
  this.document = this.css;
6873
7223
  if (opts.document) this.document = opts.document.toString();
6874
- if (opts.from) if (!pathAvailable$1 || /^\w+:\/\//.test(opts.from) || isAbsolute$1(opts.from)) this.file = opts.from;
6875
- else this.file = resolve$2(opts.from);
6876
- if (pathAvailable$1 && sourceMapAvailable$1) {
6877
- let map = new PreviousMap$1(this.css, opts);
7224
+ if (opts.from) {
7225
+ if (!pathAvailable || /^\w+:\/\//.test(opts.from) || isAbsolute(opts.from)) this.file = opts.from;
7226
+ else this.file = resolve$1(opts.from);
7227
+ }
7228
+ if (pathAvailable && sourceMapAvailable) {
7229
+ let map = new PreviousMap(this.css, opts);
6878
7230
  if (map.text) {
6879
7231
  this.map = map;
6880
7232
  let file = map.consumer().file;
@@ -6916,14 +7268,14 @@ var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
6916
7268
  column = pos.col;
6917
7269
  } else offset = this.fromLineAndColumn(line, column);
6918
7270
  let origin = this.origin(line, column, endLine, endColumn);
6919
- if (origin) result = new CssSyntaxError$2(message, origin.endLine === void 0 ? origin.line : {
7271
+ if (origin) result = new CssSyntaxError(message, origin.endLine === void 0 ? origin.line : {
6920
7272
  column: origin.column,
6921
7273
  line: origin.line
6922
7274
  }, origin.endLine === void 0 ? origin.column : {
6923
7275
  column: origin.endColumn,
6924
7276
  line: origin.endLine
6925
7277
  }, origin.source, origin.file, opts.plugin);
6926
- else result = new CssSyntaxError$2(message, endLine === void 0 ? line : {
7278
+ else result = new CssSyntaxError(message, endLine === void 0 ? line : {
6927
7279
  column,
6928
7280
  line
6929
7281
  }, endLine === void 0 ? column : {
@@ -6973,7 +7325,7 @@ var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
6973
7325
  }
6974
7326
  mapResolve(file) {
6975
7327
  if (/^\w+:\/\//.test(file)) return file;
6976
- return resolve$2(this.map.consumer().sourceRoot || this.map.root || ".", file);
7328
+ return resolve$1(this.map.consumer().sourceRoot || this.map.root || ".", file);
6977
7329
  }
6978
7330
  origin(line, column, endLine, endColumn) {
6979
7331
  if (!this.map) return false;
@@ -6984,12 +7336,15 @@ var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
6984
7336
  });
6985
7337
  if (!from.source) return false;
6986
7338
  let to;
6987
- if (typeof endLine === "number") to = consumer.originalPositionFor({
6988
- column: endColumn - 1,
6989
- line: endLine
6990
- });
7339
+ if (typeof endLine === "number") {
7340
+ let toPosition = consumer.originalPositionFor({
7341
+ column: endColumn - 1,
7342
+ line: endLine
7343
+ });
7344
+ if (toPosition.source) to = toPosition;
7345
+ }
6991
7346
  let fromUrl;
6992
- if (isAbsolute$1(from.source)) fromUrl = pathToFileURL$1(from.source);
7347
+ if (isAbsolute(from.source)) fromUrl = pathToFileURL$1(from.source);
6993
7348
  else fromUrl = new URL(from.source, this.map.consumer().sourceRoot || pathToFileURL$1(this.map.mapFile));
6994
7349
  let result = {
6995
7350
  column: from.column + 1,
@@ -6998,10 +7353,12 @@ var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
6998
7353
  line: from.line,
6999
7354
  url: fromUrl.toString()
7000
7355
  };
7001
- if (fromUrl.protocol === "file:") if (fileURLToPath$1) result.file = fileURLToPath$1(fromUrl);
7002
- else
7356
+ if (fromUrl.protocol === "file:") {
7357
+ if (fileURLToPath) result.file = fileURLToPath(fromUrl);
7358
+ else
7003
7359
  /* c8 ignore next 2 */
7004
- throw new Error(`file: protocol is not available in this PostCSS build`);
7360
+ throw new Error(`file: protocol is not available in this PostCSS build`);
7361
+ }
7005
7362
  let source = consumer.sourceContentFor(from.source);
7006
7363
  if (source) result.source = source;
7007
7364
  return result;
@@ -7021,28 +7378,34 @@ var require_input = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
7021
7378
  return json;
7022
7379
  }
7023
7380
  };
7024
- module.exports = Input$5;
7025
- Input$5.default = Input$5;
7026
- if (terminalHighlight && terminalHighlight.registerInput) terminalHighlight.registerInput(Input$5);
7027
- }) });
7381
+ module.exports = Input;
7382
+ Input.default = Input;
7383
+ if (terminalHighlight && terminalHighlight.registerInput) terminalHighlight.registerInput(Input);
7384
+ }));
7028
7385
 
7029
7386
  //#endregion
7030
7387
  //#region ../../node_modules/postcss/lib/root.js
7031
- var require_root = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/root.js": ((exports, module) => {
7032
- let Container$5 = require_container();
7033
- let LazyResult$3, Processor$3;
7034
- var Root$6 = class extends Container$5 {
7388
+ var require_root = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7389
+ let Container = require_container();
7390
+ let LazyResult;
7391
+ let Processor;
7392
+ var Root = class extends Container {
7035
7393
  constructor(defaults) {
7036
7394
  super(defaults);
7037
7395
  this.type = "root";
7038
7396
  if (!this.nodes) this.nodes = [];
7039
7397
  }
7040
7398
  normalize(child, sample, type) {
7399
+ let keepBefore = /* @__PURE__ */ new Set();
7400
+ for (let node of Array.isArray(child) ? child : [child]) if (node && typeof node === "object" && !node.parent && node.raws && typeof node.raws.before !== "undefined") keepBefore.add(node.raws);
7041
7401
  let nodes = super.normalize(child);
7042
7402
  if (sample) {
7043
- if (type === "prepend") if (this.nodes.length > 1) sample.raws.before = this.nodes[1].raws.before;
7044
- else delete sample.raws.before;
7045
- else if (this.first !== sample) for (let node of nodes) node.raws.before = sample.raws.before;
7403
+ if (type === "prepend") {
7404
+ if (this.nodes.length > 1) sample.raws.before = this.nodes[1].raws.before;
7405
+ else delete sample.raws.before;
7406
+ } else if (this.first !== sample) {
7407
+ for (let node of nodes) if (!keepBefore.has(node.raws)) node.raws.before = sample.raws.before;
7408
+ }
7046
7409
  }
7047
7410
  return nodes;
7048
7411
  }
@@ -7052,35 +7415,36 @@ var require_root = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
7052
7415
  return super.removeChild(child);
7053
7416
  }
7054
7417
  toResult(opts = {}) {
7055
- return new LazyResult$3(new Processor$3(), this, opts).stringify();
7418
+ return new LazyResult(new Processor(), this, opts).stringify();
7056
7419
  }
7057
7420
  };
7058
- Root$6.registerLazyResult = (dependant) => {
7059
- LazyResult$3 = dependant;
7421
+ Root.registerLazyResult = (dependant) => {
7422
+ LazyResult = dependant;
7060
7423
  };
7061
- Root$6.registerProcessor = (dependant) => {
7062
- Processor$3 = dependant;
7424
+ Root.registerProcessor = (dependant) => {
7425
+ Processor = dependant;
7063
7426
  };
7064
- module.exports = Root$6;
7065
- Root$6.default = Root$6;
7066
- Container$5.registerRoot(Root$6);
7067
- }) });
7427
+ module.exports = Root;
7428
+ Root.default = Root;
7429
+ Container.registerRoot(Root);
7430
+ }));
7068
7431
 
7069
7432
  //#endregion
7070
7433
  //#region ../../node_modules/postcss/lib/list.js
7071
- var require_list = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/list.js": ((exports, module) => {
7072
- let list$3 = {
7434
+ var require_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7435
+ let list = {
7073
7436
  comma(string) {
7074
- return list$3.split(string, [","], true);
7437
+ return list.split(string, [","], true);
7075
7438
  },
7076
7439
  space(string) {
7077
- return list$3.split(string, [
7440
+ return list.split(string, [
7078
7441
  " ",
7079
7442
  "\n",
7080
7443
  " "
7081
7444
  ]);
7082
7445
  },
7083
7446
  split(string, separators, last) {
7447
+ if (typeof string !== "string") return [];
7084
7448
  let array = [];
7085
7449
  let current = "";
7086
7450
  let split = false;
@@ -7103,32 +7467,34 @@ var require_list = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
7103
7467
  if (separators.includes(letter)) split = true;
7104
7468
  }
7105
7469
  if (split) {
7106
- if (current !== "") array.push(current.trim());
7470
+ let value = current.trim();
7471
+ if (last || value !== "") array.push(value);
7107
7472
  current = "";
7108
7473
  split = false;
7109
7474
  } else current += letter;
7110
7475
  }
7111
- if (last || current !== "") array.push(current.trim());
7476
+ let value = current.trim();
7477
+ if (last || value !== "") array.push(value);
7112
7478
  return array;
7113
7479
  }
7114
7480
  };
7115
- module.exports = list$3;
7116
- list$3.default = list$3;
7117
- }) });
7481
+ module.exports = list;
7482
+ list.default = list;
7483
+ }));
7118
7484
 
7119
7485
  //#endregion
7120
7486
  //#region ../../node_modules/postcss/lib/rule.js
7121
- var require_rule = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/rule.js": ((exports, module) => {
7122
- let Container$4 = require_container();
7123
- let list$2 = require_list();
7124
- var Rule$4 = class extends Container$4 {
7487
+ var require_rule = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7488
+ let Container = require_container();
7489
+ let list = require_list();
7490
+ var Rule = class extends Container {
7125
7491
  get selectors() {
7126
- return list$2.comma(this.selector);
7492
+ return list.comma(this.selector);
7127
7493
  }
7128
7494
  set selectors(values) {
7129
7495
  let match = this.selector ? this.selector.match(/,\s*/) : null;
7130
- let sep$1 = match ? match[0] : "," + this.raw("between", "beforeOpen");
7131
- this.selector = values.join(sep$1);
7496
+ let sep = match ? match[0] : "," + this.raw("between", "beforeOpen");
7497
+ this.selector = values.join(sep);
7132
7498
  }
7133
7499
  constructor(defaults) {
7134
7500
  super(defaults);
@@ -7136,79 +7502,105 @@ var require_rule = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/
7136
7502
  if (!this.nodes) this.nodes = [];
7137
7503
  }
7138
7504
  };
7139
- module.exports = Rule$4;
7140
- Rule$4.default = Rule$4;
7141
- Container$4.registerRule(Rule$4);
7142
- }) });
7505
+ module.exports = Rule;
7506
+ Rule.default = Rule;
7507
+ Container.registerRule(Rule);
7508
+ }));
7143
7509
 
7144
7510
  //#endregion
7145
7511
  //#region ../../node_modules/postcss/lib/fromJSON.js
7146
- var require_fromJSON = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/fromJSON.js": ((exports, module) => {
7147
- let AtRule$3 = require_at_rule();
7148
- let Comment$3 = require_comment();
7149
- let Declaration$3 = require_declaration();
7150
- let Input$4 = require_input();
7512
+ var require_fromJSON = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7513
+ let AtRule = require_at_rule();
7514
+ let Comment = require_comment();
7515
+ let Declaration = require_declaration();
7516
+ let Input = require_input();
7151
7517
  let PreviousMap = require_previous_map();
7152
- let Root$5 = require_root();
7153
- let Rule$3 = require_rule();
7154
- function fromJSON$2(json, inputs) {
7155
- if (Array.isArray(json)) return json.map((n) => fromJSON$2(n));
7156
- let { inputs: ownInputs,...defaults } = json;
7157
- if (ownInputs) {
7158
- inputs = [];
7159
- for (let input of ownInputs) {
7160
- let inputHydrated = {
7161
- ...input,
7162
- __proto__: Input$4.prototype
7163
- };
7164
- if (inputHydrated.map) inputHydrated.map = {
7165
- ...inputHydrated.map,
7166
- __proto__: PreviousMap.prototype
7167
- };
7168
- inputs.push(inputHydrated);
7169
- }
7170
- }
7171
- let nodes;
7172
- if (defaults.nodes) {
7173
- nodes = json.nodes.map((n) => fromJSON$2(n, inputs));
7174
- delete defaults.nodes;
7175
- }
7518
+ let Root = require_root();
7519
+ let Rule = require_rule();
7520
+ function hydrateInputs(json, inputs) {
7521
+ if (!json.inputs) return inputs;
7522
+ return json.inputs.map((input) => {
7523
+ let inputHydrated = {
7524
+ ...input,
7525
+ __proto__: Input.prototype
7526
+ };
7527
+ if (inputHydrated.map) inputHydrated.map = {
7528
+ ...inputHydrated.map,
7529
+ __proto__: PreviousMap.prototype
7530
+ };
7531
+ return inputHydrated;
7532
+ });
7533
+ }
7534
+ function constructNode(json, inputs, children) {
7535
+ let defaults = { ...json };
7536
+ delete defaults.inputs;
7537
+ delete defaults.nodes;
7176
7538
  if (defaults.source) {
7177
- let { inputId,...source } = defaults.source;
7539
+ let { inputId, ...source } = defaults.source;
7178
7540
  defaults.source = source;
7179
7541
  if (inputId != null) defaults.source.input = inputs[inputId];
7180
7542
  }
7181
7543
  let node;
7182
- if (defaults.type === "root") node = new Root$5(defaults);
7183
- else if (defaults.type === "decl") node = new Declaration$3(defaults);
7184
- else if (defaults.type === "rule") node = new Rule$3(defaults);
7185
- else if (defaults.type === "comment") node = new Comment$3(defaults);
7186
- else if (defaults.type === "atrule") node = new AtRule$3(defaults);
7544
+ if (defaults.type === "root") node = new Root(defaults);
7545
+ else if (defaults.type === "decl") node = new Declaration(defaults);
7546
+ else if (defaults.type === "rule") node = new Rule(defaults);
7547
+ else if (defaults.type === "comment") node = new Comment(defaults);
7548
+ else if (defaults.type === "atrule") node = new AtRule(defaults);
7187
7549
  else throw new Error("Unknown node type: " + json.type);
7188
- if (nodes) {
7189
- node.nodes = nodes;
7190
- for (let child of nodes) child.parent = node;
7550
+ if (children) {
7551
+ node.nodes = children;
7552
+ for (let child of children) child.parent = node;
7191
7553
  }
7192
7554
  return node;
7193
7555
  }
7194
- module.exports = fromJSON$2;
7195
- fromJSON$2.default = fromJSON$2;
7196
- }) });
7556
+ function fromJSON(json, inputs) {
7557
+ if (Array.isArray(json)) return json.map((n) => fromJSON(n));
7558
+ let result;
7559
+ let stack = [{
7560
+ childIndex: 0,
7561
+ children: [],
7562
+ inputs: hydrateInputs(json, inputs),
7563
+ json
7564
+ }];
7565
+ while (stack.length > 0) {
7566
+ let frame = stack[stack.length - 1];
7567
+ let jsonNodes = frame.json.nodes;
7568
+ if (jsonNodes && frame.childIndex < jsonNodes.length) {
7569
+ let childJson = jsonNodes[frame.childIndex];
7570
+ frame.childIndex += 1;
7571
+ stack.push({
7572
+ childIndex: 0,
7573
+ children: [],
7574
+ inputs: hydrateInputs(childJson, frame.inputs),
7575
+ json: childJson
7576
+ });
7577
+ continue;
7578
+ }
7579
+ stack.pop();
7580
+ let node = constructNode(frame.json, frame.inputs, jsonNodes ? frame.children : void 0);
7581
+ if (stack.length > 0) stack[stack.length - 1].children.push(node);
7582
+ else result = node;
7583
+ }
7584
+ return result;
7585
+ }
7586
+ module.exports = fromJSON;
7587
+ fromJSON.default = fromJSON;
7588
+ }));
7197
7589
 
7198
7590
  //#endregion
7199
7591
  //#region ../../node_modules/postcss/lib/map-generator.js
7200
- var require_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/map-generator.js": ((exports, module) => {
7201
- let { dirname: dirname$1, relative: relative$2, resolve: resolve$1, sep } = __require("path");
7592
+ var require_map_generator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7593
+ let { dirname: dirname$1, relative: relative$1, resolve, sep } = __require("path");
7202
7594
  let { SourceMapConsumer, SourceMapGenerator } = require_source_map();
7203
7595
  let { pathToFileURL } = __require("url");
7204
- let Input$3 = require_input();
7596
+ let Input = require_input();
7205
7597
  let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator);
7206
- let pathAvailable = Boolean(dirname$1 && resolve$1 && relative$2 && sep);
7207
- var MapGenerator$2 = class {
7208
- constructor(stringify$6, root$1, opts, cssString) {
7209
- this.stringify = stringify$6;
7598
+ let pathAvailable = Boolean(dirname$1 && resolve && relative$1 && sep);
7599
+ var MapGenerator = class {
7600
+ constructor(stringify, root, opts, cssString) {
7601
+ this.stringify = stringify;
7210
7602
  this.mapOpts = opts.map || {};
7211
- this.root = root$1;
7603
+ this.root = root;
7212
7604
  this.opts = opts;
7213
7605
  this.css = cssString;
7214
7606
  this.originalCSS = cssString;
@@ -7230,13 +7622,13 @@ var require_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/pos
7230
7622
  applyPrevMaps() {
7231
7623
  for (let prev of this.previous()) {
7232
7624
  let from = this.toUrl(this.path(prev.file));
7233
- let root$1 = prev.root || dirname$1(prev.file);
7625
+ let root = prev.root || dirname$1(prev.file);
7234
7626
  let map;
7235
7627
  if (this.mapOpts.sourcesContent === false) {
7236
7628
  map = new SourceMapConsumer(prev.text);
7237
7629
  if (map.sourcesContent) map.sourcesContent = null;
7238
7630
  } else map = prev.consumer();
7239
- this.map.applySourceMap(map, from, this.toUrl(this.path(root$1)));
7631
+ this.map.applySourceMap(map, from, this.toUrl(this.path(root)));
7240
7632
  }
7241
7633
  }
7242
7634
  clearAnnotation() {
@@ -7249,9 +7641,10 @@ var require_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/pos
7249
7641
  if (node.text.startsWith("# sourceMappingURL=")) this.root.removeChild(i);
7250
7642
  }
7251
7643
  } else if (this.css) {
7644
+ let annotation = "/*# sourceMappingURL=";
7252
7645
  let startIndex;
7253
- while ((startIndex = this.css.lastIndexOf("/*#")) !== -1) {
7254
- let endIndex = this.css.indexOf("*/", startIndex + 3);
7646
+ while ((startIndex = this.css.lastIndexOf(annotation)) !== -1) {
7647
+ let endIndex = this.css.indexOf("*/", startIndex + 21);
7255
7648
  if (endIndex === -1) break;
7256
7649
  while (startIndex > 0 && this.css[startIndex - 1] === "\n") startIndex--;
7257
7650
  this.css = this.css.slice(0, startIndex) + this.css.slice(endIndex + 2);
@@ -7343,21 +7736,23 @@ var require_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/pos
7343
7736
  column = str.length - last;
7344
7737
  } else column += str.length;
7345
7738
  if (node && type !== "start") {
7346
- let p$1 = node.parent || { raws: {} };
7347
- if (!(node.type === "decl" || node.type === "atrule" && !node.nodes) || node !== p$1.last || p$1.raws.semicolon) if (node.source && node.source.end) {
7348
- mapping.source = this.sourcePath(node);
7349
- mapping.original.line = node.source.end.line;
7350
- mapping.original.column = node.source.end.column - 1;
7351
- mapping.generated.line = line;
7352
- mapping.generated.column = column - 2;
7353
- this.map.addMapping(mapping);
7354
- } else {
7355
- mapping.source = noSource;
7356
- mapping.original.line = 1;
7357
- mapping.original.column = 0;
7358
- mapping.generated.line = line;
7359
- mapping.generated.column = column - 1;
7360
- this.map.addMapping(mapping);
7739
+ let p = node.parent || { raws: {} };
7740
+ if (!(node.type === "decl" || node.type === "atrule" && !node.nodes) || node !== p.last || p.raws.semicolon) {
7741
+ if (node.source && node.source.end) {
7742
+ mapping.source = this.sourcePath(node);
7743
+ mapping.original.line = node.source.end.line;
7744
+ mapping.original.column = node.source.end.column - 1;
7745
+ mapping.generated.line = line;
7746
+ mapping.generated.column = column - 2;
7747
+ this.map.addMapping(mapping);
7748
+ } else {
7749
+ mapping.source = noSource;
7750
+ mapping.original.line = 1;
7751
+ mapping.original.column = 0;
7752
+ mapping.generated.line = line;
7753
+ mapping.generated.column = column - 1;
7754
+ this.map.addMapping(mapping);
7755
+ }
7361
7756
  }
7362
7757
  }
7363
7758
  });
@@ -7396,10 +7791,10 @@ var require_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/pos
7396
7791
  let cached = this.memoizedPaths.get(file);
7397
7792
  if (cached) return cached;
7398
7793
  let from = this.opts.to ? dirname$1(this.opts.to) : ".";
7399
- if (typeof this.mapOpts.annotation === "string") from = dirname$1(resolve$1(from, this.mapOpts.annotation));
7400
- let path$2 = relative$2(from, file);
7401
- this.memoizedPaths.set(file, path$2);
7402
- return path$2;
7794
+ if (typeof this.mapOpts.annotation === "string") from = dirname$1(resolve(from, this.mapOpts.annotation));
7795
+ let path = relative$1(from, file);
7796
+ this.memoizedPaths.set(file, path);
7797
+ return path;
7403
7798
  }
7404
7799
  previous() {
7405
7800
  if (!this.previousMaps) {
@@ -7411,7 +7806,7 @@ var require_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/pos
7411
7806
  }
7412
7807
  });
7413
7808
  else {
7414
- let input = new Input$3(this.originalCSS, this.opts);
7809
+ let input = new Input(this.originalCSS, this.opts);
7415
7810
  if (input.map) this.previousMaps.push(input.map);
7416
7811
  }
7417
7812
  }
@@ -7443,35 +7838,35 @@ var require_map_generator = /* @__PURE__ */ __commonJS({ "../../node_modules/pos
7443
7838
  if (Buffer) return Buffer.from(str).toString("base64");
7444
7839
  else return window.btoa(unescape(encodeURIComponent(str)));
7445
7840
  }
7446
- toFileUrl(path$2) {
7447
- let cached = this.memoizedFileURLs.get(path$2);
7841
+ toFileUrl(path) {
7842
+ let cached = this.memoizedFileURLs.get(path);
7448
7843
  if (cached) return cached;
7449
7844
  if (pathToFileURL) {
7450
- let fileURL = pathToFileURL(path$2).toString();
7451
- this.memoizedFileURLs.set(path$2, fileURL);
7845
+ let fileURL = pathToFileURL(path).toString();
7846
+ this.memoizedFileURLs.set(path, fileURL);
7452
7847
  return fileURL;
7453
7848
  } else throw new Error("`map.absolute` option is not available in this PostCSS build");
7454
7849
  }
7455
- toUrl(path$2) {
7456
- let cached = this.memoizedURLs.get(path$2);
7850
+ toUrl(path) {
7851
+ let cached = this.memoizedURLs.get(path);
7457
7852
  if (cached) return cached;
7458
- if (sep === "\\") path$2 = path$2.replace(/\\/g, "/");
7459
- let url = encodeURI(path$2).replace(/[#?]/g, encodeURIComponent);
7460
- this.memoizedURLs.set(path$2, url);
7853
+ if (sep === "\\") path = path.replace(/\\/g, "/");
7854
+ let url = encodeURI(path).replace(/[#?]/g, encodeURIComponent);
7855
+ this.memoizedURLs.set(path, url);
7461
7856
  return url;
7462
7857
  }
7463
7858
  };
7464
- module.exports = MapGenerator$2;
7465
- }) });
7859
+ module.exports = MapGenerator;
7860
+ }));
7466
7861
 
7467
7862
  //#endregion
7468
7863
  //#region ../../node_modules/postcss/lib/parser.js
7469
- var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/parser.js": ((exports, module) => {
7470
- let AtRule$2 = require_at_rule();
7471
- let Comment$2 = require_comment();
7472
- let Declaration$2 = require_declaration();
7473
- let Root$4 = require_root();
7474
- let Rule$2 = require_rule();
7864
+ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7865
+ let AtRule = require_at_rule();
7866
+ let Comment = require_comment();
7867
+ let Declaration = require_declaration();
7868
+ let Root = require_root();
7869
+ let Rule = require_rule();
7475
7870
  let tokenizer = require_tokenize();
7476
7871
  const SAFE_COMMENT_NEIGHBOR = {
7477
7872
  empty: true,
@@ -7489,10 +7884,10 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7489
7884
  for (let i = from; i < to; i++) result += tokens[i][1];
7490
7885
  return result;
7491
7886
  }
7492
- var Parser$1 = class {
7887
+ var Parser = class {
7493
7888
  constructor(input) {
7494
7889
  this.input = input;
7495
- this.root = new Root$4();
7890
+ this.root = new Root();
7496
7891
  this.current = this.root;
7497
7892
  this.spaces = "";
7498
7893
  this.semicolon = false;
@@ -7507,7 +7902,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7507
7902
  };
7508
7903
  }
7509
7904
  atrule(token) {
7510
- let node = new AtRule$2();
7905
+ let node = new AtRule();
7511
7906
  node.name = token[1].slice(1);
7512
7907
  if (node.name === "") this.unnamedAtrule(node, token);
7513
7908
  this.init(node, token[2]);
@@ -7524,28 +7919,29 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7524
7919
  if (type === "(" || type === "[") brackets.push(type === "(" ? ")" : "]");
7525
7920
  else if (type === "{" && brackets.length > 0) brackets.push("}");
7526
7921
  else if (type === brackets[brackets.length - 1]) brackets.pop();
7527
- if (brackets.length === 0) if (type === ";") {
7528
- node.source.end = this.getPosition(token[2]);
7529
- node.source.end.offset++;
7530
- this.semicolon = true;
7531
- break;
7532
- } else if (type === "{") {
7533
- open = true;
7534
- break;
7535
- } else if (type === "}") {
7536
- if (params.length > 0) {
7537
- shift = params.length - 1;
7538
- prev = params[shift];
7539
- while (prev && prev[0] === "space") prev = params[--shift];
7540
- if (prev) {
7541
- node.source.end = this.getPosition(prev[3] || prev[2]);
7542
- node.source.end.offset++;
7922
+ if (brackets.length === 0) {
7923
+ if (type === ";") {
7924
+ node.source.end = this.getPosition(token[2]);
7925
+ node.source.end.offset++;
7926
+ this.semicolon = true;
7927
+ break;
7928
+ } else if (type === "{") {
7929
+ open = true;
7930
+ break;
7931
+ } else if (type === "}") {
7932
+ if (params.length > 0) {
7933
+ shift = params.length - 1;
7934
+ prev = params[shift];
7935
+ while (prev && prev[0] === "space") prev = params[--shift];
7936
+ if (prev) {
7937
+ node.source.end = this.getPosition(prev[3] || prev[2]);
7938
+ node.source.end.offset++;
7939
+ }
7543
7940
  }
7544
- }
7545
- this.end(token);
7546
- break;
7941
+ this.end(token);
7942
+ break;
7943
+ } else params.push(token);
7547
7944
  } else params.push(token);
7548
- else params.push(token);
7549
7945
  if (this.tokenizer.endOfFile()) {
7550
7946
  last = true;
7551
7947
  break;
@@ -7593,15 +7989,17 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7593
7989
  type = token[0];
7594
7990
  if (type === "(") brackets += 1;
7595
7991
  if (type === ")") brackets -= 1;
7596
- if (brackets === 0 && type === ":") if (!prev) this.doubleColon(token);
7597
- else if (prev[0] === "word" && prev[1] === "progid") continue;
7598
- else return i;
7992
+ if (brackets === 0 && type === ":") {
7993
+ if (!prev) this.doubleColon(token);
7994
+ else if (prev[0] === "word" && prev[1] === "progid") continue;
7995
+ else return i;
7996
+ }
7599
7997
  prev = token;
7600
7998
  }
7601
7999
  return false;
7602
8000
  }
7603
8001
  comment(token) {
7604
- let node = new Comment$2();
8002
+ let node = new Comment();
7605
8003
  this.init(node, token[2]);
7606
8004
  node.source.end = this.getPosition(token[3] || token[2]);
7607
8005
  node.source.end.offset++;
@@ -7621,7 +8019,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7621
8019
  this.tokenizer = tokenizer(this.input);
7622
8020
  }
7623
8021
  decl(tokens, customProperty) {
7624
- let node = new Declaration$2();
8022
+ let node = new Declaration();
7625
8023
  this.init(node, tokens[0][2]);
7626
8024
  let last = tokens[tokens.length - 1];
7627
8025
  if (last[0] === ";") {
@@ -7701,7 +8099,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7701
8099
  throw this.input.error("Double colon", { offset: token[2] }, { offset: token[2] + token[1].length });
7702
8100
  }
7703
8101
  emptyRule(token) {
7704
- let node = new Rule$2();
8102
+ let node = new Rule();
7705
8103
  this.init(node, token[2]);
7706
8104
  node.selector = "";
7707
8105
  node.raws.between = "";
@@ -7732,7 +8130,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7732
8130
  prev.raws.ownSemicolon = this.spaces;
7733
8131
  this.spaces = "";
7734
8132
  prev.source.end = this.getPosition(token[2]);
7735
- prev.source.end.offset += prev.raws.ownSemicolon.length;
8133
+ prev.source.end.offset++;
7736
8134
  }
7737
8135
  }
7738
8136
  }
@@ -7773,11 +8171,12 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7773
8171
  if (!bracket) bracket = token;
7774
8172
  brackets.push("}");
7775
8173
  } else if (brackets.length === 0) {
7776
- if (type === ";") if (colon) {
7777
- this.decl(tokens, customProperty);
7778
- return;
7779
- } else break;
7780
- else if (type === "{") {
8174
+ if (type === ";") {
8175
+ if (colon) {
8176
+ this.decl(tokens, customProperty);
8177
+ return;
8178
+ } else break;
8179
+ } else if (type === "{") {
7781
8180
  this.rule(tokens);
7782
8181
  return;
7783
8182
  } else if (type === "}") {
@@ -7825,9 +8224,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7825
8224
  case "{":
7826
8225
  this.emptyRule(token);
7827
8226
  break;
7828
- default:
7829
- this.other(token);
7830
- break;
8227
+ default: this.other(token);
7831
8228
  }
7832
8229
  }
7833
8230
  this.endFile();
@@ -7846,9 +8243,10 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7846
8243
  else if (type === "comment") {
7847
8244
  prev = tokens[i - 1] ? tokens[i - 1][0] : "empty";
7848
8245
  next = tokens[i + 1] ? tokens[i + 1][0] : "empty";
7849
- if (!SAFE_COMMENT_NEIGHBOR[prev] && !SAFE_COMMENT_NEIGHBOR[next]) if (value.slice(-1) === ",") clean = false;
7850
- else value += token[1];
7851
- else clean = false;
8246
+ if (!SAFE_COMMENT_NEIGHBOR[prev] && !SAFE_COMMENT_NEIGHBOR[next]) {
8247
+ if (value.slice(-1) === ",") clean = false;
8248
+ else value += token[1];
8249
+ } else clean = false;
7852
8250
  } else value += token[1];
7853
8251
  }
7854
8252
  if (!clean) {
@@ -7862,7 +8260,7 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7862
8260
  }
7863
8261
  rule(tokens) {
7864
8262
  tokens.pop();
7865
- let node = new Rule$2();
8263
+ let node = new Rule();
7866
8264
  this.init(node, tokens[0][2]);
7867
8265
  node.raws.between = this.spacesAndCommentsFromEnd(tokens);
7868
8266
  this.raw(node, "selector", tokens);
@@ -7921,17 +8319,18 @@ var require_parser = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
7921
8319
  throw this.input.error("At-rule without name", { offset: token[2] }, { offset: token[2] + token[1].length });
7922
8320
  }
7923
8321
  };
7924
- module.exports = Parser$1;
7925
- }) });
8322
+ module.exports = Parser;
8323
+ }));
7926
8324
 
7927
8325
  //#endregion
7928
8326
  //#region ../../node_modules/postcss/lib/parse.js
7929
- var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/parse.js": ((exports, module) => {
7930
- let Container$3 = require_container();
7931
- let Input$2 = require_input();
8327
+ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8328
+ let Container = require_container();
8329
+ let Input = require_input();
7932
8330
  let Parser = require_parser();
7933
- function parse$4(css, opts) {
7934
- let parser = new Parser(new Input$2(css, opts));
8331
+ function parse(css, opts) {
8332
+ let input = new Input(css, opts);
8333
+ let parser = new Parser(input);
7935
8334
  try {
7936
8335
  parser.parse();
7937
8336
  } catch (e) {
@@ -7946,19 +8345,22 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib
7946
8345
  }
7947
8346
  return parser.root;
7948
8347
  }
7949
- module.exports = parse$4;
7950
- parse$4.default = parse$4;
7951
- Container$3.registerParse(parse$4);
7952
- }) });
8348
+ module.exports = parse;
8349
+ parse.default = parse;
8350
+ Container.registerParse(parse);
8351
+ }));
7953
8352
 
7954
8353
  //#endregion
7955
8354
  //#region ../../node_modules/postcss/lib/warning.js
7956
- var require_warning = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/warning.js": ((exports, module) => {
7957
- var Warning$3 = class {
8355
+ var require_warning = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8356
+ let Container = require_container();
8357
+ let { my } = require_symbols();
8358
+ var Warning = class {
7958
8359
  constructor(text, opts = {}) {
7959
8360
  this.type = "warning";
7960
8361
  this.text = text;
7961
8362
  if (opts.node && opts.node.source) {
8363
+ if (!opts.node[my]) Container.rebuild(opts.node);
7962
8364
  let range = opts.node.rangeBy(opts);
7963
8365
  this.line = range.start.line;
7964
8366
  this.column = range.start.column;
@@ -7977,22 +8379,22 @@ var require_warning = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/l
7977
8379
  return this.text;
7978
8380
  }
7979
8381
  };
7980
- module.exports = Warning$3;
7981
- Warning$3.default = Warning$3;
7982
- }) });
8382
+ module.exports = Warning;
8383
+ Warning.default = Warning;
8384
+ }));
7983
8385
 
7984
8386
  //#endregion
7985
8387
  //#region ../../node_modules/postcss/lib/result.js
7986
- var require_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/result.js": ((exports, module) => {
7987
- let Warning$2 = require_warning();
7988
- var Result$4 = class {
8388
+ var require_result = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8389
+ let Warning = require_warning();
8390
+ var Result = class {
7989
8391
  get content() {
7990
8392
  return this.css;
7991
8393
  }
7992
- constructor(processor, root$1, opts) {
8394
+ constructor(processor, root, opts) {
7993
8395
  this.processor = processor;
7994
8396
  this.messages = [];
7995
- this.root = root$1;
8397
+ this.root = root;
7996
8398
  this.opts = opts;
7997
8399
  this.css = "";
7998
8400
  this.map = void 0;
@@ -8004,7 +8406,7 @@ var require_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
8004
8406
  if (!opts.plugin) {
8005
8407
  if (this.lastPlugin && this.lastPlugin.postcssPlugin) opts.plugin = this.lastPlugin.postcssPlugin;
8006
8408
  }
8007
- let warning = new Warning$2(text, opts);
8409
+ let warning = new Warning(text, opts);
8008
8410
  this.messages.push(warning);
8009
8411
  return warning;
8010
8412
  }
@@ -8012,33 +8414,33 @@ var require_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/li
8012
8414
  return this.messages.filter((i) => i.type === "warning");
8013
8415
  }
8014
8416
  };
8015
- module.exports = Result$4;
8016
- Result$4.default = Result$4;
8017
- }) });
8417
+ module.exports = Result;
8418
+ Result.default = Result;
8419
+ }));
8018
8420
 
8019
8421
  //#endregion
8020
8422
  //#region ../../node_modules/postcss/lib/warn-once.js
8021
- var require_warn_once = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/warn-once.js": ((exports, module) => {
8423
+ var require_warn_once = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8022
8424
  let printed = {};
8023
- module.exports = function warnOnce$2(message) {
8425
+ module.exports = function warnOnce(message) {
8024
8426
  if (printed[message]) return;
8025
8427
  printed[message] = true;
8026
8428
  if (typeof console !== "undefined" && console.warn) console.warn(message);
8027
8429
  };
8028
- }) });
8430
+ }));
8029
8431
 
8030
8432
  //#endregion
8031
8433
  //#region ../../node_modules/postcss/lib/lazy-result.js
8032
- var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/lazy-result.js": ((exports, module) => {
8033
- let Container$2 = require_container();
8034
- let Document$3 = require_document();
8035
- let MapGenerator$1 = require_map_generator();
8036
- let parse$3 = require_parse();
8037
- let Result$3 = require_result();
8038
- let Root$3 = require_root();
8039
- let stringify$3 = require_stringify();
8434
+ var require_lazy_result = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8435
+ let Container = require_container();
8436
+ let Document = require_document();
8437
+ let MapGenerator = require_map_generator();
8438
+ let parse = require_parse();
8439
+ let Result = require_result();
8440
+ let Root = require_root();
8441
+ let stringify = require_stringify();
8040
8442
  let { isClean, my } = require_symbols();
8041
- let warnOnce$1 = require_warn_once();
8443
+ let warnOnce = require_warn_once();
8042
8444
  const TYPE_TO_CLASS_NAME = {
8043
8445
  atrule: "AtRule",
8044
8446
  comment: "Comment",
@@ -8122,12 +8524,16 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8122
8524
  };
8123
8525
  }
8124
8526
  function cleanMarks(node) {
8125
- node[isClean] = false;
8126
- if (node.nodes) node.nodes.forEach((i) => cleanMarks(i));
8527
+ let stack = [node];
8528
+ while (stack.length > 0) {
8529
+ let next = stack.pop();
8530
+ next[isClean] = false;
8531
+ if (next.nodes) for (let i of next.nodes) stack.push(i);
8532
+ }
8127
8533
  return node;
8128
8534
  }
8129
- let postcss$2 = {};
8130
- var LazyResult$2 = class LazyResult$2 {
8535
+ let postcss = {};
8536
+ var LazyResult = class LazyResult {
8131
8537
  get content() {
8132
8538
  return this.stringify().content;
8133
8539
  }
@@ -8155,42 +8561,42 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8155
8561
  constructor(processor, css, opts) {
8156
8562
  this.stringified = false;
8157
8563
  this.processed = false;
8158
- let root$1;
8159
- if (typeof css === "object" && css !== null && (css.type === "root" || css.type === "document")) root$1 = cleanMarks(css);
8160
- else if (css instanceof LazyResult$2 || css instanceof Result$3) {
8161
- root$1 = cleanMarks(css.root);
8564
+ let root;
8565
+ if (typeof css === "object" && css !== null && (css.type === "root" || css.type === "document")) root = cleanMarks(css);
8566
+ else if (css instanceof LazyResult || css instanceof Result) {
8567
+ root = cleanMarks(css.root);
8162
8568
  if (css.map) {
8163
8569
  if (typeof opts.map === "undefined") opts.map = {};
8164
8570
  if (!opts.map.inline) opts.map.inline = false;
8165
8571
  opts.map.prev = css.map;
8166
8572
  }
8167
8573
  } else {
8168
- let parser = parse$3;
8574
+ let parser = parse;
8169
8575
  if (opts.syntax) parser = opts.syntax.parse;
8170
8576
  if (opts.parser) parser = opts.parser;
8171
8577
  if (parser.parse) parser = parser.parse;
8172
8578
  try {
8173
- root$1 = parser(css, opts);
8579
+ root = parser(css, opts);
8174
8580
  } catch (error) {
8175
8581
  this.processed = true;
8176
8582
  this.error = error;
8177
8583
  }
8178
- if (root$1 && !root$1[my])
8584
+ if (root && !root[my])
8179
8585
  /* c8 ignore next 2 */
8180
- Container$2.rebuild(root$1);
8586
+ Container.rebuild(root);
8181
8587
  }
8182
- this.result = new Result$3(processor, root$1, opts);
8588
+ this.result = new Result(processor, root, opts);
8183
8589
  this.helpers = {
8184
- ...postcss$2,
8185
- postcss: postcss$2,
8590
+ ...postcss,
8591
+ postcss,
8186
8592
  result: this.result
8187
8593
  };
8188
- this.plugins = this.processor.plugins.map((plugin$1) => {
8189
- if (typeof plugin$1 === "object" && plugin$1.prepare) return {
8190
- ...plugin$1,
8191
- ...plugin$1.prepare(this.result)
8594
+ this.plugins = this.processor.plugins.map((plugin) => {
8595
+ if (typeof plugin === "object" && plugin.prepare) return {
8596
+ ...plugin,
8597
+ ...plugin.prepare(this.result)
8192
8598
  };
8193
- else return plugin$1;
8599
+ else return plugin;
8194
8600
  });
8195
8601
  }
8196
8602
  async() {
@@ -8209,17 +8615,17 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8209
8615
  throw new Error("Use process(css).then(cb) to work with async plugins");
8210
8616
  }
8211
8617
  handleError(error, node) {
8212
- let plugin$1 = this.result.lastPlugin;
8618
+ let plugin = this.result.lastPlugin;
8213
8619
  try {
8214
8620
  if (node) node.addToError(error);
8215
8621
  this.error = error;
8216
8622
  if (error.name === "CssSyntaxError" && !error.plugin) {
8217
- error.plugin = plugin$1.postcssPlugin;
8623
+ error.plugin = plugin.postcssPlugin;
8218
8624
  error.setMessage();
8219
- } else if (plugin$1.postcssVersion) {
8625
+ } else if (plugin.postcssVersion) {
8220
8626
  if (process.env.NODE_ENV !== "production") {
8221
- let pluginName = plugin$1.postcssPlugin;
8222
- let pluginVer = plugin$1.postcssVersion;
8627
+ let pluginName = plugin.postcssPlugin;
8628
+ let pluginVer = plugin.postcssVersion;
8223
8629
  let runtimeVer = this.result.processor.version;
8224
8630
  let a = pluginVer.split(".");
8225
8631
  let b = runtimeVer.split(".");
@@ -8234,16 +8640,16 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8234
8640
  }
8235
8641
  prepareVisitors() {
8236
8642
  this.listeners = {};
8237
- let add = (plugin$1, type, cb) => {
8643
+ let add = (plugin, type, cb) => {
8238
8644
  if (!this.listeners[type]) this.listeners[type] = [];
8239
- this.listeners[type].push([plugin$1, cb]);
8645
+ this.listeners[type].push([plugin, cb]);
8240
8646
  };
8241
- for (let plugin$1 of this.plugins) if (typeof plugin$1 === "object") for (let event in plugin$1) {
8242
- if (!PLUGIN_PROPS[event] && /^[A-Z]/.test(event)) throw new Error(`Unknown event ${event} in ${plugin$1.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
8647
+ for (let plugin of this.plugins) if (typeof plugin === "object") for (let event in plugin) {
8648
+ if (!PLUGIN_PROPS[event] && /^[A-Z]/.test(event)) throw new Error(`Unknown event ${event} in ${plugin.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
8243
8649
  if (!NOT_VISITORS[event]) {
8244
- if (typeof plugin$1[event] === "object") for (let filter in plugin$1[event]) if (filter === "*") add(plugin$1, event, plugin$1[event][filter]);
8245
- else add(plugin$1, event + "-" + filter.toLowerCase(), plugin$1[event][filter]);
8246
- else if (typeof plugin$1[event] === "function") add(plugin$1, event, plugin$1[event]);
8650
+ if (typeof plugin[event] === "object") for (let filter in plugin[event]) if (filter === "*") add(plugin, event, plugin[event][filter]);
8651
+ else add(plugin, event + "-" + filter.toLowerCase(), plugin[event][filter]);
8652
+ else if (typeof plugin[event] === "function") add(plugin, event, plugin[event]);
8247
8653
  }
8248
8654
  }
8249
8655
  this.hasListener = Object.keys(this.listeners).length > 0;
@@ -8251,8 +8657,8 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8251
8657
  async runAsync() {
8252
8658
  this.plugin = 0;
8253
8659
  for (let i = 0; i < this.plugins.length; i++) {
8254
- let plugin$1 = this.plugins[i];
8255
- let promise = this.runOnRoot(plugin$1);
8660
+ let plugin = this.plugins[i];
8661
+ let promise = this.runOnRoot(plugin);
8256
8662
  if (isPromise(promise)) try {
8257
8663
  await promise;
8258
8664
  } catch (error) {
@@ -8261,10 +8667,10 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8261
8667
  }
8262
8668
  this.prepareVisitors();
8263
8669
  if (this.hasListener) {
8264
- let root$1 = this.result.root;
8265
- while (!root$1[isClean]) {
8266
- root$1[isClean] = true;
8267
- let stack = [toStack(root$1)];
8670
+ let root = this.result.root;
8671
+ while (!root[isClean]) {
8672
+ root[isClean] = true;
8673
+ let stack = [toStack(root)];
8268
8674
  while (stack.length > 0) {
8269
8675
  let promise = this.visitTick(stack);
8270
8676
  if (isPromise(promise)) try {
@@ -8275,13 +8681,13 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8275
8681
  }
8276
8682
  }
8277
8683
  }
8278
- if (this.listeners.OnceExit) for (let [plugin$1, visitor] of this.listeners.OnceExit) {
8279
- this.result.lastPlugin = plugin$1;
8684
+ if (this.listeners.OnceExit) for (let [plugin, visitor] of this.listeners.OnceExit) {
8685
+ this.result.lastPlugin = plugin;
8280
8686
  try {
8281
- if (root$1.type === "document") {
8282
- let roots = root$1.nodes.map((subRoot) => visitor(subRoot, this.helpers));
8687
+ if (root.type === "document") {
8688
+ let roots = root.nodes.map((subRoot) => visitor(subRoot, this.helpers));
8283
8689
  await Promise.all(roots);
8284
- } else await visitor(root$1, this.helpers);
8690
+ } else await visitor(root, this.helpers);
8285
8691
  } catch (e) {
8286
8692
  throw this.handleError(e);
8287
8693
  }
@@ -8290,17 +8696,17 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8290
8696
  this.processed = true;
8291
8697
  return this.stringify();
8292
8698
  }
8293
- runOnRoot(plugin$1) {
8294
- this.result.lastPlugin = plugin$1;
8699
+ runOnRoot(plugin) {
8700
+ this.result.lastPlugin = plugin;
8295
8701
  try {
8296
- if (typeof plugin$1 === "object" && plugin$1.Once) {
8702
+ if (typeof plugin === "object" && plugin.Once) {
8297
8703
  if (this.result.root.type === "document") {
8298
- let roots = this.result.root.nodes.map((root$1) => plugin$1.Once(root$1, this.helpers));
8704
+ let roots = this.result.root.nodes.map((root) => plugin.Once(root, this.helpers));
8299
8705
  if (isPromise(roots[0])) return Promise.all(roots);
8300
8706
  return roots;
8301
8707
  }
8302
- return plugin$1.Once(this.result.root, this.helpers);
8303
- } else if (typeof plugin$1 === "function") return plugin$1(this.result.root, this.result);
8708
+ return plugin.Once(this.result.root, this.helpers);
8709
+ } else if (typeof plugin === "function") return plugin(this.result.root, this.result);
8304
8710
  } catch (error) {
8305
8711
  throw this.handleError(error);
8306
8712
  }
@@ -8311,7 +8717,7 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8311
8717
  this.stringified = true;
8312
8718
  this.sync();
8313
8719
  let opts = this.result.opts;
8314
- let str = stringify$3;
8720
+ let str = stringify;
8315
8721
  if (opts.syntax) str = opts.syntax.stringify;
8316
8722
  if (opts.stringifier) str = opts.stringifier;
8317
8723
  if (str.stringify) str = str.stringify;
@@ -8324,7 +8730,7 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8324
8730
  this.result.css = result;
8325
8731
  return this.result;
8326
8732
  }
8327
- let data = new MapGenerator$1(str, this.result.root, this.result.opts).generate();
8733
+ let data = new MapGenerator(str, this.result.root, this.result.opts).generate();
8328
8734
  this.result.css = data[0];
8329
8735
  this.result.map = data[1];
8330
8736
  return this.result;
@@ -8334,22 +8740,24 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8334
8740
  if (this.processed) return this.result;
8335
8741
  this.processed = true;
8336
8742
  if (this.processing) throw this.getAsyncError();
8337
- for (let plugin$1 of this.plugins) if (isPromise(this.runOnRoot(plugin$1))) throw this.getAsyncError();
8743
+ for (let plugin of this.plugins) if (isPromise(this.runOnRoot(plugin))) throw this.getAsyncError();
8338
8744
  this.prepareVisitors();
8339
8745
  if (this.hasListener) {
8340
- let root$1 = this.result.root;
8341
- while (!root$1[isClean]) {
8342
- root$1[isClean] = true;
8343
- this.walkSync(root$1);
8746
+ let root = this.result.root;
8747
+ while (!root[isClean]) {
8748
+ root[isClean] = true;
8749
+ this.walkSync(root);
8750
+ }
8751
+ if (this.listeners.OnceExit) {
8752
+ if (root.type === "document") for (let subRoot of root.nodes) this.visitSync(this.listeners.OnceExit, subRoot);
8753
+ else this.visitSync(this.listeners.OnceExit, root);
8344
8754
  }
8345
- if (this.listeners.OnceExit) if (root$1.type === "document") for (let subRoot of root$1.nodes) this.visitSync(this.listeners.OnceExit, subRoot);
8346
- else this.visitSync(this.listeners.OnceExit, root$1);
8347
8755
  }
8348
8756
  return this.result;
8349
8757
  }
8350
8758
  then(onFulfilled, onRejected) {
8351
8759
  if (process.env.NODE_ENV !== "production") {
8352
- if (!("from" in this.opts)) warnOnce$1("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.");
8760
+ if (!("from" in this.opts)) warnOnce("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.");
8353
8761
  }
8354
8762
  return this.async().then(onFulfilled, onRejected);
8355
8763
  }
@@ -8357,8 +8765,8 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8357
8765
  return this.css;
8358
8766
  }
8359
8767
  visitSync(visitors, node) {
8360
- for (let [plugin$1, visitor] of visitors) {
8361
- this.result.lastPlugin = plugin$1;
8768
+ for (let [plugin, visitor] of visitors) {
8769
+ this.result.lastPlugin = plugin;
8362
8770
  let promise;
8363
8771
  try {
8364
8772
  promise = visitor(node, this.helpers);
@@ -8377,13 +8785,13 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8377
8785
  return;
8378
8786
  }
8379
8787
  if (visitors.length > 0 && visit.visitorIndex < visitors.length) {
8380
- let [plugin$1, visitor] = visitors[visit.visitorIndex];
8788
+ let [plugin, visitor] = visitors[visit.visitorIndex];
8381
8789
  visit.visitorIndex += 1;
8382
8790
  if (visit.visitorIndex === visitors.length) {
8383
8791
  visit.visitors = [];
8384
8792
  visit.visitorIndex = 0;
8385
8793
  }
8386
- this.result.lastPlugin = plugin$1;
8794
+ this.result.lastPlugin = plugin;
8387
8795
  try {
8388
8796
  return visitor(node.toProxy(), this.helpers);
8389
8797
  } catch (e) {
@@ -8392,14 +8800,19 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8392
8800
  }
8393
8801
  if (visit.iterator !== 0) {
8394
8802
  let iterator = visit.iterator;
8803
+ if (visit.descending) {
8804
+ visit.descending = false;
8805
+ node.indexes[iterator] += 1;
8806
+ }
8395
8807
  let child;
8396
8808
  while (child = node.nodes[node.indexes[iterator]]) {
8397
- node.indexes[iterator] += 1;
8398
8809
  if (!child[isClean]) {
8399
8810
  child[isClean] = true;
8811
+ visit.descending = true;
8400
8812
  stack.push(toStack(child));
8401
8813
  return;
8402
8814
  }
8815
+ node.indexes[iterator] += 1;
8403
8816
  }
8404
8817
  visit.iterator = 0;
8405
8818
  delete node.indexes[iterator];
@@ -8423,40 +8836,80 @@ var require_lazy_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postc
8423
8836
  }
8424
8837
  walkSync(node) {
8425
8838
  node[isClean] = true;
8426
- let events = getEvents(node);
8427
- for (let event of events) if (event === CHILDREN) {
8428
- if (node.nodes) node.each((child) => {
8429
- if (!child[isClean]) this.walkSync(child);
8430
- });
8431
- } else {
8432
- let visitors = this.listeners[event];
8433
- if (visitors) {
8434
- if (this.visitSync(visitors, node.toProxy())) return;
8839
+ let stack = [{
8840
+ eventIndex: 0,
8841
+ events: getEvents(node),
8842
+ iterator: 0,
8843
+ node
8844
+ }];
8845
+ while (stack.length > 0) {
8846
+ let visit = stack[stack.length - 1];
8847
+ let visitNode = visit.node;
8848
+ if (visit.iterator !== 0) {
8849
+ let iterator = visit.iterator;
8850
+ if (visit.descending) {
8851
+ visit.descending = false;
8852
+ visitNode.indexes[iterator] += 1;
8853
+ }
8854
+ let child;
8855
+ let descended = false;
8856
+ while (child = visitNode.nodes[visitNode.indexes[iterator]]) {
8857
+ if (!child[isClean]) {
8858
+ child[isClean] = true;
8859
+ visit.descending = true;
8860
+ stack.push({
8861
+ eventIndex: 0,
8862
+ events: getEvents(child),
8863
+ iterator: 0,
8864
+ node: child
8865
+ });
8866
+ descended = true;
8867
+ break;
8868
+ }
8869
+ visitNode.indexes[iterator] += 1;
8870
+ }
8871
+ if (descended) continue;
8872
+ visit.iterator = 0;
8873
+ delete visitNode.indexes[iterator];
8874
+ }
8875
+ if (visit.eventIndex < visit.events.length) {
8876
+ let event = visit.events[visit.eventIndex];
8877
+ visit.eventIndex += 1;
8878
+ if (event === CHILDREN) {
8879
+ if (visitNode.nodes && visitNode.nodes.length) visit.iterator = visitNode.getIterator();
8880
+ } else {
8881
+ let visitors = this.listeners[event];
8882
+ if (visitors) {
8883
+ if (this.visitSync(visitors, visitNode.toProxy())) stack.pop();
8884
+ }
8885
+ }
8886
+ continue;
8435
8887
  }
8888
+ stack.pop();
8436
8889
  }
8437
8890
  }
8438
8891
  warnings() {
8439
8892
  return this.sync().warnings();
8440
8893
  }
8441
8894
  };
8442
- LazyResult$2.registerPostcss = (dependant) => {
8443
- postcss$2 = dependant;
8895
+ LazyResult.registerPostcss = (dependant) => {
8896
+ postcss = dependant;
8444
8897
  };
8445
- module.exports = LazyResult$2;
8446
- LazyResult$2.default = LazyResult$2;
8447
- Root$3.registerLazyResult(LazyResult$2);
8448
- Document$3.registerLazyResult(LazyResult$2);
8449
- }) });
8898
+ module.exports = LazyResult;
8899
+ LazyResult.default = LazyResult;
8900
+ Root.registerLazyResult(LazyResult);
8901
+ Document.registerLazyResult(LazyResult);
8902
+ }));
8450
8903
 
8451
8904
  //#endregion
8452
8905
  //#region ../../node_modules/postcss/lib/no-work-result.js
8453
- var require_no_work_result = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/no-work-result.js": ((exports, module) => {
8906
+ var require_no_work_result = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8454
8907
  let MapGenerator = require_map_generator();
8455
- let parse$2 = require_parse();
8456
- let Result$2 = require_result();
8457
- let stringify$2 = require_stringify();
8908
+ let parse = require_parse();
8909
+ let Result = require_result();
8910
+ let stringify = require_stringify();
8458
8911
  let warnOnce = require_warn_once();
8459
- var NoWorkResult$1 = class {
8912
+ var NoWorkResult = class {
8460
8913
  get content() {
8461
8914
  return this.result.css;
8462
8915
  }
@@ -8477,17 +8930,17 @@ var require_no_work_result = /* @__PURE__ */ __commonJS({ "../../node_modules/po
8477
8930
  }
8478
8931
  get root() {
8479
8932
  if (this._root) return this._root;
8480
- let root$1;
8481
- let parser = parse$2;
8933
+ let root;
8934
+ let parser = parse;
8482
8935
  try {
8483
- root$1 = parser(this._css, this._opts);
8936
+ root = parser(this._css, this._opts);
8484
8937
  } catch (error) {
8485
8938
  this.error = error;
8486
8939
  }
8487
8940
  if (this.error) throw this.error;
8488
8941
  else {
8489
- this._root = root$1;
8490
- return root$1;
8942
+ this._root = root;
8943
+ return root;
8491
8944
  }
8492
8945
  }
8493
8946
  get [Symbol.toStringTag]() {
@@ -8500,8 +8953,8 @@ var require_no_work_result = /* @__PURE__ */ __commonJS({ "../../node_modules/po
8500
8953
  this._css = css;
8501
8954
  this._opts = opts;
8502
8955
  this._map = void 0;
8503
- let str = stringify$2;
8504
- this.result = new Result$2(this._processor, void 0, this._opts);
8956
+ let str = stringify;
8957
+ this.result = new Result(this._processor, void 0, this._opts);
8505
8958
  this.result.css = css;
8506
8959
  let self = this;
8507
8960
  Object.defineProperty(this.result, "root", { get() {
@@ -8544,20 +8997,20 @@ var require_no_work_result = /* @__PURE__ */ __commonJS({ "../../node_modules/po
8544
8997
  return [];
8545
8998
  }
8546
8999
  };
8547
- module.exports = NoWorkResult$1;
8548
- NoWorkResult$1.default = NoWorkResult$1;
8549
- }) });
9000
+ module.exports = NoWorkResult;
9001
+ NoWorkResult.default = NoWorkResult;
9002
+ }));
8550
9003
 
8551
9004
  //#endregion
8552
9005
  //#region ../../node_modules/postcss/lib/processor.js
8553
- var require_processor = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/processor.js": ((exports, module) => {
8554
- let Document$2 = require_document();
8555
- let LazyResult$1 = require_lazy_result();
9006
+ var require_processor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9007
+ let Document = require_document();
9008
+ let LazyResult = require_lazy_result();
8556
9009
  let NoWorkResult = require_no_work_result();
8557
- let Root$2 = require_root();
8558
- var Processor$2 = class {
9010
+ let Root = require_root();
9011
+ var Processor = class {
8559
9012
  constructor(plugins = []) {
8560
- this.version = "8.5.16";
9013
+ this.version = "8.5.28";
8561
9014
  this.plugins = this.normalize(plugins);
8562
9015
  }
8563
9016
  normalize(plugins) {
@@ -8576,57 +9029,57 @@ var require_processor = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss
8576
9029
  }
8577
9030
  process(css, opts = {}) {
8578
9031
  if (!this.plugins.length && !opts.parser && !opts.stringifier && !opts.syntax) return new NoWorkResult(this, css, opts);
8579
- else return new LazyResult$1(this, css, opts);
9032
+ else return new LazyResult(this, css, opts);
8580
9033
  }
8581
- use(plugin$1) {
8582
- this.plugins = this.plugins.concat(this.normalize([plugin$1]));
9034
+ use(plugin) {
9035
+ this.plugins = this.plugins.concat(this.normalize([plugin]));
8583
9036
  return this;
8584
9037
  }
8585
9038
  };
8586
- module.exports = Processor$2;
8587
- Processor$2.default = Processor$2;
8588
- Root$2.registerProcessor(Processor$2);
8589
- Document$2.registerProcessor(Processor$2);
8590
- }) });
9039
+ module.exports = Processor;
9040
+ Processor.default = Processor;
9041
+ Root.registerProcessor(Processor);
9042
+ Document.registerProcessor(Processor);
9043
+ }));
8591
9044
 
8592
9045
  //#endregion
8593
9046
  //#region ../../node_modules/postcss/lib/postcss.js
8594
- var require_postcss = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/lib/postcss.js": ((exports, module) => {
8595
- let AtRule$1 = require_at_rule();
8596
- let Comment$1 = require_comment();
8597
- let Container$1 = require_container();
8598
- let CssSyntaxError$1 = require_css_syntax_error();
8599
- let Declaration$1 = require_declaration();
8600
- let Document$1 = require_document();
8601
- let fromJSON$1 = require_fromJSON();
8602
- let Input$1 = require_input();
9047
+ var require_postcss = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9048
+ let AtRule = require_at_rule();
9049
+ let Comment = require_comment();
9050
+ let Container = require_container();
9051
+ let CssSyntaxError = require_css_syntax_error();
9052
+ let Declaration = require_declaration();
9053
+ let Document = require_document();
9054
+ let fromJSON = require_fromJSON();
9055
+ let Input = require_input();
8603
9056
  let LazyResult = require_lazy_result();
8604
- let list$1 = require_list();
8605
- let Node$1 = require_node();
8606
- let parse$1 = require_parse();
8607
- let Processor$1 = require_processor();
8608
- let Result$1 = require_result();
8609
- let Root$1 = require_root();
8610
- let Rule$1 = require_rule();
8611
- let stringify$1 = require_stringify();
8612
- let Warning$1 = require_warning();
8613
- function postcss$1(...plugins) {
9057
+ let list = require_list();
9058
+ let Node = require_node();
9059
+ let parse = require_parse();
9060
+ let Processor = require_processor();
9061
+ let Result = require_result();
9062
+ let Root = require_root();
9063
+ let Rule = require_rule();
9064
+ let stringify = require_stringify();
9065
+ let Warning = require_warning();
9066
+ function postcss(...plugins) {
8614
9067
  if (plugins.length === 1 && Array.isArray(plugins[0])) plugins = plugins[0];
8615
- return new Processor$1(plugins);
9068
+ return new Processor(plugins);
8616
9069
  }
8617
- postcss$1.plugin = function plugin$1(name, initializer) {
9070
+ postcss.plugin = function plugin(name, initializer) {
8618
9071
  let warningPrinted = false;
8619
9072
  function creator(...args) {
8620
9073
  if (console && console.warn && !warningPrinted) {
8621
9074
  warningPrinted = true;
8622
9075
  console.warn(name + ": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration");
8623
- if (process.env.LANG && process.env.LANG.startsWith("cn"))
9076
+ if (process.env.LANG && process.env.LANG.startsWith("zh"))
8624
9077
  /* c8 ignore next 7 */
8625
9078
  console.warn(name + ": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226");
8626
9079
  }
8627
9080
  let transformer = initializer(...args);
8628
9081
  transformer.postcssPlugin = name;
8629
- transformer.postcssVersion = new Processor$1().version;
9082
+ transformer.postcssVersion = new Processor().version;
8630
9083
  return transformer;
8631
9084
  }
8632
9085
  let cache;
@@ -8635,37 +9088,37 @@ var require_postcss = /* @__PURE__ */ __commonJS({ "../../node_modules/postcss/l
8635
9088
  return cache;
8636
9089
  } });
8637
9090
  creator.process = function(css, processOpts, pluginOpts) {
8638
- return postcss$1([creator(pluginOpts)]).process(css, processOpts);
9091
+ return postcss([creator(pluginOpts)]).process(css, processOpts);
8639
9092
  };
8640
9093
  return creator;
8641
9094
  };
8642
- postcss$1.stringify = stringify$1;
8643
- postcss$1.parse = parse$1;
8644
- postcss$1.fromJSON = fromJSON$1;
8645
- postcss$1.list = list$1;
8646
- postcss$1.comment = (defaults) => new Comment$1(defaults);
8647
- postcss$1.atRule = (defaults) => new AtRule$1(defaults);
8648
- postcss$1.decl = (defaults) => new Declaration$1(defaults);
8649
- postcss$1.rule = (defaults) => new Rule$1(defaults);
8650
- postcss$1.root = (defaults) => new Root$1(defaults);
8651
- postcss$1.document = (defaults) => new Document$1(defaults);
8652
- postcss$1.CssSyntaxError = CssSyntaxError$1;
8653
- postcss$1.Declaration = Declaration$1;
8654
- postcss$1.Container = Container$1;
8655
- postcss$1.Processor = Processor$1;
8656
- postcss$1.Document = Document$1;
8657
- postcss$1.Comment = Comment$1;
8658
- postcss$1.Warning = Warning$1;
8659
- postcss$1.AtRule = AtRule$1;
8660
- postcss$1.Result = Result$1;
8661
- postcss$1.Input = Input$1;
8662
- postcss$1.Rule = Rule$1;
8663
- postcss$1.Root = Root$1;
8664
- postcss$1.Node = Node$1;
8665
- LazyResult.registerPostcss(postcss$1);
8666
- module.exports = postcss$1;
8667
- postcss$1.default = postcss$1;
8668
- }) });
9095
+ postcss.stringify = stringify;
9096
+ postcss.parse = parse;
9097
+ postcss.fromJSON = fromJSON;
9098
+ postcss.list = list;
9099
+ postcss.comment = (defaults) => new Comment(defaults);
9100
+ postcss.atRule = (defaults) => new AtRule(defaults);
9101
+ postcss.decl = (defaults) => new Declaration(defaults);
9102
+ postcss.rule = (defaults) => new Rule(defaults);
9103
+ postcss.root = (defaults) => new Root(defaults);
9104
+ postcss.document = (defaults) => new Document(defaults);
9105
+ postcss.CssSyntaxError = CssSyntaxError;
9106
+ postcss.Declaration = Declaration;
9107
+ postcss.Container = Container;
9108
+ postcss.Processor = Processor;
9109
+ postcss.Document = Document;
9110
+ postcss.Comment = Comment;
9111
+ postcss.Warning = Warning;
9112
+ postcss.AtRule = AtRule;
9113
+ postcss.Result = Result;
9114
+ postcss.Input = Input;
9115
+ postcss.Rule = Rule;
9116
+ postcss.Root = Root;
9117
+ postcss.Node = Node;
9118
+ LazyResult.registerPostcss(postcss);
9119
+ module.exports = postcss;
9120
+ postcss.default = postcss;
9121
+ }));
8669
9122
 
8670
9123
  //#endregion
8671
9124
  //#region ../../node_modules/postcss/lib/postcss.mjs
@@ -8695,11 +9148,6 @@ const Rule = import_postcss.default.Rule;
8695
9148
  const Root = import_postcss.default.Root;
8696
9149
  const Node = import_postcss.default.Node;
8697
9150
 
8698
- //#endregion
8699
- //#region ../registry/src/style-source.ts
8700
- const __filename = fileURLToPath(import.meta.url);
8701
- const __dirname = path.dirname(__filename);
8702
-
8703
9151
  //#endregion
8704
9152
  //#region ../create-config/src/style-css.ts
8705
9153
  const STYLE_IDS = STYLES.map((style) => style.id);
@@ -8715,46 +9163,28 @@ function deriveUiBaseUrlFromRegistryUrl(registryUrl) {
8715
9163
  const normalizedRegistryUrl = normalizeUrl(registryUrl);
8716
9164
  return normalizedRegistryUrl.endsWith("/r") ? normalizedRegistryUrl.slice(0, -2) : DEFAULT_UI_BASE_URL;
8717
9165
  }
8718
- function resolveUiBaseUrl(env$1 = process.env) {
8719
- if (env$1.BEJAMAS_UI_URL?.trim()) return normalizeUrl(env$1.BEJAMAS_UI_URL);
8720
- if (env$1.REGISTRY_URL?.trim()) return deriveUiBaseUrlFromRegistryUrl(env$1.REGISTRY_URL);
9166
+ function resolveUiBaseUrl(env = process.env) {
9167
+ if (env.BEJAMAS_UI_URL?.trim()) return normalizeUrl(env.BEJAMAS_UI_URL);
9168
+ if (env.REGISTRY_URL?.trim()) return deriveUiBaseUrlFromRegistryUrl(env.REGISTRY_URL);
8721
9169
  return DEFAULT_UI_BASE_URL;
8722
9170
  }
8723
- function resolveRegistryUrl(env$1 = process.env) {
8724
- if (env$1.REGISTRY_URL?.trim()) return normalizeUrl(env$1.REGISTRY_URL);
8725
- if (env$1.BEJAMAS_UI_URL?.trim()) return `${normalizeUrl(env$1.BEJAMAS_UI_URL)}/r`;
9171
+ function resolveRegistryUrl(env = process.env) {
9172
+ if (env.REGISTRY_URL?.trim()) return normalizeUrl(env.REGISTRY_URL);
9173
+ if (env.BEJAMAS_UI_URL?.trim()) return `${normalizeUrl(env.BEJAMAS_UI_URL)}/r`;
8726
9174
  return DEFAULT_REGISTRY_URL;
8727
9175
  }
8728
- function buildUiUrl(pathname, env$1 = process.env) {
9176
+ function buildUiUrl(pathname, env = process.env) {
8729
9177
  const normalizedPathname = pathname.startsWith("/") ? pathname : `/${pathname}`;
8730
- return `${resolveUiBaseUrl(env$1)}${normalizedPathname}`;
9178
+ return `${resolveUiBaseUrl(env)}${normalizedPathname}`;
8731
9179
  }
8732
9180
 
8733
9181
  //#endregion
8734
9182
  //#region src/registry/constants.ts
8735
9183
  const REGISTRY_URL = resolveRegistryUrl();
8736
- const BASE_COLORS = [
8737
- {
8738
- name: "neutral",
8739
- label: "Neutral"
8740
- },
8741
- {
8742
- name: "gray",
8743
- label: "Gray"
8744
- },
8745
- {
8746
- name: "zinc",
8747
- label: "Zinc"
8748
- },
8749
- {
8750
- name: "stone",
8751
- label: "Stone"
8752
- },
8753
- {
8754
- name: "slate",
8755
- label: "Slate"
8756
- }
8757
- ];
9184
+ const BASE_COLORS = BASE_COLORS$1.map(({ name, title }) => ({
9185
+ name,
9186
+ label: title ?? name
9187
+ }));
8758
9188
  const BUILTIN_REGISTRIES = { "@bejamas": `${REGISTRY_URL}/{name}.json` };
8759
9189
 
8760
9190
  //#endregion
@@ -8830,7 +9260,7 @@ const compatibleRawConfigSchema = rawConfigSchema.extend({
8830
9260
  function parseRawConfigWithCompatibility(input) {
8831
9261
  const parsed = compatibleRawConfigSchema.parse(input);
8832
9262
  const deprecatedKeys = DEPRECATED_CONFIG_KEYS.filter((key) => parsed[key] !== void 0);
8833
- const { rsc: _rsc, tsx: _tsx,...normalized } = parsed;
9263
+ const { rsc: _rsc, tsx: _tsx, ...normalized } = parsed;
8834
9264
  return {
8835
9265
  config: rawConfigSchema.parse(normalized),
8836
9266
  deprecatedKeys
@@ -9007,7 +9437,7 @@ const logger = {
9007
9437
  //#endregion
9008
9438
  //#region src/utils/get-package-info.ts
9009
9439
  function getPackageInfo(cwd = "", shouldThrow = true) {
9010
- const packageJsonPath = path$1.join(cwd, "package.json");
9440
+ const packageJsonPath = path.join(cwd, "package.json");
9011
9441
  return fs.readJSONSync(packageJsonPath, { throws: shouldThrow });
9012
9442
  }
9013
9443
 
@@ -9062,7 +9492,7 @@ async function getTailwindCssFile(cwd) {
9062
9492
  }), getTailwindVersion(cwd)]);
9063
9493
  if (!files.length) return null;
9064
9494
  for (const file of files) {
9065
- const contents = await fs.readFile(path$1.resolve(cwd, file), "utf8");
9495
+ const contents = await fs.readFile(path.resolve(cwd, file), "utf8");
9066
9496
  if (contents.includes(`@import "tailwindcss"`) || contents.includes(`@import 'tailwindcss'`) || contents.includes(`@tailwind base`)) return file;
9067
9497
  }
9068
9498
  return null;
@@ -9121,13 +9551,13 @@ async function resolveConfigPaths(cwd, config) {
9121
9551
  ...config,
9122
9552
  resolvedPaths: {
9123
9553
  cwd,
9124
- tailwindConfig: config.tailwind.config ? path$1.resolve(cwd, config.tailwind.config) : "",
9125
- tailwindCss: path$1.resolve(cwd, config.tailwind.css),
9554
+ tailwindConfig: config.tailwind.config ? path.resolve(cwd, config.tailwind.config) : "",
9555
+ tailwindCss: path.resolve(cwd, config.tailwind.css),
9126
9556
  utils: await resolveImport(config.aliases["utils"], tsConfig),
9127
9557
  components: await resolveImport(config.aliases["components"], tsConfig),
9128
- ui: config.aliases["ui"] ? await resolveImport(config.aliases["ui"], tsConfig) : path$1.resolve(await resolveImport(config.aliases["components"], tsConfig) ?? cwd, "ui"),
9129
- lib: config.aliases["lib"] ? await resolveImport(config.aliases["lib"], tsConfig) : path$1.resolve(await resolveImport(config.aliases["utils"], tsConfig) ?? cwd, ".."),
9130
- hooks: config.aliases["hooks"] ? await resolveImport(config.aliases["hooks"], tsConfig) : path$1.resolve(await resolveImport(config.aliases["components"], tsConfig) ?? cwd, "..", "hooks")
9558
+ ui: config.aliases["ui"] ? await resolveImport(config.aliases["ui"], tsConfig) : path.resolve(await resolveImport(config.aliases["components"], tsConfig) ?? cwd, "ui"),
9559
+ lib: config.aliases["lib"] ? await resolveImport(config.aliases["lib"], tsConfig) : path.resolve(await resolveImport(config.aliases["utils"], tsConfig) ?? cwd, ".."),
9560
+ hooks: config.aliases["hooks"] ? await resolveImport(config.aliases["hooks"], tsConfig) : path.resolve(await resolveImport(config.aliases["components"], tsConfig) ?? cwd, "..", "hooks")
9131
9561
  }
9132
9562
  });
9133
9563
  }
@@ -9165,7 +9595,7 @@ async function getWorkspaceConfig(config) {
9165
9595
  }
9166
9596
  async function findPackageRoot(cwd, resolvedPath) {
9167
9597
  const commonRoot = findCommonRoot(cwd, resolvedPath);
9168
- const relativePath = path$1.relative(commonRoot, resolvedPath);
9598
+ const relativePath = path.relative(commonRoot, resolvedPath);
9169
9599
  const matchingPackageRoot = (await fg.glob("**/package.json", {
9170
9600
  cwd: commonRoot,
9171
9601
  deep: 3,
@@ -9175,21 +9605,21 @@ async function findPackageRoot(cwd, resolvedPath) {
9175
9605
  "**/build/**",
9176
9606
  "**/public/**"
9177
9607
  ]
9178
- })).map((pkgPath) => path$1.dirname(pkgPath)).find((pkgDir) => relativePath.startsWith(pkgDir));
9179
- return matchingPackageRoot ? path$1.join(commonRoot, matchingPackageRoot) : null;
9608
+ })).map((pkgPath) => path.dirname(pkgPath)).find((pkgDir) => relativePath.startsWith(pkgDir));
9609
+ return matchingPackageRoot ? path.join(commonRoot, matchingPackageRoot) : null;
9180
9610
  }
9181
9611
  function isAliasKey(key, config) {
9182
- return Object.keys(config.resolvedPaths).filter((key$1) => key$1 !== "utils").includes(key);
9612
+ return Object.keys(config.resolvedPaths).filter((key) => key !== "utils").includes(key);
9183
9613
  }
9184
9614
  function findCommonRoot(cwd, resolvedPath) {
9185
- const parts1 = cwd.split(path$1.sep);
9186
- const parts2 = resolvedPath.split(path$1.sep);
9615
+ const parts1 = cwd.split(path.sep);
9616
+ const parts2 = resolvedPath.split(path.sep);
9187
9617
  const commonParts = [];
9188
9618
  for (let i = 0; i < Math.min(parts1.length, parts2.length); i++) {
9189
9619
  if (parts1[i] !== parts2[i]) break;
9190
9620
  commonParts.push(parts1[i]);
9191
9621
  }
9192
- return commonParts.join(path$1.sep);
9622
+ return commonParts.join(path.sep);
9193
9623
  }
9194
9624
 
9195
9625
  //#endregion
@@ -9203,7 +9633,7 @@ function spinner(text, options) {
9203
9633
 
9204
9634
  //#endregion
9205
9635
  //#region src/docs/generate-mdx/utils.ts
9206
- const RESERVED_COMPONENTS = new Set([
9636
+ const RESERVED_COMPONENTS = /* @__PURE__ */ new Set([
9207
9637
  "Fragment",
9208
9638
  "CodePackageManagers",
9209
9639
  "DocsTabs",
@@ -9240,30 +9670,40 @@ function parseJsDocMetadata(frontmatterCode) {
9240
9670
  const descriptionBodyLines = [];
9241
9671
  for (const rawLine of lines) {
9242
9672
  const line = rawLine;
9243
- if (inUsage) if (line.trim().startsWith("@")) inUsage = false;
9244
- else {
9245
- usageLines.push(line);
9246
- continue;
9673
+ if (inUsage) {
9674
+ if (line.trim().startsWith("@")) inUsage = false;
9675
+ else {
9676
+ usageLines.push(line);
9677
+ continue;
9678
+ }
9247
9679
  }
9248
- if (inPrimaryExample) if (line.trim().startsWith("@")) inPrimaryExample = false;
9249
- else {
9250
- primaryExampleLines.push(line);
9251
- continue;
9680
+ if (inPrimaryExample) {
9681
+ if (line.trim().startsWith("@")) inPrimaryExample = false;
9682
+ else {
9683
+ primaryExampleLines.push(line);
9684
+ continue;
9685
+ }
9252
9686
  }
9253
- if (inExamples) if (line.trim().startsWith("@")) inExamples = false;
9254
- else {
9255
- examplesLines.push(line);
9256
- continue;
9687
+ if (inExamples) {
9688
+ if (line.trim().startsWith("@")) inExamples = false;
9689
+ else {
9690
+ examplesLines.push(line);
9691
+ continue;
9692
+ }
9257
9693
  }
9258
- if (inApi) if (line.trim().startsWith("@")) inApi = false;
9259
- else {
9260
- apiLines.push(line);
9261
- continue;
9694
+ if (inApi) {
9695
+ if (line.trim().startsWith("@")) inApi = false;
9696
+ else {
9697
+ apiLines.push(line);
9698
+ continue;
9699
+ }
9262
9700
  }
9263
- if (captureDescriptionBody) if (line.trim().startsWith("@")) captureDescriptionBody = false;
9264
- else {
9265
- descriptionBodyLines.push(line);
9266
- continue;
9701
+ if (captureDescriptionBody) {
9702
+ if (line.trim().startsWith("@")) captureDescriptionBody = false;
9703
+ else {
9704
+ descriptionBodyLines.push(line);
9705
+ continue;
9706
+ }
9267
9707
  }
9268
9708
  if (line.trim().startsWith("@component")) meta.name = line.replace("@component", "").trim();
9269
9709
  else if (line.trim().startsWith("@title")) meta.title = line.replace("@title", "").trim();
@@ -9317,8 +9757,8 @@ function extractPropsFromAstroProps(sourceFile) {
9317
9757
  }
9318
9758
  return null;
9319
9759
  }
9320
- const target = sourceFile.getDescendantsOfKind(SyntaxKind.VariableDeclaration).find((decl$1) => {
9321
- const init = decl$1.getInitializer();
9760
+ const target = sourceFile.getDescendantsOfKind(SyntaxKind.VariableDeclaration).find((decl) => {
9761
+ const init = decl.getInitializer();
9322
9762
  if (!init) return false;
9323
9763
  return !!unwrapAstroProps(init);
9324
9764
  });
@@ -9375,36 +9815,36 @@ function extractPropsFromDeclaredProps(sourceFile) {
9375
9815
  return [];
9376
9816
  }
9377
9817
  function resolveUiRoot(cwd) {
9378
- const require$1 = createRequire$1(import.meta.url);
9818
+ const require = createRequire$1(import.meta.url);
9379
9819
  const envRoot = process.env.BEJAMAS_UI_ROOT;
9380
- if (envRoot && existsSync(path$1.join(envRoot, "package.json"))) return envRoot;
9820
+ if (envRoot && existsSync(path.join(envRoot, "package.json"))) return envRoot;
9381
9821
  try {
9382
- const pkgPath = require$1.resolve("@bejamas/ui/package.json", { paths: [cwd] });
9383
- return path$1.dirname(pkgPath);
9822
+ const pkgPath = require.resolve("@bejamas/ui/package.json", { paths: [cwd] });
9823
+ return path.dirname(pkgPath);
9384
9824
  } catch {}
9385
9825
  let current = cwd;
9386
9826
  for (let i = 0; i < 6; i += 1) {
9387
- const candidate = path$1.join(current, "packages", "ui", "package.json");
9388
- if (existsSync(candidate)) return path$1.dirname(candidate);
9389
- const parent = path$1.dirname(current);
9827
+ const candidate = path.join(current, "packages", "ui", "package.json");
9828
+ if (existsSync(candidate)) return path.dirname(candidate);
9829
+ const parent = path.dirname(current);
9390
9830
  if (parent === current) break;
9391
9831
  current = parent;
9392
9832
  }
9393
9833
  try {
9394
- const anyEntry = require$1.resolve("@bejamas/ui/*", { paths: [cwd] });
9395
- return path$1.resolve(anyEntry, "..", "..");
9834
+ const anyEntry = require.resolve("@bejamas/ui/*", { paths: [cwd] });
9835
+ return path.resolve(anyEntry, "..", "..");
9396
9836
  } catch {}
9397
9837
  throw new Error("Unable to locate @bejamas/ui in the workspace");
9398
9838
  }
9399
9839
  function resolveOutDir(cwd) {
9400
9840
  const envOut = process.env.BEJAMAS_DOCS_OUT_DIR;
9401
- if (envOut && envOut.length) return path$1.isAbsolute(envOut) ? envOut : path$1.resolve(cwd, envOut);
9402
- return path$1.resolve(cwd, "../../apps/web/src/content/docs/components");
9841
+ if (envOut && envOut.length) return path.isAbsolute(envOut) ? envOut : path.resolve(cwd, envOut);
9842
+ return path.resolve(cwd, "../../apps/web/src/content/docs/components");
9403
9843
  }
9404
9844
  function detectHasImportTopLevel(block, pascalName) {
9405
9845
  if (!block) return false;
9406
9846
  let inFence = false;
9407
- const importLineRegex = /* @__PURE__ */ new RegExp(`^\\s*import\\s+.*\\bfrom\\s+['"][^'"]+\\b${pascalName}\\.astro['"]`);
9847
+ const importLineRegex = new RegExp(`^\\s*import\\s+.*\\bfrom\\s+['"][^'"]+\\b${pascalName}\\.astro['"]`);
9408
9848
  for (const line of block.split("\n")) {
9409
9849
  if (line.trim().startsWith("```")) {
9410
9850
  inFence = !inFence;
@@ -9446,24 +9886,24 @@ function extractComponentTagsFromMDX(block) {
9446
9886
  return Array.from(found);
9447
9887
  }
9448
9888
  async function discoverExamples(componentFilePath, componentsDir) {
9449
- const fileBase = path$1.basename(componentFilePath, path$1.extname(componentFilePath));
9889
+ const fileBase = path.basename(componentFilePath, path.extname(componentFilePath));
9450
9890
  const kebabBase = slugify(fileBase);
9451
- const candidates = [join$1(dirname(componentFilePath), `${fileBase}.examples`), join$1(dirname(componentFilePath), `${kebabBase}.examples`)];
9891
+ const candidates = [join(dirname(componentFilePath), `${fileBase}.examples`), join(dirname(componentFilePath), `${kebabBase}.examples`)];
9452
9892
  const found = [];
9453
9893
  for (const dir of candidates) try {
9454
9894
  const items = await readdir(dir, { withFileTypes: true });
9455
- for (const it of items) if (it.isFile() && extname$1(it.name).toLowerCase() === ".astro") {
9456
- const abs = join$1(dir, it.name);
9457
- const relFromComponents = path$1.relative(componentsDir, abs).split(path$1.sep).join(posix.sep);
9895
+ for (const it of items) if (it.isFile() && extname(it.name).toLowerCase() === ".astro") {
9896
+ const abs = join(dir, it.name);
9897
+ const relFromComponents = path.relative(componentsDir, abs).split(path.sep).join(posix.sep);
9458
9898
  found.push(relFromComponents);
9459
9899
  }
9460
9900
  } catch {}
9461
- return found;
9901
+ return [...new Set(found)].sort();
9462
9902
  }
9463
9903
  function createSourceFileFromFrontmatter(frontmatterCode) {
9464
9904
  return new Project({ useInMemoryFileSystem: true }).createSourceFile("Component.ts", frontmatterCode, { overwrite: true });
9465
9905
  }
9466
9906
 
9467
9907
  //#endregion
9468
- export { PRESET_RADII as $, getSemanticIconNameFromLucideExport as A, getHeadingFontValue as B, BASE_COLORS as C, buildRegistryTheme as D, ICON_LIBRARIES as E, designSystemConfigSchema as F, DEFAULT_PRESET_CONFIG as G, getStyleDefaultRadius as H, getDocumentDirection as I, PRESET_FONTS as J, PRESET_BASE_COLORS as K, getDocumentLanguage as L, renderSemanticIconSvgWithAttributeString as M, DEFAULT_DESIGN_SYSTEM_CONFIG as N, ICON_LIBRARY_COLLECTIONS as O, RTL_LANGUAGE_VALUES as P, PRESET_MENU_COLORS as Q, getFontPackageName as R, BEJAMAS_COMPONENTS_SCHEMA_URL as S, resolveRegistryUrl as T, getStyleId as U, getRadiusValue as V, normalizeDesignSystemConfig as W, PRESET_ICON_LIBRARIES as X, PRESET_FONT_HEADINGS as Y, PRESET_MENU_ACCENTS as Z, getConfig as _, extractComponentTagsFromMDX as a, isPresetCode as at, logger as b, extractPropsFromDeclaredProps as c, parseJsDocMetadata as d, PRESET_STYLES as et, resolveOutDir as f, spinner as g, toIdentifier as h, discoverExamples as i, encodePreset as it, getSemanticIconNameFromLucidePath as j, SEMANTIC_ICON_NAMES as k, normalizeBlockMDX as l, slugify as m, createSourceFileFromFrontmatter as n, V1_CHART_COLOR_MAP as nt, extractFrontmatter as o, fonts as ot, resolveUiRoot as p, PRESET_CHART_COLORS as q, detectHasImportTopLevel as r, decodePreset as rt, extractPropsFromAstroProps as s, __require as st, RESERVED_COMPONENTS as t, PRESET_THEMES as tt, normalizeUsageMDX as u, getWorkspaceConfig as v, buildUiUrl as w, highlighter as x, getProjectInfo as y, getFontValue as z };
9469
- //# sourceMappingURL=utils-CyYWo_qS.js.map
9908
+ export { PRESET_MENU_COLORS as $, SEMANTIC_ICON_NAMES as A, getFontValue as B, BEJAMAS_COMPONENTS_SCHEMA_URL as C, ICON_LIBRARIES as D, resolveRegistryUrl as E, RTL_LANGUAGE_VALUES as F, normalizeDesignSystemConfig as G, getRadiusValue as H, designSystemConfigSchema as I, PRESET_CHART_COLORS as J, DEFAULT_PRESET_CONFIG as K, getDocumentDirection as L, getSemanticIconNameFromLucidePath as M, renderSemanticIconSvgWithAttributeString as N, buildRegistryTheme as O, DEFAULT_DESIGN_SYSTEM_CONFIG as P, PRESET_MENU_ACCENTS as Q, getDocumentLanguage as R, highlighter as S, buildUiUrl as T, getStyleDefaultRadius as U, getHeadingFontValue as V, getStyleId as W, PRESET_FONT_HEADINGS as X, PRESET_FONTS as Y, PRESET_ICON_LIBRARIES as Z, findCommonRoot as _, extractComponentTagsFromMDX as a, encodePreset as at, getProjectInfo as b, extractPropsFromDeclaredProps as c, __require as ct, parseJsDocMetadata as d, PRESET_RADII as et, resolveOutDir as f, spinner as g, toIdentifier as h, discoverExamples as i, decodePreset as it, getSemanticIconNameFromLucideExport as j, ICON_LIBRARY_COLLECTIONS as k, normalizeBlockMDX as l, slugify as m, createSourceFileFromFrontmatter as n, PRESET_THEMES as nt, extractFrontmatter as o, isPresetCode as ot, resolveUiRoot as p, PRESET_BASE_COLORS as q, detectHasImportTopLevel as r, V1_CHART_COLOR_MAP as rt, extractPropsFromAstroProps as s, fonts as st, RESERVED_COMPONENTS as t, PRESET_STYLES as tt, normalizeUsageMDX as u, getConfig as v, BASE_COLORS as w, logger as x, getWorkspaceConfig as y, getFontPackageName as z };
9909
+ //# sourceMappingURL=utils-Dmd3Tydo.js.map