@testspectra/react 1.3.1 → 1.3.3

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,28 +1,28 @@
1
- var Hb=Object.create;var xa=Object.defineProperty;var Vb=Object.getOwnPropertyDescriptor;var Wb=Object.getOwnPropertyNames;var zb=Object.getPrototypeOf,Kb=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Gb=(e,t)=>{for(var r in t)xa(e,r,{get:t[r],enumerable:!0})},Xb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wb(t))!Kb.call(e,o)&&o!==r&&xa(e,o,{get:()=>t[o],enumerable:!(n=Vb(t,o))||n.enumerable});return e};var qa=(e,t,r)=>(r=e!=null?Hb(zb(e)):{},Xb(t||!e||!e.__esModule?xa(r,"default",{value:e,enumerable:!0}):r,e));var Va=p((bM,Gl)=>{"use strict";var zl=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Kl=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function fv(){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=zl(),t.color.ansi16m=Kl(),t.bgColor.ansi256=zl(10),t.bgColor.ansi16m=Kl(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(a=>a+a).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(Gl,"exports",{enumerable:!0,get:fv})});var jt=p(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.printIteratorEntries=bv;gt.printIteratorValues=vv;gt.printListItems=yv;gt.printObjectProperties=hv;var mv=(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 bv(e,t,r,n,o,i,a=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){let c=i(l.value[0],t,u,n,o),d=i(l.value[1],t,u,n,o);s+=u+c+a+d,l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s}function vv(e,t,r,n,o,i){let a="",s=e.next();if(!s.done){a+=t.spacingOuter;let l=r+t.indent;for(;!s.done;)a+=l+i(s.value,t,l,n,o),s=e.next(),s.done?t.min||(a+=","):a+=","+t.spacingInner;a+=t.spacingOuter+r}return a}function yv(e,t,r,n,o,i){let a="";if(e.length){a+=t.spacingOuter;let s=r+t.indent;for(let l=0;l<e.length;l++)a+=s,l in e&&(a+=i(e[l],t,s,n,o)),l<e.length-1?a+=","+t.spacingInner:t.min||(a+=",");a+=t.spacingOuter+r}return a}function hv(e,t,r,n,o,i){let a="",s=mv(e,t.compareKeys);if(s.length){a+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<s.length;u++){let c=s[u],d=i(c,t,l,n,o),m=i(e[c],t,l,n,o);a+=l+d+": "+m,u<s.length-1?a+=","+t.spacingInner:t.min||(a+=",")}a+=t.spacingOuter+r}return a}});var Jl=p(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.test=Be.serialize=Be.default=void 0;var Xl=jt(),jr=(function(){return typeof globalThis<"u"?globalThis:typeof jr<"u"?jr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Wa=jr["jest-symbol-do-not-touch"]||jr.Symbol,gv=typeof Wa=="function"&&Wa.for?Wa.for("jest.asymmetricMatcher"):1267621,$r=" ",Ql=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+$r+"["+(0,Xl.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+$r+"{"+(0,Xl.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+$r+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Be.serialize=Ql;var Yl=e=>e&&e.$$typeof===gv;Be.test=Yl;var Ev={serialize:Ql,test:Yl},wv=Ev;Be.default=wv});var eu=p((hM,Zl)=>{"use strict";Zl.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 iu=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var tu=ru(eu()),F=ru(Va());function ru(e){return e&&e.__esModule?e:{default:e}}var _v=e=>e.replace((0,tu.default)(),t=>{switch(t){case F.default.red.close:case F.default.green.close:case F.default.cyan.close:case F.default.gray.close:case F.default.white.close:case F.default.yellow.close:case F.default.bgRed.close:case F.default.bgGreen.close:case F.default.bgYellow.close:case F.default.inverse.close:case F.default.dim.close:case F.default.bold.close:case F.default.reset.open:case F.default.reset.close:return"</>";case F.default.red.open:return"<red>";case F.default.green.open:return"<green>";case F.default.cyan.open:return"<cyan>";case F.default.gray.open:return"<gray>";case F.default.white.open:return"<white>";case F.default.yellow.open:return"<yellow>";case F.default.bgRed.open:return"<bgRed>";case F.default.bgGreen.open:return"<bgGreen>";case F.default.bgYellow.open:return"<bgYellow>";case F.default.inverse.open:return"<inverse>";case F.default.dim.open:return"<dim>";case F.default.bold.open:return"<bold>";default:return""}}),nu=e=>typeof e=="string"&&!!e.match((0,tu.default)());Fe.test=nu;var ou=(e,t,r,n,o,i)=>i(_v(e),t,r,n,o);Fe.serialize=ou;var Cv={serialize:ou,test:nu},Pv=Cv;Fe.default=Pv});var cu=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var au=jt(),Tv=" ",su=["DOMStringMap","NamedNodeMap"],Rv=/^(HTML\w*Collection|NodeList)$/,Sv=e=>su.indexOf(e)!==-1||Rv.test(e),lu=e=>e&&e.constructor&&!!e.constructor.name&&Sv(e.constructor.name);Ue.test=lu;var xv=e=>e.constructor.name==="NamedNodeMap",uu=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+Tv)+(su.indexOf(a)!==-1?"{"+(0,au.printObjectProperties)(xv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,au.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Ue.serialize=uu;var qv={serialize:uu,test:lu},Av=qv;Ue.default=Av});var du=p(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});za.default=Mv;function Mv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var Hr=p(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.printText=ae.printProps=ae.printElementAsLeaf=ae.printElement=ae.printComment=ae.printChildren=void 0;var pu=kv(du());function kv(e){return e&&e.__esModule?e:{default:e}}var Ov=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
2
- `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")};ae.printProps=Ov;var Iv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?fu(a,t):i(a,t,r,n,o))).join("");ae.printChildren=Iv;var fu=(e,t)=>{let r=t.colors.content;return r.open+(0,pu.default)(e)+r.close};ae.printText=fu;var Nv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,pu.default)(e)+"-->"+r.close};ae.printComment=Nv;var Lv=(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};ae.printElement=Lv;var Dv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=Dv});var gu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var Et=Hr(),Bv=1,mu=3,bu=8,vu=11,Fv=/^((HTML|SVG)\w*)?Element$/,Uv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},$v=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Uv(e);return r===Bv&&(Fv.test(t)||o)||r===mu&&t==="Text"||r===bu&&t==="Comment"||r===vu&&t==="DocumentFragment"},yu=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&$v(e)};$e.test=yu;function jv(e){return e.nodeType===mu}function Hv(e){return e.nodeType===bu}function Ka(e){return e.nodeType===vu}var hu=(e,t,r,n,o,i)=>{if(jv(e))return(0,Et.printText)(e.data,t);if(Hv(e))return(0,Et.printComment)(e.data,t);let a=Ka(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Et.printElementAsLeaf)(a,t):(0,Et.printElement)(a,(0,Et.printProps)(Ka(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),Ka(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,Et.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};$e.serialize=hu;var Vv={serialize:hu,test:yu},Wv=Vv;$e.default=Wv});var Pu=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Ht=jt(),zv="@@__IMMUTABLE_ITERABLE__@@",Kv="@@__IMMUTABLE_LIST__@@",Gv="@@__IMMUTABLE_KEYED__@@",Xv="@@__IMMUTABLE_MAP__@@",Eu="@@__IMMUTABLE_ORDERED__@@",Qv="@@__IMMUTABLE_RECORD__@@",Yv="@@__IMMUTABLE_SEQ__@@",Jv="@@__IMMUTABLE_SET__@@",Zv="@@__IMMUTABLE_STACK__@@",wt=e=>"Immutable."+e,Vr=e=>"["+e+"]",Vt=" ",wu="\u2026",ey=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Vr(wt(a)):wt(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function ty(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 ry=(e,t,r,n,o,i)=>{let a=wt(e._name||"Record");return++n>t.maxDepth?Vr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)(ty(e),t,r,n,o,i)+"}"},ny=(e,t,r,n,o,i)=>{let a=wt("Seq");return++n>t.maxDepth?Vr(a):e[Gv]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):wu)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):wu)+"]"},Ga=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Vr(wt(a)):wt(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",_u=(e,t,r,n,o,i)=>e[Xv]?ey(e,t,r,n,o,i,e[Eu]?"OrderedMap":"Map"):e[Kv]?Ga(e,t,r,n,o,i,"List"):e[Jv]?Ga(e,t,r,n,o,i,e[Eu]?"OrderedSet":"Set"):e[Zv]?Ga(e,t,r,n,o,i,"Stack"):e[Yv]?ny(e,t,r,n,o,i):ry(e,t,r,n,o,i);je.serialize=_u;var Cu=e=>e&&(e[zv]===!0||e[Qv]===!0);je.test=Cu;var oy={serialize:_u,test:Cu},iy=oy;je.default=iy});var Au=p(D=>{"use strict";var Wr=60103,zr=60106,Wt=60107,zt=60108,Kt=60114,Gt=60109,Xt=60110,Qt=60112,Yt=60113,Xa=60120,Jt=60115,Zt=60116,Tu=60121,Ru=60122,Su=60117,xu=60129,qu=60131;typeof Symbol=="function"&&Symbol.for&&(J=Symbol.for,Wr=J("react.element"),zr=J("react.portal"),Wt=J("react.fragment"),zt=J("react.strict_mode"),Kt=J("react.profiler"),Gt=J("react.provider"),Xt=J("react.context"),Qt=J("react.forward_ref"),Yt=J("react.suspense"),Xa=J("react.suspense_list"),Jt=J("react.memo"),Zt=J("react.lazy"),Tu=J("react.block"),Ru=J("react.server.block"),Su=J("react.fundamental"),xu=J("react.debug_trace_mode"),qu=J("react.legacy_hidden"));var J;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Wr:switch(e=e.type,e){case Wt:case Kt:case zt:case Yt:case Xa:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Qt:case Zt:case Jt:case Gt:return e;default:return t}}case zr:return t}}}var ay=Gt,sy=Wr,ly=Qt,uy=Wt,cy=Zt,dy=Jt,py=zr,fy=Kt,my=zt,by=Yt;D.ContextConsumer=Xt;D.ContextProvider=ay;D.Element=sy;D.ForwardRef=ly;D.Fragment=uy;D.Lazy=cy;D.Memo=dy;D.Portal=py;D.Profiler=fy;D.StrictMode=my;D.Suspense=by;D.isAsyncMode=function(){return!1};D.isConcurrentMode=function(){return!1};D.isContextConsumer=function(e){return ye(e)===Xt};D.isContextProvider=function(e){return ye(e)===Gt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wr};D.isForwardRef=function(e){return ye(e)===Qt};D.isFragment=function(e){return ye(e)===Wt};D.isLazy=function(e){return ye(e)===Zt};D.isMemo=function(e){return ye(e)===Jt};D.isPortal=function(e){return ye(e)===zr};D.isProfiler=function(e){return ye(e)===Kt};D.isStrictMode=function(e){return ye(e)===zt};D.isSuspense=function(e){return ye(e)===Yt};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wt||e===Kt||e===xu||e===zt||e===Yt||e===Xa||e===qu||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Jt||e.$$typeof===Gt||e.$$typeof===Xt||e.$$typeof===Qt||e.$$typeof===Su||e.$$typeof===Tu||e[0]===Ru)};D.typeOf=ye});var ku=p((RM,Mu)=>{"use strict";Mu.exports=Au()});var Bu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var tt=vy(ku()),Kr=Hr();function Iu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Iu=function(n){return n?r:t})(e)}function vy(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Iu(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 a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Nu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Nu(r,t)}):e!=null&&e!==!1&&t.push(e),t),Ou=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(tt.isFragment(e))return"React.Fragment";if(tt.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(tt.isContextProvider(e))return"Context.Provider";if(tt.isContextConsumer(e))return"Context.Consumer";if(tt.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(tt.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},yy=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},Lu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Kr.printElementAsLeaf)(Ou(e),t):(0,Kr.printElement)(Ou(e),(0,Kr.printProps)(yy(e),e.props,t,r+t.indent,n,o,i),(0,Kr.printChildren)(Nu(e.props.children),t,r+t.indent,n,o,i),t,r);He.serialize=Lu;var Du=e=>e!=null&&tt.isElement(e);He.test=Du;var hy={serialize:Lu,test:Du},gy=hy;He.default=gy});var $u=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var Gr=Hr(),Xr=(function(){return typeof globalThis<"u"?globalThis:typeof Xr<"u"?Xr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Qa=Xr["jest-symbol-do-not-touch"]||Xr.Symbol,Ey=typeof Qa=="function"&&Qa.for?Qa.for("react.test.json"):245830487,wy=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Fu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Gr.printElementAsLeaf)(e.type,t):(0,Gr.printElement)(e.type,e.props?(0,Gr.printProps)(wy(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Gr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);Ve.serialize=Fu;var Uu=e=>e&&e.$$typeof===Ey;Ve.test=Uu;var _y={serialize:Fu,test:Uu},Cy=_y;Ve.default=Cy});var nc=p(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.default=Se.DEFAULT_OPTIONS=void 0;Se.format=rc;Se.plugins=void 0;var Py=ze(Va()),er=jt(),Ty=ze(Jl()),Ry=ze(iu()),Sy=ze(cu()),xy=ze(gu()),qy=ze(Pu()),Ay=ze(Bu()),My=ze($u());function ze(e){return e&&e.__esModule?e:{default:e}}var Ku=Object.prototype.toString,ky=Date.prototype.toISOString,Oy=Error.prototype.toString,ju=RegExp.prototype.toString,Ya=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",Iy=e=>typeof window<"u"&&e===window,Ny=/^Symbol\((.*)\)(.*)$/,Ly=/\n/gi,Qr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function Dy(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 By(e){return Object.is(e,-0)?"-0":String(e)}function Fy(e){return`${e}n`}function Hu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Vu(e){return String(e).replace(Ny,"Symbol($1)")}function Wu(e){return"["+Oy.call(e)+"]"}function Gu(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 By(e);if(o==="bigint")return Fy(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return Hu(e,t);if(o==="symbol")return Vu(e);let i=Ku.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Hu(e,t):i==="[object Symbol]"?Vu(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":ky.call(e):i==="[object Error]"?Wu(e):i==="[object RegExp]"?r?ju.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):ju.call(e):e instanceof Error?Wu(e):null}function Xu(e,t,r,n,o,i){if(o.indexOf(e)!==-1)return"[Circular]";o=o.slice(),o.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return We(e.toJSON(),t,r,n,o,!0);let l=Ku.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,er.printListItems)(e,t,r,n,o,We)+"]":Dy(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,er.printListItems)(e,t,r,n,o,We)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,er.printIteratorEntries)(e.entries(),t,r,n,o,We," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,er.printIteratorValues)(e.values(),t,r,n,o,We)+"}":a||Iy(e)?"["+Ya(e)+"]":(s||!t.printBasicPrototype&&Ya(e)==="Object"?"":Ya(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,We)+"}"}function Uy(e){return e.serialize!=null}function Qu(e,t,r,n,o,i){let a;try{a=Uy(e)?e.serialize(t,r,n,o,i,We):e.print(t,s=>We(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace(Ly,`
3
- `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Qr(s.message,s.stack)}if(typeof a!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function Yu(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Qr(n.message,n.stack)}return null}function We(e,t,r,n,o,i){let a=Yu(t.plugins,e);if(a!==null)return Qu(a,e,t,r,n,o);let s=Gu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Xu(e,t,r,n,o,i)}var Ja={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Ju=Object.keys(Ja),he={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Ja};Se.DEFAULT_OPTIONS=he;function $y(e){if(Object.keys(e).forEach(t=>{if(!he.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 jy=e=>Ju.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Ja[r],o=n&&Py.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)),Hy=()=>Ju.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Zu=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,ec=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,tc=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,zu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?jy(e):Hy(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:ec(e),escapeString:tc(e),indent:e&&e.min?"":Vy(e&&e.indent!==void 0?e.indent:he.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:he.maxDepth,min:e&&e.min!==void 0?e.min:he.min,plugins:e&&e.plugins!==void 0?e.plugins:he.plugins,printBasicPrototype:(t=e?.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:Zu(e),spacingInner:e&&e.min?" ":`
1
+ var Hb=Object.create;var xa=Object.defineProperty;var Vb=Object.getOwnPropertyDescriptor;var Wb=Object.getOwnPropertyNames;var zb=Object.getPrototypeOf,Kb=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Gb=(e,t)=>{for(var r in t)xa(e,r,{get:t[r],enumerable:!0})},Xb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wb(t))!Kb.call(e,o)&&o!==r&&xa(e,o,{get:()=>t[o],enumerable:!(n=Vb(t,o))||n.enumerable});return e};var qa=(e,t,r)=>(r=e!=null?Hb(zb(e)):{},Xb(t||!e||!e.__esModule?xa(r,"default",{value:e,enumerable:!0}):r,e));var Va=p((vM,Gl)=>{"use strict";var zl=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Kl=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function fv(){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=zl(),t.color.ansi16m=Kl(),t.bgColor.ansi256=zl(10),t.bgColor.ansi16m=Kl(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(a=>a+a).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(Gl,"exports",{enumerable:!0,get:fv})});var jt=p(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.printIteratorEntries=bv;gt.printIteratorValues=vv;gt.printListItems=yv;gt.printObjectProperties=hv;var mv=(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 bv(e,t,r,n,o,i,a=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){let c=i(l.value[0],t,u,n,o),d=i(l.value[1],t,u,n,o);s+=u+c+a+d,l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s}function vv(e,t,r,n,o,i){let a="",s=e.next();if(!s.done){a+=t.spacingOuter;let l=r+t.indent;for(;!s.done;)a+=l+i(s.value,t,l,n,o),s=e.next(),s.done?t.min||(a+=","):a+=","+t.spacingInner;a+=t.spacingOuter+r}return a}function yv(e,t,r,n,o,i){let a="";if(e.length){a+=t.spacingOuter;let s=r+t.indent;for(let l=0;l<e.length;l++)a+=s,l in e&&(a+=i(e[l],t,s,n,o)),l<e.length-1?a+=","+t.spacingInner:t.min||(a+=",");a+=t.spacingOuter+r}return a}function hv(e,t,r,n,o,i){let a="",s=mv(e,t.compareKeys);if(s.length){a+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<s.length;u++){let c=s[u],d=i(c,t,l,n,o),m=i(e[c],t,l,n,o);a+=l+d+": "+m,u<s.length-1?a+=","+t.spacingInner:t.min||(a+=",")}a+=t.spacingOuter+r}return a}});var Jl=p(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.test=Be.serialize=Be.default=void 0;var Xl=jt(),jr=(function(){return typeof globalThis<"u"?globalThis:typeof jr<"u"?jr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Wa=jr["jest-symbol-do-not-touch"]||jr.Symbol,gv=typeof Wa=="function"&&Wa.for?Wa.for("jest.asymmetricMatcher"):1267621,$r=" ",Yl=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+$r+"["+(0,Xl.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+$r+"{"+(0,Xl.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+$r+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Be.serialize=Yl;var Ql=e=>e&&e.$$typeof===gv;Be.test=Ql;var Ev={serialize:Yl,test:Ql},wv=Ev;Be.default=wv});var eu=p((gM,Zl)=>{"use strict";Zl.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 iu=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var tu=ru(eu()),F=ru(Va());function ru(e){return e&&e.__esModule?e:{default:e}}var _v=e=>e.replace((0,tu.default)(),t=>{switch(t){case F.default.red.close:case F.default.green.close:case F.default.cyan.close:case F.default.gray.close:case F.default.white.close:case F.default.yellow.close:case F.default.bgRed.close:case F.default.bgGreen.close:case F.default.bgYellow.close:case F.default.inverse.close:case F.default.dim.close:case F.default.bold.close:case F.default.reset.open:case F.default.reset.close:return"</>";case F.default.red.open:return"<red>";case F.default.green.open:return"<green>";case F.default.cyan.open:return"<cyan>";case F.default.gray.open:return"<gray>";case F.default.white.open:return"<white>";case F.default.yellow.open:return"<yellow>";case F.default.bgRed.open:return"<bgRed>";case F.default.bgGreen.open:return"<bgGreen>";case F.default.bgYellow.open:return"<bgYellow>";case F.default.inverse.open:return"<inverse>";case F.default.dim.open:return"<dim>";case F.default.bold.open:return"<bold>";default:return""}}),nu=e=>typeof e=="string"&&!!e.match((0,tu.default)());Fe.test=nu;var ou=(e,t,r,n,o,i)=>i(_v(e),t,r,n,o);Fe.serialize=ou;var Cv={serialize:ou,test:nu},Pv=Cv;Fe.default=Pv});var cu=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var au=jt(),Tv=" ",su=["DOMStringMap","NamedNodeMap"],Rv=/^(HTML\w*Collection|NodeList)$/,Sv=e=>su.indexOf(e)!==-1||Rv.test(e),lu=e=>e&&e.constructor&&!!e.constructor.name&&Sv(e.constructor.name);Ue.test=lu;var xv=e=>e.constructor.name==="NamedNodeMap",uu=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+Tv)+(su.indexOf(a)!==-1?"{"+(0,au.printObjectProperties)(xv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,au.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Ue.serialize=uu;var qv={serialize:uu,test:lu},Av=qv;Ue.default=Av});var du=p(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});za.default=Mv;function Mv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var Hr=p(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.printText=ae.printProps=ae.printElementAsLeaf=ae.printElement=ae.printComment=ae.printChildren=void 0;var pu=kv(du());function kv(e){return e&&e.__esModule?e:{default:e}}var Ov=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
2
+ `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")};ae.printProps=Ov;var Iv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?fu(a,t):i(a,t,r,n,o))).join("");ae.printChildren=Iv;var fu=(e,t)=>{let r=t.colors.content;return r.open+(0,pu.default)(e)+r.close};ae.printText=fu;var Nv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,pu.default)(e)+"-->"+r.close};ae.printComment=Nv;var Lv=(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};ae.printElement=Lv;var Dv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=Dv});var gu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var Et=Hr(),Bv=1,mu=3,bu=8,vu=11,Fv=/^((HTML|SVG)\w*)?Element$/,Uv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},$v=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Uv(e);return r===Bv&&(Fv.test(t)||o)||r===mu&&t==="Text"||r===bu&&t==="Comment"||r===vu&&t==="DocumentFragment"},yu=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&$v(e)};$e.test=yu;function jv(e){return e.nodeType===mu}function Hv(e){return e.nodeType===bu}function Ka(e){return e.nodeType===vu}var hu=(e,t,r,n,o,i)=>{if(jv(e))return(0,Et.printText)(e.data,t);if(Hv(e))return(0,Et.printComment)(e.data,t);let a=Ka(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Et.printElementAsLeaf)(a,t):(0,Et.printElement)(a,(0,Et.printProps)(Ka(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),Ka(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,Et.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};$e.serialize=hu;var Vv={serialize:hu,test:yu},Wv=Vv;$e.default=Wv});var Pu=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Ht=jt(),zv="@@__IMMUTABLE_ITERABLE__@@",Kv="@@__IMMUTABLE_LIST__@@",Gv="@@__IMMUTABLE_KEYED__@@",Xv="@@__IMMUTABLE_MAP__@@",Eu="@@__IMMUTABLE_ORDERED__@@",Yv="@@__IMMUTABLE_RECORD__@@",Qv="@@__IMMUTABLE_SEQ__@@",Jv="@@__IMMUTABLE_SET__@@",Zv="@@__IMMUTABLE_STACK__@@",wt=e=>"Immutable."+e,Vr=e=>"["+e+"]",Vt=" ",wu="\u2026",ey=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Vr(wt(a)):wt(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function ty(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 ry=(e,t,r,n,o,i)=>{let a=wt(e._name||"Record");return++n>t.maxDepth?Vr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)(ty(e),t,r,n,o,i)+"}"},ny=(e,t,r,n,o,i)=>{let a=wt("Seq");return++n>t.maxDepth?Vr(a):e[Gv]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):wu)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):wu)+"]"},Ga=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Vr(wt(a)):wt(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",_u=(e,t,r,n,o,i)=>e[Xv]?ey(e,t,r,n,o,i,e[Eu]?"OrderedMap":"Map"):e[Kv]?Ga(e,t,r,n,o,i,"List"):e[Jv]?Ga(e,t,r,n,o,i,e[Eu]?"OrderedSet":"Set"):e[Zv]?Ga(e,t,r,n,o,i,"Stack"):e[Qv]?ny(e,t,r,n,o,i):ry(e,t,r,n,o,i);je.serialize=_u;var Cu=e=>e&&(e[zv]===!0||e[Yv]===!0);je.test=Cu;var oy={serialize:_u,test:Cu},iy=oy;je.default=iy});var Au=p(D=>{"use strict";var Wr=60103,zr=60106,Wt=60107,zt=60108,Kt=60114,Gt=60109,Xt=60110,Yt=60112,Qt=60113,Xa=60120,Jt=60115,Zt=60116,Tu=60121,Ru=60122,Su=60117,xu=60129,qu=60131;typeof Symbol=="function"&&Symbol.for&&(J=Symbol.for,Wr=J("react.element"),zr=J("react.portal"),Wt=J("react.fragment"),zt=J("react.strict_mode"),Kt=J("react.profiler"),Gt=J("react.provider"),Xt=J("react.context"),Yt=J("react.forward_ref"),Qt=J("react.suspense"),Xa=J("react.suspense_list"),Jt=J("react.memo"),Zt=J("react.lazy"),Tu=J("react.block"),Ru=J("react.server.block"),Su=J("react.fundamental"),xu=J("react.debug_trace_mode"),qu=J("react.legacy_hidden"));var J;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Wr:switch(e=e.type,e){case Wt:case Kt:case zt:case Qt:case Xa:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Yt:case Zt:case Jt:case Gt:return e;default:return t}}case zr:return t}}}var ay=Gt,sy=Wr,ly=Yt,uy=Wt,cy=Zt,dy=Jt,py=zr,fy=Kt,my=zt,by=Qt;D.ContextConsumer=Xt;D.ContextProvider=ay;D.Element=sy;D.ForwardRef=ly;D.Fragment=uy;D.Lazy=cy;D.Memo=dy;D.Portal=py;D.Profiler=fy;D.StrictMode=my;D.Suspense=by;D.isAsyncMode=function(){return!1};D.isConcurrentMode=function(){return!1};D.isContextConsumer=function(e){return ye(e)===Xt};D.isContextProvider=function(e){return ye(e)===Gt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wr};D.isForwardRef=function(e){return ye(e)===Yt};D.isFragment=function(e){return ye(e)===Wt};D.isLazy=function(e){return ye(e)===Zt};D.isMemo=function(e){return ye(e)===Jt};D.isPortal=function(e){return ye(e)===zr};D.isProfiler=function(e){return ye(e)===Kt};D.isStrictMode=function(e){return ye(e)===zt};D.isSuspense=function(e){return ye(e)===Qt};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wt||e===Kt||e===xu||e===zt||e===Qt||e===Xa||e===qu||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Jt||e.$$typeof===Gt||e.$$typeof===Xt||e.$$typeof===Yt||e.$$typeof===Su||e.$$typeof===Tu||e[0]===Ru)};D.typeOf=ye});var ku=p((SM,Mu)=>{"use strict";Mu.exports=Au()});var Bu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var tt=vy(ku()),Kr=Hr();function Iu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Iu=function(n){return n?r:t})(e)}function vy(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Iu(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 a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var Nu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Nu(r,t)}):e!=null&&e!==!1&&t.push(e),t),Ou=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(tt.isFragment(e))return"React.Fragment";if(tt.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(tt.isContextProvider(e))return"Context.Provider";if(tt.isContextConsumer(e))return"Context.Consumer";if(tt.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(tt.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},yy=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},Lu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Kr.printElementAsLeaf)(Ou(e),t):(0,Kr.printElement)(Ou(e),(0,Kr.printProps)(yy(e),e.props,t,r+t.indent,n,o,i),(0,Kr.printChildren)(Nu(e.props.children),t,r+t.indent,n,o,i),t,r);He.serialize=Lu;var Du=e=>e!=null&&tt.isElement(e);He.test=Du;var hy={serialize:Lu,test:Du},gy=hy;He.default=gy});var $u=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var Gr=Hr(),Xr=(function(){return typeof globalThis<"u"?globalThis:typeof Xr<"u"?Xr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Ya=Xr["jest-symbol-do-not-touch"]||Xr.Symbol,Ey=typeof Ya=="function"&&Ya.for?Ya.for("react.test.json"):245830487,wy=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Fu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Gr.printElementAsLeaf)(e.type,t):(0,Gr.printElement)(e.type,e.props?(0,Gr.printProps)(wy(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Gr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);Ve.serialize=Fu;var Uu=e=>e&&e.$$typeof===Ey;Ve.test=Uu;var _y={serialize:Fu,test:Uu},Cy=_y;Ve.default=Cy});var nc=p(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.default=Se.DEFAULT_OPTIONS=void 0;Se.format=rc;Se.plugins=void 0;var Py=ze(Va()),er=jt(),Ty=ze(Jl()),Ry=ze(iu()),Sy=ze(cu()),xy=ze(gu()),qy=ze(Pu()),Ay=ze(Bu()),My=ze($u());function ze(e){return e&&e.__esModule?e:{default:e}}var Ku=Object.prototype.toString,ky=Date.prototype.toISOString,Oy=Error.prototype.toString,ju=RegExp.prototype.toString,Qa=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",Iy=e=>typeof window<"u"&&e===window,Ny=/^Symbol\((.*)\)(.*)$/,Ly=/\n/gi,Yr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function Dy(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 By(e){return Object.is(e,-0)?"-0":String(e)}function Fy(e){return`${e}n`}function Hu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Vu(e){return String(e).replace(Ny,"Symbol($1)")}function Wu(e){return"["+Oy.call(e)+"]"}function Gu(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 By(e);if(o==="bigint")return Fy(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return Hu(e,t);if(o==="symbol")return Vu(e);let i=Ku.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Hu(e,t):i==="[object Symbol]"?Vu(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":ky.call(e):i==="[object Error]"?Wu(e):i==="[object RegExp]"?r?ju.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):ju.call(e):e instanceof Error?Wu(e):null}function Xu(e,t,r,n,o,i){if(o.indexOf(e)!==-1)return"[Circular]";o=o.slice(),o.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!i)return We(e.toJSON(),t,r,n,o,!0);let l=Ku.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,er.printListItems)(e,t,r,n,o,We)+"]":Dy(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,er.printListItems)(e,t,r,n,o,We)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,er.printIteratorEntries)(e.entries(),t,r,n,o,We," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,er.printIteratorValues)(e.values(),t,r,n,o,We)+"}":a||Iy(e)?"["+Qa(e)+"]":(s||!t.printBasicPrototype&&Qa(e)==="Object"?"":Qa(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,We)+"}"}function Uy(e){return e.serialize!=null}function Yu(e,t,r,n,o,i){let a;try{a=Uy(e)?e.serialize(t,r,n,o,i,We):e.print(t,s=>We(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace(Ly,`
3
+ `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Yr(s.message,s.stack)}if(typeof a!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function Qu(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Yr(n.message,n.stack)}return null}function We(e,t,r,n,o,i){let a=Qu(t.plugins,e);if(a!==null)return Yu(a,e,t,r,n,o);let s=Gu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Xu(e,t,r,n,o,i)}var Ja={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Ju=Object.keys(Ja),he={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Ja};Se.DEFAULT_OPTIONS=he;function $y(e){if(Object.keys(e).forEach(t=>{if(!he.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 jy=e=>Ju.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Ja[r],o=n&&Py.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)),Hy=()=>Ju.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Zu=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,ec=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,tc=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,zu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?jy(e):Hy(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:ec(e),escapeString:tc(e),indent:e&&e.min?"":Vy(e&&e.indent!==void 0?e.indent:he.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:he.maxDepth,min:e&&e.min!==void 0?e.min:he.min,plugins:e&&e.plugins!==void 0?e.plugins:he.plugins,printBasicPrototype:(t=e?.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:Zu(e),spacingInner:e&&e.min?" ":`
4
4
  `,spacingOuter:e&&e.min?"":`
5
- `}};function Vy(e){return new Array(e+1).join(" ")}function rc(e,t){if(t&&($y(t),t.plugins)){let n=Yu(t.plugins,e);if(n!==null)return Qu(n,e,zu(t),"",0,[])}let r=Gu(e,Zu(t),ec(t),tc(t));return r!==null?r:Xu(e,zu(t),"",0,[])}var Wy={AsymmetricMatcher:Ty.default,ConvertAnsi:Ry.default,DOMCollection:Sy.default,DOMElement:xy.default,Immutable:qy.default,ReactElement:Ay.default,ReactTestComponent:My.default};Se.plugins=Wy;var zy=rc;Se.default=zy});var Rc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;function Ph(){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 Th=Ph;en.default=Th});var Ct=p(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.default=xh;var Rh=Sh(Rc());function Sh(e){return e&&e.__esModule?e:{default:e}}function es(e){"@babel/helpers - typeof";return es=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},es(e)}function xh(e,t){return typeof Symbol=="function"&&es(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Rh.default.bind(t)}),e}});var qc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var qh=Ah(Ct());function Ah(e){return e&&e.__esModule?e:{default:e}}function rs(e,t){return Oh(e)||kh(e,t)||xc(e,t)||Mh()}function Mh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
5
+ `}};function Vy(e){return new Array(e+1).join(" ")}function rc(e,t){if(t&&($y(t),t.plugins)){let n=Qu(t.plugins,e);if(n!==null)return Yu(n,e,zu(t),"",0,[])}let r=Gu(e,Zu(t),ec(t),tc(t));return r!==null?r:Xu(e,zu(t),"",0,[])}var Wy={AsymmetricMatcher:Ty.default,ConvertAnsi:Ry.default,DOMCollection:Sy.default,DOMElement:xy.default,Immutable:qy.default,ReactElement:Ay.default,ReactTestComponent:My.default};Se.plugins=Wy;var zy=rc;Se.default=zy});var Rc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;function Ph(){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 Th=Ph;en.default=Th});var Ct=p(ts=>{"use strict";Object.defineProperty(ts,"__esModule",{value:!0});ts.default=xh;var Rh=Sh(Rc());function Sh(e){return e&&e.__esModule?e:{default:e}}function es(e){"@babel/helpers - typeof";return es=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},es(e)}function xh(e,t){return typeof Symbol=="function"&&es(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Rh.default.bind(t)}),e}});var qc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var qh=Ah(Ct());function Ah(e){return e&&e.__esModule?e:{default:e}}function rs(e,t){return Oh(e)||kh(e,t)||xc(e,t)||Mh()}function Mh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kh(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function Oh(e){if(Array.isArray(e))return e}function Ih(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=xc(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
7
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function xc(e,t){if(e){if(typeof e=="string")return Sc(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 Sc(e,t)}}function Sc(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 Pt=[["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"}]],ns={entries:function(){return Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Ih(Pt),o;try{for(n.s();!(o=n.n()).done;){var i=rs(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Pt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Pt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ns.get(t)},keys:function(){return Pt.map(function(t){var r=rs(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=rs(t,2),n=r[1];return n})}},Nh=(0,qh.default)(ns,ns.entries());tn.default=Nh});var kc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var Lh=Dh(Ct());function Dh(e){return e&&e.__esModule?e:{default:e}}function os(e,t){return Uh(e)||Fh(e,t)||Mc(e,t)||Bh()}function Bh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
8
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fh(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function Uh(e){if(Array.isArray(e))return e}function $h(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Mc(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,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Mc(e,t){if(e){if(typeof e=="string")return Ac(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 Ac(e,t)}}function Ac(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 Tt=[["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}]],is={entries:function(){return Tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=$h(Tt),o;try{for(n.s();!(o=n.n()).done;){var i=os(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Tt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Tt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!is.get(t)},keys:function(){return Tt.map(function(t){var r=os(t,1),n=r[0];return n})},values:function(){return Tt.map(function(t){var r=os(t,2),n=r[1];return n})}},jh=(0,Lh.default)(is,is.entries());rn.default=jh});var Oc=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Hh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Vh=Hh;nn.default=Vh});var Ic=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var Wh={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"]]},zh=Wh;on.default=zh});var Nc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Kh={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"]]},Gh=Kh;an.default=Gh});var Lc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Xh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Qh=Xh;sn.default=Qh});var Dc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Yh={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"]]},Jh=Yh;ln.default=Jh});var Bc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Zh={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:[]},eg=Zh;un.default=eg});var Fc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var tg={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"]]},rg=tg;cn.default=rg});var Uc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var ng={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},og=ng;dn.default=og});var $c=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var ig={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"]]},ag=ig;pn.default=ag});var jc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var sg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},lg=sg;fn.default=lg});var Hc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var ug={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},cg=ug;mn.default=cg});var Vc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var dg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},pg=dg;bn.default=pg});var Wc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var fg=fe(Oc()),mg=fe(Ic()),bg=fe(Nc()),vg=fe(Lc()),yg=fe(Dc()),hg=fe(Bc()),gg=fe(Fc()),Eg=fe(Uc()),wg=fe($c()),_g=fe(jc()),Cg=fe(Hc()),Pg=fe(Vc());function fe(e){return e&&e.__esModule?e:{default:e}}var Tg=[["command",fg.default],["composite",mg.default],["input",bg.default],["landmark",vg.default],["range",yg.default],["roletype",hg.default],["section",gg.default],["sectionhead",Eg.default],["select",wg.default],["structure",_g.default],["widget",Cg.default],["window",Pg.default]],Rg=Tg;vn.default=Rg});var zc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var Sg={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"]]},xg=Sg;yn.default=xg});var Kc=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var qg={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"]]},Ag=qg;hn.default=Ag});var Gc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var Mg={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"]]},kg=Mg;gn.default=kg});var Xc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var Og={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"]]},Ig=Og;En.default=Ig});var Qc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var Ng={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"]]},Lg=Ng;wn.default=Lg});var Yc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Dg={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"]]},Bg=Dg;_n.default=Bg});var Jc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var Fg={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"]]},Ug=Fg;Cn.default=Ug});var Zc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var $g={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"]]},jg=$g;Pn.default=jg});var ed=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Hg={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"]]},Vg=Hg;Tn.default=Vg});var td=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var Wg={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"]]},zg=Wg;Rn.default=zg});var rd=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Kg={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"]]},Gg=Kg;Sn.default=Gg});var nd=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Xg={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"]]},Qg=Xg;xn.default=Qg});var od=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Yg={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"]]},Jg=Yg;qn.default=Jg});var id=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var Zg={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"]]},eE=Zg;An.default=eE});var ad=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var tE={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"]]},rE=tE;Mn.default=rE});var sd=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var nE={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"]]},oE=nE;kn.default=oE});var ld=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var iE={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"]]},aE=iE;On.default=aE});var ud=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var sE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},lE=sE;In.default=lE});var cd=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var uE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},cE=uE;Nn.default=cE});var dd=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var dE={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"]]},pE=dE;Ln.default=pE});var pd=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var fE={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"]]},mE=fE;Dn.default=mE});var fd=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var bE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},vE=bE;Bn.default=vE});var md=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var yE={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"]]},hE=yE;Fn.default=hE});var bd=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var gE={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"]]},EE=gE;Un.default=EE});var vd=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var wE={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"]]},_E=wE;$n.default=_E});var yd=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var CE={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"]]},PE=CE;jn.default=PE});var hd=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var TE={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"]]},RE=TE;Hn.default=RE});var gd=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var SE={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"]]},xE=SE;Vn.default=xE});var Ed=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var qE={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"]]},AE=qE;Wn.default=AE});var wd=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var ME={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"]]},kE=ME;zn.default=kE});var _d=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var OE={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"]]},IE=OE;Kn.default=IE});var Cd=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var NE={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"]]},LE=NE;Gn.default=LE});var Pd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var DE={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"]]},BE=DE;Xn.default=BE});var Td=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var FE={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"]]},UE=FE;Qn.default=UE});var Rd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var $E={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"]]},jE=$E;Yn.default=jE});var Sd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var HE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},VE=HE;Jn.default=VE});var xd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var WE={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"]]},zE=WE;Zn.default=zE});var qd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var KE={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"]]},GE=KE;eo.default=GE});var Ad=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var XE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QE=XE;to.default=QE});var Md=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var YE={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"]]},JE=YE;ro.default=JE});var kd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var ZE={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"]]},ew=ZE;no.default=ew});var Od=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var tw={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"]]},rw=tw;oo.default=rw});var Id=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var nw={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"]]},ow=nw;io.default=ow});var Nd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var iw={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"]]},aw=iw;ao.default=aw});var Ld=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var sw={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"]]},lw=sw;so.default=lw});var Dd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var uw={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"]]},cw=uw;lo.default=cw});var Bd=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var dw={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"]]},pw=dw;uo.default=pw});var Fd=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var fw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},mw=fw;co.default=mw});var Ud=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var bw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vw=bw;po.default=vw});var $d=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var yw={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"]]},hw=yw;fo.default=hw});var jd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var gw={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"]]},Ew=gw;mo.default=Ew});var Hd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var ww={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"]]},_w=ww;bo.default=_w});var Vd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var Cw={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"]]},Pw=Cw;vo.default=Pw});var Wd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var Tw={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"]]},Rw=Tw;yo.default=Rw});var zd=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var Sw={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"]]},xw=Sw;ho.default=xw});var Kd=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var qw={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"]]},Aw=qw;go.default=Aw});var Gd=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var Mw={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"]]},kw=Mw;Eo.default=kw});var Xd=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var Ow={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"]]},Iw=Ow;wo.default=Iw});var Qd=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var Nw={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"]]},Lw=Nw;_o.default=Lw});var Yd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Dw={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"]]},Bw=Dw;Co.default=Bw});var Jd=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Fw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Uw=Fw;Po.default=Uw});var Zd=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var $w={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"]]},jw=$w;To.default=jw});var ep=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Hw={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"]]},Vw=Hw;Ro.default=Vw});var tp=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Ww={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"]]},zw=Ww;So.default=zw});var rp=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Kw={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"]]},Gw=Kw;xo.default=Gw});var np=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Xw={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"]]},Qw=Xw;qo.default=Qw});var op=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Yw={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"]]},Jw=Yw;Ao.default=Jw});var ip=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Zw={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"]]},e_=Zw;Mo.default=e_});var ap=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var t_={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"]]},r_=t_;ko.default=r_});var sp=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var n_={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"]]},o_=n_;Oo.default=o_});var lp=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var i_={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"]]},a_=i_;Io.default=a_});var up=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var s_={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"]]},l_=s_;No.default=l_});var cp=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var u_={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"]]},c_=u_;Lo.default=c_});var dp=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var d_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},p_=d_;Do.default=p_});var pp=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var f_={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"]]},m_=f_;Bo.default=m_});var fp=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var b_={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"]]},v_=b_;Fo.default=v_});var mp=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var y_={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"]]},h_=y_;Uo.default=h_});var bp=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var g_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},E_=g_;$o.default=E_});var vp=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var w_={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"]]},__=w_;jo.default=__});var yp=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var C_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},P_=C_;Ho.default=P_});var hp=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var T_={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"]]},R_=T_;Vo.default=R_});var gp=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var S_={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"]]},x_=S_;Wo.default=x_});var Ep=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var q_={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"]]},A_=q_;zo.default=A_});var wp=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var M_=_(zc()),k_=_(Kc()),O_=_(Gc()),I_=_(Xc()),N_=_(Qc()),L_=_(Yc()),D_=_(Jc()),B_=_(Zc()),F_=_(ed()),U_=_(td()),$_=_(rd()),j_=_(nd()),H_=_(od()),V_=_(id()),W_=_(ad()),z_=_(sd()),K_=_(ld()),G_=_(ud()),X_=_(cd()),Q_=_(dd()),Y_=_(pd()),J_=_(fd()),Z_=_(md()),eC=_(bd()),tC=_(vd()),rC=_(yd()),nC=_(hd()),oC=_(gd()),iC=_(Ed()),aC=_(wd()),sC=_(_d()),lC=_(Cd()),uC=_(Pd()),cC=_(Td()),dC=_(Rd()),pC=_(Sd()),fC=_(xd()),mC=_(qd()),bC=_(Ad()),vC=_(Md()),yC=_(kd()),hC=_(Od()),gC=_(Id()),EC=_(Nd()),wC=_(Ld()),_C=_(Dd()),CC=_(Bd()),PC=_(Fd()),TC=_(Ud()),RC=_($d()),SC=_(jd()),xC=_(Hd()),qC=_(Vd()),AC=_(Wd()),MC=_(zd()),kC=_(Kd()),OC=_(Gd()),IC=_(Xd()),NC=_(Qd()),LC=_(Yd()),DC=_(Jd()),BC=_(Zd()),FC=_(ep()),UC=_(tp()),$C=_(rp()),jC=_(np()),HC=_(op()),VC=_(ip()),WC=_(ap()),zC=_(sp()),KC=_(lp()),GC=_(up()),XC=_(cp()),QC=_(dp()),YC=_(pp()),JC=_(fp()),ZC=_(mp()),eP=_(bp()),tP=_(vp()),rP=_(yp()),nP=_(hp()),oP=_(gp()),iP=_(Ep());function _(e){return e&&e.__esModule?e:{default:e}}var aP=[["alert",M_.default],["alertdialog",k_.default],["application",O_.default],["article",I_.default],["banner",N_.default],["blockquote",L_.default],["button",D_.default],["caption",B_.default],["cell",F_.default],["checkbox",U_.default],["code",$_.default],["columnheader",j_.default],["combobox",H_.default],["complementary",V_.default],["contentinfo",W_.default],["definition",z_.default],["deletion",K_.default],["dialog",G_.default],["directory",X_.default],["document",Q_.default],["emphasis",Y_.default],["feed",J_.default],["figure",Z_.default],["form",eC.default],["generic",tC.default],["grid",rC.default],["gridcell",nC.default],["group",oC.default],["heading",iC.default],["img",aC.default],["insertion",sC.default],["link",lC.default],["list",uC.default],["listbox",cC.default],["listitem",dC.default],["log",pC.default],["main",fC.default],["mark",mC.default],["marquee",bC.default],["math",vC.default],["menu",yC.default],["menubar",hC.default],["menuitem",gC.default],["menuitemcheckbox",EC.default],["menuitemradio",wC.default],["meter",_C.default],["navigation",CC.default],["none",PC.default],["note",TC.default],["option",RC.default],["paragraph",SC.default],["presentation",xC.default],["progressbar",qC.default],["radio",AC.default],["radiogroup",MC.default],["region",kC.default],["row",OC.default],["rowgroup",IC.default],["rowheader",NC.default],["scrollbar",LC.default],["search",DC.default],["searchbox",BC.default],["separator",FC.default],["slider",UC.default],["spinbutton",$C.default],["status",jC.default],["strong",HC.default],["subscript",VC.default],["superscript",WC.default],["switch",zC.default],["tab",KC.default],["table",GC.default],["tablist",XC.default],["tabpanel",QC.default],["term",YC.default],["textbox",JC.default],["time",ZC.default],["timer",eP.default],["toolbar",tP.default],["tooltip",rP.default],["tree",nP.default],["treegrid",oP.default],["treeitem",iP.default]],sP=aP;Ko.default=sP});var _p=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var lP={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"]]},uP=lP;Go.default=uP});var Cp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var cP={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"]]},dP=cP;Xo.default=dP});var Pp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var pP={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"]]},fP=pP;Qo.default=fP});var Tp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var mP={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"]]},bP=mP;Yo.default=bP});var Rp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var vP={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"]]},yP=vP;Jo.default=yP});var Sp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var hP={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"]]},gP=hP;Zo.default=gP});var xp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var EP={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"]]},wP=EP;ei.default=wP});var qp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.default=void 0;var _P={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"]]},CP=_P;ti.default=CP});var Ap=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var PP={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"]]},TP=PP;ri.default=TP});var Mp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var RP={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"]]},SP=RP;ni.default=SP});var kp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var xP={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"]]},qP=xP;oi.default=qP});var Op=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.default=void 0;var AP={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"]]},MP=AP;ii.default=MP});var Ip=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var kP={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"]]},OP=kP;ai.default=OP});var Np=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var IP={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"]]},NP=IP;si.default=NP});var Lp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var LP={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"]]},DP=LP;li.default=DP});var Dp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var BP={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"]]},FP=BP;ui.default=FP});var Bp=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var UP={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"]]},$P=UP;ci.default=$P});var Fp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var jP={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"]]},HP=jP;di.default=HP});var Up=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var VP={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"]]},WP=VP;pi.default=WP});var $p=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var zP={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"]]},KP=zP;fi.default=KP});var jp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var GP={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"]]},XP=GP;mi.default=XP});var Hp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var QP={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"]]},YP=QP;bi.default=YP});var Vp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.default=void 0;var JP={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"]]},ZP=JP;vi.default=ZP});var Wp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var eT={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"]]},tT=eT;yi.default=tT});var zp=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var rT={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"]]},nT=rT;hi.default=nT});var Kp=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var oT={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"]]},iT=oT;gi.default=iT});var Gp=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var aT={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"]]},sT=aT;Ei.default=sT});var Xp=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var lT={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"]]},uT=lT;wi.default=uT});var Qp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var cT={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"]]},dT=cT;_i.default=dT});var Yp=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var pT={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"]]},fT=pT;Ci.default=fT});var Jp=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var mT={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"]]},bT=mT;Pi.default=bT});var Zp=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var vT={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"]]},yT=vT;Ti.default=yT});var ef=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var hT={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"]]},gT=hT;Ri.default=gT});var tf=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var ET={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"]]},wT=ET;Si.default=wT});var rf=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var _T={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"]]},CT=_T;xi.default=CT});var nf=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var PT={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"]]},TT=PT;qi.default=TT});var of=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var RT={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"]]},ST=RT;Ai.default=ST});var af=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var xT={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"]]},qT=xT;Mi.default=qT});var sf=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var AT={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"]]},MT=AT;ki.default=MT});var lf=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var kT=k(_p()),OT=k(Cp()),IT=k(Pp()),NT=k(Tp()),LT=k(Rp()),DT=k(Sp()),BT=k(xp()),FT=k(qp()),UT=k(Ap()),$T=k(Mp()),jT=k(kp()),HT=k(Op()),VT=k(Ip()),WT=k(Np()),zT=k(Lp()),KT=k(Dp()),GT=k(Bp()),XT=k(Fp()),QT=k(Up()),YT=k($p()),JT=k(jp()),ZT=k(Hp()),eR=k(Vp()),tR=k(Wp()),rR=k(zp()),nR=k(Kp()),oR=k(Gp()),iR=k(Xp()),aR=k(Qp()),sR=k(Yp()),lR=k(Jp()),uR=k(Zp()),cR=k(ef()),dR=k(tf()),pR=k(rf()),fR=k(nf()),mR=k(of()),bR=k(af()),vR=k(sf());function k(e){return e&&e.__esModule?e:{default:e}}var yR=[["doc-abstract",kT.default],["doc-acknowledgments",OT.default],["doc-afterword",IT.default],["doc-appendix",NT.default],["doc-backlink",LT.default],["doc-biblioentry",DT.default],["doc-bibliography",BT.default],["doc-biblioref",FT.default],["doc-chapter",UT.default],["doc-colophon",$T.default],["doc-conclusion",jT.default],["doc-cover",HT.default],["doc-credit",VT.default],["doc-credits",WT.default],["doc-dedication",zT.default],["doc-endnote",KT.default],["doc-endnotes",GT.default],["doc-epigraph",XT.default],["doc-epilogue",QT.default],["doc-errata",YT.default],["doc-example",JT.default],["doc-footnote",ZT.default],["doc-foreword",eR.default],["doc-glossary",tR.default],["doc-glossref",rR.default],["doc-index",nR.default],["doc-introduction",oR.default],["doc-noteref",iR.default],["doc-notice",aR.default],["doc-pagebreak",sR.default],["doc-pagelist",lR.default],["doc-part",uR.default],["doc-preface",cR.default],["doc-prologue",dR.default],["doc-pullquote",pR.default],["doc-qna",fR.default],["doc-subtitle",mR.default],["doc-tip",bR.default],["doc-toc",vR.default]],hR=yR;Oi.default=hR});var uf=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var gR={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"]]},ER=gR;Ii.default=ER});var cf=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var wR={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"]]},_R=wR;Ni.default=_R});var df=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var CR={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"]]},PR=CR;Li.default=PR});var pf=p(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var TR=as(uf()),RR=as(cf()),SR=as(df());function as(e){return e&&e.__esModule?e:{default:e}}var xR=[["graphics-document",TR.default],["graphics-object",RR.default],["graphics-symbol",SR.default]],qR=xR;Di.default=qR});var Fi=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var AR=ar(Wc()),MR=ar(wp()),kR=ar(lf()),OR=ar(pf()),IR=ar(Ct());function ar(e){return e&&e.__esModule?e:{default:e}}function NR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=mf(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,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Mc(e,t){if(e){if(typeof e=="string")return Ac(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 Ac(e,t)}}function Ac(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 Tt=[["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}]],is={entries:function(){return Tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=$h(Tt),o;try{for(n.s();!(o=n.n()).done;){var i=os(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Tt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Tt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!is.get(t)},keys:function(){return Tt.map(function(t){var r=os(t,1),n=r[0];return n})},values:function(){return Tt.map(function(t){var r=os(t,2),n=r[1];return n})}},jh=(0,Lh.default)(is,is.entries());rn.default=jh});var Oc=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Hh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Vh=Hh;nn.default=Vh});var Ic=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var Wh={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"]]},zh=Wh;on.default=zh});var Nc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Kh={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"]]},Gh=Kh;an.default=Gh});var Lc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Xh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Yh=Xh;sn.default=Yh});var Dc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Qh={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"]]},Jh=Qh;ln.default=Jh});var Bc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Zh={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:[]},eg=Zh;un.default=eg});var Fc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var tg={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"]]},rg=tg;cn.default=rg});var Uc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var ng={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},og=ng;dn.default=og});var $c=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var ig={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"]]},ag=ig;pn.default=ag});var jc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var sg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},lg=sg;fn.default=lg});var Hc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var ug={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},cg=ug;mn.default=cg});var Vc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var dg={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},pg=dg;bn.default=pg});var Wc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var fg=fe(Oc()),mg=fe(Ic()),bg=fe(Nc()),vg=fe(Lc()),yg=fe(Dc()),hg=fe(Bc()),gg=fe(Fc()),Eg=fe(Uc()),wg=fe($c()),_g=fe(jc()),Cg=fe(Hc()),Pg=fe(Vc());function fe(e){return e&&e.__esModule?e:{default:e}}var Tg=[["command",fg.default],["composite",mg.default],["input",bg.default],["landmark",vg.default],["range",yg.default],["roletype",hg.default],["section",gg.default],["sectionhead",Eg.default],["select",wg.default],["structure",_g.default],["widget",Cg.default],["window",Pg.default]],Rg=Tg;vn.default=Rg});var zc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var Sg={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"]]},xg=Sg;yn.default=xg});var Kc=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var qg={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"]]},Ag=qg;hn.default=Ag});var Gc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var Mg={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"]]},kg=Mg;gn.default=kg});var Xc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var Og={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"]]},Ig=Og;En.default=Ig});var Yc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var Ng={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"]]},Lg=Ng;wn.default=Lg});var Qc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Dg={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"]]},Bg=Dg;_n.default=Bg});var Jc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var Fg={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"]]},Ug=Fg;Cn.default=Ug});var Zc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var $g={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"]]},jg=$g;Pn.default=jg});var ed=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Hg={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"]]},Vg=Hg;Tn.default=Vg});var td=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var Wg={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"]]},zg=Wg;Rn.default=zg});var rd=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Kg={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"]]},Gg=Kg;Sn.default=Gg});var nd=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Xg={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"]]},Yg=Xg;xn.default=Yg});var od=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Qg={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"]]},Jg=Qg;qn.default=Jg});var id=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var Zg={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"]]},eE=Zg;An.default=eE});var ad=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var tE={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"]]},rE=tE;Mn.default=rE});var sd=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var nE={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"]]},oE=nE;kn.default=oE});var ld=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var iE={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"]]},aE=iE;On.default=aE});var ud=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var sE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},lE=sE;In.default=lE});var cd=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var uE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},cE=uE;Nn.default=cE});var dd=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var dE={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"]]},pE=dE;Ln.default=pE});var pd=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var fE={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"]]},mE=fE;Dn.default=mE});var fd=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var bE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},vE=bE;Bn.default=vE});var md=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var yE={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"]]},hE=yE;Fn.default=hE});var bd=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var gE={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"]]},EE=gE;Un.default=EE});var vd=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var wE={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"]]},_E=wE;$n.default=_E});var yd=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var CE={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"]]},PE=CE;jn.default=PE});var hd=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var TE={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"]]},RE=TE;Hn.default=RE});var gd=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var SE={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"]]},xE=SE;Vn.default=xE});var Ed=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var qE={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"]]},AE=qE;Wn.default=AE});var wd=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var ME={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"]]},kE=ME;zn.default=kE});var _d=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var OE={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"]]},IE=OE;Kn.default=IE});var Cd=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var NE={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"]]},LE=NE;Gn.default=LE});var Pd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var DE={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"]]},BE=DE;Xn.default=BE});var Td=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var FE={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"]]},UE=FE;Yn.default=UE});var Rd=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var $E={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"]]},jE=$E;Qn.default=jE});var Sd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var HE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},VE=HE;Jn.default=VE});var xd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var WE={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"]]},zE=WE;Zn.default=zE});var qd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var KE={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"]]},GE=KE;eo.default=GE});var Ad=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var XE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},YE=XE;to.default=YE});var Md=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var QE={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"]]},JE=QE;ro.default=JE});var kd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var ZE={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"]]},ew=ZE;no.default=ew});var Od=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var tw={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"]]},rw=tw;oo.default=rw});var Id=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var nw={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"]]},ow=nw;io.default=ow});var Nd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var iw={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"]]},aw=iw;ao.default=aw});var Ld=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var sw={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"]]},lw=sw;so.default=lw});var Dd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var uw={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"]]},cw=uw;lo.default=cw});var Bd=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var dw={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"]]},pw=dw;uo.default=pw});var Fd=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var fw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},mw=fw;co.default=mw});var Ud=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var bw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vw=bw;po.default=vw});var $d=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var yw={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"]]},hw=yw;fo.default=hw});var jd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var gw={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"]]},Ew=gw;mo.default=Ew});var Hd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var ww={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"]]},_w=ww;bo.default=_w});var Vd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var Cw={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"]]},Pw=Cw;vo.default=Pw});var Wd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var Tw={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"]]},Rw=Tw;yo.default=Rw});var zd=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var Sw={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"]]},xw=Sw;ho.default=xw});var Kd=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var qw={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"]]},Aw=qw;go.default=Aw});var Gd=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var Mw={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"]]},kw=Mw;Eo.default=kw});var Xd=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var Ow={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"]]},Iw=Ow;wo.default=Iw});var Yd=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var Nw={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"]]},Lw=Nw;_o.default=Lw});var Qd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Dw={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"]]},Bw=Dw;Co.default=Bw});var Jd=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Fw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Uw=Fw;Po.default=Uw});var Zd=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var $w={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"]]},jw=$w;To.default=jw});var ep=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Hw={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"]]},Vw=Hw;Ro.default=Vw});var tp=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Ww={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"]]},zw=Ww;So.default=zw});var rp=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Kw={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"]]},Gw=Kw;xo.default=Gw});var np=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Xw={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"]]},Yw=Xw;qo.default=Yw});var op=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Qw={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"]]},Jw=Qw;Ao.default=Jw});var ip=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Zw={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"]]},e_=Zw;Mo.default=e_});var ap=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var t_={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"]]},r_=t_;ko.default=r_});var sp=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var n_={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"]]},o_=n_;Oo.default=o_});var lp=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var i_={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"]]},a_=i_;Io.default=a_});var up=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var s_={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"]]},l_=s_;No.default=l_});var cp=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var u_={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"]]},c_=u_;Lo.default=c_});var dp=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var d_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},p_=d_;Do.default=p_});var pp=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var f_={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"]]},m_=f_;Bo.default=m_});var fp=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var b_={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"]]},v_=b_;Fo.default=v_});var mp=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var y_={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"]]},h_=y_;Uo.default=h_});var bp=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var g_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},E_=g_;$o.default=E_});var vp=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var w_={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"]]},__=w_;jo.default=__});var yp=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var C_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},P_=C_;Ho.default=P_});var hp=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var T_={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"]]},R_=T_;Vo.default=R_});var gp=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var S_={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"]]},x_=S_;Wo.default=x_});var Ep=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var q_={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"]]},A_=q_;zo.default=A_});var wp=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var M_=_(zc()),k_=_(Kc()),O_=_(Gc()),I_=_(Xc()),N_=_(Yc()),L_=_(Qc()),D_=_(Jc()),B_=_(Zc()),F_=_(ed()),U_=_(td()),$_=_(rd()),j_=_(nd()),H_=_(od()),V_=_(id()),W_=_(ad()),z_=_(sd()),K_=_(ld()),G_=_(ud()),X_=_(cd()),Y_=_(dd()),Q_=_(pd()),J_=_(fd()),Z_=_(md()),eC=_(bd()),tC=_(vd()),rC=_(yd()),nC=_(hd()),oC=_(gd()),iC=_(Ed()),aC=_(wd()),sC=_(_d()),lC=_(Cd()),uC=_(Pd()),cC=_(Td()),dC=_(Rd()),pC=_(Sd()),fC=_(xd()),mC=_(qd()),bC=_(Ad()),vC=_(Md()),yC=_(kd()),hC=_(Od()),gC=_(Id()),EC=_(Nd()),wC=_(Ld()),_C=_(Dd()),CC=_(Bd()),PC=_(Fd()),TC=_(Ud()),RC=_($d()),SC=_(jd()),xC=_(Hd()),qC=_(Vd()),AC=_(Wd()),MC=_(zd()),kC=_(Kd()),OC=_(Gd()),IC=_(Xd()),NC=_(Yd()),LC=_(Qd()),DC=_(Jd()),BC=_(Zd()),FC=_(ep()),UC=_(tp()),$C=_(rp()),jC=_(np()),HC=_(op()),VC=_(ip()),WC=_(ap()),zC=_(sp()),KC=_(lp()),GC=_(up()),XC=_(cp()),YC=_(dp()),QC=_(pp()),JC=_(fp()),ZC=_(mp()),eP=_(bp()),tP=_(vp()),rP=_(yp()),nP=_(hp()),oP=_(gp()),iP=_(Ep());function _(e){return e&&e.__esModule?e:{default:e}}var aP=[["alert",M_.default],["alertdialog",k_.default],["application",O_.default],["article",I_.default],["banner",N_.default],["blockquote",L_.default],["button",D_.default],["caption",B_.default],["cell",F_.default],["checkbox",U_.default],["code",$_.default],["columnheader",j_.default],["combobox",H_.default],["complementary",V_.default],["contentinfo",W_.default],["definition",z_.default],["deletion",K_.default],["dialog",G_.default],["directory",X_.default],["document",Y_.default],["emphasis",Q_.default],["feed",J_.default],["figure",Z_.default],["form",eC.default],["generic",tC.default],["grid",rC.default],["gridcell",nC.default],["group",oC.default],["heading",iC.default],["img",aC.default],["insertion",sC.default],["link",lC.default],["list",uC.default],["listbox",cC.default],["listitem",dC.default],["log",pC.default],["main",fC.default],["mark",mC.default],["marquee",bC.default],["math",vC.default],["menu",yC.default],["menubar",hC.default],["menuitem",gC.default],["menuitemcheckbox",EC.default],["menuitemradio",wC.default],["meter",_C.default],["navigation",CC.default],["none",PC.default],["note",TC.default],["option",RC.default],["paragraph",SC.default],["presentation",xC.default],["progressbar",qC.default],["radio",AC.default],["radiogroup",MC.default],["region",kC.default],["row",OC.default],["rowgroup",IC.default],["rowheader",NC.default],["scrollbar",LC.default],["search",DC.default],["searchbox",BC.default],["separator",FC.default],["slider",UC.default],["spinbutton",$C.default],["status",jC.default],["strong",HC.default],["subscript",VC.default],["superscript",WC.default],["switch",zC.default],["tab",KC.default],["table",GC.default],["tablist",XC.default],["tabpanel",YC.default],["term",QC.default],["textbox",JC.default],["time",ZC.default],["timer",eP.default],["toolbar",tP.default],["tooltip",rP.default],["tree",nP.default],["treegrid",oP.default],["treeitem",iP.default]],sP=aP;Ko.default=sP});var _p=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var lP={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"]]},uP=lP;Go.default=uP});var Cp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var cP={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"]]},dP=cP;Xo.default=dP});var Pp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var pP={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"]]},fP=pP;Yo.default=fP});var Tp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var mP={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"]]},bP=mP;Qo.default=bP});var Rp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var vP={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"]]},yP=vP;Jo.default=yP});var Sp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var hP={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"]]},gP=hP;Zo.default=gP});var xp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var EP={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"]]},wP=EP;ei.default=wP});var qp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.default=void 0;var _P={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"]]},CP=_P;ti.default=CP});var Ap=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var PP={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"]]},TP=PP;ri.default=TP});var Mp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var RP={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"]]},SP=RP;ni.default=SP});var kp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var xP={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"]]},qP=xP;oi.default=qP});var Op=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.default=void 0;var AP={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"]]},MP=AP;ii.default=MP});var Ip=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var kP={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"]]},OP=kP;ai.default=OP});var Np=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var IP={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"]]},NP=IP;si.default=NP});var Lp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var LP={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"]]},DP=LP;li.default=DP});var Dp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var BP={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"]]},FP=BP;ui.default=FP});var Bp=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var UP={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"]]},$P=UP;ci.default=$P});var Fp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var jP={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"]]},HP=jP;di.default=HP});var Up=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var VP={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"]]},WP=VP;pi.default=WP});var $p=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.default=void 0;var zP={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"]]},KP=zP;fi.default=KP});var jp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var GP={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"]]},XP=GP;mi.default=XP});var Hp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var YP={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"]]},QP=YP;bi.default=QP});var Vp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.default=void 0;var JP={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"]]},ZP=JP;vi.default=ZP});var Wp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var eT={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"]]},tT=eT;yi.default=tT});var zp=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var rT={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"]]},nT=rT;hi.default=nT});var Kp=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var oT={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"]]},iT=oT;gi.default=iT});var Gp=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var aT={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"]]},sT=aT;Ei.default=sT});var Xp=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var lT={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"]]},uT=lT;wi.default=uT});var Yp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var cT={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"]]},dT=cT;_i.default=dT});var Qp=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var pT={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"]]},fT=pT;Ci.default=fT});var Jp=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var mT={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"]]},bT=mT;Pi.default=bT});var Zp=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var vT={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"]]},yT=vT;Ti.default=yT});var ef=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var hT={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"]]},gT=hT;Ri.default=gT});var tf=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var ET={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"]]},wT=ET;Si.default=wT});var rf=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var _T={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"]]},CT=_T;xi.default=CT});var nf=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var PT={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"]]},TT=PT;qi.default=TT});var of=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var RT={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"]]},ST=RT;Ai.default=ST});var af=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var xT={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"]]},qT=xT;Mi.default=qT});var sf=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var AT={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"]]},MT=AT;ki.default=MT});var lf=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var kT=k(_p()),OT=k(Cp()),IT=k(Pp()),NT=k(Tp()),LT=k(Rp()),DT=k(Sp()),BT=k(xp()),FT=k(qp()),UT=k(Ap()),$T=k(Mp()),jT=k(kp()),HT=k(Op()),VT=k(Ip()),WT=k(Np()),zT=k(Lp()),KT=k(Dp()),GT=k(Bp()),XT=k(Fp()),YT=k(Up()),QT=k($p()),JT=k(jp()),ZT=k(Hp()),eR=k(Vp()),tR=k(Wp()),rR=k(zp()),nR=k(Kp()),oR=k(Gp()),iR=k(Xp()),aR=k(Yp()),sR=k(Qp()),lR=k(Jp()),uR=k(Zp()),cR=k(ef()),dR=k(tf()),pR=k(rf()),fR=k(nf()),mR=k(of()),bR=k(af()),vR=k(sf());function k(e){return e&&e.__esModule?e:{default:e}}var yR=[["doc-abstract",kT.default],["doc-acknowledgments",OT.default],["doc-afterword",IT.default],["doc-appendix",NT.default],["doc-backlink",LT.default],["doc-biblioentry",DT.default],["doc-bibliography",BT.default],["doc-biblioref",FT.default],["doc-chapter",UT.default],["doc-colophon",$T.default],["doc-conclusion",jT.default],["doc-cover",HT.default],["doc-credit",VT.default],["doc-credits",WT.default],["doc-dedication",zT.default],["doc-endnote",KT.default],["doc-endnotes",GT.default],["doc-epigraph",XT.default],["doc-epilogue",YT.default],["doc-errata",QT.default],["doc-example",JT.default],["doc-footnote",ZT.default],["doc-foreword",eR.default],["doc-glossary",tR.default],["doc-glossref",rR.default],["doc-index",nR.default],["doc-introduction",oR.default],["doc-noteref",iR.default],["doc-notice",aR.default],["doc-pagebreak",sR.default],["doc-pagelist",lR.default],["doc-part",uR.default],["doc-preface",cR.default],["doc-prologue",dR.default],["doc-pullquote",pR.default],["doc-qna",fR.default],["doc-subtitle",mR.default],["doc-tip",bR.default],["doc-toc",vR.default]],hR=yR;Oi.default=hR});var uf=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var gR={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"]]},ER=gR;Ii.default=ER});var cf=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var wR={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"]]},_R=wR;Ni.default=_R});var df=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var CR={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"]]},PR=CR;Li.default=PR});var pf=p(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var TR=as(uf()),RR=as(cf()),SR=as(df());function as(e){return e&&e.__esModule?e:{default:e}}var xR=[["graphics-document",TR.default],["graphics-object",RR.default],["graphics-symbol",SR.default]],qR=xR;Di.default=qR});var Fi=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var AR=ar(Wc()),MR=ar(wp()),kR=ar(lf()),OR=ar(pf()),IR=ar(Ct());function ar(e){return e&&e.__esModule?e:{default:e}}function NR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=mf(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
10
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function ir(e,t){return BR(e)||DR(e,t)||mf(e,t)||LR()}function LR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
11
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mf(e,t){if(e){if(typeof e=="string")return ff(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 ff(e,t)}}function ff(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 DR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function BR(e){if(Array.isArray(e))return e}var Ke=[].concat(AR.default,MR.default,kR.default,OR.default);Ke.forEach(function(e){var t=ir(e,2),r=t[1],n=ss(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=ss(i),s;try{var l=function(){var c=s.value,d=Ke.find(function(T){var f=ir(T,1),g=f[0];return g===c});if(d)for(var m=d[1],y=0,P=Object.keys(m.props);y<P.length;y++){var C=P[y];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,NR({},C,m.props[C]))}};for(a.s();!(s=a.n()).done;)l()}catch(u){a.e(u)}finally{a.f()}}}catch(u){n.e(u)}finally{n.f()}});var ls={entries:function(){return Ke},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ss(Ke),o;try{for(n.s();!(o=n.n()).done;){var i=ir(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ke)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ke.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ls.get(t)},keys:function(){return Ke.map(function(t){var r=ir(t,1),n=r[0];return n})},values:function(){return Ke.map(function(t){var r=ir(t,2),n=r[1];return n})}},FR=(0,IR.default)(ls,ls.entries());Bi.default=FR});var yf=p(vf=>{var bf=Object.prototype.hasOwnProperty;function us(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--&&us(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(bf.call(e,r)&&++n&&!bf.call(t,r)||!(r in t)||!us(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}vf.dequal=us});var Pf=p(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.default=void 0;var Ef=yf(),UR=_f(Ct()),wf=_f(Fi());function _f(e){return e&&e.__esModule?e:{default:e}}function cs(e,t){return HR(e)||jR(e,t)||Cf(e,t)||$R()}function $R(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
12
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function HR(e){if(Array.isArray(e))return e}function VR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Cf(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
13
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Cf(e,t){if(e){if(typeof e=="string")return hf(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 hf(e,t)}}function hf(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 Ge=[],gf=wf.default.keys();for(Ui=0;Ui<gf.length;Ui++)if($i=gf[Ui],ji=wf.default.get($i),ji)for(ds=[].concat(ji.baseConcepts,ji.relatedConcepts),Hi=0;Hi<ds.length;Hi++)ps=ds[Hi],ps.module==="HTML"&&(function(){var e=ps.concept;if(e){var t=Ge.find(function(i){return(0,Ef.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===$i){n=!1;break}n&&r.push($i),Ge.push([e,r])}})();var $i,ji,ds,ps,Hi,Ui,fs={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=VR(Ge),o;try{for(n.s();!(o=n.n()).done;){var i=cs(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ge)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ge.find(function(n){return t.name===n[0].name&&(0,Ef.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!fs.get(t)},keys:function(){return Ge.map(function(t){var r=cs(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=cs(t,2),n=r[1];return n})}},WR=(0,UR.default)(fs,fs.entries());Vi.default=WR});var Af=p(Xi=>{"use strict";Object.defineProperty(Xi,"__esModule",{value:!0});Xi.default=void 0;var zR=xf(Ct()),Sf=xf(Fi());function xf(e){return e&&e.__esModule?e:{default:e}}function ms(e,t){return XR(e)||GR(e,t)||qf(e,t)||KR()}function KR(){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 GR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function XR(e){if(Array.isArray(e))return e}function QR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=qf(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,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function qf(e,t){if(e){if(typeof e=="string")return Tf(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 Tf(e,t)}}function Tf(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 rt=[],Rf=Sf.default.keys();for(Wi=0;Wi<Rf.length;Wi++)if(bs=Rf[Wi],zi=Sf.default.get(bs),Ki=[],zi){for(vs=[].concat(zi.baseConcepts,zi.relatedConcepts),Gi=0;Gi<vs.length;Gi++)ys=vs[Gi],ys.module==="HTML"&&(hs=ys.concept,hs!=null&&Ki.push(hs));Ki.length>0&&rt.push([bs,Ki])}var bs,zi,Ki,vs,ys,hs,Gi,Wi,gs={entries:function(){return rt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=QR(rt),o;try{for(n.s();!(o=n.n()).done;){var i=ms(o.value,2),a=i[0],s=i[1];t.call(r,s,a,rt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=rt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!gs.get(t)},keys:function(){return rt.map(function(t){var r=ms(t,1),n=r[0];return n})},values:function(){return rt.map(function(t){var r=ms(t,2),n=r[1];return n})}},YR=(0,zR.default)(gs,gs.entries());Xi.default=YR});var Mf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var JR=sr(qc()),ZR=sr(kc()),eS=sr(Fi()),tS=sr(Pf()),rS=sr(Af());function sr(e){return e&&e.__esModule?e:{default:e}}var nS=JR.default;me.aria=nS;var oS=ZR.default;me.dom=oS;var iS=eS.default;me.roles=iS;var aS=tS.default;me.elementRoles=aS;var sS=rS.default;me.roleElements=sS});var kf=p((UI,Qi)=>{var Es=(function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(a,s){if(!n[a]){n[a]={};for(var l=0;l<a.length;l++)n[a][a.charAt(l)]=l}return n[a][s]}var i={compressToBase64:function(a){if(a==null)return"";var s=i._compress(a,6,function(l){return t.charAt(l)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(a){return a==null?"":a==""?null:i._decompress(a.length,32,function(s){return o(t,a.charAt(s))})},compressToUTF16:function(a){return a==null?"":i._compress(a,15,function(s){return e(s+32)})+" "},decompressFromUTF16:function(a){return a==null?"":a==""?null:i._decompress(a.length,16384,function(s){return a.charCodeAt(s)-32})},compressToUint8Array:function(a){for(var s=i.compress(a),l=new Uint8Array(s.length*2),u=0,c=s.length;u<c;u++){var d=s.charCodeAt(u);l[u*2]=d>>>8,l[u*2+1]=d%256}return l},decompressFromUint8Array:function(a){if(a==null)return i.decompress(a);for(var s=new Array(a.length/2),l=0,u=s.length;l<u;l++)s[l]=a[l*2]*256+a[l*2+1];var c=[];return s.forEach(function(d){c.push(e(d))}),i.decompress(c.join(""))},compressToEncodedURIComponent:function(a){return a==null?"":i._compress(a,6,function(s){return r.charAt(s)})},decompressFromEncodedURIComponent:function(a){return a==null?"":a==""?null:(a=a.replace(/ /g,"+"),i._decompress(a.length,32,function(s){return o(r,a.charAt(s))}))},compress:function(a){return i._compress(a,16,function(s){return e(s)})},_compress:function(a,s,l){if(a==null)return"";var u,c,d={},m={},y="",P="",C="",T=2,f=3,g=2,w=[],h=0,E=0,q;for(q=0;q<a.length;q+=1)if(y=a.charAt(q),Object.prototype.hasOwnProperty.call(d,y)||(d[y]=f++,m[y]=!0),P=C+y,Object.prototype.hasOwnProperty.call(d,P))C=P;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++),d[P]=f++,C=String(y)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++)}for(c=2,u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;for(;;)if(h=h<<1,E==s-1){w.push(l(h));break}else E++;return w.join("")},decompress:function(a){return a==null?"":a==""?null:i._decompress(a.length,32768,function(s){return a.charCodeAt(s)})},_decompress:function(a,s,l){var u=[],c,d=4,m=4,y=3,P="",C=[],T,f,g,w,h,E,q,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(g=0,h=Math.pow(2,2),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(c=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;q=e(g);break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;q=e(g);break;case 2:return""}for(u[3]=q,f=q,C.push(q);;){if(R.index>a)return"";for(g=0,h=Math.pow(2,y),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(q=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),q=m-1,d--;break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),q=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,y),y++),u[q])P=u[q];else if(q===m)P=f+f.charAt(0);else return null;C.push(P),u[m++]=f+P.charAt(0),d--,f=P,d==0&&(d=Math.pow(2,y),y++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return Es}):typeof Qi<"u"&&Qi!=null?Qi.exports=Es:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return Es})});var Aa=null;function al(e){Aa=e}function Pe(){if(!Aa)throw new Error("No active driver bound to worker runtime");return Aa}var Ot={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Ie=null;function It(){if(Ie)return Ie;if(globalThis.__TESTSPECTRA_CONFIG__)return Ie=globalThis.__TESTSPECTRA_CONFIG__,Ie;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return Ie=JSON.parse(process.env.TESTSPECTRA_CONFIG),Ie}catch{}return Ie={rootDir:typeof process<"u"?process.cwd():"",testFilePath:"",activePlatform:Ot.activePlatform,configuredBaseUrl:Ot.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:Ot.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},Ie}var sl=null;function ll(e,t,r,n){sl&&sl(e,t,r,n)}function qr(){return It().implicitWaitMs??Ot.defaultElementWaitMs}function L(){return Math.min(qr(),2e3)}function Sr(e,t){console.log(`[${e}] ${t}`)}var xr={index:0,label:""},Ma;function ul(e){if(e==null)return"";if(typeof e=="string")return e;let t=e;return t.parent?`${t.selector} within ${ul(t.parent)}`:String(t.selector??"")}function Qb(e){let t=typeof process<"u"?process.env?.TESTSPECTRA_DELAY_STEPS:void 0;return t?t.split(",").some(r=>{let[n,o=n]=r.split("-").map(i=>Number(i.trim()));return Number.isFinite(n)&&e>=n&&e<=o}):!0}async function A(e,t,r){let n=It(),o=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",i=globalThis.__TESTSPECTRA_WORKER_ID__;o&&!t.test&&(t.test=o),i!==void 0&&t.workerId===void 0&&(t.workerId=i),xr={index:xr.index+1,label:`${t.key} ${ul(t.target)}`.trim()},t.step=xr.index,Ma=void 0,Sr("TESTSPECTRA_STEP_START",JSON.stringify(t));let a=Date.now(),s=()=>(Ma&&(t.resolved=Ma),JSON.stringify(t));try{let l=await r(),u=Date.now()-a;Sr("TESTSPECTRA_STEP_PASS",`${s()} (${u}ms)`),ll(`step:${t.key}`,e,u,{test:o,target:t.target});let c=n.stepDelayMs||0;return c>0&&Qb(xr.index)&&await new Promise(d=>setTimeout(d,c)),l}catch(l){let u=Date.now()-a;throw Sr("TESTSPECTRA_STEP_FAIL",`${s()} (${u}ms)`),ll(`step:${t.key}`,e,u,{test:o,target:t.target,failed:!0}),Sr("TESTSPECTRA_TEST_ERROR",l?.message||String(l)),l}}async function M(e,t,r=15){let n=t??qr(),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 cl(e,t,r){let n=()=>Pe(),o=typeof e=="string"?e:e.selector;async function i(b){return A("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await M(()=>r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return A("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return A("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await M(()=>r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return A("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return A("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await M(()=>r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return A("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return A("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await M(()=>n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return A("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await M(async()=>!await n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function y(b){return A("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await M(()=>r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be checked`)})}async function P(b){return A("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return A("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await M(()=>r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(b){return A("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,v){return A("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S===String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${S}"`)})}async function g(b,v){return A("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getValue()!==String(b),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function w(b,v){return A("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S.includes(String(b))),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${S}"`)})}async function h(b,v){return A("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getValue()).includes(String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function E(b,v){return A("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),b instanceof RegExp?b.test(S):S===String(b)||S.trim()===String(b).trim()),v?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${S}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${S}"`)})}async function q(b,v){return A("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>await r.isExisting()?(S=await r.getText(),b instanceof RegExp?!b.test(S):S!==String(b)&&S.trim()!==String(b).trim()):!1,v?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text not to match ${b}`):new Error(`Expected element "${o}" not to have text "${b}"`)})}async function R(b,v){return A("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),S.includes(String(b))),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${S}"`)})}async function H(b,v){return A("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getText()).includes(String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function B(b,v){return A("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await M(()=>n().hasClass(e,b,t),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function W(b,v){return A("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await M(async()=>!await n().hasClass(e,b,t),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,v,S){return A("assertion",{type:"assertion",key:"have.attr",target:e,args:v!==void 0?[b,v]:[b]},async()=>{let $=null;if(!await M(async()=>($=await r.getAttribute(b),v!==void 0?$===String(v):$!==null),S?.timeoutMs??L()))throw v!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${v}", but got "${$}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function O(b,v){return A("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getAttribute(b)===null,v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function G(b,v,S){return A("assertion",{type:"assertion",key:"have.css",target:e,args:[b,v]},async()=>{let $=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),N="";if(!await M(async()=>(N=(await r.getCSSProperty(b)).value,$(N)===$(v)),S?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${v}", but got "${N}"`)})}async function Y(b,v,S){return A("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,v]},async()=>{let $=pe=>String(pe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await M(async()=>{let pe=await r.getCSSProperty(b);return $(pe.value)!==$(v)},S?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${v}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:y,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:g,shouldContainValue:w,shouldNotContainValue:h,shouldHaveText:E,shouldNotHaveText:q,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:B,shouldNotHaveClass:W,shouldHaveAttribute:K,shouldNotHaveAttribute:O,shouldHaveCss:G,shouldNotHaveCss:Y}}var dl=new Map;function pl(e,t){dl.set(e,t)}function fl(){return dl.entries()}var ml=Symbol("testspectra.elementScope");function bl(e,t){Object.defineProperty(e,ml,{value:t,enumerable:!1})}function ka(e){if(!(e===null||typeof e!="object"))return e[ml]}function vl(e,t){let r=()=>Pe(),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 a(){return await r().isDisplayed(e,t)}async function s(){return await a()}async function l(){return await r().isExisting(e,t)}async function u(){return await r().isEnabled(e,t)}async function c(){return await r().isClickable(e,t)}async function d(){return await r().isSelected(e,t)}async function m(){return await d()}async function y(){return await r().isFocused(e,t)}async function P(g){return await r().getAttribute(e,g,t)}async function C(g){return await r().getCSSProperty(e,g,t)}async function T(g){let w=g??qr();if(await M(async()=>r().isExisting(e,t),w))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(g={}){let w=g.timeout||5e3,h=Date.now();for(;Date.now()-h<w;){if(await r().isDisplayed(e,t))return!0;await new Promise(E=>setTimeout(E,20))}throw new Error(`Element ${n} not displayed after ${w}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:y,getAttribute:P,getCSSProperty:C,waitForElement:T,waitForDisplayed:f}}function yl(e){return typeof e=="string"?e:e.selector}function Oa(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function ue(e,t=null){let r=yl(e),n=typeof e=="string"?t:e.index,o=hl(e,t),i=vl(e,t),a=cl(e,t,i),s={selector:r,index:n,...o,...i,...a,get(u,c=null){return ue({selector:u,index:c,parent:Oa(e,t)},null)},getAll(u){return Te({selector:u,index:null,parent:Oa(e,t)})}};bl(s,Oa(e,t));let l=s;for(let[u,c]of fl())u in l||(l[u]=(...d)=>c.apply(s,d));return s}function Te(e){let t=()=>Pe(),r=yl(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 ue(...n(0))},last(){return ue(...n(-1))},nth(i){return ue(...n(i))},async shouldHaveLength(i,a){return A("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s===i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return A("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s!==i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return A("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s>i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return A("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s<i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return A("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a===0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return A("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a>0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return ue(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function gl(e){return typeof e=="string"?e:e.selector}function hl(e,t){let r=()=>Pe();async function n(v){return A("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return A("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return A("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(v){return A("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await r().setValue(e,v,t)})}async function s(v,S){S?.clearFirst&&await l(),await a(v)}async function l(){return A("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(v){return A("action",{type:"action",key:"select",target:e,args:[v]},async()=>{await r().select(e,v,t)})}async function d(v){await c(v)}async function m(){return A("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function y(){return A("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function P(){return A("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(v){return A("action",{type:"action",key:"waitForElementRemoved",target:e,args:[v??5e3]},async()=>{if(!await M(async()=>!await r().isExisting(e,t),v??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(gl(e)))})}async function T(v){return A("action",{type:"action",key:"waitForUndisplayed",target:e,args:[v?.timeout??5e3]},async()=>{if(!await M(async()=>!await r().isDisplayed(e,t),v?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(gl(e)))})}async function f(v){return A("action",{type:"action",key:"waitForClickable",target:e,args:[v?.timeout??5e3]},async()=>await M(async()=>await r().isClickable(e,t),v?.timeout??5e3))}async function g(){return A("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function w(){let v=typeof e=="string"?e:e.selector,S=typeof e=="string"?t:e.index;return S==null?v:`${v}::nth(${S})`}function h(){return ue(w()+"::parent",null)}async function E(v){return A("action",{type:"action",key:"closest",target:e,args:[v]},async()=>await r().closest(e,v,t)?ue(`${w()}::closest(${v})`,null):null)}function q(v){return Te(`${w()}::children(${v??""})`)}function R(v){return Te(`${w()}::siblings(${v??""})`)}function H(v){return ue(`${w()}::next(${v??""})`,null)}async function B(){await m()}async function W(v){let S=typeof v=="string"?v:v?.selector||String(v);return A("action",{type:"action",key:"dragDrop",target:e,args:[S]},async()=>{await r().dragDrop(e,S,t)})}async function K(v){await W(v)}async function O(v){let S=typeof v=="number"?v:v?.duration||1e3;return A("action",{type:"action",key:"longPress",target:e,args:[S]},async()=>{await r().longPress(e,S,t)})}async function G(){return A("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function Y(v){return A("action",{type:"action",key:"upload",target:e,args:[v]},async()=>{await r().upload(e,v,t)})}async function b(v){await Y(v)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:y,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:g,parent:h,closest:E,children:q,siblings:R,next:H,moveTo:B,dragDrop:W,dragAndDrop:K,longPress:O,scrollIntoView:G,upload:Y,uploadFile:b}}var wl=["number","date","time","color","file","range"],El=e=>e.replace(/[^\p{L}\p{N}]/gu,"");function Ia(e,t,r){return t===null||r===null?!0:t===e||t!==r||El(t)===El(e)}function _l(e,t,r,n){let o=n?` (${n})`:"";return new Error(`Typed text did not reach element "${e}": expected "${t}", got "${r}"${o}`)}var Yb={Backspace:{code:"Backspace",windowsVirtualKeyCode:8},Tab:{code:"Tab",windowsVirtualKeyCode:9},Enter:{code:"Enter",windowsVirtualKeyCode:13,text:"\r"},Escape:{code:"Escape",windowsVirtualKeyCode:27},Delete:{code:"Delete",windowsVirtualKeyCode:46},ArrowLeft:{code:"ArrowLeft",windowsVirtualKeyCode:37},ArrowUp:{code:"ArrowUp",windowsVirtualKeyCode:38},ArrowRight:{code:"ArrowRight",windowsVirtualKeyCode:39},ArrowDown:{code:"ArrowDown",windowsVirtualKeyCode:40},Home:{code:"Home",windowsVirtualKeyCode:36},End:{code:"End",windowsVirtualKeyCode:35},PageUp:{code:"PageUp",windowsVirtualKeyCode:33},PageDown:{code:"PageDown",windowsVirtualKeyCode:34}};function Cl(e){if(typeof e!="string")return null;let t=Yb[e];return t?{key:e,...t}:null}function Na(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 Ar(e,t){let r=!1,n={unroute:()=>{r||(r=!0,t?.())},respondWith:async(i,a={})=>{let s=i;e.response=s&&s.body!==void 0?s.body:i,(a.statusCode||s&&s.statusCode)&&(e.statusCode=a.statusCode||s?.statusCode||200),(a.headers||s&&s.headers)&&(e.headers=a.headers||s?.headers),(a.delayMs!==void 0||s&&s.delayMs!==void 0)&&(e.delayMs=a.delayMs??s?.delayMs),e.aborted=!1},respondOnce:async(i,a={})=>{let s=i,l=s&&s.body!==void 0?s.body:i,u=a.statusCode||s&&s.statusCode||e.statusCode||200,c=a.headers||s&&s.headers||e.headers,d=a.delayMs??(s&&s.delayMs)??e.delayMs;e.respondOnceQueue.push({response:l,statusCode:u,headers:c,delayMs:d}),e.aborted=!1},abort:async(i="Failed")=>{e.aborted=!0,e.abortReason=i},waitForCall:async(i={})=>{let a=i.count??1,s=i.timeout??5e3;return e.calls.length>=a?e.calls[a-1]:new Promise((l,u)=>{let c=setTimeout(()=>{let d=e.waitResolvers.findIndex(m=>m.resolve===l);d!==-1&&e.waitResolvers.splice(d,1),u(new Error(`Spectra.intercept waitForCall timed out after ${s}ms (expected at least ${a} call(s), received ${e.calls.length})`))},s);e.waitResolvers.push({count:a,resolve:d=>{clearTimeout(c),l(d)}})})}},o=()=>e.callCount;return n.callCount=Object.assign(o,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(n,"calls",{get:()=>e.calls,enumerable:!0}),n}function Mr(e,t,r,n){let o,i,a,s,l,u;if(typeof e=="object"&&e!==null)o=e.url||e.pattern||"*",i=(e.method||"GET").toUpperCase(),a=e.response!==void 0?e.response:typeof t=="object"&&t!==null?t:r,s=e.statusCode||n&&n.statusCode||200,l=e.headers||n&&n.headers,u=e.delayMs??(n&&n.delayMs);else if(o=String(e||"*"),typeof t=="string"&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","ALL"].includes(t.toUpperCase())){i=t.toUpperCase();let c=r;a=c&&c.body!==void 0?c.body:r,s=n&&n.statusCode||c&&c.statusCode||200,l=n&&n.headers||c&&c.headers,u=(n&&n.delayMs)??(c&&c.delayMs)}else{i="GET";let c=t;a=c&&c.body!==void 0?c.body:t,s=r&&r.statusCode||c&&c.statusCode||200,l=r&&r.headers||c&&c.headers,u=(r&&r.delayMs)??(c&&c.delayMs)}return{pattern:o,method:i,response:a,statusCode:s,headers:l,delayMs:u,callCount:0,respondOnceQueue:[],calls:[],waitResolvers:[]}}function Nt(e,t,r){for(let n of e)if(Na(n.pattern,t)&&(!n.method||n.method==="ALL"||n.method.toUpperCase()===r.toUpperCase()))return n;return null}function Lt(e,t){e.calls.push(t),e.callCount++;for(let r=e.waitResolvers.length-1;r>=0;r--){let n=e.waitResolvers[r];e.callCount>=n.count&&(e.waitResolvers.splice(r,1),n.resolve(t))}return t}function Dt(e){if(e.respondOnceQueue.length>0){let t=e.respondOnceQueue.shift();return{body:t.response,statusCode:t.statusCode||e.statusCode||200,headers:{...e.headers,...t.headers},delayMs:t.delayMs??e.delayMs}}return{body:e.response,statusCode:e.statusCode||200,headers:{...e.headers},delayMs:e.delayMs}}var Jb={"Content-Type":"application/json; charset=utf-8","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, PUT, DELETE, PATCH, OPTIONS","Access-Control-Allow-Headers":"*"};function kr(e){let t=new Map;for(let[r,n]of Object.entries(Jb))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Bt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function Pl(e){let t=/^(.*)::nth\((-?\d+)\)$/.exec(e);if(t)return{kind:"nth",base:t[1],arg:t[2]};let r=/^(.*)::closest\((.+)\)$/.exec(e);if(r)return{kind:"closest",base:r[1],arg:r[2]};let n=/^(.*)::children\((.*)\)$/.exec(e);if(n)return{kind:"children",base:n[1],arg:n[2].trim()||null};let o=/^(.*)::children$/.exec(e);if(o)return{kind:"children",base:o[1],arg:null};let i=/^(.*)::siblings\((.*)\)$/.exec(e);if(i)return{kind:"siblings",base:i[1],arg:i[2].trim()||null};let a=/^(.*)::siblings$/.exec(e);if(a)return{kind:"siblings",base:a[1],arg:null};let s=/^(.*)::next\((.*)\)$/.exec(e);if(s)return{kind:"next",base:s[1],arg:s[2].trim()||null};let l=/^(.*)::next$/.exec(e);if(l)return{kind:"next",base:l[1],arg:null};let u=/^(.*)::parent$/.exec(e);return u?{kind:"parent",base:u[1]}:null}function La(e){let t=e.trim();if(!t.startsWith("~"))return null;let r=t.slice(1),n=r.indexOf("[");return n!==-1?{name:r.slice(0,n),chainSuffix:r.slice(n)}:{name:r,chainSuffix:""}}function Tl(e){let t=La(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function Rl(e,t,r){let o=Array.from(t.querySelectorAll("[aria-labelledby]")).filter(i=>(i.getAttribute("aria-labelledby")??"").trim().split(/\s+/).map(l=>{let u=document.getElementById(l);return u?(u.textContent??"").trim():""}).filter(Boolean).join(" ").trim()===e);return r===null?o[0]??null:r>=0?o[r]??null:o[o.length+r]??null}var Zb=new Set(["mount","unmount","registerCommand","registerCommands"]),ev=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function Sl(){let e=()=>Pe(),t={get:r=>ne(r),getAll:r=>Te(r),navigate:r=>e().navigate(r),back:()=>e().back(),forward:()=>e().forward(),refresh:()=>e().refresh(),setViewport:(r,n)=>e().setViewport(r,n),wait:r=>e().pause(r),click:async(r,n)=>{await ne(r).click()},clickAt:async(r,n)=>{await e().clickAt(r,n)},doubleClick:async r=>{await ne(r).doubleClick()},rightClick:async r=>{await ne(r).rightClick()},type:async(r,n,o)=>{await ne(r).type(n,o)},clear:async r=>{await ne(r).clear()},select:async(r,n)=>{await ne(r).select(n)},hover:async r=>{await ne(r).hover()},focus:async r=>{await ne(r).focus()},blur:async r=>{await ne(r).blur()},dragDrop:async(r,n)=>{await ne(r).dragDrop(n)},scrollIntoView:async r=>{await ne(r).scrollIntoView()},scroll:async r=>{await e().scroll(r)},swipe:async r=>{await e().swipe(r)},longPress:async(r,n)=>{await ne(r).longPress(n)},pressKey:async r=>{await e().pressKey(r)},grantPermission:async r=>{await e().grantPermission(r)},waitForElement:async(r,n)=>{await ne(r).waitForElement(n)},intercept:async(r,n,o,i)=>await e().intercept(r,n,o,i),clearMocks:()=>{e().clearMocks()},sleep:r=>new Promise(n=>setTimeout(n,r)),onConsole:r=>{let n=e();return typeof n.onConsole=="function"?n.onConsole(r):()=>{}},get browser(){return e()},get env(){return It().environmentVariables||{}}};return t.registerCommand=(r,n)=>{if(typeof n!="function")throw new Error(`[TestSpectra] Custom command "${r}" must be a function.`);if(!ev.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(Zb.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n,pl(r,n)},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function xl(){return typeof globalThis.__TESTSPECTRA_STEP_DELAY_MS__=="number"?globalThis.__TESTSPECTRA_STEP_DELAY_MS__:typeof window<"u"&&typeof window.__TESTSPECTRA_STEP_DELAY_MS__=="number"?window.__TESTSPECTRA_STEP_DELAY_MS__:0}var tv=5e3;function Or(e,t){(typeof globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean"?globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__:!(typeof window<"u"&&typeof window.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean")||window.__TESTSPECTRA_SEMANTIC_REPORTER__)&&console.log(`[${e}] ${t}`)}function Da(){return tv}function rv(){return Math.min(Da(),2e3)}async function nv(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);Or("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;Or("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=xl();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw Or("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function ov(e,t,r=15){let n=t??Da(),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}}globalThis.__TESTSPECTRA_CONFIG__={rootDir:"",activePlatform:"web",configuredBaseUrl:"",cdpWsUrl:"",driverServerUrl:"",stepDelayMs:xl()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:Or,trackStep:nv,pollCondition:ov,getImplicitWaitMs:Da,getAssertionTimeoutMs:rv,matchesUrlPattern:Na,createMockHandle:Ar,parseMockRule:Mr,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Dt,mergeMockResponseHeaders:kr,mockResponseBodyText:Bt,createElementProxy:ue,createCollectionProxy:Te,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var ql=new Set;async function Al(e,t=[],r,n={platform:"web"}){for(let o of t)if(!ql.has(o))try{let i=await r(o),a=i?.default??i?.plugin??i;typeof a=="function"?await a(e,n):a&&typeof a.setup=="function"?await a.setup(e,n):console.error(`[TestSpectra] Plugin "${o}" has no default export function or setup() method \u2014 skipping.`),ql.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function iv(){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 Ml=new Map;async function Ir(e){let t=Ml.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 Ml.set(e,r),r}async function Ba(e){let t=e??iv();if(!t)return;let r=t.pageObjects??t.page_objects??[];for(let l of r){let u=l.path??l.file_path;if(u){let c=await Ir(u);globalThis[l.name]=c.default??c}}let n={},o=t.fixtures??[];for(let l of o){let u=l.path??l.file_path;if(u){let c=u.split("/").pop()?.split("\\").pop()||`${l.name}.bin`;try{let d=await Ir(u),m=d?.default!==void 0?d.default:d??u;typeof m=="string"&&m.startsWith("data:")&&!m.includes("name=")&&(m=m.replace(/^data:([^;,]+)/,y=>`${y};name=${encodeURIComponent(c)}`)),n[l.name]=m}catch{n[l.name]=u}}}globalThis.Fixture=n;let i={},a=t.steps??[];for(let l of a){let u=l.path??l.file_path;if(u){let c=await Ir(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=av();if(s.length>0&&globalThis.Spectra){let l=globalThis.__TS_RUNTIME__;await Al(globalThis.Spectra,s,Ir,{platform:"web",config:{baseUrl:"",implicitWaitMs:typeof l?.getImplicitWaitMs=="function"?l.getImplicitWaitMs():void 0,env:{}}})}}function av(){let e=globalThis,t;try{t=e.__TESTSPECTRA_PLUGINS__}catch{}if(!t&&typeof window<"u"&&(t=window.__TESTSPECTRA_PLUGINS__),!t)return[];if(Array.isArray(t))return t.filter(r=>typeof r=="string");if(typeof t=="string")try{let r=JSON.parse(t);return Array.isArray(r)?r.filter(n=>typeof n=="string"):[]}catch{return[]}return[]}globalThis.__bootstrapAutoImports=Ba;function x(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 V(e){var t;if(sv(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 ${lv(e)}`)}function sv(e){return e.nodeType===9}function lv(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Fa(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 Ft(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 Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ut=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Ne(this,"kind",void 0),Ne(this,"type",void 0),Ne(this,"file",null),Ne(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 kl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var $a=class extends Array{add(...t){let r=typeof t[0]=="string"?new Ut(t[0],kl(t[1])):new Ut(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Ua(e){let t=kl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Nr(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 uv(e){return new class{getData(r){var n;let o=Ua(r),i=(n=this.items.find(Nr(o,!0)))!==null&&n!==void 0?n:this.items.find(Nr(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Ua(r),i=this.items.findIndex(Nr(o,!0)),a=new Ut(n,o);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=Ua(r),o=this.items.findIndex(Nr(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(){Ne(this,"dropEffect","none"),Ne(this,"effectAllowed","uninitialized"),Ne(this,"items",new $a),Ne(this,"files",Ft(e,[]))}}}function vt(e,t=[]){let r=typeof e.DataTransfer>"u"?uv(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(e,t)}),r}async function Ol(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Nl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(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){Nl(this,"data",void 0),this.data=o}}(r)}var yt=Symbol("Manage ClipboardSub");function Il(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(a=>a.startsWith("text/"));i&&(n+=await o.getType(i).then(a=>Fa(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Ll(e,n)]}constructor(...n){super(...n),Nl(this,"items",[])}},{[yt]:t})}function ja(e){return!!e?.[yt]}function Dl(e){if(ja(e.navigator.clipboard))return e.navigator.clipboard[yt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Il(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Il(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[yt]}function cv(e){ja(e.navigator.clipboard)&&e.navigator.clipboard[yt].resetClipboardStub()}function dv(e){ja(e.navigator.clipboard)&&e.navigator.clipboard[yt].detachClipboardStub()}async function Bl(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=vt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Fa(s,t.FileReader)));return o}async function Dr(e,t){let r=V(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],l=await Ol(r,s);o.push(Ll(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Lr=globalThis;typeof Lr.afterEach=="function"&&Lr.afterEach(()=>{typeof globalThis.window<"u"&&cv(globalThis.window)});typeof Lr.afterAll=="function"&&Lr.afterAll(()=>{typeof globalThis.window<"u"&&dv(globalThis.window)});var Br=["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 $t(e){return e.matches(Br)}function Fl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(x(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(x(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 Le(e){let t=e.activeElement;if(t?.shadowRoot){let r=Le(t.shadowRoot);if(r)return r}else if(t&&x(t,"iframe")){let r=t.contentDocument;if(r)return Le(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ht(e){var t;return(t=Le(e))!==null&&t!==void 0?t:e.body}function Ul(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ce(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function De(e){let t=pv(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function pv(e){return e.nodeType===1?e:e.parentElement}var $l=(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})($l||{});function Fr(e){return x(e,"button")||x(e,"input")&&e.type in $l}function ve(e){return Ha(e)&&!e.readOnly||ce(e)}var jl=(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})(jl||{});function Ha(e){return x(e,"textarea")||x(e,"input")&&e.type in jl}function X(e){return Vl(e)&&Ha(e)}function Hl(e){return Vl(e)&&Fr(e)}function Vl(e){return e.nodeType===1}function Wl(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=De(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 Ur(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 na=qa(nc());var Ky=Object.prototype.toString;function oc(e){return typeof e=="function"||Ky.call(e)==="[object Function]"}function Gy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Xy=Math.pow(2,53)-1;function Qy(e){var t=Gy(e);return Math.min(Math.max(t,0),Xy)}function de(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"&&!oc(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Qy(n.length),i=oc(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],t?i[a]=t(s,a):i[a]=s,a+=1;return i.length=o,i}function tr(e){"@babel/helpers - typeof";return tr=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},tr(e)}function Yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(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,ac(n.key),n)}}function Jy(e,t,r){return t&&ic(e.prototype,t),r&&ic(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zy(e,t,r){return t=ac(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){var t=eh(e,"string");return tr(t)==="symbol"?t:String(t)}function eh(e,t){if(tr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(tr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var th=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Yy(this,e),Zy(this,"items",void 0),this.items=t}return Jy(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})(),sc=typeof Set>"u"?Set:th;function Q(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var rh={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"},nh={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 oh(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=nh[t])!==null&&n!==void 0&&n.has(r))})}function lc(e,t){return oh(e,t)}function Yr(e){var t=ah(e);if(t===null||t==="presentation"){var r=ih(e);if(t!=="presentation"||lc(e,r||""))return r}return t}function ih(e){var t=rh[Q(e)];if(t!==void 0)return t;switch(Q(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!lc(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 ah(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function j(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Za(e){return j(e)&&Q(e)==="caption"}function rr(e){return j(e)&&Q(e)==="input"}function uc(e){return j(e)&&Q(e)==="optgroup"}function cc(e){return j(e)&&Q(e)==="select"}function dc(e){return j(e)&&Q(e)==="table"}function pc(e){return j(e)&&Q(e)==="textarea"}function fc(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function mc(e){return j(e)&&Q(e)==="fieldset"}function bc(e){return j(e)&&Q(e)==="legend"}function vc(e){return j(e)&&Q(e)==="slot"}function sh(e){return j(e)&&e.ownerSVGElement!==void 0}function yc(e){return j(e)&&Q(e)==="svg"}function hc(e){return sh(e)&&Q(e)==="title"}function _t(e,t){if(j(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 ge(e,t){return j(e)?t.indexOf(Yr(e))!==-1:!1}function lh(e){return e.trim().replace(/\s\s+/g," ")}function uh(e,t){if(!j(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 ch(e){return ge(e,["button","combobox","listbox","textbox"])||wc(e,"range")}function wc(e,t){if(!j(e))return!1;if(t==="range")return ge(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function gc(e,t){var r=de(e.querySelectorAll(t));return _t(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function dh(e){return cc(e)?e.selectedOptions||gc(e,"[selected]"):gc(e,'[aria-selected="true"]')}function ph(e){return ge(e,["none","presentation"])}function fh(e){return Za(e)}function mh(e){return ge(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function bh(e){return!1}function vh(e){return rr(e)||pc(e)?e.value:e.textContent||""}function Ec(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function _c(e){var t=Q(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Cc(e){if(_c(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&j(r)){var n=Cc(r);n!==null&&(t=n)}}),t}function yh(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Cc(e)}function hh(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!_c(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return yh(n)===e})}function gh(e){var t=e.assignedNodes();return t.length===0?de(e.childNodes):t}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new sc,n=fc(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function m(f,g){var w="";if(j(f)&&s){var h=u(f,"::before"),E=Ec(h);w="".concat(E," ").concat(w)}var q=vc(f)?gh(f):de(f.childNodes).concat(_t(f,"aria-owns"));if(q.forEach(function(B){var W=T(B,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=j(B)?u(B).getPropertyValue("display"):"inline",O=K!=="inline"?" ":"";w+="".concat(O).concat(W).concat(O)}),j(f)&&s){var R=u(f,"::after"),H=Ec(R);w="".concat(w," ").concat(H)}return w.trim()}function y(f,g){var w=f.getAttributeNode(g);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function P(f){return j(f)?y(f,"title"):null}function C(f){if(!j(f))return null;if(mc(f)){r.add(f);for(var g=de(f.childNodes),w=0;w<g.length;w+=1){var h=g[w];if(bc(h))return T(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(dc(f)){r.add(f);for(var E=de(f.childNodes),q=0;q<E.length;q+=1){var R=E[q];if(Za(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(yc(f)){r.add(f);for(var H=de(f.childNodes),B=0;B<H.length;B+=1){var W=H[B];if(hc(W))return W.textContent}return null}else if(Q(f)==="img"||Q(f)==="area"){var K=y(f,"alt");if(K!==null)return K}else if(uc(f)){var O=y(f,"label");if(O!==null)return O}if(rr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var G=y(f,"value");if(G!==null)return G;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var Y=hh(f);if(Y!==null&&Y.length!==0)return r.add(f),de(Y).map(function($){return T($,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function($){return $.length>0}).join(" ");if(rr(f)&&f.type==="image"){var b=y(f,"alt");if(b!==null)return b;var v=y(f,"title");return v!==null?v:"Submit Query"}if(ge(f,["button"])){var S=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(S!=="")return S}return null}function T(f,g){if(r.has(f))return"";if(!d&&uh(f,u)&&!g.isReferenced)return r.add(f),"";var w=j(f)?f.getAttributeNode("aria-labelledby"):null,h=w!==null&&!r.has(w)?_t(f,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&h.length>0)return r.add(w),h.map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&ch(f)&&i==="name";if(!E){var q=(j(f)&&f.getAttribute("aria-label")||"").trim();if(q!==""&&i==="name")return r.add(f),q;if(!ph(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=dh(f);return H.length===0?rr(f)?f.value:"":de(H).map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(wc(f,"range"))return r.add(f),f.hasAttribute("aria-valuetext")?f.getAttribute("aria-valuetext"):f.hasAttribute("aria-valuenow")?f.getAttribute("aria-valuenow"):f.getAttribute("value")||"";if(ge(f,["textbox"]))return r.add(f),vh(f)}if(mh(f)||j(f)&&g.isReferenced||fh(f)||bh(f)){var B=m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(B!=="")return r.add(f),B}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(g.recursion)return r.add(f),m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var W=P(f);return W!==null?(r.add(f),W):(r.add(f),"")}return lh(T(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function nr(e){"@babel/helpers - typeof";return nr=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},nr(e)}function Pc(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 Tc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Pc(Object(r),!0).forEach(function(n){Eh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Eh(e,t,r){return t=wh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wh(e){var t=_h(e,"string");return nr(t)==="symbol"?t:String(t)}function _h(e,t){if(nr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(nr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=_t(e,"aria-describedby").map(function(o){return Jr(o,Tc(Tc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Ch(e){return ge(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function or(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ch(e)?"":Jr(e,t)}var oe=qa(Mf()),Ff=qa(kf());function Uf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var lS=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function XR(e){if(Array.isArray(e))return e}function YR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=qf(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,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var u=r.next();return i=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function qf(e,t){if(e){if(typeof e=="string")return Tf(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 Tf(e,t)}}function Tf(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 rt=[],Rf=Sf.default.keys();for(Wi=0;Wi<Rf.length;Wi++)if(bs=Rf[Wi],zi=Sf.default.get(bs),Ki=[],zi){for(vs=[].concat(zi.baseConcepts,zi.relatedConcepts),Gi=0;Gi<vs.length;Gi++)ys=vs[Gi],ys.module==="HTML"&&(hs=ys.concept,hs!=null&&Ki.push(hs));Ki.length>0&&rt.push([bs,Ki])}var bs,zi,Ki,vs,ys,hs,Gi,Wi,gs={entries:function(){return rt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=YR(rt),o;try{for(n.s();!(o=n.n()).done;){var i=ms(o.value,2),a=i[0],s=i[1];t.call(r,s,a,rt)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=rt.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!gs.get(t)},keys:function(){return rt.map(function(t){var r=ms(t,1),n=r[0];return n})},values:function(){return rt.map(function(t){var r=ms(t,2),n=r[1];return n})}},QR=(0,zR.default)(gs,gs.entries());Xi.default=QR});var Mf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var JR=sr(qc()),ZR=sr(kc()),eS=sr(Fi()),tS=sr(Pf()),rS=sr(Af());function sr(e){return e&&e.__esModule?e:{default:e}}var nS=JR.default;me.aria=nS;var oS=ZR.default;me.dom=oS;var iS=eS.default;me.roles=iS;var aS=tS.default;me.elementRoles=aS;var sS=rS.default;me.roleElements=sS});var kf=p(($I,Yi)=>{var Es=(function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(a,s){if(!n[a]){n[a]={};for(var l=0;l<a.length;l++)n[a][a.charAt(l)]=l}return n[a][s]}var i={compressToBase64:function(a){if(a==null)return"";var s=i._compress(a,6,function(l){return t.charAt(l)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(a){return a==null?"":a==""?null:i._decompress(a.length,32,function(s){return o(t,a.charAt(s))})},compressToUTF16:function(a){return a==null?"":i._compress(a,15,function(s){return e(s+32)})+" "},decompressFromUTF16:function(a){return a==null?"":a==""?null:i._decompress(a.length,16384,function(s){return a.charCodeAt(s)-32})},compressToUint8Array:function(a){for(var s=i.compress(a),l=new Uint8Array(s.length*2),u=0,c=s.length;u<c;u++){var d=s.charCodeAt(u);l[u*2]=d>>>8,l[u*2+1]=d%256}return l},decompressFromUint8Array:function(a){if(a==null)return i.decompress(a);for(var s=new Array(a.length/2),l=0,u=s.length;l<u;l++)s[l]=a[l*2]*256+a[l*2+1];var c=[];return s.forEach(function(d){c.push(e(d))}),i.decompress(c.join(""))},compressToEncodedURIComponent:function(a){return a==null?"":i._compress(a,6,function(s){return r.charAt(s)})},decompressFromEncodedURIComponent:function(a){return a==null?"":a==""?null:(a=a.replace(/ /g,"+"),i._decompress(a.length,32,function(s){return o(r,a.charAt(s))}))},compress:function(a){return i._compress(a,16,function(s){return e(s)})},_compress:function(a,s,l){if(a==null)return"";var u,c,d={},m={},y="",P="",C="",T=2,f=3,g=2,w=[],h=0,E=0,A;for(A=0;A<a.length;A+=1)if(y=a.charAt(A),Object.prototype.hasOwnProperty.call(d,y)||(d[y]=f++,m[y]=!0),P=C+y,Object.prototype.hasOwnProperty.call(d,P))C=P;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++),d[P]=f++,C=String(y)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++)}for(c=2,u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;for(;;)if(h=h<<1,E==s-1){w.push(l(h));break}else E++;return w.join("")},decompress:function(a){return a==null?"":a==""?null:i._decompress(a.length,32768,function(s){return a.charCodeAt(s)})},_decompress:function(a,s,l){var u=[],c,d=4,m=4,y=3,P="",C=[],T,f,g,w,h,E,A,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(g=0,h=Math.pow(2,2),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(c=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;A=e(g);break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;A=e(g);break;case 2:return""}for(u[3]=A,f=A,C.push(A);;){if(R.index>a)return"";for(g=0,h=Math.pow(2,y),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(A=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),A=m-1,d--;break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),A=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,y),y++),u[A])P=u[A];else if(A===m)P=f+f.charAt(0);else return null;C.push(P),u[m++]=f+P.charAt(0),d--,f=P,d==0&&(d=Math.pow(2,y),y++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return Es}):typeof Yi<"u"&&Yi!=null?Yi.exports=Es:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return Es})});var Aa=null;function al(e){Aa=e}function Pe(){if(!Aa)throw new Error("No active driver bound to worker runtime");return Aa}var Ot={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Ie=null;function It(){if(Ie)return Ie;if(globalThis.__TESTSPECTRA_CONFIG__)return Ie=globalThis.__TESTSPECTRA_CONFIG__,Ie;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return Ie=JSON.parse(process.env.TESTSPECTRA_CONFIG),Ie}catch{}return Ie={rootDir:typeof process<"u"?process.cwd():"",testFilePath:"",activePlatform:Ot.activePlatform,configuredBaseUrl:Ot.configuredBaseUrl,cdpWsUrl:"",driverServerUrl:Ot.driverServerUrl,manifest:{page_objects:[],fixtures:[],steps:[],actions:[],global_hooks:[],suite_hooks:{}}},Ie}var sl=null;function ll(e,t,r,n){sl&&sl(e,t,r,n)}function qr(){return It().implicitWaitMs??Ot.defaultElementWaitMs}function I(){return Math.min(qr(),2e3)}function Sr(e,t){console.log(`[${e}] ${t}`)}var xr={index:0,label:""},Ma;function ul(e){if(e==null)return"";if(typeof e=="string")return e;let t=e;return t.parent?`${t.selector} within ${ul(t.parent)}`:String(t.selector??"")}function Yb(e){let t=typeof process<"u"?process.env?.TESTSPECTRA_DELAY_STEPS:void 0;return t?t.split(",").some(r=>{let[n,o=n]=r.split("-").map(i=>Number(i.trim()));return Number.isFinite(n)&&e>=n&&e<=o}):!0}async function q(e,t,r){let n=It(),o=globalThis.__CURRENT_TEST_TITLE__||globalThis.__CURRENT_TEST_ID__||"",i=globalThis.__TESTSPECTRA_WORKER_ID__;o&&!t.test&&(t.test=o),i!==void 0&&t.workerId===void 0&&(t.workerId=i),xr={index:xr.index+1,label:`${t.key} ${ul(t.target)}`.trim()},t.step=xr.index,Ma=void 0,Sr("TESTSPECTRA_STEP_START",JSON.stringify(t));let a=Date.now(),s=()=>(Ma&&(t.resolved=Ma),JSON.stringify(t));try{let l=await r(),u=Date.now()-a;Sr("TESTSPECTRA_STEP_PASS",`${s()} (${u}ms)`),ll(`step:${t.key}`,e,u,{test:o,target:t.target});let c=n.stepDelayMs||0;return c>0&&Yb(xr.index)&&await new Promise(d=>setTimeout(d,c)),l}catch(l){let u=Date.now()-a;throw Sr("TESTSPECTRA_STEP_FAIL",`${s()} (${u}ms)`),ll(`step:${t.key}`,e,u,{test:o,target:t.target,failed:!0}),Sr("TESTSPECTRA_TEST_ERROR",l?.message||String(l)),l}}async function M(e,t,r=15){let n=t??qr(),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 cl(e,t,r){let n=()=>Pe(),o=typeof e=="string"?e:e.selector;async function i(b){return q("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await M(()=>r.isVisible(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return q("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isVisible(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return q("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await M(()=>r.isExisting(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return q("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isExisting(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return q("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await M(()=>r.isEnabled(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return q("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isEnabled(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return q("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await M(()=>n().isClickable(e,t),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return q("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await M(async()=>!await n().isClickable(e,t),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function y(b){return q("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await M(()=>r.isChecked(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be checked`)})}async function P(b){return q("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isChecked(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return q("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await M(()=>r.isFocused(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(b){return q("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isFocused(),b?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,v){return q("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S===String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${S}"`)})}async function g(b,v){return q("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getValue()!==String(b),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function w(b,v){return q("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S.includes(String(b))),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${S}"`)})}async function h(b,v){return q("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getValue()).includes(String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function E(b,v){return q("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),b instanceof RegExp?b.test(S):S===String(b)||S.trim()===String(b).trim()),v?.timeoutMs??I()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${S}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${S}"`)})}async function A(b,v){return q("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>await r.isExisting()?(S=await r.getText(),b instanceof RegExp?!b.test(S):S!==String(b)&&S.trim()!==String(b).trim()):!1,v?.timeoutMs??I()))throw b instanceof RegExp?new Error(`Expected element "${o}" text not to match ${b}`):new Error(`Expected element "${o}" not to have text "${b}"`)})}async function R(b,v){return q("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),S.includes(String(b))),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${S}"`)})}async function H(b,v){return q("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getText()).includes(String(b)),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function B(b,v){return q("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await M(()=>n().hasClass(e,b,t),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function W(b,v){return q("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await M(async()=>!await n().hasClass(e,b,t),v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,v,S){return q("assertion",{type:"assertion",key:"have.attr",target:e,args:v!==void 0?[b,v]:[b]},async()=>{let $=null;if(!await M(async()=>($=await r.getAttribute(b),v!==void 0?$===String(v):$!==null),S?.timeoutMs??I()))throw v!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${v}", but got "${$}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function O(b,v){return q("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getAttribute(b)===null,v?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function G(b,v,S){return q("assertion",{type:"assertion",key:"have.css",target:e,args:[b,v]},async()=>{let $=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),L="";if(!await M(async()=>(L=(await r.getCSSProperty(b)).value,$(L)===$(v)),S?.timeoutMs??I()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${v}", but got "${L}"`)})}async function Q(b,v,S){return q("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,v]},async()=>{let $=pe=>String(pe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await M(async()=>{let pe=await r.getCSSProperty(b);return $(pe.value)!==$(v)},S?.timeoutMs??I()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${v}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:y,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:g,shouldContainValue:w,shouldNotContainValue:h,shouldHaveText:E,shouldNotHaveText:A,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:B,shouldNotHaveClass:W,shouldHaveAttribute:K,shouldNotHaveAttribute:O,shouldHaveCss:G,shouldNotHaveCss:Q}}var dl=new Map;function pl(e,t){dl.set(e,t)}function fl(){return dl.entries()}var ml=Symbol("testspectra.elementScope");function bl(e,t){Object.defineProperty(e,ml,{value:t,enumerable:!1})}function ka(e){if(!(e===null||typeof e!="object"))return e[ml]}function vl(e,t){let r=()=>Pe(),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 a(){return await r().isDisplayed(e,t)}async function s(){return await a()}async function l(){return await r().isExisting(e,t)}async function u(){return await r().isEnabled(e,t)}async function c(){return await r().isClickable(e,t)}async function d(){return await r().isSelected(e,t)}async function m(){return await d()}async function y(){return await r().isFocused(e,t)}async function P(g){return await r().getAttribute(e,g,t)}async function C(g){return await r().getCSSProperty(e,g,t)}async function T(g){let w=g??qr();if(await M(async()=>r().isExisting(e,t),w))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(g={}){let w=g.timeout||5e3,h=Date.now();for(;Date.now()-h<w;){if(await r().isDisplayed(e,t))return!0;await new Promise(E=>setTimeout(E,20))}throw new Error(`Element ${n} not displayed after ${w}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:y,getAttribute:P,getCSSProperty:C,waitForElement:T,waitForDisplayed:f}}function yl(e){return typeof e=="string"?e:e.selector}function Oa(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function ue(e,t=null){let r=yl(e),n=typeof e=="string"?t:e.index,o=hl(e,t),i=vl(e,t),a=cl(e,t,i),s={selector:r,index:n,...o,...i,...a,get(u,c=null){return ue({selector:u,index:c,parent:Oa(e,t)},null)},getAll(u){return Te({selector:u,index:null,parent:Oa(e,t)})}};bl(s,Oa(e,t));let l=s;for(let[u,c]of fl())u in l||(l[u]=(...d)=>c.apply(s,d));return s}function Te(e){let t=()=>Pe(),r=yl(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 ue(...n(0))},last(){return ue(...n(-1))},nth(i){return ue(...n(i))},async shouldHaveLength(i,a){return q("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s===i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return q("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s!==i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return q("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s>i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return q("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s<i),a?.timeoutMs??I()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return q("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a===0),i?.timeoutMs??I()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return q("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a>0),i?.timeoutMs??I()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return ue(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function gl(e){return typeof e=="string"?e:e.selector}function hl(e,t){let r=()=>Pe();async function n(v){return q("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return q("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return q("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(v){return q("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await r().setValue(e,v,t)})}async function s(v,S){S?.clearFirst&&await l(),await a(v)}async function l(){return q("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(v){return q("action",{type:"action",key:"select",target:e,args:[v]},async()=>{await r().select(e,v,t)})}async function d(v){await c(v)}async function m(){return q("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function y(){return q("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function P(){return q("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(v){return q("action",{type:"action",key:"waitForElementRemoved",target:e,args:[v??5e3]},async()=>{if(!await M(async()=>!await r().isExisting(e,t),v??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(gl(e)))})}async function T(v){return q("action",{type:"action",key:"waitForUndisplayed",target:e,args:[v?.timeout??5e3]},async()=>{if(!await M(async()=>!await r().isDisplayed(e,t),v?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(gl(e)))})}async function f(v){return q("action",{type:"action",key:"waitForClickable",target:e,args:[v?.timeout??5e3]},async()=>await M(async()=>await r().isClickable(e,t),v?.timeout??5e3))}async function g(){return q("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function w(){let v=typeof e=="string"?e:e.selector,S=typeof e=="string"?t:e.index;return S==null?v:`${v}::nth(${S})`}function h(){return ue(w()+"::parent",null)}async function E(v){return q("action",{type:"action",key:"closest",target:e,args:[v]},async()=>await r().closest(e,v,t)?ue(`${w()}::closest(${v})`,null):null)}function A(v){return Te(`${w()}::children(${v??""})`)}function R(v){return Te(`${w()}::siblings(${v??""})`)}function H(v){return ue(`${w()}::next(${v??""})`,null)}async function B(){await m()}async function W(v){let S=typeof v=="string"?v:v?.selector||String(v);return q("action",{type:"action",key:"dragDrop",target:e,args:[S]},async()=>{await r().dragDrop(e,S,t)})}async function K(v){await W(v)}async function O(v){let S=typeof v=="number"?v:v?.duration||1e3;return q("action",{type:"action",key:"longPress",target:e,args:[S]},async()=>{await r().longPress(e,S,t)})}async function G(){return q("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function Q(v){return q("action",{type:"action",key:"upload",target:e,args:[v]},async()=>{await r().upload(e,v,t)})}async function b(v){await Q(v)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:y,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:g,parent:h,closest:E,children:A,siblings:R,next:H,moveTo:B,dragDrop:W,dragAndDrop:K,longPress:O,scrollIntoView:G,upload:Q,uploadFile:b}}var wl=["number","date","time","color","file","range"],El=e=>e.replace(/[^\p{L}\p{N}]/gu,"");function Ia(e,t,r){return t===null||r===null?!0:t===e||t!==r||El(t)===El(e)}function _l(e,t,r,n){let o=n?` (${n})`:"";return new Error(`Typed text did not reach element "${e}": expected "${t}", got "${r}"${o}`)}var Qb={Backspace:{code:"Backspace",windowsVirtualKeyCode:8},Tab:{code:"Tab",windowsVirtualKeyCode:9},Enter:{code:"Enter",windowsVirtualKeyCode:13,text:"\r"},Escape:{code:"Escape",windowsVirtualKeyCode:27},Delete:{code:"Delete",windowsVirtualKeyCode:46},ArrowLeft:{code:"ArrowLeft",windowsVirtualKeyCode:37},ArrowUp:{code:"ArrowUp",windowsVirtualKeyCode:38},ArrowRight:{code:"ArrowRight",windowsVirtualKeyCode:39},ArrowDown:{code:"ArrowDown",windowsVirtualKeyCode:40},Home:{code:"Home",windowsVirtualKeyCode:36},End:{code:"End",windowsVirtualKeyCode:35},PageUp:{code:"PageUp",windowsVirtualKeyCode:33},PageDown:{code:"PageDown",windowsVirtualKeyCode:34}};function Cl(e){if(typeof e!="string")return null;let t=Qb[e];return t?{key:e,...t}:null}function Na(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 Ar(e,t){let r=!1,n={unroute:()=>{r||(r=!0,t?.())},respondWith:async(i,a={})=>{let s=i;e.response=s&&s.body!==void 0?s.body:i,(a.statusCode||s&&(s.statusCode||s.status))&&(e.statusCode=a.statusCode||s?.statusCode||s?.status||200),(a.headers||s&&s.headers)&&(e.headers=a.headers||s?.headers),(a.delayMs!==void 0||s&&s.delayMs!==void 0)&&(e.delayMs=a.delayMs??s?.delayMs),e.aborted=!1},respondOnce:async(i,a={})=>{let s=i,l=s&&s.body!==void 0?s.body:i,u=a.statusCode||s&&(s.statusCode||s.status)||e.statusCode||200,c=a.headers||s&&s.headers||e.headers,d=a.delayMs??(s&&s.delayMs)??e.delayMs;e.respondOnceQueue.push({response:l,statusCode:u,headers:c,delayMs:d}),e.aborted=!1},abort:async(i="Failed")=>{e.aborted=!0,e.abortReason=i},waitForCall:async(i={})=>{let a=i.count??1,s=i.timeout??5e3;return e.calls.length>=a?e.calls[a-1]:new Promise((l,u)=>{let c=setTimeout(()=>{let d=e.waitResolvers.findIndex(m=>m.resolve===l);d!==-1&&e.waitResolvers.splice(d,1),u(new Error(`Spectra.intercept waitForCall timed out after ${s}ms (expected at least ${a} call(s), received ${e.calls.length})`))},s);e.waitResolvers.push({count:a,resolve:d=>{clearTimeout(c),l(d)}})})}};n.shouldHaveCallCount=(i,a={})=>q("assertion",{type:"assertion",key:"have.callCount",target:`intercept ${e.method} ${e.pattern}`,args:[i]},async()=>{if(!await M(()=>e.callCount===i,a.timeout??I())){let l=e.calls.map(u=>`${u.method} ${u.url}`).join(", ");throw new Error(`Expected intercept '${e.pattern}' (${e.method}) to have answered ${i} request(s), but it answered ${e.callCount}${l?`: ${l}`:""}`)}});let o=()=>e.callCount;return n.callCount=Object.assign(o,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(n,"calls",{get:()=>e.calls,enumerable:!0}),n}function Mr(e,t,r,n){let o,i,a,s,l,u;if(typeof e=="object"&&e!==null)o=e.url||e.pattern||"*",i=(e.method||"GET").toUpperCase(),a=e.response!==void 0?e.response:typeof t=="object"&&t!==null?t:r,s=e.statusCode||n&&n.statusCode||200,l=e.headers||n&&n.headers,u=e.delayMs??(n&&n.delayMs);else if(o=String(e||"*"),typeof t=="string"&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","ALL"].includes(t.toUpperCase())){i=t.toUpperCase();let c=r;a=c&&c.body!==void 0?c.body:r,s=n&&n.statusCode||c&&c.statusCode||200,l=n&&n.headers||c&&c.headers,u=(n&&n.delayMs)??(c&&c.delayMs)}else{i="GET";let c=t;a=c&&c.body!==void 0?c.body:t,s=r&&r.statusCode||c&&c.statusCode||200,l=r&&r.headers||c&&c.headers,u=(r&&r.delayMs)??(c&&c.delayMs)}return{pattern:o,method:i,response:a,statusCode:s,headers:l,delayMs:u,callCount:0,respondOnceQueue:[],calls:[],waitResolvers:[]}}function Nt(e,t,r){for(let n of e)if(Na(n.pattern,t)&&(!n.method||n.method==="ALL"||n.method.toUpperCase()===r.toUpperCase()))return n;return null}function Lt(e,t){e.calls.push(t),e.callCount++;for(let r=e.waitResolvers.length-1;r>=0;r--){let n=e.waitResolvers[r];e.callCount>=n.count&&(e.waitResolvers.splice(r,1),n.resolve(t))}return t}function Dt(e){if(e.respondOnceQueue.length>0){let t=e.respondOnceQueue.shift();return{body:t.response,statusCode:t.statusCode||e.statusCode||200,headers:{...e.headers,...t.headers},delayMs:t.delayMs??e.delayMs}}return{body:e.response,statusCode:e.statusCode||200,headers:{...e.headers},delayMs:e.delayMs}}var Jb={"Content-Type":"application/json; charset=utf-8","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, PUT, DELETE, PATCH, OPTIONS","Access-Control-Allow-Headers":"*"};function kr(e){let t=new Map;for(let[r,n]of Object.entries(Jb))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Bt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function Pl(e){let t=/^(.*)::nth\((-?\d+)\)$/.exec(e);if(t)return{kind:"nth",base:t[1],arg:t[2]};let r=/^(.*)::closest\((.+)\)$/.exec(e);if(r)return{kind:"closest",base:r[1],arg:r[2]};let n=/^(.*)::children\((.*)\)$/.exec(e);if(n)return{kind:"children",base:n[1],arg:n[2].trim()||null};let o=/^(.*)::children$/.exec(e);if(o)return{kind:"children",base:o[1],arg:null};let i=/^(.*)::siblings\((.*)\)$/.exec(e);if(i)return{kind:"siblings",base:i[1],arg:i[2].trim()||null};let a=/^(.*)::siblings$/.exec(e);if(a)return{kind:"siblings",base:a[1],arg:null};let s=/^(.*)::next\((.*)\)$/.exec(e);if(s)return{kind:"next",base:s[1],arg:s[2].trim()||null};let l=/^(.*)::next$/.exec(e);if(l)return{kind:"next",base:l[1],arg:null};let u=/^(.*)::parent$/.exec(e);return u?{kind:"parent",base:u[1]}:null}function La(e){let t=e.trim();if(!t.startsWith("~"))return null;let r=t.slice(1),n=r.indexOf("[");return n!==-1?{name:r.slice(0,n),chainSuffix:r.slice(n)}:{name:r,chainSuffix:""}}function Tl(e){let t=La(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function Rl(e,t,r){let o=Array.from(t.querySelectorAll("[aria-labelledby]")).filter(i=>(i.getAttribute("aria-labelledby")??"").trim().split(/\s+/).map(l=>{let u=document.getElementById(l);return u?(u.textContent??"").trim():""}).filter(Boolean).join(" ").trim()===e);return r===null?o[0]??null:r>=0?o[r]??null:o[o.length+r]??null}var Zb=new Set(["mount","unmount","registerCommand","registerCommands"]),ev=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function Sl(){let e=()=>Pe(),t={get:r=>ne(r),getAll:r=>Te(r),navigate:r=>e().navigate(r),back:()=>e().back(),forward:()=>e().forward(),refresh:()=>e().refresh(),setViewport:(r,n)=>e().setViewport(r,n),wait:r=>e().pause(r),click:async(r,n)=>{await ne(r).click()},clickAt:async(r,n)=>{await e().clickAt(r,n)},doubleClick:async r=>{await ne(r).doubleClick()},rightClick:async r=>{await ne(r).rightClick()},type:async(r,n,o)=>{await ne(r).type(n,o)},clear:async r=>{await ne(r).clear()},select:async(r,n)=>{await ne(r).select(n)},hover:async r=>{await ne(r).hover()},focus:async r=>{await ne(r).focus()},blur:async r=>{await ne(r).blur()},dragDrop:async(r,n)=>{await ne(r).dragDrop(n)},scrollIntoView:async r=>{await ne(r).scrollIntoView()},scroll:async r=>{await e().scroll(r)},swipe:async r=>{await e().swipe(r)},longPress:async(r,n)=>{await ne(r).longPress(n)},pressKey:async r=>{await e().pressKey(r)},grantPermission:async r=>{await e().grantPermission(r)},waitForElement:async(r,n)=>{await ne(r).waitForElement(n)},intercept:async(r,n,o,i)=>await e().intercept(r,n,o,i),clearMocks:()=>{e().clearMocks()},sleep:r=>new Promise(n=>setTimeout(n,r)),onConsole:r=>{let n=e();return typeof n.onConsole=="function"?n.onConsole(r):()=>{}},get browser(){return e()},get env(){return It().environmentVariables||{}}};return t.registerCommand=(r,n)=>{if(typeof n!="function")throw new Error(`[TestSpectra] Custom command "${r}" must be a function.`);if(!ev.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(Zb.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n,pl(r,n)},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function xl(){return typeof globalThis.__TESTSPECTRA_STEP_DELAY_MS__=="number"?globalThis.__TESTSPECTRA_STEP_DELAY_MS__:typeof window<"u"&&typeof window.__TESTSPECTRA_STEP_DELAY_MS__=="number"?window.__TESTSPECTRA_STEP_DELAY_MS__:0}var tv=5e3;function Or(e,t){(typeof globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean"?globalThis.__TESTSPECTRA_SEMANTIC_REPORTER__:!(typeof window<"u"&&typeof window.__TESTSPECTRA_SEMANTIC_REPORTER__=="boolean")||window.__TESTSPECTRA_SEMANTIC_REPORTER__)&&console.log(`[${e}] ${t}`)}function Da(){return tv}function rv(){return Math.min(Da(),2e3)}async function nv(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);Or("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;Or("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=xl();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw Or("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function ov(e,t,r=15){let n=t??Da(),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}}globalThis.__TESTSPECTRA_CONFIG__={rootDir:"",activePlatform:"web",configuredBaseUrl:"",cdpWsUrl:"",driverServerUrl:"",stepDelayMs:xl()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:Or,trackStep:nv,pollCondition:ov,getImplicitWaitMs:Da,getAssertionTimeoutMs:rv,matchesUrlPattern:Na,createMockHandle:Ar,parseMockRule:Mr,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Dt,mergeMockResponseHeaders:kr,mockResponseBodyText:Bt,createElementProxy:ue,createCollectionProxy:Te,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var ql=new Set;async function Al(e,t=[],r,n={platform:"web"}){for(let o of t)if(!ql.has(o))try{let i=await r(o),a=i?.default??i?.plugin??i;typeof a=="function"?await a(e,n):a&&typeof a.setup=="function"?await a.setup(e,n):console.error(`[TestSpectra] Plugin "${o}" has no default export function or setup() method \u2014 skipping.`),ql.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function iv(){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 Ml=new Map;async function Ir(e){let t=Ml.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 Ml.set(e,r),r}async function Ba(e){let t=e??iv();if(!t)return;let r=t.pageObjects??t.page_objects??[];for(let l of r){let u=l.path??l.file_path;if(u){let c=await Ir(u);globalThis[l.name]=c.default??c}}let n={},o=t.fixtures??[];for(let l of o){let u=l.path??l.file_path;if(u){let c=u.split("/").pop()?.split("\\").pop()||`${l.name}.bin`;try{let d=await Ir(u),m=d?.default!==void 0?d.default:d??u;typeof m=="string"&&m.startsWith("data:")&&!m.includes("name=")&&(m=m.replace(/^data:([^;,]+)/,y=>`${y};name=${encodeURIComponent(c)}`)),n[l.name]=m}catch{n[l.name]=u}}}globalThis.Fixture=n;let i={},a=t.steps??[];for(let l of a){let u=l.path??l.file_path;if(u){let c=await Ir(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=av();if(s.length>0&&globalThis.Spectra){let l=globalThis.__TS_RUNTIME__;await Al(globalThis.Spectra,s,Ir,{platform:"web",config:{baseUrl:"",implicitWaitMs:typeof l?.getImplicitWaitMs=="function"?l.getImplicitWaitMs():void 0,env:{}}})}}function av(){let e=globalThis,t;try{t=e.__TESTSPECTRA_PLUGINS__}catch{}if(!t&&typeof window<"u"&&(t=window.__TESTSPECTRA_PLUGINS__),!t)return[];if(Array.isArray(t))return t.filter(r=>typeof r=="string");if(typeof t=="string")try{let r=JSON.parse(t);return Array.isArray(r)?r.filter(n=>typeof n=="string"):[]}catch{return[]}return[]}globalThis.__bootstrapAutoImports=Ba;function x(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 V(e){var t;if(sv(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 ${lv(e)}`)}function sv(e){return e.nodeType===9}function lv(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Fa(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 Ft(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 Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ut=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Ne(this,"kind",void 0),Ne(this,"type",void 0),Ne(this,"file",null),Ne(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 kl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var $a=class extends Array{add(...t){let r=typeof t[0]=="string"?new Ut(t[0],kl(t[1])):new Ut(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Ua(e){let t=kl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Nr(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 uv(e){return new class{getData(r){var n;let o=Ua(r),i=(n=this.items.find(Nr(o,!0)))!==null&&n!==void 0?n:this.items.find(Nr(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Ua(r),i=this.items.findIndex(Nr(o,!0)),a=new Ut(n,o);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=Ua(r),o=this.items.findIndex(Nr(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(){Ne(this,"dropEffect","none"),Ne(this,"effectAllowed","uninitialized"),Ne(this,"items",new $a),Ne(this,"files",Ft(e,[]))}}}function vt(e,t=[]){let r=typeof e.DataTransfer>"u"?uv(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(e,t)}),r}async function Ol(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function Nl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(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){Nl(this,"data",void 0),this.data=o}}(r)}var yt=Symbol("Manage ClipboardSub");function Il(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(a=>a.startsWith("text/"));i&&(n+=await o.getType(i).then(a=>Fa(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[Ll(e,n)]}constructor(...n){super(...n),Nl(this,"items",[])}},{[yt]:t})}function ja(e){return!!e?.[yt]}function Dl(e){if(ja(e.navigator.clipboard))return e.navigator.clipboard[yt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Il(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Il(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[yt]}function cv(e){ja(e.navigator.clipboard)&&e.navigator.clipboard[yt].resetClipboardStub()}function dv(e){ja(e.navigator.clipboard)&&e.navigator.clipboard[yt].detachClipboardStub()}async function Bl(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=vt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Fa(s,t.FileReader)));return o}async function Dr(e,t){let r=V(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],l=await Ol(r,s);o.push(Ll(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Lr=globalThis;typeof Lr.afterEach=="function"&&Lr.afterEach(()=>{typeof globalThis.window<"u"&&cv(globalThis.window)});typeof Lr.afterAll=="function"&&Lr.afterAll(()=>{typeof globalThis.window<"u"&&dv(globalThis.window)});var Br=["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 $t(e){return e.matches(Br)}function Fl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(x(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(x(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 Le(e){let t=e.activeElement;if(t?.shadowRoot){let r=Le(t.shadowRoot);if(r)return r}else if(t&&x(t,"iframe")){let r=t.contentDocument;if(r)return Le(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ht(e){var t;return(t=Le(e))!==null&&t!==void 0?t:e.body}function Ul(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ce(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function De(e){let t=pv(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function pv(e){return e.nodeType===1?e:e.parentElement}var $l=(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})($l||{});function Fr(e){return x(e,"button")||x(e,"input")&&e.type in $l}function ve(e){return Ha(e)&&!e.readOnly||ce(e)}var jl=(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})(jl||{});function Ha(e){return x(e,"textarea")||x(e,"input")&&e.type in jl}function X(e){return Vl(e)&&Ha(e)}function Hl(e){return Vl(e)&&Fr(e)}function Vl(e){return e.nodeType===1}function Wl(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=De(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 Ur(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 na=qa(nc());var Ky=Object.prototype.toString;function oc(e){return typeof e=="function"||Ky.call(e)==="[object Function]"}function Gy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Xy=Math.pow(2,53)-1;function Yy(e){var t=Gy(e);return Math.min(Math.max(t,0),Xy)}function de(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"&&!oc(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Yy(n.length),i=oc(r)?Object(new r(o)):new Array(o),a=0,s;a<o;)s=n[a],t?i[a]=t(s,a):i[a]=s,a+=1;return i.length=o,i}function tr(e){"@babel/helpers - typeof";return tr=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},tr(e)}function Qy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(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,ac(n.key),n)}}function Jy(e,t,r){return t&&ic(e.prototype,t),r&&ic(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Zy(e,t,r){return t=ac(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ac(e){var t=eh(e,"string");return tr(t)==="symbol"?t:String(t)}function eh(e,t){if(tr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(tr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var th=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Qy(this,e),Zy(this,"items",void 0),this.items=t}return Jy(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})(),sc=typeof Set>"u"?Set:th;function Y(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var rh={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"},nh={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 oh(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=nh[t])!==null&&n!==void 0&&n.has(r))})}function lc(e,t){return oh(e,t)}function Qr(e){var t=ah(e);if(t===null||t==="presentation"){var r=ih(e);if(t!=="presentation"||lc(e,r||""))return r}return t}function ih(e){var t=rh[Y(e)];if(t!==void 0)return t;switch(Y(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!lc(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 ah(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function j(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Za(e){return j(e)&&Y(e)==="caption"}function rr(e){return j(e)&&Y(e)==="input"}function uc(e){return j(e)&&Y(e)==="optgroup"}function cc(e){return j(e)&&Y(e)==="select"}function dc(e){return j(e)&&Y(e)==="table"}function pc(e){return j(e)&&Y(e)==="textarea"}function fc(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function mc(e){return j(e)&&Y(e)==="fieldset"}function bc(e){return j(e)&&Y(e)==="legend"}function vc(e){return j(e)&&Y(e)==="slot"}function sh(e){return j(e)&&e.ownerSVGElement!==void 0}function yc(e){return j(e)&&Y(e)==="svg"}function hc(e){return sh(e)&&Y(e)==="title"}function _t(e,t){if(j(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 ge(e,t){return j(e)?t.indexOf(Qr(e))!==-1:!1}function lh(e){return e.trim().replace(/\s\s+/g," ")}function uh(e,t){if(!j(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 ch(e){return ge(e,["button","combobox","listbox","textbox"])||wc(e,"range")}function wc(e,t){if(!j(e))return!1;if(t==="range")return ge(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function gc(e,t){var r=de(e.querySelectorAll(t));return _t(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function dh(e){return cc(e)?e.selectedOptions||gc(e,"[selected]"):gc(e,'[aria-selected="true"]')}function ph(e){return ge(e,["none","presentation"])}function fh(e){return Za(e)}function mh(e){return ge(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function bh(e){return!1}function vh(e){return rr(e)||pc(e)?e.value:e.textContent||""}function Ec(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function _c(e){var t=Y(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Cc(e){if(_c(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&j(r)){var n=Cc(r);n!==null&&(t=n)}}),t}function yh(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Cc(e)}function hh(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!_c(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return yh(n)===e})}function gh(e){var t=e.assignedNodes();return t.length===0?de(e.childNodes):t}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new sc,n=fc(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function m(f,g){var w="";if(j(f)&&s){var h=u(f,"::before"),E=Ec(h);w="".concat(E," ").concat(w)}var A=vc(f)?gh(f):de(f.childNodes).concat(_t(f,"aria-owns"));if(A.forEach(function(B){var W=T(B,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=j(B)?u(B).getPropertyValue("display"):"inline",O=K!=="inline"?" ":"";w+="".concat(O).concat(W).concat(O)}),j(f)&&s){var R=u(f,"::after"),H=Ec(R);w="".concat(w," ").concat(H)}return w.trim()}function y(f,g){var w=f.getAttributeNode(g);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function P(f){return j(f)?y(f,"title"):null}function C(f){if(!j(f))return null;if(mc(f)){r.add(f);for(var g=de(f.childNodes),w=0;w<g.length;w+=1){var h=g[w];if(bc(h))return T(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(dc(f)){r.add(f);for(var E=de(f.childNodes),A=0;A<E.length;A+=1){var R=E[A];if(Za(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(yc(f)){r.add(f);for(var H=de(f.childNodes),B=0;B<H.length;B+=1){var W=H[B];if(hc(W))return W.textContent}return null}else if(Y(f)==="img"||Y(f)==="area"){var K=y(f,"alt");if(K!==null)return K}else if(uc(f)){var O=y(f,"label");if(O!==null)return O}if(rr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var G=y(f,"value");if(G!==null)return G;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var Q=hh(f);if(Q!==null&&Q.length!==0)return r.add(f),de(Q).map(function($){return T($,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function($){return $.length>0}).join(" ");if(rr(f)&&f.type==="image"){var b=y(f,"alt");if(b!==null)return b;var v=y(f,"title");return v!==null?v:"Submit Query"}if(ge(f,["button"])){var S=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(S!=="")return S}return null}function T(f,g){if(r.has(f))return"";if(!d&&uh(f,u)&&!g.isReferenced)return r.add(f),"";var w=j(f)?f.getAttributeNode("aria-labelledby"):null,h=w!==null&&!r.has(w)?_t(f,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&h.length>0)return r.add(w),h.map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&ch(f)&&i==="name";if(!E){var A=(j(f)&&f.getAttribute("aria-label")||"").trim();if(A!==""&&i==="name")return r.add(f),A;if(!ph(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=dh(f);return H.length===0?rr(f)?f.value:"":de(H).map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(wc(f,"range"))return r.add(f),f.hasAttribute("aria-valuetext")?f.getAttribute("aria-valuetext"):f.hasAttribute("aria-valuenow")?f.getAttribute("aria-valuenow"):f.getAttribute("value")||"";if(ge(f,["textbox"]))return r.add(f),vh(f)}if(mh(f)||j(f)&&g.isReferenced||fh(f)||bh(f)){var B=m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(B!=="")return r.add(f),B}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(g.recursion)return r.add(f),m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var W=P(f);return W!==null?(r.add(f),W):(r.add(f),"")}return lh(T(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function nr(e){"@babel/helpers - typeof";return nr=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},nr(e)}function Pc(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 Tc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Pc(Object(r),!0).forEach(function(n){Eh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Eh(e,t,r){return t=wh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wh(e){var t=_h(e,"string");return nr(t)==="symbol"?t:String(t)}function _h(e,t){if(nr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(nr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Zr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=_t(e,"aria-describedby").map(function(o){return Jr(o,Tc(Tc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Ch(e){return ge(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function or(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ch(e)?"":Jr(e,t)}var oe=qa(Mf()),Ff=qa(kf());function Uf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var lS=(e,t,r,n,o,i,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let c=t[u],d=a(c,r,s,o,i);return typeof c!="string"&&(d.indexOf(`
16
16
  `)!==-1&&(d=r.spacingOuter+s+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},uS=3,cS=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?$f(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==uS?"":t.spacingOuter+r+s}).join(""),$f=(e,t)=>{let r=t.colors.content;return r.open+Uf(e)+r.close},dS=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Uf(e)+"-->"+r.close},pS=(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},fS=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},mS=1,jf=3,Hf=8,Vf=11,bS=/^((HTML|SVG)\w*)?Element$/,Wf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},vS=e=>{let t=e.constructor.name,r=e.nodeType;return r===mS&&(bS.test(t)||Wf(e))||r===jf&&t==="Text"||r===Hf&&t==="Comment"||r===Vf&&t==="DocumentFragment"};function yS(e){return e.nodeType===jf}function hS(e){return e.nodeType===Hf}function ws(e){return e.nodeType===Vf}function gS(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Wf(t))&&vS(t)},serialize:(t,r,n,o,i,a)=>{if(yS(t))return $f(t.data,r);if(hS(t))return dS(t.data,r);let s=ws(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?fS(s,r):pS(s,lS(ws(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),ws(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),cS(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var zf=null,Is=null,Ns=null;try{let e=module&&module.require;Is=e.call(module,"fs").readFileSync,Ns=e.call(module,"@babel/code-frame").codeFrameColumns,zf=e.call(module,"picocolors")}catch{}function ES(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)],a=i[0],s=i[1],l=i[2],u="";try{u=Is(a,"utf-8")}catch{return""}let c=Ns(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return zf.dim(n)+`
17
17
  `+c+`
18
18
  `}function wS(){if(!Is||!Ns)return"";let t=new Error().stack.split(`
19
- `).slice(1).find(r=>!r.includes("node_modules/"));return ES(t)}var Kf=3;function _s(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ls(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Gf(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 qe(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 _S=["filterNode"],CS=()=>{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},PS=na.plugins.DOMCollection,TS=1,RS=8;function SS(e){return e.nodeType!==RS&&(e.nodeType!==TS||!e.matches(I().defaultIgnore))}function Ji(e,t,r){if(r===void 0&&(r={}),e||(e=Ls().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,a=i===void 0?SS:i,s=Ur(o,_S),l=na.format(e,{plugins:[gS(a),PS],printFunctionName:!1,highlight:CS(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var Of=function(){let e=wS();console.log(e?Ji(...arguments)+`
19
+ `).slice(1).find(r=>!r.includes("node_modules/"));return ES(t)}var Kf=3;function _s(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ls(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Gf(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 qe(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 _S=["filterNode"],CS=()=>{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},PS=na.plugins.DOMCollection,TS=1,RS=8;function SS(e){return e.nodeType!==RS&&(e.nodeType!==TS||!e.matches(N().defaultIgnore))}function Ji(e,t,r){if(r===void 0&&(r={}),e||(e=Ls().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,a=i===void 0?SS:i,s=Ur(o,_S),l=na.format(e,{plugins:[gS(a),PS],printFunctionName:!1,highlight:CS(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var Of=function(){let e=wS();console.log(e?Ji(...arguments)+`
20
20
 
21
21
  `+e:Ji(...arguments))},Zi={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=Ji(t),n=new Error([e,"Ignored nodes: comments, "+Zi.defaultIgnore+`
22
22
  `+r].filter(Boolean).join(`
23
23
 
24
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function xS(e){try{return Zi._disableExpensiveErrorDiagnostics=!0,e()}finally{Zi._disableExpensiveErrorDiagnostics=!1}}function I(){return Zi}var qS=["button","meter","output","progress","select","textarea","input"];function Xf(e){return qS.includes(e.nodeName.toLowerCase())?"":e.nodeType===Kf?e.textContent:Array.from(e.childNodes).map(t=>Xf(t)).join("")}function Ps(e){let t;return e.tagName.toLowerCase()==="label"?t=Xf(e):t=e.value||e.textContent,t}function Qf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!AS(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function AS(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Yf(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=t.getAttribute("aria-labelledby"),s=a?a.split(" "):[];return s.length?s.map(l=>{let u=e.querySelector('[id="'+l+'"]');return u?{content:Ps(u),formControl:null}:{content:"",formControl:null}}):Array.from(Qf(t)).map(l=>{let u=Ps(l),d=Array.from(l.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(m=>m.matches(i))[0];return{content:u,formControl:d}})}function Jf(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 St(e,t,r,n){if(typeof e!="string")return!1;Jf(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):em(r,o)}function xe(e,t,r,n){if(typeof e!="string")return!1;Jf(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?em(r,o):o===String(r)}function Zf(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 a=>{let s=a;return s=n?s.trim():s,s=i?s.replace(/\s+/g," "):s,s}}function ot(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return Zf({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 em(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 oa(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Kf&&!!t.textContent).map(t=>t.textContent).join("")}var MS=kS(oe.elementRoles);function tm(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ds(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?tm:n;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(o(a))return!0;a=a.parentElement}return!1}function Bs(e){for(let t of MS){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function kS(e){function t(a){let s=a.name,l=a.attributes;return""+s+l.map(u=>{let c=u.name,d=u.value,m=u.constraints,y=m===void 0?[]:m,P=y.indexOf("undefined")!==-1,C=y.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':P?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function OS(e,t){let r=t===void 0?{}:t,n=r.hidden,o=n===void 0?!1:n;function i(a){return[a,...Array.from(a.children).reduce((s,l)=>[...s,...i(l)],[])]}return i(e).filter(a=>o===!1?Ds(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=Bs(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function IS(e,t){let r=t.hidden,n=t.includeDescription,o=OS(e,{hidden:r});return Object.entries(o).filter(i=>i[0]!=="generic").map(i=>{let a=i[0],s=i[1],l="-".repeat(50),u=s.map(c=>{let d='Name "'+or(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
25
- `,m=Ji(c.cloneNode(!1));if(n){let y='Description "'+Zr(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
24
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function xS(e){try{return Zi._disableExpensiveErrorDiagnostics=!0,e()}finally{Zi._disableExpensiveErrorDiagnostics=!1}}function N(){return Zi}var qS=["button","meter","output","progress","select","textarea","input"];function Xf(e){return qS.includes(e.nodeName.toLowerCase())?"":e.nodeType===Kf?e.textContent:Array.from(e.childNodes).map(t=>Xf(t)).join("")}function Ps(e){let t;return e.tagName.toLowerCase()==="label"?t=Xf(e):t=e.value||e.textContent,t}function Yf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!AS(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function AS(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Qf(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=t.getAttribute("aria-labelledby"),s=a?a.split(" "):[];return s.length?s.map(l=>{let u=e.querySelector('[id="'+l+'"]');return u?{content:Ps(u),formControl:null}:{content:"",formControl:null}}):Array.from(Yf(t)).map(l=>{let u=Ps(l),d=Array.from(l.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(m=>m.matches(i))[0];return{content:u,formControl:d}})}function Jf(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 St(e,t,r,n){if(typeof e!="string")return!1;Jf(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):em(r,o)}function xe(e,t,r,n){if(typeof e!="string")return!1;Jf(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?em(r,o):o===String(r)}function Zf(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 a=>{let s=a;return s=n?s.trim():s,s=i?s.replace(/\s+/g," "):s,s}}function ot(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return Zf({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 em(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 oa(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Kf&&!!t.textContent).map(t=>t.textContent).join("")}var MS=kS(oe.elementRoles);function tm(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ds(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?tm:n;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let a=e;for(;a;){if(o(a))return!0;a=a.parentElement}return!1}function Bs(e){for(let t of MS){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function kS(e){function t(a){let s=a.name,l=a.attributes;return""+s+l.map(u=>{let c=u.name,d=u.value,m=u.constraints,y=m===void 0?[]:m,P=y.indexOf("undefined")!==-1,C=y.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':P?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function OS(e,t){let r=t===void 0?{}:t,n=r.hidden,o=n===void 0?!1:n;function i(a){return[a,...Array.from(a.children).reduce((s,l)=>[...s,...i(l)],[])]}return i(e).filter(a=>o===!1?Ds(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=Bs(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function IS(e,t){let r=t.hidden,n=t.includeDescription,o=OS(e,{hidden:r});return Object.entries(o).filter(i=>i[0]!=="generic").map(i=>{let a=i[0],s=i[1],l="-".repeat(50),u=s.map(c=>{let d='Name "'+or(c,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})+`":
25
+ `,m=Ji(c.cloneNode(!1));if(n){let y='Description "'+Zr(c,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})+`":
26
26
  `;return""+d+y+m}return""+d+m}).join(`
27
27
 
28
28
  `);return a+`:
@@ -32,17 +32,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
32
32
  `+l}).join(`
33
33
  `)}function NS(e){return e.tagName==="OPTION"?e.selected:ur(e,"aria-selected")}function LS(e){return e.getAttribute("aria-busy")==="true"}function DS(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ur(e,"aria-checked")}function BS(e){return ur(e,"aria-pressed")}function FS(e){var t,r;return(t=(r=ur(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function US(e){return ur(e,"aria-expanded")}function ur(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function $S(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 jS(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function HS(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function VS(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function WS(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var If=Zf();function zS(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Nf(e){return new RegExp(zS(e.toLowerCase()),"i")}function Xe(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:Nf(r)];i&&(s.name=Nf(i)),e==="Role"&&Ds(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
34
34
  If you are using the aria-hidden prop, make sure this is the right choice for your case.
35
- `),Object.keys(s).length>0&&l.push(s);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:a,toString(){a&&console.warn(a);let c=l[0],d=l[1];return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(m=>{let y=m[0],P=m[1];return y+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function Qe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Ts(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(I().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Bs(e))==null?void 0:o[0];if(i!=="generic"&&Qe("Role",r,i))return Xe("Role",e,i,{variant:t,name:or(e,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})});let a=Yf(document,e).map(m=>m.content).join(" ");if(Qe("LabelText",r,a))return Xe("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Qe("PlaceholderText",r,s))return Xe("PlaceholderText",e,s,{variant:t});let l=If(oa(e));if(Qe("Text",r,l))return Xe("Text",e,l,{variant:t});if(Qe("DisplayValue",r,e.value))return Xe("DisplayValue",e,If(e.value),{variant:t});let u=e.getAttribute("alt");if(Qe("AltText",r,u))return Xe("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(Qe("Title",r,c))return Xe("Title",e,c,{variant:t});let d=e.getAttribute(I().testIdAttribute);if(Qe("TestId",r,d))return Xe("TestId",e,d,{variant:t})}function Yi(e,t){e.stack=t.stack.replace(t.message,e.message)}function KS(e,t){let r=t.container,n=r===void 0?Ls():r,o=t.timeout,i=o===void 0?I().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?I().showOriginalStackTrace:a,l=t.stackTraceError,u=t.interval,c=u===void 0?50:u,d=t.onTimeout,m=d===void 0?C=>(Object.defineProperty(C,"message",{value:I().getElementError(C.message,n).message}),C):d,y=t.mutationObserverOptions,P=y===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:y;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,g,w,h=!1,E="idle",q=setTimeout(K,i),R=_s();if(R){let O=I(),G=O.unstable_advanceTimersWrapper;for(W();!h;){if(!_s()){let Y=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");s||Yi(Y,l),T(Y);return}if(await G(async()=>{jest.advanceTimersByTime(c)}),h)break;W()}}else{try{qe(n)}catch(Y){T(Y);return}g=setInterval(B,c);let O=Gf(n),G=O.MutationObserver;w=new G(B),w.observe(n,P),W()}function H(O,G){h=!0,clearTimeout(q),R||(clearInterval(g),w.disconnect()),O?T(O):C(G)}function B(){if(_s()){let O=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 s||Yi(O,l),T(O)}else return W()}function W(){if(E!=="pending")try{let O=xS(e);typeof O?.then=="function"?(E="pending",O.then(G=>{E="resolved",H(null,G)},G=>{E="rejected",f=G})):H(null,O)}catch(O){f=O}}function K(){let O;f?(O=f,!s&&O.name==="TestingLibraryElementError"&&Yi(O,l)):(O=new Error("Timed out in waitFor."),s||Yi(O,l)),H(m(O),null)}})}function GS(e,t){let r=new Error("STACK_TRACE_MESSAGE");return I().asyncWrapper(()=>KS(e,{stackTraceError:r,...t}))}function rm(e,t){return I().getElementError(e,t)}function XS(e,t){return rm(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function ia(e,t,r,n){let o=n===void 0?{}:n,i=o.exact,a=i===void 0?!0:i,s=o.collapseWhitespace,l=o.trim,u=o.normalizer,c=a?xe:St,d=ot({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function ea(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 a=e(r,...o);if(a.length>1){let s=a.map(l=>rm(null,l).message).join(`
35
+ `),Object.keys(s).length>0&&l.push(s);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:a,toString(){a&&console.warn(a);let c=l[0],d=l[1];return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(m=>{let y=m[0],P=m[1];return y+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function Ye(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Ts(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(N().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=Bs(e))==null?void 0:o[0];if(i!=="generic"&&Ye("Role",r,i))return Xe("Role",e,i,{variant:t,name:or(e,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements})});let a=Qf(document,e).map(m=>m.content).join(" ");if(Ye("LabelText",r,a))return Xe("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Ye("PlaceholderText",r,s))return Xe("PlaceholderText",e,s,{variant:t});let l=If(oa(e));if(Ye("Text",r,l))return Xe("Text",e,l,{variant:t});if(Ye("DisplayValue",r,e.value))return Xe("DisplayValue",e,If(e.value),{variant:t});let u=e.getAttribute("alt");if(Ye("AltText",r,u))return Xe("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(Ye("Title",r,c))return Xe("Title",e,c,{variant:t});let d=e.getAttribute(N().testIdAttribute);if(Ye("TestId",r,d))return Xe("TestId",e,d,{variant:t})}function Qi(e,t){e.stack=t.stack.replace(t.message,e.message)}function KS(e,t){let r=t.container,n=r===void 0?Ls():r,o=t.timeout,i=o===void 0?N().asyncUtilTimeout:o,a=t.showOriginalStackTrace,s=a===void 0?N().showOriginalStackTrace:a,l=t.stackTraceError,u=t.interval,c=u===void 0?50:u,d=t.onTimeout,m=d===void 0?C=>(Object.defineProperty(C,"message",{value:N().getElementError(C.message,n).message}),C):d,y=t.mutationObserverOptions,P=y===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:y;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,g,w,h=!1,E="idle",A=setTimeout(K,i),R=_s();if(R){let O=N(),G=O.unstable_advanceTimersWrapper;for(W();!h;){if(!_s()){let Q=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");s||Qi(Q,l),T(Q);return}if(await G(async()=>{jest.advanceTimersByTime(c)}),h)break;W()}}else{try{qe(n)}catch(Q){T(Q);return}g=setInterval(B,c);let O=Gf(n),G=O.MutationObserver;w=new G(B),w.observe(n,P),W()}function H(O,G){h=!0,clearTimeout(A),R||(clearInterval(g),w.disconnect()),O?T(O):C(G)}function B(){if(_s()){let O=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 s||Qi(O,l),T(O)}else return W()}function W(){if(E!=="pending")try{let O=xS(e);typeof O?.then=="function"?(E="pending",O.then(G=>{E="resolved",H(null,G)},G=>{E="rejected",f=G})):H(null,O)}catch(O){f=O}}function K(){let O;f?(O=f,!s&&O.name==="TestingLibraryElementError"&&Qi(O,l)):(O=new Error("Timed out in waitFor."),s||Qi(O,l)),H(m(O),null)}})}function GS(e,t){let r=new Error("STACK_TRACE_MESSAGE");return N().asyncWrapper(()=>KS(e,{stackTraceError:r,...t}))}function rm(e,t){return N().getElementError(e,t)}function XS(e,t){return rm(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function ia(e,t,r,n){let o=n===void 0?{}:n,i=o.exact,a=i===void 0?!0:i,s=o.collapseWhitespace,l=o.trim,u=o.normalizer,c=a?xe:St,d=ot({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function ea(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 a=e(r,...o);if(a.length>1){let s=a.map(l=>rm(null,l).message).join(`
36
36
 
37
37
  `);throw XS(t(r,...o)+`
38
38
 
39
39
  Here are the matching elements:
40
40
 
41
- `+s,r)}return a[0]||null}}function nm(e,t){return I().getElementError(`A better query is available, try this:
41
+ `+s,r)}return a[0]||null}}function nm(e,t){return N().getElementError(`A better query is available, try this:
42
42
  `+e.toString()+`
43
- `,t)}function QS(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 a=e(r,...o);if(!a.length)throw I().getElementError(t(r,...o),r);return a}}function ta(e){return(t,r,n,o)=>GS(()=>e(t,r,n),{container:t,...o})}var Rt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?I().throwSuggestions:d;if(s&&m){let y=Ts(s,r);if(y&&!t.endsWith(y.queryName))throw nm(y.toString(),n)}return s},be=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?I().throwSuggestions:d;if(s.length&&m){let y=[...new Set(s.map(P=>{var C;return(C=Ts(P,r))==null?void 0:C.toString()}))];if(y.length===1&&!t.endsWith(Ts(s[0],r).queryName))throw nm(y[0],n)}return s};function it(e,t,r){let n=Rt(ea(e,t),e.name,"query"),o=QS(e,r),i=ea(o,t),a=Rt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ta(be(o,e.name,"findAll")),u=ta(Rt(i,e.name,"find"));return[n,s,a,l,u]}function YS(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ps(t)})).filter(t=>t.textToMatch!==null)}var JS=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,l=n.normalizer,u=i?xe:St,c=ot({collapseWhitespace:s,trim:a,normalizer:l});return YS(e).filter(m=>{let y=m.node,P=m.textToMatch;return u(P,y,t,c)}).map(m=>m.node)},lr=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.normalizer;qe(e);let d=s?xe:St,m=ot({collapseWhitespace:l,trim:u,normalizer:c}),y=Array.from(e.querySelectorAll("*")).filter(P=>Qf(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=Yf(e,C,{selector:i});T.filter(g=>!!g.formControl).forEach(g=>{d(g.content,g.formControl,t,m)&&g.formControl&&P.push(g.formControl)});let f=T.filter(g=>!!g.content).map(g=>g.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((g,w)=>{d(g,C,t,m)&&P.push(C);let h=[...f];h.splice(w,1),h.length>1&&d(h.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(ia("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(y)).filter(P=>P.matches(i))},nt=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=lr(e,t,...n);if(!i.length){let a=JS(e,t,...n);if(a.length){let s=a.map(l=>ZS(e,l)).filter(l=>!!l);throw s.length?I().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
43
+ `,t)}function YS(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 a=e(r,...o);if(!a.length)throw N().getElementError(t(r,...o),r);return a}}function ta(e){return(t,r,n,o)=>GS(()=>e(t,r,n),{container:t,...o})}var Rt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?N().throwSuggestions:d;if(s&&m){let y=Ts(s,r);if(y&&!t.endsWith(y.queryName))throw nm(y.toString(),n)}return s},be=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?N().throwSuggestions:d;if(s.length&&m){let y=[...new Set(s.map(P=>{var C;return(C=Ts(P,r))==null?void 0:C.toString()}))];if(y.length===1&&!t.endsWith(Ts(s[0],r).queryName))throw nm(y[0],n)}return s};function it(e,t,r){let n=Rt(ea(e,t),e.name,"query"),o=YS(e,r),i=ea(o,t),a=Rt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ta(be(o,e.name,"findAll")),u=ta(Rt(i,e.name,"find"));return[n,s,a,l,u]}function QS(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ps(t)})).filter(t=>t.textToMatch!==null)}var JS=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,l=n.normalizer,u=i?xe:St,c=ot({collapseWhitespace:s,trim:a,normalizer:l});return QS(e).filter(m=>{let y=m.node,P=m.textToMatch;return u(P,y,t,c)}).map(m=>m.node)},lr=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.normalizer;qe(e);let d=s?xe:St,m=ot({collapseWhitespace:l,trim:u,normalizer:c}),y=Array.from(e.querySelectorAll("*")).filter(P=>Yf(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=Qf(e,C,{selector:i});T.filter(g=>!!g.formControl).forEach(g=>{d(g.content,g.formControl,t,m)&&g.formControl&&P.push(g.formControl)});let f=T.filter(g=>!!g.content).map(g=>g.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((g,w)=>{d(g,C,t,m)&&P.push(C);let h=[...f];h.splice(w,1),h.length>1&&d(h.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(ia("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(y)).filter(P=>P.matches(i))},nt=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=lr(e,t,...n);if(!i.length){let a=JS(e,t,...n);if(a.length){let s=a.map(l=>ZS(e,l)).filter(l=>!!l);throw s.length?N().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
44
44
 
45
- `),e):I().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 I().getElementError("Unable to find a label with the text of: "+t,e)}return i};function ZS(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var om=(e,t)=>"Found multiple elements with the text of: "+t,e0=Rt(ea(lr,om),lr.name,"query"),im=ea(nt,om),t0=ta(be(nt,nt.name,"findAll")),r0=ta(Rt(im,nt.name,"find")),n0=be(nt,nt.name,"getAll"),o0=Rt(im,nt.name,"get"),i0=be(lr,lr.name,"queryAll"),Rs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qe(t[0]),ia("placeholder",...t)},a0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,s0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,l0=be(Rs,Rs.name,"queryAll"),cr=it(Rs,a0,s0),u0=cr[0],c0=cr[1],d0=cr[2],p0=cr[3],f0=cr[4],Ss=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.ignore,d=c===void 0?I().defaultIgnore:c,m=n.normalizer;qe(e);let y=s?xe:St,P=ot({collapseWhitespace:l,trim:u,normalizer:m}),C=[];return typeof e.matches=="function"&&e.matches(i)&&(C=[e]),[...C,...Array.from(e.querySelectorAll(i))].filter(T=>!d||!T.matches(d)).filter(T=>y(oa(T),T,t,P))},m0=(e,t)=>"Found multiple elements with the text: "+t,b0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=ot({collapseWhitespace:o,trim:i,normalizer:a})(t.toString()),c=u!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?u+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},v0=be(Ss,Ss.name,"queryAll"),dr=it(Ss,m0,b0),y0=dr[0],h0=dr[1],g0=dr[2],E0=dr[3],w0=dr[4],xs=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;qe(e);let u=i?xe:St,c=ot({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(y=>y.selected).some(y=>u(oa(y),y,t,c)):u(d.value,d,t,c))},_0=(e,t)=>"Found multiple elements with the display value: "+t+".",C0=(e,t)=>"Unable to find an element with the display value: "+t+".",P0=be(xs,xs.name,"queryAll"),pr=it(xs,_0,C0),T0=pr[0],R0=pr[1],S0=pr[2],x0=pr[3],q0=pr[4],A0=/^(img|input|area|.+-.+)$/i,qs=function(e,t,r){return r===void 0&&(r={}),qe(e),ia("alt",e,t,r).filter(n=>A0.test(n.tagName))},M0=(e,t)=>"Found multiple elements with the alt text: "+t,k0=(e,t)=>"Unable to find an element with the alt text: "+t,O0=be(qs,qs.name,"queryAll"),fr=it(qs,M0,k0),I0=fr[0],N0=fr[1],L0=fr[2],D0=fr[3],B0=fr[4],F0=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},As=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;qe(e);let u=i?xe:St,c=ot({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||F0(d)&&u(oa(d),d,t,c))},U0=(e,t)=>"Found multiple elements with the title: "+t+".",$0=(e,t)=>"Unable to find an element with the title: "+t+".",j0=be(As,As.name,"queryAll"),mr=it(As,U0,$0),H0=mr[0],V0=mr[1],W0=mr[2],z0=mr[3],K0=mr[4],Ms=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?I().defaultHidden:o,a=n.name,s=n.description,l=n.queryFallbacks,u=l===void 0?!1:l,c=n.selected,d=n.busy,m=n.checked,y=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,g=f===void 0?{}:f,w=g.now,h=g.min,E=g.max,q=g.text;if(qe(e),c!==void 0){var R;if(((R=oe.roles.get(t))==null?void 0:R.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var H;if(((H=oe.roles.get(t))==null?void 0:H.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(m!==void 0){var B;if(((B=oe.roles.get(t))==null?void 0:B.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(y!==void 0){var W;if(((W=oe.roles.get(t))==null?void 0:W.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(P!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(w!==void 0){var O;if(((O=oe.roles.get(t))==null?void 0:O.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var G;if(((G=oe.roles.get(t))==null?void 0:G.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var Y;if(((Y=oe.roles.get(t))==null?void 0:Y.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(q!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var v;if(((v=oe.roles.get(t))==null?void 0:v.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let S=new WeakMap;function $(N){return S.has(N)||S.set(N,tm(N)),S.get(N)}return Array.from(e.querySelectorAll(G0(t))).filter(N=>{if(N.hasAttribute("role")){let bt=N.getAttribute("role");return u?bt.split(" ").filter(Boolean).some(jb=>jb===t):bt.split(" ")[0]===t}return Bs(N).some(bt=>bt===t)}).filter(N=>{if(c!==void 0)return c===NS(N);if(d!==void 0)return d===LS(N);if(m!==void 0)return m===DS(N);if(y!==void 0)return y===BS(N);if(P!==void 0)return P===FS(N);if(T!==void 0)return T===US(N);if(C!==void 0)return C===$S(N);if(w!==void 0||E!==void 0||h!==void 0||q!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===jS(N)),E!==void 0&&le&&(le=E===HS(N)),h!==void 0&&le&&(le=h===VS(N)),q!==void 0){var pe;le&&(le=xe((pe=WS(N))!=null?pe:null,N,q,bt=>bt))}return le}return!0}).filter(N=>a===void 0?!0:xe(or(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,a,pe=>pe)).filter(N=>s===void 0?!0:xe(Zr(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,s,pe=>pe)).filter(N=>i===!1?Ds(N,{isSubtreeInaccessible:$})===!1:!0)};function G0(e){var t;let r='*[role~="'+e+'"]',n=(t=oe.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 am=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},X0=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+am(o)},Q0=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?I().defaultHidden:o,a=n.name,s=n.description;if(I()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+am(a);let l="";Array.from(e.children).forEach(m=>{l+=IS(m,{hidden:i,includeDescription:s!==void 0})});let u;l.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=(`
45
+ `),e):N().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 N().getElementError("Unable to find a label with the text of: "+t,e)}return i};function ZS(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var om=(e,t)=>"Found multiple elements with the text of: "+t,e0=Rt(ea(lr,om),lr.name,"query"),im=ea(nt,om),t0=ta(be(nt,nt.name,"findAll")),r0=ta(Rt(im,nt.name,"find")),n0=be(nt,nt.name,"getAll"),o0=Rt(im,nt.name,"get"),i0=be(lr,lr.name,"queryAll"),Rs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qe(t[0]),ia("placeholder",...t)},a0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,s0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,l0=be(Rs,Rs.name,"queryAll"),cr=it(Rs,a0,s0),u0=cr[0],c0=cr[1],d0=cr[2],p0=cr[3],f0=cr[4],Ss=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.ignore,d=c===void 0?N().defaultIgnore:c,m=n.normalizer;qe(e);let y=s?xe:St,P=ot({collapseWhitespace:l,trim:u,normalizer:m}),C=[];return typeof e.matches=="function"&&e.matches(i)&&(C=[e]),[...C,...Array.from(e.querySelectorAll(i))].filter(T=>!d||!T.matches(d)).filter(T=>y(oa(T),T,t,P))},m0=(e,t)=>"Found multiple elements with the text: "+t,b0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=ot({collapseWhitespace:o,trim:i,normalizer:a})(t.toString()),c=u!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?u+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},v0=be(Ss,Ss.name,"queryAll"),dr=it(Ss,m0,b0),y0=dr[0],h0=dr[1],g0=dr[2],E0=dr[3],w0=dr[4],xs=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;qe(e);let u=i?xe:St,c=ot({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(y=>y.selected).some(y=>u(oa(y),y,t,c)):u(d.value,d,t,c))},_0=(e,t)=>"Found multiple elements with the display value: "+t+".",C0=(e,t)=>"Unable to find an element with the display value: "+t+".",P0=be(xs,xs.name,"queryAll"),pr=it(xs,_0,C0),T0=pr[0],R0=pr[1],S0=pr[2],x0=pr[3],q0=pr[4],A0=/^(img|input|area|.+-.+)$/i,qs=function(e,t,r){return r===void 0&&(r={}),qe(e),ia("alt",e,t,r).filter(n=>A0.test(n.tagName))},M0=(e,t)=>"Found multiple elements with the alt text: "+t,k0=(e,t)=>"Unable to find an element with the alt text: "+t,O0=be(qs,qs.name,"queryAll"),fr=it(qs,M0,k0),I0=fr[0],N0=fr[1],L0=fr[2],D0=fr[3],B0=fr[4],F0=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},As=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.collapseWhitespace,s=n.trim,l=n.normalizer;qe(e);let u=i?xe:St,c=ot({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||F0(d)&&u(oa(d),d,t,c))},U0=(e,t)=>"Found multiple elements with the title: "+t+".",$0=(e,t)=>"Unable to find an element with the title: "+t+".",j0=be(As,As.name,"queryAll"),mr=it(As,U0,$0),H0=mr[0],V0=mr[1],W0=mr[2],z0=mr[3],K0=mr[4],Ms=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?N().defaultHidden:o,a=n.name,s=n.description,l=n.queryFallbacks,u=l===void 0?!1:l,c=n.selected,d=n.busy,m=n.checked,y=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,g=f===void 0?{}:f,w=g.now,h=g.min,E=g.max,A=g.text;if(qe(e),c!==void 0){var R;if(((R=oe.roles.get(t))==null?void 0:R.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var H;if(((H=oe.roles.get(t))==null?void 0:H.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(m!==void 0){var B;if(((B=oe.roles.get(t))==null?void 0:B.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(y!==void 0){var W;if(((W=oe.roles.get(t))==null?void 0:W.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(P!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(w!==void 0){var O;if(((O=oe.roles.get(t))==null?void 0:O.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var G;if(((G=oe.roles.get(t))==null?void 0:G.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var Q;if(((Q=oe.roles.get(t))==null?void 0:Q.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(A!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var v;if(((v=oe.roles.get(t))==null?void 0:v.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let S=new WeakMap;function $(L){return S.has(L)||S.set(L,tm(L)),S.get(L)}return Array.from(e.querySelectorAll(G0(t))).filter(L=>{if(L.hasAttribute("role")){let bt=L.getAttribute("role");return u?bt.split(" ").filter(Boolean).some(jb=>jb===t):bt.split(" ")[0]===t}return Bs(L).some(bt=>bt===t)}).filter(L=>{if(c!==void 0)return c===NS(L);if(d!==void 0)return d===LS(L);if(m!==void 0)return m===DS(L);if(y!==void 0)return y===BS(L);if(P!==void 0)return P===FS(L);if(T!==void 0)return T===US(L);if(C!==void 0)return C===$S(L);if(w!==void 0||E!==void 0||h!==void 0||A!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===jS(L)),E!==void 0&&le&&(le=E===HS(L)),h!==void 0&&le&&(le=h===VS(L)),A!==void 0){var pe;le&&(le=xe((pe=WS(L))!=null?pe:null,L,A,bt=>bt))}return le}return!0}).filter(L=>a===void 0?!0:xe(or(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,a,pe=>pe)).filter(L=>s===void 0?!0:xe(Zr(L,{computedStyleSupportsPseudoElements:N().computedStyleSupportsPseudoElements}),L,s,pe=>pe)).filter(L=>i===!1?Ds(L,{isSubtreeInaccessible:$})===!1:!0)};function G0(e){var t;let r='*[role~="'+e+'"]',n=(t=oe.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 am=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},X0=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+am(o)},Y0=function(e,t,r){let n=r===void 0?{}:r,o=n.hidden,i=o===void 0?N().defaultHidden:o,a=n.name,s=n.description;if(N()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+am(a);let l="";Array.from(e.children).forEach(m=>{l+=IS(m,{hidden:i,includeDescription:s!==void 0})});let u;l.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=(`
46
46
  Here are the `+(i===!1?"accessible":"available")+` roles:
47
47
 
48
48
  `+l.replace(/\n/g,`
@@ -52,15 +52,15 @@ Here are the `+(i===!1?"accessible":"available")+` roles:
52
52
  `).trim();let c="";a===void 0?c="":typeof a=="string"?c=' and name "'+a+'"':c=" and name `"+a+"`";let d="";return s===void 0?d="":typeof s=="string"?d=' and description "'+s+'"':d=" and description `"+s+"`",(`
53
53
  Unable to find an `+(i===!1?"accessible ":"")+'element with the role "'+t+'"'+c+d+`
54
54
 
55
- `+u).trim()},Y0=be(Ms,Ms.name,"queryAll"),br=it(Ms,X0,Q0),J0=br[0],Z0=br[1],ex=br[2],tx=br[3],rx=br[4],Fs=()=>I().testIdAttribute,ks=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qe(t[0]),ia(Fs(),...t)},nx=(e,t)=>"Found multiple elements by: ["+Fs()+'="'+t+'"]',ox=(e,t)=>"Unable to find an element by: ["+Fs()+'="'+t+'"]',ix=be(ks,ks.name,"queryAll"),vr=it(ks,nx,ox),ax=vr[0],sx=vr[1],lx=vr[2],ux=vr[3],cx=vr[4],Os=Object.freeze({__proto__:null,queryAllByLabelText:i0,queryByLabelText:e0,getAllByLabelText:n0,getByLabelText:o0,findAllByLabelText:t0,findByLabelText:r0,queryByPlaceholderText:u0,queryAllByPlaceholderText:l0,getByPlaceholderText:d0,getAllByPlaceholderText:c0,findAllByPlaceholderText:p0,findByPlaceholderText:f0,queryByText:y0,queryAllByText:v0,getByText:g0,getAllByText:h0,findAllByText:E0,findByText:w0,queryByDisplayValue:T0,queryAllByDisplayValue:P0,getByDisplayValue:S0,getAllByDisplayValue:R0,findAllByDisplayValue:x0,findByDisplayValue:q0,queryByAltText:I0,queryAllByAltText:O0,getByAltText:L0,getAllByAltText:N0,findAllByAltText:D0,findByAltText:B0,queryByTitle:H0,queryAllByTitle:j0,getByTitle:W0,getAllByTitle:V0,findAllByTitle:z0,findByTitle:K0,queryByRole:J0,queryAllByRole:Y0,getAllByRole:Z0,getByRole:ex,findAllByRole:tx,findByRole:rx,queryByTestId:ax,queryAllByTestId:ix,getByTestId:lx,getAllByTestId:sx,findAllByTestId:ux,findByTestId:cx});function dx(e,t,r){return t===void 0&&(t=Os),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var Lf={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}}},Df={doubleClick:"dblClick"},px=["value","files"],fx=["bubbles","cancelable","detail"];function ra(e,t){return I().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 Cs(e,t,r,n){let o=n===void 0?{}:n,i=o.EventType,a=i===void 0?"Event":i,s=o.defaultInit,l=s===void 0?{}:s;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let u={...l,...r},c=u.target,d=c===void 0?{}:c,m=d.value,y=d.files,P=Ur(d,px);m!==void 0&&mx(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,P);let C=Gf(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let w=u.bubbles,h=u.cancelable,E=u.detail,q=Ur(u,fx);f.initEvent(e,w,h,E),Object.keys(q).forEach(R=>{f[R]=q[R]})}return["dataTransfer","clipboardData"].forEach(w=>{let h=u[w];typeof h=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,w,{value:Object.getOwnPropertyNames(h).reduce((E,q)=>(Object.defineProperty(E,q,{value:h[q]}),E),new C.DataTransfer)}):Object.defineProperty(f,w,{value:h}))}),f}Object.keys(Lf).forEach(e=>{let t=Lf[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();Cs[e]=(i,a)=>Cs(o,i,a,{EventType:r,defaultInit:n}),ra[e]=(i,a)=>ra(i,Cs[e](i,a))});function mx(e,t){let r=Object.getOwnPropertyDescriptor(e,"value")||{},n=r.set,o=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(o,"value")||{},a=i.set;if(a&&n!==a)a.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(Df).forEach(e=>{let t=Df[e];ra[e]=function(){return ra[t](...arguments)}});function bx(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
55
+ `+u).trim()},Q0=be(Ms,Ms.name,"queryAll"),br=it(Ms,X0,Y0),J0=br[0],Z0=br[1],ex=br[2],tx=br[3],rx=br[4],Fs=()=>N().testIdAttribute,ks=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qe(t[0]),ia(Fs(),...t)},nx=(e,t)=>"Found multiple elements by: ["+Fs()+'="'+t+'"]',ox=(e,t)=>"Unable to find an element by: ["+Fs()+'="'+t+'"]',ix=be(ks,ks.name,"queryAll"),vr=it(ks,nx,ox),ax=vr[0],sx=vr[1],lx=vr[2],ux=vr[3],cx=vr[4],Os=Object.freeze({__proto__:null,queryAllByLabelText:i0,queryByLabelText:e0,getAllByLabelText:n0,getByLabelText:o0,findAllByLabelText:t0,findByLabelText:r0,queryByPlaceholderText:u0,queryAllByPlaceholderText:l0,getByPlaceholderText:d0,getAllByPlaceholderText:c0,findAllByPlaceholderText:p0,findByPlaceholderText:f0,queryByText:y0,queryAllByText:v0,getByText:g0,getAllByText:h0,findAllByText:E0,findByText:w0,queryByDisplayValue:T0,queryAllByDisplayValue:P0,getByDisplayValue:S0,getAllByDisplayValue:R0,findAllByDisplayValue:x0,findByDisplayValue:q0,queryByAltText:I0,queryAllByAltText:O0,getByAltText:L0,getAllByAltText:N0,findAllByAltText:D0,findByAltText:B0,queryByTitle:H0,queryAllByTitle:j0,getByTitle:W0,getAllByTitle:V0,findAllByTitle:z0,findByTitle:K0,queryByRole:J0,queryAllByRole:Q0,getAllByRole:Z0,getByRole:ex,findAllByRole:tx,findByRole:rx,queryByTestId:ax,queryAllByTestId:ix,getByTestId:lx,getAllByTestId:sx,findAllByTestId:ux,findByTestId:cx});function dx(e,t,r){return t===void 0&&(t=Os),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var Lf={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}}},Df={doubleClick:"dblClick"},px=["value","files"],fx=["bubbles","cancelable","detail"];function ra(e,t){return N().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 Cs(e,t,r,n){let o=n===void 0?{}:n,i=o.EventType,a=i===void 0?"Event":i,s=o.defaultInit,l=s===void 0?{}:s;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let u={...l,...r},c=u.target,d=c===void 0?{}:c,m=d.value,y=d.files,P=Ur(d,px);m!==void 0&&mx(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,P);let C=Gf(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let w=u.bubbles,h=u.cancelable,E=u.detail,A=Ur(u,fx);f.initEvent(e,w,h,E),Object.keys(A).forEach(R=>{f[R]=A[R]})}return["dataTransfer","clipboardData"].forEach(w=>{let h=u[w];typeof h=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,w,{value:Object.getOwnPropertyNames(h).reduce((E,A)=>(Object.defineProperty(E,A,{value:h[A]}),E),new C.DataTransfer)}):Object.defineProperty(f,w,{value:h}))}),f}Object.keys(Lf).forEach(e=>{let t=Lf[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();Cs[e]=(i,a)=>Cs(o,i,a,{EventType:r,defaultInit:n}),ra[e]=(i,a)=>ra(i,Cs[e](i,a))});function mx(e,t){let r=Object.getOwnPropertyDescriptor(e,"value")||{},n=r.set,o=Object.getPrototypeOf(e),i=Object.getOwnPropertyDescriptor(o,"value")||{},a=i.set;if(a&&n!==a)a.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(Df).forEach(e=>{let t=Df[e];ra[e]=function(){return ra[t](...arguments)}});function bx(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
56
  `)}function vx(e){return Ff.default.compressToEncodedURIComponent(bx(e))}function yx(e){return"https://testing-playground.com/#markup="+vx(e)}var hx=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Of(n,t,r)):Of(e,t,r),gx=function(e){if(e===void 0&&(e=Ls().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=yx(e.innerHTML);return console.log(`Open this URL in your browser
57
57
 
58
- `+t),t},Bf={debug:hx,logTestingPlaygroundURL:gx},HI=typeof document<"u"&&document.body?dx(document.body,Os,Bf):Object.keys(Os).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),Bf);function Ye(e,t){return I().eventWrapper(e)}function se(e){let t=Ul(e,$t),r=Le(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Ye(()=>t.focus()):Ye(()=>r?.blur()),Wl(t??e.ownerDocument.body))}function sm(e){!$t(e)||!(Le(e.ownerDocument)===e)||Ye(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&x(n,"label")&&n.control;if(o&&o!==t)return()=>{$t(o)&&(se(o),r.dispatchEvent(o,Fl(e)))};if(x(t,"input",{type:"file"}))return()=>{sm(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var xt=Symbol("Displayed value in UI"),Ae=Symbol("Displayed selection in UI"),aa=Symbol("Initial value to compare on blur");function lm(e){return typeof e=="object"&&xt in e}function um(e){return!!e&&typeof e=="object"&&Ae in e}function cm(e,t){e[aa]===void 0&&(e[aa]=e.value),e[xt]=t,e.value=Object.assign(new String(t),{[xt]:!0})}function Z(e){return e[xt]===void 0?e.value:String(e[xt])}function yr(e){e[xt]=void 0}function sa(e){e[aa]=void 0}function dm(e){return e[aa]}function pm(e,t){e[Ae]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Z(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[Ae]===void 0?i(r):e[Ae].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[Ae]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[Ae]:!0});try{e.setSelectionRange(c,u)}catch{}}function Me(e){var t,r,n;let o=(t=e[Ae])!==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 fm(e){return!!e[Ae]}function hr(e){e[Ae]=void 0}var la=globalThis.parseInt;function bm(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=la(t[0],10),n=la(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,mm(t,o)}return e.length===2?e:mm(t,2)}function mm(e,t){let r=e.slice(0,t),n=Math.min(la(r,10),23),o=e.slice(t),i=la(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Us(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var vm=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(vm||{});function ym(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 hm(e){return x(e,"textarea")||x(e,"input")&&e.type in vm}function da(e,t,r,n){if(ca(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=gm(e,t,r);if(o){if(ca(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(x(o,"br")){let i=gm(o,void 0,r);return i?ca(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&x(i,"br")?{node:o.parentNode,offset:ua(o)}:{node:i.parentNode,offset:ua(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:ua(o)}:void 0}else return{node:o.parentNode,offset:ua(o)+(r>0?1:0)}}}function gm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&$s(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),wx(e,r===1?"next":"previous",Ex)}function Ex(e){if(ca(e))return!0;if($s(e)){if(x(e,["input","textarea"]))return e.type!=="hidden";if(x(e,"br"))return!0}return!1}function ua(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function $s(e){return e.nodeType===1}function ca(e){return e.nodeType===3}function wx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=_x(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!$s(e.parentNode)||!ce(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function _x(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function Cx(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function Em(e){Cx(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function wm(e,t){var r,n;(n=e[gr])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[gr]||(yr(e),Ee(e,{focusOffset:t.length}))}function _m(e,t){var r;let n=e[gr];if(e[gr]=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||yr(e),fm(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function pa(e){let t=Px(e);if(t&&X(t))return{type:"input",selection:Me(t)};let r=t?.ownerDocument.getSelection();return{type:De(e)&&r?.anchorNode&&De(r.anchorNode)?"contenteditable":"default",selection:r}}function Px(e){return e.nodeType===1?e:e.parentElement}function Cm(e){let t=pa(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 we({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(pa(e).type==="input")return Ee(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 Tm(e){return x(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=Cm(t);o&&(!Tm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Tx(e,t,o,r,n):Rx(e,t,o,r,n)))}function Tx(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=da(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function Rx(e,t,r,n,o){let i=n;if(hm(t)){let u=ym(t);if(u!==void 0&&n.length>0){let c=r.endOffset-r.startOffset,d=u-t.value.length+c;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:l}=Sx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||x(t,"input",{type:"number"})&&!xx(a)||(cm(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),Tm(t)?Us(t,a)&&(Pm(e,t,s,{}),e.dispatchUIEvent(t,"change"),sa(t)):Pm(e,t,s,{data:n,inputType:o}))}function Sx(e,t,{startOffset:r,endOffset:n},o){let i=Z(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),l=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(l,i.length),c=`${s}${e}${u}`,d=a+e.length;if(x(t,"input",{type:"time"})){let m=bm(c);m!==""&&Us(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function Pm(e,t,r,n){e.dispatchUIEvent(t,"input",n),_m(t,r)}function xx(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]))}ie.cut=(e,t,r)=>()=>{ve(t)&&_e(r,t,"","deleteByCut")};function Rm(e){return e?ce(e)?e.textContent:Z(e):null}function Sm(e){let t=V(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 xm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Br),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||te(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{let c=Number(l.getAttribute("tabindex")),d=Number(u.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=x(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(x(u,"input",{type:"radio"})&&u.name){if(u===e){a.push(u);return}else if(u.name===s)return;if(u.checked){a=a.filter(c=>!x(c,"input",{type:"radio",name:u.name})),a.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}a.push(u)});for(let l=a.findIndex(u=>u===e);;)if(l+=t?-1:1,l===a.length?l=0:l===-1&&(l=a.length-1),a[l]===e||a[l]===r.body||Sm(a[l]))return a[l]}function js(e,t){if(X(e)){let r=Me(e);we({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=da(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function fa(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Z(e).length});let r=(t=De(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function qm(e){var t;if(X(e))return Me(e).startOffset===0&&Me(e).endOffset===Z(e).length;let r=(t=De(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 at(e,t,r){var n;if(X(e))return we({focusNode:e,anchorOffset:t,focusOffset:r});if(ce(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return we({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Er(e,t,r){let n=V(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(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!te(o[i])){se(o[i]),e.dispatchUIEvent(o[i],"click");return}}}ie.keydown=(e,t,r)=>{var n,o;return(n=(o=Am[e.key])===null||o===void 0?void 0:o.call(Am,e,t,r))!==null&&n!==void 0?n:qx(e,t,r)};var Am={ArrowDown:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>js(t,-1),ArrowRight:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>js(t,1),ArrowUp:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,-1)},Backspace:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentForward")}},End:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{var r,n;let o=(r=(n=Rm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;at(t,o,o)}},Home:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{at(t,0,0)}},PageDown:(e,t)=>{if(x(t,["input"]))return()=>{let r=Z(t).length;at(t,r,r)}},PageUp:(e,t)=>{if(x(t,["input"]))return()=>{at(t,0,0)}},Tab:(e,t,r)=>()=>{let n=xm(ht(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},qx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>fa(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(x(t,"button")||x(t,"input")&&Ax.includes(t.type)||x(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(x(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&&Mx.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ve(t)){let n=e.key==="Enter"?ce(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
59
- `:e.key;return()=>_e(r,t,o,n)}};var Ax=["button","color","file","image","reset","submit"],Mx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=Mm[e.key])===null||n===void 0?void 0:n.call(Mm,e,t,r)};var Mm={" ":(e,t,r)=>{if(Fr(t))return()=>r.dispatchUIEvent(t,"click")}};ie.paste=(e,t,r)=>{if(ve(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&_e(r,t,o,"insertFromPaste")}};var Hs={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 km(e){return Hs[e].EventType}var kx=["MouseEvent","PointerEvent"];function Om(e){return kx.includes(km(e))}function Im(e){return km(e)==="KeyboardEvent"}var Ox={ClipboardEvent:[Nx],Event:[],FocusEvent:[wr,Lx],InputEvent:[wr,Dx],MouseEvent:[wr,Vs,Nm],PointerEvent:[wr,Vs,Nm,Fx],KeyboardEvent:[wr,Vs,Bx]};function Ws(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=Hs[e],a=new(Ix(n))[o](e,i);return Ox[o].forEach(s=>s(a,r??{})),a}function Ix(e){var t,r,n,o,i,a,s,l,u,c,d,m,y,P,C;let T=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},g=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},w=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},h=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},E=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},q=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends q{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends q{},B=(c=e.InputEvent)!==null&&c!==void 0?c:class extends q{},W=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends q{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends q{},O=(y=e.DragEvent)!==null&&y!==void 0?y:class extends K{},G=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},Y=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends q{};return{Event:T,AnimationEvent:f,ClipboardEvent:g,PopStateEvent:w,ProgressEvent:h,TransitionEvent:E,UIEvent:q,CompositionEvent:R,FocusEvent:H,InputEvent:B,KeyboardEvent:W,MouseEvent:K,DragEvent:O,PointerEvent:G,TouchEvent:Y}}function Je(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function z(e){return Number(e??0)}function Nx(e,{clipboardData:t}){Je(e,{clipboardData:t})}function Lx(e,{relatedTarget:t}){Je(e,{relatedTarget:t})}function Dx(e,{data:t,inputType:r,isComposing:n}){Je(e,{data:t,isComposing:!!n,inputType:String(r)})}function wr(e,{view:t,detail:r}){Je(e,{view:t,detail:z(r??0)})}function Vs(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:m}){Je(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(y){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:m}[y]}})}function Bx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Je(e,{key:String(t),code:String(r),location:z(n),repeat:!!o,isComposing:!!i,charCode:a})}function Nm(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:d,pageX:m,pageY:y}){Je(e,{screenX:z(n),screenY:z(o),clientX:z(i),x:z(i),clientY:z(a),y:z(a),button:z(s),buttons:z(l),relatedTarget:u,offsetX:z(c),offsetY:z(d),pageX:z(m),pageY:z(y)})}function Fx(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){Je(e,{pointerId:z(t),width:z(r??1),height:z(n??1),pressure:z(o??(d?.5:0)),tangentialPressure:z(i),tiltX:z(a),tiltY:z(s),twist:z(l),pointerType:String(u??""),isPrimary:!!c})}function Lm(e,t,r,n=!1){(Om(t)||Im(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Ws(t,e,r);return zs.call(this,e,o,n)}function zs(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=ie[o])===null||n===void 0?void 0:n.call(ie,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Ye(()=>e.dispatchEvent(t)),a||i(),!a}return Ye(()=>e.dispatchEvent(t))}function ke(e,t,r){let n=Ws(t,e,r);Ye(()=>e.dispatchEvent(n))}var Dm=Symbol("patched focus/blur methods");function Ks(e){if(e.prototype[Dm])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},[Dm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Bm(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),ke(s,"blur",{relatedTarget:this}),ke(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),ke(this,"focus",{relatedTarget:s})),n===l&&ke(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Bm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),ke(a,"blur",{relatedTarget:null}),ke(a,"focusout",{relatedTarget:null})}}function Bm(e){let t=Le(e);return t?.tagName==="BODY"?null:t}var Gs=Symbol("Interceptor for programmatical calls");function qt(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][Gs])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:l=!1,realArgs:u,then:c}=r.call(this,...s),d=(!l&&o||n)[i];i==="set"?d.call(this,u):d.call(this,...u),c?.()}a[Gs]=Gs,Object.defineProperty(e,t,{...o??n,[i]:a})}function Fm(e){qt(e,"value",function(r){let n=lm(r);return n&&Em(this),{applyNative:!!n,realArgs:Ux(this,r),then:n?void 0:()=>wm(this,String(r))}})}function Ux(e,t){return x(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Um(e){qt(e,"setSelectionRange",function(r,...n){let o=um(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),qt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"select",function(){return{realArgs:[],then:()=>pm(e,{anchorOffset:0,focusOffset:Z(e).length})}})}function $m(e){qt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var At=Symbol("Node prepared with document state workarounds");function Xs(e){e[At]||(e.addEventListener("focus",t=>{let r=t.target;jm(r)},{capture:!0,passive:!0}),e.activeElement&&jm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=dm(r);n!==void 0&&(r.value!==n&&ke(r,"change"),sa(r))},{capture:!0,passive:!0}),e[At]=At)}function jm(e){e[At]||(x(e,["input","textarea"])&&(Fm(e),Um(e),$m(e)),e[At]=At)}function Hm(e){return $x(e)?e:e.ownerDocument}function $x(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function st(e,t){e.levelRefs[t]={}}function _r(e,t){return e.levelRefs[t]}function Re(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var lt=(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 ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ce=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),jx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Vm(e){return jx.includes(e)}var Hx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Wm(e){return Hx.includes(e)}var ma=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),a=ht(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Vm(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Wm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(ht(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),Vm(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(ht(t.config.document),"keyup",{key:n,code:o},!i),Wm(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){ut(this,"system",void 0),ut(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}),ut(this,"pressed",new class{add(r,n){var o,i,a;(a=(o=this.registry)[i=r])!==null&&a!==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(){ut(this,"registry",{})}}),ut(this,"carryChar",""),ut(this,"lastKeydownTarget",void 0),ut(this,"modifierLockStart",{}),this.system=t}};var zm=[..."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:Ce.LEFT},{code:"AltRight",key:"Alt",location:Ce.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ce.LEFT},{code:"ShiftRight",key:"Shift",location:Ce.RIGHT},{code:"ControlLeft",key:"Control",location:Ce.LEFT},{code:"ControlRight",key:"Control",location:Ce.RIGHT},{code:"MetaLeft",key:"Meta",location:Ce.LEFT},{code:"MetaRight",key:"Meta",location:Ce.RIGHT},{code:"OSLeft",key:"OS",location:Ce.LEFT},{code:"OSRight",key:"OS",location:Ce.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 Km=[{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 Vx(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=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Qs(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Qs(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(){Vx(this,"pressed",{})}},Gm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Qs(e=0){return e in Gm?Gm[e]:Number(e)}var Xm={1:2,2:1};function Cr(e){return e=Qs(e),e in Xm?Xm[e]:e}function Wx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ba=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(){Wx(this,"pressedKeys",new Set)}};function ct(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 Pr({target:e,node:t,offset:r}){return X(e)?{node:e,offset:r??Z(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Qm(e,r)}function Qm(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),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return Qm(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 Ym({document:e,target:t,clickCount:r,node:n,offset:o}){if(Hl(t))return;let i=X(t),a=String(i?Z(t):t.textContent),[s,l]=n?[o,o]:zx(a,o,r);if(i)return Ee(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{let{node:u,offset:c}=Pr({target:t,node:n,offset:s}),{node:d,offset:m}=Pr({target:t,node:n,offset:l}),y=t.ownerDocument.createRange();try{y.setStart(u,c),y.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(y.cloneRange()),y}}function zx(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 Jm(e,{document:t,target:r,node:n,offset:o}){let i=Pr({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,s=i.offset>e.end||i.offset<e.start?i.offset:e.end;Ee(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(i.node,i.offset);s<0?a.setStart(i.node,i.offset):s>0&&a.setEnd(i.node,i.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(a.cloneRange())}}function va(e,t){var r,n,o,i,a,s,l,u,c,d,m,y,P,C,T,f,g,w,h,E,q,R,H,B;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)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((m=e.coords)===null||m===void 0?void 0:m.offsetY)!==((y=t.coords)===null||y===void 0?void 0:y.offsetY)||((P=e.coords)===null||P===void 0?void 0:P.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((g=e.coords)===null||g===void 0?void 0:g.screenX)!==((w=t.coords)===null||w===void 0?void 0:w.screenX)||((h=e.coords)===null||h===void 0?void 0:h.screenY)!==((E=t.coords)===null||E===void 0?void 0:E.screenY)||((q=e.caret)===null||q===void 0?void 0:q.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((H=e.caret)===null||H===void 0?void 0:H.offset)!==((B=t.caret)===null||B===void 0?void 0:B.offset)}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ya=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!va(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=ct(i,a);return{leave:()=>{i!==a&&(t.dispatchUIEvent(i,"mouseout",s),l.forEach(c=>t.dispatchUIEvent(c,"mouseleave",s)))},enter:()=>{i!==a&&(t.dispatchUIEvent(a,"mouseover",s),u.forEach(c=>t.dispatchUIEvent(c,"mouseenter",s)))},move:()=>{n||(t.dispatchUIEvent(a,"mousemove",s),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 a=this.getEventInit("mousedown",r.button),s=te(i);!n&&(s||t.dispatchUIEvent(i,"mousedown",a))&&(this.startSelecting(t,a.detail),se(i)),!s&&Cr(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(!te(i)){if(!n){let s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",s),this.endSelecting()}let a=ct(this.buttonDownTarget[o],i)[2][0];if(a){let s=this.getEventInit("click",r.button);s.detail&&(t.dispatchUIEvent(a,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&t.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",r.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=Cr(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=Ym({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&&Jm(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(){dt(this,"position",{}),dt(this,"buttons",new Mt),dt(this,"selecting",void 0),dt(this,"buttonDownTarget",{}),dt(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(){dt(this,"down",{}),dt(this,"count",{})}})}};function kt(e,t){var r;return((r=tb(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Kx(e){let t=V(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 Zm=Symbol("Last check for pointer-events");function tb(e,t){let r=t[Zm];if(!(e.config.pointerEventsCheck!==lt.Never&&(!r||eb(e.config.pointerEventsCheck,lt.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||eb(e.config.pointerEventsCheck,lt.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=Kx(t);return t[Zm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function pt(e,t){let r=tb(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\`:`,"",Gx(r.tree)].join(`
58
+ `+t),t},Bf={debug:hx,logTestingPlaygroundURL:gx},VI=typeof document<"u"&&document.body?dx(document.body,Os,Bf):Object.keys(Os).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),Bf);function Qe(e,t){return N().eventWrapper(e)}function se(e){let t=Ul(e,$t),r=Le(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Qe(()=>t.focus()):Qe(()=>r?.blur()),Wl(t??e.ownerDocument.body))}function sm(e){!$t(e)||!(Le(e.ownerDocument)===e)||Qe(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&x(n,"label")&&n.control;if(o&&o!==t)return()=>{$t(o)&&(se(o),r.dispatchEvent(o,Fl(e)))};if(x(t,"input",{type:"file"}))return()=>{sm(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var xt=Symbol("Displayed value in UI"),Ae=Symbol("Displayed selection in UI"),aa=Symbol("Initial value to compare on blur");function lm(e){return typeof e=="object"&&xt in e}function um(e){return!!e&&typeof e=="object"&&Ae in e}function cm(e,t){e[aa]===void 0&&(e[aa]=e.value),e[xt]=t,e.value=Object.assign(new String(t),{[xt]:!0})}function Z(e){return e[xt]===void 0?e.value:String(e[xt])}function yr(e){e[xt]=void 0}function sa(e){e[aa]=void 0}function dm(e){return e[aa]}function pm(e,t){e[Ae]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Z(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[Ae]===void 0?i(r):e[Ae].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[Ae]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[Ae]:!0});try{e.setSelectionRange(c,u)}catch{}}function Me(e){var t,r,n;let o=(t=e[Ae])!==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 fm(e){return!!e[Ae]}function hr(e){e[Ae]=void 0}var la=globalThis.parseInt;function bm(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=la(t[0],10),n=la(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,mm(t,o)}return e.length===2?e:mm(t,2)}function mm(e,t){let r=e.slice(0,t),n=Math.min(la(r,10),23),o=e.slice(t),i=la(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Us(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var vm=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(vm||{});function ym(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 hm(e){return x(e,"textarea")||x(e,"input")&&e.type in vm}function da(e,t,r,n){if(ca(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=gm(e,t,r);if(o){if(ca(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(x(o,"br")){let i=gm(o,void 0,r);return i?ca(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&x(i,"br")?{node:o.parentNode,offset:ua(o)}:{node:i.parentNode,offset:ua(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:ua(o)}:void 0}else return{node:o.parentNode,offset:ua(o)+(r>0?1:0)}}}function gm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&$s(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),wx(e,r===1?"next":"previous",Ex)}function Ex(e){if(ca(e))return!0;if($s(e)){if(x(e,["input","textarea"]))return e.type!=="hidden";if(x(e,"br"))return!0}return!1}function ua(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function $s(e){return e.nodeType===1}function ca(e){return e.nodeType===3}function wx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=_x(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!$s(e.parentNode)||!ce(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function _x(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function Cx(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function Em(e){Cx(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function wm(e,t){var r,n;(n=e[gr])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[gr]||(yr(e),Ee(e,{focusOffset:t.length}))}function _m(e,t){var r;let n=e[gr];if(e[gr]=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||yr(e),fm(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function pa(e){let t=Px(e);if(t&&X(t))return{type:"input",selection:Me(t)};let r=t?.ownerDocument.getSelection();return{type:De(e)&&r?.anchorNode&&De(r.anchorNode)?"contenteditable":"default",selection:r}}function Px(e){return e.nodeType===1?e:e.parentElement}function Cm(e){let t=pa(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 we({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(pa(e).type==="input")return Ee(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 Tm(e){return x(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=Cm(t);o&&(!Tm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Tx(e,t,o,r,n):Rx(e,t,o,r,n)))}function Tx(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=da(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(a){i=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function Rx(e,t,r,n,o){let i=n;if(hm(t)){let u=ym(t);if(u!==void 0&&n.length>0){let c=r.endOffset-r.startOffset,d=u-t.value.length+c;if(d>0)i=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:l}=Sx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||x(t,"input",{type:"number"})&&!xx(a)||(cm(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),Tm(t)?Us(t,a)&&(Pm(e,t,s,{}),e.dispatchUIEvent(t,"change"),sa(t)):Pm(e,t,s,{data:n,inputType:o}))}function Sx(e,t,{startOffset:r,endOffset:n},o){let i=Z(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),l=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(l,i.length),c=`${s}${e}${u}`,d=a+e.length;if(x(t,"input",{type:"time"})){let m=bm(c);m!==""&&Us(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function Pm(e,t,r,n){e.dispatchUIEvent(t,"input",n),_m(t,r)}function xx(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]))}ie.cut=(e,t,r)=>()=>{ve(t)&&_e(r,t,"","deleteByCut")};function Rm(e){return e?ce(e)?e.textContent:Z(e):null}function Sm(e){let t=V(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 xm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Br),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||te(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{let c=Number(l.getAttribute("tabindex")),d=Number(u.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=x(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(x(u,"input",{type:"radio"})&&u.name){if(u===e){a.push(u);return}else if(u.name===s)return;if(u.checked){a=a.filter(c=>!x(c,"input",{type:"radio",name:u.name})),a.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}a.push(u)});for(let l=a.findIndex(u=>u===e);;)if(l+=t?-1:1,l===a.length?l=0:l===-1&&(l=a.length-1),a[l]===e||a[l]===r.body||Sm(a[l]))return a[l]}function js(e,t){if(X(e)){let r=Me(e);we({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=da(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function fa(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Z(e).length});let r=(t=De(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function qm(e){var t;if(X(e))return Me(e).startOffset===0&&Me(e).endOffset===Z(e).length;let r=(t=De(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 at(e,t,r){var n;if(X(e))return we({focusNode:e,anchorOffset:t,focusOffset:r});if(ce(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return we({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Er(e,t,r){let n=V(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(a=>a===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;if(!te(o[i])){se(o[i]),e.dispatchUIEvent(o[i],"click");return}}}ie.keydown=(e,t,r)=>{var n,o;return(n=(o=Am[e.key])===null||o===void 0?void 0:o.call(Am,e,t,r))!==null&&n!==void 0?n:qx(e,t,r)};var Am={ArrowDown:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>js(t,-1),ArrowRight:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>js(t,1),ArrowUp:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,-1)},Backspace:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentForward")}},End:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{var r,n;let o=(r=(n=Rm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;at(t,o,o)}},Home:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{at(t,0,0)}},PageDown:(e,t)=>{if(x(t,["input"]))return()=>{let r=Z(t).length;at(t,r,r)}},PageUp:(e,t)=>{if(x(t,["input"]))return()=>{at(t,0,0)}},Tab:(e,t,r)=>()=>{let n=xm(ht(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},qx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>fa(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(x(t,"button")||x(t,"input")&&Ax.includes(t.type)||x(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(x(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&&Mx.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ve(t)){let n=e.key==="Enter"?ce(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
59
+ `:e.key;return()=>_e(r,t,o,n)}};var Ax=["button","color","file","image","reset","submit"],Mx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=Mm[e.key])===null||n===void 0?void 0:n.call(Mm,e,t,r)};var Mm={" ":(e,t,r)=>{if(Fr(t))return()=>r.dispatchUIEvent(t,"click")}};ie.paste=(e,t,r)=>{if(ve(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&_e(r,t,o,"insertFromPaste")}};var Hs={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 km(e){return Hs[e].EventType}var kx=["MouseEvent","PointerEvent"];function Om(e){return kx.includes(km(e))}function Im(e){return km(e)==="KeyboardEvent"}var Ox={ClipboardEvent:[Nx],Event:[],FocusEvent:[wr,Lx],InputEvent:[wr,Dx],MouseEvent:[wr,Vs,Nm],PointerEvent:[wr,Vs,Nm,Fx],KeyboardEvent:[wr,Vs,Bx]};function Ws(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=Hs[e],a=new(Ix(n))[o](e,i);return Ox[o].forEach(s=>s(a,r??{})),a}function Ix(e){var t,r,n,o,i,a,s,l,u,c,d,m,y,P,C;let T=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},g=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},w=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},h=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},E=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},A=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends A{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends A{},B=(c=e.InputEvent)!==null&&c!==void 0?c:class extends A{},W=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends A{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends A{},O=(y=e.DragEvent)!==null&&y!==void 0?y:class extends K{},G=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},Q=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends A{};return{Event:T,AnimationEvent:f,ClipboardEvent:g,PopStateEvent:w,ProgressEvent:h,TransitionEvent:E,UIEvent:A,CompositionEvent:R,FocusEvent:H,InputEvent:B,KeyboardEvent:W,MouseEvent:K,DragEvent:O,PointerEvent:G,TouchEvent:Q}}function Je(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function z(e){return Number(e??0)}function Nx(e,{clipboardData:t}){Je(e,{clipboardData:t})}function Lx(e,{relatedTarget:t}){Je(e,{relatedTarget:t})}function Dx(e,{data:t,inputType:r,isComposing:n}){Je(e,{data:t,isComposing:!!n,inputType:String(r)})}function wr(e,{view:t,detail:r}){Je(e,{view:t,detail:z(r??0)})}function Vs(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:m}){Je(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(y){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:m}[y]}})}function Bx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Je(e,{key:String(t),code:String(r),location:z(n),repeat:!!o,isComposing:!!i,charCode:a})}function Nm(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:d,pageX:m,pageY:y}){Je(e,{screenX:z(n),screenY:z(o),clientX:z(i),x:z(i),clientY:z(a),y:z(a),button:z(s),buttons:z(l),relatedTarget:u,offsetX:z(c),offsetY:z(d),pageX:z(m),pageY:z(y)})}function Fx(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){Je(e,{pointerId:z(t),width:z(r??1),height:z(n??1),pressure:z(o??(d?.5:0)),tangentialPressure:z(i),tiltX:z(a),tiltY:z(s),twist:z(l),pointerType:String(u??""),isPrimary:!!c})}function Lm(e,t,r,n=!1){(Om(t)||Im(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Ws(t,e,r);return zs.call(this,e,o,n)}function zs(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=ie[o])===null||n===void 0?void 0:n.call(ie,t,e,this);if(i){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Qe(()=>e.dispatchEvent(t)),a||i(),!a}return Qe(()=>e.dispatchEvent(t))}function ke(e,t,r){let n=Ws(t,e,r);Qe(()=>e.dispatchEvent(n))}var Dm=Symbol("patched focus/blur methods");function Ks(e){if(e.prototype[Dm])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},[Dm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Bm(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),ke(s,"blur",{relatedTarget:this}),ke(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),ke(this,"focus",{relatedTarget:s})),n===l&&ke(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=Bm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),ke(a,"blur",{relatedTarget:null}),ke(a,"focusout",{relatedTarget:null})}}function Bm(e){let t=Le(e);return t?.tagName==="BODY"?null:t}var Gs=Symbol("Interceptor for programmatical calls");function qt(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][Gs])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:l=!1,realArgs:u,then:c}=r.call(this,...s),d=(!l&&o||n)[i];i==="set"?d.call(this,u):d.call(this,...u),c?.()}a[Gs]=Gs,Object.defineProperty(e,t,{...o??n,[i]:a})}function Fm(e){qt(e,"value",function(r){let n=lm(r);return n&&Em(this),{applyNative:!!n,realArgs:Ux(this,r),then:n?void 0:()=>wm(this,String(r))}})}function Ux(e,t){return x(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Um(e){qt(e,"setSelectionRange",function(r,...n){let o=um(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),qt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"select",function(){return{realArgs:[],then:()=>pm(e,{anchorOffset:0,focusOffset:Z(e).length})}})}function $m(e){qt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var At=Symbol("Node prepared with document state workarounds");function Xs(e){e[At]||(e.addEventListener("focus",t=>{let r=t.target;jm(r)},{capture:!0,passive:!0}),e.activeElement&&jm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=dm(r);n!==void 0&&(r.value!==n&&ke(r,"change"),sa(r))},{capture:!0,passive:!0}),e[At]=At)}function jm(e){e[At]||(x(e,["input","textarea"])&&(Fm(e),Um(e),$m(e)),e[At]=At)}function Hm(e){return $x(e)?e:e.ownerDocument}function $x(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function st(e,t){e.levelRefs[t]={}}function _r(e,t){return e.levelRefs[t]}function Re(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var lt=(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 ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ce=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),jx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Vm(e){return jx.includes(e)}var Hx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Wm(e){return Hx.includes(e)}var ma=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),a=ht(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Vm(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Wm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(ht(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),Vm(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(ht(t.config.document),"keyup",{key:n,code:o},!i),Wm(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){ut(this,"system",void 0),ut(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}),ut(this,"pressed",new class{add(r,n){var o,i,a;(a=(o=this.registry)[i=r])!==null&&a!==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(){ut(this,"registry",{})}}),ut(this,"carryChar",""),ut(this,"lastKeydownTarget",void 0),ut(this,"modifierLockStart",{}),this.system=t}};var zm=[..."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:Ce.LEFT},{code:"AltRight",key:"Alt",location:Ce.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ce.LEFT},{code:"ShiftRight",key:"Shift",location:Ce.RIGHT},{code:"ControlLeft",key:"Control",location:Ce.LEFT},{code:"ControlRight",key:"Control",location:Ce.RIGHT},{code:"MetaLeft",key:"Meta",location:Ce.LEFT},{code:"MetaRight",key:"Meta",location:Ce.RIGHT},{code:"OSLeft",key:"OS",location:Ce.LEFT},{code:"OSRight",key:"OS",location:Ce.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 Km=[{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 Vx(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=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Ys(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Ys(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(){Vx(this,"pressed",{})}},Gm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Ys(e=0){return e in Gm?Gm[e]:Number(e)}var Xm={1:2,2:1};function Cr(e){return e=Ys(e),e in Xm?Xm[e]:e}function Wx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ba=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(){Wx(this,"pressedKeys",new Set)}};function ct(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 Pr({target:e,node:t,offset:r}){return X(e)?{node:e,offset:r??Z(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Ym(e,r)}function Ym(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),a=String(i.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(i.nodeType===1)return Ym(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 Qm({document:e,target:t,clickCount:r,node:n,offset:o}){if(Hl(t))return;let i=X(t),a=String(i?Z(t):t.textContent),[s,l]=n?[o,o]:zx(a,o,r);if(i)return Ee(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{let{node:u,offset:c}=Pr({target:t,node:n,offset:s}),{node:d,offset:m}=Pr({target:t,node:n,offset:l}),y=t.ownerDocument.createRange();try{y.setStart(u,c),y.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(y.cloneRange()),y}}function zx(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 Jm(e,{document:t,target:r,node:n,offset:o}){let i=Pr({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let a=i.offset<e.start?e.end:e.start,s=i.offset>e.end||i.offset<e.start?i.offset:e.end;Ee(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(i.node,i.offset);s<0?a.setStart(i.node,i.offset):s>0&&a.setEnd(i.node,i.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(a.cloneRange())}}function va(e,t){var r,n,o,i,a,s,l,u,c,d,m,y,P,C,T,f,g,w,h,E,A,R,H,B;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)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((m=e.coords)===null||m===void 0?void 0:m.offsetY)!==((y=t.coords)===null||y===void 0?void 0:y.offsetY)||((P=e.coords)===null||P===void 0?void 0:P.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((g=e.coords)===null||g===void 0?void 0:g.screenX)!==((w=t.coords)===null||w===void 0?void 0:w.screenX)||((h=e.coords)===null||h===void 0?void 0:h.screenY)!==((E=t.coords)===null||E===void 0?void 0:E.screenY)||((A=e.caret)===null||A===void 0?void 0:A.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((H=e.caret)===null||H===void 0?void 0:H.offset)!==((B=t.caret)===null||B===void 0?void 0:B.offset)}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ya=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!va(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=ct(i,a);return{leave:()=>{i!==a&&(t.dispatchUIEvent(i,"mouseout",s),l.forEach(c=>t.dispatchUIEvent(c,"mouseleave",s)))},enter:()=>{i!==a&&(t.dispatchUIEvent(a,"mouseover",s),u.forEach(c=>t.dispatchUIEvent(c,"mouseenter",s)))},move:()=>{n||(t.dispatchUIEvent(a,"mousemove",s),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 a=this.getEventInit("mousedown",r.button),s=te(i);!n&&(s||t.dispatchUIEvent(i,"mousedown",a))&&(this.startSelecting(t,a.detail),se(i)),!s&&Cr(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(!te(i)){if(!n){let s=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(i,"mouseup",s),this.endSelecting()}let a=ct(this.buttonDownTarget[o],i)[2][0];if(a){let s=this.getEventInit("click",r.button);s.detail&&(t.dispatchUIEvent(a,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&t.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",r.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=Cr(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=Qm({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&&Jm(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(){dt(this,"position",{}),dt(this,"buttons",new Mt),dt(this,"selecting",void 0),dt(this,"buttonDownTarget",{}),dt(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(){dt(this,"down",{}),dt(this,"count",{})}})}};function kt(e,t){var r;return((r=tb(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Kx(e){let t=V(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 Zm=Symbol("Last check for pointer-events");function tb(e,t){let r=t[Zm];if(!(e.config.pointerEventsCheck!==lt.Never&&(!r||eb(e.config.pointerEventsCheck,lt.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||eb(e.config.pointerEventsCheck,lt.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=Kx(t);return t[Zm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function pt(e,t){let r=tb(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\`:`,"",Gx(r.tree)].join(`
60
60
  `))}function Gx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Xx(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(`
61
- `)}function Xx(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(x(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(x(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 eb(e,t){return(e&t)>0}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ha=class{init(t){let r=this.getTarget(t),[,n]=ct(null,r),o=this.getEventInit();return pt(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,!va(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=ct(o,i);return{leave:()=>{kt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{pt(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",a),l.forEach(u=>t.dispatchUIEvent(u,"pointerenter",a)))},move:()=>{t.dispatchUIEvent(i,"pointermove",a)}}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);pt(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);pt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=ct(r,null),o=this.getEventInit();kt(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:Cr(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Oe(this,"pointerId",void 0),Oe(this,"pointerType",void 0),Oe(this,"isPrimary",void 0),Oe(this,"buttons",void 0),Oe(this,"isMultitouch",!1),Oe(this,"isCancelled",!1),Oe(this,"isDown",!1),Oe(this,"isPrevented",!1),Oe(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ga=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),a=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i?.leave(),a?.leave(),i?.enter(),a?.enter(),i?.move(),a?.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)),a=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 s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.down(t,r,a)}if(!i.isMultitouch){let s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.up(t,r,a)}}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){Ze(this,"system",void 0),Ze(this,"mouse",void 0),Ze(this,"buttons",void 0),Ze(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 ba}constructor(){Ze(this,"registry",{})}}),Ze(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return i||Object.values(this.registry).forEach(a=>{a.pointerType===n&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[r]=new ha({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(){Ze(this,"registry",{}),Ze(this,"nextId",1)}}),this.system=t,this.buttons=new Mt,this.mouse=new ya,this.pointers.new("mouse","mouse",this.buttons)}};function rb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tr=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(){rb(this,"keyboard",new ma(this)),rb(this,"pointer",new ga(this))}};async function nb(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function ob(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function ib(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function ab(e){return this.pointer({target:e})}async function sb(e){return pt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function lb({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var ub={"{":"}","[":"]"};function Ea(e,t){let r=0,n=e[r]in ub?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Qx(e,r,t):Yx(e,r,i,t)}}function Qx(e,t,r){let n=e[t];return cb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Yx(e,t,r,n){var o,i,a;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];cb(u,e,t,n),t+=u.length;let c=(o=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&o!==void 0?o:"";t+=c.length;let d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;let m=ub[r],y=e[t]===m?m:"";if(!y)throw new Error(db([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=y.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Jx(d,c)}}function cb(e,t,r,n){if(!e)throw new Error(db("key descriptor",t[r],t,n))}function Jx(e,t){if(e)return e==="/";if(t)return!1}function db(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
61
+ `)}function Xx(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(x(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(x(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 eb(e,t){return(e&t)>0}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ha=class{init(t){let r=this.getTarget(t),[,n]=ct(null,r),o=this.getEventInit();return pt(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,!va(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=ct(o,i);return{leave:()=>{kt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{pt(t,i),o!==i&&(t.dispatchUIEvent(i,"pointerover",a),l.forEach(u=>t.dispatchUIEvent(u,"pointerenter",a)))},move:()=>{t.dispatchUIEvent(i,"pointermove",a)}}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);pt(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);pt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=ct(r,null),o=this.getEventInit();kt(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:Cr(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Oe(this,"pointerId",void 0),Oe(this,"pointerType",void 0),Oe(this,"isPrimary",void 0),Oe(this,"buttons",void 0),Oe(this,"isMultitouch",!1),Oe(this,"isCancelled",!1),Oe(this,"isDown",!1),Oe(this,"isPrevented",!1),Oe(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ga=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),a=o.pointerType==="touch"?void 0:this.mouse.move(t,n,o.isPrevented);i?.leave(),a?.leave(),i?.enter(),a?.enter(),i?.move(),a?.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)),a=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 s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.down(t,r,a)}if(!i.isMultitouch){let s=this.mouse.move(t,n,a);s?.leave(),s?.enter(),s?.move(),this.mouse.up(t,r,a)}}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){Ze(this,"system",void 0),Ze(this,"mouse",void 0),Ze(this,"buttons",void 0),Ze(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 ba}constructor(){Ze(this,"registry",{})}}),Ze(this,"pointers",new class{new(r,n,o){let i=n!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return i||Object.values(this.registry).forEach(a=>{a.pointerType===n&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[r]=new ha({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(){Ze(this,"registry",{}),Ze(this,"nextId",1)}}),this.system=t,this.buttons=new Mt,this.mouse=new ya,this.pointers.new("mouse","mouse",this.buttons)}};function rb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tr=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(){rb(this,"keyboard",new ma(this)),rb(this,"pointer",new ga(this))}};async function nb(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function ob(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function ib(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function ab(e){return this.pointer({target:e})}async function sb(e){return pt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function lb({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var ub={"{":"}","[":"]"};function Ea(e,t){let r=0,n=e[r]in ub?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Yx(e,r,t):Qx(e,r,i,t)}}function Yx(e,t,r){let n=e[t];return cb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Qx(e,t,r,n){var o,i,a;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];cb(u,e,t,n),t+=u.length;let c=(o=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&o!==void 0?o:"";t+=c.length;let d=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=d.length;let m=ub[r],y=e[t]===m?m:"";if(!y)throw new Error(db([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=y.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Jx(d,c)}}function cb(e,t,r,n){if(!e)throw new Error(db("key descriptor",t[r],t,n))}function Jx(e,t){if(e)return e==="/";if(t)return!1}function db(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
62
62
  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"}
63
- for more information about how userEvent parses your input.`}function pb(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=Ea(t,"keyboard"),c=(n=e.find(d=>{if(o==="["){var m;return((m=d.code)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}else if(o==="{"){var y;return((y=d.key)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function fb(e){let t=pb(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await Zx(this,t[r])}async function Zx(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 a=1;a<=o;a++)await i.keyboard.keydown(e,t,a>1),a<o&&await Re(e.config);n&&await i.keyboard.keyup(e,t)}}async function mb(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function wa(e){let t=X(e)?{"text/plain":eq(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=vt(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function eq(e){let t=Me(e);return Z(e).substring(t.startOffset,t.endOffset)}async function bb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=wa(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Dr(t,n),n}async function vb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=wa(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Dr(r.ownerDocument,n),n}async function yb(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"?tq(n,e):e)!==null&&r!==void 0?r:await Bl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function tq(e,t){let r=vt(V(e));return r.setData("text",t),r}function Ys(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=Ea(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function gb(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Ys(t,n)):"keys"in n?r.push(...Ys(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Re(this.config),await rq(this,r[n]);this.system.pointer.resetClickCount()}async function rq(e,t){var r,n,o,i,a,s;let l="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",u=e.system.pointer.getPreviousPosition(l),c={target:(r=t.target)!==null&&r!==void 0?r:nq(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:hb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:hb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(st(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(st(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(st(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(st(e,re.Trigger),await e.system.pointer.move(e,l,c))}function hb(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 nq(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 Eb(e){if(!ve(e)||te(e))throw new Error("clear()` is only supported on editable elements.");if(se(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(fa(e),!qm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function wb(e,t){return Cb.call(this,!0,e,t)}async function _b(e,t){return Cb.call(this,!1,e,t)}async function Cb(e,t,r){if(!e&&!t.multiple)throw I().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(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw I().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!te(s));if(te(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(x(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:kt(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),se(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await Re(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:kt(this,t);s?await this.click(t):se(t),a(i[0]),s&&(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 Re(this.config)}else throw I().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw I().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Pb(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&&at(e,o,i??o),await this.keyboard(t),n||await mb(this))}var Tb=Symbol("files and value properties are mocked");function Js(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Rb(e,t){var r;(r=e[Tb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Js(e,"type",n),Js(e,"value",o),Js(e,"files",i)}e[Tb]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var l;o==null||(l=o.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function Sb(e,t){let r=x(e,"label")?e.control:e;if(!r||!x(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(te(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||oq(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((a,s)=>{var l;return a===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(Rb(r,Ft(V(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function _a(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function oq(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return _a(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?_a(e.name).endsWith(n):r.includes(n)?_a(e.type).startsWith(n.replace("*","")):_a(e.type)===n)}var Zs={click:nb,dblClick:ob,tripleClick:ib,hover:ab,unhover:sb,tab:lb,keyboard:fb,copy:bb,cut:vb,paste:yb,pointer:gb,clear:Eb,deselectOptions:_b,selectOptions:wb,type:Pb,upload:Sb};function xb(e){return I().asyncWrapper(e)}var qb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:zm,pointerMap:Km,pointerEventsCheck:lt.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},iq={...qb,writeToClipboard:!0};function Ab(e={},t=iq,r){let n=lq(e,r,t);return{...t,...e,document:n}}function Mb(e={}){var t;let r=Ab(e);Xs(r.document),Ks(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return Dl(n),el(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=Ab(r,qb,n);Xs(i.document),Ks(V(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Tr;return{api:el(i,a).api,system:a}}function aq(e){return el({...this.config,...e},this.system).api}function sq(e,t){function r(...n){return st(e,re.Call),xb(()=>t.apply(e,n).then(async o=>(await Re(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function el(e,t=new Tr){let r={};return Object.assign(r,{config:e,dispatchEvent:zs.bind(r),dispatchUIEvent:Lm.bind(r),system:t,levelRefs:{},...Zs}),{instance:r,api:{...Object.fromEntries(Object.entries(Zs).map(([n,o])=>[n,sq(r,o)])),setup:aq.bind(r)}}}function lq(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&Hm(t))!==null&&n!==void 0?n:r.document}var tl={};Gb(tl,{clear:()=>uq,click:()=>cq,copy:()=>dq,cut:()=>pq,dblClick:()=>fq,deselectOptions:()=>mq,hover:()=>bq,keyboard:()=>vq,paste:()=>hq,pointer:()=>yq,selectOptions:()=>gq,tab:()=>Pq,tripleClick:()=>Eq,type:()=>wq,unhover:()=>_q,upload:()=>Cq});function uq(e){return ee().api.clear(e)}function cq(e,t={}){return ee(t,e).api.click(e)}function dq(e={}){return ee(e).api.copy()}function pq(e={}){return ee(e).api.cut()}function fq(e,t={}){return ee(t).api.dblClick(e)}function mq(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function bq(e,t={}){return ee(t).api.hover(e)}async function vq(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function yq(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function hq(e,t){return ee(t).api.paste(e)}function gq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function Eq(e,t={}){return ee(t).api.tripleClick(e)}function wq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function _q(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Cq(e,t,r={}){return ee(r).api.upload(e,t)}function Pq(e={}){return ee().api.tab(e)}var Ca={...tl,setup:Mb};var kb=!1,Ob=!1,rl=null;function Tq(e){return new Promise(t=>setTimeout(t,e))}function Ib(e){try{if(typeof e=="string")return new URL(e,Rq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function Rq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function Sq(e,t){if(t?.method)return String(t.method).toUpperCase();try{if(typeof Request<"u"&&e instanceof Request&&e.method)return String(e.method).toUpperCase()}catch{}return"GET"}function xq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function qq(e){let t=kr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Bt(e.body),{status:e.statusCode,headers:r})}async function Aq(e,t,r){let n=Ib(t),o=Sq(t,r),i=Nt(rl?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:xq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Dt(i);return s.delayMs&&s.delayMs>0&&await Tq(s.delayMs),qq(s)}function Mq(){let e=globalThis.XMLHttpRequest;function t(){let r=new e,n="GET",o="",i=e.prototype.open.bind(r),a=e.prototype.send.bind(r);return r.open=(s,l,...u)=>{n=String(s).toUpperCase(),o=Ib(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Nt(rl?.()??[],o,n);if(!l)return a(s);let u={url:o,method:n,headers:void 0,postData:typeof s=="string"?s:void 0,timestamp:Date.now()};Lt(l,u);let c=()=>{r.dispatchEvent(new Event("error"))};if(l.aborted){setTimeout(c,0);return}let d=Dt(l),m=()=>{let y=Bt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:y,configurable:!0},response:{value:y,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};d.delayMs&&d.delayMs>0?setTimeout(m,d.delayMs):setTimeout(m,0)},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function Nb(e){if(rl=e,!kb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>Aq(t,r,n),kb=!0}!Ob&&typeof globalThis.XMLHttpRequest=="function"&&(Mq(),Ob=!0)}function ft(){return Ca.setup({delay:null})}function Pa(e){return Tl(e.trim())??e.trim()}function Bb(e,t){let r=Pa(e),o=(()=>{if(t===null)return document.querySelector(r);let a=Array.from(document.querySelectorAll(r));return t>=0?a[t]??null:a[a.length+t]??null})();if(o!==null)return o;let i=La(e.trim());return i?Rl(i.name,document,t):null}function et(e){return typeof e=="string"?e:e.selector}function Lb(e,t){return t==null?e[0]??null:t>=0?e[t]??null:e[e.length+t]??null}function nl(e,t){if(!t)return!0;try{return e.matches(t)}catch{return!1}}function Ta(e,t){let r=Pl(e);if(!r)return;if(r.kind==="nth"){let a=U(r.base,Number.parseInt(r.arg,10));return a?[a]:[]}let n=t?{selector:r.base,index:null,parent:t}:r.base,o=U(n,null);if(r.kind==="parent")return o?.parentElement?[o.parentElement]:[];if(r.kind==="closest"){let a=o?.closest(r.arg)??null;return a?[a]:[]}if(!o)return[];if(r.kind==="children")return Array.from(o.children).filter(a=>nl(a,r.arg));if(r.kind==="siblings"){let a=o.parentElement;return a?Array.from(a.children).filter(s=>s!==o&&nl(s,r.arg)):[]}let i=o.nextElementSibling;for(;i&&!nl(i,r.arg);)i=i.nextElementSibling;return i?[i]:[]}function U(e,t){if(typeof e=="string"){let s=Ta(e,void 0);return s!==void 0?Lb(s,t):Bb(e,t)}let r=Ta(e.selector,e.parent);if(r!==void 0)return Lb(r,e.index??t);let n=e.parent?U(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Pa(e.selector),i=Array.from(n.querySelectorAll(o)),a=e.index??t;return a==null?i[0]??null:a>=0?i[a]??null:i[i.length+a]??null}function Db(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}function ol(e){if(e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA")return null;let t=e;return t.tagName==="INPUT"&&wl.includes(t.type)?null:typeof t.value=="string"?t.value:null}var Ra=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=U(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=U(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+et(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.waitForScopedEl(t,r);await ft().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await ft().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await ft().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!Db(o))throw new Error("Element is not a form field: "+et(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=String(r),a=ft();await a.clear(o);let s=ol(o);if(i.length>0){if(await a.type(o,i),Ia(i,ol(o),s))return;o.focus(),await a.clear(o),await a.type(o,i);let l=ol(o);if(!Ia(i,l,s))throw _l(et(t),i,l??"")}}async upload(t,r,n=null){let o=await this.waitForScopedEl(t,n),i=Array.isArray(r)?r:[r],a=[],s={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",webp:"image/webp",pdf:"application/pdf",json:"application/json",txt:"text/plain",csv:"text/csv"};for(let l of i)if(typeof l=="string"){let u="file.bin",c="application/octet-stream",d;if(l.startsWith("data:")){let m=l.indexOf(","),y=l.slice(0,m),P=l.slice(m+1),C=y.match(/data:([^;]+)/);C&&(c=C[1]);let T=y.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),g=new Uint8Array(f.length);for(let w=0;w<f.length;w++)g[w]=f.charCodeAt(w);d=new Blob([g],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let y=u.split(".").pop()?.toLowerCase()||"";c=s[y]||"application/octet-stream",d=new Blob(["Mock file content for "+u],{type:c})}a.push(new File([d],u,{type:c}))}else if(l instanceof File)a.push(l);else if(l&&typeof l=="object"&&"name"in l){let u=l,c=u.type||"application/octet-stream",d;if(u.base64)try{let m=atob(u.base64),y=new Uint8Array(m.length);for(let P=0;P<m.length;P++)y[P]=m.charCodeAt(P);d=new Blob([y],{type:c})}catch{d=new Blob([u.base64],{type:c})}else d=new Blob([u.content||"Mock content"],{type:c});a.push(new File([d],u.name,{type:c}))}if(a.length>0){let l=new DataTransfer;for(let u of a)l.items.add(u);o.files=l.files,o.dispatchEvent(new Event("input",{bubbles:!0})),o.dispatchEvent(new Event("change",{bubbles:!0}))}}async clearValue(t,r=null){let n=await this.waitForScopedEl(t,r);await ft().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=U(t,n);if(!i||i.tagName!=="SELECT")return!1;for(let a=0;a<i.options.length;a++){let s=i.options[a];if(s.text===r||s.value===r)return i.selectedIndex=a,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.waitForScopedEl(t,r);await ft().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=U(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+et(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=U(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+et(t))}async waitForElementRemoved(t,r=5e3,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isExisting(t,n),r))throw new Error("Element still exists after timeout: "+et(t))}async waitForUndisplayed(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isDisplayed(t,n),r?.timeout??5e3))throw new Error("Element still displayed after timeout: "+et(t))}async waitForClickable(t,r,n=null){return await globalThis.__TS_RUNTIME__.pollCondition(async()=>this.isClickable(t,n),r?.timeout??5e3)}async getBounds(t,r=null){let n=U(t,r);if(!n)return{x:0,y:0,top:0,right:0,bottom:0,left:0,width:0,height:0};let o=n.getBoundingClientRect();return{x:o.x,y:o.y,top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height}}async closest(t,r,n=null){let o=U(t,n);if(!o)return null;let i=o.closest(r);return i?i.tagName.toLowerCase():null}async clickAt(t,r){document.elementFromPoint(t,r)?.click()}async dragDrop(t,r,n=null){let o=U(t,n),i=Bb(r,null);if(!o||!i)throw new Error("Drag source or destination not found");let a=new DataTransfer;o.dispatchEvent(new DragEvent("dragstart",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("dragover",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("drop",{bubbles:!0,dataTransfer:a})),o.dispatchEvent(new DragEvent("dragend",{bubbles:!0,dataTransfer:a}))}async longPress(t,r,n=null){let o=U(t,n);if(!o)throw new Error("Element not found: "+et(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){U(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=U(t,r);return n?n.textContent??"":""}async getValue(t,r=null){let n=U(t,r);return n?Db(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=U(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 U(t,r)!==null}async isEnabled(t,r=null){let n=U(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=U(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=U(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=U(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=U(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=U(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=U(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string"){let o=Ta(t,void 0);return o!==void 0?o.length:document.querySelectorAll(Pa(t)).length}let r=Ta(t.selector,t.parent);if(r!==void 0)return r.length;let n=t.parent?U(t.parent,t.parent.index):document.documentElement;return n?n.querySelectorAll(Pa(t.selector)).length:0}async pressKey(t){let r=Cl(t);if(r?.code){await ft().keyboard(`{${r.code}}`);return}let n=document.activeElement||document.body,o=String(t);n.dispatchEvent(new KeyboardEvent("keydown",{key:o,bubbles:!0})),n.dispatchEvent(new KeyboardEvent("keyup",{key:o,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){if(typeof t=="function"){let n=r.map(o=>{let i=ka(o);return i?U(i,null):o});return t(...n)}return 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){let i=Mr(t,r,n,o);return Nb(()=>this.mockRules),this.mockRules.push(i),Ar(i,()=>{let a=this.mockRules.indexOf(i);a!==-1&&this.mockRules.splice(a,1)})}clearMocks(){this.mockRules=[]}};var Sa="spectra-root",mt=null,Rr=null;async function kq(){if(typeof window<"u"&&window.__TESTSPECTRA_CREATE_ROOT__)return window.__TESTSPECTRA_CREATE_ROOT__;if(Rr)return Rr;try{let e=await import("react-dom/client");if(Rr=e.createRoot||e.default?.createRoot||e.default,Rr)return Rr}catch{}throw new Error("Could not find react-dom/client createRoot. Ensure react-dom is installed in your project.")}function Oq(){let e=document.getElementById(Sa);return e||(e=document.createElement("div"),e.id=Sa,document.body.appendChild(e)),e}function Fb(){if(mt){try{mt.unmount()}catch{try{mt.render(null)}catch{}}mt=null}let e=document.getElementById(Sa);e&&(e.innerHTML="")}async function Ub(e){let t=Oq();mt||(mt=(await kq())(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()=>(mt.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Sa}`)))}var $b=new Ra;al($b);globalThis.browser=$b;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Te(e)};var il=Sl();il.mount=Ub;il.unmount=Fb;globalThis.Spectra=il;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await Ba();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})))});typeof document<"u"&&document.addEventListener("click",e=>{e.target?.closest?.("a[href]")&&e.preventDefault()},!0);globalThis.__SPECTRA_READY__=!0;
63
+ for more information about how userEvent parses your input.`}function pb(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=Ea(t,"keyboard"),c=(n=e.find(d=>{if(o==="["){var m;return((m=d.code)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}else if(o==="{"){var y;return((y=d.key)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function fb(e){let t=pb(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await Zx(this,t[r])}async function Zx(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 a=1;a<=o;a++)await i.keyboard.keydown(e,t,a>1),a<o&&await Re(e.config);n&&await i.keyboard.keyup(e,t)}}async function mb(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function wa(e){let t=X(e)?{"text/plain":eq(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=vt(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function eq(e){let t=Me(e);return Z(e).substring(t.startOffset,t.endOffset)}async function bb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=wa(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Dr(t,n),n}async function vb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=wa(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Dr(r.ownerDocument,n),n}async function yb(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"?tq(n,e):e)!==null&&r!==void 0?r:await Bl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function tq(e,t){let r=vt(V(e));return r.setData("text",t),r}function Qs(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=Ea(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:i,releaseSelf:a}),t=t.slice(o)}while(t);return r}async function gb(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Qs(t,n)):"keys"in n?r.push(...Qs(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Re(this.config),await rq(this,r[n]);this.system.pointer.resetClickCount()}async function rq(e,t){var r,n,o,i,a,s;let l="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",u=e.system.pointer.getPreviousPosition(l),c={target:(r=t.target)!==null&&r!==void 0?r:nq(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:hb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:hb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(st(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(st(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(st(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(st(e,re.Trigger),await e.system.pointer.move(e,l,c))}function hb(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 nq(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 Eb(e){if(!ve(e)||te(e))throw new Error("clear()` is only supported on editable elements.");if(se(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(fa(e),!qm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function wb(e,t){return Cb.call(this,!0,e,t)}async function _b(e,t){return Cb.call(this,!1,e,t)}async function Cb(e,t,r){if(!e&&!t.multiple)throw N().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(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw N().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!te(s));if(te(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(x(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:kt(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),se(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await Re(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:kt(this,t);s?await this.click(t):se(t),a(i[0]),s&&(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 Re(this.config)}else throw N().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw N().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function Pb(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&&at(e,o,i??o),await this.keyboard(t),n||await mb(this))}var Tb=Symbol("files and value properties are mocked");function Js(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Rb(e,t){var r;(r=e[Tb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Js(e,"type",n),Js(e,"value",o),Js(e,"files",i)}e[Tb]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var l;o==null||(l=o.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function Sb(e,t){let r=x(e,"label")?e.control:e;if(!r||!x(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(te(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||oq(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((a,s)=>{var l;return a===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(Rb(r,Ft(V(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function _a(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function oq(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return _a(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?_a(e.name).endsWith(n):r.includes(n)?_a(e.type).startsWith(n.replace("*","")):_a(e.type)===n)}var Zs={click:nb,dblClick:ob,tripleClick:ib,hover:ab,unhover:sb,tab:lb,keyboard:fb,copy:bb,cut:vb,paste:yb,pointer:gb,clear:Eb,deselectOptions:_b,selectOptions:wb,type:Pb,upload:Sb};function xb(e){return N().asyncWrapper(e)}var qb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:zm,pointerMap:Km,pointerEventsCheck:lt.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},iq={...qb,writeToClipboard:!0};function Ab(e={},t=iq,r){let n=lq(e,r,t);return{...t,...e,document:n}}function Mb(e={}){var t;let r=Ab(e);Xs(r.document),Ks(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return Dl(n),el(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=Ab(r,qb,n);Xs(i.document),Ks(V(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Tr;return{api:el(i,a).api,system:a}}function aq(e){return el({...this.config,...e},this.system).api}function sq(e,t){function r(...n){return st(e,re.Call),xb(()=>t.apply(e,n).then(async o=>(await Re(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function el(e,t=new Tr){let r={};return Object.assign(r,{config:e,dispatchEvent:zs.bind(r),dispatchUIEvent:Lm.bind(r),system:t,levelRefs:{},...Zs}),{instance:r,api:{...Object.fromEntries(Object.entries(Zs).map(([n,o])=>[n,sq(r,o)])),setup:aq.bind(r)}}}function lq(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&Hm(t))!==null&&n!==void 0?n:r.document}var tl={};Gb(tl,{clear:()=>uq,click:()=>cq,copy:()=>dq,cut:()=>pq,dblClick:()=>fq,deselectOptions:()=>mq,hover:()=>bq,keyboard:()=>vq,paste:()=>hq,pointer:()=>yq,selectOptions:()=>gq,tab:()=>Pq,tripleClick:()=>Eq,type:()=>wq,unhover:()=>_q,upload:()=>Cq});function uq(e){return ee().api.clear(e)}function cq(e,t={}){return ee(t,e).api.click(e)}function dq(e={}){return ee(e).api.copy()}function pq(e={}){return ee(e).api.cut()}function fq(e,t={}){return ee(t).api.dblClick(e)}function mq(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function bq(e,t={}){return ee(t).api.hover(e)}async function vq(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function yq(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function hq(e,t){return ee(t).api.paste(e)}function gq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function Eq(e,t={}){return ee(t).api.tripleClick(e)}function wq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function _q(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function Cq(e,t,r={}){return ee(r).api.upload(e,t)}function Pq(e={}){return ee().api.tab(e)}var Ca={...tl,setup:Mb};var kb=!1,Ob=!1,rl=null;function Tq(e){return new Promise(t=>setTimeout(t,e))}function Ib(e){try{if(typeof e=="string")return new URL(e,Rq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function Rq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function Sq(e,t){if(t?.method)return String(t.method).toUpperCase();try{if(typeof Request<"u"&&e instanceof Request&&e.method)return String(e.method).toUpperCase()}catch{}return"GET"}function xq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function qq(e){let t=kr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Bt(e.body),{status:e.statusCode,headers:r})}async function Aq(e,t,r){let n=Ib(t),o=Sq(t,r),i=Nt(rl?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:xq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Dt(i);return s.delayMs&&s.delayMs>0&&await Tq(s.delayMs),qq(s)}function Mq(){let e=globalThis.XMLHttpRequest;function t(){let r=new e,n="GET",o="",i=e.prototype.open.bind(r),a=e.prototype.send.bind(r);return r.open=(s,l,...u)=>{n=String(s).toUpperCase(),o=Ib(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Nt(rl?.()??[],o,n);if(!l)return a(s);let u={url:o,method:n,headers:void 0,postData:typeof s=="string"?s:void 0,timestamp:Date.now()};Lt(l,u);let c=()=>{r.dispatchEvent(new Event("error"))};if(l.aborted){setTimeout(c,0);return}let d=Dt(l),m=()=>{let y=Bt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:y,configurable:!0},response:{value:y,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};d.delayMs&&d.delayMs>0?setTimeout(m,d.delayMs):setTimeout(m,0)},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function Nb(e){if(rl=e,!kb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>Aq(t,r,n),kb=!0}!Ob&&typeof globalThis.XMLHttpRequest=="function"&&(Mq(),Ob=!0)}function ft(){return Ca.setup({delay:null})}function Pa(e){return Tl(e.trim())??e.trim()}function Bb(e,t){let r=Pa(e),o=(()=>{if(t===null)return document.querySelector(r);let a=Array.from(document.querySelectorAll(r));return t>=0?a[t]??null:a[a.length+t]??null})();if(o!==null)return o;let i=La(e.trim());return i?Rl(i.name,document,t):null}function et(e){return typeof e=="string"?e:e.selector}function Lb(e,t){return t==null?e[0]??null:t>=0?e[t]??null:e[e.length+t]??null}function nl(e,t){if(!t)return!0;try{return e.matches(t)}catch{return!1}}function Ta(e,t){let r=Pl(e);if(!r)return;if(r.kind==="nth"){let a=U(r.base,Number.parseInt(r.arg,10));return a?[a]:[]}let n=t?{selector:r.base,index:null,parent:t}:r.base,o=U(n,null);if(r.kind==="parent")return o?.parentElement?[o.parentElement]:[];if(r.kind==="closest"){let a=o?.closest(r.arg)??null;return a?[a]:[]}if(!o)return[];if(r.kind==="children")return Array.from(o.children).filter(a=>nl(a,r.arg));if(r.kind==="siblings"){let a=o.parentElement;return a?Array.from(a.children).filter(s=>s!==o&&nl(s,r.arg)):[]}let i=o.nextElementSibling;for(;i&&!nl(i,r.arg);)i=i.nextElementSibling;return i?[i]:[]}function U(e,t){if(typeof e=="string"){let s=Ta(e,void 0);return s!==void 0?Lb(s,t):Bb(e,t)}let r=Ta(e.selector,e.parent);if(r!==void 0)return Lb(r,e.index??t);let n=e.parent?U(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Pa(e.selector),i=Array.from(n.querySelectorAll(o)),a=e.index??t;return a==null?i[0]??null:a>=0?i[a]??null:i[i.length+a]??null}function Db(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}function ol(e){if(e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA")return null;let t=e;return t.tagName==="INPUT"&&wl.includes(t.type)?null:typeof t.value=="string"?t.value:null}var Ra=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=U(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=U(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+et(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.waitForScopedEl(t,r);await ft().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await ft().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await ft().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!Db(o))throw new Error("Element is not a form field: "+et(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=String(r),a=ft();await a.clear(o);let s=ol(o);if(i.length>0){if(await a.type(o,i),Ia(i,ol(o),s))return;o.focus(),await a.clear(o),await a.type(o,i);let l=ol(o);if(!Ia(i,l,s))throw _l(et(t),i,l??"")}}async upload(t,r,n=null){let o=await this.waitForScopedEl(t,n),i=Array.isArray(r)?r:[r],a=[],s={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",webp:"image/webp",pdf:"application/pdf",json:"application/json",txt:"text/plain",csv:"text/csv"};for(let l of i)if(typeof l=="string"){let u="file.bin",c="application/octet-stream",d;if(l.startsWith("data:")){let m=l.indexOf(","),y=l.slice(0,m),P=l.slice(m+1),C=y.match(/data:([^;]+)/);C&&(c=C[1]);let T=y.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),g=new Uint8Array(f.length);for(let w=0;w<f.length;w++)g[w]=f.charCodeAt(w);d=new Blob([g],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let y=u.split(".").pop()?.toLowerCase()||"";c=s[y]||"application/octet-stream",d=new Blob(["Mock file content for "+u],{type:c})}a.push(new File([d],u,{type:c}))}else if(l instanceof File)a.push(l);else if(l&&typeof l=="object"&&"name"in l){let u=l,c=u.type||"application/octet-stream",d;if(u.base64)try{let m=atob(u.base64),y=new Uint8Array(m.length);for(let P=0;P<m.length;P++)y[P]=m.charCodeAt(P);d=new Blob([y],{type:c})}catch{d=new Blob([u.base64],{type:c})}else d=new Blob([u.content||"Mock content"],{type:c});a.push(new File([d],u.name,{type:c}))}if(a.length>0){let l=new DataTransfer;for(let u of a)l.items.add(u);o.files=l.files,o.dispatchEvent(new Event("input",{bubbles:!0})),o.dispatchEvent(new Event("change",{bubbles:!0}))}}async clearValue(t,r=null){let n=await this.waitForScopedEl(t,r);await ft().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=U(t,n);if(!i||i.tagName!=="SELECT")return!1;for(let a=0;a<i.options.length;a++){let s=i.options[a];if(s.text===r||s.value===r)return i.selectedIndex=a,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.waitForScopedEl(t,r);await ft().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=U(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+et(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=U(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+et(t))}async waitForElementRemoved(t,r=5e3,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isExisting(t,n),r))throw new Error("Element still exists after timeout: "+et(t))}async waitForUndisplayed(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>!await this.isDisplayed(t,n),r?.timeout??5e3))throw new Error("Element still displayed after timeout: "+et(t))}async waitForClickable(t,r,n=null){return await globalThis.__TS_RUNTIME__.pollCondition(async()=>this.isClickable(t,n),r?.timeout??5e3)}async getBounds(t,r=null){let n=U(t,r);if(!n)return{x:0,y:0,top:0,right:0,bottom:0,left:0,width:0,height:0};let o=n.getBoundingClientRect();return{x:o.x,y:o.y,top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height}}async closest(t,r,n=null){let o=U(t,n);if(!o)return null;let i=o.closest(r);return i?i.tagName.toLowerCase():null}async clickAt(t,r){document.elementFromPoint(t,r)?.click()}async dragDrop(t,r,n=null){let o=U(t,n),i=Bb(r,null);if(!o||!i)throw new Error("Drag source or destination not found");let a=new DataTransfer;o.dispatchEvent(new DragEvent("dragstart",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("dragover",{bubbles:!0,dataTransfer:a})),i.dispatchEvent(new DragEvent("drop",{bubbles:!0,dataTransfer:a})),o.dispatchEvent(new DragEvent("dragend",{bubbles:!0,dataTransfer:a}))}async longPress(t,r,n=null){let o=U(t,n);if(!o)throw new Error("Element not found: "+et(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){U(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=U(t,r);return n?n.textContent??"":""}async getValue(t,r=null){let n=U(t,r);return n?Db(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=U(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 U(t,r)!==null}async isEnabled(t,r=null){let n=U(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=U(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=U(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=U(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=U(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=U(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=U(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string"){let o=Ta(t,void 0);return o!==void 0?o.length:document.querySelectorAll(Pa(t)).length}let r=Ta(t.selector,t.parent);if(r!==void 0)return r.length;let n=t.parent?U(t.parent,t.parent.index):document.documentElement;return n?n.querySelectorAll(Pa(t.selector)).length:0}async pressKey(t){let r=Cl(t);if(r?.code){await ft().keyboard(`{${r.code}}`);return}let n=document.activeElement||document.body,o=String(t);n.dispatchEvent(new KeyboardEvent("keydown",{key:o,bubbles:!0})),n.dispatchEvent(new KeyboardEvent("keyup",{key:o,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){if(typeof t=="function"){let n=r.map(o=>{let i=ka(o);return i?U(i,null):o});return t(...n)}return 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){let i=Mr(t,r,n,o);return Nb(()=>this.mockRules),this.mockRules.push(i),Ar(i,()=>{let a=this.mockRules.indexOf(i);a!==-1&&this.mockRules.splice(a,1)})}clearMocks(){this.mockRules=[]}};var Sa="spectra-root",mt=null,Rr=null;async function kq(){if(typeof window<"u"&&window.__TESTSPECTRA_CREATE_ROOT__)return window.__TESTSPECTRA_CREATE_ROOT__;if(Rr)return Rr;try{let e=await import("react-dom/client");if(Rr=e.createRoot||e.default?.createRoot||e.default,Rr)return Rr}catch{}throw new Error("Could not find react-dom/client createRoot. Ensure react-dom is installed in your project.")}function Oq(){let e=document.getElementById(Sa);return e||(e=document.createElement("div"),e.id=Sa,document.body.appendChild(e)),e}function Fb(){if(mt){try{mt.unmount()}catch{try{mt.render(null)}catch{}}mt=null}let e=document.getElementById(Sa);e&&(e.innerHTML="")}async function Ub(e){let t=Oq();mt||(mt=(await kq())(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()=>(mt.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Sa}`)))}var $b=new Ra;al($b);globalThis.browser=$b;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Te(e)};var il=Sl();il.mount=Ub;il.unmount=Fb;globalThis.Spectra=il;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await Ba();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})))});typeof document<"u"&&document.addEventListener("click",e=>{e.target?.closest?.("a[href]")&&e.preventDefault()},!0);globalThis.__SPECTRA_READY__=!0;
64
64
  /*! Bundled license information:
65
65
 
66
66
  react-is/cjs/react-is.production.min.js: