@sb1/indeks-tokens 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/generate.js CHANGED
@@ -4,7 +4,7 @@ var __export = (target, all) => {
4
4
  __defProp(target, name, { get: all[name], enumerable: true });
5
5
  };
6
6
 
7
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/util.js
7
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/util.js
8
8
  var util_exports = {};
9
9
  __export(util_exports, {
10
10
  bisectLeft: () => bisectLeft,
@@ -30,7 +30,7 @@ __export(util_exports, {
30
30
  zdiv: () => zdiv
31
31
  });
32
32
 
33
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/multiply-matrices.js
33
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/multiply-matrices.js
34
34
  function multiplyMatrices(A, B) {
35
35
  let m3 = A.length;
36
36
  let AM;
@@ -95,7 +95,7 @@ function multiply_v3_m3x3(input, matrix, out = [0, 0, 0]) {
95
95
  return out;
96
96
  }
97
97
 
98
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/util.js
98
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/util.js
99
99
  function isString(str) {
100
100
  return type(str) === "string";
101
101
  }
@@ -320,7 +320,7 @@ function solve(matrix, vector) {
320
320
  );
321
321
  }
322
322
 
323
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/hooks.js
323
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/hooks.js
324
324
  var Hooks = class {
325
325
  add(name, callback, first) {
326
326
  if (typeof arguments[0] != "string") {
@@ -346,7 +346,7 @@ var Hooks = class {
346
346
  var hooks = new Hooks();
347
347
  var hooks_default = hooks;
348
348
 
349
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/defaults.js
349
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/defaults.js
350
350
  var defaults_default = {
351
351
  gamut_mapping: "css",
352
352
  precision: 5,
@@ -360,7 +360,7 @@ var defaults_default = {
360
360
  }
361
361
  };
362
362
 
363
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/Type.js
363
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/Type.js
364
364
  var Type = class {
365
365
  // Class properties - declared here so that type inference works
366
366
  type;
@@ -468,7 +468,7 @@ var Type = class {
468
468
  }
469
469
  };
470
470
 
471
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/Format.js
471
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/Format.js
472
472
  var instance = /* @__PURE__ */ Symbol("instance");
473
473
  var Format = class _Format {
474
474
  // Class properties - declared here so that type inference works
@@ -585,7 +585,7 @@ var Format = class _Format {
585
585
  }
586
586
  };
587
587
 
588
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/adapt.js
588
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/adapt.js
589
589
  var WHITES = {
590
590
  // for compatibility, the four-digit chromaticity-derived ones everyone else uses
591
591
  D50: [0.3457 / 0.3585, 1, (1 - 0.3457 - 0.3585) / 0.3585],
@@ -633,7 +633,7 @@ function adapt(W1, W2, XYZ, options = {}) {
633
633
  }
634
634
  }
635
635
 
636
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/parse.js
636
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/parse.js
637
637
  function parse(str, options) {
638
638
  let env = {
639
639
  str: String(str)?.trim(),
@@ -817,7 +817,7 @@ function parseFunction(str) {
817
817
  }
818
818
  }
819
819
 
820
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/getColor.js
820
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/getColor.js
821
821
  function getColor(color, options) {
822
822
  if (Array.isArray(color)) {
823
823
  return color.map((c4) => getColor(c4, options));
@@ -838,7 +838,7 @@ function getColor(color, options) {
838
838
  return color;
839
839
  }
840
840
 
841
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/ColorSpace.js
841
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/ColorSpace.js
842
842
  var \u03B5 = 75e-6;
843
843
  var ColorSpace = class _ColorSpace {
844
844
  constructor(options) {
@@ -1185,7 +1185,7 @@ function getPath(space) {
1185
1185
  return ret;
1186
1186
  }
1187
1187
 
1188
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/xyz-d65.js
1188
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/xyz-d65.js
1189
1189
  var xyz_d65_default = new ColorSpace({
1190
1190
  id: "xyz-d65",
1191
1191
  name: "XYZ D65",
@@ -1212,7 +1212,7 @@ var xyz_d65_default = new ColorSpace({
1212
1212
  aliases: ["xyz"]
1213
1213
  });
1214
1214
 
1215
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/RGBColorSpace.js
1215
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/RGBColorSpace.js
1216
1216
  var RGBColorSpace = class extends ColorSpace {
1217
1217
  /**
1218
1218
  * Creates a new RGB ColorSpace.
@@ -1264,7 +1264,7 @@ var RGBColorSpace = class extends ColorSpace {
1264
1264
  }
1265
1265
  };
1266
1266
 
1267
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/xyz-d50.js
1267
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/xyz-d50.js
1268
1268
  var xyz_d50_default = new ColorSpace({
1269
1269
  id: "xyz-d50",
1270
1270
  name: "XYZ D50",
@@ -1274,7 +1274,7 @@ var xyz_d50_default = new ColorSpace({
1274
1274
  toBase: (coords) => adapt("D50", xyz_d65_default.white, coords)
1275
1275
  });
1276
1276
 
1277
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/lab.js
1277
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/lab.js
1278
1278
  var \u03B52 = 216 / 24389;
1279
1279
  var \u03B53 = 24 / 116;
1280
1280
  var \u03BA = 24389 / 27;
@@ -1335,7 +1335,7 @@ var lab_default = new ColorSpace({
1335
1335
  }
1336
1336
  });
1337
1337
 
1338
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/angles.js
1338
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/angles.js
1339
1339
  function constrain(angle) {
1340
1340
  if (typeof angle !== "number") {
1341
1341
  return angle;
@@ -1385,7 +1385,7 @@ function adjust(arc, angles) {
1385
1385
  return [a1, a2];
1386
1386
  }
1387
1387
 
1388
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/lch.js
1388
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/lch.js
1389
1389
  var lch_default = new ColorSpace({
1390
1390
  id: "lch",
1391
1391
  name: "LCH",
@@ -1434,7 +1434,7 @@ var lch_default = new ColorSpace({
1434
1434
  }
1435
1435
  });
1436
1436
 
1437
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaE2000.js
1437
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaE2000.js
1438
1438
  var Gfactor = 25 ** 7;
1439
1439
  var \u03C0 = Math.PI;
1440
1440
  var r2d = 180 / \u03C0;
@@ -1523,7 +1523,7 @@ function deltaE2000_default(color, sample, { kL = 1, kC = 1, kH = 1 } = {}) {
1523
1523
  return Math.sqrt(dE);
1524
1524
  }
1525
1525
 
1526
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/oklab.js
1526
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/oklab.js
1527
1527
  var M = {
1528
1528
  XYZtoLMS: [
1529
1529
  [0.819022437996703, 0.3619062600528904, -0.1288737815209879],
@@ -1592,7 +1592,7 @@ var oklab_default = new ColorSpace({
1592
1592
  }
1593
1593
  });
1594
1594
 
1595
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaEOK.js
1595
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaEOK.js
1596
1596
  function deltaEOK_default(color, sample) {
1597
1597
  [color, sample] = getColor([color, sample]);
1598
1598
  let [L1, a1, b1] = oklab_default.from(color);
@@ -1603,7 +1603,7 @@ function deltaEOK_default(color, sample) {
1603
1603
  return Math.sqrt(\u0394L ** 2 + \u0394a ** 2 + \u0394b ** 2);
1604
1604
  }
1605
1605
 
1606
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/inGamut.js
1606
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/inGamut.js
1607
1607
  var \u03B54 = 75e-6;
1608
1608
  function inGamut(color, space, { epsilon = \u03B54 } = {}) {
1609
1609
  color = getColor(color);
@@ -1618,7 +1618,7 @@ function inGamut(color, space, { epsilon = \u03B54 } = {}) {
1618
1618
  return space.inGamut(coords, { epsilon });
1619
1619
  }
1620
1620
 
1621
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/to.js
1621
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/to.js
1622
1622
  function to(color, space, { inGamut: inGamut2 } = {}) {
1623
1623
  color = getColor(color);
1624
1624
  space = ColorSpace.get(space);
@@ -1631,7 +1631,7 @@ function to(color, space, { inGamut: inGamut2 } = {}) {
1631
1631
  }
1632
1632
  to.returns = "color";
1633
1633
 
1634
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/getAll.js
1634
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/getAll.js
1635
1635
  function getAll(color, options) {
1636
1636
  color = getColor(color);
1637
1637
  let space = ColorSpace.get(options, options?.space);
@@ -1645,7 +1645,7 @@ function getAll(color, options) {
1645
1645
  return precision === void 0 ? coords : coords.map((coord) => toPrecision(coord, precision));
1646
1646
  }
1647
1647
 
1648
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/get.js
1648
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/get.js
1649
1649
  function get(color, prop) {
1650
1650
  color = getColor(color);
1651
1651
  if (prop === "alpha") {
@@ -1656,7 +1656,7 @@ function get(color, prop) {
1656
1656
  return coords[index];
1657
1657
  }
1658
1658
 
1659
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/oklch.js
1659
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/oklch.js
1660
1660
  var oklch_default = new ColorSpace({
1661
1661
  id: "oklch",
1662
1662
  name: "OkLCh",
@@ -1686,7 +1686,7 @@ var oklch_default = new ColorSpace({
1686
1686
  }
1687
1687
  });
1688
1688
 
1689
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/setAll.js
1689
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/setAll.js
1690
1690
  function setAll(color, space, coords, alpha) {
1691
1691
  color = getColor(color);
1692
1692
  if (Array.isArray(space)) {
@@ -1701,7 +1701,7 @@ function setAll(color, space, coords, alpha) {
1701
1701
  }
1702
1702
  setAll.returns = "color";
1703
1703
 
1704
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/set.js
1704
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/set.js
1705
1705
  function set(color, prop, value) {
1706
1706
  color = getColor(color);
1707
1707
  if (arguments.length === 2 && type(arguments[1]) === "object") {
@@ -1726,7 +1726,7 @@ function set(color, prop, value) {
1726
1726
  }
1727
1727
  set.returns = "color";
1728
1728
 
1729
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/clone.js
1729
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/clone.js
1730
1730
  function clone(color) {
1731
1731
  return {
1732
1732
  space: color.space,
@@ -1738,7 +1738,7 @@ function clone(color) {
1738
1738
  };
1739
1739
  }
1740
1740
 
1741
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/distance.js
1741
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/distance.js
1742
1742
  function distance(color1, color2, space = "lab") {
1743
1743
  space = ColorSpace.get(space);
1744
1744
  let coords1 = space.from(color1);
@@ -1754,12 +1754,12 @@ function distance(color1, color2, space = "lab") {
1754
1754
  );
1755
1755
  }
1756
1756
 
1757
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaE76.js
1757
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaE76.js
1758
1758
  function deltaE76(color, sample) {
1759
1759
  return distance(color, sample, "lab");
1760
1760
  }
1761
1761
 
1762
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaECMC.js
1762
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaECMC.js
1763
1763
  var \u03C02 = Math.PI;
1764
1764
  var d2r2 = \u03C02 / 180;
1765
1765
  function deltaECMC_default(color, sample, { l = 2, c: c4 = 1 } = {}) {
@@ -1802,7 +1802,7 @@ function deltaECMC_default(color, sample, { l = 2, c: c4 = 1 } = {}) {
1802
1802
  return Math.sqrt(dE);
1803
1803
  }
1804
1804
 
1805
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/xyz-abs-d65.js
1805
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/xyz-abs-d65.js
1806
1806
  var Yw = 203;
1807
1807
  var xyz_abs_d65_default = new ColorSpace({
1808
1808
  // Absolute CIE XYZ, with a D65 whitepoint,
@@ -1835,7 +1835,7 @@ var xyz_abs_d65_default = new ColorSpace({
1835
1835
  }
1836
1836
  });
1837
1837
 
1838
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/jzazbz.js
1838
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/jzazbz.js
1839
1839
  var b = 1.15;
1840
1840
  var g = 0.66;
1841
1841
  var n = 2610 / 2 ** 14;
@@ -1935,7 +1935,7 @@ var jzazbz_default = new ColorSpace({
1935
1935
  }
1936
1936
  });
1937
1937
 
1938
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/jzczhz.js
1938
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/jzczhz.js
1939
1939
  var jzczhz_default = new ColorSpace({
1940
1940
  id: "jzczhz",
1941
1941
  name: "JzCzHz",
@@ -1965,7 +1965,7 @@ var jzczhz_default = new ColorSpace({
1965
1965
  }
1966
1966
  });
1967
1967
 
1968
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaEJz.js
1968
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaEJz.js
1969
1969
  function deltaEJz_default(color, sample) {
1970
1970
  [color, sample] = getColor([color, sample]);
1971
1971
  let [Jz1, Cz1, Hz1] = jzczhz_default.from(color);
@@ -1985,7 +1985,7 @@ function deltaEJz_default(color, sample) {
1985
1985
  return Math.sqrt(\u0394J ** 2 + \u0394C ** 2 + \u0394H ** 2);
1986
1986
  }
1987
1987
 
1988
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/ictcp.js
1988
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/ictcp.js
1989
1989
  var c12 = 3424 / 4096;
1990
1990
  var c22 = 2413 / 128;
1991
1991
  var c32 = 2392 / 128;
@@ -2091,7 +2091,7 @@ function ICtCptoLMS(ICtCp) {
2091
2091
  return LMS;
2092
2092
  }
2093
2093
 
2094
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaEITP.js
2094
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaEITP.js
2095
2095
  function deltaEITP_default(color, sample) {
2096
2096
  [color, sample] = getColor([color, sample]);
2097
2097
  let [I1, T1, P1] = ictcp_default.from(color);
@@ -2099,7 +2099,7 @@ function deltaEITP_default(color, sample) {
2099
2099
  return 720 * Math.sqrt((I1 - I2) ** 2 + 0.25 * (T1 - T2) ** 2 + (P1 - P2) ** 2);
2100
2100
  }
2101
2101
 
2102
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaEOK2.js
2102
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaEOK2.js
2103
2103
  function deltaEOK2_default(color, sample) {
2104
2104
  [color, sample] = getColor([color, sample]);
2105
2105
  let abscale = 2;
@@ -2111,7 +2111,7 @@ function deltaEOK2_default(color, sample) {
2111
2111
  return Math.sqrt(\u0394L ** 2 + \u0394a ** 2 + \u0394b ** 2);
2112
2112
  }
2113
2113
 
2114
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/cam16.js
2114
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/cam16.js
2115
2115
  var white2 = WHITES.D65;
2116
2116
  var adaptedCoef = 0.42;
2117
2117
  var adaptedCoefInv = 1 / adaptedCoef;
@@ -2361,7 +2361,7 @@ var cam16_default = new ColorSpace({
2361
2361
  }
2362
2362
  });
2363
2363
 
2364
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hct.js
2364
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hct.js
2365
2365
  var white3 = WHITES.D65;
2366
2366
  var \u03B55 = 216 / 24389;
2367
2367
  var \u03BA2 = 24389 / 27;
@@ -2461,7 +2461,7 @@ var hct_default = new ColorSpace({
2461
2461
  }
2462
2462
  });
2463
2463
 
2464
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaEHCT.js
2464
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaEHCT.js
2465
2465
  var rad2deg2 = 180 / Math.PI;
2466
2466
  var deg2rad2 = Math.PI / 180;
2467
2467
  var ucsCoeff = [1, 7e-3, 0.0228];
@@ -2482,7 +2482,7 @@ function deltaEHCT_default(color, sample) {
2482
2482
  return Math.sqrt((t1 - t2) ** 2 + (a1 - a2) ** 2 + (b1 - b22) ** 2);
2483
2483
  }
2484
2484
 
2485
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/helmlab.js
2485
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/helmlab.js
2486
2486
  var { cos, sin, sqrt, atan2, exp, abs, pow, PI } = Math;
2487
2487
  var CAT_TO_HELM = [
2488
2488
  [1.000042977349746, 20718877053183e-18, -4361018085669474e-20],
@@ -2759,7 +2759,7 @@ var helmlab_default = new ColorSpace({
2759
2759
  }
2760
2760
  });
2761
2761
 
2762
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/deltaEHelmlab.js
2762
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/deltaEHelmlab.js
2763
2763
  var sl = -0.9155125151657894;
2764
2764
  var sc = 2.9268353744941558;
2765
2765
  var wC = 3.966003089807536;
@@ -2784,7 +2784,7 @@ function deltaEHelmlab_default(color, sample) {
2784
2784
  return compressed ** q;
2785
2785
  }
2786
2786
 
2787
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE/index.js
2787
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE/index.js
2788
2788
  var deltaE_default = {
2789
2789
  deltaE76,
2790
2790
  deltaECMC: deltaECMC_default,
@@ -2797,7 +2797,7 @@ var deltaE_default = {
2797
2797
  deltaEHelmlab: deltaEHelmlab_default
2798
2798
  };
2799
2799
 
2800
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/toGamut.js
2800
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/toGamut.js
2801
2801
  function calcEpsilon(jnd) {
2802
2802
  const order = !jnd ? 0 : Math.floor(Math.log10(Math.abs(jnd)));
2803
2803
  return Math.max(parseFloat(`1e${order - 2}`), 1e-6);
@@ -3132,7 +3132,7 @@ function toGamutRayTrace(origin, { space } = {}) {
3132
3132
  return rgbOrigin;
3133
3133
  }
3134
3134
 
3135
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/GamutRelativeColorSpace.js
3135
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/GamutRelativeColorSpace.js
3136
3136
  var GamutRelativeColorSpace = class extends ColorSpace {
3137
3137
  /**
3138
3138
  * @param {SpaceOptions & { gamutSpace: string | ColorSpace, chroma?: string }} options
@@ -3219,7 +3219,7 @@ var GamutRelativeColorSpace = class extends ColorSpace {
3219
3219
  }
3220
3220
  };
3221
3221
 
3222
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/tryColor.js
3222
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/tryColor.js
3223
3223
  function tryColor(color, options = {}) {
3224
3224
  if (Array.isArray(color)) {
3225
3225
  return color.map((c4) => tryColor(c4, options));
@@ -3261,7 +3261,7 @@ function tryColor(color, options = {}) {
3261
3261
  return null;
3262
3262
  }
3263
3263
 
3264
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/serialize.js
3264
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/serialize.js
3265
3265
  function serialize(color, options = {}) {
3266
3266
  let {
3267
3267
  precision = defaults_default.precision,
@@ -3341,7 +3341,7 @@ function serialize(color, options = {}) {
3341
3341
  return ret;
3342
3342
  }
3343
3343
 
3344
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/rec2020-linear.js
3344
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/rec2020-linear.js
3345
3345
  var M6 = {
3346
3346
  // 0 is actually calculated as 4.994106574466076e-17
3347
3347
  toXYZ: [
@@ -3364,7 +3364,7 @@ var rec2020_linear_default = new RGBColorSpace({
3364
3364
  M: M6
3365
3365
  });
3366
3366
 
3367
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/rec2020.js
3367
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/rec2020.js
3368
3368
  var rec2020_default = new RGBColorSpace({
3369
3369
  id: "rec2020",
3370
3370
  name: "REC.2020",
@@ -3389,7 +3389,7 @@ var rec2020_default = new RGBColorSpace({
3389
3389
  }
3390
3390
  });
3391
3391
 
3392
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/p3-linear.js
3392
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/p3-linear.js
3393
3393
  var M7 = {
3394
3394
  toXYZ: [
3395
3395
  [0.4865709486482162, 0.26566769316909306, 0.1982172852343625],
@@ -3410,7 +3410,7 @@ var p3_linear_default = new RGBColorSpace({
3410
3410
  M: M7
3411
3411
  });
3412
3412
 
3413
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/srgb-linear.js
3413
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/srgb-linear.js
3414
3414
  var M8 = {
3415
3415
  // calculated directly from the RGB and white chromaticities; when rounded to
3416
3416
  // 8 decimal places, agrees completely with the official matrix
@@ -3435,7 +3435,7 @@ var srgb_linear_default = new RGBColorSpace({
3435
3435
  M: M8
3436
3436
  });
3437
3437
 
3438
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/keywords.js
3438
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/keywords.js
3439
3439
  var keywords_default = {
3440
3440
  aliceblue: [240 / 255, 248 / 255, 1],
3441
3441
  antiquewhite: [250 / 255, 235 / 255, 215 / 255],
@@ -3587,7 +3587,7 @@ var keywords_default = {
3587
3587
  yellowgreen: [154 / 255, 205 / 255, 50 / 255]
3588
3588
  };
3589
3589
 
3590
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/srgb.js
3590
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/srgb.js
3591
3591
  var coordGrammar = Array(3).fill("<percentage> | <number>[0, 255]");
3592
3592
  var coordGrammarNumber = Array(3).fill("<number>[0, 255]");
3593
3593
  var srgb_default = new RGBColorSpace({
@@ -3702,7 +3702,7 @@ var srgb_default = new RGBColorSpace({
3702
3702
  }
3703
3703
  });
3704
3704
 
3705
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/p3.js
3705
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/p3.js
3706
3706
  var p3_default = new RGBColorSpace({
3707
3707
  id: "p3",
3708
3708
  cssId: "display-p3",
@@ -3714,7 +3714,7 @@ var p3_default = new RGBColorSpace({
3714
3714
  toBase: srgb_default.toBase
3715
3715
  });
3716
3716
 
3717
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/display.js
3717
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/display.js
3718
3718
  defaults_default.display_space = srgb_default;
3719
3719
  var supportsNone;
3720
3720
  if (typeof CSS !== "undefined" && CSS.supports) {
@@ -3805,7 +3805,7 @@ function display(color, { space, supports = globalThis.CSS?.supports, ...options
3805
3805
  return ret;
3806
3806
  }
3807
3807
 
3808
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltas.js
3808
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltas.js
3809
3809
  function deltas(c14, c24, { space, hue = "shorter" } = {}) {
3810
3810
  c14 = getColor(c14);
3811
3811
  space ||= c14.space;
@@ -3837,14 +3837,14 @@ function subtractCoords(c14, c24) {
3837
3837
  return c14 - c24;
3838
3838
  }
3839
3839
 
3840
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/equals.js
3840
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/equals.js
3841
3841
  function equals(color1, color2) {
3842
3842
  color1 = getColor(color1);
3843
3843
  color2 = getColor(color2);
3844
3844
  return color1.space === color2.space && color1.alpha === color2.alpha && color1.coords.every((c4, i) => c4 === color2.coords[i]);
3845
3845
  }
3846
3846
 
3847
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast/index.js
3847
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast/index.js
3848
3848
  var contrast_exports = {};
3849
3849
  __export(contrast_exports, {
3850
3850
  contrastAPCA: () => contrastAPCA,
@@ -3855,7 +3855,7 @@ __export(contrast_exports, {
3855
3855
  contrastWeber: () => contrastWeber
3856
3856
  });
3857
3857
 
3858
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/luminance.js
3858
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/luminance.js
3859
3859
  var luminance_exports = {};
3860
3860
  __export(luminance_exports, {
3861
3861
  getLuminance: () => getLuminance,
@@ -3879,7 +3879,7 @@ function register(Color2) {
3879
3879
  });
3880
3880
  }
3881
3881
 
3882
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast/WCAG21.js
3882
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast/WCAG21.js
3883
3883
  function contrastWCAG21(color1, color2) {
3884
3884
  color1 = getColor(color1);
3885
3885
  color2 = getColor(color2);
@@ -3891,7 +3891,7 @@ function contrastWCAG21(color1, color2) {
3891
3891
  return (Y1 + 0.05) / (Y2 + 0.05);
3892
3892
  }
3893
3893
 
3894
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast/APCA.js
3894
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast/APCA.js
3895
3895
  var normBG = 0.56;
3896
3896
  var normTXT = 0.57;
3897
3897
  var revTXT = 0.62;
@@ -3955,7 +3955,7 @@ function contrastAPCA(background, foreground) {
3955
3955
  return Sapc * 100;
3956
3956
  }
3957
3957
 
3958
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast/Michelson.js
3958
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast/Michelson.js
3959
3959
  function contrastMichelson(color1, color2) {
3960
3960
  color1 = getColor(color1);
3961
3961
  color2 = getColor(color2);
@@ -3968,7 +3968,7 @@ function contrastMichelson(color1, color2) {
3968
3968
  return denom === 0 ? 0 : (Y1 - Y2) / denom;
3969
3969
  }
3970
3970
 
3971
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast/Weber.js
3971
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast/Weber.js
3972
3972
  var max = 5e4;
3973
3973
  function contrastWeber(color1, color2) {
3974
3974
  color1 = getColor(color1);
@@ -3981,7 +3981,7 @@ function contrastWeber(color1, color2) {
3981
3981
  return Y2 === 0 ? max : (Y1 - Y2) / Y2;
3982
3982
  }
3983
3983
 
3984
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast/Lstar.js
3984
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast/Lstar.js
3985
3985
  function contrastLstar(color1, color2) {
3986
3986
  color1 = getColor(color1);
3987
3987
  color2 = getColor(color2);
@@ -3990,7 +3990,7 @@ function contrastLstar(color1, color2) {
3990
3990
  return Math.abs(L1 - L2);
3991
3991
  }
3992
3992
 
3993
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/lab-d65.js
3993
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/lab-d65.js
3994
3994
  var \u03B56 = 216 / 24389;
3995
3995
  var \u03B532 = 24 / 116;
3996
3996
  var \u03BA3 = 24389 / 27;
@@ -4054,7 +4054,7 @@ var lab_d65_default = new ColorSpace({
4054
4054
  }
4055
4055
  });
4056
4056
 
4057
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast/deltaPhi.js
4057
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast/deltaPhi.js
4058
4058
  var phi = Math.pow(5, 0.5) * 0.5 + 0.5;
4059
4059
  function contrastDeltaPhi(color1, color2) {
4060
4060
  color1 = getColor(color1);
@@ -4066,7 +4066,7 @@ function contrastDeltaPhi(color1, color2) {
4066
4066
  return contrast2 < 7.5 ? 0 : contrast2;
4067
4067
  }
4068
4068
 
4069
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/contrast.js
4069
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/contrast.js
4070
4070
  function contrast(background, foreground, o) {
4071
4071
  if (isString(o)) {
4072
4072
  o = { algorithm: o };
@@ -4088,7 +4088,7 @@ function contrast(background, foreground, o) {
4088
4088
  throw new TypeError(`Unknown contrast algorithm: ${algorithm}`);
4089
4089
  }
4090
4090
 
4091
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/chromaticity.js
4091
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/chromaticity.js
4092
4092
  var chromaticity_exports = {};
4093
4093
  __export(chromaticity_exports, {
4094
4094
  register: () => register2,
@@ -4118,7 +4118,7 @@ function register2(Color2) {
4118
4118
  });
4119
4119
  }
4120
4120
 
4121
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/deltaE.js
4121
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/deltaE.js
4122
4122
  function deltaE(c14, c24, o = {}) {
4123
4123
  if (isString(o)) {
4124
4124
  o = { method: o };
@@ -4132,7 +4132,7 @@ function deltaE(c14, c24, o = {}) {
4132
4132
  throw new TypeError(`Unknown deltaE method: ${method}`);
4133
4133
  }
4134
4134
 
4135
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/variations.js
4135
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/variations.js
4136
4136
  var variations_exports = {};
4137
4137
  __export(variations_exports, {
4138
4138
  darken: () => darken,
@@ -4151,7 +4151,7 @@ function darken(color, amount = 0.25) {
4151
4151
  lighten.returns = "color";
4152
4152
  darken.returns = "color";
4153
4153
 
4154
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/interpolation.js
4154
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/interpolation.js
4155
4155
  var interpolation_exports = {};
4156
4156
  __export(interpolation_exports, {
4157
4157
  isRange: () => isRange,
@@ -4179,7 +4179,7 @@ function steps(c14, c24, options = {}) {
4179
4179
  [c14, c24] = [getColor(c14), getColor(c24)];
4180
4180
  colorRange = range(c14, c24, rangeOptions);
4181
4181
  }
4182
- let totalDelta = deltaE(c14, c24);
4182
+ let totalDelta = deltaE(c14, c24, deltaEMethod);
4183
4183
  let actualSteps = maxDeltaE > 0 ? Math.max(steps2, Math.ceil(totalDelta / maxDeltaE) + 1) : steps2;
4184
4184
  let ret = [];
4185
4185
  if (maxSteps !== void 0) {
@@ -4209,7 +4209,11 @@ function steps(c14, c24, options = {}) {
4209
4209
  let cur = ret[i];
4210
4210
  let p3 = (cur.p + prev.p) / 2;
4211
4211
  let color = colorRange(p3);
4212
- maxDelta = Math.max(maxDelta, deltaE(color, prev.color), deltaE(color, cur.color));
4212
+ maxDelta = Math.max(
4213
+ maxDelta,
4214
+ deltaE(color, prev.color, deltaEMethod),
4215
+ deltaE(color, cur.color, deltaEMethod)
4216
+ );
4213
4217
  ret.splice(i, 0, { p: p3, color: colorRange(p3) });
4214
4218
  i++;
4215
4219
  }
@@ -4312,7 +4316,7 @@ function register3(Color2) {
4312
4316
  Color2.defineFunction("steps", steps, { returns: "array<color>" });
4313
4317
  }
4314
4318
 
4315
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/index-fn.js
4319
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/index-fn.js
4316
4320
  var index_fn_exports = {};
4317
4321
  __export(index_fn_exports, {
4318
4322
  A98RGB: () => a98rgb_default,
@@ -4368,7 +4372,7 @@ __export(index_fn_exports, {
4368
4372
  sRGB_Linear: () => srgb_linear_default
4369
4373
  });
4370
4374
 
4371
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hsl.js
4375
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hsl.js
4372
4376
  var hsl_default = new ColorSpace({
4373
4377
  id: "hsl",
4374
4378
  name: "HSL",
@@ -4447,7 +4451,7 @@ var hsl_default = new ColorSpace({
4447
4451
  }
4448
4452
  });
4449
4453
 
4450
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hsl-p3.js
4454
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hsl-p3.js
4451
4455
  var hsl_p3_default = new ColorSpace({
4452
4456
  id: "hsl-p3",
4453
4457
  cssId: "--hsl-p3",
@@ -4473,7 +4477,7 @@ var hsl_p3_default = new ColorSpace({
4473
4477
  toBase: hsl_default.toBase
4474
4478
  });
4475
4479
 
4476
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hsl-rec2020.js
4480
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hsl-rec2020.js
4477
4481
  var hsl_rec2020_default = new ColorSpace({
4478
4482
  id: "hsl-rec2020",
4479
4483
  cssId: "--hsl-rec2020",
@@ -4499,7 +4503,7 @@ var hsl_rec2020_default = new ColorSpace({
4499
4503
  toBase: hsl_default.toBase
4500
4504
  });
4501
4505
 
4502
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hsv.js
4506
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hsv.js
4503
4507
  var hsv_default = new ColorSpace({
4504
4508
  id: "hsv",
4505
4509
  name: "HSV",
@@ -4571,7 +4575,7 @@ var hsv_default = new ColorSpace({
4571
4575
  }
4572
4576
  });
4573
4577
 
4574
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hwb.js
4578
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hwb.js
4575
4579
  var hwb_default = new ColorSpace({
4576
4580
  id: "hwb",
4577
4581
  name: "HWB",
@@ -4616,7 +4620,7 @@ var hwb_default = new ColorSpace({
4616
4620
  }
4617
4621
  });
4618
4622
 
4619
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/a98rgb-linear.js
4623
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/a98rgb-linear.js
4620
4624
  var M9 = {
4621
4625
  toXYZ: [
4622
4626
  [0.5766690429101305, 0.1855582379065463, 0.1882286462349947],
@@ -4637,7 +4641,7 @@ var a98rgb_linear_default = new RGBColorSpace({
4637
4641
  M: M9
4638
4642
  });
4639
4643
 
4640
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/a98rgb.js
4644
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/a98rgb.js
4641
4645
  var a98rgb_default = new RGBColorSpace({
4642
4646
  id: "a98rgb",
4643
4647
  cssId: "a98-rgb",
@@ -4648,7 +4652,7 @@ var a98rgb_default = new RGBColorSpace({
4648
4652
  fromBase: (RGB) => RGB.map((val) => Math.pow(Math.abs(val), 256 / 563) * Math.sign(val))
4649
4653
  });
4650
4654
 
4651
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/prophoto-linear.js
4655
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/prophoto-linear.js
4652
4656
  var M10 = {
4653
4657
  toXYZ: [
4654
4658
  [0.7977666449006423, 0.13518129740053308, 0.0313477341283922],
@@ -4670,7 +4674,7 @@ var prophoto_linear_default = new RGBColorSpace({
4670
4674
  M: M10
4671
4675
  });
4672
4676
 
4673
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/prophoto.js
4677
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/prophoto.js
4674
4678
  var Et = 1 / 512;
4675
4679
  var Et2 = 16 / 512;
4676
4680
  var prophoto_default = new RGBColorSpace({
@@ -4701,7 +4705,7 @@ var prophoto_default = new RGBColorSpace({
4701
4705
  }
4702
4706
  });
4703
4707
 
4704
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/rec2020-oetf.js
4708
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/rec2020-oetf.js
4705
4709
  var \u03B1 = 1.09929682680944;
4706
4710
  var \u03B2 = 0.018053968510807;
4707
4711
  var rec2020_oetf_default = new RGBColorSpace({
@@ -4733,7 +4737,7 @@ var rec2020_oetf_default = new RGBColorSpace({
4733
4737
  }
4734
4738
  });
4735
4739
 
4736
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/oklch-p3.js
4740
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/oklch-p3.js
4737
4741
  var oklch_p3_default = new GamutRelativeColorSpace({
4738
4742
  id: "oklch-p3",
4739
4743
  cssId: "--oklch-p3",
@@ -4742,7 +4746,7 @@ var oklch_p3_default = new GamutRelativeColorSpace({
4742
4746
  gamutSpace: p3_default
4743
4747
  });
4744
4748
 
4745
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/oklch-srgb.js
4749
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/oklch-srgb.js
4746
4750
  var oklch_srgb_default = new GamutRelativeColorSpace({
4747
4751
  id: "oklch-srgb",
4748
4752
  cssId: "--oklch-srgb",
@@ -4751,7 +4755,7 @@ var oklch_srgb_default = new GamutRelativeColorSpace({
4751
4755
  gamutSpace: srgb_default
4752
4756
  });
4753
4757
 
4754
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/oklch-rec2020.js
4758
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/oklch-rec2020.js
4755
4759
  var oklch_rec2020_default = new GamutRelativeColorSpace({
4756
4760
  id: "oklch-rec2020",
4757
4761
  cssId: "--oklch-rec2020",
@@ -4760,7 +4764,7 @@ var oklch_rec2020_default = new GamutRelativeColorSpace({
4760
4764
  gamutSpace: rec2020_default
4761
4765
  });
4762
4766
 
4763
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/lch-p3.js
4767
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/lch-p3.js
4764
4768
  var lch_p3_default = new GamutRelativeColorSpace({
4765
4769
  id: "lch-p3",
4766
4770
  cssId: "--lch-p3",
@@ -4769,7 +4773,7 @@ var lch_p3_default = new GamutRelativeColorSpace({
4769
4773
  gamutSpace: p3_default
4770
4774
  });
4771
4775
 
4772
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/lch-srgb.js
4776
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/lch-srgb.js
4773
4777
  var lch_srgb_default = new GamutRelativeColorSpace({
4774
4778
  id: "lch-srgb",
4775
4779
  cssId: "--lch-srgb",
@@ -4778,7 +4782,7 @@ var lch_srgb_default = new GamutRelativeColorSpace({
4778
4782
  gamutSpace: srgb_default
4779
4783
  });
4780
4784
 
4781
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/lch-rec2020.js
4785
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/lch-rec2020.js
4782
4786
  var lch_rec2020_default = new GamutRelativeColorSpace({
4783
4787
  id: "lch-rec2020",
4784
4788
  cssId: "--lch-rec2020",
@@ -4787,7 +4791,7 @@ var lch_rec2020_default = new GamutRelativeColorSpace({
4787
4791
  gamutSpace: rec2020_default
4788
4792
  });
4789
4793
 
4790
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/okhsl.js
4794
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/okhsl.js
4791
4795
  var tau2 = 2 * Math.PI;
4792
4796
  var M11 = {
4793
4797
  ...oklab_default.M,
@@ -5093,7 +5097,7 @@ Okhsl.rgbGamut = new RGBColorSpace({
5093
5097
  });
5094
5098
  var okhsl_default = Okhsl;
5095
5099
 
5096
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/oklrab.js
5100
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/oklrab.js
5097
5101
  var oklrab_default = new ColorSpace({
5098
5102
  id: "oklrab",
5099
5103
  name: "Oklrab",
@@ -5129,7 +5133,7 @@ var oklrab_default = new ColorSpace({
5129
5133
  }
5130
5134
  });
5131
5135
 
5132
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/oklrch.js
5136
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/oklrch.js
5133
5137
  var oklrch_default = new ColorSpace({
5134
5138
  id: "oklrch",
5135
5139
  name: "Oklrch",
@@ -5163,7 +5167,7 @@ var oklrch_default = new ColorSpace({
5163
5167
  }
5164
5168
  });
5165
5169
 
5166
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/okhsv.js
5170
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/okhsv.js
5167
5171
  var M12 = { toSRGBLinear: okhsl_default.M.toSRGBLinear };
5168
5172
  function okhsvToOklab(hsv, lmsToRgb, okCoeff) {
5169
5173
  let [h, s, v] = hsv;
@@ -5284,7 +5288,7 @@ Okhsv.rgbGamut = new RGBColorSpace({
5284
5288
  });
5285
5289
  var okhsv_default = Okhsv;
5286
5290
 
5287
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/luv.js
5291
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/luv.js
5288
5292
  var white5 = WHITES.D65;
5289
5293
  var \u03B57 = 216 / 24389;
5290
5294
  var \u03BA4 = 24389 / 27;
@@ -5352,7 +5356,7 @@ var luv_default = new ColorSpace({
5352
5356
  }
5353
5357
  });
5354
5358
 
5355
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/lchuv.js
5359
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/lchuv.js
5356
5360
  var lchuv_default = new ColorSpace({
5357
5361
  id: "lchuv",
5358
5362
  name: "LChuv",
@@ -5382,7 +5386,7 @@ var lchuv_default = new ColorSpace({
5382
5386
  }
5383
5387
  });
5384
5388
 
5385
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hsluv.js
5389
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hsluv.js
5386
5390
  var \u03B58 = 216 / 24389;
5387
5391
  var \u03BA5 = 24389 / 27;
5388
5392
  var fromXYZ_M = M8.fromXYZ;
@@ -5499,7 +5503,7 @@ var hsluv_default = new ColorSpace({
5499
5503
  }
5500
5504
  });
5501
5505
 
5502
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/hpluv.js
5506
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/hpluv.js
5503
5507
  var \u03B59 = 216 / 24389;
5504
5508
  var \u03BA6 = 24389 / 27;
5505
5509
  var fromXYZ_M2 = M8.fromXYZ;
@@ -5599,7 +5603,7 @@ HPLuv.rgbGamut = new RGBColorSpace({
5599
5603
  });
5600
5604
  var hpluv_default = HPLuv;
5601
5605
 
5602
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/helmgen.js
5606
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/helmgen.js
5603
5607
  var ALPHA = 0.021;
5604
5608
  var S = Math.sqrt(ALPHA / 3);
5605
5609
  var S3 = S * S * S;
@@ -5808,7 +5812,7 @@ var helmgen_default = new ColorSpace({
5808
5812
  }
5809
5813
  });
5810
5814
 
5811
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/helmgenlch.js
5815
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/helmgenlch.js
5812
5816
  var helmgenlch_default = new ColorSpace({
5813
5817
  id: "helmgenlch",
5814
5818
  name: "HelmGenLCh",
@@ -5834,7 +5838,7 @@ var helmgenlch_default = new ColorSpace({
5834
5838
  toBase: lch_default.toBase
5835
5839
  });
5836
5840
 
5837
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/rec2100-linear.js
5841
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/rec2100-linear.js
5838
5842
  var rec2100_linear_default = new RGBColorSpace({
5839
5843
  id: "rec2100-linear",
5840
5844
  name: "Linear REC.2100",
@@ -5842,7 +5846,7 @@ var rec2100_linear_default = new RGBColorSpace({
5842
5846
  M: M6
5843
5847
  });
5844
5848
 
5845
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/rec2100-pq.js
5849
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/rec2100-pq.js
5846
5850
  var Yw2 = 203;
5847
5851
  var n2 = 2610 / 2 ** 14;
5848
5852
  var ninv2 = 2 ** 14 / 2610;
@@ -5873,7 +5877,7 @@ var rec2100_pq_default = new RGBColorSpace({
5873
5877
  }
5874
5878
  });
5875
5879
 
5876
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/rec2100-hlg.js
5880
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/rec2100-hlg.js
5877
5881
  var a = 0.17883277;
5878
5882
  var b2 = 0.28466892;
5879
5883
  var c = 0.55991073;
@@ -5904,7 +5908,112 @@ var rec2100_hlg_default = new RGBColorSpace({
5904
5908
  }
5905
5909
  });
5906
5910
 
5907
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/acescg.js
5911
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/CATs.js
5912
+ var CATs = {};
5913
+ hooks_default.add("chromatic-adaptation-start", (env) => {
5914
+ if (env.options.method) {
5915
+ env.M = adapt3(env.W1, env.W2, env.options.method);
5916
+ }
5917
+ });
5918
+ hooks_default.add("chromatic-adaptation-end", (env) => {
5919
+ if (!env.M) {
5920
+ env.M = adapt3(env.W1, env.W2, env.options.method);
5921
+ }
5922
+ });
5923
+ function defineCAT({ id, toCone_M, fromCone_M }) {
5924
+ CATs[id] = arguments[0];
5925
+ }
5926
+ function adapt3(W1, W2, id = "Bradford") {
5927
+ let method = CATs[id];
5928
+ let [\u03C1s, \u03B3s, \u03B2s] = multiplyMatrices(method.toCone_M, W1);
5929
+ let [\u03C1d, \u03B3d, \u03B2d] = multiplyMatrices(method.toCone_M, W2);
5930
+ let scale2 = [
5931
+ [\u03C1d / \u03C1s, 0, 0],
5932
+ [0, \u03B3d / \u03B3s, 0],
5933
+ [0, 0, \u03B2d / \u03B2s]
5934
+ ];
5935
+ let scaled_cone_M = multiplyMatrices(scale2, method.toCone_M);
5936
+ let adapt_M = multiplyMatrices(method.fromCone_M, scaled_cone_M);
5937
+ return adapt_M;
5938
+ }
5939
+ defineCAT({
5940
+ id: "von Kries",
5941
+ toCone_M: [
5942
+ [0.40024, 0.7076, -0.08081],
5943
+ [-0.2263, 1.16532, 0.0457],
5944
+ [0, 0, 0.91822]
5945
+ ],
5946
+ fromCone_M: [
5947
+ [1.8599363874558397, -1.1293816185800916, 0.21989740959619328],
5948
+ [0.3611914362417676, 0.6388124632850422, -6370596838649899e-21],
5949
+ [0, 0, 1.0890636230968613]
5950
+ ]
5951
+ });
5952
+ defineCAT({
5953
+ id: "Bradford",
5954
+ // Convert an array of XYZ values in the range 0.0 - 1.0
5955
+ // to cone fundamentals
5956
+ toCone_M: [
5957
+ [0.8951, 0.2664, -0.1614],
5958
+ [-0.7502, 1.7135, 0.0367],
5959
+ [0.0389, -0.0685, 1.0296]
5960
+ ],
5961
+ // and back
5962
+ fromCone_M: [
5963
+ [0.9869929054667121, -0.14705425642099013, 0.15996265166373122],
5964
+ [0.4323052697233945, 0.5183602715367774, 0.049291228212855594],
5965
+ [-0.00852866457517732, 0.04004282165408486, 0.96848669578755]
5966
+ ]
5967
+ });
5968
+ defineCAT({
5969
+ id: "CAT02",
5970
+ // with complete chromatic adaptation to W2, so D = 1.0
5971
+ toCone_M: [
5972
+ [0.7328, 0.4296, -0.1624],
5973
+ [-0.7036, 1.6975, 61e-4],
5974
+ [3e-3, 0.0136, 0.9834]
5975
+ ],
5976
+ fromCone_M: [
5977
+ [1.0961238208355142, -0.27886900021828726, 0.18274517938277307],
5978
+ [0.4543690419753592, 0.4735331543074117, 0.07209780371722911],
5979
+ [-0.009627608738429355, -0.00569803121611342, 1.0153256399545427]
5980
+ ]
5981
+ });
5982
+ defineCAT({
5983
+ id: "CAT16",
5984
+ toCone_M: [
5985
+ [0.401288, 0.650173, -0.051461],
5986
+ [-0.250268, 1.204414, 0.045854],
5987
+ [-2079e-6, 0.048952, 0.953127]
5988
+ ],
5989
+ // the extra precision is needed to avoid roundtripping errors
5990
+ fromCone_M: [
5991
+ [1.862067855087233, -1.0112546305316845, 0.14918677544445172],
5992
+ [0.3875265432361372, 0.6214474419314753, -0.008973985167612521],
5993
+ [-0.01584149884933386, -0.03412293802851557, 1.0499644368778496]
5994
+ ]
5995
+ });
5996
+ Object.assign(WHITES, {
5997
+ // whitepoint values from ASTM E308-01 with 10nm spacing, 1931 2 degree observer
5998
+ // all normalized to Y (luminance) = 1.00000
5999
+ // Illuminant A is a tungsten electric light, giving a very warm, orange light.
6000
+ A: [1.0985, 1, 0.35585],
6001
+ // Illuminant C was an early approximation to daylight: illuminant A with a blue filter.
6002
+ C: [0.98074, 1, 1.18232],
6003
+ // The daylight series of illuminants simulate natural daylight.
6004
+ // The color temperature (in degrees Kelvin/100) ranges from
6005
+ // cool, overcast daylight (D50) to bright, direct sunlight (D65).
6006
+ D55: [0.95682, 1, 0.92149],
6007
+ D75: [0.94972, 1, 1.22638],
6008
+ // Equal-energy illuminant, used in two-stage CAT16
6009
+ E: [1, 1, 1],
6010
+ // The F series of illuminants represent fluorescent lights
6011
+ F2: [0.99186, 1, 0.67393],
6012
+ F7: [0.95041, 1, 1.08747],
6013
+ F11: [1.00962, 1, 0.6435]
6014
+ });
6015
+
6016
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/acescg.js
5908
6017
  WHITES.ACES = [0.32168 / 0.33767, 1, (1 - 0.32168 - 0.33767) / 0.33767];
5909
6018
  var M14 = {
5910
6019
  // convert an array of linear-light ACEScg values to CIE XYZ
@@ -5945,7 +6054,7 @@ var acescg_default = new RGBColorSpace({
5945
6054
  M: M14
5946
6055
  });
5947
6056
 
5948
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/acescc.js
6057
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/acescc.js
5949
6058
  var \u03B510 = 2 ** -16;
5950
6059
  var ACES_min_nonzero = -0.35828683;
5951
6060
  var ACES_cc_max = (Math.log2(65504) + 9.72) / 17.52;
@@ -6006,7 +6115,7 @@ var acescc_default = new RGBColorSpace({
6006
6115
  // encoded media black (rgb 0,0,0) => linear [ 0.0011857, 0.0011857, 0.0011857]
6007
6116
  });
6008
6117
 
6009
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/color.js
6118
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/color.js
6010
6119
  var Color = class _Color {
6011
6120
  /**
6012
6121
  * Creates an instance of Color.
@@ -6162,12 +6271,83 @@ Object.assign(Color, {
6162
6271
  defaults: defaults_default
6163
6272
  });
6164
6273
 
6165
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/spaces/index.js
6274
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/spaces/index.js
6166
6275
  for (let key of Object.keys(index_fn_exports)) {
6167
6276
  ColorSpace.register(index_fn_exports[key]);
6168
6277
  }
6169
6278
 
6170
- // ../node_modules/.pnpm/colorjs.io@0.7.0/node_modules/colorjs.io/src/index.js
6279
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/space-accessors.js
6280
+ for (let id in ColorSpace.registry) {
6281
+ addSpaceAccessors(id, ColorSpace.registry[id]);
6282
+ }
6283
+ hooks_default.add("colorspace-init-end", (space) => {
6284
+ addSpaceAccessors(space.id, space);
6285
+ space.aliases?.forEach((alias) => {
6286
+ addSpaceAccessors(alias, space);
6287
+ });
6288
+ });
6289
+ function addSpaceAccessors(id, space) {
6290
+ let propId = id.replace(/-/g, "_");
6291
+ Object.defineProperty(Color.prototype, propId, {
6292
+ // Convert coords to coords in another colorspace and return them
6293
+ // Source colorspace: this.spaceId
6294
+ // Target colorspace: id
6295
+ get() {
6296
+ let ret = this.getAll(id);
6297
+ if (typeof Proxy === "undefined") {
6298
+ return ret;
6299
+ }
6300
+ let proxy = new Proxy(ret, {
6301
+ has: (
6302
+ /** @param {string} property */
6303
+ (obj, property) => {
6304
+ try {
6305
+ ColorSpace.resolveCoord([space, property]);
6306
+ return true;
6307
+ } catch (e) {
6308
+ }
6309
+ return Reflect.has(obj, property);
6310
+ }
6311
+ ),
6312
+ get: (obj, property, receiver) => {
6313
+ if (property && typeof property !== "symbol" && !(property in obj) && property in proxy) {
6314
+ let { index } = ColorSpace.resolveCoord([space, property]);
6315
+ if (index >= 0) {
6316
+ return obj[index];
6317
+ }
6318
+ }
6319
+ return Reflect.get(obj, property, receiver);
6320
+ },
6321
+ set: (obj, property, value, receiver) => {
6322
+ if (property && typeof property !== "symbol" && !(property in obj) || Number(property) >= 0) {
6323
+ let { index } = ColorSpace.resolveCoord([
6324
+ space,
6325
+ /** @type {string} */
6326
+ property
6327
+ ]);
6328
+ if (index >= 0) {
6329
+ obj[index] = value;
6330
+ this.setAll(id, obj);
6331
+ return true;
6332
+ }
6333
+ }
6334
+ return Reflect.set(obj, property, value, receiver);
6335
+ }
6336
+ });
6337
+ return proxy;
6338
+ },
6339
+ // Convert coords in another colorspace to internal coords and set them
6340
+ // Target colorspace: this.spaceId
6341
+ // Source colorspace: id
6342
+ set(coords) {
6343
+ this.setAll(id, coords);
6344
+ },
6345
+ configurable: true,
6346
+ enumerable: true
6347
+ });
6348
+ }
6349
+
6350
+ // ../node_modules/.pnpm/colorjs.io@0.7.1/node_modules/colorjs.io/src/index.js
6171
6351
  Color.extend(deltaE_default);
6172
6352
  Color.extend({ deltaE });
6173
6353
  Object.assign(Color, { deltaEMethods: deltaE_default });