@testspectra/react 1.2.4 → 1.2.5

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,48 +1,48 @@
1
- var Rb=Object.create;var Ra=Object.defineProperty;var Sb=Object.getOwnPropertyDescriptor;var xb=Object.getOwnPropertyNames;var qb=Object.getPrototypeOf,Ab=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Mb=(e,t)=>{for(var r in t)Ra(e,r,{get:t[r],enumerable:!0})},kb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xb(t))!Ab.call(e,o)&&o!==r&&Ra(e,o,{get:()=>t[o],enumerable:!(n=Sb(t,o))||n.enumerable});return e};var Sa=(e,t,r)=>(r=e!=null?Rb(qb(e)):{},kb(t||!e||!e.__esModule?Ra(r,"default",{value:e,enumerable:!0}):r,e));var Da=p((UA,Ml)=>{"use strict";var ql=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Al=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Kb(){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=ql(),t.color.ansi16m=Al(),t.bgColor.ansi256=ql(10),t.bgColor.ansi16m=Al(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(Ml,"exports",{enumerable:!0,get:Kb})});var $t=p(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.printIteratorEntries=Qb;ht.printIteratorValues=Jb;ht.printListItems=Yb;ht.printObjectProperties=Zb;var Xb=(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 Qb(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 Jb(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 Yb(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 Zb(e,t,r,n,o,i){let a="",s=Xb(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 Nl=p(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.test=Be.serialize=Be.default=void 0;var kl=$t(),jr=(function(){return typeof globalThis<"u"?globalThis:typeof jr<"u"?jr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Fa=jr["jest-symbol-do-not-touch"]||jr.Symbol,ev=typeof Fa=="function"&&Fa.for?Fa.for("jest.asymmetricMatcher"):1267621,Ur=" ",Ol=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"["+(0,kl.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"{"+(0,kl.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+Ur+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};Be.serialize=Ol;var Il=e=>e&&e.$$typeof===ev;Be.test=Il;var tv={serialize:Ol,test:Il},rv=tv;Be.default=rv});var Bl=p((HA,Ll)=>{"use strict";Ll.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 $l=p(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.test=De.serialize=De.default=void 0;var Dl=Fl(Bl()),U=Fl(Da());function Fl(e){return e&&e.__esModule?e:{default:e}}var nv=e=>e.replace((0,Dl.default)(),t=>{switch(t){case U.default.red.close:case U.default.green.close:case U.default.cyan.close:case U.default.gray.close:case U.default.white.close:case U.default.yellow.close:case U.default.bgRed.close:case U.default.bgGreen.close:case U.default.bgYellow.close:case U.default.inverse.close:case U.default.dim.close:case U.default.bold.close:case U.default.reset.open:case U.default.reset.close:return"</>";case U.default.red.open:return"<red>";case U.default.green.open:return"<green>";case U.default.cyan.open:return"<cyan>";case U.default.gray.open:return"<gray>";case U.default.white.open:return"<white>";case U.default.yellow.open:return"<yellow>";case U.default.bgRed.open:return"<bgRed>";case U.default.bgGreen.open:return"<bgGreen>";case U.default.bgYellow.open:return"<bgYellow>";case U.default.inverse.open:return"<inverse>";case U.default.dim.open:return"<dim>";case U.default.bold.open:return"<bold>";default:return""}}),Ul=e=>typeof e=="string"&&!!e.match((0,Dl.default)());De.test=Ul;var jl=(e,t,r,n,o,i)=>i(nv(e),t,r,n,o);De.serialize=jl;var ov={serialize:jl,test:Ul},iv=ov;De.default=iv});var Gl=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var Hl=$t(),av=" ",Vl=["DOMStringMap","NamedNodeMap"],sv=/^(HTML\w*Collection|NodeList)$/,lv=e=>Vl.indexOf(e)!==-1||sv.test(e),Wl=e=>e&&e.constructor&&!!e.constructor.name&&lv(e.constructor.name);Fe.test=Wl;var uv=e=>e.constructor.name==="NamedNodeMap",zl=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+av)+(Vl.indexOf(a)!==-1?"{"+(0,Hl.printObjectProperties)(uv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,Hl.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Fe.serialize=zl;var cv={serialize:zl,test:Wl},dv=cv;Fe.default=dv});var Kl=p(Ua=>{"use strict";Object.defineProperty(Ua,"__esModule",{value:!0});Ua.default=pv;function pv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var $r=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 Xl=fv(Kl());function fv(e){return e&&e.__esModule?e:{default:e}}var mv=(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=mv;var bv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?Ql(a,t):i(a,t,r,n,o))).join("");ae.printChildren=bv;var Ql=(e,t)=>{let r=t.colors.content;return r.open+(0,Xl.default)(e)+r.close};ae.printText=Ql;var vv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Xl.default)(e)+"-->"+r.close};ae.printComment=vv;var yv=(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=yv;var hv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=hv});var ru=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var gt=$r(),gv=1,Jl=3,Yl=8,Zl=11,Ev=/^((HTML|SVG)\w*)?Element$/,wv=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("-")||wv(e);return r===gv&&(Ev.test(t)||o)||r===Jl&&t==="Text"||r===Yl&&t==="Comment"||r===Zl&&t==="DocumentFragment"},eu=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&_v(e)};Ue.test=eu;function Cv(e){return e.nodeType===Jl}function Pv(e){return e.nodeType===Yl}function ja(e){return e.nodeType===Zl}var tu=(e,t,r,n,o,i)=>{if(Cv(e))return(0,gt.printText)(e.data,t);if(Pv(e))return(0,gt.printComment)(e.data,t);let a=ja(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,gt.printElementAsLeaf)(a,t):(0,gt.printElement)(a,(0,gt.printProps)(ja(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),ja(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,gt.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};Ue.serialize=tu;var Tv={serialize:tu,test:eu},Rv=Tv;Ue.default=Rv});var su=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Ht=$t(),Sv="@@__IMMUTABLE_ITERABLE__@@",xv="@@__IMMUTABLE_LIST__@@",qv="@@__IMMUTABLE_KEYED__@@",Av="@@__IMMUTABLE_MAP__@@",nu="@@__IMMUTABLE_ORDERED__@@",Mv="@@__IMMUTABLE_RECORD__@@",kv="@@__IMMUTABLE_SEQ__@@",Ov="@@__IMMUTABLE_SET__@@",Iv="@@__IMMUTABLE_STACK__@@",Et=e=>"Immutable."+e,Hr=e=>"["+e+"]",Vt=" ",ou="\u2026",Nv=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function Lv(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 Bv=(e,t,r,n,o,i)=>{let a=Et(e._name||"Record");return++n>t.maxDepth?Hr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)(Lv(e),t,r,n,o,i)+"}"},Dv=(e,t,r,n,o,i)=>{let a=Et("Seq");return++n>t.maxDepth?Hr(a):e[qv]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):ou)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):ou)+"]"},$a=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",iu=(e,t,r,n,o,i)=>e[Av]?Nv(e,t,r,n,o,i,e[nu]?"OrderedMap":"Map"):e[xv]?$a(e,t,r,n,o,i,"List"):e[Ov]?$a(e,t,r,n,o,i,e[nu]?"OrderedSet":"Set"):e[Iv]?$a(e,t,r,n,o,i,"Stack"):e[kv]?Dv(e,t,r,n,o,i):Bv(e,t,r,n,o,i);je.serialize=iu;var au=e=>e&&(e[Sv]===!0||e[Mv]===!0);je.test=au;var Fv={serialize:iu,test:au},Uv=Fv;je.default=Uv});var fu=p(D=>{"use strict";var Vr=60103,Wr=60106,Wt=60107,zt=60108,Gt=60114,Kt=60109,Xt=60110,Qt=60112,Jt=60113,Ha=60120,Yt=60115,Zt=60116,lu=60121,uu=60122,cu=60117,du=60129,pu=60131;typeof Symbol=="function"&&Symbol.for&&(J=Symbol.for,Vr=J("react.element"),Wr=J("react.portal"),Wt=J("react.fragment"),zt=J("react.strict_mode"),Gt=J("react.profiler"),Kt=J("react.provider"),Xt=J("react.context"),Qt=J("react.forward_ref"),Jt=J("react.suspense"),Ha=J("react.suspense_list"),Yt=J("react.memo"),Zt=J("react.lazy"),lu=J("react.block"),uu=J("react.server.block"),cu=J("react.fundamental"),du=J("react.debug_trace_mode"),pu=J("react.legacy_hidden"));var J;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vr:switch(e=e.type,e){case Wt:case Gt:case zt:case Jt:case Ha:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Qt:case Zt:case Yt:case Kt:return e;default:return t}}case Wr:return t}}}var jv=Kt,$v=Vr,Hv=Qt,Vv=Wt,Wv=Zt,zv=Yt,Gv=Wr,Kv=Gt,Xv=zt,Qv=Jt;D.ContextConsumer=Xt;D.ContextProvider=jv;D.Element=$v;D.ForwardRef=Hv;D.Fragment=Vv;D.Lazy=Wv;D.Memo=zv;D.Portal=Gv;D.Profiler=Kv;D.StrictMode=Xv;D.Suspense=Qv;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)===Kt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vr};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)===Yt};D.isPortal=function(e){return ye(e)===Wr};D.isProfiler=function(e){return ye(e)===Gt};D.isStrictMode=function(e){return ye(e)===zt};D.isSuspense=function(e){return ye(e)===Jt};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wt||e===Gt||e===du||e===zt||e===Jt||e===Ha||e===pu||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Yt||e.$$typeof===Kt||e.$$typeof===Xt||e.$$typeof===Qt||e.$$typeof===cu||e.$$typeof===lu||e[0]===uu)};D.typeOf=ye});var bu=p((JA,mu)=>{"use strict";mu.exports=fu()});var wu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var et=Jv(bu()),zr=$r();function yu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(yu=function(n){return n?r:t})(e)}function Jv(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=yu(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 hu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{hu(r,t)}):e!=null&&e!==!1&&t.push(e),t),vu=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(et.isFragment(e))return"React.Fragment";if(et.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(et.isContextProvider(e))return"Context.Provider";if(et.isContextConsumer(e))return"Context.Consumer";if(et.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(et.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},Yv=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},gu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,zr.printElementAsLeaf)(vu(e),t):(0,zr.printElement)(vu(e),(0,zr.printProps)(Yv(e),e.props,t,r+t.indent,n,o,i),(0,zr.printChildren)(hu(e.props.children),t,r+t.indent,n,o,i),t,r);$e.serialize=gu;var Eu=e=>e!=null&&et.isElement(e);$e.test=Eu;var Zv={serialize:gu,test:Eu},ey=Zv;$e.default=ey});var Pu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var Gr=$r(),Kr=(function(){return typeof globalThis<"u"?globalThis:typeof Kr<"u"?Kr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Va=Kr["jest-symbol-do-not-touch"]||Kr.Symbol,ty=typeof Va=="function"&&Va.for?Va.for("react.test.json"):245830487,ry=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},_u=(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)(ry(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);He.serialize=_u;var Cu=e=>e&&e.$$typeof===ty;He.test=Cu;var ny={serialize:_u,test:Cu},oy=ny;He.default=oy});var Uu=p(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.default=Re.DEFAULT_OPTIONS=void 0;Re.format=Fu;Re.plugins=void 0;var iy=We(Da()),er=$t(),ay=We(Nl()),sy=We($l()),ly=We(Gl()),uy=We(ru()),cy=We(su()),dy=We(wu()),py=We(Pu());function We(e){return e&&e.__esModule?e:{default:e}}var Au=Object.prototype.toString,fy=Date.prototype.toISOString,my=Error.prototype.toString,Tu=RegExp.prototype.toString,Wa=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",by=e=>typeof window<"u"&&e===window,vy=/^Symbol\((.*)\)(.*)$/,yy=/\n/gi,Xr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function hy(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 gy(e){return Object.is(e,-0)?"-0":String(e)}function Ey(e){return`${e}n`}function Ru(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Su(e){return String(e).replace(vy,"Symbol($1)")}function xu(e){return"["+my.call(e)+"]"}function Mu(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 gy(e);if(o==="bigint")return Ey(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return Ru(e,t);if(o==="symbol")return Su(e);let i=Au.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Ru(e,t):i==="[object Symbol]"?Su(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":fy.call(e):i==="[object Error]"?xu(e):i==="[object RegExp]"?r?Tu.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Tu.call(e):e instanceof Error?xu(e):null}function ku(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 Ve(e.toJSON(),t,r,n,o,!0);let l=Au.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,er.printListItems)(e,t,r,n,o,Ve)+"]":hy(l)?a?"["+e.constructor.name+"]":(s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,er.printListItems)(e,t,r,n,o,Ve)+"]":l==="[object Map]"?a?"[Map]":"Map {"+(0,er.printIteratorEntries)(e.entries(),t,r,n,o,Ve," => ")+"}":l==="[object Set]"?a?"[Set]":"Set {"+(0,er.printIteratorValues)(e.values(),t,r,n,o,Ve)+"}":a||by(e)?"["+Wa(e)+"]":(s||!t.printBasicPrototype&&Wa(e)==="Object"?"":Wa(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,Ve)+"}"}function wy(e){return e.serialize!=null}function Ou(e,t,r,n,o,i){let a;try{a=wy(e)?e.serialize(t,r,n,o,i,Ve):e.print(t,s=>Ve(s,r,n,o,i),s=>{let l=n+r.indent;return l+s.replace(yy,`
3
- `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Xr(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 Iu(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Xr(n.message,n.stack)}return null}function Ve(e,t,r,n,o,i){let a=Iu(t.plugins,e);if(a!==null)return Ou(a,e,t,r,n,o);let s=Mu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:ku(e,t,r,n,o,i)}var za={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Nu=Object.keys(za),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:za};Re.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 Cy=e=>Nu.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:za[r],o=n&&iy.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)),Py=()=>Nu.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Lu=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,Bu=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,Du=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,qu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?Cy(e):Py(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:Bu(e),escapeString:Du(e),indent:e&&e.min?"":Ty(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:Lu(e),spacingInner:e&&e.min?" ":`
1
+ var xb=Object.create;var Sa=Object.defineProperty;var qb=Object.getOwnPropertyDescriptor;var Ab=Object.getOwnPropertyNames;var Mb=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}},Ob=(e,t)=>{for(var r in t)Sa(e,r,{get:t[r],enumerable:!0})},Ib=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ab(t))!kb.call(e,o)&&o!==r&&Sa(e,o,{get:()=>t[o],enumerable:!(n=qb(t,o))||n.enumerable});return e};var xa=(e,t,r)=>(r=e!=null?xb(Mb(e)):{},Ib(t||!e||!e.__esModule?Sa(r,"default",{value:e,enumerable:!0}):r,e));var Fa=p(($A,Ol)=>{"use strict";var Ml=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,kl=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Qb(){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=Ml(),t.color.ansi16m=kl(),t.bgColor.ansi256=Ml(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(Ol,"exports",{enumerable:!0,get:Qb})});var $t=p(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.printIteratorEntries=Yb;ht.printIteratorValues=Zb;ht.printListItems=ev;ht.printObjectProperties=tv;var Jb=(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 Yb(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 Zb(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 ev(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 tv(e,t,r,n,o,i){let a="",s=Jb(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),b=i(e[c],t,l,n,o);a+=l+d+": "+b,u<s.length-1?a+=","+t.spacingInner:t.min||(a+=",")}a+=t.spacingOuter+r}return a}});var Bl=p(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.test=De.serialize=De.default=void 0;var Il=$t(),jr=(function(){return typeof globalThis<"u"?globalThis:typeof jr<"u"?jr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Ua=jr["jest-symbol-do-not-touch"]||jr.Symbol,rv=typeof Ua=="function"&&Ua.for?Ua.for("jest.asymmetricMatcher"):1267621,Ur=" ",Nl=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"["+(0,Il.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"{"+(0,Il.printObjectProperties)(e.sample,t,r,n,o,i)+"}":a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining"?a+Ur+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};De.serialize=Nl;var Ll=e=>e&&e.$$typeof===rv;De.test=Ll;var nv={serialize:Nl,test:Ll},ov=nv;De.default=ov});var Fl=p((WA,Dl)=>{"use strict";Dl.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 Vl=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var Ul=jl(Fl()),F=jl(Fa());function jl(e){return e&&e.__esModule?e:{default:e}}var iv=e=>e.replace((0,Ul.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""}}),$l=e=>typeof e=="string"&&!!e.match((0,Ul.default)());Fe.test=$l;var Hl=(e,t,r,n,o,i)=>i(iv(e),t,r,n,o);Fe.serialize=Hl;var av={serialize:Hl,test:$l},sv=av;Fe.default=sv});var Xl=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var Wl=$t(),lv=" ",zl=["DOMStringMap","NamedNodeMap"],uv=/^(HTML\w*Collection|NodeList)$/,cv=e=>zl.indexOf(e)!==-1||uv.test(e),Gl=e=>e&&e.constructor&&!!e.constructor.name&&cv(e.constructor.name);Ue.test=Gl;var dv=e=>e.constructor.name==="NamedNodeMap",Kl=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+lv)+(zl.indexOf(a)!==-1?"{"+(0,Wl.printObjectProperties)(dv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,Wl.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Ue.serialize=Kl;var pv={serialize:Kl,test:Gl},fv=pv;Ue.default=fv});var Ql=p(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.default=mv;function mv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var $r=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 Jl=bv(Ql());function bv(e){return e&&e.__esModule?e:{default:e}}var vv=(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=vv;var yv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?Yl(a,t):i(a,t,r,n,o))).join("");ae.printChildren=yv;var Yl=(e,t)=>{let r=t.colors.content;return r.open+(0,Jl.default)(e)+r.close};ae.printText=Yl;var hv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Jl.default)(e)+"-->"+r.close};ae.printComment=hv;var gv=(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=gv;var Ev=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=Ev});var ou=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var gt=$r(),wv=1,Zl=3,eu=8,tu=11,_v=/^((HTML|SVG)\w*)?Element$/,Cv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},Pv=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Cv(e);return r===wv&&(_v.test(t)||o)||r===Zl&&t==="Text"||r===eu&&t==="Comment"||r===tu&&t==="DocumentFragment"},ru=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Pv(e)};je.test=ru;function Tv(e){return e.nodeType===Zl}function Rv(e){return e.nodeType===eu}function $a(e){return e.nodeType===tu}var nu=(e,t,r,n,o,i)=>{if(Tv(e))return(0,gt.printText)(e.data,t);if(Rv(e))return(0,gt.printComment)(e.data,t);let a=$a(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,gt.printElementAsLeaf)(a,t):(0,gt.printElement)(a,(0,gt.printProps)($a(e)?[]:Array.from(e.attributes).map(s=>s.name).sort(),$a(e)?{}:Array.from(e.attributes).reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,o,i),(0,gt.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};je.serialize=nu;var Sv={serialize:nu,test:ru},xv=Sv;je.default=xv});var uu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var Ht=$t(),qv="@@__IMMUTABLE_ITERABLE__@@",Av="@@__IMMUTABLE_LIST__@@",Mv="@@__IMMUTABLE_KEYED__@@",kv="@@__IMMUTABLE_MAP__@@",iu="@@__IMMUTABLE_ORDERED__@@",Ov="@@__IMMUTABLE_RECORD__@@",Iv="@@__IMMUTABLE_SEQ__@@",Nv="@@__IMMUTABLE_SET__@@",Lv="@@__IMMUTABLE_STACK__@@",Et=e=>"Immutable."+e,Hr=e=>"["+e+"]",Vt=" ",au="\u2026",Bv=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function Dv(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 Fv=(e,t,r,n,o,i)=>{let a=Et(e._name||"Record");return++n>t.maxDepth?Hr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)(Dv(e),t,r,n,o,i)+"}"},Uv=(e,t,r,n,o,i)=>{let a=Et("Seq");return++n>t.maxDepth?Hr(a):e[Mv]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):au)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):au)+"]"},Ha=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(Et(a)):Et(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",su=(e,t,r,n,o,i)=>e[kv]?Bv(e,t,r,n,o,i,e[iu]?"OrderedMap":"Map"):e[Av]?Ha(e,t,r,n,o,i,"List"):e[Nv]?Ha(e,t,r,n,o,i,e[iu]?"OrderedSet":"Set"):e[Lv]?Ha(e,t,r,n,o,i,"Stack"):e[Iv]?Uv(e,t,r,n,o,i):Fv(e,t,r,n,o,i);$e.serialize=su;var lu=e=>e&&(e[qv]===!0||e[Ov]===!0);$e.test=lu;var jv={serialize:su,test:lu},$v=jv;$e.default=$v});var bu=p(D=>{"use strict";var Vr=60103,Wr=60106,Wt=60107,zt=60108,Gt=60114,Kt=60109,Xt=60110,Qt=60112,Jt=60113,Va=60120,Yt=60115,Zt=60116,cu=60121,du=60122,pu=60117,fu=60129,mu=60131;typeof Symbol=="function"&&Symbol.for&&(J=Symbol.for,Vr=J("react.element"),Wr=J("react.portal"),Wt=J("react.fragment"),zt=J("react.strict_mode"),Gt=J("react.profiler"),Kt=J("react.provider"),Xt=J("react.context"),Qt=J("react.forward_ref"),Jt=J("react.suspense"),Va=J("react.suspense_list"),Yt=J("react.memo"),Zt=J("react.lazy"),cu=J("react.block"),du=J("react.server.block"),pu=J("react.fundamental"),fu=J("react.debug_trace_mode"),mu=J("react.legacy_hidden"));var J;function ye(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vr:switch(e=e.type,e){case Wt:case Gt:case zt:case Jt:case Va:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Qt:case Zt:case Yt:case Kt:return e;default:return t}}case Wr:return t}}}var Hv=Kt,Vv=Vr,Wv=Qt,zv=Wt,Gv=Zt,Kv=Yt,Xv=Wr,Qv=Gt,Jv=zt,Yv=Jt;D.ContextConsumer=Xt;D.ContextProvider=Hv;D.Element=Vv;D.ForwardRef=Wv;D.Fragment=zv;D.Lazy=Gv;D.Memo=Kv;D.Portal=Xv;D.Profiler=Qv;D.StrictMode=Jv;D.Suspense=Yv;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)===Kt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vr};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)===Yt};D.isPortal=function(e){return ye(e)===Wr};D.isProfiler=function(e){return ye(e)===Gt};D.isStrictMode=function(e){return ye(e)===zt};D.isSuspense=function(e){return ye(e)===Jt};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wt||e===Gt||e===fu||e===zt||e===Jt||e===Va||e===mu||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Yt||e.$$typeof===Kt||e.$$typeof===Xt||e.$$typeof===Qt||e.$$typeof===pu||e.$$typeof===cu||e[0]===du)};D.typeOf=ye});var yu=p((ZA,vu)=>{"use strict";vu.exports=bu()});var Cu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var et=Zv(yu()),zr=$r();function gu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(gu=function(n){return n?r:t})(e)}function Zv(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=gu(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 Eu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{Eu(r,t)}):e!=null&&e!==!1&&t.push(e),t),hu=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(et.isFragment(e))return"React.Fragment";if(et.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(et.isContextProvider(e))return"Context.Provider";if(et.isContextConsumer(e))return"Context.Consumer";if(et.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(et.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},ey=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},wu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,zr.printElementAsLeaf)(hu(e),t):(0,zr.printElement)(hu(e),(0,zr.printProps)(ey(e),e.props,t,r+t.indent,n,o,i),(0,zr.printChildren)(Eu(e.props.children),t,r+t.indent,n,o,i),t,r);He.serialize=wu;var _u=e=>e!=null&&et.isElement(e);He.test=_u;var ty={serialize:wu,test:_u},ry=ty;He.default=ry});var Ru=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var Gr=$r(),Kr=(function(){return typeof globalThis<"u"?globalThis:typeof Kr<"u"?Kr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Wa=Kr["jest-symbol-do-not-touch"]||Kr.Symbol,ny=typeof Wa=="function"&&Wa.for?Wa.for("react.test.json"):245830487,oy=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Pu=(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)(oy(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=Pu;var Tu=e=>e&&e.$$typeof===ny;Ve.test=Tu;var iy={serialize:Pu,test:Tu},ay=iy;Ve.default=ay});var $u=p(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.default=Se.DEFAULT_OPTIONS=void 0;Se.format=ju;Se.plugins=void 0;var sy=ze(Fa()),er=$t(),ly=ze(Bl()),uy=ze(Vl()),cy=ze(Xl()),dy=ze(ou()),py=ze(uu()),fy=ze(Cu()),my=ze(Ru());function ze(e){return e&&e.__esModule?e:{default:e}}var ku=Object.prototype.toString,by=Date.prototype.toISOString,vy=Error.prototype.toString,Su=RegExp.prototype.toString,za=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",yy=e=>typeof window<"u"&&e===window,hy=/^Symbol\((.*)\)(.*)$/,gy=/\n/gi,Xr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function Ey(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 wy(e){return Object.is(e,-0)?"-0":String(e)}function _y(e){return`${e}n`}function xu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function qu(e){return String(e).replace(hy,"Symbol($1)")}function Au(e){return"["+vy.call(e)+"]"}function Ou(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 wy(e);if(o==="bigint")return _y(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return xu(e,t);if(o==="symbol")return qu(e);let i=ku.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?xu(e,t):i==="[object Symbol]"?qu(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":by.call(e):i==="[object Error]"?Au(e):i==="[object RegExp]"?r?Su.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):Su.call(e):e instanceof Error?Au(e):null}function Iu(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)+"]":Ey(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||yy(e)?"["+za(e)+"]":(s||!t.printBasicPrototype&&za(e)==="Object"?"":za(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,We)+"}"}function Cy(e){return e.serialize!=null}function Nu(e,t,r,n,o,i){let a;try{a=Cy(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(gy,`
3
+ `+l)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new Xr(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 Lu(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Xr(n.message,n.stack)}return null}function We(e,t,r,n,o,i){let a=Lu(t.plugins,e);if(a!==null)return Nu(a,e,t,r,n,o);let s=Ou(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Iu(e,t,r,n,o,i)}var Ga={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Bu=Object.keys(Ga),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:Ga};Se.DEFAULT_OPTIONS=he;function Py(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 Ty=e=>Bu.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Ga[r],o=n&&sy.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)),Ry=()=>Bu.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Du=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,Fu=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,Uu=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,Mu=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?Ty(e):Ry(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:Fu(e),escapeString:Uu(e),indent:e&&e.min?"":Sy(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:Du(e),spacingInner:e&&e.min?" ":`
4
4
  `,spacingOuter:e&&e.min?"":`
5
- `}};function Ty(e){return new Array(e+1).join(" ")}function Fu(e,t){if(t&&(_y(t),t.plugins)){let n=Iu(t.plugins,e);if(n!==null)return Ou(n,e,qu(t),"",0,[])}let r=Mu(e,Lu(t),Bu(t),Du(t));return r!==null?r:ku(e,qu(t),"",0,[])}var Ry={AsymmetricMatcher:ay.default,ConvertAnsi:sy.default,DOMCollection:ly.default,DOMElement:uy.default,Immutable:cy.default,ReactElement:dy.default,ReactTestComponent:py.default};Re.plugins=Ry;var Sy=Fu;Re.default=Sy});var uc=p(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.default=void 0;function ih(){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 ah=ih;Zr.default=ah});var _t=p(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.default=uh;var sh=lh(uc());function lh(e){return e&&e.__esModule?e:{default:e}}function Ka(e){"@babel/helpers - typeof";return Ka=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},Ka(e)}function uh(e,t){return typeof Symbol=="function"&&Ka(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:sh.default.bind(t)}),e}});var pc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;var ch=dh(_t());function dh(e){return e&&e.__esModule?e:{default:e}}function Qa(e,t){return mh(e)||fh(e,t)||dc(e,t)||ph()}function ph(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function 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 mh(e){if(Array.isArray(e))return e}function bh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=dc(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,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 dc(e,t){if(e){if(typeof e=="string")return cc(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 cc(e,t)}}function cc(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 Ct=[["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"}]],Ja={entries:function(){return Ct},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=bh(Ct),o;try{for(n.s();!(o=n.n()).done;){var i=Qa(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ct)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ct.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Ja.get(t)},keys:function(){return Ct.map(function(t){var r=Qa(t,1),n=r[0];return n})},values:function(){return Ct.map(function(t){var r=Qa(t,2),n=r[1];return n})}},vh=(0,ch.default)(Ja,Ja.entries());en.default=vh});var bc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var yh=hh(_t());function hh(e){return e&&e.__esModule?e:{default:e}}function Ya(e,t){return wh(e)||Eh(e,t)||mc(e,t)||gh()}function gh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eh(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 wh(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 fc(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 fc(e,t)}}function fc(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=[["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}]],Za={entries:function(){return Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=_h(Pt),o;try{for(n.s();!(o=n.n()).done;){var i=Ya(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!!Za.get(t)},keys:function(){return Pt.map(function(t){var r=Ya(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=Ya(t,2),n=r[1];return n})}},Ch=(0,yh.default)(Za,Za.entries());tn.default=Ch});var vc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var Ph={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Th=Ph;rn.default=Th});var yc=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Rh={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"]]},Sh=Rh;nn.default=Sh});var hc=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var xh={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"]]},qh=xh;on.default=qh});var gc=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Ah={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Mh=Ah;an.default=Mh});var Ec=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var kh={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"]]},Oh=kh;sn.default=Oh});var wc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Ih={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:[]},Nh=Ih;ln.default=Nh});var _c=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Lh={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"]]},Bh=Lh;un.default=Bh});var Cc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var Dh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Fh=Dh;cn.default=Fh});var Pc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var Uh={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"]]},jh=Uh;dn.default=jh});var Tc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var $h={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Hh=$h;pn.default=Hh});var Rc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var Vh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Wh=Vh;fn.default=Wh});var Sc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var zh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Gh=zh;mn.default=Gh});var xc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var Kh=fe(vc()),Xh=fe(yc()),Qh=fe(hc()),Jh=fe(gc()),Yh=fe(Ec()),Zh=fe(wc()),eg=fe(_c()),tg=fe(Cc()),rg=fe(Pc()),ng=fe(Tc()),og=fe(Rc()),ig=fe(Sc());function fe(e){return e&&e.__esModule?e:{default:e}}var ag=[["command",Kh.default],["composite",Xh.default],["input",Qh.default],["landmark",Jh.default],["range",Yh.default],["roletype",Zh.default],["section",eg.default],["sectionhead",tg.default],["select",rg.default],["structure",ng.default],["widget",og.default],["window",ig.default]],sg=ag;bn.default=sg});var qc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var lg={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"]]},ug=lg;vn.default=ug});var Ac=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var cg={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"]]},dg=cg;yn.default=dg});var Mc=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var pg={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"]]},fg=pg;hn.default=fg});var kc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var mg={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"]]},bg=mg;gn.default=bg});var Oc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var vg={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"]]},yg=vg;En.default=yg});var Ic=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var hg={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"]]},gg=hg;wn.default=gg});var Nc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Eg={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"]]},wg=Eg;_n.default=wg});var Lc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.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"]]},Cg=_g;Cn.default=Cg});var Bc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var Pg={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"]]},Tg=Pg;Pn.default=Tg});var Dc=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Rg={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"]]},Sg=Rg;Tn.default=Sg});var Fc=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var xg={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"]]},qg=xg;Rn.default=qg});var Uc=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Ag={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"]]},Mg=Ag;Sn.default=Mg});var jc=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var kg={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"]]},Og=kg;xn.default=Og});var $c=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Ig={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"]]},Ng=Ig;qn.default=Ng});var Hc=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var Lg={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"]]},Bg=Lg;An.default=Bg});var Vc=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var Dg={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"]]},Fg=Dg;Mn.default=Fg});var Wc=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var Ug={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"]]},jg=Ug;kn.default=jg});var zc=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var $g={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Hg=$g;On.default=Hg});var Gc=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var Vg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Wg=Vg;In.default=Wg});var Kc=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var zg={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"]]},Gg=zg;Nn.default=Gg});var Xc=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var Kg={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"]]},Xg=Kg;Ln.default=Xg});var Qc=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var Qg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Jg=Qg;Bn.default=Jg});var Jc=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var Yg={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"]]},Zg=Yg;Dn.default=Zg});var Yc=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var eE={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"]]},tE=eE;Fn.default=tE});var Zc=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var rE={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"]]},nE=rE;Un.default=nE});var ed=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var oE={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"]]},iE=oE;jn.default=iE});var td=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var aE={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"]]},sE=aE;$n.default=sE});var rd=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var lE={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"]]},uE=lE;Hn.default=uE});var nd=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var cE={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"]]},dE=cE;Vn.default=dE});var od=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var pE={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"]]},fE=pE;Wn.default=fE});var id=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var mE={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"]]},bE=mE;zn.default=bE});var ad=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var vE={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"]]},yE=vE;Gn.default=yE});var sd=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var hE={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"]]},gE=hE;Kn.default=gE});var ld=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var EE={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"]]},wE=EE;Xn.default=wE});var ud=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"]]},CE=_E;Qn.default=CE});var cd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var PE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},TE=PE;Jn.default=TE});var dd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var RE={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"]]},SE=RE;Yn.default=SE});var pd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var xE={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"]]},qE=xE;Zn.default=qE});var fd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var AE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ME=AE;eo.default=ME});var md=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var kE={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"]]},OE=kE;to.default=OE});var bd=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var IE={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"]]},NE=IE;ro.default=NE});var vd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var LE={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"]]},BE=LE;no.default=BE});var yd=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var DE={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"]]},FE=DE;oo.default=FE});var hd=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var UE={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"]]},jE=UE;io.default=jE});var gd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var $E={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"]]},HE=$E;ao.default=HE});var Ed=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var VE={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"]]},WE=VE;so.default=WE});var wd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var zE={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"]]},GE=zE;lo.default=GE});var _d=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var KE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},XE=KE;uo.default=XE});var Cd=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var QE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},JE=QE;co.default=JE});var Pd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var YE={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"]]},ZE=YE;po.default=ZE});var Td=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var ew={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"]]},tw=ew;fo.default=tw});var Rd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var rw={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"]]},nw=rw;mo.default=nw});var Sd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var ow={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"]]},iw=ow;bo.default=iw});var xd=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var aw={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"]]},sw=aw;vo.default=sw});var qd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var lw={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"]]},uw=lw;yo.default=uw});var Ad=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var cw={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"]]},dw=cw;ho.default=dw});var Md=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var pw={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"]]},fw=pw;go.default=fw});var kd=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:{},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"]]},bw=mw;Eo.default=bw});var Od=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var vw={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"]]},yw=vw;wo.default=yw});var Id=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var hw={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"]]},gw=hw;_o.default=gw});var Nd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Ew={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ww=Ew;Co.default=ww});var Ld=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.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"]]},Cw=_w;Po.default=Cw});var Bd=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var Pw={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"]]},Tw=Pw;To.default=Tw});var Dd=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Rw={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"]]},Sw=Rw;Ro.default=Sw});var Fd=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var xw={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"]]},qw=xw;So.default=qw});var Ud=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Aw={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"]]},Mw=Aw;xo.default=Mw});var jd=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var kw={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"]]},Ow=kw;qo.default=Ow});var $d=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Iw={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"]]},Nw=Iw;Ao.default=Nw});var Hd=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Lw={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"]]},Bw=Lw;Mo.default=Bw});var Vd=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var Dw={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"]]},Fw=Dw;ko.default=Fw});var Wd=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var Uw={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"]]},jw=Uw;Oo.default=jw});var zd=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var $w={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"]]},Hw=$w;Io.default=Hw});var Gd=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var Vw={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"]]},Ww=Vw;No.default=Ww});var Kd=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var zw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Gw=zw;Lo.default=Gw});var Xd=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var Kw={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"]]},Xw=Kw;Bo.default=Xw});var Qd=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var Qw={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"]]},Jw=Qw;Do.default=Jw});var Jd=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var Yw={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"]]},Zw=Yw;Fo.default=Zw});var Yd=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var e_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},t_=e_;Uo.default=t_});var Zd=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var r_={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"]]},n_=r_;jo.default=n_});var ep=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var o_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},i_=o_;$o.default=i_});var tp=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var a_={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"]]},s_=a_;Ho.default=s_});var rp=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var l_={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"]]},u_=l_;Vo.default=u_});var np=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var c_={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"]]},d_=c_;Wo.default=d_});var op=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var p_=w(qc()),f_=w(Ac()),m_=w(Mc()),b_=w(kc()),v_=w(Oc()),y_=w(Ic()),h_=w(Nc()),g_=w(Lc()),E_=w(Bc()),w_=w(Dc()),__=w(Fc()),C_=w(Uc()),P_=w(jc()),T_=w($c()),R_=w(Hc()),S_=w(Vc()),x_=w(Wc()),q_=w(zc()),A_=w(Gc()),M_=w(Kc()),k_=w(Xc()),O_=w(Qc()),I_=w(Jc()),N_=w(Yc()),L_=w(Zc()),B_=w(ed()),D_=w(td()),F_=w(rd()),U_=w(nd()),j_=w(od()),$_=w(id()),H_=w(ad()),V_=w(sd()),W_=w(ld()),z_=w(ud()),G_=w(cd()),K_=w(dd()),X_=w(pd()),Q_=w(fd()),J_=w(md()),Y_=w(bd()),Z_=w(vd()),eC=w(yd()),tC=w(hd()),rC=w(gd()),nC=w(Ed()),oC=w(wd()),iC=w(_d()),aC=w(Cd()),sC=w(Pd()),lC=w(Td()),uC=w(Rd()),cC=w(Sd()),dC=w(xd()),pC=w(qd()),fC=w(Ad()),mC=w(Md()),bC=w(kd()),vC=w(Od()),yC=w(Id()),hC=w(Nd()),gC=w(Ld()),EC=w(Bd()),wC=w(Dd()),_C=w(Fd()),CC=w(Ud()),PC=w(jd()),TC=w($d()),RC=w(Hd()),SC=w(Vd()),xC=w(Wd()),qC=w(zd()),AC=w(Gd()),MC=w(Kd()),kC=w(Xd()),OC=w(Qd()),IC=w(Jd()),NC=w(Yd()),LC=w(Zd()),BC=w(ep()),DC=w(tp()),FC=w(rp()),UC=w(np());function w(e){return e&&e.__esModule?e:{default:e}}var jC=[["alert",p_.default],["alertdialog",f_.default],["application",m_.default],["article",b_.default],["banner",v_.default],["blockquote",y_.default],["button",h_.default],["caption",g_.default],["cell",E_.default],["checkbox",w_.default],["code",__.default],["columnheader",C_.default],["combobox",P_.default],["complementary",T_.default],["contentinfo",R_.default],["definition",S_.default],["deletion",x_.default],["dialog",q_.default],["directory",A_.default],["document",M_.default],["emphasis",k_.default],["feed",O_.default],["figure",I_.default],["form",N_.default],["generic",L_.default],["grid",B_.default],["gridcell",D_.default],["group",F_.default],["heading",U_.default],["img",j_.default],["insertion",$_.default],["link",H_.default],["list",V_.default],["listbox",W_.default],["listitem",z_.default],["log",G_.default],["main",K_.default],["mark",X_.default],["marquee",Q_.default],["math",J_.default],["menu",Y_.default],["menubar",Z_.default],["menuitem",eC.default],["menuitemcheckbox",tC.default],["menuitemradio",rC.default],["meter",nC.default],["navigation",oC.default],["none",iC.default],["note",aC.default],["option",sC.default],["paragraph",lC.default],["presentation",uC.default],["progressbar",cC.default],["radio",dC.default],["radiogroup",pC.default],["region",fC.default],["row",mC.default],["rowgroup",bC.default],["rowheader",vC.default],["scrollbar",yC.default],["search",hC.default],["searchbox",gC.default],["separator",EC.default],["slider",wC.default],["spinbutton",_C.default],["status",CC.default],["strong",PC.default],["subscript",TC.default],["superscript",RC.default],["switch",SC.default],["tab",xC.default],["table",qC.default],["tablist",AC.default],["tabpanel",MC.default],["term",kC.default],["textbox",OC.default],["time",IC.default],["timer",NC.default],["toolbar",LC.default],["tooltip",BC.default],["tree",DC.default],["treegrid",FC.default],["treeitem",UC.default]],$C=jC;zo.default=$C});var ip=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var HC={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"]]},VC=HC;Go.default=VC});var ap=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var WC={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"]]},zC=WC;Ko.default=zC});var sp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var GC={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"]]},KC=GC;Xo.default=KC});var lp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var XC={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"]]},QC=XC;Qo.default=QC});var up=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var JC={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"]]},YC=JC;Jo.default=YC});var cp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var ZC={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"]]},eP=ZC;Yo.default=eP});var dp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var tP={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"]]},rP=tP;Zo.default=rP});var pp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var nP={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"]]},oP=nP;ei.default=oP});var fp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aP=iP;ti.default=aP});var mp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var sP={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"]]},lP=sP;ri.default=lP});var bp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.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:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cP=uP;ni.default=cP});var vp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var dP={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"]]},pP=dP;oi.default=pP});var yp=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.default=void 0;var fP={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"]]},mP=fP;ii.default=mP});var hp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vP=bP;ai.default=vP});var gp=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.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:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hP=yP;si.default=hP});var Ep=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.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:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},EP=gP;li.default=EP});var wp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var wP={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=wP;ui.default=_P});var _p=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.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:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},PP=CP;ci.default=PP});var Cp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var TP={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"]]},RP=TP;di.default=RP});var Pp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var SP={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"]]},xP=SP;pi.default=xP});var Tp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AP=qP;fi.default=AP});var Rp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.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:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kP=MP;mi.default=kP});var Sp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var OP={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"]]},IP=OP;bi.default=IP});var xp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.default=void 0;var NP={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"]]},LP=NP;vi.default=LP});var qp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var BP={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"]]},DP=BP;yi.default=DP});var Ap=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var FP={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"]]},UP=FP;hi.default=UP});var Mp=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.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:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},$P=jP;gi.default=$P});var kp=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var HP={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"]]},VP=HP;Ei.default=VP});var Op=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.default=void 0;var WP={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"]]},zP=WP;wi.default=zP});var Ip=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var GP={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"]]},KP=GP;_i.default=KP});var Np=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.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:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},QP=XP;Ci.default=QP});var Lp=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var JP={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"]]},YP=JP;Pi.default=YP});var Bp=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.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:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},eT=ZP;Ti.default=eT});var Dp=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var tT={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"]]},rT=tT;Ri.default=rT});var Fp=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var nT={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"]]},oT=nT;Si.default=oT});var Up=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var iT={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"]]},aT=iT;xi.default=aT});var jp=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var sT={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"]]},lT=sT;qi.default=lT});var $p=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var uT={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"]]},cT=uT;Ai.default=cT});var Hp=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var dT={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"]]},pT=dT;Mi.default=pT});var Vp=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var fT=O(ip()),mT=O(ap()),bT=O(sp()),vT=O(lp()),yT=O(up()),hT=O(cp()),gT=O(dp()),ET=O(pp()),wT=O(fp()),_T=O(mp()),CT=O(bp()),PT=O(vp()),TT=O(yp()),RT=O(hp()),ST=O(gp()),xT=O(Ep()),qT=O(wp()),AT=O(_p()),MT=O(Cp()),kT=O(Pp()),OT=O(Tp()),IT=O(Rp()),NT=O(Sp()),LT=O(xp()),BT=O(qp()),DT=O(Ap()),FT=O(Mp()),UT=O(kp()),jT=O(Op()),$T=O(Ip()),HT=O(Np()),VT=O(Lp()),WT=O(Bp()),zT=O(Dp()),GT=O(Fp()),KT=O(Up()),XT=O(jp()),QT=O($p()),JT=O(Hp());function O(e){return e&&e.__esModule?e:{default:e}}var YT=[["doc-abstract",fT.default],["doc-acknowledgments",mT.default],["doc-afterword",bT.default],["doc-appendix",vT.default],["doc-backlink",yT.default],["doc-biblioentry",hT.default],["doc-bibliography",gT.default],["doc-biblioref",ET.default],["doc-chapter",wT.default],["doc-colophon",_T.default],["doc-conclusion",CT.default],["doc-cover",PT.default],["doc-credit",TT.default],["doc-credits",RT.default],["doc-dedication",ST.default],["doc-endnote",xT.default],["doc-endnotes",qT.default],["doc-epigraph",AT.default],["doc-epilogue",MT.default],["doc-errata",kT.default],["doc-example",OT.default],["doc-footnote",IT.default],["doc-foreword",NT.default],["doc-glossary",LT.default],["doc-glossref",BT.default],["doc-index",DT.default],["doc-introduction",FT.default],["doc-noteref",UT.default],["doc-notice",jT.default],["doc-pagebreak",$T.default],["doc-pagelist",HT.default],["doc-part",VT.default],["doc-preface",WT.default],["doc-prologue",zT.default],["doc-pullquote",GT.default],["doc-qna",KT.default],["doc-subtitle",XT.default],["doc-tip",QT.default],["doc-toc",JT.default]],ZT=YT;ki.default=ZT});var Wp=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var eR={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"]]},tR=eR;Oi.default=tR});var zp=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var rR={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"]]},nR=rR;Ii.default=nR});var Gp=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var oR={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"]]},iR=oR;Ni.default=iR});var Kp=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var aR=es(Wp()),sR=es(zp()),lR=es(Gp());function es(e){return e&&e.__esModule?e:{default:e}}var uR=[["graphics-document",aR.default],["graphics-object",sR.default],["graphics-symbol",lR.default]],cR=uR;Li.default=cR});var Di=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var dR=ar(xc()),pR=ar(op()),fR=ar(Vp()),mR=ar(Kp()),bR=ar(_t());function ar(e){return e&&e.__esModule?e:{default:e}}function vR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Qp(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,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 gR(e)||hR(e,t)||Qp(e,t)||yR()}function yR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qp(e,t){if(e){if(typeof e=="string")return Xp(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 Xp(e,t)}}function Xp(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 hR(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 gR(e){if(Array.isArray(e))return e}var ze=[].concat(dR.default,pR.default,fR.default,mR.default);ze.forEach(function(e){var t=ir(e,2),r=t[1],n=ts(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=ts(i),s;try{var l=function(){var c=s.value,d=ze.find(function(T){var f=ir(T,1),h=f[0];return h===c});if(d)for(var m=d[1],v=0,P=Object.keys(m.props);v<P.length;v++){var C=P[v];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,vR({},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 rs={entries:function(){return ze},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=ts(ze),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,ze)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=ze.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!rs.get(t)},keys:function(){return ze.map(function(t){var r=ir(t,1),n=r[0];return n})},values:function(){return ze.map(function(t){var r=ir(t,2),n=r[1];return n})}},ER=(0,bR.default)(rs,rs.entries());Bi.default=ER});var Zp=p(Yp=>{var Jp=Object.prototype.hasOwnProperty;function ns(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--&&ns(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Jp.call(e,r)&&++n&&!Jp.call(t,r)||!(r in t)||!ns(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}Yp.dequal=ns});var sf=p(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var rf=Zp(),wR=of(_t()),nf=of(Di());function of(e){return e&&e.__esModule?e:{default:e}}function os(e,t){return PR(e)||CR(e,t)||af(e,t)||_R()}function _R(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CR(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 PR(e){if(Array.isArray(e))return e}function TR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=af(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,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 af(e,t){if(e){if(typeof e=="string")return ef(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 ef(e,t)}}function ef(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=[],tf=nf.default.keys();for(Fi=0;Fi<tf.length;Fi++)if(Ui=tf[Fi],ji=nf.default.get(Ui),ji)for(is=[].concat(ji.baseConcepts,ji.relatedConcepts),$i=0;$i<is.length;$i++)as=is[$i],as.module==="HTML"&&(function(){var e=as.concept;if(e){var t=Ge.find(function(i){return(0,rf.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===Ui){n=!1;break}n&&r.push(Ui),Ge.push([e,r])}})();var Ui,ji,is,as,$i,Fi,ss={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=TR(Ge),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,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,rf.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!ss.get(t)},keys:function(){return Ge.map(function(t){var r=os(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=os(t,2),n=r[1];return n})}},RR=(0,wR.default)(ss,ss.entries());Hi.default=RR});var ff=p(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.default=void 0;var SR=df(_t()),cf=df(Di());function df(e){return e&&e.__esModule?e:{default:e}}function ls(e,t){return AR(e)||qR(e,t)||pf(e,t)||xR()}function xR(){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 qR(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 AR(e){if(Array.isArray(e))return e}function MR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pf(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 pf(e,t){if(e){if(typeof e=="string")return lf(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 lf(e,t)}}function lf(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=[],uf=cf.default.keys();for(Vi=0;Vi<uf.length;Vi++)if(us=uf[Vi],Wi=cf.default.get(us),zi=[],Wi){for(cs=[].concat(Wi.baseConcepts,Wi.relatedConcepts),Gi=0;Gi<cs.length;Gi++)ds=cs[Gi],ds.module==="HTML"&&(ps=ds.concept,ps!=null&&zi.push(ps));zi.length>0&&tt.push([us,zi])}var us,Wi,zi,cs,ds,ps,Gi,Vi,fs={entries:function(){return tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=MR(tt),o;try{for(n.s();!(o=n.n()).done;){var i=ls(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!!fs.get(t)},keys:function(){return tt.map(function(t){var r=ls(t,1),n=r[0];return n})},values:function(){return tt.map(function(t){var r=ls(t,2),n=r[1];return n})}},kR=(0,SR.default)(fs,fs.entries());Ki.default=kR});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 OR=sr(pc()),IR=sr(bc()),NR=sr(Di()),LR=sr(sf()),BR=sr(ff());function sr(e){return e&&e.__esModule?e:{default:e}}var DR=OR.default;me.aria=DR;var FR=IR.default;me.dom=FR;var UR=NR.default;me.roles=UR;var jR=LR.default;me.elementRoles=jR;var $R=BR.default;me.roleElements=$R});var bf=p((dI,Xi)=>{var ms=(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={},v="",P="",C="",T=2,f=3,h=2,E=[],y=0,g=0,x;for(x=0;x<a.length;x+=1)if(v=a.charAt(x),Object.prototype.hasOwnProperty.call(d,v)||(d[v]=f++,m[v]=!0),P=C+v,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<h;u++)y=y<<1,g==s-1?(g=0,E.push(l(y)),y=0):g++;for(c=C.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete m[C]}else for(c=d[C],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++),d[P]=f++,C=String(v)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<h;u++)y=y<<1,g==s-1?(g=0,E.push(l(y)),y=0):g++;for(c=C.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete m[C]}else for(c=d[C],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++)}for(c=2,u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;for(;;)if(y=y<<1,g==s-1){E.push(l(y));break}else g++;return E.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,v=3,P="",C=[],T,f,h,E,y,g,x,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(h=0,y=Math.pow(2,2),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;switch(c=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;x=e(h);break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;x=e(h);break;case 2:return""}for(u[3]=x,f=x,C.push(x);;){if(R.index>a)return"";for(h=0,y=Math.pow(2,v),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;switch(x=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;u[m++]=e(h),x=m-1,d--;break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;u[m++]=e(h),x=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,v),v++),u[x])P=u[x];else if(x===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,v),v++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return ms}):typeof Xi<"u"&&Xi!=null?Xi.exports=ms:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return ms})});var xa=null;function Ys(e){xa=e}function Pe(){if(!xa)throw new Error("No active driver bound to worker runtime");return xa}var Ot={activePlatform:"web",configuredBaseUrl:"http://localhost:3000",driverServerUrl:"tcp://127.0.0.1:8200",defaultElementWaitMs:5e3,defaultNavigationWaitMs:1e4,defaultPollIntervalMs:20,defaultReadyPollIntervalMs:50},Oe=null;function It(){if(Oe)return Oe;if(globalThis.__TESTSPECTRA_CONFIG__)return Oe=globalThis.__TESTSPECTRA_CONFIG__,Oe;if(typeof process<"u"&&process.env?.TESTSPECTRA_CONFIG)try{return Oe=JSON.parse(process.env.TESTSPECTRA_CONFIG),Oe}catch{}return Oe={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:{}}},Oe}var Zs=null;function el(e,t,r,n){Zs&&Zs(e,t,r,n)}function xr(){return It().implicitWaitMs??Ot.defaultElementWaitMs}function L(){return Math.min(xr(),2e3)}function Sr(e,t){console.log(`[${e}] ${t}`)}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);let a=JSON.stringify(t);Sr("TESTSPECTRA_STEP_START",a);let s=Date.now();try{let l=await r(),u=Date.now()-s;Sr("TESTSPECTRA_STEP_PASS",`${a} (${u}ms)`),el(`step:${t.key}`,e,u,{test:o,target:t.target});let c=n.stepDelayMs||0;return c>0&&await new Promise(d=>setTimeout(d,c)),l}catch(l){let u=Date.now()-s;throw Sr("TESTSPECTRA_STEP_FAIL",`${a} (${u}ms)`),el(`step:${t.key}`,e,u,{test:o,target:t.target,failed:!0}),Sr("TESTSPECTRA_TEST_ERROR",l?.message||String(l)),l}}async function k(e,t,r=15){let n=t??xr(),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 tl(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 k(()=>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 k(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 k(()=>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 k(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 k(()=>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 k(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 k(()=>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 k(async()=>!await n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function v(b){return A("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await k(()=>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 k(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 k(()=>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 k(async()=>!await r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,q){return A("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getValue(),M===String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${M}"`)})}async function h(b,q){return A("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await k(async()=>await r.getValue()!==String(b),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function E(b,q){return A("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getValue(),M.includes(String(b))),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${M}"`)})}async function y(b,q){return A("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await k(async()=>!(await r.getValue()).includes(String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function g(b,q){return A("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getText(),b instanceof RegExp?b.test(M):M===String(b)||M.trim()===String(b).trim()),q?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${M}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${M}"`)})}async function x(b,q){return A("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>await r.isExisting()?(M=await r.getText(),b instanceof RegExp?!b.test(M):M!==String(b)&&M.trim()!==String(b).trim()):!1,q?.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,q){return A("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let M="";if(!await k(async()=>(M=await r.getText(),M.includes(String(b))),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${M}"`)})}async function H(b,q){return A("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await k(async()=>!(await r.getText()).includes(String(b)),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function F(b,q){return A("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await k(()=>n().hasClass(e,b,t),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function z(b,q){return A("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await k(async()=>!await n().hasClass(e,b,t),q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,q,M){return A("assertion",{type:"assertion",key:"have.attr",target:e,args:q!==void 0?[b,q]:[b]},async()=>{let j=null;if(!await k(async()=>(j=await r.getAttribute(b),q!==void 0?j===String(q):j!==null),M?.timeoutMs??L()))throw q!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${q}", but got "${j}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function _(b,q){return A("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await k(async()=>await r.getAttribute(b)===null,q?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function B(b,q,M){return A("assertion",{type:"assertion",key:"have.css",target:e,args:[b,q]},async()=>{let j=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),N="";if(!await k(async()=>(N=(await r.getCSSProperty(b)).value,j(N)===j(q)),M?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${q}", but got "${N}"`)})}async function Z(b,q,M){return A("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,q]},async()=>{let j=de=>String(de??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await k(async()=>{let de=await r.getCSSProperty(b);return j(de.value)!==j(q)},M?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${q}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:v,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:h,shouldContainValue:E,shouldNotContainValue:y,shouldHaveText:g,shouldNotHaveText:x,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:F,shouldNotHaveClass:z,shouldHaveAttribute:K,shouldNotHaveAttribute:_,shouldHaveCss:B,shouldNotHaveCss:Z}}function rl(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 v(){return await r().isFocused(e,t)}async function P(h){return await r().getAttribute(e,h,t)}async function C(h){return await r().getCSSProperty(e,h,t)}async function T(h){let E=h??xr();if(await k(async()=>r().isExisting(e,t),E))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(h={}){let E=h.timeout||5e3,y=Date.now();for(;Date.now()-y<E;){if(await r().isDisplayed(e,t))return!0;await new Promise(g=>setTimeout(g,20))}throw new Error(`Element ${n} not displayed after ${E}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:v,getAttribute:P,getCSSProperty:C,waitForElement:T,waitForDisplayed:f}}function ol(e){return typeof e=="string"?e:e.selector}function nl(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function pe(e,t=null){let r=ol(e),n=typeof e=="string"?t:e.index,o=il(e,t),i=rl(e,t),a=tl(e,t,i);return{selector:r,index:n,...o,...i,...a,get(s,l=null){return pe({selector:s,index:l,parent:nl(e,t)},null)},getAll(s){return Ze({selector:s,index:null,parent:nl(e,t)})}}}function Ze(e){let t=()=>Pe(),r=ol(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 pe(...n(0))},last(){return pe(...n(-1))},nth(i){return pe(...n(i))},async shouldHaveLength(i,a){return A("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await k(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 k(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 k(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 k(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 k(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 k(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 pe(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function al(e){return typeof e=="string"?e:e.selector}function il(e,t){let r=()=>Pe();async function n(_){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(_){return A("action",{type:"action",key:"type",target:e,args:[_]},async()=>{await r().setValue(e,_,t)})}async function s(_,B){B?.clearFirst&&await l(),await a(_)}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(_){return A("action",{type:"action",key:"select",target:e,args:[_]},async()=>{await r().select(e,_,t)})}async function d(_){await c(_)}async function m(){return A("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function v(){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(_){return A("action",{type:"action",key:"waitForElementRemoved",target:e,args:[_??5e3]},async()=>{if(!await k(async()=>!await r().isExisting(e,t),_??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(al(e)))})}async function T(_){return A("action",{type:"action",key:"waitForUndisplayed",target:e,args:[_?.timeout??5e3]},async()=>{if(!await k(async()=>!await r().isDisplayed(e,t),_?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(al(e)))})}async function f(_){return A("action",{type:"action",key:"waitForClickable",target:e,args:[_?.timeout??5e3]},async()=>await k(async()=>await r().isClickable(e,t),_?.timeout??5e3))}async function h(){return A("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function E(){let _=typeof e=="string"?e+"::parent":e.selector+"::parent";return pe(_,null)}async function y(_){return A("action",{type:"action",key:"closest",target:e,args:[_]},async()=>{if(!await r().closest(e,_,t))return null;let Z=typeof e=="string"?e:e.selector;return pe(`${Z}::closest(${_})`,null)})}async function g(){await m()}async function x(_){let B=typeof _=="string"?_:_?.selector||String(_);return A("action",{type:"action",key:"dragDrop",target:e,args:[B]},async()=>{await r().dragDrop(e,B,t)})}async function R(_){await x(_)}async function H(_){let B=typeof _=="number"?_:_?.duration||1e3;return A("action",{type:"action",key:"longPress",target:e,args:[B]},async()=>{await r().longPress(e,B,t)})}async function F(){return A("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function z(_){return A("action",{type:"action",key:"upload",target:e,args:[_]},async()=>{await r().upload(e,_,t)})}async function K(_){await z(_)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:v,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:h,parent:E,closest:y,moveTo:g,dragDrop:x,dragAndDrop:R,longPress:H,scrollIntoView:F,upload:z,uploadFile:K}}function qa(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 qr(e){let t={respondWith:async(n,o={})=>{let i=n;e.response=i&&i.body!==void 0?i.body:n,(o.statusCode||i&&i.statusCode)&&(e.statusCode=o.statusCode||i?.statusCode||200),(o.headers||i&&i.headers)&&(e.headers=o.headers||i?.headers),(o.delayMs!==void 0||i&&i.delayMs!==void 0)&&(e.delayMs=o.delayMs??i?.delayMs),e.aborted=!1},respondOnce:async(n,o={})=>{let i=n,a=i&&i.body!==void 0?i.body:n,s=o.statusCode||i&&i.statusCode||e.statusCode||200,l=o.headers||i&&i.headers||e.headers,u=o.delayMs??(i&&i.delayMs)??e.delayMs;e.respondOnceQueue.push({response:a,statusCode:s,headers:l,delayMs:u}),e.aborted=!1},abort:async(n="Failed")=>{e.aborted=!0,e.abortReason=n},waitForCall:async(n={})=>{let o=n.count??1,i=n.timeout??5e3;return e.calls.length>=o?e.calls[o-1]:new Promise((a,s)=>{let l=setTimeout(()=>{let u=e.waitResolvers.findIndex(c=>c.resolve===a);u!==-1&&e.waitResolvers.splice(u,1),s(new Error(`Spectra.intercept waitForCall timed out after ${i}ms (expected at least ${o} call(s), received ${e.calls.length})`))},i);e.waitResolvers.push({count:o,resolve:u=>{clearTimeout(l),a(u)}})})}},r=()=>e.callCount;return t.callCount=Object.assign(r,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(t,"calls",{get:()=>e.calls,enumerable:!0}),t}function Ar(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(qa(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 Bt(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 Ob={"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 Mr(e){let t=new Map;for(let[r,n]of Object.entries(Ob))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 Dt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function sl(e){let t=/^(.*)::closest\((.+)\)$/.exec(e);if(t)return{kind:"closest",base:t[1],arg:t[2]};let r=/^(.*)::parent$/.exec(e);return r?{kind:"parent",base:r[1]}:null}function Aa(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 ll(e){let t=Aa(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function ul(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 Ib=new Set(["mount","unmount","registerCommand","registerCommands"]),Nb=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function cl(){let e=()=>Pe(),t={get:r=>ne(r),getAll:r=>Ze(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()},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(!Nb.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(Ib.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function dl(){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 Lb=5e3;function kr(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 Ma(){return Lb}function Bb(){return Math.min(Ma(),2e3)}async function Db(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);kr("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;kr("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=dl();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw kr("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function Fb(e,t,r=15){let n=t??Ma(),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:dl()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:kr,trackStep:Db,pollCondition:Fb,getImplicitWaitMs:Ma,getAssertionTimeoutMs:Bb,matchesUrlPattern:qa,createMockHandle:qr,parseMockRule:Ar,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Bt,mergeMockResponseHeaders:Mr,mockResponseBodyText:Dt,createElementProxy:pe,createCollectionProxy:Ze,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var pl=new Set;async function fl(e,t=[],r,n={platform:"web"}){for(let o of t)if(!pl.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.`),pl.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function Ub(){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 Or(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 ka(e){let t=e??Ub();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 Or(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 Or(u),m=d?.default!==void 0?d.default:d??u;typeof m=="string"&&m.startsWith("data:")&&!m.includes("name=")&&(m=m.replace(/^data:([^;,]+)/,v=>`${v};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 Or(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=jb();s.length>0&&globalThis.Spectra&&await fl(globalThis.Spectra,s,Or,{platform:"web"})}function jb(){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=ka;function S(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 W(e){var t;if($b(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 ${Hb(e)}`)}function $b(e){return e.nodeType===9}function Hb(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Oa(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 Ie(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){Ie(this,"kind",void 0),Ie(this,"type",void 0),Ie(this,"file",null),Ie(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 bl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var Na=class extends Array{add(...t){let r=typeof t[0]=="string"?new Ut(t[0],bl(t[1])):new Ut(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Ia(e){let t=bl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Ir(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 Vb(e){return new class{getData(r){var n;let o=Ia(r),i=(n=this.items.find(Ir(o,!0)))!==null&&n!==void 0?n:this.items.find(Ir(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Ia(r),i=this.items.findIndex(Ir(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=Ia(r),o=this.items.findIndex(Ir(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(){Ie(this,"dropEffect","none"),Ie(this,"effectAllowed","uninitialized"),Ie(this,"items",new Na),Ie(this,"files",Ft(e,[]))}}}function bt(e,t=[]){let r=typeof e.DataTransfer>"u"?Vb(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(e,t)}),r}async function vl(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function hl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(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){hl(this,"data",void 0),this.data=o}}(r)}var vt=Symbol("Manage ClipboardSub");function yl(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=>Oa(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[gl(e,n)]}constructor(...n){super(...n),hl(this,"items",[])}},{[vt]:t})}function La(e){return!!e?.[vt]}function El(e){if(La(e.navigator.clipboard))return e.navigator.clipboard[vt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=yl(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=yl(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[vt]}function Wb(e){La(e.navigator.clipboard)&&e.navigator.clipboard[vt].resetClipboardStub()}function zb(e){La(e.navigator.clipboard)&&e.navigator.clipboard[vt].detachClipboardStub()}async function wl(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=bt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Oa(s,t.FileReader)));return o}async function Lr(e,t){let r=W(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],l=await vl(r,s);o.push(gl(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Nr=globalThis;typeof Nr.afterEach=="function"&&Nr.afterEach(()=>{typeof globalThis.window<"u"&&Wb(globalThis.window)});typeof Nr.afterAll=="function"&&Nr.afterAll(()=>{typeof globalThis.window<"u"&&zb(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 jt(e){return e.matches(Br)}function _l(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(S(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(S(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 Ne(e){let t=e.activeElement;if(t?.shadowRoot){let r=Ne(t.shadowRoot);if(r)return r}else if(t&&S(t,"iframe")){let r=t.contentDocument;if(r)return Ne(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function yt(e){var t;return(t=Ne(e))!==null&&t!==void 0?t:e.body}function Cl(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ue(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function Le(e){let t=Gb(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Gb(e){return e.nodeType===1?e:e.parentElement}var Pl=(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})(Pl||{});function Dr(e){return S(e,"button")||S(e,"input")&&e.type in Pl}function ve(e){return Ba(e)&&!e.readOnly||ue(e)}var Tl=(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})(Tl||{});function Ba(e){return S(e,"textarea")||S(e,"input")&&e.type in Tl}function X(e){return Sl(e)&&Ba(e)}function Rl(e){return Sl(e)&&Dr(e)}function Sl(e){return e.nodeType===1}function xl(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=Le(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 Fr(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 ra=Sa(Uu());var xy=Object.prototype.toString;function ju(e){return typeof e=="function"||xy.call(e)==="[object Function]"}function qy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Ay=Math.pow(2,53)-1;function My(e){var t=qy(e);return Math.min(Math.max(t,0),Ay)}function ce(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"&&!ju(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=My(n.length),i=ju(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 ky(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $u(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,Hu(n.key),n)}}function Oy(e,t,r){return t&&$u(e.prototype,t),r&&$u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Iy(e,t,r){return t=Hu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){var t=Ny(e,"string");return tr(t)==="symbol"?t:String(t)}function Ny(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 Ly=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ky(this,e),Iy(this,"items",void 0),this.items=t}return Oy(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})(),Vu=typeof Set>"u"?Set:Ly;function Q(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var By={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"},Dy={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 Fy(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=Dy[t])!==null&&n!==void 0&&n.has(r))})}function Wu(e,t){return Fy(e,t)}function Qr(e){var t=jy(e);if(t===null||t==="presentation"){var r=Uy(e);if(t!=="presentation"||Wu(e,r||""))return r}return t}function Uy(e){var t=By[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")===""&&!Wu(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 jy(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function $(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ga(e){return $(e)&&Q(e)==="caption"}function rr(e){return $(e)&&Q(e)==="input"}function zu(e){return $(e)&&Q(e)==="optgroup"}function Gu(e){return $(e)&&Q(e)==="select"}function Ku(e){return $(e)&&Q(e)==="table"}function Xu(e){return $(e)&&Q(e)==="textarea"}function Qu(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Ju(e){return $(e)&&Q(e)==="fieldset"}function Yu(e){return $(e)&&Q(e)==="legend"}function Zu(e){return $(e)&&Q(e)==="slot"}function $y(e){return $(e)&&e.ownerSVGElement!==void 0}function ec(e){return $(e)&&Q(e)==="svg"}function tc(e){return $y(e)&&Q(e)==="title"}function wt(e,t){if($(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 $(e)?t.indexOf(Qr(e))!==-1:!1}function Hy(e){return e.trim().replace(/\s\s+/g," ")}function Vy(e,t){if(!$(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 Wy(e){return ge(e,["button","combobox","listbox","textbox"])||oc(e,"range")}function oc(e,t){if(!$(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 rc(e,t){var r=ce(e.querySelectorAll(t));return wt(e,"aria-owns").forEach(function(n){r.push.apply(r,ce(n.querySelectorAll(t)))}),r}function zy(e){return Gu(e)?e.selectedOptions||rc(e,"[selected]"):rc(e,'[aria-selected="true"]')}function Gy(e){return ge(e,["none","presentation"])}function Ky(e){return Ga(e)}function Xy(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 Qy(e){return!1}function Jy(e){return rr(e)||Xu(e)?e.value:e.textContent||""}function nc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function ic(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 ac(e){if(ic(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&$(r)){var n=ac(r);n!==null&&(t=n)}}),t}function Yy(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):ac(e)}function Zy(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ce(t);if(!ic(e))return null;var r=e.ownerDocument;return ce(r.querySelectorAll("label")).filter(function(n){return Yy(n)===e})}function eh(e){var t=e.assignedNodes();return t.length===0?ce(e.childNodes):t}function Jr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Vu,n=Qu(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,h){var E="";if($(f)&&s){var y=u(f,"::before"),g=nc(y);E="".concat(g," ").concat(E)}var x=Zu(f)?eh(f):ce(f.childNodes).concat(wt(f,"aria-owns"));if(x.forEach(function(F){var z=T(F,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=$(F)?u(F).getPropertyValue("display"):"inline",_=K!=="inline"?" ":"";E+="".concat(_).concat(z).concat(_)}),$(f)&&s){var R=u(f,"::after"),H=nc(R);E="".concat(E," ").concat(H)}return E.trim()}function v(f,h){var E=f.getAttributeNode(h);return E!==null&&!r.has(E)&&E.value.trim()!==""?(r.add(E),E.value):null}function P(f){return $(f)?v(f,"title"):null}function C(f){if(!$(f))return null;if(Ju(f)){r.add(f);for(var h=ce(f.childNodes),E=0;E<h.length;E+=1){var y=h[E];if(Yu(y))return T(y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ku(f)){r.add(f);for(var g=ce(f.childNodes),x=0;x<g.length;x+=1){var R=g[x];if(Ga(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ec(f)){r.add(f);for(var H=ce(f.childNodes),F=0;F<H.length;F+=1){var z=H[F];if(tc(z))return z.textContent}return null}else if(Q(f)==="img"||Q(f)==="area"){var K=v(f,"alt");if(K!==null)return K}else if(zu(f)){var _=v(f,"label");if(_!==null)return _}if(rr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var B=v(f,"value");if(B!==null)return B;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var Z=Zy(f);if(Z!==null&&Z.length!==0)return r.add(f),ce(Z).map(function(j){return T(j,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(j){return j.length>0}).join(" ");if(rr(f)&&f.type==="image"){var b=v(f,"alt");if(b!==null)return b;var q=v(f,"title");return q!==null?q:"Submit Query"}if(ge(f,["button"])){var M=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(M!=="")return M}return null}function T(f,h){if(r.has(f))return"";if(!d&&Vy(f,u)&&!h.isReferenced)return r.add(f),"";var E=$(f)?f.getAttributeNode("aria-labelledby"):null,y=E!==null&&!r.has(E)?wt(f,"aria-labelledby"):[];if(i==="name"&&!h.isReferenced&&y.length>0)return r.add(E),y.map(function(K){return T(K,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var g=h.recursion&&Wy(f)&&i==="name";if(!g){var x=($(f)&&f.getAttribute("aria-label")||"").trim();if(x!==""&&i==="name")return r.add(f),x;if(!Gy(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(g||h.isEmbeddedInLabel||h.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=zy(f);return H.length===0?rr(f)?f.value:"":ce(H).map(function(K){return T(K,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(oc(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),Jy(f)}if(Xy(f)||$(f)&&h.isReferenced||Ky(f)||Qy(f)){var F=m(f,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});if(F!=="")return r.add(f),F}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(h.recursion)return r.add(f),m(f,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});var z=P(f);return z!==null?(r.add(f),z):(r.add(f),"")}return Hy(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 sc(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 lc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sc(Object(r),!0).forEach(function(n){th(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function th(e,t,r){return t=rh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rh(e){var t=nh(e,"string");return nr(t)==="symbol"?t:String(t)}function nh(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 Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=wt(e,"aria-describedby").map(function(o){return Jr(o,lc(lc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function oh(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 oh(e)?"":Jr(e,t)}var oe=Sa(mf()),_f=Sa(bf());function Cf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var HR=(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
- `)!==-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("")},VR=3,WR=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?Pf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==VR?"":t.spacingOuter+r+s}).join(""),Pf=(e,t)=>{let r=t.colors.content;return r.open+Cf(e)+r.close},zR=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Cf(e)+"-->"+r.close},GR=(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},KR=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},XR=1,Tf=3,Rf=8,Sf=11,QR=/^((HTML|SVG)\w*)?Element$/,xf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},JR=e=>{let t=e.constructor.name,r=e.nodeType;return r===XR&&(QR.test(t)||xf(e))||r===Tf&&t==="Text"||r===Rf&&t==="Comment"||r===Sf&&t==="DocumentFragment"};function YR(e){return e.nodeType===Tf}function ZR(e){return e.nodeType===Rf}function bs(e){return e.nodeType===Sf}function e0(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||xf(t))&&JR(t)},serialize:(t,r,n,o,i,a)=>{if(YR(t))return Pf(t.data,r);if(ZR(t))return zR(t.data,r);let s=bs(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?KR(s,r):GR(s,HR(bs(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),bs(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),WR(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var qf=null,xs=null,qs=null;try{let e=module&&module.require;xs=e.call(module,"fs").readFileSync,qs=e.call(module,"@babel/code-frame").codeFrameColumns,qf=e.call(module,"picocolors")}catch{}function t0(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=xs(a,"utf-8")}catch{return""}let c=qs(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return qf.dim(n)+`
5
+ `}};function Sy(e){return new Array(e+1).join(" ")}function ju(e,t){if(t&&(Py(t),t.plugins)){let n=Lu(t.plugins,e);if(n!==null)return Nu(n,e,Mu(t),"",0,[])}let r=Ou(e,Du(t),Fu(t),Uu(t));return r!==null?r:Iu(e,Mu(t),"",0,[])}var xy={AsymmetricMatcher:ly.default,ConvertAnsi:uy.default,DOMCollection:cy.default,DOMElement:dy.default,Immutable:py.default,ReactElement:fy.default,ReactTestComponent:my.default};Se.plugins=xy;var qy=ju;Se.default=qy});var dc=p(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.default=void 0;function sh(){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 lh=sh;Zr.default=lh});var _t=p(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});Qa.default=dh;var uh=ch(dc());function ch(e){return e&&e.__esModule?e:{default:e}}function Xa(e){"@babel/helpers - typeof";return Xa=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},Xa(e)}function dh(e,t){return typeof Symbol=="function"&&Xa(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:uh.default.bind(t)}),e}});var mc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;var ph=fh(_t());function fh(e){return e&&e.__esModule?e:{default:e}}function Ja(e,t){return vh(e)||bh(e,t)||fc(e,t)||mh()}function mh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bh(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 vh(e){if(Array.isArray(e))return e}function yh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=fc(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,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 fc(e,t){if(e){if(typeof e=="string")return pc(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 pc(e,t)}}function pc(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 Ct=[["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"}]],Ya={entries:function(){return Ct},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=yh(Ct),o;try{for(n.s();!(o=n.n()).done;){var i=Ja(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ct)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ct.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Ya.get(t)},keys:function(){return Ct.map(function(t){var r=Ja(t,1),n=r[0];return n})},values:function(){return Ct.map(function(t){var r=Ja(t,2),n=r[1];return n})}},hh=(0,ph.default)(Ya,Ya.entries());en.default=hh});var yc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var gh=Eh(_t());function Eh(e){return e&&e.__esModule?e:{default:e}}function Za(e,t){return Ch(e)||_h(e,t)||vc(e,t)||wh()}function wh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _h(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 Ch(e){if(Array.isArray(e))return e}function Ph(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=vc(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 vc(e,t){if(e){if(typeof e=="string")return bc(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 bc(e,t)}}function bc(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=[["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}]],es={entries:function(){return Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Ph(Pt),o;try{for(n.s();!(o=n.n()).done;){var i=Za(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!!es.get(t)},keys:function(){return Pt.map(function(t){var r=Za(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=Za(t,2),n=r[1];return n})}},Th=(0,gh.default)(es,es.entries());tn.default=Th});var hc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var Rh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Sh=Rh;rn.default=Sh});var gc=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var xh={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"]]},qh=xh;nn.default=qh});var Ec=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var Ah={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"]]},Mh=Ah;on.default=Mh});var wc=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:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Oh=kh;an.default=Oh});var _c=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Ih={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"]]},Nh=Ih;sn.default=Nh});var Cc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Lh={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:[]},Bh=Lh;ln.default=Bh});var Pc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Dh={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"]]},Fh=Dh;un.default=Fh});var Tc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var Uh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},jh=Uh;cn.default=jh});var Rc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var $h={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"]]},Hh=$h;dn.default=Hh});var Sc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var Vh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Wh=Vh;pn.default=Wh});var xc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var zh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Gh=zh;fn.default=Gh});var qc=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var Kh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Xh=Kh;mn.default=Xh});var Ac=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var Qh=fe(hc()),Jh=fe(gc()),Yh=fe(Ec()),Zh=fe(wc()),eg=fe(_c()),tg=fe(Cc()),rg=fe(Pc()),ng=fe(Tc()),og=fe(Rc()),ig=fe(Sc()),ag=fe(xc()),sg=fe(qc());function fe(e){return e&&e.__esModule?e:{default:e}}var lg=[["command",Qh.default],["composite",Jh.default],["input",Yh.default],["landmark",Zh.default],["range",eg.default],["roletype",tg.default],["section",rg.default],["sectionhead",ng.default],["select",og.default],["structure",ig.default],["widget",ag.default],["window",sg.default]],ug=lg;bn.default=ug});var Mc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var cg={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"]]},dg=cg;vn.default=dg});var kc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var pg={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"]]},fg=pg;yn.default=fg});var Oc=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.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"]]},bg=mg;hn.default=bg});var Ic=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var vg={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"]]},yg=vg;gn.default=yg});var Nc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var hg={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"]]},gg=hg;En.default=gg});var Lc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var Eg={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"]]},wg=Eg;wn.default=wg});var Bc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var _g={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"]]},Cg=_g;_n.default=Cg});var Dc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var Pg={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"]]},Tg=Pg;Cn.default=Tg});var Fc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var Rg={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"]]},Sg=Rg;Pn.default=Sg});var Uc=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var xg={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"]]},qg=xg;Tn.default=qg});var jc=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var Ag={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"]]},Mg=Ag;Rn.default=Mg});var $c=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var kg={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"]]},Og=kg;Sn.default=Og});var Hc=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Ig={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"]]},Ng=Ig;xn.default=Ng});var Vc=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Lg={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"]]},Bg=Lg;qn.default=Bg});var Wc=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var Dg={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"]]},Fg=Dg;An.default=Fg});var zc=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var Ug={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"]]},jg=Ug;Mn.default=jg});var Gc=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var $g={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"]]},Hg=$g;kn.default=Hg});var Kc=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var Vg={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Wg=Vg;On.default=Wg});var Xc=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var zg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Gg=zg;In.default=Gg});var Qc=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var Kg={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"]]},Xg=Kg;Nn.default=Xg});var Jc=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var Qg={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"]]},Jg=Qg;Ln.default=Jg});var Yc=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var Yg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Zg=Yg;Bn.default=Zg});var Zc=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var eE={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"]]},tE=eE;Dn.default=tE});var ed=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var rE={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"]]},nE=rE;Fn.default=nE});var td=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var oE={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"]]},iE=oE;Un.default=iE});var rd=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var aE={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"]]},sE=aE;jn.default=sE});var nd=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var lE={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"]]},uE=lE;$n.default=uE});var od=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var cE={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"]]},dE=cE;Hn.default=dE});var id=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var pE={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"]]},fE=pE;Vn.default=fE});var ad=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.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"]]},bE=mE;Wn.default=bE});var sd=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var vE={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"]]},yE=vE;zn.default=yE});var ld=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var hE={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"]]},gE=hE;Gn.default=gE});var ud=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var EE={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"]]},wE=EE;Kn.default=wE});var cd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var _E={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"]]},CE=_E;Xn.default=CE});var dd=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var PE={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"]]},TE=PE;Qn.default=TE});var pd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var RE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SE=RE;Jn.default=SE});var fd=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var xE={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"]]},qE=xE;Yn.default=qE});var md=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var AE={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"]]},ME=AE;Zn.default=ME});var bd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var kE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OE=kE;eo.default=OE});var vd=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var IE={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"]]},NE=IE;to.default=NE});var yd=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var LE={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"]]},BE=LE;ro.default=BE});var hd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var DE={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"]]},FE=DE;no.default=FE});var gd=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var UE={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"]]},jE=UE;oo.default=jE});var Ed=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var $E={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"]]},HE=$E;io.default=HE});var wd=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var VE={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"]]},WE=VE;ao.default=WE});var _d=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var zE={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"]]},GE=zE;so.default=GE});var Cd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var KE={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"]]},XE=KE;lo.default=XE});var Pd=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var QE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},JE=QE;uo.default=JE});var Td=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var YE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ZE=YE;co.default=ZE});var Rd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var ew={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"]]},tw=ew;po.default=tw});var Sd=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var rw={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"]]},nw=rw;fo.default=nw});var xd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var ow={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"]]},iw=ow;mo.default=iw});var qd=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var aw={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"]]},sw=aw;bo.default=sw});var Ad=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var lw={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"]]},uw=lw;vo.default=uw});var Md=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var cw={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"]]},dw=cw;yo.default=dw});var kd=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var pw={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"]]},fw=pw;ho.default=fw});var Od=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.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"]]},bw=mw;go.default=bw});var Id=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var vw={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"]]},yw=vw;Eo.default=yw});var Nd=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var hw={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"]]},gw=hw;wo.default=gw});var Ld=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var Ew={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"]]},ww=Ew;_o.default=ww});var Bd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var _w={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Cw=_w;Co.default=Cw});var Dd=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Pw={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"]]},Tw=Pw;Po.default=Tw});var Fd=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var Rw={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"]]},Sw=Rw;To.default=Sw});var Ud=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var xw={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"]]},qw=xw;Ro.default=qw});var jd=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Aw={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"]]},Mw=Aw;So.default=Mw});var $d=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var kw={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"]]},Ow=kw;xo.default=Ow});var Hd=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Iw={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"]]},Nw=Iw;qo.default=Nw});var Vd=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Lw={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"]]},Bw=Lw;Ao.default=Bw});var Wd=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Dw={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"]]},Fw=Dw;Mo.default=Fw});var zd=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var Uw={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"]]},jw=Uw;ko.default=jw});var Gd=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var $w={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"]]},Hw=$w;Oo.default=Hw});var Kd=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var Vw={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"]]},Ww=Vw;Io.default=Ww});var Xd=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var zw={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"]]},Gw=zw;No.default=Gw});var Qd=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var Kw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Xw=Kw;Lo.default=Xw});var Jd=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var Qw={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"]]},Jw=Qw;Bo.default=Jw});var Yd=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var Yw={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"]]},Zw=Yw;Do.default=Zw});var Zd=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var e_={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"]]},t_=e_;Fo.default=t_});var ep=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var r_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},n_=r_;Uo.default=n_});var tp=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var o_={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"]]},i_=o_;jo.default=i_});var rp=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var a_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},s_=a_;$o.default=s_});var np=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var l_={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"]]},u_=l_;Ho.default=u_});var op=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var c_={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"]]},d_=c_;Vo.default=d_});var ip=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var p_={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"]]},f_=p_;Wo.default=f_});var ap=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var m_=w(Mc()),b_=w(kc()),v_=w(Oc()),y_=w(Ic()),h_=w(Nc()),g_=w(Lc()),E_=w(Bc()),w_=w(Dc()),__=w(Fc()),C_=w(Uc()),P_=w(jc()),T_=w($c()),R_=w(Hc()),S_=w(Vc()),x_=w(Wc()),q_=w(zc()),A_=w(Gc()),M_=w(Kc()),k_=w(Xc()),O_=w(Qc()),I_=w(Jc()),N_=w(Yc()),L_=w(Zc()),B_=w(ed()),D_=w(td()),F_=w(rd()),U_=w(nd()),j_=w(od()),$_=w(id()),H_=w(ad()),V_=w(sd()),W_=w(ld()),z_=w(ud()),G_=w(cd()),K_=w(dd()),X_=w(pd()),Q_=w(fd()),J_=w(md()),Y_=w(bd()),Z_=w(vd()),eC=w(yd()),tC=w(hd()),rC=w(gd()),nC=w(Ed()),oC=w(wd()),iC=w(_d()),aC=w(Cd()),sC=w(Pd()),lC=w(Td()),uC=w(Rd()),cC=w(Sd()),dC=w(xd()),pC=w(qd()),fC=w(Ad()),mC=w(Md()),bC=w(kd()),vC=w(Od()),yC=w(Id()),hC=w(Nd()),gC=w(Ld()),EC=w(Bd()),wC=w(Dd()),_C=w(Fd()),CC=w(Ud()),PC=w(jd()),TC=w($d()),RC=w(Hd()),SC=w(Vd()),xC=w(Wd()),qC=w(zd()),AC=w(Gd()),MC=w(Kd()),kC=w(Xd()),OC=w(Qd()),IC=w(Jd()),NC=w(Yd()),LC=w(Zd()),BC=w(ep()),DC=w(tp()),FC=w(rp()),UC=w(np()),jC=w(op()),$C=w(ip());function w(e){return e&&e.__esModule?e:{default:e}}var HC=[["alert",m_.default],["alertdialog",b_.default],["application",v_.default],["article",y_.default],["banner",h_.default],["blockquote",g_.default],["button",E_.default],["caption",w_.default],["cell",__.default],["checkbox",C_.default],["code",P_.default],["columnheader",T_.default],["combobox",R_.default],["complementary",S_.default],["contentinfo",x_.default],["definition",q_.default],["deletion",A_.default],["dialog",M_.default],["directory",k_.default],["document",O_.default],["emphasis",I_.default],["feed",N_.default],["figure",L_.default],["form",B_.default],["generic",D_.default],["grid",F_.default],["gridcell",U_.default],["group",j_.default],["heading",$_.default],["img",H_.default],["insertion",V_.default],["link",W_.default],["list",z_.default],["listbox",G_.default],["listitem",K_.default],["log",X_.default],["main",Q_.default],["mark",J_.default],["marquee",Y_.default],["math",Z_.default],["menu",eC.default],["menubar",tC.default],["menuitem",rC.default],["menuitemcheckbox",nC.default],["menuitemradio",oC.default],["meter",iC.default],["navigation",aC.default],["none",sC.default],["note",lC.default],["option",uC.default],["paragraph",cC.default],["presentation",dC.default],["progressbar",pC.default],["radio",fC.default],["radiogroup",mC.default],["region",bC.default],["row",vC.default],["rowgroup",yC.default],["rowheader",hC.default],["scrollbar",gC.default],["search",EC.default],["searchbox",wC.default],["separator",_C.default],["slider",CC.default],["spinbutton",PC.default],["status",TC.default],["strong",RC.default],["subscript",SC.default],["superscript",xC.default],["switch",qC.default],["tab",AC.default],["table",MC.default],["tablist",kC.default],["tabpanel",OC.default],["term",IC.default],["textbox",NC.default],["time",LC.default],["timer",BC.default],["toolbar",DC.default],["tooltip",FC.default],["tree",UC.default],["treegrid",jC.default],["treeitem",$C.default]],VC=HC;zo.default=VC});var sp=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var WC={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"]]},zC=WC;Go.default=zC});var lp=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var GC={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"]]},KC=GC;Ko.default=KC});var up=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var XC={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"]]},QC=XC;Xo.default=QC});var cp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var JC={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"]]},YC=JC;Qo.default=YC});var dp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var ZC={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"]]},eP=ZC;Jo.default=eP});var pp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var tP={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"]]},rP=tP;Yo.default=rP});var fp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var nP={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"]]},oP=nP;Zo.default=oP});var mp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var iP={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"]]},aP=iP;ei.default=aP});var bp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.default=void 0;var sP={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"]]},lP=sP;ti.default=lP});var vp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.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:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cP=uP;ri.default=cP});var yp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.default=void 0;var dP={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"]]},pP=dP;ni.default=pP});var hp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var fP={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=fP;oi.default=mP});var gp=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vP=bP;ii.default=vP});var Ep=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hP=yP;ai.default=hP});var wp=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.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:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},EP=gP;si.default=EP});var _p=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var wP={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"]]},_P=wP;li.default=_P});var Cp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.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:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},PP=CP;ui.default=PP});var Pp=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.default=void 0;var TP={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"]]},RP=TP;ci.default=RP});var Tp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var SP={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"]]},xP=SP;di.default=xP});var Rp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.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:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},AP=qP;pi.default=AP});var Sp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},kP=MP;fi.default=kP});var xp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var OP={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"]]},IP=OP;mi.default=IP});var qp=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.default=void 0;var NP={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"]]},LP=NP;bi.default=LP});var Ap=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},DP=BP;vi.default=DP});var Mp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var FP={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"]]},UP=FP;yi.default=UP});var kp=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.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:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},$P=jP;hi.default=$P});var Op=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.default=void 0;var HP={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"]]},VP=HP;gi.default=VP});var Ip=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var WP={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"]]},zP=WP;Ei.default=zP});var Np=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.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:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},KP=GP;wi.default=KP});var Lp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var XP={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"]]},QP=XP;_i.default=QP});var Bp=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.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:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},YP=JP;Ci.default=YP});var Dp=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var ZP={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"]]},eT=ZP;Pi.default=eT});var Fp=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var tT={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"]]},rT=tT;Ti.default=rT});var Up=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var nT={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"]]},oT=nT;Ri.default=oT});var jp=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var iT={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"]]},aT=iT;Si.default=aT});var $p=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var sT={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"]]},lT=sT;xi.default=lT});var Hp=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var uT={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"]]},cT=uT;qi.default=cT});var Vp=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var dT={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"]]},pT=dT;Ai.default=pT});var Wp=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var fT={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=fT;Mi.default=mT});var zp=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var bT=k(sp()),vT=k(lp()),yT=k(up()),hT=k(cp()),gT=k(dp()),ET=k(pp()),wT=k(fp()),_T=k(mp()),CT=k(bp()),PT=k(vp()),TT=k(yp()),RT=k(hp()),ST=k(gp()),xT=k(Ep()),qT=k(wp()),AT=k(_p()),MT=k(Cp()),kT=k(Pp()),OT=k(Tp()),IT=k(Rp()),NT=k(Sp()),LT=k(xp()),BT=k(qp()),DT=k(Ap()),FT=k(Mp()),UT=k(kp()),jT=k(Op()),$T=k(Ip()),HT=k(Np()),VT=k(Lp()),WT=k(Bp()),zT=k(Dp()),GT=k(Fp()),KT=k(Up()),XT=k(jp()),QT=k($p()),JT=k(Hp()),YT=k(Vp()),ZT=k(Wp());function k(e){return e&&e.__esModule?e:{default:e}}var eR=[["doc-abstract",bT.default],["doc-acknowledgments",vT.default],["doc-afterword",yT.default],["doc-appendix",hT.default],["doc-backlink",gT.default],["doc-biblioentry",ET.default],["doc-bibliography",wT.default],["doc-biblioref",_T.default],["doc-chapter",CT.default],["doc-colophon",PT.default],["doc-conclusion",TT.default],["doc-cover",RT.default],["doc-credit",ST.default],["doc-credits",xT.default],["doc-dedication",qT.default],["doc-endnote",AT.default],["doc-endnotes",MT.default],["doc-epigraph",kT.default],["doc-epilogue",OT.default],["doc-errata",IT.default],["doc-example",NT.default],["doc-footnote",LT.default],["doc-foreword",BT.default],["doc-glossary",DT.default],["doc-glossref",FT.default],["doc-index",UT.default],["doc-introduction",jT.default],["doc-noteref",$T.default],["doc-notice",HT.default],["doc-pagebreak",VT.default],["doc-pagelist",WT.default],["doc-part",zT.default],["doc-preface",GT.default],["doc-prologue",KT.default],["doc-pullquote",XT.default],["doc-qna",QT.default],["doc-subtitle",JT.default],["doc-tip",YT.default],["doc-toc",ZT.default]],tR=eR;ki.default=tR});var Gp=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var rR={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"]]},nR=rR;Oi.default=nR});var Kp=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var oR={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"]]},iR=oR;Ii.default=iR});var Xp=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var aR={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"]]},sR=aR;Ni.default=sR});var Qp=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var lR=ts(Gp()),uR=ts(Kp()),cR=ts(Xp());function ts(e){return e&&e.__esModule?e:{default:e}}var dR=[["graphics-document",lR.default],["graphics-object",uR.default],["graphics-symbol",cR.default]],pR=dR;Li.default=pR});var Di=p(Bi=>{"use strict";Object.defineProperty(Bi,"__esModule",{value:!0});Bi.default=void 0;var fR=ar(Ac()),mR=ar(ap()),bR=ar(zp()),vR=ar(Qp()),yR=ar(_t());function ar(e){return e&&e.__esModule?e:{default:e}}function hR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Yp(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
10
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,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 wR(e)||ER(e,t)||Yp(e,t)||gR()}function gR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
11
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yp(e,t){if(e){if(typeof e=="string")return Jp(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 Jp(e,t)}}function Jp(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 ER(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 wR(e){if(Array.isArray(e))return e}var Ge=[].concat(fR.default,mR.default,bR.default,vR.default);Ge.forEach(function(e){var t=ir(e,2),r=t[1],n=rs(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,a=rs(i),s;try{var l=function(){var c=s.value,d=Ge.find(function(T){var m=ir(T,1),h=m[0];return h===c});if(d)for(var b=d[1],v=0,C=Object.keys(b.props);v<C.length;v++){var _=C[v];Object.prototype.hasOwnProperty.call(r.props,_)||Object.assign(r.props,hR({},_,b.props[_]))}};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 ns={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=rs(Ge),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,Ge)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ge.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ns.get(t)},keys:function(){return Ge.map(function(t){var r=ir(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=ir(t,2),n=r[1];return n})}},_R=(0,yR.default)(ns,ns.entries());Bi.default=_R});var tf=p(ef=>{var Zp=Object.prototype.hasOwnProperty;function os(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--&&os(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Zp.call(e,r)&&++n&&!Zp.call(t,r)||!(r in t)||!os(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}ef.dequal=os});var uf=p(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var of=tf(),CR=sf(_t()),af=sf(Di());function sf(e){return e&&e.__esModule?e:{default:e}}function is(e,t){return RR(e)||TR(e,t)||lf(e,t)||PR()}function PR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function TR(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 RR(e){if(Array.isArray(e))return e}function SR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=lf(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,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 lf(e,t){if(e){if(typeof e=="string")return rf(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 rf(e,t)}}function rf(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 Ke=[],nf=af.default.keys();for(Fi=0;Fi<nf.length;Fi++)if(Ui=nf[Fi],ji=af.default.get(Ui),ji)for(as=[].concat(ji.baseConcepts,ji.relatedConcepts),$i=0;$i<as.length;$i++)ss=as[$i],ss.module==="HTML"&&(function(){var e=ss.concept;if(e){var t=Ke.find(function(i){return(0,of.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===Ui){n=!1;break}n&&r.push(Ui),Ke.push([e,r])}})();var Ui,ji,as,ss,$i,Fi,ls={entries:function(){return Ke},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=SR(Ke),o;try{for(n.s();!(o=n.n()).done;){var i=is(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 t.name===n[0].name&&(0,of.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!ls.get(t)},keys:function(){return Ke.map(function(t){var r=is(t,1),n=r[0];return n})},values:function(){return Ke.map(function(t){var r=is(t,2),n=r[1];return n})}},xR=(0,CR.default)(ls,ls.entries());Hi.default=xR});var bf=p(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.default=void 0;var qR=ff(_t()),pf=ff(Di());function ff(e){return e&&e.__esModule?e:{default:e}}function us(e,t){return kR(e)||MR(e,t)||mf(e,t)||AR()}function AR(){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 MR(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 kR(e){if(Array.isArray(e))return e}function OR(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.
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 mf(e,t){if(e){if(typeof e=="string")return cf(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 cf(e,t)}}function cf(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=[],df=pf.default.keys();for(Vi=0;Vi<df.length;Vi++)if(cs=df[Vi],Wi=pf.default.get(cs),zi=[],Wi){for(ds=[].concat(Wi.baseConcepts,Wi.relatedConcepts),Gi=0;Gi<ds.length;Gi++)ps=ds[Gi],ps.module==="HTML"&&(fs=ps.concept,fs!=null&&zi.push(fs));zi.length>0&&tt.push([cs,zi])}var cs,Wi,zi,ds,ps,fs,Gi,Vi,ms={entries:function(){return tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=OR(tt),o;try{for(n.s();!(o=n.n()).done;){var i=us(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!!ms.get(t)},keys:function(){return tt.map(function(t){var r=us(t,1),n=r[0];return n})},values:function(){return tt.map(function(t){var r=us(t,2),n=r[1];return n})}},IR=(0,qR.default)(ms,ms.entries());Ki.default=IR});var vf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var NR=sr(mc()),LR=sr(yc()),BR=sr(Di()),DR=sr(uf()),FR=sr(bf());function sr(e){return e&&e.__esModule?e:{default:e}}var UR=NR.default;me.aria=UR;var jR=LR.default;me.dom=jR;var $R=BR.default;me.roles=$R;var HR=DR.default;me.elementRoles=HR;var VR=FR.default;me.roleElements=VR});var yf=p((fI,Xi)=>{var bs=(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={},b={},v="",C="",_="",T=2,m=3,h=2,E=[],y=0,g=0,x;for(x=0;x<a.length;x+=1)if(v=a.charAt(x),Object.prototype.hasOwnProperty.call(d,v)||(d[v]=m++,b[v]=!0),C=_+v,Object.prototype.hasOwnProperty.call(d,C))_=C;else{if(Object.prototype.hasOwnProperty.call(b,_)){if(_.charCodeAt(0)<256){for(u=0;u<h;u++)y=y<<1,g==s-1?(g=0,E.push(l(y)),y=0):g++;for(c=_.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=0;for(c=_.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete b[_]}else for(c=d[_],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++),d[C]=m++,_=String(v)}if(_!==""){if(Object.prototype.hasOwnProperty.call(b,_)){if(_.charCodeAt(0)<256){for(u=0;u<h;u++)y=y<<1,g==s-1?(g=0,E.push(l(y)),y=0):g++;for(c=_.charCodeAt(0),u=0;u<8;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}else{for(c=1,u=0;u<h;u++)y=y<<1|c,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=0;for(c=_.charCodeAt(0),u=0;u<16;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1}T--,T==0&&(T=Math.pow(2,h),h++),delete b[_]}else for(c=d[_],u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;T--,T==0&&(T=Math.pow(2,h),h++)}for(c=2,u=0;u<h;u++)y=y<<1|c&1,g==s-1?(g=0,E.push(l(y)),y=0):g++,c=c>>1;for(;;)if(y=y<<1,g==s-1){E.push(l(y));break}else g++;return E.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,b=4,v=3,C="",_=[],T,m,h,E,y,g,x,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(h=0,y=Math.pow(2,2),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;switch(c=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;x=e(h);break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;x=e(h);break;case 2:return""}for(u[3]=x,m=x,_.push(x);;){if(R.index>a)return"";for(h=0,y=Math.pow(2,v),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;switch(x=h){case 0:for(h=0,y=Math.pow(2,8),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;u[b++]=e(h),x=b-1,d--;break;case 1:for(h=0,y=Math.pow(2,16),g=1;g!=y;)E=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),h|=(E>0?1:0)*g,g<<=1;u[b++]=e(h),x=b-1,d--;break;case 2:return _.join("")}if(d==0&&(d=Math.pow(2,v),v++),u[x])C=u[x];else if(x===b)C=m+m.charAt(0);else return null;_.push(C),u[b++]=m+C.charAt(0),d--,m=C,d==0&&(d=Math.pow(2,v),v++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return bs}):typeof Xi<"u"&&Xi!=null?Xi.exports=bs:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return bs})});var qa=null;function el(e){qa=e}function Pe(){if(!qa)throw new Error("No active driver bound to worker runtime");return qa}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 tl=null;function rl(e,t,r,n){tl&&tl(e,t,r,n)}function xr(){return It().implicitWaitMs??Ot.defaultElementWaitMs}function L(){return Math.min(xr(),2e3)}function Sr(e,t){console.log(`[${e}] ${t}`)}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);let a=JSON.stringify(t);Sr("TESTSPECTRA_STEP_START",a);let s=Date.now();try{let l=await r(),u=Date.now()-s;Sr("TESTSPECTRA_STEP_PASS",`${a} (${u}ms)`),rl(`step:${t.key}`,e,u,{test:o,target:t.target});let c=n.stepDelayMs||0;return c>0&&await new Promise(d=>setTimeout(d,c)),l}catch(l){let u=Date.now()-s;throw Sr("TESTSPECTRA_STEP_FAIL",`${a} (${u}ms)`),rl(`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??xr(),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 nl(e,t,r){let n=()=>Pe(),o=typeof e=="string"?e:e.selector;async function i(f){return q("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await M(()=>r.isVisible(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(f){return q("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isVisible(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(f){return q("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await M(()=>r.isExisting(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(f){return q("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isExisting(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(f){return q("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await M(()=>r.isEnabled(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(f){return q("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isEnabled(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(f){return q("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await M(()=>n().isClickable(e,t),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be clickable`)})}async function b(f){return q("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await M(async()=>!await n().isClickable(e,t),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function v(f){return q("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await M(()=>r.isChecked(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be checked`)})}async function C(f){return q("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isChecked(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be checked`)})}async function _(f){return q("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await M(()=>r.isFocused(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(f){return q("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isFocused(),f?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be focused`)})}async function m(f,P){return q("assertion",{type:"assertion",key:"have.value",target:e,args:[f]},async()=>{let A="";if(!await M(async()=>(A=await r.getValue(),A===String(f)),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have value "${f}", but got "${A}"`)})}async function h(f,P){return q("assertion",{type:"assertion",key:"not.have.value",target:e,args:[f]},async()=>{if(!await M(async()=>await r.getValue()!==String(f),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have value "${f}"`)})}async function E(f,P){return q("assertion",{type:"assertion",key:"contain.value",target:e,args:[f]},async()=>{let A="";if(!await M(async()=>(A=await r.getValue(),A.includes(String(f))),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain value "${f}", but got "${A}"`)})}async function y(f,P){return q("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[f]},async()=>{if(!await M(async()=>!(await r.getValue()).includes(String(f)),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain value "${f}"`)})}async function g(f,P){return q("assertion",{type:"assertion",key:"have.text",target:e,args:[f]},async()=>{let A="";if(!await M(async()=>(A=await r.getText(),f instanceof RegExp?f.test(A):A===String(f)||A.trim()===String(f).trim()),P?.timeoutMs??L()))throw f instanceof RegExp?new Error(`Expected element "${o}" text to match ${f}, but got "${A}"`):new Error(`Expected element "${o}" to have text "${f}", but got "${A}"`)})}async function x(f,P){return q("assertion",{type:"assertion",key:"not.have.text",target:e,args:[f]},async()=>{let A="";if(!await M(async()=>await r.isExisting()?(A=await r.getText(),f instanceof RegExp?!f.test(A):A!==String(f)&&A.trim()!==String(f).trim()):!1,P?.timeoutMs??L()))throw f instanceof RegExp?new Error(`Expected element "${o}" text not to match ${f}`):new Error(`Expected element "${o}" not to have text "${f}"`)})}async function R(f,P){return q("assertion",{type:"assertion",key:"contain.text",target:e,args:[f]},async()=>{let A="";if(!await M(async()=>(A=await r.getText(),A.includes(String(f))),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain text "${f}", but got "${A}"`)})}async function $(f,P){return q("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[f]},async()=>{if(!await M(async()=>!(await r.getText()).includes(String(f)),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain text "${f}"`)})}async function B(f,P){return q("assertion",{type:"assertion",key:"have.class",target:e,args:[f]},async()=>{if(!await M(()=>n().hasClass(e,f,t),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have class "${f}"`)})}async function G(f,P){return q("assertion",{type:"assertion",key:"not.have.class",target:e,args:[f]},async()=>{if(!await M(async()=>!await n().hasClass(e,f,t),P?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have class "${f}"`)})}async function K(f,P,A){return q("assertion",{type:"assertion",key:"have.attr",target:e,args:P!==void 0?[f,P]:[f]},async()=>{let U=null;if(!await M(async()=>(U=await r.getAttribute(f),P!==void 0?U===String(P):U!==null),A?.timeoutMs??L()))throw P!==void 0?new Error(`Expected element "${o}" to have attribute "${f}" = "${P}", but got "${U}"`):new Error(`Expected element "${o}" to have attribute "${f}"`)})}async function O(f,P){return q("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[f]},async()=>{if(!await M(async()=>await r.getAttribute(f)===null,P?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have attribute "${f}"`)})}async function W(f,P,A){return q("assertion",{type:"assertion",key:"have.css",target:e,args:[f,P]},async()=>{let U=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),N="";if(!await M(async()=>(N=(await r.getCSSProperty(f)).value,U(N)===U(P)),A?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have CSS "${f}" = "${P}", but got "${N}"`)})}async function Z(f,P,A){return q("assertion",{type:"assertion",key:"not.have.css",target:e,args:[f,P]},async()=>{let U=pe=>String(pe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await M(async()=>{let pe=await r.getCSSProperty(f);return U(pe.value)!==U(P)},A?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have CSS "${f}" = "${P}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:b,shouldBeChecked:v,shouldNotBeChecked:C,shouldBeFocused:_,shouldNotBeFocused:T,shouldHaveValue:m,shouldNotHaveValue:h,shouldContainValue:E,shouldNotContainValue:y,shouldHaveText:g,shouldNotHaveText:x,shouldContainText:R,shouldNotContainText:$,shouldHaveClass:B,shouldNotHaveClass:G,shouldHaveAttribute:K,shouldNotHaveAttribute:O,shouldHaveCss:W,shouldNotHaveCss:Z}}function ol(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 b(){return await d()}async function v(){return await r().isFocused(e,t)}async function C(h){return await r().getAttribute(e,h,t)}async function _(h){return await r().getCSSProperty(e,h,t)}async function T(h){let E=h??xr();if(await M(async()=>r().isExisting(e,t),E))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function m(h={}){let E=h.timeout||5e3,y=Date.now();for(;Date.now()-y<E;){if(await r().isDisplayed(e,t))return!0;await new Promise(g=>setTimeout(g,20))}throw new Error(`Element ${n} not displayed after ${E}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:b,isFocused:v,getAttribute:C,getCSSProperty:_,waitForElement:T,waitForDisplayed:m}}function al(e){return typeof e=="string"?e:e.selector}function il(e,t){return typeof e=="string"?{selector:e,index:t,parent:void 0}:e}function ue(e,t=null){let r=al(e),n=typeof e=="string"?t:e.index,o=sl(e,t),i=ol(e,t),a=nl(e,t,i);return{selector:r,index:n,...o,...i,...a,get(s,l=null){return ue({selector:s,index:l,parent:il(e,t)},null)},getAll(s){return Te({selector:s,index:null,parent:il(e,t)})}}}function Te(e){let t=()=>Pe(),r=al(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??L()))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??L()))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??L()))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??L()))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??L()))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??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 ll(e){return typeof e=="string"?e:e.selector}function sl(e,t){let r=()=>Pe();async function n(f){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(f){return q("action",{type:"action",key:"type",target:e,args:[f]},async()=>{await r().setValue(e,f,t)})}async function s(f,P){P?.clearFirst&&await l(),await a(f)}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(f){return q("action",{type:"action",key:"select",target:e,args:[f]},async()=>{await r().select(e,f,t)})}async function d(f){await c(f)}async function b(){return q("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function v(){return q("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function C(){return q("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function _(f){return q("action",{type:"action",key:"waitForElementRemoved",target:e,args:[f??5e3]},async()=>{if(!await M(async()=>!await r().isExisting(e,t),f??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(ll(e)))})}async function T(f){return q("action",{type:"action",key:"waitForUndisplayed",target:e,args:[f?.timeout??5e3]},async()=>{if(!await M(async()=>!await r().isDisplayed(e,t),f?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(ll(e)))})}async function m(f){return q("action",{type:"action",key:"waitForClickable",target:e,args:[f?.timeout??5e3]},async()=>await M(async()=>await r().isClickable(e,t),f?.timeout??5e3))}async function h(){return q("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function E(){let f=typeof e=="string"?e+"::parent":e.selector+"::parent";return ue(f,null)}async function y(f){return q("action",{type:"action",key:"closest",target:e,args:[f]},async()=>{if(!await r().closest(e,f,t))return null;let A=typeof e=="string"?e:e.selector;return ue(`${A}::closest(${f})`,null)})}function g(f){let P=typeof e=="string"?e:e.selector;return Te(`${P}::children(${f??""})`)}function x(f){let P=typeof e=="string"?e:e.selector;return Te(`${P}::siblings(${f??""})`)}function R(f){let P=typeof e=="string"?e:e.selector;return ue(`${P}::next(${f??""})`,null)}async function $(){await b()}async function B(f){let P=typeof f=="string"?f:f?.selector||String(f);return q("action",{type:"action",key:"dragDrop",target:e,args:[P]},async()=>{await r().dragDrop(e,P,t)})}async function G(f){await B(f)}async function K(f){let P=typeof f=="number"?f:f?.duration||1e3;return q("action",{type:"action",key:"longPress",target:e,args:[P]},async()=>{await r().longPress(e,P,t)})}async function O(){return q("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function W(f){return q("action",{type:"action",key:"upload",target:e,args:[f]},async()=>{await r().upload(e,f,t)})}async function Z(f){await W(f)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:b,focus:v,blur:C,waitForElementRemoved:_,waitForUndisplayed:T,waitForClickable:m,getBounds:h,parent:E,closest:y,children:g,siblings:x,next:R,moveTo:$,dragDrop:B,dragAndDrop:G,longPress:K,scrollIntoView:O,upload:W,uploadFile:Z}}function Aa(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 qr(e){let t={respondWith:async(n,o={})=>{let i=n;e.response=i&&i.body!==void 0?i.body:n,(o.statusCode||i&&i.statusCode)&&(e.statusCode=o.statusCode||i?.statusCode||200),(o.headers||i&&i.headers)&&(e.headers=o.headers||i?.headers),(o.delayMs!==void 0||i&&i.delayMs!==void 0)&&(e.delayMs=o.delayMs??i?.delayMs),e.aborted=!1},respondOnce:async(n,o={})=>{let i=n,a=i&&i.body!==void 0?i.body:n,s=o.statusCode||i&&i.statusCode||e.statusCode||200,l=o.headers||i&&i.headers||e.headers,u=o.delayMs??(i&&i.delayMs)??e.delayMs;e.respondOnceQueue.push({response:a,statusCode:s,headers:l,delayMs:u}),e.aborted=!1},abort:async(n="Failed")=>{e.aborted=!0,e.abortReason=n},waitForCall:async(n={})=>{let o=n.count??1,i=n.timeout??5e3;return e.calls.length>=o?e.calls[o-1]:new Promise((a,s)=>{let l=setTimeout(()=>{let u=e.waitResolvers.findIndex(c=>c.resolve===a);u!==-1&&e.waitResolvers.splice(u,1),s(new Error(`Spectra.intercept waitForCall timed out after ${i}ms (expected at least ${o} call(s), received ${e.calls.length})`))},i);e.waitResolvers.push({count:o,resolve:u=>{clearTimeout(l),a(u)}})})}},r=()=>e.callCount;return t.callCount=Object.assign(r,{valueOf:()=>e.callCount,[Symbol.toPrimitive]:()=>e.callCount}),Object.defineProperty(t,"calls",{get:()=>e.calls,enumerable:!0}),t}function Ar(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(Aa(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 Bt(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 Nb={"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 Mr(e){let t=new Map;for(let[r,n]of Object.entries(Nb))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 Dt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function ul(e){let t=/^(.*)::closest\((.+)\)$/.exec(e);if(t)return{kind:"closest",base:t[1],arg:t[2]};let r=/^(.*)::children\((.*)\)$/.exec(e);if(r)return{kind:"children",base:r[1],arg:r[2].trim()||null};let n=/^(.*)::children$/.exec(e);if(n)return{kind:"children",base:n[1],arg:null};let o=/^(.*)::siblings\((.*)\)$/.exec(e);if(o)return{kind:"siblings",base:o[1],arg:o[2].trim()||null};let i=/^(.*)::siblings$/.exec(e);if(i)return{kind:"siblings",base:i[1],arg:null};let a=/^(.*)::next\((.*)\)$/.exec(e);if(a)return{kind:"next",base:a[1],arg:a[2].trim()||null};let s=/^(.*)::next$/.exec(e);if(s)return{kind:"next",base:s[1],arg:null};let l=/^(.*)::parent$/.exec(e);return l?{kind:"parent",base:l[1]}:null}function Ma(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 cl(e){let t=Ma(e);if(!t)return null;let{name:r,chainSuffix:n}=t,o=JSON.stringify(r);return`:is([aria-label=${o}], [title=${o}])${n}`}function dl(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 Lb=new Set(["mount","unmount","registerCommand","registerCommands"]),Bb=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function pl(){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()},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(!Bb.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(Lb.has(r)||r in t)throw new Error(`[TestSpectra] Custom command "${r}" collides with a built-in Spectra method.`);t[r]=n},t.registerCommands=r=>{for(let[n,o]of Object.entries(r))t.registerCommand(n,o)},t}function fl(){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 Db=5e3;function kr(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 ka(){return Db}function Fb(){return Math.min(ka(),2e3)}async function Ub(e,t,r){let n=globalThis.__CURRENT_TEST_TITLE__;n&&!t.test&&(t.test=n);let o=JSON.stringify(t);kr("TESTSPECTRA_STEP_START",o);let i=Date.now();try{let a=await r(),s=Date.now()-i;kr("TESTSPECTRA_STEP_PASS",`${o} (${s}ms)`);let l=fl();return l>0&&await new Promise(u=>setTimeout(u,l)),a}catch(a){let s=Date.now()-i;throw kr("TESTSPECTRA_STEP_FAIL",`${o} (${s}ms)`),a}}async function jb(e,t,r=15){let n=t??ka(),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:fl()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:kr,trackStep:Ub,pollCondition:jb,getImplicitWaitMs:ka,getAssertionTimeoutMs:Fb,matchesUrlPattern:Aa,createMockHandle:qr,parseMockRule:Ar,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Bt,mergeMockResponseHeaders:Mr,mockResponseBodyText:Dt,createElementProxy:ue,createCollectionProxy:Te,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var ml=new Set;async function bl(e,t=[],r,n={platform:"web"}){for(let o of t)if(!ml.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.`),ml.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function $b(){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 vl=new Map;async function Or(e){let t=vl.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 vl.set(e,r),r}async function Oa(e){let t=e??$b();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 Or(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 Or(u),b=d?.default!==void 0?d.default:d??u;typeof b=="string"&&b.startsWith("data:")&&!b.includes("name=")&&(b=b.replace(/^data:([^;,]+)/,v=>`${v};name=${encodeURIComponent(c)}`)),n[l.name]=b}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 Or(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=Hb();s.length>0&&globalThis.Spectra&&await bl(globalThis.Spectra,s,Or,{platform:"web"})}function Hb(){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=Oa;function S(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(Vb(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 ${Wb(e)}`)}function Vb(e){return e.nodeType===9}function Wb(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Ia(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 yl(e){return e.replace(/[A-Z]/g,t=>t.toLowerCase())}var La=class extends Array{add(...t){let r=typeof t[0]=="string"?new Ut(t[0],yl(t[1])):new Ut(t[0]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};function Na(e){let t=yl(e);return t==="text"?"text/plain":t==="url"?"text/uri-list":t}function Ir(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 zb(e){return new class{getData(r){var n;let o=Na(r),i=(n=this.items.find(Ir(o,!0)))!==null&&n!==void 0?n:this.items.find(Ir(o,!1)),a="";return i?.getAsString(s=>{a=s}),a}setData(r,n){let o=Na(r),i=this.items.findIndex(Ir(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=Na(r),o=this.items.findIndex(Ir(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 La),Ne(this,"files",Ft(e,[]))}}}function bt(e,t=[]){let r=typeof e.DataTransfer>"u"?zb(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(e,t)}),r}async function hl(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function El(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(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){El(this,"data",void 0),this.data=o}}(r)}var vt=Symbol("Manage ClipboardSub");function gl(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=>Ia(a,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[wl(e,n)]}constructor(...n){super(...n),El(this,"items",[])}},{[vt]:t})}function Ba(e){return!!e?.[vt]}function _l(e){if(Ba(e.navigator.clipboard))return e.navigator.clipboard[vt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=gl(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=gl(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[vt]}function Gb(e){Ba(e.navigator.clipboard)&&e.navigator.clipboard[vt].resetClipboardStub()}function Kb(e){Ba(e.navigator.clipboard)&&e.navigator.clipboard[vt].detachClipboardStub()}async function Cl(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=bt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>Ia(s,t.FileReader)));return o}async function Lr(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 hl(r,s);o.push(wl(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Nr=globalThis;typeof Nr.afterEach=="function"&&Nr.afterEach(()=>{typeof globalThis.window<"u"&&Gb(globalThis.window)});typeof Nr.afterAll=="function"&&Nr.afterAll(()=>{typeof globalThis.window<"u"&&Kb(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 jt(e){return e.matches(Br)}function Pl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(S(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(S(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&&S(t,"iframe")){let r=t.contentDocument;if(r)return Le(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function yt(e){var t;return(t=Le(e))!==null&&t!==void 0?t:e.body}function Tl(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 Be(e){let t=Xb(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Xb(e){return e.nodeType===1?e:e.parentElement}var Rl=(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})(Rl||{});function Dr(e){return S(e,"button")||S(e,"input")&&e.type in Rl}function ve(e){return Da(e)&&!e.readOnly||ce(e)}var Sl=(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})(Sl||{});function Da(e){return S(e,"textarea")||S(e,"input")&&e.type in Sl}function X(e){return ql(e)&&Da(e)}function xl(e){return ql(e)&&Dr(e)}function ql(e){return e.nodeType===1}function Al(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=Be(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 Fr(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 ra=xa($u());var Ay=Object.prototype.toString;function Hu(e){return typeof e=="function"||Ay.call(e)==="[object Function]"}function My(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var ky=Math.pow(2,53)-1;function Oy(e){var t=My(e);return Math.min(Math.max(t,0),ky)}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"&&!Hu(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Oy(n.length),i=Hu(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 Iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vu(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,Wu(n.key),n)}}function Ny(e,t,r){return t&&Vu(e.prototype,t),r&&Vu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ly(e,t,r){return t=Wu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wu(e){var t=By(e,"string");return tr(t)==="symbol"?t:String(t)}function By(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 Dy=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Iy(this,e),Ly(this,"items",void 0),this.items=t}return Ny(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})(),zu=typeof Set>"u"?Set:Dy;function Q(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var Fy={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"},Uy={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 jy(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=Uy[t])!==null&&n!==void 0&&n.has(r))})}function Gu(e,t){return jy(e,t)}function Qr(e){var t=Hy(e);if(t===null||t==="presentation"){var r=$y(e);if(t!=="presentation"||Gu(e,r||""))return r}return t}function $y(e){var t=Fy[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")===""&&!Gu(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 Hy(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 Ka(e){return j(e)&&Q(e)==="caption"}function rr(e){return j(e)&&Q(e)==="input"}function Ku(e){return j(e)&&Q(e)==="optgroup"}function Xu(e){return j(e)&&Q(e)==="select"}function Qu(e){return j(e)&&Q(e)==="table"}function Ju(e){return j(e)&&Q(e)==="textarea"}function Yu(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function Zu(e){return j(e)&&Q(e)==="fieldset"}function ec(e){return j(e)&&Q(e)==="legend"}function tc(e){return j(e)&&Q(e)==="slot"}function Vy(e){return j(e)&&e.ownerSVGElement!==void 0}function rc(e){return j(e)&&Q(e)==="svg"}function nc(e){return Vy(e)&&Q(e)==="title"}function wt(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 Wy(e){return e.trim().replace(/\s\s+/g," ")}function zy(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 Gy(e){return ge(e,["button","combobox","listbox","textbox"])||ac(e,"range")}function ac(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 oc(e,t){var r=de(e.querySelectorAll(t));return wt(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function Ky(e){return Xu(e)?e.selectedOptions||oc(e,"[selected]"):oc(e,'[aria-selected="true"]')}function Xy(e){return ge(e,["none","presentation"])}function Qy(e){return Ka(e)}function Jy(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 Yy(e){return!1}function Zy(e){return rr(e)||Ju(e)?e.value:e.textContent||""}function ic(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function sc(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 lc(e){if(sc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&j(r)){var n=lc(r);n!==null&&(t=n)}}),t}function eh(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):lc(e)}function th(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!sc(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return eh(n)===e})}function rh(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 zu,n=Yu(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 b(m,h){var E="";if(j(m)&&s){var y=u(m,"::before"),g=ic(y);E="".concat(g," ").concat(E)}var x=tc(m)?rh(m):de(m.childNodes).concat(wt(m,"aria-owns"));if(x.forEach(function(B){var G=T(B,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=j(B)?u(B).getPropertyValue("display"):"inline",O=K!=="inline"?" ":"";E+="".concat(O).concat(G).concat(O)}),j(m)&&s){var R=u(m,"::after"),$=ic(R);E="".concat(E," ").concat($)}return E.trim()}function v(m,h){var E=m.getAttributeNode(h);return E!==null&&!r.has(E)&&E.value.trim()!==""?(r.add(E),E.value):null}function C(m){return j(m)?v(m,"title"):null}function _(m){if(!j(m))return null;if(Zu(m)){r.add(m);for(var h=de(m.childNodes),E=0;E<h.length;E+=1){var y=h[E];if(ec(y))return T(y,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Qu(m)){r.add(m);for(var g=de(m.childNodes),x=0;x<g.length;x+=1){var R=g[x];if(Ka(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(rc(m)){r.add(m);for(var $=de(m.childNodes),B=0;B<$.length;B+=1){var G=$[B];if(nc(G))return G.textContent}return null}else if(Q(m)==="img"||Q(m)==="area"){var K=v(m,"alt");if(K!==null)return K}else if(Ku(m)){var O=v(m,"label");if(O!==null)return O}if(rr(m)&&(m.type==="button"||m.type==="submit"||m.type==="reset")){var W=v(m,"value");if(W!==null)return W;if(m.type==="submit")return"Submit";if(m.type==="reset")return"Reset"}var Z=th(m);if(Z!==null&&Z.length!==0)return r.add(m),de(Z).map(function(U){return T(U,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(U){return U.length>0}).join(" ");if(rr(m)&&m.type==="image"){var f=v(m,"alt");if(f!==null)return f;var P=v(m,"title");return P!==null?P:"Submit Query"}if(ge(m,["button"])){var A=b(m,{isEmbeddedInLabel:!1,isReferenced:!1});if(A!=="")return A}return null}function T(m,h){if(r.has(m))return"";if(!d&&zy(m,u)&&!h.isReferenced)return r.add(m),"";var E=j(m)?m.getAttributeNode("aria-labelledby"):null,y=E!==null&&!r.has(E)?wt(m,"aria-labelledby"):[];if(i==="name"&&!h.isReferenced&&y.length>0)return r.add(E),y.map(function(K){return T(K,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var g=h.recursion&&Gy(m)&&i==="name";if(!g){var x=(j(m)&&m.getAttribute("aria-label")||"").trim();if(x!==""&&i==="name")return r.add(m),x;if(!Xy(m)){var R=_(m);if(R!==null)return r.add(m),R}}if(ge(m,["menu"]))return r.add(m),"";if(g||h.isEmbeddedInLabel||h.isReferenced){if(ge(m,["combobox","listbox"])){r.add(m);var $=Ky(m);return $.length===0?rr(m)?m.value:"":de($).map(function(K){return T(K,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(ac(m,"range"))return r.add(m),m.hasAttribute("aria-valuetext")?m.getAttribute("aria-valuetext"):m.hasAttribute("aria-valuenow")?m.getAttribute("aria-valuenow"):m.getAttribute("value")||"";if(ge(m,["textbox"]))return r.add(m),Zy(m)}if(Jy(m)||j(m)&&h.isReferenced||Qy(m)||Yy(m)){var B=b(m,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});if(B!=="")return r.add(m),B}if(m.nodeType===m.TEXT_NODE)return r.add(m),m.textContent||"";if(h.recursion)return r.add(m),b(m,{isEmbeddedInLabel:h.isEmbeddedInLabel,isReferenced:!1});var G=C(m);return G!==null?(r.add(m),G):(r.add(m),"")}return Wy(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 uc(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 cc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uc(Object(r),!0).forEach(function(n){nh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function nh(e,t,r){return t=oh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oh(e){var t=ih(e,"string");return nr(t)==="symbol"?t:String(t)}function ih(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 Yr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=wt(e,"aria-describedby").map(function(o){return Jr(o,cc(cc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function ah(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 ah(e)?"":Jr(e,t)}var oe=xa(vf()),Pf=xa(yf());function Tf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var WR=(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
+ `)!==-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("")},zR=3,GR=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?Rf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==zR?"":t.spacingOuter+r+s}).join(""),Rf=(e,t)=>{let r=t.colors.content;return r.open+Tf(e)+r.close},KR=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Tf(e)+"-->"+r.close},XR=(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},QR=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},JR=1,Sf=3,xf=8,qf=11,YR=/^((HTML|SVG)\w*)?Element$/,Af=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},ZR=e=>{let t=e.constructor.name,r=e.nodeType;return r===JR&&(YR.test(t)||Af(e))||r===Sf&&t==="Text"||r===xf&&t==="Comment"||r===qf&&t==="DocumentFragment"};function e0(e){return e.nodeType===Sf}function t0(e){return e.nodeType===xf}function vs(e){return e.nodeType===qf}function r0(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Af(t))&&ZR(t)},serialize:(t,r,n,o,i,a)=>{if(e0(t))return Rf(t.data,r);if(t0(t))return KR(t.data,r);let s=vs(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?QR(s,r):XR(s,WR(vs(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),vs(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,o,i,a),GR(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var Mf=null,qs=null,As=null;try{let e=module&&module.require;qs=e.call(module,"fs").readFileSync,As=e.call(module,"@babel/code-frame").codeFrameColumns,Mf=e.call(module,"picocolors")}catch{}function n0(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=qs(a,"utf-8")}catch{return""}let c=As(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return Mf.dim(n)+`
17
17
  `+c+`
18
- `}function r0(){if(!xs||!qs)return"";let t=new Error().stack.split(`
19
- `).slice(1).find(r=>!r.includes("node_modules/"));return t0(t)}var Af=3;function vs(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function As(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Mf(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 xe(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 n0=["filterNode"],o0=()=>{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},i0=ra.plugins.DOMCollection,a0=1,s0=8;function l0(e){return e.nodeType!==s0&&(e.nodeType!==a0||!e.matches(I().defaultIgnore))}function Ji(e,t,r){if(r===void 0&&(r={}),e||(e=As().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?l0:i,s=Fr(o,n0),l=ra.format(e,{plugins:[e0(a),i0],printFunctionName:!1,highlight:o0(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var vf=function(){let e=r0();console.log(e?Ji(...arguments)+`
18
+ `}function o0(){if(!qs||!As)return"";let t=new Error().stack.split(`
19
+ `).slice(1).find(r=>!r.includes("node_modules/"));return n0(t)}var kf=3;function ys(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Ms(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Of(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 i0=["filterNode"],a0=()=>{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},s0=ra.plugins.DOMCollection,l0=1,u0=8;function c0(e){return e.nodeType!==u0&&(e.nodeType!==l0||!e.matches(I().defaultIgnore))}function Ji(e,t,r){if(r===void 0&&(r={}),e||(e=Ms().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?c0:i,s=Fr(o,i0),l=ra.format(e,{plugins:[r0(a),s0],printFunctionName:!1,highlight:a0(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var hf=function(){let e=o0();console.log(e?Ji(...arguments)+`
20
20
 
21
21
  `+e:Ji(...arguments))},Yi={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, "+Yi.defaultIgnore+`
22
22
  `+r].filter(Boolean).join(`
23
23
 
24
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function u0(e){try{return Yi._disableExpensiveErrorDiagnostics=!0,e()}finally{Yi._disableExpensiveErrorDiagnostics=!1}}function I(){return Yi}var c0=["button","meter","output","progress","select","textarea","input"];function kf(e){return c0.includes(e.nodeName.toLowerCase())?"":e.nodeType===Af?e.textContent:Array.from(e.childNodes).map(t=>kf(t)).join("")}function hs(e){let t;return e.tagName.toLowerCase()==="label"?t=kf(e):t=e.value||e.textContent,t}function Of(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!d0(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function d0(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function If(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:hs(u),formControl:null}:{content:"",formControl:null}}):Array.from(Of(t)).map(l=>{let u=hs(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 Nf(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 Rt(e,t,r,n){if(typeof e!="string")return!1;Nf(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Bf(r,o)}function Se(e,t,r,n){if(typeof e!="string")return!1;Nf(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Bf(r,o):o===String(r)}function Lf(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 nt(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return Lf({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 Bf(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 na(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Af&&!!t.textContent).map(t=>t.textContent).join("")}var p0=f0(oe.elementRoles);function Df(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ms(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?Df: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 ks(e){for(let t of p0){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function f0(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,v=m===void 0?[]:m,P=v.indexOf("undefined")!==-1,C=v.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 m0(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?Ms(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=ks(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function b0(e,t){let r=t.hidden,n=t.includeDescription,o=m0(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 v='Description "'+Yr(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
26
- `;return""+d+v+m}return""+d+m}).join(`
24
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function d0(e){try{return Yi._disableExpensiveErrorDiagnostics=!0,e()}finally{Yi._disableExpensiveErrorDiagnostics=!1}}function I(){return Yi}var p0=["button","meter","output","progress","select","textarea","input"];function If(e){return p0.includes(e.nodeName.toLowerCase())?"":e.nodeType===kf?e.textContent:Array.from(e.childNodes).map(t=>If(t)).join("")}function gs(e){let t;return e.tagName.toLowerCase()==="label"?t=If(e):t=e.value||e.textContent,t}function Nf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!f0(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function f0(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Lf(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:gs(u),formControl:null}:{content:"",formControl:null}}):Array.from(Nf(t)).map(l=>{let u=gs(l),d=Array.from(l.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(b=>b.matches(i))[0];return{content:u,formControl:d}})}function Bf(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 Rt(e,t,r,n){if(typeof e!="string")return!1;Bf(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Ff(r,o)}function xe(e,t,r,n){if(typeof e!="string")return!1;Bf(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Ff(r,o):o===String(r)}function Df(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 nt(e){let t=e.trim,r=e.collapseWhitespace,n=e.normalizer;if(!n)return Df({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 Ff(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 na(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 m0=b0(oe.elementRoles);function Uf(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function ks(e,t){t===void 0&&(t={});let r=t,n=r.isSubtreeInaccessible,o=n===void 0?Uf: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 Os(e){for(let t of m0){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function b0(e){function t(a){let s=a.name,l=a.attributes;return""+s+l.map(u=>{let c=u.name,d=u.value,b=u.constraints,v=b===void 0?[]:b,C=v.indexOf("undefined")!==-1,_=v.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':C?":not(["+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 v0(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?ks(a)===!1:!0).reduce((a,s)=>{let l=[];return s.hasAttribute("role")?l=s.getAttribute("role").split(" ").slice(0,1):l=Os(s),l.reduce((u,c)=>Array.isArray(u[c])?{...u,[c]:[...u[c],s]}:{...u,[c]:[s]},a)},{})}function y0(e,t){let r=t.hidden,n=t.includeDescription,o=v0(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
+ `,b=Ji(c.cloneNode(!1));if(n){let v='Description "'+Yr(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
26
+ `;return""+d+v+b}return""+d+b}).join(`
27
27
 
28
28
  `);return a+`:
29
29
 
30
30
  `+u+`
31
31
 
32
32
  `+l}).join(`
33
- `)}function v0(e){return e.tagName==="OPTION"?e.selected:ur(e,"aria-selected")}function y0(e){return e.getAttribute("aria-busy")==="true"}function h0(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ur(e,"aria-checked")}function g0(e){return ur(e,"aria-pressed")}function E0(e){var t,r;return(t=(r=ur(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function w0(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 _0(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 C0(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function P0(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function T0(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function R0(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var yf=Lf();function S0(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function hf(e){return new RegExp(S0(e.toLowerCase()),"i")}function Ke(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:hf(r)];i&&(s.name=hf(i)),e==="Role"&&Ms(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
33
+ `)}function h0(e){return e.tagName==="OPTION"?e.selected:ur(e,"aria-selected")}function g0(e){return e.getAttribute("aria-busy")==="true"}function E0(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ur(e,"aria-checked")}function w0(e){return ur(e,"aria-pressed")}function _0(e){var t,r;return(t=(r=ur(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function C0(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 P0(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 T0(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function R0(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function S0(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function x0(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var gf=Df();function q0(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Ef(e){return new RegExp(q0(e.toLowerCase()),"i")}function Xe(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:Ef(r)];i&&(s.name=Ef(i)),e==="Role"&&ks(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 v=m[0],P=m[1];return v+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function Xe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function gs(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=ks(e))==null?void 0:o[0];if(i!=="generic"&&Xe("Role",r,i))return Ke("Role",e,i,{variant:t,name:or(e,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})});let a=If(document,e).map(m=>m.content).join(" ");if(Xe("LabelText",r,a))return Ke("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Xe("PlaceholderText",r,s))return Ke("PlaceholderText",e,s,{variant:t});let l=yf(na(e));if(Xe("Text",r,l))return Ke("Text",e,l,{variant:t});if(Xe("DisplayValue",r,e.value))return Ke("DisplayValue",e,yf(e.value),{variant:t});let u=e.getAttribute("alt");if(Xe("AltText",r,u))return Ke("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(Xe("Title",r,c))return Ke("Title",e,c,{variant:t});let d=e.getAttribute(I().testIdAttribute);if(Xe("TestId",r,d))return Ke("TestId",e,d,{variant:t})}function Qi(e,t){e.stack=t.stack.replace(t.message,e.message)}function x0(e,t){let r=t.container,n=r===void 0?As():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,v=t.mutationObserverOptions,P=v===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:v;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,h,E,y=!1,g="idle",x=setTimeout(K,i),R=vs();if(R){let _=I(),B=_.unstable_advanceTimersWrapper;for(z();!y;){if(!vs()){let Z=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(Z,l),T(Z);return}if(await B(async()=>{jest.advanceTimersByTime(c)}),y)break;z()}}else{try{xe(n)}catch(Z){T(Z);return}h=setInterval(F,c);let _=Mf(n),B=_.MutationObserver;E=new B(F),E.observe(n,P),z()}function H(_,B){y=!0,clearTimeout(x),R||(clearInterval(h),E.disconnect()),_?T(_):C(B)}function F(){if(vs()){let _=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(_,l),T(_)}else return z()}function z(){if(g!=="pending")try{let _=u0(e);typeof _?.then=="function"?(g="pending",_.then(B=>{g="resolved",H(null,B)},B=>{g="rejected",f=B})):H(null,_)}catch(_){f=_}}function K(){let _;f?(_=f,!s&&_.name==="TestingLibraryElementError"&&Qi(_,l)):(_=new Error("Timed out in waitFor."),s||Qi(_,l)),H(m(_),null)}})}function q0(e,t){let r=new Error("STACK_TRACE_MESSAGE");return I().asyncWrapper(()=>x0(e,{stackTraceError:r,...t}))}function Ff(e,t){return I().getElementError(e,t)}function A0(e,t){return Ff(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function oa(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?Se:Rt,d=nt({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(m=>c(m.getAttribute(e),m,r,d))}function Zi(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=>Ff(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(b=>{let v=b[0],C=b[1];return v+": "+C}).join(", ")+" }":"",u+"("+c+d+")"}}}function Qe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Es(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=Os(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=Lf(document,e).map(b=>b.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=gf(na(e));if(Qe("Text",r,l))return Xe("Text",e,l,{variant:t});if(Qe("DisplayValue",r,e.value))return Xe("DisplayValue",e,gf(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 Qi(e,t){e.stack=t.stack.replace(t.message,e.message)}function A0(e,t){let r=t.container,n=r===void 0?Ms():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,b=d===void 0?_=>(Object.defineProperty(_,"message",{value:I().getElementError(_.message,n).message}),_):d,v=t.mutationObserverOptions,C=v===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:v;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(_,T)=>{let m,h,E,y=!1,g="idle",x=setTimeout(K,i),R=ys();if(R){let O=I(),W=O.unstable_advanceTimersWrapper;for(G();!y;){if(!ys()){let Z=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(Z,l),T(Z);return}if(await W(async()=>{jest.advanceTimersByTime(c)}),y)break;G()}}else{try{qe(n)}catch(Z){T(Z);return}h=setInterval(B,c);let O=Of(n),W=O.MutationObserver;E=new W(B),E.observe(n,C),G()}function $(O,W){y=!0,clearTimeout(x),R||(clearInterval(h),E.disconnect()),O?T(O):_(W)}function B(){if(ys()){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 G()}function G(){if(g!=="pending")try{let O=d0(e);typeof O?.then=="function"?(g="pending",O.then(W=>{g="resolved",$(null,W)},W=>{g="rejected",m=W})):$(null,O)}catch(O){m=O}}function K(){let O;m?(O=m,!s&&O.name==="TestingLibraryElementError"&&Qi(O,l)):(O=new Error("Timed out in waitFor."),s||Qi(O,l)),$(b(O),null)}})}function M0(e,t){let r=new Error("STACK_TRACE_MESSAGE");return I().asyncWrapper(()=>A0(e,{stackTraceError:r,...t}))}function jf(e,t){return I().getElementError(e,t)}function k0(e,t){return jf(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function oa(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:Rt,d=nt({collapseWhitespace:s,trim:l,normalizer:u});return Array.from(t.querySelectorAll("["+e+"]")).filter(b=>c(b.getAttribute(e),b,r,d))}function Zi(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=>jf(null,l).message).join(`
36
36
 
37
- `);throw A0(t(r,...o)+`
37
+ `);throw k0(t(r,...o)+`
38
38
 
39
39
  Here are the matching elements:
40
40
 
41
- `+s,r)}return a[0]||null}}function Uf(e,t){return I().getElementError(`A better query is available, try this:
41
+ `+s,r)}return a[0]||null}}function $f(e,t){return I().getElementError(`A better query is available, try this:
42
42
  `+e.toString()+`
43
- `,t)}function M0(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 ea(e){return(t,r,n,o)=>q0(()=>e(t,r,n),{container:t,...o})}var Tt=(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 v=gs(s,r);if(v&&!t.endsWith(v.queryName))throw Uf(v.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 v=[...new Set(s.map(P=>{var C;return(C=gs(P,r))==null?void 0:C.toString()}))];if(v.length===1&&!t.endsWith(gs(s[0],r).queryName))throw Uf(v[0],n)}return s};function ot(e,t,r){let n=Tt(Zi(e,t),e.name,"query"),o=M0(e,r),i=Zi(o,t),a=Tt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ea(be(o,e.name,"findAll")),u=ea(Tt(i,e.name,"find"));return[n,s,a,l,u]}function k0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:hs(t)})).filter(t=>t.textToMatch!==null)}var O0=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?Se:Rt,c=nt({collapseWhitespace:s,trim:a,normalizer:l});return k0(e).filter(m=>{let v=m.node,P=m.textToMatch;return u(P,v,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;xe(e);let d=s?Se:Rt,m=nt({collapseWhitespace:l,trim:u,normalizer:c}),v=Array.from(e.querySelectorAll("*")).filter(P=>Of(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=If(e,C,{selector:i});T.filter(h=>!!h.formControl).forEach(h=>{d(h.content,h.formControl,t,m)&&h.formControl&&P.push(h.formControl)});let f=T.filter(h=>!!h.content).map(h=>h.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((h,E)=>{d(h,C,t,m)&&P.push(C);let y=[...f];y.splice(E,1),y.length>1&&d(y.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(oa("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(v)).filter(P=>P.matches(i))},rt=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=O0(e,t,...n);if(a.length){let s=a.map(l=>I0(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 O0(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 ea(e){return(t,r,n,o)=>M0(()=>e(t,r,n),{container:t,...o})}var Tt=(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,b=d===void 0?I().throwSuggestions:d;if(s&&b){let v=Es(s,r);if(v&&!t.endsWith(v.queryName))throw $f(v.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,b=d===void 0?I().throwSuggestions:d;if(s.length&&b){let v=[...new Set(s.map(C=>{var _;return(_=Es(C,r))==null?void 0:_.toString()}))];if(v.length===1&&!t.endsWith(Es(s[0],r).queryName))throw $f(v[0],n)}return s};function ot(e,t,r){let n=Tt(Zi(e,t),e.name,"query"),o=O0(e,r),i=Zi(o,t),a=Tt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ea(be(o,e.name,"findAll")),u=ea(Tt(i,e.name,"find"));return[n,s,a,l,u]}function I0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:gs(t)})).filter(t=>t.textToMatch!==null)}var N0=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:Rt,c=nt({collapseWhitespace:s,trim:a,normalizer:l});return I0(e).filter(b=>{let v=b.node,C=b.textToMatch;return u(C,v,t,c)}).map(b=>b.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:Rt,b=nt({collapseWhitespace:l,trim:u,normalizer:c}),v=Array.from(e.querySelectorAll("*")).filter(C=>Nf(C).length||C.hasAttribute("aria-labelledby")).reduce((C,_)=>{let T=Lf(e,_,{selector:i});T.filter(h=>!!h.formControl).forEach(h=>{d(h.content,h.formControl,t,b)&&h.formControl&&C.push(h.formControl)});let m=T.filter(h=>!!h.content).map(h=>h.content);return d(m.join(" "),_,t,b)&&C.push(_),m.length>1&&m.forEach((h,E)=>{d(h,_,t,b)&&C.push(_);let y=[...m];y.splice(E,1),y.length>1&&d(y.join(" "),_,t,b)&&C.push(_)}),C},[]).concat(oa("aria-label",e,t,{exact:s,normalizer:b}));return Array.from(new Set(v)).filter(C=>C.matches(i))},rt=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=N0(e,t,...n);if(a.length){let s=a.map(l=>L0(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(`
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 I0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var jf=(e,t)=>"Found multiple elements with the text of: "+t,N0=Tt(Zi(lr,jf),lr.name,"query"),$f=Zi(rt,jf),L0=ea(be(rt,rt.name,"findAll")),B0=ea(Tt($f,rt.name,"find")),D0=be(rt,rt.name,"getAll"),F0=Tt($f,rt.name,"get"),U0=be(lr,lr.name,"queryAll"),Es=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xe(t[0]),oa("placeholder",...t)},j0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,$0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,H0=be(Es,Es.name,"queryAll"),cr=ot(Es,j0,$0),V0=cr[0],W0=cr[1],z0=cr[2],G0=cr[3],K0=cr[4],ws=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;xe(e);let v=s?Se:Rt,P=nt({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=>v(na(T),T,t,P))},X0=(e,t)=>"Found multiple elements with the text: "+t,Q0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=nt({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."},J0=be(ws,ws.name,"queryAll"),dr=ot(ws,X0,Q0),Y0=dr[0],Z0=dr[1],eS=dr[2],tS=dr[3],rS=dr[4],_s=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;xe(e);let u=i?Se:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(v=>v.selected).some(v=>u(na(v),v,t,c)):u(d.value,d,t,c))},nS=(e,t)=>"Found multiple elements with the display value: "+t+".",oS=(e,t)=>"Unable to find an element with the display value: "+t+".",iS=be(_s,_s.name,"queryAll"),pr=ot(_s,nS,oS),aS=pr[0],sS=pr[1],lS=pr[2],uS=pr[3],cS=pr[4],dS=/^(img|input|area|.+-.+)$/i,Cs=function(e,t,r){return r===void 0&&(r={}),xe(e),oa("alt",e,t,r).filter(n=>dS.test(n.tagName))},pS=(e,t)=>"Found multiple elements with the alt text: "+t,fS=(e,t)=>"Unable to find an element with the alt text: "+t,mS=be(Cs,Cs.name,"queryAll"),fr=ot(Cs,pS,fS),bS=fr[0],vS=fr[1],yS=fr[2],hS=fr[3],gS=fr[4],ES=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ps=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;xe(e);let u=i?Se:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||ES(d)&&u(na(d),d,t,c))},wS=(e,t)=>"Found multiple elements with the title: "+t+".",_S=(e,t)=>"Unable to find an element with the title: "+t+".",CS=be(Ps,Ps.name,"queryAll"),mr=ot(Ps,wS,_S),PS=mr[0],TS=mr[1],RS=mr[2],SS=mr[3],xS=mr[4],Ts=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,v=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,h=f===void 0?{}:f,E=h.now,y=h.min,g=h.max,x=h.text;if(xe(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 F;if(((F=oe.roles.get(t))==null?void 0:F.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(v!==void 0){var z;if(((z=oe.roles.get(t))==null?void 0:z.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(E!==void 0){var _;if(((_=oe.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var B;if(((B=oe.roles.get(t))==null?void 0:B.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var Z;if(((Z=oe.roles.get(t))==null?void 0:Z.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(x!==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 q;if(((q=oe.roles.get(t))==null?void 0:q.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let M=new WeakMap;function j(N){return M.has(N)||M.set(N,Df(N)),M.get(N)}return Array.from(e.querySelectorAll(qS(t))).filter(N=>{if(N.hasAttribute("role")){let mt=N.getAttribute("role");return u?mt.split(" ").filter(Boolean).some(Tb=>Tb===t):mt.split(" ")[0]===t}return ks(N).some(mt=>mt===t)}).filter(N=>{if(c!==void 0)return c===v0(N);if(d!==void 0)return d===y0(N);if(m!==void 0)return m===h0(N);if(v!==void 0)return v===g0(N);if(P!==void 0)return P===E0(N);if(T!==void 0)return T===w0(N);if(C!==void 0)return C===_0(N);if(E!==void 0||g!==void 0||y!==void 0||x!==void 0){let le=!0;if(E!==void 0&&le&&(le=E===C0(N)),g!==void 0&&le&&(le=g===P0(N)),y!==void 0&&le&&(le=y===T0(N)),x!==void 0){var de;le&&(le=Se((de=R0(N))!=null?de:null,N,x,mt=>mt))}return le}return!0}).filter(N=>a===void 0?!0:Se(or(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,a,de=>de)).filter(N=>s===void 0?!0:Se(Yr(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,s,de=>de)).filter(N=>i===!1?Ms(N,{isSubtreeInaccessible:j})===!1:!0)};function qS(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 Hf=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},AS=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+Hf(o)},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;if(I()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Hf(a);let l="";Array.from(e.children).forEach(m=>{l+=b0(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):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 L0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Hf=(e,t)=>"Found multiple elements with the text of: "+t,B0=Tt(Zi(lr,Hf),lr.name,"query"),Vf=Zi(rt,Hf),D0=ea(be(rt,rt.name,"findAll")),F0=ea(Tt(Vf,rt.name,"find")),U0=be(rt,rt.name,"getAll"),j0=Tt(Vf,rt.name,"get"),$0=be(lr,lr.name,"queryAll"),ws=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qe(t[0]),oa("placeholder",...t)},H0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,V0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,W0=be(ws,ws.name,"queryAll"),cr=ot(ws,H0,V0),z0=cr[0],G0=cr[1],K0=cr[2],X0=cr[3],Q0=cr[4],_s=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,b=n.normalizer;qe(e);let v=s?xe:Rt,C=nt({collapseWhitespace:l,trim:u,normalizer:b}),_=[];return typeof e.matches=="function"&&e.matches(i)&&(_=[e]),[..._,...Array.from(e.querySelectorAll(i))].filter(T=>!d||!T.matches(d)).filter(T=>v(na(T),T,t,C))},J0=(e,t)=>"Found multiple elements with the text: "+t,Y0=function(e,t,r){r===void 0&&(r={});let n=r,o=n.collapseWhitespace,i=n.trim,a=n.normalizer,s=n.selector,u=nt({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."},Z0=be(_s,_s.name,"queryAll"),dr=ot(_s,J0,Y0),eS=dr[0],tS=dr[1],rS=dr[2],nS=dr[3],oS=dr[4],Cs=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:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(v=>v.selected).some(v=>u(na(v),v,t,c)):u(d.value,d,t,c))},iS=(e,t)=>"Found multiple elements with the display value: "+t+".",aS=(e,t)=>"Unable to find an element with the display value: "+t+".",sS=be(Cs,Cs.name,"queryAll"),pr=ot(Cs,iS,aS),lS=pr[0],uS=pr[1],cS=pr[2],dS=pr[3],pS=pr[4],fS=/^(img|input|area|.+-.+)$/i,Ps=function(e,t,r){return r===void 0&&(r={}),qe(e),oa("alt",e,t,r).filter(n=>fS.test(n.tagName))},mS=(e,t)=>"Found multiple elements with the alt text: "+t,bS=(e,t)=>"Unable to find an element with the alt text: "+t,vS=be(Ps,Ps.name,"queryAll"),fr=ot(Ps,mS,bS),yS=fr[0],hS=fr[1],gS=fr[2],ES=fr[3],wS=fr[4],_S=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ts=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:Rt,c=nt({collapseWhitespace:a,trim:s,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>u(d.getAttribute("title"),d,t,c)||_S(d)&&u(na(d),d,t,c))},CS=(e,t)=>"Found multiple elements with the title: "+t+".",PS=(e,t)=>"Unable to find an element with the title: "+t+".",TS=be(Ts,Ts.name,"queryAll"),mr=ot(Ts,CS,PS),RS=mr[0],SS=mr[1],xS=mr[2],qS=mr[3],AS=mr[4],Rs=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,b=n.checked,v=n.pressed,C=n.current,_=n.level,T=n.expanded,m=n.value,h=m===void 0?{}:m,E=h.now,y=h.min,g=h.max,x=h.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 $;if((($=oe.roles.get(t))==null?void 0:$.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(b!==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(v!==void 0){var G;if(((G=oe.roles.get(t))==null?void 0:G.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(C!==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(_!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(E!==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(g!==void 0){var W;if(((W=oe.roles.get(t))==null?void 0:W.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var Z;if(((Z=oe.roles.get(t))==null?void 0:Z.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(x!==void 0){var f;if(((f=oe.roles.get(t))==null?void 0:f.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var P;if(((P=oe.roles.get(t))==null?void 0:P.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let A=new WeakMap;function U(N){return A.has(N)||A.set(N,Uf(N)),A.get(N)}return Array.from(e.querySelectorAll(MS(t))).filter(N=>{if(N.hasAttribute("role")){let mt=N.getAttribute("role");return u?mt.split(" ").filter(Boolean).some(Sb=>Sb===t):mt.split(" ")[0]===t}return Os(N).some(mt=>mt===t)}).filter(N=>{if(c!==void 0)return c===h0(N);if(d!==void 0)return d===g0(N);if(b!==void 0)return b===E0(N);if(v!==void 0)return v===w0(N);if(C!==void 0)return C===_0(N);if(T!==void 0)return T===C0(N);if(_!==void 0)return _===P0(N);if(E!==void 0||g!==void 0||y!==void 0||x!==void 0){let le=!0;if(E!==void 0&&le&&(le=E===T0(N)),g!==void 0&&le&&(le=g===R0(N)),y!==void 0&&le&&(le=y===S0(N)),x!==void 0){var pe;le&&(le=xe((pe=x0(N))!=null?pe:null,N,x,mt=>mt))}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(Yr(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,s,pe=>pe)).filter(N=>i===!1?ks(N,{isSubtreeInaccessible:U})===!1:!0)};function MS(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 Wf=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},kS=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+Wf(o)},OS=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+'"'+Wf(a);let l="";Array.from(e.children).forEach(b=>{l+=y0(b,{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()},kS=be(Ts,Ts.name,"queryAll"),br=ot(Ts,AS,MS),OS=br[0],IS=br[1],NS=br[2],LS=br[3],BS=br[4],Os=()=>I().testIdAttribute,Rs=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xe(t[0]),oa(Os(),...t)},DS=(e,t)=>"Found multiple elements by: ["+Os()+'="'+t+'"]',FS=(e,t)=>"Unable to find an element by: ["+Os()+'="'+t+'"]',US=be(Rs,Rs.name,"queryAll"),vr=ot(Rs,DS,FS),jS=vr[0],$S=vr[1],HS=vr[2],VS=vr[3],WS=vr[4],Ss=Object.freeze({__proto__:null,queryAllByLabelText:U0,queryByLabelText:N0,getAllByLabelText:D0,getByLabelText:F0,findAllByLabelText:L0,findByLabelText:B0,queryByPlaceholderText:V0,queryAllByPlaceholderText:H0,getByPlaceholderText:z0,getAllByPlaceholderText:W0,findAllByPlaceholderText:G0,findByPlaceholderText:K0,queryByText:Y0,queryAllByText:J0,getByText:eS,getAllByText:Z0,findAllByText:tS,findByText:rS,queryByDisplayValue:aS,queryAllByDisplayValue:iS,getByDisplayValue:lS,getAllByDisplayValue:sS,findAllByDisplayValue:uS,findByDisplayValue:cS,queryByAltText:bS,queryAllByAltText:mS,getByAltText:yS,getAllByAltText:vS,findAllByAltText:hS,findByAltText:gS,queryByTitle:PS,queryAllByTitle:CS,getByTitle:RS,getAllByTitle:TS,findAllByTitle:SS,findByTitle:xS,queryByRole:OS,queryAllByRole:kS,getAllByRole:IS,getByRole:NS,findAllByRole:LS,findByRole:BS,queryByTestId:jS,queryAllByTestId:US,getByTestId:HS,getAllByTestId:$S,findAllByTestId:VS,findByTestId:WS});function zS(e,t,r){return t===void 0&&(t=Ss),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var gf={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}}},Ef={doubleClick:"dblClick"},GS=["value","files"],KS=["bubbles","cancelable","detail"];function ta(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 ys(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,v=d.files,P=Fr(d,GS);m!==void 0&&XS(t,m),v!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:v}),Object.assign(t,P);let C=Mf(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let E=u.bubbles,y=u.cancelable,g=u.detail,x=Fr(u,KS);f.initEvent(e,E,y,g),Object.keys(x).forEach(R=>{f[R]=x[R]})}return["dataTransfer","clipboardData"].forEach(E=>{let y=u[E];typeof y=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,E,{value:Object.getOwnPropertyNames(y).reduce((g,x)=>(Object.defineProperty(g,x,{value:y[x]}),g),new C.DataTransfer)}):Object.defineProperty(f,E,{value:y}))}),f}Object.keys(gf).forEach(e=>{let t=gf[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();ys[e]=(i,a)=>ys(o,i,a,{EventType:r,defaultInit:n}),ta[e]=(i,a)=>ta(i,ys[e](i,a))});function XS(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(Ef).forEach(e=>{let t=Ef[e];ta[e]=function(){return ta[t](...arguments)}});function QS(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
- `)}function JS(e){return _f.default.compressToEncodedURIComponent(QS(e))}function YS(e){return"https://testing-playground.com/#markup="+JS(e)}var ZS=(e,t,r)=>Array.isArray(e)?e.forEach(n=>vf(n,t,r)):vf(e,t,r),ex=function(e){if(e===void 0&&(e=As().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=YS(e.innerHTML);return console.log(`Open this URL in your browser
55
+ `+u).trim()},IS=be(Rs,Rs.name,"queryAll"),br=ot(Rs,kS,OS),NS=br[0],LS=br[1],BS=br[2],DS=br[3],FS=br[4],Is=()=>I().testIdAttribute,Ss=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return qe(t[0]),oa(Is(),...t)},US=(e,t)=>"Found multiple elements by: ["+Is()+'="'+t+'"]',jS=(e,t)=>"Unable to find an element by: ["+Is()+'="'+t+'"]',$S=be(Ss,Ss.name,"queryAll"),vr=ot(Ss,US,jS),HS=vr[0],VS=vr[1],WS=vr[2],zS=vr[3],GS=vr[4],xs=Object.freeze({__proto__:null,queryAllByLabelText:$0,queryByLabelText:B0,getAllByLabelText:U0,getByLabelText:j0,findAllByLabelText:D0,findByLabelText:F0,queryByPlaceholderText:z0,queryAllByPlaceholderText:W0,getByPlaceholderText:K0,getAllByPlaceholderText:G0,findAllByPlaceholderText:X0,findByPlaceholderText:Q0,queryByText:eS,queryAllByText:Z0,getByText:rS,getAllByText:tS,findAllByText:nS,findByText:oS,queryByDisplayValue:lS,queryAllByDisplayValue:sS,getByDisplayValue:cS,getAllByDisplayValue:uS,findAllByDisplayValue:dS,findByDisplayValue:pS,queryByAltText:yS,queryAllByAltText:vS,getByAltText:gS,getAllByAltText:hS,findAllByAltText:ES,findByAltText:wS,queryByTitle:RS,queryAllByTitle:TS,getByTitle:xS,getAllByTitle:SS,findAllByTitle:qS,findByTitle:AS,queryByRole:NS,queryAllByRole:IS,getAllByRole:LS,getByRole:BS,findAllByRole:DS,findByRole:FS,queryByTestId:HS,queryAllByTestId:$S,getByTestId:WS,getAllByTestId:VS,findAllByTestId:zS,findByTestId:GS});function KS(e,t,r){return t===void 0&&(t=xs),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var wf={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}}},_f={doubleClick:"dblClick"},XS=["value","files"],QS=["bubbles","cancelable","detail"];function ta(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 hs(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,b=d.value,v=d.files,C=Fr(d,XS);b!==void 0&&JS(t,b),v!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:v}),Object.assign(t,C);let _=Of(t),T=_[a]||_.Event,m;if(typeof T=="function")m=new T(e,u);else{m=_.document.createEvent(a);let E=u.bubbles,y=u.cancelable,g=u.detail,x=Fr(u,QS);m.initEvent(e,E,y,g),Object.keys(x).forEach(R=>{m[R]=x[R]})}return["dataTransfer","clipboardData"].forEach(E=>{let y=u[E];typeof y=="object"&&(typeof _.DataTransfer=="function"?Object.defineProperty(m,E,{value:Object.getOwnPropertyNames(y).reduce((g,x)=>(Object.defineProperty(g,x,{value:y[x]}),g),new _.DataTransfer)}):Object.defineProperty(m,E,{value:y}))}),m}Object.keys(wf).forEach(e=>{let t=wf[e],r=t.EventType,n=t.defaultInit,o=e.toLowerCase();hs[e]=(i,a)=>hs(o,i,a,{EventType:r,defaultInit:n}),ta[e]=(i,a)=>ta(i,hs[e](i,a))});function JS(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(_f).forEach(e=>{let t=_f[e];ta[e]=function(){return ta[t](...arguments)}});function YS(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
+ `)}function ZS(e){return Pf.default.compressToEncodedURIComponent(YS(e))}function ex(e){return"https://testing-playground.com/#markup="+ZS(e)}var tx=(e,t,r)=>Array.isArray(e)?e.forEach(n=>hf(n,t,r)):hf(e,t,r),rx=function(e){if(e===void 0&&(e=Ms().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=ex(e.innerHTML);return console.log(`Open this URL in your browser
57
57
 
58
- `+t),t},wf={debug:ZS,logTestingPlaygroundURL:ex},mI=typeof document<"u"&&document.body?zS(document.body,Ss,wf):Object.keys(Ss).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),wf);function Qe(e,t){return I().eventWrapper(e)}function se(e){let t=Cl(e,jt),r=Ne(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Qe(()=>t.focus()):Qe(()=>r?.blur()),xl(t??e.ownerDocument.body))}function Vf(e){!jt(e)||!(Ne(e.ownerDocument)===e)||Qe(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&S(n,"label")&&n.control;if(o&&o!==t)return()=>{jt(o)&&(se(o),r.dispatchEvent(o,_l(e)))};if(S(t,"input",{type:"file"}))return()=>{Vf(t),t.dispatchEvent(new(W(t)).Event("fileDialog")),se(t)}};var St=Symbol("Displayed value in UI"),qe=Symbol("Displayed selection in UI"),ia=Symbol("Initial value to compare on blur");function Wf(e){return typeof e=="object"&&St in e}function zf(e){return!!e&&typeof e=="object"&&qe in e}function Gf(e,t){e[ia]===void 0&&(e[ia]=e.value),e[St]=t,e.value=Object.assign(new String(t),{[St]:!0})}function Y(e){return e[St]===void 0?e.value:String(e[St])}function yr(e){e[St]=void 0}function aa(e){e[ia]=void 0}function Kf(e){return e[ia]}function Xf(e,t){e[qe]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Y(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[qe]===void 0?i(r):e[qe].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[qe]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[qe]:!0});try{e.setSelectionRange(c,u)}catch{}}function Ae(e){var t,r,n;let o=(t=e[qe])!==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 Qf(e){return!!e[qe]}function hr(e){e[qe]=void 0}var sa=globalThis.parseInt;function Yf(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=sa(t[0],10),n=sa(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Jf(t,o)}return e.length===2?e:Jf(t,2)}function Jf(e,t){let r=e.slice(0,t),n=Math.min(sa(r,10),23),o=e.slice(t),i=sa(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Is(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var Zf=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Zf||{});function em(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 tm(e){return S(e,"textarea")||S(e,"input")&&e.type in Zf}function ca(e,t,r,n){if(ua(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=rm(e,t,r);if(o){if(ua(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(S(o,"br")){let i=rm(o,void 0,r);return i?ua(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&S(i,"br")?{node:o.parentNode,offset:la(o)}:{node:i.parentNode,offset:la(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:la(o)}:void 0}else return{node:o.parentNode,offset:la(o)+(r>0?1:0)}}}function rm(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ns(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),rx(e,r===1?"next":"previous",tx)}function tx(e){if(ua(e))return!0;if(Ns(e)){if(S(e,["input","textarea"]))return e.type!=="hidden";if(S(e,"br"))return!0}return!1}function la(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ns(e){return e.nodeType===1}function ua(e){return e.nodeType===3}function rx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=nx(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ns(e.parentNode)||!ue(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function nx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function ox(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&W(e).REACT_VERSION===17}function nm(e){ox(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function om(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 im(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),Qf(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function da(e){let t=ix(e);if(t&&X(t))return{type:"input",selection:Ae(t)};let r=t?.ownerDocument.getSelection();return{type:Le(e)&&r?.anchorNode&&Le(r.anchorNode)?"contenteditable":"default",selection:r}}function ix(e){return e.nodeType===1?e:e.parentElement}function am(e){let t=da(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(da(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 lm(e){return S(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=am(t);o&&(!lm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?ax(e,t,o,r,n):sx(e,t,o,r,n)))}function ax(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=ca(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 sx(e,t,r,n,o){let i=n;if(tm(t)){let u=em(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}=lx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||S(t,"input",{type:"number"})&&!ux(a)||(Gf(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),lm(t)?Is(t,a)&&(sm(e,t,s,{}),e.dispatchUIEvent(t,"change"),aa(t)):sm(e,t,s,{data:n,inputType:o}))}function lx(e,t,{startOffset:r,endOffset:n},o){let i=Y(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(S(t,"input",{type:"time"})){let m=Yf(c);m!==""&&Is(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function sm(e,t,r,n){e.dispatchUIEvent(t,"input",n),im(t,r)}function ux(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 um(e){return e?ue(e)?e.textContent:Y(e):null}function cm(e){let t=W(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 dm(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=S(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(S(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=>!S(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||cm(a[l]))return a[l]}function Ls(e,t){if(X(e)){let r=Ae(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=ca(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function pa(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Y(e).length});let r=(t=Le(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function pm(e){var t;if(X(e))return Ae(e).startOffset===0&&Ae(e).endOffset===Y(e).length;let r=(t=Le(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 it(e,t,r){var n;if(X(e))return we({focusNode:e,anchorOffset:t,focusOffset:r});if(ue(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=W(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=fm[e.key])===null||o===void 0?void 0:o.call(fm,e,t,r))!==null&&n!==void 0?n:cx(e,t,r)};var fm={ArrowDown:(e,t,r)=>{if(S(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>Ls(t,-1),ArrowRight:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>Ls(t,1),ArrowUp:(e,t,r)=>{if(S(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(S(t,["input","textarea"])||ue(t))return()=>{var r,n;let o=(r=(n=um(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;it(t,o,o)}},Home:(e,t)=>{if(S(t,["input","textarea"])||ue(t))return()=>{it(t,0,0)}},PageDown:(e,t)=>{if(S(t,["input"]))return()=>{let r=Y(t).length;it(t,r,r)}},PageUp:(e,t)=>{if(S(t,["input"]))return()=>{it(t,0,0)}},Tab:(e,t,r)=>()=>{let n=dm(yt(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},cx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>pa(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(S(t,"button")||S(t,"input")&&dx.includes(t.type)||S(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(S(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&&px.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(ve(t)){let n=e.key==="Enter"?ue(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
59
- `:e.key;return()=>_e(r,t,o,n)}};var dx=["button","color","file","image","reset","submit"],px=["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(Dr(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 Bs={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 bm(e){return Bs[e].EventType}var fx=["MouseEvent","PointerEvent"];function vm(e){return fx.includes(bm(e))}function ym(e){return bm(e)==="KeyboardEvent"}var mx={ClipboardEvent:[vx],Event:[],FocusEvent:[wr,yx],InputEvent:[wr,hx],MouseEvent:[wr,Ds,hm],PointerEvent:[wr,Ds,hm,Ex],KeyboardEvent:[wr,Ds,gx]};function Fs(e,t,r){let n=W(t),{EventType:o,defaultInit:i}=Bs[e],a=new(bx(n))[o](e,i);return mx[o].forEach(s=>s(a,r??{})),a}function bx(e){var t,r,n,o,i,a,s,l,u,c,d,m,v,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{},h=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},E=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},y=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},g=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},x=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends x{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends x{},F=(c=e.InputEvent)!==null&&c!==void 0?c:class extends x{},z=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends x{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends x{},_=(v=e.DragEvent)!==null&&v!==void 0?v:class extends K{},B=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},Z=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends x{};return{Event:T,AnimationEvent:f,ClipboardEvent:h,PopStateEvent:E,ProgressEvent:y,TransitionEvent:g,UIEvent:x,CompositionEvent:R,FocusEvent:H,InputEvent:F,KeyboardEvent:z,MouseEvent:K,DragEvent:_,PointerEvent:B,TouchEvent:Z}}function Je(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function G(e){return Number(e??0)}function vx(e,{clipboardData:t}){Je(e,{clipboardData:t})}function yx(e,{relatedTarget:t}){Je(e,{relatedTarget:t})}function hx(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:G(r??0)})}function Ds(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(v){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}[v]}})}function gx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Je(e,{key:String(t),code:String(r),location:G(n),repeat:!!o,isComposing:!!i,charCode:a})}function hm(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:v}){Je(e,{screenX:G(n),screenY:G(o),clientX:G(i),x:G(i),clientY:G(a),y:G(a),button:G(s),buttons:G(l),relatedTarget:u,offsetX:G(c),offsetY:G(d),pageX:G(m),pageY:G(v)})}function Ex(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:G(t),width:G(r??1),height:G(n??1),pressure:G(o??(d?.5:0)),tangentialPressure:G(i),tiltX:G(a),tiltY:G(s),twist:G(l),pointerType:String(u??""),isPrimary:!!c})}function gm(e,t,r,n=!1){(vm(t)||ym(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Fs(t,e,r);return Us.call(this,e,o,n)}function Us(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 Me(e,t,r){let n=Fs(t,e,r);Qe(()=>e.dispatchEvent(n))}var Em=Symbol("patched focus/blur methods");function js(e){if(e.prototype[Em])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},[Em]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=wm(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),Me(s,"blur",{relatedTarget:this}),Me(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),Me(this,"focus",{relatedTarget:s})),n===l&&Me(this,"focusin",{relatedTarget:s})}function i(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=wm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),Me(a,"blur",{relatedTarget:null}),Me(a,"focusout",{relatedTarget:null})}}function wm(e){let t=Ne(e);return t?.tagName==="BODY"?null:t}var $s=Symbol("Interceptor for programmatical calls");function xt(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][$s])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[$s]=$s,Object.defineProperty(e,t,{...o??n,[i]:a})}function _m(e){xt(e,"value",function(r){let n=Wf(r);return n&&nm(this),{applyNative:!!n,realArgs:wx(this,r),then:n?void 0:()=>om(this,String(r))}})}function wx(e,t){return S(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Cm(e){xt(e,"setSelectionRange",function(r,...n){let o=zf(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),xt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"select",function(){return{realArgs:[],then:()=>Xf(e,{anchorOffset:0,focusOffset:Y(e).length})}})}function Pm(e){xt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var qt=Symbol("Node prepared with document state workarounds");function Hs(e){e[qt]||(e.addEventListener("focus",t=>{let r=t.target;Tm(r)},{capture:!0,passive:!0}),e.activeElement&&Tm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Kf(r);n!==void 0&&(r.value!==n&&Me(r,"change"),aa(r))},{capture:!0,passive:!0}),e[qt]=qt)}function Tm(e){e[qt]||(S(e,["input","textarea"])&&(_m(e),Cm(e),Pm(e)),e[qt]=qt)}function Rm(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 at(e,t){e.levelRefs[t]={}}function _r(e,t){return e.levelRefs[t]}function Te(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var st=(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 lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var 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})({}),Cx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Sm(e){return Cx.includes(e)}var Px=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function xm(e){return Px.includes(e)}var fa=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=yt(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Sm(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});xm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(yt(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),Sm(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(yt(t.config.document),"keyup",{key:n,code:o},!i),xm(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){lt(this,"system",void 0),lt(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}),lt(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(){lt(this,"registry",{})}}),lt(this,"carryChar",""),lt(this,"lastKeydownTarget",void 0),lt(this,"modifierLockStart",{}),this.system=t}};var qm=[..."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 Am=[{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 Tx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var At=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Vs(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Vs(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(){Tx(this,"pressed",{})}},Mm={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Vs(e=0){return e in Mm?Mm[e]:Number(e)}var km={1:2,2:1};function Cr(e){return e=Vs(e),e in km?km[e]:e}function Rx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ma=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(){Rx(this,"pressedKeys",new Set)}};function ut(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??Y(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Om(e,r)}function Om(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 Om(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 Im({document:e,target:t,clickCount:r,node:n,offset:o}){if(Rl(t))return;let i=X(t),a=String(i?Y(t):t.textContent),[s,l]=n?[o,o]:Sx(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}),v=t.ownerDocument.createRange();try{v.setStart(u,c),v.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(v.cloneRange()),v}}function Sx(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 Nm(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 ba(e,t){var r,n,o,i,a,s,l,u,c,d,m,v,P,C,T,f,h,E,y,g,x,R,H,F;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)!==((v=t.coords)===null||v===void 0?void 0:v.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)||((h=e.coords)===null||h===void 0?void 0:h.screenX)!==((E=t.coords)===null||E===void 0?void 0:E.screenX)||((y=e.coords)===null||y===void 0?void 0:y.screenY)!==((g=t.coords)===null||g===void 0?void 0:g.screenY)||((x=e.caret)===null||x===void 0?void 0:x.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((H=e.caret)===null||H===void 0?void 0:H.offset)!==((F=t.caret)===null||F===void 0?void 0:F.offset)}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var va=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!ba(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=ut(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=ut(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=Im({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&&Nm(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(){ct(this,"position",{}),ct(this,"buttons",new At),ct(this,"selecting",void 0),ct(this,"buttonDownTarget",{}),ct(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(){ct(this,"down",{}),ct(this,"count",{})}})}};function Mt(e,t){var r;return((r=Dm(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function xx(e){let t=W(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 Lm=Symbol("Last check for pointer-events");function Dm(e,t){let r=t[Lm];if(!(e.config.pointerEventsCheck!==st.Never&&(!r||Bm(e.config.pointerEventsCheck,st.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||Bm(e.config.pointerEventsCheck,st.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=xx(t);return t[Lm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function dt(e,t){let r=Dm(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\`:`,"",qx(r.tree)].join(`
60
- `))}function qx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Ax(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 Ax(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(S(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(S(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 Bm(e,t){return(e&t)>0}function ke(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{init(t){let r=this.getTarget(t),[,n]=ut(null,r),o=this.getEventInit();return dt(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,!ba(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=ut(o,i);return{leave:()=>{Mt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{dt(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);dt(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);dt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=ut(r,null),o=this.getEventInit();Mt(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){ke(this,"pointerId",void 0),ke(this,"pointerType",void 0),ke(this,"isPrimary",void 0),ke(this,"buttons",void 0),ke(this,"isMultitouch",!1),ke(this,"isCancelled",!1),ke(this,"isDown",!1),ke(this,"isPrevented",!1),ke(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function Ye(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{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){Ye(this,"system",void 0),Ye(this,"mouse",void 0),Ye(this,"buttons",void 0),Ye(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 ma}constructor(){Ye(this,"registry",{})}}),Ye(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 ya({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(){Ye(this,"registry",{}),Ye(this,"nextId",1)}}),this.system=t,this.buttons=new At,this.mouse=new va,this.pointers.new("mouse","mouse",this.buttons)}};function Fm(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(){Fm(this,"keyboard",new fa(this)),Fm(this,"pointer",new ha(this))}};async function Um(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function jm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function $m(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Hm(e){return this.pointer({target:e})}async function Vm(e){return dt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Wm({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var zm={"{":"}","[":"]"};function ga(e,t){let r=0,n=e[r]in zm?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Mx(e,r,t):kx(e,r,i,t)}}function Mx(e,t,r){let n=e[t];return Gm(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function kx(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];Gm(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=zm[r],v=e[t]===m?m:"";if(!v)throw new Error(Km([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=v.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Ox(d,c)}}function Gm(e,t,r,n){if(!e)throw new Error(Km("key descriptor",t[r],t,n))}function Ox(e,t){if(e)return e==="/";if(t)return!1}function Km(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
58
+ `+t),t},Cf={debug:tx,logTestingPlaygroundURL:rx},vI=typeof document<"u"&&document.body?KS(document.body,xs,Cf):Object.keys(xs).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),Cf);function Je(e,t){return I().eventWrapper(e)}function se(e){let t=Tl(e,jt),r=Le(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Je(()=>t.focus()):Je(()=>r?.blur()),Al(t??e.ownerDocument.body))}function zf(e){!jt(e)||!(Le(e.ownerDocument)===e)||Je(()=>e.blur())}var ie={};ie.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&S(n,"label")&&n.control;if(o&&o!==t)return()=>{jt(o)&&(se(o),r.dispatchEvent(o,Pl(e)))};if(S(t,"input",{type:"file"}))return()=>{zf(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var St=Symbol("Displayed value in UI"),Ae=Symbol("Displayed selection in UI"),ia=Symbol("Initial value to compare on blur");function Gf(e){return typeof e=="object"&&St in e}function Kf(e){return!!e&&typeof e=="object"&&Ae in e}function Xf(e,t){e[ia]===void 0&&(e[ia]=e.value),e[St]=t,e.value=Object.assign(new String(t),{[St]:!0})}function Y(e){return e[St]===void 0?e.value:String(e[St])}function yr(e){e[St]=void 0}function aa(e){e[ia]=void 0}function Qf(e){return e[ia]}function Jf(e,t){e[Ae]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Y(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 Yf(e){return!!e[Ae]}function hr(e){e[Ae]=void 0}var sa=globalThis.parseInt;function em(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=sa(t[0],10),n=sa(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,Zf(t,o)}return e.length===2?e:Zf(t,2)}function Zf(e,t){let r=e.slice(0,t),n=Math.min(sa(r,10),23),o=e.slice(t),i=sa(o,10),a=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function Ns(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var tm=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(tm||{});function rm(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 nm(e){return S(e,"textarea")||S(e,"input")&&e.type in tm}function ca(e,t,r,n){if(ua(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=om(e,t,r);if(o){if(ua(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(S(o,"br")){let i=om(o,void 0,r);return i?ua(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&S(i,"br")?{node:o.parentNode,offset:la(o)}:{node:i.parentNode,offset:la(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:la(o)}:void 0}else return{node:o.parentNode,offset:la(o)+(r>0?1:0)}}}function om(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ls(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),ox(e,r===1?"next":"previous",nx)}function nx(e){if(ua(e))return!0;if(Ls(e)){if(S(e,["input","textarea"]))return e.type!=="hidden";if(S(e,"br"))return!0}return!1}function la(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ls(e){return e.nodeType===1}function ua(e){return e.nodeType===3}function ox(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=ix(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ls(e.parentNode)||!ce(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function ix(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function ax(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function im(e){ax(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function am(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 sm(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),Yf(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function da(e){let t=sx(e);if(t&&X(t))return{type:"input",selection:Me(t)};let r=t?.ownerDocument.getSelection();return{type:Be(e)&&r?.anchorNode&&Be(r.anchorNode)?"contenteditable":"default",selection:r}}function sx(e){return e.nodeType===1?e:e.parentElement}function lm(e){let t=da(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(da(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 cm(e){return S(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=lm(t);o&&(!cm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?lx(e,t,o,r,n):ux(e,t,o,r,n)))}function lx(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let a=ca(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 ux(e,t,r,n,o){let i=n;if(nm(t)){let u=rm(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}=cx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||S(t,"input",{type:"number"})&&!dx(a)||(Xf(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),cm(t)?Ns(t,a)&&(um(e,t,s,{}),e.dispatchUIEvent(t,"change"),aa(t)):um(e,t,s,{data:n,inputType:o}))}function cx(e,t,{startOffset:r,endOffset:n},o){let i=Y(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(S(t,"input",{type:"time"})){let b=em(c);b!==""&&Ns(t,b)&&(c=b,d=b.length)}return{oldValue:i,newValue:c,newOffset:d}}function um(e,t,r,n){e.dispatchUIEvent(t,"input",n),sm(t,r)}function dx(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 dm(e){return e?ce(e)?e.textContent:Y(e):null}function pm(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 fm(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=S(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(S(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=>!S(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||pm(a[l]))return a[l]}function Bs(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=ca(r.focusNode,r.focusOffset,t);n&&we({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function pa(e){var t;if(X(e))return we({focusNode:e,anchorOffset:0,focusOffset:Y(e).length});let r=(t=Be(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function mm(e){var t;if(X(e))return Me(e).startOffset===0&&Me(e).endOffset===Y(e).length;let r=(t=Be(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 it(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=bm[e.key])===null||o===void 0?void 0:o.call(bm,e,t,r))!==null&&n!==void 0?n:px(e,t,r)};var bm={ArrowDown:(e,t,r)=>{if(S(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>Bs(t,-1),ArrowRight:(e,t,r)=>S(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>Bs(t,1),ArrowUp:(e,t,r)=>{if(S(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(S(t,["input","textarea"])||ce(t))return()=>{var r,n;let o=(r=(n=dm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;it(t,o,o)}},Home:(e,t)=>{if(S(t,["input","textarea"])||ce(t))return()=>{it(t,0,0)}},PageDown:(e,t)=>{if(S(t,["input"]))return()=>{let r=Y(t).length;it(t,r,r)}},PageUp:(e,t)=>{if(S(t,["input"]))return()=>{it(t,0,0)}},Tab:(e,t,r)=>()=>{let n=fm(yt(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},px=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>pa(t)};ie.keypress=(e,t,r)=>{if(e.key==="Enter"){if(S(t,"button")||S(t,"input")&&fx.includes(t.type)||S(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(S(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 fx=["button","color","file","image","reset","submit"],mx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=vm[e.key])===null||n===void 0?void 0:n.call(vm,e,t,r)};var vm={" ":(e,t,r)=>{if(Dr(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 Ds={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 ym(e){return Ds[e].EventType}var bx=["MouseEvent","PointerEvent"];function hm(e){return bx.includes(ym(e))}function gm(e){return ym(e)==="KeyboardEvent"}var vx={ClipboardEvent:[hx],Event:[],FocusEvent:[wr,gx],InputEvent:[wr,Ex],MouseEvent:[wr,Fs,Em],PointerEvent:[wr,Fs,Em,_x],KeyboardEvent:[wr,Fs,wx]};function Us(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=Ds[e],a=new(yx(n))[o](e,i);return vx[o].forEach(s=>s(a,r??{})),a}function yx(e){var t,r,n,o,i,a,s,l,u,c,d,b,v,C,_;let T=(t=e.Event)!==null&&t!==void 0?t:class{},m=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},h=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},E=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},y=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},g=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},x=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends x{},$=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends x{},B=(c=e.InputEvent)!==null&&c!==void 0?c:class extends x{},G=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends x{},K=(b=e.MouseEvent)!==null&&b!==void 0?b:class extends x{},O=(v=e.DragEvent)!==null&&v!==void 0?v:class extends K{},W=(C=e.PointerEvent)!==null&&C!==void 0?C:class extends K{},Z=(_=e.TouchEvent)!==null&&_!==void 0?_:class extends x{};return{Event:T,AnimationEvent:m,ClipboardEvent:h,PopStateEvent:E,ProgressEvent:y,TransitionEvent:g,UIEvent:x,CompositionEvent:R,FocusEvent:$,InputEvent:B,KeyboardEvent:G,MouseEvent:K,DragEvent:O,PointerEvent:W,TouchEvent:Z}}function Ye(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 hx(e,{clipboardData:t}){Ye(e,{clipboardData:t})}function gx(e,{relatedTarget:t}){Ye(e,{relatedTarget:t})}function Ex(e,{data:t,inputType:r,isComposing:n}){Ye(e,{data:t,isComposing:!!n,inputType:String(r)})}function wr(e,{view:t,detail:r}){Ye(e,{view:t,detail:z(r??0)})}function Fs(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:a,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:c,modifierSymbol:d,modifierSymbolLock:b}){Ye(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(v){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:b}[v]}})}function wx(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:a}){Ye(e,{key:String(t),code:String(r),location:z(n),repeat:!!o,isComposing:!!i,charCode:a})}function Em(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:b,pageY:v}){Ye(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(b),pageY:z(v)})}function _x(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:c,buttons:d}){Ye(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 wm(e,t,r,n=!1){(hm(t)||gm(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Us(t,e,r);return js.call(this,e,o,n)}function js(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}}),Je(()=>e.dispatchEvent(t)),a||i(),!a}return Je(()=>e.dispatchEvent(t))}function ke(e,t,r){let n=Us(t,e,r);Je(()=>e.dispatchEvent(n))}var _m=Symbol("patched focus/blur methods");function $s(e){if(e.prototype[_m])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},[_m]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Cm(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=Cm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),ke(a,"blur",{relatedTarget:null}),ke(a,"focusout",{relatedTarget:null})}}function Cm(e){let t=Le(e);return t?.tagName==="BODY"?null:t}var Hs=Symbol("Interceptor for programmatical calls");function xt(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][Hs])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[Hs]=Hs,Object.defineProperty(e,t,{...o??n,[i]:a})}function Pm(e){xt(e,"value",function(r){let n=Gf(r);return n&&im(this),{applyNative:!!n,realArgs:Cx(this,r),then:n?void 0:()=>am(this,String(r))}})}function Cx(e,t){return S(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Tm(e){xt(e,"setSelectionRange",function(r,...n){let o=Kf(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),xt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),xt(e,"select",function(){return{realArgs:[],then:()=>Jf(e,{anchorOffset:0,focusOffset:Y(e).length})}})}function Rm(e){xt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var qt=Symbol("Node prepared with document state workarounds");function Vs(e){e[qt]||(e.addEventListener("focus",t=>{let r=t.target;Sm(r)},{capture:!0,passive:!0}),e.activeElement&&Sm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Qf(r);n!==void 0&&(r.value!==n&&ke(r,"change"),aa(r))},{capture:!0,passive:!0}),e[qt]=qt)}function Sm(e){e[qt]||(S(e,["input","textarea"])&&(Pm(e),Tm(e),Rm(e)),e[qt]=qt)}function xm(e){return Px(e)?e:e.ownerDocument}function Px(e){return e.nodeType===9}var re=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function at(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 st=(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 lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var 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})({}),Tx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function qm(e){return Tx.includes(e)}var Rx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Am(e){return Rx.includes(e)}var fa=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=yt(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),qm(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Am(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(yt(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),qm(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(yt(t.config.document),"keyup",{key:n,code:o},!i),Am(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){lt(this,"system",void 0),lt(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}),lt(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(){lt(this,"registry",{})}}),lt(this,"carryChar",""),lt(this,"lastKeydownTarget",void 0),lt(this,"modifierLockStart",{}),this.system=t}};var Mm=[..."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 Sx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var At=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=Ws(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=Ws(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(){Sx(this,"pressed",{})}},Om={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Ws(e=0){return e in Om?Om[e]:Number(e)}var Im={1:2,2:1};function Cr(e){return e=Ws(e),e in Im?Im[e]:e}function xx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ma=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(){xx(this,"pressedKeys",new Set)}};function ut(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??Y(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Nm(e,r)}function Nm(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 Nm(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 Lm({document:e,target:t,clickCount:r,node:n,offset:o}){if(xl(t))return;let i=X(t),a=String(i?Y(t):t.textContent),[s,l]=n?[o,o]:qx(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:b}=Pr({target:t,node:n,offset:l}),v=t.ownerDocument.createRange();try{v.setStart(u,c),v.setEnd(d,b)}catch{throw new Error("The given offset is out of bounds.")}let C=e.getSelection();return C?.removeAllRanges(),C?.addRange(v.cloneRange()),v}}function qx(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 Bm(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 ba(e,t){var r,n,o,i,a,s,l,u,c,d,b,v,C,_,T,m,h,E,y,g,x,R,$,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)||((b=e.coords)===null||b===void 0?void 0:b.offsetY)!==((v=t.coords)===null||v===void 0?void 0:v.offsetY)||((C=e.coords)===null||C===void 0?void 0:C.pageX)!==((_=t.coords)===null||_===void 0?void 0:_.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((m=t.coords)===null||m===void 0?void 0:m.pageY)||((h=e.coords)===null||h===void 0?void 0:h.screenX)!==((E=t.coords)===null||E===void 0?void 0:E.screenX)||((y=e.coords)===null||y===void 0?void 0:y.screenY)!==((g=t.coords)===null||g===void 0?void 0:g.screenY)||((x=e.caret)===null||x===void 0?void 0:x.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||(($=e.caret)===null||$===void 0?void 0:$.offset)!==((B=t.caret)===null||B===void 0?void 0:B.offset)}function ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var va=class{move(t,r,n){let o=this.position,i=this.getTarget(t);if(this.position=r,!ba(o,r))return;let a=this.getTarget(t),s=this.getEventInit("mousemove"),[l,u]=ut(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=ut(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=Lm({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&&Bm(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(){ct(this,"position",{}),ct(this,"buttons",new At),ct(this,"selecting",void 0),ct(this,"buttonDownTarget",{}),ct(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(){ct(this,"down",{}),ct(this,"count",{})}})}};function Mt(e,t){var r;return((r=Um(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Ax(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 Dm=Symbol("Last check for pointer-events");function Um(e,t){let r=t[Dm];if(!(e.config.pointerEventsCheck!==st.Never&&(!r||Fm(e.config.pointerEventsCheck,st.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||Fm(e.config.pointerEventsCheck,st.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=Ax(t);return t[Dm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function dt(e,t){let r=Um(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\`:`,"",Mx(r.tree)].join(`
60
+ `))}function Mx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,kx(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 kx(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(S(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(S(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 Fm(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 ya=class{init(t){let r=this.getTarget(t),[,n]=ut(null,r),o=this.getEventInit();return dt(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,!ba(n,r))return;let i=this.getTarget(t),a=this.getEventInit(-1),[s,l]=ut(o,i);return{leave:()=>{Mt(t,o)&&o!==i&&(t.dispatchUIEvent(o,"pointerout",a),s.forEach(u=>t.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{dt(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);dt(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);dt(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=ut(r,null),o=this.getEventInit();Mt(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 ha=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 ma}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 ya({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 At,this.mouse=new va,this.pointers.new("mouse","mouse",this.buttons)}};function jm(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(){jm(this,"keyboard",new fa(this)),jm(this,"pointer",new ha(this))}};async function $m(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Hm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Vm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Wm(e){return this.pointer({target:e})}async function zm(e){return dt(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Gm({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Km={"{":"}","[":"]"};function ga(e,t){let r=0,n=e[r]in Km?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Ox(e,r,t):Ix(e,r,i,t)}}function Ox(e,t,r){let n=e[t];return Xm(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Ix(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];Xm(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 b=Km[r],v=e[t]===b?b:"";if(!v)throw new Error(Qm([!c&&"repeat modifier",!d&&"release modifier",`"${b}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=v.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Nx(d,c)}}function Xm(e,t,r,n){if(!e)throw new Error(Qm("key descriptor",t[r],t,n))}function Nx(e,t){if(e)return e==="/";if(t)return!1}function Qm(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 Xm(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=ga(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 v;return((v=d.key)===null||v===void 0?void 0:v.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 Qm(e){let t=Xm(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Te(this.config),await Ix(this,t[r])}async function Ix(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 Te(e.config);n&&await i.keyboard.keyup(e,t)}}async function Jm(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ea(e){let t=X(e)?{"text/plain":Nx(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=bt(W(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Nx(e){let t=Ae(e);return Y(e).substring(t.startOffset,t.endOffset)}async function Ym(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(t,n),n}async function Zm(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(r.ownerDocument,n),n}async function eb(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"?Lx(n,e):e)!==null&&r!==void 0?r:await wl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function Lx(e,t){let r=bt(W(e));return r.setData("text",t),r}function Ws(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=ga(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 rb(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Ws(t,n)):"keys"in n?r.push(...Ws(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Te(this.config),await Bx(this,r[n]);this.system.pointer.resetClickCount()}async function Bx(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:Dx(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:tb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:tb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(at(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(at(e,re.Trigger),await e.system.pointer.move(e,l,c))}function tb(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 Dx(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 nb(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(pa(e),!pm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function ob(e,t){return ab.call(this,!0,e,t)}async function ib(e,t){return ab.call(this,!1,e,t)}async function ab(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(S(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:Mt(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 Te(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:Mt(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 Te(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 sb(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&&it(e,o,i??o),await this.keyboard(t),n||await Jm(this))}var lb=Symbol("files and value properties are mocked");function zs(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function ub(e,t){var r;(r=e[lb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){zs(e,"type",n),zs(e,"value",o),zs(e,"files",i)}e[lb]={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 cb(e,t){let r=S(e,"label")?e.control:e;if(!r||!S(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||Fx(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))})||(ub(r,Ft(W(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function wa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function Fx(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return wa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?wa(e.name).endsWith(n):r.includes(n)?wa(e.type).startsWith(n.replace("*","")):wa(e.type)===n)}var Gs={click:Um,dblClick:jm,tripleClick:$m,hover:Hm,unhover:Vm,tab:Wm,keyboard:Qm,copy:Ym,cut:Zm,paste:eb,pointer:rb,clear:nb,deselectOptions:ib,selectOptions:ob,type:sb,upload:cb};function db(e){return I().asyncWrapper(e)}var pb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:qm,pointerMap:Am,pointerEventsCheck:st.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Ux={...pb,writeToClipboard:!0};function fb(e={},t=Ux,r){let n=Hx(e,r,t);return{...t,...e,document:n}}function mb(e={}){var t;let r=fb(e);Hs(r.document),js(W(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return El(n),Ks(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=fb(r,pb,n);Hs(i.document),js(W(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Tr;return{api:Ks(i,a).api,system:a}}function jx(e){return Ks({...this.config,...e},this.system).api}function $x(e,t){function r(...n){return at(e,re.Call),db(()=>t.apply(e,n).then(async o=>(await Te(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ks(e,t=new Tr){let r={};return Object.assign(r,{config:e,dispatchEvent:Us.bind(r),dispatchUIEvent:gm.bind(r),system:t,levelRefs:{},...Gs}),{instance:r,api:{...Object.fromEntries(Object.entries(Gs).map(([n,o])=>[n,$x(r,o)])),setup:jx.bind(r)}}}function Hx(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&Rm(t))!==null&&n!==void 0?n:r.document}var Xs={};Mb(Xs,{clear:()=>Vx,click:()=>Wx,copy:()=>zx,cut:()=>Gx,dblClick:()=>Kx,deselectOptions:()=>Xx,hover:()=>Qx,keyboard:()=>Jx,paste:()=>Zx,pointer:()=>Yx,selectOptions:()=>eq,tab:()=>iq,tripleClick:()=>tq,type:()=>rq,unhover:()=>nq,upload:()=>oq});function Vx(e){return ee().api.clear(e)}function Wx(e,t={}){return ee(t,e).api.click(e)}function zx(e={}){return ee(e).api.copy()}function Gx(e={}){return ee(e).api.cut()}function Kx(e,t={}){return ee(t).api.dblClick(e)}function Xx(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function Qx(e,t={}){return ee(t).api.hover(e)}async function Jx(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function Yx(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function Zx(e,t){return ee(t).api.paste(e)}function eq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function tq(e,t={}){return ee(t).api.tripleClick(e)}function rq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function nq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function oq(e,t,r={}){return ee(r).api.upload(e,t)}function iq(e={}){return ee().api.tab(e)}var _a={...Xs,setup:mb};var bb=!1,vb=!1,Qs=null;function aq(e){return new Promise(t=>setTimeout(t,e))}function yb(e){try{if(typeof e=="string")return new URL(e,sq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function sq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function lq(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 uq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function cq(e){let t=Mr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Dt(e.body),{status:e.statusCode,headers:r})}async function dq(e,t,r){let n=yb(t),o=lq(t,r),i=Nt(Qs?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:uq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Bt(i);return s.delayMs&&s.delayMs>0&&await aq(s.delayMs),cq(s)}function pq(){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=yb(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},r.send=s=>{let l=Nt(Qs?.()??[],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=Bt(l),m=()=>{let v=Dt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:v,configurable:!0},response:{value:v,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 hb(e){if(Qs=e,!bb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>dq(t,r,n),bb=!0}!vb&&typeof globalThis.XMLHttpRequest=="function"&&(pq(),vb=!0)}function kt(){return _a.setup({delay:null})}function Ca(e){return ll(e.trim())??e.trim()}function wb(e,t){let r=Ca(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=Aa(e.trim());return i?ul(i.name,document,t):null}function pt(e){return typeof e=="string"?e:e.selector}function gb(e,t){let r=sl(e);if(!r)return;let n=t?{selector:r.base,index:null,parent:t}:r.base,o=V(n,null);return o?r.kind==="parent"?o.parentElement??null:o.closest(r.arg)??null:null}function V(e,t){if(typeof e=="string"){let s=gb(e,void 0);return s!==void 0?s:wb(e,t)}let r=gb(e.selector,e.parent);if(r!==void 0)return r;let n=e.parent?V(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Ca(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 Eb(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}var Pa=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=V(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=V(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+pt(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 kt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await kt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await kt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!Eb(o))throw new Error("Element is not a form field: "+pt(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=kt();await i.clear(o),String(r).length>0&&await i.type(o,String(r))}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(","),v=l.slice(0,m),P=l.slice(m+1),C=v.match(/data:([^;]+)/);C&&(c=C[1]);let T=v.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),h=new Uint8Array(f.length);for(let E=0;E<f.length;E++)h[E]=f.charCodeAt(E);d=new Blob([h],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let v=u.split(".").pop()?.toLowerCase()||"";c=s[v]||"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),v=new Uint8Array(m.length);for(let P=0;P<m.length;P++)v[P]=m.charCodeAt(P);d=new Blob([v],{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 kt().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=V(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 kt().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=V(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+pt(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=V(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+pt(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: "+pt(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: "+pt(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=V(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=V(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=V(t,n),i=wb(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=V(t,n);if(!o)throw new Error("Element not found: "+pt(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){V(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=V(t,r);return n?n.innerText!==void 0?n.innerText:n.textContent||"":""}async getValue(t,r=null){let n=V(t,r);return n?Eb(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=V(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 V(t,r)!==null}async isEnabled(t,r=null){let n=V(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=V(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=V(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=V(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=V(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=V(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=V(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string")return document.querySelectorAll(Ca(t)).length;let r=t.parent?V(t.parent,t.parent.index):document.documentElement;return r?r.querySelectorAll(Ca(t.selector)).length:0}async pressKey(t){let r=document.activeElement||document.body,n=String(t);r.dispatchEvent(new KeyboardEvent("keydown",{key:n,bubbles:!0})),r.dispatchEvent(new KeyboardEvent("keyup",{key:n,bubbles:!0}))}async scroll(t={}){if(t.selector){await this.scrollIntoView(String(t.selector),null);return}let r=t.direction||"down",n=t.pixels||500,o=r==="up"?-n:r==="down"?n:0,i=r==="left"?-n:r==="right"?n:0;window.scrollBy(i,o)}async swipe(t){let r=t.distance||300,n=t.direction==="up"?r:t.direction==="down"?-r:0,o=t.direction==="left"?r:t.direction==="right"?-r:0;window.scrollBy(o,n)}async grantPermission(t){}async getUrl(){return window.location.href}async getTitle(){return document.title}async execute(t,...r){return typeof t=="function"?t(...r):new Function(`return (${t});`)()}async evaluate(t){return new Function(`return (${t});`)()}async waitUntil(t,r){let n=await globalThis.__TS_RUNTIME__.pollCondition(t,r?.timeout);if(!n)throw new Error(r?.timeoutMsg||"waitUntil() condition was not met in time");return n}async getLogs(t){return[]}async shouldHaveUrl(t){let r=await this.getUrl();if(r!==t)throw new Error(`Expected browser URL to be "${t}", but got "${r}"`)}async shouldContainUrl(t){let r=await this.getUrl();if(!r.includes(t))throw new Error(`Expected browser URL to contain "${t}", but got "${r}"`)}async shouldHaveTitle(t){let r=await this.getTitle();if(r!==t)throw new Error(`Expected page title to be "${t}", but got "${r}"`)}async shouldContainTitle(t){let r=await this.getTitle();if(!r.includes(t))throw new Error(`Expected page title to contain "${t}", but got "${r}"`)}async shouldBeLoaded(){if(document.readyState!=="complete"&&document.readyState!=="interactive")throw new Error(`Expected document to be loaded, but readyState is "${document.readyState}"`)}async shouldHaveNoConsoleErrors(){if(this.consoleErrors.length>0)throw new Error(`Expected no console errors, but found ${this.consoleErrors.length}: ${this.consoleErrors.join("; ")}`)}async clearCookies(){document.cookie.split(";").forEach(t=>{let r=t.split("=")[0]?.trim();r&&(document.cookie=`${r}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`)})}async clearLocalStorage(){window.localStorage.clear()}async intercept(t,r,n,o){let i=Ar(t,r,n,o);return hb(()=>this.mockRules),this.mockRules.push(i),qr(i)}clearMocks(){this.mockRules=[]}};var Ta="spectra-root",ft=null,Rr=null;async function fq(){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 mq(){let e=document.getElementById(Ta);return e||(e=document.createElement("div"),e.id=Ta,document.body.appendChild(e)),e}function _b(){if(ft){try{ft.unmount()}catch{try{ft.render(null)}catch{}}ft=null}let e=document.getElementById(Ta);e&&(e.innerHTML="")}async function Cb(e){let t=mq();ft||(ft=(await fq())(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()=>(ft.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Ta}`)))}var Pb=new Pa;Ys(Pb);globalThis.browser=Pb;globalThis.$=function(e){return pe(e)};globalThis.$$=function(e){return Ze(e)};var Js=cl();Js.mount=Cb;Js.unmount=_b;globalThis.Spectra=Js;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await ka();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 Jm(e,t){let r=[];do{var n;let{type:o,descriptor:i,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=ga(t,"keyboard"),c=(n=e.find(d=>{if(o==="["){var b;return((b=d.code)===null||b===void 0?void 0:b.toLowerCase())===i.toLowerCase()}else if(o==="{"){var v;return((v=d.key)===null||v===void 0?void 0:v.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 Ym(e){let t=Jm(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await Lx(this,t[r])}async function Lx(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 Zm(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function Ea(e){let t=X(e)?{"text/plain":Bx(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=bt(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Bx(e){let t=Me(e);return Y(e).substring(t.startOffset,t.endOffset)}async function eb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(t,n),n}async function tb(){var e;let t=this.config.document,r=(e=t.activeElement)!==null&&e!==void 0?e:t.body,n=Ea(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(r.ownerDocument,n),n}async function rb(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"?Dx(n,e):e)!==null&&r!==void 0?r:await Cl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function Dx(e,t){let r=bt(V(e));return r.setData("text",t),r}function zs(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:a=!0}=ga(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 ob(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...zs(t,n)):"keys"in n?r.push(...zs(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Re(this.config),await Fx(this,r[n]);this.system.pointer.resetClickCount()}async function Fx(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:Ux(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:nb(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:nb(t)||u==null||(s=u.caret)===null||s===void 0?void 0:s.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(at(e,re.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(at(e,re.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(at(e,re.Trigger),await e.system.pointer.move(e,l,c))}function nb(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 Ux(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 ib(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(pa(e),!mm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function ab(e,t){return lb.call(this,!0,e,t)}async function sb(e,t){return lb.call(this,!1,e,t)}async function lb(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(S(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:Mt(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:Mt(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 ub(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&&it(e,o,i??o),await this.keyboard(t),n||await Zm(this))}var cb=Symbol("files and value properties are mocked");function Gs(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function db(e,t){var r;(r=e[cb])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Gs(e,"type",n),Gs(e,"value",o),Gs(e,"files",i)}e[cb]={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 pb(e,t){let r=S(e,"label")?e.control:e;if(!r||!S(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||jx(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))})||(db(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 wa(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function jx(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return wa(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?wa(e.name).endsWith(n):r.includes(n)?wa(e.type).startsWith(n.replace("*","")):wa(e.type)===n)}var Ks={click:$m,dblClick:Hm,tripleClick:Vm,hover:Wm,unhover:zm,tab:Gm,keyboard:Ym,copy:eb,cut:tb,paste:rb,pointer:ob,clear:ib,deselectOptions:sb,selectOptions:ab,type:ub,upload:pb};function fb(e){return I().asyncWrapper(e)}var mb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:Mm,pointerMap:km,pointerEventsCheck:st.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},$x={...mb,writeToClipboard:!0};function bb(e={},t=$x,r){let n=Wx(e,r,t);return{...t,...e,document:n}}function vb(e={}){var t;let r=bb(e);Vs(r.document),$s(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return _l(n),Xs(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=bb(r,mb,n);Vs(i.document),$s(V(i.document).HTMLElement);let a=(o=t??e)!==null&&o!==void 0?o:new Tr;return{api:Xs(i,a).api,system:a}}function Hx(e){return Xs({...this.config,...e},this.system).api}function Vx(e,t){function r(...n){return at(e,re.Call),fb(()=>t.apply(e,n).then(async o=>(await Re(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Xs(e,t=new Tr){let r={};return Object.assign(r,{config:e,dispatchEvent:js.bind(r),dispatchUIEvent:wm.bind(r),system:t,levelRefs:{},...Ks}),{instance:r,api:{...Object.fromEntries(Object.entries(Ks).map(([n,o])=>[n,Vx(r,o)])),setup:Hx.bind(r)}}}function Wx(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&xm(t))!==null&&n!==void 0?n:r.document}var Qs={};Ob(Qs,{clear:()=>zx,click:()=>Gx,copy:()=>Kx,cut:()=>Xx,dblClick:()=>Qx,deselectOptions:()=>Jx,hover:()=>Yx,keyboard:()=>Zx,paste:()=>tq,pointer:()=>eq,selectOptions:()=>rq,tab:()=>sq,tripleClick:()=>nq,type:()=>oq,unhover:()=>iq,upload:()=>aq});function zx(e){return ee().api.clear(e)}function Gx(e,t={}){return ee(t,e).api.click(e)}function Kx(e={}){return ee(e).api.copy()}function Xx(e={}){return ee(e).api.cut()}function Qx(e,t={}){return ee(t).api.dblClick(e)}function Jx(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function Yx(e,t={}){return ee(t).api.hover(e)}async function Zx(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function eq(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function tq(e,t){return ee(t).api.paste(e)}function rq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function nq(e,t={}){return ee(t).api.tripleClick(e)}function oq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function iq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function aq(e,t,r={}){return ee(r).api.upload(e,t)}function sq(e={}){return ee().api.tab(e)}var _a={...Qs,setup:vb};var yb=!1,hb=!1,Js=null;function lq(e){return new Promise(t=>setTimeout(t,e))}function gb(e){try{if(typeof e=="string")return new URL(e,uq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function uq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function cq(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 dq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function pq(e){let t=Mr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Dt(e.body),{status:e.statusCode,headers:r})}async function fq(e,t,r){let n=gb(t),o=cq(t,r),i=Nt(Js?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:dq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Bt(i);return s.delayMs&&s.delayMs>0&&await lq(s.delayMs),pq(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=gb(l);let[c=!0,d,b]=u;return i(s,l,c,d,b)},r.send=s=>{let l=Nt(Js?.()??[],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=Bt(l),b=()=>{let v=Dt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:v,configurable:!0},response:{value:v,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(b,d.delayMs):setTimeout(b,0)},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function Eb(e){if(Js=e,!yb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>fq(t,r,n),yb=!0}!hb&&typeof globalThis.XMLHttpRequest=="function"&&(mq(),hb=!0)}function kt(){return _a.setup({delay:null})}function Ca(e){return cl(e.trim())??e.trim()}function Cb(e,t){let r=Ca(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=Ma(e.trim());return i?dl(i.name,document,t):null}function pt(e){return typeof e=="string"?e:e.selector}function wb(e,t){return t==null?e[0]??null:t>=0?e[t]??null:e[e.length+t]??null}function Ys(e,t){if(!t)return!0;try{return e.matches(t)}catch{return!1}}function Pa(e,t){let r=ul(e);if(!r)return;let n=t?{selector:r.base,index:null,parent:t}:r.base,o=H(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=>Ys(a,r.arg));if(r.kind==="siblings"){let a=o.parentElement;return a?Array.from(a.children).filter(s=>s!==o&&Ys(s,r.arg)):[]}let i=o.nextElementSibling;for(;i&&!Ys(i,r.arg);)i=i.nextElementSibling;return i?[i]:[]}function H(e,t){if(typeof e=="string"){let s=Pa(e,void 0);return s!==void 0?wb(s,t):Cb(e,t)}let r=Pa(e.selector,e.parent);if(r!==void 0)return wb(r,e.index??t);let n=e.parent?H(e.parent,e.parent.index):document.documentElement;if(!n)return null;let o=Ca(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 _b(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}var Ta=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=H(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=H(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+pt(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 kt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await kt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await kt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!_b(o))throw new Error("Element is not a form field: "+pt(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=kt();await i.clear(o),String(r).length>0&&await i.type(o,String(r))}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 b=l.indexOf(","),v=l.slice(0,b),C=l.slice(b+1),_=v.match(/data:([^;]+)/);_&&(c=_[1]);let T=v.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let m=atob(C),h=new Uint8Array(m.length);for(let E=0;E<m.length;E++)h[E]=m.charCodeAt(E);d=new Blob([h],{type:c})}catch{d=new Blob([C],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let v=u.split(".").pop()?.toLowerCase()||"";c=s[v]||"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 b=atob(u.base64),v=new Uint8Array(b.length);for(let C=0;C<b.length;C++)v[C]=b.charCodeAt(C);d=new Blob([v],{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 kt().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=H(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 kt().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=H(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+pt(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=H(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+pt(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: "+pt(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: "+pt(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=H(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=H(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=H(t,n),i=Cb(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=H(t,n);if(!o)throw new Error("Element not found: "+pt(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){H(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=H(t,r);return n?n.innerText!==void 0?n.innerText:n.textContent||"":""}async getValue(t,r=null){let n=H(t,r);return n?_b(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=H(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 H(t,r)!==null}async isEnabled(t,r=null){let n=H(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=H(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=H(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=H(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=H(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=H(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=H(t,n);return{value:o?window.getComputedStyle(o).getPropertyValue(r):""}}async count(t){if(typeof t=="string"){let o=Pa(t,void 0);return o!==void 0?o.length:document.querySelectorAll(Ca(t)).length}let r=Pa(t.selector,t.parent);if(r!==void 0)return r.length;let n=t.parent?H(t.parent,t.parent.index):document.documentElement;return n?n.querySelectorAll(Ca(t.selector)).length:0}async pressKey(t){let r=document.activeElement||document.body,n=String(t);r.dispatchEvent(new KeyboardEvent("keydown",{key:n,bubbles:!0})),r.dispatchEvent(new KeyboardEvent("keyup",{key:n,bubbles:!0}))}async scroll(t={}){if(t.selector){await this.scrollIntoView(String(t.selector),null);return}let r=t.direction||"down",n=t.pixels||500,o=r==="up"?-n:r==="down"?n:0,i=r==="left"?-n:r==="right"?n:0;window.scrollBy(i,o)}async swipe(t){let r=t.distance||300,n=t.direction==="up"?r:t.direction==="down"?-r:0,o=t.direction==="left"?r:t.direction==="right"?-r:0;window.scrollBy(o,n)}async grantPermission(t){}async getUrl(){return window.location.href}async getTitle(){return document.title}async execute(t,...r){return typeof t=="function"?t(...r):new Function(`return (${t});`)()}async evaluate(t){return new Function(`return (${t});`)()}async waitUntil(t,r){let n=await globalThis.__TS_RUNTIME__.pollCondition(t,r?.timeout);if(!n)throw new Error(r?.timeoutMsg||"waitUntil() condition was not met in time");return n}async getLogs(t){return[]}async shouldHaveUrl(t){let r=await this.getUrl();if(r!==t)throw new Error(`Expected browser URL to be "${t}", but got "${r}"`)}async shouldContainUrl(t){let r=await this.getUrl();if(!r.includes(t))throw new Error(`Expected browser URL to contain "${t}", but got "${r}"`)}async shouldHaveTitle(t){let r=await this.getTitle();if(r!==t)throw new Error(`Expected page title to be "${t}", but got "${r}"`)}async shouldContainTitle(t){let r=await this.getTitle();if(!r.includes(t))throw new Error(`Expected page title to contain "${t}", but got "${r}"`)}async shouldBeLoaded(){if(document.readyState!=="complete"&&document.readyState!=="interactive")throw new Error(`Expected document to be loaded, but readyState is "${document.readyState}"`)}async shouldHaveNoConsoleErrors(){if(this.consoleErrors.length>0)throw new Error(`Expected no console errors, but found ${this.consoleErrors.length}: ${this.consoleErrors.join("; ")}`)}async clearCookies(){document.cookie.split(";").forEach(t=>{let r=t.split("=")[0]?.trim();r&&(document.cookie=`${r}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`)})}async clearLocalStorage(){window.localStorage.clear()}async intercept(t,r,n,o){let i=Ar(t,r,n,o);return Eb(()=>this.mockRules),this.mockRules.push(i),qr(i)}clearMocks(){this.mockRules=[]}};var Ra="spectra-root",ft=null,Rr=null;async function bq(){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 vq(){let e=document.getElementById(Ra);return e||(e=document.createElement("div"),e.id=Ra,document.body.appendChild(e)),e}function Pb(){if(ft){try{ft.unmount()}catch{try{ft.render(null)}catch{}}ft=null}let e=document.getElementById(Ra);e&&(e.innerHTML="")}async function Tb(e){let t=vq();ft||(ft=(await bq())(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()=>(ft.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Ra}`)))}var Rb=new Ta;el(Rb);globalThis.browser=Rb;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Te(e)};var Zs=pl();Zs.mount=Tb;Zs.unmount=Pb;globalThis.Spectra=Zs;(typeof globalThis.__vitest_browser_runner__<"u"||typeof globalThis.__vitest_worker__<"u")&&await Oa();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: