@testspectra/react 1.2.9 → 1.2.11

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,27 +1,27 @@
1
- var qb=Object.create;var Sa=Object.defineProperty;var Ab=Object.getOwnPropertyDescriptor;var Mb=Object.getOwnPropertyNames;var kb=Object.getPrototypeOf,Ob=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Ib=(e,t)=>{for(var r in t)Sa(e,r,{get:t[r],enumerable:!0})},Nb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Mb(t))!Ob.call(e,o)&&o!==r&&Sa(e,o,{get:()=>t[o],enumerable:!(n=Ab(t,o))||n.enumerable});return e};var xa=(e,t,r)=>(r=e!=null?qb(kb(e)):{},Nb(t||!e||!e.__esModule?Sa(r,"default",{value:e,enumerable:!0}):r,e));var Fa=p((KA,Il)=>{"use strict";var kl=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Ol=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Zb(){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=kl(),t.color.ansi16m=Ol(),t.bgColor.ansi256=kl(10),t.bgColor.ansi16m=Ol(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(Il,"exports",{enumerable:!0,get:Zb})});var jt=p(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.printIteratorEntries=tv;gt.printIteratorValues=rv;gt.printListItems=nv;gt.printObjectProperties=ov;var ev=(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 tv(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 rv(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 nv(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 ov(e,t,r,n,o,i){let a="",s=ev(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 Bl=p(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.test=Be.serialize=Be.default=void 0;var Nl=jt(),$r=(function(){return typeof globalThis<"u"?globalThis:typeof $r<"u"?$r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Ua=$r["jest-symbol-do-not-touch"]||$r.Symbol,iv=typeof Ua=="function"&&Ua.for?Ua.for("jest.asymmetricMatcher"):1267621,Ur=" ",Ll=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"["+(0,Nl.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"{"+(0,Nl.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=Ll;var Dl=e=>e&&e.$$typeof===iv;Be.test=Dl;var av={serialize:Ll,test:Dl},sv=av;Be.default=sv});var Ul=p((QA,Fl)=>{"use strict";Fl.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 Wl=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var $l=jl(Ul()),F=jl(Fa());function jl(e){return e&&e.__esModule?e:{default:e}}var lv=e=>e.replace((0,$l.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""}}),Hl=e=>typeof e=="string"&&!!e.match((0,$l.default)());Fe.test=Hl;var Vl=(e,t,r,n,o,i)=>i(lv(e),t,r,n,o);Fe.serialize=Vl;var uv={serialize:Vl,test:Hl},cv=uv;Fe.default=cv});var Ql=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var zl=jt(),dv=" ",Kl=["DOMStringMap","NamedNodeMap"],pv=/^(HTML\w*Collection|NodeList)$/,fv=e=>Kl.indexOf(e)!==-1||pv.test(e),Gl=e=>e&&e.constructor&&!!e.constructor.name&&fv(e.constructor.name);Ue.test=Gl;var mv=e=>e.constructor.name==="NamedNodeMap",Xl=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+dv)+(Kl.indexOf(a)!==-1?"{"+(0,zl.printObjectProperties)(mv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,zl.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Ue.serialize=Xl;var bv={serialize:Xl,test:Gl},vv=bv;Ue.default=vv});var Jl=p($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});$a.default=yv;function yv(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}});var jr=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 Yl=hv(Jl());function hv(e){return e&&e.__esModule?e:{default:e}}var gv=(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=gv;var Ev=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?Zl(a,t):i(a,t,r,n,o))).join("");ae.printChildren=Ev;var Zl=(e,t)=>{let r=t.colors.content;return r.open+(0,Yl.default)(e)+r.close};ae.printText=Zl;var wv=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Yl.default)(e)+"-->"+r.close};ae.printComment=wv;var _v=(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=_v;var Cv=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=Cv});var iu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var Et=jr(),Pv=1,eu=3,tu=8,ru=11,Tv=/^((HTML|SVG)\w*)?Element$/,Rv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},Sv=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Rv(e);return r===Pv&&(Tv.test(t)||o)||r===eu&&t==="Text"||r===tu&&t==="Comment"||r===ru&&t==="DocumentFragment"},nu=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Sv(e)};$e.test=nu;function xv(e){return e.nodeType===eu}function qv(e){return e.nodeType===tu}function ja(e){return e.nodeType===ru}var ou=(e,t,r,n,o,i)=>{if(xv(e))return(0,Et.printText)(e.data,t);if(qv(e))return(0,Et.printComment)(e.data,t);let a=ja(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Et.printElementAsLeaf)(a,t):(0,Et.printElement)(a,(0,Et.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,Et.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};$e.serialize=ou;var Av={serialize:ou,test:nu},Mv=Av;$e.default=Mv});var cu=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Ht=jt(),kv="@@__IMMUTABLE_ITERABLE__@@",Ov="@@__IMMUTABLE_LIST__@@",Iv="@@__IMMUTABLE_KEYED__@@",Nv="@@__IMMUTABLE_MAP__@@",au="@@__IMMUTABLE_ORDERED__@@",Lv="@@__IMMUTABLE_RECORD__@@",Dv="@@__IMMUTABLE_SEQ__@@",Bv="@@__IMMUTABLE_SET__@@",Fv="@@__IMMUTABLE_STACK__@@",wt=e=>"Immutable."+e,Hr=e=>"["+e+"]",Vt=" ",su="\u2026",Uv=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(wt(a)):wt(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function $v(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 jv=(e,t,r,n,o,i)=>{let a=wt(e._name||"Record");return++n>t.maxDepth?Hr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)($v(e),t,r,n,o,i)+"}"},Hv=(e,t,r,n,o,i)=>{let a=wt("Seq");return++n>t.maxDepth?Hr(a):e[Iv]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):su)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):su)+"]"},Ha=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(wt(a)):wt(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",lu=(e,t,r,n,o,i)=>e[Nv]?Uv(e,t,r,n,o,i,e[au]?"OrderedMap":"Map"):e[Ov]?Ha(e,t,r,n,o,i,"List"):e[Bv]?Ha(e,t,r,n,o,i,e[au]?"OrderedSet":"Set"):e[Fv]?Ha(e,t,r,n,o,i,"Stack"):e[Dv]?Hv(e,t,r,n,o,i):jv(e,t,r,n,o,i);je.serialize=lu;var uu=e=>e&&(e[kv]===!0||e[Lv]===!0);je.test=uu;var Vv={serialize:lu,test:uu},Wv=Vv;je.default=Wv});var vu=p(D=>{"use strict";var Vr=60103,Wr=60106,Wt=60107,zt=60108,Kt=60114,Gt=60109,Xt=60110,Qt=60112,Jt=60113,Va=60120,Yt=60115,Zt=60116,du=60121,pu=60122,fu=60117,mu=60129,bu=60131;typeof Symbol=="function"&&Symbol.for&&(Y=Symbol.for,Vr=Y("react.element"),Wr=Y("react.portal"),Wt=Y("react.fragment"),zt=Y("react.strict_mode"),Kt=Y("react.profiler"),Gt=Y("react.provider"),Xt=Y("react.context"),Qt=Y("react.forward_ref"),Jt=Y("react.suspense"),Va=Y("react.suspense_list"),Yt=Y("react.memo"),Zt=Y("react.lazy"),du=Y("react.block"),pu=Y("react.server.block"),fu=Y("react.fundamental"),mu=Y("react.debug_trace_mode"),bu=Y("react.legacy_hidden"));var Y;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 Kt:case zt:case Jt:case Va:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Qt:case Zt:case Yt:case Gt:return e;default:return t}}case Wr:return t}}}var zv=Gt,Kv=Vr,Gv=Qt,Xv=Wt,Qv=Zt,Jv=Yt,Yv=Wr,Zv=Kt,ey=zt,ty=Jt;D.ContextConsumer=Xt;D.ContextProvider=zv;D.Element=Kv;D.ForwardRef=Gv;D.Fragment=Xv;D.Lazy=Qv;D.Memo=Jv;D.Portal=Yv;D.Profiler=Zv;D.StrictMode=ey;D.Suspense=ty;D.isAsyncMode=function(){return!1};D.isConcurrentMode=function(){return!1};D.isContextConsumer=function(e){return ye(e)===Xt};D.isContextProvider=function(e){return ye(e)===Gt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===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)===Kt};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===Kt||e===mu||e===zt||e===Jt||e===Va||e===bu||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Yt||e.$$typeof===Gt||e.$$typeof===Xt||e.$$typeof===Qt||e.$$typeof===fu||e.$$typeof===du||e[0]===pu)};D.typeOf=ye});var hu=p((oM,yu)=>{"use strict";yu.exports=vu()});var Pu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var et=ry(hu()),zr=jr();function Eu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Eu=function(n){return n?r:t})(e)}function ry(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Eu(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 wu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{wu(r,t)}):e!=null&&e!==!1&&t.push(e),t),gu=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"},ny=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},_u=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,zr.printElementAsLeaf)(gu(e),t):(0,zr.printElement)(gu(e),(0,zr.printProps)(ny(e),e.props,t,r+t.indent,n,o,i),(0,zr.printChildren)(wu(e.props.children),t,r+t.indent,n,o,i),t,r);He.serialize=_u;var Cu=e=>e!=null&&et.isElement(e);He.test=Cu;var oy={serialize:_u,test:Cu},iy=oy;He.default=iy});var Su=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var Kr=jr(),Gr=(function(){return typeof globalThis<"u"?globalThis:typeof Gr<"u"?Gr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Wa=Gr["jest-symbol-do-not-touch"]||Gr.Symbol,ay=typeof Wa=="function"&&Wa.for?Wa.for("react.test.json"):245830487,sy=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Tu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Kr.printElementAsLeaf)(e.type,t):(0,Kr.printElement)(e.type,e.props?(0,Kr.printProps)(sy(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Kr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);Ve.serialize=Tu;var Ru=e=>e&&e.$$typeof===ay;Ve.test=Ru;var ly={serialize:Tu,test:Ru},uy=ly;Ve.default=uy});var Hu=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 cy=ze(Fa()),er=jt(),dy=ze(Bl()),py=ze(Wl()),fy=ze(Ql()),my=ze(iu()),by=ze(cu()),vy=ze(Pu()),yy=ze(Su());function ze(e){return e&&e.__esModule?e:{default:e}}var Ou=Object.prototype.toString,hy=Date.prototype.toISOString,gy=Error.prototype.toString,xu=RegExp.prototype.toString,za=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",Ey=e=>typeof window<"u"&&e===window,wy=/^Symbol\((.*)\)(.*)$/,_y=/\n/gi,Xr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function Cy(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 Py(e){return Object.is(e,-0)?"-0":String(e)}function Ty(e){return`${e}n`}function qu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Au(e){return String(e).replace(wy,"Symbol($1)")}function Mu(e){return"["+gy.call(e)+"]"}function Iu(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 Py(e);if(o==="bigint")return Ty(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return qu(e,t);if(o==="symbol")return Au(e);let i=Ou.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?qu(e,t):i==="[object Symbol]"?Au(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":hy.call(e):i==="[object Error]"?Mu(e):i==="[object RegExp]"?r?xu.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):xu.call(e):e instanceof Error?Mu(e):null}function Nu(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=Ou.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,er.printListItems)(e,t,r,n,o,We)+"]":Cy(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||Ey(e)?"["+za(e)+"]":(s||!t.printBasicPrototype&&za(e)==="Object"?"":za(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,We)+"}"}function Ry(e){return e.serialize!=null}function Lu(e,t,r,n,o,i){let a;try{a=Ry(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(_y,`
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 Du(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=Du(t.plugins,e);if(a!==null)return Lu(a,e,t,r,n,o);let s=Iu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Nu(e,t,r,n,o,i)}var Ka={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Bu=Object.keys(Ka),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:Ka};Se.DEFAULT_OPTIONS=he;function Sy(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 xy=e=>Bu.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Ka[r],o=n&&cy.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)),qy=()=>Bu.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Fu=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,Uu=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,$u=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,ku=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?xy(e):qy(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:Uu(e),escapeString:$u(e),indent:e&&e.min?"":Ay(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:Fu(e),spacingInner:e&&e.min?" ":`
1
+ var qb=Object.create;var Sa=Object.defineProperty;var Ab=Object.getOwnPropertyDescriptor;var Mb=Object.getOwnPropertyNames;var kb=Object.getPrototypeOf,Ob=Object.prototype.hasOwnProperty;var p=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Ib=(e,t)=>{for(var r in t)Sa(e,r,{get:t[r],enumerable:!0})},Nb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Mb(t))!Ob.call(e,o)&&o!==r&&Sa(e,o,{get:()=>t[o],enumerable:!(n=Ab(t,o))||n.enumerable});return e};var xa=(e,t,r)=>(r=e!=null?qb(kb(e)):{},Nb(t||!e||!e.__esModule?Sa(r,"default",{value:e,enumerable:!0}):r,e));var Fa=p((zA,Il)=>{"use strict";var kl=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,Ol=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function Yb(){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=kl(),t.color.ansi16m=Ol(),t.bgColor.ansi256=kl(10),t.bgColor.ansi16m=Ol(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(Il,"exports",{enumerable:!0,get:Yb})});var $t=p(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.printIteratorEntries=ev;gt.printIteratorValues=tv;gt.printListItems=rv;gt.printObjectProperties=nv;var Zb=(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 ev(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 tv(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 rv(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 nv(e,t,r,n,o,i){let a="",s=Zb(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 Bl=p(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.test=Be.serialize=Be.default=void 0;var Nl=$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,ov=typeof Ua=="function"&&Ua.for?Ua.for("jest.asymmetricMatcher"):1267621,Ur=" ",Ll=(e,t,r,n,o,i)=>{let a=e.toString();return a==="ArrayContaining"||a==="ArrayNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"["+(0,Nl.printListItems)(e.sample,t,r,n,o,i)+"]":a==="ObjectContaining"||a==="ObjectNotContaining"?++n>t.maxDepth?"["+a+"]":a+Ur+"{"+(0,Nl.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=Ll;var Dl=e=>e&&e.$$typeof===ov;Be.test=Dl;var iv={serialize:Ll,test:Dl},av=iv;Be.default=av});var Ul=p((XA,Fl)=>{"use strict";Fl.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 Wl=p(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.test=Fe.serialize=Fe.default=void 0;var jl=$l(Ul()),F=$l(Fa());function $l(e){return e&&e.__esModule?e:{default:e}}var sv=e=>e.replace((0,jl.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""}}),Hl=e=>typeof e=="string"&&!!e.match((0,jl.default)());Fe.test=Hl;var Vl=(e,t,r,n,o,i)=>i(sv(e),t,r,n,o);Fe.serialize=Vl;var lv={serialize:Vl,test:Hl},uv=lv;Fe.default=uv});var Ql=p(Ue=>{"use strict";Object.defineProperty(Ue,"__esModule",{value:!0});Ue.test=Ue.serialize=Ue.default=void 0;var zl=$t(),cv=" ",Kl=["DOMStringMap","NamedNodeMap"],dv=/^(HTML\w*Collection|NodeList)$/,pv=e=>Kl.indexOf(e)!==-1||dv.test(e),Gl=e=>e&&e.constructor&&!!e.constructor.name&&pv(e.constructor.name);Ue.test=Gl;var fv=e=>e.constructor.name==="NamedNodeMap",Xl=(e,t,r,n,o,i)=>{let a=e.constructor.name;return++n>t.maxDepth?"["+a+"]":(t.min?"":a+cv)+(Kl.indexOf(a)!==-1?"{"+(0,zl.printObjectProperties)(fv(e)?Array.from(e).reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,o,i)+"}":"["+(0,zl.printListItems)(Array.from(e),t,r,n,o,i)+"]")};Ue.serialize=Xl;var mv={serialize:Xl,test:Gl},bv=mv;Ue.default=bv});var Jl=p(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.default=vv;function vv(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 Yl=yv(Jl());function yv(e){return e&&e.__esModule?e:{default:e}}var hv=(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=hv;var gv=(e,t,r,n,o,i)=>e.map(a=>t.spacingOuter+r+(typeof a=="string"?Zl(a,t):i(a,t,r,n,o))).join("");ae.printChildren=gv;var Zl=(e,t)=>{let r=t.colors.content;return r.open+(0,Yl.default)(e)+r.close};ae.printText=Zl;var Ev=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,Yl.default)(e)+"-->"+r.close};ae.printComment=Ev;var wv=(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=wv;var _v=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};ae.printElementAsLeaf=_v});var iu=p(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.test=je.serialize=je.default=void 0;var Et=$r(),Cv=1,eu=3,tu=8,ru=11,Pv=/^((HTML|SVG)\w*)?Element$/,Tv=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},Rv=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Tv(e);return r===Cv&&(Pv.test(t)||o)||r===eu&&t==="Text"||r===tu&&t==="Comment"||r===ru&&t==="DocumentFragment"},nu=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&Rv(e)};je.test=nu;function Sv(e){return e.nodeType===eu}function xv(e){return e.nodeType===tu}function $a(e){return e.nodeType===ru}var ou=(e,t,r,n,o,i)=>{if(Sv(e))return(0,Et.printText)(e.data,t);if(xv(e))return(0,Et.printComment)(e.data,t);let a=$a(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Et.printElementAsLeaf)(a,t):(0,Et.printElement)(a,(0,Et.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,Et.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};je.serialize=ou;var qv={serialize:ou,test:nu},Av=qv;je.default=Av});var cu=p($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.test=$e.serialize=$e.default=void 0;var Ht=$t(),Mv="@@__IMMUTABLE_ITERABLE__@@",kv="@@__IMMUTABLE_LIST__@@",Ov="@@__IMMUTABLE_KEYED__@@",Iv="@@__IMMUTABLE_MAP__@@",au="@@__IMMUTABLE_ORDERED__@@",Nv="@@__IMMUTABLE_RECORD__@@",Lv="@@__IMMUTABLE_SEQ__@@",Dv="@@__IMMUTABLE_SET__@@",Bv="@@__IMMUTABLE_STACK__@@",wt=e=>"Immutable."+e,Hr=e=>"["+e+"]",Vt=" ",su="\u2026",Fv=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(wt(a)):wt(a)+Vt+"{"+(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function Uv(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 jv=(e,t,r,n,o,i)=>{let a=wt(e._name||"Record");return++n>t.maxDepth?Hr(a):a+Vt+"{"+(0,Ht.printIteratorEntries)(Uv(e),t,r,n,o,i)+"}"},$v=(e,t,r,n,o,i)=>{let a=wt("Seq");return++n>t.maxDepth?Hr(a):e[Ov]?a+Vt+"{"+(e._iter||e._object?(0,Ht.printIteratorEntries)(e.entries(),t,r,n,o,i):su)+"}":a+Vt+"["+(e._iter||e._array||e._collection||e._iterable?(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i):su)+"]"},Ha=(e,t,r,n,o,i,a)=>++n>t.maxDepth?Hr(wt(a)):wt(a)+Vt+"["+(0,Ht.printIteratorValues)(e.values(),t,r,n,o,i)+"]",lu=(e,t,r,n,o,i)=>e[Iv]?Fv(e,t,r,n,o,i,e[au]?"OrderedMap":"Map"):e[kv]?Ha(e,t,r,n,o,i,"List"):e[Dv]?Ha(e,t,r,n,o,i,e[au]?"OrderedSet":"Set"):e[Bv]?Ha(e,t,r,n,o,i,"Stack"):e[Lv]?$v(e,t,r,n,o,i):jv(e,t,r,n,o,i);$e.serialize=lu;var uu=e=>e&&(e[Mv]===!0||e[Nv]===!0);$e.test=uu;var Hv={serialize:lu,test:uu},Vv=Hv;$e.default=Vv});var vu=p(D=>{"use strict";var Vr=60103,Wr=60106,Wt=60107,zt=60108,Kt=60114,Gt=60109,Xt=60110,Qt=60112,Jt=60113,Va=60120,Yt=60115,Zt=60116,du=60121,pu=60122,fu=60117,mu=60129,bu=60131;typeof Symbol=="function"&&Symbol.for&&(Y=Symbol.for,Vr=Y("react.element"),Wr=Y("react.portal"),Wt=Y("react.fragment"),zt=Y("react.strict_mode"),Kt=Y("react.profiler"),Gt=Y("react.provider"),Xt=Y("react.context"),Qt=Y("react.forward_ref"),Jt=Y("react.suspense"),Va=Y("react.suspense_list"),Yt=Y("react.memo"),Zt=Y("react.lazy"),du=Y("react.block"),pu=Y("react.server.block"),fu=Y("react.fundamental"),mu=Y("react.debug_trace_mode"),bu=Y("react.legacy_hidden"));var Y;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 Kt:case zt:case Jt:case Va:return e;default:switch(e=e&&e.$$typeof,e){case Xt:case Qt:case Zt:case Yt:case Gt:return e;default:return t}}case Wr:return t}}}var Wv=Gt,zv=Vr,Kv=Qt,Gv=Wt,Xv=Zt,Qv=Yt,Jv=Wr,Yv=Kt,Zv=zt,ey=Jt;D.ContextConsumer=Xt;D.ContextProvider=Wv;D.Element=zv;D.ForwardRef=Kv;D.Fragment=Gv;D.Lazy=Xv;D.Memo=Qv;D.Portal=Jv;D.Profiler=Yv;D.StrictMode=Zv;D.Suspense=ey;D.isAsyncMode=function(){return!1};D.isConcurrentMode=function(){return!1};D.isContextConsumer=function(e){return ye(e)===Xt};D.isContextProvider=function(e){return ye(e)===Gt};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===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)===Kt};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===Kt||e===mu||e===zt||e===Jt||e===Va||e===bu||typeof e=="object"&&e!==null&&(e.$$typeof===Zt||e.$$typeof===Yt||e.$$typeof===Gt||e.$$typeof===Xt||e.$$typeof===Qt||e.$$typeof===fu||e.$$typeof===du||e[0]===pu)};D.typeOf=ye});var hu=p((nM,yu)=>{"use strict";yu.exports=vu()});var Pu=p(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.test=He.serialize=He.default=void 0;var et=ty(hu()),zr=$r();function Eu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Eu=function(n){return n?r:t})(e)}function ty(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Eu(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 wu=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{wu(r,t)}):e!=null&&e!==!1&&t.push(e),t),gu=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"},ry=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},_u=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,zr.printElementAsLeaf)(gu(e),t):(0,zr.printElement)(gu(e),(0,zr.printProps)(ry(e),e.props,t,r+t.indent,n,o,i),(0,zr.printChildren)(wu(e.props.children),t,r+t.indent,n,o,i),t,r);He.serialize=_u;var Cu=e=>e!=null&&et.isElement(e);He.test=Cu;var ny={serialize:_u,test:Cu},oy=ny;He.default=oy});var Su=p(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.test=Ve.serialize=Ve.default=void 0;var Kr=$r(),Gr=(function(){return typeof globalThis<"u"?globalThis:typeof Gr<"u"?Gr:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),Wa=Gr["jest-symbol-do-not-touch"]||Gr.Symbol,iy=typeof Wa=="function"&&Wa.for?Wa.for("react.test.json"):245830487,ay=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},Tu=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Kr.printElementAsLeaf)(e.type,t):(0,Kr.printElement)(e.type,e.props?(0,Kr.printProps)(ay(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Kr.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);Ve.serialize=Tu;var Ru=e=>e&&e.$$typeof===iy;Ve.test=Ru;var sy={serialize:Tu,test:Ru},ly=sy;Ve.default=ly});var Hu=p(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.default=Se.DEFAULT_OPTIONS=void 0;Se.format=$u;Se.plugins=void 0;var uy=ze(Fa()),er=$t(),cy=ze(Bl()),dy=ze(Wl()),py=ze(Ql()),fy=ze(iu()),my=ze(cu()),by=ze(Pu()),vy=ze(Su());function ze(e){return e&&e.__esModule?e:{default:e}}var Ou=Object.prototype.toString,yy=Date.prototype.toISOString,hy=Error.prototype.toString,xu=RegExp.prototype.toString,za=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",gy=e=>typeof window<"u"&&e===window,Ey=/^Symbol\((.*)\)(.*)$/,wy=/\n/gi,Xr=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function _y(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 Cy(e){return Object.is(e,-0)?"-0":String(e)}function Py(e){return`${e}n`}function qu(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function Au(e){return String(e).replace(Ey,"Symbol($1)")}function Mu(e){return"["+hy.call(e)+"]"}function Iu(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 Cy(e);if(o==="bigint")return Py(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return qu(e,t);if(o==="symbol")return Au(e);let i=Ou.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?qu(e,t):i==="[object Symbol]"?Au(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":yy.call(e):i==="[object Error]"?Mu(e):i==="[object RegExp]"?r?xu.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):xu.call(e):e instanceof Error?Mu(e):null}function Nu(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=Ou.call(e);return l==="[object Arguments]"?a?"[Arguments]":(s?"":"Arguments ")+"["+(0,er.printListItems)(e,t,r,n,o,We)+"]":_y(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||gy(e)?"["+za(e)+"]":(s||!t.printBasicPrototype&&za(e)==="Object"?"":za(e)+" ")+"{"+(0,er.printObjectProperties)(e,t,r,n,o,We)+"}"}function Ty(e){return e.serialize!=null}function Lu(e,t,r,n,o,i){let a;try{a=Ty(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(wy,`
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 Du(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=Du(t.plugins,e);if(a!==null)return Lu(a,e,t,r,n,o);let s=Iu(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:Nu(e,t,r,n,o,i)}var Ka={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Bu=Object.keys(Ka),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:Ka};Se.DEFAULT_OPTIONS=he;function Ry(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 Sy=e=>Bu.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Ka[r],o=n&&uy.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)),xy=()=>Bu.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),Fu=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:he.printFunctionName,Uu=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:he.escapeRegex,ju=e=>e&&e.escapeString!==void 0?e.escapeString:he.escapeString,ku=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:he.callToJSON,colors:e&&e.highlight?Sy(e):xy(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:he.compareKeys,escapeRegex:Uu(e),escapeString:ju(e),indent:e&&e.min?"":qy(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:Fu(e),spacingInner:e&&e.min?" ":`
4
4
  `,spacingOuter:e&&e.min?"":`
5
- `}};function Ay(e){return new Array(e+1).join(" ")}function ju(e,t){if(t&&(Sy(t),t.plugins)){let n=Du(t.plugins,e);if(n!==null)return Lu(n,e,ku(t),"",0,[])}let r=Iu(e,Fu(t),Uu(t),$u(t));return r!==null?r:Nu(e,ku(t),"",0,[])}var My={AsymmetricMatcher:dy.default,ConvertAnsi:py.default,DOMCollection:fy.default,DOMElement:my.default,Immutable:by.default,ReactElement:vy.default,ReactTestComponent:yy.default};Se.plugins=My;var ky=ju;Se.default=ky});var pc=p(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.default=void 0;function ch(){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 dh=ch;Zr.default=dh});var Ct=p(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});Qa.default=mh;var ph=fh(pc());function fh(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 mh(e,t){return typeof Symbol=="function"&&Xa(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:ph.default.bind(t)}),e}});var bc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;var bh=vh(Ct());function vh(e){return e&&e.__esModule?e:{default:e}}function Ja(e,t){return gh(e)||hh(e,t)||mc(e,t)||yh()}function yh(){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 hh(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 gh(e){if(Array.isArray(e))return e}function Eh(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.
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 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=[["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 Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Eh(Pt),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,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!!Ya.get(t)},keys:function(){return Pt.map(function(t){var r=Ja(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=Ja(t,2),n=r[1];return n})}},wh=(0,bh.default)(Ya,Ya.entries());en.default=wh});var hc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var _h=Ch(Ct());function Ch(e){return e&&e.__esModule?e:{default:e}}function Za(e,t){return Rh(e)||Th(e,t)||yc(e,t)||Ph()}function Ph(){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 Th(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 Rh(e){if(Array.isArray(e))return e}function Sh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=yc(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 yc(e,t){if(e){if(typeof e=="string")return vc(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 vc(e,t)}}function vc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Tt=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],es={entries:function(){return Tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Sh(Tt),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,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!!es.get(t)},keys:function(){return Tt.map(function(t){var r=Za(t,1),n=r[0];return n})},values:function(){return Tt.map(function(t){var r=Za(t,2),n=r[1];return n})}},xh=(0,_h.default)(es,es.entries());tn.default=xh});var gc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var qh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Ah=qh;rn.default=Ah});var Ec=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Mh={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"]]},kh=Mh;nn.default=kh});var wc=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var Oh={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"]]},Ih=Oh;on.default=Ih});var _c=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Nh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Lh=Nh;an.default=Lh});var Cc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Dh={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"]]},Bh=Dh;sn.default=Bh});var Pc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Fh={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:[]},Uh=Fh;ln.default=Uh});var Tc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var $h={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"]]},jh=$h;un.default=jh});var Rc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var Hh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Vh=Hh;cn.default=Vh});var Sc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var Wh={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"]]},zh=Wh;dn.default=zh});var xc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var Kh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Gh=Kh;pn.default=Gh});var qc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var Xh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Qh=Xh;fn.default=Qh});var Ac=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var Jh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Yh=Jh;mn.default=Yh});var Mc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var Zh=fe(gc()),eg=fe(Ec()),tg=fe(wc()),rg=fe(_c()),ng=fe(Cc()),og=fe(Pc()),ig=fe(Tc()),ag=fe(Rc()),sg=fe(Sc()),lg=fe(xc()),ug=fe(qc()),cg=fe(Ac());function fe(e){return e&&e.__esModule?e:{default:e}}var dg=[["command",Zh.default],["composite",eg.default],["input",tg.default],["landmark",rg.default],["range",ng.default],["roletype",og.default],["section",ig.default],["sectionhead",ag.default],["select",sg.default],["structure",lg.default],["widget",ug.default],["window",cg.default]],pg=dg;bn.default=pg});var kc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var fg={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"]]},mg=fg;vn.default=mg});var Oc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var bg={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"]]},vg=bg;yn.default=vg});var Ic=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var yg={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"]]},hg=yg;hn.default=hg});var Nc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var gg={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"]]},Eg=gg;gn.default=Eg});var Lc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var wg={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"]]},_g=wg;En.default=_g});var Dc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var Cg={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"]]},Pg=Cg;wn.default=Pg});var Bc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Tg={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"]]},Rg=Tg;_n.default=Rg});var Fc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var Sg={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"]]},xg=Sg;Cn.default=xg});var Uc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var qg={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"]]},Ag=qg;Pn.default=Ag});var $c=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Mg={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"]]},kg=Mg;Tn.default=kg});var jc=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var Og={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"]]},Ig=Og;Rn.default=Ig});var Hc=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Ng={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"]]},Lg=Ng;Sn.default=Lg});var Vc=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Dg={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"]]},Bg=Dg;xn.default=Bg});var Wc=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Fg={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"]]},Ug=Fg;qn.default=Ug});var zc=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var $g={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"]]},jg=$g;An.default=jg});var Kc=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var Hg={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"]]},Vg=Hg;Mn.default=Vg});var Gc=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var Wg={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"]]},zg=Wg;kn.default=zg});var Xc=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var Kg={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Gg=Kg;On.default=Gg});var Qc=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var Xg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Qg=Xg;In.default=Qg});var Jc=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var Jg={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"]]},Yg=Jg;Nn.default=Yg});var Yc=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var Zg={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"]]},eE=Zg;Ln.default=eE});var Zc=p(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.default=void 0;var tE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},rE=tE;Dn.default=rE});var ed=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var nE={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"]]},oE=nE;Bn.default=oE});var td=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var iE={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"]]},aE=iE;Fn.default=aE});var rd=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var sE={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"]]},lE=sE;Un.default=lE});var nd=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var uE={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"]]},cE=uE;$n.default=cE});var od=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var dE={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"]]},pE=dE;jn.default=pE});var id=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var fE={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"]]},mE=fE;Hn.default=mE});var ad=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var bE={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"]]},vE=bE;Vn.default=vE});var sd=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var yE={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"]]},hE=yE;Wn.default=hE});var ld=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var gE={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"]]},EE=gE;zn.default=EE});var ud=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var wE={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"]]},_E=wE;Kn.default=_E});var cd=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var CE={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"]]},PE=CE;Gn.default=PE});var dd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var TE={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"]]},RE=TE;Xn.default=RE});var pd=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var SE={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"]]},xE=SE;Qn.default=xE});var fd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var qE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AE=qE;Jn.default=AE});var md=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var ME={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"]]},kE=ME;Yn.default=kE});var bd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var OE={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"]]},IE=OE;Zn.default=IE});var vd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var NE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LE=NE;eo.default=LE});var yd=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var DE={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"]]},BE=DE;to.default=BE});var hd=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var FE={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"]]},UE=FE;ro.default=UE});var gd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var $E={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"]]},jE=$E;no.default=jE});var Ed=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.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,"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"]]},VE=HE;oo.default=VE});var wd=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var WE={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"]]},zE=WE;io.default=zE});var _d=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var KE={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"]]},GE=KE;ao.default=GE});var Cd=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var XE={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"]]},QE=XE;so.default=QE});var Pd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var JE={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"]]},YE=JE;lo.default=YE});var Td=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var ZE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},ew=ZE;uo.default=ew});var Rd=p(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var tw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},rw=tw;co.default=rw});var Sd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var nw={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"]]},ow=nw;po.default=ow});var xd=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var iw={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"]]},aw=iw;fo.default=aw});var qd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var sw={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"]]},lw=sw;mo.default=lw});var Ad=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var uw={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"]]},cw=uw;bo.default=cw});var Md=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var dw={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"]]},pw=dw;vo.default=pw});var kd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var fw={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"]]},mw=fw;yo.default=mw});var Od=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var bw={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"]]},vw=bw;ho.default=vw});var Id=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var yw={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"]]},hw=yw;go.default=hw});var Nd=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var gw={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"]]},Ew=gw;Eo.default=Ew});var Ld=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var ww={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"]]},_w=ww;wo.default=_w});var Dd=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var Cw={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"]]},Pw=Cw;_o.default=Pw});var Bd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Tw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Rw=Tw;Co.default=Rw});var Fd=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Sw={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"]]},xw=Sw;Po.default=xw});var Ud=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var qw={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"]]},Aw=qw;To.default=Aw});var $d=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Mw={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"]]},kw=Mw;Ro.default=kw});var jd=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var Ow={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"]]},Iw=Ow;So.default=Iw});var Hd=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Nw={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"]]},Lw=Nw;xo.default=Lw});var Vd=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Dw={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"]]},Bw=Dw;qo.default=Bw});var Wd=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Fw={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"]]},Uw=Fw;Ao.default=Uw});var zd=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var $w={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"]]},jw=$w;Mo.default=jw});var Kd=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var Hw={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"]]},Vw=Hw;ko.default=Vw});var Gd=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var Ww={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"]]},zw=Ww;Oo.default=zw});var Xd=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var Kw={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"]]},Gw=Kw;Io.default=Gw});var Qd=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var Xw={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"]]},Qw=Xw;No.default=Qw});var Jd=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var Jw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Yw=Jw;Lo.default=Yw});var Yd=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var Zw={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"]]},e_=Zw;Do.default=e_});var Zd=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var t_={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"]]},r_=t_;Bo.default=r_});var ep=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var n_={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"]]},o_=n_;Fo.default=o_});var tp=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var i_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},a_=i_;Uo.default=a_});var rp=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var s_={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"]]},l_=s_;$o.default=l_});var np=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var u_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},c_=u_;jo.default=c_});var op=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var d_={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"]]},p_=d_;Ho.default=p_});var ip=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var f_={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"]]},m_=f_;Vo.default=m_});var ap=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var b_={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"]]},v_=b_;Wo.default=v_});var sp=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var y_=_(kc()),h_=_(Oc()),g_=_(Ic()),E_=_(Nc()),w_=_(Lc()),__=_(Dc()),C_=_(Bc()),P_=_(Fc()),T_=_(Uc()),R_=_($c()),S_=_(jc()),x_=_(Hc()),q_=_(Vc()),A_=_(Wc()),M_=_(zc()),k_=_(Kc()),O_=_(Gc()),I_=_(Xc()),N_=_(Qc()),L_=_(Jc()),D_=_(Yc()),B_=_(Zc()),F_=_(ed()),U_=_(td()),$_=_(rd()),j_=_(nd()),H_=_(od()),V_=_(id()),W_=_(ad()),z_=_(sd()),K_=_(ld()),G_=_(ud()),X_=_(cd()),Q_=_(dd()),J_=_(pd()),Y_=_(fd()),Z_=_(md()),eC=_(bd()),tC=_(vd()),rC=_(yd()),nC=_(hd()),oC=_(gd()),iC=_(Ed()),aC=_(wd()),sC=_(_d()),lC=_(Cd()),uC=_(Pd()),cC=_(Td()),dC=_(Rd()),pC=_(Sd()),fC=_(xd()),mC=_(qd()),bC=_(Ad()),vC=_(Md()),yC=_(kd()),hC=_(Od()),gC=_(Id()),EC=_(Nd()),wC=_(Ld()),_C=_(Dd()),CC=_(Bd()),PC=_(Fd()),TC=_(Ud()),RC=_($d()),SC=_(jd()),xC=_(Hd()),qC=_(Vd()),AC=_(Wd()),MC=_(zd()),kC=_(Kd()),OC=_(Gd()),IC=_(Xd()),NC=_(Qd()),LC=_(Jd()),DC=_(Yd()),BC=_(Zd()),FC=_(ep()),UC=_(tp()),$C=_(rp()),jC=_(np()),HC=_(op()),VC=_(ip()),WC=_(ap());function _(e){return e&&e.__esModule?e:{default:e}}var zC=[["alert",y_.default],["alertdialog",h_.default],["application",g_.default],["article",E_.default],["banner",w_.default],["blockquote",__.default],["button",C_.default],["caption",P_.default],["cell",T_.default],["checkbox",R_.default],["code",S_.default],["columnheader",x_.default],["combobox",q_.default],["complementary",A_.default],["contentinfo",M_.default],["definition",k_.default],["deletion",O_.default],["dialog",I_.default],["directory",N_.default],["document",L_.default],["emphasis",D_.default],["feed",B_.default],["figure",F_.default],["form",U_.default],["generic",$_.default],["grid",j_.default],["gridcell",H_.default],["group",V_.default],["heading",W_.default],["img",z_.default],["insertion",K_.default],["link",G_.default],["list",X_.default],["listbox",Q_.default],["listitem",J_.default],["log",Y_.default],["main",Z_.default],["mark",eC.default],["marquee",tC.default],["math",rC.default],["menu",nC.default],["menubar",oC.default],["menuitem",iC.default],["menuitemcheckbox",aC.default],["menuitemradio",sC.default],["meter",lC.default],["navigation",uC.default],["none",cC.default],["note",dC.default],["option",pC.default],["paragraph",fC.default],["presentation",mC.default],["progressbar",bC.default],["radio",vC.default],["radiogroup",yC.default],["region",hC.default],["row",gC.default],["rowgroup",EC.default],["rowheader",wC.default],["scrollbar",_C.default],["search",CC.default],["searchbox",PC.default],["separator",TC.default],["slider",RC.default],["spinbutton",SC.default],["status",xC.default],["strong",qC.default],["subscript",AC.default],["superscript",MC.default],["switch",kC.default],["tab",OC.default],["table",IC.default],["tablist",NC.default],["tabpanel",LC.default],["term",DC.default],["textbox",BC.default],["time",FC.default],["timer",UC.default],["toolbar",$C.default],["tooltip",jC.default],["tree",HC.default],["treegrid",VC.default],["treeitem",WC.default]],KC=zC;zo.default=KC});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:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},XC=GC;Ko.default=XC});var up=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var QC={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"]]},JC=QC;Go.default=JC});var cp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var YC={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"]]},ZC=YC;Xo.default=ZC});var dp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var eP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},tP=eP;Qo.default=tP});var pp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var rP={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"]]},nP=rP;Jo.default=nP});var fp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var oP={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"]]},iP=oP;Yo.default=iP});var mp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var aP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sP=aP;Zo.default=sP});var bp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var lP={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"]]},uP=lP;ei.default=uP});var vp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},dP=cP;ti.default=dP});var yp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.default=void 0;var pP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fP=pP;ri.default=fP});var hp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.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:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},bP=mP;ni.default=bP});var gp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.default=void 0;var vP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},yP=vP;oi.default=yP});var Ep=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gP=hP;ii.default=gP});var wp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.default=void 0;var EP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},wP=EP;ai.default=wP});var _p=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.default=void 0;var _P={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"]]},CP=_P;si.default=CP});var Cp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.default=void 0;var PP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},TP=PP;li.default=TP});var Pp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.default=void 0;var RP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},SP=RP;ui.default=SP});var Tp=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:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qP=xP;ci.default=qP});var Rp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.default=void 0;var AP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},MP=AP;di.default=MP});var Sp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.default=void 0;var kP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},OP=kP;pi.default=OP});var xp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},NP=IP;fi.default=NP});var qp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.default=void 0;var LP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},DP=LP;mi.default=DP});var Ap=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.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:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},FP=BP;bi.default=FP});var Mp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},$P=UP;vi.default=$P});var kp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var jP={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"]]},HP=jP;yi.default=HP});var Op=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.default=void 0;var VP={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},WP=VP;hi.default=WP});var Ip=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.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:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},KP=zP;gi.default=KP});var Np=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var GP={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"]]},XP=GP;Ei.default=XP});var Lp=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.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:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},JP=QP;wi.default=JP});var Dp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var YP={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"]]},ZP=YP;_i.default=ZP});var Bp=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.default=void 0;var eT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},tT=eT;Ci.default=tT});var Fp=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var rT={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"]]},nT=rT;Pi.default=nT});var Up=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.default=void 0;var oT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},iT=oT;Ti.default=iT});var $p=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.default=void 0;var aT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sT=aT;Ri.default=sT});var jp=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var lT={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"]]},uT=lT;Si.default=uT});var Hp=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.default=void 0;var cT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dT=cT;xi.default=dT});var Vp=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var pT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},fT=pT;qi.default=fT});var Wp=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.default=void 0;var mT={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},bT=mT;Ai.default=bT});var zp=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var vT={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"]]},yT=vT;Mi.default=yT});var Kp=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var hT=k(lp()),gT=k(up()),ET=k(cp()),wT=k(dp()),_T=k(pp()),CT=k(fp()),PT=k(mp()),TT=k(bp()),RT=k(vp()),ST=k(yp()),xT=k(hp()),qT=k(gp()),AT=k(Ep()),MT=k(wp()),kT=k(_p()),OT=k(Cp()),IT=k(Pp()),NT=k(Tp()),LT=k(Rp()),DT=k(Sp()),BT=k(xp()),FT=k(qp()),UT=k(Ap()),$T=k(Mp()),jT=k(kp()),HT=k(Op()),VT=k(Ip()),WT=k(Np()),zT=k(Lp()),KT=k(Dp()),GT=k(Bp()),XT=k(Fp()),QT=k(Up()),JT=k($p()),YT=k(jp()),ZT=k(Hp()),eR=k(Vp()),tR=k(Wp()),rR=k(zp());function k(e){return e&&e.__esModule?e:{default:e}}var nR=[["doc-abstract",hT.default],["doc-acknowledgments",gT.default],["doc-afterword",ET.default],["doc-appendix",wT.default],["doc-backlink",_T.default],["doc-biblioentry",CT.default],["doc-bibliography",PT.default],["doc-biblioref",TT.default],["doc-chapter",RT.default],["doc-colophon",ST.default],["doc-conclusion",xT.default],["doc-cover",qT.default],["doc-credit",AT.default],["doc-credits",MT.default],["doc-dedication",kT.default],["doc-endnote",OT.default],["doc-endnotes",IT.default],["doc-epigraph",NT.default],["doc-epilogue",LT.default],["doc-errata",DT.default],["doc-example",BT.default],["doc-footnote",FT.default],["doc-foreword",UT.default],["doc-glossary",$T.default],["doc-glossref",jT.default],["doc-index",HT.default],["doc-introduction",VT.default],["doc-noteref",WT.default],["doc-notice",zT.default],["doc-pagebreak",KT.default],["doc-pagelist",GT.default],["doc-part",XT.default],["doc-preface",QT.default],["doc-prologue",JT.default],["doc-pullquote",YT.default],["doc-qna",ZT.default],["doc-subtitle",eR.default],["doc-tip",tR.default],["doc-toc",rR.default]],oR=nR;ki.default=oR});var Gp=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var iR={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"]]},aR=iR;Oi.default=aR});var Xp=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var sR={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"]]},lR=sR;Ii.default=lR});var Qp=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var uR={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"]]},cR=uR;Ni.default=cR});var Jp=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var dR=ts(Gp()),pR=ts(Xp()),fR=ts(Qp());function ts(e){return e&&e.__esModule?e:{default:e}}var mR=[["graphics-document",dR.default],["graphics-object",pR.default],["graphics-symbol",fR.default]],bR=mR;Li.default=bR});var Bi=p(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var vR=ar(Mc()),yR=ar(sp()),hR=ar(Kp()),gR=ar(Jp()),ER=ar(Ct());function ar(e){return e&&e.__esModule?e:{default:e}}function wR(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=Zp(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 PR(e)||CR(e,t)||Zp(e,t)||_R()}function _R(){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 Zp(e,t){if(e){if(typeof e=="string")return Yp(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 Yp(e,t)}}function Yp(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 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}var Ke=[].concat(vR.default,yR.default,hR.default,gR.default);Ke.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=Ke.find(function(T){var f=ir(T,1),g=f[0];return g===c});if(d)for(var m=d[1],y=0,P=Object.keys(m.props);y<P.length;y++){var C=P[y];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,wR({},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 ns={entries:function(){return Ke},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=rs(Ke),o;try{for(n.s();!(o=n.n()).done;){var i=ir(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ke)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ke.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ns.get(t)},keys:function(){return Ke.map(function(t){var r=ir(t,1),n=r[0];return n})},values:function(){return Ke.map(function(t){var r=ir(t,2),n=r[1];return n})}},TR=(0,ER.default)(ns,ns.entries());Di.default=TR});var rf=p(tf=>{var ef=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(ef.call(e,r)&&++n&&!ef.call(t,r)||!(r in t)||!os(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}tf.dequal=os});var cf=p(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var af=rf(),RR=lf(Ct()),sf=lf(Bi());function lf(e){return e&&e.__esModule?e:{default:e}}function is(e,t){return qR(e)||xR(e,t)||uf(e,t)||SR()}function SR(){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 xR(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 qR(e){if(Array.isArray(e))return e}function AR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=uf(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 uf(e,t){if(e){if(typeof e=="string")return nf(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 nf(e,t)}}function nf(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=[],of=sf.default.keys();for(Fi=0;Fi<of.length;Fi++)if(Ui=of[Fi],$i=sf.default.get(Ui),$i)for(as=[].concat($i.baseConcepts,$i.relatedConcepts),ji=0;ji<as.length;ji++)ss=as[ji],ss.module==="HTML"&&(function(){var e=ss.concept;if(e){var t=Ge.find(function(i){return(0,af.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,$i,as,ss,ji,Fi,ls={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=AR(Ge),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,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,af.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!ls.get(t)},keys:function(){return Ge.map(function(t){var r=is(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=is(t,2),n=r[1];return n})}},MR=(0,RR.default)(ls,ls.entries());Hi.default=MR});var vf=p(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.default=void 0;var kR=mf(Ct()),ff=mf(Bi());function mf(e){return e&&e.__esModule?e:{default:e}}function us(e,t){return NR(e)||IR(e,t)||bf(e,t)||OR()}function OR(){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 IR(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 NR(e){if(Array.isArray(e))return e}function LR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=bf(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 bf(e,t){if(e){if(typeof e=="string")return df(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 df(e,t)}}function df(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=[],pf=ff.default.keys();for(Vi=0;Vi<pf.length;Vi++)if(cs=pf[Vi],Wi=ff.default.get(cs),zi=[],Wi){for(ds=[].concat(Wi.baseConcepts,Wi.relatedConcepts),Ki=0;Ki<ds.length;Ki++)ps=ds[Ki],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,Ki,Vi,ms={entries:function(){return tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=LR(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})}},DR=(0,kR.default)(ms,ms.entries());Gi.default=DR});var yf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var BR=sr(bc()),FR=sr(hc()),UR=sr(Bi()),$R=sr(cf()),jR=sr(vf());function sr(e){return e&&e.__esModule?e:{default:e}}var HR=BR.default;me.aria=HR;var VR=FR.default;me.dom=VR;var WR=UR.default;me.roles=WR;var zR=$R.default;me.elementRoles=zR;var KR=jR.default;me.roleElements=KR});var hf=p((hI,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={},m={},y="",P="",C="",T=2,f=3,g=2,w=[],h=0,E=0,q;for(q=0;q<a.length;q+=1)if(y=a.charAt(q),Object.prototype.hasOwnProperty.call(d,y)||(d[y]=f++,m[y]=!0),P=C+y,Object.prototype.hasOwnProperty.call(d,P))C=P;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++),d[P]=f++,C=String(y)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++)}for(c=2,u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;for(;;)if(h=h<<1,E==s-1){w.push(l(h));break}else E++;return w.join("")},decompress:function(a){return a==null?"":a==""?null:i._decompress(a.length,32768,function(s){return a.charCodeAt(s)})},_decompress:function(a,s,l){var u=[],c,d=4,m=4,y=3,P="",C=[],T,f,g,w,h,E,q,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(g=0,h=Math.pow(2,2),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(c=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;q=e(g);break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;q=e(g);break;case 2:return""}for(u[3]=q,f=q,C.push(q);;){if(R.index>a)return"";for(g=0,h=Math.pow(2,y),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(q=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),q=m-1,d--;break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),q=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,y),y++),u[q])P=u[q];else if(q===m)P=f+f.charAt(0);else return null;C.push(P),u[m++]=f+P.charAt(0),d--,f=P,d==0&&(d=Math.pow(2,y),y++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return 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 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)`),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(b){return A("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await M(()=>r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return A("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return A("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await M(()=>r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return A("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return A("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await M(()=>r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return A("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return A("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await M(()=>n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return A("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await M(async()=>!await n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function y(b){return A("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await M(()=>r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be checked`)})}async function P(b){return A("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return A("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await M(()=>r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(b){return A("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,v){return A("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S===String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${S}"`)})}async function g(b,v){return A("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getValue()!==String(b),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function w(b,v){return A("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S.includes(String(b))),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${S}"`)})}async function h(b,v){return A("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getValue()).includes(String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function E(b,v){return A("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),b instanceof RegExp?b.test(S):S===String(b)||S.trim()===String(b).trim()),v?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${S}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${S}"`)})}async function q(b,v){return A("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>await r.isExisting()?(S=await r.getText(),b instanceof RegExp?!b.test(S):S!==String(b)&&S.trim()!==String(b).trim()):!1,v?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text not to match ${b}`):new Error(`Expected element "${o}" not to have text "${b}"`)})}async function R(b,v){return A("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),S.includes(String(b))),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${S}"`)})}async function H(b,v){return A("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getText()).includes(String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function B(b,v){return A("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await M(()=>n().hasClass(e,b,t),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function W(b,v){return A("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await M(async()=>!await n().hasClass(e,b,t),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,v,S){return A("assertion",{type:"assertion",key:"have.attr",target:e,args:v!==void 0?[b,v]:[b]},async()=>{let U=null;if(!await M(async()=>(U=await r.getAttribute(b),v!==void 0?U===String(v):U!==null),S?.timeoutMs??L()))throw v!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${v}", but got "${U}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function O(b,v){return A("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getAttribute(b)===null,v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function G(b,v,S){return A("assertion",{type:"assertion",key:"have.css",target:e,args:[b,v]},async()=>{let U=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),N="";if(!await M(async()=>(N=(await r.getCSSProperty(b)).value,U(N)===U(v)),S?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${v}", but got "${N}"`)})}async function J(b,v,S){return A("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,v]},async()=>{let U=pe=>String(pe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await M(async()=>{let pe=await r.getCSSProperty(b);return U(pe.value)!==U(v)},S?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${v}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:y,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:g,shouldContainValue:w,shouldNotContainValue:h,shouldHaveText:E,shouldNotHaveText:q,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:B,shouldNotHaveClass:W,shouldHaveAttribute:K,shouldNotHaveAttribute:O,shouldHaveCss:G,shouldNotHaveCss:J}}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 m(){return await d()}async function y(){return await r().isFocused(e,t)}async function P(g){return await r().getAttribute(e,g,t)}async function C(g){return await r().getCSSProperty(e,g,t)}async function T(g){let w=g??xr();if(await M(async()=>r().isExisting(e,t),w))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(g={}){let w=g.timeout||5e3,h=Date.now();for(;Date.now()-h<w;){if(await r().isDisplayed(e,t))return!0;await new Promise(E=>setTimeout(E,20))}throw new Error(`Element ${n} not displayed after ${w}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:y,getAttribute:P,getCSSProperty:C,waitForElement:T,waitForDisplayed:f}}function 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 A("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s===i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return A("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s!==i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return A("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s>i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return A("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s<i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return A("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a===0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return A("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a>0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return ue(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function ll(e){return typeof e=="string"?e:e.selector}function sl(e,t){let r=()=>Pe();async function n(v){return A("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return A("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return A("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(v){return A("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await r().setValue(e,v,t)})}async function s(v,S){S?.clearFirst&&await l(),await a(v)}async function l(){return A("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(v){return A("action",{type:"action",key:"select",target:e,args:[v]},async()=>{await r().select(e,v,t)})}async function d(v){await c(v)}async function m(){return A("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function y(){return A("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function P(){return A("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(v){return A("action",{type:"action",key:"waitForElementRemoved",target:e,args:[v??5e3]},async()=>{if(!await M(async()=>!await r().isExisting(e,t),v??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(ll(e)))})}async function T(v){return A("action",{type:"action",key:"waitForUndisplayed",target:e,args:[v?.timeout??5e3]},async()=>{if(!await M(async()=>!await r().isDisplayed(e,t),v?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(ll(e)))})}async function f(v){return A("action",{type:"action",key:"waitForClickable",target:e,args:[v?.timeout??5e3]},async()=>await M(async()=>await r().isClickable(e,t),v?.timeout??5e3))}async function g(){return A("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function w(){let v=typeof e=="string"?e:e.selector,S=typeof e=="string"?t:e.index;return S==null?v:`${v}::nth(${S})`}function h(){return ue(w()+"::parent",null)}async function E(v){return A("action",{type:"action",key:"closest",target:e,args:[v]},async()=>await r().closest(e,v,t)?ue(`${w()}::closest(${v})`,null):null)}function q(v){return Te(`${w()}::children(${v??""})`)}function R(v){return Te(`${w()}::siblings(${v??""})`)}function H(v){return ue(`${w()}::next(${v??""})`,null)}async function B(){await m()}async function W(v){let S=typeof v=="string"?v:v?.selector||String(v);return A("action",{type:"action",key:"dragDrop",target:e,args:[S]},async()=>{await r().dragDrop(e,S,t)})}async function K(v){await W(v)}async function O(v){let S=typeof v=="number"?v:v?.duration||1e3;return A("action",{type:"action",key:"longPress",target:e,args:[S]},async()=>{await r().longPress(e,S,t)})}async function G(){return A("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function J(v){return A("action",{type:"action",key:"upload",target:e,args:[v]},async()=>{await r().upload(e,v,t)})}async function b(v){await J(v)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:y,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:g,parent:h,closest:E,children:q,siblings:R,next:H,moveTo:B,dragDrop:W,dragAndDrop:K,longPress:O,scrollIntoView:G,upload:J,uploadFile:b}}var Lb={Backspace:{code:"Backspace",windowsVirtualKeyCode:8},Tab:{code:"Tab",windowsVirtualKeyCode:9},Enter:{code:"Enter",windowsVirtualKeyCode:13,text:"\r"},Escape:{code:"Escape",windowsVirtualKeyCode:27},Delete:{code:"Delete",windowsVirtualKeyCode:46},ArrowLeft:{code:"ArrowLeft",windowsVirtualKeyCode:37},ArrowUp:{code:"ArrowUp",windowsVirtualKeyCode:38},ArrowRight:{code:"ArrowRight",windowsVirtualKeyCode:39},ArrowDown:{code:"ArrowDown",windowsVirtualKeyCode:40},Home:{code:"Home",windowsVirtualKeyCode:36},End:{code:"End",windowsVirtualKeyCode:35},PageUp:{code:"PageUp",windowsVirtualKeyCode:33},PageDown:{code:"PageDown",windowsVirtualKeyCode:34}," ":{code:"Space",windowsVirtualKeyCode:32,text:" "},Space:{code:"Space",windowsVirtualKeyCode:32,text:" "}};function Db(e){if(/^[a-zA-Z]$/.test(e))return`Key${e.toUpperCase()}`;if(/^[0-9]$/.test(e))return`Digit${e}`}function ul(e){if(typeof e!="string")return null;if(e==="Space")return{key:" ",code:"Space",windowsVirtualKeyCode:32,text:" "};let t=Lb[e];return t?{key:e,...t}:e.length===1?{key:e,code:Db(e),windowsVirtualKeyCode:e.toUpperCase().charCodeAt(0),text:e}:null}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 Dt(e){if(e.respondOnceQueue.length>0){let t=e.respondOnceQueue.shift();return{body:t.response,statusCode:t.statusCode||e.statusCode||200,headers:{...e.headers,...t.headers},delayMs:t.delayMs??e.delayMs}}return{body:e.response,statusCode:e.statusCode||200,headers:{...e.headers},delayMs:e.delayMs}}var Bb={"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(Bb))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Bt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function cl(e){let t=/^(.*)::nth\((-?\d+)\)$/.exec(e);if(t)return{kind:"nth",base:t[1],arg:t[2]};let r=/^(.*)::closest\((.+)\)$/.exec(e);if(r)return{kind:"closest",base:r[1],arg:r[2]};let n=/^(.*)::children\((.*)\)$/.exec(e);if(n)return{kind:"children",base:n[1],arg:n[2].trim()||null};let o=/^(.*)::children$/.exec(e);if(o)return{kind:"children",base:o[1],arg:null};let i=/^(.*)::siblings\((.*)\)$/.exec(e);if(i)return{kind:"siblings",base:i[1],arg:i[2].trim()||null};let a=/^(.*)::siblings$/.exec(e);if(a)return{kind:"siblings",base:a[1],arg:null};let s=/^(.*)::next\((.*)\)$/.exec(e);if(s)return{kind:"next",base:s[1],arg:s[2].trim()||null};let l=/^(.*)::next$/.exec(e);if(l)return{kind:"next",base:l[1],arg:null};let u=/^(.*)::parent$/.exec(e);return u?{kind:"parent",base:u[1]}:null}function 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 dl(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 pl(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 Fb=new Set(["mount","unmount","registerCommand","registerCommands"]),Ub=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function fl(){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(!Ub.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(Fb.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 ml(){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 $b=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 $b}function jb(){return Math.min(ka(),2e3)}async function Hb(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=ml();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 Vb(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:ml()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:kr,trackStep:Hb,pollCondition:Vb,getImplicitWaitMs:ka,getAssertionTimeoutMs:jb,matchesUrlPattern:Aa,createMockHandle:qr,parseMockRule:Ar,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Dt,mergeMockResponseHeaders:Mr,mockResponseBodyText:Bt,createElementProxy:ue,createCollectionProxy:Te,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var bl=new Set;async function vl(e,t=[],r,n={platform:"web"}){for(let o of t)if(!bl.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.`),bl.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function Wb(){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 yl=new Map;async function Or(e){let t=yl.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 yl.set(e,r),r}async function Oa(e){let t=e??Wb();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:([^;,]+)/,y=>`${y};name=${encodeURIComponent(c)}`)),n[l.name]=m}catch{n[l.name]=u}}}globalThis.Fixture=n;let i={},a=t.steps??[];for(let l of a){let u=l.path??l.file_path;if(u){let c=await Or(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=zb();s.length>0&&globalThis.Spectra&&await vl(globalThis.Spectra,s,Or,{platform:"web"})}function zb(){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 x(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function V(e){var t;if(Kb(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 ${Gb(e)}`)}function Kb(e){return e.nodeType===9}function Gb(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 hl(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],hl(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=hl(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 Xb(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 vt(e,t=[]){let r=typeof e.DataTransfer>"u"?Xb(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(e,t)}),r}async function gl(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function wl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(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){wl(this,"data",void 0),this.data=o}}(r)}var yt=Symbol("Manage ClipboardSub");function El(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=[_l(e,n)]}constructor(...n){super(...n),wl(this,"items",[])}},{[yt]:t})}function Da(e){return!!e?.[yt]}function Cl(e){if(Da(e.navigator.clipboard))return e.navigator.clipboard[yt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=El(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=El(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[yt]}function Qb(e){Da(e.navigator.clipboard)&&e.navigator.clipboard[yt].resetClipboardStub()}function Jb(e){Da(e.navigator.clipboard)&&e.navigator.clipboard[yt].detachClipboardStub()}async function Pl(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=vt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>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 gl(r,s);o.push(_l(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"&&Qb(globalThis.window)});typeof Nr.afterAll=="function"&&Nr.afterAll(()=>{typeof globalThis.window<"u"&&Jb(globalThis.window)});var Dr=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])","details > summary"].join(", ");function $t(e){return e.matches(Dr)}function Tl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(x(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(x(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Le(e){let t=e.activeElement;if(t?.shadowRoot){let r=Le(t.shadowRoot);if(r)return r}else if(t&&x(t,"iframe")){let r=t.contentDocument;if(r)return Le(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ht(e){var t;return(t=Le(e))!==null&&t!==void 0?t:e.body}function Rl(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ce(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function De(e){let t=Yb(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Yb(e){return e.nodeType===1?e:e.parentElement}var Sl=(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})(Sl||{});function Br(e){return x(e,"button")||x(e,"input")&&e.type in Sl}function ve(e){return Ba(e)&&!e.readOnly||ce(e)}var xl=(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})(xl||{});function Ba(e){return x(e,"textarea")||x(e,"input")&&e.type in xl}function X(e){return Al(e)&&Ba(e)}function ql(e){return Al(e)&&Br(e)}function Al(e){return e.nodeType===1}function Ml(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=De(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function 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(Hu());var Oy=Object.prototype.toString;function Vu(e){return typeof e=="function"||Oy.call(e)==="[object Function]"}function Iy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Ny=Math.pow(2,53)-1;function Ly(e){var t=Iy(e);return Math.min(Math.max(t,0),Ny)}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"&&!Vu(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Ly(n.length),i=Vu(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 Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(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,zu(n.key),n)}}function By(e,t,r){return t&&Wu(e.prototype,t),r&&Wu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Fy(e,t,r){return t=zu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){var t=Uy(e,"string");return tr(t)==="symbol"?t:String(t)}function Uy(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 $y=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Dy(this,e),Fy(this,"items",void 0),this.items=t}return By(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})(),Ku=typeof Set>"u"?Set:$y;function Q(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var jy={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"},Hy={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 Vy(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=Hy[t])!==null&&n!==void 0&&n.has(r))})}function Gu(e,t){return Vy(e,t)}function Qr(e){var t=zy(e);if(t===null||t==="presentation"){var r=Wy(e);if(t!=="presentation"||Gu(e,r||""))return r}return t}function Wy(e){var t=jy[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 zy(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 Xu(e){return $(e)&&Q(e)==="optgroup"}function Qu(e){return $(e)&&Q(e)==="select"}function Ju(e){return $(e)&&Q(e)==="table"}function Yu(e){return $(e)&&Q(e)==="textarea"}function Zu(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function ec(e){return $(e)&&Q(e)==="fieldset"}function tc(e){return $(e)&&Q(e)==="legend"}function rc(e){return $(e)&&Q(e)==="slot"}function Ky(e){return $(e)&&e.ownerSVGElement!==void 0}function nc(e){return $(e)&&Q(e)==="svg"}function oc(e){return Ky(e)&&Q(e)==="title"}function _t(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 Gy(e){return e.trim().replace(/\s\s+/g," ")}function Xy(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 Qy(e){return ge(e,["button","combobox","listbox","textbox"])||sc(e,"range")}function sc(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 ic(e,t){var r=de(e.querySelectorAll(t));return _t(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function Jy(e){return Qu(e)?e.selectedOptions||ic(e,"[selected]"):ic(e,'[aria-selected="true"]')}function Yy(e){return ge(e,["none","presentation"])}function Zy(e){return Ga(e)}function eh(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 th(e){return!1}function rh(e){return rr(e)||Yu(e)?e.value:e.textContent||""}function ac(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function lc(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 uc(e){if(lc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&$(r)){var n=uc(r);n!==null&&(t=n)}}),t}function nh(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):uc(e)}function oh(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!lc(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return nh(n)===e})}function ih(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 Ku,n=Zu(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function m(f,g){var w="";if($(f)&&s){var h=u(f,"::before"),E=ac(h);w="".concat(E," ").concat(w)}var q=rc(f)?ih(f):de(f.childNodes).concat(_t(f,"aria-owns"));if(q.forEach(function(B){var W=T(B,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=$(B)?u(B).getPropertyValue("display"):"inline",O=K!=="inline"?" ":"";w+="".concat(O).concat(W).concat(O)}),$(f)&&s){var R=u(f,"::after"),H=ac(R);w="".concat(w," ").concat(H)}return w.trim()}function y(f,g){var w=f.getAttributeNode(g);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function P(f){return $(f)?y(f,"title"):null}function C(f){if(!$(f))return null;if(ec(f)){r.add(f);for(var g=de(f.childNodes),w=0;w<g.length;w+=1){var h=g[w];if(tc(h))return T(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ju(f)){r.add(f);for(var E=de(f.childNodes),q=0;q<E.length;q+=1){var R=E[q];if(Ga(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nc(f)){r.add(f);for(var H=de(f.childNodes),B=0;B<H.length;B+=1){var W=H[B];if(oc(W))return W.textContent}return null}else if(Q(f)==="img"||Q(f)==="area"){var K=y(f,"alt");if(K!==null)return K}else if(Xu(f)){var O=y(f,"label");if(O!==null)return O}if(rr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var G=y(f,"value");if(G!==null)return G;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var J=oh(f);if(J!==null&&J.length!==0)return r.add(f),de(J).map(function(U){return T(U,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(U){return U.length>0}).join(" ");if(rr(f)&&f.type==="image"){var b=y(f,"alt");if(b!==null)return b;var v=y(f,"title");return v!==null?v:"Submit Query"}if(ge(f,["button"])){var S=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(S!=="")return S}return null}function T(f,g){if(r.has(f))return"";if(!d&&Xy(f,u)&&!g.isReferenced)return r.add(f),"";var w=$(f)?f.getAttributeNode("aria-labelledby"):null,h=w!==null&&!r.has(w)?_t(f,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&h.length>0)return r.add(w),h.map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&Qy(f)&&i==="name";if(!E){var q=($(f)&&f.getAttribute("aria-label")||"").trim();if(q!==""&&i==="name")return r.add(f),q;if(!Yy(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=Jy(f);return H.length===0?rr(f)?f.value:"":de(H).map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(sc(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),rh(f)}if(eh(f)||$(f)&&g.isReferenced||Zy(f)||th(f)){var B=m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(B!=="")return r.add(f),B}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(g.recursion)return r.add(f),m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var W=P(f);return W!==null?(r.add(f),W):(r.add(f),"")}return Gy(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 cc(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 dc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cc(Object(r),!0).forEach(function(n){ah(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ah(e,t,r){return t=sh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sh(e){var t=lh(e,"string");return nr(t)==="symbol"?t:String(t)}function lh(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=_t(e,"aria-describedby").map(function(o){return Jr(o,dc(dc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function uh(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 uh(e)?"":Jr(e,t)}var oe=xa(yf()),Tf=xa(hf());function Rf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var GR=(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("")},XR=3,QR=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?Sf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==XR?"":t.spacingOuter+r+s}).join(""),Sf=(e,t)=>{let r=t.colors.content;return r.open+Rf(e)+r.close},JR=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Rf(e)+"-->"+r.close},YR=(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},ZR=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},e0=1,xf=3,qf=8,Af=11,t0=/^((HTML|SVG)\w*)?Element$/,Mf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},r0=e=>{let t=e.constructor.name,r=e.nodeType;return r===e0&&(t0.test(t)||Mf(e))||r===xf&&t==="Text"||r===qf&&t==="Comment"||r===Af&&t==="DocumentFragment"};function n0(e){return e.nodeType===xf}function o0(e){return e.nodeType===qf}function vs(e){return e.nodeType===Af}function i0(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Mf(t))&&r0(t)},serialize:(t,r,n,o,i,a)=>{if(n0(t))return Sf(t.data,r);if(o0(t))return JR(t.data,r);let s=vs(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?ZR(s,r):YR(s,GR(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),QR(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var kf=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,kf=e.call(module,"picocolors")}catch{}function a0(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 kf.dim(n)+`
5
+ `}};function qy(e){return new Array(e+1).join(" ")}function $u(e,t){if(t&&(Ry(t),t.plugins)){let n=Du(t.plugins,e);if(n!==null)return Lu(n,e,ku(t),"",0,[])}let r=Iu(e,Fu(t),Uu(t),ju(t));return r!==null?r:Nu(e,ku(t),"",0,[])}var Ay={AsymmetricMatcher:cy.default,ConvertAnsi:dy.default,DOMCollection:py.default,DOMElement:fy.default,Immutable:my.default,ReactElement:by.default,ReactTestComponent:vy.default};Se.plugins=Ay;var My=$u;Se.default=My});var pc=p(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.default=void 0;function uh(){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 ch=uh;Zr.default=ch});var Ct=p(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});Qa.default=fh;var dh=ph(pc());function ph(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 fh(e,t){return typeof Symbol=="function"&&Xa(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:dh.default.bind(t)}),e}});var bc=p(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=void 0;var mh=bh(Ct());function bh(e){return e&&e.__esModule?e:{default:e}}function Ja(e,t){return hh(e)||yh(e,t)||mc(e,t)||vh()}function vh(){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 yh(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 hh(e){if(Array.isArray(e))return e}function gh(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.
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 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=[["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 Pt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=gh(Pt),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,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!!Ya.get(t)},keys:function(){return Pt.map(function(t){var r=Ja(t,1),n=r[0];return n})},values:function(){return Pt.map(function(t){var r=Ja(t,2),n=r[1];return n})}},Eh=(0,mh.default)(Ya,Ya.entries());en.default=Eh});var hc=p(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=void 0;var wh=_h(Ct());function _h(e){return e&&e.__esModule?e:{default:e}}function Za(e,t){return Th(e)||Ph(e,t)||yc(e,t)||Ch()}function Ch(){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 Ph(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 Th(e){if(Array.isArray(e))return e}function Rh(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=yc(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 yc(e,t){if(e){if(typeof e=="string")return vc(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 vc(e,t)}}function vc(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Tt=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],es={entries:function(){return Tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Rh(Tt),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,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!!es.get(t)},keys:function(){return Tt.map(function(t){var r=Za(t,1),n=r[0];return n})},values:function(){return Tt.map(function(t){var r=Za(t,2),n=r[1];return n})}},Sh=(0,wh.default)(es,es.entries());tn.default=Sh});var gc=p(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=void 0;var xh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},qh=xh;rn.default=qh});var Ec=p(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=void 0;var Ah={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"]]},Mh=Ah;nn.default=Mh});var wc=p(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=void 0;var kh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Oh=kh;on.default=Oh});var _c=p(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=void 0;var Ih={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Nh=Ih;an.default=Nh});var Cc=p(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=void 0;var Lh={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"]]},Dh=Lh;sn.default=Dh});var Pc=p(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var Bh={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:[]},Fh=Bh;ln.default=Fh});var Tc=p(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=void 0;var Uh={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"]]},jh=Uh;un.default=jh});var Rc=p(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=void 0;var $h={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Hh=$h;cn.default=Hh});var Sc=p(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=void 0;var Vh={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"]]},Wh=Vh;dn.default=Wh});var xc=p(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=void 0;var zh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Kh=zh;pn.default=Kh});var qc=p(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=void 0;var Gh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Xh=Gh;fn.default=Xh});var Ac=p(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=void 0;var Qh={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Jh=Qh;mn.default=Jh});var Mc=p(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=void 0;var Yh=fe(gc()),Zh=fe(Ec()),eg=fe(wc()),tg=fe(_c()),rg=fe(Cc()),ng=fe(Pc()),og=fe(Tc()),ig=fe(Rc()),ag=fe(Sc()),sg=fe(xc()),lg=fe(qc()),ug=fe(Ac());function fe(e){return e&&e.__esModule?e:{default:e}}var cg=[["command",Yh.default],["composite",Zh.default],["input",eg.default],["landmark",tg.default],["range",rg.default],["roletype",ng.default],["section",og.default],["sectionhead",ig.default],["select",ag.default],["structure",sg.default],["widget",lg.default],["window",ug.default]],dg=cg;bn.default=dg});var kc=p(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=void 0;var pg={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"]]},fg=pg;vn.default=fg});var Oc=p(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=void 0;var mg={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"]]},bg=mg;yn.default=bg});var Ic=p(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=void 0;var vg={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"]]},yg=vg;hn.default=yg});var Nc=p(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=void 0;var hg={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"]]},gg=hg;gn.default=gg});var Lc=p(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=void 0;var Eg={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"]]},wg=Eg;En.default=wg});var Dc=p(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.default=void 0;var _g={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"]]},Cg=_g;wn.default=Cg});var Bc=p(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.default=void 0;var Pg={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"]]},Tg=Pg;_n.default=Tg});var Fc=p(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=void 0;var Rg={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"]]},Sg=Rg;Cn.default=Sg});var Uc=p(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=void 0;var xg={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"]]},qg=xg;Pn.default=qg});var jc=p(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=void 0;var Ag={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"]]},Mg=Ag;Tn.default=Mg});var $c=p(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.default=void 0;var kg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Og=kg;Rn.default=Og});var Hc=p(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=void 0;var Ig={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"]]},Ng=Ig;Sn.default=Ng});var Vc=p(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=void 0;var Lg={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"]]},Dg=Lg;xn.default=Dg});var Wc=p(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=void 0;var Bg={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"]]},Fg=Bg;qn.default=Fg});var zc=p(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=void 0;var Ug={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"]]},jg=Ug;An.default=jg});var Kc=p(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=void 0;var $g={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"]]},Hg=$g;Mn.default=Hg});var Gc=p(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=void 0;var Vg={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"]]},Wg=Vg;kn.default=Wg});var Xc=p(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=void 0;var zg={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Kg=zg;On.default=Kg});var Qc=p(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=void 0;var Gg={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Xg=Gg;In.default=Xg});var Jc=p(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.default=void 0;var Qg={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"]]},Jg=Qg;Nn.default=Jg});var Yc=p(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=void 0;var Yg={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"]]},Zg=Yg;Ln.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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},tE=eE;Dn.default=tE});var ed=p(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;var rE={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"]]},nE=rE;Bn.default=nE});var td=p(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var oE={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"]]},iE=oE;Fn.default=iE});var rd=p(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var aE={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"]]},sE=aE;Un.default=sE});var nd=p(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var lE={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"]]},uE=lE;jn.default=uE});var od=p($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=void 0;var cE={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"]]},dE=cE;$n.default=dE});var id=p(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var pE={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"]]},fE=pE;Hn.default=fE});var ad=p(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var mE={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"]]},bE=mE;Vn.default=bE});var sd=p(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var vE={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"]]},yE=vE;Wn.default=yE});var ld=p(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var hE={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"]]},gE=hE;zn.default=gE});var ud=p(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var EE={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"]]},wE=EE;Kn.default=wE});var cd=p(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var _E={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"]]},CE=_E;Gn.default=CE});var dd=p(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var PE={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"]]},TE=PE;Xn.default=TE});var pd=p(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var RE={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"]]},SE=RE;Qn.default=SE});var fd=p(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var xE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},qE=xE;Jn.default=qE});var md=p(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var AE={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"]]},ME=AE;Yn.default=ME});var bd=p(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var kE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OE=kE;Zn.default=OE});var vd=p(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var IE={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},NE=IE;eo.default=NE});var yd=p(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var LE={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"]]},DE=LE;to.default=DE});var hd=p(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var BE={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"]]},FE=BE;ro.default=FE});var gd=p(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var UE={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"]]},jE=UE;no.default=jE});var Ed=p(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var $E={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"]]},HE=$E;oo.default=HE});var wd=p(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.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"],["roletype","widget","command","menuitem"]]},WE=VE;io.default=WE});var _d=p(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var zE={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"]]},KE=zE;ao.default=KE});var Cd=p(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var GE={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"]]},XE=GE;so.default=XE});var Pd=p(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var QE={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"]]},JE=QE;lo.default=JE});var Td=p(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var YE={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},ZE=YE;uo.default=ZE});var Rd=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"]]},tw=ew;co.default=tw});var Sd=p(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var rw={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"]]},nw=rw;po.default=nw});var xd=p(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var ow={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"]]},iw=ow;fo.default=iw});var qd=p(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var aw={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"]]},sw=aw;mo.default=sw});var Ad=p(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var lw={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"]]},uw=lw;bo.default=uw});var Md=p(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var cw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","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"]]},dw=cw;vo.default=dw});var kd=p(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var pw={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"]]},fw=pw;yo.default=fw});var Od=p(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var mw={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"]]},bw=mw;ho.default=bw});var Id=p(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var vw={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"]]},yw=vw;go.default=yw});var Nd=p(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var hw={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"]]},gw=hw;Eo.default=gw});var Ld=p(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var Ew={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"]]},ww=Ew;wo.default=ww});var Dd=p(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var _w={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"]]},Cw=_w;_o.default=Cw});var Bd=p(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var Pw={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Tw=Pw;Co.default=Tw});var Fd=p(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var Rw={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"]]},Sw=Rw;Po.default=Sw});var Ud=p(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var xw={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"]]},qw=xw;To.default=qw});var jd=p(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var Aw={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"]]},Mw=Aw;Ro.default=Mw});var $d=p(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var kw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},Ow=kw;So.default=Ow});var Hd=p(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var Iw={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"]]},Nw=Iw;xo.default=Nw});var Vd=p(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var Lw={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"]]},Dw=Lw;qo.default=Dw});var Wd=p(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var Bw={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"]]},Fw=Bw;Ao.default=Fw});var zd=p(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var Uw={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"]]},jw=Uw;Mo.default=jw});var Kd=p(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var $w={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"]]},Hw=$w;ko.default=Hw});var Gd=p(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var Vw={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"]]},Ww=Vw;Oo.default=Ww});var Xd=p(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var zw={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"]]},Kw=zw;Io.default=Kw});var Qd=p(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var Gw={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"]]},Xw=Gw;No.default=Xw});var Jd=p(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var Qw={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Jw=Qw;Lo.default=Jw});var Yd=p(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var Yw={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"]]},Zw=Yw;Do.default=Zw});var Zd=p(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var e_={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"]]},t_=e_;Bo.default=t_});var ep=p(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var r_={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"]]},n_=r_;Fo.default=n_});var tp=p(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var o_={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},i_=o_;Uo.default=i_});var rp=p(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var a_={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"]]},s_=a_;jo.default=s_});var np=p($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var l_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},u_=l_;$o.default=u_});var op=p(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var c_={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],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"]]},d_=c_;Ho.default=d_});var ip=p(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var p_={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"]]},f_=p_;Vo.default=f_});var ap=p(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var m_={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"]]},b_=m_;Wo.default=b_});var sp=p(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var v_=_(kc()),y_=_(Oc()),h_=_(Ic()),g_=_(Nc()),E_=_(Lc()),w_=_(Dc()),__=_(Bc()),C_=_(Fc()),P_=_(Uc()),T_=_(jc()),R_=_($c()),S_=_(Hc()),x_=_(Vc()),q_=_(Wc()),A_=_(zc()),M_=_(Kc()),k_=_(Gc()),O_=_(Xc()),I_=_(Qc()),N_=_(Jc()),L_=_(Yc()),D_=_(Zc()),B_=_(ed()),F_=_(td()),U_=_(rd()),j_=_(nd()),$_=_(od()),H_=_(id()),V_=_(ad()),W_=_(sd()),z_=_(ld()),K_=_(ud()),G_=_(cd()),X_=_(dd()),Q_=_(pd()),J_=_(fd()),Y_=_(md()),Z_=_(bd()),eC=_(vd()),tC=_(yd()),rC=_(hd()),nC=_(gd()),oC=_(Ed()),iC=_(wd()),aC=_(_d()),sC=_(Cd()),lC=_(Pd()),uC=_(Td()),cC=_(Rd()),dC=_(Sd()),pC=_(xd()),fC=_(qd()),mC=_(Ad()),bC=_(Md()),vC=_(kd()),yC=_(Od()),hC=_(Id()),gC=_(Nd()),EC=_(Ld()),wC=_(Dd()),_C=_(Bd()),CC=_(Fd()),PC=_(Ud()),TC=_(jd()),RC=_($d()),SC=_(Hd()),xC=_(Vd()),qC=_(Wd()),AC=_(zd()),MC=_(Kd()),kC=_(Gd()),OC=_(Xd()),IC=_(Qd()),NC=_(Jd()),LC=_(Yd()),DC=_(Zd()),BC=_(ep()),FC=_(tp()),UC=_(rp()),jC=_(np()),$C=_(op()),HC=_(ip()),VC=_(ap());function _(e){return e&&e.__esModule?e:{default:e}}var WC=[["alert",v_.default],["alertdialog",y_.default],["application",h_.default],["article",g_.default],["banner",E_.default],["blockquote",w_.default],["button",__.default],["caption",C_.default],["cell",P_.default],["checkbox",T_.default],["code",R_.default],["columnheader",S_.default],["combobox",x_.default],["complementary",q_.default],["contentinfo",A_.default],["definition",M_.default],["deletion",k_.default],["dialog",O_.default],["directory",I_.default],["document",N_.default],["emphasis",L_.default],["feed",D_.default],["figure",B_.default],["form",F_.default],["generic",U_.default],["grid",j_.default],["gridcell",$_.default],["group",H_.default],["heading",V_.default],["img",W_.default],["insertion",z_.default],["link",K_.default],["list",G_.default],["listbox",X_.default],["listitem",Q_.default],["log",J_.default],["main",Y_.default],["mark",Z_.default],["marquee",eC.default],["math",tC.default],["menu",rC.default],["menubar",nC.default],["menuitem",oC.default],["menuitemcheckbox",iC.default],["menuitemradio",aC.default],["meter",sC.default],["navigation",lC.default],["none",uC.default],["note",cC.default],["option",dC.default],["paragraph",pC.default],["presentation",fC.default],["progressbar",mC.default],["radio",bC.default],["radiogroup",vC.default],["region",yC.default],["row",hC.default],["rowgroup",gC.default],["rowheader",EC.default],["scrollbar",wC.default],["search",_C.default],["searchbox",CC.default],["separator",PC.default],["slider",TC.default],["spinbutton",RC.default],["status",SC.default],["strong",xC.default],["subscript",qC.default],["superscript",AC.default],["switch",MC.default],["tab",kC.default],["table",OC.default],["tablist",IC.default],["tabpanel",NC.default],["term",LC.default],["textbox",DC.default],["time",BC.default],["timer",FC.default],["toolbar",UC.default],["tooltip",jC.default],["tree",$C.default],["treegrid",HC.default],["treeitem",VC.default]],zC=WC;zo.default=zC});var lp=p(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var KC={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"]]},GC=KC;Ko.default=GC});var up=p(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.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:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},QC=XC;Go.default=QC});var cp=p(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.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:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},YC=JC;Xo.default=YC});var dp=p(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var ZC={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"]]},eP=ZC;Qo.default=eP});var pp=p(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var tP={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"]]},rP=tP;Jo.default=rP});var fp=p(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var nP={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"]]},oP=nP;Yo.default=oP});var mp=p(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.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:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aP=iP;Zo.default=aP});var bp=p(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.default=void 0;var sP={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"]]},lP=sP;ei.default=lP});var vp=p(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.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:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cP=uP;ti.default=cP});var yp=p(ri=>{"use strict";Object.defineProperty(ri,"__esModule",{value:!0});ri.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:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pP=dP;ri.default=pP});var hp=p(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.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:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mP=fP;ni.default=mP});var gp=p(oi=>{"use strict";Object.defineProperty(oi,"__esModule",{value:!0});oi.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:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},vP=bP;oi.default=vP});var Ep=p(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.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:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hP=yP;ii.default=hP});var wp=p(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});ai.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:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},EP=gP;ai.default=EP});var _p=p(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.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:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_P=wP;si.default=_P});var Cp=p(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.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:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},PP=CP;li.default=PP});var Pp=p(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.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:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},RP=TP;ui.default=RP});var Tp=p(ci=>{"use strict";Object.defineProperty(ci,"__esModule",{value:!0});ci.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:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xP=SP;ci.default=xP});var Rp=p(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.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:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},AP=qP;di.default=AP});var Sp=p(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.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:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},kP=MP;pi.default=kP});var xp=p(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.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:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},IP=OP;fi.default=IP});var qp=p(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.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:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},LP=NP;mi.default=LP});var Ap=p(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.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:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},BP=DP;bi.default=BP});var Mp=p(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.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:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},UP=FP;vi.default=UP});var kp=p(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.default=void 0;var jP={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"]]},$P=jP;yi.default=$P});var Op=p(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.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:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},VP=HP;hi.default=VP});var Ip=p(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.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:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},zP=WP;gi.default=zP});var Np=p(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.default=void 0;var KP={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"]]},GP=KP;Ei.default=GP});var Lp=p(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.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:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},QP=XP;wi.default=QP});var Dp=p(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.default=void 0;var JP={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"]]},YP=JP;_i.default=YP});var Bp=p(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});Ci.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:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},eT=ZP;Ci.default=eT});var Fp=p(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.default=void 0;var tT={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"]]},rT=tT;Pi.default=rT});var Up=p(Ti=>{"use strict";Object.defineProperty(Ti,"__esModule",{value:!0});Ti.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:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oT=nT;Ti.default=oT});var jp=p(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.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:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},aT=iT;Ri.default=aT});var $p=p(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.default=void 0;var sT={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"]]},lT=sT;Si.default=lT});var Hp=p(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.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:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cT=uT;xi.default=cT});var Vp=p(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.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:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},pT=dT;qi.default=pT});var Wp=p(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.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:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},mT=fT;Ai.default=mT});var zp=p(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=void 0;var bT={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"]]},vT=bT;Mi.default=vT});var Kp=p(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.default=void 0;var yT=k(lp()),hT=k(up()),gT=k(cp()),ET=k(dp()),wT=k(pp()),_T=k(fp()),CT=k(mp()),PT=k(bp()),TT=k(vp()),RT=k(yp()),ST=k(hp()),xT=k(gp()),qT=k(Ep()),AT=k(wp()),MT=k(_p()),kT=k(Cp()),OT=k(Pp()),IT=k(Tp()),NT=k(Rp()),LT=k(Sp()),DT=k(xp()),BT=k(qp()),FT=k(Ap()),UT=k(Mp()),jT=k(kp()),$T=k(Op()),HT=k(Ip()),VT=k(Np()),WT=k(Lp()),zT=k(Dp()),KT=k(Bp()),GT=k(Fp()),XT=k(Up()),QT=k(jp()),JT=k($p()),YT=k(Hp()),ZT=k(Vp()),eR=k(Wp()),tR=k(zp());function k(e){return e&&e.__esModule?e:{default:e}}var rR=[["doc-abstract",yT.default],["doc-acknowledgments",hT.default],["doc-afterword",gT.default],["doc-appendix",ET.default],["doc-backlink",wT.default],["doc-biblioentry",_T.default],["doc-bibliography",CT.default],["doc-biblioref",PT.default],["doc-chapter",TT.default],["doc-colophon",RT.default],["doc-conclusion",ST.default],["doc-cover",xT.default],["doc-credit",qT.default],["doc-credits",AT.default],["doc-dedication",MT.default],["doc-endnote",kT.default],["doc-endnotes",OT.default],["doc-epigraph",IT.default],["doc-epilogue",NT.default],["doc-errata",LT.default],["doc-example",DT.default],["doc-footnote",BT.default],["doc-foreword",FT.default],["doc-glossary",UT.default],["doc-glossref",jT.default],["doc-index",$T.default],["doc-introduction",HT.default],["doc-noteref",VT.default],["doc-notice",WT.default],["doc-pagebreak",zT.default],["doc-pagelist",KT.default],["doc-part",GT.default],["doc-preface",XT.default],["doc-prologue",QT.default],["doc-pullquote",JT.default],["doc-qna",YT.default],["doc-subtitle",ZT.default],["doc-tip",eR.default],["doc-toc",tR.default]],nR=rR;ki.default=nR});var Gp=p(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.default=void 0;var oR={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"]]},iR=oR;Oi.default=iR});var Xp=p(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.default=void 0;var aR={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"]]},sR=aR;Ii.default=sR});var Qp=p(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.default=void 0;var lR={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"]]},uR=lR;Ni.default=uR});var Jp=p(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.default=void 0;var cR=ts(Gp()),dR=ts(Xp()),pR=ts(Qp());function ts(e){return e&&e.__esModule?e:{default:e}}var fR=[["graphics-document",cR.default],["graphics-object",dR.default],["graphics-symbol",pR.default]],mR=fR;Li.default=mR});var Bi=p(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.default=void 0;var bR=ar(Mc()),vR=ar(sp()),yR=ar(Kp()),hR=ar(Jp()),gR=ar(Ct());function ar(e){return e&&e.__esModule?e:{default:e}}function ER(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=Zp(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 CR(e)||_R(e,t)||Zp(e,t)||wR()}function wR(){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 Zp(e,t){if(e){if(typeof e=="string")return Yp(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 Yp(e,t)}}function Yp(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 _R(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 CR(e){if(Array.isArray(e))return e}var Ke=[].concat(bR.default,vR.default,yR.default,hR.default);Ke.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=Ke.find(function(T){var f=ir(T,1),g=f[0];return g===c});if(d)for(var m=d[1],y=0,P=Object.keys(m.props);y<P.length;y++){var C=P[y];Object.prototype.hasOwnProperty.call(r.props,C)||Object.assign(r.props,ER({},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 ns={entries:function(){return Ke},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=rs(Ke),o;try{for(n.s();!(o=n.n()).done;){var i=ir(o.value,2),a=i[0],s=i[1];t.call(r,s,a,Ke)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=Ke.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!ns.get(t)},keys:function(){return Ke.map(function(t){var r=ir(t,1),n=r[0];return n})},values:function(){return Ke.map(function(t){var r=ir(t,2),n=r[1];return n})}},PR=(0,gR.default)(ns,ns.entries());Di.default=PR});var rf=p(tf=>{var ef=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(ef.call(e,r)&&++n&&!ef.call(t,r)||!(r in t)||!os(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}tf.dequal=os});var cf=p(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.default=void 0;var af=rf(),TR=lf(Ct()),sf=lf(Bi());function lf(e){return e&&e.__esModule?e:{default:e}}function is(e,t){return xR(e)||SR(e,t)||uf(e,t)||RR()}function RR(){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 SR(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function xR(e){if(Array.isArray(e))return e}function qR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=uf(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 uf(e,t){if(e){if(typeof e=="string")return nf(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 nf(e,t)}}function nf(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=[],of=sf.default.keys();for(Fi=0;Fi<of.length;Fi++)if(Ui=of[Fi],ji=sf.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=Ge.find(function(i){return(0,af.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,as,ss,$i,Fi,ls={entries:function(){return Ge},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=qR(Ge),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,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,af.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!ls.get(t)},keys:function(){return Ge.map(function(t){var r=is(t,1),n=r[0];return n})},values:function(){return Ge.map(function(t){var r=is(t,2),n=r[1];return n})}},AR=(0,TR.default)(ls,ls.entries());Hi.default=AR});var vf=p(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.default=void 0;var MR=mf(Ct()),ff=mf(Bi());function mf(e){return e&&e.__esModule?e:{default:e}}function us(e,t){return IR(e)||OR(e,t)||bf(e,t)||kR()}function kR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OR(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 IR(e){if(Array.isArray(e))return e}function NR(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=bf(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 bf(e,t){if(e){if(typeof e=="string")return df(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 df(e,t)}}function df(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=[],pf=ff.default.keys();for(Vi=0;Vi<pf.length;Vi++)if(cs=pf[Vi],Wi=ff.default.get(cs),zi=[],Wi){for(ds=[].concat(Wi.baseConcepts,Wi.relatedConcepts),Ki=0;Ki<ds.length;Ki++)ps=ds[Ki],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,Ki,Vi,ms={entries:function(){return tt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=NR(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})}},LR=(0,MR.default)(ms,ms.entries());Gi.default=LR});var yf=p(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.roles=me.roleElements=me.elementRoles=me.dom=me.aria=void 0;var DR=sr(bc()),BR=sr(hc()),FR=sr(Bi()),UR=sr(cf()),jR=sr(vf());function sr(e){return e&&e.__esModule?e:{default:e}}var $R=DR.default;me.aria=$R;var HR=BR.default;me.dom=HR;var VR=FR.default;me.roles=VR;var WR=UR.default;me.elementRoles=WR;var zR=jR.default;me.roleElements=zR});var hf=p((yI,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={},m={},y="",P="",C="",T=2,f=3,g=2,w=[],h=0,E=0,q;for(q=0;q<a.length;q+=1)if(y=a.charAt(q),Object.prototype.hasOwnProperty.call(d,y)||(d[y]=f++,m[y]=!0),P=C+y,Object.prototype.hasOwnProperty.call(d,P))C=P;else{if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++),d[P]=f++,C=String(y)}if(C!==""){if(Object.prototype.hasOwnProperty.call(m,C)){if(C.charCodeAt(0)<256){for(u=0;u<g;u++)h=h<<1,E==s-1?(E=0,w.push(l(h)),h=0):E++;for(c=C.charCodeAt(0),u=0;u<8;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}else{for(c=1,u=0;u<g;u++)h=h<<1|c,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=0;for(c=C.charCodeAt(0),u=0;u<16;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1}T--,T==0&&(T=Math.pow(2,g),g++),delete m[C]}else for(c=d[C],u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;T--,T==0&&(T=Math.pow(2,g),g++)}for(c=2,u=0;u<g;u++)h=h<<1|c&1,E==s-1?(E=0,w.push(l(h)),h=0):E++,c=c>>1;for(;;)if(h=h<<1,E==s-1){w.push(l(h));break}else E++;return w.join("")},decompress:function(a){return a==null?"":a==""?null:i._decompress(a.length,32768,function(s){return a.charCodeAt(s)})},_decompress:function(a,s,l){var u=[],c,d=4,m=4,y=3,P="",C=[],T,f,g,w,h,E,q,R={val:l(0),position:s,index:1};for(T=0;T<3;T+=1)u[T]=T;for(g=0,h=Math.pow(2,2),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(c=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;q=e(g);break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;q=e(g);break;case 2:return""}for(u[3]=q,f=q,C.push(q);;){if(R.index>a)return"";for(g=0,h=Math.pow(2,y),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;switch(q=g){case 0:for(g=0,h=Math.pow(2,8),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),q=m-1,d--;break;case 1:for(g=0,h=Math.pow(2,16),E=1;E!=h;)w=R.val&R.position,R.position>>=1,R.position==0&&(R.position=s,R.val=l(R.index++)),g|=(w>0?1:0)*E,E<<=1;u[m++]=e(g),q=m-1,d--;break;case 2:return C.join("")}if(d==0&&(d=Math.pow(2,y),y++),u[q])P=u[q];else if(q===m)P=f+f.charAt(0);else return null;C.push(P),u[m++]=f+P.charAt(0),d--,f=P,d==0&&(d=Math.pow(2,y),y++)}}};return i})();typeof define=="function"&&define.amd?define(function(){return 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 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)`),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(b){return A("assertion",{type:"assertion",key:"be.visible",target:e,args:[]},async()=>{if(!await M(()=>r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be visible`)})}async function a(b){return A("assertion",{type:"assertion",key:"not.be.visible",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isVisible(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be visible`)})}async function s(b){return A("assertion",{type:"assertion",key:"exist",target:e,args:[]},async()=>{if(!await M(()=>r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to exist in DOM`)})}async function l(b){return A("assertion",{type:"assertion",key:"not.exist",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isExisting(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to exist in DOM`)})}async function u(b){return A("assertion",{type:"assertion",key:"be.enabled",target:e,args:[]},async()=>{if(!await M(()=>r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be enabled`)})}async function c(b){return A("assertion",{type:"assertion",key:"be.disabled",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isEnabled(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be disabled`)})}async function d(b){return A("assertion",{type:"assertion",key:"be.clickable",target:e,args:[]},async()=>{if(!await M(()=>n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be clickable`)})}async function m(b){return A("assertion",{type:"assertion",key:"not.be.clickable",target:e,args:[]},async()=>{if(!await M(async()=>!await n().isClickable(e,t),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be clickable`)})}async function y(b){return A("assertion",{type:"assertion",key:"be.checked",target:e,args:[]},async()=>{if(!await M(()=>r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be checked`)})}async function P(b){return A("assertion",{type:"assertion",key:"not.be.checked",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isChecked(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be checked`)})}async function C(b){return A("assertion",{type:"assertion",key:"be.focused",target:e,args:[]},async()=>{if(!await M(()=>r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" to be focused`)})}async function T(b){return A("assertion",{type:"assertion",key:"not.be.focused",target:e,args:[]},async()=>{if(!await M(async()=>!await r.isFocused(),b?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to be focused`)})}async function f(b,v){return A("assertion",{type:"assertion",key:"have.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S===String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have value "${b}", but got "${S}"`)})}async function g(b,v){return A("assertion",{type:"assertion",key:"not.have.value",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getValue()!==String(b),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have value "${b}"`)})}async function w(b,v){return A("assertion",{type:"assertion",key:"contain.value",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getValue(),S.includes(String(b))),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain value "${b}", but got "${S}"`)})}async function h(b,v){return A("assertion",{type:"assertion",key:"not.contain.value",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getValue()).includes(String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain value "${b}"`)})}async function E(b,v){return A("assertion",{type:"assertion",key:"have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),b instanceof RegExp?b.test(S):S===String(b)||S.trim()===String(b).trim()),v?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text to match ${b}, but got "${S}"`):new Error(`Expected element "${o}" to have text "${b}", but got "${S}"`)})}async function q(b,v){return A("assertion",{type:"assertion",key:"not.have.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>await r.isExisting()?(S=await r.getText(),b instanceof RegExp?!b.test(S):S!==String(b)&&S.trim()!==String(b).trim()):!1,v?.timeoutMs??L()))throw b instanceof RegExp?new Error(`Expected element "${o}" text not to match ${b}`):new Error(`Expected element "${o}" not to have text "${b}"`)})}async function R(b,v){return A("assertion",{type:"assertion",key:"contain.text",target:e,args:[b]},async()=>{let S="";if(!await M(async()=>(S=await r.getText(),S.includes(String(b))),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to contain text "${b}", but got "${S}"`)})}async function H(b,v){return A("assertion",{type:"assertion",key:"not.contain.text",target:e,args:[b]},async()=>{if(!await M(async()=>!(await r.getText()).includes(String(b)),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to contain text "${b}"`)})}async function B(b,v){return A("assertion",{type:"assertion",key:"have.class",target:e,args:[b]},async()=>{if(!await M(()=>n().hasClass(e,b,t),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have class "${b}"`)})}async function W(b,v){return A("assertion",{type:"assertion",key:"not.have.class",target:e,args:[b]},async()=>{if(!await M(async()=>!await n().hasClass(e,b,t),v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have class "${b}"`)})}async function K(b,v,S){return A("assertion",{type:"assertion",key:"have.attr",target:e,args:v!==void 0?[b,v]:[b]},async()=>{let U=null;if(!await M(async()=>(U=await r.getAttribute(b),v!==void 0?U===String(v):U!==null),S?.timeoutMs??L()))throw v!==void 0?new Error(`Expected element "${o}" to have attribute "${b}" = "${v}", but got "${U}"`):new Error(`Expected element "${o}" to have attribute "${b}"`)})}async function O(b,v){return A("assertion",{type:"assertion",key:"not.have.attr",target:e,args:[b]},async()=>{if(!await M(async()=>await r.getAttribute(b)===null,v?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have attribute "${b}"`)})}async function G(b,v,S){return A("assertion",{type:"assertion",key:"have.css",target:e,args:[b,v]},async()=>{let U=le=>String(le??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase(),N="";if(!await M(async()=>(N=(await r.getCSSProperty(b)).value,U(N)===U(v)),S?.timeoutMs??L()))throw new Error(`Expected element "${o}" to have CSS "${b}" = "${v}", but got "${N}"`)})}async function J(b,v,S){return A("assertion",{type:"assertion",key:"not.have.css",target:e,args:[b,v]},async()=>{let U=pe=>String(pe??"").replace(/\s+/g,"").replace(/rgba\((.+?),1\)/,"rgb($1)").toLowerCase();if(!await M(async()=>{let pe=await r.getCSSProperty(b);return U(pe.value)!==U(v)},S?.timeoutMs??L()))throw new Error(`Expected element "${o}" not to have CSS "${b}" = "${v}"`)})}return{shouldBeVisible:i,shouldNotBeVisible:a,shouldExist:s,shouldNotExist:l,shouldBeEnabled:u,shouldBeDisabled:c,shouldBeClickable:d,shouldNotBeClickable:m,shouldBeChecked:y,shouldNotBeChecked:P,shouldBeFocused:C,shouldNotBeFocused:T,shouldHaveValue:f,shouldNotHaveValue:g,shouldContainValue:w,shouldNotContainValue:h,shouldHaveText:E,shouldNotHaveText:q,shouldContainText:R,shouldNotContainText:H,shouldHaveClass:B,shouldNotHaveClass:W,shouldHaveAttribute:K,shouldNotHaveAttribute:O,shouldHaveCss:G,shouldNotHaveCss:J}}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 m(){return await d()}async function y(){return await r().isFocused(e,t)}async function P(g){return await r().getAttribute(e,g,t)}async function C(g){return await r().getCSSProperty(e,g,t)}async function T(g){let w=g??xr();if(await M(async()=>r().isExisting(e,t),w))return!0;throw new Error("Element not found: "+JSON.stringify(n))}async function f(g={}){let w=g.timeout||5e3,h=Date.now();for(;Date.now()-h<w;){if(await r().isDisplayed(e,t))return!0;await new Promise(E=>setTimeout(E,20))}throw new Error(`Element ${n} not displayed after ${w}ms`)}return{getText:o,getValue:i,isDisplayed:a,isVisible:s,isExisting:l,isEnabled:u,isClickable:c,isSelected:d,isChecked:m,isFocused:y,getAttribute:P,getCSSProperty:C,waitForElement:T,waitForDisplayed:f}}function 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 A("assertion",{type:"assertion",key:"have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s===i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to equal ${i}, but got ${s}`)})},async shouldNotHaveLength(i,a){return A("assertion",{type:"assertion",key:"not.have.length",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s!==i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count not to equal ${i}`)})},async shouldHaveLengthGreaterThan(i,a){return A("assertion",{type:"assertion",key:"have.length.greaterThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s>i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be greater than ${i}, but got ${s}`)})},async shouldHaveLengthLessThan(i,a){return A("assertion",{type:"assertion",key:"have.length.lessThan",target:e,args:[i]},async()=>{let s=0;if(!await M(async()=>(s=await this.count(),s<i),a?.timeoutMs??L()))throw new Error(`Expected collection "${r}" count to be less than ${i}, but got ${s}`)})},async shouldBeEmpty(i){return A("assertion",{type:"assertion",key:"be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a===0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" to be empty, but got ${a}`)})},async shouldNotBeEmpty(i){return A("assertion",{type:"assertion",key:"not.be.empty",target:e,args:[]},async()=>{let a=0;if(!await M(async()=>(a=await this.count(),a>0),i?.timeoutMs??L()))throw new Error(`Expected collection "${r}" not to be empty`)})}}}function ne(e){if(typeof e=="string")return ue(e,null);if(e&&typeof e=="object"&&"selector"in e)return e;throw new Error(`Invalid element target: ${String(e)}`)}function ll(e){return typeof e=="string"?e:e.selector}function sl(e,t){let r=()=>Pe();async function n(v){return A("action",{type:"action",key:"click",target:e,args:[]},async()=>{await r().click(e,t)})}async function o(){return A("action",{type:"action",key:"doubleClick",target:e,args:[]},async()=>{await r().doubleClick(e,t)})}async function i(){return A("action",{type:"action",key:"rightClick",target:e,args:[]},async()=>{await r().rightClick(e,t)})}async function a(v){return A("action",{type:"action",key:"type",target:e,args:[v]},async()=>{await r().setValue(e,v,t)})}async function s(v,S){S?.clearFirst&&await l(),await a(v)}async function l(){return A("action",{type:"action",key:"clear",target:e,args:[]},async()=>{await r().clearValue(e,t)})}async function u(){await l()}async function c(v){return A("action",{type:"action",key:"select",target:e,args:[v]},async()=>{await r().select(e,v,t)})}async function d(v){await c(v)}async function m(){return A("action",{type:"action",key:"hover",target:e,args:[]},async()=>{await r().hover(e,t)})}async function y(){return A("action",{type:"action",key:"focus",target:e,args:[]},async()=>{await r().focus(e,t)})}async function P(){return A("action",{type:"action",key:"blur",target:e,args:[]},async()=>{await r().blur(e,t)})}async function C(v){return A("action",{type:"action",key:"waitForElementRemoved",target:e,args:[v??5e3]},async()=>{if(!await M(async()=>!await r().isExisting(e,t),v??5e3))throw new Error("Element still exists after timeout: "+JSON.stringify(ll(e)))})}async function T(v){return A("action",{type:"action",key:"waitForUndisplayed",target:e,args:[v?.timeout??5e3]},async()=>{if(!await M(async()=>!await r().isDisplayed(e,t),v?.timeout??5e3))throw new Error("Element still displayed after timeout: "+JSON.stringify(ll(e)))})}async function f(v){return A("action",{type:"action",key:"waitForClickable",target:e,args:[v?.timeout??5e3]},async()=>await M(async()=>await r().isClickable(e,t),v?.timeout??5e3))}async function g(){return A("action",{type:"action",key:"getBounds",target:e,args:[]},async()=>await r().getBounds(e,t))}function w(){let v=typeof e=="string"?e:e.selector,S=typeof e=="string"?t:e.index;return S==null?v:`${v}::nth(${S})`}function h(){return ue(w()+"::parent",null)}async function E(v){return A("action",{type:"action",key:"closest",target:e,args:[v]},async()=>await r().closest(e,v,t)?ue(`${w()}::closest(${v})`,null):null)}function q(v){return Te(`${w()}::children(${v??""})`)}function R(v){return Te(`${w()}::siblings(${v??""})`)}function H(v){return ue(`${w()}::next(${v??""})`,null)}async function B(){await m()}async function W(v){let S=typeof v=="string"?v:v?.selector||String(v);return A("action",{type:"action",key:"dragDrop",target:e,args:[S]},async()=>{await r().dragDrop(e,S,t)})}async function K(v){await W(v)}async function O(v){let S=typeof v=="number"?v:v?.duration||1e3;return A("action",{type:"action",key:"longPress",target:e,args:[S]},async()=>{await r().longPress(e,S,t)})}async function G(){return A("action",{type:"action",key:"scrollIntoView",target:e,args:[]},async()=>{await r().scrollIntoView(e,t)})}async function J(v){return A("action",{type:"action",key:"upload",target:e,args:[v]},async()=>{await r().upload(e,v,t)})}async function b(v){await J(v)}return{click:n,doubleClick:o,rightClick:i,setValue:a,type:s,clearValue:l,clear:u,select:c,selectByVisibleText:d,hover:m,focus:y,blur:P,waitForElementRemoved:C,waitForUndisplayed:T,waitForClickable:f,getBounds:g,parent:h,closest:E,children:q,siblings:R,next:H,moveTo:B,dragDrop:W,dragAndDrop:K,longPress:O,scrollIntoView:G,upload:J,uploadFile:b}}var Lb={Backspace:{code:"Backspace",windowsVirtualKeyCode:8},Tab:{code:"Tab",windowsVirtualKeyCode:9},Enter:{code:"Enter",windowsVirtualKeyCode:13,text:"\r"},Escape:{code:"Escape",windowsVirtualKeyCode:27},Delete:{code:"Delete",windowsVirtualKeyCode:46},ArrowLeft:{code:"ArrowLeft",windowsVirtualKeyCode:37},ArrowUp:{code:"ArrowUp",windowsVirtualKeyCode:38},ArrowRight:{code:"ArrowRight",windowsVirtualKeyCode:39},ArrowDown:{code:"ArrowDown",windowsVirtualKeyCode:40},Home:{code:"Home",windowsVirtualKeyCode:36},End:{code:"End",windowsVirtualKeyCode:35},PageUp:{code:"PageUp",windowsVirtualKeyCode:33},PageDown:{code:"PageDown",windowsVirtualKeyCode:34}};function ul(e){if(typeof e!="string")return null;let t=Lb[e];return t?{key:e,...t}:null}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 Dt(e){if(e.respondOnceQueue.length>0){let t=e.respondOnceQueue.shift();return{body:t.response,statusCode:t.statusCode||e.statusCode||200,headers:{...e.headers,...t.headers},delayMs:t.delayMs??e.delayMs}}return{body:e.response,statusCode:e.statusCode||200,headers:{...e.headers},delayMs:e.delayMs}}var Db={"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(Db))t.set(r.toLowerCase(),{name:r,value:n});for(let[r,n]of Object.entries(e||{}))t.set(r.toLowerCase(),{name:r,value:String(n)});return[...t.values()]}function Bt(e){return typeof e=="string"?e:typeof e=="object"&&e!==null?JSON.stringify(e):String(e??"")}function cl(e){let t=/^(.*)::nth\((-?\d+)\)$/.exec(e);if(t)return{kind:"nth",base:t[1],arg:t[2]};let r=/^(.*)::closest\((.+)\)$/.exec(e);if(r)return{kind:"closest",base:r[1],arg:r[2]};let n=/^(.*)::children\((.*)\)$/.exec(e);if(n)return{kind:"children",base:n[1],arg:n[2].trim()||null};let o=/^(.*)::children$/.exec(e);if(o)return{kind:"children",base:o[1],arg:null};let i=/^(.*)::siblings\((.*)\)$/.exec(e);if(i)return{kind:"siblings",base:i[1],arg:i[2].trim()||null};let a=/^(.*)::siblings$/.exec(e);if(a)return{kind:"siblings",base:a[1],arg:null};let s=/^(.*)::next\((.*)\)$/.exec(e);if(s)return{kind:"next",base:s[1],arg:s[2].trim()||null};let l=/^(.*)::next$/.exec(e);if(l)return{kind:"next",base:l[1],arg:null};let u=/^(.*)::parent$/.exec(e);return u?{kind:"parent",base:u[1]}:null}function 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 dl(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 pl(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 Bb=new Set(["mount","unmount","registerCommand","registerCommands"]),Fb=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function fl(){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(!Fb.test(r))throw new Error(`[TestSpectra] Invalid custom command name "${r}"; must be a valid identifier.`);if(Bb.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 ml(){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 Ub=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 Ub}function jb(){return Math.min(ka(),2e3)}async function $b(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=ml();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 Hb(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:ml()};globalThis.__TS_RUNTIME__={activeDriver:null,mobileMockRules:[],lastFocusedSelector:null,emitEvent:kr,trackStep:$b,pollCondition:Hb,getImplicitWaitMs:ka,getAssertionTimeoutMs:jb,matchesUrlPattern:Aa,createMockHandle:qr,parseMockRule:Ar,findMatchingRule:Nt,recordMockCall:Lt,consumeMockResponse:Dt,mergeMockResponseHeaders:Mr,mockResponseBodyText:Bt,createElementProxy:ue,createCollectionProxy:Te,beforeHook:null,afterHook:null,beforeEachHook:null,afterEachHook:null,suiteBeforeEachHooks:{},suiteAfterEachHooks:{}};var bl=new Set;async function vl(e,t=[],r,n={platform:"web"}){for(let o of t)if(!bl.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.`),bl.add(o)}catch(i){console.error(`[TestSpectra] Failed to load plugin "${o}": ${i?.stack||i?.message||i}`)}}function Vb(){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 yl=new Map;async function Or(e){let t=yl.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 yl.set(e,r),r}async function Oa(e){let t=e??Vb();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:([^;,]+)/,y=>`${y};name=${encodeURIComponent(c)}`)),n[l.name]=m}catch{n[l.name]=u}}}globalThis.Fixture=n;let i={},a=t.steps??[];for(let l of a){let u=l.path??l.file_path;if(u){let c=await Or(u);i[l.name]=c.default??c}}globalThis.Step=i;let s=Wb();s.length>0&&globalThis.Spectra&&await vl(globalThis.Spectra,s,Or,{platform:"web"})}function Wb(){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 x(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}function V(e){var t;if(zb(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 ${Kb(e)}`)}function zb(e){return e.nodeType===9}function Kb(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 hl(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],hl(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=hl(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 Gb(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 vt(e,t=[]){let r=typeof e.DataTransfer>"u"?Gb(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Ft(e,t)}),r}async function gl(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function wl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(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){wl(this,"data",void 0),this.data=o}}(r)}var yt=Symbol("Manage ClipboardSub");function El(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=[_l(e,n)]}constructor(...n){super(...n),wl(this,"items",[])}},{[yt]:t})}function Da(e){return!!e?.[yt]}function Cl(e){if(Da(e.navigator.clipboard))return e.navigator.clipboard[yt];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=El(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=El(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[yt]}function Xb(e){Da(e.navigator.clipboard)&&e.navigator.clipboard[yt].resetClipboardStub()}function Qb(e){Da(e.navigator.clipboard)&&e.navigator.clipboard[yt].detachClipboardStub()}async function Pl(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=vt(t);for(let i of n)for(let a of i.types)o.setData(a,await i.getType(a).then(s=>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 gl(r,s);o.push(_l(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"&&Xb(globalThis.window)});typeof Nr.afterAll=="function"&&Nr.afterAll(()=>{typeof globalThis.window<"u"&&Qb(globalThis.window)});var Dr=["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(Dr)}function Tl(e){return new e.constructor(e.type,e)}function te(e){for(let r=e;r;r=r.parentElement)if(x(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(x(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Le(e){let t=e.activeElement;if(t?.shadowRoot){let r=Le(t.shadowRoot);if(r)return r}else if(t&&x(t,"iframe")){let r=t.contentDocument;if(r)return Le(r)}return te(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function ht(e){var t;return(t=Le(e))!==null&&t!==void 0?t:e.body}function Rl(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ce(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function De(e){let t=Jb(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Jb(e){return e.nodeType===1?e:e.parentElement}var Sl=(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})(Sl||{});function Br(e){return x(e,"button")||x(e,"input")&&e.type in Sl}function ve(e){return Ba(e)&&!e.readOnly||ce(e)}var xl=(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})(xl||{});function Ba(e){return x(e,"textarea")||x(e,"input")&&e.type in xl}function X(e){return Al(e)&&Ba(e)}function ql(e){return Al(e)&&Br(e)}function Al(e){return e.nodeType===1}function Ml(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&X(e)){let n=De(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function 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(Hu());var ky=Object.prototype.toString;function Vu(e){return typeof e=="function"||ky.call(e)==="[object Function]"}function Oy(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Iy=Math.pow(2,53)-1;function Ny(e){var t=Oy(e);return Math.min(Math.max(t,0),Iy)}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"&&!Vu(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Ny(n.length),i=Vu(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 Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(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,zu(n.key),n)}}function Dy(e,t,r){return t&&Wu(e.prototype,t),r&&Wu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function By(e,t,r){return t=zu(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){var t=Fy(e,"string");return tr(t)==="symbol"?t:String(t)}function Fy(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 Uy=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ly(this,e),By(this,"items",void 0),this.items=t}return Dy(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})(),Ku=typeof Set>"u"?Set:Uy;function Q(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var jy={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"},$y={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 Hy(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=$y[t])!==null&&n!==void 0&&n.has(r))})}function Gu(e,t){return Hy(e,t)}function Qr(e){var t=Wy(e);if(t===null||t==="presentation"){var r=Vy(e);if(t!=="presentation"||Gu(e,r||""))return r}return t}function Vy(e){var t=jy[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 Wy(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 Ga(e){return j(e)&&Q(e)==="caption"}function rr(e){return j(e)&&Q(e)==="input"}function Xu(e){return j(e)&&Q(e)==="optgroup"}function Qu(e){return j(e)&&Q(e)==="select"}function Ju(e){return j(e)&&Q(e)==="table"}function Yu(e){return j(e)&&Q(e)==="textarea"}function Zu(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function ec(e){return j(e)&&Q(e)==="fieldset"}function tc(e){return j(e)&&Q(e)==="legend"}function rc(e){return j(e)&&Q(e)==="slot"}function zy(e){return j(e)&&e.ownerSVGElement!==void 0}function nc(e){return j(e)&&Q(e)==="svg"}function oc(e){return zy(e)&&Q(e)==="title"}function _t(e,t){if(j(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function ge(e,t){return j(e)?t.indexOf(Qr(e))!==-1:!1}function Ky(e){return e.trim().replace(/\s\s+/g," ")}function Gy(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 Xy(e){return ge(e,["button","combobox","listbox","textbox"])||sc(e,"range")}function sc(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 ic(e,t){var r=de(e.querySelectorAll(t));return _t(e,"aria-owns").forEach(function(n){r.push.apply(r,de(n.querySelectorAll(t)))}),r}function Qy(e){return Qu(e)?e.selectedOptions||ic(e,"[selected]"):ic(e,'[aria-selected="true"]')}function Jy(e){return ge(e,["none","presentation"])}function Yy(e){return Ga(e)}function Zy(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 eh(e){return!1}function th(e){return rr(e)||Yu(e)?e.value:e.textContent||""}function ac(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function lc(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 uc(e){if(lc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&j(r)){var n=uc(r);n!==null&&(t=n)}}),t}function rh(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):uc(e)}function nh(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return de(t);if(!lc(e))return null;var r=e.ownerDocument;return de(r.querySelectorAll("label")).filter(function(n){return rh(n)===e})}function oh(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 Ku,n=Zu(e),o=t.compute,i=o===void 0?"name":o,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,c=t.hidden,d=c===void 0?!1:c;function m(f,g){var w="";if(j(f)&&s){var h=u(f,"::before"),E=ac(h);w="".concat(E," ").concat(w)}var q=rc(f)?oh(f):de(f.childNodes).concat(_t(f,"aria-owns"));if(q.forEach(function(B){var W=T(B,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=j(B)?u(B).getPropertyValue("display"):"inline",O=K!=="inline"?" ":"";w+="".concat(O).concat(W).concat(O)}),j(f)&&s){var R=u(f,"::after"),H=ac(R);w="".concat(w," ").concat(H)}return w.trim()}function y(f,g){var w=f.getAttributeNode(g);return w!==null&&!r.has(w)&&w.value.trim()!==""?(r.add(w),w.value):null}function P(f){return j(f)?y(f,"title"):null}function C(f){if(!j(f))return null;if(ec(f)){r.add(f);for(var g=de(f.childNodes),w=0;w<g.length;w+=1){var h=g[w];if(tc(h))return T(h,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(Ju(f)){r.add(f);for(var E=de(f.childNodes),q=0;q<E.length;q+=1){var R=E[q];if(Ga(R))return T(R,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(nc(f)){r.add(f);for(var H=de(f.childNodes),B=0;B<H.length;B+=1){var W=H[B];if(oc(W))return W.textContent}return null}else if(Q(f)==="img"||Q(f)==="area"){var K=y(f,"alt");if(K!==null)return K}else if(Xu(f)){var O=y(f,"label");if(O!==null)return O}if(rr(f)&&(f.type==="button"||f.type==="submit"||f.type==="reset")){var G=y(f,"value");if(G!==null)return G;if(f.type==="submit")return"Submit";if(f.type==="reset")return"Reset"}var J=nh(f);if(J!==null&&J.length!==0)return r.add(f),de(J).map(function(U){return T(U,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(U){return U.length>0}).join(" ");if(rr(f)&&f.type==="image"){var b=y(f,"alt");if(b!==null)return b;var v=y(f,"title");return v!==null?v:"Submit Query"}if(ge(f,["button"])){var S=m(f,{isEmbeddedInLabel:!1,isReferenced:!1});if(S!=="")return S}return null}function T(f,g){if(r.has(f))return"";if(!d&&Gy(f,u)&&!g.isReferenced)return r.add(f),"";var w=j(f)?f.getAttributeNode("aria-labelledby"):null,h=w!==null&&!r.has(w)?_t(f,"aria-labelledby"):[];if(i==="name"&&!g.isReferenced&&h.length>0)return r.add(w),h.map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var E=g.recursion&&Xy(f)&&i==="name";if(!E){var q=(j(f)&&f.getAttribute("aria-label")||"").trim();if(q!==""&&i==="name")return r.add(f),q;if(!Jy(f)){var R=C(f);if(R!==null)return r.add(f),R}}if(ge(f,["menu"]))return r.add(f),"";if(E||g.isEmbeddedInLabel||g.isReferenced){if(ge(f,["combobox","listbox"])){r.add(f);var H=Qy(f);return H.length===0?rr(f)?f.value:"":de(H).map(function(K){return T(K,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(sc(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),th(f)}if(Zy(f)||j(f)&&g.isReferenced||Yy(f)||eh(f)){var B=m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(B!=="")return r.add(f),B}if(f.nodeType===f.TEXT_NODE)return r.add(f),f.textContent||"";if(g.recursion)return r.add(f),m(f,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var W=P(f);return W!==null?(r.add(f),W):(r.add(f),"")}return Ky(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 cc(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 dc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cc(Object(r),!0).forEach(function(n){ih(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ih(e,t,r){return t=ah(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ah(e){var t=sh(e,"string");return nr(t)==="symbol"?t:String(t)}function sh(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=_t(e,"aria-describedby").map(function(o){return Jr(o,dc(dc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function lh(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 lh(e)?"":Jr(e,t)}var oe=xa(yf()),Tf=xa(hf());function Rf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var KR=(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("")},GR=3,XR=(e,t,r,n,o,i)=>e.map(a=>{let s=typeof a=="string"?Sf(a,t):i(a,t,r,n,o);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==GR?"":t.spacingOuter+r+s}).join(""),Sf=(e,t)=>{let r=t.colors.content;return r.open+Rf(e)+r.close},QR=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Rf(e)+"-->"+r.close},JR=(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},YR=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},ZR=1,xf=3,qf=8,Af=11,e0=/^((HTML|SVG)\w*)?Element$/,Mf=e=>{let t=e.tagName;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},t0=e=>{let t=e.constructor.name,r=e.nodeType;return r===ZR&&(e0.test(t)||Mf(e))||r===xf&&t==="Text"||r===qf&&t==="Comment"||r===Af&&t==="DocumentFragment"};function r0(e){return e.nodeType===xf}function n0(e){return e.nodeType===qf}function vs(e){return e.nodeType===Af}function o0(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Mf(t))&&t0(t)},serialize:(t,r,n,o,i,a)=>{if(r0(t))return Sf(t.data,r);if(n0(t))return QR(t.data,r);let s=vs(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?YR(s,r):JR(s,KR(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),XR(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,a),r,n)}}}var kf=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,kf=e.call(module,"picocolors")}catch{}function i0(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 kf.dim(n)+`
17
17
  `+c+`
18
- `}function s0(){if(!qs||!As)return"";let t=new Error().stack.split(`
19
- `).slice(1).find(r=>!r.includes("node_modules/"));return a0(t)}var Of=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 If(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 l0=["filterNode"],u0=()=>{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},c0=ra.plugins.DOMCollection,d0=1,p0=8;function f0(e){return e.nodeType!==p0&&(e.nodeType!==d0||!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?f0:i,s=Fr(o,l0),l=ra.format(e,{plugins:[i0(a),c0],printFunctionName:!1,highlight:u0(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var gf=function(){let e=s0();console.log(e?Ji(...arguments)+`
18
+ `}function a0(){if(!qs||!As)return"";let t=new Error().stack.split(`
19
+ `).slice(1).find(r=>!r.includes("node_modules/"));return i0(t)}var Of=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 If(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 s0=["filterNode"],l0=()=>{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},u0=ra.plugins.DOMCollection,c0=1,d0=8;function p0(e){return e.nodeType!==d0&&(e.nodeType!==c0||!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?p0:i,s=Fr(o,s0),l=ra.format(e,{plugins:[o0(a),u0],printFunctionName:!1,highlight:l0(),...s});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var gf=function(){let e=a0();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 m0(e){try{return Yi._disableExpensiveErrorDiagnostics=!0,e()}finally{Yi._disableExpensiveErrorDiagnostics=!1}}function I(){return Yi}var b0=["button","meter","output","progress","select","textarea","input"];function Nf(e){return b0.includes(e.nodeName.toLowerCase())?"":e.nodeType===Of?e.textContent:Array.from(e.childNodes).map(t=>Nf(t)).join("")}function gs(e){let t;return e.tagName.toLowerCase()==="label"?t=Nf(e):t=e.value||e.textContent,t}function Lf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!v0(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function v0(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Df(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(Lf(t)).map(l=>{let u=gs(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 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 St(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):Uf(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?Uf(r,o):o===String(r)}function Ff(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 Ff({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 Uf(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===Of&&!!t.textContent).map(t=>t.textContent).join("")}var y0=h0(oe.elementRoles);function $f(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?$f: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 y0){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function h0(e){function t(a){let s=a.name,l=a.attributes;return""+s+l.map(u=>{let c=u.name,d=u.value,m=u.constraints,y=m===void 0?[]:m,P=y.indexOf("undefined")!==-1,C=y.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':P?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function g0(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 E0(e,t){let r=t.hidden,n=t.includeDescription,o=g0(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})+`":
24
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function f0(e){try{return Yi._disableExpensiveErrorDiagnostics=!0,e()}finally{Yi._disableExpensiveErrorDiagnostics=!1}}function I(){return Yi}var m0=["button","meter","output","progress","select","textarea","input"];function Nf(e){return m0.includes(e.nodeName.toLowerCase())?"":e.nodeType===Of?e.textContent:Array.from(e.childNodes).map(t=>Nf(t)).join("")}function gs(e){let t;return e.tagName.toLowerCase()==="label"?t=Nf(e):t=e.value||e.textContent,t}function Lf(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!b0(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function b0(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Df(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(Lf(t)).map(l=>{let u=gs(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 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 St(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):Uf(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?Uf(r,o):o===String(r)}function Ff(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 Ff({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 Uf(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===Of&&!!t.textContent).map(t=>t.textContent).join("")}var v0=y0(oe.elementRoles);function jf(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?jf: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 v0){let r=t.match,n=t.roles;if(r(e))return[...n]}return[]}function y0(e){function t(a){let s=a.name,l=a.attributes;return""+s+l.map(u=>{let c=u.name,d=u.value,m=u.constraints,y=m===void 0?[]:m,P=y.indexOf("undefined")!==-1,C=y.indexOf("set")!==-1;return typeof d<"u"?"["+c+'="'+d+'"]':P?":not(["+c+"])":C?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(a){let s=a.attributes;return(s===void 0?[]:s).length}function n(a,s){let l=a.specificity;return s.specificity-l}function o(a){let s=a.attributes,l=s===void 0?[]:s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...a,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let a of e.entries()){let s=a[0],l=a[1];i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}]}return i.sort(n)}function h0(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 g0(e,t){let r=t.hidden,n=t.includeDescription,o=h0(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
25
  `,m=Ji(c.cloneNode(!1));if(n){let y='Description "'+Yr(c,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements})+`":
26
26
  `;return""+d+y+m}return""+d+m}).join(`
27
27
 
@@ -30,19 +30,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
30
30
  `+u+`
31
31
 
32
32
  `+l}).join(`
33
- `)}function w0(e){return e.tagName==="OPTION"?e.selected:ur(e,"aria-selected")}function _0(e){return e.getAttribute("aria-busy")==="true"}function C0(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ur(e,"aria-checked")}function P0(e){return ur(e,"aria-pressed")}function T0(e){var t,r;return(t=(r=ur(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function R0(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 S0(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 x0(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function q0(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function A0(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function M0(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Ef=Ff();function k0(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function wf(e){return new RegExp(k0(e.toLowerCase()),"i")}function Xe(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:wf(r)];i&&(s.name=wf(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.
33
+ `)}function E0(e){return e.tagName==="OPTION"?e.selected:ur(e,"aria-selected")}function w0(e){return e.getAttribute("aria-busy")==="true"}function _0(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ur(e,"aria-checked")}function C0(e){return ur(e,"aria-pressed")}function P0(e){var t,r;return(t=(r=ur(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function T0(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 R0(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 S0(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function x0(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function q0(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function A0(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Ef=Ff();function M0(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function wf(e){return new RegExp(M0(e.toLowerCase()),"i")}function Xe(e,t,r,n){let o=n.variant,i=n.name,a="",s={},l=[["Role","TestId"].includes(e)?r:wf(r)];i&&(s.name=wf(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 y=m[0],P=m[1];return y+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function Qe(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function 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=Df(document,e).map(m=>m.content).join(" ");if(Qe("LabelText",r,a))return Xe("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Qe("PlaceholderText",r,s))return Xe("PlaceholderText",e,s,{variant:t});let l=Ef(na(e));if(Qe("Text",r,l))return Xe("Text",e,l,{variant:t});if(Qe("DisplayValue",r,e.value))return Xe("DisplayValue",e,Ef(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 O0(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,m=d===void 0?C=>(Object.defineProperty(C,"message",{value:I().getElementError(C.message,n).message}),C):d,y=t.mutationObserverOptions,P=y===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:y;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,g,w,h=!1,E="idle",q=setTimeout(K,i),R=ys();if(R){let O=I(),G=O.unstable_advanceTimersWrapper;for(W();!h;){if(!ys()){let J=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(J,l),T(J);return}if(await G(async()=>{jest.advanceTimersByTime(c)}),h)break;W()}}else{try{qe(n)}catch(J){T(J);return}g=setInterval(B,c);let O=If(n),G=O.MutationObserver;w=new G(B),w.observe(n,P),W()}function H(O,G){h=!0,clearTimeout(q),R||(clearInterval(g),w.disconnect()),O?T(O):C(G)}function B(){if(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 W()}function W(){if(E!=="pending")try{let O=m0(e);typeof O?.then=="function"?(E="pending",O.then(G=>{E="resolved",H(null,G)},G=>{E="rejected",f=G})):H(null,O)}catch(O){f=O}}function K(){let O;f?(O=f,!s&&O.name==="TestingLibraryElementError"&&Qi(O,l)):(O=new Error("Timed out in waitFor."),s||Qi(O,l)),H(m(O),null)}})}function I0(e,t){let r=new Error("STACK_TRACE_MESSAGE");return I().asyncWrapper(()=>O0(e,{stackTraceError:r,...t}))}function jf(e,t){return I().getElementError(e,t)}function N0(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:St,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=>jf(null,l).message).join(`
35
+ `),Object.keys(s).length>0&&l.push(s);let u=o+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:o,warning:a,toString(){a&&console.warn(a);let c=l[0],d=l[1];return c=typeof c=="string"?"'"+c+"'":c,d=d?", { "+Object.entries(d).map(m=>{let y=m[0],P=m[1];return y+": "+P}).join(", ")+" }":"",u+"("+c+d+")"}}}function 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=Df(document,e).map(m=>m.content).join(" ");if(Qe("LabelText",r,a))return Xe("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(Qe("PlaceholderText",r,s))return Xe("PlaceholderText",e,s,{variant:t});let l=Ef(na(e));if(Qe("Text",r,l))return Xe("Text",e,l,{variant:t});if(Qe("DisplayValue",r,e.value))return Xe("DisplayValue",e,Ef(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 k0(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,m=d===void 0?C=>(Object.defineProperty(C,"message",{value:I().getElementError(C.message,n).message}),C):d,y=t.mutationObserverOptions,P=y===void 0?{subtree:!0,childList:!0,attributes:!0,characterData:!0}:y;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(C,T)=>{let f,g,w,h=!1,E="idle",q=setTimeout(K,i),R=ys();if(R){let O=I(),G=O.unstable_advanceTimersWrapper;for(W();!h;){if(!ys()){let J=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(J,l),T(J);return}if(await G(async()=>{jest.advanceTimersByTime(c)}),h)break;W()}}else{try{qe(n)}catch(J){T(J);return}g=setInterval(B,c);let O=If(n),G=O.MutationObserver;w=new G(B),w.observe(n,P),W()}function H(O,G){h=!0,clearTimeout(q),R||(clearInterval(g),w.disconnect()),O?T(O):C(G)}function B(){if(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 W()}function W(){if(E!=="pending")try{let O=f0(e);typeof O?.then=="function"?(E="pending",O.then(G=>{E="resolved",H(null,G)},G=>{E="rejected",f=G})):H(null,O)}catch(O){f=O}}function K(){let O;f?(O=f,!s&&O.name==="TestingLibraryElementError"&&Qi(O,l)):(O=new Error("Timed out in waitFor."),s||Qi(O,l)),H(m(O),null)}})}function O0(e,t){let r=new Error("STACK_TRACE_MESSAGE");return I().asyncWrapper(()=>k0(e,{stackTraceError:r,...t}))}function $f(e,t){return I().getElementError(e,t)}function I0(e,t){return $f(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:St,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=>$f(null,l).message).join(`
36
36
 
37
- `);throw N0(t(r,...o)+`
37
+ `);throw I0(t(r,...o)+`
38
38
 
39
39
  Here are the matching elements:
40
40
 
41
41
  `+s,r)}return a[0]||null}}function Hf(e,t){return I().getElementError(`A better query is available, try this:
42
42
  `+e.toString()+`
43
- `,t)}function L0(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)=>I0(()=>e(t,r,n),{container:t,...o})}var Rt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?I().throwSuggestions:d;if(s&&m){let y=Es(s,r);if(y&&!t.endsWith(y.queryName))throw Hf(y.toString(),n)}return s},be=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?I().throwSuggestions:d;if(s.length&&m){let y=[...new Set(s.map(P=>{var C;return(C=Es(P,r))==null?void 0:C.toString()}))];if(y.length===1&&!t.endsWith(Es(s[0],r).queryName))throw Hf(y[0],n)}return s};function ot(e,t,r){let n=Rt(Zi(e,t),e.name,"query"),o=L0(e,r),i=Zi(o,t),a=Rt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ea(be(o,e.name,"findAll")),u=ea(Rt(i,e.name,"find"));return[n,s,a,l,u]}function D0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:gs(t)})).filter(t=>t.textToMatch!==null)}var B0=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,l=n.normalizer,u=i?xe:St,c=nt({collapseWhitespace:s,trim:a,normalizer:l});return D0(e).filter(m=>{let y=m.node,P=m.textToMatch;return u(P,y,t,c)}).map(m=>m.node)},lr=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.normalizer;qe(e);let d=s?xe:St,m=nt({collapseWhitespace:l,trim:u,normalizer:c}),y=Array.from(e.querySelectorAll("*")).filter(P=>Lf(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=Df(e,C,{selector:i});T.filter(g=>!!g.formControl).forEach(g=>{d(g.content,g.formControl,t,m)&&g.formControl&&P.push(g.formControl)});let f=T.filter(g=>!!g.content).map(g=>g.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((g,w)=>{d(g,C,t,m)&&P.push(C);let h=[...f];h.splice(w,1),h.length>1&&d(h.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(oa("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(y)).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=B0(e,t,...n);if(a.length){let s=a.map(l=>F0(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 N0(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)=>O0(()=>e(t,r,n),{container:t,...o})}var Rt=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?I().throwSuggestions:d;if(s&&m){let y=Es(s,r);if(y&&!t.endsWith(y.queryName))throw Hf(y.toString(),n)}return s},be=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];let s=e(n,...i),l=i.slice(-1),u=l[0],c=u===void 0?{}:u,d=c.suggest,m=d===void 0?I().throwSuggestions:d;if(s.length&&m){let y=[...new Set(s.map(P=>{var C;return(C=Es(P,r))==null?void 0:C.toString()}))];if(y.length===1&&!t.endsWith(Es(s[0],r).queryName))throw Hf(y[0],n)}return s};function ot(e,t,r){let n=Rt(Zi(e,t),e.name,"query"),o=N0(e,r),i=Zi(o,t),a=Rt(i,e.name,"get"),s=be(o,e.name.replace("query","get"),"getAll"),l=ea(be(o,e.name,"findAll")),u=ea(Rt(i,e.name,"find"));return[n,s,a,l,u]}function L0(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:gs(t)})).filter(t=>t.textToMatch!==null)}var D0=function(e,t,r){let n=r===void 0?{}:r,o=n.exact,i=o===void 0?!0:o,a=n.trim,s=n.collapseWhitespace,l=n.normalizer,u=i?xe:St,c=nt({collapseWhitespace:s,trim:a,normalizer:l});return L0(e).filter(m=>{let y=m.node,P=m.textToMatch;return u(P,y,t,c)}).map(m=>m.node)},lr=function(e,t,r){let n=r===void 0?{}:r,o=n.selector,i=o===void 0?"*":o,a=n.exact,s=a===void 0?!0:a,l=n.collapseWhitespace,u=n.trim,c=n.normalizer;qe(e);let d=s?xe:St,m=nt({collapseWhitespace:l,trim:u,normalizer:c}),y=Array.from(e.querySelectorAll("*")).filter(P=>Lf(P).length||P.hasAttribute("aria-labelledby")).reduce((P,C)=>{let T=Df(e,C,{selector:i});T.filter(g=>!!g.formControl).forEach(g=>{d(g.content,g.formControl,t,m)&&g.formControl&&P.push(g.formControl)});let f=T.filter(g=>!!g.content).map(g=>g.content);return d(f.join(" "),C,t,m)&&P.push(C),f.length>1&&f.forEach((g,w)=>{d(g,C,t,m)&&P.push(C);let h=[...f];h.splice(w,1),h.length>1&&d(h.join(" "),C,t,m)&&P.push(C)}),P},[]).concat(oa("aria-label",e,t,{exact:s,normalizer:m}));return Array.from(new Set(y)).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=D0(e,t,...n);if(a.length){let s=a.map(l=>B0(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 F0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Vf=(e,t)=>"Found multiple elements with the text of: "+t,U0=Rt(Zi(lr,Vf),lr.name,"query"),Wf=Zi(rt,Vf),$0=ea(be(rt,rt.name,"findAll")),j0=ea(Rt(Wf,rt.name,"find")),H0=be(rt,rt.name,"getAll"),V0=Rt(Wf,rt.name,"get"),W0=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)},z0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,K0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,G0=be(ws,ws.name,"queryAll"),cr=ot(ws,z0,K0),X0=cr[0],Q0=cr[1],J0=cr[2],Y0=cr[3],Z0=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,m=n.normalizer;qe(e);let y=s?xe:St,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=>y(na(T),T,t,P))},eS=(e,t)=>"Found multiple elements with the text: "+t,tS=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."},rS=be(_s,_s.name,"queryAll"),dr=ot(_s,eS,tS),nS=dr[0],oS=dr[1],iS=dr[2],aS=dr[3],sS=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:St,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(y=>y.selected).some(y=>u(na(y),y,t,c)):u(d.value,d,t,c))},lS=(e,t)=>"Found multiple elements with the display value: "+t+".",uS=(e,t)=>"Unable to find an element with the display value: "+t+".",cS=be(Cs,Cs.name,"queryAll"),pr=ot(Cs,lS,uS),dS=pr[0],pS=pr[1],fS=pr[2],mS=pr[3],bS=pr[4],vS=/^(img|input|area|.+-.+)$/i,Ps=function(e,t,r){return r===void 0&&(r={}),qe(e),oa("alt",e,t,r).filter(n=>vS.test(n.tagName))},yS=(e,t)=>"Found multiple elements with the alt text: "+t,hS=(e,t)=>"Unable to find an element with the alt text: "+t,gS=be(Ps,Ps.name,"queryAll"),fr=ot(Ps,yS,hS),ES=fr[0],wS=fr[1],_S=fr[2],CS=fr[3],PS=fr[4],TS=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:St,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)||TS(d)&&u(na(d),d,t,c))},RS=(e,t)=>"Found multiple elements with the title: "+t+".",SS=(e,t)=>"Unable to find an element with the title: "+t+".",xS=be(Ts,Ts.name,"queryAll"),mr=ot(Ts,RS,SS),qS=mr[0],AS=mr[1],MS=mr[2],kS=mr[3],OS=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,m=n.checked,y=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,g=f===void 0?{}:f,w=g.now,h=g.min,E=g.max,q=g.text;if(qe(e),c!==void 0){var R;if(((R=oe.roles.get(t))==null?void 0:R.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var H;if(((H=oe.roles.get(t))==null?void 0:H.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(m!==void 0){var B;if(((B=oe.roles.get(t))==null?void 0:B.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(y!==void 0){var W;if(((W=oe.roles.get(t))==null?void 0:W.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(P!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(w!==void 0){var O;if(((O=oe.roles.get(t))==null?void 0:O.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var G;if(((G=oe.roles.get(t))==null?void 0:G.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var J;if(((J=oe.roles.get(t))==null?void 0:J.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(q!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var v;if(((v=oe.roles.get(t))==null?void 0:v.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let S=new WeakMap;function U(N){return S.has(N)||S.set(N,$f(N)),S.get(N)}return Array.from(e.querySelectorAll(IS(t))).filter(N=>{if(N.hasAttribute("role")){let bt=N.getAttribute("role");return u?bt.split(" ").filter(Boolean).some(xb=>xb===t):bt.split(" ")[0]===t}return Os(N).some(bt=>bt===t)}).filter(N=>{if(c!==void 0)return c===w0(N);if(d!==void 0)return d===_0(N);if(m!==void 0)return m===C0(N);if(y!==void 0)return y===P0(N);if(P!==void 0)return P===T0(N);if(T!==void 0)return T===R0(N);if(C!==void 0)return C===S0(N);if(w!==void 0||E!==void 0||h!==void 0||q!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===x0(N)),E!==void 0&&le&&(le=E===q0(N)),h!==void 0&&le&&(le=h===A0(N)),q!==void 0){var pe;le&&(le=xe((pe=M0(N))!=null?pe:null,N,q,bt=>bt))}return le}return!0}).filter(N=>a===void 0?!0:xe(or(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,a,pe=>pe)).filter(N=>s===void 0?!0:xe(Yr(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,s,pe=>pe)).filter(N=>i===!1?ks(N,{isSubtreeInaccessible:U})===!1:!0)};function IS(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 zf=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},NS=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+zf(o)},LS=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+'"'+zf(a);let l="";Array.from(e.children).forEach(m=>{l+=E0(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 B0(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Vf=(e,t)=>"Found multiple elements with the text of: "+t,F0=Rt(Zi(lr,Vf),lr.name,"query"),Wf=Zi(rt,Vf),U0=ea(be(rt,rt.name,"findAll")),j0=ea(Rt(Wf,rt.name,"find")),$0=be(rt,rt.name,"getAll"),H0=Rt(Wf,rt.name,"get"),V0=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)},W0=(e,t)=>"Found multiple elements with the placeholder text of: "+t,z0=(e,t)=>"Unable to find an element with the placeholder text of: "+t,K0=be(ws,ws.name,"queryAll"),cr=ot(ws,W0,z0),G0=cr[0],X0=cr[1],Q0=cr[2],J0=cr[3],Y0=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,m=n.normalizer;qe(e);let y=s?xe:St,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=>y(na(T),T,t,P))},Z0=(e,t)=>"Found multiple elements with the text: "+t,eS=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."},tS=be(_s,_s.name,"queryAll"),dr=ot(_s,Z0,eS),rS=dr[0],nS=dr[1],oS=dr[2],iS=dr[3],aS=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:St,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(y=>y.selected).some(y=>u(na(y),y,t,c)):u(d.value,d,t,c))},sS=(e,t)=>"Found multiple elements with the display value: "+t+".",lS=(e,t)=>"Unable to find an element with the display value: "+t+".",uS=be(Cs,Cs.name,"queryAll"),pr=ot(Cs,sS,lS),cS=pr[0],dS=pr[1],pS=pr[2],fS=pr[3],mS=pr[4],bS=/^(img|input|area|.+-.+)$/i,Ps=function(e,t,r){return r===void 0&&(r={}),qe(e),oa("alt",e,t,r).filter(n=>bS.test(n.tagName))},vS=(e,t)=>"Found multiple elements with the alt text: "+t,yS=(e,t)=>"Unable to find an element with the alt text: "+t,hS=be(Ps,Ps.name,"queryAll"),fr=ot(Ps,vS,yS),gS=fr[0],ES=fr[1],wS=fr[2],_S=fr[3],CS=fr[4],PS=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:St,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)||PS(d)&&u(na(d),d,t,c))},TS=(e,t)=>"Found multiple elements with the title: "+t+".",RS=(e,t)=>"Unable to find an element with the title: "+t+".",SS=be(Ts,Ts.name,"queryAll"),mr=ot(Ts,TS,RS),xS=mr[0],qS=mr[1],AS=mr[2],MS=mr[3],kS=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,m=n.checked,y=n.pressed,P=n.current,C=n.level,T=n.expanded,f=n.value,g=f===void 0?{}:f,w=g.now,h=g.min,E=g.max,q=g.text;if(qe(e),c!==void 0){var R;if(((R=oe.roles.get(t))==null?void 0:R.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(d!==void 0){var H;if(((H=oe.roles.get(t))==null?void 0:H.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(m!==void 0){var B;if(((B=oe.roles.get(t))==null?void 0:B.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(y!==void 0){var W;if(((W=oe.roles.get(t))==null?void 0:W.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(P!==void 0){var K;if(((K=oe.roles.get(t))==null?void 0:K.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(C!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(w!==void 0){var O;if(((O=oe.roles.get(t))==null?void 0:O.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var G;if(((G=oe.roles.get(t))==null?void 0:G.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var J;if(((J=oe.roles.get(t))==null?void 0:J.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(q!==void 0){var b;if(((b=oe.roles.get(t))==null?void 0:b.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(T!==void 0){var v;if(((v=oe.roles.get(t))==null?void 0:v.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let S=new WeakMap;function U(N){return S.has(N)||S.set(N,jf(N)),S.get(N)}return Array.from(e.querySelectorAll(OS(t))).filter(N=>{if(N.hasAttribute("role")){let bt=N.getAttribute("role");return u?bt.split(" ").filter(Boolean).some(xb=>xb===t):bt.split(" ")[0]===t}return Os(N).some(bt=>bt===t)}).filter(N=>{if(c!==void 0)return c===E0(N);if(d!==void 0)return d===w0(N);if(m!==void 0)return m===_0(N);if(y!==void 0)return y===C0(N);if(P!==void 0)return P===P0(N);if(T!==void 0)return T===T0(N);if(C!==void 0)return C===R0(N);if(w!==void 0||E!==void 0||h!==void 0||q!==void 0){let le=!0;if(w!==void 0&&le&&(le=w===S0(N)),E!==void 0&&le&&(le=E===x0(N)),h!==void 0&&le&&(le=h===q0(N)),q!==void 0){var pe;le&&(le=xe((pe=A0(N))!=null?pe:null,N,q,bt=>bt))}return le}return!0}).filter(N=>a===void 0?!0:xe(or(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,a,pe=>pe)).filter(N=>s===void 0?!0:xe(Yr(N,{computedStyleSupportsPseudoElements:I().computedStyleSupportsPseudoElements}),N,s,pe=>pe)).filter(N=>i===!1?ks(N,{isSubtreeInaccessible:U})===!1:!0)};function OS(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 zf=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},IS=function(e,t,r){let n=r===void 0?{}:r,o=n.name;return'Found multiple elements with the role "'+t+'"'+zf(o)},NS=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+'"'+zf(a);let l="";Array.from(e.children).forEach(m=>{l+=g0(m,{hidden:i,includeDescription:s!==void 0})});let u;l.length===0?i===!1?u="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":u="There are no available roles.":u=(`
46
46
  Here are the `+(i===!1?"accessible":"available")+` roles:
47
47
 
48
48
  `+l.replace(/\n/g,`
@@ -52,15 +52,15 @@ Here are the `+(i===!1?"accessible":"available")+` roles:
52
52
  `).trim();let c="";a===void 0?c="":typeof a=="string"?c=' and name "'+a+'"':c=" and name `"+a+"`";let d="";return s===void 0?d="":typeof s=="string"?d=' and description "'+s+'"':d=" and description `"+s+"`",(`
53
53
  Unable to find an `+(i===!1?"accessible ":"")+'element with the role "'+t+'"'+c+d+`
54
54
 
55
- `+u).trim()},DS=be(Rs,Rs.name,"queryAll"),br=ot(Rs,NS,LS),BS=br[0],FS=br[1],US=br[2],$S=br[3],jS=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)},HS=(e,t)=>"Found multiple elements by: ["+Is()+'="'+t+'"]',VS=(e,t)=>"Unable to find an element by: ["+Is()+'="'+t+'"]',WS=be(Ss,Ss.name,"queryAll"),vr=ot(Ss,HS,VS),zS=vr[0],KS=vr[1],GS=vr[2],XS=vr[3],QS=vr[4],xs=Object.freeze({__proto__:null,queryAllByLabelText:W0,queryByLabelText:U0,getAllByLabelText:H0,getByLabelText:V0,findAllByLabelText:$0,findByLabelText:j0,queryByPlaceholderText:X0,queryAllByPlaceholderText:G0,getByPlaceholderText:J0,getAllByPlaceholderText:Q0,findAllByPlaceholderText:Y0,findByPlaceholderText:Z0,queryByText:nS,queryAllByText:rS,getByText:iS,getAllByText:oS,findAllByText:aS,findByText:sS,queryByDisplayValue:dS,queryAllByDisplayValue:cS,getByDisplayValue:fS,getAllByDisplayValue:pS,findAllByDisplayValue:mS,findByDisplayValue:bS,queryByAltText:ES,queryAllByAltText:gS,getByAltText:_S,getAllByAltText:wS,findAllByAltText:CS,findByAltText:PS,queryByTitle:qS,queryAllByTitle:xS,getByTitle:MS,getAllByTitle:AS,findAllByTitle:kS,findByTitle:OS,queryByRole:BS,queryAllByRole:DS,getAllByRole:FS,getByRole:US,findAllByRole:$S,findByRole:jS,queryByTestId:zS,queryAllByTestId:WS,getByTestId:GS,getAllByTestId:KS,findAllByTestId:XS,findByTestId:QS});function JS(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 _f={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}}},Cf={doubleClick:"dblClick"},YS=["value","files"],ZS=["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,m=d.value,y=d.files,P=Fr(d,YS);m!==void 0&&ex(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,P);let C=If(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let w=u.bubbles,h=u.cancelable,E=u.detail,q=Fr(u,ZS);f.initEvent(e,w,h,E),Object.keys(q).forEach(R=>{f[R]=q[R]})}return["dataTransfer","clipboardData"].forEach(w=>{let h=u[w];typeof h=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,w,{value:Object.getOwnPropertyNames(h).reduce((E,q)=>(Object.defineProperty(E,q,{value:h[q]}),E),new C.DataTransfer)}):Object.defineProperty(f,w,{value:h}))}),f}Object.keys(_f).forEach(e=>{let t=_f[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 ex(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(Cf).forEach(e=>{let t=Cf[e];ta[e]=function(){return ta[t](...arguments)}});function tx(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
- `)}function rx(e){return Tf.default.compressToEncodedURIComponent(tx(e))}function nx(e){return"https://testing-playground.com/#markup="+rx(e)}var ox=(e,t,r)=>Array.isArray(e)?e.forEach(n=>gf(n,t,r)):gf(e,t,r),ix=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=nx(e.innerHTML);return console.log(`Open this URL in your browser
55
+ `+u).trim()},LS=be(Rs,Rs.name,"queryAll"),br=ot(Rs,IS,NS),DS=br[0],BS=br[1],FS=br[2],US=br[3],jS=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)},$S=(e,t)=>"Found multiple elements by: ["+Is()+'="'+t+'"]',HS=(e,t)=>"Unable to find an element by: ["+Is()+'="'+t+'"]',VS=be(Ss,Ss.name,"queryAll"),vr=ot(Ss,$S,HS),WS=vr[0],zS=vr[1],KS=vr[2],GS=vr[3],XS=vr[4],xs=Object.freeze({__proto__:null,queryAllByLabelText:V0,queryByLabelText:F0,getAllByLabelText:$0,getByLabelText:H0,findAllByLabelText:U0,findByLabelText:j0,queryByPlaceholderText:G0,queryAllByPlaceholderText:K0,getByPlaceholderText:Q0,getAllByPlaceholderText:X0,findAllByPlaceholderText:J0,findByPlaceholderText:Y0,queryByText:rS,queryAllByText:tS,getByText:oS,getAllByText:nS,findAllByText:iS,findByText:aS,queryByDisplayValue:cS,queryAllByDisplayValue:uS,getByDisplayValue:pS,getAllByDisplayValue:dS,findAllByDisplayValue:fS,findByDisplayValue:mS,queryByAltText:gS,queryAllByAltText:hS,getByAltText:wS,getAllByAltText:ES,findAllByAltText:_S,findByAltText:CS,queryByTitle:xS,queryAllByTitle:SS,getByTitle:AS,getAllByTitle:qS,findAllByTitle:MS,findByTitle:kS,queryByRole:DS,queryAllByRole:LS,getAllByRole:BS,getByRole:FS,findAllByRole:US,findByRole:jS,queryByTestId:WS,queryAllByTestId:VS,getByTestId:KS,getAllByTestId:zS,findAllByTestId:GS,findByTestId:XS});function QS(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 _f={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}}},Cf={doubleClick:"dblClick"},JS=["value","files"],YS=["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,m=d.value,y=d.files,P=Fr(d,JS);m!==void 0&&ZS(t,m),y!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:y}),Object.assign(t,P);let C=If(t),T=C[a]||C.Event,f;if(typeof T=="function")f=new T(e,u);else{f=C.document.createEvent(a);let w=u.bubbles,h=u.cancelable,E=u.detail,q=Fr(u,YS);f.initEvent(e,w,h,E),Object.keys(q).forEach(R=>{f[R]=q[R]})}return["dataTransfer","clipboardData"].forEach(w=>{let h=u[w];typeof h=="object"&&(typeof C.DataTransfer=="function"?Object.defineProperty(f,w,{value:Object.getOwnPropertyNames(h).reduce((E,q)=>(Object.defineProperty(E,q,{value:h[q]}),E),new C.DataTransfer)}):Object.defineProperty(f,w,{value:h}))}),f}Object.keys(_f).forEach(e=>{let t=_f[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 ZS(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(Cf).forEach(e=>{let t=Cf[e];ta[e]=function(){return ta[t](...arguments)}});function ex(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
56
+ `)}function tx(e){return Tf.default.compressToEncodedURIComponent(ex(e))}function rx(e){return"https://testing-playground.com/#markup="+tx(e)}var nx=(e,t,r)=>Array.isArray(e)?e.forEach(n=>gf(n,t,r)):gf(e,t,r),ox=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=rx(e.innerHTML);return console.log(`Open this URL in your browser
57
57
 
58
- `+t),t},Pf={debug:ox,logTestingPlaygroundURL:ix},wI=typeof document<"u"&&document.body?JS(document.body,xs,Pf):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),Pf);function Je(e,t){return I().eventWrapper(e)}function se(e){let t=Rl(e,$t),r=Le(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Je(()=>t.focus()):Je(()=>r?.blur()),Ml(t??e.ownerDocument.body))}function Kf(e){!$t(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&&x(n,"label")&&n.control;if(o&&o!==t)return()=>{$t(o)&&(se(o),r.dispatchEvent(o,Tl(e)))};if(x(t,"input",{type:"file"}))return()=>{Kf(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var xt=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"&&xt in e}function Xf(e){return!!e&&typeof e=="object"&&Ae in e}function Qf(e,t){e[ia]===void 0&&(e[ia]=e.value),e[xt]=t,e.value=Object.assign(new String(t),{[xt]:!0})}function Z(e){return e[xt]===void 0?e.value:String(e[xt])}function yr(e){e[xt]=void 0}function aa(e){e[ia]=void 0}function Jf(e){return e[ia]}function Yf(e,t){e[Ae]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Z(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[Ae]===void 0?i(r):e[Ae].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[Ae]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[Ae]:!0});try{e.setSelectionRange(c,u)}catch{}}function Me(e){var t,r,n;let o=(t=e[Ae])!==null&&t!==void 0?t:{anchorOffset:(r=e.selectionStart)!==null&&r!==void 0?r:0,focusOffset:(n=e.selectionEnd)!==null&&n!==void 0?n:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function Zf(e){return!!e[Ae]}function hr(e){e[Ae]=void 0}var sa=globalThis.parseInt;function tm(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,em(t,o)}return e.length===2?e:em(t,2)}function em(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 rm=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(rm||{});function nm(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 om(e){return x(e,"textarea")||x(e,"input")&&e.type in rm}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=im(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(x(o,"br")){let i=im(o,void 0,r);return i?ua(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&x(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 im(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]),sx(e,r===1?"next":"previous",ax)}function ax(e){if(ua(e))return!0;if(Ls(e)){if(x(e,["input","textarea"]))return e.type!=="hidden";if(x(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 sx(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=lx(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 lx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function ux(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function am(e){ux(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function sm(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 lm(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),Zf(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function da(e){let t=cx(e);if(t&&X(t))return{type:"input",selection:Me(t)};let r=t?.ownerDocument.getSelection();return{type:De(e)&&r?.anchorNode&&De(r.anchorNode)?"contenteditable":"default",selection:r}}function cx(e){return e.nodeType===1?e:e.parentElement}function um(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 dm(e){return x(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=um(t);o&&(!dm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?dx(e,t,o,r,n):px(e,t,o,r,n)))}function dx(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 px(e,t,r,n,o){let i=n;if(om(t)){let u=nm(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}=fx(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||x(t,"input",{type:"number"})&&!mx(a)||(Qf(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),dm(t)?Ns(t,a)&&(cm(e,t,s,{}),e.dispatchUIEvent(t,"change"),aa(t)):cm(e,t,s,{data:n,inputType:o}))}function fx(e,t,{startOffset:r,endOffset:n},o){let i=Z(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),l=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(l,i.length),c=`${s}${e}${u}`,d=a+e.length;if(x(t,"input",{type:"time"})){let m=tm(c);m!==""&&Ns(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function cm(e,t,r,n){e.dispatchUIEvent(t,"input",n),lm(t,r)}function mx(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 pm(e){return e?ce(e)?e.textContent:Z(e):null}function fm(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 mm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Dr),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||te(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{let c=Number(l.getAttribute("tabindex")),d=Number(u.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=x(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(x(u,"input",{type:"radio"})&&u.name){if(u===e){a.push(u);return}else if(u.name===s)return;if(u.checked){a=a.filter(c=>!x(c,"input",{type:"radio",name:u.name})),a.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}a.push(u)});for(let l=a.findIndex(u=>u===e);;)if(l+=t?-1:1,l===a.length?l=0:l===-1&&(l=a.length-1),a[l]===e||a[l]===r.body||fm(a[l]))return a[l]}function Ds(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:Z(e).length});let r=(t=De(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function bm(e){var t;if(X(e))return Me(e).startOffset===0&&Me(e).endOffset===Z(e).length;let r=(t=De(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function 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=vm[e.key])===null||o===void 0?void 0:o.call(vm,e,t,r))!==null&&n!==void 0?n:bx(e,t,r)};var vm={ArrowDown:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>Ds(t,-1),ArrowRight:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>Ds(t,1),ArrowUp:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,-1)},Backspace:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentForward")}},End:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{var r,n;let o=(r=(n=pm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;it(t,o,o)}},Home:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{it(t,0,0)}},PageDown:(e,t)=>{if(x(t,["input"]))return()=>{let r=Z(t).length;it(t,r,r)}},PageUp:(e,t)=>{if(x(t,["input"]))return()=>{it(t,0,0)}},Tab:(e,t,r)=>()=>{let n=mm(ht(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},bx=(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(x(t,"button")||x(t,"input")&&vx.includes(t.type)||x(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(x(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&yx.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 vx=["button","color","file","image","reset","submit"],yx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=ym[e.key])===null||n===void 0?void 0:n.call(ym,e,t,r)};var ym={" ":(e,t,r)=>{if(Br(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 hm(e){return Bs[e].EventType}var hx=["MouseEvent","PointerEvent"];function gm(e){return hx.includes(hm(e))}function Em(e){return hm(e)==="KeyboardEvent"}var gx={ClipboardEvent:[wx],Event:[],FocusEvent:[wr,_x],InputEvent:[wr,Cx],MouseEvent:[wr,Fs,wm],PointerEvent:[wr,Fs,wm,Tx],KeyboardEvent:[wr,Fs,Px]};function Us(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=Bs[e],a=new(Ex(n))[o](e,i);return gx[o].forEach(s=>s(a,r??{})),a}function Ex(e){var t,r,n,o,i,a,s,l,u,c,d,m,y,P,C;let T=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},g=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},w=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},h=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},E=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},q=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends q{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends q{},B=(c=e.InputEvent)!==null&&c!==void 0?c:class extends q{},W=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends q{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends q{},O=(y=e.DragEvent)!==null&&y!==void 0?y:class extends K{},G=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},J=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends q{};return{Event:T,AnimationEvent:f,ClipboardEvent:g,PopStateEvent:w,ProgressEvent:h,TransitionEvent:E,UIEvent:q,CompositionEvent:R,FocusEvent:H,InputEvent:B,KeyboardEvent:W,MouseEvent:K,DragEvent:O,PointerEvent:G,TouchEvent:J}}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 wx(e,{clipboardData:t}){Ye(e,{clipboardData:t})}function _x(e,{relatedTarget:t}){Ye(e,{relatedTarget:t})}function Cx(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:m}){Ye(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(y){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:m}[y]}})}function Px(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 wm(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:d,pageX:m,pageY:y}){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(m),pageY:z(y)})}function Tx(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 _m(e,t,r,n=!1){(gm(t)||Em(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=Us(t,e,r);return $s.call(this,e,o,n)}function $s(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 Cm=Symbol("patched focus/blur methods");function js(e){if(e.prototype[Cm])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},[Cm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Pm(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=Pm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),ke(a,"blur",{relatedTarget:null}),ke(a,"focusout",{relatedTarget:null})}}function Pm(e){let t=Le(e);return t?.tagName==="BODY"?null:t}var Hs=Symbol("Interceptor for programmatical calls");function qt(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][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 Tm(e){qt(e,"value",function(r){let n=Gf(r);return n&&am(this),{applyNative:!!n,realArgs:Rx(this,r),then:n?void 0:()=>sm(this,String(r))}})}function Rx(e,t){return x(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Rm(e){qt(e,"setSelectionRange",function(r,...n){let o=Xf(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),qt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"select",function(){return{realArgs:[],then:()=>Yf(e,{anchorOffset:0,focusOffset:Z(e).length})}})}function Sm(e){qt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var At=Symbol("Node prepared with document state workarounds");function Vs(e){e[At]||(e.addEventListener("focus",t=>{let r=t.target;xm(r)},{capture:!0,passive:!0}),e.activeElement&&xm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Jf(r);n!==void 0&&(r.value!==n&&ke(r,"change"),aa(r))},{capture:!0,passive:!0}),e[At]=At)}function xm(e){e[At]||(x(e,["input","textarea"])&&(Tm(e),Rm(e),Sm(e)),e[At]=At)}function qm(e){return Sx(e)?e:e.ownerDocument}function Sx(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})({}),xx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Am(e){return xx.includes(e)}var qx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Mm(e){return qx.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=ht(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Am(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Mm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(ht(t.config.document),"keypress",{key:o,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),Am(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(ht(t.config.document),"keyup",{key:n,code:o},!i),Mm(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 km=[..."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 Om=[{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 Ax(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Mt=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=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(){Ax(this,"pressed",{})}},Im={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Ws(e=0){return e in Im?Im[e]:Number(e)}var Nm={1:2,2:1};function Cr(e){return e=Ws(e),e in Nm?Nm[e]:e}function Mx(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(){Mx(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??Z(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Lm(e,r)}function Lm(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 Lm(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 Dm({document:e,target:t,clickCount:r,node:n,offset:o}){if(ql(t))return;let i=X(t),a=String(i?Z(t):t.textContent),[s,l]=n?[o,o]:kx(a,o,r);if(i)return Ee(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{let{node:u,offset:c}=Pr({target:t,node:n,offset:s}),{node:d,offset:m}=Pr({target:t,node:n,offset:l}),y=t.ownerDocument.createRange();try{y.setStart(u,c),y.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(y.cloneRange()),y}}function kx(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,m,y,P,C,T,f,g,w,h,E,q,R,H,B;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((m=e.coords)===null||m===void 0?void 0:m.offsetY)!==((y=t.coords)===null||y===void 0?void 0:y.offsetY)||((P=e.coords)===null||P===void 0?void 0:P.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((g=e.coords)===null||g===void 0?void 0:g.screenX)!==((w=t.coords)===null||w===void 0?void 0:w.screenX)||((h=e.coords)===null||h===void 0?void 0:h.screenY)!==((E=t.coords)===null||E===void 0?void 0:E.screenY)||((q=e.caret)===null||q===void 0?void 0:q.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((H=e.caret)===null||H===void 0?void 0:H.offset)!==((B=t.caret)===null||B===void 0?void 0:B.offset)}function 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=Dm({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 Mt),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 kt(e,t){var r;return((r=$m(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Ox(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 Fm=Symbol("Last check for pointer-events");function $m(e,t){let r=t[Fm];if(!(e.config.pointerEventsCheck!==st.Never&&(!r||Um(e.config.pointerEventsCheck,st.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||Um(e.config.pointerEventsCheck,st.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=Ox(t);return t[Fm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function dt(e,t){let r=$m(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\`:`,"",Ix(r.tree)].join(`
60
- `))}function Ix(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Nx(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 Nx(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(x(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(x(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function Um(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:()=>{kt(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();kt(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Cr(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Oe(this,"pointerId",void 0),Oe(this,"pointerType",void 0),Oe(this,"isPrimary",void 0),Oe(this,"buttons",void 0),Oe(this,"isMultitouch",!1),Oe(this,"isCancelled",!1),Oe(this,"isDown",!1),Oe(this,"isPrevented",!1),Oe(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var 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 Mt,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 Hm(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Vm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Wm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function zm(e){return this.pointer({target:e})}async function Km(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 Xm={"{":"}","[":"]"};function ga(e,t){let r=0,n=e[r]in Xm?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Lx(e,r,t):Dx(e,r,i,t)}}function Lx(e,t,r){let n=e[t];return Qm(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Dx(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];Qm(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=Xm[r],y=e[t]===m?m:"";if(!y)throw new Error(Jm([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=y.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Bx(d,c)}}function Qm(e,t,r,n){if(!e)throw new Error(Jm("key descriptor",t[r],t,n))}function Bx(e,t){if(e)return e==="/";if(t)return!1}function Jm(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
58
+ `+t),t},Pf={debug:nx,logTestingPlaygroundURL:ox},EI=typeof document<"u"&&document.body?QS(document.body,xs,Pf):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),Pf);function Je(e,t){return I().eventWrapper(e)}function se(e){let t=Rl(e,jt),r=Le(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(t?Je(()=>t.focus()):Je(()=>r?.blur()),Ml(t??e.ownerDocument.body))}function Kf(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&&x(n,"label")&&n.control;if(o&&o!==t)return()=>{jt(o)&&(se(o),r.dispatchEvent(o,Tl(e)))};if(x(t,"input",{type:"file"}))return()=>{Kf(t),t.dispatchEvent(new(V(t)).Event("fileDialog")),se(t)}};var xt=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"&&xt in e}function Xf(e){return!!e&&typeof e=="object"&&Ae in e}function Qf(e,t){e[ia]===void 0&&(e[ia]=e.value),e[xt]=t,e.value=Object.assign(new String(t),{[xt]:!0})}function Z(e){return e[xt]===void 0?e.value:String(e[xt])}function yr(e){e[xt]=void 0}function aa(e){e[ia]=void 0}function Jf(e){return e[ia]}function Yf(e,t){e[Ae]=t}function Ee(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=Z(e).length,i=d=>Math.max(0,Math.min(o,d)),a=n==="replace"||e[Ae]===void 0?i(r):e[Ae].anchorOffset,s=i(t),l=Math.min(a,s),u=Math.max(a,s);if(e[Ae]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let c=Object.assign(new Number(l),{[Ae]:!0});try{e.setSelectionRange(c,u)}catch{}}function Me(e){var t,r,n;let o=(t=e[Ae])!==null&&t!==void 0?t:{anchorOffset:(r=e.selectionStart)!==null&&r!==void 0?r:0,focusOffset:(n=e.selectionEnd)!==null&&n!==void 0?n:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function Zf(e){return!!e[Ae]}function hr(e){e[Ae]=void 0}var sa=globalThis.parseInt;function tm(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,em(t,o)}return e.length===2?e:em(t,2)}function em(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 rm=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(rm||{});function nm(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 om(e){return x(e,"textarea")||x(e,"input")&&e.type in rm}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=im(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(x(o,"br")){let i=im(o,void 0,r);return i?ua(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&x(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 im(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]),ax(e,r===1?"next":"previous",ix)}function ix(e){if(ua(e))return!0;if(Ls(e)){if(x(e,["input","textarea"]))return e.type!=="hidden";if(x(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 ax(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=sx(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 sx(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var gr=Symbol("Track programmatic changes for React workaround");function lx(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&V(e).REACT_VERSION===17}function am(e){lx(e)&&(e[gr]={previousValue:String(e.value),tracked:[]})}function sm(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 lm(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),Zf(e)&&Ee(e,{focusOffset:o?t:e.value.length})}function da(e){let t=ux(e);if(t&&X(t))return{type:"input",selection:Me(t)};let r=t?.ownerDocument.getSelection();return{type:De(e)&&r?.anchorNode&&De(r.anchorNode)?"contenteditable":"default",selection:r}}function ux(e){return e.nodeType===1?e:e.parentElement}function um(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 dm(e){return x(e,"input")&&["date","time"].includes(e.type)}function _e(e,t,r,n="insertText"){let o=um(t);o&&(!dm(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?cx(e,t,o,r,n):dx(e,t,o,r,n)))}function cx(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 dx(e,t,r,n,o){let i=n;if(om(t)){let u=nm(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}=px(i,t,r,o);a===l&&s===r.startOffset&&s===r.endOffset||x(t,"input",{type:"number"})&&!fx(a)||(Qf(t,a),we({focusNode:t,anchorOffset:s,focusOffset:s}),dm(t)?Ns(t,a)&&(cm(e,t,s,{}),e.dispatchUIEvent(t,"change"),aa(t)):cm(e,t,s,{data:n,inputType:o}))}function px(e,t,{startOffset:r,endOffset:n},o){let i=Z(t),a=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),s=i.substring(0,a),l=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),u=i.substring(l,i.length),c=`${s}${e}${u}`,d=a+e.length;if(x(t,"input",{type:"time"})){let m=tm(c);m!==""&&Ns(t,m)&&(c=m,d=m.length)}return{oldValue:i,newValue:c,newOffset:d}}function cm(e,t,r,n){e.dispatchUIEvent(t,"input",n),lm(t,r)}function fx(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 pm(e){return e?ce(e)?e.textContent:Z(e):null}function fm(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 mm(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Dr),o=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||te(l)));Number(e.getAttribute("tabindex"))>=0&&o.sort((l,u)=>{let c=Number(l.getAttribute("tabindex")),d=Number(u.getAttribute("tabindex"));return c===d?0:c===0?1:d===0?-1:c-d});let i={},a=[r.body],s=x(e,"input",{type:"radio"})?e.name:void 0;o.forEach(l=>{let u=l;if(x(u,"input",{type:"radio"})&&u.name){if(u===e){a.push(u);return}else if(u.name===s)return;if(u.checked){a=a.filter(c=>!x(c,"input",{type:"radio",name:u.name})),a.push(u),i[u.name]=u;return}if(typeof i[u.name]<"u")return}a.push(u)});for(let l=a.findIndex(u=>u===e);;)if(l+=t?-1:1,l===a.length?l=0:l===-1&&(l=a.length-1),a[l]===e||a[l]===r.body||fm(a[l]))return a[l]}function Ds(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:Z(e).length});let r=(t=De(e))!==null&&t!==void 0?t:e.ownerDocument.body;we({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function bm(e){var t;if(X(e))return Me(e).startOffset===0&&Me(e).endOffset===Z(e).length;let r=(t=De(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function 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=vm[e.key])===null||o===void 0?void 0:o.call(vm,e,t,r))!==null&&n!==void 0?n:mx(e,t,r)};var vm={ArrowDown:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,1)},ArrowLeft:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,-1):()=>Ds(t,-1),ArrowRight:(e,t,r)=>x(t,"input",{type:"radio"})?()=>Er(r,t,1):()=>Ds(t,1),ArrowUp:(e,t,r)=>{if(x(t,"input",{type:"radio"}))return()=>Er(r,t,-1)},Backspace:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(ve(t))return()=>{_e(r,t,"","deleteContentForward")}},End:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{var r,n;let o=(r=(n=pm(t))===null||n===void 0?void 0:n.length)!==null&&r!==void 0?r:0;it(t,o,o)}},Home:(e,t)=>{if(x(t,["input","textarea"])||ce(t))return()=>{it(t,0,0)}},PageDown:(e,t)=>{if(x(t,["input"]))return()=>{let r=Z(t).length;it(t,r,r)}},PageUp:(e,t)=>{if(x(t,["input"]))return()=>{it(t,0,0)}},Tab:(e,t,r)=>()=>{let n=mm(ht(r.config.document),r.system.keyboard.modifiers.Shift);se(n),X(n)&&Ee(n,{anchorOffset:0,focusOffset:n.value.length})}},mx=(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(x(t,"button")||x(t,"input")&&bx.includes(t.type)||x(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(x(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&vx.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 bx=["button","color","file","image","reset","submit"],vx=["email","month","password","search","tel","text","url","week"];ie.keyup=(e,t,r)=>{var n;return(n=ym[e.key])===null||n===void 0?void 0:n.call(ym,e,t,r)};var ym={" ":(e,t,r)=>{if(Br(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 hm(e){return Bs[e].EventType}var yx=["MouseEvent","PointerEvent"];function gm(e){return yx.includes(hm(e))}function Em(e){return hm(e)==="KeyboardEvent"}var hx={ClipboardEvent:[Ex],Event:[],FocusEvent:[wr,wx],InputEvent:[wr,_x],MouseEvent:[wr,Fs,wm],PointerEvent:[wr,Fs,wm,Px],KeyboardEvent:[wr,Fs,Cx]};function Us(e,t,r){let n=V(t),{EventType:o,defaultInit:i}=Bs[e],a=new(gx(n))[o](e,i);return hx[o].forEach(s=>s(a,r??{})),a}function gx(e){var t,r,n,o,i,a,s,l,u,c,d,m,y,P,C;let T=(t=e.Event)!==null&&t!==void 0?t:class{},f=(r=e.AnimationEvent)!==null&&r!==void 0?r:class extends T{},g=(n=e.ClipboardEvent)!==null&&n!==void 0?n:class extends T{},w=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends T{},h=(i=e.ProgressEvent)!==null&&i!==void 0?i:class extends T{},E=(a=e.TransitionEvent)!==null&&a!==void 0?a:class extends T{},q=(s=e.UIEvent)!==null&&s!==void 0?s:class extends T{},R=(l=e.CompositionEvent)!==null&&l!==void 0?l:class extends q{},H=(u=e.FocusEvent)!==null&&u!==void 0?u:class extends q{},B=(c=e.InputEvent)!==null&&c!==void 0?c:class extends q{},W=(d=e.KeyboardEvent)!==null&&d!==void 0?d:class extends q{},K=(m=e.MouseEvent)!==null&&m!==void 0?m:class extends q{},O=(y=e.DragEvent)!==null&&y!==void 0?y:class extends K{},G=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends K{},J=(C=e.TouchEvent)!==null&&C!==void 0?C:class extends q{};return{Event:T,AnimationEvent:f,ClipboardEvent:g,PopStateEvent:w,ProgressEvent:h,TransitionEvent:E,UIEvent:q,CompositionEvent:R,FocusEvent:H,InputEvent:B,KeyboardEvent:W,MouseEvent:K,DragEvent:O,PointerEvent:G,TouchEvent:J}}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 Ex(e,{clipboardData:t}){Ye(e,{clipboardData:t})}function wx(e,{relatedTarget:t}){Ye(e,{relatedTarget:t})}function _x(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:m}){Ye(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(y){return!!{Alt:t,AltGraph:i,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:c,Shift:o,Symbol:d,SymbolLock:m}[y]}})}function Cx(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 wm(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:c,offsetY:d,pageX:m,pageY:y}){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(m),pageY:z(y)})}function Px(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 _m(e,t,r,n=!1){(gm(t)||Em(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 Cm=Symbol("patched focus/blur methods");function $s(e){if(e.prototype[Cm])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},[Cm]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function o(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=Pm(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=Pm(this.ownerDocument);if(a!==this)return;n=Symbol("blur call"),r.call(this),ke(a,"blur",{relatedTarget:null}),ke(a,"focusout",{relatedTarget:null})}}function Pm(e){let t=Le(e);return t?.tagName==="BODY"?null:t}var Hs=Symbol("Interceptor for programmatical calls");function qt(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][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 Tm(e){qt(e,"value",function(r){let n=Gf(r);return n&&am(this),{applyNative:!!n,realArgs:Tx(this,r),then:n?void 0:()=>sm(this,String(r))}})}function Tx(e,t){return x(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Rm(e){qt(e,"setSelectionRange",function(r,...n){let o=Xf(r);return{applyNative:!!o,realArgs:[Number(r),...n],then:()=>o?void 0:hr(e)}}),qt(e,"selectionStart",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"selectionEnd",function(r){return{realArgs:r,then:()=>hr(e)}}),qt(e,"select",function(){return{realArgs:[],then:()=>Yf(e,{anchorOffset:0,focusOffset:Z(e).length})}})}function Sm(e){qt(e,"setRangeText",function(...r){return{realArgs:r,then:()=>{yr(e),hr(e)}}})}var At=Symbol("Node prepared with document state workarounds");function Vs(e){e[At]||(e.addEventListener("focus",t=>{let r=t.target;xm(r)},{capture:!0,passive:!0}),e.activeElement&&xm(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Jf(r);n!==void 0&&(r.value!==n&&ke(r,"change"),aa(r))},{capture:!0,passive:!0}),e[At]=At)}function xm(e){e[At]||(x(e,["input","textarea"])&&(Tm(e),Rm(e),Sm(e)),e[At]=At)}function qm(e){return Rx(e)?e:e.ownerDocument}function Rx(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})({}),Sx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Am(e){return Sx.includes(e)}var xx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Mm(e){return xx.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=ht(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),Am(o)&&(this.modifiers[o]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:o,code:i,repeat:n});Mm(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(o)&&t.dispatchUIEvent(ht(t.config.document),"keypress",{key:o,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),o=String(r.code),i=this.pressed.isUnprevented(o);this.pressed.delete(o),Am(n)&&!this.pressed.values().find(a=>a.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(ht(t.config.document),"keyup",{key:n,code:o},!i),Mm(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 km=[..."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 Om=[{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 qx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Mt=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=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(){qx(this,"pressed",{})}},Im={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Ws(e=0){return e in Im?Im[e]:Number(e)}var Nm={1:2,2:1};function Cr(e){return e=Ws(e),e in Nm?Nm[e]:e}function Ax(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(){Ax(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??Z(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Lm(e,r)}function Lm(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 Lm(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 Dm({document:e,target:t,clickCount:r,node:n,offset:o}){if(ql(t))return;let i=X(t),a=String(i?Z(t):t.textContent),[s,l]=n?[o,o]:Mx(a,o,r);if(i)return Ee(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{let{node:u,offset:c}=Pr({target:t,node:n,offset:s}),{node:d,offset:m}=Pr({target:t,node:n,offset:l}),y=t.ownerDocument.createRange();try{y.setStart(u,c),y.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let P=e.getSelection();return P?.removeAllRanges(),P?.addRange(y.cloneRange()),y}}function Mx(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,m,y,P,C,T,f,g,w,h,E,q,R,H,B;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((c=e.coords)===null||c===void 0?void 0:c.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((m=e.coords)===null||m===void 0?void 0:m.offsetY)!==((y=t.coords)===null||y===void 0?void 0:y.offsetY)||((P=e.coords)===null||P===void 0?void 0:P.pageX)!==((C=t.coords)===null||C===void 0?void 0:C.pageX)||((T=e.coords)===null||T===void 0?void 0:T.pageY)!==((f=t.coords)===null||f===void 0?void 0:f.pageY)||((g=e.coords)===null||g===void 0?void 0:g.screenX)!==((w=t.coords)===null||w===void 0?void 0:w.screenX)||((h=e.coords)===null||h===void 0?void 0:h.screenY)!==((E=t.coords)===null||E===void 0?void 0:E.screenY)||((q=e.caret)===null||q===void 0?void 0:q.node)!==((R=t.caret)===null||R===void 0?void 0:R.node)||((H=e.caret)===null||H===void 0?void 0:H.offset)!==((B=t.caret)===null||B===void 0?void 0:B.offset)}function 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=Dm({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 Mt),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 kt(e,t){var r;return((r=jm(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function kx(e){let t=V(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var Fm=Symbol("Last check for pointer-events");function jm(e,t){let r=t[Fm];if(!(e.config.pointerEventsCheck!==st.Never&&(!r||Um(e.config.pointerEventsCheck,st.EachApiCall)&&r[re.Call]!==_r(e,re.Call)||Um(e.config.pointerEventsCheck,st.EachTrigger)&&r[re.Trigger]!==_r(e,re.Trigger))))return r?.result;let o=kx(t);return t[Fm]={[re.Call]:_r(e,re.Call),[re.Trigger]:_r(e,re.Trigger),result:o},o}function dt(e,t){let r=jm(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\`:`,"",Ox(r.tree)].join(`
60
+ `))}function Ox(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,Ix(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 Ix(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(x(e,["button","input","meter","output","progress","select","textarea"])&&(!((t=e.labels)===null||t===void 0)&&t.length))r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(x(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function Um(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:()=>{kt(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();kt(t,r)&&(t.dispatchUIEvent(r,"pointerout",o),n.forEach(i=>t.dispatchUIEvent(i,"pointerleave",o))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Cr(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},o){Oe(this,"pointerId",void 0),Oe(this,"pointerType",void 0),Oe(this,"isPrimary",void 0),Oe(this,"buttons",void 0),Oe(this,"isMultitouch",!1),Oe(this,"isCancelled",!1),Oe(this,"isDown",!1),Oe(this,"isPrevented",!1),Oe(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=o}};function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var 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 Mt,this.mouse=new va,this.pointers.new("mouse","mouse",this.buttons)}};function $m(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(){$m(this,"keyboard",new fa(this)),$m(this,"pointer",new ha(this))}};async function Hm(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Vm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Wm(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function zm(e){return this.pointer({target:e})}async function Km(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 Xm={"{":"}","[":"]"};function ga(e,t){let r=0,n=e[r]in Xm?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?Nx(e,r,t):Lx(e,r,i,t)}}function Nx(e,t,r){let n=e[t];return Qm(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Lx(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];Qm(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=Xm[r],y=e[t]===m?m:"";if(!y)throw new Error(Jm([!c&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=y.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:Dx(d,c)}}function Qm(e,t,r,n){if(!e)throw new Error(Jm("key descriptor",t[r],t,n))}function Dx(e,t){if(e)return e==="/";if(t)return!1}function Jm(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 Ym(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 y;return((y=d.key)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function Zm(e){let t=Ym(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await Fx(this,t[r])}async function Fx(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 eb(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":Ux(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=vt(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Ux(e){let t=Me(e);return Z(e).substring(t.startOffset,t.endOffset)}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,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(t,n),n}async function rb(){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 nb(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"?$x(n,e):e)!==null&&r!==void 0?r:await Pl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function $x(e,t){let r=vt(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 ib(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 jx(this,r[n]);this.system.pointer.resetClickCount()}async function jx(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:Hx(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:ob(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:ob(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 ob(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 Hx(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 ab(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),!bm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function sb(e,t){return ub.call(this,!0,e,t)}async function lb(e,t){return ub.call(this,!1,e,t)}async function ub(e,t,r){if(!e&&!t.multiple)throw I().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw I().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!te(s));if(te(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(x(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:kt(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),se(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await Re(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:kt(this,t);s?await this.click(t):se(t),a(i[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Re(this.config)}else throw I().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw I().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function cb(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 eb(this))}var db=Symbol("files and value properties are mocked");function Ks(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function pb(e,t){var r;(r=e[db])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Ks(e,"type",n),Ks(e,"value",o),Ks(e,"files",i)}e[db]={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 fb(e,t){let r=x(e,"label")?e.control:e;if(!r||!x(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(te(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||Vx(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))})||(pb(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 Vx(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:Hm,dblClick:Vm,tripleClick:Wm,hover:zm,unhover:Km,tab:Gm,keyboard:Zm,copy:tb,cut:rb,paste:nb,pointer:ib,clear:ab,deselectOptions:lb,selectOptions:sb,type:cb,upload:fb};function mb(e){return I().asyncWrapper(e)}var bb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:km,pointerMap:Om,pointerEventsCheck:st.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Wx={...bb,writeToClipboard:!0};function vb(e={},t=Wx,r){let n=Gx(e,r,t);return{...t,...e,document:n}}function yb(e={}){var t;let r=vb(e);Vs(r.document),js(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return Cl(n),Xs(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=vb(r,bb,n);Vs(i.document),js(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 zx(e){return Xs({...this.config,...e},this.system).api}function Kx(e,t){function r(...n){return at(e,re.Call),mb(()=>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:$s.bind(r),dispatchUIEvent:_m.bind(r),system:t,levelRefs:{},...Gs}),{instance:r,api:{...Object.fromEntries(Object.entries(Gs).map(([n,o])=>[n,Kx(r,o)])),setup:zx.bind(r)}}}function Gx(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&qm(t))!==null&&n!==void 0?n:r.document}var Qs={};Ib(Qs,{clear:()=>Xx,click:()=>Qx,copy:()=>Jx,cut:()=>Yx,dblClick:()=>Zx,deselectOptions:()=>eq,hover:()=>tq,keyboard:()=>rq,paste:()=>oq,pointer:()=>nq,selectOptions:()=>iq,tab:()=>cq,tripleClick:()=>aq,type:()=>sq,unhover:()=>lq,upload:()=>uq});function Xx(e){return ee().api.clear(e)}function Qx(e,t={}){return ee(t,e).api.click(e)}function Jx(e={}){return ee(e).api.copy()}function Yx(e={}){return ee(e).api.cut()}function Zx(e,t={}){return ee(t).api.dblClick(e)}function eq(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function tq(e,t={}){return ee(t).api.hover(e)}async function rq(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function nq(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function oq(e,t){return ee(t).api.paste(e)}function iq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function aq(e,t={}){return ee(t).api.tripleClick(e)}function sq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function lq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function uq(e,t,r={}){return ee(r).api.upload(e,t)}function cq(e={}){return ee().api.tab(e)}var _a={...Qs,setup:yb};var hb=!1,gb=!1,Js=null;function dq(e){return new Promise(t=>setTimeout(t,e))}function Eb(e){try{if(typeof e=="string")return new URL(e,pq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function pq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function fq(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 mq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function bq(e){let t=Mr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Bt(e.body),{status:e.statusCode,headers:r})}async function vq(e,t,r){let n=Eb(t),o=fq(t,r),i=Nt(Js?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:mq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Dt(i);return s.delayMs&&s.delayMs>0&&await dq(s.delayMs),bq(s)}function yq(){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=Eb(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},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=Dt(l),m=()=>{let y=Bt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:y,configurable:!0},response:{value:y,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};d.delayMs&&d.delayMs>0?setTimeout(m,d.delayMs):setTimeout(m,0)},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function wb(e){if(Js=e,!hb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>vq(t,r,n),hb=!0}!gb&&typeof globalThis.XMLHttpRequest=="function"&&(yq(),gb=!0)}function pt(){return _a.setup({delay:null})}function Ca(e){return dl(e.trim())??e.trim()}function Pb(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?pl(i.name,document,t):null}function ft(e){return typeof e=="string"?e:e.selector}function _b(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=cl(e);if(!r)return;if(r.kind==="nth"){let a=j(r.base,Number.parseInt(r.arg,10));return a?[a]:[]}let n=t?{selector:r.base,index:null,parent:t}:r.base,o=j(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 j(e,t){if(typeof e=="string"){let s=Pa(e,void 0);return s!==void 0?_b(s,t):Pb(e,t)}let r=Pa(e.selector,e.parent);if(r!==void 0)return _b(r,e.index??t);let n=e.parent?j(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 Cb(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}var Ta=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=j(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=j(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+ft(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 pt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await pt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await pt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!Cb(o))throw new Error("Element is not a form field: "+ft(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=pt();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(","),y=l.slice(0,m),P=l.slice(m+1),C=y.match(/data:([^;]+)/);C&&(c=C[1]);let T=y.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),g=new Uint8Array(f.length);for(let w=0;w<f.length;w++)g[w]=f.charCodeAt(w);d=new Blob([g],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let y=u.split(".").pop()?.toLowerCase()||"";c=s[y]||"application/octet-stream",d=new Blob(["Mock file content for "+u],{type:c})}a.push(new File([d],u,{type:c}))}else if(l instanceof File)a.push(l);else if(l&&typeof l=="object"&&"name"in l){let u=l,c=u.type||"application/octet-stream",d;if(u.base64)try{let m=atob(u.base64),y=new Uint8Array(m.length);for(let P=0;P<m.length;P++)y[P]=m.charCodeAt(P);d=new Blob([y],{type:c})}catch{d=new Blob([u.base64],{type:c})}else d=new Blob([u.content||"Mock content"],{type:c});a.push(new File([d],u.name,{type:c}))}if(a.length>0){let l=new DataTransfer;for(let u of a)l.items.add(u);o.files=l.files,o.dispatchEvent(new Event("input",{bubbles:!0})),o.dispatchEvent(new Event("change",{bubbles:!0}))}}async clearValue(t,r=null){let n=await this.waitForScopedEl(t,r);await pt().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=j(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 pt().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=j(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+ft(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=j(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+ft(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: "+ft(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: "+ft(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=j(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=j(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=j(t,n),i=Pb(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=j(t,n);if(!o)throw new Error("Element not found: "+ft(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){j(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=j(t,r);return n?n.textContent??"":""}async getValue(t,r=null){let n=j(t,r);return n?Cb(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=j(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 j(t,r)!==null}async isEnabled(t,r=null){let n=j(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=j(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=j(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=j(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=j(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=j(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=j(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?j(t.parent,t.parent.index):document.documentElement;return n?n.querySelectorAll(Ca(t.selector)).length:0}async pressKey(t){let r=ul(t);if(r){await pt().keyboard(r.code?`{${r.code}}`:r.key);return}let n=document.activeElement||document.body,o=String(t);n.dispatchEvent(new KeyboardEvent("keydown",{key:o,bubbles:!0})),n.dispatchEvent(new KeyboardEvent("keyup",{key:o,bubbles:!0}))}async scroll(t={}){if(t.selector){await this.scrollIntoView(String(t.selector),null);return}let r=t.direction||"down",n=t.pixels||500,o=r==="up"?-n:r==="down"?n:0,i=r==="left"?-n:r==="right"?n:0;window.scrollBy(i,o)}async swipe(t){let r=t.distance||300,n=t.direction==="up"?r:t.direction==="down"?-r:0,o=t.direction==="left"?r:t.direction==="right"?-r:0;window.scrollBy(o,n)}async grantPermission(t){}async getUrl(){return window.location.href}async getTitle(){return document.title}async execute(t,...r){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 wb(()=>this.mockRules),this.mockRules.push(i),qr(i)}clearMocks(){this.mockRules=[]}};var Ra="spectra-root",mt=null,Rr=null;async function hq(){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 gq(){let e=document.getElementById(Ra);return e||(e=document.createElement("div"),e.id=Ra,document.body.appendChild(e)),e}function Tb(){if(mt){try{mt.unmount()}catch{try{mt.render(null)}catch{}}mt=null}let e=document.getElementById(Ra);e&&(e.innerHTML="")}async function Rb(e){let t=gq();mt||(mt=(await hq())(t));let r=(typeof e.type=="string"?e.type:e.type?.displayName||e.type?.name)||"component";return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"mount",target:r,args:[]},async()=>(mt.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Ra}`)))}var Sb=new Ta;el(Sb);globalThis.browser=Sb;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Te(e)};var Zs=fl();Zs.mount=Rb;Zs.unmount=Tb;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;
63
+ for more information about how userEvent parses your input.`}function Ym(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 y;return((y=d.key)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()}return d.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function Zm(e){let t=Ym(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Re(this.config),await Bx(this,t[r])}async function Bx(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 eb(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":Fx(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=vt(V(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Fx(e){let t=Me(e);return Z(e).substring(t.startOffset,t.endOffset)}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,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Lr(t,n),n}async function rb(){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 nb(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"?Ux(n,e):e)!==null&&r!==void 0?r:await Pl(n).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:i})}function Ux(e,t){let r=vt(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 ib(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 jx(this,r[n]);this.system.pointer.resetClickCount()}async function jx(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:$x(e,u),coords:(n=t.coords)!==null&&n!==void 0?n:u?.coords,caret:{node:(o=t.node)!==null&&o!==void 0?o:ob(t)||u==null||(a=u.caret)===null||a===void 0?void 0:a.node,offset:(i=t.offset)!==null&&i!==void 0?i:ob(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 ob(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 $x(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 ab(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),!bm(e))throw new Error("The element content to be cleared could not be selected.");_e(this,e,"","deleteContentBackward")}async function sb(e,t){return ub.call(this,!0,e,t)}async function lb(e,t){return ub.call(this,!1,e,t)}async function ub(e,t,r){if(!e&&!t.multiple)throw I().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(s=>{if(typeof s!="string"&&o.includes(s))return s;{let l=o.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw I().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!te(s));if(te(t)||!i.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(x(t,"select"))if(t.multiple)for(let s of i){let l=this.config.pointerEventsCheck===0?!0:kt(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),se(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await Re(this.config)}else if(i.length===1){let s=this.config.pointerEventsCheck===0?!0:kt(this,t);s?await this.click(t):se(t),a(i[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Re(this.config)}else throw I().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of i)await this.click(s),await this.unhover(s);else throw I().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function cb(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 eb(this))}var db=Symbol("files and value properties are mocked");function Ks(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function pb(e,t){var r;(r=e[db])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function a(){Ks(e,"type",n),Ks(e,"value",o),Ks(e,"files",i)}e[db]={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 fb(e,t){let r=x(e,"label")?e.control:e;if(!r||!x(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(te(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||Hx(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))})||(pb(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 Hx(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:Hm,dblClick:Vm,tripleClick:Wm,hover:zm,unhover:Km,tab:Gm,keyboard:Zm,copy:tb,cut:rb,paste:nb,pointer:ib,clear:ab,deselectOptions:lb,selectOptions:sb,type:cb,upload:fb};function mb(e){return I().asyncWrapper(e)}var bb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:km,pointerMap:Om,pointerEventsCheck:st.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Vx={...bb,writeToClipboard:!0};function vb(e={},t=Vx,r){let n=Kx(e,r,t);return{...t,...e,document:n}}function yb(e={}){var t;let r=vb(e);Vs(r.document),$s(V(r.document).HTMLElement);let n=(t=r.document.defaultView)!==null&&t!==void 0?t:globalThis.window;return Cl(n),Xs(r).api}function ee({keyboardState:e,pointerState:t,...r}={},n){var o;let i=vb(r,bb,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 Wx(e){return Xs({...this.config,...e},this.system).api}function zx(e,t){function r(...n){return at(e,re.Call),mb(()=>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:_m.bind(r),system:t,levelRefs:{},...Gs}),{instance:r,api:{...Object.fromEntries(Object.entries(Gs).map(([n,o])=>[n,zx(r,o)])),setup:Wx.bind(r)}}}function Kx(e,t,r){var n,o;return(n=(o=e.document)!==null&&o!==void 0?o:t&&qm(t))!==null&&n!==void 0?n:r.document}var Qs={};Ib(Qs,{clear:()=>Gx,click:()=>Xx,copy:()=>Qx,cut:()=>Jx,dblClick:()=>Yx,deselectOptions:()=>Zx,hover:()=>eq,keyboard:()=>tq,paste:()=>nq,pointer:()=>rq,selectOptions:()=>oq,tab:()=>uq,tripleClick:()=>iq,type:()=>aq,unhover:()=>sq,upload:()=>lq});function Gx(e){return ee().api.clear(e)}function Xx(e,t={}){return ee(t,e).api.click(e)}function Qx(e={}){return ee(e).api.copy()}function Jx(e={}){return ee(e).api.cut()}function Yx(e,t={}){return ee(t).api.dblClick(e)}function Zx(e,t,r={}){return ee(r).api.deselectOptions(e,t)}function eq(e,t={}){return ee(t).api.hover(e)}async function tq(e,t={}){let{api:r,system:n}=ee(t);return r.keyboard(e).then(()=>n)}async function rq(e,t={}){let{api:r,system:n}=ee(t);return r.pointer(e).then(()=>n)}function nq(e,t){return ee(t).api.paste(e)}function oq(e,t,r={}){return ee(r).api.selectOptions(e,t)}function iq(e,t={}){return ee(t).api.tripleClick(e)}function aq(e,t,r={}){return ee(r,e).api.type(e,t,r)}function sq(e,t={}){let{api:r,system:n}=ee(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function lq(e,t,r={}){return ee(r).api.upload(e,t)}function uq(e={}){return ee().api.tab(e)}var _a={...Qs,setup:yb};var hb=!1,gb=!1,Js=null;function cq(e){return new Promise(t=>setTimeout(t,e))}function Eb(e){try{if(typeof e=="string")return new URL(e,dq()).href;if(e instanceof URL)return e.href;if(typeof Request<"u"&&e instanceof Request)return e.url}catch{}return String(e)}function dq(){try{if(typeof location<"u"&&location.href)return location.href}catch{}return"http://localhost/"}function pq(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 fq(e,t){let r=t?.body;if(typeof r=="string")return r;try{if(typeof Request<"u"&&e instanceof Request)return}catch{}}function mq(e){let t=Mr(e.headers),r={};for(let n of t)r[n.name]=n.value;return new Response(Bt(e.body),{status:e.statusCode,headers:r})}async function bq(e,t,r){let n=Eb(t),o=pq(t,r),i=Nt(Js?.()??[],n,o);if(!i)return e(t,r);let a={url:n,method:o,headers:void 0,postData:fq(t,r),timestamp:Date.now()};if(Lt(i,a),i.aborted)throw new TypeError(`Spectra.intercept() aborted ${o} ${n} (${i.abortReason||"Failed"})`);let s=Dt(i);return s.delayMs&&s.delayMs>0&&await cq(s.delayMs),mq(s)}function vq(){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=Eb(l);let[c=!0,d,m]=u;return i(s,l,c,d,m)},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=Dt(l),m=()=>{let y=Bt(d.body);Object.defineProperties(r,{status:{value:d.statusCode,configurable:!0},statusText:{value:d.statusCode===200?"OK":`${d.statusCode} Mocked`,configurable:!0},responseText:{value:y,configurable:!0},response:{value:y,configurable:!0},readyState:{value:4,configurable:!0}}),r.dispatchEvent(new Event("readystatechange")),r.dispatchEvent(new Event("load")),r.dispatchEvent(new Event("loadend"))};d.delayMs&&d.delayMs>0?setTimeout(m,d.delayMs):setTimeout(m,0)},r}t.prototype=e.prototype,globalThis.XMLHttpRequest=t}function wb(e){if(Js=e,!hb&&typeof globalThis.fetch=="function"){let t=globalThis.fetch.bind(globalThis);globalThis.fetch=(r,n)=>bq(t,r,n),hb=!0}!gb&&typeof globalThis.XMLHttpRequest=="function"&&(vq(),gb=!0)}function pt(){return _a.setup({delay:null})}function Ca(e){return dl(e.trim())??e.trim()}function Pb(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?pl(i.name,document,t):null}function ft(e){return typeof e=="string"?e:e.selector}function _b(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=cl(e);if(!r)return;if(r.kind==="nth"){let a=$(r.base,Number.parseInt(r.arg,10));return a?[a]:[]}let n=t?{selector:r.base,index:null,parent:t}:r.base,o=$(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 $(e,t){if(typeof e=="string"){let s=Pa(e,void 0);return s!==void 0?_b(s,t):Pb(e,t)}let r=Pa(e.selector,e.parent);if(r!==void 0)return _b(r,e.index??t);let n=e.parent?$(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 Cb(e){let t=e.tagName;return t==="INPUT"||t==="TEXTAREA"||t==="SELECT"}var Ta=class{mockRules=[];consoleErrors=[];recordedNetwork=[];async waitForScopedEl(t,r){let n=$(t,r);if(n)return n;let o=null;if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>(o=$(t,r),o!==null),globalThis.__TS_RUNTIME__.getImplicitWaitMs())||!o)throw new Error("Element not found: "+ft(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 pt().click(n)}async doubleClick(t,r=null){let n=await this.waitForScopedEl(t,r);await pt().dblClick(n)}async rightClick(t,r=null){let n=await this.waitForScopedEl(t,r);await pt().pointer({keys:"[MouseRight]",target:n})}async setValue(t,r,n=null){let o=await this.waitForScopedEl(t,n);if(!Cb(o))throw new Error("Element is not a form field: "+ft(t));if(o.tagName==="INPUT"&&o.type==="file")return this.upload(t,r,n);let i=pt();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(","),y=l.slice(0,m),P=l.slice(m+1),C=y.match(/data:([^;]+)/);C&&(c=C[1]);let T=y.match(/(?:name|filename)=([^;]+)/i);T?u=decodeURIComponent(T[1]):u=`fixture.${c.split("/")[1]||"bin"}`;try{let f=atob(P),g=new Uint8Array(f.length);for(let w=0;w<f.length;w++)g[w]=f.charCodeAt(w);d=new Blob([g],{type:c})}catch{d=new Blob([P],{type:c})}}else{u=l.split("?")[0].split("#")[0].split("/").pop()?.split("\\").pop()||"fixture.bin";let y=u.split(".").pop()?.toLowerCase()||"";c=s[y]||"application/octet-stream",d=new Blob(["Mock file content for "+u],{type:c})}a.push(new File([d],u,{type:c}))}else if(l instanceof File)a.push(l);else if(l&&typeof l=="object"&&"name"in l){let u=l,c=u.type||"application/octet-stream",d;if(u.base64)try{let m=atob(u.base64),y=new Uint8Array(m.length);for(let P=0;P<m.length;P++)y[P]=m.charCodeAt(P);d=new Blob([y],{type:c})}catch{d=new Blob([u.base64],{type:c})}else d=new Blob([u.content||"Mock content"],{type:c});a.push(new File([d],u.name,{type:c}))}if(a.length>0){let l=new DataTransfer;for(let u of a)l.items.add(u);o.files=l.files,o.dispatchEvent(new Event("input",{bubbles:!0})),o.dispatchEvent(new Event("change",{bubbles:!0}))}}async clearValue(t,r=null){let n=await this.waitForScopedEl(t,r);await pt().clear(n)}async select(t,r,n=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let i=$(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 pt().hover(n)}async focus(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=$(t,r);return o?(o.focus?.(),!0):!1}))throw new Error("Element not found: "+ft(t))}async blur(t,r=null){if(!await globalThis.__TS_RUNTIME__.pollCondition(async()=>{let o=$(t,r);return o?(o.blur?.(),!0):!1}))throw new Error("Element not found: "+ft(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: "+ft(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: "+ft(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=$(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=$(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=$(t,n),i=Pb(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=$(t,n);if(!o)throw new Error("Element not found: "+ft(t));o.dispatchEvent(new TouchEvent("touchstart",{bubbles:!0})),await this.pause(r),o.dispatchEvent(new TouchEvent("touchend",{bubbles:!0}))}async scrollIntoView(t,r=null){$(t,r)?.scrollIntoView({block:"center",inline:"center"})}async getText(t,r=null){let n=$(t,r);return n?n.textContent??"":""}async getValue(t,r=null){let n=$(t,r);return n?Cb(n)?n.value??"":n.getAttribute("value")||"":""}async isDisplayed(t,r=null){let n=$(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 $(t,r)!==null}async isEnabled(t,r=null){let n=$(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=$(t,r);return n?!!n.checked||n.getAttribute("aria-checked")==="true"||n.getAttribute("data-state")==="checked":!1}async isFocused(t,r=null){let n=$(t,r);return n?document.activeElement===n||n.matches(":focus"):!1}async isClickable(t,r=null){let n=$(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=$(t,n);return o?o.classList.contains(r):!1}async getAttribute(t,r,n=null){let o=$(t,n);return o?o.getAttribute(r):null}async getCSSProperty(t,r,n=null){let o=$(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?$(t.parent,t.parent.index):document.documentElement;return n?n.querySelectorAll(Ca(t.selector)).length:0}async pressKey(t){let r=ul(t);if(r?.code){await pt().keyboard(`{${r.code}}`);return}let n=document.activeElement||document.body,o=String(t);n.dispatchEvent(new KeyboardEvent("keydown",{key:o,bubbles:!0})),n.dispatchEvent(new KeyboardEvent("keyup",{key:o,bubbles:!0}))}async scroll(t={}){if(t.selector){await this.scrollIntoView(String(t.selector),null);return}let r=t.direction||"down",n=t.pixels||500,o=r==="up"?-n:r==="down"?n:0,i=r==="left"?-n:r==="right"?n:0;window.scrollBy(i,o)}async swipe(t){let r=t.distance||300,n=t.direction==="up"?r:t.direction==="down"?-r:0,o=t.direction==="left"?r:t.direction==="right"?-r:0;window.scrollBy(o,n)}async grantPermission(t){}async getUrl(){return window.location.href}async getTitle(){return document.title}async execute(t,...r){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 wb(()=>this.mockRules),this.mockRules.push(i),qr(i)}clearMocks(){this.mockRules=[]}};var Ra="spectra-root",mt=null,Rr=null;async function yq(){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 hq(){let e=document.getElementById(Ra);return e||(e=document.createElement("div"),e.id=Ra,document.body.appendChild(e)),e}function Tb(){if(mt){try{mt.unmount()}catch{try{mt.render(null)}catch{}}mt=null}let e=document.getElementById(Ra);e&&(e.innerHTML="")}async function Rb(e){let t=hq();mt||(mt=(await yq())(t));let r=(typeof e.type=="string"?e.type:e.type?.displayName||e.type?.name)||"component";return globalThis.__TS_RUNTIME__.trackStep("action",{type:"action",key:"mount",target:r,args:[]},async()=>(mt.render(e),await new Promise(n=>setTimeout(n,20)),globalThis.__TS_RUNTIME__.createElementProxy(`#${Ra}`)))}var Sb=new Ta;el(Sb);globalThis.browser=Sb;globalThis.$=function(e){return ue(e)};globalThis.$$=function(e){return Te(e)};var Zs=fl();Zs.mount=Rb;Zs.unmount=Tb;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: