@copilotkit/runtime-client-gql 1.50.2-next.0 → 1.51.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +6 -15
  2. package/LICENSE +21 -0
  3. package/dist/{chunk-WUF3XSW5.mjs → chunk-3ETRQN2E.mjs} +2 -2
  4. package/dist/{chunk-YLBJJZHO.mjs → chunk-FVKO3JII.mjs} +4 -4
  5. package/dist/{chunk-YLBJJZHO.mjs.map → chunk-FVKO3JII.mjs.map} +1 -1
  6. package/dist/{chunk-EWRHYLZE.mjs → chunk-KTA7QTTU.mjs} +2 -2
  7. package/dist/{chunk-SVJN2STA.mjs → chunk-L6PM6AT3.mjs} +826 -869
  8. package/dist/chunk-L6PM6AT3.mjs.map +1 -0
  9. package/dist/{chunk-AQ2Y6PF5.mjs → chunk-M5LBGBWO.mjs} +1 -1
  10. package/dist/chunk-M5LBGBWO.mjs.map +1 -0
  11. package/dist/client/CopilotRuntimeClient.js +1 -1
  12. package/dist/client/CopilotRuntimeClient.js.map +1 -1
  13. package/dist/client/CopilotRuntimeClient.mjs +4 -4
  14. package/dist/client/index.js +1 -1
  15. package/dist/client/index.js.map +1 -1
  16. package/dist/client/index.mjs +4 -4
  17. package/dist/graphql/@generated/gql.d.ts +7 -12
  18. package/dist/graphql/@generated/gql.js.map +1 -1
  19. package/dist/graphql/@generated/gql.mjs +1 -1
  20. package/dist/graphql/@generated/index.js.map +1 -1
  21. package/dist/graphql/@generated/index.mjs +1 -1
  22. package/dist/graphql/definitions/mutations.js.map +1 -1
  23. package/dist/graphql/definitions/mutations.mjs +2 -2
  24. package/dist/graphql/definitions/queries.js.map +1 -1
  25. package/dist/graphql/definitions/queries.mjs +2 -2
  26. package/dist/index.js +1 -1
  27. package/dist/index.js.map +1 -1
  28. package/dist/index.mjs +4 -4
  29. package/dist/{magic-string.es-O42ACB6H.mjs → magic-string.es-26DP735G.mjs} +22 -6
  30. package/dist/magic-string.es-26DP735G.mjs.map +1 -0
  31. package/dist/message-conversion/agui-to-gql.mjs +4 -4
  32. package/dist/message-conversion/agui-to-gql.test.js +861 -888
  33. package/dist/message-conversion/agui-to-gql.test.js.map +1 -1
  34. package/dist/message-conversion/agui-to-gql.test.mjs +5 -5
  35. package/dist/message-conversion/gql-to-agui.mjs +4 -4
  36. package/dist/message-conversion/gql-to-agui.test.js +861 -888
  37. package/dist/message-conversion/gql-to-agui.test.js.map +1 -1
  38. package/dist/message-conversion/gql-to-agui.test.mjs +5 -5
  39. package/dist/message-conversion/index.mjs +4 -4
  40. package/dist/message-conversion/roundtrip-conversion.test.js +864 -891
  41. package/dist/message-conversion/roundtrip-conversion.test.js.map +1 -1
  42. package/dist/message-conversion/roundtrip-conversion.test.mjs +5 -5
  43. package/package.json +6 -5
  44. package/src/graphql/@generated/gql.ts +7 -1
  45. package/dist/chunk-AQ2Y6PF5.mjs.map +0 -1
  46. package/dist/chunk-SVJN2STA.mjs.map +0 -1
  47. package/dist/magic-string.es-O42ACB6H.mjs.map +0 -1
  48. /package/dist/{chunk-WUF3XSW5.mjs.map → chunk-3ETRQN2E.mjs.map} +0 -0
  49. /package/dist/{chunk-EWRHYLZE.mjs.map → chunk-KTA7QTTU.mjs.map} +0 -0
@@ -32,9 +32,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  mod
33
33
  ));
34
34
 
