"use strict";
var cB = Object.create;
var to = Object.defineProperty;
var dB = Object.getOwnPropertyDescriptor;
var fB = Object.getOwnPropertyNames;
var pB = Object.getPrototypeOf, mB = Object.prototype.hasOwnProperty;
var o = (e, t) => to(e, "name", { value: t, configurable: !0 });
var Re = (e, t) => () => (e && (t = e(e = 0)), t);
var f = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), ro = (e, t) => {
for (var r in t)
to(e, r, { get: t[r], enumerable: !0 });
}, RE = (e, t, r, n) => {
if (t && typeof t == "object" || typeof t == "function")
for (let i of fB(t))
!mB.call(e, i) && i !== r && to(e, i, { get: () => t[i], enumerable: !(n = dB(t, i)) || n.enumerable });
return e;
};
var Li = (e, t, r) => (r = e != null ? cB(pB(e)) : {}, RE(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
t || !e || !e.__esModule ? to(r, "default", { value: e, enumerable: !0 }) : r,
e
)), Wt = (e) => RE(to({}, "__esModule", { value: !0 }), e);
// ../node_modules/min-indent/index.js
var Rw = f((Hhe, xw) => {
"use strict";
xw.exports = (e) => {
let t = e.match(/^[ \t]*(?=\S)/gm);
return t ? t.reduce((r, n) => Math.min(r, n.length), 1 / 0) : 0;
};
});
// ../node_modules/strip-indent/index.js
var Ow = f((Uhe, Tw) => {
"use strict";
var BB = Rw();
Tw.exports = (e) => {
let t = BB(e);
if (t === 0)
return e;
let r = new RegExp(`^[ \\t]{${t}}`, "gm");
return e.replace(r, "");
};
});
// ../node_modules/indent-string/index.js
var Mw = f((Vhe, Sw) => {
"use strict";
Sw.exports = (e, t = 1, r) => {
if (r = {
indent: " ",
includeEmptyLines: !1,
...r
}, typeof e != "string")
throw new TypeError(
`Expected \`input\` to be a \`string\`, got \`${typeof e}\``
);
if (typeof t != "number")
throw new TypeError(
`Expected \`count\` to be a \`number\`, got \`${typeof t}\``
);
if (typeof r.indent != "string")
throw new TypeError(
`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``
);
if (t === 0)
return e;
let n = r.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
return e.replace(n, r.indent.repeat(t));
};
});
// ../node_modules/redent/index.js
var rh = f((zhe, Aw) => {
"use strict";
var kB = Ow(), FB = Mw();
Aw.exports = (e, t = 0, r) => FB(kB(e), t, r);
});
// ../node_modules/@adobe/css-tools/dist/index.mjs
var sh = {};
ro(sh, {
CssTypes: () => Q,
default: () => GB,
parse: () => $w,
stringify: () => Lw
});
function Iw(e) {
Object.defineProperty(e, "__esModule", { value: !0, configurable: !0 });
}
function ah(e, t, r, n) {
Object.defineProperty(e, t, { get: r, set: n, enumerable: !0, configurable: !0 });
}
function mt(e) {
return e ? e.trim() : "";
}
function oh(e, t) {
let r = e && typeof e.type == "string", n = r ? e : t;
for (let i in e) {
let a = e[i];
Array.isArray(a) ? a.forEach((s) => {
oh(s, n);
}) : a && typeof a == "object" && oh(a, n);
}
return r && Object.defineProperty(e, "parent", {
configurable: !0,
writable: !0,
enumerable: !1,
value: t || null
}), e;
}
var Nw, ta, jw, ra, HB, Q, nh, UB, VB, ih, zB, WB, $w, Lw, GB, lh = Re(() => {
o(Iw, "$parcel$defineInteropFlag");
o(ah, "$parcel$export");
Nw = {};
Iw(Nw);
ah(Nw, "default", () => ta);
ta = class extends Error {
static {
o(this, "$009ddb00d3ec72b8$export$2e2bcd8739ae039");
}
constructor(t, r, n, i, a) {
super(t + ":" + n + ":" + i + ": " + r), this.reason = r, this.filename = t, this.line = n, this.column = i, this.source = a;
}
}, jw = {};
Iw(jw);
ah(jw, "default", () => ra);
ra = class {
static {
o(this, "$0865a9fb4cc365fe$export$2e2bcd8739ae039");
}
constructor(t, r, n) {
this.start = t, this.end = r, this.source = n;
}
}, HB = {};
ah(HB, "CssTypes", () => Q);
Q = /* @__PURE__ */ function(e) {
return e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.
charset = "charset", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.host = "host", e.import = "imp\
ort", e.keyframes = "keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.
startingStyle = "starting-style", e.supports = "supports", e;
}({}), nh = /\/\*[^]*?(?:\*\/|$)/g, UB = /* @__PURE__ */ o((e, t) => {
t = t || {};
let r = 1, n = 1;
function i(N) {
let I = N.match(/\n/g);
I && (r += I.length);
let F = N.lastIndexOf(`
`);
n = ~F ? N.length - F : n + N.length;
}
o(i, "updatePosition");
function a() {
let N = {
line: r,
column: n
};
return function(I) {
return I.position = new ra(N, {
line: r,
column: n
}, t?.source || ""), m(), I;
};
}
o(a, "position");
let s = [];
function l(N) {
let I = new ta(t?.source || "", N, r, n, e);
if (t?.silent) s.push(I);
else throw I;
}
o(l, "error");
function c() {
let N = p();
return {
type: Q.stylesheet,
stylesheet: {
source: t?.source,
rules: N,
parsingErrors: s
}
};
}
o(c, "stylesheet");
function u() {
return b(/^{\s*/);
}
o(u, "open");
function d() {
return b(/^}/);
}
o(d, "close");
function p() {
let N, I = [];
for (m(), y(I); e.length && e.charAt(0) !== "}" && (N = Ae() || Xe()); ) N && (I.push(N), y(I));
return I;
}
o(p, "rules");
function b(N) {
let I = N.exec(e);
if (!I) return;
let F = I[0];
return i(F), e = e.slice(F.length), I;
}
o(b, "match");
function m() {
b(/^\s*/);
}
o(m, "whitespace");
function y(N) {
let I;
for (N = N || []; I = h(); ) I && N.push(I);
return N;
}
o(y, "comments");
function h() {
let N = a();
if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return;
let I = b(/^\/\*[^]*?\*\//);
return I ? N({
type: Q.comment,
comment: I[0].slice(2, -2)
}) : l("End of comment missing");
}
o(h, "comment");
function w(N, I, F) {
let H = I + 1, Y = !1, xe = N.indexOf(")", H);
for (; !Y && xe !== -1; ) {
let $e = N.indexOf("(", H);
$e !== -1 && $e < xe ? (H = w(N, $e + 1, F + 1) + 1, xe = N.indexOf(")", H)) : Y = !0;
}
return Y && xe !== -1 ? xe : -1;
}
o(w, "findClosingParenthese");
function g() {
let N = b(/^([^{]+)/);
if (!N) return;
let I = mt(N[0]).replace(nh, "");
if (I.indexOf(",") === -1) return [
I
];
let F = 0, H = I.indexOf("(", F);
for (; H !== -1; ) {
let Y = w(I, H, 0);
if (Y === -1) break;
F = Y + 1, I = I.substring(0, H) + I.substring(H, Y).replace(/,/g, "\u200C") + I.substring(Y), H = I.indexOf("(", F);
}
return I = I.replace(/("|')(?:\\\1|.)*?\1/g, (Y) => Y.replace(/,/g, "\u200C")), I.split(",").map((Y) => mt(Y.replace(/\u200C/g, ",")));
}
o(g, "selector");
function q() {
let N = a(), I = b(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
if (!I) return;
let F = mt(I[0]);
if (!b(/^:\s*/)) return l("property missing ':'");
let H = b(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/), Y = N({
type: Q.declaration,
property: F.replace(nh, ""),
value: H ? mt(H[0]).replace(nh, "") : ""
});
return b(/^[;\s]*/), Y;
}
o(q, "declaration");
function P() {
let N = [];
if (!u()) return l("missing '{'");
y(N);
let I;
for (; I = q(); ) I && (N.push(I), y(N));
return d() ? N : l("missing '}'");
}
o(P, "declarations");
function _() {
let N, I = [], F = a();
for (; N = b(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); )
I.push(N[1]), b(/^,\s*/);
if (I.length)
return F({
type: Q.keyframe,
values: I,
declarations: P() || []
});
}
o(_, "keyframe");
function C() {
let N = a(), I = b(/^@([-\w]+)?keyframes\s*/);
if (!I) return;
let F = I[1], H = b(/^([-\w]+)\s*/);
if (!H) return l("@keyframes missing name");
let Y = H[1];
if (!u()) return l("@keyframes missing '{'");
let xe, $e = y();
for (; xe = _(); )
$e.push(xe), $e = $e.concat(y());
return d() ? N({
type: Q.keyframes,
name: Y,
vendor: F,
keyframes: $e
}) : l("@keyframes missing '}'");
}
o(C, "atkeyframes");
function O() {
let N = a(), I = b(/^@supports *([^{]+)/);
if (!I) return;
let F = mt(I[1]);
if (!u()) return l("@supports missing '{'");
let H = y().concat(p());
return d() ? N({
type: Q.supports,
supports: F,
rules: H
}) : l("@supports missing '}'");
}
o(O, "atsupports");
function T() {
let N = a();
if (!b(/^@host\s*/)) return;
if (!u()) return l("@host missing '{'");
let F = y().concat(p());
return d() ? N({
type: Q.host,
rules: F
}) : l("@host missing '}'");
}
o(T, "athost");
function M() {
let N = a(), I = b(/^@container *([^{]+)/);
if (!I) return;
let F = mt(I[1]);
if (!u()) return l("@container missing '{'");
let H = y().concat(p());
return d() ? N({
type: Q.container,
container: F,
rules: H
}) : l("@container missing '}'");
}
o(M, "atcontainer");
function L() {
let N = a(), I = b(/^@layer *([^{;@]+)/);
if (!I) return;
let F = mt(I[1]);
if (!u())
return b(/^[;\s]*/), N({
type: Q.layer,
layer: F
});
let H = y().concat(p());
return d() ? N({
type: Q.layer,
layer: F,
rules: H
}) : l("@layer missing '}'");
}
o(L, "atlayer");
function Z() {
let N = a(), I = b(/^@media *([^{]+)/);
if (!I) return;
let F = mt(I[1]);
if (!u()) return l("@media missing '{'");
let H = y().concat(p());
return d() ? N({
type: Q.media,
media: F,
rules: H
}) : l("@media missing '}'");
}
o(Z, "atmedia");
function S() {
let N = a(), I = b(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
if (I)
return N({
type: Q.customMedia,
name: mt(I[1]),
media: mt(I[2])
});
}
o(S, "atcustommedia");
function V() {
let N = a();
if (!b(/^@page */)) return;
let F = g() || [];
if (!u()) return l("@page missing '{'");
let H = y(), Y;
for (; Y = q(); )
H.push(Y), H = H.concat(y());
return d() ? N({
type: Q.page,
selectors: F,
declarations: H
}) : l("@page missing '}'");
}
o(V, "atpage");
function ue() {
let N = a(), I = b(/^@([-\w]+)?document *([^{]+)/);
if (!I) return;
let F = mt(I[1]), H = mt(I[2]);
if (!u()) return l("@document missing '{'");
let Y = y().concat(p());
return d() ? N({
type: Q.document,
document: H,
vendor: F,
rules: Y
}) : l("@document missing '}'");
}
o(ue, "atdocument");
function W() {
let N = a();
if (!b(/^@font-face\s*/)) return;
if (!u()) return l("@font-face missing '{'");
let F = y(), H;
for (; H = q(); )
F.push(H), F = F.concat(y());
return d() ? N({
type: Q.fontFace,
declarations: F
}) : l("@font-face missing '}'");
}
o(W, "atfontface");
function k() {
let N = a();
if (!b(/^@starting-style\s*/)) return;
if (!u()) return l("@starting-style missing '{'");
let F = y().concat(p());
return d() ? N({
type: Q.startingStyle,
rules: F
}) : l("@starting-style missing '}'");
}
o(k, "atstartingstyle");
let B = ve("import"), ee = ve("charset"), U = ve("namespace");
function ve(N) {
let I = new RegExp("^@" + N + `\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);
return function() {
let F = a(), H = b(I);
if (!H) return;
let Y = {
type: N
};
return Y[N] = H[1].trim(), F(Y);
};
}
o(ve, "_compileAtrule");
function Ae() {
if (e[0] === "@")
return C() || Z() || S() || O() || B() || ee() || U() || ue() || V() || T() || W() || M() || k() || L();
}
o(Ae, "atrule");
function Xe() {
let N = a(), I = g();
return I ? (y(), N({
type: Q.rule,
selectors: I,
declarations: P() || []
})) : l("selector missing");
}
return o(Xe, "rule"), oh(c());
}, "$d708735ed1303b43$export$98e6a39c04603d36");
o(mt, "$d708735ed1303b43$var$trim");
o(oh, "$d708735ed1303b43$var$addParent");
VB = UB, ih = class {
static {
o(this, "$de9540138ed1fd01$var$Compiler");
}
constructor(t) {
this.level = 0, this.indentation = " ", this.compress = !1, typeof t?.indent == "string" && (this.indentation = t?.indent), t?.compress &&
(this.compress = !0);
}
// We disable no-unused-vars for _position. We keep position for potential reintroduction of source-map
// eslint-disable-next-line @typescript-eslint/no-unused-vars
emit(t, r) {
return t;
}
/**
* Increase, decrease or return current indentation.
*/
indent(t) {
return this.level = this.level || 1, t ? (this.level += t, "") : Array(this.level).join(this.indentation);
}
visit(t) {
switch (t.type) {
case Q.stylesheet:
return this.stylesheet(t);
case Q.rule:
return this.rule(t);
case Q.declaration:
return this.declaration(t);
case Q.comment:
return this.comment(t);
case Q.container:
return this.container(t);
case Q.charset:
return this.charset(t);
case Q.document:
return this.document(t);
case Q.customMedia:
return this.customMedia(t);
case Q.fontFace:
return this.fontFace(t);
case Q.host:
return this.host(t);
case Q.import:
return this.import(t);
case Q.keyframes:
return this.keyframes(t);
case Q.keyframe:
return this.keyframe(t);
case Q.layer:
return this.layer(t);
case Q.media:
return this.media(t);
case Q.namespace:
return this.namespace(t);
case Q.page:
return this.page(t);
case Q.startingStyle:
return this.startingStyle(t);
case Q.supports:
return this.supports(t);
}
}
mapVisit(t, r) {
let n = "";
r = r || "";
for (let i = 0, a = t.length; i < a; i++)
n += this.visit(t[i]), r && i < a - 1 && (n += this.emit(r));
return n;
}
compile(t) {
return this.compress ? t.stylesheet.rules.map(this.visit, this).join("") : this.stylesheet(t);
}
/**
* Visit stylesheet node.
*/
stylesheet(t) {
return this.mapVisit(t.stylesheet.rules, `
`);
}
/**
* Visit comment node.
*/
comment(t) {
return this.compress ? this.emit("", t.position) : this.emit(this.indent() + "/*" + t.comment + "*/", t.position);
}
/**
* Visit container node.
*/
container(t) {
return this.compress ? this.emit("@container " + t.container, t.position) + this.emit("{") + this.mapVisit(t.rules) + this.emit("}") :
this.emit(this.indent() + "@container " + t.container, t.position) + this.emit(` {
` + this.indent(1)) + this.mapVisit(t.rules, `
`) + this.emit(`
` + this.indent(-1) + this.indent() + "}");
}
/**
* Visit container node.
*/
layer(t) {
return this.compress ? this.emit("@layer " + t.layer, t.position) + (t.rules ? this.emit("{") + this.mapVisit(t.rules) + this.emit("}") :
";") : this.emit(this.indent() + "@layer " + t.layer, t.position) + (t.rules ? this.emit(` {
` + this.indent(1)) + this.mapVisit(t.rules, `
`) + this.emit(`
` + this.indent(-1) + this.indent() + "}") : ";");
}
/**
* Visit import node.
*/
import(t) {
return this.emit("@import " + t.import + ";", t.position);
}
/**
* Visit media node.
*/
media(t) {
return this.compress ? this.emit("@media " + t.media, t.position) + this.emit("{") + this.mapVisit(t.rules) + this.emit("}") : this.emit(
this.indent() + "@media " + t.media, t.position) + this.emit(` {
` + this.indent(1)) + this.mapVisit(t.rules, `
`) + this.emit(`
` + this.indent(-1) + this.indent() + "}");
}
/**
* Visit document node.
*/
document(t) {
let r = "@" + (t.vendor || "") + "document " + t.document;
return this.compress ? this.emit(r, t.position) + this.emit("{") + this.mapVisit(t.rules) + this.emit("}") : this.emit(r, t.position) +
this.emit(` {
` + this.indent(1)) + this.mapVisit(t.rules, `
`) + this.emit(this.indent(-1) + `
}`);
}
/**
* Visit charset node.
*/
charset(t) {
return this.emit("@charset " + t.charset + ";", t.position);
}
/**
* Visit namespace node.
*/
namespace(t) {
return this.emit("@namespace " + t.namespace + ";", t.position);
}
/**
* Visit container node.
*/
startingStyle(t) {
return this.compress ? this.emit("@starting-style", t.position) + this.emit("{") + this.mapVisit(t.rules) + this.emit("}") : this.emit(
this.indent() + "@starting-style", t.position) + this.emit(` {
` + this.indent(1)) + this.mapVisit(t.rules, `
`) + this.emit(`
` + this.indent(-1) + this.indent() + "}");
}
/**
* Visit supports node.
*/
supports(t) {
return this.compress ? this.emit("@supports " + t.supports, t.position) + this.emit("{") + this.mapVisit(t.rules) + this.emit("}") : this.
emit(this.indent() + "@supports " + t.supports, t.position) + this.emit(` {
` + this.indent(1)) + this.mapVisit(t.rules, `
`) + this.emit(`
` + this.indent(-1) + this.indent() + "}");
}
/**
* Visit keyframes node.
*/
keyframes(t) {
return this.compress ? this.emit("@" + (t.vendor || "") + "keyframes " + t.name, t.position) + this.emit("{") + this.mapVisit(t.keyframes) +
this.emit("}") : this.emit("@" + (t.vendor || "") + "keyframes " + t.name, t.position) + this.emit(` {
` + this.indent(1)) + this.mapVisit(t.keyframes, `
`) + this.emit(this.indent(-1) + "}");
}
/**
* Visit keyframe node.
*/
keyframe(t) {
let r = t.declarations;
return this.compress ? this.emit(t.values.join(","), t.position) + this.emit("{") + this.mapVisit(r) + this.emit("}") : this.emit(this.
indent()) + this.emit(t.values.join(", "), t.position) + this.emit(` {
` + this.indent(1)) + this.mapVisit(r, `
`) + this.emit(this.indent(-1) + `
` + this.indent() + `}
`);
}
/**
* Visit page node.
*/
page(t) {
if (this.compress) {
let n = t.selectors.length ? t.selectors.join(", ") : "";
return this.emit("@page " + n, t.position) + this.emit("{") + this.mapVisit(t.declarations) + this.emit("}");
}
let r = t.selectors.length ? t.selectors.join(", ") + " " : "";
return this.emit("@page " + r, t.position) + this.emit(`{
`) + this.emit(this.indent(1)) + this.mapVisit(t.declarations, `
`) + this.emit(this.indent(-1)) + this.emit(`
}`);
}
/**
* Visit font-face node.
*/
fontFace(t) {
return this.compress ? this.emit("@font-face", t.position) + this.emit("{") + this.mapVisit(t.declarations) + this.emit("}") : this.emit(
"@font-face ", t.position) + this.emit(`{
`) + this.emit(this.indent(1)) + this.mapVisit(t.declarations, `
`) + this.emit(this.indent(-1)) + this.emit(`
}`);
}
/**
* Visit host node.
*/
host(t) {
return this.compress ? this.emit("@host", t.position) + this.emit("{") + this.mapVisit(t.rules) + this.emit("}") : this.emit("@host", t.
position) + this.emit(` {
` + this.indent(1)) + this.mapVisit(t.rules, `
`) + this.emit(this.indent(-1) + `
}`);
}
/**
* Visit custom-media node.
*/
customMedia(t) {
return this.emit("@custom-media " + t.name + " " + t.media + ";", t.position);
}
/**
* Visit rule node.
*/
rule(t) {
let r = t.declarations;
if (!r.length) return "";
if (this.compress) return this.emit(t.selectors.join(","), t.position) + this.emit("{") + this.mapVisit(r) + this.emit("}");
let n = this.indent();
return this.emit(t.selectors.map((i) => n + i).join(`,
`), t.position) + this.emit(` {
`) + this.emit(this.indent(1)) + this.mapVisit(r, `
`) + this.emit(this.indent(-1)) + this.emit(`
` + this.indent() + "}");
}
/**
* Visit declaration node.
*/
declaration(t) {
return this.compress ? this.emit(t.property + ":" + t.value, t.position) + this.emit(";") : this.emit(this.indent()) + this.emit(t.property +
": " + t.value, t.position) + this.emit(";");
}
}, zB = ih, WB = /* @__PURE__ */ o((e, t) => new zB(t || {}).compile(e), "$fdf773ab87e20450$export$2e2bcd8739ae039"), $w = VB, Lw = WB, GB =
{
parse: $w,
stringify: Lw
};
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs
function Dw(e) {
return typeof e == "function" || KB.call(e) === "[object Function]";
}
function YB(e) {
var t = Number(e);
return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
}
function JB(e) {
var t = YB(e);
return Math.min(Math.max(t, 0), XB);
}
function ut(e, t) {
var r = Array, n = Object(e);
if (e == null)
throw new TypeError("Array.from requires an array-like object - not null or undefined");
if (typeof t < "u" && !Dw(t))
throw new TypeError("Array.from: when provided, the second argument must be a function");
for (var i = JB(n.length), a = Dw(r) ? Object(new r(i)) : new Array(i), s = 0, l; s < i; )
l = n[s], t ? a[s] = t(l, s) : a[s] = l, s += 1;
return a.length = i, a;
}
var KB, XB, Bw = Re(() => {
KB = Object.prototype.toString;
o(Dw, "isCallable");
o(YB, "toInteger");
XB = Math.pow(2, 53) - 1;
o(JB, "toLength");
o(ut, "arrayFrom");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
function co(e) {
"@babel/helpers - typeof";
return co = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
return typeof t;
} : function(t) {
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, co(e);
}
function QB(e, t) {
if (!(e instanceof t))
throw new TypeError("Cannot call a class as a function");
}
function kw(e, t) {
for (var r = 0; r < t.length; r++) {
var n = t[r];
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Fw(n.key), n);
}
}
function ZB(e, t, r) {
return t && kw(e.prototype, t), r && kw(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
function ek(e, t, r) {
return t = Fw(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function Fw(e) {
var t = tk(e, "string");
return co(t) === "symbol" ? t : String(t);
}
function tk(e, t) {
if (co(e) !== "object" || e === null) return e;
var r = e[Symbol.toPrimitive];
if (r !== void 0) {
var n = r.call(e, t || "default");
if (co(n) !== "object") return n;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (t === "string" ? String : Number)(e);
}
var rk, Hw, Uw = Re(() => {
o(co, "_typeof");
o(QB, "_classCallCheck");
o(kw, "_defineProperties");
o(ZB, "_createClass");
o(ek, "_defineProperty");
o(Fw, "_toPropertyKey");
o(tk, "_toPrimitive");
rk = /* @__PURE__ */ function() {
function e() {
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
QB(this, e), ek(this, "items", void 0), this.items = t;
}
return o(e, "SetLike"), ZB(e, [{
key: "add",
value: /* @__PURE__ */ o(function(r) {
return this.has(r) === !1 && this.items.push(r), this;
}, "add")
}, {
key: "clear",
value: /* @__PURE__ */ o(function() {
this.items = [];
}, "clear")
}, {
key: "delete",
value: /* @__PURE__ */ o(function(r) {
var n = this.items.length;
return this.items = this.items.filter(function(i) {
return i !== r;
}), n !== this.items.length;
}, "_delete")
}, {
key: "forEach",
value: /* @__PURE__ */ o(function(r) {
var n = this;
this.items.forEach(function(i) {
r(i, i, n);
});
}, "forEach")
}, {
key: "has",
value: /* @__PURE__ */ o(function(r) {
return this.items.indexOf(r) !== -1;
}, "has")
}, {
key: "size",
get: /* @__PURE__ */ o(function() {
return this.items.length;
}, "get")
}]), e;
}(), Hw = typeof Set > "u" ? Set : rk;
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/getRole.mjs
function Te(e) {
var t;
return (
// eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
(t = e.localName) !== null && t !== void 0 ? t : (
// eslint-disable-next-line no-restricted-properties -- required for the fallback
e.tagName.toLowerCase()
)
);
}
function ik(e, t) {
return [
"aria-atomic",
"aria-busy",
"aria-controls",
"aria-current",
"aria-description",
"aria-describedby",
"aria-details",
// "disabled",
"aria-dropeffect",
// "errormessage",
"aria-flowto",
"aria-grabbed",
// "haspopup",
"aria-hidden",
// "invalid",
"aria-keyshortcuts",
"aria-label",
"aria-labelledby",
"aria-live",
"aria-owns",
"aria-relevant",
"aria-roledescription"
].some(function(r) {
var n;
return e.hasAttribute(r) && !((n = ok[t]) !== null && n !== void 0 && n.has(r));
});
}
function Vw(e, t) {
return ik(e, t);
}
function po(e) {
var t = sk(e);
if (t === null || fo.indexOf(t) !== -1) {
var r = ak(e);
if (fo.indexOf(t || "") === -1 || Vw(e, r || ""))
return r;
}
return t;
}
function ak(e) {
var t = nk[Te(e)];
if (t !== void 0)
return t;
switch (Te(e)) {
case "a":
case "area":
case "link":
if (e.hasAttribute("href"))
return "link";
break;
case "img":
return e.getAttribute("alt") === "" && !Vw(e, "img") ? "presentation" : "img";
case "input": {
var r = e, n = r.type;
switch (n) {
case "button":
case "image":
case "reset":
case "submit":
return "button";
case "checkbox":
case "radio":
return n;
case "range":
return "slider";
case "email":
case "tel":
case "text":
case "url":
return e.hasAttribute("list") ? "combobox" : "textbox";
case "search":
return e.hasAttribute("list") ? "combobox" : "searchbox";
case "number":
return "spinbutton";
default:
return null;
}
}
case "select":
return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox";
}
return null;
}
function sk(e) {
var t = e.getAttribute("role");
if (t !== null) {
var r = t.trim().split(" ")[0];
if (r.length > 0)
return r;
}
return null;
}
var nk, ok, mo = Re(() => {
ho();
o(Te, "getLocalName");
nk = {
article: "article",
aside: "complementary",
button: "button",
datalist: "listbox",
dd: "definition",
details: "group",
dialog: "dialog",
dt: "term",
fieldset: "group",
figure: "figure",
// WARNING: Only with an accessible name
form: "form",
footer: "contentinfo",
h1: "heading",
h2: "heading",
h3: "heading",
h4: "heading",
h5: "heading",
h6: "heading",
header: "banner",
hr: "separator",
html: "document",
legend: "legend",
li: "listitem",
math: "math",
main: "main",
menu: "list",
nav: "navigation",
ol: "list",
optgroup: "group",
// WARNING: Only in certain context
option: "option",
output: "status",
progress: "progressbar",
// WARNING: Only with an accessible name
section: "region",
summary: "button",
table: "table",
tbody: "rowgroup",
textarea: "textbox",
tfoot: "rowgroup",
// WARNING: Only in certain context
td: "cell",
th: "columnheader",
thead: "rowgroup",
tr: "row",
ul: "list"
}, ok = {
caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]),
insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
none: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
};
o(ik, "hasGlobalAriaAttributes");
o(Vw, "ignorePresentationalRole");
o(po, "getRole");
o(ak, "getImplicitRole");
o(sk, "getExplicitRole");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/util.mjs
function Ee(e) {
return e !== null && e.nodeType === e.ELEMENT_NODE;
}
function uh(e) {
return Ee(e) && Te(e) === "caption";
}
function bo(e) {
return Ee(e) && Te(e) === "input";
}
function zw(e) {
return Ee(e) && Te(e) === "optgroup";
}
function Ww(e) {
return Ee(e) && Te(e) === "select";
}
function Gw(e) {
return Ee(e) && Te(e) === "table";
}
function Kw(e) {
return Ee(e) && Te(e) === "textarea";
}
function Yw(e) {
var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView;
if (r === null)
throw new TypeError("no window available");
return r;
}
function Xw(e) {
return Ee(e) && Te(e) === "fieldset";
}
function Jw(e) {
return Ee(e) && Te(e) === "legend";
}
function Qw(e) {
return Ee(e) && Te(e) === "slot";
}
function lk(e) {
return Ee(e) && e.ownerSVGElement !== void 0;
}
function Zw(e) {
return Ee(e) && Te(e) === "svg";
}
function e_(e) {
return lk(e) && Te(e) === "title";
}
function fn(e, t) {
if (Ee(e) && e.hasAttribute(t)) {
var r = e.getAttribute(t).split(" "), n = e.getRootNode ? e.getRootNode() : e.ownerDocument;
return r.map(function(i) {
return n.getElementById(i);
}).filter(
function(i) {
return i !== null;
}
// TODO: why does this not narrow?
);
}
return [];
}
function xt(e, t) {
return Ee(e) ? t.indexOf(po(e)) !== -1 : !1;
}
var fo, ho = Re(() => {
mo();
mo();
fo = ["presentation", "none"];
o(Ee, "isElement");
o(uh, "isHTMLTableCaptionElement");
o(bo, "isHTMLInputElement");
o(zw, "isHTMLOptGroupElement");
o(Ww, "isHTMLSelectElement");
o(Gw, "isHTMLTableElement");
o(Kw, "isHTMLTextAreaElement");
o(Yw, "safeWindow");
o(Xw, "isHTMLFieldSetElement");
o(Jw, "isHTMLLegendElement");
o(Qw, "isHTMLSlotElement");
o(lk, "isSVGElement");
o(Zw, "isSVGSVGElement");
o(e_, "isSVGTitleElement");
o(fn, "queryIdRefs");
o(xt, "hasAnyConcreteRoles");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
function uk(e) {
return e.trim().replace(/\s\s+/g, " ");
}
function ck(e, t) {
if (!Ee(e))
return !1;
if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true")
return !0;
var r = t(e);
return r.getPropertyValue("display") === "none" || r.getPropertyValue("visibility") === "hidden";
}
function dk(e) {
return xt(e, ["button", "combobox", "listbox", "textbox"]) || n_(e, "range");
}
function n_(e, t) {
if (!Ee(e))
return !1;
switch (t) {
case "range":
return xt(e, ["meter", "progressbar", "scrollbar", "slider", "spinbutton"]);
default:
throw new TypeError("No knowledge about abstract role '".concat(t, "'. This is likely a bug :("));
}
}
function t_(e, t) {
var r = ut(e.querySelectorAll(t));
return fn(e, "aria-owns").forEach(function(n) {
r.push.apply(r, ut(n.querySelectorAll(t)));
}), r;
}
function fk(e) {
return Ww(e) ? e.selectedOptions || t_(e, "[selected]") : t_(e, '[aria-selected="true"]');
}
function pk(e) {
return xt(e, fo);
}
function mk(e) {
return uh(e);
}
function hk(e) {
return xt(e, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbo\
x", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
}
function bk(e) {
return !1;
}
function yk(e) {
return bo(e) || Kw(e) ? e.value : e.textContent || "";
}
function r_(e) {
var t = e.getPropertyValue("content");
return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
}
function o_(e) {
var t = Te(e);
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t ===
"select" || t === "textarea";
}
function i_(e) {
if (o_(e))
return e;
var t = null;
return e.childNodes.forEach(function(r) {
if (t === null && Ee(r)) {
var n = i_(r);
n !== null && (t = n);
}
}), t;
}
function gk(e) {
if (e.control !== void 0)
return e.control;
var t = e.getAttribute("for");
return t !== null ? e.ownerDocument.getElementById(t) : i_(e);
}
function vk(e) {
var t = e.labels;
if (t === null)
return t;
if (t !== void 0)
return ut(t);
if (!o_(e))
return null;
var r = e.ownerDocument;
return ut(r.querySelectorAll("label")).filter(function(n) {
return gk(n) === e;
});
}
function Ek(e) {
var t = e.assignedNodes();
return t.length === 0 ? ut(e.childNodes) : t;
}
function na(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new Hw(), n = Yw(e), i = t.compute, a = i === void 0 ? "n\
ame" : i, s = t.computedStyleSupportsPseudoElements, l = s === void 0 ? t.getComputedStyle !== void 0 : s, c = t.getComputedStyle, u = c ===
void 0 ? n.getComputedStyle.bind(n) : c, d = t.hidden, p = d === void 0 ? !1 : d;
function b(g, q) {
var P = "";
if (Ee(g) && l) {
var _ = u(g, "::before"), C = r_(_);
P = "".concat(C, " ").concat(P);
}
var O = Qw(g) ? Ek(g) : ut(g.childNodes).concat(fn(g, "aria-owns"));
if (O.forEach(function(L) {
var Z = w(L, {
isEmbeddedInLabel: q.isEmbeddedInLabel,
isReferenced: !1,
recursion: !0
}), S = Ee(L) ? u(L).getPropertyValue("display") : "inline", V = S !== "inline" ? " " : "";
P += "".concat(V).concat(Z).concat(V);
}), Ee(g) && l) {
var T = u(g, "::after"), M = r_(T);
P = "".concat(P, " ").concat(M);
}
return P.trim();
}
o(b, "computeMiscTextAlternative");
function m(g, q) {
var P = g.getAttributeNode(q);
return P !== null && !r.has(P) && P.value.trim() !== "" ? (r.add(P), P.value) : null;
}
o(m, "useAttribute");
function y(g) {
return Ee(g) ? m(g, "title") : null;
}
o(y, "computeTooltipAttributeValue");
function h(g) {
if (!Ee(g))
return null;
if (Xw(g)) {
r.add(g);
for (var q = ut(g.childNodes), P = 0; P < q.length; P += 1) {
var _ = q[P];
if (Jw(_))
return w(_, {
isEmbeddedInLabel: !1,
isReferenced: !1,
recursion: !1
});
}
} else if (Gw(g)) {
r.add(g);
for (var C = ut(g.childNodes), O = 0; O < C.length; O += 1) {
var T = C[O];
if (uh(T))
return w(T, {
isEmbeddedInLabel: !1,
isReferenced: !1,
recursion: !1
});
}
} else if (Zw(g)) {
r.add(g);
for (var M = ut(g.childNodes), L = 0; L < M.length; L += 1) {
var Z = M[L];
if (e_(Z))
return Z.textContent;
}
return null;
} else if (Te(g) === "img" || Te(g) === "area") {
var S = m(g, "alt");
if (S !== null)
return S;
} else if (zw(g)) {
var V = m(g, "label");
if (V !== null)
return V;
}
if (bo(g) && (g.type === "button" || g.type === "submit" || g.type === "reset")) {
var ue = m(g, "value");
if (ue !== null)
return ue;
if (g.type === "submit")
return "Submit";
if (g.type === "reset")
return "Reset";
}
var W = vk(g);
if (W !== null && W.length !== 0)
return r.add(g), ut(W).map(function(U) {
return w(U, {
isEmbeddedInLabel: !0,
isReferenced: !1,
recursion: !0
});
}).filter(function(U) {
return U.length > 0;
}).join(" ");
if (bo(g) && g.type === "image") {
var k = m(g, "alt");
if (k !== null)
return k;
var B = m(g, "title");
return B !== null ? B : "Submit Query";
}
if (xt(g, ["button"])) {
var ee = b(g, {
isEmbeddedInLabel: !1,
isReferenced: !1
});
if (ee !== "")
return ee;
}
return null;
}
o(h, "computeElementTextAlternative");
function w(g, q) {
if (r.has(g))
return "";
if (!p && ck(g, u) && !q.isReferenced)
return r.add(g), "";
var P = Ee(g) ? g.getAttributeNode("aria-labelledby") : null, _ = P !== null && !r.has(P) ? fn(g, "aria-labelledby") : [];
if (a === "name" && !q.isReferenced && _.length > 0)
return r.add(P), _.map(function(S) {
return w(S, {
isEmbeddedInLabel: q.isEmbeddedInLabel,
isReferenced: !0,
// this isn't recursion as specified, otherwise we would skip
// `aria-label` in
// {
Bw();
Uw();
ho();
o(uk, "asFlatString");
o(ck, "isHidden");
o(dk, "isControl");
o(n_, "hasAbstractRole");
o(t_, "querySelectorAllSubtree");
o(fk, "querySelectedOptions");
o(pk, "isMarkedPresentational");
o(mk, "isNativeHostLanguageTextAlternativeElement");
o(hk, "allowsNameFromContent");
o(bk, "isDescendantOfNativeHostLanguageTextAlternativeElement");
o(yk, "getValueOfTextbox");
o(r_, "getTextualContent");
o(o_, "isLabelableElement");
o(i_, "findLabelableElement");
o(gk, "getControlOfLabel");
o(vk, "getLabels");
o(Ek, "getSlotContents");
o(na, "computeTextAlternative");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-description.mjs
function yo(e) {
"@babel/helpers - typeof";
return yo = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
return typeof t;
} : function(t) {
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, yo(e);
}
function a_(e, t) {
var r = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var n = Object.getOwnPropertySymbols(e);
t && (n = n.filter(function(i) {
return Object.getOwnPropertyDescriptor(e, i).enumerable;
})), r.push.apply(r, n);
}
return r;
}
function s_(e) {
for (var t = 1; t < arguments.length; t++) {
var r = arguments[t] != null ? arguments[t] : {};
t % 2 ? a_(Object(r), !0).forEach(function(n) {
wk(e, n, r[n]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : a_(Object(r)).forEach(function(n) {
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
});
}
return e;
}
function wk(e, t, r) {
return t = _k(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function _k(e) {
var t = Ck(e, "string");
return yo(t) === "symbol" ? t : String(t);
}
function Ck(e, t) {
if (yo(e) !== "object" || e === null) return e;
var r = e[Symbol.toPrimitive];
if (r !== void 0) {
var n = r.call(e, t || "default");
if (yo(n) !== "object") return n;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (t === "string" ? String : Number)(e);
}
function l_(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = fn(e, "aria-describedby").map(function(a) {
return na(a, s_(s_({}, t), {}, {
compute: "description"
}));
}).join(" ");
if (r === "") {
var n = e.getAttribute("aria-description");
r = n === null ? "" : n;
}
if (r === "") {
var i = e.getAttribute("title");
r = i === null ? "" : i;
}
return r;
}
var u_ = Re(() => {
ch();
ho();
o(yo, "_typeof");
o(a_, "ownKeys");
o(s_, "_objectSpread");
o(wk, "_defineProperty");
o(_k, "_toPropertyKey");
o(Ck, "_toPrimitive");
o(l_, "computeAccessibleDescription");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name.mjs
function qk(e) {
return xt(e, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "none", "paragraph", "presentation", "strong", "subscript",
"superscript"]);
}
function c_(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
return qk(e) ? "" : na(e, t);
}
var d_ = Re(() => {
ch();
ho();
o(qk, "prohibitsNaming");
o(c_, "computeAccessibleName");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/is-inaccessible.mjs
function Pk(e) {
var t, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.getComputedStyle, i = n === void 0 ? (t = e.ownerDocument.
defaultView) === null || t === void 0 ? void 0 : t.getComputedStyle : n, a = r.isSubtreeInaccessible, s = a === void 0 ? f_ : a;
if (typeof i != "function")
throw new TypeError("Owner document of the element needs to have an associated window.");
if (i(e).visibility === "hidden")
return !0;
for (var l = e; l; ) {
if (s(l, {
getComputedStyle: i
}))
return !0;
l = l.parentElement;
}
return !1;
}
function f_(e) {
var t, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.getComputedStyle, i = n === void 0 ? (t = e.ownerDocument.
defaultView) === null || t === void 0 ? void 0 : t.getComputedStyle : n;
if (typeof i != "function")
throw new TypeError("Owner document of the element needs to have an associated window.");
return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || i(e).display === "none";
}
var p_ = Re(() => {
o(Pk, "isInaccessible");
o(f_, "isSubtreeInaccessible");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/is-disabled.mjs
function m_(e) {
var t = Te(e);
return xk.has(t) && e.hasAttribute("disabled") ? !0 : e.getAttribute("aria-disabled") === "true";
}
var xk, h_ = Re(() => {
mo();
xk = /* @__PURE__ */ new Set(["button", "fieldset", "input", "optgroup", "option", "select", "textarea"]);
o(m_, "isDisabled");
});
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/index.mjs
var dh = {};
ro(dh, {
computeAccessibleDescription: () => l_,
computeAccessibleName: () => c_,
getRole: () => po,
isDisabled: () => m_,
isInaccessible: () => Pk,
isSubtreeInaccessible: () => f_
});
var fh = Re(() => {
u_();
d_();
mo();
p_();
h_();
});
// ../node_modules/aria-query/lib/util/iteratorProxy.js
var b_ = f((oa) => {
"use strict";
Object.defineProperty(oa, "__esModule", {
value: !0
});
oa.default = void 0;
function Rk() {
var e = this, t = 0, r = {
"@@iterator": /* @__PURE__ */ o(function() {
return r;
}, "iterator"),
next: /* @__PURE__ */ o(function() {
if (t < e.length) {
var i = e[t];
return t = t + 1, {
done: !1,
value: i
};
} else
return {
done: !0
};
}, "next")
};
return r;
}
o(Rk, "iteratorProxy");
var Rbe = oa.default = Rk;
});
// ../node_modules/aria-query/lib/util/iterationDecorator.js
var pn = f((mh) => {
"use strict";
Object.defineProperty(mh, "__esModule", {
value: !0
});
mh.default = Sk;
var Tk = Ok(b_());
function Ok(e) {
return e && e.__esModule ? e : { default: e };
}
o(Ok, "_interopRequireDefault");
function ph(e) {
"@babel/helpers - typeof";
return ph = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
return typeof t;
} : function(t) {
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, ph(e);
}
o(ph, "_typeof");
function Sk(e, t) {
return typeof Symbol == "function" && ph(Symbol.iterator) === "symbol" && Object.defineProperty(e, Symbol.iterator, {
value: Tk.default.bind(t)
}), e;
}
o(Sk, "iterationDecorator");
});
// ../node_modules/aria-query/lib/ariaPropsMap.js
var g_ = f((ia) => {
"use strict";
Object.defineProperty(ia, "__esModule", {
value: !0
});
ia.default = void 0;
var Mk = Ak(pn());
function Ak(e) {
return e && e.__esModule ? e : { default: e };
}
o(Ak, "_interopRequireDefault");
function hh(e, t) {
return $k(e) || jk(e, t) || Nk(e, t) || Ik();
}
o(hh, "_slicedToArray");
function Ik() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(Ik, "_nonIterableRest");
function Nk(e, t) {
if (e) {
if (typeof e == "string") return y_(e, t);
var r = {}.toString.call(e).slice(8, -1);
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
test(r) ? y_(e, t) : void 0;
}
}
o(Nk, "_unsupportedIterableToArray");
function y_(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
return n;
}
o(y_, "_arrayLikeToArray");
function jk(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n, i, a, s, l = [], c = !0, u = !1;
try {
if (a = (r = r.call(e)).next, t === 0) {
if (Object(r) !== r) return;
c = !1;
} else for (; !(c = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); c = !0) ;
} catch (d) {
u = !0, i = d;
} finally {
try {
if (!c && r.return != null && (s = r.return(), Object(s) !== s)) return;
} finally {
if (u) throw i;
}
}
return l;
}
}
o(jk, "_iterableToArrayLimit");
function $k(e) {
if (Array.isArray(e)) return e;
}
o($k, "_arrayWithHoles");
var mn = [["aria-activedescendant", {
type: "id"
}], ["aria-atomic", {
type: "boolean"
}], ["aria-autocomplete", {
type: "token",
values: ["inline", "list", "both", "none"]
}], ["aria-braillelabel", {
type: "string"
}], ["aria-brailleroledescription", {
type: "string"
}], ["aria-busy", {
type: "boolean"
}], ["aria-checked", {
type: "tristate"
}], ["aria-colcount", {
type: "integer"
}], ["aria-colindex", {
type: "integer"
}], ["aria-colspan", {
type: "integer"
}], ["aria-controls", {
type: "idlist"
}], ["aria-current", {
type: "token",
values: ["page", "step", "location", "date", "time", !0, !1]
}], ["aria-describedby", {
type: "idlist"
}], ["aria-description", {
type: "string"
}], ["aria-details", {
type: "id"
}], ["aria-disabled", {
type: "boolean"
}], ["aria-dropeffect", {
type: "tokenlist",
values: ["copy", "execute", "link", "move", "none", "popup"]
}], ["aria-errormessage", {
type: "id"
}], ["aria-expanded", {
type: "boolean",
allowundefined: !0
}], ["aria-flowto", {
type: "idlist"
}], ["aria-grabbed", {
type: "boolean",
allowundefined: !0
}], ["aria-haspopup", {
type: "token",
values: [!1, !0, "menu", "listbox", "tree", "grid", "dialog"]
}], ["aria-hidden", {
type: "boolean",
allowundefined: !0
}], ["aria-invalid", {
type: "token",
values: ["grammar", !1, "spelling", !0]
}], ["aria-keyshortcuts", {
type: "string"
}], ["aria-label", {
type: "string"
}], ["aria-labelledby", {
type: "idlist"
}], ["aria-level", {
type: "integer"
}], ["aria-live", {
type: "token",
values: ["assertive", "off", "polite"]
}], ["aria-modal", {
type: "boolean"
}], ["aria-multiline", {
type: "boolean"
}], ["aria-multiselectable", {
type: "boolean"
}], ["aria-orientation", {
type: "token",
values: ["vertical", "undefined", "horizontal"]
}], ["aria-owns", {
type: "idlist"
}], ["aria-placeholder", {
type: "string"
}], ["aria-posinset", {
type: "integer"
}], ["aria-pressed", {
type: "tristate"
}], ["aria-readonly", {
type: "boolean"
}], ["aria-relevant", {
type: "tokenlist",
values: ["additions", "all", "removals", "text"]
}], ["aria-required", {
type: "boolean"
}], ["aria-roledescription", {
type: "string"
}], ["aria-rowcount", {
type: "integer"
}], ["aria-rowindex", {
type: "integer"
}], ["aria-rowspan", {
type: "integer"
}], ["aria-selected", {
type: "boolean",
allowundefined: !0
}], ["aria-setsize", {
type: "integer"
}], ["aria-sort", {
type: "token",
values: ["ascending", "descending", "none", "other"]
}], ["aria-valuemax", {
type: "number"
}], ["aria-valuemin", {
type: "number"
}], ["aria-valuenow", {
type: "number"
}], ["aria-valuetext", {
type: "string"
}]], bh = {
entries: /* @__PURE__ */ o(function() {
return mn;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = mn; n < i.length; n++) {
var a = hh(i[n], 2), s = a[0], l = a[1];
t.call(r, l, s, mn);
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = mn.filter(function(n) {
return n[0] === t;
})[0];
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!bh.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return mn.map(function(t) {
var r = hh(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return mn.map(function(t) {
var r = hh(t, 2), n = r[1];
return n;
});
}, "values")
}, Abe = ia.default = (0, Mk.default)(bh, bh.entries());
});
// ../node_modules/aria-query/lib/domMap.js
var E_ = f((aa) => {
"use strict";
Object.defineProperty(aa, "__esModule", {
value: !0
});
aa.default = void 0;
var Lk = Dk(pn());
function Dk(e) {
return e && e.__esModule ? e : { default: e };
}
o(Dk, "_interopRequireDefault");
function yh(e, t) {
return Hk(e) || Fk(e, t) || kk(e, t) || Bk();
}
o(yh, "_slicedToArray");
function Bk() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(Bk, "_nonIterableRest");
function kk(e, t) {
if (e) {
if (typeof e == "string") return v_(e, t);
var r = {}.toString.call(e).slice(8, -1);
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
test(r) ? v_(e, t) : void 0;
}
}
o(kk, "_unsupportedIterableToArray");
function v_(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
return n;
}
o(v_, "_arrayLikeToArray");
function Fk(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n, i, a, s, l = [], c = !0, u = !1;
try {
if (a = (r = r.call(e)).next, t === 0) {
if (Object(r) !== r) return;
c = !1;
} else for (; !(c = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); c = !0) ;
} catch (d) {
u = !0, i = d;
} finally {
try {
if (!c && r.return != null && (s = r.return(), Object(s) !== s)) return;
} finally {
if (u) throw i;
}
}
return l;
}
}
o(Fk, "_iterableToArrayLimit");
function Hk(e) {
if (Array.isArray(e)) return e;
}
o(Hk, "_arrayWithHoles");
var hn = [["a", {
reserved: !1
}], ["abbr", {
reserved: !1
}], ["acronym", {
reserved: !1
}], ["address", {
reserved: !1
}], ["applet", {
reserved: !1
}], ["area", {
reserved: !1
}], ["article", {
reserved: !1
}], ["aside", {
reserved: !1
}], ["audio", {
reserved: !1
}], ["b", {
reserved: !1
}], ["base", {
reserved: !0
}], ["bdi", {
reserved: !1
}], ["bdo", {
reserved: !1
}], ["big", {
reserved: !1
}], ["blink", {
reserved: !1
}], ["blockquote", {
reserved: !1
}], ["body", {
reserved: !1
}], ["br", {
reserved: !1
}], ["button", {
reserved: !1
}], ["canvas", {
reserved: !1
}], ["caption", {
reserved: !1
}], ["center", {
reserved: !1
}], ["cite", {
reserved: !1
}], ["code", {
reserved: !1
}], ["col", {
reserved: !0
}], ["colgroup", {
reserved: !0
}], ["content", {
reserved: !1
}], ["data", {
reserved: !1
}], ["datalist", {
reserved: !1
}], ["dd", {
reserved: !1
}], ["del", {
reserved: !1
}], ["details", {
reserved: !1
}], ["dfn", {
reserved: !1
}], ["dialog", {
reserved: !1
}], ["dir", {
reserved: !1
}], ["div", {
reserved: !1
}], ["dl", {
reserved: !1
}], ["dt", {
reserved: !1
}], ["em", {
reserved: !1
}], ["embed", {
reserved: !1
}], ["fieldset", {
reserved: !1
}], ["figcaption", {
reserved: !1
}], ["figure", {
reserved: !1
}], ["font", {
reserved: !1
}], ["footer", {
reserved: !1
}], ["form", {
reserved: !1
}], ["frame", {
reserved: !1
}], ["frameset", {
reserved: !1
}], ["h1", {
reserved: !1
}], ["h2", {
reserved: !1
}], ["h3", {
reserved: !1
}], ["h4", {
reserved: !1
}], ["h5", {
reserved: !1
}], ["h6", {
reserved: !1
}], ["head", {
reserved: !0
}], ["header", {
reserved: !1
}], ["hgroup", {
reserved: !1
}], ["hr", {
reserved: !1
}], ["html", {
reserved: !0
}], ["i", {
reserved: !1
}], ["iframe", {
reserved: !1
}], ["img", {
reserved: !1
}], ["input", {
reserved: !1
}], ["ins", {
reserved: !1
}], ["kbd", {
reserved: !1
}], ["keygen", {
reserved: !1
}], ["label", {
reserved: !1
}], ["legend", {
reserved: !1
}], ["li", {
reserved: !1
}], ["link", {
reserved: !0
}], ["main", {
reserved: !1
}], ["map", {
reserved: !1
}], ["mark", {
reserved: !1
}], ["marquee", {
reserved: !1
}], ["menu", {
reserved: !1
}], ["menuitem", {
reserved: !1
}], ["meta", {
reserved: !0
}], ["meter", {
reserved: !1
}], ["nav", {
reserved: !1
}], ["noembed", {
reserved: !0
}], ["noscript", {
reserved: !0
}], ["object", {
reserved: !1
}], ["ol", {
reserved: !1
}], ["optgroup", {
reserved: !1
}], ["option", {
reserved: !1
}], ["output", {
reserved: !1
}], ["p", {
reserved: !1
}], ["param", {
reserved: !0
}], ["picture", {
reserved: !0
}], ["pre", {
reserved: !1
}], ["progress", {
reserved: !1
}], ["q", {
reserved: !1
}], ["rp", {
reserved: !1
}], ["rt", {
reserved: !1
}], ["rtc", {
reserved: !1
}], ["ruby", {
reserved: !1
}], ["s", {
reserved: !1
}], ["samp", {
reserved: !1
}], ["script", {
reserved: !0
}], ["section", {
reserved: !1
}], ["select", {
reserved: !1
}], ["small", {
reserved: !1
}], ["source", {
reserved: !0
}], ["spacer", {
reserved: !1
}], ["span", {
reserved: !1
}], ["strike", {
reserved: !1
}], ["strong", {
reserved: !1
}], ["style", {
reserved: !0
}], ["sub", {
reserved: !1
}], ["summary", {
reserved: !1
}], ["sup", {
reserved: !1
}], ["table", {
reserved: !1
}], ["tbody", {
reserved: !1
}], ["td", {
reserved: !1
}], ["textarea", {
reserved: !1
}], ["tfoot", {
reserved: !1
}], ["th", {
reserved: !1
}], ["thead", {
reserved: !1
}], ["time", {
reserved: !1
}], ["title", {
reserved: !0
}], ["tr", {
reserved: !1
}], ["track", {
reserved: !0
}], ["tt", {
reserved: !1
}], ["u", {
reserved: !1
}], ["ul", {
reserved: !1
}], ["var", {
reserved: !1
}], ["video", {
reserved: !1
}], ["wbr", {
reserved: !1
}], ["xmp", {
reserved: !1
}]], gh = {
entries: /* @__PURE__ */ o(function() {
return hn;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = hn; n < i.length; n++) {
var a = yh(i[n], 2), s = a[0], l = a[1];
t.call(r, l, s, hn);
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = hn.filter(function(n) {
return n[0] === t;
})[0];
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!gh.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return hn.map(function(t) {
var r = yh(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return hn.map(function(t) {
var r = yh(t, 2), n = r[1];
return n;
});
}, "values")
}, jbe = aa.default = (0, Lk.default)(gh, gh.entries());
});
// ../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js
var w_ = f((sa) => {
"use strict";
Object.defineProperty(sa, "__esModule", {
value: !0
});
sa.default = void 0;
var Uk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget"]]
}, Dbe = sa.default = Uk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js
var __ = f((la) => {
"use strict";
Object.defineProperty(la, "__esModule", {
value: !0
});
la.default = void 0;
var Vk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-disabled": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget"]]
}, kbe = la.default = Vk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js
var C_ = f((ua) => {
"use strict";
Object.defineProperty(ua, "__esModule", {
value: !0
});
ua.default = void 0;
var zk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null
},
relatedConcepts: [{
concept: {
name: "input"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget"]]
}, Hbe = ua.default = zk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js
var q_ = f((ca) => {
"use strict";
Object.defineProperty(ca, "__esModule", {
value: !0
});
ca.default = void 0;
var Wk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Vbe = ca.default = Wk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js
var P_ = f((da) => {
"use strict";
Object.defineProperty(da, "__esModule", {
value: !0
});
da.default = void 0;
var Gk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-valuemax": null,
"aria-valuemin": null,
"aria-valuenow": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, Wbe = da.default = Gk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js
var x_ = f((fa) => {
"use strict";
Object.defineProperty(fa, "__esModule", {
value: !0
});
fa.default = void 0;
var Kk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {
"aria-atomic": null,
"aria-busy": null,
"aria-controls": null,
"aria-current": null,
"aria-describedby": null,
"aria-details": null,
"aria-dropeffect": null,
"aria-flowto": null,
"aria-grabbed": null,
"aria-hidden": null,
"aria-keyshortcuts": null,
"aria-label": null,
"aria-labelledby": null,
"aria-live": null,
"aria-owns": null,
"aria-relevant": null,
"aria-roledescription": null
},
relatedConcepts: [{
concept: {
name: "role"
},
module: "XHTML"
}, {
concept: {
name: "type"
},
module: "Dublin Core"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: []
}, Kbe = fa.default = Kk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js
var R_ = f((pa) => {
"use strict";
Object.defineProperty(pa, "__esModule", {
value: !0
});
pa.default = void 0;
var Yk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "frontmatter"
},
module: "DTB"
}, {
concept: {
name: "level"
},
module: "DTB"
}, {
concept: {
name: "level"
},
module: "SMIL"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, Xbe = pa.default = Yk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js
var T_ = f((ma) => {
"use strict";
Object.defineProperty(ma, "__esModule", {
value: !0
});
ma.default = void 0;
var Xk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, Qbe = ma.default = Xk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js
var O_ = f((ha) => {
"use strict";
Object.defineProperty(ha, "__esModule", {
value: !0
});
ha.default = void 0;
var Jk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "group"]]
}, eye = ha.default = Jk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js
var S_ = f((ba) => {
"use strict";
Object.defineProperty(ba, "__esModule", {
value: !0
});
ba.default = void 0;
var Qk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype"]]
}, rye = ba.default = Qk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js
var M_ = f((ya) => {
"use strict";
Object.defineProperty(ya, "__esModule", {
value: !0
});
ya.default = void 0;
var Zk = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype"]]
}, oye = ya.default = Zk;
});
// ../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js
var A_ = f((ga) => {
"use strict";
Object.defineProperty(ga, "__esModule", {
value: !0
});
ga.default = void 0;
var eF = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-modal": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype"]]
}, aye = ga.default = eF;
});
// ../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js
var I_ = f((va) => {
"use strict";
Object.defineProperty(va, "__esModule", {
value: !0
});
va.default = void 0;
var tF = ht(w_()), rF = ht(__()), nF = ht(C_()), oF = ht(q_()), iF = ht(P_()), aF = ht(x_()), sF = ht(R_()), lF = ht(T_()), uF = ht(O_()),
cF = ht(S_()), dF = ht(M_()), fF = ht(A_());
function ht(e) {
return e && e.__esModule ? e : { default: e };
}
o(ht, "_interopRequireDefault");
var pF = [["command", tF.default], ["composite", rF.default], ["input", nF.default], ["landmark", oF.default], ["range", iF.default], ["ro\
letype", aF.default], ["section", sF.default], ["sectionhead", lF.default], ["select", uF.default], ["structure", cF.default], ["widget", dF.
default], ["window", fF.default]], lye = va.default = pF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/alertRole.js
var N_ = f((Ea) => {
"use strict";
Object.defineProperty(Ea, "__esModule", {
value: !0
});
Ea.default = void 0;
var mF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-atomic": "true",
"aria-live": "assertive"
},
relatedConcepts: [{
concept: {
name: "alert"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, dye = Ea.default = mF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js
var j_ = f((wa) => {
"use strict";
Object.defineProperty(wa, "__esModule", {
value: !0
});
wa.default = void 0;
var hF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "alert"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "alert"], ["roletype", "window", "dialog"]]
}, pye = wa.default = hF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js
var $_ = f((_a) => {
"use strict";
Object.defineProperty(_a, "__esModule", {
value: !0
});
_a.default = void 0;
var bF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "Device Independence Delivery Unit"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, hye = _a.default = bF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/articleRole.js
var L_ = f((Ca) => {
"use strict";
Object.defineProperty(Ca, "__esModule", {
value: !0
});
Ca.default = void 0;
var yF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
name: "article"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "document"]]
}, yye = Ca.default = yF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js
var D_ = f((qa) => {
"use strict";
Object.defineProperty(qa, "__esModule", {
value: !0
});
qa.default = void 0;
var gF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
constraints: ["scoped to the body element"],
name: "header"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, vye = qa.default = gF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js
var B_ = f((Pa) => {
"use strict";
Object.defineProperty(Pa, "__esModule", {
value: !0
});
Pa.default = void 0;
var vF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "blockquote"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, wye = Pa.default = vF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js
var k_ = f((xa) => {
"use strict";
Object.defineProperty(xa, "__esModule", {
value: !0
});
xa.default = void 0;
var EF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-pressed": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "button"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "type",
value: "image"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "type",
value: "reset"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "type",
value: "submit"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
name: "button"
},
module: "HTML"
}, {
concept: {
name: "trigger"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command"]]
}, Cye = xa.default = EF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/captionRole.js
var F_ = f((Ra) => {
"use strict";
Object.defineProperty(Ra, "__esModule", {
value: !0
});
Ra.default = void 0;
var wF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "caption"
},
module: "HTML"
}],
requireContextRole: ["figure", "grid", "table"],
requiredContextRole: ["figure", "grid", "table"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Pye = Ra.default = wF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/cellRole.js
var H_ = f((Ta) => {
"use strict";
Object.defineProperty(Ta, "__esModule", {
value: !0
});
Ta.default = void 0;
var _F = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-colindex": null,
"aria-colspan": null,
"aria-rowindex": null,
"aria-rowspan": null
},
relatedConcepts: [{
concept: {
constraints: ["ancestor table element has table role"],
name: "td"
},
module: "HTML"
}],
requireContextRole: ["row"],
requiredContextRole: ["row"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Rye = Ta.default = _F;
});
// ../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js
var U_ = f((Oa) => {
"use strict";
Object.defineProperty(Oa, "__esModule", {
value: !0
});
Oa.default = void 0;
var CF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-checked": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "checkbox"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
name: "option"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input"]]
}, Oye = Oa.default = CF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/codeRole.js
var V_ = f((Sa) => {
"use strict";
Object.defineProperty(Sa, "__esModule", {
value: !0
});
Sa.default = void 0;
var qF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "code"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Mye = Sa.default = qF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js
var z_ = f((Ma) => {
"use strict";
Object.defineProperty(Ma, "__esModule", {
value: !0
});
Ma.default = void 0;
var PF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-sort": null
},
relatedConcepts: [{
concept: {
name: "th"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "scope",
value: "col"
}],
name: "th"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "scope",
value: "colgroup"
}],
name: "th"
},
module: "HTML"
}],
requireContextRole: ["row"],
requiredContextRole: ["row"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
}, Iye = Ma.default = PF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js
var W_ = f((Aa) => {
"use strict";
Object.defineProperty(Aa, "__esModule", {
value: !0
});
Aa.default = void 0;
var xF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-autocomplete": null,
"aria-errormessage": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null,
"aria-expanded": "false",
"aria-haspopup": "listbox"
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "email"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "search"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "tel"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "text"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "url"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "url"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "multiple"
}, {
constraints: ["undefined"],
name: "size"
}],
constraints: ["the multiple attribute is not set and the size attribute does not have a value greater than 1"],
name: "select"
},
module: "HTML"
}, {
concept: {
name: "select"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-controls": null,
"aria-expanded": "false"
},
superClass: [["roletype", "widget", "input"]]
}, jye = Aa.default = xF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js
var G_ = f((Ia) => {
"use strict";
Object.defineProperty(Ia, "__esModule", {
value: !0
});
Ia.default = void 0;
var RF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
constraints: ["scoped to the body element", "scoped to the main element"],
name: "aside"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-label"
}],
constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
name: "aside"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-labelledby"
}],
constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
name: "aside"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Lye = Ia.default = RF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js
var K_ = f((Na) => {
"use strict";
Object.defineProperty(Na, "__esModule", {
value: !0
});
Na.default = void 0;
var TF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
constraints: ["scoped to the body element"],
name: "footer"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Bye = Na.default = TF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js
var Y_ = f((ja) => {
"use strict";
Object.defineProperty(ja, "__esModule", {
value: !0
});
ja.default = void 0;
var OF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "dd"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Fye = ja.default = OF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js
var X_ = f(($a) => {
"use strict";
Object.defineProperty($a, "__esModule", {
value: !0
});
$a.default = void 0;
var SF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "del"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Uye = $a.default = SF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js
var J_ = f((La) => {
"use strict";
Object.defineProperty(La, "__esModule", {
value: !0
});
La.default = void 0;
var MF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "dialog"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "window"]]
}, zye = La.default = MF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js
var Q_ = f((Da) => {
"use strict";
Object.defineProperty(Da, "__esModule", {
value: !0
});
Da.default = void 0;
var AF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
module: "DAISY Guide"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "list"]]
}, Gye = Da.default = AF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/documentRole.js
var Z_ = f((Ba) => {
"use strict";
Object.defineProperty(Ba, "__esModule", {
value: !0
});
Ba.default = void 0;
var IF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "Device Independence Delivery Unit"
}
}, {
concept: {
name: "html"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, Yye = Ba.default = IF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js
var eC = f((ka) => {
"use strict";
Object.defineProperty(ka, "__esModule", {
value: !0
});
ka.default = void 0;
var NF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "em"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Jye = ka.default = NF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/feedRole.js
var tC = f((Fa) => {
"use strict";
Object.defineProperty(Fa, "__esModule", {
value: !0
});
Fa.default = void 0;
var jF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["article"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "list"]]
}, Zye = Fa.default = jF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/figureRole.js
var rC = f((Ha) => {
"use strict";
Object.defineProperty(Ha, "__esModule", {
value: !0
});
Ha.default = void 0;
var $F = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "figure"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, tge = Ha.default = $F;
});
// ../node_modules/aria-query/lib/etc/roles/literal/formRole.js
var nC = f((Ua) => {
"use strict";
Object.defineProperty(Ua, "__esModule", {
value: !0
});
Ua.default = void 0;
var LF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "aria-label"
}],
name: "form"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-labelledby"
}],
name: "form"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "name"
}],
name: "form"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, nge = Ua.default = LF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/genericRole.js
var oC = f((Va) => {
"use strict";
Object.defineProperty(Va, "__esModule", {
value: !0
});
Va.default = void 0;
var DF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "a"
},
module: "HTML"
}, {
concept: {
name: "area"
},
module: "HTML"
}, {
concept: {
name: "aside"
},
module: "HTML"
}, {
concept: {
name: "b"
},
module: "HTML"
}, {
concept: {
name: "bdo"
},
module: "HTML"
}, {
concept: {
name: "body"
},
module: "HTML"
}, {
concept: {
name: "data"
},
module: "HTML"
}, {
concept: {
name: "div"
},
module: "HTML"
}, {
concept: {
constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
name: "footer"
},
module: "HTML"
}, {
concept: {
constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
name: "header"
},
module: "HTML"
}, {
concept: {
name: "hgroup"
},
module: "HTML"
}, {
concept: {
name: "i"
},
module: "HTML"
}, {
concept: {
name: "pre"
},
module: "HTML"
}, {
concept: {
name: "q"
},
module: "HTML"
}, {
concept: {
name: "samp"
},
module: "HTML"
}, {
concept: {
name: "section"
},
module: "HTML"
}, {
concept: {
name: "small"
},
module: "HTML"
}, {
concept: {
name: "span"
},
module: "HTML"
}, {
concept: {
name: "u"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, ige = Va.default = DF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/gridRole.js
var iC = f((za) => {
"use strict";
Object.defineProperty(za, "__esModule", {
value: !0
});
za.default = void 0;
var BF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-multiselectable": null,
"aria-readonly": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["row"], ["row", "rowgroup"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "table"]]
}, sge = za.default = BF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js
var aC = f((Wa) => {
"use strict";
Object.defineProperty(Wa, "__esModule", {
value: !0
});
Wa.default = void 0;
var kF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null,
"aria-selected": null
},
relatedConcepts: [{
concept: {
constraints: ["ancestor table element has grid role", "ancestor table element has treegrid role"],
name: "td"
},
module: "HTML"
}],
requireContextRole: ["row"],
requiredContextRole: ["row"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "cell"], ["roletype", "widget"]]
}, uge = Wa.default = kF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/groupRole.js
var sC = f((Ga) => {
"use strict";
Object.defineProperty(Ga, "__esModule", {
value: !0
});
Ga.default = void 0;
var FF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-disabled": null
},
relatedConcepts: [{
concept: {
name: "details"
},
module: "HTML"
}, {
concept: {
name: "fieldset"
},
module: "HTML"
}, {
concept: {
name: "optgroup"
},
module: "HTML"
}, {
concept: {
name: "address"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, dge = Ga.default = FF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/headingRole.js
var lC = f((Ka) => {
"use strict";
Object.defineProperty(Ka, "__esModule", {
value: !0
});
Ka.default = void 0;
var HF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-level": "2"
},
relatedConcepts: [{
concept: {
name: "h1"
},
module: "HTML"
}, {
concept: {
name: "h2"
},
module: "HTML"
}, {
concept: {
name: "h3"
},
module: "HTML"
}, {
concept: {
name: "h4"
},
module: "HTML"
}, {
concept: {
name: "h5"
},
module: "HTML"
}, {
concept: {
name: "h6"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-level": "2"
},
superClass: [["roletype", "structure", "sectionhead"]]
}, pge = Ka.default = HF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/imgRole.js
var uC = f((Ya) => {
"use strict";
Object.defineProperty(Ya, "__esModule", {
value: !0
});
Ya.default = void 0;
var UF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "alt"
}],
name: "img"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "alt"
}],
name: "img"
},
module: "HTML"
}, {
concept: {
name: "imggroup"
},
module: "DTB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, hge = Ya.default = UF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js
var cC = f((Xa) => {
"use strict";
Object.defineProperty(Xa, "__esModule", {
value: !0
});
Xa.default = void 0;
var VF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "ins"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, yge = Xa.default = VF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/linkRole.js
var dC = f((Ja) => {
"use strict";
Object.defineProperty(Ja, "__esModule", {
value: !0
});
Ja.default = void 0;
var zF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "href"
}],
name: "a"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "href"
}],
name: "area"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command"]]
}, vge = Ja.default = zF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/listRole.js
var fC = f((Qa) => {
"use strict";
Object.defineProperty(Qa, "__esModule", {
value: !0
});
Qa.default = void 0;
var WF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "menu"
},
module: "HTML"
}, {
concept: {
name: "ol"
},
module: "HTML"
}, {
concept: {
name: "ul"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["listitem"]],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, wge = Qa.default = WF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js
var pC = f((Za) => {
"use strict";
Object.defineProperty(Za, "__esModule", {
value: !0
});
Za.default = void 0;
var GF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-expanded": null,
"aria-invalid": null,
"aria-multiselectable": null,
"aria-readonly": null,
"aria-required": null,
"aria-orientation": "vertical"
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: [">1"],
name: "size"
}],
constraints: ["the size attribute value is greater than 1"],
name: "select"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "multiple"
}],
name: "select"
},
module: "HTML"
}, {
concept: {
name: "datalist"
},
module: "HTML"
}, {
concept: {
name: "list"
},
module: "ARIA"
}, {
concept: {
name: "select"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["option", "group"], ["option"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, Cge = Za.default = GF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js
var mC = f((es) => {
"use strict";
Object.defineProperty(es, "__esModule", {
value: !0
});
es.default = void 0;
var KF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-level": null,
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
constraints: ["direct descendant of ol", "direct descendant of ul", "direct descendant of menu"],
name: "li"
},
module: "HTML"
}, {
concept: {
name: "item"
},
module: "XForms"
}],
requireContextRole: ["directory", "list"],
requiredContextRole: ["directory", "list"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Pge = es.default = KF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/logRole.js
var hC = f((ts) => {
"use strict";
Object.defineProperty(ts, "__esModule", {
value: !0
});
ts.default = void 0;
var YF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-live": "polite"
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Rge = ts.default = YF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/mainRole.js
var bC = f((rs) => {
"use strict";
Object.defineProperty(rs, "__esModule", {
value: !0
});
rs.default = void 0;
var XF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "main"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Oge = rs.default = XF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/markRole.js
var yC = f((ns) => {
"use strict";
Object.defineProperty(ns, "__esModule", {
value: !0
});
ns.default = void 0;
var JF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: [],
props: {
"aria-braillelabel": null,
"aria-brailleroledescription": null,
"aria-description": null
},
relatedConcepts: [{
concept: {
name: "mark"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Mge = ns.default = JF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js
var gC = f((os) => {
"use strict";
Object.defineProperty(os, "__esModule", {
value: !0
});
os.default = void 0;
var QF = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Ige = os.default = QF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/mathRole.js
var vC = f((is) => {
"use strict";
Object.defineProperty(is, "__esModule", {
value: !0
});
is.default = void 0;
var ZF = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "math"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, jge = is.default = ZF;
});
// ../node_modules/aria-query/lib/etc/roles/literal/menuRole.js
var EC = f((as) => {
"use strict";
Object.defineProperty(as, "__esModule", {
value: !0
});
as.default = void 0;
var e2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": "vertical"
},
relatedConcepts: [{
concept: {
name: "MENU"
},
module: "JAPI"
}, {
concept: {
name: "list"
},
module: "ARIA"
}, {
concept: {
name: "select"
},
module: "XForms"
}, {
concept: {
name: "sidebar"
},
module: "DTB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, Lge = as.default = e2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js
var wC = f((ss) => {
"use strict";
Object.defineProperty(ss, "__esModule", {
value: !0
});
ss.default = void 0;
var t2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": "horizontal"
},
relatedConcepts: [{
concept: {
name: "toolbar"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select", "menu"], ["roletype", "structure", "section", "group", "select", "menu"]]
}, Bge = ss.default = t2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js
var _C = f((ls) => {
"use strict";
Object.defineProperty(ls, "__esModule", {
value: !0
});
ls.default = void 0;
var r2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
name: "MENU_ITEM"
},
module: "JAPI"
}, {
concept: {
name: "listitem"
},
module: "ARIA"
}, {
concept: {
name: "option"
},
module: "ARIA"
}],
requireContextRole: ["group", "menu", "menubar"],
requiredContextRole: ["group", "menu", "menubar"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command"]]
}, Fge = ls.default = r2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js
var CC = f((us) => {
"use strict";
Object.defineProperty(us, "__esModule", {
value: !0
});
us.default = void 0;
var n2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "menuitem"
},
module: "ARIA"
}],
requireContextRole: ["group", "menu", "menubar"],
requiredContextRole: ["group", "menu", "menubar"],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input", "checkbox"], ["roletype", "widget", "command", "menuitem"]]
}, Uge = us.default = n2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js
var qC = f((cs) => {
"use strict";
Object.defineProperty(cs, "__esModule", {
value: !0
});
cs.default = void 0;
var o2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "menuitem"
},
module: "ARIA"
}],
requireContextRole: ["group", "menu", "menubar"],
requiredContextRole: ["group", "menu", "menubar"],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input", "checkbox", "menuitemcheckbox"], ["roletype", "widget", "command", "menuitem", "menuitemche\
ckbox"], ["roletype", "widget", "input", "radio"]]
}, zge = cs.default = o2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/meterRole.js
var PC = f((ds) => {
"use strict";
Object.defineProperty(ds, "__esModule", {
value: !0
});
ds.default = void 0;
var i2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-valuetext": null,
"aria-valuemax": "100",
"aria-valuemin": "0"
},
relatedConcepts: [{
concept: {
name: "meter"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-valuenow": null
},
superClass: [["roletype", "structure", "range"]]
}, Gge = ds.default = i2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js
var xC = f((fs) => {
"use strict";
Object.defineProperty(fs, "__esModule", {
value: !0
});
fs.default = void 0;
var a2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "nav"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Yge = fs.default = a2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/noneRole.js
var RC = f((ps) => {
"use strict";
Object.defineProperty(ps, "__esModule", {
value: !0
});
ps.default = void 0;
var s2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: []
}, Jge = ps.default = s2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/noteRole.js
var TC = f((ms) => {
"use strict";
Object.defineProperty(ms, "__esModule", {
value: !0
});
ms.default = void 0;
var l2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Zge = ms.default = l2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/optionRole.js
var OC = f((hs) => {
"use strict";
Object.defineProperty(hs, "__esModule", {
value: !0
});
hs.default = void 0;
var u2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-checked": null,
"aria-posinset": null,
"aria-setsize": null,
"aria-selected": "false"
},
relatedConcepts: [{
concept: {
name: "item"
},
module: "XForms"
}, {
concept: {
name: "listitem"
},
module: "ARIA"
}, {
concept: {
name: "option"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-selected": "false"
},
superClass: [["roletype", "widget", "input"]]
}, tve = hs.default = u2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js
var SC = f((bs) => {
"use strict";
Object.defineProperty(bs, "__esModule", {
value: !0
});
bs.default = void 0;
var c2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "p"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, nve = bs.default = c2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js
var MC = f((ys) => {
"use strict";
Object.defineProperty(ys, "__esModule", {
value: !0
});
ys.default = void 0;
var d2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
name: "alt",
value: ""
}],
name: "img"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, ive = ys.default = d2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js
var AC = f((gs) => {
"use strict";
Object.defineProperty(gs, "__esModule", {
value: !0
});
gs.default = void 0;
var f2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-valuetext": null
},
relatedConcepts: [{
concept: {
name: "progress"
},
module: "HTML"
}, {
concept: {
name: "status"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
}, sve = gs.default = f2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/radioRole.js
var IC = f((vs) => {
"use strict";
Object.defineProperty(vs, "__esModule", {
value: !0
});
vs.default = void 0;
var p2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-checked": null,
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "radio"
}],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input"]]
}, uve = vs.default = p2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js
var NC = f((Es) => {
"use strict";
Object.defineProperty(Es, "__esModule", {
value: !0
});
Es.default = void 0;
var m2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null
},
relatedConcepts: [{
concept: {
name: "list"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["radio"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, dve = Es.default = m2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/regionRole.js
var jC = f((ws) => {
"use strict";
Object.defineProperty(ws, "__esModule", {
value: !0
});
ws.default = void 0;
var h2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "aria-label"
}],
name: "section"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-labelledby"
}],
name: "section"
},
module: "HTML"
}, {
concept: {
name: "Device Independence Glossart perceivable unit"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, pve = ws.default = h2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/rowRole.js
var $C = f((_s) => {
"use strict";
Object.defineProperty(_s, "__esModule", {
value: !0
});
_s.default = void 0;
var b2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-colindex": null,
"aria-expanded": null,
"aria-level": null,
"aria-posinset": null,
"aria-rowindex": null,
"aria-selected": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
name: "tr"
},
module: "HTML"
}],
requireContextRole: ["grid", "rowgroup", "table", "treegrid"],
requiredContextRole: ["grid", "rowgroup", "table", "treegrid"],
requiredOwnedElements: [["cell"], ["columnheader"], ["gridcell"], ["rowheader"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "group"], ["roletype", "widget"]]
}, hve = _s.default = b2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js
var LC = f((Cs) => {
"use strict";
Object.defineProperty(Cs, "__esModule", {
value: !0
});
Cs.default = void 0;
var y2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "tbody"
},
module: "HTML"
}, {
concept: {
name: "tfoot"
},
module: "HTML"
}, {
concept: {
name: "thead"
},
module: "HTML"
}],
requireContextRole: ["grid", "table", "treegrid"],
requiredContextRole: ["grid", "table", "treegrid"],
requiredOwnedElements: [["row"]],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, yve = Cs.default = y2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js
var DC = f((qs) => {
"use strict";
Object.defineProperty(qs, "__esModule", {
value: !0
});
qs.default = void 0;
var g2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-sort": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "scope",
value: "row"
}],
name: "th"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "scope",
value: "rowgroup"
}],
name: "th"
},
module: "HTML"
}],
requireContextRole: ["row", "rowgroup"],
requiredContextRole: ["row", "rowgroup"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
}, vve = qs.default = g2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js
var BC = f((Ps) => {
"use strict";
Object.defineProperty(Ps, "__esModule", {
value: !0
});
Ps.default = void 0;
var v2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-valuetext": null,
"aria-orientation": "vertical",
"aria-valuemax": "100",
"aria-valuemin": "0"
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-controls": null,
"aria-valuenow": null
},
superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
}, wve = Ps.default = v2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/searchRole.js
var kC = f((xs) => {
"use strict";
Object.defineProperty(xs, "__esModule", {
value: !0
});
xs.default = void 0;
var E2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Cve = xs.default = E2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js
var FC = f((Rs) => {
"use strict";
Object.defineProperty(Rs, "__esModule", {
value: !0
});
Rs.default = void 0;
var w2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "search"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "input", "textbox"]]
}, Pve = Rs.default = w2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js
var HC = f((Ts) => {
"use strict";
Object.defineProperty(Ts, "__esModule", {
value: !0
});
Ts.default = void 0;
var _2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-orientation": "horizontal",
"aria-valuemax": "100",
"aria-valuemin": "0",
"aria-valuenow": null,
"aria-valuetext": null
},
relatedConcepts: [{
concept: {
name: "hr"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, Rve = Ts.default = _2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js
var UC = f((Os) => {
"use strict";
Object.defineProperty(Os, "__esModule", {
value: !0
});
Os.default = void 0;
var C2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-haspopup": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-valuetext": null,
"aria-orientation": "horizontal",
"aria-valuemax": "100",
"aria-valuemin": "0"
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "range"
}],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-valuenow": null
},
superClass: [["roletype", "widget", "input"], ["roletype", "structure", "range"]]
}, Ove = Os.default = C2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js
var VC = f((Ss) => {
"use strict";
Object.defineProperty(Ss, "__esModule", {
value: !0
});
Ss.default = void 0;
var q2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null,
"aria-valuetext": null,
"aria-valuenow": "0"
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "number"
}],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "composite"], ["roletype", "widget", "input"], ["roletype", "structure", "range"]]
}, Mve = Ss.default = q2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/statusRole.js
var zC = f((Ms) => {
"use strict";
Object.defineProperty(Ms, "__esModule", {
value: !0
});
Ms.default = void 0;
var P2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-atomic": "true",
"aria-live": "polite"
},
relatedConcepts: [{
concept: {
name: "output"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Ive = Ms.default = P2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/strongRole.js
var WC = f((As) => {
"use strict";
Object.defineProperty(As, "__esModule", {
value: !0
});
As.default = void 0;
var x2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "strong"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, jve = As.default = x2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js
var GC = f((Is) => {
"use strict";
Object.defineProperty(Is, "__esModule", {
value: !0
});
Is.default = void 0;
var R2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "sub"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Lve = Is.default = R2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js
var KC = f((Ns) => {
"use strict";
Object.defineProperty(Ns, "__esModule", {
value: !0
});
Ns.default = void 0;
var T2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "sup"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Bve = Ns.default = T2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/switchRole.js
var YC = f((js) => {
"use strict";
Object.defineProperty(js, "__esModule", {
value: !0
});
js.default = void 0;
var O2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "button"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input", "checkbox"]]
}, Fve = js.default = O2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/tabRole.js
var XC = f(($s) => {
"use strict";
Object.defineProperty($s, "__esModule", {
value: !0
});
$s.default = void 0;
var S2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-posinset": null,
"aria-setsize": null,
"aria-selected": "false"
},
relatedConcepts: [],
requireContextRole: ["tablist"],
requiredContextRole: ["tablist"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "sectionhead"], ["roletype", "widget"]]
}, Uve = $s.default = S2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/tableRole.js
var JC = f((Ls) => {
"use strict";
Object.defineProperty(Ls, "__esModule", {
value: !0
});
Ls.default = void 0;
var M2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-colcount": null,
"aria-rowcount": null
},
relatedConcepts: [{
concept: {
name: "table"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["row"], ["row", "rowgroup"]],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, zve = Ls.default = M2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js
var QC = f((Ds) => {
"use strict";
Object.defineProperty(Ds, "__esModule", {
value: !0
});
Ds.default = void 0;
var A2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-level": null,
"aria-multiselectable": null,
"aria-orientation": "horizontal"
},
relatedConcepts: [{
module: "DAISY",
concept: {
name: "guide"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["tab"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite"]]
}, Gve = Ds.default = A2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js
var ZC = f((Bs) => {
"use strict";
Object.defineProperty(Bs, "__esModule", {
value: !0
});
Bs.default = void 0;
var I2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Yve = Bs.default = I2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/termRole.js
var eq = f((ks) => {
"use strict";
Object.defineProperty(ks, "__esModule", {
value: !0
});
ks.default = void 0;
var N2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "dfn"
},
module: "HTML"
}, {
concept: {
name: "dt"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Jve = ks.default = N2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js
var tq = f((Fs) => {
"use strict";
Object.defineProperty(Fs, "__esModule", {
value: !0
});
Fs.default = void 0;
var j2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-autocomplete": null,
"aria-errormessage": null,
"aria-haspopup": null,
"aria-invalid": null,
"aria-multiline": null,
"aria-placeholder": null,
"aria-readonly": null,
"aria-required": null
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["undefined"],
name: "type"
}, {
constraints: ["undefined"],
name: "list"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "email"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "tel"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "text"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "url"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
name: "input"
},
module: "XForms"
}, {
concept: {
name: "textarea"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "input"]]
}, Zve = Fs.default = j2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/timeRole.js
var rq = f((Hs) => {
"use strict";
Object.defineProperty(Hs, "__esModule", {
value: !0
});
Hs.default = void 0;
var $2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "time"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, tEe = Hs.default = $2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/timerRole.js
var nq = f((Us) => {
"use strict";
Object.defineProperty(Us, "__esModule", {
value: !0
});
Us.default = void 0;
var L2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "status"]]
}, nEe = Us.default = L2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js
var oq = f((Vs) => {
"use strict";
Object.defineProperty(Vs, "__esModule", {
value: !0
});
Vs.default = void 0;
var D2 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": "horizontal"
},
relatedConcepts: [{
concept: {
name: "menubar"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "group"]]
}, iEe = Vs.default = D2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js
var iq = f((zs) => {
"use strict";
Object.defineProperty(zs, "__esModule", {
value: !0
});
zs.default = void 0;
var B2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, sEe = zs.default = B2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/treeRole.js
var aq = f((Ws) => {
"use strict";
Object.defineProperty(Ws, "__esModule", {
value: !0
});
Ws.default = void 0;
var k2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null,
"aria-multiselectable": null,
"aria-required": null,
"aria-orientation": "vertical"
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["treeitem", "group"], ["treeitem"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, uEe = Ws.default = k2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js
var sq = f((Gs) => {
"use strict";
Object.defineProperty(Gs, "__esModule", {
value: !0
});
Gs.default = void 0;
var F2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["row"], ["row", "rowgroup"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "grid"], ["roletype", "structure", "section", "table", "grid"], ["roletype", "widget", "\
composite", "select", "tree"], ["roletype", "structure", "section", "group", "select", "tree"]]
}, dEe = Gs.default = F2;
});
// ../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js
var lq = f((Ks) => {
"use strict";
Object.defineProperty(Ks, "__esModule", {
value: !0
});
Ks.default = void 0;
var H2 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-expanded": null,
"aria-haspopup": null
},
relatedConcepts: [],
requireContextRole: ["group", "tree"],
requiredContextRole: ["group", "tree"],
requiredOwnedElements: [],
requiredProps: {
"aria-selected": null
},
superClass: [["roletype", "structure", "section", "listitem"], ["roletype", "widget", "input", "option"]]
}, pEe = Ks.default = H2;
});
// ../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js
var uq = f((Ys) => {
"use strict";
Object.defineProperty(Ys, "__esModule", {
value: !0
});
Ys.default = void 0;
var U2 = j(N_()), V2 = j(j_()), z2 = j($_()), W2 = j(L_()), G2 = j(D_()), K2 = j(B_()), Y2 = j(k_()), X2 = j(F_()), J2 = j(H_()), Q2 = j(U_()),
Z2 = j(V_()), eH = j(z_()), tH = j(W_()), rH = j(G_()), nH = j(K_()), oH = j(Y_()), iH = j(X_()), aH = j(J_()), sH = j(Q_()), lH = j(Z_()),
uH = j(eC()), cH = j(tC()), dH = j(rC()), fH = j(nC()), pH = j(oC()), mH = j(iC()), hH = j(aC()), bH = j(sC()), yH = j(lC()), gH = j(uC()),
vH = j(cC()), EH = j(dC()), wH = j(fC()), _H = j(pC()), CH = j(mC()), qH = j(hC()), PH = j(bC()), xH = j(yC()), RH = j(gC()), TH = j(vC()),
OH = j(EC()), SH = j(wC()), MH = j(_C()), AH = j(CC()), IH = j(qC()), NH = j(PC()), jH = j(xC()), $H = j(RC()), LH = j(TC()), DH = j(OC()),
BH = j(SC()), kH = j(MC()), FH = j(AC()), HH = j(IC()), UH = j(NC()), VH = j(jC()), zH = j($C()), WH = j(LC()), GH = j(DC()), KH = j(BC()),
YH = j(kC()), XH = j(FC()), JH = j(HC()), QH = j(UC()), ZH = j(VC()), eU = j(zC()), tU = j(WC()), rU = j(GC()), nU = j(KC()), oU = j(YC()),
iU = j(XC()), aU = j(JC()), sU = j(QC()), lU = j(ZC()), uU = j(eq()), cU = j(tq()), dU = j(rq()), fU = j(nq()), pU = j(oq()), mU = j(iq()),
hU = j(aq()), bU = j(sq()), yU = j(lq());
function j(e) {
return e && e.__esModule ? e : { default: e };
}
o(j, "_interopRequireDefault");
var gU = [["alert", U2.default], ["alertdialog", V2.default], ["application", z2.default], ["article", W2.default], ["banner", G2.default],
["blockquote", K2.default], ["button", Y2.default], ["caption", X2.default], ["cell", J2.default], ["checkbox", Q2.default], ["code", Z2.default],
["columnheader", eH.default], ["combobox", tH.default], ["complementary", rH.default], ["contentinfo", nH.default], ["definition", oH.default],
["deletion", iH.default], ["dialog", aH.default], ["directory", sH.default], ["document", lH.default], ["emphasis", uH.default], ["feed", cH.
default], ["figure", dH.default], ["form", fH.default], ["generic", pH.default], ["grid", mH.default], ["gridcell", hH.default], ["group",
bH.default], ["heading", yH.default], ["img", gH.default], ["insertion", vH.default], ["link", EH.default], ["list", wH.default], ["listbo\
x", _H.default], ["listitem", CH.default], ["log", qH.default], ["main", PH.default], ["mark", xH.default], ["marquee", RH.default], ["math",
TH.default], ["menu", OH.default], ["menubar", SH.default], ["menuitem", MH.default], ["menuitemcheckbox", AH.default], ["menuitemradio", IH.
default], ["meter", NH.default], ["navigation", jH.default], ["none", $H.default], ["note", LH.default], ["option", DH.default], ["paragra\
ph", BH.default], ["presentation", kH.default], ["progressbar", FH.default], ["radio", HH.default], ["radiogroup", UH.default], ["region", VH.
default], ["row", zH.default], ["rowgroup", WH.default], ["rowheader", GH.default], ["scrollbar", KH.default], ["search", YH.default], ["s\
earchbox", XH.default], ["separator", JH.default], ["slider", QH.default], ["spinbutton", ZH.default], ["status", eU.default], ["strong", tU.
default], ["subscript", rU.default], ["superscript", nU.default], ["switch", oU.default], ["tab", iU.default], ["table", aU.default], ["ta\
blist", sU.default], ["tabpanel", lU.default], ["term", uU.default], ["textbox", cU.default], ["time", dU.default], ["timer", fU.default], [
"toolbar", pU.default], ["tooltip", mU.default], ["tree", hU.default], ["treegrid", bU.default], ["treeitem", yU.default]], hEe = Ys.default =
gU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js
var cq = f((Xs) => {
"use strict";
Object.defineProperty(Xs, "__esModule", {
value: !0
});
Xs.default = void 0;
var vU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "abstract [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, gEe = Xs.default = vU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js
var dq = f((Js) => {
"use strict";
Object.defineProperty(Js, "__esModule", {
value: !0
});
Js.default = void 0;
var EU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "acknowledgments [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, EEe = Js.default = EU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js
var fq = f((Qs) => {
"use strict";
Object.defineProperty(Qs, "__esModule", {
value: !0
});
Qs.default = void 0;
var wU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "afterword [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, _Ee = Qs.default = wU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js
var pq = f((Zs) => {
"use strict";
Object.defineProperty(Zs, "__esModule", {
value: !0
});
Zs.default = void 0;
var _U = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "appendix [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, qEe = Zs.default = _U;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js
var mq = f((el) => {
"use strict";
Object.defineProperty(el, "__esModule", {
value: !0
});
el.default = void 0;
var CU = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "referrer [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, xEe = el.default = CU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js
var hq = f((tl) => {
"use strict";
Object.defineProperty(tl, "__esModule", {
value: !0
});
tl.default = void 0;
var qU = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "EPUB biblioentry [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: ["doc-bibliography"],
requiredContextRole: ["doc-bibliography"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "listitem"]]
}, TEe = tl.default = qU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js
var bq = f((rl) => {
"use strict";
Object.defineProperty(rl, "__esModule", {
value: !0
});
rl.default = void 0;
var PU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "bibliography [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["doc-biblioentry"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, SEe = rl.default = PU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js
var yq = f((nl) => {
"use strict";
Object.defineProperty(nl, "__esModule", {
value: !0
});
nl.default = void 0;
var xU = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "biblioref [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, AEe = nl.default = xU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js
var gq = f((ol) => {
"use strict";
Object.defineProperty(ol, "__esModule", {
value: !0
});
ol.default = void 0;
var RU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "chapter [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, NEe = ol.default = RU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js
var vq = f((il) => {
"use strict";
Object.defineProperty(il, "__esModule", {
value: !0
});
il.default = void 0;
var TU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "colophon [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, $Ee = il.default = TU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js
var Eq = f((al) => {
"use strict";
Object.defineProperty(al, "__esModule", {
value: !0
});
al.default = void 0;
var OU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "conclusion [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, DEe = al.default = OU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js
var wq = f((sl) => {
"use strict";
Object.defineProperty(sl, "__esModule", {
value: !0
});
sl.default = void 0;
var SU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "cover [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "img"]]
}, kEe = sl.default = SU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js
var _q = f((ll) => {
"use strict";
Object.defineProperty(ll, "__esModule", {
value: !0
});
ll.default = void 0;
var MU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "credit [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, HEe = ll.default = MU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js
var Cq = f((ul) => {
"use strict";
Object.defineProperty(ul, "__esModule", {
value: !0
});
ul.default = void 0;
var AU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "credits [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, VEe = ul.default = AU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js
var qq = f((cl) => {
"use strict";
Object.defineProperty(cl, "__esModule", {
value: !0
});
cl.default = void 0;
var IU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "dedication [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, WEe = cl.default = IU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js
var Pq = f((dl) => {
"use strict";
Object.defineProperty(dl, "__esModule", {
value: !0
});
dl.default = void 0;
var NU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "rearnote [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: ["doc-endnotes"],
requiredContextRole: ["doc-endnotes"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "listitem"]]
}, KEe = dl.default = NU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js
var xq = f((fl) => {
"use strict";
Object.defineProperty(fl, "__esModule", {
value: !0
});
fl.default = void 0;
var jU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "rearnotes [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["doc-endnote"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, XEe = fl.default = jU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js
var Rq = f((pl) => {
"use strict";
Object.defineProperty(pl, "__esModule", {
value: !0
});
pl.default = void 0;
var $U = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "epigraph [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, QEe = pl.default = $U;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js
var Tq = f((ml) => {
"use strict";
Object.defineProperty(ml, "__esModule", {
value: !0
});
ml.default = void 0;
var LU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "epilogue [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, ewe = ml.default = LU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js
var Oq = f((hl) => {
"use strict";
Object.defineProperty(hl, "__esModule", {
value: !0
});
hl.default = void 0;
var DU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "errata [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, rwe = hl.default = DU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js
var Sq = f((bl) => {
"use strict";
Object.defineProperty(bl, "__esModule", {
value: !0
});
bl.default = void 0;
var BU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, owe = bl.default = BU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js
var Mq = f((yl) => {
"use strict";
Object.defineProperty(yl, "__esModule", {
value: !0
});
yl.default = void 0;
var kU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "footnote [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, awe = yl.default = kU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js
var Aq = f((gl) => {
"use strict";
Object.defineProperty(gl, "__esModule", {
value: !0
});
gl.default = void 0;
var FU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "foreword [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, lwe = gl.default = FU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js
var Iq = f((vl) => {
"use strict";
Object.defineProperty(vl, "__esModule", {
value: !0
});
vl.default = void 0;
var HU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "glossary [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["definition"], ["term"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, cwe = vl.default = HU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js
var Nq = f((El) => {
"use strict";
Object.defineProperty(El, "__esModule", {
value: !0
});
El.default = void 0;
var UU = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "glossref [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, fwe = El.default = UU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js
var jq = f((wl) => {
"use strict";
Object.defineProperty(wl, "__esModule", {
value: !0
});
wl.default = void 0;
var VU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "index [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
}, mwe = wl.default = VU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js
var $q = f((_l) => {
"use strict";
Object.defineProperty(_l, "__esModule", {
value: !0
});
_l.default = void 0;
var zU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "introduction [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, bwe = _l.default = zU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js
var Lq = f((Cl) => {
"use strict";
Object.defineProperty(Cl, "__esModule", {
value: !0
});
Cl.default = void 0;
var WU = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "noteref [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, gwe = Cl.default = WU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js
var Dq = f((ql) => {
"use strict";
Object.defineProperty(ql, "__esModule", {
value: !0
});
ql.default = void 0;
var GU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "notice [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "note"]]
}, Ewe = ql.default = GU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js
var Bq = f((Pl) => {
"use strict";
Object.defineProperty(Pl, "__esModule", {
value: !0
});
Pl.default = void 0;
var KU = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "pagebreak [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "separator"]]
}, _we = Pl.default = KU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js
var kq = f((xl) => {
"use strict";
Object.defineProperty(xl, "__esModule", {
value: !0
});
xl.default = void 0;
var YU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: [],
props: {
"aria-braillelabel": null,
"aria-brailleroledescription": null,
"aria-description": null,
"aria-disabled": null,
"aria-errormessage": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, qwe = xl.default = YU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js
var Fq = f((Rl) => {
"use strict";
Object.defineProperty(Rl, "__esModule", {
value: !0
});
Rl.default = void 0;
var XU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: [],
props: {
"aria-braillelabel": null,
"aria-brailleroledescription": null,
"aria-description": null,
"aria-disabled": null,
"aria-errormessage": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, xwe = Rl.default = XU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js
var Hq = f((Tl) => {
"use strict";
Object.defineProperty(Tl, "__esModule", {
value: !0
});
Tl.default = void 0;
var JU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "page-list [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
}, Twe = Tl.default = JU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js
var Uq = f((Ol) => {
"use strict";
Object.defineProperty(Ol, "__esModule", {
value: !0
});
Ol.default = void 0;
var QU = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "part [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Swe = Ol.default = QU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js
var Vq = f((Sl) => {
"use strict";
Object.defineProperty(Sl, "__esModule", {
value: !0
});
Sl.default = void 0;
var ZU = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "preface [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Awe = Sl.default = ZU;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js
var zq = f((Ml) => {
"use strict";
Object.defineProperty(Ml, "__esModule", {
value: !0
});
Ml.default = void 0;
var e5 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "prologue [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Nwe = Ml.default = e5;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js
var Wq = f((Al) => {
"use strict";
Object.defineProperty(Al, "__esModule", {
value: !0
});
Al.default = void 0;
var t5 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "pullquote [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["none"]]
}, $we = Al.default = t5;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js
var Gq = f((Il) => {
"use strict";
Object.defineProperty(Il, "__esModule", {
value: !0
});
Il.default = void 0;
var r5 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "qna [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Dwe = Il.default = r5;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js
var Kq = f((Nl) => {
"use strict";
Object.defineProperty(Nl, "__esModule", {
value: !0
});
Nl.default = void 0;
var n5 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "subtitle [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "sectionhead"]]
}, kwe = Nl.default = n5;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js
var Yq = f((jl) => {
"use strict";
Object.defineProperty(jl, "__esModule", {
value: !0
});
jl.default = void 0;
var o5 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "help [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "note"]]
}, Hwe = jl.default = o5;
});
// ../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js
var Xq = f(($l) => {
"use strict";
Object.defineProperty($l, "__esModule", {
value: !0
});
$l.default = void 0;
var i5 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "toc [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
}, Vwe = $l.default = i5;
});
// ../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js
var Jq = f((Ll) => {
"use strict";
Object.defineProperty(Ll, "__esModule", {
value: !0
});
Ll.default = void 0;
var a5 = X(cq()), s5 = X(dq()), l5 = X(fq()), u5 = X(pq()), c5 = X(mq()), d5 = X(hq()), f5 = X(bq()), p5 = X(yq()), m5 = X(gq()), h5 = X(vq()),
b5 = X(Eq()), y5 = X(wq()), g5 = X(_q()), v5 = X(Cq()), E5 = X(qq()), w5 = X(Pq()), _5 = X(xq()), C5 = X(Rq()), q5 = X(Tq()), P5 = X(Oq()),
x5 = X(Sq()), R5 = X(Mq()), T5 = X(Aq()), O5 = X(Iq()), S5 = X(Nq()), M5 = X(jq()), A5 = X($q()), I5 = X(Lq()), N5 = X(Dq()), j5 = X(Bq()),
$5 = X(kq()), L5 = X(Fq()), D5 = X(Hq()), B5 = X(Uq()), k5 = X(Vq()), F5 = X(zq()), H5 = X(Wq()), U5 = X(Gq()), V5 = X(Kq()), z5 = X(Yq()),
W5 = X(Xq());
function X(e) {
return e && e.__esModule ? e : { default: e };
}
o(X, "_interopRequireDefault");
var G5 = [["doc-abstract", a5.default], ["doc-acknowledgments", s5.default], ["doc-afterword", l5.default], ["doc-appendix", u5.default], [
"doc-backlink", c5.default], ["doc-biblioentry", d5.default], ["doc-bibliography", f5.default], ["doc-biblioref", p5.default], ["doc-chapt\
er", m5.default], ["doc-colophon", h5.default], ["doc-conclusion", b5.default], ["doc-cover", y5.default], ["doc-credit", g5.default], ["doc\
-credits", v5.default], ["doc-dedication", E5.default], ["doc-endnote", w5.default], ["doc-endnotes", _5.default], ["doc-epigraph", C5.default],
["doc-epilogue", q5.default], ["doc-errata", P5.default], ["doc-example", x5.default], ["doc-footnote", R5.default], ["doc-foreword", T5.default],
["doc-glossary", O5.default], ["doc-glossref", S5.default], ["doc-index", M5.default], ["doc-introduction", A5.default], ["doc-noteref", I5.
default], ["doc-notice", N5.default], ["doc-pagebreak", j5.default], ["doc-pagefooter", $5.default], ["doc-pageheader", L5.default], ["doc\
-pagelist", D5.default], ["doc-part", B5.default], ["doc-preface", k5.default], ["doc-prologue", F5.default], ["doc-pullquote", H5.default],
["doc-qna", U5.default], ["doc-subtitle", V5.default], ["doc-tip", z5.default], ["doc-toc", W5.default]], Wwe = Ll.default = G5;
});
// ../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js
var Qq = f((Dl) => {
"use strict";
Object.defineProperty(Dl, "__esModule", {
value: !0
});
Dl.default = void 0;
var K5 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
module: "GRAPHICS",
concept: {
name: "graphics-object"
}
}, {
module: "ARIA",
concept: {
name: "img"
}
}, {
module: "ARIA",
concept: {
name: "article"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "document"]]
}, Ywe = Dl.default = K5;
});
// ../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js
var Zq = f((Bl) => {
"use strict";
Object.defineProperty(Bl, "__esModule", {
value: !0
});
Bl.default = void 0;
var Y5 = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
module: "GRAPHICS",
concept: {
name: "graphics-document"
}
}, {
module: "ARIA",
concept: {
name: "group"
}
}, {
module: "ARIA",
concept: {
name: "img"
}
}, {
module: "GRAPHICS",
concept: {
name: "graphics-symbol"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "group"]]
}, Jwe = Bl.default = Y5;
});
// ../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js
var e0 = f((kl) => {
"use strict";
Object.defineProperty(kl, "__esModule", {
value: !0
});
kl.default = void 0;
var X5 = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "img"]]
}, Zwe = kl.default = X5;
});
// ../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js
var t0 = f((Fl) => {
"use strict";
Object.defineProperty(Fl, "__esModule", {
value: !0
});
Fl.default = void 0;
var J5 = vh(Qq()), Q5 = vh(Zq()), Z5 = vh(e0());
function vh(e) {
return e && e.__esModule ? e : { default: e };
}
o(vh, "_interopRequireDefault");
var eV = [["graphics-document", J5.default], ["graphics-object", Q5.default], ["graphics-symbol", Z5.default]], t_e = Fl.default = eV;
});
// ../node_modules/aria-query/lib/rolesMap.js
var Ul = f((Hl) => {
"use strict";
Object.defineProperty(Hl, "__esModule", {
value: !0
});
Hl.default = void 0;
var tV = vo(I_()), rV = vo(uq()), nV = vo(Jq()), oV = vo(t0()), iV = vo(pn());
function vo(e) {
return e && e.__esModule ? e : { default: e };
}
o(vo, "_interopRequireDefault");
function Eh(e, t) {
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (!r) {
if (Array.isArray(e) || (r = n0(e)) || t && e && typeof e.length == "number") {
r && (e = r);
var n = 0, i = /* @__PURE__ */ o(function() {
}, "F");
return { s: i, n: /* @__PURE__ */ o(function() {
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
}, "n"), e: /* @__PURE__ */ o(function(u) {
throw u;
}, "e"), f: i };
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var a, s = !0, l = !1;
return { s: /* @__PURE__ */ o(function() {
r = r.call(e);
}, "s"), n: /* @__PURE__ */ o(function() {
var u = r.next();
return s = u.done, u;
}, "n"), e: /* @__PURE__ */ o(function(u) {
l = !0, a = u;
}, "e"), f: /* @__PURE__ */ o(function() {
try {
s || r.return == null || r.return();
} finally {
if (l) throw a;
}
}, "f") };
}
o(Eh, "_createForOfIteratorHelper");
function go(e, t) {
return lV(e) || sV(e, t) || n0(e, t) || aV();
}
o(go, "_slicedToArray");
function aV() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(aV, "_nonIterableRest");
function n0(e, t) {
if (e) {
if (typeof e == "string") return r0(e, t);
var r = {}.toString.call(e).slice(8, -1);
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
test(r) ? r0(e, t) : void 0;
}
}
o(n0, "_unsupportedIterableToArray");
function r0(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
return n;
}
o(r0, "_arrayLikeToArray");
function sV(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n, i, a, s, l = [], c = !0, u = !1;
try {
if (a = (r = r.call(e)).next, t === 0) {
if (Object(r) !== r) return;
c = !1;
} else for (; !(c = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); c = !0) ;
} catch (d) {
u = !0, i = d;
} finally {
try {
if (!c && r.return != null && (s = r.return(), Object(s) !== s)) return;
} finally {
if (u) throw i;
}
}
return l;
}
}
o(sV, "_iterableToArrayLimit");
function lV(e) {
if (Array.isArray(e)) return e;
}
o(lV, "_arrayWithHoles");
var ir = [].concat(tV.default, rV.default, nV.default, oV.default);
ir.forEach(function(e) {
var t = go(e, 2), r = t[1], n = Eh(r.superClass), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = i.value, s = Eh(a), l;
try {
var c = /* @__PURE__ */ o(function() {
var d = l.value, p = ir.filter(function(w) {
var g = go(w, 1), q = g[0];
return q === d;
})[0];
if (p)
for (var b = p[1], m = 0, y = Object.keys(b.props); m < y.length; m++) {
var h = y[m];
Object.prototype.hasOwnProperty.call(r.props, h) || (r.props[h] = b.props[h]);
}
}, "_loop");
for (s.s(); !(l = s.n()).done; )
c();
} catch (u) {
s.e(u);
} finally {
s.f();
}
}
} catch (u) {
n.e(u);
} finally {
n.f();
}
});
var wh = {
entries: /* @__PURE__ */ o(function() {
return ir;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = Eh(ir), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = go(i.value, 2), s = a[0], l = a[1];
t.call(r, l, s, ir);
}
} catch (c) {
n.e(c);
} finally {
n.f();
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = ir.filter(function(n) {
return n[0] === t;
})[0];
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!wh.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return ir.map(function(t) {
var r = go(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return ir.map(function(t) {
var r = go(t, 2), n = r[1];
return n;
});
}, "values")
}, o_e = Hl.default = (0, iV.default)(wh, wh.entries());
});
// ../node_modules/aria-query/lib/elementRoleMap.js
var c0 = f((Kl) => {
"use strict";
Object.defineProperty(Kl, "__esModule", {
value: !0
});
Kl.default = void 0;
var uV = l0(pn()), s0 = l0(Ul());
function l0(e) {
return e && e.__esModule ? e : { default: e };
}
o(l0, "_interopRequireDefault");
function _h(e, t) {
return pV(e) || fV(e, t) || dV(e, t) || cV();
}
o(_h, "_slicedToArray");
function cV() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(cV, "_nonIterableRest");
function dV(e, t) {
if (e) {
if (typeof e == "string") return o0(e, t);
var r = {}.toString.call(e).slice(8, -1);
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
test(r) ? o0(e, t) : void 0;
}
}
o(dV, "_unsupportedIterableToArray");
function o0(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
return n;
}
o(o0, "_arrayLikeToArray");
function fV(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n, i, a, s, l = [], c = !0, u = !1;
try {
if (a = (r = r.call(e)).next, t === 0) {
if (Object(r) !== r) return;
c = !1;
} else for (; !(c = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); c = !0) ;
} catch (d) {
u = !0, i = d;
} finally {
try {
if (!c && r.return != null && (s = r.return(), Object(s) !== s)) return;
} finally {
if (u) throw i;
}
}
return l;
}
}
o(fV, "_iterableToArrayLimit");
function pV(e) {
if (Array.isArray(e)) return e;
}
o(pV, "_arrayWithHoles");
var ar = [], i0 = s0.default.keys();
for (Vl = 0; Vl < i0.length; Vl++)
if (zl = i0[Vl], Wl = s0.default.get(zl), Wl)
for (Ch = [].concat(Wl.baseConcepts, Wl.relatedConcepts), a0 = /* @__PURE__ */ o(function() {
var t = Ch[Gl];
if (t.module === "HTML") {
var r = t.concept;
if (r) {
var n = ar.filter(function(l) {
return mV(l[0], r);
})[0], i;
n ? i = n[1] : i = [];
for (var a = !0, s = 0; s < i.length; s++)
if (i[s] === zl) {
a = !1;
break;
}
a && i.push(zl), n || ar.push([r, i]);
}
}
}, "_loop"), Gl = 0; Gl < Ch.length; Gl++)
a0();
var zl, Wl, Ch, a0, Gl, Vl, qh = {
entries: /* @__PURE__ */ o(function() {
return ar;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = ar; n < i.length; n++) {
var a = _h(i[n], 2), s = a[0], l = a[1];
t.call(r, l, s, ar);
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = ar.filter(function(n) {
return t.name === n[0].name && u0(t.attributes, n[0].attributes);
})[0];
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!qh.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return ar.map(function(t) {
var r = _h(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return ar.map(function(t) {
var r = _h(t, 2), n = r[1];
return n;
});
}, "values")
};
function mV(e, t) {
return e.name === t.name && hV(e.constraints, t.constraints) && u0(e.attributes, t.attributes);
}
o(mV, "ariaRoleRelationConceptEquals");
function hV(e, t) {
if (e === void 0 && t !== void 0 || e !== void 0 && t === void 0)
return !1;
if (e !== void 0 && t !== void 0) {
if (e.length !== t.length)
return !1;
for (var r = 0; r < e.length; r++)
if (e[r] !== t[r])
return !1;
}
return !0;
}
o(hV, "ariaRoleRelationConstraintsEquals");
function u0(e, t) {
if (e === void 0 && t !== void 0 || e !== void 0 && t === void 0)
return !1;
if (e !== void 0 && t !== void 0) {
if (e.length !== t.length)
return !1;
for (var r = 0; r < e.length; r++) {
if (e[r].name !== t[r].name || e[r].value !== t[r].value || e[r].constraints === void 0 && t[r].constraints !== void 0 || e[r].constraints !==
void 0 && t[r].constraints === void 0)
return !1;
if (e[r].constraints !== void 0 && t[r].constraints !== void 0) {
if (e[r].constraints.length !== t[r].constraints.length)
return !1;
for (var n = 0; n < e[r].constraints.length; n++)
if (e[r].constraints[n] !== t[r].constraints[n])
return !1;
}
}
}
return !0;
}
o(u0, "ariaRoleRelationConceptAttributeEquals");
var s_e = Kl.default = (0, uV.default)(qh, qh.entries());
});
// ../node_modules/aria-query/lib/roleElementMap.js
var h0 = f((Zl) => {
"use strict";
Object.defineProperty(Zl, "__esModule", {
value: !0
});
Zl.default = void 0;
var bV = m0(pn()), p0 = m0(Ul());
function m0(e) {
return e && e.__esModule ? e : { default: e };
}
o(m0, "_interopRequireDefault");
function Ph(e, t) {
return EV(e) || vV(e, t) || gV(e, t) || yV();
}
o(Ph, "_slicedToArray");
function yV() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(yV, "_nonIterableRest");
function gV(e, t) {
if (e) {
if (typeof e == "string") return d0(e, t);
var r = {}.toString.call(e).slice(8, -1);
return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.
test(r) ? d0(e, t) : void 0;
}
}
o(gV, "_unsupportedIterableToArray");
function d0(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
return n;
}
o(d0, "_arrayLikeToArray");
function vV(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n, i, a, s, l = [], c = !0, u = !1;
try {
if (a = (r = r.call(e)).next, t === 0) {
if (Object(r) !== r) return;
c = !1;
} else for (; !(c = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); c = !0) ;
} catch (d) {
u = !0, i = d;
} finally {
try {
if (!c && r.return != null && (s = r.return(), Object(s) !== s)) return;
} finally {
if (u) throw i;
}
}
return l;
}
}
o(vV, "_iterableToArrayLimit");
function EV(e) {
if (Array.isArray(e)) return e;
}
o(EV, "_arrayWithHoles");
var Dr = [], f0 = p0.default.keys();
for (Yl = 0; Yl < f0.length; Yl++)
if (xh = f0[Yl], Xl = p0.default.get(xh), Jl = [], Xl) {
for (Rh = [].concat(Xl.baseConcepts, Xl.relatedConcepts), Ql = 0; Ql < Rh.length; Ql++)
Th = Rh[Ql], Th.module === "HTML" && (Oh = Th.concept, Oh != null && Jl.push(Oh));
Jl.length > 0 && Dr.push([xh, Jl]);
}
var xh, Xl, Jl, Rh, Th, Oh, Ql, Yl, Sh = {
entries: /* @__PURE__ */ o(function() {
return Dr;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = 0, i = Dr; n < i.length; n++) {
var a = Ph(i[n], 2), s = a[0], l = a[1];
t.call(r, l, s, Dr);
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = Dr.filter(function(n) {
return n[0] === t;
})[0];
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!Sh.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return Dr.map(function(t) {
var r = Ph(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return Dr.map(function(t) {
var r = Ph(t, 2), n = r[1];
return n;
});
}, "values")
}, c_e = Zl.default = (0, bV.default)(Sh, Sh.entries());
});
// ../node_modules/aria-query/lib/index.js
var Mh = f((bt) => {
"use strict";
Object.defineProperty(bt, "__esModule", {
value: !0
});
bt.roles = bt.roleElements = bt.elementRoles = bt.dom = bt.aria = void 0;
var wV = Eo(g_()), _V = Eo(E_()), CV = Eo(Ul()), qV = Eo(c0()), PV = Eo(h0());
function Eo(e) {
return e && e.__esModule ? e : { default: e };
}
o(Eo, "_interopRequireDefault");
var p_e = bt.aria = wV.default, m_e = bt.dom = _V.default, h_e = bt.roles = CV.default, b_e = bt.elementRoles = qV.default, y_e = bt.roleElements =
PV.default;
});
// ../node_modules/color-name/index.js
var y0 = f((E_e, b0) => {
"use strict";
b0.exports = {
aliceblue: [240, 248, 255],
antiquewhite: [250, 235, 215],
aqua: [0, 255, 255],
aquamarine: [127, 255, 212],
azure: [240, 255, 255],
beige: [245, 245, 220],
bisque: [255, 228, 196],
black: [0, 0, 0],
blanchedalmond: [255, 235, 205],
blue: [0, 0, 255],
blueviolet: [138, 43, 226],
brown: [165, 42, 42],
burlywood: [222, 184, 135],
cadetblue: [95, 158, 160],
chartreuse: [127, 255, 0],
chocolate: [210, 105, 30],
coral: [255, 127, 80],
cornflowerblue: [100, 149, 237],
cornsilk: [255, 248, 220],
crimson: [220, 20, 60],
cyan: [0, 255, 255],
darkblue: [0, 0, 139],
darkcyan: [0, 139, 139],
darkgoldenrod: [184, 134, 11],
darkgray: [169, 169, 169],
darkgreen: [0, 100, 0],
darkgrey: [169, 169, 169],
darkkhaki: [189, 183, 107],
darkmagenta: [139, 0, 139],
darkolivegreen: [85, 107, 47],
darkorange: [255, 140, 0],
darkorchid: [153, 50, 204],
darkred: [139, 0, 0],
darksalmon: [233, 150, 122],
darkseagreen: [143, 188, 143],
darkslateblue: [72, 61, 139],
darkslategray: [47, 79, 79],
darkslategrey: [47, 79, 79],
darkturquoise: [0, 206, 209],
darkviolet: [148, 0, 211],
deeppink: [255, 20, 147],
deepskyblue: [0, 191, 255],
dimgray: [105, 105, 105],
dimgrey: [105, 105, 105],
dodgerblue: [30, 144, 255],
firebrick: [178, 34, 34],
floralwhite: [255, 250, 240],
forestgreen: [34, 139, 34],
fuchsia: [255, 0, 255],
gainsboro: [220, 220, 220],
ghostwhite: [248, 248, 255],
gold: [255, 215, 0],
goldenrod: [218, 165, 32],
gray: [128, 128, 128],
green: [0, 128, 0],
greenyellow: [173, 255, 47],
grey: [128, 128, 128],
honeydew: [240, 255, 240],
hotpink: [255, 105, 180],
indianred: [205, 92, 92],
indigo: [75, 0, 130],
ivory: [255, 255, 240],
khaki: [240, 230, 140],
lavender: [230, 230, 250],
lavenderblush: [255, 240, 245],
lawngreen: [124, 252, 0],
lemonchiffon: [255, 250, 205],
lightblue: [173, 216, 230],
lightcoral: [240, 128, 128],
lightcyan: [224, 255, 255],
lightgoldenrodyellow: [250, 250, 210],
lightgray: [211, 211, 211],
lightgreen: [144, 238, 144],
lightgrey: [211, 211, 211],
lightpink: [255, 182, 193],
lightsalmon: [255, 160, 122],
lightseagreen: [32, 178, 170],
lightskyblue: [135, 206, 250],
lightslategray: [119, 136, 153],
lightslategrey: [119, 136, 153],
lightsteelblue: [176, 196, 222],
lightyellow: [255, 255, 224],
lime: [0, 255, 0],
limegreen: [50, 205, 50],
linen: [250, 240, 230],
magenta: [255, 0, 255],
maroon: [128, 0, 0],
mediumaquamarine: [102, 205, 170],
mediumblue: [0, 0, 205],
mediumorchid: [186, 85, 211],
mediumpurple: [147, 112, 219],
mediumseagreen: [60, 179, 113],
mediumslateblue: [123, 104, 238],
mediumspringgreen: [0, 250, 154],
mediumturquoise: [72, 209, 204],
mediumvioletred: [199, 21, 133],
midnightblue: [25, 25, 112],
mintcream: [245, 255, 250],
mistyrose: [255, 228, 225],
moccasin: [255, 228, 181],
navajowhite: [255, 222, 173],
navy: [0, 0, 128],
oldlace: [253, 245, 230],
olive: [128, 128, 0],
olivedrab: [107, 142, 35],
orange: [255, 165, 0],
orangered: [255, 69, 0],
orchid: [218, 112, 214],
palegoldenrod: [238, 232, 170],
palegreen: [152, 251, 152],
paleturquoise: [175, 238, 238],
palevioletred: [219, 112, 147],
papayawhip: [255, 239, 213],
peachpuff: [255, 218, 185],
peru: [205, 133, 63],
pink: [255, 192, 203],
plum: [221, 160, 221],
powderblue: [176, 224, 230],
purple: [128, 0, 128],
rebeccapurple: [102, 51, 153],
red: [255, 0, 0],
rosybrown: [188, 143, 143],
royalblue: [65, 105, 225],
saddlebrown: [139, 69, 19],
salmon: [250, 128, 114],
sandybrown: [244, 164, 96],
seagreen: [46, 139, 87],
seashell: [255, 245, 238],
sienna: [160, 82, 45],
silver: [192, 192, 192],
skyblue: [135, 206, 235],
slateblue: [106, 90, 205],
slategray: [112, 128, 144],
slategrey: [112, 128, 144],
snow: [255, 250, 250],
springgreen: [0, 255, 127],
steelblue: [70, 130, 180],
tan: [210, 180, 140],
teal: [0, 128, 128],
thistle: [216, 191, 216],
tomato: [255, 99, 71],
turquoise: [64, 224, 208],
violet: [238, 130, 238],
wheat: [245, 222, 179],
white: [255, 255, 255],
whitesmoke: [245, 245, 245],
yellow: [255, 255, 0],
yellowgreen: [154, 205, 50]
};
});
// ../node_modules/color-convert/conversions.js
var Ah = f((w_e, v0) => {
var wo = y0(), g0 = {};
for (let e of Object.keys(wo))
g0[wo[e]] = e;
var D = {
rgb: { channels: 3, labels: "rgb" },
hsl: { channels: 3, labels: "hsl" },
hsv: { channels: 3, labels: "hsv" },
hwb: { channels: 3, labels: "hwb" },
cmyk: { channels: 4, labels: "cmyk" },
xyz: { channels: 3, labels: "xyz" },
lab: { channels: 3, labels: "lab" },
lch: { channels: 3, labels: "lch" },
hex: { channels: 1, labels: ["hex"] },
keyword: { channels: 1, labels: ["keyword"] },
ansi16: { channels: 1, labels: ["ansi16"] },
ansi256: { channels: 1, labels: ["ansi256"] },
hcg: { channels: 3, labels: ["h", "c", "g"] },
apple: { channels: 3, labels: ["r16", "g16", "b16"] },
gray: { channels: 1, labels: ["gray"] }
};
v0.exports = D;
for (let e of Object.keys(D)) {
if (!("channels" in D[e]))
throw new Error("missing channels property: " + e);
if (!("labels" in D[e]))
throw new Error("missing channel labels property: " + e);
if (D[e].labels.length !== D[e].channels)
throw new Error("channel and label counts mismatch: " + e);
let { channels: t, labels: r } = D[e];
delete D[e].channels, delete D[e].labels, Object.defineProperty(D[e], "channels", { value: t }), Object.defineProperty(D[e], "labels", {
value: r });
}
D.rgb.hsl = function(e) {
let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.min(t, r, n), a = Math.max(t, r, n), s = a - i, l, c;
a === i ? l = 0 : t === a ? l = (r - n) / s : r === a ? l = 2 + (n - t) / s : n === a && (l = 4 + (t - r) / s), l = Math.min(l * 60, 360),
l < 0 && (l += 360);
let u = (i + a) / 2;
return a === i ? c = 0 : u <= 0.5 ? c = s / (a + i) : c = s / (2 - a - i), [l, c * 100, u * 100];
};
D.rgb.hsv = function(e) {
let t, r, n, i, a, s = e[0] / 255, l = e[1] / 255, c = e[2] / 255, u = Math.max(s, l, c), d = u - Math.min(s, l, c), p = /* @__PURE__ */ o(
function(b) {
return (u - b) / 6 / d + 1 / 2;
}, "diffc");
return d === 0 ? (i = 0, a = 0) : (a = d / u, t = p(s), r = p(l), n = p(c), s === u ? i = n - r : l === u ? i = 1 / 3 + t - n : c === u &&
(i = 2 / 3 + r - t), i < 0 ? i += 1 : i > 1 && (i -= 1)), [
i * 360,
a * 100,
u * 100
];
};
D.rgb.hwb = function(e) {
let t = e[0], r = e[1], n = e[2], i = D.rgb.hsl(e)[0], a = 1 / 255 * Math.min(t, Math.min(r, n));
return n = 1 - 1 / 255 * Math.max(t, Math.max(r, n)), [i, a * 100, n * 100];
};
D.rgb.cmyk = function(e) {
let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.min(1 - t, 1 - r, 1 - n), a = (1 - t - i) / (1 - i) || 0, s = (1 - r - i) /
(1 - i) || 0, l = (1 - n - i) / (1 - i) || 0;
return [a * 100, s * 100, l * 100, i * 100];
};
function xV(e, t) {
return (e[0] - t[0]) ** 2 + (e[1] - t[1]) ** 2 + (e[2] - t[2]) ** 2;
}
o(xV, "comparativeDistance");
D.rgb.keyword = function(e) {
let t = g0[e];
if (t)
return t;
let r = 1 / 0, n;
for (let i of Object.keys(wo)) {
let a = wo[i], s = xV(e, a);
s < r && (r = s, n = i);
}
return n;
};
D.keyword.rgb = function(e) {
return wo[e];
};
D.rgb.xyz = function(e) {
let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255;
t = t > 0.04045 ? ((t + 0.055) / 1.055) ** 2.4 : t / 12.92, r = r > 0.04045 ? ((r + 0.055) / 1.055) ** 2.4 : r / 12.92, n = n > 0.04045 ?
((n + 0.055) / 1.055) ** 2.4 : n / 12.92;
let i = t * 0.4124 + r * 0.3576 + n * 0.1805, a = t * 0.2126 + r * 0.7152 + n * 0.0722, s = t * 0.0193 + r * 0.1192 + n * 0.9505;
return [i * 100, a * 100, s * 100];
};
D.rgb.lab = function(e) {
let t = D.rgb.xyz(e), r = t[0], n = t[1], i = t[2];
r /= 95.047, n /= 100, i /= 108.883, r = r > 8856e-6 ? r ** (1 / 3) : 7.787 * r + 16 / 116, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n +
16 / 116, i = i > 8856e-6 ? i ** (1 / 3) : 7.787 * i + 16 / 116;
let a = 116 * n - 16, s = 500 * (r - n), l = 200 * (n - i);
return [a, s, l];
};
D.hsl.rgb = function(e) {
let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, i, a, s;
if (r === 0)
return s = n * 255, [s, s, s];
n < 0.5 ? i = n * (1 + r) : i = n + r - n * r;
let l = 2 * n - i, c = [0, 0, 0];
for (let u = 0; u < 3; u++)
a = t + 1 / 3 * -(u - 1), a < 0 && a++, a > 1 && a--, 6 * a < 1 ? s = l + (i - l) * 6 * a : 2 * a < 1 ? s = i : 3 * a < 2 ? s = l + (i -
l) * (2 / 3 - a) * 6 : s = l, c[u] = s * 255;
return c;
};
D.hsl.hsv = function(e) {
let t = e[0], r = e[1] / 100, n = e[2] / 100, i = r, a = Math.max(n, 0.01);
n *= 2, r *= n <= 1 ? n : 2 - n, i *= a <= 1 ? a : 2 - a;
let s = (n + r) / 2, l = n === 0 ? 2 * i / (a + i) : 2 * r / (n + r);
return [t, l * 100, s * 100];
};
D.hsv.rgb = function(e) {
let t = e[0] / 60, r = e[1] / 100, n = e[2] / 100, i = Math.floor(t) % 6, a = t - Math.floor(t), s = 255 * n * (1 - r), l = 255 * n * (1 -
r * a), c = 255 * n * (1 - r * (1 - a));
switch (n *= 255, i) {
case 0:
return [n, c, s];
case 1:
return [l, n, s];
case 2:
return [s, n, c];
case 3:
return [s, l, n];
case 4:
return [c, s, n];
case 5:
return [n, s, l];
}
};
D.hsv.hsl = function(e) {
let t = e[0], r = e[1] / 100, n = e[2] / 100, i = Math.max(n, 0.01), a, s;
s = (2 - r) * n;
let l = (2 - r) * i;
return a = r * i, a /= l <= 1 ? l : 2 - l, a = a || 0, s /= 2, [t, a * 100, s * 100];
};
D.hwb.rgb = function(e) {
let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100, i = r + n, a;
i > 1 && (r /= i, n /= i);
let s = Math.floor(6 * t), l = 1 - n;
a = 6 * t - s, (s & 1) !== 0 && (a = 1 - a);
let c = r + a * (l - r), u, d, p;
switch (s) {
default:
case 6:
case 0:
u = l, d = c, p = r;
break;
case 1:
u = c, d = l, p = r;
break;
case 2:
u = r, d = l, p = c;
break;
case 3:
u = r, d = c, p = l;
break;
case 4:
u = c, d = r, p = l;
break;
case 5:
u = l, d = r, p = c;
break;
}
return [u * 255, d * 255, p * 255];
};
D.cmyk.rgb = function(e) {
let t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, i = e[3] / 100, a = 1 - Math.min(1, t * (1 - i) + i), s = 1 - Math.min(1, r * (1 - i) +
i), l = 1 - Math.min(1, n * (1 - i) + i);
return [a * 255, s * 255, l * 255];
};
D.xyz.rgb = function(e) {
let t = e[0] / 100, r = e[1] / 100, n = e[2] / 100, i, a, s;
return i = t * 3.2406 + r * -1.5372 + n * -0.4986, a = t * -0.9689 + r * 1.8758 + n * 0.0415, s = t * 0.0557 + r * -0.204 + n * 1.057, i =
i > 31308e-7 ? 1.055 * i ** (1 / 2.4) - 0.055 : i * 12.92, a = a > 31308e-7 ? 1.055 * a ** (1 / 2.4) - 0.055 : a * 12.92, s = s > 31308e-7 ?
1.055 * s ** (1 / 2.4) - 0.055 : s * 12.92, i = Math.min(Math.max(0, i), 1), a = Math.min(Math.max(0, a), 1), s = Math.min(Math.max(0, s),
1), [i * 255, a * 255, s * 255];
};
D.xyz.lab = function(e) {
let t = e[0], r = e[1], n = e[2];
t /= 95.047, r /= 100, n /= 108.883, t = t > 8856e-6 ? t ** (1 / 3) : 7.787 * t + 16 / 116, r = r > 8856e-6 ? r ** (1 / 3) : 7.787 * r +
16 / 116, n = n > 8856e-6 ? n ** (1 / 3) : 7.787 * n + 16 / 116;
let i = 116 * r - 16, a = 500 * (t - r), s = 200 * (r - n);
return [i, a, s];
};
D.lab.xyz = function(e) {
let t = e[0], r = e[1], n = e[2], i, a, s;
a = (t + 16) / 116, i = r / 500 + a, s = a - n / 200;
let l = a ** 3, c = i ** 3, u = s ** 3;
return a = l > 8856e-6 ? l : (a - 16 / 116) / 7.787, i = c > 8856e-6 ? c : (i - 16 / 116) / 7.787, s = u > 8856e-6 ? u : (s - 16 / 116) /
7.787, i *= 95.047, a *= 100, s *= 108.883, [i, a, s];
};
D.lab.lch = function(e) {
let t = e[0], r = e[1], n = e[2], i;
i = Math.atan2(n, r) * 360 / 2 / Math.PI, i < 0 && (i += 360);
let s = Math.sqrt(r * r + n * n);
return [t, s, i];
};
D.lch.lab = function(e) {
let t = e[0], r = e[1], i = e[2] / 360 * 2 * Math.PI, a = r * Math.cos(i), s = r * Math.sin(i);
return [t, a, s];
};
D.rgb.ansi16 = function(e, t = null) {
let [r, n, i] = e, a = t === null ? D.rgb.hsv(e)[2] : t;
if (a = Math.round(a / 50), a === 0)
return 30;
let s = 30 + (Math.round(i / 255) << 2 | Math.round(n / 255) << 1 | Math.round(r / 255));
return a === 2 && (s += 60), s;
};
D.hsv.ansi16 = function(e) {
return D.rgb.ansi16(D.hsv.rgb(e), e[2]);
};
D.rgb.ansi256 = function(e) {
let t = e[0], r = e[1], n = e[2];
return t === r && r === n ? t < 8 ? 16 : t > 248 ? 231 : Math.round((t - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t / 255 * 5) + 6 * Math.
round(r / 255 * 5) + Math.round(n / 255 * 5);
};
D.ansi16.rgb = function(e) {
let t = e % 10;
if (t === 0 || t === 7)
return e > 50 && (t += 3.5), t = t / 10.5 * 255, [t, t, t];
let r = (~~(e > 50) + 1) * 0.5, n = (t & 1) * r * 255, i = (t >> 1 & 1) * r * 255, a = (t >> 2 & 1) * r * 255;
return [n, i, a];
};
D.ansi256.rgb = function(e) {
if (e >= 232) {
let a = (e - 232) * 10 + 8;
return [a, a, a];
}
e -= 16;
let t, r = Math.floor(e / 36) / 5 * 255, n = Math.floor((t = e % 36) / 6) / 5 * 255, i = t % 6 / 5 * 255;
return [r, n, i];
};
D.rgb.hex = function(e) {
let r = (((Math.round(e[0]) & 255) << 16) + ((Math.round(e[1]) & 255) << 8) + (Math.round(e[2]) & 255)).toString(16).toUpperCase();
return "000000".substring(r.length) + r;
};
D.hex.rgb = function(e) {
let t = e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
if (!t)
return [0, 0, 0];
let r = t[0];
t[0].length === 3 && (r = r.split("").map((l) => l + l).join(""));
let n = parseInt(r, 16), i = n >> 16 & 255, a = n >> 8 & 255, s = n & 255;
return [i, a, s];
};
D.rgb.hcg = function(e) {
let t = e[0] / 255, r = e[1] / 255, n = e[2] / 255, i = Math.max(Math.max(t, r), n), a = Math.min(Math.min(t, r), n), s = i - a, l, c;
return s < 1 ? l = a / (1 - s) : l = 0, s <= 0 ? c = 0 : i === t ? c = (r - n) / s % 6 : i === r ? c = 2 + (n - t) / s : c = 4 + (t - r) /
s, c /= 6, c %= 1, [c * 360, s * 100, l * 100];
};
D.hsl.hcg = function(e) {
let t = e[1] / 100, r = e[2] / 100, n = r < 0.5 ? 2 * t * r : 2 * t * (1 - r), i = 0;
return n < 1 && (i = (r - 0.5 * n) / (1 - n)), [e[0], n * 100, i * 100];
};
D.hsv.hcg = function(e) {
let t = e[1] / 100, r = e[2] / 100, n = t * r, i = 0;
return n < 1 && (i = (r - n) / (1 - n)), [e[0], n * 100, i * 100];
};
D.hcg.rgb = function(e) {
let t = e[0] / 360, r = e[1] / 100, n = e[2] / 100;
if (r === 0)
return [n * 255, n * 255, n * 255];
let i = [0, 0, 0], a = t % 1 * 6, s = a % 1, l = 1 - s, c = 0;
switch (Math.floor(a)) {
case 0:
i[0] = 1, i[1] = s, i[2] = 0;
break;
case 1:
i[0] = l, i[1] = 1, i[2] = 0;
break;
case 2:
i[0] = 0, i[1] = 1, i[2] = s;
break;
case 3:
i[0] = 0, i[1] = l, i[2] = 1;
break;
case 4:
i[0] = s, i[1] = 0, i[2] = 1;
break;
default:
i[0] = 1, i[1] = 0, i[2] = l;
}
return c = (1 - r) * n, [
(r * i[0] + c) * 255,
(r * i[1] + c) * 255,
(r * i[2] + c) * 255
];
};
D.hcg.hsv = function(e) {
let t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t), i = 0;
return n > 0 && (i = t / n), [e[0], i * 100, n * 100];
};
D.hcg.hsl = function(e) {
let t = e[1] / 100, n = e[2] / 100 * (1 - t) + 0.5 * t, i = 0;
return n > 0 && n < 0.5 ? i = t / (2 * n) : n >= 0.5 && n < 1 && (i = t / (2 * (1 - n))), [e[0], i * 100, n * 100];
};
D.hcg.hwb = function(e) {
let t = e[1] / 100, r = e[2] / 100, n = t + r * (1 - t);
return [e[0], (n - t) * 100, (1 - n) * 100];
};
D.hwb.hcg = function(e) {
let t = e[1] / 100, n = 1 - e[2] / 100, i = n - t, a = 0;
return i < 1 && (a = (n - i) / (1 - i)), [e[0], i * 100, a * 100];
};
D.apple.rgb = function(e) {
return [e[0] / 65535 * 255, e[1] / 65535 * 255, e[2] / 65535 * 255];
};
D.rgb.apple = function(e) {
return [e[0] / 255 * 65535, e[1] / 255 * 65535, e[2] / 255 * 65535];
};
D.gray.rgb = function(e) {
return [e[0] / 100 * 255, e[0] / 100 * 255, e[0] / 100 * 255];
};
D.gray.hsl = function(e) {
return [0, 0, e[0]];
};
D.gray.hsv = D.gray.hsl;
D.gray.hwb = function(e) {
return [0, 100, e[0]];
};
D.gray.cmyk = function(e) {
return [0, 0, 0, e[0]];
};
D.gray.lab = function(e) {
return [e[0], 0, 0];
};
D.gray.hex = function(e) {
let t = Math.round(e[0] / 100 * 255) & 255, n = ((t << 16) + (t << 8) + t).toString(16).toUpperCase();
return "000000".substring(n.length) + n;
};
D.rgb.gray = function(e) {
return [(e[0] + e[1] + e[2]) / 3 / 255 * 100];
};
});
// ../node_modules/color-convert/route.js
var w0 = f((C_e, E0) => {
var eu = Ah();
function RV() {
let e = {}, t = Object.keys(eu);
for (let r = t.length, n = 0; n < r; n++)
e[t[n]] = {
// http://jsperf.com/1-vs-infinity
// micro-opt, but this is simple.
distance: -1,
parent: null
};
return e;
}
o(RV, "buildGraph");
function TV(e) {
let t = RV(), r = [e];
for (t[e].distance = 0; r.length; ) {
let n = r.pop(), i = Object.keys(eu[n]);
for (let a = i.length, s = 0; s < a; s++) {
let l = i[s], c = t[l];
c.distance === -1 && (c.distance = t[n].distance + 1, c.parent = n, r.unshift(l));
}
}
return t;
}
o(TV, "deriveBFS");
function OV(e, t) {
return function(r) {
return t(e(r));
};
}
o(OV, "link");
function SV(e, t) {
let r = [t[e].parent, e], n = eu[t[e].parent][e], i = t[e].parent;
for (; t[i].parent; )
r.unshift(t[i].parent), n = OV(eu[t[i].parent][i], n), i = t[i].parent;
return n.conversion = r, n;
}
o(SV, "wrapConversion");
E0.exports = function(e) {
let t = TV(e), r = {}, n = Object.keys(t);
for (let i = n.length, a = 0; a < i; a++) {
let s = n[a];
t[s].parent !== null && (r[s] = SV(s, t));
}
return r;
};
});
// ../node_modules/color-convert/index.js
var C0 = f((P_e, _0) => {
var Ih = Ah(), MV = w0(), bn = {}, AV = Object.keys(Ih);
function IV(e) {
let t = /* @__PURE__ */ o(function(...r) {
let n = r[0];
return n == null ? n : (n.length > 1 && (r = n), e(r));
}, "wrappedFn");
return "conversion" in e && (t.conversion = e.conversion), t;
}
o(IV, "wrapRaw");
function NV(e) {
let t = /* @__PURE__ */ o(function(...r) {
let n = r[0];
if (n == null)
return n;
n.length > 1 && (r = n);
let i = e(r);
if (typeof i == "object")
for (let a = i.length, s = 0; s < a; s++)
i[s] = Math.round(i[s]);
return i;
}, "wrappedFn");
return "conversion" in e && (t.conversion = e.conversion), t;
}
o(NV, "wrapRounded");
AV.forEach((e) => {
bn[e] = {}, Object.defineProperty(bn[e], "channels", { value: Ih[e].channels }), Object.defineProperty(bn[e], "labels", { value: Ih[e].labels });
let t = MV(e);
Object.keys(t).forEach((n) => {
let i = t[n];
bn[e][n] = NV(i), bn[e][n].raw = IV(i);
});
});
_0.exports = bn;
});
// ../node_modules/ansi-styles/index.js
var O0 = f((R_e, T0) => {
"use strict";
var q0 = /* @__PURE__ */ o((e, t) => (...r) => `\x1B[${e(...r) + t}m`, "wrapAnsi16"), P0 = /* @__PURE__ */ o((e, t) => (...r) => {
let n = e(...r);
return `\x1B[${38 + t};5;${n}m`;
}, "wrapAnsi256"), x0 = /* @__PURE__ */ o((e, t) => (...r) => {
let n = e(...r);
return `\x1B[${38 + t};2;${n[0]};${n[1]};${n[2]}m`;
}, "wrapAnsi16m"), tu = /* @__PURE__ */ o((e) => e, "ansi2ansi"), R0 = /* @__PURE__ */ o((e, t, r) => [e, t, r], "rgb2rgb"), yn = /* @__PURE__ */ o(
(e, t, r) => {
Object.defineProperty(e, t, {
get: /* @__PURE__ */ o(() => {
let n = r();
return Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0
}), n;
}, "get"),
enumerable: !0,
configurable: !0
});
}, "setLazyProperty"), Nh, gn = /* @__PURE__ */ o((e, t, r, n) => {
Nh === void 0 && (Nh = C0());
let i = n ? 10 : 0, a = {};
for (let [s, l] of Object.entries(Nh)) {
let c = s === "ansi16" ? "ansi" : s;
s === t ? a[c] = e(r, i) : typeof l == "object" && (a[c] = e(l[t], i));
}
return a;
}, "makeDynamicStyles");
function jV() {
let e = /* @__PURE__ */ new Map(), t = {
modifier: {
reset: [0, 0],
// 21 isn't widely supported and 22 does the same thing
bold: [1, 22],
dim: [2, 22],
italic: [3, 23],
underline: [4, 24],
inverse: [7, 27],
hidden: [8, 28],
strikethrough: [9, 29]
},
color: {
black: [30, 39],
red: [31, 39],
green: [32, 39],
yellow: [33, 39],
blue: [34, 39],
magenta: [35, 39],
cyan: [36, 39],
white: [37, 39],
// Bright color
blackBright: [90, 39],
redBright: [91, 39],
greenBright: [92, 39],
yellowBright: [93, 39],
blueBright: [94, 39],
magentaBright: [95, 39],
cyanBright: [96, 39],
whiteBright: [97, 39]
},
bgColor: {
bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
bgYellow: [43, 49],
bgBlue: [44, 49],
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],
// Bright color
bgBlackBright: [100, 49],
bgRedBright: [101, 49],
bgGreenBright: [102, 49],
bgYellowBright: [103, 49],
bgBlueBright: [104, 49],
bgMagentaBright: [105, 49],
bgCyanBright: [106, 49],
bgWhiteBright: [107, 49]
}
};
t.color.gray = t.color.blackBright, t.bgColor.bgGray = t.bgColor.bgBlackBright, t.color.grey = t.color.blackBright, t.bgColor.bgGrey = t.
bgColor.bgBlackBright;
for (let [r, n] of Object.entries(t)) {
for (let [i, a] of Object.entries(n))
t[i] = {
open: `\x1B[${a[0]}m`,
close: `\x1B[${a[1]}m`
}, n[i] = t[i], e.set(a[0], a[1]);
Object.defineProperty(t, r, {
value: n,
enumerable: !1
});
}
return Object.defineProperty(t, "codes", {
value: e,
enumerable: !1
}), t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", yn(t.color, "ansi", () => gn(q0, "ansi16", tu, !1)), yn(t.color, "ansi256",
() => gn(P0, "ansi256", tu, !1)), yn(t.color, "ansi16m", () => gn(x0, "rgb", R0, !1)), yn(t.bgColor, "ansi", () => gn(q0, "ansi16", tu, !0)),
yn(t.bgColor, "ansi256", () => gn(P0, "ansi256", tu, !0)), yn(t.bgColor, "ansi16m", () => gn(x0, "rgb", R0, !0)), t;
}
o(jV, "assembleStyles");
Object.defineProperty(T0, "exports", {
enumerable: !0,
get: jV
});
});
// ../node_modules/has-flag/index.js
var M0 = f((O_e, S0) => {
"use strict";
S0.exports = (e, t = process.argv) => {
let r = e.startsWith("-") ? "" : e.length === 1 ? "-" : "--", n = t.indexOf(r + e), i = t.indexOf("--");
return n !== -1 && (i === -1 || n < i);
};
});
// ../node_modules/supports-color/index.js
var N0 = f((S_e, I0) => {
"use strict";
var $V = require("os"), A0 = require("tty"), yt = M0(), { env: Ne } = process, sr;
yt("no-color") || yt("no-colors") || yt("color=false") || yt("color=never") ? sr = 0 : (yt("color") || yt("colors") || yt("color=true") ||
yt("color=always")) && (sr = 1);
"FORCE_COLOR" in Ne && (Ne.FORCE_COLOR === "true" ? sr = 1 : Ne.FORCE_COLOR === "false" ? sr = 0 : sr = Ne.FORCE_COLOR.length === 0 ? 1 : Math.
min(parseInt(Ne.FORCE_COLOR, 10), 3));
function jh(e) {
return e === 0 ? !1 : {
level: e,
hasBasic: !0,
has256: e >= 2,
has16m: e >= 3
};
}
o(jh, "translateLevel");
function $h(e, t) {
if (sr === 0)
return 0;
if (yt("color=16m") || yt("color=full") || yt("color=truecolor"))
return 3;
if (yt("color=256"))
return 2;
if (e && !t && sr === void 0)
return 0;
let r = sr || 0;
if (Ne.TERM === "dumb")
return r;
if (process.platform === "win32") {
let n = $V.release().split(".");
return Number(n[0]) >= 10 && Number(n[2]) >= 10586 ? Number(n[2]) >= 14931 ? 3 : 2 : 1;
}
if ("CI" in Ne)
return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((n) => n in Ne) || Ne.CI_NAME === "codeship" ?
1 : r;
if ("TEAMCITY_VERSION" in Ne)
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ne.TEAMCITY_VERSION) ? 1 : 0;
if (Ne.COLORTERM === "truecolor")
return 3;
if ("TERM_PROGRAM" in Ne) {
let n = parseInt((Ne.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
switch (Ne.TERM_PROGRAM) {
case "iTerm.app":
return n >= 3 ? 3 : 2;
case "Apple_Terminal":
return 2;
}
}
return /-256(color)?$/i.test(Ne.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ne.TERM) || "COLORTERM" in
Ne ? 1 : r;
}
o($h, "supportsColor");
function LV(e) {
let t = $h(e, e && e.isTTY);
return jh(t);
}
o(LV, "getSupportLevel");
I0.exports = {
supportsColor: LV,
stdout: jh($h(!0, A0.isatty(1))),
stderr: jh($h(!0, A0.isatty(2)))
};
});
// ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js
var $0 = f((A_e, j0) => {
"use strict";
var DV = /* @__PURE__ */ o((e, t, r) => {
let n = e.indexOf(t);
if (n === -1)
return e;
let i = t.length, a = 0, s = "";
do
s += e.substr(a, n - a) + t + r, a = n + i, n = e.indexOf(t, a);
while (n !== -1);
return s += e.substr(a), s;
}, "stringReplaceAll"), BV = /* @__PURE__ */ o((e, t, r, n) => {
let i = 0, a = "";
do {
let s = e[n - 1] === "\r";
a += e.substr(i, (s ? n - 1 : n) - i) + t + (s ? `\r
` : `
`) + r, i = n + 1, n = e.indexOf(`
`, i);
} while (n !== -1);
return a += e.substr(i), a;
}, "stringEncaseCRLFWithFirstIndex");
j0.exports = {
stringReplaceAll: DV,
stringEncaseCRLFWithFirstIndex: BV
};
});
// ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js
var F0 = f((N_e, k0) => {
"use strict";
var kV = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,
L0 = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g, FV = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/, HV = /\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,
UV = /* @__PURE__ */ new Map([
["n", `
`],
["r", "\r"],
["t", " "],
["b", "\b"],
["f", "\f"],
["v", "\v"],
["0", "\0"],
["\\", "\\"],
["e", "\x1B"],
["a", "\x07"]
]);
function B0(e) {
let t = e[0] === "u", r = e[1] === "{";
return t && !r && e.length === 5 || e[0] === "x" && e.length === 3 ? String.fromCharCode(parseInt(e.slice(1), 16)) : t && r ? String.fromCodePoint(
parseInt(e.slice(2, -1), 16)) : UV.get(e) || e;
}
o(B0, "unescape");
function VV(e, t) {
let r = [], n = t.trim().split(/\s*,\s*/g), i;
for (let a of n) {
let s = Number(a);
if (!Number.isNaN(s))
r.push(s);
else if (i = a.match(FV))
r.push(i[2].replace(HV, (l, c, u) => c ? B0(c) : u));
else
throw new Error(`Invalid Chalk template style argument: ${a} (in style '${e}')`);
}
return r;
}
o(VV, "parseArguments");
function zV(e) {
L0.lastIndex = 0;
let t = [], r;
for (; (r = L0.exec(e)) !== null; ) {
let n = r[1];
if (r[2]) {
let i = VV(n, r[2]);
t.push([n].concat(i));
} else
t.push([n]);
}
return t;
}
o(zV, "parseStyle");
function D0(e, t) {
let r = {};
for (let i of t)
for (let a of i.styles)
r[a[0]] = i.inverse ? null : a.slice(1);
let n = e;
for (let [i, a] of Object.entries(r))
if (Array.isArray(a)) {
if (!(i in n))
throw new Error(`Unknown Chalk style: ${i}`);
n = a.length > 0 ? n[i](...a) : n[i];
}
return n;
}
o(D0, "buildStyle");
k0.exports = (e, t) => {
let r = [], n = [], i = [];
if (t.replace(kV, (a, s, l, c, u, d) => {
if (s)
i.push(B0(s));
else if (c) {
let p = i.join("");
i = [], n.push(r.length === 0 ? p : D0(e, r)(p)), r.push({ inverse: l, styles: zV(c) });
} else if (u) {
if (r.length === 0)
throw new Error("Found extraneous } in Chalk template literal");
n.push(D0(e, r)(i.join(""))), i = [], r.pop();
} else
i.push(d);
}), n.push(i.join("")), r.length > 0) {
let a = `Chalk template literal is missing ${r.length} closing bracket${r.length === 1 ? "" : "s"} (\`}\`)`;
throw new Error(a);
}
return n.join("");
};
});
// ../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js
var Hh = f(($_e, z0) => {
"use strict";
var _o = O0(), { stdout: Dh, stderr: Bh } = N0(), {
stringReplaceAll: WV,
stringEncaseCRLFWithFirstIndex: GV
} = $0(), H0 = [
"ansi",
"ansi",
"ansi256",
"ansi16m"
], vn = /* @__PURE__ */ Object.create(null), KV = /* @__PURE__ */ o((e, t = {}) => {
if (t.level > 3 || t.level < 0)
throw new Error("The `level` option should be an integer from 0 to 3");
let r = Dh ? Dh.level : 0;
e.level = t.level === void 0 ? r : t.level;
}, "applyOptions"), kh = class {
static {
o(this, "ChalkClass");
}
constructor(t) {
return U0(t);
}
}, U0 = /* @__PURE__ */ o((e) => {
let t = {};
return KV(t, e), t.template = (...r) => JV(t.template, ...r), Object.setPrototypeOf(t, ru.prototype), Object.setPrototypeOf(t.template, t),
t.template.constructor = () => {
throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
}, t.template.Instance = kh, t.template;
}, "chalkFactory");
function ru(e) {
return U0(e);
}
o(ru, "Chalk");
for (let [e, t] of Object.entries(_o))
vn[e] = {
get() {
let r = nu(this, Fh(t.open, t.close, this._styler), this._isEmpty);
return Object.defineProperty(this, e, { value: r }), r;
}
};
vn.visible = {
get() {
let e = nu(this, this._styler, !0);
return Object.defineProperty(this, "visible", { value: e }), e;
}
};
var V0 = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
for (let e of V0)
vn[e] = {
get() {
let { level: t } = this;
return function(...r) {
let n = Fh(_o.color[H0[t]][e](...r), _o.color.close, this._styler);
return nu(this, n, this._isEmpty);
};
}
};
for (let e of V0) {
let t = "bg" + e[0].toUpperCase() + e.slice(1);
vn[t] = {
get() {
let { level: r } = this;
return function(...n) {
let i = Fh(_o.bgColor[H0[r]][e](...n), _o.bgColor.close, this._styler);
return nu(this, i, this._isEmpty);
};
}
};
}
var YV = Object.defineProperties(() => {
}, {
...vn,
level: {
enumerable: !0,
get() {
return this._generator.level;
},
set(e) {
this._generator.level = e;
}
}
}), Fh = /* @__PURE__ */ o((e, t, r) => {
let n, i;
return r === void 0 ? (n = e, i = t) : (n = r.openAll + e, i = t + r.closeAll), {
open: e,
close: t,
openAll: n,
closeAll: i,
parent: r
};
}, "createStyler"), nu = /* @__PURE__ */ o((e, t, r) => {
let n = /* @__PURE__ */ o((...i) => XV(n, i.length === 1 ? "" + i[0] : i.join(" ")), "builder");
return n.__proto__ = YV, n._generator = e, n._styler = t, n._isEmpty = r, n;
}, "createBuilder"), XV = /* @__PURE__ */ o((e, t) => {
if (e.level <= 0 || !t)
return e._isEmpty ? "" : t;
let r = e._styler;
if (r === void 0)
return t;
let { openAll: n, closeAll: i } = r;
if (t.indexOf("\x1B") !== -1)
for (; r !== void 0; )
t = WV(t, r.close, r.open), r = r.parent;
let a = t.indexOf(`
`);
return a !== -1 && (t = GV(t, i, n, a)), n + t + i;
}, "applyStyle"), Lh, JV = /* @__PURE__ */ o((e, ...t) => {
let [r] = t;
if (!Array.isArray(r))
return t.join(" ");
let n = t.slice(1), i = [r.raw[0]];
for (let a = 1; a < r.length; a++)
i.push(
String(n[a - 1]).replace(/[{}\\]/g, "\\$&"),
String(r.raw[a])
);
return Lh === void 0 && (Lh = F0()), Lh(e, i.join(""));
}, "chalkTag");
Object.defineProperties(ru.prototype, vn);
var Co = ru();
Co.supportsColor = Dh;
Co.stderr = ru({ level: Bh ? Bh.level : 0 });
Co.stderr.supportsColor = Bh;
Co.Level = {
None: 0,
Basic: 1,
Ansi256: 2,
TrueColor: 3,
0: "None",
1: "Basic",
2: "Ansi256",
3: "TrueColor"
};
z0.exports = Co;
});
// ../node_modules/lodash/_listCacheClear.js
var G0 = f((D_e, W0) => {
function QV() {
this.__data__ = [], this.size = 0;
}
o(QV, "listCacheClear");
W0.exports = QV;
});
// ../node_modules/lodash/eq.js
var Uh = f((k_e, K0) => {
function ZV(e, t) {
return e === t || e !== e && t !== t;
}
o(ZV, "eq");
K0.exports = ZV;
});
// ../node_modules/lodash/_assocIndexOf.js
var qo = f((H_e, Y0) => {
var e3 = Uh();
function t3(e, t) {
for (var r = e.length; r--; )
if (e3(e[r][0], t))
return r;
return -1;
}
o(t3, "assocIndexOf");
Y0.exports = t3;
});
// ../node_modules/lodash/_listCacheDelete.js
var J0 = f((V_e, X0) => {
var r3 = qo(), n3 = Array.prototype, o3 = n3.splice;
function i3(e) {
var t = this.__data__, r = r3(t, e);
if (r < 0)
return !1;
var n = t.length - 1;
return r == n ? t.pop() : o3.call(t, r, 1), --this.size, !0;
}
o(i3, "listCacheDelete");
X0.exports = i3;
});
// ../node_modules/lodash/_listCacheGet.js
var Z0 = f((W_e, Q0) => {
var a3 = qo();
function s3(e) {
var t = this.__data__, r = a3(t, e);
return r < 0 ? void 0 : t[r][1];
}
o(s3, "listCacheGet");
Q0.exports = s3;
});
// ../node_modules/lodash/_listCacheHas.js
var tP = f((K_e, eP) => {
var l3 = qo();
function u3(e) {
return l3(this.__data__, e) > -1;
}
o(u3, "listCacheHas");
eP.exports = u3;
});
// ../node_modules/lodash/_listCacheSet.js
var nP = f((X_e, rP) => {
var c3 = qo();
function d3(e, t) {
var r = this.__data__, n = c3(r, e);
return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
}
o(d3, "listCacheSet");
rP.exports = d3;
});
// ../node_modules/lodash/_ListCache.js
var Po = f((Q_e, oP) => {
var f3 = G0(), p3 = J0(), m3 = Z0(), h3 = tP(), b3 = nP();
function En(e) {
var t = -1, r = e == null ? 0 : e.length;
for (this.clear(); ++t < r; ) {
var n = e[t];
this.set(n[0], n[1]);
}
}
o(En, "ListCache");
En.prototype.clear = f3;
En.prototype.delete = p3;
En.prototype.get = m3;
En.prototype.has = h3;
En.prototype.set = b3;
oP.exports = En;
});
// ../node_modules/lodash/_stackClear.js
var aP = f((eCe, iP) => {
var y3 = Po();
function g3() {
this.__data__ = new y3(), this.size = 0;
}
o(g3, "stackClear");
iP.exports = g3;
});
// ../node_modules/lodash/_stackDelete.js
var lP = f((rCe, sP) => {
function v3(e) {
var t = this.__data__, r = t.delete(e);
return this.size = t.size, r;
}
o(v3, "stackDelete");
sP.exports = v3;
});
// ../node_modules/lodash/_stackGet.js
var cP = f((oCe, uP) => {
function E3(e) {
return this.__data__.get(e);
}
o(E3, "stackGet");
uP.exports = E3;
});
// ../node_modules/lodash/_stackHas.js
var fP = f((aCe, dP) => {
function w3(e) {
return this.__data__.has(e);
}
o(w3, "stackHas");
dP.exports = w3;
});
// ../node_modules/lodash/_freeGlobal.js
var Vh = f((lCe, pP) => {
var _3 = typeof global == "object" && global && global.Object === Object && global;
pP.exports = _3;
});
// ../node_modules/lodash/_root.js
var Lt = f((uCe, mP) => {
var C3 = Vh(), q3 = typeof self == "object" && self && self.Object === Object && self, P3 = C3 || q3 || Function("return this")();
mP.exports = P3;
});
// ../node_modules/lodash/_Symbol.js
var ou = f((cCe, hP) => {
var x3 = Lt(), R3 = x3.Symbol;
hP.exports = R3;
});
// ../node_modules/lodash/_getRawTag.js
var vP = f((dCe, gP) => {
var bP = ou(), yP = Object.prototype, T3 = yP.hasOwnProperty, O3 = yP.toString, xo = bP ? bP.toStringTag : void 0;
function S3(e) {
var t = T3.call(e, xo), r = e[xo];
try {
e[xo] = void 0;
var n = !0;
} catch {
}
var i = O3.call(e);
return n && (t ? e[xo] = r : delete e[xo]), i;
}
o(S3, "getRawTag");
gP.exports = S3;
});
// ../node_modules/lodash/_objectToString.js
var wP = f((pCe, EP) => {
var M3 = Object.prototype, A3 = M3.toString;
function I3(e) {
return A3.call(e);
}
o(I3, "objectToString");
EP.exports = I3;
});
// ../node_modules/lodash/_baseGetTag.js
var Ro = f((hCe, qP) => {
var _P = ou(), N3 = vP(), j3 = wP(), $3 = "[object Null]", L3 = "[object Undefined]", CP = _P ? _P.toStringTag : void 0;
function D3(e) {
return e == null ? e === void 0 ? L3 : $3 : CP && CP in Object(e) ? N3(e) : j3(e);
}
o(D3, "baseGetTag");
qP.exports = D3;
});
// ../node_modules/lodash/isObject.js
var zh = f((yCe, PP) => {
function B3(e) {
var t = typeof e;
return e != null && (t == "object" || t == "function");
}
o(B3, "isObject");
PP.exports = B3;
});
// ../node_modules/lodash/isFunction.js
var Wh = f((vCe, xP) => {
var k3 = Ro(), F3 = zh(), H3 = "[object AsyncFunction]", U3 = "[object Function]", V3 = "[object GeneratorFunction]", z3 = "[object Proxy]";
function W3(e) {
if (!F3(e))
return !1;
var t = k3(e);
return t == U3 || t == V3 || t == H3 || t == z3;
}
o(W3, "isFunction");
xP.exports = W3;
});
// ../node_modules/lodash/_coreJsData.js
var TP = f((wCe, RP) => {
var G3 = Lt(), K3 = G3["__core-js_shared__"];
RP.exports = K3;
});
// ../node_modules/lodash/_isMasked.js
var MP = f((_Ce, SP) => {
var Gh = TP(), OP = function() {
var e = /[^.]+$/.exec(Gh && Gh.keys && Gh.keys.IE_PROTO || "");
return e ? "Symbol(src)_1." + e : "";
}();
function Y3(e) {
return !!OP && OP in e;
}
o(Y3, "isMasked");
SP.exports = Y3;
});
// ../node_modules/lodash/_toSource.js
var Kh = f((qCe, AP) => {
var X3 = Function.prototype, J3 = X3.toString;
function Q3(e) {
if (e != null) {
try {
return J3.call(e);
} catch {
}
try {
return e + "";
} catch {
}
}
return "";
}
o(Q3, "toSource");
AP.exports = Q3;
});
// ../node_modules/lodash/_baseIsNative.js
var NP = f((xCe, IP) => {
var Z3 = Wh(), ez = MP(), tz = zh(), rz = Kh(), nz = /[\\^$.*+?()[\]{}|]/g, oz = /^\[object .+?Constructor\]$/, iz = Function.prototype, az = Object.
prototype, sz = iz.toString, lz = az.hasOwnProperty, uz = RegExp(
"^" + sz.call(lz).replace(nz, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
function cz(e) {
if (!tz(e) || ez(e))
return !1;
var t = Z3(e) ? uz : oz;
return t.test(rz(e));
}
o(cz, "baseIsNative");
IP.exports = cz;
});
// ../node_modules/lodash/_getValue.js
var $P = f((TCe, jP) => {
function dz(e, t) {
return e?.[t];
}
o(dz, "getValue");
jP.exports = dz;
});
// ../node_modules/lodash/_getNative.js
var Br = f((SCe, LP) => {
var fz = NP(), pz = $P();
function mz(e, t) {
var r = pz(e, t);
return fz(r) ? r : void 0;
}
o(mz, "getNative");
LP.exports = mz;
});
// ../node_modules/lodash/_Map.js
var iu = f((ACe, DP) => {
var hz = Br(), bz = Lt(), yz = hz(bz, "Map");
DP.exports = yz;
});
// ../node_modules/lodash/_nativeCreate.js
var To = f((ICe, BP) => {
var gz = Br(), vz = gz(Object, "create");
BP.exports = vz;
});
// ../node_modules/lodash/_hashClear.js
var HP = f((NCe, FP) => {
var kP = To();
function Ez() {
this.__data__ = kP ? kP(null) : {}, this.size = 0;
}
o(Ez, "hashClear");
FP.exports = Ez;
});
// ../node_modules/lodash/_hashDelete.js
var VP = f(($Ce, UP) => {
function wz(e) {
var t = this.has(e) && delete this.__data__[e];
return this.size -= t ? 1 : 0, t;
}
o(wz, "hashDelete");
UP.exports = wz;
});
// ../node_modules/lodash/_hashGet.js
var WP = f((DCe, zP) => {
var _z = To(), Cz = "__lodash_hash_undefined__", qz = Object.prototype, Pz = qz.hasOwnProperty;
function xz(e) {
var t = this.__data__;
if (_z) {
var r = t[e];
return r === Cz ? void 0 : r;
}
return Pz.call(t, e) ? t[e] : void 0;
}
o(xz, "hashGet");
zP.exports = xz;
});
// ../node_modules/lodash/_hashHas.js
var KP = f((kCe, GP) => {
var Rz = To(), Tz = Object.prototype, Oz = Tz.hasOwnProperty;
function Sz(e) {
var t = this.__data__;
return Rz ? t[e] !== void 0 : Oz.call(t, e);
}
o(Sz, "hashHas");
GP.exports = Sz;
});
// ../node_modules/lodash/_hashSet.js
var XP = f((HCe, YP) => {
var Mz = To(), Az = "__lodash_hash_undefined__";
function Iz(e, t) {
var r = this.__data__;
return this.size += this.has(e) ? 0 : 1, r[e] = Mz && t === void 0 ? Az : t, this;
}
o(Iz, "hashSet");
YP.exports = Iz;
});
// ../node_modules/lodash/_Hash.js
var QP = f((VCe, JP) => {
var Nz = HP(), jz = VP(), $z = WP(), Lz = KP(), Dz = XP();
function wn(e) {
var t = -1, r = e == null ? 0 : e.length;
for (this.clear(); ++t < r; ) {
var n = e[t];
this.set(n[0], n[1]);
}
}
o(wn, "Hash");
wn.prototype.clear = Nz;
wn.prototype.delete = jz;
wn.prototype.get = $z;
wn.prototype.has = Lz;
wn.prototype.set = Dz;
JP.exports = wn;
});
// ../node_modules/lodash/_mapCacheClear.js
var tx = f((WCe, ex) => {
var ZP = QP(), Bz = Po(), kz = iu();
function Fz() {
this.size = 0, this.__data__ = {
hash: new ZP(),
map: new (kz || Bz)(),
string: new ZP()
};
}
o(Fz, "mapCacheClear");
ex.exports = Fz;
});
// ../node_modules/lodash/_isKeyable.js
var nx = f((KCe, rx) => {
function Hz(e) {
var t = typeof e;
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
}
o(Hz, "isKeyable");
rx.exports = Hz;
});
// ../node_modules/lodash/_getMapData.js
var Oo = f((XCe, ox) => {
var Uz = nx();
function Vz(e, t) {
var r = e.__data__;
return Uz(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
}
o(Vz, "getMapData");
ox.exports = Vz;
});
// ../node_modules/lodash/_mapCacheDelete.js
var ax = f((QCe, ix) => {
var zz = Oo();
function Wz(e) {
var t = zz(this, e).delete(e);
return this.size -= t ? 1 : 0, t;
}
o(Wz, "mapCacheDelete");
ix.exports = Wz;
});
// ../node_modules/lodash/_mapCacheGet.js
var lx = f((eqe, sx) => {
var Gz = Oo();
function Kz(e) {
return Gz(this, e).get(e);
}
o(Kz, "mapCacheGet");
sx.exports = Kz;
});
// ../node_modules/lodash/_mapCacheHas.js
var cx = f((rqe, ux) => {
var Yz = Oo();
function Xz(e) {
return Yz(this, e).has(e);
}
o(Xz, "mapCacheHas");
ux.exports = Xz;
});
// ../node_modules/lodash/_mapCacheSet.js
var fx = f((oqe, dx) => {
var Jz = Oo();
function Qz(e, t) {
var r = Jz(this, e), n = r.size;
return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
}
o(Qz, "mapCacheSet");
dx.exports = Qz;
});
// ../node_modules/lodash/_MapCache.js
var Yh = f((aqe, px) => {
var Zz = tx(), e6 = ax(), t6 = lx(), r6 = cx(), n6 = fx();
function _n(e) {
var t = -1, r = e == null ? 0 : e.length;
for (this.clear(); ++t < r; ) {
var n = e[t];
this.set(n[0], n[1]);
}
}
o(_n, "MapCache");
_n.prototype.clear = Zz;
_n.prototype.delete = e6;
_n.prototype.get = t6;
_n.prototype.has = r6;
_n.prototype.set = n6;
px.exports = _n;
});
// ../node_modules/lodash/_stackSet.js
var hx = f((lqe, mx) => {
var o6 = Po(), i6 = iu(), a6 = Yh(), s6 = 200;
function l6(e, t) {
var r = this.__data__;
if (r instanceof o6) {
var n = r.__data__;
if (!i6 || n.length < s6 - 1)
return n.push([e, t]), this.size = ++r.size, this;
r = this.__data__ = new a6(n);
}
return r.set(e, t), this.size = r.size, this;
}
o(l6, "stackSet");
mx.exports = l6;
});
// ../node_modules/lodash/_Stack.js
var yx = f((cqe, bx) => {
var u6 = Po(), c6 = aP(), d6 = lP(), f6 = cP(), p6 = fP(), m6 = hx();
function Cn(e) {
var t = this.__data__ = new u6(e);
this.size = t.size;
}
o(Cn, "Stack");
Cn.prototype.clear = c6;
Cn.prototype.delete = d6;
Cn.prototype.get = f6;
Cn.prototype.has = p6;
Cn.prototype.set = m6;
bx.exports = Cn;
});
// ../node_modules/lodash/_setCacheAdd.js
var vx = f((fqe, gx) => {
var h6 = "__lodash_hash_undefined__";
function b6(e) {
return this.__data__.set(e, h6), this;
}
o(b6, "setCacheAdd");
gx.exports = b6;
});
// ../node_modules/lodash/_setCacheHas.js
var wx = f((mqe, Ex) => {
function y6(e) {
return this.__data__.has(e);
}
o(y6, "setCacheHas");
Ex.exports = y6;
});
// ../node_modules/lodash/_SetCache.js
var Cx = f((bqe, _x) => {
var g6 = Yh(), v6 = vx(), E6 = wx();
function au(e) {
var t = -1, r = e == null ? 0 : e.length;
for (this.__data__ = new g6(); ++t < r; )
this.add(e[t]);
}
o(au, "SetCache");
au.prototype.add = au.prototype.push = v6;
au.prototype.has = E6;
_x.exports = au;
});
// ../node_modules/lodash/_arraySome.js
var Px = f((gqe, qx) => {
function w6(e, t) {
for (var r = -1, n = e == null ? 0 : e.length; ++r < n; )
if (t(e[r], r, e))
return !0;
return !1;
}
o(w6, "arraySome");
qx.exports = w6;
});
// ../node_modules/lodash/_cacheHas.js
var Rx = f((Eqe, xx) => {
function _6(e, t) {
return e.has(t);
}
o(_6, "cacheHas");
xx.exports = _6;
});
// ../node_modules/lodash/_equalArrays.js
var Xh = f((_qe, Tx) => {
var C6 = Cx(), q6 = Px(), P6 = Rx(), x6 = 1, R6 = 2;
function T6(e, t, r, n, i, a) {
var s = r & x6, l = e.length, c = t.length;
if (l != c && !(s && c > l))
return !1;
var u = a.get(e), d = a.get(t);
if (u && d)
return u == t && d == e;
var p = -1, b = !0, m = r & R6 ? new C6() : void 0;
for (a.set(e, t), a.set(t, e); ++p < l; ) {
var y = e[p], h = t[p];
if (n)
var w = s ? n(h, y, p, t, e, a) : n(y, h, p, e, t, a);
if (w !== void 0) {
if (w)
continue;
b = !1;
break;
}
if (m) {
if (!q6(t, function(g, q) {
if (!P6(m, q) && (y === g || i(y, g, r, n, a)))
return m.push(q);
})) {
b = !1;
break;
}
} else if (!(y === h || i(y, h, r, n, a))) {
b = !1;
break;
}
}
return a.delete(e), a.delete(t), b;
}
o(T6, "equalArrays");
Tx.exports = T6;
});
// ../node_modules/lodash/_Uint8Array.js
var Sx = f((qqe, Ox) => {
var O6 = Lt(), S6 = O6.Uint8Array;
Ox.exports = S6;
});
// ../node_modules/lodash/_mapToArray.js
var Ax = f((Pqe, Mx) => {
function M6(e) {
var t = -1, r = Array(e.size);
return e.forEach(function(n, i) {
r[++t] = [i, n];
}), r;
}
o(M6, "mapToArray");
Mx.exports = M6;
});
// ../node_modules/lodash/_setToArray.js
var Nx = f((Rqe, Ix) => {
function A6(e) {
var t = -1, r = Array(e.size);
return e.forEach(function(n) {
r[++t] = n;
}), r;
}
o(A6, "setToArray");
Ix.exports = A6;
});
// ../node_modules/lodash/_equalByTag.js
var Bx = f((Oqe, Dx) => {
var jx = ou(), $x = Sx(), I6 = Uh(), N6 = Xh(), j6 = Ax(), $6 = Nx(), L6 = 1, D6 = 2, B6 = "[object Boolean]", k6 = "[object Date]", F6 = "\
[object Error]", H6 = "[object Map]", U6 = "[object Number]", V6 = "[object RegExp]", z6 = "[object Set]", W6 = "[object String]", G6 = "[ob\
ject Symbol]", K6 = "[object ArrayBuffer]", Y6 = "[object DataView]", Lx = jx ? jx.prototype : void 0, Jh = Lx ? Lx.valueOf : void 0;
function X6(e, t, r, n, i, a, s) {
switch (r) {
case Y6:
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
return !1;
e = e.buffer, t = t.buffer;
case K6:
return !(e.byteLength != t.byteLength || !a(new $x(e), new $x(t)));
case B6:
case k6:
case U6:
return I6(+e, +t);
case F6:
return e.name == t.name && e.message == t.message;
case V6:
case W6:
return e == t + "";
case H6:
var l = j6;
case z6:
var c = n & L6;
if (l || (l = $6), e.size != t.size && !c)
return !1;
var u = s.get(e);
if (u)
return u == t;
n |= D6, s.set(e, t);
var d = N6(l(e), l(t), n, i, a, s);
return s.delete(e), d;
case G6:
if (Jh)
return Jh.call(e) == Jh.call(t);
}
return !1;
}
o(X6, "equalByTag");
Dx.exports = X6;
});
// ../node_modules/lodash/_arrayPush.js
var Fx = f((Mqe, kx) => {
function J6(e, t) {
for (var r = -1, n = t.length, i = e.length; ++r < n; )
e[i + r] = t[r];
return e;
}
o(J6, "arrayPush");
kx.exports = J6;
});
// ../node_modules/lodash/isArray.js
var su = f((Iqe, Hx) => {
var Q6 = Array.isArray;
Hx.exports = Q6;
});
// ../node_modules/lodash/_baseGetAllKeys.js
var Vx = f((Nqe, Ux) => {
var Z6 = Fx(), e4 = su();
function t4(e, t, r) {
var n = t(e);
return e4(e) ? n : Z6(n, r(e));
}
o(t4, "baseGetAllKeys");
Ux.exports = t4;
});
// ../node_modules/lodash/_arrayFilter.js
var Wx = f(($qe, zx) => {
function r4(e, t) {
for (var r = -1, n = e == null ? 0 : e.length, i = 0, a = []; ++r < n; ) {
var s = e[r];
t(s, r, e) && (a[i++] = s);
}
return a;
}
o(r4, "arrayFilter");
zx.exports = r4;
});
// ../node_modules/lodash/stubArray.js
var Kx = f((Dqe, Gx) => {
function n4() {
return [];
}
o(n4, "stubArray");
Gx.exports = n4;
});
// ../node_modules/lodash/_getSymbols.js
var Jx = f((kqe, Xx) => {
var o4 = Wx(), i4 = Kx(), a4 = Object.prototype, s4 = a4.propertyIsEnumerable, Yx = Object.getOwnPropertySymbols, l4 = Yx ? function(e) {
return e == null ? [] : (e = Object(e), o4(Yx(e), function(t) {
return s4.call(e, t);
}));
} : i4;
Xx.exports = l4;
});
// ../node_modules/lodash/_baseTimes.js
var Zx = f((Fqe, Qx) => {
function u4(e, t) {
for (var r = -1, n = Array(e); ++r < e; )
n[r] = t(r);
return n;
}
o(u4, "baseTimes");
Qx.exports = u4;
});
// ../node_modules/lodash/isObjectLike.js
var So = f((Uqe, eR) => {
function c4(e) {
return e != null && typeof e == "object";
}
o(c4, "isObjectLike");
eR.exports = c4;
});
// ../node_modules/lodash/_baseIsArguments.js
var rR = f((zqe, tR) => {
var d4 = Ro(), f4 = So(), p4 = "[object Arguments]";
function m4(e) {
return f4(e) && d4(e) == p4;
}
o(m4, "baseIsArguments");
tR.exports = m4;
});
// ../node_modules/lodash/isArguments.js
var aR = f((Gqe, iR) => {
var nR = rR(), h4 = So(), oR = Object.prototype, b4 = oR.hasOwnProperty, y4 = oR.propertyIsEnumerable, g4 = nR(/* @__PURE__ */ function() {
return arguments;
}()) ? nR : function(e) {
return h4(e) && b4.call(e, "callee") && !y4.call(e, "callee");
};
iR.exports = g4;
});
// ../node_modules/lodash/stubFalse.js
var lR = f((Kqe, sR) => {
function v4() {
return !1;
}
o(v4, "stubFalse");
sR.exports = v4;
});
// ../node_modules/lodash/isBuffer.js
var Qh = f((Mo, qn) => {
var E4 = Lt(), w4 = lR(), dR = typeof Mo == "object" && Mo && !Mo.nodeType && Mo, uR = dR && typeof qn == "object" && qn && !qn.nodeType &&
qn, _4 = uR && uR.exports === dR, cR = _4 ? E4.Buffer : void 0, C4 = cR ? cR.isBuffer : void 0, q4 = C4 || w4;
qn.exports = q4;
});
// ../node_modules/lodash/_isIndex.js
var pR = f((Xqe, fR) => {
var P4 = 9007199254740991, x4 = /^(?:0|[1-9]\d*)$/;
function R4(e, t) {
var r = typeof e;
return t = t ?? P4, !!t && (r == "number" || r != "symbol" && x4.test(e)) && e > -1 && e % 1 == 0 && e < t;
}
o(R4, "isIndex");
fR.exports = R4;
});
// ../node_modules/lodash/isLength.js
var Zh = f((Qqe, mR) => {
var T4 = 9007199254740991;
function O4(e) {
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= T4;
}
o(O4, "isLength");
mR.exports = O4;
});
// ../node_modules/lodash/_baseIsTypedArray.js
var bR = f((e0e, hR) => {
var S4 = Ro(), M4 = Zh(), A4 = So(), I4 = "[object Arguments]", N4 = "[object Array]", j4 = "[object Boolean]", $4 = "[object Date]", L4 = "\
[object Error]", D4 = "[object Function]", B4 = "[object Map]", k4 = "[object Number]", F4 = "[object Object]", H4 = "[object RegExp]", U4 = "\
[object Set]", V4 = "[object String]", z4 = "[object WeakMap]", W4 = "[object ArrayBuffer]", G4 = "[object DataView]", K4 = "[object Float32\
Array]", Y4 = "[object Float64Array]", X4 = "[object Int8Array]", J4 = "[object Int16Array]", Q4 = "[object Int32Array]", Z4 = "[object Uint\
8Array]", e9 = "[object Uint8ClampedArray]", t9 = "[object Uint16Array]", r9 = "[object Uint32Array]", we = {};
we[K4] = we[Y4] = we[X4] = we[J4] = we[Q4] = we[Z4] = we[e9] = we[t9] = we[r9] = !0;
we[I4] = we[N4] = we[W4] = we[j4] = we[G4] = we[$4] = we[L4] = we[D4] = we[B4] = we[k4] = we[F4] = we[H4] = we[U4] = we[V4] = we[z4] = !1;
function n9(e) {
return A4(e) && M4(e.length) && !!we[S4(e)];
}
o(n9, "baseIsTypedArray");
hR.exports = n9;
});
// ../node_modules/lodash/_baseUnary.js
var gR = f((r0e, yR) => {
function o9(e) {
return function(t) {
return e(t);
};
}
o(o9, "baseUnary");
yR.exports = o9;
});
// ../node_modules/lodash/_nodeUtil.js
var ER = f((Ao, Pn) => {
var i9 = Vh(), vR = typeof Ao == "object" && Ao && !Ao.nodeType && Ao, Io = vR && typeof Pn == "object" && Pn && !Pn.nodeType && Pn, a9 = Io &&
Io.exports === vR, eb = a9 && i9.process, s9 = function() {
try {
var e = Io && Io.require && Io.require("util").types;
return e || eb && eb.binding && eb.binding("util");
} catch {
}
}();
Pn.exports = s9;
});
// ../node_modules/lodash/isTypedArray.js
var tb = f((o0e, CR) => {
var l9 = bR(), u9 = gR(), wR = ER(), _R = wR && wR.isTypedArray, c9 = _R ? u9(_R) : l9;
CR.exports = c9;
});
// ../node_modules/lodash/_arrayLikeKeys.js
var PR = f((i0e, qR) => {
var d9 = Zx(), f9 = aR(), p9 = su(), m9 = Qh(), h9 = pR(), b9 = tb(), y9 = Object.prototype, g9 = y9.hasOwnProperty;
function v9(e, t) {
var r = p9(e), n = !r && f9(e), i = !r && !n && m9(e), a = !r && !n && !i && b9(e), s = r || n || i || a, l = s ? d9(e.length, String) :
[], c = l.length;
for (var u in e)
(t || g9.call(e, u)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
i && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
h9(u, c))) && l.push(u);
return l;
}
o(v9, "arrayLikeKeys");
qR.exports = v9;
});
// ../node_modules/lodash/_isPrototype.js
var RR = f((s0e, xR) => {
var E9 = Object.prototype;
function w9(e) {
var t = e && e.constructor, r = typeof t == "function" && t.prototype || E9;
return e === r;
}
o(w9, "isPrototype");
xR.exports = w9;
});
// ../node_modules/lodash/_overArg.js
var OR = f((u0e, TR) => {
function _9(e, t) {
return function(r) {
return e(t(r));
};
}
o(_9, "overArg");
TR.exports = _9;
});
// ../node_modules/lodash/_nativeKeys.js
var MR = f((d0e, SR) => {
var C9 = OR(), q9 = C9(Object.keys, Object);
SR.exports = q9;
});
// ../node_modules/lodash/_baseKeys.js
var IR = f((f0e, AR) => {
var P9 = RR(), x9 = MR(), R9 = Object.prototype, T9 = R9.hasOwnProperty;
function O9(e) {
if (!P9(e))
return x9(e);
var t = [];
for (var r in Object(e))
T9.call(e, r) && r != "constructor" && t.push(r);
return t;
}
o(O9, "baseKeys");
AR.exports = O9;
});
// ../node_modules/lodash/isArrayLike.js
var jR = f((m0e, NR) => {
var S9 = Wh(), M9 = Zh();
function A9(e) {
return e != null && M9(e.length) && !S9(e);
}
o(A9, "isArrayLike");
NR.exports = A9;
});
// ../node_modules/lodash/keys.js
var LR = f((b0e, $R) => {
var I9 = PR(), N9 = IR(), j9 = jR();
function $9(e) {
return j9(e) ? I9(e) : N9(e);
}
o($9, "keys");
$R.exports = $9;
});
// ../node_modules/lodash/_getAllKeys.js
var BR = f((g0e, DR) => {
var L9 = Vx(), D9 = Jx(), B9 = LR();
function k9(e) {
return L9(e, B9, D9);
}
o(k9, "getAllKeys");
DR.exports = k9;
});
// ../node_modules/lodash/_equalObjects.js
var HR = f((E0e, FR) => {
var kR = BR(), F9 = 1, H9 = Object.prototype, U9 = H9.hasOwnProperty;
function V9(e, t, r, n, i, a) {
var s = r & F9, l = kR(e), c = l.length, u = kR(t), d = u.length;
if (c != d && !s)
return !1;
for (var p = c; p--; ) {
var b = l[p];
if (!(s ? b in t : U9.call(t, b)))
return !1;
}
var m = a.get(e), y = a.get(t);
if (m && y)
return m == t && y == e;
var h = !0;
a.set(e, t), a.set(t, e);
for (var w = s; ++p < c; ) {
b = l[p];
var g = e[b], q = t[b];
if (n)
var P = s ? n(q, g, b, t, e, a) : n(g, q, b, e, t, a);
if (!(P === void 0 ? g === q || i(g, q, r, n, a) : P)) {
h = !1;
break;
}
w || (w = b == "constructor");
}
if (h && !w) {
var _ = e.constructor, C = t.constructor;
_ != C && "constructor" in e && "constructor" in t && !(typeof _ == "function" && _ instanceof _ && typeof C == "function" && C instanceof
C) && (h = !1);
}
return a.delete(e), a.delete(t), h;
}
o(V9, "equalObjects");
FR.exports = V9;
});
// ../node_modules/lodash/_DataView.js
var VR = f((_0e, UR) => {
var z9 = Br(), W9 = Lt(), G9 = z9(W9, "DataView");
UR.exports = G9;
});
// ../node_modules/lodash/_Promise.js
var WR = f((C0e, zR) => {
var K9 = Br(), Y9 = Lt(), X9 = K9(Y9, "Promise");
zR.exports = X9;
});
// ../node_modules/lodash/_Set.js
var KR = f((q0e, GR) => {
var J9 = Br(), Q9 = Lt(), Z9 = J9(Q9, "Set");
GR.exports = Z9;
});
// ../node_modules/lodash/_WeakMap.js
var XR = f((P0e, YR) => {
var eW = Br(), tW = Lt(), rW = eW(tW, "WeakMap");
YR.exports = rW;
});
// ../node_modules/lodash/_getTag.js
var oT = f((x0e, nT) => {
var rb = VR(), nb = iu(), ob = WR(), ib = KR(), ab = XR(), rT = Ro(), xn = Kh(), JR = "[object Map]", nW = "[object Object]", QR = "[objec\
t Promise]", ZR = "[object Set]", eT = "[object WeakMap]", tT = "[object DataView]", oW = xn(rb), iW = xn(nb), aW = xn(ob), sW = xn(ib), lW = xn(
ab), kr = rT;
(rb && kr(new rb(new ArrayBuffer(1))) != tT || nb && kr(new nb()) != JR || ob && kr(ob.resolve()) != QR || ib && kr(new ib()) != ZR || ab &&
kr(new ab()) != eT) && (kr = /* @__PURE__ */ o(function(e) {
var t = rT(e), r = t == nW ? e.constructor : void 0, n = r ? xn(r) : "";
if (n)
switch (n) {
case oW:
return tT;
case iW:
return JR;
case aW:
return QR;
case sW:
return ZR;
case lW:
return eT;
}
return t;
}, "getTag"));
nT.exports = kr;
});
// ../node_modules/lodash/_baseIsEqualDeep.js
var fT = f((T0e, dT) => {
var sb = yx(), uW = Xh(), cW = Bx(), dW = HR(), iT = oT(), aT = su(), sT = Qh(), fW = tb(), pW = 1, lT = "[object Arguments]", uT = "[obje\
ct Array]", lu = "[object Object]", mW = Object.prototype, cT = mW.hasOwnProperty;
function hW(e, t, r, n, i, a) {
var s = aT(e), l = aT(t), c = s ? uT : iT(e), u = l ? uT : iT(t);
c = c == lT ? lu : c, u = u == lT ? lu : u;
var d = c == lu, p = u == lu, b = c == u;
if (b && sT(e)) {
if (!sT(t))
return !1;
s = !0, d = !1;
}
if (b && !d)
return a || (a = new sb()), s || fW(e) ? uW(e, t, r, n, i, a) : cW(e, t, c, r, n, i, a);
if (!(r & pW)) {
var m = d && cT.call(e, "__wrapped__"), y = p && cT.call(t, "__wrapped__");
if (m || y) {
var h = m ? e.value() : e, w = y ? t.value() : t;
return a || (a = new sb()), i(h, w, r, n, a);
}
}
return b ? (a || (a = new sb()), dW(e, t, r, n, i, a)) : !1;
}
o(hW, "baseIsEqualDeep");
dT.exports = hW;
});
// ../node_modules/lodash/_baseIsEqual.js
var bT = f((S0e, hT) => {
var bW = fT(), pT = So();
function mT(e, t, r, n, i) {
return e === t ? !0 : e == null || t == null || !pT(e) && !pT(t) ? e !== e && t !== t : bW(e, t, r, n, mT, i);
}
o(mT, "baseIsEqual");
hT.exports = mT;
});
// ../node_modules/lodash/isEqualWith.js
var lb = f((A0e, yT) => {
var yW = bT();
function gW(e, t, r) {
r = typeof r == "function" ? r : void 0;
var n = r ? r(e, t) : void 0;
return n === void 0 ? yW(e, t, void 0, r) : !!n;
}
o(gW, "isEqualWith");
yT.exports = gW;
});
// ../node_modules/css.escape/css.escape.js
var cb = f((ub, gT) => {
(function(e, t) {
typeof ub == "object" ? gT.exports = t(e) : typeof define == "function" && define.amd ? define([], t.bind(e, e)) : t(e);
})(typeof global < "u" ? global : ub, function(e) {
if (e.CSS && e.CSS.escape)
return e.CSS.escape;
var t = /* @__PURE__ */ o(function(r) {
if (arguments.length == 0)
throw new TypeError("`CSS.escape` requires an argument.");
for (var n = String(r), i = n.length, a = -1, s, l = "", c = n.charCodeAt(0); ++a < i; ) {
if (s = n.charCodeAt(a), s == 0) {
l += "\uFFFD";
continue;
}
if (
// If the character is in the range [\1-\1F] (U+0001 to U+001F) or is
// U+007F, […]
s >= 1 && s <= 31 || s == 127 || // If the character is the first character and is in the range [0-9]
// (U+0030 to U+0039), […]
a == 0 && s >= 48 && s <= 57 || // If the character is the second character and is in the range [0-9]
// (U+0030 to U+0039) and the first character is a `-` (U+002D), […]
a == 1 && s >= 48 && s <= 57 && c == 45
) {
l += "\\" + s.toString(16) + " ";
continue;
}
if (
// If the character is the first character and is a `-` (U+002D), and
// there is no second character, […]
a == 0 && i == 1 && s == 45
) {
l += "\\" + n.charAt(a);
continue;
}
if (s >= 128 || s == 45 || s == 95 || s >= 48 && s <= 57 || s >= 65 && s <= 90 || s >= 97 && s <= 122) {
l += n.charAt(a);
continue;
}
l += "\\" + n.charAt(a);
}
return l;
}, "cssEscape");
return e.CSS || (e.CSS = {}), e.CSS.escape = t, t;
});
});
// ../node_modules/@testing-library/jest-dom/dist/matchers-7fb38cd4.js
var jT = f((ne) => {
"use strict";
var vT = rh(), vW = (lh(), Wt(sh)), PT = (fh(), Wt(dh)), fb = Mh(), EW = Hh(), pb = lb(), wW = cb(), uu = class extends Error {
static {
o(this, "GenericTypeError");
}
constructor(t, r, n, i) {
super(), Error.captureStackTrace && Error.captureStackTrace(this, n);
let a = "";
try {
a = i.utils.printWithType(
"Received",
r,
i.utils.printReceived
);
} catch {
}
this.message = [
i.utils.matcherHint(
`${i.isNot ? ".not" : ""}.${n.name}`,
"received",
""
),
"",
// eslint-disable-next-line new-cap
`${i.utils.RECEIVED_COLOR(
"received"
)} value must ${t}.`,
a
].join(`
`);
}
}, cu = class extends uu {
static {
o(this, "HtmlElementTypeError");
}
constructor(...t) {
super("be an HTMLElement or an SVGElement", ...t);
}
}, du = class extends uu {
static {
o(this, "NodeTypeError");
}
constructor(...t) {
super("be a Node", ...t);
}
};
function xT(e, t, ...r) {
if (!e || !e.ownerDocument || !e.ownerDocument.defaultView)
throw new t(e, ...r);
}
o(xT, "checkHasWindow");
function _W(e, ...t) {
xT(e, du, ...t);
let r = e.ownerDocument.defaultView;
if (!(e instanceof r.Node))
throw new du(e, ...t);
}
o(_W, "checkNode");
function ie(e, ...t) {
xT(e, cu, ...t);
let r = e.ownerDocument.defaultView;
if (!(e instanceof r.HTMLElement) && !(e instanceof r.SVGElement))
throw new cu(e, ...t);
}
o(ie, "checkHtmlElement");
var db = class extends Error {
static {
o(this, "InvalidCSSError");
}
constructor(t, r, n) {
super(), Error.captureStackTrace && Error.captureStackTrace(this, r), this.message = [
t.message,
"",
// eslint-disable-next-line new-cap
n.utils.RECEIVED_COLOR("Failing css:"),
// eslint-disable-next-line new-cap
n.utils.RECEIVED_COLOR(`${t.css}`)
].join(`
`);
}
};
function CW(e, ...t) {
let r = vW.parse(`selector { ${e} }`, { silent: !0 }).stylesheet;
if (r.parsingErrors && r.parsingErrors.length > 0) {
let { reason: i, line: a } = r.parsingErrors[0];
throw new db(
{
css: e,
message: `Syntax error parsing expected css: ${i} on line: ${a}`
},
...t
);
}
return r.rules[0].declarations.filter((i) => i.type === "declaration").reduce(
(i, { property: a, value: s }) => Object.assign(i, { [a]: s }),
{}
);
}
o(CW, "parseCSS");
function ET(e, t) {
return typeof t == "string" ? t : e.utils.stringify(t);
}
o(ET, "display");
function Le(e, t, r, n, i, a) {
return [
`${t}
`,
// eslint-disable-next-line new-cap
`${r}:
${e.utils.EXPECTED_COLOR(
vT(ET(e, n), 2)
)}`,
// eslint-disable-next-line new-cap
`${i}:
${e.utils.RECEIVED_COLOR(
vT(ET(e, a), 2)
)}`
].join(`
`);
}
o(Le, "getMessage");
function qW(e, t) {
return t instanceof RegExp ? t.test(e) : e.includes(String(t));
}
o(qW, "matches");
function gu(e, t) {
console.warn(
`Warning: ${e} has been deprecated and will be removed in future updates.`,
t
);
}
o(gu, "deprecate");
function vu(e) {
return e.replace(/\s+/g, " ").trim();
}
o(vu, "normalize");
function lr(e) {
return e.tagName && e.tagName.toLowerCase();
}
o(lr, "getTag");
function PW({ multiple: e, options: t }) {
let r = [...t].filter((n) => n.selected);
if (e)
return [...r].map((n) => n.value);
if (r.length !== 0)
return r[0].value;
}
o(PW, "getSelectValue");
function xW(e) {
switch (e.type) {
case "number":
return e.value === "" ? null : Number(e.value);
case "checkbox":
return e.checked;
default:
return e.value;
}
}
o(xW, "getInputValue");
var RW = ["meter", "progressbar", "slider", "spinbutton"];
function TW(e) {
if (RW.includes(e.getAttribute("role")))
return Number(e.getAttribute("aria-valuenow"));
}
o(TW, "getAccessibleValue");
function RT(e) {
if (e)
switch (e.tagName.toLowerCase()) {
case "input":
return xW(e);
case "select":
return PW(e);
default:
return e.value ?? TW(e);
}
}
o(RT, "getSingleElementValue");
function OW(e, { wordConnector: t = ", ", lastWordConnector: r = " and " } = {}) {
return [e.slice(0, -1).join(t), e[e.length - 1]].join(
e.length > 1 ? r : ""
);
}
o(OW, "toSentence");
function mb(e, t) {
if (Array.isArray(e) && Array.isArray(t))
return [...new Set(e)].every((r) => new Set(t).has(r));
}
o(mb, "compareArraysAsSet");
function fu(e, t) {
return gu(
"toBeInTheDOM",
"Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."
), e && ie(e, fu, this), t && ie(t, fu, this), {
pass: t ? t.contains(e) : !!e,
message: /* @__PURE__ */ o(() => [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeInTheDOM`,
"element",
""
),
"",
"Received:",
` ${this.utils.printReceived(
e && e.cloneNode(!1)
)}`
].join(`
`), "message")
};
}
o(fu, "toBeInTheDOM");
function hb(e) {
(e !== null || !this.isNot) && ie(e, hb, this);
let t = e === null ? !1 : e.ownerDocument === e.getRootNode({ composed: !0 }), r = /* @__PURE__ */ o(() => `expected document not to con\
tain element, found ${this.utils.stringify(
e.cloneNode(!0)
)} instead`, "errorFound"), n = /* @__PURE__ */ o(() => "element could not be found in the document", "errorNotFound");
return {
pass: t,
message: /* @__PURE__ */ o(() => [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeInTheDocument`,
"element",
""
),
"",
// eslint-disable-next-line new-cap
this.utils.RECEIVED_COLOR(this.isNot ? r() : n())
].join(`
`), "message")
};
}
o(hb, "toBeInTheDocument");
function bb(e) {
return gu(
"toBeEmpty",
"Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."
), ie(e, bb, this), {
pass: e.innerHTML === "",
message: /* @__PURE__ */ o(() => [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeEmpty`,
"element",
""
),
"",
"Received:",
` ${this.utils.printReceived(e.innerHTML)}`
].join(`
`), "message")
};
}
o(bb, "toBeEmpty");
function yb(e) {
return ie(e, yb, this), {
pass: SW(e),
message: /* @__PURE__ */ o(() => [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeEmptyDOMElement`,
"element",
""
),
"",
"Received:",
` ${this.utils.printReceived(e.innerHTML)}`
].join(`
`), "message")
};
}
o(yb, "toBeEmptyDOMElement");
function SW(e) {
return [...e.childNodes].filter((r) => r.nodeType !== 8).length === 0;
}
o(SW, "isEmptyElement");
function pu(e, t) {
return ie(e, pu, this), t !== null && ie(t, pu, this), {
pass: e.contains(t),
message: /* @__PURE__ */ o(() => [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toContainElement`,
"element",
"element"
),
"",
// eslint-disable-next-line new-cap
this.utils.RECEIVED_COLOR(`${this.utils.stringify(
e.cloneNode(!1)
)} ${this.isNot ? "contains:" : "does not contain:"} ${this.utils.stringify(t && t.cloneNode(!1))}
`)
].join(`
`), "message")
};
}
o(pu, "toContainElement");
function MW(e, t) {
let r = e.ownerDocument.createElement("div");
return r.innerHTML = t, r.innerHTML;
}
o(MW, "getNormalizedHtml");
function gb(e, t) {
if (ie(e, gb, this), typeof t != "string")
throw new Error(`.toContainHTML() expects a string value, got ${t}`);
return {
pass: e.outerHTML.includes(MW(e, t)),
message: /* @__PURE__ */ o(() => [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toContainHTML`,
"element",
""
),
"Expected:",
// eslint-disable-next-line new-cap
` ${this.utils.EXPECTED_COLOR(t)}`,
"Received:",
` ${this.utils.printReceived(e.cloneNode(!0))}`
].join(`
`), "message")
};
}
o(gb, "toContainHTML");
function vb(e, t, r = { normalizeWhitespace: !0 }) {
_W(e, vb, this);
let n = r.normalizeWhitespace ? vu(e.textContent) : e.textContent.replace(/\u00a0/g, " "), i = n !== "" && t === "";
return {
pass: !i && qW(n, t),
message: /* @__PURE__ */ o(() => {
let a = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveTextContent`,
"element",
""
),
i ? "Checking with empty string will always match, use .toBeEmptyDOMElement() instead" : `Expected element ${a} have text content`,
t,
"Received",
n
);
}, "message")
};
}
o(vb, "toHaveTextContent");
function mu(e, t) {
ie(e, mu, this);
let r = PT.computeAccessibleDescription(e), n = arguments.length === 1, i = !1;
return n ? i = r !== "" : i = t instanceof RegExp ? t.test(r) : this.equals(
r,
t
), {
pass: i,
message: /* @__PURE__ */ o(() => {
let a = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.${mu.name}`,
"element",
""
),
`Expected element ${a} have accessible description`,
t,
"Received",
r
);
}, "message")
};
}
o(mu, "toHaveAccessibleDescription");
var No = "aria-invalid", AW = ["false"];
function Eb(e, t) {
ie(e, Eb, this);
let r = this.isNot ? "not to" : "to", n = this.isNot ? ".not.toHaveAccessibleErrorMessage" : ".toHaveAccessibleErrorMessage", i = e.getAttribute(
"aria-errormessage");
if (!!i && /\s+/.test(i))
return {
pass: !1,
message: /* @__PURE__ */ o(() => Le(
this,
this.utils.matcherHint(n, "element"),
"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID",
"",
"Received",
`aria-errormessage="${i}"`
), "message")
};
let s = e.getAttribute(No);
if (!e.hasAttribute(No) || AW.includes(s))
return {
pass: !1,
message: /* @__PURE__ */ o(() => Le(
this,
this.utils.matcherHint(n, "element"),
"Expected element to be marked as invalid with attribute",
`${No}="${String(!0)}"`,
"Received",
e.hasAttribute("aria-invalid") ? `${No}="${e.getAttribute(No)}` : null
), "message")
};
let c = vu(
e.ownerDocument.getElementById(i)?.textContent ?? ""
);
return {
pass: t === void 0 ? !!c : t instanceof RegExp ? t.test(c) : this.equals(c, t),
message: /* @__PURE__ */ o(() => Le(
this,
this.utils.matcherHint(n, "element"),
`Expected element ${r} have accessible error message`,
t ?? "",
"Received",
c
), "message")
};
}
o(Eb, "toHaveAccessibleErrorMessage");
var IW = $W(fb.elementRoles);
function hu(e, t) {
ie(e, hu, this);
let r = NW(e);
return {
pass: r.some((i) => i === t),
message: /* @__PURE__ */ o(() => {
let i = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.${hu.name}`,
"element",
""
),
`Expected element ${i} have role`,
t,
"Received",
r.join(", ")
);
}, "message")
};
}
o(hu, "toHaveRole");
function NW(e) {
return e.hasAttribute("role") ? e.getAttribute("role").split(" ").filter(Boolean) : jW(e);
}
o(NW, "getExplicitOrImplicitRoles");
function jW(e) {
for (let { match: t, roles: r } of IW)
if (t(e))
return [...r];
return [];
}
o(jW, "getImplicitAriaRoles");
function $W(e) {
function t({ name: s, attributes: l }) {
return `${s}${l.map(({ name: c, value: u, constraints: d = [] }) => d.indexOf("undefined") !== -1 ? `:not([${c}])` : u ? `[${c}="${u}"\
]` : `[${c}]`).join("")}`;
}
o(t, "makeElementSelector");
function r({ attributes: s = [] }) {
return s.length;
}
o(r, "getSelectorSpecificity");
function n({ specificity: s }, { specificity: l }) {
return l - s;
}
o(n, "bySelectorSpecificity");
function i(s) {
let { attributes: l = [] } = s, c = l.findIndex(
(d) => d.value && d.name === "type" && d.value === "text"
);
c >= 0 && (l = [
...l.slice(0, c),
...l.slice(c + 1)
]);
let u = t({ ...s, attributes: l });
return (d) => c >= 0 && d.type !== "text" ? !1 : d.matches(u);
}
o(i, "match");
let a = [];
for (let [s, l] of e.entries())
a = [
...a,
{
match: i(s),
roles: Array.from(l),
specificity: r(s)
}
];
return a.sort(n);
}
o($W, "buildElementRoleList");
function bu(e, t) {
ie(e, bu, this);
let r = PT.computeAccessibleName(e), n = arguments.length === 1, i = !1;
return n ? i = r !== "" : i = t instanceof RegExp ? t.test(r) : this.equals(r, t), {
pass: i,
message: /* @__PURE__ */ o(() => {
let a = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.${bu.name}`,
"element",
""
),
`Expected element ${a} have accessible name`,
t,
"Received",
r
);
}, "message")
};
}
o(bu, "toHaveAccessibleName");
function wT(e, t, r) {
return r === void 0 ? t : `${t}=${e(r)}`;
}
o(wT, "printAttribute");
function LW(e, t, r) {
return r === void 0 ? `element.hasAttribute(${e(t)})` : `element.getAttribute(${e(t)}) === ${e(r)}`;
}
o(LW, "getAttributeComment");
function wb(e, t, r) {
ie(e, wb, this);
let n = r !== void 0, i = e.hasAttribute(t), a = e.getAttribute(t);
return {
pass: n ? i && this.equals(a, r) : i,
message: /* @__PURE__ */ o(() => {
let s = this.isNot ? "not to" : "to", l = i ? wT(this.utils.stringify, t, a) : null, c = this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveAttribute`,
"element",
this.utils.printExpected(t),
{
secondArgument: n ? this.utils.printExpected(r) : void 0,
comment: LW(
this.utils.stringify,
t,
r
)
}
);
return Le(
this,
c,
`Expected the element ${s} have attribute`,
wT(this.utils.stringify, t, r),
"Received",
l
);
}, "message")
};
}
o(wb, "toHaveAttribute");
function DW(e) {
let t = e.pop(), r, n;
return typeof t == "object" && !(t instanceof RegExp) ? (r = e, n = t) : (r = e.concat(t), n = { exact: !1 }), { expectedClassNames: r, options: n };
}
o(DW, "getExpectedClassNamesAndOptions");
function _T(e) {
return e ? e.split(/\s+/).filter((t) => t.length > 0) : [];
}
o(_T, "splitClassNames");
function CT(e, t) {
return e.every(
(r) => typeof r == "string" ? t.includes(r) : t.some((n) => r.test(n))
);
}
o(CT, "isSubset$1");
function _b(e, ...t) {
ie(e, _b, this);
let { expectedClassNames: r, options: n } = DW(t), i = _T(e.getAttribute("class")), a = r.reduce(
(l, c) => l.concat(
typeof c == "string" || !c ? _T(c) : c
),
[]
), s = a.some((l) => l instanceof RegExp);
if (n.exact && s)
throw new Error("Exact option does not support RegExp expected class names");
return n.exact ? {
pass: CT(a, i) && a.length === i.length,
message: /* @__PURE__ */ o(() => {
let l = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveClass`,
"element",
this.utils.printExpected(a.join(" "))
),
`Expected the element ${l} have EXACTLY defined classes`,
a.join(" "),
"Received",
i.join(" ")
);
}, "message")
} : a.length > 0 ? {
pass: CT(a, i),
message: /* @__PURE__ */ o(() => {
let l = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveClass`,
"element",
this.utils.printExpected(a.join(" "))
),
`Expected the element ${l} have class`,
a.join(" "),
"Received",
i.join(" ")
);
}, "message")
} : {
pass: this.isNot ? i.length > 0 : !1,
message: /* @__PURE__ */ o(() => this.isNot ? Le(
this,
this.utils.matcherHint(".not.toHaveClass", "element", ""),
"Expected the element to have classes",
"(none)",
"Received",
i.join(" ")
) : [
this.utils.matcherHint(".toHaveClass", "element"),
"At least one expected class must be provided."
].join(`
`), "message")
};
}
o(_b, "toHaveClass");
function BW(e, t) {
let r = {}, n = e.createElement("div");
return Object.keys(t).forEach((i) => {
n.style[i] = t[i], r[i] = n.style[i];
}), r;
}
o(BW, "getStyleDeclaration");
function kW(e, t) {
return !!Object.keys(e).length && Object.entries(e).every(([r, n]) => {
let i = r.startsWith("--"), a = [r];
return i || a.push(r.toLowerCase()), a.some(
(s) => t[s] === n || t.getPropertyValue(s) === n
);
});
}
o(kW, "isSubset");
function qT(e) {
return Object.keys(e).sort().map((t) => `${t}: ${e[t]};`).join(`
`);
}
o(qT, "printoutStyles");
function FW(e, t, r) {
let n = Array.from(r).filter((a) => t[a] !== void 0).reduce(
(a, s) => Object.assign(a, { [s]: r.getPropertyValue(s) }),
{}
);
return e(qT(t), qT(n)).replace(`${EW.red("+ Received")}
`, "");
}
o(FW, "expectedDiff");
function yu(e, t) {
ie(e, yu, this);
let r = typeof t == "object" ? t : CW(t, yu, this), { getComputedStyle: n } = e.ownerDocument.defaultView, i = BW(e.ownerDocument, r), a = n(
e);
return {
pass: kW(i, a),
message: /* @__PURE__ */ o(() => {
let s = `${this.isNot ? ".not" : ""}.toHaveStyle`;
return [
this.utils.matcherHint(s, "element", ""),
FW(this.utils.diff, i, a)
].join(`
`);
}, "message")
};
}
o(yu, "toHaveStyle");
function Cb(e) {
return ie(e, Cb, this), {
pass: e.ownerDocument.activeElement === e,
message: /* @__PURE__ */ o(() => [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveFocus`,
"element",
""
),
"",
...this.isNot ? [
"Received element is focused:",
` ${this.utils.printReceived(e)}`
] : [
"Expected element with focus:",
` ${this.utils.printExpected(e)}`,
"Received element with focus:",
` ${this.utils.printReceived(
e.ownerDocument.activeElement
)}`
]
].join(`
`), "message")
};
}
o(Cb, "toHaveFocus");
function HW(e) {
let t = [...new Set(e.map((r) => r.type))];
if (t.length !== 1)
throw new Error(
"Multiple form elements with the same name must be of the same type"
);
switch (t[0]) {
case "radio": {
let r = e.find((n) => n.checked);
return r ? r.value : void 0;
}
case "checkbox":
return e.filter((r) => r.checked).map((r) => r.value);
default:
return e.map((r) => r.value);
}
}
o(HW, "getMultiElementValue");
function UW(e, t) {
let r = [...e.querySelectorAll(`[name="${wW(t)}"]`)];
if (r.length !== 0)
switch (r.length) {
case 1:
return RT(r[0]);
default:
return HW(r);
}
}
o(UW, "getFormValue");
function VW(e) {
return /\[\]$/.test(e) ? e.slice(0, -2) : e;
}
o(VW, "getPureName");
function zW(e) {
return Array.from(e.elements).map((r) => r.name).reduce(
(r, n) => ({
...r,
[VW(n)]: UW(e, n)
}),
{}
);
}
o(zW, "getAllFormValues");
function qb(e, t) {
if (ie(e, qb, this), !e.elements)
throw new Error("toHaveFormValues must be called on a form or a fieldset");
let r = zW(e);
return {
pass: Object.entries(t).every(
([n, i]) => pb(r[n], i, mb)
),
message: /* @__PURE__ */ o(() => {
let n = this.isNot ? "not to" : "to", i = `${this.isNot ? ".not" : ""}.toHaveFormValues`, a = Object.keys(r).filter((s) => t.hasOwnProperty(
s)).reduce((s, l) => ({ ...s, [l]: r[l] }), {});
return [
this.utils.matcherHint(i, "element", ""),
`Expected the element ${n} have form values`,
this.utils.diff(t, a)
].join(`
`);
}, "message")
};
}
o(qb, "toHaveFormValues");
function WW(e) {
let { getComputedStyle: t } = e.ownerDocument.defaultView, { display: r, visibility: n, opacity: i } = t(e);
return r !== "none" && n !== "hidden" && n !== "collapse" && i !== "0" && i !== 0;
}
o(WW, "isStyleVisible");
function GW(e, t) {
let r;
return t ? r = e.nodeName === "DETAILS" && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0 : r = e.nodeName === "DETAILS" ? e.hasAttribute(
"open") : !0, !e.hasAttribute("hidden") && r;
}
o(GW, "isAttributeVisible");
function TT(e, t) {
return WW(e) && GW(e, t) && (!e.parentElement || TT(e.parentElement, e));
}
o(TT, "isElementVisible");
function Pb(e) {
ie(e, Pb, this);
let t = e.ownerDocument === e.getRootNode({ composed: !0 }), r = t && TT(e);
return {
pass: r,
message: /* @__PURE__ */ o(() => {
let n = r ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeVisible`,
"element",
""
),
"",
`Received element ${n} visible${t ? "" : " (element is not in the document)"}:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(Pb, "toBeVisible");
var KW = [
"fieldset",
"input",
"select",
"optgroup",
"option",
"button",
"textarea"
];
function YW(e, t) {
return lr(e) === "legend" && lr(t) === "fieldset" && e.isSameNode(
Array.from(t.children).find((r) => lr(r) === "legend")
);
}
o(YW, "isFirstLegendChildOfFieldset");
function XW(e, t) {
return ST(t) && !YW(e, t);
}
o(XW, "isElementDisabledByParent");
function JW(e) {
return e.includes("-");
}
o(JW, "isCustomElement");
function OT(e) {
let t = lr(e);
return KW.includes(t) || JW(t);
}
o(OT, "canElementBeDisabled");
function ST(e) {
return OT(e) && e.hasAttribute("disabled");
}
o(ST, "isElementDisabled");
function MT(e) {
let t = e.parentElement;
return !!t && (XW(e, t) || MT(t));
}
o(MT, "isAncestorDisabled");
function AT(e) {
return OT(e) && (ST(e) || MT(e));
}
o(AT, "isElementOrAncestorDisabled");
function xb(e) {
ie(e, xb, this);
let t = AT(e);
return {
pass: t,
message: /* @__PURE__ */ o(() => {
let r = t ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeDisabled`,
"element",
""
),
"",
`Received element ${r} disabled:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(xb, "toBeDisabled");
function Rb(e) {
ie(e, Rb, this);
let t = !AT(e);
return {
pass: t,
message: /* @__PURE__ */ o(() => {
let r = t ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeEnabled`,
"element",
""
),
"",
`Received element ${r} enabled:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(Rb, "toBeEnabled");
var QW = ["select", "textarea"], ZW = ["input", "select", "textarea"], e8 = [
"color",
"hidden",
"range",
"submit",
"image",
"reset"
], t8 = [
"checkbox",
"combobox",
"gridcell",
"listbox",
"radiogroup",
"spinbutton",
"textbox",
"tree"
];
function r8(e) {
return QW.includes(lr(e)) && e.hasAttribute("required");
}
o(r8, "isRequiredOnFormTagsExceptInput");
function n8(e) {
return lr(e) === "input" && e.hasAttribute("required") && (e.hasAttribute("type") && !e8.includes(e.getAttribute("type")) || !e.hasAttribute(
"type"));
}
o(n8, "isRequiredOnSupportedInput");
function o8(e) {
return e.hasAttribute("aria-required") && e.getAttribute("aria-required") === "true" && (ZW.includes(lr(e)) || e.hasAttribute("role") &&
t8.includes(e.getAttribute("role")));
}
o(o8, "isElementRequiredByARIA");
function Tb(e) {
ie(e, Tb, this);
let t = r8(e) || n8(e) || o8(e);
return {
pass: t,
message: /* @__PURE__ */ o(() => {
let r = t ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeRequired`,
"element",
""
),
"",
`Received element ${r} required:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(Tb, "toBeRequired");
var i8 = ["form", "input", "select", "textarea"];
function a8(e) {
return e.hasAttribute("aria-invalid") && e.getAttribute("aria-invalid") !== "false";
}
o(a8, "isElementHavingAriaInvalid");
function s8(e) {
return i8.includes(lr(e));
}
o(s8, "isSupportsValidityMethod");
function IT(e) {
let t = a8(e);
return s8(e) ? t || !e.checkValidity() : t;
}
o(IT, "isElementInvalid");
function Ob(e) {
ie(e, Ob, this);
let t = IT(e);
return {
pass: t,
message: /* @__PURE__ */ o(() => {
let r = t ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeInvalid`,
"element",
""
),
"",
`Received element ${r} currently invalid:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(Ob, "toBeInvalid");
function Sb(e) {
ie(e, Sb, this);
let t = !IT(e);
return {
pass: t,
message: /* @__PURE__ */ o(() => {
let r = t ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeValid`,
"element",
""
),
"",
`Received element ${r} currently valid:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(Sb, "toBeValid");
function Mb(e, t) {
if (ie(e, Mb, this), e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type))
throw new Error(
"input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValue\
s() instead"
);
let r = RT(e), n = t !== void 0, i = t, a = r;
return t == r && t !== r && (i = `${t} (${typeof t})`, a = `${r} (${typeof r})`), {
pass: n ? pb(r, t, mb) : !!r,
message: /* @__PURE__ */ o(() => {
let s = this.isNot ? "not to" : "to", l = this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveValue`,
"element",
t
);
return Le(
this,
l,
`Expected the element ${s} have value`,
n ? i : "(any)",
"Received",
a
);
}, "message")
};
}
o(Mb, "toHaveValue");
function Ab(e, t) {
ie(e, Ab, this);
let r = e.tagName.toLowerCase();
if (!["select", "input", "textarea"].includes(r))
throw new Error(
".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead."
);
if (r === "input" && ["radio", "checkbox"].includes(e.type))
throw new Error(
`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`
);
let n = l8(r, e), i = u8(t), a = i.filter(
(c) => n.some(
(u) => c instanceof RegExp ? c.test(u) : this.equals(u, String(c))
)
).length, s = a === n.length, l = a === i.length;
return {
pass: s && l,
message: /* @__PURE__ */ o(() => Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveDisplayValue`,
"element",
""
),
`Expected element ${this.isNot ? "not " : ""}to have display value`,
t,
"Received",
n
), "message")
};
}
o(Ab, "toHaveDisplayValue");
function l8(e, t) {
return e === "select" ? Array.from(t).filter((r) => r.selected).map((r) => r.textContent) : [t.value];
}
o(l8, "getValues");
function u8(e) {
return e instanceof Array ? e : [e];
}
o(u8, "getExpectedValues");
function Ib(e) {
ie(e, Ib, this);
let t = /* @__PURE__ */ o(() => e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type), "isValidInput"), r = /* @__PURE__ */ o(
() => NT(e.getAttribute("role")) && ["true", "false"].includes(e.getAttribute("aria-checked")), "isValidAriaElement");
if (!t() && !r())
return {
pass: !1,
message: /* @__PURE__ */ o(() => `only inputs with type="checkbox" or type="radio" or elements with ${c8()} and a valid aria-checked\
attribute can be used with .toBeChecked(). Use .toHaveValue() instead`, "message")
};
let n = /* @__PURE__ */ o(() => t() ? e.checked : e.getAttribute("aria-checked") === "true", "isChecked");
return {
pass: n(),
message: /* @__PURE__ */ o(() => {
let i = n() ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBeChecked`,
"element",
""
),
"",
`Received element ${i} checked:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(Ib, "toBeChecked");
function c8() {
return OW(
d8().map((e) => `role="${e}"`),
{ lastWordConnector: " or " }
);
}
o(c8, "supportedRolesSentence");
function d8() {
return fb.roles.keys().filter(NT);
}
o(d8, "supportedRoles");
function NT(e) {
return fb.roles.get(e)?.props["aria-checked"] !== void 0;
}
o(NT, "roleSupportsChecked");
function Nb(e) {
ie(e, Nb, this);
let t = /* @__PURE__ */ o(() => e.tagName.toLowerCase() === "input" && e.type === "checkbox", "isValidInput"), r = /* @__PURE__ */ o(() => e.
getAttribute("role") === "checkbox", "isValidAriaElement");
if (!t() && !r())
return {
pass: !1,
message: /* @__PURE__ */ o(() => 'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribu\
te can be used with .toBePartiallyChecked(). Use .toHaveValue() instead', "message")
};
let n = /* @__PURE__ */ o(() => {
let i = e.getAttribute("aria-checked") === "mixed";
return t() && e.indeterminate || i;
}, "isPartiallyChecked");
return {
pass: n(),
message: /* @__PURE__ */ o(() => {
let i = n() ? "is" : "is not";
return [
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toBePartiallyChecked`,
"element",
""
),
"",
`Received element ${i} partially checked:`,
` ${this.utils.printReceived(e.cloneNode(!1))}`
].join(`
`);
}, "message")
};
}
o(Nb, "toBePartiallyChecked");
function jb(e, t) {
gu(
"toHaveDescription",
"Please use toHaveAccessibleDescription."
), ie(e, jb, this);
let r = t !== void 0, i = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean), a = "";
if (i.length > 0) {
let s = e.ownerDocument, l = i.map((c) => s.getElementById(c)).filter(Boolean);
a = vu(l.map((c) => c.textContent).join(" "));
}
return {
pass: r ? t instanceof RegExp ? t.test(a) : this.equals(a, t) : !!a,
message: /* @__PURE__ */ o(() => {
let s = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveDescription`,
"element",
""
),
`Expected the element ${s} have description`,
this.utils.printExpected(t),
"Received",
this.utils.printReceived(a)
);
}, "message")
};
}
o(jb, "toHaveDescription");
function $b(e, t) {
if (gu("toHaveErrorMessage", "Please use toHaveAccessibleErrorMessage."), ie(e, $b, this), !e.hasAttribute("aria-invalid") || e.getAttribute(
"aria-invalid") === "false") {
let s = this.isNot ? ".not" : "";
return {
pass: !1,
message: /* @__PURE__ */ o(() => Le(
this,
this.utils.matcherHint(`${s}.toHaveErrorMessage`, "element", ""),
"Expected the element to have invalid state indicated by",
'aria-invalid="true"',
"Received",
e.hasAttribute("aria-invalid") ? `aria-invalid="${e.getAttribute("aria-invalid")}"` : this.utils.printReceived("")
), "message")
};
}
let r = t !== void 0, i = (e.getAttribute("aria-errormessage") || "").split(/\s+/).filter(Boolean), a = "";
if (i.length > 0) {
let s = e.ownerDocument, l = i.map((c) => s.getElementById(c)).filter(Boolean);
a = vu(
l.map((c) => c.textContent).join(" ")
);
}
return {
pass: r ? t instanceof RegExp ? t.test(a) : this.equals(a, t) : !!a,
message: /* @__PURE__ */ o(() => {
let s = this.isNot ? "not to" : "to";
return Le(
this,
this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveErrorMessage`,
"element",
""
),
`Expected the element ${s} have error message`,
this.utils.printExpected(t),
"Received",
this.utils.printReceived(a)
);
}, "message")
};
}
o($b, "toHaveErrorMessage");
function f8(e) {
let t = e.ownerDocument.getSelection();
if (["input", "textarea"].includes(e.tagName.toLowerCase()))
return ["radio", "checkbox"].includes(e.type) ? "" : e.value.toString().substring(e.selectionStart, e.selectionEnd);
if (t.anchorNode === null || t.focusNode === null)
return "";
let r = t.getRangeAt(0), n = e.ownerDocument.createRange();
if (t.containsNode(e, !1))
n.selectNodeContents(e), t.removeAllRanges(), t.addRange(n);
else if (!(e.contains(t.anchorNode) && e.contains(t.focusNode))) {
let a = e === r.startContainer || e.contains(r.startContainer), s = e === r.endContainer || e.contains(r.endContainer);
t.removeAllRanges(), (a || s) && (n.selectNodeContents(e), a && n.setStart(
r.startContainer,
r.startOffset
), s && n.setEnd(
r.endContainer,
r.endOffset
), t.addRange(n));
}
let i = t.toString();
return t.removeAllRanges(), t.addRange(r), i;
}
o(f8, "getSelection");
function Lb(e, t) {
ie(e, Lb, this);
let r = t !== void 0;
if (r && typeof t != "string")
throw new Error("expected selection must be a string or undefined");
let n = f8(e);
return {
pass: r ? pb(n, t, mb) : !!n,
message: /* @__PURE__ */ o(() => {
let i = this.isNot ? "not to" : "to", a = this.utils.matcherHint(
`${this.isNot ? ".not" : ""}.toHaveSelection`,
"element",
t
);
return Le(
this,
a,
`Expected the element ${i} have selection`,
r ? t : "(any)",
"Received",
n
);
}, "message")
};
}
o(Lb, "toHaveSelection");
var p8 = /* @__PURE__ */ Object.freeze({
__proto__: null,
toBeChecked: Ib,
toBeDisabled: xb,
toBeEmpty: bb,
toBeEmptyDOMElement: yb,
toBeEnabled: Rb,
toBeInTheDOM: fu,
toBeInTheDocument: hb,
toBeInvalid: Ob,
toBePartiallyChecked: Nb,
toBeRequired: Tb,
toBeValid: Sb,
toBeVisible: Pb,
toContainElement: pu,
toContainHTML: gb,
toHaveAccessibleDescription: mu,
toHaveAccessibleErrorMessage: Eb,
toHaveAccessibleName: bu,
toHaveAttribute: wb,
toHaveClass: _b,
toHaveDescription: jb,
toHaveDisplayValue: Ab,
toHaveErrorMessage: $b,
toHaveFocus: Cb,
toHaveFormValues: qb,
toHaveRole: hu,
toHaveSelection: Lb,
toHaveStyle: yu,
toHaveTextContent: vb,
toHaveValue: Mb
});
ne.extensions = p8;
ne.toBeChecked = Ib;
ne.toBeDisabled = xb;
ne.toBeEmpty = bb;
ne.toBeEmptyDOMElement = yb;
ne.toBeEnabled = Rb;
ne.toBeInTheDOM = fu;
ne.toBeInTheDocument = hb;
ne.toBeInvalid = Ob;
ne.toBePartiallyChecked = Nb;
ne.toBeRequired = Tb;
ne.toBeValid = Sb;
ne.toBeVisible = Pb;
ne.toContainElement = pu;
ne.toContainHTML = gb;
ne.toHaveAccessibleDescription = mu;
ne.toHaveAccessibleErrorMessage = Eb;
ne.toHaveAccessibleName = bu;
ne.toHaveAttribute = wb;
ne.toHaveClass = _b;
ne.toHaveDescription = jb;
ne.toHaveDisplayValue = Ab;
ne.toHaveErrorMessage = $b;
ne.toHaveFocus = Cb;
ne.toHaveFormValues = qb;
ne.toHaveRole = hu;
ne.toHaveSelection = Lb;
ne.toHaveStyle = yu;
ne.toHaveTextContent = vb;
ne.toHaveValue = Mb;
});
// ../node_modules/@testing-library/jest-dom/dist/matchers.js
var $T = f((ae) => {
"use strict";
var ce = jT();
rh();
lh();
fh();
Mh();
Hh();
lb();
cb();
ae.toBeChecked = ce.toBeChecked;
ae.toBeDisabled = ce.toBeDisabled;
ae.toBeEmpty = ce.toBeEmpty;
ae.toBeEmptyDOMElement = ce.toBeEmptyDOMElement;
ae.toBeEnabled = ce.toBeEnabled;
ae.toBeInTheDOM = ce.toBeInTheDOM;
ae.toBeInTheDocument = ce.toBeInTheDocument;
ae.toBeInvalid = ce.toBeInvalid;
ae.toBePartiallyChecked = ce.toBePartiallyChecked;
ae.toBeRequired = ce.toBeRequired;
ae.toBeValid = ce.toBeValid;
ae.toBeVisible = ce.toBeVisible;
ae.toContainElement = ce.toContainElement;
ae.toContainHTML = ce.toContainHTML;
ae.toHaveAccessibleDescription = ce.toHaveAccessibleDescription;
ae.toHaveAccessibleErrorMessage = ce.toHaveAccessibleErrorMessage;
ae.toHaveAccessibleName = ce.toHaveAccessibleName;
ae.toHaveAttribute = ce.toHaveAttribute;
ae.toHaveClass = ce.toHaveClass;
ae.toHaveDescription = ce.toHaveDescription;
ae.toHaveDisplayValue = ce.toHaveDisplayValue;
ae.toHaveErrorMessage = ce.toHaveErrorMessage;
ae.toHaveFocus = ce.toHaveFocus;
ae.toHaveFormValues = ce.toHaveFormValues;
ae.toHaveRole = ce.toHaveRole;
ae.toHaveSelection = ce.toHaveSelection;
ae.toHaveStyle = ce.toHaveStyle;
ae.toHaveTextContent = ce.toHaveTextContent;
ae.toHaveValue = ce.toHaveValue;
});
// ../node_modules/@babel/runtime/helpers/interopRequireDefault.js
var Sy = f((mRe, zo) => {
function W7(e) {
return e && e.__esModule ? e : {
default: e
};
}
o(W7, "_interopRequireDefault");
zo.exports = W7, zo.exports.__esModule = !0, zo.exports.default = zo.exports;
});
// ../node_modules/pretty-format/node_modules/ansi-styles/index.js
var My = f((bRe, DS) => {
"use strict";
var $S = /* @__PURE__ */ o((e = 0) => (t) => `\x1B[${38 + e};5;${t}m`, "wrapAnsi256"), LS = /* @__PURE__ */ o((e = 0) => (t, r, n) => `\x1B[${38 +
e};2;${t};${r};${n}m`, "wrapAnsi16m");
function G7() {
let e = /* @__PURE__ */ new Map(), t = {
modifier: {
reset: [0, 0],
// 21 isn't widely supported and 22 does the same thing
bold: [1, 22],
dim: [2, 22],
italic: [3, 23],
underline: [4, 24],
overline: [53, 55],
inverse: [7, 27],
hidden: [8, 28],
strikethrough: [9, 29]
},
color: {
black: [30, 39],
red: [31, 39],
green: [32, 39],
yellow: [33, 39],
blue: [34, 39],
magenta: [35, 39],
cyan: [36, 39],
white: [37, 39],
// Bright color
blackBright: [90, 39],
redBright: [91, 39],
greenBright: [92, 39],
yellowBright: [93, 39],
blueBright: [94, 39],
magentaBright: [95, 39],
cyanBright: [96, 39],
whiteBright: [97, 39]
},
bgColor: {
bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
bgYellow: [43, 49],
bgBlue: [44, 49],
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],
// Bright color
bgBlackBright: [100, 49],
bgRedBright: [101, 49],
bgGreenBright: [102, 49],
bgYellowBright: [103, 49],
bgBlueBright: [104, 49],
bgMagentaBright: [105, 49],
bgCyanBright: [106, 49],
bgWhiteBright: [107, 49]
}
};
t.color.gray = t.color.blackBright, t.bgColor.bgGray = t.bgColor.bgBlackBright, t.color.grey = t.color.blackBright, t.bgColor.bgGrey = t.
bgColor.bgBlackBright;
for (let [r, n] of Object.entries(t)) {
for (let [i, a] of Object.entries(n))
t[i] = {
open: `\x1B[${a[0]}m`,
close: `\x1B[${a[1]}m`
}, n[i] = t[i], e.set(a[0], a[1]);
Object.defineProperty(t, r, {
value: n,
enumerable: !1
});
}
return Object.defineProperty(t, "codes", {
value: e,
enumerable: !1
}), t.color.close = "\x1B[39m", t.bgColor.close = "\x1B[49m", t.color.ansi256 = $S(), t.color.ansi16m = LS(), t.bgColor.ansi256 = $S(10),
t.bgColor.ansi16m = LS(10), Object.defineProperties(t, {
rgbToAnsi256: {
value: /* @__PURE__ */ o((r, n, i) => r === n && n === i ? r < 8 ? 16 : r > 248 ? 231 : Math.round((r - 8) / 247 * 24) + 232 : 16 + 36 *
Math.round(r / 255 * 5) + 6 * Math.round(n / 255 * 5) + Math.round(i / 255 * 5), "value"),
enumerable: !1
},
hexToRgb: {
value: /* @__PURE__ */ o((r) => {
let n = /(?[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));
if (!n)
return [0, 0, 0];
let { colorString: i } = n.groups;
i.length === 3 && (i = i.split("").map((s) => s + s).join(""));
let a = Number.parseInt(i, 16);
return [
a >> 16 & 255,
a >> 8 & 255,
a & 255
];
}, "value"),
enumerable: !1
},
hexToAnsi256: {
value: /* @__PURE__ */ o((r) => t.rgbToAnsi256(...t.hexToRgb(r)), "value"),
enumerable: !1
}
}), t;
}
o(G7, "assembleStyles");
Object.defineProperty(DS, "exports", {
enumerable: !0,
get: G7
});
});
// ../node_modules/pretty-format/build/collections.js
var Wo = f((Nn) => {
"use strict";
Object.defineProperty(Nn, "__esModule", {
value: !0
});
Nn.printIteratorEntries = Y7;
Nn.printIteratorValues = X7;
Nn.printListItems = J7;
Nn.printObjectProperties = Q7;
var K7 = /* @__PURE__ */ o((e, t) => {
let r = Object.keys(e).sort(t);
return Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(e).forEach((n) => {
Object.getOwnPropertyDescriptor(e, n).enumerable && r.push(n);
}), r;
}, "getKeysOfEnumerableProperties");
function Y7(e, t, r, n, i, a, s = ": ") {
let l = "", c = e.next();
if (!c.done) {
l += t.spacingOuter;
let u = r + t.indent;
for (; !c.done; ) {
let d = a(
c.value[0],
t,
u,
n,
i
), p = a(
c.value[1],
t,
u,
n,
i
);
l += u + d + s + p, c = e.next(), c.done ? t.min || (l += ",") : l += "," + t.spacingInner;
}
l += t.spacingOuter + r;
}
return l;
}
o(Y7, "printIteratorEntries");
function X7(e, t, r, n, i, a) {
let s = "", l = e.next();
if (!l.done) {
s += t.spacingOuter;
let c = r + t.indent;
for (; !l.done; )
s += c + a(l.value, t, c, n, i), l = e.next(), l.done ? t.min || (s += ",") : s += "," + t.spacingInner;
s += t.spacingOuter + r;
}
return s;
}
o(X7, "printIteratorValues");
function J7(e, t, r, n, i, a) {
let s = "";
if (e.length) {
s += t.spacingOuter;
let l = r + t.indent;
for (let c = 0; c < e.length; c++)
s += l, c in e && (s += a(e[c], t, l, n, i)), c < e.length - 1 ? s += "," + t.spacingInner : t.min || (s += ",");
s += t.spacingOuter + r;
}
return s;
}
o(J7, "printListItems");
function Q7(e, t, r, n, i, a) {
let s = "", l = K7(e, t.compareKeys);
if (l.length) {
s += t.spacingOuter;
let c = r + t.indent;
for (let u = 0; u < l.length; u++) {
let d = l[u], p = a(d, t, c, n, i), b = a(e[d], t, c, n, i);
s += c + p + ": " + b, u < l.length - 1 ? s += "," + t.spacingInner : t.min || (s += ",");
}
s += t.spacingOuter + r;
}
return s;
}
o(Q7, "printObjectProperties");
});
// ../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js
var HS = f((pr) => {
"use strict";
Object.defineProperty(pr, "__esModule", {
value: !0
});
pr.test = pr.serialize = pr.default = void 0;
var BS = Wo(), ic = function() {
return typeof globalThis < "u" ? globalThis : typeof ic < "u" ? ic : typeof self < "u" ? self : typeof window < "u" ? window : Function(
"return this")();
}(), Ay = ic["jest-symbol-do-not-touch"] || ic.Symbol, Z7 = typeof Ay == "function" && Ay.for ? Ay.for("jest.asymmetricMatcher") : 1267621,
oc = " ", kS = /* @__PURE__ */ o((e, t, r, n, i, a) => {
let s = e.toString();
return s === "ArrayContaining" || s === "ArrayNotContaining" ? ++n > t.maxDepth ? "[" + s + "]" : s + oc + "[" + (0, BS.printListItems)(
e.sample,
t,
r,
n,
i,
a
) + "]" : s === "ObjectContaining" || s === "ObjectNotContaining" ? ++n > t.maxDepth ? "[" + s + "]" : s + oc + "{" + (0, BS.printObjectProperties)(
e.sample,
t,
r,
n,
i,
a
) + "}" : s === "StringMatching" || s === "StringNotMatching" || s === "StringContaining" || s === "StringNotContaining" ? s + oc + a(e.
sample, t, r, n, i) : e.toAsymmetricMatcher();
}, "serialize");
pr.serialize = kS;
var FS = /* @__PURE__ */ o((e) => e && e.$$typeof === Z7, "test");
pr.test = FS;
var eY = {
serialize: kS,
test: FS
}, tY = eY;
pr.default = tY;
});
// ../node_modules/pretty-format/node_modules/ansi-regex/index.js
var VS = f((_Re, US) => {
"use strict";
US.exports = ({ onlyFirst: e = !1 } = {}) => {
let t = [
"[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
"(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
].join("|");
return new RegExp(t, e ? void 0 : "g");
};
});
// ../node_modules/pretty-format/build/plugins/ConvertAnsi.js
var YS = f((mr) => {
"use strict";
Object.defineProperty(mr, "__esModule", {
value: !0
});
mr.test = mr.serialize = mr.default = void 0;
var zS = WS(VS()), ye = WS(My());
function WS(e) {
return e && e.__esModule ? e : { default: e };
}
o(WS, "_interopRequireDefault");
var rY = /* @__PURE__ */ o((e) => e.replace((0, zS.default)(), (t) => {
switch (t) {
case ye.default.red.close:
case ye.default.green.close:
case ye.default.cyan.close:
case ye.default.gray.close:
case ye.default.white.close:
case ye.default.yellow.close:
case ye.default.bgRed.close:
case ye.default.bgGreen.close:
case ye.default.bgYellow.close:
case ye.default.inverse.close:
case ye.default.dim.close:
case ye.default.bold.close:
case ye.default.reset.open:
case ye.default.reset.close:
return ">";
case ye.default.red.open:
return "";
case ye.default.green.open:
return "";
case ye.default.cyan.open:
return "";
case ye.default.gray.open:
return "";
case ye.default.white.open:
return "";
case ye.default.yellow.open:
return "";
case ye.default.bgRed.open:
return "";
case ye.default.bgGreen.open:
return "";
case ye.default.bgYellow.open:
return "";
case ye.default.inverse.open:
return "";
case ye.default.dim.open:
return "";
case ye.default.bold.open:
return "";
default:
return "";
}
}), "toHumanReadableAnsi"), GS = /* @__PURE__ */ o((e) => typeof e == "string" && !!e.match((0, zS.default)()), "test");
mr.test = GS;
var KS = /* @__PURE__ */ o((e, t, r, n, i, a) => a(rY(e), t, r, n, i), "serialize");
mr.serialize = KS;
var nY = {
serialize: KS,
test: GS
}, oY = nY;
mr.default = oY;
});
// ../node_modules/pretty-format/build/plugins/DOMCollection.js
var eM = f((hr) => {
"use strict";
Object.defineProperty(hr, "__esModule", {
value: !0
});
hr.test = hr.serialize = hr.default = void 0;
var XS = Wo(), iY = " ", JS = ["DOMStringMap", "NamedNodeMap"], aY = /^(HTML\w*Collection|NodeList)$/, sY = /* @__PURE__ */ o((e) => JS.indexOf(
e) !== -1 || aY.test(e), "testName"), QS = /* @__PURE__ */ o((e) => e && e.constructor && !!e.constructor.name && sY(e.constructor.name), "\
test");
hr.test = QS;
var lY = /* @__PURE__ */ o((e) => e.constructor.name === "NamedNodeMap", "isNamedNodeMap"), ZS = /* @__PURE__ */ o((e, t, r, n, i, a) => {
let s = e.constructor.name;
return ++n > t.maxDepth ? "[" + s + "]" : (t.min ? "" : s + iY) + (JS.indexOf(s) !== -1 ? "{" + (0, XS.printObjectProperties)(
lY(e) ? Array.from(e).reduce((l, c) => (l[c.name] = c.value, l), {}) : { ...e },
t,
r,
n,
i,
a
) + "}" : "[" + (0, XS.printListItems)(
Array.from(e),
t,
r,
n,
i,
a
) + "]");
}, "serialize");
hr.serialize = ZS;
var uY = {
serialize: ZS,
test: QS
}, cY = uY;
hr.default = cY;
});
// ../node_modules/pretty-format/build/plugins/lib/escapeHTML.js
var tM = f((Iy) => {
"use strict";
Object.defineProperty(Iy, "__esModule", {
value: !0
});
Iy.default = dY;
function dY(e) {
return e.replace(//g, ">");
}
o(dY, "escapeHTML");
});
// ../node_modules/pretty-format/build/plugins/lib/markup.js
var ac = f((Je) => {
"use strict";
Object.defineProperty(Je, "__esModule", {
value: !0
});
Je.printText = Je.printProps = Je.printElementAsLeaf = Je.printElement = Je.printComment = Je.printChildren = void 0;
var rM = fY(tM());
function fY(e) {
return e && e.__esModule ? e : { default: e };
}
o(fY, "_interopRequireDefault");
var pY = /* @__PURE__ */ o((e, t, r, n, i, a, s) => {
let l = n + r.indent, c = r.colors;
return e.map((u) => {
let d = t[u], p = s(d, r, l, i, a);
return typeof d != "string" && (p.indexOf(`
`) !== -1 && (p = r.spacingOuter + l + p + r.spacingOuter + n), p = "{" + p + "}"), r.spacingInner + n + c.prop.open + u + c.prop.close + "=" +
c.value.open + p + c.value.close;
}).join("");
}, "printProps");
Je.printProps = pY;
var mY = /* @__PURE__ */ o((e, t, r, n, i, a) => e.map(
(s) => t.spacingOuter + r + (typeof s == "string" ? nM(s, t) : a(s, t, r, n, i))
).join(""), "printChildren");
Je.printChildren = mY;
var nM = /* @__PURE__ */ o((e, t) => {
let r = t.colors.content;
return r.open + (0, rM.default)(e) + r.close;
}, "printText");
Je.printText = nM;
var hY = /* @__PURE__ */ o((e, t) => {
let r = t.colors.comment;
return r.open + "" + r.close;
}, "printComment");
Je.printComment = hY;
var bY = /* @__PURE__ */ o((e, t, r, n, i) => {
let a = n.colors.tag;
return a.open + "<" + e + (t && a.close + t + n.spacingOuter + i + a.open) + (r ? ">" + a.close + r + n.spacingOuter + i + a.open + "" +
e : (t && !n.min ? "" : " ") + "/") + ">" + a.close;
}, "printElement");
Je.printElement = bY;
var yY = /* @__PURE__ */ o((e, t) => {
let r = t.colors.tag;
return r.open + "<" + e + r.close + " \u2026" + r.open + " />" + r.close;
}, "printElementAsLeaf");
Je.printElementAsLeaf = yY;
});
// ../node_modules/pretty-format/build/plugins/DOMElement.js
var uM = f((br) => {
"use strict";
Object.defineProperty(br, "__esModule", {
value: !0
});
br.test = br.serialize = br.default = void 0;
var jn = ac(), gY = 1, oM = 3, iM = 8, aM = 11, vY = /^((HTML|SVG)\w*)?Element$/, EY = /* @__PURE__ */ o((e) => {
try {
return typeof e.hasAttribute == "function" && e.hasAttribute("is");
} catch {
return !1;
}
}, "testHasAttribute"), wY = /* @__PURE__ */ o((e) => {
let t = e.constructor.name, { nodeType: r, tagName: n } = e, i = typeof n == "string" && n.includes("-") || EY(e);
return r === gY && (vY.test(t) || i) || r === oM && t === "Text" || r === iM && t === "Comment" || r === aM && t === "DocumentFragment";
}, "testNode"), sM = /* @__PURE__ */ o((e) => {
var t;
return (e == null || (t = e.constructor) === null || t === void 0 ? void 0 : t.name) && wY(e);
}, "test");
br.test = sM;
function _Y(e) {
return e.nodeType === oM;
}
o(_Y, "nodeIsText");
function CY(e) {
return e.nodeType === iM;
}
o(CY, "nodeIsComment");
function Ny(e) {
return e.nodeType === aM;
}
o(Ny, "nodeIsFragment");
var lM = /* @__PURE__ */ o((e, t, r, n, i, a) => {
if (_Y(e))
return (0, jn.printText)(e.data, t);
if (CY(e))
return (0, jn.printComment)(e.data, t);
let s = Ny(e) ? "DocumentFragment" : e.tagName.toLowerCase();
return ++n > t.maxDepth ? (0, jn.printElementAsLeaf)(s, t) : (0, jn.printElement)(
s,
(0, jn.printProps)(
Ny(e) ? [] : Array.from(e.attributes).map((l) => l.name).sort(),
Ny(e) ? {} : Array.from(e.attributes).reduce((l, c) => (l[c.name] = c.value, l), {}),
t,
r + t.indent,
n,
i,
a
),
(0, jn.printChildren)(
Array.prototype.slice.call(e.childNodes || e.children),
t,
r + t.indent,
n,
i,
a
),
t,
r
);
}, "serialize");
br.serialize = lM;
var qY = {
serialize: lM,
test: sM
}, PY = qY;
br.default = PY;
});
// ../node_modules/pretty-format/build/plugins/Immutable.js
var mM = f((yr) => {
"use strict";
Object.defineProperty(yr, "__esModule", {
value: !0
});
yr.test = yr.serialize = yr.default = void 0;
var Go = Wo(), xY = "@@__IMMUTABLE_ITERABLE__@@", RY = "@@__IMMUTABLE_LIST__@@", TY = "@@__IMMUTABLE_KEYED__@@", OY = "@@__IMMUTABLE_MAP__\
@@", cM = "@@__IMMUTABLE_ORDERED__@@", SY = "@@__IMMUTABLE_RECORD__@@", MY = "@@__IMMUTABLE_SEQ__@@", AY = "@@__IMMUTABLE_SET__@@", IY = "@@\
__IMMUTABLE_STACK__@@", $n = /* @__PURE__ */ o((e) => "Immutable." + e, "getImmutableName"), sc = /* @__PURE__ */ o((e) => "[" + e + "]", "p\
rintAsLeaf"), Ko = " ", dM = "\u2026", NY = /* @__PURE__ */ o((e, t, r, n, i, a, s) => ++n > t.maxDepth ? sc($n(s)) : $n(s) + Ko + "{" + (0, Go.
printIteratorEntries)(
e.entries(),
t,
r,
n,
i,
a
) + "}", "printImmutableEntries");
function jY(e) {
let t = 0;
return {
next() {
if (t < e._keys.length) {
let r = e._keys[t++];
return {
done: !1,
value: [r, e.get(r)]
};
}
return {
done: !0,
value: void 0
};
}
};
}
o(jY, "getRecordEntries");
var $Y = /* @__PURE__ */ o((e, t, r, n, i, a) => {
let s = $n(e._name || "Record");
return ++n > t.maxDepth ? sc(s) : s + Ko + "{" + (0, Go.printIteratorEntries)(
jY(e),
t,
r,
n,
i,
a
) + "}";
}, "printImmutableRecord"), LY = /* @__PURE__ */ o((e, t, r, n, i, a) => {
let s = $n("Seq");
return ++n > t.maxDepth ? sc(s) : e[TY] ? s + Ko + "{" + // from Immutable collection of entries or from ECMAScript object
(e._iter || e._object ? (0, Go.printIteratorEntries)(
e.entries(),
t,
r,
n,
i,
a
) : dM) + "}" : s + Ko + "[" + (e._iter || // from Immutable collection of values
e._array || // from ECMAScript array
e._collection || // from ECMAScript collection in immutable v4
e._iterable ? (0, Go.printIteratorValues)(
e.values(),
t,
r,
n,
i,
a
) : dM) + "]";
}, "printImmutableSeq"), jy = /* @__PURE__ */ o((e, t, r, n, i, a, s) => ++n > t.maxDepth ? sc($n(s)) : $n(s) + Ko + "[" + (0, Go.printIteratorValues)(
e.values(),
t,
r,
n,
i,
a
) + "]", "printImmutableValues"), fM = /* @__PURE__ */ o((e, t, r, n, i, a) => e[OY] ? NY(
e,
t,
r,
n,
i,
a,
e[cM] ? "OrderedMap" : "Map"
) : e[RY] ? jy(
e,
t,
r,
n,
i,
a,
"List"
) : e[AY] ? jy(
e,
t,
r,
n,
i,
a,
e[cM] ? "OrderedSet" : "Set"
) : e[IY] ? jy(
e,
t,
r,
n,
i,
a,
"Stack"
) : e[MY] ? LY(e, t, r, n, i, a) : $Y(e, t, r, n, i, a), "serialize");
yr.serialize = fM;
var pM = /* @__PURE__ */ o((e) => e && (e[xY] === !0 || e[SY] === !0), "test");
yr.test = pM;
var DY = {
serialize: fM,
test: pM
}, BY = DY;
yr.default = BY;
});
// ../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js
var EM = f((me) => {
"use strict";
var lc = 60103, uc = 60106, Yo = 60107, Xo = 60108, Jo = 60114, Qo = 60109, Zo = 60110, ei = 60112, ti = 60113, $y = 60120, ri = 60115, ni = 60116,
hM = 60121, bM = 60122, yM = 60117, gM = 60129, vM = 60131;
typeof Symbol == "function" && Symbol.for && (je = Symbol.for, lc = je("react.element"), uc = je("react.portal"), Yo = je("react.fragment"),
Xo = je("react.strict_mode"), Jo = je("react.profiler"), Qo = je("react.provider"), Zo = je("react.context"), ei = je("react.forward_ref"),
ti = je("react.suspense"), $y = je("react.suspense_list"), ri = je("react.memo"), ni = je("react.lazy"), hM = je("react.block"), bM = je("\
react.server.block"), yM = je("react.fundamental"), gM = je("react.debug_trace_mode"), vM = je("react.legacy_hidden"));
var je;
function At(e) {
if (typeof e == "object" && e !== null) {
var t = e.$$typeof;
switch (t) {
case lc:
switch (e = e.type, e) {
case Yo:
case Jo:
case Xo:
case ti:
case $y:
return e;
default:
switch (e = e && e.$$typeof, e) {
case Zo:
case ei:
case ni:
case ri:
case Qo:
return e;
default:
return t;
}
}
case uc:
return t;
}
}
}
o(At, "y");
var kY = Qo, FY = lc, HY = ei, UY = Yo, VY = ni, zY = ri, WY = uc, GY = Jo, KY = Xo, YY = ti;
me.ContextConsumer = Zo;
me.ContextProvider = kY;
me.Element = FY;
me.ForwardRef = HY;
me.Fragment = UY;
me.Lazy = VY;
me.Memo = zY;
me.Portal = WY;
me.Profiler = GY;
me.StrictMode = KY;
me.Suspense = YY;
me.isAsyncMode = function() {
return !1;
};
me.isConcurrentMode = function() {
return !1;
};
me.isContextConsumer = function(e) {
return At(e) === Zo;
};
me.isContextProvider = function(e) {
return At(e) === Qo;
};
me.isElement = function(e) {
return typeof e == "object" && e !== null && e.$$typeof === lc;
};
me.isForwardRef = function(e) {
return At(e) === ei;
};
me.isFragment = function(e) {
return At(e) === Yo;
};
me.isLazy = function(e) {
return At(e) === ni;
};
me.isMemo = function(e) {
return At(e) === ri;
};
me.isPortal = function(e) {
return At(e) === uc;
};
me.isProfiler = function(e) {
return At(e) === Jo;
};
me.isStrictMode = function(e) {
return At(e) === Xo;
};
me.isSuspense = function(e) {
return At(e) === ti;
};
me.isValidElementType = function(e) {
return typeof e == "string" || typeof e == "function" || e === Yo || e === Jo || e === gM || e === Xo || e === ti || e === $y || e === vM ||
typeof e == "object" && e !== null && (e.$$typeof === ni || e.$$typeof === ri || e.$$typeof === Qo || e.$$typeof === Zo || e.$$typeof ===
ei || e.$$typeof === yM || e.$$typeof === hM || e[0] === bM);
};
me.typeOf = At;
});
// ../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js
var wM = f((he) => {
"use strict";
process.env.NODE_ENV !== "production" && function() {
"use strict";
var e = 60103, t = 60106, r = 60107, n = 60108, i = 60114, a = 60109, s = 60110, l = 60112, c = 60113, u = 60120, d = 60115, p = 60116, b = 60121,
m = 60122, y = 60117, h = 60119, w = 60128, g = 60129, q = 60130, P = 60131;
if (typeof Symbol == "function" && Symbol.for) {
var _ = Symbol.for;
e = _("react.element"), t = _("react.portal"), r = _("react.fragment"), n = _("react.strict_mode"), i = _("react.profiler"), a = _("re\
act.provider"), s = _("react.context"), l = _("react.forward_ref"), c = _("react.suspense"), u = _("react.suspense_list"), d = _("react.memo"),
p = _("react.lazy"), b = _("react.block"), m = _("react.server.block"), y = _("react.fundamental"), h = _("react.scope"), w = _("react\
.opaque.id"), g = _("react.debug_trace_mode"), q = _("react.offscreen"), P = _("react.legacy_hidden");
}
var C = !1;
function O(A) {
return !!(typeof A == "string" || typeof A == "function" || A === r || A === i || A === g || A === n || A === c || A === u || A === P ||
C || typeof A == "object" && A !== null && (A.$$typeof === p || A.$$typeof === d || A.$$typeof === a || A.$$typeof === s || A.$$typeof ===
l || A.$$typeof === y || A.$$typeof === b || A[0] === m));
}
o(O, "isValidElementType");
function T(A) {
if (typeof A == "object" && A !== null) {
var jr = A.$$typeof;
switch (jr) {
case e:
var zt = A.type;
switch (zt) {
case r:
case i:
case n:
case c:
case u:
return zt;
default:
var eo = zt && zt.$$typeof;
switch (eo) {
case s:
case l:
case p:
case d:
case a:
return eo;
default:
return jr;
}
}
case t:
return jr;
}
}
}
o(T, "typeOf");
var M = s, L = a, Z = e, S = l, V = r, ue = p, W = d, k = t, B = i, ee = n, U = c, ve = !1, Ae = !1;
function Xe(A) {
return ve || (ve = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
o(Xe, "isAsyncMode");
function N(A) {
return Ae || (Ae = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
o(N, "isConcurrentMode");
function I(A) {
return T(A) === s;
}
o(I, "isContextConsumer");
function F(A) {
return T(A) === a;
}
o(F, "isContextProvider");
function H(A) {
return typeof A == "object" && A !== null && A.$$typeof === e;
}
o(H, "isElement");
function Y(A) {
return T(A) === l;
}
o(Y, "isForwardRef");
function xe(A) {
return T(A) === r;
}
o(xe, "isFragment");
function $e(A) {
return T(A) === p;
}
o($e, "isLazy");
function qt(A) {
return T(A) === d;
}
o(qt, "isMemo");
function Nr(A) {
return T(A) === t;
}
o(Nr, "isPortal");
function an(A) {
return T(A) === i;
}
o(an, "isProfiler");
function sn(A) {
return T(A) === n;
}
o(sn, "isStrictMode");
function nm(A) {
return T(A) === c;
}
o(nm, "isSuspense"), he.ContextConsumer = M, he.ContextProvider = L, he.Element = Z, he.ForwardRef = S, he.Fragment = V, he.Lazy = ue, he.
Memo = W, he.Portal = k, he.Profiler = B, he.StrictMode = ee, he.Suspense = U, he.isAsyncMode = Xe, he.isConcurrentMode = N, he.isContextConsumer =
I, he.isContextProvider = F, he.isElement = H, he.isForwardRef = Y, he.isFragment = xe, he.isLazy = $e, he.isMemo = qt, he.isPortal = Nr,
he.isProfiler = an, he.isStrictMode = sn, he.isSuspense = nm, he.isValidElementType = O, he.typeOf = T;
}();
});
// ../node_modules/pretty-format/node_modules/react-is/index.js
var _M = f((BRe, Ly) => {
"use strict";
process.env.NODE_ENV === "production" ? Ly.exports = EM() : Ly.exports = wM();
});
// ../node_modules/pretty-format/build/plugins/ReactElement.js
var TM = f((gr) => {
"use strict";
Object.defineProperty(gr, "__esModule", {
value: !0
});
gr.test = gr.serialize = gr.default = void 0;
var Gr = XY(_M()), cc = ac();
function qM(e) {
if (typeof WeakMap != "function") return null;
var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
return (qM = /* @__PURE__ */ o(function(n) {
return n ? r : t;
}, "_getRequireWildcardCache"))(e);
}
o(qM, "_getRequireWildcardCache");
function XY(e, t) {
if (!t && e && e.__esModule)
return e;
if (e === null || typeof e != "object" && typeof e != "function")
return { default: e };
var r = qM(t);
if (r && r.has(e))
return r.get(e);
var n = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in e)
if (a !== "default" && Object.prototype.hasOwnProperty.call(e, a)) {
var s = i ? Object.getOwnPropertyDescriptor(e, a) : null;
s && (s.get || s.set) ? Object.defineProperty(n, a, s) : n[a] = e[a];
}
return n.default = e, r && r.set(e, n), n;
}
o(XY, "_interopRequireWildcard");
var PM = /* @__PURE__ */ o((e, t = []) => (Array.isArray(e) ? e.forEach((r) => {
PM(r, t);
}) : e != null && e !== !1 && t.push(e), t), "getChildren"), CM = /* @__PURE__ */ o((e) => {
let t = e.type;
if (typeof t == "string")
return t;
if (typeof t == "function")
return t.displayName || t.name || "Unknown";
if (Gr.isFragment(e))
return "React.Fragment";
if (Gr.isSuspense(e))
return "React.Suspense";
if (typeof t == "object" && t !== null) {
if (Gr.isContextProvider(e))
return "Context.Provider";
if (Gr.isContextConsumer(e))
return "Context.Consumer";
if (Gr.isForwardRef(e)) {
if (t.displayName)
return t.displayName;
let r = t.render.displayName || t.render.name || "";
return r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef";
}
if (Gr.isMemo(e)) {
let r = t.displayName || t.type.displayName || t.type.name || "";
return r !== "" ? "Memo(" + r + ")" : "Memo";
}
}
return "UNDEFINED";
}, "getType"), JY = /* @__PURE__ */ o((e) => {
let { props: t } = e;
return Object.keys(t).filter((r) => r !== "children" && t[r] !== void 0).sort();
}, "getPropKeys"), xM = /* @__PURE__ */ o((e, t, r, n, i, a) => ++n > t.maxDepth ? (0, cc.printElementAsLeaf)(CM(e), t) : (0, cc.printElement)(
CM(e),
(0, cc.printProps)(
JY(e),
e.props,
t,
r + t.indent,
n,
i,
a
),
(0, cc.printChildren)(
PM(e.props.children),
t,
r + t.indent,
n,
i,
a
),
t,
r
), "serialize");
gr.serialize = xM;
var RM = /* @__PURE__ */ o((e) => e != null && Gr.isElement(e), "test");
gr.test = RM;
var QY = {
serialize: xM,
test: RM
}, ZY = QY;
gr.default = ZY;
});
// ../node_modules/pretty-format/build/plugins/ReactTestComponent.js
var MM = f((vr) => {
"use strict";
Object.defineProperty(vr, "__esModule", {
value: !0
});
vr.test = vr.serialize = vr.default = void 0;
var dc = ac(), fc = function() {
return typeof globalThis < "u" ? globalThis : typeof fc < "u" ? fc : typeof self < "u" ? self : typeof window < "u" ? window : Function(
"return this")();
}(), Dy = fc["jest-symbol-do-not-touch"] || fc.Symbol, eX = typeof Dy == "function" && Dy.for ? Dy.for("react.test.json") : 245830487, tX = /* @__PURE__ */ o(
(e) => {
let { props: t } = e;
return t ? Object.keys(t).filter((r) => t[r] !== void 0).sort() : [];
}, "getPropKeys"), OM = /* @__PURE__ */ o((e, t, r, n, i, a) => ++n > t.maxDepth ? (0, dc.printElementAsLeaf)(e.type, t) : (0, dc.printElement)(
e.type,
e.props ? (0, dc.printProps)(
tX(e),
e.props,
t,
r + t.indent,
n,
i,
a
) : "",
e.children ? (0, dc.printChildren)(
e.children,
t,
r + t.indent,
n,
i,
a
) : "",
t,
r
), "serialize");
vr.serialize = OM;
var SM = /* @__PURE__ */ o((e) => e && e.$$typeof === eX, "test");
vr.test = SM;
var rX = {
serialize: OM,
test: SM
}, nX = rX;
vr.default = nX;
});
// ../node_modules/pretty-format/build/index.js
var GM = f((Xt) => {
"use strict";
Object.defineProperty(Xt, "__esModule", {
value: !0
});
Xt.default = Xt.DEFAULT_OPTIONS = void 0;
Xt.format = WM;
Xt.plugins = void 0;
var oX = wr(My()), oi = Wo(), iX = wr(
HS()
), aX = wr(YS()), sX = wr(eM()), lX = wr(uM()), uX = wr(mM()), cX = wr(TM()), dX = wr(
MM()
);
function wr(e) {
return e && e.__esModule ? e : { default: e };
}
o(wr, "_interopRequireDefault");
var LM = Object.prototype.toString, fX = Date.prototype.toISOString, pX = Error.prototype.toString, AM = RegExp.prototype.toString, By = /* @__PURE__ */ o(
(e) => typeof e.constructor == "function" && e.constructor.name || "Object", "getConstructorName"), mX = /* @__PURE__ */ o((e) => typeof window <
"u" && e === window, "isWindow"), hX = /^Symbol\((.*)\)(.*)$/, bX = /\n/gi, pc = class extends Error {
static {
o(this, "PrettyFormatPluginError");
}
constructor(t, r) {
super(t), this.stack = r, this.name = this.constructor.name;
}
};
function yX(e) {
return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[o\
bject Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Arra\
y]" || e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]";
}
o(yX, "isToStringedArrayType");
function gX(e) {
return Object.is(e, -0) ? "-0" : String(e);
}
o(gX, "printNumber");
function vX(e) {
return `${e}n`;
}
o(vX, "printBigInt");
function IM(e, t) {
return t ? "[Function " + (e.name || "anonymous") + "]" : "[Function]";
}
o(IM, "printFunction");
function NM(e) {
return String(e).replace(hX, "Symbol($1)");
}
o(NM, "printSymbol");
function jM(e) {
return "[" + pX.call(e) + "]";
}
o(jM, "printError");
function DM(e, t, r, n) {
if (e === !0 || e === !1)
return "" + e;
if (e === void 0)
return "undefined";
if (e === null)
return "null";
let i = typeof e;
if (i === "number")
return gX(e);
if (i === "bigint")
return vX(e);
if (i === "string")
return n ? '"' + e.replace(/"|\\/g, "\\$&") + '"' : '"' + e + '"';
if (i === "function")
return IM(e, t);
if (i === "symbol")
return NM(e);
let a = LM.call(e);
return a === "[object WeakMap]" ? "WeakMap {}" : a === "[object WeakSet]" ? "WeakSet {}" : a === "[object Function]" || a === "[object G\
eneratorFunction]" ? IM(e, t) : a === "[object Symbol]" ? NM(e) : a === "[object Date]" ? isNaN(+e) ? "Date { NaN }" : fX.call(e) : a === "[\
object Error]" ? jM(e) : a === "[object RegExp]" ? r ? AM.call(e).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : AM.call(e) : e instanceof Error ?
jM(e) : null;
}
o(DM, "printBasicValue");
function BM(e, t, r, n, i, a) {
if (i.indexOf(e) !== -1)
return "[Circular]";
i = i.slice(), i.push(e);
let s = ++n > t.maxDepth, l = t.min;
if (t.callToJSON && !s && e.toJSON && typeof e.toJSON == "function" && !a)
return Er(e.toJSON(), t, r, n, i, !0);
let c = LM.call(e);
return c === "[object Arguments]" ? s ? "[Arguments]" : (l ? "" : "Arguments ") + "[" + (0, oi.printListItems)(
e,
t,
r,
n,
i,
Er
) + "]" : yX(c) ? s ? "[" + e.constructor.name + "]" : (l || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : e.constructor.
name + " ") + "[" + (0, oi.printListItems)(
e,
t,
r,
n,
i,
Er
) + "]" : c === "[object Map]" ? s ? "[Map]" : "Map {" + (0, oi.printIteratorEntries)(
e.entries(),
t,
r,
n,
i,
Er,
" => "
) + "}" : c === "[object Set]" ? s ? "[Set]" : "Set {" + (0, oi.printIteratorValues)(
e.values(),
t,
r,
n,
i,
Er
) + "}" : s || mX(e) ? "[" + By(e) + "]" : (l || !t.printBasicPrototype && By(e) === "Object" ? "" : By(e) + " ") + "{" + (0, oi.printObjectProperties)(
e,
t,
r,
n,
i,
Er
) + "}";
}
o(BM, "printComplexValue");
function EX(e) {
return e.serialize != null;
}
o(EX, "isNewPlugin");
function kM(e, t, r, n, i, a) {
let s;
try {
s = EX(e) ? e.serialize(t, r, n, i, a, Er) : e.print(
t,
(l) => Er(l, r, n, i, a),
(l) => {
let c = n + r.indent;
return c + l.replace(bX, `
` + c);
},
{
edgeSpacing: r.spacingOuter,
min: r.min,
spacing: r.spacingInner
},
r.colors
);
} catch (l) {
throw new pc(l.message, l.stack);
}
if (typeof s != "string")
throw new Error(
`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`
);
return s;
}
o(kM, "printPlugin");
function FM(e, t) {
for (let r = 0; r < e.length; r++)
try {
if (e[r].test(t))
return e[r];
} catch (n) {
throw new pc(n.message, n.stack);
}
return null;
}
o(FM, "findPlugin");
function Er(e, t, r, n, i, a) {
let s = FM(t.plugins, e);
if (s !== null)
return kM(s, e, t, r, n, i);
let l = DM(
e,
t.printFunctionName,
t.escapeRegex,
t.escapeString
);
return l !== null ? l : BM(
e,
t,
r,
n,
i,
a
);
}
o(Er, "printer");
var ky = {
comment: "gray",
content: "reset",
prop: "yellow",
tag: "cyan",
value: "green"
}, HM = Object.keys(ky), It = {
callToJSON: !0,
compareKeys: void 0,
escapeRegex: !1,
escapeString: !0,
highlight: !1,
indent: 2,
maxDepth: 1 / 0,
min: !1,
plugins: [],
printBasicPrototype: !0,
printFunctionName: !0,
theme: ky
};
Xt.DEFAULT_OPTIONS = It;
function wX(e) {
if (Object.keys(e).forEach((t) => {
if (!It.hasOwnProperty(t))
throw new Error(`pretty-format: Unknown option "${t}".`);
}), e.min && e.indent !== void 0 && e.indent !== 0)
throw new Error(
'pretty-format: Options "min" and "indent" cannot be used together.'
);
if (e.theme !== void 0) {
if (e.theme === null)
throw new Error('pretty-format: Option "theme" must not be null.');
if (typeof e.theme != "object")
throw new Error(
`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`
);
}
}
o(wX, "validateOptions");
var _X = /* @__PURE__ */ o((e) => HM.reduce((t, r) => {
let n = e.theme && e.theme[r] !== void 0 ? e.theme[r] : ky[r], i = n && oX.default[n];
if (i && typeof i.close == "string" && typeof i.open == "string")
t[r] = i;
else
throw new Error(
`pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`
);
return t;
}, /* @__PURE__ */ Object.create(null)), "getColorsHighlight"), CX = /* @__PURE__ */ o(() => HM.reduce((e, t) => (e[t] = {
close: "",
open: ""
}, e), /* @__PURE__ */ Object.create(null)), "getColorsEmpty"), UM = /* @__PURE__ */ o((e) => e && e.printFunctionName !== void 0 ? e.printFunctionName :
It.printFunctionName, "getPrintFunctionName"), VM = /* @__PURE__ */ o((e) => e && e.escapeRegex !== void 0 ? e.escapeRegex : It.escapeRegex,
"getEscapeRegex"), zM = /* @__PURE__ */ o((e) => e && e.escapeString !== void 0 ? e.escapeString : It.escapeString, "getEscapeString"), $M = /* @__PURE__ */ o(
(e) => {
var t;
return {
callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON : It.callToJSON,
colors: e && e.highlight ? _X(e) : CX(),
compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys : It.compareKeys,
escapeRegex: VM(e),
escapeString: zM(e),
indent: e && e.min ? "" : qX(
e && e.indent !== void 0 ? e.indent : It.indent
),
maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth : It.maxDepth,
min: e && e.min !== void 0 ? e.min : It.min,
plugins: e && e.plugins !== void 0 ? e.plugins : It.plugins,
printBasicPrototype: (t = e?.printBasicPrototype) !== null && t !== void 0 ? t : !0,
printFunctionName: UM(e),
spacingInner: e && e.min ? " " : `
`,
spacingOuter: e && e.min ? "" : `
`
};
}, "getConfig");
function qX(e) {
return new Array(e + 1).join(" ");
}
o(qX, "createIndent");
function WM(e, t) {
if (t && (wX(t), t.plugins)) {
let n = FM(t.plugins, e);
if (n !== null)
return kM(n, e, $M(t), "", 0, []);
}
let r = DM(
e,
UM(t),
VM(t),
zM(t)
);
return r !== null ? r : BM(e, $M(t), "", 0, []);
}
o(WM, "format");
var PX = {
AsymmetricMatcher: iX.default,
ConvertAnsi: aX.default,
DOMCollection: sX.default,
DOMElement: lX.default,
Immutable: uX.default,
ReactElement: cX.default,
ReactTestComponent: dX.default
};
Xt.plugins = PX;
var xX = WM;
Xt.default = xX;
});
// ../node_modules/@testing-library/dom/dist/DOMElementFilter.js
var eA = f((ii) => {
"use strict";
Object.defineProperty(ii, "__esModule", {
value: !0
});
ii.default = DX;
ii.test = void 0;
function KM(e) {
return e.replace(//g, ">");
}
o(KM, "escapeHTML");
var RX = /* @__PURE__ */ o((e, t, r, n, i, a, s) => {
let l = n + r.indent, c = r.colors;
return e.map((u) => {
let d = t[u], p = s(d, r, l, i, a);
return typeof d != "string" && (p.indexOf(`
`) !== -1 && (p = r.spacingOuter + l + p + r.spacingOuter + n), p = "{" + p + "}"), r.spacingInner + n + c.prop.open + u + c.prop.close + "=" +
c.value.open + p + c.value.close;
}).join("");
}, "printProps"), TX = 3, OX = /* @__PURE__ */ o((e, t, r, n, i, a) => e.map((s) => {
let l = typeof s == "string" ? YM(s, t) : a(s, t, r, n, i);
return l === "" && typeof s == "object" && s !== null && s.nodeType !== TX ? "" : t.spacingOuter + r + l;
}).join(""), "printChildren"), YM = /* @__PURE__ */ o((e, t) => {
let r = t.colors.content;
return r.open + KM(e) + r.close;
}, "printText"), SX = /* @__PURE__ */ o((e, t) => {
let r = t.colors.comment;
return r.open + "" + r.close;
}, "printComment"), MX = /* @__PURE__ */ o((e, t, r, n, i) => {
let a = n.colors.tag;
return a.open + "<" + e + (t && a.close + t + n.spacingOuter + i + a.open) + (r ? ">" + a.close + r + n.spacingOuter + i + a.open + "" +
e : (t && !n.min ? "" : " ") + "/") + ">" + a.close;
}, "printElement"), AX = /* @__PURE__ */ o((e, t) => {
let r = t.colors.tag;
return r.open + "<" + e + r.close + " \u2026" + r.open + " />" + r.close;
}, "printElementAsLeaf"), IX = 1, XM = 3, JM = 8, QM = 11, NX = /^((HTML|SVG)\w*)?Element$/, Hy = /* @__PURE__ */ o((e) => {
let {
tagName: t
} = e;
return !!(typeof t == "string" && t.includes("-") || typeof e.hasAttribute == "function" && e.hasAttribute("is"));
}, "isCustomElement"), ZM = /* @__PURE__ */ o((e) => {
let t = e.constructor.name, {
nodeType: r
} = e;
return r === IX && (NX.test(t) || Hy(e)) || r === XM && t === "Text" || r === JM && t === "Comment" || r === QM && t === "DocumentFragme\
nt";
}, "testNode"), jX = /* @__PURE__ */ o((e) => (e?.constructor?.name || Hy(e)) && ZM(e), "test");
ii.test = jX;
function $X(e) {
return e.nodeType === XM;
}
o($X, "nodeIsText");
function LX(e) {
return e.nodeType === JM;
}
o(LX, "nodeIsComment");
function Fy(e) {
return e.nodeType === QM;
}
o(Fy, "nodeIsFragment");
function DX(e) {
return {
test: /* @__PURE__ */ o((t) => (t?.constructor?.name || Hy(t)) && ZM(t), "test"),
serialize: /* @__PURE__ */ o((t, r, n, i, a, s) => {
if ($X(t))
return YM(t.data, r);
if (LX(t))
return SX(t.data, r);
let l = Fy(t) ? "DocumentFragment" : t.tagName.toLowerCase();
return ++i > r.maxDepth ? AX(l, r) : MX(l, RX(Fy(t) ? [] : Array.from(t.attributes).map((c) => c.name).sort(), Fy(t) ? {} : Array.from(
t.attributes).reduce((c, u) => (c[u.name] = u.value, c), {}), r, n + r.indent, i, a, s), OX(Array.prototype.slice.call(t.childNodes ||
t.children).filter(e), r, n + r.indent, i, a, s), r, n);
}, "serialize")
};
}
o(DX, "createDOMElementFilter");
});
// ../node_modules/@testing-library/dom/dist/get-user-code-frame.js
var rA = f((zy, Ln) => {
"use strict";
Object.defineProperty(zy, "__esModule", {
value: !0
});
zy.getUserCodeFrame = kX;
var tA = null, Uy = null, Vy = null;
try {
let e = Ln && Ln.require;
Uy = e.call(Ln, "fs").readFileSync, Vy = e.call(Ln, "@babel/code-frame").codeFrameColumns, tA = e.call(Ln, "chalk");
} catch {
}
function BX(e) {
let t = e.indexOf("(") + 1, r = e.indexOf(")"), n = e.slice(t, r), i = n.split(":"), [a, s, l] = [i[0], parseInt(i[1], 10), parseInt(i[2],
10)], c = "";
try {
c = Uy(a, "utf-8");
} catch {
return "";
}
let u = Vy(c, {
start: {
line: s,
column: l
}
}, {
highlightCode: !0,
linesBelow: 0
});
return `${tA.dim(n)}
${u}
`;
}
o(BX, "getCodeFrame");
function kX() {
if (!Uy || !Vy)
return "";
let t = new Error().stack.split(`
`).slice(1).find((r) => !r.includes("node_modules/"));
return BX(t);
}
o(kX, "getUserCodeFrame");
});
// ../node_modules/@testing-library/dom/dist/helpers.js
var Ge = f((_r) => {
"use strict";
Object.defineProperty(_r, "__esModule", {
value: !0
});
_r.TEXT_NODE = void 0;
_r.checkContainerType = VX;
_r.getDocument = HX;
_r.getWindowFromNode = UX;
_r.jestFakeTimersAreEnabled = FX;
var YRe = _r.TEXT_NODE = 3;
function FX() {
return typeof jest < "u" && jest !== null ? (
// legacy timers
setTimeout._isMockFunction === !0 || // modern timers
// eslint-disable-next-line prefer-object-has-own -- not supported by our support matrix
Object.prototype.hasOwnProperty.call(setTimeout, "clock")
) : !1;
}
o(FX, "jestFakeTimersAreEnabled");
function HX() {
if (typeof window > "u")
throw new Error("Could not find default container");
return window.document;
}
o(HX, "getDocument");
function UX(e) {
if (e.defaultView)
return e.defaultView;
if (e.ownerDocument && e.ownerDocument.defaultView)
return e.ownerDocument.defaultView;
if (e.window)
return e.window;
throw e.ownerDocument && e.ownerDocument.defaultView === null ? new Error("It looks like the window object is not available for the prov\
ided node.") : e.then instanceof Function ? new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something\
like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query \
`fireEvent.click(await screen.findBy...`?") : Array.isArray(e) ? new Error("It looks like you passed an Array instead of a DOM node. Did you\
do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?") : typeof e.
debug == "function" && typeof e.logTestingPlaygroundURL == "function" ? new Error("It looks like you passed a `screen` object. Did you d\
o something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?") : new Error(`The g\
iven node is not an Element, the node type is: ${typeof e}.`);
}
o(UX, "getWindowFromNode");
function VX(e) {
if (!e || typeof e.querySelector != "function" || typeof e.querySelectorAll != "function")
throw new TypeError(`Expected container to be an Element, a Document or a DocumentFragment but got ${t(e)}.`);
function t(r) {
return typeof r == "object" ? r === null ? "null" : r.constructor.name : typeof r;
}
o(t, "getTypeName");
}
o(VX, "checkContainerType");
});
// ../node_modules/@testing-library/dom/dist/pretty-dom.js
var ai = f((Kr) => {
"use strict";
var zX = Sy();
Object.defineProperty(Kr, "__esModule", {
value: !0
});
Kr.logDOM = void 0;
Kr.prettyDOM = Wy;
Kr.prettyFormat = void 0;
var Gy = XX(GM());
Kr.prettyFormat = Gy;
var WX = zX(eA()), GX = rA(), KX = Ge(), YX = Dt();
function nA(e) {
if (typeof WeakMap != "function") return null;
var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
return (nA = /* @__PURE__ */ o(function(n) {
return n ? r : t;
}, "_getRequireWildcardCache"))(e);
}
o(nA, "_getRequireWildcardCache");
function XX(e, t) {
if (!t && e && e.__esModule) return e;
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
var r = nA(t);
if (r && r.has(e)) return r.get(e);
var n = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in e) if (a !== "default" && {}.hasOwnProperty.call(e, a)) {
var s = i ? Object.getOwnPropertyDescriptor(e, a) : null;
s && (s.get || s.set) ? Object.defineProperty(n, a, s) : n[a] = e[a];
}
return n.default = e, r && r.set(e, n), n;
}
o(XX, "_interopRequireWildcard");
var JX = /* @__PURE__ */ o(() => {
if (typeof process > "u")
return !1;
let e;
try {
let t = process.env?.COLORS;
t && (e = JSON.parse(t));
} catch {
}
return typeof e == "boolean" ? e : process.versions !== void 0 && process.versions.node !== void 0;
}, "shouldHighlight"), {
DOMCollection: QX
} = Gy.plugins, ZX = 1, eJ = 8;
function tJ(e) {
return e.nodeType !== eJ && (e.nodeType !== ZX || !e.matches((0, YX.getConfig)().defaultIgnore));
}
o(tJ, "filterCommentsAndDefaultIgnoreTagsTags");
function Wy(e, t, r = {}) {
if (e || (e = (0, KX.getDocument)().body), typeof t != "number" && (t = typeof process < "u" && typeof process.env < "u" && process.env.
DEBUG_PRINT_LIMIT || 7e3), t === 0)
return "";
e.documentElement && (e = e.documentElement);
let n = typeof e;
if (n === "object" ? n = e.constructor.name : e = {}, !("outerHTML" in e))
throw new TypeError(`Expected an element or document but got ${n}`);
let {
filterNode: i = tJ,
...a
} = r, s = Gy.format(e, {
plugins: [(0, WX.default)(i), QX],
printFunctionName: !1,
highlight: JX(),
...a
});
return t !== void 0 && e.outerHTML.length > t ? `${s.slice(0, t)}...` : s;
}
o(Wy, "prettyDOM");
var rJ = /* @__PURE__ */ o((...e) => {
let t = (0, GX.getUserCodeFrame)();
console.log(t ? `${Wy(...e)}
${t}` : Wy(...e));
}, "logDOM");
Kr.logDOM = rJ;
});
// ../node_modules/@testing-library/dom/dist/config.js
var Dt = f((si) => {
"use strict";
Object.defineProperty(si, "__esModule", {
value: !0
});
si.configure = iJ;
si.getConfig = aJ;
si.runWithExpensiveErrorDiagnosticsDisabled = oJ;
var nJ = ai(), Yr = {
testIdAttribute: "data-testid",
asyncUtilTimeout: 1e3,
// asyncWrapper and advanceTimersWrapper is to support React's async `act` function.
// forcing react-testing-library to wrap all async functions would've been
// a total nightmare (consider wrapping every findBy* query and then also
// updating `within` so those would be wrapped too. Total nightmare).
// so we have this config option that's really only intended for
// react-testing-library to use. For that reason, this feature will remain
// undocumented.
asyncWrapper: /* @__PURE__ */ o((e) => e(), "asyncWrapper"),
unstable_advanceTimersWrapper: /* @__PURE__ */ o((e) => e(), "unstable_advanceTimersWrapper"),
eventWrapper: /* @__PURE__ */ o((e) => e(), "eventWrapper"),
// default value for the `hidden` option in `ByRole` queries
defaultHidden: !1,
// default value for the `ignore` option in `ByText` queries
defaultIgnore: "script, style",
// showOriginalStackTrace flag to show the full error stack traces for async errors
showOriginalStackTrace: !1,
// throw errors w/ suggestions for better queries. Opt in so off by default.
throwSuggestions: !1,
// called when getBy* queries fail. (message, container) => Error
getElementError(e, t) {
let r = (0, nJ.prettyDOM)(t), n = new Error([e, `Ignored nodes: comments, ${Yr.defaultIgnore}
${r}`].filter(Boolean).join(`
`));
return n.name = "TestingLibraryElementError", n;
},
_disableExpensiveErrorDiagnostics: !1,
computedStyleSupportsPseudoElements: !1
};
function oJ(e) {
try {
return Yr._disableExpensiveErrorDiagnostics = !0, e();
} finally {
Yr._disableExpensiveErrorDiagnostics = !1;
}
}
o(oJ, "runWithExpensiveErrorDiagnosticsDisabled");
function iJ(e) {
typeof e == "function" && (e = e(Yr)), Yr = {
...Yr,
...e
};
}
o(iJ, "configure");
function aJ() {
return Yr;
}
o(aJ, "getConfig");
});
// ../node_modules/@testing-library/dom/dist/label-helpers.js
var Yy = f((li) => {
"use strict";
Object.defineProperty(li, "__esModule", {
value: !0
});
li.getLabelContent = Ky;
li.getLabels = cJ;
li.getRealLabels = iA;
var sJ = Ge(), lJ = ["button", "meter", "output", "progress", "select", "textarea", "input"];
function oA(e) {
return lJ.includes(e.nodeName.toLowerCase()) ? "" : e.nodeType === sJ.TEXT_NODE ? e.textContent : Array.from(e.childNodes).map((t) => oA(
t)).join("");
}
o(oA, "getTextContent");
function Ky(e) {
let t;
return e.tagName.toLowerCase() === "label" ? t = oA(e) : t = e.value || e.textContent, t;
}
o(Ky, "getLabelContent");
function iA(e) {
if (e.labels !== void 0)
return e.labels ?? [];
if (!uJ(e)) return [];
let t = e.ownerDocument.querySelectorAll("label");
return Array.from(t).filter((r) => r.control === e);
}
o(iA, "getRealLabels");
function uJ(e) {
return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName) || e.tagName === "INPUT" && e.getAttribute("type") !== "hidden";
}
o(uJ, "isLabelable");
function cJ(e, t, {
selector: r = "*"
} = {}) {
let n = t.getAttribute("aria-labelledby"), i = n ? n.split(" ") : [];
return i.length ? i.map((a) => {
let s = e.querySelector(`[id="${a}"]`);
return s ? {
content: Ky(s),
formControl: null
} : {
content: "",
formControl: null
};
}) : Array.from(iA(t)).map((a) => {
let s = Ky(a), c = Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((u) => u.matches(
r))[0];
return {
content: s,
formControl: c
};
});
}
o(cJ, "getLabels");
});
// ../node_modules/@testing-library/dom/dist/matches.js
var ui = f((Dn) => {
"use strict";
Object.defineProperty(Dn, "__esModule", {
value: !0
});
Dn.fuzzyMatches = dJ;
Dn.getDefaultNormalizer = sA;
Dn.makeNormalizer = pJ;
Dn.matches = fJ;
function aA(e) {
if (e == null)
throw new Error(
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions -- implicitly converting `T` to `string`
`It looks like ${e} was passed instead of a matcher. Did you do something like getByText(${e})?`
);
}
o(aA, "assertNotNullOrUndefined");
function dJ(e, t, r, n) {
if (typeof e != "string")
return !1;
aA(r);
let i = n(e);
return typeof r == "string" || typeof r == "number" ? i.toLowerCase().includes(r.toString().toLowerCase()) : typeof r == "function" ? r(
i, t) : lA(r, i);
}
o(dJ, "fuzzyMatches");
function fJ(e, t, r, n) {
if (typeof e != "string")
return !1;
aA(r);
let i = n(e);
return r instanceof Function ? r(i, t) : r instanceof RegExp ? lA(r, i) : i === String(r);
}
o(fJ, "matches");
function sA({
trim: e = !0,
collapseWhitespace: t = !0
} = {}) {
return (r) => {
let n = r;
return n = e ? n.trim() : n, n = t ? n.replace(/\s+/g, " ") : n, n;
};
}
o(sA, "getDefaultNormalizer");
function pJ({
trim: e,
collapseWhitespace: t,
normalizer: r
}) {
if (!r)
return sA({
trim: e,
collapseWhitespace: t
});
if (typeof e < "u" || typeof t < "u")
throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhit\
espace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');
return r;
}
o(pJ, "makeNormalizer");
function lA(e, t) {
let r = e.test(t);
return e.global && e.lastIndex !== 0 && (console.warn("To match all elements we had to reset the lastIndex of the RegExp because the glo\
bal flag is enabled. We encourage to remove the global flag from the RegExp."), e.lastIndex = 0), r;
}
o(lA, "matchRegExp");
});
// ../node_modules/@testing-library/dom/dist/get-node-text.js
var mc = f((Xy) => {
"use strict";
Object.defineProperty(Xy, "__esModule", {
value: !0
});
Xy.getNodeText = hJ;
var mJ = Ge();
function hJ(e) {
return e.matches("input[type=submit], input[type=button], input[type=reset]") ? e.value : Array.from(e.childNodes).filter((t) => t.nodeType ===
mJ.TEXT_NODE && !!t.textContent).map((t) => t.textContent).join("");
}
o(hJ, "getNodeText");
});
// ../node_modules/dom-accessibility-api/dist/polyfills/array.from.mjs
function uA(e) {
return typeof e == "function" || bJ.call(e) === "[object Function]";
}
function yJ(e) {
var t = Number(e);
return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
}
function vJ(e) {
var t = yJ(e);
return Math.min(Math.max(t, 0), gJ);
}
function ct(e, t) {
var r = Array, n = Object(e);
if (e == null)
throw new TypeError("Array.from requires an array-like object - not null or undefined");
if (typeof t < "u" && !uA(t))
throw new TypeError("Array.from: when provided, the second argument must be a function");
for (var i = vJ(n.length), a = uA(r) ? Object(new r(i)) : new Array(i), s = 0, l; s < i; )
l = n[s], t ? a[s] = t(l, s) : a[s] = l, s += 1;
return a.length = i, a;
}
var bJ, gJ, cA = Re(() => {
bJ = Object.prototype.toString;
o(uA, "isCallable");
o(yJ, "toInteger");
gJ = Math.pow(2, 53) - 1;
o(vJ, "toLength");
o(ct, "arrayFrom");
});
// ../node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
function ci(e) {
"@babel/helpers - typeof";
return ci = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
return typeof t;
} : function(t) {
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, ci(e);
}
function EJ(e, t) {
if (!(e instanceof t))
throw new TypeError("Cannot call a class as a function");
}
function dA(e, t) {
for (var r = 0; r < t.length; r++) {
var n = t[r];
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, fA(n.key), n);
}
}
function wJ(e, t, r) {
return t && dA(e.prototype, t), r && dA(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
}
function _J(e, t, r) {
return t = fA(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function fA(e) {
var t = CJ(e, "string");
return ci(t) === "symbol" ? t : String(t);
}
function CJ(e, t) {
if (ci(e) !== "object" || e === null) return e;
var r = e[Symbol.toPrimitive];
if (r !== void 0) {
var n = r.call(e, t || "default");
if (ci(n) !== "object") return n;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (t === "string" ? String : Number)(e);
}
var qJ, pA, mA = Re(() => {
o(ci, "_typeof");
o(EJ, "_classCallCheck");
o(dA, "_defineProperties");
o(wJ, "_createClass");
o(_J, "_defineProperty");
o(fA, "_toPropertyKey");
o(CJ, "_toPrimitive");
qJ = /* @__PURE__ */ function() {
function e() {
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
EJ(this, e), _J(this, "items", void 0), this.items = t;
}
return o(e, "SetLike"), wJ(e, [{
key: "add",
value: /* @__PURE__ */ o(function(r) {
return this.has(r) === !1 && this.items.push(r), this;
}, "add")
}, {
key: "clear",
value: /* @__PURE__ */ o(function() {
this.items = [];
}, "clear")
}, {
key: "delete",
value: /* @__PURE__ */ o(function(r) {
var n = this.items.length;
return this.items = this.items.filter(function(i) {
return i !== r;
}), n !== this.items.length;
}, "_delete")
}, {
key: "forEach",
value: /* @__PURE__ */ o(function(r) {
var n = this;
this.items.forEach(function(i) {
r(i, i, n);
});
}, "forEach")
}, {
key: "has",
value: /* @__PURE__ */ o(function(r) {
return this.items.indexOf(r) !== -1;
}, "has")
}, {
key: "size",
get: /* @__PURE__ */ o(function() {
return this.items.length;
}, "get")
}]), e;
}(), pA = typeof Set > "u" ? Set : qJ;
});
// ../node_modules/dom-accessibility-api/dist/getRole.mjs
function Me(e) {
var t;
return (
// eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
(t = e.localName) !== null && t !== void 0 ? t : (
// eslint-disable-next-line no-restricted-properties -- required for the fallback
e.tagName.toLowerCase()
)
);
}
function RJ(e, t) {
return [
"aria-atomic",
"aria-busy",
"aria-controls",
"aria-current",
"aria-describedby",
"aria-details",
// "disabled",
"aria-dropeffect",
// "errormessage",
"aria-flowto",
"aria-grabbed",
// "haspopup",
"aria-hidden",
// "invalid",
"aria-keyshortcuts",
"aria-label",
"aria-labelledby",
"aria-live",
"aria-owns",
"aria-relevant",
"aria-roledescription"
].some(function(r) {
var n;
return e.hasAttribute(r) && !((n = xJ[t]) !== null && n !== void 0 && n.has(r));
});
}
function hA(e, t) {
return RJ(e, t);
}
function di(e) {
var t = OJ(e);
if (t === null || t === "presentation") {
var r = TJ(e);
if (t !== "presentation" || hA(e, r || ""))
return r;
}
return t;
}
function TJ(e) {
var t = PJ[Me(e)];
if (t !== void 0)
return t;
switch (Me(e)) {
case "a":
case "area":
case "link":
if (e.hasAttribute("href"))
return "link";
break;
case "img":
return e.getAttribute("alt") === "" && !hA(e, "img") ? "presentation" : "img";
case "input": {
var r = e, n = r.type;
switch (n) {
case "button":
case "image":
case "reset":
case "submit":
return "button";
case "checkbox":
case "radio":
return n;
case "range":
return "slider";
case "email":
case "tel":
case "text":
case "url":
return e.hasAttribute("list") ? "combobox" : "textbox";
case "search":
return e.hasAttribute("list") ? "combobox" : "searchbox";
case "number":
return "spinbutton";
default:
return null;
}
}
case "select":
return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox";
}
return null;
}
function OJ(e) {
var t = e.getAttribute("role");
if (t !== null) {
var r = t.trim().split(" ")[0];
if (r.length > 0)
return r;
}
return null;
}
var PJ, xJ, hc = Re(() => {
o(Me, "getLocalName");
PJ = {
article: "article",
aside: "complementary",
button: "button",
datalist: "listbox",
dd: "definition",
details: "group",
dialog: "dialog",
dt: "term",
fieldset: "group",
figure: "figure",
// WARNING: Only with an accessible name
form: "form",
footer: "contentinfo",
h1: "heading",
h2: "heading",
h3: "heading",
h4: "heading",
h5: "heading",
h6: "heading",
header: "banner",
hr: "separator",
html: "document",
legend: "legend",
li: "listitem",
math: "math",
main: "main",
menu: "list",
nav: "navigation",
ol: "list",
optgroup: "group",
// WARNING: Only in certain context
option: "option",
output: "status",
progress: "progressbar",
// WARNING: Only with an accessible name
section: "region",
summary: "button",
table: "table",
tbody: "rowgroup",
textarea: "textbox",
tfoot: "rowgroup",
// WARNING: Only in certain context
td: "cell",
th: "columnheader",
thead: "rowgroup",
tr: "row",
ul: "list"
}, xJ = {
caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]),
insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
};
o(RJ, "hasGlobalAriaAttributes");
o(hA, "ignorePresentationalRole");
o(di, "getRole");
o(TJ, "getImplicitRole");
o(OJ, "getExplicitRole");
});
// ../node_modules/dom-accessibility-api/dist/util.mjs
function Ce(e) {
return e !== null && e.nodeType === e.ELEMENT_NODE;
}
function Jy(e) {
return Ce(e) && Me(e) === "caption";
}
function fi(e) {
return Ce(e) && Me(e) === "input";
}
function bA(e) {
return Ce(e) && Me(e) === "optgroup";
}
function yA(e) {
return Ce(e) && Me(e) === "select";
}
function gA(e) {
return Ce(e) && Me(e) === "table";
}
function vA(e) {
return Ce(e) && Me(e) === "textarea";
}
function EA(e) {
var t = e.ownerDocument === null ? e : e.ownerDocument, r = t.defaultView;
if (r === null)
throw new TypeError("no window available");
return r;
}
function wA(e) {
return Ce(e) && Me(e) === "fieldset";
}
function _A(e) {
return Ce(e) && Me(e) === "legend";
}
function CA(e) {
return Ce(e) && Me(e) === "slot";
}
function SJ(e) {
return Ce(e) && e.ownerSVGElement !== void 0;
}
function qA(e) {
return Ce(e) && Me(e) === "svg";
}
function PA(e) {
return SJ(e) && Me(e) === "title";
}
function Bn(e, t) {
if (Ce(e) && e.hasAttribute(t)) {
var r = e.getAttribute(t).split(" "), n = e.getRootNode ? e.getRootNode() : e.ownerDocument;
return r.map(function(i) {
return n.getElementById(i);
}).filter(
function(i) {
return i !== null;
}
// TODO: why does this not narrow?
);
}
return [];
}
function Nt(e, t) {
return Ce(e) ? t.indexOf(di(e)) !== -1 : !1;
}
var bc = Re(() => {
hc();
hc();
o(Ce, "isElement");
o(Jy, "isHTMLTableCaptionElement");
o(fi, "isHTMLInputElement");
o(bA, "isHTMLOptGroupElement");
o(yA, "isHTMLSelectElement");
o(gA, "isHTMLTableElement");
o(vA, "isHTMLTextAreaElement");
o(EA, "safeWindow");
o(wA, "isHTMLFieldSetElement");
o(_A, "isHTMLLegendElement");
o(CA, "isHTMLSlotElement");
o(SJ, "isSVGElement");
o(qA, "isSVGSVGElement");
o(PA, "isSVGTitleElement");
o(Bn, "queryIdRefs");
o(Nt, "hasAnyConcreteRoles");
});
// ../node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
function MJ(e) {
return e.trim().replace(/\s\s+/g, " ");
}
function AJ(e, t) {
if (!Ce(e))
return !1;
if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true")
return !0;
var r = t(e);
return r.getPropertyValue("display") === "none" || r.getPropertyValue("visibility") === "hidden";
}
function IJ(e) {
return Nt(e, ["button", "combobox", "listbox", "textbox"]) || TA(e, "range");
}
function TA(e, t) {
if (!Ce(e))
return !1;
switch (t) {
case "range":
return Nt(e, ["meter", "progressbar", "scrollbar", "slider", "spinbutton"]);
default:
throw new TypeError("No knowledge about abstract role '".concat(t, "'. This is likely a bug :("));
}
}
function xA(e, t) {
var r = ct(e.querySelectorAll(t));
return Bn(e, "aria-owns").forEach(function(n) {
r.push.apply(r, ct(n.querySelectorAll(t)));
}), r;
}
function NJ(e) {
return yA(e) ? e.selectedOptions || xA(e, "[selected]") : xA(e, '[aria-selected="true"]');
}
function jJ(e) {
return Nt(e, ["none", "presentation"]);
}
function $J(e) {
return Jy(e);
}
function LJ(e) {
return Nt(e, ["button", "cell", "checkbox", "columnheader", "gridcell", "heading", "label", "legend", "link", "menuitem", "menuitemcheckbo\
x", "menuitemradio", "option", "radio", "row", "rowheader", "switch", "tab", "tooltip", "treeitem"]);
}
function DJ(e) {
return !1;
}
function BJ(e) {
return fi(e) || vA(e) ? e.value : e.textContent || "";
}
function RA(e) {
var t = e.getPropertyValue("content");
return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
}
function OA(e) {
var t = Me(e);
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t ===
"select" || t === "textarea";
}
function SA(e) {
if (OA(e))
return e;
var t = null;
return e.childNodes.forEach(function(r) {
if (t === null && Ce(r)) {
var n = SA(r);
n !== null && (t = n);
}
}), t;
}
function kJ(e) {
if (e.control !== void 0)
return e.control;
var t = e.getAttribute("for");
return t !== null ? e.ownerDocument.getElementById(t) : SA(e);
}
function FJ(e) {
var t = e.labels;
if (t === null)
return t;
if (t !== void 0)
return ct(t);
if (!OA(e))
return null;
var r = e.ownerDocument;
return ct(r.querySelectorAll("label")).filter(function(n) {
return kJ(n) === e;
});
}
function HJ(e) {
var t = e.assignedNodes();
return t.length === 0 ? ct(e.childNodes) : t;
}
function yc(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = new pA(), n = EA(e), i = t.compute, a = i === void 0 ? "n\
ame" : i, s = t.computedStyleSupportsPseudoElements, l = s === void 0 ? t.getComputedStyle !== void 0 : s, c = t.getComputedStyle, u = c ===
void 0 ? n.getComputedStyle.bind(n) : c, d = t.hidden, p = d === void 0 ? !1 : d;
function b(g, q) {
var P = "";
if (Ce(g) && l) {
var _ = u(g, "::before"), C = RA(_);
P = "".concat(C, " ").concat(P);
}
var O = CA(g) ? HJ(g) : ct(g.childNodes).concat(Bn(g, "aria-owns"));
if (O.forEach(function(L) {
var Z = w(L, {
isEmbeddedInLabel: q.isEmbeddedInLabel,
isReferenced: !1,
recursion: !0
}), S = Ce(L) ? u(L).getPropertyValue("display") : "inline", V = S !== "inline" ? " " : "";
P += "".concat(V).concat(Z).concat(V);
}), Ce(g) && l) {
var T = u(g, "::after"), M = RA(T);
P = "".concat(P, " ").concat(M);
}
return P.trim();
}
o(b, "computeMiscTextAlternative");
function m(g, q) {
var P = g.getAttributeNode(q);
return P !== null && !r.has(P) && P.value.trim() !== "" ? (r.add(P), P.value) : null;
}
o(m, "useAttribute");
function y(g) {
return Ce(g) ? m(g, "title") : null;
}
o(y, "computeTooltipAttributeValue");
function h(g) {
if (!Ce(g))
return null;
if (wA(g)) {
r.add(g);
for (var q = ct(g.childNodes), P = 0; P < q.length; P += 1) {
var _ = q[P];
if (_A(_))
return w(_, {
isEmbeddedInLabel: !1,
isReferenced: !1,
recursion: !1
});
}
} else if (gA(g)) {
r.add(g);
for (var C = ct(g.childNodes), O = 0; O < C.length; O += 1) {
var T = C[O];
if (Jy(T))
return w(T, {
isEmbeddedInLabel: !1,
isReferenced: !1,
recursion: !1
});
}
} else if (qA(g)) {
r.add(g);
for (var M = ct(g.childNodes), L = 0; L < M.length; L += 1) {
var Z = M[L];
if (PA(Z))
return Z.textContent;
}
return null;
} else if (Me(g) === "img" || Me(g) === "area") {
var S = m(g, "alt");
if (S !== null)
return S;
} else if (bA(g)) {
var V = m(g, "label");
if (V !== null)
return V;
}
if (fi(g) && (g.type === "button" || g.type === "submit" || g.type === "reset")) {
var ue = m(g, "value");
if (ue !== null)
return ue;
if (g.type === "submit")
return "Submit";
if (g.type === "reset")
return "Reset";
}
var W = FJ(g);
if (W !== null && W.length !== 0)
return r.add(g), ct(W).map(function(U) {
return w(U, {
isEmbeddedInLabel: !0,
isReferenced: !1,
recursion: !0
});
}).filter(function(U) {
return U.length > 0;
}).join(" ");
if (fi(g) && g.type === "image") {
var k = m(g, "alt");
if (k !== null)
return k;
var B = m(g, "title");
return B !== null ? B : "Submit Query";
}
if (Nt(g, ["button"])) {
var ee = b(g, {
isEmbeddedInLabel: !1,
isReferenced: !1
});
if (ee !== "")
return ee;
}
return null;
}
o(h, "computeElementTextAlternative");
function w(g, q) {
if (r.has(g))
return "";
if (!p && AJ(g, u) && !q.isReferenced)
return r.add(g), "";
var P = Ce(g) ? g.getAttributeNode("aria-labelledby") : null, _ = P !== null && !r.has(P) ? Bn(g, "aria-labelledby") : [];
if (a === "name" && !q.isReferenced && _.length > 0)
return r.add(P), _.map(function(S) {
return w(S, {
isEmbeddedInLabel: q.isEmbeddedInLabel,
isReferenced: !0,
// this isn't recursion as specified, otherwise we would skip
// `aria-label` in
// {
cA();
mA();
bc();
o(MJ, "asFlatString");
o(AJ, "isHidden");
o(IJ, "isControl");
o(TA, "hasAbstractRole");
o(xA, "querySelectorAllSubtree");
o(NJ, "querySelectedOptions");
o(jJ, "isMarkedPresentational");
o($J, "isNativeHostLanguageTextAlternativeElement");
o(LJ, "allowsNameFromContent");
o(DJ, "isDescendantOfNativeHostLanguageTextAlternativeElement");
o(BJ, "getValueOfTextbox");
o(RA, "getTextualContent");
o(OA, "isLabelableElement");
o(SA, "findLabelableElement");
o(kJ, "getControlOfLabel");
o(FJ, "getLabels");
o(HJ, "getSlotContents");
o(yc, "computeTextAlternative");
});
// ../node_modules/dom-accessibility-api/dist/accessible-description.mjs
function pi(e) {
"@babel/helpers - typeof";
return pi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
return typeof t;
} : function(t) {
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, pi(e);
}
function MA(e, t) {
var r = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var n = Object.getOwnPropertySymbols(e);
t && (n = n.filter(function(i) {
return Object.getOwnPropertyDescriptor(e, i).enumerable;
})), r.push.apply(r, n);
}
return r;
}
function AA(e) {
for (var t = 1; t < arguments.length; t++) {
var r = arguments[t] != null ? arguments[t] : {};
t % 2 ? MA(Object(r), !0).forEach(function(n) {
UJ(e, n, r[n]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : MA(Object(r)).forEach(function(n) {
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
});
}
return e;
}
function UJ(e, t, r) {
return t = VJ(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
function VJ(e) {
var t = zJ(e, "string");
return pi(t) === "symbol" ? t : String(t);
}
function zJ(e, t) {
if (pi(e) !== "object" || e === null) return e;
var r = e[Symbol.toPrimitive];
if (r !== void 0) {
var n = r.call(e, t || "default");
if (pi(n) !== "object") return n;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (t === "string" ? String : Number)(e);
}
function IA(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = Bn(e, "aria-describedby").map(function(i) {
return yc(i, AA(AA({}, t), {}, {
compute: "description"
}));
}).join(" ");
if (r === "") {
var n = e.getAttribute("title");
r = n === null ? "" : n;
}
return r;
}
var NA = Re(() => {
Qy();
bc();
o(pi, "_typeof");
o(MA, "ownKeys");
o(AA, "_objectSpread");
o(UJ, "_defineProperty");
o(VJ, "_toPropertyKey");
o(zJ, "_toPrimitive");
o(IA, "computeAccessibleDescription");
});
// ../node_modules/dom-accessibility-api/dist/accessible-name.mjs
function WJ(e) {
return Nt(e, ["caption", "code", "deletion", "emphasis", "generic", "insertion", "paragraph", "presentation", "strong", "subscript", "supe\
rscript"]);
}
function jA(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
return WJ(e) ? "" : yc(e, t);
}
var $A = Re(() => {
Qy();
bc();
o(WJ, "prohibitsNaming");
o(jA, "computeAccessibleName");
});
// ../node_modules/dom-accessibility-api/dist/is-inaccessible.mjs
function GJ(e) {
var t, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.getComputedStyle, i = n === void 0 ? (t = e.ownerDocument.
defaultView) === null || t === void 0 ? void 0 : t.getComputedStyle : n, a = r.isSubtreeInaccessible, s = a === void 0 ? LA : a;
if (typeof i != "function")
throw new TypeError("Owner document of the element needs to have an associated window.");
if (i(e).visibility === "hidden")
return !0;
for (var l = e; l; ) {
if (s(l, {
getComputedStyle: i
}))
return !0;
l = l.parentElement;
}
return !1;
}
function LA(e) {
var t, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.getComputedStyle, i = n === void 0 ? (t = e.ownerDocument.
defaultView) === null || t === void 0 ? void 0 : t.getComputedStyle : n;
if (typeof i != "function")
throw new TypeError("Owner document of the element needs to have an associated window.");
return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || i(e).display === "none";
}
var DA = Re(() => {
o(GJ, "isInaccessible");
o(LA, "isSubtreeInaccessible");
});
// ../node_modules/dom-accessibility-api/dist/index.mjs
var gc = {};
ro(gc, {
computeAccessibleDescription: () => IA,
computeAccessibleName: () => jA,
getRole: () => di,
isInaccessible: () => GJ,
isSubtreeInaccessible: () => LA
});
var vc = Re(() => {
NA();
$A();
hc();
DA();
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js
var BA = f((Ec) => {
"use strict";
Object.defineProperty(Ec, "__esModule", {
value: !0
});
Ec.default = void 0;
function KJ() {
var e = this, t = 0, r = {
"@@iterator": /* @__PURE__ */ o(function() {
return r;
}, "iterator"),
next: /* @__PURE__ */ o(function() {
if (t < e.length) {
var i = e[t];
return t = t + 1, {
done: !1,
value: i
};
} else
return {
done: !0
};
}, "next")
};
return r;
}
o(KJ, "iteratorProxy");
var YJ = KJ;
Ec.default = YJ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js
var kn = f((eg) => {
"use strict";
Object.defineProperty(eg, "__esModule", {
value: !0
});
eg.default = QJ;
var XJ = JJ(BA());
function JJ(e) {
return e && e.__esModule ? e : { default: e };
}
o(JJ, "_interopRequireDefault");
function Zy(e) {
"@babel/helpers - typeof";
return Zy = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
return typeof t;
} : function(t) {
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
}, Zy(e);
}
o(Zy, "_typeof");
function QJ(e, t) {
return typeof Symbol == "function" && Zy(Symbol.iterator) === "symbol" && Object.defineProperty(e, Symbol.iterator, {
value: XJ.default.bind(t)
}), e;
}
o(QJ, "iterationDecorator");
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js
var HA = f((wc) => {
"use strict";
Object.defineProperty(wc, "__esModule", {
value: !0
});
wc.default = void 0;
var ZJ = eQ(kn());
function eQ(e) {
return e && e.__esModule ? e : { default: e };
}
o(eQ, "_interopRequireDefault");
function tg(e, t) {
return nQ(e) || rQ(e, t) || FA(e, t) || tQ();
}
o(tg, "_slicedToArray");
function tQ() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(tQ, "_nonIterableRest");
function rQ(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n = [], i = !0, a = !1, s, l;
try {
for (r = r.call(e); !(i = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); i = !0)
;
} catch (c) {
a = !0, l = c;
} finally {
try {
!i && r.return != null && r.return();
} finally {
if (a) throw l;
}
}
return n;
}
}
o(rQ, "_iterableToArrayLimit");
function nQ(e) {
if (Array.isArray(e)) return e;
}
o(nQ, "_arrayWithHoles");
function oQ(e, t) {
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (!r) {
if (Array.isArray(e) || (r = FA(e)) || t && e && typeof e.length == "number") {
r && (e = r);
var n = 0, i = /* @__PURE__ */ o(function() {
}, "F");
return { s: i, n: /* @__PURE__ */ o(function() {
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
}, "n"), e: /* @__PURE__ */ o(function(u) {
throw u;
}, "e"), f: i };
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var a = !0, s = !1, l;
return { s: /* @__PURE__ */ o(function() {
r = r.call(e);
}, "s"), n: /* @__PURE__ */ o(function() {
var u = r.next();
return a = u.done, u;
}, "n"), e: /* @__PURE__ */ o(function(u) {
s = !0, l = u;
}, "e"), f: /* @__PURE__ */ o(function() {
try {
!a && r.return != null && r.return();
} finally {
if (s) throw l;
}
}, "f") };
}
o(oQ, "_createForOfIteratorHelper");
function FA(e, t) {
if (e) {
if (typeof e == "string") return kA(e, t);
var r = Object.prototype.toString.call(e).slice(8, -1);
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return kA(e, t);
}
}
o(FA, "_unsupportedIterableToArray");
function kA(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++)
n[r] = e[r];
return n;
}
o(kA, "_arrayLikeToArray");
var Fn = [["aria-activedescendant", {
type: "id"
}], ["aria-atomic", {
type: "boolean"
}], ["aria-autocomplete", {
type: "token",
values: ["inline", "list", "both", "none"]
}], ["aria-braillelabel", {
type: "string"
}], ["aria-brailleroledescription", {
type: "string"
}], ["aria-busy", {
type: "boolean"
}], ["aria-checked", {
type: "tristate"
}], ["aria-colcount", {
type: "integer"
}], ["aria-colindex", {
type: "integer"
}], ["aria-colspan", {
type: "integer"
}], ["aria-controls", {
type: "idlist"
}], ["aria-current", {
type: "token",
values: ["page", "step", "location", "date", "time", !0, !1]
}], ["aria-describedby", {
type: "idlist"
}], ["aria-description", {
type: "string"
}], ["aria-details", {
type: "id"
}], ["aria-disabled", {
type: "boolean"
}], ["aria-dropeffect", {
type: "tokenlist",
values: ["copy", "execute", "link", "move", "none", "popup"]
}], ["aria-errormessage", {
type: "id"
}], ["aria-expanded", {
type: "boolean",
allowundefined: !0
}], ["aria-flowto", {
type: "idlist"
}], ["aria-grabbed", {
type: "boolean",
allowundefined: !0
}], ["aria-haspopup", {
type: "token",
values: [!1, !0, "menu", "listbox", "tree", "grid", "dialog"]
}], ["aria-hidden", {
type: "boolean",
allowundefined: !0
}], ["aria-invalid", {
type: "token",
values: ["grammar", !1, "spelling", !0]
}], ["aria-keyshortcuts", {
type: "string"
}], ["aria-label", {
type: "string"
}], ["aria-labelledby", {
type: "idlist"
}], ["aria-level", {
type: "integer"
}], ["aria-live", {
type: "token",
values: ["assertive", "off", "polite"]
}], ["aria-modal", {
type: "boolean"
}], ["aria-multiline", {
type: "boolean"
}], ["aria-multiselectable", {
type: "boolean"
}], ["aria-orientation", {
type: "token",
values: ["vertical", "undefined", "horizontal"]
}], ["aria-owns", {
type: "idlist"
}], ["aria-placeholder", {
type: "string"
}], ["aria-posinset", {
type: "integer"
}], ["aria-pressed", {
type: "tristate"
}], ["aria-readonly", {
type: "boolean"
}], ["aria-relevant", {
type: "tokenlist",
values: ["additions", "all", "removals", "text"]
}], ["aria-required", {
type: "boolean"
}], ["aria-roledescription", {
type: "string"
}], ["aria-rowcount", {
type: "integer"
}], ["aria-rowindex", {
type: "integer"
}], ["aria-rowspan", {
type: "integer"
}], ["aria-selected", {
type: "boolean",
allowundefined: !0
}], ["aria-setsize", {
type: "integer"
}], ["aria-sort", {
type: "token",
values: ["ascending", "descending", "none", "other"]
}], ["aria-valuemax", {
type: "number"
}], ["aria-valuemin", {
type: "number"
}], ["aria-valuenow", {
type: "number"
}], ["aria-valuetext", {
type: "string"
}]], rg = {
entries: /* @__PURE__ */ o(function() {
return Fn;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = oQ(Fn), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = tg(i.value, 2), s = a[0], l = a[1];
t.call(r, l, s, Fn);
}
} catch (c) {
n.e(c);
} finally {
n.f();
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = Fn.find(function(n) {
return n[0] === t;
});
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!rg.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return Fn.map(function(t) {
var r = tg(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return Fn.map(function(t) {
var r = tg(t, 2), n = r[1];
return n;
});
}, "values")
}, iQ = (0, ZJ.default)(rg, rg.entries());
wc.default = iQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js
var zA = f((_c) => {
"use strict";
Object.defineProperty(_c, "__esModule", {
value: !0
});
_c.default = void 0;
var aQ = sQ(kn());
function sQ(e) {
return e && e.__esModule ? e : { default: e };
}
o(sQ, "_interopRequireDefault");
function ng(e, t) {
return cQ(e) || uQ(e, t) || VA(e, t) || lQ();
}
o(ng, "_slicedToArray");
function lQ() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(lQ, "_nonIterableRest");
function uQ(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n = [], i = !0, a = !1, s, l;
try {
for (r = r.call(e); !(i = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); i = !0)
;
} catch (c) {
a = !0, l = c;
} finally {
try {
!i && r.return != null && r.return();
} finally {
if (a) throw l;
}
}
return n;
}
}
o(uQ, "_iterableToArrayLimit");
function cQ(e) {
if (Array.isArray(e)) return e;
}
o(cQ, "_arrayWithHoles");
function dQ(e, t) {
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (!r) {
if (Array.isArray(e) || (r = VA(e)) || t && e && typeof e.length == "number") {
r && (e = r);
var n = 0, i = /* @__PURE__ */ o(function() {
}, "F");
return { s: i, n: /* @__PURE__ */ o(function() {
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
}, "n"), e: /* @__PURE__ */ o(function(u) {
throw u;
}, "e"), f: i };
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var a = !0, s = !1, l;
return { s: /* @__PURE__ */ o(function() {
r = r.call(e);
}, "s"), n: /* @__PURE__ */ o(function() {
var u = r.next();
return a = u.done, u;
}, "n"), e: /* @__PURE__ */ o(function(u) {
s = !0, l = u;
}, "e"), f: /* @__PURE__ */ o(function() {
try {
!a && r.return != null && r.return();
} finally {
if (s) throw l;
}
}, "f") };
}
o(dQ, "_createForOfIteratorHelper");
function VA(e, t) {
if (e) {
if (typeof e == "string") return UA(e, t);
var r = Object.prototype.toString.call(e).slice(8, -1);
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return UA(e, t);
}
}
o(VA, "_unsupportedIterableToArray");
function UA(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++)
n[r] = e[r];
return n;
}
o(UA, "_arrayLikeToArray");
var Hn = [["a", {
reserved: !1
}], ["abbr", {
reserved: !1
}], ["acronym", {
reserved: !1
}], ["address", {
reserved: !1
}], ["applet", {
reserved: !1
}], ["area", {
reserved: !1
}], ["article", {
reserved: !1
}], ["aside", {
reserved: !1
}], ["audio", {
reserved: !1
}], ["b", {
reserved: !1
}], ["base", {
reserved: !0
}], ["bdi", {
reserved: !1
}], ["bdo", {
reserved: !1
}], ["big", {
reserved: !1
}], ["blink", {
reserved: !1
}], ["blockquote", {
reserved: !1
}], ["body", {
reserved: !1
}], ["br", {
reserved: !1
}], ["button", {
reserved: !1
}], ["canvas", {
reserved: !1
}], ["caption", {
reserved: !1
}], ["center", {
reserved: !1
}], ["cite", {
reserved: !1
}], ["code", {
reserved: !1
}], ["col", {
reserved: !0
}], ["colgroup", {
reserved: !0
}], ["content", {
reserved: !1
}], ["data", {
reserved: !1
}], ["datalist", {
reserved: !1
}], ["dd", {
reserved: !1
}], ["del", {
reserved: !1
}], ["details", {
reserved: !1
}], ["dfn", {
reserved: !1
}], ["dialog", {
reserved: !1
}], ["dir", {
reserved: !1
}], ["div", {
reserved: !1
}], ["dl", {
reserved: !1
}], ["dt", {
reserved: !1
}], ["em", {
reserved: !1
}], ["embed", {
reserved: !1
}], ["fieldset", {
reserved: !1
}], ["figcaption", {
reserved: !1
}], ["figure", {
reserved: !1
}], ["font", {
reserved: !1
}], ["footer", {
reserved: !1
}], ["form", {
reserved: !1
}], ["frame", {
reserved: !1
}], ["frameset", {
reserved: !1
}], ["h1", {
reserved: !1
}], ["h2", {
reserved: !1
}], ["h3", {
reserved: !1
}], ["h4", {
reserved: !1
}], ["h5", {
reserved: !1
}], ["h6", {
reserved: !1
}], ["head", {
reserved: !0
}], ["header", {
reserved: !1
}], ["hgroup", {
reserved: !1
}], ["hr", {
reserved: !1
}], ["html", {
reserved: !0
}], ["i", {
reserved: !1
}], ["iframe", {
reserved: !1
}], ["img", {
reserved: !1
}], ["input", {
reserved: !1
}], ["ins", {
reserved: !1
}], ["kbd", {
reserved: !1
}], ["keygen", {
reserved: !1
}], ["label", {
reserved: !1
}], ["legend", {
reserved: !1
}], ["li", {
reserved: !1
}], ["link", {
reserved: !0
}], ["main", {
reserved: !1
}], ["map", {
reserved: !1
}], ["mark", {
reserved: !1
}], ["marquee", {
reserved: !1
}], ["menu", {
reserved: !1
}], ["menuitem", {
reserved: !1
}], ["meta", {
reserved: !0
}], ["meter", {
reserved: !1
}], ["nav", {
reserved: !1
}], ["noembed", {
reserved: !0
}], ["noscript", {
reserved: !0
}], ["object", {
reserved: !1
}], ["ol", {
reserved: !1
}], ["optgroup", {
reserved: !1
}], ["option", {
reserved: !1
}], ["output", {
reserved: !1
}], ["p", {
reserved: !1
}], ["param", {
reserved: !0
}], ["picture", {
reserved: !0
}], ["pre", {
reserved: !1
}], ["progress", {
reserved: !1
}], ["q", {
reserved: !1
}], ["rp", {
reserved: !1
}], ["rt", {
reserved: !1
}], ["rtc", {
reserved: !1
}], ["ruby", {
reserved: !1
}], ["s", {
reserved: !1
}], ["samp", {
reserved: !1
}], ["script", {
reserved: !0
}], ["section", {
reserved: !1
}], ["select", {
reserved: !1
}], ["small", {
reserved: !1
}], ["source", {
reserved: !0
}], ["spacer", {
reserved: !1
}], ["span", {
reserved: !1
}], ["strike", {
reserved: !1
}], ["strong", {
reserved: !1
}], ["style", {
reserved: !0
}], ["sub", {
reserved: !1
}], ["summary", {
reserved: !1
}], ["sup", {
reserved: !1
}], ["table", {
reserved: !1
}], ["tbody", {
reserved: !1
}], ["td", {
reserved: !1
}], ["textarea", {
reserved: !1
}], ["tfoot", {
reserved: !1
}], ["th", {
reserved: !1
}], ["thead", {
reserved: !1
}], ["time", {
reserved: !1
}], ["title", {
reserved: !0
}], ["tr", {
reserved: !1
}], ["track", {
reserved: !0
}], ["tt", {
reserved: !1
}], ["u", {
reserved: !1
}], ["ul", {
reserved: !1
}], ["var", {
reserved: !1
}], ["video", {
reserved: !1
}], ["wbr", {
reserved: !1
}], ["xmp", {
reserved: !1
}]], og = {
entries: /* @__PURE__ */ o(function() {
return Hn;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = dQ(Hn), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = ng(i.value, 2), s = a[0], l = a[1];
t.call(r, l, s, Hn);
}
} catch (c) {
n.e(c);
} finally {
n.f();
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = Hn.find(function(n) {
return n[0] === t;
});
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!og.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return Hn.map(function(t) {
var r = ng(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return Hn.map(function(t) {
var r = ng(t, 2), n = r[1];
return n;
});
}, "values")
}, fQ = (0, aQ.default)(og, og.entries());
_c.default = fQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js
var WA = f((Cc) => {
"use strict";
Object.defineProperty(Cc, "__esModule", {
value: !0
});
Cc.default = void 0;
var pQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget"]]
}, mQ = pQ;
Cc.default = mQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js
var GA = f((qc) => {
"use strict";
Object.defineProperty(qc, "__esModule", {
value: !0
});
qc.default = void 0;
var hQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-disabled": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget"]]
}, bQ = hQ;
qc.default = bQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js
var KA = f((Pc) => {
"use strict";
Object.defineProperty(Pc, "__esModule", {
value: !0
});
Pc.default = void 0;
var yQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null
},
relatedConcepts: [{
concept: {
name: "input"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget"]]
}, gQ = yQ;
Pc.default = gQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js
var YA = f((xc) => {
"use strict";
Object.defineProperty(xc, "__esModule", {
value: !0
});
xc.default = void 0;
var vQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, EQ = vQ;
xc.default = EQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js
var XA = f((Rc) => {
"use strict";
Object.defineProperty(Rc, "__esModule", {
value: !0
});
Rc.default = void 0;
var wQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-valuemax": null,
"aria-valuemin": null,
"aria-valuenow": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, _Q = wQ;
Rc.default = _Q;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js
var JA = f((Tc) => {
"use strict";
Object.defineProperty(Tc, "__esModule", {
value: !0
});
Tc.default = void 0;
var CQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {
"aria-atomic": null,
"aria-busy": null,
"aria-controls": null,
"aria-current": null,
"aria-describedby": null,
"aria-details": null,
"aria-dropeffect": null,
"aria-flowto": null,
"aria-grabbed": null,
"aria-hidden": null,
"aria-keyshortcuts": null,
"aria-label": null,
"aria-labelledby": null,
"aria-live": null,
"aria-owns": null,
"aria-relevant": null,
"aria-roledescription": null
},
relatedConcepts: [{
concept: {
name: "role"
},
module: "XHTML"
}, {
concept: {
name: "type"
},
module: "Dublin Core"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: []
}, qQ = CQ;
Tc.default = qQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js
var QA = f((Oc) => {
"use strict";
Object.defineProperty(Oc, "__esModule", {
value: !0
});
Oc.default = void 0;
var PQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "frontmatter"
},
module: "DTB"
}, {
concept: {
name: "level"
},
module: "DTB"
}, {
concept: {
name: "level"
},
module: "SMIL"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, xQ = PQ;
Oc.default = xQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js
var ZA = f((Sc) => {
"use strict";
Object.defineProperty(Sc, "__esModule", {
value: !0
});
Sc.default = void 0;
var RQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, TQ = RQ;
Sc.default = TQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js
var e1 = f((Mc) => {
"use strict";
Object.defineProperty(Mc, "__esModule", {
value: !0
});
Mc.default = void 0;
var OQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "group"]]
}, SQ = OQ;
Mc.default = SQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js
var t1 = f((Ac) => {
"use strict";
Object.defineProperty(Ac, "__esModule", {
value: !0
});
Ac.default = void 0;
var MQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype"]]
}, AQ = MQ;
Ac.default = AQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js
var r1 = f((Ic) => {
"use strict";
Object.defineProperty(Ic, "__esModule", {
value: !0
});
Ic.default = void 0;
var IQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype"]]
}, NQ = IQ;
Ic.default = NQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js
var n1 = f((Nc) => {
"use strict";
Object.defineProperty(Nc, "__esModule", {
value: !0
});
Nc.default = void 0;
var jQ = {
abstract: !0,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-modal": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype"]]
}, $Q = jQ;
Nc.default = $Q;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js
var o1 = f((jc) => {
"use strict";
Object.defineProperty(jc, "__esModule", {
value: !0
});
jc.default = void 0;
var LQ = Et(WA()), DQ = Et(GA()), BQ = Et(KA()), kQ = Et(YA()), FQ = Et(XA()), HQ = Et(JA()), UQ = Et(QA()), VQ = Et(ZA()), zQ = Et(e1()),
WQ = Et(t1()), GQ = Et(r1()), KQ = Et(n1());
function Et(e) {
return e && e.__esModule ? e : { default: e };
}
o(Et, "_interopRequireDefault");
var YQ = [["command", LQ.default], ["composite", DQ.default], ["input", BQ.default], ["landmark", kQ.default], ["range", FQ.default], ["ro\
letype", HQ.default], ["section", UQ.default], ["sectionhead", VQ.default], ["select", zQ.default], ["structure", WQ.default], ["widget", GQ.
default], ["window", KQ.default]], XQ = YQ;
jc.default = XQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js
var i1 = f(($c) => {
"use strict";
Object.defineProperty($c, "__esModule", {
value: !0
});
$c.default = void 0;
var JQ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-atomic": "true",
"aria-live": "assertive"
},
relatedConcepts: [{
concept: {
name: "alert"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, QQ = JQ;
$c.default = QQ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js
var a1 = f((Lc) => {
"use strict";
Object.defineProperty(Lc, "__esModule", {
value: !0
});
Lc.default = void 0;
var ZQ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "alert"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "alert"], ["roletype", "window", "dialog"]]
}, eZ = ZQ;
Lc.default = eZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js
var s1 = f((Dc) => {
"use strict";
Object.defineProperty(Dc, "__esModule", {
value: !0
});
Dc.default = void 0;
var tZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "Device Independence Delivery Unit"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, rZ = tZ;
Dc.default = rZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js
var l1 = f((Bc) => {
"use strict";
Object.defineProperty(Bc, "__esModule", {
value: !0
});
Bc.default = void 0;
var nZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
name: "article"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "document"]]
}, oZ = nZ;
Bc.default = oZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js
var u1 = f((kc) => {
"use strict";
Object.defineProperty(kc, "__esModule", {
value: !0
});
kc.default = void 0;
var iZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
constraints: ["scoped to the body element"],
name: "header"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, aZ = iZ;
kc.default = aZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js
var c1 = f((Fc) => {
"use strict";
Object.defineProperty(Fc, "__esModule", {
value: !0
});
Fc.default = void 0;
var sZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "blockquote"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, lZ = sZ;
Fc.default = lZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js
var d1 = f((Hc) => {
"use strict";
Object.defineProperty(Hc, "__esModule", {
value: !0
});
Hc.default = void 0;
var uZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-pressed": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "button"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "type",
value: "image"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "type",
value: "reset"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "type",
value: "submit"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
name: "button"
},
module: "HTML"
}, {
concept: {
name: "trigger"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command"]]
}, cZ = uZ;
Hc.default = cZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js
var f1 = f((Uc) => {
"use strict";
Object.defineProperty(Uc, "__esModule", {
value: !0
});
Uc.default = void 0;
var dZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "caption"
},
module: "HTML"
}],
requireContextRole: ["figure", "grid", "table"],
requiredContextRole: ["figure", "grid", "table"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, fZ = dZ;
Uc.default = fZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js
var p1 = f((Vc) => {
"use strict";
Object.defineProperty(Vc, "__esModule", {
value: !0
});
Vc.default = void 0;
var pZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-colindex": null,
"aria-colspan": null,
"aria-rowindex": null,
"aria-rowspan": null
},
relatedConcepts: [{
concept: {
constraints: ["ancestor table element has table role"],
name: "td"
},
module: "HTML"
}],
requireContextRole: ["row"],
requiredContextRole: ["row"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, mZ = pZ;
Vc.default = mZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js
var m1 = f((zc) => {
"use strict";
Object.defineProperty(zc, "__esModule", {
value: !0
});
zc.default = void 0;
var hZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-checked": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "checkbox"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
name: "option"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input"]]
}, bZ = hZ;
zc.default = bZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js
var h1 = f((Wc) => {
"use strict";
Object.defineProperty(Wc, "__esModule", {
value: !0
});
Wc.default = void 0;
var yZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "code"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, gZ = yZ;
Wc.default = gZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js
var b1 = f((Gc) => {
"use strict";
Object.defineProperty(Gc, "__esModule", {
value: !0
});
Gc.default = void 0;
var vZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-sort": null
},
relatedConcepts: [{
concept: {
name: "th"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "scope",
value: "col"
}],
name: "th"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "scope",
value: "colgroup"
}],
name: "th"
},
module: "HTML"
}],
requireContextRole: ["row"],
requiredContextRole: ["row"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
}, EZ = vZ;
Gc.default = EZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js
var y1 = f((Kc) => {
"use strict";
Object.defineProperty(Kc, "__esModule", {
value: !0
});
Kc.default = void 0;
var wZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-autocomplete": null,
"aria-errormessage": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null,
"aria-expanded": "false",
"aria-haspopup": "listbox"
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "email"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "search"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "tel"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "text"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "url"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "list"
}, {
name: "type",
value: "url"
}],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "multiple"
}, {
constraints: ["undefined"],
name: "size"
}],
constraints: ["the multiple attribute is not set and the size attribute does not have a value greater than 1"],
name: "select"
},
module: "HTML"
}, {
concept: {
name: "select"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-controls": null,
"aria-expanded": "false"
},
superClass: [["roletype", "widget", "input"]]
}, _Z = wZ;
Kc.default = _Z;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js
var g1 = f((Yc) => {
"use strict";
Object.defineProperty(Yc, "__esModule", {
value: !0
});
Yc.default = void 0;
var CZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "aside"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-label"
}],
constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
name: "aside"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-labelledby"
}],
constraints: ["scoped to a sectioning content element", "scoped to a sectioning root element other than body"],
name: "aside"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, qZ = CZ;
Yc.default = qZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js
var v1 = f((Xc) => {
"use strict";
Object.defineProperty(Xc, "__esModule", {
value: !0
});
Xc.default = void 0;
var PZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
constraints: ["scoped to the body element"],
name: "footer"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, xZ = PZ;
Xc.default = xZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js
var E1 = f((Jc) => {
"use strict";
Object.defineProperty(Jc, "__esModule", {
value: !0
});
Jc.default = void 0;
var RZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "dd"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, TZ = RZ;
Jc.default = TZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js
var w1 = f((Qc) => {
"use strict";
Object.defineProperty(Qc, "__esModule", {
value: !0
});
Qc.default = void 0;
var OZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "del"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, SZ = OZ;
Qc.default = SZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js
var _1 = f((Zc) => {
"use strict";
Object.defineProperty(Zc, "__esModule", {
value: !0
});
Zc.default = void 0;
var MZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "dialog"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "window"]]
}, AZ = MZ;
Zc.default = AZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js
var C1 = f((ed) => {
"use strict";
Object.defineProperty(ed, "__esModule", {
value: !0
});
ed.default = void 0;
var IZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
module: "DAISY Guide"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "list"]]
}, NZ = IZ;
ed.default = NZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js
var q1 = f((td) => {
"use strict";
Object.defineProperty(td, "__esModule", {
value: !0
});
td.default = void 0;
var jZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "Device Independence Delivery Unit"
}
}, {
concept: {
name: "html"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, $Z = jZ;
td.default = $Z;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js
var P1 = f((rd) => {
"use strict";
Object.defineProperty(rd, "__esModule", {
value: !0
});
rd.default = void 0;
var LZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "em"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, DZ = LZ;
rd.default = DZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js
var x1 = f((nd) => {
"use strict";
Object.defineProperty(nd, "__esModule", {
value: !0
});
nd.default = void 0;
var BZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["article"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "list"]]
}, kZ = BZ;
nd.default = kZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js
var R1 = f((od) => {
"use strict";
Object.defineProperty(od, "__esModule", {
value: !0
});
od.default = void 0;
var FZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "figure"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, HZ = FZ;
od.default = HZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js
var T1 = f((id) => {
"use strict";
Object.defineProperty(id, "__esModule", {
value: !0
});
id.default = void 0;
var UZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "aria-label"
}],
name: "form"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-labelledby"
}],
name: "form"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "name"
}],
name: "form"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, VZ = UZ;
id.default = VZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js
var O1 = f((ad) => {
"use strict";
Object.defineProperty(ad, "__esModule", {
value: !0
});
ad.default = void 0;
var zZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "a"
},
module: "HTML"
}, {
concept: {
name: "area"
},
module: "HTML"
}, {
concept: {
name: "aside"
},
module: "HTML"
}, {
concept: {
name: "b"
},
module: "HTML"
}, {
concept: {
name: "bdo"
},
module: "HTML"
}, {
concept: {
name: "body"
},
module: "HTML"
}, {
concept: {
name: "data"
},
module: "HTML"
}, {
concept: {
name: "div"
},
module: "HTML"
}, {
concept: {
constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
name: "footer"
},
module: "HTML"
}, {
concept: {
constraints: ["scoped to the main element", "scoped to a sectioning content element", "scoped to a sectioning root element other tha\
n body"],
name: "header"
},
module: "HTML"
}, {
concept: {
name: "hgroup"
},
module: "HTML"
}, {
concept: {
name: "i"
},
module: "HTML"
}, {
concept: {
name: "pre"
},
module: "HTML"
}, {
concept: {
name: "q"
},
module: "HTML"
}, {
concept: {
name: "samp"
},
module: "HTML"
}, {
concept: {
name: "section"
},
module: "HTML"
}, {
concept: {
name: "small"
},
module: "HTML"
}, {
concept: {
name: "span"
},
module: "HTML"
}, {
concept: {
name: "u"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, WZ = zZ;
ad.default = WZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js
var S1 = f((sd) => {
"use strict";
Object.defineProperty(sd, "__esModule", {
value: !0
});
sd.default = void 0;
var GZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-multiselectable": null,
"aria-readonly": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["row"], ["row", "rowgroup"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite"], ["roletype", "structure", "section", "table"]]
}, KZ = GZ;
sd.default = KZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js
var M1 = f((ld) => {
"use strict";
Object.defineProperty(ld, "__esModule", {
value: !0
});
ld.default = void 0;
var YZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null,
"aria-selected": null
},
relatedConcepts: [{
concept: {
constraints: ["ancestor table element has grid role", "ancestor table element has treegrid role"],
name: "td"
},
module: "HTML"
}],
requireContextRole: ["row"],
requiredContextRole: ["row"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "cell"], ["roletype", "widget"]]
}, XZ = YZ;
ld.default = XZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js
var A1 = f((ud) => {
"use strict";
Object.defineProperty(ud, "__esModule", {
value: !0
});
ud.default = void 0;
var JZ = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-disabled": null
},
relatedConcepts: [{
concept: {
name: "details"
},
module: "HTML"
}, {
concept: {
name: "fieldset"
},
module: "HTML"
}, {
concept: {
name: "optgroup"
},
module: "HTML"
}, {
concept: {
name: "address"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, QZ = JZ;
ud.default = QZ;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js
var I1 = f((cd) => {
"use strict";
Object.defineProperty(cd, "__esModule", {
value: !0
});
cd.default = void 0;
var ZZ = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-level": "2"
},
relatedConcepts: [{
concept: {
name: "h1"
},
module: "HTML"
}, {
concept: {
name: "h2"
},
module: "HTML"
}, {
concept: {
name: "h3"
},
module: "HTML"
}, {
concept: {
name: "h4"
},
module: "HTML"
}, {
concept: {
name: "h5"
},
module: "HTML"
}, {
concept: {
name: "h6"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-level": "2"
},
superClass: [["roletype", "structure", "sectionhead"]]
}, eee = ZZ;
cd.default = eee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js
var N1 = f((dd) => {
"use strict";
Object.defineProperty(dd, "__esModule", {
value: !0
});
dd.default = void 0;
var tee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "alt"
}],
name: "img"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "alt"
}],
name: "img"
},
module: "HTML"
}, {
concept: {
name: "imggroup"
},
module: "DTB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, ree = tee;
dd.default = ree;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js
var j1 = f((fd) => {
"use strict";
Object.defineProperty(fd, "__esModule", {
value: !0
});
fd.default = void 0;
var nee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "ins"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, oee = nee;
fd.default = oee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js
var $1 = f((pd) => {
"use strict";
Object.defineProperty(pd, "__esModule", {
value: !0
});
pd.default = void 0;
var iee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "href"
}],
name: "a"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "href"
}],
name: "area"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command"]]
}, aee = iee;
pd.default = aee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js
var L1 = f((md) => {
"use strict";
Object.defineProperty(md, "__esModule", {
value: !0
});
md.default = void 0;
var see = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "menu"
},
module: "HTML"
}, {
concept: {
name: "ol"
},
module: "HTML"
}, {
concept: {
name: "ul"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["listitem"]],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, lee = see;
md.default = lee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js
var D1 = f((hd) => {
"use strict";
Object.defineProperty(hd, "__esModule", {
value: !0
});
hd.default = void 0;
var uee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-expanded": null,
"aria-invalid": null,
"aria-multiselectable": null,
"aria-readonly": null,
"aria-required": null,
"aria-orientation": "vertical"
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: [">1"],
name: "size"
}],
constraints: ["the size attribute value is greater than 1"],
name: "select"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "multiple"
}],
name: "select"
},
module: "HTML"
}, {
concept: {
name: "datalist"
},
module: "HTML"
}, {
concept: {
name: "list"
},
module: "ARIA"
}, {
concept: {
name: "select"
},
module: "XForms"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["option", "group"], ["option"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, cee = uee;
hd.default = cee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js
var B1 = f((bd) => {
"use strict";
Object.defineProperty(bd, "__esModule", {
value: !0
});
bd.default = void 0;
var dee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-level": null,
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
constraints: ["direct descendant of ol", "direct descendant of ul", "direct descendant of menu"],
name: "li"
},
module: "HTML"
}, {
concept: {
name: "item"
},
module: "XForms"
}],
requireContextRole: ["directory", "list"],
requiredContextRole: ["directory", "list"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, fee = dee;
bd.default = fee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js
var k1 = f((yd) => {
"use strict";
Object.defineProperty(yd, "__esModule", {
value: !0
});
yd.default = void 0;
var pee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-live": "polite"
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, mee = pee;
yd.default = mee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js
var F1 = f((gd) => {
"use strict";
Object.defineProperty(gd, "__esModule", {
value: !0
});
gd.default = void 0;
var hee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "main"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, bee = hee;
gd.default = bee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js
var H1 = f((vd) => {
"use strict";
Object.defineProperty(vd, "__esModule", {
value: !0
});
vd.default = void 0;
var yee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: [],
props: {
"aria-braillelabel": null,
"aria-brailleroledescription": null,
"aria-description": null
},
relatedConcepts: [{
concept: {
name: "mark"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, gee = yee;
vd.default = gee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js
var U1 = f((Ed) => {
"use strict";
Object.defineProperty(Ed, "__esModule", {
value: !0
});
Ed.default = void 0;
var vee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Eee = vee;
Ed.default = Eee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js
var V1 = f((wd) => {
"use strict";
Object.defineProperty(wd, "__esModule", {
value: !0
});
wd.default = void 0;
var wee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "math"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, _ee = wee;
wd.default = _ee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js
var z1 = f((_d) => {
"use strict";
Object.defineProperty(_d, "__esModule", {
value: !0
});
_d.default = void 0;
var Cee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": "vertical"
},
relatedConcepts: [{
concept: {
name: "MENU"
},
module: "JAPI"
}, {
concept: {
name: "list"
},
module: "ARIA"
}, {
concept: {
name: "select"
},
module: "XForms"
}, {
concept: {
name: "sidebar"
},
module: "DTB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, qee = Cee;
_d.default = qee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js
var W1 = f((Cd) => {
"use strict";
Object.defineProperty(Cd, "__esModule", {
value: !0
});
Cd.default = void 0;
var Pee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": "horizontal"
},
relatedConcepts: [{
concept: {
name: "toolbar"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["menuitem", "group"], ["menuitemradio", "group"], ["menuitemcheckbox", "group"], ["menuitem"], ["menuitemcheckb\
ox"], ["menuitemradio"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select", "menu"], ["roletype", "structure", "section", "group", "select", "menu"]]
}, xee = Pee;
Cd.default = xee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js
var G1 = f((qd) => {
"use strict";
Object.defineProperty(qd, "__esModule", {
value: !0
});
qd.default = void 0;
var Ree = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
name: "MENU_ITEM"
},
module: "JAPI"
}, {
concept: {
name: "listitem"
},
module: "ARIA"
}, {
concept: {
name: "option"
},
module: "ARIA"
}],
requireContextRole: ["group", "menu", "menubar"],
requiredContextRole: ["group", "menu", "menubar"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command"]]
}, Tee = Ree;
qd.default = Tee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js
var K1 = f((Pd) => {
"use strict";
Object.defineProperty(Pd, "__esModule", {
value: !0
});
Pd.default = void 0;
var Oee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "menuitem"
},
module: "ARIA"
}],
requireContextRole: ["group", "menu", "menubar"],
requiredContextRole: ["group", "menu", "menubar"],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input", "checkbox"], ["roletype", "widget", "command", "menuitem"]]
}, See = Oee;
Pd.default = See;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js
var Y1 = f((xd) => {
"use strict";
Object.defineProperty(xd, "__esModule", {
value: !0
});
xd.default = void 0;
var Mee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "menuitem"
},
module: "ARIA"
}],
requireContextRole: ["group", "menu", "menubar"],
requiredContextRole: ["group", "menu", "menubar"],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input", "checkbox", "menuitemcheckbox"], ["roletype", "widget", "command", "menuitem", "menuitemche\
ckbox"], ["roletype", "widget", "input", "radio"]]
}, Aee = Mee;
xd.default = Aee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js
var X1 = f((Rd) => {
"use strict";
Object.defineProperty(Rd, "__esModule", {
value: !0
});
Rd.default = void 0;
var Iee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-valuetext": null,
"aria-valuemax": "100",
"aria-valuemin": "0"
},
relatedConcepts: [{
concept: {
name: "meter"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-valuenow": null
},
superClass: [["roletype", "structure", "range"]]
}, Nee = Iee;
Rd.default = Nee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js
var J1 = f((Td) => {
"use strict";
Object.defineProperty(Td, "__esModule", {
value: !0
});
Td.default = void 0;
var jee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "nav"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, $ee = jee;
Td.default = $ee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js
var Q1 = f((Od) => {
"use strict";
Object.defineProperty(Od, "__esModule", {
value: !0
});
Od.default = void 0;
var Lee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: [],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: []
}, Dee = Lee;
Od.default = Dee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js
var Z1 = f((Sd) => {
"use strict";
Object.defineProperty(Sd, "__esModule", {
value: !0
});
Sd.default = void 0;
var Bee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, kee = Bee;
Sd.default = kee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js
var eI = f((Md) => {
"use strict";
Object.defineProperty(Md, "__esModule", {
value: !0
});
Md.default = void 0;
var Fee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-checked": null,
"aria-posinset": null,
"aria-setsize": null,
"aria-selected": "false"
},
relatedConcepts: [{
concept: {
name: "item"
},
module: "XForms"
}, {
concept: {
name: "listitem"
},
module: "ARIA"
}, {
concept: {
name: "option"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-selected": "false"
},
superClass: [["roletype", "widget", "input"]]
}, Hee = Fee;
Md.default = Hee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js
var tI = f((Ad) => {
"use strict";
Object.defineProperty(Ad, "__esModule", {
value: !0
});
Ad.default = void 0;
var Uee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "p"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Vee = Uee;
Ad.default = Vee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js
var rI = f((Id) => {
"use strict";
Object.defineProperty(Id, "__esModule", {
value: !0
});
Id.default = void 0;
var zee = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
name: "alt",
value: ""
}],
name: "img"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, Wee = zee;
Id.default = Wee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js
var nI = f((Nd) => {
"use strict";
Object.defineProperty(Nd, "__esModule", {
value: !0
});
Nd.default = void 0;
var Gee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-valuetext": null
},
relatedConcepts: [{
concept: {
name: "progress"
},
module: "HTML"
}, {
concept: {
name: "status"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
}, Kee = Gee;
Nd.default = Kee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js
var oI = f((jd) => {
"use strict";
Object.defineProperty(jd, "__esModule", {
value: !0
});
jd.default = void 0;
var Yee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-checked": null,
"aria-posinset": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "radio"
}],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input"]]
}, Xee = Yee;
jd.default = Xee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js
var iI = f(($d) => {
"use strict";
Object.defineProperty($d, "__esModule", {
value: !0
});
$d.default = void 0;
var Jee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null
},
relatedConcepts: [{
concept: {
name: "list"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["radio"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, Qee = Jee;
$d.default = Qee;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js
var aI = f((Ld) => {
"use strict";
Object.defineProperty(Ld, "__esModule", {
value: !0
});
Ld.default = void 0;
var Zee = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["set"],
name: "aria-label"
}],
name: "section"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["set"],
name: "aria-labelledby"
}],
name: "section"
},
module: "HTML"
}, {
concept: {
name: "Device Independence Glossart perceivable unit"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, ete = Zee;
Ld.default = ete;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js
var sI = f((Dd) => {
"use strict";
Object.defineProperty(Dd, "__esModule", {
value: !0
});
Dd.default = void 0;
var tte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-colindex": null,
"aria-expanded": null,
"aria-level": null,
"aria-posinset": null,
"aria-rowindex": null,
"aria-selected": null,
"aria-setsize": null
},
relatedConcepts: [{
concept: {
name: "tr"
},
module: "HTML"
}],
requireContextRole: ["grid", "rowgroup", "table", "treegrid"],
requiredContextRole: ["grid", "rowgroup", "table", "treegrid"],
requiredOwnedElements: [["cell"], ["columnheader"], ["gridcell"], ["rowheader"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "group"], ["roletype", "widget"]]
}, rte = tte;
Dd.default = rte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js
var lI = f((Bd) => {
"use strict";
Object.defineProperty(Bd, "__esModule", {
value: !0
});
Bd.default = void 0;
var nte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "tbody"
},
module: "HTML"
}, {
concept: {
name: "tfoot"
},
module: "HTML"
}, {
concept: {
name: "thead"
},
module: "HTML"
}],
requireContextRole: ["grid", "table", "treegrid"],
requiredContextRole: ["grid", "table", "treegrid"],
requiredOwnedElements: [["row"]],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, ote = nte;
Bd.default = ote;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js
var uI = f((kd) => {
"use strict";
Object.defineProperty(kd, "__esModule", {
value: !0
});
kd.default = void 0;
var ite = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-sort": null
},
relatedConcepts: [{
concept: {
attributes: [{
name: "scope",
value: "row"
}],
name: "th"
},
module: "HTML"
}, {
concept: {
attributes: [{
name: "scope",
value: "rowgroup"
}],
name: "th"
},
module: "HTML"
}],
requireContextRole: ["row", "rowgroup"],
requiredContextRole: ["row", "rowgroup"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "cell"], ["roletype", "structure", "section", "cell", "gridcell"], ["roletype", "widge\
t", "gridcell"], ["roletype", "structure", "sectionhead"]]
}, ate = ite;
kd.default = ate;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js
var cI = f((Fd) => {
"use strict";
Object.defineProperty(Fd, "__esModule", {
value: !0
});
Fd.default = void 0;
var ste = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-valuetext": null,
"aria-orientation": "vertical",
"aria-valuemax": "100",
"aria-valuemin": "0"
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-controls": null,
"aria-valuenow": null
},
superClass: [["roletype", "structure", "range"], ["roletype", "widget"]]
}, lte = ste;
Fd.default = lte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js
var dI = f((Hd) => {
"use strict";
Object.defineProperty(Hd, "__esModule", {
value: !0
});
Hd.default = void 0;
var ute = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, cte = ute;
Hd.default = cte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js
var fI = f((Ud) => {
"use strict";
Object.defineProperty(Ud, "__esModule", {
value: !0
});
Ud.default = void 0;
var dte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "search"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "input", "textbox"]]
}, fte = dte;
Ud.default = fte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js
var pI = f((Vd) => {
"use strict";
Object.defineProperty(Vd, "__esModule", {
value: !0
});
Vd.default = void 0;
var pte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-orientation": "horizontal",
"aria-valuemax": "100",
"aria-valuemin": "0",
"aria-valuenow": null,
"aria-valuetext": null
},
relatedConcepts: [{
concept: {
name: "hr"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure"]]
}, mte = pte;
Vd.default = mte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js
var mI = f((zd) => {
"use strict";
Object.defineProperty(zd, "__esModule", {
value: !0
});
zd.default = void 0;
var hte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-haspopup": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-valuetext": null,
"aria-orientation": "horizontal",
"aria-valuemax": "100",
"aria-valuemin": "0"
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "range"
}],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-valuenow": null
},
superClass: [["roletype", "widget", "input"], ["roletype", "structure", "range"]]
}, bte = hte;
zd.default = bte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js
var hI = f((Wd) => {
"use strict";
Object.defineProperty(Wd, "__esModule", {
value: !0
});
Wd.default = void 0;
var yte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null,
"aria-readonly": null,
"aria-required": null,
"aria-valuetext": null,
"aria-valuenow": "0"
},
relatedConcepts: [{
concept: {
attributes: [{
name: "type",
value: "number"
}],
name: "input"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "composite"], ["roletype", "widget", "input"], ["roletype", "structure", "range"]]
}, gte = yte;
Wd.default = gte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js
var bI = f((Gd) => {
"use strict";
Object.defineProperty(Gd, "__esModule", {
value: !0
});
Gd.default = void 0;
var vte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-atomic": "true",
"aria-live": "polite"
},
relatedConcepts: [{
concept: {
name: "output"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Ete = vte;
Gd.default = Ete;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js
var yI = f((Kd) => {
"use strict";
Object.defineProperty(Kd, "__esModule", {
value: !0
});
Kd.default = void 0;
var wte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "strong"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, _te = wte;
Kd.default = _te;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js
var gI = f((Yd) => {
"use strict";
Object.defineProperty(Yd, "__esModule", {
value: !0
});
Yd.default = void 0;
var Cte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "sub"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, qte = Cte;
Yd.default = qte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js
var vI = f((Xd) => {
"use strict";
Object.defineProperty(Xd, "__esModule", {
value: !0
});
Xd.default = void 0;
var Pte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["prohibited"],
prohibitedProps: ["aria-label", "aria-labelledby"],
props: {},
relatedConcepts: [{
concept: {
name: "sup"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, xte = Pte;
Xd.default = xte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js
var EI = f((Jd) => {
"use strict";
Object.defineProperty(Jd, "__esModule", {
value: !0
});
Jd.default = void 0;
var Rte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "button"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {
"aria-checked": null
},
superClass: [["roletype", "widget", "input", "checkbox"]]
}, Tte = Rte;
Jd.default = Tte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js
var wI = f((Qd) => {
"use strict";
Object.defineProperty(Qd, "__esModule", {
value: !0
});
Qd.default = void 0;
var Ote = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-posinset": null,
"aria-setsize": null,
"aria-selected": "false"
},
relatedConcepts: [],
requireContextRole: ["tablist"],
requiredContextRole: ["tablist"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "sectionhead"], ["roletype", "widget"]]
}, Ste = Ote;
Qd.default = Ste;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js
var _I = f((Zd) => {
"use strict";
Object.defineProperty(Zd, "__esModule", {
value: !0
});
Zd.default = void 0;
var Mte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-colcount": null,
"aria-rowcount": null
},
relatedConcepts: [{
concept: {
name: "table"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["row"], ["row", "rowgroup"]],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Ate = Mte;
Zd.default = Ate;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js
var CI = f((ef) => {
"use strict";
Object.defineProperty(ef, "__esModule", {
value: !0
});
ef.default = void 0;
var Ite = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-level": null,
"aria-multiselectable": null,
"aria-orientation": "horizontal"
},
relatedConcepts: [{
module: "DAISY",
concept: {
name: "guide"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["tab"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite"]]
}, Nte = Ite;
ef.default = Nte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js
var qI = f((tf) => {
"use strict";
Object.defineProperty(tf, "__esModule", {
value: !0
});
tf.default = void 0;
var jte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, $te = jte;
tf.default = $te;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js
var PI = f((rf) => {
"use strict";
Object.defineProperty(rf, "__esModule", {
value: !0
});
rf.default = void 0;
var Lte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "dfn"
},
module: "HTML"
}, {
concept: {
name: "dt"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Dte = Lte;
rf.default = Dte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js
var xI = f((nf) => {
"use strict";
Object.defineProperty(nf, "__esModule", {
value: !0
});
nf.default = void 0;
var Bte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-activedescendant": null,
"aria-autocomplete": null,
"aria-errormessage": null,
"aria-haspopup": null,
"aria-invalid": null,
"aria-multiline": null,
"aria-placeholder": null,
"aria-readonly": null,
"aria-required": null
},
relatedConcepts: [{
concept: {
attributes: [{
constraints: ["undefined"],
name: "type"
}, {
constraints: ["undefined"],
name: "list"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "email"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "tel"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "text"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
attributes: [{
constraints: ["undefined"],
name: "list"
}, {
name: "type",
value: "url"
}],
constraints: ["the list attribute is not set"],
name: "input"
},
module: "HTML"
}, {
concept: {
name: "input"
},
module: "XForms"
}, {
concept: {
name: "textarea"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "input"]]
}, kte = Bte;
nf.default = kte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js
var RI = f((of) => {
"use strict";
Object.defineProperty(of, "__esModule", {
value: !0
});
of.default = void 0;
var Fte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "time"
},
module: "HTML"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Hte = Fte;
of.default = Hte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js
var TI = f((af) => {
"use strict";
Object.defineProperty(af, "__esModule", {
value: !0
});
af.default = void 0;
var Ute = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "status"]]
}, Vte = Ute;
af.default = Vte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js
var OI = f((sf) => {
"use strict";
Object.defineProperty(sf, "__esModule", {
value: !0
});
sf.default = void 0;
var zte = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-orientation": "horizontal"
},
relatedConcepts: [{
concept: {
name: "menubar"
},
module: "ARIA"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "group"]]
}, Wte = zte;
sf.default = Wte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js
var SI = f((lf) => {
"use strict";
Object.defineProperty(lf, "__esModule", {
value: !0
});
lf.default = void 0;
var Gte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Kte = Gte;
lf.default = Kte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js
var MI = f((uf) => {
"use strict";
Object.defineProperty(uf, "__esModule", {
value: !0
});
uf.default = void 0;
var Yte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null,
"aria-multiselectable": null,
"aria-required": null,
"aria-orientation": "vertical"
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["treeitem", "group"], ["treeitem"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "select"], ["roletype", "structure", "section", "group", "select"]]
}, Xte = Yte;
uf.default = Xte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js
var AI = f((cf) => {
"use strict";
Object.defineProperty(cf, "__esModule", {
value: !0
});
cf.default = void 0;
var Jte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["row"], ["row", "rowgroup"]],
requiredProps: {},
superClass: [["roletype", "widget", "composite", "grid"], ["roletype", "structure", "section", "table", "grid"], ["roletype", "widget", "\
composite", "select", "tree"], ["roletype", "structure", "section", "group", "select", "tree"]]
}, Qte = Jte;
cf.default = Qte;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js
var II = f((df) => {
"use strict";
Object.defineProperty(df, "__esModule", {
value: !0
});
df.default = void 0;
var Zte = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-expanded": null,
"aria-haspopup": null
},
relatedConcepts: [],
requireContextRole: ["group", "tree"],
requiredContextRole: ["group", "tree"],
requiredOwnedElements: [],
requiredProps: {
"aria-selected": null
},
superClass: [["roletype", "structure", "section", "listitem"], ["roletype", "widget", "input", "option"]]
}, ere = Zte;
df.default = ere;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js
var NI = f((ff) => {
"use strict";
Object.defineProperty(ff, "__esModule", {
value: !0
});
ff.default = void 0;
var tre = $(i1()), rre = $(a1()), nre = $(s1()), ore = $(l1()), ire = $(u1()), are = $(c1()), sre = $(d1()), lre = $(f1()), ure = $(p1()),
cre = $(m1()), dre = $(h1()), fre = $(b1()), pre = $(y1()), mre = $(g1()), hre = $(v1()), bre = $(E1()), yre = $(w1()), gre = $(_1()), vre = $(
C1()), Ere = $(q1()), wre = $(P1()), _re = $(x1()), Cre = $(R1()), qre = $(T1()), Pre = $(O1()), xre = $(S1()), Rre = $(M1()), Tre = $(A1()),
Ore = $(I1()), Sre = $(N1()), Mre = $(j1()), Are = $($1()), Ire = $(L1()), Nre = $(D1()), jre = $(B1()), $re = $(k1()), Lre = $(F1()), Dre = $(
H1()), Bre = $(U1()), kre = $(V1()), Fre = $(z1()), Hre = $(W1()), Ure = $(G1()), Vre = $(K1()), zre = $(Y1()), Wre = $(X1()), Gre = $(J1()),
Kre = $(Q1()), Yre = $(Z1()), Xre = $(eI()), Jre = $(tI()), Qre = $(rI()), Zre = $(nI()), ene = $(oI()), tne = $(iI()), rne = $(aI()), nne = $(
sI()), one = $(lI()), ine = $(uI()), ane = $(cI()), sne = $(dI()), lne = $(fI()), une = $(pI()), cne = $(mI()), dne = $(hI()), fne = $(bI()),
pne = $(yI()), mne = $(gI()), hne = $(vI()), bne = $(EI()), yne = $(wI()), gne = $(_I()), vne = $(CI()), Ene = $(qI()), wne = $(PI()), _ne = $(
xI()), Cne = $(RI()), qne = $(TI()), Pne = $(OI()), xne = $(SI()), Rne = $(MI()), Tne = $(AI()), One = $(II());
function $(e) {
return e && e.__esModule ? e : { default: e };
}
o($, "_interopRequireDefault");
var Sne = [["alert", tre.default], ["alertdialog", rre.default], ["application", nre.default], ["article", ore.default], ["banner", ire.default],
["blockquote", are.default], ["button", sre.default], ["caption", lre.default], ["cell", ure.default], ["checkbox", cre.default], ["code",
dre.default], ["columnheader", fre.default], ["combobox", pre.default], ["complementary", mre.default], ["contentinfo", hre.default], ["de\
finition", bre.default], ["deletion", yre.default], ["dialog", gre.default], ["directory", vre.default], ["document", Ere.default], ["emphas\
is", wre.default], ["feed", _re.default], ["figure", Cre.default], ["form", qre.default], ["generic", Pre.default], ["grid", xre.default], [
"gridcell", Rre.default], ["group", Tre.default], ["heading", Ore.default], ["img", Sre.default], ["insertion", Mre.default], ["link", Are.
default], ["list", Ire.default], ["listbox", Nre.default], ["listitem", jre.default], ["log", $re.default], ["main", Lre.default], ["mark",
Dre.default], ["marquee", Bre.default], ["math", kre.default], ["menu", Fre.default], ["menubar", Hre.default], ["menuitem", Ure.default],
["menuitemcheckbox", Vre.default], ["menuitemradio", zre.default], ["meter", Wre.default], ["navigation", Gre.default], ["none", Kre.default],
["note", Yre.default], ["option", Xre.default], ["paragraph", Jre.default], ["presentation", Qre.default], ["progressbar", Zre.default], [
"radio", ene.default], ["radiogroup", tne.default], ["region", rne.default], ["row", nne.default], ["rowgroup", one.default], ["rowheader",
ine.default], ["scrollbar", ane.default], ["search", sne.default], ["searchbox", lne.default], ["separator", une.default], ["slider", cne.
default], ["spinbutton", dne.default], ["status", fne.default], ["strong", pne.default], ["subscript", mne.default], ["superscript", hne.default],
["switch", bne.default], ["tab", yne.default], ["table", gne.default], ["tablist", vne.default], ["tabpanel", Ene.default], ["term", wne.default],
["textbox", _ne.default], ["time", Cne.default], ["timer", qne.default], ["toolbar", Pne.default], ["tooltip", xne.default], ["tree", Rne.
default], ["treegrid", Tne.default], ["treeitem", One.default]], Mne = Sne;
ff.default = Mne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js
var jI = f((pf) => {
"use strict";
Object.defineProperty(pf, "__esModule", {
value: !0
});
pf.default = void 0;
var Ane = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "abstract [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Ine = Ane;
pf.default = Ine;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js
var $I = f((mf) => {
"use strict";
Object.defineProperty(mf, "__esModule", {
value: !0
});
mf.default = void 0;
var Nne = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "acknowledgments [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, jne = Nne;
mf.default = jne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js
var LI = f((hf) => {
"use strict";
Object.defineProperty(hf, "__esModule", {
value: !0
});
hf.default = void 0;
var $ne = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "afterword [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Lne = $ne;
hf.default = Lne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js
var DI = f((bf) => {
"use strict";
Object.defineProperty(bf, "__esModule", {
value: !0
});
bf.default = void 0;
var Dne = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "appendix [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Bne = Dne;
bf.default = Bne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js
var BI = f((yf) => {
"use strict";
Object.defineProperty(yf, "__esModule", {
value: !0
});
yf.default = void 0;
var kne = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "referrer [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, Fne = kne;
yf.default = Fne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js
var kI = f((gf) => {
"use strict";
Object.defineProperty(gf, "__esModule", {
value: !0
});
gf.default = void 0;
var Hne = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "EPUB biblioentry [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: ["doc-bibliography"],
requiredContextRole: ["doc-bibliography"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "listitem"]]
}, Une = Hne;
gf.default = Une;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js
var FI = f((vf) => {
"use strict";
Object.defineProperty(vf, "__esModule", {
value: !0
});
vf.default = void 0;
var Vne = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "bibliography [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["doc-biblioentry"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, zne = Vne;
vf.default = zne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js
var HI = f((Ef) => {
"use strict";
Object.defineProperty(Ef, "__esModule", {
value: !0
});
Ef.default = void 0;
var Wne = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "biblioref [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, Gne = Wne;
Ef.default = Gne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js
var UI = f((wf) => {
"use strict";
Object.defineProperty(wf, "__esModule", {
value: !0
});
wf.default = void 0;
var Kne = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "chapter [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Yne = Kne;
wf.default = Yne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js
var VI = f((_f) => {
"use strict";
Object.defineProperty(_f, "__esModule", {
value: !0
});
_f.default = void 0;
var Xne = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "colophon [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Jne = Xne;
_f.default = Jne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js
var zI = f((Cf) => {
"use strict";
Object.defineProperty(Cf, "__esModule", {
value: !0
});
Cf.default = void 0;
var Qne = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "conclusion [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Zne = Qne;
Cf.default = Zne;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js
var WI = f((qf) => {
"use strict";
Object.defineProperty(qf, "__esModule", {
value: !0
});
qf.default = void 0;
var eoe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "cover [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "img"]]
}, toe = eoe;
qf.default = toe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js
var GI = f((Pf) => {
"use strict";
Object.defineProperty(Pf, "__esModule", {
value: !0
});
Pf.default = void 0;
var roe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "credit [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, noe = roe;
Pf.default = noe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js
var KI = f((xf) => {
"use strict";
Object.defineProperty(xf, "__esModule", {
value: !0
});
xf.default = void 0;
var ooe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "credits [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, ioe = ooe;
xf.default = ioe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js
var YI = f((Rf) => {
"use strict";
Object.defineProperty(Rf, "__esModule", {
value: !0
});
Rf.default = void 0;
var aoe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "dedication [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, soe = aoe;
Rf.default = soe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js
var XI = f((Tf) => {
"use strict";
Object.defineProperty(Tf, "__esModule", {
value: !0
});
Tf.default = void 0;
var loe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "rearnote [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: ["doc-endnotes"],
requiredContextRole: ["doc-endnotes"],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "listitem"]]
}, uoe = loe;
Tf.default = uoe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js
var JI = f((Of) => {
"use strict";
Object.defineProperty(Of, "__esModule", {
value: !0
});
Of.default = void 0;
var coe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "rearnotes [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["doc-endnote"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, doe = coe;
Of.default = doe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js
var QI = f((Sf) => {
"use strict";
Object.defineProperty(Sf, "__esModule", {
value: !0
});
Sf.default = void 0;
var foe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "epigraph [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, poe = foe;
Sf.default = poe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js
var ZI = f((Mf) => {
"use strict";
Object.defineProperty(Mf, "__esModule", {
value: !0
});
Mf.default = void 0;
var moe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "epilogue [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, hoe = moe;
Mf.default = hoe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js
var eN = f((Af) => {
"use strict";
Object.defineProperty(Af, "__esModule", {
value: !0
});
Af.default = void 0;
var boe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "errata [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, yoe = boe;
Af.default = yoe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js
var tN = f((If) => {
"use strict";
Object.defineProperty(If, "__esModule", {
value: !0
});
If.default = void 0;
var goe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, voe = goe;
If.default = voe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js
var rN = f((Nf) => {
"use strict";
Object.defineProperty(Nf, "__esModule", {
value: !0
});
Nf.default = void 0;
var Eoe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "footnote [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, woe = Eoe;
Nf.default = woe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js
var nN = f((jf) => {
"use strict";
Object.defineProperty(jf, "__esModule", {
value: !0
});
jf.default = void 0;
var _oe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "foreword [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Coe = _oe;
jf.default = Coe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js
var oN = f(($f) => {
"use strict";
Object.defineProperty($f, "__esModule", {
value: !0
});
$f.default = void 0;
var qoe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "glossary [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [["definition"], ["term"]],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Poe = qoe;
$f.default = Poe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js
var iN = f((Lf) => {
"use strict";
Object.defineProperty(Lf, "__esModule", {
value: !0
});
Lf.default = void 0;
var xoe = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "glossref [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, Roe = xoe;
Lf.default = Roe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js
var aN = f((Df) => {
"use strict";
Object.defineProperty(Df, "__esModule", {
value: !0
});
Df.default = void 0;
var Toe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "index [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
}, Ooe = Toe;
Df.default = Ooe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js
var sN = f((Bf) => {
"use strict";
Object.defineProperty(Bf, "__esModule", {
value: !0
});
Bf.default = void 0;
var Soe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "introduction [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Moe = Soe;
Bf.default = Moe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js
var lN = f((kf) => {
"use strict";
Object.defineProperty(kf, "__esModule", {
value: !0
});
kf.default = void 0;
var Aoe = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "noteref [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "widget", "command", "link"]]
}, Ioe = Aoe;
kf.default = Ioe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js
var uN = f((Ff) => {
"use strict";
Object.defineProperty(Ff, "__esModule", {
value: !0
});
Ff.default = void 0;
var Noe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "notice [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "note"]]
}, joe = Noe;
Ff.default = joe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js
var cN = f((Hf) => {
"use strict";
Object.defineProperty(Hf, "__esModule", {
value: !0
});
Hf.default = void 0;
var $oe = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "pagebreak [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "separator"]]
}, Loe = $oe;
Hf.default = Loe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js
var dN = f((Uf) => {
"use strict";
Object.defineProperty(Uf, "__esModule", {
value: !0
});
Uf.default = void 0;
var Doe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "page-list [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
}, Boe = Doe;
Uf.default = Boe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js
var fN = f((Vf) => {
"use strict";
Object.defineProperty(Vf, "__esModule", {
value: !0
});
Vf.default = void 0;
var koe = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "part [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Foe = koe;
Vf.default = Foe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js
var pN = f((zf) => {
"use strict";
Object.defineProperty(zf, "__esModule", {
value: !0
});
zf.default = void 0;
var Hoe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "preface [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, Uoe = Hoe;
zf.default = Uoe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js
var mN = f((Wf) => {
"use strict";
Object.defineProperty(Wf, "__esModule", {
value: !0
});
Wf.default = void 0;
var Voe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "prologue [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark"]]
}, zoe = Voe;
Wf.default = zoe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js
var hN = f((Gf) => {
"use strict";
Object.defineProperty(Gf, "__esModule", {
value: !0
});
Gf.default = void 0;
var Woe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {},
relatedConcepts: [{
concept: {
name: "pullquote [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["none"]]
}, Goe = Woe;
Gf.default = Goe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js
var bN = f((Kf) => {
"use strict";
Object.defineProperty(Kf, "__esModule", {
value: !0
});
Kf.default = void 0;
var Koe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "qna [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section"]]
}, Yoe = Koe;
Kf.default = Yoe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js
var yN = f((Yf) => {
"use strict";
Object.defineProperty(Yf, "__esModule", {
value: !0
});
Yf.default = void 0;
var Xoe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "subtitle [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "sectionhead"]]
}, Joe = Xoe;
Yf.default = Joe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js
var gN = f((Xf) => {
"use strict";
Object.defineProperty(Xf, "__esModule", {
value: !0
});
Xf.default = void 0;
var Qoe = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "help [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "note"]]
}, Zoe = Qoe;
Xf.default = Zoe;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js
var vN = f((Jf) => {
"use strict";
Object.defineProperty(Jf, "__esModule", {
value: !0
});
Jf.default = void 0;
var eie = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
concept: {
name: "toc [EPUB-SSV]"
},
module: "EPUB"
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "landmark", "navigation"]]
}, tie = eie;
Jf.default = tie;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js
var EN = f((Qf) => {
"use strict";
Object.defineProperty(Qf, "__esModule", {
value: !0
});
Qf.default = void 0;
var rie = J(jI()), nie = J($I()), oie = J(LI()), iie = J(DI()), aie = J(BI()), sie = J(kI()), lie = J(FI()), uie = J(HI()), cie = J(UI()),
die = J(VI()), fie = J(zI()), pie = J(WI()), mie = J(GI()), hie = J(KI()), bie = J(YI()), yie = J(XI()), gie = J(JI()), vie = J(QI()), Eie = J(
ZI()), wie = J(eN()), _ie = J(tN()), Cie = J(rN()), qie = J(nN()), Pie = J(oN()), xie = J(iN()), Rie = J(aN()), Tie = J(sN()), Oie = J(lN()),
Sie = J(uN()), Mie = J(cN()), Aie = J(dN()), Iie = J(fN()), Nie = J(pN()), jie = J(mN()), $ie = J(hN()), Lie = J(bN()), Die = J(yN()), Bie = J(
gN()), kie = J(vN());
function J(e) {
return e && e.__esModule ? e : { default: e };
}
o(J, "_interopRequireDefault");
var Fie = [["doc-abstract", rie.default], ["doc-acknowledgments", nie.default], ["doc-afterword", oie.default], ["doc-appendix", iie.default],
["doc-backlink", aie.default], ["doc-biblioentry", sie.default], ["doc-bibliography", lie.default], ["doc-biblioref", uie.default], ["doc-\
chapter", cie.default], ["doc-colophon", die.default], ["doc-conclusion", fie.default], ["doc-cover", pie.default], ["doc-credit", mie.default],
["doc-credits", hie.default], ["doc-dedication", bie.default], ["doc-endnote", yie.default], ["doc-endnotes", gie.default], ["doc-epigraph",
vie.default], ["doc-epilogue", Eie.default], ["doc-errata", wie.default], ["doc-example", _ie.default], ["doc-footnote", Cie.default], ["d\
oc-foreword", qie.default], ["doc-glossary", Pie.default], ["doc-glossref", xie.default], ["doc-index", Rie.default], ["doc-introduction", Tie.
default], ["doc-noteref", Oie.default], ["doc-notice", Sie.default], ["doc-pagebreak", Mie.default], ["doc-pagelist", Aie.default], ["doc-\
part", Iie.default], ["doc-preface", Nie.default], ["doc-prologue", jie.default], ["doc-pullquote", $ie.default], ["doc-qna", Lie.default], [
"doc-subtitle", Die.default], ["doc-tip", Bie.default], ["doc-toc", kie.default]], Hie = Fie;
Qf.default = Hie;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js
var wN = f((Zf) => {
"use strict";
Object.defineProperty(Zf, "__esModule", {
value: !0
});
Zf.default = void 0;
var Uie = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
module: "GRAPHICS",
concept: {
name: "graphics-object"
}
}, {
module: "ARIA",
concept: {
name: "img"
}
}, {
module: "ARIA",
concept: {
name: "article"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "document"]]
}, Vie = Uie;
Zf.default = Vie;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js
var _N = f((ep) => {
"use strict";
Object.defineProperty(ep, "__esModule", {
value: !0
});
ep.default = void 0;
var zie = {
abstract: !1,
accessibleNameRequired: !1,
baseConcepts: [],
childrenPresentational: !1,
nameFrom: ["author", "contents"],
prohibitedProps: [],
props: {
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [{
module: "GRAPHICS",
concept: {
name: "graphics-document"
}
}, {
module: "ARIA",
concept: {
name: "group"
}
}, {
module: "ARIA",
concept: {
name: "img"
}
}, {
module: "GRAPHICS",
concept: {
name: "graphics-symbol"
}
}],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "group"]]
}, Wie = zie;
ep.default = Wie;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js
var CN = f((tp) => {
"use strict";
Object.defineProperty(tp, "__esModule", {
value: !0
});
tp.default = void 0;
var Gie = {
abstract: !1,
accessibleNameRequired: !0,
baseConcepts: [],
childrenPresentational: !0,
nameFrom: ["author"],
prohibitedProps: [],
props: {
"aria-disabled": null,
"aria-errormessage": null,
"aria-expanded": null,
"aria-haspopup": null,
"aria-invalid": null
},
relatedConcepts: [],
requireContextRole: [],
requiredContextRole: [],
requiredOwnedElements: [],
requiredProps: {},
superClass: [["roletype", "structure", "section", "img"]]
}, Kie = Gie;
tp.default = Kie;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js
var qN = f((rp) => {
"use strict";
Object.defineProperty(rp, "__esModule", {
value: !0
});
rp.default = void 0;
var Yie = ig(wN()), Xie = ig(_N()), Jie = ig(CN());
function ig(e) {
return e && e.__esModule ? e : { default: e };
}
o(ig, "_interopRequireDefault");
var Qie = [["graphics-document", Yie.default], ["graphics-object", Xie.default], ["graphics-symbol", Jie.default]], Zie = Qie;
rp.default = Zie;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js
var op = f((np) => {
"use strict";
Object.defineProperty(np, "__esModule", {
value: !0
});
np.default = void 0;
var eae = hi(o1()), tae = hi(NI()), rae = hi(EN()), nae = hi(qN()), oae = hi(kn());
function hi(e) {
return e && e.__esModule ? e : { default: e };
}
o(hi, "_interopRequireDefault");
function iae(e, t, r) {
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
}
o(iae, "_defineProperty");
function ag(e, t) {
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (!r) {
if (Array.isArray(e) || (r = xN(e)) || t && e && typeof e.length == "number") {
r && (e = r);
var n = 0, i = /* @__PURE__ */ o(function() {
}, "F");
return { s: i, n: /* @__PURE__ */ o(function() {
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
}, "n"), e: /* @__PURE__ */ o(function(u) {
throw u;
}, "e"), f: i };
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var a = !0, s = !1, l;
return { s: /* @__PURE__ */ o(function() {
r = r.call(e);
}, "s"), n: /* @__PURE__ */ o(function() {
var u = r.next();
return a = u.done, u;
}, "n"), e: /* @__PURE__ */ o(function(u) {
s = !0, l = u;
}, "e"), f: /* @__PURE__ */ o(function() {
try {
!a && r.return != null && r.return();
} finally {
if (s) throw l;
}
}, "f") };
}
o(ag, "_createForOfIteratorHelper");
function mi(e, t) {
return lae(e) || sae(e, t) || xN(e, t) || aae();
}
o(mi, "_slicedToArray");
function aae() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(aae, "_nonIterableRest");
function xN(e, t) {
if (e) {
if (typeof e == "string") return PN(e, t);
var r = Object.prototype.toString.call(e).slice(8, -1);
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return PN(e, t);
}
}
o(xN, "_unsupportedIterableToArray");
function PN(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++)
n[r] = e[r];
return n;
}
o(PN, "_arrayLikeToArray");
function sae(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n = [], i = !0, a = !1, s, l;
try {
for (r = r.call(e); !(i = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); i = !0)
;
} catch (c) {
a = !0, l = c;
} finally {
try {
!i && r.return != null && r.return();
} finally {
if (a) throw l;
}
}
return n;
}
}
o(sae, "_iterableToArrayLimit");
function lae(e) {
if (Array.isArray(e)) return e;
}
o(lae, "_arrayWithHoles");
var Cr = [].concat(eae.default, tae.default, rae.default, nae.default);
Cr.forEach(function(e) {
var t = mi(e, 2), r = t[1], n = ag(r.superClass), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = i.value, s = ag(a), l;
try {
var c = /* @__PURE__ */ o(function() {
var d = l.value, p = Cr.find(function(w) {
var g = mi(w, 1), q = g[0];
return q === d;
});
if (p)
for (var b = p[1], m = 0, y = Object.keys(b.props); m < y.length; m++) {
var h = y[m];
Object.prototype.hasOwnProperty.call(r.props, h) || Object.assign(r.props, iae({}, h, b.props[h]));
}
}, "_loop");
for (s.s(); !(l = s.n()).done; )
c();
} catch (u) {
s.e(u);
} finally {
s.f();
}
}
} catch (u) {
n.e(u);
} finally {
n.f();
}
});
var sg = {
entries: /* @__PURE__ */ o(function() {
return Cr;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = ag(Cr), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = mi(i.value, 2), s = a[0], l = a[1];
t.call(r, l, s, Cr);
}
} catch (c) {
n.e(c);
} finally {
n.f();
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = Cr.find(function(n) {
return n[0] === t;
});
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!sg.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return Cr.map(function(t) {
var r = mi(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return Cr.map(function(t) {
var r = mi(t, 2), n = r[1];
return n;
});
}, "values")
}, uae = (0, oae.default)(sg, sg.entries());
np.default = uae;
});
// ../node_modules/dequal/lite/index.mjs
var TN = {};
ro(TN, {
dequal: () => lg
});
function lg(e, t) {
var r, n;
if (e === t) return !0;
if (e && t && (r = e.constructor) === t.constructor) {
if (r === Date) return e.getTime() === t.getTime();
if (r === RegExp) return e.toString() === t.toString();
if (r === Array) {
if ((n = e.length) === t.length)
for (; n-- && lg(e[n], t[n]); ) ;
return n === -1;
}
if (!r || typeof e == "object") {
n = 0;
for (r in e)
if (RN.call(e, r) && ++n && !RN.call(t, r) || !(r in t) || !lg(e[r], t[r])) return !1;
return Object.keys(t).length === n;
}
}
return e !== e && t !== t;
}
var RN, ON = Re(() => {
RN = Object.prototype.hasOwnProperty;
o(lg, "dequal");
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js
var $N = f((up) => {
"use strict";
Object.defineProperty(up, "__esModule", {
value: !0
});
up.default = void 0;
var AN = (ON(), Wt(TN)), cae = NN(kn()), IN = NN(op());
function NN(e) {
return e && e.__esModule ? e : { default: e };
}
o(NN, "_interopRequireDefault");
function ug(e, t) {
return pae(e) || fae(e, t) || jN(e, t) || dae();
}
o(ug, "_slicedToArray");
function dae() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(dae, "_nonIterableRest");
function fae(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n = [], i = !0, a = !1, s, l;
try {
for (r = r.call(e); !(i = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); i = !0)
;
} catch (c) {
a = !0, l = c;
} finally {
try {
!i && r.return != null && r.return();
} finally {
if (a) throw l;
}
}
return n;
}
}
o(fae, "_iterableToArrayLimit");
function pae(e) {
if (Array.isArray(e)) return e;
}
o(pae, "_arrayWithHoles");
function mae(e, t) {
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (!r) {
if (Array.isArray(e) || (r = jN(e)) || t && e && typeof e.length == "number") {
r && (e = r);
var n = 0, i = /* @__PURE__ */ o(function() {
}, "F");
return { s: i, n: /* @__PURE__ */ o(function() {
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
}, "n"), e: /* @__PURE__ */ o(function(u) {
throw u;
}, "e"), f: i };
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var a = !0, s = !1, l;
return { s: /* @__PURE__ */ o(function() {
r = r.call(e);
}, "s"), n: /* @__PURE__ */ o(function() {
var u = r.next();
return a = u.done, u;
}, "n"), e: /* @__PURE__ */ o(function(u) {
s = !0, l = u;
}, "e"), f: /* @__PURE__ */ o(function() {
try {
!a && r.return != null && r.return();
} finally {
if (s) throw l;
}
}, "f") };
}
o(mae, "_createForOfIteratorHelper");
function jN(e, t) {
if (e) {
if (typeof e == "string") return SN(e, t);
var r = Object.prototype.toString.call(e).slice(8, -1);
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return SN(e, t);
}
}
o(jN, "_unsupportedIterableToArray");
function SN(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++)
n[r] = e[r];
return n;
}
o(SN, "_arrayLikeToArray");
var qr = [], MN = IN.default.keys();
for (ip = 0; ip < MN.length; ip++)
if (ap = MN[ip], sp = IN.default.get(ap), sp)
for (cg = [].concat(sp.baseConcepts, sp.relatedConcepts), lp = 0; lp < cg.length; lp++)
dg = cg[lp], dg.module === "HTML" && function() {
var e = dg.concept;
if (e) {
var t = qr.find(function(a) {
return (0, AN.dequal)(a, e);
}), r;
t ? r = t[1] : r = [];
for (var n = !0, i = 0; i < r.length; i++)
if (r[i] === ap) {
n = !1;
break;
}
n && r.push(ap), qr.push([e, r]);
}
}();
var ap, sp, cg, dg, lp, ip, fg = {
entries: /* @__PURE__ */ o(function() {
return qr;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = mae(qr), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = ug(i.value, 2), s = a[0], l = a[1];
t.call(r, l, s, qr);
}
} catch (c) {
n.e(c);
} finally {
n.f();
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = qr.find(function(n) {
return t.name === n[0].name && (0, AN.dequal)(t.attributes, n[0].attributes);
});
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!fg.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return qr.map(function(t) {
var r = ug(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return qr.map(function(t) {
var r = ug(t, 2), n = r[1];
return n;
});
}, "values")
}, hae = (0, cae.default)(fg, fg.entries());
up.default = hae;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js
var HN = f((mp) => {
"use strict";
Object.defineProperty(mp, "__esModule", {
value: !0
});
mp.default = void 0;
var bae = kN(kn()), BN = kN(op());
function kN(e) {
return e && e.__esModule ? e : { default: e };
}
o(kN, "_interopRequireDefault");
function pg(e, t) {
return vae(e) || gae(e, t) || FN(e, t) || yae();
}
o(pg, "_slicedToArray");
function yae() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
o(yae, "_nonIterableRest");
function gae(e, t) {
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (r != null) {
var n = [], i = !0, a = !1, s, l;
try {
for (r = r.call(e); !(i = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); i = !0)
;
} catch (c) {
a = !0, l = c;
} finally {
try {
!i && r.return != null && r.return();
} finally {
if (a) throw l;
}
}
return n;
}
}
o(gae, "_iterableToArrayLimit");
function vae(e) {
if (Array.isArray(e)) return e;
}
o(vae, "_arrayWithHoles");
function Eae(e, t) {
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (!r) {
if (Array.isArray(e) || (r = FN(e)) || t && e && typeof e.length == "number") {
r && (e = r);
var n = 0, i = /* @__PURE__ */ o(function() {
}, "F");
return { s: i, n: /* @__PURE__ */ o(function() {
return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
}, "n"), e: /* @__PURE__ */ o(function(u) {
throw u;
}, "e"), f: i };
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
var a = !0, s = !1, l;
return { s: /* @__PURE__ */ o(function() {
r = r.call(e);
}, "s"), n: /* @__PURE__ */ o(function() {
var u = r.next();
return a = u.done, u;
}, "n"), e: /* @__PURE__ */ o(function(u) {
s = !0, l = u;
}, "e"), f: /* @__PURE__ */ o(function() {
try {
!a && r.return != null && r.return();
} finally {
if (s) throw l;
}
}, "f") };
}
o(Eae, "_createForOfIteratorHelper");
function FN(e, t) {
if (e) {
if (typeof e == "string") return LN(e, t);
var r = Object.prototype.toString.call(e).slice(8, -1);
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return LN(e, t);
}
}
o(FN, "_unsupportedIterableToArray");
function LN(e, t) {
(t == null || t > e.length) && (t = e.length);
for (var r = 0, n = new Array(t); r < t; r++)
n[r] = e[r];
return n;
}
o(LN, "_arrayLikeToArray");
var Xr = [], DN = BN.default.keys();
for (cp = 0; cp < DN.length; cp++)
if (mg = DN[cp], dp = BN.default.get(mg), fp = [], dp) {
for (hg = [].concat(dp.baseConcepts, dp.relatedConcepts), pp = 0; pp < hg.length; pp++)
bg = hg[pp], bg.module === "HTML" && (yg = bg.concept, yg != null && fp.push(yg));
fp.length > 0 && Xr.push([mg, fp]);
}
var mg, dp, fp, hg, bg, yg, pp, cp, gg = {
entries: /* @__PURE__ */ o(function() {
return Xr;
}, "entries"),
forEach: /* @__PURE__ */ o(function(t) {
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = Eae(Xr), i;
try {
for (n.s(); !(i = n.n()).done; ) {
var a = pg(i.value, 2), s = a[0], l = a[1];
t.call(r, l, s, Xr);
}
} catch (c) {
n.e(c);
} finally {
n.f();
}
}, "forEach"),
get: /* @__PURE__ */ o(function(t) {
var r = Xr.find(function(n) {
return n[0] === t;
});
return r && r[1];
}, "get"),
has: /* @__PURE__ */ o(function(t) {
return !!gg.get(t);
}, "has"),
keys: /* @__PURE__ */ o(function() {
return Xr.map(function(t) {
var r = pg(t, 1), n = r[0];
return n;
});
}, "keys"),
values: /* @__PURE__ */ o(function() {
return Xr.map(function(t) {
var r = pg(t, 2), n = r[1];
return n;
});
}, "values")
}, wae = (0, bae.default)(gg, gg.entries());
mp.default = wae;
});
// ../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js
var vg = f((wt) => {
"use strict";
Object.defineProperty(wt, "__esModule", {
value: !0
});
wt.roles = wt.roleElements = wt.elementRoles = wt.dom = wt.aria = void 0;
var _ae = bi(HA()), Cae = bi(zA()), qae = bi(op()), Pae = bi($N()), xae = bi(HN());
function bi(e) {
return e && e.__esModule ? e : { default: e };
}
o(bi, "_interopRequireDefault");
var Rae = _ae.default;
wt.aria = Rae;
var Tae = Cae.default;
wt.dom = Tae;
var Oae = qae.default;
wt.roles = Oae;
var Sae = Pae.default;
wt.elementRoles = Sae;
var Mae = xae.default;
wt.roleElements = Mae;
});
// ../node_modules/@testing-library/dom/dist/role-helpers.js
var hp = f((Oe) => {
"use strict";
Object.defineProperty(Oe, "__esModule", {
value: !0
});
Oe.computeAriaBusy = Dae;
Oe.computeAriaChecked = Bae;
Oe.computeAriaCurrent = Fae;
Oe.computeAriaExpanded = Hae;
Oe.computeAriaPressed = kae;
Oe.computeAriaSelected = Lae;
Oe.computeAriaValueMax = zae;
Oe.computeAriaValueMin = Wae;
Oe.computeAriaValueNow = Vae;
Oe.computeAriaValueText = Gae;
Oe.computeHeadingLevel = Uae;
Oe.getImplicitAriaRoles = GN;
Oe.getRoles = KN;
Oe.isInaccessible = WN;
Oe.isSubtreeInaccessible = zN;
Oe.logRoles = void 0;
Oe.prettyRoles = YN;
var Aae = vg(), UN = (vc(), Wt(gc)), Iae = ai(), VN = Dt(), Nae = jae(Aae.elementRoles);
function zN(e) {
return e.hidden === !0 || e.getAttribute("aria-hidden") === "true" || e.ownerDocument.defaultView.getComputedStyle(e).display === "none";
}
o(zN, "isSubtreeInaccessible");
function WN(e, t = {}) {
let {
isSubtreeInaccessible: r = zN
} = t;
if (e.ownerDocument.defaultView.getComputedStyle(e).visibility === "hidden")
return !0;
let i = e;
for (; i; ) {
if (r(i))
return !0;
i = i.parentElement;
}
return !1;
}
o(WN, "isInaccessible");
function GN(e) {
for (let {
match: t,
roles: r
} of Nae)
if (t(e))
return [...r];
return [];
}
o(GN, "getImplicitAriaRoles");
function jae(e) {
function t({
name: s,
attributes: l
}) {
return `${s}${l.map(({
name: c,
value: u,
constraints: d = []
}) => {
let p = d.indexOf("undefined") !== -1, b = d.indexOf("set") !== -1;
return typeof u < "u" ? `[${c}="${u}"]` : p ? `:not([${c}])` : b ? `[${c}]:not([${c}=""])` : `[${c}]`;
}).join("")}`;
}
o(t, "makeElementSelector");
function r({
attributes: s = []
}) {
return s.length;
}
o(r, "getSelectorSpecificity");
function n({
specificity: s
}, {
specificity: l
}) {
return l - s;
}
o(n, "bySelectorSpecificity");
function i(s) {
let {
attributes: l = []
} = s, c = l.findIndex((d) => d.value && d.name === "type" && d.value === "text");
c >= 0 && (l = [...l.slice(0, c), ...l.slice(c + 1)]);
let u = t({
...s,
attributes: l
});
return (d) => c >= 0 && d.type !== "text" ? !1 : d.matches(u);
}
o(i, "match");
let a = [];
for (let [s, l] of e.entries())
a = [...a, {
match: i(s),
roles: Array.from(l),
specificity: r(s)
}];
return a.sort(n);
}
o(jae, "buildElementRoleList");
function KN(e, {
hidden: t = !1
} = {}) {
function r(n) {
return [n, ...Array.from(n.children).reduce((i, a) => [...i, ...r(a)], [])];
}
return o(r, "flattenDOM"), r(e).filter((n) => t === !1 ? WN(n) === !1 : !0).reduce((n, i) => {
let a = [];
return i.hasAttribute("role") ? a = i.getAttribute("role").split(" ").slice(0, 1) : a = GN(i), a.reduce((s, l) => Array.isArray(s[l]) ?
{
...s,
[l]: [...s[l], i]
} : {
...s,
[l]: [i]
}, n);
}, {});
}
o(KN, "getRoles");
function YN(e, {
hidden: t,
includeDescription: r
}) {
let n = KN(e, {
hidden: t
});
return Object.entries(n).filter(([i]) => i !== "generic").map(([i, a]) => {
let s = "-".repeat(50), l = a.map((c) => {
let u = `Name "${(0, UN.computeAccessibleName)(c, {
computedStyleSupportsPseudoElements: (0, VN.getConfig)().computedStyleSupportsPseudoElements
})}":
`, d = (0, Iae.prettyDOM)(c.cloneNode(!1));
if (r) {
let p = `Description "${(0, UN.computeAccessibleDescription)(c, {
computedStyleSupportsPseudoElements: (0, VN.getConfig)().computedStyleSupportsPseudoElements
})}":
`;
return `${u}${p}${d}`;
}
return `${u}${d}`;
}).join(`
`);
return `${i}:
${l}
${s}`;
}).join(`
`);
}
o(YN, "prettyRoles");
var $ae = /* @__PURE__ */ o((e, {
hidden: t = !1
} = {}) => console.log(YN(e, {
hidden: t
})), "logRoles");
Oe.logRoles = $ae;
function Lae(e) {
return e.tagName === "OPTION" ? e.selected : yi(e, "aria-selected");
}
o(Lae, "computeAriaSelected");
function Dae(e) {
return e.getAttribute("aria-busy") === "true";
}
o(Dae, "computeAriaBusy");
function Bae(e) {
if (!("indeterminate" in e && e.indeterminate))
return "checked" in e ? e.checked : yi(e, "aria-checked");
}
o(Bae, "computeAriaChecked");
function kae(e) {
return yi(e, "aria-pressed");
}
o(kae, "computeAriaPressed");
function Fae(e) {
return yi(e, "aria-current") ?? e.getAttribute("aria-current") ?? !1;
}
o(Fae, "computeAriaCurrent");
function Hae(e) {
return yi(e, "aria-expanded");
}
o(Hae, "computeAriaExpanded");
function yi(e, t) {
let r = e.getAttribute(t);
if (r === "true")
return !0;
if (r === "false")
return !1;
}
o(yi, "checkBooleanAttribute");
function Uae(e) {
let t = {
H1: 1,
H2: 2,
H3: 3,
H4: 4,
H5: 5,
H6: 6
};
return e.getAttribute("aria-level") && Number(e.getAttribute("aria-level")) || t[e.tagName];
}
o(Uae, "computeHeadingLevel");
function Vae(e) {
let t = e.getAttribute("aria-valuenow");
return t === null ? void 0 : +t;
}
o(Vae, "computeAriaValueNow");
function zae(e) {
let t = e.getAttribute("aria-valuemax");
return t === null ? void 0 : +t;
}
o(zae, "computeAriaValueMax");
function Wae(e) {
let t = e.getAttribute("aria-valuemin");
return t === null ? void 0 : +t;
}
o(Wae, "computeAriaValueMin");
function Gae(e) {
let t = e.getAttribute("aria-valuetext");
return t === null ? void 0 : t;
}
o(Gae, "computeAriaValueText");
});
// ../node_modules/@testing-library/dom/dist/suggestions.js
var _g = f((wg) => {
"use strict";
Object.defineProperty(wg, "__esModule", {
value: !0
});
wg.getSuggestedQuery = Zae;
var Kae = (vc(), Wt(gc)), Yae = ui(), Xae = mc(), Eg = Dt(), QN = hp(), Jae = Yy(), XN = (0, Yae.getDefaultNormalizer)();
function Qae(e) {
return e.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&");
}
o(Qae, "escapeRegExp");
function JN(e) {
return new RegExp(Qae(e.toLowerCase()), "i");
}
o(JN, "getRegExpMatcher");
function Pr(e, t, r, {
variant: n,
name: i
}) {
let a = "", s = {}, l = [["Role", "TestId"].includes(e) ? r : JN(r)];
i && (s.name = JN(i)), e === "Role" && (0, QN.isInaccessible)(t) && (s.hidden = !0, a = `Element is inaccessible. This means that the el\
ement and all its children are invisible to screen readers.
If you are using the aria-hidden prop, make sure this is the right choice for your case.
`), Object.keys(s).length > 0 && l.push(s);
let c = `${n}By${e}`;
return {
queryName: e,
queryMethod: c,
queryArgs: l,
variant: n,
warning: a,
toString() {
a && console.warn(a);
let [u, d] = l;
return u = typeof u == "string" ? `'${u}'` : u, d = d ? `, { ${Object.entries(d).map(([p, b]) => `${p}: ${b}`).join(", ")} }` : "", `${c}\
(${u}${d})`;
}
};
}
o(Pr, "makeSuggestion");
function xr(e, t, r) {
return r && (!t || t.toLowerCase() === e.toLowerCase());
}
o(xr, "canSuggest");
function Zae(e, t = "get", r) {
if (e.matches((0, Eg.getConfig)().defaultIgnore))
return;
let n = e.getAttribute("role") ?? (0, QN.getImplicitAriaRoles)(e)?.[0];
if (n !== "generic" && xr("Role", r, n))
return Pr("Role", e, n, {
variant: t,
name: (0, Kae.computeAccessibleName)(e, {
computedStyleSupportsPseudoElements: (0, Eg.getConfig)().computedStyleSupportsPseudoElements
})
});
let i = (0, Jae.getLabels)(document, e).map((d) => d.content).join(" ");
if (xr("LabelText", r, i))
return Pr("LabelText", e, i, {
variant: t
});
let a = e.getAttribute("placeholder");
if (xr("PlaceholderText", r, a))
return Pr("PlaceholderText", e, a, {
variant: t
});
let s = XN((0, Xae.getNodeText)(e));
if (xr("Text", r, s))
return Pr("Text", e, s, {
variant: t
});
if (xr("DisplayValue", r, e.value))
return Pr("DisplayValue", e, XN(e.value), {
variant: t
});
let l = e.getAttribute("alt");
if (xr("AltText", r, l))
return Pr("AltText", e, l, {
variant: t
});
let c = e.getAttribute("title");
if (xr("Title", r, c))
return Pr("Title", e, c, {
variant: t
});
let u = e.getAttribute((0, Eg.getConfig)().testIdAttribute);
if (xr("TestId", r, u))
return Pr("TestId", e, u, {
variant: t
});
}
o(Zae, "getSuggestedQuery");
});
// ../node_modules/@testing-library/dom/dist/wait-for.js
var yp = f((Cg) => {
"use strict";
Object.defineProperty(Cg, "__esModule", {
value: !0
});
Cg.waitFor = tse;
var Un = Ge(), Vn = Dt();
function bp(e, t) {
e.stack = t.stack.replace(t.message, e.message);
}
o(bp, "copyStackTrace");
function ese(e, {
container: t = (0, Un.getDocument)(),
timeout: r = (0, Vn.getConfig)().asyncUtilTimeout,
showOriginalStackTrace: n = (0, Vn.getConfig)().showOriginalStackTrace,
stackTraceError: i,
interval: a = 50,
onTimeout: s = /* @__PURE__ */ o((c) => (Object.defineProperty(c, "message", {
value: (0, Vn.getConfig)().getElementError(c.message, t).message
}), c), "onTimeout"),
mutationObserverOptions: l = {
subtree: !0,
childList: !0,
attributes: !0,
characterData: !0
}
}) {
if (typeof e != "function")
throw new TypeError("Received `callback` arg must be a function");
return new Promise(async (c, u) => {
let d, p, b, m = !1, y = "idle", h = setTimeout(_, r), w = (0, Un.jestFakeTimersAreEnabled)();
if (w) {
let {
unstable_advanceTimersWrapper: C
} = (0, Vn.getConfig)();
for (P(); !m; ) {
if (!(0, Un.jestFakeTimersAreEnabled)()) {
let O = new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in ver\
y strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please \
go to https://github.com/testing-library/dom-testing-library/issues/830");
n || bp(O, i), u(O);
return;
}
if (await C(async () => {
jest.advanceTimersByTime(a);
}), m)
break;
P();
}
} else {
try {
(0, Un.checkContainerType)(t);
} catch (O) {
u(O);
return;
}
p = setInterval(q, a);
let {
MutationObserver: C
} = (0, Un.getWindowFromNode)(t);
b = new C(q), b.observe(t, l), P();
}
function g(C, O) {
m = !0, clearTimeout(h), w || (clearInterval(p), b.disconnect()), C ? u(C) : c(O);
}
o(g, "onDone");
function q() {
if ((0, Un.jestFakeTimersAreEnabled)()) {
let C = new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very \
strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go\
to https://github.com/testing-library/dom-testing-library/issues/830");
return n || bp(C, i), u(C);
} else
return P();
}
o(q, "checkRealTimersCallback");
function P() {
if (y !== "pending")
try {
let C = (0, Vn.runWithExpensiveErrorDiagnosticsDisabled)(e);
typeof C?.then == "function" ? (y = "pending", C.then((O) => {
y = "resolved", g(null, O);
}, (O) => {
y = "rejected", d = O;
})) : g(null, C);
} catch (C) {
d = C;
}
}
o(P, "checkCallback");
function _() {
let C;
d ? (C = d, !n && C.name === "TestingLibraryElementError" && bp(C, i)) : (C = new Error("Timed out in waitFor."), n || bp(C, i)), g(
s(C), null);
}
o(_, "handleTimeout");
});
}
o(ese, "waitFor");
function tse(e, t) {
let r = new Error("STACK_TRACE_MESSAGE");
return (0, Vn.getConfig)().asyncWrapper(() => ese(e, {
stackTraceError: r,
...t
}));
}
o(tse, "waitForWrapper");
});
// ../node_modules/@testing-library/dom/dist/query-helpers.js
var Bt = f((Qe) => {
"use strict";
Object.defineProperty(Qe, "__esModule", {
value: !0
});
Qe.buildQueries = ose;
Qe.getElementError = Og;
Qe.getMultipleElementsFoundError = Sg;
Qe.makeFindQuery = Rg;
Qe.makeGetAllQuery = tj;
Qe.makeSingleQuery = xg;
Qe.queryAllByAttribute = ZN;
Qe.queryByAttribute = nse;
Qe.wrapSingleQueryWithSuggestion = Qe.wrapAllByQueryWithSuggestion = void 0;
var Pg = _g(), qg = ui(), rse = yp(), gi = Dt();
function Og(e, t) {
return (0, gi.getConfig)().getElementError(e, t);
}
o(Og, "getElementError");
function Sg(e, t) {
return Og(`${e}
(If this is intentional, then use the \`*AllBy*\` variant of the query (like \`queryAllByText\`, \`getAllByText\`, or \`findAllByText\`)).`,
t);
}
o(Sg, "getMultipleElementsFoundError");
function ZN(e, t, r, {
exact: n = !0,
collapseWhitespace: i,
trim: a,
normalizer: s
} = {}) {
let l = n ? qg.matches : qg.fuzzyMatches, c = (0, qg.makeNormalizer)({
collapseWhitespace: i,
trim: a,
normalizer: s
});
return Array.from(t.querySelectorAll(`[${e}]`)).filter((u) => l(u.getAttribute(e), u, r, c));
}
o(ZN, "queryAllByAttribute");
function nse(e, t, r, n) {
let i = ZN(e, t, r, n);
if (i.length > 1)
throw Sg(`Found multiple elements by [${e}=${r}]`, t);
return i[0] || null;
}
o(nse, "queryByAttribute");
function xg(e, t) {
return (r, ...n) => {
let i = e(r, ...n);
if (i.length > 1) {
let a = i.map((s) => Og(null, s).message).join(`
`);
throw Sg(`${t(r, ...n)}
Here are the matching elements:
${a}`, r);
}
return i[0] || null;
};
}
o(xg, "makeSingleQuery");
function ej(e, t) {
return (0, gi.getConfig)().getElementError(`A better query is available, try this:
${e.toString()}
`, t);
}
o(ej, "getSuggestionError");
function tj(e, t) {
return (r, ...n) => {
let i = e(r, ...n);
if (!i.length)
throw (0, gi.getConfig)().getElementError(t(r, ...n), r);
return i;
};
}
o(tj, "makeGetAllQuery");
function Rg(e) {
return (t, r, n, i) => (0, rse.waitFor)(() => e(t, r, n), {
container: t,
...i
});
}
o(Rg, "makeFindQuery");
var gp = /* @__PURE__ */ o((e, t, r) => (n, ...i) => {
let a = e(n, ...i), [{
suggest: s = (0, gi.getConfig)().throwSuggestions
} = {}] = i.slice(-1);
if (a && s) {
let l = (0, Pg.getSuggestedQuery)(a, r);
if (l && !t.endsWith(l.queryName))
throw ej(l.toString(), n);
}
return a;
}, "wrapSingleQueryWithSuggestion");
Qe.wrapSingleQueryWithSuggestion = gp;
var Tg = /* @__PURE__ */ o((e, t, r) => (n, ...i) => {
let a = e(n, ...i), [{
suggest: s = (0, gi.getConfig)().throwSuggestions
} = {}] = i.slice(-1);
if (a.length && s) {
let l = [...new Set(a.map((c) => (0, Pg.getSuggestedQuery)(c, r)?.toString()))];
if (
// only want to suggest if all the els have the same suggestion.
l.length === 1 && !t.endsWith(
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- TODO: Can this be null at runtime?
(0, Pg.getSuggestedQuery)(a[0], r).queryName
)
)
throw ej(l[0], n);
}
return a;
}, "wrapAllByQueryWithSuggestion");
Qe.wrapAllByQueryWithSuggestion = Tg;
function ose(e, t, r) {
let n = gp(xg(e, t), e.name, "query"), i = tj(e, r), a = xg(i, t), s = gp(a, e.name, "get"), l = Tg(i, e.name.replace("query", "get"), "\
getAll"), c = Rg(Tg(i, e.name, "findAll")), u = Rg(gp(a, e.name, "find"));
return [n, l, s, c, u];
}
o(ose, "buildQueries");
});
// ../node_modules/@testing-library/dom/dist/queries/all-utils.js
var Jt = f((Ze) => {
"use strict";
Object.defineProperty(Ze, "__esModule", {
value: !0
});
var Mg = ui();
Object.keys(Mg).forEach(function(e) {
e === "default" || e === "__esModule" || e in Ze && Ze[e] === Mg[e] || Object.defineProperty(Ze, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Mg[e];
}, "get")
});
});
var Ag = mc();
Object.keys(Ag).forEach(function(e) {
e === "default" || e === "__esModule" || e in Ze && Ze[e] === Ag[e] || Object.defineProperty(Ze, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Ag[e];
}, "get")
});
});
var Ig = Bt();
Object.keys(Ig).forEach(function(e) {
e === "default" || e === "__esModule" || e in Ze && Ze[e] === Ig[e] || Object.defineProperty(Ze, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Ig[e];
}, "get")
});
});
var Ng = Dt();
Object.keys(Ng).forEach(function(e) {
e === "default" || e === "__esModule" || e in Ze && Ze[e] === Ng[e] || Object.defineProperty(Ze, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Ng[e];
}, "get")
});
});
});
// ../node_modules/@testing-library/dom/dist/queries/label-text.js
var oj = f((et) => {
"use strict";
Object.defineProperty(et, "__esModule", {
value: !0
});
et.queryByLabelText = et.queryAllByLabelText = et.getByLabelText = et.getAllByLabelText = et.findByLabelText = et.findAllByLabelText = void 0;
var jg = Dt(), ise = Ge(), $g = Yy(), ke = Jt();
function ase(e) {
return Array.from(e.querySelectorAll("label,input")).map((t) => ({
node: t,
textToMatch: (0, $g.getLabelContent)(t)
})).filter(({
textToMatch: t
}) => t !== null);
}
o(ase, "queryAllLabels");
var sse = /* @__PURE__ */ o((e, t, {
exact: r = !0,
trim: n,
collapseWhitespace: i,
normalizer: a
} = {}) => {
let s = r ? ke.matches : ke.fuzzyMatches, l = (0, ke.makeNormalizer)({
collapseWhitespace: i,
trim: n,
normalizer: a
});
return ase(e).filter(({
node: u,
textToMatch: d
}) => s(d, u, t, l)).map(({
node: u
}) => u);
}, "queryAllLabelsByText"), vi = /* @__PURE__ */ o((e, t, {
selector: r = "*",
exact: n = !0,
collapseWhitespace: i,
trim: a,
normalizer: s
} = {}) => {
(0, ise.checkContainerType)(e);
let l = n ? ke.matches : ke.fuzzyMatches, c = (0, ke.makeNormalizer)({
collapseWhitespace: i,
trim: a,
normalizer: s
}), u = Array.from(e.querySelectorAll("*")).filter((d) => (0, $g.getRealLabels)(d).length || d.hasAttribute("aria-labelledby")).reduce((d, p) => {
let b = (0, $g.getLabels)(e, p, {
selector: r
});
b.filter((y) => !!y.formControl).forEach((y) => {
l(y.content, y.formControl, t, c) && y.formControl && d.push(y.formControl);
});
let m = b.filter((y) => !!y.content).map((y) => y.content);
return l(m.join(" "), p, t, c) && d.push(p), m.length > 1 && m.forEach((y, h) => {
l(y, p, t, c) && d.push(p);
let w = [...m];
w.splice(h, 1), w.length > 1 && l(w.join(" "), p, t, c) && d.push(p);
}), d;
}, []).concat((0, ke.queryAllByAttribute)("aria-label", e, t, {
exact: n,
normalizer: c
}));
return Array.from(new Set(u)).filter((d) => d.matches(r));
}, "queryAllByLabelText"), Jr = /* @__PURE__ */ o((e, t, ...r) => {
let n = vi(e, t, ...r);
if (!n.length) {
let i = sse(e, t, ...r);
if (i.length) {
let a = i.map((s) => lse(e, s)).filter((s) => !!s);
throw a.length ? (0, jg.getConfig)().getElementError(a.map((s) => `Found a label with the text of: ${t}, however the element associa\
ted with this label (<${s} />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to l\
abel a <${s} />, you can use aria-label or aria-labelledby instead.`).join(`
`), e) : (0, jg.getConfig)().getElementError(`Found a label with the text of: ${t}, however no form control was found associated to that lab\
el. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`, e);
} else
throw (0, jg.getConfig)().getElementError(`Unable to find a label with the text of: ${t}`, e);
}
return n;
}, "getAllByLabelText");
function lse(e, t) {
let r = t.getAttribute("for");
if (!r)
return null;
let n = e.querySelector(`[id="${r}"]`);
return n ? n.tagName.toLowerCase() : null;
}
o(lse, "getTagNameOfElementAssociatedWithLabelViaFor");
var rj = /* @__PURE__ */ o((e, t) => `Found multiple elements with the text of: ${t}`, "getMultipleError"), GMe = et.queryByLabelText = (0, ke.
wrapSingleQueryWithSuggestion)((0, ke.makeSingleQuery)(vi, rj), vi.name, "query"), nj = (0, ke.makeSingleQuery)(Jr, rj), KMe = et.findAllByLabelText =
(0, ke.makeFindQuery)((0, ke.wrapAllByQueryWithSuggestion)(Jr, Jr.name, "findAll")), YMe = et.findByLabelText = (0, ke.makeFindQuery)((0, ke.
wrapSingleQueryWithSuggestion)(nj, Jr.name, "find")), XMe = et.getAllByLabelText = (0, ke.wrapAllByQueryWithSuggestion)(Jr, Jr.name, "getA\
ll"), JMe = et.getByLabelText = (0, ke.wrapSingleQueryWithSuggestion)(nj, Jr.name, "get"), QMe = et.queryAllByLabelText = (0, ke.wrapAllByQueryWithSuggestion)(
vi, vi.name, "queryAll");
});
// ../node_modules/@testing-library/dom/dist/queries/placeholder-text.js
var aj = f((tt) => {
"use strict";
Object.defineProperty(tt, "__esModule", {
value: !0
});
tt.queryByPlaceholderText = tt.queryAllByPlaceholderText = tt.getByPlaceholderText = tt.getAllByPlaceholderText = tt.findByPlaceholderText =
tt.findAllByPlaceholderText = void 0;
var use = Bt(), cse = Ge(), ij = Jt(), Lg = /* @__PURE__ */ o((...e) => ((0, cse.checkContainerType)(e[0]), (0, ij.queryAllByAttribute)("p\
laceholder", ...e)), "queryAllByPlaceholderText"), dse = /* @__PURE__ */ o((e, t) => `Found multiple elements with the placeholder text of: ${t}`,
"getMultipleError"), fse = /* @__PURE__ */ o((e, t) => `Unable to find an element with the placeholder text of: ${t}`, "getMissingError"),
tAe = tt.queryAllByPlaceholderText = (0, use.wrapAllByQueryWithSuggestion)(Lg, Lg.name, "queryAll"), [pse, mse, hse, bse, yse] = (0, ij.buildQueries)(
Lg, dse, fse);
tt.findByPlaceholderText = yse;
tt.findAllByPlaceholderText = bse;
tt.getByPlaceholderText = hse;
tt.getAllByPlaceholderText = mse;
tt.queryByPlaceholderText = pse;
});
// ../node_modules/@testing-library/dom/dist/queries/text.js
var sj = f((rt) => {
"use strict";
Object.defineProperty(rt, "__esModule", {
value: !0
});
rt.queryByText = rt.queryAllByText = rt.getByText = rt.getAllByText = rt.findByText = rt.findAllByText = void 0;
var gse = Bt(), vse = Ge(), Qr = Jt(), Dg = /* @__PURE__ */ o((e, t, {
selector: r = "*",
exact: n = !0,
collapseWhitespace: i,
trim: a,
ignore: s = (0, Qr.getConfig)().defaultIgnore,
normalizer: l
} = {}) => {
(0, vse.checkContainerType)(e);
let c = n ? Qr.matches : Qr.fuzzyMatches, u = (0, Qr.makeNormalizer)({
collapseWhitespace: i,
trim: a,
normalizer: l
}), d = [];
return typeof e.matches == "function" && e.matches(r) && (d = [e]), [...d, ...Array.from(e.querySelectorAll(r))].filter((p) => !s || !p.
matches(s)).filter((p) => c((0, Qr.getNodeText)(p), p, t, u));
}, "queryAllByText"), Ese = /* @__PURE__ */ o((e, t) => `Found multiple elements with the text: ${t}`, "getMultipleError"), wse = /* @__PURE__ */ o(
(e, t, r = {}) => {
let {
collapseWhitespace: n,
trim: i,
normalizer: a,
selector: s
} = r, c = (0, Qr.makeNormalizer)({
collapseWhitespace: n,
trim: i,
normalizer: a
})(t.toString()), u = c !== t.toString(), d = (s ?? "*") !== "*";
return `Unable to find an element with the text: ${u ? `${c} (normalized from '${t}')` : t}${d ? `, which matches selector '${s}'` : ""}\
. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make y\
our matcher more flexible.`;
}, "getMissingError"), oAe = rt.queryAllByText = (0, gse.wrapAllByQueryWithSuggestion)(Dg, Dg.name, "queryAll"), [_se, Cse, qse, Pse, xse] = (0, Qr.
buildQueries)(Dg, Ese, wse);
rt.findByText = xse;
rt.findAllByText = Pse;
rt.getByText = qse;
rt.getAllByText = Cse;
rt.queryByText = _se;
});
// ../node_modules/@testing-library/dom/dist/queries/display-value.js
var lj = f((nt) => {
"use strict";
Object.defineProperty(nt, "__esModule", {
value: !0
});
nt.queryByDisplayValue = nt.queryAllByDisplayValue = nt.getByDisplayValue = nt.getAllByDisplayValue = nt.findByDisplayValue = nt.findAllByDisplayValue =
void 0;
var Rse = Bt(), Tse = Ge(), Ei = Jt(), Bg = /* @__PURE__ */ o((e, t, {
exact: r = !0,
collapseWhitespace: n,
trim: i,
normalizer: a
} = {}) => {
(0, Tse.checkContainerType)(e);
let s = r ? Ei.matches : Ei.fuzzyMatches, l = (0, Ei.makeNormalizer)({
collapseWhitespace: n,
trim: i,
normalizer: a
});
return Array.from(e.querySelectorAll("input,textarea,select")).filter((c) => c.tagName === "SELECT" ? Array.from(c.options).filter((d) => d.
selected).some((d) => s((0, Ei.getNodeText)(d), d, t, l)) : s(c.value, c, t, l));
}, "queryAllByDisplayValue"), Ose = /* @__PURE__ */ o((e, t) => `Found multiple elements with the display value: ${t}.`, "getMultipleError"),
Sse = /* @__PURE__ */ o((e, t) => `Unable to find an element with the display value: ${t}.`, "getMissingError"), sAe = nt.queryAllByDisplayValue =
(0, Rse.wrapAllByQueryWithSuggestion)(Bg, Bg.name, "queryAll"), [Mse, Ase, Ise, Nse, jse] = (0, Ei.buildQueries)(Bg, Ose, Sse);
nt.findByDisplayValue = jse;
nt.findAllByDisplayValue = Nse;
nt.getByDisplayValue = Ise;
nt.getAllByDisplayValue = Ase;
nt.queryByDisplayValue = Mse;
});
// ../node_modules/@testing-library/dom/dist/queries/alt-text.js
var cj = f((ot) => {
"use strict";
Object.defineProperty(ot, "__esModule", {
value: !0
});
ot.queryByAltText = ot.queryAllByAltText = ot.getByAltText = ot.getAllByAltText = ot.findByAltText = ot.findAllByAltText = void 0;
var uj = Bt(), $se = Ge(), Lse = Jt(), Dse = /^(img|input|area|.+-.+)$/i, kg = /* @__PURE__ */ o((e, t, r = {}) => ((0, $se.checkContainerType)(
e), (0, uj.queryAllByAttribute)("alt", e, t, r).filter((n) => Dse.test(n.tagName))), "queryAllByAltText"), Bse = /* @__PURE__ */ o((e, t) => `\
Found multiple elements with the alt text: ${t}`, "getMultipleError"), kse = /* @__PURE__ */ o((e, t) => `Unable to find an element with the\
alt text: ${t}`, "getMissingError"), cAe = ot.queryAllByAltText = (0, uj.wrapAllByQueryWithSuggestion)(kg, kg.name, "queryAll"), [Fse, Hse,
Use, Vse, zse] = (0, Lse.buildQueries)(kg, Bse, kse);
ot.findByAltText = zse;
ot.findAllByAltText = Vse;
ot.getByAltText = Use;
ot.getAllByAltText = Hse;
ot.queryByAltText = Fse;
});
// ../node_modules/@testing-library/dom/dist/queries/title.js
var dj = f((it) => {
"use strict";
Object.defineProperty(it, "__esModule", {
value: !0
});
it.queryByTitle = it.queryAllByTitle = it.getByTitle = it.getAllByTitle = it.findByTitle = it.findAllByTitle = void 0;
var Wse = Bt(), Gse = Ge(), wi = Jt(), Kse = /* @__PURE__ */ o((e) => e.tagName.toLowerCase() === "title" && e.parentElement?.tagName.toLowerCase() ===
"svg", "isSvgTitle"), Fg = /* @__PURE__ */ o((e, t, {
exact: r = !0,
collapseWhitespace: n,
trim: i,
normalizer: a
} = {}) => {
(0, Gse.checkContainerType)(e);
let s = r ? wi.matches : wi.fuzzyMatches, l = (0, wi.makeNormalizer)({
collapseWhitespace: n,
trim: i,
normalizer: a
});
return Array.from(e.querySelectorAll("[title], svg > title")).filter((c) => s(c.getAttribute("title"), c, t, l) || Kse(c) && s((0, wi.getNodeText)(
c), c, t, l));
}, "queryAllByTitle"), Yse = /* @__PURE__ */ o((e, t) => `Found multiple elements with the title: ${t}.`, "getMultipleError"), Xse = /* @__PURE__ */ o(
(e, t) => `Unable to find an element with the title: ${t}.`, "getMissingError"), pAe = it.queryAllByTitle = (0, Wse.wrapAllByQueryWithSuggestion)(
Fg, Fg.name, "queryAll"), [Jse, Qse, Zse, ele, tle] = (0, wi.buildQueries)(Fg, Yse, Xse);
it.findByTitle = tle;
it.findAllByTitle = ele;
it.getByTitle = Zse;
it.getAllByTitle = Qse;
it.queryByTitle = Jse;
});
// ../node_modules/@testing-library/dom/dist/queries/role.js
var mj = f((at) => {
"use strict";
Object.defineProperty(at, "__esModule", {
value: !0
});
at.queryByRole = at.queryAllByRole = at.getByRole = at.getAllByRole = at.findByRole = at.findAllByRole = void 0;
var fj = (vc(), Wt(gc)), jt = vg(), Ke = hp(), rle = Bt(), nle = Ge(), Qt = Jt(), Hg = /* @__PURE__ */ o((e, t, {
hidden: r = (0, Qt.getConfig)().defaultHidden,
name: n,
description: i,
queryFallbacks: a = !1,
selected: s,
busy: l,
checked: c,
pressed: u,
current: d,
level: p,
expanded: b,
value: {
now: m,
min: y,
max: h,
text: w
} = {}
} = {}) => {
if ((0, nle.checkContainerType)(e), s !== void 0 && jt.roles.get(t)?.props["aria-selected"] === void 0)
throw new Error(`"aria-selected" is not supported on role "${t}".`);
if (l !== void 0 && jt.roles.get(t)?.props["aria-busy"] === void 0)
throw new Error(`"aria-busy" is not supported on role "${t}".`);
if (c !== void 0 && jt.roles.get(t)?.props["aria-checked"] === void 0)
throw new Error(`"aria-checked" is not supported on role "${t}".`);
if (u !== void 0 && jt.roles.get(t)?.props["aria-pressed"] === void 0)
throw new Error(`"aria-pressed" is not supported on role "${t}".`);
if (d !== void 0 && jt.roles.get(t)?.props["aria-current"] === void 0)
throw new Error(`"aria-current" is not supported on role "${t}".`);
if (p !== void 0 && t !== "heading")
throw new Error(`Role "${t}" cannot have "level" property.`);
if (m !== void 0 && jt.roles.get(t)?.props["aria-valuenow"] === void 0)
throw new Error(`"aria-valuenow" is not supported on role "${t}".`);
if (h !== void 0 && jt.roles.get(t)?.props["aria-valuemax"] === void 0)
throw new Error(`"aria-valuemax" is not supported on role "${t}".`);
if (y !== void 0 && jt.roles.get(t)?.props["aria-valuemin"] === void 0)
throw new Error(`"aria-valuemin" is not supported on role "${t}".`);
if (w !== void 0 && jt.roles.get(t)?.props["aria-valuetext"] === void 0)
throw new Error(`"aria-valuetext" is not supported on role "${t}".`);
if (b !== void 0 && jt.roles.get(t)?.props["aria-expanded"] === void 0)
throw new Error(`"aria-expanded" is not supported on role "${t}".`);
let g = /* @__PURE__ */ new WeakMap();
function q(P) {
return g.has(P) || g.set(P, (0, Ke.isSubtreeInaccessible)(P)), g.get(P);
}
return o(q, "cachedIsSubtreeInaccessible"), Array.from(e.querySelectorAll(
// Only query elements that can be matched by the following filters
ole(t)
)).filter((P) => {
if (P.hasAttribute("role")) {
let O = P.getAttribute("role");
if (a)
return O.split(" ").filter(Boolean).some((M) => M === t);
let [T] = O.split(" ");
return T === t;
}
return (0, Ke.getImplicitAriaRoles)(P).some((O) => O === t);
}).filter((P) => {
if (s !== void 0)
return s === (0, Ke.computeAriaSelected)(P);
if (l !== void 0)
return l === (0, Ke.computeAriaBusy)(P);
if (c !== void 0)
return c === (0, Ke.computeAriaChecked)(P);
if (u !== void 0)
return u === (0, Ke.computeAriaPressed)(P);
if (d !== void 0)
return d === (0, Ke.computeAriaCurrent)(P);
if (b !== void 0)
return b === (0, Ke.computeAriaExpanded)(P);
if (p !== void 0)
return p === (0, Ke.computeHeadingLevel)(P);
if (m !== void 0 || h !== void 0 || y !== void 0 || w !== void 0) {
let _ = !0;
return m !== void 0 && (_ &&= m === (0, Ke.computeAriaValueNow)(P)), h !== void 0 && (_ &&= h === (0, Ke.computeAriaValueMax)(P)), y !==
void 0 && (_ &&= y === (0, Ke.computeAriaValueMin)(P)), w !== void 0 && (_ &&= (0, Qt.matches)((0, Ke.computeAriaValueText)(P) ?? null,
P, w, (C) => C)), _;
}
return !0;
}).filter((P) => n === void 0 ? !0 : (0, Qt.matches)((0, fj.computeAccessibleName)(P, {
computedStyleSupportsPseudoElements: (0, Qt.getConfig)().computedStyleSupportsPseudoElements
}), P, n, (_) => _)).filter((P) => i === void 0 ? !0 : (0, Qt.matches)((0, fj.computeAccessibleDescription)(P, {
computedStyleSupportsPseudoElements: (0, Qt.getConfig)().computedStyleSupportsPseudoElements
}), P, i, (_) => _)).filter((P) => r === !1 ? (0, Ke.isInaccessible)(P, {
isSubtreeInaccessible: q
}) === !1 : !0);
}, "queryAllByRole");
function ole(e) {
let t = `*[role~="${e}"]`, r = jt.roleElements.get(e) ?? /* @__PURE__ */ new Set(), n = new Set(Array.from(r).map(({
name: i
}) => i));
return [t].concat(Array.from(n)).join(",");
}
o(ole, "makeRoleSelector");
var pj = /* @__PURE__ */ o((e) => {
let t = "";
return e === void 0 ? t = "" : typeof e == "string" ? t = ` and name "${e}"` : t = ` and name \`${e}\``, t;
}, "getNameHint"), ile = /* @__PURE__ */ o((e, t, {
name: r
} = {}) => `Found multiple elements with the role "${t}"${pj(r)}`, "getMultipleError"), ale = /* @__PURE__ */ o((e, t, {
hidden: r = (0, Qt.getConfig)().defaultHidden,
name: n,
description: i
} = {}) => {
if ((0, Qt.getConfig)()._disableExpensiveErrorDiagnostics)
return `Unable to find role="${t}"${pj(n)}`;
let a = "";
Array.from(e.children).forEach((u) => {
a += (0, Ke.prettyRoles)(u, {
hidden: r,
includeDescription: i !== void 0
});
});
let s;
a.length === 0 ? r === !1 ? s = "There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, \
then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole" :
s = "There are no available roles." : s = `
Here are the ${r === !1 ? "accessible" : "available"} roles:
${a.replace(/\n/g, `
`).replace(/\n\s\s\n/g, `
`)}
`.trim();
let l = "";
n === void 0 ? l = "" : typeof n == "string" ? l = ` and name "${n}"` : l = ` and name \`${n}\``;
let c = "";
return i === void 0 ? c = "" : typeof i == "string" ? c = ` and description "${i}"` : c = ` and description \`${i}\``, `
Unable to find an ${r === !1 ? "accessible " : ""}element with the role "${t}"${l}${c}
${s}`.trim();
}, "getMissingError"), bAe = at.queryAllByRole = (0, rle.wrapAllByQueryWithSuggestion)(Hg, Hg.name, "queryAll"), [sle, lle, ule, cle, dle] = (0, Qt.
buildQueries)(Hg, ile, ale);
at.findByRole = dle;
at.findAllByRole = cle;
at.getByRole = ule;
at.getAllByRole = lle;
at.queryByRole = sle;
});
// ../node_modules/@testing-library/dom/dist/queries/test-id.js
var hj = f((st) => {
"use strict";
Object.defineProperty(st, "__esModule", {
value: !0
});
st.queryByTestId = st.queryAllByTestId = st.getByTestId = st.getAllByTestId = st.findByTestId = st.findAllByTestId = void 0;
var fle = Ge(), ple = Bt(), Vg = Jt(), zg = /* @__PURE__ */ o(() => (0, Vg.getConfig)().testIdAttribute, "getTestIdAttribute"), Ug = /* @__PURE__ */ o(
(...e) => ((0, fle.checkContainerType)(e[0]), (0, Vg.queryAllByAttribute)(zg(), ...e)), "queryAllByTestId"), mle = /* @__PURE__ */ o((e, t) => `\
Found multiple elements by: [${zg()}="${t}"]`, "getMultipleError"), hle = /* @__PURE__ */ o((e, t) => `Unable to find an element by: [${zg()}\
="${t}"]`, "getMissingError"), vAe = st.queryAllByTestId = (0, ple.wrapAllByQueryWithSuggestion)(Ug, Ug.name, "queryAll"), [ble, yle, gle, vle,
Ele] = (0, Vg.buildQueries)(Ug, mle, hle);
st.findByTestId = Ele;
st.findAllByTestId = vle;
st.getByTestId = gle;
st.getAllByTestId = yle;
st.queryByTestId = ble;
});
// ../node_modules/@testing-library/dom/dist/queries/index.js
var vp = f((ge) => {
"use strict";
Object.defineProperty(ge, "__esModule", {
value: !0
});
var Wg = oj();
Object.keys(Wg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Wg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Wg[e];
}, "get")
});
});
var Gg = aj();
Object.keys(Gg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Gg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Gg[e];
}, "get")
});
});
var Kg = sj();
Object.keys(Kg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Kg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Kg[e];
}, "get")
});
});
var Yg = lj();
Object.keys(Yg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Yg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Yg[e];
}, "get")
});
});
var Xg = cj();
Object.keys(Xg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Xg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Xg[e];
}, "get")
});
});
var Jg = dj();
Object.keys(Jg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Jg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Jg[e];
}, "get")
});
});
var Qg = mj();
Object.keys(Qg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Qg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Qg[e];
}, "get")
});
});
var Zg = hj();
Object.keys(Zg).forEach(function(e) {
e === "default" || e === "__esModule" || e in ge && ge[e] === Zg[e] || Object.defineProperty(ge, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Zg[e];
}, "get")
});
});
});
// ../node_modules/@testing-library/dom/dist/get-queries-for-element.js
var tv = f((ev) => {
"use strict";
Object.defineProperty(ev, "__esModule", {
value: !0
});
ev.getQueriesForElement = Cle;
var wle = _le(vp());
function bj(e) {
if (typeof WeakMap != "function") return null;
var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
return (bj = /* @__PURE__ */ o(function(n) {
return n ? r : t;
}, "_getRequireWildcardCache"))(e);
}
o(bj, "_getRequireWildcardCache");
function _le(e, t) {
if (!t && e && e.__esModule) return e;
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
var r = bj(t);
if (r && r.has(e)) return r.get(e);
var n = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in e) if (a !== "default" && {}.hasOwnProperty.call(e, a)) {
var s = i ? Object.getOwnPropertyDescriptor(e, a) : null;
s && (s.get || s.set) ? Object.defineProperty(n, a, s) : n[a] = e[a];
}
return n.default = e, r && r.set(e, n), n;
}
o(_le, "_interopRequireWildcard");
function Cle(e, t = wle, r = {}) {
return Object.keys(t).reduce((n, i) => {
let a = t[i];
return n[i] = a.bind(null, e), n;
}, r);
}
o(Cle, "getQueriesForElement");
});
// ../node_modules/@testing-library/dom/dist/wait-for-element-to-be-removed.js
var vj = f((rv) => {
"use strict";
Object.defineProperty(rv, "__esModule", {
value: !0
});
rv.waitForElementToBeRemoved = Ple;
var qle = yp(), gj = /* @__PURE__ */ o((e) => !e || Array.isArray(e) && !e.length, "isRemoved");
function yj(e) {
if (gj(e))
throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the el\
ement(s) exist(s) before waiting for removal.");
}
o(yj, "initialCheck");
async function Ple(e, t) {
let r = new Error("Timed out in waitForElementToBeRemoved.");
if (typeof e != "function") {
yj(e);
let i = (Array.isArray(e) ? e : [e]).map((a) => {
let s = a.parentElement;
if (s === null) return () => null;
for (; s.parentElement; ) s = s.parentElement;
return () => s.contains(a) ? a : null;
});
e = /* @__PURE__ */ o(() => i.map((a) => a()).filter(Boolean), "callback");
}
return yj(e()), (0, qle.waitFor)(() => {
let n;
try {
n = e();
} catch (i) {
if (i.name === "TestingLibraryElementError")
return;
throw i;
}
if (!gj(n))
throw r;
}, t);
}
o(Ple, "waitForElementToBeRemoved");
});
// ../node_modules/@testing-library/dom/dist/event-map.js
var Ej = f((zn) => {
"use strict";
Object.defineProperty(zn, "__esModule", {
value: !0
});
zn.eventMap = zn.eventAliasMap = void 0;
var TAe = zn.eventMap = {
// Clipboard Events
copy: {
EventType: "ClipboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
cut: {
EventType: "ClipboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
paste: {
EventType: "ClipboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
// Composition Events
compositionEnd: {
EventType: "CompositionEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
compositionStart: {
EventType: "CompositionEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
compositionUpdate: {
EventType: "CompositionEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
// Keyboard Events
keyDown: {
EventType: "KeyboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
charCode: 0,
composed: !0
}
},
keyPress: {
EventType: "KeyboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
charCode: 0,
composed: !0
}
},
keyUp: {
EventType: "KeyboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
charCode: 0,
composed: !0
}
},
// Focus Events
focus: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
blur: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
focusIn: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
focusOut: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
// Form Events
change: {
EventType: "Event",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
input: {
EventType: "InputEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
invalid: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !0
}
},
submit: {
EventType: "Event",
defaultInit: {
bubbles: !0,
cancelable: !0
}
},
reset: {
EventType: "Event",
defaultInit: {
bubbles: !0,
cancelable: !0
}
},
// Mouse Events
click: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
button: 0,
composed: !0
}
},
contextMenu: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
dblClick: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
drag: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
dragEnd: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
dragEnter: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
dragExit: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
dragLeave: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
dragOver: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
dragStart: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
drop: {
EventType: "DragEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseDown: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseEnter: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
mouseLeave: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
mouseMove: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseOut: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseOver: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseUp: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
// Selection Events
select: {
EventType: "Event",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
// Touch Events
touchCancel: {
EventType: "TouchEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
touchEnd: {
EventType: "TouchEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
touchMove: {
EventType: "TouchEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
touchStart: {
EventType: "TouchEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
// UI Events
resize: {
EventType: "UIEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
scroll: {
EventType: "UIEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
// Wheel Events
wheel: {
EventType: "WheelEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
// Media Events
abort: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
canPlay: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
canPlayThrough: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
durationChange: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
emptied: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
encrypted: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
ended: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
loadedData: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
loadedMetadata: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
loadStart: {
EventType: "ProgressEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
pause: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
play: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
playing: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
progress: {
EventType: "ProgressEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
rateChange: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
seeked: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
seeking: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
stalled: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
suspend: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
timeUpdate: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
volumeChange: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
waiting: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
// Events
load: {
// TODO: load events can be UIEvent or Event depending on what generated them
// This is where this abstraction breaks down.
// But the common targets are
, and window.
// Neither of these targets receive a UIEvent
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
error: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
// Animation Events
animationStart: {
EventType: "AnimationEvent",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
animationEnd: {
EventType: "AnimationEvent",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
animationIteration: {
EventType: "AnimationEvent",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
// Transition Events
transitionCancel: {
EventType: "TransitionEvent",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
transitionEnd: {
EventType: "TransitionEvent",
defaultInit: {
bubbles: !0,
cancelable: !0
}
},
transitionRun: {
EventType: "TransitionEvent",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
transitionStart: {
EventType: "TransitionEvent",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
// pointer events
pointerOver: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerEnter: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
pointerDown: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerMove: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerUp: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerCancel: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
pointerOut: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerLeave: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
gotPointerCapture: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
lostPointerCapture: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
// history events
popState: {
EventType: "PopStateEvent",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
// window events
offline: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
online: {
EventType: "Event",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
pageHide: {
EventType: "PageTransitionEvent",
defaultInit: {
bubbles: !0,
cancelable: !0
}
},
pageShow: {
EventType: "PageTransitionEvent",
defaultInit: {
bubbles: !0,
cancelable: !0
}
}
}, OAe = zn.eventAliasMap = {
doubleClick: "dblClick"
};
});
// ../node_modules/@testing-library/dom/dist/events.js
var wj = f((_p) => {
"use strict";
Object.defineProperty(_p, "__esModule", {
value: !0
});
_p.createEvent = Ep;
_p.fireEvent = _i;
var xle = Dt(), Rle = Ge(), wp = Ej();
function _i(e, t) {
return (0, xle.getConfig)().eventWrapper(() => {
if (!t)
throw new Error("Unable to fire an event - please provide an event object.");
if (!e)
throw new Error(`Unable to fire a "${t.type}" event - please provide a DOM element.`);
return e.dispatchEvent(t);
});
}
o(_i, "fireEvent");
function Ep(e, t, r, {
EventType: n = "Event",
defaultInit: i = {}
} = {}) {
if (!t)
throw new Error(`Unable to fire a "${e}" event - please provide a DOM element.`);
let a = {
...i,
...r
}, {
target: {
value: s,
files: l,
...c
} = {}
} = a;
s !== void 0 && Tle(t, s), l !== void 0 && Object.defineProperty(t, "files", {
configurable: !0,
enumerable: !0,
writable: !0,
value: l
}), Object.assign(t, c);
let u = (0, Rle.getWindowFromNode)(t), d = u[n] || u.Event, p;
if (typeof d == "function")
p = new d(e, a);
else {
p = u.document.createEvent(n);
let {
bubbles: m,
cancelable: y,
detail: h,
...w
} = a;
p.initEvent(e, m, y, h), Object.keys(w).forEach((g) => {
p[g] = w[g];
});
}
return ["dataTransfer", "clipboardData"].forEach((m) => {
let y = a[m];
typeof y == "object" && (typeof u.DataTransfer == "function" ? Object.defineProperty(p, m, {
value: Object.getOwnPropertyNames(y).reduce((h, w) => (Object.defineProperty(h, w, {
value: y[w]
}), h), new u.DataTransfer())
}) : Object.defineProperty(p, m, {
value: y
}));
}), p;
}
o(Ep, "createEvent");
Object.keys(wp.eventMap).forEach((e) => {
let {
EventType: t,
defaultInit: r
} = wp.eventMap[e], n = e.toLowerCase();
Ep[e] = (i, a) => Ep(n, i, a, {
EventType: t,
defaultInit: r
}), _i[e] = (i, a) => _i(i, Ep[e](i, a));
});
function Tle(e, t) {
let {
set: r
} = Object.getOwnPropertyDescriptor(e, "value") || {}, n = Object.getPrototypeOf(e), {
set: i
} = Object.getOwnPropertyDescriptor(n, "value") || {};
if (i && r !== i)
i.call(e, t);
else if (r)
r.call(e, t);
else
throw new Error("The given element does not have a value setter");
}
o(Tle, "setNativeValue");
Object.keys(wp.eventAliasMap).forEach((e) => {
let t = wp.eventAliasMap[e];
_i[e] = (...r) => _i[t](...r);
});
});
// ../node_modules/lz-string/libs/lz-string.js
var _j = f((IAe, Cp) => {
var nv = function() {
var e = String.fromCharCode, t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabc\
defghijklmnopqrstuvwxyz0123456789+-$", n = {};
function i(s, l) {
if (!n[s]) {
n[s] = {};
for (var c = 0; c < s.length; c++)
n[s][s.charAt(c)] = c;
}
return n[s][l];
}
o(i, "getBaseValue");
var a = {
compressToBase64: /* @__PURE__ */ o(function(s) {
if (s == null) return "";
var l = a._compress(s, 6, function(c) {
return t.charAt(c);
});
switch (l.length % 4) {
// To produce valid Base64
default:
// When could this happen ?
case 0:
return l;
case 1:
return l + "===";
case 2:
return l + "==";
case 3:
return l + "=";
}
}, "compressToBase64"),
decompressFromBase64: /* @__PURE__ */ o(function(s) {
return s == null ? "" : s == "" ? null : a._decompress(s.length, 32, function(l) {
return i(t, s.charAt(l));
});
}, "decompressFromBase64"),
compressToUTF16: /* @__PURE__ */ o(function(s) {
return s == null ? "" : a._compress(s, 15, function(l) {
return e(l + 32);
}) + " ";
}, "compressToUTF16"),
decompressFromUTF16: /* @__PURE__ */ o(function(s) {
return s == null ? "" : s == "" ? null : a._decompress(s.length, 16384, function(l) {
return s.charCodeAt(l) - 32;
});
}, "decompressFromUTF16"),
//compress into uint8array (UCS-2 big endian format)
compressToUint8Array: /* @__PURE__ */ o(function(s) {
for (var l = a.compress(s), c = new Uint8Array(l.length * 2), u = 0, d = l.length; u < d; u++) {
var p = l.charCodeAt(u);
c[u * 2] = p >>> 8, c[u * 2 + 1] = p % 256;
}
return c;
}, "compressToUint8Array"),
//decompress from uint8array (UCS-2 big endian format)
decompressFromUint8Array: /* @__PURE__ */ o(function(s) {
if (s == null)
return a.decompress(s);
for (var l = new Array(s.length / 2), c = 0, u = l.length; c < u; c++)
l[c] = s[c * 2] * 256 + s[c * 2 + 1];
var d = [];
return l.forEach(function(p) {
d.push(e(p));
}), a.decompress(d.join(""));
}, "decompressFromUint8Array"),
//compress into a string that is already URI encoded
compressToEncodedURIComponent: /* @__PURE__ */ o(function(s) {
return s == null ? "" : a._compress(s, 6, function(l) {
return r.charAt(l);
});
}, "compressToEncodedURIComponent"),
//decompress from an output of compressToEncodedURIComponent
decompressFromEncodedURIComponent: /* @__PURE__ */ o(function(s) {
return s == null ? "" : s == "" ? null : (s = s.replace(/ /g, "+"), a._decompress(s.length, 32, function(l) {
return i(r, s.charAt(l));
}));
}, "decompressFromEncodedURIComponent"),
compress: /* @__PURE__ */ o(function(s) {
return a._compress(s, 16, function(l) {
return e(l);
});
}, "compress"),
_compress: /* @__PURE__ */ o(function(s, l, c) {
if (s == null) return "";
var u, d, p = {}, b = {}, m = "", y = "", h = "", w = 2, g = 3, q = 2, P = [], _ = 0, C = 0, O;
for (O = 0; O < s.length; O += 1)
if (m = s.charAt(O), Object.prototype.hasOwnProperty.call(p, m) || (p[m] = g++, b[m] = !0), y = h + m, Object.prototype.hasOwnProperty.
call(p, y))
h = y;
else {
if (Object.prototype.hasOwnProperty.call(b, h)) {
if (h.charCodeAt(0) < 256) {
for (u = 0; u < q; u++)
_ = _ << 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++;
for (d = h.charCodeAt(0), u = 0; u < 8; u++)
_ = _ << 1 | d & 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = d >> 1;
} else {
for (d = 1, u = 0; u < q; u++)
_ = _ << 1 | d, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = 0;
for (d = h.charCodeAt(0), u = 0; u < 16; u++)
_ = _ << 1 | d & 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = d >> 1;
}
w--, w == 0 && (w = Math.pow(2, q), q++), delete b[h];
} else
for (d = p[h], u = 0; u < q; u++)
_ = _ << 1 | d & 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = d >> 1;
w--, w == 0 && (w = Math.pow(2, q), q++), p[y] = g++, h = String(m);
}
if (h !== "") {
if (Object.prototype.hasOwnProperty.call(b, h)) {
if (h.charCodeAt(0) < 256) {
for (u = 0; u < q; u++)
_ = _ << 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++;
for (d = h.charCodeAt(0), u = 0; u < 8; u++)
_ = _ << 1 | d & 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = d >> 1;
} else {
for (d = 1, u = 0; u < q; u++)
_ = _ << 1 | d, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = 0;
for (d = h.charCodeAt(0), u = 0; u < 16; u++)
_ = _ << 1 | d & 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = d >> 1;
}
w--, w == 0 && (w = Math.pow(2, q), q++), delete b[h];
} else
for (d = p[h], u = 0; u < q; u++)
_ = _ << 1 | d & 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = d >> 1;
w--, w == 0 && (w = Math.pow(2, q), q++);
}
for (d = 2, u = 0; u < q; u++)
_ = _ << 1 | d & 1, C == l - 1 ? (C = 0, P.push(c(_)), _ = 0) : C++, d = d >> 1;
for (; ; )
if (_ = _ << 1, C == l - 1) {
P.push(c(_));
break;
} else C++;
return P.join("");
}, "_compress"),
decompress: /* @__PURE__ */ o(function(s) {
return s == null ? "" : s == "" ? null : a._decompress(s.length, 32768, function(l) {
return s.charCodeAt(l);
});
}, "decompress"),
_decompress: /* @__PURE__ */ o(function(s, l, c) {
var u = [], d, p = 4, b = 4, m = 3, y = "", h = [], w, g, q, P, _, C, O, T = { val: c(0), position: l, index: 1 };
for (w = 0; w < 3; w += 1)
u[w] = w;
for (q = 0, _ = Math.pow(2, 2), C = 1; C != _; )
P = T.val & T.position, T.position >>= 1, T.position == 0 && (T.position = l, T.val = c(T.index++)), q |= (P > 0 ? 1 : 0) * C, C <<=
1;
switch (d = q) {
case 0:
for (q = 0, _ = Math.pow(2, 8), C = 1; C != _; )
P = T.val & T.position, T.position >>= 1, T.position == 0 && (T.position = l, T.val = c(T.index++)), q |= (P > 0 ? 1 : 0) * C,
C <<= 1;
O = e(q);
break;
case 1:
for (q = 0, _ = Math.pow(2, 16), C = 1; C != _; )
P = T.val & T.position, T.position >>= 1, T.position == 0 && (T.position = l, T.val = c(T.index++)), q |= (P > 0 ? 1 : 0) * C,
C <<= 1;
O = e(q);
break;
case 2:
return "";
}
for (u[3] = O, g = O, h.push(O); ; ) {
if (T.index > s)
return "";
for (q = 0, _ = Math.pow(2, m), C = 1; C != _; )
P = T.val & T.position, T.position >>= 1, T.position == 0 && (T.position = l, T.val = c(T.index++)), q |= (P > 0 ? 1 : 0) * C, C <<=
1;
switch (O = q) {
case 0:
for (q = 0, _ = Math.pow(2, 8), C = 1; C != _; )
P = T.val & T.position, T.position >>= 1, T.position == 0 && (T.position = l, T.val = c(T.index++)), q |= (P > 0 ? 1 : 0) * C,
C <<= 1;
u[b++] = e(q), O = b - 1, p--;
break;
case 1:
for (q = 0, _ = Math.pow(2, 16), C = 1; C != _; )
P = T.val & T.position, T.position >>= 1, T.position == 0 && (T.position = l, T.val = c(T.index++)), q |= (P > 0 ? 1 : 0) * C,
C <<= 1;
u[b++] = e(q), O = b - 1, p--;
break;
case 2:
return h.join("");
}
if (p == 0 && (p = Math.pow(2, m), m++), u[O])
y = u[O];
else if (O === b)
y = g + g.charAt(0);
else
return null;
h.push(y), u[b++] = g + y.charAt(0), p--, g = y, p == 0 && (p = Math.pow(2, m), m++);
}
}, "_decompress")
};
return a;
}();
typeof define == "function" && define.amd ? define(function() {
return nv;
}) : typeof Cp < "u" && Cp != null ? Cp.exports = nv : typeof angular < "u" && angular != null && angular.module("LZString", []).factory("\
LZString", function() {
return nv;
});
});
// ../node_modules/@testing-library/dom/dist/screen.js
var Rj = f((qp) => {
"use strict";
var Ole = Sy();
Object.defineProperty(qp, "__esModule", {
value: !0
});
qp.screen = void 0;
var Sle = Ole(_j()), Mle = tv(), Ale = Ge(), Cj = ai(), qj = Ile(vp());
function xj(e) {
if (typeof WeakMap != "function") return null;
var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
return (xj = /* @__PURE__ */ o(function(n) {
return n ? r : t;
}, "_getRequireWildcardCache"))(e);
}
o(xj, "_getRequireWildcardCache");
function Ile(e, t) {
if (!t && e && e.__esModule) return e;
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
var r = xj(t);
if (r && r.has(e)) return r.get(e);
var n = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in e) if (a !== "default" && {}.hasOwnProperty.call(e, a)) {
var s = i ? Object.getOwnPropertyDescriptor(e, a) : null;
s && (s.get || s.set) ? Object.defineProperty(n, a, s) : n[a] = e[a];
}
return n.default = e, r && r.set(e, n), n;
}
o(Ile, "_interopRequireWildcard");
function Nle(e) {
return e.replace(/[ \t]*[\n][ \t]*/g, `
`);
}
o(Nle, "unindent");
function jle(e) {
return Sle.default.compressToEncodedURIComponent(Nle(e));
}
o(jle, "encode");
function $le(e) {
return `https://testing-playground.com/#markup=${jle(e)}`;
}
o($le, "getPlaygroundUrl");
var Lle = /* @__PURE__ */ o((e, t, r) => Array.isArray(e) ? e.forEach((n) => (0, Cj.logDOM)(n, t, r)) : (0, Cj.logDOM)(e, t, r), "debug"),
Dle = /* @__PURE__ */ o((e = (0, Ale.getDocument)().body) => {
if (!e || !("innerHTML" in e)) {
console.log("The element you're providing isn't a valid DOM element.");
return;
}
if (!e.innerHTML) {
console.log("The provided element doesn't have any children.");
return;
}
let t = $le(e.innerHTML);
return console.log(`Open this URL in your browser
${t}`), t;
}, "logTestingPlaygroundURL"), Pj = {
debug: Lle,
logTestingPlaygroundURL: Dle
}, jAe = qp.screen = typeof document < "u" && document.body ? (0, Mle.getQueriesForElement)(document.body, qj, Pj) : Object.keys(qj).reduce(
(e, t) => (e[t] = () => {
throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com\
/s/screen-global-error");
}, e), Pj);
});
// ../node_modules/@testing-library/dom/dist/index.js
var Ft = f((z) => {
"use strict";
Object.defineProperty(z, "__esModule", {
value: !0
});
var kt = {
within: !0,
queries: !0,
queryHelpers: !0,
getDefaultNormalizer: !0,
getRoles: !0,
logRoles: !0,
isInaccessible: !0,
configure: !0,
getConfig: !0
};
Object.defineProperty(z, "configure", {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Tj.configure;
}, "get")
});
Object.defineProperty(z, "getConfig", {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Tj.getConfig;
}, "get")
});
Object.defineProperty(z, "getDefaultNormalizer", {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Ble.getDefaultNormalizer;
}, "get")
});
Object.defineProperty(z, "getRoles", {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return dv.getRoles;
}, "get")
});
Object.defineProperty(z, "isInaccessible", {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return dv.isInaccessible;
}, "get")
});
Object.defineProperty(z, "logRoles", {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return dv.logRoles;
}, "get")
});
z.queryHelpers = z.queries = void 0;
Object.defineProperty(z, "within", {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Pp.getQueriesForElement;
}, "get")
});
var Pp = tv();
Object.keys(Pp).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === Pp[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Pp[e];
}, "get")
});
});
var xp = Sj(vp());
z.queries = xp;
Object.keys(xp).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === xp[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return xp[e];
}, "get")
});
});
var Rp = Sj(Bt());
z.queryHelpers = Rp;
Object.keys(Rp).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === Rp[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return Rp[e];
}, "get")
});
});
var ov = yp();
Object.keys(ov).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === ov[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return ov[e];
}, "get")
});
});
var iv = vj();
Object.keys(iv).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === iv[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return iv[e];
}, "get")
});
});
var Ble = ui(), av = mc();
Object.keys(av).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === av[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return av[e];
}, "get")
});
});
var sv = wj();
Object.keys(sv).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === sv[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return sv[e];
}, "get")
});
});
var lv = Rj();
Object.keys(lv).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === lv[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return lv[e];
}, "get")
});
});
var dv = hp(), uv = ai();
Object.keys(uv).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === uv[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return uv[e];
}, "get")
});
});
var Tj = Dt(), cv = _g();
Object.keys(cv).forEach(function(e) {
e === "default" || e === "__esModule" || Object.prototype.hasOwnProperty.call(kt, e) || e in z && z[e] === cv[e] || Object.defineProperty(
z, e, {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return cv[e];
}, "get")
});
});
function Oj(e) {
if (typeof WeakMap != "function") return null;
var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
return (Oj = /* @__PURE__ */ o(function(n) {
return n ? r : t;
}, "_getRequireWildcardCache"))(e);
}
o(Oj, "_getRequireWildcardCache");
function Sj(e, t) {
if (!t && e && e.__esModule) return e;
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
var r = Oj(t);
if (r && r.has(e)) return r.get(e);
var n = { __proto__: null }, i = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in e) if (a !== "default" && {}.hasOwnProperty.call(e, a)) {
var s = i ? Object.getOwnPropertyDescriptor(e, a) : null;
s && (s.get || s.set) ? Object.defineProperty(n, a, s) : n[a] = e[a];
}
return n.default = e, r && r.set(e, n), n;
}
o(Sj, "_interopRequireWildcard");
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/isElementType.js
var Ve = f((Mj) => {
"use strict";
function kle(e, t, r) {
return e.namespaceURI && e.namespaceURI !== "http://www.w3.org/1999/xhtml" || (t = Array.isArray(t) ? t : [
t
], !t.includes(e.tagName.toLowerCase())) ? !1 : r ? Object.entries(r).every(([n, i]) => e[n] === i) : !0;
}
o(kle, "isElementType");
Mj.isElementType = kle;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/getWindow.js
var _t = f((Aj) => {
"use strict";
function Fle(e) {
var t;
if (Hle(e) && e.defaultView)
return e.defaultView;
if (!((t = e.ownerDocument) === null || t === void 0) && t.defaultView)
return e.ownerDocument.defaultView;
throw new Error(`Could not determine window of node. Node was ${Ule(e)}`);
}
o(Fle, "getWindow");
function Hle(e) {
return e.nodeType === 9;
}
o(Hle, "isDocument");
function Ule(e) {
return typeof e == "function" ? `function ${e.name}` : e === null ? "null" : String(e);
}
o(Ule, "describe");
Aj.getWindow = Fle;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/Blob.js
var Nj = f((Ij) => {
"use strict";
function Vle(e, t) {
return new Promise((r, n) => {
let i = new t();
i.onerror = n, i.onabort = n, i.onload = () => {
r(String(i.result));
}, i.readAsText(e);
});
}
o(Vle, "readBlobText");
Ij.readBlobText = Vle;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/FileList.js
var fv = f((jj) => {
"use strict";
function zle(e, t) {
let r = {
...t,
length: t.length,
item: /* @__PURE__ */ o((n) => r[n], "item"),
[Symbol.iterator]: /* @__PURE__ */ o(function* () {
for (let i = 0; i < r.length; i++)
yield r[i];
}, "nextFile")
};
return r.constructor = e.FileList, e.FileList && Object.setPrototypeOf(r, e.FileList.prototype), Object.freeze(r), r;
}
o(zle, "createFileList");
jj.createFileList = zle;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/DataTransfer.js
var Sp = f((mv) => {
"use strict";
var $j = fv();
function Rr(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(Rr, "_define_property");
var Op = class {
static {
o(this, "DataTransferItemStub");
}
getAsFile() {
return this.file;
}
getAsString(t) {
typeof this.data == "string" && t(this.data);
}
/* istanbul ignore next */
webkitGetAsEntry() {
throw new Error("not implemented");
}
constructor(t, r) {
Rr(this, "kind", void 0), Rr(this, "type", void 0), Rr(this, "file", null), Rr(this, "data", void 0), typeof t == "string" ? (this.kind =
"string", this.type = String(r), this.data = t) : (this.kind = "file", this.type = t.type, this.file = t);
}
}, pv = class extends Array {
static {
o(this, "DataTransferItemListStub");
}
add(...t) {
let r = new Op(t[0], t[1]);
return this.push(r), r;
}
clear() {
this.splice(0, this.length);
}
remove(t) {
this.splice(t, 1);
}
};
function Tp(e, t) {
let [r, n] = e.split("/"), i = !n || n === "*";
return (a) => t ? a.type === (i ? r : e) : i ? a.type.startsWith(`${r}/`) : a.type === r;
}
o(Tp, "getTypeMatcher");
function Wle(e) {
return new class {
static {
o(this, "DataTransferStub");
}
getData(r) {
var n;
let i = (n = this.items.find(Tp(r, !0))) !== null && n !== void 0 ? n : this.items.find(Tp(r, !1)), a = "";
return i?.getAsString((s) => {
a = s;
}), a;
}
setData(r, n) {
let i = this.items.findIndex(Tp(r, !0)), a = new Op(n, r);
i >= 0 ? this.items.splice(i, 1, a) : this.items.push(a);
}
clearData(r) {
if (r) {
let n = this.items.findIndex(Tp(r, !0));
n >= 0 && this.items.remove(n);
} else
this.items.clear();
}
get types() {
let r = [];
return this.files.length && r.push("Files"), this.items.forEach((n) => r.push(n.type)), Object.freeze(r), r;
}
/* istanbul ignore next */
setDragImage() {
}
constructor() {
Rr(this, "dropEffect", "none"), Rr(this, "effectAllowed", "uninitialized"), Rr(this, "items", new pv()), Rr(this, "files", $j.createFileList(
e, []));
}
}();
}
o(Wle, "createDataTransferStub");
function Gle(e, t = []) {
let r = typeof e.DataTransfer > "u" ? Wle(e) : (
/* istanbul ignore next */
new e.DataTransfer()
);
return Object.defineProperty(r, "files", {
get: /* @__PURE__ */ o(() => $j.createFileList(e, t), "get")
}), r;
}
o(Gle, "createDataTransfer");
async function Kle(e, t) {
return t.kind === "file" ? t.getAsFile() : new e.Blob([
await new Promise((r) => t.getAsString(r))
], {
type: t.type
});
}
o(Kle, "getBlobFromDataTransferItem");
mv.createDataTransfer = Gle;
mv.getBlobFromDataTransferItem = Kle;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/dataTransfer/Clipboard.js
var K = f((Zr) => {
"use strict";
var Yle = _t(), Dj = Nj(), Bj = Sp();
function kj(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(kj, "_define_property");
function hv(e, ...t) {
let r = Object.fromEntries(t.map((n) => [
typeof n == "string" ? "text/plain" : n.type,
Promise.resolve(n)
]));
return typeof e.ClipboardItem < "u" ? new e.ClipboardItem(r) : new class {
static {
o(this, "ClipboardItem");
}
get types() {
return Array.from(Object.keys(this.data));
}
async getType(i) {
let a = await this.data[i];
if (!a)
throw new Error(`${i} is not one of the available MIME types on this item.`);
return a instanceof e.Blob ? a : new e.Blob([
a
], {
type: i
});
}
constructor(i) {
kj(this, "data", void 0), this.data = i;
}
}(r);
}
o(hv, "createClipboardItem");
var Wn = Symbol("Manage ClipboardSub");
function Lj(e, t) {
return Object.assign(new class extends e.EventTarget {
static {
o(this, "Clipboard");
}
async read() {
return Array.from(this.items);
}
async readText() {
let n = "";
for (let i of this.items) {
let a = i.types.includes("text/plain") ? "text/plain" : i.types.find((s) => s.startsWith("text/"));
a && (n += await i.getType(a).then((s) => Dj.readBlobText(s, e.FileReader)));
}
return n;
}
async write(n) {
this.items = n;
}
async writeText(n) {
this.items = [
hv(e, n)
];
}
constructor(...n) {
super(...n), kj(this, "items", []);
}
}(), {
[Wn]: t
});
}
o(Lj, "createClipboardStub");
function bv(e) {
return !!e?.[Wn];
}
o(bv, "isClipboardStub");
function Xle(e) {
if (bv(e.navigator.clipboard))
return e.navigator.clipboard[Wn];
let t = Object.getOwnPropertyDescriptor(e.navigator, "clipboard"), r, n = {
resetClipboardStub: /* @__PURE__ */ o(() => {
r = Lj(e, n);
}, "resetClipboardStub"),
detachClipboardStub: /* @__PURE__ */ o(() => {
t ? Object.defineProperty(e.navigator, "clipboard", t) : Object.defineProperty(e.navigator, "clipboard", {
value: void 0,
configurable: !0
});
}, "detachClipboardStub")
};
return r = Lj(e, n), Object.defineProperty(e.navigator, "clipboard", {
get: /* @__PURE__ */ o(() => r, "get"),
configurable: !0
}), r[Wn];
}
o(Xle, "attachClipboardStubToView");
function Fj(e) {
bv(e.navigator.clipboard) && e.navigator.clipboard[Wn].resetClipboardStub();
}
o(Fj, "resetClipboardStubOnView");
function Hj(e) {
bv(e.navigator.clipboard) && e.navigator.clipboard[Wn].detachClipboardStub();
}
o(Hj, "detachClipboardStubFromView");
async function Jle(e) {
let t = e.defaultView, r = t?.navigator.clipboard, n = r && await r.read();
if (!n)
throw new Error("The Clipboard API is unavailable.");
let i = Bj.createDataTransfer(t);
for (let a of n)
for (let s of a.types)
i.setData(s, await a.getType(s).then((l) => Dj.readBlobText(l, t.FileReader)));
return i;
}
o(Jle, "readDataTransferFromClipboard");
async function Qle(e, t) {
let r = Yle.getWindow(e), n = r.navigator.clipboard, i = [];
for (let s = 0; s < t.items.length; s++) {
let l = t.items[s], c = await Bj.getBlobFromDataTransferItem(r, l);
i.push(hv(r, c));
}
if (!(n && await n.write(i).then(
() => !0,
// Can happen with other implementations that e.g. require permissions
/* istanbul ignore next */
() => !1
)))
throw new Error("The Clipboard API is unavailable.");
}
o(Qle, "writeDataTransferToClipboard");
var Mp = globalThis;
typeof Mp.afterEach == "function" && Mp.afterEach(() => {
typeof globalThis.window < "u" && Fj(globalThis.window);
});
typeof Mp.afterAll == "function" && Mp.afterAll(() => {
typeof globalThis.window < "u" && Hj(globalThis.window);
});
Zr.attachClipboardStubToView = Xle;
Zr.createClipboardItem = hv;
Zr.detachClipboardStubFromView = Hj;
Zr.readDataTransferFromClipboard = Jle;
Zr.resetClipboardStubOnView = Fj;
Zr.writeDataTransferToClipboard = Qle;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/focus/selector.js
var yv = f((Uj) => {
"use strict";
var Zle = [
"input:not([type=hidden]):not([disabled])",
"button:not([disabled])",
"select:not([disabled])",
"textarea:not([disabled])",
'[contenteditable=""]',
'[contenteditable="true"]',
"a[href]",
"[tabindex]:not([disabled])"
].join(", ");
Uj.FOCUSABLE_SELECTOR = Zle;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/focus/isFocusable.js
var gv = f((Vj) => {
"use strict";
var eue = yv();
function tue(e) {
return e.matches(eue.FOCUSABLE_SELECTOR);
}
o(tue, "isFocusable");
Vj.isFocusable = tue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/cloneEvent.js
var Wj = f((zj) => {
"use strict";
function rue(e) {
return new e.constructor(e.type, e);
}
o(rue, "cloneEvent");
zj.cloneEvent = rue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/isDisabled.js
var Tr = f((Kj) => {
"use strict";
var Gj = Ve();
function nue(e) {
for (let r = e; r; r = r.parentElement)
if (Gj.isElementType(r, [
"button",
"input",
"select",
"textarea",
"optgroup",
"option"
])) {
if (r.hasAttribute("disabled"))
return !0;
} else if (Gj.isElementType(r, "fieldset")) {
var t;
if (r.hasAttribute("disabled") && !(!((t = r.querySelector(":scope > legend")) === null || t === void 0) && t.contains(e)))
return !0;
} else if (r.tagName.includes("-") && r.constructor.formAssociated && r.hasAttribute("disabled"))
return !0;
return !1;
}
o(nue, "isDisabled");
Kj.isDisabled = nue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/focus/getActiveElement.js
var Ap = f((Ev) => {
"use strict";
var oue = Tr();
function vv(e) {
let t = e.activeElement;
return t?.shadowRoot ? vv(t.shadowRoot) : oue.isDisabled(t) ? e.ownerDocument ? (
/* istanbul ignore next */
e.ownerDocument.body
) : e.body : t;
}
o(vv, "getActiveElement");
function iue(e) {
var t;
return (t = vv(e)) !== null && t !== void 0 ? t : (
/* istanbul ignore next */
e.body
);
}
o(iue, "getActiveElementOrBody");
Ev.getActiveElement = vv;
Ev.getActiveElementOrBody = iue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/findClosest.js
var Xj = f((Yj) => {
"use strict";
function aue(e, t) {
let r = e;
do {
if (t(r))
return r;
r = r.parentElement;
} while (r && r !== e.ownerDocument.body);
}
o(aue, "findClosest");
Yj.findClosest = aue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/edit/isContentEditable.js
var Ht = f((wv) => {
"use strict";
function sue(e) {
return e.hasAttribute("contenteditable") && (e.getAttribute("contenteditable") == "true" || e.getAttribute("contenteditable") == "");
}
o(sue, "isContentEditable");
function lue(e) {
let t = uue(e);
return t && (t.closest('[contenteditable=""]') || t.closest('[contenteditable="true"]'));
}
o(lue, "getContentEditable");
function uue(e) {
return e.nodeType === 1 ? e : e.parentElement;
}
o(uue, "getElement");
wv.getContentEditable = lue;
wv.isContentEditable = sue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/click/isClickableInput.js
var _v = f((Zj) => {
"use strict";
var Jj = Ve(), Qj = /* @__PURE__ */ function(e) {
return e.button = "button", e.color = "color", e.file = "file", e.image = "image", e.reset = "reset", e.submit = "submit", e.checkbox = "\
checkbox", e.radio = "radio", e;
}(Qj || {});
function cue(e) {
return Jj.isElementType(e, "button") || Jj.isElementType(e, "input") && e.type in Qj;
}
o(cue, "isClickableInput");
Zj.isClickableInput = cue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/edit/isEditable.js
var en = f((Cv) => {
"use strict";
var e$ = Ve(), due = Ht();
function fue(e) {
return r$(e) && !e.readOnly || due.isContentEditable(e);
}
o(fue, "isEditable");
var t$ = /* @__PURE__ */ function(e) {
return e.text = "text", e.date = "date", e["datetime-local"] = "datetime-local", e.email = "email", e.month = "month", e.number = "numbe\
r", e.password = "password", e.search = "search", e.tel = "tel", e.time = "time", e.url = "url", e.week = "week", e;
}(t$ || {});
function r$(e) {
return e$.isElementType(e, "textarea") || e$.isElementType(e, "input") && e.type in t$;
}
o(r$, "isEditableInputOrTextArea");
Cv.isEditable = fue;
Cv.isEditableInputOrTextArea = r$;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/focus/selection.js
var Ut = f((qv) => {
"use strict";
var pue = _v(), mue = en();
function hue(e) {
return n$(e) && mue.isEditableInputOrTextArea(e);
}
o(hue, "hasOwnSelection");
function bue(e) {
return n$(e) && pue.isClickableInput(e);
}
o(bue, "hasNoSelection");
function n$(e) {
return e.nodeType === 1;
}
o(n$, "isElement");
qv.hasNoSelection = bue;
qv.hasOwnSelection = hue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/updateSelectionOnFocus.js
var i$ = f((o$) => {
"use strict";
K();
var yue = Ht(), gue = Ut();
function vue(e) {
let t = e.ownerDocument.getSelection();
if (t?.focusNode && gue.hasOwnSelection(e)) {
let n = yue.getContentEditable(t.focusNode);
if (n) {
if (!t.isCollapsed) {
var r;
let i = ((r = n.firstChild) === null || r === void 0 ? void 0 : r.nodeType) === 3 ? n.firstChild : n;
t.setBaseAndExtent(i, 0, i, 0);
}
} else
t.setBaseAndExtent(e, 0, e, 0);
}
}
o(vue, "updateSelectionOnFocus");
o$.updateSelectionOnFocus = vue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js
var Pv = f((a$) => {
"use strict";
var Eue = Ft();
function wue(e, t) {
return Eue.getConfig().eventWrapper(e);
}
o(wue, "wrapEvent");
a$.wrapEvent = wue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/focus.js
var tn = f((Rv) => {
"use strict";
K();
var s$ = Ap(), l$ = gv(), _ue = Xj(), Cue = i$(), xv = Pv();
function que(e) {
let t = _ue.findClosest(e, l$.isFocusable), r = s$.getActiveElement(e.ownerDocument);
(t ?? e.ownerDocument.body) !== r && (t ? xv.wrapEvent(() => t.focus()) : xv.wrapEvent(() => r?.blur()), Cue.updateSelectionOnFocus(t ??
e.ownerDocument.body));
}
o(que, "focusElement");
function Pue(e) {
!l$.isFocusable(e) || !(s$.getActiveElement(e.ownerDocument) === e) || xv.wrapEvent(() => e.blur());
}
o(Pue, "blurElement");
Rv.blurElement = Pue;
Rv.focusElement = que;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/behavior/registry.js
var Or = f((u$) => {
"use strict";
var xue = {};
u$.behavior = xue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/behavior/click.js
var Ci = f(() => {
"use strict";
var c$ = Ve();
K();
var Rue = _t(), Tue = gv(), Oue = Wj(), Tv = tn(), Sue = Or();
Sue.behavior.click = (e, t, r) => {
let n = t.closest("button,input,label,select,textarea"), i = n && c$.isElementType(n, "label") && n.control;
if (i && i !== t)
return () => {
Tue.isFocusable(i) && (Tv.focusElement(i), r.dispatchEvent(i, Oue.cloneEvent(e)));
};
if (c$.isElementType(t, "input", {
type: "file"
}))
return () => {
Tv.blurElement(t), t.dispatchEvent(new (Rue.getWindow(t)).Event("fileDialog")), Tv.focusElement(t);
};
};
});
// ../node_modules/@testing-library/user-event/dist/cjs/document/UI.js
var Ye = f((dt) => {
"use strict";
var Gn = Symbol("Displayed value in UI"), Zt = Symbol("Displayed selection in UI"), Ip = Symbol("Initial value to compare on blur");
function Mue(e) {
return typeof e == "object" && Gn in e;
}
o(Mue, "isUIValue");
function Aue(e) {
return !!e && typeof e == "object" && Zt in e;
}
o(Aue, "isUISelectionStart");
function Iue(e, t) {
e[Ip] === void 0 && (e[Ip] = e.value), e[Gn] = t, e.value = Object.assign(new String(t), {
[Gn]: !0
});
}
o(Iue, "setUIValue");
function d$(e) {
return e[Gn] === void 0 ? e.value : String(e[Gn]);
}
o(d$, "getUIValue");
function Nue(e) {
e[Gn] = void 0;
}
o(Nue, "setUIValueClean");
function jue(e) {
e[Ip] = void 0;
}
o(jue, "clearInitialValue");
function $ue(e) {
return e[Ip];
}
o($ue, "getInitialValue");
function Lue(e, t) {
e[Zt] = t;
}
o(Lue, "setUISelectionRaw");
function Due(e, { focusOffset: t, anchorOffset: r = t }, n = "replace") {
let i = d$(e).length, a = /* @__PURE__ */ o((p) => Math.max(0, Math.min(i, p)), "sanitizeOffset"), s = n === "replace" || e[Zt] === void 0 ?
a(r) : e[Zt].anchorOffset, l = a(t), c = Math.min(s, l), u = Math.max(s, l);
if (e[Zt] = {
anchorOffset: s,
focusOffset: l
}, e.selectionStart === c && e.selectionEnd === u)
return;
let d = Object.assign(new Number(c), {
[Zt]: !0
});
try {
e.setSelectionRange(d, u);
} catch {
}
}
o(Due, "setUISelection");
function Bue(e) {
var t, r, n;
let i = (n = e[Zt]) !== null && n !== void 0 ? n : {
anchorOffset: (t = e.selectionStart) !== null && t !== void 0 ? t : 0,
focusOffset: (r = e.selectionEnd) !== null && r !== void 0 ? r : 0
};
return {
...i,
startOffset: Math.min(i.anchorOffset, i.focusOffset),
endOffset: Math.max(i.anchorOffset, i.focusOffset)
};
}
o(Bue, "getUISelection");
function kue(e) {
return !!e[Zt];
}
o(kue, "hasUISelection");
function Fue(e) {
e[Zt] = void 0;
}
o(Fue, "setUISelectionClean");
dt.clearInitialValue = jue;
dt.getInitialValue = $ue;
dt.getUISelection = Bue;
dt.getUIValue = d$;
dt.hasUISelection = kue;
dt.isUISelectionStart = Aue;
dt.isUIValue = Mue;
dt.setUISelection = Due;
dt.setUISelectionClean = Fue;
dt.setUISelectionRaw = Lue;
dt.setUIValue = Iue;
dt.setUIValueClean = Nue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/edit/timeValue.js
var p$ = f((Ov) => {
"use strict";
var Np = globalThis.parseInt;
function Hue(e) {
let t = e.replace(/\D/g, "");
if (t.length < 2)
return e;
let r = Np(t[0], 10), n = Np(t[1], 10);
if (r >= 3 || r === 2 && n >= 4) {
let i;
return r >= 3 ? i = 1 : i = 2, f$(t, i);
}
return e.length === 2 ? e : f$(t, 2);
}
o(Hue, "buildTimeValue");
function f$(e, t) {
let r = e.slice(0, t), n = Math.min(Np(r, 10), 23), i = e.slice(t), a = Np(i, 10), s = Math.min(a, 59);
return `${n.toString().padStart(2, "0")}:${s.toString().padStart(2, "0")}`;
}
o(f$, "build");
function Uue(e, t) {
let r = e.cloneNode();
return r.value = t, r.value === t;
}
o(Uue, "isValidDateOrTimeValue");
Ov.buildTimeValue = Hue;
Ov.isValidDateOrTimeValue = Uue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/edit/maxLength.js
var b$ = f((Sv) => {
"use strict";
var m$ = Ve(), h$ = /* @__PURE__ */ function(e) {
return e.email = "email", e.password = "password", e.search = "search", e.telephone = "telephone", e.text = "text", e.url = "url", e;
}(h$ || {});
function Vue(e) {
var t;
let r = (t = e.getAttribute("maxlength")) !== null && t !== void 0 ? t : "";
return /^\d+$/.test(r) && Number(r) >= 0 ? Number(r) : void 0;
}
o(Vue, "getMaxLength");
function zue(e) {
return m$.isElementType(e, "textarea") || m$.isElementType(e, "input") && e.type in h$;
}
o(zue, "supportsMaxLength");
Sv.getMaxLength = Vue;
Sv.supportsMaxLength = zue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/focus/cursor.js
var Av = f((g$) => {
"use strict";
var Wue = Ht(), Lp = Ve();
function Gue(e, t, r, n) {
if ($p(e) && t + r >= 0 && t + r <= e.nodeValue.length)
return {
node: e,
offset: t + r
};
let i = y$(e, t, r);
if (i) {
if ($p(i))
return {
node: i,
offset: r > 0 ? Math.min(1, i.nodeValue.length) : Math.max(i.nodeValue.length - 1, 0)
};
if (Lp.isElementType(i, "br")) {
let a = y$(i, void 0, r);
return a ? $p(a) ? {
node: a,
offset: r > 0 ? 0 : a.nodeValue.length
} : r < 0 && Lp.isElementType(a, "br") ? {
node: i.parentNode,
offset: jp(i)
} : {
node: a.parentNode,
offset: jp(a) + (r > 0 ? 0 : 1)
} : r < 0 && n === "deleteContentBackward" ? {
node: i.parentNode,
offset: jp(i)
} : void 0;
} else
return {
node: i.parentNode,
offset: jp(i) + (r > 0 ? 1 : 0)
};
}
}
o(Gue, "getNextCursorPosition");
function y$(e, t, r) {
let n = Number(t) + (r < 0 ? -1 : 0);
return t !== void 0 && Mv(e) && n >= 0 && n < e.children.length && (e = e.children[n]), Yue(e, r === 1 ? "next" : "previous", Kue);
}
o(y$, "getNextCharacterContentNode");
function Kue(e) {
if ($p(e))
return !0;
if (Mv(e)) {
if (Lp.isElementType(e, [
"input",
"textarea"
]))
return e.type !== "hidden";
if (Lp.isElementType(e, "br"))
return !0;
}
return !1;
}
o(Kue, "isTreatedAsCharacterContent");
function jp(e) {
let t = 0;
for (; e.previousSibling; )
t++, e = e.previousSibling;
return t;
}
o(jp, "getOffset");
function Mv(e) {
return e.nodeType === 1;
}
o(Mv, "isElement");
function $p(e) {
return e.nodeType === 3;
}
o($p, "isTextNode");
function Yue(e, t, r) {
for (; ; ) {
var n;
let i = e[`${t}Sibling`];
if (i) {
if (e = Xue(i, t === "next" ? "first" : "last"), r(e))
return e;
} else if (e.parentNode && (!Mv(e.parentNode) || !Wue.isContentEditable(e.parentNode) && e.parentNode !== ((n = e.ownerDocument) === null ||
n === void 0 ? void 0 : n.body)))
e = e.parentNode;
else
break;
}
}
o(Yue, "walkNodes");
function Xue(e, t) {
for (; e.hasChildNodes(); )
e = e[`${t}Child`];
return e;
}
o(Xue, "getDescendant");
g$.getNextCursorPosition = Gue;
});
// ../node_modules/@testing-library/user-event/dist/cjs/document/trackValue.js
var Iv = f((Dp) => {
"use strict";
K();
var Jue = _t(), qi = Ye(), Pi = Symbol("Track programmatic changes for React workaround");
function Que(e) {
return Object.getOwnPropertyNames(e).some((t) => t.startsWith("__react")) && Jue.getWindow(e).REACT_VERSION === 17;
}
o(Que, "isReact17Element");
function Zue(e) {
Que(e) && (e[Pi] = {
previousValue: String(e.value),
tracked: []
});
}
o(Zue, "startTrackValue");
function ece(e, t) {
var r, n;
(n = e[Pi]) === null || n === void 0 || (r = n.tracked) === null || r === void 0 || r.push(t), e[Pi] || (qi.setUIValueClean(e), qi.setUISelection(
e, {
focusOffset: t.length
}));
}
o(ece, "trackOrSetValue");
function tce(e, t) {
var r;
let n = e[Pi];
if (e[Pi] = void 0, !(!(n == null || (r = n.tracked) === null || r === void 0) && r.length))
return;
let i = n.tracked.length === 2 && n.tracked[0] === n.previousValue && n.tracked[1] === e.value;
i || qi.setUIValueClean(e), qi.hasUISelection(e) && qi.setUISelection(e, {
focusOffset: i ? t : e.value.length
});
}
o(tce, "commitValueAfterInput");
Dp.commitValueAfterInput = tce;
Dp.startTrackValue = Zue;
Dp.trackOrSetValue = ece;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/getTargetTypeAndSelection.js
var Nv = f((E$) => {
"use strict";
var rce = Ye();
K();
var v$ = Ht(), nce = Ut();
function oce(e) {
let t = ice(e);
if (t && nce.hasOwnSelection(t))
return {
type: "input",
selection: rce.getUISelection(t)
};
let r = t?.ownerDocument.getSelection();
return {
type: v$.getContentEditable(e) && r?.anchorNode && v$.getContentEditable(r.anchorNode) ? "contenteditable" : "default",
selection: r
};
}
o(oce, "getTargetTypeAndSelection");
function ice(e) {
return e.nodeType === 1 ? e : e.parentElement;
}
o(ice, "getElement");
E$.getTargetTypeAndSelection = oce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/getInputRange.js
var _$ = f((w$) => {
"use strict";
var ace = Nv();
function sce(e) {
let t = ace.getTargetTypeAndSelection(e);
if (t.type === "input")
return t.selection;
if (t.type === "contenteditable") {
var r;
return (r = t.selection) === null || r === void 0 ? void 0 : r.getRangeAt(0);
}
}
o(sce, "getInputRange");
w$.getInputRange = sce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/setSelection.js
var xi = f((C$) => {
"use strict";
var lce = Ye();
K();
var uce = Nv();
function cce({ focusNode: e, focusOffset: t, anchorNode: r = e, anchorOffset: n = t }) {
var i, a;
if (uce.getTargetTypeAndSelection(e).type === "input")
return lce.setUISelection(e, {
anchorOffset: n,
focusOffset: t
});
(a = r.ownerDocument) === null || a === void 0 || (i = a.getSelection()) === null || i === void 0 || i.setBaseAndExtent(r, n, e, t);
}
o(cce, "setSelection");
C$.setSelection = cce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/input.js
var Kn = f((R$) => {
"use strict";
var jv = Ye(), Lv = Ve();
K();
var $v = p$(), q$ = b$(), dce = Av(), fce = Iv(), pce = _$(), mce = xi();
function x$(e) {
return Lv.isElementType(e, "input") && [
"date",
"time"
].includes(e.type);
}
o(x$, "isDateOrTime");
function hce(e, t, r, n = "insertText") {
let i = pce.getInputRange(t);
i && (!x$(t) && !e.dispatchUIEvent(t, "beforeinput", {
inputType: n,
data: r
}) || ("startContainer" in i ? bce(e, t, i, r, n) : yce(e, t, i, r, n)));
}
o(hce, "input");
function bce(e, t, r, n, i) {
let a = !1;
if (!r.collapsed)
a = !0, r.deleteContents();
else if ([
"deleteContentBackward",
"deleteContentForward"
].includes(i)) {
let s = dce.getNextCursorPosition(r.startContainer, r.startOffset, i === "deleteContentBackward" ? -1 : 1, i);
if (s) {
a = !0;
let l = r.cloneRange();
l.comparePoint(s.node, s.offset) < 0 ? l.setStart(s.node, s.offset) : l.setEnd(s.node, s.offset), l.deleteContents();
}
}
if (n)
if (r.endContainer.nodeType === 3) {
let s = r.endOffset;
r.endContainer.insertData(s, n), r.setStart(r.endContainer, s + n.length), r.setEnd(r.endContainer, s + n.length);
} else {
let s = t.ownerDocument.createTextNode(n);
r.insertNode(s), r.setStart(s, n.length), r.setEnd(s, n.length);
}
(a || n) && e.dispatchUIEvent(t, "input", {
inputType: i
});
}
o(bce, "editContenteditable");
function yce(e, t, r, n, i) {
let a = n;
if (q$.supportsMaxLength(t)) {
let u = q$.getMaxLength(t);
if (u !== void 0 && n.length > 0) {
let d = u - t.value.length;
if (d > 0)
a = n.substring(0, d);
else
return;
}
}
let { newValue: s, newOffset: l, oldValue: c } = gce(a, t, r, i);
s === c && l === r.startOffset && l === r.endOffset || Lv.isElementType(t, "input", {
type: "number"
}) && !vce(s) || (jv.setUIValue(t, s), mce.setSelection({
focusNode: t,
anchorOffset: l,
focusOffset: l
}), x$(t) ? $v.isValidDateOrTimeValue(t, s) && (P$(e, t, l, {}), e.dispatchUIEvent(t, "change"), jv.clearInitialValue(t)) : P$(e, t, l, {
data: n,
inputType: i
}));
}
o(yce, "editInputElement");
function gce(e, t, { startOffset: r, endOffset: n }, i) {
let a = jv.getUIValue(t), s = Math.max(0, r === n && i === "deleteContentBackward" ? r - 1 : r), l = a.substring(0, s), c = Math.min(a.length,
r === n && i === "deleteContentForward" ? r + 1 : n), u = a.substring(c, a.length), d = `${l}${e}${u}`, p = s + e.length;
if (Lv.isElementType(t, "input", {
type: "time"
})) {
let b = $v.buildTimeValue(d);
b !== "" && $v.isValidDateOrTimeValue(t, b) && (d = b, p = b.length);
}
return {
oldValue: a,
newValue: d,
newOffset: p
};
}
o(gce, "calculateNewValue");
function P$(e, t, r, n) {
e.dispatchUIEvent(t, "input", n), fce.commitValueAfterInput(t, r);
}
o(P$, "commitInput");
function vce(e) {
var t, r;
let n = e.split("e", 2);
return !(/[^\d.\-e]/.test(e) || Number((t = e.match(/-/g)) === null || t === void 0 ? void 0 : t.length) > 2 || Number((r = e.match(/\./g)) ===
null || r === void 0 ? void 0 : r.length) > 1 || n[1] && !/^-?\d*$/.test(n[1]));
}
o(vce, "isValidNumberInput");
R$.input = hce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/behavior/cut.js
var Ri = f(() => {
"use strict";
K();
var Ece = en(), wce = Kn(), _ce = Or();
_ce.behavior.cut = (e, t, r) => () => {
Ece.isEditable(t) && wce.input(r, t, "", "deleteByCut");
};
});
// ../node_modules/@testing-library/user-event/dist/cjs/document/getValueOrTextContent.js
var O$ = f((T$) => {
"use strict";
K();
var Cce = Ht(), qce = Ye();
function Pce(e) {
return e ? Cce.isContentEditable(e) ? e.textContent : qce.getUIValue(e) : null;
}
o(Pce, "getValueOrTextContent");
T$.getValueOrTextContent = Pce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/isVisible.js
var M$ = f((S$) => {
"use strict";
var xce = _t();
function Rce(e) {
let t = xce.getWindow(e);
for (let r = e; r?.ownerDocument; r = r.parentElement) {
let { display: n, visibility: i } = t.getComputedStyle(r);
if (n === "none" || i === "hidden")
return !1;
}
return !0;
}
o(Rce, "isVisible");
S$.isVisible = Rce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/focus/getTabDestination.js
var I$ = f((A$) => {
"use strict";
var Tce = Tr(), Dv = Ve(), Oce = M$(), Sce = yv();
function Mce(e, t) {
let r = e.ownerDocument, n = r.querySelectorAll(Sce.FOCUSABLE_SELECTOR), i = Array.from(n).filter((c) => c === e || !(Number(c.getAttribute(
"tabindex")) < 0 || Tce.isDisabled(c)));
Number(e.getAttribute("tabindex")) >= 0 && i.sort((c, u) => {
let d = Number(c.getAttribute("tabindex")), p = Number(u.getAttribute("tabindex"));
return d === p ? 0 : d === 0 ? 1 : p === 0 ? -1 : d - p;
});
let a = {}, s = [
r.body
], l = Dv.isElementType(e, "input", {
type: "radio"
}) ? e.name : void 0;
i.forEach((c) => {
let u = c;
if (Dv.isElementType(u, "input", {
type: "radio"
}) && u.name) {
if (u === e) {
s.push(u);
return;
} else if (u.name === l)
return;
if (u.checked) {
s = s.filter((d) => !Dv.isElementType(d, "input", {
type: "radio",
name: u.name
})), s.push(u), a[u.name] = u;
return;
}
if (typeof a[u.name] < "u")
return;
}
s.push(u);
});
for (let c = s.findIndex((u) => u === e); ; )
if (c += t ? -1 : 1, c === s.length ? c = 0 : c === -1 && (c = s.length - 1), s[c] === e || s[c] === r.body || Oce.isVisible(s[c]))
return s[c];
}
o(Mce, "getTabDestination");
A$.getTabDestination = Mce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/moveSelection.js
var $$ = f((j$) => {
"use strict";
var Ace = Ye();
K();
var Ice = Av(), Nce = Ut(), N$ = xi();
function jce(e, t) {
if (Nce.hasOwnSelection(e)) {
let r = Ace.getUISelection(e);
N$.setSelection({
focusNode: e,
focusOffset: r.startOffset === r.endOffset ? r.focusOffset + t : t < 0 ? r.startOffset : r.endOffset
});
} else {
let r = e.ownerDocument.getSelection();
if (!r?.focusNode)
return;
if (r.isCollapsed) {
let n = Ice.getNextCursorPosition(r.focusNode, r.focusOffset, t);
n && N$.setSelection({
focusNode: n.node,
focusOffset: n.offset
});
} else
r[t < 0 ? "collapseToStart" : "collapseToEnd"]();
}
}
o(jce, "moveSelection");
j$.moveSelection = jce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/selectAll.js
var kv = f((Bv) => {
"use strict";
var Bp = Ye();
K();
var D$ = Ht(), B$ = Ut(), L$ = xi();
function $ce(e) {
if (B$.hasOwnSelection(e))
return L$.setSelection({
focusNode: e,
anchorOffset: 0,
focusOffset: Bp.getUIValue(e).length
});
var t;
let r = (t = D$.getContentEditable(e)) !== null && t !== void 0 ? t : e.ownerDocument.body;
L$.setSelection({
focusNode: r,
anchorOffset: 0,
focusOffset: r.childNodes.length
});
}
o($ce, "selectAll");
function Lce(e) {
if (B$.hasOwnSelection(e))
return Bp.getUISelection(e).startOffset === 0 && Bp.getUISelection(e).endOffset === Bp.getUIValue(e).length;
var t;
let r = (t = D$.getContentEditable(e)) !== null && t !== void 0 ? t : e.ownerDocument.body, n = e.ownerDocument.getSelection();
return n?.anchorNode === r && n.focusNode === r && n.anchorOffset === 0 && n.focusOffset === r.childNodes.length;
}
o(Lce, "isAllSelected");
Bv.isAllSelected = Lce;
Bv.selectAll = $ce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/setSelectionRange.js
var Fv = f((F$) => {
"use strict";
K();
var Dce = Ht(), Bce = Ut(), k$ = xi();
function kce(e, t, r) {
var n;
if (Bce.hasOwnSelection(e))
return k$.setSelection({
focusNode: e,
anchorOffset: t,
focusOffset: r
});
if (Dce.isContentEditable(e) && ((n = e.firstChild) === null || n === void 0 ? void 0 : n.nodeType) === 3)
return k$.setSelection({
focusNode: e.firstChild,
anchorOffset: t,
focusOffset: r
});
throw new Error("Not implemented. The result of this interaction is unreliable.");
}
o(kce, "setSelectionRange");
F$.setSelectionRange = kce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/radio.js
var U$ = f((H$) => {
"use strict";
K();
var Fce = Tr(), Hce = _t(), Uce = tn();
function Vce(e, t, r) {
let n = Hce.getWindow(t), i = Array.from(t.ownerDocument.querySelectorAll(t.name ? `input[type="radio"][name="${n.CSS.escape(t.name)}"]` :
'input[type="radio"][name=""], input[type="radio"]:not([name])'));
for (let a = i.findIndex((s) => s === t) + r; ; a += r) {
if (i[a] || (a = r > 0 ? 0 : i.length - 1), i[a] === t)
return;
if (!Fce.isDisabled(i[a])) {
Uce.focusElement(i[a]), e.dispatchUIEvent(i[a], "click");
return;
}
}
}
o(Vce, "walkRadio");
H$.walkRadio = Vce;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/behavior/keydown.js
var Ti = f(() => {
"use strict";
var V$ = Ye(), zce = O$(), Sr = Ve();
K();
var z$ = Ht(), W$ = en(), Wce = I$(), Gce = Ut(), Kce = tn(), G$ = Kn(), K$ = $$(), Yce = kv(), kp = Fv(), Fp = U$(), Xce = Or();
Xce.behavior.keydown = (e, t, r) => {
var n, i;
return (i = (n = Y$[e.key]) === null || n === void 0 ? void 0 : n.call(Y$, e, t, r)) !== null && i !== void 0 ? i : Jce(e, t, r);
};
var Y$ = {
ArrowDown: /* @__PURE__ */ o((e, t, r) => {
if (Sr.isElementType(t, "input", {
type: "radio"
}))
return () => Fp.walkRadio(r, t, 1);
}, "ArrowDown"),
ArrowLeft: /* @__PURE__ */ o((e, t, r) => Sr.isElementType(t, "input", {
type: "radio"
}) ? () => Fp.walkRadio(r, t, -1) : () => K$.moveSelection(t, -1), "ArrowLeft"),
ArrowRight: /* @__PURE__ */ o((e, t, r) => Sr.isElementType(t, "input", {
type: "radio"
}) ? () => Fp.walkRadio(r, t, 1) : () => K$.moveSelection(t, 1), "ArrowRight"),
ArrowUp: /* @__PURE__ */ o((e, t, r) => {
if (Sr.isElementType(t, "input", {
type: "radio"
}))
return () => Fp.walkRadio(r, t, -1);
}, "ArrowUp"),
Backspace: /* @__PURE__ */ o((e, t, r) => {
if (W$.isEditable(t))
return () => {
G$.input(r, t, "", "deleteContentBackward");
};
}, "Backspace"),
Delete: /* @__PURE__ */ o((e, t, r) => {
if (W$.isEditable(t))
return () => {
G$.input(r, t, "", "deleteContentForward");
};
}, "Delete"),
End: /* @__PURE__ */ o((e, t) => {
if (Sr.isElementType(t, [
"input",
"textarea"
]) || z$.isContentEditable(t))
return () => {
var r, n;
let i = (n = (r = zce.getValueOrTextContent(t)) === null || r === void 0 ? void 0 : r.length) !== null && n !== void 0 ? n : (
/* istanbul ignore next */
0
);
kp.setSelectionRange(t, i, i);
};
}, "End"),
Home: /* @__PURE__ */ o((e, t) => {
if (Sr.isElementType(t, [
"input",
"textarea"
]) || z$.isContentEditable(t))
return () => {
kp.setSelectionRange(t, 0, 0);
};
}, "Home"),
PageDown: /* @__PURE__ */ o((e, t) => {
if (Sr.isElementType(t, [
"input"
]))
return () => {
let r = V$.getUIValue(t).length;
kp.setSelectionRange(t, r, r);
};
}, "PageDown"),
PageUp: /* @__PURE__ */ o((e, t) => {
if (Sr.isElementType(t, [
"input"
]))
return () => {
kp.setSelectionRange(t, 0, 0);
};
}, "PageUp"),
Tab: /* @__PURE__ */ o((e, t, r) => () => {
let n = Wce.getTabDestination(t, r.system.keyboard.modifiers.Shift);
Kce.focusElement(n), Gce.hasOwnSelection(n) && V$.setUISelection(n, {
anchorOffset: 0,
focusOffset: n.value.length
});
}, "Tab")
}, Jce = /* @__PURE__ */ o((e, t, r) => {
if (e.code === "KeyA" && r.system.keyboard.modifiers.Control)
return () => Yce.selectAll(t);
}, "combinationBehavior");
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/behavior/keypress.js
var Oi = f(() => {
"use strict";
var Hp = Ve();
K();
var Qce = Ht(), Zce = en(), ede = Kn(), tde = Or();
tde.behavior.keypress = (e, t, r) => {
if (e.key === "Enter") {
if (Hp.isElementType(t, "button") || Hp.isElementType(t, "input") && rde.includes(t.type) || Hp.isElementType(t, "a") && t.href)
return () => {
r.dispatchUIEvent(t, "click");
};
if (Hp.isElementType(t, "input")) {
let n = t.form, i = n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');
return i ? () => r.dispatchUIEvent(i, "click") : n && nde.includes(t.type) && n.querySelectorAll("input").length === 1 ? () => r.dispatchUIEvent(
n, "submit") : void 0;
}
}
if (Zce.isEditable(t)) {
let n = e.key === "Enter" ? Qce.isContentEditable(t) && !r.system.keyboard.modifiers.Shift ? "insertParagraph" : "insertLineBreak" : "\
insertText", i = e.key === "Enter" ? `
` : e.key;
return () => ede.input(r, t, i, n);
}
};
var rde = [
"button",
"color",
"file",
"image",
"reset",
"submit"
], nde = [
"email",
"month",
"password",
"search",
"tel",
"text",
"url",
"week"
];
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/behavior/keyup.js
var Si = f(() => {
"use strict";
var ode = _v();
K();
var ide = Or();
ide.behavior.keyup = (e, t, r) => {
var n;
return (n = X$[e.key]) === null || n === void 0 ? void 0 : n.call(X$, e, t, r);
};
var X$ = {
" ": /* @__PURE__ */ o((e, t, r) => {
if (ode.isClickableInput(t))
return () => r.dispatchUIEvent(t, "click");
}, " ")
};
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/behavior/paste.js
var Mi = f(() => {
"use strict";
K();
var ade = en(), sde = Kn(), lde = Or();
lde.behavior.paste = (e, t, r) => {
if (ade.isEditable(t))
return () => {
var n;
let i = (n = e.clipboardData) === null || n === void 0 ? void 0 : n.getData("text");
i && sde.input(r, t, i, "insertFromPaste");
};
};
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/eventMap.js
var Hv = f((Up) => {
"use strict";
var J$ = {
auxclick: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
beforeinput: {
EventType: "InputEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
blur: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
click: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
contextmenu: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
copy: {
EventType: "ClipboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
change: {
EventType: "Event",
defaultInit: {
bubbles: !0,
cancelable: !1
}
},
cut: {
EventType: "ClipboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
dblclick: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
focus: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
focusin: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
focusout: {
EventType: "FocusEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
keydown: {
EventType: "KeyboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
keypress: {
EventType: "KeyboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
keyup: {
EventType: "KeyboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
paste: {
EventType: "ClipboardEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
input: {
EventType: "InputEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
mousedown: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseenter: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
mouseleave: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !1,
cancelable: !1,
composed: !0
}
},
mousemove: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseout: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseover: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
mouseup: {
EventType: "MouseEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerover: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerenter: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
pointerdown: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointermove: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerup: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointercancel: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !1,
composed: !0
}
},
pointerout: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !0,
cancelable: !0,
composed: !0
}
},
pointerleave: {
EventType: "PointerEvent",
defaultInit: {
bubbles: !1,
cancelable: !1
}
},
submit: {
EventType: "Event",
defaultInit: {
bubbles: !0,
cancelable: !0
}
}
};
function Q$(e) {
return J$[e].EventType;
}
o(Q$, "getEventClass");
var ude = [
"MouseEvent",
"PointerEvent"
];
function cde(e) {
return ude.includes(Q$(e));
}
o(cde, "isMouseEvent");
function dde(e) {
return Q$(e) === "KeyboardEvent";
}
o(dde, "isKeyboardEvent");
Up.eventMap = J$;
Up.isKeyboardEvent = dde;
Up.isMouseEvent = cde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/createEvent.js
var tL = f((eL) => {
"use strict";
K();
var fde = _t(), pde = Hv(), mde = {
ClipboardEvent: [
yde
],
Event: [],
FocusEvent: [
Ai,
gde
],
InputEvent: [
Ai,
vde
],
MouseEvent: [
Ai,
Uv,
Z$
],
PointerEvent: [
Ai,
Uv,
Z$,
wde
],
KeyboardEvent: [
Ai,
Uv,
Ede
]
};
function hde(e, t, r) {
let n = fde.getWindow(t), { EventType: i, defaultInit: a } = pde.eventMap[e], s = new (bde(n))[i](e, a);
return mde[i].forEach((l) => l(s, r ?? {})), s;
}
o(hde, "createEvent");
function bde(e) {
var t;
let r = (t = e.Event) !== null && t !== void 0 ? t : class {
static {
o(this, "Event");
}
};
var n;
let i = (n = e.AnimationEvent) !== null && n !== void 0 ? n : class extends r {
static {
o(this, "AnimationEvent");
}
};
var a;
let s = (a = e.ClipboardEvent) !== null && a !== void 0 ? a : class extends r {
static {
o(this, "ClipboardEvent");
}
};
var l;
let c = (l = e.PopStateEvent) !== null && l !== void 0 ? l : class extends r {
static {
o(this, "PopStateEvent");
}
};
var u;
let d = (u = e.ProgressEvent) !== null && u !== void 0 ? u : class extends r {
static {
o(this, "ProgressEvent");
}
};
var p;
let b = (p = e.TransitionEvent) !== null && p !== void 0 ? p : class extends r {
static {
o(this, "TransitionEvent");
}
};
var m;
let y = (m = e.UIEvent) !== null && m !== void 0 ? m : class extends r {
static {
o(this, "UIEvent");
}
};
var h;
let w = (h = e.CompositionEvent) !== null && h !== void 0 ? h : class extends y {
static {
o(this, "CompositionEvent");
}
};
var g;
let q = (g = e.FocusEvent) !== null && g !== void 0 ? g : class extends y {
static {
o(this, "FocusEvent");
}
};
var P;
let _ = (P = e.InputEvent) !== null && P !== void 0 ? P : class extends y {
static {
o(this, "InputEvent");
}
};
var C;
let O = (C = e.KeyboardEvent) !== null && C !== void 0 ? C : class extends y {
static {
o(this, "KeyboardEvent");
}
};
var T;
let M = (T = e.MouseEvent) !== null && T !== void 0 ? T : class extends y {
static {
o(this, "MouseEvent");
}
};
var L;
let Z = (L = e.DragEvent) !== null && L !== void 0 ? L : class extends M {
static {
o(this, "DragEvent");
}
};
var S;
let V = (S = e.PointerEvent) !== null && S !== void 0 ? S : class extends M {
static {
o(this, "PointerEvent");
}
};
var ue;
let W = (ue = e.TouchEvent) !== null && ue !== void 0 ? ue : class extends y {
static {
o(this, "TouchEvent");
}
};
return {
Event: r,
AnimationEvent: i,
ClipboardEvent: s,
PopStateEvent: c,
ProgressEvent: d,
TransitionEvent: b,
UIEvent: y,
CompositionEvent: w,
FocusEvent: q,
InputEvent: _,
KeyboardEvent: O,
MouseEvent: M,
DragEvent: Z,
PointerEvent: V,
TouchEvent: W
};
}
o(bde, "getEventConstructors");
function Mr(e, t) {
for (let [r, n] of Object.entries(t))
Object.defineProperty(e, r, {
get: /* @__PURE__ */ o(() => n ?? null, "get")
});
}
o(Mr, "assignProps");
function Pe(e) {
return Number(e ?? 0);
}
o(Pe, "sanitizeNumber");
function yde(e, { clipboardData: t }) {
Mr(e, {
clipboardData: t
});
}
o(yde, "initClipboardEvent");
function gde(e, { relatedTarget: t }) {
Mr(e, {
relatedTarget: t
});
}
o(gde, "initFocusEvent");
function vde(e, { data: t, inputType: r, isComposing: n }) {
Mr(e, {
data: t,
isComposing: !!n,
inputType: String(r)
});
}
o(vde, "initInputEvent");
function Ai(e, { view: t, detail: r }) {
Mr(e, {
view: t,
detail: Pe(r ?? 0)
});
}
o(Ai, "initUIEvent");
function Uv(e, { altKey: t, ctrlKey: r, metaKey: n, shiftKey: i, modifierAltGraph: a, modifierCapsLock: s, modifierFn: l, modifierFnLock: c,
modifierNumLock: u, modifierScrollLock: d, modifierSymbol: p, modifierSymbolLock: b }) {
Mr(e, {
altKey: !!t,
ctrlKey: !!r,
metaKey: !!n,
shiftKey: !!i,
getModifierState(m) {
return !!{
Alt: t,
AltGraph: a,
CapsLock: s,
Control: r,
Fn: l,
FnLock: c,
Meta: n,
NumLock: u,
ScrollLock: d,
Shift: i,
Symbol: p,
SymbolLock: b
}[m];
}
});
}
o(Uv, "initUIEventModifiers");
function Ede(e, { key: t, code: r, location: n, repeat: i, isComposing: a, charCode: s }) {
Mr(e, {
key: String(t),
code: String(r),
location: Pe(n),
repeat: !!i,
isComposing: !!a,
charCode: s
});
}
o(Ede, "initKeyboardEvent");
function Z$(e, { x: t, y: r, screenX: n, screenY: i, clientX: a = t, clientY: s = r, button: l, buttons: c, relatedTarget: u, offsetX: d, offsetY: p,
pageX: b, pageY: m }) {
Mr(e, {
screenX: Pe(n),
screenY: Pe(i),
clientX: Pe(a),
x: Pe(a),
clientY: Pe(s),
y: Pe(s),
button: Pe(l),
buttons: Pe(c),
relatedTarget: u,
offsetX: Pe(d),
offsetY: Pe(p),
pageX: Pe(b),
pageY: Pe(m)
});
}
o(Z$, "initMouseEvent");
function wde(e, { pointerId: t, width: r, height: n, pressure: i, tangentialPressure: a, tiltX: s, tiltY: l, twist: c, pointerType: u, isPrimary: d }) {
Mr(e, {
pointerId: Pe(t),
width: Pe(r ?? 1),
height: Pe(n ?? 1),
pressure: Pe(i),
tangentialPressure: Pe(a),
tiltX: Pe(s),
tiltY: Pe(l),
twist: Pe(c),
pointerType: String(u),
isPrimary: !!d
});
}
o(wde, "initPointerEvent");
eL.createEvent = hde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js
var zp = f((Vp) => {
"use strict";
Ci();
Ri();
Ti();
Oi();
Si();
Mi();
var rL = Or(), Vv = Pv(), nL = Hv(), oL = tL();
function _de(e, t, r, n = !1) {
(nL.isMouseEvent(t) || nL.isKeyboardEvent(t)) && (r = {
...r,
...this.system.getUIEventModifiers()
});
let i = oL.createEvent(t, e, r);
return iL.call(this, e, i, n);
}
o(_de, "dispatchUIEvent");
function iL(e, t, r = !1) {
var n;
let i = t.type, a = r ? () => {
} : (n = rL.behavior[i]) === null || n === void 0 ? void 0 : n.call(rL.behavior, t, e, this);
if (a) {
t.preventDefault();
let s = !1;
return Object.defineProperty(t, "defaultPrevented", {
get: /* @__PURE__ */ o(() => s, "get")
}), Object.defineProperty(t, "preventDefault", {
value: /* @__PURE__ */ o(() => {
s = t.cancelable;
}, "value")
}), Vv.wrapEvent(() => e.dispatchEvent(t)), s || a(), !s;
}
return Vv.wrapEvent(() => e.dispatchEvent(t));
}
o(iL, "dispatchEvent");
function Cde(e, t, r) {
let n = oL.createEvent(t, e, r);
Vv.wrapEvent(() => e.dispatchEvent(n));
}
o(Cde, "dispatchDOMEvent");
Vp.dispatchDOMEvent = Cde;
Vp.dispatchEvent = iL;
Vp.dispatchUIEvent = _de;
});
// ../node_modules/@testing-library/user-event/dist/cjs/document/patchFocus.js
var sL = f((zv) => {
"use strict";
var Yn = zp();
K();
var qde = Ap();
Ft();
var Wp = Symbol("patched focus/blur methods");
function Pde(e) {
if (e.prototype[Wp])
return;
let { focus: t, blur: r } = e.prototype;
Object.defineProperties(e.prototype, {
focus: {
configurable: !0,
get: /* @__PURE__ */ o(() => i, "get")
},
blur: {
configurable: !0,
get: /* @__PURE__ */ o(() => a, "get")
},
[Wp]: {
configurable: !0,
get: /* @__PURE__ */ o(() => ({
focus: t,
blur: r
}), "get")
}
});
let n;
function i(s) {
if (this.ownerDocument.visibilityState !== "hidden")
return t.call(this, s);
let l = aL(this.ownerDocument);
if (l === this)
return;
let c = Symbol("focus call");
n = c, l && (r.call(l), Yn.dispatchDOMEvent(l, "blur", {
relatedTarget: this
}), Yn.dispatchDOMEvent(l, "focusout", {
relatedTarget: n === c ? this : null
})), n === c && (t.call(this, s), Yn.dispatchDOMEvent(this, "focus", {
relatedTarget: l
})), n === c && Yn.dispatchDOMEvent(this, "focusin", {
relatedTarget: l
});
}
o(i, "patchedFocus");
function a() {
if (this.ownerDocument.visibilityState !== "hidden")
return r.call(this);
let s = aL(this.ownerDocument);
if (s !== this)
return;
n = Symbol("blur call"), r.call(this), Yn.dispatchDOMEvent(s, "blur", {
relatedTarget: null
}), Yn.dispatchDOMEvent(s, "focusout", {
relatedTarget: null
});
}
o(a, "patchedBlur");
}
o(Pde, "patchFocus");
function aL(e) {
let t = qde.getActiveElement(e);
return t?.tagName === "BODY" ? null : t;
}
o(aL, "getActiveTarget");
function xde(e) {
if (e.prototype[Wp]) {
let { focus: t, blur: r } = e.prototype[Wp];
Object.defineProperties(e.prototype, {
focus: {
configurable: !0,
get: /* @__PURE__ */ o(() => t, "get")
},
blur: {
configurable: !0,
get: /* @__PURE__ */ o(() => r, "get")
}
});
}
}
o(xde, "restoreFocus");
zv.patchFocus = Pde;
zv.restoreFocus = xde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/document/interceptor.js
var uL = f((Ii) => {
"use strict";
var Rde = Ve();
K();
var lL = Iv(), er = Ye(), Wv = Symbol("Interceptor for programmatical calls");
function rn(e, t, r) {
let n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), i = Object.getOwnPropertyDescriptor(e, t), a = n?.set ? "set" : "va\
lue";
if (typeof n?.[a] != "function" || n[a][Wv])
throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);
function s(...l) {
let { applyNative: c = !1, realArgs: u, then: d } = r.call(this, ...l), p = (!c && i || n)[a];
a === "set" ? p.call(this, u) : p.call(this, ...u), d?.();
}
o(s, "intercept"), s[Wv] = Wv, Object.defineProperty(e, t, {
...i ?? n,
[a]: s
});
}
o(rn, "prepareInterceptor");
function Tde(e) {
rn(e, "value", /* @__PURE__ */ o(function(r) {
let n = er.isUIValue(r);
return n && lL.startTrackValue(this), {
applyNative: !!n,
realArgs: Ode(this, r),
then: n ? void 0 : () => lL.trackOrSetValue(this, String(r))
};
}, "interceptorImpl"));
}
o(Tde, "prepareValueInterceptor");
function Ode(e, t) {
return Rde.isElementType(e, "input", {
type: "number"
}) && String(t) !== "" && !Number.isNaN(Number(t)) ? String(Number(t)) : String(t);
}
o(Ode, "sanitizeValue");
function Sde(e) {
rn(e, "setSelectionRange", /* @__PURE__ */ o(function(r, ...n) {
let i = er.isUISelectionStart(r);
return {
applyNative: !!i,
realArgs: [
Number(r),
...n
],
then: /* @__PURE__ */ o(() => i ? void 0 : er.setUISelectionClean(e), "then")
};
}, "interceptorImpl")), rn(e, "selectionStart", /* @__PURE__ */ o(function(r) {
return {
realArgs: r,
then: /* @__PURE__ */ o(() => er.setUISelectionClean(e), "then")
};
}, "interceptorImpl")), rn(e, "selectionEnd", /* @__PURE__ */ o(function(r) {
return {
realArgs: r,
then: /* @__PURE__ */ o(() => er.setUISelectionClean(e), "then")
};
}, "interceptorImpl")), rn(e, "select", /* @__PURE__ */ o(function() {
return {
realArgs: [],
then: /* @__PURE__ */ o(() => er.setUISelectionRaw(e, {
anchorOffset: 0,
focusOffset: er.getUIValue(e).length
}), "then")
};
}, "interceptorImpl"));
}
o(Sde, "prepareSelectionInterceptor");
function Mde(e) {
rn(e, "setRangeText", /* @__PURE__ */ o(function(...r) {
return {
realArgs: r,
then: /* @__PURE__ */ o(() => {
er.setUIValueClean(e), er.setUISelectionClean(e);
}, "then")
};
}, "interceptorImpl"));
}
o(Mde, "prepareRangeTextInterceptor");
Ii.prepareInterceptor = rn;
Ii.prepareRangeTextInterceptor = Mde;
Ii.prepareSelectionInterceptor = Sde;
Ii.prepareValueInterceptor = Tde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/document/prepareDocument.js
var pL = f((fL) => {
"use strict";
var Ade = zp(), Ide = Ve();
K();
var cL = Ye();
Ft();
var Gv = uL(), Xn = Symbol("Node prepared with document state workarounds");
function Nde(e) {
e[Xn] || (e.addEventListener("focus", (t) => {
let r = t.target;
dL(r);
}, {
capture: !0,
passive: !0
}), e.activeElement && dL(e.activeElement), e.addEventListener("blur", (t) => {
let r = t.target, n = cL.getInitialValue(r);
n !== void 0 && (r.value !== n && Ade.dispatchDOMEvent(r, "change"), cL.clearInitialValue(r));
}, {
capture: !0,
passive: !0
}), e[Xn] = Xn);
}
o(Nde, "prepareDocument");
function dL(e) {
e[Xn] || (Ide.isElementType(e, [
"input",
"textarea"
]) && (Gv.prepareValueInterceptor(e), Gv.prepareSelectionInterceptor(e), Gv.prepareRangeTextInterceptor(e)), e[Xn] = Xn);
}
o(dL, "prepareElement");
fL.prepareDocument = Nde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/getDocumentFromNode.js
var hL = f((mL) => {
"use strict";
function jde(e) {
return $de(e) ? e : e.ownerDocument;
}
o(jde, "getDocumentFromNode");
function $de(e) {
return e.nodeType === 9;
}
o($de, "isDocument");
mL.getDocumentFromNode = jde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/level.js
var Kp = f((Gp) => {
"use strict";
var Lde = /* @__PURE__ */ function(e) {
return e[e.Trigger = 2] = "Trigger", e[e.Call = 1] = "Call", e;
}({});
function Dde(e, t) {
e.levelRefs[t] = {};
}
o(Dde, "setLevelRef");
function Bde(e, t) {
return e.levelRefs[t];
}
o(Bde, "getLevelRef");
Gp.ApiLevel = Lde;
Gp.getLevelRef = Bde;
Gp.setLevelRef = Dde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/wait.js
var Ni = f((bL) => {
"use strict";
function kde(e) {
let t = e.delay;
if (typeof t == "number")
return Promise.all([
new Promise((r) => globalThis.setTimeout(() => r(), t)),
e.advanceTimers(t)
]);
}
o(kde, "wait");
bL.wait = kde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/options.js
var Yp = f((yL) => {
"use strict";
var Fde = /* @__PURE__ */ function(e) {
return e[e.EachTrigger = 4] = "EachTrigger", e[e.EachApiCall = 2] = "EachApiCall", e[e.EachTarget = 1] = "EachTarget", e[e.Never = 0] = "\
Never", e;
}({});
yL.PointerEventsCheckLevel = Fde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/keyboard.js
var Jv = f((Xv) => {
"use strict";
K();
var Kv = Ap();
function nn(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(nn, "_define_property");
var Hde = /* @__PURE__ */ function(e) {
return e[e.STANDARD = 0] = "STANDARD", e[e.LEFT = 1] = "LEFT", e[e.RIGHT = 2] = "RIGHT", e[e.NUMPAD = 3] = "NUMPAD", e;
}({}), Ude = [
"Alt",
"AltGraph",
"Control",
"Fn",
"Meta",
"Shift",
"Symbol"
];
function gL(e) {
return Ude.includes(e);
}
o(gL, "isModifierKey");
var Vde = [
"CapsLock",
"FnLock",
"NumLock",
"ScrollLock",
"SymbolLock"
];
function vL(e) {
return Vde.includes(e);
}
o(vL, "isModifierLock");
var Yv = class {
static {
o(this, "KeyboardHost");
}
isKeyPressed(t) {
return this.pressed.has(String(t.code));
}
getPressedKeys() {
return this.pressed.values().map((t) => t.keyDef);
}
/** Press a key */
async keydown(t, r) {
let n = String(r.key), i = String(r.code), a = Kv.getActiveElementOrBody(t.config.document);
this.setKeydownTarget(a), this.pressed.add(i, r), gL(n) && (this.modifiers[n] = !0);
let s = t.dispatchUIEvent(a, "keydown", {
key: n,
code: i
});
vL(n) && !this.modifiers[n] && (this.modifiers[n] = !0, this.modifierLockStart[n] = !0), s && this.pressed.setUnprevented(i), s && this.
hasKeyPress(n) && t.dispatchUIEvent(Kv.getActiveElementOrBody(t.config.document), "keypress", {
key: n,
code: i,
charCode: r.key === "Enter" ? 13 : String(r.key).charCodeAt(0)
});
}
/** Release a key */
async keyup(t, r) {
let n = String(r.key), i = String(r.code), a = this.pressed.isUnprevented(i);
this.pressed.delete(i), gL(n) && !this.pressed.values().find((s) => s.keyDef.key === n) && (this.modifiers[n] = !1), t.dispatchUIEvent(
Kv.getActiveElementOrBody(t.config.document), "keyup", {
key: n,
code: i
}, !a), vL(n) && this.modifiers[n] && (this.modifierLockStart[n] ? this.modifierLockStart[n] = !1 : this.modifiers[n] = !1);
}
setKeydownTarget(t) {
t !== this.lastKeydownTarget && (this.carryChar = ""), this.lastKeydownTarget = t;
}
hasKeyPress(t) {
return (t.length === 1 || t === "Enter") && !this.modifiers.Control && !this.modifiers.Alt;
}
constructor(t) {
nn(this, "system", void 0), nn(this, "modifiers", {
Alt: !1,
AltGraph: !1,
CapsLock: !1,
Control: !1,
Fn: !1,
FnLock: !1,
Meta: !1,
NumLock: !1,
ScrollLock: !1,
Shift: !1,
Symbol: !1,
SymbolLock: !1
}), nn(this, "pressed", new class {
add(r, n) {
var i, a, s;
(s = (i = this.registry)[a = r]) !== null && s !== void 0 || (i[a] = {
keyDef: n,
unpreventedDefault: !1
});
}
has(r) {
return !!this.registry[r];
}
setUnprevented(r) {
let n = this.registry[r];
n && (n.unpreventedDefault = !0);
}
isUnprevented(r) {
var n;
return !!(!((n = this.registry[r]) === null || n === void 0) && n.unpreventedDefault);
}
delete(r) {
delete this.registry[r];
}
values() {
return Object.values(this.registry);
}
constructor() {
nn(this, "registry", {});
}
}()), nn(this, "carryChar", ""), nn(this, "lastKeydownTarget", void 0), nn(this, "modifierLockStart", {}), this.system = t;
}
};
Xv.DOM_KEY_LOCATION = Hde;
Xv.KeyboardHost = Yv;
});
// ../node_modules/@testing-library/user-event/dist/cjs/keyboard/keyMap.js
var wL = f((EL) => {
"use strict";
var Vt = Jv(), zde = [
// alphanumeric block - writing system
..."0123456789".split("").map((e) => ({
code: `Digit${e}`,
key: e
})),
...")!@#$%^&*(".split("").map((e, t) => ({
code: `Digit${t}`,
key: e,
shiftKey: !0
})),
..."abcdefghijklmnopqrstuvwxyz".split("").map((e) => ({
code: `Key${e.toUpperCase()}`,
key: e
})),
..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map((e) => ({
code: `Key${e}`,
key: e,
shiftKey: !0
})),
{
code: "BracketLeft",
key: "["
},
{
code: "BracketLeft",
key: "{",
shiftKey: !0
},
{
code: "BracketRight",
key: "]"
},
{
code: "BracketRight",
key: "}",
shiftKey: !0
},
// alphanumeric block - functional
{
code: "Space",
key: " "
},
{
code: "AltLeft",
key: "Alt",
location: Vt.DOM_KEY_LOCATION.LEFT
},
{
code: "AltRight",
key: "Alt",
location: Vt.DOM_KEY_LOCATION.RIGHT
},
{
code: "ShiftLeft",
key: "Shift",
location: Vt.DOM_KEY_LOCATION.LEFT
},
{
code: "ShiftRight",
key: "Shift",
location: Vt.DOM_KEY_LOCATION.RIGHT
},
{
code: "ControlLeft",
key: "Control",
location: Vt.DOM_KEY_LOCATION.LEFT
},
{
code: "ControlRight",
key: "Control",
location: Vt.DOM_KEY_LOCATION.RIGHT
},
{
code: "MetaLeft",
key: "Meta",
location: Vt.DOM_KEY_LOCATION.LEFT
},
{
code: "MetaRight",
key: "Meta",
location: Vt.DOM_KEY_LOCATION.RIGHT
},
{
code: "OSLeft",
key: "OS",
location: Vt.DOM_KEY_LOCATION.LEFT
},
{
code: "OSRight",
key: "OS",
location: Vt.DOM_KEY_LOCATION.RIGHT
},
{
code: "ContextMenu",
key: "ContextMenu"
},
{
code: "Tab",
key: "Tab"
},
{
code: "CapsLock",
key: "CapsLock"
},
{
code: "Backspace",
key: "Backspace"
},
{
code: "Enter",
key: "Enter"
},
// function
{
code: "Escape",
key: "Escape"
},
// arrows
{
code: "ArrowUp",
key: "ArrowUp"
},
{
code: "ArrowDown",
key: "ArrowDown"
},
{
code: "ArrowLeft",
key: "ArrowLeft"
},
{
code: "ArrowRight",
key: "ArrowRight"
},
// control pad
{
code: "Home",
key: "Home"
},
{
code: "End",
key: "End"
},
{
code: "Delete",
key: "Delete"
},
{
code: "PageUp",
key: "PageUp"
},
{
code: "PageDown",
key: "PageDown"
},
// Special keys that are not part of a default US-layout but included for specific behavior
{
code: "Fn",
key: "Fn"
},
{
code: "Symbol",
key: "Symbol"
},
{
code: "AltRight",
key: "AltGraph"
}
];
EL.defaultKeyMap = zde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/pointer/keyMap.js
var CL = f((_L) => {
"use strict";
var Wde = [
{
name: "MouseLeft",
pointerType: "mouse",
button: "primary"
},
{
name: "MouseRight",
pointerType: "mouse",
button: "secondary"
},
{
name: "MouseMiddle",
pointerType: "mouse",
button: "auxiliary"
},
{
name: "TouchA",
pointerType: "touch"
},
{
name: "TouchB",
pointerType: "touch"
},
{
name: "TouchC",
pointerType: "touch"
}
];
_L.defaultKeyMap = Wde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/pointer/buttons.js
var Jp = f((Jn) => {
"use strict";
function Gde(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(Gde, "_define_property");
var Qv = class {
static {
o(this, "Buttons");
}
getButtons() {
let t = 0;
for (let r of Object.keys(this.pressed))
t |= 2 ** Number(r);
return t;
}
down(t) {
let r = Xp(t.button);
if (r in this.pressed) {
this.pressed[r].push(t);
return;
}
return this.pressed[r] = [
t
], r;
}
up(t) {
let r = Xp(t.button);
if (r in this.pressed && (this.pressed[r] = this.pressed[r].filter((n) => n.name !== t.name), this.pressed[r].length === 0))
return delete this.pressed[r], r;
}
constructor() {
Gde(this, "pressed", {});
}
}, Zv = {
primary: 0,
secondary: 1,
auxiliary: 2,
back: 3,
X1: 3,
forward: 4,
X2: 4
};
function Xp(e = 0) {
return e in Zv ? Zv[e] : Number(e);
}
o(Xp, "getMouseButtonId");
var eE = {
1: 2,
2: 1
};
function Kde(e) {
return e = Xp(e), e in eE ? eE[e] : e;
}
o(Kde, "getMouseEventButton");
Jn.Buttons = Qv;
Jn.MouseButton = Zv;
Jn.MouseButtonFlip = eE;
Jn.getMouseButtonId = Xp;
Jn.getMouseEventButton = Kde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/pointer/device.js
var PL = f((qL) => {
"use strict";
function Yde(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(Yde, "_define_property");
var tE = class {
static {
o(this, "Device");
}
get countPressed() {
return this.pressedKeys.size;
}
isPressed(t) {
return this.pressedKeys.has(t.name);
}
addPressed(t) {
return this.pressedKeys.add(t.name);
}
removePressed(t) {
return this.pressedKeys.delete(t.name);
}
constructor() {
Yde(this, "pressedKeys", /* @__PURE__ */ new Set());
}
};
qL.Device = tE;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/misc/getTreeDiff.js
var rE = f((xL) => {
"use strict";
function Xde(e, t) {
let r = [];
for (let a = e; a; a = a.parentElement)
r.push(a);
let n = [];
for (let a = t; a; a = a.parentElement)
n.push(a);
let i = 0;
for (; !(i >= r.length || i >= n.length || r[r.length - 1 - i] !== n[n.length - 1 - i]); i++)
;
return [
r.slice(0, r.length - i),
n.slice(0, n.length - i),
n.slice(n.length - i)
];
}
o(Xde, "getTreeDiff");
xL.getTreeDiff = Xde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/resolveCaretPosition.js
var nE = f((TL) => {
"use strict";
var Jde = Ye();
K();
var Qde = Ut();
function Zde({ target: e, node: t, offset: r }) {
return Qde.hasOwnSelection(e) ? {
node: e,
offset: r ?? Jde.getUIValue(e).length
} : t ? {
node: t,
offset: r ?? (t.nodeType === 3 ? t.nodeValue.length : t.childNodes.length)
} : RL(e, r);
}
o(Zde, "resolveCaretPosition");
function RL(e, t, r = !0) {
let n = t === void 0 ? e.childNodes.length - 1 : 0, i = t === void 0 ? -1 : 1;
for (; t === void 0 ? n >= (r ? Math.max(e.childNodes.length - 1, 0) : 0) : n <= e.childNodes.length; ) {
if (t && n === e.childNodes.length)
throw new Error("The given offset is out of bounds.");
let a = e.childNodes.item(n), s = String(a.textContent);
if (s.length)
if (t !== void 0 && s.length < t)
t -= s.length;
else {
if (a.nodeType === 1)
return RL(a, t, !1);
if (a.nodeType === 3)
return {
node: a,
offset: t ?? a.nodeValue.length
};
}
n += i;
}
return {
node: e,
offset: e.childNodes.length
};
}
o(RL, "findNodeAtTextOffset");
TL.resolveCaretPosition = Zde;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/setSelectionPerMouse.js
var IL = f((AL) => {
"use strict";
var OL = Ye();
K();
var SL = Ut(), ML = nE();
function efe({ document: e, target: t, clickCount: r, node: n, offset: i }) {
if (SL.hasNoSelection(t))
return;
let a = SL.hasOwnSelection(t), s = String(a ? OL.getUIValue(t) : t.textContent), [l, c] = n ? (
// which elements might be considered in the same line of text.
// TODO: support expanding initial range on multiple clicks if node is given
[
i,
i
]
) : tfe(s, i, r);
if (a)
return OL.setUISelection(t, {
anchorOffset: l ?? s.length,
focusOffset: c ?? s.length
}), {
node: t,
start: l ?? 0,
end: c ?? s.length
};
{
let { node: u, offset: d } = ML.resolveCaretPosition({
target: t,
node: n,
offset: l
}), { node: p, offset: b } = ML.resolveCaretPosition({
target: t,
node: n,
offset: c
}), m = t.ownerDocument.createRange();
try {
m.setStart(u, d), m.setEnd(p, b);
} catch {
throw new Error("The given offset is out of bounds.");
}
let y = e.getSelection();
return y?.removeAllRanges(), y?.addRange(m.cloneRange()), m;
}
}
o(efe, "setSelectionPerMouseDown");
function tfe(e, t, r) {
if (r % 3 === 1 || e.length === 0)
return [
t,
t
];
let n = t ?? e.length;
return r % 3 === 2 ? [
n - e.substr(0, t).match(/(\w+|\s+|\W)?$/)[0].length,
t === void 0 ? t : t + e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length
] : [
n - e.substr(0, t).match(/[^\r\n]*$/)[0].length,
t === void 0 ? t : t + e.substr(t).match(/^[^\r\n]*/)[0].length
];
}
o(tfe, "getTextRange");
AL.setSelectionPerMouseDown = efe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/event/selection/modifySelectionPerMouse.js
var jL = f((NL) => {
"use strict";
var rfe = Ye();
K();
var nfe = nE();
function ofe(e, { document: t, target: r, node: n, offset: i }) {
let a = nfe.resolveCaretPosition({
target: r,
node: n,
offset: i
});
if ("node" in e) {
if (a.node === e.node) {
let s = a.offset < e.start ? e.end : e.start, l = a.offset > e.end || a.offset < e.start ? a.offset : e.end;
rfe.setUISelection(e.node, {
anchorOffset: s,
focusOffset: l
});
}
} else {
let s = e.cloneRange(), l = s.comparePoint(a.node, a.offset);
l < 0 ? s.setStart(a.node, a.offset) : l > 0 && s.setEnd(a.node, a.offset);
let c = t.getSelection();
c?.removeAllRanges(), c?.addRange(s.cloneRange());
}
}
o(ofe, "modifySelectionPerMouseMove");
NL.modifySelectionPerMouseMove = ofe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/pointer/shared.js
var oE = f(($L) => {
"use strict";
function ife(e, t) {
var r, n, i, a, s, l, c, u, d, p, b, m, y, h, w, g, q, P, _, C, O, T, M, L;
return e.target !== t.target || ((r = e.coords) === null || r === void 0 ? void 0 : r.x) !== ((n = t.coords) === null || n === void 0 ? void 0 :
n.x) || ((i = e.coords) === null || i === void 0 ? void 0 : i.y) !== ((a = t.coords) === null || a === void 0 ? void 0 : a.y) || ((s = e.
coords) === null || s === void 0 ? void 0 : s.clientX) !== ((l = t.coords) === null || l === void 0 ? void 0 : l.clientX) || ((c = e.coords) ===
null || c === void 0 ? void 0 : c.clientY) !== ((u = t.coords) === null || u === void 0 ? void 0 : u.clientY) || ((d = e.coords) === null ||
d === void 0 ? void 0 : d.offsetX) !== ((p = t.coords) === null || p === void 0 ? void 0 : p.offsetX) || ((b = e.coords) === null || b ===
void 0 ? void 0 : b.offsetY) !== ((m = t.coords) === null || m === void 0 ? void 0 : m.offsetY) || ((y = e.coords) === null || y === void 0 ?
void 0 : y.pageX) !== ((h = t.coords) === null || h === void 0 ? void 0 : h.pageX) || ((w = e.coords) === null || w === void 0 ? void 0 :
w.pageY) !== ((g = t.coords) === null || g === void 0 ? void 0 : g.pageY) || ((q = e.coords) === null || q === void 0 ? void 0 : q.screenX) !==
((P = t.coords) === null || P === void 0 ? void 0 : P.screenX) || ((_ = e.coords) === null || _ === void 0 ? void 0 : _.screenY) !== ((C =
t.coords) === null || C === void 0 ? void 0 : C.screenY) || ((O = e.caret) === null || O === void 0 ? void 0 : O.node) !== ((T = t.caret) ===
null || T === void 0 ? void 0 : T.node) || ((M = e.caret) === null || M === void 0 ? void 0 : M.offset) !== ((L = t.caret) === null || L ===
void 0 ? void 0 : L.offset);
}
o(ife, "isDifferentPointerPosition");
$L.isDifferentPointerPosition = ife;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/pointer/mouse.js
var kL = f((BL) => {
"use strict";
Ci();
Ri();
Ti();
Oi();
Si();
Mi();
Ft();
K();
var LL = Tr(), DL = rE(), afe = tn(), sfe = IL(), lfe = jL(), iE = Jp(), ufe = oE();
function on(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(on, "_define_property");
var aE = class {
static {
o(this, "Mouse");
}
move(t, r, n) {
let i = this.position, a = this.getTarget(t);
if (this.position = r, !ufe.isDifferentPointerPosition(i, r))
return;
let s = this.getTarget(t), l = this.getEventInit("mousemove"), [c, u] = DL.getTreeDiff(a, s);
return {
leave: /* @__PURE__ */ o(() => {
a !== s && (t.dispatchUIEvent(a, "mouseout", l), c.forEach((d) => t.dispatchUIEvent(d, "mouseleave", l)));
}, "leave"),
enter: /* @__PURE__ */ o(() => {
a !== s && (t.dispatchUIEvent(s, "mouseover", l), u.forEach((d) => t.dispatchUIEvent(d, "mouseenter", l)));
}, "enter"),
move: /* @__PURE__ */ o(() => {
n || (t.dispatchUIEvent(s, "mousemove", l), this.modifySelecting(t));
}, "move")
};
}
down(t, r, n) {
let i = this.buttons.down(r);
if (i === void 0)
return;
let a = this.getTarget(t);
this.buttonDownTarget[i] = a;
let s = this.getEventInit("mousedown", r.button), l = LL.isDisabled(a);
!n && (l || t.dispatchUIEvent(a, "mousedown", s)) && (this.startSelecting(t, s.detail), afe.focusElement(a)), !l && iE.getMouseEventButton(
r.button) === 2 && t.dispatchUIEvent(a, "contextmenu", this.getEventInit("contextmenu", r.button));
}
up(t, r, n) {
let i = this.buttons.up(r);
if (i === void 0)
return;
let a = this.getTarget(t);
if (!LL.isDisabled(a)) {
if (!n) {
let l = this.getEventInit("mouseup", r.button);
t.dispatchUIEvent(a, "mouseup", l), this.endSelecting();
}
let s = DL.getTreeDiff(this.buttonDownTarget[i], a)[2][0];
if (s) {
let l = this.getEventInit("click", r.button);
l.detail && (t.dispatchUIEvent(s, l.button === 0 ? "click" : "auxclick", l), l.button === 0 && l.detail === 2 && t.dispatchUIEvent(
s, "dblclick", {
...this.getEventInit("dblclick", r.button),
detail: l.detail
}));
}
}
}
resetClickCount() {
this.clickCount.reset();
}
getEventInit(t, r) {
let n = {
...this.position.coords
};
return n.button = iE.getMouseEventButton(r), n.buttons = this.buttons.getButtons(), t === "mousedown" ? n.detail = this.clickCount.getOnDown(
n.button) : t === "mouseup" ? n.detail = this.clickCount.getOnUp(n.button) : (t === "click" || t === "auxclick") && (n.detail = this.clickCount.
incOnClick(n.button)), n;
}
getTarget(t) {
var r;
return (r = this.position.target) !== null && r !== void 0 ? r : t.config.document.body;
}
startSelecting(t, r) {
var n, i;
this.selecting = sfe.setSelectionPerMouseDown({
document: t.config.document,
target: this.getTarget(t),
node: (n = this.position.caret) === null || n === void 0 ? void 0 : n.node,
offset: (i = this.position.caret) === null || i === void 0 ? void 0 : i.offset,
clickCount: r
});
}
modifySelecting(t) {
var r, n;
this.selecting && lfe.modifySelectionPerMouseMove(this.selecting, {
document: t.config.document,
target: this.getTarget(t),
node: (r = this.position.caret) === null || r === void 0 ? void 0 : r.node,
offset: (n = this.position.caret) === null || n === void 0 ? void 0 : n.offset
});
}
endSelecting() {
this.selecting = void 0;
}
constructor() {
on(this, "position", {}), on(this, "buttons", new iE.Buttons()), on(this, "selecting", void 0), on(this, "buttonDownTarget", {}), on(this,
"clickCount", new class {
incOnClick(t) {
let r = this.down[t] === void 0 ? void 0 : Number(this.down[t]) + 1;
return this.count = this.count[t] === void 0 ? {} : {
[t]: Number(this.count[t]) + 1
}, r;
}
getOnDown(t) {
var r;
this.down = {
[t]: (r = this.count[t]) !== null && r !== void 0 ? r : 0
};
var n;
return this.count = {
[t]: (n = this.count[t]) !== null && n !== void 0 ? n : 0
}, Number(this.count[t]) + 1;
}
getOnUp(t) {
return this.down[t] === void 0 ? void 0 : Number(this.down[t]) + 1;
}
reset() {
this.count = {};
}
constructor() {
on(this, "down", {}), on(this, "count", {});
}
}());
}
};
BL.Mouse = aE;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/pointer/cssPointerEvents.js
var Qp = f((lE) => {
"use strict";
var sE = Yp(), cfe = _t(), FL = Ve(), Ct = Kp();
function dfe(e, t) {
var r;
return ((r = VL(e, t)) === null || r === void 0 ? void 0 : r.pointerEvents) !== "none";
}
o(dfe, "hasPointerEvents");
function ffe(e) {
let t = cfe.getWindow(e);
for (let r = e, n = []; r?.ownerDocument; r = r.parentElement) {
n.push(r);
let i = t.getComputedStyle(r).pointerEvents;
if (i && ![
"inherit",
"unset"
].includes(i))
return {
pointerEvents: i,
tree: n
};
}
}
o(ffe, "closestPointerEventsDeclaration");
var HL = Symbol("Last check for pointer-events");
function VL(e, t) {
let r = t[HL];
if (!(e.config.pointerEventsCheck !== sE.PointerEventsCheckLevel.Never && (!r || UL(e.config.pointerEventsCheck, sE.PointerEventsCheckLevel.
EachApiCall) && r[Ct.ApiLevel.Call] !== Ct.getLevelRef(e, Ct.ApiLevel.Call) || UL(e.config.pointerEventsCheck, sE.PointerEventsCheckLevel.
EachTrigger) && r[Ct.ApiLevel.Trigger] !== Ct.getLevelRef(e, Ct.ApiLevel.Trigger))))
return r?.result;
let i = ffe(t);
return t[HL] = {
[Ct.ApiLevel.Call]: Ct.getLevelRef(e, Ct.ApiLevel.Call),
[Ct.ApiLevel.Trigger]: Ct.getLevelRef(e, Ct.ApiLevel.Trigger),
result: i
}, i;
}
o(VL, "checkPointerEvents");
function pfe(e, t) {
let r = VL(e, t);
if (r?.pointerEvents === "none")
throw new Error([
`Unable to perform pointer interaction as the element ${r.tree.length > 1 ? "inherits" : "has"} \`pointer-events: none\`:`,
"",
mfe(r.tree)
].join(`
`));
}
o(pfe, "assertPointerEvents");
function mfe(e) {
return e.reverse().map((t, r) => [
"".padEnd(r),
t.tagName,
t.id && `#${t.id}`,
t.hasAttribute("data-testid") && `(testId=${t.getAttribute("data-testid")})`,
hfe(t),
e.length > 1 && r === 0 && " <-- This element declared `pointer-events: none`",
e.length > 1 && r === e.length - 1 && " <-- Asserted pointer events here"
].filter(Boolean).join("")).join(`
`);
}
o(mfe, "printTree");
function hfe(e) {
var t;
let r;
if (e.hasAttribute("aria-label"))
r = e.getAttribute("aria-label");
else if (e.hasAttribute("aria-labelledby")) {
var n, i;
r = (i = e.ownerDocument.getElementById(e.getAttribute("aria-labelledby"))) === null || i === void 0 || (n = i.textContent) === null ||
n === void 0 ? void 0 : n.trim();
} else if (FL.isElementType(e, [
"button",
"input",
"meter",
"output",
"progress",
"select",
"textarea"
]) && (!((t = e.labels) === null || t === void 0) && t.length))
r = Array.from(e.labels).map((s) => {
var l;
return (l = s.textContent) === null || l === void 0 ? void 0 : l.trim();
}).join("|");
else if (FL.isElementType(e, "button")) {
var a;
r = (a = e.textContent) === null || a === void 0 ? void 0 : a.trim();
}
return r = r?.replace(/\n/g, " "), Number(r?.length) > 30 && (r = `${r?.substring(0, 29)}\u2026`), r ? `(label=${r})` : "";
}
o(hfe, "getLabelDescr");
function UL(e, t) {
return (e & t) > 0;
}
o(UL, "hasBitFlag");
lE.assertPointerEvents = pfe;
lE.hasPointerEvents = dfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/pointer/pointer.js
var WL = f((zL) => {
"use strict";
K();
var uE = rE(), Qn = Qp(), bfe = oE(), yfe = Jp();
function tr(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(tr, "_define_property");
var cE = class {
static {
o(this, "Pointer");
}
init(t) {
let r = this.getTarget(t), [, n] = uE.getTreeDiff(null, r), i = this.getEventInit();
return Qn.assertPointerEvents(t, r), t.dispatchUIEvent(r, "pointerover", i), n.forEach((a) => t.dispatchUIEvent(a, "pointerenter", i)),
this;
}
move(t, r) {
let n = this.position, i = this.getTarget(t);
if (this.position = r, !bfe.isDifferentPointerPosition(n, r))
return;
let a = this.getTarget(t), s = this.getEventInit(-1), [l, c] = uE.getTreeDiff(i, a);
return {
leave: /* @__PURE__ */ o(() => {
Qn.hasPointerEvents(t, i) && i !== a && (t.dispatchUIEvent(i, "pointerout", s), l.forEach((u) => t.dispatchUIEvent(u, "pointerleav\
e", s)));
}, "leave"),
enter: /* @__PURE__ */ o(() => {
Qn.assertPointerEvents(t, a), i !== a && (t.dispatchUIEvent(a, "pointerover", s), c.forEach((u) => t.dispatchUIEvent(u, "pointeren\
ter", s)));
}, "enter"),
move: /* @__PURE__ */ o(() => {
t.dispatchUIEvent(a, "pointermove", s);
}, "move")
};
}
down(t, r = 0) {
if (this.isDown)
return;
let n = this.getTarget(t);
Qn.assertPointerEvents(t, n), this.isDown = !0, this.isPrevented = !t.dispatchUIEvent(n, "pointerdown", this.getEventInit(r));
}
up(t, r = 0) {
if (!this.isDown)
return;
let n = this.getTarget(t);
Qn.assertPointerEvents(t, n), this.isPrevented = !1, this.isDown = !1, t.dispatchUIEvent(n, "pointerup", this.getEventInit(r));
}
release(t) {
let r = this.getTarget(t), [n] = uE.getTreeDiff(r, null), i = this.getEventInit();
Qn.hasPointerEvents(t, r) && (t.dispatchUIEvent(r, "pointerout", i), n.forEach((a) => t.dispatchUIEvent(a, "pointerleave", i))), this.
isCancelled = !0;
}
getTarget(t) {
var r;
return (r = this.position.target) !== null && r !== void 0 ? r : t.config.document.body;
}
getEventInit(t) {
return {
...this.position.coords,
pointerId: this.pointerId,
pointerType: this.pointerType,
isPrimary: this.isPrimary,
button: yfe.getMouseEventButton(t),
buttons: this.buttons.getButtons()
};
}
constructor({ pointerId: t, pointerType: r, isPrimary: n }, i) {
tr(this, "pointerId", void 0), tr(this, "pointerType", void 0), tr(this, "isPrimary", void 0), tr(this, "buttons", void 0), tr(this, "\
isMultitouch", !1), tr(this, "isCancelled", !1), tr(this, "isDown", !1), tr(this, "isPrevented", !1), tr(this, "position", {}), this.pointerId =
t, this.pointerType = r, this.isPrimary = n, this.isMultitouch = !n, this.buttons = i;
}
};
zL.Pointer = cE;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js
var KL = f((GL) => {
"use strict";
var gfe = Jp(), vfe = PL(), Efe = kL(), wfe = WL();
function Ar(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(Ar, "_define_property");
var dE = class {
static {
o(this, "PointerHost");
}
isKeyPressed(t) {
return this.devices.get(t.pointerType).isPressed(t);
}
async press(t, r, n) {
this.devices.get(r.pointerType).addPressed(r), this.buttons.down(r);
let i = this.getPointerName(r), a = r.pointerType === "touch" ? this.pointers.new(i, r.pointerType, this.buttons) : this.pointers.get(
i);
a.position = n, a.pointerType !== "touch" && (this.mouse.position = n), a.pointerType === "touch" && a.init(t), a.down(t, r.button), a.
pointerType !== "touch" && this.mouse.down(t, r, a.isPrevented);
}
async move(t, r, n) {
let i = this.pointers.get(r), a = i.move(t, n), s = i.pointerType === "touch" ? void 0 : this.mouse.move(t, n, i.isPrevented);
a?.leave(), s?.leave(), a?.enter(), s?.enter(), a?.move(), s?.move();
}
async release(t, r, n) {
let i = this.devices.get(r.pointerType);
i.removePressed(r), this.buttons.up(r);
let a = this.pointers.get(this.getPointerName(r)), s = a.isPrevented;
if (a.position = n, a.pointerType !== "touch" && (this.mouse.position = n), i.countPressed === 0 && a.up(t, r.button), a.pointerType ===
"touch" && a.release(t), a.pointerType === "touch" && !a.isMultitouch) {
let l = this.mouse.move(t, n, s);
l?.leave(), l?.enter(), l?.move(), this.mouse.down(t, r, s);
}
if (!a.isMultitouch) {
let l = this.mouse.move(t, n, s);
l?.leave(), l?.enter(), l?.move(), this.mouse.up(t, r, s);
}
}
getPointerName(t) {
return t.pointerType === "touch" ? t.name : t.pointerType;
}
getPreviousPosition(t) {
return this.pointers.has(t) ? this.pointers.get(t).position : void 0;
}
resetClickCount() {
this.mouse.resetClickCount();
}
getMouseTarget(t) {
var r;
return (r = this.mouse.position.target) !== null && r !== void 0 ? r : t.config.document.body;
}
setMousePosition(t) {
this.mouse.position = t, this.pointers.get("mouse").position = t;
}
constructor(t) {
Ar(this, "system", void 0), Ar(this, "mouse", void 0), Ar(this, "buttons", void 0), Ar(this, "devices", new class {
get(r) {
var n, i, a;
return (a = (n = this.registry)[i = r]) !== null && a !== void 0 ? a : n[i] = new vfe.Device();
}
constructor() {
Ar(this, "registry", {});
}
}()), Ar(this, "pointers", new class {
new(r, n, i) {
let a = n !== "touch" || !Object.values(this.registry).some((s) => s.pointerType === "touch" && !s.isCancelled);
return a || Object.values(this.registry).forEach((s) => {
s.pointerType === n && !s.isCancelled && (s.isMultitouch = !0);
}), this.registry[r] = new wfe.Pointer({
pointerId: this.nextId++,
pointerType: n,
isPrimary: a
}, i), this.registry[r];
}
get(r) {
if (!this.has(r))
throw new Error(`Trying to access pointer "${r}" which does not exist.`);
return this.registry[r];
}
has(r) {
return r in this.registry;
}
constructor() {
Ar(this, "registry", {}), Ar(this, "nextId", 1);
}
}()), this.system = t, this.buttons = new gfe.Buttons(), this.mouse = new Efe.Mouse(), this.pointers.new("mouse", "mouse", this.buttons);
}
};
GL.PointerHost = dE;
});
// ../node_modules/@testing-library/user-event/dist/cjs/system/index.js
var JL = f((XL) => {
"use strict";
var _fe = Jv(), Cfe = KL();
function YL(e, t, r) {
return t in e ? Object.defineProperty(e, t, {
value: r,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = r, e;
}
o(YL, "_define_property");
var fE = class {
static {
o(this, "System");
}
getUIEventModifiers() {
return {
altKey: this.keyboard.modifiers.Alt,
ctrlKey: this.keyboard.modifiers.Control,
metaKey: this.keyboard.modifiers.Meta,
shiftKey: this.keyboard.modifiers.Shift,
modifierAltGraph: this.keyboard.modifiers.AltGraph,
modifierCapsLock: this.keyboard.modifiers.CapsLock,
modifierFn: this.keyboard.modifiers.Fn,
modifierFnLock: this.keyboard.modifiers.FnLock,
modifierNumLock: this.keyboard.modifiers.NumLock,
modifierScrollLock: this.keyboard.modifiers.ScrollLock,
modifierSymbol: this.keyboard.modifiers.Symbol,
modifierSymbolLock: this.keyboard.modifiers.SymbolLock
};
}
constructor() {
YL(this, "keyboard", new _fe.KeyboardHost(this)), YL(this, "pointer", new Cfe.PointerHost(this));
}
};
XL.System = fE;
});
// ../node_modules/@testing-library/user-event/dist/cjs/convenience/click.js
var QL = f((Zp) => {
"use strict";
async function qfe(e) {
let t = [];
return this.config.skipHover || t.push({
target: e
}), t.push({
keys: "[MouseLeft]",
target: e
}), this.pointer(t);
}
o(qfe, "click");
async function Pfe(e) {
return this.pointer([
{
target: e
},
"[MouseLeft][MouseLeft]"
]);
}
o(Pfe, "dblClick");
async function xfe(e) {
return this.pointer([
{
target: e
},
"[MouseLeft][MouseLeft][MouseLeft]"
]);
}
o(xfe, "tripleClick");
Zp.click = qfe;
Zp.dblClick = Pfe;
Zp.tripleClick = xfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/convenience/hover.js
var ZL = f((pE) => {
"use strict";
K();
var Rfe = Qp();
async function Tfe(e) {
return this.pointer({
target: e
});
}
o(Tfe, "hover");
async function Ofe(e) {
return Rfe.assertPointerEvents(this, this.system.pointer.getMouseTarget(this)), this.pointer({
target: e.ownerDocument.body
});
}
o(Ofe, "unhover");
pE.hover = Tfe;
pE.unhover = Ofe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/convenience/tab.js
var tD = f((eD) => {
"use strict";
async function Sfe({ shift: e } = {}) {
return this.keyboard(e === !0 ? "{Shift>}{Tab}{/Shift}" : e === !1 ? "[/ShiftLeft][/ShiftRight]{Tab}" : "{Tab}");
}
o(Sfe, "tab");
eD.tab = Sfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/keyDef/readNextDescriptor.js
var hE = f((oD) => {
"use strict";
var mE = /* @__PURE__ */ function(e) {
return e["{"] = "}", e["["] = "]", e;
}(mE || {});
function Mfe(e, t) {
let r = 0, n = e[r] in mE ? e[r] : "";
r += n.length;
let a = new RegExp(`^\\${n}{2}`).test(e) ? "" : n;
return {
type: a,
...a === "" ? Afe(e, r, t) : Ife(e, r, a, t)
};
}
o(Mfe, "readNextDescriptor");
function Afe(e, t, r) {
let n = e[t];
return rD(n, e, t, r), t += n.length, {
consumedLength: t,
descriptor: n,
releasePrevious: !1,
releaseSelf: !0,
repeat: 1
};
}
o(Afe, "readPrintableChar");
function Ife(e, t, r, n) {
var i, a;
let s = e[t] === "/" ? "/" : "";
t += s.length;
let l = r === "{" && e[t] === "\\";
t += Number(l);
let c = l ? e[t] : (i = e.slice(t).match(r === "{" ? /^\w+|^[^}>/]/ : /^\w+/)) === null || i === void 0 ? void 0 : i[0];
rD(c, e, t, n), t += c.length;
var u;
let d = (u = (a = e.slice(t).match(/^>\d+/)) === null || a === void 0 ? void 0 : a[0]) !== null && u !== void 0 ? u : "";
t += d.length;
let p = e[t] === "/" || !d && e[t] === ">" ? e[t] : "";
t += p.length;
let b = mE[r], m = e[t] === b ? b : "";
if (!m)
throw new Error(nD([
!d && "repeat modifier",
!p && "release modifier",
`"${b}"`
].filter(Boolean).join(" or "), e[t], e, n));
return t += m.length, {
consumedLength: t,
descriptor: c,
releasePrevious: !!s,
repeat: d ? Math.max(Number(d.substr(1)), 1) : 1,
releaseSelf: Nfe(p, d)
};
}
o(Ife, "readTag");
function rD(e, t, r, n) {
if (!e)
throw new Error(nD("key descriptor", t[r], t, n));
}
o(rD, "assertDescriptor");
function Nfe(e, t) {
if (e)
return e === "/";
if (t)
return !1;
}
o(Nfe, "hasReleaseSelf");
function nD(e, t, r, n) {
return `Expected ${e} but found "${t ?? ""}" in "${r}"
See ${n === "pointer" ? "https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen" : "https://testin\
g-library.com/docs/user-event/keyboard"}
for more information about how userEvent parses your input.`;
}
o(nD, "getErrorMessage");
oD.readNextDescriptor = Mfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/keyboard/parseKeyDef.js
var aD = f((iD) => {
"use strict";
K();
var jfe = hE();
function $fe(e, t) {
let r = [];
do {
let { type: i, descriptor: a, consumedLength: s, releasePrevious: l, releaseSelf: c = !0, repeat: u } = jfe.readNextDescriptor(t, "key\
board");
var n;
let d = (n = e.find((p) => {
if (i === "[") {
var b;
return ((b = p.code) === null || b === void 0 ? void 0 : b.toLowerCase()) === a.toLowerCase();
} else if (i === "{") {
var m;
return ((m = p.key) === null || m === void 0 ? void 0 : m.toLowerCase()) === a.toLowerCase();
}
return p.key === a;
})) !== null && n !== void 0 ? n : {
key: "Unknown",
code: "Unknown",
[i === "[" ? "code" : "key"]: a
};
r.push({
keyDef: d,
releasePrevious: l,
releaseSelf: c,
repeat: u
}), t = t.slice(s);
} while (t);
return r;
}
o($fe, "parseKeyDef");
iD.parseKeyDef = $fe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/keyboard/index.js
var yE = f((bE) => {
"use strict";
K();
var sD = Ni(), Lfe = aD();
async function Dfe(e) {
let t = Lfe.parseKeyDef(this.config.keyboardMap, e);
for (let r = 0; r < t.length; r++)
await sD.wait(this.config), await Bfe(this, t[r]);
}
o(Dfe, "keyboard");
async function Bfe(e, { keyDef: t, releasePrevious: r, releaseSelf: n, repeat: i }) {
let { system: a } = e;
if (a.keyboard.isKeyPressed(t) && await a.keyboard.keyup(e, t), !r) {
for (let s = 1; s <= i; s++)
await a.keyboard.keydown(e, t), s < i && await sD.wait(e.config);
n && await a.keyboard.keyup(e, t);
}
}
o(Bfe, "keyboardAction");
async function kfe(e) {
for (let t of e.system.keyboard.getPressedKeys())
await e.system.keyboard.keyup(e, t);
}
o(kfe, "releaseAllKeys");
bE.keyboard = Dfe;
bE.releaseAllKeys = kfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/document/copySelection.js
var gE = f((uD) => {
"use strict";
var Ffe = Sp();
K();
var Hfe = _t(), Ufe = Ut(), lD = Ye();
function Vfe(e) {
let t = Ufe.hasOwnSelection(e) ? {
"text/plain": zfe(e)
} : {
"text/plain": String(e.ownerDocument.getSelection())
}, r = Ffe.createDataTransfer(Hfe.getWindow(e));
for (let n in t)
t[n] && r.setData(n, t[n]);
return r;
}
o(Vfe, "copySelection");
function zfe(e) {
let t = lD.getUISelection(e);
return lD.getUIValue(e).substring(t.startOffset, t.endOffset);
}
o(zfe, "readSelectedValueFromInput");
uD.copySelection = Vfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/clipboard/copy.js
var dD = f((cD) => {
"use strict";
var Wfe = K(), Gfe = gE();
async function Kfe() {
let e = this.config.document;
var t;
let r = (t = e.activeElement) !== null && t !== void 0 ? t : (
/* istanbul ignore next */
e.body
), n = Gfe.copySelection(r);
if (n.items.length !== 0)
return this.dispatchUIEvent(r, "copy", {
clipboardData: n
}) && this.config.writeToClipboard && await Wfe.writeDataTransferToClipboard(e, n), n;
}
o(Kfe, "copy");
cD.copy = Kfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/clipboard/cut.js
var pD = f((fD) => {
"use strict";
var Yfe = K(), Xfe = gE();
async function Jfe() {
let e = this.config.document;
var t;
let r = (t = e.activeElement) !== null && t !== void 0 ? t : (
/* istanbul ignore next */
e.body
), n = Xfe.copySelection(r);
if (n.items.length !== 0)
return this.dispatchUIEvent(r, "cut", {
clipboardData: n
}) && this.config.writeToClipboard && await Yfe.writeDataTransferToClipboard(r.ownerDocument, n), n;
}
o(Jfe, "cut");
fD.cut = Jfe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/clipboard/paste.js
var hD = f((mD) => {
"use strict";
var Qfe = Sp(), Zfe = K(), epe = _t();
async function tpe(e) {
let t = this.config.document;
var r;
let n = (r = t.activeElement) !== null && r !== void 0 ? r : (
/* istanbul ignore next */
t.body
);
var i;
let a = (i = typeof e == "string" ? rpe(t, e) : e) !== null && i !== void 0 ? i : await Zfe.readDataTransferFromClipboard(t).catch(() => {
throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.");
});
this.dispatchUIEvent(n, "paste", {
clipboardData: a
});
}
o(tpe, "paste");
function rpe(e, t) {
let r = Qfe.createDataTransfer(epe.getWindow(e));
return r.setData("text", t), r;
}
o(rpe, "getClipboardDataFromString");
mD.paste = tpe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/pointer/parseKeyDef.js
var yD = f((bD) => {
"use strict";
K();
var npe = hE();
function ope(e, t) {
let r = [];
do {
let { descriptor: n, consumedLength: i, releasePrevious: a, releaseSelf: s = !0 } = npe.readNextDescriptor(t, "pointer"), l = e.find((c) => c.
name === n);
l && r.push({
keyDef: l,
releasePrevious: a,
releaseSelf: s
}), t = t.slice(i);
} while (t);
return r;
}
o(ope, "parseKeyDef");
bD.parseKeyDef = ope;
});
// ../node_modules/@testing-library/user-event/dist/cjs/pointer/index.js
var wD = f((ED) => {
"use strict";
K();
var Ir = Kp(), ipe = Ni(), gD = yD();
async function ape(e) {
let { pointerMap: t } = this.config, r = [];
(Array.isArray(e) ? e : [
e
]).forEach((n) => {
typeof n == "string" ? r.push(...gD.parseKeyDef(t, n)) : "keys" in n ? r.push(...gD.parseKeyDef(t, n.keys).map((i) => ({
...n,
...i
}))) : r.push(n);
});
for (let n = 0; n < r.length; n++)
await ipe.wait(this.config), await spe(this, r[n]);
this.system.pointer.resetClickCount();
}
o(ape, "pointer");
async function spe(e, t) {
var r, n;
let i = "pointerName" in t && t.pointerName ? t.pointerName : "keyDef" in t ? e.system.pointer.getPointerName(t.keyDef) : "mouse", a = e.
system.pointer.getPreviousPosition(i);
var s, l, c, u;
let d = {
target: (s = t.target) !== null && s !== void 0 ? s : lpe(e, a),
coords: (l = t.coords) !== null && l !== void 0 ? l : a?.coords,
caret: {
node: (c = t.node) !== null && c !== void 0 ? c : vD(t) || a == null || (r = a.caret) === null || r === void 0 ? void 0 : r.node,
offset: (u = t.offset) !== null && u !== void 0 ? u : vD(t) || a == null || (n = a.caret) === null || n === void 0 ? void 0 : n.offset
}
};
"keyDef" in t ? (e.system.pointer.isKeyPressed(t.keyDef) && (Ir.setLevelRef(e, Ir.ApiLevel.Trigger), await e.system.pointer.release(e, t.
keyDef, d)), t.releasePrevious || (Ir.setLevelRef(e, Ir.ApiLevel.Trigger), await e.system.pointer.press(e, t.keyDef, d), t.releaseSelf &&
(Ir.setLevelRef(e, Ir.ApiLevel.Trigger), await e.system.pointer.release(e, t.keyDef, d)))) : (Ir.setLevelRef(e, Ir.ApiLevel.Trigger), await e.
system.pointer.move(e, i, d));
}
o(spe, "pointerAction");
function vD(e) {
var t, r;
return !!((r = (t = e.target) !== null && t !== void 0 ? t : e.node) !== null && r !== void 0 ? r : e.offset !== void 0);
}
o(vD, "hasCaretPosition");
function lpe(e, t) {
if (!t)
throw new Error("This pointer has no previous position. Provide a target property!");
var r;
return (r = t.target) !== null && r !== void 0 ? r : e.config.document.body;
}
o(lpe, "getPrevTarget");
ED.pointer = ape;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utility/clear.js
var qD = f((CD) => {
"use strict";
Ci();
Ri();
Ti();
Oi();
Si();
Mi();
Ft();
K();
var upe = en(), cpe = Tr(), dpe = tn(), fpe = Kn(), _D = kv();
async function ppe(e) {
if (!upe.isEditable(e) || cpe.isDisabled(e))
throw new Error("clear()` is only supported on editable elements.");
if (dpe.focusElement(e), e.ownerDocument.activeElement !== e)
throw new Error("The element to be cleared could not be focused.");
if (_D.selectAll(e), !_D.isAllSelected(e))
throw new Error("The element content to be cleared could not be selected.");
fpe.input(this, e, "", "deleteContentBackward");
}
o(ppe, "clear");
CD.clear = ppe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utility/selectOptions.js
var SD = f((vE) => {
"use strict";
var em = Ft(), mpe = Ve();
K();
var PD = Tr(), xD = Ni(), RD = Qp();
Ci();
Ri();
Ti();
Oi();
Si();
Mi();
var TD = tn();
async function hpe(e, t) {
return OD.call(this, !0, e, t);
}
o(hpe, "selectOptions");
async function bpe(e, t) {
return OD.call(this, !1, e, t);
}
o(bpe, "deselectOptions");
async function OD(e, t, r) {
if (!e && !t.multiple)
throw em.getConfig().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection\
instead.", t);
let n = Array.isArray(r) ? r : [
r
], i = Array.from(t.querySelectorAll('option, [role="option"]')), a = n.map((l) => {
if (typeof l != "string" && i.includes(l))
return l;
{
let c = i.find((u) => u.value === l || u.innerHTML === l);
if (c)
return c;
throw em.getConfig().getElementError(`Value "${String(l)}" not found in options`, t);
}
}).filter((l) => !PD.isDisabled(l));
if (PD.isDisabled(t) || !a.length) return;
let s = /* @__PURE__ */ o((l) => {
l.selected = e, this.dispatchUIEvent(t, "input", {
bubbles: !0,
cancelable: !1,
composed: !0
}), this.dispatchUIEvent(t, "change");
}, "selectOption");
if (mpe.isElementType(t, "select"))
if (t.multiple)
for (let l of a) {
let c = this.config.pointerEventsCheck === 0 ? !0 : RD.hasPointerEvents(this, l);
c && (this.dispatchUIEvent(l, "pointerover"), this.dispatchUIEvent(t, "pointerenter"), this.dispatchUIEvent(l, "mouseover"), this.
dispatchUIEvent(t, "mouseenter"), this.dispatchUIEvent(l, "pointermove"), this.dispatchUIEvent(l, "mousemove"), this.dispatchUIEvent(
l, "pointerdown"), this.dispatchUIEvent(l, "mousedown")), TD.focusElement(t), c && (this.dispatchUIEvent(l, "pointerup"), this.dispatchUIEvent(
l, "mouseup")), s(l), c && this.dispatchUIEvent(l, "click"), await xD.wait(this.config);
}
else if (a.length === 1) {
let l = this.config.pointerEventsCheck === 0 ? !0 : RD.hasPointerEvents(this, t);
l ? await this.click(t) : TD.focusElement(t), s(a[0]), l && (this.dispatchUIEvent(t, "pointerover"), this.dispatchUIEvent(t, "pointe\
renter"), this.dispatchUIEvent(t, "mouseover"), this.dispatchUIEvent(t, "mouseenter"), this.dispatchUIEvent(t, "pointerup"), this.dispatchUIEvent(
t, "mouseup"), this.dispatchUIEvent(t, "click")), await xD.wait(this.config);
} else
throw em.getConfig().getElementError("Cannot select multiple options on a non-multiple select", t);
else if (t.getAttribute("role") === "listbox")
for (let l of a)
await this.click(l), await this.unhover(l);
else
throw em.getConfig().getElementError("Cannot select options on elements that are neither select nor listbox elements", t);
}
o(OD, "selectOptionsBase");
vE.deselectOptions = bpe;
vE.selectOptions = hpe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utility/type.js
var AD = f((MD) => {
"use strict";
var ype = yE();
K();
var gpe = Fv();
async function vpe(e, t, { skipClick: r = this.config.skipClick, skipAutoClose: n = this.config.skipAutoClose, initialSelectionStart: i, initialSelectionEnd: a } = {}) {
e.disabled || (r || await this.click(e), i !== void 0 && gpe.setSelectionRange(e, i, a ?? i), await this.keyboard(t), n || await ype.releaseAllKeys(
this));
}
o(vpe, "type");
MD.type = vpe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utils/edit/setFiles.js
var jD = f((ND) => {
"use strict";
var ID = Symbol("files and value properties are mocked");
function EE(e, t, r) {
r ? Object.defineProperty(e, t, r) : delete e[t];
}
o(EE, "restoreProperty");
function Epe(e, t) {
var r;
(r = e[ID]) === null || r === void 0 || r.restore();
let n = Object.getOwnPropertyDescriptor(e, "type"), i = Object.getOwnPropertyDescriptor(e, "value"), a = Object.getOwnPropertyDescriptor(
e, "files");
function s() {
EE(e, "type", n), EE(e, "value", i), EE(e, "files", a);
}
o(s, "restore"), e[ID] = {
restore: s
}, Object.defineProperties(e, {
files: {
configurable: !0,
get: /* @__PURE__ */ o(() => t, "get")
},
value: {
configurable: !0,
get: /* @__PURE__ */ o(() => t.length ? `C:\\fakepath\\${t[0].name}` : "", "get"),
set(l) {
if (l === "")
s();
else {
var c;
i == null || (c = i.set) === null || c === void 0 || c.call(e, l);
}
}
},
type: {
configurable: !0,
get: /* @__PURE__ */ o(() => "file", "get"),
set(l) {
l !== "file" && (s(), e.type = l);
}
}
});
}
o(Epe, "setFiles");
ND.setFiles = Epe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/utility/upload.js
var DD = f((LD) => {
"use strict";
var $D = Ve(), wpe = fv();
K();
var _pe = jD(), Cpe = Tr(), qpe = _t();
async function Ppe(e, t) {
let r = $D.isElementType(e, "label") ? e.control : e;
if (!r || !$D.isElementType(r, "input", {
type: "file"
}))
throw new TypeError(`The ${r === e ? "given" : "associated"} ${r?.tagName} element does not accept file uploads`);
if (Cpe.isDisabled(e)) return;
let n = (Array.isArray(t) ? t : [
t
]).filter((a) => !this.config.applyAccept || xpe(a, r.accept)).slice(0, r.multiple ? void 0 : 1), i = /* @__PURE__ */ o(() => {
var a;
n.length === ((a = r.files) === null || a === void 0 ? void 0 : a.length) && n.every((s, l) => {
var c;
return s === ((c = r.files) === null || c === void 0 ? void 0 : c.item(l));
}) || (_pe.setFiles(r, wpe.createFileList(qpe.getWindow(e), n)), this.dispatchUIEvent(r, "input"), this.dispatchUIEvent(r, "change"));
}, "fileDialog");
r.addEventListener("fileDialog", i), await this.click(e), r.removeEventListener("fileDialog", i);
}
o(Ppe, "upload");
function tm(e) {
return e.toLowerCase().replace(/(\.|\/)jpg\b/g, "$1jpeg");
}
o(tm, "normalize");
function xpe(e, t) {
if (!t)
return !0;
let r = [
"audio/*",
"image/*",
"video/*"
];
return tm(t).trim().split(/\s*,\s*/).some((n) => n.startsWith(".") ? tm(e.name).endsWith(n) : r.includes(n) ? tm(e.type).startsWith(n.replace(
"*", "")) : tm(e.type) === n);
}
o(xpe, "isAcceptableFile");
LD.upload = Ppe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/setup/api.js
var HD = f((FD) => {
"use strict";
var wE = QL(), BD = ZL(), Rpe = tD(), Tpe = yE(), Ope = dD(), Spe = pD(), Mpe = hD(), Ape = wD(), Ipe = qD(), kD = SD(), Npe = AD(), jpe = DD(),
$pe = {
click: wE.click,
dblClick: wE.dblClick,
tripleClick: wE.tripleClick,
hover: BD.hover,
unhover: BD.unhover,
tab: Rpe.tab,
keyboard: Tpe.keyboard,
copy: Ope.copy,
cut: Spe.cut,
paste: Mpe.paste,
pointer: Ape.pointer,
clear: Ipe.clear,
deselectOptions: kD.deselectOptions,
selectOptions: kD.selectOptions,
type: Npe.type,
upload: jpe.upload
};
FD.userEventApi = $pe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/setup/wrapAsync.js
var VD = f((UD) => {
"use strict";
var Lpe = Ft();
function Dpe(e) {
return Lpe.getConfig().asyncWrapper(e);
}
o(Dpe, "wrapAsync");
UD.wrapAsync = Dpe;
});
// ../node_modules/@testing-library/user-event/dist/cjs/setup/setup.js
var CE = f((Zn) => {
"use strict";
var KD = sL(), YD = pL(), zD = zp(), Bpe = K(), XD = _t(), kpe = hL(), WD = Kp(), Fpe = Ni(), Hpe = Yp();
Ft();
var Upe = wL(), Vpe = CL(), JD = JL(), GD = HD(), zpe = VD(), QD = {
applyAccept: !0,
autoModify: !0,
delay: 0,
document: globalThis.document,
keyboardMap: Upe.defaultKeyMap,
pointerMap: Vpe.defaultKeyMap,
pointerEventsCheck: Hpe.PointerEventsCheckLevel.EachApiCall,
skipAutoClose: !1,
skipClick: !1,
skipHover: !1,
writeToClipboard: !1,
advanceTimers: /* @__PURE__ */ o(() => Promise.resolve(), "advanceTimers")
}, Wpe = {
...QD,
writeToClipboard: !0
};
function _E(e = {}, t = Wpe, r) {
let n = Xpe(e, r, t);
return {
...t,
...e,
document: n
};
}
o(_E, "createConfig");
function Gpe(e = {}) {
let t = _E(e);
YD.prepareDocument(t.document), KD.patchFocus(XD.getWindow(t.document).HTMLElement);
var r;
let n = (r = t.document.defaultView) !== null && r !== void 0 ? r : (
/* istanbul ignore next */
globalThis.window
);
return Bpe.attachClipboardStubToView(n), rm(t).api;
}
o(Gpe, "setupMain");
function Kpe({ keyboardState: e, pointerState: t, ...r } = {}, n) {
let i = _E(r, QD, n);
YD.prepareDocument(i.document), KD.patchFocus(XD.getWindow(i.document).HTMLElement);
var a;
let s = (a = t ?? e) !== null && a !== void 0 ? a : new JD.System();
return {
api: rm(i, s).api,
system: s
};
}
o(Kpe, "setupDirect");
function ZD(e) {
return rm({
...this.config,
...e
}, this.system).api;
}
o(ZD, "setupSub");
function Ype(e, t) {
function r(...n) {
return WD.setLevelRef(e, WD.ApiLevel.Call), zpe.wrapAsync(() => t.apply(e, n).then(async (i) => (await Fpe.wait(e.config), i)));
}
return o(r, "method"), Object.defineProperty(r, "name", {
get: /* @__PURE__ */ o(() => t.name, "get")
}), r;
}
o(Ype, "wrapAndBindImpl");
function rm(e, t = new JD.System()) {
let r = {};
return Object.assign(r, {
config: e,
dispatchEvent: zD.dispatchEvent.bind(r),
dispatchUIEvent: zD.dispatchUIEvent.bind(r),
system: t,
levelRefs: {},
...GD.userEventApi
}), {
instance: r,
api: {
...Object.fromEntries(Object.entries(GD.userEventApi).map(([n, i]) => [
n,
Ype(r, i)
])),
setup: ZD.bind(r)
}
};
}
o(rm, "createInstance");
function Xpe(e, t, r) {
var n, i;
return (i = (n = e.document) !== null && n !== void 0 ? n : t && kpe.getDocumentFromNode(t)) !== null && i !== void 0 ? i : r.document;
}
o(Xpe, "getDocument");
Zn.createConfig = _E;
Zn.createInstance = rm;
Zn.setupDirect = Kpe;
Zn.setupMain = Gpe;
Zn.setupSub = ZD;
});
// ../node_modules/@testing-library/user-event/dist/cjs/setup/directApi.js
var eB = f((Fe) => {
"use strict";
var ze = CE();
function Jpe(e) {
return ze.setupDirect().api.clear(e);
}
o(Jpe, "clear");
function Qpe(e, t = {}) {
return ze.setupDirect(t, e).api.click(e);
}
o(Qpe, "click");
function Zpe(e = {}) {
return ze.setupDirect(e).api.copy();
}
o(Zpe, "copy");
function eme(e = {}) {
return ze.setupDirect(e).api.cut();
}
o(eme, "cut");
function tme(e, t = {}) {
return ze.setupDirect(t).api.dblClick(e);
}
o(tme, "dblClick");
function rme(e, t, r = {}) {
return ze.setupDirect(r).api.deselectOptions(e, t);
}
o(rme, "deselectOptions");
function nme(e, t = {}) {
return ze.setupDirect(t).api.hover(e);
}
o(nme, "hover");
async function ome(e, t = {}) {
let { api: r, system: n } = ze.setupDirect(t);
return r.keyboard(e).then(() => n);
}
o(ome, "keyboard");
async function ime(e, t = {}) {
let { api: r, system: n } = ze.setupDirect(t);
return r.pointer(e).then(() => n);
}
o(ime, "pointer");
function ame(e, t) {
return ze.setupDirect(t).api.paste(e);
}
o(ame, "paste");
function sme(e, t, r = {}) {
return ze.setupDirect(r).api.selectOptions(e, t);
}
o(sme, "selectOptions");
function lme(e, t = {}) {
return ze.setupDirect(t).api.tripleClick(e);
}
o(lme, "tripleClick");
function ume(e, t, r = {}) {
return ze.setupDirect(r, e).api.type(e, t, r);
}
o(ume, "type");
function cme(e, t = {}) {
let { api: r, system: n } = ze.setupDirect(t);
return n.pointer.setMousePosition({
target: e
}), r.unhover(e);
}
o(cme, "unhover");
function dme(e, t, r = {}) {
return ze.setupDirect(r).api.upload(e, t);
}
o(dme, "upload");
function fme(e = {}) {
return ze.setupDirect().api.tab(e);
}
o(fme, "tab");
Fe.clear = Jpe;
Fe.click = Qpe;
Fe.copy = Zpe;
Fe.cut = eme;
Fe.dblClick = tme;
Fe.deselectOptions = rme;
Fe.hover = nme;
Fe.keyboard = ome;
Fe.paste = ame;
Fe.pointer = ime;
Fe.selectOptions = sme;
Fe.tab = fme;
Fe.tripleClick = lme;
Fe.type = ume;
Fe.unhover = cme;
Fe.upload = dme;
});
// ../node_modules/@testing-library/user-event/dist/cjs/setup/index.js
var rB = f((tB) => {
"use strict";
var pme = CE(), mme = eB(), hme = {
...mme,
setup: pme.setupMain
};
tB.userEvent = hme;
});
// ../node_modules/@testing-library/user-event/dist/cjs/index.js
var oB = f((ji) => {
"use strict";
Object.defineProperty(ji, "__esModule", { value: !0 });
var nB = rB(), bme = Yp();
ji.default = nB.userEvent;
ji.userEvent = nB.userEvent;
ji.PointerEventsCheckLevel = bme.PointerEventsCheckLevel;
});
// ../node_modules/ts-dedent/dist/index.js
var aB = f(($i) => {
"use strict";
Object.defineProperty($i, "__esModule", { value: !0 });
$i.dedent = void 0;
function iB(e) {
for (var t = [], r = 1; r < arguments.length; r++)
t[r - 1] = arguments[r];
var n = Array.from(typeof e == "string" ? [e] : e);
n[n.length - 1] = n[n.length - 1].replace(/\r?\n([\t ]*)$/, "");
var i = n.reduce(function(l, c) {
var u = c.match(/\n([\t ]+|(?!\s).)/g);
return u ? l.concat(u.map(function(d) {
var p, b;
return (b = (p = d.match(/[\t ]/g)) === null || p === void 0 ? void 0 : p.length) !== null && b !== void 0 ? b : 0;
})) : l;
}, []);
if (i.length) {
var a = new RegExp(`
[ ]{` + Math.min.apply(Math, i) + "}", "g");
n = n.map(function(l) {
return l.replace(a, `
`);
});
}
n[0] = n[0].replace(/^\r?\n/, "");
var s = n[0];
return t.forEach(function(l, c) {
var u = s.match(/(?:^|\n)( *)$/), d = u ? u[1] : "", p = l;
typeof l == "string" && l.includes(`
`) && (p = String(l).split(`
`).map(function(b, m) {
return m === 0 ? b : "" + d + b;
}).join(`
`)), s += p + n[c + 1];
}), s;
}
o(iB, "dedent");
$i.dedent = iB;
$i.default = iB;
});
// src/test/index.ts
var Bhe = {};
ro(Bhe, {
buildQueries: () => gme,
clearAllMocks: () => H7,
configure: () => vme,
createEvent: () => Eme,
expect: () => Dhe,
findAllByAltText: () => _me,
findAllByDisplayValue: () => Cme,
findAllByLabelText: () => qme,
findAllByPlaceholderText: () => Pme,
findAllByRole: () => xme,
findAllByTestId: () => Rme,
findAllByText: () => Tme,
findAllByTitle: () => Ome,
findByAltText: () => Sme,
findByDisplayValue: () => Mme,
findByLabelText: () => Ame,
findByPlaceholderText: () => Ime,
findByRole: () => Nme,
findByTestId: () => jme,
findByText: () => $me,
findByTitle: () => Lme,
fireEvent: () => wme,
fn: () => F7,
getAllByAltText: () => Dme,
getAllByDisplayValue: () => Bme,
getAllByLabelText: () => kme,
getAllByPlaceholderText: () => Fme,
getAllByRole: () => Hme,
getAllByTestId: () => Ume,
getAllByText: () => Vme,
getAllByTitle: () => zme,
getByAltText: () => Wme,
getByDisplayValue: () => Gme,
getByLabelText: () => Kme,
getByPlaceholderText: () => Yme,
getByRole: () => Xme,
getByTestId: () => Jme,
getByText: () => Qme,
getByTitle: () => Zme,
getConfig: () => ehe,
getDefaultNormalizer: () => the,
getElementError: () => rhe,
getNodeText: () => nhe,
getQueriesForElement: () => ohe,
getRoles: () => ihe,
getSuggestedQuery: () => ahe,
isInaccessible: () => she,
isMockFunction: () => Wr,
logDOM: () => lhe,
logRoles: () => uhe,
mocked: () => z7,
mocks: () => In,
onMockCall: () => B7,
prettyDOM: () => che,
prettyFormat: () => jhe,
queries: () => dhe,
queryAllByAltText: () => fhe,
queryAllByAttribute: () => phe,
queryAllByDisplayValue: () => mhe,
queryAllByLabelText: () => hhe,
queryAllByPlaceholderText: () => bhe,
queryAllByRole: () => yhe,
queryAllByTestId: () => ghe,
queryAllByText: () => vhe,
queryAllByTitle: () => Ehe,
queryByAltText: () => whe,
queryByAttribute: () => _he,
queryByDisplayValue: () => Che,
queryByLabelText: () => qhe,
queryByPlaceholderText: () => Phe,
queryByRole: () => xhe,
queryByTestId: () => Rhe,
queryByText: () => The,
queryByTitle: () => Ohe,
queryHelpers: () => She,
resetAllMocks: () => U7,
restoreAllMocks: () => V7,
screen: () => Mhe,
spyOn: () => k7,
uninstrumentedUserEvent: () => $he,
userEvent: () => Lhe,
waitFor: () => Ahe,
waitForElementToBeRemoved: () => Ihe,
within: () => Nhe
});
module.exports = Wt(Bhe);
var uB = require("storybook/internal/instrumenter");
// ../node_modules/chai/chai.js
var LE = Object.defineProperty, hB = Object.getOwnPropertyNames, R = /* @__PURE__ */ o((e, t) => LE(e, "name", { value: t, configurable: !0 }),
"__name"), bB = /* @__PURE__ */ o((e, t) => /* @__PURE__ */ o(function() {
return t || (0, e[hB(e)[0]])((t = { exports: {} }).exports, t), t.exports;
}, "__require"), "__commonJS"), Em = /* @__PURE__ */ o((e, t) => {
for (var r in t)
LE(e, r, { get: t[r], enumerable: !0 });
}, "__export"), yB = bB({
"(disabled):util"() {
}
}), ft = {};
Em(ft, {
addChainableMethod: /* @__PURE__ */ o(() => Am, "addChainableMethod"),
addLengthGuard: /* @__PURE__ */ o(() => so, "addLengthGuard"),
addMethod: /* @__PURE__ */ o(() => Om, "addMethod"),
addProperty: /* @__PURE__ */ o(() => Tm, "addProperty"),
checkError: /* @__PURE__ */ o(() => lt, "checkError"),
compareByInspect: /* @__PURE__ */ o(() => Fi, "compareByInspect"),
eql: /* @__PURE__ */ o(() => dw, "eql"),
expectTypes: /* @__PURE__ */ o(() => zE, "expectTypes"),
flag: /* @__PURE__ */ o(() => G, "flag"),
getActual: /* @__PURE__ */ o(() => Wi, "getActual"),
getMessage: /* @__PURE__ */ o(() => Cm, "getMessage"),
getName: /* @__PURE__ */ o(() => Ki, "getName"),
getOperator: /* @__PURE__ */ o(() => $m, "getOperator"),
getOwnEnumerableProperties: /* @__PURE__ */ o(() => jm, "getOwnEnumerableProperties"),
getOwnEnumerablePropertySymbols: /* @__PURE__ */ o(() => Nm, "getOwnEnumerablePropertySymbols"),
getPathInfo: /* @__PURE__ */ o(() => Rm, "getPathInfo"),
hasProperty: /* @__PURE__ */ o(() => Gi, "hasProperty"),
inspect: /* @__PURE__ */ o(() => te, "inspect"),
isNaN: /* @__PURE__ */ o(() => Hi, "isNaN"),
isNumeric: /* @__PURE__ */ o(() => Ie, "isNumeric"),
isProxyEnabled: /* @__PURE__ */ o(() => ao, "isProxyEnabled"),
isRegExp: /* @__PURE__ */ o(() => Ui, "isRegExp"),
objDisplay: /* @__PURE__ */ o(() => $r, "objDisplay"),
overwriteChainableMethod: /* @__PURE__ */ o(() => Im, "overwriteChainableMethod"),
overwriteMethod: /* @__PURE__ */ o(() => Mm, "overwriteMethod"),
overwriteProperty: /* @__PURE__ */ o(() => Sm, "overwriteProperty"),
proxify: /* @__PURE__ */ o(() => dn, "proxify"),
test: /* @__PURE__ */ o(() => wm, "test"),
transferFlags: /* @__PURE__ */ o(() => Pt, "transferFlags"),
type: /* @__PURE__ */ o(() => de, "type")
});
var lt = {};
Em(lt, {
compatibleConstructor: /* @__PURE__ */ o(() => kE, "compatibleConstructor"),
compatibleInstance: /* @__PURE__ */ o(() => BE, "compatibleInstance"),
compatibleMessage: /* @__PURE__ */ o(() => FE, "compatibleMessage"),
getConstructorName: /* @__PURE__ */ o(() => HE, "getConstructorName"),
getMessage: /* @__PURE__ */ o(() => UE, "getMessage")
});
function zi(e) {
return e instanceof Error || Object.prototype.toString.call(e) === "[object Error]";
}
o(zi, "isErrorInstance");
R(zi, "isErrorInstance");
function DE(e) {
return Object.prototype.toString.call(e) === "[object RegExp]";
}
o(DE, "isRegExp");
R(DE, "isRegExp");
function BE(e, t) {
return zi(t) && e === t;
}
o(BE, "compatibleInstance");
R(BE, "compatibleInstance");
function kE(e, t) {
return zi(t) ? e.constructor === t.constructor || e instanceof t.constructor : (typeof t == "object" || typeof t == "function") && t.prototype ?
e.constructor === t || e instanceof t : !1;
}
o(kE, "compatibleConstructor");
R(kE, "compatibleConstructor");
function FE(e, t) {
let r = typeof e == "string" ? e : e.message;
return DE(t) ? t.test(r) : typeof t == "string" ? r.indexOf(t) !== -1 : !1;
}
o(FE, "compatibleMessage");
R(FE, "compatibleMessage");
function HE(e) {
let t = e;
return zi(e) ? t = e.constructor.name : typeof e == "function" && (t = e.name, t === "" && (t = new e().name || t)), t;
}
o(HE, "getConstructorName");
R(HE, "getConstructorName");
function UE(e) {
let t = "";
return e && e.message ? t = e.message : typeof e == "string" && (t = e), t;
}
o(UE, "getMessage");
R(UE, "getMessage");
function G(e, t, r) {
var n = e.__flags || (e.__flags = /* @__PURE__ */ Object.create(null));
if (arguments.length === 3)
n[t] = r;
else
return n[t];
}
o(G, "flag");
R(G, "flag");
function wm(e, t) {
var r = G(e, "negate"), n = t[0];
return r ? !n : n;
}
o(wm, "test");
R(wm, "test");
function de(e) {
if (typeof e > "u")
return "undefined";
if (e === null)
return "null";
let t = e[Symbol.toStringTag];
return typeof t == "string" ? t : Object.prototype.toString.call(e).slice(8, -1);
}
o(de, "type");
R(de, "type");
var gB = "captureStackTrace" in Error, re = class VE extends Error {
static {
o(this, "_AssertionError");
}
static {
R(this, "AssertionError");
}
message;
get name() {
return "AssertionError";
}
get ok() {
return !1;
}
constructor(t = "Unspecified AssertionError", r, n) {
super(t), this.message = t, gB && Error.captureStackTrace(this, n || VE);
for (let i in r)
i in this || (this[i] = r[i]);
}
toJSON(t) {
return {
...this,
name: this.name,
message: this.message,
ok: !1,
stack: t !== !1 ? this.stack : void 0
};
}
};
function zE(e, t) {
var r = G(e, "message"), n = G(e, "ssfi");
r = r ? r + ": " : "", e = G(e, "object"), t = t.map(function(s) {
return s.toLowerCase();
}), t.sort();
var i = t.map(function(s, l) {
var c = ~["a", "e", "i", "o", "u"].indexOf(s.charAt(0)) ? "an" : "a", u = t.length > 1 && l === t.length - 1 ? "or " : "";
return u + c + " " + s;
}).join(", "), a = de(e).toLowerCase();
if (!t.some(function(s) {
return a === s;
}))
throw new re(
r + "object tested must be " + i + ", but " + a + " given",
void 0,
n
);
}
o(zE, "expectTypes");
R(zE, "expectTypes");
function Wi(e, t) {
return t.length > 4 ? t[4] : e._obj;
}
o(Wi, "getActual");
R(Wi, "getActual");
var TE = {
bold: ["1", "22"],
dim: ["2", "22"],
italic: ["3", "23"],
underline: ["4", "24"],
// 5 & 6 are blinking
inverse: ["7", "27"],
hidden: ["8", "28"],
strike: ["9", "29"],
// 10-20 are fonts
// 21-29 are resets for 1-9
black: ["30", "39"],
red: ["31", "39"],
green: ["32", "39"],
yellow: ["33", "39"],
blue: ["34", "39"],
magenta: ["35", "39"],
cyan: ["36", "39"],
white: ["37", "39"],
brightblack: ["30;1", "39"],
brightred: ["31;1", "39"],
brightgreen: ["32;1", "39"],
brightyellow: ["33;1", "39"],
brightblue: ["34;1", "39"],
brightmagenta: ["35;1", "39"],
brightcyan: ["36;1", "39"],
brightwhite: ["37;1", "39"],
grey: ["90", "39"]
}, vB = {
special: "cyan",
number: "yellow",
bigint: "yellow",
boolean: "yellow",
undefined: "grey",
null: "bold",
string: "green",
symbol: "green",
date: "magenta",
regexp: "red"
}, un = "\u2026";
function WE(e, t) {
let r = TE[vB[t]] || TE[t] || "";
return r ? `\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m` : String(e);
}
o(WE, "colorise");
R(WE, "colorise");
function GE({
showHidden: e = !1,
depth: t = 2,
colors: r = !1,
customInspect: n = !0,
showProxy: i = !1,
maxArrayLength: a = 1 / 0,
breakLength: s = 1 / 0,
seen: l = [],
// eslint-disable-next-line no-shadow
truncate: c = 1 / 0,
stylize: u = String
} = {}, d) {
let p = {
showHidden: !!e,
depth: Number(t),
colors: !!r,
customInspect: !!n,
showProxy: !!i,
maxArrayLength: Number(a),
breakLength: Number(s),
truncate: Number(c),
seen: l,
inspect: d,
stylize: u
};
return p.colors && (p.stylize = WE), p;
}
o(GE, "normaliseOptions");
R(GE, "normaliseOptions");
function KE(e) {
return e >= "\uD800" && e <= "\uDBFF";
}
o(KE, "isHighSurrogate");
R(KE, "isHighSurrogate");
function Gt(e, t, r = un) {
e = String(e);
let n = r.length, i = e.length;
if (n > t && i > n)
return r;
if (i > t && i > n) {
let a = t - n;
return a > 0 && KE(e[a - 1]) && (a = a - 1), `${e.slice(0, a)}${r}`;
}
return e;
}
o(Gt, "truncate");
R(Gt, "truncate");
function pt(e, t, r, n = ", ") {
r = r || t.inspect;
let i = e.length;
if (i === 0)
return "";
let a = t.truncate, s = "", l = "", c = "";
for (let u = 0; u < i; u += 1) {
let d = u + 1 === e.length, p = u + 2 === e.length;
c = `${un}(${e.length - u})`;
let b = e[u];
t.truncate = a - s.length - (d ? 0 : n.length);
let m = l || r(b, t) + (d ? "" : n), y = s.length + m.length, h = y + c.length;
if (d && y > a && s.length + c.length <= a || !d && !p && h > a || (l = d ? "" : r(e[u + 1], t) + (p ? "" : n), !d && p && h > a && y + l.
length > a))
break;
if (s += m, !d && !p && y + l.length >= a) {
c = `${un}(${e.length - u - 1})`;
break;
}
c = "";
}
return `${s}${c}`;
}
o(pt, "inspectList");
R(pt, "inspectList");
function YE(e) {
return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) ? e : JSON.stringify(e).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
}
o(YE, "quoteComplexKey");
R(YE, "quoteComplexKey");
function cn([e, t], r) {
return r.truncate -= 2, typeof e == "string" ? e = YE(e) : typeof e != "number" && (e = `[${r.inspect(e, r)}]`), r.truncate -= e.length, t =
r.inspect(t, r), `${e}: ${t}`;
}
o(cn, "inspectProperty");
R(cn, "inspectProperty");
function XE(e, t) {
let r = Object.keys(e).slice(e.length);
if (!e.length && !r.length)
return "[]";
t.truncate -= 4;
let n = pt(e, t);
t.truncate -= n.length;
let i = "";
return r.length && (i = pt(r.map((a) => [a, e[a]]), t, cn)), `[ ${n}${i ? `, ${i}` : ""} ]`;
}
o(XE, "inspectArray");
R(XE, "inspectArray");
var EB = /* @__PURE__ */ R((e) => typeof Buffer == "function" && e instanceof Buffer ? "Buffer" : e[Symbol.toStringTag] ? e[Symbol.toStringTag] :
e.constructor.name, "getArrayName");
function $t(e, t) {
let r = EB(e);
t.truncate -= r.length + 4;
let n = Object.keys(e).slice(e.length);
if (!e.length && !n.length)
return `${r}[]`;
let i = "";
for (let s = 0; s < e.length; s++) {
let l = `${t.stylize(Gt(e[s], t.truncate), "number")}${s === e.length - 1 ? "" : ", "}`;
if (t.truncate -= l.length, e[s] !== e.length && t.truncate <= 3) {
i += `${un}(${e.length - e[s] + 1})`;
break;
}
i += l;
}
let a = "";
return n.length && (a = pt(n.map((s) => [s, e[s]]), t, cn)), `${r}[ ${i}${a ? `, ${a}` : ""} ]`;
}
o($t, "inspectTypedArray");
R($t, "inspectTypedArray");
function JE(e, t) {
let r = e.toJSON();
if (r === null)
return "Invalid Date";
let n = r.split("T"), i = n[0];
return t.stylize(`${i}T${Gt(n[1], t.truncate - i.length - 1)}`, "date");
}
o(JE, "inspectDate");
R(JE, "inspectDate");
function am(e, t) {
let r = e[Symbol.toStringTag] || "Function", n = e.name;
return n ? t.stylize(`[${r} ${Gt(n, t.truncate - 11)}]`, "special") : t.stylize(`[${r}]`, "special");
}
o(am, "inspectFunction");
R(am, "inspectFunction");
function QE([e, t], r) {
return r.truncate -= 4, e = r.inspect(e, r), r.truncate -= e.length, t = r.inspect(t, r), `${e} => ${t}`;
}
o(QE, "inspectMapEntry");
R(QE, "inspectMapEntry");
function ZE(e) {
let t = [];
return e.forEach((r, n) => {
t.push([n, r]);
}), t;
}
o(ZE, "mapToEntries");
R(ZE, "mapToEntries");
function ew(e, t) {
return e.size - 1 <= 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${pt(ZE(e), t, QE)} }`);
}
o(ew, "inspectMap");
R(ew, "inspectMap");
var wB = Number.isNaN || ((e) => e !== e);
function sm(e, t) {
return wB(e) ? t.stylize("NaN", "number") : e === 1 / 0 ? t.stylize("Infinity", "number") : e === -1 / 0 ? t.stylize("-Infinity", "number") :
e === 0 ? t.stylize(1 / e === 1 / 0 ? "+0" : "-0", "number") : t.stylize(Gt(String(e), t.truncate), "number");
}
o(sm, "inspectNumber");
R(sm, "inspectNumber");
function lm(e, t) {
let r = Gt(e.toString(), t.truncate - 1);
return r !== un && (r += "n"), t.stylize(r, "bigint");
}
o(lm, "inspectBigInt");
R(lm, "inspectBigInt");
function tw(e, t) {
let r = e.toString().split("/")[2], n = t.truncate - (2 + r.length), i = e.source;
return t.stylize(`/${Gt(i, n)}/${r}`, "regexp");
}
o(tw, "inspectRegExp");
R(tw, "inspectRegExp");
function rw(e) {
let t = [];
return e.forEach((r) => {
t.push(r);
}), t;
}
o(rw, "arrayFromSet");
R(rw, "arrayFromSet");
function nw(e, t) {
return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${pt(rw(e), t)} }`);
}
o(nw, "inspectSet");
R(nw, "inspectSet");
var OE = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\u\
ffff]", "g"), _B = {
"\b": "\\b",
" ": "\\t",
"\n": "\\n",
"\f": "\\f",
"\r": "\\r",
"'": "\\'",
"\\": "\\\\"
}, CB = 16, qB = 4;
function ow(e) {
return _B[e] || `\\u${`0000${e.charCodeAt(0).toString(CB)}`.slice(-qB)}`;
}
o(ow, "escape");
R(ow, "escape");
function um(e, t) {
return OE.test(e) && (e = e.replace(OE, ow)), t.stylize(`'${Gt(e, t.truncate - 2)}'`, "string");
}
o(um, "inspectString");
R(um, "inspectString");
function cm(e) {
return "description" in Symbol.prototype ? e.description ? `Symbol(${e.description})` : "Symbol()" : e.toString();
}
o(cm, "inspectSymbol");
R(cm, "inspectSymbol");
var iw = /* @__PURE__ */ R(() => "Promise{\u2026}", "getPromiseValue");
try {
let { getPromiseDetails: e, kPending: t, kRejected: r } = process.binding("util");
Array.isArray(e(Promise.resolve())) && (iw = /* @__PURE__ */ R((n, i) => {
let [a, s] = e(n);
return a === t ? "Promise{}" : `Promise${a === r ? "!" : ""}{${i.inspect(s, i)}}`;
}, "getPromiseValue"));
} catch {
}
var PB = iw;
function oo(e, t) {
let r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e) : [];
if (r.length === 0 && n.length === 0)
return "{}";
if (t.truncate -= 4, t.seen = t.seen || [], t.seen.includes(e))
return "[Circular]";
t.seen.push(e);
let i = pt(r.map((l) => [l, e[l]]), t, cn), a = pt(n.map((l) => [l, e[l]]), t, cn);
t.seen.pop();
let s = "";
return i && a && (s = ", "), `{ ${i}${s}${a} }`;
}
o(oo, "inspectObject");
R(oo, "inspectObject");
var om = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
function aw(e, t) {
let r = "";
return om && om in e && (r = e[om]), r = r || e.constructor.name, (!r || r === "_class") && (r = ""), t.truncate -= r.length,
`${r}${oo(e, t)}`;
}
o(aw, "inspectClass");
R(aw, "inspectClass");
function sw(e, t) {
return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${pt(e, t)} ]`);
}
o(sw, "inspectArguments");
R(sw, "inspectArguments");
var xB = [
"stack",
"line",
"column",
"name",
"message",
"fileName",
"lineNumber",
"columnNumber",
"number",
"description",
"cause"
];
function lw(e, t) {
let r = Object.getOwnPropertyNames(e).filter((s) => xB.indexOf(s) === -1), n = e.name;
t.truncate -= n.length;
let i = "";
if (typeof e.message == "string" ? i = Gt(e.message, t.truncate) : r.unshift("message"), i = i ? `: ${i}` : "", t.truncate -= i.length + 5,
t.seen = t.seen || [], t.seen.includes(e))
return "[Circular]";
t.seen.push(e);
let a = pt(r.map((s) => [s, e[s]]), t, cn);
return `${n}${i}${a ? ` { ${a} }` : ""}`;
}
o(lw, "inspectObject2");
R(lw, "inspectObject");
function uw([e, t], r) {
return r.truncate -= 3, t ? `${r.stylize(String(e), "yellow")}=${r.stylize(`"${t}"`, "string")}` : `${r.stylize(String(e), "yellow")}`;
}
o(uw, "inspectAttribute");
R(uw, "inspectAttribute");
function Di(e, t) {
return pt(e, t, _m, `
`);
}
o(Di, "inspectHTMLCollection");
R(Di, "inspectHTMLCollection");
function _m(e, t) {
let r = e.getAttributeNames(), n = e.tagName.toLowerCase(), i = t.stylize(`<${n}`, "special"), a = t.stylize(">", "special"), s = t.stylize(
`${n}>`, "special");
t.truncate -= n.length * 2 + 5;
let l = "";
r.length > 0 && (l += " ", l += pt(r.map((d) => [d, e.getAttribute(d)]), t, uw, " ")), t.truncate -= l.length;
let c = t.truncate, u = Di(e.children, t);
return u && u.length > c && (u = `${un}(${e.children.length})`), `${i}${l}${a}${u}${s}`;
}
o(_m, "inspectHTML");
R(_m, "inspectHTML");
var RB = typeof Symbol == "function" && typeof Symbol.for == "function", im = RB ? Symbol.for("chai/inspect") : "@@chai/inspect", ln = !1;
try {
let e = yB();
ln = e.inspect ? e.inspect.custom : !1;
} catch {
ln = !1;
}
var SE = /* @__PURE__ */ new WeakMap(), ME = {}, AE = {
undefined: /* @__PURE__ */ o((e, t) => t.stylize("undefined", "undefined"), "undefined"),
null: /* @__PURE__ */ o((e, t) => t.stylize("null", "null"), "null"),
boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "boolean"),
Boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "Boolean"),
number: sm,
Number: sm,
bigint: lm,
BigInt: lm,
string: um,
String: um,
function: am,
Function: am,
symbol: cm,
// A Symbol polyfill will return `Symbol` not `symbol` from typedetect
Symbol: cm,
Array: XE,
Date: JE,
Map: ew,
Set: nw,
RegExp: tw,
Promise: PB,
// WeakSet, WeakMap are totally opaque to us
WeakSet: /* @__PURE__ */ o((e, t) => t.stylize("WeakSet{\u2026}", "special"), "WeakSet"),
WeakMap: /* @__PURE__ */ o((e, t) => t.stylize("WeakMap{\u2026}", "special"), "WeakMap"),
Arguments: sw,
Int8Array: $t,
Uint8Array: $t,
Uint8ClampedArray: $t,
Int16Array: $t,
Uint16Array: $t,
Int32Array: $t,
Uint32Array: $t,
Float32Array: $t,
Float64Array: $t,
Generator: /* @__PURE__ */ o(() => "", "Generator"),
DataView: /* @__PURE__ */ o(() => "", "DataView"),
ArrayBuffer: /* @__PURE__ */ o(() => "", "ArrayBuffer"),
Error: lw,
HTMLCollection: Di,
NodeList: Di
}, TB = /* @__PURE__ */ R((e, t, r) => im in e && typeof e[im] == "function" ? e[im](t) : ln && ln in e && typeof e[ln] == "function" ? e[ln](
t.depth, t) : "inspect" in e && typeof e.inspect == "function" ? e.inspect(t.depth, t) : "constructor" in e && SE.has(e.constructor) ? SE.get(
e.constructor)(e, t) : ME[r] ? ME[r](e, t) : "", "inspectCustom"), OB = Object.prototype.toString;
function Bi(e, t = {}) {
let r = GE(t, Bi), { customInspect: n } = r, i = e === null ? "null" : typeof e;
if (i === "object" && (i = OB.call(e).slice(8, -1)), i in AE)
return AE[i](e, r);
if (n && e) {
let s = TB(e, r, i);
if (s)
return typeof s == "string" ? s : Bi(s, r);
}
let a = e ? Object.getPrototypeOf(e) : !1;
return a === Object.prototype || a === null ? oo(e, r) : e && typeof HTMLElement == "function" && e instanceof HTMLElement ? _m(e, r) : "c\
onstructor" in e ? e.constructor !== Object ? aw(e, r) : oo(e, r) : e === Object(e) ? oo(e, r) : r.stylize(String(e), i);
}
o(Bi, "inspect");
R(Bi, "inspect");
var We = {
/**
* ### config.includeStack
*
* User configurable property, influences whether stack trace
* is included in Assertion error message. Default of false
* suppresses stack trace in the error message.
*
* chai.config.includeStack = true; // enable stack on error
*
* @param {boolean}
* @public
*/
includeStack: !1,
/**
* ### config.showDiff
*
* User configurable property, influences whether or not
* the `showDiff` flag should be included in the thrown
* AssertionErrors. `false` will always be `false`; `true`
* will be true when the assertion has requested a diff
* be shown.
*
* @param {boolean}
* @public
*/
showDiff: !0,
/**
* ### config.truncateThreshold
*
* User configurable property, sets length threshold for actual and
* expected values in assertion errors. If this threshold is exceeded, for
* example for large data structures, the value is replaced with something
* like `[ Array(3) ]` or `{ Object (prop1, prop2) }`.
*
* Set it to zero if you want to disable truncating altogether.
*
* This is especially userful when doing assertions on arrays: having this
* set to a reasonable large value makes the failure messages readily
* inspectable.
*
* chai.config.truncateThreshold = 0; // disable truncating
*
* @param {number}
* @public
*/
truncateThreshold: 40,
/**
* ### config.useProxy
*
* User configurable property, defines if chai will use a Proxy to throw
* an error when a non-existent property is read, which protects users
* from typos when using property-based assertions.
*
* Set it to false if you want to disable this feature.
*
* chai.config.useProxy = false; // disable use of Proxy
*
* This feature is automatically disabled regardless of this config value
* in environments that don't support proxies.
*
* @param {boolean}
* @public
*/
useProxy: !0,
/**
* ### config.proxyExcludedKeys
*
* User configurable property, defines which properties should be ignored
* instead of throwing an error if they do not exist on the assertion.
* This is only applied if the environment Chai is running in supports proxies and
* if the `useProxy` configuration setting is enabled.
* By default, `then` and `inspect` will not throw an error if they do not exist on the
* assertion object because the `.inspect` property is read by `util.inspect` (for example, when
* using `console.log` on the assertion object) and `.then` is necessary for promise type-checking.
*
* // By default these keys will not throw an error if they do not exist on the assertion object
* chai.config.proxyExcludedKeys = ['then', 'inspect'];
*
* @param {Array}
* @public
*/
proxyExcludedKeys: ["then", "catch", "inspect", "toJSON"],
/**
* ### config.deepEqual
*
* User configurable property, defines which a custom function to use for deepEqual
* comparisons.
* By default, the function used is the one from the `deep-eql` package without custom comparator.
*
* // use a custom comparator
* chai.config.deepEqual = (expected, actual) => {
* return chai.util.eql(expected, actual, {
* comparator: (expected, actual) => {
* // for non number comparison, use the default behavior
* if(typeof expected !== 'number') return null;
* // allow a difference of 10 between compared numbers
* return typeof actual === 'number' && Math.abs(actual - expected) < 10
* }
* })
* };
*
* @param {Function}
* @public
*/
deepEqual: null
};
function te(e, t, r, n) {
var i = {
colors: n,
depth: typeof r > "u" ? 2 : r,
showHidden: t,
truncate: We.truncateThreshold ? We.truncateThreshold : 1 / 0
};
return Bi(e, i);
}
o(te, "inspect2");
R(te, "inspect");
function $r(e) {
var t = te(e), r = Object.prototype.toString.call(e);
if (We.truncateThreshold && t.length >= We.truncateThreshold) {
if (r === "[object Function]")
return !e.name || e.name === "" ? "[Function]" : "[Function: " + e.name + "]";
if (r === "[object Array]")
return "[ Array(" + e.length + ") ]";
if (r === "[object Object]") {
var n = Object.keys(e), i = n.length > 2 ? n.splice(0, 2).join(", ") + ", ..." : n.join(", ");
return "{ Object (" + i + ") }";
} else
return t;
} else
return t;
}
o($r, "objDisplay");
R($r, "objDisplay");
function Cm(e, t) {
var r = G(e, "negate"), n = G(e, "object"), i = t[3], a = Wi(e, t), s = r ? t[2] : t[1], l = G(e, "message");
return typeof s == "function" && (s = s()), s = s || "", s = s.replace(/#\{this\}/g, function() {
return $r(n);
}).replace(/#\{act\}/g, function() {
return $r(a);
}).replace(/#\{exp\}/g, function() {
return $r(i);
}), l ? l + ": " + s : s;
}
o(Cm, "getMessage2");
R(Cm, "getMessage");
function Pt(e, t, r) {
var n = e.__flags || (e.__flags = /* @__PURE__ */ Object.create(null));
t.__flags || (t.__flags = /* @__PURE__ */ Object.create(null)), r = arguments.length === 3 ? r : !0;
for (var i in n)
(r || i !== "object" && i !== "ssfi" && i !== "lockSsfi" && i != "message") && (t.__flags[i] = n[i]);
}
o(Pt, "transferFlags");
R(Pt, "transferFlags");
function dm(e) {
if (typeof e > "u")
return "undefined";
if (e === null)
return "null";
let t = e[Symbol.toStringTag];
return typeof t == "string" ? t : Object.prototype.toString.call(e).slice(8, -1);
}
o(dm, "type2");
R(dm, "type");
function qm() {
this._key = "chai/deep-eql__" + Math.random() + Date.now();
}
o(qm, "FakeMap");
R(qm, "FakeMap");
qm.prototype = {
get: /* @__PURE__ */ R(/* @__PURE__ */ o(function(t) {
return t[this._key];
}, "get"), "get"),
set: /* @__PURE__ */ R(/* @__PURE__ */ o(function(t, r) {
Object.isExtensible(t) && Object.defineProperty(t, this._key, {
value: r,
configurable: !0
});
}, "set"), "set")
};
var cw = typeof WeakMap == "function" ? WeakMap : qm;
function fm(e, t, r) {
if (!r || Lr(e) || Lr(t))
return null;
var n = r.get(e);
if (n) {
var i = n.get(t);
if (typeof i == "boolean")
return i;
}
return null;
}
o(fm, "memoizeCompare");
R(fm, "memoizeCompare");
function no(e, t, r, n) {
if (!(!r || Lr(e) || Lr(t))) {
var i = r.get(e);
i ? i.set(t, n) : (i = new cw(), i.set(t, n), r.set(e, i));
}
}
o(no, "memoizeSet");
R(no, "memoizeSet");
var dw = io;
function io(e, t, r) {
if (r && r.comparator)
return pm(e, t, r);
var n = Pm(e, t);
return n !== null ? n : pm(e, t, r);
}
o(io, "deepEqual");
R(io, "deepEqual");
function Pm(e, t) {
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && // eslint-disable-line no-self-compare
t !== t ? !0 : Lr(e) || Lr(t) ? !1 : null;
}
o(Pm, "simpleEqual");
R(Pm, "simpleEqual");
function pm(e, t, r) {
r = r || {}, r.memoize = r.memoize === !1 ? !1 : r.memoize || new cw();
var n = r && r.comparator, i = fm(e, t, r.memoize);
if (i !== null)
return i;
var a = fm(t, e, r.memoize);
if (a !== null)
return a;
if (n) {
var s = n(e, t);
if (s === !1 || s === !0)
return no(e, t, r.memoize, s), s;
var l = Pm(e, t);
if (l !== null)
return l;
}
var c = dm(e);
if (c !== dm(t))
return no(e, t, r.memoize, !1), !1;
no(e, t, r.memoize, !0);
var u = fw(e, t, c, r);
return no(e, t, r.memoize, u), u;
}
o(pm, "extensiveDeepEqual");
R(pm, "extensiveDeepEqual");
function fw(e, t, r, n) {
switch (r) {
case "String":
case "Number":
case "Boolean":
case "Date":
return io(e.valueOf(), t.valueOf());
case "Promise":
case "Symbol":
case "function":
case "WeakMap":
case "WeakSet":
return e === t;
case "Error":
return xm(e, t, ["name", "message", "code"], n);
case "Arguments":
case "Int8Array":
case "Uint8Array":
case "Uint8ClampedArray":
case "Int16Array":
case "Uint16Array":
case "Int32Array":
case "Uint32Array":
case "Float32Array":
case "Float64Array":
case "Array":
return rr(e, t, n);
case "RegExp":
return pw(e, t);
case "Generator":
return mw(e, t, n);
case "DataView":
return rr(new Uint8Array(e.buffer), new Uint8Array(t.buffer), n);
case "ArrayBuffer":
return rr(new Uint8Array(e), new Uint8Array(t), n);
case "Set":
return mm(e, t, n);
case "Map":
return mm(e, t, n);
case "Temporal.PlainDate":
case "Temporal.PlainTime":
case "Temporal.PlainDateTime":
case "Temporal.Instant":
case "Temporal.ZonedDateTime":
case "Temporal.PlainYearMonth":
case "Temporal.PlainMonthDay":
return e.equals(t);
case "Temporal.Duration":
return e.total("nanoseconds") === t.total("nanoseconds");
case "Temporal.TimeZone":
case "Temporal.Calendar":
return e.toString() === t.toString();
default:
return bw(e, t, n);
}
}
o(fw, "extensiveDeepEqualByType");
R(fw, "extensiveDeepEqualByType");
function pw(e, t) {
return e.toString() === t.toString();
}
o(pw, "regexpEqual");
R(pw, "regexpEqual");
function mm(e, t, r) {
try {
if (e.size !== t.size)
return !1;
if (e.size === 0)
return !0;
} catch {
return !1;
}
var n = [], i = [];
return e.forEach(/* @__PURE__ */ R(/* @__PURE__ */ o(function(s, l) {
n.push([s, l]);
}, "gatherEntries"), "gatherEntries")), t.forEach(/* @__PURE__ */ R(/* @__PURE__ */ o(function(s, l) {
i.push([s, l]);
}, "gatherEntries"), "gatherEntries")), rr(n.sort(), i.sort(), r);
}
o(mm, "entriesEqual");
R(mm, "entriesEqual");
function rr(e, t, r) {
var n = e.length;
if (n !== t.length)
return !1;
if (n === 0)
return !0;
for (var i = -1; ++i < n; )
if (io(e[i], t[i], r) === !1)
return !1;
return !0;
}
o(rr, "iterableEqual");
R(rr, "iterableEqual");
function mw(e, t, r) {
return rr(ki(e), ki(t), r);
}
o(mw, "generatorEqual");
R(mw, "generatorEqual");
function hw(e) {
return typeof Symbol < "u" && typeof e == "object" && typeof Symbol.iterator < "u" && typeof e[Symbol.iterator] == "function";
}
o(hw, "hasIteratorFunction");
R(hw, "hasIteratorFunction");
function hm(e) {
if (hw(e))
try {
return ki(e[Symbol.iterator]());
} catch {
return [];
}
return [];
}
o(hm, "getIteratorEntries");
R(hm, "getIteratorEntries");
function ki(e) {
for (var t = e.next(), r = [t.value]; t.done === !1; )
t = e.next(), r.push(t.value);
return r;
}
o(ki, "getGeneratorEntries");
R(ki, "getGeneratorEntries");
function bm(e) {
var t = [];
for (var r in e)
t.push(r);
return t;
}
o(bm, "getEnumerableKeys");
R(bm, "getEnumerableKeys");
function ym(e) {
for (var t = [], r = Object.getOwnPropertySymbols(e), n = 0; n < r.length; n += 1) {
var i = r[n];
Object.getOwnPropertyDescriptor(e, i).enumerable && t.push(i);
}
return t;
}
o(ym, "getEnumerableSymbols");
R(ym, "getEnumerableSymbols");
function xm(e, t, r, n) {
var i = r.length;
if (i === 0)
return !0;
for (var a = 0; a < i; a += 1)
if (io(e[r[a]], t[r[a]], n) === !1)
return !1;
return !0;
}
o(xm, "keysEqual");
R(xm, "keysEqual");
function bw(e, t, r) {
var n = bm(e), i = bm(t), a = ym(e), s = ym(t);
if (n = n.concat(a), i = i.concat(s), n.length && n.length === i.length)
return rr(gm(n).sort(), gm(i).sort()) === !1 ? !1 : xm(e, t, n, r);
var l = hm(e), c = hm(t);
return l.length && l.length === c.length ? (l.sort(), c.sort(), rr(l, c, r)) : n.length === 0 && l.length === 0 && i.length === 0 && c.length ===
0;
}
o(bw, "objectEqual");
R(bw, "objectEqual");
function Lr(e) {
return e === null || typeof e != "object";
}
o(Lr, "isPrimitive");
R(Lr, "isPrimitive");
function gm(e) {
return e.map(/* @__PURE__ */ R(/* @__PURE__ */ o(function(r) {
return typeof r == "symbol" ? r.toString() : r;
}, "mapSymbol"), "mapSymbol"));
}
o(gm, "mapSymbols");
R(gm, "mapSymbols");
function Gi(e, t) {
return typeof e > "u" || e === null ? !1 : t in Object(e);
}
o(Gi, "hasProperty");
R(Gi, "hasProperty");
function yw(e) {
return e.replace(/([^\\])\[/g, "$1.[").match(/(\\\.|[^.]+?)+/g).map((n) => {
if (n === "constructor" || n === "__proto__" || n === "prototype")
return {};
let a = /^\[(\d+)\]$/.exec(n), s = null;
return a ? s = { i: parseFloat(a[1]) } : s = { p: n.replace(/\\([.[\]])/g, "$1") }, s;
});
}
o(yw, "parsePath");
R(yw, "parsePath");
function vm(e, t, r) {
let n = e, i = null;
r = typeof r > "u" ? t.length : r;
for (let a = 0; a < r; a++) {
let s = t[a];
n && (typeof s.p > "u" ? n = n[s.i] : n = n[s.p], a === r - 1 && (i = n));
}
return i;
}
o(vm, "internalGetPathValue");
R(vm, "internalGetPathValue");
function Rm(e, t) {
let r = yw(t), n = r[r.length - 1], i = {
parent: r.length > 1 ? vm(e, r, r.length - 1) : e,
name: n.p || n.i,
value: vm(e, r)
};
return i.exists = Gi(i.parent, i.name), i;
}
o(Rm, "getPathInfo");
R(Rm, "getPathInfo");
function E(e, t, r, n) {
return G(this, "ssfi", r || E), G(this, "lockSsfi", n), G(this, "object", e), G(this, "message", t), G(this, "eql", We.deepEqual || dw), dn(
this);
}
o(E, "Assertion");
R(E, "Assertion");
Object.defineProperty(E, "includeStack", {
get: /* @__PURE__ */ o(function() {
return console.warn(
"Assertion.includeStack is deprecated, use chai.config.includeStack instead."
), We.includeStack;
}, "get"),
set: /* @__PURE__ */ o(function(e) {
console.warn(
"Assertion.includeStack is deprecated, use chai.config.includeStack instead."
), We.includeStack = e;
}, "set")
});
Object.defineProperty(E, "showDiff", {
get: /* @__PURE__ */ o(function() {
return console.warn(
"Assertion.showDiff is deprecated, use chai.config.showDiff instead."
), We.showDiff;
}, "get"),
set: /* @__PURE__ */ o(function(e) {
console.warn(
"Assertion.showDiff is deprecated, use chai.config.showDiff instead."
), We.showDiff = e;
}, "set")
});
E.addProperty = function(e, t) {
Tm(this.prototype, e, t);
};
E.addMethod = function(e, t) {
Om(this.prototype, e, t);
};
E.addChainableMethod = function(e, t, r) {
Am(this.prototype, e, t, r);
};
E.overwriteProperty = function(e, t) {
Sm(this.prototype, e, t);
};
E.overwriteMethod = function(e, t) {
Mm(this.prototype, e, t);
};
E.overwriteChainableMethod = function(e, t, r) {
Im(this.prototype, e, t, r);
};
E.prototype.assert = function(e, t, r, n, i, a) {
var s = wm(this, arguments);
if (a !== !1 && (a = !0), n === void 0 && i === void 0 && (a = !1), We.showDiff !== !0 && (a = !1), !s) {
t = Cm(this, arguments);
var l = Wi(this, arguments), c = {
actual: l,
expected: n,
showDiff: a
}, u = $m(this, arguments);
throw u && (c.operator = u), new re(
t,
c,
We.includeStack ? this.assert : G(this, "ssfi")
);
}
};
Object.defineProperty(E.prototype, "_obj", {
get: /* @__PURE__ */ o(function() {
return G(this, "object");
}, "get"),
set: /* @__PURE__ */ o(function(e) {
G(this, "object", e);
}, "set")
});
function ao() {
return We.useProxy && typeof Proxy < "u" && typeof Reflect < "u";
}
o(ao, "isProxyEnabled");
R(ao, "isProxyEnabled");
function Tm(e, t, r) {
r = r === void 0 ? function() {
} : r, Object.defineProperty(e, t, {
get: /* @__PURE__ */ R(/* @__PURE__ */ o(function n() {
!ao() && !G(this, "lockSsfi") && G(this, "ssfi", n);
var i = r.call(this);
if (i !== void 0)
return i;
var a = new E();
return Pt(this, a), a;
}, "propertyGetter"), "propertyGetter"),
configurable: !0
});
}
o(Tm, "addProperty");
R(Tm, "addProperty");
var SB = Object.getOwnPropertyDescriptor(function() {
}, "length");
function so(e, t, r) {
return SB.configurable && Object.defineProperty(e, "length", {
get: /* @__PURE__ */ o(function() {
throw Error(
r ? "Invalid Chai property: " + t + '.length. Due to a compatibility issue, "length" cannot directly follow "' + t + '". Use "' + t +
'.lengthOf" instead.' : "Invalid Chai property: " + t + '.length. See docs for proper usage of "' + t + '".'
);
}, "get")
}), e;
}
o(so, "addLengthGuard");
R(so, "addLengthGuard");
function gw(e) {
var t = Object.getOwnPropertyNames(e);
function r(i) {
t.indexOf(i) === -1 && t.push(i);
}
o(r, "addProperty2"), R(r, "addProperty");
for (var n = Object.getPrototypeOf(e); n !== null; )
Object.getOwnPropertyNames(n).forEach(r), n = Object.getPrototypeOf(n);
return t;
}
o(gw, "getProperties");
R(gw, "getProperties");
var IE = ["__flags", "__methods", "_obj", "assert"];
function dn(e, t) {
return ao() ? new Proxy(e, {
get: /* @__PURE__ */ R(/* @__PURE__ */ o(function r(n, i) {
if (typeof i == "string" && We.proxyExcludedKeys.indexOf(i) === -1 && !Reflect.has(n, i)) {
if (t)
throw Error(
"Invalid Chai property: " + t + "." + i + '. See docs for proper usage of "' + t + '".'
);
var a = null, s = 4;
throw gw(n).forEach(function(l) {
if (
// we actually mean to check `Object.prototype` here
// eslint-disable-next-line no-prototype-builtins
!Object.prototype.hasOwnProperty(l) && IE.indexOf(l) === -1
) {
var c = vw(i, l, s);
c < s && (a = l, s = c);
}
}), Error(
a !== null ? "Invalid Chai property: " + i + '. Did you mean "' + a + '"?' : "Invalid Chai property: " + i
);
}
return IE.indexOf(i) === -1 && !G(n, "lockSsfi") && G(n, "ssfi", r), Reflect.get(n, i);
}, "proxyGetter"), "proxyGetter")
}) : e;
}
o(dn, "proxify");
R(dn, "proxify");
function vw(e, t, r) {
if (Math.abs(e.length - t.length) >= r)
return r;
var n = [];
for (let a = 0; a <= e.length; a++)
n[a] = Array(t.length + 1).fill(0), n[a][0] = a;
for (let a = 0; a < t.length; a++)
n[0][a] = a;
for (let a = 1; a <= e.length; a++) {
var i = e.charCodeAt(a - 1);
for (let s = 1; s <= t.length; s++) {
if (Math.abs(a - s) >= r) {
n[a][s] = r;
continue;
}
n[a][s] = Math.min(
n[a - 1][s] + 1,
n[a][s - 1] + 1,
n[a - 1][s - 1] + (i === t.charCodeAt(s - 1) ? 0 : 1)
);
}
}
return n[e.length][t.length];
}
o(vw, "stringDistanceCapped");
R(vw, "stringDistanceCapped");
function Om(e, t, r) {
var n = /* @__PURE__ */ R(function() {
G(this, "lockSsfi") || G(this, "ssfi", n);
var i = r.apply(this, arguments);
if (i !== void 0)
return i;
var a = new E();
return Pt(this, a), a;
}, "methodWrapper");
so(n, t, !1), e[t] = dn(n, t);
}
o(Om, "addMethod");
R(Om, "addMethod");
function Sm(e, t, r) {
var n = Object.getOwnPropertyDescriptor(e, t), i = /* @__PURE__ */ R(function() {
}, "_super");
n && typeof n.get == "function" && (i = n.get), Object.defineProperty(e, t, {
get: /* @__PURE__ */ R(/* @__PURE__ */ o(function a() {
!ao() && !G(this, "lockSsfi") && G(this, "ssfi", a);
var s = G(this, "lockSsfi");
G(this, "lockSsfi", !0);
var l = r(i).call(this);
if (G(this, "lockSsfi", s), l !== void 0)
return l;
var c = new E();
return Pt(this, c), c;
}, "overwritingPropertyGetter"), "overwritingPropertyGetter"),
configurable: !0
});
}
o(Sm, "overwriteProperty");
R(Sm, "overwriteProperty");
function Mm(e, t, r) {
var n = e[t], i = /* @__PURE__ */ R(function() {
throw new Error(t + " is not a function");
}, "_super");
n && typeof n == "function" && (i = n);
var a = /* @__PURE__ */ R(function() {
G(this, "lockSsfi") || G(this, "ssfi", a);
var s = G(this, "lockSsfi");
G(this, "lockSsfi", !0);
var l = r(i).apply(this, arguments);
if (G(this, "lockSsfi", s), l !== void 0)
return l;
var c = new E();
return Pt(this, c), c;
}, "overwritingMethodWrapper");
so(a, t, !1), e[t] = dn(a, t);
}
o(Mm, "overwriteMethod");
R(Mm, "overwriteMethod");
var MB = typeof Object.setPrototypeOf == "function", NE = /* @__PURE__ */ R(function() {
}, "testFn"), AB = Object.getOwnPropertyNames(NE).filter(function(e) {
var t = Object.getOwnPropertyDescriptor(NE, e);
return typeof t != "object" ? !0 : !t.configurable;
}), IB = Function.prototype.call, NB = Function.prototype.apply;
function Am(e, t, r, n) {
typeof n != "function" && (n = /* @__PURE__ */ R(function() {
}, "chainingBehavior"));
var i = {
method: r,
chainingBehavior: n
};
e.__methods || (e.__methods = {}), e.__methods[t] = i, Object.defineProperty(e, t, {
get: /* @__PURE__ */ R(/* @__PURE__ */ o(function() {
i.chainingBehavior.call(this);
var s = /* @__PURE__ */ R(function() {
G(this, "lockSsfi") || G(this, "ssfi", s);
var u = i.method.apply(this, arguments);
if (u !== void 0)
return u;
var d = new E();
return Pt(this, d), d;
}, "chainableMethodWrapper");
if (so(s, t, !0), MB) {
var l = Object.create(this);
l.call = IB, l.apply = NB, Object.setPrototypeOf(s, l);
} else {
var c = Object.getOwnPropertyNames(e);
c.forEach(function(u) {
if (AB.indexOf(u) === -1) {
var d = Object.getOwnPropertyDescriptor(e, u);
Object.defineProperty(s, u, d);
}
});
}
return Pt(this, s), dn(s);
}, "chainableMethodGetter"), "chainableMethodGetter"),
configurable: !0
});
}
o(Am, "addChainableMethod");
R(Am, "addChainableMethod");
function Im(e, t, r, n) {
var i = e.__methods[t], a = i.chainingBehavior;
i.chainingBehavior = /* @__PURE__ */ R(/* @__PURE__ */ o(function() {
var c = n(a).call(this);
if (c !== void 0)
return c;
var u = new E();
return Pt(this, u), u;
}, "overwritingChainableMethodGetter"), "overwritingChainableMethodGetter");
var s = i.method;
i.method = /* @__PURE__ */ R(/* @__PURE__ */ o(function() {
var c = r(s).apply(this, arguments);
if (c !== void 0)
return c;
var u = new E();
return Pt(this, u), u;
}, "overwritingChainableMethodWrapper"), "overwritingChainableMethodWrapper");
}
o(Im, "overwriteChainableMethod");
R(Im, "overwriteChainableMethod");
function Fi(e, t) {
return te(e) < te(t) ? -1 : 1;
}
o(Fi, "compareByInspect");
R(Fi, "compareByInspect");
function Nm(e) {
return typeof Object.getOwnPropertySymbols != "function" ? [] : Object.getOwnPropertySymbols(e).filter(function(t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable;
});
}
o(Nm, "getOwnEnumerablePropertySymbols");
R(Nm, "getOwnEnumerablePropertySymbols");
function jm(e) {
return Object.keys(e).concat(Nm(e));
}
o(jm, "getOwnEnumerableProperties");
R(jm, "getOwnEnumerableProperties");
var Hi = Number.isNaN;
function Ew(e) {
var t = de(e), r = ["Array", "Object", "Function"];
return r.indexOf(t) !== -1;
}
o(Ew, "isObjectType");
R(Ew, "isObjectType");
function $m(e, t) {
var r = G(e, "operator"), n = G(e, "negate"), i = t[3], a = n ? t[2] : t[1];
if (r)
return r;
if (typeof a == "function" && (a = a()), a = a || "", !!a && !/\shave\s/.test(a)) {
var s = Ew(i);
return /\snot\s/.test(a) ? s ? "notDeepStrictEqual" : "notStrictEqual" : s ? "deepStrictEqual" : "strictEqual";
}
}
o($m, "getOperator");
R($m, "getOperator");
function Ki(e) {
return e.name;
}
o(Ki, "getName");
R(Ki, "getName");
function Ui(e) {
return Object.prototype.toString.call(e) === "[object RegExp]";
}
o(Ui, "isRegExp2");
R(Ui, "isRegExp");
function Ie(e) {
return ["Number", "BigInt"].includes(de(e));
}
o(Ie, "isNumeric");
R(Ie, "isNumeric");
var { flag: x } = ft;
[
"to",
"be",
"been",
"is",
"and",
"has",
"have",
"with",
"that",
"which",
"at",
"of",
"same",
"but",
"does",
"still",
"also"
].forEach(function(e) {
E.addProperty(e);
});
E.addProperty("not", function() {
x(this, "negate", !0);
});
E.addProperty("deep", function() {
x(this, "deep", !0);
});
E.addProperty("nested", function() {
x(this, "nested", !0);
});
E.addProperty("own", function() {
x(this, "own", !0);
});
E.addProperty("ordered", function() {
x(this, "ordered", !0);
});
E.addProperty("any", function() {
x(this, "any", !0), x(this, "all", !1);
});
E.addProperty("all", function() {
x(this, "all", !0), x(this, "any", !1);
});
var jE = {
function: [
"function",
"asyncfunction",
"generatorfunction",
"asyncgeneratorfunction"
],
asyncfunction: ["asyncfunction", "asyncgeneratorfunction"],
generatorfunction: ["generatorfunction", "asyncgeneratorfunction"],
asyncgeneratorfunction: ["asyncgeneratorfunction"]
};
function Lm(e, t) {
t && x(this, "message", t), e = e.toLowerCase();
var r = x(this, "object"), n = ~["a", "e", "i", "o", "u"].indexOf(e.charAt(0)) ? "an " : "a ";
let i = de(r).toLowerCase();
jE.function.includes(e) ? this.assert(
jE[e].includes(i),
"expected #{this} to be " + n + e,
"expected #{this} not to be " + n + e
) : this.assert(
e === i,
"expected #{this} to be " + n + e,
"expected #{this} not to be " + n + e
);
}
o(Lm, "an");
R(Lm, "an");
E.addChainableMethod("an", Lm);
E.addChainableMethod("a", Lm);
function ww(e, t) {
return Hi(e) && Hi(t) || e === t;
}
o(ww, "SameValueZero");
R(ww, "SameValueZero");
function lo() {
x(this, "contains", !0);
}
o(lo, "includeChainingBehavior");
R(lo, "includeChainingBehavior");
function uo(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = de(r).toLowerCase(), i = x(this, "message"), a = x(this, "negate"), s = x(this, "ssfi"), l = x(this, "deep"),
c = l ? "deep " : "", u = l ? x(this, "eql") : ww;
i = i ? i + ": " : "";
var d = !1;
switch (n) {
case "string":
d = r.indexOf(e) !== -1;
break;
case "weakset":
if (l)
throw new re(
i + "unable to use .deep.include with WeakSet",
void 0,
s
);
d = r.has(e);
break;
case "map":
r.forEach(function(y) {
d = d || u(y, e);
});
break;
case "set":
l ? r.forEach(function(y) {
d = d || u(y, e);
}) : d = r.has(e);
break;
case "array":
l ? d = r.some(function(y) {
return u(y, e);
}) : d = r.indexOf(e) !== -1;
break;
default:
if (e !== Object(e))
throw new re(
i + "the given combination of arguments (" + n + " and " + de(e).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 " + de(e).toLowerCase(),
void 0,
s
);
var p = Object.keys(e), b = null, m = 0;
if (p.forEach(function(y) {
var h = new E(r);
if (Pt(this, h, !0), x(h, "lockSsfi", !0), !a || p.length === 1) {
h.property(y, e[y]);
return;
}
try {
h.property(y, e[y]);
} catch (w) {
if (!lt.compatibleConstructor(w, re))
throw w;
b === null && (b = w), m++;
}
}, this), a && p.length > 1 && m === p.length)
throw b;
return;
}
this.assert(
d,
"expected #{this} to " + c + "include " + te(e),
"expected #{this} to not " + c + "include " + te(e)
);
}
o(uo, "include");
R(uo, "include");
E.addChainableMethod("include", uo, lo);
E.addChainableMethod("contain", uo, lo);
E.addChainableMethod("contains", uo, lo);
E.addChainableMethod("includes", uo, lo);
E.addProperty("ok", function() {
this.assert(
x(this, "object"),
"expected #{this} to be truthy",
"expected #{this} to be falsy"
);
});
E.addProperty("true", function() {
this.assert(
x(this, "object") === !0,
"expected #{this} to be true",
"expected #{this} to be false",
!x(this, "negate")
);
});
E.addProperty("numeric", function() {
let e = x(this, "object");
this.assert(
["Number", "BigInt"].includes(de(e)),
"expected #{this} to be numeric",
"expected #{this} to not be numeric",
!x(this, "negate")
);
});
E.addProperty("callable", function() {
let e = x(this, "object"), t = x(this, "ssfi"), r = x(this, "message"), n = r ? `${r}: ` : "", i = x(this, "negate"), a = i ? `${n}expecte\
d ${te(e)} not to be a callable function` : `${n}expected ${te(e)} to be a callable function`, s = [
"Function",
"AsyncFunction",
"GeneratorFunction",
"AsyncGeneratorFunction"
].includes(de(e));
if (s && i || !s && !i)
throw new re(a, void 0, t);
});
E.addProperty("false", function() {
this.assert(
x(this, "object") === !1,
"expected #{this} to be false",
"expected #{this} to be true",
!!x(this, "negate")
);
});
E.addProperty("null", function() {
this.assert(
x(this, "object") === null,
"expected #{this} to be null",
"expected #{this} not to be null"
);
});
E.addProperty("undefined", function() {
this.assert(
x(this, "object") === void 0,
"expected #{this} to be undefined",
"expected #{this} not to be undefined"
);
});
E.addProperty("NaN", function() {
this.assert(
Hi(x(this, "object")),
"expected #{this} to be NaN",
"expected #{this} not to be NaN"
);
});
function Dm() {
var e = x(this, "object");
this.assert(
e != null,
"expected #{this} to exist",
"expected #{this} to not exist"
);
}
o(Dm, "assertExist");
R(Dm, "assertExist");
E.addProperty("exist", Dm);
E.addProperty("exists", Dm);
E.addProperty("empty", function() {
var e = x(this, "object"), t = x(this, "ssfi"), r = x(this, "message"), n;
switch (r = r ? r + ": " : "", de(e).toLowerCase()) {
case "array":
case "string":
n = e.length;
break;
case "map":
case "set":
n = e.size;
break;
case "weakmap":
case "weakset":
throw new re(
r + ".empty was passed a weak collection",
void 0,
t
);
case "function":
var i = r + ".empty was passed a function " + Ki(e);
throw new re(i.trim(), void 0, t);
default:
if (e !== Object(e))
throw new re(
r + ".empty was passed non-string primitive " + te(e),
void 0,
t
);
n = Object.keys(e).length;
}
this.assert(
n === 0,
"expected #{this} to be empty",
"expected #{this} not to be empty"
);
});
function Bm() {
var e = x(this, "object"), t = de(e);
this.assert(
t === "Arguments",
"expected #{this} to be arguments but got " + t,
"expected #{this} to not be arguments"
);
}
o(Bm, "checkArguments");
R(Bm, "checkArguments");
E.addProperty("arguments", Bm);
E.addProperty("Arguments", Bm);
function Yi(e, t) {
t && x(this, "message", t);
var r = x(this, "object");
if (x(this, "deep")) {
var n = x(this, "lockSsfi");
x(this, "lockSsfi", !0), this.eql(e), x(this, "lockSsfi", n);
} else
this.assert(
e === r,
"expected #{this} to equal #{exp}",
"expected #{this} to not equal #{exp}",
e,
this._obj,
!0
);
}
o(Yi, "assertEqual");
R(Yi, "assertEqual");
E.addMethod("equal", Yi);
E.addMethod("equals", Yi);
E.addMethod("eq", Yi);
function km(e, t) {
t && x(this, "message", t);
var r = x(this, "eql");
this.assert(
r(e, x(this, "object")),
"expected #{this} to deeply equal #{exp}",
"expected #{this} to not deeply equal #{exp}",
e,
this._obj,
!0
);
}
o(km, "assertEql");
R(km, "assertEql");
E.addMethod("eql", km);
E.addMethod("eqls", km);
function Xi(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "doLength"), i = x(this, "message"), a = i ? i + ": " : "", s = x(this, "ssfi"), l = de(r).toLowerCase(),
c = de(e).toLowerCase();
if (n && l !== "map" && l !== "set" && new E(r, i, s, !0).to.have.property("length"), !n && l === "date" && c !== "date")
throw new re(
a + "the argument to above must be a date",
void 0,
s
);
if (!Ie(e) && (n || Ie(r)))
throw new re(
a + "the argument to above must be a number",
void 0,
s
);
if (!n && l !== "date" && !Ie(r)) {
var u = l === "string" ? "'" + r + "'" : r;
throw new re(
a + "expected " + u + " to be a number or a date",
void 0,
s
);
}
if (n) {
var d = "length", p;
l === "map" || l === "set" ? (d = "size", p = r.size) : p = r.length, this.assert(
p > e,
"expected #{this} to have a " + d + " above #{exp} but got #{act}",
"expected #{this} to not have a " + d + " above #{exp}",
e,
p
);
} else
this.assert(
r > e,
"expected #{this} to be above #{exp}",
"expected #{this} to be at most #{exp}",
e
);
}
o(Xi, "assertAbove");
R(Xi, "assertAbove");
E.addMethod("above", Xi);
E.addMethod("gt", Xi);
E.addMethod("greaterThan", Xi);
function Ji(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "doLength"), i = x(this, "message"), a = i ? i + ": " : "", s = x(this, "ssfi"), l = de(r).toLowerCase(),
c = de(e).toLowerCase(), u, d = !0;
if (n && l !== "map" && l !== "set" && new E(r, i, s, !0).to.have.property("length"), !n && l === "date" && c !== "date")
u = a + "the argument to least must be a date";
else if (!Ie(e) && (n || Ie(r)))
u = a + "the argument to least must be a number";
else if (!n && l !== "date" && !Ie(r)) {
var p = l === "string" ? "'" + r + "'" : r;
u = a + "expected " + p + " to be a number or a date";
} else
d = !1;
if (d)
throw new re(u, void 0, s);
if (n) {
var b = "length", m;
l === "map" || l === "set" ? (b = "size", m = r.size) : m = r.length, this.assert(
m >= e,
"expected #{this} to have a " + b + " at least #{exp} but got #{act}",
"expected #{this} to have a " + b + " below #{exp}",
e,
m
);
} else
this.assert(
r >= e,
"expected #{this} to be at least #{exp}",
"expected #{this} to be below #{exp}",
e
);
}
o(Ji, "assertLeast");
R(Ji, "assertLeast");
E.addMethod("least", Ji);
E.addMethod("gte", Ji);
E.addMethod("greaterThanOrEqual", Ji);
function Qi(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "doLength"), i = x(this, "message"), a = i ? i + ": " : "", s = x(this, "ssfi"), l = de(r).toLowerCase(),
c = de(e).toLowerCase(), u, d = !0;
if (n && l !== "map" && l !== "set" && new E(r, i, s, !0).to.have.property("length"), !n && l === "date" && c !== "date")
u = a + "the argument to below must be a date";
else if (!Ie(e) && (n || Ie(r)))
u = a + "the argument to below must be a number";
else if (!n && l !== "date" && !Ie(r)) {
var p = l === "string" ? "'" + r + "'" : r;
u = a + "expected " + p + " to be a number or a date";
} else
d = !1;
if (d)
throw new re(u, void 0, s);
if (n) {
var b = "length", m;
l === "map" || l === "set" ? (b = "size", m = r.size) : m = r.length, this.assert(
m < e,
"expected #{this} to have a " + b + " below #{exp} but got #{act}",
"expected #{this} to not have a " + b + " below #{exp}",
e,
m
);
} else
this.assert(
r < e,
"expected #{this} to be below #{exp}",
"expected #{this} to be at least #{exp}",
e
);
}
o(Qi, "assertBelow");
R(Qi, "assertBelow");
E.addMethod("below", Qi);
E.addMethod("lt", Qi);
E.addMethod("lessThan", Qi);
function Zi(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "doLength"), i = x(this, "message"), a = i ? i + ": " : "", s = x(this, "ssfi"), l = de(r).toLowerCase(),
c = de(e).toLowerCase(), u, d = !0;
if (n && l !== "map" && l !== "set" && new E(r, i, s, !0).to.have.property("length"), !n && l === "date" && c !== "date")
u = a + "the argument to most must be a date";
else if (!Ie(e) && (n || Ie(r)))
u = a + "the argument to most must be a number";
else if (!n && l !== "date" && !Ie(r)) {
var p = l === "string" ? "'" + r + "'" : r;
u = a + "expected " + p + " to be a number or a date";
} else
d = !1;
if (d)
throw new re(u, void 0, s);
if (n) {
var b = "length", m;
l === "map" || l === "set" ? (b = "size", m = r.size) : m = r.length, this.assert(
m <= e,
"expected #{this} to have a " + b + " at most #{exp} but got #{act}",
"expected #{this} to have a " + b + " above #{exp}",
e,
m
);
} else
this.assert(
r <= e,
"expected #{this} to be at most #{exp}",
"expected #{this} to be above #{exp}",
e
);
}
o(Zi, "assertMost");
R(Zi, "assertMost");
E.addMethod("most", Zi);
E.addMethod("lte", Zi);
E.addMethod("lessThanOrEqual", Zi);
E.addMethod("within", function(e, t, r) {
r && x(this, "message", r);
var n = x(this, "object"), i = x(this, "doLength"), a = x(this, "message"), s = a ? a + ": " : "", l = x(this, "ssfi"), c = de(n).toLowerCase(),
u = de(e).toLowerCase(), d = de(t).toLowerCase(), p, b = !0, m = u === "date" && d === "date" ? e.toISOString() + ".." + t.toISOString() :
e + ".." + t;
if (i && c !== "map" && c !== "set" && new E(n, a, l, !0).to.have.property("length"), !i && c === "date" && (u !== "date" || d !== "date"))
p = s + "the arguments to within must be dates";
else if ((!Ie(e) || !Ie(t)) && (i || Ie(n)))
p = s + "the arguments to within must be numbers";
else if (!i && c !== "date" && !Ie(n)) {
var y = c === "string" ? "'" + n + "'" : n;
p = s + "expected " + y + " to be a number or a date";
} else
b = !1;
if (b)
throw new re(p, void 0, l);
if (i) {
var h = "length", w;
c === "map" || c === "set" ? (h = "size", w = n.size) : w = n.length, this.assert(
w >= e && w <= t,
"expected #{this} to have a " + h + " within " + m,
"expected #{this} to not have a " + h + " within " + m
);
} else
this.assert(
n >= e && n <= t,
"expected #{this} to be within " + m,
"expected #{this} to not be within " + m
);
});
function Fm(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "ssfi"), i = x(this, "message");
try {
var a = r instanceof e;
} catch (l) {
throw l instanceof TypeError ? (i = i ? i + ": " : "", new re(
i + "The instanceof assertion needs a constructor but " + de(e) + " was given.",
void 0,
n
)) : l;
}
var s = Ki(e);
s == null && (s = "an unnamed constructor"), this.assert(
a,
"expected #{this} to be an instance of " + s,
"expected #{this} to not be an instance of " + s
);
}
o(Fm, "assertInstanceOf");
R(Fm, "assertInstanceOf");
E.addMethod("instanceof", Fm);
E.addMethod("instanceOf", Fm);
function Hm(e, t, r) {
r && x(this, "message", r);
var n = x(this, "nested"), i = x(this, "own"), a = x(this, "message"), s = x(this, "object"), l = x(this, "ssfi"), c = typeof e;
if (a = a ? a + ": " : "", n) {
if (c !== "string")
throw new re(
a + "the argument to property must be a string when using nested syntax",
void 0,
l
);
} else if (c !== "string" && c !== "number" && c !== "symbol")
throw new re(
a + "the argument to property must be a string, number, or symbol",
void 0,
l
);
if (n && i)
throw new re(
a + 'The "nested" and "own" flags cannot be combined.',
void 0,
l
);
if (s == null)
throw new re(
a + "Target cannot be null or undefined.",
void 0,
l
);
var u = x(this, "deep"), d = x(this, "negate"), p = n ? Rm(s, e) : null, b = n ? p.value : s[e], m = u ? x(this, "eql") : (w, g) => w === g,
y = "";
u && (y += "deep "), i && (y += "own "), n && (y += "nested "), y += "property ";
var h;
i ? h = Object.prototype.hasOwnProperty.call(s, e) : n ? h = p.exists : h = Gi(s, e), (!d || arguments.length === 1) && this.assert(
h,
"expected #{this} to have " + y + te(e),
"expected #{this} to not have " + y + te(e)
), arguments.length > 1 && this.assert(
h && m(t, b),
"expected #{this} to have " + y + te(e) + " of #{exp}, but got #{act}",
"expected #{this} to not have " + y + te(e) + " of #{act}",
t,
b
), x(this, "object", b);
}
o(Hm, "assertProperty");
R(Hm, "assertProperty");
E.addMethod("property", Hm);
function Um(e, t, r) {
x(this, "own", !0), Hm.apply(this, arguments);
}
o(Um, "assertOwnProperty");
R(Um, "assertOwnProperty");
E.addMethod("ownProperty", Um);
E.addMethod("haveOwnProperty", Um);
function Vm(e, t, r) {
typeof t == "string" && (r = t, t = null), r && x(this, "message", r);
var n = x(this, "object"), i = Object.getOwnPropertyDescriptor(Object(n), e), a = x(this, "eql");
i && t ? this.assert(
a(t, i),
"expected the own property descriptor for " + te(e) + " on #{this} to match " + te(t) + ", got " + te(i),
"expected the own property descriptor for " + te(e) + " on #{this} to not match " + te(t),
t,
i,
!0
) : this.assert(
i,
"expected #{this} to have an own property descriptor for " + te(e),
"expected #{this} to not have an own property descriptor for " + te(e)
), x(this, "object", i);
}
o(Vm, "assertOwnPropertyDescriptor");
R(Vm, "assertOwnPropertyDescriptor");
E.addMethod("ownPropertyDescriptor", Vm);
E.addMethod("haveOwnPropertyDescriptor", Vm);
function zm() {
x(this, "doLength", !0);
}
o(zm, "assertLengthChain");
R(zm, "assertLengthChain");
function Wm(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = de(r).toLowerCase(), i = x(this, "message"), a = x(this, "ssfi"), s = "length", l;
switch (n) {
case "map":
case "set":
s = "size", l = r.size;
break;
default:
new E(r, i, a, !0).to.have.property("length"), l = r.length;
}
this.assert(
l == e,
"expected #{this} to have a " + s + " of #{exp} but got #{act}",
"expected #{this} to not have a " + s + " of #{act}",
e,
l
);
}
o(Wm, "assertLength");
R(Wm, "assertLength");
E.addChainableMethod("length", Wm, zm);
E.addChainableMethod("lengthOf", Wm, zm);
function Gm(e, t) {
t && x(this, "message", t);
var r = x(this, "object");
this.assert(
e.exec(r),
"expected #{this} to match " + e,
"expected #{this} not to match " + e
);
}
o(Gm, "assertMatch");
R(Gm, "assertMatch");
E.addMethod("match", Gm);
E.addMethod("matches", Gm);
E.addMethod("string", function(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "message"), i = x(this, "ssfi");
new E(r, n, i, !0).is.a("string"), this.assert(
~r.indexOf(e),
"expected #{this} to contain " + te(e),
"expected #{this} to not contain " + te(e)
);
});
function Km(e) {
var t = x(this, "object"), r = de(t), n = de(e), i = x(this, "ssfi"), a = x(this, "deep"), s, l = "", c, u = !0, d = x(this, "message");
d = d ? d + ": " : "";
var p = d + "when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String argume\
nts";
if (r === "Map" || r === "Set")
l = a ? "deeply " : "", c = [], t.forEach(function(q, P) {
c.push(P);
}), n !== "Array" && (e = Array.prototype.slice.call(arguments));
else {
switch (c = jm(t), n) {
case "Array":
if (arguments.length > 1)
throw new re(p, void 0, i);
break;
case "Object":
if (arguments.length > 1)
throw new re(p, void 0, i);
e = Object.keys(e);
break;
default:
e = Array.prototype.slice.call(arguments);
}
e = e.map(function(q) {
return typeof q == "symbol" ? q : String(q);
});
}
if (!e.length)
throw new re(d + "keys required", void 0, i);
var b = e.length, m = x(this, "any"), y = x(this, "all"), h = e, w = a ? x(this, "eql") : (q, P) => q === P;
if (!m && !y && (y = !0), m && (u = h.some(function(q) {
return c.some(function(P) {
return w(q, P);
});
})), y && (u = h.every(function(q) {
return c.some(function(P) {
return w(q, P);
});
}), x(this, "contains") || (u = u && e.length == c.length)), b > 1) {
e = e.map(function(q) {
return te(q);
});
var g = e.pop();
y && (s = e.join(", ") + ", and " + g), m && (s = e.join(", ") + ", or " + g);
} else
s = te(e[0]);
s = (b > 1 ? "keys " : "key ") + s, s = (x(this, "contains") ? "contain " : "have ") + s, this.assert(
u,
"expected #{this} to " + l + s,
"expected #{this} to not " + l + s,
h.slice(0).sort(Fi),
c.sort(Fi),
!0
);
}
o(Km, "assertKeys");
R(Km, "assertKeys");
E.addMethod("keys", Km);
E.addMethod("key", Km);
function ea(e, t, r) {
r && x(this, "message", r);
var n = x(this, "object"), i = x(this, "ssfi"), a = x(this, "message"), s = x(this, "negate") || !1;
new E(n, a, i, !0).is.a("function"), (Ui(e) || typeof e == "string") && (t = e, e = null);
let l, c = !1;
try {
n();
} catch (q) {
c = !0, l = q;
}
var u = e === void 0 && t === void 0, d = !!(e && t), p = !1, b = !1;
if (u || !u && !s) {
var m = "an error";
e instanceof Error ? m = "#{exp}" : e && (m = lt.getConstructorName(e));
let q = l;
if (l instanceof Error)
q = l.toString();
else if (typeof l == "string")
q = l;
else if (l && (typeof l == "object" || typeof l == "function"))
try {
q = lt.getConstructorName(l);
} catch {
}
this.assert(
c,
"expected #{this} to throw " + m,
"expected #{this} to not throw an error but #{act} was thrown",
e && e.toString(),
q
);
}
if (e && l) {
if (e instanceof Error) {
var y = lt.compatibleInstance(
l,
e
);
y === s && (d && s ? p = !0 : this.assert(
s,
"expected #{this} to throw #{exp} but #{act} was thrown",
"expected #{this} to not throw #{exp}" + (l && !s ? " but #{act} was thrown" : ""),
e.toString(),
l.toString()
));
}
var h = lt.compatibleConstructor(
l,
e
);
h === s && (d && s ? p = !0 : this.assert(
s,
"expected #{this} to throw #{exp} but #{act} was thrown",
"expected #{this} to not throw #{exp}" + (l ? " but #{act} was thrown" : ""),
e instanceof Error ? e.toString() : e && lt.getConstructorName(e),
l instanceof Error ? l.toString() : l && lt.getConstructorName(l)
));
}
if (l && t !== void 0 && t !== null) {
var w = "including";
Ui(t) && (w = "matching");
var g = lt.compatibleMessage(
l,
t
);
g === s && (d && s ? b = !0 : this.assert(
s,
"expected #{this} to throw error " + w + " #{exp} but got #{act}",
"expected #{this} to throw error not " + w + " #{exp}",
t,
lt.getMessage(l)
));
}
p && b && this.assert(
s,
"expected #{this} to throw #{exp} but #{act} was thrown",
"expected #{this} to not throw #{exp}" + (l ? " but #{act} was thrown" : ""),
e instanceof Error ? e.toString() : e && lt.getConstructorName(e),
l instanceof Error ? l.toString() : l && lt.getConstructorName(l)
), x(this, "object", l);
}
o(ea, "assertThrows");
R(ea, "assertThrows");
E.addMethod("throw", ea);
E.addMethod("throws", ea);
E.addMethod("Throw", ea);
function Ym(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "itself"), i = typeof r == "function" && !n ? r.prototype[e] : r[e];
this.assert(
typeof i == "function",
"expected #{this} to respond to " + te(e),
"expected #{this} to not respond to " + te(e)
);
}
o(Ym, "respondTo");
R(Ym, "respondTo");
E.addMethod("respondTo", Ym);
E.addMethod("respondsTo", Ym);
E.addProperty("itself", function() {
x(this, "itself", !0);
});
function Xm(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = e(r);
this.assert(
n,
"expected #{this} to satisfy " + $r(e),
"expected #{this} to not satisfy" + $r(e),
!x(this, "negate"),
n
);
}
o(Xm, "satisfy");
R(Xm, "satisfy");
E.addMethod("satisfy", Xm);
E.addMethod("satisfies", Xm);
function Jm(e, t, r) {
r && x(this, "message", r);
var n = x(this, "object"), i = x(this, "message"), a = x(this, "ssfi");
new E(n, i, a, !0).is.numeric;
let s = "A `delta` value is required for `closeTo`";
if (t == null)
throw new re(
i ? `${i}: ${s}` : s,
void 0,
a
);
if (new E(t, i, a, !0).is.numeric, s = "A `expected` value is required for `closeTo`", e == null)
throw new re(
i ? `${i}: ${s}` : s,
void 0,
a
);
new E(e, i, a, !0).is.numeric;
let l = /* @__PURE__ */ R((u) => u < 0n ? -u : u, "abs"), c = /* @__PURE__ */ R((u) => parseFloat(parseFloat(u).toPrecision(12)), "strip");
this.assert(
c(l(n - e)) <= t,
"expected #{this} to be close to " + e + " +/- " + t,
"expected #{this} not to be close to " + e + " +/- " + t
);
}
o(Jm, "closeTo");
R(Jm, "closeTo");
E.addMethod("closeTo", Jm);
E.addMethod("approximately", Jm);
function _w(e, t, r, n, i) {
let a = Array.from(t), s = Array.from(e);
if (!n) {
if (s.length !== a.length)
return !1;
a = a.slice();
}
return s.every(function(l, c) {
if (i)
return r ? r(l, a[c]) : l === a[c];
if (!r) {
var u = a.indexOf(l);
return u === -1 ? !1 : (n || a.splice(u, 1), !0);
}
return a.some(function(d, p) {
return r(l, d) ? (n || a.splice(p, 1), !0) : !1;
});
});
}
o(_w, "isSubsetOf");
R(_w, "isSubsetOf");
E.addMethod("members", function(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "message"), i = x(this, "ssfi");
new E(r, n, i, !0).to.be.iterable, new E(e, n, i, !0).to.be.iterable;
var a = x(this, "contains"), s = x(this, "ordered"), l, c, u;
a ? (l = s ? "an ordered superset" : "a superset", c = "expected #{this} to be " + l + " of #{exp}", u = "expected #{this} to not be " + l +
" of #{exp}") : (l = s ? "ordered members" : "members", c = "expected #{this} to have the same " + l + " as #{exp}", u = "expected #{this}\
to not have the same " + l + " as #{exp}");
var d = x(this, "deep") ? x(this, "eql") : void 0;
this.assert(
_w(e, r, d, a, s),
c,
u,
e,
r,
!0
);
});
E.addProperty("iterable", function(e) {
e && x(this, "message", e);
var t = x(this, "object");
this.assert(
t != null && t[Symbol.iterator],
"expected #{this} to be an iterable",
"expected #{this} to not be an iterable",
t
);
});
function Cw(e, t) {
t && x(this, "message", t);
var r = x(this, "object"), n = x(this, "message"), i = x(this, "ssfi"), a = x(this, "contains"), s = x(this, "deep"), l = x(this, "eql");
new E(e, n, i, !0).to.be.an("array"), a ? this.assert(
e.some(function(c) {
return r.indexOf(c) > -1;
}),
"expected #{this} to contain one of #{exp}",
"expected #{this} to not contain one of #{exp}",
e,
r
) : s ? this.assert(
e.some(function(c) {
return l(r, c);
}),
"expected #{this} to deeply equal one of #{exp}",
"expected #{this} to deeply equal one of #{exp}",
e,
r
) : this.assert(
e.indexOf(r) > -1,
"expected #{this} to be one of #{exp}",
"expected #{this} to not be one of #{exp}",
e,
r
);
}
o(Cw, "oneOf");
R(Cw, "oneOf");
E.addMethod("oneOf", Cw);
function Qm(e, t, r) {
r && x(this, "message", r);
var n = x(this, "object"), i = x(this, "message"), a = x(this, "ssfi");
new E(n, i, a, !0).is.a("function");
var s;
t ? (new E(e, i, a, !0).to.have.property(t), s = e[t]) : (new E(e, i, a, !0).is.a("function"), s = e()), n();
var l = t == null ? e() : e[t], c = t == null ? s : "." + t;
x(this, "deltaMsgObj", c), x(this, "initialDeltaValue", s), x(this, "finalDeltaValue", l), x(this, "deltaBehavior", "change"), x(this, "re\
alDelta", l !== s), this.assert(
s !== l,
"expected " + c + " to change",
"expected " + c + " to not change"
);
}
o(Qm, "assertChanges");
R(Qm, "assertChanges");
E.addMethod("change", Qm);
E.addMethod("changes", Qm);
function Zm(e, t, r) {
r && x(this, "message", r);
var n = x(this, "object"), i = x(this, "message"), a = x(this, "ssfi");
new E(n, i, a, !0).is.a("function");
var s;
t ? (new E(e, i, a, !0).to.have.property(t), s = e[t]) : (new E(e, i, a, !0).is.a("function"), s = e()), new E(s, i, a, !0).is.a("number"),
n();
var l = t == null ? e() : e[t], c = t == null ? s : "." + t;
x(this, "deltaMsgObj", c), x(this, "initialDeltaValue", s), x(this, "finalDeltaValue", l), x(this, "deltaBehavior", "increase"), x(this, "\
realDelta", l - s), this.assert(
l - s > 0,
"expected " + c + " to increase",
"expected " + c + " to not increase"
);
}
o(Zm, "assertIncreases");
R(Zm, "assertIncreases");
E.addMethod("increase", Zm);
E.addMethod("increases", Zm);
function eh(e, t, r) {
r && x(this, "message", r);
var n = x(this, "object"), i = x(this, "message"), a = x(this, "ssfi");
new E(n, i, a, !0).is.a("function");
var s;
t ? (new E(e, i, a, !0).to.have.property(t), s = e[t]) : (new E(e, i, a, !0).is.a("function"), s = e()), new E(s, i, a, !0).is.a("number"),
n();
var l = t == null ? e() : e[t], c = t == null ? s : "." + t;
x(this, "deltaMsgObj", c), x(this, "initialDeltaValue", s), x(this, "finalDeltaValue", l), x(this, "deltaBehavior", "decrease"), x(this, "\
realDelta", s - l), this.assert(
l - s < 0,
"expected " + c + " to decrease",
"expected " + c + " to not decrease"
);
}
o(eh, "assertDecreases");
R(eh, "assertDecreases");
E.addMethod("decrease", eh);
E.addMethod("decreases", eh);
function qw(e, t) {
t && x(this, "message", t);
var r = x(this, "deltaMsgObj"), n = x(this, "initialDeltaValue"), i = x(this, "finalDeltaValue"), a = x(this, "deltaBehavior"), s = x(this,
"realDelta"), l;
a === "change" ? l = Math.abs(i - n) === Math.abs(e) : l = s === Math.abs(e), this.assert(
l,
"expected " + r + " to " + a + " by " + e,
"expected " + r + " to not " + a + " by " + e
);
}
o(qw, "assertDelta");
R(qw, "assertDelta");
E.addMethod("by", qw);
E.addProperty("extensible", function() {
var e = x(this, "object"), t = e === Object(e) && Object.isExtensible(e);
this.assert(
t,
"expected #{this} to be extensible",
"expected #{this} to not be extensible"
);
});
E.addProperty("sealed", function() {
var e = x(this, "object"), t = e === Object(e) ? Object.isSealed(e) : !0;
this.assert(
t,
"expected #{this} to be sealed",
"expected #{this} to not be sealed"
);
});
E.addProperty("frozen", function() {
var e = x(this, "object"), t = e === Object(e) ? Object.isFrozen(e) : !0;
this.assert(
t,
"expected #{this} to be frozen",
"expected #{this} to not be frozen"
);
});
E.addProperty("finite", function(e) {
var t = x(this, "object");
this.assert(
typeof t == "number" && isFinite(t),
"expected #{this} to be a finite number",
"expected #{this} to not be a finite number"
);
});
function Vi(e, t) {
return e === t ? !0 : typeof t != typeof e ? !1 : typeof e != "object" || e === null ? e === t : t ? Array.isArray(e) ? Array.isArray(t) ?
e.every(function(r) {
return t.some(function(n) {
return Vi(r, n);
});
}) : !1 : e instanceof Date ? t instanceof Date ? e.getTime() === t.getTime() : !1 : Object.keys(e).every(function(r) {
var n = e[r], i = t[r];
return typeof n == "object" && n !== null && i !== null ? Vi(n, i) : typeof n == "function" ? n(i) : i === n;
}) : !1;
}
o(Vi, "compareSubset");
R(Vi, "compareSubset");
E.addMethod("containSubset", function(e) {
let t = G(this, "object"), r = We.showDiff;
this.assert(
Vi(e, t),
"expected #{act} to contain subset #{exp}",
"expected #{act} to not contain subset #{exp}",
e,
t,
r
);
});
function nr(e, t) {
return new E(e, t);
}
o(nr, "expect");
R(nr, "expect");
nr.fail = function(e, t, r, n) {
throw arguments.length < 2 && (r = e, e = void 0), r = r || "expect.fail()", new re(
r,
{
actual: e,
expected: t,
operator: n
},
nr.fail
);
};
var Pw = {};
Em(Pw, {
Should: /* @__PURE__ */ o(() => $B, "Should"),
should: /* @__PURE__ */ o(() => jB, "should")
});
function th() {
function e() {
return this instanceof String || this instanceof Number || this instanceof Boolean || typeof Symbol == "function" && this instanceof Symbol ||
typeof BigInt == "function" && this instanceof BigInt ? new E(this.valueOf(), null, e) : new E(this, null, e);
}
o(e, "shouldGetter"), R(e, "shouldGetter");
function t(n) {
Object.defineProperty(this, "should", {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
});
}
o(t, "shouldSetter"), R(t, "shouldSetter"), Object.defineProperty(Object.prototype, "should", {
set: t,
get: e,
configurable: !0
});
var r = {};
return r.fail = function(n, i, a, s) {
throw arguments.length < 2 && (a = n, n = void 0), a = a || "should.fail()", new re(
a,
{
actual: n,
expected: i,
operator: s
},
r.fail
);
}, r.equal = function(n, i, a) {
new E(n, a).to.equal(i);
}, r.Throw = function(n, i, a, s) {
new E(n, s).to.Throw(i, a);
}, r.exist = function(n, i) {
new E(n, i).to.exist;
}, r.not = {}, r.not.equal = function(n, i, a) {
new E(n, a).to.not.equal(i);
}, r.not.Throw = function(n, i, a, s) {
new E(n, s).to.not.Throw(i, a);
}, r.not.exist = function(n, i) {
new E(n, i).to.not.exist;
}, r.throw = r.Throw, r.not.throw = r.not.Throw, r;
}
o(th, "loadShould");
R(th, "loadShould");
var jB = th, $B = th;
function v(e, t) {
var r = new E(null, null, v, !0);
r.assert(e, t, "[ negation message unavailable ]");
}
o(v, "assert");
R(v, "assert");
v.fail = function(e, t, r, n) {
throw arguments.length < 2 && (r = e, e = void 0), r = r || "assert.fail()", new re(
r,
{
actual: e,
expected: t,
operator: n
},
v.fail
);
};
v.isOk = function(e, t) {
new E(e, t, v.isOk, !0).is.ok;
};
v.isNotOk = function(e, t) {
new E(e, t, v.isNotOk, !0).is.not.ok;
};
v.equal = function(e, t, r) {
var n = new E(e, r, v.equal, !0);
n.assert(
t == G(n, "object"),
"expected #{this} to equal #{exp}",
"expected #{this} to not equal #{act}",
t,
e,
!0
);
};
v.notEqual = function(e, t, r) {
var n = new E(e, r, v.notEqual, !0);
n.assert(
t != G(n, "object"),
"expected #{this} to not equal #{exp}",
"expected #{this} to equal #{act}",
t,
e,
!0
);
};
v.strictEqual = function(e, t, r) {
new E(e, r, v.strictEqual, !0).to.equal(t);
};
v.notStrictEqual = function(e, t, r) {
new E(e, r, v.notStrictEqual, !0).to.not.equal(t);
};
v.deepEqual = v.deepStrictEqual = function(e, t, r) {
new E(e, r, v.deepEqual, !0).to.eql(t);
};
v.notDeepEqual = function(e, t, r) {
new E(e, r, v.notDeepEqual, !0).to.not.eql(t);
};
v.isAbove = function(e, t, r) {
new E(e, r, v.isAbove, !0).to.be.above(t);
};
v.isAtLeast = function(e, t, r) {
new E(e, r, v.isAtLeast, !0).to.be.least(t);
};
v.isBelow = function(e, t, r) {
new E(e, r, v.isBelow, !0).to.be.below(t);
};
v.isAtMost = function(e, t, r) {
new E(e, r, v.isAtMost, !0).to.be.most(t);
};
v.isTrue = function(e, t) {
new E(e, t, v.isTrue, !0).is.true;
};
v.isNotTrue = function(e, t) {
new E(e, t, v.isNotTrue, !0).to.not.equal(!0);
};
v.isFalse = function(e, t) {
new E(e, t, v.isFalse, !0).is.false;
};
v.isNotFalse = function(e, t) {
new E(e, t, v.isNotFalse, !0).to.not.equal(!1);
};
v.isNull = function(e, t) {
new E(e, t, v.isNull, !0).to.equal(null);
};
v.isNotNull = function(e, t) {
new E(e, t, v.isNotNull, !0).to.not.equal(null);
};
v.isNaN = function(e, t) {
new E(e, t, v.isNaN, !0).to.be.NaN;
};
v.isNotNaN = function(e, t) {
new E(e, t, v.isNotNaN, !0).not.to.be.NaN;
};
v.exists = function(e, t) {
new E(e, t, v.exists, !0).to.exist;
};
v.notExists = function(e, t) {
new E(e, t, v.notExists, !0).to.not.exist;
};
v.isUndefined = function(e, t) {
new E(e, t, v.isUndefined, !0).to.equal(void 0);
};
v.isDefined = function(e, t) {
new E(e, t, v.isDefined, !0).to.not.equal(void 0);
};
v.isCallable = function(e, t) {
new E(e, t, v.isCallable, !0).is.callable;
};
v.isNotCallable = function(e, t) {
new E(e, t, v.isNotCallable, !0).is.not.callable;
};
v.isObject = function(e, t) {
new E(e, t, v.isObject, !0).to.be.a("object");
};
v.isNotObject = function(e, t) {
new E(e, t, v.isNotObject, !0).to.not.be.a("object");
};
v.isArray = function(e, t) {
new E(e, t, v.isArray, !0).to.be.an("array");
};
v.isNotArray = function(e, t) {
new E(e, t, v.isNotArray, !0).to.not.be.an("array");
};
v.isString = function(e, t) {
new E(e, t, v.isString, !0).to.be.a("string");
};
v.isNotString = function(e, t) {
new E(e, t, v.isNotString, !0).to.not.be.a("string");
};
v.isNumber = function(e, t) {
new E(e, t, v.isNumber, !0).to.be.a("number");
};
v.isNotNumber = function(e, t) {
new E(e, t, v.isNotNumber, !0).to.not.be.a("number");
};
v.isNumeric = function(e, t) {
new E(e, t, v.isNumeric, !0).is.numeric;
};
v.isNotNumeric = function(e, t) {
new E(e, t, v.isNotNumeric, !0).is.not.numeric;
};
v.isFinite = function(e, t) {
new E(e, t, v.isFinite, !0).to.be.finite;
};
v.isBoolean = function(e, t) {
new E(e, t, v.isBoolean, !0).to.be.a("boolean");
};
v.isNotBoolean = function(e, t) {
new E(e, t, v.isNotBoolean, !0).to.not.be.a("boolean");
};
v.typeOf = function(e, t, r) {
new E(e, r, v.typeOf, !0).to.be.a(t);
};
v.notTypeOf = function(e, t, r) {
new E(e, r, v.notTypeOf, !0).to.not.be.a(t);
};
v.instanceOf = function(e, t, r) {
new E(e, r, v.instanceOf, !0).to.be.instanceOf(t);
};
v.notInstanceOf = function(e, t, r) {
new E(e, r, v.notInstanceOf, !0).to.not.be.instanceOf(
t
);
};
v.include = function(e, t, r) {
new E(e, r, v.include, !0).include(t);
};
v.notInclude = function(e, t, r) {
new E(e, r, v.notInclude, !0).not.include(t);
};
v.deepInclude = function(e, t, r) {
new E(e, r, v.deepInclude, !0).deep.include(t);
};
v.notDeepInclude = function(e, t, r) {
new E(e, r, v.notDeepInclude, !0).not.deep.include(t);
};
v.nestedInclude = function(e, t, r) {
new E(e, r, v.nestedInclude, !0).nested.include(t);
};
v.notNestedInclude = function(e, t, r) {
new E(e, r, v.notNestedInclude, !0).not.nested.include(
t
);
};
v.deepNestedInclude = function(e, t, r) {
new E(e, r, v.deepNestedInclude, !0).deep.nested.include(
t
);
};
v.notDeepNestedInclude = function(e, t, r) {
new E(
e,
r,
v.notDeepNestedInclude,
!0
).not.deep.nested.include(t);
};
v.ownInclude = function(e, t, r) {
new E(e, r, v.ownInclude, !0).own.include(t);
};
v.notOwnInclude = function(e, t, r) {
new E(e, r, v.notOwnInclude, !0).not.own.include(t);
};
v.deepOwnInclude = function(e, t, r) {
new E(e, r, v.deepOwnInclude, !0).deep.own.include(t);
};
v.notDeepOwnInclude = function(e, t, r) {
new E(e, r, v.notDeepOwnInclude, !0).not.deep.own.include(
t
);
};
v.match = function(e, t, r) {
new E(e, r, v.match, !0).to.match(t);
};
v.notMatch = function(e, t, r) {
new E(e, r, v.notMatch, !0).to.not.match(t);
};
v.property = function(e, t, r) {
new E(e, r, v.property, !0).to.have.property(t);
};
v.notProperty = function(e, t, r) {
new E(e, r, v.notProperty, !0).to.not.have.property(t);
};
v.propertyVal = function(e, t, r, n) {
new E(e, n, v.propertyVal, !0).to.have.property(t, r);
};
v.notPropertyVal = function(e, t, r, n) {
new E(e, n, v.notPropertyVal, !0).to.not.have.property(
t,
r
);
};
v.deepPropertyVal = function(e, t, r, n) {
new E(e, n, v.deepPropertyVal, !0).to.have.deep.property(
t,
r
);
};
v.notDeepPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.notDeepPropertyVal,
!0
).to.not.have.deep.property(t, r);
};
v.ownProperty = function(e, t, r) {
new E(e, r, v.ownProperty, !0).to.have.own.property(t);
};
v.notOwnProperty = function(e, t, r) {
new E(e, r, v.notOwnProperty, !0).to.not.have.own.property(
t
);
};
v.ownPropertyVal = function(e, t, r, n) {
new E(e, n, v.ownPropertyVal, !0).to.have.own.property(
t,
r
);
};
v.notOwnPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.notOwnPropertyVal,
!0
).to.not.have.own.property(t, r);
};
v.deepOwnPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.deepOwnPropertyVal,
!0
).to.have.deep.own.property(t, r);
};
v.notDeepOwnPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.notDeepOwnPropertyVal,
!0
).to.not.have.deep.own.property(t, r);
};
v.nestedProperty = function(e, t, r) {
new E(e, r, v.nestedProperty, !0).to.have.nested.property(
t
);
};
v.notNestedProperty = function(e, t, r) {
new E(
e,
r,
v.notNestedProperty,
!0
).to.not.have.nested.property(t);
};
v.nestedPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.nestedPropertyVal,
!0
).to.have.nested.property(t, r);
};
v.notNestedPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.notNestedPropertyVal,
!0
).to.not.have.nested.property(t, r);
};
v.deepNestedPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.deepNestedPropertyVal,
!0
).to.have.deep.nested.property(t, r);
};
v.notDeepNestedPropertyVal = function(e, t, r, n) {
new E(
e,
n,
v.notDeepNestedPropertyVal,
!0
).to.not.have.deep.nested.property(t, r);
};
v.lengthOf = function(e, t, r) {
new E(e, r, v.lengthOf, !0).to.have.lengthOf(t);
};
v.hasAnyKeys = function(e, t, r) {
new E(e, r, v.hasAnyKeys, !0).to.have.any.keys(t);
};
v.hasAllKeys = function(e, t, r) {
new E(e, r, v.hasAllKeys, !0).to.have.all.keys(t);
};
v.containsAllKeys = function(e, t, r) {
new E(e, r, v.containsAllKeys, !0).to.contain.all.keys(
t
);
};
v.doesNotHaveAnyKeys = function(e, t, r) {
new E(e, r, v.doesNotHaveAnyKeys, !0).to.not.have.any.keys(
t
);
};
v.doesNotHaveAllKeys = function(e, t, r) {
new E(e, r, v.doesNotHaveAllKeys, !0).to.not.have.all.keys(
t
);
};
v.hasAnyDeepKeys = function(e, t, r) {
new E(e, r, v.hasAnyDeepKeys, !0).to.have.any.deep.keys(
t
);
};
v.hasAllDeepKeys = function(e, t, r) {
new E(e, r, v.hasAllDeepKeys, !0).to.have.all.deep.keys(
t
);
};
v.containsAllDeepKeys = function(e, t, r) {
new E(
e,
r,
v.containsAllDeepKeys,
!0
).to.contain.all.deep.keys(t);
};
v.doesNotHaveAnyDeepKeys = function(e, t, r) {
new E(
e,
r,
v.doesNotHaveAnyDeepKeys,
!0
).to.not.have.any.deep.keys(t);
};
v.doesNotHaveAllDeepKeys = function(e, t, r) {
new E(
e,
r,
v.doesNotHaveAllDeepKeys,
!0
).to.not.have.all.deep.keys(t);
};
v.throws = function(e, t, r, n) {
(typeof t == "string" || t instanceof RegExp) && (r = t, t = null);
var i = new E(e, n, v.throws, !0).to.throw(
t,
r
);
return G(i, "object");
};
v.doesNotThrow = function(e, t, r, n) {
(typeof t == "string" || t instanceof RegExp) && (r = t, t = null), new E(e, n, v.doesNotThrow, !0).to.not.throw(
t,
r
);
};
v.operator = function(e, t, r, n) {
var i;
switch (t) {
case "==":
i = e == r;
break;
case "===":
i = e === r;
break;
case ">":
i = e > r;
break;
case ">=":
i = e >= r;
break;
case "<":
i = e < r;
break;
case "<=":
i = e <= r;
break;
case "!=":
i = e != r;
break;
case "!==":
i = e !== r;
break;
default:
throw n = n && n + ": ", new re(
n + 'Invalid operator "' + t + '"',
void 0,
v.operator
);
}
var a = new E(i, n, v.operator, !0);
a.assert(
G(a, "object") === !0,
"expected " + te(e) + " to be " + t + " " + te(r),
"expected " + te(e) + " to not be " + t + " " + te(r)
);
};
v.closeTo = function(e, t, r, n) {
new E(e, n, v.closeTo, !0).to.be.closeTo(t, r);
};
v.approximately = function(e, t, r, n) {
new E(e, n, v.approximately, !0).to.be.approximately(
t,
r
);
};
v.sameMembers = function(e, t, r) {
new E(e, r, v.sameMembers, !0).to.have.same.members(t);
};
v.notSameMembers = function(e, t, r) {
new E(
e,
r,
v.notSameMembers,
!0
).to.not.have.same.members(t);
};
v.sameDeepMembers = function(e, t, r) {
new E(
e,
r,
v.sameDeepMembers,
!0
).to.have.same.deep.members(t);
};
v.notSameDeepMembers = function(e, t, r) {
new E(
e,
r,
v.notSameDeepMembers,
!0
).to.not.have.same.deep.members(t);
};
v.sameOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.sameOrderedMembers,
!0
).to.have.same.ordered.members(t);
};
v.notSameOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.notSameOrderedMembers,
!0
).to.not.have.same.ordered.members(t);
};
v.sameDeepOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.sameDeepOrderedMembers,
!0
).to.have.same.deep.ordered.members(t);
};
v.notSameDeepOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.notSameDeepOrderedMembers,
!0
).to.not.have.same.deep.ordered.members(t);
};
v.includeMembers = function(e, t, r) {
new E(e, r, v.includeMembers, !0).to.include.members(
t
);
};
v.notIncludeMembers = function(e, t, r) {
new E(
e,
r,
v.notIncludeMembers,
!0
).to.not.include.members(t);
};
v.includeDeepMembers = function(e, t, r) {
new E(
e,
r,
v.includeDeepMembers,
!0
).to.include.deep.members(t);
};
v.notIncludeDeepMembers = function(e, t, r) {
new E(
e,
r,
v.notIncludeDeepMembers,
!0
).to.not.include.deep.members(t);
};
v.includeOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.includeOrderedMembers,
!0
).to.include.ordered.members(t);
};
v.notIncludeOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.notIncludeOrderedMembers,
!0
).to.not.include.ordered.members(t);
};
v.includeDeepOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.includeDeepOrderedMembers,
!0
).to.include.deep.ordered.members(t);
};
v.notIncludeDeepOrderedMembers = function(e, t, r) {
new E(
e,
r,
v.notIncludeDeepOrderedMembers,
!0
).to.not.include.deep.ordered.members(t);
};
v.oneOf = function(e, t, r) {
new E(e, r, v.oneOf, !0).to.be.oneOf(t);
};
v.isIterable = function(e, t) {
if (e == null || !e[Symbol.iterator])
throw t = t ? `${t} expected ${te(e)} to be an iterable` : `expected ${te(e)} to be an iterable`, new re(t, void 0, v.isIterable);
};
v.changes = function(e, t, r, n) {
arguments.length === 3 && typeof t == "function" && (n = r, r = null), new E(e, n, v.changes, !0).to.change(t, r);
};
v.changesBy = function(e, t, r, n, i) {
if (arguments.length === 4 && typeof t == "function") {
var a = n;
n = r, i = a;
} else arguments.length === 3 && (n = r, r = null);
new E(e, i, v.changesBy, !0).to.change(t, r).by(n);
};
v.doesNotChange = function(e, t, r, n) {
return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new E(e, n, v.doesNotChange, !0).to.not.change(
t,
r
);
};
v.changesButNotBy = function(e, t, r, n, i) {
if (arguments.length === 4 && typeof t == "function") {
var a = n;
n = r, i = a;
} else arguments.length === 3 && (n = r, r = null);
new E(e, i, v.changesButNotBy, !0).to.change(t, r).but.not.by(n);
};
v.increases = function(e, t, r, n) {
return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new E(e, n, v.increases, !0).to.increase(t, r);
};
v.increasesBy = function(e, t, r, n, i) {
if (arguments.length === 4 && typeof t == "function") {
var a = n;
n = r, i = a;
} else arguments.length === 3 && (n = r, r = null);
new E(e, i, v.increasesBy, !0).to.increase(t, r).by(n);
};
v.doesNotIncrease = function(e, t, r, n) {
return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new E(e, n, v.doesNotIncrease, !0).to.not.increase(
t,
r
);
};
v.increasesButNotBy = function(e, t, r, n, i) {
if (arguments.length === 4 && typeof t == "function") {
var a = n;
n = r, i = a;
} else arguments.length === 3 && (n = r, r = null);
new E(e, i, v.increasesButNotBy, !0).to.increase(t, r).but.not.by(n);
};
v.decreases = function(e, t, r, n) {
return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new E(e, n, v.decreases, !0).to.decrease(t, r);
};
v.decreasesBy = function(e, t, r, n, i) {
if (arguments.length === 4 && typeof t == "function") {
var a = n;
n = r, i = a;
} else arguments.length === 3 && (n = r, r = null);
new E(e, i, v.decreasesBy, !0).to.decrease(t, r).by(n);
};
v.doesNotDecrease = function(e, t, r, n) {
return arguments.length === 3 && typeof t == "function" && (n = r, r = null), new E(e, n, v.doesNotDecrease, !0).to.not.decrease(
t,
r
);
};
v.doesNotDecreaseBy = function(e, t, r, n, i) {
if (arguments.length === 4 && typeof t == "function") {
var a = n;
n = r, i = a;
} else arguments.length === 3 && (n = r, r = null);
return new E(e, i, v.doesNotDecreaseBy, !0).to.not.decrease(t, r).by(n);
};
v.decreasesButNotBy = function(e, t, r, n, i) {
if (arguments.length === 4 && typeof t == "function") {
var a = n;
n = r, i = a;
} else arguments.length === 3 && (n = r, r = null);
new E(e, i, v.decreasesButNotBy, !0).to.decrease(t, r).but.not.by(n);
};
v.ifError = function(e) {
if (e)
throw e;
};
v.isExtensible = function(e, t) {
new E(e, t, v.isExtensible, !0).to.be.extensible;
};
v.isNotExtensible = function(e, t) {
new E(e, t, v.isNotExtensible, !0).to.not.be.extensible;
};
v.isSealed = function(e, t) {
new E(e, t, v.isSealed, !0).to.be.sealed;
};
v.isNotSealed = function(e, t) {
new E(e, t, v.isNotSealed, !0).to.not.be.sealed;
};
v.isFrozen = function(e, t) {
new E(e, t, v.isFrozen, !0).to.be.frozen;
};
v.isNotFrozen = function(e, t) {
new E(e, t, v.isNotFrozen, !0).to.not.be.frozen;
};
v.isEmpty = function(e, t) {
new E(e, t, v.isEmpty, !0).to.be.empty;
};
v.isNotEmpty = function(e, t) {
new E(e, t, v.isNotEmpty, !0).to.not.be.empty;
};
v.containsSubset = function(e, t, r) {
new E(e, r).to.containSubset(t);
};
v.doesNotContainSubset = function(e, t, r) {
new E(e, r).to.not.containSubset(t);
};
var LB = [
["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"],
["containsSubset", "containSubset"]
];
for (let [e, t] of LB)
v[t] = v[e];
var $E = [];
function or(e) {
let t = {
use: or,
AssertionError: re,
util: ft,
config: We,
expect: nr,
assert: v,
Assertion: E,
...Pw
};
return ~$E.indexOf(e) || (e(t, ft), $E.push(e)), t;
}
o(or, "use");
R(or, "use");
// src/test/expect.ts
var I7 = Li($T(), 1);
// ../node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
var m8 = {
reset: [0, 0],
bold: [1, 22, "\x1B[22m\x1B[1m"],
dim: [2, 22, "\x1B[22m\x1B[2m"],
italic: [3, 23],
underline: [4, 24],
inverse: [7, 27],
hidden: [8, 28],
strikethrough: [9, 29],
black: [30, 39],
red: [31, 39],
green: [32, 39],
yellow: [33, 39],
blue: [34, 39],
magenta: [35, 39],
cyan: [36, 39],
white: [37, 39],
gray: [90, 39],
bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
bgYellow: [43, 49],
bgBlue: [44, 49],
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],
blackBright: [90, 39],
redBright: [91, 39],
greenBright: [92, 39],
yellowBright: [93, 39],
blueBright: [94, 39],
magentaBright: [95, 39],
cyanBright: [96, 39],
whiteBright: [97, 39],
bgBlackBright: [100, 49],
bgRedBright: [101, 49],
bgGreenBright: [102, 49],
bgYellowBright: [103, 49],
bgBlueBright: [104, 49],
bgMagentaBright: [105, 49],
bgCyanBright: [106, 49],
bgWhiteBright: [107, 49]
}, h8 = Object.entries(m8);
function Db(e) {
return String(e);
}
o(Db, "a");
Db.open = "";
Db.close = "";
function LT(e = !1) {
let t = typeof process < "u" ? process : void 0, r = t?.env || {}, n = t?.argv || [];
return !("NO_COLOR" in r || n.includes("--no-color")) && ("FORCE_COLOR" in r || n.includes("--color") || t?.platform === "win32" || e && r.
TERM !== "dumb" || "CI" in r) || typeof window < "u" && !!window.chrome;
}
o(LT, "C");
function DT(e = !1) {
let t = LT(e), r = /* @__PURE__ */ o((s, l, c, u) => {
let d = "", p = 0;
do
d += s.substring(p, u) + c, p = u + l.length, u = s.indexOf(l, p);
while (~u);
return d + s.substring(p);
}, "i"), n = /* @__PURE__ */ o((s, l, c = s) => {
let u = /* @__PURE__ */ o((d) => {
let p = String(d), b = p.indexOf(l, s.length);
return ~b ? s + r(p, l, c, b) + l : s + p + l;
}, "o");
return u.open = s, u.close = l, u;
}, "g"), i = {
isColorSupported: t
}, a = /* @__PURE__ */ o((s) => `\x1B[${s}m`, "d");
for (let [s, l] of h8)
i[s] = t ? n(
a(l[0]),
a(l[1]),
l[2]
) : Db;
return i;
}
o(DT, "p");
// ../node_modules/tinyrainbow/dist/node.js
var BT = require("tty");
var b8 = process.env.FORCE_TTY !== void 0 || (0, BT.isatty)(1);
var be = DT(b8);
// ../node_modules/@vitest/pretty-format/dist/index.js
function eO(e, t) {
return t.forEach(function(r) {
r && typeof r != "string" && !Array.isArray(r) && Object.keys(r).forEach(function(n) {
if (n !== "default" && !(n in e)) {
var i = Object.getOwnPropertyDescriptor(r, n);
Object.defineProperty(e, n, i.get ? i : {
enumerable: !0,
get: /* @__PURE__ */ o(function() {
return r[n];
}, "get")
});
}
});
}), Object.freeze(e);
}
o(eO, "_mergeNamespaces");
function y8(e, t) {
let r = Object.keys(e), n = t === null ? r : r.sort(t);
if (Object.getOwnPropertySymbols)
for (let i of Object.getOwnPropertySymbols(e))
Object.getOwnPropertyDescriptor(e, i).enumerable && n.push(i);
return n;
}
o(y8, "getKeysOfEnumerableProperties");
function $o(e, t, r, n, i, a, s = ": ") {
let l = "", c = 0, u = e.next();
if (!u.done) {
l += t.spacingOuter;
let d = r + t.indent;
for (; !u.done; ) {
if (l += d, c++ === t.maxWidth) {
l += "\u2026";
break;
}
let p = a(u.value[0], t, d, n, i), b = a(u.value[1], t, d, n, i);
l += p + s + b, u = e.next(), u.done ? t.min || (l += ",") : l += `,${t.spacingInner}`;
}
l += t.spacingOuter + r;
}
return l;
}
o($o, "printIteratorEntries");
function Fb(e, t, r, n, i, a) {
let s = "", l = 0, c = e.next();
if (!c.done) {
s += t.spacingOuter;
let u = r + t.indent;
for (; !c.done; ) {
if (s += u, l++ === t.maxWidth) {
s += "\u2026";
break;
}
s += a(c.value, t, u, n, i), c = e.next(), c.done ? t.min || (s += ",") : s += `,${t.spacingInner}`;
}
s += t.spacingOuter + r;
}
return s;
}
o(Fb, "printIteratorValues");
function qu(e, t, r, n, i, a) {
let s = "";
e = e instanceof ArrayBuffer ? new DataView(e) : e;
let l = /* @__PURE__ */ o((u) => u instanceof DataView, "isDataView"), c = l(e) ? e.byteLength : e.length;
if (c > 0) {
s += t.spacingOuter;
let u = r + t.indent;
for (let d = 0; d < c; d++) {
if (s += u, d === t.maxWidth) {
s += "\u2026";
break;
}
(l(e) || d in e) && (s += a(l(e) ? e.getInt8(d) : e[d], t, u, n, i)), d < c - 1 ? s += `,${t.spacingInner}` : t.min || (s += ",");
}
s += t.spacingOuter + r;
}
return s;
}
o(qu, "printListItems");
function Hb(e, t, r, n, i, a) {
let s = "", l = y8(e, t.compareKeys);
if (l.length > 0) {
s += t.spacingOuter;
let c = r + t.indent;
for (let u = 0; u < l.length; u++) {
let d = l[u], p = a(d, t, c, n, i), b = a(e[d], t, c, n, i);
s += `${c + p}: ${b}`, u < l.length - 1 ? s += `,${t.spacingInner}` : t.min || (s += ",");
}
s += t.spacingOuter + r;
}
return s;
}
o(Hb, "printObjectProperties");
var g8 = typeof Symbol == "function" && Symbol.for ? Symbol.for("jest.asymmetricMatcher") : 1267621, Eu = " ", v8 = /* @__PURE__ */ o((e, t, r, n, i, a) => {
let s = e.toString();
if (s === "ArrayContaining" || s === "ArrayNotContaining")
return ++n > t.maxDepth ? `[${s}]` : `${s + Eu}[${qu(e.sample, t, r, n, i, a)}]`;
if (s === "ObjectContaining" || s === "ObjectNotContaining")
return ++n > t.maxDepth ? `[${s}]` : `${s + Eu}{${Hb(e.sample, t, r, n, i, a)}}`;
if (s === "StringMatching" || s === "StringNotMatching" || s === "StringContaining" || s === "StringNotContaining")
return s + Eu + a(e.sample, t, r, n, i);
if (typeof e.toAsymmetricMatcher != "function")
throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);
return e.toAsymmetricMatcher();
}, "serialize$5"), E8 = /* @__PURE__ */ o((e) => e && e.$$typeof === g8, "test$5"), w8 = {
serialize: v8,
test: E8
}, _8 = " ", tO = /* @__PURE__ */ new Set(["DOMStringMap", "NamedNodeMap"]), C8 = /^(?:HTML\w*Collection|NodeList)$/;
function q8(e) {
return tO.has(e) || C8.test(e);
}
o(q8, "testName");
var P8 = /* @__PURE__ */ o((e) => e && e.constructor && !!e.constructor.name && q8(e.constructor.name), "test$4");
function x8(e) {
return e.constructor.name === "NamedNodeMap";
}
o(x8, "isNamedNodeMap");
var R8 = /* @__PURE__ */ o((e, t, r, n, i, a) => {
let s = e.constructor.name;
return ++n > t.maxDepth ? `[${s}]` : (t.min ? "" : s + _8) + (tO.has(s) ? `{${Hb(x8(e) ? [...e].reduce((l, c) => (l[c.name] = c.value, l),
{}) : { ...e }, t, r, n, i, a)}}` : `[${qu([...e], t, r, n, i, a)}]`);
}, "serialize$4"), T8 = {
serialize: R8,
test: P8
};
function rO(e) {
return e.replaceAll("<", "<").replaceAll(">", ">");
}
o(rO, "escapeHTML");
function Ub(e, t, r, n, i, a, s) {
let l = n + r.indent, c = r.colors;
return e.map((u) => {
let d = t[u], p = s(d, r, l, i, a);
return typeof d != "string" && (p.includes(`
`) && (p = r.spacingOuter + l + p + r.spacingOuter + n), p = `{${p}}`), `${r.spacingInner + n + c.prop.open + u + c.prop.close}=${c.value.open}${p}${c.
value.close}`;
}).join("");
}
o(Ub, "printProps");
function Vb(e, t, r, n, i, a) {
return e.map((s) => t.spacingOuter + r + (typeof s == "string" ? nO(s, t) : a(s, t, r, n, i))).join("");
}
o(Vb, "printChildren");
function nO(e, t) {
let r = t.colors.content;
return r.open + rO(e) + r.close;
}
o(nO, "printText");
function O8(e, t) {
let r = t.colors.comment;
return `${r.open}${r.close}`;
}
o(O8, "printComment");
function zb(e, t, r, n, i) {
let a = n.colors.tag;
return `${a.open}<${e}${t && a.close + t + n.spacingOuter + i + a.open}${r ? `>${a.close}${r}${n.spacingOuter}${i}${a.open}${e}` : `${t &&
!n.min ? "" : " "}/`}>${a.close}`;
}
o(zb, "printElement");
function Wb(e, t) {
let r = t.colors.tag;
return `${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`;
}
o(Wb, "printElementAsLeaf");
var S8 = 1, oO = 3, iO = 8, aO = 11, M8 = /^(?:(?:HTML|SVG)\w*)?Element$/;
function A8(e) {
try {
return typeof e.hasAttribute == "function" && e.hasAttribute("is");
} catch {
return !1;
}
}
o(A8, "testHasAttribute");
function I8(e) {
let t = e.constructor.name, { nodeType: r, tagName: n } = e, i = typeof n == "string" && n.includes("-") || A8(e);
return r === S8 && (M8.test(t) || i) || r === oO && t === "Text" || r === iO && t === "Comment" || r === aO && t === "DocumentFragment";
}
o(I8, "testNode");
var N8 = /* @__PURE__ */ o((e) => {
var t;
return (e == null || (t = e.constructor) === null || t === void 0 ? void 0 : t.name) && I8(e);
}, "test$3");
function j8(e) {
return e.nodeType === oO;
}
o(j8, "nodeIsText");
function $8(e) {
return e.nodeType === iO;
}
o($8, "nodeIsComment");
function Bb(e) {
return e.nodeType === aO;
}
o(Bb, "nodeIsFragment");
var L8 = /* @__PURE__ */ o((e, t, r, n, i, a) => {
if (j8(e))
return nO(e.data, t);
if ($8(e))
return O8(e.data, t);
let s = Bb(e) ? "DocumentFragment" : e.tagName.toLowerCase();
return ++n > t.maxDepth ? Wb(s, t) : zb(s, Ub(Bb(e) ? [] : Array.from(e.attributes, (l) => l.name).sort(), Bb(e) ? {} : [...e.attributes].
reduce((l, c) => (l[c.name] = c.value, l), {}), t, r + t.indent, n, i, a), Vb(Array.prototype.slice.call(e.childNodes || e.children), t, r +
t.indent, n, i, a), t, r);
}, "serialize$3"), D8 = {
serialize: L8,
test: N8
}, B8 = "@@__IMMUTABLE_ITERABLE__@@", k8 = "@@__IMMUTABLE_LIST__@@", F8 = "@@__IMMUTABLE_KEYED__@@", H8 = "@@__IMMUTABLE_MAP__@@", kT = "@@_\
_IMMUTABLE_ORDERED__@@", U8 = "@@__IMMUTABLE_RECORD__@@", V8 = "@@__IMMUTABLE_SEQ__@@", z8 = "@@__IMMUTABLE_SET__@@", W8 = "@@__IMMUTABLE_ST\
ACK__@@", Rn = /* @__PURE__ */ o((e) => `Immutable.${e}`, "getImmutableName"), xu = /* @__PURE__ */ o((e) => `[${e}]`, "printAsLeaf"), jo = "\
", FT = "\u2026";
function G8(e, t, r, n, i, a, s) {
return ++n > t.maxDepth ? xu(Rn(s)) : `${Rn(s) + jo}{${$o(e.entries(), t, r, n, i, a)}}`;
}
o(G8, "printImmutableEntries");
function K8(e) {
let t = 0;
return { next() {
if (t < e._keys.length) {
let r = e._keys[t++];
return {
done: !1,
value: [r, e.get(r)]
};
}
return {
done: !0,
value: void 0
};
} };
}
o(K8, "getRecordEntries");
function Y8(e, t, r, n, i, a) {
let s = Rn(e._name || "Record");
return ++n > t.maxDepth ? xu(s) : `${s + jo}{${$o(K8(e), t, r, n, i, a)}}`;
}
o(Y8, "printImmutableRecord");
function X8(e, t, r, n, i, a) {
let s = Rn("Seq");
return ++n > t.maxDepth ? xu(s) : e[F8] ? `${s + jo}{${e._iter || e._object ? $o(e.entries(), t, r, n, i, a) : FT}}` : `${s + jo}[${e._iter ||
e._array || e._collection || e._iterable ? Fb(e.values(), t, r, n, i, a) : FT}]`;
}
o(X8, "printImmutableSeq");
function kb(e, t, r, n, i, a, s) {
return ++n > t.maxDepth ? xu(Rn(s)) : `${Rn(s) + jo}[${Fb(e.values(), t, r, n, i, a)}]`;
}
o(kb, "printImmutableValues");
var J8 = /* @__PURE__ */ o((e, t, r, n, i, a) => e[H8] ? G8(e, t, r, n, i, a, e[kT] ? "OrderedMap" : "Map") : e[k8] ? kb(e, t, r, n, i, a, "\
List") : e[z8] ? kb(e, t, r, n, i, a, e[kT] ? "OrderedSet" : "Set") : e[W8] ? kb(e, t, r, n, i, a, "Stack") : e[V8] ? X8(e, t, r, n, i, a) :
Y8(e, t, r, n, i, a), "serialize$2"), Q8 = /* @__PURE__ */ o((e) => e && (e[B8] === !0 || e[U8] === !0), "test$2"), Z8 = {
serialize: J8,
test: Q8
};
function sO(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
o(sO, "getDefaultExportFromCjs");
var wu = { exports: {} }, fe = {};
var HT;
function eG() {
if (HT) return fe;
HT = 1;
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.\
strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.fo\
rward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), p = Symbol.for("react.la\
zy"), b = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
function y(h) {
if (typeof h == "object" && h !== null) {
var w = h.$$typeof;
switch (w) {
case e:
switch (h = h.type, h) {
case r:
case i:
case n:
case c:
case u:
case b:
return h;
default:
switch (h = h && h.$$typeof, h) {
case s:
case l:
case p:
case d:
return h;
case a:
return h;
default:
return w;
}
}
case t:
return w;
}
}
}
return o(y, "typeOf"), fe.ContextConsumer = a, fe.ContextProvider = s, fe.Element = e, fe.ForwardRef = l, fe.Fragment = r, fe.Lazy = p, fe.
Memo = d, fe.Portal = t, fe.Profiler = i, fe.StrictMode = n, fe.Suspense = c, fe.SuspenseList = u, fe.isContextConsumer = function(h) {
return y(h) === a;
}, fe.isContextProvider = function(h) {
return y(h) === s;
}, fe.isElement = function(h) {
return typeof h == "object" && h !== null && h.$$typeof === e;
}, fe.isForwardRef = function(h) {
return y(h) === l;
}, fe.isFragment = function(h) {
return y(h) === r;
}, fe.isLazy = function(h) {
return y(h) === p;
}, fe.isMemo = function(h) {
return y(h) === d;
}, fe.isPortal = function(h) {
return y(h) === t;
}, fe.isProfiler = function(h) {
return y(h) === i;
}, fe.isStrictMode = function(h) {
return y(h) === n;
}, fe.isSuspense = function(h) {
return y(h) === c;
}, fe.isSuspenseList = function(h) {
return y(h) === u;
}, fe.isValidElementType = function(h) {
return typeof h == "string" || typeof h == "function" || h === r || h === i || h === n || h === c || h === u || typeof h == "object" && h !==
null && (h.$$typeof === p || h.$$typeof === d || h.$$typeof === s || h.$$typeof === a || h.$$typeof === l || h.$$typeof === m || h.getModuleId !==
void 0);
}, fe.typeOf = y, fe;
}
o(eG, "requireReactIs_production");
var pe = {};
var UT;
function tG() {
return UT || (UT = 1, process.env.NODE_ENV !== "production" && function() {
function e(h) {
if (typeof h == "object" && h !== null) {
var w = h.$$typeof;
switch (w) {
case t:
switch (h = h.type, h) {
case n:
case a:
case i:
case u:
case d:
case m:
return h;
default:
switch (h = h && h.$$typeof, h) {
case l:
case c:
case b:
case p:
return h;
case s:
return h;
default:
return w;
}
}
case r:
return w;
}
}
}
o(e, "typeOf");
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("reac\
t.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.\
forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), b = Symbol.for("react.\
lazy"), m = Symbol.for("react.view_transition"), y = Symbol.for("react.client.reference");
pe.ContextConsumer = s, pe.ContextProvider = l, pe.Element = t, pe.ForwardRef = c, pe.Fragment = n, pe.Lazy = b, pe.Memo = p, pe.Portal =
r, pe.Profiler = a, pe.StrictMode = i, pe.Suspense = u, pe.SuspenseList = d, pe.isContextConsumer = function(h) {
return e(h) === s;
}, pe.isContextProvider = function(h) {
return e(h) === l;
}, pe.isElement = function(h) {
return typeof h == "object" && h !== null && h.$$typeof === t;
}, pe.isForwardRef = function(h) {
return e(h) === c;
}, pe.isFragment = function(h) {
return e(h) === n;
}, pe.isLazy = function(h) {
return e(h) === b;
}, pe.isMemo = function(h) {
return e(h) === p;
}, pe.isPortal = function(h) {
return e(h) === r;
}, pe.isProfiler = function(h) {
return e(h) === a;
}, pe.isStrictMode = function(h) {
return e(h) === i;
}, pe.isSuspense = function(h) {
return e(h) === u;
}, pe.isSuspenseList = function(h) {
return e(h) === d;
}, pe.isValidElementType = function(h) {
return typeof h == "string" || typeof h == "function" || h === n || h === a || h === i || h === u || h === d || typeof h == "object" &&
h !== null && (h.$$typeof === b || h.$$typeof === p || h.$$typeof === l || h.$$typeof === s || h.$$typeof === c || h.$$typeof === y ||
h.getModuleId !== void 0);
}, pe.typeOf = e;
}()), pe;
}
o(tG, "requireReactIs_development$1");
var VT;
function rG() {
return VT || (VT = 1, process.env.NODE_ENV === "production" ? wu.exports = eG() : wu.exports = tG()), wu.exports;
}
o(rG, "requireReactIs$1");
var lO = rG(), nG = /* @__PURE__ */ sO(lO), oG = /* @__PURE__ */ eO({
__proto__: null,
default: nG
}, [lO]), _u = { exports: {} }, se = {};
var zT;
function iG() {
if (zT) return se;
zT = 1;
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"),
i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"),
c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"),
b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), y;
y = Symbol.for("react.module.reference");
function h(w) {
if (typeof w == "object" && w !== null) {
var g = w.$$typeof;
switch (g) {
case e:
switch (w = w.type, w) {
case r:
case i:
case n:
case u:
case d:
return w;
default:
switch (w = w && w.$$typeof, w) {
case l:
case s:
case c:
case b:
case p:
case a:
return w;
default:
return g;
}
}
case t:
return g;
}
}
}
return o(h, "v"), se.ContextConsumer = s, se.ContextProvider = a, se.Element = e, se.ForwardRef = c, se.Fragment = r, se.Lazy = b, se.Memo =
p, se.Portal = t, se.Profiler = i, se.StrictMode = n, se.Suspense = u, se.SuspenseList = d, se.isAsyncMode = function() {
return !1;
}, se.isConcurrentMode = function() {
return !1;
}, se.isContextConsumer = function(w) {
return h(w) === s;
}, se.isContextProvider = function(w) {
return h(w) === a;
}, se.isElement = function(w) {
return typeof w == "object" && w !== null && w.$$typeof === e;
}, se.isForwardRef = function(w) {
return h(w) === c;
}, se.isFragment = function(w) {
return h(w) === r;
}, se.isLazy = function(w) {
return h(w) === b;
}, se.isMemo = function(w) {
return h(w) === p;
}, se.isPortal = function(w) {
return h(w) === t;
}, se.isProfiler = function(w) {
return h(w) === i;
}, se.isStrictMode = function(w) {
return h(w) === n;
}, se.isSuspense = function(w) {
return h(w) === u;
}, se.isSuspenseList = function(w) {
return h(w) === d;
}, se.isValidElementType = function(w) {
return typeof w == "string" || typeof w == "function" || w === r || w === i || w === n || w === u || w === d || w === m || typeof w == "\
object" && w !== null && (w.$$typeof === b || w.$$typeof === p || w.$$typeof === a || w.$$typeof === s || w.$$typeof === c || w.$$typeof ===
y || w.getModuleId !== void 0);
}, se.typeOf = h, se;
}
o(iG, "requireReactIs_production_min");
var le = {};
var WT;
function aG() {
return WT || (WT = 1, process.env.NODE_ENV !== "production" && function() {
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"),
i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_contex\
t"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.mem\
o"), b = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), y = !1, h = !1, w = !1, g = !1, q = !1, P;
P = Symbol.for("react.module.reference");
function _(A) {
return !!(typeof A == "string" || typeof A == "function" || A === r || A === i || q || A === n || A === u || A === d || g || A === m ||
y || h || w || typeof A == "object" && A !== null && (A.$$typeof === b || A.$$typeof === p || A.$$typeof === a || A.$$typeof === s || A.
$$typeof === c || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
A.$$typeof === P || A.getModuleId !== void 0));
}
o(_, "isValidElementType");
function C(A) {
if (typeof A == "object" && A !== null) {
var jr = A.$$typeof;
switch (jr) {
case e:
var zt = A.type;
switch (zt) {
case r:
case i:
case n:
case u:
case d:
return zt;
default:
var eo = zt && zt.$$typeof;
switch (eo) {
case l:
case s:
case c:
case b:
case p:
case a:
return eo;
default:
return jr;
}
}
case t:
return jr;
}
}
}
o(C, "typeOf");
var O = s, T = a, M = e, L = c, Z = r, S = b, V = p, ue = t, W = i, k = n, B = u, ee = d, U = !1, ve = !1;
function Ae(A) {
return U || (U = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
o(Ae, "isAsyncMode");
function Xe(A) {
return ve || (ve = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
o(Xe, "isConcurrentMode");
function N(A) {
return C(A) === s;
}
o(N, "isContextConsumer");
function I(A) {
return C(A) === a;
}
o(I, "isContextProvider");
function F(A) {
return typeof A == "object" && A !== null && A.$$typeof === e;
}
o(F, "isElement");
function H(A) {
return C(A) === c;
}
o(H, "isForwardRef");
function Y(A) {
return C(A) === r;
}
o(Y, "isFragment");
function xe(A) {
return C(A) === b;
}
o(xe, "isLazy");
function $e(A) {
return C(A) === p;
}
o($e, "isMemo");
function qt(A) {
return C(A) === t;
}
o(qt, "isPortal");
function Nr(A) {
return C(A) === i;
}
o(Nr, "isProfiler");
function an(A) {
return C(A) === n;
}
o(an, "isStrictMode");
function sn(A) {
return C(A) === u;
}
o(sn, "isSuspense");
function nm(A) {
return C(A) === d;
}
o(nm, "isSuspenseList"), le.ContextConsumer = O, le.ContextProvider = T, le.Element = M, le.ForwardRef = L, le.Fragment = Z, le.Lazy = S,
le.Memo = V, le.Portal = ue, le.Profiler = W, le.StrictMode = k, le.Suspense = B, le.SuspenseList = ee, le.isAsyncMode = Ae, le.isConcurrentMode =
Xe, le.isContextConsumer = N, le.isContextProvider = I, le.isElement = F, le.isForwardRef = H, le.isFragment = Y, le.isLazy = xe, le.isMemo =
$e, le.isPortal = qt, le.isProfiler = Nr, le.isStrictMode = an, le.isSuspense = sn, le.isSuspenseList = nm, le.isValidElementType = _, le.
typeOf = C;
}()), le;
}
o(aG, "requireReactIs_development");
var GT;
function sG() {
return GT || (GT = 1, process.env.NODE_ENV === "production" ? _u.exports = iG() : _u.exports = aG()), _u.exports;
}
o(sG, "requireReactIs");
var uO = sG(), lG = /* @__PURE__ */ sO(uO), uG = /* @__PURE__ */ eO({
__proto__: null,
default: lG
}, [uO]), cG = [
"isAsyncMode",
"isConcurrentMode",
"isContextConsumer",
"isContextProvider",
"isElement",
"isForwardRef",
"isFragment",
"isLazy",
"isMemo",
"isPortal",
"isProfiler",
"isStrictMode",
"isSuspense",
"isSuspenseList",
"isValidElementType"
], Fr = Object.fromEntries(cG.map((e) => [e, (t) => uG[e](t) || oG[e](t)]));
function cO(e, t = []) {
if (Array.isArray(e))
for (let r of e)
cO(r, t);
else e != null && e !== !1 && e !== "" && t.push(e);
return t;
}
o(cO, "getChildren");
function KT(e) {
let t = e.type;
if (typeof t == "string")
return t;
if (typeof t == "function")
return t.displayName || t.name || "Unknown";
if (Fr.isFragment(e))
return "React.Fragment";
if (Fr.isSuspense(e))
return "React.Suspense";
if (typeof t == "object" && t !== null) {
if (Fr.isContextProvider(e))
return "Context.Provider";
if (Fr.isContextConsumer(e))
return "Context.Consumer";
if (Fr.isForwardRef(e)) {
if (t.displayName)
return t.displayName;
let r = t.render.displayName || t.render.name || "";
return r === "" ? "ForwardRef" : `ForwardRef(${r})`;
}
if (Fr.isMemo(e)) {
let r = t.displayName || t.type.displayName || t.type.name || "";
return r === "" ? "Memo" : `Memo(${r})`;
}
}
return "UNDEFINED";
}
o(KT, "getType");
function dG(e) {
let { props: t } = e;
return Object.keys(t).filter((r) => r !== "children" && t[r] !== void 0).sort();
}
o(dG, "getPropKeys$1");
var fG = /* @__PURE__ */ o((e, t, r, n, i, a) => ++n > t.maxDepth ? Wb(KT(e), t) : zb(KT(e), Ub(dG(e), e.props, t, r + t.indent, n, i, a), Vb(
cO(e.props.children), t, r + t.indent, n, i, a), t, r), "serialize$1"), pG = /* @__PURE__ */ o((e) => e != null && Fr.isElement(e), "test$1"),
mG = {
serialize: fG,
test: pG
}, hG = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.test.json") : 245830487;
function bG(e) {
let { props: t } = e;
return t ? Object.keys(t).filter((r) => t[r] !== void 0).sort() : [];
}
o(bG, "getPropKeys");
var yG = /* @__PURE__ */ o((e, t, r, n, i, a) => ++n > t.maxDepth ? Wb(e.type, t) : zb(e.type, e.props ? Ub(bG(e), e.props, t, r + t.indent,
n, i, a) : "", e.children ? Vb(e.children, t, r + t.indent, n, i, a) : "", t, r), "serialize"), gG = /* @__PURE__ */ o((e) => e && e.$$typeof ===
hG, "test"), vG = {
serialize: yG,
test: gG
}, dO = Object.prototype.toString, EG = Date.prototype.toISOString, wG = Error.prototype.toString, YT = RegExp.prototype.toString;
function Cu(e) {
return typeof e.constructor == "function" && e.constructor.name || "Object";
}
o(Cu, "getConstructorName");
function _G(e) {
return typeof window < "u" && e === window;
}
o(_G, "isWindow");
var CG = /^Symbol\((.*)\)(.*)$/, qG = /\n/g, Pu = class extends Error {
static {
o(this, "PrettyFormatPluginError");
}
constructor(t, r) {
super(t), this.stack = r, this.name = this.constructor.name;
}
};
function PG(e) {
return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[obj\
ect Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Array]" ||
e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]";
}
o(PG, "isToStringedArrayType");
function xG(e) {
return Object.is(e, -0) ? "-0" : String(e);
}
o(xG, "printNumber");
function RG(e) {
return `${e}n`;
}
o(RG, "printBigInt");
function XT(e, t) {
return t ? `[Function ${e.name || "anonymous"}]` : "[Function]";
}
o(XT, "printFunction");
function JT(e) {
return String(e).replace(CG, "Symbol($1)");
}
o(JT, "printSymbol");
function QT(e) {
return `[${wG.call(e)}]`;
}
o(QT, "printError");
function fO(e, t, r, n) {
if (e === !0 || e === !1)
return `${e}`;
if (e === void 0)
return "undefined";
if (e === null)
return "null";
let i = typeof e;
if (i === "number")
return xG(e);
if (i === "bigint")
return RG(e);
if (i === "string")
return n ? `"${e.replaceAll(/"|\\/g, "\\$&")}"` : `"${e}"`;
if (i === "function")
return XT(e, t);
if (i === "symbol")
return JT(e);
let a = dO.call(e);
return a === "[object WeakMap]" ? "WeakMap {}" : a === "[object WeakSet]" ? "WeakSet {}" : a === "[object Function]" || a === "[object Gen\
eratorFunction]" ? XT(e, t) : a === "[object Symbol]" ? JT(e) : a === "[object Date]" ? Number.isNaN(+e) ? "Date { NaN }" : EG.call(e) : a ===
"[object Error]" ? QT(e) : a === "[object RegExp]" ? r ? YT.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g, "\\$&") : YT.call(e) : e instanceof Error ?
QT(e) : null;
}
o(fO, "printBasicValue");
function pO(e, t, r, n, i, a) {
if (i.includes(e))
return "[Circular]";
i = [...i], i.push(e);
let s = ++n > t.maxDepth, l = t.min;
if (t.callToJSON && !s && e.toJSON && typeof e.toJSON == "function" && !a)
return ur(e.toJSON(), t, r, n, i, !0);
let c = dO.call(e);
return c === "[object Arguments]" ? s ? "[Arguments]" : `${l ? "" : "Arguments "}[${qu(e, t, r, n, i, ur)}]` : PG(c) ? s ? `[${e.constructor.
name}]` : `${l || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : `${e.constructor.name} `}[${qu(e, t, r, n, i, ur)}]` : c ===
"[object Map]" ? s ? "[Map]" : `Map {${$o(e.entries(), t, r, n, i, ur, " => ")}}` : c === "[object Set]" ? s ? "[Set]" : `Set {${Fb(e.values(),
t, r, n, i, ur)}}` : s || _G(e) ? `[${Cu(e)}]` : `${l || !t.printBasicPrototype && Cu(e) === "Object" ? "" : `${Cu(e)} `}{${Hb(e, t, r, n,
i, ur)}}`;
}
o(pO, "printComplexValue");
var TG = {
test: /* @__PURE__ */ o((e) => e && e instanceof Error, "test"),
serialize(e, t, r, n, i, a) {
if (i.includes(e))
return "[Circular]";
i = [...i, e];
let s = ++n > t.maxDepth, { message: l, cause: c, ...u } = e, d = {
message: l,
...typeof c < "u" ? { cause: c } : {},
...e instanceof AggregateError ? { errors: e.errors } : {},
...u
}, p = e.name !== "Error" ? e.name : Cu(e);
return s ? `[${p}]` : `${p} {${$o(Object.entries(d).values(), t, r, n, i, a)}}`;
}
};
function OG(e) {
return e.serialize != null;
}
o(OG, "isNewPlugin");
function mO(e, t, r, n, i, a) {
let s;
try {
s = OG(e) ? e.serialize(t, r, n, i, a, ur) : e.print(t, (l) => ur(l, r, n, i, a), (l) => {
let c = n + r.indent;
return c + l.replaceAll(qG, `
${c}`);
}, {
edgeSpacing: r.spacingOuter,
min: r.min,
spacing: r.spacingInner
}, r.colors);
} catch (l) {
throw new Pu(l.message, l.stack);
}
if (typeof s != "string")
throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);
return s;
}
o(mO, "printPlugin");
function hO(e, t) {
for (let r of e)
try {
if (r.test(t))
return r;
} catch (n) {
throw new Pu(n.message, n.stack);
}
return null;
}
o(hO, "findPlugin");
function ur(e, t, r, n, i, a) {
let s = hO(t.plugins, e);
if (s !== null)
return mO(s, e, t, r, n, i);
let l = fO(e, t.printFunctionName, t.escapeRegex, t.escapeString);
return l !== null ? l : pO(e, t, r, n, i, a);
}
o(ur, "printer");
var Gb = {
comment: "gray",
content: "reset",
prop: "yellow",
tag: "cyan",
value: "green"
}, bO = Object.keys(Gb), Rt = {
callToJSON: !0,
compareKeys: void 0,
escapeRegex: !1,
escapeString: !0,
highlight: !1,
indent: 2,
maxDepth: Number.POSITIVE_INFINITY,
maxWidth: Number.POSITIVE_INFINITY,
min: !1,
plugins: [],
printBasicPrototype: !0,
printFunctionName: !0,
theme: Gb
};
function SG(e) {
for (let t of Object.keys(e))
if (!Object.prototype.hasOwnProperty.call(Rt, t))
throw new Error(`pretty-format: Unknown option "${t}".`);
if (e.min && e.indent !== void 0 && e.indent !== 0)
throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');
}
o(SG, "validateOptions");
function MG() {
return bO.reduce((e, t) => {
let r = Gb[t], n = r && be[r];
if (n && typeof n.close == "string" && typeof n.open == "string")
e[t] = n;
else
throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);
return e;
}, /* @__PURE__ */ Object.create(null));
}
o(MG, "getColorsHighlight");
function AG() {
return bO.reduce((e, t) => (e[t] = {
close: "",
open: ""
}, e), /* @__PURE__ */ Object.create(null));
}
o(AG, "getColorsEmpty");
function yO(e) {
return e?.printFunctionName ?? Rt.printFunctionName;
}
o(yO, "getPrintFunctionName");
function gO(e) {
return e?.escapeRegex ?? Rt.escapeRegex;
}
o(gO, "getEscapeRegex");
function vO(e) {
return e?.escapeString ?? Rt.escapeString;
}
o(vO, "getEscapeString");
function ZT(e) {
return {
callToJSON: e?.callToJSON ?? Rt.callToJSON,
colors: e?.highlight ? MG() : AG(),
compareKeys: typeof e?.compareKeys == "function" || e?.compareKeys === null ? e.compareKeys : Rt.compareKeys,
escapeRegex: gO(e),
escapeString: vO(e),
indent: e?.min ? "" : IG(e?.indent ?? Rt.indent),
maxDepth: e?.maxDepth ?? Rt.maxDepth,
maxWidth: e?.maxWidth ?? Rt.maxWidth,
min: e?.min ?? Rt.min,
plugins: e?.plugins ?? Rt.plugins,
printBasicPrototype: e?.printBasicPrototype ?? !0,
printFunctionName: yO(e),
spacingInner: e?.min ? " " : `
`,
spacingOuter: e?.min ? "" : `
`
};
}
o(ZT, "getConfig");
function IG(e) {
return Array.from({ length: e + 1 }).join(" ");
}
o(IG, "createIndent");
function gt(e, t) {
if (t && (SG(t), t.plugins)) {
let n = hO(t.plugins, e);
if (n !== null)
return mO(n, e, ZT(t), "", 0, []);
}
let r = fO(e, yO(t), gO(t), vO(t));
return r !== null ? r : pO(e, ZT(t), "", 0, []);
}
o(gt, "format");
var Lo = {
AsymmetricMatcher: w8,
DOMCollection: T8,
DOMElement: D8,
Immutable: Z8,
ReactElement: mG,
ReactTestComponent: vG,
Error: TG
};
// ../node_modules/loupe/lib/helpers.js
var EO = {
bold: ["1", "22"],
dim: ["2", "22"],
italic: ["3", "23"],
underline: ["4", "24"],
// 5 & 6 are blinking
inverse: ["7", "27"],
hidden: ["8", "28"],
strike: ["9", "29"],
// 10-20 are fonts
// 21-29 are resets for 1-9
black: ["30", "39"],
red: ["31", "39"],
green: ["32", "39"],
yellow: ["33", "39"],
blue: ["34", "39"],
magenta: ["35", "39"],
cyan: ["36", "39"],
white: ["37", "39"],
brightblack: ["30;1", "39"],
brightred: ["31;1", "39"],
brightgreen: ["32;1", "39"],
brightyellow: ["33;1", "39"],
brightblue: ["34;1", "39"],
brightmagenta: ["35;1", "39"],
brightcyan: ["36;1", "39"],
brightwhite: ["37;1", "39"],
grey: ["90", "39"]
}, NG = {
special: "cyan",
number: "yellow",
bigint: "yellow",
boolean: "yellow",
undefined: "grey",
null: "bold",
string: "green",
symbol: "green",
date: "magenta",
regexp: "red"
}, Kt = "\u2026";
function jG(e, t) {
let r = EO[NG[t]] || EO[t] || "";
return r ? `\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m` : String(e);
}
o(jG, "colorise");
function wO({
showHidden: e = !1,
depth: t = 2,
colors: r = !1,
customInspect: n = !0,
showProxy: i = !1,
maxArrayLength: a = 1 / 0,
breakLength: s = 1 / 0,
seen: l = [],
// eslint-disable-next-line no-shadow
truncate: c = 1 / 0,
stylize: u = String
} = {}, d) {
let p = {
showHidden: !!e,
depth: Number(t),
colors: !!r,
customInspect: !!n,
showProxy: !!i,
maxArrayLength: Number(a),
breakLength: Number(s),
truncate: Number(c),
seen: l,
inspect: d,
stylize: u
};
return p.colors && (p.stylize = jG), p;
}
o(wO, "normaliseOptions");
function $G(e) {
return e >= "\uD800" && e <= "\uDBFF";
}
o($G, "isHighSurrogate");
function He(e, t, r = Kt) {
e = String(e);
let n = r.length, i = e.length;
if (n > t && i > n)
return r;
if (i > t && i > n) {
let a = t - n;
return a > 0 && $G(e[a - 1]) && (a = a - 1), `${e.slice(0, a)}${r}`;
}
return e;
}
o(He, "truncate");
function Se(e, t, r, n = ", ") {
r = r || t.inspect;
let i = e.length;
if (i === 0)
return "";
let a = t.truncate, s = "", l = "", c = "";
for (let u = 0; u < i; u += 1) {
let d = u + 1 === e.length, p = u + 2 === e.length;
c = `${Kt}(${e.length - u})`;
let b = e[u];
t.truncate = a - s.length - (d ? 0 : n.length);
let m = l || r(b, t) + (d ? "" : n), y = s.length + m.length, h = y + c.length;
if (d && y > a && s.length + c.length <= a || !d && !p && h > a || (l = d ? "" : r(e[u + 1], t) + (p ? "" : n), !d && p && h > a && y + l.
length > a))
break;
if (s += m, !d && !p && y + l.length >= a) {
c = `${Kt}(${e.length - u - 1})`;
break;
}
c = "";
}
return `${s}${c}`;
}
o(Se, "inspectList");
function LG(e) {
return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/) ? e : JSON.stringify(e).replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'");
}
o(LG, "quoteComplexKey");
function Yt([e, t], r) {
return r.truncate -= 2, typeof e == "string" ? e = LG(e) : typeof e != "number" && (e = `[${r.inspect(e, r)}]`), r.truncate -= e.length, t =
r.inspect(t, r), `${e}: ${t}`;
}
o(Yt, "inspectProperty");
// ../node_modules/loupe/lib/array.js
function Kb(e, t) {
let r = Object.keys(e).slice(e.length);
if (!e.length && !r.length)
return "[]";
t.truncate -= 4;
let n = Se(e, t);
t.truncate -= n.length;
let i = "";
return r.length && (i = Se(r.map((a) => [a, e[a]]), t, Yt)), `[ ${n}${i ? `, ${i}` : ""} ]`;
}
o(Kb, "inspectArray");
// ../node_modules/loupe/lib/typedarray.js
var DG = /* @__PURE__ */ o((e) => typeof Buffer == "function" && e instanceof Buffer ? "Buffer" : e[Symbol.toStringTag] ? e[Symbol.toStringTag] :
e.constructor.name, "getArrayName");
function Tt(e, t) {
let r = DG(e);
t.truncate -= r.length + 4;
let n = Object.keys(e).slice(e.length);
if (!e.length && !n.length)
return `${r}[]`;
let i = "";
for (let s = 0; s < e.length; s++) {
let l = `${t.stylize(He(e[s], t.truncate), "number")}${s === e.length - 1 ? "" : ", "}`;
if (t.truncate -= l.length, e[s] !== e.length && t.truncate <= 3) {
i += `${Kt}(${e.length - e[s] + 1})`;
break;
}
i += l;
}
let a = "";
return n.length && (a = Se(n.map((s) => [s, e[s]]), t, Yt)), `${r}[ ${i}${a ? `, ${a}` : ""} ]`;
}
o(Tt, "inspectTypedArray");
// ../node_modules/loupe/lib/date.js
function Yb(e, t) {
let r = e.toJSON();
if (r === null)
return "Invalid Date";
let n = r.split("T"), i = n[0];
return t.stylize(`${i}T${He(n[1], t.truncate - i.length - 1)}`, "date");
}
o(Yb, "inspectDate");
// ../node_modules/loupe/lib/function.js
function Ru(e, t) {
let r = e[Symbol.toStringTag] || "Function", n = e.name;
return n ? t.stylize(`[${r} ${He(n, t.truncate - 11)}]`, "special") : t.stylize(`[${r}]`, "special");
}
o(Ru, "inspectFunction");
// ../node_modules/loupe/lib/map.js
function BG([e, t], r) {
return r.truncate -= 4, e = r.inspect(e, r), r.truncate -= e.length, t = r.inspect(t, r), `${e} => ${t}`;
}
o(BG, "inspectMapEntry");
function kG(e) {
let t = [];
return e.forEach((r, n) => {
t.push([n, r]);
}), t;
}
o(kG, "mapToEntries");
function Xb(e, t) {
return e.size === 0 ? "Map{}" : (t.truncate -= 7, `Map{ ${Se(kG(e), t, BG)} }`);
}
o(Xb, "inspectMap");
// ../node_modules/loupe/lib/number.js
var FG = Number.isNaN || ((e) => e !== e);
function Tu(e, t) {
return FG(e) ? t.stylize("NaN", "number") : e === 1 / 0 ? t.stylize("Infinity", "number") : e === -1 / 0 ? t.stylize("-Infinity", "number") :
e === 0 ? t.stylize(1 / e === 1 / 0 ? "+0" : "-0", "number") : t.stylize(He(String(e), t.truncate), "number");
}
o(Tu, "inspectNumber");
// ../node_modules/loupe/lib/bigint.js
function Ou(e, t) {
let r = He(e.toString(), t.truncate - 1);
return r !== Kt && (r += "n"), t.stylize(r, "bigint");
}
o(Ou, "inspectBigInt");
// ../node_modules/loupe/lib/regexp.js
function Jb(e, t) {
let r = e.toString().split("/")[2], n = t.truncate - (2 + r.length), i = e.source;
return t.stylize(`/${He(i, n)}/${r}`, "regexp");
}
o(Jb, "inspectRegExp");
// ../node_modules/loupe/lib/set.js
function HG(e) {
let t = [];
return e.forEach((r) => {
t.push(r);
}), t;
}
o(HG, "arrayFromSet");
function Qb(e, t) {
return e.size === 0 ? "Set{}" : (t.truncate -= 7, `Set{ ${Se(HG(e), t)} }`);
}
o(Qb, "inspectSet");
// ../node_modules/loupe/lib/string.js
var _O = new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\u\
ffff]", "g"), UG = {
"\b": "\\b",
" ": "\\t",
"\n": "\\n",
"\f": "\\f",
"\r": "\\r",
"'": "\\'",
"\\": "\\\\"
}, VG = 16, zG = 4;
function WG(e) {
return UG[e] || `\\u${`0000${e.charCodeAt(0).toString(VG)}`.slice(-zG)}`;
}
o(WG, "escape");
function Su(e, t) {
return _O.test(e) && (e = e.replace(_O, WG)), t.stylize(`'${He(e, t.truncate - 2)}'`, "string");
}
o(Su, "inspectString");
// ../node_modules/loupe/lib/symbol.js
function Mu(e) {
return "description" in Symbol.prototype ? e.description ? `Symbol(${e.description})` : "Symbol()" : e.toString();
}
o(Mu, "inspectSymbol");
// ../node_modules/loupe/lib/promise.js
var CO = /* @__PURE__ */ o(() => "Promise{\u2026}", "getPromiseValue");
try {
let { getPromiseDetails: e, kPending: t, kRejected: r } = process.binding("util");
Array.isArray(e(Promise.resolve())) && (CO = /* @__PURE__ */ o((n, i) => {
let [a, s] = e(n);
return a === t ? "Promise{}" : `Promise${a === r ? "!" : ""}{${i.inspect(s, i)}}`;
}, "getPromiseValue"));
} catch {
}
var qO = CO;
// ../node_modules/loupe/lib/object.js
function Hr(e, t) {
let r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e) : [];
if (r.length === 0 && n.length === 0)
return "{}";
if (t.truncate -= 4, t.seen = t.seen || [], t.seen.includes(e))
return "[Circular]";
t.seen.push(e);
let i = Se(r.map((l) => [l, e[l]]), t, Yt), a = Se(n.map((l) => [l, e[l]]), t, Yt);
t.seen.pop();
let s = "";
return i && a && (s = ", "), `{ ${i}${s}${a} }`;
}
o(Hr, "inspectObject");
// ../node_modules/loupe/lib/class.js
var Zb = typeof Symbol < "u" && Symbol.toStringTag ? Symbol.toStringTag : !1;
function ey(e, t) {
let r = "";
return Zb && Zb in e && (r = e[Zb]), r = r || e.constructor.name, (!r || r === "_class") && (r = ""), t.truncate -= r.length,
`${r}${Hr(e, t)}`;
}
o(ey, "inspectClass");
// ../node_modules/loupe/lib/arguments.js
function ty(e, t) {
return e.length === 0 ? "Arguments[]" : (t.truncate -= 13, `Arguments[ ${Se(e, t)} ]`);
}
o(ty, "inspectArguments");
// ../node_modules/loupe/lib/error.js
var GG = [
"stack",
"line",
"column",
"name",
"message",
"fileName",
"lineNumber",
"columnNumber",
"number",
"description",
"cause"
];
function ry(e, t) {
let r = Object.getOwnPropertyNames(e).filter((s) => GG.indexOf(s) === -1), n = e.name;
t.truncate -= n.length;
let i = "";
if (typeof e.message == "string" ? i = He(e.message, t.truncate) : r.unshift("message"), i = i ? `: ${i}` : "", t.truncate -= i.length + 5,
t.seen = t.seen || [], t.seen.includes(e))
return "[Circular]";
t.seen.push(e);
let a = Se(r.map((s) => [s, e[s]]), t, Yt);
return `${n}${i}${a ? ` { ${a} }` : ""}`;
}
o(ry, "inspectObject");
// ../node_modules/loupe/lib/html.js
function KG([e, t], r) {
return r.truncate -= 3, t ? `${r.stylize(String(e), "yellow")}=${r.stylize(`"${t}"`, "string")}` : `${r.stylize(String(e), "yellow")}`;
}
o(KG, "inspectAttribute");
function Au(e, t) {
return Se(e, t, YG, `
`);
}
o(Au, "inspectNodeCollection");
function YG(e, t) {
switch (e.nodeType) {
case 1:
return Iu(e, t);
case 3:
return t.inspect(e.data, t);
default:
return t.inspect(e, t);
}
}
o(YG, "inspectNode");
function Iu(e, t) {
let r = e.getAttributeNames(), n = e.tagName.toLowerCase(), i = t.stylize(`<${n}`, "special"), a = t.stylize(">", "special"), s = t.stylize(
`${n}>`, "special");
t.truncate -= n.length * 2 + 5;
let l = "";
r.length > 0 && (l += " ", l += Se(r.map((d) => [d, e.getAttribute(d)]), t, KG, " ")), t.truncate -= l.length;
let c = t.truncate, u = Au(e.children, t);
return u && u.length > c && (u = `${Kt}(${e.children.length})`), `${i}${l}${a}${u}${s}`;
}
o(Iu, "inspectHTML");
// ../node_modules/loupe/lib/index.js
var XG = typeof Symbol == "function" && typeof Symbol.for == "function", ny = XG ? Symbol.for("chai/inspect") : "@@chai/inspect", oy = Symbol.
for("nodejs.util.inspect.custom"), PO = /* @__PURE__ */ new WeakMap(), xO = {}, RO = {
undefined: /* @__PURE__ */ o((e, t) => t.stylize("undefined", "undefined"), "undefined"),
null: /* @__PURE__ */ o((e, t) => t.stylize("null", "null"), "null"),
boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "boolean"),
Boolean: /* @__PURE__ */ o((e, t) => t.stylize(String(e), "boolean"), "Boolean"),
number: Tu,
Number: Tu,
bigint: Ou,
BigInt: Ou,
string: Su,
String: Su,
function: Ru,
Function: Ru,
symbol: Mu,
// A Symbol polyfill will return `Symbol` not `symbol` from typedetect
Symbol: Mu,
Array: Kb,
Date: Yb,
Map: Xb,
Set: Qb,
RegExp: Jb,
Promise: qO,
// WeakSet, WeakMap are totally opaque to us
WeakSet: /* @__PURE__ */ o((e, t) => t.stylize("WeakSet{\u2026}", "special"), "WeakSet"),
WeakMap: /* @__PURE__ */ o((e, t) => t.stylize("WeakMap{\u2026}", "special"), "WeakMap"),
Arguments: ty,
Int8Array: Tt,
Uint8Array: Tt,
Uint8ClampedArray: Tt,
Int16Array: Tt,
Uint16Array: Tt,
Int32Array: Tt,
Uint32Array: Tt,
Float32Array: Tt,
Float64Array: Tt,
Generator: /* @__PURE__ */ o(() => "", "Generator"),
DataView: /* @__PURE__ */ o(() => "", "DataView"),
ArrayBuffer: /* @__PURE__ */ o(() => "", "ArrayBuffer"),
Error: ry,
HTMLCollection: Au,
NodeList: Au
}, JG = /* @__PURE__ */ o((e, t, r) => ny in e && typeof e[ny] == "function" ? e[ny](t) : oy in e && typeof e[oy] == "function" ? e[oy](t.depth,
t) : "inspect" in e && typeof e.inspect == "function" ? e.inspect(t.depth, t) : "constructor" in e && PO.has(e.constructor) ? PO.get(e.constructor)(
e, t) : xO[r] ? xO[r](e, t) : "", "inspectCustom"), QG = Object.prototype.toString;
function Nu(e, t = {}) {
let r = wO(t, Nu), { customInspect: n } = r, i = e === null ? "null" : typeof e;
if (i === "object" && (i = QG.call(e).slice(8, -1)), i in RO)
return RO[i](e, r);
if (n && e) {
let s = JG(e, r, i);
if (s)
return typeof s == "string" ? s : Nu(s, r);
}
let a = e ? Object.getPrototypeOf(e) : !1;
return a === Object.prototype || a === null ? Hr(e, r) : e && typeof HTMLElement == "function" && e instanceof HTMLElement ? Iu(e, r) : "c\
onstructor" in e ? e.constructor !== Object ? ey(e, r) : Hr(e, r) : e === Object(e) ? Hr(e, r) : r.stylize(String(e), i);
}
o(Nu, "inspect");
// ../node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
var { AsymmetricMatcher: eK, DOMCollection: tK, DOMElement: rK, Immutable: nK, ReactElement: oK, ReactTestComponent: iK } = Lo, TO = [
iK,
oK,
rK,
tK,
nK,
eK
];
function De(e, t = 10, { maxLength: r, ...n } = {}) {
let i = r ?? 1e4, a;
try {
a = gt(e, {
maxDepth: t,
escapeString: !1,
plugins: TO,
...n
});
} catch {
a = gt(e, {
callToJSON: !1,
maxDepth: t,
escapeString: !1,
plugins: TO,
...n
});
}
return a.length >= i && t > 1 ? De(e, Math.floor(Math.min(t, Number.MAX_SAFE_INTEGER) / 2), {
maxLength: r,
...n
}) : a;
}
o(De, "stringify");
var aK = /%[sdjifoOc%]/g;
function iy(...e) {
if (typeof e[0] != "string") {
let a = [];
for (let s = 0; s < e.length; s++)
a.push(Tn(e[s], {
depth: 0,
colors: !1
}));
return a.join(" ");
}
let t = e.length, r = 1, n = e[0], i = String(n).replace(aK, (a) => {
if (a === "%%")
return "%";
if (r >= t)
return a;
switch (a) {
case "%s": {
let s = e[r++];
return typeof s == "bigint" ? `${s.toString()}n` : typeof s == "number" && s === 0 && 1 / s < 0 ? "-0" : typeof s == "object" && s !==
null ? typeof s.toString == "function" && s.toString !== Object.prototype.toString ? s.toString() : Tn(s, {
depth: 0,
colors: !1
}) : String(s);
}
case "%d": {
let s = e[r++];
return typeof s == "bigint" ? `${s.toString()}n` : Number(s).toString();
}
case "%i": {
let s = e[r++];
return typeof s == "bigint" ? `${s.toString()}n` : Number.parseInt(String(s)).toString();
}
case "%f":
return Number.parseFloat(String(e[r++])).toString();
case "%o":
return Tn(e[r++], {
showHidden: !0,
showProxy: !0
});
case "%O":
return Tn(e[r++]);
case "%c":
return r++, "";
case "%j":
try {
return JSON.stringify(e[r++]);
} catch (s) {
let l = s.message;
if (l.includes("circular structure") || l.includes("cyclic structures") || l.includes("cyclic object"))
return "[Circular]";
throw s;
}
default:
return a;
}
});
for (let a = e[r]; r < t; a = e[++r])
a === null || typeof a != "object" ? i += ` ${a}` : i += ` ${Tn(a)}`;
return i;
}
o(iy, "format");
function Tn(e, t = {}) {
return t.truncate === 0 && (t.truncate = Number.POSITIVE_INFINITY), Nu(e, t);
}
o(Tn, "inspect");
function OO(e) {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
o(OO, "getDefaultExportFromCjs");
// ../node_modules/@vitest/utils/dist/helpers.js
function Ot(e, t, r) {
let n = typeof e;
if (!r.includes(n))
throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`);
}
o(Ot, "assertTypes");
function On(e) {
return e != null && typeof e == "object" && !Array.isArray(e);
}
o(On, "isObject");
function sK(e) {
return e === Object.prototype || e === Function.prototype || e === RegExp.prototype;
}
o(sK, "isFinalObj");
function Ur(e) {
return Object.prototype.toString.apply(e).slice(8, -1);
}
o(Ur, "getType");
function lK(e, t) {
let r = typeof t == "function" ? t : (n) => t.add(n);
Object.getOwnPropertyNames(e).forEach(r), Object.getOwnPropertySymbols(e).forEach(r);
}
o(lK, "collectOwnProperties");
function $u(e) {
let t = /* @__PURE__ */ new Set();
return sK(e) ? [] : (lK(e, t), Array.from(t));
}
o($u, "getOwnProperties");
var SO = { forceWritable: !1 };
function Lu(e, t = SO) {
return ju(e, /* @__PURE__ */ new WeakMap(), t);
}
o(Lu, "deepClone");
function ju(e, t, r = SO) {
let n, i;
if (t.has(e))
return t.get(e);
if (Array.isArray(e)) {
for (i = Array.from({ length: n = e.length }), t.set(e, i); n--; )
i[n] = ju(e[n], t, r);
return i;
}
if (Object.prototype.toString.call(e) === "[object Object]") {
i = Object.create(Object.getPrototypeOf(e)), t.set(e, i);
let a = $u(e);
for (let s of a) {
let l = Object.getOwnPropertyDescriptor(e, s);
if (!l)
continue;
let c = ju(e[s], t, r);
r.forceWritable ? Object.defineProperty(i, s, {
enumerable: l.enumerable,
configurable: !0,
writable: !0,
value: c
}) : "get" in l ? Object.defineProperty(i, s, {
...l,
get() {
return c;
}
}) : Object.defineProperty(i, s, {
...l,
value: c
});
}
return i;
}
return e;
}
o(ju, "clone");
function ay() {
}
o(ay, "noop");
// ../node_modules/@vitest/utils/dist/index.js
var sy, MO;
function uK() {
if (MO) return sy;
MO = 1;
var e, t, r, n, i, a, s, l, c, u, d, p, b, m, y, h, w, g, q;
return b = /\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu, p = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,
e = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu, y = /(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,
d = /(?: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,
h = /[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y, q = /[\t\v\f\ufeff\p{Zs}]+/yu, l = /\r?\n|[\r\u2028\u2029]/y, c = /\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,
m = /\/\/.*/y, r = /[<>.:={}]|\/(?![\/*])/y, t = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu, n = /(['"])(?:(?!\1)[^])*(\1)?/y, i =
/[^<>{}]+/y, g = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,
w = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/, a = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,
s = /^(?:return|throw|yield)$/, u = RegExp(l.source), sy = /* @__PURE__ */ o(function* (P, { jsx: _ = !1 } = {}) {
var C, O, T, M, L, Z, S, V, ue, W, k, B, ee, U;
for ({ length: Z } = P, M = 0, L = "", U = [
{ tag: "JS" }
], C = [], k = 0, B = !1; M < Z; ) {
switch (V = U[U.length - 1], V.tag) {
case "JS":
case "JSNonExpressionParen":
case "InterpolationInTemplate":
case "InterpolationInJSX":
if (P[M] === "/" && (g.test(L) || a.test(L)) && (b.lastIndex = M, S = b.exec(P))) {
M = b.lastIndex, L = S[0], B = !0, yield {
type: "RegularExpressionLiteral",
value: S[0],
closed: S[1] !== void 0 && S[1] !== "\\"
};
continue;
}
if (p.lastIndex = M, S = p.exec(P)) {
switch (ee = S[0], ue = p.lastIndex, W = ee, ee) {
case "(":
L === "?NonExpressionParenKeyword" && U.push({
tag: "JSNonExpressionParen",
nesting: k
}), k++, B = !1;
break;
case ")":
k--, B = !0, V.tag === "JSNonExpressionParen" && k === V.nesting && (U.pop(), W = "?NonExpressionParenEnd", B = !1);
break;
case "{":
p.lastIndex = 0, T = !w.test(L) && (g.test(L) || a.test(L)), C.push(T), B = !1;
break;
case "}":
switch (V.tag) {
case "InterpolationInTemplate":
if (C.length === V.nesting) {
h.lastIndex = M, S = h.exec(P), M = h.lastIndex, L = S[0], S[1] === "${" ? (L = "?InterpolationInTemplate", B = !1, yield {
type: "TemplateMiddle",
value: S[0]
}) : (U.pop(), B = !0, yield {
type: "TemplateTail",
value: S[0],
closed: S[1] === "`"
});
continue;
}
break;
case "InterpolationInJSX":
if (C.length === V.nesting) {
U.pop(), M += 1, L = "}", yield {
type: "JSXPunctuator",
value: "}"
};
continue;
}
}
B = C.pop(), W = B ? "?ExpressionBraceEnd" : "}";
break;
case "]":
B = !0;
break;
case "++":
case "--":
W = B ? "?PostfixIncDec" : "?UnaryIncDec";
break;
case "<":
if (_ && (g.test(L) || a.test(L))) {
U.push({ tag: "JSXTag" }), M += 1, L = "<", yield {
type: "JSXPunctuator",
value: ee
};
continue;
}
B = !1;
break;
default:
B = !1;
}
M = ue, L = W, yield {
type: "Punctuator",
value: ee
};
continue;
}
if (e.lastIndex = M, S = e.exec(P)) {
switch (M = e.lastIndex, W = S[0], S[0]) {
case "for":
case "if":
case "while":
case "with":
L !== "." && L !== "?." && (W = "?NonExpressionParenKeyword");
}
L = W, B = !a.test(S[0]), yield {
type: S[1] === "#" ? "PrivateIdentifier" : "IdentifierName",
value: S[0]
};
continue;
}
if (y.lastIndex = M, S = y.exec(P)) {
M = y.lastIndex, L = S[0], B = !0, yield {
type: "StringLiteral",
value: S[0],
closed: S[2] !== void 0
};
continue;
}
if (d.lastIndex = M, S = d.exec(P)) {
M = d.lastIndex, L = S[0], B = !0, yield {
type: "NumericLiteral",
value: S[0]
};
continue;
}
if (h.lastIndex = M, S = h.exec(P)) {
M = h.lastIndex, L = S[0], S[1] === "${" ? (L = "?InterpolationInTemplate", U.push({
tag: "InterpolationInTemplate",
nesting: C.length
}), B = !1, yield {
type: "TemplateHead",
value: S[0]
}) : (B = !0, yield {
type: "NoSubstitutionTemplate",
value: S[0],
closed: S[1] === "`"
});
continue;
}
break;
case "JSXTag":
case "JSXTagEnd":
if (r.lastIndex = M, S = r.exec(P)) {
switch (M = r.lastIndex, W = S[0], S[0]) {
case "<":
U.push({ tag: "JSXTag" });
break;
case ">":
U.pop(), L === "/" || V.tag === "JSXTagEnd" ? (W = "?JSX", B = !0) : U.push({ tag: "JSXChildren" });
break;
case "{":
U.push({
tag: "InterpolationInJSX",
nesting: C.length
}), W = "?InterpolationInJSX", B = !1;
break;
case "/":
L === "<" && (U.pop(), U[U.length - 1].tag === "JSXChildren" && U.pop(), U.push({ tag: "JSXTagEnd" }));
}
L = W, yield {
type: "JSXPunctuator",
value: S[0]
};
continue;
}
if (t.lastIndex = M, S = t.exec(P)) {
M = t.lastIndex, L = S[0], yield {
type: "JSXIdentifier",
value: S[0]
};
continue;
}
if (n.lastIndex = M, S = n.exec(P)) {
M = n.lastIndex, L = S[0], yield {
type: "JSXString",
value: S[0],
closed: S[2] !== void 0
};
continue;
}
break;
case "JSXChildren":
if (i.lastIndex = M, S = i.exec(P)) {
M = i.lastIndex, L = S[0], yield {
type: "JSXText",
value: S[0]
};
continue;
}
switch (P[M]) {
case "<":
U.push({ tag: "JSXTag" }), M++, L = "<", yield {
type: "JSXPunctuator",
value: "<"
};
continue;
case "{":
U.push({
tag: "InterpolationInJSX",
nesting: C.length
}), M++, L = "?InterpolationInJSX", B = !1, yield {
type: "JSXPunctuator",
value: "{"
};
continue;
}
}
if (q.lastIndex = M, S = q.exec(P)) {
M = q.lastIndex, yield {
type: "WhiteSpace",
value: S[0]
};
continue;
}
if (l.lastIndex = M, S = l.exec(P)) {
M = l.lastIndex, B = !1, s.test(L) && (L = "?NoLineTerminatorHere"), yield {
type: "LineTerminatorSequence",
value: S[0]
};
continue;
}
if (c.lastIndex = M, S = c.exec(P)) {
M = c.lastIndex, u.test(S[0]) && (B = !1, s.test(L) && (L = "?NoLineTerminatorHere")), yield {
type: "MultiLineComment",
value: S[0],
closed: S[1] !== void 0
};
continue;
}
if (m.lastIndex = M, S = m.exec(P)) {
M = m.lastIndex, B = !1, yield {
type: "SingleLineComment",
value: S[0]
};
continue;
}
O = String.fromCodePoint(P.codePointAt(M)), M += O.length, L = O, B = !1, yield {
type: V.tag.startsWith("JSX") ? "JSXInvalid" : "Invalid",
value: O
};
}
}, "jsTokens_1"), sy;
}
o(uK, "requireJsTokens");
var Txe = uK();
var AO = {
keyword: [
"break",
"case",
"catch",
"continue",
"debugger",
"default",
"do",
"else",
"finally",
"for",
"function",
"if",
"return",
"switch",
"throw",
"try",
"var",
"const",
"while",
"with",
"new",
"this",
"super",
"class",
"extends",
"export",
"import",
"null",
"true",
"false",
"in",
"instanceof",
"typeof",
"void",
"delete"
],
strict: [
"implements",
"interface",
"let",
"package",
"private",
"protected",
"public",
"static",
"yield"
]
}, Oxe = new Set(AO.keyword), Sxe = new Set(AO.strict);
var Mxe = Symbol("vitest:SAFE_TIMERS");
// ../node_modules/@vitest/utils/dist/diff.js
var Ue = -1, Be = 1, qe = 0, _e = class {
static {
o(this, "Diff");
}
0;
1;
constructor(t, r) {
this[0] = t, this[1] = r;
}
};
function cK(e, t) {
if (!e || !t || e.charAt(0) !== t.charAt(0))
return 0;
let r = 0, n = Math.min(e.length, t.length), i = n, a = 0;
for (; r < i; )
e.substring(a, i) === t.substring(a, i) ? (r = i, a = r) : n = i, i = Math.floor((n - r) / 2 + r);
return i;
}
o(cK, "diff_commonPrefix");
function KO(e, t) {
if (!e || !t || e.charAt(e.length - 1) !== t.charAt(t.length - 1))
return 0;
let r = 0, n = Math.min(e.length, t.length), i = n, a = 0;
for (; r < i; )
e.substring(e.length - i, e.length - a) === t.substring(t.length - i, t.length - a) ? (r = i, a = r) : n = i, i = Math.floor((n - r) / 2 +
r);
return i;
}
o(KO, "diff_commonSuffix");
function IO(e, t) {
let r = e.length, n = t.length;
if (r === 0 || n === 0)
return 0;
r > n ? e = e.substring(r - n) : r < n && (t = t.substring(0, r));
let i = Math.min(r, n);
if (e === t)
return i;
let a = 0, s = 1;
for (; ; ) {
let l = e.substring(i - s), c = t.indexOf(l);
if (c === -1)
return a;
s += c, (c === 0 || e.substring(i - s) === t.substring(0, s)) && (a = s, s++);
}
}
o(IO, "diff_commonOverlap_");
function dK(e) {
let t = !1, r = [], n = 0, i = null, a = 0, s = 0, l = 0, c = 0, u = 0;
for (; a < e.length; )
e[a][0] === qe ? (r[n++] = a, s = c, l = u, c = 0, u = 0, i = e[a][1]) : (e[a][0] === Be ? c += e[a][1].length : u += e[a][1].length, i &&
i.length <= Math.max(s, l) && i.length <= Math.max(c, u) && (e.splice(r[n - 1], 0, new _e(Ue, i)), e[r[n - 1] + 1][0] = Be, n--, n--, a =
n > 0 ? r[n - 1] : -1, s = 0, l = 0, c = 0, u = 0, i = null, t = !0)), a++;
for (t && YO(e), mK(e), a = 1; a < e.length; ) {
if (e[a - 1][0] === Ue && e[a][0] === Be) {
let d = e[a - 1][1], p = e[a][1], b = IO(d, p), m = IO(p, d);
b >= m ? (b >= d.length / 2 || b >= p.length / 2) && (e.splice(a, 0, new _e(qe, p.substring(0, b))), e[a - 1][1] = d.substring(0, d.length -
b), e[a + 1][1] = p.substring(b), a++) : (m >= d.length / 2 || m >= p.length / 2) && (e.splice(a, 0, new _e(qe, d.substring(0, m))), e[a -
1][0] = Be, e[a - 1][1] = p.substring(0, p.length - m), e[a + 1][0] = Ue, e[a + 1][1] = d.substring(m), a++), a++;
}
a++;
}
}
o(dK, "diff_cleanupSemantic");
var NO = /[^a-z0-9]/i, jO = /\s/, $O = /[\r\n]/, fK = /\n\r?\n$/, pK = /^\r?\n\r?\n/;
function mK(e) {
let t = 1;
for (; t < e.length - 1; ) {
if (e[t - 1][0] === qe && e[t + 1][0] === qe) {
let r = e[t - 1][1], n = e[t][1], i = e[t + 1][1], a = KO(r, n);
if (a) {
let d = n.substring(n.length - a);
r = r.substring(0, r.length - a), n = d + n.substring(0, n.length - a), i = d + i;
}
let s = r, l = n, c = i, u = Du(r, n) + Du(n, i);
for (; n.charAt(0) === i.charAt(0); ) {
r += n.charAt(0), n = n.substring(1) + i.charAt(0), i = i.substring(1);
let d = Du(r, n) + Du(n, i);
d >= u && (u = d, s = r, l = n, c = i);
}
e[t - 1][1] !== s && (s ? e[t - 1][1] = s : (e.splice(t - 1, 1), t--), e[t][1] = l, c ? e[t + 1][1] = c : (e.splice(t + 1, 1), t--));
}
t++;
}
}
o(mK, "diff_cleanupSemanticLossless");
function YO(e) {
e.push(new _e(qe, ""));
let t = 0, r = 0, n = 0, i = "", a = "", s;
for (; t < e.length; )
switch (e[t][0]) {
case Be:
n++, a += e[t][1], t++;
break;
case Ue:
r++, i += e[t][1], t++;
break;
case qe:
r + n > 1 ? (r !== 0 && n !== 0 && (s = cK(a, i), s !== 0 && (t - r - n > 0 && e[t - r - n - 1][0] === qe ? e[t - r - n - 1][1] += a.
substring(0, s) : (e.splice(0, 0, new _e(qe, a.substring(0, s))), t++), a = a.substring(s), i = i.substring(s)), s = KO(a, i), s !==
0 && (e[t][1] = a.substring(a.length - s) + e[t][1], a = a.substring(0, a.length - s), i = i.substring(0, i.length - s))), t -= r + n,
e.splice(t, r + n), i.length && (e.splice(t, 0, new _e(Ue, i)), t++), a.length && (e.splice(t, 0, new _e(Be, a)), t++), t++) : t !==
0 && e[t - 1][0] === qe ? (e[t - 1][1] += e[t][1], e.splice(t, 1)) : t++, n = 0, r = 0, i = "", a = "";
break;
}
e[e.length - 1][1] === "" && e.pop();
let l = !1;
for (t = 1; t < e.length - 1; )
e[t - 1][0] === qe && e[t + 1][0] === qe && (e[t][1].substring(e[t][1].length - e[t - 1][1].length) === e[t - 1][1] ? (e[t][1] = e[t - 1][1] +
e[t][1].substring(0, e[t][1].length - e[t - 1][1].length), e[t + 1][1] = e[t - 1][1] + e[t + 1][1], e.splice(t - 1, 1), l = !0) : e[t][1].
substring(0, e[t + 1][1].length) === e[t + 1][1] && (e[t - 1][1] += e[t + 1][1], e[t][1] = e[t][1].substring(e[t + 1][1].length) + e[t +
1][1], e.splice(t + 1, 1), l = !0)), t++;
l && YO(e);
}
o(YO, "diff_cleanupMerge");
function Du(e, t) {
if (!e || !t)
return 6;
let r = e.charAt(e.length - 1), n = t.charAt(0), i = r.match(NO), a = n.match(NO), s = i && r.match(jO), l = a && n.match(jO), c = s && r.
match($O), u = l && n.match($O), d = c && e.match(fK), p = u && t.match(pK);
return d || p ? 5 : c || u ? 4 : i && !s && l ? 3 : s || l ? 2 : i || a ? 1 : 0;
}
o(Du, "diff_cleanupSemanticScore_");
var XO = "Compared values have no visual difference.", hK = "Compared values serialize to the same structure.\nPrinting internal object struc\
ture without calling `toJSON` instead.", Bu = {}, LO;
function bK() {
if (LO) return Bu;
LO = 1, Object.defineProperty(Bu, "__esModule", {
value: !0
}), Bu.default = b;
let e = "diff-sequences", t = 0, r = /* @__PURE__ */ o((m, y, h, w, g) => {
let q = 0;
for (; m < y && h < w && g(m, h); )
m += 1, h += 1, q += 1;
return q;
}, "countCommonItemsF"), n = /* @__PURE__ */ o((m, y, h, w, g) => {
let q = 0;
for (; m <= y && h <= w && g(y, w); )
y -= 1, w -= 1, q += 1;
return q;
}, "countCommonItemsR"), i = /* @__PURE__ */ o((m, y, h, w, g, q, P) => {
let _ = 0, C = -m, O = q[_], T = O;
q[_] += r(
O + 1,
y,
w + O - C + 1,
h,
g
);
let M = m < P ? m : P;
for (_ += 1, C += 2; _ <= M; _ += 1, C += 2) {
if (_ !== m && T < q[_])
O = q[_];
else if (O = T + 1, y <= O)
return _ - 1;
T = q[_], q[_] = O + r(O + 1, y, w + O - C + 1, h, g);
}
return P;
}, "extendPathsF"), a = /* @__PURE__ */ o((m, y, h, w, g, q, P) => {
let _ = 0, C = m, O = q[_], T = O;
q[_] -= n(
y,
O - 1,
h,
w + O - C - 1,
g
);
let M = m < P ? m : P;
for (_ += 1, C -= 2; _ <= M; _ += 1, C -= 2) {
if (_ !== m && q[_] < T)
O = q[_];
else if (O = T - 1, O < y)
return _ - 1;
T = q[_], q[_] = O - n(
y,
O - 1,
h,
w + O - C - 1,
g
);
}
return P;
}, "extendPathsR"), s = /* @__PURE__ */ o((m, y, h, w, g, q, P, _, C, O, T) => {
let M = w - y, L = h - y, S = g - w - L, V = -S - (m - 1), ue = -S + (m - 1), W = t, k = m < _ ? m : _;
for (let B = 0, ee = -m; B <= k; B += 1, ee += 2) {
let U = B === 0 || B !== m && W < P[B], ve = U ? P[B] : W, Ae = U ? ve : ve + 1, Xe = M + Ae - ee, N = r(
Ae + 1,
h,
Xe + 1,
g,
q
), I = Ae + N;
if (W = P[B], P[B] = I, V <= ee && ee <= ue) {
let F = (m - 1 - (ee + S)) / 2;
if (F <= O && C[F] - 1 <= I) {
let H = M + ve - (U ? ee + 1 : ee - 1), Y = n(
y,
ve,
w,
H,
q
), xe = ve - Y, $e = H - Y, qt = xe + 1, Nr = $e + 1;
T.nChangePreceding = m - 1, m - 1 === qt + Nr - y - w ? (T.aEndPreceding = y, T.bEndPreceding = w) : (T.aEndPreceding = qt, T.bEndPreceding =
Nr), T.nCommonPreceding = Y, Y !== 0 && (T.aCommonPreceding = qt, T.bCommonPreceding = Nr), T.nCommonFollowing = N, N !== 0 && (T.
aCommonFollowing = Ae + 1, T.bCommonFollowing = Xe + 1);
let an = I + 1, sn = Xe + N + 1;
return T.nChangeFollowing = m - 1, m - 1 === h + g - an - sn ? (T.aStartFollowing = h, T.bStartFollowing = g) : (T.aStartFollowing =
an, T.bStartFollowing = sn), !0;
}
}
}
return !1;
}, "extendOverlappablePathsF"), l = /* @__PURE__ */ o((m, y, h, w, g, q, P, _, C, O, T) => {
let M = g - h, L = h - y, S = g - w - L, V = S - m, ue = S + m, W = t, k = m < O ? m : O;
for (let B = 0, ee = m; B <= k; B += 1, ee -= 2) {
let U = B === 0 || B !== m && C[B] < W, ve = U ? C[B] : W, Ae = U ? ve : ve - 1, Xe = M + Ae - ee, N = n(
y,
Ae - 1,
w,
Xe - 1,
q
), I = Ae - N;
if (W = C[B], C[B] = I, V <= ee && ee <= ue) {
let F = (m + (ee - S)) / 2;
if (F <= _ && I - 1 <= P[F]) {
let H = Xe - N;
if (T.nChangePreceding = m, m === I + H - y - w ? (T.aEndPreceding = y, T.bEndPreceding = w) : (T.aEndPreceding = I, T.bEndPreceding =
H), T.nCommonPreceding = N, N !== 0 && (T.aCommonPreceding = I, T.bCommonPreceding = H), T.nChangeFollowing = m - 1, m === 1)
T.nCommonFollowing = 0, T.aStartFollowing = h, T.bStartFollowing = g;
else {
let Y = M + ve - (U ? ee - 1 : ee + 1), xe = r(
ve,
h,
Y,
g,
q
);
T.nCommonFollowing = xe, xe !== 0 && (T.aCommonFollowing = ve, T.bCommonFollowing = Y);
let $e = ve + xe, qt = Y + xe;
m - 1 === h + g - $e - qt ? (T.aStartFollowing = h, T.bStartFollowing = g) : (T.aStartFollowing = $e, T.bStartFollowing = qt);
}
return !0;
}
}
}
return !1;
}, "extendOverlappablePathsR"), c = /* @__PURE__ */ o((m, y, h, w, g, q, P, _, C) => {
let O = w - y, T = g - h, M = h - y, L = g - w, Z = L - M, S = M, V = M;
if (P[0] = y - 1, _[0] = h, Z % 2 === 0) {
let ue = (m || Z) / 2, W = (M + L) / 2;
for (let k = 1; k <= W; k += 1)
if (S = i(k, h, g, O, q, P, S), k < ue)
V = a(k, y, w, T, q, _, V);
else if (
// If a reverse path overlaps a forward path in the same diagonal,
// return a division of the index intervals at the middle change.
l(
k,
y,
h,
w,
g,
q,
P,
S,
_,
V,
C
)
)
return;
} else {
let ue = ((m || Z) + 1) / 2, W = (M + L + 1) / 2, k = 1;
for (S = i(k, h, g, O, q, P, S), k += 1; k <= W; k += 1)
if (V = a(
k - 1,
y,
w,
T,
q,
_,
V
), k < ue)
S = i(k, h, g, O, q, P, S);
else if (
// If a forward path overlaps a reverse path in the same diagonal,
// return a division of the index intervals at the middle change.
s(
k,
y,
h,
w,
g,
q,
P,
S,
_,
V,
C
)
)
return;
}
throw new Error(
`${e}: no overlap aStart=${y} aEnd=${h} bStart=${w} bEnd=${g}`
);
}, "divide"), u = /* @__PURE__ */ o((m, y, h, w, g, q, P, _, C, O) => {
if (g - w < h - y) {
if (q = !q, q && P.length === 1) {
let { foundSubsequence: I, isCommon: F } = P[0];
P[1] = {
foundSubsequence: /* @__PURE__ */ o((H, Y, xe) => {
I(H, xe, Y);
}, "foundSubsequence"),
isCommon: /* @__PURE__ */ o((H, Y) => F(Y, H), "isCommon")
};
}
let Xe = y, N = h;
y = w, h = g, w = Xe, g = N;
}
let { foundSubsequence: T, isCommon: M } = P[q ? 1 : 0];
c(
m,
y,
h,
w,
g,
M,
_,
C,
O
);
let {
nChangePreceding: L,
aEndPreceding: Z,
bEndPreceding: S,
nCommonPreceding: V,
aCommonPreceding: ue,
bCommonPreceding: W,
nCommonFollowing: k,
aCommonFollowing: B,
bCommonFollowing: ee,
nChangeFollowing: U,
aStartFollowing: ve,
bStartFollowing: Ae
} = O;
y < Z && w < S && u(
L,
y,
Z,
w,
S,
q,
P,
_,
C,
O
), V !== 0 && T(V, ue, W), k !== 0 && T(k, B, ee), ve < h && Ae < g && u(
U,
ve,
h,
Ae,
g,
q,
P,
_,
C,
O
);
}, "findSubsequences"), d = /* @__PURE__ */ o((m, y) => {
if (typeof y != "number")
throw new TypeError(`${e}: ${m} typeof ${typeof y} is not a number`);
if (!Number.isSafeInteger(y))
throw new RangeError(`${e}: ${m} value ${y} is not a safe integer`);
if (y < 0)
throw new RangeError(`${e}: ${m} value ${y} is a negative integer`);
}, "validateLength"), p = /* @__PURE__ */ o((m, y) => {
let h = typeof y;
if (h !== "function")
throw new TypeError(`${e}: ${m} typeof ${h} is not a function`);
}, "validateCallback");
function b(m, y, h, w) {
d("aLength", m), d("bLength", y), p("isCommon", h), p("foundSubsequence", w);
let g = r(0, m, 0, y, h);
if (g !== 0 && w(g, 0, 0), m !== g || y !== g) {
let q = g, P = g, _ = n(
q,
m - 1,
P,
y - 1,
h
), C = m - _, O = y - _, T = g + _;
m !== T && y !== T && u(
0,
q,
C,
P,
O,
!1,
[
{
foundSubsequence: w,
isCommon: h
}
],
[t],
[t],
{
aCommonFollowing: t,
aCommonPreceding: t,
aEndPreceding: t,
aStartFollowing: t,
bCommonFollowing: t,
bCommonPreceding: t,
bEndPreceding: t,
bStartFollowing: t,
nChangeFollowing: t,
nChangePreceding: t,
nCommonFollowing: t,
nCommonPreceding: t
}
), _ !== 0 && w(_, C, O);
}
}
return o(b, "diffSequence"), Bu;
}
o(bK, "requireBuild");
var yK = bK(), JO = /* @__PURE__ */ OO(yK);
function gK(e, t) {
return e.replace(/\s+$/, (r) => t(r));
}
o(gK, "formatTrailingSpaces");
function my(e, t, r, n, i, a) {
return e.length !== 0 ? r(`${n} ${gK(e, i)}`) : n !== " " ? r(n) : t && a.length !== 0 ? r(`${n} ${a}`) : "";
}
o(my, "printDiffLine");
function QO(e, t, { aColor: r, aIndicator: n, changeLineTrailingSpaceColor: i, emptyFirstOrLastLinePlaceholder: a }) {
return my(e, t, r, n, i, a);
}
o(QO, "printDeleteLine");
function ZO(e, t, { bColor: r, bIndicator: n, changeLineTrailingSpaceColor: i, emptyFirstOrLastLinePlaceholder: a }) {
return my(e, t, r, n, i, a);
}
o(ZO, "printInsertLine");
function eS(e, t, { commonColor: r, commonIndicator: n, commonLineTrailingSpaceColor: i, emptyFirstOrLastLinePlaceholder: a }) {
return my(e, t, r, n, i, a);
}
o(eS, "printCommonLine");
function DO(e, t, r, n, { patchColor: i }) {
return i(`@@ -${e + 1},${t - e} +${r + 1},${n - r} @@`);
}
o(DO, "createPatchMark");
function vK(e, t) {
let r = e.length, n = t.contextLines, i = n + n, a = r, s = !1, l = 0, c = 0;
for (; c !== r; ) {
let _ = c;
for (; c !== r && e[c][0] === qe; )
c += 1;
if (_ !== c)
if (_ === 0)
c > n && (a -= c - n, s = !0);
else if (c === r) {
let C = c - _;
C > n && (a -= C - n, s = !0);
} else {
let C = c - _;
C > i && (a -= C - i, l += 1);
}
for (; c !== r && e[c][0] !== qe; )
c += 1;
}
let u = l !== 0 || s;
l !== 0 ? a += l + 1 : s && (a += 1);
let d = a - 1, p = [], b = 0;
u && p.push("");
let m = 0, y = 0, h = 0, w = 0, g = /* @__PURE__ */ o((_) => {
let C = p.length;
p.push(eS(_, C === 0 || C === d, t)), h += 1, w += 1;
}, "pushCommonLine"), q = /* @__PURE__ */ o((_) => {
let C = p.length;
p.push(QO(_, C === 0 || C === d, t)), h += 1;
}, "pushDeleteLine"), P = /* @__PURE__ */ o((_) => {
let C = p.length;
p.push(ZO(_, C === 0 || C === d, t)), w += 1;
}, "pushInsertLine");
for (c = 0; c !== r; ) {
let _ = c;
for (; c !== r && e[c][0] === qe; )
c += 1;
if (_ !== c)
if (_ === 0) {
c > n && (_ = c - n, m = _, y = _, h = m, w = y);
for (let C = _; C !== c; C += 1)
g(e[C][1]);
} else if (c === r) {
let C = c - _ > n ? _ + n : c;
for (let O = _; O !== C; O += 1)
g(e[O][1]);
} else {
let C = c - _;
if (C > i) {
let O = _ + n;
for (let M = _; M !== O; M += 1)
g(e[M][1]);
p[b] = DO(m, h, y, w, t), b = p.length, p.push("");
let T = C - i;
m = h + T, y = w + T, h = m, w = y;
for (let M = c - n; M !== c; M += 1)
g(e[M][1]);
} else
for (let O = _; O !== c; O += 1)
g(e[O][1]);
}
for (; c !== r && e[c][0] === Ue; )
q(e[c][1]), c += 1;
for (; c !== r && e[c][0] === Be; )
P(e[c][1]), c += 1;
}
return u && (p[b] = DO(m, h, y, w, t)), p.join(`
`);
}
o(vK, "joinAlignedDiffsNoExpand");
function EK(e, t) {
return e.map((r, n, i) => {
let a = r[1], s = n === 0 || n === i.length - 1;
switch (r[0]) {
case Ue:
return QO(a, s, t);
case Be:
return ZO(a, s, t);
default:
return eS(a, s, t);
}
}).join(`
`);
}
o(EK, "joinAlignedDiffsExpand");
var ly = /* @__PURE__ */ o((e) => e, "noColor"), tS = 5, wK = 0;
function _K() {
return {
aAnnotation: "Expected",
aColor: be.green,
aIndicator: "-",
bAnnotation: "Received",
bColor: be.red,
bIndicator: "+",
changeColor: be.inverse,
changeLineTrailingSpaceColor: ly,
commonColor: be.dim,
commonIndicator: " ",
commonLineTrailingSpaceColor: ly,
compareKeys: void 0,
contextLines: tS,
emptyFirstOrLastLinePlaceholder: "",
expand: !1,
includeChangeCounts: !1,
omitAnnotationLines: !1,
patchColor: be.yellow,
printBasicPrototype: !1,
truncateThreshold: wK,
truncateAnnotation: "... Diff result is truncated",
truncateAnnotationColor: ly
};
}
o(_K, "getDefaultOptions");
function CK(e) {
return e && typeof e == "function" ? e : void 0;
}
o(CK, "getCompareKeys");
function qK(e) {
return typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : tS;
}
o(qK, "getContextLines");
function Vr(e = {}) {
return {
..._K(),
...e,
compareKeys: CK(e.compareKeys),
contextLines: qK(e.contextLines)
};
}
o(Vr, "normalizeDiffOptions");
function Sn(e) {
return e.length === 1 && e[0].length === 0;
}
o(Sn, "isEmptyString");
function PK(e) {
let t = 0, r = 0;
return e.forEach((n) => {
switch (n[0]) {
case Ue:
t += 1;
break;
case Be:
r += 1;
break;
}
}), {
a: t,
b: r
};
}
o(PK, "countChanges");
function xK({ aAnnotation: e, aColor: t, aIndicator: r, bAnnotation: n, bColor: i, bIndicator: a, includeChangeCounts: s, omitAnnotationLines: l }, c) {
if (l)
return "";
let u = "", d = "";
if (s) {
let m = String(c.a), y = String(c.b), h = n.length - e.length, w = " ".repeat(Math.max(0, h)), g = " ".repeat(Math.max(0, -h)), q = y.length -
m.length, P = " ".repeat(Math.max(0, q)), _ = " ".repeat(Math.max(0, -q));
u = `${w} ${r} ${P}${m}`, d = `${g} ${a} ${_}${y}`;
}
let p = `${r} ${e}${u}`, b = `${a} ${n}${d}`;
return `${t(p)}
${i(b)}
`;
}
o(xK, "printAnnotation");
function hy(e, t, r) {
return xK(r, PK(e)) + (r.expand ? EK(e, r) : vK(e, r)) + (t ? r.truncateAnnotationColor(`
${r.truncateAnnotation}`) : "");
}
o(hy, "printDiffLines");
function Fu(e, t, r) {
let n = Vr(r), [i, a] = rS(Sn(e) ? [] : e, Sn(t) ? [] : t, n);
return hy(i, a, n);
}
o(Fu, "diffLinesUnified");
function RK(e, t, r, n, i) {
if (Sn(e) && Sn(r) && (e = [], r = []), Sn(t) && Sn(n) && (t = [], n = []), e.length !== r.length || t.length !== n.length)
return Fu(e, t, i);
let [a, s] = rS(r, n, i), l = 0, c = 0;
return a.forEach((u) => {
switch (u[0]) {
case Ue:
u[1] = e[l], l += 1;
break;
case Be:
u[1] = t[c], c += 1;
break;
default:
u[1] = t[c], l += 1, c += 1;
}
}), hy(a, s, Vr(i));
}
o(RK, "diffLinesUnified2");
function rS(e, t, r) {
let n = r?.truncateThreshold ?? !1, i = Math.max(Math.floor(r?.truncateThreshold ?? 0), 0), a = n ? Math.min(e.length, i) : e.length, s = n ?
Math.min(t.length, i) : t.length, l = a !== e.length || s !== t.length, c = /* @__PURE__ */ o((m, y) => e[m] === t[y], "isCommon"), u = [],
d = 0, p = 0;
for (JO(a, s, c, /* @__PURE__ */ o((m, y, h) => {
for (; d !== y; d += 1)
u.push(new _e(Ue, e[d]));
for (; p !== h; p += 1)
u.push(new _e(Be, t[p]));
for (; m !== 0; m -= 1, d += 1, p += 1)
u.push(new _e(qe, t[p]));
}, "foundSubsequence")); d !== a; d += 1)
u.push(new _e(Ue, e[d]));
for (; p !== s; p += 1)
u.push(new _e(Be, t[p]));
return [u, l];
}
o(rS, "diffLinesRaw");
function BO(e) {
if (e === void 0)
return "undefined";
if (e === null)
return "null";
if (Array.isArray(e))
return "array";
if (typeof e == "boolean")
return "boolean";
if (typeof e == "function")
return "function";
if (typeof e == "number")
return "number";
if (typeof e == "string")
return "string";
if (typeof e == "bigint")
return "bigint";
if (typeof e == "object") {
if (e != null) {
if (e.constructor === RegExp)
return "regexp";
if (e.constructor === Map)
return "map";
if (e.constructor === Set)
return "set";
if (e.constructor === Date)
return "date";
}
return "object";
} else if (typeof e == "symbol")
return "symbol";
throw new Error(`value of unknown type: ${e}`);
}
o(BO, "getType");
function kO(e) {
return e.includes(`\r
`) ? `\r
` : `
`;
}
o(kO, "getNewLineSymbol");
function TK(e, t, r) {
let n = r?.truncateThreshold ?? !1, i = Math.max(Math.floor(r?.truncateThreshold ?? 0), 0), a = e.length, s = t.length;
if (n) {
let m = e.includes(`
`), y = t.includes(`
`), h = kO(e), w = kO(t), g = m ? `${e.split(h, i).join(h)}
` : e, q = y ? `${t.split(w, i).join(w)}
` : t;
a = g.length, s = q.length;
}
let l = a !== e.length || s !== t.length, c = /* @__PURE__ */ o((m, y) => e[m] === t[y], "isCommon"), u = 0, d = 0, p = [];
return JO(a, s, c, /* @__PURE__ */ o((m, y, h) => {
u !== y && p.push(new _e(Ue, e.slice(u, y))), d !== h && p.push(new _e(Be, t.slice(d, h))), u = y + m, d = h + m, p.push(new _e(qe, t.slice(
h, d)));
}, "foundSubsequence")), u !== a && p.push(new _e(Ue, e.slice(u))), d !== s && p.push(new _e(Be, t.slice(d))), [p, l];
}
o(TK, "diffStrings");
function OK(e, t, r) {
return t.reduce((n, i) => n + (i[0] === qe ? i[1] : i[0] === e && i[1].length !== 0 ? r(i[1]) : ""), "");
}
o(OK, "concatenateRelevantDiffs");
var ku = class {
static {
o(this, "ChangeBuffer");
}
op;
line;
lines;
changeColor;
constructor(t, r) {
this.op = t, this.line = [], this.lines = [], this.changeColor = r;
}
pushSubstring(t) {
this.pushDiff(new _e(this.op, t));
}
pushLine() {
this.lines.push(this.line.length !== 1 ? new _e(this.op, OK(this.op, this.line, this.changeColor)) : this.line[0][0] === this.op ? this.
line[0] : new _e(this.op, this.line[0][1])), this.line.length = 0;
}
isLineEmpty() {
return this.line.length === 0;
}
// Minor input to buffer.
pushDiff(t) {
this.line.push(t);
}
// Main input to buffer.
align(t) {
let r = t[1];
if (r.includes(`
`)) {
let n = r.split(`
`), i = n.length - 1;
n.forEach((a, s) => {
s < i ? (this.pushSubstring(a), this.pushLine()) : a.length !== 0 && this.pushSubstring(a);
});
} else
this.pushDiff(t);
}
// Output from buffer.
moveLinesTo(t) {
this.isLineEmpty() || this.pushLine(), t.push(...this.lines), this.lines.length = 0;
}
}, cy = class {
static {
o(this, "CommonBuffer");
}
deleteBuffer;
insertBuffer;
lines;
constructor(t, r) {
this.deleteBuffer = t, this.insertBuffer = r, this.lines = [];
}
pushDiffCommonLine(t) {
this.lines.push(t);
}
pushDiffChangeLines(t) {
let r = t[1].length === 0;
(!r || this.deleteBuffer.isLineEmpty()) && this.deleteBuffer.pushDiff(t), (!r || this.insertBuffer.isLineEmpty()) && this.insertBuffer.pushDiff(
t);
}
flushChangeLines() {
this.deleteBuffer.moveLinesTo(this.lines), this.insertBuffer.moveLinesTo(this.lines);
}
// Input to buffer.
align(t) {
let r = t[0], n = t[1];
if (n.includes(`
`)) {
let i = n.split(`
`), a = i.length - 1;
i.forEach((s, l) => {
if (l === 0) {
let c = new _e(r, s);
this.deleteBuffer.isLineEmpty() && this.insertBuffer.isLineEmpty() ? (this.flushChangeLines(), this.pushDiffCommonLine(c)) : (this.
pushDiffChangeLines(c), this.flushChangeLines());
} else l < a ? this.pushDiffCommonLine(new _e(r, s)) : s.length !== 0 && this.pushDiffChangeLines(new _e(r, s));
});
} else
this.pushDiffChangeLines(t);
}
// Output from buffer.
getLines() {
return this.flushChangeLines(), this.lines;
}
};
function SK(e, t) {
let r = new ku(Ue, t), n = new ku(Be, t), i = new cy(r, n);
return e.forEach((a) => {
switch (a[0]) {
case Ue:
r.align(a);
break;
case Be:
n.align(a);
break;
default:
i.align(a);
}
}), i.getLines();
}
o(SK, "getAlignedDiffs");
function MK(e, t) {
if (t) {
let r = e.length - 1;
return e.some((n, i) => n[0] === qe && (i !== r || n[1] !== `
`));
}
return e.some((r) => r[0] === qe);
}
o(MK, "hasCommonDiff");
function AK(e, t, r) {
if (e !== t && e.length !== 0 && t.length !== 0) {
let n = e.includes(`
`) || t.includes(`
`), [i, a] = nS(n ? `${e}
` : e, n ? `${t}
` : t, !0, r);
if (MK(i, n)) {
let s = Vr(r), l = SK(i, s.changeColor);
return hy(l, a, s);
}
}
return Fu(e.split(`
`), t.split(`
`), r);
}
o(AK, "diffStringsUnified");
function nS(e, t, r, n) {
let [i, a] = TK(e, t, n);
return r && dK(i), [i, a];
}
o(nS, "diffStringsRaw");
function dy(e, t) {
let { commonColor: r } = Vr(t);
return r(e);
}
o(dy, "getCommonMessage");
var { AsymmetricMatcher: IK, DOMCollection: NK, DOMElement: jK, Immutable: $K, ReactElement: LK, ReactTestComponent: DK } = Lo, oS = [
DK,
LK,
jK,
NK,
$K,
IK,
Lo.Error
], fy = {
maxDepth: 20,
plugins: oS
}, iS = {
callToJSON: !1,
maxDepth: 8,
plugins: oS
};
function zr(e, t, r) {
if (Object.is(e, t))
return "";
let n = BO(e), i = n, a = !1;
if (n === "object" && typeof e.asymmetricMatch == "function") {
if (e.$$typeof !== Symbol.for("jest.asymmetricMatcher") || typeof e.getExpectedType != "function")
return;
i = e.getExpectedType(), a = i === "string";
}
if (i !== BO(t)) {
let w = function(P) {
return P.length <= h ? P : `${P.slice(0, h)}...`;
};
o(w, "truncate");
let { aAnnotation: s, aColor: l, aIndicator: c, bAnnotation: u, bColor: d, bIndicator: p } = Vr(r), b = py(iS, r), m = gt(e, b), y = gt(
t, b), h = 1e5;
m = w(m), y = w(y);
let g = `${l(`${c} ${s}:`)}
${m}`, q = `${d(`${p} ${u}:`)}
${y}`;
return `${g}
${q}`;
}
if (!a)
switch (n) {
case "string":
return Fu(e.split(`
`), t.split(`
`), r);
case "boolean":
case "number":
return BK(e, t, r);
case "map":
return uy(FO(e), FO(t), r);
case "set":
return uy(HO(e), HO(t), r);
default:
return uy(e, t, r);
}
}
o(zr, "diff");
function BK(e, t, r) {
let n = gt(e, fy), i = gt(t, fy);
return n === i ? "" : Fu(n.split(`
`), i.split(`
`), r);
}
o(BK, "comparePrimitive");
function FO(e) {
return new Map(Array.from(e.entries()).sort());
}
o(FO, "sortMap");
function HO(e) {
return new Set(Array.from(e.values()).sort());
}
o(HO, "sortSet");
function uy(e, t, r) {
let n, i = !1;
try {
let s = py(fy, r);
n = UO(e, t, s, r);
} catch {
i = !0;
}
let a = dy(XO, r);
if (n === void 0 || n === a) {
let s = py(iS, r);
n = UO(e, t, s, r), n !== a && !i && (n = `${dy(hK, r)}
${n}`);
}
return n;
}
o(uy, "compareObjects");
function py(e, t) {
let { compareKeys: r, printBasicPrototype: n, maxDepth: i } = Vr(t);
return {
...e,
compareKeys: r,
printBasicPrototype: n,
maxDepth: i ?? e.maxDepth
};
}
o(py, "getFormatOptions");
function UO(e, t, r, n) {
let i = {
...r,
indent: 0
}, a = gt(e, i), s = gt(t, i);
if (a === s)
return dy(XO, n);
{
let l = gt(e, r), c = gt(t, r);
return RK(l.split(`
`), c.split(`
`), a.split(`
`), s.split(`
`), n);
}
}
o(UO, "getObjectsDifference");
var VO = 2e4;
function zO(e) {
return Ur(e) === "Object" && typeof e.asymmetricMatch == "function";
}
o(zO, "isAsymmetricMatcher");
function WO(e, t) {
let r = Ur(e), n = Ur(t);
return r === n && (r === "Object" || r === "Array");
}
o(WO, "isReplaceable");
function Hu(e, t, r) {
let { aAnnotation: n, bAnnotation: i } = Vr(r);
if (typeof t == "string" && typeof e == "string" && t.length > 0 && e.length > 0 && t.length <= VO && e.length <= VO && t !== e) {
if (t.includes(`
`) || e.includes(`
`))
return AK(t, e, r);
let [d] = nS(t, e, !0), p = d.some((h) => h[0] === qe), b = kK(n, i), m = b(n) + UK(GO(d, Ue, p)), y = b(i) + HK(GO(d, Be, p));
return `${m}
${y}`;
}
let a = Lu(t, { forceWritable: !0 }), s = Lu(e, { forceWritable: !0 }), { replacedExpected: l, replacedActual: c } = aS(s, a);
return zr(l, c, r);
}
o(Hu, "printDiffOrStringify");
function aS(e, t, r = /* @__PURE__ */ new WeakSet(), n = /* @__PURE__ */ new WeakSet()) {
return e instanceof Error && t instanceof Error && typeof e.cause < "u" && typeof t.cause > "u" ? (delete e.cause, {
replacedActual: e,
replacedExpected: t
}) : WO(e, t) ? r.has(e) || n.has(t) ? {
replacedActual: e,
replacedExpected: t
} : (r.add(e), n.add(t), $u(t).forEach((i) => {
let a = t[i], s = e[i];
if (zO(a))
a.asymmetricMatch(s) && (e[i] = a);
else if (zO(s))
s.asymmetricMatch(a) && (t[i] = s);
else if (WO(s, a)) {
let l = aS(s, a, r, n);
e[i] = l.replacedActual, t[i] = l.replacedExpected;
}
}), {
replacedActual: e,
replacedExpected: t
}) : {
replacedActual: e,
replacedExpected: t
};
}
o(aS, "replaceAsymmetricMatcher");
function kK(...e) {
let t = e.reduce((r, n) => n.length > r ? n.length : r, 0);
return (r) => `${r}: ${" ".repeat(t - r.length)}`;
}
o(kK, "getLabelPrinter");
var FK = "\xB7";
function sS(e) {
return e.replace(/\s+$/gm, (t) => FK.repeat(t.length));
}
o(sS, "replaceTrailingSpaces");
function HK(e) {
return be.red(sS(De(e)));
}
o(HK, "printReceived");
function UK(e) {
return be.green(sS(De(e)));
}
o(UK, "printExpected");
function GO(e, t, r) {
return e.reduce((n, i) => n + (i[0] === qe ? i[1] : i[0] === t ? r ? be.inverse(i[1]) : i[1] : ""), "");
}
o(GO, "getCommonAndChangedSubstrings");
// ../node_modules/@vitest/spy/node_modules/tinyspy/dist/index.js
function Uu(e, t) {
if (!e)
throw new Error(t);
}
o(Uu, "assert");
function Mn(e, t) {
return typeof t === e;
}
o(Mn, "isType");
function VK(e) {
return e instanceof Promise;
}
o(VK, "isPromise");
function Do(e, t, r) {
Object.defineProperty(e, t, r);
}
o(Do, "define");
function An(e, t, r) {
Do(e, t, { value: r, configurable: !0, writable: !0 });
}
o(An, "defineValue");
var cr = Symbol.for("tinyspy:spy"), zK = /* @__PURE__ */ new Set(), WK = /* @__PURE__ */ o((e) => {
e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
}, "reset"), GK = /* @__PURE__ */ o((e) => (Do(e, cr, {
value: { reset: /* @__PURE__ */ o(() => WK(e[cr]), "reset") }
}), e[cr]), "defineState"), Vu = /* @__PURE__ */ o((e) => e[cr] || GK(e), "getInternalState");
function KK(e) {
Uu(
Mn("function", e) || Mn("undefined", e),
"cannot spy on a non-function value"
);
let t = /* @__PURE__ */ o(function(...n) {
let i = Vu(t);
i.called = !0, i.callCount++, i.calls.push(n);
let a = i.next.shift();
if (a) {
i.results.push(a);
let [d, p] = a;
if (d === "ok")
return p;
throw p;
}
let s, l = "ok", c = i.results.length;
if (i.impl)
try {
new.target ? s = Reflect.construct(i.impl, n, new.target) : s = i.impl.apply(this, n), l = "ok";
} catch (d) {
throw s = d, l = "error", i.results.push([l, d]), d;
}
let u = [l, s];
return VK(s) && s.then(
(d) => i.resolves[c] = ["ok", d],
(d) => i.resolves[c] = ["error", d]
), i.results.push(u), s;
}, "fn");
An(t, "_isMockFunction", !0), An(t, "length", e ? e.length : 0), An(t, "name", e && e.name || "spy");
let r = Vu(t);
return r.reset(), r.impl = e, t;
}
o(KK, "createInternalSpy");
function YK(e) {
return !!e && e._isMockFunction === !0;
}
o(YK, "isMockFunction");
var uS = /* @__PURE__ */ o((e, t) => {
let r = Object.getOwnPropertyDescriptor(e, t);
if (r)
return [e, r];
let n = Object.getPrototypeOf(e);
for (; n !== null; ) {
let i = Object.getOwnPropertyDescriptor(n, t);
if (i)
return [n, i];
n = Object.getPrototypeOf(n);
}
}, "getDescriptor"), lS = /* @__PURE__ */ o((e, t) => {
t != null && typeof t == "function" && t.prototype != null && Object.setPrototypeOf(e.prototype, t.prototype);
}, "setPototype");
function by(e, t, r) {
Uu(
!Mn("undefined", e),
"spyOn could not find an object to spy upon"
), Uu(
Mn("object", e) || Mn("function", e),
"cannot spyOn on a primitive value"
);
let [n, i] = (() => {
if (!Mn("object", t))
return [t, "value"];
if ("getter" in t && "setter" in t)
throw new Error("cannot spy on both getter and setter");
if ("getter" in t)
return [t.getter, "get"];
if ("setter" in t)
return [t.setter, "set"];
throw new Error("specify getter or setter to spy on");
})(), [a, s] = uS(e, n) || [];
Uu(
s || n in e,
`${String(n)} does not exist`
);
let l = !1;
i === "value" && s && !s.value && s.get && (i = "get", l = !0, r = s.get());
let c;
s ? c = s[i] : i !== "value" ? c = /* @__PURE__ */ o(() => e[n], "original") : c = e[n], c && ZK(c) && (c = c[cr].getOriginal());
let u = /* @__PURE__ */ o((m) => {
let { value: y, ...h } = s || {
configurable: !0,
writable: !0
};
i !== "value" && delete h.writable, h[i] = m, Do(e, n, h);
}, "reassign"), d = /* @__PURE__ */ o(() => {
a !== e ? Reflect.deleteProperty(e, n) : s && !c ? Do(e, n, s) : u(c);
}, "restore");
r || (r = c);
let p = QK(KK(r), r);
i === "value" && lS(p, c);
let b = p[cr];
return An(b, "restore", d), An(b, "getOriginal", () => l ? c() : c), An(b, "willCall", (m) => (b.impl = m, p)), u(
l ? () => (lS(p, r), p) : p
), zK.add(p), p;
}
o(by, "internalSpyOn");
var XK = /* @__PURE__ */ new Set([
"length",
"name",
"prototype"
]);
function JK(e) {
let t = /* @__PURE__ */ new Set(), r = {};
for (; e && e !== Object.prototype && e !== Function.prototype; ) {
let n = [
...Object.getOwnPropertyNames(e),
...Object.getOwnPropertySymbols(e)
];
for (let i of n)
r[i] || XK.has(i) || (t.add(i), r[i] = Object.getOwnPropertyDescriptor(e, i));
e = Object.getPrototypeOf(e);
}
return {
properties: t,
descriptors: r
};
}
o(JK, "getAllProperties");
function QK(e, t) {
if (!t || // the original is already a spy, so it has all the properties
cr in t)
return e;
let { properties: r, descriptors: n } = JK(t);
for (let i of r) {
let a = n[i];
uS(e, i) || Do(e, i, a);
}
return e;
}
o(QK, "wrap");
function ZK(e) {
return YK(e) && "getOriginal" in e[cr];
}
o(ZK, "isSpyFunction");
// ../node_modules/@vitest/spy/dist/index.js
var In = /* @__PURE__ */ new Set();
function Wr(e) {
return typeof e == "function" && "_isMockFunction" in e && e._isMockFunction;
}
o(Wr, "isMockFunction");
function cS(e, t, r) {
let i = r ? { [{
get: "getter",
set: "setter"
}[r]]: t } : t, a, s = r7(e, t), l = s && s[r || "value"];
Wr(l) && (a = l.mock._state());
try {
let c = by(e, i), u = dS(c);
return a && u.mock._state(a), u;
} catch (c) {
throw c instanceof TypeError && Symbol.toStringTag && e[Symbol.toStringTag] === "Module" && (c.message.includes("Cannot redefine propert\
y") || c.message.includes("Cannot replace module namespace") || c.message.includes("can't redefine non-configurable property")) ? new TypeError(
`Cannot spy on export "${String(i)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`, {
cause: c }) : c;
}
}
o(cS, "spyOn");
var t7 = 0;
function dS(e) {
let t = e, r, n = [], i = !1, a = [], s = [], l = [], c = Vu(e), u = {
get calls() {
return c.calls;
},
get contexts() {
return s;
},
get instances() {
return a;
},
get invocationCallOrder() {
return l;
},
get results() {
return c.results.map(([m, y]) => ({
type: m === "error" ? "throw" : "return",
value: y
}));
},
get settledResults() {
return c.resolves.map(([m, y]) => ({
type: m === "error" ? "rejected" : "fulfilled",
value: y
}));
},
get lastCall() {
return c.calls[c.calls.length - 1];
},
_state(m) {
return m && (r = m.implementation, n = m.onceImplementations, i = m.implementationChangedTemporarily), {
implementation: r,
onceImplementations: n,
implementationChangedTemporarily: i
};
}
};
function d(...m) {
return a.push(this), s.push(this), l.push(++t7), (i ? r : n.shift() || r || c.getOriginal() || (() => {
})).apply(this, m);
}
o(d, "mockCall");
let p = t.name;
t.getMockName = () => p || "vi.fn()", t.mockName = (m) => (p = m, t), t.mockClear = () => (c.reset(), a = [], s = [], l = [], t), t.mockReset =
() => (t.mockClear(), r = void 0, n = [], t), t.mockRestore = () => (t.mockReset(), c.restore(), t), Symbol.dispose && (t[Symbol.dispose] =
() => t.mockRestore()), t.getMockImplementation = () => i ? r : n.at(0) || r, t.mockImplementation = (m) => (r = m, c.willCall(d), t), t.mockImplementationOnce =
(m) => (n.push(m), t);
function b(m, y) {
let h = r;
r = m, c.willCall(d), i = !0;
let w = /* @__PURE__ */ o(() => {
r = h, i = !1;
}, "reset"), g = y();
return typeof g == "object" && g && typeof g.then == "function" ? g.then(() => (w(), t)) : (w(), t);
}
return o(b, "withImplementation"), t.withImplementation = b, t.mockReturnThis = () => t.mockImplementation(function() {
return this;
}), t.mockReturnValue = (m) => t.mockImplementation(() => m), t.mockReturnValueOnce = (m) => t.mockImplementationOnce(() => m), t.mockResolvedValue =
(m) => t.mockImplementation(() => Promise.resolve(m)), t.mockResolvedValueOnce = (m) => t.mockImplementationOnce(() => Promise.resolve(m)),
t.mockRejectedValue = (m) => t.mockImplementation(() => Promise.reject(m)), t.mockRejectedValueOnce = (m) => t.mockImplementationOnce(() => Promise.
reject(m)), Object.defineProperty(t, "mock", { get: /* @__PURE__ */ o(() => u, "get") }), c.willCall(d), In.add(t), t;
}
o(dS, "enhanceSpy");
function yy(e) {
let t = dS(by({ spy: e || function() {
} }, "spy"));
return e && t.mockImplementation(e), t;
}
o(yy, "fn");
function r7(e, t) {
let r = Object.getOwnPropertyDescriptor(e, t);
if (r)
return r;
let n = Object.getPrototypeOf(e);
for (; n !== null; ) {
let i = Object.getOwnPropertyDescriptor(n, t);
if (i)
return i;
n = Object.getPrototypeOf(n);
}
}
o(r7, "getDescriptor");
// ../node_modules/@vitest/utils/dist/error.js
var n7 = "@@__IMMUTABLE_RECORD__@@", o7 = "@@__IMMUTABLE_ITERABLE__@@";
function i7(e) {
return e && (e[o7] || e[n7]);
}
o(i7, "isImmutable");
var a7 = Object.getPrototypeOf({});
function fS(e) {
return e instanceof Error ? `: ${e.message}` : typeof e == "string" ? `: ${e}` : "";
}
o(fS, "getUnserializableMessage");
function dr(e, t = /* @__PURE__ */ new WeakMap()) {
if (!e || typeof e == "string")
return e;
if (e instanceof Error && "toJSON" in e && typeof e.toJSON == "function") {
let r = e.toJSON();
return r && r !== e && typeof r == "object" && (typeof e.message == "string" && zu(() => r.message ?? (r.message = e.message)), typeof e.
stack == "string" && zu(() => r.stack ?? (r.stack = e.stack)), typeof e.name == "string" && zu(() => r.name ?? (r.name = e.name)), e.cause !=
null && zu(() => r.cause ?? (r.cause = dr(e.cause, t)))), dr(r, t);
}
if (typeof e == "function")
return `Function<${e.name || "anonymous"}>`;
if (typeof e == "symbol")
return e.toString();
if (typeof e != "object")
return e;
if (typeof Buffer < "u" && e instanceof Buffer)
return ``;
if (typeof Uint8Array < "u" && e instanceof Uint8Array)
return ``;
if (i7(e))
return dr(e.toJSON(), t);
if (e instanceof Promise || e.constructor && e.constructor.prototype === "AsyncFunction")
return "Promise";
if (typeof Element < "u" && e instanceof Element)
return e.tagName;
if (typeof e.asymmetricMatch == "function")
return `${e.toString()} ${iy(e.sample)}`;
if (typeof e.toJSON == "function")
return dr(e.toJSON(), t);
if (t.has(e))
return t.get(e);
if (Array.isArray(e)) {
let r = new Array(e.length);
return t.set(e, r), e.forEach((n, i) => {
try {
r[i] = dr(n, t);
} catch (a) {
r[i] = fS(a);
}
}), r;
} else {
let r = /* @__PURE__ */ Object.create(null);
t.set(e, r);
let n = e;
for (; n && n !== a7; )
Object.getOwnPropertyNames(n).forEach((i) => {
if (!(i in r))
try {
r[i] = dr(e[i], t);
} catch (a) {
delete r[i], r[i] = fS(a);
}
}), n = Object.getPrototypeOf(n);
return r;
}
}
o(dr, "serializeValue");
function zu(e) {
try {
return e();
} catch {
}
}
o(zu, "safe");
function s7(e) {
return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g, "");
}
o(s7, "normalizeErrorMessage");
function gy(e, t, r = /* @__PURE__ */ new WeakSet()) {
if (!e || typeof e != "object")
return { message: String(e) };
let n = e;
(n.showDiff || n.showDiff === void 0 && n.expected !== void 0 && n.actual !== void 0) && (n.diff = Hu(n.actual, n.expected, {
...t,
...n.diffOptions
})), "expected" in n && typeof n.expected != "string" && (n.expected = De(n.expected, 10)), "actual" in n && typeof n.actual != "string" &&
(n.actual = De(n.actual, 10));
try {
typeof n.message == "string" && (n.message = s7(n.message));
} catch {
}
try {
!r.has(n) && typeof n.cause == "object" && (r.add(n), n.cause = gy(n.cause, t, r));
} catch {
}
try {
return dr(n);
} catch (i) {
return dr(new Error(`Failed to fully serialize error: ${i?.message}
Inner error message: ${n?.message}`));
}
}
o(gy, "processError");
// ../node_modules/@vitest/expect/dist/index.js
var Fo = Symbol.for("matchers-object"), Ho = Symbol.for("$$jest-matchers-object-storybook"), Zu = Symbol.for("expect-global"), wy = Symbol.for(
"asymmetric-matchers-object"), _S = {
toSatisfy(e, t, r) {
let { printReceived: n, printExpected: i, matcherHint: a } = this.utils, s = t(e);
return {
pass: s,
message: /* @__PURE__ */ o(() => s ? `${a(".not.toSatisfy", "received", "")}
Expected value to not satisfy:
${r || i(t)}
Received:
${n(e)}` : `${a(".toSatisfy", "received", "")}
Expected value to satisfy:
${r || i(t)}
Received:
${n(e)}`, "message")
};
},
toBeOneOf(e, t) {
let { equals: r, customTesters: n } = this, { printReceived: i, printExpected: a, matcherHint: s } = this.utils;
if (!Array.isArray(t))
throw new TypeError(`You must provide an array to ${s(".toBeOneOf")}, not '${typeof t}'.`);
let l = t.length === 0 || t.some((c) => r(c, e, n));
return {
pass: l,
message: /* @__PURE__ */ o(() => l ? `${s(".not.toBeOneOf", "received", "")}
Expected value to not be one of:
${a(t)}
Received:
${i(e)}` : `${s(".toBeOneOf", "received", "")}
Expected value to be one of:
${a(t)}
Received:
${i(e)}`, "message")
};
}
}, Wu = be.green, Py = be.red, l7 = be.inverse, u7 = be.bold, fr = be.dim;
function c7(e, t = "received", r = "expected", n = {}) {
let { comment: i = "", isDirectExpectCall: a = !1, isNot: s = !1, promise: l = "", secondArgument: c = "", expectedColor: u = Wu, receivedColor: d = Py,
secondArgumentColor: p = Wu } = n, b = "", m = "expect";
return !a && t !== "" && (b += fr(`${m}(`) + d(t), m = ")"), l !== "" && (b += fr(`${m}.`) + l, m = ""), s && (b += `${fr(`${m}.`)}not`, m =
""), e.includes(".") ? m += e : (b += fr(`${m}.`) + e, m = ""), r === "" ? m += "()" : (b += fr(`${m}(`) + u(r), c && (b += fr(", ") + p(c)),
m = ")"), i !== "" && (m += ` // ${i}`), m !== "" && (b += fr(m)), b;
}
o(c7, "matcherHint");
var d7 = "\xB7";
function CS(e) {
return e.replace(/\s+$/gm, (t) => d7.repeat(t.length));
}
o(CS, "replaceTrailingSpaces");
function f7(e) {
return Py(CS(De(e)));
}
o(f7, "printReceived");
function p7(e) {
return Wu(CS(De(e)));
}
o(p7, "printExpected");
function qS() {
return {
EXPECTED_COLOR: Wu,
RECEIVED_COLOR: Py,
INVERTED_COLOR: l7,
BOLD_WEIGHT: u7,
DIM_COLOR: fr,
diff: zr,
matcherHint: c7,
printReceived: f7,
printExpected: p7,
printDiffOrStringify: Hu,
printWithType: m7
};
}
o(qS, "getMatcherUtils");
function m7(e, t, r) {
let n = Ur(t), i = n !== "null" && n !== "undefined" ? `${e} has type: ${n}
` : "", a = `${e} has value: ${r(t)}`;
return i + a;
}
o(m7, "printWithType");
function xy() {
return globalThis[Ho].customEqualityTesters;
}
o(xy, "getCustomEqualityTesters");
function oe(e, t, r, n) {
return r = r || [], Bo(e, t, [], [], r, n ? PS : y7);
}
o(oe, "equals");
var oRe = Function.prototype.toString;
function pS(e) {
return !!e && typeof e == "object" && "asymmetricMatch" in e && St("Function", e.asymmetricMatch);
}
o(pS, "isAsymmetric");
function h7(e, t) {
let r = pS(e), n = pS(t);
if (!(r && n)) {
if (r)
return e.asymmetricMatch(t);
if (n)
return t.asymmetricMatch(e);
}
}
o(h7, "asymmetricMatch");
function Bo(e, t, r, n, i, a) {
let s = !0, l = h7(e, t);
if (l !== void 0)
return l;
let c = { equals: oe };
for (let y = 0; y < i.length; y++) {
let h = i[y].call(c, e, t, i);
if (h !== void 0)
return h;
}
if (typeof URL == "function" && e instanceof URL && t instanceof URL)
return e.href === t.href;
if (Object.is(e, t))
return !0;
if (e === null || t === null)
return e === t;
let u = Object.prototype.toString.call(e);
if (u !== Object.prototype.toString.call(t))
return !1;
switch (u) {
case "[object Boolean]":
case "[object String]":
case "[object Number]":
return typeof e != typeof t ? !1 : typeof e != "object" && typeof t != "object" ? Object.is(e, t) : Object.is(e.valueOf(), t.valueOf());
case "[object Date]": {
let y = +e, h = +t;
return y === h || Number.isNaN(y) && Number.isNaN(h);
}
case "[object RegExp]":
return e.source === t.source && e.flags === t.flags;
case "[object Temporal.Instant]":
case "[object Temporal.ZonedDateTime]":
case "[object Temporal.PlainDateTime]":
case "[object Temporal.PlainDate]":
case "[object Temporal.PlainTime]":
case "[object Temporal.PlainYearMonth]":
case "[object Temporal.PlainMonthDay]":
return e.equals(t);
case "[object Temporal.Duration]":
return e.toString() === t.toString();
}
if (typeof e != "object" || typeof t != "object")
return !1;
if (hS(e) && hS(t))
return e.isEqualNode(t);
let d = r.length;
for (; d--; ) {
if (r[d] === e)
return n[d] === t;
if (n[d] === t)
return !1;
}
if (r.push(e), n.push(t), u === "[object Array]" && e.length !== t.length)
return !1;
if (e instanceof Error && t instanceof Error)
try {
return b7(e, t, r, n, i, a);
} finally {
r.pop(), n.pop();
}
let p = mS(e, a), b, m = p.length;
if (mS(t, a).length !== m)
return !1;
for (; m--; )
if (b = p[m], s = a(t, b) && Bo(e[b], t[b], r, n, i, a), !s)
return !1;
return r.pop(), n.pop(), s;
}
o(Bo, "eq");
function b7(e, t, r, n, i, a) {
let s = Object.getPrototypeOf(e) === Object.getPrototypeOf(t) && e.name === t.name && e.message === t.message;
return typeof t.cause < "u" && s && (s = Bo(e.cause, t.cause, r, n, i, a)), e instanceof AggregateError && t instanceof AggregateError && s &&
(s = Bo(e.errors, t.errors, r, n, i, a)), s && (s = Bo({ ...e }, { ...t }, r, n, i, a)), s;
}
o(b7, "isErrorEqual");
function mS(e, t) {
let r = [];
for (let n in e)
t(e, n) && r.push(n);
return r.concat(Object.getOwnPropertySymbols(e).filter((n) => Object.getOwnPropertyDescriptor(e, n).enumerable));
}
o(mS, "keys");
function y7(e, t) {
return PS(e, t) && e[t] !== void 0;
}
o(y7, "hasDefinedKey");
function PS(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
o(PS, "hasKey");
function St(e, t) {
return Object.prototype.toString.apply(t) === `[object ${e}]`;
}
o(St, "isA");
function hS(e) {
return e !== null && typeof e == "object" && "nodeType" in e && typeof e.nodeType == "number" && "nodeName" in e && typeof e.nodeName == "\
string" && "isEqualNode" in e && typeof e.isEqualNode == "function";
}
o(hS, "isDomNode");
var xS = "@@__IMMUTABLE_KEYED__@@", RS = "@@__IMMUTABLE_SET__@@", g7 = "@@__IMMUTABLE_LIST__@@", ec = "@@__IMMUTABLE_ORDERED__@@", v7 = "@@_\
_IMMUTABLE_RECORD__@@";
function E7(e) {
return !!(e && e[xS] && !e[ec]);
}
o(E7, "isImmutableUnorderedKeyed");
function w7(e) {
return !!(e && e[RS] && !e[ec]);
}
o(w7, "isImmutableUnorderedSet");
function tc(e) {
return e != null && typeof e == "object" && !Array.isArray(e);
}
o(tc, "isObjectLiteral");
function _7(e) {
return !!(e && tc(e) && e[g7]);
}
o(_7, "isImmutableList");
function C7(e) {
return !!(e && tc(e) && e[xS] && e[ec]);
}
o(C7, "isImmutableOrderedKeyed");
function q7(e) {
return !!(e && tc(e) && e[RS] && e[ec]);
}
o(q7, "isImmutableOrderedSet");
function P7(e) {
return !!(e && tc(e) && e[v7]);
}
o(P7, "isImmutableRecord");
var TS = Symbol.iterator;
function bS(e) {
return !!(e != null && e[TS]);
}
o(bS, "hasIterator");
function vt(e, t, r = [], n = [], i = []) {
if (typeof e != "object" || typeof t != "object" || Array.isArray(e) || Array.isArray(t) || !bS(e) || !bS(t))
return;
if (e.constructor !== t.constructor)
return !1;
let a = n.length;
for (; a--; )
if (n[a] === e)
return i[a] === t;
n.push(e), i.push(t);
let s = [...r.filter((u) => u !== vt), l];
function l(u, d) {
return vt(u, d, [...r], [...n], [...i]);
}
if (o(l, "iterableEqualityWithStack"), e.size !== void 0) {
if (e.size !== t.size)
return !1;
if (St("Set", e) || w7(e)) {
let u = !0;
for (let d of e)
if (!t.has(d)) {
let p = !1;
for (let b of t)
oe(d, b, s) === !0 && (p = !0);
if (p === !1) {
u = !1;
break;
}
}
return n.pop(), i.pop(), u;
} else if (St("Map", e) || E7(e)) {
let u = !0;
for (let d of e)
if (!t.has(d[0]) || !oe(d[1], t.get(d[0]), s)) {
let p = !1;
for (let b of t) {
let m = oe(d[0], b[0], s), y = !1;
m === !0 && (y = oe(d[1], b[1], s)), y === !0 && (p = !0);
}
if (p === !1) {
u = !1;
break;
}
}
return n.pop(), i.pop(), u;
}
}
let c = t[TS]();
for (let u of e) {
let d = c.next();
if (d.done || !oe(u, d.value, s))
return !1;
}
if (!c.next().done)
return !1;
if (!_7(e) && !C7(e) && !q7(e) && !P7(e)) {
let u = Object.entries(e), d = Object.entries(t);
if (!oe(u, d, s))
return !1;
}
return n.pop(), i.pop(), !0;
}
o(vt, "iterableEquality");
function Ry(e, t) {
return !e || typeof e != "object" || e === Object.prototype ? !1 : Object.prototype.hasOwnProperty.call(e, t) || Ry(Object.getPrototypeOf(
e), t);
}
o(Ry, "hasPropertyInObject");
function x7(e) {
return On(e) && !(e instanceof Error) && !Array.isArray(e) && !(e instanceof Date);
}
o(x7, "isObjectWithKeys");
function Uo(e, t, r = []) {
let n = r.filter((a) => a !== Uo), i = /* @__PURE__ */ o((a = /* @__PURE__ */ new WeakMap()) => (s, l) => {
if (x7(l))
return Object.keys(l).every((c) => {
if (l[c] != null && typeof l[c] == "object") {
if (a.has(l[c]))
return oe(s[c], l[c], n);
a.set(l[c], !0);
}
let u = s != null && Ry(s, c) && oe(s[c], l[c], [...n, i(a)]);
return a.delete(l[c]), u;
});
}, "subsetEqualityWithContext");
return i()(e, t);
}
o(Uo, "subsetEquality");
function yS(e, t) {
if (!(e == null || t == null || e.constructor === t.constructor))
return !1;
}
o(yS, "typeEquality");
function gS(e, t) {
let r = e, n = t;
if (!(e instanceof DataView && t instanceof DataView)) {
if (!(e instanceof ArrayBuffer) || !(t instanceof ArrayBuffer))
return;
try {
r = new DataView(e), n = new DataView(t);
} catch {
return;
}
}
if (r.byteLength !== n.byteLength)
return !1;
for (let i = 0; i < r.byteLength; i++)
if (r.getUint8(i) !== n.getUint8(i))
return !1;
return !0;
}
o(gS, "arrayBufferEquality");
function _y(e, t, r = []) {
if (!Array.isArray(e) || !Array.isArray(t))
return;
let n = Object.keys(e), i = Object.keys(t), a = r.filter((s) => s !== _y);
return oe(e, t, a, !0) && oe(n, i);
}
o(_y, "sparseArrayEquality");
function R7(e, t = "#{this}", r = "#{exp}") {
let n = `expected ${t} to be ${r} // Object.is equality`;
return ["toStrictEqual", "toEqual"].includes(e) ? `${n}
If it should pass with deep equality, replace "toBe" with "${e}"
Expected: ${t}
Received: serializes to the same string
` : n;
}
o(R7, "generateToBeMessage");
function T7(e, t) {
return `${t} ${e}${t === 1 ? "" : "s"}`;
}
o(T7, "pluralize");
function vy(e) {
return [...Object.keys(e), ...Object.getOwnPropertySymbols(e).filter((t) => {
var r;
return (r = Object.getOwnPropertyDescriptor(e, t)) === null || r === void 0 ? void 0 : r.enumerable;
})];
}
o(vy, "getObjectKeys");
function O7(e, t, r) {
let n = 0, i = /* @__PURE__ */ o((a = /* @__PURE__ */ new WeakMap()) => (s, l) => {
if (Array.isArray(s)) {
if (Array.isArray(l) && l.length === s.length)
return l.map((c, u) => i(a)(s[u], c));
} else {
if (s instanceof Date)
return s;
if (On(s) && On(l)) {
if (oe(s, l, [
...r,
vt,
Uo
]))
return l;
let c = {};
a.set(s, c), typeof s.constructor == "function" && typeof s.constructor.name == "string" && Object.defineProperty(c, "constructor", {
enumerable: !1,
value: s.constructor
});
for (let u of vy(s))
Ry(l, u) ? c[u] = a.has(s[u]) ? a.get(s[u]) : i(a)(s[u], l[u]) : a.has(s[u]) || (n += 1, On(s[u]) && (n += vy(s[u]).length), i(a)(
s[u], l[u]));
if (vy(c).length > 0)
return c;
}
}
return s;
}, "getObjectSubsetWithContext");
return {
subset: i()(e, t),
stripped: n
};
}
o(O7, "getObjectSubset");
if (!Object.prototype.hasOwnProperty.call(globalThis, Fo)) {
let e = /* @__PURE__ */ new WeakMap();
Object.defineProperty(globalThis, Fo, { get: /* @__PURE__ */ o(() => e, "get") });
}
if (!Object.prototype.hasOwnProperty.call(globalThis, Ho)) {
let e = /* @__PURE__ */ Object.create(null), t = [];
Object.defineProperty(globalThis, Ho, {
configurable: !0,
get: /* @__PURE__ */ o(() => ({
state: globalThis[Fo].get(globalThis[Zu]),
matchers: e,
customEqualityTesters: t
}), "get")
});
}
if (!Object.prototype.hasOwnProperty.call(globalThis, wy)) {
let e = /* @__PURE__ */ Object.create(null);
Object.defineProperty(globalThis, wy, { get: /* @__PURE__ */ o(() => e, "get") });
}
function Vo(e) {
return globalThis[Fo].get(e);
}
o(Vo, "getState");
function rc(e, t) {
let r = globalThis[Fo], n = r.get(t) || {}, i = Object.defineProperties(n, {
...Object.getOwnPropertyDescriptors(n),
...Object.getOwnPropertyDescriptors(e)
});
r.set(t, i);
}
o(rc, "setState");
var Mt = class {
static {
o(this, "AsymmetricMatcher");
}
// should have "jest" to be compatible with its ecosystem
$$typeof = Symbol.for("jest.asymmetricMatcher");
constructor(t, r = !1) {
this.sample = t, this.inverse = r;
}
getMatcherContext(t) {
return {
...Vo(t || globalThis[Zu]),
equals: oe,
isNot: this.inverse,
customTesters: xy(),
utils: {
...qS(),
diff: zr,
stringify: De,
iterableEquality: vt,
subsetEquality: Uo
}
};
}
};
Mt.prototype[Symbol.for("chai/inspect")] = function(e) {
let t = De(this, e.depth, { min: !0 });
return t.length <= e.truncate ? t : `${this.toString()}{\u2026}`;
};
var Gu = class extends Mt {
static {
o(this, "StringContaining");
}
constructor(t, r = !1) {
if (!St("String", t))
throw new Error("Expected is not a string");
super(t, r);
}
asymmetricMatch(t) {
let r = St("String", t) && t.includes(this.sample);
return this.inverse ? !r : r;
}
toString() {
return `String${this.inverse ? "Not" : ""}Containing`;
}
getExpectedType() {
return "string";
}
}, Cy = class extends Mt {
static {
o(this, "Anything");
}
asymmetricMatch(t) {
return t != null;
}
toString() {
return "Anything";
}
toAsymmetricMatcher() {
return "Anything";
}
}, Ku = class extends Mt {
static {
o(this, "ObjectContaining");
}
constructor(t, r = !1) {
super(t, r);
}
getPrototype(t) {
return Object.getPrototypeOf ? Object.getPrototypeOf(t) : t.constructor.prototype === t ? null : t.constructor.prototype;
}
hasProperty(t, r) {
return t ? Object.prototype.hasOwnProperty.call(t, r) ? !0 : this.hasProperty(this.getPrototype(t), r) : !1;
}
asymmetricMatch(t) {
if (typeof this.sample != "object")
throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);
let r = !0, n = this.getMatcherContext();
for (let i in this.sample)
if (!this.hasProperty(t, i) || !oe(this.sample[i], t[i], n.customTesters)) {
r = !1;
break;
}
return this.inverse ? !r : r;
}
toString() {
return `Object${this.inverse ? "Not" : ""}Containing`;
}
getExpectedType() {
return "object";
}
}, Yu = class extends Mt {
static {
o(this, "ArrayContaining");
}
constructor(t, r = !1) {
super(t, r);
}
asymmetricMatch(t) {
if (!Array.isArray(this.sample))
throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);
let r = this.getMatcherContext(), n = this.sample.length === 0 || Array.isArray(t) && this.sample.every((i) => t.some((a) => oe(i, a, r.
customTesters)));
return this.inverse ? !n : n;
}
toString() {
return `Array${this.inverse ? "Not" : ""}Containing`;
}
getExpectedType() {
return "array";
}
}, qy = class extends Mt {
static {
o(this, "Any");
}
constructor(t) {
if (typeof t > "u")
throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");
super(t);
}
fnNameFor(t) {
if (t.name)
return t.name;
let n = Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);
return n ? n[1] : "";
}
asymmetricMatch(t) {
return this.sample === String ? typeof t == "string" || t instanceof String : this.sample === Number ? typeof t == "number" || t instanceof
Number : this.sample === Function ? typeof t == "function" || typeof t == "function" : this.sample === Boolean ? typeof t == "boolean" ||
t instanceof Boolean : this.sample === BigInt ? typeof t == "bigint" || t instanceof BigInt : this.sample === Symbol ? typeof t == "symb\
ol" || t instanceof Symbol : this.sample === Object ? typeof t == "object" : t instanceof this.sample;
}
toString() {
return "Any";
}
getExpectedType() {
return this.sample === String ? "string" : this.sample === Number ? "number" : this.sample === Function ? "function" : this.sample === Object ?
"object" : this.sample === Boolean ? "boolean" : this.fnNameFor(this.sample);
}
toAsymmetricMatcher() {
return `Any<${this.fnNameFor(this.sample)}>`;
}
}, Xu = class extends Mt {
static {
o(this, "StringMatching");
}
constructor(t, r = !1) {
if (!St("String", t) && !St("RegExp", t))
throw new Error("Expected is not a String or a RegExp");
super(new RegExp(t), r);
}
asymmetricMatch(t) {
let r = St("String", t) && this.sample.test(t);
return this.inverse ? !r : r;
}
toString() {
return `String${this.inverse ? "Not" : ""}Matching`;
}
getExpectedType() {
return "string";
}
}, Ju = class extends Mt {
static {
o(this, "CloseTo");
}
precision;
constructor(t, r = 2, n = !1) {
if (!St("Number", t))
throw new Error("Expected is not a Number");
if (!St("Number", r))
throw new Error("Precision is not a Number");
super(t), this.inverse = n, this.precision = r;
}
asymmetricMatch(t) {
if (!St("Number", t))
return !1;
let r = !1;
return t === Number.POSITIVE_INFINITY && this.sample === Number.POSITIVE_INFINITY || t === Number.NEGATIVE_INFINITY && this.sample === Number.
NEGATIVE_INFINITY ? r = !0 : r = Math.abs(this.sample - t) < 10 ** -this.precision / 2, this.inverse ? !r : r;
}
toString() {
return `Number${this.inverse ? "Not" : ""}CloseTo`;
}
getExpectedType() {
return "number";
}
toAsymmetricMatcher() {
return [
this.toString(),
this.sample,
`(${T7("digit", this.precision)})`
].join(" ");
}
}, OS = /* @__PURE__ */ o((e, t) => {
t.addMethod(e.expect, "anything", () => new Cy()), t.addMethod(e.expect, "any", (r) => new qy(r)), t.addMethod(e.expect, "stringContaining",
(r) => new Gu(r)), t.addMethod(e.expect, "objectContaining", (r) => new Ku(r)), t.addMethod(e.expect, "arrayContaining", (r) => new Yu(r)),
t.addMethod(e.expect, "stringMatching", (r) => new Xu(r)), t.addMethod(e.expect, "closeTo", (r, n) => new Ju(r, n)), e.expect.not = {
stringContaining: /* @__PURE__ */ o((r) => new Gu(r, !0), "stringContaining"),
objectContaining: /* @__PURE__ */ o((r) => new Ku(r, !0), "objectContaining"),
arrayContaining: /* @__PURE__ */ o((r) => new Yu(r, !0), "arrayContaining"),
stringMatching: /* @__PURE__ */ o((r) => new Xu(r, !0), "stringMatching"),
closeTo: /* @__PURE__ */ o((r, n) => new Ju(r, n, !0), "closeTo")
};
}, "JestAsymmetricMatchers");
function vS(e, t, r) {
let n = e.flag(t, "negate") ? "not." : "", i = `${e.flag(t, "_name")}(${r ? "expected" : ""})`, a = e.flag(t, "promise");
return `expect(actual)${a ? `.${a}` : ""}.${n}${i}`;
}
o(vS, "createAssertionMessage");
function ES(e, t, r, n) {
let i = e;
if (i && t instanceof Promise) {
t = t.finally(() => {
if (!i.promises)
return;
let s = i.promises.indexOf(t);
s !== -1 && i.promises.splice(s, 1);
}), i.promises || (i.promises = []), i.promises.push(t);
let a = !1;
return i.onFinished ?? (i.onFinished = []), i.onFinished.push(() => {
if (!a) {
var s;
let c = (((s = globalThis.__vitest_worker__) === null || s === void 0 ? void 0 : s.onFilterStackTrace) || ((u) => u || ""))(n.stack);
console.warn([
`Promise returned by \`${r}\` was not awaited. `,
"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",
`Please remember to await the assertion.
`,
c
].join(""));
}
}), {
then(s, l) {
return a = !0, t.then(s, l);
},
catch(s) {
return t.catch(s);
},
finally(s) {
return t.finally(s);
},
[Symbol.toStringTag]: "Promise"
};
}
return t;
}
o(ES, "recordAsyncExpect");
function wS(e, t) {
var r;
e.result || (e.result = { state: "fail" }), e.result.state = "fail", (r = e.result).errors || (r.errors = []), e.result.errors.push(gy(t));
}
o(wS, "handleTestError");
function SS(e, t, r) {
return function(...n) {
if (t !== "withTest" && e.flag(this, "_name", t), !e.flag(this, "soft"))
return r.apply(this, n);
let i = e.flag(this, "vitest-test");
if (!i)
throw new Error("expect.soft() can only be used inside a test");
try {
let a = r.apply(this, n);
return a && typeof a == "object" && typeof a.then == "function" ? a.then(ay, (s) => {
wS(i, s);
}) : a;
} catch (a) {
wS(i, a);
}
};
}
o(SS, "wrapAssertion");
var MS = /* @__PURE__ */ o((e, t) => {
let { AssertionError: r } = e, n = xy();
function i(u, d) {
let p = /* @__PURE__ */ o((b) => {
let m = SS(t, b, d);
t.addMethod(e.Assertion.prototype, b, m), t.addMethod(globalThis[Ho].matchers, b, m);
}, "addMethod");
Array.isArray(u) ? u.forEach((b) => p(b)) : p(u);
}
o(i, "def"), [
"throw",
"throws",
"Throw"
].forEach((u) => {
t.overwriteMethod(e.Assertion.prototype, u, (d) => function(...p) {
let b = t.flag(this, "promise"), m = t.flag(this, "object"), y = t.flag(this, "negate");
if (b === "rejects")
t.flag(this, "object", () => {
throw m;
});
else if (b === "resolves" && typeof m != "function") {
if (y)
return;
{
let h = t.flag(this, "message") || "expected promise to throw an error, but it didn't", w = { showDiff: !1 };
throw new r(h, w, t.flag(this, "ssfi"));
}
}
d.apply(this, p);
});
}), i("withTest", function(u) {
return t.flag(this, "vitest-test", u), this;
}), i("toEqual", function(u) {
let d = t.flag(this, "object"), p = oe(d, u, [...n, vt]);
return this.assert(p, "expected #{this} to deeply equal #{exp}", "expected #{this} to not deeply equal #{exp}", u, d);
}), i("toStrictEqual", function(u) {
let d = t.flag(this, "object"), p = oe(d, u, [
...n,
vt,
yS,
_y,
gS
], !0);
return this.assert(p, "expected #{this} to strictly equal #{exp}", "expected #{this} to not strictly equal #{exp}", u, d);
}), i("toBe", function(u) {
let d = this._obj, p = Object.is(d, u), b = "";
return p || (oe(d, u, [
...n,
vt,
yS,
_y,
gS
], !0) ? b = "toStrictEqual" : oe(d, u, [...n, vt]) && (b = "toEqual")), this.assert(p, R7(b), "expected #{this} not to be #{exp} // Obj\
ect.is equality", u, d);
}), i("toMatchObject", function(u) {
let d = this._obj, p = oe(d, u, [
...n,
vt,
Uo
]), b = t.flag(this, "negate"), { subset: m, stripped: y } = O7(d, u, n);
if (p && b || !p && !b) {
let h = t.getMessage(this, [
p,
"expected #{this} to match object #{exp}",
"expected #{this} to not match object #{exp}",
u,
m,
!1
]), w = y === 0 ? h : `${h}
(${y} matching ${y === 1 ? "property" : "properties"} omitted from actual)`;
throw new r(w, {
showDiff: !0,
expected: u,
actual: m
});
}
}), i("toMatch", function(u) {
let d = this._obj;
if (typeof d != "string")
throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);
return this.assert(typeof u == "string" ? d.includes(u) : d.match(u), "expected #{this} to match #{exp}", "expected #{this} not to match\
#{exp}", u, d);
}), i("toContain", function(u) {
let d = this._obj;
if (typeof Node < "u" && d instanceof Node) {
if (!(u instanceof Node))
throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);
return this.assert(d.contains(u), "expected #{this} to contain element #{exp}", "expected #{this} not to contain element #{exp}", u, d);
}
if (typeof DOMTokenList < "u" && d instanceof DOMTokenList) {
Ot(u, "class name", ["string"]);
let b = t.flag(this, "negate") ? d.value.replace(u, "").trim() : `${d.value} ${u}`;
return this.assert(d.contains(u), `expected "${d.value}" to contain "${u}"`, `expected "${d.value}" not to contain "${u}"`, b, d.value);
}
return typeof d == "string" && typeof u == "string" ? this.assert(d.includes(u), "expected #{this} to contain #{exp}", "expected #{this}\
not to contain #{exp}", u, d) : (d != null && typeof d != "string" && t.flag(this, "object", Array.from(d)), this.contain(u));
}), i("toContainEqual", function(u) {
let d = t.flag(this, "object"), p = Array.from(d).findIndex((b) => oe(b, u, n));
this.assert(p !== -1, "expected #{this} to deep equally contain #{exp}", "expected #{this} to not deep equally contain #{exp}", u);
}), i("toBeTruthy", function() {
let u = t.flag(this, "object");
this.assert(!!u, "expected #{this} to be truthy", "expected #{this} to not be truthy", !0, u);
}), i("toBeFalsy", function() {
let u = t.flag(this, "object");
this.assert(!u, "expected #{this} to be falsy", "expected #{this} to not be falsy", !1, u);
}), i("toBeGreaterThan", function(u) {
let d = this._obj;
return Ot(d, "actual", ["number", "bigint"]), Ot(u, "expected", ["number", "bigint"]), this.assert(d > u, `expected ${d} to be greater t\
han ${u}`, `expected ${d} to be not greater than ${u}`, u, d, !1);
}), i("toBeGreaterThanOrEqual", function(u) {
let d = this._obj;
return Ot(d, "actual", ["number", "bigint"]), Ot(u, "expected", ["number", "bigint"]), this.assert(d >= u, `expected ${d} to be greater \
than or equal to ${u}`, `expected ${d} to be not greater than or equal to ${u}`, u, d, !1);
}), i("toBeLessThan", function(u) {
let d = this._obj;
return Ot(d, "actual", ["number", "bigint"]), Ot(u, "expected", ["number", "bigint"]), this.assert(d < u, `expected ${d} to be less than\
${u}`, `expected ${d} to be not less than ${u}`, u, d, !1);
}), i("toBeLessThanOrEqual", function(u) {
let d = this._obj;
return Ot(d, "actual", ["number", "bigint"]), Ot(u, "expected", ["number", "bigint"]), this.assert(d <= u, `expected ${d} to be less tha\
n or equal to ${u}`, `expected ${d} to be not less than or equal to ${u}`, u, d, !1);
}), i("toBeNaN", function() {
let u = t.flag(this, "object");
this.assert(Number.isNaN(u), "expected #{this} to be NaN", "expected #{this} not to be NaN", Number.NaN, u);
}), i("toBeUndefined", function() {
let u = t.flag(this, "object");
this.assert(u === void 0, "expected #{this} to be undefined", "expected #{this} not to be undefined", void 0, u);
}), i("toBeNull", function() {
let u = t.flag(this, "object");
this.assert(u === null, "expected #{this} to be null", "expected #{this} not to be null", null, u);
}), i("toBeDefined", function() {
let u = t.flag(this, "object");
this.assert(typeof u < "u", "expected #{this} to be defined", "expected #{this} to be undefined", u);
}), i("toBeTypeOf", function(u) {
let d = typeof this._obj, p = u === d;
return this.assert(p, "expected #{this} to be type of #{exp}", "expected #{this} not to be type of #{exp}", u, d);
}), i("toBeInstanceOf", function(u) {
return this.instanceOf(u);
}), i("toHaveLength", function(u) {
return this.have.length(u);
}), i("toHaveProperty", function(...u) {
Array.isArray(u[0]) && (u[0] = u[0].map((q) => String(q).replace(/([.[\]])/g, "\\$1")).join("."));
let d = this._obj, [p, b] = u, m = /* @__PURE__ */ o(() => Object.prototype.hasOwnProperty.call(d, p) ? {
value: d[p],
exists: !0
} : t.getPathInfo(d, p), "getValue"), { value: y, exists: h } = m(), w = h && (u.length === 1 || oe(b, y, n)), g = u.length === 1 ? "" :
` with value ${t.objDisplay(b)}`;
return this.assert(w, `expected #{this} to have property "${p}"${g}`, `expected #{this} to not have property "${p}"${g}`, b, h ? y : void 0);
}), i("toBeCloseTo", function(u, d = 2) {
let p = this._obj, b = !1, m = 0, y = 0;
return u === Number.POSITIVE_INFINITY && p === Number.POSITIVE_INFINITY || u === Number.NEGATIVE_INFINITY && p === Number.NEGATIVE_INFINITY ?
b = !0 : (m = 10 ** -d / 2, y = Math.abs(p - u), b = y < m), this.assert(b, `expected #{this} to be close to #{exp}, received difference\
is ${y}, but expected ${m}`, `expected #{this} to not be close to #{exp}, received difference is ${y}, but expected ${m}`, u, p, !1);
});
function a(u) {
if (!Wr(u._obj))
throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`);
}
o(a, "assertIsMock");
function s(u) {
return a(u), u._obj;
}
o(s, "getSpy"), i(["toHaveBeenCalledTimes", "toBeCalledTimes"], function(u) {
let d = s(this), p = d.getMockName(), b = d.mock.calls.length;
return this.assert(b === u, `expected "${p}" to be called #{exp} times, but got ${b} times`, `expected "${p}" to not be called #{exp} ti\
mes`, u, b, !1);
}), i("toHaveBeenCalledOnce", function() {
let u = s(this), d = u.getMockName(), p = u.mock.calls.length;
return this.assert(p === 1, `expected "${d}" to be called once, but got ${p} times`, `expected "${d}" to not be called once`, 1, p, !1);
}), i(["toHaveBeenCalled", "toBeCalled"], function() {
let u = s(this), d = u.getMockName(), p = u.mock.calls.length, b = p > 0, m = t.flag(this, "negate"), y = t.getMessage(this, [
b,
`expected "${d}" to be called at least once`,
`expected "${d}" to not be called at all, but actually been called ${p} times`,
!0,
b
]);
if (b && m && (y = Ey(u, y)), b && m || !b && !m)
throw new r(y);
});
function l(u, d) {
return u.length === d.length && u.every((p, b) => oe(p, d[b], [...n, vt]));
}
o(l, "equalsArgumentArray"), i(["toHaveBeenCalledWith", "toBeCalledWith"], function(...u) {
let d = s(this), p = d.getMockName(), b = d.mock.calls.some((h) => l(h, u)), m = t.flag(this, "negate"), y = t.getMessage(this, [
b,
`expected "${p}" to be called with arguments: #{exp}`,
`expected "${p}" to not be called with arguments: #{exp}`,
u
]);
if (b && m || !b && !m)
throw new r(Ey(d, y, u));
}), i("toHaveBeenCalledExactlyOnceWith", function(...u) {
let d = s(this), p = d.getMockName(), b = d.mock.calls.length, y = d.mock.calls.some((g) => l(g, u)) && b === 1, h = t.flag(this, "negat\
e"), w = t.getMessage(this, [
y,
`expected "${p}" to be called once with arguments: #{exp}`,
`expected "${p}" to not be called once with arguments: #{exp}`,
u
]);
if (y && h || !y && !h)
throw new r(Ey(d, w, u));
}), i(["toHaveBeenNthCalledWith", "nthCalledWith"], function(u, ...d) {
let p = s(this), b = p.getMockName(), m = p.mock.calls[u - 1], y = p.mock.calls.length, h = u <= y;
this.assert(m && l(m, d), `expected ${ko(u)} "${b}" call to have been called with #{exp}${h ? "" : `, but called only ${y} times`}`, `ex\
pected ${ko(u)} "${b}" call to not have been called with #{exp}`, d, m, h);
}), i(["toHaveBeenLastCalledWith", "lastCalledWith"], function(...u) {
let d = s(this), p = d.getMockName(), b = d.mock.calls[d.mock.calls.length - 1];
this.assert(b && l(b, u), `expected last "${p}" call to have been called with #{exp}`, `expected last "${p}" call to not have been calle\
d with #{exp}`, u, b);
});
function c(u, d, p) {
let b = u.mock.invocationCallOrder, m = d.mock.invocationCallOrder;
return b.length === 0 ? !p : m.length === 0 ? !1 : b[0] < m[0];
}
o(c, "isSpyCalledBeforeAnotherSpy"), i(["toHaveBeenCalledBefore"], function(u, d = !0) {
let p = s(this);
if (!Wr(u))
throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);
this.assert(c(p, u, d), `expected "${p.getMockName()}" to have been called before "${u.getMockName()}"`, `expected "${p.getMockName()}" \
to not have been called before "${u.getMockName()}"`, u, p);
}), i(["toHaveBeenCalledAfter"], function(u, d = !0) {
let p = s(this);
if (!Wr(u))
throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);
this.assert(c(u, p, d), `expected "${p.getMockName()}" to have been called after "${u.getMockName()}"`, `expected "${p.getMockName()}" t\
o not have been called after "${u.getMockName()}"`, u, p);
}), i(["toThrow", "toThrowError"], function(u) {
if (typeof u == "string" || typeof u > "u" || u instanceof RegExp)
return this.throws(u === "" ? /^$/ : u);
let d = this._obj, p = t.flag(this, "promise"), b = t.flag(this, "negate"), m = null;
if (p === "rejects")
m = d;
else if (p === "resolves" && typeof d != "function") {
if (b)
return;
{
let y = t.flag(this, "message") || "expected promise to throw an error, but it didn't", h = { showDiff: !1 };
throw new r(y, h, t.flag(this, "ssfi"));
}
} else {
let y = !1;
try {
d();
} catch (h) {
y = !0, m = h;
}
if (!y && !b) {
let h = t.flag(this, "message") || "expected function to throw an error, but it didn't", w = { showDiff: !1 };
throw new r(h, w, t.flag(this, "ssfi"));
}
}
if (typeof u == "function") {
let y = u.name || u.prototype.constructor.name;
return this.assert(m && m instanceof u, `expected error to be instance of ${y}`, `expected error not to be instance of ${y}`, u, m);
}
if (u instanceof Error) {
let y = oe(m, u, [...n, vt]);
return this.assert(y, "expected a thrown error to be #{exp}", "expected a thrown error not to be #{exp}", u, m);
}
if (typeof u == "object" && "asymmetricMatch" in u && typeof u.asymmetricMatch == "function") {
let y = u;
return this.assert(m && y.asymmetricMatch(m), "expected error to match asymmetric matcher", "expected error not to match asymmetric ma\
tcher", y, m);
}
throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`);
}), [{
name: "toHaveResolved",
condition: /* @__PURE__ */ o((u) => u.mock.settledResults.length > 0 && u.mock.settledResults.some(({ type: d }) => d === "fulfilled"), "\
condition"),
action: "resolved"
}, {
name: ["toHaveReturned", "toReturn"],
condition: /* @__PURE__ */ o((u) => u.mock.calls.length > 0 && u.mock.results.some(({ type: d }) => d !== "throw"), "condition"),
action: "called"
}].forEach(({ name: u, condition: d, action: p }) => {
i(u, function() {
let b = s(this), m = b.getMockName(), y = d(b);
this.assert(y, `expected "${m}" to be successfully ${p} at least once`, `expected "${m}" to not be successfully ${p}`, y, !y, !1);
});
}), [{
name: "toHaveResolvedTimes",
condition: /* @__PURE__ */ o((u, d) => u.mock.settledResults.reduce((p, { type: b }) => b === "fulfilled" ? ++p : p, 0) === d, "conditio\
n"),
action: "resolved"
}, {
name: ["toHaveReturnedTimes", "toReturnTimes"],
condition: /* @__PURE__ */ o((u, d) => u.mock.results.reduce((p, { type: b }) => b === "throw" ? p : ++p, 0) === d, "condition"),
action: "called"
}].forEach(({ name: u, condition: d, action: p }) => {
i(u, function(b) {
let m = s(this), y = m.getMockName(), h = d(m, b);
this.assert(h, `expected "${y}" to be successfully ${p} ${b} times`, `expected "${y}" to not be successfully ${p} ${b} times`, `expect\
ed resolved times: ${b}`, `received resolved times: ${h}`, !1);
});
}), [{
name: "toHaveResolvedWith",
condition: /* @__PURE__ */ o((u, d) => u.mock.settledResults.some(({ type: p, value: b }) => p === "fulfilled" && oe(d, b)), "condition"),
action: "resolve"
}, {
name: ["toHaveReturnedWith", "toReturnWith"],
condition: /* @__PURE__ */ o((u, d) => u.mock.results.some(({ type: p, value: b }) => p === "return" && oe(d, b)), "condition"),
action: "return"
}].forEach(({ name: u, condition: d, action: p }) => {
i(u, function(b) {
let m = s(this), y = d(m, b), h = t.flag(this, "negate");
if (y && h || !y && !h) {
let w = m.getMockName(), g = t.getMessage(this, [
y,
`expected "${w}" to ${p} with: #{exp} at least once`,
`expected "${w}" to not ${p} with: #{exp}`,
b
]), q = p === "return" ? m.mock.results : m.mock.settledResults;
throw new r(S7(m, q, g, b));
}
});
}), [{
name: "toHaveLastResolvedWith",
condition: /* @__PURE__ */ o((u, d) => {
let p = u.mock.settledResults[u.mock.settledResults.length - 1];
return p && p.type === "fulfilled" && oe(p.value, d);
}, "condition"),
action: "resolve"
}, {
name: ["toHaveLastReturnedWith", "lastReturnedWith"],
condition: /* @__PURE__ */ o((u, d) => {
let p = u.mock.results[u.mock.results.length - 1];
return p && p.type === "return" && oe(p.value, d);
}, "condition"),
action: "return"
}].forEach(({ name: u, condition: d, action: p }) => {
i(u, function(b) {
let m = s(this), y = p === "return" ? m.mock.results : m.mock.settledResults, h = y[y.length - 1], w = m.getMockName();
this.assert(d(m, b), `expected last "${w}" call to ${p} #{exp}`, `expected last "${w}" call to not ${p} #{exp}`, b, h?.value);
});
}), [{
name: "toHaveNthResolvedWith",
condition: /* @__PURE__ */ o((u, d, p) => {
let b = u.mock.settledResults[d - 1];
return b && b.type === "fulfilled" && oe(b.value, p);
}, "condition"),
action: "resolve"
}, {
name: ["toHaveNthReturnedWith", "nthReturnedWith"],
condition: /* @__PURE__ */ o((u, d, p) => {
let b = u.mock.results[d - 1];
return b && b.type === "return" && oe(b.value, p);
}, "condition"),
action: "return"
}].forEach(({ name: u, condition: d, action: p }) => {
i(u, function(b, m) {
let y = s(this), h = y.getMockName(), g = (p === "return" ? y.mock.results : y.mock.settledResults)[b - 1], q = `${ko(b)} call`;
this.assert(d(y, b, m), `expected ${q} "${h}" call to ${p} #{exp}`, `expected ${q} "${h}" call to not ${p} #{exp}`, m, g?.value);
});
}), i("withContext", function(u) {
for (let d in u)
t.flag(this, d, u[d]);
return this;
}), t.addProperty(e.Assertion.prototype, "resolves", /* @__PURE__ */ o(function() {
let d = new Error("resolves");
t.flag(this, "promise", "resolves"), t.flag(this, "error", d);
let p = t.flag(this, "vitest-test"), b = t.flag(this, "object");
if (t.flag(this, "poll"))
throw new SyntaxError("expect.poll() is not supported in combination with .resolves");
if (typeof b?.then != "function")
throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof b}'.`);
let m = new Proxy(this, { get: /* @__PURE__ */ o((y, h, w) => {
let g = Reflect.get(y, h, w);
return typeof g != "function" ? g instanceof e.Assertion ? m : g : (...q) => {
t.flag(this, "_name", h);
let P = b.then((_) => (t.flag(this, "object", _), g.call(this, ...q)), (_) => {
let C = new r(`promise rejected "${t.inspect(_)}" instead of resolving`, { showDiff: !1 });
throw C.cause = _, C.stack = d.stack.replace(d.message, C.message), C;
});
return ES(p, P, vS(t, this, !!q.length), d);
};
}, "get") });
return m;
}, "__VITEST_RESOLVES__")), t.addProperty(e.Assertion.prototype, "rejects", /* @__PURE__ */ o(function() {
let d = new Error("rejects");
t.flag(this, "promise", "rejects"), t.flag(this, "error", d);
let p = t.flag(this, "vitest-test"), b = t.flag(this, "object"), m = typeof b == "function" ? b() : b;
if (t.flag(this, "poll"))
throw new SyntaxError("expect.poll() is not supported in combination with .rejects");
if (typeof m?.then != "function")
throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);
let y = new Proxy(this, { get: /* @__PURE__ */ o((h, w, g) => {
let q = Reflect.get(h, w, g);
return typeof q != "function" ? q instanceof e.Assertion ? y : q : (...P) => {
t.flag(this, "_name", w);
let _ = m.then((C) => {
let O = new r(`promise resolved "${t.inspect(C)}" instead of rejecting`, {
showDiff: !0,
expected: new Error("rejected promise"),
actual: C
});
throw O.stack = d.stack.replace(d.message, O.message), O;
}, (C) => (t.flag(this, "object", C), q.call(this, ...P)));
return ES(p, _, vS(t, this, !!P.length), d);
};
}, "get") });
return y;
}, "__VITEST_REJECTS__"));
}, "JestChaiExpect");
function ko(e) {
let t = e % 10, r = e % 100;
return t === 1 && r !== 11 ? `${e}st` : t === 2 && r !== 12 ? `${e}nd` : t === 3 && r !== 13 ? `${e}rd` : `${e}th`;
}
o(ko, "ordinalOf");
function Ey(e, t, r) {
return e.mock.calls.length && (t += be.gray(`
Received:
${e.mock.calls.map((n, i) => {
let a = be.bold(` ${ko(i + 1)} ${e.getMockName()} call:
`);
return r ? a += zr(r, n, { omitAnnotationLines: !0 }) : a += De(n).split(`
`).map((s) => ` ${s}`).join(`
`), a += `
`, a;
}).join(`
`)}`)), t += be.gray(`
Number of calls: ${be.bold(e.mock.calls.length)}
`), t;
}
o(Ey, "formatCalls");
function S7(e, t, r, n) {
return t.length && (r += be.gray(`
Received:
${t.map((i, a) => {
let s = be.bold(` ${ko(a + 1)} ${e.getMockName()} call return:
`);
return n ? s += zr(n, i.value, { omitAnnotationLines: !0 }) : s += De(i).split(`
`).map((l) => ` ${l}`).join(`
`), s += `
`, s;
}).join(`
`)}`)), r += be.gray(`
Number of calls: ${be.bold(e.mock.calls.length)}
`), r;
}
o(S7, "formatReturns");
function M7(e, t) {
let r = e._obj, n = ft.flag(e, "negate"), i = ft.flag(e, "promise") || "", a = {
...qS(),
diff: zr,
stringify: De,
iterableEquality: vt,
subsetEquality: Uo
};
return {
state: {
...Vo(t),
customTesters: xy(),
isNot: n,
utils: a,
promise: i,
equals: oe,
suppressedErrors: [],
soft: ft.flag(e, "soft"),
poll: ft.flag(e, "poll")
},
isNot: n,
obj: r
};
}
o(M7, "getMatcherState");
var Qu = class extends Error {
static {
o(this, "JestExtendError");
}
constructor(t, r, n) {
super(t), this.actual = r, this.expected = n;
}
};
function A7(e, t, r) {
return (n, i) => {
Object.entries(r).forEach(([a, s]) => {
function l(...p) {
let { state: b, isNot: m, obj: y } = M7(this, t), h = s.call(b, y, ...p);
if (h && typeof h == "object" && typeof h.then == "function")
return h.then(({ pass: C, message: O, actual: T, expected: M }) => {
if (C && m || !C && !m)
throw new Qu(O(), T, M);
});
let { pass: w, message: g, actual: q, expected: P } = h;
if (w && m || !w && !m)
throw new Qu(g(), q, P);
}
o(l, "expectWrapper");
let c = SS(i, a, l);
i.addMethod(globalThis[Ho].matchers, a, c), i.addMethod(e.Assertion.prototype, a, c);
class u extends Mt {
static {
o(this, "CustomMatcher");
}
constructor(b = !1, ...m) {
super(m, b);
}
asymmetricMatch(b) {
let { pass: m } = s.call(this.getMatcherContext(t), b, ...this.sample);
return this.inverse ? !m : m;
}
toString() {
return `${this.inverse ? "not." : ""}${a}`;
}
getExpectedType() {
return "any";
}
toAsymmetricMatcher() {
return `${this.toString()}<${this.sample.map((b) => De(b)).join(", ")}>`;
}
}
let d = /* @__PURE__ */ o((...p) => new u(!1, ...p), "customMatcher");
Object.defineProperty(t, a, {
configurable: !0,
enumerable: !0,
value: d,
writable: !0
}), Object.defineProperty(t.not, a, {
configurable: !0,
enumerable: !0,
value: /* @__PURE__ */ o((...p) => new u(!0, ...p), "value"),
writable: !0
}), Object.defineProperty(globalThis[wy], a, {
configurable: !0,
enumerable: !0,
value: d,
writable: !0
});
});
};
}
o(A7, "JestExtendPlugin");
var AS = /* @__PURE__ */ o((e, t) => {
t.addMethod(e.expect, "extend", (r, n) => {
or(A7(e, r, n));
});
}, "JestExtend");
// src/test/expect.ts
function N7() {
or(AS), or(MS), or(OS);
let e = /* @__PURE__ */ o((n, i) => {
let { assertionCalls: a } = Vo(e);
return rc({ assertionCalls: a + 1, soft: !1 }, e), nr(n, i);
}, "expect");
Object.assign(e, nr), e.getState = () => Vo(e), e.setState = (n) => rc(n, e), e.extend = (n) => nr.extend(e, n), e.soft = (...n) => {
let i = e(...n);
return e.setState({
soft: !0
}), i;
}, e.extend(_S), e.unreachable = (n) => {
v.fail(`expected${n ? ` "${n}" ` : " "}not to be reached`);
};
function t(n) {
let i = /* @__PURE__ */ o(() => new Error(
`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`
), "errorGen");
"captureStackTrace" in Error && typeof Error.captureStackTrace == "function" && Error.captureStackTrace(i(), t), e.setState({
expectedAssertionsNumber: n,
expectedAssertionsNumberErrorGen: i
});
}
o(t, "assertions");
function r() {
let n = new Error("expected any number of assertion, but got none");
"captureStackTrace" in Error && typeof Error.captureStackTrace == "function" && Error.captureStackTrace(n, r), e.setState({
isExpectingAssertions: !0,
isExpectingAssertionsError: n
});
}
return o(r, "hasAssertions"), rc(
{
// this should also add "snapshotState" that is added conditionally
assertionCalls: 0,
isExpectingAssertions: !1,
isExpectingAssertionsError: null,
expectedAssertionsNumber: null,
expectedAssertionsNumberErrorGen: null
},
e
), ft.addMethod(e, "assertions", t), ft.addMethod(e, "hasAssertions", r), e.extend(I7), e;
}
o(N7, "createExpect");
var Ty = N7();
Object.defineProperty(globalThis, Zu, {
value: Ty,
writable: !0,
configurable: !0
});
// ../node_modules/tinyspy/dist/index.js
function j7(e, t, r) {
Object.defineProperty(e, t, r);
}
o(j7, "f");
var nc = Symbol.for("tinyspy:spy");
var $7 = /* @__PURE__ */ o((e) => {
e.called = !1, e.callCount = 0, e.calls = [], e.results = [], e.resolves = [], e.next = [];
}, "P"), L7 = /* @__PURE__ */ o((e) => (j7(e, nc, { value: { reset: /* @__PURE__ */ o(() => $7(e[nc]), "reset") } }), e[nc]), "K"), IS = /* @__PURE__ */ o(
(e) => e[nc] || L7(e), "T");
// src/test/spy.ts
var Oy = /* @__PURE__ */ new Set();
function B7(e) {
return Oy.add(e), () => void Oy.delete(e);
}
o(B7, "onMockCall");
var k7 = /* @__PURE__ */ o((...e) => {
let t = cS(...e);
return jS(t);
}, "spyOn");
function F7(e) {
let t = e ? yy(e) : yy();
return jS(t);
}
o(F7, "fn");
function jS(e) {
let t = NS(e), r = t.mockImplementation.bind(null);
return t.mockImplementation = (n) => NS(r(n)), t;
}
o(jS, "reactiveMock");
function NS(e) {
let t = IS(e), r = t.impl;
return t.willCall(function(...n) {
return Oy.forEach((i) => i(e, n)), r?.apply(this, n);
}), e;
}
o(NS, "listenWhenCalled");
function H7() {
In.forEach((e) => e.mockClear());
}
o(H7, "clearAllMocks");
function U7() {
In.forEach((e) => e.mockReset());
}
o(U7, "resetAllMocks");
function V7() {
In.forEach((e) => e.mockRestore());
}
o(V7, "restoreAllMocks");
function z7(e, t = {}) {
return e;
}
o(z7, "mocked");
// src/test/testing-library.ts
var yme = Li(Ft(), 1), PE = Li(oB(), 1), sB = require("storybook/internal/client-logger"), xE = require("storybook/internal/instrumenter"), lB = Li(aB(), 1);
var qE = (0, xE.instrument)(
{ ...yme },
{
intercept: /* @__PURE__ */ o((e, t) => t[0] === "fireEvent" || e.startsWith("find") || e.startsWith("waitFor"), "intercept")
}
);
qE.screen = new Proxy(qE.screen, {
get(e, t, r) {
return sB.once.warn(lB.default`
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
More info: https://storybook.js.org/docs/essentials/interactions
`), Reflect.get(e, t, r);
}
});
var {
buildQueries: gme,
configure: vme,
createEvent: Eme,
fireEvent: wme,
findAllByAltText: _me,
findAllByDisplayValue: Cme,
findAllByLabelText: qme,
findAllByPlaceholderText: Pme,
findAllByRole: xme,
findAllByTestId: Rme,
findAllByText: Tme,
findAllByTitle: Ome,
findByAltText: Sme,
findByDisplayValue: Mme,
findByLabelText: Ame,
findByPlaceholderText: Ime,
findByRole: Nme,
findByTestId: jme,
findByText: $me,
findByTitle: Lme,
getAllByAltText: Dme,
getAllByDisplayValue: Bme,
getAllByLabelText: kme,
getAllByPlaceholderText: Fme,
getAllByRole: Hme,
getAllByTestId: Ume,
getAllByText: Vme,
getAllByTitle: zme,
getByAltText: Wme,
getByDisplayValue: Gme,
getByLabelText: Kme,
getByPlaceholderText: Yme,
getByRole: Xme,
getByTestId: Jme,
getByText: Qme,
getByTitle: Zme,
getConfig: ehe,
getDefaultNormalizer: the,
getElementError: rhe,
getNodeText: nhe,
getQueriesForElement: ohe,
getRoles: ihe,
getSuggestedQuery: ahe,
isInaccessible: she,
logDOM: lhe,
logRoles: uhe,
prettyDOM: che,
queries: dhe,
queryAllByAltText: fhe,
queryAllByAttribute: phe,
queryAllByDisplayValue: mhe,
queryAllByLabelText: hhe,
queryAllByPlaceholderText: bhe,
queryAllByRole: yhe,
queryAllByTestId: ghe,
queryAllByText: vhe,
queryAllByTitle: Ehe,
queryByAltText: whe,
queryByAttribute: _he,
queryByDisplayValue: Che,
queryByLabelText: qhe,
queryByPlaceholderText: Phe,
queryByRole: xhe,
queryByTestId: Rhe,
queryByText: The,
queryByTitle: Ohe,
queryHelpers: She,
screen: Mhe,
waitFor: Ahe,
waitForElementToBeRemoved: Ihe,
within: Nhe,
prettyFormat: jhe
} = qE, $he = PE.userEvent, { userEvent: Lhe } = (0, xE.instrument)(
{ userEvent: PE.userEvent },
{ intercept: !0 }
);
// src/test/index.ts
var { expect: Dhe } = (0, uB.instrument)(
{ expect: Ty },
{
getKeys: /* @__PURE__ */ o((e, t) => {
if ("constructor" in e && e.constructor === E) {
let r = ["assert", "__methods", "__flags", "_obj"], n = Object.keys(Object.getPrototypeOf(e)).filter(
(i) => !r.includes(i)
);
return t > 2 ? n : [...n, "not"];
}
return "any" in e ? Object.keys(e).filter((r) => r !== "any") : Object.keys(e);
}, "getKeys"),
mutate: !0,
intercept: /* @__PURE__ */ o((e) => e !== "expect", "intercept")
}
);