{"version":3,"sources":["../../../../node_modules/.pnpm/expect-type@1.1.0/node_modules/expect-type/dist/branding.js","../../../../node_modules/.pnpm/expect-type@1.1.0/node_modules/expect-type/dist/messages.js","../../../../node_modules/.pnpm/expect-type@1.1.0/node_modules/expect-type/dist/overloads.js","../../../../node_modules/.pnpm/expect-type@1.1.0/node_modules/expect-type/dist/utils.js","../../../../node_modules/.pnpm/expect-type@1.1.0/node_modules/expect-type/dist/index.js","../../src/test-suite.ts","../../tests/helpers/driver-test-suite.ts","../../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js","../../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/node.js","../../../../node_modules/.pnpm/@vitest+pretty-format@2.1.8/node_modules/@vitest/pretty-format/dist/index.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/helpers.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/array.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/typedarray.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/date.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/function.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/map.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/number.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/bigint.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/regexp.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/set.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/string.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/symbol.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/promise.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/object.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/class.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/arguments.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/error.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/html.js","../../../../node_modules/.pnpm/loupe@3.1.2/node_modules/loupe/lib/index.js","../../../../node_modules/.pnpm/@vitest+utils@2.1.8/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js","../../../../node_modules/.pnpm/@vitest+utils@2.1.8/node_modules/@vitest/utils/dist/helpers.js","../../../../node_modules/.pnpm/@vitest+utils@2.1.8/node_modules/@vitest/utils/dist/index.js","../../../../node_modules/.pnpm/chai@5.1.2/node_modules/chai/chai.js","../../../../node_modules/.pnpm/@vitest+utils@2.1.8/node_modules/@vitest/utils/dist/source-map.js","../../../../node_modules/.pnpm/@vitest+runner@2.1.8/node_modules/@vitest/runner/dist/chunk-tasks.js","../../../../node_modules/.pnpm/@vitest+runner@2.1.8/node_modules/@vitest/runner/dist/index.js","../../../../node_modules/.pnpm/vitest@2.1.8_@types+node@22.10.1_@vitest+ui@2.1.8_terser@5.37.0/node_modules/vitest/dist/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * @internal\n */\nconst inverted = Symbol('inverted');\n/**\n * @internal\n */\nconst expectNull = Symbol('expectNull');\n/**\n * @internal\n */\nconst expectUndefined = Symbol('expectUndefined');\n/**\n * @internal\n */\nconst expectNumber = Symbol('expectNumber');\n/**\n * @internal\n */\nconst expectString = Symbol('expectString');\n/**\n * @internal\n */\nconst expectBoolean = Symbol('expectBoolean');\n/**\n * @internal\n */\nconst expectVoid = Symbol('expectVoid');\n/**\n * @internal\n */\nconst expectFunction = Symbol('expectFunction');\n/**\n * @internal\n */\nconst expectObject = Symbol('expectObject');\n/**\n * @internal\n */\nconst expectArray = Symbol('expectArray');\n/**\n * @internal\n */\nconst expectSymbol = Symbol('expectSymbol');\n/**\n * @internal\n */\nconst expectAny = Symbol('expectAny');\n/**\n * @internal\n */\nconst expectUnknown = Symbol('expectUnknown');\n/**\n * @internal\n */\nconst expectNever = Symbol('expectNever');\n/**\n * @internal\n */\nconst expectNullable = Symbol('expectNullable');\n/**\n * @internal\n */\nconst expectBigInt = Symbol('expectBigInt');\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * @internal\n */\nconst secret = Symbol('secret');\n/**\n * @internal\n */\nconst mismatch = Symbol('mismatch');\n/**\n * A type which should match anything passed as a value but *doesn't*\n * match {@linkcode Mismatch}. It helps TypeScript select the right overload\n * for {@linkcode PositiveExpectTypeOf.toEqualTypeOf | .toEqualTypeOf()} and\n * {@linkcode PositiveExpectTypeOf.toMatchTypeOf | .toMatchTypeOf()}.\n *\n * @internal\n */\nconst avalue = Symbol('avalue');\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    var desc = Object.getOwnPropertyDescriptor(m, k);\n    if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n      desc = { enumerable: true, get: function() { return m[k]; } };\n    }\n    Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n    if (k2 === undefined) k2 = k;\n    o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n    for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.expectTypeOf = void 0;\n__exportStar(require(\"./branding\"), exports); // backcompat, consider removing in next major version\n__exportStar(require(\"./messages\"), exports); // backcompat, consider removing in next major version\n__exportStar(require(\"./overloads\"), exports);\n__exportStar(require(\"./utils\"), exports); // backcompat, consider removing in next major version\nconst fn = () => true;\n/**\n * Similar to Jest's `expect`, but with type-awareness.\n * Gives you access to a number of type-matchers that let you make assertions about the\n * form of a reference or generic type parameter.\n *\n * @example\n * ```ts\n * import { foo, bar } from '../foo'\n * import { expectTypeOf } from 'expect-type'\n *\n * test('foo types', () => {\n *   // make sure `foo` has type { a: number }\n *   expectTypeOf(foo).toMatchTypeOf({ a: 1 })\n *   expectTypeOf(foo).toHaveProperty('a').toBeNumber()\n *\n *   // make sure `bar` is a function taking a string:\n *   expectTypeOf(bar).parameter(0).toBeString()\n *   expectTypeOf(bar).returns.not.toBeAny()\n * })\n * ```\n *\n * @description\n * See the [full docs](https://npmjs.com/package/expect-type#documentation) for lots more examples.\n */\nconst expectTypeOf = (_actual) => {\n    const nonFunctionProperties = [\n        'parameters',\n        'returns',\n        'resolves',\n        'not',\n        'items',\n        'constructorParameters',\n        'thisParameter',\n        'instance',\n        'guards',\n        'asserts',\n        'branded',\n    ];\n    const obj = {\n        /* eslint-disable @typescript-eslint/no-unsafe-assignment */\n        toBeAny: fn,\n        toBeUnknown: fn,\n        toBeNever: fn,\n        toBeFunction: fn,\n        toBeObject: fn,\n        toBeArray: fn,\n        toBeString: fn,\n        toBeNumber: fn,\n        toBeBoolean: fn,\n        toBeVoid: fn,\n        toBeSymbol: fn,\n        toBeNull: fn,\n        toBeUndefined: fn,\n        toBeNullable: fn,\n        toBeBigInt: fn,\n        toMatchTypeOf: fn,\n        toEqualTypeOf: fn,\n        toBeConstructibleWith: fn,\n        toBeCallableWith: exports.expectTypeOf,\n        extract: exports.expectTypeOf,\n        exclude: exports.expectTypeOf,\n        pick: exports.expectTypeOf,\n        omit: exports.expectTypeOf,\n        toHaveProperty: exports.expectTypeOf,\n        parameter: exports.expectTypeOf,\n    };\n    const getterProperties = nonFunctionProperties;\n    getterProperties.forEach((prop) => Object.defineProperty(obj, prop, { get: () => (0, exports.expectTypeOf)({}) }));\n    return obj;\n};\nexports.expectTypeOf = expectTypeOf;\n","export { registerCacheDriverTestSuite } from '../tests/helpers/driver-test-suite';\n","/// <reference types=\"vitest/globals\" />\nimport { setTimeout } from 'node:timers/promises';\nimport { assert, beforeAll, afterEach, test, onTestFinished } from 'vitest';\nimport type { CacheDriver, CacheDriverOptions } from '../../src/types/main';\n\nexport function registerCacheDriverTestSuite(options: {\n  createDriver: (options?: CacheDriverOptions) => CacheDriver<any>\n\n  /**\n   * If the driver support milliseconds for TTLs\n   */\n  supportsMilliseconds?: boolean\n}) {\n  const sleepTime = options.supportsMilliseconds ? 20 : 1000;\n\n  let cache: CacheDriver;\n\n  beforeAll(() => {\n    cache = options.createDriver();\n    return () => cache.disconnect();\n  });\n  \n  afterEach(async () => {\n    await cache.clear();\n  });\n\n  test('get() returns undefined when key does not exists', async () => {\n    assert.deepEqual(await cache.get('key'), undefined);\n  });\n\n  test('get() returns value', async () => {\n    await cache.set('key', 'value');\n    assert.deepEqual(await cache.get('key'), 'value');\n  });\n\n  test('set() store a value', async () => {\n    await cache.set('key', 'value');\n    assert.deepEqual(await cache.get('key'), 'value');\n  });\n\n  test('set() store a value with expiration', async () => {\n    await cache.delete('key');\n\n    await cache.set('key', 'value', 1500);\n    assert.deepEqual(await cache.get('key'), 'value');\n\n    await setTimeout(2500);\n    assert.deepEqual(await cache.get('key'), undefined);\n  });\n\n  test('set() returns true when value is set', async () => {\n    const result = await cache.set('key', 'value');\n    assert.isTrue(result);\n  });\n\n  test('clear() remove all keys', async () => {\n    await cache.set('key1', 'value1');\n    await cache.set('key2', 'value2', 60_000);\n\n    await cache.clear();\n\n    assert.deepEqual(await cache.get('key1'), undefined);\n    assert.deepEqual(await cache.get('key2'), undefined);\n  });\n\n  test('clear() remove only keys with prefix', async () => {\n    const cache2 = options.createDriver({ prefix: 'prefix' });\n    onTestFinished(async () => {\n      await cache2.clear();\n      await cache2.disconnect();\n    });\n\n    await cache2.set('key1', 'value1');\n\n    await cache.clear();\n\n    assert.deepEqual(await cache2.get('key1'), 'value1');\n  });\n\n  test('delete() removes a key', async () => {\n    await cache.set('key1', 'value1');\n    await cache.delete('key1');\n    assert.deepEqual(await cache.get('key1'), undefined);\n  });\n\n  test('deleteMany() removes many keys', async () => {\n    await cache.set('key1', 'value1');\n    await cache.set('key2', 'value2');\n\n    await cache.deleteMany(['key1', 'key2']);\n\n    assert.deepEqual(await cache.get('key1'), undefined);\n    assert.deepEqual(await cache.get('key2'), undefined);\n  });\n\n  test('delete() returns true when key is removed', async () => {\n    await cache.set('key1', 'value1');\n    const result = await cache.delete('key1');\n    assert.isTrue(result);\n  });\n\n  test('delete() returns false when key does not exists', async () => {\n    const result = await cache.delete('key1');\n    assert.isFalse(result);\n  });\n\n  test('has() returns true when key exists', async () => {\n    await cache.set('key1', 'value1');\n    assert.isTrue(await cache.has('key1'));\n  });\n\n  test('has() returns false when key does not exists', async () => {\n    assert.isFalse(await cache.has('key1'));\n  });\n\n  test('has() should not returns true for expired key', async () => {\n    await cache.set('key1', 'value1', 10);\n\n    await setTimeout(sleepTime);\n    assert.isFalse(await cache.has('key1'));\n  });\n\n  test('pull() returns value and removes it', async () => {\n    await cache.set('key1', 'foo');\n    const value = await cache.pull('key1');\n    assert.deepEqual(value, 'foo');\n  });\n\n  test('pull() returns undefined when key does not exists', async () => {\n    const value = await cache.pull('key1');\n    assert.isUndefined(value);\n  });\n\n  test('namespace() returns a new instance', async () => {\n    const cache2 = cache.namespace('foo');\n    assert.notEqual(cache, cache2);\n  });\n\n  test('set() value on namespace', async () => {\n    const fooNamespace = cache.namespace('foo');\n\n    await fooNamespace.set('key1', 'value1');\n    assert.deepEqual(await cache.get('key1'), undefined);\n    assert.deepEqual(await fooNamespace.get('key1'), 'value1');\n  });\n\n  test('get() value from namespace', async () => {\n    const fooNamespace = cache.namespace('foo');\n\n    await cache.set('key1', 'value1');\n    await fooNamespace.set('key1', 'value2');\n\n    assert.deepEqual(await cache.get('key1'), 'value1');\n    assert.deepEqual(await fooNamespace.get('key1'), 'value2');\n  });\n\n  test('clear() should only clear namespaces items', async () => {\n    const fooNamespace = cache.namespace('foo');\n\n    await cache.set('key1', 'value1');\n    await fooNamespace.set('key2', 'value2');\n\n    await fooNamespace.clear();\n    assert.deepEqual(await cache.get('key1'), 'value1');\n    assert.isUndefined(await fooNamespace.get('key2'));\n  });\n\n  test('clear() on root cache should clear namespaces items too', async () => {\n    const fooNamespace = cache.namespace('foo');\n\n    await cache.set('key1', 'value1');\n    await fooNamespace.set('key2', 'value2');\n\n    await cache.clear();\n\n    assert.isUndefined(await cache.get('key1'));\n    assert.isUndefined(await fooNamespace.get('key2'));\n  });\n\n  test('should be able to access namespaced key from root if prefixed', async () => {\n    const users = cache.namespace('users');\n    const usersPosts = users.namespace('posts');\n\n    await users.set('key1', 'value1');\n    await usersPosts.set('key1', 'value2');\n\n    const r1 = await cache.get('users:key1');\n    const r2 = await usersPosts.get('key1');\n    const r3 = await users.get('posts:key1');\n    const r4 = await cache.get('users:posts:key1');\n\n    assert.deepEqual(r1, 'value1');\n    assert.deepEqual(r2, 'value2');\n    assert.deepEqual(r3, 'value2');\n    assert.deepEqual(r4, 'value2');\n  });\n}\n","// src/index.ts\nvar f = {\n  reset: [0, 0],\n  bold: [1, 22, \"\\x1B[22m\\x1B[1m\"],\n  dim: [2, 22, \"\\x1B[22m\\x1B[2m\"],\n  italic: [3, 23],\n  underline: [4, 24],\n  inverse: [7, 27],\n  hidden: [8, 28],\n  strikethrough: [9, 29],\n  black: [30, 39],\n  red: [31, 39],\n  green: [32, 39],\n  yellow: [33, 39],\n  blue: [34, 39],\n  magenta: [35, 39],\n  cyan: [36, 39],\n  white: [37, 39],\n  gray: [90, 39],\n  bgBlack: [40, 49],\n  bgRed: [41, 49],\n  bgGreen: [42, 49],\n  bgYellow: [43, 49],\n  bgBlue: [44, 49],\n  bgMagenta: [45, 49],\n  bgCyan: [46, 49],\n  bgWhite: [47, 49],\n  blackBright: [90, 39],\n  redBright: [91, 39],\n  greenBright: [92, 39],\n  yellowBright: [93, 39],\n  blueBright: [94, 39],\n  magentaBright: [95, 39],\n  cyanBright: [96, 39],\n  whiteBright: [97, 39],\n  bgBlackBright: [100, 49],\n  bgRedBright: [101, 49],\n  bgGreenBright: [102, 49],\n  bgYellowBright: [103, 49],\n  bgBlueBright: [104, 49],\n  bgMagentaBright: [105, 49],\n  bgCyanBright: [106, 49],\n  bgWhiteBright: [107, 49]\n}, h = Object.entries(f);\nfunction a(n) {\n  return String(n);\n}\na.open = \"\";\na.close = \"\";\nvar B = /* @__PURE__ */ h.reduce(\n  (n, [e]) => (n[e] = a, n),\n  { isColorSupported: !1 }\n);\nfunction m() {\n  return { ...B };\n}\nfunction C(n = !1) {\n  let e = typeof process != \"undefined\" ? process : void 0, i = (e == null ? void 0 : e.env) || {}, g = (e == null ? void 0 : e.argv) || [];\n  return !(\"NO_COLOR\" in i || g.includes(\"--no-color\")) && (\"FORCE_COLOR\" in i || g.includes(\"--color\") || (e == null ? void 0 : e.platform) === \"win32\" || n && i.TERM !== \"dumb\" || \"CI\" in i) || typeof window != \"undefined\" && !!window.chrome;\n}\nfunction p(n = !1) {\n  let e = C(n), i = (r, t, c, o) => {\n    let l = \"\", s = 0;\n    do\n      l += r.substring(s, o) + c, s = o + t.length, o = r.indexOf(t, s);\n    while (~o);\n    return l + r.substring(s);\n  }, g = (r, t, c = r) => {\n    let o = (l) => {\n      let s = String(l), b = s.indexOf(t, r.length);\n      return ~b ? r + i(s, t, c, b) + t : r + s + t;\n    };\n    return o.open = r, o.close = t, o;\n  }, u = {\n    isColorSupported: e\n  }, d = (r) => `\\x1B[${r}m`;\n  for (let [r, t] of h)\n    u[r] = e ? g(\n      d(t[0]),\n      d(t[1]),\n      t[2]\n    ) : a;\n  return u;\n}\n\nexport {\n  m as a,\n  C as b,\n  p as c\n};\n","import {\n  a as t,\n  b as e,\n  c as o\n} from \"./chunk-BVHSVHOK.js\";\n\n// src/node.ts\nimport { isatty as r } from \"tty\";\nvar p = o(r(1));\nexport {\n  o as createColors,\n  p as default,\n  t as getDefaultColors,\n  e as isSupported\n};\n","import styles from 'tinyrainbow';\n\nfunction getKeysOfEnumerableProperties(object, compareKeys) {\n  const rawKeys = Object.keys(object);\n  const keys = compareKeys === null ? rawKeys : rawKeys.sort(compareKeys);\n  if (Object.getOwnPropertySymbols) {\n    for (const symbol of Object.getOwnPropertySymbols(object)) {\n      if (Object.getOwnPropertyDescriptor(object, symbol).enumerable) {\n        keys.push(symbol);\n      }\n    }\n  }\n  return keys;\n}\nfunction printIteratorEntries(iterator, config, indentation, depth, refs, printer, separator = \": \") {\n  let result = \"\";\n  let width = 0;\n  let current = iterator.next();\n  if (!current.done) {\n    result += config.spacingOuter;\n    const indentationNext = indentation + config.indent;\n    while (!current.done) {\n      result += indentationNext;\n      if (width++ === config.maxWidth) {\n        result += \"\\u2026\";\n        break;\n      }\n      const name = printer(\n        current.value[0],\n        config,\n        indentationNext,\n        depth,\n        refs\n      );\n      const value = printer(\n        current.value[1],\n        config,\n        indentationNext,\n        depth,\n        refs\n      );\n      result += name + separator + value;\n      current = iterator.next();\n      if (!current.done) {\n        result += `,${config.spacingInner}`;\n      } else if (!config.min) {\n        result += \",\";\n      }\n    }\n    result += config.spacingOuter + indentation;\n  }\n  return result;\n}\nfunction printIteratorValues(iterator, config, indentation, depth, refs, printer) {\n  let result = \"\";\n  let width = 0;\n  let current = iterator.next();\n  if (!current.done) {\n    result += config.spacingOuter;\n    const indentationNext = indentation + config.indent;\n    while (!current.done) {\n      result += indentationNext;\n      if (width++ === config.maxWidth) {\n        result += \"\\u2026\";\n        break;\n      }\n      result += printer(current.value, config, indentationNext, depth, refs);\n      current = iterator.next();\n      if (!current.done) {\n        result += `,${config.spacingInner}`;\n      } else if (!config.min) {\n        result += \",\";\n      }\n    }\n    result += config.spacingOuter + indentation;\n  }\n  return result;\n}\nfunction printListItems(list, config, indentation, depth, refs, printer) {\n  let result = \"\";\n  list = list instanceof ArrayBuffer ? new DataView(list) : list;\n  const isDataView = (l) => l instanceof DataView;\n  const length = isDataView(list) ? list.byteLength : list.length;\n  if (length > 0) {\n    result += config.spacingOuter;\n    const indentationNext = indentation + config.indent;\n    for (let i = 0; i < length; i++) {\n      result += indentationNext;\n      if (i === config.maxWidth) {\n        result += \"\\u2026\";\n        break;\n      }\n      if (isDataView(list) || i in list) {\n        result += printer(\n          isDataView(list) ? list.getInt8(i) : list[i],\n          config,\n          indentationNext,\n          depth,\n          refs\n        );\n      }\n      if (i < length - 1) {\n        result += `,${config.spacingInner}`;\n      } else if (!config.min) {\n        result += \",\";\n      }\n    }\n    result += config.spacingOuter + indentation;\n  }\n  return result;\n}\nfunction printObjectProperties(val, config, indentation, depth, refs, printer) {\n  let result = \"\";\n  const keys = getKeysOfEnumerableProperties(val, config.compareKeys);\n  if (keys.length > 0) {\n    result += config.spacingOuter;\n    const indentationNext = indentation + config.indent;\n    for (let i = 0; i < keys.length; i++) {\n      const key = keys[i];\n      const name = printer(key, config, indentationNext, depth, refs);\n      const value = printer(val[key], config, indentationNext, depth, refs);\n      result += `${indentationNext + name}: ${value}`;\n      if (i < keys.length - 1) {\n        result += `,${config.spacingInner}`;\n      } else if (!config.min) {\n        result += \",\";\n      }\n    }\n    result += config.spacingOuter + indentation;\n  }\n  return result;\n}\n\nconst asymmetricMatcher = typeof Symbol === \"function\" && Symbol.for ? Symbol.for(\"jest.asymmetricMatcher\") : 1267621;\nconst SPACE$2 = \" \";\nconst serialize$5 = (val, config, indentation, depth, refs, printer) => {\n  const stringedValue = val.toString();\n  if (stringedValue === \"ArrayContaining\" || stringedValue === \"ArrayNotContaining\") {\n    if (++depth > config.maxDepth) {\n      return `[${stringedValue}]`;\n    }\n    return `${stringedValue + SPACE$2}[${printListItems(\n      val.sample,\n      config,\n      indentation,\n      depth,\n      refs,\n      printer\n    )}]`;\n  }\n  if (stringedValue === \"ObjectContaining\" || stringedValue === \"ObjectNotContaining\") {\n    if (++depth > config.maxDepth) {\n      return `[${stringedValue}]`;\n    }\n    return `${stringedValue + SPACE$2}{${printObjectProperties(\n      val.sample,\n      config,\n      indentation,\n      depth,\n      refs,\n      printer\n    )}}`;\n  }\n  if (stringedValue === \"StringMatching\" || stringedValue === \"StringNotMatching\") {\n    return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);\n  }\n  if (stringedValue === \"StringContaining\" || stringedValue === \"StringNotContaining\") {\n    return stringedValue + SPACE$2 + printer(val.sample, config, indentation, depth, refs);\n  }\n  if (typeof val.toAsymmetricMatcher !== \"function\") {\n    throw new TypeError(\n      `Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`\n    );\n  }\n  return val.toAsymmetricMatcher();\n};\nconst test$5 = (val) => val && val.$$typeof === asymmetricMatcher;\nconst plugin$5 = { serialize: serialize$5, test: test$5 };\n\nconst SPACE$1 = \" \";\nconst OBJECT_NAMES = /* @__PURE__ */ new Set([\"DOMStringMap\", \"NamedNodeMap\"]);\nconst ARRAY_REGEXP = /^(?:HTML\\w*Collection|NodeList)$/;\nfunction testName(name) {\n  return OBJECT_NAMES.has(name) || ARRAY_REGEXP.test(name);\n}\nconst test$4 = (val) => val && val.constructor && !!val.constructor.name && testName(val.constructor.name);\nfunction isNamedNodeMap(collection) {\n  return collection.constructor.name === \"NamedNodeMap\";\n}\nconst serialize$4 = (collection, config, indentation, depth, refs, printer) => {\n  const name = collection.constructor.name;\n  if (++depth > config.maxDepth) {\n    return `[${name}]`;\n  }\n  return (config.min ? \"\" : name + SPACE$1) + (OBJECT_NAMES.has(name) ? `{${printObjectProperties(\n    isNamedNodeMap(collection) ? [...collection].reduce(\n      (props, attribute) => {\n        props[attribute.name] = attribute.value;\n        return props;\n      },\n      {}\n    ) : { ...collection },\n    config,\n    indentation,\n    depth,\n    refs,\n    printer\n  )}}` : `[${printListItems(\n    [...collection],\n    config,\n    indentation,\n    depth,\n    refs,\n    printer\n  )}]`);\n};\nconst plugin$4 = { serialize: serialize$4, test: test$4 };\n\nfunction escapeHTML(str) {\n  return str.replaceAll(\"<\", \"&lt;\").replaceAll(\">\", \"&gt;\");\n}\n\nfunction printProps(keys, props, config, indentation, depth, refs, printer) {\n  const indentationNext = indentation + config.indent;\n  const colors = config.colors;\n  return keys.map((key) => {\n    const value = props[key];\n    let printed = printer(value, config, indentationNext, depth, refs);\n    if (typeof value !== \"string\") {\n      if (printed.includes(\"\\n\")) {\n        printed = config.spacingOuter + indentationNext + printed + config.spacingOuter + indentation;\n      }\n      printed = `{${printed}}`;\n    }\n    return `${config.spacingInner + indentation + colors.prop.open + key + colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`;\n  }).join(\"\");\n}\nfunction printChildren(children, config, indentation, depth, refs, printer) {\n  return children.map(\n    (child) => config.spacingOuter + indentation + (typeof child === \"string\" ? printText(child, config) : printer(child, config, indentation, depth, refs))\n  ).join(\"\");\n}\nfunction printText(text, config) {\n  const contentColor = config.colors.content;\n  return contentColor.open + escapeHTML(text) + contentColor.close;\n}\nfunction printComment(comment, config) {\n  const commentColor = config.colors.comment;\n  return `${commentColor.open}<!--${escapeHTML(comment)}-->${commentColor.close}`;\n}\nfunction printElement(type, printedProps, printedChildren, config, indentation) {\n  const tagColor = config.colors.tag;\n  return `${tagColor.open}<${type}${printedProps && tagColor.close + printedProps + config.spacingOuter + indentation + tagColor.open}${printedChildren ? `>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}</${type}` : `${printedProps && !config.min ? \"\" : \" \"}/`}>${tagColor.close}`;\n}\nfunction printElementAsLeaf(type, config) {\n  const tagColor = config.colors.tag;\n  return `${tagColor.open}<${type}${tagColor.close} \\u2026${tagColor.open} />${tagColor.close}`;\n}\n\nconst ELEMENT_NODE = 1;\nconst TEXT_NODE = 3;\nconst COMMENT_NODE = 8;\nconst FRAGMENT_NODE = 11;\nconst ELEMENT_REGEXP = /^(?:(?:HTML|SVG)\\w*)?Element$/;\nfunction testHasAttribute(val) {\n  try {\n    return typeof val.hasAttribute === \"function\" && val.hasAttribute(\"is\");\n  } catch {\n    return false;\n  }\n}\nfunction testNode(val) {\n  const constructorName = val.constructor.name;\n  const { nodeType, tagName } = val;\n  const isCustomElement = typeof tagName === \"string\" && tagName.includes(\"-\") || testHasAttribute(val);\n  return nodeType === ELEMENT_NODE && (ELEMENT_REGEXP.test(constructorName) || isCustomElement) || nodeType === TEXT_NODE && constructorName === \"Text\" || nodeType === COMMENT_NODE && constructorName === \"Comment\" || nodeType === FRAGMENT_NODE && constructorName === \"DocumentFragment\";\n}\nconst test$3 = (val) => {\n  var _a;\n  return ((_a = val == null ? void 0 : val.constructor) == null ? void 0 : _a.name) && testNode(val);\n};\nfunction nodeIsText(node) {\n  return node.nodeType === TEXT_NODE;\n}\nfunction nodeIsComment(node) {\n  return node.nodeType === COMMENT_NODE;\n}\nfunction nodeIsFragment(node) {\n  return node.nodeType === FRAGMENT_NODE;\n}\nconst serialize$3 = (node, config, indentation, depth, refs, printer) => {\n  if (nodeIsText(node)) {\n    return printText(node.data, config);\n  }\n  if (nodeIsComment(node)) {\n    return printComment(node.data, config);\n  }\n  const type = nodeIsFragment(node) ? \"DocumentFragment\" : node.tagName.toLowerCase();\n  if (++depth > config.maxDepth) {\n    return printElementAsLeaf(type, config);\n  }\n  return printElement(\n    type,\n    printProps(\n      nodeIsFragment(node) ? [] : Array.from(node.attributes, (attr) => attr.name).sort(),\n      nodeIsFragment(node) ? {} : [...node.attributes].reduce(\n        (props, attribute) => {\n          props[attribute.name] = attribute.value;\n          return props;\n        },\n        {}\n      ),\n      config,\n      indentation + config.indent,\n      depth,\n      refs,\n      printer\n    ),\n    printChildren(\n      Array.prototype.slice.call(node.childNodes || node.children),\n      config,\n      indentation + config.indent,\n      depth,\n      refs,\n      printer\n    ),\n    config,\n    indentation\n  );\n};\nconst plugin$3 = { serialize: serialize$3, test: test$3 };\n\nconst IS_ITERABLE_SENTINEL = \"@@__IMMUTABLE_ITERABLE__@@\";\nconst IS_LIST_SENTINEL = \"@@__IMMUTABLE_LIST__@@\";\nconst IS_KEYED_SENTINEL = \"@@__IMMUTABLE_KEYED__@@\";\nconst IS_MAP_SENTINEL = \"@@__IMMUTABLE_MAP__@@\";\nconst IS_ORDERED_SENTINEL = \"@@__IMMUTABLE_ORDERED__@@\";\nconst IS_RECORD_SENTINEL = \"@@__IMMUTABLE_RECORD__@@\";\nconst IS_SEQ_SENTINEL = \"@@__IMMUTABLE_SEQ__@@\";\nconst IS_SET_SENTINEL = \"@@__IMMUTABLE_SET__@@\";\nconst IS_STACK_SENTINEL = \"@@__IMMUTABLE_STACK__@@\";\nconst getImmutableName = (name) => `Immutable.${name}`;\nconst printAsLeaf = (name) => `[${name}]`;\nconst SPACE = \" \";\nconst LAZY = \"\\u2026\";\nfunction printImmutableEntries(val, config, indentation, depth, refs, printer, type) {\n  return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}{${printIteratorEntries(\n    val.entries(),\n    config,\n    indentation,\n    depth,\n    refs,\n    printer\n  )}}`;\n}\nfunction getRecordEntries(val) {\n  let i = 0;\n  return {\n    next() {\n      if (i < val._keys.length) {\n        const key = val._keys[i++];\n        return { done: false, value: [key, val.get(key)] };\n      }\n      return { done: true, value: void 0 };\n    }\n  };\n}\nfunction printImmutableRecord(val, config, indentation, depth, refs, printer) {\n  const name = getImmutableName(val._name || \"Record\");\n  return ++depth > config.maxDepth ? printAsLeaf(name) : `${name + SPACE}{${printIteratorEntries(\n    getRecordEntries(val),\n    config,\n    indentation,\n    depth,\n    refs,\n    printer\n  )}}`;\n}\nfunction printImmutableSeq(val, config, indentation, depth, refs, printer) {\n  const name = getImmutableName(\"Seq\");\n  if (++depth > config.maxDepth) {\n    return printAsLeaf(name);\n  }\n  if (val[IS_KEYED_SENTINEL]) {\n    return `${name + SPACE}{${// from Immutable collection of entries or from ECMAScript object\n    val._iter || val._object ? printIteratorEntries(\n      val.entries(),\n      config,\n      indentation,\n      depth,\n      refs,\n      printer\n    ) : LAZY}}`;\n  }\n  return `${name + SPACE}[${val._iter || val._array || val._collection || val._iterable ? printIteratorValues(\n    val.values(),\n    config,\n    indentation,\n    depth,\n    refs,\n    printer\n  ) : LAZY}]`;\n}\nfunction printImmutableValues(val, config, indentation, depth, refs, printer, type) {\n  return ++depth > config.maxDepth ? printAsLeaf(getImmutableName(type)) : `${getImmutableName(type) + SPACE}[${printIteratorValues(\n    val.values(),\n    config,\n    indentation,\n    depth,\n    refs,\n    printer\n  )}]`;\n}\nconst serialize$2 = (val, config, indentation, depth, refs, printer) => {\n  if (val[IS_MAP_SENTINEL]) {\n    return printImmutableEntries(\n      val,\n      config,\n      indentation,\n      depth,\n      refs,\n      printer,\n      val[IS_ORDERED_SENTINEL] ? \"OrderedMap\" : \"Map\"\n    );\n  }\n  if (val[IS_LIST_SENTINEL]) {\n    return printImmutableValues(\n      val,\n      config,\n      indentation,\n      depth,\n      refs,\n      printer,\n      \"List\"\n    );\n  }\n  if (val[IS_SET_SENTINEL]) {\n    return printImmutableValues(\n      val,\n      config,\n      indentation,\n      depth,\n      refs,\n      printer,\n      val[IS_ORDERED_SENTINEL] ? \"OrderedSet\" : \"Set\"\n    );\n  }\n  if (val[IS_STACK_SENTINEL]) {\n    return printImmutableValues(\n      val,\n      config,\n      indentation,\n      depth,\n      refs,\n      printer,\n      \"Stack\"\n    );\n  }\n  if (val[IS_SEQ_SENTINEL]) {\n    return printImmutableSeq(val, config, indentation, depth, refs, printer);\n  }\n  return printImmutableRecord(val, config, indentation, depth, refs, printer);\n};\nconst test$2 = (val) => val && (val[IS_ITERABLE_SENTINEL] === true || val[IS_RECORD_SENTINEL] === true);\nconst plugin$2 = { serialize: serialize$2, test: test$2 };\n\nvar reactIs = {exports: {}};\n\nvar reactIs_production_min = {};\n\n/**\n * @license React\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar hasRequiredReactIs_production_min;\n\nfunction requireReactIs_production_min () {\n\tif (hasRequiredReactIs_production_min) return reactIs_production_min;\n\thasRequiredReactIs_production_min = 1;\nvar b=Symbol.for(\"react.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),e=Symbol.for(\"react.strict_mode\"),f=Symbol.for(\"react.profiler\"),g=Symbol.for(\"react.provider\"),h=Symbol.for(\"react.context\"),k=Symbol.for(\"react.server_context\"),l=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),n=Symbol.for(\"react.suspense_list\"),p=Symbol.for(\"react.memo\"),q=Symbol.for(\"react.lazy\"),t=Symbol.for(\"react.offscreen\"),u;u=Symbol.for(\"react.module.reference\");\n\tfunction v(a){if(\"object\"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f:case e:case m:case n:return a;default:switch(a=a&&a.$$typeof,a){case k:case h:case l:case q:case p:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;\n\treactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return \"object\"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q};reactIs_production_min.isMemo=function(a){return v(a)===p};\n\treactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m};reactIs_production_min.isSuspenseList=function(a){return v(a)===n};\n\treactIs_production_min.isValidElementType=function(a){return \"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===e||a===m||a===n||a===t||\"object\"===typeof a&&null!==a&&(a.$$typeof===q||a.$$typeof===p||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;\n\treturn reactIs_production_min;\n}\n\nvar reactIs_development = {};\n\n/**\n * @license React\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar hasRequiredReactIs_development;\n\nfunction requireReactIs_development () {\n\tif (hasRequiredReactIs_development) return reactIs_development;\n\thasRequiredReactIs_development = 1;\n\n\tif (process.env.NODE_ENV !== \"production\") {\n\t  (function() {\n\n\t// ATTENTION\n\t// When adding new symbols to this file,\n\t// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n\t// The Symbol used to tag the ReactElement-like types.\n\tvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\n\tvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\n\tvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\n\tvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\n\tvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\n\tvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\n\tvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\n\tvar REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');\n\tvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\n\tvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\n\tvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\n\tvar REACT_MEMO_TYPE = Symbol.for('react.memo');\n\tvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\n\tvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\n\n\t// -----------------------------------------------------------------------------\n\n\tvar enableScopeAPI = false; // Experimental Create Event Handle API.\n\tvar enableCacheElement = false;\n\tvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\n\tvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n\t// stuff. Intended to enable React core members to more easily debug scheduling\n\t// issues in DEV builds.\n\n\tvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\n\tvar REACT_MODULE_REFERENCE;\n\n\t{\n\t  REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n\t}\n\n\tfunction isValidElementType(type) {\n\t  if (typeof type === 'string' || typeof type === 'function') {\n\t    return true;\n\t  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n\t  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing  || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden  || type === REACT_OFFSCREEN_TYPE || enableScopeAPI  || enableCacheElement  || enableTransitionTracing ) {\n\t    return true;\n\t  }\n\n\t  if (typeof type === 'object' && type !== null) {\n\t    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n\t    // types supported by any Flight configuration anywhere since\n\t    // we don't know which Flight build this will end up being used\n\t    // with.\n\t    type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n\t      return true;\n\t    }\n\t  }\n\n\t  return false;\n\t}\n\n\tfunction typeOf(object) {\n\t  if (typeof object === 'object' && object !== null) {\n\t    var $$typeof = object.$$typeof;\n\n\t    switch ($$typeof) {\n\t      case REACT_ELEMENT_TYPE:\n\t        var type = object.type;\n\n\t        switch (type) {\n\t          case REACT_FRAGMENT_TYPE:\n\t          case REACT_PROFILER_TYPE:\n\t          case REACT_STRICT_MODE_TYPE:\n\t          case REACT_SUSPENSE_TYPE:\n\t          case REACT_SUSPENSE_LIST_TYPE:\n\t            return type;\n\n\t          default:\n\t            var $$typeofType = type && type.$$typeof;\n\n\t            switch ($$typeofType) {\n\t              case REACT_SERVER_CONTEXT_TYPE:\n\t              case REACT_CONTEXT_TYPE:\n\t              case REACT_FORWARD_REF_TYPE:\n\t              case REACT_LAZY_TYPE:\n\t              case REACT_MEMO_TYPE:\n\t              case REACT_PROVIDER_TYPE:\n\t                return $$typeofType;\n\n\t              default:\n\t                return $$typeof;\n\t            }\n\n\t        }\n\n\t      case REACT_PORTAL_TYPE:\n\t        return $$typeof;\n\t    }\n\t  }\n\n\t  return undefined;\n\t}\n\tvar ContextConsumer = REACT_CONTEXT_TYPE;\n\tvar ContextProvider = REACT_PROVIDER_TYPE;\n\tvar Element = REACT_ELEMENT_TYPE;\n\tvar ForwardRef = REACT_FORWARD_REF_TYPE;\n\tvar Fragment = REACT_FRAGMENT_TYPE;\n\tvar Lazy = REACT_LAZY_TYPE;\n\tvar Memo = REACT_MEMO_TYPE;\n\tvar Portal = REACT_PORTAL_TYPE;\n\tvar Profiler = REACT_PROFILER_TYPE;\n\tvar StrictMode = REACT_STRICT_MODE_TYPE;\n\tvar Suspense = REACT_SUSPENSE_TYPE;\n\tvar SuspenseList = REACT_SUSPENSE_LIST_TYPE;\n\tvar hasWarnedAboutDeprecatedIsAsyncMode = false;\n\tvar hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated\n\n\tfunction isAsyncMode(object) {\n\t  {\n\t    if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n\t      hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n\t      console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n\t    }\n\t  }\n\n\t  return false;\n\t}\n\tfunction isConcurrentMode(object) {\n\t  {\n\t    if (!hasWarnedAboutDeprecatedIsConcurrentMode) {\n\t      hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint\n\n\t      console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n\t    }\n\t  }\n\n\t  return false;\n\t}\n\tfunction isContextConsumer(object) {\n\t  return typeOf(object) === REACT_CONTEXT_TYPE;\n\t}\n\tfunction isContextProvider(object) {\n\t  return typeOf(object) === REACT_PROVIDER_TYPE;\n\t}\n\tfunction isElement(object) {\n\t  return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n\t}\n\tfunction isForwardRef(object) {\n\t  return typeOf(object) === REACT_FORWARD_REF_TYPE;\n\t}\n\tfunction isFragment(object) {\n\t  return typeOf(object) === REACT_FRAGMENT_TYPE;\n\t}\n\tfunction isLazy(object) {\n\t  return typeOf(object) === REACT_LAZY_TYPE;\n\t}\n\tfunction isMemo(object) {\n\t  return typeOf(object) === REACT_MEMO_TYPE;\n\t}\n\tfunction isPortal(object) {\n\t  return typeOf(object) === REACT_PORTAL_TYPE;\n\t}\n\tfunction isProfiler(object) {\n\t  return typeOf(object) === REACT_PROFILER_TYPE;\n\t}\n\tfunction isStrictMode(object) {\n\t  return typeOf(object) === REACT_STRICT_MODE_TYPE;\n\t}\n\tfunction isSuspense(object) {\n\t  return typeOf(object) === REACT_SUSPENSE_TYPE;\n\t}\n\tfunction isSuspenseList(object) {\n\t  return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;\n\t}\n\n\treactIs_development.ContextConsumer = ContextConsumer;\n\treactIs_development.ContextProvider = ContextProvider;\n\treactIs_development.Element = Element;\n\treactIs_development.ForwardRef = ForwardRef;\n\treactIs_development.Fragment = Fragment;\n\treactIs_development.Lazy = Lazy;\n\treactIs_development.Memo = Memo;\n\treactIs_development.Portal = Portal;\n\treactIs_development.Profiler = Profiler;\n\treactIs_development.StrictMode = StrictMode;\n\treactIs_development.Suspense = Suspense;\n\treactIs_development.SuspenseList = SuspenseList;\n\treactIs_development.isAsyncMode = isAsyncMode;\n\treactIs_development.isConcurrentMode = isConcurrentMode;\n\treactIs_development.isContextConsumer = isContextConsumer;\n\treactIs_development.isContextProvider = isContextProvider;\n\treactIs_development.isElement = isElement;\n\treactIs_development.isForwardRef = isForwardRef;\n\treactIs_development.isFragment = isFragment;\n\treactIs_development.isLazy = isLazy;\n\treactIs_development.isMemo = isMemo;\n\treactIs_development.isPortal = isPortal;\n\treactIs_development.isProfiler = isProfiler;\n\treactIs_development.isStrictMode = isStrictMode;\n\treactIs_development.isSuspense = isSuspense;\n\treactIs_development.isSuspenseList = isSuspenseList;\n\treactIs_development.isValidElementType = isValidElementType;\n\treactIs_development.typeOf = typeOf;\n\t  })();\n\t}\n\treturn reactIs_development;\n}\n\nvar hasRequiredReactIs;\n\nfunction requireReactIs () {\n\tif (hasRequiredReactIs) return reactIs.exports;\n\thasRequiredReactIs = 1;\n\n\tif (process.env.NODE_ENV === 'production') {\n\t  reactIs.exports = requireReactIs_production_min();\n\t} else {\n\t  reactIs.exports = requireReactIs_development();\n\t}\n\treturn reactIs.exports;\n}\n\nvar reactIsExports = requireReactIs();\n\nfunction getChildren(arg, children = []) {\n  if (Array.isArray(arg)) {\n    for (const item of arg) {\n      getChildren(item, children);\n    }\n  } else if (arg != null && arg !== false && arg !== \"\") {\n    children.push(arg);\n  }\n  return children;\n}\nfunction getType(element) {\n  const type = element.type;\n  if (typeof type === \"string\") {\n    return type;\n  }\n  if (typeof type === \"function\") {\n    return type.displayName || type.name || \"Unknown\";\n  }\n  if (reactIsExports.isFragment(element)) {\n    return \"React.Fragment\";\n  }\n  if (reactIsExports.isSuspense(element)) {\n    return \"React.Suspense\";\n  }\n  if (typeof type === \"object\" && type !== null) {\n    if (reactIsExports.isContextProvider(element)) {\n      return \"Context.Provider\";\n    }\n    if (reactIsExports.isContextConsumer(element)) {\n      return \"Context.Consumer\";\n    }\n    if (reactIsExports.isForwardRef(element)) {\n      if (type.displayName) {\n        return type.displayName;\n      }\n      const functionName = type.render.displayName || type.render.name || \"\";\n      return functionName === \"\" ? \"ForwardRef\" : `ForwardRef(${functionName})`;\n    }\n    if (reactIsExports.isMemo(element)) {\n      const functionName = type.displayName || type.type.displayName || type.type.name || \"\";\n      return functionName === \"\" ? \"Memo\" : `Memo(${functionName})`;\n    }\n  }\n  return \"UNDEFINED\";\n}\nfunction getPropKeys$1(element) {\n  const { props } = element;\n  return Object.keys(props).filter((key) => key !== \"children\" && props[key] !== void 0).sort();\n}\nconst serialize$1 = (element, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(getType(element), config) : printElement(\n  getType(element),\n  printProps(\n    getPropKeys$1(element),\n    element.props,\n    config,\n    indentation + config.indent,\n    depth,\n    refs,\n    printer\n  ),\n  printChildren(\n    getChildren(element.props.children),\n    config,\n    indentation + config.indent,\n    depth,\n    refs,\n    printer\n  ),\n  config,\n  indentation\n);\nconst test$1 = (val) => val != null && reactIsExports.isElement(val);\nconst plugin$1 = { serialize: serialize$1, test: test$1 };\n\nconst testSymbol = typeof Symbol === \"function\" && Symbol.for ? Symbol.for(\"react.test.json\") : 245830487;\nfunction getPropKeys(object) {\n  const { props } = object;\n  return props ? Object.keys(props).filter((key) => props[key] !== void 0).sort() : [];\n}\nconst serialize = (object, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? printElementAsLeaf(object.type, config) : printElement(\n  object.type,\n  object.props ? printProps(\n    getPropKeys(object),\n    object.props,\n    config,\n    indentation + config.indent,\n    depth,\n    refs,\n    printer\n  ) : \"\",\n  object.children ? printChildren(\n    object.children,\n    config,\n    indentation + config.indent,\n    depth,\n    refs,\n    printer\n  ) : \"\",\n  config,\n  indentation\n);\nconst test = (val) => val && val.$$typeof === testSymbol;\nconst plugin = { serialize, test };\n\nconst toString = Object.prototype.toString;\nconst toISOString = Date.prototype.toISOString;\nconst errorToString = Error.prototype.toString;\nconst regExpToString = RegExp.prototype.toString;\nfunction getConstructorName(val) {\n  return typeof val.constructor === \"function\" && val.constructor.name || \"Object\";\n}\nfunction isWindow(val) {\n  return typeof window !== \"undefined\" && val === window;\n}\nconst SYMBOL_REGEXP = /^Symbol\\((.*)\\)(.*)$/;\nconst NEWLINE_REGEXP = /\\n/g;\nclass PrettyFormatPluginError extends Error {\n  constructor(message, stack) {\n    super(message);\n    this.stack = stack;\n    this.name = this.constructor.name;\n  }\n}\nfunction isToStringedArrayType(toStringed) {\n  return toStringed === \"[object Array]\" || toStringed === \"[object ArrayBuffer]\" || toStringed === \"[object DataView]\" || toStringed === \"[object Float32Array]\" || toStringed === \"[object Float64Array]\" || toStringed === \"[object Int8Array]\" || toStringed === \"[object Int16Array]\" || toStringed === \"[object Int32Array]\" || toStringed === \"[object Uint8Array]\" || toStringed === \"[object Uint8ClampedArray]\" || toStringed === \"[object Uint16Array]\" || toStringed === \"[object Uint32Array]\";\n}\nfunction printNumber(val) {\n  return Object.is(val, -0) ? \"-0\" : String(val);\n}\nfunction printBigInt(val) {\n  return String(`${val}n`);\n}\nfunction printFunction(val, printFunctionName) {\n  if (!printFunctionName) {\n    return \"[Function]\";\n  }\n  return `[Function ${val.name || \"anonymous\"}]`;\n}\nfunction printSymbol(val) {\n  return String(val).replace(SYMBOL_REGEXP, \"Symbol($1)\");\n}\nfunction printError(val) {\n  return `[${errorToString.call(val)}]`;\n}\nfunction printBasicValue(val, printFunctionName, escapeRegex, escapeString) {\n  if (val === true || val === false) {\n    return `${val}`;\n  }\n  if (val === void 0) {\n    return \"undefined\";\n  }\n  if (val === null) {\n    return \"null\";\n  }\n  const typeOf = typeof val;\n  if (typeOf === \"number\") {\n    return printNumber(val);\n  }\n  if (typeOf === \"bigint\") {\n    return printBigInt(val);\n  }\n  if (typeOf === \"string\") {\n    if (escapeString) {\n      return `\"${val.replaceAll(/\"|\\\\/g, \"\\\\$&\")}\"`;\n    }\n    return `\"${val}\"`;\n  }\n  if (typeOf === \"function\") {\n    return printFunction(val, printFunctionName);\n  }\n  if (typeOf === \"symbol\") {\n    return printSymbol(val);\n  }\n  const toStringed = toString.call(val);\n  if (toStringed === \"[object WeakMap]\") {\n    return \"WeakMap {}\";\n  }\n  if (toStringed === \"[object WeakSet]\") {\n    return \"WeakSet {}\";\n  }\n  if (toStringed === \"[object Function]\" || toStringed === \"[object GeneratorFunction]\") {\n    return printFunction(val, printFunctionName);\n  }\n  if (toStringed === \"[object Symbol]\") {\n    return printSymbol(val);\n  }\n  if (toStringed === \"[object Date]\") {\n    return Number.isNaN(+val) ? \"Date { NaN }\" : toISOString.call(val);\n  }\n  if (toStringed === \"[object Error]\") {\n    return printError(val);\n  }\n  if (toStringed === \"[object RegExp]\") {\n    if (escapeRegex) {\n      return regExpToString.call(val).replaceAll(/[$()*+.?[\\\\\\]^{|}]/g, \"\\\\$&\");\n    }\n    return regExpToString.call(val);\n  }\n  if (val instanceof Error) {\n    return printError(val);\n  }\n  return null;\n}\nfunction printComplexValue(val, config, indentation, depth, refs, hasCalledToJSON) {\n  if (refs.includes(val)) {\n    return \"[Circular]\";\n  }\n  refs = [...refs];\n  refs.push(val);\n  const hitMaxDepth = ++depth > config.maxDepth;\n  const min = config.min;\n  if (config.callToJSON && !hitMaxDepth && val.toJSON && typeof val.toJSON === \"function\" && !hasCalledToJSON) {\n    return printer(val.toJSON(), config, indentation, depth, refs, true);\n  }\n  const toStringed = toString.call(val);\n  if (toStringed === \"[object Arguments]\") {\n    return hitMaxDepth ? \"[Arguments]\" : `${min ? \"\" : \"Arguments \"}[${printListItems(\n      val,\n      config,\n      indentation,\n      depth,\n      refs,\n      printer\n    )}]`;\n  }\n  if (isToStringedArrayType(toStringed)) {\n    return hitMaxDepth ? `[${val.constructor.name}]` : `${min ? \"\" : !config.printBasicPrototype && val.constructor.name === \"Array\" ? \"\" : `${val.constructor.name} `}[${printListItems(val, config, indentation, depth, refs, printer)}]`;\n  }\n  if (toStringed === \"[object Map]\") {\n    return hitMaxDepth ? \"[Map]\" : `Map {${printIteratorEntries(\n      val.entries(),\n      config,\n      indentation,\n      depth,\n      refs,\n      printer,\n      \" => \"\n    )}}`;\n  }\n  if (toStringed === \"[object Set]\") {\n    return hitMaxDepth ? \"[Set]\" : `Set {${printIteratorValues(\n      val.values(),\n      config,\n      indentation,\n      depth,\n      refs,\n      printer\n    )}}`;\n  }\n  return hitMaxDepth || isWindow(val) ? `[${getConstructorName(val)}]` : `${min ? \"\" : !config.printBasicPrototype && getConstructorName(val) === \"Object\" ? \"\" : `${getConstructorName(val)} `}{${printObjectProperties(\n    val,\n    config,\n    indentation,\n    depth,\n    refs,\n    printer\n  )}}`;\n}\nfunction isNewPlugin(plugin) {\n  return plugin.serialize != null;\n}\nfunction printPlugin(plugin, val, config, indentation, depth, refs) {\n  let printed;\n  try {\n    printed = isNewPlugin(plugin) ? plugin.serialize(val, config, indentation, depth, refs, printer) : plugin.print(\n      val,\n      (valChild) => printer(valChild, config, indentation, depth, refs),\n      (str) => {\n        const indentationNext = indentation + config.indent;\n        return indentationNext + str.replaceAll(NEWLINE_REGEXP, `\n${indentationNext}`);\n      },\n      {\n        edgeSpacing: config.spacingOuter,\n        min: config.min,\n        spacing: config.spacingInner\n      },\n      config.colors\n    );\n  } catch (error) {\n    throw new PrettyFormatPluginError(error.message, error.stack);\n  }\n  if (typeof printed !== \"string\") {\n    throw new TypeError(\n      `pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`\n    );\n  }\n  return printed;\n}\nfunction findPlugin(plugins2, val) {\n  for (const plugin of plugins2) {\n    try {\n      if (plugin.test(val)) {\n        return plugin;\n      }\n    } catch (error) {\n      throw new PrettyFormatPluginError(error.message, error.stack);\n    }\n  }\n  return null;\n}\nfunction printer(val, config, indentation, depth, refs, hasCalledToJSON) {\n  const plugin = findPlugin(config.plugins, val);\n  if (plugin !== null) {\n    return printPlugin(plugin, val, config, indentation, depth, refs);\n  }\n  const basicResult = printBasicValue(\n    val,\n    config.printFunctionName,\n    config.escapeRegex,\n    config.escapeString\n  );\n  if (basicResult !== null) {\n    return basicResult;\n  }\n  return printComplexValue(\n    val,\n    config,\n    indentation,\n    depth,\n    refs,\n    hasCalledToJSON\n  );\n}\nconst DEFAULT_THEME = {\n  comment: \"gray\",\n  content: \"reset\",\n  prop: \"yellow\",\n  tag: \"cyan\",\n  value: \"green\"\n};\nconst DEFAULT_THEME_KEYS = Object.keys(DEFAULT_THEME);\nconst DEFAULT_OPTIONS = {\n  callToJSON: true,\n  compareKeys: void 0,\n  escapeRegex: false,\n  escapeString: true,\n  highlight: false,\n  indent: 2,\n  maxDepth: Number.POSITIVE_INFINITY,\n  maxWidth: Number.POSITIVE_INFINITY,\n  min: false,\n  plugins: [],\n  printBasicPrototype: true,\n  printFunctionName: true,\n  theme: DEFAULT_THEME\n};\nfunction validateOptions(options) {\n  for (const key of Object.keys(options)) {\n    if (!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS, key)) {\n      throw new Error(`pretty-format: Unknown option \"${key}\".`);\n    }\n  }\n  if (options.min && options.indent !== void 0 && options.indent !== 0) {\n    throw new Error(\n      'pretty-format: Options \"min\" and \"indent\" cannot be used together.'\n    );\n  }\n}\nfunction getColorsHighlight() {\n  return DEFAULT_THEME_KEYS.reduce((colors, key) => {\n    const value = DEFAULT_THEME[key];\n    const color = value && styles[value];\n    if (color && typeof color.close === \"string\" && typeof color.open === \"string\") {\n      colors[key] = color;\n    } else {\n      throw new Error(\n        `pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`\n      );\n    }\n    return colors;\n  }, /* @__PURE__ */ Object.create(null));\n}\nfunction getColorsEmpty() {\n  return DEFAULT_THEME_KEYS.reduce((colors, key) => {\n    colors[key] = { close: \"\", open: \"\" };\n    return colors;\n  }, /* @__PURE__ */ Object.create(null));\n}\nfunction getPrintFunctionName(options) {\n  return (options == null ? void 0 : options.printFunctionName) ?? DEFAULT_OPTIONS.printFunctionName;\n}\nfunction getEscapeRegex(options) {\n  return (options == null ? void 0 : options.escapeRegex) ?? DEFAULT_OPTIONS.escapeRegex;\n}\nfunction getEscapeString(options) {\n  return (options == null ? void 0 : options.escapeString) ?? DEFAULT_OPTIONS.escapeString;\n}\nfunction getConfig(options) {\n  return {\n    callToJSON: (options == null ? void 0 : options.callToJSON) ?? DEFAULT_OPTIONS.callToJSON,\n    colors: (options == null ? void 0 : options.highlight) ? getColorsHighlight() : getColorsEmpty(),\n    compareKeys: typeof (options == null ? void 0 : options.compareKeys) === \"function\" || (options == null ? void 0 : options.compareKeys) === null ? options.compareKeys : DEFAULT_OPTIONS.compareKeys,\n    escapeRegex: getEscapeRegex(options),\n    escapeString: getEscapeString(options),\n    indent: (options == null ? void 0 : options.min) ? \"\" : createIndent((options == null ? void 0 : options.indent) ?? DEFAULT_OPTIONS.indent),\n    maxDepth: (options == null ? void 0 : options.maxDepth) ?? DEFAULT_OPTIONS.maxDepth,\n    maxWidth: (options == null ? void 0 : options.maxWidth) ?? DEFAULT_OPTIONS.maxWidth,\n    min: (options == null ? void 0 : options.min) ?? DEFAULT_OPTIONS.min,\n    plugins: (options == null ? void 0 : options.plugins) ?? DEFAULT_OPTIONS.plugins,\n    printBasicPrototype: (options == null ? void 0 : options.printBasicPrototype) ?? true,\n    printFunctionName: getPrintFunctionName(options),\n    spacingInner: (options == null ? void 0 : options.min) ? \" \" : \"\\n\",\n    spacingOuter: (options == null ? void 0 : options.min) ? \"\" : \"\\n\"\n  };\n}\nfunction createIndent(indent) {\n  return Array.from({ length: indent + 1 }).join(\" \");\n}\nfunction format(val, options) {\n  if (options) {\n    validateOptions(options);\n    if (options.plugins) {\n      const plugin = findPlugin(options.plugins, val);\n      if (plugin !== null) {\n        return printPlugin(plugin, val, getConfig(options), \"\", 0, []);\n      }\n    }\n  }\n  const basicResult = printBasicValue(\n    val,\n    getPrintFunctionName(options),\n    getEscapeRegex(options),\n    getEscapeString(options)\n  );\n  if (basicResult !== null) {\n    return basicResult;\n  }\n  return printComplexValue(val, getConfig(options), \"\", 0, []);\n}\nconst plugins = {\n  AsymmetricMatcher: plugin$5,\n  DOMCollection: plugin$4,\n  DOMElement: plugin$3,\n  Immutable: plugin$2,\n  ReactElement: plugin$1,\n  ReactTestComponent: plugin\n};\n\nexport { DEFAULT_OPTIONS, format, plugins };\n","const ansiColors = {\n    bold: ['1', '22'],\n    dim: ['2', '22'],\n    italic: ['3', '23'],\n    underline: ['4', '24'],\n    // 5 & 6 are blinking\n    inverse: ['7', '27'],\n    hidden: ['8', '28'],\n    strike: ['9', '29'],\n    // 10-20 are fonts\n    // 21-29 are resets for 1-9\n    black: ['30', '39'],\n    red: ['31', '39'],\n    green: ['32', '39'],\n    yellow: ['33', '39'],\n    blue: ['34', '39'],\n    magenta: ['35', '39'],\n    cyan: ['36', '39'],\n    white: ['37', '39'],\n    brightblack: ['30;1', '39'],\n    brightred: ['31;1', '39'],\n    brightgreen: ['32;1', '39'],\n    brightyellow: ['33;1', '39'],\n    brightblue: ['34;1', '39'],\n    brightmagenta: ['35;1', '39'],\n    brightcyan: ['36;1', '39'],\n    brightwhite: ['37;1', '39'],\n    grey: ['90', '39'],\n};\nconst styles = {\n    special: 'cyan',\n    number: 'yellow',\n    bigint: 'yellow',\n    boolean: 'yellow',\n    undefined: 'grey',\n    null: 'bold',\n    string: 'green',\n    symbol: 'green',\n    date: 'magenta',\n    regexp: 'red',\n};\nexport const truncator = '…';\nfunction colorise(value, styleType) {\n    const color = ansiColors[styles[styleType]] || ansiColors[styleType] || '';\n    if (!color) {\n        return String(value);\n    }\n    return `\\u001b[${color[0]}m${String(value)}\\u001b[${color[1]}m`;\n}\nexport function normaliseOptions({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], \n// eslint-disable-next-line no-shadow\ntruncate = Infinity, stylize = String, } = {}, inspect) {\n    const options = {\n        showHidden: Boolean(showHidden),\n        depth: Number(depth),\n        colors: Boolean(colors),\n        customInspect: Boolean(customInspect),\n        showProxy: Boolean(showProxy),\n        maxArrayLength: Number(maxArrayLength),\n        breakLength: Number(breakLength),\n        truncate: Number(truncate),\n        seen,\n        inspect,\n        stylize,\n    };\n    if (options.colors) {\n        options.stylize = colorise;\n    }\n    return options;\n}\nfunction isHighSurrogate(char) {\n    return char >= '\\ud800' && char <= '\\udbff';\n}\nexport function truncate(string, length, tail = truncator) {\n    string = String(string);\n    const tailLength = tail.length;\n    const stringLength = string.length;\n    if (tailLength > length && stringLength > tailLength) {\n        return tail;\n    }\n    if (stringLength > length && stringLength > tailLength) {\n        let end = length - tailLength;\n        if (end > 0 && isHighSurrogate(string[end - 1])) {\n            end = end - 1;\n        }\n        return `${string.slice(0, end)}${tail}`;\n    }\n    return string;\n}\n// eslint-disable-next-line complexity\nexport function inspectList(list, options, inspectItem, separator = ', ') {\n    inspectItem = inspectItem || options.inspect;\n    const size = list.length;\n    if (size === 0)\n        return '';\n    const originalLength = options.truncate;\n    let output = '';\n    let peek = '';\n    let truncated = '';\n    for (let i = 0; i < size; i += 1) {\n        const last = i + 1 === list.length;\n        const secondToLast = i + 2 === list.length;\n        truncated = `${truncator}(${list.length - i})`;\n        const value = list[i];\n        // If there is more than one remaining we need to account for a separator of `, `\n        options.truncate = originalLength - output.length - (last ? 0 : separator.length);\n        const string = peek || inspectItem(value, options) + (last ? '' : separator);\n        const nextLength = output.length + string.length;\n        const truncatedLength = nextLength + truncated.length;\n        // If this is the last element, and adding it would\n        // take us over length, but adding the truncator wouldn't - then break now\n        if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) {\n            break;\n        }\n        // If this isn't the last or second to last element to scan,\n        // but the string is already over length then break here\n        if (!last && !secondToLast && truncatedLength > originalLength) {\n            break;\n        }\n        // Peek at the next string to determine if we should\n        // break early before adding this item to the output\n        peek = last ? '' : inspectItem(list[i + 1], options) + (secondToLast ? '' : separator);\n        // If we have one element left, but this element and\n        // the next takes over length, the break early\n        if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {\n            break;\n        }\n        output += string;\n        // If the next element takes us to length -\n        // but there are more after that, then we should truncate now\n        if (!last && !secondToLast && nextLength + peek.length >= originalLength) {\n            truncated = `${truncator}(${list.length - i - 1})`;\n            break;\n        }\n        truncated = '';\n    }\n    return `${output}${truncated}`;\n}\nfunction quoteComplexKey(key) {\n    if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) {\n        return key;\n    }\n    return JSON.stringify(key)\n        .replace(/'/g, \"\\\\'\")\n        .replace(/\\\\\"/g, '\"')\n        .replace(/(^\"|\"$)/g, \"'\");\n}\nexport function inspectProperty([key, value], options) {\n    options.truncate -= 2;\n    if (typeof key === 'string') {\n        key = quoteComplexKey(key);\n    }\n    else if (typeof key !== 'number') {\n        key = `[${options.inspect(key, options)}]`;\n    }\n    options.truncate -= key.length;\n    value = options.inspect(value, options);\n    return `${key}: ${value}`;\n}\n","import { inspectList, inspectProperty } from './helpers.js';\nexport default function inspectArray(array, options) {\n    // Object.keys will always output the Array indices first, so we can slice by\n    // `array.length` to get non-index properties\n    const nonIndexProperties = Object.keys(array).slice(array.length);\n    if (!array.length && !nonIndexProperties.length)\n        return '[]';\n    options.truncate -= 4;\n    const listContents = inspectList(array, options);\n    options.truncate -= listContents.length;\n    let propertyContents = '';\n    if (nonIndexProperties.length) {\n        propertyContents = inspectList(nonIndexProperties.map(key => [key, array[key]]), options, inspectProperty);\n    }\n    return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ''} ]`;\n}\n","import { inspectList, inspectProperty, truncate, truncator } from './helpers.js';\nconst getArrayName = (array) => {\n    // We need to special case Node.js' Buffers, which report to be Uint8Array\n    // @ts-ignore\n    if (typeof Buffer === 'function' && array instanceof Buffer) {\n        return 'Buffer';\n    }\n    if (array[Symbol.toStringTag]) {\n        return array[Symbol.toStringTag];\n    }\n    return array.constructor.name;\n};\nexport default function inspectTypedArray(array, options) {\n    const name = getArrayName(array);\n    options.truncate -= name.length + 4;\n    // Object.keys will always output the Array indices first, so we can slice by\n    // `array.length` to get non-index properties\n    const nonIndexProperties = Object.keys(array).slice(array.length);\n    if (!array.length && !nonIndexProperties.length)\n        return `${name}[]`;\n    // As we know TypedArrays only contain Unsigned Integers, we can skip inspecting each one and simply\n    // stylise the toString() value of them\n    let output = '';\n    for (let i = 0; i < array.length; i++) {\n        const string = `${options.stylize(truncate(array[i], options.truncate), 'number')}${i === array.length - 1 ? '' : ', '}`;\n        options.truncate -= string.length;\n        if (array[i] !== array.length && options.truncate <= 3) {\n            output += `${truncator}(${array.length - array[i] + 1})`;\n            break;\n        }\n        output += string;\n    }\n    let propertyContents = '';\n    if (nonIndexProperties.length) {\n        propertyContents = inspectList(nonIndexProperties.map(key => [key, array[key]]), options, inspectProperty);\n    }\n    return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ''} ]`;\n}\n","import { truncate } from './helpers.js';\nexport default function inspectDate(dateObject, options) {\n    const stringRepresentation = dateObject.toJSON();\n    if (stringRepresentation === null) {\n        return 'Invalid Date';\n    }\n    const split = stringRepresentation.split('T');\n    const date = split[0];\n    // If we need to - truncate the time portion, but never the date\n    return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, 'date');\n}\n","import { truncate } from './helpers.js';\nexport default function inspectFunction(func, options) {\n    const functionType = func[Symbol.toStringTag] || 'Function';\n    const name = func.name;\n    if (!name) {\n        return options.stylize(`[${functionType}]`, 'special');\n    }\n    return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, 'special');\n}\n","import { inspectList } from './helpers.js';\nfunction inspectMapEntry([key, value], options) {\n    options.truncate -= 4;\n    key = options.inspect(key, options);\n    options.truncate -= key.length;\n    value = options.inspect(value, options);\n    return `${key} => ${value}`;\n}\n// IE11 doesn't support `map.entries()`\nfunction mapToEntries(map) {\n    const entries = [];\n    map.forEach((value, key) => {\n        entries.push([key, value]);\n    });\n    return entries;\n}\nexport default function inspectMap(map, options) {\n    const size = map.size - 1;\n    if (size <= 0) {\n        return 'Map{}';\n    }\n    options.truncate -= 7;\n    return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;\n}\n","import { truncate } from './helpers.js';\nconst isNaN = Number.isNaN || (i => i !== i); // eslint-disable-line no-self-compare\nexport default function inspectNumber(number, options) {\n    if (isNaN(number)) {\n        return options.stylize('NaN', 'number');\n    }\n    if (number === Infinity) {\n        return options.stylize('Infinity', 'number');\n    }\n    if (number === -Infinity) {\n        return options.stylize('-Infinity', 'number');\n    }\n    if (number === 0) {\n        return options.stylize(1 / number === Infinity ? '+0' : '-0', 'number');\n    }\n    return options.stylize(truncate(String(number), options.truncate), 'number');\n}\n","import { truncate, truncator } from './helpers.js';\nexport default function inspectBigInt(number, options) {\n    let nums = truncate(number.toString(), options.truncate - 1);\n    if (nums !== truncator)\n        nums += 'n';\n    return options.stylize(nums, 'bigint');\n}\n","import { truncate } from './helpers.js';\nexport default function inspectRegExp(value, options) {\n    const flags = value.toString().split('/')[2];\n    const sourceLength = options.truncate - (2 + flags.length);\n    const source = value.source;\n    return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, 'regexp');\n}\n","import { inspectList } from './helpers.js';\n// IE11 doesn't support `Array.from(set)`\nfunction arrayFromSet(set) {\n    const values = [];\n    set.forEach(value => {\n        values.push(value);\n    });\n    return values;\n}\nexport default function inspectSet(set, options) {\n    if (set.size === 0)\n        return 'Set{}';\n    options.truncate -= 7;\n    return `Set{ ${inspectList(arrayFromSet(set), options)} }`;\n}\n","import { truncate } from './helpers.js';\nconst stringEscapeChars = new RegExp(\"['\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\" +\n    '\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]', 'g');\nconst escapeCharacters = {\n    '\\b': '\\\\b',\n    '\\t': '\\\\t',\n    '\\n': '\\\\n',\n    '\\f': '\\\\f',\n    '\\r': '\\\\r',\n    \"'\": \"\\\\'\",\n    '\\\\': '\\\\\\\\',\n};\nconst hex = 16;\nconst unicodeLength = 4;\nfunction escape(char) {\n    return (escapeCharacters[char] ||\n        `\\\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-unicodeLength)}`);\n}\nexport default function inspectString(string, options) {\n    if (stringEscapeChars.test(string)) {\n        string = string.replace(stringEscapeChars, escape);\n    }\n    return options.stylize(`'${truncate(string, options.truncate - 2)}'`, 'string');\n}\n","export default function inspectSymbol(value) {\n    if ('description' in Symbol.prototype) {\n        return value.description ? `Symbol(${value.description})` : 'Symbol()';\n    }\n    return value.toString();\n}\n","let getPromiseValue = () => 'Promise{…}';\ntry {\n    // @ts-ignore\n    const { getPromiseDetails, kPending, kRejected } = process.binding('util');\n    if (Array.isArray(getPromiseDetails(Promise.resolve()))) {\n        getPromiseValue = (value, options) => {\n            const [state, innerValue] = getPromiseDetails(value);\n            if (state === kPending) {\n                return 'Promise{<pending>}';\n            }\n            return `Promise${state === kRejected ? '!' : ''}{${options.inspect(innerValue, options)}}`;\n        };\n    }\n}\ncatch (notNode) {\n    /* ignore */\n}\nexport default getPromiseValue;\n","import { inspectList, inspectProperty } from './helpers.js';\nexport default function inspectObject(object, options) {\n    const properties = Object.getOwnPropertyNames(object);\n    const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];\n    if (properties.length === 0 && symbols.length === 0) {\n        return '{}';\n    }\n    options.truncate -= 4;\n    options.seen = options.seen || [];\n    if (options.seen.includes(object)) {\n        return '[Circular]';\n    }\n    options.seen.push(object);\n    const propertyContents = inspectList(properties.map(key => [key, object[key]]), options, inspectProperty);\n    const symbolContents = inspectList(symbols.map(key => [key, object[key]]), options, inspectProperty);\n    options.seen.pop();\n    let sep = '';\n    if (propertyContents && symbolContents) {\n        sep = ', ';\n    }\n    return `{ ${propertyContents}${sep}${symbolContents} }`;\n}\n","import inspectObject from './object.js';\nconst toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag ? Symbol.toStringTag : false;\nexport default function inspectClass(value, options) {\n    let name = '';\n    if (toStringTag && toStringTag in value) {\n        name = value[toStringTag];\n    }\n    name = name || value.constructor.name;\n    // Babel transforms anonymous classes to the name `_class`\n    if (!name || name === '_class') {\n        name = '<Anonymous Class>';\n    }\n    options.truncate -= name.length;\n    return `${name}${inspectObject(value, options)}`;\n}\n","import { inspectList } from './helpers.js';\nexport default function inspectArguments(args, options) {\n    if (args.length === 0)\n        return 'Arguments[]';\n    options.truncate -= 13;\n    return `Arguments[ ${inspectList(args, options)} ]`;\n}\n","import { inspectList, inspectProperty, truncate } from './helpers.js';\nconst errorKeys = [\n    'stack',\n    'line',\n    'column',\n    'name',\n    'message',\n    'fileName',\n    'lineNumber',\n    'columnNumber',\n    'number',\n    'description',\n    'cause',\n];\nexport default function inspectObject(error, options) {\n    const properties = Object.getOwnPropertyNames(error).filter(key => errorKeys.indexOf(key) === -1);\n    const name = error.name;\n    options.truncate -= name.length;\n    let message = '';\n    if (typeof error.message === 'string') {\n        message = truncate(error.message, options.truncate);\n    }\n    else {\n        properties.unshift('message');\n    }\n    message = message ? `: ${message}` : '';\n    options.truncate -= message.length + 5;\n    options.seen = options.seen || [];\n    if (options.seen.includes(error)) {\n        return '[Circular]';\n    }\n    options.seen.push(error);\n    const propertyContents = inspectList(properties.map(key => [key, error[key]]), options, inspectProperty);\n    return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ''}`;\n}\n","import { inspectList, truncator } from './helpers.js';\nexport function inspectAttribute([key, value], options) {\n    options.truncate -= 3;\n    if (!value) {\n        return `${options.stylize(String(key), 'yellow')}`;\n    }\n    return `${options.stylize(String(key), 'yellow')}=${options.stylize(`\"${value}\"`, 'string')}`;\n}\n// @ts-ignore (Deno doesn't have Element)\nexport function inspectHTMLCollection(collection, options) {\n    // eslint-disable-next-line no-use-before-define\n    return inspectList(collection, options, inspectHTML, '\\n');\n}\n// @ts-ignore (Deno doesn't have Element)\nexport default function inspectHTML(element, options) {\n    const properties = element.getAttributeNames();\n    const name = element.tagName.toLowerCase();\n    const head = options.stylize(`<${name}`, 'special');\n    const headClose = options.stylize(`>`, 'special');\n    const tail = options.stylize(`</${name}>`, 'special');\n    options.truncate -= name.length * 2 + 5;\n    let propertyContents = '';\n    if (properties.length > 0) {\n        propertyContents += ' ';\n        propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, ' ');\n    }\n    options.truncate -= propertyContents.length;\n    const truncate = options.truncate;\n    let children = inspectHTMLCollection(element.children, options);\n    if (children && children.length > truncate) {\n        children = `${truncator}(${element.children.length})`;\n    }\n    return `${head}${propertyContents}${headClose}${children}${tail}`;\n}\n","/* !\n * loupe\n * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\nimport inspectArray from './array.js';\nimport inspectTypedArray from './typedarray.js';\nimport inspectDate from './date.js';\nimport inspectFunction from './function.js';\nimport inspectMap from './map.js';\nimport inspectNumber from './number.js';\nimport inspectBigInt from './bigint.js';\nimport inspectRegExp from './regexp.js';\nimport inspectSet from './set.js';\nimport inspectString from './string.js';\nimport inspectSymbol from './symbol.js';\nimport inspectPromise from './promise.js';\nimport inspectClass from './class.js';\nimport inspectObject from './object.js';\nimport inspectArguments from './arguments.js';\nimport inspectError from './error.js';\nimport inspectHTMLElement, { inspectHTMLCollection } from './html.js';\nimport { normaliseOptions } from './helpers.js';\nconst symbolsSupported = typeof Symbol === 'function' && typeof Symbol.for === 'function';\nconst chaiInspect = symbolsSupported ? Symbol.for('chai/inspect') : '@@chai/inspect';\nlet nodeInspect = false;\ntry {\n    // eslint-disable-next-line global-require\n    // @ts-ignore\n    const nodeUtil = require('util');\n    nodeInspect = nodeUtil.inspect ? nodeUtil.inspect.custom : false;\n}\ncatch (noNodeInspect) {\n    nodeInspect = false;\n}\nconst constructorMap = new WeakMap();\nconst stringTagMap = {};\nconst baseTypesMap = {\n    undefined: (value, options) => options.stylize('undefined', 'undefined'),\n    null: (value, options) => options.stylize('null', 'null'),\n    boolean: (value, options) => options.stylize(String(value), 'boolean'),\n    Boolean: (value, options) => options.stylize(String(value), 'boolean'),\n    number: inspectNumber,\n    Number: inspectNumber,\n    bigint: inspectBigInt,\n    BigInt: inspectBigInt,\n    string: inspectString,\n    String: inspectString,\n    function: inspectFunction,\n    Function: inspectFunction,\n    symbol: inspectSymbol,\n    // A Symbol polyfill will return `Symbol` not `symbol` from typedetect\n    Symbol: inspectSymbol,\n    Array: inspectArray,\n    Date: inspectDate,\n    Map: inspectMap,\n    Set: inspectSet,\n    RegExp: inspectRegExp,\n    Promise: inspectPromise,\n    // WeakSet, WeakMap are totally opaque to us\n    WeakSet: (value, options) => options.stylize('WeakSet{…}', 'special'),\n    WeakMap: (value, options) => options.stylize('WeakMap{…}', 'special'),\n    Arguments: inspectArguments,\n    Int8Array: inspectTypedArray,\n    Uint8Array: inspectTypedArray,\n    Uint8ClampedArray: inspectTypedArray,\n    Int16Array: inspectTypedArray,\n    Uint16Array: inspectTypedArray,\n    Int32Array: inspectTypedArray,\n    Uint32Array: inspectTypedArray,\n    Float32Array: inspectTypedArray,\n    Float64Array: inspectTypedArray,\n    Generator: () => '',\n    DataView: () => '',\n    ArrayBuffer: () => '',\n    Error: inspectError,\n    HTMLCollection: inspectHTMLCollection,\n    NodeList: inspectHTMLCollection,\n};\n// eslint-disable-next-line complexity\nconst inspectCustom = (value, options, type) => {\n    if (chaiInspect in value && typeof value[chaiInspect] === 'function') {\n        return value[chaiInspect](options);\n    }\n    if (nodeInspect && nodeInspect in value && typeof value[nodeInspect] === 'function') {\n        return value[nodeInspect](options.depth, options);\n    }\n    if ('inspect' in value && typeof value.inspect === 'function') {\n        return value.inspect(options.depth, options);\n    }\n    if ('constructor' in value && constructorMap.has(value.constructor)) {\n        return constructorMap.get(value.constructor)(value, options);\n    }\n    if (stringTagMap[type]) {\n        return stringTagMap[type](value, options);\n    }\n    return '';\n};\nconst toString = Object.prototype.toString;\n// eslint-disable-next-line complexity\nexport function inspect(value, opts = {}) {\n    const options = normaliseOptions(opts, inspect);\n    const { customInspect } = options;\n    let type = value === null ? 'null' : typeof value;\n    if (type === 'object') {\n        type = toString.call(value).slice(8, -1);\n    }\n    // If it is a base value that we already support, then use Loupe's inspector\n    if (type in baseTypesMap) {\n        return baseTypesMap[type](value, options);\n    }\n    // If `options.customInspect` is set to true then try to use the custom inspector\n    if (customInspect && value) {\n        const output = inspectCustom(value, options, type);\n        if (output) {\n            if (typeof output === 'string')\n                return output;\n            return inspect(output, options);\n        }\n    }\n    const proto = value ? Object.getPrototypeOf(value) : false;\n    // If it's a plain Object then use Loupe's inspector\n    if (proto === Object.prototype || proto === null) {\n        return inspectObject(value, options);\n    }\n    // Specifically account for HTMLElements\n    // @ts-ignore\n    if (value && typeof HTMLElement === 'function' && value instanceof HTMLElement) {\n        return inspectHTMLElement(value, options);\n    }\n    if ('constructor' in value) {\n        // If it is a class, inspect it like an object but add the constructor name\n        if (value.constructor !== Object) {\n            return inspectClass(value, options);\n        }\n        // If it is an object with an anonymous prototype, display it as an object.\n        return inspectObject(value, options);\n    }\n    // last chance to check if it's an object\n    if (value === Object(value)) {\n        return inspectObject(value, options);\n    }\n    // We have run out of options! Just stringify the value\n    return options.stylize(String(value), type);\n}\nexport function registerConstructor(constructor, inspector) {\n    if (constructorMap.has(constructor)) {\n        return false;\n    }\n    constructorMap.set(constructor, inspector);\n    return true;\n}\nexport function registerStringTag(stringTag, inspector) {\n    if (stringTag in stringTagMap) {\n        return false;\n    }\n    stringTagMap[stringTag] = inspector;\n    return true;\n}\nexport const custom = chaiInspect;\nexport default inspect;\n","import { format as format$1, plugins } from '@vitest/pretty-format';\nimport * as loupe from 'loupe';\n\nconst {\n  AsymmetricMatcher,\n  DOMCollection,\n  DOMElement,\n  Immutable,\n  ReactElement,\n  ReactTestComponent\n} = plugins;\nconst PLUGINS = [\n  ReactTestComponent,\n  ReactElement,\n  DOMElement,\n  DOMCollection,\n  Immutable,\n  AsymmetricMatcher\n];\nfunction stringify(object, maxDepth = 10, { maxLength, ...options } = {}) {\n  const MAX_LENGTH = maxLength ?? 1e4;\n  let result;\n  try {\n    result = format$1(object, {\n      maxDepth,\n      escapeString: false,\n      // min: true,\n      plugins: PLUGINS,\n      ...options\n    });\n  } catch {\n    result = format$1(object, {\n      callToJSON: false,\n      maxDepth,\n      escapeString: false,\n      // min: true,\n      plugins: PLUGINS,\n      ...options\n    });\n  }\n  return result.length >= MAX_LENGTH && maxDepth > 1 ? stringify(object, Math.floor(maxDepth / 2)) : result;\n}\nconst formatRegExp = /%[sdjifoOc%]/g;\nfunction format(...args) {\n  if (typeof args[0] !== \"string\") {\n    const objects = [];\n    for (let i2 = 0; i2 < args.length; i2++) {\n      objects.push(inspect(args[i2], { depth: 0, colors: false }));\n    }\n    return objects.join(\" \");\n  }\n  const len = args.length;\n  let i = 1;\n  const template = args[0];\n  let str = String(template).replace(formatRegExp, (x) => {\n    if (x === \"%%\") {\n      return \"%\";\n    }\n    if (i >= len) {\n      return x;\n    }\n    switch (x) {\n      case \"%s\": {\n        const value = args[i++];\n        if (typeof value === \"bigint\") {\n          return `${value.toString()}n`;\n        }\n        if (typeof value === \"number\" && value === 0 && 1 / value < 0) {\n          return \"-0\";\n        }\n        if (typeof value === \"object\" && value !== null) {\n          return inspect(value, { depth: 0, colors: false });\n        }\n        return String(value);\n      }\n      case \"%d\": {\n        const value = args[i++];\n        if (typeof value === \"bigint\") {\n          return `${value.toString()}n`;\n        }\n        return Number(value).toString();\n      }\n      case \"%i\": {\n        const value = args[i++];\n        if (typeof value === \"bigint\") {\n          return `${value.toString()}n`;\n        }\n        return Number.parseInt(String(value)).toString();\n      }\n      case \"%f\":\n        return Number.parseFloat(String(args[i++])).toString();\n      case \"%o\":\n        return inspect(args[i++], { showHidden: true, showProxy: true });\n      case \"%O\":\n        return inspect(args[i++]);\n      case \"%c\": {\n        i++;\n        return \"\";\n      }\n      case \"%j\":\n        try {\n          return JSON.stringify(args[i++]);\n        } catch (err) {\n          const m = err.message;\n          if (\n            // chromium\n            m.includes(\"circular structure\") || m.includes(\"cyclic structures\") || m.includes(\"cyclic object\")\n          ) {\n            return \"[Circular]\";\n          }\n          throw err;\n        }\n      default:\n        return x;\n    }\n  });\n  for (let x = args[i]; i < len; x = args[++i]) {\n    if (x === null || typeof x !== \"object\") {\n      str += ` ${x}`;\n    } else {\n      str += ` ${inspect(x)}`;\n    }\n  }\n  return str;\n}\nfunction inspect(obj, options = {}) {\n  if (options.truncate === 0) {\n    options.truncate = Number.POSITIVE_INFINITY;\n  }\n  return loupe.inspect(obj, options);\n}\nfunction objDisplay(obj, options = {}) {\n  if (typeof options.truncate === \"undefined\") {\n    options.truncate = 40;\n  }\n  const str = inspect(obj, options);\n  const type = Object.prototype.toString.call(obj);\n  if (options.truncate && str.length >= options.truncate) {\n    if (type === \"[object Function]\") {\n      const fn = obj;\n      return !fn.name ? \"[Function]\" : `[Function: ${fn.name}]`;\n    } else if (type === \"[object Array]\") {\n      return `[ Array(${obj.length}) ]`;\n    } else if (type === \"[object Object]\") {\n      const keys = Object.keys(obj);\n      const kstr = keys.length > 2 ? `${keys.splice(0, 2).join(\", \")}, ...` : keys.join(\", \");\n      return `{ Object (${kstr}) }`;\n    } else {\n      return str;\n    }\n  }\n  return str;\n}\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nexport { format as f, getDefaultExportFromCjs as g, inspect as i, objDisplay as o, stringify as s };\n","function createSimpleStackTrace(options) {\n  const { message = \"$$stack trace error\", stackTraceLimit = 1 } = options || {};\n  const limit = Error.stackTraceLimit;\n  const prepareStackTrace = Error.prepareStackTrace;\n  Error.stackTraceLimit = stackTraceLimit;\n  Error.prepareStackTrace = (e) => e.stack;\n  const err = new Error(message);\n  const stackTrace = err.stack || \"\";\n  Error.prepareStackTrace = prepareStackTrace;\n  Error.stackTraceLimit = limit;\n  return stackTrace;\n}\nfunction notNullish(v) {\n  return v != null;\n}\nfunction assertTypes(value, name, types) {\n  const receivedType = typeof value;\n  const pass = types.includes(receivedType);\n  if (!pass) {\n    throw new TypeError(\n      `${name} value must be ${types.join(\" or \")}, received \"${receivedType}\"`\n    );\n  }\n}\nfunction isPrimitive(value) {\n  return value === null || typeof value !== \"function\" && typeof value !== \"object\";\n}\nfunction slash(path) {\n  return path.replace(/\\\\/g, \"/\");\n}\nfunction parseRegexp(input) {\n  const m = input.match(/(\\/?)(.+)\\1([a-z]*)/i);\n  if (!m) {\n    return /$^/;\n  }\n  if (m[3] && !/^(?!.*?(.).*?\\1)[gmixXsuUAJ]+$/.test(m[3])) {\n    return new RegExp(input);\n  }\n  return new RegExp(m[2], m[3]);\n}\nfunction toArray(array) {\n  if (array === null || array === void 0) {\n    array = [];\n  }\n  if (Array.isArray(array)) {\n    return array;\n  }\n  return [array];\n}\nfunction isObject(item) {\n  return item != null && typeof item === \"object\" && !Array.isArray(item);\n}\nfunction isFinalObj(obj) {\n  return obj === Object.prototype || obj === Function.prototype || obj === RegExp.prototype;\n}\nfunction getType(value) {\n  return Object.prototype.toString.apply(value).slice(8, -1);\n}\nfunction collectOwnProperties(obj, collector) {\n  const collect = typeof collector === \"function\" ? collector : (key) => collector.add(key);\n  Object.getOwnPropertyNames(obj).forEach(collect);\n  Object.getOwnPropertySymbols(obj).forEach(collect);\n}\nfunction getOwnProperties(obj) {\n  const ownProps = /* @__PURE__ */ new Set();\n  if (isFinalObj(obj)) {\n    return [];\n  }\n  collectOwnProperties(obj, ownProps);\n  return Array.from(ownProps);\n}\nconst defaultCloneOptions = { forceWritable: false };\nfunction deepClone(val, options = defaultCloneOptions) {\n  const seen = /* @__PURE__ */ new WeakMap();\n  return clone(val, seen, options);\n}\nfunction clone(val, seen, options = defaultCloneOptions) {\n  let k, out;\n  if (seen.has(val)) {\n    return seen.get(val);\n  }\n  if (Array.isArray(val)) {\n    out = Array.from({ length: k = val.length });\n    seen.set(val, out);\n    while (k--) {\n      out[k] = clone(val[k], seen, options);\n    }\n    return out;\n  }\n  if (Object.prototype.toString.call(val) === \"[object Object]\") {\n    out = Object.create(Object.getPrototypeOf(val));\n    seen.set(val, out);\n    const props = getOwnProperties(val);\n    for (const k2 of props) {\n      const descriptor = Object.getOwnPropertyDescriptor(val, k2);\n      if (!descriptor) {\n        continue;\n      }\n      const cloned = clone(val[k2], seen, options);\n      if (options.forceWritable) {\n        Object.defineProperty(out, k2, {\n          enumerable: descriptor.enumerable,\n          configurable: true,\n          writable: true,\n          value: cloned\n        });\n      } else if (\"get\" in descriptor) {\n        Object.defineProperty(out, k2, {\n          ...descriptor,\n          get() {\n            return cloned;\n          }\n        });\n      } else {\n        Object.defineProperty(out, k2, {\n          ...descriptor,\n          value: cloned\n        });\n      }\n    }\n    return out;\n  }\n  return val;\n}\nfunction noop() {\n}\nfunction objectAttr(source, path, defaultValue = void 0) {\n  const paths = path.replace(/\\[(\\d+)\\]/g, \".$1\").split(\".\");\n  let result = source;\n  for (const p of paths) {\n    result = new Object(result)[p];\n    if (result === void 0) {\n      return defaultValue;\n    }\n  }\n  return result;\n}\nfunction createDefer() {\n  let resolve = null;\n  let reject = null;\n  const p = new Promise((_resolve, _reject) => {\n    resolve = _resolve;\n    reject = _reject;\n  });\n  p.resolve = resolve;\n  p.reject = reject;\n  return p;\n}\nfunction getCallLastIndex(code) {\n  let charIndex = -1;\n  let inString = null;\n  let startedBracers = 0;\n  let endedBracers = 0;\n  let beforeChar = null;\n  while (charIndex <= code.length) {\n    beforeChar = code[charIndex];\n    charIndex++;\n    const char = code[charIndex];\n    const isCharString = char === '\"' || char === \"'\" || char === \"`\";\n    if (isCharString && beforeChar !== \"\\\\\") {\n      if (inString === char) {\n        inString = null;\n      } else if (!inString) {\n        inString = char;\n      }\n    }\n    if (!inString) {\n      if (char === \"(\") {\n        startedBracers++;\n      }\n      if (char === \")\") {\n        endedBracers++;\n      }\n    }\n    if (startedBracers && endedBracers && startedBracers === endedBracers) {\n      return charIndex;\n    }\n  }\n  return null;\n}\nfunction isNegativeNaN(val) {\n  if (!Number.isNaN(val)) {\n    return false;\n  }\n  const f64 = new Float64Array(1);\n  f64[0] = val;\n  const u32 = new Uint32Array(f64.buffer);\n  const isNegative = u32[1] >>> 31 === 1;\n  return isNegative;\n}\nfunction toString(v) {\n  return Object.prototype.toString.call(v);\n}\nfunction isPlainObject(val) {\n  return toString(val) === \"[object Object]\" && (!val.constructor || val.constructor.name === \"Object\");\n}\nfunction isMergeableObject(item) {\n  return isPlainObject(item) && !Array.isArray(item);\n}\nfunction deepMerge(target, ...sources) {\n  if (!sources.length) {\n    return target;\n  }\n  const source = sources.shift();\n  if (source === void 0) {\n    return target;\n  }\n  if (isMergeableObject(target) && isMergeableObject(source)) {\n    Object.keys(source).forEach((key) => {\n      const _source = source;\n      if (isMergeableObject(_source[key])) {\n        if (!target[key]) {\n          target[key] = {};\n        }\n        deepMerge(target[key], _source[key]);\n      } else {\n        target[key] = _source[key];\n      }\n    });\n  }\n  return deepMerge(target, ...sources);\n}\n\nexport { assertTypes, clone, createDefer, createSimpleStackTrace, deepClone, deepMerge, getCallLastIndex, getOwnProperties, getType, isNegativeNaN, isObject, isPrimitive, noop, notNullish, objectAttr, parseRegexp, slash, toArray };\n","import { g as getDefaultExportFromCjs } from './chunk-_commonjsHelpers.js';\nexport { f as format, i as inspect, o as objDisplay, s as stringify } from './chunk-_commonjsHelpers.js';\nexport { assertTypes, clone, createDefer, createSimpleStackTrace, deepClone, deepMerge, getCallLastIndex, getOwnProperties, getType, isNegativeNaN, isObject, isPrimitive, noop, notNullish, objectAttr, parseRegexp, slash, toArray } from './helpers.js';\nimport c from 'tinyrainbow';\nimport '@vitest/pretty-format';\nimport 'loupe';\n\nvar jsTokens_1;\nvar hasRequiredJsTokens;\n\nfunction requireJsTokens () {\n\tif (hasRequiredJsTokens) return jsTokens_1;\n\thasRequiredJsTokens = 1;\n\t// Copyright 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Simon Lydell\n\t// License: MIT.\n\tvar Identifier, JSXIdentifier, JSXPunctuator, JSXString, JSXText, KeywordsWithExpressionAfter, KeywordsWithNoLineTerminatorAfter, LineTerminatorSequence, MultiLineComment, Newline, NumericLiteral, Punctuator, RegularExpressionLiteral, SingleLineComment, StringLiteral, Template, TokensNotPrecedingObjectLiteral, TokensPrecedingExpression, WhiteSpace;\n\tRegularExpressionLiteral = /\\/(?![*\\/])(?:\\[(?:(?![\\]\\\\]).|\\\\.)*\\]|(?![\\/\\\\]).|\\\\.)*(\\/[$_\\u200C\\u200D\\p{ID_Continue}]*|\\\\)?/yu;\n\tPunctuator = /--|\\+\\+|=>|\\.{3}|\\??\\.(?!\\d)|(?:&&|\\|\\||\\?\\?|[+\\-%&|^]|\\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\\/(?![\\/*]))=?|[?~,:;[\\](){}]/y;\n\tIdentifier = /(\\x23?)(?=[$_\\p{ID_Start}\\\\])(?:[$_\\u200C\\u200D\\p{ID_Continue}]|\\\\u[\\da-fA-F]{4}|\\\\u\\{[\\da-fA-F]+\\})+/yu;\n\tStringLiteral = /(['\"])(?:(?!\\1)[^\\\\\\n\\r]|\\\\(?:\\r\\n|[^]))*(\\1)?/y;\n\tNumericLiteral = /(?:0[xX][\\da-fA-F](?:_?[\\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\\d)*n|(?:(?:0(?!\\d)|0\\d*[89]\\d*|[1-9](?:_?\\d)*)(?:\\.(?:\\d(?:_?\\d)*)?)?|\\.\\d(?:_?\\d)*)(?:[eE][+-]?\\d(?:_?\\d)*)?|0[0-7]+/y;\n\tTemplate = /[`}](?:[^`\\\\$]|\\\\[^]|\\$(?!\\{))*(`|\\$\\{)?/y;\n\tWhiteSpace = /[\\t\\v\\f\\ufeff\\p{Zs}]+/yu;\n\tLineTerminatorSequence = /\\r?\\n|[\\r\\u2028\\u2029]/y;\n\tMultiLineComment = /\\/\\*(?:[^*]|\\*(?!\\/))*(\\*\\/)?/y;\n\tSingleLineComment = /\\/\\/.*/y;\n\tJSXPunctuator = /[<>.:={}]|\\/(?![\\/*])/y;\n\tJSXIdentifier = /[$_\\p{ID_Start}][$_\\u200C\\u200D\\p{ID_Continue}-]*/yu;\n\tJSXString = /(['\"])(?:(?!\\1)[^])*(\\1)?/y;\n\tJSXText = /[^<>{}]+/y;\n\tTokensPrecedingExpression = /^(?:[\\/+-]|\\.{3}|\\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;\n\tTokensNotPrecedingObjectLiteral = /^(?:=>|[;\\]){}]|else|\\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;\n\tKeywordsWithExpressionAfter = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;\n\tKeywordsWithNoLineTerminatorAfter = /^(?:return|throw|yield)$/;\n\tNewline = RegExp(LineTerminatorSequence.source);\n\tjsTokens_1 = function*(input, {jsx = false} = {}) {\n\t\tvar braces, firstCodePoint, isExpression, lastIndex, lastSignificantToken, length, match, mode, nextLastIndex, nextLastSignificantToken, parenNesting, postfixIncDec, punctuator, stack;\n\t\t({length} = input);\n\t\tlastIndex = 0;\n\t\tlastSignificantToken = \"\";\n\t\tstack = [\n\t\t\t{tag: \"JS\"}\n\t\t];\n\t\tbraces = [];\n\t\tparenNesting = 0;\n\t\tpostfixIncDec = false;\n\t\twhile (lastIndex < length) {\n\t\t\tmode = stack[stack.length - 1];\n\t\t\tswitch (mode.tag) {\n\t\t\t\tcase \"JS\":\n\t\t\t\tcase \"JSNonExpressionParen\":\n\t\t\t\tcase \"InterpolationInTemplate\":\n\t\t\t\tcase \"InterpolationInJSX\":\n\t\t\t\t\tif (input[lastIndex] === \"/\" && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {\n\t\t\t\t\t\tRegularExpressionLiteral.lastIndex = lastIndex;\n\t\t\t\t\t\tif (match = RegularExpressionLiteral.exec(input)) {\n\t\t\t\t\t\t\tlastIndex = RegularExpressionLiteral.lastIndex;\n\t\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\ttype: \"RegularExpressionLiteral\",\n\t\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\t\tclosed: match[1] !== void 0 && match[1] !== \"\\\\\"\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tPunctuator.lastIndex = lastIndex;\n\t\t\t\t\tif (match = Punctuator.exec(input)) {\n\t\t\t\t\t\tpunctuator = match[0];\n\t\t\t\t\t\tnextLastIndex = Punctuator.lastIndex;\n\t\t\t\t\t\tnextLastSignificantToken = punctuator;\n\t\t\t\t\t\tswitch (punctuator) {\n\t\t\t\t\t\t\tcase \"(\":\n\t\t\t\t\t\t\t\tif (lastSignificantToken === \"?NonExpressionParenKeyword\") {\n\t\t\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\t\t\ttag: \"JSNonExpressionParen\",\n\t\t\t\t\t\t\t\t\t\tnesting: parenNesting\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tparenNesting++;\n\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \")\":\n\t\t\t\t\t\t\t\tparenNesting--;\n\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t\tif (mode.tag === \"JSNonExpressionParen\" && parenNesting === mode.nesting) {\n\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?NonExpressionParenEnd\";\n\t\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\t\t\tPunctuator.lastIndex = 0;\n\t\t\t\t\t\t\t\tisExpression = !TokensNotPrecedingObjectLiteral.test(lastSignificantToken) && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken));\n\t\t\t\t\t\t\t\tbraces.push(isExpression);\n\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"}\":\n\t\t\t\t\t\t\t\tswitch (mode.tag) {\n\t\t\t\t\t\t\t\t\tcase \"InterpolationInTemplate\":\n\t\t\t\t\t\t\t\t\t\tif (braces.length === mode.nesting) {\n\t\t\t\t\t\t\t\t\t\t\tTemplate.lastIndex = lastIndex;\n\t\t\t\t\t\t\t\t\t\t\tmatch = Template.exec(input);\n\t\t\t\t\t\t\t\t\t\t\tlastIndex = Template.lastIndex;\n\t\t\t\t\t\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\t\t\t\t\t\tif (match[1] === \"${\") {\n\t\t\t\t\t\t\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInTemplate\";\n\t\t\t\t\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype: \"TemplateMiddle\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype: \"TemplateTail\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\t\t\t\t\t\t\tclosed: match[1] === \"`\"\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase \"InterpolationInJSX\":\n\t\t\t\t\t\t\t\t\t\tif (braces.length === mode.nesting) {\n\t\t\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\t\t\tlastIndex += 1;\n\t\t\t\t\t\t\t\t\t\t\tlastSignificantToken = \"}\";\n\t\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: \"}\"\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpostfixIncDec = braces.pop();\n\t\t\t\t\t\t\t\tnextLastSignificantToken = postfixIncDec ? \"?ExpressionBraceEnd\" : \"}\";\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"]\":\n\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"++\":\n\t\t\t\t\t\t\tcase \"--\":\n\t\t\t\t\t\t\t\tnextLastSignificantToken = postfixIncDec ? \"?PostfixIncDec\" : \"?UnaryIncDec\";\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\t\t\tif (jsx && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {\n\t\t\t\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\t\t\t\tlastIndex += 1;\n\t\t\t\t\t\t\t\t\tlastSignificantToken = \"<\";\n\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\t\t\tvalue: punctuator\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlastIndex = nextLastIndex;\n\t\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"Punctuator\",\n\t\t\t\t\t\t\tvalue: punctuator\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tIdentifier.lastIndex = lastIndex;\n\t\t\t\t\tif (match = Identifier.exec(input)) {\n\t\t\t\t\t\tlastIndex = Identifier.lastIndex;\n\t\t\t\t\t\tnextLastSignificantToken = match[0];\n\t\t\t\t\t\tswitch (match[0]) {\n\t\t\t\t\t\t\tcase \"for\":\n\t\t\t\t\t\t\tcase \"if\":\n\t\t\t\t\t\t\tcase \"while\":\n\t\t\t\t\t\t\tcase \"with\":\n\t\t\t\t\t\t\t\tif (lastSignificantToken !== \".\" && lastSignificantToken !== \"?.\") {\n\t\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?NonExpressionParenKeyword\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\t\tpostfixIncDec = !KeywordsWithExpressionAfter.test(match[0]);\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: match[1] === \"#\" ? \"PrivateIdentifier\" : \"IdentifierName\",\n\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tStringLiteral.lastIndex = lastIndex;\n\t\t\t\t\tif (match = StringLiteral.exec(input)) {\n\t\t\t\t\t\tlastIndex = StringLiteral.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"StringLiteral\",\n\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\tclosed: match[2] !== void 0\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tNumericLiteral.lastIndex = lastIndex;\n\t\t\t\t\tif (match = NumericLiteral.exec(input)) {\n\t\t\t\t\t\tlastIndex = NumericLiteral.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"NumericLiteral\",\n\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tTemplate.lastIndex = lastIndex;\n\t\t\t\t\tif (match = Template.exec(input)) {\n\t\t\t\t\t\tlastIndex = Template.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tif (match[1] === \"${\") {\n\t\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInTemplate\";\n\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\ttag: \"InterpolationInTemplate\",\n\t\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\ttype: \"TemplateHead\",\n\t\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\ttype: \"NoSubstitutionTemplate\",\n\t\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\t\tclosed: match[1] === \"`\"\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"JSXTag\":\n\t\t\t\tcase \"JSXTagEnd\":\n\t\t\t\t\tJSXPunctuator.lastIndex = lastIndex;\n\t\t\t\t\tif (match = JSXPunctuator.exec(input)) {\n\t\t\t\t\t\tlastIndex = JSXPunctuator.lastIndex;\n\t\t\t\t\t\tnextLastSignificantToken = match[0];\n\t\t\t\t\t\tswitch (match[0]) {\n\t\t\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \">\":\n\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\tif (lastSignificantToken === \"/\" || mode.tag === \"JSXTagEnd\") {\n\t\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?JSX\";\n\t\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tstack.push({tag: \"JSXChildren\"});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\t\ttag: \"InterpolationInJSX\",\n\t\t\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?InterpolationInJSX\";\n\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\t\tif (lastSignificantToken === \"<\") {\n\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\tif (stack[stack.length - 1].tag === \"JSXChildren\") {\n\t\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tstack.push({tag: \"JSXTagEnd\"});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tJSXIdentifier.lastIndex = lastIndex;\n\t\t\t\t\tif (match = JSXIdentifier.exec(input)) {\n\t\t\t\t\t\tlastIndex = JSXIdentifier.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXIdentifier\",\n\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tJSXString.lastIndex = lastIndex;\n\t\t\t\t\tif (match = JSXString.exec(input)) {\n\t\t\t\t\t\tlastIndex = JSXString.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXString\",\n\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\tclosed: match[2] !== void 0\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"JSXChildren\":\n\t\t\t\t\tJSXText.lastIndex = lastIndex;\n\t\t\t\t\tif (match = JSXText.exec(input)) {\n\t\t\t\t\t\tlastIndex = JSXText.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXText\",\n\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tswitch (input[lastIndex]) {\n\t\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\t\tlastIndex++;\n\t\t\t\t\t\t\tlastSignificantToken = \"<\";\n\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\tvalue: \"<\"\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\ttag: \"InterpolationInJSX\",\n\t\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tlastIndex++;\n\t\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInJSX\";\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\tvalue: \"{\"\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t}\n\t\t\tWhiteSpace.lastIndex = lastIndex;\n\t\t\tif (match = WhiteSpace.exec(input)) {\n\t\t\t\tlastIndex = WhiteSpace.lastIndex;\n\t\t\t\tyield ({\n\t\t\t\t\ttype: \"WhiteSpace\",\n\t\t\t\t\tvalue: match[0]\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tLineTerminatorSequence.lastIndex = lastIndex;\n\t\t\tif (match = LineTerminatorSequence.exec(input)) {\n\t\t\t\tlastIndex = LineTerminatorSequence.lastIndex;\n\t\t\t\tpostfixIncDec = false;\n\t\t\t\tif (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {\n\t\t\t\t\tlastSignificantToken = \"?NoLineTerminatorHere\";\n\t\t\t\t}\n\t\t\t\tyield ({\n\t\t\t\t\ttype: \"LineTerminatorSequence\",\n\t\t\t\t\tvalue: match[0]\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tMultiLineComment.lastIndex = lastIndex;\n\t\t\tif (match = MultiLineComment.exec(input)) {\n\t\t\t\tlastIndex = MultiLineComment.lastIndex;\n\t\t\t\tif (Newline.test(match[0])) {\n\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\tif (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {\n\t\t\t\t\t\tlastSignificantToken = \"?NoLineTerminatorHere\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tyield ({\n\t\t\t\t\ttype: \"MultiLineComment\",\n\t\t\t\t\tvalue: match[0],\n\t\t\t\t\tclosed: match[1] !== void 0\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tSingleLineComment.lastIndex = lastIndex;\n\t\t\tif (match = SingleLineComment.exec(input)) {\n\t\t\t\tlastIndex = SingleLineComment.lastIndex;\n\t\t\t\tpostfixIncDec = false;\n\t\t\t\tyield ({\n\t\t\t\t\ttype: \"SingleLineComment\",\n\t\t\t\t\tvalue: match[0]\n\t\t\t\t});\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tfirstCodePoint = String.fromCodePoint(input.codePointAt(lastIndex));\n\t\t\tlastIndex += firstCodePoint.length;\n\t\t\tlastSignificantToken = firstCodePoint;\n\t\t\tpostfixIncDec = false;\n\t\t\tyield ({\n\t\t\t\ttype: mode.tag.startsWith(\"JSX\") ? \"JSXInvalid\" : \"Invalid\",\n\t\t\t\tvalue: firstCodePoint\n\t\t\t});\n\t\t}\n\t\treturn void 0;\n\t};\n\treturn jsTokens_1;\n}\n\nvar jsTokensExports = requireJsTokens();\nvar jsTokens = /*@__PURE__*/getDefaultExportFromCjs(jsTokensExports);\n\n// src/index.ts\nvar reservedWords = {\n  keyword: [\n    \"break\",\n    \"case\",\n    \"catch\",\n    \"continue\",\n    \"debugger\",\n    \"default\",\n    \"do\",\n    \"else\",\n    \"finally\",\n    \"for\",\n    \"function\",\n    \"if\",\n    \"return\",\n    \"switch\",\n    \"throw\",\n    \"try\",\n    \"var\",\n    \"const\",\n    \"while\",\n    \"with\",\n    \"new\",\n    \"this\",\n    \"super\",\n    \"class\",\n    \"extends\",\n    \"export\",\n    \"import\",\n    \"null\",\n    \"true\",\n    \"false\",\n    \"in\",\n    \"instanceof\",\n    \"typeof\",\n    \"void\",\n    \"delete\"\n  ],\n  strict: [\n    \"implements\",\n    \"interface\",\n    \"let\",\n    \"package\",\n    \"private\",\n    \"protected\",\n    \"public\",\n    \"static\",\n    \"yield\"\n  ]\n}, keywords = new Set(reservedWords.keyword), reservedWordsStrictSet = new Set(reservedWords.strict), sometimesKeywords = /* @__PURE__ */ new Set([\"as\", \"async\", \"from\", \"get\", \"of\", \"set\"]);\nfunction isReservedWord(word) {\n  return word === \"await\" || word === \"enum\";\n}\nfunction isStrictReservedWord(word) {\n  return isReservedWord(word) || reservedWordsStrictSet.has(word);\n}\nfunction isKeyword(word) {\n  return keywords.has(word);\n}\nvar BRACKET = /^[()[\\]{}]$/, getTokenType = function(token) {\n  if (token.type === \"IdentifierName\") {\n    if (isKeyword(token.value) || isStrictReservedWord(token.value) || sometimesKeywords.has(token.value))\n      return \"Keyword\";\n    if (token.value[0] && token.value[0] !== token.value[0].toLowerCase())\n      return \"IdentifierCapitalized\";\n  }\n  return token.type === \"Punctuator\" && BRACKET.test(token.value) ? \"Bracket\" : token.type === \"Invalid\" && (token.value === \"@\" || token.value === \"#\") ? \"Punctuator\" : token.type;\n};\nfunction getCallableType(token) {\n  if (token.type === \"IdentifierName\")\n    return \"IdentifierCallable\";\n  if (token.type === \"PrivateIdentifier\")\n    return \"PrivateIdentifierCallable\";\n  throw new Error(\"Not a callable token\");\n}\nvar colorize = (defs, type, value) => {\n  let colorize2 = defs[type];\n  return colorize2 ? colorize2(value) : value;\n}, highlightTokens = (defs, text, jsx) => {\n  let highlighted = \"\", lastPotentialCallable = null, stackedHighlight = \"\";\n  for (let token of jsTokens(text, { jsx })) {\n    let type = getTokenType(token);\n    if (type === \"IdentifierName\" || type === \"PrivateIdentifier\") {\n      lastPotentialCallable && (highlighted += colorize(defs, getTokenType(lastPotentialCallable), lastPotentialCallable.value) + stackedHighlight, stackedHighlight = \"\"), lastPotentialCallable = token;\n      continue;\n    }\n    if (lastPotentialCallable && (token.type === \"WhiteSpace\" || token.type === \"LineTerminatorSequence\" || token.type === \"Punctuator\" && (token.value === \"?.\" || token.value === \"!\"))) {\n      stackedHighlight += colorize(defs, type, token.value);\n      continue;\n    }\n    if (stackedHighlight && !lastPotentialCallable && (highlighted += stackedHighlight, stackedHighlight = \"\"), lastPotentialCallable) {\n      let type2 = token.type === \"Punctuator\" && token.value === \"(\" ? getCallableType(lastPotentialCallable) : getTokenType(lastPotentialCallable);\n      highlighted += colorize(defs, type2, lastPotentialCallable.value) + stackedHighlight, stackedHighlight = \"\", lastPotentialCallable = null;\n    }\n    highlighted += colorize(defs, type, token.value);\n  }\n  return highlighted;\n};\nfunction highlight$1(code, options = { jsx: !1, colors: {} }) {\n  return code && highlightTokens(options.colors || {}, code, options.jsx);\n}\n\nfunction getDefs(c2) {\n  const Invalid = (text) => c2.white(c2.bgRed(c2.bold(text)));\n  return {\n    Keyword: c2.magenta,\n    IdentifierCapitalized: c2.yellow,\n    Punctuator: c2.yellow,\n    StringLiteral: c2.green,\n    NoSubstitutionTemplate: c2.green,\n    MultiLineComment: c2.gray,\n    SingleLineComment: c2.gray,\n    RegularExpressionLiteral: c2.cyan,\n    NumericLiteral: c2.blue,\n    TemplateHead: (text) => c2.green(text.slice(0, text.length - 2)) + c2.cyan(text.slice(-2)),\n    TemplateTail: (text) => c2.cyan(text.slice(0, 1)) + c2.green(text.slice(1)),\n    TemplateMiddle: (text) => c2.cyan(text.slice(0, 1)) + c2.green(text.slice(1, text.length - 2)) + c2.cyan(text.slice(-2)),\n    IdentifierCallable: c2.blue,\n    PrivateIdentifierCallable: (text) => `#${c2.blue(text.slice(1))}`,\n    Invalid,\n    JSXString: c2.green,\n    JSXIdentifier: c2.yellow,\n    JSXInvalid: Invalid,\n    JSXPunctuator: c2.yellow\n  };\n}\nfunction highlight(code, options = { jsx: false }) {\n  return highlight$1(code, {\n    jsx: options.jsx,\n    colors: getDefs(options.colors || c)\n  });\n}\n\nconst urlAlphabet = \"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict\";\nfunction nanoid(size = 21) {\n  let id = \"\";\n  let i = size;\n  while (i--) {\n    id += urlAlphabet[Math.random() * 64 | 0];\n  }\n  return id;\n}\n\nconst lineSplitRE = /\\r?\\n/;\nfunction positionToOffset(source, lineNumber, columnNumber) {\n  const lines = source.split(lineSplitRE);\n  const nl = /\\r\\n/.test(source) ? 2 : 1;\n  let start = 0;\n  if (lineNumber > lines.length) {\n    return source.length;\n  }\n  for (let i = 0; i < lineNumber - 1; i++) {\n    start += lines[i].length + nl;\n  }\n  return start + columnNumber;\n}\nfunction offsetToLineNumber(source, offset) {\n  if (offset > source.length) {\n    throw new Error(\n      `offset is longer than source length! offset ${offset} > length ${source.length}`\n    );\n  }\n  const lines = source.split(lineSplitRE);\n  const nl = /\\r\\n/.test(source) ? 2 : 1;\n  let counted = 0;\n  let line = 0;\n  for (; line < lines.length; line++) {\n    const lineLength = lines[line].length + nl;\n    if (counted + lineLength >= offset) {\n      break;\n    }\n    counted += lineLength;\n  }\n  return line + 1;\n}\n\nconst RealDate = Date;\nfunction random(seed) {\n  const x = Math.sin(seed++) * 1e4;\n  return x - Math.floor(x);\n}\nfunction shuffle(array, seed = RealDate.now()) {\n  let length = array.length;\n  while (length) {\n    const index = Math.floor(random(seed) * length--);\n    const previous = array[length];\n    array[length] = array[index];\n    array[index] = previous;\n    ++seed;\n  }\n  return array;\n}\n\nconst SAFE_TIMERS_SYMBOL = Symbol(\"vitest:SAFE_TIMERS\");\nfunction getSafeTimers() {\n  const {\n    setTimeout: safeSetTimeout,\n    setInterval: safeSetInterval,\n    clearInterval: safeClearInterval,\n    clearTimeout: safeClearTimeout,\n    setImmediate: safeSetImmediate,\n    clearImmediate: safeClearImmediate\n  } = globalThis[SAFE_TIMERS_SYMBOL] || globalThis;\n  const { nextTick: safeNextTick } = globalThis[SAFE_TIMERS_SYMBOL] || globalThis.process || { nextTick: (cb) => cb() };\n  return {\n    nextTick: safeNextTick,\n    setTimeout: safeSetTimeout,\n    setInterval: safeSetInterval,\n    clearInterval: safeClearInterval,\n    clearTimeout: safeClearTimeout,\n    setImmediate: safeSetImmediate,\n    clearImmediate: safeClearImmediate\n  };\n}\nfunction setSafeTimers() {\n  const {\n    setTimeout: safeSetTimeout,\n    setInterval: safeSetInterval,\n    clearInterval: safeClearInterval,\n    clearTimeout: safeClearTimeout,\n    setImmediate: safeSetImmediate,\n    clearImmediate: safeClearImmediate\n  } = globalThis;\n  const { nextTick: safeNextTick } = globalThis.process || {\n    nextTick: (cb) => cb()\n  };\n  const timers = {\n    nextTick: safeNextTick,\n    setTimeout: safeSetTimeout,\n    setInterval: safeSetInterval,\n    clearInterval: safeClearInterval,\n    clearTimeout: safeClearTimeout,\n    setImmediate: safeSetImmediate,\n    clearImmediate: safeClearImmediate\n  };\n  globalThis[SAFE_TIMERS_SYMBOL] = timers;\n}\n\nexport { getSafeTimers, highlight, lineSplitRE, nanoid, offsetToLineNumber, positionToOffset, setSafeTimers, shuffle };\n","var __defProp = Object.defineProperty;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\nvar __commonJS = (cb, mod) => function __require() {\n  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\n\n// (disabled):util\nvar require_util = __commonJS({\n  \"(disabled):util\"() {\n  }\n});\n\n// lib/chai/utils/index.js\nvar utils_exports = {};\n__export(utils_exports, {\n  addChainableMethod: () => addChainableMethod,\n  addLengthGuard: () => addLengthGuard,\n  addMethod: () => addMethod,\n  addProperty: () => addProperty,\n  checkError: () => check_error_exports,\n  compareByInspect: () => compareByInspect,\n  eql: () => deep_eql_default,\n  expectTypes: () => expectTypes,\n  flag: () => flag,\n  getActual: () => getActual,\n  getMessage: () => getMessage2,\n  getName: () => getName,\n  getOperator: () => getOperator,\n  getOwnEnumerableProperties: () => getOwnEnumerableProperties,\n  getOwnEnumerablePropertySymbols: () => getOwnEnumerablePropertySymbols,\n  getPathInfo: () => getPathInfo,\n  hasProperty: () => hasProperty,\n  inspect: () => inspect2,\n  isNaN: () => isNaN2,\n  isNumeric: () => isNumeric,\n  isProxyEnabled: () => isProxyEnabled,\n  isRegExp: () => isRegExp2,\n  objDisplay: () => objDisplay,\n  overwriteChainableMethod: () => overwriteChainableMethod,\n  overwriteMethod: () => overwriteMethod,\n  overwriteProperty: () => overwriteProperty,\n  proxify: () => proxify,\n  test: () => test,\n  transferFlags: () => transferFlags,\n  type: () => type\n});\n\n// node_modules/check-error/index.js\nvar check_error_exports = {};\n__export(check_error_exports, {\n  compatibleConstructor: () => compatibleConstructor,\n  compatibleInstance: () => compatibleInstance,\n  compatibleMessage: () => compatibleMessage,\n  getConstructorName: () => getConstructorName,\n  getMessage: () => getMessage\n});\nfunction isErrorInstance(obj) {\n  return obj instanceof Error || Object.prototype.toString.call(obj) === \"[object Error]\";\n}\n__name(isErrorInstance, \"isErrorInstance\");\nfunction isRegExp(obj) {\n  return Object.prototype.toString.call(obj) === \"[object RegExp]\";\n}\n__name(isRegExp, \"isRegExp\");\nfunction compatibleInstance(thrown, errorLike) {\n  return isErrorInstance(errorLike) && thrown === errorLike;\n}\n__name(compatibleInstance, \"compatibleInstance\");\nfunction compatibleConstructor(thrown, errorLike) {\n  if (isErrorInstance(errorLike)) {\n    return thrown.constructor === errorLike.constructor || thrown instanceof errorLike.constructor;\n  } else if ((typeof errorLike === \"object\" || typeof errorLike === \"function\") && errorLike.prototype) {\n    return thrown.constructor === errorLike || thrown instanceof errorLike;\n  }\n  return false;\n}\n__name(compatibleConstructor, \"compatibleConstructor\");\nfunction compatibleMessage(thrown, errMatcher) {\n  const comparisonString = typeof thrown === \"string\" ? thrown : thrown.message;\n  if (isRegExp(errMatcher)) {\n    return errMatcher.test(comparisonString);\n  } else if (typeof errMatcher === \"string\") {\n    return comparisonString.indexOf(errMatcher) !== -1;\n  }\n  return false;\n}\n__name(compatibleMessage, \"compatibleMessage\");\nfunction getConstructorName(errorLike) {\n  let constructorName = errorLike;\n  if (isErrorInstance(errorLike)) {\n    constructorName = errorLike.constructor.name;\n  } else if (typeof errorLike === \"function\") {\n    constructorName = errorLike.name;\n    if (constructorName === \"\") {\n      const newConstructorName = new errorLike().name;\n      constructorName = newConstructorName || constructorName;\n    }\n  }\n  return constructorName;\n}\n__name(getConstructorName, \"getConstructorName\");\nfunction getMessage(errorLike) {\n  let msg = \"\";\n  if (errorLike && errorLike.message) {\n    msg = errorLike.message;\n  } else if (typeof errorLike === \"string\") {\n    msg = errorLike;\n  }\n  return msg;\n}\n__name(getMessage, \"getMessage\");\n\n// lib/chai/utils/flag.js\nfunction flag(obj, key, value) {\n  var flags = obj.__flags || (obj.__flags = /* @__PURE__ */ Object.create(null));\n  if (arguments.length === 3) {\n    flags[key] = value;\n  } else {\n    return flags[key];\n  }\n}\n__name(flag, \"flag\");\n\n// lib/chai/utils/test.js\nfunction test(obj, args) {\n  var negate = flag(obj, \"negate\"), expr = args[0];\n  return negate ? !expr : expr;\n}\n__name(test, \"test\");\n\n// lib/chai/utils/type-detect.js\nfunction type(obj) {\n  if (typeof obj === \"undefined\") {\n    return \"undefined\";\n  }\n  if (obj === null) {\n    return \"null\";\n  }\n  const stringTag = obj[Symbol.toStringTag];\n  if (typeof stringTag === \"string\") {\n    return stringTag;\n  }\n  const type3 = Object.prototype.toString.call(obj).slice(8, -1);\n  return type3;\n}\n__name(type, \"type\");\n\n// node_modules/assertion-error/index.js\nvar canElideFrames = \"captureStackTrace\" in Error;\nvar AssertionError = class _AssertionError extends Error {\n  static {\n    __name(this, \"AssertionError\");\n  }\n  message;\n  get name() {\n    return \"AssertionError\";\n  }\n  get ok() {\n    return false;\n  }\n  constructor(message = \"Unspecified AssertionError\", props, ssf) {\n    super(message);\n    this.message = message;\n    if (canElideFrames) {\n      Error.captureStackTrace(this, ssf || _AssertionError);\n    }\n    for (const key in props) {\n      if (!(key in this)) {\n        this[key] = props[key];\n      }\n    }\n  }\n  toJSON(stack) {\n    return {\n      ...this,\n      name: this.name,\n      message: this.message,\n      ok: false,\n      stack: stack !== false ? this.stack : void 0\n    };\n  }\n};\n\n// lib/chai/utils/expectTypes.js\nfunction expectTypes(obj, types) {\n  var flagMsg = flag(obj, \"message\");\n  var ssfi = flag(obj, \"ssfi\");\n  flagMsg = flagMsg ? flagMsg + \": \" : \"\";\n  obj = flag(obj, \"object\");\n  types = types.map(function(t) {\n    return t.toLowerCase();\n  });\n  types.sort();\n  var str = types.map(function(t, index) {\n    var art = ~[\"a\", \"e\", \"i\", \"o\", \"u\"].indexOf(t.charAt(0)) ? \"an\" : \"a\";\n    var or = types.length > 1 && index === types.length - 1 ? \"or \" : \"\";\n    return or + art + \" \" + t;\n  }).join(\", \");\n  var objType = type(obj).toLowerCase();\n  if (!types.some(function(expected) {\n    return objType === expected;\n  })) {\n    throw new AssertionError(\n      flagMsg + \"object tested must be \" + str + \", but \" + objType + \" given\",\n      void 0,\n      ssfi\n    );\n  }\n}\n__name(expectTypes, \"expectTypes\");\n\n// lib/chai/utils/getActual.js\nfunction getActual(obj, args) {\n  return args.length > 4 ? args[4] : obj._obj;\n}\n__name(getActual, \"getActual\");\n\n// node_modules/loupe/lib/helpers.js\nvar ansiColors = {\n  bold: [\"1\", \"22\"],\n  dim: [\"2\", \"22\"],\n  italic: [\"3\", \"23\"],\n  underline: [\"4\", \"24\"],\n  // 5 & 6 are blinking\n  inverse: [\"7\", \"27\"],\n  hidden: [\"8\", \"28\"],\n  strike: [\"9\", \"29\"],\n  // 10-20 are fonts\n  // 21-29 are resets for 1-9\n  black: [\"30\", \"39\"],\n  red: [\"31\", \"39\"],\n  green: [\"32\", \"39\"],\n  yellow: [\"33\", \"39\"],\n  blue: [\"34\", \"39\"],\n  magenta: [\"35\", \"39\"],\n  cyan: [\"36\", \"39\"],\n  white: [\"37\", \"39\"],\n  brightblack: [\"30;1\", \"39\"],\n  brightred: [\"31;1\", \"39\"],\n  brightgreen: [\"32;1\", \"39\"],\n  brightyellow: [\"33;1\", \"39\"],\n  brightblue: [\"34;1\", \"39\"],\n  brightmagenta: [\"35;1\", \"39\"],\n  brightcyan: [\"36;1\", \"39\"],\n  brightwhite: [\"37;1\", \"39\"],\n  grey: [\"90\", \"39\"]\n};\nvar styles = {\n  special: \"cyan\",\n  number: \"yellow\",\n  bigint: \"yellow\",\n  boolean: \"yellow\",\n  undefined: \"grey\",\n  null: \"bold\",\n  string: \"green\",\n  symbol: \"green\",\n  date: \"magenta\",\n  regexp: \"red\"\n};\nvar truncator = \"\\u2026\";\nfunction colorise(value, styleType) {\n  const color = ansiColors[styles[styleType]] || ansiColors[styleType] || \"\";\n  if (!color) {\n    return String(value);\n  }\n  return `\\x1B[${color[0]}m${String(value)}\\x1B[${color[1]}m`;\n}\n__name(colorise, \"colorise\");\nfunction normaliseOptions({\n  showHidden = false,\n  depth = 2,\n  colors = false,\n  customInspect = true,\n  showProxy = false,\n  maxArrayLength = Infinity,\n  breakLength = Infinity,\n  seen = [],\n  // eslint-disable-next-line no-shadow\n  truncate: truncate2 = Infinity,\n  stylize = String\n} = {}, inspect3) {\n  const options = {\n    showHidden: Boolean(showHidden),\n    depth: Number(depth),\n    colors: Boolean(colors),\n    customInspect: Boolean(customInspect),\n    showProxy: Boolean(showProxy),\n    maxArrayLength: Number(maxArrayLength),\n    breakLength: Number(breakLength),\n    truncate: Number(truncate2),\n    seen,\n    inspect: inspect3,\n    stylize\n  };\n  if (options.colors) {\n    options.stylize = colorise;\n  }\n  return options;\n}\n__name(normaliseOptions, \"normaliseOptions\");\nfunction isHighSurrogate(char) {\n  return char >= \"\\uD800\" && char <= \"\\uDBFF\";\n}\n__name(isHighSurrogate, \"isHighSurrogate\");\nfunction truncate(string, length, tail = truncator) {\n  string = String(string);\n  const tailLength = tail.length;\n  const stringLength = string.length;\n  if (tailLength > length && stringLength > tailLength) {\n    return tail;\n  }\n  if (stringLength > length && stringLength > tailLength) {\n    let end = length - tailLength;\n    if (end > 0 && isHighSurrogate(string[end - 1])) {\n      end = end - 1;\n    }\n    return `${string.slice(0, end)}${tail}`;\n  }\n  return string;\n}\n__name(truncate, \"truncate\");\nfunction inspectList(list, options, inspectItem, separator = \", \") {\n  inspectItem = inspectItem || options.inspect;\n  const size = list.length;\n  if (size === 0)\n    return \"\";\n  const originalLength = options.truncate;\n  let output = \"\";\n  let peek = \"\";\n  let truncated = \"\";\n  for (let i = 0; i < size; i += 1) {\n    const last = i + 1 === list.length;\n    const secondToLast = i + 2 === list.length;\n    truncated = `${truncator}(${list.length - i})`;\n    const value = list[i];\n    options.truncate = originalLength - output.length - (last ? 0 : separator.length);\n    const string = peek || inspectItem(value, options) + (last ? \"\" : separator);\n    const nextLength = output.length + string.length;\n    const truncatedLength = nextLength + truncated.length;\n    if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) {\n      break;\n    }\n    if (!last && !secondToLast && truncatedLength > originalLength) {\n      break;\n    }\n    peek = last ? \"\" : inspectItem(list[i + 1], options) + (secondToLast ? \"\" : separator);\n    if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {\n      break;\n    }\n    output += string;\n    if (!last && !secondToLast && nextLength + peek.length >= originalLength) {\n      truncated = `${truncator}(${list.length - i - 1})`;\n      break;\n    }\n    truncated = \"\";\n  }\n  return `${output}${truncated}`;\n}\n__name(inspectList, \"inspectList\");\nfunction quoteComplexKey(key) {\n  if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) {\n    return key;\n  }\n  return JSON.stringify(key).replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"').replace(/(^\"|\"$)/g, \"'\");\n}\n__name(quoteComplexKey, \"quoteComplexKey\");\nfunction inspectProperty([key, value], options) {\n  options.truncate -= 2;\n  if (typeof key === \"string\") {\n    key = quoteComplexKey(key);\n  } else if (typeof key !== \"number\") {\n    key = `[${options.inspect(key, options)}]`;\n  }\n  options.truncate -= key.length;\n  value = options.inspect(value, options);\n  return `${key}: ${value}`;\n}\n__name(inspectProperty, \"inspectProperty\");\n\n// node_modules/loupe/lib/array.js\nfunction inspectArray(array, options) {\n  const nonIndexProperties = Object.keys(array).slice(array.length);\n  if (!array.length && !nonIndexProperties.length)\n    return \"[]\";\n  options.truncate -= 4;\n  const listContents = inspectList(array, options);\n  options.truncate -= listContents.length;\n  let propertyContents = \"\";\n  if (nonIndexProperties.length) {\n    propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);\n  }\n  return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : \"\"} ]`;\n}\n__name(inspectArray, \"inspectArray\");\n\n// node_modules/loupe/lib/typedarray.js\nvar getArrayName = /* @__PURE__ */ __name((array) => {\n  if (typeof Buffer === \"function\" && array instanceof Buffer) {\n    return \"Buffer\";\n  }\n  if (array[Symbol.toStringTag]) {\n    return array[Symbol.toStringTag];\n  }\n  return array.constructor.name;\n}, \"getArrayName\");\nfunction inspectTypedArray(array, options) {\n  const name = getArrayName(array);\n  options.truncate -= name.length + 4;\n  const nonIndexProperties = Object.keys(array).slice(array.length);\n  if (!array.length && !nonIndexProperties.length)\n    return `${name}[]`;\n  let output = \"\";\n  for (let i = 0; i < array.length; i++) {\n    const string = `${options.stylize(truncate(array[i], options.truncate), \"number\")}${i === array.length - 1 ? \"\" : \", \"}`;\n    options.truncate -= string.length;\n    if (array[i] !== array.length && options.truncate <= 3) {\n      output += `${truncator}(${array.length - array[i] + 1})`;\n      break;\n    }\n    output += string;\n  }\n  let propertyContents = \"\";\n  if (nonIndexProperties.length) {\n    propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);\n  }\n  return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : \"\"} ]`;\n}\n__name(inspectTypedArray, \"inspectTypedArray\");\n\n// node_modules/loupe/lib/date.js\nfunction inspectDate(dateObject, options) {\n  const stringRepresentation = dateObject.toJSON();\n  if (stringRepresentation === null) {\n    return \"Invalid Date\";\n  }\n  const split = stringRepresentation.split(\"T\");\n  const date = split[0];\n  return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, \"date\");\n}\n__name(inspectDate, \"inspectDate\");\n\n// node_modules/loupe/lib/function.js\nfunction inspectFunction(func, options) {\n  const functionType = func[Symbol.toStringTag] || \"Function\";\n  const name = func.name;\n  if (!name) {\n    return options.stylize(`[${functionType}]`, \"special\");\n  }\n  return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, \"special\");\n}\n__name(inspectFunction, \"inspectFunction\");\n\n// node_modules/loupe/lib/map.js\nfunction inspectMapEntry([key, value], options) {\n  options.truncate -= 4;\n  key = options.inspect(key, options);\n  options.truncate -= key.length;\n  value = options.inspect(value, options);\n  return `${key} => ${value}`;\n}\n__name(inspectMapEntry, \"inspectMapEntry\");\nfunction mapToEntries(map) {\n  const entries = [];\n  map.forEach((value, key) => {\n    entries.push([key, value]);\n  });\n  return entries;\n}\n__name(mapToEntries, \"mapToEntries\");\nfunction inspectMap(map, options) {\n  const size = map.size - 1;\n  if (size <= 0) {\n    return \"Map{}\";\n  }\n  options.truncate -= 7;\n  return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;\n}\n__name(inspectMap, \"inspectMap\");\n\n// node_modules/loupe/lib/number.js\nvar isNaN = Number.isNaN || ((i) => i !== i);\nfunction inspectNumber(number, options) {\n  if (isNaN(number)) {\n    return options.stylize(\"NaN\", \"number\");\n  }\n  if (number === Infinity) {\n    return options.stylize(\"Infinity\", \"number\");\n  }\n  if (number === -Infinity) {\n    return options.stylize(\"-Infinity\", \"number\");\n  }\n  if (number === 0) {\n    return options.stylize(1 / number === Infinity ? \"+0\" : \"-0\", \"number\");\n  }\n  return options.stylize(truncate(String(number), options.truncate), \"number\");\n}\n__name(inspectNumber, \"inspectNumber\");\n\n// node_modules/loupe/lib/bigint.js\nfunction inspectBigInt(number, options) {\n  let nums = truncate(number.toString(), options.truncate - 1);\n  if (nums !== truncator)\n    nums += \"n\";\n  return options.stylize(nums, \"bigint\");\n}\n__name(inspectBigInt, \"inspectBigInt\");\n\n// node_modules/loupe/lib/regexp.js\nfunction inspectRegExp(value, options) {\n  const flags = value.toString().split(\"/\")[2];\n  const sourceLength = options.truncate - (2 + flags.length);\n  const source = value.source;\n  return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, \"regexp\");\n}\n__name(inspectRegExp, \"inspectRegExp\");\n\n// node_modules/loupe/lib/set.js\nfunction arrayFromSet(set2) {\n  const values = [];\n  set2.forEach((value) => {\n    values.push(value);\n  });\n  return values;\n}\n__name(arrayFromSet, \"arrayFromSet\");\nfunction inspectSet(set2, options) {\n  if (set2.size === 0)\n    return \"Set{}\";\n  options.truncate -= 7;\n  return `Set{ ${inspectList(arrayFromSet(set2), options)} }`;\n}\n__name(inspectSet, \"inspectSet\");\n\n// node_modules/loupe/lib/string.js\nvar stringEscapeChars = new RegExp(\"['\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]\", \"g\");\nvar escapeCharacters = {\n  \"\\b\": \"\\\\b\",\n  \"\t\": \"\\\\t\",\n  \"\\n\": \"\\\\n\",\n  \"\\f\": \"\\\\f\",\n  \"\\r\": \"\\\\r\",\n  \"'\": \"\\\\'\",\n  \"\\\\\": \"\\\\\\\\\"\n};\nvar hex = 16;\nvar unicodeLength = 4;\nfunction escape(char) {\n  return escapeCharacters[char] || `\\\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-unicodeLength)}`;\n}\n__name(escape, \"escape\");\nfunction inspectString(string, options) {\n  if (stringEscapeChars.test(string)) {\n    string = string.replace(stringEscapeChars, escape);\n  }\n  return options.stylize(`'${truncate(string, options.truncate - 2)}'`, \"string\");\n}\n__name(inspectString, \"inspectString\");\n\n// node_modules/loupe/lib/symbol.js\nfunction inspectSymbol(value) {\n  if (\"description\" in Symbol.prototype) {\n    return value.description ? `Symbol(${value.description})` : \"Symbol()\";\n  }\n  return value.toString();\n}\n__name(inspectSymbol, \"inspectSymbol\");\n\n// node_modules/loupe/lib/promise.js\nvar getPromiseValue = /* @__PURE__ */ __name(() => \"Promise{\\u2026}\", \"getPromiseValue\");\ntry {\n  const { getPromiseDetails, kPending, kRejected } = process.binding(\"util\");\n  if (Array.isArray(getPromiseDetails(Promise.resolve()))) {\n    getPromiseValue = /* @__PURE__ */ __name((value, options) => {\n      const [state, innerValue] = getPromiseDetails(value);\n      if (state === kPending) {\n        return \"Promise{<pending>}\";\n      }\n      return `Promise${state === kRejected ? \"!\" : \"\"}{${options.inspect(innerValue, options)}}`;\n    }, \"getPromiseValue\");\n  }\n} catch (notNode) {\n}\nvar promise_default = getPromiseValue;\n\n// node_modules/loupe/lib/object.js\nfunction inspectObject(object, options) {\n  const properties = Object.getOwnPropertyNames(object);\n  const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];\n  if (properties.length === 0 && symbols.length === 0) {\n    return \"{}\";\n  }\n  options.truncate -= 4;\n  options.seen = options.seen || [];\n  if (options.seen.includes(object)) {\n    return \"[Circular]\";\n  }\n  options.seen.push(object);\n  const propertyContents = inspectList(properties.map((key) => [key, object[key]]), options, inspectProperty);\n  const symbolContents = inspectList(symbols.map((key) => [key, object[key]]), options, inspectProperty);\n  options.seen.pop();\n  let sep = \"\";\n  if (propertyContents && symbolContents) {\n    sep = \", \";\n  }\n  return `{ ${propertyContents}${sep}${symbolContents} }`;\n}\n__name(inspectObject, \"inspectObject\");\n\n// node_modules/loupe/lib/class.js\nvar toStringTag = typeof Symbol !== \"undefined\" && Symbol.toStringTag ? Symbol.toStringTag : false;\nfunction inspectClass(value, options) {\n  let name = \"\";\n  if (toStringTag && toStringTag in value) {\n    name = value[toStringTag];\n  }\n  name = name || value.constructor.name;\n  if (!name || name === \"_class\") {\n    name = \"<Anonymous Class>\";\n  }\n  options.truncate -= name.length;\n  return `${name}${inspectObject(value, options)}`;\n}\n__name(inspectClass, \"inspectClass\");\n\n// node_modules/loupe/lib/arguments.js\nfunction inspectArguments(args, options) {\n  if (args.length === 0)\n    return \"Arguments[]\";\n  options.truncate -= 13;\n  return `Arguments[ ${inspectList(args, options)} ]`;\n}\n__name(inspectArguments, \"inspectArguments\");\n\n// node_modules/loupe/lib/error.js\nvar errorKeys = [\n  \"stack\",\n  \"line\",\n  \"column\",\n  \"name\",\n  \"message\",\n  \"fileName\",\n  \"lineNumber\",\n  \"columnNumber\",\n  \"number\",\n  \"description\",\n  \"cause\"\n];\nfunction inspectObject2(error, options) {\n  const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys.indexOf(key) === -1);\n  const name = error.name;\n  options.truncate -= name.length;\n  let message = \"\";\n  if (typeof error.message === \"string\") {\n    message = truncate(error.message, options.truncate);\n  } else {\n    properties.unshift(\"message\");\n  }\n  message = message ? `: ${message}` : \"\";\n  options.truncate -= message.length + 5;\n  options.seen = options.seen || [];\n  if (options.seen.includes(error)) {\n    return \"[Circular]\";\n  }\n  options.seen.push(error);\n  const propertyContents = inspectList(properties.map((key) => [key, error[key]]), options, inspectProperty);\n  return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : \"\"}`;\n}\n__name(inspectObject2, \"inspectObject\");\n\n// node_modules/loupe/lib/html.js\nfunction inspectAttribute([key, value], options) {\n  options.truncate -= 3;\n  if (!value) {\n    return `${options.stylize(String(key), \"yellow\")}`;\n  }\n  return `${options.stylize(String(key), \"yellow\")}=${options.stylize(`\"${value}\"`, \"string\")}`;\n}\n__name(inspectAttribute, \"inspectAttribute\");\nfunction inspectHTMLCollection(collection, options) {\n  return inspectList(collection, options, inspectHTML, \"\\n\");\n}\n__name(inspectHTMLCollection, \"inspectHTMLCollection\");\nfunction inspectHTML(element, options) {\n  const properties = element.getAttributeNames();\n  const name = element.tagName.toLowerCase();\n  const head = options.stylize(`<${name}`, \"special\");\n  const headClose = options.stylize(`>`, \"special\");\n  const tail = options.stylize(`</${name}>`, \"special\");\n  options.truncate -= name.length * 2 + 5;\n  let propertyContents = \"\";\n  if (properties.length > 0) {\n    propertyContents += \" \";\n    propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, \" \");\n  }\n  options.truncate -= propertyContents.length;\n  const truncate2 = options.truncate;\n  let children = inspectHTMLCollection(element.children, options);\n  if (children && children.length > truncate2) {\n    children = `${truncator}(${element.children.length})`;\n  }\n  return `${head}${propertyContents}${headClose}${children}${tail}`;\n}\n__name(inspectHTML, \"inspectHTML\");\n\n// node_modules/loupe/lib/index.js\nvar symbolsSupported = typeof Symbol === \"function\" && typeof Symbol.for === \"function\";\nvar chaiInspect = symbolsSupported ? Symbol.for(\"chai/inspect\") : \"@@chai/inspect\";\nvar nodeInspect = false;\ntry {\n  const nodeUtil = require_util();\n  nodeInspect = nodeUtil.inspect ? nodeUtil.inspect.custom : false;\n} catch (noNodeInspect) {\n  nodeInspect = false;\n}\nvar constructorMap = /* @__PURE__ */ new WeakMap();\nvar stringTagMap = {};\nvar baseTypesMap = {\n  undefined: (value, options) => options.stylize(\"undefined\", \"undefined\"),\n  null: (value, options) => options.stylize(\"null\", \"null\"),\n  boolean: (value, options) => options.stylize(String(value), \"boolean\"),\n  Boolean: (value, options) => options.stylize(String(value), \"boolean\"),\n  number: inspectNumber,\n  Number: inspectNumber,\n  bigint: inspectBigInt,\n  BigInt: inspectBigInt,\n  string: inspectString,\n  String: inspectString,\n  function: inspectFunction,\n  Function: inspectFunction,\n  symbol: inspectSymbol,\n  // A Symbol polyfill will return `Symbol` not `symbol` from typedetect\n  Symbol: inspectSymbol,\n  Array: inspectArray,\n  Date: inspectDate,\n  Map: inspectMap,\n  Set: inspectSet,\n  RegExp: inspectRegExp,\n  Promise: promise_default,\n  // WeakSet, WeakMap are totally opaque to us\n  WeakSet: (value, options) => options.stylize(\"WeakSet{\\u2026}\", \"special\"),\n  WeakMap: (value, options) => options.stylize(\"WeakMap{\\u2026}\", \"special\"),\n  Arguments: inspectArguments,\n  Int8Array: inspectTypedArray,\n  Uint8Array: inspectTypedArray,\n  Uint8ClampedArray: inspectTypedArray,\n  Int16Array: inspectTypedArray,\n  Uint16Array: inspectTypedArray,\n  Int32Array: inspectTypedArray,\n  Uint32Array: inspectTypedArray,\n  Float32Array: inspectTypedArray,\n  Float64Array: inspectTypedArray,\n  Generator: () => \"\",\n  DataView: () => \"\",\n  ArrayBuffer: () => \"\",\n  Error: inspectObject2,\n  HTMLCollection: inspectHTMLCollection,\n  NodeList: inspectHTMLCollection\n};\nvar inspectCustom = /* @__PURE__ */ __name((value, options, type3) => {\n  if (chaiInspect in value && typeof value[chaiInspect] === \"function\") {\n    return value[chaiInspect](options);\n  }\n  if (nodeInspect && nodeInspect in value && typeof value[nodeInspect] === \"function\") {\n    return value[nodeInspect](options.depth, options);\n  }\n  if (\"inspect\" in value && typeof value.inspect === \"function\") {\n    return value.inspect(options.depth, options);\n  }\n  if (\"constructor\" in value && constructorMap.has(value.constructor)) {\n    return constructorMap.get(value.constructor)(value, options);\n  }\n  if (stringTagMap[type3]) {\n    return stringTagMap[type3](value, options);\n  }\n  return \"\";\n}, \"inspectCustom\");\nvar toString = Object.prototype.toString;\nfunction inspect(value, opts = {}) {\n  const options = normaliseOptions(opts, inspect);\n  const { customInspect } = options;\n  let type3 = value === null ? \"null\" : typeof value;\n  if (type3 === \"object\") {\n    type3 = toString.call(value).slice(8, -1);\n  }\n  if (type3 in baseTypesMap) {\n    return baseTypesMap[type3](value, options);\n  }\n  if (customInspect && value) {\n    const output = inspectCustom(value, options, type3);\n    if (output) {\n      if (typeof output === \"string\")\n        return output;\n      return inspect(output, options);\n    }\n  }\n  const proto = value ? Object.getPrototypeOf(value) : false;\n  if (proto === Object.prototype || proto === null) {\n    return inspectObject(value, options);\n  }\n  if (value && typeof HTMLElement === \"function\" && value instanceof HTMLElement) {\n    return inspectHTML(value, options);\n  }\n  if (\"constructor\" in value) {\n    if (value.constructor !== Object) {\n      return inspectClass(value, options);\n    }\n    return inspectObject(value, options);\n  }\n  if (value === Object(value)) {\n    return inspectObject(value, options);\n  }\n  return options.stylize(String(value), type3);\n}\n__name(inspect, \"inspect\");\n\n// lib/chai/config.js\nvar config = {\n  /**\n   * ### config.includeStack\n   *\n   * User configurable property, influences whether stack trace\n   * is included in Assertion error message. Default of false\n   * suppresses stack trace in the error message.\n   *\n   *     chai.config.includeStack = true;  // enable stack on error\n   *\n   * @param {boolean}\n   * @public\n   */\n  includeStack: false,\n  /**\n   * ### config.showDiff\n   *\n   * User configurable property, influences whether or not\n   * the `showDiff` flag should be included in the thrown\n   * AssertionErrors. `false` will always be `false`; `true`\n   * will be true when the assertion has requested a diff\n   * be shown.\n   *\n   * @param {boolean}\n   * @public\n   */\n  showDiff: true,\n  /**\n   * ### config.truncateThreshold\n   *\n   * User configurable property, sets length threshold for actual and\n   * expected values in assertion errors. If this threshold is exceeded, for\n   * example for large data structures, the value is replaced with something\n   * like `[ Array(3) ]` or `{ Object (prop1, prop2) }`.\n   *\n   * Set it to zero if you want to disable truncating altogether.\n   *\n   * This is especially userful when doing assertions on arrays: having this\n   * set to a reasonable large value makes the failure messages readily\n   * inspectable.\n   *\n   *     chai.config.truncateThreshold = 0;  // disable truncating\n   *\n   * @param {number}\n   * @public\n   */\n  truncateThreshold: 40,\n  /**\n   * ### config.useProxy\n   *\n   * User configurable property, defines if chai will use a Proxy to throw\n   * an error when a non-existent property is read, which protects users\n   * from typos when using property-based assertions.\n   *\n   * Set it to false if you want to disable this feature.\n   *\n   *     chai.config.useProxy = false;  // disable use of Proxy\n   *\n   * This feature is automatically disabled regardless of this config value\n   * in environments that don't support proxies.\n   *\n   * @param {boolean}\n   * @public\n   */\n  useProxy: true,\n  /**\n   * ### config.proxyExcludedKeys\n   *\n   * User configurable property, defines which properties should be ignored\n   * instead of throwing an error if they do not exist on the assertion.\n   * This is only applied if the environment Chai is running in supports proxies and\n   * if the `useProxy` configuration setting is enabled.\n   * By default, `then` and `inspect` will not throw an error if they do not exist on the\n   * assertion object because the `.inspect` property is read by `util.inspect` (for example, when\n   * using `console.log` on the assertion object) and `.then` is necessary for promise type-checking.\n   *\n   *     // By default these keys will not throw an error if they do not exist on the assertion object\n   *     chai.config.proxyExcludedKeys = ['then', 'inspect'];\n   *\n   * @param {Array}\n   * @public\n   */\n  proxyExcludedKeys: [\"then\", \"catch\", \"inspect\", \"toJSON\"],\n  /**\n   * ### config.deepEqual\n   *\n   * User configurable property, defines which a custom function to use for deepEqual\n   * comparisons.\n   * By default, the function used is the one from the `deep-eql` package without custom comparator.\n   *\n   *     // use a custom comparator\n   *     chai.config.deepEqual = (expected, actual) => {\n   *         return chai.util.eql(expected, actual, {\n   *             comparator: (expected, actual) => {\n   *                 // for non number comparison, use the default behavior\n   *                 if(typeof expected !== 'number') return null;\n   *                 // allow a difference of 10 between compared numbers\n   *                 return typeof actual === 'number' && Math.abs(actual - expected) < 10\n   *             }\n   *         })\n   *     };\n   *\n   * @param {Function}\n   * @public\n   */\n  deepEqual: null\n};\n\n// lib/chai/utils/inspect.js\nfunction inspect2(obj, showHidden, depth, colors) {\n  var options = {\n    colors,\n    depth: typeof depth === \"undefined\" ? 2 : depth,\n    showHidden,\n    truncate: config.truncateThreshold ? config.truncateThreshold : Infinity\n  };\n  return inspect(obj, options);\n}\n__name(inspect2, \"inspect\");\n\n// lib/chai/utils/objDisplay.js\nfunction objDisplay(obj) {\n  var str = inspect2(obj), type3 = Object.prototype.toString.call(obj);\n  if (config.truncateThreshold && str.length >= config.truncateThreshold) {\n    if (type3 === \"[object Function]\") {\n      return !obj.name || obj.name === \"\" ? \"[Function]\" : \"[Function: \" + obj.name + \"]\";\n    } else if (type3 === \"[object Array]\") {\n      return \"[ Array(\" + obj.length + \") ]\";\n    } else if (type3 === \"[object Object]\") {\n      var keys = Object.keys(obj), kstr = keys.length > 2 ? keys.splice(0, 2).join(\", \") + \", ...\" : keys.join(\", \");\n      return \"{ Object (\" + kstr + \") }\";\n    } else {\n      return str;\n    }\n  } else {\n    return str;\n  }\n}\n__name(objDisplay, \"objDisplay\");\n\n// lib/chai/utils/getMessage.js\nfunction getMessage2(obj, args) {\n  var negate = flag(obj, \"negate\"), val = flag(obj, \"object\"), expected = args[3], actual = getActual(obj, args), msg = negate ? args[2] : args[1], flagMsg = flag(obj, \"message\");\n  if (typeof msg === \"function\")\n    msg = msg();\n  msg = msg || \"\";\n  msg = msg.replace(/#\\{this\\}/g, function() {\n    return objDisplay(val);\n  }).replace(/#\\{act\\}/g, function() {\n    return objDisplay(actual);\n  }).replace(/#\\{exp\\}/g, function() {\n    return objDisplay(expected);\n  });\n  return flagMsg ? flagMsg + \": \" + msg : msg;\n}\n__name(getMessage2, \"getMessage\");\n\n// lib/chai/utils/transferFlags.js\nfunction transferFlags(assertion, object, includeAll) {\n  var flags = assertion.__flags || (assertion.__flags = /* @__PURE__ */ Object.create(null));\n  if (!object.__flags) {\n    object.__flags = /* @__PURE__ */ Object.create(null);\n  }\n  includeAll = arguments.length === 3 ? includeAll : true;\n  for (var flag3 in flags) {\n    if (includeAll || flag3 !== \"object\" && flag3 !== \"ssfi\" && flag3 !== \"lockSsfi\" && flag3 != \"message\") {\n      object.__flags[flag3] = flags[flag3];\n    }\n  }\n}\n__name(transferFlags, \"transferFlags\");\n\n// node_modules/deep-eql/index.js\nfunction type2(obj) {\n  if (typeof obj === \"undefined\") {\n    return \"undefined\";\n  }\n  if (obj === null) {\n    return \"null\";\n  }\n  const stringTag = obj[Symbol.toStringTag];\n  if (typeof stringTag === \"string\") {\n    return stringTag;\n  }\n  const sliceStart = 8;\n  const sliceEnd = -1;\n  return Object.prototype.toString.call(obj).slice(sliceStart, sliceEnd);\n}\n__name(type2, \"type\");\nfunction FakeMap() {\n  this._key = \"chai/deep-eql__\" + Math.random() + Date.now();\n}\n__name(FakeMap, \"FakeMap\");\nFakeMap.prototype = {\n  get: /* @__PURE__ */ __name(function get(key) {\n    return key[this._key];\n  }, \"get\"),\n  set: /* @__PURE__ */ __name(function set(key, value) {\n    if (Object.isExtensible(key)) {\n      Object.defineProperty(key, this._key, {\n        value,\n        configurable: true\n      });\n    }\n  }, \"set\")\n};\nvar MemoizeMap = typeof WeakMap === \"function\" ? WeakMap : FakeMap;\nfunction memoizeCompare(leftHandOperand, rightHandOperand, memoizeMap) {\n  if (!memoizeMap || isPrimitive(leftHandOperand) || isPrimitive(rightHandOperand)) {\n    return null;\n  }\n  var leftHandMap = memoizeMap.get(leftHandOperand);\n  if (leftHandMap) {\n    var result = leftHandMap.get(rightHandOperand);\n    if (typeof result === \"boolean\") {\n      return result;\n    }\n  }\n  return null;\n}\n__name(memoizeCompare, \"memoizeCompare\");\nfunction memoizeSet(leftHandOperand, rightHandOperand, memoizeMap, result) {\n  if (!memoizeMap || isPrimitive(leftHandOperand) || isPrimitive(rightHandOperand)) {\n    return;\n  }\n  var leftHandMap = memoizeMap.get(leftHandOperand);\n  if (leftHandMap) {\n    leftHandMap.set(rightHandOperand, result);\n  } else {\n    leftHandMap = new MemoizeMap();\n    leftHandMap.set(rightHandOperand, result);\n    memoizeMap.set(leftHandOperand, leftHandMap);\n  }\n}\n__name(memoizeSet, \"memoizeSet\");\nvar deep_eql_default = deepEqual;\nfunction deepEqual(leftHandOperand, rightHandOperand, options) {\n  if (options && options.comparator) {\n    return extensiveDeepEqual(leftHandOperand, rightHandOperand, options);\n  }\n  var simpleResult = simpleEqual(leftHandOperand, rightHandOperand);\n  if (simpleResult !== null) {\n    return simpleResult;\n  }\n  return extensiveDeepEqual(leftHandOperand, rightHandOperand, options);\n}\n__name(deepEqual, \"deepEqual\");\nfunction simpleEqual(leftHandOperand, rightHandOperand) {\n  if (leftHandOperand === rightHandOperand) {\n    return leftHandOperand !== 0 || 1 / leftHandOperand === 1 / rightHandOperand;\n  }\n  if (leftHandOperand !== leftHandOperand && // eslint-disable-line no-self-compare\n  rightHandOperand !== rightHandOperand) {\n    return true;\n  }\n  if (isPrimitive(leftHandOperand) || isPrimitive(rightHandOperand)) {\n    return false;\n  }\n  return null;\n}\n__name(simpleEqual, \"simpleEqual\");\nfunction extensiveDeepEqual(leftHandOperand, rightHandOperand, options) {\n  options = options || {};\n  options.memoize = options.memoize === false ? false : options.memoize || new MemoizeMap();\n  var comparator = options && options.comparator;\n  var memoizeResultLeft = memoizeCompare(leftHandOperand, rightHandOperand, options.memoize);\n  if (memoizeResultLeft !== null) {\n    return memoizeResultLeft;\n  }\n  var memoizeResultRight = memoizeCompare(rightHandOperand, leftHandOperand, options.memoize);\n  if (memoizeResultRight !== null) {\n    return memoizeResultRight;\n  }\n  if (comparator) {\n    var comparatorResult = comparator(leftHandOperand, rightHandOperand);\n    if (comparatorResult === false || comparatorResult === true) {\n      memoizeSet(leftHandOperand, rightHandOperand, options.memoize, comparatorResult);\n      return comparatorResult;\n    }\n    var simpleResult = simpleEqual(leftHandOperand, rightHandOperand);\n    if (simpleResult !== null) {\n      return simpleResult;\n    }\n  }\n  var leftHandType = type2(leftHandOperand);\n  if (leftHandType !== type2(rightHandOperand)) {\n    memoizeSet(leftHandOperand, rightHandOperand, options.memoize, false);\n    return false;\n  }\n  memoizeSet(leftHandOperand, rightHandOperand, options.memoize, true);\n  var result = extensiveDeepEqualByType(leftHandOperand, rightHandOperand, leftHandType, options);\n  memoizeSet(leftHandOperand, rightHandOperand, options.memoize, result);\n  return result;\n}\n__name(extensiveDeepEqual, \"extensiveDeepEqual\");\nfunction extensiveDeepEqualByType(leftHandOperand, rightHandOperand, leftHandType, options) {\n  switch (leftHandType) {\n    case \"String\":\n    case \"Number\":\n    case \"Boolean\":\n    case \"Date\":\n      return deepEqual(leftHandOperand.valueOf(), rightHandOperand.valueOf());\n    case \"Promise\":\n    case \"Symbol\":\n    case \"function\":\n    case \"WeakMap\":\n    case \"WeakSet\":\n      return leftHandOperand === rightHandOperand;\n    case \"Error\":\n      return keysEqual(leftHandOperand, rightHandOperand, [\"name\", \"message\", \"code\"], options);\n    case \"Arguments\":\n    case \"Int8Array\":\n    case \"Uint8Array\":\n    case \"Uint8ClampedArray\":\n    case \"Int16Array\":\n    case \"Uint16Array\":\n    case \"Int32Array\":\n    case \"Uint32Array\":\n    case \"Float32Array\":\n    case \"Float64Array\":\n    case \"Array\":\n      return iterableEqual(leftHandOperand, rightHandOperand, options);\n    case \"RegExp\":\n      return regexpEqual(leftHandOperand, rightHandOperand);\n    case \"Generator\":\n      return generatorEqual(leftHandOperand, rightHandOperand, options);\n    case \"DataView\":\n      return iterableEqual(new Uint8Array(leftHandOperand.buffer), new Uint8Array(rightHandOperand.buffer), options);\n    case \"ArrayBuffer\":\n      return iterableEqual(new Uint8Array(leftHandOperand), new Uint8Array(rightHandOperand), options);\n    case \"Set\":\n      return entriesEqual(leftHandOperand, rightHandOperand, options);\n    case \"Map\":\n      return entriesEqual(leftHandOperand, rightHandOperand, options);\n    case \"Temporal.PlainDate\":\n    case \"Temporal.PlainTime\":\n    case \"Temporal.PlainDateTime\":\n    case \"Temporal.Instant\":\n    case \"Temporal.ZonedDateTime\":\n    case \"Temporal.PlainYearMonth\":\n    case \"Temporal.PlainMonthDay\":\n      return leftHandOperand.equals(rightHandOperand);\n    case \"Temporal.Duration\":\n      return leftHandOperand.total(\"nanoseconds\") === rightHandOperand.total(\"nanoseconds\");\n    case \"Temporal.TimeZone\":\n    case \"Temporal.Calendar\":\n      return leftHandOperand.toString() === rightHandOperand.toString();\n    default:\n      return objectEqual(leftHandOperand, rightHandOperand, options);\n  }\n}\n__name(extensiveDeepEqualByType, \"extensiveDeepEqualByType\");\nfunction regexpEqual(leftHandOperand, rightHandOperand) {\n  return leftHandOperand.toString() === rightHandOperand.toString();\n}\n__name(regexpEqual, \"regexpEqual\");\nfunction entriesEqual(leftHandOperand, rightHandOperand, options) {\n  try {\n    if (leftHandOperand.size !== rightHandOperand.size) {\n      return false;\n    }\n    if (leftHandOperand.size === 0) {\n      return true;\n    }\n  } catch (sizeError) {\n    return false;\n  }\n  var leftHandItems = [];\n  var rightHandItems = [];\n  leftHandOperand.forEach(/* @__PURE__ */ __name(function gatherEntries(key, value) {\n    leftHandItems.push([key, value]);\n  }, \"gatherEntries\"));\n  rightHandOperand.forEach(/* @__PURE__ */ __name(function gatherEntries(key, value) {\n    rightHandItems.push([key, value]);\n  }, \"gatherEntries\"));\n  return iterableEqual(leftHandItems.sort(), rightHandItems.sort(), options);\n}\n__name(entriesEqual, \"entriesEqual\");\nfunction iterableEqual(leftHandOperand, rightHandOperand, options) {\n  var length = leftHandOperand.length;\n  if (length !== rightHandOperand.length) {\n    return false;\n  }\n  if (length === 0) {\n    return true;\n  }\n  var index = -1;\n  while (++index < length) {\n    if (deepEqual(leftHandOperand[index], rightHandOperand[index], options) === false) {\n      return false;\n    }\n  }\n  return true;\n}\n__name(iterableEqual, \"iterableEqual\");\nfunction generatorEqual(leftHandOperand, rightHandOperand, options) {\n  return iterableEqual(getGeneratorEntries(leftHandOperand), getGeneratorEntries(rightHandOperand), options);\n}\n__name(generatorEqual, \"generatorEqual\");\nfunction hasIteratorFunction(target) {\n  return typeof Symbol !== \"undefined\" && typeof target === \"object\" && typeof Symbol.iterator !== \"undefined\" && typeof target[Symbol.iterator] === \"function\";\n}\n__name(hasIteratorFunction, \"hasIteratorFunction\");\nfunction getIteratorEntries(target) {\n  if (hasIteratorFunction(target)) {\n    try {\n      return getGeneratorEntries(target[Symbol.iterator]());\n    } catch (iteratorError) {\n      return [];\n    }\n  }\n  return [];\n}\n__name(getIteratorEntries, \"getIteratorEntries\");\nfunction getGeneratorEntries(generator) {\n  var generatorResult = generator.next();\n  var accumulator = [generatorResult.value];\n  while (generatorResult.done === false) {\n    generatorResult = generator.next();\n    accumulator.push(generatorResult.value);\n  }\n  return accumulator;\n}\n__name(getGeneratorEntries, \"getGeneratorEntries\");\nfunction getEnumerableKeys(target) {\n  var keys = [];\n  for (var key in target) {\n    keys.push(key);\n  }\n  return keys;\n}\n__name(getEnumerableKeys, \"getEnumerableKeys\");\nfunction getEnumerableSymbols(target) {\n  var keys = [];\n  var allKeys = Object.getOwnPropertySymbols(target);\n  for (var i = 0; i < allKeys.length; i += 1) {\n    var key = allKeys[i];\n    if (Object.getOwnPropertyDescriptor(target, key).enumerable) {\n      keys.push(key);\n    }\n  }\n  return keys;\n}\n__name(getEnumerableSymbols, \"getEnumerableSymbols\");\nfunction keysEqual(leftHandOperand, rightHandOperand, keys, options) {\n  var length = keys.length;\n  if (length === 0) {\n    return true;\n  }\n  for (var i = 0; i < length; i += 1) {\n    if (deepEqual(leftHandOperand[keys[i]], rightHandOperand[keys[i]], options) === false) {\n      return false;\n    }\n  }\n  return true;\n}\n__name(keysEqual, \"keysEqual\");\nfunction objectEqual(leftHandOperand, rightHandOperand, options) {\n  var leftHandKeys = getEnumerableKeys(leftHandOperand);\n  var rightHandKeys = getEnumerableKeys(rightHandOperand);\n  var leftHandSymbols = getEnumerableSymbols(leftHandOperand);\n  var rightHandSymbols = getEnumerableSymbols(rightHandOperand);\n  leftHandKeys = leftHandKeys.concat(leftHandSymbols);\n  rightHandKeys = rightHandKeys.concat(rightHandSymbols);\n  if (leftHandKeys.length && leftHandKeys.length === rightHandKeys.length) {\n    if (iterableEqual(mapSymbols(leftHandKeys).sort(), mapSymbols(rightHandKeys).sort()) === false) {\n      return false;\n    }\n    return keysEqual(leftHandOperand, rightHandOperand, leftHandKeys, options);\n  }\n  var leftHandEntries = getIteratorEntries(leftHandOperand);\n  var rightHandEntries = getIteratorEntries(rightHandOperand);\n  if (leftHandEntries.length && leftHandEntries.length === rightHandEntries.length) {\n    leftHandEntries.sort();\n    rightHandEntries.sort();\n    return iterableEqual(leftHandEntries, rightHandEntries, options);\n  }\n  if (leftHandKeys.length === 0 && leftHandEntries.length === 0 && rightHandKeys.length === 0 && rightHandEntries.length === 0) {\n    return true;\n  }\n  return false;\n}\n__name(objectEqual, \"objectEqual\");\nfunction isPrimitive(value) {\n  return value === null || typeof value !== \"object\";\n}\n__name(isPrimitive, \"isPrimitive\");\nfunction mapSymbols(arr) {\n  return arr.map(/* @__PURE__ */ __name(function mapSymbol(entry) {\n    if (typeof entry === \"symbol\") {\n      return entry.toString();\n    }\n    return entry;\n  }, \"mapSymbol\"));\n}\n__name(mapSymbols, \"mapSymbols\");\n\n// node_modules/pathval/index.js\nfunction hasProperty(obj, name) {\n  if (typeof obj === \"undefined\" || obj === null) {\n    return false;\n  }\n  return name in Object(obj);\n}\n__name(hasProperty, \"hasProperty\");\nfunction parsePath(path) {\n  const str = path.replace(/([^\\\\])\\[/g, \"$1.[\");\n  const parts = str.match(/(\\\\\\.|[^.]+?)+/g);\n  return parts.map((value) => {\n    if (value === \"constructor\" || value === \"__proto__\" || value === \"prototype\") {\n      return {};\n    }\n    const regexp = /^\\[(\\d+)\\]$/;\n    const mArr = regexp.exec(value);\n    let parsed = null;\n    if (mArr) {\n      parsed = { i: parseFloat(mArr[1]) };\n    } else {\n      parsed = { p: value.replace(/\\\\([.[\\]])/g, \"$1\") };\n    }\n    return parsed;\n  });\n}\n__name(parsePath, \"parsePath\");\nfunction internalGetPathValue(obj, parsed, pathDepth) {\n  let temporaryValue = obj;\n  let res = null;\n  pathDepth = typeof pathDepth === \"undefined\" ? parsed.length : pathDepth;\n  for (let i = 0; i < pathDepth; i++) {\n    const part = parsed[i];\n    if (temporaryValue) {\n      if (typeof part.p === \"undefined\") {\n        temporaryValue = temporaryValue[part.i];\n      } else {\n        temporaryValue = temporaryValue[part.p];\n      }\n      if (i === pathDepth - 1) {\n        res = temporaryValue;\n      }\n    }\n  }\n  return res;\n}\n__name(internalGetPathValue, \"internalGetPathValue\");\nfunction getPathInfo(obj, path) {\n  const parsed = parsePath(path);\n  const last = parsed[parsed.length - 1];\n  const info = {\n    parent: parsed.length > 1 ? internalGetPathValue(obj, parsed, parsed.length - 1) : obj,\n    name: last.p || last.i,\n    value: internalGetPathValue(obj, parsed)\n  };\n  info.exists = hasProperty(info.parent, info.name);\n  return info;\n}\n__name(getPathInfo, \"getPathInfo\");\n\n// lib/chai/assertion.js\nfunction Assertion(obj, msg, ssfi, lockSsfi) {\n  flag(this, \"ssfi\", ssfi || Assertion);\n  flag(this, \"lockSsfi\", lockSsfi);\n  flag(this, \"object\", obj);\n  flag(this, \"message\", msg);\n  flag(this, \"eql\", config.deepEqual || deep_eql_default);\n  return proxify(this);\n}\n__name(Assertion, \"Assertion\");\nObject.defineProperty(Assertion, \"includeStack\", {\n  get: function() {\n    console.warn(\"Assertion.includeStack is deprecated, use chai.config.includeStack instead.\");\n    return config.includeStack;\n  },\n  set: function(value) {\n    console.warn(\"Assertion.includeStack is deprecated, use chai.config.includeStack instead.\");\n    config.includeStack = value;\n  }\n});\nObject.defineProperty(Assertion, \"showDiff\", {\n  get: function() {\n    console.warn(\"Assertion.showDiff is deprecated, use chai.config.showDiff instead.\");\n    return config.showDiff;\n  },\n  set: function(value) {\n    console.warn(\"Assertion.showDiff is deprecated, use chai.config.showDiff instead.\");\n    config.showDiff = value;\n  }\n});\nAssertion.addProperty = function(name, fn) {\n  addProperty(this.prototype, name, fn);\n};\nAssertion.addMethod = function(name, fn) {\n  addMethod(this.prototype, name, fn);\n};\nAssertion.addChainableMethod = function(name, fn, chainingBehavior) {\n  addChainableMethod(this.prototype, name, fn, chainingBehavior);\n};\nAssertion.overwriteProperty = function(name, fn) {\n  overwriteProperty(this.prototype, name, fn);\n};\nAssertion.overwriteMethod = function(name, fn) {\n  overwriteMethod(this.prototype, name, fn);\n};\nAssertion.overwriteChainableMethod = function(name, fn, chainingBehavior) {\n  overwriteChainableMethod(this.prototype, name, fn, chainingBehavior);\n};\nAssertion.prototype.assert = function(expr, msg, negateMsg, expected, _actual, showDiff) {\n  var ok = test(this, arguments);\n  if (false !== showDiff)\n    showDiff = true;\n  if (void 0 === expected && void 0 === _actual)\n    showDiff = false;\n  if (true !== config.showDiff)\n    showDiff = false;\n  if (!ok) {\n    msg = getMessage2(this, arguments);\n    var actual = getActual(this, arguments);\n    var assertionErrorObjectProperties = {\n      actual,\n      expected,\n      showDiff\n    };\n    var operator = getOperator(this, arguments);\n    if (operator) {\n      assertionErrorObjectProperties.operator = operator;\n    }\n    throw new AssertionError(\n      msg,\n      assertionErrorObjectProperties,\n      config.includeStack ? this.assert : flag(this, \"ssfi\")\n    );\n  }\n};\nObject.defineProperty(\n  Assertion.prototype,\n  \"_obj\",\n  {\n    get: function() {\n      return flag(this, \"object\");\n    },\n    set: function(val) {\n      flag(this, \"object\", val);\n    }\n  }\n);\n\n// lib/chai/utils/isProxyEnabled.js\nfunction isProxyEnabled() {\n  return config.useProxy && typeof Proxy !== \"undefined\" && typeof Reflect !== \"undefined\";\n}\n__name(isProxyEnabled, \"isProxyEnabled\");\n\n// lib/chai/utils/addProperty.js\nfunction addProperty(ctx, name, getter) {\n  getter = getter === void 0 ? function() {\n  } : getter;\n  Object.defineProperty(\n    ctx,\n    name,\n    {\n      get: /* @__PURE__ */ __name(function propertyGetter() {\n        if (!isProxyEnabled() && !flag(this, \"lockSsfi\")) {\n          flag(this, \"ssfi\", propertyGetter);\n        }\n        var result = getter.call(this);\n        if (result !== void 0)\n          return result;\n        var newAssertion = new Assertion();\n        transferFlags(this, newAssertion);\n        return newAssertion;\n      }, \"propertyGetter\"),\n      configurable: true\n    }\n  );\n}\n__name(addProperty, \"addProperty\");\n\n// lib/chai/utils/addLengthGuard.js\nvar fnLengthDesc = Object.getOwnPropertyDescriptor(function() {\n}, \"length\");\nfunction addLengthGuard(fn, assertionName, isChainable) {\n  if (!fnLengthDesc.configurable)\n    return fn;\n  Object.defineProperty(fn, \"length\", {\n    get: function() {\n      if (isChainable) {\n        throw Error(\"Invalid Chai property: \" + assertionName + '.length. Due to a compatibility issue, \"length\" cannot directly follow \"' + assertionName + '\". Use \"' + assertionName + '.lengthOf\" instead.');\n      }\n      throw Error(\"Invalid Chai property: \" + assertionName + '.length. See docs for proper usage of \"' + assertionName + '\".');\n    }\n  });\n  return fn;\n}\n__name(addLengthGuard, \"addLengthGuard\");\n\n// lib/chai/utils/getProperties.js\nfunction getProperties(object) {\n  var result = Object.getOwnPropertyNames(object);\n  function addProperty2(property) {\n    if (result.indexOf(property) === -1) {\n      result.push(property);\n    }\n  }\n  __name(addProperty2, \"addProperty\");\n  var proto = Object.getPrototypeOf(object);\n  while (proto !== null) {\n    Object.getOwnPropertyNames(proto).forEach(addProperty2);\n    proto = Object.getPrototypeOf(proto);\n  }\n  return result;\n}\n__name(getProperties, \"getProperties\");\n\n// lib/chai/utils/proxify.js\nvar builtins = [\"__flags\", \"__methods\", \"_obj\", \"assert\"];\nfunction proxify(obj, nonChainableMethodName) {\n  if (!isProxyEnabled())\n    return obj;\n  return new Proxy(obj, {\n    get: /* @__PURE__ */ __name(function proxyGetter(target, property) {\n      if (typeof property === \"string\" && config.proxyExcludedKeys.indexOf(property) === -1 && !Reflect.has(target, property)) {\n        if (nonChainableMethodName) {\n          throw Error(\"Invalid Chai property: \" + nonChainableMethodName + \".\" + property + '. See docs for proper usage of \"' + nonChainableMethodName + '\".');\n        }\n        var suggestion = null;\n        var suggestionDistance = 4;\n        getProperties(target).forEach(function(prop) {\n          if (!Object.prototype.hasOwnProperty(prop) && builtins.indexOf(prop) === -1) {\n            var dist = stringDistanceCapped(\n              property,\n              prop,\n              suggestionDistance\n            );\n            if (dist < suggestionDistance) {\n              suggestion = prop;\n              suggestionDistance = dist;\n            }\n          }\n        });\n        if (suggestion !== null) {\n          throw Error(\"Invalid Chai property: \" + property + '. Did you mean \"' + suggestion + '\"?');\n        } else {\n          throw Error(\"Invalid Chai property: \" + property);\n        }\n      }\n      if (builtins.indexOf(property) === -1 && !flag(target, \"lockSsfi\")) {\n        flag(target, \"ssfi\", proxyGetter);\n      }\n      return Reflect.get(target, property);\n    }, \"proxyGetter\")\n  });\n}\n__name(proxify, \"proxify\");\nfunction stringDistanceCapped(strA, strB, cap) {\n  if (Math.abs(strA.length - strB.length) >= cap) {\n    return cap;\n  }\n  var memo = [];\n  for (var i = 0; i <= strA.length; i++) {\n    memo[i] = Array(strB.length + 1).fill(0);\n    memo[i][0] = i;\n  }\n  for (var j = 0; j < strB.length; j++) {\n    memo[0][j] = j;\n  }\n  for (var i = 1; i <= strA.length; i++) {\n    var ch = strA.charCodeAt(i - 1);\n    for (var j = 1; j <= strB.length; j++) {\n      if (Math.abs(i - j) >= cap) {\n        memo[i][j] = cap;\n        continue;\n      }\n      memo[i][j] = Math.min(\n        memo[i - 1][j] + 1,\n        memo[i][j - 1] + 1,\n        memo[i - 1][j - 1] + (ch === strB.charCodeAt(j - 1) ? 0 : 1)\n      );\n    }\n  }\n  return memo[strA.length][strB.length];\n}\n__name(stringDistanceCapped, \"stringDistanceCapped\");\n\n// lib/chai/utils/addMethod.js\nfunction addMethod(ctx, name, method) {\n  var methodWrapper = /* @__PURE__ */ __name(function() {\n    if (!flag(this, \"lockSsfi\")) {\n      flag(this, \"ssfi\", methodWrapper);\n    }\n    var result = method.apply(this, arguments);\n    if (result !== void 0)\n      return result;\n    var newAssertion = new Assertion();\n    transferFlags(this, newAssertion);\n    return newAssertion;\n  }, \"methodWrapper\");\n  addLengthGuard(methodWrapper, name, false);\n  ctx[name] = proxify(methodWrapper, name);\n}\n__name(addMethod, \"addMethod\");\n\n// lib/chai/utils/overwriteProperty.js\nfunction overwriteProperty(ctx, name, getter) {\n  var _get = Object.getOwnPropertyDescriptor(ctx, name), _super = /* @__PURE__ */ __name(function() {\n  }, \"_super\");\n  if (_get && \"function\" === typeof _get.get)\n    _super = _get.get;\n  Object.defineProperty(\n    ctx,\n    name,\n    {\n      get: /* @__PURE__ */ __name(function overwritingPropertyGetter() {\n        if (!isProxyEnabled() && !flag(this, \"lockSsfi\")) {\n          flag(this, \"ssfi\", overwritingPropertyGetter);\n        }\n        var origLockSsfi = flag(this, \"lockSsfi\");\n        flag(this, \"lockSsfi\", true);\n        var result = getter(_super).call(this);\n        flag(this, \"lockSsfi\", origLockSsfi);\n        if (result !== void 0) {\n          return result;\n        }\n        var newAssertion = new Assertion();\n        transferFlags(this, newAssertion);\n        return newAssertion;\n      }, \"overwritingPropertyGetter\"),\n      configurable: true\n    }\n  );\n}\n__name(overwriteProperty, \"overwriteProperty\");\n\n// lib/chai/utils/overwriteMethod.js\nfunction overwriteMethod(ctx, name, method) {\n  var _method = ctx[name], _super = /* @__PURE__ */ __name(function() {\n    throw new Error(name + \" is not a function\");\n  }, \"_super\");\n  if (_method && \"function\" === typeof _method)\n    _super = _method;\n  var overwritingMethodWrapper = /* @__PURE__ */ __name(function() {\n    if (!flag(this, \"lockSsfi\")) {\n      flag(this, \"ssfi\", overwritingMethodWrapper);\n    }\n    var origLockSsfi = flag(this, \"lockSsfi\");\n    flag(this, \"lockSsfi\", true);\n    var result = method(_super).apply(this, arguments);\n    flag(this, \"lockSsfi\", origLockSsfi);\n    if (result !== void 0) {\n      return result;\n    }\n    var newAssertion = new Assertion();\n    transferFlags(this, newAssertion);\n    return newAssertion;\n  }, \"overwritingMethodWrapper\");\n  addLengthGuard(overwritingMethodWrapper, name, false);\n  ctx[name] = proxify(overwritingMethodWrapper, name);\n}\n__name(overwriteMethod, \"overwriteMethod\");\n\n// lib/chai/utils/addChainableMethod.js\nvar canSetPrototype = typeof Object.setPrototypeOf === \"function\";\nvar testFn = /* @__PURE__ */ __name(function() {\n}, \"testFn\");\nvar excludeNames = Object.getOwnPropertyNames(testFn).filter(function(name) {\n  var propDesc = Object.getOwnPropertyDescriptor(testFn, name);\n  if (typeof propDesc !== \"object\")\n    return true;\n  return !propDesc.configurable;\n});\nvar call = Function.prototype.call;\nvar apply = Function.prototype.apply;\nfunction addChainableMethod(ctx, name, method, chainingBehavior) {\n  if (typeof chainingBehavior !== \"function\") {\n    chainingBehavior = /* @__PURE__ */ __name(function() {\n    }, \"chainingBehavior\");\n  }\n  var chainableBehavior = {\n    method,\n    chainingBehavior\n  };\n  if (!ctx.__methods) {\n    ctx.__methods = {};\n  }\n  ctx.__methods[name] = chainableBehavior;\n  Object.defineProperty(\n    ctx,\n    name,\n    {\n      get: /* @__PURE__ */ __name(function chainableMethodGetter() {\n        chainableBehavior.chainingBehavior.call(this);\n        var chainableMethodWrapper = /* @__PURE__ */ __name(function() {\n          if (!flag(this, \"lockSsfi\")) {\n            flag(this, \"ssfi\", chainableMethodWrapper);\n          }\n          var result = chainableBehavior.method.apply(this, arguments);\n          if (result !== void 0) {\n            return result;\n          }\n          var newAssertion = new Assertion();\n          transferFlags(this, newAssertion);\n          return newAssertion;\n        }, \"chainableMethodWrapper\");\n        addLengthGuard(chainableMethodWrapper, name, true);\n        if (canSetPrototype) {\n          var prototype = Object.create(this);\n          prototype.call = call;\n          prototype.apply = apply;\n          Object.setPrototypeOf(chainableMethodWrapper, prototype);\n        } else {\n          var asserterNames = Object.getOwnPropertyNames(ctx);\n          asserterNames.forEach(function(asserterName) {\n            if (excludeNames.indexOf(asserterName) !== -1) {\n              return;\n            }\n            var pd = Object.getOwnPropertyDescriptor(ctx, asserterName);\n            Object.defineProperty(chainableMethodWrapper, asserterName, pd);\n          });\n        }\n        transferFlags(this, chainableMethodWrapper);\n        return proxify(chainableMethodWrapper);\n      }, \"chainableMethodGetter\"),\n      configurable: true\n    }\n  );\n}\n__name(addChainableMethod, \"addChainableMethod\");\n\n// lib/chai/utils/overwriteChainableMethod.js\nfunction overwriteChainableMethod(ctx, name, method, chainingBehavior) {\n  var chainableBehavior = ctx.__methods[name];\n  var _chainingBehavior = chainableBehavior.chainingBehavior;\n  chainableBehavior.chainingBehavior = /* @__PURE__ */ __name(function overwritingChainableMethodGetter() {\n    var result = chainingBehavior(_chainingBehavior).call(this);\n    if (result !== void 0) {\n      return result;\n    }\n    var newAssertion = new Assertion();\n    transferFlags(this, newAssertion);\n    return newAssertion;\n  }, \"overwritingChainableMethodGetter\");\n  var _method = chainableBehavior.method;\n  chainableBehavior.method = /* @__PURE__ */ __name(function overwritingChainableMethodWrapper() {\n    var result = method(_method).apply(this, arguments);\n    if (result !== void 0) {\n      return result;\n    }\n    var newAssertion = new Assertion();\n    transferFlags(this, newAssertion);\n    return newAssertion;\n  }, \"overwritingChainableMethodWrapper\");\n}\n__name(overwriteChainableMethod, \"overwriteChainableMethod\");\n\n// lib/chai/utils/compareByInspect.js\nfunction compareByInspect(a, b) {\n  return inspect2(a) < inspect2(b) ? -1 : 1;\n}\n__name(compareByInspect, \"compareByInspect\");\n\n// lib/chai/utils/getOwnEnumerablePropertySymbols.js\nfunction getOwnEnumerablePropertySymbols(obj) {\n  if (typeof Object.getOwnPropertySymbols !== \"function\")\n    return [];\n  return Object.getOwnPropertySymbols(obj).filter(function(sym) {\n    return Object.getOwnPropertyDescriptor(obj, sym).enumerable;\n  });\n}\n__name(getOwnEnumerablePropertySymbols, \"getOwnEnumerablePropertySymbols\");\n\n// lib/chai/utils/getOwnEnumerableProperties.js\nfunction getOwnEnumerableProperties(obj) {\n  return Object.keys(obj).concat(getOwnEnumerablePropertySymbols(obj));\n}\n__name(getOwnEnumerableProperties, \"getOwnEnumerableProperties\");\n\n// lib/chai/utils/isNaN.js\nfunction _isNaN(value) {\n  return value !== value;\n}\n__name(_isNaN, \"_isNaN\");\nvar isNaN2 = Number.isNaN || _isNaN;\n\n// lib/chai/utils/getOperator.js\nfunction isObjectType(obj) {\n  var objectType = type(obj);\n  var objectTypes = [\"Array\", \"Object\", \"Function\"];\n  return objectTypes.indexOf(objectType) !== -1;\n}\n__name(isObjectType, \"isObjectType\");\nfunction getOperator(obj, args) {\n  var operator = flag(obj, \"operator\");\n  var negate = flag(obj, \"negate\");\n  var expected = args[3];\n  var msg = negate ? args[2] : args[1];\n  if (operator) {\n    return operator;\n  }\n  if (typeof msg === \"function\")\n    msg = msg();\n  msg = msg || \"\";\n  if (!msg) {\n    return void 0;\n  }\n  if (/\\shave\\s/.test(msg)) {\n    return void 0;\n  }\n  var isObject = isObjectType(expected);\n  if (/\\snot\\s/.test(msg)) {\n    return isObject ? \"notDeepStrictEqual\" : \"notStrictEqual\";\n  }\n  return isObject ? \"deepStrictEqual\" : \"strictEqual\";\n}\n__name(getOperator, \"getOperator\");\n\n// lib/chai/utils/index.js\nfunction getName(fn) {\n  return fn.name;\n}\n__name(getName, \"getName\");\nfunction isRegExp2(obj) {\n  return Object.prototype.toString.call(obj) === \"[object RegExp]\";\n}\n__name(isRegExp2, \"isRegExp\");\nfunction isNumeric(obj) {\n  return [\"Number\", \"BigInt\"].includes(type(obj));\n}\n__name(isNumeric, \"isNumeric\");\n\n// lib/chai/core/assertions.js\nvar { flag: flag2 } = utils_exports;\n[\n  \"to\",\n  \"be\",\n  \"been\",\n  \"is\",\n  \"and\",\n  \"has\",\n  \"have\",\n  \"with\",\n  \"that\",\n  \"which\",\n  \"at\",\n  \"of\",\n  \"same\",\n  \"but\",\n  \"does\",\n  \"still\",\n  \"also\"\n].forEach(function(chain) {\n  Assertion.addProperty(chain);\n});\nAssertion.addProperty(\"not\", function() {\n  flag2(this, \"negate\", true);\n});\nAssertion.addProperty(\"deep\", function() {\n  flag2(this, \"deep\", true);\n});\nAssertion.addProperty(\"nested\", function() {\n  flag2(this, \"nested\", true);\n});\nAssertion.addProperty(\"own\", function() {\n  flag2(this, \"own\", true);\n});\nAssertion.addProperty(\"ordered\", function() {\n  flag2(this, \"ordered\", true);\n});\nAssertion.addProperty(\"any\", function() {\n  flag2(this, \"any\", true);\n  flag2(this, \"all\", false);\n});\nAssertion.addProperty(\"all\", function() {\n  flag2(this, \"all\", true);\n  flag2(this, \"any\", false);\n});\nvar functionTypes = {\n  \"function\": [\"function\", \"asyncfunction\", \"generatorfunction\", \"asyncgeneratorfunction\"],\n  \"asyncfunction\": [\"asyncfunction\", \"asyncgeneratorfunction\"],\n  \"generatorfunction\": [\"generatorfunction\", \"asyncgeneratorfunction\"],\n  \"asyncgeneratorfunction\": [\"asyncgeneratorfunction\"]\n};\nfunction an(type3, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  type3 = type3.toLowerCase();\n  var obj = flag2(this, \"object\"), article = ~[\"a\", \"e\", \"i\", \"o\", \"u\"].indexOf(type3.charAt(0)) ? \"an \" : \"a \";\n  const detectedType = type(obj).toLowerCase();\n  if (functionTypes[\"function\"].includes(type3)) {\n    this.assert(\n      functionTypes[type3].includes(detectedType),\n      \"expected #{this} to be \" + article + type3,\n      \"expected #{this} not to be \" + article + type3\n    );\n  } else {\n    this.assert(\n      type3 === detectedType,\n      \"expected #{this} to be \" + article + type3,\n      \"expected #{this} not to be \" + article + type3\n    );\n  }\n}\n__name(an, \"an\");\nAssertion.addChainableMethod(\"an\", an);\nAssertion.addChainableMethod(\"a\", an);\nfunction SameValueZero(a, b) {\n  return isNaN2(a) && isNaN2(b) || a === b;\n}\n__name(SameValueZero, \"SameValueZero\");\nfunction includeChainingBehavior() {\n  flag2(this, \"contains\", true);\n}\n__name(includeChainingBehavior, \"includeChainingBehavior\");\nfunction include(val, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), objType = type(obj).toLowerCase(), flagMsg = flag2(this, \"message\"), negate = flag2(this, \"negate\"), ssfi = flag2(this, \"ssfi\"), isDeep = flag2(this, \"deep\"), descriptor = isDeep ? \"deep \" : \"\", isEql = isDeep ? flag2(this, \"eql\") : SameValueZero;\n  flagMsg = flagMsg ? flagMsg + \": \" : \"\";\n  var included = false;\n  switch (objType) {\n    case \"string\":\n      included = obj.indexOf(val) !== -1;\n      break;\n    case \"weakset\":\n      if (isDeep) {\n        throw new AssertionError(\n          flagMsg + \"unable to use .deep.include with WeakSet\",\n          void 0,\n          ssfi\n        );\n      }\n      included = obj.has(val);\n      break;\n    case \"map\":\n      obj.forEach(function(item) {\n        included = included || isEql(item, val);\n      });\n      break;\n    case \"set\":\n      if (isDeep) {\n        obj.forEach(function(item) {\n          included = included || isEql(item, val);\n        });\n      } else {\n        included = obj.has(val);\n      }\n      break;\n    case \"array\":\n      if (isDeep) {\n        included = obj.some(function(item) {\n          return isEql(item, val);\n        });\n      } else {\n        included = obj.indexOf(val) !== -1;\n      }\n      break;\n    default:\n      if (val !== Object(val)) {\n        throw new AssertionError(\n          flagMsg + \"the given combination of arguments (\" + objType + \" and \" + type(val).toLowerCase() + \") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a \" + type(val).toLowerCase(),\n          void 0,\n          ssfi\n        );\n      }\n      var props = Object.keys(val), firstErr = null, numErrs = 0;\n      props.forEach(function(prop) {\n        var propAssertion = new Assertion(obj);\n        transferFlags(this, propAssertion, true);\n        flag2(propAssertion, \"lockSsfi\", true);\n        if (!negate || props.length === 1) {\n          propAssertion.property(prop, val[prop]);\n          return;\n        }\n        try {\n          propAssertion.property(prop, val[prop]);\n        } catch (err) {\n          if (!check_error_exports.compatibleConstructor(err, AssertionError)) {\n            throw err;\n          }\n          if (firstErr === null)\n            firstErr = err;\n          numErrs++;\n        }\n      }, this);\n      if (negate && props.length > 1 && numErrs === props.length) {\n        throw firstErr;\n      }\n      return;\n  }\n  this.assert(\n    included,\n    \"expected #{this} to \" + descriptor + \"include \" + inspect2(val),\n    \"expected #{this} to not \" + descriptor + \"include \" + inspect2(val)\n  );\n}\n__name(include, \"include\");\nAssertion.addChainableMethod(\"include\", include, includeChainingBehavior);\nAssertion.addChainableMethod(\"contain\", include, includeChainingBehavior);\nAssertion.addChainableMethod(\"contains\", include, includeChainingBehavior);\nAssertion.addChainableMethod(\"includes\", include, includeChainingBehavior);\nAssertion.addProperty(\"ok\", function() {\n  this.assert(\n    flag2(this, \"object\"),\n    \"expected #{this} to be truthy\",\n    \"expected #{this} to be falsy\"\n  );\n});\nAssertion.addProperty(\"true\", function() {\n  this.assert(\n    true === flag2(this, \"object\"),\n    \"expected #{this} to be true\",\n    \"expected #{this} to be false\",\n    flag2(this, \"negate\") ? false : true\n  );\n});\nAssertion.addProperty(\"numeric\", function() {\n  const object = flag2(this, \"object\");\n  this.assert(\n    [\"Number\", \"BigInt\"].includes(type(object)),\n    \"expected #{this} to be numeric\",\n    \"expected #{this} to not be numeric\",\n    flag2(this, \"negate\") ? false : true\n  );\n});\nAssertion.addProperty(\"callable\", function() {\n  const val = flag2(this, \"object\");\n  const ssfi = flag2(this, \"ssfi\");\n  const message = flag2(this, \"message\");\n  const msg = message ? `${message}: ` : \"\";\n  const negate = flag2(this, \"negate\");\n  const assertionMessage = negate ? `${msg}expected ${inspect2(val)} not to be a callable function` : `${msg}expected ${inspect2(val)} to be a callable function`;\n  const isCallable = [\"Function\", \"AsyncFunction\", \"GeneratorFunction\", \"AsyncGeneratorFunction\"].includes(type(val));\n  if (isCallable && negate || !isCallable && !negate) {\n    throw new AssertionError(\n      assertionMessage,\n      void 0,\n      ssfi\n    );\n  }\n});\nAssertion.addProperty(\"false\", function() {\n  this.assert(\n    false === flag2(this, \"object\"),\n    \"expected #{this} to be false\",\n    \"expected #{this} to be true\",\n    flag2(this, \"negate\") ? true : false\n  );\n});\nAssertion.addProperty(\"null\", function() {\n  this.assert(\n    null === flag2(this, \"object\"),\n    \"expected #{this} to be null\",\n    \"expected #{this} not to be null\"\n  );\n});\nAssertion.addProperty(\"undefined\", function() {\n  this.assert(\n    void 0 === flag2(this, \"object\"),\n    \"expected #{this} to be undefined\",\n    \"expected #{this} not to be undefined\"\n  );\n});\nAssertion.addProperty(\"NaN\", function() {\n  this.assert(\n    isNaN2(flag2(this, \"object\")),\n    \"expected #{this} to be NaN\",\n    \"expected #{this} not to be NaN\"\n  );\n});\nfunction assertExist() {\n  var val = flag2(this, \"object\");\n  this.assert(\n    val !== null && val !== void 0,\n    \"expected #{this} to exist\",\n    \"expected #{this} to not exist\"\n  );\n}\n__name(assertExist, \"assertExist\");\nAssertion.addProperty(\"exist\", assertExist);\nAssertion.addProperty(\"exists\", assertExist);\nAssertion.addProperty(\"empty\", function() {\n  var val = flag2(this, \"object\"), ssfi = flag2(this, \"ssfi\"), flagMsg = flag2(this, \"message\"), itemsCount;\n  flagMsg = flagMsg ? flagMsg + \": \" : \"\";\n  switch (type(val).toLowerCase()) {\n    case \"array\":\n    case \"string\":\n      itemsCount = val.length;\n      break;\n    case \"map\":\n    case \"set\":\n      itemsCount = val.size;\n      break;\n    case \"weakmap\":\n    case \"weakset\":\n      throw new AssertionError(\n        flagMsg + \".empty was passed a weak collection\",\n        void 0,\n        ssfi\n      );\n    case \"function\":\n      var msg = flagMsg + \".empty was passed a function \" + getName(val);\n      throw new AssertionError(msg.trim(), void 0, ssfi);\n    default:\n      if (val !== Object(val)) {\n        throw new AssertionError(\n          flagMsg + \".empty was passed non-string primitive \" + inspect2(val),\n          void 0,\n          ssfi\n        );\n      }\n      itemsCount = Object.keys(val).length;\n  }\n  this.assert(\n    0 === itemsCount,\n    \"expected #{this} to be empty\",\n    \"expected #{this} not to be empty\"\n  );\n});\nfunction checkArguments() {\n  var obj = flag2(this, \"object\"), type3 = type(obj);\n  this.assert(\n    \"Arguments\" === type3,\n    \"expected #{this} to be arguments but got \" + type3,\n    \"expected #{this} to not be arguments\"\n  );\n}\n__name(checkArguments, \"checkArguments\");\nAssertion.addProperty(\"arguments\", checkArguments);\nAssertion.addProperty(\"Arguments\", checkArguments);\nfunction assertEqual(val, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\");\n  if (flag2(this, \"deep\")) {\n    var prevLockSsfi = flag2(this, \"lockSsfi\");\n    flag2(this, \"lockSsfi\", true);\n    this.eql(val);\n    flag2(this, \"lockSsfi\", prevLockSsfi);\n  } else {\n    this.assert(\n      val === obj,\n      \"expected #{this} to equal #{exp}\",\n      \"expected #{this} to not equal #{exp}\",\n      val,\n      this._obj,\n      true\n    );\n  }\n}\n__name(assertEqual, \"assertEqual\");\nAssertion.addMethod(\"equal\", assertEqual);\nAssertion.addMethod(\"equals\", assertEqual);\nAssertion.addMethod(\"eq\", assertEqual);\nfunction assertEql(obj, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var eql = flag2(this, \"eql\");\n  this.assert(\n    eql(obj, flag2(this, \"object\")),\n    \"expected #{this} to deeply equal #{exp}\",\n    \"expected #{this} to not deeply equal #{exp}\",\n    obj,\n    this._obj,\n    true\n  );\n}\n__name(assertEql, \"assertEql\");\nAssertion.addMethod(\"eql\", assertEql);\nAssertion.addMethod(\"eqls\", assertEql);\nfunction assertAbove(n, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), doLength = flag2(this, \"doLength\"), flagMsg = flag2(this, \"message\"), msgPrefix = flagMsg ? flagMsg + \": \" : \"\", ssfi = flag2(this, \"ssfi\"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase();\n  if (doLength && objType !== \"map\" && objType !== \"set\") {\n    new Assertion(obj, flagMsg, ssfi, true).to.have.property(\"length\");\n  }\n  if (!doLength && (objType === \"date\" && nType !== \"date\")) {\n    throw new AssertionError(msgPrefix + \"the argument to above must be a date\", void 0, ssfi);\n  } else if (!isNumeric(n) && (doLength || isNumeric(obj))) {\n    throw new AssertionError(msgPrefix + \"the argument to above must be a number\", void 0, ssfi);\n  } else if (!doLength && (objType !== \"date\" && !isNumeric(obj))) {\n    var printObj = objType === \"string\" ? \"'\" + obj + \"'\" : obj;\n    throw new AssertionError(msgPrefix + \"expected \" + printObj + \" to be a number or a date\", void 0, ssfi);\n  }\n  if (doLength) {\n    var descriptor = \"length\", itemsCount;\n    if (objType === \"map\" || objType === \"set\") {\n      descriptor = \"size\";\n      itemsCount = obj.size;\n    } else {\n      itemsCount = obj.length;\n    }\n    this.assert(\n      itemsCount > n,\n      \"expected #{this} to have a \" + descriptor + \" above #{exp} but got #{act}\",\n      \"expected #{this} to not have a \" + descriptor + \" above #{exp}\",\n      n,\n      itemsCount\n    );\n  } else {\n    this.assert(\n      obj > n,\n      \"expected #{this} to be above #{exp}\",\n      \"expected #{this} to be at most #{exp}\",\n      n\n    );\n  }\n}\n__name(assertAbove, \"assertAbove\");\nAssertion.addMethod(\"above\", assertAbove);\nAssertion.addMethod(\"gt\", assertAbove);\nAssertion.addMethod(\"greaterThan\", assertAbove);\nfunction assertLeast(n, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), doLength = flag2(this, \"doLength\"), flagMsg = flag2(this, \"message\"), msgPrefix = flagMsg ? flagMsg + \": \" : \"\", ssfi = flag2(this, \"ssfi\"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase(), errorMessage, shouldThrow = true;\n  if (doLength && objType !== \"map\" && objType !== \"set\") {\n    new Assertion(obj, flagMsg, ssfi, true).to.have.property(\"length\");\n  }\n  if (!doLength && (objType === \"date\" && nType !== \"date\")) {\n    errorMessage = msgPrefix + \"the argument to least must be a date\";\n  } else if (!isNumeric(n) && (doLength || isNumeric(obj))) {\n    errorMessage = msgPrefix + \"the argument to least must be a number\";\n  } else if (!doLength && (objType !== \"date\" && !isNumeric(obj))) {\n    var printObj = objType === \"string\" ? \"'\" + obj + \"'\" : obj;\n    errorMessage = msgPrefix + \"expected \" + printObj + \" to be a number or a date\";\n  } else {\n    shouldThrow = false;\n  }\n  if (shouldThrow) {\n    throw new AssertionError(errorMessage, void 0, ssfi);\n  }\n  if (doLength) {\n    var descriptor = \"length\", itemsCount;\n    if (objType === \"map\" || objType === \"set\") {\n      descriptor = \"size\";\n      itemsCount = obj.size;\n    } else {\n      itemsCount = obj.length;\n    }\n    this.assert(\n      itemsCount >= n,\n      \"expected #{this} to have a \" + descriptor + \" at least #{exp} but got #{act}\",\n      \"expected #{this} to have a \" + descriptor + \" below #{exp}\",\n      n,\n      itemsCount\n    );\n  } else {\n    this.assert(\n      obj >= n,\n      \"expected #{this} to be at least #{exp}\",\n      \"expected #{this} to be below #{exp}\",\n      n\n    );\n  }\n}\n__name(assertLeast, \"assertLeast\");\nAssertion.addMethod(\"least\", assertLeast);\nAssertion.addMethod(\"gte\", assertLeast);\nAssertion.addMethod(\"greaterThanOrEqual\", assertLeast);\nfunction assertBelow(n, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), doLength = flag2(this, \"doLength\"), flagMsg = flag2(this, \"message\"), msgPrefix = flagMsg ? flagMsg + \": \" : \"\", ssfi = flag2(this, \"ssfi\"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase(), errorMessage, shouldThrow = true;\n  if (doLength && objType !== \"map\" && objType !== \"set\") {\n    new Assertion(obj, flagMsg, ssfi, true).to.have.property(\"length\");\n  }\n  if (!doLength && (objType === \"date\" && nType !== \"date\")) {\n    errorMessage = msgPrefix + \"the argument to below must be a date\";\n  } else if (!isNumeric(n) && (doLength || isNumeric(obj))) {\n    errorMessage = msgPrefix + \"the argument to below must be a number\";\n  } else if (!doLength && (objType !== \"date\" && !isNumeric(obj))) {\n    var printObj = objType === \"string\" ? \"'\" + obj + \"'\" : obj;\n    errorMessage = msgPrefix + \"expected \" + printObj + \" to be a number or a date\";\n  } else {\n    shouldThrow = false;\n  }\n  if (shouldThrow) {\n    throw new AssertionError(errorMessage, void 0, ssfi);\n  }\n  if (doLength) {\n    var descriptor = \"length\", itemsCount;\n    if (objType === \"map\" || objType === \"set\") {\n      descriptor = \"size\";\n      itemsCount = obj.size;\n    } else {\n      itemsCount = obj.length;\n    }\n    this.assert(\n      itemsCount < n,\n      \"expected #{this} to have a \" + descriptor + \" below #{exp} but got #{act}\",\n      \"expected #{this} to not have a \" + descriptor + \" below #{exp}\",\n      n,\n      itemsCount\n    );\n  } else {\n    this.assert(\n      obj < n,\n      \"expected #{this} to be below #{exp}\",\n      \"expected #{this} to be at least #{exp}\",\n      n\n    );\n  }\n}\n__name(assertBelow, \"assertBelow\");\nAssertion.addMethod(\"below\", assertBelow);\nAssertion.addMethod(\"lt\", assertBelow);\nAssertion.addMethod(\"lessThan\", assertBelow);\nfunction assertMost(n, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), doLength = flag2(this, \"doLength\"), flagMsg = flag2(this, \"message\"), msgPrefix = flagMsg ? flagMsg + \": \" : \"\", ssfi = flag2(this, \"ssfi\"), objType = type(obj).toLowerCase(), nType = type(n).toLowerCase(), errorMessage, shouldThrow = true;\n  if (doLength && objType !== \"map\" && objType !== \"set\") {\n    new Assertion(obj, flagMsg, ssfi, true).to.have.property(\"length\");\n  }\n  if (!doLength && (objType === \"date\" && nType !== \"date\")) {\n    errorMessage = msgPrefix + \"the argument to most must be a date\";\n  } else if (!isNumeric(n) && (doLength || isNumeric(obj))) {\n    errorMessage = msgPrefix + \"the argument to most must be a number\";\n  } else if (!doLength && (objType !== \"date\" && !isNumeric(obj))) {\n    var printObj = objType === \"string\" ? \"'\" + obj + \"'\" : obj;\n    errorMessage = msgPrefix + \"expected \" + printObj + \" to be a number or a date\";\n  } else {\n    shouldThrow = false;\n  }\n  if (shouldThrow) {\n    throw new AssertionError(errorMessage, void 0, ssfi);\n  }\n  if (doLength) {\n    var descriptor = \"length\", itemsCount;\n    if (objType === \"map\" || objType === \"set\") {\n      descriptor = \"size\";\n      itemsCount = obj.size;\n    } else {\n      itemsCount = obj.length;\n    }\n    this.assert(\n      itemsCount <= n,\n      \"expected #{this} to have a \" + descriptor + \" at most #{exp} but got #{act}\",\n      \"expected #{this} to have a \" + descriptor + \" above #{exp}\",\n      n,\n      itemsCount\n    );\n  } else {\n    this.assert(\n      obj <= n,\n      \"expected #{this} to be at most #{exp}\",\n      \"expected #{this} to be above #{exp}\",\n      n\n    );\n  }\n}\n__name(assertMost, \"assertMost\");\nAssertion.addMethod(\"most\", assertMost);\nAssertion.addMethod(\"lte\", assertMost);\nAssertion.addMethod(\"lessThanOrEqual\", assertMost);\nAssertion.addMethod(\"within\", function(start, finish, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), doLength = flag2(this, \"doLength\"), flagMsg = flag2(this, \"message\"), msgPrefix = flagMsg ? flagMsg + \": \" : \"\", ssfi = flag2(this, \"ssfi\"), objType = type(obj).toLowerCase(), startType = type(start).toLowerCase(), finishType = type(finish).toLowerCase(), errorMessage, shouldThrow = true, range = startType === \"date\" && finishType === \"date\" ? start.toISOString() + \"..\" + finish.toISOString() : start + \"..\" + finish;\n  if (doLength && objType !== \"map\" && objType !== \"set\") {\n    new Assertion(obj, flagMsg, ssfi, true).to.have.property(\"length\");\n  }\n  if (!doLength && (objType === \"date\" && (startType !== \"date\" || finishType !== \"date\"))) {\n    errorMessage = msgPrefix + \"the arguments to within must be dates\";\n  } else if ((!isNumeric(start) || !isNumeric(finish)) && (doLength || isNumeric(obj))) {\n    errorMessage = msgPrefix + \"the arguments to within must be numbers\";\n  } else if (!doLength && (objType !== \"date\" && !isNumeric(obj))) {\n    var printObj = objType === \"string\" ? \"'\" + obj + \"'\" : obj;\n    errorMessage = msgPrefix + \"expected \" + printObj + \" to be a number or a date\";\n  } else {\n    shouldThrow = false;\n  }\n  if (shouldThrow) {\n    throw new AssertionError(errorMessage, void 0, ssfi);\n  }\n  if (doLength) {\n    var descriptor = \"length\", itemsCount;\n    if (objType === \"map\" || objType === \"set\") {\n      descriptor = \"size\";\n      itemsCount = obj.size;\n    } else {\n      itemsCount = obj.length;\n    }\n    this.assert(\n      itemsCount >= start && itemsCount <= finish,\n      \"expected #{this} to have a \" + descriptor + \" within \" + range,\n      \"expected #{this} to not have a \" + descriptor + \" within \" + range\n    );\n  } else {\n    this.assert(\n      obj >= start && obj <= finish,\n      \"expected #{this} to be within \" + range,\n      \"expected #{this} to not be within \" + range\n    );\n  }\n});\nfunction assertInstanceOf(constructor, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var target = flag2(this, \"object\");\n  var ssfi = flag2(this, \"ssfi\");\n  var flagMsg = flag2(this, \"message\");\n  try {\n    var isInstanceOf = target instanceof constructor;\n  } catch (err) {\n    if (err instanceof TypeError) {\n      flagMsg = flagMsg ? flagMsg + \": \" : \"\";\n      throw new AssertionError(\n        flagMsg + \"The instanceof assertion needs a constructor but \" + type(constructor) + \" was given.\",\n        void 0,\n        ssfi\n      );\n    }\n    throw err;\n  }\n  var name = getName(constructor);\n  if (name == null) {\n    name = \"an unnamed constructor\";\n  }\n  this.assert(\n    isInstanceOf,\n    \"expected #{this} to be an instance of \" + name,\n    \"expected #{this} to not be an instance of \" + name\n  );\n}\n__name(assertInstanceOf, \"assertInstanceOf\");\nAssertion.addMethod(\"instanceof\", assertInstanceOf);\nAssertion.addMethod(\"instanceOf\", assertInstanceOf);\nfunction assertProperty(name, val, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var isNested = flag2(this, \"nested\"), isOwn = flag2(this, \"own\"), flagMsg = flag2(this, \"message\"), obj = flag2(this, \"object\"), ssfi = flag2(this, \"ssfi\"), nameType = typeof name;\n  flagMsg = flagMsg ? flagMsg + \": \" : \"\";\n  if (isNested) {\n    if (nameType !== \"string\") {\n      throw new AssertionError(\n        flagMsg + \"the argument to property must be a string when using nested syntax\",\n        void 0,\n        ssfi\n      );\n    }\n  } else {\n    if (nameType !== \"string\" && nameType !== \"number\" && nameType !== \"symbol\") {\n      throw new AssertionError(\n        flagMsg + \"the argument to property must be a string, number, or symbol\",\n        void 0,\n        ssfi\n      );\n    }\n  }\n  if (isNested && isOwn) {\n    throw new AssertionError(\n      flagMsg + 'The \"nested\" and \"own\" flags cannot be combined.',\n      void 0,\n      ssfi\n    );\n  }\n  if (obj === null || obj === void 0) {\n    throw new AssertionError(\n      flagMsg + \"Target cannot be null or undefined.\",\n      void 0,\n      ssfi\n    );\n  }\n  var isDeep = flag2(this, \"deep\"), negate = flag2(this, \"negate\"), pathInfo = isNested ? getPathInfo(obj, name) : null, value = isNested ? pathInfo.value : obj[name], isEql = isDeep ? flag2(this, \"eql\") : (val1, val2) => val1 === val2;\n  var descriptor = \"\";\n  if (isDeep)\n    descriptor += \"deep \";\n  if (isOwn)\n    descriptor += \"own \";\n  if (isNested)\n    descriptor += \"nested \";\n  descriptor += \"property \";\n  var hasProperty2;\n  if (isOwn)\n    hasProperty2 = Object.prototype.hasOwnProperty.call(obj, name);\n  else if (isNested)\n    hasProperty2 = pathInfo.exists;\n  else\n    hasProperty2 = hasProperty(obj, name);\n  if (!negate || arguments.length === 1) {\n    this.assert(\n      hasProperty2,\n      \"expected #{this} to have \" + descriptor + inspect2(name),\n      \"expected #{this} to not have \" + descriptor + inspect2(name)\n    );\n  }\n  if (arguments.length > 1) {\n    this.assert(\n      hasProperty2 && isEql(val, value),\n      \"expected #{this} to have \" + descriptor + inspect2(name) + \" of #{exp}, but got #{act}\",\n      \"expected #{this} to not have \" + descriptor + inspect2(name) + \" of #{act}\",\n      val,\n      value\n    );\n  }\n  flag2(this, \"object\", value);\n}\n__name(assertProperty, \"assertProperty\");\nAssertion.addMethod(\"property\", assertProperty);\nfunction assertOwnProperty(name, value, msg) {\n  flag2(this, \"own\", true);\n  assertProperty.apply(this, arguments);\n}\n__name(assertOwnProperty, \"assertOwnProperty\");\nAssertion.addMethod(\"ownProperty\", assertOwnProperty);\nAssertion.addMethod(\"haveOwnProperty\", assertOwnProperty);\nfunction assertOwnPropertyDescriptor(name, descriptor, msg) {\n  if (typeof descriptor === \"string\") {\n    msg = descriptor;\n    descriptor = null;\n  }\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\");\n  var actualDescriptor = Object.getOwnPropertyDescriptor(Object(obj), name);\n  var eql = flag2(this, \"eql\");\n  if (actualDescriptor && descriptor) {\n    this.assert(\n      eql(descriptor, actualDescriptor),\n      \"expected the own property descriptor for \" + inspect2(name) + \" on #{this} to match \" + inspect2(descriptor) + \", got \" + inspect2(actualDescriptor),\n      \"expected the own property descriptor for \" + inspect2(name) + \" on #{this} to not match \" + inspect2(descriptor),\n      descriptor,\n      actualDescriptor,\n      true\n    );\n  } else {\n    this.assert(\n      actualDescriptor,\n      \"expected #{this} to have an own property descriptor for \" + inspect2(name),\n      \"expected #{this} to not have an own property descriptor for \" + inspect2(name)\n    );\n  }\n  flag2(this, \"object\", actualDescriptor);\n}\n__name(assertOwnPropertyDescriptor, \"assertOwnPropertyDescriptor\");\nAssertion.addMethod(\"ownPropertyDescriptor\", assertOwnPropertyDescriptor);\nAssertion.addMethod(\"haveOwnPropertyDescriptor\", assertOwnPropertyDescriptor);\nfunction assertLengthChain() {\n  flag2(this, \"doLength\", true);\n}\n__name(assertLengthChain, \"assertLengthChain\");\nfunction assertLength(n, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), objType = type(obj).toLowerCase(), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\"), descriptor = \"length\", itemsCount;\n  switch (objType) {\n    case \"map\":\n    case \"set\":\n      descriptor = \"size\";\n      itemsCount = obj.size;\n      break;\n    default:\n      new Assertion(obj, flagMsg, ssfi, true).to.have.property(\"length\");\n      itemsCount = obj.length;\n  }\n  this.assert(\n    itemsCount == n,\n    \"expected #{this} to have a \" + descriptor + \" of #{exp} but got #{act}\",\n    \"expected #{this} to not have a \" + descriptor + \" of #{act}\",\n    n,\n    itemsCount\n  );\n}\n__name(assertLength, \"assertLength\");\nAssertion.addChainableMethod(\"length\", assertLength, assertLengthChain);\nAssertion.addChainableMethod(\"lengthOf\", assertLength, assertLengthChain);\nfunction assertMatch(re, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\");\n  this.assert(\n    re.exec(obj),\n    \"expected #{this} to match \" + re,\n    \"expected #{this} not to match \" + re\n  );\n}\n__name(assertMatch, \"assertMatch\");\nAssertion.addMethod(\"match\", assertMatch);\nAssertion.addMethod(\"matches\", assertMatch);\nAssertion.addMethod(\"string\", function(str, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\");\n  new Assertion(obj, flagMsg, ssfi, true).is.a(\"string\");\n  this.assert(\n    ~obj.indexOf(str),\n    \"expected #{this} to contain \" + inspect2(str),\n    \"expected #{this} to not contain \" + inspect2(str)\n  );\n});\nfunction assertKeys(keys) {\n  var obj = flag2(this, \"object\"), objType = type(obj), keysType = type(keys), ssfi = flag2(this, \"ssfi\"), isDeep = flag2(this, \"deep\"), str, deepStr = \"\", actual, ok = true, flagMsg = flag2(this, \"message\");\n  flagMsg = flagMsg ? flagMsg + \": \" : \"\";\n  var mixedArgsMsg = flagMsg + \"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments\";\n  if (objType === \"Map\" || objType === \"Set\") {\n    deepStr = isDeep ? \"deeply \" : \"\";\n    actual = [];\n    obj.forEach(function(val, key) {\n      actual.push(key);\n    });\n    if (keysType !== \"Array\") {\n      keys = Array.prototype.slice.call(arguments);\n    }\n  } else {\n    actual = getOwnEnumerableProperties(obj);\n    switch (keysType) {\n      case \"Array\":\n        if (arguments.length > 1) {\n          throw new AssertionError(mixedArgsMsg, void 0, ssfi);\n        }\n        break;\n      case \"Object\":\n        if (arguments.length > 1) {\n          throw new AssertionError(mixedArgsMsg, void 0, ssfi);\n        }\n        keys = Object.keys(keys);\n        break;\n      default:\n        keys = Array.prototype.slice.call(arguments);\n    }\n    keys = keys.map(function(val) {\n      return typeof val === \"symbol\" ? val : String(val);\n    });\n  }\n  if (!keys.length) {\n    throw new AssertionError(flagMsg + \"keys required\", void 0, ssfi);\n  }\n  var len = keys.length, any = flag2(this, \"any\"), all = flag2(this, \"all\"), expected = keys, isEql = isDeep ? flag2(this, \"eql\") : (val1, val2) => val1 === val2;\n  if (!any && !all) {\n    all = true;\n  }\n  if (any) {\n    ok = expected.some(function(expectedKey) {\n      return actual.some(function(actualKey) {\n        return isEql(expectedKey, actualKey);\n      });\n    });\n  }\n  if (all) {\n    ok = expected.every(function(expectedKey) {\n      return actual.some(function(actualKey) {\n        return isEql(expectedKey, actualKey);\n      });\n    });\n    if (!flag2(this, \"contains\")) {\n      ok = ok && keys.length == actual.length;\n    }\n  }\n  if (len > 1) {\n    keys = keys.map(function(key) {\n      return inspect2(key);\n    });\n    var last = keys.pop();\n    if (all) {\n      str = keys.join(\", \") + \", and \" + last;\n    }\n    if (any) {\n      str = keys.join(\", \") + \", or \" + last;\n    }\n  } else {\n    str = inspect2(keys[0]);\n  }\n  str = (len > 1 ? \"keys \" : \"key \") + str;\n  str = (flag2(this, \"contains\") ? \"contain \" : \"have \") + str;\n  this.assert(\n    ok,\n    \"expected #{this} to \" + deepStr + str,\n    \"expected #{this} to not \" + deepStr + str,\n    expected.slice(0).sort(compareByInspect),\n    actual.sort(compareByInspect),\n    true\n  );\n}\n__name(assertKeys, \"assertKeys\");\nAssertion.addMethod(\"keys\", assertKeys);\nAssertion.addMethod(\"key\", assertKeys);\nfunction assertThrows(errorLike, errMsgMatcher, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), ssfi = flag2(this, \"ssfi\"), flagMsg = flag2(this, \"message\"), negate = flag2(this, \"negate\") || false;\n  new Assertion(obj, flagMsg, ssfi, true).is.a(\"function\");\n  if (isRegExp2(errorLike) || typeof errorLike === \"string\") {\n    errMsgMatcher = errorLike;\n    errorLike = null;\n  }\n  let caughtErr;\n  let errorWasThrown = false;\n  try {\n    obj();\n  } catch (err) {\n    errorWasThrown = true;\n    caughtErr = err;\n  }\n  var everyArgIsUndefined = errorLike === void 0 && errMsgMatcher === void 0;\n  var everyArgIsDefined = Boolean(errorLike && errMsgMatcher);\n  var errorLikeFail = false;\n  var errMsgMatcherFail = false;\n  if (everyArgIsUndefined || !everyArgIsUndefined && !negate) {\n    var errorLikeString = \"an error\";\n    if (errorLike instanceof Error) {\n      errorLikeString = \"#{exp}\";\n    } else if (errorLike) {\n      errorLikeString = check_error_exports.getConstructorName(errorLike);\n    }\n    let actual = caughtErr;\n    if (caughtErr instanceof Error) {\n      actual = caughtErr.toString();\n    } else if (typeof caughtErr === \"string\") {\n      actual = caughtErr;\n    } else if (caughtErr && (typeof caughtErr === \"object\" || typeof caughtErr === \"function\")) {\n      try {\n        actual = check_error_exports.getConstructorName(caughtErr);\n      } catch (_err) {\n      }\n    }\n    this.assert(\n      errorWasThrown,\n      \"expected #{this} to throw \" + errorLikeString,\n      \"expected #{this} to not throw an error but #{act} was thrown\",\n      errorLike && errorLike.toString(),\n      actual\n    );\n  }\n  if (errorLike && caughtErr) {\n    if (errorLike instanceof Error) {\n      var isCompatibleInstance = check_error_exports.compatibleInstance(caughtErr, errorLike);\n      if (isCompatibleInstance === negate) {\n        if (everyArgIsDefined && negate) {\n          errorLikeFail = true;\n        } else {\n          this.assert(\n            negate,\n            \"expected #{this} to throw #{exp} but #{act} was thrown\",\n            \"expected #{this} to not throw #{exp}\" + (caughtErr && !negate ? \" but #{act} was thrown\" : \"\"),\n            errorLike.toString(),\n            caughtErr.toString()\n          );\n        }\n      }\n    }\n    var isCompatibleConstructor = check_error_exports.compatibleConstructor(caughtErr, errorLike);\n    if (isCompatibleConstructor === negate) {\n      if (everyArgIsDefined && negate) {\n        errorLikeFail = true;\n      } else {\n        this.assert(\n          negate,\n          \"expected #{this} to throw #{exp} but #{act} was thrown\",\n          \"expected #{this} to not throw #{exp}\" + (caughtErr ? \" but #{act} was thrown\" : \"\"),\n          errorLike instanceof Error ? errorLike.toString() : errorLike && check_error_exports.getConstructorName(errorLike),\n          caughtErr instanceof Error ? caughtErr.toString() : caughtErr && check_error_exports.getConstructorName(caughtErr)\n        );\n      }\n    }\n  }\n  if (caughtErr && errMsgMatcher !== void 0 && errMsgMatcher !== null) {\n    var placeholder = \"including\";\n    if (isRegExp2(errMsgMatcher)) {\n      placeholder = \"matching\";\n    }\n    var isCompatibleMessage = check_error_exports.compatibleMessage(caughtErr, errMsgMatcher);\n    if (isCompatibleMessage === negate) {\n      if (everyArgIsDefined && negate) {\n        errMsgMatcherFail = true;\n      } else {\n        this.assert(\n          negate,\n          \"expected #{this} to throw error \" + placeholder + \" #{exp} but got #{act}\",\n          \"expected #{this} to throw error not \" + placeholder + \" #{exp}\",\n          errMsgMatcher,\n          check_error_exports.getMessage(caughtErr)\n        );\n      }\n    }\n  }\n  if (errorLikeFail && errMsgMatcherFail) {\n    this.assert(\n      negate,\n      \"expected #{this} to throw #{exp} but #{act} was thrown\",\n      \"expected #{this} to not throw #{exp}\" + (caughtErr ? \" but #{act} was thrown\" : \"\"),\n      errorLike instanceof Error ? errorLike.toString() : errorLike && check_error_exports.getConstructorName(errorLike),\n      caughtErr instanceof Error ? caughtErr.toString() : caughtErr && check_error_exports.getConstructorName(caughtErr)\n    );\n  }\n  flag2(this, \"object\", caughtErr);\n}\n__name(assertThrows, \"assertThrows\");\nAssertion.addMethod(\"throw\", assertThrows);\nAssertion.addMethod(\"throws\", assertThrows);\nAssertion.addMethod(\"Throw\", assertThrows);\nfunction respondTo(method, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), itself = flag2(this, \"itself\"), context = \"function\" === typeof obj && !itself ? obj.prototype[method] : obj[method];\n  this.assert(\n    \"function\" === typeof context,\n    \"expected #{this} to respond to \" + inspect2(method),\n    \"expected #{this} to not respond to \" + inspect2(method)\n  );\n}\n__name(respondTo, \"respondTo\");\nAssertion.addMethod(\"respondTo\", respondTo);\nAssertion.addMethod(\"respondsTo\", respondTo);\nAssertion.addProperty(\"itself\", function() {\n  flag2(this, \"itself\", true);\n});\nfunction satisfy(matcher, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\");\n  var result = matcher(obj);\n  this.assert(\n    result,\n    \"expected #{this} to satisfy \" + objDisplay(matcher),\n    \"expected #{this} to not satisfy\" + objDisplay(matcher),\n    flag2(this, \"negate\") ? false : true,\n    result\n  );\n}\n__name(satisfy, \"satisfy\");\nAssertion.addMethod(\"satisfy\", satisfy);\nAssertion.addMethod(\"satisfies\", satisfy);\nfunction closeTo(expected, delta, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\");\n  new Assertion(obj, flagMsg, ssfi, true).is.numeric;\n  let message = \"A `delta` value is required for `closeTo`\";\n  if (delta == void 0)\n    throw new AssertionError(flagMsg ? `${flagMsg}: ${message}` : message, void 0, ssfi);\n  new Assertion(delta, flagMsg, ssfi, true).is.numeric;\n  message = \"A `expected` value is required for `closeTo`\";\n  if (expected == void 0)\n    throw new AssertionError(flagMsg ? `${flagMsg}: ${message}` : message, void 0, ssfi);\n  new Assertion(expected, flagMsg, ssfi, true).is.numeric;\n  const abs = /* @__PURE__ */ __name((x) => x < 0n ? -x : x, \"abs\");\n  this.assert(\n    abs(obj - expected) <= delta,\n    \"expected #{this} to be close to \" + expected + \" +/- \" + delta,\n    \"expected #{this} not to be close to \" + expected + \" +/- \" + delta\n  );\n}\n__name(closeTo, \"closeTo\");\nAssertion.addMethod(\"closeTo\", closeTo);\nAssertion.addMethod(\"approximately\", closeTo);\nfunction isSubsetOf(_subset, _superset, cmp, contains, ordered) {\n  let superset = Array.from(_superset);\n  let subset = Array.from(_subset);\n  if (!contains) {\n    if (subset.length !== superset.length)\n      return false;\n    superset = superset.slice();\n  }\n  return subset.every(function(elem, idx) {\n    if (ordered)\n      return cmp ? cmp(elem, superset[idx]) : elem === superset[idx];\n    if (!cmp) {\n      var matchIdx = superset.indexOf(elem);\n      if (matchIdx === -1)\n        return false;\n      if (!contains)\n        superset.splice(matchIdx, 1);\n      return true;\n    }\n    return superset.some(function(elem2, matchIdx2) {\n      if (!cmp(elem, elem2))\n        return false;\n      if (!contains)\n        superset.splice(matchIdx2, 1);\n      return true;\n    });\n  });\n}\n__name(isSubsetOf, \"isSubsetOf\");\nAssertion.addMethod(\"members\", function(subset, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\"), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\");\n  new Assertion(obj, flagMsg, ssfi, true).to.be.iterable;\n  new Assertion(subset, flagMsg, ssfi, true).to.be.iterable;\n  var contains = flag2(this, \"contains\");\n  var ordered = flag2(this, \"ordered\");\n  var subject, failMsg, failNegateMsg;\n  if (contains) {\n    subject = ordered ? \"an ordered superset\" : \"a superset\";\n    failMsg = \"expected #{this} to be \" + subject + \" of #{exp}\";\n    failNegateMsg = \"expected #{this} to not be \" + subject + \" of #{exp}\";\n  } else {\n    subject = ordered ? \"ordered members\" : \"members\";\n    failMsg = \"expected #{this} to have the same \" + subject + \" as #{exp}\";\n    failNegateMsg = \"expected #{this} to not have the same \" + subject + \" as #{exp}\";\n  }\n  var cmp = flag2(this, \"deep\") ? flag2(this, \"eql\") : void 0;\n  this.assert(\n    isSubsetOf(subset, obj, cmp, contains, ordered),\n    failMsg,\n    failNegateMsg,\n    subset,\n    obj,\n    true\n  );\n});\nAssertion.addProperty(\"iterable\", function(msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var obj = flag2(this, \"object\");\n  this.assert(\n    obj != void 0 && obj[Symbol.iterator],\n    \"expected #{this} to be an iterable\",\n    \"expected #{this} to not be an iterable\",\n    obj\n  );\n});\nfunction oneOf(list, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var expected = flag2(this, \"object\"), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\"), contains = flag2(this, \"contains\"), isDeep = flag2(this, \"deep\"), eql = flag2(this, \"eql\");\n  new Assertion(list, flagMsg, ssfi, true).to.be.an(\"array\");\n  if (contains) {\n    this.assert(\n      list.some(function(possibility) {\n        return expected.indexOf(possibility) > -1;\n      }),\n      \"expected #{this} to contain one of #{exp}\",\n      \"expected #{this} to not contain one of #{exp}\",\n      list,\n      expected\n    );\n  } else {\n    if (isDeep) {\n      this.assert(\n        list.some(function(possibility) {\n          return eql(expected, possibility);\n        }),\n        \"expected #{this} to deeply equal one of #{exp}\",\n        \"expected #{this} to deeply equal one of #{exp}\",\n        list,\n        expected\n      );\n    } else {\n      this.assert(\n        list.indexOf(expected) > -1,\n        \"expected #{this} to be one of #{exp}\",\n        \"expected #{this} to not be one of #{exp}\",\n        list,\n        expected\n      );\n    }\n  }\n}\n__name(oneOf, \"oneOf\");\nAssertion.addMethod(\"oneOf\", oneOf);\nfunction assertChanges(subject, prop, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var fn = flag2(this, \"object\"), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\");\n  new Assertion(fn, flagMsg, ssfi, true).is.a(\"function\");\n  var initial;\n  if (!prop) {\n    new Assertion(subject, flagMsg, ssfi, true).is.a(\"function\");\n    initial = subject();\n  } else {\n    new Assertion(subject, flagMsg, ssfi, true).to.have.property(prop);\n    initial = subject[prop];\n  }\n  fn();\n  var final = prop === void 0 || prop === null ? subject() : subject[prop];\n  var msgObj = prop === void 0 || prop === null ? initial : \".\" + prop;\n  flag2(this, \"deltaMsgObj\", msgObj);\n  flag2(this, \"initialDeltaValue\", initial);\n  flag2(this, \"finalDeltaValue\", final);\n  flag2(this, \"deltaBehavior\", \"change\");\n  flag2(this, \"realDelta\", final !== initial);\n  this.assert(\n    initial !== final,\n    \"expected \" + msgObj + \" to change\",\n    \"expected \" + msgObj + \" to not change\"\n  );\n}\n__name(assertChanges, \"assertChanges\");\nAssertion.addMethod(\"change\", assertChanges);\nAssertion.addMethod(\"changes\", assertChanges);\nfunction assertIncreases(subject, prop, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var fn = flag2(this, \"object\"), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\");\n  new Assertion(fn, flagMsg, ssfi, true).is.a(\"function\");\n  var initial;\n  if (!prop) {\n    new Assertion(subject, flagMsg, ssfi, true).is.a(\"function\");\n    initial = subject();\n  } else {\n    new Assertion(subject, flagMsg, ssfi, true).to.have.property(prop);\n    initial = subject[prop];\n  }\n  new Assertion(initial, flagMsg, ssfi, true).is.a(\"number\");\n  fn();\n  var final = prop === void 0 || prop === null ? subject() : subject[prop];\n  var msgObj = prop === void 0 || prop === null ? initial : \".\" + prop;\n  flag2(this, \"deltaMsgObj\", msgObj);\n  flag2(this, \"initialDeltaValue\", initial);\n  flag2(this, \"finalDeltaValue\", final);\n  flag2(this, \"deltaBehavior\", \"increase\");\n  flag2(this, \"realDelta\", final - initial);\n  this.assert(\n    final - initial > 0,\n    \"expected \" + msgObj + \" to increase\",\n    \"expected \" + msgObj + \" to not increase\"\n  );\n}\n__name(assertIncreases, \"assertIncreases\");\nAssertion.addMethod(\"increase\", assertIncreases);\nAssertion.addMethod(\"increases\", assertIncreases);\nfunction assertDecreases(subject, prop, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var fn = flag2(this, \"object\"), flagMsg = flag2(this, \"message\"), ssfi = flag2(this, \"ssfi\");\n  new Assertion(fn, flagMsg, ssfi, true).is.a(\"function\");\n  var initial;\n  if (!prop) {\n    new Assertion(subject, flagMsg, ssfi, true).is.a(\"function\");\n    initial = subject();\n  } else {\n    new Assertion(subject, flagMsg, ssfi, true).to.have.property(prop);\n    initial = subject[prop];\n  }\n  new Assertion(initial, flagMsg, ssfi, true).is.a(\"number\");\n  fn();\n  var final = prop === void 0 || prop === null ? subject() : subject[prop];\n  var msgObj = prop === void 0 || prop === null ? initial : \".\" + prop;\n  flag2(this, \"deltaMsgObj\", msgObj);\n  flag2(this, \"initialDeltaValue\", initial);\n  flag2(this, \"finalDeltaValue\", final);\n  flag2(this, \"deltaBehavior\", \"decrease\");\n  flag2(this, \"realDelta\", initial - final);\n  this.assert(\n    final - initial < 0,\n    \"expected \" + msgObj + \" to decrease\",\n    \"expected \" + msgObj + \" to not decrease\"\n  );\n}\n__name(assertDecreases, \"assertDecreases\");\nAssertion.addMethod(\"decrease\", assertDecreases);\nAssertion.addMethod(\"decreases\", assertDecreases);\nfunction assertDelta(delta, msg) {\n  if (msg)\n    flag2(this, \"message\", msg);\n  var msgObj = flag2(this, \"deltaMsgObj\");\n  var initial = flag2(this, \"initialDeltaValue\");\n  var final = flag2(this, \"finalDeltaValue\");\n  var behavior = flag2(this, \"deltaBehavior\");\n  var realDelta = flag2(this, \"realDelta\");\n  var expression;\n  if (behavior === \"change\") {\n    expression = Math.abs(final - initial) === Math.abs(delta);\n  } else {\n    expression = realDelta === Math.abs(delta);\n  }\n  this.assert(\n    expression,\n    \"expected \" + msgObj + \" to \" + behavior + \" by \" + delta,\n    \"expected \" + msgObj + \" to not \" + behavior + \" by \" + delta\n  );\n}\n__name(assertDelta, \"assertDelta\");\nAssertion.addMethod(\"by\", assertDelta);\nAssertion.addProperty(\"extensible\", function() {\n  var obj = flag2(this, \"object\");\n  var isExtensible = obj === Object(obj) && Object.isExtensible(obj);\n  this.assert(\n    isExtensible,\n    \"expected #{this} to be extensible\",\n    \"expected #{this} to not be extensible\"\n  );\n});\nAssertion.addProperty(\"sealed\", function() {\n  var obj = flag2(this, \"object\");\n  var isSealed = obj === Object(obj) ? Object.isSealed(obj) : true;\n  this.assert(\n    isSealed,\n    \"expected #{this} to be sealed\",\n    \"expected #{this} to not be sealed\"\n  );\n});\nAssertion.addProperty(\"frozen\", function() {\n  var obj = flag2(this, \"object\");\n  var isFrozen = obj === Object(obj) ? Object.isFrozen(obj) : true;\n  this.assert(\n    isFrozen,\n    \"expected #{this} to be frozen\",\n    \"expected #{this} to not be frozen\"\n  );\n});\nAssertion.addProperty(\"finite\", function(msg) {\n  var obj = flag2(this, \"object\");\n  this.assert(\n    typeof obj === \"number\" && isFinite(obj),\n    \"expected #{this} to be a finite number\",\n    \"expected #{this} to not be a finite number\"\n  );\n});\n\n// lib/chai/interface/expect.js\nfunction expect(val, message) {\n  return new Assertion(val, message);\n}\n__name(expect, \"expect\");\nexpect.fail = function(actual, expected, message, operator) {\n  if (arguments.length < 2) {\n    message = actual;\n    actual = void 0;\n  }\n  message = message || \"expect.fail()\";\n  throw new AssertionError(message, {\n    actual,\n    expected,\n    operator\n  }, expect.fail);\n};\n\n// lib/chai/interface/should.js\nvar should_exports = {};\n__export(should_exports, {\n  Should: () => Should,\n  should: () => should\n});\nfunction loadShould() {\n  function shouldGetter() {\n    if (this instanceof String || this instanceof Number || this instanceof Boolean || typeof Symbol === \"function\" && this instanceof Symbol || typeof BigInt === \"function\" && this instanceof BigInt) {\n      return new Assertion(this.valueOf(), null, shouldGetter);\n    }\n    return new Assertion(this, null, shouldGetter);\n  }\n  __name(shouldGetter, \"shouldGetter\");\n  function shouldSetter(value) {\n    Object.defineProperty(this, \"should\", {\n      value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  }\n  __name(shouldSetter, \"shouldSetter\");\n  Object.defineProperty(Object.prototype, \"should\", {\n    set: shouldSetter,\n    get: shouldGetter,\n    configurable: true\n  });\n  var should2 = {};\n  should2.fail = function(actual, expected, message, operator) {\n    if (arguments.length < 2) {\n      message = actual;\n      actual = void 0;\n    }\n    message = message || \"should.fail()\";\n    throw new AssertionError(message, {\n      actual,\n      expected,\n      operator\n    }, should2.fail);\n  };\n  should2.equal = function(actual, expected, message) {\n    new Assertion(actual, message).to.equal(expected);\n  };\n  should2.Throw = function(fn, errt, errs, msg) {\n    new Assertion(fn, msg).to.Throw(errt, errs);\n  };\n  should2.exist = function(val, msg) {\n    new Assertion(val, msg).to.exist;\n  };\n  should2.not = {};\n  should2.not.equal = function(actual, expected, msg) {\n    new Assertion(actual, msg).to.not.equal(expected);\n  };\n  should2.not.Throw = function(fn, errt, errs, msg) {\n    new Assertion(fn, msg).to.not.Throw(errt, errs);\n  };\n  should2.not.exist = function(val, msg) {\n    new Assertion(val, msg).to.not.exist;\n  };\n  should2[\"throw\"] = should2[\"Throw\"];\n  should2.not[\"throw\"] = should2.not[\"Throw\"];\n  return should2;\n}\n__name(loadShould, \"loadShould\");\nvar should = loadShould;\nvar Should = loadShould;\n\n// lib/chai/interface/assert.js\nfunction assert(express, errmsg) {\n  var test2 = new Assertion(null, null, assert, true);\n  test2.assert(\n    express,\n    errmsg,\n    \"[ negation message unavailable ]\"\n  );\n}\n__name(assert, \"assert\");\nassert.fail = function(actual, expected, message, operator) {\n  if (arguments.length < 2) {\n    message = actual;\n    actual = void 0;\n  }\n  message = message || \"assert.fail()\";\n  throw new AssertionError(message, {\n    actual,\n    expected,\n    operator\n  }, assert.fail);\n};\nassert.isOk = function(val, msg) {\n  new Assertion(val, msg, assert.isOk, true).is.ok;\n};\nassert.isNotOk = function(val, msg) {\n  new Assertion(val, msg, assert.isNotOk, true).is.not.ok;\n};\nassert.equal = function(act, exp, msg) {\n  var test2 = new Assertion(act, msg, assert.equal, true);\n  test2.assert(\n    exp == flag(test2, \"object\"),\n    \"expected #{this} to equal #{exp}\",\n    \"expected #{this} to not equal #{act}\",\n    exp,\n    act,\n    true\n  );\n};\nassert.notEqual = function(act, exp, msg) {\n  var test2 = new Assertion(act, msg, assert.notEqual, true);\n  test2.assert(\n    exp != flag(test2, \"object\"),\n    \"expected #{this} to not equal #{exp}\",\n    \"expected #{this} to equal #{act}\",\n    exp,\n    act,\n    true\n  );\n};\nassert.strictEqual = function(act, exp, msg) {\n  new Assertion(act, msg, assert.strictEqual, true).to.equal(exp);\n};\nassert.notStrictEqual = function(act, exp, msg) {\n  new Assertion(act, msg, assert.notStrictEqual, true).to.not.equal(exp);\n};\nassert.deepEqual = assert.deepStrictEqual = function(act, exp, msg) {\n  new Assertion(act, msg, assert.deepEqual, true).to.eql(exp);\n};\nassert.notDeepEqual = function(act, exp, msg) {\n  new Assertion(act, msg, assert.notDeepEqual, true).to.not.eql(exp);\n};\nassert.isAbove = function(val, abv, msg) {\n  new Assertion(val, msg, assert.isAbove, true).to.be.above(abv);\n};\nassert.isAtLeast = function(val, atlst, msg) {\n  new Assertion(val, msg, assert.isAtLeast, true).to.be.least(atlst);\n};\nassert.isBelow = function(val, blw, msg) {\n  new Assertion(val, msg, assert.isBelow, true).to.be.below(blw);\n};\nassert.isAtMost = function(val, atmst, msg) {\n  new Assertion(val, msg, assert.isAtMost, true).to.be.most(atmst);\n};\nassert.isTrue = function(val, msg) {\n  new Assertion(val, msg, assert.isTrue, true).is[\"true\"];\n};\nassert.isNotTrue = function(val, msg) {\n  new Assertion(val, msg, assert.isNotTrue, true).to.not.equal(true);\n};\nassert.isFalse = function(val, msg) {\n  new Assertion(val, msg, assert.isFalse, true).is[\"false\"];\n};\nassert.isNotFalse = function(val, msg) {\n  new Assertion(val, msg, assert.isNotFalse, true).to.not.equal(false);\n};\nassert.isNull = function(val, msg) {\n  new Assertion(val, msg, assert.isNull, true).to.equal(null);\n};\nassert.isNotNull = function(val, msg) {\n  new Assertion(val, msg, assert.isNotNull, true).to.not.equal(null);\n};\nassert.isNaN = function(val, msg) {\n  new Assertion(val, msg, assert.isNaN, true).to.be.NaN;\n};\nassert.isNotNaN = function(value, message) {\n  new Assertion(value, message, assert.isNotNaN, true).not.to.be.NaN;\n};\nassert.exists = function(val, msg) {\n  new Assertion(val, msg, assert.exists, true).to.exist;\n};\nassert.notExists = function(val, msg) {\n  new Assertion(val, msg, assert.notExists, true).to.not.exist;\n};\nassert.isUndefined = function(val, msg) {\n  new Assertion(val, msg, assert.isUndefined, true).to.equal(void 0);\n};\nassert.isDefined = function(val, msg) {\n  new Assertion(val, msg, assert.isDefined, true).to.not.equal(void 0);\n};\nassert.isCallable = function(value, message) {\n  new Assertion(value, message, assert.isCallable, true).is.callable;\n};\nassert.isNotCallable = function(value, message) {\n  new Assertion(value, message, assert.isNotCallable, true).is.not.callable;\n};\nassert.isObject = function(val, msg) {\n  new Assertion(val, msg, assert.isObject, true).to.be.a(\"object\");\n};\nassert.isNotObject = function(val, msg) {\n  new Assertion(val, msg, assert.isNotObject, true).to.not.be.a(\"object\");\n};\nassert.isArray = function(val, msg) {\n  new Assertion(val, msg, assert.isArray, true).to.be.an(\"array\");\n};\nassert.isNotArray = function(val, msg) {\n  new Assertion(val, msg, assert.isNotArray, true).to.not.be.an(\"array\");\n};\nassert.isString = function(val, msg) {\n  new Assertion(val, msg, assert.isString, true).to.be.a(\"string\");\n};\nassert.isNotString = function(val, msg) {\n  new Assertion(val, msg, assert.isNotString, true).to.not.be.a(\"string\");\n};\nassert.isNumber = function(val, msg) {\n  new Assertion(val, msg, assert.isNumber, true).to.be.a(\"number\");\n};\nassert.isNotNumber = function(val, msg) {\n  new Assertion(val, msg, assert.isNotNumber, true).to.not.be.a(\"number\");\n};\nassert.isNumeric = function(val, msg) {\n  new Assertion(val, msg, assert.isNumeric, true).is.numeric;\n};\nassert.isNotNumeric = function(val, msg) {\n  new Assertion(val, msg, assert.isNotNumeric, true).is.not.numeric;\n};\nassert.isFinite = function(val, msg) {\n  new Assertion(val, msg, assert.isFinite, true).to.be.finite;\n};\nassert.isBoolean = function(val, msg) {\n  new Assertion(val, msg, assert.isBoolean, true).to.be.a(\"boolean\");\n};\nassert.isNotBoolean = function(val, msg) {\n  new Assertion(val, msg, assert.isNotBoolean, true).to.not.be.a(\"boolean\");\n};\nassert.typeOf = function(val, type3, msg) {\n  new Assertion(val, msg, assert.typeOf, true).to.be.a(type3);\n};\nassert.notTypeOf = function(value, type3, message) {\n  new Assertion(value, message, assert.notTypeOf, true).to.not.be.a(type3);\n};\nassert.instanceOf = function(val, type3, msg) {\n  new Assertion(val, msg, assert.instanceOf, true).to.be.instanceOf(type3);\n};\nassert.notInstanceOf = function(val, type3, msg) {\n  new Assertion(val, msg, assert.notInstanceOf, true).to.not.be.instanceOf(type3);\n};\nassert.include = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.include, true).include(inc);\n};\nassert.notInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.notInclude, true).not.include(inc);\n};\nassert.deepInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.deepInclude, true).deep.include(inc);\n};\nassert.notDeepInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.notDeepInclude, true).not.deep.include(inc);\n};\nassert.nestedInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.nestedInclude, true).nested.include(inc);\n};\nassert.notNestedInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.notNestedInclude, true).not.nested.include(inc);\n};\nassert.deepNestedInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.deepNestedInclude, true).deep.nested.include(inc);\n};\nassert.notDeepNestedInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.notDeepNestedInclude, true).not.deep.nested.include(inc);\n};\nassert.ownInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.ownInclude, true).own.include(inc);\n};\nassert.notOwnInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.notOwnInclude, true).not.own.include(inc);\n};\nassert.deepOwnInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.deepOwnInclude, true).deep.own.include(inc);\n};\nassert.notDeepOwnInclude = function(exp, inc, msg) {\n  new Assertion(exp, msg, assert.notDeepOwnInclude, true).not.deep.own.include(inc);\n};\nassert.match = function(exp, re, msg) {\n  new Assertion(exp, msg, assert.match, true).to.match(re);\n};\nassert.notMatch = function(exp, re, msg) {\n  new Assertion(exp, msg, assert.notMatch, true).to.not.match(re);\n};\nassert.property = function(obj, prop, msg) {\n  new Assertion(obj, msg, assert.property, true).to.have.property(prop);\n};\nassert.notProperty = function(obj, prop, msg) {\n  new Assertion(obj, msg, assert.notProperty, true).to.not.have.property(prop);\n};\nassert.propertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.propertyVal, true).to.have.property(prop, val);\n};\nassert.notPropertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.notPropertyVal, true).to.not.have.property(prop, val);\n};\nassert.deepPropertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.deepPropertyVal, true).to.have.deep.property(prop, val);\n};\nassert.notDeepPropertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.notDeepPropertyVal, true).to.not.have.deep.property(prop, val);\n};\nassert.ownProperty = function(obj, prop, msg) {\n  new Assertion(obj, msg, assert.ownProperty, true).to.have.own.property(prop);\n};\nassert.notOwnProperty = function(obj, prop, msg) {\n  new Assertion(obj, msg, assert.notOwnProperty, true).to.not.have.own.property(prop);\n};\nassert.ownPropertyVal = function(obj, prop, value, msg) {\n  new Assertion(obj, msg, assert.ownPropertyVal, true).to.have.own.property(prop, value);\n};\nassert.notOwnPropertyVal = function(obj, prop, value, msg) {\n  new Assertion(obj, msg, assert.notOwnPropertyVal, true).to.not.have.own.property(prop, value);\n};\nassert.deepOwnPropertyVal = function(obj, prop, value, msg) {\n  new Assertion(obj, msg, assert.deepOwnPropertyVal, true).to.have.deep.own.property(prop, value);\n};\nassert.notDeepOwnPropertyVal = function(obj, prop, value, msg) {\n  new Assertion(obj, msg, assert.notDeepOwnPropertyVal, true).to.not.have.deep.own.property(prop, value);\n};\nassert.nestedProperty = function(obj, prop, msg) {\n  new Assertion(obj, msg, assert.nestedProperty, true).to.have.nested.property(prop);\n};\nassert.notNestedProperty = function(obj, prop, msg) {\n  new Assertion(obj, msg, assert.notNestedProperty, true).to.not.have.nested.property(prop);\n};\nassert.nestedPropertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.nestedPropertyVal, true).to.have.nested.property(prop, val);\n};\nassert.notNestedPropertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.notNestedPropertyVal, true).to.not.have.nested.property(prop, val);\n};\nassert.deepNestedPropertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.deepNestedPropertyVal, true).to.have.deep.nested.property(prop, val);\n};\nassert.notDeepNestedPropertyVal = function(obj, prop, val, msg) {\n  new Assertion(obj, msg, assert.notDeepNestedPropertyVal, true).to.not.have.deep.nested.property(prop, val);\n};\nassert.lengthOf = function(exp, len, msg) {\n  new Assertion(exp, msg, assert.lengthOf, true).to.have.lengthOf(len);\n};\nassert.hasAnyKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.hasAnyKeys, true).to.have.any.keys(keys);\n};\nassert.hasAllKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.hasAllKeys, true).to.have.all.keys(keys);\n};\nassert.containsAllKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.containsAllKeys, true).to.contain.all.keys(keys);\n};\nassert.doesNotHaveAnyKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.doesNotHaveAnyKeys, true).to.not.have.any.keys(keys);\n};\nassert.doesNotHaveAllKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.doesNotHaveAllKeys, true).to.not.have.all.keys(keys);\n};\nassert.hasAnyDeepKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.hasAnyDeepKeys, true).to.have.any.deep.keys(keys);\n};\nassert.hasAllDeepKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.hasAllDeepKeys, true).to.have.all.deep.keys(keys);\n};\nassert.containsAllDeepKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.containsAllDeepKeys, true).to.contain.all.deep.keys(keys);\n};\nassert.doesNotHaveAnyDeepKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.doesNotHaveAnyDeepKeys, true).to.not.have.any.deep.keys(keys);\n};\nassert.doesNotHaveAllDeepKeys = function(obj, keys, msg) {\n  new Assertion(obj, msg, assert.doesNotHaveAllDeepKeys, true).to.not.have.all.deep.keys(keys);\n};\nassert.throws = function(fn, errorLike, errMsgMatcher, msg) {\n  if (\"string\" === typeof errorLike || errorLike instanceof RegExp) {\n    errMsgMatcher = errorLike;\n    errorLike = null;\n  }\n  var assertErr = new Assertion(fn, msg, assert.throws, true).to.throw(errorLike, errMsgMatcher);\n  return flag(assertErr, \"object\");\n};\nassert.doesNotThrow = function(fn, errorLike, errMsgMatcher, message) {\n  if (\"string\" === typeof errorLike || errorLike instanceof RegExp) {\n    errMsgMatcher = errorLike;\n    errorLike = null;\n  }\n  new Assertion(fn, message, assert.doesNotThrow, true).to.not.throw(errorLike, errMsgMatcher);\n};\nassert.operator = function(val, operator, val2, msg) {\n  var ok;\n  switch (operator) {\n    case \"==\":\n      ok = val == val2;\n      break;\n    case \"===\":\n      ok = val === val2;\n      break;\n    case \">\":\n      ok = val > val2;\n      break;\n    case \">=\":\n      ok = val >= val2;\n      break;\n    case \"<\":\n      ok = val < val2;\n      break;\n    case \"<=\":\n      ok = val <= val2;\n      break;\n    case \"!=\":\n      ok = val != val2;\n      break;\n    case \"!==\":\n      ok = val !== val2;\n      break;\n    default:\n      msg = msg ? msg + \": \" : msg;\n      throw new AssertionError(\n        msg + 'Invalid operator \"' + operator + '\"',\n        void 0,\n        assert.operator\n      );\n  }\n  var test2 = new Assertion(ok, msg, assert.operator, true);\n  test2.assert(\n    true === flag(test2, \"object\"),\n    \"expected \" + inspect2(val) + \" to be \" + operator + \" \" + inspect2(val2),\n    \"expected \" + inspect2(val) + \" to not be \" + operator + \" \" + inspect2(val2)\n  );\n};\nassert.closeTo = function(act, exp, delta, msg) {\n  new Assertion(act, msg, assert.closeTo, true).to.be.closeTo(exp, delta);\n};\nassert.approximately = function(act, exp, delta, msg) {\n  new Assertion(act, msg, assert.approximately, true).to.be.approximately(exp, delta);\n};\nassert.sameMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.sameMembers, true).to.have.same.members(set2);\n};\nassert.notSameMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.notSameMembers, true).to.not.have.same.members(set2);\n};\nassert.sameDeepMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.sameDeepMembers, true).to.have.same.deep.members(set2);\n};\nassert.notSameDeepMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.notSameDeepMembers, true).to.not.have.same.deep.members(set2);\n};\nassert.sameOrderedMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.sameOrderedMembers, true).to.have.same.ordered.members(set2);\n};\nassert.notSameOrderedMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.notSameOrderedMembers, true).to.not.have.same.ordered.members(set2);\n};\nassert.sameDeepOrderedMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.sameDeepOrderedMembers, true).to.have.same.deep.ordered.members(set2);\n};\nassert.notSameDeepOrderedMembers = function(set1, set2, msg) {\n  new Assertion(set1, msg, assert.notSameDeepOrderedMembers, true).to.not.have.same.deep.ordered.members(set2);\n};\nassert.includeMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.includeMembers, true).to.include.members(subset);\n};\nassert.notIncludeMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.notIncludeMembers, true).to.not.include.members(subset);\n};\nassert.includeDeepMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.includeDeepMembers, true).to.include.deep.members(subset);\n};\nassert.notIncludeDeepMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.notIncludeDeepMembers, true).to.not.include.deep.members(subset);\n};\nassert.includeOrderedMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.includeOrderedMembers, true).to.include.ordered.members(subset);\n};\nassert.notIncludeOrderedMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.notIncludeOrderedMembers, true).to.not.include.ordered.members(subset);\n};\nassert.includeDeepOrderedMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.includeDeepOrderedMembers, true).to.include.deep.ordered.members(subset);\n};\nassert.notIncludeDeepOrderedMembers = function(superset, subset, msg) {\n  new Assertion(superset, msg, assert.notIncludeDeepOrderedMembers, true).to.not.include.deep.ordered.members(subset);\n};\nassert.oneOf = function(inList, list, msg) {\n  new Assertion(inList, msg, assert.oneOf, true).to.be.oneOf(list);\n};\nassert.isIterable = function(obj, msg) {\n  if (obj == void 0 || !obj[Symbol.iterator]) {\n    msg = msg ? `${msg} expected ${inspect2(obj)} to be an iterable` : `expected ${inspect2(obj)} to be an iterable`;\n    throw new AssertionError(\n      msg,\n      void 0,\n      assert.isIterable\n    );\n  }\n};\nassert.changes = function(fn, obj, prop, msg) {\n  if (arguments.length === 3 && typeof obj === \"function\") {\n    msg = prop;\n    prop = null;\n  }\n  new Assertion(fn, msg, assert.changes, true).to.change(obj, prop);\n};\nassert.changesBy = function(fn, obj, prop, delta, msg) {\n  if (arguments.length === 4 && typeof obj === \"function\") {\n    var tmpMsg = delta;\n    delta = prop;\n    msg = tmpMsg;\n  } else if (arguments.length === 3) {\n    delta = prop;\n    prop = null;\n  }\n  new Assertion(fn, msg, assert.changesBy, true).to.change(obj, prop).by(delta);\n};\nassert.doesNotChange = function(fn, obj, prop, msg) {\n  if (arguments.length === 3 && typeof obj === \"function\") {\n    msg = prop;\n    prop = null;\n  }\n  return new Assertion(fn, msg, assert.doesNotChange, true).to.not.change(obj, prop);\n};\nassert.changesButNotBy = function(fn, obj, prop, delta, msg) {\n  if (arguments.length === 4 && typeof obj === \"function\") {\n    var tmpMsg = delta;\n    delta = prop;\n    msg = tmpMsg;\n  } else if (arguments.length === 3) {\n    delta = prop;\n    prop = null;\n  }\n  new Assertion(fn, msg, assert.changesButNotBy, true).to.change(obj, prop).but.not.by(delta);\n};\nassert.increases = function(fn, obj, prop, msg) {\n  if (arguments.length === 3 && typeof obj === \"function\") {\n    msg = prop;\n    prop = null;\n  }\n  return new Assertion(fn, msg, assert.increases, true).to.increase(obj, prop);\n};\nassert.increasesBy = function(fn, obj, prop, delta, msg) {\n  if (arguments.length === 4 && typeof obj === \"function\") {\n    var tmpMsg = delta;\n    delta = prop;\n    msg = tmpMsg;\n  } else if (arguments.length === 3) {\n    delta = prop;\n    prop = null;\n  }\n  new Assertion(fn, msg, assert.increasesBy, true).to.increase(obj, prop).by(delta);\n};\nassert.doesNotIncrease = function(fn, obj, prop, msg) {\n  if (arguments.length === 3 && typeof obj === \"function\") {\n    msg = prop;\n    prop = null;\n  }\n  return new Assertion(fn, msg, assert.doesNotIncrease, true).to.not.increase(obj, prop);\n};\nassert.increasesButNotBy = function(fn, obj, prop, delta, msg) {\n  if (arguments.length === 4 && typeof obj === \"function\") {\n    var tmpMsg = delta;\n    delta = prop;\n    msg = tmpMsg;\n  } else if (arguments.length === 3) {\n    delta = prop;\n    prop = null;\n  }\n  new Assertion(fn, msg, assert.increasesButNotBy, true).to.increase(obj, prop).but.not.by(delta);\n};\nassert.decreases = function(fn, obj, prop, msg) {\n  if (arguments.length === 3 && typeof obj === \"function\") {\n    msg = prop;\n    prop = null;\n  }\n  return new Assertion(fn, msg, assert.decreases, true).to.decrease(obj, prop);\n};\nassert.decreasesBy = function(fn, obj, prop, delta, msg) {\n  if (arguments.length === 4 && typeof obj === \"function\") {\n    var tmpMsg = delta;\n    delta = prop;\n    msg = tmpMsg;\n  } else if (arguments.length === 3) {\n    delta = prop;\n    prop = null;\n  }\n  new Assertion(fn, msg, assert.decreasesBy, true).to.decrease(obj, prop).by(delta);\n};\nassert.doesNotDecrease = function(fn, obj, prop, msg) {\n  if (arguments.length === 3 && typeof obj === \"function\") {\n    msg = prop;\n    prop = null;\n  }\n  return new Assertion(fn, msg, assert.doesNotDecrease, true).to.not.decrease(obj, prop);\n};\nassert.doesNotDecreaseBy = function(fn, obj, prop, delta, msg) {\n  if (arguments.length === 4 && typeof obj === \"function\") {\n    var tmpMsg = delta;\n    delta = prop;\n    msg = tmpMsg;\n  } else if (arguments.length === 3) {\n    delta = prop;\n    prop = null;\n  }\n  return new Assertion(fn, msg, assert.doesNotDecreaseBy, true).to.not.decrease(obj, prop).by(delta);\n};\nassert.decreasesButNotBy = function(fn, obj, prop, delta, msg) {\n  if (arguments.length === 4 && typeof obj === \"function\") {\n    var tmpMsg = delta;\n    delta = prop;\n    msg = tmpMsg;\n  } else if (arguments.length === 3) {\n    delta = prop;\n    prop = null;\n  }\n  new Assertion(fn, msg, assert.decreasesButNotBy, true).to.decrease(obj, prop).but.not.by(delta);\n};\nassert.ifError = function(val) {\n  if (val) {\n    throw val;\n  }\n};\nassert.isExtensible = function(obj, msg) {\n  new Assertion(obj, msg, assert.isExtensible, true).to.be.extensible;\n};\nassert.isNotExtensible = function(obj, msg) {\n  new Assertion(obj, msg, assert.isNotExtensible, true).to.not.be.extensible;\n};\nassert.isSealed = function(obj, msg) {\n  new Assertion(obj, msg, assert.isSealed, true).to.be.sealed;\n};\nassert.isNotSealed = function(obj, msg) {\n  new Assertion(obj, msg, assert.isNotSealed, true).to.not.be.sealed;\n};\nassert.isFrozen = function(obj, msg) {\n  new Assertion(obj, msg, assert.isFrozen, true).to.be.frozen;\n};\nassert.isNotFrozen = function(obj, msg) {\n  new Assertion(obj, msg, assert.isNotFrozen, true).to.not.be.frozen;\n};\nassert.isEmpty = function(val, msg) {\n  new Assertion(val, msg, assert.isEmpty, true).to.be.empty;\n};\nassert.isNotEmpty = function(val, msg) {\n  new Assertion(val, msg, assert.isNotEmpty, true).to.not.be.empty;\n};\n(/* @__PURE__ */ __name(function alias(name, as) {\n  assert[as] = assert[name];\n  return alias;\n}, \"alias\"))(\"isOk\", \"ok\")(\"isNotOk\", \"notOk\")(\"throws\", \"throw\")(\"throws\", \"Throw\")(\"isExtensible\", \"extensible\")(\"isNotExtensible\", \"notExtensible\")(\"isSealed\", \"sealed\")(\"isNotSealed\", \"notSealed\")(\"isFrozen\", \"frozen\")(\"isNotFrozen\", \"notFrozen\")(\"isEmpty\", \"empty\")(\"isNotEmpty\", \"notEmpty\")(\"isCallable\", \"isFunction\")(\"isNotCallable\", \"isNotFunction\");\n\n// lib/chai.js\nvar used = [];\nfunction use(fn) {\n  const exports = {\n    AssertionError,\n    util: utils_exports,\n    config,\n    expect,\n    assert,\n    Assertion,\n    ...should_exports\n  };\n  if (!~used.indexOf(fn)) {\n    fn(exports, utils_exports);\n    used.push(fn);\n  }\n  return exports;\n}\n__name(use, \"use\");\nexport {\n  Assertion,\n  AssertionError,\n  Should,\n  assert,\n  config,\n  expect,\n  should,\n  use,\n  utils_exports as util\n};\n/*!\n * Chai - flag utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - test utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - expectTypes utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - getActual utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - message composition utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - transferFlags utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * chai\n * http://chaijs.com\n * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - isProxyEnabled helper\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - addProperty utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - addLengthGuard utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - getProperties utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - proxify utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - addMethod utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - overwriteProperty utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - overwriteMethod utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - addChainingMethod utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - overwriteChainableMethod utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - compareByInspect utility\n * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - getOwnEnumerablePropertySymbols utility\n * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - getOwnEnumerableProperties utility\n * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * Chai - isNaN utility\n * Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>\n * MIT Licensed\n */\n/*!\n * chai\n * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*!\n * chai\n * Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n/*! Bundled license information:\n\ndeep-eql/index.js:\n  (*!\n   * deep-eql\n   * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>\n   * MIT Licensed\n   *)\n  (*!\n   * Check to see if the MemoizeMap has recorded a result of the two operands\n   *\n   * @param {Mixed} leftHandOperand\n   * @param {Mixed} rightHandOperand\n   * @param {MemoizeMap} memoizeMap\n   * @returns {Boolean|null} result\n  *)\n  (*!\n   * Set the result of the equality into the MemoizeMap\n   *\n   * @param {Mixed} leftHandOperand\n   * @param {Mixed} rightHandOperand\n   * @param {MemoizeMap} memoizeMap\n   * @param {Boolean} result\n  *)\n  (*!\n   * Primary Export\n   *)\n  (*!\n   * The main logic of the `deepEqual` function.\n   *\n   * @param {Mixed} leftHandOperand\n   * @param {Mixed} rightHandOperand\n   * @param {Object} [options] (optional) Additional options\n   * @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.\n   * @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of\n      complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular\n      references to blow the stack.\n   * @return {Boolean} equal match\n  *)\n  (*!\n   * Compare two Regular Expressions for equality.\n   *\n   * @param {RegExp} leftHandOperand\n   * @param {RegExp} rightHandOperand\n   * @return {Boolean} result\n   *)\n  (*!\n   * Compare two Sets/Maps for equality. Faster than other equality functions.\n   *\n   * @param {Set} leftHandOperand\n   * @param {Set} rightHandOperand\n   * @param {Object} [options] (Optional)\n   * @return {Boolean} result\n   *)\n  (*!\n   * Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.\n   *\n   * @param {Iterable} leftHandOperand\n   * @param {Iterable} rightHandOperand\n   * @param {Object} [options] (Optional)\n   * @return {Boolean} result\n   *)\n  (*!\n   * Simple equality for generator objects such as those returned by generator functions.\n   *\n   * @param {Iterable} leftHandOperand\n   * @param {Iterable} rightHandOperand\n   * @param {Object} [options] (Optional)\n   * @return {Boolean} result\n   *)\n  (*!\n   * Determine if the given object has an @@iterator function.\n   *\n   * @param {Object} target\n   * @return {Boolean} `true` if the object has an @@iterator function.\n   *)\n  (*!\n   * Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.\n   * This will consume the iterator - which could have side effects depending on the @@iterator implementation.\n   *\n   * @param {Object} target\n   * @returns {Array} an array of entries from the @@iterator function\n   *)\n  (*!\n   * Gets all entries from a Generator. This will consume the generator - which could have side effects.\n   *\n   * @param {Generator} target\n   * @returns {Array} an array of entries from the Generator.\n   *)\n  (*!\n   * Gets all own and inherited enumerable keys from a target.\n   *\n   * @param {Object} target\n   * @returns {Array} an array of own and inherited enumerable keys from the target.\n   *)\n  (*!\n   * Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of\n   * each key. If any value of the given key is not equal, the function will return false (early).\n   *\n   * @param {Mixed} leftHandOperand\n   * @param {Mixed} rightHandOperand\n   * @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against\n   * @param {Object} [options] (Optional)\n   * @return {Boolean} result\n   *)\n  (*!\n   * Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`\n   * for each enumerable key in the object.\n   *\n   * @param {Mixed} leftHandOperand\n   * @param {Mixed} rightHandOperand\n   * @param {Object} [options] (Optional)\n   * @return {Boolean} result\n   *)\n  (*!\n   * Returns true if the argument is a primitive.\n   *\n   * This intentionally returns true for all objects that can be compared by reference,\n   * including functions and symbols.\n   *\n   * @param {Mixed} value\n   * @return {Boolean} result\n   *)\n*/\n","import { notNullish, isPrimitive } from './helpers.js';\n\nconst comma = ','.charCodeAt(0);\nconst chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\nconst intToChar = new Uint8Array(64); // 64 possible chars.\nconst charToInt = new Uint8Array(128); // z is 122 in ASCII\nfor (let i = 0; i < chars.length; i++) {\n    const c = chars.charCodeAt(i);\n    intToChar[i] = c;\n    charToInt[c] = i;\n}\nfunction decodeInteger(reader, relative) {\n    let value = 0;\n    let shift = 0;\n    let integer = 0;\n    do {\n        const c = reader.next();\n        integer = charToInt[c];\n        value |= (integer & 31) << shift;\n        shift += 5;\n    } while (integer & 32);\n    const shouldNegate = value & 1;\n    value >>>= 1;\n    if (shouldNegate) {\n        value = -0x80000000 | -value;\n    }\n    return relative + value;\n}\nfunction hasMoreVlq(reader, max) {\n    if (reader.pos >= max)\n        return false;\n    return reader.peek() !== comma;\n}\nclass StringReader {\n    constructor(buffer) {\n        this.pos = 0;\n        this.buffer = buffer;\n    }\n    next() {\n        return this.buffer.charCodeAt(this.pos++);\n    }\n    peek() {\n        return this.buffer.charCodeAt(this.pos);\n    }\n    indexOf(char) {\n        const { buffer, pos } = this;\n        const idx = buffer.indexOf(char, pos);\n        return idx === -1 ? buffer.length : idx;\n    }\n}\n\nfunction decode(mappings) {\n    const { length } = mappings;\n    const reader = new StringReader(mappings);\n    const decoded = [];\n    let genColumn = 0;\n    let sourcesIndex = 0;\n    let sourceLine = 0;\n    let sourceColumn = 0;\n    let namesIndex = 0;\n    do {\n        const semi = reader.indexOf(';');\n        const line = [];\n        let sorted = true;\n        let lastCol = 0;\n        genColumn = 0;\n        while (reader.pos < semi) {\n            let seg;\n            genColumn = decodeInteger(reader, genColumn);\n            if (genColumn < lastCol)\n                sorted = false;\n            lastCol = genColumn;\n            if (hasMoreVlq(reader, semi)) {\n                sourcesIndex = decodeInteger(reader, sourcesIndex);\n                sourceLine = decodeInteger(reader, sourceLine);\n                sourceColumn = decodeInteger(reader, sourceColumn);\n                if (hasMoreVlq(reader, semi)) {\n                    namesIndex = decodeInteger(reader, namesIndex);\n                    seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];\n                }\n                else {\n                    seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];\n                }\n            }\n            else {\n                seg = [genColumn];\n            }\n            line.push(seg);\n            reader.pos++;\n        }\n        if (!sorted)\n            sort(line);\n        decoded.push(line);\n        reader.pos = semi + 1;\n    } while (reader.pos <= length);\n    return decoded;\n}\nfunction sort(line) {\n    line.sort(sortComparator$1);\n}\nfunction sortComparator$1(a, b) {\n    return a[0] - b[0];\n}\n\n// Matches the scheme of a URL, eg \"http://\"\nconst schemeRegex = /^[\\w+.-]+:\\/\\//;\n/**\n * Matches the parts of a URL:\n * 1. Scheme, including \":\", guaranteed.\n * 2. User/password, including \"@\", optional.\n * 3. Host, guaranteed.\n * 4. Port, including \":\", optional.\n * 5. Path, including \"/\", optional.\n * 6. Query, including \"?\", optional.\n * 7. Hash, including \"#\", optional.\n */\nconst urlRegex = /^([\\w+.-]+:)\\/\\/([^@/#?]*@)?([^:/#?]*)(:\\d+)?(\\/[^#?]*)?(\\?[^#]*)?(#.*)?/;\n/**\n * File URLs are weird. They dont' need the regular `//` in the scheme, they may or may not start\n * with a leading `/`, they can have a domain (but only if they don't start with a Windows drive).\n *\n * 1. Host, optional.\n * 2. Path, which may include \"/\", guaranteed.\n * 3. Query, including \"?\", optional.\n * 4. Hash, including \"#\", optional.\n */\nconst fileRegex = /^file:(?:\\/\\/((?![a-z]:)[^/#?]*)?)?(\\/?[^#?]*)(\\?[^#]*)?(#.*)?/i;\nvar UrlType;\n(function (UrlType) {\n    UrlType[UrlType[\"Empty\"] = 1] = \"Empty\";\n    UrlType[UrlType[\"Hash\"] = 2] = \"Hash\";\n    UrlType[UrlType[\"Query\"] = 3] = \"Query\";\n    UrlType[UrlType[\"RelativePath\"] = 4] = \"RelativePath\";\n    UrlType[UrlType[\"AbsolutePath\"] = 5] = \"AbsolutePath\";\n    UrlType[UrlType[\"SchemeRelative\"] = 6] = \"SchemeRelative\";\n    UrlType[UrlType[\"Absolute\"] = 7] = \"Absolute\";\n})(UrlType || (UrlType = {}));\nfunction isAbsoluteUrl(input) {\n    return schemeRegex.test(input);\n}\nfunction isSchemeRelativeUrl(input) {\n    return input.startsWith('//');\n}\nfunction isAbsolutePath(input) {\n    return input.startsWith('/');\n}\nfunction isFileUrl(input) {\n    return input.startsWith('file:');\n}\nfunction isRelative(input) {\n    return /^[.?#]/.test(input);\n}\nfunction parseAbsoluteUrl(input) {\n    const match = urlRegex.exec(input);\n    return makeUrl(match[1], match[2] || '', match[3], match[4] || '', match[5] || '/', match[6] || '', match[7] || '');\n}\nfunction parseFileUrl(input) {\n    const match = fileRegex.exec(input);\n    const path = match[2];\n    return makeUrl('file:', '', match[1] || '', '', isAbsolutePath(path) ? path : '/' + path, match[3] || '', match[4] || '');\n}\nfunction makeUrl(scheme, user, host, port, path, query, hash) {\n    return {\n        scheme,\n        user,\n        host,\n        port,\n        path,\n        query,\n        hash,\n        type: UrlType.Absolute,\n    };\n}\nfunction parseUrl(input) {\n    if (isSchemeRelativeUrl(input)) {\n        const url = parseAbsoluteUrl('http:' + input);\n        url.scheme = '';\n        url.type = UrlType.SchemeRelative;\n        return url;\n    }\n    if (isAbsolutePath(input)) {\n        const url = parseAbsoluteUrl('http://foo.com' + input);\n        url.scheme = '';\n        url.host = '';\n        url.type = UrlType.AbsolutePath;\n        return url;\n    }\n    if (isFileUrl(input))\n        return parseFileUrl(input);\n    if (isAbsoluteUrl(input))\n        return parseAbsoluteUrl(input);\n    const url = parseAbsoluteUrl('http://foo.com/' + input);\n    url.scheme = '';\n    url.host = '';\n    url.type = input\n        ? input.startsWith('?')\n            ? UrlType.Query\n            : input.startsWith('#')\n                ? UrlType.Hash\n                : UrlType.RelativePath\n        : UrlType.Empty;\n    return url;\n}\nfunction stripPathFilename(path) {\n    // If a path ends with a parent directory \"..\", then it's a relative path with excess parent\n    // paths. It's not a file, so we can't strip it.\n    if (path.endsWith('/..'))\n        return path;\n    const index = path.lastIndexOf('/');\n    return path.slice(0, index + 1);\n}\nfunction mergePaths(url, base) {\n    normalizePath(base, base.type);\n    // If the path is just a \"/\", then it was an empty path to begin with (remember, we're a relative\n    // path).\n    if (url.path === '/') {\n        url.path = base.path;\n    }\n    else {\n        // Resolution happens relative to the base path's directory, not the file.\n        url.path = stripPathFilename(base.path) + url.path;\n    }\n}\n/**\n * The path can have empty directories \"//\", unneeded parents \"foo/..\", or current directory\n * \"foo/.\". We need to normalize to a standard representation.\n */\nfunction normalizePath(url, type) {\n    const rel = type <= UrlType.RelativePath;\n    const pieces = url.path.split('/');\n    // We need to preserve the first piece always, so that we output a leading slash. The item at\n    // pieces[0] is an empty string.\n    let pointer = 1;\n    // Positive is the number of real directories we've output, used for popping a parent directory.\n    // Eg, \"foo/bar/..\" will have a positive 2, and we can decrement to be left with just \"foo\".\n    let positive = 0;\n    // We need to keep a trailing slash if we encounter an empty directory (eg, splitting \"foo/\" will\n    // generate `[\"foo\", \"\"]` pieces). And, if we pop a parent directory. But once we encounter a\n    // real directory, we won't need to append, unless the other conditions happen again.\n    let addTrailingSlash = false;\n    for (let i = 1; i < pieces.length; i++) {\n        const piece = pieces[i];\n        // An empty directory, could be a trailing slash, or just a double \"//\" in the path.\n        if (!piece) {\n            addTrailingSlash = true;\n            continue;\n        }\n        // If we encounter a real directory, then we don't need to append anymore.\n        addTrailingSlash = false;\n        // A current directory, which we can always drop.\n        if (piece === '.')\n            continue;\n        // A parent directory, we need to see if there are any real directories we can pop. Else, we\n        // have an excess of parents, and we'll need to keep the \"..\".\n        if (piece === '..') {\n            if (positive) {\n                addTrailingSlash = true;\n                positive--;\n                pointer--;\n            }\n            else if (rel) {\n                // If we're in a relativePath, then we need to keep the excess parents. Else, in an absolute\n                // URL, protocol relative URL, or an absolute path, we don't need to keep excess.\n                pieces[pointer++] = piece;\n            }\n            continue;\n        }\n        // We've encountered a real directory. Move it to the next insertion pointer, which accounts for\n        // any popped or dropped directories.\n        pieces[pointer++] = piece;\n        positive++;\n    }\n    let path = '';\n    for (let i = 1; i < pointer; i++) {\n        path += '/' + pieces[i];\n    }\n    if (!path || (addTrailingSlash && !path.endsWith('/..'))) {\n        path += '/';\n    }\n    url.path = path;\n}\n/**\n * Attempts to resolve `input` URL/path relative to `base`.\n */\nfunction resolve$2(input, base) {\n    if (!input && !base)\n        return '';\n    const url = parseUrl(input);\n    let inputType = url.type;\n    if (base && inputType !== UrlType.Absolute) {\n        const baseUrl = parseUrl(base);\n        const baseType = baseUrl.type;\n        switch (inputType) {\n            case UrlType.Empty:\n                url.hash = baseUrl.hash;\n            // fall through\n            case UrlType.Hash:\n                url.query = baseUrl.query;\n            // fall through\n            case UrlType.Query:\n            case UrlType.RelativePath:\n                mergePaths(url, baseUrl);\n            // fall through\n            case UrlType.AbsolutePath:\n                // The host, user, and port are joined, you can't copy one without the others.\n                url.user = baseUrl.user;\n                url.host = baseUrl.host;\n                url.port = baseUrl.port;\n            // fall through\n            case UrlType.SchemeRelative:\n                // The input doesn't have a schema at least, so we need to copy at least that over.\n                url.scheme = baseUrl.scheme;\n        }\n        if (baseType > inputType)\n            inputType = baseType;\n    }\n    normalizePath(url, inputType);\n    const queryHash = url.query + url.hash;\n    switch (inputType) {\n        // This is impossible, because of the empty checks at the start of the function.\n        // case UrlType.Empty:\n        case UrlType.Hash:\n        case UrlType.Query:\n            return queryHash;\n        case UrlType.RelativePath: {\n            // The first char is always a \"/\", and we need it to be relative.\n            const path = url.path.slice(1);\n            if (!path)\n                return queryHash || '.';\n            if (isRelative(base || input) && !isRelative(path)) {\n                // If base started with a leading \".\", or there is no base and input started with a \".\",\n                // then we need to ensure that the relative path starts with a \".\". We don't know if\n                // relative starts with a \"..\", though, so check before prepending.\n                return './' + path + queryHash;\n            }\n            return path + queryHash;\n        }\n        case UrlType.AbsolutePath:\n            return url.path + queryHash;\n        default:\n            return url.scheme + '//' + url.user + url.host + url.port + url.path + queryHash;\n    }\n}\n\nfunction resolve$1(input, base) {\n    // The base is always treated as a directory, if it's not empty.\n    // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327\n    // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401\n    if (base && !base.endsWith('/'))\n        base += '/';\n    return resolve$2(input, base);\n}\n\n/**\n * Removes everything after the last \"/\", but leaves the slash.\n */\nfunction stripFilename(path) {\n    if (!path)\n        return '';\n    const index = path.lastIndexOf('/');\n    return path.slice(0, index + 1);\n}\n\nconst COLUMN = 0;\nconst SOURCES_INDEX = 1;\nconst SOURCE_LINE = 2;\nconst SOURCE_COLUMN = 3;\nconst NAMES_INDEX = 4;\nconst REV_GENERATED_LINE = 1;\nconst REV_GENERATED_COLUMN = 2;\n\nfunction maybeSort(mappings, owned) {\n    const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);\n    if (unsortedIndex === mappings.length)\n        return mappings;\n    // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If\n    // not, we do not want to modify the consumer's input array.\n    if (!owned)\n        mappings = mappings.slice();\n    for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {\n        mappings[i] = sortSegments(mappings[i], owned);\n    }\n    return mappings;\n}\nfunction nextUnsortedSegmentLine(mappings, start) {\n    for (let i = start; i < mappings.length; i++) {\n        if (!isSorted(mappings[i]))\n            return i;\n    }\n    return mappings.length;\n}\nfunction isSorted(line) {\n    for (let j = 1; j < line.length; j++) {\n        if (line[j][COLUMN] < line[j - 1][COLUMN]) {\n            return false;\n        }\n    }\n    return true;\n}\nfunction sortSegments(line, owned) {\n    if (!owned)\n        line = line.slice();\n    return line.sort(sortComparator);\n}\nfunction sortComparator(a, b) {\n    return a[COLUMN] - b[COLUMN];\n}\n\nlet found = false;\n/**\n * A binary search implementation that returns the index if a match is found.\n * If no match is found, then the left-index (the index associated with the item that comes just\n * before the desired index) is returned. To maintain proper sort order, a splice would happen at\n * the next index:\n *\n * ```js\n * const array = [1, 3];\n * const needle = 2;\n * const index = binarySearch(array, needle, (item, needle) => item - needle);\n *\n * assert.equal(index, 0);\n * array.splice(index + 1, 0, needle);\n * assert.deepEqual(array, [1, 2, 3]);\n * ```\n */\nfunction binarySearch(haystack, needle, low, high) {\n    while (low <= high) {\n        const mid = low + ((high - low) >> 1);\n        const cmp = haystack[mid][COLUMN] - needle;\n        if (cmp === 0) {\n            found = true;\n            return mid;\n        }\n        if (cmp < 0) {\n            low = mid + 1;\n        }\n        else {\n            high = mid - 1;\n        }\n    }\n    found = false;\n    return low - 1;\n}\nfunction upperBound(haystack, needle, index) {\n    for (let i = index + 1; i < haystack.length; index = i++) {\n        if (haystack[i][COLUMN] !== needle)\n            break;\n    }\n    return index;\n}\nfunction lowerBound(haystack, needle, index) {\n    for (let i = index - 1; i >= 0; index = i--) {\n        if (haystack[i][COLUMN] !== needle)\n            break;\n    }\n    return index;\n}\nfunction memoizedState() {\n    return {\n        lastKey: -1,\n        lastNeedle: -1,\n        lastIndex: -1,\n    };\n}\n/**\n * This overly complicated beast is just to record the last tested line/column and the resulting\n * index, allowing us to skip a few tests if mappings are monotonically increasing.\n */\nfunction memoizedBinarySearch(haystack, needle, state, key) {\n    const { lastKey, lastNeedle, lastIndex } = state;\n    let low = 0;\n    let high = haystack.length - 1;\n    if (key === lastKey) {\n        if (needle === lastNeedle) {\n            found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;\n            return lastIndex;\n        }\n        if (needle >= lastNeedle) {\n            // lastIndex may be -1 if the previous needle was not found.\n            low = lastIndex === -1 ? 0 : lastIndex;\n        }\n        else {\n            high = lastIndex;\n        }\n    }\n    state.lastKey = key;\n    state.lastNeedle = needle;\n    return (state.lastIndex = binarySearch(haystack, needle, low, high));\n}\n\n// Rebuilds the original source files, with mappings that are ordered by source line/column instead\n// of generated line/column.\nfunction buildBySources(decoded, memos) {\n    const sources = memos.map(buildNullArray);\n    for (let i = 0; i < decoded.length; i++) {\n        const line = decoded[i];\n        for (let j = 0; j < line.length; j++) {\n            const seg = line[j];\n            if (seg.length === 1)\n                continue;\n            const sourceIndex = seg[SOURCES_INDEX];\n            const sourceLine = seg[SOURCE_LINE];\n            const sourceColumn = seg[SOURCE_COLUMN];\n            const originalSource = sources[sourceIndex];\n            const originalLine = (originalSource[sourceLine] || (originalSource[sourceLine] = []));\n            const memo = memos[sourceIndex];\n            // The binary search either found a match, or it found the left-index just before where the\n            // segment should go. Either way, we want to insert after that. And there may be multiple\n            // generated segments associated with an original location, so there may need to move several\n            // indexes before we find where we need to insert.\n            let index = upperBound(originalLine, sourceColumn, memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine));\n            memo.lastIndex = ++index;\n            insert(originalLine, index, [sourceColumn, i, seg[COLUMN]]);\n        }\n    }\n    return sources;\n}\nfunction insert(array, index, value) {\n    for (let i = array.length; i > index; i--) {\n        array[i] = array[i - 1];\n    }\n    array[index] = value;\n}\n// Null arrays allow us to use ordered index keys without actually allocating contiguous memory like\n// a real array. We use a null-prototype object to avoid prototype pollution and deoptimizations.\n// Numeric properties on objects are magically sorted in ascending order by the engine regardless of\n// the insertion order. So, by setting any numeric keys, even out of order, we'll get ascending\n// order when iterating with for-in.\nfunction buildNullArray() {\n    return { __proto__: null };\n}\n\nconst LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';\nconst COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';\nconst LEAST_UPPER_BOUND = -1;\nconst GREATEST_LOWER_BOUND = 1;\nclass TraceMap {\n    constructor(map, mapUrl) {\n        const isString = typeof map === 'string';\n        if (!isString && map._decodedMemo)\n            return map;\n        const parsed = (isString ? JSON.parse(map) : map);\n        const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;\n        this.version = version;\n        this.file = file;\n        this.names = names || [];\n        this.sourceRoot = sourceRoot;\n        this.sources = sources;\n        this.sourcesContent = sourcesContent;\n        this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || undefined;\n        const from = resolve$1(sourceRoot || '', stripFilename(mapUrl));\n        this.resolvedSources = sources.map((s) => resolve$1(s || '', from));\n        const { mappings } = parsed;\n        if (typeof mappings === 'string') {\n            this._encoded = mappings;\n            this._decoded = undefined;\n        }\n        else {\n            this._encoded = undefined;\n            this._decoded = maybeSort(mappings, isString);\n        }\n        this._decodedMemo = memoizedState();\n        this._bySources = undefined;\n        this._bySourceMemos = undefined;\n    }\n}\n/**\n * Typescript doesn't allow friend access to private fields, so this just casts the map into a type\n * with public access modifiers.\n */\nfunction cast(map) {\n    return map;\n}\n/**\n * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.\n */\nfunction decodedMappings(map) {\n    var _a;\n    return ((_a = cast(map))._decoded || (_a._decoded = decode(cast(map)._encoded)));\n}\n/**\n * A higher-level API to find the source/line/column associated with a generated line/column\n * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in\n * `source-map` library.\n */\nfunction originalPositionFor(map, needle) {\n    let { line, column, bias } = needle;\n    line--;\n    if (line < 0)\n        throw new Error(LINE_GTR_ZERO);\n    if (column < 0)\n        throw new Error(COL_GTR_EQ_ZERO);\n    const decoded = decodedMappings(map);\n    // It's common for parent source maps to have pointers to lines that have no\n    // mapping (like a \"//# sourceMappingURL=\") at the end of the child file.\n    if (line >= decoded.length)\n        return OMapping(null, null, null, null);\n    const segments = decoded[line];\n    const index = traceSegmentInternal(segments, cast(map)._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);\n    if (index === -1)\n        return OMapping(null, null, null, null);\n    const segment = segments[index];\n    if (segment.length === 1)\n        return OMapping(null, null, null, null);\n    const { names, resolvedSources } = map;\n    return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names[segment[NAMES_INDEX]] : null);\n}\n/**\n * Finds the generated line/column position of the provided source/line/column source position.\n */\nfunction generatedPositionFor(map, needle) {\n    const { source, line, column, bias } = needle;\n    return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);\n}\nfunction OMapping(source, line, column, name) {\n    return { source, line, column, name };\n}\nfunction GMapping(line, column) {\n    return { line, column };\n}\nfunction traceSegmentInternal(segments, memo, line, column, bias) {\n    let index = memoizedBinarySearch(segments, column, memo, line);\n    if (found) {\n        index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);\n    }\n    else if (bias === LEAST_UPPER_BOUND)\n        index++;\n    if (index === -1 || index === segments.length)\n        return -1;\n    return index;\n}\nfunction sliceGeneratedPositions(segments, memo, line, column, bias) {\n    let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);\n    // We ignored the bias when tracing the segment so that we're guarnateed to find the first (in\n    // insertion order) segment that matched. Even if we did respect the bias when tracing, we would\n    // still need to call `lowerBound()` to find the first segment, which is slower than just looking\n    // for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the\n    // binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to\n    // match LEAST_UPPER_BOUND.\n    if (!found && bias === LEAST_UPPER_BOUND)\n        min++;\n    if (min === -1 || min === segments.length)\n        return [];\n    // We may have found the segment that started at an earlier column. If this is the case, then we\n    // need to slice all generated segments that match _that_ column, because all such segments span\n    // to our desired column.\n    const matchedColumn = found ? column : segments[min][COLUMN];\n    // The binary search is not guaranteed to find the lower bound when a match wasn't found.\n    if (!found)\n        min = lowerBound(segments, matchedColumn, min);\n    const max = upperBound(segments, matchedColumn, min);\n    const result = [];\n    for (; min <= max; min++) {\n        const segment = segments[min];\n        result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));\n    }\n    return result;\n}\nfunction generatedPosition(map, source, line, column, bias, all) {\n    var _a;\n    line--;\n    if (line < 0)\n        throw new Error(LINE_GTR_ZERO);\n    if (column < 0)\n        throw new Error(COL_GTR_EQ_ZERO);\n    const { sources, resolvedSources } = map;\n    let sourceIndex = sources.indexOf(source);\n    if (sourceIndex === -1)\n        sourceIndex = resolvedSources.indexOf(source);\n    if (sourceIndex === -1)\n        return all ? [] : GMapping(null, null);\n    const generated = ((_a = cast(map))._bySources || (_a._bySources = buildBySources(decodedMappings(map), (cast(map)._bySourceMemos = sources.map(memoizedState)))));\n    const segments = generated[sourceIndex][line];\n    if (segments == null)\n        return all ? [] : GMapping(null, null);\n    const memo = cast(map)._bySourceMemos[sourceIndex];\n    if (all)\n        return sliceGeneratedPositions(segments, memo, line, column, bias);\n    const index = traceSegmentInternal(segments, memo, line, column, bias);\n    if (index === -1)\n        return GMapping(null, null);\n    const segment = segments[index];\n    return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);\n}\n\nconst _DRIVE_LETTER_START_RE = /^[A-Za-z]:\\//;\nfunction normalizeWindowsPath(input = \"\") {\n  if (!input) {\n    return input;\n  }\n  return input.replace(/\\\\/g, \"/\").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());\n}\nconst _IS_ABSOLUTE_RE = /^[/\\\\](?![/\\\\])|^[/\\\\]{2}(?!\\.)|^[A-Za-z]:[/\\\\]/;\nfunction cwd() {\n  if (typeof process !== \"undefined\" && typeof process.cwd === \"function\") {\n    return process.cwd().replace(/\\\\/g, \"/\");\n  }\n  return \"/\";\n}\nconst resolve = function(...arguments_) {\n  arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));\n  let resolvedPath = \"\";\n  let resolvedAbsolute = false;\n  for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {\n    const path = index >= 0 ? arguments_[index] : cwd();\n    if (!path || path.length === 0) {\n      continue;\n    }\n    resolvedPath = `${path}/${resolvedPath}`;\n    resolvedAbsolute = isAbsolute(path);\n  }\n  resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);\n  if (resolvedAbsolute && !isAbsolute(resolvedPath)) {\n    return `/${resolvedPath}`;\n  }\n  return resolvedPath.length > 0 ? resolvedPath : \".\";\n};\nfunction normalizeString(path, allowAboveRoot) {\n  let res = \"\";\n  let lastSegmentLength = 0;\n  let lastSlash = -1;\n  let dots = 0;\n  let char = null;\n  for (let index = 0; index <= path.length; ++index) {\n    if (index < path.length) {\n      char = path[index];\n    } else if (char === \"/\") {\n      break;\n    } else {\n      char = \"/\";\n    }\n    if (char === \"/\") {\n      if (lastSlash === index - 1 || dots === 1) ; else if (dots === 2) {\n        if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== \".\" || res[res.length - 2] !== \".\") {\n          if (res.length > 2) {\n            const lastSlashIndex = res.lastIndexOf(\"/\");\n            if (lastSlashIndex === -1) {\n              res = \"\";\n              lastSegmentLength = 0;\n            } else {\n              res = res.slice(0, lastSlashIndex);\n              lastSegmentLength = res.length - 1 - res.lastIndexOf(\"/\");\n            }\n            lastSlash = index;\n            dots = 0;\n            continue;\n          } else if (res.length > 0) {\n            res = \"\";\n            lastSegmentLength = 0;\n            lastSlash = index;\n            dots = 0;\n            continue;\n          }\n        }\n        if (allowAboveRoot) {\n          res += res.length > 0 ? \"/..\" : \"..\";\n          lastSegmentLength = 2;\n        }\n      } else {\n        if (res.length > 0) {\n          res += `/${path.slice(lastSlash + 1, index)}`;\n        } else {\n          res = path.slice(lastSlash + 1, index);\n        }\n        lastSegmentLength = index - lastSlash - 1;\n      }\n      lastSlash = index;\n      dots = 0;\n    } else if (char === \".\" && dots !== -1) {\n      ++dots;\n    } else {\n      dots = -1;\n    }\n  }\n  return res;\n}\nconst isAbsolute = function(p) {\n  return _IS_ABSOLUTE_RE.test(p);\n};\n\nconst CHROME_IE_STACK_REGEXP = /^\\s*at .*(?:\\S:\\d+|\\(native\\))/m;\nconst SAFARI_NATIVE_CODE_REGEXP = /^(?:eval@)?(?:\\[native code\\])?$/;\nconst stackIgnorePatterns = [\n  \"node:internal\",\n  /\\/packages\\/\\w+\\/dist\\//,\n  /\\/@vitest\\/\\w+\\/dist\\//,\n  \"/vitest/dist/\",\n  \"/vitest/src/\",\n  \"/vite-node/dist/\",\n  \"/vite-node/src/\",\n  \"/node_modules/chai/\",\n  \"/node_modules/tinypool/\",\n  \"/node_modules/tinyspy/\",\n  // browser related deps\n  \"/deps/chunk-\",\n  \"/deps/@vitest\",\n  \"/deps/loupe\",\n  \"/deps/chai\",\n  /node:\\w+/,\n  /__vitest_test__/,\n  /__vitest_browser__/,\n  /\\/deps\\/vitest_/\n];\nfunction extractLocation(urlLike) {\n  if (!urlLike.includes(\":\")) {\n    return [urlLike];\n  }\n  const regExp = /(.+?)(?::(\\d+))?(?::(\\d+))?$/;\n  const parts = regExp.exec(urlLike.replace(/^\\(|\\)$/g, \"\"));\n  if (!parts) {\n    return [urlLike];\n  }\n  let url = parts[1];\n  if (url.startsWith(\"async \")) {\n    url = url.slice(6);\n  }\n  if (url.startsWith(\"http:\") || url.startsWith(\"https:\")) {\n    const urlObj = new URL(url);\n    url = urlObj.pathname;\n  }\n  if (url.startsWith(\"/@fs/\")) {\n    const isWindows = /^\\/@fs\\/[a-zA-Z]:\\//.test(url);\n    url = url.slice(isWindows ? 5 : 4);\n  }\n  return [url, parts[2] || void 0, parts[3] || void 0];\n}\nfunction parseSingleFFOrSafariStack(raw) {\n  let line = raw.trim();\n  if (SAFARI_NATIVE_CODE_REGEXP.test(line)) {\n    return null;\n  }\n  if (line.includes(\" > eval\")) {\n    line = line.replace(\n      / line (\\d+)(?: > eval line \\d+)* > eval:\\d+:\\d+/g,\n      \":$1\"\n    );\n  }\n  if (!line.includes(\"@\") && !line.includes(\":\")) {\n    return null;\n  }\n  const functionNameRegex = /((.*\".+\"[^@]*)?[^@]*)(@)/;\n  const matches = line.match(functionNameRegex);\n  const functionName = matches && matches[1] ? matches[1] : void 0;\n  const [url, lineNumber, columnNumber] = extractLocation(\n    line.replace(functionNameRegex, \"\")\n  );\n  if (!url || !lineNumber || !columnNumber) {\n    return null;\n  }\n  return {\n    file: url,\n    method: functionName || \"\",\n    line: Number.parseInt(lineNumber),\n    column: Number.parseInt(columnNumber)\n  };\n}\nfunction parseSingleStack(raw) {\n  const line = raw.trim();\n  if (!CHROME_IE_STACK_REGEXP.test(line)) {\n    return parseSingleFFOrSafariStack(line);\n  }\n  return parseSingleV8Stack(line);\n}\nfunction parseSingleV8Stack(raw) {\n  let line = raw.trim();\n  if (!CHROME_IE_STACK_REGEXP.test(line)) {\n    return null;\n  }\n  if (line.includes(\"(eval \")) {\n    line = line.replace(/eval code/g, \"eval\").replace(/(\\(eval at [^()]*)|(,.*$)/g, \"\");\n  }\n  let sanitizedLine = line.replace(/^\\s+/, \"\").replace(/\\(eval code/g, \"(\").replace(/^.*?\\s+/, \"\");\n  const location = sanitizedLine.match(/ (\\(.+\\)$)/);\n  sanitizedLine = location ? sanitizedLine.replace(location[0], \"\") : sanitizedLine;\n  const [url, lineNumber, columnNumber] = extractLocation(\n    location ? location[1] : sanitizedLine\n  );\n  let method = location && sanitizedLine || \"\";\n  let file = url && [\"eval\", \"<anonymous>\"].includes(url) ? void 0 : url;\n  if (!file || !lineNumber || !columnNumber) {\n    return null;\n  }\n  if (method.startsWith(\"async \")) {\n    method = method.slice(6);\n  }\n  if (file.startsWith(\"file://\")) {\n    file = file.slice(7);\n  }\n  file = resolve(file);\n  if (method) {\n    method = method.replace(/__vite_ssr_import_\\d+__\\./g, \"\");\n  }\n  return {\n    method,\n    file,\n    line: Number.parseInt(lineNumber),\n    column: Number.parseInt(columnNumber)\n  };\n}\nfunction createStackString(stacks) {\n  return stacks.map((stack) => {\n    const line = `${stack.file}:${stack.line}:${stack.column}`;\n    if (stack.method) {\n      return `    at ${stack.method}(${line})`;\n    }\n    return `    at ${line}`;\n  }).join(\"\\n\");\n}\nfunction parseStacktrace(stack, options = {}) {\n  const { ignoreStackEntries = stackIgnorePatterns } = options;\n  let stacks = !CHROME_IE_STACK_REGEXP.test(stack) ? parseFFOrSafariStackTrace(stack) : parseV8Stacktrace(stack);\n  if (ignoreStackEntries.length) {\n    stacks = stacks.filter(\n      (stack2) => !ignoreStackEntries.some((p) => stack2.file.match(p))\n    );\n  }\n  return stacks.map((stack2) => {\n    var _a;\n    if (options.getFileName) {\n      stack2.file = options.getFileName(stack2.file);\n    }\n    const map = (_a = options.getSourceMap) == null ? void 0 : _a.call(options, stack2.file);\n    if (!map || typeof map !== \"object\" || !map.version) {\n      return stack2;\n    }\n    const traceMap = new TraceMap(map);\n    const { line, column } = originalPositionFor(traceMap, stack2);\n    if (line != null && column != null) {\n      return { ...stack2, line, column };\n    }\n    return stack2;\n  });\n}\nfunction parseFFOrSafariStackTrace(stack) {\n  return stack.split(\"\\n\").map((line) => parseSingleFFOrSafariStack(line)).filter(notNullish);\n}\nfunction parseV8Stacktrace(stack) {\n  return stack.split(\"\\n\").map((line) => parseSingleV8Stack(line)).filter(notNullish);\n}\nfunction parseErrorStacktrace(e, options = {}) {\n  if (!e || isPrimitive(e)) {\n    return [];\n  }\n  if (e.stacks) {\n    return e.stacks;\n  }\n  const stackStr = e.stack || e.stackStr || \"\";\n  let stackFrames = parseStacktrace(stackStr, options);\n  if (options.frameFilter) {\n    stackFrames = stackFrames.filter(\n      (f) => options.frameFilter(e, f) !== false\n    );\n  }\n  e.stacks = stackFrames;\n  return stackFrames;\n}\n\nexport { TraceMap, createStackString, generatedPositionFor, originalPositionFor, parseErrorStacktrace, parseSingleFFOrSafariStack, parseSingleStack, parseSingleV8Stack, parseStacktrace };\n","import { processError } from '@vitest/utils/error';\nimport { relative } from 'pathe';\nimport { toArray } from '@vitest/utils';\n\nfunction createChainable(keys, fn) {\n  function create(context) {\n    const chain2 = function(...args) {\n      return fn.apply(context, args);\n    };\n    Object.assign(chain2, fn);\n    chain2.withContext = () => chain2.bind(context);\n    chain2.setContext = (key, value) => {\n      context[key] = value;\n    };\n    chain2.mergeContext = (ctx) => {\n      Object.assign(context, ctx);\n    };\n    for (const key of keys) {\n      Object.defineProperty(chain2, key, {\n        get() {\n          return create({ ...context, [key]: true });\n        }\n      });\n    }\n    return chain2;\n  }\n  const chain = create({});\n  chain.fn = fn;\n  return chain;\n}\n\nfunction interpretTaskModes(suite, namePattern, onlyMode, parentIsOnly, allowOnly) {\n  const suiteIsOnly = parentIsOnly || suite.mode === \"only\";\n  suite.tasks.forEach((t) => {\n    const includeTask = suiteIsOnly || t.mode === \"only\";\n    if (onlyMode) {\n      if (t.type === \"suite\" && (includeTask || someTasksAreOnly(t))) {\n        if (t.mode === \"only\") {\n          checkAllowOnly(t, allowOnly);\n          t.mode = \"run\";\n        }\n      } else if (t.mode === \"run\" && !includeTask) {\n        t.mode = \"skip\";\n      } else if (t.mode === \"only\") {\n        checkAllowOnly(t, allowOnly);\n        t.mode = \"run\";\n      }\n    }\n    if (t.type === \"test\") {\n      if (namePattern && !getTaskFullName(t).match(namePattern)) {\n        t.mode = \"skip\";\n      }\n    } else if (t.type === \"suite\") {\n      if (t.mode === \"skip\") {\n        skipAllTasks(t);\n      } else {\n        interpretTaskModes(t, namePattern, onlyMode, includeTask, allowOnly);\n      }\n    }\n  });\n  if (suite.mode === \"run\") {\n    if (suite.tasks.length && suite.tasks.every((i) => i.mode !== \"run\")) {\n      suite.mode = \"skip\";\n    }\n  }\n}\nfunction getTaskFullName(task) {\n  return `${task.suite ? `${getTaskFullName(task.suite)} ` : \"\"}${task.name}`;\n}\nfunction someTasksAreOnly(suite) {\n  return suite.tasks.some(\n    (t) => t.mode === \"only\" || t.type === \"suite\" && someTasksAreOnly(t)\n  );\n}\nfunction skipAllTasks(suite) {\n  suite.tasks.forEach((t) => {\n    if (t.mode === \"run\") {\n      t.mode = \"skip\";\n      if (t.type === \"suite\") {\n        skipAllTasks(t);\n      }\n    }\n  });\n}\nfunction checkAllowOnly(task, allowOnly) {\n  if (allowOnly) {\n    return;\n  }\n  const error = processError(\n    new Error(\n      \"[Vitest] Unexpected .only modifier. Remove it or pass --allowOnly argument to bypass this error\"\n    )\n  );\n  task.result = {\n    state: \"fail\",\n    errors: [error]\n  };\n}\nfunction generateHash(str) {\n  let hash = 0;\n  if (str.length === 0) {\n    return `${hash}`;\n  }\n  for (let i = 0; i < str.length; i++) {\n    const char = str.charCodeAt(i);\n    hash = (hash << 5) - hash + char;\n    hash = hash & hash;\n  }\n  return `${hash}`;\n}\nfunction calculateSuiteHash(parent) {\n  parent.tasks.forEach((t, idx) => {\n    t.id = `${parent.id}_${idx}`;\n    if (t.type === \"suite\") {\n      calculateSuiteHash(t);\n    }\n  });\n}\nfunction createFileTask(filepath, root, projectName, pool) {\n  const path = relative(root, filepath);\n  const file = {\n    id: generateHash(`${path}${projectName || \"\"}`),\n    name: path,\n    type: \"suite\",\n    mode: \"run\",\n    filepath,\n    tasks: [],\n    meta: /* @__PURE__ */ Object.create(null),\n    projectName,\n    file: void 0,\n    pool\n  };\n  file.file = file;\n  return file;\n}\n\nfunction limitConcurrency(concurrency = Infinity) {\n  let count = 0;\n  let head;\n  let tail;\n  const finish = () => {\n    count--;\n    if (head) {\n      head[0]();\n      head = head[1];\n      tail = head && tail;\n    }\n  };\n  return (func, ...args) => {\n    return new Promise((resolve) => {\n      if (count++ < concurrency) {\n        resolve();\n      } else if (tail) {\n        tail = tail[1] = [resolve];\n      } else {\n        head = tail = [resolve];\n      }\n    }).then(() => {\n      return func(...args);\n    }).finally(finish);\n  };\n}\n\nfunction partitionSuiteChildren(suite) {\n  let tasksGroup = [];\n  const tasksGroups = [];\n  for (const c of suite.tasks) {\n    if (tasksGroup.length === 0 || c.concurrent === tasksGroup[0].concurrent) {\n      tasksGroup.push(c);\n    } else {\n      tasksGroups.push(tasksGroup);\n      tasksGroup = [c];\n    }\n  }\n  if (tasksGroup.length > 0) {\n    tasksGroups.push(tasksGroup);\n  }\n  return tasksGroups;\n}\n\nfunction isAtomTest(s) {\n  return s.type === \"test\" || s.type === \"custom\";\n}\nfunction getTests(suite) {\n  const tests = [];\n  const arraySuites = toArray(suite);\n  for (const s of arraySuites) {\n    if (isAtomTest(s)) {\n      tests.push(s);\n    } else {\n      for (const task of s.tasks) {\n        if (isAtomTest(task)) {\n          tests.push(task);\n        } else {\n          const taskTests = getTests(task);\n          for (const test of taskTests) {\n            tests.push(test);\n          }\n        }\n      }\n    }\n  }\n  return tests;\n}\nfunction getTasks(tasks = []) {\n  return toArray(tasks).flatMap(\n    (s) => isAtomTest(s) ? [s] : [s, ...getTasks(s.tasks)]\n  );\n}\nfunction getSuites(suite) {\n  return toArray(suite).flatMap(\n    (s) => s.type === \"suite\" ? [s, ...getSuites(s.tasks)] : []\n  );\n}\nfunction hasTests(suite) {\n  return toArray(suite).some(\n    (s) => s.tasks.some((c) => isAtomTest(c) || hasTests(c))\n  );\n}\nfunction hasFailed(suite) {\n  return toArray(suite).some(\n    (s) => {\n      var _a;\n      return ((_a = s.result) == null ? void 0 : _a.state) === \"fail\" || s.type === \"suite\" && hasFailed(s.tasks);\n    }\n  );\n}\nfunction getNames(task) {\n  const names = [task.name];\n  let current = task;\n  while (current == null ? void 0 : current.suite) {\n    current = current.suite;\n    if (current == null ? void 0 : current.name) {\n      names.unshift(current.name);\n    }\n  }\n  if (current !== task.file) {\n    names.unshift(task.file.name);\n  }\n  return names;\n}\nfunction getFullName(task, separator = \" > \") {\n  return getNames(task).join(separator);\n}\nfunction getTestName(task, separator = \" > \") {\n  return getNames(task).slice(1).join(separator);\n}\n\nexport { calculateSuiteHash as a, createFileTask as b, createChainable as c, getFullName as d, getNames as e, getSuites as f, generateHash as g, getTasks as h, interpretTaskModes as i, getTestName as j, getTests as k, limitConcurrency as l, hasFailed as m, hasTests as n, isAtomTest as o, partitionSuiteChildren as p, someTasksAreOnly as s };\n","import { getSafeTimers, isObject, createDefer, isNegativeNaN, format, objDisplay, objectAttr, toArray, assertTypes, shuffle } from '@vitest/utils';\nimport { parseSingleStack } from '@vitest/utils/source-map';\nimport { c as createChainable, b as createFileTask, a as calculateSuiteHash, s as someTasksAreOnly, i as interpretTaskModes, l as limitConcurrency, p as partitionSuiteChildren, n as hasTests, m as hasFailed } from './chunk-tasks.js';\nimport { processError } from '@vitest/utils/error';\nexport { processError } from '@vitest/utils/error';\nimport 'pathe';\n\nclass PendingError extends Error {\n  constructor(message, task) {\n    super(message);\n    this.message = message;\n    this.taskId = task.id;\n  }\n  code = \"VITEST_PENDING\";\n  taskId;\n}\n\nconst collectorContext = {\n  tasks: [],\n  currentSuite: null\n};\nfunction collectTask(task) {\n  var _a;\n  (_a = collectorContext.currentSuite) == null ? void 0 : _a.tasks.push(task);\n}\nasync function runWithSuite(suite, fn) {\n  const prev = collectorContext.currentSuite;\n  collectorContext.currentSuite = suite;\n  await fn();\n  collectorContext.currentSuite = prev;\n}\nfunction withTimeout(fn, timeout, isHook = false) {\n  if (timeout <= 0 || timeout === Number.POSITIVE_INFINITY) {\n    return fn;\n  }\n  const { setTimeout, clearTimeout } = getSafeTimers();\n  return function runWithTimeout(...args) {\n    return Promise.race([\n      fn(...args),\n      new Promise((resolve, reject) => {\n        var _a;\n        const timer = setTimeout(() => {\n          clearTimeout(timer);\n          reject(new Error(makeTimeoutMsg(isHook, timeout)));\n        }, timeout);\n        (_a = timer.unref) == null ? void 0 : _a.call(timer);\n      })\n    ]);\n  };\n}\nfunction createTestContext(test, runner) {\n  var _a;\n  const context = function() {\n    throw new Error(\"done() callback is deprecated, use promise instead\");\n  };\n  context.task = test;\n  context.skip = () => {\n    test.pending = true;\n    throw new PendingError(\"test is skipped; abort execution\", test);\n  };\n  context.onTestFailed = (fn) => {\n    test.onFailed || (test.onFailed = []);\n    test.onFailed.push(fn);\n  };\n  context.onTestFinished = (fn) => {\n    test.onFinished || (test.onFinished = []);\n    test.onFinished.push(fn);\n  };\n  return ((_a = runner.extendTaskContext) == null ? void 0 : _a.call(runner, context)) || context;\n}\nfunction makeTimeoutMsg(isHook, timeout) {\n  return `${isHook ? \"Hook\" : \"Test\"} timed out in ${timeout}ms.\nIf this is a long-running ${isHook ? \"hook\" : \"test\"}, pass a timeout value as the last argument or configure it globally with \"${isHook ? \"hookTimeout\" : \"testTimeout\"}\".`;\n}\n\nconst fnMap = /* @__PURE__ */ new WeakMap();\nconst fixtureMap = /* @__PURE__ */ new WeakMap();\nconst hooksMap = /* @__PURE__ */ new WeakMap();\nfunction setFn(key, fn) {\n  fnMap.set(key, fn);\n}\nfunction getFn(key) {\n  return fnMap.get(key);\n}\nfunction setFixture(key, fixture) {\n  fixtureMap.set(key, fixture);\n}\nfunction getFixture(key) {\n  return fixtureMap.get(key);\n}\nfunction setHooks(key, hooks) {\n  hooksMap.set(key, hooks);\n}\nfunction getHooks(key) {\n  return hooksMap.get(key);\n}\n\nfunction mergeContextFixtures(fixtures, context = {}) {\n  const fixtureOptionKeys = [\"auto\"];\n  const fixtureArray = Object.entries(fixtures).map(\n    ([prop, value]) => {\n      const fixtureItem = { value };\n      if (Array.isArray(value) && value.length >= 2 && isObject(value[1]) && Object.keys(value[1]).some((key) => fixtureOptionKeys.includes(key))) {\n        Object.assign(fixtureItem, value[1]);\n        fixtureItem.value = value[0];\n      }\n      fixtureItem.prop = prop;\n      fixtureItem.isFn = typeof fixtureItem.value === \"function\";\n      return fixtureItem;\n    }\n  );\n  if (Array.isArray(context.fixtures)) {\n    context.fixtures = context.fixtures.concat(fixtureArray);\n  } else {\n    context.fixtures = fixtureArray;\n  }\n  fixtureArray.forEach((fixture) => {\n    if (fixture.isFn) {\n      const usedProps = getUsedProps(fixture.value);\n      if (usedProps.length) {\n        fixture.deps = context.fixtures.filter(\n          ({ prop }) => prop !== fixture.prop && usedProps.includes(prop)\n        );\n      }\n    }\n  });\n  return context;\n}\nconst fixtureValueMaps = /* @__PURE__ */ new Map();\nconst cleanupFnArrayMap = /* @__PURE__ */ new Map();\nasync function callFixtureCleanup(context) {\n  const cleanupFnArray = cleanupFnArrayMap.get(context) ?? [];\n  for (const cleanup of cleanupFnArray.reverse()) {\n    await cleanup();\n  }\n  cleanupFnArrayMap.delete(context);\n}\nfunction withFixtures(fn, testContext) {\n  return (hookContext) => {\n    const context = hookContext || testContext;\n    if (!context) {\n      return fn({});\n    }\n    const fixtures = getFixture(context);\n    if (!(fixtures == null ? void 0 : fixtures.length)) {\n      return fn(context);\n    }\n    const usedProps = getUsedProps(fn);\n    const hasAutoFixture = fixtures.some(({ auto }) => auto);\n    if (!usedProps.length && !hasAutoFixture) {\n      return fn(context);\n    }\n    if (!fixtureValueMaps.get(context)) {\n      fixtureValueMaps.set(context, /* @__PURE__ */ new Map());\n    }\n    const fixtureValueMap = fixtureValueMaps.get(context);\n    if (!cleanupFnArrayMap.has(context)) {\n      cleanupFnArrayMap.set(context, []);\n    }\n    const cleanupFnArray = cleanupFnArrayMap.get(context);\n    const usedFixtures = fixtures.filter(\n      ({ prop, auto }) => auto || usedProps.includes(prop)\n    );\n    const pendingFixtures = resolveDeps(usedFixtures);\n    if (!pendingFixtures.length) {\n      return fn(context);\n    }\n    async function resolveFixtures() {\n      for (const fixture of pendingFixtures) {\n        if (fixtureValueMap.has(fixture)) {\n          continue;\n        }\n        const resolvedValue = fixture.isFn ? await resolveFixtureFunction(fixture.value, context, cleanupFnArray) : fixture.value;\n        context[fixture.prop] = resolvedValue;\n        fixtureValueMap.set(fixture, resolvedValue);\n        cleanupFnArray.unshift(() => {\n          fixtureValueMap.delete(fixture);\n        });\n      }\n    }\n    return resolveFixtures().then(() => fn(context));\n  };\n}\nasync function resolveFixtureFunction(fixtureFn, context, cleanupFnArray) {\n  const useFnArgPromise = createDefer();\n  let isUseFnArgResolved = false;\n  const fixtureReturn = fixtureFn(context, async (useFnArg) => {\n    isUseFnArgResolved = true;\n    useFnArgPromise.resolve(useFnArg);\n    const useReturnPromise = createDefer();\n    cleanupFnArray.push(async () => {\n      useReturnPromise.resolve();\n      await fixtureReturn;\n    });\n    await useReturnPromise;\n  }).catch((e) => {\n    if (!isUseFnArgResolved) {\n      useFnArgPromise.reject(e);\n      return;\n    }\n    throw e;\n  });\n  return useFnArgPromise;\n}\nfunction resolveDeps(fixtures, depSet = /* @__PURE__ */ new Set(), pendingFixtures = []) {\n  fixtures.forEach((fixture) => {\n    if (pendingFixtures.includes(fixture)) {\n      return;\n    }\n    if (!fixture.isFn || !fixture.deps) {\n      pendingFixtures.push(fixture);\n      return;\n    }\n    if (depSet.has(fixture)) {\n      throw new Error(\n        `Circular fixture dependency detected: ${fixture.prop} <- ${[...depSet].reverse().map((d) => d.prop).join(\" <- \")}`\n      );\n    }\n    depSet.add(fixture);\n    resolveDeps(fixture.deps, depSet, pendingFixtures);\n    pendingFixtures.push(fixture);\n    depSet.clear();\n  });\n  return pendingFixtures;\n}\nfunction getUsedProps(fn) {\n  let fnString = fn.toString();\n  if (/__async\\(this, (?:null|arguments|\\[[_0-9, ]*\\]), function\\*/.test(fnString)) {\n    fnString = fnString.split(\"__async(this,\")[1];\n  }\n  const match = fnString.match(/[^(]*\\(([^)]*)/);\n  if (!match) {\n    return [];\n  }\n  const args = splitByComma(match[1]);\n  if (!args.length) {\n    return [];\n  }\n  let first = args[0];\n  if (\"__VITEST_FIXTURE_INDEX__\" in fn) {\n    first = args[fn.__VITEST_FIXTURE_INDEX__];\n    if (!first) {\n      return [];\n    }\n  }\n  if (!(first.startsWith(\"{\") && first.endsWith(\"}\"))) {\n    throw new Error(\n      `The first argument inside a fixture must use object destructuring pattern, e.g. ({ test } => {}). Instead, received \"${first}\".`\n    );\n  }\n  const _first = first.slice(1, -1).replace(/\\s/g, \"\");\n  const props = splitByComma(_first).map((prop) => {\n    return prop.replace(/:.*|=.*/g, \"\");\n  });\n  const last = props.at(-1);\n  if (last && last.startsWith(\"...\")) {\n    throw new Error(\n      `Rest parameters are not supported in fixtures, received \"${last}\".`\n    );\n  }\n  return props;\n}\nfunction splitByComma(s) {\n  const result = [];\n  const stack = [];\n  let start = 0;\n  for (let i = 0; i < s.length; i++) {\n    if (s[i] === \"{\" || s[i] === \"[\") {\n      stack.push(s[i] === \"{\" ? \"}\" : \"]\");\n    } else if (s[i] === stack[stack.length - 1]) {\n      stack.pop();\n    } else if (!stack.length && s[i] === \",\") {\n      const token = s.substring(start, i).trim();\n      if (token) {\n        result.push(token);\n      }\n      start = i + 1;\n    }\n  }\n  const lastToken = s.substring(start).trim();\n  if (lastToken) {\n    result.push(lastToken);\n  }\n  return result;\n}\n\nlet _test;\nfunction setCurrentTest(test) {\n  _test = test;\n}\nfunction getCurrentTest() {\n  return _test;\n}\n\nconst suite = createSuite();\nconst test = createTest(function(name, optionsOrFn, optionsOrTest) {\n  if (getCurrentTest()) {\n    throw new Error(\n      'Calling the test function inside another test function is not allowed. Please put it inside \"describe\" or \"suite\" so it can be properly collected.'\n    );\n  }\n  getCurrentSuite().test.fn.call(\n    this,\n    formatName(name),\n    optionsOrFn,\n    optionsOrTest\n  );\n});\nconst describe = suite;\nconst it = test;\nlet runner;\nlet defaultSuite;\nlet currentTestFilepath;\nfunction assert(condition, message) {\n  if (!condition) {\n    throw new Error(`Vitest failed to find ${message}. This is a bug in Vitest. Please, open an issue with reproduction.`);\n  }\n}\nfunction getDefaultSuite() {\n  assert(defaultSuite, \"the default suite\");\n  return defaultSuite;\n}\nfunction getTestFilepath() {\n  return currentTestFilepath;\n}\nfunction getRunner() {\n  assert(runner, \"the runner\");\n  return runner;\n}\nfunction createDefaultSuite(runner2) {\n  const config = runner2.config.sequence;\n  const api = config.shuffle ? suite.shuffle : suite;\n  return api(\"\", { concurrent: config.concurrent }, () => {\n  });\n}\nfunction clearCollectorContext(filepath, currentRunner) {\n  if (!defaultSuite) {\n    defaultSuite = createDefaultSuite(currentRunner);\n  }\n  runner = currentRunner;\n  currentTestFilepath = filepath;\n  collectorContext.tasks.length = 0;\n  defaultSuite.clear();\n  collectorContext.currentSuite = defaultSuite;\n}\nfunction getCurrentSuite() {\n  const currentSuite = collectorContext.currentSuite || defaultSuite;\n  assert(currentSuite, \"the current suite\");\n  return currentSuite;\n}\nfunction createSuiteHooks() {\n  return {\n    beforeAll: [],\n    afterAll: [],\n    beforeEach: [],\n    afterEach: []\n  };\n}\nfunction parseArguments(optionsOrFn, optionsOrTest) {\n  let options = {};\n  let fn = () => {\n  };\n  if (typeof optionsOrTest === \"object\") {\n    if (typeof optionsOrFn === \"object\") {\n      throw new TypeError(\n        \"Cannot use two objects as arguments. Please provide options and a function callback in that order.\"\n      );\n    }\n    options = optionsOrTest;\n  } else if (typeof optionsOrTest === \"number\") {\n    options = { timeout: optionsOrTest };\n  } else if (typeof optionsOrFn === \"object\") {\n    options = optionsOrFn;\n  }\n  if (typeof optionsOrFn === \"function\") {\n    if (typeof optionsOrTest === \"function\") {\n      throw new TypeError(\n        \"Cannot use two functions as arguments. Please use the second argument for options.\"\n      );\n    }\n    fn = optionsOrFn;\n  } else if (typeof optionsOrTest === \"function\") {\n    fn = optionsOrTest;\n  }\n  return {\n    options,\n    handler: fn\n  };\n}\nfunction createSuiteCollector(name, factory = () => {\n}, mode, shuffle, each, suiteOptions) {\n  const tasks = [];\n  const factoryQueue = [];\n  let suite2;\n  initSuite(true);\n  const task = function(name2 = \"\", options = {}) {\n    const task2 = {\n      id: \"\",\n      name: name2,\n      suite: void 0,\n      each: options.each,\n      fails: options.fails,\n      context: void 0,\n      type: \"custom\",\n      file: void 0,\n      retry: options.retry ?? runner.config.retry,\n      repeats: options.repeats,\n      mode: options.only ? \"only\" : options.skip ? \"skip\" : options.todo ? \"todo\" : \"run\",\n      meta: options.meta ?? /* @__PURE__ */ Object.create(null)\n    };\n    const handler = options.handler;\n    if (options.concurrent || !options.sequential && runner.config.sequence.concurrent) {\n      task2.concurrent = true;\n    }\n    if (shuffle) {\n      task2.shuffle = true;\n    }\n    const context = createTestContext(task2, runner);\n    Object.defineProperty(task2, \"context\", {\n      value: context,\n      enumerable: false\n    });\n    setFixture(context, options.fixtures);\n    if (handler) {\n      setFn(\n        task2,\n        withTimeout(\n          withAwaitAsyncAssetions(withFixtures(handler, context), task2),\n          (options == null ? void 0 : options.timeout) ?? runner.config.testTimeout\n        )\n      );\n    }\n    if (runner.config.includeTaskLocation) {\n      const limit = Error.stackTraceLimit;\n      Error.stackTraceLimit = 15;\n      const error = new Error(\"stacktrace\").stack;\n      Error.stackTraceLimit = limit;\n      const stack = findTestFileStackTrace(error, task2.each ?? false);\n      if (stack) {\n        task2.location = stack;\n      }\n    }\n    tasks.push(task2);\n    return task2;\n  };\n  const test2 = createTest(function(name2, optionsOrFn, optionsOrTest) {\n    let { options, handler } = parseArguments(optionsOrFn, optionsOrTest);\n    if (typeof suiteOptions === \"object\") {\n      options = Object.assign({}, suiteOptions, options);\n    }\n    options.concurrent = this.concurrent || !this.sequential && (options == null ? void 0 : options.concurrent);\n    options.sequential = this.sequential || !this.concurrent && (options == null ? void 0 : options.sequential);\n    const test3 = task(formatName(name2), {\n      ...this,\n      ...options,\n      handler\n    });\n    test3.type = \"test\";\n  });\n  const collector = {\n    type: \"collector\",\n    name,\n    mode,\n    options: suiteOptions,\n    test: test2,\n    tasks,\n    collect,\n    task,\n    clear,\n    on: addHook\n  };\n  function addHook(name2, ...fn) {\n    getHooks(suite2)[name2].push(...fn);\n  }\n  function initSuite(includeLocation) {\n    if (typeof suiteOptions === \"number\") {\n      suiteOptions = { timeout: suiteOptions };\n    }\n    suite2 = {\n      id: \"\",\n      type: \"suite\",\n      name,\n      mode,\n      each,\n      file: void 0,\n      shuffle,\n      tasks: [],\n      meta: /* @__PURE__ */ Object.create(null),\n      concurrent: suiteOptions == null ? void 0 : suiteOptions.concurrent\n    };\n    if (runner && includeLocation && runner.config.includeTaskLocation) {\n      const limit = Error.stackTraceLimit;\n      Error.stackTraceLimit = 15;\n      const error = new Error(\"stacktrace\").stack;\n      Error.stackTraceLimit = limit;\n      const stack = findTestFileStackTrace(error, suite2.each ?? false);\n      if (stack) {\n        suite2.location = stack;\n      }\n    }\n    setHooks(suite2, createSuiteHooks());\n  }\n  function clear() {\n    tasks.length = 0;\n    factoryQueue.length = 0;\n    initSuite(false);\n  }\n  async function collect(file) {\n    if (!file) {\n      throw new TypeError(\"File is required to collect tasks.\");\n    }\n    factoryQueue.length = 0;\n    if (factory) {\n      await runWithSuite(collector, () => factory(test2));\n    }\n    const allChildren = [];\n    for (const i of [...factoryQueue, ...tasks]) {\n      allChildren.push(i.type === \"collector\" ? await i.collect(file) : i);\n    }\n    suite2.file = file;\n    suite2.tasks = allChildren;\n    allChildren.forEach((task2) => {\n      task2.suite = suite2;\n      task2.file = file;\n    });\n    return suite2;\n  }\n  collectTask(collector);\n  return collector;\n}\nfunction withAwaitAsyncAssetions(fn, task) {\n  return async (...args) => {\n    await fn(...args);\n    if (task.promises) {\n      const result = await Promise.allSettled(task.promises);\n      const errors = result.map((r) => r.status === \"rejected\" ? r.reason : void 0).filter(Boolean);\n      if (errors.length) {\n        throw errors;\n      }\n    }\n  };\n}\nfunction createSuite() {\n  function suiteFn(name, factoryOrOptions, optionsOrFactory = {}) {\n    const mode = this.only ? \"only\" : this.skip ? \"skip\" : this.todo ? \"todo\" : \"run\";\n    const currentSuite = collectorContext.currentSuite || defaultSuite;\n    let { options, handler: factory } = parseArguments(\n      factoryOrOptions,\n      optionsOrFactory\n    );\n    const isConcurrentSpecified = options.concurrent || this.concurrent || options.sequential === false;\n    const isSequentialSpecified = options.sequential || this.sequential || options.concurrent === false;\n    if (currentSuite == null ? void 0 : currentSuite.options) {\n      options = { ...currentSuite.options, ...options };\n    }\n    const isConcurrent = isConcurrentSpecified || options.concurrent && !isSequentialSpecified;\n    const isSequential = isSequentialSpecified || options.sequential && !isConcurrentSpecified;\n    options.concurrent = isConcurrent && !isSequential;\n    options.sequential = isSequential && !isConcurrent;\n    return createSuiteCollector(\n      formatName(name),\n      factory,\n      mode,\n      this.shuffle,\n      this.each,\n      options\n    );\n  }\n  suiteFn.each = function(cases, ...args) {\n    const suite2 = this.withContext();\n    this.setContext(\"each\", true);\n    if (Array.isArray(cases) && args.length) {\n      cases = formatTemplateString(cases, args);\n    }\n    return (name, optionsOrFn, fnOrOptions) => {\n      const _name = formatName(name);\n      const arrayOnlyCases = cases.every(Array.isArray);\n      const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);\n      const fnFirst = typeof optionsOrFn === \"function\";\n      cases.forEach((i, idx) => {\n        const items = Array.isArray(i) ? i : [i];\n        if (fnFirst) {\n          if (arrayOnlyCases) {\n            suite2(\n              formatTitle(_name, items, idx),\n              () => handler(...items),\n              options\n            );\n          } else {\n            suite2(formatTitle(_name, items, idx), () => handler(i), options);\n          }\n        } else {\n          if (arrayOnlyCases) {\n            suite2(formatTitle(_name, items, idx), options, () => handler(...items));\n          } else {\n            suite2(formatTitle(_name, items, idx), options, () => handler(i));\n          }\n        }\n      });\n      this.setContext(\"each\", void 0);\n    };\n  };\n  suiteFn.skipIf = (condition) => condition ? suite.skip : suite;\n  suiteFn.runIf = (condition) => condition ? suite : suite.skip;\n  return createChainable(\n    [\"concurrent\", \"sequential\", \"shuffle\", \"skip\", \"only\", \"todo\"],\n    suiteFn\n  );\n}\nfunction createTaskCollector(fn, context) {\n  const taskFn = fn;\n  taskFn.each = function(cases, ...args) {\n    const test2 = this.withContext();\n    this.setContext(\"each\", true);\n    if (Array.isArray(cases) && args.length) {\n      cases = formatTemplateString(cases, args);\n    }\n    return (name, optionsOrFn, fnOrOptions) => {\n      const _name = formatName(name);\n      const arrayOnlyCases = cases.every(Array.isArray);\n      const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);\n      const fnFirst = typeof optionsOrFn === \"function\";\n      cases.forEach((i, idx) => {\n        const items = Array.isArray(i) ? i : [i];\n        if (fnFirst) {\n          if (arrayOnlyCases) {\n            test2(\n              formatTitle(_name, items, idx),\n              () => handler(...items),\n              options\n            );\n          } else {\n            test2(formatTitle(_name, items, idx), () => handler(i), options);\n          }\n        } else {\n          if (arrayOnlyCases) {\n            test2(formatTitle(_name, items, idx), options, () => handler(...items));\n          } else {\n            test2(formatTitle(_name, items, idx), options, () => handler(i));\n          }\n        }\n      });\n      this.setContext(\"each\", void 0);\n    };\n  };\n  taskFn.for = function(cases, ...args) {\n    const test2 = this.withContext();\n    if (Array.isArray(cases) && args.length) {\n      cases = formatTemplateString(cases, args);\n    }\n    return (name, optionsOrFn, fnOrOptions) => {\n      const _name = formatName(name);\n      const { options, handler } = parseArguments(optionsOrFn, fnOrOptions);\n      cases.forEach((item, idx) => {\n        const handlerWrapper = (ctx) => handler(item, ctx);\n        handlerWrapper.__VITEST_FIXTURE_INDEX__ = 1;\n        handlerWrapper.toString = () => handler.toString();\n        test2(formatTitle(_name, toArray(item), idx), options, handlerWrapper);\n      });\n    };\n  };\n  taskFn.skipIf = function(condition) {\n    return condition ? this.skip : this;\n  };\n  taskFn.runIf = function(condition) {\n    return condition ? this : this.skip;\n  };\n  taskFn.extend = function(fixtures) {\n    const _context = mergeContextFixtures(fixtures, context);\n    return createTest(function fn2(name, optionsOrFn, optionsOrTest) {\n      getCurrentSuite().test.fn.call(\n        this,\n        formatName(name),\n        optionsOrFn,\n        optionsOrTest\n      );\n    }, _context);\n  };\n  const _test = createChainable(\n    [\"concurrent\", \"sequential\", \"skip\", \"only\", \"todo\", \"fails\"],\n    taskFn\n  );\n  if (context) {\n    _test.mergeContext(context);\n  }\n  return _test;\n}\nfunction createTest(fn, context) {\n  return createTaskCollector(fn, context);\n}\nfunction formatName(name) {\n  return typeof name === \"string\" ? name : name instanceof Function ? name.name || \"<anonymous>\" : String(name);\n}\nfunction formatTitle(template, items, idx) {\n  if (template.includes(\"%#\")) {\n    template = template.replace(/%%/g, \"__vitest_escaped_%__\").replace(/%#/g, `${idx}`).replace(/__vitest_escaped_%__/g, \"%%\");\n  }\n  const count = template.split(\"%\").length - 1;\n  if (template.includes(\"%f\")) {\n    const placeholders = template.match(/%f/g) || [];\n    placeholders.forEach((_, i) => {\n      if (isNegativeNaN(items[i]) || Object.is(items[i], -0)) {\n        let occurrence = 0;\n        template = template.replace(/%f/g, (match) => {\n          occurrence++;\n          return occurrence === i + 1 ? \"-%f\" : match;\n        });\n      }\n    });\n  }\n  let formatted = format(template, ...items.slice(0, count));\n  if (isObject(items[0])) {\n    formatted = formatted.replace(\n      /\\$([$\\w.]+)/g,\n      // https://github.com/chaijs/chai/pull/1490\n      (_, key) => {\n        var _a, _b;\n        return objDisplay(objectAttr(items[0], key), {\n          truncate: (_b = (_a = runner == null ? void 0 : runner.config) == null ? void 0 : _a.chaiConfig) == null ? void 0 : _b.truncateThreshold\n        });\n      }\n    );\n  }\n  return formatted;\n}\nfunction formatTemplateString(cases, args) {\n  const header = cases.join(\"\").trim().replace(/ /g, \"\").split(\"\\n\").map((i) => i.split(\"|\"))[0];\n  const res = [];\n  for (let i = 0; i < Math.floor(args.length / header.length); i++) {\n    const oneCase = {};\n    for (let j = 0; j < header.length; j++) {\n      oneCase[header[j]] = args[i * header.length + j];\n    }\n    res.push(oneCase);\n  }\n  return res;\n}\nfunction findTestFileStackTrace(error, each) {\n  const lines = error.split(\"\\n\").slice(1);\n  for (const line of lines) {\n    const stack = parseSingleStack(line);\n    if (stack && stack.file === getTestFilepath()) {\n      return {\n        line: stack.line,\n        /**\n         * test.each([1, 2])('name')\n         *                 ^ leads here, but should\n         *                  ^ lead here\n         * in source maps it's the same boundary, so it just points to the start of it\n         */\n        column: each ? stack.column + 1 : stack.column\n      };\n    }\n  }\n}\n\nfunction getDefaultHookTimeout() {\n  return getRunner().config.hookTimeout;\n}\nfunction beforeAll(fn, timeout) {\n  assertTypes(fn, '\"beforeAll\" callback', [\"function\"]);\n  return getCurrentSuite().on(\n    \"beforeAll\",\n    withTimeout(fn, timeout ?? getDefaultHookTimeout(), true)\n  );\n}\nfunction afterAll(fn, timeout) {\n  assertTypes(fn, '\"afterAll\" callback', [\"function\"]);\n  return getCurrentSuite().on(\n    \"afterAll\",\n    withTimeout(fn, timeout ?? getDefaultHookTimeout(), true)\n  );\n}\nfunction beforeEach(fn, timeout) {\n  assertTypes(fn, '\"beforeEach\" callback', [\"function\"]);\n  return getCurrentSuite().on(\n    \"beforeEach\",\n    withTimeout(withFixtures(fn), timeout ?? getDefaultHookTimeout(), true)\n  );\n}\nfunction afterEach(fn, timeout) {\n  assertTypes(fn, '\"afterEach\" callback', [\"function\"]);\n  return getCurrentSuite().on(\n    \"afterEach\",\n    withTimeout(withFixtures(fn), timeout ?? getDefaultHookTimeout(), true)\n  );\n}\nconst onTestFailed = createTestHook(\n  \"onTestFailed\",\n  (test, handler, timeout) => {\n    test.onFailed || (test.onFailed = []);\n    test.onFailed.push(\n      withTimeout(handler, timeout ?? getDefaultHookTimeout(), true)\n    );\n  }\n);\nconst onTestFinished = createTestHook(\n  \"onTestFinished\",\n  (test, handler, timeout) => {\n    test.onFinished || (test.onFinished = []);\n    test.onFinished.push(\n      withTimeout(handler, timeout ?? getDefaultHookTimeout(), true)\n    );\n  }\n);\nfunction createTestHook(name, handler) {\n  return (fn, timeout) => {\n    assertTypes(fn, `\"${name}\" callback`, [\"function\"]);\n    const current = getCurrentTest();\n    if (!current) {\n      throw new Error(`Hook ${name}() can only be called inside a test`);\n    }\n    return handler(current, fn, timeout);\n  };\n}\n\nasync function runSetupFiles(config, files, runner) {\n  if (config.sequence.setupFiles === \"parallel\") {\n    await Promise.all(\n      files.map(async (fsPath) => {\n        await runner.importFile(fsPath, \"setup\");\n      })\n    );\n  } else {\n    for (const fsPath of files) {\n      await runner.importFile(fsPath, \"setup\");\n    }\n  }\n}\n\nconst now$1 = globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;\nasync function collectTests(paths, runner) {\n  var _a;\n  const files = [];\n  const config = runner.config;\n  for (const filepath of paths) {\n    const file = createFileTask(filepath, config.root, config.name, runner.pool);\n    (_a = runner.onCollectStart) == null ? void 0 : _a.call(runner, file);\n    clearCollectorContext(filepath, runner);\n    try {\n      const setupFiles = toArray(config.setupFiles);\n      if (setupFiles.length) {\n        const setupStart = now$1();\n        await runSetupFiles(config, setupFiles, runner);\n        const setupEnd = now$1();\n        file.setupDuration = setupEnd - setupStart;\n      } else {\n        file.setupDuration = 0;\n      }\n      const collectStart = now$1();\n      await runner.importFile(filepath, \"collect\");\n      const defaultTasks = await getDefaultSuite().collect(file);\n      const fileHooks = createSuiteHooks();\n      mergeHooks(fileHooks, getHooks(defaultTasks));\n      for (const c of [...defaultTasks.tasks, ...collectorContext.tasks]) {\n        if (c.type === \"test\" || c.type === \"custom\" || c.type === \"suite\") {\n          file.tasks.push(c);\n        } else if (c.type === \"collector\") {\n          const suite = await c.collect(file);\n          if (suite.name || suite.tasks.length) {\n            mergeHooks(fileHooks, getHooks(suite));\n            file.tasks.push(suite);\n          }\n        } else {\n          c;\n        }\n      }\n      setHooks(file, fileHooks);\n      file.collectDuration = now$1() - collectStart;\n    } catch (e) {\n      const error = processError(e);\n      file.result = {\n        state: \"fail\",\n        errors: [error]\n      };\n    }\n    calculateSuiteHash(file);\n    file.tasks.forEach((task) => {\n      var _a2;\n      if (((_a2 = task.suite) == null ? void 0 : _a2.id) === \"\") {\n        delete task.suite;\n      }\n    });\n    const hasOnlyTasks = someTasksAreOnly(file);\n    interpretTaskModes(\n      file,\n      config.testNamePattern,\n      hasOnlyTasks,\n      false,\n      config.allowOnly\n    );\n    files.push(file);\n  }\n  return files;\n}\nfunction mergeHooks(baseHooks, hooks) {\n  for (const _key in hooks) {\n    const key = _key;\n    baseHooks[key].push(...hooks[key]);\n  }\n  return baseHooks;\n}\n\nconst now = globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;\nconst unixNow = Date.now;\nfunction updateSuiteHookState(suite, name, state, runner) {\n  var _a;\n  if (!suite.result) {\n    suite.result = { state: \"run\" };\n  }\n  if (!((_a = suite.result) == null ? void 0 : _a.hooks)) {\n    suite.result.hooks = {};\n  }\n  const suiteHooks = suite.result.hooks;\n  if (suiteHooks) {\n    suiteHooks[name] = state;\n    updateTask(suite, runner);\n  }\n}\nfunction getSuiteHooks(suite, name, sequence) {\n  const hooks = getHooks(suite)[name];\n  if (sequence === \"stack\" && (name === \"afterAll\" || name === \"afterEach\")) {\n    return hooks.slice().reverse();\n  }\n  return hooks;\n}\nasync function callTestHooks(runner, task, hooks, sequence) {\n  if (sequence === \"stack\") {\n    hooks = hooks.slice().reverse();\n  }\n  if (sequence === \"parallel\") {\n    try {\n      await Promise.all(hooks.map((fn) => fn(task.result)));\n    } catch (e) {\n      failTask(task.result, e, runner.config.diffOptions);\n    }\n  } else {\n    for (const fn of hooks) {\n      try {\n        await fn(task.result);\n      } catch (e) {\n        failTask(task.result, e, runner.config.diffOptions);\n      }\n    }\n  }\n}\nasync function callSuiteHook(suite, currentTask, name, runner, args) {\n  const sequence = runner.config.sequence.hooks;\n  const callbacks = [];\n  const parentSuite = \"filepath\" in suite ? null : suite.suite || suite.file;\n  if (name === \"beforeEach\" && parentSuite) {\n    callbacks.push(\n      ...await callSuiteHook(parentSuite, currentTask, name, runner, args)\n    );\n  }\n  updateSuiteHookState(currentTask, name, \"run\", runner);\n  const hooks = getSuiteHooks(suite, name, sequence);\n  if (sequence === \"parallel\") {\n    callbacks.push(\n      ...await Promise.all(hooks.map((hook) => hook(...args)))\n    );\n  } else {\n    for (const hook of hooks) {\n      callbacks.push(await hook(...args));\n    }\n  }\n  updateSuiteHookState(currentTask, name, \"pass\", runner);\n  if (name === \"afterEach\" && parentSuite) {\n    callbacks.push(\n      ...await callSuiteHook(parentSuite, currentTask, name, runner, args)\n    );\n  }\n  return callbacks;\n}\nconst packs = /* @__PURE__ */ new Map();\nlet updateTimer;\nlet previousUpdate;\nfunction updateTask(task, runner) {\n  packs.set(task.id, [task.result, task.meta]);\n  const { clearTimeout, setTimeout } = getSafeTimers();\n  clearTimeout(updateTimer);\n  updateTimer = setTimeout(() => {\n    previousUpdate = sendTasksUpdate(runner);\n  }, 10);\n}\nasync function sendTasksUpdate(runner) {\n  var _a;\n  const { clearTimeout } = getSafeTimers();\n  clearTimeout(updateTimer);\n  await previousUpdate;\n  if (packs.size) {\n    const taskPacks = Array.from(packs).map(([id, task]) => {\n      return [id, task[0], task[1]];\n    });\n    const p = (_a = runner.onTaskUpdate) == null ? void 0 : _a.call(runner, taskPacks);\n    packs.clear();\n    return p;\n  }\n}\nasync function callCleanupHooks(cleanups) {\n  await Promise.all(\n    cleanups.map(async (fn) => {\n      if (typeof fn !== \"function\") {\n        return;\n      }\n      await fn();\n    })\n  );\n}\nasync function runTest(test, runner) {\n  var _a, _b, _c, _d, _e, _f, _g;\n  await ((_a = runner.onBeforeRunTask) == null ? void 0 : _a.call(runner, test));\n  if (test.mode !== \"run\") {\n    return;\n  }\n  if (((_b = test.result) == null ? void 0 : _b.state) === \"fail\") {\n    updateTask(test, runner);\n    return;\n  }\n  const start = now();\n  test.result = {\n    state: \"run\",\n    startTime: unixNow(),\n    retryCount: 0\n  };\n  updateTask(test, runner);\n  setCurrentTest(test);\n  const suite = test.suite || test.file;\n  const repeats = test.repeats ?? 0;\n  for (let repeatCount = 0; repeatCount <= repeats; repeatCount++) {\n    const retry = test.retry ?? 0;\n    for (let retryCount = 0; retryCount <= retry; retryCount++) {\n      let beforeEachCleanups = [];\n      try {\n        await ((_c = runner.onBeforeTryTask) == null ? void 0 : _c.call(runner, test, {\n          retry: retryCount,\n          repeats: repeatCount\n        }));\n        test.result.repeatCount = repeatCount;\n        beforeEachCleanups = await callSuiteHook(\n          suite,\n          test,\n          \"beforeEach\",\n          runner,\n          [test.context, suite]\n        );\n        if (runner.runTask) {\n          await runner.runTask(test);\n        } else {\n          const fn = getFn(test);\n          if (!fn) {\n            throw new Error(\n              \"Test function is not found. Did you add it using `setFn`?\"\n            );\n          }\n          await fn();\n        }\n        await ((_d = runner.onAfterTryTask) == null ? void 0 : _d.call(runner, test, {\n          retry: retryCount,\n          repeats: repeatCount\n        }));\n        if (test.result.state !== \"fail\") {\n          if (!test.repeats) {\n            test.result.state = \"pass\";\n          } else if (test.repeats && retry === retryCount) {\n            test.result.state = \"pass\";\n          }\n        }\n      } catch (e) {\n        failTask(test.result, e, runner.config.diffOptions);\n      }\n      if (test.pending || ((_e = test.result) == null ? void 0 : _e.state) === \"skip\") {\n        test.mode = \"skip\";\n        test.result = { state: \"skip\" };\n        updateTask(test, runner);\n        setCurrentTest(void 0);\n        return;\n      }\n      try {\n        await ((_f = runner.onTaskFinished) == null ? void 0 : _f.call(runner, test));\n      } catch (e) {\n        failTask(test.result, e, runner.config.diffOptions);\n      }\n      try {\n        await callSuiteHook(suite, test, \"afterEach\", runner, [\n          test.context,\n          suite\n        ]);\n        await callCleanupHooks(beforeEachCleanups);\n        await callFixtureCleanup(test.context);\n      } catch (e) {\n        failTask(test.result, e, runner.config.diffOptions);\n      }\n      await callTestHooks(runner, test, test.onFinished || [], \"stack\");\n      if (test.result.state === \"fail\") {\n        await callTestHooks(\n          runner,\n          test,\n          test.onFailed || [],\n          runner.config.sequence.hooks\n        );\n      }\n      delete test.onFailed;\n      delete test.onFinished;\n      if (test.result.state === \"pass\") {\n        break;\n      }\n      if (retryCount < retry) {\n        test.result.state = \"run\";\n        test.result.retryCount = (test.result.retryCount ?? 0) + 1;\n      }\n      updateTask(test, runner);\n    }\n  }\n  if (test.fails) {\n    if (test.result.state === \"pass\") {\n      const error = processError(new Error(\"Expect test to fail\"));\n      test.result.state = \"fail\";\n      test.result.errors = [error];\n    } else {\n      test.result.state = \"pass\";\n      test.result.errors = void 0;\n    }\n  }\n  setCurrentTest(void 0);\n  test.result.duration = now() - start;\n  await ((_g = runner.onAfterRunTask) == null ? void 0 : _g.call(runner, test));\n  updateTask(test, runner);\n}\nfunction failTask(result, err, diffOptions) {\n  if (err instanceof PendingError) {\n    result.state = \"skip\";\n    return;\n  }\n  result.state = \"fail\";\n  const errors = Array.isArray(err) ? err : [err];\n  for (const e of errors) {\n    const error = processError(e, diffOptions);\n    result.errors ?? (result.errors = []);\n    result.errors.push(error);\n  }\n}\nfunction markTasksAsSkipped(suite, runner) {\n  suite.tasks.forEach((t) => {\n    t.mode = \"skip\";\n    t.result = { ...t.result, state: \"skip\" };\n    updateTask(t, runner);\n    if (t.type === \"suite\") {\n      markTasksAsSkipped(t, runner);\n    }\n  });\n}\nasync function runSuite(suite, runner) {\n  var _a, _b, _c, _d;\n  await ((_a = runner.onBeforeRunSuite) == null ? void 0 : _a.call(runner, suite));\n  if (((_b = suite.result) == null ? void 0 : _b.state) === \"fail\") {\n    markTasksAsSkipped(suite, runner);\n    updateTask(suite, runner);\n    return;\n  }\n  const start = now();\n  suite.result = {\n    state: \"run\",\n    startTime: unixNow()\n  };\n  updateTask(suite, runner);\n  let beforeAllCleanups = [];\n  if (suite.mode === \"skip\") {\n    suite.result.state = \"skip\";\n  } else if (suite.mode === \"todo\") {\n    suite.result.state = \"todo\";\n  } else {\n    try {\n      try {\n        beforeAllCleanups = await callSuiteHook(\n          suite,\n          suite,\n          \"beforeAll\",\n          runner,\n          [suite]\n        );\n      } catch (e) {\n        markTasksAsSkipped(suite, runner);\n        throw e;\n      }\n      if (runner.runSuite) {\n        await runner.runSuite(suite);\n      } else {\n        for (let tasksGroup of partitionSuiteChildren(suite)) {\n          if (tasksGroup[0].concurrent === true) {\n            await Promise.all(tasksGroup.map((c) => runSuiteChild(c, runner)));\n          } else {\n            const { sequence } = runner.config;\n            if (sequence.shuffle || suite.shuffle) {\n              const suites = tasksGroup.filter(\n                (group) => group.type === \"suite\"\n              );\n              const tests = tasksGroup.filter((group) => group.type === \"test\");\n              const groups = shuffle([suites, tests], sequence.seed);\n              tasksGroup = groups.flatMap(\n                (group) => shuffle(group, sequence.seed)\n              );\n            }\n            for (const c of tasksGroup) {\n              await runSuiteChild(c, runner);\n            }\n          }\n        }\n      }\n    } catch (e) {\n      failTask(suite.result, e, runner.config.diffOptions);\n    }\n    try {\n      await callSuiteHook(suite, suite, \"afterAll\", runner, [suite]);\n      await callCleanupHooks(beforeAllCleanups);\n    } catch (e) {\n      failTask(suite.result, e, runner.config.diffOptions);\n    }\n    if (suite.mode === \"run\") {\n      if (!runner.config.passWithNoTests && !hasTests(suite)) {\n        suite.result.state = \"fail\";\n        if (!((_c = suite.result.errors) == null ? void 0 : _c.length)) {\n          const error = processError(\n            new Error(`No test found in suite ${suite.name}`)\n          );\n          suite.result.errors = [error];\n        }\n      } else if (hasFailed(suite)) {\n        suite.result.state = \"fail\";\n      } else {\n        suite.result.state = \"pass\";\n      }\n    }\n    updateTask(suite, runner);\n    suite.result.duration = now() - start;\n    await ((_d = runner.onAfterRunSuite) == null ? void 0 : _d.call(runner, suite));\n  }\n}\nlet limitMaxConcurrency;\nasync function runSuiteChild(c, runner) {\n  if (c.type === \"test\" || c.type === \"custom\") {\n    return limitMaxConcurrency(() => runTest(c, runner));\n  } else if (c.type === \"suite\") {\n    return runSuite(c, runner);\n  }\n}\nasync function runFiles(files, runner) {\n  var _a, _b;\n  limitMaxConcurrency ?? (limitMaxConcurrency = limitConcurrency(runner.config.maxConcurrency));\n  for (const file of files) {\n    if (!file.tasks.length && !runner.config.passWithNoTests) {\n      if (!((_b = (_a = file.result) == null ? void 0 : _a.errors) == null ? void 0 : _b.length)) {\n        const error = processError(\n          new Error(`No test suite found in file ${file.filepath}`)\n        );\n        file.result = {\n          state: \"fail\",\n          errors: [error]\n        };\n      }\n    }\n    await runSuite(file, runner);\n  }\n}\nasync function startTests(paths, runner) {\n  var _a, _b, _c, _d;\n  await ((_a = runner.onBeforeCollect) == null ? void 0 : _a.call(runner, paths));\n  const files = await collectTests(paths, runner);\n  await ((_b = runner.onCollected) == null ? void 0 : _b.call(runner, files));\n  await ((_c = runner.onBeforeRunFiles) == null ? void 0 : _c.call(runner, files));\n  await runFiles(files, runner);\n  await ((_d = runner.onAfterRunFiles) == null ? void 0 : _d.call(runner, files));\n  await sendTasksUpdate(runner);\n  return files;\n}\nasync function publicCollect(paths, runner) {\n  var _a, _b;\n  await ((_a = runner.onBeforeCollect) == null ? void 0 : _a.call(runner, paths));\n  const files = await collectTests(paths, runner);\n  await ((_b = runner.onCollected) == null ? void 0 : _b.call(runner, files));\n  return files;\n}\n\nexport { afterAll, afterEach, beforeAll, beforeEach, publicCollect as collectTests, createTaskCollector, describe, getCurrentSuite, getCurrentTest, getFn, getHooks, it, onTestFailed, onTestFinished, setFn, setHooks, startTests, suite, test, updateTask };\n","export { c as createExpect, a as expect, v as vi, b as vitest } from './chunks/vi.DgezovHB.js';\nexport { b as assertType, g as getRunningMode, i as inject, a as isWatchMode } from './chunks/index.ckWaX2gY.js';\nexport { i as isFirstRun, a as runOnce } from './chunks/run-once.2ogXb3JV.js';\nexport { b as bench } from './chunks/benchmark.Cdu9hjj4.js';\nexport { expectTypeOf } from 'expect-type';\nexport { afterAll, afterEach, beforeAll, beforeEach, describe, it, onTestFailed, onTestFinished, suite, test } from '@vitest/runner';\nimport * as chai from 'chai';\nexport { chai };\nexport { assert, should } from 'chai';\nimport '@vitest/expect';\nimport '@vitest/runner/utils';\nimport './chunks/utils.C8RiOc4B.js';\nimport '@vitest/utils';\nimport './chunks/_commonjsHelpers.BFTU3MAI.js';\nimport '@vitest/snapshot';\nimport '@vitest/utils/error';\nimport '@vitest/utils/source-map';\nimport './chunks/date.W2xKR2qe.js';\nimport '@vitest/spy';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA,yFAAAA,UAAA;AAAA;AACA,WAAO,eAAeA,UAAS,cAAc,EAAE,OAAO,KAAK,CAAC;AAAA;AAAA;;;ACD5D;AAAA,yFAAAC,UAAA;AAAA;AACA,WAAO,eAAeA,UAAS,cAAc,EAAE,OAAO,KAAK,CAAC;AAI5D,QAAM,WAAW,OAAO,UAAU;AAIlC,QAAM,aAAa,OAAO,YA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AQ;AAErC,UAAM,KAAK,MAAM,MAAM,IAAI,YAAY;AACvC,UAAM,KAAK,MAAM,WAAW,IAAI,MAAM;AACtC,UAAM,KAAK,MAAM,MAAM,IAAI,YAAY;AACvC,UAAM,KAAK,MAAM,MAAM,IAAI,kBAAkB;AAE7C,WAAO,UAAU,IAAI,QAAQ;AAC7B,WAAO,UAAU,IAAI,QAAQ;AAC7B,WAAO,UAAU,IAAI,QAAQ;AAC7B,WAAO,UAAU,IAAI,QAAQ;AAAA,EAC/B,CAAC;AACH;","names":["exports","exports","exports","exports","exports","m","p","expectTypeOf","r","p","r","config","type","f","h","m","p","a","r","truncate","inspect","set","inspectObject","truncate","inspectObject","type","format","inspect","m","type","p","resolve","__defProp","__getOwnPropNames","__commonJS","__export","inspect2","isNaN2","objDisplay","test","ansiColors","styles","truncator","colorise","normaliseOptions","truncate2","inspect3","isHighSurrogate","truncate","inspectList","quoteComplexKey","inspectProperty","inspectArray","getArrayName","inspectTypedArray","inspectDate","inspectFunction","inspectMapEntry","mapToEntries","inspectMap","isNaN","inspectNumber","inspectBigInt","inspectRegExp","arrayFromSet","inspectSet","stringEscapeChars","escapeCharacters","hex","unicodeLength","escape","inspectString","inspectSymbol","getPromiseValue","promise_default","inspectObject","toStringTag","inspectClass","inspectArguments","errorKeys","inspectObject2","inspectAttribute","inspectHTMLCollection","inspectHTML","symbolsSupported","chaiInspect","nodeInspect","constructorMap","stringTagMap","baseTypesMap","inspectCustom","toString","inspect","isPrimitive","a","isObject","test2","exports","UrlType","r","p","suite","setTimeout","resolve","test","runner","test","assert","assert","assert","shuffle","test2","test3","r","_test","format","test","test"]}