35
- // ../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js
35
+ // ../../../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js
36
36
  var require_js_tokens = __commonJS({
37
- "../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js"(exports, module2) {
37
+ "../../../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js"(exports, module2) {
38
38
  var HashbangComment;
39
39
  var Identifier;
40
40
  var JSXIdentifier;
@@ -452,7 +452,7 @@ var require_js_tokens = __commonJS({
452
452
  }
453
453
  });
454
454
 
455
- // ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
455
+ // ../../../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
456
456
  function encodeInteger(builder, num, relative2) {
457
457
  let delta = num - relative2;
458
458
  delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
@@ -478,9 +478,9 @@ function encode(decoded) {
478
478
  if (line.length === 0)
479
479
  continue;
480
480
  let genColumn = 0;
481
- for (let j = 0; j < line.length; j++) {
482
- const segment = line[j];
483
- if (j > 0)
481
+ for (let j2 = 0; j2 < line.length; j2++) {
482
+ const segment = line[j2];
483
+ if (j2 > 0)
484
484
  writer.write(comma2);
485
485
  genColumn = encodeInteger(writer, segment[0], genColumn);
486
486
  if (segment.length === 1)
@@ -497,7 +497,7 @@ function encode(decoded) {
497
497
  }
498
498
  var comma2, semicolon, chars2, intToChar2, charToInt2, bufLength, td, StringWriter;
499
499
  var init_sourcemap_codec = __esm({
500
- "../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs"() {
500
+ "../../../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs"() {
501
501
  comma2 = ",".charCodeAt(0);
502
502
  semicolon = ";".charCodeAt(0);
503
503
  chars2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
@@ -529,9 +529,9 @@ var init_sourcemap_codec = __esm({
529
529
  this.out = "";
530
530
  this.buffer = new Uint8Array(bufLength);
531
531
  }
532
- write(v) {
532
+ write(v2) {
533
533
  const { buffer } = this;
534
- buffer[this.pos++] = v;
534
+ buffer[this.pos++] = v2;
535
535
  if (this.pos === bufLength) {
536
536
  this.out += td.decode(buffer);
537
537
  this.pos = 0;
@@ -545,7 +545,7 @@ var init_sourcemap_codec = __esm({
545
545
  }
546
546
  });
547
547
 
548
- // ../../node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.mjs
548
+ // ../../../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
549
549
  var magic_string_es_exports = {};
550
550
  __export(magic_string_es_exports, {
551
551
  Bundle: () => Bundle,
@@ -606,11 +606,11 @@ function getLocator(source) {
606
606
  }
607
607
  return function locate(index2) {
608
608
  let i = 0;
609
- let j = lineOffsets.length;
610
- while (i < j) {
611
- const m2 = i + j >> 1;
609
+ let j2 = lineOffsets.length;
610
+ while (i < j2) {
611
+ const m2 = i + j2 >> 1;
612
612
  if (index2 < lineOffsets[m2]) {
613
- j = m2;
613
+ j2 = m2;
614
614
  } else {
615
615
  i = m2 + 1;
616
616
  }
@@ -622,7 +622,7 @@ function getLocator(source) {
622
622
  }
623
623
  var BitSet, Chunk, btoa, SourceMap, toString4, wordRegex, Mappings, n, warned, MagicString, hasOwnProp, Bundle;
624
624
  var init_magic_string_es = __esm({
625
- "../../node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.mjs"() {
625
+ "../../../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs"() {
626
626
  init_sourcemap_codec();
627
627
  BitSet = class {
628
628
  constructor(arg) {
@@ -1004,6 +1004,9 @@ var init_magic_string_es = __esm({
1004
1004
  if (chunk.outro.length)
1005
1005
  mappings.advance(chunk.outro);
1006
1006
  });
1007
+ if (this.outro) {
1008
+ mappings.advance(this.outro);
1009
+ }
1007
1010
  return {
1008
1011
  file: options.file ? options.file.split(/[/\\]/).pop() : void 0,
1009
1012
  sources: [
@@ -1402,11 +1405,15 @@ var init_magic_string_es = __esm({
1402
1405
  if (this.byStart[index2] || this.byEnd[index2])
1403
1406
  return;
1404
1407
  let chunk = this.lastSearchedChunk;
1408
+ let previousChunk = chunk;
1405
1409
  const searchForward = index2 > chunk.end;
1406
1410
  while (chunk) {
1407
1411
  if (chunk.contains(index2))
1408
1412
  return this._splitChunk(chunk, index2);
1409
1413
  chunk = searchForward ? this.byStart[chunk.end] : this.byEnd[chunk.start];
1414
+ if (chunk === previousChunk)
1415
+ return;
1416
+ previousChunk = chunk;
1410
1417
  }
1411
1418
  }
1412
1419
  _splitChunk(chunk, index2) {
@@ -1562,7 +1569,12 @@ var init_magic_string_es = __esm({
1562
1569
  const { original } = this;
1563
1570
  const index2 = original.indexOf(string2);
1564
1571
  if (index2 !== -1) {
1565
- this.overwrite(index2, index2 + string2.length, replacement);
1572
+ if (typeof replacement === "function") {
1573
+ replacement = replacement(string2, index2, original);
1574
+ }
1575
+ if (string2 !== replacement) {
1576
+ this.overwrite(index2, index2 + string2.length, replacement);
1577
+ }
1566
1578
  }
1567
1579
  return this;
1568
1580
  }
@@ -1577,8 +1589,12 @@ var init_magic_string_es = __esm({
1577
1589
  const stringLength = string2.length;
1578
1590
  for (let index2 = original.indexOf(string2); index2 !== -1; index2 = original.indexOf(string2, index2 + stringLength)) {
1579
1591
  const previous = original.slice(index2, index2 + stringLength);
1580
- if (previous !== replacement)
1581
- this.overwrite(index2, index2 + stringLength, replacement);
1592
+ let _replacement = replacement;
1593
+ if (typeof replacement === "function") {
1594
+ _replacement = replacement(previous, index2, original);
1595
+ }
1596
+ if (previous !== _replacement)
1597
+ this.overwrite(index2, index2 + stringLength, _replacement);
1582
1598
  }
1583
1599
  return this;
1584
1600
  }
@@ -1744,8 +1760,8 @@ var init_magic_string_es = __esm({
1744
1760
  indentStringCounts[indentStr] = 0;
1745
1761
  indentStringCounts[indentStr] += 1;
1746
1762
  });
1747
- return Object.keys(indentStringCounts).sort((a3, b) => {
1748
- return indentStringCounts[a3] - indentStringCounts[b];
1763
+ return Object.keys(indentStringCounts).sort((a3, b2) => {
1764
+ return indentStringCounts[a3] - indentStringCounts[b2];
1749
1765
  })[0] || " ";
1750
1766
  }
1751
1767
  indent(indentStr) {
@@ -1835,17 +1851,17 @@ var init_magic_string_es = __esm({
1835
1851
  }
1836
1852
  });
1837
1853
 
1838
- // ../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/branding.js
1854
+ // ../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.js
1839
1855
  var require_branding = __commonJS({
1840
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/branding.js"(exports) {
1856
+ "../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.js"(exports) {
1841
1857
  "use strict";
1842
1858
  Object.defineProperty(exports, "__esModule", { value: true });
1843
1859
  }
1844
1860
  });
1845
1861
 
1846
- // ../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/messages.js
1862
+ // ../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.js
1847
1863
  var require_messages = __commonJS({
1848
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/messages.js"(exports) {
1864
+ "../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.js"(exports) {
1849
1865
  "use strict";
1850
1866
  Object.defineProperty(exports, "__esModule", { value: true });
1851
1867
  var inverted = Symbol("inverted");
@@ -1867,17 +1883,17 @@ var require_messages = __commonJS({
1867
1883
  }
1868
1884
  });
1869
1885
 
1870
- // ../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/overloads.js
1886
+ // ../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.js
1871
1887
  var require_overloads = __commonJS({
1872
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/overloads.js"(exports) {
1888
+ "../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.js"(exports) {
1873
1889
  "use strict";
1874
1890
  Object.defineProperty(exports, "__esModule", { value: true });
1875
1891
  }
1876
1892
  });
1877
1893
 
1878
- // ../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/utils.js
1894
+ // ../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.js
1879
1895
  var require_utils = __commonJS({
1880
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/utils.js"(exports) {
1896
+ "../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.js"(exports) {
1881
1897
  "use strict";
1882
1898
  Object.defineProperty(exports, "__esModule", { value: true });
1883
1899
  var secret = Symbol("secret");
@@ -1886,24 +1902,24 @@ var require_utils = __commonJS({
1886
1902
  }
1887
1903
  });
1888
1904
 
1889
- // ../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/index.js
1905
+ // ../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.js
1890
1906
  var require_dist = __commonJS({
1891
- "../../node_modules/.pnpm/expect-type@1.2.2/node_modules/expect-type/dist/index.js"(exports) {
1907
+ "../../../../node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.js"(exports) {
1892
1908
  "use strict";
1893
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m2, k, k2) {
1894
- if (k2 === void 0)
1895
- k2 = k;
1896
- var desc = Object.getOwnPropertyDescriptor(m2, k);
1909
+ var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m2, k2, k22) {
1910
+ if (k22 === void 0)
1911
+ k22 = k2;
1912
+ var desc = Object.getOwnPropertyDescriptor(m2, k2);
1897
1913
  if (!desc || ("get" in desc ? !m2.__esModule : desc.writable || desc.configurable)) {
1898
1914
  desc = { enumerable: true, get: function() {
1899
- return m2[k];
1915
+ return m2[k2];
1900
1916
  } };
1901
1917
  }
1902
- Object.defineProperty(o, k2, desc);
1903
- } : function(o, m2, k, k2) {
1904
- if (k2 === void 0)
1905
- k2 = k;
1906
- o[k2] = m2[k];
1918
+ Object.defineProperty(o, k22, desc);
1919
+ } : function(o, m2, k2, k22) {
1920
+ if (k22 === void 0)
1921
+ k22 = k2;
1922
+ o[k22] = m2[k2];
1907
1923
  });
1908
1924
  var __exportStar = exports && exports.__exportStar || function(m2, exports2) {
1909
1925
  for (var p3 in m2)
@@ -1970,7 +1986,7 @@ var require_dist = __commonJS({
1970
1986
  }
1971
1987
  });
1972
1988
 
1973
- // ../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
1989
+ // ../../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
1974
1990
  var f = {
1975
1991
  reset: [0, 0],
1976
1992
  bold: [1, 22, "\x1B[22m\x1B[1m"],
@@ -2026,44 +2042,44 @@ function C(n2 = false) {
2026
2042
  }
2027
2043
  function p(n2 = false) {
2028
2044
  let e = C(n2), i = (r2, t, c, o) => {
2029
- let l = "", s2 = 0;
2045
+ let l2 = "", s2 = 0;
2030
2046
  do
2031
- l += r2.substring(s2, o) + c, s2 = o + t.length, o = r2.indexOf(t, s2);
2047
+ l2 += r2.substring(s2, o) + c, s2 = o + t.length, o = r2.indexOf(t, s2);
2032
2048
  while (~o);
2033
- return l + r2.substring(s2);
2049
+ return l2 + r2.substring(s2);
2034
2050
  }, g = (r2, t, c = r2) => {
2035
- let o = (l) => {
2036
- let s2 = String(l), b = s2.indexOf(t, r2.length);
2037
- return ~b ? r2 + i(s2, t, c, b) + t : r2 + s2 + t;
2051
+ let o = (l2) => {
2052
+ let s2 = String(l2), b2 = s2.indexOf(t, r2.length);
2053
+ return ~b2 ? r2 + i(s2, t, c, b2) + t : r2 + s2 + t;
2038
2054
  };
2039
2055
  return o.open = r2, o.close = t, o;
2040
- }, u2 = {
2056
+ }, u3 = {
2041
2057
  isColorSupported: e
2042
2058
  }, d = (r2) => `\x1B[${r2}m`;
2043
2059
  for (let [r2, t] of h)
2044
- u2[r2] = e ? g(
2060
+ u3[r2] = e ? g(
2045
2061
  d(t[0]),
2046
2062
  d(t[1]),
2047
2063
  t[2]
2048
2064
  ) : a;
2049
- return u2;
2065
+ return u3;
2050
2066
  }
2051
2067
 
2052
- // ../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js
2068
+ // ../../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js
2053
2069
  var import_tty = require("tty");
2054
2070
  var r = process.env.FORCE_TTY !== void 0 || (0, import_tty.isatty)(1);
2055
2071
  var u = p(r);
2056
2072
 
2057
- // ../../node_modules/.pnpm/@vitest+pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js
2073
+ // ../../../../node_modules/.pnpm/@vitest+pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js
2058
2074
  function _mergeNamespaces(n2, m2) {
2059
2075
  m2.forEach(function(e) {
2060
- e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
2061
- if (k !== "default" && !(k in n2)) {
2062
- var d = Object.getOwnPropertyDescriptor(e, k);
2063
- Object.defineProperty(n2, k, d.get ? d : {
2076
+ e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k2) {
2077
+ if (k2 !== "default" && !(k2 in n2)) {
2078
+ var d = Object.getOwnPropertyDescriptor(e, k2);
2079
+ Object.defineProperty(n2, k2, d.get ? d : {
2064
2080
  enumerable: true,
2065
2081
  get: function() {
2066
- return e[k];
2082
+ return e[k2];
2067
2083
  }
2068
2084
  });
2069
2085
  }
@@ -2138,7 +2154,7 @@ function printIteratorValues(iterator, config2, indentation, depth, refs, printe
2138
2154
  function printListItems(list, config2, indentation, depth, refs, printer2) {
2139
2155
  let result = "";
2140
2156
  list = list instanceof ArrayBuffer ? new DataView(list) : list;
2141
- const isDataView = (l) => l instanceof DataView;
2157
+ const isDataView = (l2) => l2 instanceof DataView;
2142
2158
  const length = isDataView(list) ? list.byteLength : list.length;
2143
2159
  if (length > 0) {
2144
2160
  result += config2.spacingOuter;
@@ -2399,8 +2415,8 @@ var plugin$2 = {
2399
2415
  serialize: serialize$2,
2400
2416
  test: test$2
2401
2417
  };
2402
- function getDefaultExportFromCjs(x) {
2403
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
2418
+ function getDefaultExportFromCjs(x2) {
2419
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2404
2420
  }
2405
2421
  var reactIs$1 = { exports: {} };
2406
2422
  var reactIs_production = {};
@@ -2616,25 +2632,25 @@ function requireReactIs_production_min() {
2616
2632
  if (hasRequiredReactIs_production_min)
2617
2633
  return reactIs_production_min;
2618
2634
  hasRequiredReactIs_production_min = 1;
2619
- var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f3 = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h3 = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m2 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p3 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u2;
2620
- u2 = Symbol.for("react.module.reference");
2621
- function v(a3) {
2635
+ var b2 = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e = Symbol.for("react.strict_mode"), f4 = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h4 = Symbol.for("react.context"), k2 = Symbol.for("react.server_context"), l2 = Symbol.for("react.forward_ref"), m2 = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p3 = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t = Symbol.for("react.offscreen"), u3;
2636
+ u3 = Symbol.for("react.module.reference");
2637
+ function v2(a3) {
2622
2638
  if ("object" === typeof a3 && null !== a3) {
2623
2639
  var r2 = a3.$$typeof;
2624
2640
  switch (r2) {
2625
- case b:
2641
+ case b2:
2626
2642
  switch (a3 = a3.type, a3) {
2627
2643
  case d:
2628
- case f3:
2644
+ case f4:
2629
2645
  case e:
2630
2646
  case m2:
2631
2647
  case n2:
2632
2648
  return a3;
2633
2649
  default:
2634
2650
  switch (a3 = a3 && a3.$$typeof, a3) {
2635
- case k:
2636
- case h3:
2637
- case l:
2651
+ case k2:
2652
+ case h4:
2653
+ case l2:
2638
2654
  case q:
2639
2655
  case p3:
2640
2656
  case g:
@@ -2648,15 +2664,15 @@ function requireReactIs_production_min() {
2648
2664
  }
2649
2665
  }
2650
2666
  }
2651
- reactIs_production_min.ContextConsumer = h3;
2667
+ reactIs_production_min.ContextConsumer = h4;
2652
2668
  reactIs_production_min.ContextProvider = g;
2653
- reactIs_production_min.Element = b;
2654
- reactIs_production_min.ForwardRef = l;
2669
+ reactIs_production_min.Element = b2;
2670
+ reactIs_production_min.ForwardRef = l2;
2655
2671
  reactIs_production_min.Fragment = d;
2656
2672
  reactIs_production_min.Lazy = q;
2657
2673
  reactIs_production_min.Memo = p3;
2658
2674
  reactIs_production_min.Portal = c;
2659
- reactIs_production_min.Profiler = f3;
2675
+ reactIs_production_min.Profiler = f4;
2660
2676
  reactIs_production_min.StrictMode = e;
2661
2677
  reactIs_production_min.Suspense = m2;
2662
2678
  reactIs_production_min.SuspenseList = n2;
@@ -2667,45 +2683,45 @@ function requireReactIs_production_min() {
2667
2683
  return false;
2668
2684
  };
2669
2685
  reactIs_production_min.isContextConsumer = function(a3) {
2670
- return v(a3) === h3;
2686
+ return v2(a3) === h4;
2671
2687
  };
2672
2688
  reactIs_production_min.isContextProvider = function(a3) {
2673
- return v(a3) === g;
2689
+ return v2(a3) === g;
2674
2690
  };
2675
2691
  reactIs_production_min.isElement = function(a3) {
2676
- return "object" === typeof a3 && null !== a3 && a3.$$typeof === b;
2692
+ return "object" === typeof a3 && null !== a3 && a3.$$typeof === b2;
2677
2693
  };
2678
2694
  reactIs_production_min.isForwardRef = function(a3) {
2679
- return v(a3) === l;
2695
+ return v2(a3) === l2;
2680
2696
  };
2681
2697
  reactIs_production_min.isFragment = function(a3) {
2682
- return v(a3) === d;
2698
+ return v2(a3) === d;
2683
2699
  };
2684
2700
  reactIs_production_min.isLazy = function(a3) {
2685
- return v(a3) === q;
2701
+ return v2(a3) === q;
2686
2702
  };
2687
2703
  reactIs_production_min.isMemo = function(a3) {
2688
- return v(a3) === p3;
2704
+ return v2(a3) === p3;
2689
2705
  };
2690
2706
  reactIs_production_min.isPortal = function(a3) {
2691
- return v(a3) === c;
2707
+ return v2(a3) === c;
2692
2708
  };
2693
2709
  reactIs_production_min.isProfiler = function(a3) {
2694
- return v(a3) === f3;
2710
+ return v2(a3) === f4;
2695
2711
  };
2696
2712
  reactIs_production_min.isStrictMode = function(a3) {
2697
- return v(a3) === e;
2713
+ return v2(a3) === e;
2698
2714
  };
2699
2715
  reactIs_production_min.isSuspense = function(a3) {
2700
- return v(a3) === m2;
2716
+ return v2(a3) === m2;
2701
2717
  };
2702
2718
  reactIs_production_min.isSuspenseList = function(a3) {
2703
- return v(a3) === n2;
2719
+ return v2(a3) === n2;
2704
2720
  };
2705
2721
  reactIs_production_min.isValidElementType = function(a3) {
2706
- return "string" === typeof a3 || "function" === typeof a3 || a3 === d || a3 === f3 || a3 === e || a3 === m2 || a3 === n2 || a3 === t || "object" === typeof a3 && null !== a3 && (a3.$$typeof === q || a3.$$typeof === p3 || a3.$$typeof === g || a3.$$typeof === h3 || a3.$$typeof === l || a3.$$typeof === u2 || void 0 !== a3.getModuleId) ? true : false;
2722
+ return "string" === typeof a3 || "function" === typeof a3 || a3 === d || a3 === f4 || a3 === e || a3 === m2 || a3 === n2 || a3 === t || "object" === typeof a3 && null !== a3 && (a3.$$typeof === q || a3.$$typeof === p3 || a3.$$typeof === g || a3.$$typeof === h4 || a3.$$typeof === l2 || a3.$$typeof === u3 || void 0 !== a3.getModuleId) ? true : false;
2707
2723
  };
2708
- reactIs_production_min.typeOf = v;
2724
+ reactIs_production_min.typeOf = v2;
2709
2725
  return reactIs_production_min;
2710
2726
  }
2711
2727
  var reactIs_development = {};
@@ -2925,7 +2941,7 @@ var reactIsMethods = [
2925
2941
  "isSuspenseList",
2926
2942
  "isValidElementType"
2927
2943
  ];
2928
- var ReactIs = Object.fromEntries(reactIsMethods.map((m2) => [m2, (v) => ReactIs18[m2](v) || ReactIs19[m2](v)]));
2944
+ var ReactIs = Object.fromEntries(reactIsMethods.map((m2) => [m2, (v2) => ReactIs18[m2](v2) || ReactIs19[m2](v2)]));
2929
2945
  function getChildren(arg, children = []) {
2930
2946
  if (Array.isArray(arg)) {
2931
2947
  for (const item of arg) {
@@ -3292,7 +3308,7 @@ var plugins = {
3292
3308
  Error: ErrorPlugin
3293
3309
  };
3294
3310
 
3295
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/helpers.js
3311
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js
3296
3312
  var ansiColors = {
3297
3313
  bold: ["1", "22"],
3298
3314
  dim: ["2", "22"],
@@ -3447,7 +3463,7 @@ function inspectProperty([key, value], options) {
3447
3463
  return `${key}: ${value}`;
3448
3464
  }
3449
3465
 
3450
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/array.js
3466
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
3451
3467
  function inspectArray(array2, options) {
3452
3468
  const nonIndexProperties = Object.keys(array2).slice(array2.length);
3453
3469
  if (!array2.length && !nonIndexProperties.length)
@@ -3462,7 +3478,7 @@ function inspectArray(array2, options) {
3462
3478
  return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
3463
3479
  }
3464
3480
 
3465
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/typedarray.js
3481
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js
3466
3482
  var getArrayName = (array2) => {
3467
3483
  if (typeof Buffer === "function" && array2 instanceof Buffer) {
3468
3484
  return "Buffer";
@@ -3495,7 +3511,7 @@ function inspectTypedArray(array2, options) {
3495
3511
  return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
3496
3512
  }
3497
3513
 
3498
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/date.js
3514
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
3499
3515
  function inspectDate(dateObject, options) {
3500
3516
  const stringRepresentation = dateObject.toJSON();
3501
3517
  if (stringRepresentation === null) {
@@ -3506,7 +3522,7 @@ function inspectDate(dateObject, options) {
3506
3522
  return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
3507
3523
  }
3508
3524
 
3509
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/function.js
3525
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js
3510
3526
  function inspectFunction(func, options) {
3511
3527
  const functionType = func[Symbol.toStringTag] || "Function";
3512
3528
  const name = func.name;
@@ -3516,7 +3532,7 @@ function inspectFunction(func, options) {
3516
3532
  return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
3517
3533
  }
3518
3534
 
3519
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/map.js
3535
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js
3520
3536
  function inspectMapEntry([key, value], options) {
3521
3537
  options.truncate -= 4;
3522
3538
  key = options.inspect(key, options);
@@ -3538,7 +3554,7 @@ function inspectMap(map2, options) {
3538
3554
  return `Map{ ${inspectList(mapToEntries(map2), options, inspectMapEntry)} }`;
3539
3555
  }
3540
3556
 
3541
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/number.js
3557
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js
3542
3558
  var isNaN = Number.isNaN || ((i) => i !== i);
3543
3559
  function inspectNumber(number, options) {
3544
3560
  if (isNaN(number)) {
@@ -3556,7 +3572,7 @@ function inspectNumber(number, options) {
3556
3572
  return options.stylize(truncate(String(number), options.truncate), "number");
3557
3573
  }
3558
3574
 
3559
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/bigint.js
3575
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
3560
3576
  function inspectBigInt(number, options) {
3561
3577
  let nums = truncate(number.toString(), options.truncate - 1);
3562
3578
  if (nums !== truncator)
@@ -3564,7 +3580,7 @@ function inspectBigInt(number, options) {
3564
3580
  return options.stylize(nums, "bigint");
3565
3581
  }
3566
3582
 
3567
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/regexp.js
3583
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js
3568
3584
  function inspectRegExp(value, options) {
3569
3585
  const flags = value.toString().split("/")[2];
3570
3586
  const sourceLength = options.truncate - (2 + flags.length);
@@ -3572,7 +3588,7 @@ function inspectRegExp(value, options) {
3572
3588
  return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
3573
3589
  }
3574
3590
 
3575
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/set.js
3591
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js
3576
3592
  function arrayFromSet(set3) {
3577
3593
  const values = [];
3578
3594
  set3.forEach((value) => {
@@ -3587,7 +3603,7 @@ function inspectSet(set3, options) {
3587
3603
  return `Set{ ${inspectList(arrayFromSet(set3), options)} }`;
3588
3604
  }
3589
3605
 
3590
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/string.js
3606
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js
3591
3607
  var stringEscapeChars = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
3592
3608
  var escapeCharacters = {
3593
3609
  "\b": "\\b",
@@ -3610,7 +3626,7 @@ function inspectString(string2, options) {
3610
3626
  return options.stylize(`'${truncate(string2, options.truncate - 2)}'`, "string");
3611
3627
  }
3612
3628
 
3613
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/symbol.js
3629
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js
3614
3630
  function inspectSymbol(value) {
3615
3631
  if ("description" in Symbol.prototype) {
3616
3632
  return value.description ? `Symbol(${value.description})` : "Symbol()";
@@ -3618,24 +3634,11 @@ function inspectSymbol(value) {
3618
3634
  return value.toString();
3619
3635
  }
3620
3636
 
3621
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/promise.js
3637
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js
3622
3638
  var getPromiseValue = () => "Promise{\u2026}";
3623
- try {
3624
- const { getPromiseDetails, kPending, kRejected } = process.binding("util");
3625
- if (Array.isArray(getPromiseDetails(Promise.resolve()))) {
3626
- getPromiseValue = (value, options) => {
3627
- const [state, innerValue] = getPromiseDetails(value);
3628
- if (state === kPending) {
3629
- return "Promise{<pending>}";
3630
- }
3631
- return `Promise${state === kRejected ? "!" : ""}{${options.inspect(innerValue, options)}}`;
3632
- };
3633
- }
3634
- } catch (notNode) {
3635
- }
3636
3639
  var promise_default = getPromiseValue;
3637
3640
 
3638
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/object.js
3641
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js
3639
3642
  function inspectObject(object2, options) {
3640
3643
  const properties = Object.getOwnPropertyNames(object2);
3641
3644
  const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object2) : [];
@@ -3658,7 +3661,7 @@ function inspectObject(object2, options) {
3658
3661
  return `{ ${propertyContents}${sep2}${symbolContents} }`;
3659
3662
  }
3660
3663
 
3661
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/class.js
3664
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
3662
3665
  var toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
3663
3666
  function inspectClass(value, options) {
3664
3667
  let name = "";
@@ -3673,7 +3676,7 @@ function inspectClass(value, options) {
3673
3676
  return `${name}${inspectObject(value, options)}`;
3674
3677
  }
3675
3678
 
3676
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/arguments.js
3679
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
3677
3680
  function inspectArguments(args, options) {
3678
3681
  if (args.length === 0)
3679
3682
  return "Arguments[]";
@@ -3681,7 +3684,7 @@ function inspectArguments(args, options) {
3681
3684
  return `Arguments[ ${inspectList(args, options)} ]`;
3682
3685
  }
3683
3686
 
3684
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/error.js
3687
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js
3685
3688
  var errorKeys = [
3686
3689
  "stack",
3687
3690
  "line",
@@ -3716,7 +3719,7 @@ function inspectObject2(error, options) {
3716
3719
  return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
3717
3720
  }
3718
3721
 
3719
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/html.js
3722
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js
3720
3723
  function inspectAttribute([key, value], options) {
3721
3724
  options.truncate -= 3;
3722
3725
  if (!value) {
@@ -3758,7 +3761,7 @@ function inspectHTML(element, options) {
3758
3761
  return `${head}${propertyContents}${headClose}${children}${tail}`;
3759
3762
  }
3760
3763
 
3761
- // ../../node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/index.js
3764
+ // ../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js
3762
3765
  var symbolsSupported = typeof Symbol === "function" && typeof Symbol.for === "function";
3763
3766
  var chaiInspect = symbolsSupported ? Symbol.for("chai/inspect") : "@@chai/inspect";
3764
3767
  var nodeInspect = Symbol.for("nodejs.util.inspect.custom");
@@ -3806,12 +3809,12 @@ var baseTypesMap = {
3806
3809
  HTMLCollection: inspectNodeCollection,
3807
3810
  NodeList: inspectNodeCollection
3808
3811
  };
3809
- var inspectCustom = (value, options, type3) => {
3812
+ var inspectCustom = (value, options, type3, inspectFn) => {
3810
3813
  if (chaiInspect in value && typeof value[chaiInspect] === "function") {
3811
3814
  return value[chaiInspect](options);
3812
3815
  }
3813
3816
  if (nodeInspect in value && typeof value[nodeInspect] === "function") {
3814
- return value[nodeInspect](options.depth, options);
3817
+ return value[nodeInspect](options.depth, options, inspectFn);
3815
3818
  }
3816
3819
  if ("inspect" in value && typeof value.inspect === "function") {
3817
3820
  return value.inspect(options.depth, options);
@@ -3836,7 +3839,7 @@ function inspect(value, opts = {}) {
3836
3839
  return baseTypesMap[type3](value, options);
3837
3840
  }
3838
3841
  if (customInspect && value) {
3839
- const output = inspectCustom(value, options, type3);
3842
+ const output = inspectCustom(value, options, type3, inspect);
3840
3843
  if (output) {
3841
3844
  if (typeof output === "string")
3842
3845
  return output;
@@ -3862,7 +3865,7 @@ function inspect(value, opts = {}) {
3862
3865
  return options.stylize(String(value), type3);
3863
3866
  }
3864
3867
 
3865
- // ../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
3868
+ // ../../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
3866
3869
  var { AsymmetricMatcher, DOMCollection, DOMElement, Immutable, ReactElement, ReactTestComponent } = plugins;
3867
3870
  var PLUGINS = [
3868
3871
  ReactTestComponent,
@@ -3911,14 +3914,14 @@ function format2(...args) {
3911
3914
  const len = args.length;
3912
3915
  let i = 1;
3913
3916
  const template = args[0];
3914
- let str = String(template).replace(formatRegExp, (x) => {
3915
- if (x === "%%") {
3917
+ let str = String(template).replace(formatRegExp, (x2) => {
3918
+ if (x2 === "%%") {
3916
3919
  return "%";
3917
3920
  }
3918
3921
  if (i >= len) {
3919
- return x;
3922
+ return x2;
3920
3923
  }
3921
- switch (x) {
3924
+ switch (x2) {
3922
3925
  case "%s": {
3923
3926
  const value = args[i++];
3924
3927
  if (typeof value === "bigint") {
@@ -3976,14 +3979,14 @@ function format2(...args) {
3976
3979
  throw err;
3977
3980
  }
3978
3981
  default:
3979
- return x;
3982
+ return x2;
3980
3983
  }
3981
3984
  });
3982
- for (let x = args[i]; i < len; x = args[++i]) {
3983
- if (x === null || typeof x !== "object") {
3984
- str += ` ${x}`;
3985
+ for (let x2 = args[i]; i < len; x2 = args[++i]) {
3986
+ if (x2 === null || typeof x2 !== "object") {
3987
+ str += ` ${x2}`;
3985
3988
  } else {
3986
- str += ` ${inspect2(x)}`;
3989
+ str += ` ${inspect2(x2)}`;
3987
3990
  }
3988
3991
  }
3989
3992
  return str;
@@ -4016,11 +4019,11 @@ function objDisplay(obj, options = {}) {
4016
4019
  }
4017
4020
  return str;
4018
4021
  }
4019
- function getDefaultExportFromCjs2(x) {
4020
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
4022
+ function getDefaultExportFromCjs2(x2) {
4023
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
4021
4024
  }
4022
4025
 
4023
- // ../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js
4026
+ // ../../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js
4024
4027
  function createSimpleStackTrace(options) {
4025
4028
  const { message = "$$stack trace error", stackTraceLimit = 1 } = options || {};
4026
4029
  const limit = Error.stackTraceLimit;
@@ -4077,15 +4080,15 @@ function deepClone(val, options = defaultCloneOptions) {
4077
4080
  return clone(val, seen, options);
4078
4081
  }
4079
4082
  function clone(val, seen, options = defaultCloneOptions) {
4080
- let k, out;
4083
+ let k2, out;
4081
4084
  if (seen.has(val)) {
4082
4085
  return seen.get(val);
4083
4086
  }
4084
4087
  if (Array.isArray(val)) {
4085
- out = Array.from({ length: k = val.length });
4088
+ out = Array.from({ length: k2 = val.length });
4086
4089
  seen.set(val, out);
4087
- while (k--) {
4088
- out[k] = clone(val[k], seen, options);
4090
+ while (k2--) {
4091
+ out[k2] = clone(val[k2], seen, options);
4089
4092
  }
4090
4093
  return out;
4091
4094
  }
@@ -4093,28 +4096,28 @@ function clone(val, seen, options = defaultCloneOptions) {
4093
4096
  out = Object.create(Object.getPrototypeOf(val));
4094
4097
  seen.set(val, out);
4095
4098
  const props = getOwnProperties(val);
4096
- for (const k2 of props) {
4097
- const descriptor = Object.getOwnPropertyDescriptor(val, k2);
4099
+ for (const k3 of props) {
4100
+ const descriptor = Object.getOwnPropertyDescriptor(val, k3);
4098
4101
  if (!descriptor) {
4099
4102
  continue;
4100
4103
  }
4101
- const cloned = clone(val[k2], seen, options);
4104
+ const cloned = clone(val[k3], seen, options);
4102
4105
  if (options.forceWritable) {
4103
- Object.defineProperty(out, k2, {
4106
+ Object.defineProperty(out, k3, {
4104
4107
  enumerable: descriptor.enumerable,
4105
4108
  configurable: true,
4106
4109
  writable: true,
4107
4110
  value: cloned
4108
4111
  });
4109
4112
  } else if ("get" in descriptor) {
4110
- Object.defineProperty(out, k2, {
4113
+ Object.defineProperty(out, k3, {
4111
4114
  ...descriptor,
4112
4115
  get() {
4113
4116
  return cloned;
4114
4117
  }
4115
4118
  });
4116
4119
  } else {
4117
- Object.defineProperty(out, k2, {
4120
+ Object.defineProperty(out, k3, {
4118
4121
  ...descriptor,
4119
4122
  value: cloned
4120
4123
  });
@@ -4159,7 +4162,7 @@ function isNegativeNaN(val) {
4159
4162
  return isNegative;
4160
4163
  }
4161
4164
 
4162
- // ../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/index.js
4165
+ // ../../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/index.js
4163
4166
  var jsTokens_1;
4164
4167
  var hasRequiredJsTokens;
4165
4168
  function requireJsTokens() {
@@ -4623,7 +4626,7 @@ function getSafeTimers() {
4623
4626
  };
4624
4627
  }
4625
4628
 
4626
- // ../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/diff.js
4629
+ // ../../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/diff.js
4627
4630
  var DIFF_DELETE = -1;
4628
4631
  var DIFF_INSERT = 1;
4629
4632
  var DIFF_EQUAL = 0;
@@ -5505,19 +5508,19 @@ function joinAlignedDiffsNoExpand(diffs, options) {
5505
5508
  let aEnd = 0;
5506
5509
  let bEnd = 0;
5507
5510
  const pushCommonLine = (line) => {
5508
- const j = lines.length;
5509
- lines.push(printCommonLine(line, j === 0 || j === jLast, options));
5511
+ const j2 = lines.length;
5512
+ lines.push(printCommonLine(line, j2 === 0 || j2 === jLast, options));
5510
5513
  aEnd += 1;
5511
5514
  bEnd += 1;
5512
5515
  };
5513
5516
  const pushDeleteLine = (line) => {
5514
- const j = lines.length;
5515
- lines.push(printDeleteLine(line, j === 0 || j === jLast, options));
5517
+ const j2 = lines.length;
5518
+ lines.push(printDeleteLine(line, j2 === 0 || j2 === jLast, options));
5516
5519
  aEnd += 1;
5517
5520
  };
5518
5521
  const pushInsertLine = (line) => {
5519
- const j = lines.length;
5520
- lines.push(printInsertLine(line, j === 0 || j === jLast, options));
5522
+ const j2 = lines.length;
5523
+ lines.push(printInsertLine(line, j2 === 0 || j2 === jLast, options));
5521
5524
  bEnd += 1;
5522
5525
  };
5523
5526
  i = 0;
@@ -5644,20 +5647,20 @@ function isEmptyString(lines) {
5644
5647
  }
5645
5648
  function countChanges(diffs) {
5646
5649
  let a3 = 0;
5647
- let b = 0;
5650
+ let b2 = 0;
5648
5651
  diffs.forEach((diff2) => {
5649
5652
  switch (diff2[0]) {
5650
5653
  case DIFF_DELETE:
5651
5654
  a3 += 1;
5652
5655
  break;
5653
5656
  case DIFF_INSERT:
5654
- b += 1;
5657
+ b2 += 1;
5655
5658
  break;
5656
5659
  }
5657
5660
  });
5658
5661
  return {
5659
5662
  a: a3,
5660
- b
5663
+ b: b2
5661
5664
  };
5662
5665
  }
5663
5666
  function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator, includeChangeCounts, omitAnnotationLines }, changeCounts) {
@@ -5679,9 +5682,9 @@ function printAnnotation({ aAnnotation, aColor, aIndicator, bAnnotation, bColor,
5679
5682
  bRest = `${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;
5680
5683
  }
5681
5684
  const a3 = `${aIndicator} ${aAnnotation}${aRest}`;
5682
- const b = `${bIndicator} ${bAnnotation}${bRest}`;
5685
+ const b2 = `${bIndicator} ${bAnnotation}${bRest}`;
5683
5686
  return `${aColor(a3)}
5684
- ${bColor(b)}
5687
+ ${bColor(b2)}
5685
5688
 
5686
5689
  `;
5687
5690
  }
@@ -5795,25 +5798,25 @@ function getType3(value) {
5795
5798
  function getNewLineSymbol(string2) {
5796
5799
  return string2.includes("\r\n") ? "\r\n" : "\n";
5797
5800
  }
5798
- function diffStrings(a3, b, options) {
5801
+ function diffStrings(a3, b2, options) {
5799
5802
  const truncate3 = (options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? false;
5800
5803
  const truncateThreshold = Math.max(Math.floor((options === null || options === void 0 ? void 0 : options.truncateThreshold) ?? 0), 0);
5801
5804
  let aLength = a3.length;
5802
- let bLength = b.length;
5805
+ let bLength = b2.length;
5803
5806
  if (truncate3) {
5804
5807
  const aMultipleLines = a3.includes("\n");
5805
- const bMultipleLines = b.includes("\n");
5808
+ const bMultipleLines = b2.includes("\n");
5806
5809
  const aNewLineSymbol = getNewLineSymbol(a3);
5807
- const bNewLineSymbol = getNewLineSymbol(b);
5810
+ const bNewLineSymbol = getNewLineSymbol(b2);
5808
5811
  const _a3 = aMultipleLines ? `${a3.split(aNewLineSymbol, truncateThreshold).join(aNewLineSymbol)}
5809
5812
  ` : a3;
5810
- const _b = bMultipleLines ? `${b.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
5811
- ` : b;
5813
+ const _b = bMultipleLines ? `${b2.split(bNewLineSymbol, truncateThreshold).join(bNewLineSymbol)}
5814
+ ` : b2;
5812
5815
  aLength = _a3.length;
5813
5816
  bLength = _b.length;
5814
5817
  }
5815
- const truncated = aLength !== a3.length || bLength !== b.length;
5816
- const isCommon = (aIndex2, bIndex2) => a3[aIndex2] === b[bIndex2];
5818
+ const truncated = aLength !== a3.length || bLength !== b2.length;
5819
+ const isCommon = (aIndex2, bIndex2) => a3[aIndex2] === b2[bIndex2];
5817
5820
  let aIndex = 0;
5818
5821
  let bIndex = 0;
5819
5822
  const diffs = [];
@@ -5822,18 +5825,18 @@ function diffStrings(a3, b, options) {
5822
5825
  diffs.push(new Diff(DIFF_DELETE, a3.slice(aIndex, aCommon)));
5823
5826
  }
5824
5827
  if (bIndex !== bCommon) {
5825
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex, bCommon)));
5828
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex, bCommon)));
5826
5829
  }
5827
5830
  aIndex = aCommon + nCommon;
5828
5831
  bIndex = bCommon + nCommon;
5829
- diffs.push(new Diff(DIFF_EQUAL, b.slice(bCommon, bIndex)));
5832
+ diffs.push(new Diff(DIFF_EQUAL, b2.slice(bCommon, bIndex)));
5830
5833
  };
5831
5834
  diffSequences(aLength, bLength, isCommon, foundSubsequence);
5832
5835
  if (aIndex !== aLength) {
5833
5836
  diffs.push(new Diff(DIFF_DELETE, a3.slice(aIndex)));
5834
5837
  }
5835
5838
  if (bIndex !== bLength) {
5836
- diffs.push(new Diff(DIFF_INSERT, b.slice(bIndex)));
5839
+ diffs.push(new Diff(DIFF_INSERT, b2.slice(bIndex)));
5837
5840
  }
5838
5841
  return [diffs, truncated];
5839
5842
  }
@@ -5975,22 +5978,22 @@ function hasCommonDiff(diffs, isMultiline) {
5975
5978
  }
5976
5979
  return diffs.some((diff2) => diff2[0] === DIFF_EQUAL);
5977
5980
  }
5978
- function diffStringsUnified(a3, b, options) {
5979
- if (a3 !== b && a3.length !== 0 && b.length !== 0) {
5980
- const isMultiline = a3.includes("\n") || b.includes("\n");
5981
+ function diffStringsUnified(a3, b2, options) {
5982
+ if (a3 !== b2 && a3.length !== 0 && b2.length !== 0) {
5983
+ const isMultiline = a3.includes("\n") || b2.includes("\n");
5981
5984
  const [diffs, truncated] = diffStringsRaw(isMultiline ? `${a3}
5982
- ` : a3, isMultiline ? `${b}
5983
- ` : b, true, options);
5985
+ ` : a3, isMultiline ? `${b2}
5986
+ ` : b2, true, options);
5984
5987
  if (hasCommonDiff(diffs, isMultiline)) {
5985
5988
  const optionsNormalized = normalizeDiffOptions(options);
5986
5989
  const lines = getAlignedDiffs(diffs, optionsNormalized.changeColor);
5987
5990
  return printDiffLines(lines, truncated, optionsNormalized);
5988
5991
  }
5989
5992
  }
5990
- return diffLinesUnified(a3.split("\n"), b.split("\n"), options);
5993
+ return diffLinesUnified(a3.split("\n"), b2.split("\n"), options);
5991
5994
  }
5992
- function diffStringsRaw(a3, b, cleanup, options) {
5993
- const [diffs, truncated] = diffStrings(a3, b, options);
5995
+ function diffStringsRaw(a3, b2, cleanup, options) {
5996
+ const [diffs, truncated] = diffStrings(a3, b2, options);
5994
5997
  if (cleanup) {
5995
5998
  diff_cleanupSemantic(diffs);
5996
5999
  }
@@ -6019,8 +6022,8 @@ var FALLBACK_FORMAT_OPTIONS = {
6019
6022
  maxDepth: 8,
6020
6023
  plugins: PLUGINS2
6021
6024
  };
6022
- function diff(a3, b, options) {
6023
- if (Object.is(a3, b)) {
6025
+ function diff(a3, b2, options) {
6026
+ if (Object.is(a3, b2)) {
6024
6027
  return "";
6025
6028
  }
6026
6029
  const aType = getType3(a3);
@@ -6036,14 +6039,14 @@ function diff(a3, b, options) {
6036
6039
  expectedType = a3.getExpectedType();
6037
6040
  omitDifference = expectedType === "string";
6038
6041
  }
6039
- if (expectedType !== getType3(b)) {
6042
+ if (expectedType !== getType3(b2)) {
6040
6043
  let truncate3 = function(s2) {
6041
6044
  return s2.length <= MAX_LENGTH ? s2 : `${s2.slice(0, MAX_LENGTH)}...`;
6042
6045
  };
6043
6046
  const { aAnnotation, aColor, aIndicator, bAnnotation, bColor, bIndicator } = normalizeDiffOptions(options);
6044
6047
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
6045
6048
  let aDisplay = format(a3, formatOptions);
6046
- let bDisplay = format(b, formatOptions);
6049
+ let bDisplay = format(b2, formatOptions);
6047
6050
  const MAX_LENGTH = 1e5;
6048
6051
  aDisplay = truncate3(aDisplay);
6049
6052
  bDisplay = truncate3(bDisplay);
@@ -6060,21 +6063,21 @@ ${bDiff}`;
6060
6063
  }
6061
6064
  switch (aType) {
6062
6065
  case "string":
6063
- return diffLinesUnified(a3.split("\n"), b.split("\n"), options);
6066
+ return diffLinesUnified(a3.split("\n"), b2.split("\n"), options);
6064
6067
  case "boolean":
6065
6068
  case "number":
6066
- return comparePrimitive(a3, b, options);
6069
+ return comparePrimitive(a3, b2, options);
6067
6070
  case "map":
6068
- return compareObjects(sortMap(a3), sortMap(b), options);
6071
+ return compareObjects(sortMap(a3), sortMap(b2), options);
6069
6072
  case "set":
6070
- return compareObjects(sortSet(a3), sortSet(b), options);
6073
+ return compareObjects(sortSet(a3), sortSet(b2), options);
6071
6074
  default:
6072
- return compareObjects(a3, b, options);
6075
+ return compareObjects(a3, b2, options);
6073
6076
  }
6074
6077
  }
6075
- function comparePrimitive(a3, b, options) {
6078
+ function comparePrimitive(a3, b2, options) {
6076
6079
  const aFormat = format(a3, FORMAT_OPTIONS);
6077
- const bFormat = format(b, FORMAT_OPTIONS);
6080
+ const bFormat = format(b2, FORMAT_OPTIONS);
6078
6081
  return aFormat === bFormat ? "" : diffLinesUnified(aFormat.split("\n"), bFormat.split("\n"), options);
6079
6082
  }
6080
6083
  function sortMap(map2) {
@@ -6083,19 +6086,19 @@ function sortMap(map2) {
6083
6086
  function sortSet(set3) {
6084
6087
  return new Set(Array.from(set3.values()).sort());
6085
6088
  }
6086
- function compareObjects(a3, b, options) {
6089
+ function compareObjects(a3, b2, options) {
6087
6090
  let difference;
6088
6091
  let hasThrown = false;
6089
6092
  try {
6090
6093
  const formatOptions = getFormatOptions(FORMAT_OPTIONS, options);
6091
- difference = getObjectsDifference(a3, b, formatOptions, options);
6094
+ difference = getObjectsDifference(a3, b2, formatOptions, options);
6092
6095
  } catch {
6093
6096
  hasThrown = true;
6094
6097
  }
6095
6098
  const noDiffMessage = getCommonMessage(NO_DIFF_MESSAGE, options);
6096
6099
  if (difference === void 0 || difference === noDiffMessage) {
6097
6100
  const formatOptions = getFormatOptions(FALLBACK_FORMAT_OPTIONS, options);
6098
- difference = getObjectsDifference(a3, b, formatOptions, options);
6101
+ difference = getObjectsDifference(a3, b2, formatOptions, options);
6099
6102
  if (difference !== noDiffMessage && !hasThrown) {
6100
6103
  difference = `${getCommonMessage(SIMILAR_MESSAGE, options)}
6101
6104
 
@@ -6113,18 +6116,18 @@ function getFormatOptions(formatOptions, options) {
6113
6116
  maxDepth: maxDepth ?? formatOptions.maxDepth
6114
6117
  };
6115
6118
  }
6116
- function getObjectsDifference(a3, b, formatOptions, options) {
6119
+ function getObjectsDifference(a3, b2, formatOptions, options) {
6117
6120
  const formatOptionsZeroIndent = {
6118
6121
  ...formatOptions,
6119
6122
  indent: 0
6120
6123
  };
6121
6124
  const aCompare = format(a3, formatOptionsZeroIndent);
6122
- const bCompare = format(b, formatOptionsZeroIndent);
6125
+ const bCompare = format(b2, formatOptionsZeroIndent);
6123
6126
  if (aCompare === bCompare) {
6124
6127
  return getCommonMessage(NO_DIFF_MESSAGE, options);
6125
6128
  } else {
6126
6129
  const aDisplay = format(a3, formatOptions);
6127
- const bDisplay = format(b, formatOptions);
6130
+ const bDisplay = format(b2, formatOptions);
6128
6131
  return diffLinesUnified2(aDisplay.split("\n"), bDisplay.split("\n"), aCompare.split("\n"), bCompare.split("\n"), options);
6129
6132
  }
6130
6133
  }
@@ -6220,166 +6223,166 @@ function getCommonAndChangedSubstrings(diffs, op, hasCommonDiff2) {
6220
6223
  return diffs.reduce((reduced, diff2) => reduced + (diff2[0] === DIFF_EQUAL ? diff2[1] : diff2[0] === op ? hasCommonDiff2 ? u.inverse(diff2[1]) : diff2[1] : ""), "");
6221
6224
  }
6222
6225
 
6223
- // ../../node_modules/.pnpm/tinyspy@4.0.3/node_modules/tinyspy/dist/index.js
6224
- function assert(condition, message) {
6225
- if (!condition)
6226
- throw new Error(message);
6226
+ // ../../../../node_modules/.pnpm/tinyspy@4.0.4/node_modules/tinyspy/dist/index.js
6227
+ function S(e, t) {
6228
+ if (!e)
6229
+ throw new Error(t);
6227
6230
  }
6228
- function isType(type3, value) {
6229
- return typeof value === type3;
6231
+ function f2(e, t) {
6232
+ return typeof t === e;
6230
6233
  }
6231
- function isPromise(value) {
6232
- return value instanceof Promise;
6234
+ function w(e) {
6235
+ return e instanceof Promise;
6233
6236
  }
6234
- function define(obj, key, descriptor) {
6235
- Object.defineProperty(obj, key, descriptor);
6237
+ function u2(e, t, r2) {
6238
+ Object.defineProperty(e, t, r2);
6236
6239
  }
6237
- function defineValue(obj, key, value) {
6238
- define(obj, key, { value, configurable: true, writable: true });
6240
+ function l(e, t, r2) {
6241
+ u2(e, t, { value: r2, configurable: true, writable: true });
6239
6242
  }
6240
- var SYMBOL_STATE = Symbol.for("tinyspy:spy");
6241
- var spies = /* @__PURE__ */ new Set();
6242
- var reset = (state) => {
6243
- state.called = false, state.callCount = 0, state.calls = [], state.results = [], state.resolves = [], state.next = [];
6243
+ var y = Symbol.for("tinyspy:spy");
6244
+ var x = /* @__PURE__ */ new Set();
6245
+ var h2 = (e) => {
6246
+ e.called = false, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
6244
6247
  };
6245
- var defineState = (spy2) => (define(spy2, SYMBOL_STATE, {
6246
- value: { reset: () => reset(spy2[SYMBOL_STATE]) }
6247
- }), spy2[SYMBOL_STATE]);
6248
- var getInternalState = (spy2) => spy2[SYMBOL_STATE] || defineState(spy2);
6249
- function createInternalSpy(cb) {
6250
- assert(
6251
- isType("function", cb) || isType("undefined", cb),
6248
+ var k = (e) => (u2(e, y, {
6249
+ value: { reset: () => h2(e[y]) }
6250
+ }), e[y]);
6251
+ var T = (e) => e[y] || k(e);
6252
+ function R(e) {
6253
+ S(
6254
+ f2("function", e) || f2("undefined", e),
6252
6255
  "cannot spy on a non-function value"
6253
6256
  );
6254
- let fn2 = function(...args) {
6255
- let state2 = getInternalState(fn2);
6256
- state2.called = true, state2.callCount++, state2.calls.push(args);
6257
- let next = state2.next.shift();
6258
- if (next) {
6259
- state2.results.push(next);
6260
- let [type22, result2] = next;
6261
- if (type22 === "ok")
6262
- return result2;
6263
- throw result2;
6264
- }
6265
- let result, type3 = "ok", resultIndex = state2.results.length;
6266
- if (state2.impl)
6257
+ let t = function(...s2) {
6258
+ let n2 = T(t);
6259
+ n2.called = true, n2.callCount++, n2.calls.push(s2);
6260
+ let d = n2.next.shift();
6261
+ if (d) {
6262
+ n2.results.push(d);
6263
+ let [a3, i] = d;
6264
+ if (a3 === "ok")
6265
+ return i;
6266
+ throw i;
6267
+ }
6268
+ let o, c = "ok", p3 = n2.results.length;
6269
+ if (n2.impl)
6267
6270
  try {
6268
- new.target ? result = Reflect.construct(state2.impl, args, new.target) : result = state2.impl.apply(this, args), type3 = "ok";
6269
- } catch (err) {
6270
- throw result = err, type3 = "error", state2.results.push([type3, err]), err;
6271
- }
6272
- let resultTuple = [type3, result];
6273
- return isPromise(result) && result.then(
6274
- (r2) => state2.resolves[resultIndex] = ["ok", r2],
6275
- (e) => state2.resolves[resultIndex] = ["error", e]
6276
- ), state2.results.push(resultTuple), result;
6271
+ new.target ? o = Reflect.construct(n2.impl, s2, new.target) : o = n2.impl.apply(this, s2), c = "ok";
6272
+ } catch (a3) {
6273
+ throw o = a3, c = "error", n2.results.push([c, a3]), a3;
6274
+ }
6275
+ let g = [c, o];
6276
+ return w(o) && o.then(
6277
+ (a3) => n2.resolves[p3] = ["ok", a3],
6278
+ (a3) => n2.resolves[p3] = ["error", a3]
6279
+ ), n2.results.push(g), o;
6277
6280
  };
6278
- defineValue(fn2, "_isMockFunction", true), defineValue(fn2, "length", cb ? cb.length : 0), defineValue(fn2, "name", cb && cb.name || "spy");
6279
- let state = getInternalState(fn2);
6280
- return state.reset(), state.impl = cb, fn2;
6281
- }
6282
- function isMockFunction(obj) {
6283
- return !!obj && obj._isMockFunction === true;
6284
- }
6285
- var getDescriptor = (obj, method) => {
6286
- let objDescriptor = Object.getOwnPropertyDescriptor(obj, method);
6287
- if (objDescriptor)
6288
- return [obj, objDescriptor];
6289
- let currentProto = Object.getPrototypeOf(obj);
6290
- for (; currentProto !== null; ) {
6291
- let descriptor = Object.getOwnPropertyDescriptor(currentProto, method);
6292
- if (descriptor)
6293
- return [currentProto, descriptor];
6294
- currentProto = Object.getPrototypeOf(currentProto);
6281
+ l(t, "_isMockFunction", true), l(t, "length", e ? e.length : 0), l(t, "name", e && e.name || "spy");
6282
+ let r2 = T(t);
6283
+ return r2.reset(), r2.impl = e, t;
6284
+ }
6285
+ function v(e) {
6286
+ return !!e && e._isMockFunction === true;
6287
+ }
6288
+ var b = (e, t) => {
6289
+ let r2 = Object.getOwnPropertyDescriptor(e, t);
6290
+ if (r2)
6291
+ return [e, r2];
6292
+ let s2 = Object.getPrototypeOf(e);
6293
+ for (; s2 !== null; ) {
6294
+ let n2 = Object.getOwnPropertyDescriptor(s2, t);
6295
+ if (n2)
6296
+ return [s2, n2];
6297
+ s2 = Object.getPrototypeOf(s2);
6295
6298
  }
6296
6299
  };
6297
- var setPototype = (fn2, val) => {
6298
- val != null && typeof val == "function" && val.prototype != null && Object.setPrototypeOf(fn2.prototype, val.prototype);
6300
+ var P = (e, t) => {
6301
+ t != null && typeof t == "function" && t.prototype != null && Object.setPrototypeOf(e.prototype, t.prototype);
6299
6302
  };
6300
- function internalSpyOn(obj, methodName, mock) {
6301
- assert(
6302
- !isType("undefined", obj),
6303
+ function M(e, t, r2) {
6304
+ S(
6305
+ !f2("undefined", e),
6303
6306
  "spyOn could not find an object to spy upon"
6304
- ), assert(
6305
- isType("object", obj) || isType("function", obj),
6307
+ ), S(
6308
+ f2("object", e) || f2("function", e),
6306
6309
  "cannot spyOn on a primitive value"
6307
6310
  );
6308
- let [accessName, accessType] = (() => {
6309
- if (!isType("object", methodName))
6310
- return [methodName, "value"];
6311
- if ("getter" in methodName && "setter" in methodName)
6311
+ let [s2, n2] = (() => {
6312
+ if (!f2("object", t))
6313
+ return [t, "value"];
6314
+ if ("getter" in t && "setter" in t)
6312
6315
  throw new Error("cannot spy on both getter and setter");
6313
- if ("getter" in methodName)
6314
- return [methodName.getter, "get"];
6315
- if ("setter" in methodName)
6316
- return [methodName.setter, "set"];
6316
+ if ("getter" in t)
6317
+ return [t.getter, "get"];
6318
+ if ("setter" in t)
6319
+ return [t.setter, "set"];
6317
6320
  throw new Error("specify getter or setter to spy on");
6318
- })(), [originalDescriptorObject, originalDescriptor] = getDescriptor(obj, accessName) || [];
6319
- assert(
6320
- originalDescriptor || accessName in obj,
6321
- `${String(accessName)} does not exist`
6321
+ })(), [d, o] = b(e, s2) || [];
6322
+ S(
6323
+ o || s2 in e,
6324
+ `${String(s2)} does not exist`
6322
6325
  );
6323
- let ssr = false;
6324
- accessType === "value" && originalDescriptor && !originalDescriptor.value && originalDescriptor.get && (accessType = "get", ssr = true, mock = originalDescriptor.get());
6325
- let original;
6326
- originalDescriptor ? original = originalDescriptor[accessType] : accessType !== "value" ? original = () => obj[accessName] : original = obj[accessName], original && isSpyFunction(original) && (original = original[SYMBOL_STATE].getOriginal());
6327
- let reassign = (cb) => {
6328
- let { value, ...desc } = originalDescriptor || {
6326
+ let c = false;
6327
+ n2 === "value" && o && !o.value && o.get && (n2 = "get", c = true, r2 = o.get());
6328
+ let p3;
6329
+ o ? p3 = o[n2] : n2 !== "value" ? p3 = () => e[s2] : p3 = e[s2], p3 && j(p3) && (p3 = p3[y].getOriginal());
6330
+ let g = (I) => {
6331
+ let { value: F, ...O } = o || {
6329
6332
  configurable: true,
6330
6333
  writable: true
6331
6334
  };
6332
- accessType !== "value" && delete desc.writable, desc[accessType] = cb, define(obj, accessName, desc);
6333
- }, restore = () => {
6334
- originalDescriptorObject !== obj ? Reflect.deleteProperty(obj, accessName) : originalDescriptor && !original ? define(obj, accessName, originalDescriptor) : reassign(original);
6335
+ n2 !== "value" && delete O.writable, O[n2] = I, u2(e, s2, O);
6336
+ }, a3 = () => {
6337
+ d !== e ? Reflect.deleteProperty(e, s2) : o && !p3 ? u2(e, s2, o) : g(p3);
6335
6338
  };
6336
- mock || (mock = original);
6337
- let spy2 = wrap(createInternalSpy(mock), mock);
6338
- accessType === "value" && setPototype(spy2, original);
6339
- let state = spy2[SYMBOL_STATE];
6340
- return defineValue(state, "restore", restore), defineValue(state, "getOriginal", () => ssr ? original() : original), defineValue(state, "willCall", (newCb) => (state.impl = newCb, spy2)), reassign(
6341
- ssr ? () => (setPototype(spy2, mock), spy2) : spy2
6342
- ), spies.add(spy2), spy2;
6343
- }
6344
- var ignoreProperties = /* @__PURE__ */ new Set([
6339
+ r2 || (r2 = p3);
6340
+ let i = E(R(r2), r2);
6341
+ n2 === "value" && P(i, p3);
6342
+ let m2 = i[y];
6343
+ return l(m2, "restore", a3), l(m2, "getOriginal", () => c ? p3() : p3), l(m2, "willCall", (I) => (m2.impl = I, i)), g(
6344
+ c ? () => (P(i, r2), i) : i
6345
+ ), x.add(i), i;
6346
+ }
6347
+ var K = /* @__PURE__ */ new Set([
6345
6348
  "length",
6346
6349
  "name",
6347
6350
  "prototype"
6348
6351
  ]);
6349
- function getAllProperties(original) {
6350
- let properties = /* @__PURE__ */ new Set(), descriptors2 = {};
6351
- for (; original && original !== Object.prototype && original !== Function.prototype; ) {
6352
- let ownProperties = [
6353
- ...Object.getOwnPropertyNames(original),
6354
- ...Object.getOwnPropertySymbols(original)
6352
+ function D(e) {
6353
+ let t = /* @__PURE__ */ new Set(), r2 = {};
6354
+ for (; e && e !== Object.prototype && e !== Function.prototype; ) {
6355
+ let s2 = [
6356
+ ...Object.getOwnPropertyNames(e),
6357
+ ...Object.getOwnPropertySymbols(e)
6355
6358
  ];
6356
- for (let prop of ownProperties)
6357
- descriptors2[prop] || ignoreProperties.has(prop) || (properties.add(prop), descriptors2[prop] = Object.getOwnPropertyDescriptor(original, prop));
6358
- original = Object.getPrototypeOf(original);
6359
+ for (let n2 of s2)
6360
+ r2[n2] || K.has(n2) || (t.add(n2), r2[n2] = Object.getOwnPropertyDescriptor(e, n2));
6361
+ e = Object.getPrototypeOf(e);
6359
6362
  }
6360
6363
  return {
6361
- properties,
6362
- descriptors: descriptors2
6364
+ properties: t,
6365
+ descriptors: r2
6363
6366
  };
6364
6367
  }
6365
- function wrap(mock, original) {
6366
- if (!original || // the original is already a spy, so it has all the properties
6367
- SYMBOL_STATE in original)
6368
- return mock;
6369
- let { properties, descriptors: descriptors2 } = getAllProperties(original);
6370
- for (let key of properties) {
6371
- let descriptor = descriptors2[key];
6372
- getDescriptor(mock, key) || define(mock, key, descriptor);
6368
+ function E(e, t) {
6369
+ if (!t || // the original is already a spy, so it has all the properties
6370
+ y in t)
6371
+ return e;
6372
+ let { properties: r2, descriptors: s2 } = D(t);
6373
+ for (let n2 of r2) {
6374
+ let d = s2[n2];
6375
+ b(e, n2) || u2(e, n2, d);
6373
6376
  }
6374
- return mock;
6377
+ return e;
6375
6378
  }
6376
- function isSpyFunction(obj) {
6377
- return isMockFunction(obj) && "getOriginal" in obj[SYMBOL_STATE];
6379
+ function j(e) {
6380
+ return v(e) && "getOriginal" in e[y];
6378
6381
  }
6379
6382
 
6380
- // ../../node_modules/.pnpm/@vitest+spy@3.2.4/node_modules/@vitest/spy/dist/index.js
6383
+ // ../../../../node_modules/.pnpm/@vitest+spy@3.2.4/node_modules/@vitest/spy/dist/index.js
6381
6384
  var mocks = /* @__PURE__ */ new Set();
6382
- function isMockFunction2(fn2) {
6385
+ function isMockFunction(fn2) {
6383
6386
  return typeof fn2 === "function" && "_isMockFunction" in fn2 && fn2._isMockFunction;
6384
6387
  }
6385
6388
  function spyOn(obj, method, accessType) {
@@ -6389,13 +6392,13 @@ function spyOn(obj, method, accessType) {
6389
6392
  };
6390
6393
  const objMethod = accessType ? { [dictionary[accessType]]: method } : method;
6391
6394
  let state;
6392
- const descriptor = getDescriptor2(obj, method);
6395
+ const descriptor = getDescriptor(obj, method);
6393
6396
  const fn2 = descriptor && descriptor[accessType || "value"];
6394
- if (isMockFunction2(fn2)) {
6397
+ if (isMockFunction(fn2)) {
6395
6398
  state = fn2.mock._state();
6396
6399
  }
6397
6400
  try {
6398
- const stub = internalSpyOn(obj, objMethod);
6401
+ const stub = M(obj, objMethod);
6399
6402
  const spy = enhanceSpy(stub);
6400
6403
  if (state) {
6401
6404
  spy.mock._state(state);
@@ -6417,7 +6420,7 @@ function enhanceSpy(spy) {
6417
6420
  let instances = [];
6418
6421
  let contexts = [];
6419
6422
  let invocations = [];
6420
- const state = getInternalState(spy);
6423
+ const state = T(spy);
6421
6424
  const mockContext = {
6422
6425
  get calls() {
6423
6426
  return state.calls;
@@ -6515,18 +6518,18 @@ function enhanceSpy(spy) {
6515
6518
  implementation = fn2;
6516
6519
  state.willCall(mockCall);
6517
6520
  implementationChangedTemporarily = true;
6518
- const reset2 = () => {
6521
+ const reset = () => {
6519
6522
  implementation = originalImplementation;
6520
6523
  implementationChangedTemporarily = false;
6521
6524
  };
6522
6525
  const result = cb();
6523
6526
  if (typeof result === "object" && result && typeof result.then === "function") {
6524
6527
  return result.then(() => {
6525
- reset2();
6528
+ reset();
6526
6529
  return stub;
6527
6530
  });
6528
6531
  }
6529
- reset2();
6532
+ reset();
6530
6533
  return stub;
6531
6534
  }
6532
6535
  stub.withImplementation = withImplementation;
@@ -6545,14 +6548,14 @@ function enhanceSpy(spy) {
6545
6548
  return stub;
6546
6549
  }
6547
6550
  function fn(implementation) {
6548
- const enhancedSpy = enhanceSpy(internalSpyOn({ spy: implementation || function() {
6551
+ const enhancedSpy = enhanceSpy(M({ spy: implementation || function() {
6549
6552
  } }, "spy"));
6550
6553
  if (implementation) {
6551
6554
  enhancedSpy.mockImplementation(implementation);
6552
6555
  }
6553
6556
  return enhancedSpy;
6554
6557
  }
6555
- function getDescriptor2(obj, method) {
6558
+ function getDescriptor(obj, method) {
6556
6559
  const objDescriptor = Object.getOwnPropertyDescriptor(obj, method);
6557
6560
  if (objDescriptor) {
6558
6561
  return objDescriptor;
@@ -6567,11 +6570,11 @@ function getDescriptor2(obj, method) {
6567
6570
  }
6568
6571
  }
6569
6572
 
6570
- // ../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/error.js
6573
+ // ../../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/error.js
6571
6574
  var IS_RECORD_SYMBOL = "@@__IMMUTABLE_RECORD__@@";
6572
6575
  var IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
6573
- function isImmutable(v) {
6574
- return v && (v[IS_COLLECTION_SYMBOL] || v[IS_RECORD_SYMBOL]);
6576
+ function isImmutable(v2) {
6577
+ return v2 && (v2[IS_COLLECTION_SYMBOL] || v2[IS_RECORD_SYMBOL]);
6575
6578
  }
6576
6579
  var OBJECT_PROTO = Object.getPrototypeOf({});
6577
6580
  function getUnserializableMessage(err) {
@@ -6717,21 +6720,13 @@ Inner error message: ${err === null || err === void 0 ? void 0 : err.message}`))
6717
6720
  }
6718
6721
  }
6719
6722
 
6720
- // ../../node_modules/.pnpm/chai@5.2.1/node_modules/chai/chai.js
6723
+ // ../../../../node_modules/.pnpm/chai@5.3.3/node_modules/chai/index.js
6721
6724
  var __defProp2 = Object.defineProperty;
6722
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
6723
6725
  var __name = (target, value) => __defProp2(target, "name", { value, configurable: true });
6724
- var __commonJS2 = (cb, mod) => function __require() {
6725
- return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6726
- };
6727
6726
  var __export2 = (target, all) => {
6728
6727
  for (var name in all)
6729
6728
  __defProp2(target, name, { get: all[name], enumerable: true });
6730
6729
  };
6731
- var require_util = __commonJS2({
6732
- "(disabled):util"() {
6733
- }
6734
- });
6735
6730
  var utils_exports = {};
6736
6731
  __export2(utils_exports, {
6737
6732
  addChainableMethod: () => addChainableMethod,
@@ -7163,10 +7158,8 @@ function mapToEntries2(map2) {
7163
7158
  }
7164
7159
  __name(mapToEntries2, "mapToEntries");
7165
7160
  function inspectMap2(map2, options) {
7166
- const size = map2.size - 1;
7167
- if (size <= 0) {
7161
+ if (map2.size === 0)
7168
7162
  return "Map{}";
7169
- }
7170
7163
  options.truncate -= 7;
7171
7164
  return `Map{ ${inspectList2(mapToEntries2(map2), options, inspectMapEntry2)} }`;
7172
7165
  }
@@ -7248,19 +7241,6 @@ function inspectSymbol2(value) {
7248
7241
  }
7249
7242
  __name(inspectSymbol2, "inspectSymbol");
7250
7243
  var getPromiseValue2 = /* @__PURE__ */ __name(() => "Promise{\u2026}", "getPromiseValue");
7251
- try {
7252
- const { getPromiseDetails, kPending, kRejected } = process.binding("util");
7253
- if (Array.isArray(getPromiseDetails(Promise.resolve()))) {
7254
- getPromiseValue2 = /* @__PURE__ */ __name((value, options) => {
7255
- const [state, innerValue] = getPromiseDetails(value);
7256
- if (state === kPending) {
7257
- return "Promise{<pending>}";
7258
- }
7259
- return `Promise${state === kRejected ? "!" : ""}{${options.inspect(innerValue, options)}}`;
7260
- }, "getPromiseValue");
7261
- }
7262
- } catch (notNode) {
7263
- }
7264
7244
  var promise_default2 = getPromiseValue2;
7265
7245
  function inspectObject3(object2, options) {
7266
7246
  const properties = Object.getOwnPropertyNames(object2);
@@ -7347,10 +7327,21 @@ function inspectAttribute2([key, value], options) {
7347
7327
  return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
7348
7328
  }
7349
7329
  __name(inspectAttribute2, "inspectAttribute");
7350
- function inspectHTMLCollection(collection, options) {
7351
- return inspectList2(collection, options, inspectHTML2, "\n");
7330
+ function inspectNodeCollection2(collection, options) {
7331
+ return inspectList2(collection, options, inspectNode2, "\n");
7352
7332
  }
7353
- __name(inspectHTMLCollection, "inspectHTMLCollection");
7333
+ __name(inspectNodeCollection2, "inspectNodeCollection");
7334
+ function inspectNode2(node, options) {
7335
+ switch (node.nodeType) {
7336
+ case 1:
7337
+ return inspectHTML2(node, options);
7338
+ case 3:
7339
+ return options.inspect(node.data, options);
7340
+ default:
7341
+ return options.inspect(node, options);
7342
+ }
7343
+ }
7344
+ __name(inspectNode2, "inspectNode");
7354
7345
  function inspectHTML2(element, options) {
7355
7346
  const properties = element.getAttributeNames();
7356
7347
  const name = element.tagName.toLowerCase();
@@ -7365,7 +7356,7 @@ function inspectHTML2(element, options) {
7365
7356
  }
7366
7357
  options.truncate -= propertyContents.length;
7367
7358
  const truncate22 = options.truncate;
7368
- let children = inspectHTMLCollection(element.children, options);
7359
+ let children = inspectNodeCollection2(element.children, options);
7369
7360
  if (children && children.length > truncate22) {
7370
7361
  children = `${truncator2}(${element.children.length})`;
7371
7362
  }
@@ -7374,13 +7365,7 @@ function inspectHTML2(element, options) {
7374
7365
  __name(inspectHTML2, "inspectHTML");
7375
7366
  var symbolsSupported2 = typeof Symbol === "function" && typeof Symbol.for === "function";
7376
7367
  var chaiInspect2 = symbolsSupported2 ? Symbol.for("chai/inspect") : "@@chai/inspect";
7377
- var nodeInspect2 = false;
7378
- try {
7379
- const nodeUtil = require_util();
7380
- nodeInspect2 = nodeUtil.inspect ? nodeUtil.inspect.custom : false;
7381
- } catch (noNodeInspect) {
7382
- nodeInspect2 = false;
7383
- }
7368
+ var nodeInspect2 = Symbol.for("nodejs.util.inspect.custom");
7384
7369
  var constructorMap2 = /* @__PURE__ */ new WeakMap();
7385
7370
  var stringTagMap2 = {};
7386
7371
  var baseTypesMap2 = {
@@ -7422,14 +7407,14 @@ var baseTypesMap2 = {
7422
7407
  DataView: /* @__PURE__ */ __name(() => "", "DataView"),
7423
7408
  ArrayBuffer: /* @__PURE__ */ __name(() => "", "ArrayBuffer"),
7424
7409
  Error: inspectObject22,
7425
- HTMLCollection: inspectHTMLCollection,
7426
- NodeList: inspectHTMLCollection
7410
+ HTMLCollection: inspectNodeCollection2,
7411
+ NodeList: inspectNodeCollection2
7427
7412
  };
7428
7413
  var inspectCustom2 = /* @__PURE__ */ __name((value, options, type3) => {
7429
7414
  if (chaiInspect2 in value && typeof value[chaiInspect2] === "function") {
7430
7415
  return value[chaiInspect2](options);
7431
7416
  }
7432
- if (nodeInspect2 && nodeInspect2 in value && typeof value[nodeInspect2] === "function") {
7417
+ if (nodeInspect2 in value && typeof value[nodeInspect2] === "function") {
7433
7418
  return value[nodeInspect2](options.depth, options);
7434
7419
  }
7435
7420
  if ("inspect" in value && typeof value.inspect === "function") {
@@ -8321,20 +8306,20 @@ function stringDistanceCapped(strA, strB, cap) {
8321
8306
  memo[i] = Array(strB.length + 1).fill(0);
8322
8307
  memo[i][0] = i;
8323
8308
  }
8324
- for (let j = 0; j < strB.length; j++) {
8325
- memo[0][j] = j;
8309
+ for (let j2 = 0; j2 < strB.length; j2++) {
8310
+ memo[0][j2] = j2;
8326
8311
  }
8327
8312
  for (let i = 1; i <= strA.length; i++) {
8328
8313
  let ch = strA.charCodeAt(i - 1);
8329
- for (let j = 1; j <= strB.length; j++) {
8330
- if (Math.abs(i - j) >= cap) {
8331
- memo[i][j] = cap;
8314
+ for (let j2 = 1; j2 <= strB.length; j2++) {
8315
+ if (Math.abs(i - j2) >= cap) {
8316
+ memo[i][j2] = cap;
8332
8317
  continue;
8333
8318
  }
8334
- memo[i][j] = Math.min(
8335
- memo[i - 1][j] + 1,
8336
- memo[i][j - 1] + 1,
8337
- memo[i - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)
8319
+ memo[i][j2] = Math.min(
8320
+ memo[i - 1][j2] + 1,
8321
+ memo[i][j2 - 1] + 1,
8322
+ memo[i - 1][j2 - 1] + (ch === strB.charCodeAt(j2 - 1) ? 0 : 1)
8338
8323
  );
8339
8324
  }
8340
8325
  }
@@ -8493,8 +8478,8 @@ function overwriteChainableMethod(ctx, name, method, chainingBehavior) {
8493
8478
  }, "overwritingChainableMethodWrapper");
8494
8479
  }
8495
8480
  __name(overwriteChainableMethod, "overwriteChainableMethod");
8496
- function compareByInspect(a3, b) {
8497
- return inspect22(a3) < inspect22(b) ? -1 : 1;
8481
+ function compareByInspect(a3, b2) {
8482
+ return inspect22(a3) < inspect22(b2) ? -1 : 1;
8498
8483
  }
8499
8484
  __name(compareByInspect, "compareByInspect");
8500
8485
  function getOwnEnumerablePropertySymbols(obj) {
@@ -8631,8 +8616,8 @@ function an(type3, msg) {
8631
8616
  __name(an, "an");
8632
8617
  Assertion.addChainableMethod("an", an);
8633
8618
  Assertion.addChainableMethod("a", an);
8634
- function SameValueZero(a3, b) {
8635
- return isNaN22(a3) && isNaN22(b) || a3 === b;
8619
+ function SameValueZero(a3, b2) {
8620
+ return isNaN22(a3) && isNaN22(b2) || a3 === b2;
8636
8621
  }
8637
8622
  __name(SameValueZero, "SameValueZero");
8638
8623
  function includeChainingBehavior() {
@@ -9600,7 +9585,7 @@ function closeTo(expected, delta, msg) {
9600
9585
  );
9601
9586
  }
9602
9587
  new Assertion(expected, flagMsg, ssfi, true).is.numeric;
9603
- const abs = /* @__PURE__ */ __name((x) => x < 0n ? -x : x, "abs");
9588
+ const abs = /* @__PURE__ */ __name((x2) => x2 < 0n ? -x2 : x2, "abs");
9604
9589
  const strip = /* @__PURE__ */ __name((number) => parseFloat(parseFloat(number).toPrecision(12)), "strip");
9605
9590
  this.assert(
9606
9591
  strip(abs(obj - expected)) <= delta,
@@ -10012,12 +9997,12 @@ function loadShould() {
10012
9997
  __name(loadShould, "loadShould");
10013
9998
  var should = loadShould;
10014
9999
  var Should = loadShould;
10015
- function assert2(express, errmsg) {
10016
- let test22 = new Assertion(null, null, assert2, true);
10000
+ function assert(express, errmsg) {
10001
+ let test22 = new Assertion(null, null, assert, true);
10017
10002
  test22.assert(express, errmsg, "[ negation message unavailable ]");
10018
10003
  }
10019
- __name(assert2, "assert");
10020
- assert2.fail = function(actual, expected, message, operator) {
10004
+ __name(assert, "assert");
10005
+ assert.fail = function(actual, expected, message, operator) {
10021
10006
  if (arguments.length < 2) {
10022
10007
  message = actual;
10023
10008
  actual = void 0;
@@ -10030,17 +10015,17 @@ assert2.fail = function(actual, expected, message, operator) {
10030
10015
  expected,
10031
10016
  operator
10032
10017
  },
10033
- assert2.fail
10018
+ assert.fail
10034
10019
  );
10035
10020
  };
10036
- assert2.isOk = function(val, msg) {
10037
- new Assertion(val, msg, assert2.isOk, true).is.ok;
10021
+ assert.isOk = function(val, msg) {
10022
+ new Assertion(val, msg, assert.isOk, true).is.ok;
10038
10023
  };
10039
- assert2.isNotOk = function(val, msg) {
10040
- new Assertion(val, msg, assert2.isNotOk, true).is.not.ok;
10024
+ assert.isNotOk = function(val, msg) {
10025
+ new Assertion(val, msg, assert.isNotOk, true).is.not.ok;
10041
10026
  };
10042
- assert2.equal = function(act, exp, msg) {
10043
- let test22 = new Assertion(act, msg, assert2.equal, true);
10027
+ assert.equal = function(act, exp, msg) {
10028
+ let test22 = new Assertion(act, msg, assert.equal, true);
10044
10029
  test22.assert(
10045
10030
  exp == flag(test22, "object"),
10046
10031
  "expected #{this} to equal #{exp}",
@@ -10050,8 +10035,8 @@ assert2.equal = function(act, exp, msg) {
10050
10035
  true
10051
10036
  );
10052
10037
  };
10053
- assert2.notEqual = function(act, exp, msg) {
10054
- let test22 = new Assertion(act, msg, assert2.notEqual, true);
10038
+ assert.notEqual = function(act, exp, msg) {
10039
+ let test22 = new Assertion(act, msg, assert.notEqual, true);
10055
10040
  test22.assert(
10056
10041
  exp != flag(test22, "object"),
10057
10042
  "expected #{this} to not equal #{exp}",
@@ -10061,370 +10046,370 @@ assert2.notEqual = function(act, exp, msg) {
10061
10046
  true
10062
10047
  );
10063
10048
  };
10064
- assert2.strictEqual = function(act, exp, msg) {
10065
- new Assertion(act, msg, assert2.strictEqual, true).to.equal(exp);
10049
+ assert.strictEqual = function(act, exp, msg) {
10050
+ new Assertion(act, msg, assert.strictEqual, true).to.equal(exp);
10066
10051
  };
10067
- assert2.notStrictEqual = function(act, exp, msg) {
10068
- new Assertion(act, msg, assert2.notStrictEqual, true).to.not.equal(exp);
10052
+ assert.notStrictEqual = function(act, exp, msg) {
10053
+ new Assertion(act, msg, assert.notStrictEqual, true).to.not.equal(exp);
10069
10054
  };
10070
- assert2.deepEqual = assert2.deepStrictEqual = function(act, exp, msg) {
10071
- new Assertion(act, msg, assert2.deepEqual, true).to.eql(exp);
10055
+ assert.deepEqual = assert.deepStrictEqual = function(act, exp, msg) {
10056
+ new Assertion(act, msg, assert.deepEqual, true).to.eql(exp);
10072
10057
  };
10073
- assert2.notDeepEqual = function(act, exp, msg) {
10074
- new Assertion(act, msg, assert2.notDeepEqual, true).to.not.eql(exp);
10058
+ assert.notDeepEqual = function(act, exp, msg) {
10059
+ new Assertion(act, msg, assert.notDeepEqual, true).to.not.eql(exp);
10075
10060
  };
10076
- assert2.isAbove = function(val, abv, msg) {
10077
- new Assertion(val, msg, assert2.isAbove, true).to.be.above(abv);
10061
+ assert.isAbove = function(val, abv, msg) {
10062
+ new Assertion(val, msg, assert.isAbove, true).to.be.above(abv);
10078
10063
  };
10079
- assert2.isAtLeast = function(val, atlst, msg) {
10080
- new Assertion(val, msg, assert2.isAtLeast, true).to.be.least(atlst);
10064
+ assert.isAtLeast = function(val, atlst, msg) {
10065
+ new Assertion(val, msg, assert.isAtLeast, true).to.be.least(atlst);
10081
10066
  };
10082
- assert2.isBelow = function(val, blw, msg) {
10083
- new Assertion(val, msg, assert2.isBelow, true).to.be.below(blw);
10067
+ assert.isBelow = function(val, blw, msg) {
10068
+ new Assertion(val, msg, assert.isBelow, true).to.be.below(blw);
10084
10069
  };
10085
- assert2.isAtMost = function(val, atmst, msg) {
10086
- new Assertion(val, msg, assert2.isAtMost, true).to.be.most(atmst);
10070
+ assert.isAtMost = function(val, atmst, msg) {
10071
+ new Assertion(val, msg, assert.isAtMost, true).to.be.most(atmst);
10087
10072
  };
10088
- assert2.isTrue = function(val, msg) {
10089
- new Assertion(val, msg, assert2.isTrue, true).is["true"];
10073
+ assert.isTrue = function(val, msg) {
10074
+ new Assertion(val, msg, assert.isTrue, true).is["true"];
10090
10075
  };
10091
- assert2.isNotTrue = function(val, msg) {
10092
- new Assertion(val, msg, assert2.isNotTrue, true).to.not.equal(true);
10076
+ assert.isNotTrue = function(val, msg) {
10077
+ new Assertion(val, msg, assert.isNotTrue, true).to.not.equal(true);
10093
10078
  };
10094
- assert2.isFalse = function(val, msg) {
10095
- new Assertion(val, msg, assert2.isFalse, true).is["false"];
10079
+ assert.isFalse = function(val, msg) {
10080
+ new Assertion(val, msg, assert.isFalse, true).is["false"];
10096
10081
  };
10097
- assert2.isNotFalse = function(val, msg) {
10098
- new Assertion(val, msg, assert2.isNotFalse, true).to.not.equal(false);
10082
+ assert.isNotFalse = function(val, msg) {
10083
+ new Assertion(val, msg, assert.isNotFalse, true).to.not.equal(false);
10099
10084
  };
10100
- assert2.isNull = function(val, msg) {
10101
- new Assertion(val, msg, assert2.isNull, true).to.equal(null);
10085
+ assert.isNull = function(val, msg) {
10086
+ new Assertion(val, msg, assert.isNull, true).to.equal(null);
10102
10087
  };
10103
- assert2.isNotNull = function(val, msg) {
10104
- new Assertion(val, msg, assert2.isNotNull, true).to.not.equal(null);
10088
+ assert.isNotNull = function(val, msg) {
10089
+ new Assertion(val, msg, assert.isNotNull, true).to.not.equal(null);
10105
10090
  };
10106
- assert2.isNaN = function(val, msg) {
10107
- new Assertion(val, msg, assert2.isNaN, true).to.be.NaN;
10091
+ assert.isNaN = function(val, msg) {
10092
+ new Assertion(val, msg, assert.isNaN, true).to.be.NaN;
10108
10093
  };
10109
- assert2.isNotNaN = function(value, message) {
10110
- new Assertion(value, message, assert2.isNotNaN, true).not.to.be.NaN;
10094
+ assert.isNotNaN = function(value, message) {
10095
+ new Assertion(value, message, assert.isNotNaN, true).not.to.be.NaN;
10111
10096
  };
10112
- assert2.exists = function(val, msg) {
10113
- new Assertion(val, msg, assert2.exists, true).to.exist;
10097
+ assert.exists = function(val, msg) {
10098
+ new Assertion(val, msg, assert.exists, true).to.exist;
10114
10099
  };
10115
- assert2.notExists = function(val, msg) {
10116
- new Assertion(val, msg, assert2.notExists, true).to.not.exist;
10100
+ assert.notExists = function(val, msg) {
10101
+ new Assertion(val, msg, assert.notExists, true).to.not.exist;
10117
10102
  };
10118
- assert2.isUndefined = function(val, msg) {
10119
- new Assertion(val, msg, assert2.isUndefined, true).to.equal(void 0);
10103
+ assert.isUndefined = function(val, msg) {
10104
+ new Assertion(val, msg, assert.isUndefined, true).to.equal(void 0);
10120
10105
  };
10121
- assert2.isDefined = function(val, msg) {
10122
- new Assertion(val, msg, assert2.isDefined, true).to.not.equal(void 0);
10106
+ assert.isDefined = function(val, msg) {
10107
+ new Assertion(val, msg, assert.isDefined, true).to.not.equal(void 0);
10123
10108
  };
10124
- assert2.isCallable = function(value, message) {
10125
- new Assertion(value, message, assert2.isCallable, true).is.callable;
10109
+ assert.isCallable = function(value, message) {
10110
+ new Assertion(value, message, assert.isCallable, true).is.callable;
10126
10111
  };
10127
- assert2.isNotCallable = function(value, message) {
10128
- new Assertion(value, message, assert2.isNotCallable, true).is.not.callable;
10112
+ assert.isNotCallable = function(value, message) {
10113
+ new Assertion(value, message, assert.isNotCallable, true).is.not.callable;
10129
10114
  };
10130
- assert2.isObject = function(val, msg) {
10131
- new Assertion(val, msg, assert2.isObject, true).to.be.a("object");
10115
+ assert.isObject = function(val, msg) {
10116
+ new Assertion(val, msg, assert.isObject, true).to.be.a("object");
10132
10117
  };
10133
- assert2.isNotObject = function(val, msg) {
10134
- new Assertion(val, msg, assert2.isNotObject, true).to.not.be.a("object");
10118
+ assert.isNotObject = function(val, msg) {
10119
+ new Assertion(val, msg, assert.isNotObject, true).to.not.be.a("object");
10135
10120
  };
10136
- assert2.isArray = function(val, msg) {
10137
- new Assertion(val, msg, assert2.isArray, true).to.be.an("array");
10121
+ assert.isArray = function(val, msg) {
10122
+ new Assertion(val, msg, assert.isArray, true).to.be.an("array");
10138
10123
  };
10139
- assert2.isNotArray = function(val, msg) {
10140
- new Assertion(val, msg, assert2.isNotArray, true).to.not.be.an("array");
10124
+ assert.isNotArray = function(val, msg) {
10125
+ new Assertion(val, msg, assert.isNotArray, true).to.not.be.an("array");
10141
10126
  };
10142
- assert2.isString = function(val, msg) {
10143
- new Assertion(val, msg, assert2.isString, true).to.be.a("string");
10127
+ assert.isString = function(val, msg) {
10128
+ new Assertion(val, msg, assert.isString, true).to.be.a("string");
10144
10129
  };
10145
- assert2.isNotString = function(val, msg) {
10146
- new Assertion(val, msg, assert2.isNotString, true).to.not.be.a("string");
10130
+ assert.isNotString = function(val, msg) {
10131
+ new Assertion(val, msg, assert.isNotString, true).to.not.be.a("string");
10147
10132
  };
10148
- assert2.isNumber = function(val, msg) {
10149
- new Assertion(val, msg, assert2.isNumber, true).to.be.a("number");
10133
+ assert.isNumber = function(val, msg) {
10134
+ new Assertion(val, msg, assert.isNumber, true).to.be.a("number");
10150
10135
  };
10151
- assert2.isNotNumber = function(val, msg) {
10152
- new Assertion(val, msg, assert2.isNotNumber, true).to.not.be.a("number");
10136
+ assert.isNotNumber = function(val, msg) {
10137
+ new Assertion(val, msg, assert.isNotNumber, true).to.not.be.a("number");
10153
10138
  };
10154
- assert2.isNumeric = function(val, msg) {
10155
- new Assertion(val, msg, assert2.isNumeric, true).is.numeric;
10139
+ assert.isNumeric = function(val, msg) {
10140
+ new Assertion(val, msg, assert.isNumeric, true).is.numeric;
10156
10141
  };
10157
- assert2.isNotNumeric = function(val, msg) {
10158
- new Assertion(val, msg, assert2.isNotNumeric, true).is.not.numeric;
10142
+ assert.isNotNumeric = function(val, msg) {
10143
+ new Assertion(val, msg, assert.isNotNumeric, true).is.not.numeric;
10159
10144
  };
10160
- assert2.isFinite = function(val, msg) {
10161
- new Assertion(val, msg, assert2.isFinite, true).to.be.finite;
10145
+ assert.isFinite = function(val, msg) {
10146
+ new Assertion(val, msg, assert.isFinite, true).to.be.finite;
10162
10147
  };
10163
- assert2.isBoolean = function(val, msg) {
10164
- new Assertion(val, msg, assert2.isBoolean, true).to.be.a("boolean");
10148
+ assert.isBoolean = function(val, msg) {
10149
+ new Assertion(val, msg, assert.isBoolean, true).to.be.a("boolean");
10165
10150
  };
10166
- assert2.isNotBoolean = function(val, msg) {
10167
- new Assertion(val, msg, assert2.isNotBoolean, true).to.not.be.a("boolean");
10151
+ assert.isNotBoolean = function(val, msg) {
10152
+ new Assertion(val, msg, assert.isNotBoolean, true).to.not.be.a("boolean");
10168
10153
  };
10169
- assert2.typeOf = function(val, type3, msg) {
10170
- new Assertion(val, msg, assert2.typeOf, true).to.be.a(type3);
10154
+ assert.typeOf = function(val, type3, msg) {
10155
+ new Assertion(val, msg, assert.typeOf, true).to.be.a(type3);
10171
10156
  };
10172
- assert2.notTypeOf = function(value, type3, message) {
10173
- new Assertion(value, message, assert2.notTypeOf, true).to.not.be.a(type3);
10157
+ assert.notTypeOf = function(value, type3, message) {
10158
+ new Assertion(value, message, assert.notTypeOf, true).to.not.be.a(type3);
10174
10159
  };
10175
- assert2.instanceOf = function(val, type3, msg) {
10176
- new Assertion(val, msg, assert2.instanceOf, true).to.be.instanceOf(type3);
10160
+ assert.instanceOf = function(val, type3, msg) {
10161
+ new Assertion(val, msg, assert.instanceOf, true).to.be.instanceOf(type3);
10177
10162
  };
10178
- assert2.notInstanceOf = function(val, type3, msg) {
10179
- new Assertion(val, msg, assert2.notInstanceOf, true).to.not.be.instanceOf(
10163
+ assert.notInstanceOf = function(val, type3, msg) {
10164
+ new Assertion(val, msg, assert.notInstanceOf, true).to.not.be.instanceOf(
10180
10165
  type3
10181
10166
  );
10182
10167
  };
10183
- assert2.include = function(exp, inc, msg) {
10184
- new Assertion(exp, msg, assert2.include, true).include(inc);
10168
+ assert.include = function(exp, inc, msg) {
10169
+ new Assertion(exp, msg, assert.include, true).include(inc);
10185
10170
  };
10186
- assert2.notInclude = function(exp, inc, msg) {
10187
- new Assertion(exp, msg, assert2.notInclude, true).not.include(inc);
10171
+ assert.notInclude = function(exp, inc, msg) {
10172
+ new Assertion(exp, msg, assert.notInclude, true).not.include(inc);
10188
10173
  };
10189
- assert2.deepInclude = function(exp, inc, msg) {
10190
- new Assertion(exp, msg, assert2.deepInclude, true).deep.include(inc);
10174
+ assert.deepInclude = function(exp, inc, msg) {
10175
+ new Assertion(exp, msg, assert.deepInclude, true).deep.include(inc);
10191
10176
  };
10192
- assert2.notDeepInclude = function(exp, inc, msg) {
10193
- new Assertion(exp, msg, assert2.notDeepInclude, true).not.deep.include(inc);
10177
+ assert.notDeepInclude = function(exp, inc, msg) {
10178
+ new Assertion(exp, msg, assert.notDeepInclude, true).not.deep.include(inc);
10194
10179
  };
10195
- assert2.nestedInclude = function(exp, inc, msg) {
10196
- new Assertion(exp, msg, assert2.nestedInclude, true).nested.include(inc);
10180
+ assert.nestedInclude = function(exp, inc, msg) {
10181
+ new Assertion(exp, msg, assert.nestedInclude, true).nested.include(inc);
10197
10182
  };
10198
- assert2.notNestedInclude = function(exp, inc, msg) {
10199
- new Assertion(exp, msg, assert2.notNestedInclude, true).not.nested.include(
10183
+ assert.notNestedInclude = function(exp, inc, msg) {
10184
+ new Assertion(exp, msg, assert.notNestedInclude, true).not.nested.include(
10200
10185
  inc
10201
10186
  );
10202
10187
  };
10203
- assert2.deepNestedInclude = function(exp, inc, msg) {
10204
- new Assertion(exp, msg, assert2.deepNestedInclude, true).deep.nested.include(
10188
+ assert.deepNestedInclude = function(exp, inc, msg) {
10189
+ new Assertion(exp, msg, assert.deepNestedInclude, true).deep.nested.include(
10205
10190
  inc
10206
10191
  );
10207
10192
  };
10208
- assert2.notDeepNestedInclude = function(exp, inc, msg) {
10193
+ assert.notDeepNestedInclude = function(exp, inc, msg) {
10209
10194
  new Assertion(
10210
10195
  exp,
10211
10196
  msg,
10212
- assert2.notDeepNestedInclude,
10197
+ assert.notDeepNestedInclude,
10213
10198
  true
10214
10199
  ).not.deep.nested.include(inc);
10215
10200
  };
10216
- assert2.ownInclude = function(exp, inc, msg) {
10217
- new Assertion(exp, msg, assert2.ownInclude, true).own.include(inc);
10201
+ assert.ownInclude = function(exp, inc, msg) {
10202
+ new Assertion(exp, msg, assert.ownInclude, true).own.include(inc);
10218
10203
  };
10219
- assert2.notOwnInclude = function(exp, inc, msg) {
10220
- new Assertion(exp, msg, assert2.notOwnInclude, true).not.own.include(inc);
10204
+ assert.notOwnInclude = function(exp, inc, msg) {
10205
+ new Assertion(exp, msg, assert.notOwnInclude, true).not.own.include(inc);
10221
10206
  };
10222
- assert2.deepOwnInclude = function(exp, inc, msg) {
10223
- new Assertion(exp, msg, assert2.deepOwnInclude, true).deep.own.include(inc);
10207
+ assert.deepOwnInclude = function(exp, inc, msg) {
10208
+ new Assertion(exp, msg, assert.deepOwnInclude, true).deep.own.include(inc);
10224
10209
  };
10225
- assert2.notDeepOwnInclude = function(exp, inc, msg) {
10226
- new Assertion(exp, msg, assert2.notDeepOwnInclude, true).not.deep.own.include(
10210
+ assert.notDeepOwnInclude = function(exp, inc, msg) {
10211
+ new Assertion(exp, msg, assert.notDeepOwnInclude, true).not.deep.own.include(
10227
10212
  inc
10228
10213
  );
10229
10214
  };
10230
- assert2.match = function(exp, re, msg) {
10231
- new Assertion(exp, msg, assert2.match, true).to.match(re);
10215
+ assert.match = function(exp, re, msg) {
10216
+ new Assertion(exp, msg, assert.match, true).to.match(re);
10232
10217
  };
10233
- assert2.notMatch = function(exp, re, msg) {
10234
- new Assertion(exp, msg, assert2.notMatch, true).to.not.match(re);
10218
+ assert.notMatch = function(exp, re, msg) {
10219
+ new Assertion(exp, msg, assert.notMatch, true).to.not.match(re);
10235
10220
  };
10236
- assert2.property = function(obj, prop, msg) {
10237
- new Assertion(obj, msg, assert2.property, true).to.have.property(prop);
10221
+ assert.property = function(obj, prop, msg) {
10222
+ new Assertion(obj, msg, assert.property, true).to.have.property(prop);
10238
10223
  };
10239
- assert2.notProperty = function(obj, prop, msg) {
10240
- new Assertion(obj, msg, assert2.notProperty, true).to.not.have.property(prop);
10224
+ assert.notProperty = function(obj, prop, msg) {
10225
+ new Assertion(obj, msg, assert.notProperty, true).to.not.have.property(prop);
10241
10226
  };
10242
- assert2.propertyVal = function(obj, prop, val, msg) {
10243
- new Assertion(obj, msg, assert2.propertyVal, true).to.have.property(prop, val);
10227
+ assert.propertyVal = function(obj, prop, val, msg) {
10228
+ new Assertion(obj, msg, assert.propertyVal, true).to.have.property(prop, val);
10244
10229
  };
10245
- assert2.notPropertyVal = function(obj, prop, val, msg) {
10246
- new Assertion(obj, msg, assert2.notPropertyVal, true).to.not.have.property(
10230
+ assert.notPropertyVal = function(obj, prop, val, msg) {
10231
+ new Assertion(obj, msg, assert.notPropertyVal, true).to.not.have.property(
10247
10232
  prop,
10248
10233
  val
10249
10234
  );
10250
10235
  };
10251
- assert2.deepPropertyVal = function(obj, prop, val, msg) {
10252
- new Assertion(obj, msg, assert2.deepPropertyVal, true).to.have.deep.property(
10236
+ assert.deepPropertyVal = function(obj, prop, val, msg) {
10237
+ new Assertion(obj, msg, assert.deepPropertyVal, true).to.have.deep.property(
10253
10238
  prop,
10254
10239
  val
10255
10240
  );
10256
10241
  };
10257
- assert2.notDeepPropertyVal = function(obj, prop, val, msg) {
10242
+ assert.notDeepPropertyVal = function(obj, prop, val, msg) {
10258
10243
  new Assertion(
10259
10244
  obj,
10260
10245
  msg,
10261
- assert2.notDeepPropertyVal,
10246
+ assert.notDeepPropertyVal,
10262
10247
  true
10263
10248
  ).to.not.have.deep.property(prop, val);
10264
10249
  };
10265
- assert2.ownProperty = function(obj, prop, msg) {
10266
- new Assertion(obj, msg, assert2.ownProperty, true).to.have.own.property(prop);
10250
+ assert.ownProperty = function(obj, prop, msg) {
10251
+ new Assertion(obj, msg, assert.ownProperty, true).to.have.own.property(prop);
10267
10252
  };
10268
- assert2.notOwnProperty = function(obj, prop, msg) {
10269
- new Assertion(obj, msg, assert2.notOwnProperty, true).to.not.have.own.property(
10253
+ assert.notOwnProperty = function(obj, prop, msg) {
10254
+ new Assertion(obj, msg, assert.notOwnProperty, true).to.not.have.own.property(
10270
10255
  prop
10271
10256
  );
10272
10257
  };
10273
- assert2.ownPropertyVal = function(obj, prop, value, msg) {
10274
- new Assertion(obj, msg, assert2.ownPropertyVal, true).to.have.own.property(
10258
+ assert.ownPropertyVal = function(obj, prop, value, msg) {
10259
+ new Assertion(obj, msg, assert.ownPropertyVal, true).to.have.own.property(
10275
10260
  prop,
10276
10261
  value
10277
10262
  );
10278
10263
  };
10279
- assert2.notOwnPropertyVal = function(obj, prop, value, msg) {
10264
+ assert.notOwnPropertyVal = function(obj, prop, value, msg) {
10280
10265
  new Assertion(
10281
10266
  obj,
10282
10267
  msg,
10283
- assert2.notOwnPropertyVal,
10268
+ assert.notOwnPropertyVal,
10284
10269
  true
10285
10270
  ).to.not.have.own.property(prop, value);
10286
10271
  };
10287
- assert2.deepOwnPropertyVal = function(obj, prop, value, msg) {
10272
+ assert.deepOwnPropertyVal = function(obj, prop, value, msg) {
10288
10273
  new Assertion(
10289
10274
  obj,
10290
10275
  msg,
10291
- assert2.deepOwnPropertyVal,
10276
+ assert.deepOwnPropertyVal,
10292
10277
  true
10293
10278
  ).to.have.deep.own.property(prop, value);
10294
10279
  };
10295
- assert2.notDeepOwnPropertyVal = function(obj, prop, value, msg) {
10280
+ assert.notDeepOwnPropertyVal = function(obj, prop, value, msg) {
10296
10281
  new Assertion(
10297
10282
  obj,
10298
10283
  msg,
10299
- assert2.notDeepOwnPropertyVal,
10284
+ assert.notDeepOwnPropertyVal,
10300
10285
  true
10301
10286
  ).to.not.have.deep.own.property(prop, value);
10302
10287
  };
10303
- assert2.nestedProperty = function(obj, prop, msg) {
10304
- new Assertion(obj, msg, assert2.nestedProperty, true).to.have.nested.property(
10288
+ assert.nestedProperty = function(obj, prop, msg) {
10289
+ new Assertion(obj, msg, assert.nestedProperty, true).to.have.nested.property(
10305
10290
  prop
10306
10291
  );
10307
10292
  };
10308
- assert2.notNestedProperty = function(obj, prop, msg) {
10293
+ assert.notNestedProperty = function(obj, prop, msg) {
10309
10294
  new Assertion(
10310
10295
  obj,
10311
10296
  msg,
10312
- assert2.notNestedProperty,
10297
+ assert.notNestedProperty,
10313
10298
  true
10314
10299
  ).to.not.have.nested.property(prop);
10315
10300
  };
10316
- assert2.nestedPropertyVal = function(obj, prop, val, msg) {
10301
+ assert.nestedPropertyVal = function(obj, prop, val, msg) {
10317
10302
  new Assertion(
10318
10303
  obj,
10319
10304
  msg,
10320
- assert2.nestedPropertyVal,
10305
+ assert.nestedPropertyVal,
10321
10306
  true
10322
10307
  ).to.have.nested.property(prop, val);
10323
10308
  };
10324
- assert2.notNestedPropertyVal = function(obj, prop, val, msg) {
10309
+ assert.notNestedPropertyVal = function(obj, prop, val, msg) {
10325
10310
  new Assertion(
10326
10311
  obj,
10327
10312
  msg,
10328
- assert2.notNestedPropertyVal,
10313
+ assert.notNestedPropertyVal,
10329
10314
  true
10330
10315
  ).to.not.have.nested.property(prop, val);
10331
10316
  };
10332
- assert2.deepNestedPropertyVal = function(obj, prop, val, msg) {
10317
+ assert.deepNestedPropertyVal = function(obj, prop, val, msg) {
10333
10318
  new Assertion(
10334
10319
  obj,
10335
10320
  msg,
10336
- assert2.deepNestedPropertyVal,
10321
+ assert.deepNestedPropertyVal,
10337
10322
  true
10338
10323
  ).to.have.deep.nested.property(prop, val);
10339
10324
  };
10340
- assert2.notDeepNestedPropertyVal = function(obj, prop, val, msg) {
10325
+ assert.notDeepNestedPropertyVal = function(obj, prop, val, msg) {
10341
10326
  new Assertion(
10342
10327
  obj,
10343
10328
  msg,
10344
- assert2.notDeepNestedPropertyVal,
10329
+ assert.notDeepNestedPropertyVal,
10345
10330
  true
10346
10331
  ).to.not.have.deep.nested.property(prop, val);
10347
10332
  };
10348
- assert2.lengthOf = function(exp, len, msg) {
10349
- new Assertion(exp, msg, assert2.lengthOf, true).to.have.lengthOf(len);
10333
+ assert.lengthOf = function(exp, len, msg) {
10334
+ new Assertion(exp, msg, assert.lengthOf, true).to.have.lengthOf(len);
10350
10335
  };
10351
- assert2.hasAnyKeys = function(obj, keys2, msg) {
10352
- new Assertion(obj, msg, assert2.hasAnyKeys, true).to.have.any.keys(keys2);
10336
+ assert.hasAnyKeys = function(obj, keys2, msg) {
10337
+ new Assertion(obj, msg, assert.hasAnyKeys, true).to.have.any.keys(keys2);
10353
10338
  };
10354
- assert2.hasAllKeys = function(obj, keys2, msg) {
10355
- new Assertion(obj, msg, assert2.hasAllKeys, true).to.have.all.keys(keys2);
10339
+ assert.hasAllKeys = function(obj, keys2, msg) {
10340
+ new Assertion(obj, msg, assert.hasAllKeys, true).to.have.all.keys(keys2);
10356
10341
  };
10357
- assert2.containsAllKeys = function(obj, keys2, msg) {
10358
- new Assertion(obj, msg, assert2.containsAllKeys, true).to.contain.all.keys(
10342
+ assert.containsAllKeys = function(obj, keys2, msg) {
10343
+ new Assertion(obj, msg, assert.containsAllKeys, true).to.contain.all.keys(
10359
10344
  keys2
10360
10345
  );
10361
10346
  };
10362
- assert2.doesNotHaveAnyKeys = function(obj, keys2, msg) {
10363
- new Assertion(obj, msg, assert2.doesNotHaveAnyKeys, true).to.not.have.any.keys(
10347
+ assert.doesNotHaveAnyKeys = function(obj, keys2, msg) {
10348
+ new Assertion(obj, msg, assert.doesNotHaveAnyKeys, true).to.not.have.any.keys(
10364
10349
  keys2
10365
10350
  );
10366
10351
  };
10367
- assert2.doesNotHaveAllKeys = function(obj, keys2, msg) {
10368
- new Assertion(obj, msg, assert2.doesNotHaveAllKeys, true).to.not.have.all.keys(
10352
+ assert.doesNotHaveAllKeys = function(obj, keys2, msg) {
10353
+ new Assertion(obj, msg, assert.doesNotHaveAllKeys, true).to.not.have.all.keys(
10369
10354
  keys2
10370
10355
  );
10371
10356
  };
10372
- assert2.hasAnyDeepKeys = function(obj, keys2, msg) {
10373
- new Assertion(obj, msg, assert2.hasAnyDeepKeys, true).to.have.any.deep.keys(
10357
+ assert.hasAnyDeepKeys = function(obj, keys2, msg) {
10358
+ new Assertion(obj, msg, assert.hasAnyDeepKeys, true).to.have.any.deep.keys(
10374
10359
  keys2
10375
10360
  );
10376
10361
  };
10377
- assert2.hasAllDeepKeys = function(obj, keys2, msg) {
10378
- new Assertion(obj, msg, assert2.hasAllDeepKeys, true).to.have.all.deep.keys(
10362
+ assert.hasAllDeepKeys = function(obj, keys2, msg) {
10363
+ new Assertion(obj, msg, assert.hasAllDeepKeys, true).to.have.all.deep.keys(
10379
10364
  keys2
10380
10365
  );
10381
10366
  };
10382
- assert2.containsAllDeepKeys = function(obj, keys2, msg) {
10367
+ assert.containsAllDeepKeys = function(obj, keys2, msg) {
10383
10368
  new Assertion(
10384
10369
  obj,
10385
10370
  msg,
10386
- assert2.containsAllDeepKeys,
10371
+ assert.containsAllDeepKeys,
10387
10372
  true
10388
10373
  ).to.contain.all.deep.keys(keys2);
10389
10374
  };
10390
- assert2.doesNotHaveAnyDeepKeys = function(obj, keys2, msg) {
10375
+ assert.doesNotHaveAnyDeepKeys = function(obj, keys2, msg) {
10391
10376
  new Assertion(
10392
10377
  obj,
10393
10378
  msg,
10394
- assert2.doesNotHaveAnyDeepKeys,
10379
+ assert.doesNotHaveAnyDeepKeys,
10395
10380
  true
10396
10381
  ).to.not.have.any.deep.keys(keys2);
10397
10382
  };
10398
- assert2.doesNotHaveAllDeepKeys = function(obj, keys2, msg) {
10383
+ assert.doesNotHaveAllDeepKeys = function(obj, keys2, msg) {
10399
10384
  new Assertion(
10400
10385
  obj,
10401
10386
  msg,
10402
- assert2.doesNotHaveAllDeepKeys,
10387
+ assert.doesNotHaveAllDeepKeys,
10403
10388
  true
10404
10389
  ).to.not.have.all.deep.keys(keys2);
10405
10390
  };
10406
- assert2.throws = function(fn2, errorLike, errMsgMatcher, msg) {
10391
+ assert.throws = function(fn2, errorLike, errMsgMatcher, msg) {
10407
10392
  if ("string" === typeof errorLike || errorLike instanceof RegExp) {
10408
10393
  errMsgMatcher = errorLike;
10409
10394
  errorLike = null;
10410
10395
  }
10411
- let assertErr = new Assertion(fn2, msg, assert2.throws, true).to.throw(
10396
+ let assertErr = new Assertion(fn2, msg, assert.throws, true).to.throw(
10412
10397
  errorLike,
10413
10398
  errMsgMatcher
10414
10399
  );
10415
10400
  return flag(assertErr, "object");
10416
10401
  };
10417
- assert2.doesNotThrow = function(fn2, errorLike, errMsgMatcher, message) {
10402
+ assert.doesNotThrow = function(fn2, errorLike, errMsgMatcher, message) {
10418
10403
  if ("string" === typeof errorLike || errorLike instanceof RegExp) {
10419
10404
  errMsgMatcher = errorLike;
10420
10405
  errorLike = null;
10421
10406
  }
10422
- new Assertion(fn2, message, assert2.doesNotThrow, true).to.not.throw(
10407
+ new Assertion(fn2, message, assert.doesNotThrow, true).to.not.throw(
10423
10408
  errorLike,
10424
10409
  errMsgMatcher
10425
10410
  );
10426
10411
  };
10427
- assert2.operator = function(val, operator, val2, msg) {
10412
+ assert.operator = function(val, operator, val2, msg) {
10428
10413
  let ok;
10429
10414
  switch (operator) {
10430
10415
  case "==":
@@ -10456,162 +10441,162 @@ assert2.operator = function(val, operator, val2, msg) {
10456
10441
  throw new AssertionError(
10457
10442
  msg + 'Invalid operator "' + operator + '"',
10458
10443
  void 0,
10459
- assert2.operator
10444
+ assert.operator
10460
10445
  );
10461
10446
  }
10462
- let test22 = new Assertion(ok, msg, assert2.operator, true);
10447
+ let test22 = new Assertion(ok, msg, assert.operator, true);
10463
10448
  test22.assert(
10464
10449
  true === flag(test22, "object"),
10465
10450
  "expected " + inspect22(val) + " to be " + operator + " " + inspect22(val2),
10466
10451
  "expected " + inspect22(val) + " to not be " + operator + " " + inspect22(val2)
10467
10452
  );
10468
10453
  };
10469
- assert2.closeTo = function(act, exp, delta, msg) {
10470
- new Assertion(act, msg, assert2.closeTo, true).to.be.closeTo(exp, delta);
10454
+ assert.closeTo = function(act, exp, delta, msg) {
10455
+ new Assertion(act, msg, assert.closeTo, true).to.be.closeTo(exp, delta);
10471
10456
  };
10472
- assert2.approximately = function(act, exp, delta, msg) {
10473
- new Assertion(act, msg, assert2.approximately, true).to.be.approximately(
10457
+ assert.approximately = function(act, exp, delta, msg) {
10458
+ new Assertion(act, msg, assert.approximately, true).to.be.approximately(
10474
10459
  exp,
10475
10460
  delta
10476
10461
  );
10477
10462
  };
10478
- assert2.sameMembers = function(set1, set22, msg) {
10479
- new Assertion(set1, msg, assert2.sameMembers, true).to.have.same.members(set22);
10463
+ assert.sameMembers = function(set1, set22, msg) {
10464
+ new Assertion(set1, msg, assert.sameMembers, true).to.have.same.members(set22);
10480
10465
  };
10481
- assert2.notSameMembers = function(set1, set22, msg) {
10466
+ assert.notSameMembers = function(set1, set22, msg) {
10482
10467
  new Assertion(
10483
10468
  set1,
10484
10469
  msg,
10485
- assert2.notSameMembers,
10470
+ assert.notSameMembers,
10486
10471
  true
10487
10472
  ).to.not.have.same.members(set22);
10488
10473
  };
10489
- assert2.sameDeepMembers = function(set1, set22, msg) {
10474
+ assert.sameDeepMembers = function(set1, set22, msg) {
10490
10475
  new Assertion(
10491
10476
  set1,
10492
10477
  msg,
10493
- assert2.sameDeepMembers,
10478
+ assert.sameDeepMembers,
10494
10479
  true
10495
10480
  ).to.have.same.deep.members(set22);
10496
10481
  };
10497
- assert2.notSameDeepMembers = function(set1, set22, msg) {
10482
+ assert.notSameDeepMembers = function(set1, set22, msg) {
10498
10483
  new Assertion(
10499
10484
  set1,
10500
10485
  msg,
10501
- assert2.notSameDeepMembers,
10486
+ assert.notSameDeepMembers,
10502
10487
  true
10503
10488
  ).to.not.have.same.deep.members(set22);
10504
10489
  };
10505
- assert2.sameOrderedMembers = function(set1, set22, msg) {
10490
+ assert.sameOrderedMembers = function(set1, set22, msg) {
10506
10491
  new Assertion(
10507
10492
  set1,
10508
10493
  msg,
10509
- assert2.sameOrderedMembers,
10494
+ assert.sameOrderedMembers,
10510
10495
  true
10511
10496
  ).to.have.same.ordered.members(set22);
10512
10497
  };
10513
- assert2.notSameOrderedMembers = function(set1, set22, msg) {
10498
+ assert.notSameOrderedMembers = function(set1, set22, msg) {
10514
10499
  new Assertion(
10515
10500
  set1,
10516
10501
  msg,
10517
- assert2.notSameOrderedMembers,
10502
+ assert.notSameOrderedMembers,
10518
10503
  true
10519
10504
  ).to.not.have.same.ordered.members(set22);
10520
10505
  };
10521
- assert2.sameDeepOrderedMembers = function(set1, set22, msg) {
10506
+ assert.sameDeepOrderedMembers = function(set1, set22, msg) {
10522
10507
  new Assertion(
10523
10508
  set1,
10524
10509
  msg,
10525
- assert2.sameDeepOrderedMembers,
10510
+ assert.sameDeepOrderedMembers,
10526
10511
  true
10527
10512
  ).to.have.same.deep.ordered.members(set22);
10528
10513
  };
10529
- assert2.notSameDeepOrderedMembers = function(set1, set22, msg) {
10514
+ assert.notSameDeepOrderedMembers = function(set1, set22, msg) {
10530
10515
  new Assertion(
10531
10516
  set1,
10532
10517
  msg,
10533
- assert2.notSameDeepOrderedMembers,
10518
+ assert.notSameDeepOrderedMembers,
10534
10519
  true
10535
10520
  ).to.not.have.same.deep.ordered.members(set22);
10536
10521
  };
10537
- assert2.includeMembers = function(superset, subset, msg) {
10538
- new Assertion(superset, msg, assert2.includeMembers, true).to.include.members(
10522
+ assert.includeMembers = function(superset, subset, msg) {
10523
+ new Assertion(superset, msg, assert.includeMembers, true).to.include.members(
10539
10524
  subset
10540
10525
  );
10541
10526
  };
10542
- assert2.notIncludeMembers = function(superset, subset, msg) {
10527
+ assert.notIncludeMembers = function(superset, subset, msg) {
10543
10528
  new Assertion(
10544
10529
  superset,
10545
10530
  msg,
10546
- assert2.notIncludeMembers,
10531
+ assert.notIncludeMembers,
10547
10532
  true
10548
10533
  ).to.not.include.members(subset);
10549
10534
  };
10550
- assert2.includeDeepMembers = function(superset, subset, msg) {
10535
+ assert.includeDeepMembers = function(superset, subset, msg) {
10551
10536
  new Assertion(
10552
10537
  superset,
10553
10538
  msg,
10554
- assert2.includeDeepMembers,
10539
+ assert.includeDeepMembers,
10555
10540
  true
10556
10541
  ).to.include.deep.members(subset);
10557
10542
  };
10558
- assert2.notIncludeDeepMembers = function(superset, subset, msg) {
10543
+ assert.notIncludeDeepMembers = function(superset, subset, msg) {
10559
10544
  new Assertion(
10560
10545
  superset,
10561
10546
  msg,
10562
- assert2.notIncludeDeepMembers,
10547
+ assert.notIncludeDeepMembers,
10563
10548
  true
10564
10549
  ).to.not.include.deep.members(subset);
10565
10550
  };
10566
- assert2.includeOrderedMembers = function(superset, subset, msg) {
10551
+ assert.includeOrderedMembers = function(superset, subset, msg) {
10567
10552
  new Assertion(
10568
10553
  superset,
10569
10554
  msg,
10570
- assert2.includeOrderedMembers,
10555
+ assert.includeOrderedMembers,
10571
10556
  true
10572
10557
  ).to.include.ordered.members(subset);
10573
10558
  };
10574
- assert2.notIncludeOrderedMembers = function(superset, subset, msg) {
10559
+ assert.notIncludeOrderedMembers = function(superset, subset, msg) {
10575
10560
  new Assertion(
10576
10561
  superset,
10577
10562
  msg,
10578
- assert2.notIncludeOrderedMembers,
10563
+ assert.notIncludeOrderedMembers,
10579
10564
  true
10580
10565
  ).to.not.include.ordered.members(subset);
10581
10566
  };
10582
- assert2.includeDeepOrderedMembers = function(superset, subset, msg) {
10567
+ assert.includeDeepOrderedMembers = function(superset, subset, msg) {
10583
10568
  new Assertion(
10584
10569
  superset,
10585
10570
  msg,
10586
- assert2.includeDeepOrderedMembers,
10571
+ assert.includeDeepOrderedMembers,
10587
10572
  true
10588
10573
  ).to.include.deep.ordered.members(subset);
10589
10574
  };
10590
- assert2.notIncludeDeepOrderedMembers = function(superset, subset, msg) {
10575
+ assert.notIncludeDeepOrderedMembers = function(superset, subset, msg) {
10591
10576
  new Assertion(
10592
10577
  superset,
10593
10578
  msg,
10594
- assert2.notIncludeDeepOrderedMembers,
10579
+ assert.notIncludeDeepOrderedMembers,
10595
10580
  true
10596
10581
  ).to.not.include.deep.ordered.members(subset);
10597
10582
  };
10598
- assert2.oneOf = function(inList, list, msg) {
10599
- new Assertion(inList, msg, assert2.oneOf, true).to.be.oneOf(list);
10583
+ assert.oneOf = function(inList, list, msg) {
10584
+ new Assertion(inList, msg, assert.oneOf, true).to.be.oneOf(list);
10600
10585
  };
10601
- assert2.isIterable = function(obj, msg) {
10586
+ assert.isIterable = function(obj, msg) {
10602
10587
  if (obj == void 0 || !obj[Symbol.iterator]) {
10603
10588
  msg = msg ? `${msg} expected ${inspect22(obj)} to be an iterable` : `expected ${inspect22(obj)} to be an iterable`;
10604
- throw new AssertionError(msg, void 0, assert2.isIterable);
10589
+ throw new AssertionError(msg, void 0, assert.isIterable);
10605
10590
  }
10606
10591
  };
10607
- assert2.changes = function(fn2, obj, prop, msg) {
10592
+ assert.changes = function(fn2, obj, prop, msg) {
10608
10593
  if (arguments.length === 3 && typeof obj === "function") {
10609
10594
  msg = prop;
10610
10595
  prop = null;
10611
10596
  }
10612
- new Assertion(fn2, msg, assert2.changes, true).to.change(obj, prop);
10597
+ new Assertion(fn2, msg, assert.changes, true).to.change(obj, prop);
10613
10598
  };
10614
- assert2.changesBy = function(fn2, obj, prop, delta, msg) {
10599
+ assert.changesBy = function(fn2, obj, prop, delta, msg) {
10615
10600
  if (arguments.length === 4 && typeof obj === "function") {
10616
10601
  let tmpMsg = delta;
10617
10602
  delta = prop;
@@ -10620,19 +10605,19 @@ assert2.changesBy = function(fn2, obj, prop, delta, msg) {
10620
10605
  delta = prop;
10621
10606
  prop = null;
10622
10607
  }
10623
- new Assertion(fn2, msg, assert2.changesBy, true).to.change(obj, prop).by(delta);
10608
+ new Assertion(fn2, msg, assert.changesBy, true).to.change(obj, prop).by(delta);
10624
10609
  };
10625
- assert2.doesNotChange = function(fn2, obj, prop, msg) {
10610
+ assert.doesNotChange = function(fn2, obj, prop, msg) {
10626
10611
  if (arguments.length === 3 && typeof obj === "function") {
10627
10612
  msg = prop;
10628
10613
  prop = null;
10629
10614
  }
10630
- return new Assertion(fn2, msg, assert2.doesNotChange, true).to.not.change(
10615
+ return new Assertion(fn2, msg, assert.doesNotChange, true).to.not.change(
10631
10616
  obj,
10632
10617
  prop
10633
10618
  );
10634
10619
  };
10635
- assert2.changesButNotBy = function(fn2, obj, prop, delta, msg) {
10620
+ assert.changesButNotBy = function(fn2, obj, prop, delta, msg) {
10636
10621
  if (arguments.length === 4 && typeof obj === "function") {
10637
10622
  let tmpMsg = delta;
10638
10623
  delta = prop;
@@ -10641,16 +10626,16 @@ assert2.changesButNotBy = function(fn2, obj, prop, delta, msg) {
10641
10626
  delta = prop;
10642
10627
  prop = null;
10643
10628
  }
10644
- new Assertion(fn2, msg, assert2.changesButNotBy, true).to.change(obj, prop).but.not.by(delta);
10629
+ new Assertion(fn2, msg, assert.changesButNotBy, true).to.change(obj, prop).but.not.by(delta);
10645
10630
  };
10646
- assert2.increases = function(fn2, obj, prop, msg) {
10631
+ assert.increases = function(fn2, obj, prop, msg) {
10647
10632
  if (arguments.length === 3 && typeof obj === "function") {
10648
10633
  msg = prop;
10649
10634
  prop = null;
10650
10635
  }
10651
- return new Assertion(fn2, msg, assert2.increases, true).to.increase(obj, prop);
10636
+ return new Assertion(fn2, msg, assert.increases, true).to.increase(obj, prop);
10652
10637
  };
10653
- assert2.increasesBy = function(fn2, obj, prop, delta, msg) {
10638
+ assert.increasesBy = function(fn2, obj, prop, delta, msg) {
10654
10639
  if (arguments.length === 4 && typeof obj === "function") {
10655
10640
  let tmpMsg = delta;
10656
10641
  delta = prop;
@@ -10659,19 +10644,19 @@ assert2.increasesBy = function(fn2, obj, prop, delta, msg) {
10659
10644
  delta = prop;
10660
10645
  prop = null;
10661
10646
  }
10662
- new Assertion(fn2, msg, assert2.increasesBy, true).to.increase(obj, prop).by(delta);
10647
+ new Assertion(fn2, msg, assert.increasesBy, true).to.increase(obj, prop).by(delta);
10663
10648
  };
10664
- assert2.doesNotIncrease = function(fn2, obj, prop, msg) {
10649
+ assert.doesNotIncrease = function(fn2, obj, prop, msg) {
10665
10650
  if (arguments.length === 3 && typeof obj === "function") {
10666
10651
  msg = prop;
10667
10652
  prop = null;
10668
10653
  }
10669
- return new Assertion(fn2, msg, assert2.doesNotIncrease, true).to.not.increase(
10654
+ return new Assertion(fn2, msg, assert.doesNotIncrease, true).to.not.increase(
10670
10655
  obj,
10671
10656
  prop
10672
10657
  );
10673
10658
  };
10674
- assert2.increasesButNotBy = function(fn2, obj, prop, delta, msg) {
10659
+ assert.increasesButNotBy = function(fn2, obj, prop, delta, msg) {
10675
10660
  if (arguments.length === 4 && typeof obj === "function") {
10676
10661
  let tmpMsg = delta;
10677
10662
  delta = prop;
@@ -10680,16 +10665,16 @@ assert2.increasesButNotBy = function(fn2, obj, prop, delta, msg) {
10680
10665
  delta = prop;
10681
10666
  prop = null;
10682
10667
  }
10683
- new Assertion(fn2, msg, assert2.increasesButNotBy, true).to.increase(obj, prop).but.not.by(delta);
10668
+ new Assertion(fn2, msg, assert.increasesButNotBy, true).to.increase(obj, prop).but.not.by(delta);
10684
10669
  };
10685
- assert2.decreases = function(fn2, obj, prop, msg) {
10670
+ assert.decreases = function(fn2, obj, prop, msg) {
10686
10671
  if (arguments.length === 3 && typeof obj === "function") {
10687
10672
  msg = prop;
10688
10673
  prop = null;
10689
10674
  }
10690
- return new Assertion(fn2, msg, assert2.decreases, true).to.decrease(obj, prop);
10675
+ return new Assertion(fn2, msg, assert.decreases, true).to.decrease(obj, prop);
10691
10676
  };
10692
- assert2.decreasesBy = function(fn2, obj, prop, delta, msg) {
10677
+ assert.decreasesBy = function(fn2, obj, prop, delta, msg) {
10693
10678
  if (arguments.length === 4 && typeof obj === "function") {
10694
10679
  let tmpMsg = delta;
10695
10680
  delta = prop;
@@ -10698,19 +10683,19 @@ assert2.decreasesBy = function(fn2, obj, prop, delta, msg) {
10698
10683
  delta = prop;
10699
10684
  prop = null;
10700
10685
  }
10701
- new Assertion(fn2, msg, assert2.decreasesBy, true).to.decrease(obj, prop).by(delta);
10686
+ new Assertion(fn2, msg, assert.decreasesBy, true).to.decrease(obj, prop).by(delta);
10702
10687
  };
10703
- assert2.doesNotDecrease = function(fn2, obj, prop, msg) {
10688
+ assert.doesNotDecrease = function(fn2, obj, prop, msg) {
10704
10689
  if (arguments.length === 3 && typeof obj === "function") {
10705
10690
  msg = prop;
10706
10691
  prop = null;
10707
10692
  }
10708
- return new Assertion(fn2, msg, assert2.doesNotDecrease, true).to.not.decrease(
10693
+ return new Assertion(fn2, msg, assert.doesNotDecrease, true).to.not.decrease(
10709
10694
  obj,
10710
10695
  prop
10711
10696
  );
10712
10697
  };
10713
- assert2.doesNotDecreaseBy = function(fn2, obj, prop, delta, msg) {
10698
+ assert.doesNotDecreaseBy = function(fn2, obj, prop, delta, msg) {
10714
10699
  if (arguments.length === 4 && typeof obj === "function") {
10715
10700
  let tmpMsg = delta;
10716
10701
  delta = prop;
@@ -10719,9 +10704,9 @@ assert2.doesNotDecreaseBy = function(fn2, obj, prop, delta, msg) {
10719
10704
  delta = prop;
10720
10705
  prop = null;
10721
10706
  }
10722
- return new Assertion(fn2, msg, assert2.doesNotDecreaseBy, true).to.not.decrease(obj, prop).by(delta);
10707
+ return new Assertion(fn2, msg, assert.doesNotDecreaseBy, true).to.not.decrease(obj, prop).by(delta);
10723
10708
  };
10724
- assert2.decreasesButNotBy = function(fn2, obj, prop, delta, msg) {
10709
+ assert.decreasesButNotBy = function(fn2, obj, prop, delta, msg) {
10725
10710
  if (arguments.length === 4 && typeof obj === "function") {
10726
10711
  let tmpMsg = delta;
10727
10712
  delta = prop;
@@ -10730,41 +10715,41 @@ assert2.decreasesButNotBy = function(fn2, obj, prop, delta, msg) {
10730
10715
  delta = prop;
10731
10716
  prop = null;
10732
10717
  }
10733
- new Assertion(fn2, msg, assert2.decreasesButNotBy, true).to.decrease(obj, prop).but.not.by(delta);
10718
+ new Assertion(fn2, msg, assert.decreasesButNotBy, true).to.decrease(obj, prop).but.not.by(delta);
10734
10719
  };
10735
- assert2.ifError = function(val) {
10720
+ assert.ifError = function(val) {
10736
10721
  if (val) {
10737
10722
  throw val;
10738
10723
  }
10739
10724
  };
10740
- assert2.isExtensible = function(obj, msg) {
10741
- new Assertion(obj, msg, assert2.isExtensible, true).to.be.extensible;
10725
+ assert.isExtensible = function(obj, msg) {
10726
+ new Assertion(obj, msg, assert.isExtensible, true).to.be.extensible;
10742
10727
  };
10743
- assert2.isNotExtensible = function(obj, msg) {
10744
- new Assertion(obj, msg, assert2.isNotExtensible, true).to.not.be.extensible;
10728
+ assert.isNotExtensible = function(obj, msg) {
10729
+ new Assertion(obj, msg, assert.isNotExtensible, true).to.not.be.extensible;
10745
10730
  };
10746
- assert2.isSealed = function(obj, msg) {
10747
- new Assertion(obj, msg, assert2.isSealed, true).to.be.sealed;
10731
+ assert.isSealed = function(obj, msg) {
10732
+ new Assertion(obj, msg, assert.isSealed, true).to.be.sealed;
10748
10733
  };
10749
- assert2.isNotSealed = function(obj, msg) {
10750
- new Assertion(obj, msg, assert2.isNotSealed, true).to.not.be.sealed;
10734
+ assert.isNotSealed = function(obj, msg) {
10735
+ new Assertion(obj, msg, assert.isNotSealed, true).to.not.be.sealed;
10751
10736
  };
10752
- assert2.isFrozen = function(obj, msg) {
10753
- new Assertion(obj, msg, assert2.isFrozen, true).to.be.frozen;
10737
+ assert.isFrozen = function(obj, msg) {
10738
+ new Assertion(obj, msg, assert.isFrozen, true).to.be.frozen;
10754
10739
  };
10755
- assert2.isNotFrozen = function(obj, msg) {
10756
- new Assertion(obj, msg, assert2.isNotFrozen, true).to.not.be.frozen;
10740
+ assert.isNotFrozen = function(obj, msg) {
10741
+ new Assertion(obj, msg, assert.isNotFrozen, true).to.not.be.frozen;
10757
10742
  };
10758
- assert2.isEmpty = function(val, msg) {
10759
- new Assertion(val, msg, assert2.isEmpty, true).to.be.empty;
10743
+ assert.isEmpty = function(val, msg) {
10744
+ new Assertion(val, msg, assert.isEmpty, true).to.be.empty;
10760
10745
  };
10761
- assert2.isNotEmpty = function(val, msg) {
10762
- new Assertion(val, msg, assert2.isNotEmpty, true).to.not.be.empty;
10746
+ assert.isNotEmpty = function(val, msg) {
10747
+ new Assertion(val, msg, assert.isNotEmpty, true).to.not.be.empty;
10763
10748
  };
10764
- assert2.containsSubset = function(val, exp, msg) {
10749
+ assert.containsSubset = function(val, exp, msg) {
10765
10750
  new Assertion(val, msg).to.containSubset(exp);
10766
10751
  };
10767
- assert2.doesNotContainSubset = function(val, exp, msg) {
10752
+ assert.doesNotContainSubset = function(val, exp, msg) {
10768
10753
  new Assertion(val, msg).to.not.containSubset(exp);
10769
10754
  };
10770
10755
  var aliases = [
@@ -10785,7 +10770,7 @@ var aliases = [
10785
10770
  ["containsSubset", "containSubset"]
10786
10771
  ];
10787
10772
  for (const [name, as] of aliases) {
10788
- assert2[as] = assert2[name];
10773
+ assert[as] = assert[name];
10789
10774
  }
10790
10775
  var used = [];
10791
10776
  function use(fn2) {
@@ -10795,7 +10780,7 @@ function use(fn2) {
10795
10780
  util: utils_exports,
10796
10781
  config,
10797
10782
  expect,
10798
- assert: assert2,
10783
+ assert,
10799
10784
  Assertion,
10800
10785
  ...should_exports
10801
10786
  };
@@ -10807,7 +10792,7 @@ function use(fn2) {
10807
10792
  }
10808
10793
  __name(use, "use");
10809
10794
 
10810
- // ../../node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index.js
10795
+ // ../../../../node_modules/.pnpm/@vitest+expect@3.2.4/node_modules/@vitest/expect/dist/index.js
10811
10796
  var MATCHERS_OBJECT = Symbol.for("matchers-object");
10812
10797
  var JEST_MATCHERS_OBJECT = Symbol.for("$$jest-matchers-object");
10813
10798
  var GLOBAL_EXPECT = Symbol.for("expect-global");
@@ -10941,71 +10926,71 @@ function addCustomEqualityTesters(newTesters) {
10941
10926
  function getCustomEqualityTesters() {
10942
10927
  return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters;
10943
10928
  }
10944
- function equals(a3, b, customTesters, strictCheck) {
10929
+ function equals(a3, b2, customTesters, strictCheck) {
10945
10930
  customTesters = customTesters || [];
10946
- return eq(a3, b, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
10931
+ return eq(a3, b2, [], [], customTesters, strictCheck ? hasKey : hasDefinedKey);
10947
10932
  }
10948
10933
  var functionToString = Function.prototype.toString;
10949
10934
  function isAsymmetric(obj) {
10950
10935
  return !!obj && typeof obj === "object" && "asymmetricMatch" in obj && isA("Function", obj.asymmetricMatch);
10951
10936
  }
10952
- function asymmetricMatch(a3, b) {
10937
+ function asymmetricMatch(a3, b2) {
10953
10938
  const asymmetricA = isAsymmetric(a3);
10954
- const asymmetricB = isAsymmetric(b);
10939
+ const asymmetricB = isAsymmetric(b2);
10955
10940
  if (asymmetricA && asymmetricB) {
10956
10941
  return void 0;
10957
10942
  }
10958
10943
  if (asymmetricA) {
10959
- return a3.asymmetricMatch(b);
10944
+ return a3.asymmetricMatch(b2);
10960
10945
  }
10961
10946
  if (asymmetricB) {
10962
- return b.asymmetricMatch(a3);
10947
+ return b2.asymmetricMatch(a3);
10963
10948
  }
10964
10949
  }
10965
- function eq(a3, b, aStack, bStack, customTesters, hasKey2) {
10950
+ function eq(a3, b2, aStack, bStack, customTesters, hasKey2) {
10966
10951
  let result = true;
10967
- const asymmetricResult = asymmetricMatch(a3, b);
10952
+ const asymmetricResult = asymmetricMatch(a3, b2);
10968
10953
  if (asymmetricResult !== void 0) {
10969
10954
  return asymmetricResult;
10970
10955
  }
10971
10956
  const testerContext = { equals };
10972
10957
  for (let i = 0; i < customTesters.length; i++) {
10973
- const customTesterResult = customTesters[i].call(testerContext, a3, b, customTesters);
10958
+ const customTesterResult = customTesters[i].call(testerContext, a3, b2, customTesters);
10974
10959
  if (customTesterResult !== void 0) {
10975
10960
  return customTesterResult;
10976
10961
  }
10977
10962
  }
10978
- if (typeof URL === "function" && a3 instanceof URL && b instanceof URL) {
10979
- return a3.href === b.href;
10963
+ if (typeof URL === "function" && a3 instanceof URL && b2 instanceof URL) {
10964
+ return a3.href === b2.href;
10980
10965
  }
10981
- if (Object.is(a3, b)) {
10966
+ if (Object.is(a3, b2)) {
10982
10967
  return true;
10983
10968
  }
10984
- if (a3 === null || b === null) {
10985
- return a3 === b;
10969
+ if (a3 === null || b2 === null) {
10970
+ return a3 === b2;
10986
10971
  }
10987
10972
  const className = Object.prototype.toString.call(a3);
10988
- if (className !== Object.prototype.toString.call(b)) {
10973
+ if (className !== Object.prototype.toString.call(b2)) {
10989
10974
  return false;
10990
10975
  }
10991
10976
  switch (className) {
10992
10977
  case "[object Boolean]":
10993
10978
  case "[object String]":
10994
10979
  case "[object Number]":
10995
- if (typeof a3 !== typeof b) {
10980
+ if (typeof a3 !== typeof b2) {
10996
10981
  return false;
10997
- } else if (typeof a3 !== "object" && typeof b !== "object") {
10998
- return Object.is(a3, b);
10982
+ } else if (typeof a3 !== "object" && typeof b2 !== "object") {
10983
+ return Object.is(a3, b2);
10999
10984
  } else {
11000
- return Object.is(a3.valueOf(), b.valueOf());
10985
+ return Object.is(a3.valueOf(), b2.valueOf());
11001
10986
  }
11002
10987
  case "[object Date]": {
11003
10988
  const numA = +a3;
11004
- const numB = +b;
10989
+ const numB = +b2;
11005
10990
  return numA === numB || Number.isNaN(numA) && Number.isNaN(numB);
11006
10991
  }
11007
10992
  case "[object RegExp]":
11008
- return a3.source === b.source && a3.flags === b.flags;
10993
+ return a3.source === b2.source && a3.flags === b2.flags;
11009
10994
  case "[object Temporal.Instant]":
11010
10995
  case "[object Temporal.ZonedDateTime]":
11011
10996
  case "[object Temporal.PlainDateTime]":
@@ -11013,32 +10998,32 @@ function eq(a3, b, aStack, bStack, customTesters, hasKey2) {
11013
10998
  case "[object Temporal.PlainTime]":
11014
10999
  case "[object Temporal.PlainYearMonth]":
11015
11000
  case "[object Temporal.PlainMonthDay]":
11016
- return a3.equals(b);
11001
+ return a3.equals(b2);
11017
11002
  case "[object Temporal.Duration]":
11018
- return a3.toString() === b.toString();
11003
+ return a3.toString() === b2.toString();
11019
11004
  }
11020
- if (typeof a3 !== "object" || typeof b !== "object") {
11005
+ if (typeof a3 !== "object" || typeof b2 !== "object") {
11021
11006
  return false;
11022
11007
  }
11023
- if (isDomNode(a3) && isDomNode(b)) {
11024
- return a3.isEqualNode(b);
11008
+ if (isDomNode(a3) && isDomNode(b2)) {
11009
+ return a3.isEqualNode(b2);
11025
11010
  }
11026
11011
  let length = aStack.length;
11027
11012
  while (length--) {
11028
11013
  if (aStack[length] === a3) {
11029
- return bStack[length] === b;
11030
- } else if (bStack[length] === b) {
11014
+ return bStack[length] === b2;
11015
+ } else if (bStack[length] === b2) {
11031
11016
  return false;
11032
11017
  }
11033
11018
  }
11034
11019
  aStack.push(a3);
11035
- bStack.push(b);
11036
- if (className === "[object Array]" && a3.length !== b.length) {
11020
+ bStack.push(b2);
11021
+ if (className === "[object Array]" && a3.length !== b2.length) {
11037
11022
  return false;
11038
11023
  }
11039
- if (a3 instanceof Error && b instanceof Error) {
11024
+ if (a3 instanceof Error && b2 instanceof Error) {
11040
11025
  try {
11041
- return isErrorEqual(a3, b, aStack, bStack, customTesters, hasKey2);
11026
+ return isErrorEqual(a3, b2, aStack, bStack, customTesters, hasKey2);
11042
11027
  } finally {
11043
11028
  aStack.pop();
11044
11029
  bStack.pop();
@@ -11047,12 +11032,12 @@ function eq(a3, b, aStack, bStack, customTesters, hasKey2) {
11047
11032
  const aKeys = keys(a3, hasKey2);
11048
11033
  let key;
11049
11034
  let size = aKeys.length;
11050
- if (keys(b, hasKey2).length !== size) {
11035
+ if (keys(b2, hasKey2).length !== size) {
11051
11036
  return false;
11052
11037
  }
11053
11038
  while (size--) {
11054
11039
  key = aKeys[size];
11055
- result = hasKey2(b, key) && eq(a3[key], b[key], aStack, bStack, customTesters, hasKey2);
11040
+ result = hasKey2(b2, key) && eq(a3[key], b2[key], aStack, bStack, customTesters, hasKey2);
11056
11041
  if (!result) {
11057
11042
  return false;
11058
11043
  }
@@ -11061,15 +11046,15 @@ function eq(a3, b, aStack, bStack, customTesters, hasKey2) {
11061
11046
  bStack.pop();
11062
11047
  return result;
11063
11048
  }
11064
- function isErrorEqual(a3, b, aStack, bStack, customTesters, hasKey2) {
11065
- let result = Object.getPrototypeOf(a3) === Object.getPrototypeOf(b) && a3.name === b.name && a3.message === b.message;
11066
- if (typeof b.cause !== "undefined") {
11067
- result && (result = eq(a3.cause, b.cause, aStack, bStack, customTesters, hasKey2));
11049
+ function isErrorEqual(a3, b2, aStack, bStack, customTesters, hasKey2) {
11050
+ let result = Object.getPrototypeOf(a3) === Object.getPrototypeOf(b2) && a3.name === b2.name && a3.message === b2.message;
11051
+ if (typeof b2.cause !== "undefined") {
11052
+ result && (result = eq(a3.cause, b2.cause, aStack, bStack, customTesters, hasKey2));
11068
11053
  }
11069
- if (a3 instanceof AggregateError && b instanceof AggregateError) {
11070
- result && (result = eq(a3.errors, b.errors, aStack, bStack, customTesters, hasKey2));
11054
+ if (a3 instanceof AggregateError && b2 instanceof AggregateError) {
11055
+ result && (result = eq(a3.errors, b2.errors, aStack, bStack, customTesters, hasKey2));
11071
11056
  }
11072
- result && (result = eq({ ...a3 }, { ...b }, aStack, bStack, customTesters, hasKey2));
11057
+ result && (result = eq({ ...a3 }, { ...b2 }, aStack, bStack, customTesters, hasKey2));
11073
11058
  return result;
11074
11059
  }
11075
11060
  function keys(obj, hasKey2) {
@@ -11123,34 +11108,34 @@ var IteratorSymbol = Symbol.iterator;
11123
11108
  function hasIterator(object2) {
11124
11109
  return !!(object2 != null && object2[IteratorSymbol]);
11125
11110
  }
11126
- function iterableEquality(a3, b, customTesters = [], aStack = [], bStack = []) {
11127
- if (typeof a3 !== "object" || typeof b !== "object" || Array.isArray(a3) || Array.isArray(b) || !hasIterator(a3) || !hasIterator(b)) {
11111
+ function iterableEquality(a3, b2, customTesters = [], aStack = [], bStack = []) {
11112
+ if (typeof a3 !== "object" || typeof b2 !== "object" || Array.isArray(a3) || Array.isArray(b2) || !hasIterator(a3) || !hasIterator(b2)) {
11128
11113
  return void 0;
11129
11114
  }
11130
- if (a3.constructor !== b.constructor) {
11115
+ if (a3.constructor !== b2.constructor) {
11131
11116
  return false;
11132
11117
  }
11133
11118
  let length = aStack.length;
11134
11119
  while (length--) {
11135
11120
  if (aStack[length] === a3) {
11136
- return bStack[length] === b;
11121
+ return bStack[length] === b2;
11137
11122
  }
11138
11123
  }
11139
11124
  aStack.push(a3);
11140
- bStack.push(b);
11125
+ bStack.push(b2);
11141
11126
  const filteredCustomTesters = [...customTesters.filter((t) => t !== iterableEquality), iterableEqualityWithStack];
11142
- function iterableEqualityWithStack(a4, b2) {
11143
- return iterableEquality(a4, b2, [...customTesters], [...aStack], [...bStack]);
11127
+ function iterableEqualityWithStack(a4, b3) {
11128
+ return iterableEquality(a4, b3, [...customTesters], [...aStack], [...bStack]);
11144
11129
  }
11145
11130
  if (a3.size !== void 0) {
11146
- if (a3.size !== b.size) {
11131
+ if (a3.size !== b2.size) {
11147
11132
  return false;
11148
11133
  } else if (isA("Set", a3) || isImmutableUnorderedSet(a3)) {
11149
11134
  let allFound = true;
11150
11135
  for (const aValue of a3) {
11151
- if (!b.has(aValue)) {
11136
+ if (!b2.has(aValue)) {
11152
11137
  let has = false;
11153
- for (const bValue of b) {
11138
+ for (const bValue of b2) {
11154
11139
  const isEqual = equals(aValue, bValue, filteredCustomTesters);
11155
11140
  if (isEqual === true) {
11156
11141
  has = true;
@@ -11168,9 +11153,9 @@ function iterableEquality(a3, b, customTesters = [], aStack = [], bStack = []) {
11168
11153
  } else if (isA("Map", a3) || isImmutableUnorderedKeyed(a3)) {
11169
11154
  let allFound = true;
11170
11155
  for (const aEntry of a3) {
11171
- if (!b.has(aEntry[0]) || !equals(aEntry[1], b.get(aEntry[0]), filteredCustomTesters)) {
11156
+ if (!b2.has(aEntry[0]) || !equals(aEntry[1], b2.get(aEntry[0]), filteredCustomTesters)) {
11172
11157
  let has = false;
11173
- for (const bEntry of b) {
11158
+ for (const bEntry of b2) {
11174
11159
  const matchedKey = equals(aEntry[0], bEntry[0], filteredCustomTesters);
11175
11160
  let matchedValue = false;
11176
11161
  if (matchedKey === true) {
@@ -11191,7 +11176,7 @@ function iterableEquality(a3, b, customTesters = [], aStack = [], bStack = []) {
11191
11176
  return allFound;
11192
11177
  }
11193
11178
  }
11194
- const bIterator = b[IteratorSymbol]();
11179
+ const bIterator = b2[IteratorSymbol]();
11195
11180
  for (const aValue of a3) {
11196
11181
  const nextB = bIterator.next();
11197
11182
  if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters)) {
@@ -11203,7 +11188,7 @@ function iterableEquality(a3, b, customTesters = [], aStack = [], bStack = []) {
11203
11188
  }
11204
11189
  if (!isImmutableList(a3) && !isImmutableOrderedKeyed(a3) && !isImmutableOrderedSet(a3) && !isImmutableRecord(a3)) {
11205
11190
  const aEntries = Object.entries(a3);
11206
- const bEntries = Object.entries(b);
11191
+ const bEntries = Object.entries(b2);
11207
11192
  if (!equals(aEntries, bEntries, filteredCustomTesters)) {
11208
11193
  return false;
11209
11194
  }
@@ -11242,22 +11227,22 @@ function subsetEquality(object2, subset, customTesters = []) {
11242
11227
  };
11243
11228
  return subsetEqualityWithContext()(object2, subset);
11244
11229
  }
11245
- function typeEquality(a3, b) {
11246
- if (a3 == null || b == null || a3.constructor === b.constructor) {
11230
+ function typeEquality(a3, b2) {
11231
+ if (a3 == null || b2 == null || a3.constructor === b2.constructor) {
11247
11232
  return void 0;
11248
11233
  }
11249
11234
  return false;
11250
11235
  }
11251
- function arrayBufferEquality(a3, b) {
11236
+ function arrayBufferEquality(a3, b2) {
11252
11237
  let dataViewA = a3;
11253
- let dataViewB = b;
11254
- if (!(a3 instanceof DataView && b instanceof DataView)) {
11255
- if (!(a3 instanceof ArrayBuffer) || !(b instanceof ArrayBuffer)) {
11238
+ let dataViewB = b2;
11239
+ if (!(a3 instanceof DataView && b2 instanceof DataView)) {
11240
+ if (!(a3 instanceof ArrayBuffer) || !(b2 instanceof ArrayBuffer)) {
11256
11241
  return void 0;
11257
11242
  }
11258
11243
  try {
11259
11244
  dataViewA = new DataView(a3);
11260
- dataViewB = new DataView(b);
11245
+ dataViewB = new DataView(b2);
11261
11246
  } catch {
11262
11247
  return void 0;
11263
11248
  }
@@ -11272,14 +11257,14 @@ function arrayBufferEquality(a3, b) {
11272
11257
  }
11273
11258
  return true;
11274
11259
  }
11275
- function sparseArrayEquality(a3, b, customTesters = []) {
11276
- if (!Array.isArray(a3) || !Array.isArray(b)) {
11260
+ function sparseArrayEquality(a3, b2, customTesters = []) {
11261
+ if (!Array.isArray(a3) || !Array.isArray(b2)) {
11277
11262
  return void 0;
11278
11263
  }
11279
11264
  const aKeys = Object.keys(a3);
11280
- const bKeys = Object.keys(b);
11265
+ const bKeys = Object.keys(b2);
11281
11266
  const filteredCustomTesters = customTesters.filter((t) => t !== sparseArrayEquality);
11282
- return equals(a3, b, filteredCustomTesters, true) && equals(aKeys, bKeys);
11267
+ return equals(a3, b2, filteredCustomTesters, true) && equals(aKeys, bKeys);
11283
11268
  }
11284
11269
  function generateToBeMessage(deepEqualityName, expected = "#{this}", actual = "#{exp}") {
11285
11270
  const toBeMessage = `expected ${expected} to be ${actual} // Object.is equality`;
@@ -11971,7 +11956,7 @@ var JestChaiExpect = (chai2, utils) => {
11971
11956
  return this.assert(pass, `expected #{this} to be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff}`, `expected #{this} to not be close to #{exp}, received difference is ${receivedDiff}, but expected ${expectedDiff}`, received, expected, false);
11972
11957
  });
11973
11958
  function assertIsMock(assertion) {
11974
- if (!isMockFunction2(assertion._obj)) {
11959
+ if (!isMockFunction(assertion._obj)) {
11975
11960
  throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`);
11976
11961
  }
11977
11962
  }
@@ -12011,8 +11996,8 @@ var JestChaiExpect = (chai2, utils) => {
12011
11996
  throw new AssertionError2(msg);
12012
11997
  }
12013
11998
  });
12014
- function equalsArgumentArray(a3, b) {
12015
- return a3.length === b.length && a3.every((aItem, i) => equals(aItem, b[i], [...customTesters, iterableEquality]));
11999
+ function equalsArgumentArray(a3, b2) {
12000
+ return a3.length === b2.length && a3.every((aItem, i) => equals(aItem, b2[i], [...customTesters, iterableEquality]));
12016
12001
  }
12017
12002
  def(["toHaveBeenCalledWith", "toBeCalledWith"], function(...args) {
12018
12003
  const spy = getSpy(this);
@@ -12073,14 +12058,14 @@ var JestChaiExpect = (chai2, utils) => {
12073
12058
  }
12074
12059
  def(["toHaveBeenCalledBefore"], function(resultSpy, failIfNoFirstInvocation = true) {
12075
12060
  const expectSpy = getSpy(this);
12076
- if (!isMockFunction2(resultSpy)) {
12061
+ if (!isMockFunction(resultSpy)) {
12077
12062
  throw new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);
12078
12063
  }
12079
12064
  this.assert(isSpyCalledBeforeAnotherSpy(expectSpy, resultSpy, failIfNoFirstInvocation), `expected "${expectSpy.getMockName()}" to have been called before "${resultSpy.getMockName()}"`, `expected "${expectSpy.getMockName()}" to not have been called before "${resultSpy.getMockName()}"`, resultSpy, expectSpy);
12080
12065
  });
12081
12066
  def(["toHaveBeenCalledAfter"], function(resultSpy, failIfNoFirstInvocation = true) {
12082
12067
  const expectSpy = getSpy(this);
12083
- if (!isMockFunction2(resultSpy)) {
12068
+ if (!isMockFunction(resultSpy)) {
12084
12069
  throw new TypeError(`${utils.inspect(resultSpy)} is not a spy or a call to a spy`);
12085
12070
  }
12086
12071
  this.assert(isSpyCalledBeforeAnotherSpy(resultSpy, expectSpy, failIfNoFirstInvocation), `expected "${expectSpy.getMockName()}" to have been called after "${resultSpy.getMockName()}"`, `expected "${expectSpy.getMockName()}" to not have been called after "${resultSpy.getMockName()}"`, resultSpy, expectSpy);
@@ -12314,15 +12299,15 @@ var JestChaiExpect = (chai2, utils) => {
12314
12299
  });
12315
12300
  };
12316
12301
  function ordinalOf(i) {
12317
- const j = i % 10;
12318
- const k = i % 100;
12319
- if (j === 1 && k !== 11) {
12302
+ const j2 = i % 10;
12303
+ const k2 = i % 100;
12304
+ if (j2 === 1 && k2 !== 11) {
12320
12305
  return `${i}st`;
12321
12306
  }
12322
- if (j === 2 && k !== 12) {
12307
+ if (j2 === 2 && k2 !== 12) {
12323
12308
  return `${i}nd`;
12324
12309
  }
12325
- if (j === 3 && k !== 13) {
12310
+ if (j2 === 3 && k2 !== 13) {
12326
12311
  return `${i}rd`;
12327
12312
  }
12328
12313
  return `${i}th`;
@@ -12480,7 +12465,7 @@ var JestExtend = (chai2, utils) => {
12480
12465
  });
12481
12466
  };
12482
12467
 
12483
- // ../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js
12468
+ // ../../../../node_modules/.pnpm/@vitest+utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js
12484
12469
  var comma = ",".charCodeAt(0);
12485
12470
  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
12486
12471
  var intToChar = new Uint8Array(64);
@@ -12694,85 +12679,73 @@ function parseSingleV8Stack(raw) {
12694
12679
  };
12695
12680
  }
12696
12681
 
12697
- // ../../node_modules/.pnpm/strip-literal@3.0.0/node_modules/strip-literal/dist/index.mjs
12682
+ // ../../../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
12698
12683
  var import_js_tokens = __toESM(require_js_tokens(), 1);
12699
- function stripLiteralJsTokens(code, options) {
12700
- const FILL = (options == null ? void 0 : options.fillChar) ?? " ";
12701
- const FILL_COMMENT = " ";
12702
- let result = "";
12703
- const filter = (options == null ? void 0 : options.filter) ?? (() => true);
12704
- const tokens = [];
12705
- for (const token of (0, import_js_tokens.default)(code, { jsx: false })) {
12706
- tokens.push(token);
12707
- if (token.type === "SingleLineComment") {
12708
- result += FILL_COMMENT.repeat(token.value.length);
12709
- continue;
12710
- }
12711
- if (token.type === "MultiLineComment") {
12712
- result += token.value.replace(/[^\n]/g, FILL_COMMENT);
12713
- continue;
12684
+ var FILL_COMMENT = " ";
12685
+ function stripLiteralFromToken(token, fillChar, filter) {
12686
+ if (token.type === "SingleLineComment") {
12687
+ return FILL_COMMENT.repeat(token.value.length);
12688
+ }
12689
+ if (token.type === "MultiLineComment") {
12690
+ return token.value.replace(/[^\n]/g, FILL_COMMENT);
12691
+ }
12692
+ if (token.type === "StringLiteral") {
12693
+ if (!token.closed) {
12694
+ return token.value;
12714
12695
  }
12715
- if (token.type === "StringLiteral") {
12716
- if (!token.closed) {
12717
- result += token.value;
12718
- continue;
12719
- }
12720
- const body = token.value.slice(1, -1);
12721
- if (filter(body)) {
12722
- result += token.value[0] + FILL.repeat(body.length) + token.value[token.value.length - 1];
12723
- continue;
12724
- }
12696
+ const body = token.value.slice(1, -1);
12697
+ if (filter(body)) {
12698
+ return token.value[0] + fillChar.repeat(body.length) + token.value[token.value.length - 1];
12725
12699
  }
12726
- if (token.type === "NoSubstitutionTemplate") {
12727
- const body = token.value.slice(1, -1);
12728
- if (filter(body)) {
12729
- result += `\`${body.replace(/[^\n]/g, FILL)}\``;
12730
- continue;
12731
- }
12700
+ }
12701
+ if (token.type === "NoSubstitutionTemplate") {
12702
+ const body = token.value.slice(1, -1);
12703
+ if (filter(body)) {
12704
+ return `\`${body.replace(/[^\n]/g, fillChar)}\``;
12732
12705
  }
12733
- if (token.type === "RegularExpressionLiteral") {
12734
- const body = token.value;
12735
- if (filter(body)) {
12736
- result += body.replace(/\/(.*)\/(\w?)$/g, (_, $1, $2) => `/${FILL.repeat($1.length)}/${$2}`);
12737
- continue;
12738
- }
12706
+ }
12707
+ if (token.type === "RegularExpressionLiteral") {
12708
+ const body = token.value;
12709
+ if (filter(body)) {
12710
+ return body.replace(/\/(.*)\/(\w?)$/g, (_, $1, $2) => `/${fillChar.repeat($1.length)}/${$2}`);
12739
12711
  }
12740
- if (token.type === "TemplateHead") {
12741
- const body = token.value.slice(1, -2);
12742
- if (filter(body)) {
12743
- result += `\`${body.replace(/[^\n]/g, FILL)}\${`;
12744
- continue;
12745
- }
12712
+ }
12713
+ if (token.type === "TemplateHead") {
12714
+ const body = token.value.slice(1, -2);
12715
+ if (filter(body)) {
12716
+ return `\`${body.replace(/[^\n]/g, fillChar)}\${`;
12746
12717
  }
12747
- if (token.type === "TemplateTail") {
12748
- const body = token.value.slice(0, -2);
12749
- if (filter(body)) {
12750
- result += `}${body.replace(/[^\n]/g, FILL)}\``;
12751
- continue;
12752
- }
12718
+ }
12719
+ if (token.type === "TemplateTail") {
12720
+ const body = token.value.slice(0, -2);
12721
+ if (filter(body)) {
12722
+ return `}${body.replace(/[^\n]/g, fillChar)}\``;
12753
12723
  }
12754
- if (token.type === "TemplateMiddle") {
12755
- const body = token.value.slice(1, -2);
12756
- if (filter(body)) {
12757
- result += `}${body.replace(/[^\n]/g, FILL)}\${`;
12758
- continue;
12759
- }
12724
+ }
12725
+ if (token.type === "TemplateMiddle") {
12726
+ const body = token.value.slice(1, -2);
12727
+ if (filter(body)) {
12728
+ return `}${body.replace(/[^\n]/g, fillChar)}\${`;
12760
12729
  }
12761
- result += token.value;
12762
12730
  }
12731
+ return token.value;
12732
+ }
12733
+ function optionsWithDefaults(options) {
12763
12734
  return {
12764
- result,
12765
- tokens
12735
+ fillChar: (options == null ? void 0 : options.fillChar) ?? " ",
12736
+ filter: (options == null ? void 0 : options.filter) ?? (() => true)
12766
12737
  };
12767
12738
  }
12768
12739
  function stripLiteral(code, options) {
12769
- return stripLiteralDetailed(code, options).result;
12770
- }
12771
- function stripLiteralDetailed(code, options) {
12772
- return stripLiteralJsTokens(code, options);
12740
+ let result = "";
12741
+ const _options = optionsWithDefaults(options);
12742
+ for (const token of (0, import_js_tokens.default)(code, { jsx: false })) {
12743
+ result += stripLiteralFromToken(token, _options.fillChar, _options.filter);
12744
+ }
12745
+ return result;
12773
12746
  }
12774
12747
 
12775
- // ../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
12748
+ // ../../../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
12776
12749
  var _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
12777
12750
  function normalizeWindowsPath2(input = "") {
12778
12751
  if (!input) {
@@ -12870,7 +12843,7 @@ var isAbsolute2 = function(p3) {
12870
12843
  return _IS_ABSOLUTE_RE2.test(p3);
12871
12844
  };
12872
12845
 
12873
- // ../../node_modules/.pnpm/@vitest+runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js
12846
+ // ../../../../node_modules/.pnpm/@vitest+runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js
12874
12847
  var PendingError = class extends Error {
12875
12848
  code = "VITEST_PENDING";
12876
12849
  taskId;
@@ -13198,7 +13171,7 @@ var describe = suite;
13198
13171
  var runner;
13199
13172
  var defaultSuite;
13200
13173
  var currentTestFilepath;
13201
- function assert3(condition, message) {
13174
+ function assert2(condition, message) {
13202
13175
  if (!condition) {
13203
13176
  throw new Error(`Vitest failed to find ${message}. This is a bug in Vitest. Please, open an issue with reproduction.`);
13204
13177
  }
@@ -13207,12 +13180,12 @@ function getTestFilepath() {
13207
13180
  return currentTestFilepath;
13208
13181
  }
13209
13182
  function getRunner() {
13210
- assert3(runner, "the runner");
13183
+ assert2(runner, "the runner");
13211
13184
  return runner;
13212
13185
  }
13213
13186
  function getCurrentSuite() {
13214
13187
  const currentSuite = collectorContext.currentSuite || defaultSuite;
13215
- assert3(currentSuite, "the current suite");
13188
+ assert2(currentSuite, "the current suite");
13216
13189
  return currentSuite;
13217
13190
  }
13218
13191
  function createSuiteHooks() {
@@ -13611,8 +13584,8 @@ function formatTemplateString(cases, args) {
13611
13584
  const res = [];
13612
13585
  for (let i = 0; i < Math.floor(args.length / header.length); i++) {
13613
13586
  const oneCase = {};
13614
- for (let j = 0; j < header.length; j++) {
13615
- oneCase[header[j]] = args[i * header.length + j];
13587
+ for (let j2 = 0; j2 < header.length; j2++) {
13588
+ oneCase[header[j2]] = args[i * header.length + j2];
13616
13589
  }
13617
13590
  res.push(oneCase);
13618
13591
  }
@@ -13883,25 +13856,25 @@ function encodeUint8Array(bytes) {
13883
13856
  for (let i = 0; i < len; i += 3) {
13884
13857
  if (len === i + 1) {
13885
13858
  const a3 = (bytes[i] & 252) >> 2;
13886
- const b = (bytes[i] & 3) << 4;
13859
+ const b2 = (bytes[i] & 3) << 4;
13887
13860
  base64 += table[a3];
13888
- base64 += table[b];
13861
+ base64 += table[b2];
13889
13862
  base64 += "==";
13890
13863
  } else if (len === i + 2) {
13891
13864
  const a3 = (bytes[i] & 252) >> 2;
13892
- const b = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
13865
+ const b2 = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
13893
13866
  const c = (bytes[i + 1] & 15) << 2;
13894
13867
  base64 += table[a3];
13895
- base64 += table[b];
13868
+ base64 += table[b2];
13896
13869
  base64 += table[c];
13897
13870
  base64 += "=";
13898
13871
  } else {
13899
13872
  const a3 = (bytes[i] & 252) >> 2;
13900
- const b = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
13873
+ const b2 = (bytes[i] & 3) << 4 | (bytes[i + 1] & 240) >> 4;
13901
13874
  const c = (bytes[i + 1] & 15) << 2 | (bytes[i + 2] & 192) >> 6;
13902
13875
  const d = bytes[i + 2] & 63;
13903
13876
  base64 += table[a3];
13904
- base64 += table[b];
13877
+ base64 += table[b2];
13905
13878
  base64 += table[c];
13906
13879
  base64 += table[d];
13907
13880
  }
@@ -13948,7 +13921,7 @@ function createTestHook(name, handler) {
13948
13921
  };
13949
13922
  }
13950
13923
 
13951
- // ../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.14.12_jsdom@26.1.0/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
13924
+ // ../../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js
13952
13925
  var NAME_WORKER_STATE = "__vitest_worker__";
13953
13926
  function getWorkerState() {
13954
13927
  const workerState = globalThis[NAME_WORKER_STATE];
@@ -14000,13 +13973,13 @@ async function waitForImportsToResolve() {
14000
13973
  await waitForImportsToResolve();
14001
13974
  }
14002
13975
 
14003
- // ../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.14.12_jsdom@26.1.0/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
13976
+ // ../../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js
14004
13977
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
14005
- function getDefaultExportFromCjs3(x) {
14006
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
13978
+ function getDefaultExportFromCjs3(x2) {
13979
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
14007
13980
  }
14008
13981
 
14009
- // ../../node_modules/.pnpm/@vitest+snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js
13982
+ // ../../../../node_modules/.pnpm/@vitest+snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js
14010
13983
  var comma3 = ",".charCodeAt(0);
14011
13984
  var chars3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
14012
13985
  var intToChar3 = new Uint8Array(64);
@@ -14102,8 +14075,8 @@ function decode(mappings) {
14102
14075
  function sort(line) {
14103
14076
  line.sort(sortComparator$1);
14104
14077
  }
14105
- function sortComparator$1(a3, b) {
14106
- return a3[0] - b[0];
14078
+ function sortComparator$1(a3, b2) {
14079
+ return a3[0] - b2[0];
14107
14080
  }
14108
14081
  var schemeRegex = /^[\w+.-]+:\/\//;
14109
14082
  var urlRegex = /^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;
@@ -14311,8 +14284,8 @@ function nextUnsortedSegmentLine(mappings, start) {
14311
14284
  return mappings.length;
14312
14285
  }
14313
14286
  function isSorted(line) {
14314
- for (let j = 1; j < line.length; j++) {
14315
- if (line[j][COLUMN] < line[j - 1][COLUMN]) {
14287
+ for (let j2 = 1; j2 < line.length; j2++) {
14288
+ if (line[j2][COLUMN] < line[j2 - 1][COLUMN]) {
14316
14289
  return false;
14317
14290
  }
14318
14291
  }
@@ -14323,8 +14296,8 @@ function sortSegments(line, owned) {
14323
14296
  line = line.slice();
14324
14297
  return line.sort(sortComparator);
14325
14298
  }
14326
- function sortComparator(a3, b) {
14327
- return a3[COLUMN] - b[COLUMN];
14299
+ function sortComparator(a3, b2) {
14300
+ return a3[COLUMN] - b2[COLUMN];
14328
14301
  }
14329
14302
  var found = false;
14330
14303
  function binarySearch(haystack, needle, low, high) {
@@ -14457,8 +14430,8 @@ function traceSegmentInternal(segments, memo, line, column, bias) {
14457
14430
  return -1;
14458
14431
  return index2;
14459
14432
  }
14460
- function notNullish2(v) {
14461
- return v != null;
14433
+ function notNullish2(v2) {
14434
+ return v2 != null;
14462
14435
  }
14463
14436
  function isPrimitive3(value) {
14464
14437
  return value === null || typeof value !== "function" && typeof value !== "object";
@@ -14673,7 +14646,7 @@ function parseErrorStacktrace(e, options = {}) {
14673
14646
  }
14674
14647
  }
14675
14648
  if (options.frameFilter) {
14676
- stackFrames = stackFrames.filter((f3) => options.frameFilter(e, f3) !== false);
14649
+ stackFrames = stackFrames.filter((f4) => options.frameFilter(e, f4) !== false);
14677
14650
  }
14678
14651
  e.stacks = stackFrames;
14679
14652
  return stackFrames;
@@ -14693,8 +14666,8 @@ try {
14693
14666
  } catch (notNode) {
14694
14667
  }
14695
14668
  var { AsymmetricMatcher: AsymmetricMatcher$1, DOMCollection: DOMCollection$1, DOMElement: DOMElement$1, Immutable: Immutable$1, ReactElement: ReactElement$1, ReactTestComponent: ReactTestComponent$1 } = plugins;
14696
- function getDefaultExportFromCjs4(x) {
14697
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
14669
+ function getDefaultExportFromCjs4(x2) {
14670
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
14698
14671
  }
14699
14672
  var jsTokens_12;
14700
14673
  var hasRequiredJsTokens2;
@@ -15143,7 +15116,7 @@ var reservedWords2 = {
15143
15116
  };
15144
15117
  new Set(reservedWords2.keyword);
15145
15118
  new Set(reservedWords2.strict);
15146
- var f2 = {
15119
+ var f3 = {
15147
15120
  reset: [0, 0],
15148
15121
  bold: [1, 22, "\x1B[22m\x1B[1m"],
15149
15122
  dim: [2, 22, "\x1B[22m\x1B[2m"],
@@ -15186,7 +15159,7 @@ var f2 = {
15186
15159
  bgCyanBright: [106, 49],
15187
15160
  bgWhiteBright: [107, 49]
15188
15161
  };
15189
- var h2 = Object.entries(f2);
15162
+ var h3 = Object.entries(f3);
15190
15163
  function a2(n2) {
15191
15164
  return String(n2);
15192
15165
  }
@@ -15198,27 +15171,27 @@ function C2(n2 = false) {
15198
15171
  }
15199
15172
  function p2(n2 = false) {
15200
15173
  let e = C2(n2), i = (r2, t, c, o) => {
15201
- let l = "", s2 = 0;
15174
+ let l2 = "", s2 = 0;
15202
15175
  do
15203
- l += r2.substring(s2, o) + c, s2 = o + t.length, o = r2.indexOf(t, s2);
15176
+ l2 += r2.substring(s2, o) + c, s2 = o + t.length, o = r2.indexOf(t, s2);
15204
15177
  while (~o);
15205
- return l + r2.substring(s2);
15178
+ return l2 + r2.substring(s2);
15206
15179
  }, g = (r2, t, c = r2) => {
15207
- let o = (l) => {
15208
- let s2 = String(l), b = s2.indexOf(t, r2.length);
15209
- return ~b ? r2 + i(s2, t, c, b) + t : r2 + s2 + t;
15180
+ let o = (l2) => {
15181
+ let s2 = String(l2), b2 = s2.indexOf(t, r2.length);
15182
+ return ~b2 ? r2 + i(s2, t, c, b2) + t : r2 + s2 + t;
15210
15183
  };
15211
15184
  return o.open = r2, o.close = t, o;
15212
- }, u2 = {
15185
+ }, u3 = {
15213
15186
  isColorSupported: e
15214
15187
  }, d = (r2) => `\x1B[${r2}m`;
15215
- for (let [r2, t] of h2)
15216
- u2[r2] = e ? g(
15188
+ for (let [r2, t] of h3)
15189
+ u3[r2] = e ? g(
15217
15190
  d(t[0]),
15218
15191
  d(t[1]),
15219
15192
  t[2]
15220
15193
  ) : a2;
15221
- return u2;
15194
+ return u3;
15222
15195
  }
15223
15196
  p2();
15224
15197
  var lineSplitRE = /\r?\n/;
@@ -15404,7 +15377,7 @@ function requireNaturalCompare() {
15404
15377
  if (hasRequiredNaturalCompare)
15405
15378
  return naturalCompare$1.exports;
15406
15379
  hasRequiredNaturalCompare = 1;
15407
- var naturalCompare2 = function(a3, b) {
15380
+ var naturalCompare2 = function(a3, b2) {
15408
15381
  var i, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
15409
15382
  function getCode(str, pos, code) {
15410
15383
  if (code) {
@@ -15415,13 +15388,13 @@ function requireNaturalCompare() {
15415
15388
  code = alphabet && alphabet.indexOf(str.charAt(pos));
15416
15389
  return code > -1 ? code + 76 : (code = str.charCodeAt(pos) || 0, code < 45 || code > 127) ? code : code < 46 ? 65 : code < 48 ? code - 1 : code < 58 ? code + 18 : code < 65 ? code - 11 : code < 91 ? code + 11 : code < 97 ? code - 37 : code < 123 ? code + 5 : code - 63;
15417
15390
  }
15418
- if ((a3 += "") != (b += ""))
15391
+ if ((a3 += "") != (b2 += ""))
15419
15392
  for (; codeB; ) {
15420
15393
  codeA = getCode(a3, posA++);
15421
- codeB = getCode(b, posB++);
15394
+ codeB = getCode(b2, posB++);
15422
15395
  if (codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66) {
15423
15396
  codeA = getCode(a3, posA, posA);
15424
- codeB = getCode(b, posB, posA = i);
15397
+ codeB = getCode(b2, posB, posA = i);
15425
15398
  posB = i;
15426
15399
  }
15427
15400
  if (codeA != codeB)
@@ -15613,14 +15586,14 @@ var CounterMap = class extends DefaultMap {
15613
15586
  return this._total;
15614
15587
  }
15615
15588
  let total = 0;
15616
- for (const x of this.values()) {
15617
- total += x;
15589
+ for (const x2 of this.values()) {
15590
+ total += x2;
15618
15591
  }
15619
15592
  return total;
15620
15593
  }
15621
15594
  };
15622
- function isSameStackPosition(x, y) {
15623
- return x.file === y.file && x.column === y.column && x.line === y.line;
15595
+ function isSameStackPosition(x2, y2) {
15596
+ return x2.file === y2.file && x2.column === y2.column && x2.line === y2.line;
15624
15597
  }
15625
15598
  var SnapshotState = class {
15626
15599
  _counters = new CounterMap();
@@ -16033,11 +16006,11 @@ var SnapshotClient = class {
16033
16006
  }
16034
16007
  };
16035
16008
 
16036
- // ../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.14.12_jsdom@26.1.0/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
16009
+ // ../../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js
16037
16010
  var RealDate = Date;
16038
16011
  var now2 = null;
16039
16012
  var MockDate = class extends RealDate {
16040
- constructor(y, m2, d, h3, M, s2, ms) {
16013
+ constructor(y2, m2, d, h4, M2, s2, ms) {
16041
16014
  super();
16042
16015
  let date;
16043
16016
  switch (arguments.length) {
@@ -16048,15 +16021,15 @@ var MockDate = class extends RealDate {
16048
16021
  date = new RealDate();
16049
16022
  break;
16050
16023
  case 1:
16051
- date = new RealDate(y);
16024
+ date = new RealDate(y2);
16052
16025
  break;
16053
16026
  default:
16054
16027
  d = typeof d === "undefined" ? 1 : d;
16055
- h3 = h3 || 0;
16056
- M = M || 0;
16028
+ h4 = h4 || 0;
16029
+ M2 = M2 || 0;
16057
16030
  s2 = s2 || 0;
16058
16031
  ms = ms || 0;
16059
- date = new RealDate(y, m2, d, h3, M, s2, ms);
16032
+ date = new RealDate(y2, m2, d, h4, M2, s2, ms);
16060
16033
  break;
16061
16034
  }
16062
16035
  Object.setPrototypeOf(date, MockDate.prototype);
@@ -16084,7 +16057,7 @@ function resetDate() {
16084
16057
  globalThis.Date = RealDate;
16085
16058
  }
16086
16059
 
16087
- // ../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.14.12_jsdom@26.1.0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
16060
+ // ../../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js
16088
16061
  var unsupported = [
16089
16062
  "matchSnapshot",
16090
16063
  "toMatchSnapshot",
@@ -16482,12 +16455,12 @@ function createExpect(test5) {
16482
16455
  const expect2 = (value, message) => {
16483
16456
  const { assertionCalls } = getState(expect2);
16484
16457
  setState({ assertionCalls: assertionCalls + 1 }, expect2);
16485
- const assert4 = expect(value, message);
16458
+ const assert3 = expect(value, message);
16486
16459
  const _test2 = test5 || getCurrentTest();
16487
16460
  if (_test2)
16488
- return assert4.withTest(_test2);
16461
+ return assert3.withTest(_test2);
16489
16462
  else
16490
- return assert4;
16463
+ return assert3;
16491
16464
  };
16492
16465
  Object.assign(expect2, expect);
16493
16466
  Object.assign(expect2, globalThis[ASYMMETRIC_MATCHERS_OBJECT]);
@@ -16514,7 +16487,7 @@ function createExpect(test5) {
16514
16487
  };
16515
16488
  expect2.poll = createExpectPoll(expect2);
16516
16489
  expect2.unreachable = (message) => {
16517
- assert2.fail(`expected${message ? ` "${message}" ` : " "}not to be reached`);
16490
+ assert.fail(`expected${message ? ` "${message}" ` : " "}not to be reached`);
16518
16491
  };
16519
16492
  function assertions(expected) {
16520
16493
  const errorGen = () => new Error(`expected number of assertions to be ${expected}, but got ${expect2.getState().assertionCalls}`);
@@ -16638,10 +16611,10 @@ function requireCalledInOrder() {
16638
16611
  }
16639
16612
  return callMap[spy.id] < spy.callCount;
16640
16613
  }
16641
- function checkAdjacentCalls(callMap, spy, index2, spies2) {
16614
+ function checkAdjacentCalls(callMap, spy, index2, spies) {
16642
16615
  var calledBeforeNext = true;
16643
- if (index2 !== spies2.length - 1) {
16644
- calledBeforeNext = spy.calledBefore(spies2[index2 + 1]);
16616
+ if (index2 !== spies.length - 1) {
16617
+ calledBeforeNext = spy.calledBefore(spies[index2 + 1]);
16645
16618
  }
16646
16619
  if (hasCallsLeft(callMap, spy) && calledBeforeNext) {
16647
16620
  callMap[spy.id] += 1;
@@ -16649,9 +16622,9 @@ function requireCalledInOrder() {
16649
16622
  }
16650
16623
  return false;
16651
16624
  }
16652
- function calledInOrder(spies2) {
16625
+ function calledInOrder(spies) {
16653
16626
  var callMap = {};
16654
- var _spies = arguments.length > 1 ? arguments : spies2;
16627
+ var _spies = arguments.length > 1 ? arguments : spies;
16655
16628
  return every2(_spies, checkAdjacentCalls.bind(null, callMap));
16656
16629
  }
16657
16630
  calledInOrder_1 = calledInOrder;
@@ -16753,15 +16726,15 @@ function requireOrderByFirstCall() {
16753
16726
  hasRequiredOrderByFirstCall = 1;
16754
16727
  var sort2 = requireArray().sort;
16755
16728
  var slice = requireArray().slice;
16756
- function comparator(a3, b) {
16729
+ function comparator(a3, b2) {
16757
16730
  var aCall = a3.getCall(0);
16758
- var bCall = b.getCall(0);
16731
+ var bCall = b2.getCall(0);
16759
16732
  var aId = aCall && aCall.callId || -1;
16760
16733
  var bId = bCall && bCall.callId || -1;
16761
16734
  return aId < bId ? -1 : 1;
16762
16735
  }
16763
- function orderByFirstCall(spies2) {
16764
- return sort2(slice(spies2), comparator);
16736
+ function orderByFirstCall(spies) {
16737
+ return sort2(slice(spies), comparator);
16765
16738
  }
16766
16739
  orderByFirstCall_1 = orderByFirstCall;
16767
16740
  return orderByFirstCall_1;
@@ -17099,11 +17072,11 @@ function requireFakeTimersSrc() {
17099
17072
  return 0;
17100
17073
  }
17101
17074
  const strings = str.split(":");
17102
- const l = strings.length;
17103
- let i = l;
17075
+ const l2 = strings.length;
17076
+ let i = l2;
17104
17077
  let ms = 0;
17105
17078
  let parsed;
17106
- if (l > 3 || !/^(\d\d:){0,2}\d\d?$/.test(str)) {
17079
+ if (l2 > 3 || !/^(\d\d:){0,2}\d\d?$/.test(str)) {
17107
17080
  throw new Error(
17108
17081
  "tick only understands numbers, 'm:s' and 'h:m:s'. Each part must be two digits"
17109
17082
  );
@@ -17113,7 +17086,7 @@ function requireFakeTimersSrc() {
17113
17086
  if (parsed >= 60) {
17114
17087
  throw new Error(`Invalid time ${str}`);
17115
17088
  }
17116
- ms += parsed * Math.pow(60, l - i - 1);
17089
+ ms += parsed * Math.pow(60, l2 - i - 1);
17117
17090
  }
17118
17091
  return ms * 1e3;
17119
17092
  }
@@ -17352,29 +17325,29 @@ ${job.error.stack.split("\n").slice(matchedLineIndex + 1).join("\n")}`;
17352
17325
  }
17353
17326
  return timer.id;
17354
17327
  }
17355
- function compareTimers(a3, b) {
17356
- if (a3.callAt < b.callAt) {
17328
+ function compareTimers(a3, b2) {
17329
+ if (a3.callAt < b2.callAt) {
17357
17330
  return -1;
17358
17331
  }
17359
- if (a3.callAt > b.callAt) {
17332
+ if (a3.callAt > b2.callAt) {
17360
17333
  return 1;
17361
17334
  }
17362
- if (a3.immediate && !b.immediate) {
17335
+ if (a3.immediate && !b2.immediate) {
17363
17336
  return -1;
17364
17337
  }
17365
- if (!a3.immediate && b.immediate) {
17338
+ if (!a3.immediate && b2.immediate) {
17366
17339
  return 1;
17367
17340
  }
17368
- if (a3.createdAt < b.createdAt) {
17341
+ if (a3.createdAt < b2.createdAt) {
17369
17342
  return -1;
17370
17343
  }
17371
- if (a3.createdAt > b.createdAt) {
17344
+ if (a3.createdAt > b2.createdAt) {
17372
17345
  return 1;
17373
17346
  }
17374
- if (a3.id < b.id) {
17347
+ if (a3.id < b2.id) {
17375
17348
  return -1;
17376
17349
  }
17377
- if (a3.id > b.id) {
17350
+ if (a3.id > b2.id) {
17378
17351
  return 1;
17379
17352
  }
17380
17353
  }
@@ -17485,10 +17458,10 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
17485
17458
  }
17486
17459
  }
17487
17460
  function uninstall(clock, config2) {
17488
- let method, i, l;
17461
+ let method, i, l2;
17489
17462
  const installedHrTime = "_hrtime";
17490
17463
  const installedNextTick = "_nextTick";
17491
- for (i = 0, l = clock.methods.length; i < l; i++) {
17464
+ for (i = 0, l2 = clock.methods.length; i < l2; i++) {
17492
17465
  method = clock.methods[i];
17493
17466
  if (method === "hrtime" && _global.process) {
17494
17467
  _global.process.hrtime = clock[installedHrTime];
@@ -17519,14 +17492,14 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
17519
17492
  }
17520
17493
  }
17521
17494
  if (clock.timersModuleMethods !== void 0) {
17522
- for (let j = 0; j < clock.timersModuleMethods.length; j++) {
17523
- const entry = clock.timersModuleMethods[j];
17495
+ for (let j2 = 0; j2 < clock.timersModuleMethods.length; j2++) {
17496
+ const entry = clock.timersModuleMethods[j2];
17524
17497
  timersModule[entry.methodName] = entry.original;
17525
17498
  }
17526
17499
  }
17527
17500
  if (clock.timersPromisesModuleMethods !== void 0) {
17528
- for (let j = 0; j < clock.timersPromisesModuleMethods.length; j++) {
17529
- const entry = clock.timersPromisesModuleMethods[j];
17501
+ for (let j2 = 0; j2 < clock.timersPromisesModuleMethods.length; j2++) {
17502
+ const entry = clock.timersPromisesModuleMethods[j2];
17530
17503
  timersPromisesModule[entry.methodName] = entry.original;
17531
17504
  }
17532
17505
  }
@@ -18031,7 +18004,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
18031
18004
  });
18032
18005
  };
18033
18006
  }
18034
- clock.reset = function reset2() {
18007
+ clock.reset = function reset() {
18035
18008
  nanos = 0;
18036
18009
  clock.timers = {};
18037
18010
  clock.jobs = [];
@@ -18102,7 +18075,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
18102
18075
  `non-existent timers and/or objects cannot be faked: '${timer}'`
18103
18076
  );
18104
18077
  }
18105
- let i, l;
18078
+ let i, l2;
18106
18079
  const clock = createClock(config2.now, config2.loopLimit);
18107
18080
  clock.shouldClearNativeTimers = config2.shouldClearNativeTimers;
18108
18081
  clock.uninstall = function() {
@@ -18153,7 +18126,7 @@ To automatically clean-up native timers, use \`shouldClearNativeTimers\`.`
18153
18126
  if (_global === globalObject && timersPromisesModule) {
18154
18127
  clock.timersPromisesModuleMethods = [];
18155
18128
  }
18156
- for (i = 0, l = clock.methods.length; i < l; i++) {
18129
+ for (i = 0, l2 = clock.methods.length; i < l2; i++) {
18157
18130
  const nameOfMethodToReplace = clock.methods[i];
18158
18131
  if (!isPresent[nameOfMethodToReplace]) {
18159
18132
  handleMissingTimer(nameOfMethodToReplace);
@@ -18782,7 +18755,7 @@ function createVitest() {
18782
18755
  return item;
18783
18756
  },
18784
18757
  isMockFunction(fn2) {
18785
- return isMockFunction2(fn2);
18758
+ return isMockFunction(fn2);
18786
18759
  },
18787
18760
  clearAllMocks() {
18788
18761
  [...mocks].reverse().forEach((spy) => spy.mockClear());
@@ -18874,7 +18847,7 @@ function getImporter(name) {
18874
18847
  return (stack == null ? void 0 : stack.file) || "";
18875
18848
  }
18876
18849
 
18877
- // ../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.14.12_jsdom@26.1.0/node_modules/vitest/dist/index.js
18850
+ // ../../../../node_modules/.pnpm/vitest@3.2.4_@types+debug@4.1.12_@types+node@20.19.27_@vitest+ui@3.2.4_jiti@2.6.1_jsdom_ad9a99fae9beb8635e1487dc560ee7c6/node_modules/vitest/dist/index.js
18878
18851
  var import_expect_type = __toESM(require_dist(), 1);
18879
18852
 
18880
18853
  // src/graphql/@generated/graphql.ts
@@ -20542,7 +20515,7 @@ describe("message-conversion", () => {
20542
20515
  * LICENSE file in the root directory of this source tree.
20543
20516
  *)
20544
20517
 
20545
- chai/chai.js:
20518
+ chai/index.js:
20546
20519
  (*!
20547
20520
  * Chai - flag utility
20548
20521
  * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>