@testspectra/react 1.1.8-rc.25 → 1.1.8-rc.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/setup.js CHANGED
@@ -1,1417 +1,115 @@
1
- // src/prelude.ts
2
- var DEFAULT_IMPLICIT_WAIT_MS = 5e3;
3
- function emitEvent(tag, payload) {
4
- if (!__TESTSPECTRA_SEMANTIC_REPORTER__) return;
5
- console.log(`[${tag}] ${payload}`);
6
- }
7
- function getImplicitWaitMs() {
8
- return DEFAULT_IMPLICIT_WAIT_MS;
9
- }
10
- function getAssertionTimeoutMs() {
11
- return Math.min(getImplicitWaitMs(), 2e3);
12
- }
13
- async function trackStep(_category, payloadObj, fn) {
14
- const currentTest = globalThis.__CURRENT_TEST_TITLE__;
15
- if (currentTest && !payloadObj.test) payloadObj.test = currentTest;
16
- const payload = JSON.stringify(payloadObj);
17
- emitEvent("TESTSPECTRA_STEP_START", payload);
18
- const start = Date.now();
19
- try {
20
- const res = await fn();
21
- const duration = Date.now() - start;
22
- emitEvent("TESTSPECTRA_STEP_PASS", `${payload} (${duration}ms)`);
23
- const delay = __TESTSPECTRA_STEP_DELAY_MS__ || 0;
24
- if (delay > 0) {
25
- await new Promise((r) => setTimeout(r, delay));
26
- }
27
- return res;
28
- } catch (err) {
29
- const duration = Date.now() - start;
30
- emitEvent("TESTSPECTRA_STEP_FAIL", `${payload} (${duration}ms)`);
31
- throw err;
32
- }
33
- }
34
- async function pollCondition(fn, timeoutMs, intervalMs = 15) {
35
- const effectiveTimeout = timeoutMs ?? getImplicitWaitMs();
36
- const start = Date.now();
37
- while (Date.now() - start < effectiveTimeout) {
38
- try {
39
- if (await fn()) return true;
40
- } catch {
41
- }
42
- await new Promise((r) => setTimeout(r, intervalMs));
43
- }
44
- try {
45
- return await fn();
46
- } catch {
47
- return false;
48
- }
49
- }
50
- function matchesUrlPattern(pattern, url) {
51
- if (!pattern || pattern === "*" || pattern === "**" || pattern === "ALL") return true;
52
- if (pattern.startsWith("/") && pattern.endsWith("/")) {
53
- try {
54
- return new RegExp(pattern.slice(1, -1)).test(url);
55
- } catch {
56
- }
57
- }
58
- if (pattern.includes("*")) {
59
- const escaped = pattern.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*");
60
- try {
61
- return new RegExp(escaped, "i").test(url);
62
- } catch {
63
- }
64
- }
65
- return url.toLowerCase().includes(pattern.toLowerCase());
66
- }
67
- function createMockHandle(rule) {
68
- const handle = {
69
- respondWith: async () => {
70
- throw new Error("Spectra.intercept() is not supported in component testing mode.");
71
- },
72
- respondOnce: async () => {
73
- throw new Error("Spectra.intercept() is not supported in component testing mode.");
74
- },
75
- abort: async () => {
76
- throw new Error("Spectra.intercept() is not supported in component testing mode.");
77
- },
78
- waitForCall: async () => {
79
- throw new Error("Spectra.intercept() is not supported in component testing mode.");
80
- }
81
- };
82
- handle.callCount = Object.assign(() => rule.callCount, {
83
- valueOf: () => rule.callCount,
84
- [Symbol.toPrimitive]: () => rule.callCount
85
- });
86
- Object.defineProperty(handle, "calls", { get: () => rule.calls, enumerable: true });
87
- return handle;
88
- }
89
- function parseMockRule() {
90
- return {
91
- pattern: "*",
92
- method: "GET",
93
- response: void 0,
94
- statusCode: 200,
95
- callCount: 0,
96
- respondOnceQueue: [],
97
- calls: [],
98
- waitResolvers: []
99
- };
100
- }
101
- globalThis.__TS_RUNTIME__ = {
102
- config: {
103
- rootDir: "",
104
- activePlatform: "web",
105
- configuredBaseUrl: "",
106
- cdpWsUrl: "",
107
- driverServerUrl: ""
108
- },
109
- activeDriver: null,
110
- mobileMockRules: [],
111
- lastFocusedSelector: null,
112
- emitEvent,
113
- trackStep,
114
- pollCondition,
115
- getImplicitWaitMs,
116
- getAssertionTimeoutMs,
117
- matchesUrlPattern,
118
- createMockHandle,
119
- parseMockRule,
120
- beforeHook: null,
121
- afterHook: null,
122
- beforeEachHook: null,
123
- afterEachHook: null,
124
- suiteBeforeEachHooks: {},
125
- suiteAfterEachHooks: {}
126
- };
1
+ var RC=Object.create;var Xc=Object.defineProperty;var xC=Object.getOwnPropertyDescriptor;var kC=Object.getOwnPropertyNames;var MC=Object.getPrototypeOf,qC=Object.prototype.hasOwnProperty;var y=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},OC=(e,t)=>{for(var r in t)Xc(e,r,{get:t[r],enumerable:!0})},IC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of kC(t))!qC.call(e,o)&&o!==r&&Xc(e,o,{get:()=>t[o],enumerable:!(n=xC(t,o))||n.enumerable});return e};var Ui=(e,t,r)=>(r=e!=null?RC(MC(e)):{},IC(t||!e||!e.__esModule?Xc(r,"default",{value:e,enumerable:!0}):r,e));var id=y((PB,nv)=>{"use strict";var tv=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,rv=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function rS(){let e=new Map,t={modifier:{reset:[0,0],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],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],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[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[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=tv(),t.color.ansi16m=rv(),t.bgColor.ansi256=tv(10),t.bgColor.ansi16m=rv(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,o)=>r===n&&n===o?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(o/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:o}=n.groups;o.length===3&&(o=o.split("").map(l=>l+l).join(""));let i=Number.parseInt(o,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1}}),t}Object.defineProperty(nv,"exports",{enumerable:!0,get:rS})});var lo=y(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.printIteratorEntries=oS;fn.printIteratorValues=iS;fn.printListItems=lS;fn.printObjectProperties=aS;var nS=(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};function oS(e,t,r,n,o,i,l=": "){let a="",s=e.next();if(!s.done){a+=t.spacingOuter;let u=r+t.indent;for(;!s.done;){let f=i(s.value[0],t,u,n,o),m=i(s.value[1],t,u,n,o);a+=u+f+l+m,s=e.next(),s.done?t.min||(a+=","):a+=","+t.spacingInner}a+=t.spacingOuter+r}return a}function iS(e,t,r,n,o,i){let l="",a=e.next();if(!a.done){l+=t.spacingOuter;let s=r+t.indent;for(;!a.done;)l+=s+i(a.value,t,s,n,o),a=e.next(),a.done?t.min||(l+=","):l+=","+t.spacingInner;l+=t.spacingOuter+r}return l}function lS(e,t,r,n,o,i){let l="";if(e.length){l+=t.spacingOuter;let a=r+t.indent;for(let s=0;s<e.length;s++)l+=a,s in e&&(l+=i(e[s],t,a,n,o)),s<e.length-1?l+=","+t.spacingInner:t.min||(l+=",");l+=t.spacingOuter+r}return l}function aS(e,t,r,n,o,i){let l="",a=nS(e,t.compareKeys);if(a.length){l+=t.spacingOuter;let s=r+t.indent;for(let u=0;u<a.length;u++){let f=a[u],m=i(f,t,s,n,o),v=i(e[f],t,s,n,o);l+=s+m+": "+v,u<a.length-1?l+=","+t.spacingInner:t.min||(l+=",")}l+=t.spacingOuter+r}return l}});var av=y(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.test=Xt.serialize=Xt.default=void 0;var ov=lo(),Wi=(function(){return typeof globalThis<"u"?globalThis:typeof Wi<"u"?Wi:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),ld=Wi["jest-symbol-do-not-touch"]||Wi.Symbol,sS=typeof ld=="function"&&ld.for?ld.for("jest.asymmetricMatcher"):1267621,Vi=" ",iv=(e,t,r,n,o,i)=>{let l=e.toString();return l==="ArrayContaining"||l==="ArrayNotContaining"?++n>t.maxDepth?"["+l+"]":l+Vi+"["+(0,ov.printListItems)(e.sample,t,r,n,o,i)+"]":l==="ObjectContaining"||l==="ObjectNotContaining"?++n>t.maxDepth?"["+l+"]":l+Vi+"{"+(0,ov.printObjectProperties)(e.sample,t,r,n,o,i)+"}":l==="StringMatching"||l==="StringNotMatching"||l==="StringContaining"||l==="StringNotContaining"?l+Vi+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Xt.serialize=iv;var lv=e=>e&&e.$$typeof===sS;Xt.test=lv;var uS={serialize:iv,test:lv},cS=uS;Xt.default=cS});var uv=y((kB,sv)=>{"use strict";sv.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")}});var mv=y(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.test=Yt.serialize=Yt.default=void 0;var cv=dv(uv()),H=dv(id());function dv(e){return e&&e.__esModule?e:{default:e}}var dS=e=>e.replace((0,cv.default)(),t=>{switch(t){case H.default.red.close:case H.default.green.close:case H.default.cyan.close:case H.default.gray.close:case H.default.white.close:case H.default.yellow.close:case H.default.bgRed.close:case H.default.bgGreen.close:case H.default.bgYellow.close:case H.default.inverse.close:case H.default.dim.close:case H.default.bold.close:case H.default.reset.open:case H.default.reset.close:return"</>";case H.default.red.open:return"<red>";case H.default.green.open:return"<green>";case H.default.cyan.open:return"<cyan>";case H.default.gray.open:return"<gray>";case H.default.white.open:return"<white>";case H.default.yellow.open:return"<yellow>";case H.default.bgRed.open:return"<bgRed>";case H.default.bgGreen.open:return"<bgGreen>";case H.default.bgYellow.open:return"<bgYellow>";case H.default.inverse.open:return"<inverse>";case H.default.dim.open:return"<dim>";case H.default.bold.open:return"<bold>";default:return""}}),fv=e=>typeof e=="string"&&!!e.match((0,cv.default)());Yt.test=fv;var pv=(e,t,r,n,o,i)=>i(dS(e),t,r,n,o);Yt.serialize=pv;var fS={serialize:pv,test:fv},pS=fS;Yt.default=pS});var bv=y(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.test=Jt.serialize=Jt.default=void 0;var vv=lo(),mS=" ",hv=["DOMStringMap","NamedNodeMap"],vS=/^(HTML\w*Collection|NodeList)$/,hS=e=>hv.indexOf(e)!==-1||vS.test(e),yv=e=>e&&e.constructor&&!!e.constructor.name&&hS(e.constructor.name);Jt.test=yv;var yS=e=>e.constructor.name==="NamedNodeMap",gv=(e,t,r,n,o,i)=>{let l=e.constructor.name;return++n>t.maxDepth?"["+l+"]":(t.min?"":l+mS)+(hv.indexOf(l)!==-1?"{"+(0,vv.printObjectProperties)(yS(e)?Array.from(e).reduce((a,s)=>(a[s.name]=s.value,a),{}):{...e},t,r,n,o,i)+"}":"["+(0,vv.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Jt.serialize=gv;var gS={serialize:gv,test:yv},bS=gS;Jt.default=bS});var _v=y(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.default=_S;function _S(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var Ki=y(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.printText=Ne.printProps=Ne.printElementAsLeaf=Ne.printElement=Ne.printComment=Ne.printChildren=void 0;var Ev=ES(_v());function ES(e){return e&&e.__esModule?e:{default:e}}var wS=(e,t,r,n,o,i,l)=>{let a=n+r.indent,s=r.colors;return e.map(u=>{let f=t[u],m=l(f,r,a,o,i);return typeof f!="string"&&(m.indexOf(`
2
+ `)!==-1&&(m=r.spacingOuter+a+m+r.spacingOuter+n),m="{"+m+"}"),r.spacingInner+n+s.prop.open+u+s.prop.close+"="+s.value.open+m+s.value.close}).join("")};Ne.printProps=wS;var TS=(e,t,r,n,o,i)=>e.map(l=>t.spacingOuter+r+(typeof l=="string"?wv(l,t):i(l,t,r,n,o))).join("");Ne.printChildren=TS;var wv=(e,t)=>{let r=t.colors.content;return r.open+(0,Ev.default)(e)+r.close};Ne.printText=wv;var CS=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Ev.default)(e)+"-->"+r.close};Ne.printComment=CS;var SS=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close};Ne.printElement=SS;var PS=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};Ne.printElementAsLeaf=PS});var xv=y(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.test=Zt.serialize=Zt.default=void 0;var pn=Ki(),RS=1,Tv=3,Cv=8,Sv=11,xS=/^((HTML|SVG)\w*)?Element$/,kS=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},MS=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||kS(e);return r===RS&&(xS.test(t)||o)||r===Tv&&t==="Text"||r===Cv&&t==="Comment"||r===Sv&&t==="DocumentFragment"},Pv=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&MS(e)};Zt.test=Pv;function qS(e){return e.nodeType===Tv}function OS(e){return e.nodeType===Cv}function sd(e){return e.nodeType===Sv}var Rv=(e,t,r,n,o,i)=>{if(qS(e))return(0,pn.printText)(e.data,t);if(OS(e))return(0,pn.printComment)(e.data,t);let l=sd(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,pn.printElementAsLeaf)(l,t):(0,pn.printElement)(l,(0,pn.printProps)(sd(e)?[]:Array.from(e.attributes).map(a=>a.name).sort(),sd(e)?{}:Array.from(e.attributes).reduce((a,s)=>(a[s.name]=s.value,a),{}),t,r+t.indent,n,o,i),(0,pn.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};Zt.serialize=Rv;var IS={serialize:Rv,test:Pv},NS=IS;Zt.default=NS});var Iv=y(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.test=er.serialize=er.default=void 0;var ao=lo(),AS="@@__IMMUTABLE_ITERABLE__@@",LS="@@__IMMUTABLE_LIST__@@",US="@@__IMMUTABLE_KEYED__@@",DS="@@__IMMUTABLE_MAP__@@",kv="@@__IMMUTABLE_ORDERED__@@",FS="@@__IMMUTABLE_RECORD__@@",BS="@@__IMMUTABLE_SEQ__@@",jS="@@__IMMUTABLE_SET__@@",zS="@@__IMMUTABLE_STACK__@@",mn=e=>"Immutable."+e,Qi=e=>"["+e+"]",so=" ",Mv="\u2026",$S=(e,t,r,n,o,i,l)=>++n>t.maxDepth?Qi(mn(l)):mn(l)+so+"{"+(0,ao.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function HS(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}}}}var VS=(e,t,r,n,o,i)=>{let l=mn(e._name||"Record");return++n>t.maxDepth?Qi(l):l+so+"{"+(0,ao.printIteratorEntries)(HS(e),t,r,n,o,i)+"}"},WS=(e,t,r,n,o,i)=>{let l=mn("Seq");return++n>t.maxDepth?Qi(l):e[US]?l+so+"{"+(e._iter||e._object?(0,ao.printIteratorEntries)(e.entries(),t,r,n,o,i):Mv)+"}":l+so+"["+(e._iter||e._array||e._collection||e._iterable?(0,ao.printIteratorValues)(e.values(),t,r,n,o,i):Mv)+"]"},ud=(e,t,r,n,o,i,l)=>++n>t.maxDepth?Qi(mn(l)):mn(l)+so+"["+(0,ao.printIteratorValues)(e.values(),t,r,n,o,i)+"]",qv=(e,t,r,n,o,i)=>e[DS]?$S(e,t,r,n,o,i,e[kv]?"OrderedMap":"Map"):e[LS]?ud(e,t,r,n,o,i,"List"):e[jS]?ud(e,t,r,n,o,i,e[kv]?"OrderedSet":"Set"):e[zS]?ud(e,t,r,n,o,i,"Stack"):e[BS]?WS(e,t,r,n,o,i):VS(e,t,r,n,o,i);er.serialize=qv;var Ov=e=>e&&(e[AS]===!0||e[FS]===!0);er.test=Ov;var KS={serialize:qv,test:Ov},QS=KS;er.default=QS});var Fv=y($=>{"use strict";var Gi=60103,Xi=60106,uo=60107,co=60108,fo=60114,po=60109,mo=60110,vo=60112,ho=60113,cd=60120,yo=60115,go=60116,Nv=60121,Av=60122,Lv=60117,Uv=60129,Dv=60131;typeof Symbol=="function"&&Symbol.for&&(fe=Symbol.for,Gi=fe("react.element"),Xi=fe("react.portal"),uo=fe("react.fragment"),co=fe("react.strict_mode"),fo=fe("react.profiler"),po=fe("react.provider"),mo=fe("react.context"),vo=fe("react.forward_ref"),ho=fe("react.suspense"),cd=fe("react.suspense_list"),yo=fe("react.memo"),go=fe("react.lazy"),Nv=fe("react.block"),Av=fe("react.server.block"),Lv=fe("react.fundamental"),Uv=fe("react.debug_trace_mode"),Dv=fe("react.legacy_hidden"));var fe;function st(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Gi:switch(e=e.type,e){case uo:case fo:case co:case ho:case cd:return e;default:switch(e=e&&e.$$typeof,e){case mo:case vo:case go:case yo:case po:return e;default:return t}}case Xi:return t}}}var GS=po,XS=Gi,YS=vo,JS=uo,ZS=go,eP=yo,tP=Xi,rP=fo,nP=co,oP=ho;$.ContextConsumer=mo;$.ContextProvider=GS;$.Element=XS;$.ForwardRef=YS;$.Fragment=JS;$.Lazy=ZS;$.Memo=eP;$.Portal=tP;$.Profiler=rP;$.StrictMode=nP;$.Suspense=oP;$.isAsyncMode=function(){return!1};$.isConcurrentMode=function(){return!1};$.isContextConsumer=function(e){return st(e)===mo};$.isContextProvider=function(e){return st(e)===po};$.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gi};$.isForwardRef=function(e){return st(e)===vo};$.isFragment=function(e){return st(e)===uo};$.isLazy=function(e){return st(e)===go};$.isMemo=function(e){return st(e)===yo};$.isPortal=function(e){return st(e)===Xi};$.isProfiler=function(e){return st(e)===fo};$.isStrictMode=function(e){return st(e)===co};$.isSuspense=function(e){return st(e)===ho};$.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===uo||e===fo||e===Uv||e===co||e===ho||e===cd||e===Dv||typeof e=="object"&&e!==null&&(e.$$typeof===go||e.$$typeof===yo||e.$$typeof===po||e.$$typeof===mo||e.$$typeof===vo||e.$$typeof===Lv||e.$$typeof===Nv||e[0]===Av)};$.typeOf=st});var jv=y((UB,Bv)=>{"use strict";Bv.exports=Fv()});var Kv=y(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});tr.test=tr.serialize=tr.default=void 0;var Ir=iP(jv()),Yi=Ki();function $v(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return($v=function(n){return n?r:t})(e)}function iP(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=$v(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Hv=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Hv(r,t)}):e!=null&&e!==!1&&t.push(e),t),zv=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ir.isFragment(e))return"React.Fragment";if(Ir.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ir.isContextProvider(e))return"Context.Provider";if(Ir.isContextConsumer(e))return"Context.Consumer";if(Ir.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(Ir.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},lP=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},Vv=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Yi.printElementAsLeaf)(zv(e),t):(0,Yi.printElement)(zv(e),(0,Yi.printProps)(lP(e),e.props,t,r+t.indent,n,o,i),(0,Yi.printChildren)(Hv(e.props.children),t,r+t.indent,n,o,i),t,r);tr.serialize=Vv;var Wv=e=>e!=null&&Ir.isElement(e);tr.test=Wv;var aP={serialize:Vv,test:Wv},sP=aP;tr.default=sP});var Xv=y(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.test=rr.serialize=rr.default=void 0;var Ji=Ki(),Zi=(function(){return typeof globalThis<"u"?globalThis:typeof Zi<"u"?Zi:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),dd=Zi["jest-symbol-do-not-touch"]||Zi.Symbol,uP=typeof dd=="function"&&dd.for?dd.for("react.test.json"):245830487,cP=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Qv=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Ji.printElementAsLeaf)(e.type,t):(0,Ji.printElement)(e.type,e.props?(0,Ji.printProps)(cP(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Ji.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);rr.serialize=Qv;var Gv=e=>e&&e.$$typeof===uP;rr.test=Gv;var dP={serialize:Qv,test:Gv},fP=dP;rr.default=fP});var fh=y(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.default=Mt.DEFAULT_OPTIONS=void 0;Mt.format=dh;Mt.plugins=void 0;var pP=or(id()),bo=lo(),mP=or(av()),vP=or(mv()),hP=or(bv()),yP=or(xv()),gP=or(Iv()),bP=or(Kv()),_P=or(Xv());function or(e){return e&&e.__esModule?e:{default:e}}var rh=Object.prototype.toString,EP=Date.prototype.toISOString,wP=Error.prototype.toString,Yv=RegExp.prototype.toString,fd=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",TP=e=>typeof window<"u"&&e===window,CP=/^Symbol\((.*)\)(.*)$/,SP=/\n/gi,el=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function PP(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function RP(e){return Object.is(e,-0)?"-0":String(e)}function xP(e){return`${e}n`}function Jv(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Zv(e){return String(e).replace(CP,"Symbol($1)")}function eh(e){return"["+wP.call(e)+"]"}function nh(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return RP(e);if(o==="bigint")return xP(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return Jv(e,t);if(o==="symbol")return Zv(e);let i=rh.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Jv(e,t):i==="[object Symbol]"?Zv(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":EP.call(e):i==="[object Error]"?eh(e):i==="[object RegExp]"?r?Yv.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Yv.call(e):e instanceof Error?eh(e):null}function oh(e,t,r,n,o,i){if(o.indexOf(e)!==-1)return"[Circular]";o=o.slice(),o.push(e);let l=++n>t.maxDepth,a=t.min;if(t.callToJSON&&!l&&e.toJSON&&typeof e.toJSON=="function"&&!i)return nr(e.toJSON(),t,r,n,o,!0);let s=rh.call(e);return s==="[object Arguments]"?l?"[Arguments]":(a?"":"Arguments ")+"["+(0,bo.printListItems)(e,t,r,n,o,nr)+"]":PP(s)?l?"["+e.constructor.name+"]":(a||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,bo.printListItems)(e,t,r,n,o,nr)+"]":s==="[object Map]"?l?"[Map]":"Map {"+(0,bo.printIteratorEntries)(e.entries(),t,r,n,o,nr," => ")+"}":s==="[object Set]"?l?"[Set]":"Set {"+(0,bo.printIteratorValues)(e.values(),t,r,n,o,nr)+"}":l||TP(e)?"["+fd(e)+"]":(a||!t.printBasicPrototype&&fd(e)==="Object"?"":fd(e)+" ")+"{"+(0,bo.printObjectProperties)(e,t,r,n,o,nr)+"}"}function kP(e){return e.serialize!=null}function ih(e,t,r,n,o,i){let l;try{l=kP(e)?e.serialize(t,r,n,o,i,nr):e.print(t,a=>nr(a,r,n,o,i),a=>{let s=n+r.indent;return s+a.replace(SP,`
3
+ `+s)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(a){throw new el(a.message,a.stack)}if(typeof l!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof l}".`);return l}function lh(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new el(n.message,n.stack)}return null}function nr(e,t,r,n,o,i){let l=lh(t.plugins,e);if(l!==null)return ih(l,e,t,r,n,o);let a=nh(e,t.printFunctionName,t.escapeRegex,t.escapeString);return a!==null?a:oh(e,t,r,n,o,i)}var pd={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ah=Object.keys(pd),ut={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:pd};Mt.DEFAULT_OPTIONS=ut;function MP(e){if(Object.keys(e).forEach(t=>{if(!ut.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}".`)}}var qP=e=>ah.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:pd[r],o=n&&pP.default[n];if(o&&typeof o.close=="string"&&typeof o.open=="string")t[r]=o;else throw new Error(`pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`);return t},Object.create(null)),OP=()=>ah.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),sh=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:ut.printFunctionName,uh=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:ut.escapeRegex,ch=e=>e&&e.escapeString!==void 0?e.escapeString:ut.escapeString,th=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:ut.callToJSON,colors:e&&e.highlight?qP(e):OP(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:ut.compareKeys,escapeRegex:uh(e),escapeString:ch(e),indent:e&&e.min?"":IP(e&&e.indent!==void 0?e.indent:ut.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:ut.maxDepth,min:e&&e.min!==void 0?e.min:ut.min,plugins:e&&e.plugins!==void 0?e.plugins:ut.plugins,printBasicPrototype:(t=e?.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:sh(e),spacingInner:e&&e.min?" ":`
4
+ `,spacingOuter:e&&e.min?"":`
5
+ `}};function IP(e){return new Array(e+1).join(" ")}function dh(e,t){if(t&&(MP(t),t.plugins)){let n=lh(t.plugins,e);if(n!==null)return ih(n,e,th(t),"",0,[])}let r=nh(e,sh(t),uh(t),ch(t));return r!==null?r:oh(e,th(t),"",0,[])}var NP={AsymmetricMatcher:mP.default,ConvertAnsi:vP.default,DOMCollection:hP.default,DOMElement:yP.default,Immutable:gP.default,ReactElement:bP.default,ReactTestComponent:_P.default};Mt.plugins=NP;var AP=dh;Mt.default=AP});var Ah=y(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;function p1(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var o=e[t];return t=t+1,{done:!1,value:o}}else return{done:!0}}};return r}var m1=p1;ol.default=m1});var hn=y(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.default=y1;var v1=h1(Ah());function h1(e){return e&&e.__esModule?e:{default:e}}function vd(e){"@babel/helpers - typeof";return vd=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},vd(e)}function y1(e,t){return typeof Symbol=="function"&&vd(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:v1.default.bind(t)}),e}});var Dh=y(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var g1=b1(hn());function b1(e){return e&&e.__esModule?e:{default:e}}function yd(e,t){return w1(e)||E1(e,t)||Uh(e,t)||_1()}function _1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E1(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,l,a;try{for(r=r.call(e);!(o=(l=r.next()).done)&&(n.push(l.value),!(t&&n.length===t));o=!0);}catch(s){i=!0,a=s}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw a}}return n}}function w1(e){if(Array.isArray(e))return e}function T1(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Uh(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,l=!1,a;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){l=!0,a=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(l)throw a}}}}function Uh(e,t){if(e){if(typeof e=="string")return Lh(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 Lh(e,t)}}function Lh(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}var yn=[["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"}]],gd={entries:function(){return yn},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=T1(yn),o;try{for(n.s();!(o=n.n()).done;){var i=yd(o.value,2),l=i[0],a=i[1];t.call(r,a,l,yn)}}catch(s){n.e(s)}finally{n.f()}},get:function(t){var r=yn.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!gd.get(t)},keys:function(){return yn.map(function(t){var r=yd(t,1),n=r[0];return n})},values:function(){return yn.map(function(t){var r=yd(t,2),n=r[1];return n})}},C1=(0,g1.default)(gd,gd.entries());il.default=C1});var jh=y(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var S1=P1(hn());function P1(e){return e&&e.__esModule?e:{default:e}}function bd(e,t){return k1(e)||x1(e,t)||Bh(e,t)||R1()}function R1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x1(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,l,a;try{for(r=r.call(e);!(o=(l=r.next()).done)&&(n.push(l.value),!(t&&n.length===t));o=!0);}catch(s){i=!0,a=s}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw a}}return n}}function k1(e){if(Array.isArray(e))return e}function M1(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Bh(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
9
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,l=!1,a;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){l=!0,a=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(l)throw a}}}}function Bh(e,t){if(e){if(typeof e=="string")return Fh(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 Fh(e,t)}}function Fh(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}var gn=[["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}]],_d={entries:function(){return gn},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=M1(gn),o;try{for(n.s();!(o=n.n()).done;){var i=bd(o.value,2),l=i[0],a=i[1];t.call(r,a,l,gn)}}catch(s){n.e(s)}finally{n.f()}},get:function(t){var r=gn.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!_d.get(t)},keys:function(){return gn.map(function(t){var r=bd(t,1),n=r[0];return n})},values:function(){return gn.map(function(t){var r=bd(t,2),n=r[1];return n})}},q1=(0,S1.default)(_d,_d.entries());ll.default=q1});var zh=y(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var O1={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},I1=O1;al.default=I1});var $h=y(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var N1={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"]]},A1=N1;sl.default=A1});var Hh=y(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var L1={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"]]},U1=L1;ul.default=U1});var Vh=y(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var D1={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},F1=D1;cl.default=F1});var Wh=y(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var B1={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"]]},j1=B1;dl.default=j1});var Kh=y(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var z1={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:[]},$1=z1;fl.default=$1});var Qh=y(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var H1={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"]]},V1=H1;pl.default=V1});var Gh=y(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var W1={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},K1=W1;ml.default=K1});var Xh=y(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var Q1={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"]]},G1=Q1;vl.default=G1});var Yh=y(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var X1={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Y1=X1;hl.default=Y1});var Jh=y(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var J1={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Z1=J1;yl.default=Z1});var Zh=y(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var eR={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},tR=eR;gl.default=tR});var ey=y(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var rR=Ye(zh()),nR=Ye($h()),oR=Ye(Hh()),iR=Ye(Vh()),lR=Ye(Wh()),aR=Ye(Kh()),sR=Ye(Qh()),uR=Ye(Gh()),cR=Ye(Xh()),dR=Ye(Yh()),fR=Ye(Jh()),pR=Ye(Zh());function Ye(e){return e&&e.__esModule?e:{default:e}}var mR=[["command",rR.default],["composite",nR.default],["input",oR.default],["landmark",iR.default],["range",lR.default],["roletype",aR.default],["section",sR.default],["sectionhead",uR.default],["select",cR.default],["structure",dR.default],["widget",fR.default],["window",pR.default]],vR=mR;bl.default=vR});var ty=y(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var hR={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"]]},yR=hR;_l.default=yR});var ry=y(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var gR={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"]]},bR=gR;El.default=bR});var ny=y(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var _R={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"]]},ER=_R;wl.default=ER});var oy=y(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var wR={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"]]},TR=wR;Tl.default=TR});var iy=y(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var CR={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"]]},SR=CR;Cl.default=SR});var ly=y(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var PR={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"]]},RR=PR;Sl.default=RR});var ay=y(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var xR={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"]]},kR=xR;Pl.default=kR});var sy=y(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var MR={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"]]},qR=MR;Rl.default=qR});var uy=y(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var OR={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"]]},IR=OR;xl.default=IR});var cy=y(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var NR={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"]]},AR=NR;kl.default=AR});var dy=y(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var LR={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"]]},UR=LR;Ml.default=UR});var fy=y(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var DR={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","widget","gridcell"],["roletype","structure","sectionhead"]]},FR=DR;ql.default=FR});var py=y(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var BR={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"]]},jR=BR;Ol.default=jR});var my=y(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var zR={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"]]},$R=zR;Il.default=$R});var vy=y(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var HR={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"]]},VR=HR;Nl.default=VR});var hy=y(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var WR={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"]]},KR=WR;Al.default=KR});var yy=y(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var QR={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"]]},GR=QR;Ll.default=GR});var gy=y(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var XR={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},YR=XR;Ul.default=YR});var by=y(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var JR={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},ZR=JR;Dl.default=ZR});var _y=y(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var ex={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"]]},tx=ex;Fl.default=tx});var Ey=y(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var rx={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"]]},nx=rx;Bl.default=nx});var wy=y(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var ox={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},ix=ox;jl.default=ix});var Ty=y(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var lx={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"]]},ax=lx;zl.default=ax});var Cy=y($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var sx={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"]]},ux=sx;$l.default=ux});var Sy=y(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var cx={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 than 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 than 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"]]},dx=cx;Hl.default=dx});var Py=y(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var fx={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"]]},px=fx;Vl.default=px});var Ry=y(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var mx={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"]]},vx=mx;Wl.default=vx});var xy=y(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var hx={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"]]},yx=hx;Kl.default=yx});var ky=y(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var gx={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"]]},bx=gx;Ql.default=bx});var My=y(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var _x={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"]]},Ex=_x;Gl.default=Ex});var qy=y(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var wx={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"]]},Tx=wx;Xl.default=Tx});var Oy=y(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var Cx={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"]]},Sx=Cx;Yl.default=Sx});var Iy=y(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var Px={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"]]},Rx=Px;Jl.default=Rx});var Ny=y(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=void 0;var xx={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"]]},kx=xx;Zl.default=kx});var Ay=y(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.default=void 0;var Mx={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"]]},qx=Mx;ea.default=qx});var Ly=y(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.default=void 0;var Ox={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ix=Ox;ta.default=Ix});var Uy=y(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.default=void 0;var Nx={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"]]},Ax=Nx;ra.default=Ax});var Dy=y(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.default=void 0;var Lx={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"]]},Ux=Lx;na.default=Ux});var Fy=y(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.default=void 0;var Dx={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Fx=Dx;oa.default=Fx});var By=y(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.default=void 0;var Bx={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"]]},jx=Bx;ia.default=jx});var jy=y(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.default=void 0;var zx={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"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},$x=zx;la.default=$x});var zy=y(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.default=void 0;var Hx={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"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},Vx=Hx;aa.default=Vx});var $y=y(sa=>{"use strict";Object.defineProperty(sa,"__esModule",{value:!0});sa.default=void 0;var Wx={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"]]},Kx=Wx;sa.default=Kx});var Hy=y(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.default=void 0;var Qx={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"]]},Gx=Qx;ua.default=Gx});var Vy=y(ca=>{"use strict";Object.defineProperty(ca,"__esModule",{value:!0});ca.default=void 0;var Xx={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","menuitemcheckbox"],["roletype","widget","input","radio"]]},Yx=Xx;ca.default=Yx});var Wy=y(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.default=void 0;var Jx={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"]]},Zx=Jx;da.default=Zx});var Ky=y(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.default=void 0;var ek={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"]]},tk=ek;fa.default=tk});var Qy=y(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});pa.default=void 0;var rk={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},nk=rk;pa.default=nk});var Gy=y(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.default=void 0;var ok={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ik=ok;ma.default=ik});var Xy=y(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});va.default=void 0;var lk={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"]]},ak=lk;va.default=ak});var Yy=y(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});ha.default=void 0;var sk={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"]]},uk=sk;ha.default=uk});var Jy=y(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.default=void 0;var ck={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"]]},dk=ck;ya.default=dk});var Zy=y(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.default=void 0;var fk={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"]]},pk=fk;ga.default=pk});var eg=y(ba=>{"use strict";Object.defineProperty(ba,"__esModule",{value:!0});ba.default=void 0;var mk={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"]]},vk=mk;ba.default=vk});var tg=y(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});_a.default=void 0;var hk={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"]]},yk=hk;_a.default=yk});var rg=y(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.default=void 0;var gk={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"]]},bk=gk;Ea.default=bk});var ng=y(wa=>{"use strict";Object.defineProperty(wa,"__esModule",{value:!0});wa.default=void 0;var _k={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"]]},Ek=_k;wa.default=Ek});var og=y(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.default=void 0;var wk={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"]]},Tk=wk;Ta.default=Tk});var ig=y(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.default=void 0;var Ck={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","widget","gridcell"],["roletype","structure","sectionhead"]]},Sk=Ck;Ca.default=Sk});var lg=y(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.default=void 0;var Pk={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"]]},Rk=Pk;Sa.default=Rk});var ag=y(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.default=void 0;var xk={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},kk=xk;Pa.default=kk});var sg=y(Ra=>{"use strict";Object.defineProperty(Ra,"__esModule",{value:!0});Ra.default=void 0;var Mk={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"]]},qk=Mk;Ra.default=qk});var ug=y(xa=>{"use strict";Object.defineProperty(xa,"__esModule",{value:!0});xa.default=void 0;var Ok={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"]]},Ik=Ok;xa.default=Ik});var cg=y(ka=>{"use strict";Object.defineProperty(ka,"__esModule",{value:!0});ka.default=void 0;var Nk={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"]]},Ak=Nk;ka.default=Ak});var dg=y(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.default=void 0;var Lk={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"]]},Uk=Lk;Ma.default=Uk});var fg=y(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.default=void 0;var Dk={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"]]},Fk=Dk;qa.default=Fk});var pg=y(Oa=>{"use strict";Object.defineProperty(Oa,"__esModule",{value:!0});Oa.default=void 0;var Bk={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"]]},jk=Bk;Oa.default=jk});var mg=y(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});Ia.default=void 0;var zk={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"]]},$k=zk;Ia.default=$k});var vg=y(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});Na.default=void 0;var Hk={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"]]},Vk=Hk;Na.default=Vk});var hg=y(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.default=void 0;var Wk={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"]]},Kk=Wk;Aa.default=Kk});var yg=y(La=>{"use strict";Object.defineProperty(La,"__esModule",{value:!0});La.default=void 0;var Qk={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"]]},Gk=Qk;La.default=Gk});var gg=y(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.default=void 0;var Xk={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"]]},Yk=Xk;Ua.default=Yk});var bg=y(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.default=void 0;var Jk={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"]]},Zk=Jk;Da.default=Zk});var _g=y(Fa=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});Fa.default=void 0;var eM={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tM=eM;Fa.default=tM});var Eg=y(Ba=>{"use strict";Object.defineProperty(Ba,"__esModule",{value:!0});Ba.default=void 0;var rM={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"]]},nM=rM;Ba.default=nM});var wg=y(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.default=void 0;var oM={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"]]},iM=oM;ja.default=iM});var Tg=y(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});za.default=void 0;var lM={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"]]},aM=lM;za.default=aM});var Cg=y($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});$a.default=void 0;var sM={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},uM=sM;$a.default=uM});var Sg=y(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.default=void 0;var cM={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"]]},dM=cM;Ha.default=dM});var Pg=y(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Va.default=void 0;var fM={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pM=fM;Va.default=pM});var Rg=y(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.default=void 0;var mM={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"]]},vM=mM;Wa.default=vM});var xg=y(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});Ka.default=void 0;var hM={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"]]},yM=hM;Ka.default=yM});var kg=y(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});Qa.default=void 0;var gM={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"]]},bM=gM;Qa.default=bM});var Mg=y(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga.default=void 0;var _M=R(ty()),EM=R(ry()),wM=R(ny()),TM=R(oy()),CM=R(iy()),SM=R(ly()),PM=R(ay()),RM=R(sy()),xM=R(uy()),kM=R(cy()),MM=R(dy()),qM=R(fy()),OM=R(py()),IM=R(my()),NM=R(vy()),AM=R(hy()),LM=R(yy()),UM=R(gy()),DM=R(by()),FM=R(_y()),BM=R(Ey()),jM=R(wy()),zM=R(Ty()),$M=R(Cy()),HM=R(Sy()),VM=R(Py()),WM=R(Ry()),KM=R(xy()),QM=R(ky()),GM=R(My()),XM=R(qy()),YM=R(Oy()),JM=R(Iy()),ZM=R(Ny()),eq=R(Ay()),tq=R(Ly()),rq=R(Uy()),nq=R(Dy()),oq=R(Fy()),iq=R(By()),lq=R(jy()),aq=R(zy()),sq=R($y()),uq=R(Hy()),cq=R(Vy()),dq=R(Wy()),fq=R(Ky()),pq=R(Qy()),mq=R(Gy()),vq=R(Xy()),hq=R(Yy()),yq=R(Jy()),gq=R(Zy()),bq=R(eg()),_q=R(tg()),Eq=R(rg()),wq=R(ng()),Tq=R(og()),Cq=R(ig()),Sq=R(lg()),Pq=R(ag()),Rq=R(sg()),xq=R(ug()),kq=R(cg()),Mq=R(dg()),qq=R(fg()),Oq=R(pg()),Iq=R(mg()),Nq=R(vg()),Aq=R(hg()),Lq=R(yg()),Uq=R(gg()),Dq=R(bg()),Fq=R(_g()),Bq=R(Eg()),jq=R(wg()),zq=R(Tg()),$q=R(Cg()),Hq=R(Sg()),Vq=R(Pg()),Wq=R(Rg()),Kq=R(xg()),Qq=R(kg());function R(e){return e&&e.__esModule?e:{default:e}}var Gq=[["alert",_M.default],["alertdialog",EM.default],["application",wM.default],["article",TM.default],["banner",CM.default],["blockquote",SM.default],["button",PM.default],["caption",RM.default],["cell",xM.default],["checkbox",kM.default],["code",MM.default],["columnheader",qM.default],["combobox",OM.default],["complementary",IM.default],["contentinfo",NM.default],["definition",AM.default],["deletion",LM.default],["dialog",UM.default],["directory",DM.default],["document",FM.default],["emphasis",BM.default],["feed",jM.default],["figure",zM.default],["form",$M.default],["generic",HM.default],["grid",VM.default],["gridcell",WM.default],["group",KM.default],["heading",QM.default],["img",GM.default],["insertion",XM.default],["link",YM.default],["list",JM.default],["listbox",ZM.default],["listitem",eq.default],["log",tq.default],["main",rq.default],["mark",nq.default],["marquee",oq.default],["math",iq.default],["menu",lq.default],["menubar",aq.default],["menuitem",sq.default],["menuitemcheckbox",uq.default],["menuitemradio",cq.default],["meter",dq.default],["navigation",fq.default],["none",pq.default],["note",mq.default],["option",vq.default],["paragraph",hq.default],["presentation",yq.default],["progressbar",gq.default],["radio",bq.default],["radiogroup",_q.default],["region",Eq.default],["row",wq.default],["rowgroup",Tq.default],["rowheader",Cq.default],["scrollbar",Sq.default],["search",Pq.default],["searchbox",Rq.default],["separator",xq.default],["slider",kq.default],["spinbutton",Mq.default],["status",qq.default],["strong",Oq.default],["subscript",Iq.default],["superscript",Nq.default],["switch",Aq.default],["tab",Lq.default],["table",Uq.default],["tablist",Dq.default],["tabpanel",Fq.default],["term",Bq.default],["textbox",jq.default],["time",zq.default],["timer",$q.default],["toolbar",Hq.default],["tooltip",Vq.default],["tree",Wq.default],["treegrid",Kq.default],["treeitem",Qq.default]],Xq=Gq;Ga.default=Xq});var qg=y(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.default=void 0;var Yq={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"]]},Jq=Yq;Xa.default=Jq});var Og=y(Ya=>{"use strict";Object.defineProperty(Ya,"__esModule",{value:!0});Ya.default=void 0;var Zq={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"]]},eO=Zq;Ya.default=eO});var Ig=y(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.default=void 0;var tO={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"]]},rO=tO;Ja.default=rO});var Ng=y(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.default=void 0;var nO={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"]]},oO=nO;Za.default=oO});var Ag=y(es=>{"use strict";Object.defineProperty(es,"__esModule",{value:!0});es.default=void 0;var iO={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"]]},lO=iO;es.default=lO});var Lg=y(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.default=void 0;var aO={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"]]},sO=aO;ts.default=sO});var Ug=y(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.default=void 0;var uO={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"]]},cO=uO;rs.default=cO});var Dg=y(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.default=void 0;var dO={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"]]},fO=dO;ns.default=fO});var Fg=y(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});os.default=void 0;var pO={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"]]},mO=pO;os.default=mO});var Bg=y(is=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});is.default=void 0;var vO={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"]]},hO=vO;is.default=hO});var jg=y(ls=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});ls.default=void 0;var yO={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"]]},gO=yO;ls.default=gO});var zg=y(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});as.default=void 0;var bO={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"]]},_O=bO;as.default=_O});var $g=y(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.default=void 0;var EO={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"]]},wO=EO;ss.default=wO});var Hg=y(us=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});us.default=void 0;var TO={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"]]},CO=TO;us.default=CO});var Vg=y(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});cs.default=void 0;var SO={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"]]},PO=SO;cs.default=PO});var Wg=y(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});ds.default=void 0;var RO={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"]]},xO=RO;ds.default=xO});var Kg=y(fs=>{"use strict";Object.defineProperty(fs,"__esModule",{value:!0});fs.default=void 0;var kO={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"]]},MO=kO;fs.default=MO});var Qg=y(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.default=void 0;var qO={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"]]},OO=qO;ps.default=OO});var Gg=y(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});ms.default=void 0;var IO={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"]]},NO=IO;ms.default=NO});var Xg=y(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.default=void 0;var AO={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"]]},LO=AO;vs.default=LO});var Yg=y(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.default=void 0;var UO={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"]]},DO=UO;hs.default=DO});var Jg=y(ys=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});ys.default=void 0;var FO={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"]]},BO=FO;ys.default=BO});var Zg=y(gs=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});gs.default=void 0;var jO={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"]]},zO=jO;gs.default=zO});var eb=y(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.default=void 0;var $O={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"]]},HO=$O;bs.default=HO});var tb=y(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.default=void 0;var VO={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"]]},WO=VO;_s.default=WO});var rb=y(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.default=void 0;var KO={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"]]},QO=KO;Es.default=QO});var nb=y(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.default=void 0;var GO={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"]]},XO=GO;ws.default=XO});var ob=y(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.default=void 0;var YO={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"]]},JO=YO;Ts.default=JO});var ib=y(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.default=void 0;var ZO={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"]]},eI=ZO;Cs.default=eI});var lb=y(Ss=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});Ss.default=void 0;var tI={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"]]},rI=tI;Ss.default=rI});var ab=y(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.default=void 0;var nI={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"]]},oI=nI;Ps.default=oI});var sb=y(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.default=void 0;var iI={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"]]},lI=iI;Rs.default=lI});var ub=y(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.default=void 0;var aI={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"]]},sI=aI;xs.default=sI});var cb=y(ks=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});ks.default=void 0;var uI={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"]]},cI=uI;ks.default=cI});var db=y(Ms=>{"use strict";Object.defineProperty(Ms,"__esModule",{value:!0});Ms.default=void 0;var dI={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"]]},fI=dI;Ms.default=fI});var fb=y(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.default=void 0;var pI={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"]]},mI=pI;qs.default=mI});var pb=y(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.default=void 0;var vI={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"]]},hI=vI;Os.default=hI});var mb=y(Is=>{"use strict";Object.defineProperty(Is,"__esModule",{value:!0});Is.default=void 0;var yI={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"]]},gI=yI;Is.default=gI});var vb=y(Ns=>{"use strict";Object.defineProperty(Ns,"__esModule",{value:!0});Ns.default=void 0;var bI={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"]]},_I=bI;Ns.default=_I});var hb=y(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.default=void 0;var EI=A(qg()),wI=A(Og()),TI=A(Ig()),CI=A(Ng()),SI=A(Ag()),PI=A(Lg()),RI=A(Ug()),xI=A(Dg()),kI=A(Fg()),MI=A(Bg()),qI=A(jg()),OI=A(zg()),II=A($g()),NI=A(Hg()),AI=A(Vg()),LI=A(Wg()),UI=A(Kg()),DI=A(Qg()),FI=A(Gg()),BI=A(Xg()),jI=A(Yg()),zI=A(Jg()),$I=A(Zg()),HI=A(eb()),VI=A(tb()),WI=A(rb()),KI=A(nb()),QI=A(ob()),GI=A(ib()),XI=A(lb()),YI=A(ab()),JI=A(sb()),ZI=A(ub()),eN=A(cb()),tN=A(db()),rN=A(fb()),nN=A(pb()),oN=A(mb()),iN=A(vb());function A(e){return e&&e.__esModule?e:{default:e}}var lN=[["doc-abstract",EI.default],["doc-acknowledgments",wI.default],["doc-afterword",TI.default],["doc-appendix",CI.default],["doc-backlink",SI.default],["doc-biblioentry",PI.default],["doc-bibliography",RI.default],["doc-biblioref",xI.default],["doc-chapter",kI.default],["doc-colophon",MI.default],["doc-conclusion",qI.default],["doc-cover",OI.default],["doc-credit",II.default],["doc-credits",NI.default],["doc-dedication",AI.default],["doc-endnote",LI.default],["doc-endnotes",UI.default],["doc-epigraph",DI.default],["doc-epilogue",FI.default],["doc-errata",BI.default],["doc-example",jI.default],["doc-footnote",zI.default],["doc-foreword",$I.default],["doc-glossary",HI.default],["doc-glossref",VI.default],["doc-index",WI.default],["doc-introduction",KI.default],["doc-noteref",QI.default],["doc-notice",GI.default],["doc-pagebreak",XI.default],["doc-pagelist",YI.default],["doc-part",JI.default],["doc-preface",ZI.default],["doc-prologue",eN.default],["doc-pullquote",tN.default],["doc-qna",rN.default],["doc-subtitle",nN.default],["doc-tip",oN.default],["doc-toc",iN.default]],aN=lN;As.default=aN});var yb=y(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.default=void 0;var sN={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"]]},uN=sN;Ls.default=uN});var gb=y(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.default=void 0;var cN={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"]]},dN=cN;Us.default=dN});var bb=y(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.default=void 0;var fN={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"]]},pN=fN;Ds.default=pN});var _b=y(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.default=void 0;var mN=Ed(yb()),vN=Ed(gb()),hN=Ed(bb());function Ed(e){return e&&e.__esModule?e:{default:e}}var yN=[["graphics-document",mN.default],["graphics-object",vN.default],["graphics-symbol",hN.default]],gN=yN;Fs.default=gN});var js=y(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});Bs.default=void 0;var bN=So(ey()),_N=So(Mg()),EN=So(hb()),wN=So(_b()),TN=So(hn());function So(e){return e&&e.__esModule?e:{default:e}}function CN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wd(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=wb(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,l=!1,a;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){l=!0,a=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(l)throw a}}}}function Co(e,t){return RN(e)||PN(e,t)||wb(e,t)||SN()}function SN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wb(e,t){if(e){if(typeof e=="string")return Eb(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 Eb(e,t)}}function Eb(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}function PN(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,l,a;try{for(r=r.call(e);!(o=(l=r.next()).done)&&(n.push(l.value),!(t&&n.length===t));o=!0);}catch(s){i=!0,a=s}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw a}}return n}}function RN(e){if(Array.isArray(e))return e}var ir=[].concat(bN.default,_N.default,EN.default,wN.default);ir.forEach(function(e){var t=Co(e,2),r=t[1],n=wd(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,l=wd(i),a;try{var s=function(){var f=a.value,m=ir.find(function(P){var c=Co(P,1),d=c[0];return d===f});if(m)for(var v=m[1],g=0,E=Object.keys(v.props);g<E.length;g++){var _=E[g];Object.prototype.hasOwnProperty.call(r.props,_)||Object.assign(r.props,CN({},_,v.props[_]))}};for(l.s();!(a=l.n()).done;)s()}catch(u){l.e(u)}finally{l.f()}}}catch(u){n.e(u)}finally{n.f()}});var Td={entries:function(){return ir},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=wd(ir),o;try{for(n.s();!(o=n.n()).done;){var i=Co(o.value,2),l=i[0],a=i[1];t.call(r,a,l,ir)}}catch(s){n.e(s)}finally{n.f()}},get:function(t){var r=ir.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Td.get(t)},keys:function(){return ir.map(function(t){var r=Co(t,1),n=r[0];return n})},values:function(){return ir.map(function(t){var r=Co(t,2),n=r[1];return n})}},xN=(0,TN.default)(Td,Td.entries());Bs.default=xN});var Sb=y(Cb=>{var Tb=Object.prototype.hasOwnProperty;function Cd(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--&&Cd(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Tb.call(e,r)&&++n&&!Tb.call(t,r)||!(r in t)||!Cd(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}Cb.dequal=Cd});var Ob=y(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.default=void 0;var xb=Sb(),kN=Mb(hn()),kb=Mb(js());function Mb(e){return e&&e.__esModule?e:{default:e}}function Sd(e,t){return ON(e)||qN(e,t)||qb(e,t)||MN()}function MN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qN(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,l,a;try{for(r=r.call(e);!(o=(l=r.next()).done)&&(n.push(l.value),!(t&&n.length===t));o=!0);}catch(s){i=!0,a=s}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw a}}return n}}function ON(e){if(Array.isArray(e))return e}function IN(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=qb(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,l=!1,a;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){l=!0,a=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(l)throw a}}}}function qb(e,t){if(e){if(typeof e=="string")return Pb(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 Pb(e,t)}}function Pb(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}var lr=[],Rb=kb.default.keys();for(zs=0;zs<Rb.length;zs++)if($s=Rb[zs],Hs=kb.default.get($s),Hs)for(Pd=[].concat(Hs.baseConcepts,Hs.relatedConcepts),Vs=0;Vs<Pd.length;Vs++)Rd=Pd[Vs],Rd.module==="HTML"&&(function(){var e=Rd.concept;if(e){var t=lr.find(function(i){return(0,xb.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===$s){n=!1;break}n&&r.push($s),lr.push([e,r])}})();var $s,Hs,Pd,Rd,Vs,zs,xd={entries:function(){return lr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=IN(lr),o;try{for(n.s();!(o=n.n()).done;){var i=Sd(o.value,2),l=i[0],a=i[1];t.call(r,a,l,lr)}}catch(s){n.e(s)}finally{n.f()}},get:function(t){var r=lr.find(function(n){return t.name===n[0].name&&(0,xb.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!xd.get(t)},keys:function(){return lr.map(function(t){var r=Sd(t,1),n=r[0];return n})},values:function(){return lr.map(function(t){var r=Sd(t,2),n=r[1];return n})}},NN=(0,kN.default)(xd,xd.entries());Ws.default=NN});var Db=y(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.default=void 0;var AN=Lb(hn()),Ab=Lb(js());function Lb(e){return e&&e.__esModule?e:{default:e}}function kd(e,t){return DN(e)||UN(e,t)||Ub(e,t)||LN()}function LN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function UN(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,l,a;try{for(r=r.call(e);!(o=(l=r.next()).done)&&(n.push(l.value),!(t&&n.length===t));o=!0);}catch(s){i=!0,a=s}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw a}}return n}}function DN(e){if(Array.isArray(e))return e}function FN(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ub(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
15
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,l=!1,a;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){l=!0,a=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(l)throw a}}}}function Ub(e,t){if(e){if(typeof e=="string")return Ib(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 Ib(e,t)}}function Ib(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}var Nr=[],Nb=Ab.default.keys();for(Ks=0;Ks<Nb.length;Ks++)if(Md=Nb[Ks],Qs=Ab.default.get(Md),Gs=[],Qs){for(qd=[].concat(Qs.baseConcepts,Qs.relatedConcepts),Xs=0;Xs<qd.length;Xs++)Od=qd[Xs],Od.module==="HTML"&&(Id=Od.concept,Id!=null&&Gs.push(Id));Gs.length>0&&Nr.push([Md,Gs])}var Md,Qs,Gs,qd,Od,Id,Xs,Ks,Nd={entries:function(){return Nr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=FN(Nr),o;try{for(n.s();!(o=n.n()).done;){var i=kd(o.value,2),l=i[0],a=i[1];t.call(r,a,l,Nr)}}catch(s){n.e(s)}finally{n.f()}},get:function(t){var r=Nr.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Nd.get(t)},keys:function(){return Nr.map(function(t){var r=kd(t,1),n=r[0];return n})},values:function(){return Nr.map(function(t){var r=kd(t,2),n=r[1];return n})}},BN=(0,AN.default)(Nd,Nd.entries());Ys.default=BN});var Fb=y(Je=>{"use strict";Object.defineProperty(Je,"__esModule",{value:!0});Je.roles=Je.roleElements=Je.elementRoles=Je.dom=Je.aria=void 0;var jN=Po(Dh()),zN=Po(jh()),$N=Po(js()),HN=Po(Ob()),VN=Po(Db());function Po(e){return e&&e.__esModule?e:{default:e}}var WN=jN.default;Je.aria=WN;var KN=zN.default;Je.dom=KN;var QN=$N.default;Je.roles=QN;var GN=HN.default;Je.elementRoles=GN;var XN=VN.default;Je.roleElements=XN});var Bb=y((Y4,Js)=>{var Ad=(function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(l,a){if(!n[l]){n[l]={};for(var s=0;s<l.length;s++)n[l][l.charAt(s)]=s}return n[l][a]}var i={compressToBase64:function(l){if(l==null)return"";var a=i._compress(l,6,function(s){return t.charAt(s)});switch(a.length%4){default:case 0:return a;case 1:return a+"===";case 2:return a+"==";case 3:return a+"="}},decompressFromBase64:function(l){return l==null?"":l==""?null:i._decompress(l.length,32,function(a){return o(t,l.charAt(a))})},compressToUTF16:function(l){return l==null?"":i._compress(l,15,function(a){return e(a+32)})+" "},decompressFromUTF16:function(l){return l==null?"":l==""?null:i._decompress(l.length,16384,function(a){return l.charCodeAt(a)-32})},compressToUint8Array:function(l){for(var a=i.compress(l),s=new Uint8Array(a.length*2),u=0,f=a.length;u<f;u++){var m=a.charCodeAt(u);s[u*2]=m>>>8,s[u*2+1]=m%256}return s},decompressFromUint8Array:function(l){if(l==null)return i.decompress(l);for(var a=new Array(l.length/2),s=0,u=a.length;s<u;s++)a[s]=l[s*2]*256+l[s*2+1];var f=[];return a.forEach(function(m){f.push(e(m))}),i.decompress(f.join(""))},compressToEncodedURIComponent:function(l){return l==null?"":i._compress(l,6,function(a){return r.charAt(a)})},decompressFromEncodedURIComponent:function(l){return l==null?"":l==""?null:(l=l.replace(/ /g,"+"),i._decompress(l.length,32,function(a){return o(r,l.charAt(a))}))},compress:function(l){return i._compress(l,16,function(a){return e(a)})},_compress:function(l,a,s){if(l==null)return"";var u,f,m={},v={},g="",E="",_="",P=2,c=3,d=2,p=[],h=0,b=0,C;for(C=0;C<l.length;C+=1)if(g=l.charAt(C),Object.prototype.hasOwnProperty.call(m,g)||(m[g]=c++,v[g]=!0),E=_+g,Object.prototype.hasOwnProperty.call(m,E))_=E;else{if(Object.prototype.hasOwnProperty.call(v,_)){if(_.charCodeAt(0)<256){for(u=0;u<d;u++)h=h<<1,b==a-1?(b=0,p.push(s(h)),h=0):b++;for(f=_.charCodeAt(0),u=0;u<8;u++)h=h<<1|f&1,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=f>>1}else{for(f=1,u=0;u<d;u++)h=h<<1|f,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=0;for(f=_.charCodeAt(0),u=0;u<16;u++)h=h<<1|f&1,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=f>>1}P--,P==0&&(P=Math.pow(2,d),d++),delete v[_]}else for(f=m[_],u=0;u<d;u++)h=h<<1|f&1,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=f>>1;P--,P==0&&(P=Math.pow(2,d),d++),m[E]=c++,_=String(g)}if(_!==""){if(Object.prototype.hasOwnProperty.call(v,_)){if(_.charCodeAt(0)<256){for(u=0;u<d;u++)h=h<<1,b==a-1?(b=0,p.push(s(h)),h=0):b++;for(f=_.charCodeAt(0),u=0;u<8;u++)h=h<<1|f&1,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=f>>1}else{for(f=1,u=0;u<d;u++)h=h<<1|f,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=0;for(f=_.charCodeAt(0),u=0;u<16;u++)h=h<<1|f&1,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=f>>1}P--,P==0&&(P=Math.pow(2,d),d++),delete v[_]}else for(f=m[_],u=0;u<d;u++)h=h<<1|f&1,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=f>>1;P--,P==0&&(P=Math.pow(2,d),d++)}for(f=2,u=0;u<d;u++)h=h<<1|f&1,b==a-1?(b=0,p.push(s(h)),h=0):b++,f=f>>1;for(;;)if(h=h<<1,b==a-1){p.push(s(h));break}else b++;return p.join("")},decompress:function(l){return l==null?"":l==""?null:i._decompress(l.length,32768,function(a){return l.charCodeAt(a)})},_decompress:function(l,a,s){var u=[],f,m=4,v=4,g=3,E="",_=[],P,c,d,p,h,b,C,w={val:s(0),position:a,index:1};for(P=0;P<3;P+=1)u[P]=P;for(d=0,h=Math.pow(2,2),b=1;b!=h;)p=w.val&w.position,w.position>>=1,w.position==0&&(w.position=a,w.val=s(w.index++)),d|=(p>0?1:0)*b,b<<=1;switch(f=d){case 0:for(d=0,h=Math.pow(2,8),b=1;b!=h;)p=w.val&w.position,w.position>>=1,w.position==0&&(w.position=a,w.val=s(w.index++)),d|=(p>0?1:0)*b,b<<=1;C=e(d);break;case 1:for(d=0,h=Math.pow(2,16),b=1;b!=h;)p=w.val&w.position,w.position>>=1,w.position==0&&(w.position=a,w.val=s(w.index++)),d|=(p>0?1:0)*b,b<<=1;C=e(d);break;case 2:return""}for(u[3]=C,c=C,_.push(C);;){if(w.index>l)return"";for(d=0,h=Math.pow(2,g),b=1;b!=h;)p=w.val&w.position,w.position>>=1,w.position==0&&(w.position=a,w.val=s(w.index++)),d|=(p>0?1:0)*b,b<<=1;switch(C=d){case 0:for(d=0,h=Math.pow(2,8),b=1;b!=h;)p=w.val&w.position,w.position>>=1,w.position==0&&(w.position=a,w.val=s(w.index++)),d|=(p>0?1:0)*b,b<<=1;u[v++]=e(d),C=v-1,m--;break;case 1:for(d=0,h=Math.pow(2,16),b=1;b!=h;)p=w.val&w.position,w.position>>=1,w.position==0&&(w.position=a,w.val=s(w.index++)),d|=(p>0?1:0)*b,b<<=1;u[v++]=e(d),C=v-1,m--;break;case 2:return _.join("")}if(m==0&&(m=Math.pow(2,g),g++),u[C])E=u[C];else if(C===v)E=c+c.charAt(0);else return null;_.push(E),u[v++]=c+E.charAt(0),m--,c=E,m==0&&(m=Math.pow(2,g),g++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return Ad}):typeof Js<"u"&&Js!=null?Js.exports=Ad:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return Ad})});var ZE=y(U=>{"use strict";var Vo=Symbol.for("react.element"),m2=Symbol.for("react.portal"),v2=Symbol.for("react.fragment"),h2=Symbol.for("react.strict_mode"),y2=Symbol.for("react.profiler"),g2=Symbol.for("react.provider"),b2=Symbol.for("react.context"),_2=Symbol.for("react.forward_ref"),E2=Symbol.for("react.suspense"),w2=Symbol.for("react.memo"),T2=Symbol.for("react.lazy"),zE=Symbol.iterator;function C2(e){return e===null||typeof e!="object"?null:(e=zE&&e[zE]||e["@@iterator"],typeof e=="function"?e:null)}var VE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},WE=Object.assign,KE={};function Rn(e,t,r){this.props=e,this.context=t,this.refs=KE,this.updater=r||VE}Rn.prototype.isReactComponent={};Rn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Rn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function QE(){}QE.prototype=Rn.prototype;function bf(e,t,r){this.props=e,this.context=t,this.refs=KE,this.updater=r||VE}var _f=bf.prototype=new QE;_f.constructor=bf;WE(_f,Rn.prototype);_f.isPureReactComponent=!0;var $E=Array.isArray,GE=Object.prototype.hasOwnProperty,Ef={current:null},XE={key:!0,ref:!0,__self:!0,__source:!0};function YE(e,t,r){var n,o={},i=null,l=null;if(t!=null)for(n in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)GE.call(t,n)&&!XE.hasOwnProperty(n)&&(o[n]=t[n]);var a=arguments.length-2;if(a===1)o.children=r;else if(1<a){for(var s=Array(a),u=0;u<a;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(n in a=e.defaultProps,a)o[n]===void 0&&(o[n]=a[n]);return{$$typeof:Vo,type:e,key:i,ref:l,props:o,_owner:Ef.current}}function S2(e,t){return{$$typeof:Vo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function wf(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vo}function P2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var HE=/\/+/g;function gf(e,t){return typeof e=="object"&&e!==null&&e.key!=null?P2(""+e.key):t.toString(36)}function xu(e,t,r,n,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Vo:case m2:l=!0}}if(l)return l=e,o=o(l),e=n===""?"."+gf(l,0):n,$E(o)?(r="",e!=null&&(r=e.replace(HE,"$&/")+"/"),xu(o,t,r,"",function(u){return u})):o!=null&&(wf(o)&&(o=S2(o,r+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(HE,"$&/")+"/")+e)),t.push(o)),1;if(l=0,n=n===""?".":n+":",$E(e))for(var a=0;a<e.length;a++){i=e[a];var s=n+gf(i,a);l+=xu(i,t,r,s,o)}else if(s=C2(e),typeof s=="function")for(e=s.call(e),a=0;!(i=e.next()).done;)i=i.value,s=n+gf(i,a++),l+=xu(i,t,r,s,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Ru(e,t,r){if(e==null)return e;var n=[],o=0;return xu(e,n,"","",function(i){return t.call(r,i,o++)}),n}function R2(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Me={current:null},ku={transition:null},x2={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:ku,ReactCurrentOwner:Ef};function JE(){throw Error("act(...) is not supported in production builds of React.")}U.Children={map:Ru,forEach:function(e,t,r){Ru(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Ru(e,function(){t++}),t},toArray:function(e){return Ru(e,function(t){return t})||[]},only:function(e){if(!wf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};U.Component=Rn;U.Fragment=v2;U.Profiler=y2;U.PureComponent=bf;U.StrictMode=h2;U.Suspense=E2;U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x2;U.act=JE;U.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=WE({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=Ef.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(s in t)GE.call(t,s)&&!XE.hasOwnProperty(s)&&(n[s]=t[s]===void 0&&a!==void 0?a[s]:t[s])}var s=arguments.length-2;if(s===1)n.children=r;else if(1<s){a=Array(s);for(var u=0;u<s;u++)a[u]=arguments[u+2];n.children=a}return{$$typeof:Vo,type:e.type,key:o,ref:i,props:n,_owner:l}};U.createContext=function(e){return e={$$typeof:b2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:g2,_context:e},e.Consumer=e};U.createElement=YE;U.createFactory=function(e){var t=YE.bind(null,e);return t.type=e,t};U.createRef=function(){return{current:null}};U.forwardRef=function(e){return{$$typeof:_2,render:e}};U.isValidElement=wf;U.lazy=function(e){return{$$typeof:T2,_payload:{_status:-1,_result:e},_init:R2}};U.memo=function(e,t){return{$$typeof:w2,type:e,compare:t===void 0?null:t}};U.startTransition=function(e){var t=ku.transition;ku.transition={};try{e()}finally{ku.transition=t}};U.unstable_act=JE;U.useCallback=function(e,t){return Me.current.useCallback(e,t)};U.useContext=function(e){return Me.current.useContext(e)};U.useDebugValue=function(){};U.useDeferredValue=function(e){return Me.current.useDeferredValue(e)};U.useEffect=function(e,t){return Me.current.useEffect(e,t)};U.useId=function(){return Me.current.useId()};U.useImperativeHandle=function(e,t,r){return Me.current.useImperativeHandle(e,t,r)};U.useInsertionEffect=function(e,t){return Me.current.useInsertionEffect(e,t)};U.useLayoutEffect=function(e,t){return Me.current.useLayoutEffect(e,t)};U.useMemo=function(e,t){return Me.current.useMemo(e,t)};U.useReducer=function(e,t,r){return Me.current.useReducer(e,t,r)};U.useRef=function(e){return Me.current.useRef(e)};U.useState=function(e){return Me.current.useState(e)};U.useSyncExternalStore=function(e,t,r){return Me.current.useSyncExternalStore(e,t,r)};U.useTransition=function(){return Me.current.useTransition()};U.version="18.3.1"});var t0=y((C5,e0)=>{"use strict";e0.exports=ZE()});var d0=y(V=>{"use strict";function Pf(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(0<Mu(o,t))e[n]=t,e[r]=o,r=n;else break e}}function vt(e){return e.length===0?null:e[0]}function Ou(e){if(e.length===0)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var l=2*(n+1)-1,a=e[l],s=l+1,u=e[s];if(0>Mu(a,r))s<o&&0>Mu(u,a)?(e[n]=u,e[s]=r,n=s):(e[n]=a,e[l]=r,n=l);else if(s<o&&0>Mu(u,r))e[n]=u,e[s]=r,n=s;else break e}}return t}function Mu(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(r0=performance,V.unstable_now=function(){return r0.now()}):(Tf=Date,n0=Tf.now(),V.unstable_now=function(){return Tf.now()-n0});var r0,Tf,n0,Ct=[],fr=[],k2=1,et=null,we=3,Iu=!1,Vr=!1,Ko=!1,l0=typeof setTimeout=="function"?setTimeout:null,a0=typeof clearTimeout=="function"?clearTimeout:null,o0=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Rf(e){for(var t=vt(fr);t!==null;){if(t.callback===null)Ou(fr);else if(t.startTime<=e)Ou(fr),t.sortIndex=t.expirationTime,Pf(Ct,t);else break;t=vt(fr)}}function xf(e){if(Ko=!1,Rf(e),!Vr)if(vt(Ct)!==null)Vr=!0,Mf(kf);else{var t=vt(fr);t!==null&&qf(xf,t.startTime-e)}}function kf(e,t){Vr=!1,Ko&&(Ko=!1,a0(Qo),Qo=-1),Iu=!0;var r=we;try{for(Rf(t),et=vt(Ct);et!==null&&(!(et.expirationTime>t)||e&&!c0());){var n=et.callback;if(typeof n=="function"){et.callback=null,we=et.priorityLevel;var o=n(et.expirationTime<=t);t=V.unstable_now(),typeof o=="function"?et.callback=o:et===vt(Ct)&&Ou(Ct),Rf(t)}else Ou(Ct);et=vt(Ct)}if(et!==null)var i=!0;else{var l=vt(fr);l!==null&&qf(xf,l.startTime-t),i=!1}return i}finally{et=null,we=r,Iu=!1}}var Nu=!1,qu=null,Qo=-1,s0=5,u0=-1;function c0(){return!(V.unstable_now()-u0<s0)}function Cf(){if(qu!==null){var e=V.unstable_now();u0=e;var t=!0;try{t=qu(!0,e)}finally{t?Wo():(Nu=!1,qu=null)}}else Nu=!1}var Wo;typeof o0=="function"?Wo=function(){o0(Cf)}:typeof MessageChannel<"u"?(Sf=new MessageChannel,i0=Sf.port2,Sf.port1.onmessage=Cf,Wo=function(){i0.postMessage(null)}):Wo=function(){l0(Cf,0)};var Sf,i0;function Mf(e){qu=e,Nu||(Nu=!0,Wo())}function qf(e,t){Qo=l0(function(){e(V.unstable_now())},t)}V.unstable_IdlePriority=5;V.unstable_ImmediatePriority=1;V.unstable_LowPriority=4;V.unstable_NormalPriority=3;V.unstable_Profiling=null;V.unstable_UserBlockingPriority=2;V.unstable_cancelCallback=function(e){e.callback=null};V.unstable_continueExecution=function(){Vr||Iu||(Vr=!0,Mf(kf))};V.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):s0=0<e?Math.floor(1e3/e):5};V.unstable_getCurrentPriorityLevel=function(){return we};V.unstable_getFirstCallbackNode=function(){return vt(Ct)};V.unstable_next=function(e){switch(we){case 1:case 2:case 3:var t=3;break;default:t=we}var r=we;we=t;try{return e()}finally{we=r}};V.unstable_pauseExecution=function(){};V.unstable_requestPaint=function(){};V.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=we;we=e;try{return t()}finally{we=r}};V.unstable_scheduleCallback=function(e,t,r){var n=V.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=r+o,e={id:k2++,callback:t,priorityLevel:e,startTime:r,expirationTime:o,sortIndex:-1},r>n?(e.sortIndex=r,Pf(fr,e),vt(Ct)===null&&e===vt(fr)&&(Ko?(a0(Qo),Qo=-1):Ko=!0,qf(xf,r-n))):(e.sortIndex=o,Pf(Ct,e),Vr||Iu||(Vr=!0,Mf(kf))),e};V.unstable_shouldYield=c0;V.unstable_wrapCallback=function(e){var t=we;return function(){var r=we;we=t;try{return e.apply(this,arguments)}finally{we=r}}}});var p0=y((P5,f0)=>{"use strict";f0.exports=d0()});var yC=y(Ge=>{"use strict";var M2=t0(),Ke=p0();function S(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _w=new Set,hi={};function on(e,t){Qn(e,t),Qn(e+"Capture",t)}function Qn(e,t){for(hi[e]=t,e=0;e<t.length;e++)_w.add(t[e])}var zt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ep=Object.prototype.hasOwnProperty,q2=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m0={},v0={};function O2(e){return ep.call(v0,e)?!0:ep.call(m0,e)?!1:q2.test(e)?v0[e]=!0:(m0[e]=!0,!1)}function I2(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function N2(e,t,r,n){if(t===null||typeof t>"u"||I2(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ie(e,t,r,n,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var be={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){be[e]=new Ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];be[t]=new Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){be[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){be[e]=new Ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){be[e]=new Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){be[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){be[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){be[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){be[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wp=/[\-:]([a-z])/g;function Kp(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Wp,Kp);be[t]=new Ie(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Wp,Kp);be[t]=new Ie(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Wp,Kp);be[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){be[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});be.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){be[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qp(e,t,r,n){var o=be.hasOwnProperty(t)?be[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(N2(t,r,o,n)&&(r=null),n||o===null?O2(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Wt=M2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Au=Symbol.for("react.element"),Mn=Symbol.for("react.portal"),qn=Symbol.for("react.fragment"),Gp=Symbol.for("react.strict_mode"),tp=Symbol.for("react.profiler"),Ew=Symbol.for("react.provider"),ww=Symbol.for("react.context"),Xp=Symbol.for("react.forward_ref"),rp=Symbol.for("react.suspense"),np=Symbol.for("react.suspense_list"),Yp=Symbol.for("react.memo"),mr=Symbol.for("react.lazy"),Tw=Symbol.for("react.offscreen"),h0=Symbol.iterator;function Go(e){return e===null||typeof e!="object"?null:(e=h0&&e[h0]||e["@@iterator"],typeof e=="function"?e:null)}var te=Object.assign,Of;function ni(e){if(Of===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Of=t&&t[1]||""}return`
16
+ `+Of+e}var If=!1;function Nf(e,t){if(!e||If)return"";If=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var n=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){n=u}e.call(t.prototype)}else{try{throw Error()}catch(u){n=u}e()}}catch(u){if(u&&n&&typeof u.stack=="string"){for(var o=u.stack.split(`
17
+ `),i=n.stack.split(`
18
+ `),l=o.length-1,a=i.length-1;1<=l&&0<=a&&o[l]!==i[a];)a--;for(;1<=l&&0<=a;l--,a--)if(o[l]!==i[a]){if(l!==1||a!==1)do if(l--,a--,0>a||o[l]!==i[a]){var s=`
19
+ `+o[l].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{If=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ni(e):""}function A2(e){switch(e.tag){case 5:return ni(e.type);case 16:return ni("Lazy");case 13:return ni("Suspense");case 19:return ni("SuspenseList");case 0:case 2:case 15:return e=Nf(e.type,!1),e;case 11:return e=Nf(e.type.render,!1),e;case 1:return e=Nf(e.type,!0),e;default:return""}}function op(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case qn:return"Fragment";case Mn:return"Portal";case tp:return"Profiler";case Gp:return"StrictMode";case rp:return"Suspense";case np:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ww:return(e.displayName||"Context")+".Consumer";case Ew:return(e._context.displayName||"Context")+".Provider";case Xp:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Yp:return t=e.displayName||null,t!==null?t:op(e.type)||"Memo";case mr:t=e._payload,e=e._init;try{return op(e(t))}catch{}}return null}function L2(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return op(t);case 8:return t===Gp?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cw(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function U2(e){var t=Cw(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){n=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lu(e){e._valueTracker||(e._valueTracker=U2(e))}function Sw(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Cw(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function cc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ip(e,t){var r=t.checked;return te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function y0(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=xr(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Pw(e,t){t=t.checked,t!=null&&Qp(e,"checked",t,!1)}function lp(e,t){Pw(e,t);var r=xr(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ap(e,t.type,r):t.hasOwnProperty("defaultValue")&&ap(e,t.type,xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function g0(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function ap(e,t,r){(t!=="number"||cc(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var oi=Array.isArray;function zn(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+xr(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function sp(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(S(91));return te({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function b0(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(S(92));if(oi(r)){if(1<r.length)throw Error(S(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:xr(r)}}function Rw(e,t){var r=xr(t.value),n=xr(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function _0(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function xw(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function up(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?xw(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Uu,kw=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Uu=Uu||document.createElement("div"),Uu.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Uu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yi(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var ai={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},D2=["Webkit","ms","Moz","O"];Object.keys(ai).forEach(function(e){D2.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ai[t]=ai[e]})});function Mw(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||ai.hasOwnProperty(e)&&ai[e]?(""+t).trim():t+"px"}function qw(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Mw(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var F2=te({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function cp(e,t){if(t){if(F2[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function dp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var fp=null;function Jp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pp=null,$n=null,Hn=null;function E0(e){if(e=Ai(e)){if(typeof pp!="function")throw Error(S(280));var t=e.stateNode;t&&(t=Dc(t),pp(e.stateNode,e.type,t))}}function Ow(e){$n?Hn?Hn.push(e):Hn=[e]:$n=e}function Iw(){if($n){var e=$n,t=Hn;if(Hn=$n=null,E0(e),t)for(e=0;e<t.length;e++)E0(t[e])}}function Nw(e,t){return e(t)}function Aw(){}var Af=!1;function Lw(e,t,r){if(Af)return e(t,r);Af=!0;try{return Nw(e,t,r)}finally{Af=!1,($n!==null||Hn!==null)&&(Aw(),Iw())}}function gi(e,t){var r=e.stateNode;if(r===null)return null;var n=Dc(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(S(231,t,typeof r));return r}var mp=!1;if(zt)try{xn={},Object.defineProperty(xn,"passive",{get:function(){mp=!0}}),window.addEventListener("test",xn,xn),window.removeEventListener("test",xn,xn)}catch{mp=!1}var xn;function B2(e,t,r,n,o,i,l,a,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(f){this.onError(f)}}var si=!1,dc=null,fc=!1,vp=null,j2={onError:function(e){si=!0,dc=e}};function z2(e,t,r,n,o,i,l,a,s){si=!1,dc=null,B2.apply(j2,arguments)}function $2(e,t,r,n,o,i,l,a,s){if(z2.apply(this,arguments),si){if(si){var u=dc;si=!1,dc=null}else throw Error(S(198));fc||(fc=!0,vp=u)}}function ln(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Uw(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function w0(e){if(ln(e)!==e)throw Error(S(188))}function H2(e){var t=e.alternate;if(!t){if(t=ln(e),t===null)throw Error(S(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var i=o.alternate;if(i===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return w0(o),e;if(i===n)return w0(o),t;i=i.sibling}throw Error(S(188))}if(r.return!==n.return)r=o,n=i;else{for(var l=!1,a=o.child;a;){if(a===r){l=!0,r=o,n=i;break}if(a===n){l=!0,n=o,r=i;break}a=a.sibling}if(!l){for(a=i.child;a;){if(a===r){l=!0,r=i,n=o;break}if(a===n){l=!0,n=i,r=o;break}a=a.sibling}if(!l)throw Error(S(189))}}if(r.alternate!==n)throw Error(S(190))}if(r.tag!==3)throw Error(S(188));return r.stateNode.current===r?e:t}function Dw(e){return e=H2(e),e!==null?Fw(e):null}function Fw(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Fw(e);if(t!==null)return t;e=e.sibling}return null}var Bw=Ke.unstable_scheduleCallback,T0=Ke.unstable_cancelCallback,V2=Ke.unstable_shouldYield,W2=Ke.unstable_requestPaint,oe=Ke.unstable_now,K2=Ke.unstable_getCurrentPriorityLevel,Zp=Ke.unstable_ImmediatePriority,jw=Ke.unstable_UserBlockingPriority,pc=Ke.unstable_NormalPriority,Q2=Ke.unstable_LowPriority,zw=Ke.unstable_IdlePriority,Nc=null,xt=null;function G2(e){if(xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(Nc,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:J2,X2=Math.log,Y2=Math.LN2;function J2(e){return e>>>=0,e===0?32:31-(X2(e)/Y2|0)|0}var Du=64,Fu=4194304;function ii(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function mc(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,l=r&268435455;if(l!==0){var a=l&~o;a!==0?n=ii(a):(i&=l,i!==0&&(n=ii(i)))}else l=r&~o,l!==0?n=ii(l):i!==0&&(n=ii(i));if(n===0)return 0;if(t!==0&&t!==n&&(t&o)===0&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((n&4)!==0&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-_t(t),o=1<<r,n|=e[r],t&=~o;return n}function Z2(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function eD(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-_t(i),a=1<<l,s=o[l];s===-1?((a&r)===0||(a&n)!==0)&&(o[l]=Z2(a,t)):s<=t&&(e.expiredLanes|=a),i&=~a}}function hp(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function $w(){var e=Du;return Du<<=1,(Du&4194240)===0&&(Du=64),e}function Lf(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Ii(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=r}function tD(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-_t(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}function em(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-_t(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var j=0;function Hw(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Vw,tm,Ww,Kw,Qw,yp=!1,Bu=[],_r=null,Er=null,wr=null,bi=new Map,_i=new Map,hr=[],rD="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function C0(e,t){switch(e){case"focusin":case"focusout":_r=null;break;case"dragenter":case"dragleave":Er=null;break;case"mouseover":case"mouseout":wr=null;break;case"pointerover":case"pointerout":bi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_i.delete(t.pointerId)}}function Xo(e,t,r,n,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Ai(t),t!==null&&tm(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function nD(e,t,r,n,o){switch(t){case"focusin":return _r=Xo(_r,e,t,r,n,o),!0;case"dragenter":return Er=Xo(Er,e,t,r,n,o),!0;case"mouseover":return wr=Xo(wr,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return bi.set(i,Xo(bi.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,_i.set(i,Xo(_i.get(i)||null,e,t,r,n,o)),!0}return!1}function Gw(e){var t=Qr(e.target);if(t!==null){var r=ln(t);if(r!==null){if(t=r.tag,t===13){if(t=Uw(r),t!==null){e.blockedOn=t,Qw(e.priority,function(){Ww(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ec(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=gp(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);fp=n,r.target.dispatchEvent(n),fp=null}else return t=Ai(r),t!==null&&tm(t),e.blockedOn=r,!1;t.shift()}return!0}function S0(e,t,r){ec(e)&&r.delete(t)}function oD(){yp=!1,_r!==null&&ec(_r)&&(_r=null),Er!==null&&ec(Er)&&(Er=null),wr!==null&&ec(wr)&&(wr=null),bi.forEach(S0),_i.forEach(S0)}function Yo(e,t){e.blockedOn===t&&(e.blockedOn=null,yp||(yp=!0,Ke.unstable_scheduleCallback(Ke.unstable_NormalPriority,oD)))}function Ei(e){function t(o){return Yo(o,e)}if(0<Bu.length){Yo(Bu[0],e);for(var r=1;r<Bu.length;r++){var n=Bu[r];n.blockedOn===e&&(n.blockedOn=null)}}for(_r!==null&&Yo(_r,e),Er!==null&&Yo(Er,e),wr!==null&&Yo(wr,e),bi.forEach(t),_i.forEach(t),r=0;r<hr.length;r++)n=hr[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<hr.length&&(r=hr[0],r.blockedOn===null);)Gw(r),r.blockedOn===null&&hr.shift()}var Vn=Wt.ReactCurrentBatchConfig,vc=!0;function iD(e,t,r,n){var o=j,i=Vn.transition;Vn.transition=null;try{j=1,rm(e,t,r,n)}finally{j=o,Vn.transition=i}}function lD(e,t,r,n){var o=j,i=Vn.transition;Vn.transition=null;try{j=4,rm(e,t,r,n)}finally{j=o,Vn.transition=i}}function rm(e,t,r,n){if(vc){var o=gp(e,t,r,n);if(o===null)$f(e,t,n,hc,r),C0(e,n);else if(nD(o,e,t,r,n))n.stopPropagation();else if(C0(e,n),t&4&&-1<rD.indexOf(e)){for(;o!==null;){var i=Ai(o);if(i!==null&&Vw(i),i=gp(e,t,r,n),i===null&&$f(e,t,n,hc,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else $f(e,t,n,null,r)}}var hc=null;function gp(e,t,r,n){if(hc=null,e=Jp(n),e=Qr(e),e!==null)if(t=ln(e),t===null)e=null;else if(r=t.tag,r===13){if(e=Uw(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return hc=e,null}function Xw(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(K2()){case Zp:return 1;case jw:return 4;case pc:case Q2:return 16;case zw:return 536870912;default:return 16}default:return 16}}var gr=null,nm=null,tc=null;function Yw(){if(tc)return tc;var e,t=nm,r=t.length,n,o="value"in gr?gr.value:gr.textContent,i=o.length;for(e=0;e<r&&t[e]===o[e];e++);var l=r-e;for(n=1;n<=l&&t[r-n]===o[i-n];n++);return tc=o.slice(e,1<n?1-n:void 0)}function rc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ju(){return!0}function P0(){return!1}function Qe(e){function t(r,n,o,i,l){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(r=e[a],this[a]=r?r(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ju:P0,this.isPropagationStopped=P0,this}return te(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ju)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ju)},persist:function(){},isPersistent:ju}),t}var to={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},om=Qe(to),Ni=te({},to,{view:0,detail:0}),aD=Qe(Ni),Uf,Df,Jo,Ac=te({},Ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:im,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jo&&(Jo&&e.type==="mousemove"?(Uf=e.screenX-Jo.screenX,Df=e.screenY-Jo.screenY):Df=Uf=0,Jo=e),Uf)},movementY:function(e){return"movementY"in e?e.movementY:Df}}),R0=Qe(Ac),sD=te({},Ac,{dataTransfer:0}),uD=Qe(sD),cD=te({},Ni,{relatedTarget:0}),Ff=Qe(cD),dD=te({},to,{animationName:0,elapsedTime:0,pseudoElement:0}),fD=Qe(dD),pD=te({},to,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mD=Qe(pD),vD=te({},to,{data:0}),x0=Qe(vD),hD={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yD={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},gD={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bD(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gD[e])?!!t[e]:!1}function im(){return bD}var _D=te({},Ni,{key:function(e){if(e.key){var t=hD[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=rc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?yD[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:im,charCode:function(e){return e.type==="keypress"?rc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?rc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ED=Qe(_D),wD=te({},Ac,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),k0=Qe(wD),TD=te({},Ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:im}),CD=Qe(TD),SD=te({},to,{propertyName:0,elapsedTime:0,pseudoElement:0}),PD=Qe(SD),RD=te({},Ac,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),xD=Qe(RD),kD=[9,13,27,32],lm=zt&&"CompositionEvent"in window,ui=null;zt&&"documentMode"in document&&(ui=document.documentMode);var MD=zt&&"TextEvent"in window&&!ui,Jw=zt&&(!lm||ui&&8<ui&&11>=ui),M0=" ",q0=!1;function Zw(e,t){switch(e){case"keyup":return kD.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eT(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var On=!1;function qD(e,t){switch(e){case"compositionend":return eT(t);case"keypress":return t.which!==32?null:(q0=!0,M0);case"textInput":return e=t.data,e===M0&&q0?null:e;default:return null}}function OD(e,t){if(On)return e==="compositionend"||!lm&&Zw(e,t)?(e=Yw(),tc=nm=gr=null,On=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jw&&t.locale!=="ko"?null:t.data;default:return null}}var ID={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function O0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ID[e.type]:t==="textarea"}function tT(e,t,r,n){Ow(n),t=yc(t,"onChange"),0<t.length&&(r=new om("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var ci=null,wi=null;function ND(e){fT(e,0)}function Lc(e){var t=An(e);if(Sw(t))return e}function AD(e,t){if(e==="change")return t}var rT=!1;zt&&(zt?($u="oninput"in document,$u||(Bf=document.createElement("div"),Bf.setAttribute("oninput","return;"),$u=typeof Bf.oninput=="function"),zu=$u):zu=!1,rT=zu&&(!document.documentMode||9<document.documentMode));var zu,$u,Bf;function I0(){ci&&(ci.detachEvent("onpropertychange",nT),wi=ci=null)}function nT(e){if(e.propertyName==="value"&&Lc(wi)){var t=[];tT(t,wi,e,Jp(e)),Lw(ND,t)}}function LD(e,t,r){e==="focusin"?(I0(),ci=t,wi=r,ci.attachEvent("onpropertychange",nT)):e==="focusout"&&I0()}function UD(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Lc(wi)}function DD(e,t){if(e==="click")return Lc(t)}function FD(e,t){if(e==="input"||e==="change")return Lc(t)}function BD(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var wt=typeof Object.is=="function"?Object.is:BD;function Ti(e,t){if(wt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!ep.call(t,o)||!wt(e[o],t[o]))return!1}return!0}function N0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function A0(e,t){var r=N0(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=N0(r)}}function oT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?oT(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function iT(){for(var e=window,t=cc();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=cc(e.document)}return t}function am(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function jD(e){var t=iT(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&oT(r.ownerDocument.documentElement,r)){if(n!==null&&am(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=A0(r,i);var l=A0(r,n);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var zD=zt&&"documentMode"in document&&11>=document.documentMode,In=null,bp=null,di=null,_p=!1;function L0(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;_p||In==null||In!==cc(n)||(n=In,"selectionStart"in n&&am(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),di&&Ti(di,n)||(di=n,n=yc(bp,"onSelect"),0<n.length&&(t=new om("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=In)))}function Hu(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Nn={animationend:Hu("Animation","AnimationEnd"),animationiteration:Hu("Animation","AnimationIteration"),animationstart:Hu("Animation","AnimationStart"),transitionend:Hu("Transition","TransitionEnd")},jf={},lT={};zt&&(lT=document.createElement("div").style,"AnimationEvent"in window||(delete Nn.animationend.animation,delete Nn.animationiteration.animation,delete Nn.animationstart.animation),"TransitionEvent"in window||delete Nn.transitionend.transition);function Uc(e){if(jf[e])return jf[e];if(!Nn[e])return e;var t=Nn[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in lT)return jf[e]=t[r];return e}var aT=Uc("animationend"),sT=Uc("animationiteration"),uT=Uc("animationstart"),cT=Uc("transitionend"),dT=new Map,U0="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){dT.set(e,t),on(t,[e])}for(Vu=0;Vu<U0.length;Vu++)Wu=U0[Vu],D0=Wu.toLowerCase(),F0=Wu[0].toUpperCase()+Wu.slice(1),Mr(D0,"on"+F0);var Wu,D0,F0,Vu;Mr(aT,"onAnimationEnd");Mr(sT,"onAnimationIteration");Mr(uT,"onAnimationStart");Mr("dblclick","onDoubleClick");Mr("focusin","onFocus");Mr("focusout","onBlur");Mr(cT,"onTransitionEnd");Qn("onMouseEnter",["mouseout","mouseover"]);Qn("onMouseLeave",["mouseout","mouseover"]);Qn("onPointerEnter",["pointerout","pointerover"]);Qn("onPointerLeave",["pointerout","pointerover"]);on("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));on("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));on("onBeforeInput",["compositionend","keypress","textInput","paste"]);on("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));on("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));on("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var li="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$D=new Set("cancel close invalid load scroll toggle".split(" ").concat(li));function B0(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,$2(n,t,void 0,e),e.currentTarget=null}function fT(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var l=n.length-1;0<=l;l--){var a=n[l],s=a.instance,u=a.currentTarget;if(a=a.listener,s!==i&&o.isPropagationStopped())break e;B0(o,a,u),i=s}else for(l=0;l<n.length;l++){if(a=n[l],s=a.instance,u=a.currentTarget,a=a.listener,s!==i&&o.isPropagationStopped())break e;B0(o,a,u),i=s}}}if(fc)throw e=vp,fc=!1,vp=null,e}function G(e,t){var r=t[Sp];r===void 0&&(r=t[Sp]=new Set);var n=e+"__bubble";r.has(n)||(pT(t,e,2,!1),r.add(n))}function zf(e,t,r){var n=0;t&&(n|=4),pT(r,e,n,t)}var Ku="_reactListening"+Math.random().toString(36).slice(2);function Ci(e){if(!e[Ku]){e[Ku]=!0,_w.forEach(function(r){r!=="selectionchange"&&($D.has(r)||zf(r,!1,e),zf(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ku]||(t[Ku]=!0,zf("selectionchange",!1,t))}}function pT(e,t,r,n){switch(Xw(t)){case 1:var o=iD;break;case 4:o=lD;break;default:o=rm}r=o.bind(null,t,r,e),o=void 0,!mp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function $f(e,t,r,n,o){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var l=n.tag;if(l===3||l===4){var a=n.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(l===4)for(l=n.return;l!==null;){var s=l.tag;if((s===3||s===4)&&(s=l.stateNode.containerInfo,s===o||s.nodeType===8&&s.parentNode===o))return;l=l.return}for(;a!==null;){if(l=Qr(a),l===null)return;if(s=l.tag,s===5||s===6){n=i=l;continue e}a=a.parentNode}}n=n.return}Lw(function(){var u=i,f=Jp(r),m=[];e:{var v=dT.get(e);if(v!==void 0){var g=om,E=e;switch(e){case"keypress":if(rc(r)===0)break e;case"keydown":case"keyup":g=ED;break;case"focusin":E="focus",g=Ff;break;case"focusout":E="blur",g=Ff;break;case"beforeblur":case"afterblur":g=Ff;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=R0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=uD;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=CD;break;case aT:case sT:case uT:g=fD;break;case cT:g=PD;break;case"scroll":g=aD;break;case"wheel":g=xD;break;case"copy":case"cut":case"paste":g=mD;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=k0}var _=(t&4)!==0,P=!_&&e==="scroll",c=_?v!==null?v+"Capture":null:v;_=[];for(var d=u,p;d!==null;){p=d;var h=p.stateNode;if(p.tag===5&&h!==null&&(p=h,c!==null&&(h=gi(d,c),h!=null&&_.push(Si(d,h,p)))),P)break;d=d.return}0<_.length&&(v=new g(v,E,null,r,f),m.push({event:v,listeners:_}))}}if((t&7)===0){e:{if(v=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",v&&r!==fp&&(E=r.relatedTarget||r.fromElement)&&(Qr(E)||E[$t]))break e;if((g||v)&&(v=f.window===f?f:(v=f.ownerDocument)?v.defaultView||v.parentWindow:window,g?(E=r.relatedTarget||r.toElement,g=u,E=E?Qr(E):null,E!==null&&(P=ln(E),E!==P||E.tag!==5&&E.tag!==6)&&(E=null)):(g=null,E=u),g!==E)){if(_=R0,h="onMouseLeave",c="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(_=k0,h="onPointerLeave",c="onPointerEnter",d="pointer"),P=g==null?v:An(g),p=E==null?v:An(E),v=new _(h,d+"leave",g,r,f),v.target=P,v.relatedTarget=p,h=null,Qr(f)===u&&(_=new _(c,d+"enter",E,r,f),_.target=p,_.relatedTarget=P,h=_),P=h,g&&E)t:{for(_=g,c=E,d=0,p=_;p;p=kn(p))d++;for(p=0,h=c;h;h=kn(h))p++;for(;0<d-p;)_=kn(_),d--;for(;0<p-d;)c=kn(c),p--;for(;d--;){if(_===c||c!==null&&_===c.alternate)break t;_=kn(_),c=kn(c)}_=null}else _=null;g!==null&&j0(m,v,g,_,!1),E!==null&&P!==null&&j0(m,P,E,_,!0)}}e:{if(v=u?An(u):window,g=v.nodeName&&v.nodeName.toLowerCase(),g==="select"||g==="input"&&v.type==="file")var b=AD;else if(O0(v))if(rT)b=FD;else{b=UD;var C=LD}else(g=v.nodeName)&&g.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(b=DD);if(b&&(b=b(e,u))){tT(m,b,r,f);break e}C&&C(e,v,u),e==="focusout"&&(C=v._wrapperState)&&C.controlled&&v.type==="number"&&ap(v,"number",v.value)}switch(C=u?An(u):window,e){case"focusin":(O0(C)||C.contentEditable==="true")&&(In=C,bp=u,di=null);break;case"focusout":di=bp=In=null;break;case"mousedown":_p=!0;break;case"contextmenu":case"mouseup":case"dragend":_p=!1,L0(m,r,f);break;case"selectionchange":if(zD)break;case"keydown":case"keyup":L0(m,r,f)}var w;if(lm)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else On?Zw(e,r)&&(x="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(x="onCompositionStart");x&&(Jw&&r.locale!=="ko"&&(On||x!=="onCompositionStart"?x==="onCompositionEnd"&&On&&(w=Yw()):(gr=f,nm="value"in gr?gr.value:gr.textContent,On=!0)),C=yc(u,x),0<C.length&&(x=new x0(x,e,null,r,f),m.push({event:x,listeners:C}),w?x.data=w:(w=eT(r),w!==null&&(x.data=w)))),(w=MD?qD(e,r):OD(e,r))&&(u=yc(u,"onBeforeInput"),0<u.length&&(f=new x0("onBeforeInput","beforeinput",null,r,f),m.push({event:f,listeners:u}),f.data=w))}fT(m,t)})}function Si(e,t,r){return{instance:e,listener:t,currentTarget:r}}function yc(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=gi(e,r),i!=null&&n.unshift(Si(e,i,o)),i=gi(e,t),i!=null&&n.push(Si(e,i,o))),e=e.return}return n}function kn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function j0(e,t,r,n,o){for(var i=t._reactName,l=[];r!==null&&r!==n;){var a=r,s=a.alternate,u=a.stateNode;if(s!==null&&s===n)break;a.tag===5&&u!==null&&(a=u,o?(s=gi(r,i),s!=null&&l.unshift(Si(r,s,a))):o||(s=gi(r,i),s!=null&&l.push(Si(r,s,a)))),r=r.return}l.length!==0&&e.push({event:t,listeners:l})}var HD=/\r\n?/g,VD=/\u0000|\uFFFD/g;function z0(e){return(typeof e=="string"?e:""+e).replace(HD,`
20
+ `).replace(VD,"")}function Qu(e,t,r){if(t=z0(t),z0(e)!==t&&r)throw Error(S(425))}function gc(){}var Ep=null,wp=null;function Tp(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Cp=typeof setTimeout=="function"?setTimeout:void 0,WD=typeof clearTimeout=="function"?clearTimeout:void 0,$0=typeof Promise=="function"?Promise:void 0,KD=typeof queueMicrotask=="function"?queueMicrotask:typeof $0<"u"?function(e){return $0.resolve(null).then(e).catch(QD)}:Cp;function QD(e){setTimeout(function(){throw e})}function Hf(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),Ei(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);Ei(t)}function Tr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function H0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var ro=Math.random().toString(36).slice(2),Rt="__reactFiber$"+ro,Pi="__reactProps$"+ro,$t="__reactContainer$"+ro,Sp="__reactEvents$"+ro,GD="__reactListeners$"+ro,XD="__reactHandles$"+ro;function Qr(e){var t=e[Rt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[$t]||r[Rt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=H0(e);e!==null;){if(r=e[Rt])return r;e=H0(e)}return t}e=r,r=e.parentNode}return null}function Ai(e){return e=e[Rt]||e[$t],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function An(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(S(33))}function Dc(e){return e[Pi]||null}var Pp=[],Ln=-1;function qr(e){return{current:e}}function X(e){0>Ln||(e.current=Pp[Ln],Pp[Ln]=null,Ln--)}function W(e,t){Ln++,Pp[Ln]=e.current,e.current=t}var kr={},Pe=qr(kr),De=qr(!1),Zr=kr;function Gn(e,t){var r=e.type.contextTypes;if(!r)return kr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fe(e){return e=e.childContextTypes,e!=null}function bc(){X(De),X(Pe)}function V0(e,t,r){if(Pe.current!==kr)throw Error(S(168));W(Pe,t),W(De,r)}function mT(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(S(108,L2(e)||"Unknown",o));return te({},r,n)}function _c(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||kr,Zr=Pe.current,W(Pe,e),W(De,De.current),!0}function W0(e,t,r){var n=e.stateNode;if(!n)throw Error(S(169));r?(e=mT(e,t,Zr),n.__reactInternalMemoizedMergedChildContext=e,X(De),X(Pe),W(Pe,e)):X(De),W(De,r)}var Dt=null,Fc=!1,Vf=!1;function vT(e){Dt===null?Dt=[e]:Dt.push(e)}function YD(e){Fc=!0,vT(e)}function Or(){if(!Vf&&Dt!==null){Vf=!0;var e=0,t=j;try{var r=Dt;for(j=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Dt=null,Fc=!1}catch(o){throw Dt!==null&&(Dt=Dt.slice(e+1)),Bw(Zp,Or),o}finally{j=t,Vf=!1}}return null}var Un=[],Dn=0,Ec=null,wc=0,tt=[],rt=0,en=null,Ft=1,Bt="";function Wr(e,t){Un[Dn++]=wc,Un[Dn++]=Ec,Ec=e,wc=t}function hT(e,t,r){tt[rt++]=Ft,tt[rt++]=Bt,tt[rt++]=en,en=e;var n=Ft;e=Bt;var o=32-_t(n)-1;n&=~(1<<o),r+=1;var i=32-_t(t)+o;if(30<i){var l=o-o%5;i=(n&(1<<l)-1).toString(32),n>>=l,o-=l,Ft=1<<32-_t(t)+o|r<<o|n,Bt=i+e}else Ft=1<<i|r<<o|n,Bt=e}function sm(e){e.return!==null&&(Wr(e,1),hT(e,1,0))}function um(e){for(;e===Ec;)Ec=Un[--Dn],Un[Dn]=null,wc=Un[--Dn],Un[Dn]=null;for(;e===en;)en=tt[--rt],tt[rt]=null,Bt=tt[--rt],tt[rt]=null,Ft=tt[--rt],tt[rt]=null}var We=null,Ve=null,Y=!1,bt=null;function yT(e,t){var r=nt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function K0(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,We=e,Ve=Tr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,We=e,Ve=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=en!==null?{id:Ft,overflow:Bt}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=nt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,We=e,Ve=null,!0):!1;default:return!1}}function Rp(e){return(e.mode&1)!==0&&(e.flags&128)===0}function xp(e){if(Y){var t=Ve;if(t){var r=t;if(!K0(e,t)){if(Rp(e))throw Error(S(418));t=Tr(r.nextSibling);var n=We;t&&K0(e,t)?yT(n,r):(e.flags=e.flags&-4097|2,Y=!1,We=e)}}else{if(Rp(e))throw Error(S(418));e.flags=e.flags&-4097|2,Y=!1,We=e}}}function Q0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;We=e}function Gu(e){if(e!==We)return!1;if(!Y)return Q0(e),Y=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Tp(e.type,e.memoizedProps)),t&&(t=Ve)){if(Rp(e))throw gT(),Error(S(418));for(;t;)yT(e,t),t=Tr(t.nextSibling)}if(Q0(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(S(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Ve=Tr(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ve=null}}else Ve=We?Tr(e.stateNode.nextSibling):null;return!0}function gT(){for(var e=Ve;e;)e=Tr(e.nextSibling)}function Xn(){Ve=We=null,Y=!1}function cm(e){bt===null?bt=[e]:bt.push(e)}var JD=Wt.ReactCurrentBatchConfig;function Zo(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(S(309));var n=r.stateNode}if(!n)throw Error(S(147,e));var o=n,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var a=o.refs;l===null?delete a[i]:a[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(S(284));if(!r._owner)throw Error(S(290,e))}return e}function Xu(e,t){throw e=Object.prototype.toString.call(t),Error(S(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function G0(e){var t=e._init;return t(e._payload)}function bT(e){function t(c,d){if(e){var p=c.deletions;p===null?(c.deletions=[d],c.flags|=16):p.push(d)}}function r(c,d){if(!e)return null;for(;d!==null;)t(c,d),d=d.sibling;return null}function n(c,d){for(c=new Map;d!==null;)d.key!==null?c.set(d.key,d):c.set(d.index,d),d=d.sibling;return c}function o(c,d){return c=Rr(c,d),c.index=0,c.sibling=null,c}function i(c,d,p){return c.index=p,e?(p=c.alternate,p!==null?(p=p.index,p<d?(c.flags|=2,d):p):(c.flags|=2,d)):(c.flags|=1048576,d)}function l(c){return e&&c.alternate===null&&(c.flags|=2),c}function a(c,d,p,h){return d===null||d.tag!==6?(d=Jf(p,c.mode,h),d.return=c,d):(d=o(d,p),d.return=c,d)}function s(c,d,p,h){var b=p.type;return b===qn?f(c,d,p.props.children,h,p.key):d!==null&&(d.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===mr&&G0(b)===d.type)?(h=o(d,p.props),h.ref=Zo(c,d,p),h.return=c,h):(h=uc(p.type,p.key,p.props,null,c.mode,h),h.ref=Zo(c,d,p),h.return=c,h)}function u(c,d,p,h){return d===null||d.tag!==4||d.stateNode.containerInfo!==p.containerInfo||d.stateNode.implementation!==p.implementation?(d=Zf(p,c.mode,h),d.return=c,d):(d=o(d,p.children||[]),d.return=c,d)}function f(c,d,p,h,b){return d===null||d.tag!==7?(d=Jr(p,c.mode,h,b),d.return=c,d):(d=o(d,p),d.return=c,d)}function m(c,d,p){if(typeof d=="string"&&d!==""||typeof d=="number")return d=Jf(""+d,c.mode,p),d.return=c,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Au:return p=uc(d.type,d.key,d.props,null,c.mode,p),p.ref=Zo(c,null,d),p.return=c,p;case Mn:return d=Zf(d,c.mode,p),d.return=c,d;case mr:var h=d._init;return m(c,h(d._payload),p)}if(oi(d)||Go(d))return d=Jr(d,c.mode,p,null),d.return=c,d;Xu(c,d)}return null}function v(c,d,p,h){var b=d!==null?d.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return b!==null?null:a(c,d,""+p,h);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Au:return p.key===b?s(c,d,p,h):null;case Mn:return p.key===b?u(c,d,p,h):null;case mr:return b=p._init,v(c,d,b(p._payload),h)}if(oi(p)||Go(p))return b!==null?null:f(c,d,p,h,null);Xu(c,p)}return null}function g(c,d,p,h,b){if(typeof h=="string"&&h!==""||typeof h=="number")return c=c.get(p)||null,a(d,c,""+h,b);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Au:return c=c.get(h.key===null?p:h.key)||null,s(d,c,h,b);case Mn:return c=c.get(h.key===null?p:h.key)||null,u(d,c,h,b);case mr:var C=h._init;return g(c,d,p,C(h._payload),b)}if(oi(h)||Go(h))return c=c.get(p)||null,f(d,c,h,b,null);Xu(d,h)}return null}function E(c,d,p,h){for(var b=null,C=null,w=d,x=d=0,I=null;w!==null&&x<p.length;x++){w.index>x?(I=w,w=null):I=w.sibling;var O=v(c,w,p[x],h);if(O===null){w===null&&(w=I);break}e&&w&&O.alternate===null&&t(c,w),d=i(O,d,x),C===null?b=O:C.sibling=O,C=O,w=I}if(x===p.length)return r(c,w),Y&&Wr(c,x),b;if(w===null){for(;x<p.length;x++)w=m(c,p[x],h),w!==null&&(d=i(w,d,x),C===null?b=w:C.sibling=w,C=w);return Y&&Wr(c,x),b}for(w=n(c,w);x<p.length;x++)I=g(w,c,x,p[x],h),I!==null&&(e&&I.alternate!==null&&w.delete(I.key===null?x:I.key),d=i(I,d,x),C===null?b=I:C.sibling=I,C=I);return e&&w.forEach(function(z){return t(c,z)}),Y&&Wr(c,x),b}function _(c,d,p,h){var b=Go(p);if(typeof b!="function")throw Error(S(150));if(p=b.call(p),p==null)throw Error(S(151));for(var C=b=null,w=d,x=d=0,I=null,O=p.next();w!==null&&!O.done;x++,O=p.next()){w.index>x?(I=w,w=null):I=w.sibling;var z=v(c,w,O.value,h);if(z===null){w===null&&(w=I);break}e&&w&&z.alternate===null&&t(c,w),d=i(z,d,x),C===null?b=z:C.sibling=z,C=z,w=I}if(O.done)return r(c,w),Y&&Wr(c,x),b;if(w===null){for(;!O.done;x++,O=p.next())O=m(c,O.value,h),O!==null&&(d=i(O,d,x),C===null?b=O:C.sibling=O,C=O);return Y&&Wr(c,x),b}for(w=n(c,w);!O.done;x++,O=p.next())O=g(w,c,x,O.value,h),O!==null&&(e&&O.alternate!==null&&w.delete(O.key===null?x:O.key),d=i(O,d,x),C===null?b=O:C.sibling=O,C=O);return e&&w.forEach(function(L){return t(c,L)}),Y&&Wr(c,x),b}function P(c,d,p,h){if(typeof p=="object"&&p!==null&&p.type===qn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Au:e:{for(var b=p.key,C=d;C!==null;){if(C.key===b){if(b=p.type,b===qn){if(C.tag===7){r(c,C.sibling),d=o(C,p.props.children),d.return=c,c=d;break e}}else if(C.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===mr&&G0(b)===C.type){r(c,C.sibling),d=o(C,p.props),d.ref=Zo(c,C,p),d.return=c,c=d;break e}r(c,C);break}else t(c,C);C=C.sibling}p.type===qn?(d=Jr(p.props.children,c.mode,h,p.key),d.return=c,c=d):(h=uc(p.type,p.key,p.props,null,c.mode,h),h.ref=Zo(c,d,p),h.return=c,c=h)}return l(c);case Mn:e:{for(C=p.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){r(c,d.sibling),d=o(d,p.children||[]),d.return=c,c=d;break e}else{r(c,d);break}else t(c,d);d=d.sibling}d=Zf(p,c.mode,h),d.return=c,c=d}return l(c);case mr:return C=p._init,P(c,d,C(p._payload),h)}if(oi(p))return E(c,d,p,h);if(Go(p))return _(c,d,p,h);Xu(c,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(r(c,d.sibling),d=o(d,p),d.return=c,c=d):(r(c,d),d=Jf(p,c.mode,h),d.return=c,c=d),l(c)):r(c,d)}return P}var Yn=bT(!0),_T=bT(!1),Tc=qr(null),Cc=null,Fn=null,dm=null;function fm(){dm=Fn=Cc=null}function pm(e){var t=Tc.current;X(Tc),e._currentValue=t}function kp(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Wn(e,t){Cc=e,dm=Fn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ue=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if(dm!==e)if(e={context:e,memoizedValue:t,next:null},Fn===null){if(Cc===null)throw Error(S(308));Fn=e,Cc.dependencies={lanes:0,firstContext:e}}else Fn=Fn.next=e;return t}var Gr=null;function mm(e){Gr===null?Gr=[e]:Gr.push(e)}function ET(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,mm(t)):(r.next=o.next,o.next=r),t.interleaved=r,Ht(e,n)}function Ht(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var vr=!1;function vm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wT(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Cr(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(B&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Ht(e,r)}return o=n.interleaved,o===null?(t.next=t,mm(n)):(t.next=o.next,o.next=t),n.interleaved=t,Ht(e,r)}function nc(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,em(e,r)}}function X0(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?o=i=l:i=i.next=l,r=r.next}while(r!==null);i===null?o=i=t:i=i.next=t}else o=i=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Sc(e,t,r,n){var o=e.updateQueue;vr=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var s=a,u=s.next;s.next=null,l===null?i=u:l.next=u,l=s;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=u:a.next=u,f.lastBaseUpdate=s))}if(i!==null){var m=o.baseState;l=0,f=u=s=null,a=i;do{var v=a.lane,g=a.eventTime;if((n&v)===v){f!==null&&(f=f.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var E=e,_=a;switch(v=t,g=r,_.tag){case 1:if(E=_.payload,typeof E=="function"){m=E.call(g,m,v);break e}m=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=_.payload,v=typeof E=="function"?E.call(g,m,v):E,v==null)break e;m=te({},m,v);break e;case 2:vr=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=o.effects,v===null?o.effects=[a]:v.push(a))}else g={eventTime:g,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(u=f=g,s=m):f=f.next=g,l|=v;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;v=a,a=v.next,v.next=null,o.lastBaseUpdate=v,o.shared.pending=null}}while(!0);if(f===null&&(s=m),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);rn|=l,e.lanes=l,e.memoizedState=m}}function Y0(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(S(191,o));o.call(n)}}}var Li={},kt=qr(Li),Ri=qr(Li),xi=qr(Li);function Xr(e){if(e===Li)throw Error(S(174));return e}function hm(e,t){switch(W(xi,t),W(Ri,e),W(kt,Li),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:up(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=up(t,e)}X(kt),W(kt,t)}function Jn(){X(kt),X(Ri),X(xi)}function TT(e){Xr(xi.current);var t=Xr(kt.current),r=up(t,e.type);t!==r&&(W(Ri,e),W(kt,r))}function ym(e){Ri.current===e&&(X(kt),X(Ri))}var Z=qr(0);function Pc(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wf=[];function gm(){for(var e=0;e<Wf.length;e++)Wf[e]._workInProgressVersionPrimary=null;Wf.length=0}var oc=Wt.ReactCurrentDispatcher,Kf=Wt.ReactCurrentBatchConfig,tn=0,ee=null,ce=null,me=null,Rc=!1,fi=!1,ki=0,ZD=0;function Te(){throw Error(S(321))}function bm(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!wt(e[r],t[r]))return!1;return!0}function _m(e,t,r,n,o,i){if(tn=i,ee=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oc.current=e===null||e.memoizedState===null?nF:oF,e=r(n,o),fi){i=0;do{if(fi=!1,ki=0,25<=i)throw Error(S(301));i+=1,me=ce=null,t.updateQueue=null,oc.current=iF,e=r(n,o)}while(fi)}if(oc.current=xc,t=ce!==null&&ce.next!==null,tn=0,me=ce=ee=null,Rc=!1,t)throw Error(S(300));return e}function Em(){var e=ki!==0;return ki=0,e}function Pt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return me===null?ee.memoizedState=me=e:me=me.next=e,me}function lt(){if(ce===null){var e=ee.alternate;e=e!==null?e.memoizedState:null}else e=ce.next;var t=me===null?ee.memoizedState:me.next;if(t!==null)me=t,ce=e;else{if(e===null)throw Error(S(310));ce=e,e={memoizedState:ce.memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},me===null?ee.memoizedState=me=e:me=me.next=e}return me}function Mi(e,t){return typeof t=="function"?t(e):t}function Qf(e){var t=lt(),r=t.queue;if(r===null)throw Error(S(311));r.lastRenderedReducer=e;var n=ce,o=n.baseQueue,i=r.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}n.baseQueue=o=i,r.pending=null}if(o!==null){i=o.next,n=n.baseState;var a=l=null,s=null,u=i;do{var f=u.lane;if((tn&f)===f)s!==null&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var m={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(a=s=m,l=n):s=s.next=m,ee.lanes|=f,rn|=f}u=u.next}while(u!==null&&u!==i);s===null?l=n:s.next=a,wt(n,t.memoizedState)||(Ue=!0),t.memoizedState=n,t.baseState=l,t.baseQueue=s,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do i=o.lane,ee.lanes|=i,rn|=i,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Gf(e){var t=lt(),r=t.queue;if(r===null)throw Error(S(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(o!==null){r.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);wt(i,t.memoizedState)||(Ue=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function CT(){}function ST(e,t){var r=ee,n=lt(),o=t(),i=!wt(n.memoizedState,o);if(i&&(n.memoizedState=o,Ue=!0),n=n.queue,wm(xT.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||me!==null&&me.memoizedState.tag&1){if(r.flags|=2048,qi(9,RT.bind(null,r,n,o,t),void 0,null),ve===null)throw Error(S(349));(tn&30)!==0||PT(r,t,o)}return o}function PT(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=ee.updateQueue,t===null?(t={lastEffect:null,stores:null},ee.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function RT(e,t,r,n){t.value=r,t.getSnapshot=n,kT(t)&&MT(e)}function xT(e,t,r){return r(function(){kT(t)&&MT(e)})}function kT(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!wt(e,r)}catch{return!0}}function MT(e){var t=Ht(e,1);t!==null&&Et(t,e,1,-1)}function J0(e){var t=Pt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mi,lastRenderedState:e},t.queue=e,e=e.dispatch=rF.bind(null,ee,e),[t.memoizedState,e]}function qi(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=ee.updateQueue,t===null?(t={lastEffect:null,stores:null},ee.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function qT(){return lt().memoizedState}function ic(e,t,r,n){var o=Pt();ee.flags|=e,o.memoizedState=qi(1|t,r,void 0,n===void 0?null:n)}function Bc(e,t,r,n){var o=lt();n=n===void 0?null:n;var i=void 0;if(ce!==null){var l=ce.memoizedState;if(i=l.destroy,n!==null&&bm(n,l.deps)){o.memoizedState=qi(t,r,i,n);return}}ee.flags|=e,o.memoizedState=qi(1|t,r,i,n)}function Z0(e,t){return ic(8390656,8,e,t)}function wm(e,t){return Bc(2048,8,e,t)}function OT(e,t){return Bc(4,2,e,t)}function IT(e,t){return Bc(4,4,e,t)}function NT(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function AT(e,t,r){return r=r!=null?r.concat([e]):null,Bc(4,4,NT.bind(null,t,e),r)}function Tm(){}function LT(e,t){var r=lt();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&bm(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function UT(e,t){var r=lt();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&bm(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function DT(e,t,r){return(tn&21)===0?(e.baseState&&(e.baseState=!1,Ue=!0),e.memoizedState=r):(wt(r,t)||(r=$w(),ee.lanes|=r,rn|=r,e.baseState=!0),t)}function eF(e,t){var r=j;j=r!==0&&4>r?r:4,e(!0);var n=Kf.transition;Kf.transition={};try{e(!1),t()}finally{j=r,Kf.transition=n}}function FT(){return lt().memoizedState}function tF(e,t,r){var n=Pr(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},BT(e))jT(t,r);else if(r=ET(e,t,r,n),r!==null){var o=Oe();Et(r,e,n,o),zT(r,t,n)}}function rF(e,t,r){var n=Pr(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(BT(e))jT(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,r);if(o.hasEagerState=!0,o.eagerState=a,wt(a,l)){var s=t.interleaved;s===null?(o.next=o,mm(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}r=ET(e,t,o,n),r!==null&&(o=Oe(),Et(r,e,n,o),zT(r,t,n))}}function BT(e){var t=e.alternate;return e===ee||t!==null&&t===ee}function jT(e,t){fi=Rc=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function zT(e,t,r){if((r&4194240)!==0){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,em(e,r)}}var xc={readContext:it,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useInsertionEffect:Te,useLayoutEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useMutableSource:Te,useSyncExternalStore:Te,useId:Te,unstable_isNewReconciler:!1},nF={readContext:it,useCallback:function(e,t){return Pt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:Z0,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,ic(4194308,4,NT.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ic(4194308,4,e,t)},useInsertionEffect:function(e,t){return ic(4,2,e,t)},useMemo:function(e,t){var r=Pt();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Pt();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=tF.bind(null,ee,e),[n.memoizedState,e]},useRef:function(e){var t=Pt();return e={current:e},t.memoizedState=e},useState:J0,useDebugValue:Tm,useDeferredValue:function(e){return Pt().memoizedState=e},useTransition:function(){var e=J0(!1),t=e[0];return e=eF.bind(null,e[1]),Pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ee,o=Pt();if(Y){if(r===void 0)throw Error(S(407));r=r()}else{if(r=t(),ve===null)throw Error(S(349));(tn&30)!==0||PT(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,Z0(xT.bind(null,n,i,e),[e]),n.flags|=2048,qi(9,RT.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=Pt(),t=ve.identifierPrefix;if(Y){var r=Bt,n=Ft;r=(n&~(1<<32-_t(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=ki++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=ZD++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oF={readContext:it,useCallback:LT,useContext:it,useEffect:wm,useImperativeHandle:AT,useInsertionEffect:OT,useLayoutEffect:IT,useMemo:UT,useReducer:Qf,useRef:qT,useState:function(){return Qf(Mi)},useDebugValue:Tm,useDeferredValue:function(e){var t=lt();return DT(t,ce.memoizedState,e)},useTransition:function(){var e=Qf(Mi)[0],t=lt().memoizedState;return[e,t]},useMutableSource:CT,useSyncExternalStore:ST,useId:FT,unstable_isNewReconciler:!1},iF={readContext:it,useCallback:LT,useContext:it,useEffect:wm,useImperativeHandle:AT,useInsertionEffect:OT,useLayoutEffect:IT,useMemo:UT,useReducer:Gf,useRef:qT,useState:function(){return Gf(Mi)},useDebugValue:Tm,useDeferredValue:function(e){var t=lt();return ce===null?t.memoizedState=e:DT(t,ce.memoizedState,e)},useTransition:function(){var e=Gf(Mi)[0],t=lt().memoizedState;return[e,t]},useMutableSource:CT,useSyncExternalStore:ST,useId:FT,unstable_isNewReconciler:!1};function yt(e,t){if(e&&e.defaultProps){t=te({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Mp(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:te({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var jc={isMounted:function(e){return(e=e._reactInternals)?ln(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Oe(),o=Pr(e),i=jt(n,o);i.payload=t,r!=null&&(i.callback=r),t=Cr(e,i,o),t!==null&&(Et(t,e,o,n),nc(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Oe(),o=Pr(e),i=jt(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=Cr(e,i,o),t!==null&&(Et(t,e,o,n),nc(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Oe(),n=Pr(e),o=jt(r,n);o.tag=2,t!=null&&(o.callback=t),t=Cr(e,o,n),t!==null&&(Et(t,e,n,r),nc(t,e,n))}};function ew(e,t,r,n,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,l):t.prototype&&t.prototype.isPureReactComponent?!Ti(r,n)||!Ti(o,i):!0}function $T(e,t,r){var n=!1,o=kr,i=t.contextType;return typeof i=="object"&&i!==null?i=it(i):(o=Fe(t)?Zr:Pe.current,n=t.contextTypes,i=(n=n!=null)?Gn(e,o):kr),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=jc,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function tw(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&jc.enqueueReplaceState(t,t.state,null)}function qp(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},vm(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=it(i):(i=Fe(t)?Zr:Pe.current,o.context=Gn(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Mp(e,t,i,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&jc.enqueueReplaceState(o,o.state,null),Sc(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Zn(e,t){try{var r="",n=t;do r+=A2(n),n=n.return;while(n);var o=r}catch(i){o=`
21
+ Error generating stack: `+i.message+`
22
+ `+i.stack}return{value:e,source:t,stack:o,digest:null}}function Xf(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Op(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var lF=typeof WeakMap=="function"?WeakMap:Map;function HT(e,t,r){r=jt(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Mc||(Mc=!0,zp=n),Op(e,t)},r}function VT(e,t,r){r=jt(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){Op(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){Op(e,t),typeof n!="function"&&(Sr===null?Sr=new Set([this]):Sr.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function rw(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new lF;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=_F.bind(null,e,t,r),t.then(e,e))}function nw(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ow(e,t,r,n,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=jt(-1,1),t.tag=2,Cr(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var aF=Wt.ReactCurrentOwner,Ue=!1;function qe(e,t,r,n){t.child=e===null?_T(t,null,r,n):Yn(t,e.child,r,n)}function iw(e,t,r,n,o){r=r.render;var i=t.ref;return Wn(t,o),n=_m(e,t,r,n,i,o),r=Em(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(Y&&r&&sm(t),t.flags|=1,qe(e,t,n,o),t.child)}function lw(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!qm(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,WT(e,t,i,n,o)):(e=uc(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var l=i.memoizedProps;if(r=r.compare,r=r!==null?r:Ti,r(l,n)&&e.ref===t.ref)return Vt(e,t,o)}return t.flags|=1,e=Rr(i,n),e.ref=t.ref,e.return=t,t.child=e}function WT(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(Ti(i,n)&&e.ref===t.ref)if(Ue=!1,t.pendingProps=n=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Ue=!0);else return t.lanes=e.lanes,Vt(e,t,o)}return Ip(e,t,r,n,o)}function KT(e,t,r){var n=t.pendingProps,o=n.children,i=e!==null?e.memoizedState:null;if(n.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},W(jn,He),He|=r;else{if((r&1073741824)===0)return e=i!==null?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,W(jn,He),He|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,W(jn,He),He|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,W(jn,He),He|=n;return qe(e,t,o,r),t.child}function QT(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Ip(e,t,r,n,o){var i=Fe(r)?Zr:Pe.current;return i=Gn(t,i),Wn(t,o),r=_m(e,t,r,n,i,o),n=Em(),e!==null&&!Ue?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(Y&&n&&sm(t),t.flags|=1,qe(e,t,r,o),t.child)}function aw(e,t,r,n,o){if(Fe(r)){var i=!0;_c(t)}else i=!1;if(Wn(t,o),t.stateNode===null)lc(e,t),$T(t,r,n),qp(t,r,n,o),n=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,u=r.contextType;typeof u=="object"&&u!==null?u=it(u):(u=Fe(r)?Zr:Pe.current,u=Gn(t,u));var f=r.getDerivedStateFromProps,m=typeof f=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==n||s!==u)&&tw(t,l,n,u),vr=!1;var v=t.memoizedState;l.state=v,Sc(t,n,l,o),s=t.memoizedState,a!==n||v!==s||De.current||vr?(typeof f=="function"&&(Mp(t,r,f,n),s=t.memoizedState),(a=vr||ew(t,r,a,n,v,s,u))?(m||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=s),l.props=n,l.state=s,l.context=u,n=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{l=t.stateNode,wT(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:yt(t.type,a),l.props=u,m=t.pendingProps,v=l.context,s=r.contextType,typeof s=="object"&&s!==null?s=it(s):(s=Fe(r)?Zr:Pe.current,s=Gn(t,s));var g=r.getDerivedStateFromProps;(f=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==m||v!==s)&&tw(t,l,n,s),vr=!1,v=t.memoizedState,l.state=v,Sc(t,n,l,o);var E=t.memoizedState;a!==m||v!==E||De.current||vr?(typeof g=="function"&&(Mp(t,r,g,n),E=t.memoizedState),(u=vr||ew(t,r,u,n,v,E,s)||!1)?(f||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(n,E,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(n,E,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=E),l.props=n,l.state=E,l.context=s,n=u):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),n=!1)}return Np(e,t,r,n,i,o)}function Np(e,t,r,n,o,i){QT(e,t);var l=(t.flags&128)!==0;if(!n&&!l)return o&&W0(t,r,!1),Vt(e,t,i);n=t.stateNode,aF.current=t;var a=l&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&l?(t.child=Yn(t,e.child,null,i),t.child=Yn(t,null,a,i)):qe(e,t,a,i),t.memoizedState=n.state,o&&W0(t,r,!0),t.child}function GT(e){var t=e.stateNode;t.pendingContext?V0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&V0(e,t.context,!1),hm(e,t.containerInfo)}function sw(e,t,r,n,o){return Xn(),cm(o),t.flags|=256,qe(e,t,r,n),t.child}var Ap={dehydrated:null,treeContext:null,retryLane:0};function Lp(e){return{baseLanes:e,cachePool:null,transitions:null}}function XT(e,t,r){var n=t.pendingProps,o=Z.current,i=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),W(Z,o&1),e===null)return xp(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=n.children,e=n.fallback,i?(n=t.mode,i=t.child,l={mode:"hidden",children:l},(n&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=Hc(l,n,0,null),e=Jr(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Lp(r),t.memoizedState=Ap,e):Cm(t,l));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return sF(e,t,l,n,a,o,r);if(i){i=n.fallback,l=t.mode,o=e.child,a=o.sibling;var s={mode:"hidden",children:n.children};return(l&1)===0&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=s,t.deletions=null):(n=Rr(o,s),n.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Rr(a,i):(i=Jr(i,l,r,null),i.flags|=2),i.return=t,n.return=t,n.sibling=i,t.child=n,n=i,i=t.child,l=e.child.memoizedState,l=l===null?Lp(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~r,t.memoizedState=Ap,n}return i=e.child,e=i.sibling,n=Rr(i,{mode:"visible",children:n.children}),(t.mode&1)===0&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function Cm(e,t){return t=Hc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Yu(e,t,r,n){return n!==null&&cm(n),Yn(t,e.child,null,r),e=Cm(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sF(e,t,r,n,o,i,l){if(r)return t.flags&256?(t.flags&=-257,n=Xf(Error(S(422))),Yu(e,t,l,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=Hc({mode:"visible",children:n.children},o,0,null),i=Jr(i,o,l,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,(t.mode&1)!==0&&Yn(t,e.child,null,l),t.child.memoizedState=Lp(l),t.memoizedState=Ap,i);if((t.mode&1)===0)return Yu(e,t,l,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var a=n.dgst;return n=a,i=Error(S(419)),n=Xf(i,n,void 0),Yu(e,t,l,n)}if(a=(l&e.childLanes)!==0,Ue||a){if(n=ve,n!==null){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(n.suspendedLanes|l))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Ht(e,o),Et(n,e,o,-1))}return Mm(),n=Xf(Error(S(421))),Yu(e,t,l,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=EF.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ve=Tr(o.nextSibling),We=t,Y=!0,bt=null,e!==null&&(tt[rt++]=Ft,tt[rt++]=Bt,tt[rt++]=en,Ft=e.id,Bt=e.overflow,en=t),t=Cm(t,n.children),t.flags|=4096,t)}function uw(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),kp(e.return,t,r)}function Yf(e,t,r,n,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function YT(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(qe(e,t,n.children,r),n=Z.current,(n&2)!==0)n=n&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&uw(e,r,t);else if(e.tag===19)uw(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(W(Z,n),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Pc(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Yf(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Pc(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Yf(t,!0,r,null,i);break;case"together":Yf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lc(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vt(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),rn|=t.lanes,(r&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,r=Rr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Rr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function uF(e,t,r){switch(t.tag){case 3:GT(t),Xn();break;case 5:TT(t);break;case 1:Fe(t.type)&&_c(t);break;case 4:hm(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;W(Tc,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(W(Z,Z.current&1),t.flags|=128,null):(r&t.child.childLanes)!==0?XT(e,t,r):(W(Z,Z.current&1),e=Vt(e,t,r),e!==null?e.sibling:null);W(Z,Z.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&128)!==0){if(n)return YT(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),W(Z,Z.current),n)break;return null;case 22:case 23:return t.lanes=0,KT(e,t,r)}return Vt(e,t,r)}var JT,Up,ZT,eC;JT=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Up=function(){};ZT=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Xr(kt.current);var i=null;switch(r){case"input":o=ip(e,o),n=ip(e,n),i=[];break;case"select":o=te({},o,{value:void 0}),n=te({},n,{value:void 0}),i=[];break;case"textarea":o=sp(e,o),n=sp(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=gc)}cp(r,n);var l;r=null;for(u in o)if(!n.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(l in a)a.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(hi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in n){var s=n[u];if(a=o?.[u],n.hasOwnProperty(u)&&s!==a&&(s!=null||a!=null))if(u==="style")if(a){for(l in a)!a.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in s)s.hasOwnProperty(l)&&a[l]!==s[l]&&(r||(r={}),r[l]=s[l])}else r||(i||(i=[]),i.push(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,a=a?a.__html:void 0,s!=null&&a!==s&&(i=i||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(hi.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&G("scroll",e),i||a===s||(i=[])):(i=i||[]).push(u,s))}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};eC=function(e,t,r,n){r!==n&&(t.flags|=4)};function ei(e,t){if(!Y)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ce(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function cF(e,t,r){var n=t.pendingProps;switch(um(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ce(t),null;case 1:return Fe(t.type)&&bc(),Ce(t),null;case 3:return n=t.stateNode,Jn(),X(De),X(Pe),gm(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Gu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,bt!==null&&(Vp(bt),bt=null))),Up(e,t),Ce(t),null;case 5:ym(t);var o=Xr(xi.current);if(r=t.type,e!==null&&t.stateNode!=null)ZT(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(S(166));return Ce(t),null}if(e=Xr(kt.current),Gu(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[Rt]=t,n[Pi]=i,e=(t.mode&1)!==0,r){case"dialog":G("cancel",n),G("close",n);break;case"iframe":case"object":case"embed":G("load",n);break;case"video":case"audio":for(o=0;o<li.length;o++)G(li[o],n);break;case"source":G("error",n);break;case"img":case"image":case"link":G("error",n),G("load",n);break;case"details":G("toggle",n);break;case"input":y0(n,i),G("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},G("invalid",n);break;case"textarea":b0(n,i),G("invalid",n)}cp(r,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var a=i[l];l==="children"?typeof a=="string"?n.textContent!==a&&(i.suppressHydrationWarning!==!0&&Qu(n.textContent,a,e),o=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Qu(n.textContent,a,e),o=["children",""+a]):hi.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&G("scroll",n)}switch(r){case"input":Lu(n),g0(n,i,!0);break;case"textarea":Lu(n),_0(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=gc)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=xw(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[Rt]=t,e[Pi]=n,JT(e,t,!1,!1),t.stateNode=e;e:{switch(l=dp(r,n),r){case"dialog":G("cancel",e),G("close",e),o=n;break;case"iframe":case"object":case"embed":G("load",e),o=n;break;case"video":case"audio":for(o=0;o<li.length;o++)G(li[o],e);o=n;break;case"source":G("error",e),o=n;break;case"img":case"image":case"link":G("error",e),G("load",e),o=n;break;case"details":G("toggle",e),o=n;break;case"input":y0(e,n),o=ip(e,n),G("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=te({},n,{value:void 0}),G("invalid",e);break;case"textarea":b0(e,n),o=sp(e,n),G("invalid",e);break;default:o=n}cp(r,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var s=a[i];i==="style"?qw(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&kw(e,s)):i==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&yi(e,s):typeof s=="number"&&yi(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(hi.hasOwnProperty(i)?s!=null&&i==="onScroll"&&G("scroll",e):s!=null&&Qp(e,i,s,l))}switch(r){case"input":Lu(e),g0(e,n,!1);break;case"textarea":Lu(e),_0(e);break;case"option":n.value!=null&&e.setAttribute("value",""+xr(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?zn(e,!!n.multiple,i,!1):n.defaultValue!=null&&zn(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=gc)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ce(t),null;case 6:if(e&&t.stateNode!=null)eC(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(S(166));if(r=Xr(xi.current),Xr(kt.current),Gu(t)){if(n=t.stateNode,r=t.memoizedProps,n[Rt]=t,(i=n.nodeValue!==r)&&(e=We,e!==null))switch(e.tag){case 3:Qu(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Qu(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Rt]=t,t.stateNode=n}return Ce(t),null;case 13:if(X(Z),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Y&&Ve!==null&&(t.mode&1)!==0&&(t.flags&128)===0)gT(),Xn(),t.flags|=98560,i=!1;else if(i=Gu(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(S(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(S(317));i[Rt]=t}else Xn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ce(t),i=!1}else bt!==null&&(Vp(bt),bt=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Z.current&1)!==0?de===0&&(de=3):Mm())),t.updateQueue!==null&&(t.flags|=4),Ce(t),null);case 4:return Jn(),Up(e,t),e===null&&Ci(t.stateNode.containerInfo),Ce(t),null;case 10:return pm(t.type._context),Ce(t),null;case 17:return Fe(t.type)&&bc(),Ce(t),null;case 19:if(X(Z),i=t.memoizedState,i===null)return Ce(t),null;if(n=(t.flags&128)!==0,l=i.rendering,l===null)if(n)ei(i,!1);else{if(de!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Pc(e),l!==null){for(t.flags|=128,ei(i,!1),n=l.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)i=r,e=n,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return W(Z,Z.current&1|2),t.child}e=e.sibling}i.tail!==null&&oe()>eo&&(t.flags|=128,n=!0,ei(i,!1),t.lanes=4194304)}else{if(!n)if(e=Pc(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ei(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Y)return Ce(t),null}else 2*oe()-i.renderingStartTime>eo&&r!==1073741824&&(t.flags|=128,n=!0,ei(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(r=i.last,r!==null?r.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=oe(),t.sibling=null,r=Z.current,W(Z,n?r&1|2:r&1),t):(Ce(t),null);case 22:case 23:return km(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&(t.mode&1)!==0?(He&1073741824)!==0&&(Ce(t),t.subtreeFlags&6&&(t.flags|=8192)):Ce(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function dF(e,t){switch(um(t),t.tag){case 1:return Fe(t.type)&&bc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Jn(),X(De),X(Pe),gm(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ym(t),null;case 13:if(X(Z),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));Xn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return X(Z),null;case 4:return Jn(),null;case 10:return pm(t.type._context),null;case 22:case 23:return km(),null;case 24:return null;default:return null}}var Ju=!1,Se=!1,fF=typeof WeakSet=="function"?WeakSet:Set,k=null;function Bn(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ne(e,t,n)}else r.current=null}function Dp(e,t,r){try{r()}catch(n){ne(e,t,n)}}var cw=!1;function pF(e,t){if(Ep=vc,e=iT(),am(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var l=0,a=-1,s=-1,u=0,f=0,m=e,v=null;t:for(;;){for(var g;m!==r||o!==0&&m.nodeType!==3||(a=l+o),m!==i||n!==0&&m.nodeType!==3||(s=l+n),m.nodeType===3&&(l+=m.nodeValue.length),(g=m.firstChild)!==null;)v=m,m=g;for(;;){if(m===e)break t;if(v===r&&++u===o&&(a=l),v===i&&++f===n&&(s=l),(g=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=g}r=a===-1||s===-1?null:{start:a,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(wp={focusedElem:e,selectionRange:r},vc=!1,k=t;k!==null;)if(t=k,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,k=e;else for(;k!==null;){t=k;try{var E=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var _=E.memoizedProps,P=E.memoizedState,c=t.stateNode,d=c.getSnapshotBeforeUpdate(t.elementType===t.type?_:yt(t.type,_),P);c.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(h){ne(t,t.return,h)}if(e=t.sibling,e!==null){e.return=t.return,k=e;break}k=t.return}return E=cw,cw=!1,E}function pi(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Dp(t,r,i)}o=o.next}while(o!==n)}}function zc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Fp(e){var t=e.ref;if(t!==null){var r=e.stateNode;e.tag,e=r,typeof t=="function"?t(e):t.current=e}}function tC(e){var t=e.alternate;t!==null&&(e.alternate=null,tC(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Rt],delete t[Pi],delete t[Sp],delete t[GD],delete t[XD])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rC(e){return e.tag===5||e.tag===3||e.tag===4}function dw(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rC(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=gc));else if(n!==4&&(e=e.child,e!==null))for(Bp(e,t,r),e=e.sibling;e!==null;)Bp(e,t,r),e=e.sibling}function jp(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(jp(e,t,r),e=e.sibling;e!==null;)jp(e,t,r),e=e.sibling}var ye=null,gt=!1;function pr(e,t,r){for(r=r.child;r!==null;)nC(e,t,r),r=r.sibling}function nC(e,t,r){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(Nc,r)}catch{}switch(r.tag){case 5:Se||Bn(r,t);case 6:var n=ye,o=gt;ye=null,pr(e,t,r),ye=n,gt=o,ye!==null&&(gt?(e=ye,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ye.removeChild(r.stateNode));break;case 18:ye!==null&&(gt?(e=ye,r=r.stateNode,e.nodeType===8?Hf(e.parentNode,r):e.nodeType===1&&Hf(e,r),Ei(e)):Hf(ye,r.stateNode));break;case 4:n=ye,o=gt,ye=r.stateNode.containerInfo,gt=!0,pr(e,t,r),ye=n,gt=o;break;case 0:case 11:case 14:case 15:if(!Se&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&Dp(r,t,l),o=o.next}while(o!==n)}pr(e,t,r);break;case 1:if(!Se&&(Bn(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){ne(r,t,a)}pr(e,t,r);break;case 21:pr(e,t,r);break;case 22:r.mode&1?(Se=(n=Se)||r.memoizedState!==null,pr(e,t,r),Se=n):pr(e,t,r);break;default:pr(e,t,r)}}function fw(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new fF),t.forEach(function(n){var o=wF.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function ht(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:ye=a.stateNode,gt=!1;break e;case 3:ye=a.stateNode.containerInfo,gt=!0;break e;case 4:ye=a.stateNode.containerInfo,gt=!0;break e}a=a.return}if(ye===null)throw Error(S(160));nC(i,l,o),ye=null,gt=!1;var s=o.alternate;s!==null&&(s.return=null),o.return=null}catch(u){ne(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)oC(t,e),t=t.sibling}function oC(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ht(t,e),St(e),n&4){try{pi(3,e,e.return),zc(3,e)}catch(_){ne(e,e.return,_)}try{pi(5,e,e.return)}catch(_){ne(e,e.return,_)}}break;case 1:ht(t,e),St(e),n&512&&r!==null&&Bn(r,r.return);break;case 5:if(ht(t,e),St(e),n&512&&r!==null&&Bn(r,r.return),e.flags&32){var o=e.stateNode;try{yi(o,"")}catch(_){ne(e,e.return,_)}}if(n&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=r!==null?r.memoizedProps:i,a=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Pw(o,i),dp(a,l);var u=dp(a,i);for(l=0;l<s.length;l+=2){var f=s[l],m=s[l+1];f==="style"?qw(o,m):f==="dangerouslySetInnerHTML"?kw(o,m):f==="children"?yi(o,m):Qp(o,f,m,u)}switch(a){case"input":lp(o,i);break;case"textarea":Rw(o,i);break;case"select":var v=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?zn(o,!!i.multiple,g,!1):v!==!!i.multiple&&(i.defaultValue!=null?zn(o,!!i.multiple,i.defaultValue,!0):zn(o,!!i.multiple,i.multiple?[]:"",!1))}o[Pi]=i}catch(_){ne(e,e.return,_)}}break;case 6:if(ht(t,e),St(e),n&4){if(e.stateNode===null)throw Error(S(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(_){ne(e,e.return,_)}}break;case 3:if(ht(t,e),St(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Ei(t.containerInfo)}catch(_){ne(e,e.return,_)}break;case 4:ht(t,e),St(e);break;case 13:ht(t,e),St(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Rm=oe())),n&4&&fw(e);break;case 22:if(f=r!==null&&r.memoizedState!==null,e.mode&1?(Se=(u=Se)||f,ht(t,e),Se=u):ht(t,e),St(e),n&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&(e.mode&1)!==0)for(k=e,f=e.child;f!==null;){for(m=k=f;k!==null;){switch(v=k,g=v.child,v.tag){case 0:case 11:case 14:case 15:pi(4,v,v.return);break;case 1:Bn(v,v.return);var E=v.stateNode;if(typeof E.componentWillUnmount=="function"){n=v,r=v.return;try{t=n,E.props=t.memoizedProps,E.state=t.memoizedState,E.componentWillUnmount()}catch(_){ne(n,r,_)}}break;case 5:Bn(v,v.return);break;case 22:if(v.memoizedState!==null){mw(m);continue}}g!==null?(g.return=v,k=g):mw(m)}f=f.sibling}e:for(f=null,m=e;;){if(m.tag===5){if(f===null){f=m;try{o=m.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=m.stateNode,s=m.memoizedProps.style,l=s!=null&&s.hasOwnProperty("display")?s.display:null,a.style.display=Mw("display",l))}catch(_){ne(e,e.return,_)}}}else if(m.tag===6){if(f===null)try{m.stateNode.nodeValue=u?"":m.memoizedProps}catch(_){ne(e,e.return,_)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;f===m&&(f=null),m=m.return}f===m&&(f=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:ht(t,e),St(e),n&4&&fw(e);break;case 21:break;default:ht(t,e),St(e)}}function St(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(rC(r)){var n=r;break e}r=r.return}throw Error(S(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(yi(o,""),n.flags&=-33);var i=dw(e);jp(e,i,o);break;case 3:case 4:var l=n.stateNode.containerInfo,a=dw(e);Bp(e,a,l);break;default:throw Error(S(161))}}catch(s){ne(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function mF(e,t,r){k=e,iC(e,t,r)}function iC(e,t,r){for(var n=(e.mode&1)!==0;k!==null;){var o=k,i=o.child;if(o.tag===22&&n){var l=o.memoizedState!==null||Ju;if(!l){var a=o.alternate,s=a!==null&&a.memoizedState!==null||Se;a=Ju;var u=Se;if(Ju=l,(Se=s)&&!u)for(k=o;k!==null;)l=k,s=l.child,l.tag===22&&l.memoizedState!==null?vw(o):s!==null?(s.return=l,k=s):vw(o);for(;i!==null;)k=i,iC(i,t,r),i=i.sibling;k=o,Ju=a,Se=u}pw(e,t,r)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,k=i):pw(e,t,r)}}function pw(e){for(;k!==null;){var t=k;if((t.flags&8772)!==0){var r=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:Se||zc(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!Se)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:yt(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Y0(t,i,n);break;case 3:var l=t.updateQueue;if(l!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}Y0(t,l,r)}break;case 5:var a=t.stateNode;if(r===null&&t.flags&4){r=a;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src&&(r.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var f=u.memoizedState;if(f!==null){var m=f.dehydrated;m!==null&&Ei(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(S(163))}Se||t.flags&512&&Fp(t)}catch(v){ne(t,t.return,v)}}if(t===e){k=null;break}if(r=t.sibling,r!==null){r.return=t.return,k=r;break}k=t.return}}function mw(e){for(;k!==null;){var t=k;if(t===e){k=null;break}var r=t.sibling;if(r!==null){r.return=t.return,k=r;break}k=t.return}}function vw(e){for(;k!==null;){var t=k;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{zc(4,t)}catch(s){ne(t,r,s)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(s){ne(t,o,s)}}var i=t.return;try{Fp(t)}catch(s){ne(t,i,s)}break;case 5:var l=t.return;try{Fp(t)}catch(s){ne(t,l,s)}}}catch(s){ne(t,t.return,s)}if(t===e){k=null;break}var a=t.sibling;if(a!==null){a.return=t.return,k=a;break}k=t.return}}var vF=Math.ceil,kc=Wt.ReactCurrentDispatcher,Sm=Wt.ReactCurrentOwner,ot=Wt.ReactCurrentBatchConfig,B=0,ve=null,ie=null,ge=0,He=0,jn=qr(0),de=0,Oi=null,rn=0,$c=0,Pm=0,mi=null,Le=null,Rm=0,eo=1/0,Ut=null,Mc=!1,zp=null,Sr=null,Zu=!1,br=null,qc=0,vi=0,$p=null,ac=-1,sc=0;function Oe(){return(B&6)!==0?oe():ac!==-1?ac:ac=oe()}function Pr(e){return(e.mode&1)===0?1:(B&2)!==0&&ge!==0?ge&-ge:JD.transition!==null?(sc===0&&(sc=$w()),sc):(e=j,e!==0||(e=window.event,e=e===void 0?16:Xw(e.type)),e)}function Et(e,t,r,n){if(50<vi)throw vi=0,$p=null,Error(S(185));Ii(e,r,n),((B&2)===0||e!==ve)&&(e===ve&&((B&2)===0&&($c|=r),de===4&&yr(e,ge)),Be(e,n),r===1&&B===0&&(t.mode&1)===0&&(eo=oe()+500,Fc&&Or()))}function Be(e,t){var r=e.callbackNode;eD(e,t);var n=mc(e,e===ve?ge:0);if(n===0)r!==null&&T0(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&T0(r),t===1)e.tag===0?YD(hw.bind(null,e)):vT(hw.bind(null,e)),KD(function(){(B&6)===0&&Or()}),r=null;else{switch(Hw(n)){case 1:r=Zp;break;case 4:r=jw;break;case 16:r=pc;break;case 536870912:r=zw;break;default:r=pc}r=pC(r,lC.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function lC(e,t){if(ac=-1,sc=0,(B&6)!==0)throw Error(S(327));var r=e.callbackNode;if(Kn()&&e.callbackNode!==r)return null;var n=mc(e,e===ve?ge:0);if(n===0)return null;if((n&30)!==0||(n&e.expiredLanes)!==0||t)t=Oc(e,n);else{t=n;var o=B;B|=2;var i=sC();(ve!==e||ge!==t)&&(Ut=null,eo=oe()+500,Yr(e,t));do try{gF();break}catch(a){aC(e,a)}while(!0);fm(),kc.current=i,B=o,ie!==null?t=0:(ve=null,ge=0,t=de)}if(t!==0){if(t===2&&(o=hp(e),o!==0&&(n=o,t=Hp(e,o))),t===1)throw r=Oi,Yr(e,0),yr(e,n),Be(e,oe()),r;if(t===6)yr(e,n);else{if(o=e.current.alternate,(n&30)===0&&!hF(o)&&(t=Oc(e,n),t===2&&(i=hp(e),i!==0&&(n=i,t=Hp(e,i))),t===1))throw r=Oi,Yr(e,0),yr(e,n),Be(e,oe()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(S(345));case 2:Kr(e,Le,Ut);break;case 3:if(yr(e,n),(n&130023424)===n&&(t=Rm+500-oe(),10<t)){if(mc(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Oe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Cp(Kr.bind(null,e,Le,Ut),t);break}Kr(e,Le,Ut);break;case 4:if(yr(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var l=31-_t(n);i=1<<l,l=t[l],l>o&&(o=l),n&=~i}if(n=o,n=oe()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*vF(n/1960))-n,10<n){e.timeoutHandle=Cp(Kr.bind(null,e,Le,Ut),n);break}Kr(e,Le,Ut);break;case 5:Kr(e,Le,Ut);break;default:throw Error(S(329))}}}return Be(e,oe()),e.callbackNode===r?lC.bind(null,e):null}function Hp(e,t){var r=mi;return e.current.memoizedState.isDehydrated&&(Yr(e,t).flags|=256),e=Oc(e,t),e!==2&&(t=Le,Le=r,t!==null&&Vp(t)),e}function Vp(e){Le===null?Le=e:Le.push.apply(Le,e)}function hF(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!wt(i(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yr(e,t){for(t&=~Pm,t&=~$c,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-_t(t),n=1<<r;e[r]=-1,t&=~n}}function hw(e){if((B&6)!==0)throw Error(S(327));Kn();var t=mc(e,0);if((t&1)===0)return Be(e,oe()),null;var r=Oc(e,t);if(e.tag!==0&&r===2){var n=hp(e);n!==0&&(t=n,r=Hp(e,n))}if(r===1)throw r=Oi,Yr(e,0),yr(e,t),Be(e,oe()),r;if(r===6)throw Error(S(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Kr(e,Le,Ut),Be(e,oe()),null}function xm(e,t){var r=B;B|=1;try{return e(t)}finally{B=r,B===0&&(eo=oe()+500,Fc&&Or())}}function nn(e){br!==null&&br.tag===0&&(B&6)===0&&Kn();var t=B;B|=1;var r=ot.transition,n=j;try{if(ot.transition=null,j=1,e)return e()}finally{j=n,ot.transition=r,B=t,(B&6)===0&&Or()}}function km(){He=jn.current,X(jn)}function Yr(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,WD(r)),ie!==null)for(r=ie.return;r!==null;){var n=r;switch(um(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&bc();break;case 3:Jn(),X(De),X(Pe),gm();break;case 5:ym(n);break;case 4:Jn();break;case 13:X(Z);break;case 19:X(Z);break;case 10:pm(n.type._context);break;case 22:case 23:km()}r=r.return}if(ve=e,ie=e=Rr(e.current,null),ge=He=t,de=0,Oi=null,Pm=$c=rn=0,Le=mi=null,Gr!==null){for(t=0;t<Gr.length;t++)if(r=Gr[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,i=r.pending;if(i!==null){var l=i.next;i.next=o,n.next=l}r.pending=n}Gr=null}return e}function aC(e,t){do{var r=ie;try{if(fm(),oc.current=xc,Rc){for(var n=ee.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Rc=!1}if(tn=0,me=ce=ee=null,fi=!1,ki=0,Sm.current=null,r===null||r.return===null){de=1,Oi=t,ie=null;break}e:{var i=e,l=r.return,a=r,s=t;if(t=ge,a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,f=a,m=f.tag;if((f.mode&1)===0&&(m===0||m===11||m===15)){var v=f.alternate;v?(f.updateQueue=v.updateQueue,f.memoizedState=v.memoizedState,f.lanes=v.lanes):(f.updateQueue=null,f.memoizedState=null)}var g=nw(l);if(g!==null){g.flags&=-257,ow(g,l,a,i,t),g.mode&1&&rw(i,u,t),t=g,s=u;var E=t.updateQueue;if(E===null){var _=new Set;_.add(s),t.updateQueue=_}else E.add(s);break e}else{if((t&1)===0){rw(i,u,t),Mm();break e}s=Error(S(426))}}else if(Y&&a.mode&1){var P=nw(l);if(P!==null){(P.flags&65536)===0&&(P.flags|=256),ow(P,l,a,i,t),cm(Zn(s,a));break e}}i=s=Zn(s,a),de!==4&&(de=2),mi===null?mi=[i]:mi.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var c=HT(i,s,t);X0(i,c);break e;case 1:a=s;var d=i.type,p=i.stateNode;if((i.flags&128)===0&&(typeof d.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Sr===null||!Sr.has(p)))){i.flags|=65536,t&=-t,i.lanes|=t;var h=VT(i,a,t);X0(i,h);break e}}i=i.return}while(i!==null)}cC(r)}catch(b){t=b,ie===r&&r!==null&&(ie=r=r.return);continue}break}while(!0)}function sC(){var e=kc.current;return kc.current=xc,e===null?xc:e}function Mm(){(de===0||de===3||de===2)&&(de=4),ve===null||(rn&268435455)===0&&($c&268435455)===0||yr(ve,ge)}function Oc(e,t){var r=B;B|=2;var n=sC();(ve!==e||ge!==t)&&(Ut=null,Yr(e,t));do try{yF();break}catch(o){aC(e,o)}while(!0);if(fm(),B=r,kc.current=n,ie!==null)throw Error(S(261));return ve=null,ge=0,de}function yF(){for(;ie!==null;)uC(ie)}function gF(){for(;ie!==null&&!V2();)uC(ie)}function uC(e){var t=fC(e.alternate,e,He);e.memoizedProps=e.pendingProps,t===null?cC(e):ie=t,Sm.current=null}function cC(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&32768)===0){if(r=cF(r,t,He),r!==null){ie=r;return}}else{if(r=dF(r,t),r!==null){r.flags&=32767,ie=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{de=6,ie=null;return}}if(t=t.sibling,t!==null){ie=t;return}ie=t=e}while(t!==null);de===0&&(de=5)}function Kr(e,t,r){var n=j,o=ot.transition;try{ot.transition=null,j=1,bF(e,t,r,n)}finally{ot.transition=o,j=n}return null}function bF(e,t,r,n){do Kn();while(br!==null);if((B&6)!==0)throw Error(S(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(S(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(tD(e,i),e===ve&&(ie=ve=null,ge=0),(r.subtreeFlags&2064)===0&&(r.flags&2064)===0||Zu||(Zu=!0,pC(pc,function(){return Kn(),null})),i=(r.flags&15990)!==0,(r.subtreeFlags&15990)!==0||i){i=ot.transition,ot.transition=null;var l=j;j=1;var a=B;B|=4,Sm.current=null,pF(e,r),oC(r,e),jD(wp),vc=!!Ep,wp=Ep=null,e.current=r,mF(r,e,o),W2(),B=a,j=l,ot.transition=i}else e.current=r;if(Zu&&(Zu=!1,br=e,qc=o),i=e.pendingLanes,i===0&&(Sr=null),G2(r.stateNode,n),Be(e,oe()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(Mc)throw Mc=!1,e=zp,zp=null,e;return(qc&1)!==0&&e.tag!==0&&Kn(),i=e.pendingLanes,(i&1)!==0?e===$p?vi++:(vi=0,$p=e):vi=0,Or(),null}function Kn(){if(br!==null){var e=Hw(qc),t=ot.transition,r=j;try{if(ot.transition=null,j=16>e?16:e,br===null)var n=!1;else{if(e=br,br=null,qc=0,(B&6)!==0)throw Error(S(331));var o=B;for(B|=4,k=e.current;k!==null;){var i=k,l=i.child;if((k.flags&16)!==0){var a=i.deletions;if(a!==null){for(var s=0;s<a.length;s++){var u=a[s];for(k=u;k!==null;){var f=k;switch(f.tag){case 0:case 11:case 15:pi(8,f,i)}var m=f.child;if(m!==null)m.return=f,k=m;else for(;k!==null;){f=k;var v=f.sibling,g=f.return;if(tC(f),f===u){k=null;break}if(v!==null){v.return=g,k=v;break}k=g}}}var E=i.alternate;if(E!==null){var _=E.child;if(_!==null){E.child=null;do{var P=_.sibling;_.sibling=null,_=P}while(_!==null)}}k=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,k=l;else e:for(;k!==null;){if(i=k,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:pi(9,i,i.return)}var c=i.sibling;if(c!==null){c.return=i.return,k=c;break e}k=i.return}}var d=e.current;for(k=d;k!==null;){l=k;var p=l.child;if((l.subtreeFlags&2064)!==0&&p!==null)p.return=l,k=p;else e:for(l=d;k!==null;){if(a=k,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:zc(9,a)}}catch(b){ne(a,a.return,b)}if(a===l){k=null;break e}var h=a.sibling;if(h!==null){h.return=a.return,k=h;break e}k=a.return}}if(B=o,Or(),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(Nc,e)}catch{}n=!0}return n}finally{j=r,ot.transition=t}}return!1}function yw(e,t,r){t=Zn(r,t),t=HT(e,t,1),e=Cr(e,t,1),t=Oe(),e!==null&&(Ii(e,1,t),Be(e,t))}function ne(e,t,r){if(e.tag===3)yw(e,e,r);else for(;t!==null;){if(t.tag===3){yw(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Sr===null||!Sr.has(n))){e=Zn(r,e),e=VT(t,e,1),t=Cr(t,e,1),e=Oe(),t!==null&&(Ii(t,1,e),Be(t,e));break}}t=t.return}}function _F(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Oe(),e.pingedLanes|=e.suspendedLanes&r,ve===e&&(ge&r)===r&&(de===4||de===3&&(ge&130023424)===ge&&500>oe()-Rm?Yr(e,0):Pm|=r),Be(e,t)}function dC(e,t){t===0&&((e.mode&1)===0?t=1:(t=Fu,Fu<<=1,(Fu&130023424)===0&&(Fu=4194304)));var r=Oe();e=Ht(e,t),e!==null&&(Ii(e,t,r),Be(e,r))}function EF(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),dC(e,r)}function wF(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(S(314))}n!==null&&n.delete(t),dC(e,r)}var fC;fC=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||De.current)Ue=!0;else{if((e.lanes&r)===0&&(t.flags&128)===0)return Ue=!1,uF(e,t,r);Ue=(e.flags&131072)!==0}else Ue=!1,Y&&(t.flags&1048576)!==0&&hT(t,wc,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;lc(e,t),e=t.pendingProps;var o=Gn(t,Pe.current);Wn(t,r),o=_m(null,t,n,e,o,r);var i=Em();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(n)?(i=!0,_c(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,vm(t),o.updater=jc,t.stateNode=o,o._reactInternals=t,qp(t,n,e,r),t=Np(null,t,n,!0,i,r)):(t.tag=0,Y&&i&&sm(t),qe(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(lc(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=CF(n),e=yt(n,e),o){case 0:t=Ip(null,t,n,e,r);break e;case 1:t=aw(null,t,n,e,r);break e;case 11:t=iw(null,t,n,e,r);break e;case 14:t=lw(null,t,n,yt(n.type,e),r);break e}throw Error(S(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),Ip(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),aw(e,t,n,o,r);case 3:e:{if(GT(t),e===null)throw Error(S(387));n=t.pendingProps,i=t.memoizedState,o=i.element,wT(e,t),Sc(t,n,null,r);var l=t.memoizedState;if(n=l.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Zn(Error(S(423)),t),t=sw(e,t,n,r,o);break e}else if(n!==o){o=Zn(Error(S(424)),t),t=sw(e,t,n,r,o);break e}else for(Ve=Tr(t.stateNode.containerInfo.firstChild),We=t,Y=!0,bt=null,r=_T(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Xn(),n===o){t=Vt(e,t,r);break e}qe(e,t,n,r)}t=t.child}return t;case 5:return TT(t),e===null&&xp(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Tp(n,o)?l=null:i!==null&&Tp(n,i)&&(t.flags|=32),QT(e,t),qe(e,t,l,r),t.child;case 6:return e===null&&xp(t),null;case 13:return XT(e,t,r);case 4:return hm(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Yn(t,null,n,r):qe(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),iw(e,t,n,o,r);case 7:return qe(e,t,t.pendingProps,r),t.child;case 8:return qe(e,t,t.pendingProps.children,r),t.child;case 12:return qe(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,W(Tc,n._currentValue),n._currentValue=l,i!==null)if(wt(i.value,l)){if(i.children===o.children&&!De.current){t=Vt(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var s=a.firstContext;s!==null;){if(s.context===n){if(i.tag===1){s=jt(-1,r&-r),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?s.next=s:(s.next=f.next,f.next=s),u.pending=s}}i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),kp(i.return,r,t),a.lanes|=r;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(S(341));l.lanes|=r,a=l.alternate,a!==null&&(a.lanes|=r),kp(l,r,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}qe(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Wn(t,r),o=it(o),n=n(o),t.flags|=1,qe(e,t,n,r),t.child;case 14:return n=t.type,o=yt(n,t.pendingProps),o=yt(n.type,o),lw(e,t,n,o,r);case 15:return WT(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:yt(n,o),lc(e,t),t.tag=1,Fe(n)?(e=!0,_c(t)):e=!1,Wn(t,r),$T(t,n,o),qp(t,n,o,r),Np(null,t,n,!0,e,r);case 19:return YT(e,t,r);case 22:return KT(e,t,r)}throw Error(S(156,t.tag))};function pC(e,t){return Bw(e,t)}function TF(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function nt(e,t,r,n){return new TF(e,t,r,n)}function qm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function CF(e){if(typeof e=="function")return qm(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Xp)return 11;if(e===Yp)return 14}return 2}function Rr(e,t){var r=e.alternate;return r===null?(r=nt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function uc(e,t,r,n,o,i){var l=2;if(n=e,typeof e=="function")qm(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case qn:return Jr(r.children,o,i,t);case Gp:l=8,o|=8;break;case tp:return e=nt(12,r,t,o|2),e.elementType=tp,e.lanes=i,e;case rp:return e=nt(13,r,t,o),e.elementType=rp,e.lanes=i,e;case np:return e=nt(19,r,t,o),e.elementType=np,e.lanes=i,e;case Tw:return Hc(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ew:l=10;break e;case ww:l=9;break e;case Xp:l=11;break e;case Yp:l=14;break e;case mr:l=16,n=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=nt(l,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function Jr(e,t,r,n){return e=nt(7,e,n,t),e.lanes=r,e}function Hc(e,t,r,n){return e=nt(22,e,n,t),e.elementType=Tw,e.lanes=r,e.stateNode={isHidden:!1},e}function Jf(e,t,r){return e=nt(6,e,null,t),e.lanes=r,e}function Zf(e,t,r){return t=nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function SF(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Lf(0),this.expirationTimes=Lf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lf(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Om(e,t,r,n,o,i,l,a,s){return e=new SF(e,t,r,a,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=nt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},vm(i),e}function PF(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Mn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function mC(e){if(!e)return kr;e=e._reactInternals;e:{if(ln(e)!==e||e.tag!==1)throw Error(S(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(S(171))}if(e.tag===1){var r=e.type;if(Fe(r))return mT(e,r,t)}return t}function vC(e,t,r,n,o,i,l,a,s){return e=Om(r,n,!0,e,o,i,l,a,s),e.context=mC(null),r=e.current,n=Oe(),o=Pr(r),i=jt(n,o),i.callback=t??null,Cr(r,i,o),e.current.lanes=o,Ii(e,o,n),Be(e,n),e}function Vc(e,t,r,n){var o=t.current,i=Oe(),l=Pr(o);return r=mC(r),t.context===null?t.context=r:t.pendingContext=r,t=jt(i,l),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=Cr(o,t,l),e!==null&&(Et(e,o,l,i),nc(e,o,l)),l}function Ic(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function gw(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Im(e,t){gw(e,t),(e=e.alternate)&&gw(e,t)}function RF(){return null}var hC=typeof reportError=="function"?reportError:function(e){console.error(e)};function Nm(e){this._internalRoot=e}Wc.prototype.render=Nm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(S(409));Vc(e,t,null,null)};Wc.prototype.unmount=Nm.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;nn(function(){Vc(null,e,null,null)}),t[$t]=null}};function Wc(e){this._internalRoot=e}Wc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Kw();e={blockedOn:null,target:e,priority:t};for(var r=0;r<hr.length&&t!==0&&t<hr[r].priority;r++);hr.splice(r,0,e),r===0&&Gw(e)}};function Am(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Kc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function bw(){}function xF(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var u=Ic(l);i.call(u)}}var l=vC(t,n,e,0,null,!1,!1,"",bw);return e._reactRootContainer=l,e[$t]=l.current,Ci(e.nodeType===8?e.parentNode:e),nn(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var a=n;n=function(){var u=Ic(s);a.call(u)}}var s=Om(e,0,!1,null,null,!1,!1,"",bw);return e._reactRootContainer=s,e[$t]=s.current,Ci(e.nodeType===8?e.parentNode:e),nn(function(){Vc(t,s,r,n)}),s}function Qc(e,t,r,n,o){var i=r._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var a=o;o=function(){var s=Ic(l);a.call(s)}}Vc(t,l,e,o)}else l=xF(r,t,e,o,n);return Ic(l)}Vw=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=ii(t.pendingLanes);r!==0&&(em(t,r|1),Be(t,oe()),(B&6)===0&&(eo=oe()+500,Or()))}break;case 13:nn(function(){var n=Ht(e,1);if(n!==null){var o=Oe();Et(n,e,1,o)}}),Im(e,1)}};tm=function(e){if(e.tag===13){var t=Ht(e,134217728);if(t!==null){var r=Oe();Et(t,e,134217728,r)}Im(e,134217728)}};Ww=function(e){if(e.tag===13){var t=Pr(e),r=Ht(e,t);if(r!==null){var n=Oe();Et(r,e,t,n)}Im(e,t)}};Kw=function(){return j};Qw=function(e,t){var r=j;try{return j=e,t()}finally{j=r}};pp=function(e,t,r){switch(t){case"input":if(lp(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=Dc(n);if(!o)throw Error(S(90));Sw(n),lp(n,o)}}}break;case"textarea":Rw(e,r);break;case"select":t=r.value,t!=null&&zn(e,!!r.multiple,t,!1)}};Nw=xm;Aw=nn;var kF={usingClientEntryPoint:!1,Events:[Ai,An,Dc,Ow,Iw,xm]},ti={findFiberByHostInstance:Qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},MF={bundleType:ti.bundleType,version:ti.version,rendererPackageName:ti.rendererPackageName,rendererConfig:ti.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Wt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Dw(e),e===null?null:e.stateNode},findFiberByHostInstance:ti.findFiberByHostInstance||RF,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(ri=__REACT_DEVTOOLS_GLOBAL_HOOK__,!ri.isDisabled&&ri.supportsFiber))try{Nc=ri.inject(MF),xt=ri}catch{}var ri;Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kF;Ge.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Am(t))throw Error(S(200));return PF(e,t,null,r)};Ge.createRoot=function(e,t){if(!Am(e))throw Error(S(299));var r=!1,n="",o=hC;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Om(e,1,!1,null,null,r,!1,n,o),e[$t]=t.current,Ci(e.nodeType===8?e.parentNode:e),new Nm(t)};Ge.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(S(188)):(e=Object.keys(e).join(","),Error(S(268,e)));return e=Dw(t),e=e===null?null:e.stateNode,e};Ge.flushSync=function(e){return nn(e)};Ge.hydrate=function(e,t,r){if(!Kc(t))throw Error(S(200));return Qc(null,e,t,!0,r)};Ge.hydrateRoot=function(e,t,r){if(!Am(e))throw Error(S(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",l=hC;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(l=r.onRecoverableError)),t=vC(t,null,e,1,r??null,o,!1,i,l),e[$t]=t.current,Ci(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Wc(t)};Ge.render=function(e,t,r){if(!Kc(t))throw Error(S(200));return Qc(null,e,t,!1,r)};Ge.unmountComponentAtNode=function(e){if(!Kc(e))throw Error(S(40));return e._reactRootContainer?(nn(function(){Qc(null,null,e,!1,function(){e._reactRootContainer=null,e[$t]=null})}),!0):!1};Ge.unstable_batchedUpdates=xm;Ge.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Kc(r))throw Error(S(200));if(e==null||e._reactInternals===void 0)throw Error(S(38));return Qc(e,t,r,!1,n)};Ge.version="18.3.1-next-f1338f8080-20240426"});var _C=y((x5,bC)=>{"use strict";function gC(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gC)}catch(e){console.error(e)}}gC(),bC.exports=yC()});var wC=y(Lm=>{"use strict";var EC=_C();Lm.createRoot=EC.createRoot,Lm.hydrateRoot=EC.hydrateRoot;var k5});function NC(){let e=globalThis;return typeof e.__TESTSPECTRA_STEP_DELAY_MS__=="number"?e.__TESTSPECTRA_STEP_DELAY_MS__:typeof window<"u"&&typeof window.__TESTSPECTRA_STEP_DELAY_MS__=="number"?window.__TESTSPECTRA_STEP_DELAY_MS__:0}var AC=5e3;function Di(e,t){let r=globalThis;(typeof r.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean"?r.__TESTSPECTRA_SEMANTIC_REPORTER__:!(typeof window<"u"&&typeof window.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean")||window.__TESTSPECTRA_SEMANTIC_REPORTER__)&&console.log(`[${e}] ${t}`)}function Yc(){return AC}function LC(){return Math.min(Yc(),2e3)}async function UC(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);Di("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let l=await r(),a=Date.now()-i;Di("TESTSPECTRA_STEP_PASS",`${o} (${a}ms)`);let s=NC();return s>0&&await new Promise(u=>setTimeout(u,s)),l}catch(l){let a=Date.now()-i;throw Di("TESTSPECTRA_STEP_FAIL",`${o} (${a}ms)`),l}}async function DC(e,t,r=15){let n=t??Yc(),o=Date.now();for(;Date.now()-o<n;){try{if(await e())return!0}catch{}await new Promise(i=>setTimeout(i,r))}try{return await e()}catch{return!1}}function FC(e,t){if(!e||e==="*"||e==="**"||e==="ALL")return!0;if(e.startsWith("/")&&e.endsWith("/"))try{return new RegExp(e.slice(1,-1)).test(t)}catch{}if(e.includes("*")){let r=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*");try{return new RegExp(r,"i").test(t)}catch{}}return t.toLowerCase().includes(e.toLowerCase())}function BC(e){let t={respondWith:async()=>{throw new Error("Spectra.intercept() is not supported in component testing mode.")},respondOnce:async()=>{throw new Error("Spectra.intercept() is not supported in component testing mode.")},abort:async()=>{throw new Error("Spectra.intercept() is not supported in component testing mode.")},waitForCall:async()=>{throw new Error("Spectra.intercept() is not supported in component testing mode.")}};return t.callCount=Object.assign(()=>e.callCount,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(t,"calls",{get:()=>e.calls,enumerable:!0}),t}function jC(){return{pattern:"*",method:"GET",response:void 0,statusCode:200,callCount:0,respondOnceQueue:[],calls:[],waitResolvers:[]}}globalThis.__TS_RUNTIME__={config:{rootDir:"",activePlatform:"web",configuredBaseUrl:"",cdpWsUrl:"",driverServerUrl:""},activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:Di,trackStep:UC,pollCondition:DC,getImplicitWaitMs:Yc,getAssertionTimeoutMs:LC,matchesUrlPattern:FC,createMockHandle:BC,parseMockRule:jC,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};function zC(e,t){let r=()=>globalThis.__TS_RUNTIME__.activeDriver;async function n(p){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function l(p){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"type",target:e,args:[p]},async()=>{await r().setValue(e,p,t)})}async function a(p,h){h?.clearFirst&&await s(),await l(p)}async function s(){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await s()}async function f(p){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"select",target:e,args:[p]},async()=>{await r().select(e,p,t)})}async function m(p){await f(p)}async function v(){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function g(){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function E(){await v()}async function _(p){let h=typeof p=="string"?p:p?.selector||String(p);return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"dragDrop",target:e,args:[h]},async()=>{await r().dragDrop(e,h,t)})}async function P(p){await _(p)}async function c(p){let h=typeof p=="number"?p:p?.duration||1e3;return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"longPress",target:e,args:[h]},async()=>{await r().longPress(e,h,t)})}async function d(){return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}return{click:n,doubleClick:o,rightClick:i,setValue:l,type:a,clearValue:s,clear:u,select:f,selectByVisibleText:m,hover:v,focus:g,moveTo:E,dragDrop:_,dragAndDrop:P,longPress:c,scrollIntoView:d}}globalThis.__TS_RUNTIME__.createElementActions=zC;function $C(e,t){let r=()=>globalThis.__TS_RUNTIME__.activeDriver,n=typeof e=="string"?e:e.selector;async function o(){return await r().getText(e,t)}async function i(){return await r().getValue(e,t)}async function l(){return await r().isDisplayed(e,t)}async function a(){return await l()}async function s(){return await r().isExisting(e,t)}async function u(){return await r().isEnabled(e,t)}async function f(){return await r().isSelected(e,t)}async function m(){return await f()}async function v(){return await r().isFocused(e,t)}async function g(c){return await r().getAttribute(e,c,t)}async function E(c){return await r().getCSSProperty(e,c,t)}async function _(c){let d=c??globalThis.__TS_RUNTIME__.getImplicitWaitMs();if(await globalThis.__TS_RUNTIME__.pollCondition(async()=>r().isExisting(e,t),d))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function P(c={}){let d=c.timeout||5e3,p=Date.now();for(;Date.now()-p<d;){if(await r().isDisplayed(e,t))return!0;await new Promise(h=>setTimeout(h,20))}throw new Error(`Element ${n} not displayed after ${d}ms`)}return{getText:o,getValue:i,isDisplayed:l,isVisible:a,isExisting:s,isEnabled:u,isSelected:f,isChecked:m,isFocused:v,getAttribute:g,getCSSProperty:E,waitForElement:_,waitForDisplayed:P}}globalThis.__TS_RUNTIME__.createElementState=$C;function HC(e,t,r){let n=()=>globalThis.__TS_RUNTIME__.activeDriver,o=typeof e=="string"?e:e.selector;async function i(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(()=>r.isVisible(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to be visible`)})}async function l(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await r.isVisible(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to be visible`)})}async function a(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(()=>r.isExisting(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function s(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await r.isExisting(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(()=>r.isEnabled(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to be enabled`)})}async function f(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await r.isEnabled(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to be disabled`)})}async function m(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(()=>n().isClickable(e,t),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to be clickable`)})}async function v(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await n().isClickable(e,t),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function g(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(()=>r.isChecked(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to be checked`)})}async function E(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await r.isChecked(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to be checked`)})}async function _(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(()=>r.isFocused(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to be focused`)})}async function P(T){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await r.isFocused(),T?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to be focused`)})}async function c(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.value",target:e,args:[T]},async()=>{let N="";if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(N=await r.getValue(),N===String(T)),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to have value "${T}", but got "${N}"`)})}async function d(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.have.value",target:e,args:[T]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>await r.getValue()!==String(T),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to have value "${T}"`)})}async function p(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"contain.value",target:e,args:[T]},async()=>{let N="";if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(N=await r.getValue(),N.includes(String(T))),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to contain value "${T}", but got "${N}"`)})}async function h(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[T]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!(await r.getValue()).includes(String(T)),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to contain value "${T}"`)})}async function b(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.text",target:e,args:[T]},async()=>{let N="";if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(N=await r.getText(),T instanceof RegExp?T.test(N):N===String(T)||N.trim()===String(T).trim()),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw T instanceof RegExp?new Error(`Expected element "${o}" text to match ${T}, but got "${N}"`):new Error(`Expected element "${o}" to have text "${T}", but got "${N}"`)})}async function C(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.have.text",target:e,args:[T]},async()=>{let N="";if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>await r.isExisting()?(N=await r.getText(),T instanceof RegExp?!T.test(N):N!==String(T)&&N.trim()!==String(T).trim()):!1,q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw T instanceof RegExp?new Error(`Expected element "${o}" text not to match ${T}`):new Error(`Expected element "${o}" not to have text "${T}"`)})}async function w(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"contain.text",target:e,args:[T]},async()=>{let N="";if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(N=await r.getText(),N.includes(String(T))),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to contain text "${T}", but got "${N}"`)})}async function x(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[T]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!(await r.getText()).includes(String(T)),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to contain text "${T}"`)})}async function I(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.class",target:e,args:[T]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(()=>n().hasClass(e,T,t),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to have class "${T}"`)})}async function O(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.have.class",target:e,args:[T]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await n().hasClass(e,T,t),q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to have class "${T}"`)})}async function z(T,q,N){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.attr",target:e,args:q!==void 0?[T,q]:[T]},async()=>{let K=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(K=await r.getAttribute(T),q!==void 0?K===String(q):K!==null),N?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw q!==void 0?new Error(`Expected element "${o}" to have attribute "${T}" = "${q}", but got "${K}"`):new Error(`Expected element "${o}" to have attribute "${T}"`)})}async function L(T,q){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[T]},async()=>{if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>await r.getAttribute(T)===null,q?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to have attribute "${T}"`)})}async function le(T,q,N){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.css",target:e,args:[T,q]},async()=>{let K=je=>String(je??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),F="";if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(F=(await r.getCSSProperty(T)).value,K(F)===K(q)),N?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" to have CSS "${T}" = "${q}", but got "${F}"`)})}async function Re(T,q,N){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.have.css",target:e,args:[T,q]},async()=>{let K=Xe=>String(Xe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let Xe=await r.getCSSProperty(T);return K(Xe.value)!==K(q)},N?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected element "${o}" not to have CSS "${T}" = "${q}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:l,shouldExist:a,shouldNotExist:s,shouldBeEnabled:u,shouldBeDisabled:f,shouldBeClickable:m,shouldNotBeClickable:v,shouldBeChecked:g,shouldNotBeChecked:E,shouldBeFocused:_,shouldNotBeFocused:P,shouldHaveValue:c,shouldNotHaveValue:d,shouldContainValue:p,shouldNotContainValue:h,shouldHaveText:b,shouldNotHaveText:C,shouldContainText:w,shouldNotContainText:x,shouldHaveClass:I,shouldNotHaveClass:O,shouldHaveAttribute:z,shouldNotHaveAttribute:L,shouldHaveCss:le,shouldNotHaveCss:Re}}globalThis.__TS_RUNTIME__.createElementAssertions=HC;function Fm(e){return typeof e=="string"?e:e.selector}function Dm(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function VC(e,t=null){let r=Fm(e),n=typeof e=="string"?t:e.index,o=globalThis.__TS_RUNTIME__.createElementActions(e,t),i=globalThis.__TS_RUNTIME__.createElementState(e,t),l=globalThis.__TS_RUNTIME__.createElementAssertions(e,t,i);return{selector:r,index:n,...o,...i,...l,get(a,s=null){return globalThis.__TS_RUNTIME__.createElementProxy({selector:a,index:s,parent:Dm(e,t)},null)},getAll(a){return globalThis.__TS_RUNTIME__.createCollectionProxy({selector:a,index:null,parent:Dm(e,t)})}}}function WC(e){let t=()=>globalThis.__TS_RUNTIME__.activeDriver,r=Fm(e),n=i=>typeof e=="string"?[e,i]:[{...e,index:i},null];return{selector:r,async count(){return await t().count(e)},get length(){return this.count()},first(){return globalThis.__TS_RUNTIME__.createElementProxy(...n(0))},last(){return globalThis.__TS_RUNTIME__.createElementProxy(...n(-1))},nth(i){return globalThis.__TS_RUNTIME__.createElementProxy(...n(i))},async shouldHaveLength(i,l){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let a=0;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(a=await this.count(),a===i),l?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${a}`)})},async shouldNotHaveLength(i,l){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let a=0;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(a=await this.count(),a!==i),l?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,l){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let a=0;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(a=await this.count(),a>i),l?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${a}`)})},async shouldHaveLengthLessThan(i,l){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let a=0;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(a=await this.count(),a<i),l?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${a}`)})},async shouldBeEmpty(i){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let l=0;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(l=await this.count(),l===0),i?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected collection "${r}" to be empty, but got ${l}`)})},async shouldNotBeEmpty(i){return globalThis.__TS_RUNTIME__.trackStep("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let l=0;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(l=await this.count(),l>0),i?.timeoutMs??globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function KC(e){if(typeof e=="string")return globalThis.$(e);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}globalThis.__TS_RUNTIME__.createElementProxy=VC;globalThis.__TS_RUNTIME__.createCollectionProxy=WC;globalThis.__TS_RUNTIME__.resolveTargetProxy=KC;function QC(){let e=()=>globalThis.__TS_RUNTIME__.activeDriver;return{get:t=>globalThis.__TS_RUNTIME__.resolveTargetProxy(t),getAll:t=>globalThis.__TS_RUNTIME__.createCollectionProxy(t),navigate:t=>e().navigate(t),back:()=>e().back(),forward:()=>e().forward(),refresh:()=>e().refresh(),setViewport:(t,r)=>e().setViewport(t,r),wait:t=>e().pause(t),click:async(t,r)=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).click()},doubleClick:async t=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).doubleClick()},rightClick:async t=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).rightClick()},type:async(t,r,n)=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).type(r,n)},clear:async t=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).clear()},select:async(t,r)=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).select(r)},hover:async t=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).hover()},focus:async t=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).focus()},dragDrop:async(t,r)=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).dragDrop(r)},scrollIntoView:async t=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).scrollIntoView()},scroll:async t=>{await e().scroll(t)},swipe:async t=>{await e().swipe(t)},longPress:async(t,r)=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).longPress(r)},pressKey:async t=>{await e().pressKey(t)},grantPermission:async t=>{await e().grantPermission(t)},waitForElement:async(t,r)=>{await globalThis.__TS_RUNTIME__.resolveTargetProxy(t).waitForElement(r)},intercept:async(t,r,n,o)=>await e().intercept(t,r,n,o),clearMocks:()=>{e().clearMocks()},get browser(){return e()},env:globalThis.__TS_RUNTIME__.config.environmentVariables||{}}}globalThis.__TS_RUNTIME__.buildSpectra=QC;function GC(){let e=globalThis,t;try{t=e.__TESTSPECTRA_AUTO_IMPORT_MANIFEST__}catch{}if(!t&&typeof window<"u"&&(t=window.__TESTSPECTRA_AUTO_IMPORT_MANIFEST__),!t)return null;if(typeof t=="string")try{return JSON.parse(t)}catch{return null}return t}var Bm=new Map;async function Jc(e){let t=Bm.get(e);if(t)return t;let r,o=typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u"?`/@fs/${e.replace(/\\/g,"/")}`.replace(/\/@fs\/\//g,"/@fs/"):`/test?file=${encodeURIComponent(e)}`;if(e.endsWith(".json"))try{let i=await fetch(o);if(i.ok)r=await i.json();else throw new Error(`Failed to fetch JSON fixture: ${i.status}`)}catch{r=await new Function("specifier",'return import(specifier, { with: { type: "json" } })')(o)}else r=await new Function("specifier","return import(specifier)")(o);return Bm.set(e,r),r}async function Zc(e){let t=e??GC();if(!t)return;let r=t.pageObjects??t.page_objects??[];for(let a of r){let s=a.path??a.file_path;if(s){let u=await Jc(s);globalThis[a.name]=u.default??u}}let n={},o=t.fixtures??[];for(let a of o){let s=a.path??a.file_path;if(s){let u=await Jc(s);n[a.name]=u.default??u}}globalThis.Fixture=n;let i={},l=t.steps??[];for(let a of l){let s=a.path??a.file_path;if(s){let u=await Jc(s);i[a.name]=u.default??u}}globalThis.Step=i}globalThis.__bootstrapAutoImports=Zc;function M(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,o])=>e[n]===o):!0}function J(e){var t;if(XC(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 ${YC(e)}`)}function XC(e){return e.nodeType===9}function YC(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function ed(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function no(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let o=0;o<r.length;o++)yield r[o]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oo=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Kt(this,"kind",void 0),Kt(this,"type",void 0),Kt(this,"file",null),Kt(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)}};function jm(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var rd=class extends Array{add(...t){let r=typeof t[0]=="string"?new oo(t[0],jm(t[1])):new oo(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function td(e){let t=jm(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Fi(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function JC(e){return new class{getData(r){var n;let o=td(r),i=(n=this.items.find(Fi(o,!0)))!==null&&n!==void 0?n:this.items.find(Fi(o,!1)),l="";return i?.getAsString(a=>{l=a}),l}setData(r,n){let o=td(r),i=this.items.findIndex(Fi(o,!0)),l=new oo(n,o);i>=0?this.items.splice(i,1,l):this.items.push(l)}clearData(r){if(r){let n=td(r),o=this.items.findIndex(Fi(n,!0));o>=0&&this.items.remove(o)}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}setDragImage(){}constructor(){Kt(this,"dropEffect","none"),Kt(this,"effectAllowed","uninitialized"),Kt(this,"items",new rd),Kt(this,"files",no(e,[]))}}}function un(e,t=[]){let r=typeof e.DataTransfer>"u"?JC(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>no(e,t)}),r}async function zm(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Hm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vm(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{get types(){return Array.from(Object.keys(this.data))}async getType(o){let i=await this.data[o];if(!i)throw new Error(`${o} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:o})}constructor(o){Hm(this,"data",void 0),this.data=o}}(r)}var cn=Symbol("Manage ClipboardSub");function $m(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let o of this.items){let i=o.types.includes("text/plain")?"text/plain":o.types.find(l=>l.startsWith("text/"));i&&(n+=await o.getType(i).then(l=>ed(l,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Vm(e,n)]}constructor(...n){super(...n),Hm(this,"items",[])}},{[cn]:t})}function nd(e){return!!e?.[cn]}function Wm(e){if(nd(e.navigator.clipboard))return e.navigator.clipboard[cn];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=$m(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=$m(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[cn]}function ZC(e){nd(e.navigator.clipboard)&&e.navigator.clipboard[cn].resetClipboardStub()}function eS(e){nd(e.navigator.clipboard)&&e.navigator.clipboard[cn].detachClipboardStub()}async function Km(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 o=un(t);for(let i of n)for(let l of i.types)o.setData(l,await i.getType(l).then(a=>ed(a,t.FileReader)));return o}async function ji(e,t){let r=J(e),n=r.navigator.clipboard,o=[];for(let l=0;l<t.items.length;l++){let a=t.items[l],s=await zm(r,a);o.push(Vm(r,s))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Bi=globalThis;typeof Bi.afterEach=="function"&&Bi.afterEach(()=>{typeof globalThis.window<"u"&&ZC(globalThis.window)});typeof Bi.afterAll=="function"&&Bi.afterAll(()=>{typeof globalThis.window<"u"&&eS(globalThis.window)});var zi=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])","details > summary"].join(", ");function io(e){return e.matches(zi)}function Qm(e){return new e.constructor(e.type,e)}function _e(e){for(let r=e;r;r=r.parentElement)if(M(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(M(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}function Qt(e){let t=e.activeElement;if(t?.shadowRoot){let r=Qt(t.shadowRoot);if(r)return r}else if(t&&M(t,"iframe")){let r=t.contentDocument;if(r)return Qt(r)}return _e(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function dn(e){var t;return(t=Qt(e))!==null&&t!==void 0?t:e.body}function Gm(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ze(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Gt(e){let t=tS(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function tS(e){return e.nodeType===1?e:e.parentElement}var Xm=(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})(Xm||{});function $i(e){return M(e,"button")||M(e,"input")&&e.type in Xm}function at(e){return od(e)&&!e.readOnly||ze(e)}var Ym=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(Ym||{});function od(e){return M(e,"textarea")||M(e,"input")&&e.type in Ym}function ae(e){return Zm(e)&&od(e)}function Jm(e){return Zm(e)&&$i(e)}function Zm(e){return e.nodeType===1}function ev(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&ae(e)){let n=Gt(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Hi(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var iu=Ui(fh());var LP=Object.prototype.toString;function ph(e){return typeof e=="function"||LP.call(e)==="[object Function]"}function UP(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var DP=Math.pow(2,53)-1;function FP(e){var t=UP(e);return Math.min(Math.max(t,0),DP)}function $e(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"&&!ph(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=FP(n.length),i=ph(r)?Object(new r(o)):new Array(o),l=0,a;l<o;)a=n[l],t?i[l]=t(a,l):i[l]=a,l+=1;return i.length=o,i}function _o(e){"@babel/helpers - typeof";return _o=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},_o(e)}function BP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mh(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,vh(n.key),n)}}function jP(e,t,r){return t&&mh(e.prototype,t),r&&mh(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function zP(e,t,r){return t=vh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vh(e){var t=$P(e,"string");return _o(t)==="symbol"?t:String(t)}function $P(e,t){if(_o(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(_o(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var HP=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];BP(this,e),zP(this,"items",void 0),this.items=t}return jP(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),hh=typeof Set>"u"?Set:HP;function se(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var VP={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",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",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},WP={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function KP(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=WP[t])!==null&&n!==void 0&&n.has(r))})}function yh(e,t){return KP(e,t)}function tl(e){var t=GP(e);if(t===null||t==="presentation"){var r=QP(e);if(t!=="presentation"||yh(e,r||""))return r}return t}function QP(e){var t=VP[se(e)];if(t!==void 0)return t;switch(se(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!yh(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 GP(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Q(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function md(e){return Q(e)&&se(e)==="caption"}function Eo(e){return Q(e)&&se(e)==="input"}function gh(e){return Q(e)&&se(e)==="optgroup"}function bh(e){return Q(e)&&se(e)==="select"}function _h(e){return Q(e)&&se(e)==="table"}function Eh(e){return Q(e)&&se(e)==="textarea"}function wh(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Th(e){return Q(e)&&se(e)==="fieldset"}function Ch(e){return Q(e)&&se(e)==="legend"}function Sh(e){return Q(e)&&se(e)==="slot"}function XP(e){return Q(e)&&e.ownerSVGElement!==void 0}function Ph(e){return Q(e)&&se(e)==="svg"}function Rh(e){return XP(e)&&se(e)==="title"}function vn(e,t){if(Q(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function ct(e,t){return Q(e)?t.indexOf(tl(e))!==-1:!1}function YP(e){return e.trim().replace(/\s\s+/g," ")}function JP(e,t){if(!Q(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 ZP(e){return ct(e,["button","combobox","listbox","textbox"])||Mh(e,"range")}function Mh(e,t){if(!Q(e))return!1;if(t==="range")return ct(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function xh(e,t){var r=$e(e.querySelectorAll(t));return vn(e,"aria-owns").forEach(function(n){r.push.apply(r,$e(n.querySelectorAll(t)))}),r}function e1(e){return bh(e)?e.selectedOptions||xh(e,"[selected]"):xh(e,'[aria-selected="true"]')}function t1(e){return ct(e,["none","presentation"])}function r1(e){return md(e)}function n1(e){return ct(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function o1(e){return!1}function i1(e){return Eo(e)||Eh(e)?e.value:e.textContent||""}function kh(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function qh(e){var t=se(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Oh(e){if(qh(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Q(r)){var n=Oh(r);n!==null&&(t=n)}}),t}function l1(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Oh(e)}function a1(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return $e(t);if(!qh(e))return null;var r=e.ownerDocument;return $e(r.querySelectorAll("label")).filter(function(n){return l1(n)===e})}function s1(e){var t=e.assignedNodes();return t.length===0?$e(e.childNodes):t}function rl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new hh,n=wh(e),o=t.compute,i=o===void 0?"name":o,l=t.computedStyleSupportsPseudoElements,a=l===void 0?t.getComputedStyle!==void 0:l,s=t.getComputedStyle,u=s===void 0?n.getComputedStyle.bind(n):s,f=t.hidden,m=f===void 0?!1:f;function v(c,d){var p="";if(Q(c)&&a){var h=u(c,"::before"),b=kh(h);p="".concat(b," ").concat(p)}var C=Sh(c)?s1(c):$e(c.childNodes).concat(vn(c,"aria-owns"));if(C.forEach(function(I){var O=P(I,{isEmbeddedInLabel:d.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),z=Q(I)?u(I).getPropertyValue("display"):"inline",L=z!=="inline"?" ":"";p+="".concat(L).concat(O).concat(L)}),Q(c)&&a){var w=u(c,"::after"),x=kh(w);p="".concat(p," ").concat(x)}return p.trim()}function g(c,d){var p=c.getAttributeNode(d);return p!==null&&!r.has(p)&&p.value.trim()!==""?(r.add(p),p.value):null}function E(c){return Q(c)?g(c,"title"):null}function _(c){if(!Q(c))return null;if(Th(c)){r.add(c);for(var d=$e(c.childNodes),p=0;p<d.length;p+=1){var h=d[p];if(Ch(h))return P(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_h(c)){r.add(c);for(var b=$e(c.childNodes),C=0;C<b.length;C+=1){var w=b[C];if(md(w))return P(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ph(c)){r.add(c);for(var x=$e(c.childNodes),I=0;I<x.length;I+=1){var O=x[I];if(Rh(O))return O.textContent}return null}else if(se(c)==="img"||se(c)==="area"){var z=g(c,"alt");if(z!==null)return z}else if(gh(c)){var L=g(c,"label");if(L!==null)return L}if(Eo(c)&&(c.type==="button"||c.type==="submit"||c.type==="reset")){var le=g(c,"value");if(le!==null)return le;if(c.type==="submit")return"Submit";if(c.type==="reset")return"Reset"}var Re=a1(c);if(Re!==null&&Re.length!==0)return r.add(c),$e(Re).map(function(K){return P(K,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(K){return K.length>0}).join(" ");if(Eo(c)&&c.type==="image"){var T=g(c,"alt");if(T!==null)return T;var q=g(c,"title");return q!==null?q:"Submit Query"}if(ct(c,["button"])){var N=v(c,{isEmbeddedInLabel:!1,isReferenced:!1});if(N!=="")return N}return null}function P(c,d){if(r.has(c))return"";if(!m&&JP(c,u)&&!d.isReferenced)return r.add(c),"";var p=Q(c)?c.getAttributeNode("aria-labelledby"):null,h=p!==null&&!r.has(p)?vn(c,"aria-labelledby"):[];if(i==="name"&&!d.isReferenced&&h.length>0)return r.add(p),h.map(function(z){return P(z,{isEmbeddedInLabel:d.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var b=d.recursion&&ZP(c)&&i==="name";if(!b){var C=(Q(c)&&c.getAttribute("aria-label")||"").trim();if(C!==""&&i==="name")return r.add(c),C;if(!t1(c)){var w=_(c);if(w!==null)return r.add(c),w}}if(ct(c,["menu"]))return r.add(c),"";if(b||d.isEmbeddedInLabel||d.isReferenced){if(ct(c,["combobox","listbox"])){r.add(c);var x=e1(c);return x.length===0?Eo(c)?c.value:"":$e(x).map(function(z){return P(z,{isEmbeddedInLabel:d.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Mh(c,"range"))return r.add(c),c.hasAttribute("aria-valuetext")?c.getAttribute("aria-valuetext"):c.hasAttribute("aria-valuenow")?c.getAttribute("aria-valuenow"):c.getAttribute("value")||"";if(ct(c,["textbox"]))return r.add(c),i1(c)}if(n1(c)||Q(c)&&d.isReferenced||r1(c)||o1(c)){var I=v(c,{isEmbeddedInLabel:d.isEmbeddedInLabel,isReferenced:!1});if(I!=="")return r.add(c),I}if(c.nodeType===c.TEXT_NODE)return r.add(c),c.textContent||"";if(d.recursion)return r.add(c),v(c,{isEmbeddedInLabel:d.isEmbeddedInLabel,isReferenced:!1});var O=E(c);return O!==null?(r.add(c),O):(r.add(c),"")}return YP(P(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function wo(e){"@babel/helpers - typeof";return wo=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},wo(e)}function Ih(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Nh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ih(Object(r),!0).forEach(function(n){u1(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ih(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function u1(e,t,r){return t=c1(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c1(e){var t=d1(e,"string");return wo(t)==="symbol"?t:String(t)}function d1(e,t){if(wo(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(wo(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=vn(e,"aria-describedby").map(function(o){return rl(o,Nh(Nh({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function f1(e){return ct(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function To(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return f1(e)?"":rl(e,t)}var xe=Ui(Fb()),Kb=Ui(Bb());function Qb(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var YN=(e,t,r,n,o,i,l)=>{let a=n+r.indent,s=r.colors;return e.map(u=>{let f=t[u],m=l(f,r,a,o,i);return typeof f!="string"&&(m.indexOf(`
23
+ `)!==-1&&(m=r.spacingOuter+a+m+r.spacingOuter+n),m="{"+m+"}"),r.spacingInner+n+s.prop.open+u+s.prop.close+"="+s.value.open+m+s.value.close}).join("")},JN=3,ZN=(e,t,r,n,o,i)=>e.map(l=>{let a=typeof l=="string"?Gb(l,t):i(l,t,r,n,o);return a===""&&typeof l=="object"&&l!==null&&l.nodeType!==JN?"":t.spacingOuter+r+a}).join(""),Gb=(e,t)=>{let r=t.colors.content;return r.open+Qb(e)+r.close},eA=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Qb(e)+"-->"+r.close},tA=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},rA=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},nA=1,Xb=3,Yb=8,Jb=11,oA=/^((HTML|SVG)\w*)?Element$/,Zb=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},iA=e=>{let t=e.constructor.name,r=e.nodeType;return r===nA&&(oA.test(t)||Zb(e))||r===Xb&&t==="Text"||r===Yb&&t==="Comment"||r===Jb&&t==="DocumentFragment"};function lA(e){return e.nodeType===Xb}function aA(e){return e.nodeType===Yb}function Ld(e){return e.nodeType===Jb}function sA(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Zb(t))&&iA(t)},serialize:(t,r,n,o,i,l)=>{if(lA(t))return Gb(t.data,r);if(aA(t))return eA(t.data,r);let a=Ld(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?rA(a,r):tA(a,YN(Ld(t)?[]:Array.from(t.attributes).map(s=>s.name).sort(),Ld(t)?{}:Array.from(t.attributes).reduce((s,u)=>(s[u.name]=u.value,s),{}),r,n+r.indent,o,i,l),ZN(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,l),r,n)}}}var e_=null,Gd=null,Xd=null;try{let e=module&&module.require;Gd=e.call(module,"fs").readFileSync,Xd=e.call(module,"@babel/code-frame").codeFrameColumns,e_=e.call(module,"picocolors")}catch{}function uA(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),i=[o[0],parseInt(o[1],10),parseInt(o[2],10)],l=i[0],a=i[1],s=i[2],u="";try{u=Gd(l,"utf-8")}catch{return""}let f=Xd(u,{start:{line:a,column:s}},{highlightCode:!0,linesBelow:0});return e_.dim(n)+`
24
+ `+f+`
25
+ `}function cA(){if(!Gd||!Xd)return"";let t=new Error().stack.split(`
26
+ `).slice(1).find(r=>!r.includes("node_modules/"));return uA(t)}var t_=3;function Ud(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Yd(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function r_(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 provided 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 do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Ot(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}}var dA=["filterNode"],fA=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},pA=iu.plugins.DOMCollection,mA=1,vA=8;function hA(e){return e.nodeType!==vA&&(e.nodeType!==mA||!e.matches(D().defaultIgnore))}function eu(e,t,r){if(r===void 0&&(r={}),e||(e=Yd().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 o=r,i=o.filterNode,l=i===void 0?hA:i,a=Hi(o,dA),s=iu.format(e,{plugins:[sA(l),pA],printFunctionName:!1,highlight:fA(),...a});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var jb=function(){let e=cA();console.log(e?eu(...arguments)+`
127
27
 
128
- // ../matchers/src/runtime/element_actions.ts
129
- function createElementActions(selector, index) {
130
- const driver = () => globalThis.__TS_RUNTIME__.activeDriver;
131
- async function click(_options) {
132
- return globalThis.__TS_RUNTIME__.trackStep(
133
- "action",
134
- { type: "action", key: "click", target: selector, args: [] },
135
- async () => {
136
- await driver().click(selector, index);
137
- }
138
- );
139
- }
140
- async function doubleClick() {
141
- return globalThis.__TS_RUNTIME__.trackStep(
142
- "action",
143
- { type: "action", key: "doubleClick", target: selector, args: [] },
144
- async () => {
145
- await driver().doubleClick(selector, index);
146
- }
147
- );
148
- }
149
- async function rightClick() {
150
- return globalThis.__TS_RUNTIME__.trackStep(
151
- "action",
152
- { type: "action", key: "rightClick", target: selector, args: [] },
153
- async () => {
154
- await driver().rightClick(selector, index);
155
- }
156
- );
157
- }
158
- async function setValue(value) {
159
- return globalThis.__TS_RUNTIME__.trackStep(
160
- "action",
161
- { type: "action", key: "type", target: selector, args: [value] },
162
- async () => {
163
- await driver().setValue(selector, value, index);
164
- }
165
- );
166
- }
167
- async function type(value, options) {
168
- if (options?.clearFirst) {
169
- await clearValue();
170
- }
171
- await setValue(value);
172
- }
173
- async function clearValue() {
174
- return globalThis.__TS_RUNTIME__.trackStep(
175
- "action",
176
- { type: "action", key: "clear", target: selector, args: [] },
177
- async () => {
178
- await driver().clearValue(selector, index);
179
- }
180
- );
181
- }
182
- async function clear() {
183
- await clearValue();
184
- }
185
- async function select(option) {
186
- return globalThis.__TS_RUNTIME__.trackStep(
187
- "action",
188
- { type: "action", key: "select", target: selector, args: [option] },
189
- async () => {
190
- await driver().select(selector, option, index);
191
- }
192
- );
193
- }
194
- async function selectByVisibleText(text) {
195
- await select(text);
196
- }
197
- async function hover() {
198
- return globalThis.__TS_RUNTIME__.trackStep(
199
- "action",
200
- { type: "action", key: "hover", target: selector, args: [] },
201
- async () => {
202
- await driver().hover(selector, index);
203
- }
204
- );
205
- }
206
- async function focus() {
207
- return globalThis.__TS_RUNTIME__.trackStep(
208
- "action",
209
- { type: "action", key: "focus", target: selector, args: [] },
210
- async () => {
211
- await driver().focus(selector, index);
212
- }
213
- );
214
- }
215
- async function moveTo() {
216
- await hover();
217
- }
218
- async function dragDrop(target) {
219
- const destSelector = typeof target === "string" ? target : target?.selector || String(target);
220
- return globalThis.__TS_RUNTIME__.trackStep(
221
- "action",
222
- { type: "action", key: "dragDrop", target: selector, args: [destSelector] },
223
- async () => {
224
- await driver().dragDrop(selector, destSelector, index);
225
- }
226
- );
227
- }
228
- async function dragAndDrop(target) {
229
- await dragDrop(target);
230
- }
231
- async function longPress(options) {
232
- const duration = typeof options === "number" ? options : options?.duration || 1e3;
233
- return globalThis.__TS_RUNTIME__.trackStep(
234
- "action",
235
- { type: "action", key: "longPress", target: selector, args: [duration] },
236
- async () => {
237
- await driver().longPress(selector, duration, index);
238
- }
239
- );
240
- }
241
- async function scrollIntoView() {
242
- return globalThis.__TS_RUNTIME__.trackStep(
243
- "action",
244
- { type: "action", key: "scrollIntoView", target: selector, args: [] },
245
- async () => {
246
- await driver().scrollIntoView(selector, index);
247
- }
248
- );
249
- }
250
- return {
251
- click,
252
- doubleClick,
253
- rightClick,
254
- setValue,
255
- type,
256
- clearValue,
257
- clear,
258
- select,
259
- selectByVisibleText,
260
- hover,
261
- focus,
262
- moveTo,
263
- dragDrop,
264
- dragAndDrop,
265
- longPress,
266
- scrollIntoView
267
- };
268
- }
269
- globalThis.__TS_RUNTIME__.createElementActions = createElementActions;
28
+ `+e:eu(...arguments))},tu={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=eu(t),n=new Error([e,"Ignored nodes: comments, "+tu.defaultIgnore+`
29
+ `+r].filter(Boolean).join(`
270
30
 
271
- // ../matchers/src/runtime/element_state.ts
272
- function createElementState(selector, index) {
273
- const driver = () => globalThis.__TS_RUNTIME__.activeDriver;
274
- const selectorText2 = typeof selector === "string" ? selector : selector.selector;
275
- async function getText() {
276
- return await driver().getText(selector, index);
277
- }
278
- async function getValue() {
279
- return await driver().getValue(selector, index);
280
- }
281
- async function isDisplayed() {
282
- return await driver().isDisplayed(selector, index);
283
- }
284
- async function isVisible() {
285
- return await isDisplayed();
286
- }
287
- async function isExisting() {
288
- return await driver().isExisting(selector, index);
289
- }
290
- async function isEnabled() {
291
- return await driver().isEnabled(selector, index);
292
- }
293
- async function isSelected() {
294
- return await driver().isSelected(selector, index);
295
- }
296
- async function isChecked() {
297
- return await isSelected();
298
- }
299
- async function isFocused() {
300
- return await driver().isFocused(selector, index);
301
- }
302
- async function getAttribute(name) {
303
- return await driver().getAttribute(selector, name, index);
304
- }
305
- async function getCSSProperty(name) {
306
- return await driver().getCSSProperty(selector, name, index);
307
- }
308
- async function waitForElement(timeoutMs) {
309
- const waitTimeout = timeoutMs ?? globalThis.__TS_RUNTIME__.getImplicitWaitMs();
310
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
311
- async () => driver().isExisting(selector, index),
312
- waitTimeout
313
- );
314
- if (ok) return true;
315
- throw new Error("Element not found: " + JSON.stringify(selectorText2));
316
- }
317
- async function waitForDisplayed(opts = {}) {
318
- const timeout = opts.timeout || 5e3;
319
- const start = Date.now();
320
- while (Date.now() - start < timeout) {
321
- if (await driver().isDisplayed(selector, index)) return true;
322
- await new Promise((r) => setTimeout(r, 20));
323
- }
324
- throw new Error(`Element ${selectorText2} not displayed after ${timeout}ms`);
325
- }
326
- return {
327
- getText,
328
- getValue,
329
- isDisplayed,
330
- isVisible,
331
- isExisting,
332
- isEnabled,
333
- isSelected,
334
- isChecked,
335
- isFocused,
336
- getAttribute,
337
- getCSSProperty,
338
- waitForElement,
339
- waitForDisplayed
340
- };
341
- }
342
- globalThis.__TS_RUNTIME__.createElementState = createElementState;
31
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function yA(e){try{return tu._disableExpensiveErrorDiagnostics=!0,e()}finally{tu._disableExpensiveErrorDiagnostics=!1}}function D(){return tu}var gA=["button","meter","output","progress","select","textarea","input"];function n_(e){return gA.includes(e.nodeName.toLowerCase())?"":e.nodeType===t_?e.textContent:Array.from(e.childNodes).map(t=>n_(t)).join("")}function Fd(e){let t;return e.tagName.toLowerCase()==="label"?t=n_(e):t=e.value||e.textContent,t}function o_(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!bA(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function bA(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function i_(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,l=t.getAttribute("aria-labelledby"),a=l?l.split(" "):[];return a.length?a.map(s=>{let u=e.querySelector('[id="'+s+'"]');return u?{content:Fd(u),formControl:null}:{content:"",formControl:null}}):Array.from(o_(t)).map(s=>{let u=Fd(s),m=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(v=>v.matches(i))[0];return{content:u,formControl:m}})}function l_(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function _n(e,t,r,n){if(typeof e!="string")return!1;l_(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):s_(r,o)}function qt(e,t,r,n){if(typeof e!="string")return!1;l_(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?s_(r,o):o===String(r)}function a_(e){let t=e===void 0?{}:e,r=t.trim,n=r===void 0?!0:r,o=t.collapseWhitespace,i=o===void 0?!0:o;return l=>{let a=l;return a=n?a.trim():a,a=i?a.replace(/\s+/g," "):a,a}}function Lr(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return a_({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function s_(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 global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function lu(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===t_&&!!t.textContent).map(t=>t.textContent).join("")}var _A=EA(xe.elementRoles);function u_(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Jd(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?u_:n;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let l=e;for(;l;){if(o(l))return!0;l=l.parentElement}return!1}function Zd(e){for(let t of _A){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function EA(e){function t(l){let a=l.name,s=l.attributes;return""+a+s.map(u=>{let f=u.name,m=u.value,v=u.constraints,g=v===void 0?[]:v,E=g.indexOf("undefined")!==-1,_=g.indexOf("set")!==-1;return typeof m<"u"?"["+f+'="'+m+'"]':E?":not(["+f+"])":_?"["+f+"]:not(["+f+'=""])':"["+f+"]"}).join("")}function r(l){let a=l.attributes;return(a===void 0?[]:a).length}function n(l,a){let s=l.specificity;return a.specificity-s}function o(l){let a=l.attributes,s=a===void 0?[]:a,u=s.findIndex(m=>m.value&&m.name==="type"&&m.value==="text");u>=0&&(s=[...s.slice(0,u),...s.slice(u+1)]);let f=t({...l,attributes:s});return m=>u>=0&&m.type!=="text"?!1:m.matches(f)}let i=[];for(let l of e.entries()){let a=l[0],s=l[1];i=[...i,{match:o(a),roles:Array.from(s),specificity:r(a)}]}return i.sort(n)}function wA(e,t){let r=t===void 0?{}:t,n=r.hidden,o=n===void 0?!1:n;function i(l){return[l,...Array.from(l.children).reduce((a,s)=>[...a,...i(s)],[])]}return i(e).filter(l=>o===!1?Jd(l)===!1:!0).reduce((l,a)=>{let s=[];return a.hasAttribute("role")?s=a.getAttribute("role").split(" ").slice(0,1):s=Zd(a),s.reduce((u,f)=>Array.isArray(u[f])?{...u,[f]:[...u[f],a]}:{...u,[f]:[a]},l)},{})}function TA(e,t){let r=t.hidden,n=t.includeDescription,o=wA(e,{hidden:r});return Object.entries(o).filter(i=>i[0]!=="generic").map(i=>{let l=i[0],a=i[1],s="-".repeat(50),u=a.map(f=>{let m='Name "'+To(f,{computedStyleSupportsPseudoElements:D().computedStyleSupportsPseudoElements})+`":
32
+ `,v=eu(f.cloneNode(!1));if(n){let g='Description "'+nl(f,{computedStyleSupportsPseudoElements:D().computedStyleSupportsPseudoElements})+`":
33
+ `;return""+m+g+v}return""+m+v}).join(`
343
34
 
344
- // ../matchers/src/runtime/assertions.ts
345
- function createElementAssertions(selector, index, state) {
346
- const driver = () => globalThis.__TS_RUNTIME__.activeDriver;
347
- const selectorText2 = typeof selector === "string" ? selector : selector.selector;
348
- async function shouldBeVisible(options) {
349
- return globalThis.__TS_RUNTIME__.trackStep(
350
- "assertion",
351
- { type: "assertion", key: "be.visible", target: selector, args: [] },
352
- async () => {
353
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
354
- () => state.isVisible(),
355
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
356
- );
357
- if (!ok) throw new Error(`Expected element "${selectorText2}" to be visible`);
358
- }
359
- );
360
- }
361
- async function shouldNotBeVisible(options) {
362
- return globalThis.__TS_RUNTIME__.trackStep(
363
- "assertion",
364
- { type: "assertion", key: "not.be.visible", target: selector, args: [] },
365
- async () => {
366
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
367
- async () => !await state.isVisible(),
368
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
369
- );
370
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to be visible`);
371
- }
372
- );
373
- }
374
- async function shouldExist(options) {
375
- return globalThis.__TS_RUNTIME__.trackStep(
376
- "assertion",
377
- { type: "assertion", key: "exist", target: selector, args: [] },
378
- async () => {
379
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
380
- () => state.isExisting(),
381
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
382
- );
383
- if (!ok) throw new Error(`Expected element "${selectorText2}" to exist in DOM`);
384
- }
385
- );
386
- }
387
- async function shouldNotExist(options) {
388
- return globalThis.__TS_RUNTIME__.trackStep(
389
- "assertion",
390
- { type: "assertion", key: "not.exist", target: selector, args: [] },
391
- async () => {
392
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
393
- async () => !await state.isExisting(),
394
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
395
- );
396
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to exist in DOM`);
397
- }
398
- );
399
- }
400
- async function shouldBeEnabled(options) {
401
- return globalThis.__TS_RUNTIME__.trackStep(
402
- "assertion",
403
- { type: "assertion", key: "be.enabled", target: selector, args: [] },
404
- async () => {
405
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
406
- () => state.isEnabled(),
407
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
408
- );
409
- if (!ok) throw new Error(`Expected element "${selectorText2}" to be enabled`);
410
- }
411
- );
412
- }
413
- async function shouldBeDisabled(options) {
414
- return globalThis.__TS_RUNTIME__.trackStep(
415
- "assertion",
416
- { type: "assertion", key: "be.disabled", target: selector, args: [] },
417
- async () => {
418
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
419
- async () => !await state.isEnabled(),
420
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
421
- );
422
- if (!ok) throw new Error(`Expected element "${selectorText2}" to be disabled`);
423
- }
424
- );
425
- }
426
- async function shouldBeClickable(options) {
427
- return globalThis.__TS_RUNTIME__.trackStep(
428
- "assertion",
429
- { type: "assertion", key: "be.clickable", target: selector, args: [] },
430
- async () => {
431
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
432
- () => driver().isClickable(selector, index),
433
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
434
- );
435
- if (!ok) throw new Error(`Expected element "${selectorText2}" to be clickable`);
436
- }
437
- );
438
- }
439
- async function shouldNotBeClickable(options) {
440
- return globalThis.__TS_RUNTIME__.trackStep(
441
- "assertion",
442
- { type: "assertion", key: "not.be.clickable", target: selector, args: [] },
443
- async () => {
444
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
445
- async () => !await driver().isClickable(selector, index),
446
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
447
- );
448
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to be clickable`);
449
- }
450
- );
451
- }
452
- async function shouldBeChecked(options) {
453
- return globalThis.__TS_RUNTIME__.trackStep(
454
- "assertion",
455
- { type: "assertion", key: "be.checked", target: selector, args: [] },
456
- async () => {
457
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
458
- () => state.isChecked(),
459
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
460
- );
461
- if (!ok) throw new Error(`Expected element "${selectorText2}" to be checked`);
462
- }
463
- );
464
- }
465
- async function shouldNotBeChecked(options) {
466
- return globalThis.__TS_RUNTIME__.trackStep(
467
- "assertion",
468
- { type: "assertion", key: "not.be.checked", target: selector, args: [] },
469
- async () => {
470
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
471
- async () => !await state.isChecked(),
472
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
473
- );
474
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to be checked`);
475
- }
476
- );
477
- }
478
- async function shouldBeFocused(options) {
479
- return globalThis.__TS_RUNTIME__.trackStep(
480
- "assertion",
481
- { type: "assertion", key: "be.focused", target: selector, args: [] },
482
- async () => {
483
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
484
- () => state.isFocused(),
485
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
486
- );
487
- if (!ok) throw new Error(`Expected element "${selectorText2}" to be focused`);
488
- }
489
- );
490
- }
491
- async function shouldNotBeFocused(options) {
492
- return globalThis.__TS_RUNTIME__.trackStep(
493
- "assertion",
494
- { type: "assertion", key: "not.be.focused", target: selector, args: [] },
495
- async () => {
496
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
497
- async () => !await state.isFocused(),
498
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
499
- );
500
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to be focused`);
501
- }
502
- );
503
- }
504
- async function shouldHaveValue(value, options) {
505
- return globalThis.__TS_RUNTIME__.trackStep(
506
- "assertion",
507
- { type: "assertion", key: "have.value", target: selector, args: [value] },
508
- async () => {
509
- let actual = "";
510
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
511
- actual = await state.getValue();
512
- return actual === String(value);
513
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
514
- if (!ok) throw new Error(`Expected element "${selectorText2}" to have value "${value}", but got "${actual}"`);
515
- }
516
- );
517
- }
518
- async function shouldNotHaveValue(value, options) {
519
- return globalThis.__TS_RUNTIME__.trackStep(
520
- "assertion",
521
- { type: "assertion", key: "not.have.value", target: selector, args: [value] },
522
- async () => {
523
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
524
- const actual = await state.getValue();
525
- return actual !== String(value);
526
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
527
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to have value "${value}"`);
528
- }
529
- );
530
- }
531
- async function shouldContainValue(value, options) {
532
- return globalThis.__TS_RUNTIME__.trackStep(
533
- "assertion",
534
- { type: "assertion", key: "contain.value", target: selector, args: [value] },
535
- async () => {
536
- let actual = "";
537
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
538
- actual = await state.getValue();
539
- return actual.includes(String(value));
540
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
541
- if (!ok) throw new Error(`Expected element "${selectorText2}" to contain value "${value}", but got "${actual}"`);
542
- }
543
- );
544
- }
545
- async function shouldNotContainValue(value, options) {
546
- return globalThis.__TS_RUNTIME__.trackStep(
547
- "assertion",
548
- { type: "assertion", key: "not.contain.value", target: selector, args: [value] },
549
- async () => {
550
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
551
- const actual = await state.getValue();
552
- return !actual.includes(String(value));
553
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
554
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to contain value "${value}"`);
555
- }
556
- );
557
- }
558
- async function shouldHaveText(expected, options) {
559
- return globalThis.__TS_RUNTIME__.trackStep(
560
- "assertion",
561
- { type: "assertion", key: "have.text", target: selector, args: [expected] },
562
- async () => {
563
- let actual = "";
564
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
565
- actual = await state.getText();
566
- if (expected instanceof RegExp) return expected.test(actual);
567
- return actual === String(expected) || actual.trim() === String(expected).trim();
568
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
569
- if (!ok) {
570
- if (expected instanceof RegExp)
571
- throw new Error(`Expected element "${selectorText2}" text to match ${expected}, but got "${actual}"`);
572
- throw new Error(`Expected element "${selectorText2}" to have text "${expected}", but got "${actual}"`);
573
- }
574
- }
575
- );
576
- }
577
- async function shouldNotHaveText(expected, options) {
578
- return globalThis.__TS_RUNTIME__.trackStep(
579
- "assertion",
580
- { type: "assertion", key: "not.have.text", target: selector, args: [expected] },
581
- async () => {
582
- let actual = "";
583
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
584
- if (!await state.isExisting()) return false;
585
- actual = await state.getText();
586
- if (expected instanceof RegExp) return !expected.test(actual);
587
- return actual !== String(expected) && actual.trim() !== String(expected).trim();
588
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
589
- if (!ok) {
590
- if (expected instanceof RegExp)
591
- throw new Error(`Expected element "${selectorText2}" text not to match ${expected}`);
592
- throw new Error(`Expected element "${selectorText2}" not to have text "${expected}"`);
593
- }
594
- }
595
- );
596
- }
597
- async function shouldContainText(substring, options) {
598
- return globalThis.__TS_RUNTIME__.trackStep(
599
- "assertion",
600
- { type: "assertion", key: "contain.text", target: selector, args: [substring] },
601
- async () => {
602
- let actual = "";
603
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
604
- actual = await state.getText();
605
- return actual.includes(String(substring));
606
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
607
- if (!ok)
608
- throw new Error(`Expected element "${selectorText2}" to contain text "${substring}", but got "${actual}"`);
609
- }
610
- );
611
- }
612
- async function shouldNotContainText(substring, options) {
613
- return globalThis.__TS_RUNTIME__.trackStep(
614
- "assertion",
615
- { type: "assertion", key: "not.contain.text", target: selector, args: [substring] },
616
- async () => {
617
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
618
- const actual = await state.getText();
619
- return !actual.includes(String(substring));
620
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
621
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to contain text "${substring}"`);
622
- }
623
- );
624
- }
625
- async function shouldHaveClass(className, options) {
626
- return globalThis.__TS_RUNTIME__.trackStep(
627
- "assertion",
628
- { type: "assertion", key: "have.class", target: selector, args: [className] },
629
- async () => {
630
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
631
- () => driver().hasClass(selector, className, index),
632
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
633
- );
634
- if (!ok) throw new Error(`Expected element "${selectorText2}" to have class "${className}"`);
635
- }
636
- );
637
- }
638
- async function shouldNotHaveClass(className, options) {
639
- return globalThis.__TS_RUNTIME__.trackStep(
640
- "assertion",
641
- { type: "assertion", key: "not.have.class", target: selector, args: [className] },
642
- async () => {
643
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(
644
- async () => !await driver().hasClass(selector, className, index),
645
- options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs()
646
- );
647
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to have class "${className}"`);
648
- }
649
- );
650
- }
651
- async function shouldHaveAttribute(name, value, options) {
652
- return globalThis.__TS_RUNTIME__.trackStep(
653
- "assertion",
654
- { type: "assertion", key: "have.attr", target: selector, args: value !== void 0 ? [name, value] : [name] },
655
- async () => {
656
- let actual = null;
657
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
658
- actual = await state.getAttribute(name);
659
- if (value !== void 0) return actual === String(value);
660
- return actual !== null;
661
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
662
- if (!ok) {
663
- if (value !== void 0)
664
- throw new Error(
665
- `Expected element "${selectorText2}" to have attribute "${name}" = "${value}", but got "${actual}"`
666
- );
667
- throw new Error(`Expected element "${selectorText2}" to have attribute "${name}"`);
668
- }
669
- }
670
- );
671
- }
672
- async function shouldNotHaveAttribute(name, options) {
673
- return globalThis.__TS_RUNTIME__.trackStep(
674
- "assertion",
675
- { type: "assertion", key: "not.have.attr", target: selector, args: [name] },
676
- async () => {
677
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
678
- const actual = await state.getAttribute(name);
679
- return actual === null;
680
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
681
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to have attribute "${name}"`);
682
- }
683
- );
684
- }
685
- async function shouldHaveCss(property, value, options) {
686
- return globalThis.__TS_RUNTIME__.trackStep(
687
- "assertion",
688
- { type: "assertion", key: "have.css", target: selector, args: [property, value] },
689
- async () => {
690
- const norm = (v) => String(v ?? "").replace(/\s+/g, "").replace(/rgba\((.+?),1\)/, "rgb($1)").toLowerCase();
691
- let actualCss = "";
692
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
693
- const css = await state.getCSSProperty(property);
694
- actualCss = css.value;
695
- return norm(actualCss) === norm(value);
696
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
697
- if (!ok)
698
- throw new Error(
699
- `Expected element "${selectorText2}" to have CSS "${property}" = "${value}", but got "${actualCss}"`
700
- );
701
- }
702
- );
703
- }
704
- async function shouldNotHaveCss(property, value, options) {
705
- return globalThis.__TS_RUNTIME__.trackStep(
706
- "assertion",
707
- { type: "assertion", key: "not.have.css", target: selector, args: [property, value] },
708
- async () => {
709
- const norm = (v) => String(v ?? "").replace(/\s+/g, "").replace(/rgba\((.+?),1\)/, "rgb($1)").toLowerCase();
710
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
711
- const css = await state.getCSSProperty(property);
712
- return norm(css.value) !== norm(value);
713
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
714
- if (!ok) throw new Error(`Expected element "${selectorText2}" not to have CSS "${property}" = "${value}"`);
715
- }
716
- );
717
- }
718
- return {
719
- shouldBeVisible,
720
- shouldNotBeVisible,
721
- shouldExist,
722
- shouldNotExist,
723
- shouldBeEnabled,
724
- shouldBeDisabled,
725
- shouldBeClickable,
726
- shouldNotBeClickable,
727
- shouldBeChecked,
728
- shouldNotBeChecked,
729
- shouldBeFocused,
730
- shouldNotBeFocused,
731
- shouldHaveValue,
732
- shouldNotHaveValue,
733
- shouldContainValue,
734
- shouldNotContainValue,
735
- shouldHaveText,
736
- shouldNotHaveText,
737
- shouldContainText,
738
- shouldNotContainText,
739
- shouldHaveClass,
740
- shouldNotHaveClass,
741
- shouldHaveAttribute,
742
- shouldNotHaveAttribute,
743
- shouldHaveCss,
744
- shouldNotHaveCss
745
- };
746
- }
747
- globalThis.__TS_RUNTIME__.createElementAssertions = createElementAssertions;
35
+ `);return l+`:
748
36
 
749
- // ../matchers/src/runtime/element_proxy.ts
750
- function selectorText(s) {
751
- return typeof s === "string" ? s : s.selector;
752
- }
753
- function toScopedSelector(selector, index) {
754
- return typeof selector === "string" ? { selector, index, parent: void 0 } : selector;
755
- }
756
- function createElementProxy(selector, index = null) {
757
- const selectorTextValue = selectorText(selector);
758
- const resolvedIndex = typeof selector === "string" ? index : selector.index;
759
- const actions = globalThis.__TS_RUNTIME__.createElementActions(selector, index);
760
- const state = globalThis.__TS_RUNTIME__.createElementState(selector, index);
761
- const assertions = globalThis.__TS_RUNTIME__.createElementAssertions(selector, index, state);
762
- return {
763
- selector: selectorTextValue,
764
- index: resolvedIndex,
765
- ...actions,
766
- ...state,
767
- ...assertions,
768
- get(childSelector, childIndex = null) {
769
- return globalThis.__TS_RUNTIME__.createElementProxy(
770
- { selector: childSelector, index: childIndex, parent: toScopedSelector(selector, index) },
771
- null
772
- );
773
- },
774
- getAll(childSelector) {
775
- return globalThis.__TS_RUNTIME__.createCollectionProxy({
776
- selector: childSelector,
777
- index: null,
778
- parent: toScopedSelector(selector, index)
779
- });
780
- }
781
- };
782
- }
783
- function createCollectionProxy(selector) {
784
- const driver = () => globalThis.__TS_RUNTIME__.activeDriver;
785
- const selectorTextValue = selectorText(selector);
786
- const withIndex = (idx) => typeof selector === "string" ? [selector, idx] : [{ ...selector, index: idx }, null];
787
- const collectionProxy = {
788
- selector: selectorTextValue,
789
- async count() {
790
- return await driver().count(selector);
791
- },
792
- get length() {
793
- return this.count();
794
- },
795
- first() {
796
- return globalThis.__TS_RUNTIME__.createElementProxy(...withIndex(0));
797
- },
798
- last() {
799
- return globalThis.__TS_RUNTIME__.createElementProxy(...withIndex(-1));
800
- },
801
- nth(index) {
802
- return globalThis.__TS_RUNTIME__.createElementProxy(...withIndex(index));
803
- },
804
- async shouldHaveLength(expected, options) {
805
- return globalThis.__TS_RUNTIME__.trackStep(
806
- "assertion",
807
- { type: "assertion", key: "have.length", target: selector, args: [expected] },
808
- async () => {
809
- let actual = 0;
810
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
811
- actual = await this.count();
812
- return actual === expected;
813
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
814
- if (!ok) {
815
- throw new Error(`Expected collection "${selectorTextValue}" count to equal ${expected}, but got ${actual}`);
816
- }
817
- }
818
- );
819
- },
820
- async shouldNotHaveLength(expected, options) {
821
- return globalThis.__TS_RUNTIME__.trackStep(
822
- "assertion",
823
- { type: "assertion", key: "not.have.length", target: selector, args: [expected] },
824
- async () => {
825
- let actual = 0;
826
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
827
- actual = await this.count();
828
- return actual !== expected;
829
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
830
- if (!ok) {
831
- throw new Error(`Expected collection "${selectorTextValue}" count not to equal ${expected}`);
832
- }
833
- }
834
- );
835
- },
836
- async shouldHaveLengthGreaterThan(expected, options) {
837
- return globalThis.__TS_RUNTIME__.trackStep(
838
- "assertion",
839
- { type: "assertion", key: "have.length.greaterThan", target: selector, args: [expected] },
840
- async () => {
841
- let actual = 0;
842
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
843
- actual = await this.count();
844
- return actual > expected;
845
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
846
- if (!ok) {
847
- throw new Error(
848
- `Expected collection "${selectorTextValue}" count to be greater than ${expected}, but got ${actual}`
849
- );
850
- }
851
- }
852
- );
853
- },
854
- async shouldHaveLengthLessThan(expected, options) {
855
- return globalThis.__TS_RUNTIME__.trackStep(
856
- "assertion",
857
- { type: "assertion", key: "have.length.lessThan", target: selector, args: [expected] },
858
- async () => {
859
- let actual = 0;
860
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
861
- actual = await this.count();
862
- return actual < expected;
863
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
864
- if (!ok) {
865
- throw new Error(
866
- `Expected collection "${selectorTextValue}" count to be less than ${expected}, but got ${actual}`
867
- );
868
- }
869
- }
870
- );
871
- },
872
- async shouldBeEmpty(options) {
873
- return globalThis.__TS_RUNTIME__.trackStep(
874
- "assertion",
875
- { type: "assertion", key: "be.empty", target: selector, args: [] },
876
- async () => {
877
- let actual = 0;
878
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
879
- actual = await this.count();
880
- return actual === 0;
881
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
882
- if (!ok) {
883
- throw new Error(`Expected collection "${selectorTextValue}" to be empty, but got ${actual}`);
884
- }
885
- }
886
- );
887
- },
888
- async shouldNotBeEmpty(options) {
889
- return globalThis.__TS_RUNTIME__.trackStep(
890
- "assertion",
891
- { type: "assertion", key: "not.be.empty", target: selector, args: [] },
892
- async () => {
893
- let actual = 0;
894
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
895
- actual = await this.count();
896
- return actual > 0;
897
- }, options?.timeoutMs ?? globalThis.__TS_RUNTIME__.getAssertionTimeoutMs());
898
- if (!ok) {
899
- throw new Error(`Expected collection "${selectorTextValue}" not to be empty`);
900
- }
901
- }
902
- );
903
- }
904
- };
905
- return collectionProxy;
906
- }
907
- function resolveTargetProxy(target) {
908
- if (typeof target === "string") {
909
- return globalThis.$(target);
910
- }
911
- if (target && typeof target === "object" && "selector" in target) {
912
- return target;
913
- }
914
- throw new Error(`Invalid element target: ${String(target)}`);
915
- }
916
- globalThis.__TS_RUNTIME__.createElementProxy = createElementProxy;
917
- globalThis.__TS_RUNTIME__.createCollectionProxy = createCollectionProxy;
918
- globalThis.__TS_RUNTIME__.resolveTargetProxy = resolveTargetProxy;
37
+ `+u+`
919
38
 
920
- // ../matchers/src/runtime/spectra.ts
921
- function buildSpectra() {
922
- const driver = () => globalThis.__TS_RUNTIME__.activeDriver;
923
- return {
924
- get: (target) => globalThis.__TS_RUNTIME__.resolveTargetProxy(target),
925
- getAll: (selector) => globalThis.__TS_RUNTIME__.createCollectionProxy(selector),
926
- navigate: (url) => driver().navigate(url),
927
- back: () => driver().back(),
928
- forward: () => driver().forward(),
929
- refresh: () => driver().refresh(),
930
- setViewport: (width, height) => driver().setViewport(width, height),
931
- wait: (ms) => driver().pause(ms),
932
- click: async (target, _textOrOptions) => {
933
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
934
- await el.click();
935
- },
936
- doubleClick: async (target) => {
937
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
938
- await el.doubleClick();
939
- },
940
- rightClick: async (target) => {
941
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
942
- await el.rightClick();
943
- },
944
- type: async (target, text, options) => {
945
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
946
- await el.type(text, options);
947
- },
948
- clear: async (target) => {
949
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
950
- await el.clear();
951
- },
952
- select: async (target, option) => {
953
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
954
- await el.select(option);
955
- },
956
- hover: async (target) => {
957
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
958
- await el.hover();
959
- },
960
- focus: async (target) => {
961
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
962
- await el.focus();
963
- },
964
- dragDrop: async (source, destination) => {
965
- const srcEl = globalThis.__TS_RUNTIME__.resolveTargetProxy(source);
966
- await srcEl.dragDrop(destination);
967
- },
968
- scrollIntoView: async (target) => {
969
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
970
- await el.scrollIntoView();
971
- },
972
- scroll: async (options) => {
973
- await driver().scroll(options);
974
- },
975
- swipe: async (options) => {
976
- await driver().swipe(options);
977
- },
978
- longPress: async (target, options) => {
979
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
980
- await el.longPress(options);
981
- },
982
- pressKey: async (key) => {
983
- await driver().pressKey(key);
984
- },
985
- grantPermission: async (name) => {
986
- await driver().grantPermission(name);
987
- },
988
- waitForElement: async (target, timeoutMs) => {
989
- const el = globalThis.__TS_RUNTIME__.resolveTargetProxy(target);
990
- await el.waitForElement(timeoutMs);
991
- },
992
- intercept: async (patternOrOptions, maybeMethodOrHandler, maybeFixture, maybeOptions) => {
993
- return await driver().intercept(patternOrOptions, maybeMethodOrHandler, maybeFixture, maybeOptions);
994
- },
995
- clearMocks: () => {
996
- driver().clearMocks();
997
- },
998
- get browser() {
999
- return driver();
1000
- },
1001
- env: globalThis.__TS_RUNTIME__.config.environmentVariables || {}
1002
- };
1003
- }
1004
- globalThis.__TS_RUNTIME__.buildSpectra = buildSpectra;
39
+ `+s}).join(`
40
+ `)}function CA(e){return e.tagName==="OPTION"?e.selected:xo(e,"aria-selected")}function SA(e){return e.getAttribute("aria-busy")==="true"}function PA(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:xo(e,"aria-checked")}function RA(e){return xo(e,"aria-pressed")}function xA(e){var t,r;return(t=(r=xo(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function kA(e){return xo(e,"aria-expanded")}function xo(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function MA(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]}function qA(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function OA(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function IA(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function NA(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var zb=a_();function AA(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function $b(e){return new RegExp(AA(e.toLowerCase()),"i")}function ar(e,t,r,n){let o=n.variant,i=n.name,l="",a={},s=[["Role","TestId"].includes(e)?r:$b(r)];i&&(a.name=$b(i)),e==="Role"&&Jd(t)&&(a.hidden=!0,l=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
41
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
42
+ `),Object.keys(a).length>0&&s.push(a);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:s,variant:o,warning:l,toString(){l&&console.warn(l);let f=s[0],m=s[1];return f=typeof f=="string"?"'"+f+"'":f,m=m?", { "+Object.entries(m).map(v=>{let g=v[0],E=v[1];return g+": "+E}).join(", ")+" }":"",u+"("+f+m+")"}}}function sr(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Bd(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(D().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Zd(e))==null?void 0:o[0];if(i!=="generic"&&sr("Role",r,i))return ar("Role",e,i,{variant:t,name:To(e,{computedStyleSupportsPseudoElements:D().computedStyleSupportsPseudoElements})});let l=i_(document,e).map(v=>v.content).join(" ");if(sr("LabelText",r,l))return ar("LabelText",e,l,{variant:t});let a=e.getAttribute("placeholder");if(sr("PlaceholderText",r,a))return ar("PlaceholderText",e,a,{variant:t});let s=zb(lu(e));if(sr("Text",r,s))return ar("Text",e,s,{variant:t});if(sr("DisplayValue",r,e.value))return ar("DisplayValue",e,zb(e.value),{variant:t});let u=e.getAttribute("alt");if(sr("AltText",r,u))return ar("AltText",e,u,{variant:t});let f=e.getAttribute("title");if(sr("Title",r,f))return ar("Title",e,f,{variant:t});let m=e.getAttribute(D().testIdAttribute);if(sr("TestId",r,m))return ar("TestId",e,m,{variant:t})}function Zs(e,t){e.stack=t.stack.replace(t.message,e.message)}function LA(e,t){let r=t.container,n=r===void 0?Yd():r,o=t.timeout,i=o===void 0?D().asyncUtilTimeout:o,l=t.showOriginalStackTrace,a=l===void 0?D().showOriginalStackTrace:l,s=t.stackTraceError,u=t.interval,f=u===void 0?50:u,m=t.onTimeout,v=m===void 0?_=>(Object.defineProperty(_,"message",{value:D().getElementError(_.message,n).message}),_):m,g=t.mutationObserverOptions,E=g===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:g;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(_,P)=>{let c,d,p,h=!1,b="idle",C=setTimeout(z,i),w=Ud();if(w){let L=D(),le=L.unstable_advanceTimersWrapper;for(O();!h;){if(!Ud()){let Re=new Error("Changed from using fake timers to real 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 real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||Zs(Re,s),P(Re);return}if(await le(async()=>{jest.advanceTimersByTime(f)}),h)break;O()}}else{try{Ot(n)}catch(Re){P(Re);return}d=setInterval(I,f);let L=r_(n),le=L.MutationObserver;p=new le(I),p.observe(n,E),O()}function x(L,le){h=!0,clearTimeout(C),w||(clearInterval(d),p.disconnect()),L?P(L):_(le)}function I(){if(Ud()){let L=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 a||Zs(L,s),P(L)}else return O()}function O(){if(b!=="pending")try{let L=yA(e);typeof L?.then=="function"?(b="pending",L.then(le=>{b="resolved",x(null,le)},le=>{b="rejected",c=le})):x(null,L)}catch(L){c=L}}function z(){let L;c?(L=c,!a&&L.name==="TestingLibraryElementError"&&Zs(L,s)):(L=new Error("Timed out in waitFor."),a||Zs(L,s)),x(v(L),null)}})}function UA(e,t){let r=new Error("STACK_TRACE_MESSAGE");return D().asyncWrapper(()=>LA(e,{stackTraceError:r,...t}))}function c_(e,t){return D().getElementError(e,t)}function DA(e,t){return c_(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function au(e,t,r,n){let o=n===void 0?{}:n,i=o.exact,l=i===void 0?!0:i,a=o.collapseWhitespace,s=o.trim,u=o.normalizer,f=l?qt:_n,m=Lr({collapseWhitespace:a,trim:s,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(v=>f(v.getAttribute(e),v,r,m))}function ru(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let l=e(r,...o);if(l.length>1){let a=l.map(s=>c_(null,s).message).join(`
1005
43
 
1006
- // src/auto_import.ts
1007
- async function dynamicImport(path) {
1008
- const vitePath = `/@fs/${path.replace(/\\/g, "/")}`.replace(/\/@fs\/\//g, "/@fs/");
1009
- return import(
1010
- /* @vite-ignore */
1011
- vitePath
1012
- );
1013
- }
1014
- async function bootstrapAutoImports() {
1015
- const manifest = __TESTSPECTRA_AUTO_IMPORT_MANIFEST__;
1016
- for (const { name, path } of manifest.pageObjects) {
1017
- const mod = await dynamicImport(path);
1018
- globalThis[name] = mod.default ?? mod;
1019
- }
1020
- const fixtures = {};
1021
- for (const { name, path } of manifest.fixtures) {
1022
- const mod = await dynamicImport(path);
1023
- fixtures[name] = mod.default ?? mod;
1024
- }
1025
- globalThis.Fixture = fixtures;
1026
- const steps = {};
1027
- for (const { name, path } of manifest.steps) {
1028
- const mod = await dynamicImport(path);
1029
- steps[name] = mod.default ?? mod;
1030
- }
1031
- globalThis.Step = steps;
1032
- }
44
+ `);throw DA(t(r,...o)+`
1033
45
 
1034
- // src/dom_driver_bridge.ts
1035
- var cachedUser = null;
1036
- async function getUser() {
1037
- if (!cachedUser) {
1038
- const { userEvent } = await import("@testing-library/user-event");
1039
- cachedUser = userEvent.setup();
1040
- }
1041
- return cachedUser;
1042
- }
1043
- function resolveSelector(selector) {
1044
- const trimmed = selector.trim();
1045
- if (trimmed.startsWith("~")) {
1046
- return `[aria-label=${JSON.stringify(trimmed.slice(1))}]`;
1047
- }
1048
- return trimmed;
1049
- }
1050
- function resolveEl(selector, index) {
1051
- const css = resolveSelector(selector);
1052
- if (index === null) {
1053
- return document.querySelector(css);
1054
- }
1055
- const all = Array.from(document.querySelectorAll(css));
1056
- if (index >= 0) return all[index] ?? null;
1057
- return all[all.length + index] ?? null;
1058
- }
1059
- function isFormEl(el) {
1060
- const tag = el.tagName;
1061
- return tag === "INPUT" || tag === "TEXTAREA" || tag === "SELECT";
1062
- }
1063
- var DomDriverBridge = class {
1064
- mockRules = [];
1065
- consoleErrors = [];
1066
- recordedNetwork = [];
1067
- /** Polls until `selector` resolves to an element, then returns it — shared by every
1068
- * interaction method below (user-event needs a real element handle, not a selector string). */
1069
- async waitForEl(selector, index) {
1070
- let found = null;
1071
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
1072
- found = resolveEl(selector, index);
1073
- return found !== null;
1074
- }, globalThis.__TS_RUNTIME__.getImplicitWaitMs());
1075
- if (!ok || !found) throw new Error("Element not found: " + JSON.stringify(selector));
1076
- return found;
1077
- }
1078
- async connect() {
1079
- }
1080
- async close() {
1081
- }
1082
- async navigate(_targetUrl) {
1083
- throw new Error(
1084
- "Spectra.navigate() is not supported in component testing mode. Use Spectra.mount(<Component />) to render a component tree instead of navigating a URL."
1085
- );
1086
- }
1087
- async setCookies(setCookieHeaders, _url) {
1088
- const headers = Array.isArray(setCookieHeaders) ? setCookieHeaders : [setCookieHeaders];
1089
- for (const header of headers) {
1090
- if (typeof document !== "undefined") {
1091
- document.cookie = header;
1092
- }
1093
- }
1094
- }
1095
- async back() {
1096
- throw new Error("Spectra.back() is not supported in component testing mode.");
1097
- }
1098
- async forward() {
1099
- throw new Error("Spectra.forward() is not supported in component testing mode.");
1100
- }
1101
- async refresh() {
1102
- throw new Error("Spectra.refresh() is not supported in component testing mode.");
1103
- }
1104
- async setViewport(width, height) {
1105
- try {
1106
- window.resizeTo(width, height);
1107
- } catch {
1108
- }
1109
- }
1110
- async pause(ms) {
1111
- await new Promise((r) => setTimeout(r, ms));
1112
- }
1113
- // ─── Element Actions ─────────────────────────────────────────────────────
1114
- async click(selector, index = null) {
1115
- const el = await this.waitForEl(selector, index);
1116
- await (await getUser()).click(el);
1117
- }
1118
- async doubleClick(selector, index = null) {
1119
- const el = await this.waitForEl(selector, index);
1120
- await (await getUser()).dblClick(el);
1121
- }
1122
- async rightClick(selector, index = null) {
1123
- const el = await this.waitForEl(selector, index);
1124
- await (await getUser()).pointer({ keys: "[MouseRight]", target: el });
1125
- }
1126
- async setValue(selector, value, index = null) {
1127
- const el = await this.waitForEl(selector, index);
1128
- if (!isFormEl(el)) throw new Error("Element is not a form field: " + JSON.stringify(selector));
1129
- const u = await getUser();
1130
- await u.clear(el);
1131
- if (String(value).length > 0) {
1132
- await u.type(el, String(value));
1133
- }
1134
- }
1135
- async clearValue(selector, index = null) {
1136
- const el = await this.waitForEl(selector, index);
1137
- await (await getUser()).clear(el);
1138
- }
1139
- async select(selector, option, index = null) {
1140
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
1141
- const el = resolveEl(selector, index);
1142
- if (!el || el.tagName !== "SELECT") return false;
1143
- for (let i = 0; i < el.options.length; i++) {
1144
- const opt = el.options[i];
1145
- if (opt.text === option || opt.value === option) {
1146
- el.selectedIndex = i;
1147
- el.dispatchEvent(new Event("change", { bubbles: true }));
1148
- return true;
1149
- }
1150
- }
1151
- return false;
1152
- });
1153
- if (!ok) throw new Error("Select option not found: " + JSON.stringify(option));
1154
- }
1155
- async hover(selector, index = null) {
1156
- const el = await this.waitForEl(selector, index);
1157
- await (await getUser()).hover(el);
1158
- }
1159
- async focus(selector, index = null) {
1160
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(async () => {
1161
- const el = resolveEl(selector, index);
1162
- if (!el) return false;
1163
- el.focus?.();
1164
- return true;
1165
- });
1166
- if (!ok) throw new Error("Element not found: " + JSON.stringify(selector));
1167
- }
1168
- async dragDrop(sourceSelector, targetSelector, sourceIndex = null) {
1169
- const src = resolveEl(sourceSelector, sourceIndex);
1170
- const dest = resolveEl(targetSelector, null);
1171
- if (!src || !dest) throw new Error("Drag source or destination not found");
1172
- const dataTransfer = new DataTransfer();
1173
- src.dispatchEvent(new DragEvent("dragstart", { bubbles: true, dataTransfer }));
1174
- dest.dispatchEvent(new DragEvent("dragover", { bubbles: true, dataTransfer }));
1175
- dest.dispatchEvent(new DragEvent("drop", { bubbles: true, dataTransfer }));
1176
- src.dispatchEvent(new DragEvent("dragend", { bubbles: true, dataTransfer }));
1177
- }
1178
- async longPress(selector, duration, index = null) {
1179
- const el = resolveEl(selector, index);
1180
- if (!el) throw new Error("Element not found: " + JSON.stringify(selector));
1181
- el.dispatchEvent(new TouchEvent("touchstart", { bubbles: true }));
1182
- await this.pause(duration);
1183
- el.dispatchEvent(new TouchEvent("touchend", { bubbles: true }));
1184
- }
1185
- async scrollIntoView(selector, index = null) {
1186
- const el = resolveEl(selector, index);
1187
- el?.scrollIntoView({ block: "center", inline: "center" });
1188
- }
1189
- // ─── Element State Inspection ────────────────────────────────────────────
1190
- async getText(selector, index = null) {
1191
- const el = resolveEl(selector, index);
1192
- if (!el) return "";
1193
- return el.innerText !== void 0 ? el.innerText : el.textContent || "";
1194
- }
1195
- async getValue(selector, index = null) {
1196
- const el = resolveEl(selector, index);
1197
- if (!el) return "";
1198
- if (isFormEl(el)) return el.value ?? "";
1199
- return el.getAttribute("value") || "";
1200
- }
1201
- async isDisplayed(selector, index = null) {
1202
- const el = resolveEl(selector, index);
1203
- if (!el) return false;
1204
- const style = window.getComputedStyle(el);
1205
- if (style.visibility === "hidden" || style.display === "none" || style.opacity === "0") return false;
1206
- const rect = el.getBoundingClientRect();
1207
- return rect.width > 0 && rect.height > 0 || el.getClientRects().length > 0 || el.offsetWidth > 0 && el.offsetHeight > 0;
1208
- }
1209
- async isExisting(selector, index = null) {
1210
- return resolveEl(selector, index) !== null;
1211
- }
1212
- async isEnabled(selector, index = null) {
1213
- const el = resolveEl(selector, index);
1214
- if (!el) return false;
1215
- return !el.disabled && !el.hasAttribute("disabled") && !el.classList.contains("disabled") && el.getAttribute("aria-disabled") !== "true";
1216
- }
1217
- async isSelected(selector, index = null) {
1218
- const el = resolveEl(selector, index);
1219
- if (!el) return false;
1220
- return !!el.checked || el.getAttribute("aria-checked") === "true" || el.getAttribute("data-state") === "checked";
1221
- }
1222
- async isFocused(selector, index = null) {
1223
- const el = resolveEl(selector, index);
1224
- if (!el) return false;
1225
- return document.activeElement === el || el.matches(":focus");
1226
- }
1227
- async isClickable(selector, index = null) {
1228
- const el = resolveEl(selector, index);
1229
- if (!el) return false;
1230
- const style = window.getComputedStyle(el);
1231
- if (style.visibility === "hidden" || style.display === "none" || style.opacity === "0") return false;
1232
- const rect = el.getBoundingClientRect();
1233
- if (rect.width === 0 && rect.height === 0) return false;
1234
- return !el.disabled && !el.hasAttribute("disabled") && !el.classList.contains("disabled") && el.getAttribute("aria-disabled") !== "true";
1235
- }
1236
- async hasClass(selector, className, index = null) {
1237
- const el = resolveEl(selector, index);
1238
- return el ? el.classList.contains(className) : false;
1239
- }
1240
- async getAttribute(selector, name, index = null) {
1241
- const el = resolveEl(selector, index);
1242
- return el ? el.getAttribute(name) : null;
1243
- }
1244
- async getCSSProperty(selector, name, index = null) {
1245
- const el = resolveEl(selector, index);
1246
- return { value: el ? window.getComputedStyle(el).getPropertyValue(name) : "" };
1247
- }
1248
- async count(selector) {
1249
- return document.querySelectorAll(resolveSelector(selector)).length;
1250
- }
1251
- // ─── Gestures & Keys ─────────────────────────────────────────────────────
1252
- async pressKey(key) {
1253
- const active = document.activeElement || document.body;
1254
- const keyName = String(key);
1255
- active.dispatchEvent(new KeyboardEvent("keydown", { key: keyName, bubbles: true }));
1256
- active.dispatchEvent(new KeyboardEvent("keyup", { key: keyName, bubbles: true }));
1257
- }
1258
- async scroll(options = {}) {
1259
- if (options.selector) {
1260
- await this.scrollIntoView(String(options.selector), null);
1261
- return;
1262
- }
1263
- const dir = options.direction || "down";
1264
- const px = options.pixels || 500;
1265
- const deltaY = dir === "up" ? -px : dir === "down" ? px : 0;
1266
- const deltaX = dir === "left" ? -px : dir === "right" ? px : 0;
1267
- window.scrollBy(deltaX, deltaY);
1268
- }
1269
- async swipe(options) {
1270
- const dist = options.distance || 300;
1271
- const deltaY = options.direction === "up" ? dist : options.direction === "down" ? -dist : 0;
1272
- const deltaX = options.direction === "left" ? dist : options.direction === "right" ? -dist : 0;
1273
- window.scrollBy(deltaX, deltaY);
1274
- }
1275
- async grantPermission(_name) {
1276
- }
1277
- // ─── Browser-Level Bridge (SpectraBrowserBridge) ────────────────────────
1278
- async getUrl() {
1279
- return window.location.href;
1280
- }
1281
- async getTitle() {
1282
- return document.title;
1283
- }
1284
- async execute(fn, ...args) {
1285
- if (typeof fn === "function") {
1286
- return fn(...args);
1287
- }
1288
- return new Function(`return (${fn});`)();
1289
- }
1290
- async evaluate(expr) {
1291
- return new Function(`return (${expr});`)();
1292
- }
1293
- async waitUntil(fn, opts) {
1294
- const ok = await globalThis.__TS_RUNTIME__.pollCondition(fn, opts?.timeout);
1295
- if (!ok) throw new Error(opts?.timeoutMsg || "waitUntil() condition was not met in time");
1296
- return ok;
1297
- }
1298
- async getLogs(_type) {
1299
- return [];
1300
- }
1301
- async shouldHaveUrl(expectedUrl) {
1302
- const actual = await this.getUrl();
1303
- if (actual !== expectedUrl) throw new Error(`Expected browser URL to be "${expectedUrl}", but got "${actual}"`);
1304
- }
1305
- async shouldContainUrl(expectedSubstr) {
1306
- const actual = await this.getUrl();
1307
- if (!actual.includes(expectedSubstr)) {
1308
- throw new Error(`Expected browser URL to contain "${expectedSubstr}", but got "${actual}"`);
1309
- }
1310
- }
1311
- async shouldHaveTitle(expectedTitle) {
1312
- const actual = await this.getTitle();
1313
- if (actual !== expectedTitle) throw new Error(`Expected page title to be "${expectedTitle}", but got "${actual}"`);
1314
- }
1315
- async shouldContainTitle(expectedSubstr) {
1316
- const actual = await this.getTitle();
1317
- if (!actual.includes(expectedSubstr)) {
1318
- throw new Error(`Expected page title to contain "${expectedSubstr}", but got "${actual}"`);
1319
- }
1320
- }
1321
- async shouldBeLoaded() {
1322
- if (document.readyState !== "complete" && document.readyState !== "interactive") {
1323
- throw new Error(`Expected document to be loaded, but readyState is "${document.readyState}"`);
1324
- }
1325
- }
1326
- async shouldHaveNoConsoleErrors() {
1327
- if (this.consoleErrors.length > 0) {
1328
- throw new Error(
1329
- `Expected no console errors, but found ${this.consoleErrors.length}: ${this.consoleErrors.join("; ")}`
1330
- );
1331
- }
1332
- }
1333
- async clearCookies() {
1334
- document.cookie.split(";").forEach((c) => {
1335
- const name = c.split("=")[0]?.trim();
1336
- if (name) document.cookie = `${name}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`;
1337
- });
1338
- }
1339
- async clearLocalStorage() {
1340
- window.localStorage.clear();
1341
- }
1342
- // ─── Network Interception (Out of Scope for Component Testing MVP) ─────
1343
- async intercept(_patternOrOptions, _method, _fixture, _options) {
1344
- throw new Error(
1345
- 'Spectra.intercept() is not supported in component testing mode \u2014 there is no network boundary between the test and the mounted component to intercept. Mock fetch/HTTP clients directly instead (e.g. `vi.spyOn(global, "fetch")` or MSW).'
1346
- );
1347
- }
1348
- clearMocks() {
1349
- }
1350
- };
46
+ Here are the matching elements:
1351
47
 
1352
- // src/mount.ts
1353
- import * as ReactDOMClient from "react-dom/client";
1354
- var ROOT_ID = "spectra-root";
1355
- var cachedRoot = null;
1356
- function getCreateRoot() {
1357
- const client = ReactDOMClient;
1358
- return client.createRoot || client.default?.createRoot || client.default;
1359
- }
1360
- function ensureContainer() {
1361
- let container = document.getElementById(ROOT_ID);
1362
- if (!container) {
1363
- container = document.createElement("div");
1364
- container.id = ROOT_ID;
1365
- document.body.appendChild(container);
1366
- }
1367
- return container;
1368
- }
1369
- async function mount(element) {
1370
- const container = ensureContainer();
1371
- if (!cachedRoot) {
1372
- const createRootFn = getCreateRoot();
1373
- cachedRoot = createRootFn(container);
1374
- }
1375
- const componentName = (typeof element.type === "string" ? element.type : element.type?.displayName || element.type?.name) || "component";
1376
- return globalThis.__TS_RUNTIME__.trackStep(
1377
- "action",
1378
- { type: "action", key: "mount", target: componentName, args: [] },
1379
- async () => {
1380
- cachedRoot.render(element);
1381
- await new Promise((r) => setTimeout(r, 0));
1382
- return globalThis.__TS_RUNTIME__.createElementProxy(`#${ROOT_ID}`);
1383
- }
1384
- );
1385
- }
48
+ `+a,r)}return l[0]||null}}function d_(e,t){return D().getElementError(`A better query is available, try this:
49
+ `+e.toString()+`
50
+ `,t)}function FA(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let l=e(r,...o);if(!l.length)throw D().getElementError(t(r,...o),r);return l}}function nu(e){return(t,r,n,o)=>UA(()=>e(t,r,n),{container:t,...o})}var bn=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),l=1;l<o;l++)i[l-1]=arguments[l];let a=e(n,...i),s=i.slice(-1),u=s[0],f=u===void 0?{}:u,m=f.suggest,v=m===void 0?D().throwSuggestions:m;if(a&&v){let g=Bd(a,r);if(g&&!t.endsWith(g.queryName))throw d_(g.toString(),n)}return a},Ze=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),l=1;l<o;l++)i[l-1]=arguments[l];let a=e(n,...i),s=i.slice(-1),u=s[0],f=u===void 0?{}:u,m=f.suggest,v=m===void 0?D().throwSuggestions:m;if(a.length&&v){let g=[...new Set(a.map(E=>{var _;return(_=Bd(E,r))==null?void 0:_.toString()}))];if(g.length===1&&!t.endsWith(Bd(a[0],r).queryName))throw d_(g[0],n)}return a};function Ur(e,t,r){let n=bn(ru(e,t),e.name,"query"),o=FA(e,r),i=ru(o,t),l=bn(i,e.name,"get"),a=Ze(o,e.name.replace("query","get"),"getAll"),s=nu(Ze(o,e.name,"findAll")),u=nu(bn(i,e.name,"find"));return[n,a,l,s,u]}function BA(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Fd(t)})).filter(t=>t.textToMatch!==null)}var jA=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,l=n.trim,a=n.collapseWhitespace,s=n.normalizer,u=i?qt:_n,f=Lr({collapseWhitespace:a,trim:l,normalizer:s});return BA(e).filter(v=>{let g=v.node,E=v.textToMatch;return u(E,g,t,f)}).map(v=>v.node)},Ro=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,l=n.exact,a=l===void 0?!0:l,s=n.collapseWhitespace,u=n.trim,f=n.normalizer;Ot(e);let m=a?qt:_n,v=Lr({collapseWhitespace:s,trim:u,normalizer:f}),g=Array.from(e.querySelectorAll("*")).filter(E=>o_(E).length||E.hasAttribute("aria-labelledby")).reduce((E,_)=>{let P=i_(e,_,{selector:i});P.filter(d=>!!d.formControl).forEach(d=>{m(d.content,d.formControl,t,v)&&d.formControl&&E.push(d.formControl)});let c=P.filter(d=>!!d.content).map(d=>d.content);return m(c.join(" "),_,t,v)&&E.push(_),c.length>1&&c.forEach((d,p)=>{m(d,_,t,v)&&E.push(_);let h=[...c];h.splice(p,1),h.length>1&&m(h.join(" "),_,t,v)&&E.push(_)}),E},[]).concat(au("aria-label",e,t,{exact:a,normalizer:v}));return Array.from(new Set(g)).filter(E=>E.matches(i))},Ar=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=Ro(e,t,...n);if(!i.length){let l=jA(e,t,...n);if(l.length){let a=l.map(s=>zA(e,s)).filter(s=>!!s);throw a.length?D().getElementError(a.map(s=>"Found a label with the text of: "+t+", however the element associated with this label (<"+s+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+s+" />, you can use aria-label or aria-labelledby instead.").join(`
1386
51
 
1387
- // src/setup.ts
1388
- var activeDriver = new DomDriverBridge();
1389
- globalThis.__TS_RUNTIME__.activeDriver = activeDriver;
1390
- globalThis.browser = activeDriver;
1391
- globalThis.$ = function(selector) {
1392
- return globalThis.__TS_RUNTIME__.createElementProxy(selector);
1393
- };
1394
- globalThis.$$ = function(selector) {
1395
- return globalThis.__TS_RUNTIME__.createCollectionProxy(selector);
1396
- };
1397
- var spectra = globalThis.__TS_RUNTIME__.buildSpectra();
1398
- spectra.mount = mount;
1399
- globalThis.Spectra = spectra;
1400
- await bootstrapAutoImports();
1401
- var testStartedAt = 0;
1402
- beforeEach((ctx) => {
1403
- testStartedAt = Date.now();
1404
- globalThis.__CURRENT_TEST_TITLE__ = ctx.task.name;
1405
- globalThis.__TS_RUNTIME__.emitEvent("TESTSPECTRA_TEST_START", JSON.stringify({ title: ctx.task.name }));
1406
- });
1407
- afterEach((ctx) => {
1408
- const duration = Date.now() - testStartedAt;
1409
- const failed = ctx.task.result?.state === "fail";
1410
- if (failed) {
1411
- const message = ctx.task.result?.errors?.[0]?.message;
1412
- if (message) globalThis.__TS_RUNTIME__.emitEvent("TESTSPECTRA_TEST_ERROR", message);
1413
- globalThis.__TS_RUNTIME__.emitEvent("TESTSPECTRA_TEST_FAIL", `${ctx.task.name} (${duration}ms)`);
1414
- } else {
1415
- globalThis.__TS_RUNTIME__.emitEvent("TESTSPECTRA_TEST_PASS", `${ctx.task.name} (${duration}ms)`);
1416
- }
1417
- });
52
+ `),e):D().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw D().getElementError("Unable to find a label with the text of: "+t,e)}return i};function zA(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var f_=(e,t)=>"Found multiple elements with the text of: "+t,$A=bn(ru(Ro,f_),Ro.name,"query"),p_=ru(Ar,f_),HA=nu(Ze(Ar,Ar.name,"findAll")),VA=nu(bn(p_,Ar.name,"find")),WA=Ze(Ar,Ar.name,"getAll"),KA=bn(p_,Ar.name,"get"),QA=Ze(Ro,Ro.name,"queryAll"),jd=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot(t[0]),au("placeholder",...t)},GA=(e,t)=>"Found multiple elements with the placeholder text of: "+t,XA=(e,t)=>"Unable to find an element with the placeholder text of: "+t,YA=Ze(jd,jd.name,"queryAll"),ko=Ur(jd,GA,XA),JA=ko[0],ZA=ko[1],eL=ko[2],tL=ko[3],rL=ko[4],zd=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,l=n.exact,a=l===void 0?!0:l,s=n.collapseWhitespace,u=n.trim,f=n.ignore,m=f===void 0?D().defaultIgnore:f,v=n.normalizer;Ot(e);let g=a?qt:_n,E=Lr({collapseWhitespace:s,trim:u,normalizer:v}),_=[];return typeof e.matches=="function"&&e.matches(i)&&(_=[e]),[..._,...Array.from(e.querySelectorAll(i))].filter(P=>!m||!P.matches(m)).filter(P=>g(lu(P),P,t,E))},nL=(e,t)=>"Found multiple elements with the text: "+t,oL=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,l=n.normalizer,a=n.selector,u=Lr({collapseWhitespace:o,trim:i,normalizer:l})(t.toString()),f=u!==t.toString(),m=(a??"*")!=="*";return"Unable to find an element with the text: "+(f?u+" (normalized from '"+t+"')":t)+(m?", which matches selector '"+a+"'":"")+". 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 your matcher more flexible."},iL=Ze(zd,zd.name,"queryAll"),Mo=Ur(zd,nL,oL),lL=Mo[0],aL=Mo[1],sL=Mo[2],uL=Mo[3],cL=Mo[4],$d=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,l=n.collapseWhitespace,a=n.trim,s=n.normalizer;Ot(e);let u=i?qt:_n,f=Lr({collapseWhitespace:l,trim:a,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(m=>m.tagName==="SELECT"?Array.from(m.options).filter(g=>g.selected).some(g=>u(lu(g),g,t,f)):u(m.value,m,t,f))},dL=(e,t)=>"Found multiple elements with the display value: "+t+".",fL=(e,t)=>"Unable to find an element with the display value: "+t+".",pL=Ze($d,$d.name,"queryAll"),qo=Ur($d,dL,fL),mL=qo[0],vL=qo[1],hL=qo[2],yL=qo[3],gL=qo[4],bL=/^(img|input|area|.+-.+)$/i,Hd=function(e,t,r){return r===void 0&&(r={}),Ot(e),au("alt",e,t,r).filter(n=>bL.test(n.tagName))},_L=(e,t)=>"Found multiple elements with the alt text: "+t,EL=(e,t)=>"Unable to find an element with the alt text: "+t,wL=Ze(Hd,Hd.name,"queryAll"),Oo=Ur(Hd,_L,EL),TL=Oo[0],CL=Oo[1],SL=Oo[2],PL=Oo[3],RL=Oo[4],xL=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Vd=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,l=n.collapseWhitespace,a=n.trim,s=n.normalizer;Ot(e);let u=i?qt:_n,f=Lr({collapseWhitespace:l,trim:a,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(m=>u(m.getAttribute("title"),m,t,f)||xL(m)&&u(lu(m),m,t,f))},kL=(e,t)=>"Found multiple elements with the title: "+t+".",ML=(e,t)=>"Unable to find an element with the title: "+t+".",qL=Ze(Vd,Vd.name,"queryAll"),Io=Ur(Vd,kL,ML),OL=Io[0],IL=Io[1],NL=Io[2],AL=Io[3],LL=Io[4],Wd=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?D().defaultHidden:o,l=n.name,a=n.description,s=n.queryFallbacks,u=s===void 0?!1:s,f=n.selected,m=n.busy,v=n.checked,g=n.pressed,E=n.current,_=n.level,P=n.expanded,c=n.value,d=c===void 0?{}:c,p=d.now,h=d.min,b=d.max,C=d.text;if(Ot(e),f!==void 0){var w;if(((w=xe.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(m!==void 0){var x;if(((x=xe.roles.get(t))==null?void 0:x.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(v!==void 0){var I;if(((I=xe.roles.get(t))==null?void 0:I.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(g!==void 0){var O;if(((O=xe.roles.get(t))==null?void 0:O.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(E!==void 0){var z;if(((z=xe.roles.get(t))==null?void 0:z.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(_!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(p!==void 0){var L;if(((L=xe.roles.get(t))==null?void 0:L.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(b!==void 0){var le;if(((le=xe.roles.get(t))==null?void 0:le.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var Re;if(((Re=xe.roles.get(t))==null?void 0:Re.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(C!==void 0){var T;if(((T=xe.roles.get(t))==null?void 0:T.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(P!==void 0){var q;if(((q=xe.roles.get(t))==null?void 0:q.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let N=new WeakMap;function K(F){return N.has(F)||N.set(F,u_(F)),N.get(F)}return Array.from(e.querySelectorAll(UL(t))).filter(F=>{if(F.hasAttribute("role")){let sn=F.getAttribute("role");return u?sn.split(" ").filter(Boolean).some(PC=>PC===t):sn.split(" ")[0]===t}return Zd(F).some(sn=>sn===t)}).filter(F=>{if(f!==void 0)return f===CA(F);if(m!==void 0)return m===SA(F);if(v!==void 0)return v===PA(F);if(g!==void 0)return g===RA(F);if(E!==void 0)return E===xA(F);if(P!==void 0)return P===kA(F);if(_!==void 0)return _===MA(F);if(p!==void 0||b!==void 0||h!==void 0||C!==void 0){let je=!0;if(p!==void 0&&je&&(je=p===qA(F)),b!==void 0&&je&&(je=b===OA(F)),h!==void 0&&je&&(je=h===IA(F)),C!==void 0){var Xe;je&&(je=qt((Xe=NA(F))!=null?Xe:null,F,C,sn=>sn))}return je}return!0}).filter(F=>l===void 0?!0:qt(To(F,{computedStyleSupportsPseudoElements:D().computedStyleSupportsPseudoElements}),F,l,Xe=>Xe)).filter(F=>a===void 0?!0:qt(nl(F,{computedStyleSupportsPseudoElements:D().computedStyleSupportsPseudoElements}),F,a,Xe=>Xe)).filter(F=>i===!1?Jd(F,{isSubtreeInaccessible:K})===!1:!0)};function UL(e){var t;let r='*[role~="'+e+'"]',n=(t=xe.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>i.name));return[r].concat(Array.from(o)).join(",")}var m_=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},DL=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+m_(o)},FL=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?D().defaultHidden:o,l=n.name,a=n.description;if(D()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+m_(l);let s="";Array.from(e.children).forEach(v=>{s+=TA(v,{hidden:i,includeDescription:a!==void 0})});let u;s.length===0?i===!1?u="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":u="There are no available roles.":u=(`
53
+ Here are the `+(i===!1?"accessible":"available")+` roles:
54
+
55
+ `+s.replace(/\n/g,`
56
+ `).replace(/\n\s\s\n/g,`
57
+
58
+ `)+`
59
+ `).trim();let f="";l===void 0?f="":typeof l=="string"?f=' and name "'+l+'"':f=" and name `"+l+"`";let m="";return a===void 0?m="":typeof a=="string"?m=' and description "'+a+'"':m=" and description `"+a+"`",(`
60
+ Unable to find an `+(i===!1?"accessible ":"")+'element with the role "'+t+'"'+f+m+`
61
+
62
+ `+u).trim()},BL=Ze(Wd,Wd.name,"queryAll"),No=Ur(Wd,DL,FL),jL=No[0],zL=No[1],$L=No[2],HL=No[3],VL=No[4],ef=()=>D().testIdAttribute,Kd=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot(t[0]),au(ef(),...t)},WL=(e,t)=>"Found multiple elements by: ["+ef()+'="'+t+'"]',KL=(e,t)=>"Unable to find an element by: ["+ef()+'="'+t+'"]',QL=Ze(Kd,Kd.name,"queryAll"),Ao=Ur(Kd,WL,KL),GL=Ao[0],XL=Ao[1],YL=Ao[2],JL=Ao[3],ZL=Ao[4],Qd=Object.freeze({__proto__:null,queryAllByLabelText:QA,queryByLabelText:$A,getAllByLabelText:WA,getByLabelText:KA,findAllByLabelText:HA,findByLabelText:VA,queryByPlaceholderText:JA,queryAllByPlaceholderText:YA,getByPlaceholderText:eL,getAllByPlaceholderText:ZA,findAllByPlaceholderText:tL,findByPlaceholderText:rL,queryByText:lL,queryAllByText:iL,getByText:sL,getAllByText:aL,findAllByText:uL,findByText:cL,queryByDisplayValue:mL,queryAllByDisplayValue:pL,getByDisplayValue:hL,getAllByDisplayValue:vL,findAllByDisplayValue:yL,findByDisplayValue:gL,queryByAltText:TL,queryAllByAltText:wL,getByAltText:SL,getAllByAltText:CL,findAllByAltText:PL,findByAltText:RL,queryByTitle:OL,queryAllByTitle:qL,getByTitle:NL,getAllByTitle:IL,findAllByTitle:AL,findByTitle:LL,queryByRole:jL,queryAllByRole:BL,getAllByRole:zL,getByRole:$L,findAllByRole:HL,findByRole:VL,queryByTestId:GL,queryAllByTestId:QL,getByTestId:YL,getAllByTestId:XL,findAllByTestId:JL,findByTestId:ZL});function eU(e,t,r){return t===void 0&&(t=Qd),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var Hb={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}},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}},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:{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}},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}},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}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},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}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},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}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},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}},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}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},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}}},Vb={doubleClick:"dblClick"},tU=["value","files"],rU=["bubbles","cancelable","detail"];function ou(e,t){return D().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)})}function Dd(e,t,r,n){let o=n===void 0?{}:n,i=o.EventType,l=i===void 0?"Event":i,a=o.defaultInit,s=a===void 0?{}:a;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let u={...s,...r},f=u.target,m=f===void 0?{}:f,v=m.value,g=m.files,E=Hi(m,tU);v!==void 0&&nU(t,v),g!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:g}),Object.assign(t,E);let _=r_(t),P=_[l]||_.Event,c;if(typeof P=="function")c=new P(e,u);else{c=_.document.createEvent(l);let p=u.bubbles,h=u.cancelable,b=u.detail,C=Hi(u,rU);c.initEvent(e,p,h,b),Object.keys(C).forEach(w=>{c[w]=C[w]})}return["dataTransfer","clipboardData"].forEach(p=>{let h=u[p];typeof h=="object"&&(typeof _.DataTransfer=="function"?Object.defineProperty(c,p,{value:Object.getOwnPropertyNames(h).reduce((b,C)=>(Object.defineProperty(b,C,{value:h[C]}),b),new _.DataTransfer)}):Object.defineProperty(c,p,{value:h}))}),c}Object.keys(Hb).forEach(e=>{let t=Hb[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();Dd[e]=(i,l)=>Dd(o,i,l,{EventType:r,defaultInit:n}),ou[e]=(i,l)=>ou(i,Dd[e](i,l))});function nU(e,t){let r=Object.getOwnPropertyDescriptor(e,"value")||{},n=r.set,o=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(o,"value")||{},l=i.set;if(l&&n!==l)l.call(e,t);else if(n)n.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Vb).forEach(e=>{let t=Vb[e];ou[e]=function(){return ou[t](...arguments)}});function oU(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
63
+ `)}function iU(e){return Kb.default.compressToEncodedURIComponent(oU(e))}function lU(e){return"https://testing-playground.com/#markup="+iU(e)}var aU=(e,t,r)=>Array.isArray(e)?e.forEach(n=>jb(n,t,r)):jb(e,t,r),sU=function(e){if(e===void 0&&(e=Yd().body),!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=lU(e.innerHTML);return console.log(`Open this URL in your browser
64
+
65
+ `+t),t},Wb={debug:aU,logTestingPlaygroundURL:sU},ez=typeof document<"u"&&document.body?eU(document.body,Qd,Wb):Object.keys(Qd).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),Wb);function ur(e,t){return D().eventWrapper(e)}function Ae(e){let t=Gm(e,io),r=Qt(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?ur(()=>t.focus()):ur(()=>r?.blur()),ev(t??e.ownerDocument.body))}function v_(e){!io(e)||!(Qt(e.ownerDocument)===e)||ur(()=>e.blur())}var ke={};ke.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&M(n,"label")&&n.control;if(o&&o!==t)return()=>{io(o)&&(Ae(o),r.dispatchEvent(o,Qm(e)))};if(M(t,"input",{type:"file"}))return()=>{v_(t),t.dispatchEvent(new(J(t)).Event("fileDialog")),Ae(t)}};var En=Symbol("Displayed value in UI"),It=Symbol("Displayed selection in UI"),su=Symbol("Initial value to compare on blur");function h_(e){return typeof e=="object"&&En in e}function y_(e){return!!e&&typeof e=="object"&&It in e}function g_(e,t){e[su]===void 0&&(e[su]=e.value),e[En]=t,e.value=Object.assign(new String(t),{[En]:!0})}function pe(e){return e[En]===void 0?e.value:String(e[En])}function Lo(e){e[En]=void 0}function uu(e){e[su]=void 0}function b_(e){return e[su]}function __(e,t){e[It]=t}function dt(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=pe(e).length,i=m=>Math.max(0,Math.min(o,m)),l=n==="replace"||e[It]===void 0?i(r):e[It].anchorOffset,a=i(t),s=Math.min(l,a),u=Math.max(l,a);if(e[It]={anchorOffset:l,focusOffset:a},e.selectionStart===s&&e.selectionEnd===u)return;let f=Object.assign(new Number(s),{[It]:!0});try{e.setSelectionRange(f,u)}catch{}}function Nt(e){var t,r,n;let o=(t=e[It])!==null&&t!==void 0?t:{anchorOffset:(r=e.selectionStart)!==null&&r!==void 0?r:0,focusOffset:(n=e.selectionEnd)!==null&&n!==void 0?n:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function E_(e){return!!e[It]}function Uo(e){e[It]=void 0}var cu=globalThis.parseInt;function T_(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=cu(t[0],10),n=cu(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,w_(t,o)}return e.length===2?e:w_(t,2)}function w_(e,t){let r=e.slice(0,t),n=Math.min(cu(r,10),23),o=e.slice(t),i=cu(o,10),l=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${l.toString().padStart(2,"0")}`}function tf(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var C_=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(C_||{});function S_(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}function P_(e){return M(e,"textarea")||M(e,"input")&&e.type in C_}function pu(e,t,r,n){if(fu(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=R_(e,t,r);if(o){if(fu(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(M(o,"br")){let i=R_(o,void 0,r);return i?fu(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&M(i,"br")?{node:o.parentNode,offset:du(o)}:{node:i.parentNode,offset:du(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:du(o)}:void 0}else return{node:o.parentNode,offset:du(o)+(r>0?1:0)}}}function R_(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&rf(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),cU(e,r===1?"next":"previous",uU)}function uU(e){if(fu(e))return!0;if(rf(e)){if(M(e,["input","textarea"]))return e.type!=="hidden";if(M(e,"br"))return!0}return!1}function du(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function rf(e){return e.nodeType===1}function fu(e){return e.nodeType===3}function cU(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=dU(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!rf(e.parentNode)||!ze(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function dU(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var Do=Symbol("Track programmatic changes for React workaround");function fU(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&J(e).REACT_VERSION===17}function x_(e){fU(e)&&(e[Do]={previousValue:String(e.value),tracked:[]})}function k_(e,t){var r,n;(n=e[Do])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Do]||(Lo(e),dt(e,{focusOffset:t.length}))}function M_(e,t){var r;let n=e[Do];if(e[Do]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Lo(e),E_(e)&&dt(e,{focusOffset:o?t:e.value.length})}function mu(e){let t=pU(e);if(t&&ae(t))return{type:"input",selection:Nt(t)};let r=t?.ownerDocument.getSelection();return{type:Gt(e)&&r?.anchorNode&&Gt(r.anchorNode)?"contenteditable":"default",selection:r}}function pU(e){return e.nodeType===1?e:e.parentElement}function q_(e){let t=mu(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)}}function ft({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(mu(e).type==="input")return dt(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function I_(e){return M(e,"input")&&["date","time"].includes(e.type)}function pt(e,t,r,n="insertText"){let o=q_(t);o&&(!I_(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?mU(e,t,o,r,n):vU(e,t,o,r,n)))}function mU(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let l=pu(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(l){i=!0;let a=r.cloneRange();a.comparePoint(l.node,l.offset)<0?a.setStart(l.node,l.offset):a.setEnd(l.node,l.offset),a.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let l=r.endOffset;r.endContainer.insertData(l,n),r.setStart(r.endContainer,l+n.length),r.setEnd(r.endContainer,l+n.length)}else{let l=t.ownerDocument.createTextNode(n);r.insertNode(l),r.setStart(l,n.length),r.setEnd(l,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function vU(e,t,r,n,o){let i=n;if(P_(t)){let u=S_(t);if(u!==void 0&&n.length>0){let f=r.endOffset-r.startOffset,m=u-t.value.length+f;if(m>0)i=n.substring(0,m);else return}}let{newValue:l,newOffset:a,oldValue:s}=hU(i,t,r,o);l===s&&a===r.startOffset&&a===r.endOffset||M(t,"input",{type:"number"})&&!yU(l)||(g_(t,l),ft({focusNode:t,anchorOffset:a,focusOffset:a}),I_(t)?tf(t,l)&&(O_(e,t,a,{}),e.dispatchUIEvent(t,"change"),uu(t)):O_(e,t,a,{data:n,inputType:o}))}function hU(e,t,{startOffset:r,endOffset:n},o){let i=pe(t),l=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),a=i.substring(0,l),s=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(s,i.length),f=`${a}${e}${u}`,m=l+e.length;if(M(t,"input",{type:"time"})){let v=T_(f);v!==""&&tf(t,v)&&(f=v,m=v.length)}return{oldValue:i,newValue:f,newOffset:m}}function O_(e,t,r,n){e.dispatchUIEvent(t,"input",n),M_(t,r)}function yU(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]))}ke.cut=(e,t,r)=>()=>{at(t)&&pt(r,t,"","deleteByCut")};function N_(e){return e?ze(e)?e.textContent:pe(e):null}function A_(e){let t=J(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function L_(e,t){let r=e.ownerDocument,n=r.querySelectorAll(zi),o=Array.from(n).filter(s=>s===e||!(Number(s.getAttribute("tabindex"))<0||_e(s)));Number(e.getAttribute("tabindex"))>=0&&o.sort((s,u)=>{let f=Number(s.getAttribute("tabindex")),m=Number(u.getAttribute("tabindex"));return f===m?0:f===0?1:m===0?-1:f-m});let i={},l=[r.body],a=M(e,"input",{type:"radio"})?e.name:void 0;o.forEach(s=>{let u=s;if(M(u,"input",{type:"radio"})&&u.name){if(u===e){l.push(u);return}else if(u.name===a)return;if(u.checked){l=l.filter(f=>!M(f,"input",{type:"radio",name:u.name})),l.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}l.push(u)});for(let s=l.findIndex(u=>u===e);;)if(s+=t?-1:1,s===l.length?s=0:s===-1&&(s=l.length-1),l[s]===e||l[s]===r.body||A_(l[s]))return l[s]}function nf(e,t){if(ae(e)){let r=Nt(e);ft({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=pu(r.focusNode,r.focusOffset,t);n&&ft({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function vu(e){var t;if(ae(e))return ft({focusNode:e,anchorOffset:0,focusOffset:pe(e).length});let r=(t=Gt(e))!==null&&t!==void 0?t:e.ownerDocument.body;ft({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function U_(e){var t;if(ae(e))return Nt(e).startOffset===0&&Nt(e).endOffset===pe(e).length;let r=(t=Gt(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}function Dr(e,t,r){var n;if(ae(e))return ft({focusNode:e,anchorOffset:t,focusOffset:r});if(ze(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return ft({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Fo(e,t,r){let n=J(t),o=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 i=o.findIndex(l=>l===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!_e(o[i])){Ae(o[i]),e.dispatchUIEvent(o[i],"click");return}}}ke.keydown=(e,t,r)=>{var n,o;return(n=(o=D_[e.key])===null||o===void 0?void 0:o.call(D_,e,t,r))!==null&&n!==void 0?n:gU(e,t,r)};var D_={ArrowDown:(e,t,r)=>{if(M(t,"input",{type:"radio"}))return()=>Fo(r,t,1)},ArrowLeft:(e,t,r)=>M(t,"input",{type:"radio"})?()=>Fo(r,t,-1):()=>nf(t,-1),ArrowRight:(e,t,r)=>M(t,"input",{type:"radio"})?()=>Fo(r,t,1):()=>nf(t,1),ArrowUp:(e,t,r)=>{if(M(t,"input",{type:"radio"}))return()=>Fo(r,t,-1)},Backspace:(e,t,r)=>{if(at(t))return()=>{pt(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(at(t))return()=>{pt(r,t,"","deleteContentForward")}},End:(e,t)=>{if(M(t,["input","textarea"])||ze(t))return()=>{var r,n;let o=(r=(n=N_(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;Dr(t,o,o)}},Home:(e,t)=>{if(M(t,["input","textarea"])||ze(t))return()=>{Dr(t,0,0)}},PageDown:(e,t)=>{if(M(t,["input"]))return()=>{let r=pe(t).length;Dr(t,r,r)}},PageUp:(e,t)=>{if(M(t,["input"]))return()=>{Dr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=L_(dn(r.config.document),r.system.keyboard.modifiers.Shift);Ae(n),ae(n)&&dt(n,{anchorOffset:0,focusOffset:n.value.length})}},gU=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>vu(t)};ke.keypress=(e,t,r)=>{if(e.key==="Enter"){if(M(t,"button")||M(t,"input")&&bU.includes(t.type)||M(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(M(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&_U.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(at(t)){let n=e.key==="Enter"?ze(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
66
+ `:e.key;return()=>pt(r,t,o,n)}};var bU=["button","color","file","image","reset","submit"],_U=["email","month","password","search","tel","text","url","week"];ke.keyup=(e,t,r)=>{var n;return(n=F_[e.key])===null||n===void 0?void 0:n.call(F_,e,t,r)};var F_={" ":(e,t,r)=>{if($i(t))return()=>r.dispatchUIEvent(t,"click")}};ke.paste=(e,t,r)=>{if(at(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&pt(r,t,o,"insertFromPaste")}};var of={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 B_(e){return of[e].EventType}var EU=["MouseEvent","PointerEvent"];function j_(e){return EU.includes(B_(e))}function z_(e){return B_(e)==="KeyboardEvent"}var wU={ClipboardEvent:[CU],Event:[],FocusEvent:[Bo,SU],InputEvent:[Bo,PU],MouseEvent:[Bo,lf,$_],PointerEvent:[Bo,lf,$_,xU],KeyboardEvent:[Bo,lf,RU]};function af(e,t,r){let n=J(t),{EventType:o,defaultInit:i}=of[e],l=new(TU(n))[o](e,i);return wU[o].forEach(a=>a(l,r??{})),l}function TU(e){var t,r,n,o,i,l,a,s,u,f,m,v,g,E,_;let P=(t=e.Event)!==null&&t!==void 0?t:class{},c=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends P{},d=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends P{},p=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends P{},h=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends P{},b=(l=e.TransitionEvent)!==null&&l!==void 0?l:class extends P{},C=(a=e.UIEvent)!==null&&a!==void 0?a:class extends P{},w=(s=e.CompositionEvent)!==null&&s!==void 0?s:class extends C{},x=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends C{},I=(f=e.InputEvent)!==null&&f!==void 0?f:class extends C{},O=(m=e.KeyboardEvent)!==null&&m!==void 0?m:class extends C{},z=(v=e.MouseEvent)!==null&&v!==void 0?v:class extends C{},L=(g=e.DragEvent)!==null&&g!==void 0?g:class extends z{},le=(E=e.PointerEvent)!==null&&E!==void 0?E:class extends z{},Re=(_=e.TouchEvent)!==null&&_!==void 0?_:class extends C{};return{Event:P,AnimationEvent:c,ClipboardEvent:d,PopStateEvent:p,ProgressEvent:h,TransitionEvent:b,UIEvent:C,CompositionEvent:w,FocusEvent:x,InputEvent:I,KeyboardEvent:O,MouseEvent:z,DragEvent:L,PointerEvent:le,TouchEvent:Re}}function cr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function re(e){return Number(e??0)}function CU(e,{clipboardData:t}){cr(e,{clipboardData:t})}function SU(e,{relatedTarget:t}){cr(e,{relatedTarget:t})}function PU(e,{data:t,inputType:r,isComposing:n}){cr(e,{data:t,isComposing:!!n,inputType:String(r)})}function Bo(e,{view:t,detail:r}){cr(e,{view:t,detail:re(r??0)})}function lf(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:l,modifierFn:a,modifierFnLock:s,modifierNumLock:u,modifierScrollLock:f,modifierSymbol:m,modifierSymbolLock:v}){cr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(g){return!!{Alt:t,AltGraph:i,CapsLock:l,Control:r,Fn:a,FnLock:s,Meta:n,NumLock:u,ScrollLock:f,Shift:o,Symbol:m,SymbolLock:v}[g]}})}function RU(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:l}){cr(e,{key:String(t),code:String(r),location:re(n),repeat:!!o,isComposing:!!i,charCode:l})}function $_(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:l=r,button:a,buttons:s,relatedTarget:u,offsetX:f,offsetY:m,pageX:v,pageY:g}){cr(e,{screenX:re(n),screenY:re(o),clientX:re(i),x:re(i),clientY:re(l),y:re(l),button:re(a),buttons:re(s),relatedTarget:u,offsetX:re(f),offsetY:re(m),pageX:re(v),pageY:re(g)})}function xU(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:l,tiltY:a,twist:s,pointerType:u,isPrimary:f,buttons:m}){cr(e,{pointerId:re(t),width:re(r??1),height:re(n??1),pressure:re(o??(m?.5:0)),tangentialPressure:re(i),tiltX:re(l),tiltY:re(a),twist:re(s),pointerType:String(u??""),isPrimary:!!f})}function H_(e,t,r,n=!1){(j_(t)||z_(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=af(t,e,r);return sf.call(this,e,o,n)}function sf(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=ke[o])===null||n===void 0?void 0:n.call(ke,t,e,this);if(i){t.preventDefault();let l=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>l}),Object.defineProperty(t,"preventDefault",{value:()=>{l=t.cancelable}}),ur(()=>e.dispatchEvent(t)),l||i(),!l}return ur(()=>e.dispatchEvent(t))}function At(e,t,r){let n=af(t,e,r);ur(()=>e.dispatchEvent(n))}var V_=Symbol("patched focus/blur methods");function uf(e){if(e.prototype[V_])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,value:o,writable:!0},blur:{configurable:!0,value:i,writable:!0},[V_]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(l){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,l);let a=W_(this.ownerDocument);if(a===this)return;let s=Symbol("focus call");n=s,a&&(r.call(a),At(a,"blur",{relatedTarget:this}),At(a,"focusout",{relatedTarget:n===s?this:null})),n===s&&(t.call(this,l),At(this,"focus",{relatedTarget:a})),n===s&&At(this,"focusin",{relatedTarget:a})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let l=W_(this.ownerDocument);if(l!==this)return;n=Symbol("blur call"),r.call(this),At(l,"blur",{relatedTarget:null}),At(l,"focusout",{relatedTarget:null})}}function W_(e){let t=Qt(e);return t?.tagName==="BODY"?null:t}var cf=Symbol("Interceptor for programmatical calls");function wn(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][cf])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function l(...a){let{applyNative:s=!1,realArgs:u,then:f}=r.call(this,...a),m=(!s&&o||n)[i];i==="set"?m.call(this,u):m.call(this,...u),f?.()}l[cf]=cf,Object.defineProperty(e,t,{...o??n,[i]:l})}function K_(e){wn(e,"value",function(r){let n=h_(r);return n&&x_(this),{applyNative:!!n,realArgs:kU(this,r),then:n?void 0:()=>k_(this,String(r))}})}function kU(e,t){return M(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Q_(e){wn(e,"setSelectionRange",function(r,...n){let o=y_(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:Uo(e)}}),wn(e,"selectionStart",function(r){return{realArgs:r,then:()=>Uo(e)}}),wn(e,"selectionEnd",function(r){return{realArgs:r,then:()=>Uo(e)}}),wn(e,"select",function(){return{realArgs:[],then:()=>__(e,{anchorOffset:0,focusOffset:pe(e).length})}})}function G_(e){wn(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{Lo(e),Uo(e)}}})}var Tn=Symbol("Node prepared with document state workarounds");function df(e){e[Tn]||(e.addEventListener("focus",t=>{let r=t.target;X_(r)},{capture:!0,passive:!0}),e.activeElement&&X_(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=b_(r);n!==void 0&&(r.value!==n&&At(r,"change"),uu(r))},{capture:!0,passive:!0}),e[Tn]=Tn)}function X_(e){e[Tn]||(M(e,["input","textarea"])&&(K_(e),Q_(e),G_(e)),e[Tn]=Tn)}function Y_(e){return MU(e)?e:e.ownerDocument}function MU(e){return e.nodeType===9}var Ee=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Fr(e,t){e.levelRefs[t]={}}function jo(e,t){return e.levelRefs[t]}function Tt(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var Br=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var mt=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),qU=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function J_(e){return qU.includes(e)}var OU=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Z_(e){return OU.includes(e)}var hu=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r,n=!1){let o=String(r.key),i=String(r.code),l=dn(t.config.document);this.setKeydownTarget(l),this.pressed.add(i,r),J_(o)&&(this.modifiers[o]=!0);let a=t.dispatchUIEvent(l,"keydown",{key:o,code:i,repeat:n});Z_(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),a&&this.pressed.setUnprevented(i),a&&this.hasKeyPress(o)&&t.dispatchUIEvent(dn(t.config.document),"keypress",{key:o,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),J_(n)&&!this.pressed.values().find(l=>l.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(dn(t.config.document),"keyup",{key:n,code:o},!i),Z_(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){jr(this,"system",void 0),jr(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}),jr(this,"pressed",new class{add(r,n){var o,i,l;(l=(o=this.registry)[i=r])!==null&&l!==void 0||(o[i]={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(){jr(this,"registry",{})}}),jr(this,"carryChar",""),jr(this,"lastKeydownTarget",void 0),jr(this,"modifierLockStart",{}),this.system=t}};var eE=[..."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},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:mt.LEFT},{code:"AltRight",key:"Alt",location:mt.RIGHT},{code:"ShiftLeft",key:"Shift",location:mt.LEFT},{code:"ShiftRight",key:"Shift",location:mt.RIGHT},{code:"ControlLeft",key:"Control",location:mt.LEFT},{code:"ControlRight",key:"Control",location:mt.RIGHT},{code:"MetaLeft",key:"Meta",location:mt.LEFT},{code:"MetaRight",key:"Meta",location:mt.RIGHT},{code:"OSLeft",key:"OS",location:mt.LEFT},{code:"OSRight",key:"OS",location:mt.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}];var tE=[{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"}];function IU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Cn=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=ff(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=ff(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(){IU(this,"pressed",{})}},rE={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function ff(e=0){return e in rE?rE[e]:Number(e)}var nE={1:2,2:1};function zo(e){return e=ff(e),e in nE?nE[e]:e}function NU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yu=class{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(){NU(this,"pressedKeys",new Set)}};function zr(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function $o({target:e,node:t,offset:r}){return ae(e)?{node:e,offset:r??pe(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:oE(e,r)}function oE(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=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 i=e.childNodes.item(n),l=String(i.textContent);if(l.length)if(t!==void 0&&l.length<t)t-=l.length;else{if(i.nodeType===1)return oE(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function iE({document:e,target:t,clickCount:r,node:n,offset:o}){if(Jm(t))return;let i=ae(t),l=String(i?pe(t):t.textContent),[a,s]=n?[o,o]:AU(l,o,r);if(i)return dt(t,{anchorOffset:a??l.length,focusOffset:s??l.length}),{node:t,start:a??0,end:s??l.length};{let{node:u,offset:f}=$o({target:t,node:n,offset:a}),{node:m,offset:v}=$o({target:t,node:n,offset:s}),g=t.ownerDocument.createRange();try{g.setStart(u,f),g.setEnd(m,v)}catch{throw new Error("The given offset is out of bounds.")}let E=e.getSelection();return E?.removeAllRanges(),E?.addRange(g.cloneRange()),g}}function AU(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]}function lE(e,{document:t,target:r,node:n,offset:o}){let i=$o({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let l=i.offset<e.start?e.end:e.start,a=i.offset>e.end||i.offset<e.start?i.offset:e.end;dt(e.node,{anchorOffset:l,focusOffset:a})}}else{let l=e.cloneRange(),a=l.comparePoint(i.node,i.offset);a<0?l.setStart(i.node,i.offset):a>0&&l.setEnd(i.node,i.offset);let s=t.getSelection();s?.removeAllRanges(),s?.addRange(l.cloneRange())}}function gu(e,t){var r,n,o,i,l,a,s,u,f,m,v,g,E,_,P,c,d,p,h,b,C,w,x,I;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)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((l=e.coords)===null||l===void 0?void 0:l.clientX)!==((a=t.coords)===null||a===void 0?void 0:a.clientX)||((s=e.coords)===null||s===void 0?void 0:s.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((f=e.coords)===null||f===void 0?void 0:f.offsetX)!==((m=t.coords)===null||m===void 0?void 0:m.offsetX)||((v=e.coords)===null||v===void 0?void 0:v.offsetY)!==((g=t.coords)===null||g===void 0?void 0:g.offsetY)||((E=e.coords)===null||E===void 0?void 0:E.pageX)!==((_=t.coords)===null||_===void 0?void 0:_.pageX)||((P=e.coords)===null||P===void 0?void 0:P.pageY)!==((c=t.coords)===null||c===void 0?void 0:c.pageY)||((d=e.coords)===null||d===void 0?void 0:d.screenX)!==((p=t.coords)===null||p===void 0?void 0:p.screenX)||((h=e.coords)===null||h===void 0?void 0:h.screenY)!==((b=t.coords)===null||b===void 0?void 0:b.screenY)||((C=e.caret)===null||C===void 0?void 0:C.node)!==((w=t.caret)===null||w===void 0?void 0:w.node)||((x=e.caret)===null||x===void 0?void 0:x.offset)!==((I=t.caret)===null||I===void 0?void 0:I.offset)}function $r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bu=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!gu(o,r))return;let l=this.getTarget(t),a=this.getEventInit("mousemove"),[s,u]=zr(i,l);return{leave:()=>{i!==l&&(t.dispatchUIEvent(i,"mouseout",a),s.forEach(f=>t.dispatchUIEvent(f,"mouseleave",a)))},enter:()=>{i!==l&&(t.dispatchUIEvent(l,"mouseover",a),u.forEach(f=>t.dispatchUIEvent(f,"mouseenter",a)))},move:()=>{n||(t.dispatchUIEvent(l,"mousemove",a),this.modifySelecting(t))}}}down(t,r,n){let o=this.buttons.down(r);if(o===void 0)return;let i=this.getTarget(t);this.buttonDownTarget[o]=i;let l=this.getEventInit("mousedown",r.button),a=_e(i);!n&&(a||t.dispatchUIEvent(i,"mousedown",l))&&(this.startSelecting(t,l.detail),Ae(i)),!a&&zo(r.button)===2&&t.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let o=this.buttons.up(r);if(o===void 0)return;let i=this.getTarget(t);if(!_e(i)){if(!n){let a=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",a),this.endSelecting()}let l=zr(this.buttonDownTarget[o],i)[2][0];if(l){let a=this.getEventInit("click",r.button);a.detail&&(t.dispatchUIEvent(l,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&t.dispatchUIEvent(l,"dblclick",{...this.getEventInit("dblclick",r.button),detail:a.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=zo(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,o;this.selecting=iE({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&lE(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(){$r(this,"position",{}),$r(this,"buttons",new Cn),$r(this,"selecting",void 0),$r(this,"buttonDownTarget",{}),$r(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,n;return this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0},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(){$r(this,"down",{}),$r(this,"count",{})}})}};function Sn(e,t){var r;return((r=uE(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function LU(e){let t=J(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var aE=Symbol("Last check for pointer-events");function uE(e,t){let r=t[aE];if(!(e.config.pointerEventsCheck!==Br.Never&&(!r||sE(e.config.pointerEventsCheck,Br.EachApiCall)&&r[Ee.Call]!==jo(e,Ee.Call)||sE(e.config.pointerEventsCheck,Br.EachTrigger)&&r[Ee.Trigger]!==jo(e,Ee.Trigger))))return r?.result;let o=LU(t);return t[aE]={[Ee.Call]:jo(e,Ee.Call),[Ee.Trigger]:jo(e,Ee.Trigger),result:o},o}function Hr(e,t){let r=uE(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\`:`,"",UU(r.tree)].join(`
67
+ `))}function UU(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,DU(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(`
68
+ `)}function DU(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(M(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(l=>{var a;return(a=l.textContent)===null||a===void 0?void 0:a.trim()}).join("|");else if(M(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function sE(e,t){return(e&t)>0}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _u=class{init(t){let r=this.getTarget(t),[,n]=zr(null,r),o=this.getEventInit();return Hr(t,r),t.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerenter",o)),this}move(t,r){let n=this.position,o=this.getTarget(t);if(this.position=r,!gu(n,r))return;let i=this.getTarget(t),l=this.getEventInit(-1),[a,s]=zr(o,i);return{leave:()=>{Sn(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",l),a.forEach(u=>t.dispatchUIEvent(u,"pointerleave",l)))},enter:()=>{Hr(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",l),s.forEach(u=>t.dispatchUIEvent(u,"pointerenter",l)))},move:()=>{t.dispatchUIEvent(i,"pointermove",l)}}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);Hr(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);Hr(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=zr(r,null),o=this.getEventInit();Sn(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),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:zo(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Lt(this,"pointerId",void 0),Lt(this,"pointerType",void 0),Lt(this,"isPrimary",void 0),Lt(this,"buttons",void 0),Lt(this,"isMultitouch",!1),Lt(this,"isCancelled",!1),Lt(this,"isDown",!1),Lt(this,"isPrevented",!1),Lt(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Eu=class{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 o=this.getPointerName(r),i=r.pointerType==="touch"?this.pointers.new(o,r.pointerType,this.buttons):this.pointers.get(o);i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),i.pointerType==="touch"&&i.init(t),i.down(t,r.button),i.pointerType!=="touch"&&this.mouse.down(t,r,i.isPrevented)}async move(t,r,n){let o=this.pointers.get(r),i=o.move(t,n),l=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i?.leave(),l?.leave(),i?.enter(),l?.enter(),i?.move(),l?.move()}async release(t,r,n){let o=this.devices.get(r.pointerType);o.removePressed(r),this.buttons.up(r);let i=this.pointers.get(this.getPointerName(r)),l=i.isPrevented;if(i.position=n,i.pointerType!=="touch"&&(this.mouse.position=n),o.countPressed===0&&i.up(t,r.button),i.pointerType==="touch"&&i.release(t),i.pointerType==="touch"&&!i.isMultitouch){let a=this.mouse.move(t,n,l);a?.leave(),a?.enter(),a?.move(),this.mouse.down(t,r,l)}if(!i.isMultitouch){let a=this.mouse.move(t,n,l);a?.leave(),a?.enter(),a?.move(),this.mouse.up(t,r,l)}}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){dr(this,"system",void 0),dr(this,"mouse",void 0),dr(this,"buttons",void 0),dr(this,"devices",new class{get(r){var n,o,i;return(i=(n=this.registry)[o=r])!==null&&i!==void 0?i:n[o]=new yu}constructor(){dr(this,"registry",{})}}),dr(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(l=>l.pointerType==="touch"&&!l.isCancelled);return i||Object.values(this.registry).forEach(l=>{l.pointerType===n&&!l.isCancelled&&(l.isMultitouch=!0)}),this.registry[r]=new _u({pointerId:this.nextId++,pointerType:n,isPrimary:i},o),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(){dr(this,"registry",{}),dr(this,"nextId",1)}}),this.system=t,this.buttons=new Cn,this.mouse=new bu,this.pointers.new("mouse","mouse",this.buttons)}};function cE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ho=class{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(){cE(this,"keyboard",new hu(this)),cE(this,"pointer",new Eu(this))}};async function dE(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function fE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function pE(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function mE(e){return this.pointer({target:e})}async function vE(e){return Hr(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function hE({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var yE={"{":"}","[":"]"};function wu(e,t){let r=0,n=e[r]in yE?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?FU(e,r,t):BU(e,r,i,t)}}function FU(e,t,r){let n=e[t];return gE(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function BU(e,t,r,n){var o,i,l;let a=e[t]==="/"?"/":"";t+=a.length;let s=r==="{"&&e[t]==="\\";t+=Number(s);let u=s?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];gE(u,e,t,n),t+=u.length;let f=(o=(l=e.slice(t).match(/^>\d+/))===null||l===void 0?void 0:l[0])!==null&&o!==void 0?o:"";t+=f.length;let m=e[t]==="/"||!f&&e[t]===">"?e[t]:"";t+=m.length;let v=yE[r],g=e[t]===v?v:"";if(!g)throw new Error(bE([!f&&"repeat modifier",!m&&"release modifier",`"${v}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=g.length,{consumedLength:t,descriptor:u,releasePrevious:!!a,repeat:f?Math.max(Number(f.substr(1)),1):1,releaseSelf:jU(m,f)}}function gE(e,t,r,n){if(!e)throw new Error(bE("key descriptor",t[r],t,n))}function jU(e,t){if(e)return e==="/";if(t)return!1}function bE(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
69
+ See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
70
+ for more information about how userEvent parses your input.`}function _E(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:l,releasePrevious:a,releaseSelf:s=!0,repeat:u}=wu(t,"keyboard"),f=(n=e.find(m=>{if(o==="["){var v;return((v=m.code)===null||v===void 0?void 0:v.toLowerCase())===i.toLowerCase()}else if(o==="{"){var g;return((g=m.key)===null||g===void 0?void 0:g.toLowerCase())===i.toLowerCase()}return m.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:f,releasePrevious:a,releaseSelf:s,repeat:u}),t=t.slice(l)}while(t);return r}async function EE(e){let t=_E(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Tt(this.config),await zU(this,t[r])}async function zU(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let l=1;l<=o;l++)await i.keyboard.keydown(e,t,l>1),l<o&&await Tt(e.config);n&&await i.keyboard.keyup(e,t)}}async function wE(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Tu(e){let t=ae(e)?{"text/plain":$U(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=un(J(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function $U(e){let t=Nt(e);return pe(e).substring(t.startOffset,t.endOffset)}async function TE(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Tu(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await ji(t,n),n}async function CE(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Tu(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await ji(r.ownerDocument,n),n}async function SE(e){var t,r;let n=this.config.document,o=(t=n.activeElement)!==null&&t!==void 0?t:n.body,i=(r=typeof e=="string"?HU(n,e):e)!==null&&r!==void 0?r:await Km(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function HU(e,t){let r=un(J(e));return r.setData("text",t),r}function pf(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:l=!0}=wu(t,"pointer"),a=e.find(s=>s.name===n);a&&r.push({keyDef:a,releasePrevious:i,releaseSelf:l}),t=t.slice(o)}while(t);return r}async function RE(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...pf(t,n)):"keys"in n?r.push(...pf(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Tt(this.config),await VU(this,r[n]);this.system.pointer.resetClickCount()}async function VU(e,t){var r,n,o,i,l,a;let s="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",u=e.system.pointer.getPreviousPosition(s),f={target:(r=t.target)!==null&&r!==void 0?r:WU(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:PE(t)||u==null||(l=u.caret)===null||l===void 0?void 0:l.node,offset:(i=t.offset)!==null&&i!==void 0?i:PE(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Fr(e,Ee.Trigger),await e.system.pointer.release(e,t.keyDef,f)),t.releasePrevious||(Fr(e,Ee.Trigger),await e.system.pointer.press(e,t.keyDef,f),t.releaseSelf&&(Fr(e,Ee.Trigger),await e.system.pointer.release(e,t.keyDef,f)))):(Fr(e,Ee.Trigger),await e.system.pointer.move(e,s,f))}function PE(e){var t,r;return!!((t=(r=e.target)!==null&&r!==void 0?r:e.node)!==null&&t!==void 0?t:e.offset!==void 0)}function WU(e,t){var r;if(!t)throw new Error("This pointer has no previous position. Provide a target property!");return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function xE(e){if(!at(e)||_e(e))throw new Error("clear()` is only supported on editable elements.");if(Ae(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(vu(e),!U_(e))throw new Error("The element content to be cleared could not be selected.");pt(this,e,"","deleteContentBackward")}async function kE(e,t){return qE.call(this,!0,e,t)}async function ME(e,t){return qE.call(this,!1,e,t)}async function qE(e,t,r){if(!e&&!t.multiple)throw D().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],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(a=>{if(typeof a!="string"&&o.includes(a))return a;{let s=o.find(u=>u.value===a||u.innerHTML===a);if(s)return s;throw D().getElementError(`Value "${String(a)}" not found in options`,t)}}).filter(a=>!_e(a));if(_e(t)||!i.length)return;let l=a=>{a.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(M(t,"select"))if(t.multiple)for(let a of i){let s=this.config.pointerEventsCheck===0?!0:Sn(this,a);s&&(this.dispatchUIEvent(a,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(a,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(a,"pointermove"),this.dispatchUIEvent(a,"mousemove"),this.dispatchUIEvent(a,"pointerdown"),this.dispatchUIEvent(a,"mousedown")),Ae(t),s&&(this.dispatchUIEvent(a,"pointerup"),this.dispatchUIEvent(a,"mouseup")),l(a),s&&this.dispatchUIEvent(a,"click"),await Tt(this.config)}else if(i.length===1){let a=this.config.pointerEventsCheck===0?!0:Sn(this,t);a?await this.click(t):Ae(t),l(i[0]),a&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Tt(this.config)}else throw D().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let a of i)await this.click(a),await this.unhover(a);else throw D().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function OE(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&Dr(e,o,i??o),await this.keyboard(t),n||await wE(this))}var IE=Symbol("files and value properties are mocked");function mf(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function NE(e,t){var r;(r=e[IE])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function l(){mf(e,"type",n),mf(e,"value",o),mf(e,"files",i)}e[IE]={restore:l},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(a){if(a==="")l();else{var s;o==null||(s=o.set)===null||s===void 0||s.call(e,a)}}},type:{configurable:!0,get:()=>"file",set(a){a!=="file"&&(l(),e.type=a)}}})}async function AE(e,t){let r=M(e,"label")?e.control:e;if(!r||!M(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(_e(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||KU(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((l,a)=>{var s;return l===((s=r.files)===null||s===void 0?void 0:s.item(a))})||(NE(r,no(J(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function Cu(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function KU(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Cu(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Cu(e.name).endsWith(n):r.includes(n)?Cu(e.type).startsWith(n.replace("*","")):Cu(e.type)===n)}var vf={click:dE,dblClick:fE,tripleClick:pE,hover:mE,unhover:vE,tab:hE,keyboard:EE,copy:TE,cut:CE,paste:SE,pointer:RE,clear:xE,deselectOptions:ME,selectOptions:kE,type:OE,upload:AE};function LE(e){return D().asyncWrapper(e)}var UE={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:eE,pointerMap:tE,pointerEventsCheck:Br.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},QU={...UE,writeToClipboard:!0};function DE(e={},t=QU,r){let n=YU(e,r,t);return{...t,...e,document:n}}function FE(e={}){var t;let r=DE(e);df(r.document),uf(J(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return Wm(n),hf(r).api}function he({keyboardState:e,pointerState:t,...r}={},n){var o;let i=DE(r,UE,n);df(i.document),uf(J(i.document).HTMLElement);let l=(o=t??e)!==null&&o!==void 0?o:new Ho;return{api:hf(i,l).api,system:l}}function GU(e){return hf({...this.config,...e},this.system).api}function XU(e,t){function r(...n){return Fr(e,Ee.Call),LE(()=>t.apply(e,n).then(async o=>(await Tt(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function hf(e,t=new Ho){let r={};return Object.assign(r,{config:e,dispatchEvent:sf.bind(r),dispatchUIEvent:H_.bind(r),system:t,levelRefs:{},...vf}),{instance:r,api:{...Object.fromEntries(Object.entries(vf).map(([n,o])=>[n,XU(r,o)])),setup:GU.bind(r)}}}function YU(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&Y_(t))!==null&&n!==void 0?n:r.document}var yf={};OC(yf,{clear:()=>JU,click:()=>ZU,copy:()=>e2,cut:()=>t2,dblClick:()=>r2,deselectOptions:()=>n2,hover:()=>o2,keyboard:()=>i2,paste:()=>a2,pointer:()=>l2,selectOptions:()=>s2,tab:()=>p2,tripleClick:()=>u2,type:()=>c2,unhover:()=>d2,upload:()=>f2});function JU(e){return he().api.clear(e)}function ZU(e,t={}){return he(t,e).api.click(e)}function e2(e={}){return he(e).api.copy()}function t2(e={}){return he(e).api.cut()}function r2(e,t={}){return he(t).api.dblClick(e)}function n2(e,t,r={}){return he(r).api.deselectOptions(e,t)}function o2(e,t={}){return he(t).api.hover(e)}async function i2(e,t={}){let{api:r,system:n}=he(t);return r.keyboard(e).then(()=>n)}async function l2(e,t={}){let{api:r,system:n}=he(t);return r.pointer(e).then(()=>n)}function a2(e,t){return he(t).api.paste(e)}function s2(e,t,r={}){return he(r).api.selectOptions(e,t)}function u2(e,t={}){return he(t).api.tripleClick(e)}function c2(e,t,r={}){return he(r,e).api.type(e,t,r)}function d2(e,t={}){let{api:r,system:n}=he(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function f2(e,t,r={}){return he(r).api.upload(e,t)}function p2(e={}){return he().api.tab(e)}var Su={...yf,setup:FE};function Pn(){return Su.setup({delay:null})}function jE(e){let t=e.trim();if(t.startsWith("~")){let r=t.slice(1),n=r.indexOf("[");if(n!==-1){let o=r.slice(0,n),i=r.slice(n);return`[aria-label=${JSON.stringify(o)}]${i}`}return`[aria-label=${JSON.stringify(r)}]`}return t}function ue(e,t){let r=jE(e);if(t===null)return document.querySelector(r);let n=Array.from(document.querySelectorAll(r));return t>=0?n[t]??null:n[n.length+t]??null}function BE(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}var Pu=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForEl(t,r){let n=ue(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=ue(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+JSON.stringify(t));return o}async connect(){}async close(){}async navigate(t){throw new Error("Spectra.navigate() is not supported in component testing mode. Use Spectra.mount(<Component />) to render a component tree instead of navigating a URL.")}async setCookies(t,r){let n=Array.isArray(t)?t:[t];for(let o of n)typeof document<"u"&&(document.cookie=o)}async back(){throw new Error("Spectra.back() is not supported in component testing mode.")}async forward(){throw new Error("Spectra.forward() is not supported in component testing mode.")}async refresh(){throw new Error("Spectra.refresh() is not supported in component testing mode.")}async setViewport(t,r){try{window.resizeTo(t,r)}catch{}}async pause(t){await new Promise(r=>setTimeout(r,t))}async click(t,r=null){let n=await this.waitForEl(t,r);await Pn().click(n)}async doubleClick(t,r=null){let n=await this.waitForEl(t,r);await Pn().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForEl(t,r);await Pn().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForEl(t,n);if(!BE(o))throw new Error("Element is not a form field: "+JSON.stringify(t));let i=Pn();await i.clear(o),String(r).length>0&&await i.type(o,String(r))}async clearValue(t,r=null){let n=await this.waitForEl(t,r);await Pn().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=ue(t,n);if(!i||i.tagName!=="SELECT")return!1;for(let l=0;l<i.options.length;l++){let a=i.options[l];if(a.text===r||a.value===r)return i.selectedIndex=l,i.dispatchEvent(new Event("change",{bubbles:!0})),!0}return!1}))throw new Error("Select option not found: "+JSON.stringify(r))}async hover(t,r=null){let n=await this.waitForEl(t,r);await Pn().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=ue(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+JSON.stringify(t))}async dragDrop(t,r,n=null){let o=ue(t,n),i=ue(r,null);if(!o||!i)throw new Error("Drag source or destination not found");let l=new DataTransfer;o.dispatchEvent(new DragEvent("dragstart",{bubbles:!0,dataTransfer:l})),i.dispatchEvent(new DragEvent("dragover",{bubbles:!0,dataTransfer:l})),i.dispatchEvent(new DragEvent("drop",{bubbles:!0,dataTransfer:l})),o.dispatchEvent(new DragEvent("dragend",{bubbles:!0,dataTransfer:l}))}async longPress(t,r,n=null){let o=ue(t,n);if(!o)throw new Error("Element not found: "+JSON.stringify(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){ue(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=ue(t,r);return n?n.innerText!==void 0?n.innerText:n.textContent||"":""}async getValue(t,r=null){let n=ue(t,r);return n?BE(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=ue(t,r);if(!n)return!1;let o=window.getComputedStyle(n);if(o.visibility==="hidden"||o.display==="none"||o.opacity==="0")return!1;let i=n.getBoundingClientRect();return i.width>0&&i.height>0||n.getClientRects().length>0||n.offsetWidth>0&&n.offsetHeight>0}async isExisting(t,r=null){return ue(t,r)!==null}async isEnabled(t,r=null){let n=ue(t,r);return n?!n.disabled&&!n.hasAttribute("disabled")&&!n.classList.contains("disabled")&&n.getAttribute("aria-disabled")!=="true":!1}async isSelected(t,r=null){let n=ue(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=ue(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=ue(t,r);if(!n)return!1;let o=window.getComputedStyle(n);if(o.visibility==="hidden"||o.display==="none"||o.opacity==="0")return!1;let i=n.getBoundingClientRect();return i.width===0&&i.height===0?!1:!n.disabled&&!n.hasAttribute("disabled")&&!n.classList.contains("disabled")&&n.getAttribute("aria-disabled")!=="true"}async hasClass(t,r,n=null){let o=ue(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=ue(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=ue(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){return document.querySelectorAll(jE(t)).length}async pressKey(t){let r=document.activeElement||document.body,n=String(t);r.dispatchEvent(new KeyboardEvent("keydown",{key:n,bubbles:!0})),r.dispatchEvent(new KeyboardEvent("keyup",{key:n,bubbles:!0}))}async scroll(t={}){if(t.selector){await this.scrollIntoView(String(t.selector),null);return}let r=t.direction||"down",n=t.pixels||500,o=r==="up"?-n:r==="down"?n:0,i=r==="left"?-n:r==="right"?n:0;window.scrollBy(i,o)}async swipe(t){let r=t.distance||300,n=t.direction==="up"?r:t.direction==="down"?-r:0,o=t.direction==="left"?r:t.direction==="right"?-r:0;window.scrollBy(o,n)}async grantPermission(t){}async getUrl(){return window.location.href}async getTitle(){return document.title}async execute(t,...r){return typeof t=="function"?t(...r):new Function(`return (${t});`)()}async evaluate(t){return new Function(`return (${t});`)()}async waitUntil(t,r){let n=await globalThis.__TS_RUNTIME__.pollCondition(t,r?.timeout);if(!n)throw new Error(r?.timeoutMsg||"waitUntil() condition was not met in time");return n}async getLogs(t){return[]}async shouldHaveUrl(t){let r=await this.getUrl();if(r!==t)throw new Error(`Expected browser URL to be "${t}", but got "${r}"`)}async shouldContainUrl(t){let r=await this.getUrl();if(!r.includes(t))throw new Error(`Expected browser URL to contain "${t}", but got "${r}"`)}async shouldHaveTitle(t){let r=await this.getTitle();if(r!==t)throw new Error(`Expected page title to be "${t}", but got "${r}"`)}async shouldContainTitle(t){let r=await this.getTitle();if(!r.includes(t))throw new Error(`Expected page title to contain "${t}", but got "${r}"`)}async shouldBeLoaded(){if(document.readyState!=="complete"&&document.readyState!=="interactive")throw new Error(`Expected document to be loaded, but readyState is "${document.readyState}"`)}async shouldHaveNoConsoleErrors(){if(this.consoleErrors.length>0)throw new Error(`Expected no console errors, but found ${this.consoleErrors.length}: ${this.consoleErrors.join("; ")}`)}async clearCookies(){document.cookie.split(";").forEach(t=>{let r=t.split("=")[0]?.trim();r&&(document.cookie=`${r}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`)})}async clearLocalStorage(){window.localStorage.clear()}async intercept(t,r,n,o){throw new Error('Spectra.intercept() is not supported in component testing mode \u2014 there is no network boundary between the test and the mounted component to intercept. Mock fetch/HTTP clients directly instead (e.g. `vi.spyOn(global, "fetch")` or MSW).')}clearMocks(){}};var qF=Ui(wC(),1),Gc="spectra-root",an=null;function OF(){let e=qF;return e.createRoot||e.default?.createRoot||e.default}function IF(){let e=document.getElementById(Gc);return e||(e=document.createElement("div"),e.id=Gc,document.body.appendChild(e)),e}function TC(){if(an){try{an.unmount()}catch{try{an.render(null)}catch{}}an=null}let e=document.getElementById(Gc);e&&(e.innerHTML="")}async function CC(e){let t=IF();an||(an=OF()(t));let r=(typeof e.type=="string"?e.type:e.type?.displayName||e.type?.name)||"component";return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"mount",target:r,args:[]},async()=>(an.render(e),await new Promise(n=>queueMicrotask(n)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Gc}`)))}var SC=new Pu;globalThis.__TS_RUNTIME__.activeDriver=SC;globalThis.browser=SC;globalThis.$=function(e){return globalThis.__TS_RUNTIME__.createElementProxy(e)};globalThis.$$=function(e){return globalThis.__TS_RUNTIME__.createCollectionProxy(e)};var Um=globalThis.__TS_RUNTIME__.buildSpectra();Um.mount=CC;Um.unmount=TC;globalThis.Spectra=Um;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await Zc();typeof beforeEach=="function"&&beforeEach(e=>{let t=e?.task?.name||globalThis.__CURRENT_TEST_TITLE__;t&&(globalThis.__CURRENT_TEST_TITLE__=t,globalThis.__TS_RUNTIME__.emitEvent("TESTSPECTRA_TEST_START",JSON.stringify({title:t})))});globalThis.__SPECTRA_READY__=!0;
71
+ /*! Bundled license information:
72
+
73
+ react-is/cjs/react-is.production.min.js:
74
+ (** @license React v17.0.2
75
+ * react-is.production.min.js
76
+ *
77
+ * Copyright (c) Facebook, Inc. and its affiliates.
78
+ *
79
+ * This source code is licensed under the MIT license found in the
80
+ * LICENSE file in the root directory of this source tree.
81
+ *)
82
+
83
+ react/cjs/react.production.min.js:
84
+ (**
85
+ * @license React
86
+ * react.production.min.js
87
+ *
88
+ * Copyright (c) Facebook, Inc. and its affiliates.
89
+ *
90
+ * This source code is licensed under the MIT license found in the
91
+ * LICENSE file in the root directory of this source tree.
92
+ *)
93
+
94
+ scheduler/cjs/scheduler.production.min.js:
95
+ (**
96
+ * @license React
97
+ * scheduler.production.min.js
98
+ *
99
+ * Copyright (c) Facebook, Inc. and its affiliates.
100
+ *
101
+ * This source code is licensed under the MIT license found in the
102
+ * LICENSE file in the root directory of this source tree.
103
+ *)
104
+
105
+ react-dom/cjs/react-dom.production.min.js:
106
+ (**
107
+ * @license React
108
+ * react-dom.production.min.js
109
+ *
110
+ * Copyright (c) Facebook, Inc. and its affiliates.
111
+ *
112
+ * This source code is licensed under the MIT license found in the
113
+ * LICENSE file in the root directory of this source tree.
114
+ *)
115
+ */